@wix/himalaya-cli 0.1949.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/sdk/network/src/index.d.ts +22 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/sdk/sdk-types/src/capabilities.generated.d.ts +1 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/message-format.d.ts +1 -1
- 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/audio-record.mjs +1 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/calendar.mjs +1 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/calls.mjs +1 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/contacts.mjs +1 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +38 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/l10n.mjs +1 -8
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/location.mjs +1 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/motion.mjs +1 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/network.mjs +19 -3
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/photos.mjs +1 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/screens.mjs +1 -8
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/sdk-types.mjs +1 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/sdui.mjs +9 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/tasks.mjs +1 -1
- package/dist/browser-plane/assets.json +5 -5
- package/dist/browser-plane/preview-deferred/{a8cfd0e17359578587e8937e88dedd40b46d533f08b4d2fdac4c47d5bae6f385.bin → 15c152934a97a0d3de15946239a0037a38603f1972d2288b59945bd28a0fd237.bin} +1 -1
- package/dist/browser-plane/sw.js +7 -7
- package/dist/cli.mjs +206 -123
- 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/guides/release-notes.md +11 -0
- package/guides/sdk-reference.json +28 -0
- package/guides/web-page-sdk-reference.md +1 -1
- 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
|
@@ -7,7 +7,7 @@ import { navigate } from "@himalaya/state";
|
|
|
7
7
|
import { copyParam, copyTemplate } from "../_shared/himi-copy.js";
|
|
8
8
|
import { readResultSnackbar, resultSnackbarOn, showResultSnackbar } from "../_shared/result-snackbar.js";
|
|
9
9
|
import { memberAccess, assertMemberAccess, memberAccessChanged, memberAccessDenied, type MemberAccess } from "../_shared/member-access.js";
|
|
10
|
-
import { fetchMemberBookings,
|
|
10
|
+
import { fetchMemberBookings, UNCONFIRMED_STATUSES, bookingDurationText, bookingMinutes, bookingStatusLabel, canAddBookingToCalendar, canCancelBooking, hasBookingDirections, type MemberBookingRow } from "../_shared/member-bookings.js";
|
|
11
11
|
import { emitHostEvent } from "../_shared/host-events.js";
|
|
12
12
|
import { formatClock, formatClockRange, formatDateMedium, formatMonthDay, formatWeekdayMonthDay, formatWeekdayMonthDayLong } from "../_shared/engine-intl.js";
|
|
13
13
|
import { parseWeeklyGoal, resolveFirstWeekday, weeklyGoalProgress, weeklySessionsFromPages } from "../_shared/weekly-goal.js";
|
|
@@ -126,19 +126,10 @@ function loadPhotos(rows: MemberBookingRow[]): void {
|
|
|
126
126
|
|
|
127
127
|
// ---- Projection -------------------------------------------------------------------
|
|
128
128
|
|
|
129
|
-
const cancelledStatus = (row: MemberBookingRow) => CANCELLED_STATUSES.includes(row.statusKey);
|
|
130
129
|
const date = (iso: string) => new Date(iso);
|
|
131
130
|
|
|
132
131
|
function tagOf(row: MemberBookingRow): string {
|
|
133
|
-
|
|
134
|
-
// Wix answers PENDING_APPROVAL; PENDING is kept for older records.
|
|
135
|
-
case "PENDING": case "PENDING_APPROVAL": return copyParam("bookings.statusPending", "Pending approval");
|
|
136
|
-
case "WAITING_LIST": return copyParam("bookings.statusWaitlist", "Waitlist");
|
|
137
|
-
case "CANCELED": case "CANCELLED": return copyParam("bookings.statusCancelled", "Canceled");
|
|
138
|
-
case "DECLINED": return copyParam("bookings.statusDeclined", "Declined");
|
|
139
|
-
}
|
|
140
|
-
if (UNCONFIRMED_STATUSES.includes(row.statusKey)) return copyParam("bookings.statusUnconfirmed", "Not confirmed");
|
|
141
|
-
return row.isCourse ? copyParam("bookings.coursePrefix", "Course") : "";
|
|
132
|
+
return bookingStatusLabel(row) || (row.isCourse ? copyParam("bookings.coursePrefix", "Course") : "");
|
|
142
133
|
}
|
|
143
134
|
|
|
144
135
|
function placeOf(row: MemberBookingRow): string {
|
|
@@ -165,20 +156,11 @@ function timeRange(start: Date, end: Date): string {
|
|
|
165
156
|
return formatClockRange(start, end);
|
|
166
157
|
}
|
|
167
158
|
|
|
168
|
-
function durationText(minutes: number): string {
|
|
169
|
-
const h = Math.floor(minutes / 60), m = minutes % 60;
|
|
170
|
-
const hours = h ? copyTemplate("bookings.durationHours", "{n} hr", { n: h }) : "";
|
|
171
|
-
const mins = m ? copyTemplate("bookings.durationMinutes", "{n} min", { n: m }) : "";
|
|
172
|
-
return [hours, mins].filter(Boolean).join(" ");
|
|
173
|
-
}
|
|
174
|
-
|
|
175
159
|
/** The sheet's second date line: "10:00 – 11:15 AM · 1 hr 15 min". */
|
|
176
160
|
function timeLine(row: MemberBookingRow): string {
|
|
177
161
|
if (row.isCourse || !row.start) return "";
|
|
178
|
-
const start = date(row.start),
|
|
179
|
-
|
|
180
|
-
const minutes = Math.round((end.getTime() - start.getTime()) / 60000);
|
|
181
|
-
return `${timeRange(start, end)} · ${durationText(minutes)}`;
|
|
162
|
+
const start = date(row.start), minutes = bookingMinutes(row);
|
|
163
|
+
return minutes ? `${timeRange(start, date(row.end))} · ${bookingDurationText(minutes)}` : formatClock(start);
|
|
182
164
|
}
|
|
183
165
|
|
|
184
166
|
function dateLine(row: MemberBookingRow): string {
|
|
@@ -234,8 +216,6 @@ interface S {
|
|
|
234
216
|
}
|
|
235
217
|
|
|
236
218
|
const openRow = (s: Pick<S, "rows">): MemberBookingRow | undefined => openId ? s.rows.find(row => row.id === openId) : undefined;
|
|
237
|
-
const canAddToCalendar = (row: MemberBookingRow) => !row.isCourse && !!row.start && Date.parse(row.start) > Date.now() && !cancelledStatus(row);
|
|
238
|
-
const hasDirections = (row: MemberBookingRow) => !!row.placeAddress && row.placeType !== "CUSTOMER";
|
|
239
219
|
|
|
240
220
|
function derive(s: S): S {
|
|
241
221
|
const loading = s.status === "loading", errored = s.status === "error";
|
|
@@ -252,7 +232,7 @@ function derive(s: S): S {
|
|
|
252
232
|
const weekly = weeklyGoal > 0 && memberShown && weeklyDone !== null ? weeklyGoalProgress(weeklyDone, weeklyGoal) : null;
|
|
253
233
|
const participants = row && row.participants > 1 ? copyTemplate("bookings.participants", "{count} participants", { count: row.participants }) : "";
|
|
254
234
|
const payment = row ? paymentOf(row) : "", notice = row ? noticeOf(row) : "";
|
|
255
|
-
const canCancel = !!row &&
|
|
235
|
+
const canCancel = !!row && canCancelBooking(row);
|
|
256
236
|
return { ...s, tab, bookingRows: s.rows.map(listRow),
|
|
257
237
|
isLoading: loading, notLoading: !(loading && !rowsShown), errored, notErrored: !(errored && !lastErrorDenied && !rowsShown), noEmpty: true,
|
|
258
238
|
hideTabs: !memberShown, noRows: !rowsShown, hideSignIn: !showSignIn,
|
|
@@ -262,13 +242,13 @@ function derive(s: S): S {
|
|
|
262
242
|
sheetTitle: row?.title ?? "", sheetImage: listed?.image ?? "", sheetHasImage: !!listed?.hasImage, sheetNoImage: !listed?.hasImage,
|
|
263
243
|
sheetTag: listed?.tag ?? "", sheetNoTag: !listed?.tag,
|
|
264
244
|
sheetDate: row ? dateLine(row) : "", sheetTime: row ? timeLine(row) : "",
|
|
265
|
-
sheetCanAddToCalendar: !!row &&
|
|
245
|
+
sheetCanAddToCalendar: !!row && canAddBookingToCalendar(row), sheetCannotAddToCalendar: !row || !canAddBookingToCalendar(row),
|
|
266
246
|
sheetStaff: row ? staffLine(row) : "", sheetNoStaff: !row?.staff,
|
|
267
247
|
sheetPlace: place, sheetNoPlace: !place,
|
|
268
248
|
// The address under the name only when the row shows a name of its own (never the client's place).
|
|
269
249
|
sheetAddress: row && row.placeType !== "CUSTOMER" && row.placeName !== row.placeAddress ? row.placeAddress : "",
|
|
270
|
-
sheetHasDirections: !!row &&
|
|
271
|
-
sheetHidePlainPlace: !place || (!!row &&
|
|
250
|
+
sheetHasDirections: !!row && hasBookingDirections(row), sheetNoDirections: !row || !hasBookingDirections(row),
|
|
251
|
+
sheetHidePlainPlace: !place || (!!row && hasBookingDirections(row)),
|
|
272
252
|
sheetDirectionsLabel: place ? copyTemplate("bookings.directionsLabel", "Get directions to {place}", { place }) : "",
|
|
273
253
|
sheetParticipants: participants, sheetNoParticipants: !participants,
|
|
274
254
|
sheetPayment: payment, sheetNoPayment: !payment, sheetNotice: notice, sheetNoNotice: !notice,
|
|
@@ -425,7 +405,7 @@ const svc = defineBackendCollection<S, MemberBookingRow>("himiBookingBookings",
|
|
|
425
405
|
},
|
|
426
406
|
async addToCalendar(s): Promise<S> {
|
|
427
407
|
const row = openRow(s);
|
|
428
|
-
if (!row || !
|
|
408
|
+
if (!row || !canAddBookingToCalendar(row)) return s;
|
|
429
409
|
const start = Date.parse(row.start);
|
|
430
410
|
const endAt = Date.parse(row.end);
|
|
431
411
|
const end = Number.isFinite(endAt) && endAt > start ? endAt : start + 60 * 60 * 1000;
|
|
@@ -448,7 +428,7 @@ const svc = defineBackendCollection<S, MemberBookingRow>("himiBookingBookings",
|
|
|
448
428
|
},
|
|
449
429
|
async openDirections(s): Promise<S> {
|
|
450
430
|
const row = openRow(s);
|
|
451
|
-
if (!row || !
|
|
431
|
+
if (!row || !hasBookingDirections(row)) return s;
|
|
452
432
|
try {
|
|
453
433
|
if ((await open(directionsUrl(row.placeAddress), "in_app_browser")).opened) return s;
|
|
454
434
|
} catch { /* the result sheet says so below */ }
|
|
@@ -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 };
|
|
@@ -7,7 +7,7 @@ import { navigate } from "@himalaya/state";
|
|
|
7
7
|
import { copyParam, copyTemplate } from "../_shared/himi-copy.js";
|
|
8
8
|
import { readResultSnackbar, resultSnackbarOn, showResultSnackbar } from "../_shared/result-snackbar.js";
|
|
9
9
|
import { memberAccess, assertMemberAccess, memberAccessChanged, memberAccessDenied, type MemberAccess } from "../_shared/member-access.js";
|
|
10
|
-
import { fetchMemberBookings,
|
|
10
|
+
import { fetchMemberBookings, UNCONFIRMED_STATUSES, bookingDurationText, bookingMinutes, bookingStatusLabel, canAddBookingToCalendar, canCancelBooking, hasBookingDirections, type MemberBookingRow } from "../_shared/member-bookings.js";
|
|
11
11
|
import { emitHostEvent } from "../_shared/host-events.js";
|
|
12
12
|
import { formatClock, formatClockRange, formatDateMedium, formatMonthDay, formatWeekdayMonthDay, formatWeekdayMonthDayLong } from "../_shared/engine-intl.js";
|
|
13
13
|
import { parseWeeklyGoal, resolveFirstWeekday, weeklyGoalProgress, weeklySessionsFromPages } from "../_shared/weekly-goal.js";
|
|
@@ -126,19 +126,10 @@ function loadPhotos(rows: MemberBookingRow[]): void {
|
|
|
126
126
|
|
|
127
127
|
// ---- Projection -------------------------------------------------------------------
|
|
128
128
|
|
|
129
|
-
const cancelledStatus = (row: MemberBookingRow) => CANCELLED_STATUSES.includes(row.statusKey);
|
|
130
129
|
const date = (iso: string) => new Date(iso);
|
|
131
130
|
|
|
132
131
|
function tagOf(row: MemberBookingRow): string {
|
|
133
|
-
|
|
134
|
-
// Wix answers PENDING_APPROVAL; PENDING is kept for older records.
|
|
135
|
-
case "PENDING": case "PENDING_APPROVAL": return copyParam("bookings.statusPending", "Pending approval");
|
|
136
|
-
case "WAITING_LIST": return copyParam("bookings.statusWaitlist", "Waitlist");
|
|
137
|
-
case "CANCELED": case "CANCELLED": return copyParam("bookings.statusCancelled", "Canceled");
|
|
138
|
-
case "DECLINED": return copyParam("bookings.statusDeclined", "Declined");
|
|
139
|
-
}
|
|
140
|
-
if (UNCONFIRMED_STATUSES.includes(row.statusKey)) return copyParam("bookings.statusUnconfirmed", "Not confirmed");
|
|
141
|
-
return row.isCourse ? copyParam("bookings.coursePrefix", "Course") : "";
|
|
132
|
+
return bookingStatusLabel(row) || (row.isCourse ? copyParam("bookings.coursePrefix", "Course") : "");
|
|
142
133
|
}
|
|
143
134
|
|
|
144
135
|
function placeOf(row: MemberBookingRow): string {
|
|
@@ -165,20 +156,11 @@ function timeRange(start: Date, end: Date): string {
|
|
|
165
156
|
return formatClockRange(start, end);
|
|
166
157
|
}
|
|
167
158
|
|
|
168
|
-
function durationText(minutes: number): string {
|
|
169
|
-
const h = Math.floor(minutes / 60), m = minutes % 60;
|
|
170
|
-
const hours = h ? copyTemplate("bookings.durationHours", "{n} hr", { n: h }) : "";
|
|
171
|
-
const mins = m ? copyTemplate("bookings.durationMinutes", "{n} min", { n: m }) : "";
|
|
172
|
-
return [hours, mins].filter(Boolean).join(" ");
|
|
173
|
-
}
|
|
174
|
-
|
|
175
159
|
/** The sheet's second date line: "10:00 – 11:15 AM · 1 hr 15 min". */
|
|
176
160
|
function timeLine(row: MemberBookingRow): string {
|
|
177
161
|
if (row.isCourse || !row.start) return "";
|
|
178
|
-
const start = date(row.start),
|
|
179
|
-
|
|
180
|
-
const minutes = Math.round((end.getTime() - start.getTime()) / 60000);
|
|
181
|
-
return `${timeRange(start, end)} · ${durationText(minutes)}`;
|
|
162
|
+
const start = date(row.start), minutes = bookingMinutes(row);
|
|
163
|
+
return minutes ? `${timeRange(start, date(row.end))} · ${bookingDurationText(minutes)}` : formatClock(start);
|
|
182
164
|
}
|
|
183
165
|
|
|
184
166
|
function dateLine(row: MemberBookingRow): string {
|
|
@@ -234,8 +216,6 @@ interface S {
|
|
|
234
216
|
}
|
|
235
217
|
|
|
236
218
|
const openRow = (s: Pick<S, "rows">): MemberBookingRow | undefined => openId ? s.rows.find(row => row.id === openId) : undefined;
|
|
237
|
-
const canAddToCalendar = (row: MemberBookingRow) => !row.isCourse && !!row.start && Date.parse(row.start) > Date.now() && !cancelledStatus(row);
|
|
238
|
-
const hasDirections = (row: MemberBookingRow) => !!row.placeAddress && row.placeType !== "CUSTOMER";
|
|
239
219
|
|
|
240
220
|
function derive(s: S): S {
|
|
241
221
|
const loading = s.status === "loading", errored = s.status === "error";
|
|
@@ -252,7 +232,7 @@ function derive(s: S): S {
|
|
|
252
232
|
const weekly = weeklyGoal > 0 && memberShown && weeklyDone !== null ? weeklyGoalProgress(weeklyDone, weeklyGoal) : null;
|
|
253
233
|
const participants = row && row.participants > 1 ? copyTemplate("bookings.participants", "{count} participants", { count: row.participants }) : "";
|
|
254
234
|
const payment = row ? paymentOf(row) : "", notice = row ? noticeOf(row) : "";
|
|
255
|
-
const canCancel = !!row &&
|
|
235
|
+
const canCancel = !!row && canCancelBooking(row);
|
|
256
236
|
return { ...s, tab, bookingRows: s.rows.map(listRow),
|
|
257
237
|
isLoading: loading, notLoading: !(loading && !rowsShown), errored, notErrored: !(errored && !lastErrorDenied && !rowsShown), noEmpty: true,
|
|
258
238
|
hideTabs: !memberShown, noRows: !rowsShown, hideSignIn: !showSignIn,
|
|
@@ -262,13 +242,13 @@ function derive(s: S): S {
|
|
|
262
242
|
sheetTitle: row?.title ?? "", sheetImage: listed?.image ?? "", sheetHasImage: !!listed?.hasImage, sheetNoImage: !listed?.hasImage,
|
|
263
243
|
sheetTag: listed?.tag ?? "", sheetNoTag: !listed?.tag,
|
|
264
244
|
sheetDate: row ? dateLine(row) : "", sheetTime: row ? timeLine(row) : "",
|
|
265
|
-
sheetCanAddToCalendar: !!row &&
|
|
245
|
+
sheetCanAddToCalendar: !!row && canAddBookingToCalendar(row), sheetCannotAddToCalendar: !row || !canAddBookingToCalendar(row),
|
|
266
246
|
sheetStaff: row ? staffLine(row) : "", sheetNoStaff: !row?.staff,
|
|
267
247
|
sheetPlace: place, sheetNoPlace: !place,
|
|
268
248
|
// The address under the name only when the row shows a name of its own (never the client's place).
|
|
269
249
|
sheetAddress: row && row.placeType !== "CUSTOMER" && row.placeName !== row.placeAddress ? row.placeAddress : "",
|
|
270
|
-
sheetHasDirections: !!row &&
|
|
271
|
-
sheetHidePlainPlace: !place || (!!row &&
|
|
250
|
+
sheetHasDirections: !!row && hasBookingDirections(row), sheetNoDirections: !row || !hasBookingDirections(row),
|
|
251
|
+
sheetHidePlainPlace: !place || (!!row && hasBookingDirections(row)),
|
|
272
252
|
sheetDirectionsLabel: place ? copyTemplate("bookings.directionsLabel", "Get directions to {place}", { place }) : "",
|
|
273
253
|
sheetParticipants: participants, sheetNoParticipants: !participants,
|
|
274
254
|
sheetPayment: payment, sheetNoPayment: !payment, sheetNotice: notice, sheetNoNotice: !notice,
|
|
@@ -425,7 +405,7 @@ const svc = defineBackendCollection<S, MemberBookingRow>("himiBookingBookings",
|
|
|
425
405
|
},
|
|
426
406
|
async addToCalendar(s): Promise<S> {
|
|
427
407
|
const row = openRow(s);
|
|
428
|
-
if (!row || !
|
|
408
|
+
if (!row || !canAddBookingToCalendar(row)) return s;
|
|
429
409
|
const start = Date.parse(row.start);
|
|
430
410
|
const endAt = Date.parse(row.end);
|
|
431
411
|
const end = Number.isFinite(endAt) && endAt > start ? endAt : start + 60 * 60 * 1000;
|
|
@@ -448,7 +428,7 @@ const svc = defineBackendCollection<S, MemberBookingRow>("himiBookingBookings",
|
|
|
448
428
|
},
|
|
449
429
|
async openDirections(s): Promise<S> {
|
|
450
430
|
const row = openRow(s);
|
|
451
|
-
if (!row || !
|
|
431
|
+
if (!row || !hasBookingDirections(row)) return s;
|
|
452
432
|
try {
|
|
453
433
|
if ((await open(directionsUrl(row.placeAddress), "in_app_browser")).opened) return s;
|
|
454
434
|
} catch { /* the result sheet says so below */ }
|
|
@@ -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…",
|
|
@@ -158,6 +164,12 @@
|
|
|
158
164
|
"translation": "معلومات تسجيل الدخول",
|
|
159
165
|
"origin": "one-app:wix-owners-app-platform:user-profile.account-settings-screen.login-info.title"
|
|
160
166
|
},
|
|
167
|
+
"h_13e7a657eca6": {
|
|
168
|
+
"key": "agenda.bookedLabel",
|
|
169
|
+
"source": "Booked",
|
|
170
|
+
"translation": "تم الحجز",
|
|
171
|
+
"origin": "machine"
|
|
172
|
+
},
|
|
161
173
|
"h_153d7a58b3a3": {
|
|
162
174
|
"key": "forum.commentCta",
|
|
163
175
|
"source": "Comment",
|
|
@@ -854,6 +866,12 @@
|
|
|
854
866
|
"translation": "إنشاء حساب",
|
|
855
867
|
"origin": "machine"
|
|
856
868
|
},
|
|
869
|
+
"h_d82b56cad900": {
|
|
870
|
+
"key": "agenda.courseTag",
|
|
871
|
+
"source": "Course",
|
|
872
|
+
"translation": "الدورة",
|
|
873
|
+
"origin": "machine"
|
|
874
|
+
},
|
|
857
875
|
"h_d850ee188c7c": {
|
|
858
876
|
"key": "accountSettings.newPasswordLabel",
|
|
859
877
|
"source": "New password",
|
|
@@ -2825,6 +2843,26 @@
|
|
|
2825
2843
|
"translation": "قيد الموافقة",
|
|
2826
2844
|
"origin": "one-app:wix-one-groups:GROUPS_MEMBERS_DESCRIPTION_PENDING"
|
|
2827
2845
|
},
|
|
2846
|
+
"h_23a1732e27a5": {
|
|
2847
|
+
"source": "Waitlist",
|
|
2848
|
+
"translation": "قائمة الانتظار",
|
|
2849
|
+
"origin": "machine"
|
|
2850
|
+
},
|
|
2851
|
+
"h_ff59b80fe424": {
|
|
2852
|
+
"source": "Declined",
|
|
2853
|
+
"translation": "مرفوضة",
|
|
2854
|
+
"origin": "one-app:wix-one-app-marketing:Marketing_Home_CampaignsStats_EmailMarketing_Status_Declined"
|
|
2855
|
+
},
|
|
2856
|
+
"h_5d1fcddd3adc": {
|
|
2857
|
+
"source": "{n} hr",
|
|
2858
|
+
"translation": "{n} ساعة",
|
|
2859
|
+
"origin": "machine"
|
|
2860
|
+
},
|
|
2861
|
+
"h_37e737d92cbb": {
|
|
2862
|
+
"source": "{n} min",
|
|
2863
|
+
"translation": "{n} دقيقة",
|
|
2864
|
+
"origin": "machine"
|
|
2865
|
+
},
|
|
2828
2866
|
"h_dc9d4584a554": {
|
|
2829
2867
|
"source": "Paid",
|
|
2830
2868
|
"translation": "مدفوع",
|
|
@@ -68,6 +68,12 @@
|
|
|
68
68
|
"translation": "Vyberte jazyk, který se bude v aplikaci používat.",
|
|
69
69
|
"origin": "machine"
|
|
70
70
|
},
|
|
71
|
+
"h_b9e09ae263fb": {
|
|
72
|
+
"key": "businessChat.unconfirmed",
|
|
73
|
+
"source": "Not confirmed",
|
|
74
|
+
"translation": "Nepotvrzeno",
|
|
75
|
+
"origin": "machine"
|
|
76
|
+
},
|
|
71
77
|
"h_33ce417454bf": {
|
|
72
78
|
"key": "common.detailLoadingText",
|
|
73
79
|
"source": "Loading…",
|
|
@@ -158,6 +164,12 @@
|
|
|
158
164
|
"translation": "Přihlašovací údaje",
|
|
159
165
|
"origin": "one-app:wix-owners-app-platform:user-profile.account-settings-screen.login-info.title"
|
|
160
166
|
},
|
|
167
|
+
"h_13e7a657eca6": {
|
|
168
|
+
"key": "agenda.bookedLabel",
|
|
169
|
+
"source": "Booked",
|
|
170
|
+
"translation": "Rezervováno",
|
|
171
|
+
"origin": "machine"
|
|
172
|
+
},
|
|
161
173
|
"h_153d7a58b3a3": {
|
|
162
174
|
"key": "forum.commentCta",
|
|
163
175
|
"source": "Comment",
|
|
@@ -854,6 +866,12 @@
|
|
|
854
866
|
"translation": "Registrovat se",
|
|
855
867
|
"origin": "machine"
|
|
856
868
|
},
|
|
869
|
+
"h_d82b56cad900": {
|
|
870
|
+
"key": "agenda.courseTag",
|
|
871
|
+
"source": "Course",
|
|
872
|
+
"translation": "Kurz",
|
|
873
|
+
"origin": "machine"
|
|
874
|
+
},
|
|
857
875
|
"h_d850ee188c7c": {
|
|
858
876
|
"key": "accountSettings.newPasswordLabel",
|
|
859
877
|
"source": "New password",
|
|
@@ -2825,6 +2843,26 @@
|
|
|
2825
2843
|
"translation": "Čeká na schválení",
|
|
2826
2844
|
"origin": "one-app:wix-one-groups:GROUPS_MEMBERS_DESCRIPTION_PENDING"
|
|
2827
2845
|
},
|
|
2846
|
+
"h_23a1732e27a5": {
|
|
2847
|
+
"source": "Waitlist",
|
|
2848
|
+
"translation": "Čekací listina",
|
|
2849
|
+
"origin": "machine"
|
|
2850
|
+
},
|
|
2851
|
+
"h_ff59b80fe424": {
|
|
2852
|
+
"source": "Declined",
|
|
2853
|
+
"translation": "Zamítnuto",
|
|
2854
|
+
"origin": "one-app:wix-one-app-marketing:Marketing_Home_CampaignsStats_EmailMarketing_Status_Declined"
|
|
2855
|
+
},
|
|
2856
|
+
"h_5d1fcddd3adc": {
|
|
2857
|
+
"source": "{n} hr",
|
|
2858
|
+
"translation": "{n} h",
|
|
2859
|
+
"origin": "machine"
|
|
2860
|
+
},
|
|
2861
|
+
"h_37e737d92cbb": {
|
|
2862
|
+
"source": "{n} min",
|
|
2863
|
+
"translation": "{n} min",
|
|
2864
|
+
"origin": "machine"
|
|
2865
|
+
},
|
|
2828
2866
|
"h_dc9d4584a554": {
|
|
2829
2867
|
"source": "Paid",
|
|
2830
2868
|
"translation": "Zaplaceno",
|
|
@@ -68,6 +68,12 @@
|
|
|
68
68
|
"translation": "Vælg det sprog, der bruges i denne app.",
|
|
69
69
|
"origin": "machine"
|
|
70
70
|
},
|
|
71
|
+
"h_b9e09ae263fb": {
|
|
72
|
+
"key": "businessChat.unconfirmed",
|
|
73
|
+
"source": "Not confirmed",
|
|
74
|
+
"translation": "Ikke bekræftet",
|
|
75
|
+
"origin": "machine"
|
|
76
|
+
},
|
|
71
77
|
"h_33ce417454bf": {
|
|
72
78
|
"key": "common.detailLoadingText",
|
|
73
79
|
"source": "Loading…",
|
|
@@ -158,6 +164,12 @@
|
|
|
158
164
|
"translation": "Login-info",
|
|
159
165
|
"origin": "one-app:wix-owners-app-platform:user-profile.account-settings-screen.login-info.title"
|
|
160
166
|
},
|
|
167
|
+
"h_13e7a657eca6": {
|
|
168
|
+
"key": "agenda.bookedLabel",
|
|
169
|
+
"source": "Booked",
|
|
170
|
+
"translation": "Booket",
|
|
171
|
+
"origin": "machine"
|
|
172
|
+
},
|
|
161
173
|
"h_153d7a58b3a3": {
|
|
162
174
|
"key": "forum.commentCta",
|
|
163
175
|
"source": "Comment",
|
|
@@ -854,6 +866,12 @@
|
|
|
854
866
|
"translation": "Tilmeld dig",
|
|
855
867
|
"origin": "machine"
|
|
856
868
|
},
|
|
869
|
+
"h_d82b56cad900": {
|
|
870
|
+
"key": "agenda.courseTag",
|
|
871
|
+
"source": "Course",
|
|
872
|
+
"translation": "Kursus",
|
|
873
|
+
"origin": "machine"
|
|
874
|
+
},
|
|
857
875
|
"h_d850ee188c7c": {
|
|
858
876
|
"key": "accountSettings.newPasswordLabel",
|
|
859
877
|
"source": "New password",
|
|
@@ -2825,6 +2843,26 @@
|
|
|
2825
2843
|
"translation": "Venter på godkendelse",
|
|
2826
2844
|
"origin": "one-app:wix-one-groups:GROUPS_MEMBERS_DESCRIPTION_PENDING"
|
|
2827
2845
|
},
|
|
2846
|
+
"h_23a1732e27a5": {
|
|
2847
|
+
"source": "Waitlist",
|
|
2848
|
+
"translation": "Venteliste",
|
|
2849
|
+
"origin": "machine"
|
|
2850
|
+
},
|
|
2851
|
+
"h_ff59b80fe424": {
|
|
2852
|
+
"source": "Declined",
|
|
2853
|
+
"translation": "Afvist",
|
|
2854
|
+
"origin": "one-app:wix-one-app-marketing:Marketing_Home_CampaignsStats_EmailMarketing_Status_Declined"
|
|
2855
|
+
},
|
|
2856
|
+
"h_5d1fcddd3adc": {
|
|
2857
|
+
"source": "{n} hr",
|
|
2858
|
+
"translation": "{n} t.",
|
|
2859
|
+
"origin": "machine"
|
|
2860
|
+
},
|
|
2861
|
+
"h_37e737d92cbb": {
|
|
2862
|
+
"source": "{n} min",
|
|
2863
|
+
"translation": "{n} min.",
|
|
2864
|
+
"origin": "machine"
|
|
2865
|
+
},
|
|
2828
2866
|
"h_dc9d4584a554": {
|
|
2829
2867
|
"source": "Paid",
|
|
2830
2868
|
"translation": "Betalt",
|
|
@@ -68,6 +68,12 @@
|
|
|
68
68
|
"translation": "Wähle die Sprache für diese App.",
|
|
69
69
|
"origin": "machine"
|
|
70
70
|
},
|
|
71
|
+
"h_b9e09ae263fb": {
|
|
72
|
+
"key": "businessChat.unconfirmed",
|
|
73
|
+
"source": "Not confirmed",
|
|
74
|
+
"translation": "Nicht bestätigt",
|
|
75
|
+
"origin": "machine"
|
|
76
|
+
},
|
|
71
77
|
"h_33ce417454bf": {
|
|
72
78
|
"key": "common.detailLoadingText",
|
|
73
79
|
"source": "Loading…",
|
|
@@ -158,6 +164,12 @@
|
|
|
158
164
|
"translation": "Anmeldeinfo",
|
|
159
165
|
"origin": "one-app:wix-owners-app-platform:user-profile.account-settings-screen.login-info.title"
|
|
160
166
|
},
|
|
167
|
+
"h_13e7a657eca6": {
|
|
168
|
+
"key": "agenda.bookedLabel",
|
|
169
|
+
"source": "Booked",
|
|
170
|
+
"translation": "Gebucht",
|
|
171
|
+
"origin": "machine"
|
|
172
|
+
},
|
|
161
173
|
"h_153d7a58b3a3": {
|
|
162
174
|
"key": "forum.commentCta",
|
|
163
175
|
"source": "Comment",
|
|
@@ -854,6 +866,12 @@
|
|
|
854
866
|
"translation": "Registrieren",
|
|
855
867
|
"origin": "machine"
|
|
856
868
|
},
|
|
869
|
+
"h_d82b56cad900": {
|
|
870
|
+
"key": "agenda.courseTag",
|
|
871
|
+
"source": "Course",
|
|
872
|
+
"translation": "Kurs",
|
|
873
|
+
"origin": "machine"
|
|
874
|
+
},
|
|
857
875
|
"h_d850ee188c7c": {
|
|
858
876
|
"key": "accountSettings.newPasswordLabel",
|
|
859
877
|
"source": "New password",
|
|
@@ -2825,6 +2843,26 @@
|
|
|
2825
2843
|
"translation": "Bestätigung ausstehend",
|
|
2826
2844
|
"origin": "one-app:wix-one-groups:GROUPS_MEMBERS_DESCRIPTION_PENDING"
|
|
2827
2845
|
},
|
|
2846
|
+
"h_23a1732e27a5": {
|
|
2847
|
+
"source": "Waitlist",
|
|
2848
|
+
"translation": "Warteliste",
|
|
2849
|
+
"origin": "machine"
|
|
2850
|
+
},
|
|
2851
|
+
"h_ff59b80fe424": {
|
|
2852
|
+
"source": "Declined",
|
|
2853
|
+
"translation": "Abgelehnt",
|
|
2854
|
+
"origin": "one-app:wix-one-app-marketing:Marketing_Home_CampaignsStats_EmailMarketing_Status_Declined"
|
|
2855
|
+
},
|
|
2856
|
+
"h_5d1fcddd3adc": {
|
|
2857
|
+
"source": "{n} hr",
|
|
2858
|
+
"translation": "{n} Std.",
|
|
2859
|
+
"origin": "machine"
|
|
2860
|
+
},
|
|
2861
|
+
"h_37e737d92cbb": {
|
|
2862
|
+
"source": "{n} min",
|
|
2863
|
+
"translation": "{n} Min.",
|
|
2864
|
+
"origin": "machine"
|
|
2865
|
+
},
|
|
2828
2866
|
"h_dc9d4584a554": {
|
|
2829
2867
|
"source": "Paid",
|
|
2830
2868
|
"translation": "Bezahlt",
|
|
@@ -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…",
|
|
@@ -158,6 +164,12 @@
|
|
|
158
164
|
"translation": "Στοιχεία σύνδεσης",
|
|
159
165
|
"origin": "one-app:wix-owners-app-platform:user-profile.account-settings-screen.login-info.title"
|
|
160
166
|
},
|
|
167
|
+
"h_13e7a657eca6": {
|
|
168
|
+
"key": "agenda.bookedLabel",
|
|
169
|
+
"source": "Booked",
|
|
170
|
+
"translation": "Κλεισμένο",
|
|
171
|
+
"origin": "machine"
|
|
172
|
+
},
|
|
161
173
|
"h_153d7a58b3a3": {
|
|
162
174
|
"key": "forum.commentCta",
|
|
163
175
|
"source": "Comment",
|
|
@@ -854,6 +866,12 @@
|
|
|
854
866
|
"translation": "Εγγραφή",
|
|
855
867
|
"origin": "machine"
|
|
856
868
|
},
|
|
869
|
+
"h_d82b56cad900": {
|
|
870
|
+
"key": "agenda.courseTag",
|
|
871
|
+
"source": "Course",
|
|
872
|
+
"translation": "Σειρά μαθημάτων",
|
|
873
|
+
"origin": "machine"
|
|
874
|
+
},
|
|
857
875
|
"h_d850ee188c7c": {
|
|
858
876
|
"key": "accountSettings.newPasswordLabel",
|
|
859
877
|
"source": "New password",
|
|
@@ -2825,6 +2843,26 @@
|
|
|
2825
2843
|
"translation": "Έγκριση σε εκκρεμότητα",
|
|
2826
2844
|
"origin": "one-app:wix-one-groups:GROUPS_MEMBERS_DESCRIPTION_PENDING"
|
|
2827
2845
|
},
|
|
2846
|
+
"h_23a1732e27a5": {
|
|
2847
|
+
"source": "Waitlist",
|
|
2848
|
+
"translation": "Λίστα αναμονής",
|
|
2849
|
+
"origin": "machine"
|
|
2850
|
+
},
|
|
2851
|
+
"h_ff59b80fe424": {
|
|
2852
|
+
"source": "Declined",
|
|
2853
|
+
"translation": "Απορρίφθηκε",
|
|
2854
|
+
"origin": "one-app:wix-one-app-marketing:Marketing_Home_CampaignsStats_EmailMarketing_Status_Declined"
|
|
2855
|
+
},
|
|
2856
|
+
"h_5d1fcddd3adc": {
|
|
2857
|
+
"source": "{n} hr",
|
|
2858
|
+
"translation": "{n} ώρ.",
|
|
2859
|
+
"origin": "machine"
|
|
2860
|
+
},
|
|
2861
|
+
"h_37e737d92cbb": {
|
|
2862
|
+
"source": "{n} min",
|
|
2863
|
+
"translation": "{n} λ.",
|
|
2864
|
+
"origin": "machine"
|
|
2865
|
+
},
|
|
2828
2866
|
"h_dc9d4584a554": {
|
|
2829
2867
|
"source": "Paid",
|
|
2830
2868
|
"translation": "Πληρώθηκε",
|
|
@@ -160,6 +160,13 @@
|
|
|
160
160
|
"key": "accountSettings.loginInfo",
|
|
161
161
|
"keyOrigin": "string-table"
|
|
162
162
|
},
|
|
163
|
+
"h_13e7a657eca6": {
|
|
164
|
+
"source": "Booked",
|
|
165
|
+
"kind": "Text.text",
|
|
166
|
+
"translation": "",
|
|
167
|
+
"key": "agenda.bookedLabel",
|
|
168
|
+
"keyOrigin": "string-table"
|
|
169
|
+
},
|
|
163
170
|
"h_153d7a58b3a3": {
|
|
164
171
|
"source": "Comment",
|
|
165
172
|
"kind": "Button.title",
|
|
@@ -1305,6 +1312,12 @@
|
|
|
1305
1312
|
"key": "account.viewProfileLink",
|
|
1306
1313
|
"keyOrigin": "string-table"
|
|
1307
1314
|
},
|
|
1315
|
+
"h_b9e09ae263fb": {
|
|
1316
|
+
"source": "Not confirmed",
|
|
1317
|
+
"kind": "Worker.copy",
|
|
1318
|
+
"translation": "",
|
|
1319
|
+
"key": "businessChat.unconfirmed"
|
|
1320
|
+
},
|
|
1308
1321
|
"h_badd385121c5": {
|
|
1309
1322
|
"source": "View details",
|
|
1310
1323
|
"kind": "Button.title",
|
|
@@ -1543,6 +1556,13 @@
|
|
|
1543
1556
|
"key": "account.registerCta",
|
|
1544
1557
|
"keyOrigin": "string-table"
|
|
1545
1558
|
},
|
|
1559
|
+
"h_d82b56cad900": {
|
|
1560
|
+
"source": "Course",
|
|
1561
|
+
"kind": "Text.text",
|
|
1562
|
+
"translation": "",
|
|
1563
|
+
"key": "agenda.courseTag",
|
|
1564
|
+
"keyOrigin": "string-table"
|
|
1565
|
+
},
|
|
1546
1566
|
"h_d850ee188c7c": {
|
|
1547
1567
|
"source": "New password",
|
|
1548
1568
|
"kind": "Text.text",
|