@formio/vpat 2.6.1

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.
Files changed (274) hide show
  1. package/README.md +12 -0
  2. package/dist/vpat.js +1410 -0
  3. package/dist/vpat.min.js +1 -0
  4. package/lib/Webform.d.ts +2 -0
  5. package/lib/Webform.js +105 -0
  6. package/lib/WebformBuilder.d.ts +2 -0
  7. package/lib/WebformBuilder.js +145 -0
  8. package/lib/Wizard.d.ts +2 -0
  9. package/lib/Wizard.js +87 -0
  10. package/lib/builders/Builders.d.ts +4 -0
  11. package/lib/builders/Builders.js +9 -0
  12. package/lib/builders/index.d.ts +2 -0
  13. package/lib/builders/index.js +7 -0
  14. package/lib/components/address/Address.d.ts +5 -0
  15. package/lib/components/address/Address.js +10 -0
  16. package/lib/components/button/Button.d.ts +6 -0
  17. package/lib/components/button/Button.form.d.ts +1 -0
  18. package/lib/components/button/Button.form.js +25 -0
  19. package/lib/components/button/Button.js +12 -0
  20. package/lib/components/button/editForm/Button.edit.display.d.ts +5 -0
  21. package/lib/components/button/editForm/Button.edit.display.js +32 -0
  22. package/lib/components/checkbox/Checkbox.d.ts +17 -0
  23. package/lib/components/checkbox/Checkbox.form.d.ts +1 -0
  24. package/lib/components/checkbox/Checkbox.form.js +22 -0
  25. package/lib/components/checkbox/Checkbox.js +33 -0
  26. package/lib/components/checkbox/editForm/Checkbox.edit.data.d.ts +5 -0
  27. package/lib/components/checkbox/editForm/Checkbox.edit.data.js +12 -0
  28. package/lib/components/checkbox/editForm/Checkbox.edit.display.d.ts +5 -0
  29. package/lib/components/checkbox/editForm/Checkbox.edit.display.js +44 -0
  30. package/lib/components/columns/Columns.d.ts +6 -0
  31. package/lib/components/columns/Columns.form.d.ts +1 -0
  32. package/lib/components/columns/Columns.form.js +17 -0
  33. package/lib/components/columns/Columns.js +12 -0
  34. package/lib/components/columns/editForm/Columns.edit.display.d.ts +5 -0
  35. package/lib/components/columns/editForm/Columns.edit.display.js +16 -0
  36. package/lib/components/component/Component.d.ts +2 -0
  37. package/lib/components/component/Component.js +316 -0
  38. package/lib/components/componentmodal/ComponentModal.d.ts +2 -0
  39. package/lib/components/componentmodal/ComponentModal.js +217 -0
  40. package/lib/components/container/Container.d.ts +6 -0
  41. package/lib/components/container/Container.form.d.ts +1 -0
  42. package/lib/components/container/Container.form.js +22 -0
  43. package/lib/components/container/Container.js +12 -0
  44. package/lib/components/container/editForm/Container.edit.data.d.ts +5 -0
  45. package/lib/components/container/editForm/Container.edit.data.js +8 -0
  46. package/lib/components/container/editForm/Container.edit.display.d.ts +5 -0
  47. package/lib/components/container/editForm/Container.edit.display.js +12 -0
  48. package/lib/components/content/Content.d.ts +6 -0
  49. package/lib/components/content/Content.form.d.ts +1 -0
  50. package/lib/components/content/Content.form.js +8 -0
  51. package/lib/components/content/Content.js +12 -0
  52. package/lib/components/currency/Currency.d.ts +6 -0
  53. package/lib/components/currency/Currency.form.d.ts +1 -0
  54. package/lib/components/currency/Currency.form.js +26 -0
  55. package/lib/components/currency/Currency.js +12 -0
  56. package/lib/components/currency/editForm/Currency.edit.data.d.ts +17 -0
  57. package/lib/components/currency/editForm/Currency.edit.data.js +188 -0
  58. package/lib/components/currency/editForm/Currency.edit.display.d.ts +5 -0
  59. package/lib/components/currency/editForm/Currency.edit.display.js +8 -0
  60. package/lib/components/currency/editForm/Currency.edit.validation.d.ts +5 -0
  61. package/lib/components/currency/editForm/Currency.edit.validation.js +24 -0
  62. package/lib/components/datagrid/DataGrid.d.ts +5 -0
  63. package/lib/components/datagrid/DataGrid.js +10 -0
  64. package/lib/components/datamap/DataMap.d.ts +5 -0
  65. package/lib/components/datamap/DataMap.js +10 -0
  66. package/lib/components/datatable/DataTable.d.ts +3 -0
  67. package/lib/components/datatable/DataTable.js +8 -0
  68. package/lib/components/datetime/DateTime.d.ts +6 -0
  69. package/lib/components/datetime/DateTime.form.d.ts +1 -0
  70. package/lib/components/datetime/DateTime.form.js +27 -0
  71. package/lib/components/datetime/DateTime.js +12 -0
  72. package/lib/components/datetime/editForm/DateTime.edit.data.d.ts +5 -0
  73. package/lib/components/datetime/editForm/DateTime.edit.data.js +8 -0
  74. package/lib/components/datetime/editForm/DateTime.edit.display.d.ts +5 -0
  75. package/lib/components/datetime/editForm/DateTime.edit.display.js +32 -0
  76. package/lib/components/datetime/editForm/DateTime.edit.validation.d.ts +5 -0
  77. package/lib/components/datetime/editForm/DateTime.edit.validation.js +8 -0
  78. package/lib/components/day/Day.d.ts +13 -0
  79. package/lib/components/day/Day.form.d.ts +1 -0
  80. package/lib/components/day/Day.form.js +41 -0
  81. package/lib/components/day/Day.js +16 -0
  82. package/lib/components/day/editForm/Day.edit.data.d.ts +5 -0
  83. package/lib/components/day/editForm/Day.edit.data.js +16 -0
  84. package/lib/components/day/editForm/Day.edit.day.d.ts +40 -0
  85. package/lib/components/day/editForm/Day.edit.day.js +48 -0
  86. package/lib/components/day/editForm/Day.edit.display.d.ts +18 -0
  87. package/lib/components/day/editForm/Day.edit.display.js +36 -0
  88. package/lib/components/day/editForm/Day.edit.month.d.ts +40 -0
  89. package/lib/components/day/editForm/Day.edit.month.js +40 -0
  90. package/lib/components/day/editForm/Day.edit.validation.d.ts +29 -0
  91. package/lib/components/day/editForm/Day.edit.validation.js +58 -0
  92. package/lib/components/day/editForm/Day.edit.year.d.ts +10 -0
  93. package/lib/components/day/editForm/Day.edit.year.js +22 -0
  94. package/lib/components/dynamicwizard/DynamicWizard.d.ts +3 -0
  95. package/lib/components/dynamicwizard/DynamicWizard.js +8 -0
  96. package/lib/components/editgrid/EditGrid.d.ts +5 -0
  97. package/lib/components/editgrid/EditGrid.js +10 -0
  98. package/lib/components/email/Email.d.ts +6 -0
  99. package/lib/components/email/Email.form.d.ts +1 -0
  100. package/lib/components/email/Email.form.js +21 -0
  101. package/lib/components/email/Email.js +12 -0
  102. package/lib/components/email/editForm/Email.edit.display.d.ts +5 -0
  103. package/lib/components/email/editForm/Email.edit.display.js +8 -0
  104. package/lib/components/email/editForm/Email.edit.validation.d.ts +5 -0
  105. package/lib/components/email/editForm/Email.edit.validation.js +12 -0
  106. package/lib/components/fieldset/Fieldset.d.ts +6 -0
  107. package/lib/components/fieldset/Fieldset.form.d.ts +1 -0
  108. package/lib/components/fieldset/Fieldset.form.js +22 -0
  109. package/lib/components/fieldset/Fieldset.js +12 -0
  110. package/lib/components/file/File.d.ts +20 -0
  111. package/lib/components/file/File.form.d.ts +1 -0
  112. package/lib/components/file/File.form.js +17 -0
  113. package/lib/components/file/File.js +87 -0
  114. package/lib/components/file/editForm/File.edit.display.d.ts +5 -0
  115. package/lib/components/file/editForm/File.edit.display.js +24 -0
  116. package/lib/components/form/Form.d.ts +5 -0
  117. package/lib/components/form/Form.js +10 -0
  118. package/lib/components/hidden/Hidden.d.ts +6 -0
  119. package/lib/components/hidden/Hidden.form.d.ts +1 -0
  120. package/lib/components/hidden/Hidden.form.js +8 -0
  121. package/lib/components/hidden/Hidden.js +12 -0
  122. package/lib/components/html/HTML.d.ts +6 -0
  123. package/lib/components/html/HTML.form.d.ts +1 -0
  124. package/lib/components/html/HTML.form.js +8 -0
  125. package/lib/components/html/HTML.js +12 -0
  126. package/lib/components/index.d.ts +87 -0
  127. package/lib/components/index.js +95 -0
  128. package/lib/components/input/Input.d.ts +2 -0
  129. package/lib/components/input/Input.js +20 -0
  130. package/lib/components/nested/NestedComponent.d.ts +2 -0
  131. package/lib/components/nested/NestedComponent.js +18 -0
  132. package/lib/components/number/Number.d.ts +6 -0
  133. package/lib/components/number/Number.form.d.ts +1 -0
  134. package/lib/components/number/Number.form.js +26 -0
  135. package/lib/components/number/Number.js +12 -0
  136. package/lib/components/number/editForm/Number.edit.data.d.ts +18 -0
  137. package/lib/components/number/editForm/Number.edit.data.js +32 -0
  138. package/lib/components/number/editForm/Number.edit.display.d.ts +5 -0
  139. package/lib/components/number/editForm/Number.edit.display.js +12 -0
  140. package/lib/components/number/editForm/Number.edit.validation.d.ts +20 -0
  141. package/lib/components/number/editForm/Number.edit.validation.js +46 -0
  142. package/lib/components/panel/Panel.d.ts +6 -0
  143. package/lib/components/panel/Panel.form.d.ts +1 -0
  144. package/lib/components/panel/Panel.form.js +17 -0
  145. package/lib/components/panel/Panel.js +12 -0
  146. package/lib/components/panel/editForm/Panel.edit.display.d.ts +21 -0
  147. package/lib/components/panel/editForm/Panel.edit.display.js +29 -0
  148. package/lib/components/password/Password.d.ts +6 -0
  149. package/lib/components/password/Password.form.d.ts +1 -0
  150. package/lib/components/password/Password.form.js +26 -0
  151. package/lib/components/password/Password.js +12 -0
  152. package/lib/components/password/editForm/Password.edit.data.d.ts +18 -0
  153. package/lib/components/password/editForm/Password.edit.data.js +48 -0
  154. package/lib/components/password/editForm/Password.edit.display.d.ts +5 -0
  155. package/lib/components/password/editForm/Password.edit.display.js +8 -0
  156. package/lib/components/password/editForm/Password.edit.validation.d.ts +5 -0
  157. package/lib/components/password/editForm/Password.edit.validation.js +16 -0
  158. package/lib/components/phonenumber/PhoneNumber.d.ts +6 -0
  159. package/lib/components/phonenumber/PhoneNumber.form.d.ts +1 -0
  160. package/lib/components/phonenumber/PhoneNumber.form.js +21 -0
  161. package/lib/components/phonenumber/PhoneNumber.js +12 -0
  162. package/lib/components/phonenumber/editForm/PhoneNumber.edit.display.d.ts +5 -0
  163. package/lib/components/phonenumber/editForm/PhoneNumber.edit.display.js +8 -0
  164. package/lib/components/phonenumber/editForm/PhoneNumber.edit.validation.d.ts +5 -0
  165. package/lib/components/phonenumber/editForm/PhoneNumber.edit.validation.js +28 -0
  166. package/lib/components/radio/Radio.d.ts +2 -0
  167. package/lib/components/radio/Radio.form.d.ts +1 -0
  168. package/lib/components/radio/Radio.form.js +22 -0
  169. package/lib/components/radio/Radio.js +45 -0
  170. package/lib/components/radio/editForm/Radio.edit.data.d.ts +13 -0
  171. package/lib/components/radio/editForm/Radio.edit.data.js +25 -0
  172. package/lib/components/radio/editForm/Radio.edit.display.d.ts +5 -0
  173. package/lib/components/radio/editForm/Radio.edit.display.js +32 -0
  174. package/lib/components/recaptcha/ReCaptcha.d.ts +5 -0
  175. package/lib/components/recaptcha/ReCaptcha.js +10 -0
  176. package/lib/components/select/Select.d.ts +17 -0
  177. package/lib/components/select/Select.form.d.ts +1 -0
  178. package/lib/components/select/Select.form.js +27 -0
  179. package/lib/components/select/Select.js +39 -0
  180. package/lib/components/select/editForm/Select.edit.data.d.ts +5 -0
  181. package/lib/components/select/editForm/Select.edit.data.js +16 -0
  182. package/lib/components/select/editForm/Select.edit.display.d.ts +5 -0
  183. package/lib/components/select/editForm/Select.edit.display.js +32 -0
  184. package/lib/components/select/editForm/Select.edit.validation.d.ts +5 -0
  185. package/lib/components/select/editForm/Select.edit.validation.js +8 -0
  186. package/lib/components/selectboxes/SelectBoxes.d.ts +6 -0
  187. package/lib/components/selectboxes/SelectBoxes.form.d.ts +1 -0
  188. package/lib/components/selectboxes/SelectBoxes.form.js +25 -0
  189. package/lib/components/selectboxes/SelectBoxes.js +12 -0
  190. package/lib/components/selectboxes/editForm/SelectBoxes.edit.validation.d.ts +9 -0
  191. package/lib/components/selectboxes/editForm/SelectBoxes.edit.validation.js +36 -0
  192. package/lib/components/signature/Signature.d.ts +5 -0
  193. package/lib/components/signature/Signature.js +10 -0
  194. package/lib/components/sketchpad/Sketchpad.d.ts +3 -0
  195. package/lib/components/sketchpad/Sketchpad.js +8 -0
  196. package/lib/components/survey/Survey.d.ts +5 -0
  197. package/lib/components/survey/Survey.js +10 -0
  198. package/lib/components/table/Table.d.ts +6 -0
  199. package/lib/components/table/Table.form.d.ts +1 -0
  200. package/lib/components/table/Table.form.js +17 -0
  201. package/lib/components/table/Table.js +12 -0
  202. package/lib/components/table/editForm/Table.edit.display.d.ts +5 -0
  203. package/lib/components/table/editForm/Table.edit.display.js +24 -0
  204. package/lib/components/tabs/Tabs.d.ts +5 -0
  205. package/lib/components/tabs/Tabs.js +10 -0
  206. package/lib/components/tagpad/Tagpad.d.ts +3 -0
  207. package/lib/components/tagpad/Tagpad.js +8 -0
  208. package/lib/components/tags/Tags.d.ts +5 -0
  209. package/lib/components/tags/Tags.js +10 -0
  210. package/lib/components/textarea/TextArea.d.ts +6 -0
  211. package/lib/components/textarea/TextArea.form.d.ts +1 -0
  212. package/lib/components/textarea/TextArea.form.js +16 -0
  213. package/lib/components/textarea/TextArea.js +12 -0
  214. package/lib/components/textarea/editForm/TextArea.edit.display.d.ts +20 -0
  215. package/lib/components/textarea/editForm/TextArea.edit.display.js +20 -0
  216. package/lib/components/textfield/TextField.d.ts +7 -0
  217. package/lib/components/textfield/TextField.form.d.ts +1 -0
  218. package/lib/components/textfield/TextField.form.js +27 -0
  219. package/lib/components/textfield/TextField.js +16 -0
  220. package/lib/components/textfield/editForm/TextField.edit.data.d.ts +5 -0
  221. package/lib/components/textfield/editForm/TextField.edit.data.js +16 -0
  222. package/lib/components/textfield/editForm/TextField.edit.display.d.ts +5 -0
  223. package/lib/components/textfield/editForm/TextField.edit.display.js +52 -0
  224. package/lib/components/textfield/editForm/TextField.edit.validation.d.ts +5 -0
  225. package/lib/components/textfield/editForm/TextField.edit.validation.js +8 -0
  226. package/lib/components/time/Time.d.ts +10 -0
  227. package/lib/components/time/Time.form.d.ts +1 -0
  228. package/lib/components/time/Time.form.js +31 -0
  229. package/lib/components/time/Time.js +16 -0
  230. package/lib/components/time/editForm/Time.edit.data.d.ts +5 -0
  231. package/lib/components/time/editForm/Time.edit.data.js +16 -0
  232. package/lib/components/time/editForm/Time.edit.display.d.ts +5 -0
  233. package/lib/components/time/editForm/Time.edit.display.js +28 -0
  234. package/lib/components/tooltip/Tooltip.d.ts +35 -0
  235. package/lib/components/tooltip/Tooltip.js +259 -0
  236. package/lib/components/unknown/Unknown.d.ts +5 -0
  237. package/lib/components/unknown/Unknown.js +10 -0
  238. package/lib/components/url/Url.d.ts +6 -0
  239. package/lib/components/url/Url.form.d.ts +1 -0
  240. package/lib/components/url/Url.form.js +26 -0
  241. package/lib/components/url/Url.js +12 -0
  242. package/lib/components/url/editForm/Url.edit.data.d.ts +5 -0
  243. package/lib/components/url/editForm/Url.edit.data.js +8 -0
  244. package/lib/components/url/editForm/Url.edit.display.d.ts +5 -0
  245. package/lib/components/url/editForm/Url.edit.display.js +8 -0
  246. package/lib/components/url/editForm/Url.edit.validation.d.ts +5 -0
  247. package/lib/components/url/editForm/Url.edit.validation.js +12 -0
  248. package/lib/components/well/Well.d.ts +6 -0
  249. package/lib/components/well/Well.form.d.ts +1 -0
  250. package/lib/components/well/Well.form.js +18 -0
  251. package/lib/components/well/Well.js +12 -0
  252. package/lib/displays/index.d.ts +5 -0
  253. package/lib/displays/index.js +11 -0
  254. package/lib/index.d.ts +65 -0
  255. package/lib/index.js +21 -0
  256. package/lib/plugins/index.d.ts +2 -0
  257. package/lib/plugins/index.js +3 -0
  258. package/lib/providers/auth/index.d.ts +2 -0
  259. package/lib/providers/auth/index.js +3 -0
  260. package/lib/providers/index.d.ts +5 -0
  261. package/lib/providers/index.js +11 -0
  262. package/lib/providers/storage/index.d.ts +2 -0
  263. package/lib/providers/storage/index.js +3 -0
  264. package/lib/templates/index.d.ts +2 -0
  265. package/lib/templates/index.js +3 -0
  266. package/lib/util/index.d.ts +4 -0
  267. package/lib/util/index.js +23 -0
  268. package/lib/util/modalUtils.d.ts +3 -0
  269. package/lib/util/modalUtils.js +62 -0
  270. package/lib/widgets/CalendarWidget.d.ts +3 -0
  271. package/lib/widgets/CalendarWidget.js +116 -0
  272. package/lib/widgets/index.d.ts +4 -0
  273. package/lib/widgets/index.js +9 -0
  274. package/package.json +61 -0
