@formio/js 5.0.0-rc.59 → 5.0.0-rc.60

Sign up to get free protection for your applications and to get access to all the features.
Files changed (228) hide show
  1. package/dist/formio.builder.css +8 -8
  2. package/dist/formio.builder.min.css +1 -1
  3. package/dist/formio.embed.js +1 -1
  4. package/dist/formio.embed.min.js +1 -1
  5. package/dist/formio.embed.min.js.LICENSE.txt +1 -1
  6. package/dist/formio.form.css +8 -8
  7. package/dist/formio.form.js +24 -24
  8. package/dist/formio.form.min.css +1 -1
  9. package/dist/formio.form.min.js +1 -1
  10. package/dist/formio.form.min.js.LICENSE.txt +1 -1
  11. package/dist/formio.full.css +8 -8
  12. package/dist/formio.full.js +64 -64
  13. package/dist/formio.full.min.css +1 -1
  14. package/dist/formio.full.min.js +1 -1
  15. package/dist/formio.full.min.js.LICENSE.txt +1 -1
  16. package/dist/formio.js +4 -4
  17. package/dist/formio.min.js +1 -1
  18. package/dist/formio.min.js.LICENSE.txt +1 -1
  19. package/dist/formio.utils.js +2 -2
  20. package/dist/formio.utils.min.js +1 -1
  21. package/dist/formio.utils.min.js.LICENSE.txt +1 -1
  22. package/lib/cjs/Element.d.ts +1 -1
  23. package/lib/cjs/Embed.d.ts +2 -2
  24. package/lib/cjs/Embed.js +10 -10
  25. package/lib/cjs/Form.d.ts +3 -3
  26. package/lib/cjs/FormBuilder.d.ts +42 -3
  27. package/lib/cjs/InlineEmbed.js +2 -2
  28. package/lib/cjs/PDF.d.ts +1 -1
  29. package/lib/cjs/Webform.d.ts +4 -3
  30. package/lib/cjs/Webform.js +2 -1
  31. package/lib/cjs/WebformBuilder.d.ts +1 -1
  32. package/lib/cjs/WebformBuilder.js +8 -2
  33. package/lib/cjs/components/_classes/component/Component.form.d.ts +1 -1
  34. package/lib/cjs/components/_classes/component/Component.form.js +1 -1
  35. package/lib/cjs/components/_classes/component/Component.js +2 -5
  36. package/lib/cjs/components/_classes/component/fixtures/comp6.d.ts +77 -0
  37. package/lib/cjs/components/_classes/component/fixtures/comp6.js +59 -0
  38. package/lib/cjs/components/_classes/component/fixtures/index.d.ts +2 -1
  39. package/lib/cjs/components/_classes/component/fixtures/index.js +3 -1
  40. package/lib/cjs/components/_classes/input/Input.js +6 -4
  41. package/lib/cjs/components/_classes/list/ListComponent.form.d.ts +1 -1
  42. package/lib/cjs/components/_classes/list/ListComponent.form.js +1 -1
  43. package/lib/cjs/components/_classes/nested/NestedComponent.d.ts +7 -7
  44. package/lib/cjs/components/_classes/nested/NestedComponent.form.d.ts +1 -1
  45. package/lib/cjs/components/_classes/nested/NestedComponent.form.js +1 -1
  46. package/lib/cjs/components/address/Address.form.d.ts +1 -1
  47. package/lib/cjs/components/address/Address.form.js +1 -1
  48. package/lib/cjs/components/button/Button.form.d.ts +1 -1
  49. package/lib/cjs/components/button/Button.form.js +1 -1
  50. package/lib/cjs/components/checkbox/Checkbox.form.d.ts +1 -1
  51. package/lib/cjs/components/checkbox/Checkbox.form.js +1 -1
  52. package/lib/cjs/components/columns/Columns.form.d.ts +1 -1
  53. package/lib/cjs/components/columns/Columns.form.js +1 -1
  54. package/lib/cjs/components/container/Container.form.d.ts +1 -1
  55. package/lib/cjs/components/container/Container.form.js +1 -1
  56. package/lib/cjs/components/content/Content.form.d.ts +1 -1
  57. package/lib/cjs/components/content/Content.form.js +1 -1
  58. package/lib/cjs/components/currency/Currency.form.d.ts +1 -1
  59. package/lib/cjs/components/currency/Currency.form.js +1 -1
  60. package/lib/cjs/components/datagrid/DataGrid.form.d.ts +1 -1
  61. package/lib/cjs/components/datagrid/DataGrid.form.js +1 -1
  62. package/lib/cjs/components/datagrid/fixtures/comp-with-checkboxes.d.ts +29 -0
  63. package/lib/cjs/components/datagrid/fixtures/comp-with-checkboxes.js +36 -0
  64. package/lib/cjs/components/datagrid/fixtures/index.d.ts +2 -1
  65. package/lib/cjs/components/datagrid/fixtures/index.js +3 -1
  66. package/lib/cjs/components/datamap/DataMap.form.d.ts +1 -1
  67. package/lib/cjs/components/datamap/DataMap.form.js +1 -1
  68. package/lib/cjs/components/datetime/DateTime.form.d.ts +1 -1
  69. package/lib/cjs/components/datetime/DateTime.form.js +1 -1
  70. package/lib/cjs/components/day/Day.d.ts +1 -1
  71. package/lib/cjs/components/day/Day.form.d.ts +1 -1
  72. package/lib/cjs/components/day/Day.form.js +1 -1
  73. package/lib/cjs/components/day/Day.js +1 -1
  74. package/lib/cjs/components/day/fixtures/comp7.d.ts +109 -0
  75. package/lib/cjs/components/day/fixtures/comp7.js +109 -0
  76. package/lib/cjs/components/day/fixtures/index.d.ts +2 -1
  77. package/lib/cjs/components/day/fixtures/index.js +3 -1
  78. package/lib/cjs/components/editgrid/EditGrid.form.d.ts +1 -1
  79. package/lib/cjs/components/editgrid/EditGrid.form.js +1 -1
  80. package/lib/cjs/components/email/Email.form.d.ts +1 -1
  81. package/lib/cjs/components/email/Email.form.js +1 -1
  82. package/lib/cjs/components/fieldset/Fieldset.form.d.ts +1 -1
  83. package/lib/cjs/components/fieldset/Fieldset.form.js +1 -1
  84. package/lib/cjs/components/file/File.form.d.ts +1 -1
  85. package/lib/cjs/components/file/File.form.js +1 -1
  86. package/lib/cjs/components/file/File.js +1 -2
  87. package/lib/cjs/components/form/Form.form.d.ts +1 -1
  88. package/lib/cjs/components/form/Form.form.js +1 -1
  89. package/lib/cjs/components/form/Form.js +7 -6
  90. package/lib/cjs/components/hidden/Hidden.form.d.ts +1 -1
  91. package/lib/cjs/components/hidden/Hidden.form.js +1 -1
  92. package/lib/cjs/components/html/HTML.form.d.ts +1 -1
  93. package/lib/cjs/components/html/HTML.form.js +1 -1
  94. package/lib/cjs/components/number/Number.form.d.ts +1 -1
  95. package/lib/cjs/components/number/Number.form.js +1 -1
  96. package/lib/cjs/components/panel/Panel.form.d.ts +1 -1
  97. package/lib/cjs/components/panel/Panel.form.js +1 -1
  98. package/lib/cjs/components/password/Password.form.d.ts +1 -1
  99. package/lib/cjs/components/password/Password.form.js +1 -1
  100. package/lib/cjs/components/phonenumber/PhoneNumber.form.d.ts +1 -1
  101. package/lib/cjs/components/phonenumber/PhoneNumber.form.js +1 -1
  102. package/lib/cjs/components/radio/Radio.form.d.ts +1 -1
  103. package/lib/cjs/components/radio/Radio.form.js +1 -1
  104. package/lib/cjs/components/radio/Radio.js +3 -2
  105. package/lib/cjs/components/recaptcha/ReCaptcha.form.d.ts +1 -1
  106. package/lib/cjs/components/recaptcha/ReCaptcha.form.js +1 -1
  107. package/lib/cjs/components/select/Select.form.d.ts +1 -1
  108. package/lib/cjs/components/select/Select.form.js +1 -1
  109. package/lib/cjs/components/select/Select.js +1 -1
  110. package/lib/cjs/components/selectboxes/SelectBoxes.form.d.ts +1 -1
  111. package/lib/cjs/components/selectboxes/SelectBoxes.form.js +1 -1
  112. package/lib/cjs/components/signature/Signature.form.d.ts +1 -1
  113. package/lib/cjs/components/signature/Signature.form.js +1 -1
  114. package/lib/cjs/components/survey/Survey.form.d.ts +1 -1
  115. package/lib/cjs/components/survey/Survey.form.js +1 -1
  116. package/lib/cjs/components/table/Table.form.d.ts +1 -1
  117. package/lib/cjs/components/table/Table.form.js +1 -1
  118. package/lib/cjs/components/tabs/Tabs.form.d.ts +1 -1
  119. package/lib/cjs/components/tabs/Tabs.form.js +1 -1
  120. package/lib/cjs/components/tags/Tags.form.d.ts +1 -1
  121. package/lib/cjs/components/tags/Tags.form.js +1 -1
  122. package/lib/cjs/components/textarea/TextArea.form.d.ts +1 -1
  123. package/lib/cjs/components/textarea/TextArea.form.js +1 -1
  124. package/lib/cjs/components/textfield/TextField.form.d.ts +1 -1
  125. package/lib/cjs/components/textfield/TextField.form.js +1 -1
  126. package/lib/cjs/components/textfield/TextField.js +3 -1
  127. package/lib/cjs/components/time/Time.form.d.ts +1 -1
  128. package/lib/cjs/components/time/Time.form.js +1 -1
  129. package/lib/cjs/components/unknown/Unknown.form.js +1 -1
  130. package/lib/cjs/components/url/Url.form.d.ts +1 -1
  131. package/lib/cjs/components/url/Url.form.js +1 -1
  132. package/lib/cjs/components/well/Well.form.d.ts +1 -1
  133. package/lib/cjs/components/well/Well.form.js +1 -1
  134. package/lib/cjs/formio.form.js +3 -3
  135. package/lib/cjs/providers/address/AzureAddressProvider.d.ts +1 -1
  136. package/lib/cjs/providers/address/GoogleAddressProvider.js +1 -1
  137. package/lib/cjs/providers/storage/util.js +3 -4
  138. package/lib/cjs/templates/index.d.ts +14 -14
  139. package/lib/cjs/translations/en.d.ts +2 -0
  140. package/lib/cjs/translations/en.js +3 -1
  141. package/lib/cjs/utils/ChoicesWrapper.d.ts +1 -1
  142. package/lib/cjs/utils/ChoicesWrapper.js +13 -2
  143. package/lib/cjs/utils/calendarUtils.js +3 -3
  144. package/lib/cjs/utils/formUtils.d.ts +3 -3
  145. package/lib/cjs/utils/formUtils.js +2 -2
  146. package/lib/cjs/utils/utils.d.ts +20 -14
  147. package/lib/cjs/utils/utils.js +82 -72
  148. package/lib/mjs/Element.d.ts +1 -1
  149. package/lib/mjs/Embed.d.ts +2 -2
  150. package/lib/mjs/Form.d.ts +3 -3
  151. package/lib/mjs/FormBuilder.d.ts +42 -3
  152. package/lib/mjs/PDF.d.ts +1 -1
  153. package/lib/mjs/Webform.d.ts +4 -3
  154. package/lib/mjs/Webform.js +2 -1
  155. package/lib/mjs/WebformBuilder.d.ts +1 -1
  156. package/lib/mjs/WebformBuilder.js +8 -2
  157. package/lib/mjs/components/_classes/component/Component.form.d.ts +1 -1
  158. package/lib/mjs/components/_classes/component/Component.js +2 -5
  159. package/lib/mjs/components/_classes/component/fixtures/comp6.d.ts +77 -0
  160. package/lib/mjs/components/_classes/component/fixtures/comp6.js +57 -0
  161. package/lib/mjs/components/_classes/component/fixtures/index.d.ts +2 -1
  162. package/lib/mjs/components/_classes/component/fixtures/index.js +2 -1
  163. package/lib/mjs/components/_classes/input/Input.js +6 -4
  164. package/lib/mjs/components/_classes/list/ListComponent.form.d.ts +1 -1
  165. package/lib/mjs/components/_classes/nested/NestedComponent.d.ts +7 -7
  166. package/lib/mjs/components/_classes/nested/NestedComponent.form.d.ts +1 -1
  167. package/lib/mjs/components/address/Address.form.d.ts +1 -1
  168. package/lib/mjs/components/button/Button.form.d.ts +1 -1
  169. package/lib/mjs/components/checkbox/Checkbox.form.d.ts +1 -1
  170. package/lib/mjs/components/columns/Columns.form.d.ts +1 -1
  171. package/lib/mjs/components/container/Container.form.d.ts +1 -1
  172. package/lib/mjs/components/content/Content.form.d.ts +1 -1
  173. package/lib/mjs/components/currency/Currency.form.d.ts +1 -1
  174. package/lib/mjs/components/datagrid/DataGrid.form.d.ts +1 -1
  175. package/lib/mjs/components/datagrid/fixtures/comp-with-checkboxes.d.ts +29 -0
  176. package/lib/mjs/components/datagrid/fixtures/comp-with-checkboxes.js +34 -0
  177. package/lib/mjs/components/datagrid/fixtures/index.d.ts +2 -1
  178. package/lib/mjs/components/datagrid/fixtures/index.js +2 -1
  179. package/lib/mjs/components/datamap/DataMap.form.d.ts +1 -1
  180. package/lib/mjs/components/datetime/DateTime.form.d.ts +1 -1
  181. package/lib/mjs/components/day/Day.d.ts +1 -1
  182. package/lib/mjs/components/day/Day.form.d.ts +1 -1
  183. package/lib/mjs/components/day/Day.js +1 -1
  184. package/lib/mjs/components/day/fixtures/comp7.d.ts +109 -0
  185. package/lib/mjs/components/day/fixtures/comp7.js +107 -0
  186. package/lib/mjs/components/day/fixtures/index.d.ts +2 -1
  187. package/lib/mjs/components/day/fixtures/index.js +2 -1
  188. package/lib/mjs/components/editgrid/EditGrid.form.d.ts +1 -1
  189. package/lib/mjs/components/email/Email.form.d.ts +1 -1
  190. package/lib/mjs/components/fieldset/Fieldset.form.d.ts +1 -1
  191. package/lib/mjs/components/file/File.form.d.ts +1 -1
  192. package/lib/mjs/components/file/File.js +1 -2
  193. package/lib/mjs/components/form/Form.form.d.ts +1 -1
  194. package/lib/mjs/components/form/Form.js +5 -4
  195. package/lib/mjs/components/hidden/Hidden.form.d.ts +1 -1
  196. package/lib/mjs/components/html/HTML.form.d.ts +1 -1
  197. package/lib/mjs/components/number/Number.form.d.ts +1 -1
  198. package/lib/mjs/components/panel/Panel.form.d.ts +1 -1
  199. package/lib/mjs/components/password/Password.form.d.ts +1 -1
  200. package/lib/mjs/components/phonenumber/PhoneNumber.form.d.ts +1 -1
  201. package/lib/mjs/components/radio/Radio.form.d.ts +1 -1
  202. package/lib/mjs/components/radio/Radio.js +3 -2
  203. package/lib/mjs/components/recaptcha/ReCaptcha.form.d.ts +1 -1
  204. package/lib/mjs/components/select/Select.form.d.ts +1 -1
  205. package/lib/mjs/components/select/Select.js +2 -2
  206. package/lib/mjs/components/selectboxes/SelectBoxes.form.d.ts +1 -1
  207. package/lib/mjs/components/signature/Signature.form.d.ts +1 -1
  208. package/lib/mjs/components/survey/Survey.form.d.ts +1 -1
  209. package/lib/mjs/components/table/Table.form.d.ts +1 -1
  210. package/lib/mjs/components/tabs/Tabs.form.d.ts +1 -1
  211. package/lib/mjs/components/tags/Tags.form.d.ts +1 -1
  212. package/lib/mjs/components/textarea/TextArea.form.d.ts +1 -1
  213. package/lib/mjs/components/textfield/TextField.form.d.ts +1 -1
  214. package/lib/mjs/components/textfield/TextField.js +3 -1
  215. package/lib/mjs/components/time/Time.form.d.ts +1 -1
  216. package/lib/mjs/components/url/Url.form.d.ts +1 -1
  217. package/lib/mjs/components/well/Well.form.d.ts +1 -1
  218. package/lib/mjs/providers/address/AzureAddressProvider.d.ts +1 -1
  219. package/lib/mjs/providers/address/GoogleAddressProvider.js +1 -1
  220. package/lib/mjs/templates/index.d.ts +14 -14
  221. package/lib/mjs/translations/en.d.ts +2 -0
  222. package/lib/mjs/translations/en.js +3 -1
  223. package/lib/mjs/utils/ChoicesWrapper.d.ts +1 -1
  224. package/lib/mjs/utils/ChoicesWrapper.js +13 -2
  225. package/lib/mjs/utils/formUtils.d.ts +3 -3
  226. package/lib/mjs/utils/utils.d.ts +20 -14
  227. package/lib/mjs/utils/utils.js +12 -2
  228. package/package.json +11 -11
