@wix/himalaya-cli 0.1796.0 → 0.1797.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/online-programs/src/index.d.ts +6 -0
- package/dist/cli.mjs +1 -0
- package/guides/sdk-reference.json +2 -2
- package/package.json +2 -2
- package/templates/beauty-salon/l10n/en.json +1 -1
- package/templates/branded-lite/dev/index.ts +483 -0
- package/templates/branded-lite/l10n/ar.json +66 -0
- package/templates/branded-lite/l10n/cs.json +66 -0
- package/templates/branded-lite/l10n/da.json +66 -0
- package/templates/branded-lite/l10n/de.json +66 -0
- package/templates/branded-lite/l10n/el.json +66 -0
- package/templates/branded-lite/l10n/en.json +8 -1
- package/templates/branded-lite/l10n/es.json +66 -0
- package/templates/branded-lite/l10n/fi.json +66 -0
- package/templates/branded-lite/l10n/fr.json +66 -0
- package/templates/branded-lite/l10n/he.json +53 -0
- package/templates/branded-lite/l10n/hu.json +66 -0
- package/templates/branded-lite/l10n/id.json +66 -0
- package/templates/branded-lite/l10n/it.json +66 -0
- package/templates/branded-lite/l10n/ja.json +66 -0
- package/templates/branded-lite/l10n/ko.json +66 -0
- package/templates/branded-lite/l10n/lt.json +66 -0
- package/templates/branded-lite/l10n/nl.json +66 -0
- package/templates/branded-lite/l10n/no.json +66 -0
- package/templates/branded-lite/l10n/pl.json +66 -0
- package/templates/branded-lite/l10n/pt.json +66 -0
- package/templates/branded-lite/l10n/ru.json +66 -0
- package/templates/branded-lite/l10n/sv.json +66 -0
- package/templates/branded-lite/l10n/th.json +66 -0
- package/templates/branded-lite/l10n/tr.json +66 -0
- package/templates/branded-lite/l10n/uk.json +66 -0
- package/templates/branded-lite/l10n/vi.json +66 -0
- package/templates/branded-lite/l10n/zh.json +66 -0
- package/templates/branded-lite/tier5-src/himi-branded-lite-program-step/index.ts +396 -14
- package/templates/branded-lite/tier5-src/himi-branded-lite-program-step/quiz.ts +114 -0
- package/templates/community-club/l10n/en.json +1 -1
- package/templates/events-meetups/l10n/en.json +1 -1
- package/templates/gym-fitness/l10n/en.json +1 -1
- package/templates/nonprofit-cause/l10n/en.json +1 -1
- package/templates/podcast-creator/l10n/en.json +1 -1
- package/templates/portfolio-creative/l10n/en.json +1 -1
- package/templates/restaurant/l10n/en.json +1 -1
- package/templates/retail-store/l10n/en.json +1 -1
- package/templates/yoga-studio/dev/index.ts +483 -0
- package/templates/yoga-studio/l10n/ar.json +66 -0
- package/templates/yoga-studio/l10n/cs.json +66 -0
- package/templates/yoga-studio/l10n/da.json +66 -0
- package/templates/yoga-studio/l10n/de.json +66 -0
- package/templates/yoga-studio/l10n/el.json +66 -0
- package/templates/yoga-studio/l10n/en.json +8 -1
- package/templates/yoga-studio/l10n/es.json +66 -0
- package/templates/yoga-studio/l10n/fi.json +66 -0
- package/templates/yoga-studio/l10n/fr.json +66 -0
- package/templates/yoga-studio/l10n/he.json +53 -0
- package/templates/yoga-studio/l10n/hu.json +66 -0
- package/templates/yoga-studio/l10n/id.json +66 -0
- package/templates/yoga-studio/l10n/it.json +66 -0
- package/templates/yoga-studio/l10n/ja.json +66 -0
- package/templates/yoga-studio/l10n/ko.json +66 -0
- package/templates/yoga-studio/l10n/lt.json +66 -0
- package/templates/yoga-studio/l10n/nl.json +66 -0
- package/templates/yoga-studio/l10n/no.json +66 -0
- package/templates/yoga-studio/l10n/pl.json +66 -0
- package/templates/yoga-studio/l10n/pt.json +66 -0
- package/templates/yoga-studio/l10n/ru.json +66 -0
- package/templates/yoga-studio/l10n/sv.json +66 -0
- package/templates/yoga-studio/l10n/th.json +66 -0
- package/templates/yoga-studio/l10n/tr.json +66 -0
- package/templates/yoga-studio/l10n/uk.json +66 -0
- package/templates/yoga-studio/l10n/vi.json +66 -0
- package/templates/yoga-studio/l10n/zh.json +66 -0
- package/templates/yoga-studio/tier5-src/_shared/branded-form.ts +321 -0
- package/templates/yoga-studio/tier5-src/himi-branded-lite-program-step/index.ts +396 -14
- package/templates/yoga-studio/tier5-src/himi-branded-lite-program-step/quiz.ts +114 -0
|
@@ -575,6 +575,9 @@ export interface WixQuiz {
|
|
|
575
575
|
/** GET /online-programs/v1/quizzes/{quizId} — a quiz with its questions. `quizId` is the step's `quizOptions.id`.
|
|
576
576
|
* NOT callable by a member: on amit1 the gateway answers a member token with an empty 403 (the lock lists
|
|
577
577
|
* only the APP identity for this route). The submission route below does accept a member.
|
|
578
|
+
* A member reads the questions from the quiz's Wix Forms form instead: a quiz IS a form in the namespace
|
|
579
|
+
* `wix.achievements.quizzes.v1.quiz` with the same id, so `getForm(quizId)` of `@himalaya/wix-forms` answers
|
|
580
|
+
* a member with the questions and the settings and without the right answers (verified on amit1, 2026-11-19).
|
|
578
581
|
* @scope owner — the quiz definition is app-identity only, so a member session cannot read it. */
|
|
579
582
|
export declare function getQuiz(quizId: string, readOptions?: WixCallOptions): Promise<{
|
|
580
583
|
quiz?: WixQuiz;
|
|
@@ -598,6 +601,9 @@ export interface WixQuizSubmission {
|
|
|
598
601
|
evaluationStatus?: string;
|
|
599
602
|
}
|
|
600
603
|
/** POST /online-programs/v1/quiz-submissions — submit answers; the response carries the evaluation.
|
|
604
|
+
* A submission does not resolve the step: pass its id to `completeStep` (`quizSubmissionId`), and the site
|
|
605
|
+
* resolves the step COMPLETED (passed) or FAILED with the score. A pass answers `evaluationStatus` COMPLETED,
|
|
606
|
+
* not PASSED (amit1, 2026-11-19). Past the quiz's `settings.attempts` the site answers 428.
|
|
601
607
|
* @scope member */
|
|
602
608
|
export declare function createQuizSubmission(submission: {
|
|
603
609
|
quizId: string;
|
package/dist/cli.mjs
CHANGED
|
@@ -42167,6 +42167,7 @@ function shouldRevealError(args) {
|
|
|
42167
42167
|
var EMAIL_RE, URL_HOST_RE, INTEGER_RE, NUMBER_RE, AUTHORED_PATTERN_LIMIT, authoredPatterns;
|
|
42168
42168
|
var init_validation = __esm({
|
|
42169
42169
|
"../../core/ts/src/validation.ts"() {
|
|
42170
|
+
"use strict";
|
|
42170
42171
|
init_define_HHP_CATALOG();
|
|
42171
42172
|
EMAIL_RE = /^[A-Za-z0-9._%+-]+@[A-Za-z0-9-]+(\.[A-Za-z0-9-]+)*\.[A-Za-z]{2,}$/;
|
|
42172
42173
|
URL_HOST_RE = /^[A-Za-z0-9-]+(\.[A-Za-z0-9-]+)*(:[0-9]+)?$/;
|
|
@@ -29922,7 +29922,7 @@
|
|
|
29922
29922
|
{
|
|
29923
29923
|
"name": "getQuiz",
|
|
29924
29924
|
"kind": "function",
|
|
29925
|
-
"jsdoc": "/** GET /online-programs/v1/quizzes/{quizId} — a quiz with its questions. `quizId` is the step's `quizOptions.id`.\n * NOT callable by a member: on amit1 the gateway answers a member token with an empty 403 (the lock lists\n * only the APP identity for this route). The submission route below does accept a member.\n * @scope owner — the quiz definition is app-identity only, so a member session cannot read it. */",
|
|
29925
|
+
"jsdoc": "/** GET /online-programs/v1/quizzes/{quizId} — a quiz with its questions. `quizId` is the step's `quizOptions.id`.\n * NOT callable by a member: on amit1 the gateway answers a member token with an empty 403 (the lock lists\n * only the APP identity for this route). The submission route below does accept a member.\n * A member reads the questions from the quiz's Wix Forms form instead: a quiz IS a form in the namespace\n * `wix.achievements.quizzes.v1.quiz` with the same id, so `getForm(quizId)` of `@himalaya/wix-forms` answers\n * a member with the questions and the settings and without the right answers (verified on amit1, 2026-11-19).\n * @scope owner — the quiz definition is app-identity only, so a member session cannot read it. */",
|
|
29926
29926
|
"decl": "export function getQuiz(quizId: string, readOptions?: WixCallOptions): Promise<{ quiz?: WixQuiz }>;",
|
|
29927
29927
|
"http": "GET /online-programs/v1/quizzes/{…}",
|
|
29928
29928
|
"scope": "owner",
|
|
@@ -29945,7 +29945,7 @@
|
|
|
29945
29945
|
{
|
|
29946
29946
|
"name": "createQuizSubmission",
|
|
29947
29947
|
"kind": "function",
|
|
29948
|
-
"jsdoc": "/** POST /online-programs/v1/quiz-submissions — submit answers; the response carries the evaluation.\n * @scope member */",
|
|
29948
|
+
"jsdoc": "/** POST /online-programs/v1/quiz-submissions — submit answers; the response carries the evaluation.\n * A submission does not resolve the step: pass its id to `completeStep` (`quizSubmissionId`), and the site\n * resolves the step COMPLETED (passed) or FAILED with the score. A pass answers `evaluationStatus` COMPLETED,\n * not PASSED (amit1, 2026-11-19). Past the quiz's `settings.attempts` the site answers 428.\n * @scope member */",
|
|
29949
29949
|
"decl": "export function createQuizSubmission(submission: { quizId: string; groupId?: string; answers: Record<string, WixQuizAnswer> }, options?: WixCallOptions): Promise<{ quizSubmission?: WixQuizSubmission }>;",
|
|
29950
29950
|
"http": "POST /online-programs/v1/quiz-submissions",
|
|
29951
29951
|
"scope": "member",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/himalaya-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1797.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "himi — the Himalaya authoring CLI. Build a Tier-5 content package on your own machine, push it to the production serve as a draft, preview it on web + Himi Player, and read worker logs back — the remote dev loop. Wraps @himalaya/serve-cli for transport.",
|
|
6
6
|
"keywords": [
|
|
@@ -82,5 +82,5 @@
|
|
|
82
82
|
"artifactId": "himalaya-cli"
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
|
-
"falconPackageHash": "
|
|
85
|
+
"falconPackageHash": "2ae7597806b3962f7c821332fc01648c10ea50a015cebe64c1cf06ba"
|
|
86
86
|
}
|
|
@@ -38918,6 +38918,489 @@ const SCREENS = runtimeSetting({
|
|
|
38918
38918
|
"hiddenPath": "$service:himiBrandedProgramStep.hideBodyText"
|
|
38919
38919
|
}
|
|
38920
38920
|
},
|
|
38921
|
+
{
|
|
38922
|
+
"id": "himi_program_step.quiz_loading",
|
|
38923
|
+
"body": {
|
|
38924
|
+
"package": "himalaya",
|
|
38925
|
+
"type": "VStack",
|
|
38926
|
+
"props": {
|
|
38927
|
+
"spacing": 12,
|
|
38928
|
+
"alignment": "leading",
|
|
38929
|
+
"children": [
|
|
38930
|
+
{
|
|
38931
|
+
"id": "himi_program_step.quiz_loading_question",
|
|
38932
|
+
"body": {
|
|
38933
|
+
"package": "himalaya",
|
|
38934
|
+
"type": "Skeleton",
|
|
38935
|
+
"props": {
|
|
38936
|
+
"width": 220,
|
|
38937
|
+
"height": 16,
|
|
38938
|
+
"cornerRadius": 4
|
|
38939
|
+
}
|
|
38940
|
+
}
|
|
38941
|
+
},
|
|
38942
|
+
{
|
|
38943
|
+
"id": "himi_program_step.quiz_loading_options",
|
|
38944
|
+
"body": {
|
|
38945
|
+
"package": "himalaya",
|
|
38946
|
+
"type": "Skeleton",
|
|
38947
|
+
"props": {
|
|
38948
|
+
"height": 20,
|
|
38949
|
+
"cornerRadius": 4,
|
|
38950
|
+
"count": 3
|
|
38951
|
+
}
|
|
38952
|
+
}
|
|
38953
|
+
}
|
|
38954
|
+
]
|
|
38955
|
+
}
|
|
38956
|
+
},
|
|
38957
|
+
"modifiers": {
|
|
38958
|
+
"hiddenPath": "$service:himiBrandedProgramStep.hideQuizLoading"
|
|
38959
|
+
}
|
|
38960
|
+
},
|
|
38961
|
+
{
|
|
38962
|
+
"id": "himi_program_step.result",
|
|
38963
|
+
"body": {
|
|
38964
|
+
"package": "himalaya",
|
|
38965
|
+
"type": "VStack",
|
|
38966
|
+
"props": {
|
|
38967
|
+
"spacing": 8,
|
|
38968
|
+
"alignment": "leading",
|
|
38969
|
+
"children": [
|
|
38970
|
+
{
|
|
38971
|
+
"id": "",
|
|
38972
|
+
"body": {
|
|
38973
|
+
"package": "himalaya",
|
|
38974
|
+
"type": "HStack",
|
|
38975
|
+
"props": {
|
|
38976
|
+
"spacing": 8,
|
|
38977
|
+
"children": [
|
|
38978
|
+
{
|
|
38979
|
+
"id": "",
|
|
38980
|
+
"body": {
|
|
38981
|
+
"package": "himalaya",
|
|
38982
|
+
"type": "Icon",
|
|
38983
|
+
"props": {
|
|
38984
|
+
"name": "success",
|
|
38985
|
+
"size": 22,
|
|
38986
|
+
"tint": "success"
|
|
38987
|
+
}
|
|
38988
|
+
},
|
|
38989
|
+
"modifiers": {
|
|
38990
|
+
"accessibilityRole": "decorative"
|
|
38991
|
+
}
|
|
38992
|
+
},
|
|
38993
|
+
{
|
|
38994
|
+
"id": "himi_program_step.result_pass",
|
|
38995
|
+
"body": {
|
|
38996
|
+
"package": "himalaya",
|
|
38997
|
+
"type": "Text",
|
|
38998
|
+
"props": {
|
|
38999
|
+
"text": "$service:himiBrandedProgramStep.resultTitle",
|
|
39000
|
+
"style": "bodyEmphasis"
|
|
39001
|
+
}
|
|
39002
|
+
},
|
|
39003
|
+
"modifiers": {
|
|
39004
|
+
"weight": 1
|
|
39005
|
+
}
|
|
39006
|
+
}
|
|
39007
|
+
]
|
|
39008
|
+
}
|
|
39009
|
+
},
|
|
39010
|
+
"modifiers": {
|
|
39011
|
+
"hiddenPath": "$service:himiBrandedProgramStep.hideResultPass"
|
|
39012
|
+
}
|
|
39013
|
+
},
|
|
39014
|
+
{
|
|
39015
|
+
"id": "",
|
|
39016
|
+
"body": {
|
|
39017
|
+
"package": "himalaya",
|
|
39018
|
+
"type": "HStack",
|
|
39019
|
+
"props": {
|
|
39020
|
+
"spacing": 8,
|
|
39021
|
+
"children": [
|
|
39022
|
+
{
|
|
39023
|
+
"id": "",
|
|
39024
|
+
"body": {
|
|
39025
|
+
"package": "himalaya",
|
|
39026
|
+
"type": "Icon",
|
|
39027
|
+
"props": {
|
|
39028
|
+
"name": "info",
|
|
39029
|
+
"size": 22,
|
|
39030
|
+
"tint": "accentPrimary"
|
|
39031
|
+
}
|
|
39032
|
+
},
|
|
39033
|
+
"modifiers": {
|
|
39034
|
+
"accessibilityRole": "decorative"
|
|
39035
|
+
}
|
|
39036
|
+
},
|
|
39037
|
+
{
|
|
39038
|
+
"id": "himi_program_step.result_fail",
|
|
39039
|
+
"body": {
|
|
39040
|
+
"package": "himalaya",
|
|
39041
|
+
"type": "Text",
|
|
39042
|
+
"props": {
|
|
39043
|
+
"text": "$service:himiBrandedProgramStep.resultTitle",
|
|
39044
|
+
"style": "bodyEmphasis"
|
|
39045
|
+
}
|
|
39046
|
+
},
|
|
39047
|
+
"modifiers": {
|
|
39048
|
+
"weight": 1
|
|
39049
|
+
}
|
|
39050
|
+
}
|
|
39051
|
+
]
|
|
39052
|
+
}
|
|
39053
|
+
},
|
|
39054
|
+
"modifiers": {
|
|
39055
|
+
"hiddenPath": "$service:himiBrandedProgramStep.hideResultFail"
|
|
39056
|
+
}
|
|
39057
|
+
},
|
|
39058
|
+
{
|
|
39059
|
+
"id": "himi_program_step.result_body",
|
|
39060
|
+
"body": {
|
|
39061
|
+
"package": "himalaya",
|
|
39062
|
+
"type": "Text",
|
|
39063
|
+
"props": {
|
|
39064
|
+
"text": "$service:himiBrandedProgramStep.resultBody",
|
|
39065
|
+
"style": "body",
|
|
39066
|
+
"color": "textSecondary",
|
|
39067
|
+
"collapseWhenEmpty": true
|
|
39068
|
+
}
|
|
39069
|
+
}
|
|
39070
|
+
}
|
|
39071
|
+
]
|
|
39072
|
+
}
|
|
39073
|
+
},
|
|
39074
|
+
"modifiers": {
|
|
39075
|
+
"background": {
|
|
39076
|
+
"token": "surfaceElevated"
|
|
39077
|
+
},
|
|
39078
|
+
"border": {
|
|
39079
|
+
"width": 1,
|
|
39080
|
+
"color": {
|
|
39081
|
+
"token": "border"
|
|
39082
|
+
}
|
|
39083
|
+
},
|
|
39084
|
+
"cornerRadius": 4,
|
|
39085
|
+
"padding": {
|
|
39086
|
+
"leading": 16,
|
|
39087
|
+
"trailing": 16,
|
|
39088
|
+
"top": 16,
|
|
39089
|
+
"bottom": 16
|
|
39090
|
+
},
|
|
39091
|
+
"fillMaxWidth": true,
|
|
39092
|
+
"hiddenPath": "$service:himiBrandedProgramStep.hideResult"
|
|
39093
|
+
}
|
|
39094
|
+
},
|
|
39095
|
+
{
|
|
39096
|
+
"id": "himi_program_step.quiz",
|
|
39097
|
+
"body": {
|
|
39098
|
+
"package": "himalaya",
|
|
39099
|
+
"type": "VStack",
|
|
39100
|
+
"props": {
|
|
39101
|
+
"spacing": 20,
|
|
39102
|
+
"alignment": "leading",
|
|
39103
|
+
"children": [
|
|
39104
|
+
{
|
|
39105
|
+
"id": "himi_program_step.quiz_intro",
|
|
39106
|
+
"body": {
|
|
39107
|
+
"package": "himalaya",
|
|
39108
|
+
"type": "Text",
|
|
39109
|
+
"props": {
|
|
39110
|
+
"text": "$service:himiBrandedProgramStep.quizIntro",
|
|
39111
|
+
"style": "body",
|
|
39112
|
+
"color": "textSecondary",
|
|
39113
|
+
"collapseWhenEmpty": true
|
|
39114
|
+
}
|
|
39115
|
+
}
|
|
39116
|
+
},
|
|
39117
|
+
{
|
|
39118
|
+
"id": "himi_program_step.quiz_questions",
|
|
39119
|
+
"body": {
|
|
39120
|
+
"package": "himalaya",
|
|
39121
|
+
"type": "Grid",
|
|
39122
|
+
"props": {
|
|
39123
|
+
"columns": 1,
|
|
39124
|
+
"spacing": 24,
|
|
39125
|
+
"itemsPath": "$service:himiBrandedProgramStep.quizRows",
|
|
39126
|
+
"items": [
|
|
39127
|
+
{
|
|
39128
|
+
"id": "himi_program_step.quiz_question.$item.id",
|
|
39129
|
+
"body": {
|
|
39130
|
+
"package": "himalaya",
|
|
39131
|
+
"type": "VStack",
|
|
39132
|
+
"props": {
|
|
39133
|
+
"spacing": 10,
|
|
39134
|
+
"alignment": "leading",
|
|
39135
|
+
"children": [
|
|
39136
|
+
{
|
|
39137
|
+
"id": "",
|
|
39138
|
+
"body": {
|
|
39139
|
+
"package": "himalaya",
|
|
39140
|
+
"type": "Text",
|
|
39141
|
+
"props": {
|
|
39142
|
+
"text": "$item.label",
|
|
39143
|
+
"style": "bodyEmphasis"
|
|
39144
|
+
}
|
|
39145
|
+
}
|
|
39146
|
+
},
|
|
39147
|
+
{
|
|
39148
|
+
"id": "himi_program_step.quiz_options.$item.id",
|
|
39149
|
+
"body": {
|
|
39150
|
+
"package": "himalaya",
|
|
39151
|
+
"type": "Grid",
|
|
39152
|
+
"props": {
|
|
39153
|
+
"columns": 1,
|
|
39154
|
+
"spacing": 14,
|
|
39155
|
+
"itemsPath": "$item.options",
|
|
39156
|
+
"items": [
|
|
39157
|
+
{
|
|
39158
|
+
"id": "",
|
|
39159
|
+
"body": {
|
|
39160
|
+
"package": "himalaya",
|
|
39161
|
+
"type": "HStack",
|
|
39162
|
+
"props": {
|
|
39163
|
+
"spacing": 0,
|
|
39164
|
+
"alignment": "center",
|
|
39165
|
+
"children": [
|
|
39166
|
+
{
|
|
39167
|
+
"id": "himi_program_step.quiz_option.$item.id",
|
|
39168
|
+
"body": {
|
|
39169
|
+
"package": "himalaya",
|
|
39170
|
+
"type": "SelectionControl",
|
|
39171
|
+
"props": {
|
|
39172
|
+
"kind": "radio",
|
|
39173
|
+
"label": "$item.label",
|
|
39174
|
+
"valuePath": "$item.selected",
|
|
39175
|
+
"groupId": "$item.target",
|
|
39176
|
+
"onChange": {
|
|
39177
|
+
"actionId": "tier5.himiBrandedProgramStep.chooseAnswer",
|
|
39178
|
+
"params": {
|
|
39179
|
+
"target": "$item.target",
|
|
39180
|
+
"option": "$item.value"
|
|
39181
|
+
}
|
|
39182
|
+
}
|
|
39183
|
+
}
|
|
39184
|
+
}
|
|
39185
|
+
},
|
|
39186
|
+
{
|
|
39187
|
+
"id": "",
|
|
39188
|
+
"body": {
|
|
39189
|
+
"package": "himalaya",
|
|
39190
|
+
"type": "Spacer",
|
|
39191
|
+
"props": {}
|
|
39192
|
+
}
|
|
39193
|
+
}
|
|
39194
|
+
]
|
|
39195
|
+
}
|
|
39196
|
+
}
|
|
39197
|
+
}
|
|
39198
|
+
]
|
|
39199
|
+
}
|
|
39200
|
+
},
|
|
39201
|
+
"modifiers": {
|
|
39202
|
+
"hiddenPath": "$item.notChoice"
|
|
39203
|
+
}
|
|
39204
|
+
},
|
|
39205
|
+
{
|
|
39206
|
+
"id": "himi_program_step.quiz_checks.$item.id",
|
|
39207
|
+
"body": {
|
|
39208
|
+
"package": "himalaya",
|
|
39209
|
+
"type": "Grid",
|
|
39210
|
+
"props": {
|
|
39211
|
+
"columns": 1,
|
|
39212
|
+
"spacing": 14,
|
|
39213
|
+
"itemsPath": "$item.options",
|
|
39214
|
+
"items": [
|
|
39215
|
+
{
|
|
39216
|
+
"id": "",
|
|
39217
|
+
"body": {
|
|
39218
|
+
"package": "himalaya",
|
|
39219
|
+
"type": "HStack",
|
|
39220
|
+
"props": {
|
|
39221
|
+
"spacing": 0,
|
|
39222
|
+
"alignment": "center",
|
|
39223
|
+
"children": [
|
|
39224
|
+
{
|
|
39225
|
+
"id": "himi_program_step.quiz_check.$item.id",
|
|
39226
|
+
"body": {
|
|
39227
|
+
"package": "himalaya",
|
|
39228
|
+
"type": "SelectionControl",
|
|
39229
|
+
"props": {
|
|
39230
|
+
"kind": "checkbox",
|
|
39231
|
+
"label": "$item.label",
|
|
39232
|
+
"valuePath": "$item.selected",
|
|
39233
|
+
"onChange": {
|
|
39234
|
+
"actionId": "tier5.himiBrandedProgramStep.toggleAnswer",
|
|
39235
|
+
"params": {
|
|
39236
|
+
"target": "$item.target",
|
|
39237
|
+
"option": "$item.value"
|
|
39238
|
+
}
|
|
39239
|
+
}
|
|
39240
|
+
}
|
|
39241
|
+
}
|
|
39242
|
+
},
|
|
39243
|
+
{
|
|
39244
|
+
"id": "",
|
|
39245
|
+
"body": {
|
|
39246
|
+
"package": "himalaya",
|
|
39247
|
+
"type": "Spacer",
|
|
39248
|
+
"props": {}
|
|
39249
|
+
}
|
|
39250
|
+
}
|
|
39251
|
+
]
|
|
39252
|
+
}
|
|
39253
|
+
}
|
|
39254
|
+
}
|
|
39255
|
+
]
|
|
39256
|
+
}
|
|
39257
|
+
},
|
|
39258
|
+
"modifiers": {
|
|
39259
|
+
"hiddenPath": "$item.notMulti"
|
|
39260
|
+
}
|
|
39261
|
+
},
|
|
39262
|
+
{
|
|
39263
|
+
"id": "himi_program_step.quiz_field.$item.id.text",
|
|
39264
|
+
"body": {
|
|
39265
|
+
"package": "himalaya",
|
|
39266
|
+
"type": "TextField",
|
|
39267
|
+
"props": {
|
|
39268
|
+
"value": "$item.value",
|
|
39269
|
+
"onChange": {
|
|
39270
|
+
"actionId": "tier5.himiBrandedProgramStep.setAnswer",
|
|
39271
|
+
"params": {
|
|
39272
|
+
"target": "$item.target"
|
|
39273
|
+
}
|
|
39274
|
+
},
|
|
39275
|
+
"autoCapitalization": "sentences"
|
|
39276
|
+
}
|
|
39277
|
+
},
|
|
39278
|
+
"modifiers": {
|
|
39279
|
+
"accessibilityLabel": "$item.label",
|
|
39280
|
+
"hiddenPath": "$item.notText"
|
|
39281
|
+
}
|
|
39282
|
+
},
|
|
39283
|
+
{
|
|
39284
|
+
"id": "himi_program_step.quiz_field.$item.id.area",
|
|
39285
|
+
"body": {
|
|
39286
|
+
"package": "himalaya",
|
|
39287
|
+
"type": "TextField",
|
|
39288
|
+
"props": {
|
|
39289
|
+
"value": "$item.value",
|
|
39290
|
+
"onChange": {
|
|
39291
|
+
"actionId": "tier5.himiBrandedProgramStep.setAnswer",
|
|
39292
|
+
"params": {
|
|
39293
|
+
"target": "$item.target"
|
|
39294
|
+
}
|
|
39295
|
+
},
|
|
39296
|
+
"multilineMaxLines": 6,
|
|
39297
|
+
"autoCapitalization": "sentences"
|
|
39298
|
+
}
|
|
39299
|
+
},
|
|
39300
|
+
"modifiers": {
|
|
39301
|
+
"accessibilityLabel": "$item.label",
|
|
39302
|
+
"hiddenPath": "$item.notArea"
|
|
39303
|
+
}
|
|
39304
|
+
},
|
|
39305
|
+
{
|
|
39306
|
+
"id": "himi_program_step.quiz_field.$item.id.number",
|
|
39307
|
+
"body": {
|
|
39308
|
+
"package": "himalaya",
|
|
39309
|
+
"type": "TextField",
|
|
39310
|
+
"props": {
|
|
39311
|
+
"value": "$item.value",
|
|
39312
|
+
"onChange": {
|
|
39313
|
+
"actionId": "tier5.himiBrandedProgramStep.setAnswer",
|
|
39314
|
+
"params": {
|
|
39315
|
+
"target": "$item.target"
|
|
39316
|
+
}
|
|
39317
|
+
},
|
|
39318
|
+
"keyboard": "decimal"
|
|
39319
|
+
}
|
|
39320
|
+
},
|
|
39321
|
+
"modifiers": {
|
|
39322
|
+
"accessibilityLabel": "$item.label",
|
|
39323
|
+
"hiddenPath": "$item.notNumber"
|
|
39324
|
+
}
|
|
39325
|
+
},
|
|
39326
|
+
{
|
|
39327
|
+
"id": "",
|
|
39328
|
+
"body": {
|
|
39329
|
+
"package": "himalaya",
|
|
39330
|
+
"type": "Text",
|
|
39331
|
+
"props": {
|
|
39332
|
+
"text": "$item.error",
|
|
39333
|
+
"style": "caption",
|
|
39334
|
+
"color": "danger"
|
|
39335
|
+
}
|
|
39336
|
+
},
|
|
39337
|
+
"modifiers": {
|
|
39338
|
+
"hiddenPath": "$item.noError"
|
|
39339
|
+
}
|
|
39340
|
+
}
|
|
39341
|
+
]
|
|
39342
|
+
}
|
|
39343
|
+
}
|
|
39344
|
+
}
|
|
39345
|
+
]
|
|
39346
|
+
}
|
|
39347
|
+
}
|
|
39348
|
+
},
|
|
39349
|
+
{
|
|
39350
|
+
"id": "himi_program_step.quiz_submit",
|
|
39351
|
+
"body": {
|
|
39352
|
+
"package": "himalaya",
|
|
39353
|
+
"type": "Button",
|
|
39354
|
+
"props": {
|
|
39355
|
+
"title": "Submit answers",
|
|
39356
|
+
"style": "primary",
|
|
39357
|
+
"fullWidth": true,
|
|
39358
|
+
"disabledPath": "$service:himiBrandedProgramStep.busy",
|
|
39359
|
+
"action": {
|
|
39360
|
+
"actionId": "tier5.himiBrandedProgramStep.submitQuiz"
|
|
39361
|
+
}
|
|
39362
|
+
}
|
|
39363
|
+
}
|
|
39364
|
+
}
|
|
39365
|
+
]
|
|
39366
|
+
}
|
|
39367
|
+
},
|
|
39368
|
+
"modifiers": {
|
|
39369
|
+
"hiddenPath": "$service:himiBrandedProgramStep.hideQuiz"
|
|
39370
|
+
}
|
|
39371
|
+
},
|
|
39372
|
+
{
|
|
39373
|
+
"id": "himi_program_step.quiz_error",
|
|
39374
|
+
"body": {
|
|
39375
|
+
"package": "himalaya",
|
|
39376
|
+
"type": "Text",
|
|
39377
|
+
"props": {
|
|
39378
|
+
"text": "$service:himiBrandedProgramStep.quizError",
|
|
39379
|
+
"style": "footnote",
|
|
39380
|
+
"color": "danger",
|
|
39381
|
+
"collapseWhenEmpty": true
|
|
39382
|
+
}
|
|
39383
|
+
}
|
|
39384
|
+
},
|
|
39385
|
+
{
|
|
39386
|
+
"id": "himi_program_step.quiz_retry",
|
|
39387
|
+
"body": {
|
|
39388
|
+
"package": "himalaya",
|
|
39389
|
+
"type": "Button",
|
|
39390
|
+
"props": {
|
|
39391
|
+
"title": "Try again",
|
|
39392
|
+
"style": "secondary",
|
|
39393
|
+
"fullWidth": true,
|
|
39394
|
+
"disabledPath": "$service:himiBrandedProgramStep.busy",
|
|
39395
|
+
"action": {
|
|
39396
|
+
"actionId": "tier5.himiBrandedProgramStep.retryQuiz"
|
|
39397
|
+
}
|
|
39398
|
+
}
|
|
39399
|
+
},
|
|
39400
|
+
"modifiers": {
|
|
39401
|
+
"hiddenPath": "$service:himiBrandedProgramStep.hideRetry"
|
|
39402
|
+
}
|
|
39403
|
+
},
|
|
38921
39404
|
{
|
|
38922
39405
|
"id": "himi_program_step.frozen",
|
|
38923
39406
|
"body": {
|
|
@@ -4370,6 +4370,12 @@
|
|
|
4370
4370
|
"translation": "فتح على الموقع",
|
|
4371
4371
|
"origin": "machine"
|
|
4372
4372
|
},
|
|
4373
|
+
"h_988c413069b4": {
|
|
4374
|
+
"key": "programStep.quizSubmitCta",
|
|
4375
|
+
"source": "Submit answers",
|
|
4376
|
+
"translation": "إرسال الإجابات",
|
|
4377
|
+
"origin": "machine"
|
|
4378
|
+
},
|
|
4373
4379
|
"h_1e9b74b4dda5": {
|
|
4374
4380
|
"source": "Show all ({count})",
|
|
4375
4381
|
"translation": "عرض الكل ({count})",
|
|
@@ -9639,6 +9645,66 @@
|
|
|
9639
9645
|
"source": "Take this quiz on the program's website.",
|
|
9640
9646
|
"translation": "أجب عن هذا الاختبار على موقع البرنامج.",
|
|
9641
9647
|
"origin": "machine"
|
|
9648
|
+
},
|
|
9649
|
+
"h_00ece1813f9b": {
|
|
9650
|
+
"source": "Your score: {score}%. You need {grade}% to pass.",
|
|
9651
|
+
"translation": "نتيجتك: {score}%. تحتاج إلى {grade}% للنجاح.",
|
|
9652
|
+
"origin": "machine"
|
|
9653
|
+
},
|
|
9654
|
+
"h_0919ff29cabe": {
|
|
9655
|
+
"source": "Your score: {score}%.",
|
|
9656
|
+
"translation": "نتيجتك: {score}%.",
|
|
9657
|
+
"origin": "machine"
|
|
9658
|
+
},
|
|
9659
|
+
"h_18055b22e15a": {
|
|
9660
|
+
"source": "Not passed yet",
|
|
9661
|
+
"translation": "لم تنجح بعد",
|
|
9662
|
+
"origin": "machine"
|
|
9663
|
+
},
|
|
9664
|
+
"h_2074225eafe0": {
|
|
9665
|
+
"source": "Answer this question.",
|
|
9666
|
+
"translation": "أجب عن هذا السؤال.",
|
|
9667
|
+
"origin": "machine"
|
|
9668
|
+
},
|
|
9669
|
+
"h_4f2c8699ab7e": {
|
|
9670
|
+
"source": "Your answers couldn't be sent. Try again.",
|
|
9671
|
+
"translation": "تعذّر إرسال إجاباتك. حاول مرة أخرى.",
|
|
9672
|
+
"origin": "machine"
|
|
9673
|
+
},
|
|
9674
|
+
"h_88c50a39ee12": {
|
|
9675
|
+
"source": "Answer every question, then submit. You need {grade}% to pass.",
|
|
9676
|
+
"translation": "أجب عن كل الأسئلة، ثم أرسل. تحتاج إلى {grade}% للنجاح.",
|
|
9677
|
+
"origin": "machine"
|
|
9678
|
+
},
|
|
9679
|
+
"h_8c0dcd675b14": {
|
|
9680
|
+
"source": "This quiz couldn't be loaded.",
|
|
9681
|
+
"translation": "تعذّر تحميل هذا الاختبار.",
|
|
9682
|
+
"origin": "machine"
|
|
9683
|
+
},
|
|
9684
|
+
"h_a29a7f00b389": {
|
|
9685
|
+
"source": "Answer every question, then submit.",
|
|
9686
|
+
"translation": "أجب عن كل الأسئلة، ثم أرسل.",
|
|
9687
|
+
"origin": "machine"
|
|
9688
|
+
},
|
|
9689
|
+
"h_ad0ea8d557ca": {
|
|
9690
|
+
"source": "You have no attempts left for this quiz.",
|
|
9691
|
+
"translation": "لم تعد لديك محاولات في هذا الاختبار.",
|
|
9692
|
+
"origin": "machine"
|
|
9693
|
+
},
|
|
9694
|
+
"h_c11b283297f8": {
|
|
9695
|
+
"source": "Answer every question to submit.",
|
|
9696
|
+
"translation": "أجب عن كل الأسئلة لتتمكن من الإرسال.",
|
|
9697
|
+
"origin": "machine"
|
|
9698
|
+
},
|
|
9699
|
+
"h_c290e238a3da": {
|
|
9700
|
+
"source": "You passed",
|
|
9701
|
+
"translation": "لقد نجحت",
|
|
9702
|
+
"origin": "machine"
|
|
9703
|
+
},
|
|
9704
|
+
"h_cb2c18904fad": {
|
|
9705
|
+
"source": "{correct} of {total} answers were right.",
|
|
9706
|
+
"translation": "{correct} من {total} إجابات كانت صحيحة.",
|
|
9707
|
+
"origin": "machine"
|
|
9642
9708
|
}
|
|
9643
9709
|
}
|
|
9644
9710
|
}
|