@wix/himalaya-cli 0.1950.0 → 0.1951.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/ts/src/schema.d.ts +10 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/validator.d.ts +37 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +38 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/sdui.mjs +9 -0
- package/dist/browser-plane/assets.json +5 -5
- package/dist/browser-plane/preview-deferred/{bb3ece9e6e814275817059f029f1b2db624dceb90d9e1a53ebae2b45fe6d36e5.bin → 15c152934a97a0d3de15946239a0037a38603f1972d2288b59945bd28a0fd237.bin} +1 -1
- package/dist/browser-plane/sw.js +9 -9
- package/dist/cli.mjs +151 -96
- package/dist/preview-assets.generated.bin +0 -0
- package/guides/component-index.md +1 -1
- package/guides/component-reference.json +1 -1
- package/guides/component-reference.md +4 -0
- package/guides/one-app-to-himi-app.md +7 -4
- package/package.json +2 -2
- package/templates/beauty-salon/tier5-src/_shared/member-bookings.ts +48 -1
- package/templates/beauty-salon/tier5-src/himi-booking-bookings/index.ts +10 -30
- package/templates/branded-lite/recipes/blog-list-thumb-start.json +56 -5
- package/templates/branded-lite/recipes/blog-list.json +56 -5
- package/templates/branded-lite/recipes/blog-see-all.json +1 -1
- package/templates/branded-lite/recipes/upcoming-bookings.json +87 -30
- package/templates/branded-lite/tier5-src/_shared/blog-list.ts +34 -10
- package/templates/branded-lite/tier5-src/_shared/member-bookings.ts +48 -1
- package/templates/branded-lite/tier5-src/_shared/upcoming-bookings-section.ts +27 -5
- package/templates/branded-lite/tier5-src/himi-booking-bookings/index.ts +10 -30
- package/templates/community-club/l10n/ar.json +44 -0
- package/templates/community-club/l10n/cs.json +44 -0
- package/templates/community-club/l10n/da.json +44 -0
- package/templates/community-club/l10n/de.json +44 -0
- package/templates/community-club/l10n/el.json +44 -0
- package/templates/community-club/l10n/en.json +27 -0
- package/templates/community-club/l10n/es.json +44 -0
- package/templates/community-club/l10n/fi.json +44 -0
- package/templates/community-club/l10n/fr.json +44 -0
- package/templates/community-club/l10n/he.json +36 -0
- package/templates/community-club/l10n/hu.json +44 -0
- package/templates/community-club/l10n/id.json +44 -0
- package/templates/community-club/l10n/it.json +44 -0
- package/templates/community-club/l10n/ja.json +44 -0
- package/templates/community-club/l10n/ko.json +44 -0
- package/templates/community-club/l10n/lt.json +44 -0
- package/templates/community-club/l10n/nl.json +44 -0
- package/templates/community-club/l10n/no.json +44 -0
- package/templates/community-club/l10n/pl.json +44 -0
- package/templates/community-club/l10n/pt.json +44 -0
- package/templates/community-club/l10n/ru.json +44 -0
- package/templates/community-club/l10n/sv.json +44 -0
- package/templates/community-club/l10n/th.json +44 -0
- package/templates/community-club/l10n/tr.json +44 -0
- package/templates/community-club/l10n/uk.json +44 -0
- package/templates/community-club/l10n/vi.json +44 -0
- package/templates/community-club/l10n/zh.json +44 -0
- package/templates/community-club/tier5-src/_shared/member-bookings.ts +48 -1
- package/templates/events-meetups/l10n/ar.json +44 -0
- package/templates/events-meetups/l10n/cs.json +44 -0
- package/templates/events-meetups/l10n/da.json +44 -0
- package/templates/events-meetups/l10n/de.json +44 -0
- package/templates/events-meetups/l10n/el.json +44 -0
- package/templates/events-meetups/l10n/en.json +27 -0
- package/templates/events-meetups/l10n/es.json +44 -0
- package/templates/events-meetups/l10n/fi.json +44 -0
- package/templates/events-meetups/l10n/fr.json +44 -0
- package/templates/events-meetups/l10n/he.json +36 -0
- package/templates/events-meetups/l10n/hu.json +44 -0
- package/templates/events-meetups/l10n/id.json +44 -0
- package/templates/events-meetups/l10n/it.json +44 -0
- package/templates/events-meetups/l10n/ja.json +44 -0
- package/templates/events-meetups/l10n/ko.json +44 -0
- package/templates/events-meetups/l10n/lt.json +44 -0
- package/templates/events-meetups/l10n/nl.json +44 -0
- package/templates/events-meetups/l10n/no.json +44 -0
- package/templates/events-meetups/l10n/pl.json +44 -0
- package/templates/events-meetups/l10n/pt.json +44 -0
- package/templates/events-meetups/l10n/ru.json +44 -0
- package/templates/events-meetups/l10n/sv.json +44 -0
- package/templates/events-meetups/l10n/th.json +44 -0
- package/templates/events-meetups/l10n/tr.json +44 -0
- package/templates/events-meetups/l10n/uk.json +44 -0
- package/templates/events-meetups/l10n/vi.json +44 -0
- package/templates/events-meetups/l10n/zh.json +44 -0
- package/templates/events-meetups/tier5-src/_shared/member-bookings.ts +48 -1
- package/templates/fitness-gym/tier5-src/_shared/member-bookings.ts +48 -1
- package/templates/fitness-gym/tier5-src/himi-booking-bookings/index.ts +10 -30
- package/templates/gym-fitness/tier5-src/_shared/member-bookings.ts +48 -1
- package/templates/gym-fitness/tier5-src/himi-booking-bookings/index.ts +10 -30
- package/templates/medical-services/tier5-src/_shared/member-bookings.ts +48 -1
- package/templates/medical-services/tier5-src/himi-booking-bookings/index.ts +10 -30
- package/templates/nonprofit-cause/l10n/ar.json +38 -0
- package/templates/nonprofit-cause/l10n/cs.json +38 -0
- package/templates/nonprofit-cause/l10n/da.json +38 -0
- package/templates/nonprofit-cause/l10n/de.json +38 -0
- package/templates/nonprofit-cause/l10n/el.json +38 -0
- package/templates/nonprofit-cause/l10n/en.json +20 -0
- package/templates/nonprofit-cause/l10n/es.json +38 -0
- package/templates/nonprofit-cause/l10n/fi.json +38 -0
- package/templates/nonprofit-cause/l10n/fr.json +38 -0
- package/templates/nonprofit-cause/l10n/he.json +31 -0
- package/templates/nonprofit-cause/l10n/hu.json +38 -0
- package/templates/nonprofit-cause/l10n/id.json +38 -0
- package/templates/nonprofit-cause/l10n/it.json +38 -0
- package/templates/nonprofit-cause/l10n/ja.json +38 -0
- package/templates/nonprofit-cause/l10n/ko.json +38 -0
- package/templates/nonprofit-cause/l10n/lt.json +38 -0
- package/templates/nonprofit-cause/l10n/nl.json +38 -0
- package/templates/nonprofit-cause/l10n/no.json +38 -0
- package/templates/nonprofit-cause/l10n/pl.json +38 -0
- package/templates/nonprofit-cause/l10n/pt.json +38 -0
- package/templates/nonprofit-cause/l10n/ru.json +38 -0
- package/templates/nonprofit-cause/l10n/sv.json +38 -0
- package/templates/nonprofit-cause/l10n/th.json +38 -0
- package/templates/nonprofit-cause/l10n/tr.json +38 -0
- package/templates/nonprofit-cause/l10n/uk.json +38 -0
- package/templates/nonprofit-cause/l10n/vi.json +38 -0
- package/templates/nonprofit-cause/l10n/zh.json +38 -0
- package/templates/nonprofit-cause/tier5-src/_shared/member-bookings.ts +48 -1
- package/templates/personal-fitness-trainer/tier5-src/_shared/member-bookings.ts +48 -1
- package/templates/personal-fitness-trainer/tier5-src/himi-booking-bookings/index.ts +10 -30
- package/templates/podcast-creator/l10n/ar.json +38 -0
- package/templates/podcast-creator/l10n/cs.json +38 -0
- package/templates/podcast-creator/l10n/da.json +38 -0
- package/templates/podcast-creator/l10n/de.json +38 -0
- package/templates/podcast-creator/l10n/el.json +38 -0
- package/templates/podcast-creator/l10n/en.json +20 -0
- package/templates/podcast-creator/l10n/es.json +38 -0
- package/templates/podcast-creator/l10n/fi.json +38 -0
- package/templates/podcast-creator/l10n/fr.json +38 -0
- package/templates/podcast-creator/l10n/he.json +31 -0
- package/templates/podcast-creator/l10n/hu.json +38 -0
- package/templates/podcast-creator/l10n/id.json +38 -0
- package/templates/podcast-creator/l10n/it.json +38 -0
- package/templates/podcast-creator/l10n/ja.json +38 -0
- package/templates/podcast-creator/l10n/ko.json +38 -0
- package/templates/podcast-creator/l10n/lt.json +38 -0
- package/templates/podcast-creator/l10n/nl.json +38 -0
- package/templates/podcast-creator/l10n/no.json +38 -0
- package/templates/podcast-creator/l10n/pl.json +38 -0
- package/templates/podcast-creator/l10n/pt.json +38 -0
- package/templates/podcast-creator/l10n/ru.json +38 -0
- package/templates/podcast-creator/l10n/sv.json +38 -0
- package/templates/podcast-creator/l10n/th.json +38 -0
- package/templates/podcast-creator/l10n/tr.json +38 -0
- package/templates/podcast-creator/l10n/uk.json +38 -0
- package/templates/podcast-creator/l10n/vi.json +38 -0
- package/templates/podcast-creator/l10n/zh.json +38 -0
- package/templates/podcast-creator/tier5-src/_shared/member-bookings.ts +48 -1
- package/templates/portfolio-creative/l10n/ar.json +38 -0
- package/templates/portfolio-creative/l10n/cs.json +38 -0
- package/templates/portfolio-creative/l10n/da.json +38 -0
- package/templates/portfolio-creative/l10n/de.json +38 -0
- package/templates/portfolio-creative/l10n/el.json +38 -0
- package/templates/portfolio-creative/l10n/en.json +20 -0
- package/templates/portfolio-creative/l10n/es.json +38 -0
- package/templates/portfolio-creative/l10n/fi.json +38 -0
- package/templates/portfolio-creative/l10n/fr.json +38 -0
- package/templates/portfolio-creative/l10n/he.json +31 -0
- package/templates/portfolio-creative/l10n/hu.json +38 -0
- package/templates/portfolio-creative/l10n/id.json +38 -0
- package/templates/portfolio-creative/l10n/it.json +38 -0
- package/templates/portfolio-creative/l10n/ja.json +38 -0
- package/templates/portfolio-creative/l10n/ko.json +38 -0
- package/templates/portfolio-creative/l10n/lt.json +38 -0
- package/templates/portfolio-creative/l10n/nl.json +38 -0
- package/templates/portfolio-creative/l10n/no.json +38 -0
- package/templates/portfolio-creative/l10n/pl.json +38 -0
- package/templates/portfolio-creative/l10n/pt.json +38 -0
- package/templates/portfolio-creative/l10n/ru.json +38 -0
- package/templates/portfolio-creative/l10n/sv.json +38 -0
- package/templates/portfolio-creative/l10n/th.json +38 -0
- package/templates/portfolio-creative/l10n/tr.json +38 -0
- package/templates/portfolio-creative/l10n/uk.json +38 -0
- package/templates/portfolio-creative/l10n/vi.json +38 -0
- package/templates/portfolio-creative/l10n/zh.json +38 -0
- package/templates/portfolio-creative/tier5-src/_shared/member-bookings.ts +48 -1
- package/templates/professional-services/tier5-src/_shared/member-bookings.ts +48 -1
- package/templates/professional-services/tier5-src/himi-booking-bookings/index.ts +10 -30
- package/templates/restaurant/l10n/ar.json +38 -0
- package/templates/restaurant/l10n/cs.json +38 -0
- package/templates/restaurant/l10n/da.json +38 -0
- package/templates/restaurant/l10n/de.json +38 -0
- package/templates/restaurant/l10n/el.json +38 -0
- package/templates/restaurant/l10n/en.json +20 -0
- package/templates/restaurant/l10n/es.json +38 -0
- package/templates/restaurant/l10n/fi.json +38 -0
- package/templates/restaurant/l10n/fr.json +38 -0
- package/templates/restaurant/l10n/he.json +31 -0
- package/templates/restaurant/l10n/hu.json +38 -0
- package/templates/restaurant/l10n/id.json +38 -0
- package/templates/restaurant/l10n/it.json +38 -0
- package/templates/restaurant/l10n/ja.json +38 -0
- package/templates/restaurant/l10n/ko.json +38 -0
- package/templates/restaurant/l10n/lt.json +38 -0
- package/templates/restaurant/l10n/nl.json +38 -0
- package/templates/restaurant/l10n/no.json +38 -0
- package/templates/restaurant/l10n/pl.json +38 -0
- package/templates/restaurant/l10n/pt.json +38 -0
- package/templates/restaurant/l10n/ru.json +38 -0
- package/templates/restaurant/l10n/sv.json +38 -0
- package/templates/restaurant/l10n/th.json +38 -0
- package/templates/restaurant/l10n/tr.json +38 -0
- package/templates/restaurant/l10n/uk.json +38 -0
- package/templates/restaurant/l10n/vi.json +38 -0
- package/templates/restaurant/l10n/zh.json +38 -0
- package/templates/restaurant/tier5-src/_shared/member-bookings.ts +48 -1
- package/templates/retail-store/l10n/ar.json +38 -0
- package/templates/retail-store/l10n/cs.json +38 -0
- package/templates/retail-store/l10n/da.json +38 -0
- package/templates/retail-store/l10n/de.json +38 -0
- package/templates/retail-store/l10n/el.json +38 -0
- package/templates/retail-store/l10n/en.json +20 -0
- package/templates/retail-store/l10n/es.json +38 -0
- package/templates/retail-store/l10n/fi.json +38 -0
- package/templates/retail-store/l10n/fr.json +38 -0
- package/templates/retail-store/l10n/he.json +31 -0
- package/templates/retail-store/l10n/hu.json +38 -0
- package/templates/retail-store/l10n/id.json +38 -0
- package/templates/retail-store/l10n/it.json +38 -0
- package/templates/retail-store/l10n/ja.json +38 -0
- package/templates/retail-store/l10n/ko.json +38 -0
- package/templates/retail-store/l10n/lt.json +38 -0
- package/templates/retail-store/l10n/nl.json +38 -0
- package/templates/retail-store/l10n/no.json +38 -0
- package/templates/retail-store/l10n/pl.json +38 -0
- package/templates/retail-store/l10n/pt.json +38 -0
- package/templates/retail-store/l10n/ru.json +38 -0
- package/templates/retail-store/l10n/sv.json +38 -0
- package/templates/retail-store/l10n/th.json +38 -0
- package/templates/retail-store/l10n/tr.json +38 -0
- package/templates/retail-store/l10n/uk.json +38 -0
- package/templates/retail-store/l10n/vi.json +38 -0
- package/templates/retail-store/l10n/zh.json +38 -0
- package/templates/retail-store/tier5-src/_shared/member-bookings.ts +48 -1
- package/templates/salon-spa/tier5-src/_shared/member-bookings.ts +48 -1
- package/templates/salon-spa/tier5-src/himi-booking-bookings/index.ts +10 -30
- package/templates/yoga-studio/tier5-src/_shared/member-bookings.ts +48 -1
- package/templates/yoga-studio/tier5-src/himi-booking-bookings/index.ts +10 -30
|
@@ -68,6 +68,12 @@
|
|
|
68
68
|
"translation": "Wybierz język używany w tej aplikacji.",
|
|
69
69
|
"origin": "machine"
|
|
70
70
|
},
|
|
71
|
+
"h_b9e09ae263fb": {
|
|
72
|
+
"key": "businessChat.unconfirmed",
|
|
73
|
+
"source": "Not confirmed",
|
|
74
|
+
"translation": "Niepotwierdzone",
|
|
75
|
+
"origin": "machine"
|
|
76
|
+
},
|
|
71
77
|
"h_33ce417454bf": {
|
|
72
78
|
"key": "common.detailLoadingText",
|
|
73
79
|
"source": "Loading…",
|
|
@@ -140,6 +146,12 @@
|
|
|
140
146
|
"translation": "Dane do logowania",
|
|
141
147
|
"origin": "one-app:wix-owners-app-platform:user-profile.account-settings-screen.login-info.title"
|
|
142
148
|
},
|
|
149
|
+
"h_13e7a657eca6": {
|
|
150
|
+
"key": "agenda.bookedLabel",
|
|
151
|
+
"source": "Booked",
|
|
152
|
+
"translation": "Zarezerwowano",
|
|
153
|
+
"origin": "machine"
|
|
154
|
+
},
|
|
143
155
|
"h_153d7a58b3a3": {
|
|
144
156
|
"key": "forum.commentCta",
|
|
145
157
|
"source": "Comment",
|
|
@@ -962,6 +974,12 @@
|
|
|
962
974
|
"translation": "Historia Twoich zamówień pojawi się tutaj po zalogowaniu.",
|
|
963
975
|
"origin": "machine"
|
|
964
976
|
},
|
|
977
|
+
"h_d82b56cad900": {
|
|
978
|
+
"key": "agenda.courseTag",
|
|
979
|
+
"source": "Course",
|
|
980
|
+
"translation": "Kurs",
|
|
981
|
+
"origin": "machine"
|
|
982
|
+
},
|
|
965
983
|
"h_d850ee188c7c": {
|
|
966
984
|
"key": "accountSettings.newPasswordLabel",
|
|
967
985
|
"source": "New password",
|
|
@@ -2815,6 +2833,26 @@
|
|
|
2815
2833
|
"translation": "Oczekujące na zatwierdzenie",
|
|
2816
2834
|
"origin": "one-app:wix-one-groups:GROUPS_MEMBERS_DESCRIPTION_PENDING"
|
|
2817
2835
|
},
|
|
2836
|
+
"h_23a1732e27a5": {
|
|
2837
|
+
"source": "Waitlist",
|
|
2838
|
+
"translation": "Lista oczekujących",
|
|
2839
|
+
"origin": "machine"
|
|
2840
|
+
},
|
|
2841
|
+
"h_ff59b80fe424": {
|
|
2842
|
+
"source": "Declined",
|
|
2843
|
+
"translation": "Odrzucona",
|
|
2844
|
+
"origin": "one-app:wix-one-app-marketing:Marketing_Home_CampaignsStats_EmailMarketing_Status_Declined"
|
|
2845
|
+
},
|
|
2846
|
+
"h_5d1fcddd3adc": {
|
|
2847
|
+
"source": "{n} hr",
|
|
2848
|
+
"translation": "{n} godz.",
|
|
2849
|
+
"origin": "machine"
|
|
2850
|
+
},
|
|
2851
|
+
"h_37e737d92cbb": {
|
|
2852
|
+
"source": "{n} min",
|
|
2853
|
+
"translation": "{n} min",
|
|
2854
|
+
"origin": "machine"
|
|
2855
|
+
},
|
|
2818
2856
|
"h_dc9d4584a554": {
|
|
2819
2857
|
"source": "Paid",
|
|
2820
2858
|
"translation": "Opłacone",
|
|
@@ -68,6 +68,12 @@
|
|
|
68
68
|
"translation": "Escolha o idioma usado neste app.",
|
|
69
69
|
"origin": "machine"
|
|
70
70
|
},
|
|
71
|
+
"h_b9e09ae263fb": {
|
|
72
|
+
"key": "businessChat.unconfirmed",
|
|
73
|
+
"source": "Not confirmed",
|
|
74
|
+
"translation": "Não confirmada",
|
|
75
|
+
"origin": "machine"
|
|
76
|
+
},
|
|
71
77
|
"h_33ce417454bf": {
|
|
72
78
|
"key": "common.detailLoadingText",
|
|
73
79
|
"source": "Loading…",
|
|
@@ -140,6 +146,12 @@
|
|
|
140
146
|
"translation": "Informações de login",
|
|
141
147
|
"origin": "one-app:wix-owners-app-platform:user-profile.account-settings-screen.login-info.title"
|
|
142
148
|
},
|
|
149
|
+
"h_13e7a657eca6": {
|
|
150
|
+
"key": "agenda.bookedLabel",
|
|
151
|
+
"source": "Booked",
|
|
152
|
+
"translation": "Reservado",
|
|
153
|
+
"origin": "machine"
|
|
154
|
+
},
|
|
143
155
|
"h_153d7a58b3a3": {
|
|
144
156
|
"key": "forum.commentCta",
|
|
145
157
|
"source": "Comment",
|
|
@@ -962,6 +974,12 @@
|
|
|
962
974
|
"translation": "Seu histórico de pedidos aparece aqui depois que você fizer login.",
|
|
963
975
|
"origin": "machine"
|
|
964
976
|
},
|
|
977
|
+
"h_d82b56cad900": {
|
|
978
|
+
"key": "agenda.courseTag",
|
|
979
|
+
"source": "Course",
|
|
980
|
+
"translation": "Curso",
|
|
981
|
+
"origin": "machine"
|
|
982
|
+
},
|
|
965
983
|
"h_d850ee188c7c": {
|
|
966
984
|
"key": "accountSettings.newPasswordLabel",
|
|
967
985
|
"source": "New password",
|
|
@@ -2815,6 +2833,26 @@
|
|
|
2815
2833
|
"translation": "Aprovação pendente",
|
|
2816
2834
|
"origin": "one-app:wix-one-groups:GROUPS_MEMBERS_DESCRIPTION_PENDING"
|
|
2817
2835
|
},
|
|
2836
|
+
"h_23a1732e27a5": {
|
|
2837
|
+
"source": "Waitlist",
|
|
2838
|
+
"translation": "Lista de espera",
|
|
2839
|
+
"origin": "machine"
|
|
2840
|
+
},
|
|
2841
|
+
"h_ff59b80fe424": {
|
|
2842
|
+
"source": "Declined",
|
|
2843
|
+
"translation": "Recusado",
|
|
2844
|
+
"origin": "one-app:wix-one-app-marketing:Marketing_Home_CampaignsStats_EmailMarketing_Status_Declined"
|
|
2845
|
+
},
|
|
2846
|
+
"h_5d1fcddd3adc": {
|
|
2847
|
+
"source": "{n} hr",
|
|
2848
|
+
"translation": "{n} h",
|
|
2849
|
+
"origin": "machine"
|
|
2850
|
+
},
|
|
2851
|
+
"h_37e737d92cbb": {
|
|
2852
|
+
"source": "{n} min",
|
|
2853
|
+
"translation": "{n} min",
|
|
2854
|
+
"origin": "machine"
|
|
2855
|
+
},
|
|
2818
2856
|
"h_dc9d4584a554": {
|
|
2819
2857
|
"source": "Paid",
|
|
2820
2858
|
"translation": "Pago",
|
|
@@ -68,6 +68,12 @@
|
|
|
68
68
|
"translation": "Выберите язык приложения.",
|
|
69
69
|
"origin": "machine"
|
|
70
70
|
},
|
|
71
|
+
"h_b9e09ae263fb": {
|
|
72
|
+
"key": "businessChat.unconfirmed",
|
|
73
|
+
"source": "Not confirmed",
|
|
74
|
+
"translation": "Не подтверждено",
|
|
75
|
+
"origin": "machine"
|
|
76
|
+
},
|
|
71
77
|
"h_33ce417454bf": {
|
|
72
78
|
"key": "common.detailLoadingText",
|
|
73
79
|
"source": "Loading…",
|
|
@@ -140,6 +146,12 @@
|
|
|
140
146
|
"translation": "Данные для входа в аккаунт",
|
|
141
147
|
"origin": "one-app:wix-owners-app-platform:user-profile.account-settings-screen.login-info.title"
|
|
142
148
|
},
|
|
149
|
+
"h_13e7a657eca6": {
|
|
150
|
+
"key": "agenda.bookedLabel",
|
|
151
|
+
"source": "Booked",
|
|
152
|
+
"translation": "Забронировано",
|
|
153
|
+
"origin": "machine"
|
|
154
|
+
},
|
|
143
155
|
"h_153d7a58b3a3": {
|
|
144
156
|
"key": "forum.commentCta",
|
|
145
157
|
"source": "Comment",
|
|
@@ -962,6 +974,12 @@
|
|
|
962
974
|
"translation": "История ваших заказов появится здесь после входа.",
|
|
963
975
|
"origin": "machine"
|
|
964
976
|
},
|
|
977
|
+
"h_d82b56cad900": {
|
|
978
|
+
"key": "agenda.courseTag",
|
|
979
|
+
"source": "Course",
|
|
980
|
+
"translation": "Курс",
|
|
981
|
+
"origin": "machine"
|
|
982
|
+
},
|
|
965
983
|
"h_d850ee188c7c": {
|
|
966
984
|
"key": "accountSettings.newPasswordLabel",
|
|
967
985
|
"source": "New password",
|
|
@@ -2815,6 +2833,26 @@
|
|
|
2815
2833
|
"translation": "Ожидает подтверждения",
|
|
2816
2834
|
"origin": "one-app:wix-one-groups:GROUPS_MEMBERS_DESCRIPTION_PENDING"
|
|
2817
2835
|
},
|
|
2836
|
+
"h_23a1732e27a5": {
|
|
2837
|
+
"source": "Waitlist",
|
|
2838
|
+
"translation": "Лист ожидания",
|
|
2839
|
+
"origin": "machine"
|
|
2840
|
+
},
|
|
2841
|
+
"h_ff59b80fe424": {
|
|
2842
|
+
"source": "Declined",
|
|
2843
|
+
"translation": "Отклонено",
|
|
2844
|
+
"origin": "one-app:wix-one-app-ecom-platform:merchant.order.paymentInfoSection.declinedPayments.title"
|
|
2845
|
+
},
|
|
2846
|
+
"h_5d1fcddd3adc": {
|
|
2847
|
+
"source": "{n} hr",
|
|
2848
|
+
"translation": "{n} ч",
|
|
2849
|
+
"origin": "machine"
|
|
2850
|
+
},
|
|
2851
|
+
"h_37e737d92cbb": {
|
|
2852
|
+
"source": "{n} min",
|
|
2853
|
+
"translation": "{n} мин",
|
|
2854
|
+
"origin": "machine"
|
|
2855
|
+
},
|
|
2818
2856
|
"h_dc9d4584a554": {
|
|
2819
2857
|
"source": "Paid",
|
|
2820
2858
|
"translation": "Оплачен",
|
|
@@ -68,6 +68,12 @@
|
|
|
68
68
|
"translation": "Välj språk för appen.",
|
|
69
69
|
"origin": "machine"
|
|
70
70
|
},
|
|
71
|
+
"h_b9e09ae263fb": {
|
|
72
|
+
"key": "businessChat.unconfirmed",
|
|
73
|
+
"source": "Not confirmed",
|
|
74
|
+
"translation": "Inte bekräftat",
|
|
75
|
+
"origin": "machine"
|
|
76
|
+
},
|
|
71
77
|
"h_33ce417454bf": {
|
|
72
78
|
"key": "common.detailLoadingText",
|
|
73
79
|
"source": "Loading…",
|
|
@@ -140,6 +146,12 @@
|
|
|
140
146
|
"translation": "Inloggningsuppgifter",
|
|
141
147
|
"origin": "one-app:wix-owners-app-platform:user-profile.account-settings-screen.login-info.title"
|
|
142
148
|
},
|
|
149
|
+
"h_13e7a657eca6": {
|
|
150
|
+
"key": "agenda.bookedLabel",
|
|
151
|
+
"source": "Booked",
|
|
152
|
+
"translation": "Bokad",
|
|
153
|
+
"origin": "machine"
|
|
154
|
+
},
|
|
143
155
|
"h_153d7a58b3a3": {
|
|
144
156
|
"key": "forum.commentCta",
|
|
145
157
|
"source": "Comment",
|
|
@@ -962,6 +974,12 @@
|
|
|
962
974
|
"translation": "Din beställningshistorik visas här när du har loggat in.",
|
|
963
975
|
"origin": "machine"
|
|
964
976
|
},
|
|
977
|
+
"h_d82b56cad900": {
|
|
978
|
+
"key": "agenda.courseTag",
|
|
979
|
+
"source": "Course",
|
|
980
|
+
"translation": "Kurs",
|
|
981
|
+
"origin": "machine"
|
|
982
|
+
},
|
|
965
983
|
"h_d850ee188c7c": {
|
|
966
984
|
"key": "accountSettings.newPasswordLabel",
|
|
967
985
|
"source": "New password",
|
|
@@ -2815,6 +2833,26 @@
|
|
|
2815
2833
|
"translation": "Väntar på godkännande",
|
|
2816
2834
|
"origin": "one-app:wix-one-groups:GROUPS_MEMBERS_DESCRIPTION_PENDING"
|
|
2817
2835
|
},
|
|
2836
|
+
"h_23a1732e27a5": {
|
|
2837
|
+
"source": "Waitlist",
|
|
2838
|
+
"translation": "Väntelista",
|
|
2839
|
+
"origin": "machine"
|
|
2840
|
+
},
|
|
2841
|
+
"h_ff59b80fe424": {
|
|
2842
|
+
"source": "Declined",
|
|
2843
|
+
"translation": "Nekad",
|
|
2844
|
+
"origin": "one-app:wix-one-app-marketing:Marketing_Home_CampaignsStats_EmailMarketing_Status_Declined"
|
|
2845
|
+
},
|
|
2846
|
+
"h_5d1fcddd3adc": {
|
|
2847
|
+
"source": "{n} hr",
|
|
2848
|
+
"translation": "{n} tim",
|
|
2849
|
+
"origin": "machine"
|
|
2850
|
+
},
|
|
2851
|
+
"h_37e737d92cbb": {
|
|
2852
|
+
"source": "{n} min",
|
|
2853
|
+
"translation": "{n} min",
|
|
2854
|
+
"origin": "machine"
|
|
2855
|
+
},
|
|
2818
2856
|
"h_dc9d4584a554": {
|
|
2819
2857
|
"source": "Paid",
|
|
2820
2858
|
"translation": "Betald",
|
|
@@ -68,6 +68,12 @@
|
|
|
68
68
|
"translation": "เลือกภาษาที่ใช้ในแอปนี้",
|
|
69
69
|
"origin": "machine"
|
|
70
70
|
},
|
|
71
|
+
"h_b9e09ae263fb": {
|
|
72
|
+
"key": "businessChat.unconfirmed",
|
|
73
|
+
"source": "Not confirmed",
|
|
74
|
+
"translation": "ยังไม่ได้ยืนยัน",
|
|
75
|
+
"origin": "machine"
|
|
76
|
+
},
|
|
71
77
|
"h_33ce417454bf": {
|
|
72
78
|
"key": "common.detailLoadingText",
|
|
73
79
|
"source": "Loading…",
|
|
@@ -140,6 +146,12 @@
|
|
|
140
146
|
"translation": "ข้อมูลการเข้าสู่ระบบ",
|
|
141
147
|
"origin": "one-app:wix-owners-app-platform:user-profile.account-settings-screen.login-info.title"
|
|
142
148
|
},
|
|
149
|
+
"h_13e7a657eca6": {
|
|
150
|
+
"key": "agenda.bookedLabel",
|
|
151
|
+
"source": "Booked",
|
|
152
|
+
"translation": "จองแล้ว",
|
|
153
|
+
"origin": "machine"
|
|
154
|
+
},
|
|
143
155
|
"h_153d7a58b3a3": {
|
|
144
156
|
"key": "forum.commentCta",
|
|
145
157
|
"source": "Comment",
|
|
@@ -962,6 +974,12 @@
|
|
|
962
974
|
"translation": "ประวัติคำสั่งซื้อของคุณจะแสดงที่นี่หลังจากเข้าสู่ระบบ",
|
|
963
975
|
"origin": "machine"
|
|
964
976
|
},
|
|
977
|
+
"h_d82b56cad900": {
|
|
978
|
+
"key": "agenda.courseTag",
|
|
979
|
+
"source": "Course",
|
|
980
|
+
"translation": "คอร์ส",
|
|
981
|
+
"origin": "machine"
|
|
982
|
+
},
|
|
965
983
|
"h_d850ee188c7c": {
|
|
966
984
|
"key": "accountSettings.newPasswordLabel",
|
|
967
985
|
"source": "New password",
|
|
@@ -2815,6 +2833,26 @@
|
|
|
2815
2833
|
"translation": "รอการอนุมัติ",
|
|
2816
2834
|
"origin": "one-app:wix-one-groups:GROUPS_MEMBERS_DESCRIPTION_PENDING"
|
|
2817
2835
|
},
|
|
2836
|
+
"h_23a1732e27a5": {
|
|
2837
|
+
"source": "Waitlist",
|
|
2838
|
+
"translation": "รายชื่อรอ",
|
|
2839
|
+
"origin": "machine"
|
|
2840
|
+
},
|
|
2841
|
+
"h_ff59b80fe424": {
|
|
2842
|
+
"source": "Declined",
|
|
2843
|
+
"translation": "ปฏิเสธแล้ว",
|
|
2844
|
+
"origin": "machine"
|
|
2845
|
+
},
|
|
2846
|
+
"h_5d1fcddd3adc": {
|
|
2847
|
+
"source": "{n} hr",
|
|
2848
|
+
"translation": "{n} ชม.",
|
|
2849
|
+
"origin": "machine"
|
|
2850
|
+
},
|
|
2851
|
+
"h_37e737d92cbb": {
|
|
2852
|
+
"source": "{n} min",
|
|
2853
|
+
"translation": "{n} นาที",
|
|
2854
|
+
"origin": "machine"
|
|
2855
|
+
},
|
|
2818
2856
|
"h_dc9d4584a554": {
|
|
2819
2857
|
"source": "Paid",
|
|
2820
2858
|
"translation": "ชำระเงินแล้ว",
|
|
@@ -68,6 +68,12 @@
|
|
|
68
68
|
"translation": "Bu uygulamada kullanılacak dili seçin.",
|
|
69
69
|
"origin": "machine"
|
|
70
70
|
},
|
|
71
|
+
"h_b9e09ae263fb": {
|
|
72
|
+
"key": "businessChat.unconfirmed",
|
|
73
|
+
"source": "Not confirmed",
|
|
74
|
+
"translation": "Onaylanmadı",
|
|
75
|
+
"origin": "machine"
|
|
76
|
+
},
|
|
71
77
|
"h_33ce417454bf": {
|
|
72
78
|
"key": "common.detailLoadingText",
|
|
73
79
|
"source": "Loading…",
|
|
@@ -140,6 +146,12 @@
|
|
|
140
146
|
"translation": "Giriş Bilgileri",
|
|
141
147
|
"origin": "one-app:wix-owners-app-platform:user-profile.account-settings-screen.login-info.title"
|
|
142
148
|
},
|
|
149
|
+
"h_13e7a657eca6": {
|
|
150
|
+
"key": "agenda.bookedLabel",
|
|
151
|
+
"source": "Booked",
|
|
152
|
+
"translation": "Randevu alındı",
|
|
153
|
+
"origin": "machine"
|
|
154
|
+
},
|
|
143
155
|
"h_153d7a58b3a3": {
|
|
144
156
|
"key": "forum.commentCta",
|
|
145
157
|
"source": "Comment",
|
|
@@ -962,6 +974,12 @@
|
|
|
962
974
|
"translation": "Sipariş geçmişiniz giriş yaptıktan sonra burada görünür.",
|
|
963
975
|
"origin": "machine"
|
|
964
976
|
},
|
|
977
|
+
"h_d82b56cad900": {
|
|
978
|
+
"key": "agenda.courseTag",
|
|
979
|
+
"source": "Course",
|
|
980
|
+
"translation": "Kurs",
|
|
981
|
+
"origin": "machine"
|
|
982
|
+
},
|
|
965
983
|
"h_d850ee188c7c": {
|
|
966
984
|
"key": "accountSettings.newPasswordLabel",
|
|
967
985
|
"source": "New password",
|
|
@@ -2815,6 +2833,26 @@
|
|
|
2815
2833
|
"translation": "Onay Beklemede",
|
|
2816
2834
|
"origin": "one-app:wix-one-groups:GROUPS_MEMBERS_DESCRIPTION_PENDING"
|
|
2817
2835
|
},
|
|
2836
|
+
"h_23a1732e27a5": {
|
|
2837
|
+
"source": "Waitlist",
|
|
2838
|
+
"translation": "Bekleme listesi",
|
|
2839
|
+
"origin": "machine"
|
|
2840
|
+
},
|
|
2841
|
+
"h_ff59b80fe424": {
|
|
2842
|
+
"source": "Declined",
|
|
2843
|
+
"translation": "Reddedildi",
|
|
2844
|
+
"origin": "one-app:wix-one-app-marketing:Marketing_Home_CampaignsStats_EmailMarketing_Status_Declined"
|
|
2845
|
+
},
|
|
2846
|
+
"h_5d1fcddd3adc": {
|
|
2847
|
+
"source": "{n} hr",
|
|
2848
|
+
"translation": "{n} sa",
|
|
2849
|
+
"origin": "machine"
|
|
2850
|
+
},
|
|
2851
|
+
"h_37e737d92cbb": {
|
|
2852
|
+
"source": "{n} min",
|
|
2853
|
+
"translation": "{n} dk",
|
|
2854
|
+
"origin": "machine"
|
|
2855
|
+
},
|
|
2818
2856
|
"h_dc9d4584a554": {
|
|
2819
2857
|
"source": "Paid",
|
|
2820
2858
|
"translation": "Ödendi",
|
|
@@ -68,6 +68,12 @@
|
|
|
68
68
|
"translation": "Виберіть мову цього додатка.",
|
|
69
69
|
"origin": "machine"
|
|
70
70
|
},
|
|
71
|
+
"h_b9e09ae263fb": {
|
|
72
|
+
"key": "businessChat.unconfirmed",
|
|
73
|
+
"source": "Not confirmed",
|
|
74
|
+
"translation": "Не підтверджено",
|
|
75
|
+
"origin": "machine"
|
|
76
|
+
},
|
|
71
77
|
"h_33ce417454bf": {
|
|
72
78
|
"key": "common.detailLoadingText",
|
|
73
79
|
"source": "Loading…",
|
|
@@ -140,6 +146,12 @@
|
|
|
140
146
|
"translation": "Дані для входу",
|
|
141
147
|
"origin": "one-app:wix-owners-app-platform:user-profile.account-settings-screen.login-info.title"
|
|
142
148
|
},
|
|
149
|
+
"h_13e7a657eca6": {
|
|
150
|
+
"key": "agenda.bookedLabel",
|
|
151
|
+
"source": "Booked",
|
|
152
|
+
"translation": "Заброньовано",
|
|
153
|
+
"origin": "machine"
|
|
154
|
+
},
|
|
143
155
|
"h_153d7a58b3a3": {
|
|
144
156
|
"key": "forum.commentCta",
|
|
145
157
|
"source": "Comment",
|
|
@@ -962,6 +974,12 @@
|
|
|
962
974
|
"translation": "Історія ваших замовлень з'явиться тут після входу.",
|
|
963
975
|
"origin": "machine"
|
|
964
976
|
},
|
|
977
|
+
"h_d82b56cad900": {
|
|
978
|
+
"key": "agenda.courseTag",
|
|
979
|
+
"source": "Course",
|
|
980
|
+
"translation": "Курс",
|
|
981
|
+
"origin": "machine"
|
|
982
|
+
},
|
|
965
983
|
"h_d850ee188c7c": {
|
|
966
984
|
"key": "accountSettings.newPasswordLabel",
|
|
967
985
|
"source": "New password",
|
|
@@ -2815,6 +2833,26 @@
|
|
|
2815
2833
|
"translation": "Запити на розгляді",
|
|
2816
2834
|
"origin": "one-app:wix-one-groups:GROUPS_MEMBERS_DESCRIPTION_PENDING"
|
|
2817
2835
|
},
|
|
2836
|
+
"h_23a1732e27a5": {
|
|
2837
|
+
"source": "Waitlist",
|
|
2838
|
+
"translation": "Список очікування",
|
|
2839
|
+
"origin": "machine"
|
|
2840
|
+
},
|
|
2841
|
+
"h_ff59b80fe424": {
|
|
2842
|
+
"source": "Declined",
|
|
2843
|
+
"translation": "Відхилено",
|
|
2844
|
+
"origin": "one-app:wix-one-app-marketing:Marketing_Home_CampaignsStats_EmailMarketing_Status_Declined"
|
|
2845
|
+
},
|
|
2846
|
+
"h_5d1fcddd3adc": {
|
|
2847
|
+
"source": "{n} hr",
|
|
2848
|
+
"translation": "{n} год",
|
|
2849
|
+
"origin": "machine"
|
|
2850
|
+
},
|
|
2851
|
+
"h_37e737d92cbb": {
|
|
2852
|
+
"source": "{n} min",
|
|
2853
|
+
"translation": "{n} хв",
|
|
2854
|
+
"origin": "machine"
|
|
2855
|
+
},
|
|
2818
2856
|
"h_dc9d4584a554": {
|
|
2819
2857
|
"source": "Paid",
|
|
2820
2858
|
"translation": "Оплачено",
|
|
@@ -68,6 +68,12 @@
|
|
|
68
68
|
"translation": "Chọn ngôn ngữ dùng trong ứng dụng này.",
|
|
69
69
|
"origin": "machine"
|
|
70
70
|
},
|
|
71
|
+
"h_b9e09ae263fb": {
|
|
72
|
+
"key": "businessChat.unconfirmed",
|
|
73
|
+
"source": "Not confirmed",
|
|
74
|
+
"translation": "Chưa xác nhận",
|
|
75
|
+
"origin": "machine"
|
|
76
|
+
},
|
|
71
77
|
"h_33ce417454bf": {
|
|
72
78
|
"key": "common.detailLoadingText",
|
|
73
79
|
"source": "Loading…",
|
|
@@ -140,6 +146,12 @@
|
|
|
140
146
|
"translation": "Thông tin đăng nhập",
|
|
141
147
|
"origin": "one-app:wix-owners-app-platform:user-profile.account-settings-screen.login-info.title"
|
|
142
148
|
},
|
|
149
|
+
"h_13e7a657eca6": {
|
|
150
|
+
"key": "agenda.bookedLabel",
|
|
151
|
+
"source": "Booked",
|
|
152
|
+
"translation": "Đã đặt",
|
|
153
|
+
"origin": "machine"
|
|
154
|
+
},
|
|
143
155
|
"h_153d7a58b3a3": {
|
|
144
156
|
"key": "forum.commentCta",
|
|
145
157
|
"source": "Comment",
|
|
@@ -962,6 +974,12 @@
|
|
|
962
974
|
"translation": "Lịch sử đơn hàng của bạn sẽ xuất hiện ở đây sau khi bạn đăng nhập.",
|
|
963
975
|
"origin": "machine"
|
|
964
976
|
},
|
|
977
|
+
"h_d82b56cad900": {
|
|
978
|
+
"key": "agenda.courseTag",
|
|
979
|
+
"source": "Course",
|
|
980
|
+
"translation": "Khóa học",
|
|
981
|
+
"origin": "machine"
|
|
982
|
+
},
|
|
965
983
|
"h_d850ee188c7c": {
|
|
966
984
|
"key": "accountSettings.newPasswordLabel",
|
|
967
985
|
"source": "New password",
|
|
@@ -2815,6 +2833,26 @@
|
|
|
2815
2833
|
"translation": "Chờ chấp thuận",
|
|
2816
2834
|
"origin": "one-app:wix-one-groups:GROUPS_MEMBERS_DESCRIPTION_PENDING"
|
|
2817
2835
|
},
|
|
2836
|
+
"h_23a1732e27a5": {
|
|
2837
|
+
"source": "Waitlist",
|
|
2838
|
+
"translation": "Danh sách chờ",
|
|
2839
|
+
"origin": "machine"
|
|
2840
|
+
},
|
|
2841
|
+
"h_ff59b80fe424": {
|
|
2842
|
+
"source": "Declined",
|
|
2843
|
+
"translation": "Đã từ chối",
|
|
2844
|
+
"origin": "one-app:wix-one-app-marketing:Marketing_Home_CampaignsStats_EmailMarketing_Status_Declined"
|
|
2845
|
+
},
|
|
2846
|
+
"h_5d1fcddd3adc": {
|
|
2847
|
+
"source": "{n} hr",
|
|
2848
|
+
"translation": "{n} giờ",
|
|
2849
|
+
"origin": "machine"
|
|
2850
|
+
},
|
|
2851
|
+
"h_37e737d92cbb": {
|
|
2852
|
+
"source": "{n} min",
|
|
2853
|
+
"translation": "{n} phút",
|
|
2854
|
+
"origin": "machine"
|
|
2855
|
+
},
|
|
2818
2856
|
"h_dc9d4584a554": {
|
|
2819
2857
|
"source": "Paid",
|
|
2820
2858
|
"translation": "Đã thanh toán",
|
|
@@ -68,6 +68,12 @@
|
|
|
68
68
|
"translation": "選擇此應用程式使用的語言。",
|
|
69
69
|
"origin": "machine"
|
|
70
70
|
},
|
|
71
|
+
"h_b9e09ae263fb": {
|
|
72
|
+
"key": "businessChat.unconfirmed",
|
|
73
|
+
"source": "Not confirmed",
|
|
74
|
+
"translation": "未確認",
|
|
75
|
+
"origin": "machine"
|
|
76
|
+
},
|
|
71
77
|
"h_33ce417454bf": {
|
|
72
78
|
"key": "common.detailLoadingText",
|
|
73
79
|
"source": "Loading…",
|
|
@@ -140,6 +146,12 @@
|
|
|
140
146
|
"translation": "登入資料",
|
|
141
147
|
"origin": "one-app:wix-owners-app-platform:user-profile.account-settings-screen.login-info.title"
|
|
142
148
|
},
|
|
149
|
+
"h_13e7a657eca6": {
|
|
150
|
+
"key": "agenda.bookedLabel",
|
|
151
|
+
"source": "Booked",
|
|
152
|
+
"translation": "已預訂",
|
|
153
|
+
"origin": "machine"
|
|
154
|
+
},
|
|
143
155
|
"h_153d7a58b3a3": {
|
|
144
156
|
"key": "forum.commentCta",
|
|
145
157
|
"source": "Comment",
|
|
@@ -962,6 +974,12 @@
|
|
|
962
974
|
"translation": "登入後,您的訂單記錄會顯示在這裡。",
|
|
963
975
|
"origin": "machine"
|
|
964
976
|
},
|
|
977
|
+
"h_d82b56cad900": {
|
|
978
|
+
"key": "agenda.courseTag",
|
|
979
|
+
"source": "Course",
|
|
980
|
+
"translation": "課程",
|
|
981
|
+
"origin": "machine"
|
|
982
|
+
},
|
|
965
983
|
"h_d850ee188c7c": {
|
|
966
984
|
"key": "accountSettings.newPasswordLabel",
|
|
967
985
|
"source": "New password",
|
|
@@ -2815,6 +2833,26 @@
|
|
|
2815
2833
|
"translation": "待核准",
|
|
2816
2834
|
"origin": "one-app:wix-one-groups:GROUPS_MEMBERS_DESCRIPTION_PENDING"
|
|
2817
2835
|
},
|
|
2836
|
+
"h_23a1732e27a5": {
|
|
2837
|
+
"source": "Waitlist",
|
|
2838
|
+
"translation": "候補名單",
|
|
2839
|
+
"origin": "machine"
|
|
2840
|
+
},
|
|
2841
|
+
"h_ff59b80fe424": {
|
|
2842
|
+
"source": "Declined",
|
|
2843
|
+
"translation": "已拒絕",
|
|
2844
|
+
"origin": "one-app:wix-one-app-marketing:Marketing_Home_CampaignsStats_EmailMarketing_Status_Declined"
|
|
2845
|
+
},
|
|
2846
|
+
"h_5d1fcddd3adc": {
|
|
2847
|
+
"source": "{n} hr",
|
|
2848
|
+
"translation": "{n} 小時",
|
|
2849
|
+
"origin": "machine"
|
|
2850
|
+
},
|
|
2851
|
+
"h_37e737d92cbb": {
|
|
2852
|
+
"source": "{n} min",
|
|
2853
|
+
"translation": "{n} 分鐘",
|
|
2854
|
+
"origin": "machine"
|
|
2855
|
+
},
|
|
2818
2856
|
"h_dc9d4584a554": {
|
|
2819
2857
|
"source": "Paid",
|
|
2820
2858
|
"translation": "已付款",
|
|
@@ -2,7 +2,7 @@ import { queryBookings, type WixBooking } from "@himalaya/wix-bookings";
|
|
|
2
2
|
import { memberAccess, assertMemberAccess, type MemberAccess } from "./member-access.js";
|
|
3
3
|
import { offsetPage } from "./offset-page.js";
|
|
4
4
|
import type { CollectionQuery } from "./collection-query.js";
|
|
5
|
-
import { copyParam } from "./himi-copy.js";
|
|
5
|
+
import { copyParam, copyTemplate } from "./himi-copy.js";
|
|
6
6
|
import { formatWeekdayDateTime } from "./engine-intl.js";
|
|
7
7
|
import { dayKey } from "@himalaya/time";
|
|
8
8
|
|
|
@@ -81,6 +81,53 @@ export function memberBookingRow(booking: WixBooking): MemberBookingRow {
|
|
|
81
81
|
courseStart: instant(schedule?.firstSessionStart),
|
|
82
82
|
courseEnd: instant(schedule?.lastSessionEnd) };
|
|
83
83
|
}
|
|
84
|
+
// ---- Labels and eligible actions -------------------------------------------------
|
|
85
|
+
// One answer for My Bookings (its rows and booking sheet) and a page's upcoming-bookings section, so a
|
|
86
|
+
// booking that is not plainly confirmed carries the same status label and length on both, and the
|
|
87
|
+
// section offers More actions only where the sheet has an action. (A confirmed booking is "Booked" on
|
|
88
|
+
// the section, as the source's card says; My Bookings shows no tag for it, or "Course" for a course.)
|
|
89
|
+
|
|
90
|
+
/** A booking that is not a plain confirmed one, as a short label: "Pending approval", "Waitlist",
|
|
91
|
+
* "Canceled", "Declined" or "Not confirmed". "" for a confirmed booking (and any other status). */
|
|
92
|
+
export function bookingStatusLabel(row: Pick<MemberBookingRow, "statusKey">): string {
|
|
93
|
+
switch (row.statusKey) {
|
|
94
|
+
// Wix answers PENDING_APPROVAL; PENDING is kept for older records.
|
|
95
|
+
case "PENDING": case "PENDING_APPROVAL": return copyParam("bookings.statusPending", "Pending approval");
|
|
96
|
+
case "WAITING_LIST": return copyParam("bookings.statusWaitlist", "Waitlist");
|
|
97
|
+
case "CANCELED": case "CANCELLED": return copyParam("bookings.statusCancelled", "Canceled");
|
|
98
|
+
case "DECLINED": return copyParam("bookings.statusDeclined", "Declined");
|
|
99
|
+
}
|
|
100
|
+
return UNCONFIRMED_STATUSES.includes(row.statusKey) ? copyParam("bookings.statusUnconfirmed", "Not confirmed") : "";
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
/** "40 min", "1 hr", "1 hr 15 min". */
|
|
104
|
+
export function bookingDurationText(minutes: number): string {
|
|
105
|
+
const h = Math.floor(minutes / 60), m = minutes % 60;
|
|
106
|
+
const hours = h ? copyTemplate("bookings.durationHours", "{n} hr", { n: h }) : "";
|
|
107
|
+
const mins = m ? copyTemplate("bookings.durationMinutes", "{n} min", { n: m }) : "";
|
|
108
|
+
return [hours, mins].filter(Boolean).join(" ");
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
/** A session's length in whole minutes; 0 for a course (it books a schedule), or when the record has no
|
|
112
|
+
* usable end after its start. */
|
|
113
|
+
export function bookingMinutes(row: Pick<MemberBookingRow, "isCourse" | "start" | "end">): number {
|
|
114
|
+
if (row.isCourse || !row.start || !row.end) return 0;
|
|
115
|
+
const start = Date.parse(row.start), end = Date.parse(row.end);
|
|
116
|
+
return Number.isFinite(start) && Number.isFinite(end) && end > start ? Math.round((end - start) / 60000) : 0;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
/** Add to calendar: a session (not a course) that is still to come and not canceled. */
|
|
120
|
+
export const canAddBookingToCalendar = (row: MemberBookingRow, now = Date.now()) =>
|
|
121
|
+
!row.isCourse && !!row.start && Date.parse(row.start) > now && !CANCELLED_STATUSES.includes(row.statusKey);
|
|
122
|
+
/** Directions: a place with an address that is not the client's own. */
|
|
123
|
+
export const hasBookingDirections = (row: MemberBookingRow) => !!row.placeAddress && row.placeType !== "CUSTOMER";
|
|
124
|
+
/** Cancel: Wix lets the member cancel it, and it has not started yet. */
|
|
125
|
+
export const canCancelBooking = (row: MemberBookingRow, now = Date.now()) => row.canCancel && Date.parse(row.start) > now;
|
|
126
|
+
/** The booking sheet on My Bookings offers at least one action for this booking: add to calendar,
|
|
127
|
+
* directions, Book Again or Cancel. */
|
|
128
|
+
export const hasBookingActions = (row: MemberBookingRow, now = Date.now()) =>
|
|
129
|
+
canAddBookingToCalendar(row, now) || hasBookingDirections(row) || !!row.serviceId || canCancelBooking(row, now);
|
|
130
|
+
|
|
84
131
|
export async function fetchMemberBookings(criteria: CollectionQuery, cursor: string, now: string, expected?: MemberAccess, options: FetchMemberBookingsOptions = {}) {
|
|
85
132
|
const member = expected ?? await memberAccess();
|
|
86
133
|
const metadata = { email: member.email, scope: member.scope, needsSignIn: !member.email };
|