@@ -3,6 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.default = default_1;
6
7
  const Components_1 = __importDefault(require("../../Components"));
7
8
  /**
8
9
  * The Edit Form function.
@@ -21,4 +22,3 @@ function default_1(...extend) {
21
22
  }
22
23
  ], ...extend);
23
24
  }
24
- exports.default = default_1;
@@ -3,4 +3,4 @@
3
3
  * @param {...any} extend - The components that extend the edit form.
4
4
  * @returns {import('@formio/core').Component[]} - The edit form components.
5
5
  */
6
- export default function _default(...extend: any[]): import('@formio/core').Component[];
6
+ export default function _default(...extend: any[]): import("@formio/core").Component[];
@@ -3,6 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.default = default_1;
6
7
  const Components_1 = __importDefault(require("../Components"));
7
8
  const Address_edit_data_1 = __importDefault(require("./editForm/Address.edit.data"));
8
9
  const Address_edit_display_1 = __importDefault(require("./editForm/Address.edit.display"));
@@ -30,4 +31,3 @@ function default_1(...extend) {
30
31
  },
31
32
  ], ...extend);
32
33
  }
33
- exports.default = default_1;
@@ -3,4 +3,4 @@
3
3
  * @param {...any} extend - The components that extend the edit form.
4
4
  * @returns {import('@formio/core').Component[]} - The edit form components.
