@wix/himalaya-cli 0.1947.0 → 0.1949.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/sdk/files/src/index.d.ts +23 -2
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/admob-ids.d.ts +4 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/index.d.ts +1 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts +3 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/social-feed/src/index.d.ts +13 -4
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/video/src/display.d.ts +3 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +8 -2
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/files.mjs +4 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/screens.mjs +3 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-video.mjs +4 -0
- package/dist/browser-plane/assets.json +5 -5
- package/dist/browser-plane/preview-deferred/{da958a2a47eef7082c7892c1cc755a58bbeefcb4b617b47fde87f1ce567b3e64.bin → a8cfd0e17359578587e8937e88dedd40b46d533f08b4d2fdac4c47d5bae6f385.bin} +1 -1
- package/dist/browser-plane/sw.js +9 -9
- package/dist/cli.mjs +1906 -800
- package/dist/preview-assets.generated.bin +0 -0
- package/guides/app-icon.md +7 -3
- package/guides/getting-started.md +6 -1
- package/guides/himi-skill.md +6 -1
- package/guides/himi-test.md +30 -1
- package/guides/one-app-section-mappings.md +1 -1
- package/guides/one-app-to-himi-app.md +23 -16
- package/guides/sdk-reference.json +28 -7
- package/guides/skill.md +1 -1
- package/package.json +2 -2
- package/templates/beauty-salon-owner/config.ts +7 -0
- package/templates/beauty-salon-owner/dev/index.ts +567 -0
- package/templates/beauty-salon-owner/himalaya.content.json +3 -0
- package/templates/beauty-salon-owner/tier5-src/_shared/owner-maestro-activity.ts +151 -0
- package/templates/beauty-salon-owner/tier5-src/_shared/owner-maestro-availability.ts +15 -2
- package/templates/beauty-salon-owner/tier5-src/_shared/owner-maestro-chat.ts +20 -7
- package/templates/beauty-salon-owner/tier5-src/_shared/owner-maestro-when.ts +13 -0
- package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-maestro/index.ts +60 -11
- package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-maestro-activity/index.ts +228 -0
- package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +1 -11
- package/templates/branded-lite/l10n/ar.json +21 -0
- package/templates/branded-lite/l10n/cs.json +21 -0
- package/templates/branded-lite/l10n/da.json +21 -0
- package/templates/branded-lite/l10n/de.json +21 -0
- package/templates/branded-lite/l10n/el.json +21 -0
- package/templates/branded-lite/l10n/en.json +5 -0
- package/templates/branded-lite/l10n/es.json +21 -0
- package/templates/branded-lite/l10n/fi.json +21 -0
- package/templates/branded-lite/l10n/fr.json +21 -0
- package/templates/branded-lite/l10n/he.json +21 -0
- package/templates/branded-lite/l10n/hu.json +21 -0
- package/templates/branded-lite/l10n/id.json +21 -0
- package/templates/branded-lite/l10n/it.json +21 -0
- package/templates/branded-lite/l10n/ja.json +21 -0
- package/templates/branded-lite/l10n/ko.json +21 -0
- package/templates/branded-lite/l10n/lt.json +21 -0
- package/templates/branded-lite/l10n/nl.json +21 -0
- package/templates/branded-lite/l10n/no.json +21 -0
- package/templates/branded-lite/l10n/pl.json +21 -0
- package/templates/branded-lite/l10n/pt.json +21 -0
- package/templates/branded-lite/l10n/ru.json +21 -0
- package/templates/branded-lite/l10n/sv.json +21 -0
- package/templates/branded-lite/l10n/th.json +21 -0
- package/templates/branded-lite/l10n/tr.json +21 -0
- package/templates/branded-lite/l10n/uk.json +21 -0
- package/templates/branded-lite/l10n/vi.json +21 -0
- package/templates/branded-lite/l10n/zh.json +21 -0
- package/templates/branded-lite/recipes/form-section.json +958 -0
- package/templates/branded-lite/recipes/group-feed.json +221 -3
- package/templates/branded-lite/recipes/groups-newsfeed.json +160 -2
- package/templates/branded-lite/recipes/video-library.json +475 -0
- package/templates/branded-lite/tier5-src/_shared/event-agenda.ts +15 -15
- package/templates/branded-lite/tier5-src/_shared/event-schedule-section.ts +8 -8
- package/templates/branded-lite/tier5-src/_shared/form-section.ts +640 -0
- package/templates/branded-lite/tier5-src/_shared/group-feed-section.ts +119 -7
- package/templates/branded-lite/tier5-src/_shared/groups-newsfeed-section.ts +17 -9
- package/templates/branded-lite/tier5-src/_shared/videos-section.ts +134 -2
- package/templates/branded-lite/tier5-src/himi-branded-lite-form/index.ts +4 -588
- package/templates/branded-lite/tier5-src/himi-branded-lite-video/index.ts +4 -2
- package/templates/branded-lite/tier5-src/himi-events-detail/index.ts +7 -6
- package/templates/community-club/tier5-src/himi-events-detail/index.ts +7 -6
- package/templates/community-club-owner/config.ts +7 -0
- package/templates/community-club-owner/dev/index.ts +567 -0
- package/templates/community-club-owner/himalaya.content.json +3 -0
- package/templates/community-club-owner/tier5-src/_shared/owner-maestro-activity.ts +151 -0
- package/templates/community-club-owner/tier5-src/_shared/owner-maestro-availability.ts +15 -2
- package/templates/community-club-owner/tier5-src/_shared/owner-maestro-chat.ts +20 -7
- package/templates/community-club-owner/tier5-src/_shared/owner-maestro-when.ts +13 -0
- package/templates/community-club-owner/tier5-src/himi-owner-lite-maestro/index.ts +60 -11
- package/templates/community-club-owner/tier5-src/himi-owner-lite-maestro-activity/index.ts +228 -0
- package/templates/community-club-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +1 -11
- package/templates/conference/tier5-src/_shared/event-agenda.ts +15 -15
- package/templates/conference/tier5-src/himi-conference-agenda/index.ts +3 -5
- package/templates/conference/tier5-src/himi-conference-home/index.ts +5 -6
- package/templates/conference/tier5-src/himi-events-detail/index.ts +7 -6
- package/templates/events-meetups/tier5-src/himi-events-detail/index.ts +7 -6
- package/templates/events-meetups-owner/config.ts +7 -0
- package/templates/events-meetups-owner/dev/index.ts +567 -0
- package/templates/events-meetups-owner/himalaya.content.json +3 -0
- package/templates/events-meetups-owner/tier5-src/_shared/owner-maestro-activity.ts +151 -0
- package/templates/events-meetups-owner/tier5-src/_shared/owner-maestro-availability.ts +15 -2
- package/templates/events-meetups-owner/tier5-src/_shared/owner-maestro-chat.ts +20 -7
- package/templates/events-meetups-owner/tier5-src/_shared/owner-maestro-when.ts +13 -0
- package/templates/events-meetups-owner/tier5-src/himi-owner-lite-maestro/index.ts +60 -11
- package/templates/events-meetups-owner/tier5-src/himi-owner-lite-maestro-activity/index.ts +228 -0
- package/templates/events-meetups-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +1 -11
- package/templates/gym-fitness/tier5-src/himi-events-detail/index.ts +7 -6
- package/templates/gym-fitness-owner/config.ts +7 -0
- package/templates/gym-fitness-owner/dev/index.ts +567 -0
- package/templates/gym-fitness-owner/himalaya.content.json +3 -0
- package/templates/gym-fitness-owner/tier5-src/_shared/owner-maestro-activity.ts +151 -0
- package/templates/gym-fitness-owner/tier5-src/_shared/owner-maestro-availability.ts +15 -2
- package/templates/gym-fitness-owner/tier5-src/_shared/owner-maestro-chat.ts +20 -7
- package/templates/gym-fitness-owner/tier5-src/_shared/owner-maestro-when.ts +13 -0
- package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-maestro/index.ts +60 -11
- package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-maestro-activity/index.ts +228 -0
- package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +1 -11
- package/templates/nonprofit-cause/tier5-src/himi-events-detail/index.ts +7 -6
- package/templates/nonprofit-cause-owner/config.ts +7 -0
- package/templates/nonprofit-cause-owner/dev/index.ts +567 -0
- package/templates/nonprofit-cause-owner/himalaya.content.json +3 -0
- package/templates/nonprofit-cause-owner/tier5-src/_shared/owner-maestro-activity.ts +151 -0
- package/templates/nonprofit-cause-owner/tier5-src/_shared/owner-maestro-availability.ts +15 -2
- package/templates/nonprofit-cause-owner/tier5-src/_shared/owner-maestro-chat.ts +20 -7
- package/templates/nonprofit-cause-owner/tier5-src/_shared/owner-maestro-when.ts +13 -0
- package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-maestro/index.ts +60 -11
- package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-maestro-activity/index.ts +228 -0
- package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +1 -11
- package/templates/owner-lite/config.ts +7 -0
- package/templates/owner-lite/dev/index.ts +567 -0
- package/templates/owner-lite/himalaya.content.json +3 -0
- package/templates/owner-lite/tier5-src/_shared/owner-maestro-activity.ts +151 -0
- package/templates/owner-lite/tier5-src/_shared/owner-maestro-availability.ts +15 -2
- package/templates/owner-lite/tier5-src/_shared/owner-maestro-chat.ts +20 -7
- package/templates/owner-lite/tier5-src/_shared/owner-maestro-when.ts +13 -0
- package/templates/owner-lite/tier5-src/himi-owner-lite-maestro/index.ts +60 -11
- package/templates/owner-lite/tier5-src/himi-owner-lite-maestro-activity/index.ts +228 -0
- package/templates/owner-lite/tier5-src/himi-owner-lite-maestro-history/index.ts +1 -11
- package/templates/personal-fitness-trainer/tier5-src/himi-branded-lite-video/index.ts +4 -2
- package/templates/podcast-creator/tier5-src/himi-events-detail/index.ts +7 -6
- package/templates/podcast-creator-owner/config.ts +7 -0
- package/templates/podcast-creator-owner/dev/index.ts +567 -0
- package/templates/podcast-creator-owner/himalaya.content.json +3 -0
- package/templates/podcast-creator-owner/tier5-src/_shared/owner-maestro-activity.ts +151 -0
- package/templates/podcast-creator-owner/tier5-src/_shared/owner-maestro-availability.ts +15 -2
- package/templates/podcast-creator-owner/tier5-src/_shared/owner-maestro-chat.ts +20 -7
- package/templates/podcast-creator-owner/tier5-src/_shared/owner-maestro-when.ts +13 -0
- package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-maestro/index.ts +60 -11
- package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-maestro-activity/index.ts +228 -0
- package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +1 -11
- package/templates/portfolio-creative/tier5-src/himi-events-detail/index.ts +7 -6
- package/templates/portfolio-creative-owner/config.ts +7 -0
- package/templates/portfolio-creative-owner/dev/index.ts +567 -0
- package/templates/portfolio-creative-owner/himalaya.content.json +3 -0
- package/templates/portfolio-creative-owner/tier5-src/_shared/owner-maestro-activity.ts +151 -0
- package/templates/portfolio-creative-owner/tier5-src/_shared/owner-maestro-availability.ts +15 -2
- package/templates/portfolio-creative-owner/tier5-src/_shared/owner-maestro-chat.ts +20 -7
- package/templates/portfolio-creative-owner/tier5-src/_shared/owner-maestro-when.ts +13 -0
- package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-maestro/index.ts +60 -11
- package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-maestro-activity/index.ts +228 -0
- package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +1 -11
- package/templates/professional-services/tier5-src/himi-events-detail/index.ts +7 -6
- package/templates/restaurant/tier5-src/himi-events-detail/index.ts +7 -6
- package/templates/restaurant-owner/config.ts +7 -0
- package/templates/restaurant-owner/dev/index.ts +567 -0
- package/templates/restaurant-owner/himalaya.content.json +3 -0
- package/templates/restaurant-owner/tier5-src/_shared/owner-maestro-activity.ts +151 -0
- package/templates/restaurant-owner/tier5-src/_shared/owner-maestro-availability.ts +15 -2
- package/templates/restaurant-owner/tier5-src/_shared/owner-maestro-chat.ts +20 -7
- package/templates/restaurant-owner/tier5-src/_shared/owner-maestro-when.ts +13 -0
- package/templates/restaurant-owner/tier5-src/himi-owner-lite-maestro/index.ts +60 -11
- package/templates/restaurant-owner/tier5-src/himi-owner-lite-maestro-activity/index.ts +228 -0
- package/templates/restaurant-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +1 -11
- package/templates/retail-store-owner/config.ts +7 -0
- package/templates/retail-store-owner/dev/index.ts +567 -0
- package/templates/retail-store-owner/himalaya.content.json +3 -0
- package/templates/retail-store-owner/tier5-src/_shared/owner-maestro-activity.ts +151 -0
- package/templates/retail-store-owner/tier5-src/_shared/owner-maestro-availability.ts +15 -2
- package/templates/retail-store-owner/tier5-src/_shared/owner-maestro-chat.ts +20 -7
- package/templates/retail-store-owner/tier5-src/_shared/owner-maestro-when.ts +13 -0
- package/templates/retail-store-owner/tier5-src/himi-owner-lite-maestro/index.ts +60 -11
- package/templates/retail-store-owner/tier5-src/himi-owner-lite-maestro-activity/index.ts +228 -0
- package/templates/retail-store-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +1 -11
- package/templates/yoga-studio/tier5-src/himi-events-detail/index.ts +7 -6
- package/templates/yoga-studio-owner/config.ts +7 -0
- package/templates/yoga-studio-owner/dev/index.ts +567 -0
- package/templates/yoga-studio-owner/himalaya.content.json +3 -0
- package/templates/yoga-studio-owner/tier5-src/_shared/owner-maestro-activity.ts +151 -0
- package/templates/yoga-studio-owner/tier5-src/_shared/owner-maestro-availability.ts +15 -2
- package/templates/yoga-studio-owner/tier5-src/_shared/owner-maestro-chat.ts +20 -7
- package/templates/yoga-studio-owner/tier5-src/_shared/owner-maestro-when.ts +13 -0
- package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-maestro/index.ts +60 -11
- package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-maestro-activity/index.ts +228 -0
- package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +1 -11
|
@@ -0,0 +1,958 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_recipe": "One Wix Form laid out inline on a page: its fields in layout order (one page at a time), the error line, the form's own Submit / Next / Back, Clear form, and the loading, done, closed, not-found and unsupported states. Same states, flags, rows and actions as the himi_form screen. ONE node, always mounted. Service: registerFormSection(svc, { formId }). A form with a field the app cannot fill shows the website sentence and an Open form button to the himi_form screen instead (`{{id}}.open_form` is removed when the scaffold has no himi_form; the sentence stays). The copy named in `_keys` is keyed (`$t:form.*`) for an app that has other languages and declares the keys in its l10n/en.json.",
|
|
3
|
+
"_placeholders": {
|
|
4
|
+
"svc": "service name the page worker registered with registerFormSection",
|
|
5
|
+
"id": "unique node id prefix for this section",
|
|
6
|
+
"formId": "the form's v4 id or legacy numeric short id (the Open form fallback)"
|
|
7
|
+
},
|
|
8
|
+
"_keys": {
|
|
9
|
+
"Clear form": "form.clearCta",
|
|
10
|
+
"This form no longer takes responses.": "form.closedBody",
|
|
11
|
+
"This form is no longer available.": "form.notFoundBody",
|
|
12
|
+
"Fill out this form on our website.": "form.unsupportedBody"
|
|
13
|
+
},
|
|
14
|
+
"node": {
|
|
15
|
+
"id": "{{id}}.form",
|
|
16
|
+
"body": {
|
|
17
|
+
"package": "himalaya",
|
|
18
|
+
"type": "VStack",
|
|
19
|
+
"props": {
|
|
20
|
+
"spacing": 16,
|
|
21
|
+
"alignment": "leading",
|
|
22
|
+
"children": [
|
|
23
|
+
{
|
|
24
|
+
"id": "{{id}}.loading",
|
|
25
|
+
"body": {
|
|
26
|
+
"package": "himalaya",
|
|
27
|
+
"type": "VStack",
|
|
28
|
+
"props": {
|
|
29
|
+
"spacing": 24,
|
|
30
|
+
"alignment": "leading",
|
|
31
|
+
"children": [
|
|
32
|
+
{
|
|
33
|
+
"id": "",
|
|
34
|
+
"body": {
|
|
35
|
+
"package": "himalaya",
|
|
36
|
+
"type": "VStack",
|
|
37
|
+
"props": {
|
|
38
|
+
"spacing": 8,
|
|
39
|
+
"alignment": "leading",
|
|
40
|
+
"children": [
|
|
41
|
+
{
|
|
42
|
+
"id": "{{id}}.skeleton.1.label",
|
|
43
|
+
"body": {
|
|
44
|
+
"package": "himalaya",
|
|
45
|
+
"type": "Skeleton",
|
|
46
|
+
"props": {
|
|
47
|
+
"height": 14,
|
|
48
|
+
"cornerRadius": 8
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"modifiers": {
|
|
52
|
+
"height": 14,
|
|
53
|
+
"background": {
|
|
54
|
+
"token": "surfaceSecondary"
|
|
55
|
+
},
|
|
56
|
+
"cornerRadius": 8,
|
|
57
|
+
"accessibilityRole": "decorative",
|
|
58
|
+
"width": 110
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"id": "{{id}}.skeleton.1.field",
|
|
63
|
+
"body": {
|
|
64
|
+
"package": "himalaya",
|
|
65
|
+
"type": "Skeleton",
|
|
66
|
+
"props": {
|
|
67
|
+
"height": 48,
|
|
68
|
+
"cornerRadius": 8
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"modifiers": {
|
|
72
|
+
"height": 48,
|
|
73
|
+
"background": {
|
|
74
|
+
"token": "surfaceSecondary"
|
|
75
|
+
},
|
|
76
|
+
"cornerRadius": 8,
|
|
77
|
+
"accessibilityRole": "decorative"
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
]
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"id": "",
|
|
86
|
+
"body": {
|
|
87
|
+
"package": "himalaya",
|
|
88
|
+
"type": "VStack",
|
|
89
|
+
"props": {
|
|
90
|
+
"spacing": 8,
|
|
91
|
+
"alignment": "leading",
|
|
92
|
+
"children": [
|
|
93
|
+
{
|
|
94
|
+
"id": "{{id}}.skeleton.2.label",
|
|
95
|
+
"body": {
|
|
96
|
+
"package": "himalaya",
|
|
97
|
+
"type": "Skeleton",
|
|
98
|
+
"props": {
|
|
99
|
+
"height": 14,
|
|
100
|
+
"cornerRadius": 8
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
"modifiers": {
|
|
104
|
+
"height": 14,
|
|
105
|
+
"background": {
|
|
106
|
+
"token": "surfaceSecondary"
|
|
107
|
+
},
|
|
108
|
+
"cornerRadius": 8,
|
|
109
|
+
"accessibilityRole": "decorative",
|
|
110
|
+
"width": 110
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"id": "{{id}}.skeleton.2.field",
|
|
115
|
+
"body": {
|
|
116
|
+
"package": "himalaya",
|
|
117
|
+
"type": "Skeleton",
|
|
118
|
+
"props": {
|
|
119
|
+
"height": 48,
|
|
120
|
+
"cornerRadius": 8
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
"modifiers": {
|
|
124
|
+
"height": 48,
|
|
125
|
+
"background": {
|
|
126
|
+
"token": "surfaceSecondary"
|
|
127
|
+
},
|
|
128
|
+
"cornerRadius": 8,
|
|
129
|
+
"accessibilityRole": "decorative"
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
]
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"id": "",
|
|
138
|
+
"body": {
|
|
139
|
+
"package": "himalaya",
|
|
140
|
+
"type": "VStack",
|
|
141
|
+
"props": {
|
|
142
|
+
"spacing": 8,
|
|
143
|
+
"alignment": "leading",
|
|
144
|
+
"children": [
|
|
145
|
+
{
|
|
146
|
+
"id": "{{id}}.skeleton.3.label",
|
|
147
|
+
"body": {
|
|
148
|
+
"package": "himalaya",
|
|
149
|
+
"type": "Skeleton",
|
|
150
|
+
"props": {
|
|
151
|
+
"height": 14,
|
|
152
|
+
"cornerRadius": 8
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
"modifiers": {
|
|
156
|
+
"height": 14,
|
|
157
|
+
"background": {
|
|
158
|
+
"token": "surfaceSecondary"
|
|
159
|
+
},
|
|
160
|
+
"cornerRadius": 8,
|
|
161
|
+
"accessibilityRole": "decorative",
|
|
162
|
+
"width": 110
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"id": "{{id}}.skeleton.3.field",
|
|
167
|
+
"body": {
|
|
168
|
+
"package": "himalaya",
|
|
169
|
+
"type": "Skeleton",
|
|
170
|
+
"props": {
|
|
171
|
+
"height": 48,
|
|
172
|
+
"cornerRadius": 8
|
|
173
|
+
}
|
|
174
|
+
},
|
|
175
|
+
"modifiers": {
|
|
176
|
+
"height": 48,
|
|
177
|
+
"background": {
|
|
178
|
+
"token": "surfaceSecondary"
|
|
179
|
+
},
|
|
180
|
+
"cornerRadius": 8,
|
|
181
|
+
"accessibilityRole": "decorative"
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
]
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
]
|
|
189
|
+
}
|
|
190
|
+
},
|
|
191
|
+
"modifiers": {
|
|
192
|
+
"hiddenPath": "$service:{{svc}}.hideLoading"
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"id": "{{id}}.page_caption",
|
|
197
|
+
"body": {
|
|
198
|
+
"package": "himalaya",
|
|
199
|
+
"type": "Text",
|
|
200
|
+
"props": {
|
|
201
|
+
"text": "$service:{{svc}}.pageCaption",
|
|
202
|
+
"style": "footnote",
|
|
203
|
+
"color": "textSecondary"
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
"modifiers": {
|
|
207
|
+
"hiddenPath": "$service:{{svc}}.noPageCaption"
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"id": "{{id}}.fields",
|
|
212
|
+
"body": {
|
|
213
|
+
"package": "himalaya",
|
|
214
|
+
"type": "Grid",
|
|
215
|
+
"props": {
|
|
216
|
+
"columns": 1,
|
|
217
|
+
"spacing": 24,
|
|
218
|
+
"itemsPath": "$service:{{svc}}.rows",
|
|
219
|
+
"items": [
|
|
220
|
+
{
|
|
221
|
+
"id": "{{id}}.row.$item.id",
|
|
222
|
+
"body": {
|
|
223
|
+
"package": "himalaya",
|
|
224
|
+
"type": "VStack",
|
|
225
|
+
"props": {
|
|
226
|
+
"spacing": 8,
|
|
227
|
+
"alignment": "leading",
|
|
228
|
+
"children": [
|
|
229
|
+
{
|
|
230
|
+
"id": "",
|
|
231
|
+
"body": {
|
|
232
|
+
"package": "himalaya",
|
|
233
|
+
"type": "Text",
|
|
234
|
+
"props": {
|
|
235
|
+
"text": "$item.label",
|
|
236
|
+
"style": "body"
|
|
237
|
+
}
|
|
238
|
+
},
|
|
239
|
+
"modifiers": {
|
|
240
|
+
"hiddenPath": "$item.hideLabel"
|
|
241
|
+
}
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"id": "",
|
|
245
|
+
"body": {
|
|
246
|
+
"package": "himalaya",
|
|
247
|
+
"type": "Text",
|
|
248
|
+
"props": {
|
|
249
|
+
"text": "$item.help",
|
|
250
|
+
"style": "caption",
|
|
251
|
+
"color": "textSecondary"
|
|
252
|
+
}
|
|
253
|
+
},
|
|
254
|
+
"modifiers": {
|
|
255
|
+
"hiddenPath": "$item.hideHelp"
|
|
256
|
+
}
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"id": "{{id}}.field.$item.id.text",
|
|
260
|
+
"body": {
|
|
261
|
+
"package": "himalaya",
|
|
262
|
+
"type": "TextField",
|
|
263
|
+
"props": {
|
|
264
|
+
"value": "$item.value",
|
|
265
|
+
"placeholder": "$item.placeholder",
|
|
266
|
+
"onChange": {
|
|
267
|
+
"actionId": "tier5.{{svc}}.setText",
|
|
268
|
+
"params": {
|
|
269
|
+
"target": "$item.target"
|
|
270
|
+
}
|
|
271
|
+
},
|
|
272
|
+
"autoCapitalization": "sentences"
|
|
273
|
+
}
|
|
274
|
+
},
|
|
275
|
+
"modifiers": {
|
|
276
|
+
"hiddenPath": "$item.notText"
|
|
277
|
+
}
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
"id": "{{id}}.field.$item.id.area",
|
|
281
|
+
"body": {
|
|
282
|
+
"package": "himalaya",
|
|
283
|
+
"type": "TextField",
|
|
284
|
+
"props": {
|
|
285
|
+
"value": "$item.value",
|
|
286
|
+
"placeholder": "$item.placeholder",
|
|
287
|
+
"onChange": {
|
|
288
|
+
"actionId": "tier5.{{svc}}.setText",
|
|
289
|
+
"params": {
|
|
290
|
+
"target": "$item.target"
|
|
291
|
+
}
|
|
292
|
+
},
|
|
293
|
+
"multilineMaxLines": 6,
|
|
294
|
+
"autoCapitalization": "sentences"
|
|
295
|
+
}
|
|
296
|
+
},
|
|
297
|
+
"modifiers": {
|
|
298
|
+
"hiddenPath": "$item.notArea"
|
|
299
|
+
}
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"id": "{{id}}.field.$item.id.email",
|
|
303
|
+
"body": {
|
|
304
|
+
"package": "himalaya",
|
|
305
|
+
"type": "TextField",
|
|
306
|
+
"props": {
|
|
307
|
+
"value": "$item.value",
|
|
308
|
+
"placeholder": "$item.placeholder",
|
|
309
|
+
"onChange": {
|
|
310
|
+
"actionId": "tier5.{{svc}}.setText",
|
|
311
|
+
"params": {
|
|
312
|
+
"target": "$item.target"
|
|
313
|
+
}
|
|
314
|
+
},
|
|
315
|
+
"keyboard": "email",
|
|
316
|
+
"autoCapitalization": "none",
|
|
317
|
+
"suggestions": "off"
|
|
318
|
+
}
|
|
319
|
+
},
|
|
320
|
+
"modifiers": {
|
|
321
|
+
"hiddenPath": "$item.notEmail"
|
|
322
|
+
}
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
"id": "{{id}}.field.$item.id.phone",
|
|
326
|
+
"body": {
|
|
327
|
+
"package": "himalaya",
|
|
328
|
+
"type": "TextField",
|
|
329
|
+
"props": {
|
|
330
|
+
"value": "$item.value",
|
|
331
|
+
"placeholder": "$item.placeholder",
|
|
332
|
+
"onChange": {
|
|
333
|
+
"actionId": "tier5.{{svc}}.setText",
|
|
334
|
+
"params": {
|
|
335
|
+
"target": "$item.target"
|
|
336
|
+
}
|
|
337
|
+
},
|
|
338
|
+
"keyboard": "phone"
|
|
339
|
+
}
|
|
340
|
+
},
|
|
341
|
+
"modifiers": {
|
|
342
|
+
"hiddenPath": "$item.notPhone"
|
|
343
|
+
}
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
"id": "{{id}}.field.$item.id.number",
|
|
347
|
+
"body": {
|
|
348
|
+
"package": "himalaya",
|
|
349
|
+
"type": "TextField",
|
|
350
|
+
"props": {
|
|
351
|
+
"value": "$item.value",
|
|
352
|
+
"placeholder": "$item.placeholder",
|
|
353
|
+
"onChange": {
|
|
354
|
+
"actionId": "tier5.{{svc}}.setText",
|
|
355
|
+
"params": {
|
|
356
|
+
"target": "$item.target"
|
|
357
|
+
}
|
|
358
|
+
},
|
|
359
|
+
"keyboard": "decimal"
|
|
360
|
+
}
|
|
361
|
+
},
|
|
362
|
+
"modifiers": {
|
|
363
|
+
"hiddenPath": "$item.notNumber"
|
|
364
|
+
}
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
"id": "{{id}}.field.$item.id.url",
|
|
368
|
+
"body": {
|
|
369
|
+
"package": "himalaya",
|
|
370
|
+
"type": "TextField",
|
|
371
|
+
"props": {
|
|
372
|
+
"value": "$item.value",
|
|
373
|
+
"placeholder": "$item.placeholder",
|
|
374
|
+
"onChange": {
|
|
375
|
+
"actionId": "tier5.{{svc}}.setText",
|
|
376
|
+
"params": {
|
|
377
|
+
"target": "$item.target"
|
|
378
|
+
}
|
|
379
|
+
},
|
|
380
|
+
"keyboard": "url",
|
|
381
|
+
"autoCapitalization": "none",
|
|
382
|
+
"suggestions": "off"
|
|
383
|
+
}
|
|
384
|
+
},
|
|
385
|
+
"modifiers": {
|
|
386
|
+
"hiddenPath": "$item.notUrl"
|
|
387
|
+
}
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
"id": "{{id}}.field.$item.id.date",
|
|
391
|
+
"body": {
|
|
392
|
+
"package": "himalaya",
|
|
393
|
+
"type": "DatePicker",
|
|
394
|
+
"props": {
|
|
395
|
+
"mode": "date",
|
|
396
|
+
"valuePath": "$item.dateUnix",
|
|
397
|
+
"onChange": {
|
|
398
|
+
"actionId": "tier5.{{svc}}.setDate",
|
|
399
|
+
"params": {
|
|
400
|
+
"target": "$item.target"
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
},
|
|
405
|
+
"modifiers": {
|
|
406
|
+
"accessibilityLabel": "$item.label",
|
|
407
|
+
"hiddenPath": "$item.notDate"
|
|
408
|
+
}
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
"id": "{{id}}.options.$item.id",
|
|
412
|
+
"body": {
|
|
413
|
+
"package": "himalaya",
|
|
414
|
+
"type": "Grid",
|
|
415
|
+
"props": {
|
|
416
|
+
"columns": 1,
|
|
417
|
+
"spacing": 14,
|
|
418
|
+
"itemsPath": "$item.options",
|
|
419
|
+
"items": [
|
|
420
|
+
{
|
|
421
|
+
"id": "",
|
|
422
|
+
"body": {
|
|
423
|
+
"package": "himalaya",
|
|
424
|
+
"type": "HStack",
|
|
425
|
+
"props": {
|
|
426
|
+
"spacing": 0,
|
|
427
|
+
"alignment": "center",
|
|
428
|
+
"children": [
|
|
429
|
+
{
|
|
430
|
+
"id": "{{id}}.option.$item.id",
|
|
431
|
+
"body": {
|
|
432
|
+
"package": "himalaya",
|
|
433
|
+
"type": "SelectionControl",
|
|
434
|
+
"props": {
|
|
435
|
+
"kind": "radio",
|
|
436
|
+
"label": "$item.label",
|
|
437
|
+
"valuePath": "$item.selected",
|
|
438
|
+
"groupId": "$item.target",
|
|
439
|
+
"onChange": {
|
|
440
|
+
"actionId": "tier5.{{svc}}.choose",
|
|
441
|
+
"params": {
|
|
442
|
+
"target": "$item.target",
|
|
443
|
+
"option": "$item.value"
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
"id": "",
|
|
451
|
+
"body": {
|
|
452
|
+
"package": "himalaya",
|
|
453
|
+
"type": "Spacer",
|
|
454
|
+
"props": {}
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
]
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
}
|
|
461
|
+
]
|
|
462
|
+
}
|
|
463
|
+
},
|
|
464
|
+
"modifiers": {
|
|
465
|
+
"hiddenPath": "$item.notChoice"
|
|
466
|
+
}
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
"id": "{{id}}.checks.$item.id",
|
|
470
|
+
"body": {
|
|
471
|
+
"package": "himalaya",
|
|
472
|
+
"type": "Grid",
|
|
473
|
+
"props": {
|
|
474
|
+
"columns": 1,
|
|
475
|
+
"spacing": 14,
|
|
476
|
+
"itemsPath": "$item.options",
|
|
477
|
+
"items": [
|
|
478
|
+
{
|
|
479
|
+
"id": "",
|
|
480
|
+
"body": {
|
|
481
|
+
"package": "himalaya",
|
|
482
|
+
"type": "HStack",
|
|
483
|
+
"props": {
|
|
484
|
+
"spacing": 0,
|
|
485
|
+
"alignment": "center",
|
|
486
|
+
"children": [
|
|
487
|
+
{
|
|
488
|
+
"id": "{{id}}.check.$item.id",
|
|
489
|
+
"body": {
|
|
490
|
+
"package": "himalaya",
|
|
491
|
+
"type": "SelectionControl",
|
|
492
|
+
"props": {
|
|
493
|
+
"kind": "checkbox",
|
|
494
|
+
"label": "$item.label",
|
|
495
|
+
"valuePath": "$item.selected",
|
|
496
|
+
"onChange": {
|
|
497
|
+
"actionId": "tier5.{{svc}}.toggleOption",
|
|
498
|
+
"params": {
|
|
499
|
+
"target": "$item.target",
|
|
500
|
+
"option": "$item.value"
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
}
|
|
504
|
+
}
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
"id": "",
|
|
508
|
+
"body": {
|
|
509
|
+
"package": "himalaya",
|
|
510
|
+
"type": "Spacer",
|
|
511
|
+
"props": {}
|
|
512
|
+
}
|
|
513
|
+
}
|
|
514
|
+
]
|
|
515
|
+
}
|
|
516
|
+
}
|
|
517
|
+
}
|
|
518
|
+
]
|
|
519
|
+
}
|
|
520
|
+
},
|
|
521
|
+
"modifiers": {
|
|
522
|
+
"hiddenPath": "$item.notMulti"
|
|
523
|
+
}
|
|
524
|
+
},
|
|
525
|
+
{
|
|
526
|
+
"id": "{{id}}.checkbox.$item.id",
|
|
527
|
+
"body": {
|
|
528
|
+
"package": "himalaya",
|
|
529
|
+
"type": "SelectionControl",
|
|
530
|
+
"props": {
|
|
531
|
+
"kind": "checkbox",
|
|
532
|
+
"label": "$item.checkLabel",
|
|
533
|
+
"valuePath": "$item.checked",
|
|
534
|
+
"onChange": {
|
|
535
|
+
"actionId": "tier5.{{svc}}.toggleCheck",
|
|
536
|
+
"params": {
|
|
537
|
+
"target": "$item.target"
|
|
538
|
+
}
|
|
539
|
+
}
|
|
540
|
+
}
|
|
541
|
+
},
|
|
542
|
+
"modifiers": {
|
|
543
|
+
"hiddenPath": "$item.notCheck"
|
|
544
|
+
}
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
"id": "",
|
|
548
|
+
"body": {
|
|
549
|
+
"package": "himalaya",
|
|
550
|
+
"type": "Text",
|
|
551
|
+
"props": {
|
|
552
|
+
"text": "$item.displayText",
|
|
553
|
+
"style": "body"
|
|
554
|
+
}
|
|
555
|
+
},
|
|
556
|
+
"modifiers": {
|
|
557
|
+
"hiddenPath": "$item.notDisplay"
|
|
558
|
+
}
|
|
559
|
+
},
|
|
560
|
+
{
|
|
561
|
+
"id": "",
|
|
562
|
+
"body": {
|
|
563
|
+
"package": "himalaya",
|
|
564
|
+
"type": "Text",
|
|
565
|
+
"props": {
|
|
566
|
+
"text": "$item.error",
|
|
567
|
+
"style": "caption",
|
|
568
|
+
"color": "danger"
|
|
569
|
+
}
|
|
570
|
+
},
|
|
571
|
+
"modifiers": {
|
|
572
|
+
"hiddenPath": "$item.noError"
|
|
573
|
+
}
|
|
574
|
+
}
|
|
575
|
+
]
|
|
576
|
+
}
|
|
577
|
+
}
|
|
578
|
+
}
|
|
579
|
+
]
|
|
580
|
+
}
|
|
581
|
+
},
|
|
582
|
+
"modifiers": {
|
|
583
|
+
"hiddenPath": "$service:{{svc}}.hideForm"
|
|
584
|
+
}
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
"id": "{{id}}.send_error",
|
|
588
|
+
"body": {
|
|
589
|
+
"package": "himalaya",
|
|
590
|
+
"type": "Text",
|
|
591
|
+
"props": {
|
|
592
|
+
"text": "$service:{{svc}}.sendError",
|
|
593
|
+
"style": "caption",
|
|
594
|
+
"color": "danger"
|
|
595
|
+
}
|
|
596
|
+
},
|
|
597
|
+
"modifiers": {
|
|
598
|
+
"hiddenPath": "$service:{{svc}}.noSendError"
|
|
599
|
+
}
|
|
600
|
+
},
|
|
601
|
+
{
|
|
602
|
+
"id": "{{id}}.submit",
|
|
603
|
+
"body": {
|
|
604
|
+
"package": "himalaya",
|
|
605
|
+
"type": "Button",
|
|
606
|
+
"props": {
|
|
607
|
+
"title": "$service:{{svc}}.primaryLabel",
|
|
608
|
+
"style": "primary",
|
|
609
|
+
"size": "lg",
|
|
610
|
+
"fullWidth": true,
|
|
611
|
+
"disabledPath": "$service:{{svc}}.sending",
|
|
612
|
+
"action": {
|
|
613
|
+
"actionId": "tier5.{{svc}}.next"
|
|
614
|
+
}
|
|
615
|
+
}
|
|
616
|
+
},
|
|
617
|
+
"modifiers": {
|
|
618
|
+
"hiddenPath": "$service:{{svc}}.hideFooterSingle"
|
|
619
|
+
}
|
|
620
|
+
},
|
|
621
|
+
{
|
|
622
|
+
"id": "",
|
|
623
|
+
"body": {
|
|
624
|
+
"package": "himalaya",
|
|
625
|
+
"type": "HStack",
|
|
626
|
+
"props": {
|
|
627
|
+
"spacing": 12,
|
|
628
|
+
"alignment": "center",
|
|
629
|
+
"children": [
|
|
630
|
+
{
|
|
631
|
+
"id": "",
|
|
632
|
+
"body": {
|
|
633
|
+
"package": "himalaya",
|
|
634
|
+
"type": "Spacer",
|
|
635
|
+
"props": {}
|
|
636
|
+
}
|
|
637
|
+
},
|
|
638
|
+
{
|
|
639
|
+
"id": "{{id}}.next_first",
|
|
640
|
+
"body": {
|
|
641
|
+
"package": "himalaya",
|
|
642
|
+
"type": "Button",
|
|
643
|
+
"props": {
|
|
644
|
+
"title": "$service:{{svc}}.primaryLabel",
|
|
645
|
+
"style": "primary",
|
|
646
|
+
"size": "lg",
|
|
647
|
+
"trailingIcon": "arrow_right",
|
|
648
|
+
"fullWidth": false,
|
|
649
|
+
"disabledPath": "$service:{{svc}}.sending",
|
|
650
|
+
"action": {
|
|
651
|
+
"actionId": "tier5.{{svc}}.next"
|
|
652
|
+
}
|
|
653
|
+
}
|
|
654
|
+
}
|
|
655
|
+
}
|
|
656
|
+
]
|
|
657
|
+
}
|
|
658
|
+
},
|
|
659
|
+
"modifiers": {
|
|
660
|
+
"hiddenPath": "$service:{{svc}}.hideFooterFirst"
|
|
661
|
+
}
|
|
662
|
+
},
|
|
663
|
+
{
|
|
664
|
+
"id": "",
|
|
665
|
+
"body": {
|
|
666
|
+
"package": "himalaya",
|
|
667
|
+
"type": "HStack",
|
|
668
|
+
"props": {
|
|
669
|
+
"spacing": 12,
|
|
670
|
+
"alignment": "center",
|
|
671
|
+
"children": [
|
|
672
|
+
{
|
|
673
|
+
"id": "{{id}}.back",
|
|
674
|
+
"body": {
|
|
675
|
+
"package": "himalaya",
|
|
676
|
+
"type": "Button",
|
|
677
|
+
"props": {
|
|
678
|
+
"title": "$service:{{svc}}.backLabel",
|
|
679
|
+
"style": "link",
|
|
680
|
+
"leadingIcon": "arrow_left",
|
|
681
|
+
"fullWidth": false,
|
|
682
|
+
"disabledPath": "$service:{{svc}}.sending",
|
|
683
|
+
"action": {
|
|
684
|
+
"actionId": "tier5.{{svc}}.back"
|
|
685
|
+
}
|
|
686
|
+
}
|
|
687
|
+
}
|
|
688
|
+
},
|
|
689
|
+
{
|
|
690
|
+
"id": "",
|
|
691
|
+
"body": {
|
|
692
|
+
"package": "himalaya",
|
|
693
|
+
"type": "Spacer",
|
|
694
|
+
"props": {}
|
|
695
|
+
}
|
|
696
|
+
},
|
|
697
|
+
{
|
|
698
|
+
"id": "{{id}}.next",
|
|
699
|
+
"body": {
|
|
700
|
+
"package": "himalaya",
|
|
701
|
+
"type": "Button",
|
|
702
|
+
"props": {
|
|
703
|
+
"title": "$service:{{svc}}.primaryLabel",
|
|
704
|
+
"style": "primary",
|
|
705
|
+
"size": "lg",
|
|
706
|
+
"trailingIcon": "arrow_right",
|
|
707
|
+
"fullWidth": false,
|
|
708
|
+
"disabledPath": "$service:{{svc}}.sending",
|
|
709
|
+
"action": {
|
|
710
|
+
"actionId": "tier5.{{svc}}.next"
|
|
711
|
+
}
|
|
712
|
+
}
|
|
713
|
+
}
|
|
714
|
+
}
|
|
715
|
+
]
|
|
716
|
+
}
|
|
717
|
+
},
|
|
718
|
+
"modifiers": {
|
|
719
|
+
"hiddenPath": "$service:{{svc}}.hideFooterMiddle"
|
|
720
|
+
}
|
|
721
|
+
},
|
|
722
|
+
{
|
|
723
|
+
"id": "",
|
|
724
|
+
"body": {
|
|
725
|
+
"package": "himalaya",
|
|
726
|
+
"type": "HStack",
|
|
727
|
+
"props": {
|
|
728
|
+
"spacing": 16,
|
|
729
|
+
"alignment": "center",
|
|
730
|
+
"children": [
|
|
731
|
+
{
|
|
732
|
+
"id": "{{id}}.back_last",
|
|
733
|
+
"body": {
|
|
734
|
+
"package": "himalaya",
|
|
735
|
+
"type": "Button",
|
|
736
|
+
"props": {
|
|
737
|
+
"title": "$service:{{svc}}.backLabel",
|
|
738
|
+
"style": "link",
|
|
739
|
+
"leadingIcon": "arrow_left",
|
|
740
|
+
"fullWidth": false,
|
|
741
|
+
"disabledPath": "$service:{{svc}}.sending",
|
|
742
|
+
"action": {
|
|
743
|
+
"actionId": "tier5.{{svc}}.back"
|
|
744
|
+
}
|
|
745
|
+
}
|
|
746
|
+
}
|
|
747
|
+
},
|
|
748
|
+
{
|
|
749
|
+
"id": "{{id}}.submit_last",
|
|
750
|
+
"body": {
|
|
751
|
+
"package": "himalaya",
|
|
752
|
+
"type": "Button",
|
|
753
|
+
"props": {
|
|
754
|
+
"title": "$service:{{svc}}.primaryLabel",
|
|
755
|
+
"style": "primary",
|
|
756
|
+
"size": "lg",
|
|
757
|
+
"fullWidth": true,
|
|
758
|
+
"disabledPath": "$service:{{svc}}.sending",
|
|
759
|
+
"action": {
|
|
760
|
+
"actionId": "tier5.{{svc}}.next"
|
|
761
|
+
}
|
|
762
|
+
}
|
|
763
|
+
}
|
|
764
|
+
}
|
|
765
|
+
]
|
|
766
|
+
}
|
|
767
|
+
},
|
|
768
|
+
"modifiers": {
|
|
769
|
+
"hiddenPath": "$service:{{svc}}.hideFooterLast"
|
|
770
|
+
}
|
|
771
|
+
},
|
|
772
|
+
{
|
|
773
|
+
"id": "{{id}}.clear",
|
|
774
|
+
"body": {
|
|
775
|
+
"package": "himalaya",
|
|
776
|
+
"type": "Button",
|
|
777
|
+
"props": {
|
|
778
|
+
"title": "Clear form",
|
|
779
|
+
"style": "link",
|
|
780
|
+
"size": "sm",
|
|
781
|
+
"fullWidth": false,
|
|
782
|
+
"disabledPath": "$service:{{svc}}.sending",
|
|
783
|
+
"action": {
|
|
784
|
+
"actionId": "tier5.{{svc}}.clearForm"
|
|
785
|
+
}
|
|
786
|
+
}
|
|
787
|
+
},
|
|
788
|
+
"modifiers": {
|
|
789
|
+
"hiddenPath": "$service:{{svc}}.hideClear"
|
|
790
|
+
}
|
|
791
|
+
},
|
|
792
|
+
{
|
|
793
|
+
"id": "{{id}}.unsupported",
|
|
794
|
+
"body": {
|
|
795
|
+
"package": "himalaya",
|
|
796
|
+
"type": "VStack",
|
|
797
|
+
"props": {
|
|
798
|
+
"spacing": 12,
|
|
799
|
+
"alignment": "leading",
|
|
800
|
+
"children": [
|
|
801
|
+
{
|
|
802
|
+
"id": "{{id}}.unsupported.text",
|
|
803
|
+
"body": {
|
|
804
|
+
"package": "himalaya",
|
|
805
|
+
"type": "Text",
|
|
806
|
+
"props": {
|
|
807
|
+
"text": "Fill out this form on our website.",
|
|
808
|
+
"style": "body"
|
|
809
|
+
}
|
|
810
|
+
}
|
|
811
|
+
},
|
|
812
|
+
{
|
|
813
|
+
"id": "{{id}}.open_form",
|
|
814
|
+
"body": {
|
|
815
|
+
"package": "himalaya",
|
|
816
|
+
"type": "Button",
|
|
817
|
+
"props": {
|
|
818
|
+
"title": "Open form",
|
|
819
|
+
"style": "primary",
|
|
820
|
+
"size": "md",
|
|
821
|
+
"fullWidth": true,
|
|
822
|
+
"action": {
|
|
823
|
+
"actionId": "himi.open",
|
|
824
|
+
"params": {
|
|
825
|
+
"screenId": "himi_form",
|
|
826
|
+
"id": "{{formId}}"
|
|
827
|
+
}
|
|
828
|
+
}
|
|
829
|
+
}
|
|
830
|
+
}
|
|
831
|
+
}
|
|
832
|
+
]
|
|
833
|
+
}
|
|
834
|
+
},
|
|
835
|
+
"modifiers": {
|
|
836
|
+
"hiddenPath": "$service:{{svc}}.hideUnsupported"
|
|
837
|
+
}
|
|
838
|
+
},
|
|
839
|
+
{
|
|
840
|
+
"id": "{{id}}.closed",
|
|
841
|
+
"body": {
|
|
842
|
+
"package": "himalaya",
|
|
843
|
+
"type": "VStack",
|
|
844
|
+
"props": {
|
|
845
|
+
"spacing": 6,
|
|
846
|
+
"alignment": "leading",
|
|
847
|
+
"children": [
|
|
848
|
+
{
|
|
849
|
+
"id": "",
|
|
850
|
+
"body": {
|
|
851
|
+
"package": "himalaya",
|
|
852
|
+
"type": "Text",
|
|
853
|
+
"props": {
|
|
854
|
+
"text": "This form no longer takes responses.",
|
|
855
|
+
"style": "body"
|
|
856
|
+
}
|
|
857
|
+
}
|
|
858
|
+
}
|
|
859
|
+
]
|
|
860
|
+
}
|
|
861
|
+
},
|
|
862
|
+
"modifiers": {
|
|
863
|
+
"background": {
|
|
864
|
+
"token": "surfaceSecondary"
|
|
865
|
+
},
|
|
866
|
+
"cornerRadius": 8,
|
|
867
|
+
"padding": {
|
|
868
|
+
"leading": 16,
|
|
869
|
+
"trailing": 16,
|
|
870
|
+
"top": 14,
|
|
871
|
+
"bottom": 14
|
|
872
|
+
},
|
|
873
|
+
"hiddenPath": "$service:{{svc}}.hideClosed"
|
|
874
|
+
}
|
|
875
|
+
},
|
|
876
|
+
{
|
|
877
|
+
"id": "{{id}}.done",
|
|
878
|
+
"body": {
|
|
879
|
+
"package": "himalaya",
|
|
880
|
+
"type": "VStack",
|
|
881
|
+
"props": {
|
|
882
|
+
"spacing": 12,
|
|
883
|
+
"alignment": "center",
|
|
884
|
+
"children": [
|
|
885
|
+
{
|
|
886
|
+
"id": "",
|
|
887
|
+
"body": {
|
|
888
|
+
"package": "himalaya",
|
|
889
|
+
"type": "Icon",
|
|
890
|
+
"props": {
|
|
891
|
+
"name": "success",
|
|
892
|
+
"size": 48,
|
|
893
|
+
"tint": "success"
|
|
894
|
+
}
|
|
895
|
+
},
|
|
896
|
+
"modifiers": {
|
|
897
|
+
"accessibilityRole": "decorative"
|
|
898
|
+
}
|
|
899
|
+
},
|
|
900
|
+
{
|
|
901
|
+
"id": "",
|
|
902
|
+
"body": {
|
|
903
|
+
"package": "himalaya",
|
|
904
|
+
"type": "Text",
|
|
905
|
+
"props": {
|
|
906
|
+
"text": "$service:{{svc}}.doneTitle",
|
|
907
|
+
"style": "title2",
|
|
908
|
+
"textAlign": "center"
|
|
909
|
+
}
|
|
910
|
+
}
|
|
911
|
+
},
|
|
912
|
+
{
|
|
913
|
+
"id": "",
|
|
914
|
+
"body": {
|
|
915
|
+
"package": "himalaya",
|
|
916
|
+
"type": "Text",
|
|
917
|
+
"props": {
|
|
918
|
+
"text": "$service:{{svc}}.doneBody",
|
|
919
|
+
"style": "body",
|
|
920
|
+
"color": "textSecondary",
|
|
921
|
+
"textAlign": "center"
|
|
922
|
+
}
|
|
923
|
+
}
|
|
924
|
+
}
|
|
925
|
+
]
|
|
926
|
+
}
|
|
927
|
+
},
|
|
928
|
+
"modifiers": {
|
|
929
|
+
"padding": {
|
|
930
|
+
"top": 8,
|
|
931
|
+
"bottom": 8,
|
|
932
|
+
"leading": 8,
|
|
933
|
+
"trailing": 8
|
|
934
|
+
},
|
|
935
|
+
"fillMaxWidth": true,
|
|
936
|
+
"hiddenPath": "$service:{{svc}}.hideDone"
|
|
937
|
+
}
|
|
938
|
+
},
|
|
939
|
+
{
|
|
940
|
+
"id": "{{id}}.not_found",
|
|
941
|
+
"body": {
|
|
942
|
+
"package": "himalaya",
|
|
943
|
+
"type": "Text",
|
|
944
|
+
"props": {
|
|
945
|
+
"text": "This form is no longer available.",
|
|
946
|
+
"style": "body",
|
|
947
|
+
"color": "textSecondary"
|
|
948
|
+
}
|
|
949
|
+
},
|
|
950
|
+
"modifiers": {
|
|
951
|
+
"hiddenPath": "$service:{{svc}}.hideNotFound"
|
|
952
|
+
}
|
|
953
|
+
}
|
|
954
|
+
]
|
|
955
|
+
}
|
|
956
|
+
}
|
|
957
|
+
}
|
|
958
|
+
}
|