@icure/form 1.0.12 → 1.0.13

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 (380) hide show
  1. package/package.json +12 -12
  2. package/{components → src/components}/index.d.ts +0 -0
  3. package/{components → src/components}/index.js +5 -1
  4. package/src/components/index.js.map +1 -0
  5. package/{components → src/components}/iqr-form/fields/datePicker.d.ts +0 -0
  6. package/{components → src/components}/iqr-form/fields/datePicker.js +5 -5
  7. package/src/components/iqr-form/fields/datePicker.js.map +1 -0
  8. package/{components → src/components}/iqr-form/fields/dateTimePicker.d.ts +0 -0
  9. package/{components → src/components}/iqr-form/fields/dateTimePicker.js +5 -5
  10. package/src/components/iqr-form/fields/dateTimePicker.js.map +1 -0
  11. package/{components → src/components}/iqr-form/fields/measureField.d.ts +0 -0
  12. package/{components → src/components}/iqr-form/fields/measureField.js +4 -4
  13. package/src/components/iqr-form/fields/measureField.js.map +1 -0
  14. package/{components → src/components}/iqr-form/fields/multipleChoice.d.ts +0 -0
  15. package/{components → src/components}/iqr-form/fields/multipleChoice.js +4 -4
  16. package/src/components/iqr-form/fields/multipleChoice.js.map +1 -0
  17. package/{components → src/components}/iqr-form/fields/numberField.d.ts +0 -0
  18. package/{components → src/components}/iqr-form/fields/numberField.js +4 -4
  19. package/src/components/iqr-form/fields/numberField.js.map +1 -0
  20. package/{components → src/components}/iqr-form/fields/textfield.d.ts +0 -0
  21. package/{components → src/components}/iqr-form/fields/textfield.js +38 -35
  22. package/src/components/iqr-form/fields/textfield.js.map +1 -0
  23. package/{components → src/components}/iqr-form/fields/timePicker.d.ts +0 -0
  24. package/{components → src/components}/iqr-form/fields/timePicker.js +5 -5
  25. package/src/components/iqr-form/fields/timePicker.js.map +1 -0
  26. package/{components → src/components}/iqr-form/index.d.ts +0 -0
  27. package/src/components/iqr-form/index.js +89 -0
  28. package/src/components/iqr-form/index.js.map +1 -0
  29. package/{components → src/components}/iqr-form/legacy/Content.d.ts +0 -0
  30. package/{components → src/components}/iqr-form/legacy/Content.js +0 -0
  31. package/src/components/iqr-form/legacy/Content.js.map +1 -0
  32. package/{components → src/components}/iqr-form/legacy/Data.d.ts +0 -0
  33. package/{components → src/components}/iqr-form/legacy/Data.js +0 -0
  34. package/src/components/iqr-form/legacy/Data.js.map +1 -0
  35. package/{components → src/components}/iqr-form/legacy/Editor.d.ts +0 -0
  36. package/{components → src/components}/iqr-form/legacy/Editor.js +0 -0
  37. package/src/components/iqr-form/legacy/Editor.js.map +1 -0
  38. package/{components → src/components}/iqr-form/legacy/FormColumn.d.ts +0 -0
  39. package/{components → src/components}/iqr-form/legacy/FormColumn.js +0 -0
  40. package/src/components/iqr-form/legacy/FormColumn.js.map +1 -0
  41. package/{components → src/components}/iqr-form/legacy/FormDataOption.d.ts +0 -0
  42. package/{components → src/components}/iqr-form/legacy/FormDataOption.js +0 -0
  43. package/src/components/iqr-form/legacy/FormDataOption.js.map +1 -0
  44. package/{components → src/components}/iqr-form/legacy/FormLayout.d.ts +0 -0
  45. package/{components → src/components}/iqr-form/legacy/FormLayout.js +0 -0
  46. package/src/components/iqr-form/legacy/FormLayout.js.map +1 -0
  47. package/{components → src/components}/iqr-form/legacy/FormLayoutData.d.ts +0 -0
  48. package/{components → src/components}/iqr-form/legacy/FormLayoutData.js +0 -0
  49. package/src/components/iqr-form/legacy/FormLayoutData.js.map +1 -0
  50. package/{components → src/components}/iqr-form/legacy/FormPlanning.d.ts +0 -0
  51. package/{components → src/components}/iqr-form/legacy/FormPlanning.js +0 -0
  52. package/src/components/iqr-form/legacy/FormPlanning.js.map +1 -0
  53. package/{components → src/components}/iqr-form/legacy/FormSection.d.ts +0 -0
  54. package/{components → src/components}/iqr-form/legacy/FormSection.js +0 -0
  55. package/src/components/iqr-form/legacy/FormSection.js.map +1 -0
  56. package/{components → src/components}/iqr-form/legacy/Formula.d.ts +0 -0
  57. package/{components → src/components}/iqr-form/legacy/Formula.js +0 -0
  58. package/src/components/iqr-form/legacy/Formula.js.map +1 -0
  59. package/{components → src/components}/iqr-form/legacy/GuiCode.d.ts +0 -0
  60. package/{components → src/components}/iqr-form/legacy/GuiCode.js +0 -0
  61. package/src/components/iqr-form/legacy/GuiCode.js.map +1 -0
  62. package/{components → src/components}/iqr-form/legacy/GuiCodeType.d.ts +0 -0
  63. package/{components → src/components}/iqr-form/legacy/GuiCodeType.js +0 -0
  64. package/src/components/iqr-form/legacy/GuiCodeType.js.map +1 -0
  65. package/{components → src/components}/iqr-form/legacy/Suggest.d.ts +0 -0
  66. package/{components → src/components}/iqr-form/legacy/Suggest.js +0 -0
  67. package/src/components/iqr-form/legacy/Suggest.js.map +1 -0
  68. package/{components → src/components}/iqr-form/legacy/Tag.d.ts +0 -0
  69. package/{components → src/components}/iqr-form/legacy/Tag.js +0 -0
  70. package/src/components/iqr-form/legacy/Tag.js.map +1 -0
  71. package/{components → src/components}/iqr-form/model/index.d.ts +0 -0
  72. package/{components → src/components}/iqr-form/model/index.js +0 -0
  73. package/src/components/iqr-form/model/index.js.map +1 -0
  74. package/{components → src/components}/iqr-form/renderer/cards.d.ts +0 -0
  75. package/src/components/iqr-form/renderer/cards.js +55 -0
  76. package/src/components/iqr-form/renderer/cards.js.map +1 -0
  77. package/{components → src/components}/iqr-form/renderer/form.d.ts +0 -0
  78. package/{components → src/components}/iqr-form/renderer/form.js +28 -28
  79. package/src/components/iqr-form/renderer/form.js.map +1 -0
  80. package/{components → src/components}/iqr-form/renderer/index.d.ts +0 -0
  81. package/{components → src/components}/iqr-form/renderer/index.js +0 -0
  82. package/src/components/iqr-form/renderer/index.js.map +1 -0
  83. package/{components → src/components}/iqr-form/utils.d.ts +0 -0
  84. package/{components → src/components}/iqr-form/utils.js +4 -4
  85. package/src/components/iqr-form/utils.js.map +1 -0
  86. package/{components → src/components}/iqr-form-loader/fieldsValuesProviders.d.ts +0 -0
  87. package/{components → src/components}/iqr-form-loader/fieldsValuesProviders.js +7 -7
  88. package/src/components/iqr-form-loader/fieldsValuesProviders.js.map +1 -0
  89. package/{components → src/components}/iqr-form-loader/formValuesContainer.d.ts +0 -0
  90. package/{components → src/components}/iqr-form-loader/formValuesContainer.js +7 -7
  91. package/src/components/iqr-form-loader/formValuesContainer.js.map +1 -0
  92. package/{components → src/components}/iqr-form-loader/index.d.ts +0 -0
  93. package/{components → src/components}/iqr-form-loader/index.js +5 -1
  94. package/src/components/iqr-form-loader/index.js.map +1 -0
  95. package/{components → src/components}/iqr-form-loader/models.d.ts +0 -0
  96. package/{components → src/components}/iqr-form-loader/models.js +0 -0
  97. package/src/components/iqr-form-loader/models.js.map +1 -0
  98. package/{components → src/components}/iqr-text-field/index.d.ts +0 -0
  99. package/src/components/iqr-text-field/index.js +490 -0
  100. package/src/components/iqr-text-field/index.js.map +1 -0
  101. package/{components → src/components}/iqr-text-field/plugin/caret-fix-plugin.d.ts +0 -0
  102. package/{components → src/components}/iqr-text-field/plugin/caret-fix-plugin.js +0 -0
  103. package/src/components/iqr-text-field/plugin/caret-fix-plugin.js.map +1 -0
  104. package/{components → src/components}/iqr-text-field/plugin/has-content-class-plugin.d.ts +0 -0
  105. package/{components → src/components}/iqr-text-field/plugin/has-content-class-plugin.js +0 -0
  106. package/src/components/iqr-text-field/plugin/has-content-class-plugin.js.map +1 -0
  107. package/{components → src/components}/iqr-text-field/plugin/mask-plugin.d.ts +0 -0
  108. package/{components → src/components}/iqr-text-field/plugin/mask-plugin.js +0 -0
  109. package/src/components/iqr-text-field/plugin/mask-plugin.js.map +1 -0
  110. package/{components → src/components}/iqr-text-field/plugin/regexp-plugin.d.ts +0 -0
  111. package/{components → src/components}/iqr-text-field/plugin/regexp-plugin.js +0 -0
  112. package/src/components/iqr-text-field/plugin/regexp-plugin.js.map +1 -0
  113. package/{components → src/components}/iqr-text-field/prosemirror-commands.d.ts +0 -0
  114. package/{components → src/components}/iqr-text-field/prosemirror-commands.js +2 -2
  115. package/src/components/iqr-text-field/prosemirror-commands.js.map +1 -0
  116. package/{components → src/components}/iqr-text-field/prosemirror-utils.d.ts +0 -0
  117. package/{components → src/components}/iqr-text-field/prosemirror-utils.js +0 -0
  118. package/src/components/iqr-text-field/prosemirror-utils.js.map +1 -0
  119. package/{components → src/components}/iqr-text-field/schema/common-marks.d.ts +0 -0
  120. package/{components → src/components}/iqr-text-field/schema/common-marks.js +0 -0
  121. package/src/components/iqr-text-field/schema/common-marks.js.map +1 -0
  122. package/{components → src/components}/iqr-text-field/schema/date-time-schema.d.ts +0 -0
  123. package/{components → src/components}/iqr-text-field/schema/date-time-schema.js +0 -0
  124. package/src/components/iqr-text-field/schema/date-time-schema.js.map +1 -0
  125. package/{components → src/components}/iqr-text-field/schema/decimal-schema.d.ts +0 -0
  126. package/{components → src/components}/iqr-text-field/schema/decimal-schema.js +0 -0
  127. package/src/components/iqr-text-field/schema/decimal-schema.js.map +1 -0
  128. package/{components → src/components}/iqr-text-field/schema/index.d.ts +0 -0
  129. package/{components → src/components}/iqr-text-field/schema/index.js +7 -7
  130. package/src/components/iqr-text-field/schema/index.js.map +1 -0
  131. package/{components → src/components}/iqr-text-field/schema/markdown-schema.d.ts +0 -0
  132. package/{components → src/components}/iqr-text-field/schema/markdown-schema.js +2 -2
  133. package/src/components/iqr-text-field/schema/markdown-schema.js.map +1 -0
  134. package/{components → src/components}/iqr-text-field/schema/measure-schema.d.ts +0 -0
  135. package/{components → src/components}/iqr-text-field/schema/measure-schema.js +0 -0
  136. package/src/components/iqr-text-field/schema/measure-schema.js.map +1 -0
  137. package/{components → src/components}/iqr-text-field/schema/token-schema.d.ts +0 -0
  138. package/{components → src/components}/iqr-text-field/schema/token-schema.js +2 -2
  139. package/src/components/iqr-text-field/schema/token-schema.js.map +1 -0
  140. package/{components → src/components}/iqr-text-field/schema/utils.d.ts +0 -0
  141. package/{components → src/components}/iqr-text-field/schema/utils.js +0 -0
  142. package/src/components/iqr-text-field/schema/utils.js.map +1 -0
  143. package/{components → src/components}/iqr-text-field/selection-companion.d.ts +0 -0
  144. package/{components → src/components}/iqr-text-field/selection-companion.js +0 -0
  145. package/src/components/iqr-text-field/selection-companion.js.map +1 -0
  146. package/{components → src/components}/iqr-text-field/styles/paths.d.ts +0 -0
  147. package/{components → src/components}/iqr-text-field/styles/paths.js +5 -5
  148. package/src/components/iqr-text-field/styles/paths.js.map +1 -0
  149. package/{components → src/components}/iqr-text-field/suggestion-palette.d.ts +0 -0
  150. package/{components → src/components}/iqr-text-field/suggestion-palette.js +1 -1
  151. package/src/components/iqr-text-field/suggestion-palette.js.map +1 -0
  152. package/{index.d.ts → src/index.d.ts} +0 -0
  153. package/{index.js → src/index.js} +5 -1
  154. package/src/index.js.map +1 -0
  155. package/{utils → src/utils}/icure-utils.d.ts +0 -0
  156. package/{utils → src/utils}/icure-utils.js +3 -3
  157. package/src/utils/icure-utils.js.map +1 -0
  158. package/{utils → src/utils}/languages.d.ts +0 -0
  159. package/{utils → src/utils}/languages.js +0 -0
  160. package/src/utils/languages.js.map +1 -0
  161. package/{utils → src/utils}/no-lodash.d.ts +0 -0
  162. package/{utils → src/utils}/no-lodash.js +0 -0
  163. package/src/utils/no-lodash.js.map +1 -0
  164. package/tmp/components/index.d.ts +2 -0
  165. package/tmp/components/index.js +19 -0
  166. package/tmp/components/index.js.map +1 -0
  167. package/tmp/components/iqr-form/fields/datePicker.d.ts +10 -0
  168. package/tmp/components/iqr-form/fields/datePicker.js +57 -0
  169. package/tmp/components/iqr-form/fields/datePicker.js.map +1 -0
  170. package/tmp/components/iqr-form/fields/dateTimePicker.d.ts +10 -0
  171. package/tmp/components/iqr-form/fields/dateTimePicker.js +49 -0
  172. package/tmp/components/iqr-form/fields/dateTimePicker.js.map +1 -0
  173. package/tmp/components/iqr-form/fields/measureField.d.ts +8 -0
  174. package/tmp/components/iqr-form/fields/measureField.js +44 -0
  175. package/tmp/components/iqr-form/fields/measureField.js.map +1 -0
  176. package/tmp/components/iqr-form/fields/multipleChoice.d.ts +8 -0
  177. package/tmp/components/iqr-form/fields/multipleChoice.js +44 -0
  178. package/tmp/components/iqr-form/fields/multipleChoice.js.map +1 -0
  179. package/tmp/components/iqr-form/fields/numberField.d.ts +8 -0
  180. package/tmp/components/iqr-form/fields/numberField.js +44 -0
  181. package/tmp/components/iqr-form/fields/numberField.js.map +1 -0
  182. package/tmp/components/iqr-form/fields/textfield.d.ts +1 -0
  183. package/tmp/components/iqr-form/fields/textfield.js +142 -0
  184. package/tmp/components/iqr-form/fields/textfield.js.map +1 -0
  185. package/tmp/components/iqr-form/fields/timePicker.d.ts +10 -0
  186. package/tmp/components/iqr-form/fields/timePicker.js +49 -0
  187. package/tmp/components/iqr-form/fields/timePicker.js.map +1 -0
  188. package/tmp/components/iqr-form/index.d.ts +7 -0
  189. package/{components → tmp/components}/iqr-form/index.js +10 -10
  190. package/tmp/components/iqr-form/index.js.map +1 -0
  191. package/tmp/components/iqr-form/legacy/Content.d.ts +28 -0
  192. package/tmp/components/iqr-form/legacy/Content.js +30 -0
  193. package/tmp/components/iqr-form/legacy/Content.js.map +1 -0
  194. package/tmp/components/iqr-form/legacy/Data.d.ts +14 -0
  195. package/tmp/components/iqr-form/legacy/Data.js +21 -0
  196. package/tmp/components/iqr-form/legacy/Data.js.map +1 -0
  197. package/tmp/components/iqr-form/legacy/Editor.d.ts +34 -0
  198. package/tmp/components/iqr-form/legacy/Editor.js +19 -0
  199. package/tmp/components/iqr-form/legacy/Editor.js.map +1 -0
  200. package/tmp/components/iqr-form/legacy/FormColumn.d.ts +18 -0
  201. package/tmp/components/iqr-form/legacy/FormColumn.js +10 -0
  202. package/tmp/components/iqr-form/legacy/FormColumn.js.map +1 -0
  203. package/tmp/components/iqr-form/legacy/FormDataOption.d.ts +16 -0
  204. package/tmp/components/iqr-form/legacy/FormDataOption.js +21 -0
  205. package/tmp/components/iqr-form/legacy/FormDataOption.js.map +1 -0
  206. package/tmp/components/iqr-form/legacy/FormLayout.d.ts +25 -0
  207. package/tmp/components/iqr-form/legacy/FormLayout.js +10 -0
  208. package/tmp/components/iqr-form/legacy/FormLayout.js.map +1 -0
  209. package/tmp/components/iqr-form/legacy/FormLayoutData.d.ts +42 -0
  210. package/tmp/components/iqr-form/legacy/FormLayoutData.js +10 -0
  211. package/tmp/components/iqr-form/legacy/FormLayoutData.js.map +1 -0
  212. package/tmp/components/iqr-form/legacy/FormPlanning.d.ts +22 -0
  213. package/tmp/components/iqr-form/legacy/FormPlanning.js +21 -0
  214. package/tmp/components/iqr-form/legacy/FormPlanning.js.map +1 -0
  215. package/tmp/components/iqr-form/legacy/FormSection.d.ts +19 -0
  216. package/tmp/components/iqr-form/legacy/FormSection.js +10 -0
  217. package/tmp/components/iqr-form/legacy/FormSection.js.map +1 -0
  218. package/tmp/components/iqr-form/legacy/Formula.d.ts +27 -0
  219. package/tmp/components/iqr-form/legacy/Formula.js +32 -0
  220. package/tmp/components/iqr-form/legacy/Formula.js.map +1 -0
  221. package/tmp/components/iqr-form/legacy/GuiCode.d.ts +16 -0
  222. package/tmp/components/iqr-form/legacy/GuiCode.js +21 -0
  223. package/tmp/components/iqr-form/legacy/GuiCode.js.map +1 -0
  224. package/tmp/components/iqr-form/legacy/GuiCodeType.d.ts +15 -0
  225. package/tmp/components/iqr-form/legacy/GuiCodeType.js +21 -0
  226. package/tmp/components/iqr-form/legacy/GuiCodeType.js.map +1 -0
  227. package/tmp/components/iqr-form/legacy/Suggest.d.ts +19 -0
  228. package/tmp/components/iqr-form/legacy/Suggest.js +21 -0
  229. package/tmp/components/iqr-form/legacy/Suggest.js.map +1 -0
  230. package/tmp/components/iqr-form/legacy/Tag.d.ts +16 -0
  231. package/tmp/components/iqr-form/legacy/Tag.js +21 -0
  232. package/tmp/components/iqr-form/legacy/Tag.js.map +1 -0
  233. package/tmp/components/iqr-form/model/index.d.ts +96 -0
  234. package/tmp/components/iqr-form/model/index.js +120 -0
  235. package/tmp/components/iqr-form/model/index.js.map +1 -0
  236. package/tmp/components/iqr-form/renderer/cards.d.ts +2 -0
  237. package/tmp/components/iqr-form/renderer/cards.js +55 -0
  238. package/tmp/components/iqr-form/renderer/cards.js.map +1 -0
  239. package/tmp/components/iqr-form/renderer/form.d.ts +2 -0
  240. package/tmp/components/iqr-form/renderer/form.js +93 -0
  241. package/tmp/components/iqr-form/renderer/form.js.map +1 -0
  242. package/tmp/components/iqr-form/renderer/index.d.ts +6 -0
  243. package/tmp/components/iqr-form/renderer/index.js +3 -0
  244. package/tmp/components/iqr-form/renderer/index.js.map +1 -0
  245. package/tmp/components/iqr-form/utils.d.ts +5 -0
  246. package/tmp/components/iqr-form/utils.js +91 -0
  247. package/tmp/components/iqr-form/utils.js.map +1 -0
  248. package/tmp/components/iqr-form-loader/fieldsValuesProviders.d.ts +13 -0
  249. package/tmp/components/iqr-form-loader/fieldsValuesProviders.js +47 -0
  250. package/tmp/components/iqr-form-loader/fieldsValuesProviders.js.map +1 -0
  251. package/tmp/components/iqr-form-loader/formValuesContainer.d.ts +33 -0
  252. package/tmp/components/iqr-form-loader/formValuesContainer.js +111 -0
  253. package/tmp/components/iqr-form-loader/formValuesContainer.js.map +1 -0
  254. package/tmp/components/iqr-form-loader/index.d.ts +3 -0
  255. package/tmp/components/iqr-form-loader/index.js +20 -0
  256. package/tmp/components/iqr-form-loader/index.js.map +1 -0
  257. package/tmp/components/iqr-form-loader/models.d.ts +14 -0
  258. package/tmp/components/iqr-form-loader/models.js +3 -0
  259. package/tmp/components/iqr-form-loader/models.js.map +1 -0
  260. package/tmp/components/iqr-text-field/index.d.ts +26 -0
  261. package/{components → tmp/components}/iqr-text-field/index.js +65 -63
  262. package/tmp/components/iqr-text-field/index.js.map +1 -0
  263. package/tmp/components/iqr-text-field/plugin/caret-fix-plugin.d.ts +2 -0
  264. package/tmp/components/iqr-text-field/plugin/caret-fix-plugin.js +29 -0
  265. package/tmp/components/iqr-text-field/plugin/caret-fix-plugin.js.map +1 -0
  266. package/tmp/components/iqr-text-field/plugin/has-content-class-plugin.d.ts +2 -0
  267. package/tmp/components/iqr-text-field/plugin/has-content-class-plugin.js +22 -0
  268. package/tmp/components/iqr-text-field/plugin/has-content-class-plugin.js.map +1 -0
  269. package/tmp/components/iqr-text-field/plugin/mask-plugin.d.ts +2 -0
  270. package/tmp/components/iqr-text-field/plugin/mask-plugin.js +152 -0
  271. package/tmp/components/iqr-text-field/plugin/mask-plugin.js.map +1 -0
  272. package/tmp/components/iqr-text-field/plugin/regexp-plugin.d.ts +2 -0
  273. package/tmp/components/iqr-text-field/plugin/regexp-plugin.js +51 -0
  274. package/tmp/components/iqr-text-field/plugin/regexp-plugin.js.map +1 -0
  275. package/tmp/components/iqr-text-field/prosemirror-commands.d.ts +6 -0
  276. package/tmp/components/iqr-text-field/prosemirror-commands.js +54 -0
  277. package/tmp/components/iqr-text-field/prosemirror-commands.js.map +1 -0
  278. package/tmp/components/iqr-text-field/prosemirror-utils.d.ts +5 -0
  279. package/tmp/components/iqr-text-field/prosemirror-utils.js +16 -0
  280. package/tmp/components/iqr-text-field/prosemirror-utils.js.map +1 -0
  281. package/tmp/components/iqr-text-field/schema/common-marks.d.ts +10 -0
  282. package/tmp/components/iqr-text-field/schema/common-marks.js +94 -0
  283. package/tmp/components/iqr-text-field/schema/common-marks.js.map +1 -0
  284. package/tmp/components/iqr-text-field/schema/date-time-schema.d.ts +7 -0
  285. package/tmp/components/iqr-text-field/schema/date-time-schema.js +89 -0
  286. package/tmp/components/iqr-text-field/schema/date-time-schema.js.map +1 -0
  287. package/tmp/components/iqr-text-field/schema/decimal-schema.d.ts +3 -0
  288. package/tmp/components/iqr-text-field/schema/decimal-schema.js +28 -0
  289. package/tmp/components/iqr-text-field/schema/decimal-schema.js.map +1 -0
  290. package/tmp/components/iqr-text-field/schema/index.d.ts +11 -0
  291. package/tmp/components/iqr-text-field/schema/index.js +26 -0
  292. package/tmp/components/iqr-text-field/schema/index.js.map +1 -0
  293. package/tmp/components/iqr-text-field/schema/markdown-schema.d.ts +8 -0
  294. package/tmp/components/iqr-text-field/schema/markdown-schema.js +173 -0
  295. package/tmp/components/iqr-text-field/schema/markdown-schema.js.map +1 -0
  296. package/tmp/components/iqr-text-field/schema/measure-schema.d.ts +3 -0
  297. package/tmp/components/iqr-text-field/schema/measure-schema.js +36 -0
  298. package/tmp/components/iqr-text-field/schema/measure-schema.js.map +1 -0
  299. package/tmp/components/iqr-text-field/schema/token-schema.d.ts +6 -0
  300. package/tmp/components/iqr-text-field/schema/token-schema.js +40 -0
  301. package/tmp/components/iqr-text-field/schema/token-schema.js.map +1 -0
  302. package/tmp/components/iqr-text-field/schema/utils.d.ts +11 -0
  303. package/tmp/components/iqr-text-field/schema/utils.js +12 -0
  304. package/tmp/components/iqr-text-field/schema/utils.js.map +1 -0
  305. package/tmp/components/iqr-text-field/selection-companion.d.ts +11 -0
  306. package/tmp/components/iqr-text-field/selection-companion.js +54 -0
  307. package/tmp/components/iqr-text-field/selection-companion.js.map +1 -0
  308. package/tmp/components/iqr-text-field/styles/paths.d.ts +5 -0
  309. package/tmp/components/iqr-text-field/styles/paths.js +37 -0
  310. package/tmp/components/iqr-text-field/styles/paths.js.map +1 -0
  311. package/tmp/components/iqr-text-field/suggestion-palette.d.ts +31 -0
  312. package/tmp/components/iqr-text-field/suggestion-palette.js +169 -0
  313. package/tmp/components/iqr-text-field/suggestion-palette.js.map +1 -0
  314. package/tmp/index.d.ts +1 -0
  315. package/tmp/index.js +18 -0
  316. package/tmp/index.js.map +1 -0
  317. package/tmp/utils/icure-utils.d.ts +19 -0
  318. package/tmp/utils/icure-utils.js +106 -0
  319. package/tmp/utils/icure-utils.js.map +1 -0
  320. package/tmp/utils/languages.d.ts +8 -0
  321. package/tmp/utils/languages.js +15 -0
  322. package/tmp/utils/languages.js.map +1 -0
  323. package/tmp/utils/no-lodash.d.ts +5 -0
  324. package/tmp/utils/no-lodash.js +25 -0
  325. package/tmp/utils/no-lodash.js.map +1 -0
  326. package/components/index.js.map +0 -1
  327. package/components/iqr-form/fields/datePicker.js.map +0 -1
  328. package/components/iqr-form/fields/dateTimePicker.js.map +0 -1
  329. package/components/iqr-form/fields/measureField.js.map +0 -1
  330. package/components/iqr-form/fields/multipleChoice.js.map +0 -1
  331. package/components/iqr-form/fields/numberField.js.map +0 -1
  332. package/components/iqr-form/fields/textfield.js.map +0 -1
  333. package/components/iqr-form/fields/timePicker.js.map +0 -1
  334. package/components/iqr-form/index.js.map +0 -1
  335. package/components/iqr-form/legacy/Content.js.map +0 -1
  336. package/components/iqr-form/legacy/Data.js.map +0 -1
  337. package/components/iqr-form/legacy/Editor.js.map +0 -1
  338. package/components/iqr-form/legacy/FormColumn.js.map +0 -1
  339. package/components/iqr-form/legacy/FormDataOption.js.map +0 -1
  340. package/components/iqr-form/legacy/FormLayout.js.map +0 -1
  341. package/components/iqr-form/legacy/FormLayoutData.js.map +0 -1
  342. package/components/iqr-form/legacy/FormPlanning.js.map +0 -1
  343. package/components/iqr-form/legacy/FormSection.js.map +0 -1
  344. package/components/iqr-form/legacy/Formula.js.map +0 -1
  345. package/components/iqr-form/legacy/GuiCode.js.map +0 -1
  346. package/components/iqr-form/legacy/GuiCodeType.js.map +0 -1
  347. package/components/iqr-form/legacy/Suggest.js.map +0 -1
  348. package/components/iqr-form/legacy/Tag.js.map +0 -1
  349. package/components/iqr-form/model/index.js.map +0 -1
  350. package/components/iqr-form/renderer/cards.js +0 -55
  351. package/components/iqr-form/renderer/cards.js.map +0 -1
  352. package/components/iqr-form/renderer/form.js.map +0 -1
  353. package/components/iqr-form/renderer/index.js.map +0 -1
  354. package/components/iqr-form/utils.js.map +0 -1
  355. package/components/iqr-form-loader/fieldsValuesProviders.js.map +0 -1
  356. package/components/iqr-form-loader/formValuesContainer.js.map +0 -1
  357. package/components/iqr-form-loader/index.js.map +0 -1
  358. package/components/iqr-form-loader/models.js.map +0 -1
  359. package/components/iqr-text-field/index.js.map +0 -1
  360. package/components/iqr-text-field/plugin/caret-fix-plugin.js.map +0 -1
  361. package/components/iqr-text-field/plugin/has-content-class-plugin.js.map +0 -1
  362. package/components/iqr-text-field/plugin/mask-plugin.js.map +0 -1
  363. package/components/iqr-text-field/plugin/regexp-plugin.js.map +0 -1
  364. package/components/iqr-text-field/prosemirror-commands.js.map +0 -1
  365. package/components/iqr-text-field/prosemirror-utils.js.map +0 -1
  366. package/components/iqr-text-field/schema/common-marks.js.map +0 -1
  367. package/components/iqr-text-field/schema/date-time-schema.js.map +0 -1
  368. package/components/iqr-text-field/schema/decimal-schema.js.map +0 -1
  369. package/components/iqr-text-field/schema/index.js.map +0 -1
  370. package/components/iqr-text-field/schema/markdown-schema.js.map +0 -1
  371. package/components/iqr-text-field/schema/measure-schema.js.map +0 -1
  372. package/components/iqr-text-field/schema/token-schema.js.map +0 -1
  373. package/components/iqr-text-field/schema/utils.js.map +0 -1
  374. package/components/iqr-text-field/selection-companion.js.map +0 -1
  375. package/components/iqr-text-field/styles/paths.js.map +0 -1
  376. package/components/iqr-text-field/suggestion-palette.js.map +0 -1
  377. package/index.js.map +0 -1
  378. package/utils/icure-utils.js.map +0 -1
  379. package/utils/languages.js.map +0 -1
  380. package/utils/no-lodash.js.map +0 -1