5
5
  */
6
- export default function _default(...extend: any[]): import('@formio/core').Component[];
6
+ export default function _default(...extend: any[]): import("@formio/core").Component[];
@@ -3,6 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.default = default_1;
6
7
  const Components_1 = __importDefault(require("../Components"));
7
8
  const Button_edit_display_1 = __importDefault(require("./editForm/Button.edit.display"));
8
9
  /**
@@ -26,4 +27,3 @@ function default_1(...extend) {
26
27
  },
27
28
  ], ...extend);
28
29
  }
29
- exports.default = default_1;
@@ -3,4 +3,4 @@
3
3
  * @param {...any} extend - The components that extend the edit form.
4
4
  * @returns {import('@formio/core').Component[]} - The edit form components.
5
5
  */
6
- export default function _default(...extend: any[]): import('@formio/core').Component[];
6
+ export default function _default(...extend: any[]): import("@formio/core").Component[];
@@ -3,6 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.default = default_1;
6
7
  const Components_1 = __importDefault(require("../Components"));
7
8
  const Checkbox_edit_data_1 = __importDefault(require("./editForm/Checkbox.edit.data"));
8
9
  const Checkbox_edit_display_1 = __importDefault(require("./editForm/Checkbox.edit.display"));
@@ -28,4 +29,3 @@ function default_1(...extend) {
28
29
  },
