@wix/himalaya-cli 0.1767.0 → 0.1769.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/app-config.d.ts +4 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/app-module.d.ts +7 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/builder.d.ts +9 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts +4 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/sdui.mjs +1 -0
- package/dist/browser-plane/assets.json +5 -5
- package/dist/browser-plane/preview-deferred/{cba469735852da3b19235ce6d163f0e0bb4fd2e751c0042493147e4d9c143d92.bin → 7977d7340513225ef7609b9983b621e2b48c10deb7427e059e595d2fc66f7983.bin} +1 -1
- package/dist/browser-plane/sw.js +8 -8
- package/dist/cli.mjs +234 -89
- package/dist/preview-assets.generated.bin +0 -0
- package/guides/capabilities.md +6 -4
- package/guides/component-reference.json +1 -1
- package/guides/component-reference.md +4 -0
- package/guides/himi-json-output.md +19 -7
- package/guides/one-app-to-himi-app.md +19 -9
- package/guides/qa-builds.md +73 -84
- package/package.json +2 -2
- package/templates/beauty-salon/l10n/ar.json +45 -0
- package/templates/beauty-salon/l10n/cs.json +45 -0
- package/templates/beauty-salon/l10n/da.json +45 -0
- package/templates/beauty-salon/l10n/de.json +45 -0
- package/templates/beauty-salon/l10n/el.json +45 -0
- package/templates/beauty-salon/l10n/en.json +1 -1
- package/templates/beauty-salon/l10n/es.json +45 -0
- package/templates/beauty-salon/l10n/fi.json +45 -0
- package/templates/beauty-salon/l10n/fr.json +45 -0
- package/templates/beauty-salon/l10n/he.json +36 -0
- package/templates/beauty-salon/l10n/hu.json +45 -0
- package/templates/beauty-salon/l10n/id.json +45 -0
- package/templates/beauty-salon/l10n/it.json +45 -0
- package/templates/beauty-salon/l10n/ja.json +45 -0
- package/templates/beauty-salon/l10n/ko.json +45 -0
- package/templates/beauty-salon/l10n/lt.json +45 -0
- package/templates/beauty-salon/l10n/nl.json +45 -0
- package/templates/beauty-salon/l10n/no.json +45 -0
- package/templates/beauty-salon/l10n/pl.json +45 -0
- package/templates/beauty-salon/l10n/pt.json +45 -0
- package/templates/beauty-salon/l10n/ru.json +45 -0
- package/templates/beauty-salon/l10n/sv.json +45 -0
- package/templates/beauty-salon/l10n/th.json +45 -0
- package/templates/beauty-salon/l10n/tr.json +45 -0
- package/templates/beauty-salon/l10n/uk.json +45 -0
- package/templates/beauty-salon/l10n/vi.json +45 -0
- package/templates/beauty-salon/l10n/zh.json +45 -0
- package/templates/beauty-salon/tier5-src/_shared/branded-lite-hosted.ts +1 -0
- package/templates/beauty-salon/tier5-src/_shared/business-chat-transport.ts +20 -4
- package/templates/beauty-salon/tier5-src/_shared/engine-intl.ts +6 -0
- package/templates/beauty-salon/tier5-src/_shared/program-fields.ts +16 -0
- package/templates/beauty-salon/tier5-src/_shared/program-standing.ts +67 -0
- package/templates/beauty-salon/tier5-src/himi-booking-time/index.ts +56 -12
- package/templates/beauty-salon/tier5-src/himi-branded-lite-home/index.ts +5 -0
- package/templates/beauty-salon-owner/tier5-src/_shared/engine-intl.ts +6 -0
- package/templates/branded-lite/config.ts +11 -1
- package/templates/branded-lite/dev/index.ts +1088 -86
- package/templates/branded-lite/himalaya.content.json +3 -0
- package/templates/branded-lite/l10n/ar.json +259 -0
- package/templates/branded-lite/l10n/cs.json +259 -0
- package/templates/branded-lite/l10n/da.json +259 -0
- package/templates/branded-lite/l10n/de.json +259 -0
- package/templates/branded-lite/l10n/el.json +259 -0
- package/templates/branded-lite/l10n/en.json +65 -2
- package/templates/branded-lite/l10n/es.json +259 -0
- package/templates/branded-lite/l10n/fi.json +259 -0
- package/templates/branded-lite/l10n/fr.json +259 -0
- package/templates/branded-lite/l10n/he.json +209 -0
- package/templates/branded-lite/l10n/hu.json +259 -0
- package/templates/branded-lite/l10n/id.json +259 -0
- package/templates/branded-lite/l10n/it.json +259 -0
- package/templates/branded-lite/l10n/ja.json +259 -0
- package/templates/branded-lite/l10n/ko.json +259 -0
- package/templates/branded-lite/l10n/lt.json +259 -0
- package/templates/branded-lite/l10n/nl.json +259 -0
- package/templates/branded-lite/l10n/no.json +259 -0
- package/templates/branded-lite/l10n/pl.json +259 -0
- package/templates/branded-lite/l10n/pt.json +259 -0
- package/templates/branded-lite/l10n/ru.json +259 -0
- package/templates/branded-lite/l10n/sv.json +259 -0
- package/templates/branded-lite/l10n/th.json +259 -0
- package/templates/branded-lite/l10n/tr.json +259 -0
- package/templates/branded-lite/l10n/uk.json +259 -0
- package/templates/branded-lite/l10n/vi.json +259 -0
- package/templates/branded-lite/l10n/zh.json +259 -0
- package/templates/branded-lite/recipes/programs-card.json +2 -2
- package/templates/branded-lite/recipes/programs-carousel.json +2 -2
- package/templates/branded-lite/recipes/programs-participant-carousel.json +2 -2
- package/templates/branded-lite/tier5-src/_shared/branded-lite-hosted.ts +1 -0
- package/templates/branded-lite/tier5-src/_shared/business-chat-transport.ts +20 -4
- package/templates/branded-lite/tier5-src/_shared/engine-intl.ts +6 -0
- package/templates/branded-lite/tier5-src/_shared/inbox-rooms.ts +101 -11
- package/templates/branded-lite/tier5-src/_shared/inbox-search.ts +119 -0
- package/templates/branded-lite/tier5-src/_shared/member-inbox-transport.ts +64 -0
- package/templates/branded-lite/tier5-src/_shared/member-thread-rows.ts +233 -0
- package/templates/branded-lite/tier5-src/_shared/program-standing.ts +21 -0
- package/templates/branded-lite/tier5-src/_shared/programs-section.ts +8 -4
- package/templates/branded-lite/tier5-src/business-chat/index.ts +73 -22
- package/templates/branded-lite/tier5-src/himi-booking-time/index.ts +56 -12
- package/templates/branded-lite/tier5-src/himi-branded-lite-home/index.ts +5 -0
- package/templates/branded-lite/tier5-src/himi-branded-lite-inbox/index.ts +777 -54
- package/templates/branded-lite/tier5-src/himi-branded-lite-member-programs/index.ts +23 -7
- package/templates/branded-lite/tier5-src/himi-branded-lite-program/index.ts +17 -3
- package/templates/branded-lite/tier5-src/himi-branded-lite-program-participant/index.ts +336 -0
- package/templates/branded-lite/tier5-src/himi-branded-lite-program-participant/model.ts +206 -0
- package/templates/branded-lite/tier5-src/wix-spaces-chat-thread/index.ts +426 -143
- package/templates/branded-lite/tier5-src/wix-spaces-new-message/index.ts +4 -2
- package/templates/brandy/tier5-src/_shared/branded-lite-hosted.ts +1 -0
- package/templates/brandy/tier5-src/_shared/business-chat-message-model.ts +177 -0
- package/templates/brandy/tier5-src/_shared/business-chat-transport.ts +164 -0
- package/templates/brandy/tier5-src/_shared/engine-intl.ts +6 -0
- package/templates/brandy/tier5-src/_shared/inbox-rooms.ts +101 -11
- package/templates/brandy/tier5-src/_shared/inbox-search.ts +119 -0
- package/templates/brandy/tier5-src/_shared/member-inbox-transport.ts +64 -0
- package/templates/brandy/tier5-src/_shared/member-thread-rows.ts +233 -0
- package/templates/brandy/tier5-src/himi-branded-lite-inbox/index.ts +777 -54
- package/templates/brandy/tier5-src/wix-spaces-chat-thread/index.ts +426 -143
- package/templates/community-club/l10n/ar.json +30 -0
- package/templates/community-club/l10n/cs.json +30 -0
- package/templates/community-club/l10n/da.json +30 -0
- package/templates/community-club/l10n/de.json +30 -0
- package/templates/community-club/l10n/el.json +30 -0
- package/templates/community-club/l10n/en.json +2 -2
- package/templates/community-club/l10n/es.json +30 -0
- package/templates/community-club/l10n/fi.json +30 -0
- package/templates/community-club/l10n/fr.json +30 -0
- package/templates/community-club/l10n/he.json +24 -0
- package/templates/community-club/l10n/hu.json +30 -0
- package/templates/community-club/l10n/id.json +30 -0
- package/templates/community-club/l10n/it.json +30 -0
- package/templates/community-club/l10n/ja.json +30 -0
- package/templates/community-club/l10n/ko.json +30 -0
- package/templates/community-club/l10n/lt.json +30 -0
- package/templates/community-club/l10n/nl.json +30 -0
- package/templates/community-club/l10n/no.json +30 -0
- package/templates/community-club/l10n/pl.json +30 -0
- package/templates/community-club/l10n/pt.json +30 -0
- package/templates/community-club/l10n/ru.json +30 -0
- package/templates/community-club/l10n/sv.json +30 -0
- package/templates/community-club/l10n/th.json +30 -0
- package/templates/community-club/l10n/tr.json +30 -0
- package/templates/community-club/l10n/uk.json +30 -0
- package/templates/community-club/l10n/vi.json +30 -0
- package/templates/community-club/l10n/zh.json +30 -0
- package/templates/community-club/tier5-src/_shared/branded-lite-hosted.ts +1 -0
- package/templates/community-club/tier5-src/_shared/engine-intl.ts +6 -0
- package/templates/community-club/tier5-src/_shared/program-fields.ts +16 -0
- package/templates/community-club/tier5-src/_shared/program-standing.ts +67 -0
- package/templates/community-club/tier5-src/himi-branded-lite-home/index.ts +5 -0
- package/templates/community-club-owner/tier5-src/_shared/engine-intl.ts +6 -0
- package/templates/conference/tier5-src/_shared/branded-lite-hosted.ts +1 -0
- package/templates/conference/tier5-src/_shared/business-chat-transport.ts +20 -4
- package/templates/conference/tier5-src/_shared/chat-live.ts +242 -0
- package/templates/conference/tier5-src/_shared/engine-intl.ts +6 -0
- package/templates/conference/tier5-src/_shared/inbox-rooms.ts +101 -11
- package/templates/conference/tier5-src/business-chat/index.ts +73 -22
- package/templates/events-meetups/l10n/ar.json +30 -0
- package/templates/events-meetups/l10n/cs.json +30 -0
- package/templates/events-meetups/l10n/da.json +30 -0
- package/templates/events-meetups/l10n/de.json +30 -0
- package/templates/events-meetups/l10n/el.json +30 -0
- package/templates/events-meetups/l10n/en.json +1 -1
- package/templates/events-meetups/l10n/es.json +30 -0
- package/templates/events-meetups/l10n/fi.json +30 -0
- package/templates/events-meetups/l10n/fr.json +30 -0
- package/templates/events-meetups/l10n/he.json +24 -0
- package/templates/events-meetups/l10n/hu.json +30 -0
- package/templates/events-meetups/l10n/id.json +30 -0
- package/templates/events-meetups/l10n/it.json +30 -0
- package/templates/events-meetups/l10n/ja.json +30 -0
- package/templates/events-meetups/l10n/ko.json +30 -0
- package/templates/events-meetups/l10n/lt.json +30 -0
- package/templates/events-meetups/l10n/nl.json +30 -0
- package/templates/events-meetups/l10n/no.json +30 -0
- package/templates/events-meetups/l10n/pl.json +30 -0
- package/templates/events-meetups/l10n/pt.json +30 -0
- package/templates/events-meetups/l10n/ru.json +30 -0
- package/templates/events-meetups/l10n/sv.json +30 -0
- package/templates/events-meetups/l10n/th.json +30 -0
- package/templates/events-meetups/l10n/tr.json +30 -0
- package/templates/events-meetups/l10n/uk.json +30 -0
- package/templates/events-meetups/l10n/vi.json +30 -0
- package/templates/events-meetups/l10n/zh.json +30 -0
- package/templates/events-meetups/tier5-src/_shared/branded-lite-hosted.ts +1 -0
- package/templates/events-meetups/tier5-src/_shared/engine-intl.ts +6 -0
- package/templates/events-meetups/tier5-src/_shared/program-fields.ts +16 -0
- package/templates/events-meetups/tier5-src/_shared/program-standing.ts +67 -0
- package/templates/events-meetups/tier5-src/himi-branded-lite-home/index.ts +5 -0
- package/templates/events-meetups-owner/tier5-src/_shared/engine-intl.ts +6 -0
- package/templates/fitness-gym/tier5-src/_shared/branded-lite-hosted.ts +1 -0
- package/templates/fitness-gym/tier5-src/_shared/business-chat-transport.ts +20 -4
- package/templates/fitness-gym/tier5-src/_shared/chat-live.ts +242 -0
- package/templates/fitness-gym/tier5-src/_shared/engine-intl.ts +6 -0
- package/templates/fitness-gym/tier5-src/_shared/inbox-rooms.ts +101 -11
- package/templates/fitness-gym/tier5-src/_shared/program-standing.ts +21 -0
- package/templates/fitness-gym/tier5-src/business-chat/index.ts +73 -22
- package/templates/fitness-gym/tier5-src/himi-booking-time/index.ts +56 -12
- package/templates/fitness-gym/tier5-src/himi-branded-lite-member-programs/index.ts +23 -7
- package/templates/fitness-gym/tier5-src/himi-branded-lite-program/index.ts +17 -3
- package/templates/gym-fitness/l10n/ar.json +45 -0
- package/templates/gym-fitness/l10n/cs.json +45 -0
- package/templates/gym-fitness/l10n/da.json +45 -0
- package/templates/gym-fitness/l10n/de.json +45 -0
- package/templates/gym-fitness/l10n/el.json +45 -0
- package/templates/gym-fitness/l10n/en.json +1 -1
- package/templates/gym-fitness/l10n/es.json +45 -0
- package/templates/gym-fitness/l10n/fi.json +45 -0
- package/templates/gym-fitness/l10n/fr.json +45 -0
- package/templates/gym-fitness/l10n/he.json +36 -0
- package/templates/gym-fitness/l10n/hu.json +45 -0
- package/templates/gym-fitness/l10n/id.json +45 -0
- package/templates/gym-fitness/l10n/it.json +45 -0
- package/templates/gym-fitness/l10n/ja.json +45 -0
- package/templates/gym-fitness/l10n/ko.json +45 -0
- package/templates/gym-fitness/l10n/lt.json +45 -0
- package/templates/gym-fitness/l10n/nl.json +45 -0
- package/templates/gym-fitness/l10n/no.json +45 -0
- package/templates/gym-fitness/l10n/pl.json +45 -0
- package/templates/gym-fitness/l10n/pt.json +45 -0
- package/templates/gym-fitness/l10n/ru.json +45 -0
- package/templates/gym-fitness/l10n/sv.json +45 -0
- package/templates/gym-fitness/l10n/th.json +45 -0
- package/templates/gym-fitness/l10n/tr.json +45 -0
- package/templates/gym-fitness/l10n/uk.json +45 -0
- package/templates/gym-fitness/l10n/vi.json +45 -0
- package/templates/gym-fitness/l10n/zh.json +45 -0
- package/templates/gym-fitness/tier5-src/_shared/branded-lite-hosted.ts +1 -0
- package/templates/gym-fitness/tier5-src/_shared/business-chat-transport.ts +20 -4
- package/templates/gym-fitness/tier5-src/_shared/engine-intl.ts +6 -0
- package/templates/gym-fitness/tier5-src/_shared/program-fields.ts +16 -0
- package/templates/gym-fitness/tier5-src/_shared/program-standing.ts +67 -0
- package/templates/gym-fitness/tier5-src/himi-booking-time/index.ts +56 -12
- package/templates/gym-fitness/tier5-src/himi-branded-lite-home/index.ts +5 -0
- package/templates/gym-fitness-owner/tier5-src/_shared/engine-intl.ts +6 -0
- package/templates/medical-services/tier5-src/_shared/branded-lite-hosted.ts +1 -0
- package/templates/medical-services/tier5-src/_shared/business-chat-transport.ts +20 -4
- package/templates/medical-services/tier5-src/_shared/chat-live.ts +242 -0
- package/templates/medical-services/tier5-src/_shared/engine-intl.ts +6 -0
- package/templates/medical-services/tier5-src/_shared/inbox-rooms.ts +101 -11
- package/templates/medical-services/tier5-src/business-chat/index.ts +73 -22
- package/templates/medical-services/tier5-src/himi-booking-time/index.ts +56 -12
- package/templates/nonprofit-cause/l10n/ar.json +30 -0
- package/templates/nonprofit-cause/l10n/cs.json +30 -0
- package/templates/nonprofit-cause/l10n/da.json +30 -0
- package/templates/nonprofit-cause/l10n/de.json +30 -0
- package/templates/nonprofit-cause/l10n/el.json +30 -0
- package/templates/nonprofit-cause/l10n/en.json +1 -1
- package/templates/nonprofit-cause/l10n/es.json +30 -0
- package/templates/nonprofit-cause/l10n/fi.json +30 -0
- package/templates/nonprofit-cause/l10n/fr.json +30 -0
- package/templates/nonprofit-cause/l10n/he.json +24 -0
- package/templates/nonprofit-cause/l10n/hu.json +30 -0
- package/templates/nonprofit-cause/l10n/id.json +30 -0
- package/templates/nonprofit-cause/l10n/it.json +30 -0
- package/templates/nonprofit-cause/l10n/ja.json +30 -0
- package/templates/nonprofit-cause/l10n/ko.json +30 -0
- package/templates/nonprofit-cause/l10n/lt.json +30 -0
- package/templates/nonprofit-cause/l10n/nl.json +30 -0
- package/templates/nonprofit-cause/l10n/no.json +30 -0
- package/templates/nonprofit-cause/l10n/pl.json +30 -0
- package/templates/nonprofit-cause/l10n/pt.json +30 -0
- package/templates/nonprofit-cause/l10n/ru.json +30 -0
- package/templates/nonprofit-cause/l10n/sv.json +30 -0
- package/templates/nonprofit-cause/l10n/th.json +30 -0
- package/templates/nonprofit-cause/l10n/tr.json +30 -0
- package/templates/nonprofit-cause/l10n/uk.json +30 -0
- package/templates/nonprofit-cause/l10n/vi.json +30 -0
- package/templates/nonprofit-cause/l10n/zh.json +30 -0
- package/templates/nonprofit-cause/tier5-src/_shared/branded-lite-hosted.ts +1 -0
- package/templates/nonprofit-cause/tier5-src/_shared/engine-intl.ts +6 -0
- package/templates/nonprofit-cause/tier5-src/_shared/program-fields.ts +16 -0
- package/templates/nonprofit-cause/tier5-src/_shared/program-standing.ts +67 -0
- package/templates/nonprofit-cause/tier5-src/himi-branded-lite-home/index.ts +5 -0
- package/templates/nonprofit-cause-owner/tier5-src/_shared/engine-intl.ts +6 -0
- package/templates/owner-lite/tier5-src/_shared/engine-intl.ts +6 -0
- package/templates/personal-fitness-trainer/dev/index.ts +2 -1
- package/templates/personal-fitness-trainer/tier5-src/_shared/branded-lite-hosted.ts +1 -0
- package/templates/personal-fitness-trainer/tier5-src/_shared/business-chat-transport.ts +20 -4
- package/templates/personal-fitness-trainer/tier5-src/_shared/chat-live.ts +242 -0
- package/templates/personal-fitness-trainer/tier5-src/_shared/engine-intl.ts +6 -0
- package/templates/personal-fitness-trainer/tier5-src/_shared/inbox-rooms.ts +101 -11
- package/templates/personal-fitness-trainer/tier5-src/business-chat/index.ts +73 -22
- package/templates/personal-fitness-trainer/tier5-src/himi-booking-time/index.ts +56 -12
- package/templates/podcast-creator/l10n/ar.json +35 -0
- package/templates/podcast-creator/l10n/cs.json +35 -0
- package/templates/podcast-creator/l10n/da.json +35 -0
- package/templates/podcast-creator/l10n/de.json +35 -0
- package/templates/podcast-creator/l10n/el.json +35 -0
- package/templates/podcast-creator/l10n/en.json +1 -1
- package/templates/podcast-creator/l10n/es.json +35 -0
- package/templates/podcast-creator/l10n/fi.json +35 -0
- package/templates/podcast-creator/l10n/fr.json +35 -0
- package/templates/podcast-creator/l10n/he.json +28 -0
- package/templates/podcast-creator/l10n/hu.json +35 -0
- package/templates/podcast-creator/l10n/id.json +35 -0
- package/templates/podcast-creator/l10n/it.json +35 -0
- package/templates/podcast-creator/l10n/ja.json +35 -0
- package/templates/podcast-creator/l10n/ko.json +35 -0
- package/templates/podcast-creator/l10n/lt.json +35 -0
- package/templates/podcast-creator/l10n/nl.json +35 -0
- package/templates/podcast-creator/l10n/no.json +35 -0
- package/templates/podcast-creator/l10n/pl.json +35 -0
- package/templates/podcast-creator/l10n/pt.json +35 -0
- package/templates/podcast-creator/l10n/ru.json +35 -0
- package/templates/podcast-creator/l10n/sv.json +35 -0
- package/templates/podcast-creator/l10n/th.json +35 -0
- package/templates/podcast-creator/l10n/tr.json +35 -0
- package/templates/podcast-creator/l10n/uk.json +35 -0
- package/templates/podcast-creator/l10n/vi.json +35 -0
- package/templates/podcast-creator/l10n/zh.json +35 -0
- package/templates/podcast-creator/tier5-src/_shared/branded-lite-hosted.ts +1 -0
- package/templates/podcast-creator/tier5-src/_shared/engine-intl.ts +6 -0
- package/templates/podcast-creator/tier5-src/_shared/program-fields.ts +16 -0
- package/templates/podcast-creator/tier5-src/_shared/program-standing.ts +67 -0
- package/templates/podcast-creator/tier5-src/himi-branded-lite-home/index.ts +5 -0
- package/templates/podcast-creator-owner/tier5-src/_shared/engine-intl.ts +6 -0
- package/templates/portfolio-creative/l10n/ar.json +35 -0
- package/templates/portfolio-creative/l10n/cs.json +35 -0
- package/templates/portfolio-creative/l10n/da.json +35 -0
- package/templates/portfolio-creative/l10n/de.json +35 -0
- package/templates/portfolio-creative/l10n/el.json +35 -0
- package/templates/portfolio-creative/l10n/en.json +1 -1
- package/templates/portfolio-creative/l10n/es.json +35 -0
- package/templates/portfolio-creative/l10n/fi.json +35 -0
- package/templates/portfolio-creative/l10n/fr.json +35 -0
- package/templates/portfolio-creative/l10n/he.json +28 -0
- package/templates/portfolio-creative/l10n/hu.json +35 -0
- package/templates/portfolio-creative/l10n/id.json +35 -0
- package/templates/portfolio-creative/l10n/it.json +35 -0
- package/templates/portfolio-creative/l10n/ja.json +35 -0
- package/templates/portfolio-creative/l10n/ko.json +35 -0
- package/templates/portfolio-creative/l10n/lt.json +35 -0
- package/templates/portfolio-creative/l10n/nl.json +35 -0
- package/templates/portfolio-creative/l10n/no.json +35 -0
- package/templates/portfolio-creative/l10n/pl.json +35 -0
- package/templates/portfolio-creative/l10n/pt.json +35 -0
- package/templates/portfolio-creative/l10n/ru.json +35 -0
- package/templates/portfolio-creative/l10n/sv.json +35 -0
- package/templates/portfolio-creative/l10n/th.json +35 -0
- package/templates/portfolio-creative/l10n/tr.json +35 -0
- package/templates/portfolio-creative/l10n/uk.json +35 -0
- package/templates/portfolio-creative/l10n/vi.json +35 -0
- package/templates/portfolio-creative/l10n/zh.json +35 -0
- package/templates/portfolio-creative/tier5-src/_shared/branded-lite-hosted.ts +1 -0
- package/templates/portfolio-creative/tier5-src/_shared/engine-intl.ts +6 -0
- package/templates/portfolio-creative/tier5-src/_shared/program-fields.ts +16 -0
- package/templates/portfolio-creative/tier5-src/_shared/program-standing.ts +67 -0
- package/templates/portfolio-creative/tier5-src/himi-branded-lite-home/index.ts +5 -0
- package/templates/portfolio-creative-owner/tier5-src/_shared/engine-intl.ts +6 -0
- package/templates/restaurant/l10n/ar.json +35 -0
- package/templates/restaurant/l10n/cs.json +35 -0
- package/templates/restaurant/l10n/da.json +35 -0
- package/templates/restaurant/l10n/de.json +35 -0
- package/templates/restaurant/l10n/el.json +35 -0
- package/templates/restaurant/l10n/en.json +1 -1
- package/templates/restaurant/l10n/es.json +35 -0
- package/templates/restaurant/l10n/fi.json +35 -0
- package/templates/restaurant/l10n/fr.json +35 -0
- package/templates/restaurant/l10n/he.json +28 -0
- package/templates/restaurant/l10n/hu.json +35 -0
- package/templates/restaurant/l10n/id.json +35 -0
- package/templates/restaurant/l10n/it.json +35 -0
- package/templates/restaurant/l10n/ja.json +35 -0
- package/templates/restaurant/l10n/ko.json +35 -0
- package/templates/restaurant/l10n/lt.json +35 -0
- package/templates/restaurant/l10n/nl.json +35 -0
- package/templates/restaurant/l10n/no.json +35 -0
- package/templates/restaurant/l10n/pl.json +35 -0
- package/templates/restaurant/l10n/pt.json +35 -0
- package/templates/restaurant/l10n/ru.json +35 -0
- package/templates/restaurant/l10n/sv.json +35 -0
- package/templates/restaurant/l10n/th.json +35 -0
- package/templates/restaurant/l10n/tr.json +35 -0
- package/templates/restaurant/l10n/uk.json +35 -0
- package/templates/restaurant/l10n/vi.json +35 -0
- package/templates/restaurant/l10n/zh.json +35 -0
- package/templates/restaurant/tier5-src/_shared/branded-lite-hosted.ts +1 -0
- package/templates/restaurant/tier5-src/_shared/engine-intl.ts +6 -0
- package/templates/restaurant/tier5-src/_shared/program-fields.ts +16 -0
- package/templates/restaurant/tier5-src/_shared/program-standing.ts +67 -0
- package/templates/restaurant/tier5-src/himi-branded-lite-home/index.ts +5 -0
- package/templates/restaurant-owner/tier5-src/_shared/engine-intl.ts +6 -0
- package/templates/retail-store/l10n/ar.json +35 -0
- package/templates/retail-store/l10n/cs.json +35 -0
- package/templates/retail-store/l10n/da.json +35 -0
- package/templates/retail-store/l10n/de.json +35 -0
- package/templates/retail-store/l10n/el.json +35 -0
- package/templates/retail-store/l10n/en.json +1 -1
- package/templates/retail-store/l10n/es.json +35 -0
- package/templates/retail-store/l10n/fi.json +35 -0
- package/templates/retail-store/l10n/fr.json +35 -0
- package/templates/retail-store/l10n/he.json +28 -0
- package/templates/retail-store/l10n/hu.json +35 -0
- package/templates/retail-store/l10n/id.json +35 -0
- package/templates/retail-store/l10n/it.json +35 -0
- package/templates/retail-store/l10n/ja.json +35 -0
- package/templates/retail-store/l10n/ko.json +35 -0
- package/templates/retail-store/l10n/lt.json +35 -0
- package/templates/retail-store/l10n/nl.json +35 -0
- package/templates/retail-store/l10n/no.json +35 -0
- package/templates/retail-store/l10n/pl.json +35 -0
- package/templates/retail-store/l10n/pt.json +35 -0
- package/templates/retail-store/l10n/ru.json +35 -0
- package/templates/retail-store/l10n/sv.json +35 -0
- package/templates/retail-store/l10n/th.json +35 -0
- package/templates/retail-store/l10n/tr.json +35 -0
- package/templates/retail-store/l10n/uk.json +35 -0
- package/templates/retail-store/l10n/vi.json +35 -0
- package/templates/retail-store/l10n/zh.json +35 -0
- package/templates/retail-store/tier5-src/_shared/branded-lite-hosted.ts +1 -0
- package/templates/retail-store/tier5-src/_shared/engine-intl.ts +6 -0
- package/templates/retail-store/tier5-src/_shared/program-fields.ts +16 -0
- package/templates/retail-store/tier5-src/_shared/program-standing.ts +67 -0
- package/templates/retail-store/tier5-src/himi-branded-lite-home/index.ts +5 -0
- package/templates/retail-store-owner/tier5-src/_shared/engine-intl.ts +6 -0
- package/templates/salon-spa/tier5-src/_shared/branded-lite-hosted.ts +1 -0
- package/templates/salon-spa/tier5-src/_shared/business-chat-transport.ts +20 -4
- package/templates/salon-spa/tier5-src/_shared/chat-live.ts +242 -0
- package/templates/salon-spa/tier5-src/_shared/engine-intl.ts +6 -0
- package/templates/salon-spa/tier5-src/_shared/inbox-rooms.ts +101 -11
- package/templates/salon-spa/tier5-src/business-chat/index.ts +73 -22
- package/templates/salon-spa/tier5-src/himi-booking-time/index.ts +56 -12
- package/templates/wholesale-store/tier5-src/_shared/branded-lite-hosted.ts +1 -0
- package/templates/wholesale-store/tier5-src/_shared/business-chat-transport.ts +20 -4
- package/templates/wholesale-store/tier5-src/_shared/chat-live.ts +242 -0
- package/templates/wholesale-store/tier5-src/_shared/engine-intl.ts +6 -0
- package/templates/wholesale-store/tier5-src/_shared/inbox-rooms.ts +101 -11
- package/templates/wholesale-store/tier5-src/business-chat/index.ts +73 -22
- package/templates/yoga-studio/config.ts +9 -0
- package/templates/yoga-studio/dev/index.ts +1134 -133
- package/templates/yoga-studio/himalaya.content.json +3 -0
- package/templates/yoga-studio/l10n/ar.json +150 -0
- package/templates/yoga-studio/l10n/cs.json +150 -0
- package/templates/yoga-studio/l10n/da.json +150 -0
- package/templates/yoga-studio/l10n/de.json +150 -0
- package/templates/yoga-studio/l10n/el.json +150 -0
- package/templates/yoga-studio/l10n/en.json +70 -1
- package/templates/yoga-studio/l10n/es.json +150 -0
- package/templates/yoga-studio/l10n/fi.json +150 -0
- package/templates/yoga-studio/l10n/fr.json +150 -0
- package/templates/yoga-studio/l10n/he.json +122 -0
- package/templates/yoga-studio/l10n/hu.json +150 -0
- package/templates/yoga-studio/l10n/id.json +150 -0
- package/templates/yoga-studio/l10n/it.json +150 -0
- package/templates/yoga-studio/l10n/ja.json +150 -0
- package/templates/yoga-studio/l10n/ko.json +150 -0
- package/templates/yoga-studio/l10n/lt.json +150 -0
- package/templates/yoga-studio/l10n/nl.json +150 -0
- package/templates/yoga-studio/l10n/no.json +150 -0
- package/templates/yoga-studio/l10n/pl.json +150 -0
- package/templates/yoga-studio/l10n/pt.json +150 -0
- package/templates/yoga-studio/l10n/ru.json +150 -0
- package/templates/yoga-studio/l10n/sv.json +150 -0
- package/templates/yoga-studio/l10n/th.json +150 -0
- package/templates/yoga-studio/l10n/tr.json +150 -0
- package/templates/yoga-studio/l10n/uk.json +150 -0
- package/templates/yoga-studio/l10n/vi.json +150 -0
- package/templates/yoga-studio/l10n/zh.json +150 -0
- package/templates/yoga-studio/tier5-src/_shared/branded-lite-hosted.ts +1 -0
- package/templates/yoga-studio/tier5-src/_shared/business-chat-transport.ts +20 -4
- package/templates/yoga-studio/tier5-src/_shared/engine-intl.ts +6 -0
- package/templates/yoga-studio/tier5-src/_shared/program-fields.ts +16 -0
- package/templates/yoga-studio/tier5-src/_shared/program-standing.ts +21 -0
- package/templates/yoga-studio/tier5-src/himi-booking-time/index.ts +56 -12
- package/templates/yoga-studio/tier5-src/himi-branded-lite-home/index.ts +5 -0
- package/templates/yoga-studio/tier5-src/himi-branded-lite-member-programs/index.ts +23 -7
- package/templates/yoga-studio/tier5-src/himi-branded-lite-program/index.ts +17 -3
- package/templates/yoga-studio/tier5-src/himi-branded-lite-program-participant/index.ts +336 -0
- package/templates/yoga-studio/tier5-src/himi-branded-lite-program-participant/model.ts +206 -0
- package/templates/yoga-studio-owner/tier5-src/_shared/engine-intl.ts +6 -0
|
@@ -404,6 +404,12 @@
|
|
|
404
404
|
"translation": "Назад до входу",
|
|
405
405
|
"origin": "machine"
|
|
406
406
|
},
|
|
407
|
+
"h_4f9be057f0ea": {
|
|
408
|
+
"key": "tab.cms",
|
|
409
|
+
"source": "Content",
|
|
410
|
+
"translation": "Контент",
|
|
411
|
+
"origin": "one-app:wix-one-app-video-maker__wix-one-app-video-strings__messages_en.json:VIDEO_MAKER_CUSTOMIZE_WIZARD_STEP_CONTENT"
|
|
412
|
+
},
|
|
407
413
|
"h_511f7ba65081": {
|
|
408
414
|
"key": "storeCommon.errorTitle",
|
|
409
415
|
"source": "Something did not load.",
|
|
@@ -1628,6 +1634,60 @@
|
|
|
1628
1634
|
"translation": "Сховати переваги плану",
|
|
1629
1635
|
"origin": "machine"
|
|
1630
1636
|
},
|
|
1637
|
+
"h_06730987dbe4": {
|
|
1638
|
+
"key": "program.openParticipantCta",
|
|
1639
|
+
"source": "Open program",
|
|
1640
|
+
"translation": "Відкрити програму",
|
|
1641
|
+
"origin": "machine"
|
|
1642
|
+
},
|
|
1643
|
+
"h_0efc2e6be4c2": {
|
|
1644
|
+
"key": "programParticipant.tabOverview",
|
|
1645
|
+
"source": "Overview",
|
|
1646
|
+
"translation": "Огляд",
|
|
1647
|
+
"origin": "machine"
|
|
1648
|
+
},
|
|
1649
|
+
"h_44a680dfdf8d": {
|
|
1650
|
+
"key": "programParticipant.progressTitle",
|
|
1651
|
+
"source": "Your progress",
|
|
1652
|
+
"translation": "Ваш прогрес",
|
|
1653
|
+
"origin": "machine"
|
|
1654
|
+
},
|
|
1655
|
+
"h_5500eef9fdb1": {
|
|
1656
|
+
"key": "programParticipant.upNext",
|
|
1657
|
+
"source": "Next step",
|
|
1658
|
+
"translation": "Наступний крок",
|
|
1659
|
+
"origin": "machine"
|
|
1660
|
+
},
|
|
1661
|
+
"h_56fb7336f231": {
|
|
1662
|
+
"key": "programParticipant.aboutTitle",
|
|
1663
|
+
"source": "About this program",
|
|
1664
|
+
"translation": "Про цю програму",
|
|
1665
|
+
"origin": "machine"
|
|
1666
|
+
},
|
|
1667
|
+
"h_77c6038003ac": {
|
|
1668
|
+
"key": "programParticipant.nextStepCta",
|
|
1669
|
+
"source": "Go to step",
|
|
1670
|
+
"translation": "Перейти до кроку",
|
|
1671
|
+
"origin": "machine"
|
|
1672
|
+
},
|
|
1673
|
+
"h_9a78430145b2": {
|
|
1674
|
+
"key": "programParticipant.signInTitle",
|
|
1675
|
+
"source": "Sign in to continue",
|
|
1676
|
+
"translation": "Увійдіть, щоб продовжити",
|
|
1677
|
+
"origin": "machine"
|
|
1678
|
+
},
|
|
1679
|
+
"h_b7e6af80dc3e": {
|
|
1680
|
+
"key": "programParticipant.signInBody",
|
|
1681
|
+
"source": "Sign in to see your progress and the program's steps.",
|
|
1682
|
+
"translation": "Увійдіть, щоб побачити свій прогрес і кроки програми.",
|
|
1683
|
+
"origin": "machine"
|
|
1684
|
+
},
|
|
1685
|
+
"h_f813833428da": {
|
|
1686
|
+
"key": "programParticipant.tabsA11y",
|
|
1687
|
+
"source": "Program sections",
|
|
1688
|
+
"translation": "Розділи програми",
|
|
1689
|
+
"origin": "machine"
|
|
1690
|
+
},
|
|
1631
1691
|
"h_03e89418ffdf": {
|
|
1632
1692
|
"source": "Your Home",
|
|
1633
1693
|
"translation": "Ваша головна",
|
|
@@ -2798,6 +2858,16 @@
|
|
|
2798
2858
|
"translation": "Цей сайт не приймає онлайн-платежі. Поверніться назад або зв'яжіться з бізнесом щодо інших способів оплати.",
|
|
2799
2859
|
"origin": "machine"
|
|
2800
2860
|
},
|
|
2861
|
+
"h_da50069f13cc": {
|
|
2862
|
+
"source": "The business can't confirm bookings in the app right now. Contact the business to book.",
|
|
2863
|
+
"translation": "Зараз компанія не може підтверджувати бронювання в застосунку. Щоб забронювати, зв'яжіться з компанією.",
|
|
2864
|
+
"origin": "machine"
|
|
2865
|
+
},
|
|
2866
|
+
"h_7e5f2ad0967c": {
|
|
2867
|
+
"source": "We couldn't check if your booking is confirmed. See My Bookings before you book again.",
|
|
2868
|
+
"translation": "Не вдалося перевірити, чи підтверджено ваше бронювання. Перш ніж бронювати знову, перегляньте розділ «Мої бронювання».",
|
|
2869
|
+
"origin": "machine"
|
|
2870
|
+
},
|
|
2801
2871
|
"h_1b8bca7c2765": {
|
|
2802
2872
|
"source": "Change Time",
|
|
2803
2873
|
"translation": "Змінити час",
|
|
@@ -3228,6 +3298,16 @@
|
|
|
3228
3298
|
"translation": "Ви офлайн — нічого не збережено. Спробуйте ще раз, коли знову підключитеся.",
|
|
3229
3299
|
"origin": "machine"
|
|
3230
3300
|
},
|
|
3301
|
+
"h_25c86f6a9245": {
|
|
3302
|
+
"source": "Quiz",
|
|
3303
|
+
"translation": "Вікторина",
|
|
3304
|
+
"origin": "machine"
|
|
3305
|
+
},
|
|
3306
|
+
"h_4360c2dcd4af": {
|
|
3307
|
+
"source": "Article",
|
|
3308
|
+
"translation": "Стаття",
|
|
3309
|
+
"origin": "machine"
|
|
3310
|
+
},
|
|
3231
3311
|
"h_a69f482dfa32": {
|
|
3232
3312
|
"source": "Just now",
|
|
3233
3313
|
"translation": "Щойно",
|
|
@@ -3238,6 +3318,11 @@
|
|
|
3238
3318
|
"translation": "Відео",
|
|
3239
3319
|
"origin": "one-app:wix-one-app-forms:MEDIA_TYPE_VIDEO"
|
|
3240
3320
|
},
|
|
3321
|
+
"h_f2c6b564bd81": {
|
|
3322
|
+
"source": "Section",
|
|
3323
|
+
"translation": "Розділ",
|
|
3324
|
+
"origin": "machine"
|
|
3325
|
+
},
|
|
3241
3326
|
"h_835f3b50e337": {
|
|
3242
3327
|
"source": "selected",
|
|
3243
3328
|
"translation": "обрано",
|
|
@@ -4537,6 +4622,71 @@
|
|
|
4537
4622
|
"source": "Service",
|
|
4538
4623
|
"translation": "Послуга",
|
|
4539
4624
|
"origin": "machine"
|
|
4625
|
+
},
|
|
4626
|
+
"h_1d1f4ff8dad3": {
|
|
4627
|
+
"source": "{done} of {total} steps · {pct}%",
|
|
4628
|
+
"translation": "{done} з {total} кроків · {pct}%",
|
|
4629
|
+
"origin": "machine"
|
|
4630
|
+
},
|
|
4631
|
+
"h_97c409ee70c5": {
|
|
4632
|
+
"source": "You completed every step.",
|
|
4633
|
+
"translation": "Ви виконали всі кроки.",
|
|
4634
|
+
"origin": "machine"
|
|
4635
|
+
},
|
|
4636
|
+
"h_874467aa5ec7": {
|
|
4637
|
+
"source": "Your next section opens {date}.",
|
|
4638
|
+
"translation": "Наступний розділ відкриється {date}.",
|
|
4639
|
+
"origin": "machine"
|
|
4640
|
+
},
|
|
4641
|
+
"h_f7e4acee74d9": {
|
|
4642
|
+
"source": "This program has no steps yet.",
|
|
4643
|
+
"translation": "У цій програмі ще немає кроків.",
|
|
4644
|
+
"origin": "machine"
|
|
4645
|
+
},
|
|
4646
|
+
"h_681d337c1e7f": {
|
|
4647
|
+
"source": "This program's steps can't be shown in the app right now.",
|
|
4648
|
+
"translation": "Кроки цієї програми зараз не можна показати в застосунку.",
|
|
4649
|
+
"origin": "machine"
|
|
4650
|
+
},
|
|
4651
|
+
"h_4f26d0f109b2": {
|
|
4652
|
+
"source": "You're not in this program yet. Open the program to join it.",
|
|
4653
|
+
"translation": "Ви ще не берете участі в цій програмі. Відкрийте програму, щоб приєднатися.",
|
|
4654
|
+
"origin": "machine"
|
|
4655
|
+
},
|
|
4656
|
+
"h_7dec5d4043f2": {
|
|
4657
|
+
"source": "Your participation in this program is paused.",
|
|
4658
|
+
"translation": "Вашу участь у цій програмі призупинено.",
|
|
4659
|
+
"origin": "machine"
|
|
4660
|
+
},
|
|
4661
|
+
"h_dc416e1088e4": {
|
|
4662
|
+
"source": "Step",
|
|
4663
|
+
"translation": "Крок",
|
|
4664
|
+
"origin": "machine"
|
|
4665
|
+
},
|
|
4666
|
+
"h_e67a54c89f62": {
|
|
4667
|
+
"source": "Opens {date}",
|
|
4668
|
+
"translation": "Відкриється {date}",
|
|
4669
|
+
"origin": "machine"
|
|
4670
|
+
},
|
|
4671
|
+
"h_29869c510010": {
|
|
4672
|
+
"source": "1 step",
|
|
4673
|
+
"translation": "1 крок",
|
|
4674
|
+
"origin": "machine"
|
|
4675
|
+
},
|
|
4676
|
+
"h_2d030aa2176d": {
|
|
4677
|
+
"source": "{count} steps",
|
|
4678
|
+
"translation": "Кроків: {count}",
|
|
4679
|
+
"origin": "machine"
|
|
4680
|
+
},
|
|
4681
|
+
"h_bb96725d3f73": {
|
|
4682
|
+
"source": "Not done",
|
|
4683
|
+
"translation": "Не виконано",
|
|
4684
|
+
"origin": "machine"
|
|
4685
|
+
},
|
|
4686
|
+
"h_a798882f1c31": {
|
|
4687
|
+
"source": "Locked",
|
|
4688
|
+
"translation": "Заблоковано",
|
|
4689
|
+
"origin": "machine"
|
|
4540
4690
|
}
|
|
4541
4691
|
}
|
|
4542
4692
|
}
|
|
@@ -404,6 +404,12 @@
|
|
|
404
404
|
"translation": "Quay lại đăng nhập",
|
|
405
405
|
"origin": "machine"
|
|
406
406
|
},
|
|
407
|
+
"h_4f9be057f0ea": {
|
|
408
|
+
"key": "tab.cms",
|
|
409
|
+
"source": "Content",
|
|
410
|
+
"translation": "Nội dung",
|
|
411
|
+
"origin": "one-app:wix-one-app-video-maker__wix-one-app-video-strings__messages_en.json:VIDEO_MAKER_CUSTOMIZE_WIZARD_STEP_CONTENT"
|
|
412
|
+
},
|
|
407
413
|
"h_511f7ba65081": {
|
|
408
414
|
"key": "storeCommon.errorTitle",
|
|
409
415
|
"source": "Something did not load.",
|
|
@@ -1628,6 +1634,60 @@
|
|
|
1628
1634
|
"translation": "Ẩn quyền lợi của gói",
|
|
1629
1635
|
"origin": "machine"
|
|
1630
1636
|
},
|
|
1637
|
+
"h_06730987dbe4": {
|
|
1638
|
+
"key": "program.openParticipantCta",
|
|
1639
|
+
"source": "Open program",
|
|
1640
|
+
"translation": "Mở chương trình",
|
|
1641
|
+
"origin": "machine"
|
|
1642
|
+
},
|
|
1643
|
+
"h_0efc2e6be4c2": {
|
|
1644
|
+
"key": "programParticipant.tabOverview",
|
|
1645
|
+
"source": "Overview",
|
|
1646
|
+
"translation": "Tổng quan",
|
|
1647
|
+
"origin": "machine"
|
|
1648
|
+
},
|
|
1649
|
+
"h_44a680dfdf8d": {
|
|
1650
|
+
"key": "programParticipant.progressTitle",
|
|
1651
|
+
"source": "Your progress",
|
|
1652
|
+
"translation": "Tiến độ của bạn",
|
|
1653
|
+
"origin": "machine"
|
|
1654
|
+
},
|
|
1655
|
+
"h_5500eef9fdb1": {
|
|
1656
|
+
"key": "programParticipant.upNext",
|
|
1657
|
+
"source": "Next step",
|
|
1658
|
+
"translation": "Bước tiếp theo",
|
|
1659
|
+
"origin": "machine"
|
|
1660
|
+
},
|
|
1661
|
+
"h_56fb7336f231": {
|
|
1662
|
+
"key": "programParticipant.aboutTitle",
|
|
1663
|
+
"source": "About this program",
|
|
1664
|
+
"translation": "Giới thiệu chương trình",
|
|
1665
|
+
"origin": "machine"
|
|
1666
|
+
},
|
|
1667
|
+
"h_77c6038003ac": {
|
|
1668
|
+
"key": "programParticipant.nextStepCta",
|
|
1669
|
+
"source": "Go to step",
|
|
1670
|
+
"translation": "Đi đến bước",
|
|
1671
|
+
"origin": "machine"
|
|
1672
|
+
},
|
|
1673
|
+
"h_9a78430145b2": {
|
|
1674
|
+
"key": "programParticipant.signInTitle",
|
|
1675
|
+
"source": "Sign in to continue",
|
|
1676
|
+
"translation": "Đăng nhập để tiếp tục",
|
|
1677
|
+
"origin": "machine"
|
|
1678
|
+
},
|
|
1679
|
+
"h_b7e6af80dc3e": {
|
|
1680
|
+
"key": "programParticipant.signInBody",
|
|
1681
|
+
"source": "Sign in to see your progress and the program's steps.",
|
|
1682
|
+
"translation": "Đăng nhập để xem tiến độ và các bước của chương trình.",
|
|
1683
|
+
"origin": "machine"
|
|
1684
|
+
},
|
|
1685
|
+
"h_f813833428da": {
|
|
1686
|
+
"key": "programParticipant.tabsA11y",
|
|
1687
|
+
"source": "Program sections",
|
|
1688
|
+
"translation": "Các phần của chương trình",
|
|
1689
|
+
"origin": "machine"
|
|
1690
|
+
},
|
|
1631
1691
|
"h_03e89418ffdf": {
|
|
1632
1692
|
"source": "Your Home",
|
|
1633
1693
|
"translation": "Trang chủ của bạn",
|
|
@@ -2798,6 +2858,16 @@
|
|
|
2798
2858
|
"translation": "Trang web này không chấp nhận thanh toán trực tuyến. Hãy quay lại hoặc liên hệ doanh nghiệp để biết các cách thanh toán khác.",
|
|
2799
2859
|
"origin": "machine"
|
|
2800
2860
|
},
|
|
2861
|
+
"h_da50069f13cc": {
|
|
2862
|
+
"source": "The business can't confirm bookings in the app right now. Contact the business to book.",
|
|
2863
|
+
"translation": "Doanh nghiệp hiện không thể xác nhận lịch đặt trong ứng dụng. Hãy liên hệ doanh nghiệp để đặt lịch.",
|
|
2864
|
+
"origin": "machine"
|
|
2865
|
+
},
|
|
2866
|
+
"h_7e5f2ad0967c": {
|
|
2867
|
+
"source": "We couldn't check if your booking is confirmed. See My Bookings before you book again.",
|
|
2868
|
+
"translation": "Chúng tôi không thể kiểm tra lịch đặt của bạn đã được xác nhận hay chưa. Hãy xem Lịch đặt của tôi trước khi đặt lại.",
|
|
2869
|
+
"origin": "machine"
|
|
2870
|
+
},
|
|
2801
2871
|
"h_1b8bca7c2765": {
|
|
2802
2872
|
"source": "Change Time",
|
|
2803
2873
|
"translation": "Đổi giờ",
|
|
@@ -3228,6 +3298,16 @@
|
|
|
3228
3298
|
"translation": "Bạn đang ngoại tuyến, chưa có gì được lưu. Hãy thử lại khi bạn kết nối lại.",
|
|
3229
3299
|
"origin": "machine"
|
|
3230
3300
|
},
|
|
3301
|
+
"h_25c86f6a9245": {
|
|
3302
|
+
"source": "Quiz",
|
|
3303
|
+
"translation": "Câu đố",
|
|
3304
|
+
"origin": "machine"
|
|
3305
|
+
},
|
|
3306
|
+
"h_4360c2dcd4af": {
|
|
3307
|
+
"source": "Article",
|
|
3308
|
+
"translation": "Bài viết",
|
|
3309
|
+
"origin": "machine"
|
|
3310
|
+
},
|
|
3231
3311
|
"h_a69f482dfa32": {
|
|
3232
3312
|
"source": "Just now",
|
|
3233
3313
|
"translation": "Mới xong",
|
|
@@ -3238,6 +3318,11 @@
|
|
|
3238
3318
|
"translation": "Video",
|
|
3239
3319
|
"origin": "one-app:wix-one-groups:NEW_POST_CTA_VIDEO"
|
|
3240
3320
|
},
|
|
3321
|
+
"h_f2c6b564bd81": {
|
|
3322
|
+
"source": "Section",
|
|
3323
|
+
"translation": "Phần",
|
|
3324
|
+
"origin": "machine"
|
|
3325
|
+
},
|
|
3241
3326
|
"h_835f3b50e337": {
|
|
3242
3327
|
"source": "selected",
|
|
3243
3328
|
"translation": "đã chọn",
|
|
@@ -4537,6 +4622,71 @@
|
|
|
4537
4622
|
"source": "Service",
|
|
4538
4623
|
"translation": "Dịch vụ",
|
|
4539
4624
|
"origin": "machine"
|
|
4625
|
+
},
|
|
4626
|
+
"h_1d1f4ff8dad3": {
|
|
4627
|
+
"source": "{done} of {total} steps · {pct}%",
|
|
4628
|
+
"translation": "{done}/{total} bước · {pct}%",
|
|
4629
|
+
"origin": "machine"
|
|
4630
|
+
},
|
|
4631
|
+
"h_97c409ee70c5": {
|
|
4632
|
+
"source": "You completed every step.",
|
|
4633
|
+
"translation": "Bạn đã hoàn thành mọi bước.",
|
|
4634
|
+
"origin": "machine"
|
|
4635
|
+
},
|
|
4636
|
+
"h_874467aa5ec7": {
|
|
4637
|
+
"source": "Your next section opens {date}.",
|
|
4638
|
+
"translation": "Phần tiếp theo của bạn mở vào {date}.",
|
|
4639
|
+
"origin": "machine"
|
|
4640
|
+
},
|
|
4641
|
+
"h_f7e4acee74d9": {
|
|
4642
|
+
"source": "This program has no steps yet.",
|
|
4643
|
+
"translation": "Chương trình này chưa có bước nào.",
|
|
4644
|
+
"origin": "machine"
|
|
4645
|
+
},
|
|
4646
|
+
"h_681d337c1e7f": {
|
|
4647
|
+
"source": "This program's steps can't be shown in the app right now.",
|
|
4648
|
+
"translation": "Hiện không thể hiển thị các bước của chương trình này trong ứng dụng.",
|
|
4649
|
+
"origin": "machine"
|
|
4650
|
+
},
|
|
4651
|
+
"h_4f26d0f109b2": {
|
|
4652
|
+
"source": "You're not in this program yet. Open the program to join it.",
|
|
4653
|
+
"translation": "Bạn chưa tham gia chương trình này. Mở chương trình để tham gia.",
|
|
4654
|
+
"origin": "machine"
|
|
4655
|
+
},
|
|
4656
|
+
"h_7dec5d4043f2": {
|
|
4657
|
+
"source": "Your participation in this program is paused.",
|
|
4658
|
+
"translation": "Việc tham gia chương trình này của bạn đang tạm dừng.",
|
|
4659
|
+
"origin": "machine"
|
|
4660
|
+
},
|
|
4661
|
+
"h_dc416e1088e4": {
|
|
4662
|
+
"source": "Step",
|
|
4663
|
+
"translation": "Bước",
|
|
4664
|
+
"origin": "machine"
|
|
4665
|
+
},
|
|
4666
|
+
"h_e67a54c89f62": {
|
|
4667
|
+
"source": "Opens {date}",
|
|
4668
|
+
"translation": "Mở vào {date}",
|
|
4669
|
+
"origin": "machine"
|
|
4670
|
+
},
|
|
4671
|
+
"h_29869c510010": {
|
|
4672
|
+
"source": "1 step",
|
|
4673
|
+
"translation": "1 bước",
|
|
4674
|
+
"origin": "machine"
|
|
4675
|
+
},
|
|
4676
|
+
"h_2d030aa2176d": {
|
|
4677
|
+
"source": "{count} steps",
|
|
4678
|
+
"translation": "{count} bước",
|
|
4679
|
+
"origin": "machine"
|
|
4680
|
+
},
|
|
4681
|
+
"h_bb96725d3f73": {
|
|
4682
|
+
"source": "Not done",
|
|
4683
|
+
"translation": "Chưa hoàn thành",
|
|
4684
|
+
"origin": "machine"
|
|
4685
|
+
},
|
|
4686
|
+
"h_a798882f1c31": {
|
|
4687
|
+
"source": "Locked",
|
|
4688
|
+
"translation": "Đã khóa",
|
|
4689
|
+
"origin": "machine"
|
|
4540
4690
|
}
|
|
4541
4691
|
}
|
|
4542
4692
|
}
|
|
@@ -404,6 +404,12 @@
|
|
|
404
404
|
"translation": "返回登入",
|
|
405
405
|
"origin": "machine"
|
|
406
406
|
},
|
|
407
|
+
"h_4f9be057f0ea": {
|
|
408
|
+
"key": "tab.cms",
|
|
409
|
+
"source": "Content",
|
|
410
|
+
"translation": "內容",
|
|
411
|
+
"origin": "one-app:wix-one-app-video-maker__wix-one-app-video-strings__messages_en.json:VIDEO_MAKER_CUSTOMIZE_WIZARD_STEP_CONTENT"
|
|
412
|
+
},
|
|
407
413
|
"h_511f7ba65081": {
|
|
408
414
|
"key": "storeCommon.errorTitle",
|
|
409
415
|
"source": "Something did not load.",
|
|
@@ -1628,6 +1634,60 @@
|
|
|
1628
1634
|
"translation": "隱藏方案福利",
|
|
1629
1635
|
"origin": "machine"
|
|
1630
1636
|
},
|
|
1637
|
+
"h_06730987dbe4": {
|
|
1638
|
+
"key": "program.openParticipantCta",
|
|
1639
|
+
"source": "Open program",
|
|
1640
|
+
"translation": "開啟課程",
|
|
1641
|
+
"origin": "machine"
|
|
1642
|
+
},
|
|
1643
|
+
"h_0efc2e6be4c2": {
|
|
1644
|
+
"key": "programParticipant.tabOverview",
|
|
1645
|
+
"source": "Overview",
|
|
1646
|
+
"translation": "總覽",
|
|
1647
|
+
"origin": "machine"
|
|
1648
|
+
},
|
|
1649
|
+
"h_44a680dfdf8d": {
|
|
1650
|
+
"key": "programParticipant.progressTitle",
|
|
1651
|
+
"source": "Your progress",
|
|
1652
|
+
"translation": "你的進度",
|
|
1653
|
+
"origin": "machine"
|
|
1654
|
+
},
|
|
1655
|
+
"h_5500eef9fdb1": {
|
|
1656
|
+
"key": "programParticipant.upNext",
|
|
1657
|
+
"source": "Next step",
|
|
1658
|
+
"translation": "下一步",
|
|
1659
|
+
"origin": "machine"
|
|
1660
|
+
},
|
|
1661
|
+
"h_56fb7336f231": {
|
|
1662
|
+
"key": "programParticipant.aboutTitle",
|
|
1663
|
+
"source": "About this program",
|
|
1664
|
+
"translation": "關於此課程",
|
|
1665
|
+
"origin": "machine"
|
|
1666
|
+
},
|
|
1667
|
+
"h_77c6038003ac": {
|
|
1668
|
+
"key": "programParticipant.nextStepCta",
|
|
1669
|
+
"source": "Go to step",
|
|
1670
|
+
"translation": "前往步驟",
|
|
1671
|
+
"origin": "machine"
|
|
1672
|
+
},
|
|
1673
|
+
"h_9a78430145b2": {
|
|
1674
|
+
"key": "programParticipant.signInTitle",
|
|
1675
|
+
"source": "Sign in to continue",
|
|
1676
|
+
"translation": "登入以繼續",
|
|
1677
|
+
"origin": "machine"
|
|
1678
|
+
},
|
|
1679
|
+
"h_b7e6af80dc3e": {
|
|
1680
|
+
"key": "programParticipant.signInBody",
|
|
1681
|
+
"source": "Sign in to see your progress and the program's steps.",
|
|
1682
|
+
"translation": "登入即可查看你的進度與課程步驟。",
|
|
1683
|
+
"origin": "machine"
|
|
1684
|
+
},
|
|
1685
|
+
"h_f813833428da": {
|
|
1686
|
+
"key": "programParticipant.tabsA11y",
|
|
1687
|
+
"source": "Program sections",
|
|
1688
|
+
"translation": "課程章節",
|
|
1689
|
+
"origin": "machine"
|
|
1690
|
+
},
|
|
1631
1691
|
"h_03e89418ffdf": {
|
|
1632
1692
|
"source": "Your Home",
|
|
1633
1693
|
"translation": "您的首頁",
|
|
@@ -2798,6 +2858,16 @@
|
|
|
2798
2858
|
"translation": "此網站不接受線上付款。請返回,或聯絡商家了解其他付款方式。",
|
|
2799
2859
|
"origin": "machine"
|
|
2800
2860
|
},
|
|
2861
|
+
"h_da50069f13cc": {
|
|
2862
|
+
"source": "The business can't confirm bookings in the app right now. Contact the business to book.",
|
|
2863
|
+
"translation": "商家目前無法在應用程式中確認預訂。請聯絡商家進行預訂。",
|
|
2864
|
+
"origin": "machine"
|
|
2865
|
+
},
|
|
2866
|
+
"h_7e5f2ad0967c": {
|
|
2867
|
+
"source": "We couldn't check if your booking is confirmed. See My Bookings before you book again.",
|
|
2868
|
+
"translation": "我們無法確認你的預訂是否已確認。再次預訂前,請先查看我的預訂。",
|
|
2869
|
+
"origin": "machine"
|
|
2870
|
+
},
|
|
2801
2871
|
"h_1b8bca7c2765": {
|
|
2802
2872
|
"source": "Change Time",
|
|
2803
2873
|
"translation": "變更時間",
|
|
@@ -3228,6 +3298,16 @@
|
|
|
3228
3298
|
"translation": "您目前離線,沒有儲存任何內容。請在重新連線後再試一次。",
|
|
3229
3299
|
"origin": "machine"
|
|
3230
3300
|
},
|
|
3301
|
+
"h_25c86f6a9245": {
|
|
3302
|
+
"source": "Quiz",
|
|
3303
|
+
"translation": "測驗",
|
|
3304
|
+
"origin": "machine"
|
|
3305
|
+
},
|
|
3306
|
+
"h_4360c2dcd4af": {
|
|
3307
|
+
"source": "Article",
|
|
3308
|
+
"translation": "文章",
|
|
3309
|
+
"origin": "machine"
|
|
3310
|
+
},
|
|
3231
3311
|
"h_a69f482dfa32": {
|
|
3232
3312
|
"source": "Just now",
|
|
3233
3313
|
"translation": "剛才",
|
|
@@ -3238,6 +3318,11 @@
|
|
|
3238
3318
|
"translation": "影片",
|
|
3239
3319
|
"origin": "one-app:wix-one-app-forms:MEDIA_TYPE_VIDEO"
|
|
3240
3320
|
},
|
|
3321
|
+
"h_f2c6b564bd81": {
|
|
3322
|
+
"source": "Section",
|
|
3323
|
+
"translation": "單元",
|
|
3324
|
+
"origin": "machine"
|
|
3325
|
+
},
|
|
3241
3326
|
"h_835f3b50e337": {
|
|
3242
3327
|
"source": "selected",
|
|
3243
3328
|
"translation": "已選擇",
|
|
@@ -4537,6 +4622,71 @@
|
|
|
4537
4622
|
"source": "Service",
|
|
4538
4623
|
"translation": "服务",
|
|
4539
4624
|
"origin": "machine"
|
|
4625
|
+
},
|
|
4626
|
+
"h_1d1f4ff8dad3": {
|
|
4627
|
+
"source": "{done} of {total} steps · {pct}%",
|
|
4628
|
+
"translation": "已完成 {done}/{total} 個步驟 · {pct}%",
|
|
4629
|
+
"origin": "machine"
|
|
4630
|
+
},
|
|
4631
|
+
"h_97c409ee70c5": {
|
|
4632
|
+
"source": "You completed every step.",
|
|
4633
|
+
"translation": "你已完成所有步驟。",
|
|
4634
|
+
"origin": "machine"
|
|
4635
|
+
},
|
|
4636
|
+
"h_874467aa5ec7": {
|
|
4637
|
+
"source": "Your next section opens {date}.",
|
|
4638
|
+
"translation": "你的下一個章節將於 {date} 開放。",
|
|
4639
|
+
"origin": "machine"
|
|
4640
|
+
},
|
|
4641
|
+
"h_f7e4acee74d9": {
|
|
4642
|
+
"source": "This program has no steps yet.",
|
|
4643
|
+
"translation": "此課程尚無步驟。",
|
|
4644
|
+
"origin": "machine"
|
|
4645
|
+
},
|
|
4646
|
+
"h_681d337c1e7f": {
|
|
4647
|
+
"source": "This program's steps can't be shown in the app right now.",
|
|
4648
|
+
"translation": "目前無法在 App 中顯示此課程的步驟。",
|
|
4649
|
+
"origin": "machine"
|
|
4650
|
+
},
|
|
4651
|
+
"h_4f26d0f109b2": {
|
|
4652
|
+
"source": "You're not in this program yet. Open the program to join it.",
|
|
4653
|
+
"translation": "你尚未參加此課程。開啟課程即可加入。",
|
|
4654
|
+
"origin": "machine"
|
|
4655
|
+
},
|
|
4656
|
+
"h_7dec5d4043f2": {
|
|
4657
|
+
"source": "Your participation in this program is paused.",
|
|
4658
|
+
"translation": "你在此課程的參與已暫停。",
|
|
4659
|
+
"origin": "machine"
|
|
4660
|
+
},
|
|
4661
|
+
"h_dc416e1088e4": {
|
|
4662
|
+
"source": "Step",
|
|
4663
|
+
"translation": "步驟",
|
|
4664
|
+
"origin": "machine"
|
|
4665
|
+
},
|
|
4666
|
+
"h_e67a54c89f62": {
|
|
4667
|
+
"source": "Opens {date}",
|
|
4668
|
+
"translation": "{date} 開放",
|
|
4669
|
+
"origin": "machine"
|
|
4670
|
+
},
|
|
4671
|
+
"h_29869c510010": {
|
|
4672
|
+
"source": "1 step",
|
|
4673
|
+
"translation": "1 個步驟",
|
|
4674
|
+
"origin": "machine"
|
|
4675
|
+
},
|
|
4676
|
+
"h_2d030aa2176d": {
|
|
4677
|
+
"source": "{count} steps",
|
|
4678
|
+
"translation": "{count} 個步驟",
|
|
4679
|
+
"origin": "machine"
|
|
4680
|
+
},
|
|
4681
|
+
"h_bb96725d3f73": {
|
|
4682
|
+
"source": "Not done",
|
|
4683
|
+
"translation": "未完成",
|
|
4684
|
+
"origin": "machine"
|
|
4685
|
+
},
|
|
4686
|
+
"h_a798882f1c31": {
|
|
4687
|
+
"source": "Locked",
|
|
4688
|
+
"translation": "已鎖定",
|
|
4689
|
+
"origin": "machine"
|
|
4540
4690
|
}
|
|
4541
4691
|
}
|
|
4542
4692
|
}
|
|
@@ -123,6 +123,7 @@ export const HOSTED_SCREEN_VERTICALS: Readonly<Record<string, readonly BrandedLi
|
|
|
123
123
|
himi_portfolio_project: ["portfolio"],
|
|
124
124
|
himi_programs: ["programs"],
|
|
125
125
|
himi_member_programs: ["programs"],
|
|
126
|
+
himi_program_participant: ["programs"],
|
|
126
127
|
himi_reservations: ["reservations"],
|
|
127
128
|
himi_reserve: ["restaurants"],
|
|
128
129
|
himi_review: ["reviews"],
|
|
@@ -29,6 +29,19 @@ async function fenced<T>(identity: ChatIdentity, run: () => Promise<T>): Promise
|
|
|
29
29
|
/** Any other member-scoped call (the AI chat's) goes through the same fence. */
|
|
30
30
|
export const fence = fenced;
|
|
31
31
|
|
|
32
|
+
/** A signed-out visitor's Smart Chat calls are fenced the other way: still signed out before the request goes
|
|
33
|
+
* out and again before its response is used, so signing in mid-request never mixes the visitor's chat into
|
|
34
|
+
* the member's. Fails as `MemberAccessChanged`, like the member fence, so callers handle both alike. */
|
|
35
|
+
async function assertStillVisitor(): Promise<void> {
|
|
36
|
+
if ((await memberAccess()).email) throw Object.assign(new Error("visitor_signed_in"), { name: "MemberAccessChanged" });
|
|
37
|
+
}
|
|
38
|
+
export async function visitorFence<T>(run: () => Promise<T>): Promise<T> {
|
|
39
|
+
await assertStillVisitor();
|
|
40
|
+
const result = await run();
|
|
41
|
+
await assertStillVisitor();
|
|
42
|
+
return result;
|
|
43
|
+
}
|
|
44
|
+
|
|
32
45
|
// Minting a chat token is a network round trip, and every chat call used to mint its own. One token
|
|
33
46
|
// per member is reused until the member changes or a request using it is refused.
|
|
34
47
|
let cachedToken: { key: string; token: string } | null = null;
|
|
@@ -44,7 +57,7 @@ async function chatTokenFor(identity: ChatIdentity): Promise<string> {
|
|
|
44
57
|
return chatToken;
|
|
45
58
|
}
|
|
46
59
|
/** Runs `run` with the member's cached token; a refused request mints a fresh token and tries once more. */
|
|
47
|
-
async function withToken<T>(identity: ChatIdentity, run: (chatToken: string) => Promise<T>): Promise<T> {
|
|
60
|
+
export async function withToken<T>(identity: ChatIdentity, run: (chatToken: string) => Promise<T>): Promise<T> {
|
|
48
61
|
const reused = cachedToken?.key === tokenKey(identity);
|
|
49
62
|
try {
|
|
50
63
|
return await run(await chatTokenFor(identity));
|
|
@@ -80,7 +93,7 @@ export const unreadRoomCount = (identity: ChatIdentity): Promise<number> => fenc
|
|
|
80
93
|
export const messagesPage = (identity: ChatIdentity, roomId: string): Promise<Raw[]> => fenced(identity, async () =>
|
|
81
94
|
(await withToken(identity, (chatToken) => getMessagesPage(roomId, { ...MEMBER, chatToken, pageSize: 50, ordering: "Desc" }))).items as unknown as Raw[]);
|
|
82
95
|
|
|
83
|
-
function bridge(): Bridge {
|
|
96
|
+
export function bridge(): Bridge {
|
|
84
97
|
const api = (globalThis as unknown as { himalaya?: { wixApi?: Bridge } }).himalaya?.wixApi;
|
|
85
98
|
if (!api) throw new Error("wix_api_bridge_unavailable");
|
|
86
99
|
return api;
|
|
@@ -89,7 +102,10 @@ function bridge(): Bridge {
|
|
|
89
102
|
* Wix Smart Chat and the AI can answer it; a message posted straight into the room has no channel, so the AI never
|
|
90
103
|
* saw it and the owner's reply went out by email. Smart Chat chooses the conversation and stored message id.
|
|
91
104
|
* The bridge resolves once the AI has finished answering, not when the message is stored. */
|
|
92
|
-
export const sendMessage = (identity: ChatIdentity, text: string): Promise<string | undefined> => fenced(identity,
|
|
105
|
+
export const sendMessage = (identity: ChatIdentity, text: string): Promise<string | undefined> => fenced(identity, () => postQuestion(text));
|
|
106
|
+
/** The same Smart Chat send for a signed-out visitor: Smart Chat accepts the anonymous visitor token. */
|
|
107
|
+
export const sendVisitorMessage = (text: string): Promise<string | undefined> => visitorFence(() => postQuestion(text));
|
|
108
|
+
async function postQuestion(text: string): Promise<string | undefined> {
|
|
93
109
|
const response = await bridge().call("POST", "/wix-assistant-widget/v1/messages/stream", {
|
|
94
110
|
message: { sender: "SITE_VISITOR", messageType: "QUESTION", body: { mainText: text } },
|
|
95
111
|
});
|
|
@@ -123,7 +139,7 @@ export const sendMessage = (identity: ChatIdentity, text: string): Promise<strin
|
|
|
123
139
|
if (input?.sender === "SITE_VISITOR" && input.messageType === "QUESTION" && typeof input.id === "string" && input.id) return `smart-chat:${input.id}`;
|
|
124
140
|
}
|
|
125
141
|
return undefined;
|
|
126
|
-
}
|
|
142
|
+
}
|
|
127
143
|
/** A tapped button is a silent, ephemeral message carrying the button's chat action. */
|
|
128
144
|
export const sendButton = (identity: ChatIdentity, roomId: string, input: { id: string; text: string; appId: string; interactionId: string }): Promise<void> => fenced(identity, async () => {
|
|
129
145
|
await withToken(identity, (chatToken) => bridge().call("POST", `${MANAGE}/_api/chat-web/v2/chatrooms/${encodeURIComponent(roomId)}/messages`, {
|
|
@@ -119,6 +119,12 @@ export function formatMonthDayLong(date: Date, locale = appLocale(), timeZone?:
|
|
|
119
119
|
|
|
120
120
|
const WEEKDAYS_LONG = ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"] as const;
|
|
121
121
|
|
|
122
|
+
/** `{ weekday: "short" }` — "Mon". */
|
|
123
|
+
export function formatWeekdayShort(date: Date, locale = appLocale(), timeZone?: string): string {
|
|
124
|
+
if (hasIntl()) return dateFormat(locale, { weekday: "short" }, timeZone).format(date);
|
|
125
|
+
return WEEKDAYS_SHORT[date.getDay()]!;
|
|
126
|
+
}
|
|
127
|
+
|
|
122
128
|
/** `{ weekday: "short", month: "short", day: "numeric" }` — "Mon, Jan 5". */
|
|
123
129
|
export function formatWeekdayMonthDay(date: Date, locale = appLocale(), timeZone?: string): string {
|
|
124
130
|
if (hasIntl()) {
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// How a worker reads an Online Program's lifecycle and name. Wix returns them in more than one
|
|
2
|
+
// shape (v3 `status` or `state`; `description.title`, `settings.title`, a flat `title` or
|
|
3
|
+
// `details.title`), so every screen that lists programs reads them here, the same way.
|
|
4
|
+
import type { WixProgram } from "@himalaya/wix-online-programs";
|
|
5
|
+
import { cleanTitle } from "./himi-text.js";
|
|
6
|
+
|
|
7
|
+
export function programStatus(p: WixProgram): string {
|
|
8
|
+
return (p.status ?? p.state ?? "").toUpperCase();
|
|
9
|
+
}
|
|
10
|
+
export const isProgramEnded = (p: WixProgram): boolean => programStatus(p) === "ENDED" || programStatus(p) === "FINISHED";
|
|
11
|
+
export const isProgramDraft = (p: WixProgram): boolean => programStatus(p) === "DRAFT";
|
|
12
|
+
|
|
13
|
+
/** The program's own name, cleaned; "" when it has none (the caller picks its own fallback word). */
|
|
14
|
+
export function programName(p: WixProgram): string {
|
|
15
|
+
return cleanTitle(p.description?.title ?? p.settings?.title ?? p.title ?? p.details?.title);
|
|
16
|
+
}
|