@experium/findy-form 1.2.40 → 1.2.41

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.
@@ -84,11 +84,15 @@ exports.getHtml = getHtml;
84
84
  var TEXT_FIELDS = ['text', 'email', 'phone', 'date'];
85
85
  var SELECT_FIELDS = ['dictionary', 'company_dictionary', 'list', 'city', 'country', 'region', 'money'];
86
86
  var OPD_DATA_CHECKBOXES = {
87
+ 'accept': 'accept',
87
88
  'acceptCheckbox': 'accept',
88
89
  'opdAccept': 'accept',
90
+ 'purpose': 'purpose',
89
91
  'purposeCheckbox': 'purpose',
90
92
  'opdPurpose': 'purpose',
93
+ 'mailing': 'mailing',
91
94
  'mailingCheckbox': 'mailing',
95
+ 'transmission': 'transmission',
92
96
  'transmissionCheckbox': 'transmission'
93
97
  };
94
98
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experium/findy-form",
3
- "version": "1.2.40",
3
+ "version": "1.2.41",
4
4
  "main": "./lib/index.js",
5
5
  "homepage": "https://experium.github.io/findy-form",
6
6
  "repository": "https://github.com/experium/findy-form",
@@ -127,11 +127,15 @@ export const getHtml = body => `
127
127
  const TEXT_FIELDS = ['text', 'email', 'phone', 'date'];
128
128
  const SELECT_FIELDS = ['dictionary', 'company_dictionary', 'list', 'city', 'country', 'region', 'money'];
129
129
  const OPD_DATA_CHECKBOXES = {
130
+ 'accept': 'accept',
130
131
  'acceptCheckbox': 'accept',
131
132
  'opdAccept': 'accept',
133
+ 'purpose': 'purpose',
132
134
  'purposeCheckbox': 'purpose',
133
135
  'opdPurpose': 'purpose',
136
+ 'mailing': 'mailing',
134
137
  'mailingCheckbox': 'mailing',
138
+ 'transmission': 'transmission',
135
139
  'transmissionCheckbox': 'transmission',
136
140
  };
137
141