@@ -0,0 +1,18 @@
1
+ declare const _default: ({
2
+ key: string;
3
+ ignore: boolean;
4
+ type?: undefined;
5
+ input?: undefined;
6
+ weight?: undefined;
7
+ label?: undefined;
8
+ tooltip?: undefined;
9
+ } | {
10
+ type: string;
11
+ input: boolean;
12
+ weight: number;
13
+ key: string;
14
+ label: string;
15
+ tooltip: string;
16
+ ignore?: undefined;
17
+ })[];
18
+ export default _default;
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.default = [
4
+ {
5
+ key: 'case',
6
+ ignore: true,
7
+ },
8
+ {
9
+ type: 'checkbox',
10
+ input: true,
11
+ weight: 70,
12
+ key: 'delimiter',
13
+ label: 'Use Thousands Separator',
14
+ tooltip: 'Separate thousands by local delimiter.',
15
+ },
16
+ {
17
+ type: 'number',
18
+ input: true,
19
+ weight: 80,
20
+ key: 'decimalLimit',
21
+ label: 'Decimal Places',
22
+ tooltip: 'The maximum number of decimal places.',
23
+ },
24
+ {
25
+ type: 'checkbox',
26
+ input: true,
27
+ weight: 90,
28
+ key: 'requireDecimal',
29
+ label: 'Require Decimal',
30
+ tooltip: 'Always show decimals, even if trailing zeros.',
31
+ },
32
+ ];
@@ -0,0 +1,5 @@
1
+ declare const _default: {
2
+ key: string;
3
+ ignore: boolean;
4
+ }[];
5
+ export default _default;
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.default = [
4
+ {
5
+ key: 'spellcheck',
6
+ ignore: true,
7
+ },
8
+ {
9
+ key: 'showCharCount',
10
+ ignore: true
11
+ },
12
+ ];
@@ -0,0 +1,20 @@
1
+ declare const _default: ({
2
+ key: string;
3
+ ignore: boolean;
4
+ type?: undefined;
5
+ label?: undefined;
6
+ input?: undefined;
7
+ placeholder?: undefined;
8
+ tooltip?: undefined;
9
+ weight?: undefined;
10
+ } | {
11
+ type: string;
12
+ label: string;
13
+ key: string;
14
+ input: boolean;
15
+ placeholder: string;
16
+ tooltip: string;
17
+ weight: number;
18
+ ignore?: undefined;
19
+ })[];
20
+ export default _default;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.default = [
4
+ {
5
+ key: 'unique',
6
+ ignore: true,
7
+ },
8
+ {
9
+ key: 'validate.minLength',
10
+ ignore: true,
11
+ },
12
+ {
13
+ key: 'validate.maxLength',
14
+ ignore: true,
15
+ },
16
+ {
17
+ key: 'validate.minWords',
18
+ ignore: true,
19
+ },
20
+ {
21
+ key: 'validate.maxWords',
22
+ ignore: true,
23
+ },
24
+ {
25
+ key: 'validate.pattern',
26
+ ignore: true,
27
+ },
28
+ {
29
+ type: 'number',
30
+ label: 'Minimum Value',
31
+ key: 'validate.min',
32
+ input: true,
33
+ placeholder: 'Minimum Value',
34
+ tooltip: 'The minimum value this field must have before the form can be submitted.',
35
+ weight: 150,
36
+ },
37
+ {
38
+ type: 'number',
39
+ label: 'Maximum Value',
40
+ key: 'validate.max',
41
+ input: true,
42
+ placeholder: 'Maximum Value',
43
+ tooltip: 'The maximum value this field can have before the form can be submitted.',
44
+ weight: 160,
45
+ },
46
+ ];
@@ -0,0 +1,6 @@
1
+ import editForm from './Panel.form';
2
+ declare const Panel: any;
3
+ export default class PanelComponent extends Panel {
4
+ static editForm: typeof editForm;
5
+ }
6
+ export {};
@@ -0,0 +1 @@
1
+ export default function (...extend: any[]): any;
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const js_1 = require("@formio/js");
7
+ const baseEditForm = js_1.Components.components.panel.editForm;
8
+ const Panel_edit_display_1 = __importDefault(require("./editForm/Panel.edit.display"));
9
+ function default_1(...extend) {
10
+ return baseEditForm([
11
+ {
12
+ key: 'display',
13
+ components: Panel_edit_display_1.default,
14
+ },
15
+ ], ...extend);
16
+ }
17
+ exports.default = default_1;
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const js_1 = require("@formio/js");
7
+ const Panel_form_1 = __importDefault(require("./Panel.form"));
8
+ const Panel = js_1.Components.components.panel;
9
+ class PanelComponent extends Panel {
10
+ }
11
+ exports.default = PanelComponent;
12
+ PanelComponent.editForm = Panel_form_1.default;
@@ -0,0 +1,21 @@
1
+ declare const _default: ({
2
+ key: string;
3
+ ignore: boolean;
4
+ weight?: undefined;
5
+ type?: undefined;
6
+ input?: undefined;
7
+ label?: undefined;
8
+ placeholder?: undefined;
9
+ tooltip?: undefined;
10
+ } | {
11
+ weight: number;
12
+ type: string;
13
+ input: boolean;
14
+ key: string;
15
+ label: string;
16
+ placeholder: string;
17
+ tooltip: string;
18
+ customConditional(context: any): boolean;
19
+ ignore?: undefined;
20
+ })[];
21
+ export default _default;
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.default = [
4
+ {
5
+ key: 'hideLabel',
6
+ ignore: true,
7
+ },
8
+ {
9
+ key: 'autofocus',
10
+ ignore: true,
11
+ },
12
+ {
13
+ key: 'hidden',
14
+ ignore: true,
15
+ },
16
+ {
17
+ weight: 20,
18
+ type: 'textarea',
19
+ input: true,
20
+ key: 'tooltip',
21
+ label: 'Tooltip',
22
+ placeholder: 'To add a tooltip to this field, enter text here.',
23
+ tooltip: 'Adds a tooltip to the side of this field.',
24
+ customConditional(context) {
25
+ const component = context.instance.options.editComponent;
26
+ return !component.hasOwnProperty('buttonSettings');
27
+ }
28
+ },
29
+ ];
@@ -0,0 +1,6 @@
1
+ import editForm from './Password.form';
2
+ declare const Password: any;
3
+ export default class PasswordComponent extends Password {
4
+ static editForm: typeof editForm;
5
+ }
6
+ export {};
@@ -0,0 +1 @@
1
+ export default function (...extend: any[]): any;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const TextField_form_1 = __importDefault(require("../textfield/TextField.form"));
7
+ const Password_edit_data_1 = __importDefault(require("./editForm/Password.edit.data"));
8
+ const Password_edit_display_1 = __importDefault(require("./editForm/Password.edit.display"));
9
+ const Password_edit_validation_1 = __importDefault(require("./editForm/Password.edit.validation"));
10
+ function default_1(...extend) {
11
+ return (0, TextField_form_1.default)([
12
+ {
13
+ key: 'display',
14
+ components: Password_edit_display_1.default,
15
+ },
16
+ {
17
+ key: 'data',
18
+ components: Password_edit_data_1.default,
19
+ },
20
+ {
21
+ key: 'validation',
22
+ components: Password_edit_validation_1.default,
23
+ },
24
+ ], ...extend);
25
+ }
26
+ exports.default = default_1;
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const js_1 = require("@formio/js");
7
+ const Password_form_1 = __importDefault(require("./Password.form"));
8
+ const Password = js_1.Components.components.password;
9
+ class PasswordComponent extends Password {
10
+ }
11
+ exports.default = PasswordComponent;
12
+ PasswordComponent.editForm = Password_form_1.default;
@@ -0,0 +1,18 @@
1
+ declare const _default: ({
2
+ key: string;
3
+ ignore: boolean;
4
+ weight?: undefined;
5
+ type?: undefined;
6
+ tag?: undefined;
7
+ className?: undefined;
8
+ content?: undefined;
9
+ } | {
10
+ key: string;
11
+ weight: number;
12
+ type: string;
13
+ tag: string;
14
+ className: string;
15
+ content: string;
16
+ ignore?: undefined;
17
+ })[];
18
+ export default _default;
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.default = [
4
+ {
5
+ key: 'inputFormat',
6
+ ignore: true,
7
+ },
8
+ {
9
+ key: 'persistent',
10
+ ignore: true,
11
+ },
12
+ {
13
+ key: 'protected',
14
+ ignore: true,
15
+ },
16
+ {
17
+ key: 'dbIndex',
18
+ ignore: true,
19
+ },
20
+ {
21
+ key: 'encrypted',
22
+ ignore: true,
23
+ },
24
+ {
25
+ key: 'defaultValue',
26
+ ignore: true,
27
+ },
28
+ {
29
+ key: 'case',
30
+ ignore: true,
31
+ },
32
+ {
33
+ key: 'customDefaultValuePanel',
34
+ ignore: true,
35
+ },
36
+ {
37
+ key: 'calculateValuePanel',
38
+ ignore: true,
39
+ },
40
+ {
41
+ key: 'passwordInfo',
42
+ weight: 0,
43
+ type: 'htmlelement',
44
+ tag: 'div',
45
+ className: 'alert alert-info',
46
+ content: 'Password fields are automatically encrypted using 1-way salted bcrypt hashes. These hashes are also protected and not returned in the API.',
47
+ },
48
+ ];
@@ -0,0 +1,5 @@
1
+ declare const _default: {
2
+ key: string;
3
+ ignore: boolean;
4
+ }[];
5
+ export default _default;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.default = [
4
+ {
5
+ key: 'spellcheck',
6
+ ignore: true,
7
+ },
8
+ ];
@@ -0,0 +1,5 @@
1
+ declare const _default: {
2
+ key: string;
3
+ ignore: boolean;
4
+ }[];
5
+ export default _default;
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.default = [
4
+ {
5
+ key: 'unique',
6
+ ignore: true,
7
+ },
8
+ {
9
+ key: 'validate.minWords',
10
+ ignore: true,
11
+ },
12
+ {
13
+ key: 'validate.maxWords',
14
+ ignore: true,
15
+ },
16
+ ];
@@ -0,0 +1,6 @@
1
+ import editForm from './PhoneNumber.form';
2
+ declare const PhoneNumber: any;
3
+ export default class PhoneNumberComponent extends PhoneNumber {
4
+ static editForm: typeof editForm;
5
+ }
6
+ export {};
@@ -0,0 +1 @@
1
+ export default function (...extend: any[]): any;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const TextField_form_1 = __importDefault(require("../textfield/TextField.form"));
7
+ const PhoneNumber_edit_display_1 = __importDefault(require("./editForm/PhoneNumber.edit.display"));
8
+ const PhoneNumber_edit_validation_1 = __importDefault(require("./editForm/PhoneNumber.edit.validation"));
9
+ function default_1(...extend) {
10
+ return (0, TextField_form_1.default)([
11
+ {
12
+ key: 'display',
13
+ components: PhoneNumber_edit_display_1.default,
14
+ },
15
+ {
16
+ key: 'validation',
17
+ components: PhoneNumber_edit_validation_1.default,
18
+ },
19
+ ], ...extend);
20
+ }
21
+ exports.default = default_1;
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const js_1 = require("@formio/js");
7
+ const PhoneNumber_form_1 = __importDefault(require("./PhoneNumber.form"));
8
+ const PhoneNumber = js_1.Components.components.phoneNumber;
9
+ class PhoneNumberComponent extends PhoneNumber {
10
+ }
11
+ exports.default = PhoneNumberComponent;
12
+ PhoneNumberComponent.editForm = PhoneNumber_form_1.default;
@@ -0,0 +1,5 @@
1
+ declare const _default: {
2
+ key: string;
3
+ ignore: boolean;
4
+ }[];
5
+ export default _default;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.default = [
4
+ {
5
+ key: 'showCharCount',
6
+ ignore: true
7
+ },
8
+ ];
@@ -0,0 +1,5 @@
1
+ declare const _default: {
2
+ key: string;
3
+ ignore: boolean;
4
+ }[];
5
+ export default _default;
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.default = [
4
+ {
5
+ key: 'validateOn',
6
+ ignore: true,
7
+ },
8
+ {
9
+ key: 'validate.minLength',
10
+ ignore: true,
11
+ },
12
+ {
13
+ key: 'validate.maxLength',
14
+ ignore: true,
15
+ },
16
+ {
17
+ key: 'validate.pattern',
18
+ ignore: true,
19
+ },
20
+ {
21
+ key: 'validate.minWords',
22
+ ignore: true,
23
+ },
24
+ {
25
+ key: 'validate.maxWords',
26
+ ignore: true,
27
+ },
28
+ ];
@@ -0,0 +1,2 @@
1
+ declare const Radio: any;
2
+ export default Radio;
@@ -0,0 +1 @@
1
+ export default function (...extend: any[]): any;
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const js_1 = require("@formio/js");
7
+ const baseEditForm = js_1.Components.components.radio.editForm;
8
+ const Radio_edit_data_1 = __importDefault(require("./editForm/Radio.edit.data"));
9
+ const Radio_edit_display_1 = __importDefault(require("./editForm/Radio.edit.display"));
10
+ function default_1(...extend) {
11
+ return baseEditForm([
12
+ {
13
+ key: 'display',
14
+ components: Radio_edit_display_1.default,
15
+ },
16
+ {
17
+ key: 'data',
18
+ components: Radio_edit_data_1.default,
19
+ },
20
+ ], ...extend);
21
+ }
22
+ exports.default = default_1;
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const js_1 = require("@formio/js");
7
+ const Radio_form_1 = __importDefault(require("./Radio.form"));
8
+ const Radio = js_1.Components.components.radio;
9
+ Radio.editForm = Radio_form_1.default;
10
+ const attach = Radio.prototype.attach;
11
+ Radio.prototype.attach = function (element) {
12
+ const superResult = attach.call(this, element);
13
+ this.loadRefs(element, {
14
+ input: 'multiple',
15
+ wrapper: 'multiple',
16
+ radioGroup: 'single',
17
+ messageContainer: 'single',
18
+ label: 'single',
19
+ });
20
+ return superResult;
21
+ };
22
+ const clearErrorClasses = Radio.prototype.clearErrorClasses;
23
+ Radio.prototype.clearErrorClasses = function (elements) {
24
+ clearErrorClasses.call(this, elements);
25
+ const hiddenInvalidEntryMessage = document.getElementById(`invalid-entry-${this.id}`);
26
+ if (hiddenInvalidEntryMessage) {
27
+ this.refs.label.removeChild(hiddenInvalidEntryMessage);
28
+ }
29
+ this.clearErrorID('aria-labelledby', this.refs.radioGroup);
30
+ };
31
+ const setErrorClasses = Radio.prototype.setErrorClasses;
32
+ Radio.prototype.setErrorClasses = function (elements, dirty, hasErrors, hasMessage) {
33
+ this.clearErrorClasses(elements);
34
+ setErrorClasses.call(this, elements, dirty, hasErrors, hasMessage);
35
+ if (hasErrors) {
36
+ const hiddenInvalidEntryMessage = document.getElementById(`invalid-entry-${this.id}`);
37
+ if (!hiddenInvalidEntryMessage) {
38
+ this.addHiddenMessage(', invalid entry, ', this.refs.label);
39
+ }
40
+ if (this.refs.radioGroup) {
41
+ this.addErrorID('aria-labelledby', this.refs.radioGroup);
42
+ }
43
+ }
44
+ };
45
+ exports.default = Radio;
@@ -0,0 +1,13 @@
1
+ declare const _default: ({
2
+ key: string;
3
+ ignore: boolean;
4
+ components?: undefined;
5
+ } | {
6
+ key: string;
7
+ components: {
8
+ key: string;
9
+ ignore: boolean;
10
+ }[];
11
+ ignore?: undefined;
12
+ })[];
13
+ export default _default;
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.default = [
4
+ {
5
+ key: 'multiple',
6
+ ignore: true,
7
+ },
8
+ {
9
+ key: 'clearOnHide',
10
+ ignore: true,
11
+ },
12
+ {
13
+ key: 'redrawOn',
14
+ ignore: true,
15
+ },
16
+ {
17
+ key: 'values',
18
+ components: [
19
+ {
20
+ key: 'shortcut',
21
+ ignore: true,
22
+ },
23
+ ],
24
+ },
25
+ ];
@@ -0,0 +1,5 @@
1
+ declare const _default: {
2
+ key: string;
3
+ ignore: boolean;
4
+ }[];
5
+ export default _default;
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.default = [
4
+ {
5
+ key: 'labelPosition',
6
+ ignore: true,
7
+ },
8
+ {
9
+ key: 'placeholder',
10
+ ignore: true,
11
+ },
12
+ {
13
+ key: 'autofocus',
14
+ ignore: true,
15
+ },
16
+ {
17
+ key: 'tabindex',
18
+ ignore: true,
19
+ },
20
+ {
21
+ key: 'hidden',
22
+ ignore: true,
23
+ },
24
+ {
25
+ key: 'hideLabel',
26
+ ignore: true,
27
+ },
28
+ {
29
+ key: 'optionsLabelPosition',
30
+ ignore: true,
31
+ },
32
+ ];
@@ -0,0 +1,5 @@
1
+ declare const ReCaptcha: any;
2
+ export default class ReCaptchaComponent extends ReCaptcha {
3
+ static get builderInfo(): {};
4
+ }
5
+ export {};