29
30
  ], ...extend);
30
31
  }
31
- exports.default = default_1;
@@ -3,4 +3,4 @@
3
3
  * @param {...any} extend - The components that extend the edit form.
4
4
  * @returns {import('@formio/core').Component[]} - The edit form components.
5
5
  */
6
- export default function _default(...extend: any[]): import('@formio/core').Component[];
6
+ export default function _default(...extend: any[]): import("@formio/core").Component[];
@@ -3,6 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.default = default_1;
6
7
  const NestedComponent_form_1 = __importDefault(require("../_classes/nested/NestedComponent.form"));
7
8
  const Columns_edit_display_1 = __importDefault(require("./editForm/Columns.edit.display"));
8
9
  /**
@@ -18,4 +19,3 @@ function default_1(...extend) {
18
19
  },
19
20
  ], ...extend);
20
21
  }
21
- exports.default = default_1;
@@ -3,4 +3,4 @@
3
3
  * @param {...any} extend - The components that extend the edit form.
4
4
  * @returns {import('@formio/core').Component[]} - The edit form components.
5
5
  */
6
- export default function _default(...extend: any[]): import('@formio/core').Component[];
6
+ export default function _default(...extend: any[]): import("@formio/core").Component[];
@@ -3,6 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.default = default_1;
6
7
  const Components_1 = __importDefault(require("../Components"));
