@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,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const js_1 = require("@formio/js");
4
+ const DataGrid = js_1.Components.components.datagrid;
5
+ class DataGridComponent extends DataGrid {
6
+ static get builderInfo() {
7
+ return {};
8
+ }
9
+ }
10
+ exports.default = DataGridComponent;
@@ -0,0 +1,5 @@
1
+ declare const DataMap: any;
2
+ export default class DataMapComponent extends DataMap {
3
+ static get builderInfo(): {};
4
+ }
5
+ export {};
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const js_1 = require("@formio/js");
4
+ const DataMap = js_1.Components.components.datamap;
5
+ class DataMapComponent extends DataMap {
6
+ static get builderInfo() {
7
+ return {};
8
+ }
9
+ }
10
+ exports.default = DataMapComponent;
@@ -0,0 +1,3 @@
1
+ export default class DataTable {
2
+ static get builderInfo(): {};
3
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ class DataTable {
4
+ static get builderInfo() {
5
+ return {};
6
+ }
7
+ }
8
+ exports.default = DataTable;
@@ -0,0 +1,6 @@
1
+ import editForm from './DateTime.form';
2
+ declare const DateTime: any;
3
+ export default class DateTimeComponent extends DateTime {
4
+ static editForm: typeof editForm;
5
+ }
6
+ export {};
@@ -0,0 +1 @@
1
+ export default function (...extend: any[]): any;
@@ -0,0 +1,27 @@
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.datetime.editForm;
8
+ const DateTime_edit_display_1 = __importDefault(require("./editForm/DateTime.edit.display"));
9
+ const DateTime_edit_data_1 = __importDefault(require("./editForm/DateTime.edit.data"));
10
+ const DateTime_edit_validation_1 = __importDefault(require("./editForm/DateTime.edit.validation"));
11
+ function default_1(...extend) {
12
+ return baseEditForm([
13
+ {
14
+ key: 'display',
15
+ components: DateTime_edit_display_1.default,
16
+ },
17
+ {
18
+ key: 'data',
19
+ components: DateTime_edit_data_1.default,
20
+ },
21
+ {
22
+ key: 'validation',
23
+ components: DateTime_edit_validation_1.default,
24
+ },
25
+ ], ...extend);
26
+ }
27
+ 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 DateTime_form_1 = __importDefault(require("./DateTime.form"));
8
+ const DateTime = js_1.Components.components.datetime;
9
+ class DateTimeComponent extends DateTime {
10
+ }
11
+ exports.default = DateTimeComponent;
12
+ DateTimeComponent.editForm = DateTime_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: 'multiple',
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,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: 'hidden',
18
+ ignore: true,
19
+ },
20
+ {
21
+ key: 'hideLabel',
22
+ ignore: true
23
+ },
24
+ {
25
+ key: 'tabindex',
26
+ ignore: true,
27
+ },
28
+ {
29
+ key: 'shortcutButtons',
30
+ ignore: true,
31
+ },
32
+ ];
@@ -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: 'validateOn',
6
+ ignore: true,
7
+ },
8
+ ];
@@ -0,0 +1,13 @@
1
+ import editForm from './Day.form';
2
+ interface IDayRefs {
3
+ day: any;
4
+ month: any;
5
+ year: any;
6
+ }
7
+ declare const DayComponent_base: any;
8
+ export default class DayComponent extends DayComponent_base {
9
+ static editForm: typeof editForm;
10
+ refs: IDayRefs;
11
+ clearErrorClasses(elements: any[]): void;
12
+ }
13
+ export {};
@@ -0,0 +1 @@
1
+ export default function (...extend: any[]): any;
@@ -0,0 +1,41 @@
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.component.editForm;
8
+ const Day_edit_data_1 = __importDefault(require("./editForm/Day.edit.data"));
9
+ const Day_edit_day_1 = __importDefault(require("./editForm/Day.edit.day"));
10
+ const Day_edit_display_1 = __importDefault(require("./editForm/Day.edit.display"));
11
+ const Day_edit_validation_1 = __importDefault(require("./editForm/Day.edit.validation"));
12
+ const Day_edit_year_1 = __importDefault(require("./editForm/Day.edit.year"));
13
+ function default_1(...extend) {
14
+ return baseEditForm([
15
+ {
16
+ key: 'display',
17
+ components: Day_edit_display_1.default,
18
+ },
19
+ {
20
+ key: 'day',
21
+ label: 'Day',
22
+ weight: 3,
23
+ components: Day_edit_day_1.default,
24
+ },
25
+ {
26
+ key: 'year',
27
+ label: 'Year',
28
+ weight: 3,
29
+ components: Day_edit_year_1.default,
30
+ },
31
+ {
32
+ key: 'data',
33
+ components: Day_edit_data_1.default,
34
+ },
35
+ {
36
+ key: 'validation',
37
+ components: Day_edit_validation_1.default,
38
+ },
39
+ ], ...extend);
40
+ }
41
+ exports.default = default_1;
@@ -0,0 +1,16 @@
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 Day_form_1 = __importDefault(require("./Day.form"));
8
+ const Day = js_1.Components.components.day;
9
+ class DayComponent extends Day {
10
+ clearErrorClasses(elements) {
11
+ const { day, month, year } = this.refs;
12
+ super.clearErrorClasses([day, month, year]);
13
+ }
14
+ }
15
+ exports.default = DayComponent;
16
+ DayComponent.editForm = Day_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,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.default = [
4
+ {
5
+ key: 'multiple',
6
+ ignore: true,
7
+ },
8
+ {
9
+ key: 'redrawOn',
10
+ ignore: true,
11
+ },
12
+ {
13
+ key: 'clearOnHide',
14
+ ignore: true,
15
+ },
16
+ ];
@@ -0,0 +1,40 @@
1
+ declare const _default: ({
2
+ wieght: number;
3
+ type: string;
4
+ datasrc: string;
5
+ key: string;
6
+ label: string;
7
+ data: {
8
+ values: {
9
+ label: string;
10
+ value: string;
11
+ }[];
12
+ };
13
+ weight?: undefined;
14
+ input?: undefined;
15
+ placeholder?: undefined;
16
+ tooltip?: undefined;
17
+ } | {
18
+ weight: number;
19
+ type: string;
20
+ input: boolean;
21
+ key: string;
22
+ label: string;
23
+ placeholder: string;
24
+ tooltip: string;
25
+ wieght?: undefined;
26
+ datasrc?: undefined;
27
+ data?: undefined;
28
+ } | {
29
+ weight: number;
30
+ type: string;
31
+ label: string;
32
+ tooltip: string;
33
+ key: string;
34
+ input: boolean;
35
+ wieght?: undefined;
36
+ datasrc?: undefined;
37
+ data?: undefined;
38
+ placeholder?: undefined;
39
+ })[];
40
+ export default _default;
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.default = [
4
+ {
5
+ wieght: 200,
6
+ type: 'select',
7
+ datasrc: 'values',
8
+ key: 'fields.day.type',
9
+ label: 'Type',
10
+ data: {
11
+ values: [
12
+ {
13
+ label: 'Number',
14
+ value: 'number'
15
+ },
16
+ {
17
+ label: 'Select',
18
+ value: 'select'
19
+ },
20
+ ]
21
+ }
22
+ },
23
+ {
24
+ weight: 210,
25
+ type: 'textfield',
26
+ input: true,
27
+ key: 'fields.day.placeholder',
28
+ label: 'Placeholder',
29
+ placeholder: 'Day Placeholder',
30
+ tooltip: 'The placeholder text that will appear when Day field is empty.'
31
+ },
32
+ {
33
+ weight: 215,
34
+ type: 'checkbox',
35
+ label: 'Hidden',
36
+ tooltip: 'Hide the Day part of the component.',
37
+ key: 'fields.day.hide',
38
+ input: true
39
+ },
40
+ {
41
+ weight: 214,
42
+ type: 'checkbox',
43
+ label: 'Day First',
44
+ tooltip: 'Display the Day field before the Month field.',
45
+ key: 'dayFirst',
46
+ input: true,
47
+ },
48
+ ];
@@ -0,0 +1,18 @@
1
+ declare const _default: ({
2
+ key: string;
3
+ ignore: boolean;
4
+ weight?: undefined;
5
+ type?: undefined;
6
+ label?: undefined;
7
+ tooltip?: undefined;
8
+ input?: undefined;
9
+ } | {
10
+ weight: number;
11
+ type: string;
12
+ label: string;
13
+ tooltip: string;
14
+ key: string;
15
+ input: boolean;
16
+ ignore?: undefined;
17
+ })[];
18
+ export default _default;
@@ -0,0 +1,36 @@
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
+ weight: 213,
18
+ type: 'checkbox',
19
+ label: 'Use Locale Settings',
20
+ tooltip: 'Use locale settings to display day.',
21
+ key: 'useLocaleSettings',
22
+ input: true,
23
+ },
24
+ {
25
+ key: 'tabindex',
26
+ ignore: true,
27
+ },
28
+ {
29
+ key: 'hidden',
30
+ ignore: true,
31
+ },
32
+ {
33
+ key: 'hideLabel',
34
+ ignore: true,
35
+ },
36
+ ];
@@ -0,0 +1,40 @@
1
+ declare const _default: ({
2
+ wieght: number;
3
+ type: string;
4
+ datasrc: string;
5
+ key: string;
6
+ label: string;
7
+ data: {
8
+ values: {
9
+ label: string;
10
+ value: string;
11
+ }[];
12
+ };
13
+ weight?: undefined;
14
+ input?: undefined;
15
+ placeholder?: undefined;
16
+ tooltip?: undefined;
17
+ } | {
18
+ weight: number;
19
+ type: string;
20
+ input: boolean;
21
+ key: string;
22
+ label: string;
23
+ placeholder: string;
24
+ tooltip: string;
25
+ wieght?: undefined;
26
+ datasrc?: undefined;
27
+ data?: undefined;
28
+ } | {
29
+ weight: number;
30
+ type: string;
31
+ label: string;
32
+ tooltip: string;
33
+ key: string;
34
+ input: boolean;
35
+ wieght?: undefined;
36
+ datasrc?: undefined;
37
+ data?: undefined;
38
+ placeholder?: undefined;
39
+ })[];
40
+ export default _default;
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.default = [
4
+ {
5
+ wieght: 200,
6
+ type: 'select',
7
+ datasrc: 'values',
8
+ key: 'fields.month.type',
9
+ label: 'Type of input',
10
+ data: {
11
+ values: [
12
+ {
13
+ label: 'Number',
14
+ value: 'number'
15
+ },
16
+ {
17
+ label: 'Select',
18
+ value: 'select'
19
+ },
20
+ ]
21
+ }
22
+ },
23
+ {
24
+ weight: 210,
25
+ type: 'textfield',
26
+ input: true,
27
+ key: 'fields.month.placeholder',
28
+ label: 'Placeholder',
29
+ placeholder: 'Month Placeholder',
30
+ tooltip: 'The placeholder text that will appear when Month field is empty.'
31
+ },
32
+ {
33
+ weight: 215,
34
+ type: 'checkbox',
35
+ label: 'Hidden',
36
+ tooltip: 'Hide the Month part of the component.',
37
+ key: 'fields.month.hide',
38
+ input: true
39
+ },
40
+ ];
@@ -0,0 +1,29 @@
1
+ declare const _default: ({
2
+ key: string;
3
+ ignore: boolean;
4
+ weight?: undefined;
5
+ type?: undefined;
6
+ label?: undefined;
7
+ tooltip?: undefined;
8
+ input?: undefined;
9
+ placeholder?: undefined;
10
+ } | {
11
+ weight: number;
12
+ type: string;
13
+ label: string;
14
+ tooltip: string;
15
+ key: string;
16
+ input: boolean;
17
+ ignore?: undefined;
18
+ placeholder?: undefined;
19
+ } | {
20
+ weight: number;
21
+ type: string;
22
+ label: string;
23
+ placeholder: string;
24
+ tooltip: string;
25
+ key: string;
26
+ input: boolean;
27
+ ignore?: undefined;
28
+ })[];
29
+ export default _default;
@@ -0,0 +1,58 @@
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.required',
10
+ ignore: true,
11
+ },
12
+ {
13
+ key: 'validate.unique',
14
+ ignore: true,
15
+ },
16
+ {
17
+ weight: 0,
18
+ type: 'checkbox',
19
+ label: 'Require Day',
20
+ tooltip: 'A required field must be filled in before the form can be submitted.',
21
+ key: 'fields.day.required',
22
+ input: true,
23
+ },
24
+ {
25
+ weight: 10,
26
+ type: 'checkbox',
27
+ label: 'Require Month',
28
+ tooltip: 'A required field must be filled in before the form can be submitted.',
29
+ key: 'fields.month.required',
30
+ input: true,
31
+ },
32
+ {
33
+ weight: 20,
34
+ type: 'checkbox',
35
+ label: 'Require Year',
36
+ tooltip: 'A required field must be filled in before the form can be submitted.',
37
+ key: 'fields.year.required',
38
+ input: true,
39
+ },
40
+ {
41
+ weight: 40,
42
+ type: 'textfield',
43
+ label: 'Minimum Day',
44
+ placeholder: 'yyyy-MM-dd',
45
+ tooltip: 'A minimum date that can be set. You can also use Moment.js functions. For example: \n \n moment().subtract(10, \'days\')',
46
+ key: 'minDate',
47
+ input: true,
48
+ },
49
+ {
50
+ weight: 30,
51
+ type: 'textfield',
52
+ label: 'Maximum Day',
53
+ placeholder: 'yyyy-MM-dd',
54
+ tooltip: 'A maximum day that can be set. You can also use Moment.js functions. For example: \n \n moment().add(10, \'days\')',
55
+ key: 'maxDate',
56
+ input: true,
57
+ },
58
+ ];
@@ -0,0 +1,10 @@
1
+ declare const _default: {
2
+ weight: number;
3
+ type: string;
4
+ input: boolean;
5
+ key: string;
6
+ label: string;
7
+ placeholder: string;
8
+ tooltip: string;
9
+ }[];
10
+ export default _default;
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.default = [
4
+ {
5
+ weight: 203,
6
+ type: 'number',
7
+ input: true,
8
+ key: 'fields.year.minYear',
9
+ label: 'Minimum Year',
10
+ placeholder: '1900',
11
+ tooltip: 'The minimum year that can be entered.',
12
+ },
13
+ {
14
+ weight: 204,
15
+ type: 'number',
16
+ input: true,
17
+ key: 'fields.year.maxYear',
18
+ label: 'Maximum Year',
19
+ placeholder: '2030',
20
+ tooltip: 'The maximum year that can be entered.',
21
+ },
22
+ ];
@@ -0,0 +1,3 @@
1
+ export default class DynamicWizard {
2
+ static get builderInfo(): {};
3
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ class DynamicWizard {
4
+ static get builderInfo() {
5
+ return {};
6
+ }
7
+ }
8
+ exports.default = DynamicWizard;
@@ -0,0 +1,5 @@
1
+ declare const EditGrid: any;
2
+ export default class EditGridComponent extends EditGrid {
3
+ static get builderInfo(): {};
4
+ }
5
+ export {};
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const js_1 = require("@formio/js");
4
+ const EditGrid = js_1.Components.components.editgrid;
5
+ class EditGridComponent extends EditGrid {
6
+ static get builderInfo() {
7
+ return {};
8
+ }
9
+ }
10
+ exports.default = EditGridComponent;
@@ -0,0 +1,6 @@
1
+ import editForm from './Email.form';
2
+ declare const Email: any;
3
+ export default class EmailComponent extends Email {
4
+ static editForm: typeof editForm;
5
+ }
6
+ export {};
@@ -0,0 +1 @@
1
+ export default function (...extend: any[]): any;