@funnelsgrove/cli 0.1.366 → 0.1.369
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/README.md +16 -0
- package/dist/cli.js +52 -0
- package/dist/projectSetupCommands.d.ts +74 -0
- package/dist/projectSetupCommands.js +107 -0
- package/funnel-contract-compatibility.json +49 -49
- package/package.json +1 -1
- package/template_docs/.funnelsgrove-docs.json +10 -10
- package/template_docs/docs/funnelsgrove/START-HERE.md +1 -1
- package/template_docs/docs/funnelsgrove/contracts/content-answers.md +5 -4
- package/template_docs/docs/funnelsgrove/contracts/payments.md +5 -3
- package/template_docs/docs/funnelsgrove/migrations/step-contract-v3.md +1 -1
- package/template_docs/docs/funnelsgrove/recipes/add-step.md +1 -1
- package/template_docs/docs/funnelsgrove/recipes/edit-step.md +1 -1
- package/template_docs/docs/funnelsgrove/steps/paywall_offer.md +26 -3
- package/template_docs/docs/funnelsgrove/steps/progress_interstitial.md +13 -0
- package/template_docs/funnel-docs.config.json +1 -1
- package/template_scaffold/.funnelsgrove-docs.json +10 -10
- package/template_scaffold/.funnelsgrove-scaffold.json +13 -33
- package/template_scaffold/docs/funnelsgrove/START-HERE.md +1 -1
- package/template_scaffold/docs/funnelsgrove/contracts/content-answers.md +5 -4
- package/template_scaffold/docs/funnelsgrove/contracts/payments.md +5 -3
- package/template_scaffold/docs/funnelsgrove/migrations/step-contract-v3.md +1 -1
- package/template_scaffold/docs/funnelsgrove/recipes/add-step.md +1 -1
- package/template_scaffold/docs/funnelsgrove/recipes/edit-step.md +1 -1
- package/template_scaffold/docs/funnelsgrove/steps/paywall_offer.md +26 -3
- package/template_scaffold/docs/funnelsgrove/steps/progress_interstitial.md +13 -0
- package/template_scaffold/funnel-docs.config.json +1 -1
- package/template_scaffold/src/steps/step-content.registry.ts +0 -4
- package/template_scaffold/src/steps/editor/email-capture.editor.ts +0 -58
- package/template_scaffold/src/steps/editor/step-01.editor.ts +0 -22
- package/template_scaffold/src/steps/editor/step-32-paywall.editor.ts +0 -508
- package/template_scaffold/src/steps/editor/subscription-started.editor.ts +0 -131
|
@@ -76,6 +76,17 @@ export const goldenFixture = {
|
|
|
76
76
|
|
|
77
77
|
This transition does not persist a choice answer. An automatic delay or explicit Continue may complete it through the controller.
|
|
78
78
|
|
|
79
|
+
### Plan-building loader
|
|
80
|
+
|
|
81
|
+
The loader before the plan reveal or paywall is a **phased loader**: progress rows that fill one after another, **stop questions** that pause it, and a button at the end.
|
|
82
|
+
|
|
83
|
+
- **Rows:** 3–4 rows named after the answer groups the plan uses. One row fills at a time, over 5–7 seconds (default 5), slowing toward its end, and finishes with a check mark.
|
|
84
|
+
- **Phases:** each run between two pauses is its own `progress_interstitial` step. A single `setTimeout` for the phase length calls `goNext()`; clear it on unmount. Rows finished in an earlier phase render at their end value.
|
|
85
|
+
- **Stop questions:** two by default. Each is its own `single_step_choice` or `single_step_choice_emoji` step with an `answerKey`, placed between two phases in the manifest. It renders the same loader frozen at the pause values, with the question in a bottom sheet over it, and completes through `useStepChoices`. Pause in the middle of a row (for example at 60%), so the loader reads as waiting for the answer. Use each answer in the plan or on the paywall.
|
|
86
|
+
- **Animation:** CSS only. Give each row its start value, end value, delay and duration as custom properties; one keyframe animates the bar's `transform: scaleX()` with a decelerating curve such as `cubic-bezier(0.2, 0.7, 0.3, 1)`, so each run slows before its pause or its end, and the percent label is a CSS counter driven by a registered integer custom property (`@property`). React state changes only when a phase ends.
|
|
87
|
+
- **Ending:** the last phase stays on screen at 100% and enables a button (“Show my plan”) that calls `goNext()`. Only intermediate phases advance on their own.
|
|
88
|
+
- **Reduced motion:** under `prefers-reduced-motion: reduce`, rows show their end values at once and each phase ends after about 300 ms.
|
|
89
|
+
|
|
79
90
|
## Automatic lifecycle events
|
|
80
91
|
|
|
81
92
|
The controller distinguishes completion from abandonment and suppresses provider delivery in preview.
|
|
@@ -109,3 +120,5 @@ Run `fgrove validate`.
|
|
|
109
120
|
## Manual QA and completion criteria
|
|
110
121
|
|
|
111
122
|
Confirm timer/manual completion fires once, leaving early records an exit, and no paywall or checkout event appears.
|
|
123
|
+
|
|
124
|
+
For a phased loader, also confirm with 4× CPU throttling that the bars stay smooth, each stop question appears once, saves its answer and resumes from its pause value, and the last phase waits for its button.
|
|
@@ -1,19 +1,15 @@
|
|
|
1
1
|
export const stepContentRegistry = {
|
|
2
2
|
'step-1': {
|
|
3
3
|
contentPath: 'src/steps/content/step-01.content.ts',
|
|
4
|
-
editorPath: 'src/steps/editor/step-01.editor.ts',
|
|
5
4
|
},
|
|
6
5
|
'email-capture': {
|
|
7
6
|
contentPath: 'src/steps/content/email-capture.content.ts',
|
|
8
|
-
editorPath: 'src/steps/editor/email-capture.editor.ts',
|
|
9
7
|
},
|
|
10
8
|
paywall: {
|
|
11
9
|
contentPath: 'src/steps/content/step-32-paywall.content.ts',
|
|
12
|
-
editorPath: 'src/steps/editor/step-32-paywall.editor.ts',
|
|
13
10
|
},
|
|
14
11
|
'subscription-started': {
|
|
15
12
|
contentPath: 'src/steps/content/subscription-started.content.ts',
|
|
16
|
-
editorPath: 'src/steps/editor/subscription-started.editor.ts',
|
|
17
13
|
},
|
|
18
14
|
} as const;
|
|
19
15
|
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import type { StepEditorSection } from '@funnelsgrove/runtime';
|
|
2
|
-
|
|
3
|
-
export const emailCaptureEditor: readonly StepEditorSection[] = [
|
|
4
|
-
{
|
|
5
|
-
id: 'copy',
|
|
6
|
-
label: 'Copy',
|
|
7
|
-
fields: [
|
|
8
|
-
{
|
|
9
|
-
id: 'kicker',
|
|
10
|
-
label: 'Kicker',
|
|
11
|
-
kind: 'text',
|
|
12
|
-
path: 'kicker',
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
id: 'title',
|
|
16
|
-
label: 'Title',
|
|
17
|
-
kind: 'text',
|
|
18
|
-
path: 'title',
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
id: 'description',
|
|
22
|
-
label: 'Description',
|
|
23
|
-
kind: 'textarea',
|
|
24
|
-
path: 'description',
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
id: 'fieldLabel',
|
|
28
|
-
label: 'Field label',
|
|
29
|
-
kind: 'text',
|
|
30
|
-
path: 'fieldLabel',
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
id: 'placeholder',
|
|
34
|
-
label: 'Placeholder',
|
|
35
|
-
kind: 'text',
|
|
36
|
-
path: 'placeholder',
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
id: 'submitLabel',
|
|
40
|
-
label: 'Submit label',
|
|
41
|
-
kind: 'text',
|
|
42
|
-
path: 'submitLabel',
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
id: 'submittingLabel',
|
|
46
|
-
label: 'Submitting label',
|
|
47
|
-
kind: 'text',
|
|
48
|
-
path: 'submittingLabel',
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
id: 'saveErrorMessage',
|
|
52
|
-
label: 'Error message',
|
|
53
|
-
kind: 'text',
|
|
54
|
-
path: 'saveErrorMessage',
|
|
55
|
-
},
|
|
56
|
-
],
|
|
57
|
-
},
|
|
58
|
-
] as const;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { StepEditorSection } from '@funnelsgrove/runtime';
|
|
2
|
-
|
|
3
|
-
export const stepOneEditor: readonly StepEditorSection[] = [
|
|
4
|
-
{
|
|
5
|
-
id: 'hero',
|
|
6
|
-
label: 'Hero',
|
|
7
|
-
fields: [
|
|
8
|
-
{
|
|
9
|
-
id: 'headline',
|
|
10
|
-
label: 'Headline',
|
|
11
|
-
kind: 'textLines',
|
|
12
|
-
path: 'headline',
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
id: 'artwork',
|
|
16
|
-
label: 'Artwork',
|
|
17
|
-
kind: 'image',
|
|
18
|
-
path: 'artwork',
|
|
19
|
-
},
|
|
20
|
-
],
|
|
21
|
-
},
|
|
22
|
-
] as const;
|
|
@@ -1,508 +0,0 @@
|
|
|
1
|
-
import type { StepEditorSection } from '@funnelsgrove/runtime';
|
|
2
|
-
|
|
3
|
-
export const stepPaywallEditor: readonly StepEditorSection[] = [
|
|
4
|
-
{
|
|
5
|
-
id: 'loading',
|
|
6
|
-
label: 'Loading',
|
|
7
|
-
fields: [
|
|
8
|
-
{
|
|
9
|
-
id: 'loadingLabel',
|
|
10
|
-
label: 'Loading label',
|
|
11
|
-
kind: 'text',
|
|
12
|
-
path: 'loadingLabel',
|
|
13
|
-
},
|
|
14
|
-
],
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
id: 'top-bar',
|
|
18
|
-
label: 'Top Bar',
|
|
19
|
-
fields: [
|
|
20
|
-
{
|
|
21
|
-
id: 'topBarDiscountLabel',
|
|
22
|
-
label: 'Discount label',
|
|
23
|
-
kind: 'text',
|
|
24
|
-
path: 'topBarDiscountLabel',
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
id: 'topBarCtaLabel',
|
|
28
|
-
label: 'Top CTA label',
|
|
29
|
-
kind: 'text',
|
|
30
|
-
path: 'topBarCtaLabel',
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
id: 'countdownUnits',
|
|
34
|
-
label: 'Countdown units',
|
|
35
|
-
kind: 'textLines',
|
|
36
|
-
path: 'countdownUnits',
|
|
37
|
-
},
|
|
38
|
-
],
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
id: 'hero',
|
|
42
|
-
label: 'Hero',
|
|
43
|
-
fields: [
|
|
44
|
-
{
|
|
45
|
-
id: 'hero.pills',
|
|
46
|
-
label: 'Hero pills',
|
|
47
|
-
kind: 'textLines',
|
|
48
|
-
path: 'hero.pills',
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
id: 'hero.image',
|
|
52
|
-
label: 'Hero image',
|
|
53
|
-
kind: 'image',
|
|
54
|
-
path: 'hero.image',
|
|
55
|
-
},
|
|
56
|
-
],
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
id: 'promo',
|
|
60
|
-
label: 'Promo',
|
|
61
|
-
fields: [
|
|
62
|
-
{
|
|
63
|
-
id: 'promo.ariaLabel',
|
|
64
|
-
label: 'Promo aria label',
|
|
65
|
-
kind: 'text',
|
|
66
|
-
path: 'promo.ariaLabel',
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
id: 'promo.initialLabel',
|
|
70
|
-
label: 'Promo label',
|
|
71
|
-
kind: 'text',
|
|
72
|
-
path: 'promo.initialLabel',
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
id: 'promo.upgradedLabel',
|
|
76
|
-
label: 'Upgraded promo label',
|
|
77
|
-
kind: 'text',
|
|
78
|
-
path: 'promo.upgradedLabel',
|
|
79
|
-
},
|
|
80
|
-
],
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
id: 'highlight',
|
|
84
|
-
label: 'Highlight',
|
|
85
|
-
fields: [
|
|
86
|
-
{
|
|
87
|
-
id: 'highlight.title',
|
|
88
|
-
label: 'Highlight title',
|
|
89
|
-
kind: 'textLines',
|
|
90
|
-
path: 'highlight.title',
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
id: 'highlight.description',
|
|
94
|
-
label: 'Highlight description',
|
|
95
|
-
kind: 'textarea',
|
|
96
|
-
path: 'highlight.description',
|
|
97
|
-
},
|
|
98
|
-
],
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
id: 'plans',
|
|
102
|
-
label: 'Plans',
|
|
103
|
-
fields: [
|
|
104
|
-
{
|
|
105
|
-
id: 'plans.title',
|
|
106
|
-
label: 'Plans title',
|
|
107
|
-
kind: 'text',
|
|
108
|
-
path: 'plans.title',
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
id: 'plans.cardButtonLabel',
|
|
112
|
-
label: 'Card button label',
|
|
113
|
-
kind: 'text',
|
|
114
|
-
path: 'plans.cardButtonLabel',
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
id: 'plans.metaLabels',
|
|
118
|
-
label: 'Meta labels',
|
|
119
|
-
kind: 'textLines',
|
|
120
|
-
path: 'plans.metaLabels',
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
id: 'plans.stripeUnavailableNote',
|
|
124
|
-
label: 'Stripe unavailable note',
|
|
125
|
-
kind: 'textarea',
|
|
126
|
-
path: 'plans.stripeUnavailableNote',
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
id: 'plans.plansUnavailableNote',
|
|
130
|
-
label: 'Plans unavailable note',
|
|
131
|
-
kind: 'textarea',
|
|
132
|
-
path: 'plans.plansUnavailableNote',
|
|
133
|
-
},
|
|
134
|
-
],
|
|
135
|
-
},
|
|
136
|
-
{
|
|
137
|
-
id: 'checkout',
|
|
138
|
-
label: 'Checkout',
|
|
139
|
-
fields: [
|
|
140
|
-
{
|
|
141
|
-
id: 'checkout.title',
|
|
142
|
-
label: 'Dialog title',
|
|
143
|
-
kind: 'text',
|
|
144
|
-
path: 'checkout.title',
|
|
145
|
-
},
|
|
146
|
-
{
|
|
147
|
-
id: 'checkout.summaryTitle',
|
|
148
|
-
label: 'Summary title',
|
|
149
|
-
kind: 'text',
|
|
150
|
-
path: 'checkout.summaryTitle',
|
|
151
|
-
},
|
|
152
|
-
{
|
|
153
|
-
id: 'checkout.closeAriaLabel',
|
|
154
|
-
label: 'Close aria label',
|
|
155
|
-
kind: 'text',
|
|
156
|
-
path: 'checkout.closeAriaLabel',
|
|
157
|
-
},
|
|
158
|
-
{
|
|
159
|
-
id: 'checkout.walletPlaceholderLabel',
|
|
160
|
-
label: 'Wallet placeholder label',
|
|
161
|
-
kind: 'text',
|
|
162
|
-
path: 'checkout.walletPlaceholderLabel',
|
|
163
|
-
},
|
|
164
|
-
{
|
|
165
|
-
id: 'checkout.walletButtonLabel',
|
|
166
|
-
label: 'Wallet button label',
|
|
167
|
-
kind: 'text',
|
|
168
|
-
path: 'checkout.walletButtonLabel',
|
|
169
|
-
},
|
|
170
|
-
{
|
|
171
|
-
id: 'checkout.customerEmailLabel',
|
|
172
|
-
label: 'Customer email label',
|
|
173
|
-
kind: 'text',
|
|
174
|
-
path: 'checkout.customerEmailLabel',
|
|
175
|
-
},
|
|
176
|
-
{
|
|
177
|
-
id: 'checkout.customerEmailPlaceholder',
|
|
178
|
-
label: 'Customer email placeholder',
|
|
179
|
-
kind: 'text',
|
|
180
|
-
path: 'checkout.customerEmailPlaceholder',
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
id: 'checkout.customerEmailInvalidMessage',
|
|
184
|
-
label: 'Customer email invalid message',
|
|
185
|
-
kind: 'text',
|
|
186
|
-
path: 'checkout.customerEmailInvalidMessage',
|
|
187
|
-
},
|
|
188
|
-
{
|
|
189
|
-
id: 'checkout.emailPromptTitle',
|
|
190
|
-
label: 'Email prompt title',
|
|
191
|
-
kind: 'text',
|
|
192
|
-
path: 'checkout.emailPromptTitle',
|
|
193
|
-
},
|
|
194
|
-
{
|
|
195
|
-
id: 'checkout.emailPromptDescription',
|
|
196
|
-
label: 'Email prompt description',
|
|
197
|
-
kind: 'textarea',
|
|
198
|
-
path: 'checkout.emailPromptDescription',
|
|
199
|
-
},
|
|
200
|
-
{
|
|
201
|
-
id: 'checkout.emailPromptSubmitLabel',
|
|
202
|
-
label: 'Email prompt submit label',
|
|
203
|
-
kind: 'text',
|
|
204
|
-
path: 'checkout.emailPromptSubmitLabel',
|
|
205
|
-
},
|
|
206
|
-
{
|
|
207
|
-
id: 'checkout.emailPromptCancelLabel',
|
|
208
|
-
label: 'Email prompt cancel label',
|
|
209
|
-
kind: 'text',
|
|
210
|
-
path: 'checkout.emailPromptCancelLabel',
|
|
211
|
-
},
|
|
212
|
-
{
|
|
213
|
-
id: 'checkout.countdownLabel',
|
|
214
|
-
label: 'Checkout countdown label',
|
|
215
|
-
kind: 'text',
|
|
216
|
-
path: 'checkout.countdownLabel',
|
|
217
|
-
},
|
|
218
|
-
{
|
|
219
|
-
id: 'checkout.satisfactionPercent',
|
|
220
|
-
label: 'Satisfaction percent',
|
|
221
|
-
kind: 'text',
|
|
222
|
-
path: 'checkout.satisfactionPercent',
|
|
223
|
-
},
|
|
224
|
-
{
|
|
225
|
-
id: 'checkout.satisfactionLabel',
|
|
226
|
-
label: 'Satisfaction label',
|
|
227
|
-
kind: 'textarea',
|
|
228
|
-
path: 'checkout.satisfactionLabel',
|
|
229
|
-
},
|
|
230
|
-
{
|
|
231
|
-
id: 'checkout.originalPriceLabel',
|
|
232
|
-
label: 'Original price label',
|
|
233
|
-
kind: 'text',
|
|
234
|
-
path: 'checkout.originalPriceLabel',
|
|
235
|
-
},
|
|
236
|
-
{
|
|
237
|
-
id: 'checkout.discountLabelTemplate',
|
|
238
|
-
label: 'Discount label template',
|
|
239
|
-
kind: 'text',
|
|
240
|
-
path: 'checkout.discountLabelTemplate',
|
|
241
|
-
},
|
|
242
|
-
{
|
|
243
|
-
id: 'checkout.discountRowLabelTemplate',
|
|
244
|
-
label: 'Discount row label template',
|
|
245
|
-
kind: 'text',
|
|
246
|
-
path: 'checkout.discountRowLabelTemplate',
|
|
247
|
-
},
|
|
248
|
-
{
|
|
249
|
-
id: 'checkout.promoCodeLabel',
|
|
250
|
-
label: 'Promo code label',
|
|
251
|
-
kind: 'text',
|
|
252
|
-
path: 'checkout.promoCodeLabel',
|
|
253
|
-
},
|
|
254
|
-
{
|
|
255
|
-
id: 'checkout.savedLabelTemplate',
|
|
256
|
-
label: 'Saved label template',
|
|
257
|
-
kind: 'text',
|
|
258
|
-
path: 'checkout.savedLabelTemplate',
|
|
259
|
-
},
|
|
260
|
-
{
|
|
261
|
-
id: 'checkout.totalLabel',
|
|
262
|
-
label: 'Total label',
|
|
263
|
-
kind: 'text',
|
|
264
|
-
path: 'checkout.totalLabel',
|
|
265
|
-
},
|
|
266
|
-
{
|
|
267
|
-
id: 'checkout.summaryGuaranteeLabel',
|
|
268
|
-
label: 'Summary guarantee label',
|
|
269
|
-
kind: 'text',
|
|
270
|
-
path: 'checkout.summaryGuaranteeLabel',
|
|
271
|
-
},
|
|
272
|
-
{
|
|
273
|
-
id: 'checkout.submitLabel',
|
|
274
|
-
label: 'Submit label',
|
|
275
|
-
kind: 'text',
|
|
276
|
-
path: 'checkout.submitLabel',
|
|
277
|
-
},
|
|
278
|
-
{
|
|
279
|
-
id: 'checkout.cardSubmitLabel',
|
|
280
|
-
label: 'Card submit label',
|
|
281
|
-
kind: 'text',
|
|
282
|
-
path: 'checkout.cardSubmitLabel',
|
|
283
|
-
},
|
|
284
|
-
{
|
|
285
|
-
id: 'checkout.paypalLabel',
|
|
286
|
-
label: 'PayPal label',
|
|
287
|
-
kind: 'text',
|
|
288
|
-
path: 'checkout.paypalLabel',
|
|
289
|
-
},
|
|
290
|
-
{
|
|
291
|
-
id: 'checkout.paypalButtonLabel',
|
|
292
|
-
label: 'PayPal button label',
|
|
293
|
-
kind: 'text',
|
|
294
|
-
path: 'checkout.paypalButtonLabel',
|
|
295
|
-
},
|
|
296
|
-
{
|
|
297
|
-
id: 'checkout.processingLabel',
|
|
298
|
-
label: 'Processing label',
|
|
299
|
-
kind: 'text',
|
|
300
|
-
path: 'checkout.processingLabel',
|
|
301
|
-
},
|
|
302
|
-
{
|
|
303
|
-
id: 'checkout.secureLabel',
|
|
304
|
-
label: 'Secure label',
|
|
305
|
-
kind: 'text',
|
|
306
|
-
path: 'checkout.secureLabel',
|
|
307
|
-
},
|
|
308
|
-
{
|
|
309
|
-
id: 'checkout.poweredByLabel',
|
|
310
|
-
label: 'Powered by label',
|
|
311
|
-
kind: 'text',
|
|
312
|
-
path: 'checkout.poweredByLabel',
|
|
313
|
-
},
|
|
314
|
-
{
|
|
315
|
-
id: 'checkout.paymentMethodLabels',
|
|
316
|
-
label: 'Payment method labels',
|
|
317
|
-
kind: 'textLines',
|
|
318
|
-
path: 'checkout.paymentMethodLabels',
|
|
319
|
-
},
|
|
320
|
-
{
|
|
321
|
-
id: 'checkout.legalPrefix',
|
|
322
|
-
label: 'Legal prefix',
|
|
323
|
-
kind: 'textarea',
|
|
324
|
-
path: 'checkout.legalPrefix',
|
|
325
|
-
},
|
|
326
|
-
{
|
|
327
|
-
id: 'checkout.legalLinks',
|
|
328
|
-
label: 'Legal links',
|
|
329
|
-
kind: 'list',
|
|
330
|
-
path: 'checkout.legalLinks',
|
|
331
|
-
preset: 'linkItems',
|
|
332
|
-
},
|
|
333
|
-
{
|
|
334
|
-
id: 'checkout.supportText',
|
|
335
|
-
label: 'Support text',
|
|
336
|
-
kind: 'text',
|
|
337
|
-
path: 'checkout.supportText',
|
|
338
|
-
},
|
|
339
|
-
{
|
|
340
|
-
id: 'checkout.renewalTemplate',
|
|
341
|
-
label: 'Renewal template',
|
|
342
|
-
kind: 'textarea',
|
|
343
|
-
path: 'checkout.renewalTemplate',
|
|
344
|
-
},
|
|
345
|
-
{
|
|
346
|
-
id: 'checkout.specialOffer.discountLabel',
|
|
347
|
-
label: 'Special offer discount label',
|
|
348
|
-
kind: 'text',
|
|
349
|
-
path: 'checkout.specialOffer.discountLabel',
|
|
350
|
-
},
|
|
351
|
-
{
|
|
352
|
-
id: 'checkout.specialOffer.image',
|
|
353
|
-
label: 'Special offer image',
|
|
354
|
-
kind: 'image',
|
|
355
|
-
path: 'checkout.specialOffer.image',
|
|
356
|
-
},
|
|
357
|
-
{
|
|
358
|
-
id: 'checkout.specialOffer.title',
|
|
359
|
-
label: 'Special offer title',
|
|
360
|
-
kind: 'text',
|
|
361
|
-
path: 'checkout.specialOffer.title',
|
|
362
|
-
},
|
|
363
|
-
{
|
|
364
|
-
id: 'checkout.specialOffer.description',
|
|
365
|
-
label: 'Special offer description',
|
|
366
|
-
kind: 'textarea',
|
|
367
|
-
path: 'checkout.specialOffer.description',
|
|
368
|
-
},
|
|
369
|
-
{
|
|
370
|
-
id: 'checkout.specialOffer.buttonLabel',
|
|
371
|
-
label: 'Special offer button label',
|
|
372
|
-
kind: 'text',
|
|
373
|
-
path: 'checkout.specialOffer.buttonLabel',
|
|
374
|
-
},
|
|
375
|
-
],
|
|
376
|
-
},
|
|
377
|
-
{
|
|
378
|
-
id: 'feature-grid',
|
|
379
|
-
label: 'Feature Grid',
|
|
380
|
-
fields: [
|
|
381
|
-
{
|
|
382
|
-
id: 'featureGrid.title',
|
|
383
|
-
label: 'Section title',
|
|
384
|
-
kind: 'textLines',
|
|
385
|
-
path: 'featureGrid.title',
|
|
386
|
-
},
|
|
387
|
-
{
|
|
388
|
-
id: 'featureGrid.subtitle',
|
|
389
|
-
label: 'Section subtitle',
|
|
390
|
-
kind: 'textarea',
|
|
391
|
-
path: 'featureGrid.subtitle',
|
|
392
|
-
},
|
|
393
|
-
{
|
|
394
|
-
id: 'featureGrid.assistant.image',
|
|
395
|
-
label: 'Assistant image',
|
|
396
|
-
kind: 'image',
|
|
397
|
-
path: 'featureGrid.assistant.image',
|
|
398
|
-
},
|
|
399
|
-
{
|
|
400
|
-
id: 'featureGrid.assistant.title',
|
|
401
|
-
label: 'Assistant title',
|
|
402
|
-
kind: 'text',
|
|
403
|
-
path: 'featureGrid.assistant.title',
|
|
404
|
-
},
|
|
405
|
-
{
|
|
406
|
-
id: 'featureGrid.assistant.description',
|
|
407
|
-
label: 'Assistant description',
|
|
408
|
-
kind: 'textarea',
|
|
409
|
-
path: 'featureGrid.assistant.description',
|
|
410
|
-
},
|
|
411
|
-
{
|
|
412
|
-
id: 'featureGrid.quickFeatures',
|
|
413
|
-
label: 'Quick features',
|
|
414
|
-
kind: 'list',
|
|
415
|
-
path: 'featureGrid.quickFeatures',
|
|
416
|
-
preset: 'infoItems',
|
|
417
|
-
},
|
|
418
|
-
{
|
|
419
|
-
id: 'featureGrid.history.image',
|
|
420
|
-
label: 'History image',
|
|
421
|
-
kind: 'image',
|
|
422
|
-
path: 'featureGrid.history.image',
|
|
423
|
-
},
|
|
424
|
-
{
|
|
425
|
-
id: 'featureGrid.history.title',
|
|
426
|
-
label: 'History title',
|
|
427
|
-
kind: 'textarea',
|
|
428
|
-
path: 'featureGrid.history.title',
|
|
429
|
-
},
|
|
430
|
-
{
|
|
431
|
-
id: 'featureGrid.detailedFeatures',
|
|
432
|
-
label: 'Detailed features',
|
|
433
|
-
kind: 'list',
|
|
434
|
-
path: 'featureGrid.detailedFeatures',
|
|
435
|
-
preset: 'infoItems',
|
|
436
|
-
},
|
|
437
|
-
],
|
|
438
|
-
},
|
|
439
|
-
{
|
|
440
|
-
id: 'stories',
|
|
441
|
-
label: 'Stories',
|
|
442
|
-
fields: [
|
|
443
|
-
{
|
|
444
|
-
id: 'stories.title',
|
|
445
|
-
label: 'Stories title',
|
|
446
|
-
kind: 'text',
|
|
447
|
-
path: 'stories.title',
|
|
448
|
-
},
|
|
449
|
-
{
|
|
450
|
-
id: 'stories.items',
|
|
451
|
-
label: 'Stories',
|
|
452
|
-
kind: 'list',
|
|
453
|
-
path: 'stories.items',
|
|
454
|
-
preset: 'quoteItems',
|
|
455
|
-
},
|
|
456
|
-
],
|
|
457
|
-
},
|
|
458
|
-
{
|
|
459
|
-
id: 'faq',
|
|
460
|
-
label: 'FAQ',
|
|
461
|
-
fields: [
|
|
462
|
-
{
|
|
463
|
-
id: 'faq.title',
|
|
464
|
-
label: 'FAQ title',
|
|
465
|
-
kind: 'text',
|
|
466
|
-
path: 'faq.title',
|
|
467
|
-
},
|
|
468
|
-
{
|
|
469
|
-
id: 'faq.items',
|
|
470
|
-
label: 'FAQ items',
|
|
471
|
-
kind: 'list',
|
|
472
|
-
path: 'faq.items',
|
|
473
|
-
preset: 'qaItems',
|
|
474
|
-
},
|
|
475
|
-
],
|
|
476
|
-
},
|
|
477
|
-
{
|
|
478
|
-
id: 'guarantee',
|
|
479
|
-
label: 'Guarantee',
|
|
480
|
-
fields: [
|
|
481
|
-
{
|
|
482
|
-
id: 'guarantee.image',
|
|
483
|
-
label: 'Guarantee image',
|
|
484
|
-
kind: 'image',
|
|
485
|
-
path: 'guarantee.image',
|
|
486
|
-
},
|
|
487
|
-
{
|
|
488
|
-
id: 'guarantee.title',
|
|
489
|
-
label: 'Guarantee title',
|
|
490
|
-
kind: 'text',
|
|
491
|
-
path: 'guarantee.title',
|
|
492
|
-
},
|
|
493
|
-
{
|
|
494
|
-
id: 'guarantee.description',
|
|
495
|
-
label: 'Guarantee description',
|
|
496
|
-
kind: 'textarea',
|
|
497
|
-
path: 'guarantee.description',
|
|
498
|
-
},
|
|
499
|
-
{
|
|
500
|
-
id: 'guarantee.links',
|
|
501
|
-
label: 'Guarantee links',
|
|
502
|
-
kind: 'list',
|
|
503
|
-
path: 'guarantee.links',
|
|
504
|
-
preset: 'linkItems',
|
|
505
|
-
},
|
|
506
|
-
],
|
|
507
|
-
},
|
|
508
|
-
] as const;
|