@wix/himalaya-cli 0.1786.0 → 0.1787.0
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/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/builder.d.ts +6 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts +8 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/validator.d.ts +18 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +11 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/sdui.mjs +11 -0
- package/dist/cli.mjs +920 -738
- package/guides/app-config.md +30 -0
- package/guides/component-reference.json +1 -1
- package/guides/component-reference.md +8 -0
- package/guides/himi-json-output.md +2 -0
- package/guides/push-cli-onboarding.md +18 -0
- package/guides/qa-builds.md +22 -9
- package/package.json +2 -2
- package/templates/beauty-salon/tokens.json +2 -1
- package/templates/branded-lite/dev/index.ts +1719 -452
- package/templates/branded-lite/l10n/ar.json +36 -16
- package/templates/branded-lite/l10n/cs.json +36 -16
- package/templates/branded-lite/l10n/da.json +36 -16
- package/templates/branded-lite/l10n/de.json +36 -16
- package/templates/branded-lite/l10n/el.json +36 -16
- package/templates/branded-lite/l10n/en.json +42 -12
- package/templates/branded-lite/l10n/es.json +36 -16
- package/templates/branded-lite/l10n/fi.json +36 -16
- package/templates/branded-lite/l10n/fr.json +36 -16
- package/templates/branded-lite/l10n/he.json +30 -13
- package/templates/branded-lite/l10n/hu.json +36 -16
- package/templates/branded-lite/l10n/id.json +36 -16
- package/templates/branded-lite/l10n/it.json +36 -16
- package/templates/branded-lite/l10n/ja.json +36 -16
- package/templates/branded-lite/l10n/ko.json +36 -16
- package/templates/branded-lite/l10n/lt.json +36 -16
- package/templates/branded-lite/l10n/nl.json +36 -16
- package/templates/branded-lite/l10n/no.json +36 -16
- package/templates/branded-lite/l10n/pl.json +36 -16
- package/templates/branded-lite/l10n/pt.json +36 -16
- package/templates/branded-lite/l10n/ru.json +36 -16
- package/templates/branded-lite/l10n/sv.json +36 -16
- package/templates/branded-lite/l10n/th.json +36 -16
- package/templates/branded-lite/l10n/tr.json +36 -16
- package/templates/branded-lite/l10n/uk.json +36 -16
- package/templates/branded-lite/l10n/vi.json +36 -16
- package/templates/branded-lite/l10n/zh.json +36 -16
- package/templates/branded-lite/tier5-src/_shared/inbox-rooms.ts +10 -5
- package/templates/branded-lite/tier5-src/_shared/inbox-search.ts +1 -1
- package/templates/branded-lite/tier5-src/himi-branded-lite-inbox/index.ts +1 -1
- package/templates/branded-lite/tokens.json +3 -2
- package/templates/brandy/dev/member-screens.ts +7546 -5432
- package/templates/brandy/tier5-src/_shared/inbox-rooms.ts +10 -5
- package/templates/brandy/tier5-src/_shared/inbox-search.ts +1 -1
- package/templates/brandy/tier5-src/himi-branded-lite-inbox/index.ts +1 -1
- package/templates/brandy/tokens.json +5 -0
- package/templates/community-club/tokens.json +2 -1
- package/templates/conference/tier5-src/_shared/inbox-rooms.ts +10 -5
- package/templates/events-meetups/tokens.json +2 -1
- package/templates/fitness-gym/tier5-src/_shared/inbox-rooms.ts +10 -5
- package/templates/gym-fitness/tokens.json +2 -1
- package/templates/medical-services/tier5-src/_shared/inbox-rooms.ts +10 -5
- package/templates/nonprofit-cause/tokens.json +2 -1
- package/templates/personal-fitness-trainer/tier5-src/_shared/inbox-rooms.ts +10 -5
- package/templates/podcast-creator/tokens.json +2 -1
- package/templates/portfolio-creative/tokens.json +2 -1
- package/templates/restaurant/tokens.json +2 -1
- package/templates/retail-store/tokens.json +2 -1
- package/templates/salon-spa/tier5-src/_shared/inbox-rooms.ts +10 -5
- package/templates/wholesale-store/tier5-src/_shared/inbox-rooms.ts +10 -5
- package/templates/yoga-studio/tokens.json +2 -1
|
@@ -1124,12 +1124,6 @@
|
|
|
1124
1124
|
"translation": "โหลดแบบฟอร์มนี้ไม่ได้",
|
|
1125
1125
|
"origin": "machine"
|
|
1126
1126
|
},
|
|
1127
|
-
"h_48331398e3aa": {
|
|
1128
|
-
"key": "newMessage.subtitle",
|
|
1129
|
-
"source": "Choose someone to message.",
|
|
1130
|
-
"translation": "เลือกคนที่ต้องการส่งข้อความถึง",
|
|
1131
|
-
"origin": "machine"
|
|
1132
|
-
},
|
|
1133
1127
|
"h_48ecec6b9b6e": {
|
|
1134
1128
|
"key": "addresses.unavailableBody",
|
|
1135
1129
|
"source": "Your saved addresses are available in the mobile app.",
|
|
@@ -3776,6 +3770,12 @@
|
|
|
3776
3770
|
"translation": "กำลังติดตาม",
|
|
3777
3771
|
"origin": "one-app:wix-one-app-comments:ReactionsListReactionRowFollowing"
|
|
3778
3772
|
},
|
|
3773
|
+
"h_9070035ebe8b": {
|
|
3774
|
+
"key": "inbox.signInText",
|
|
3775
|
+
"source": "Sign in to see your messages.",
|
|
3776
|
+
"translation": "เข้าสู่ระบบเพื่อดูข้อความของคุณ",
|
|
3777
|
+
"origin": "machine"
|
|
3778
|
+
},
|
|
3779
3779
|
"h_1fd4aaf5973e": {
|
|
3780
3780
|
"key": "members.emptyBody",
|
|
3781
3781
|
"source": "When people join, you'll see them here.",
|
|
@@ -4292,6 +4292,36 @@
|
|
|
4292
4292
|
"translation": "ไม่พบรูปภาพ",
|
|
4293
4293
|
"origin": "machine"
|
|
4294
4294
|
},
|
|
4295
|
+
"h_ac60fda7090f": {
|
|
4296
|
+
"key": "inbox.officialTag",
|
|
4297
|
+
"source": "Official",
|
|
4298
|
+
"translation": "ทางการ",
|
|
4299
|
+
"origin": "machine"
|
|
4300
|
+
},
|
|
4301
|
+
"h_f58811ba5ff5": {
|
|
4302
|
+
"key": "inbox.emptyTitle",
|
|
4303
|
+
"source": "No conversations yet",
|
|
4304
|
+
"translation": "ยังไม่มีการสนทนา",
|
|
4305
|
+
"origin": "machine"
|
|
4306
|
+
},
|
|
4307
|
+
"h_ceb18ec58f13": {
|
|
4308
|
+
"key": "inbox.emptyBody",
|
|
4309
|
+
"source": "Start one with the business or another member.",
|
|
4310
|
+
"translation": "เริ่มการสนทนากับธุรกิจหรือสมาชิกคนอื่น",
|
|
4311
|
+
"origin": "machine"
|
|
4312
|
+
},
|
|
4313
|
+
"h_84e24f8939b8": {
|
|
4314
|
+
"key": "inbox.loadErrorTitle",
|
|
4315
|
+
"source": "Unable to load your inbox",
|
|
4316
|
+
"translation": "โหลดกล่องข้อความไม่ได้",
|
|
4317
|
+
"origin": "machine"
|
|
4318
|
+
},
|
|
4319
|
+
"h_7a4de7eaa927": {
|
|
4320
|
+
"key": "chatThread.loadErrorTitle",
|
|
4321
|
+
"source": "Unable to load this conversation",
|
|
4322
|
+
"translation": "โหลดการสนทนานี้ไม่ได้",
|
|
4323
|
+
"origin": "machine"
|
|
4324
|
+
},
|
|
4295
4325
|
"h_1e9b74b4dda5": {
|
|
4296
4326
|
"source": "Show all ({count})",
|
|
4297
4327
|
"translation": "ดูทั้งหมด ({count})",
|
|
@@ -5422,11 +5452,6 @@
|
|
|
5422
5452
|
"translation": "ไปที่ล่าสุด",
|
|
5423
5453
|
"origin": "machine"
|
|
5424
5454
|
},
|
|
5425
|
-
"h_2d5b5a03c554": {
|
|
5426
|
-
"source": "Your messages with us.",
|
|
5427
|
-
"translation": "ข้อความของคุณที่ส่งถึงเรา",
|
|
5428
|
-
"origin": "machine"
|
|
5429
|
-
},
|
|
5430
5455
|
"h_6e6a6f2086bb": {
|
|
5431
5456
|
"source": "Other",
|
|
5432
5457
|
"translation": "อื่น ๆ",
|
|
@@ -6747,11 +6772,6 @@
|
|
|
6747
6772
|
"translation": "ยังไม่มีข้อความ",
|
|
6748
6773
|
"origin": "one-app:mobile-apps-inbox:CHAT_LIST_EMPTY_STATE_NO_MESSAGES_TITLE_RESTAURANTS"
|
|
6749
6774
|
},
|
|
6750
|
-
"h_9070035ebe8b": {
|
|
6751
|
-
"source": "Sign in to see your messages.",
|
|
6752
|
-
"translation": "เข้าสู่ระบบเพื่อดูข้อความของคุณ",
|
|
6753
|
-
"origin": "machine"
|
|
6754
|
-
},
|
|
6755
6775
|
"h_2a20c7503389": {
|
|
6756
6776
|
"source": "Conversation",
|
|
6757
6777
|
"translation": "การสนทนา",
|
|
@@ -1124,12 +1124,6 @@
|
|
|
1124
1124
|
"translation": "Bu form yüklenemiyor",
|
|
1125
1125
|
"origin": "machine"
|
|
1126
1126
|
},
|
|
1127
|
-
"h_48331398e3aa": {
|
|
1128
|
-
"key": "newMessage.subtitle",
|
|
1129
|
-
"source": "Choose someone to message.",
|
|
1130
|
-
"translation": "Mesaj göndermek için birini seçin.",
|
|
1131
|
-
"origin": "machine"
|
|
1132
|
-
},
|
|
1133
1127
|
"h_48ecec6b9b6e": {
|
|
1134
1128
|
"key": "addresses.unavailableBody",
|
|
1135
1129
|
"source": "Your saved addresses are available in the mobile app.",
|
|
@@ -3776,6 +3770,12 @@
|
|
|
3776
3770
|
"translation": "Takip Edilenler",
|
|
3777
3771
|
"origin": "one-app:wix-one-app-comments:ReactionsListReactionRowFollowing"
|
|
3778
3772
|
},
|
|
3773
|
+
"h_9070035ebe8b": {
|
|
3774
|
+
"key": "inbox.signInText",
|
|
3775
|
+
"source": "Sign in to see your messages.",
|
|
3776
|
+
"translation": "Mesajlarınızı görmek için giriş yapın.",
|
|
3777
|
+
"origin": "machine"
|
|
3778
|
+
},
|
|
3779
3779
|
"h_1fd4aaf5973e": {
|
|
3780
3780
|
"key": "members.emptyBody",
|
|
3781
3781
|
"source": "When people join, you'll see them here.",
|
|
@@ -4292,6 +4292,36 @@
|
|
|
4292
4292
|
"translation": "Fotoğraf bulunamadı",
|
|
4293
4293
|
"origin": "machine"
|
|
4294
4294
|
},
|
|
4295
|
+
"h_ac60fda7090f": {
|
|
4296
|
+
"key": "inbox.officialTag",
|
|
4297
|
+
"source": "Official",
|
|
4298
|
+
"translation": "Resmi",
|
|
4299
|
+
"origin": "machine"
|
|
4300
|
+
},
|
|
4301
|
+
"h_f58811ba5ff5": {
|
|
4302
|
+
"key": "inbox.emptyTitle",
|
|
4303
|
+
"source": "No conversations yet",
|
|
4304
|
+
"translation": "Henüz hiç sohbet yok",
|
|
4305
|
+
"origin": "machine"
|
|
4306
|
+
},
|
|
4307
|
+
"h_ceb18ec58f13": {
|
|
4308
|
+
"key": "inbox.emptyBody",
|
|
4309
|
+
"source": "Start one with the business or another member.",
|
|
4310
|
+
"translation": "İşletmeyle veya başka bir üyeyle sohbet başlatın.",
|
|
4311
|
+
"origin": "machine"
|
|
4312
|
+
},
|
|
4313
|
+
"h_84e24f8939b8": {
|
|
4314
|
+
"key": "inbox.loadErrorTitle",
|
|
4315
|
+
"source": "Unable to load your inbox",
|
|
4316
|
+
"translation": "Gelen kutusu yüklenemiyor",
|
|
4317
|
+
"origin": "machine"
|
|
4318
|
+
},
|
|
4319
|
+
"h_7a4de7eaa927": {
|
|
4320
|
+
"key": "chatThread.loadErrorTitle",
|
|
4321
|
+
"source": "Unable to load this conversation",
|
|
4322
|
+
"translation": "Bu sohbet yüklenemiyor",
|
|
4323
|
+
"origin": "machine"
|
|
4324
|
+
},
|
|
4295
4325
|
"h_1e9b74b4dda5": {
|
|
4296
4326
|
"source": "Show all ({count})",
|
|
4297
4327
|
"translation": "Tümünü göster ({count})",
|
|
@@ -5422,11 +5452,6 @@
|
|
|
5422
5452
|
"translation": "En yeniye git",
|
|
5423
5453
|
"origin": "machine"
|
|
5424
5454
|
},
|
|
5425
|
-
"h_2d5b5a03c554": {
|
|
5426
|
-
"source": "Your messages with us.",
|
|
5427
|
-
"translation": "Bizimle yazışmalarınız.",
|
|
5428
|
-
"origin": "machine"
|
|
5429
|
-
},
|
|
5430
5455
|
"h_6e6a6f2086bb": {
|
|
5431
5456
|
"source": "Other",
|
|
5432
5457
|
"translation": "Diğer",
|
|
@@ -6747,11 +6772,6 @@
|
|
|
6747
6772
|
"translation": "Henüz Hiç Mesaj Yok",
|
|
6748
6773
|
"origin": "one-app:mobile-apps-inbox:CHAT_LIST_EMPTY_STATE_NO_MESSAGES_TITLE_RESTAURANTS"
|
|
6749
6774
|
},
|
|
6750
|
-
"h_9070035ebe8b": {
|
|
6751
|
-
"source": "Sign in to see your messages.",
|
|
6752
|
-
"translation": "Mesajlarınızı görmek için giriş yapın.",
|
|
6753
|
-
"origin": "machine"
|
|
6754
|
-
},
|
|
6755
6775
|
"h_2a20c7503389": {
|
|
6756
6776
|
"source": "Conversation",
|
|
6757
6777
|
"translation": "Konuşma",
|
|
@@ -1124,12 +1124,6 @@
|
|
|
1124
1124
|
"translation": "Не вдалося завантажити цю форму",
|
|
1125
1125
|
"origin": "machine"
|
|
1126
1126
|
},
|
|
1127
|
-
"h_48331398e3aa": {
|
|
1128
|
-
"key": "newMessage.subtitle",
|
|
1129
|
-
"source": "Choose someone to message.",
|
|
1130
|
-
"translation": "Виберіть, кому написати.",
|
|
1131
|
-
"origin": "machine"
|
|
1132
|
-
},
|
|
1133
1127
|
"h_48ecec6b9b6e": {
|
|
1134
1128
|
"key": "addresses.unavailableBody",
|
|
1135
1129
|
"source": "Your saved addresses are available in the mobile app.",
|
|
@@ -3776,6 +3770,12 @@
|
|
|
3776
3770
|
"translation": "Ви підписані",
|
|
3777
3771
|
"origin": "one-app:wix-one-app-comments:ReactionsListReactionRowFollowing"
|
|
3778
3772
|
},
|
|
3773
|
+
"h_9070035ebe8b": {
|
|
3774
|
+
"key": "inbox.signInText",
|
|
3775
|
+
"source": "Sign in to see your messages.",
|
|
3776
|
+
"translation": "Увійдіть, щоб переглянути повідомлення.",
|
|
3777
|
+
"origin": "machine"
|
|
3778
|
+
},
|
|
3779
3779
|
"h_1fd4aaf5973e": {
|
|
3780
3780
|
"key": "members.emptyBody",
|
|
3781
3781
|
"source": "When people join, you'll see them here.",
|
|
@@ -4292,6 +4292,36 @@
|
|
|
4292
4292
|
"translation": "Фотографію не знайдено",
|
|
4293
4293
|
"origin": "machine"
|
|
4294
4294
|
},
|
|
4295
|
+
"h_ac60fda7090f": {
|
|
4296
|
+
"key": "inbox.officialTag",
|
|
4297
|
+
"source": "Official",
|
|
4298
|
+
"translation": "Офіційний",
|
|
4299
|
+
"origin": "machine"
|
|
4300
|
+
},
|
|
4301
|
+
"h_f58811ba5ff5": {
|
|
4302
|
+
"key": "inbox.emptyTitle",
|
|
4303
|
+
"source": "No conversations yet",
|
|
4304
|
+
"translation": "Розмов поки немає",
|
|
4305
|
+
"origin": "machine"
|
|
4306
|
+
},
|
|
4307
|
+
"h_ceb18ec58f13": {
|
|
4308
|
+
"key": "inbox.emptyBody",
|
|
4309
|
+
"source": "Start one with the business or another member.",
|
|
4310
|
+
"translation": "Почніть розмову з компанією або іншим учасником.",
|
|
4311
|
+
"origin": "machine"
|
|
4312
|
+
},
|
|
4313
|
+
"h_84e24f8939b8": {
|
|
4314
|
+
"key": "inbox.loadErrorTitle",
|
|
4315
|
+
"source": "Unable to load your inbox",
|
|
4316
|
+
"translation": "Не вдалося завантажити вхідні",
|
|
4317
|
+
"origin": "machine"
|
|
4318
|
+
},
|
|
4319
|
+
"h_7a4de7eaa927": {
|
|
4320
|
+
"key": "chatThread.loadErrorTitle",
|
|
4321
|
+
"source": "Unable to load this conversation",
|
|
4322
|
+
"translation": "Не вдалося завантажити цю розмову",
|
|
4323
|
+
"origin": "machine"
|
|
4324
|
+
},
|
|
4295
4325
|
"h_1e9b74b4dda5": {
|
|
4296
4326
|
"source": "Show all ({count})",
|
|
4297
4327
|
"translation": "Показати все ({count})",
|
|
@@ -5422,11 +5452,6 @@
|
|
|
5422
5452
|
"translation": "Перейти до останнього",
|
|
5423
5453
|
"origin": "machine"
|
|
5424
5454
|
},
|
|
5425
|
-
"h_2d5b5a03c554": {
|
|
5426
|
-
"source": "Your messages with us.",
|
|
5427
|
-
"translation": "Ваші повідомлення з нами.",
|
|
5428
|
-
"origin": "machine"
|
|
5429
|
-
},
|
|
5430
5455
|
"h_6e6a6f2086bb": {
|
|
5431
5456
|
"source": "Other",
|
|
5432
5457
|
"translation": "Інше",
|
|
@@ -6747,11 +6772,6 @@
|
|
|
6747
6772
|
"translation": "Повідомлень поки немає",
|
|
6748
6773
|
"origin": "one-app:mobile-apps-inbox:CHAT_LIST_EMPTY_STATE_NO_MESSAGES_TITLE_RESTAURANTS"
|
|
6749
6774
|
},
|
|
6750
|
-
"h_9070035ebe8b": {
|
|
6751
|
-
"source": "Sign in to see your messages.",
|
|
6752
|
-
"translation": "Увійдіть, щоб переглянути повідомлення.",
|
|
6753
|
-
"origin": "machine"
|
|
6754
|
-
},
|
|
6755
6775
|
"h_2a20c7503389": {
|
|
6756
6776
|
"source": "Conversation",
|
|
6757
6777
|
"translation": "Розмова",
|
|
@@ -1124,12 +1124,6 @@
|
|
|
1124
1124
|
"translation": "Không thể tải mẫu này",
|
|
1125
1125
|
"origin": "machine"
|
|
1126
1126
|
},
|
|
1127
|
-
"h_48331398e3aa": {
|
|
1128
|
-
"key": "newMessage.subtitle",
|
|
1129
|
-
"source": "Choose someone to message.",
|
|
1130
|
-
"translation": "Chọn người để nhắn tin.",
|
|
1131
|
-
"origin": "machine"
|
|
1132
|
-
},
|
|
1133
1127
|
"h_48ecec6b9b6e": {
|
|
1134
1128
|
"key": "addresses.unavailableBody",
|
|
1135
1129
|
"source": "Your saved addresses are available in the mobile app.",
|
|
@@ -3776,6 +3770,12 @@
|
|
|
3776
3770
|
"translation": "Đang theo dõi",
|
|
3777
3771
|
"origin": "one-app:wix-one-app-comments:ReactionsListReactionRowFollowing"
|
|
3778
3772
|
},
|
|
3773
|
+
"h_9070035ebe8b": {
|
|
3774
|
+
"key": "inbox.signInText",
|
|
3775
|
+
"source": "Sign in to see your messages.",
|
|
3776
|
+
"translation": "Đăng nhập để xem tin nhắn của bạn.",
|
|
3777
|
+
"origin": "machine"
|
|
3778
|
+
},
|
|
3779
3779
|
"h_1fd4aaf5973e": {
|
|
3780
3780
|
"key": "members.emptyBody",
|
|
3781
3781
|
"source": "When people join, you'll see them here.",
|
|
@@ -4292,6 +4292,36 @@
|
|
|
4292
4292
|
"translation": "Không tìm thấy ảnh",
|
|
4293
4293
|
"origin": "machine"
|
|
4294
4294
|
},
|
|
4295
|
+
"h_ac60fda7090f": {
|
|
4296
|
+
"key": "inbox.officialTag",
|
|
4297
|
+
"source": "Official",
|
|
4298
|
+
"translation": "Chính thức",
|
|
4299
|
+
"origin": "machine"
|
|
4300
|
+
},
|
|
4301
|
+
"h_f58811ba5ff5": {
|
|
4302
|
+
"key": "inbox.emptyTitle",
|
|
4303
|
+
"source": "No conversations yet",
|
|
4304
|
+
"translation": "Chưa có cuộc trò chuyện nào",
|
|
4305
|
+
"origin": "machine"
|
|
4306
|
+
},
|
|
4307
|
+
"h_ceb18ec58f13": {
|
|
4308
|
+
"key": "inbox.emptyBody",
|
|
4309
|
+
"source": "Start one with the business or another member.",
|
|
4310
|
+
"translation": "Bắt đầu trò chuyện với doanh nghiệp hoặc một thành viên khác.",
|
|
4311
|
+
"origin": "machine"
|
|
4312
|
+
},
|
|
4313
|
+
"h_84e24f8939b8": {
|
|
4314
|
+
"key": "inbox.loadErrorTitle",
|
|
4315
|
+
"source": "Unable to load your inbox",
|
|
4316
|
+
"translation": "Không thể tải hộp thư đến",
|
|
4317
|
+
"origin": "machine"
|
|
4318
|
+
},
|
|
4319
|
+
"h_7a4de7eaa927": {
|
|
4320
|
+
"key": "chatThread.loadErrorTitle",
|
|
4321
|
+
"source": "Unable to load this conversation",
|
|
4322
|
+
"translation": "Không thể tải cuộc trò chuyện này",
|
|
4323
|
+
"origin": "machine"
|
|
4324
|
+
},
|
|
4295
4325
|
"h_1e9b74b4dda5": {
|
|
4296
4326
|
"source": "Show all ({count})",
|
|
4297
4327
|
"translation": "Xem tất cả ({count})",
|
|
@@ -5422,11 +5452,6 @@
|
|
|
5422
5452
|
"translation": "Chuyển đến mới nhất",
|
|
5423
5453
|
"origin": "machine"
|
|
5424
5454
|
},
|
|
5425
|
-
"h_2d5b5a03c554": {
|
|
5426
|
-
"source": "Your messages with us.",
|
|
5427
|
-
"translation": "Tin nhắn của bạn với chúng tôi.",
|
|
5428
|
-
"origin": "machine"
|
|
5429
|
-
},
|
|
5430
5455
|
"h_6e6a6f2086bb": {
|
|
5431
5456
|
"source": "Other",
|
|
5432
5457
|
"translation": "Khác",
|
|
@@ -6747,11 +6772,6 @@
|
|
|
6747
6772
|
"translation": "Chưa có tin nhắn nào",
|
|
6748
6773
|
"origin": "one-app:mobile-apps-inbox:CHAT_LIST_EMPTY_STATE_NO_MESSAGES_TITLE_RESTAURANTS"
|
|
6749
6774
|
},
|
|
6750
|
-
"h_9070035ebe8b": {
|
|
6751
|
-
"source": "Sign in to see your messages.",
|
|
6752
|
-
"translation": "Đăng nhập để xem tin nhắn của bạn.",
|
|
6753
|
-
"origin": "machine"
|
|
6754
|
-
},
|
|
6755
6775
|
"h_2a20c7503389": {
|
|
6756
6776
|
"source": "Conversation",
|
|
6757
6777
|
"translation": "Cuộc trò chuyện",
|
|
@@ -1124,12 +1124,6 @@
|
|
|
1124
1124
|
"translation": "無法載入此表單",
|
|
1125
1125
|
"origin": "machine"
|
|
1126
1126
|
},
|
|
1127
|
-
"h_48331398e3aa": {
|
|
1128
|
-
"key": "newMessage.subtitle",
|
|
1129
|
-
"source": "Choose someone to message.",
|
|
1130
|
-
"translation": "選擇要傳送訊息的對象。",
|
|
1131
|
-
"origin": "machine"
|
|
1132
|
-
},
|
|
1133
1127
|
"h_48ecec6b9b6e": {
|
|
1134
1128
|
"key": "addresses.unavailableBody",
|
|
1135
1129
|
"source": "Your saved addresses are available in the mobile app.",
|
|
@@ -3776,6 +3770,12 @@
|
|
|
3776
3770
|
"translation": "追蹤中",
|
|
3777
3771
|
"origin": "one-app:wix-one-app-comments:ReactionsListReactionRowFollowing"
|
|
3778
3772
|
},
|
|
3773
|
+
"h_9070035ebe8b": {
|
|
3774
|
+
"key": "inbox.signInText",
|
|
3775
|
+
"source": "Sign in to see your messages.",
|
|
3776
|
+
"translation": "登入後即可查看您的訊息。",
|
|
3777
|
+
"origin": "machine"
|
|
3778
|
+
},
|
|
3779
3779
|
"h_1fd4aaf5973e": {
|
|
3780
3780
|
"key": "members.emptyBody",
|
|
3781
3781
|
"source": "When people join, you'll see them here.",
|
|
@@ -4292,6 +4292,36 @@
|
|
|
4292
4292
|
"translation": "未找到照片",
|
|
4293
4293
|
"origin": "machine"
|
|
4294
4294
|
},
|
|
4295
|
+
"h_ac60fda7090f": {
|
|
4296
|
+
"key": "inbox.officialTag",
|
|
4297
|
+
"source": "Official",
|
|
4298
|
+
"translation": "官方",
|
|
4299
|
+
"origin": "machine"
|
|
4300
|
+
},
|
|
4301
|
+
"h_f58811ba5ff5": {
|
|
4302
|
+
"key": "inbox.emptyTitle",
|
|
4303
|
+
"source": "No conversations yet",
|
|
4304
|
+
"translation": "尚無對話",
|
|
4305
|
+
"origin": "machine"
|
|
4306
|
+
},
|
|
4307
|
+
"h_ceb18ec58f13": {
|
|
4308
|
+
"key": "inbox.emptyBody",
|
|
4309
|
+
"source": "Start one with the business or another member.",
|
|
4310
|
+
"translation": "與商家或其他會員開始對話。",
|
|
4311
|
+
"origin": "machine"
|
|
4312
|
+
},
|
|
4313
|
+
"h_84e24f8939b8": {
|
|
4314
|
+
"key": "inbox.loadErrorTitle",
|
|
4315
|
+
"source": "Unable to load your inbox",
|
|
4316
|
+
"translation": "無法載入收件匣",
|
|
4317
|
+
"origin": "machine"
|
|
4318
|
+
},
|
|
4319
|
+
"h_7a4de7eaa927": {
|
|
4320
|
+
"key": "chatThread.loadErrorTitle",
|
|
4321
|
+
"source": "Unable to load this conversation",
|
|
4322
|
+
"translation": "無法載入此對話",
|
|
4323
|
+
"origin": "machine"
|
|
4324
|
+
},
|
|
4295
4325
|
"h_1e9b74b4dda5": {
|
|
4296
4326
|
"source": "Show all ({count})",
|
|
4297
4327
|
"translation": "查看全部({count})",
|
|
@@ -5422,11 +5452,6 @@
|
|
|
5422
5452
|
"translation": "跳到最新",
|
|
5423
5453
|
"origin": "machine"
|
|
5424
5454
|
},
|
|
5425
|
-
"h_2d5b5a03c554": {
|
|
5426
|
-
"source": "Your messages with us.",
|
|
5427
|
-
"translation": "您與我們的訊息。",
|
|
5428
|
-
"origin": "machine"
|
|
5429
|
-
},
|
|
5430
5455
|
"h_6e6a6f2086bb": {
|
|
5431
5456
|
"source": "Other",
|
|
5432
5457
|
"translation": "其他",
|
|
@@ -6747,11 +6772,6 @@
|
|
|
6747
6772
|
"translation": "尚無訊息",
|
|
6748
6773
|
"origin": "one-app:mobile-apps-inbox:CHAT_LIST_EMPTY_STATE_NO_MESSAGES_TITLE_RESTAURANTS"
|
|
6749
6774
|
},
|
|
6750
|
-
"h_9070035ebe8b": {
|
|
6751
|
-
"source": "Sign in to see your messages.",
|
|
6752
|
-
"translation": "登入後即可查看您的訊息。",
|
|
6753
|
-
"origin": "machine"
|
|
6754
|
-
},
|
|
6755
6775
|
"h_2a20c7503389": {
|
|
6756
6776
|
"source": "Conversation",
|
|
6757
6777
|
"translation": "對話",
|
|
@@ -27,7 +27,10 @@ export interface InboxRow {
|
|
|
27
27
|
/** `chatroom` makes the thread use `id` as the room instead of resolving it as a member id. */
|
|
28
28
|
kind: "chatroom" | "";
|
|
29
29
|
photo: string;
|
|
30
|
-
/**
|
|
30
|
+
/** The business's own room. Set from the room, never from `screenId`, which a host may route elsewhere. */
|
|
31
|
+
business: boolean;
|
|
32
|
+
/** No photo on a member's room: the screen draws grey initials. Always false for the business, which keeps the solid
|
|
33
|
+
* accent avatar (kept with the photo by completeRow). */
|
|
31
34
|
noPhoto: boolean;
|
|
32
35
|
initial: string;
|
|
33
36
|
/** Has unread messages, or the member marked it unread. */
|
|
@@ -61,14 +64,15 @@ export const unreadCountText = (count: number): string => (count > MAX_COUNT ? `
|
|
|
61
64
|
|
|
62
65
|
/** Everything that follows from a row's base fields. The one place a flag is derived, so a row that changes
|
|
63
66
|
* (marked read, archived) can never carry a flag that disagrees with its base fields. */
|
|
64
|
-
export type RowBase = Pick<InboxRow, "id" | "title" | "subtitle" | "screenId" | "kind" | "photo" | "initial" | "unread" | "unreadCount" | "dateLabel" | "isArchived" | "isPrivate" | "at">;
|
|
67
|
+
export type RowBase = Pick<InboxRow, "id" | "title" | "subtitle" | "screenId" | "kind" | "business" | "photo" | "initial" | "unread" | "unreadCount" | "dateLabel" | "isArchived" | "isPrivate" | "at">;
|
|
65
68
|
export function completeRow(base: RowBase): InboxRow {
|
|
66
69
|
const unreadText = unreadCountText(base.unreadCount);
|
|
67
70
|
const showCount = base.unread && unreadText !== "";
|
|
68
71
|
const showDot = base.unread && !showCount;
|
|
69
72
|
return {
|
|
70
73
|
...base,
|
|
71
|
-
|
|
74
|
+
// Grey initials are for members: the business row keeps the solid accent avatar, photo or not.
|
|
75
|
+
noPhoto: !base.photo && !base.business,
|
|
72
76
|
unreadDot: base.unread ? "●" : "",
|
|
73
77
|
unreadText,
|
|
74
78
|
showCount, hideCount: !showCount, showDot, hideDot: !showDot,
|
|
@@ -80,8 +84,8 @@ export function completeRow(base: RowBase): InboxRow {
|
|
|
80
84
|
|
|
81
85
|
/** A row's read state changed: `count` is the server's count (0 = unknown or none). */
|
|
82
86
|
export function withUnread(row: InboxRow, unread: boolean, count: number): InboxRow {
|
|
83
|
-
const { id, title, subtitle, screenId, kind, photo, initial, dateLabel, isArchived, isPrivate, at } = row;
|
|
84
|
-
return completeRow({ id, title, subtitle, screenId, kind, photo, initial, dateLabel, isArchived, isPrivate, at, unread, unreadCount: unread ? count : 0 });
|
|
87
|
+
const { id, title, subtitle, screenId, kind, business, photo, initial, dateLabel, isArchived, isPrivate, at } = row;
|
|
88
|
+
return completeRow({ id, title, subtitle, screenId, kind, business, photo, initial, dateLabel, isArchived, isPrivate, at, unread, unreadCount: unread ? count : 0 });
|
|
85
89
|
}
|
|
86
90
|
|
|
87
91
|
/** Last-activity label in the device's zone: today → the time, yesterday → [yesterday] (the caller passes the localised
|
|
@@ -138,6 +142,7 @@ export function inboxRows(rooms: unknown[], fallbackTitle: string, options: Inbo
|
|
|
138
142
|
subtitle: text(last.summary),
|
|
139
143
|
screenId: business ? BUSINESS_SCREEN : "himi_chat_thread",
|
|
140
144
|
kind: business ? "" : "chatroom",
|
|
145
|
+
business,
|
|
141
146
|
photo: text(object(object(room.displayData).image).url),
|
|
142
147
|
initial: (title[0] ?? "#").toUpperCase(),
|
|
143
148
|
unread: count > 0 || unreadIds?.has(id) === true,
|
|
@@ -107,7 +107,7 @@ export function readSearch(response: unknown, options: ReadSearchOptions): Searc
|
|
|
107
107
|
screenId: room?.screenId ?? (business ? BUSINESS_SCREEN : "himi_chat_thread"),
|
|
108
108
|
kind: room ? room.kind : business ? "" : "chatroom",
|
|
109
109
|
photo: room?.photo ?? "",
|
|
110
|
-
noPhoto: !
|
|
110
|
+
noPhoto: room ? room.noPhoto : !business,
|
|
111
111
|
initial: room?.initial ?? (title[0] ?? "#").toUpperCase(),
|
|
112
112
|
});
|
|
113
113
|
}
|
|
@@ -85,7 +85,7 @@ interface S extends LoadFlags {
|
|
|
85
85
|
|
|
86
86
|
const PREFIX = "inbox";
|
|
87
87
|
const sample = (base: Pick<InboxRow, "id" | "title" | "subtitle" | "screenId" | "kind" | "initial">): Row =>
|
|
88
|
-
strip(completeRow({ ...base, photo: "", unread: false, unreadCount: 0, dateLabel: "", isArchived: false, isPrivate: false, at: 0 }));
|
|
88
|
+
strip(completeRow({ ...base, business: base.screenId === "himi_business_chat", photo: "", unread: false, unreadCount: 0, dateLabel: "", isArchived: false, isPrivate: false, at: 0 }));
|
|
89
89
|
const SAMPLES: Row[] = [
|
|
90
90
|
sample({ id: "sample-support", title: "Support", subtitle: "Hi! Let us know how we can help.", screenId: "himi_business_chat", kind: "", initial: "S" }),
|
|
91
91
|
sample({ id: "sample-member", title: "A member", subtitle: "Welcome 👋 Thanks for joining us!", screenId: "himi_chat_thread", kind: "chatroom", initial: "A" }),
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"body": { "size": 16, "weight": 400, "line": 1.5, "letterSpacing": 0 },
|
|
41
41
|
"bodyEmphasis": { "size": 16, "weight": 700, "line": 1.35, "letterSpacing": 0 },
|
|
42
42
|
"footnote": { "size": 14, "weight": 500, "line": 1.35, "letterSpacing": 0 },
|
|
43
|
-
"footnoteRegular": { "size": 14, "weight": 400, "line": 1.4, "letterSpacing":
|
|
43
|
+
"footnoteRegular": { "size": 14, "weight": 400, "line": 1.4, "letterSpacing": 0 },
|
|
44
44
|
"caption": { "size": 13, "weight": 400, "line": 1.4, "letterSpacing": 0 },
|
|
45
45
|
"display": { "size": 34, "weight": 800, "line": 1.1, "letterSpacing": 0 }
|
|
46
46
|
},
|
|
@@ -55,7 +55,8 @@
|
|
|
55
55
|
"radius": {
|
|
56
56
|
"sm": 4,
|
|
57
57
|
"md": 8,
|
|
58
|
-
"lg": 12
|
|
58
|
+
"lg": 12,
|
|
59
|
+
"full": 999
|
|
59
60
|
},
|
|
60
61
|
"kit": { "material": "flat", "variant": "default", "density": "spacious", "motion": "smooth", "motionDefaults": "subtle" },
|
|
61
62
|
"shadows": {
|