@@ -0,0 +1,25 @@
1
+ /**
2
+ * iCure Cloud API Documentation
3
+ * Spring shop sample application
4
+ *
5
+ * OpenAPI spec version: v0.0.1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by the swagger code generator program.
9
+ * https://github.com/swagger-api/swagger-codegen.git
10
+ * Do not edit the class manually.
11
+ */
12
+ import { FormSection } from './FormSection';
13
+ import { Tag } from './Tag';
14
+ export declare class FormLayout {
15
+ name?: string;
16
+ width?: number;
17
+ height?: number;
18
+ descr?: string;
19
+ tag?: Tag;
20
+ guid?: string;
21
+ group?: string;
22
+ sections?: Array<FormSection>;
23
+ importedServiceXPaths?: Array<string>;
24
+ constructor(json: JSON | any);
25
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FormLayout = void 0;
4
+ class FormLayout {
5
+ constructor(json) {
6
+ Object.assign(this, json);
7
+ }
8
+ }
9
+ exports.FormLayout = FormLayout;
10
+ //# sourceMappingURL=FormLayout.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FormLayout.js","sourceRoot":"","sources":["../../../../../tmp/components/iqr-form/legacy/FormLayout.ts"],"names":[],"mappings":";;;AAcA,MAAa,UAAU;IAWtB,YAAY,IAAgB;QAC3B,MAAM,CAAC,MAAM,CAAC,IAAkB,EAAE,IAAI,CAAC,CAAA;IACxC,CAAC;CACD;AAdD,gCAcC"}
@@ -0,0 +1,42 @@
1
+ /**
2
+ * iCure Cloud API Documentation
3
+ * Spring shop sample application
4
+ *
5
+ * OpenAPI spec version: v0.0.1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by the swagger code generator program.
9
+ * https://github.com/swagger-api/swagger-codegen.git
10
+ * Do not edit the class manually.
11
+ */
12
+ import { Content } from './Content';
13
+ import { Editor } from './Editor';
14
+ import { FormDataOption } from './FormDataOption';
15
+ import { FormPlanning } from './FormPlanning';
16
+ import { Formula } from './Formula';
17
+ import { GuiCode } from './GuiCode';
18
+ import { GuiCodeType } from './GuiCodeType';
19
+ import { Suggest } from './Suggest';
20
+ export declare class FormLayoutData {
21
+ subForm?: boolean;
22
+ irrelevant?: boolean;
23
+ determinesSscontactName?: boolean;
24
+ type?: string;
25
+ name?: string;
26
+ sortOrder?: number;
27
+ options?: {
28
+ [key: string]: FormDataOption;
29
+ };
30
+ descr?: string;
31
+ label?: string;
32
+ editor?: Editor;
33
+ defaultValue?: Array<Content>;
34
+ defaultStatus?: number;
35
+ suggest?: Array<Suggest>;
36
+ plannings?: Array<FormPlanning>;
37
+ tags?: Array<GuiCode>;
38
+ codes?: Array<GuiCode>;
39
+ codeTypes?: Array<GuiCodeType>;
40
+ formulas?: Array<Formula>;
41
+ constructor(json: JSON | any);
42
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FormLayoutData = void 0;
4
+ class FormLayoutData {
5
+ constructor(json) {
6
+ Object.assign(this, json);
7
+ }
8
+ }
9
+ exports.FormLayoutData = FormLayoutData;
10
+ //# sourceMappingURL=FormLayoutData.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FormLayoutData.js","sourceRoot":"","sources":["../../../../../tmp/components/iqr-form/legacy/FormLayoutData.ts"],"names":[],"mappings":";;;AAoBA,MAAa,cAAc;IAoB1B,YAAY,IAAgB;QAC3B,MAAM,CAAC,MAAM,CAAC,IAAsB,EAAE,IAAI,CAAC,CAAA;IAC5C,CAAC;CACD;AAvBD,wCAuBC"}
@@ -0,0 +1,22 @@
1
+ /**
2
+ * iCure Cloud API Documentation
3
+ * Spring shop sample application
4
+ *
5
+ * OpenAPI spec version: v0.0.1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by the swagger code generator program.
9
+ * https://github.com/swagger-api/swagger-codegen.git
10
+ * Do not edit the class manually.
11
+ */
12
+ export declare class FormPlanning {
13
+ planninfForAnyDoctor?: boolean;
14
+ planningForDelegate?: boolean;
15
+ planningForPatientDoctor?: boolean;
16
+ planningForMe?: boolean;
17
+ codedDelayInDays?: number;
18
+ repetitions?: number;
19
+ repetitionsUnit?: number;
20
+ descr?: string;
21
+ constructor(json: JSON | any);
22
+ }
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ /**
3
+ * iCure Cloud API Documentation
4
+ * Spring shop sample application
5
+ *
6
+ * OpenAPI spec version: v0.0.1
7
+ *
8
+ *
9
+ * NOTE: This class is auto generated by the swagger code generator program.
10
+ * https://github.com/swagger-api/swagger-codegen.git
11
+ * Do not edit the class manually.
12
+ */
13
+ Object.defineProperty(exports, "__esModule", { value: true });
14
+ exports.FormPlanning = void 0;
15
+ class FormPlanning {
16
+ constructor(json) {
17
+ Object.assign(this, json);
18
+ }
19
+ }
20
+ exports.FormPlanning = FormPlanning;
21
+ //# sourceMappingURL=FormPlanning.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FormPlanning.js","sourceRoot":"","sources":["../../../../../tmp/components/iqr-form/legacy/FormPlanning.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAEH,MAAa,YAAY;IAUxB,YAAY,IAAgB;QAC3B,MAAM,CAAC,MAAM,CAAC,IAAoB,EAAE,IAAI,CAAC,CAAA;IAC1C,CAAC;CACD;AAbD,oCAaC"}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * iCure Cloud API Documentation
3
+ * Spring shop sample application
4
+ *
5
+ * OpenAPI spec version: v0.0.1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by the swagger code generator program.
9
+ * https://github.com/swagger-api/swagger-codegen.git
10
+ * Do not edit the class manually.
11
+ */
12
+ import { FormColumn } from './FormColumn';
13
+ export declare class FormSection {
14
+ icon?: string;
15
+ title?: string;
16
+ columns?: number;
17
+ formColumns?: Array<FormColumn>;
18
+ constructor(json: JSON | any);
19
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FormSection = void 0;
4
+ class FormSection {
5
+ constructor(json) {
6
+ Object.assign(this, json);
7
+ }
8
+ }
9
+ exports.FormSection = FormSection;
10
+ //# sourceMappingURL=FormSection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FormSection.js","sourceRoot":"","sources":["../../../../../tmp/components/iqr-form/legacy/FormSection.ts"],"names":[],"mappings":";;;AAaA,MAAa,WAAW;IAMvB,YAAY,IAAgB;QAC3B,MAAM,CAAC,MAAM,CAAC,IAAmB,EAAE,IAAI,CAAC,CAAA;IACzC,CAAC;CACD;AATD,kCASC"}
@@ -0,0 +1,27 @@
1
+ /**
2
+ * iCure Cloud API Documentation
3
+ * Spring shop sample application
4
+ *
5
+ * OpenAPI spec version: v0.0.1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by the swagger code generator program.
9
+ * https://github.com/swagger-api/swagger-codegen.git
10
+ * Do not edit the class manually.
11
+ */
12
+ export declare class Formula {
13
+ value?: string;
14
+ lifecycle?: Formula.LifecycleEnum;
15
+ constructor(json: JSON | any);
16
+ }
17
+ export declare namespace Formula {
18
+ type LifecycleEnum = 'OnCreate' | 'OnLoad' | 'OnChange' | 'OnSave' | 'OnDestroy' | 'OnLoadPropertiesEditor';
19
+ const LifecycleEnum: {
20
+ OnCreate: LifecycleEnum;
21
+ OnLoad: LifecycleEnum;
22
+ OnChange: LifecycleEnum;
23
+ OnSave: LifecycleEnum;
24
+ OnDestroy: LifecycleEnum;
25
+ OnLoadPropertiesEditor: LifecycleEnum;
26
+ };
27
+ }
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ /**
3
+ * iCure Cloud API Documentation
4
+ * Spring shop sample application
5
+ *
6
+ * OpenAPI spec version: v0.0.1
7
+ *
8
+ *
9
+ * NOTE: This class is auto generated by the swagger code generator program.
10
+ * https://github.com/swagger-api/swagger-codegen.git
11
+ * Do not edit the class manually.
12
+ */
13
+ Object.defineProperty(exports, "__esModule", { value: true });
14
+ exports.Formula = void 0;
15
+ class Formula {
16
+ constructor(json) {
17
+ Object.assign(this, json);
18
+ }
19
+ }
20
+ exports.Formula = Formula;
21
+ // eslint-disable-next-line @typescript-eslint/no-namespace
22
+ (function (Formula) {
23
+ Formula.LifecycleEnum = {
24
+ OnCreate: 'OnCreate',
25
+ OnLoad: 'OnLoad',
26
+ OnChange: 'OnChange',
27
+ OnSave: 'OnSave',
28
+ OnDestroy: 'OnDestroy',
29
+ OnLoadPropertiesEditor: 'OnLoadPropertiesEditor',
30
+ };
31
+ })(Formula = exports.Formula || (exports.Formula = {}));
32
+ //# sourceMappingURL=Formula.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Formula.js","sourceRoot":"","sources":["../../../../../tmp/components/iqr-form/legacy/Formula.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAEH,MAAa,OAAO;IAInB,YAAY,IAAgB;QAC3B,MAAM,CAAC,MAAM,CAAC,IAAe,EAAE,IAAI,CAAC,CAAA;IACrC,CAAC;CACD;AAPD,0BAOC;AAED,2DAA2D;AAC3D,WAAiB,OAAO;IAEV,qBAAa,GAAG;QAC5B,QAAQ,EAAE,UAA2B;QACrC,MAAM,EAAE,QAAyB;QACjC,QAAQ,EAAE,UAA2B;QACrC,MAAM,EAAE,QAAyB;QACjC,SAAS,EAAE,WAA4B;QACvC,sBAAsB,EAAE,wBAAyC;KACjE,CAAA;AACF,CAAC,EAVgB,OAAO,GAAP,eAAO,KAAP,eAAO,QAUvB"}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * iCure Cloud API Documentation
3
+ * Spring shop sample application
4
+ *
5
+ * OpenAPI spec version: v0.0.1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by the swagger code generator program.
9
+ * https://github.com/swagger-api/swagger-codegen.git
10
+ * Do not edit the class manually.
11
+ */
12
+ export declare class GuiCode {
13
+ type?: string;
14
+ code?: string;
15
+ constructor(json: JSON | any);
16
+ }
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ /**
3
+ * iCure Cloud API Documentation
4
+ * Spring shop sample application
5
+ *
6
+ * OpenAPI spec version: v0.0.1
7
+ *
8
+ *
9
+ * NOTE: This class is auto generated by the swagger code generator program.
10
+ * https://github.com/swagger-api/swagger-codegen.git
11
+ * Do not edit the class manually.
12
+ */
13
+ Object.defineProperty(exports, "__esModule", { value: true });
14
+ exports.GuiCode = void 0;
15
+ class GuiCode {
16
+ constructor(json) {
17
+ Object.assign(this, json);
18
+ }
19
+ }
20
+ exports.GuiCode = GuiCode;
21
+ //# sourceMappingURL=GuiCode.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GuiCode.js","sourceRoot":"","sources":["../../../../../tmp/components/iqr-form/legacy/GuiCode.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAEH,MAAa,OAAO;IAInB,YAAY,IAAgB;QAC3B,MAAM,CAAC,MAAM,CAAC,IAAe,EAAE,IAAI,CAAC,CAAA;IACrC,CAAC;CACD;AAPD,0BAOC"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * iCure Cloud API Documentation
3
+ * Spring shop sample application
4
+ *
5
+ * OpenAPI spec version: v0.0.1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by the swagger code generator program.
9
+ * https://github.com/swagger-api/swagger-codegen.git
10
+ * Do not edit the class manually.
11
+ */
12
+ export declare class GuiCodeType {
13
+ type?: string;
14
+ constructor(json: JSON | any);
15
+ }
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ /**
3
+ * iCure Cloud API Documentation
4
+ * Spring shop sample application
5
+ *
6
+ * OpenAPI spec version: v0.0.1
7
+ *
8
+ *
9
+ * NOTE: This class is auto generated by the swagger code generator program.
10
+ * https://github.com/swagger-api/swagger-codegen.git
11
+ * Do not edit the class manually.
12
+ */
13
+ Object.defineProperty(exports, "__esModule", { value: true });
14
+ exports.GuiCodeType = void 0;
15
+ class GuiCodeType {
16
+ constructor(json) {
17
+ Object.assign(this, json);
18
+ }
19
+ }
20
+ exports.GuiCodeType = GuiCodeType;
21
+ //# sourceMappingURL=GuiCodeType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GuiCodeType.js","sourceRoot":"","sources":["../../../../../tmp/components/iqr-form/legacy/GuiCodeType.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAEH,MAAa,WAAW;IAGvB,YAAY,IAAgB;QAC3B,MAAM,CAAC,MAAM,CAAC,IAAmB,EAAE,IAAI,CAAC,CAAA;IACzC,CAAC;CACD;AAND,kCAMC"}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * iCure Cloud API Documentation
3
+ * Spring shop sample application
4
+ *
5
+ * OpenAPI spec version: v0.0.1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by the swagger code generator program.
9
+ * https://github.com/swagger-api/swagger-codegen.git
10
+ * Do not edit the class manually.
11
+ */
12
+ export declare class Suggest {
13
+ filterKey?: string;
14
+ filterValue?: string;
15
+ entityClass?: string;
16
+ fieldValue?: string;
17
+ fieldDisplay?: string;
18
+ constructor(json: JSON | any);
19
+ }
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ /**
3
+ * iCure Cloud API Documentation
4
+ * Spring shop sample application
5
+ *
6
+ * OpenAPI spec version: v0.0.1
7
+ *
8
+ *
9
+ * NOTE: This class is auto generated by the swagger code generator program.
10
+ * https://github.com/swagger-api/swagger-codegen.git
11
+ * Do not edit the class manually.
12
+ */
13
+ Object.defineProperty(exports, "__esModule", { value: true });
14
+ exports.Suggest = void 0;
15
+ class Suggest {
16
+ constructor(json) {
17
+ Object.assign(this, json);
18
+ }
19
+ }
20
+ exports.Suggest = Suggest;
21
+ //# sourceMappingURL=Suggest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Suggest.js","sourceRoot":"","sources":["../../../../../tmp/components/iqr-form/legacy/Suggest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAEH,MAAa,OAAO;IAOnB,YAAY,IAAgB;QAC3B,MAAM,CAAC,MAAM,CAAC,IAAe,EAAE,IAAI,CAAC,CAAA;IACrC,CAAC;CACD;AAVD,0BAUC"}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * iCure Cloud API Documentation
3
+ * Spring shop sample application
4
+ *
5
+ * OpenAPI spec version: v0.0.1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by the swagger code generator program.
9
+ * https://github.com/swagger-api/swagger-codegen.git
10
+ * Do not edit the class manually.
11
+ */
12
+ export declare class Tag {
13
+ type?: string;
14
+ tag?: string;
15
+ constructor(json: JSON | any);
16
+ }
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ /**
3
+ * iCure Cloud API Documentation
4
+ * Spring shop sample application
5
+ *
6
+ * OpenAPI spec version: v0.0.1
7
+ *
8
+ *
9
+ * NOTE: This class is auto generated by the swagger code generator program.
10
+ * https://github.com/swagger-api/swagger-codegen.git
11
+ * Do not edit the class manually.
12
+ */
13
+ Object.defineProperty(exports, "__esModule", { value: true });
14
+ exports.Tag = void 0;
15
+ class Tag {
16
+ constructor(json) {
17
+ Object.assign(this, json);
18
+ }
19
+ }
20
+ exports.Tag = Tag;
21
+ //# sourceMappingURL=Tag.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Tag.js","sourceRoot":"","sources":["../../../../../tmp/components/iqr-form/legacy/Tag.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAEH,MAAa,GAAG;IAIf,YAAY,IAAgB;QAC3B,MAAM,CAAC,MAAM,CAAC,IAAW,EAAE,IAAI,CAAC,CAAA;IACjC,CAAC;CACD;AAPD,kBAOC"}
@@ -0,0 +1,96 @@
1
+ import { IqrTextFieldSchema } from '../../iqr-text-field';
2
+ declare type FieldType = 'textfield' | 'measure-field' | 'number-field' | 'date-picker' | 'time-picker' | 'date-time-picker' | 'multiple-choice';
3
+ export declare abstract class Field {
4
+ clazz: 'field';
5
+ field: string;
6
+ type: FieldType;
7
+ shortLabel?: string;
8
+ rows?: number;
9
+ columns?: number;
10
+ grows?: boolean;
11
+ schema?: IqrTextFieldSchema;
12
+ tags?: string[];
13
+ codifications?: string[];
14
+ options?: {
15
+ [key: string]: unknown;
16
+ };
17
+ label(): string;
18
+ protected constructor(type: FieldType, label: string, shortLabel?: string, rows?: number, columns?: number, grows?: boolean, schema?: IqrTextFieldSchema, tags?: string[], codifications?: string[], options?: {
19
+ [key: string]: unknown;
20
+ });
21
+ static parse(json: Field): Field;
22
+ }
23
+ export declare class TextField extends Field {
24
+ constructor(label: string, shortLabel?: string, rows?: number, grows?: boolean, schema?: IqrTextFieldSchema, tags?: string[], codifications?: string[], options?: {
25
+ [key: string]: unknown;
26
+ });
27
+ }
28
+ export declare class MeasureField extends Field {
29
+ constructor(label: string, shortLabel?: string, tags?: string[], codifications?: string[], options?: {
30
+ [key: string]: unknown;
31
+ });
32
+ }
33
+ export declare class NumberField extends Field {
34
+ constructor(label: string, shortLabel?: string, tags?: string[], codifications?: string[], options?: {
35
+ [key: string]: unknown;
36
+ });
37
+ }
38
+ export declare class DatePicker extends Field {
39
+ constructor(label: string, shortLabel?: string, tags?: string[], codifications?: string[], options?: {
40
+ [key: string]: unknown;
41
+ });
42
+ }
43
+ export declare class TimePicker extends Field {
44
+ constructor(label: string, shortLabel?: string, tags?: string[], codifications?: string[], options?: {
45
+ [key: string]: unknown;
46
+ });
47
+ }
48
+ export declare class DateTimePicker extends Field {
49
+ constructor(label: string, shortLabel?: string, tags?: string[], codifications?: string[], options?: {
50
+ [key: string]: unknown;
51
+ });
52
+ }
53
+ export declare class MultipleChoice extends Field {
54
+ constructor(label: string, shortLabel?: string, rows?: number, columns?: number, tags?: string[], codifications?: string[], options?: {
55
+ [key: string]: unknown;
56
+ });
57
+ }
58
+ export declare class Group {
59
+ clazz: 'group';
60
+ group: string;
61
+ fields?: Array<Field | Group>;
62
+ constructor(title: string, fields: Array<Field | Group>);
63
+ static parse(json: {
64
+ group: string;
65
+ fields?: Array<Field | Group>;
66
+ }): Group;
67
+ }
68
+ export declare class Section {
69
+ section: string;
70
+ fields: Array<Field | Group>;
71
+ description?: string;
72
+ keywords?: string[];
73
+ constructor(title: string, fields: Array<Field | Group>, description?: string, keywords?: string[]);
74
+ static parse(json: {
75
+ section: string;
76
+ fields?: Array<Field | Group>;
77
+ groups?: Array<Field | Group>;
78
+ sections?: Array<Field | Group>;
79
+ description?: string;
80
+ keywords?: string[];
81
+ }): Section;
82
+ }
83
+ export declare class Form {
84
+ form: string;
85
+ sections: Section[];
86
+ description?: string;
87
+ keywords?: string[];
88
+ constructor(title: string, sections: Section[], description?: string, keywords?: string[]);
89
+ static parse(json: {
90
+ form: string;
91
+ sections: Section[];
92
+ description?: string;
93
+ keywords?: string[];
94
+ }): Form;
95
+ }
96
+ export {};
@@ -0,0 +1,120 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Form = exports.Section = exports.Group = exports.MultipleChoice = exports.DateTimePicker = exports.TimePicker = exports.DatePicker = exports.NumberField = exports.MeasureField = exports.TextField = exports.Field = void 0;
4
+ class Field {
5
+ constructor(type, label, shortLabel, rows, columns, grows, schema, tags, codifications, options) {
6
+ this.clazz = 'field';
7
+ this.field = label;
8
+ this.type = type;
9
+ this.shortLabel = shortLabel;
10
+ this.rows = rows;
11
+ this.columns = columns;
12
+ this.grows = grows;
13
+ this.schema = schema;
14
+ this.tags = tags;
15
+ this.codifications = codifications;
16
+ this.options = options;
17
+ }
18
+ label() {
19
+ return this.field;
20
+ }
21
+ static parse(json) {
22
+ switch (json.type) {
23
+ case 'textfield':
24
+ return new TextField(json.field, json.shortLabel, json.rows, json.grows, json.schema, json.tags, json.codifications, json.options);
25
+ case 'measure-field':
26
+ return new MeasureField(json.field, json.shortLabel, json.tags, json.codifications, json.options);
27
+ case 'number-field':
28
+ return new NumberField(json.field, json.shortLabel, json.tags, json.codifications, json.options);
29
+ case 'date-picker':
30
+ return new DatePicker(json.field, json.shortLabel, json.tags, json.codifications, json.options);
31
+ case 'time-picker':
32
+ return new TimePicker(json.field, json.shortLabel, json.tags, json.codifications, json.options);
33
+ case 'date-time-picker':
34
+ return new DateTimePicker(json.field, json.shortLabel, json.tags, json.codifications, json.options);
35
+ case 'multiple-choice':
36
+ return new MultipleChoice(json.field, json.shortLabel, json.rows, json.columns, json.tags, json.codifications, json.options);
37
+ default:
38
+ throw Error('Invalid field type ' + json.type);
39
+ }
40
+ }
41
+ }
42
+ exports.Field = Field;
43
+ class TextField extends Field {
44
+ constructor(label, shortLabel, rows, grows, schema, tags, codifications, options) {
45
+ super('textfield', label, shortLabel, rows, undefined, grows, schema || 'styled-text-with-codes', tags, codifications, options);
46
+ }
47
+ }
48
+ exports.TextField = TextField;
49
+ class MeasureField extends Field {
50
+ constructor(label, shortLabel, tags, codifications, options) {
51
+ super('measure-field', label, shortLabel, undefined, undefined, undefined, undefined, tags, codifications, options);
52
+ }
53
+ }
54
+ exports.MeasureField = MeasureField;
55
+ class NumberField extends Field {
56
+ constructor(label, shortLabel, tags, codifications, options) {
57
+ super('number-field', label, shortLabel, undefined, undefined, undefined, undefined, tags, codifications, options);
58
+ }
59
+ }
60
+ exports.NumberField = NumberField;
61
+ class DatePicker extends Field {
62
+ constructor(label, shortLabel, tags, codifications, options) {
63
+ super('date-picker', label, shortLabel, undefined, undefined, undefined, undefined, tags, codifications, options);
64
+ }
65
+ }
66
+ exports.DatePicker = DatePicker;
67
+ class TimePicker extends Field {
68
+ constructor(label, shortLabel, tags, codifications, options) {
69
+ super('time-picker', label, shortLabel, undefined, undefined, undefined, undefined, tags, codifications, options);
70
+ }
71
+ }
72
+ exports.TimePicker = TimePicker;
73
+ class DateTimePicker extends Field {
74
+ constructor(label, shortLabel, tags, codifications, options) {
75
+ super('date-time-picker', label, shortLabel, undefined, undefined, undefined, undefined, tags, codifications, options);
76
+ }
77
+ }
78
+ exports.DateTimePicker = DateTimePicker;
79
+ class MultipleChoice extends Field {
80
+ constructor(label, shortLabel, rows, columns, tags, codifications, options) {
81
+ super('multiple-choice', label, shortLabel, rows, columns, undefined, undefined, tags, codifications, options);
82
+ }
83
+ }
84
+ exports.MultipleChoice = MultipleChoice;
85
+ class Group {
86
+ constructor(title, fields) {
87
+ this.clazz = 'group';
88
+ this.group = title;
89
+ this.fields = fields;
90
+ }
91
+ static parse(json) {
92
+ return new Group(json.group, (json.fields || []).map((s) => (s['group'] ? Group.parse(s) : Field.parse(s))));
93
+ }
94
+ }
95
+ exports.Group = Group;
96
+ class Section {
97
+ constructor(title, fields, description, keywords) {
98
+ this.section = title;
99
+ this.fields = fields;
100
+ this.description = description;
101
+ this.keywords = keywords;
102
+ }
103
+ static parse(json) {
104
+ return new Section(json.section, (json.fields || json.groups || json.sections || []).map((s) => (s['group'] ? Group.parse(s) : Field.parse(s))), json.description, json.keywords);
105
+ }
106
+ }
107
+ exports.Section = Section;
108
+ class Form {
109
+ constructor(title, sections, description, keywords) {
110
+ this.form = title;
111
+ this.description = description;
112
+ this.keywords = keywords;
113
+ this.sections = sections;
114
+ }
115
+ static parse(json) {
116
+ return new Form(json.form, (json.sections || []).map((s) => Section.parse(s)), json.description, json.keywords);
117
+ }
118
+ }
119
+ exports.Form = Form;
120
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../tmp/components/iqr-form/model/index.ts"],"names":[],"mappings":";;;AAGA,MAAsB,KAAK;IAiB1B,YACC,IAAe,EACf,KAAa,EACb,UAAmB,EACnB,IAAa,EACb,OAAgB,EAChB,KAAe,EACf,MAA2B,EAC3B,IAAe,EACf,aAAwB,EACxB,OAAoC;QA1BrC,UAAK,GAAY,OAAO,CAAA;QA4BvB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAA;QAClB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAA;QAChB,IAAI,CAAC,UAAU,GAAG,UAAU,CAAA;QAC5B,IAAI,CAAC,IAAI,GAAG,IAAI,CAAA;QAChB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAA;QACtB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAA;QAClB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;QACpB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAA;QAChB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAA;QAClC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAA;IACvB,CAAC;IA1BD,KAAK;QACJ,OAAO,IAAI,CAAC,KAAK,CAAA;IAClB,CAAC;IA0BD,MAAM,CAAC,KAAK,CAAC,IAAW;QACvB,QAAQ,IAAI,CAAC,IAAc,EAAE;YAC5B,KAAK,WAAW;gBACf,OAAO,IAAI,SAAS,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,aAAa,EAAE,IAAI,CAAC,OAAO,CAAC,CAAA;YACnI,KAAK,eAAe;gBACnB,OAAO,IA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