@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,217 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ const js_1 = require("@formio/js");
27
+ const ModalUtils = __importStar(require("../../util/modalUtils"));
28
+ const ComponentModal = js_1.Components.components.componentmodal;
29
+ const TAB_KEYCODE = 9;
30
+ const ESC_KEYCODE = 27;
31
+ const SCREENREADER_DELAY = 50;
32
+ const SCREENREADER_FOCUS_DELAY = 100;
33
+ const FOCUSABLE_SELECTOR = `button:not([disabled]), [href], [role="link"], input:not([disabled]),
34
+ select:not([disabled]), textarea:not([disabled]), [tabindex]:not([disabled]), iframe`;
35
+ const HEADER_SELECTOR = 'h1, h2, h3, h4, h5, h6';
36
+ const init = ComponentModal.prototype.init;
37
+ ComponentModal.prototype.init = function () {
38
+ init.call(this);
39
+ this.closeModalListener = (event) => {
40
+ if (this.isValueChanged() && !this.component.disabled) {
41
+ this.showDialog();
42
+ }
43
+ else {
44
+ this.closeModalHandler(event);
45
+ }
46
+ };
47
+ this.closeModalButtonListener = this.closeModalHandler.bind(this);
48
+ };
49
+ const templateRefs = Object.getOwnPropertyDescriptor(ComponentModal.prototype, 'templateRefs');
50
+ Object.defineProperty(ComponentModal.prototype, 'templateRefs', {
51
+ get() {
52
+ const refs = templateRefs.get.call(this);
53
+ const newRefs = {
54
+ modalCloseButton: 'single',
55
+ modalPreviewLiveRegion: 'single',
56
+ modalLiveRegion: 'single',
57
+ modalLabelValue: 'single',
58
+ };
59
+ return Object.assign({}, refs, newRefs);
60
+ }
61
+ });
62
+ const setEventListeners = ComponentModal.prototype.setEventListeners;
63
+ ComponentModal.prototype.setEventListeners = function () {
64
+ setEventListeners.call(this);
65
+ this.component.addEventListener(this.refs.modalCloseButton, 'click', this.closeModalButtonListener);
66
+ };
67
+ const removeEventListeners = ComponentModal.prototype.removeEventListeners;
68
+ ComponentModal.prototype.removeEventListeners = function () {
69
+ removeEventListeners.call(this);
70
+ this.component.removeEventListener(this.refs.modalCloseButton, 'click', this.closeModalButtonListener);
71
+ };
72
+ const findElementLabel = (element) => {
73
+ if (element) {
74
+ const parent = element.parentNode.parentNode;
75
+ if (parent) {
76
+ return parent.querySelector('label');
77
+ }
78
+ }
79
+ };
80
+ ComponentModal.prototype.filterFocusableElements = function (focusableElements) {
81
+ return Array.prototype.filter.call(focusableElements, (element) => {
82
+ return !(element.className.includes('flatpickr') ||
83
+ element.className.includes('numInput') ||
84
+ element.className.includes(this.component.transform('class', 'sr-only')));
85
+ });
86
+ };
87
+ ComponentModal.prototype.focusAndAddMessage = function (element, message, region) {
88
+ const label = findElementLabel(element);
89
+ const tagName = element.tagName;
90
+ if (tagName === 'INPUT' || tagName === 'TEXTAREA' || tagName === 'SELECT') {
91
+ if (label) {
92
+ const hiddenMessage = document.createElement('span');
93
+ hiddenMessage.classList.add(this.component.transform('class', 'sr-only'));
94
+ hiddenMessage.id = `msg-${this.component.id}`;
95
+ hiddenMessage.innerHTML = message;
96
+ if (label.firstChild) {
97
+ label.insertBefore(hiddenMessage, label.firstChild);
98
+ }
99
+ const removeHiddenMessageHandler = () => {
100
+ this.removeHiddenMessage.call(this, element);
101
+ this.component.removeEventListener(element, 'blur', removeHiddenMessageHandler);
102
+ };
103
+ this.component.addEventListener(element, 'blur', removeHiddenMessageHandler);
104
+ }
105
+ }
106
+ else {
107
+ if (region) {
108
+ // Reset live region with delay so NVDA can pick up and announce new info
109
+ region.innerHTML = '';
110
+ setTimeout(() => {
111
+ region.innerHTML = message;
112
+ }, SCREENREADER_DELAY);
113
+ }
114
+ }
115
+ // Delay focus to maintain proper announcement order
116
+ setTimeout(() => {
117
+ element.focus();
118
+ }, SCREENREADER_FOCUS_DELAY);
119
+ };
120
+ ComponentModal.prototype.removeHiddenMessage = function (element) {
121
+ const label = findElementLabel(element);
122
+ if (label) {
123
+ const message = label.querySelector(`#msg-${this.component.id}`);
124
+ if (message) {
125
+ label.removeChild(message);
126
+ }
127
+ }
128
+ };
129
+ const openModal = ComponentModal.prototype.openModal;
130
+ ComponentModal.prototype.openModal = function () {
131
+ openModal.call(this);
132
+ ModalUtils.toggleHideBackgroundElements(this.refs.modalContents, true);
133
+ const focusableElements = this.filterFocusableElements(this.refs.modalContents.querySelectorAll(FOCUSABLE_SELECTOR));
134
+ this.modalFirstFocusableElement = focusableElements[0];
135
+ this.focusAndAddMessage(this.modalFirstFocusableElement, 'Modal window has been opened.', this.refs.modalLiveRegion);
136
+ this.focusTrapHandler = ModalUtils.focusTrap.bind(this, focusableElements);
137
+ this.modalEscapeButtonHandler = this.closeModalHandler.bind(this);
138
+ this.component.addEventListener(this.refs.modalContents, 'keydown', this.focusTrapHandler);
139
+ this.component.addEventListener(this.refs.modalContents, 'keydown', this.modalEscapeButtonHandler);
140
+ };
141
+ const closeModal = ComponentModal.prototype.closeModal;
142
+ ComponentModal.prototype.closeModal = function () {
143
+ ModalUtils.toggleHideBackgroundElements(this.refs.modalContents, false);
144
+ this.component.removeEventListener(this.refs.modalContents, 'keydown', this.focusTrapHandler);
145
+ this.focusAndAddMessage(this.refs.openModal, 'Modal window has been closed', this.refs.modalPreviewLiveRegion);
146
+ closeModal.call(this);
147
+ };
148
+ const saveModalValueHandler = ComponentModal.prototype.saveModalValueHandler;
149
+ ComponentModal.prototype.saveModalValueHandler = function (event) {
150
+ saveModalValueHandler.call(this, event);
151
+ };
152
+ ComponentModal.prototype.closeModalHandler = function (event) {
153
+ if (event.type === 'click' || (event.type === 'keydown' && event.keyCode === ESC_KEYCODE)) {
154
+ event.preventDefault();
155
+ this.closeModal();
156
+ if (!this.component.disabled) {
157
+ this.component.setValue(this.currentValue, { resetValue: true });
158
+ }
159
+ }
160
+ };
161
+ ComponentModal.prototype.showDialog = function () {
162
+ var _a;
163
+ this.lastFocusedModalElement = document.activeElement === document.body || document.activeElement === this.refs.modalOverlay
164
+ ? ((_a = this.refs.modalCloseButton) !== null && _a !== void 0 ? _a : this.refs.modalClose)
165
+ : document.activeElement;
166
+ ModalUtils.toggleHideBackgroundElements(this.refs.modalContents, false);
167
+ this.component.removeEventListener(this.refs.modalContents, 'keydown', this.focusTrapHandler);
168
+ this.dialogElement = this.component.ce('div');
169
+ const dialogContent = `
170
+ <h3 ref="dialogHeader" id="dl-${this.component.id}">${this.component.t('Do you want to clear changes and get back to the form?')}</h3>
171
+ <div class="formio-dialog-buttons float-right">
172
+ <button ref="dialogCancelButton" class="${this.component.transform('class', 'formio-modal-cancel-button')}" aria-label="Cancel button. Click to get back to the Modal Dialog window.">${this.component.t('Cancel')}</button>
173
+ <button ref="dialogYesButton" class="${this.component.transform('class', 'formio-modal-confirm-button')}" aria-label="Yes button. Click to get back to the form. Warning! All the entered values in the Modal Dialog window will not be saved.">${this.component.t('Yes')}</button>
174
+ </div>
175
+ <span class="${this.component.transform('class', 'sr-only')}" ref="dialogLiveRegion" aria-live="assertive"></span>
176
+ `;
177
+ this.dialogElement.innerHTML = dialogContent;
178
+ this.dialogElement.refs = {};
179
+ this.component.loadRefs.call(this.dialogElement, this.dialogElement, {
180
+ dialogHeader: 'single',
181
+ dialogCancelButton: 'single',
182
+ dialogYesButton: 'single',
183
+ dialogLiveRegion: 'single',
184
+ });
185
+ const escapeButtonHandler = (closeModal, event) => {
186
+ if (event.keyCode === ESC_KEYCODE) {
187
+ closeModal();
188
+ }
189
+ };
190
+ this.dialog = this.component.createModal(this.dialogElement);
191
+ this.dialog.refs.dialogClose.setAttribute('aria-label', 'Close button. Click to get back to the modal dialog window.');
192
+ const oldClose = this.dialog.close;
193
+ this.dialog.close = () => {
194
+ oldClose.call(this);
195
+ ModalUtils.toggleHideBackgroundElements(this.refs.modalContents, true);
196
+ this.focusAndAddMessage(this.lastFocusedModalElement, 'Confirmation dialog window has been closed.', this.refs.modalLiveRegion);
197
+ this.component.addEventListener(this.refs.modalContents, 'keydown', this.focusTrapHandler);
198
+ this.component.removeEventListener(this.dialog.refs.dialogContents, 'keydown', this.dialogEscapeButtonHandler);
199
+ };
200
+ const focusableElements = [...this.dialog.refs.dialogContents.querySelectorAll(FOCUSABLE_SELECTOR)];
201
+ this.dialogFocusTrapHandler = ModalUtils.focusTrap.bind(this, focusableElements);
202
+ this.dialogEscapeButtonHandler = escapeButtonHandler.bind(this, this.dialog.close);
203
+ this.component.addEventListener(this.dialog.refs.dialogContents, 'keydown', this.dialogEscapeButtonHandler);
204
+ this.component.addEventListener(this.dialogElement.refs.dialogYesButton, 'click', this.saveDialogListener);
205
+ this.component.addEventListener(this.dialogElement.refs.dialogCancelButton, 'click', this.closeDialogListener);
206
+ this.focusAndAddMessage(focusableElements[0], 'Confirmation dialog has been opened', this.dialogElement.refs.dialogLiveRegion);
207
+ };
208
+ ComponentModal.prototype.updateView = function () {
209
+ let valueAsString = this.component.getValueAsString(this.currentValue);
210
+ if (this.component.type === 'select') {
211
+ valueAsString = this.currentValue ? this.component.getValueAsString(this.currentValue) : '';
212
+ }
213
+ const modalButtonValue = valueAsString || this.component.t('Click to set value');
214
+ this.refs.openModal.innerHTML = modalButtonValue;
215
+ this.refs.modalLabelValue.innerHTML = `. ${modalButtonValue}`;
216
+ };
217
+ exports.default = ComponentModal;
@@ -0,0 +1,6 @@
1
+ import editForm from './Container.form';
2
+ declare const Container: any;
3
+ export default class ContainerComponent extends Container {
4
+ static editForm: typeof editForm;
5
+ }
6
+ export {};
@@ -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.container.editForm;
8
+ const Container_edit_data_1 = __importDefault(require("./editForm/Container.edit.data"));
9
+ const Container_edit_display_1 = __importDefault(require("./editForm/Container.edit.display"));
10
+ function default_1(...extend) {
11
+ return baseEditForm([
12
+ {
13
+ key: 'display',
14
+ components: Container_edit_display_1.default,
15
+ },
16
+ {
17
+ key: 'data',
18
+ components: Container_edit_data_1.default,
19
+ },
20
+ ], ...extend);
21
+ }
22
+ 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 Container_form_1 = __importDefault(require("./Container.form"));
8
+ const Container = js_1.Components.components.container;
9
+ class ContainerComponent extends Container {
10
+ }
11
+ exports.default = ContainerComponent;
12
+ ContainerComponent.editForm = Container_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: 'redrawOn',
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,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.default = [
4
+ {
5
+ key: 'labelPosition',
6
+ ignore: true,
7
+ },
8
+ {
9
+ key: 'hideLabel',
10
+ ignore: true,
11
+ },
12
+ ];
@@ -0,0 +1,6 @@
1
+ import editForm from './Content.form';
2
+ declare const Content: any;
3
+ export default class ContentComponent extends Content {
4
+ static editForm: typeof editForm;
5
+ }
6
+ export {};
@@ -0,0 +1 @@
1
+ export default function (...extend: any[]): any;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const js_1 = require("@formio/js");
4
+ const baseEditForm = js_1.Components.components.content.editForm;
5
+ function default_1(...extend) {
6
+ return baseEditForm(...extend);
7
+ }
8
+ 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 Content_form_1 = __importDefault(require("./Content.form"));
8
+ const Content = js_1.Components.components.content;
9
+ class ContentComponent extends Content {
10
+ }
11
+ exports.default = ContentComponent;
12
+ ContentComponent.editForm = Content_form_1.default;
@@ -0,0 +1,6 @@
1
+ import editForm from './Currency.form';
2
+ declare const Currency: any;
3
+ export default class CurrencyComponent extends Currency {
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 Currency_edit_display_1 = __importDefault(require("./editForm/Currency.edit.display"));
8
+ const Currency_edit_data_1 = __importDefault(require("./editForm/Currency.edit.data"));
9
+ const Currency_edit_validation_1 = __importDefault(require("./editForm/Currency.edit.validation"));
10
+ function default_1(...extend) {
11
+ return (0, TextField_form_1.default)([
12
+ {
13
+ key: 'display',
14
+ components: Currency_edit_display_1.default,
15
+ },
16
+ {
17
+ key: 'data',
18
+ components: Currency_edit_data_1.default,
19
+ },
20
+ {
21
+ key: 'validation',
22
+ components: Currency_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 Currency_form_1 = __importDefault(require("./Currency.form"));
8
+ const Currency = js_1.Components.components.currency;
9
+ class CurrencyComponent extends Currency {
10
+ }
11
+ exports.default = CurrencyComponent;
12
+ CurrencyComponent.editForm = Currency_form_1.default;
@@ -0,0 +1,17 @@
1
+ declare const _default: {
2
+ type: string;
3
+ input: boolean;
4
+ weight: number;
5
+ key: string;
6
+ label: string;
7
+ tooltip: string;
8
+ defaultValue: string;
9
+ dataSrc: string;
10
+ data: {
11
+ values: {
12
+ label: string;
13
+ value: string;
14
+ }[];
15
+ };
16
+ }[];
17
+ export default _default;
@@ -0,0 +1,188 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.default = [
4
+ {
5
+ type: 'select',
6
+ input: true,
7
+ weight: 50,
8
+ key: 'currency',
9
+ label: 'Currency',
10
+ tooltip: 'The currency to use in currency formatting. Possible values are (ISO-4217) currency codes.',
11
+ defaultValue: 'USD',
12
+ dataSrc: 'values',
13
+ data: {
14
+ values: [
15
+ { label: 'US Dollar (USD)', value: 'USD' },
16
+ { label: 'Euro (EUR)', value: 'EUR' },
17
+ { label: 'Pound Sterling (GBP)', value: 'GBP' },
18
+ { label: 'Australian Dollar (AUD)', value: 'AUD' },
19
+ { label: 'Afghani (AFN)', value: 'AFN' },
20
+ { label: 'Lek (ALL)', value: 'ALL' },
21
+ { label: 'Algerian Dinar (DZD)', value: 'DZD' },
22
+ { label: 'Kwanza (AOA)', value: 'AOA' },
23
+ { label: 'East Caribbean Dollar (XCD)', value: 'XCD' },
24
+ { label: 'Argentine Peso (ARS)', value: 'ARS' },
25
+ { label: 'Armenian Dram (AMD)', value: 'AMD' },
26
+ { label: 'Aruban Florin (AWG)', value: 'AWG' },
27
+ { label: 'Azerbaijan Manat (AZN)', value: 'AZN' },
28
+ { label: 'Bahamian Dollar (BSD)', value: 'BSD' },
29
+ { label: 'Bahraini Dinar (BHD)', value: 'BHD' },
30
+ { label: 'Taka (BDT)', value: 'BDT' },
31
+ { label: 'Barbados Dollar (BBD)', value: 'BBD' },
32
+ { label: 'Belarusian Ruble (BYN)', value: 'BYN' },
33
+ { label: 'Belize Dollar (BZD)', value: 'BZD' },
34
+ { label: 'CFA Franc BCEAO (XOF)', value: 'XOF' },
35
+ { label: 'Bermudian Dollar (BMD)', value: 'BMD' },
36
+ { label: 'Indian Rupee (INR)', value: 'INR' },
37
+ { label: 'Ngultrum (BTN)', value: 'BTN' },
38
+ { label: 'Boliviano (BOB)', value: 'BOB' },
39
+ { label: 'Mvdol (BOV)', value: 'BOV' },
40
+ { label: 'Convertible Mark (BAM)', value: 'BAM' },
41
+ { label: 'Pula (BWP)', value: 'BWP' },
42
+ { label: 'Norwegian Krone (NOK)', value: 'NOK' },
43
+ { label: 'Brazilian Real (BRL)', value: 'BRL' },
44
+ { label: 'Brunei Dollar (BND)', value: 'BND' },
45
+ { label: 'Bulgarian Lev (BGN)', value: 'BGN' },
46
+ { label: 'Burundi Franc (BIF)', value: 'BIF' },
47
+ { label: 'Cabo Verde Escudo (CVE)', value: 'CVE' },
48
+ { label: 'Riel (KHR)', value: 'KHR' },
49
+ { label: 'CFA Franc BEAC (XAF)', value: 'XAF' },
50
+ { label: 'Canadian Dollar (CAD)', value: 'CAD' },
51
+ { label: 'Cayman Islands Dollar (KYD)', value: 'KYD' },
52
+ { label: 'Chilean Peso (CLP)', value: 'CLP' },
53
+ { label: 'Unidad de Fomento (CLF)', value: 'CLF' },
54
+ { label: 'Yuan Renminbi (CNY)', value: 'CNY' },
55
+ { label: 'Colombian Peso (COP)', value: 'COP' },
56
+ { label: 'Unidad de Valor Real (COU)', value: 'COU' },
57
+ { label: 'Comorian Franc (KMF)', value: 'KMF' },
58
+ { label: 'Congolese Franc (CDF)', value: 'CDF' },
59
+ { label: 'New Zealand Dollar (NZD)', value: 'NZD' },
60
+ { label: 'Costa Rican Colon (CRC)', value: 'CRC' },
61
+ { label: 'Kuna (HRK)', value: 'HRK' },
62
+ { label: 'Cuban Peso (CUP)', value: 'CUP' },
63
+ { label: 'Peso Convertible (CUC)', value: 'CUC' },
64
+ { label: 'Netherlands Antillean Guilder (ANG)', value: 'ANG' },
65
+ { label: 'Czech Koruna (CZK)', value: 'CZK' },
66
+ { label: 'Danish Krone (DKK)', value: 'DKK' },
67
+ { label: 'Djibouti Franc (DJF)', value: 'DJF' },
68
+ { label: 'Dominican Peso (DOP)', value: 'DOP' },
69
+ { label: 'Egyptian Pound (EGP)', value: 'EGP' },
70
+ { label: 'El Salvador Colon (SVC)', value: 'SVC' },
71
+ { label: 'Nakfa (ERN)', value: 'ERN' },
72
+ { label: 'Ethiopian Birr (ETB)', value: 'ETB' },
73
+ { label: 'Falkland Islands Pound (FKP)', value: 'FKP' },
74
+ { label: 'Fiji Dollar (FJD)', value: 'FJD' },
75
+ { label: 'CFP Franc (XPF)', value: 'XPF' },
76
+ { label: 'Dalasi (GMD)', value: 'GMD' },
77
+ { label: 'Lari (GEL)', value: 'GEL' },
78
+ { label: 'Ghana Cedi (GHS)', value: 'GHS' },
79
+ { label: 'Gibraltar Pound (GIP)', value: 'GIP' },
80
+ { label: 'Quetzal (GTQ)', value: 'GTQ' },
81
+ { label: 'Guinean Franc (GNF)', value: 'GNF' },
82
+ { label: 'Guyana Dollar (GYD)', value: 'GYD' },
83
+ { label: 'Gourde (HTG)', value: 'HTG' },
84
+ { label: 'Lempira (HNL)', value: 'HNL' },
85
+ { label: 'Hong Kong Dollar (HKD)', value: 'HKD' },
86
+ { label: 'Forint (HUF)', value: 'HUF' },
87
+ { label: 'Iceland Krona (ISK)', value: 'ISK' },
88
+ { label: 'Indian Rupee (INR)', value: 'INR' },
89
+ { label: 'Rupiah (IDR)', value: 'IDR' },
90
+ { label: 'SDR (Special Drawing Right) (XDR)', value: 'XDR' },
91
+ { label: 'Iranian Rial (IRR)', value: 'IRR' },
92
+ { label: 'Iraqi Dinar (IQD)', value: 'IQD' },
93
+ { label: 'New Israeli Sheqel (ILS)', value: 'ILS' },
94
+ { label: 'Jamaican Dollar (JMD)', value: 'JMD' },
95
+ { label: 'Yen (JPY)', value: 'JPY' },
96
+ { label: 'Jordanian Dinar (JOD)', value: 'JOD' },
97
+ { label: 'Tenge (KZT)', value: 'KZT' },
98
+ { label: 'Kenyan Shilling (KES)', value: 'KES' },
99
+ { label: 'North Korean Won (KPW)', value: 'KPW' },
100
+ { label: 'Won (KRW)', value: 'KRW' },
101
+ { label: 'Kuwaiti Dinar (KWD)', value: 'KWD' },
102
+ { label: 'Som (KGS)', value: 'KGS' },
103
+ { label: 'Lao Kip (LAK)', value: 'LAK' },
104
+ { label: 'Lebanese Pound (LBP)', value: 'LBP' },
105
+ { label: 'Loti (LSL)', value: 'LSL' },
106
+ { label: 'Rand (ZAR)', value: 'ZAR' },
107
+ { label: 'Liberian Dollar (LRD)', value: 'LRD' },
108
+ { label: 'Libyan Dinar (LYD)', value: 'LYD' },
109
+ { label: 'Swiss Franc (CHF)', value: 'CHF' },
110
+ { label: 'Pataca (MOP)', value: 'MOP' },
111
+ { label: 'Denar (MKD)', value: 'MKD' },
112
+ { label: 'Malagasy Ariary (MGA)', value: 'MGA' },
113
+ { label: 'Malawi Kwacha (MWK)', value: 'MWK' },
114
+ { label: 'Malaysian Ringgit (MYR)', value: 'MYR' },
115
+ { label: 'Rufiyaa (MVR)', value: 'MVR' },
116
+ { label: 'Ouguiya (MRU)', value: 'MRU' },
117
+ { label: 'Mauritius Rupee (MUR)', value: 'MUR' },
118
+ { label: 'ADB Unit of Account (XUA)', value: 'XUA' },
119
+ { label: 'Mexican Peso (MXN)', value: 'MXN' },
120
+ { label: 'Mexican Unidad de Inversion (UDI) (MXV)', value: 'MXV' },
121
+ { label: 'Moldovan Leu (MDL)', value: 'MDL' },
122
+ { label: 'Tugrik (MNT)', value: 'MNT' },
123
+ { label: 'Moroccan Dirham (MAD)', value: 'MAD' },
124
+ { label: 'Mozambique Metical (MZN)', value: 'MZN' },
125
+ { label: 'Kyat (MMK)', value: 'MMK' },
126
+ { label: 'Namibia Dollar (NAD)', value: 'NAD' },
127
+ { label: 'Nepalese Rupee (NPR)', value: 'NPR' },
128
+ { label: 'Cordoba Oro (NIO)', value: 'NIO' },
129
+ { label: 'Naira (NGN)', value: 'NGN' },
130
+ { label: 'Rial Omani (OMR)', value: 'OMR' },
131
+ { label: 'Pakistan Rupee (PKR)', value: 'PKR' },
132
+ { label: 'Balboa (PAB)', value: 'PAB' },
133
+ { label: 'Kina (PGK)', value: 'PGK' },
134
+ { label: 'Guarani (PYG)', value: 'PYG' },
135
+ { label: 'Sol (PEN)', value: 'PEN' },
136
+ { label: 'Philippine Peso (PHP)', value: 'PHP' },
137
+ { label: 'Zloty (PLN)', value: 'PLN' },
138
+ { label: 'Qatari Rial (QAR)', value: 'QAR' },
139
+ { label: 'Romanian Leu (RON)', value: 'RON' },
140
+ { label: 'Russian Ruble (RUB)', value: 'RUB' },
141
+ { label: 'Rwanda Franc (RWF)', value: 'RWF' },
142
+ { label: 'Saint Helena Pound (SHP)', value: 'SHP' },
143
+ { label: 'Tala (WST)', value: 'WST' },
144
+ { label: 'Dobra (STN)', value: 'STN' },
145
+ { label: 'Saudi Riyal (SAR)', value: 'SAR' },
146
+ { label: 'Serbian Dinar (RSD)', value: 'RSD' },
147
+ { label: 'Seychelles Rupee (SCR)', value: 'SCR' },
148
+ { label: 'Leone (SLL)', value: 'SLL' },
149
+ { label: 'Singapore Dollar (SGD)', value: 'SGD' },
150
+ { label: 'Sucre (XSU)', value: 'XSU' },
151
+ { label: 'Solomon Islands Dollar (SBD)', value: 'SBD' },
152
+ { label: 'Somali Shilling (SOS)', value: 'SOS' },
153
+ { label: 'South Sudanese Pound (SSP)', value: 'SSP' },
154
+ { label: 'Sri Lanka Rupee (LKR)', value: 'LKR' },
155
+ { label: 'Sudanese Pound (SDG)', value: 'SDG' },
156
+ { label: 'Surinam Dollar (SRD)', value: 'SRD' },
157
+ { label: 'Lilangeni (SZL)', value: 'SZL' },
158
+ { label: 'Swedish Krona (SEK)', value: 'SEK' },
159
+ { label: 'WIR Euro (CHE)', value: 'CHE' },
160
+ { label: 'WIR Franc (CHW)', value: 'CHW' },
161
+ { label: 'Syrian Pound (SYP)', value: 'SYP' },
162
+ { label: 'New Taiwan Dollar (TWD)', value: 'TWD' },
163
+ { label: 'Somoni (TJS)', value: 'TJS' },
164
+ { label: 'Tanzanian Shilling (TZS)', value: 'TZS' },
165
+ { label: 'Baht (THB)', value: 'THB' },
166
+ { label: 'Pa’anga (TOP)', value: 'TOP' },
167
+ { label: 'Trinidad and Tobago Dollar (TTD)', value: 'TTD' },
168
+ { label: 'Tunisian Dinar (TND)', value: 'TND' },
169
+ { label: 'Turkish Lira (TRY)', value: 'TRY' },
170
+ { label: 'Turkmenistan New Manat (TMT)', value: 'TMT' },
171
+ { label: 'Uganda Shilling (UGX)', value: 'UGX' },
172
+ { label: 'Hryvnia (UAH)', value: 'UAH' },
173
+ { label: 'UAE Dirham (AED)', value: 'AED' },
174
+ { label: 'US Dollar (Next day) (USN)', value: 'USN' },
175
+ { label: 'Peso Uruguayo (UYU)', value: 'UYU' },
176
+ { label: 'Uruguay Peso en Unidades Indexadas (UYI)', value: 'UYI' },
177
+ { label: 'Unidad Previsional (UYW)', value: 'UYW' },
178
+ { label: 'Uzbekistan Sum (UZS)', value: 'UZS' },
179
+ { label: 'Vatu (VUV)', value: 'VUV' },
180
+ { label: 'Bolívar Soberano (VES)', value: 'VES' },
181
+ { label: 'Dong (VND)', value: 'VND' },
182
+ { label: 'Yemeni Rial (YER)', value: 'YER' },
183
+ { label: 'Zambian Kwacha (ZMW)', value: 'ZMW' },
184
+ { label: 'Zimbabwe Dollar (ZWL),', value: 'ZWL' },
185
+ ],
186
+ },
187
+ },
188
+ ];
@@ -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,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.default = [
4
+ {
5
+ key: 'validate.minLength',
6
+ ignore: true,
7
+ },
8
+ {
9
+ key: 'validate.maxLength',
10
+ ignore: true,
11
+ },
12
+ {
13
+ key: 'validate.minWords',
14
+ ignore: true,
15
+ },
16
+ {
17
+ key: 'validate.maxWords',
18
+ ignore: true,
19
+ },
20
+ {
21
+ key: 'validate.pattern',
22
+ ignore: true,
23
+ },
24
+ ];
@@ -0,0 +1,5 @@
1
+ declare const DataGrid: any;
2
+ export default class DataGridComponent extends DataGrid {
3
+ static get builderInfo(): {};
4
+ }
5
+ export {};