7
8
  const Container_edit_display_1 = __importDefault(require("./editForm/Container.edit.display"));
8
9
  const Container_edit_data_1 = __importDefault(require("./editForm/Container.edit.data"));
@@ -23,4 +24,3 @@ function default_1(...extend) {
23
24
  },
24
25
  ], ...extend);
25
26
  }
26
- exports.default = default_1;
@@ -3,4 +3,4 @@
3
3
  * @param {...any} extend - The components that extend the edit form.
4
4
  * @returns {import('@formio/core').Component[]} - The edit form components.
5
5
  */
6
- export default function _default(...extend: any[]): import('@formio/core').Component[];
6
+ export default function _default(...extend: any[]): import("@formio/core").Component[];
@@ -3,6 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.default = default_1;
6
7
  const Components_1 = __importDefault(require("../Components"));
7
8
  const Content_edit_display_1 = __importDefault(require("./editForm/Content.edit.display"));
8
9
  const Content_edit_logic_1 = __importDefault(require("./editForm/Content.edit.logic"));
@@ -45,4 +46,3 @@ function default_1(...extend) {
45
46
  }].concat(editForm.components);
46
47
  return editForm;
47
48
  }
48
- exports.default = default_1;
@@ -3,4 +3,4 @@
3
3
  * @param {...any} extend - The components that extend the edit form.
4
4
  * @returns {import('@formio/core').Component[]} - The edit form components.
5
5
  */
6
- export default function _default(...extend: any[]): import('@formio/core').Component[];
6
+ export default function _default(...extend: any[]): import("@formio/core").Component[];
@@ -3,6 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.default = default_1;
6
7
  const TextField_form_1 = __importDefault(require("../textfield/TextField.form"));
7
8
  const Currency_edit_display_1 = __importDefault(require("./editForm/Currency.edit.display"));
8
9
  const Currency_edit_data_1 = __importDefault(require("./editForm/Currency.edit.data"));
@@ -48,4 +49,3 @@ function default_1(...extend) {
48
49
  },
49
50
  ], ...extend);
50
51
  }
51
- exports.default = default_1;
@@ -3,4 +3,4 @@
3
3
  * @param {...any} extend - The components that extend the edit form.
4
4
  * @returns {import('@formio/core').Component[]} - The edit form components.
5
5
  */
6
- export default function _default(...extend: any[]): import('@formio/core').Component[];
6
+ export default function _default(...extend: any[]): import("@formio/core").Component[];
@@ -3,6 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.default = default_1;
6
7
  const Components_1 = __importDefault(require("../Components"));
7
8
  const DataGrid_edit_data_1 = __importDefault(require("./editForm/DataGrid.edit.data"));
8
9
  const DataGrid_edit_display_1 = __importDefault(require("./editForm/DataGrid.edit.display"));
@@ -28,4 +29,3 @@ function default_1(...extend) {
28
29
  },
29
30
  ], ...extend);
30
31
  }
31
- exports.default = default_1;
@@ -0,0 +1,29 @@
1
+ declare namespace _default {
2
+ let label: string;
3
+ let reorder: boolean;
4
+ let addAnotherPosition: string;
5
+ let layoutFixed: boolean;
6
+ let enableRowGroups: boolean;
7
+ let initEmpty: boolean;
8
+ let tableView: boolean;
9
+ let defaultValue: {}[];
10
+ let key: string;
11
+ let type: string;
12
+ let input: boolean;
13
+ let components: {
14
+ label: string;
15
+ optionsLabelPosition: string;
16
+ inline: boolean;
17
+ tableView: boolean;
18
+ values: {
19
+ label: string;
20
+ value: string;
21
+ shortcut: string;
22
+ }[];
23
+ key: string;
24
+ type: string;
25
+ input: boolean;
26
+ inputType: string;
27
+ }[];
28
+ }
29
+ export default _default;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.default = {
4
+ 'label': 'Data Grid',
5
+ 'reorder': false,
6
+ 'addAnotherPosition': 'bottom',
7
+ 'layoutFixed': false,
8
+ 'enableRowGroups': false,
9
+ 'initEmpty': false,
10
+ 'tableView': false,
11
+ 'defaultValue': [
12
+ {}
13
+ ],
14
+ 'key': 'dataGrid',
15
+ 'type': 'datagrid',
16
+ 'input': true,
17
+ 'components': [
18
+ {
19
+ 'label': 'Radio',
20
+ 'optionsLabelPosition': 'right',
21
+ 'inline': false,
22
+ 'tableView': false,
23
+ 'values': [
24
+ {
25
+ 'label': 'yes',
26
+ 'value': 'yes',
27
+ 'shortcut': ''
28
+ }
29
+ ],
30
+ 'key': 'radio',
31
+ 'type': 'radio',
32
+ 'input': true,
33
+ 'inputType': 'checkbox'
34
+ }
35
+ ]
36
+ };
@@ -14,4 +14,5 @@ import withRowGroupsAndDefValue from './comp-row-groups-with-def-value';
14
14
  import modalWithRequiredFields from './comp-modal-with-required-fields';
