@wix/himalaya-cli 0.2053.0 → 0.2055.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/stdlib/wix-sdk/members-v1/src/index.d.ts +31 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-members.mjs +12 -0
- package/dist/cli.mjs +846 -746
- package/fixtures/wix-canned.json +1 -0
- package/guides/sdk-reference.json +35 -1
- package/package.json +2 -2
- package/templates/bare-fashion/tier5-src/_shared/about-text.ts +8 -0
- package/templates/bare-fashion/tier5-src/_shared/detail-presence.ts +51 -0
- package/templates/bare-fashion/tier5-src/_shared/owner-editor-value.ts +164 -0
- package/templates/bare-fashion/tier5-src/himi-branded-lite-account-settings/about.ts +134 -0
- package/templates/bare-fashion/tier5-src/himi-branded-lite-account-settings/index.ts +3 -1
- package/templates/bare-fashion/tier5-src/himi-branded-lite-account-settings/personal-info.ts +44 -5
- package/templates/bare-fashion/tier5-src/himi-branded-lite-account-settings/shared.ts +21 -1
- package/templates/beauty-salon/config.ts +7 -0
- package/templates/beauty-salon/dev/index.ts +436 -1
- package/templates/beauty-salon/himalaya.content.json +3 -0
- package/templates/beauty-salon/l10n/ar.json +28 -0
- package/templates/beauty-salon/l10n/cs.json +28 -0
- package/templates/beauty-salon/l10n/da.json +28 -0
- package/templates/beauty-salon/l10n/de.json +28 -0
- package/templates/beauty-salon/l10n/el.json +28 -0
- package/templates/beauty-salon/l10n/en.json +22 -1
- package/templates/beauty-salon/l10n/es.json +28 -0
- package/templates/beauty-salon/l10n/fi.json +28 -0
- package/templates/beauty-salon/l10n/fr.json +28 -0
- package/templates/beauty-salon/l10n/he.json +23 -0
- package/templates/beauty-salon/l10n/hu.json +28 -0
- package/templates/beauty-salon/l10n/id.json +28 -0
- package/templates/beauty-salon/l10n/it.json +28 -0
- package/templates/beauty-salon/l10n/ja.json +28 -0
- package/templates/beauty-salon/l10n/ko.json +28 -0
- package/templates/beauty-salon/l10n/lt.json +28 -0
- package/templates/beauty-salon/l10n/nl.json +28 -0
- package/templates/beauty-salon/l10n/no.json +28 -0
- package/templates/beauty-salon/l10n/pl.json +28 -0
- package/templates/beauty-salon/l10n/pt.json +28 -0
- package/templates/beauty-salon/l10n/ru.json +28 -0
- package/templates/beauty-salon/l10n/sv.json +28 -0
- package/templates/beauty-salon/l10n/th.json +28 -0
- package/templates/beauty-salon/l10n/tr.json +28 -0
- package/templates/beauty-salon/l10n/uk.json +28 -0
- package/templates/beauty-salon/l10n/vi.json +28 -0
- package/templates/beauty-salon/l10n/zh.json +28 -0
- package/templates/beauty-salon/tier5-src/himi-branded-lite-account-settings/about.ts +134 -0
- package/templates/beauty-salon/tier5-src/himi-branded-lite-account-settings/index.ts +3 -1
- package/templates/beauty-salon/tier5-src/himi-branded-lite-account-settings/personal-info.ts +44 -5
- package/templates/beauty-salon/tier5-src/himi-branded-lite-account-settings/shared.ts +21 -1
- package/templates/branded-lite/config.ts +7 -0
- package/templates/branded-lite/dev/index.ts +436 -1
- package/templates/branded-lite/himalaya.content.json +3 -0
- package/templates/branded-lite/l10n/ar.json +28 -0
- package/templates/branded-lite/l10n/cs.json +28 -0
- package/templates/branded-lite/l10n/da.json +28 -0
- package/templates/branded-lite/l10n/de.json +28 -0
- package/templates/branded-lite/l10n/el.json +28 -0
- package/templates/branded-lite/l10n/en.json +22 -1
- package/templates/branded-lite/l10n/es.json +28 -0
- package/templates/branded-lite/l10n/fi.json +28 -0
- package/templates/branded-lite/l10n/fr.json +28 -0
- package/templates/branded-lite/l10n/he.json +23 -0
- package/templates/branded-lite/l10n/hu.json +28 -0
- package/templates/branded-lite/l10n/id.json +28 -0
- package/templates/branded-lite/l10n/it.json +28 -0
- package/templates/branded-lite/l10n/ja.json +28 -0
- package/templates/branded-lite/l10n/ko.json +28 -0
- package/templates/branded-lite/l10n/lt.json +28 -0
- package/templates/branded-lite/l10n/nl.json +28 -0
- package/templates/branded-lite/l10n/no.json +28 -0
- package/templates/branded-lite/l10n/pl.json +28 -0
- package/templates/branded-lite/l10n/pt.json +28 -0
- package/templates/branded-lite/l10n/ru.json +28 -0
- package/templates/branded-lite/l10n/sv.json +28 -0
- package/templates/branded-lite/l10n/th.json +28 -0
- package/templates/branded-lite/l10n/tr.json +28 -0
- package/templates/branded-lite/l10n/uk.json +28 -0
- package/templates/branded-lite/l10n/vi.json +28 -0
- package/templates/branded-lite/l10n/zh.json +28 -0
- package/templates/branded-lite/tier5-src/himi-branded-lite-account-settings/about.ts +134 -0
- package/templates/branded-lite/tier5-src/himi-branded-lite-account-settings/index.ts +3 -1
- package/templates/branded-lite/tier5-src/himi-branded-lite-account-settings/personal-info.ts +44 -5
- package/templates/branded-lite/tier5-src/himi-branded-lite-account-settings/shared.ts +21 -1
- package/templates/brandy/tier5-src/_shared/about-text.ts +8 -0
- package/templates/brandy/tier5-src/_shared/owner-editor-value.ts +164 -0
- package/templates/brandy/tier5-src/himi-branded-lite-account-settings/about.ts +134 -0
- package/templates/brandy/tier5-src/himi-branded-lite-account-settings/index.ts +3 -1
- package/templates/brandy/tier5-src/himi-branded-lite-account-settings/personal-info.ts +44 -5
- package/templates/brandy/tier5-src/himi-branded-lite-account-settings/shared.ts +21 -1
- package/templates/community-club/config.ts +7 -0
- package/templates/community-club/dev/index.ts +436 -1
- package/templates/community-club/himalaya.content.json +3 -0
- package/templates/community-club/l10n/ar.json +28 -0
- package/templates/community-club/l10n/cs.json +28 -0
- package/templates/community-club/l10n/da.json +28 -0
- package/templates/community-club/l10n/de.json +28 -0
- package/templates/community-club/l10n/el.json +28 -0
- package/templates/community-club/l10n/en.json +22 -1
- package/templates/community-club/l10n/es.json +28 -0
- package/templates/community-club/l10n/fi.json +28 -0
- package/templates/community-club/l10n/fr.json +28 -0
- package/templates/community-club/l10n/he.json +23 -0
- package/templates/community-club/l10n/hu.json +28 -0
- package/templates/community-club/l10n/id.json +28 -0
- package/templates/community-club/l10n/it.json +28 -0
- package/templates/community-club/l10n/ja.json +28 -0
- package/templates/community-club/l10n/ko.json +28 -0
- package/templates/community-club/l10n/lt.json +28 -0
- package/templates/community-club/l10n/nl.json +28 -0
- package/templates/community-club/l10n/no.json +28 -0
- package/templates/community-club/l10n/pl.json +28 -0
- package/templates/community-club/l10n/pt.json +28 -0
- package/templates/community-club/l10n/ru.json +28 -0
- package/templates/community-club/l10n/sv.json +28 -0
- package/templates/community-club/l10n/th.json +28 -0
- package/templates/community-club/l10n/tr.json +28 -0
- package/templates/community-club/l10n/uk.json +28 -0
- package/templates/community-club/l10n/vi.json +28 -0
- package/templates/community-club/l10n/zh.json +28 -0
- package/templates/community-club/tier5-src/_shared/owner-editor-value.ts +164 -0
- package/templates/community-club/tier5-src/himi-branded-lite-account-settings/about.ts +134 -0
- package/templates/community-club/tier5-src/himi-branded-lite-account-settings/index.ts +3 -1
- package/templates/community-club/tier5-src/himi-branded-lite-account-settings/personal-info.ts +44 -5
- package/templates/community-club/tier5-src/himi-branded-lite-account-settings/shared.ts +21 -1
- package/templates/conference/tier5-src/_shared/about-text.ts +8 -0
- package/templates/conference/tier5-src/_shared/detail-presence.ts +51 -0
- package/templates/conference/tier5-src/_shared/owner-editor-value.ts +164 -0
- package/templates/conference/tier5-src/himi-branded-lite-account-settings/about.ts +134 -0
- package/templates/conference/tier5-src/himi-branded-lite-account-settings/index.ts +3 -1
- package/templates/conference/tier5-src/himi-branded-lite-account-settings/personal-info.ts +44 -5
- package/templates/conference/tier5-src/himi-branded-lite-account-settings/shared.ts +21 -1
- package/templates/events-meetups/config.ts +7 -0
- package/templates/events-meetups/dev/index.ts +436 -1
- package/templates/events-meetups/himalaya.content.json +3 -0
- package/templates/events-meetups/l10n/ar.json +28 -0
- package/templates/events-meetups/l10n/cs.json +28 -0
- package/templates/events-meetups/l10n/da.json +28 -0
- package/templates/events-meetups/l10n/de.json +28 -0
- package/templates/events-meetups/l10n/el.json +28 -0
- package/templates/events-meetups/l10n/en.json +22 -1
- package/templates/events-meetups/l10n/es.json +28 -0
- package/templates/events-meetups/l10n/fi.json +28 -0
- package/templates/events-meetups/l10n/fr.json +28 -0
- package/templates/events-meetups/l10n/he.json +23 -0
- package/templates/events-meetups/l10n/hu.json +28 -0
- package/templates/events-meetups/l10n/id.json +28 -0
- package/templates/events-meetups/l10n/it.json +28 -0
- package/templates/events-meetups/l10n/ja.json +28 -0
- package/templates/events-meetups/l10n/ko.json +28 -0
- package/templates/events-meetups/l10n/lt.json +28 -0
- package/templates/events-meetups/l10n/nl.json +28 -0
- package/templates/events-meetups/l10n/no.json +28 -0
- package/templates/events-meetups/l10n/pl.json +28 -0
- package/templates/events-meetups/l10n/pt.json +28 -0
- package/templates/events-meetups/l10n/ru.json +28 -0
- package/templates/events-meetups/l10n/sv.json +28 -0
- package/templates/events-meetups/l10n/th.json +28 -0
- package/templates/events-meetups/l10n/tr.json +28 -0
- package/templates/events-meetups/l10n/uk.json +28 -0
- package/templates/events-meetups/l10n/vi.json +28 -0
- package/templates/events-meetups/l10n/zh.json +28 -0
- package/templates/events-meetups/tier5-src/_shared/owner-editor-value.ts +164 -0
- package/templates/events-meetups/tier5-src/himi-branded-lite-account-settings/about.ts +134 -0
- package/templates/events-meetups/tier5-src/himi-branded-lite-account-settings/index.ts +3 -1
- package/templates/events-meetups/tier5-src/himi-branded-lite-account-settings/personal-info.ts +44 -5
- package/templates/events-meetups/tier5-src/himi-branded-lite-account-settings/shared.ts +21 -1
- package/templates/fitness-gym/tier5-src/_shared/about-text.ts +8 -0
- package/templates/fitness-gym/tier5-src/_shared/owner-editor-value.ts +164 -0
- package/templates/fitness-gym/tier5-src/himi-branded-lite-account-settings/about.ts +134 -0
- package/templates/fitness-gym/tier5-src/himi-branded-lite-account-settings/index.ts +3 -1
- package/templates/fitness-gym/tier5-src/himi-branded-lite-account-settings/personal-info.ts +44 -5
- package/templates/fitness-gym/tier5-src/himi-branded-lite-account-settings/shared.ts +21 -1
- package/templates/gym-fitness/config.ts +7 -0
- package/templates/gym-fitness/dev/index.ts +436 -1
- package/templates/gym-fitness/himalaya.content.json +3 -0
- package/templates/gym-fitness/l10n/ar.json +28 -0
- package/templates/gym-fitness/l10n/cs.json +28 -0
- package/templates/gym-fitness/l10n/da.json +28 -0
- package/templates/gym-fitness/l10n/de.json +28 -0
- package/templates/gym-fitness/l10n/el.json +28 -0
- package/templates/gym-fitness/l10n/en.json +22 -1
- package/templates/gym-fitness/l10n/es.json +28 -0
- package/templates/gym-fitness/l10n/fi.json +28 -0
- package/templates/gym-fitness/l10n/fr.json +28 -0
- package/templates/gym-fitness/l10n/he.json +23 -0
- package/templates/gym-fitness/l10n/hu.json +28 -0
- package/templates/gym-fitness/l10n/id.json +28 -0
- package/templates/gym-fitness/l10n/it.json +28 -0
- package/templates/gym-fitness/l10n/ja.json +28 -0
- package/templates/gym-fitness/l10n/ko.json +28 -0
- package/templates/gym-fitness/l10n/lt.json +28 -0
- package/templates/gym-fitness/l10n/nl.json +28 -0
- package/templates/gym-fitness/l10n/no.json +28 -0
- package/templates/gym-fitness/l10n/pl.json +28 -0
- package/templates/gym-fitness/l10n/pt.json +28 -0
- package/templates/gym-fitness/l10n/ru.json +28 -0
- package/templates/gym-fitness/l10n/sv.json +28 -0
- package/templates/gym-fitness/l10n/th.json +28 -0
- package/templates/gym-fitness/l10n/tr.json +28 -0
- package/templates/gym-fitness/l10n/uk.json +28 -0
- package/templates/gym-fitness/l10n/vi.json +28 -0
- package/templates/gym-fitness/l10n/zh.json +28 -0
- package/templates/gym-fitness/tier5-src/himi-branded-lite-account-settings/about.ts +134 -0
- package/templates/gym-fitness/tier5-src/himi-branded-lite-account-settings/index.ts +3 -1
- package/templates/gym-fitness/tier5-src/himi-branded-lite-account-settings/personal-info.ts +44 -5
- package/templates/gym-fitness/tier5-src/himi-branded-lite-account-settings/shared.ts +21 -1
- package/templates/medical-services/tier5-src/_shared/about-text.ts +8 -0
- package/templates/medical-services/tier5-src/_shared/detail-presence.ts +51 -0
- package/templates/medical-services/tier5-src/_shared/owner-editor-value.ts +164 -0
- package/templates/medical-services/tier5-src/himi-branded-lite-account-settings/about.ts +134 -0
- package/templates/medical-services/tier5-src/himi-branded-lite-account-settings/index.ts +3 -1
- package/templates/medical-services/tier5-src/himi-branded-lite-account-settings/personal-info.ts +44 -5
- package/templates/medical-services/tier5-src/himi-branded-lite-account-settings/shared.ts +21 -1
- package/templates/nonprofit-cause/config.ts +7 -0
- package/templates/nonprofit-cause/dev/index.ts +436 -1
- package/templates/nonprofit-cause/himalaya.content.json +3 -0
- package/templates/nonprofit-cause/l10n/ar.json +28 -0
- package/templates/nonprofit-cause/l10n/cs.json +28 -0
- package/templates/nonprofit-cause/l10n/da.json +28 -0
- package/templates/nonprofit-cause/l10n/de.json +28 -0
- package/templates/nonprofit-cause/l10n/el.json +28 -0
- package/templates/nonprofit-cause/l10n/en.json +22 -1
- package/templates/nonprofit-cause/l10n/es.json +28 -0
- package/templates/nonprofit-cause/l10n/fi.json +28 -0
- package/templates/nonprofit-cause/l10n/fr.json +28 -0
- package/templates/nonprofit-cause/l10n/he.json +23 -0
- package/templates/nonprofit-cause/l10n/hu.json +28 -0
- package/templates/nonprofit-cause/l10n/id.json +28 -0
- package/templates/nonprofit-cause/l10n/it.json +28 -0
- package/templates/nonprofit-cause/l10n/ja.json +28 -0
- package/templates/nonprofit-cause/l10n/ko.json +28 -0
- package/templates/nonprofit-cause/l10n/lt.json +28 -0
- package/templates/nonprofit-cause/l10n/nl.json +28 -0
- package/templates/nonprofit-cause/l10n/no.json +28 -0
- package/templates/nonprofit-cause/l10n/pl.json +28 -0
- package/templates/nonprofit-cause/l10n/pt.json +28 -0
- package/templates/nonprofit-cause/l10n/ru.json +28 -0
- package/templates/nonprofit-cause/l10n/sv.json +28 -0
- package/templates/nonprofit-cause/l10n/th.json +28 -0
- package/templates/nonprofit-cause/l10n/tr.json +28 -0
- package/templates/nonprofit-cause/l10n/uk.json +28 -0
- package/templates/nonprofit-cause/l10n/vi.json +28 -0
- package/templates/nonprofit-cause/l10n/zh.json +28 -0
- package/templates/nonprofit-cause/tier5-src/_shared/owner-editor-value.ts +164 -0
- package/templates/nonprofit-cause/tier5-src/himi-branded-lite-account-settings/about.ts +134 -0
- package/templates/nonprofit-cause/tier5-src/himi-branded-lite-account-settings/index.ts +3 -1
- package/templates/nonprofit-cause/tier5-src/himi-branded-lite-account-settings/personal-info.ts +44 -5
- package/templates/nonprofit-cause/tier5-src/himi-branded-lite-account-settings/shared.ts +21 -1
- package/templates/personal-fitness-trainer/dev/index.ts +1 -10
- package/templates/personal-fitness-trainer/tier5-src/_shared/owner-editor-value.ts +164 -0
- package/templates/personal-fitness-trainer/tier5-src/himi-branded-lite-account-settings/about.ts +134 -0
- package/templates/personal-fitness-trainer/tier5-src/himi-branded-lite-account-settings/index.ts +3 -1
- package/templates/personal-fitness-trainer/tier5-src/himi-branded-lite-account-settings/personal-info.ts +44 -5
- package/templates/personal-fitness-trainer/tier5-src/himi-branded-lite-account-settings/shared.ts +21 -1
- package/templates/podcast-creator/config.ts +7 -0
- package/templates/podcast-creator/dev/index.ts +436 -1
- package/templates/podcast-creator/himalaya.content.json +3 -0
- package/templates/podcast-creator/l10n/ar.json +28 -0
- package/templates/podcast-creator/l10n/cs.json +28 -0
- package/templates/podcast-creator/l10n/da.json +28 -0
- package/templates/podcast-creator/l10n/de.json +28 -0
- package/templates/podcast-creator/l10n/el.json +28 -0
- package/templates/podcast-creator/l10n/en.json +22 -1
- package/templates/podcast-creator/l10n/es.json +28 -0
- package/templates/podcast-creator/l10n/fi.json +28 -0
- package/templates/podcast-creator/l10n/fr.json +28 -0
- package/templates/podcast-creator/l10n/he.json +23 -0
- package/templates/podcast-creator/l10n/hu.json +28 -0
- package/templates/podcast-creator/l10n/id.json +28 -0
- package/templates/podcast-creator/l10n/it.json +28 -0
- package/templates/podcast-creator/l10n/ja.json +28 -0
- package/templates/podcast-creator/l10n/ko.json +28 -0
- package/templates/podcast-creator/l10n/lt.json +28 -0
- package/templates/podcast-creator/l10n/nl.json +28 -0
- package/templates/podcast-creator/l10n/no.json +28 -0
- package/templates/podcast-creator/l10n/pl.json +28 -0
- package/templates/podcast-creator/l10n/pt.json +28 -0
- package/templates/podcast-creator/l10n/ru.json +28 -0
- package/templates/podcast-creator/l10n/sv.json +28 -0
- package/templates/podcast-creator/l10n/th.json +28 -0
- package/templates/podcast-creator/l10n/tr.json +28 -0
- package/templates/podcast-creator/l10n/uk.json +28 -0
- package/templates/podcast-creator/l10n/vi.json +28 -0
- package/templates/podcast-creator/l10n/zh.json +28 -0
- package/templates/podcast-creator/tier5-src/_shared/owner-editor-value.ts +164 -0
- package/templates/podcast-creator/tier5-src/himi-branded-lite-account-settings/about.ts +134 -0
- package/templates/podcast-creator/tier5-src/himi-branded-lite-account-settings/index.ts +3 -1
- package/templates/podcast-creator/tier5-src/himi-branded-lite-account-settings/personal-info.ts +44 -5
- package/templates/podcast-creator/tier5-src/himi-branded-lite-account-settings/shared.ts +21 -1
- package/templates/portfolio-creative/config.ts +7 -0
- package/templates/portfolio-creative/dev/index.ts +436 -1
- package/templates/portfolio-creative/himalaya.content.json +3 -0
- package/templates/portfolio-creative/l10n/ar.json +28 -0
- package/templates/portfolio-creative/l10n/cs.json +28 -0
- package/templates/portfolio-creative/l10n/da.json +28 -0
- package/templates/portfolio-creative/l10n/de.json +28 -0
- package/templates/portfolio-creative/l10n/el.json +28 -0
- package/templates/portfolio-creative/l10n/en.json +22 -1
- package/templates/portfolio-creative/l10n/es.json +28 -0
- package/templates/portfolio-creative/l10n/fi.json +28 -0
- package/templates/portfolio-creative/l10n/fr.json +28 -0
- package/templates/portfolio-creative/l10n/he.json +23 -0
- package/templates/portfolio-creative/l10n/hu.json +28 -0
- package/templates/portfolio-creative/l10n/id.json +28 -0
- package/templates/portfolio-creative/l10n/it.json +28 -0
- package/templates/portfolio-creative/l10n/ja.json +28 -0
- package/templates/portfolio-creative/l10n/ko.json +28 -0
- package/templates/portfolio-creative/l10n/lt.json +28 -0
- package/templates/portfolio-creative/l10n/nl.json +28 -0
- package/templates/portfolio-creative/l10n/no.json +28 -0
- package/templates/portfolio-creative/l10n/pl.json +28 -0
- package/templates/portfolio-creative/l10n/pt.json +28 -0
- package/templates/portfolio-creative/l10n/ru.json +28 -0
- package/templates/portfolio-creative/l10n/sv.json +28 -0
- package/templates/portfolio-creative/l10n/th.json +28 -0
- package/templates/portfolio-creative/l10n/tr.json +28 -0
- package/templates/portfolio-creative/l10n/uk.json +28 -0
- package/templates/portfolio-creative/l10n/vi.json +28 -0
- package/templates/portfolio-creative/l10n/zh.json +28 -0
- package/templates/portfolio-creative/tier5-src/himi-branded-lite-account-settings/about.ts +134 -0
- package/templates/portfolio-creative/tier5-src/himi-branded-lite-account-settings/index.ts +3 -1
- package/templates/portfolio-creative/tier5-src/himi-branded-lite-account-settings/personal-info.ts +44 -5
- package/templates/portfolio-creative/tier5-src/himi-branded-lite-account-settings/shared.ts +21 -1
- package/templates/professional-services/tier5-src/_shared/about-text.ts +8 -0
- package/templates/professional-services/tier5-src/_shared/owner-editor-value.ts +164 -0
- package/templates/professional-services/tier5-src/himi-branded-lite-account-settings/about.ts +134 -0
- package/templates/professional-services/tier5-src/himi-branded-lite-account-settings/index.ts +3 -1
- package/templates/professional-services/tier5-src/himi-branded-lite-account-settings/personal-info.ts +44 -5
- package/templates/professional-services/tier5-src/himi-branded-lite-account-settings/shared.ts +21 -1
- package/templates/restaurant/config.ts +7 -0
- package/templates/restaurant/dev/index.ts +436 -1
- package/templates/restaurant/himalaya.content.json +3 -0
- package/templates/restaurant/l10n/ar.json +28 -0
- package/templates/restaurant/l10n/cs.json +28 -0
- package/templates/restaurant/l10n/da.json +28 -0
- package/templates/restaurant/l10n/de.json +28 -0
- package/templates/restaurant/l10n/el.json +28 -0
- package/templates/restaurant/l10n/en.json +22 -1
- package/templates/restaurant/l10n/es.json +28 -0
- package/templates/restaurant/l10n/fi.json +28 -0
- package/templates/restaurant/l10n/fr.json +28 -0
- package/templates/restaurant/l10n/he.json +23 -0
- package/templates/restaurant/l10n/hu.json +28 -0
- package/templates/restaurant/l10n/id.json +28 -0
- package/templates/restaurant/l10n/it.json +28 -0
- package/templates/restaurant/l10n/ja.json +28 -0
- package/templates/restaurant/l10n/ko.json +28 -0
- package/templates/restaurant/l10n/lt.json +28 -0
- package/templates/restaurant/l10n/nl.json +28 -0
- package/templates/restaurant/l10n/no.json +28 -0
- package/templates/restaurant/l10n/pl.json +28 -0
- package/templates/restaurant/l10n/pt.json +28 -0
- package/templates/restaurant/l10n/ru.json +28 -0
- package/templates/restaurant/l10n/sv.json +28 -0
- package/templates/restaurant/l10n/th.json +28 -0
- package/templates/restaurant/l10n/tr.json +28 -0
- package/templates/restaurant/l10n/uk.json +28 -0
- package/templates/restaurant/l10n/vi.json +28 -0
- package/templates/restaurant/l10n/zh.json +28 -0
- package/templates/restaurant/tier5-src/_shared/owner-editor-value.ts +164 -0
- package/templates/restaurant/tier5-src/himi-branded-lite-account-settings/about.ts +134 -0
- package/templates/restaurant/tier5-src/himi-branded-lite-account-settings/index.ts +3 -1
- package/templates/restaurant/tier5-src/himi-branded-lite-account-settings/personal-info.ts +44 -5
- package/templates/restaurant/tier5-src/himi-branded-lite-account-settings/shared.ts +21 -1
- package/templates/retail-store/config.ts +7 -0
- package/templates/retail-store/dev/index.ts +436 -1
- package/templates/retail-store/himalaya.content.json +3 -0
- package/templates/retail-store/l10n/ar.json +28 -0
- package/templates/retail-store/l10n/cs.json +28 -0
- package/templates/retail-store/l10n/da.json +28 -0
- package/templates/retail-store/l10n/de.json +28 -0
- package/templates/retail-store/l10n/el.json +28 -0
- package/templates/retail-store/l10n/en.json +22 -1
- package/templates/retail-store/l10n/es.json +28 -0
- package/templates/retail-store/l10n/fi.json +28 -0
- package/templates/retail-store/l10n/fr.json +28 -0
- package/templates/retail-store/l10n/he.json +23 -0
- package/templates/retail-store/l10n/hu.json +28 -0
- package/templates/retail-store/l10n/id.json +28 -0
- package/templates/retail-store/l10n/it.json +28 -0
- package/templates/retail-store/l10n/ja.json +28 -0
- package/templates/retail-store/l10n/ko.json +28 -0
- package/templates/retail-store/l10n/lt.json +28 -0
- package/templates/retail-store/l10n/nl.json +28 -0
- package/templates/retail-store/l10n/no.json +28 -0
- package/templates/retail-store/l10n/pl.json +28 -0
- package/templates/retail-store/l10n/pt.json +28 -0
- package/templates/retail-store/l10n/ru.json +28 -0
- package/templates/retail-store/l10n/sv.json +28 -0
- package/templates/retail-store/l10n/th.json +28 -0
- package/templates/retail-store/l10n/tr.json +28 -0
- package/templates/retail-store/l10n/uk.json +28 -0
- package/templates/retail-store/l10n/vi.json +28 -0
- package/templates/retail-store/l10n/zh.json +28 -0
- package/templates/retail-store/tier5-src/himi-branded-lite-account-settings/about.ts +134 -0
- package/templates/retail-store/tier5-src/himi-branded-lite-account-settings/index.ts +3 -1
- package/templates/retail-store/tier5-src/himi-branded-lite-account-settings/personal-info.ts +44 -5
- package/templates/retail-store/tier5-src/himi-branded-lite-account-settings/shared.ts +21 -1
- package/templates/salon-spa/tier5-src/_shared/about-text.ts +8 -0
- package/templates/salon-spa/tier5-src/_shared/owner-editor-value.ts +164 -0
- package/templates/salon-spa/tier5-src/himi-branded-lite-account-settings/about.ts +134 -0
- package/templates/salon-spa/tier5-src/himi-branded-lite-account-settings/index.ts +3 -1
- package/templates/salon-spa/tier5-src/himi-branded-lite-account-settings/personal-info.ts +44 -5
- package/templates/salon-spa/tier5-src/himi-branded-lite-account-settings/shared.ts +21 -1
- package/templates/wholesale-store/tier5-src/_shared/about-text.ts +8 -0
- package/templates/wholesale-store/tier5-src/himi-branded-lite-account-settings/about.ts +134 -0
- package/templates/wholesale-store/tier5-src/himi-branded-lite-account-settings/index.ts +3 -1
- package/templates/wholesale-store/tier5-src/himi-branded-lite-account-settings/personal-info.ts +44 -5
- package/templates/wholesale-store/tier5-src/himi-branded-lite-account-settings/shared.ts +21 -1
- package/templates/yoga-studio/config.ts +7 -0
- package/templates/yoga-studio/dev/index.ts +436 -1
- package/templates/yoga-studio/himalaya.content.json +3 -0
- package/templates/yoga-studio/l10n/ar.json +28 -0
- package/templates/yoga-studio/l10n/cs.json +28 -0
- package/templates/yoga-studio/l10n/da.json +28 -0
- package/templates/yoga-studio/l10n/de.json +28 -0
- package/templates/yoga-studio/l10n/el.json +28 -0
- package/templates/yoga-studio/l10n/en.json +22 -1
- package/templates/yoga-studio/l10n/es.json +28 -0
- package/templates/yoga-studio/l10n/fi.json +28 -0
- package/templates/yoga-studio/l10n/fr.json +28 -0
- package/templates/yoga-studio/l10n/he.json +23 -0
- package/templates/yoga-studio/l10n/hu.json +28 -0
- package/templates/yoga-studio/l10n/id.json +28 -0
- package/templates/yoga-studio/l10n/it.json +28 -0
- package/templates/yoga-studio/l10n/ja.json +28 -0
- package/templates/yoga-studio/l10n/ko.json +28 -0
- package/templates/yoga-studio/l10n/lt.json +28 -0
- package/templates/yoga-studio/l10n/nl.json +28 -0
- package/templates/yoga-studio/l10n/no.json +28 -0
- package/templates/yoga-studio/l10n/pl.json +28 -0
- package/templates/yoga-studio/l10n/pt.json +28 -0
- package/templates/yoga-studio/l10n/ru.json +28 -0
- package/templates/yoga-studio/l10n/sv.json +28 -0
- package/templates/yoga-studio/l10n/th.json +28 -0
- package/templates/yoga-studio/l10n/tr.json +28 -0
- package/templates/yoga-studio/l10n/uk.json +28 -0
- package/templates/yoga-studio/l10n/vi.json +28 -0
- package/templates/yoga-studio/l10n/zh.json +28 -0
- package/templates/yoga-studio/tier5-src/_shared/owner-editor-value.ts +164 -0
- package/templates/yoga-studio/tier5-src/himi-branded-lite-account-settings/about.ts +134 -0
- package/templates/yoga-studio/tier5-src/himi-branded-lite-account-settings/index.ts +3 -1
- package/templates/yoga-studio/tier5-src/himi-branded-lite-account-settings/personal-info.ts +44 -5
- package/templates/yoga-studio/tier5-src/himi-branded-lite-account-settings/shared.ts +21 -1
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
// himiBrandedAccountPassword its Change password step (login-info.ts)
|
|
9
9
|
// himiBrandedAccountPrivacy Privacy (privacy.ts)
|
|
10
10
|
// himiBrandedAccountBlockedMembers Privacy's blocked members (blocked-members.ts)
|
|
11
|
+
// himiBrandedAccountAbout About me, the REC editor sheet (about.ts)
|
|
11
12
|
import { defineService } from "@himalaya/state";
|
|
12
13
|
import { copyTemplate, stashCopy } from "../_shared/himi-copy.js";
|
|
13
14
|
import { businessNameOf, hostedBusinessName, memberIdentityState } from "./shared.js";
|
|
@@ -15,6 +16,7 @@ import { svc as blockedMembers } from "./blocked-members.js";
|
|
|
15
16
|
import { personalInfo } from "./personal-info.js";
|
|
16
17
|
import { changePassword, loginInfo } from "./login-info.js";
|
|
17
18
|
import { privacy } from "./privacy.js";
|
|
19
|
+
import { about } from "./about.js";
|
|
18
20
|
|
|
19
21
|
interface S {
|
|
20
22
|
/** `menu` until a check finds no member signed in; the rows are static, so there is no loading.
|
|
@@ -55,4 +57,4 @@ const svc = defineService<S, {
|
|
|
55
57
|
},
|
|
56
58
|
});
|
|
57
59
|
|
|
58
|
-
export { svc, personalInfo, loginInfo, changePassword, privacy, blockedMembers };
|
|
60
|
+
export { svc, personalInfo, loginInfo, changePassword, privacy, blockedMembers, about };
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
// failure is split by field so the error lands under the field Wix rejected. A full success closes
|
|
9
9
|
// the modal with a snackbar; a field error keeps it open; a server error shows a banner and keeps
|
|
10
10
|
// every change.
|
|
11
|
-
import { defineService } from "@himalaya/state";
|
|
11
|
+
import { defineService, navigate } from "@himalaya/state";
|
|
12
12
|
import { snackbar } from "@himalaya/ui";
|
|
13
13
|
import { deleteMemberPhones, getMyMember, listCustomFields, updateMember } from "@himalaya/wix-members";
|
|
14
14
|
import { generateMemberPhotoUploadUrl } from "@himalaya/wix-site-media";
|
|
@@ -16,8 +16,8 @@ import { memberAccess } from "../_shared/member-access.js";
|
|
|
16
16
|
import { MEMBER_PHOTO_UPLOAD_TARGET, isMemberPhotoUploadTarget, memberAccountRoutes } from "../_shared/member-account-routes.js";
|
|
17
17
|
import { copyParam, stashCopy } from "../_shared/himi-copy.js";
|
|
18
18
|
import {
|
|
19
|
-
clean, currentMemberRecordMatches, fetchMember, isSignedOut, loadErrorVariant, memberInitials, rawText,
|
|
20
|
-
signedOutError, type WixMemberRecord, type WixMemberResponse,
|
|
19
|
+
aboutPreviewText, clean, currentMemberRecordMatches, fetchMember, isSignedOut, loadErrorVariant, memberInitials, rawText,
|
|
20
|
+
readMyAbout, sameAccess, signedOutError, type WixMemberRecord, type WixMemberResponse,
|
|
21
21
|
} from "./shared.js";
|
|
22
22
|
|
|
23
23
|
type SiteFieldType = "TEXT" | "NUMBER" | "DATE" | "URL";
|
|
@@ -101,6 +101,11 @@ interface S extends ProfileValues {
|
|
|
101
101
|
/** There is a photo (saved or just picked) that Remove photo would clear. */
|
|
102
102
|
canRemovePhoto: boolean;
|
|
103
103
|
noRemovePhoto: boolean;
|
|
104
|
+
/** The About me field: the start of the member's About as plain text ("" for none — the field
|
|
105
|
+
* then shows its placeholder). The text itself is edited in the About me sheet, not here. */
|
|
106
|
+
aboutPreview: string;
|
|
107
|
+
noAboutPreview: boolean;
|
|
108
|
+
hasAboutPreview: boolean;
|
|
104
109
|
}
|
|
105
110
|
|
|
106
111
|
const BLANK: ProfileValues = { displayName: "", title: "", firstName: "", lastName: "", phone: "", memberImage: "", memberImageId: "", memberInitials: "M", custom: {} };
|
|
@@ -148,6 +153,9 @@ const EMPTY: S = {
|
|
|
148
153
|
photoRemoved: false,
|
|
149
154
|
canRemovePhoto: false,
|
|
150
155
|
noRemovePhoto: true,
|
|
156
|
+
aboutPreview: "",
|
|
157
|
+
noAboutPreview: true,
|
|
158
|
+
hasAboutPreview: false,
|
|
151
159
|
};
|
|
152
160
|
|
|
153
161
|
// ---- The site's field list ----
|
|
@@ -527,6 +535,17 @@ function loaded(member: WixMemberRecord, email: string, scope: string, siteField
|
|
|
527
535
|
});
|
|
528
536
|
}
|
|
529
537
|
|
|
538
|
+
/** The About me field's preview fields. A failed About read shows the placeholder: the sheet itself says
|
|
539
|
+
* why it cannot load, and this field is only a door to it. */
|
|
540
|
+
async function aboutPreviewFields(): Promise<Pick<S, "aboutPreview" | "noAboutPreview" | "hasAboutPreview">> {
|
|
541
|
+
const aboutPreview = aboutPreviewText(await readMyAbout().catch(() => null));
|
|
542
|
+
return { aboutPreview, noAboutPreview: !aboutPreview, hasAboutPreview: !!aboutPreview };
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
/** Set when the About me field opens its sheet over this modal. The next appear is the way back from
|
|
546
|
+
* that sheet, so it keeps the member's unsaved draft and refreshes only the About preview. */
|
|
547
|
+
let openingAbout = false;
|
|
548
|
+
|
|
530
549
|
function loadFailed(error: unknown): S {
|
|
531
550
|
return derive({ ...EMPTY, phase: isSignedOut(error) ? "signedOut" : "error", errorVariant: loadErrorVariant(error) });
|
|
532
551
|
}
|
|
@@ -555,6 +574,7 @@ const svc = defineService<S, {
|
|
|
555
574
|
save: (s: S) => Promise<Result | undefined>;
|
|
556
575
|
showLoading: (s: S) => S;
|
|
557
576
|
begin: (s: S, patch: Partial<S>) => S;
|
|
577
|
+
openAbout: (s: S) => S;
|
|
558
578
|
}>("himiBrandedAccountPersonal", {
|
|
559
579
|
state: { ...EMPTY },
|
|
560
580
|
// Every value is per visit: a reopened modal starts from the member's record, never a draft.
|
|
@@ -564,16 +584,35 @@ const svc = defineService<S, {
|
|
|
564
584
|
// Internal: publish a state while an action awaits (the skeleton on reload, the Save spinner).
|
|
565
585
|
showLoading: () => derive({ ...EMPTY }),
|
|
566
586
|
begin: (s, patch) => derive({ ...s, ...patch }),
|
|
587
|
+
// The About me field: the About text has its own sheet (the REC editor saves only through its own Form).
|
|
588
|
+
openAbout: (s) => {
|
|
589
|
+
openingAbout = s.phase === "ready";
|
|
590
|
+
return navigate(s, { screenId: "himi_account_about", presentation: "sheet", args: { sheetStyle: "page" } });
|
|
591
|
+
},
|
|
567
592
|
// Every appear starts over: the shell's Discard closes the modal without telling the worker,
|
|
568
593
|
// and a pooled worker comes back with the draft it had.
|
|
569
594
|
load: async (_s, arg): Promise<S> => {
|
|
570
595
|
const version = ++loadVersion;
|
|
596
|
+
const returningFromAbout = openingAbout;
|
|
597
|
+
openingAbout = false;
|
|
598
|
+
// Back from the About me sheet with unsaved edits here: keep them; only the About preview is new.
|
|
599
|
+
// (Without edits a full reload loses nothing, and also picks up a change made elsewhere.)
|
|
600
|
+
// Only for the same member: one who changed while the sheet was open gets the full load, not the old draft.
|
|
601
|
+
// A record check that cannot run (offline) falls back to the session's email and scope: only a confirmed
|
|
602
|
+
// change drops the draft.
|
|
603
|
+
const current = svc.getState();
|
|
604
|
+
const sameMember = () => currentMemberRecordMatches(current.memberEmail, current.memberScope, current.memberId)
|
|
605
|
+
.catch(() => sameAccess(current.memberEmail, current.memberScope).catch(() => false));
|
|
606
|
+
if (returningFromAbout && current.phase === "ready" && current.dirty && await sameMember()) {
|
|
607
|
+
const preview = await aboutPreviewFields();
|
|
608
|
+
return version === loadVersion ? derive({ ...svc.getState(), ...preview }) : svc.getState() as S;
|
|
609
|
+
}
|
|
571
610
|
photoUploadVersion += 1;
|
|
572
611
|
stashCopy(arg);
|
|
573
612
|
if (svc.getState().phase !== "loading") await svc.showLoading();
|
|
574
613
|
try {
|
|
575
614
|
const { email, scope, member } = await fetchMember();
|
|
576
|
-
const [routes, site] = await Promise.all([memberAccountRoutes(), readSiteFields()]);
|
|
615
|
+
const [routes, site, preview] = await Promise.all([memberAccountRoutes(), readSiteFields(), aboutPreviewFields()]);
|
|
577
616
|
if (version !== loadVersion) return svc.getState() as S;
|
|
578
617
|
if (!(await currentMemberRecordMatches(email, scope, clean(member.id)))) throw signedOutError();
|
|
579
618
|
if (version !== loadVersion) return svc.getState() as S;
|
|
@@ -582,7 +621,7 @@ const svc = defineService<S, {
|
|
|
582
621
|
// to the app's member-photo route as the member does the upload, with no site code: migrated apps have none.
|
|
583
622
|
const viaRoute = !functionName && routes.memberPhotoRoute;
|
|
584
623
|
const available = (!!functionName && routes.mediaField) || viaRoute;
|
|
585
|
-
return derive({ ...loaded(member, email, scope, site.fields, site.hasPhone), photoUploadFunctionName: functionName, photoUploadViaRoute: viaRoute, photoUploadAvailable: available });
|
|
624
|
+
return derive({ ...loaded(member, email, scope, site.fields, site.hasPhone), ...preview, photoUploadFunctionName: functionName, photoUploadViaRoute: viaRoute, photoUploadAvailable: available });
|
|
586
625
|
} catch (error) {
|
|
587
626
|
if (version !== loadVersion) return svc.getState() as S;
|
|
588
627
|
return loadFailed(error);
|
|
@@ -3,9 +3,11 @@
|
|
|
3
3
|
// own worker and loads the member itself: nothing here is shared state, only the checks.
|
|
4
4
|
import { dispatch } from "@himalaya/dispatch";
|
|
5
5
|
import { classifyLoadError } from "@himalaya/state";
|
|
6
|
-
import { getMyMember } from "@himalaya/wix-members";
|
|
6
|
+
import { getMyMember, getMyMemberAbout } from "@himalaya/wix-members";
|
|
7
7
|
import { getMyData } from "@himalaya/wix-users";
|
|
8
|
+
import { aboutPlainText } from "../_shared/about-text.js";
|
|
8
9
|
import { hostSiteFromInput } from "../_shared/branded-lite-hosted.js";
|
|
10
|
+
import { isNotFoundError } from "../_shared/detail-presence.js";
|
|
9
11
|
import { memberAccess } from "../_shared/member-access.js";
|
|
10
12
|
import type { MemberAccountRoutes } from "../_shared/member-account-routes.js";
|
|
11
13
|
|
|
@@ -93,6 +95,24 @@ export async function memberIdentityState(): Promise<"member" | "guest" | "unava
|
|
|
93
95
|
}
|
|
94
96
|
}
|
|
95
97
|
|
|
98
|
+
export interface MyAbout { id: string; revision: string; memberId: string; content: Record<string, unknown> }
|
|
99
|
+
|
|
100
|
+
/** The signed-in member's own "About", or null when they never wrote one (Wix answers NOT_FOUND). */
|
|
101
|
+
export async function readMyAbout(): Promise<MyAbout | null> {
|
|
102
|
+
try {
|
|
103
|
+
const about = (await getMyMemberAbout()).memberAbout;
|
|
104
|
+
return about?.id ? { id: about.id, revision: clean(about.revision), memberId: clean(about.memberId), content: about.content ?? {} } : null;
|
|
105
|
+
} catch (error) {
|
|
106
|
+
if (isNotFoundError(error)) return null;
|
|
107
|
+
throw error;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
/** The About as plain text, one line per non-empty block, for a short preview. "" for no text. */
|
|
112
|
+
export function aboutPreviewText(about: MyAbout | null): string {
|
|
113
|
+
return about ? aboutPlainText(about.content) : "";
|
|
114
|
+
}
|
|
115
|
+
|
|
96
116
|
/** Same identity by email and scope alone (no network). */
|
|
97
117
|
export async function sameAccess(email: string, scope: string): Promise<boolean> {
|
|
98
118
|
const current = await memberAccess();
|
|
@@ -140,6 +140,13 @@ export default defineApp({
|
|
|
140
140
|
"parentScreenId": "himi_account_settings",
|
|
141
141
|
"tabId": "profile"
|
|
142
142
|
},
|
|
143
|
+
{
|
|
144
|
+
"screenId": "himi_account_about",
|
|
145
|
+
"isPublic": false,
|
|
146
|
+
"paramKeys": [],
|
|
147
|
+
"parentScreenId": "himi_account_personal_info",
|
|
148
|
+
"tabId": "profile"
|
|
149
|
+
},
|
|
143
150
|
{
|
|
144
151
|
"screenId": "himi_view_profile",
|
|
145
152
|
"isPublic": false,
|
|
@@ -5102,6 +5102,140 @@ const SCREENS = runtimeSetting({
|
|
|
5102
5102
|
]
|
|
5103
5103
|
}
|
|
5104
5104
|
}
|
|
5105
|
+
},
|
|
5106
|
+
{
|
|
5107
|
+
"id": "himi_account_personal_info.about.group",
|
|
5108
|
+
"body": {
|
|
5109
|
+
"package": "himalaya",
|
|
5110
|
+
"type": "VStack",
|
|
5111
|
+
"props": {
|
|
5112
|
+
"spacing": 6,
|
|
5113
|
+
"alignment": "leading",
|
|
5114
|
+
"children": [
|
|
5115
|
+
{
|
|
5116
|
+
"id": "",
|
|
5117
|
+
"body": {
|
|
5118
|
+
"package": "himalaya",
|
|
5119
|
+
"type": "Text",
|
|
5120
|
+
"props": {
|
|
5121
|
+
"text": "About me",
|
|
5122
|
+
"style": "footnote",
|
|
5123
|
+
"color": "textSecondary"
|
|
5124
|
+
}
|
|
5125
|
+
}
|
|
5126
|
+
},
|
|
5127
|
+
{
|
|
5128
|
+
"id": "",
|
|
5129
|
+
"body": {
|
|
5130
|
+
"package": "himalaya",
|
|
5131
|
+
"type": "HStack",
|
|
5132
|
+
"props": {
|
|
5133
|
+
"spacing": 12,
|
|
5134
|
+
"alignment": "center",
|
|
5135
|
+
"children": [
|
|
5136
|
+
{
|
|
5137
|
+
"id": "",
|
|
5138
|
+
"body": {
|
|
5139
|
+
"package": "himalaya",
|
|
5140
|
+
"type": "VStack",
|
|
5141
|
+
"props": {
|
|
5142
|
+
"spacing": 0,
|
|
5143
|
+
"alignment": "leading",
|
|
5144
|
+
"children": [
|
|
5145
|
+
{
|
|
5146
|
+
"id": "himi_account_personal_info.about_preview",
|
|
5147
|
+
"body": {
|
|
5148
|
+
"package": "himalaya",
|
|
5149
|
+
"type": "Text",
|
|
5150
|
+
"props": {
|
|
5151
|
+
"text": "$service:himiBrandedAccountPersonal.aboutPreview",
|
|
5152
|
+
"style": "footnoteRegular",
|
|
5153
|
+
"maxLines": 2
|
|
5154
|
+
}
|
|
5155
|
+
},
|
|
5156
|
+
"modifiers": {
|
|
5157
|
+
"hiddenPath": "$service:himiBrandedAccountPersonal.noAboutPreview"
|
|
5158
|
+
}
|
|
5159
|
+
},
|
|
5160
|
+
{
|
|
5161
|
+
"id": "himi_account_personal_info.about_placeholder",
|
|
5162
|
+
"body": {
|
|
5163
|
+
"package": "himalaya",
|
|
5164
|
+
"type": "Text",
|
|
5165
|
+
"props": {
|
|
5166
|
+
"text": "Write a few words about yourself.",
|
|
5167
|
+
"style": "footnoteRegular",
|
|
5168
|
+
"color": "textTertiary"
|
|
5169
|
+
}
|
|
5170
|
+
},
|
|
5171
|
+
"modifiers": {
|
|
5172
|
+
"hiddenPath": "$service:himiBrandedAccountPersonal.hasAboutPreview"
|
|
5173
|
+
}
|
|
5174
|
+
}
|
|
5175
|
+
]
|
|
5176
|
+
}
|
|
5177
|
+
},
|
|
5178
|
+
"modifiers": {
|
|
5179
|
+
"weight": 1
|
|
5180
|
+
}
|
|
5181
|
+
},
|
|
5182
|
+
{
|
|
5183
|
+
"id": "",
|
|
5184
|
+
"body": {
|
|
5185
|
+
"package": "himalaya",
|
|
5186
|
+
"type": "Icon",
|
|
5187
|
+
"props": {
|
|
5188
|
+
"name": "chevron_right",
|
|
5189
|
+
"size": 16,
|
|
5190
|
+
"tint": "textSecondary"
|
|
5191
|
+
}
|
|
5192
|
+
},
|
|
5193
|
+
"modifiers": {
|
|
5194
|
+
"accessibilityRole": "decorative"
|
|
5195
|
+
}
|
|
5196
|
+
}
|
|
5197
|
+
]
|
|
5198
|
+
}
|
|
5199
|
+
},
|
|
5200
|
+
"modifiers": {
|
|
5201
|
+
"fillMaxWidth": true,
|
|
5202
|
+
"border": {
|
|
5203
|
+
"width": 1,
|
|
5204
|
+
"color": {
|
|
5205
|
+
"token": "border"
|
|
5206
|
+
}
|
|
5207
|
+
},
|
|
5208
|
+
"cornerRadius": 8,
|
|
5209
|
+
"padding": {
|
|
5210
|
+
"leading": 16,
|
|
5211
|
+
"trailing": 16,
|
|
5212
|
+
"top": 14,
|
|
5213
|
+
"bottom": 14
|
|
5214
|
+
},
|
|
5215
|
+
"onTap": {
|
|
5216
|
+
"actionId": "tier5.himiBrandedAccountPersonal.openAbout"
|
|
5217
|
+
},
|
|
5218
|
+
"pressFeedback": "highlight",
|
|
5219
|
+
"haptic": "light",
|
|
5220
|
+
"accessibilityRole": "button",
|
|
5221
|
+
"accessibilityLabel": "About me"
|
|
5222
|
+
}
|
|
5223
|
+
},
|
|
5224
|
+
{
|
|
5225
|
+
"id": "",
|
|
5226
|
+
"body": {
|
|
5227
|
+
"package": "himalaya",
|
|
5228
|
+
"type": "Text",
|
|
5229
|
+
"props": {
|
|
5230
|
+
"text": "Shows on your profile.",
|
|
5231
|
+
"style": "caption",
|
|
5232
|
+
"color": "textSecondary"
|
|
5233
|
+
}
|
|
5234
|
+
}
|
|
5235
|
+
}
|
|
5236
|
+
]
|
|
5237
|
+
}
|
|
5238
|
+
}
|
|
5105
5239
|
}
|
|
5106
5240
|
]
|
|
5107
5241
|
}
|
|
@@ -7665,6 +7799,307 @@ const SCREENS = runtimeSetting({
|
|
|
7665
7799
|
"subtitlePath": "$service:himiBrandedAccountSettings.businessName"
|
|
7666
7800
|
}
|
|
7667
7801
|
},
|
|
7802
|
+
"himi_account_about": {
|
|
7803
|
+
"screenId": "himi_account_about",
|
|
7804
|
+
"renderer": "sdui_intent",
|
|
7805
|
+
"title": "About me",
|
|
7806
|
+
"schemaVersion": 1,
|
|
7807
|
+
"cacheControl": {
|
|
7808
|
+
"maxAge": 0,
|
|
7809
|
+
"staleWhileRevalidate": 0
|
|
7810
|
+
},
|
|
7811
|
+
"payload": {
|
|
7812
|
+
"id": "himi_account_about.root",
|
|
7813
|
+
"body": {
|
|
7814
|
+
"package": "himalaya",
|
|
7815
|
+
"type": "VStack",
|
|
7816
|
+
"props": {
|
|
7817
|
+
"spacing": 0,
|
|
7818
|
+
"alignment": "leading",
|
|
7819
|
+
"children": [
|
|
7820
|
+
{
|
|
7821
|
+
"id": "himi_account_about.state",
|
|
7822
|
+
"body": {
|
|
7823
|
+
"package": "himalaya",
|
|
7824
|
+
"type": "FragmentSlot",
|
|
7825
|
+
"props": {
|
|
7826
|
+
"casePath": "$service:himiBrandedAccountAbout.phase",
|
|
7827
|
+
"defaultCase": "loading",
|
|
7828
|
+
"cases": [
|
|
7829
|
+
{
|
|
7830
|
+
"id": "loading",
|
|
7831
|
+
"content": {
|
|
7832
|
+
"id": "himi_account_about.loading",
|
|
7833
|
+
"body": {
|
|
7834
|
+
"package": "himalaya",
|
|
7835
|
+
"type": "VStack",
|
|
7836
|
+
"props": {
|
|
7837
|
+
"spacing": 24,
|
|
7838
|
+
"alignment": "leading",
|
|
7839
|
+
"children": [
|
|
7840
|
+
{
|
|
7841
|
+
"id": "himi_account_about.skeleton.editor",
|
|
7842
|
+
"body": {
|
|
7843
|
+
"package": "himalaya",
|
|
7844
|
+
"type": "Skeleton",
|
|
7845
|
+
"props": {
|
|
7846
|
+
"height": 240,
|
|
7847
|
+
"cornerRadius": 8
|
|
7848
|
+
}
|
|
7849
|
+
},
|
|
7850
|
+
"modifiers": {
|
|
7851
|
+
"height": 240,
|
|
7852
|
+
"background": {
|
|
7853
|
+
"token": "surfaceSecondary"
|
|
7854
|
+
},
|
|
7855
|
+
"cornerRadius": 8,
|
|
7856
|
+
"accessibilityRole": "decorative"
|
|
7857
|
+
}
|
|
7858
|
+
},
|
|
7859
|
+
{
|
|
7860
|
+
"id": "himi_account_about.skeleton.save",
|
|
7861
|
+
"body": {
|
|
7862
|
+
"package": "himalaya",
|
|
7863
|
+
"type": "Skeleton",
|
|
7864
|
+
"props": {
|
|
7865
|
+
"height": 48,
|
|
7866
|
+
"cornerRadius": 8
|
|
7867
|
+
}
|
|
7868
|
+
},
|
|
7869
|
+
"modifiers": {
|
|
7870
|
+
"height": 48,
|
|
7871
|
+
"background": {
|
|
7872
|
+
"token": "surfaceSecondary"
|
|
7873
|
+
},
|
|
7874
|
+
"cornerRadius": 8,
|
|
7875
|
+
"accessibilityRole": "decorative"
|
|
7876
|
+
}
|
|
7877
|
+
}
|
|
7878
|
+
]
|
|
7879
|
+
}
|
|
7880
|
+
},
|
|
7881
|
+
"modifiers": {
|
|
7882
|
+
"fillMaxWidth": true,
|
|
7883
|
+
"padding": {
|
|
7884
|
+
"leading": 16,
|
|
7885
|
+
"trailing": 16,
|
|
7886
|
+
"top": 24,
|
|
7887
|
+
"bottom": 24
|
|
7888
|
+
}
|
|
7889
|
+
}
|
|
7890
|
+
}
|
|
7891
|
+
},
|
|
7892
|
+
{
|
|
7893
|
+
"id": "error",
|
|
7894
|
+
"content": {
|
|
7895
|
+
"id": "himi_account_about.error",
|
|
7896
|
+
"body": {
|
|
7897
|
+
"package": "himalaya",
|
|
7898
|
+
"type": "ErrorState",
|
|
7899
|
+
"props": {
|
|
7900
|
+
"variantPath": "$service:himiBrandedAccountAbout.errorVariant",
|
|
7901
|
+
"placement": "screen",
|
|
7902
|
+
"ctaLabel": "Try again",
|
|
7903
|
+
"cta": {
|
|
7904
|
+
"actionId": "tier5.himiBrandedAccountAbout.load",
|
|
7905
|
+
"params": {
|
|
7906
|
+
"businessName": "__HIMI_APP_NAME__"
|
|
7907
|
+
}
|
|
7908
|
+
}
|
|
7909
|
+
}
|
|
7910
|
+
}
|
|
7911
|
+
}
|
|
7912
|
+
},
|
|
7913
|
+
{
|
|
7914
|
+
"id": "signedOut",
|
|
7915
|
+
"content": {
|
|
7916
|
+
"id": "himi_account_about.sign_in",
|
|
7917
|
+
"body": {
|
|
7918
|
+
"package": "himalaya",
|
|
7919
|
+
"type": "ErrorState",
|
|
7920
|
+
"props": {
|
|
7921
|
+
"variant": "signIn",
|
|
7922
|
+
"placement": "screen",
|
|
7923
|
+
"title": "Sign in to manage your account",
|
|
7924
|
+
"body": "Change your profile, login and privacy settings after you sign in.",
|
|
7925
|
+
"ctaLabel": "Sign in",
|
|
7926
|
+
"cta": {
|
|
7927
|
+
"actionId": "himi.open",
|
|
7928
|
+
"params": {
|
|
7929
|
+
"screenId": "himi_sign_in",
|
|
7930
|
+
"mode": "signin",
|
|
7931
|
+
"returnScreenId": "himi_account_settings",
|
|
7932
|
+
"modal": "1",
|
|
7933
|
+
"sheetStyle": "page"
|
|
7934
|
+
},
|
|
7935
|
+
"presentation": "sheet"
|
|
7936
|
+
}
|
|
7937
|
+
}
|
|
7938
|
+
}
|
|
7939
|
+
}
|
|
7940
|
+
},
|
|
7941
|
+
{
|
|
7942
|
+
"id": "ready",
|
|
7943
|
+
"content": {
|
|
7944
|
+
"id": "himi_account_about.ready",
|
|
7945
|
+
"body": {
|
|
7946
|
+
"package": "himalaya",
|
|
7947
|
+
"type": "VStack",
|
|
7948
|
+
"props": {
|
|
7949
|
+
"spacing": 0,
|
|
7950
|
+
"alignment": "leading",
|
|
7951
|
+
"children": [
|
|
7952
|
+
{
|
|
7953
|
+
"id": "himi_account_about.save_error",
|
|
7954
|
+
"body": {
|
|
7955
|
+
"package": "himalaya",
|
|
7956
|
+
"type": "Banner",
|
|
7957
|
+
"props": {
|
|
7958
|
+
"severity": "danger",
|
|
7959
|
+
"title": "$service:himiBrandedAccountAbout.saveError"
|
|
7960
|
+
}
|
|
7961
|
+
},
|
|
7962
|
+
"modifiers": {
|
|
7963
|
+
"padding": {
|
|
7964
|
+
"leading": 20,
|
|
7965
|
+
"trailing": 20,
|
|
7966
|
+
"top": 16
|
|
7967
|
+
},
|
|
7968
|
+
"hiddenPath": "$service:himiBrandedAccountAbout.noSaveError"
|
|
7969
|
+
}
|
|
7970
|
+
},
|
|
7971
|
+
{
|
|
7972
|
+
"id": "himi_account_about.form",
|
|
7973
|
+
"body": {
|
|
7974
|
+
"package": "himalaya",
|
|
7975
|
+
"type": "Form",
|
|
7976
|
+
"props": {
|
|
7977
|
+
"id": "aboutForm",
|
|
7978
|
+
"fields": [
|
|
7979
|
+
{
|
|
7980
|
+
"id": "himi_account_about.editor",
|
|
7981
|
+
"body": {
|
|
7982
|
+
"package": "himalaya",
|
|
7983
|
+
"type": "RichContentEditor",
|
|
7984
|
+
"props": {
|
|
7985
|
+
"name": "about",
|
|
7986
|
+
"documentPath": "$service:himiBrandedAccountAbout.aboutJson",
|
|
7987
|
+
"placeholder": "Write a few words about yourself.",
|
|
7988
|
+
"tools": [
|
|
7989
|
+
"bold",
|
|
7990
|
+
"italic",
|
|
7991
|
+
"underline",
|
|
7992
|
+
"bullet",
|
|
7993
|
+
"ordered",
|
|
7994
|
+
"link",
|
|
7995
|
+
"undo",
|
|
7996
|
+
"redo"
|
|
7997
|
+
],
|
|
7998
|
+
"onChange": {
|
|
7999
|
+
"actionId": "tier5.himiBrandedAccountAbout.aboutChanged"
|
|
8000
|
+
},
|
|
8001
|
+
"minHeight": 240,
|
|
8002
|
+
"fallback": {
|
|
8003
|
+
"id": "himi_account_about.editor_unavailable",
|
|
8004
|
+
"body": {
|
|
8005
|
+
"package": "himalaya",
|
|
8006
|
+
"type": "Text",
|
|
8007
|
+
"props": {
|
|
8008
|
+
"text": "Update the app to edit your About text.",
|
|
8009
|
+
"style": "footnoteRegular",
|
|
8010
|
+
"color": "textSecondary"
|
|
8011
|
+
}
|
|
8012
|
+
}
|
|
8013
|
+
}
|
|
8014
|
+
}
|
|
8015
|
+
},
|
|
8016
|
+
"modifiers": {
|
|
8017
|
+
"fillMaxWidth": true,
|
|
8018
|
+
"border": {
|
|
8019
|
+
"width": 1,
|
|
8020
|
+
"color": {
|
|
8021
|
+
"token": "border"
|
|
8022
|
+
}
|
|
8023
|
+
},
|
|
8024
|
+
"cornerRadius": 8,
|
|
8025
|
+
"hiddenPath": "$service:himiBrandedAccountAbout.aboutPending"
|
|
8026
|
+
}
|
|
8027
|
+
}
|
|
8028
|
+
],
|
|
8029
|
+
"submitButton": {
|
|
8030
|
+
"id": "himi_account_about.save",
|
|
8031
|
+
"body": {
|
|
8032
|
+
"package": "himalaya",
|
|
8033
|
+
"type": "Button",
|
|
8034
|
+
"props": {
|
|
8035
|
+
"title": "Save",
|
|
8036
|
+
"style": "primary",
|
|
8037
|
+
"fullWidth": true,
|
|
8038
|
+
"disabledPath": "$service:himiBrandedAccountAbout.saving",
|
|
8039
|
+
"action": {
|
|
8040
|
+
"actionId": "tier5.himiBrandedAccountAbout.submit"
|
|
8041
|
+
}
|
|
8042
|
+
}
|
|
8043
|
+
}
|
|
8044
|
+
}
|
|
8045
|
+
}
|
|
8046
|
+
},
|
|
8047
|
+
"modifiers": {
|
|
8048
|
+
"fillMaxWidth": true,
|
|
8049
|
+
"padding": {
|
|
8050
|
+
"leading": 20,
|
|
8051
|
+
"trailing": 20,
|
|
8052
|
+
"top": 24,
|
|
8053
|
+
"bottom": 24
|
|
8054
|
+
}
|
|
8055
|
+
}
|
|
8056
|
+
}
|
|
8057
|
+
]
|
|
8058
|
+
}
|
|
8059
|
+
}
|
|
8060
|
+
}
|
|
8061
|
+
}
|
|
8062
|
+
]
|
|
8063
|
+
}
|
|
8064
|
+
}
|
|
8065
|
+
}
|
|
8066
|
+
]
|
|
8067
|
+
}
|
|
8068
|
+
},
|
|
8069
|
+
"modifiers": {
|
|
8070
|
+
"background": {
|
|
8071
|
+
"token": "surfacePrimary"
|
|
8072
|
+
},
|
|
8073
|
+
"padding": {
|
|
8074
|
+
"bottom": 24
|
|
8075
|
+
},
|
|
8076
|
+
"onAppear": {
|
|
8077
|
+
"actionId": "tier5.himiBrandedAccountAbout.load",
|
|
8078
|
+
"params": {
|
|
8079
|
+
"businessName": "__HIMI_APP_NAME__"
|
|
8080
|
+
}
|
|
8081
|
+
}
|
|
8082
|
+
}
|
|
8083
|
+
},
|
|
8084
|
+
"logicBundle": {
|
|
8085
|
+
"url": "http://localhost:8190/v1/bundles/himi-branded-lite-account-settings?integrity=",
|
|
8086
|
+
"integrity": "",
|
|
8087
|
+
"contentType": "application/javascript+ts-bundle",
|
|
8088
|
+
"declaredCapabilities": [
|
|
8089
|
+
"wix_api",
|
|
8090
|
+
"app_info",
|
|
8091
|
+
"ui",
|
|
8092
|
+
"open_url"
|
|
8093
|
+
],
|
|
8094
|
+
"minBinaryVersion": "0.1.0",
|
|
8095
|
+
"bundleVersion": "0.0.1"
|
|
8096
|
+
},
|
|
8097
|
+
"topBar": {
|
|
8098
|
+
"subtitle": "__HIMI_APP_NAME__",
|
|
8099
|
+
"subtitlePath": "$service:himiBrandedAccountSettings.businessName",
|
|
8100
|
+
"dirtyPath": "$service:himiBrandedAccountAbout.aboutDirty"
|
|
8101
|
+
}
|
|
8102
|
+
},
|
|
7668
8103
|
"himi_sign_in": {
|
|
7669
8104
|
"screenId": "himi_sign_in",
|
|
7670
8105
|
"renderer": "sdui_intent",
|
|
@@ -10472,7 +10907,7 @@ const SCREENS = runtimeSetting({
|
|
|
10472
10907
|
"actionId": "himi.open",
|
|
10473
10908
|
"presentation": "sheet",
|
|
10474
10909
|
"params": {
|
|
10475
|
-
"screenId": "
|
|
10910
|
+
"screenId": "himi_account_about",
|
|
10476
10911
|
"sheetStyle": "page"
|
|
10477
10912
|
}
|
|
10478
10913
|
}
|