@wix/himalaya-cli 0.1747.0 → 0.1748.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/ts/src/site-shell.d.ts +34 -8
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +45 -18
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/sdui.mjs +36 -14
- package/dist/cli.mjs +2498 -1816
- package/guides/one-app-to-himi-app.md +11 -6
- package/guides/wix-business-context.md +25 -1
- package/guides/wix-site-to-himi-app.md +2 -1
- package/package.json +2 -2
- package/templates/beauty-salon/l10n/fr.json +25 -5
- package/templates/beauty-salon/l10n/he.json +20 -4
- package/templates/beauty-salon/recipes/blog-hero.json +95 -0
- package/templates/beauty-salon/recipes/blog-list-thumb-start.json +177 -147
- package/templates/beauty-salon/recipes/blog-list.json +172 -142
- package/templates/beauty-salon/recipes/events-inline-list.json +30 -5
- package/templates/beauty-salon/recipes/events-inline.json +30 -5
- package/templates/beauty-salon/recipes/faq-list.json +503 -0
- package/templates/beauty-salon/recipes/groups-list.json +196 -0
- package/templates/beauty-salon/recipes/products-carousel.json +141 -0
- package/templates/beauty-salon/recipes/products-grid.json +143 -0
- package/templates/beauty-salon/tier5-src/_shared/blog-list.ts +9 -9
- package/templates/beauty-salon/tier5-src/_shared/events-inline.ts +7 -5
- package/templates/beauty-salon/tier5-src/_shared/faq-list.ts +405 -0
- package/templates/beauty-salon/tier5-src/_shared/groups-section.ts +110 -0
- package/templates/beauty-salon/tier5-src/_shared/member-row-extras.ts +10 -2
- package/templates/beauty-salon/tier5-src/_shared/members-directory.ts +9 -5
- package/templates/beauty-salon/tier5-src/_shared/products-section.ts +76 -0
- package/templates/beauty-salon/tier5-src/_shared/programs-section.ts +2 -2
- package/templates/branded-lite/l10n/fr.json +10 -5
- package/templates/branded-lite/l10n/he.json +8 -4
- package/templates/branded-lite/recipes/blog-hero.json +95 -0
- package/templates/branded-lite/recipes/blog-list-thumb-start.json +177 -147
- package/templates/branded-lite/recipes/blog-list.json +172 -142
- package/templates/branded-lite/recipes/events-inline-list.json +30 -5
- package/templates/branded-lite/recipes/events-inline.json +30 -5
- package/templates/branded-lite/recipes/faq-list.json +503 -0
- package/templates/branded-lite/recipes/groups-list.json +196 -0
- package/templates/branded-lite/recipes/products-carousel.json +141 -0
- package/templates/branded-lite/recipes/products-grid.json +143 -0
- package/templates/branded-lite/tier5-src/_shared/blog-list.ts +9 -9
- package/templates/branded-lite/tier5-src/_shared/events-inline.ts +7 -5
- package/templates/branded-lite/tier5-src/_shared/faq-list.ts +405 -0
- package/templates/branded-lite/tier5-src/_shared/groups-section.ts +110 -0
- package/templates/branded-lite/tier5-src/_shared/member-row-extras.ts +10 -2
- package/templates/branded-lite/tier5-src/_shared/members-directory.ts +9 -5
- package/templates/branded-lite/tier5-src/_shared/products-section.ts +76 -0
- package/templates/branded-lite/tier5-src/_shared/programs-section.ts +2 -2
- package/templates/branded-lite/tier5-src/himi-branded-lite-faq/index.ts +5 -369
- package/templates/brandy/README.md +46 -5
- package/templates/brandy/config.ts +11 -0
- package/templates/brandy/himalaya.template.json +1 -1
- package/templates/community-club/l10n/fr.json +25 -5
- package/templates/community-club/l10n/he.json +20 -4
- package/templates/community-club/recipes/blog-hero.json +95 -0
- package/templates/community-club/recipes/blog-list-thumb-start.json +177 -147
- package/templates/community-club/recipes/blog-list.json +172 -142
- package/templates/community-club/recipes/events-inline-list.json +30 -5
- package/templates/community-club/recipes/events-inline.json +30 -5
- package/templates/community-club/recipes/faq-list.json +503 -0
- package/templates/community-club/recipes/groups-list.json +196 -0
- package/templates/community-club/recipes/products-carousel.json +141 -0
- package/templates/community-club/recipes/products-grid.json +143 -0
- package/templates/community-club/tier5-src/_shared/blog-list.ts +9 -9
- package/templates/community-club/tier5-src/_shared/events-inline.ts +7 -5
- package/templates/community-club/tier5-src/_shared/faq-list.ts +405 -0
- package/templates/community-club/tier5-src/_shared/groups-section.ts +110 -0
- package/templates/community-club/tier5-src/_shared/member-row-extras.ts +10 -2
- package/templates/community-club/tier5-src/_shared/members-directory.ts +9 -5
- package/templates/community-club/tier5-src/_shared/products-section.ts +76 -0
- package/templates/community-club/tier5-src/_shared/programs-section.ts +2 -2
- package/templates/events-meetups/l10n/fr.json +25 -5
- package/templates/events-meetups/l10n/he.json +20 -4
- package/templates/events-meetups/recipes/blog-hero.json +95 -0
- package/templates/events-meetups/recipes/blog-list-thumb-start.json +177 -147
- package/templates/events-meetups/recipes/blog-list.json +172 -142
- package/templates/events-meetups/recipes/events-inline-list.json +30 -5
- package/templates/events-meetups/recipes/events-inline.json +30 -5
- package/templates/events-meetups/recipes/faq-list.json +503 -0
- package/templates/events-meetups/recipes/groups-list.json +196 -0
- package/templates/events-meetups/recipes/products-carousel.json +141 -0
- package/templates/events-meetups/recipes/products-grid.json +143 -0
- package/templates/events-meetups/tier5-src/_shared/blog-list.ts +9 -9
- package/templates/events-meetups/tier5-src/_shared/events-inline.ts +7 -5
- package/templates/events-meetups/tier5-src/_shared/faq-list.ts +405 -0
- package/templates/events-meetups/tier5-src/_shared/groups-section.ts +110 -0
- package/templates/events-meetups/tier5-src/_shared/member-row-extras.ts +10 -2
- package/templates/events-meetups/tier5-src/_shared/members-directory.ts +9 -5
- package/templates/events-meetups/tier5-src/_shared/products-section.ts +76 -0
- package/templates/events-meetups/tier5-src/_shared/programs-section.ts +2 -2
- package/templates/gym-fitness/l10n/fr.json +25 -5
- package/templates/gym-fitness/l10n/he.json +20 -4
- package/templates/gym-fitness/recipes/blog-hero.json +95 -0
- package/templates/gym-fitness/recipes/blog-list-thumb-start.json +177 -147
- package/templates/gym-fitness/recipes/blog-list.json +172 -142
- package/templates/gym-fitness/recipes/events-inline-list.json +30 -5
- package/templates/gym-fitness/recipes/events-inline.json +30 -5
- package/templates/gym-fitness/recipes/faq-list.json +503 -0
- package/templates/gym-fitness/recipes/groups-list.json +196 -0
- package/templates/gym-fitness/recipes/products-carousel.json +141 -0
- package/templates/gym-fitness/recipes/products-grid.json +143 -0
- package/templates/gym-fitness/tier5-src/_shared/blog-list.ts +9 -9
- package/templates/gym-fitness/tier5-src/_shared/events-inline.ts +7 -5
- package/templates/gym-fitness/tier5-src/_shared/faq-list.ts +405 -0
- package/templates/gym-fitness/tier5-src/_shared/groups-section.ts +110 -0
- package/templates/gym-fitness/tier5-src/_shared/member-row-extras.ts +10 -2
- package/templates/gym-fitness/tier5-src/_shared/members-directory.ts +9 -5
- package/templates/gym-fitness/tier5-src/_shared/products-section.ts +76 -0
- package/templates/gym-fitness/tier5-src/_shared/programs-section.ts +2 -2
- package/templates/nonprofit-cause/l10n/fr.json +25 -5
- package/templates/nonprofit-cause/l10n/he.json +20 -4
- package/templates/nonprofit-cause/recipes/blog-hero.json +95 -0
- package/templates/nonprofit-cause/recipes/blog-list-thumb-start.json +177 -147
- package/templates/nonprofit-cause/recipes/blog-list.json +172 -142
- package/templates/nonprofit-cause/recipes/events-inline-list.json +30 -5
- package/templates/nonprofit-cause/recipes/events-inline.json +30 -5
- package/templates/nonprofit-cause/recipes/faq-list.json +503 -0
- package/templates/nonprofit-cause/recipes/groups-list.json +196 -0
- package/templates/nonprofit-cause/recipes/products-carousel.json +141 -0
- package/templates/nonprofit-cause/recipes/products-grid.json +143 -0
- package/templates/nonprofit-cause/tier5-src/_shared/blog-list.ts +9 -9
- package/templates/nonprofit-cause/tier5-src/_shared/events-inline.ts +7 -5
- package/templates/nonprofit-cause/tier5-src/_shared/faq-list.ts +405 -0
- package/templates/nonprofit-cause/tier5-src/_shared/groups-section.ts +110 -0
- package/templates/nonprofit-cause/tier5-src/_shared/member-row-extras.ts +10 -2
- package/templates/nonprofit-cause/tier5-src/_shared/members-directory.ts +9 -5
- package/templates/nonprofit-cause/tier5-src/_shared/products-section.ts +76 -0
- package/templates/nonprofit-cause/tier5-src/_shared/programs-section.ts +2 -2
- package/templates/podcast-creator/l10n/fr.json +35 -5
- package/templates/podcast-creator/l10n/he.json +28 -4
- package/templates/podcast-creator/recipes/blog-hero.json +95 -0
- package/templates/podcast-creator/recipes/blog-list-thumb-start.json +177 -147
- package/templates/podcast-creator/recipes/blog-list.json +172 -142
- package/templates/podcast-creator/recipes/events-inline-list.json +30 -5
- package/templates/podcast-creator/recipes/events-inline.json +30 -5
- package/templates/podcast-creator/recipes/faq-list.json +503 -0
- package/templates/podcast-creator/recipes/groups-list.json +196 -0
- package/templates/podcast-creator/recipes/products-carousel.json +141 -0
- package/templates/podcast-creator/recipes/products-grid.json +143 -0
- package/templates/podcast-creator/tier5-src/_shared/blog-list.ts +9 -9
- package/templates/podcast-creator/tier5-src/_shared/events-inline.ts +7 -5
- package/templates/podcast-creator/tier5-src/_shared/faq-list.ts +405 -0
- package/templates/podcast-creator/tier5-src/_shared/groups-section.ts +110 -0
- package/templates/podcast-creator/tier5-src/_shared/member-row-extras.ts +10 -2
- package/templates/podcast-creator/tier5-src/_shared/members-directory.ts +9 -5
- package/templates/podcast-creator/tier5-src/_shared/products-section.ts +76 -0
- package/templates/podcast-creator/tier5-src/_shared/programs-section.ts +2 -2
- package/templates/portfolio-creative/l10n/fr.json +25 -5
- package/templates/portfolio-creative/l10n/he.json +20 -4
- package/templates/portfolio-creative/recipes/blog-hero.json +95 -0
- package/templates/portfolio-creative/recipes/blog-list-thumb-start.json +177 -147
- package/templates/portfolio-creative/recipes/blog-list.json +172 -142
- package/templates/portfolio-creative/recipes/events-inline-list.json +30 -5
- package/templates/portfolio-creative/recipes/events-inline.json +30 -5
- package/templates/portfolio-creative/recipes/faq-list.json +503 -0
- package/templates/portfolio-creative/recipes/groups-list.json +196 -0
- package/templates/portfolio-creative/recipes/products-carousel.json +141 -0
- package/templates/portfolio-creative/recipes/products-grid.json +143 -0
- package/templates/portfolio-creative/tier5-src/_shared/blog-list.ts +9 -9
- package/templates/portfolio-creative/tier5-src/_shared/events-inline.ts +7 -5
- package/templates/portfolio-creative/tier5-src/_shared/faq-list.ts +405 -0
- package/templates/portfolio-creative/tier5-src/_shared/groups-section.ts +110 -0
- package/templates/portfolio-creative/tier5-src/_shared/member-row-extras.ts +10 -2
- package/templates/portfolio-creative/tier5-src/_shared/members-directory.ts +9 -5
- package/templates/portfolio-creative/tier5-src/_shared/products-section.ts +76 -0
- package/templates/portfolio-creative/tier5-src/_shared/programs-section.ts +2 -2
- package/templates/restaurant/l10n/fr.json +35 -5
- package/templates/restaurant/l10n/he.json +28 -4
- package/templates/restaurant/recipes/blog-hero.json +95 -0
- package/templates/restaurant/recipes/blog-list-thumb-start.json +177 -147
- package/templates/restaurant/recipes/blog-list.json +172 -142
- package/templates/restaurant/recipes/events-inline-list.json +30 -5
- package/templates/restaurant/recipes/events-inline.json +30 -5
- package/templates/restaurant/recipes/faq-list.json +503 -0
- package/templates/restaurant/recipes/groups-list.json +196 -0
- package/templates/restaurant/recipes/products-carousel.json +141 -0
- package/templates/restaurant/recipes/products-grid.json +143 -0
- package/templates/restaurant/tier5-src/_shared/blog-list.ts +9 -9
- package/templates/restaurant/tier5-src/_shared/events-inline.ts +7 -5
- package/templates/restaurant/tier5-src/_shared/faq-list.ts +405 -0
- package/templates/restaurant/tier5-src/_shared/groups-section.ts +110 -0
- package/templates/restaurant/tier5-src/_shared/member-row-extras.ts +10 -2
- package/templates/restaurant/tier5-src/_shared/members-directory.ts +9 -5
- package/templates/restaurant/tier5-src/_shared/products-section.ts +76 -0
- package/templates/restaurant/tier5-src/_shared/programs-section.ts +2 -2
- package/templates/retail-store/l10n/fr.json +25 -5
- package/templates/retail-store/l10n/he.json +20 -4
- package/templates/retail-store/recipes/blog-hero.json +95 -0
- package/templates/retail-store/recipes/blog-list-thumb-start.json +177 -147
- package/templates/retail-store/recipes/blog-list.json +172 -142
- package/templates/retail-store/recipes/events-inline-list.json +30 -5
- package/templates/retail-store/recipes/events-inline.json +30 -5
- package/templates/retail-store/recipes/faq-list.json +503 -0
- package/templates/retail-store/recipes/groups-list.json +196 -0
- package/templates/retail-store/recipes/products-carousel.json +141 -0
- package/templates/retail-store/recipes/products-grid.json +143 -0
- package/templates/retail-store/tier5-src/_shared/blog-list.ts +9 -9
- package/templates/retail-store/tier5-src/_shared/events-inline.ts +7 -5
- package/templates/retail-store/tier5-src/_shared/faq-list.ts +405 -0
- package/templates/retail-store/tier5-src/_shared/groups-section.ts +110 -0
- package/templates/retail-store/tier5-src/_shared/member-row-extras.ts +10 -2
- package/templates/retail-store/tier5-src/_shared/members-directory.ts +9 -5
- package/templates/retail-store/tier5-src/_shared/products-section.ts +76 -0
- package/templates/retail-store/tier5-src/_shared/programs-section.ts +2 -2
- package/templates/yoga-studio/l10n/fr.json +35 -5
- package/templates/yoga-studio/l10n/he.json +28 -4
- package/templates/yoga-studio/recipes/blog-hero.json +95 -0
- package/templates/yoga-studio/recipes/blog-list-thumb-start.json +177 -147
- package/templates/yoga-studio/recipes/blog-list.json +172 -142
- package/templates/yoga-studio/recipes/events-inline-list.json +30 -5
- package/templates/yoga-studio/recipes/events-inline.json +30 -5
- package/templates/yoga-studio/recipes/faq-list.json +503 -0
- package/templates/yoga-studio/recipes/groups-list.json +196 -0
- package/templates/yoga-studio/recipes/products-carousel.json +141 -0
- package/templates/yoga-studio/recipes/products-grid.json +143 -0
- package/templates/yoga-studio/tier5-src/_shared/blog-list.ts +9 -9
- package/templates/yoga-studio/tier5-src/_shared/events-inline.ts +7 -5
- package/templates/yoga-studio/tier5-src/_shared/faq-list.ts +405 -0
- package/templates/yoga-studio/tier5-src/_shared/groups-section.ts +110 -0
- package/templates/yoga-studio/tier5-src/_shared/member-row-extras.ts +10 -2
- package/templates/yoga-studio/tier5-src/_shared/members-directory.ts +9 -5
- package/templates/yoga-studio/tier5-src/_shared/products-section.ts +76 -0
- package/templates/yoga-studio/tier5-src/_shared/programs-section.ts +2 -2
|
@@ -0,0 +1,503 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_recipe": "The FAQ as an inline section: optional search, loading card, the questions grouped by category as disclosure rows (rich answers), and the empty / error / restricted / not-set-up cards. Same states and flags as the himi_faq screen. ONE node, always mounted. Service: registerFaqList(svc, options).",
|
|
3
|
+
"_placeholders": {
|
|
4
|
+
"svc": "service name the page worker registered with registerFaqList",
|
|
5
|
+
"id": "unique node id prefix for this section"
|
|
6
|
+
},
|
|
7
|
+
"node": {
|
|
8
|
+
"id": "{{id}}.faq",
|
|
9
|
+
"body": {
|
|
10
|
+
"package": "himalaya",
|
|
11
|
+
"type": "VStack",
|
|
12
|
+
"props": {
|
|
13
|
+
"spacing": 12,
|
|
14
|
+
"alignment": "leading",
|
|
15
|
+
"children": [
|
|
16
|
+
{
|
|
17
|
+
"id": "{{id}}.search",
|
|
18
|
+
"body": {
|
|
19
|
+
"package": "himalaya",
|
|
20
|
+
"type": "SearchField",
|
|
21
|
+
"props": {
|
|
22
|
+
"placeholder": "Search questions",
|
|
23
|
+
"debounceMs": 200,
|
|
24
|
+
"onChange": {
|
|
25
|
+
"actionId": "tier5.{{svc}}.search"
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"modifiers": {
|
|
30
|
+
"hiddenPath": "$service:{{svc}}.searchHidden"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"id": "{{id}}.loading",
|
|
35
|
+
"body": {
|
|
36
|
+
"package": "himalaya",
|
|
37
|
+
"type": "VStack",
|
|
38
|
+
"props": {
|
|
39
|
+
"spacing": 8,
|
|
40
|
+
"alignment": "leading",
|
|
41
|
+
"children": [
|
|
42
|
+
{
|
|
43
|
+
"id": "",
|
|
44
|
+
"body": {
|
|
45
|
+
"package": "himalaya",
|
|
46
|
+
"type": "Text",
|
|
47
|
+
"props": {
|
|
48
|
+
"text": "Loading frequently asked questions...",
|
|
49
|
+
"style": "body",
|
|
50
|
+
"color": "textSecondary"
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"id": "{{id}}.loading_line_1",
|
|
56
|
+
"body": {
|
|
57
|
+
"package": "himalaya",
|
|
58
|
+
"type": "Skeleton",
|
|
59
|
+
"props": {
|
|
60
|
+
"height": 18,
|
|
61
|
+
"cornerRadius": 8
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"modifiers": {
|
|
65
|
+
"height": 18,
|
|
66
|
+
"background": {
|
|
67
|
+
"token": "surfaceSecondary"
|
|
68
|
+
},
|
|
69
|
+
"cornerRadius": 8,
|
|
70
|
+
"accessibilityRole": "decorative"
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"id": "{{id}}.loading_line_2",
|
|
75
|
+
"body": {
|
|
76
|
+
"package": "himalaya",
|
|
77
|
+
"type": "Skeleton",
|
|
78
|
+
"props": {
|
|
79
|
+
"height": 18,
|
|
80
|
+
"cornerRadius": 8
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"modifiers": {
|
|
84
|
+
"height": 18,
|
|
85
|
+
"background": {
|
|
86
|
+
"token": "surfaceSecondary"
|
|
87
|
+
},
|
|
88
|
+
"cornerRadius": 8,
|
|
89
|
+
"accessibilityRole": "decorative"
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"id": "{{id}}.loading_line_3",
|
|
94
|
+
"body": {
|
|
95
|
+
"package": "himalaya",
|
|
96
|
+
"type": "Skeleton",
|
|
97
|
+
"props": {
|
|
98
|
+
"height": 18,
|
|
99
|
+
"cornerRadius": 8
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
"modifiers": {
|
|
103
|
+
"height": 18,
|
|
104
|
+
"background": {
|
|
105
|
+
"token": "surfaceSecondary"
|
|
106
|
+
},
|
|
107
|
+
"cornerRadius": 8,
|
|
108
|
+
"accessibilityRole": "decorative"
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
]
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
"modifiers": {
|
|
115
|
+
"background": {
|
|
116
|
+
"token": "surfaceElevated"
|
|
117
|
+
},
|
|
118
|
+
"border": {
|
|
119
|
+
"width": 1,
|
|
120
|
+
"color": {
|
|
121
|
+
"token": "border"
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
"cornerRadius": 4,
|
|
125
|
+
"padding": {
|
|
126
|
+
"leading": 16,
|
|
127
|
+
"trailing": 16,
|
|
128
|
+
"top": 16,
|
|
129
|
+
"bottom": 16
|
|
130
|
+
},
|
|
131
|
+
"hiddenPath": "$service:{{svc}}.loadingHidden"
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"id": "{{id}}.sections",
|
|
136
|
+
"body": {
|
|
137
|
+
"package": "himalaya",
|
|
138
|
+
"type": "Grid",
|
|
139
|
+
"props": {
|
|
140
|
+
"columns": 1,
|
|
141
|
+
"spacing": 8,
|
|
142
|
+
"itemsPath": "$service:{{svc}}.rows",
|
|
143
|
+
"items": [
|
|
144
|
+
{
|
|
145
|
+
"id": "{{id}}.row",
|
|
146
|
+
"body": {
|
|
147
|
+
"package": "himalaya",
|
|
148
|
+
"type": "VStack",
|
|
149
|
+
"props": {
|
|
150
|
+
"spacing": 6,
|
|
151
|
+
"alignment": "leading",
|
|
152
|
+
"children": [
|
|
153
|
+
{
|
|
154
|
+
"id": "",
|
|
155
|
+
"body": {
|
|
156
|
+
"package": "himalaya",
|
|
157
|
+
"type": "Text",
|
|
158
|
+
"props": {
|
|
159
|
+
"text": "$item.categoryTitle",
|
|
160
|
+
"style": "caption",
|
|
161
|
+
"color": "textSecondary"
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
"modifiers": {
|
|
165
|
+
"hiddenPath": "$item.categoryHeaderHidden"
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"id": "{{id}}.category",
|
|
170
|
+
"body": {
|
|
171
|
+
"package": "himalaya",
|
|
172
|
+
"type": "Section",
|
|
173
|
+
"props": {
|
|
174
|
+
"inset": true,
|
|
175
|
+
"children": [
|
|
176
|
+
{
|
|
177
|
+
"id": "{{id}}.question",
|
|
178
|
+
"body": {
|
|
179
|
+
"package": "himalaya",
|
|
180
|
+
"type": "DisclosureGroup",
|
|
181
|
+
"props": {
|
|
182
|
+
"title": "$item.title",
|
|
183
|
+
"expandedPath": "$item.expanded",
|
|
184
|
+
"content": [
|
|
185
|
+
{
|
|
186
|
+
"id": "{{id}}.answer_$item.id",
|
|
187
|
+
"body": {
|
|
188
|
+
"package": "himalaya",
|
|
189
|
+
"type": "RichContent",
|
|
190
|
+
"props": {
|
|
191
|
+
"documentJsonPath": "$item.answerJson",
|
|
192
|
+
"onLink": {
|
|
193
|
+
"actionId": "tier5.{{svc}}.openLink"
|
|
194
|
+
},
|
|
195
|
+
"fallback": {
|
|
196
|
+
"id": "",
|
|
197
|
+
"body": {
|
|
198
|
+
"package": "himalaya",
|
|
199
|
+
"type": "Text",
|
|
200
|
+
"props": {
|
|
201
|
+
"text": "$item.answer",
|
|
202
|
+
"style": "body",
|
|
203
|
+
"color": "textSecondary"
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"id": "{{id}}.answer_text_$item.id",
|
|
212
|
+
"body": {
|
|
213
|
+
"package": "himalaya",
|
|
214
|
+
"type": "Text",
|
|
215
|
+
"props": {
|
|
216
|
+
"text": "$item.answer",
|
|
217
|
+
"style": "body",
|
|
218
|
+
"color": "textSecondary"
|
|
219
|
+
}
|
|
220
|
+
},
|
|
221
|
+
"modifiers": {
|
|
222
|
+
"hiddenPath": "$item.hasAnswerJson"
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
],
|
|
226
|
+
"onToggle": {
|
|
227
|
+
"actionId": "tier5.{{svc}}.toggle",
|
|
228
|
+
"params": {
|
|
229
|
+
"id": "$item.id"
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
]
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
]
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
]
|
|
244
|
+
}
|
|
245
|
+
},
|
|
246
|
+
"modifiers": {
|
|
247
|
+
"hiddenPath": "$service:{{svc}}.contentHidden"
|
|
248
|
+
}
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"id": "{{id}}.empty",
|
|
252
|
+
"body": {
|
|
253
|
+
"package": "himalaya",
|
|
254
|
+
"type": "VStack",
|
|
255
|
+
"props": {
|
|
256
|
+
"spacing": 8,
|
|
257
|
+
"alignment": "leading",
|
|
258
|
+
"children": [
|
|
259
|
+
{
|
|
260
|
+
"id": "",
|
|
261
|
+
"body": {
|
|
262
|
+
"package": "himalaya",
|
|
263
|
+
"type": "Icon",
|
|
264
|
+
"props": {
|
|
265
|
+
"name": "help",
|
|
266
|
+
"size": 28,
|
|
267
|
+
"tint": "textTertiary"
|
|
268
|
+
}
|
|
269
|
+
},
|
|
270
|
+
"modifiers": {
|
|
271
|
+
"accessibilityRole": "decorative"
|
|
272
|
+
}
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"id": "",
|
|
276
|
+
"body": {
|
|
277
|
+
"package": "himalaya",
|
|
278
|
+
"type": "Text",
|
|
279
|
+
"props": {
|
|
280
|
+
"text": "No FAQs yet",
|
|
281
|
+
"style": "bodyEmphasis"
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
"id": "",
|
|
287
|
+
"body": {
|
|
288
|
+
"package": "himalaya",
|
|
289
|
+
"type": "Text",
|
|
290
|
+
"props": {
|
|
291
|
+
"text": "No questions have been published yet.",
|
|
292
|
+
"style": "footnote",
|
|
293
|
+
"color": "textSecondary"
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
]
|
|
298
|
+
}
|
|
299
|
+
},
|
|
300
|
+
"modifiers": {
|
|
301
|
+
"background": {
|
|
302
|
+
"token": "surfaceElevated"
|
|
303
|
+
},
|
|
304
|
+
"border": {
|
|
305
|
+
"width": 1,
|
|
306
|
+
"color": {
|
|
307
|
+
"token": "border"
|
|
308
|
+
}
|
|
309
|
+
},
|
|
310
|
+
"cornerRadius": 4,
|
|
311
|
+
"padding": {
|
|
312
|
+
"leading": 16,
|
|
313
|
+
"trailing": 16,
|
|
314
|
+
"top": 16,
|
|
315
|
+
"bottom": 16
|
|
316
|
+
},
|
|
317
|
+
"hiddenPath": "$service:{{svc}}.emptyHidden"
|
|
318
|
+
}
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
"id": "{{id}}.error",
|
|
322
|
+
"body": {
|
|
323
|
+
"package": "himalaya",
|
|
324
|
+
"type": "VStack",
|
|
325
|
+
"props": {
|
|
326
|
+
"spacing": 8,
|
|
327
|
+
"alignment": "leading",
|
|
328
|
+
"children": [
|
|
329
|
+
{
|
|
330
|
+
"id": "",
|
|
331
|
+
"body": {
|
|
332
|
+
"package": "himalaya",
|
|
333
|
+
"type": "Text",
|
|
334
|
+
"props": {
|
|
335
|
+
"text": "FAQs are temporarily unavailable",
|
|
336
|
+
"style": "bodyEmphasis"
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
"id": "",
|
|
342
|
+
"body": {
|
|
343
|
+
"package": "himalaya",
|
|
344
|
+
"type": "Text",
|
|
345
|
+
"props": {
|
|
346
|
+
"text": "Check your connection and try again.",
|
|
347
|
+
"style": "footnote",
|
|
348
|
+
"color": "textSecondary"
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
"id": "{{id}}.retry",
|
|
354
|
+
"body": {
|
|
355
|
+
"package": "himalaya",
|
|
356
|
+
"type": "Button",
|
|
357
|
+
"props": {
|
|
358
|
+
"title": "Try again",
|
|
359
|
+
"style": "secondary",
|
|
360
|
+
"action": {
|
|
361
|
+
"actionId": "tier5.{{svc}}.retry"
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
]
|
|
367
|
+
}
|
|
368
|
+
},
|
|
369
|
+
"modifiers": {
|
|
370
|
+
"background": {
|
|
371
|
+
"token": "surfaceElevated"
|
|
372
|
+
},
|
|
373
|
+
"border": {
|
|
374
|
+
"width": 1,
|
|
375
|
+
"color": {
|
|
376
|
+
"token": "border"
|
|
377
|
+
}
|
|
378
|
+
},
|
|
379
|
+
"cornerRadius": 4,
|
|
380
|
+
"padding": {
|
|
381
|
+
"leading": 16,
|
|
382
|
+
"trailing": 16,
|
|
383
|
+
"top": 16,
|
|
384
|
+
"bottom": 16
|
|
385
|
+
},
|
|
386
|
+
"hiddenPath": "$service:{{svc}}.errorHidden"
|
|
387
|
+
}
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
"id": "{{id}}.forbidden",
|
|
391
|
+
"body": {
|
|
392
|
+
"package": "himalaya",
|
|
393
|
+
"type": "VStack",
|
|
394
|
+
"props": {
|
|
395
|
+
"spacing": 8,
|
|
396
|
+
"alignment": "leading",
|
|
397
|
+
"children": [
|
|
398
|
+
{
|
|
399
|
+
"id": "",
|
|
400
|
+
"body": {
|
|
401
|
+
"package": "himalaya",
|
|
402
|
+
"type": "Text",
|
|
403
|
+
"props": {
|
|
404
|
+
"text": "FAQ access is restricted",
|
|
405
|
+
"style": "bodyEmphasis"
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
"id": "",
|
|
411
|
+
"body": {
|
|
412
|
+
"package": "himalaya",
|
|
413
|
+
"type": "Text",
|
|
414
|
+
"props": {
|
|
415
|
+
"text": "This site's FAQ is not available to visitors.",
|
|
416
|
+
"style": "footnote",
|
|
417
|
+
"color": "textSecondary"
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
}
|
|
421
|
+
]
|
|
422
|
+
}
|
|
423
|
+
},
|
|
424
|
+
"modifiers": {
|
|
425
|
+
"background": {
|
|
426
|
+
"token": "surfaceElevated"
|
|
427
|
+
},
|
|
428
|
+
"border": {
|
|
429
|
+
"width": 1,
|
|
430
|
+
"color": {
|
|
431
|
+
"token": "border"
|
|
432
|
+
}
|
|
433
|
+
},
|
|
434
|
+
"cornerRadius": 4,
|
|
435
|
+
"padding": {
|
|
436
|
+
"leading": 16,
|
|
437
|
+
"trailing": 16,
|
|
438
|
+
"top": 16,
|
|
439
|
+
"bottom": 16
|
|
440
|
+
},
|
|
441
|
+
"hiddenPath": "$service:{{svc}}.forbiddenHidden"
|
|
442
|
+
}
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
"id": "{{id}}.not_installed",
|
|
446
|
+
"body": {
|
|
447
|
+
"package": "himalaya",
|
|
448
|
+
"type": "VStack",
|
|
449
|
+
"props": {
|
|
450
|
+
"spacing": 8,
|
|
451
|
+
"alignment": "leading",
|
|
452
|
+
"children": [
|
|
453
|
+
{
|
|
454
|
+
"id": "",
|
|
455
|
+
"body": {
|
|
456
|
+
"package": "himalaya",
|
|
457
|
+
"type": "Text",
|
|
458
|
+
"props": {
|
|
459
|
+
"text": "FAQs are not set up",
|
|
460
|
+
"style": "bodyEmphasis"
|
|
461
|
+
}
|
|
462
|
+
}
|
|
463
|
+
},
|
|
464
|
+
{
|
|
465
|
+
"id": "",
|
|
466
|
+
"body": {
|
|
467
|
+
"package": "himalaya",
|
|
468
|
+
"type": "Text",
|
|
469
|
+
"props": {
|
|
470
|
+
"text": "This business has not added FAQs yet.",
|
|
471
|
+
"style": "footnote",
|
|
472
|
+
"color": "textSecondary"
|
|
473
|
+
}
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
]
|
|
477
|
+
}
|
|
478
|
+
},
|
|
479
|
+
"modifiers": {
|
|
480
|
+
"background": {
|
|
481
|
+
"token": "surfaceElevated"
|
|
482
|
+
},
|
|
483
|
+
"border": {
|
|
484
|
+
"width": 1,
|
|
485
|
+
"color": {
|
|
486
|
+
"token": "border"
|
|
487
|
+
}
|
|
488
|
+
},
|
|
489
|
+
"cornerRadius": 4,
|
|
490
|
+
"padding": {
|
|
491
|
+
"leading": 16,
|
|
492
|
+
"trailing": 16,
|
|
493
|
+
"top": 16,
|
|
494
|
+
"bottom": 16
|
|
495
|
+
},
|
|
496
|
+
"hiddenPath": "$service:{{svc}}.notInstalledHidden"
|
|
497
|
+
}
|
|
498
|
+
}
|
|
499
|
+
]
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
}
|