15
15
  import withAllowCalculateOverride from './comp-with-allow-calculate-override';
16
16
  import twoWithAllowCalculatedOverride from './two-comp-with-allow-calculate-override';
17
- export { comp1, comp2, comp3, comp4, comp5, comp6, comp7, comp8, withCollapsibleRowGroups, withConditionalFieldsAndValidations, withDefValue, withLogic, withRowGroupsAndDefValue, modalWithRequiredFields, withAllowCalculateOverride, twoWithAllowCalculatedOverride };
17
+ import withCheckboxes from './comp-with-checkboxes';
18
+ export { comp1, comp2, comp3, comp4, comp5, comp6, comp7, comp8, withCollapsibleRowGroups, withConditionalFieldsAndValidations, withDefValue, withLogic, withRowGroupsAndDefValue, modalWithRequiredFields, withAllowCalculateOverride, twoWithAllowCalculatedOverride, withCheckboxes };
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.twoWithAllowCalculatedOverride = exports.withAllowCalculateOverride = exports.modalWithRequiredFields = exports.withRowGroupsAndDefValue = exports.withLogic = exports.withDefValue = exports.withConditionalFieldsAndValidations = exports.withCollapsibleRowGroups = exports.comp8 = exports.comp7 = exports.comp6 = exports.comp5 = exports.comp4 = exports.comp3 = exports.comp2 = exports.comp1 = void 0;
6
+ exports.withCheckboxes = exports.twoWithAllowCalculatedOverride = exports.withAllowCalculateOverride = exports.modalWithRequiredFields = exports.withRowGroupsAndDefValue = exports.withLogic = exports.withDefValue = exports.withConditionalFieldsAndValidations = exports.withCollapsibleRowGroups = exports.comp8 = exports.comp7 = exports.comp6 = exports.comp5 = exports.comp4 = exports.comp3 = exports.comp2 = exports.comp1 = void 0;
7
7
  const comp1_1 = __importDefault(require("./comp1"));
8
8
  exports.comp1 = comp1_1.default;
9
9
  const comp2_1 = __importDefault(require("./comp2"));
@@ -36,3 +36,5 @@ const comp_with_allow_calculate_override_1 = __importDefault(require("./comp-wit
36
36
  exports.withAllowCalculateOverride = comp_with_allow_calculate_override_1.default;
37
37
  const two_comp_with_allow_calculate_override_1 = __importDefault(require("./two-comp-with-allow-calculate-override"));
38
38
  exports.twoWithAllowCalculatedOverride = two_comp_with_allow_calculate_override_1.default;
39
+ const comp_with_checkboxes_1 = __importDefault(require("./comp-with-checkboxes"));
40
+ exports.withCheckboxes = comp_with_checkboxes_1.default;
@@ -3,4 +3,4 @@
3
3
  * @param {...any} extend - The components that extend the edit form.
4
4
  * @returns {import('@formio/core').Component[]} - The edit form components.
5
5
  */
6
- export default function _default(...extend: any[]): import('@formio/core').Component[];
6
+ export default function _default(...extend: any[]): import("@formio/core").Component[];
@@ -3,6 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.default = default_1;
6
7
  const Components_1 = __importDefault(require("../Components"));
7
8
  const DataMap_edit_data_1 = __importDefault(require("./editForm/DataMap.edit.data"));
8
9
  const DataMap_edit_display_1 = __importDefault(require("./editForm/DataMap.edit.display"));
@@ -23,4 +24,3 @@ function default_1(...extend) {
23
24
  },
24
25
  ], ...extend);
25
26
  }
26
- exports.default = default_1;
@@ -3,4 +3,4 @@
3
3
  * @param {...any} extend - The components that extend the edit form.
4
4
  * @returns {import('@formio/core').Component[]} - The edit form components.
5
5
  */
6
- export default function _default(...extend: any[]): import('@formio/core').Component[];
6
+ export default function _default(...extend: any[]): import("@formio/core").Component[];
@@ -3,6 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.default = default_1;
6
7
  const Components_1 = __importDefault(require("../Components"));
7
8
  const DateTime_edit_data_1 = __importDefault(require("./editForm/DateTime.edit.data"));
8
9
  const DateTime_edit_date_1 = __importDefault(require("./editForm/DateTime.edit.date"));
@@ -42,4 +43,3 @@ function default_1(...extend) {
42
43
  },
43
44
  ], ...extend);
44
45
  }
45
- exports.default = default_1;
@@ -35,7 +35,7 @@ export default class DayComponent extends Field {
35
35
  id: string;
36
36
  class: string;
37
37
  type: string;
38
- placeholder: any;
38
+ placeholder: string;
39
39
  step: number;
40
40
  min: any;
41
41
  max: any;
@@ -3,4 +3,4 @@
3
3
  * @param {...any} extend - The components that extend the edit form.
4
4
  * @returns {import('@formio/core').Component[]} - The edit form components.
5
5
  */
6
- export default function _default(...extend: any[]): import('@formio/core').Component[];
6
+ export default function _default(...extend: any[]): import("@formio/core").Component[];
@@ -3,6 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.default = default_1;
6
7
  const Components_1 = __importDefault(require("../Components"));
7
8
  const Day_edit_data_1 = __importDefault(require("./editForm/Day.edit.data"));
8
9
  const Day_edit_display_1 = __importDefault(require("./editForm/Day.edit.display"));
@@ -49,4 +50,3 @@ function default_1(...extend) {
49
50
  },
50
51
  ], ...extend);
