@total_onion/onion-library 1.0.63 → 1.0.65
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/components/block-block-interactions-v3/block-interactions-v3.js +0 -2
- package/components/block-block-interactions-v3/block-interactions-v3.scss +5 -5
- package/components/block-block-interactions-v3/block-interactions-v3.twig +4 -1
- package/components/block-form-selection-v3/form-selection-v3.scss +16 -9
- package/components/block-form-selection-v3/form-selection-v3.twig +24 -2
- package/components/block-form-selection-v3/group_68752e7949e53.json +327 -298
- package/package.json +1 -1
|
@@ -30,12 +30,10 @@ export default function blockinteractionsv3Js(options = {}) {
|
|
|
30
30
|
setTimeout(() => {
|
|
31
31
|
wrappingSection.style.display = 'none';
|
|
32
32
|
}, e.currentTarget.dataset.animationduration * 1000);
|
|
33
|
-
|
|
34
33
|
if (shouldStoreCookie) {
|
|
35
34
|
setCookie(cookieKey, 'true', 7);
|
|
36
35
|
}
|
|
37
36
|
});
|
|
38
|
-
|
|
39
37
|
});
|
|
40
38
|
|
|
41
39
|
|
|
@@ -8,16 +8,16 @@
|
|
|
8
8
|
border: unset;
|
|
9
9
|
background: unset;
|
|
10
10
|
}
|
|
11
|
-
|
|
11
|
+
svg {
|
|
12
12
|
width: core-functions-v3.fluidSize(20, 'mobile');
|
|
13
13
|
height: core-functions-v3.fluidSize(20, 'mobile');
|
|
14
14
|
@include core-mixins-v3.device(breakpoints.$tabPortrait) {
|
|
15
|
-
width: core-functions-v3.fluidSize(
|
|
16
|
-
height: core-functions-v3.fluidSize(
|
|
15
|
+
width: core-functions-v3.fluidSize(20, 'portrait');
|
|
16
|
+
height: core-functions-v3.fluidSize(20, 'portrait');
|
|
17
17
|
}
|
|
18
18
|
@include core-mixins-v3.device(breakpoints.$tabLandscape) {
|
|
19
|
-
width: core-functions-v3.fluidSize(
|
|
20
|
-
height: core-functions-v3.fluidSize(
|
|
19
|
+
width: core-functions-v3.fluidSize(20, 'desktop');
|
|
20
|
+
height: core-functions-v3.fluidSize(20, 'desktop');
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
@include block-interactions-v3-extra.additionalStyles();
|
|
@@ -28,7 +28,10 @@
|
|
|
28
28
|
{% set closeButtonCookie = fields.enable_closed_cookie %}
|
|
29
29
|
|
|
30
30
|
<button class="block-interactions-v3__block-close-button" data-animationname="{{animationName}}" data-animationduration="{{animationDuration}}" data-store-cookie="{{closeButtonCookie ? 'true' : 'false' }}">
|
|
31
|
-
|
|
31
|
+
{% set iconType = options.theme_cta_icons.cta_close_icon %}
|
|
32
|
+
{% set iconImage = get_image(iconType) %}
|
|
33
|
+
{% set isSVG = iconImage.post_mime_type == 'image/svg+xml' %}
|
|
34
|
+
{{ isSVG ? get_raw_svg(iconImage.id) : '<img class="" src="' ~ iconImage.src ~ '">'}}
|
|
32
35
|
</button>
|
|
33
36
|
{% endif %}
|
|
34
37
|
{% endif %}
|
|
@@ -1,23 +1,22 @@
|
|
|
1
|
-
@use 'Assets/scss/modules/library-modules/core-mixins/core-mixins';
|
|
2
|
-
@use 'Assets/scss/modules/library-modules/core-functions/core-functions';
|
|
1
|
+
@use 'Assets/scss/modules/library-modules/core-mixins-v3/core-mixins-v3';
|
|
2
|
+
@use 'Assets/scss/modules/library-modules/core-functions-v3/core-functions-v3';
|
|
3
3
|
@use 'Assets/scss/theme/breakpoints';
|
|
4
4
|
@use 'Assets/scss/blocks/form-selection-v3/form-selection-v3-extra';
|
|
5
5
|
|
|
6
6
|
.form-selection-v3 {
|
|
7
7
|
pointer-events: all;
|
|
8
|
-
|
|
8
|
+
|
|
9
9
|
&__container-modal {
|
|
10
10
|
display: none;
|
|
11
11
|
position: fixed;
|
|
12
12
|
left: 0;
|
|
13
|
-
|
|
14
|
-
top: 74px;
|
|
13
|
+
top: var(--global-site-header-height);
|
|
14
|
+
// top: 74px;
|
|
15
15
|
width: 100vw;
|
|
16
16
|
height: calc(100vh - 103px);
|
|
17
17
|
z-index: 9998;
|
|
18
18
|
background-color: rgba(0, 0, 0, 0.4);
|
|
19
|
-
|
|
20
|
-
@include core-mixins.device(breakpoints.$tabPortrait) {
|
|
19
|
+
@include core-mixins-v3.device(breakpoints.$tabPortrait) {
|
|
21
20
|
top: 103px;
|
|
22
21
|
}
|
|
23
22
|
}
|
|
@@ -29,10 +28,18 @@
|
|
|
29
28
|
height: 100%;
|
|
30
29
|
}
|
|
31
30
|
|
|
31
|
+
&__modal-open {
|
|
32
|
+
&--icon {
|
|
33
|
+
appearance: none;
|
|
34
|
+
border: none;
|
|
35
|
+
background: transparent;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
32
39
|
&__modal-close {
|
|
33
40
|
position: absolute;
|
|
34
|
-
top: core-functions.fluidSize(20);
|
|
35
|
-
right: core-functions.fluidSize(20);
|
|
41
|
+
top: core-functions-v3.fluidSize(20);
|
|
42
|
+
right: core-functions-v3.fluidSize(20);
|
|
36
43
|
}
|
|
37
44
|
|
|
38
45
|
@include form-selection-v3-extra.additionalStyles();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{% set blockClassName = "form-selection-v3" %}
|
|
2
2
|
{% set classNameEntryPoint = include('entry-points/entry-point-classes.twig', { fields: fields, block: block }, with_context = false) %}
|
|
3
|
-
{% set htmlEntryPoint = include('entry-points/entry-point-html.twig', { fields: fields, block: block, blockClassName, blockClassName }, with_context = false) %}
|
|
3
|
+
{% set htmlEntryPoint = include('entry-points/entry-point-html-v3.twig', { fields: fields, block: block, blockClassName, blockClassName }, with_context = false) %}
|
|
4
4
|
{% set dataAttributeEntryPoint = include('entry-points/entry-point-data-attribute.twig', { fields: fields, block: block }, with_context = false) %}
|
|
5
5
|
{% set styleEntryPoint = include('entry-points/entry-point-style.twig', { fields: fields, block: block, is_preview }, with_context = false) %}
|
|
6
6
|
{% set previewEntryPoint = include('entry-points/entry-point-preview-info.twig', { fields, block, displaytype, is_preview }, with_context = false) %}
|
|
@@ -11,6 +11,27 @@
|
|
|
11
11
|
{% set renderDynamic = fields.render_dynamic|default(0) %}
|
|
12
12
|
|
|
13
13
|
{{previewEntryPoint}}
|
|
14
|
+
|
|
15
|
+
{% set ctaContent = '' %}
|
|
16
|
+
{% set ctaClasses = blockClassName ~ '__modal-open--icon' %}
|
|
17
|
+
|
|
18
|
+
{% if fields.cta_type|ru == 'icon' %}
|
|
19
|
+
{% set iconType = options.theme_cta_icons.cta_signup_icon %}
|
|
20
|
+
{% set iconImage = get_image(iconType) %}
|
|
21
|
+
{% set isSVG = iconImage.post_mime_type == 'image/svg+xml' %}
|
|
22
|
+
{% set ctaContent = isSVG ? '<img class="" src="' ~ iconImage.src ~ '">' : '<img class="" src="' ~ gt_image_mainsrc(iconImage) ~ '">' %}
|
|
23
|
+
{% endif %}
|
|
24
|
+
{% if fields.cta_type|ru == 'cta' %}
|
|
25
|
+
{% set ctaContent = fields.cta_text %}
|
|
26
|
+
{% if cta.cta_style|ru matches '/^\\d+$/' %}
|
|
27
|
+
{% set ctaData = attribute(cta_styles['theme_cta_styles'], fields.cta_style|ru - 1) %}
|
|
28
|
+
{% set enableCtaAnimation = ctaData.cta_settings.enable_cta_animation %}
|
|
29
|
+
{% set enableCtaIcon = ctaData.cta_settings.include_cta_icon %}
|
|
30
|
+
{% set ctaAnimationStyle = ctaData.cta_settings.cta_animation_style %}
|
|
31
|
+
{% set ctaClasses = 'cmpl-cta-style-' ~ (fields.cta_style|ru) ~ ' ' ~ 'cmpl-cta-animation-style-' ~ (enableCtaAnimation ? ctaAnimationStyle : '') %}
|
|
32
|
+
{% endif %}
|
|
33
|
+
{% endif %}
|
|
34
|
+
|
|
14
35
|
<section {{block.anchor ? "id=" ~ block.anchor : ''}} class="{{blockClassName}} {{block.className}} {{classNameEntryPoint}} lazy-fade" {{dataAttributeEntryPoint}} data-blockid="{{block.id}}" style="{{sectionStyles}}" data-pattern-form-selection data-renderdynamic={{renderDynamic}} data-formid="{{fields.form}}" data-assetkey="{{blockClassName}}">
|
|
15
36
|
{% if displaySelector == 'modal' %}
|
|
16
37
|
<div class="{{ blockClassName }}__container-modal">
|
|
@@ -26,7 +47,8 @@
|
|
|
26
47
|
</div>
|
|
27
48
|
</div>
|
|
28
49
|
</div>
|
|
29
|
-
<button class="{{ blockClassName }}__modal-open
|
|
50
|
+
<button class="{{ blockClassName }}__modal-open {{ctaClasses}}">{{ctaContent}}</button>
|
|
51
|
+
|
|
30
52
|
{% elseif displaySelector == 'inline' %}
|
|
31
53
|
<div class="{{ blockClassName }}__container-inline">
|
|
32
54
|
<div class="{{ blockClassName }}__inner">
|
|
@@ -1,304 +1,333 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
2
|
+
"key": "group_68752e7949e53",
|
|
3
|
+
"title": "Block: Form Selection v3",
|
|
4
|
+
"fields": [
|
|
5
|
+
{
|
|
6
|
+
"key": "field_68752e7b32fc3",
|
|
7
|
+
"label": "Content",
|
|
8
|
+
"name": "",
|
|
9
|
+
"aria-label": "",
|
|
10
|
+
"type": "tab",
|
|
11
|
+
"instructions": "",
|
|
12
|
+
"required": 0,
|
|
13
|
+
"conditional_logic": 0,
|
|
14
|
+
"wrapper": {
|
|
15
|
+
"width": "",
|
|
16
|
+
"class": "",
|
|
17
|
+
"id": ""
|
|
18
|
+
},
|
|
19
|
+
"wpml_cf_preferences": 3,
|
|
20
|
+
"placement": "top",
|
|
21
|
+
"endpoint": 0,
|
|
22
|
+
"no_preference": 0,
|
|
23
|
+
"selected": 0
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"key": "field_687658c86889e",
|
|
27
|
+
"label": "Form",
|
|
28
|
+
"name": "form",
|
|
29
|
+
"aria-label": "",
|
|
30
|
+
"type": "post_object",
|
|
31
|
+
"instructions": "",
|
|
32
|
+
"required": 0,
|
|
33
|
+
"conditional_logic": 0,
|
|
34
|
+
"wrapper": {
|
|
35
|
+
"width": "",
|
|
36
|
+
"class": "",
|
|
37
|
+
"id": ""
|
|
38
|
+
},
|
|
39
|
+
"wpml_cf_preferences": 3,
|
|
40
|
+
"post_type": [
|
|
41
41
|
"cdbform"
|
|
42
42
|
],
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
43
|
+
"post_status": "",
|
|
44
|
+
"taxonomy": "",
|
|
45
|
+
"return_format": "id",
|
|
46
|
+
"multiple": 0,
|
|
47
|
+
"max": "",
|
|
48
|
+
"save_custom": 0,
|
|
49
|
+
"save_post_status": "publish",
|
|
50
|
+
"acfe_add_post": 0,
|
|
51
|
+
"acfe_edit_post": 0,
|
|
52
|
+
"acfe_bidirectional": {
|
|
53
|
+
"acfe_bidirectional_enabled": "0"
|
|
54
|
+
},
|
|
55
|
+
"allow_null": 0,
|
|
56
|
+
"bidirectional": 0,
|
|
57
|
+
"ui": 1,
|
|
58
|
+
"bidirectional_target": [],
|
|
59
|
+
"save_post_type": "",
|
|
60
|
+
"min": ""
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"key": "field_6876bff37b9d2",
|
|
64
|
+
"label": "Enable title",
|
|
65
|
+
"name": "enable_title",
|
|
66
|
+
"aria-label": "",
|
|
67
|
+
"type": "true_false",
|
|
68
|
+
"instructions": "",
|
|
69
|
+
"required": 0,
|
|
70
|
+
"conditional_logic": 0,
|
|
71
|
+
"wrapper": {
|
|
72
|
+
"width": "",
|
|
73
|
+
"class": "",
|
|
74
|
+
"id": ""
|
|
75
|
+
},
|
|
76
|
+
"wpml_cf_preferences": 3,
|
|
77
|
+
"message": "",
|
|
78
|
+
"default_value": 0,
|
|
79
|
+
"allow_in_bindings": 0,
|
|
80
|
+
"ui_on_text": "",
|
|
81
|
+
"ui_off_text": "",
|
|
82
|
+
"ui": 1,
|
|
83
|
+
"style": ""
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"key": "field_68778eff6c792",
|
|
87
|
+
"label": "Title",
|
|
88
|
+
"name": "title",
|
|
89
|
+
"aria-label": "",
|
|
90
|
+
"type": "wysiwyg",
|
|
91
|
+
"instructions": "",
|
|
92
|
+
"required": 0,
|
|
93
|
+
"conditional_logic": [
|
|
94
|
+
[
|
|
95
|
+
{
|
|
96
|
+
"field": "field_6876bff37b9d2",
|
|
97
|
+
"operator": "==",
|
|
98
|
+
"value": "1"
|
|
99
|
+
}
|
|
100
|
+
]
|
|
101
|
+
],
|
|
102
|
+
"wrapper": {
|
|
103
|
+
"width": "",
|
|
104
|
+
"class": "",
|
|
105
|
+
"id": ""
|
|
106
|
+
},
|
|
107
|
+
"wpml_cf_preferences": 2,
|
|
108
|
+
"default_value": "",
|
|
109
|
+
"acfe_wysiwyg_height": 300,
|
|
110
|
+
"acfe_wysiwyg_max_height": "",
|
|
111
|
+
"acfe_wysiwyg_valid_elements": "",
|
|
112
|
+
"acfe_wysiwyg_custom_style": "",
|
|
113
|
+
"acfe_wysiwyg_disable_wp_style": 0,
|
|
114
|
+
"acfe_wysiwyg_autoresize": 0,
|
|
115
|
+
"acfe_wysiwyg_disable_resize": 0,
|
|
116
|
+
"acfe_wysiwyg_remove_path": 0,
|
|
117
|
+
"acfe_wysiwyg_menubar": 0,
|
|
118
|
+
"acfe_wysiwyg_transparent": 0,
|
|
119
|
+
"acfe_wysiwyg_merge_toolbar": 0,
|
|
120
|
+
"acfe_wysiwyg_custom_toolbar": 0,
|
|
121
|
+
"allow_in_bindings": 0,
|
|
122
|
+
"tabs": "visual",
|
|
123
|
+
"toolbar": "formatselect_align_bold_italic_underline_link_removeformat",
|
|
124
|
+
"media_upload": 0,
|
|
125
|
+
"delay": 0,
|
|
126
|
+
"acfe_wysiwyg_auto_init": 0,
|
|
127
|
+
"acfe_wysiwyg_min_height": 300,
|
|
128
|
+
"acfe_wysiwyg_toolbar_buttons": []
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"key": "field_68765a476889f",
|
|
132
|
+
"label": "Settings",
|
|
133
|
+
"name": "",
|
|
134
|
+
"aria-label": "",
|
|
135
|
+
"type": "tab",
|
|
136
|
+
"instructions": "",
|
|
137
|
+
"required": 0,
|
|
138
|
+
"conditional_logic": 0,
|
|
139
|
+
"wrapper": {
|
|
140
|
+
"width": "",
|
|
141
|
+
"class": "",
|
|
142
|
+
"id": ""
|
|
143
|
+
},
|
|
144
|
+
"wpml_cf_preferences": 3,
|
|
145
|
+
"placement": "top",
|
|
146
|
+
"endpoint": 0,
|
|
147
|
+
"no_preference": 0,
|
|
148
|
+
"selected": 0
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"key": "field_68765a510f751",
|
|
152
|
+
"label": "Selector type",
|
|
153
|
+
"name": "selector_type",
|
|
154
|
+
"aria-label": "",
|
|
155
|
+
"type": "radio",
|
|
156
|
+
"instructions": "",
|
|
157
|
+
"required": 0,
|
|
158
|
+
"conditional_logic": 0,
|
|
159
|
+
"wrapper": {
|
|
160
|
+
"width": "",
|
|
161
|
+
"class": "",
|
|
162
|
+
"id": ""
|
|
163
|
+
},
|
|
164
|
+
"wpml_cf_preferences": 3,
|
|
165
|
+
"choices": {
|
|
166
|
+
"__modal": "Modal",
|
|
167
|
+
"__inline": "Inline"
|
|
168
|
+
},
|
|
169
|
+
"default_value": "__modal",
|
|
170
|
+
"return_format": "value",
|
|
171
|
+
"allow_null": 0,
|
|
172
|
+
"other_choice": 0,
|
|
173
|
+
"allow_in_bindings": 1,
|
|
174
|
+
"layout": "horizontal",
|
|
175
|
+
"save_other_choice": 0
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"key": "field_687fa09b37f2b",
|
|
179
|
+
"label": "Cta type",
|
|
180
|
+
"name": "cta_type",
|
|
181
|
+
"aria-label": "",
|
|
182
|
+
"type": "radio",
|
|
183
|
+
"instructions": "",
|
|
184
|
+
"required": 0,
|
|
185
|
+
"conditional_logic": 0,
|
|
186
|
+
"wrapper": {
|
|
187
|
+
"width": "",
|
|
188
|
+
"class": "",
|
|
189
|
+
"id": ""
|
|
190
|
+
},
|
|
191
|
+
"wpml_cf_preferences": 3,
|
|
192
|
+
"choices": {
|
|
193
|
+
"__icon": "Sign up icon",
|
|
194
|
+
"__cta": "CTA"
|
|
195
|
+
},
|
|
196
|
+
"default_value": "__icon",
|
|
197
|
+
"return_format": "value",
|
|
198
|
+
"allow_null": 0,
|
|
199
|
+
"other_choice": 0,
|
|
200
|
+
"layout": "horizontal",
|
|
201
|
+
"save_other_choice": 0
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"key": "field_68765ba89f2ae",
|
|
205
|
+
"label": "Cta text",
|
|
206
|
+
"name": "cta_text",
|
|
207
|
+
"aria-label": "",
|
|
208
|
+
"type": "text",
|
|
209
|
+
"instructions": "",
|
|
210
|
+
"required": 0,
|
|
211
|
+
"conditional_logic": [
|
|
212
|
+
[
|
|
213
|
+
{
|
|
214
|
+
"field": "field_68765a510f751",
|
|
215
|
+
"operator": "==",
|
|
216
|
+
"value": "__modal"
|
|
217
|
+
}
|
|
218
|
+
]
|
|
219
|
+
],
|
|
220
|
+
"wrapper": {
|
|
221
|
+
"width": "",
|
|
222
|
+
"class": "",
|
|
223
|
+
"id": ""
|
|
224
|
+
},
|
|
225
|
+
"wpml_cf_preferences": 2,
|
|
226
|
+
"default_value": "",
|
|
227
|
+
"maxlength": "",
|
|
228
|
+
"allow_in_bindings": 1,
|
|
229
|
+
"placeholder": "",
|
|
230
|
+
"prepend": "",
|
|
231
|
+
"append": ""
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
"key": "field_68765aea9f2ad",
|
|
235
|
+
"label": "Cta style",
|
|
236
|
+
"name": "cta_style",
|
|
237
|
+
"aria-label": "",
|
|
238
|
+
"type": "select",
|
|
239
|
+
"instructions": "",
|
|
240
|
+
"required": 0,
|
|
241
|
+
"conditional_logic": [
|
|
242
|
+
[
|
|
243
|
+
{
|
|
244
|
+
"field": "field_68765a510f751",
|
|
245
|
+
"operator": "==",
|
|
246
|
+
"value": "__modal"
|
|
247
|
+
}
|
|
248
|
+
]
|
|
249
|
+
],
|
|
250
|
+
"wrapper": {
|
|
251
|
+
"width": "",
|
|
252
|
+
"class": "",
|
|
253
|
+
"id": ""
|
|
254
|
+
},
|
|
255
|
+
"wpml_cf_preferences": 3,
|
|
256
|
+
"choices": {
|
|
257
|
+
"1": "White text",
|
|
258
|
+
"2": "test"
|
|
259
|
+
},
|
|
260
|
+
"default_value": 1,
|
|
261
|
+
"return_format": "value",
|
|
262
|
+
"multiple": 0,
|
|
263
|
+
"max": "",
|
|
264
|
+
"prepend": "",
|
|
265
|
+
"append": "",
|
|
266
|
+
"allow_null": 0,
|
|
267
|
+
"allow_in_bindings": 1,
|
|
268
|
+
"ui": 0,
|
|
269
|
+
"ajax": 0,
|
|
270
|
+
"placeholder": "",
|
|
271
|
+
"create_options": 0,
|
|
272
|
+
"save_options": 0,
|
|
273
|
+
"allow_custom": 0,
|
|
274
|
+
"search_placeholder": "",
|
|
275
|
+
"min": ""
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"key": "field_687f754d463f6",
|
|
279
|
+
"label": "Child Pattern Settings",
|
|
280
|
+
"name": "child_pattern_settings",
|
|
281
|
+
"aria-label": "",
|
|
282
|
+
"type": "clone",
|
|
283
|
+
"instructions": "",
|
|
284
|
+
"required": 0,
|
|
285
|
+
"conditional_logic": 0,
|
|
286
|
+
"wrapper": {
|
|
287
|
+
"width": "",
|
|
288
|
+
"class": "",
|
|
289
|
+
"id": ""
|
|
290
|
+
},
|
|
291
|
+
"wpml_cf_preferences": 3,
|
|
292
|
+
"clone": [
|
|
293
|
+
"group_670b7ac92563c"
|
|
294
|
+
],
|
|
295
|
+
"display": "seamless",
|
|
296
|
+
"layout": "block",
|
|
297
|
+
"prefix_label": 0,
|
|
298
|
+
"prefix_name": 0,
|
|
299
|
+
"acfe_seamless_style": 0,
|
|
300
|
+
"acfe_clone_modal": 0,
|
|
301
|
+
"acfe_clone_modal_close": 0,
|
|
302
|
+
"acfe_clone_modal_button": "",
|
|
303
|
+
"acfe_clone_modal_size": "large"
|
|
304
|
+
}
|
|
305
|
+
],
|
|
306
|
+
"location": [
|
|
307
|
+
[
|
|
308
|
+
{
|
|
309
|
+
"param": "block",
|
|
310
|
+
"operator": "==",
|
|
311
|
+
"value": "acf\/form-selection-v3"
|
|
312
|
+
}
|
|
313
|
+
]
|
|
314
|
+
],
|
|
315
|
+
"menu_order": 0,
|
|
316
|
+
"position": "normal",
|
|
317
|
+
"style": "default",
|
|
318
|
+
"label_placement": "left",
|
|
319
|
+
"instruction_placement": "label",
|
|
320
|
+
"hide_on_screen": "",
|
|
321
|
+
"active": true,
|
|
322
|
+
"description": "",
|
|
323
|
+
"show_in_rest": 0,
|
|
324
|
+
"acfe_autosync": [
|
|
296
325
|
"json"
|
|
297
326
|
],
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
327
|
+
"acfml_field_group_mode": "localization",
|
|
328
|
+
"acfe_form": 0,
|
|
329
|
+
"acfe_display_title": "",
|
|
330
|
+
"acfe_meta": "",
|
|
331
|
+
"acfe_note": "",
|
|
332
|
+
"modified": 1753194697
|
|
304
333
|
}
|