@total_onion/onion-library 1.0.211 → 1.0.213
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.
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import flatpickr from "flatpickr";
|
|
2
|
+
import "flatpickr/dist/flatpickr.css";
|
|
3
|
+
|
|
1
4
|
export default function modalformv3Js ( options = {} ) {
|
|
2
5
|
try {
|
|
3
6
|
const { block } = options;
|
|
@@ -41,6 +44,11 @@ export default function modalformv3Js ( options = {} ) {
|
|
|
41
44
|
});
|
|
42
45
|
}
|
|
43
46
|
|
|
47
|
+
|
|
48
|
+
flatpickr("#birthday3", {
|
|
49
|
+
dateFormat: "Y-m-d",
|
|
50
|
+
});
|
|
51
|
+
|
|
44
52
|
const submit = block.querySelector(
|
|
45
53
|
'.cdb-submit'
|
|
46
54
|
);
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
{{previewEntryPoint}}
|
|
11
11
|
|
|
12
|
-
<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}}"
|
|
12
|
+
<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}}">
|
|
13
13
|
|
|
14
14
|
<div class="{{ blockClassName }}__container-inline">
|
|
15
15
|
<div class="{{ blockClassName }}__inner">
|
|
@@ -297,6 +297,27 @@
|
|
|
297
297
|
"label": "Market Selector v3",
|
|
298
298
|
"display": "block",
|
|
299
299
|
"sub_fields": [
|
|
300
|
+
{
|
|
301
|
+
"key": "field_68af4c8575eaf",
|
|
302
|
+
"label": "Modal Popup Content ID",
|
|
303
|
+
"name": "modal_popup_content_id",
|
|
304
|
+
"aria-label": "",
|
|
305
|
+
"type": "text",
|
|
306
|
+
"instructions": "",
|
|
307
|
+
"required": 0,
|
|
308
|
+
"conditional_logic": 0,
|
|
309
|
+
"wrapper": {
|
|
310
|
+
"width": "",
|
|
311
|
+
"class": "",
|
|
312
|
+
"id": ""
|
|
313
|
+
},
|
|
314
|
+
"wpml_cf_preferences": 2,
|
|
315
|
+
"default_value": "",
|
|
316
|
+
"maxlength": "",
|
|
317
|
+
"placeholder": "",
|
|
318
|
+
"prepend": "",
|
|
319
|
+
"append": ""
|
|
320
|
+
},
|
|
300
321
|
{
|
|
301
322
|
"key": "field_68af326a74c48",
|
|
302
323
|
"label": "market selector fields",
|
|
@@ -378,5 +399,5 @@
|
|
|
378
399
|
"acfe_display_title": "",
|
|
379
400
|
"acfe_meta": "",
|
|
380
401
|
"acfe_note": "",
|
|
381
|
-
"modified":
|
|
402
|
+
"modified": 1756318897
|
|
382
403
|
}
|