51
52
  }
52
- exports.default = default_1;
@@ -124,7 +124,7 @@ class DayComponent extends Field_1.default {
124
124
  id: `${this.component.key}-${name}`,
125
125
  class: `form-control ${this.transform('class', `formio-day-component-${name}`)}`,
126
126
  type: this.component.fields[name].type === 'select' ? 'select' : 'number',
127
- placeholder: this.component.fields[name].placeholder,
127
+ placeholder: this.t(this.component.fields[name].placeholder),
128
128
  step: 1,
129
129
  min,
130
130
  max,
@@ -0,0 +1,109 @@
1
+ declare namespace _default {
2
+ let components: ({
3
+ type: string;
4
+ key: string;
5
+ label: string;
6
+ placeholder: string;
7
+ input: boolean;
8
+ applyMaskOn?: undefined;
9
+ tableView?: undefined;
10
+ hideInputLabels?: undefined;
11
+ inputsLabelPosition?: undefined;
12
+ useLocaleSettings?: undefined;
13
+ fields?: undefined;
14
+ defaultValue?: undefined;
15
+ values?: undefined;
16
+ questions?: undefined;
17
+ action?: undefined;
18
+ theme?: undefined;
19
+ } | {
20
+ label: string;
21
+ placeholder: string;
22
+ applyMaskOn: string;
23
+ tableView: boolean;
24
+ key: string;
25
+ type: string;
26
+ input: boolean;
27
+ hideInputLabels?: undefined;
28
+ inputsLabelPosition?: undefined;
29
+ useLocaleSettings?: undefined;
30
+ fields?: undefined;
31
+ defaultValue?: undefined;
32
+ values?: undefined;
33
+ questions?: undefined;
34
+ action?: undefined;
35
+ theme?: undefined;
36
+ } | {
37
+ label: string;
38
+ hideInputLabels: boolean;
39
+ inputsLabelPosition: string;
40
+ useLocaleSettings: boolean;
41
+ tableView: boolean;
42
+ fields: {
43
+ day: {
44
+ placeholder: string;
45
+ hide: boolean;
46
+ };
47
+ month: {
48
+ type: string;
49
+ placeholder: string;
50
+ hide: boolean;
51
+ };
52
+ year: {
53
+ placeholder: string;
54
+ hide: boolean;
55
+ };
56
+ };
57
+ key: string;
58
+ type: string;
59
+ input: boolean;
60
+ defaultValue: string;
61
+ placeholder?: undefined;
62
+ applyMaskOn?: undefined;
63
+ values?: undefined;
64
+ questions?: undefined;
65
+ action?: undefined;
66
+ theme?: undefined;
67
+ } | {
68
+ type: string;
69
+ key: string;
70
+ label: string;
71
+ values: {
72
+ label: string;
73
+ value: string;
74
+ }[];
75
+ questions: {
76
+ label: string;
77
+ value: string;
78
+ }[];
79
+ placeholder?: undefined;
80
+ input?: undefined;
81
+ applyMaskOn?: undefined;
82
+ tableView?: undefined;
83
+ hideInputLabels?: undefined;
84
+ inputsLabelPosition?: undefined;
85
+ useLocaleSettings?: undefined;
86
+ fields?: undefined;
87
+ defaultValue?: undefined;
88
+ action?: undefined;
89
+ theme?: undefined;
90
+ } | {
91
+ type: string;
92
+ action: string;
93
+ label: string;
94
+ theme: string;
95
+ key?: undefined;
96
+ placeholder?: undefined;
97
+ input?: undefined;
98
+ applyMaskOn?: undefined;
99
+ tableView?: undefined;
100
+ hideInputLabels?: undefined;
101
+ inputsLabelPosition?: undefined;
102
+ useLocaleSettings?: undefined;
103
+ fields?: undefined;
104
+ defaultValue?: undefined;
105
+ values?: undefined;
106
+ questions?: undefined;
107
+ })[];
108
+ }
109
+ export default _default;
@@ -0,0 +1,109 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.default = {
4
+ components: [
5
+ {
6
+ type: 'textfield',
7
+ key: 'firstName',
8
+ label: 'First Name',
9
+ placeholder: 'Enter your first name',
10
+ input: true
11
+ }, {
12
+ "label": "Day",
13
+ "placeholder": "Day",
14
+ "applyMaskOn": "change",
15
+ "tableView": true,
16
+ "key": "day2",
17
+ "type": "textfield",
18
+ "input": true
19
+ }, {
20
+ "label": "Month",
21
+ "placeholder": "Month",
22
+ "applyMaskOn": "change",
23
+ "tableView": true,
24
+ "key": "month2",
25
+ "type": "textfield",
26
+ "input": true
27
+ }, {
28
+ "label": "Year",
29
+ "placeholder": "Year",
30
+ "applyMaskOn": "change",
31
+ "tableView": true,
32
+ "key": "year2",
33
+ "type": "textfield",
34
+ "input": true
35
+ },
36
+ {
37
+ "label": "Day",
38
+ "hideInputLabels": false,
39
+ "inputsLabelPosition": "top",
40
+ "useLocaleSettings": false,
41
+ "tableView": false,
42
+ "fields": {
43
+ "day": {
44
+ "placeholder": "Day",
45
+ "hide": false
46
+ },
47
+ "month": {
48
+ "type": "number",
49
+ "placeholder": "Month",
50
+ "hide": false
51
+ },
52
+ "year": {
53
+ "placeholder": "Year",
54
+ "hide": false
55
+ }
56
+ },
57
+ "key": "day",
58
+ "type": "day",
59
+ "input": true,
60
+ "defaultValue": "00/00/0000"
61
+ },
62
+ {
63
+ type: 'textfield',
64
+ key: 'lastName',
65
+ label: 'Last Name',
66
+ placeholder: 'Enter your last name',
67
+ input: true
68
+ },
69
+ {
70
+ type: 'survey',
71
+ key: 'questions',
72
+ label: 'Survey',
73
+ values: [
74
+ {
75
+ label: 'Great',
76
+ value: 'great'
77
+ },
78
+ {
79
+ label: 'Good',
80
+ value: 'good'
81
+ },
82
+ {
83
+ label: 'Poor',
84
+ value: 'poor'
85
+ }
86
+ ],
87
+ questions: [
88
+ {
89
+ label: 'How would you rate the Form.io platform?',
90
+ value: 'howWouldYouRateTheFormIoPlatform'
91
+ },
92
+ {
93
+ label: 'How was Customer Support?',
94
+ value: 'howWasCustomerSupport'
95
+ },
96
+ {
97
+ label: 'Overall Experience?',
98
+ value: 'overallExperience'
99
+ }
100
+ ]
101
+ },
102
+ {
103
+ type: 'button',
104
+ action: 'submit',
105
+ label: 'Submit',
106
+ theme: 'primary'
107
+ }
108
+ ]
109
+ };
@@ -4,4 +4,5 @@ import comp3 from './comp3';
4
4
  import comp4 from './comp4';
5
5
  import comp5 from './comp5';
6
6
  import comp6 from './comp6';
7
- export { comp1, comp2, comp3, comp4, comp5, comp6 };
7
+ import comp7 from './comp7';
8
+ export { comp1, comp2, comp3, comp4, comp5, comp6, comp7 };
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.comp6 = exports.comp5 = exports.comp4 = exports.comp3 = exports.comp2 = exports.comp1 = void 0;
6
+ exports.comp7 = exports.comp6 = exports.comp5 = exports.comp4 = exports.comp3 = exports.comp2 = exports.comp1 = void 0;
7
7
  const comp1_1 = __importDefault(require("./comp1"));
8
8
  exports.comp1 = comp1_1.default;
9
9
  const comp2_1 = __importDefault(require("./comp2"));
@@ -16,3 +16,5 @@ const comp5_1 = __importDefault(require("./comp5"));
16
16
  exports.comp5 = comp5_1.default;
17
17
  const comp6_1 = __importDefault(require("./comp6"));
18
18
  exports.comp6 = comp6_1.default;
19
+ const comp7_1 = __importDefault(require("./comp7"));
20
+ exports.comp7 = comp7_1.default;
@@ -3,4 +3,4 @@
3
3
  * @param {...any} extend - The components that extend the edit form.
4
4
  * @returns {import('@formio/core').Component[]} - The edit form components.
5
5
  */
6
- export default function _default(...extend: any[]): import('@formio/core').Component[];
6
+ export default function _default(...extend: any[]): import("@formio/core").Component[];
@@ -3,6 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.default = default_1;
6
7
  const Components_1 = __importDefault(require("../Components"));
7
8
  const EditGrid_edit_data_1 = __importDefault(require("./editForm/EditGrid.edit.data"));
8
9
  const EditGrid_edit_display_1 = __importDefault(require("./editForm/EditGrid.edit.display"));
@@ -35,4 +36,3 @@ function default_1(...extend) {
35
36
  },
36
37
  ], ...extend);
37
38
  }
38
- exports.default = default_1;
@@ -3,4 +3,4 @@
3
3
  * @param {...any} extend - The components that extend the edit form.
4
4
  * @returns {import('@formio/core').Component[]} - The edit form components.
5
5
  */
6
- export default function _default(...extend: any[]): import('@formio/core').Component[];
6
+ export default function _default(...extend: any[]): import("@formio/core").Component[];
@@ -3,6 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.default = default_1;
6
7
  const TextField_form_1 = __importDefault(require("../textfield/TextField.form"));
7
8
  const Email_edit_display_1 = __importDefault(require("./editForm/Email.edit.display"));
8
9
  const Email_edit_validation_1 = __importDefault(require("./editForm/Email.edit.validation"));
@@ -23,4 +24,3 @@ function default_1(...extend) {
23
24
  },
24
25
  ], ...extend);
25
26
  }
26
- exports.default = default_1;
@@ -3,4 +3,4 @@
3
3
  * @param {...any} extend - The components that extend the edit form.
4
4
  * @returns {import('@formio/core').Component[]} - The edit form components.
5
5
  */
6
- export default function _default(...extend: any[]): import('@formio/core').Component[];
6
+ export default function _default(...extend: any[]): import("@formio/core").Component[];