@beinformed/ui 1.63.2 → 2.0.0-beta.0

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 (2510) hide show
  1. package/CHANGELOG.md +4 -2419
  2. package/dist/Constants-BIbEko1E.d.cts +57 -0
  3. package/dist/Constants-BIbEko1E.d.ts +57 -0
  4. package/dist/FormModel-40md7nLX.d.ts +457 -0
  5. package/dist/FormModel-CemlQ_MU.d.cts +457 -0
  6. package/dist/chunk-2MCBBWEA.js +1 -0
  7. package/dist/chunk-2MCBBWEA.js.map +1 -0
  8. package/dist/chunk-52QS5IDA.js +1 -0
  9. package/dist/chunk-52QS5IDA.js.map +1 -0
  10. package/dist/chunk-73XVCQCW.js +2 -0
  11. package/dist/chunk-73XVCQCW.js.map +1 -0
  12. package/dist/chunk-77CGPEAQ.js +2 -0
  13. package/dist/chunk-77CGPEAQ.js.map +1 -0
  14. package/dist/chunk-BE2T4IDL.js +2 -0
  15. package/dist/chunk-BE2T4IDL.js.map +1 -0
  16. package/dist/chunk-BODVDNNA.js +2 -0
  17. package/dist/chunk-BODVDNNA.js.map +1 -0
  18. package/dist/chunk-CKI2GSM7.js +2 -0
  19. package/dist/chunk-CKI2GSM7.js.map +1 -0
  20. package/dist/chunk-CPYNQW3X.js +3 -0
  21. package/dist/chunk-CPYNQW3X.js.map +1 -0
  22. package/dist/chunk-ELPRKFLG.js +1 -0
  23. package/dist/chunk-ELPRKFLG.js.map +1 -0
  24. package/dist/chunk-EP2OYSVS.js +2 -0
  25. package/dist/chunk-EP2OYSVS.js.map +1 -0
  26. package/dist/chunk-FGEQKEJQ.js +2 -0
  27. package/dist/chunk-FGEQKEJQ.js.map +1 -0
  28. package/dist/chunk-L7K7QDC2.js +2 -0
  29. package/dist/chunk-L7K7QDC2.js.map +1 -0
  30. package/dist/chunk-LHZG2ET5.js +2 -0
  31. package/dist/chunk-LHZG2ET5.js.map +1 -0
  32. package/dist/chunk-LYBG43T6.js +2 -0
  33. package/dist/chunk-LYBG43T6.js.map +1 -0
  34. package/dist/chunk-MQBYZKME.js +2 -0
  35. package/dist/chunk-MQBYZKME.js.map +1 -0
  36. package/dist/chunk-SGXACUOV.js +2 -0
  37. package/dist/chunk-SGXACUOV.js.map +1 -0
  38. package/dist/chunk-VGAPPKHA.js +2 -0
  39. package/dist/chunk-VGAPPKHA.js.map +1 -0
  40. package/dist/chunk-VI6SO5NT.js +1 -0
  41. package/dist/chunk-VI6SO5NT.js.map +1 -0
  42. package/dist/chunk-VV3IT7US.js +1 -0
  43. package/dist/chunk-VV3IT7US.js.map +1 -0
  44. package/dist/chunk-WVQSFYWD.js +2 -0
  45. package/dist/chunk-WVQSFYWD.js.map +1 -0
  46. package/dist/chunk-YUOGIFZH.js +33 -0
  47. package/dist/chunk-YUOGIFZH.js.map +1 -0
  48. package/dist/constants/index.cjs +2 -0
  49. package/dist/constants/index.cjs.map +1 -0
  50. package/dist/constants/index.d.cts +28 -0
  51. package/dist/constants/index.d.ts +28 -0
  52. package/dist/constants/index.js +2 -0
  53. package/dist/constants/index.js.map +1 -0
  54. package/dist/exceptions/index.cjs +2 -0
  55. package/dist/exceptions/index.cjs.map +1 -0
  56. package/dist/exceptions/index.d.cts +88 -0
  57. package/dist/exceptions/index.d.ts +88 -0
  58. package/dist/exceptions/index.js +2 -0
  59. package/dist/exceptions/index.js.map +1 -0
  60. package/dist/index-CgXDAyxM.d.ts +5242 -0
  61. package/dist/index-Ku2WDvSe.d.cts +5242 -0
  62. package/dist/index.cjs +34 -0
  63. package/dist/index.cjs.map +1 -0
  64. package/dist/index.d.cts +13 -0
  65. package/dist/index.d.ts +13 -0
  66. package/dist/index.js +2 -0
  67. package/dist/index.js.map +1 -0
  68. package/dist/layouthints/index.cjs +34 -0
  69. package/dist/layouthints/index.cjs.map +1 -0
  70. package/dist/layouthints/index.d.cts +322 -0
  71. package/dist/layouthints/index.d.ts +322 -0
  72. package/dist/layouthints/index.js +2 -0
  73. package/dist/layouthints/index.js.map +1 -0
  74. package/dist/models/index.cjs +34 -0
  75. package/dist/models/index.cjs.map +1 -0
  76. package/dist/models/index.d.cts +1133 -0
  77. package/dist/models/index.d.ts +1133 -0
  78. package/dist/models/index.js +2 -0
  79. package/dist/models/index.js.map +1 -0
  80. package/dist/modularui/index.cjs +34 -0
  81. package/dist/modularui/index.cjs.map +1 -0
  82. package/dist/modularui/index.d.cts +216 -0
  83. package/dist/modularui/index.d.ts +216 -0
  84. package/dist/modularui/index.js +2 -0
  85. package/dist/modularui/index.js.map +1 -0
  86. package/dist/settings/index.cjs +2 -0
  87. package/dist/settings/index.cjs.map +1 -0
  88. package/dist/settings/index.d.cts +57 -0
  89. package/dist/settings/index.d.ts +57 -0
  90. package/dist/settings/index.js +2 -0
  91. package/dist/settings/index.js.map +1 -0
  92. package/dist/types/index.cjs +2 -0
  93. package/dist/types/index.cjs.map +1 -0
  94. package/dist/types/index.d.cts +5 -0
  95. package/dist/types/index.d.ts +5 -0
  96. package/dist/types/index.js +2 -0
  97. package/dist/types/index.js.map +1 -0
  98. package/dist/utils/index.cjs +33 -0
  99. package/dist/utils/index.cjs.map +1 -0
  100. package/dist/utils/index.d.cts +183 -0
  101. package/dist/utils/index.d.ts +183 -0
  102. package/dist/utils/index.js +2 -0
  103. package/dist/utils/index.js.map +1 -0
  104. package/package.json +66 -203
  105. package/README.md +0 -32
  106. package/codemods/__testfixtures__/imports.input.txt +0 -41
  107. package/codemods/__testfixtures__/imports.output.txt +0 -44
  108. package/codemods/__tests__/imports.spec.js +0 -20
  109. package/codemods/imports.js +0 -199
  110. package/esm/builder/__tests__/mergeLayoutHintConfigurations.spec.js.flow +0 -71
  111. package/esm/builder/index.js +0 -2
  112. package/esm/builder/index.js.flow +0 -2
  113. package/esm/builder/index.js.map +0 -1
  114. package/esm/builder/mergeLayoutHintConfigurations.js +0 -57
  115. package/esm/builder/mergeLayoutHintConfigurations.js.flow +0 -62
  116. package/esm/builder/mergeLayoutHintConfigurations.js.map +0 -1
  117. package/esm/constants/Constants.js +0 -183
  118. package/esm/constants/Constants.js.flow +0 -190
  119. package/esm/constants/Constants.js.map +0 -1
  120. package/esm/constants/LayoutHintConfig.js +0 -167
  121. package/esm/constants/LayoutHintConfig.js.flow +0 -186
  122. package/esm/constants/LayoutHintConfig.js.map +0 -1
  123. package/esm/constants/LayoutHints.js +0 -129
  124. package/esm/constants/LayoutHints.js.flow +0 -134
  125. package/esm/constants/LayoutHints.js.map +0 -1
  126. package/esm/constants/Settings.js +0 -198
  127. package/esm/constants/Settings.js.flow +0 -269
  128. package/esm/constants/Settings.js.map +0 -1
  129. package/esm/constants/index.js +0 -4
  130. package/esm/constants/index.js.flow +0 -4
  131. package/esm/constants/index.js.map +0 -1
  132. package/esm/exceptions/ConfigurationException.js +0 -11
  133. package/esm/exceptions/ConfigurationException.js.flow +0 -13
  134. package/esm/exceptions/ConfigurationException.js.map +0 -1
  135. package/esm/exceptions/FetchException.js +0 -64
  136. package/esm/exceptions/FetchException.js.flow +0 -101
  137. package/esm/exceptions/FetchException.js.map +0 -1
  138. package/esm/exceptions/IllegalArgumentException.js +0 -11
  139. package/esm/exceptions/IllegalArgumentException.js.flow +0 -12
  140. package/esm/exceptions/IllegalArgumentException.js.map +0 -1
  141. package/esm/exceptions/IllegalReturnException.js +0 -10
  142. package/esm/exceptions/IllegalReturnException.js.flow +0 -11
  143. package/esm/exceptions/IllegalReturnException.js.map +0 -1
  144. package/esm/exceptions/IllegalStateException.js +0 -11
  145. package/esm/exceptions/IllegalStateException.js.flow +0 -12
  146. package/esm/exceptions/IllegalStateException.js.map +0 -1
  147. package/esm/exceptions/JsonParseException.js +0 -11
  148. package/esm/exceptions/JsonParseException.js.flow +0 -12
  149. package/esm/exceptions/JsonParseException.js.map +0 -1
  150. package/esm/exceptions/MissingPropertyException.js +0 -11
  151. package/esm/exceptions/MissingPropertyException.js.flow +0 -13
  152. package/esm/exceptions/MissingPropertyException.js.map +0 -1
  153. package/esm/exceptions/NetworkException.js +0 -16
  154. package/esm/exceptions/NetworkException.js.flow +0 -20
  155. package/esm/exceptions/NetworkException.js.map +0 -1
  156. package/esm/exceptions/NotAllowedUriException.js +0 -11
  157. package/esm/exceptions/NotAllowedUriException.js.flow +0 -12
  158. package/esm/exceptions/NotAllowedUriException.js.map +0 -1
  159. package/esm/exceptions/NotFoundException.js +0 -19
  160. package/esm/exceptions/NotFoundException.js.flow +0 -20
  161. package/esm/exceptions/NotFoundException.js.map +0 -1
  162. package/esm/exceptions/ServerRequestException.js +0 -11
  163. package/esm/exceptions/ServerRequestException.js.flow +0 -12
  164. package/esm/exceptions/ServerRequestException.js.map +0 -1
  165. package/esm/exceptions/ThemePropertyException.js +0 -11
  166. package/esm/exceptions/ThemePropertyException.js.flow +0 -12
  167. package/esm/exceptions/ThemePropertyException.js.map +0 -1
  168. package/esm/exceptions/TimeoutException.js +0 -11
  169. package/esm/exceptions/TimeoutException.js.flow +0 -13
  170. package/esm/exceptions/TimeoutException.js.map +0 -1
  171. package/esm/exceptions/UnauthorizedException.js +0 -18
  172. package/esm/exceptions/UnauthorizedException.js.flow +0 -26
  173. package/esm/exceptions/UnauthorizedException.js.map +0 -1
  174. package/esm/exceptions/UnsupportedOperationException.js +0 -11
  175. package/esm/exceptions/UnsupportedOperationException.js.flow +0 -12
  176. package/esm/exceptions/UnsupportedOperationException.js.map +0 -1
  177. package/esm/exceptions/index.js +0 -16
  178. package/esm/exceptions/index.js.flow +0 -16
  179. package/esm/exceptions/index.js.map +0 -1
  180. package/esm/hooks/__tests__/UseModularUIModel.spec.js.flow +0 -193
  181. package/esm/hooks/__tests__/useAuthentication.spec.js.flow +0 -122
  182. package/esm/hooks/__tests__/useForm.spec.js.flow +0 -300
  183. package/esm/hooks/__tests__/useI18n.spec.js.flow +0 -30
  184. package/esm/hooks/__tests__/useModal.spec.js.flow +0 -67
  185. package/esm/hooks/__tests__/useModelCatalog.spec.js.flow +0 -180
  186. package/esm/hooks/__tests__/useModels.spec.js.flow +0 -138
  187. package/esm/hooks/__tests__/useModularUIBasic.spec.js.flow +0 -126
  188. package/esm/hooks/__tests__/useNotification.spec.js.flow +0 -47
  189. package/esm/hooks/__tests__/usePreference.spec.js.flow +0 -72
  190. package/esm/hooks/__tests__/useProgressIndicator.spec.js.flow +0 -67
  191. package/esm/hooks/index.js +0 -17
  192. package/esm/hooks/index.js.flow +0 -17
  193. package/esm/hooks/index.js.map +0 -1
  194. package/esm/hooks/useAllFormsOnModel.js +0 -73
  195. package/esm/hooks/useAllFormsOnModel.js.flow +0 -92
  196. package/esm/hooks/useAllFormsOnModel.js.map +0 -1
  197. package/esm/hooks/useAuthentication.js +0 -57
  198. package/esm/hooks/useAuthentication.js.flow +0 -98
  199. package/esm/hooks/useAuthentication.js.map +0 -1
  200. package/esm/hooks/useContent.js +0 -41
  201. package/esm/hooks/useContent.js.flow +0 -48
  202. package/esm/hooks/useContent.js.map +0 -1
  203. package/esm/hooks/useDeepCompareEffect.js +0 -24
  204. package/esm/hooks/useDeepCompareEffect.js.flow +0 -34
  205. package/esm/hooks/useDeepCompareEffect.js.map +0 -1
  206. package/esm/hooks/useForm.js +0 -87
  207. package/esm/hooks/useForm.js.flow +0 -153
  208. package/esm/hooks/useForm.js.map +0 -1
  209. package/esm/hooks/useI18n.js +0 -32
  210. package/esm/hooks/useI18n.js.flow +0 -46
  211. package/esm/hooks/useI18n.js.map +0 -1
  212. package/esm/hooks/useModal.js +0 -35
  213. package/esm/hooks/useModal.js.flow +0 -46
  214. package/esm/hooks/useModal.js.map +0 -1
  215. package/esm/hooks/useModelCatalog.js +0 -199
  216. package/esm/hooks/useModelCatalog.js.flow +0 -256
  217. package/esm/hooks/useModelCatalog.js.map +0 -1
  218. package/esm/hooks/useModels.js +0 -37
  219. package/esm/hooks/useModels.js.flow +0 -50
  220. package/esm/hooks/useModels.js.map +0 -1
  221. package/esm/hooks/useModularUI.js +0 -61
  222. package/esm/hooks/useModularUI.js.flow +0 -90
  223. package/esm/hooks/useModularUI.js.map +0 -1
  224. package/esm/hooks/useModularUIBasic.js +0 -73
  225. package/esm/hooks/useModularUIBasic.js.flow +0 -101
  226. package/esm/hooks/useModularUIBasic.js.map +0 -1
  227. package/esm/hooks/useModularUIModel.js +0 -109
  228. package/esm/hooks/useModularUIModel.js.flow +0 -165
  229. package/esm/hooks/useModularUIModel.js.map +0 -1
  230. package/esm/hooks/useModularUIRequest.js +0 -17
  231. package/esm/hooks/useModularUIRequest.js.flow +0 -25
  232. package/esm/hooks/useModularUIRequest.js.map +0 -1
  233. package/esm/hooks/useNotification.js +0 -31
  234. package/esm/hooks/useNotification.js.flow +0 -48
  235. package/esm/hooks/useNotification.js.map +0 -1
  236. package/esm/hooks/usePreference.js +0 -15
  237. package/esm/hooks/usePreference.js.flow +0 -27
  238. package/esm/hooks/usePreference.js.map +0 -1
  239. package/esm/hooks/useProgressIndicator.js +0 -16
  240. package/esm/hooks/useProgressIndicator.js.flow +0 -33
  241. package/esm/hooks/useProgressIndicator.js.map +0 -1
  242. package/esm/hooks/useRouter.js +0 -31
  243. package/esm/hooks/useRouter.js.flow +0 -64
  244. package/esm/hooks/useRouter.js.map +0 -1
  245. package/esm/i18n/Locale.js +0 -121
  246. package/esm/i18n/Locale.js.flow +0 -157
  247. package/esm/i18n/Locale.js.map +0 -1
  248. package/esm/i18n/Locales.js +0 -132
  249. package/esm/i18n/Locales.js.flow +0 -171
  250. package/esm/i18n/Locales.js.map +0 -1
  251. package/esm/i18n/Message.js +0 -44
  252. package/esm/i18n/Message.js.flow +0 -66
  253. package/esm/i18n/Message.js.map +0 -1
  254. package/esm/i18n/__tests__/Locale.spec.js.flow +0 -108
  255. package/esm/i18n/__tests__/Locales.spec.js.flow +0 -137
  256. package/esm/i18n/index.js +0 -5
  257. package/esm/i18n/index.js.flow +0 -12
  258. package/esm/i18n/index.js.map +0 -1
  259. package/esm/i18n/languages.js +0 -206
  260. package/esm/i18n/languages.js.flow +0 -207
  261. package/esm/i18n/languages.js.map +0 -1
  262. package/esm/i18n/translations/beinformed_error_messages_en.nl.js +0 -98
  263. package/esm/i18n/translations/beinformed_error_messages_en.nl.js.flow +0 -98
  264. package/esm/i18n/translations/beinformed_error_messages_en.nl.js.map +0 -1
  265. package/esm/i18n/translations/beinformed_error_messages_nl.nl.js +0 -98
  266. package/esm/i18n/translations/beinformed_error_messages_nl.nl.js.flow +0 -98
  267. package/esm/i18n/translations/beinformed_error_messages_nl.nl.js.map +0 -1
  268. package/esm/i18n/types.js +0 -2
  269. package/esm/i18n/types.js.flow +0 -23
  270. package/esm/i18n/types.js.map +0 -1
  271. package/esm/i18n/withMessage.js +0 -20
  272. package/esm/i18n/withMessage.js.flow +0 -47
  273. package/esm/i18n/withMessage.js.map +0 -1
  274. package/esm/index.js +0 -7
  275. package/esm/index.js.flow +0 -7
  276. package/esm/index.js.map +0 -1
  277. package/esm/models/__tests__/resolveModel.spec.js.flow +0 -34
  278. package/esm/models/actions/ActionCollection.js +0 -82
  279. package/esm/models/actions/ActionCollection.js.flow +0 -100
  280. package/esm/models/actions/ActionCollection.js.map +0 -1
  281. package/esm/models/actions/ActionModel.js +0 -186
  282. package/esm/models/actions/ActionModel.js.flow +0 -207
  283. package/esm/models/actions/ActionModel.js.map +0 -1
  284. package/esm/models/actions/__mock__/action.js.flow +0 -35
  285. package/esm/models/actions/__tests__/ActionCollection.spec.js.flow +0 -98
  286. package/esm/models/actions/__tests__/ActionModel.spec.js.flow +0 -75
  287. package/esm/models/application/ApplicationModel.js +0 -127
  288. package/esm/models/application/ApplicationModel.js.flow +0 -151
  289. package/esm/models/application/ApplicationModel.js.map +0 -1
  290. package/esm/models/application/__mock__/application.js.flow +0 -14
  291. package/esm/models/application/__tests__/Application.spec.js.flow +0 -99
  292. package/esm/models/attributes/AttributeCollection.js +0 -275
  293. package/esm/models/attributes/AttributeCollection.js.flow +0 -306
  294. package/esm/models/attributes/AttributeCollection.js.map +0 -1
  295. package/esm/models/attributes/AttributeContent.js +0 -196
  296. package/esm/models/attributes/AttributeContent.js.flow +0 -233
  297. package/esm/models/attributes/AttributeContent.js.map +0 -1
  298. package/esm/models/attributes/AttributeDataHelper.js +0 -261
  299. package/esm/models/attributes/AttributeDataHelper.js.flow +0 -323
  300. package/esm/models/attributes/AttributeDataHelper.js.map +0 -1
  301. package/esm/models/attributes/AttributeModel.js +0 -816
  302. package/esm/models/attributes/AttributeModel.js.flow +0 -1007
  303. package/esm/models/attributes/AttributeModel.js.map +0 -1
  304. package/esm/models/attributes/AttributeSetModel.js +0 -97
  305. package/esm/models/attributes/AttributeSetModel.js.flow +0 -117
  306. package/esm/models/attributes/AttributeSetModel.js.map +0 -1
  307. package/esm/models/attributes/BooleanAttributeModel.js +0 -287
  308. package/esm/models/attributes/BooleanAttributeModel.js.flow +0 -319
  309. package/esm/models/attributes/BooleanAttributeModel.js.map +0 -1
  310. package/esm/models/attributes/CaptchaAttributeModel.js +0 -53
  311. package/esm/models/attributes/CaptchaAttributeModel.js.flow +0 -51
  312. package/esm/models/attributes/CaptchaAttributeModel.js.map +0 -1
  313. package/esm/models/attributes/ChoiceAttributeModel.js +0 -403
  314. package/esm/models/attributes/ChoiceAttributeModel.js.flow +0 -499
  315. package/esm/models/attributes/ChoiceAttributeModel.js.map +0 -1
  316. package/esm/models/attributes/ChoiceAttributeOptionCollection.js +0 -306
  317. package/esm/models/attributes/ChoiceAttributeOptionCollection.js.flow +0 -372
  318. package/esm/models/attributes/ChoiceAttributeOptionCollection.js.map +0 -1
  319. package/esm/models/attributes/ChoiceAttributeOptionModel.js +0 -335
  320. package/esm/models/attributes/ChoiceAttributeOptionModel.js.flow +0 -415
  321. package/esm/models/attributes/ChoiceAttributeOptionModel.js.map +0 -1
  322. package/esm/models/attributes/CompositeAttributeChildCollection.js +0 -182
  323. package/esm/models/attributes/CompositeAttributeChildCollection.js.flow +0 -254
  324. package/esm/models/attributes/CompositeAttributeChildCollection.js.map +0 -1
  325. package/esm/models/attributes/CompositeAttributeModel.js +0 -374
  326. package/esm/models/attributes/CompositeAttributeModel.js.flow +0 -439
  327. package/esm/models/attributes/CompositeAttributeModel.js.map +0 -1
  328. package/esm/models/attributes/DatetimeAttributeModel.js +0 -458
  329. package/esm/models/attributes/DatetimeAttributeModel.js.flow +0 -566
  330. package/esm/models/attributes/DatetimeAttributeModel.js.map +0 -1
  331. package/esm/models/attributes/HelptextAttributeModel.js +0 -48
  332. package/esm/models/attributes/HelptextAttributeModel.js.flow +0 -54
  333. package/esm/models/attributes/HelptextAttributeModel.js.map +0 -1
  334. package/esm/models/attributes/LabelAttributeModel.js +0 -34
  335. package/esm/models/attributes/LabelAttributeModel.js.flow +0 -36
  336. package/esm/models/attributes/LabelAttributeModel.js.map +0 -1
  337. package/esm/models/attributes/MemoAttributeModel.js +0 -42
  338. package/esm/models/attributes/MemoAttributeModel.js.flow +0 -43
  339. package/esm/models/attributes/MemoAttributeModel.js.map +0 -1
  340. package/esm/models/attributes/MoneyAttributeModel.js +0 -42
  341. package/esm/models/attributes/MoneyAttributeModel.js.flow +0 -45
  342. package/esm/models/attributes/MoneyAttributeModel.js.map +0 -1
  343. package/esm/models/attributes/NumberAttributeModel.js +0 -193
  344. package/esm/models/attributes/NumberAttributeModel.js.flow +0 -255
  345. package/esm/models/attributes/NumberAttributeModel.js.map +0 -1
  346. package/esm/models/attributes/PasswordAttributeModel.js +0 -209
  347. package/esm/models/attributes/PasswordAttributeModel.js.flow +0 -245
  348. package/esm/models/attributes/PasswordAttributeModel.js.map +0 -1
  349. package/esm/models/attributes/StringAttributeModel.js +0 -276
  350. package/esm/models/attributes/StringAttributeModel.js.flow +0 -314
  351. package/esm/models/attributes/StringAttributeModel.js.map +0 -1
  352. package/esm/models/attributes/UploadAttributeModel.js +0 -215
  353. package/esm/models/attributes/UploadAttributeModel.js.flow +0 -261
  354. package/esm/models/attributes/UploadAttributeModel.js.map +0 -1
  355. package/esm/models/attributes/XMLAttributeModel.js +0 -46
  356. package/esm/models/attributes/XMLAttributeModel.js.flow +0 -51
  357. package/esm/models/attributes/XMLAttributeModel.js.map +0 -1
  358. package/esm/models/attributes/__mock__/form.js.flow +0 -6
  359. package/esm/models/attributes/__mock__/list.js.flow +0 -6
  360. package/esm/models/attributes/__tests__/AttributeCollection.spec.js.flow +0 -160
  361. package/esm/models/attributes/__tests__/AttributeCollectionComposite.spec.js.flow +0 -146
  362. package/esm/models/attributes/__tests__/AttributeContent.spec.js.flow +0 -225
  363. package/esm/models/attributes/__tests__/AttributeDataHelper.spec.js.flow +0 -634
  364. package/esm/models/attributes/__tests__/AttributeModel.spec.js.flow +0 -274
  365. package/esm/models/attributes/__tests__/AttributeSetModel.spec.js.flow +0 -39
  366. package/esm/models/attributes/__tests__/BooleanAttributeModel.spec.js.flow +0 -107
  367. package/esm/models/attributes/__tests__/CaptchaAttributeModel.spec.js.flow +0 -13
  368. package/esm/models/attributes/__tests__/ChoiceAttributeModel.spec.js.flow +0 -750
  369. package/esm/models/attributes/__tests__/ChoiceAttributeOptionCollection.spec.js.flow +0 -507
  370. package/esm/models/attributes/__tests__/ChoiceAttributeOptionModel.spec.js.flow +0 -107
  371. package/esm/models/attributes/__tests__/CompositeAttributeModel.spec.js.flow +0 -467
  372. package/esm/models/attributes/__tests__/DateAttributeModel.spec.js.flow +0 -134
  373. package/esm/models/attributes/__tests__/DatetimeAttributeModel.spec.js.flow +0 -206
  374. package/esm/models/attributes/__tests__/DatetimeAttributeModel_offset.spec.js.flow +0 -345
  375. package/esm/models/attributes/__tests__/HelptextAttributeModel.spec.js.flow +0 -64
  376. package/esm/models/attributes/__tests__/LabelAttributeModel.spec.js.flow +0 -13
  377. package/esm/models/attributes/__tests__/LookupAttributeModel.spec.js.flow +0 -47
  378. package/esm/models/attributes/__tests__/MemoAttributeModel.spec.js.flow +0 -28
  379. package/esm/models/attributes/__tests__/MoneyAttributeModel.spec.js.flow +0 -22
  380. package/esm/models/attributes/__tests__/NumberAttributeModel.spec.js.flow +0 -67
  381. package/esm/models/attributes/__tests__/PasswordAttributeModel.spec.js.flow +0 -49
  382. package/esm/models/attributes/__tests__/StringAttributeModel.spec.js.flow +0 -125
  383. package/esm/models/attributes/__tests__/TimeAttributeModel.spec.js.flow +0 -57
  384. package/esm/models/attributes/__tests__/TimestampModel.spec.js.flow +0 -43
  385. package/esm/models/attributes/__tests__/UploadAttributeModel.spec.js.flow +0 -67
  386. package/esm/models/attributes/__tests__/XMLAttributeModel.spec.js.flow +0 -17
  387. package/esm/models/attributes/__tests__/_createAttribute.spec.js.flow +0 -106
  388. package/esm/models/attributes/__tests__/createAttributeComposite.spec.js.flow +0 -151
  389. package/esm/models/attributes/__tests__/createAttributeDynamicSchema.spec.js.flow +0 -134
  390. package/esm/models/attributes/_createAttribute.js +0 -86
  391. package/esm/models/attributes/_createAttribute.js.flow +0 -147
  392. package/esm/models/attributes/_createAttribute.js.map +0 -1
  393. package/esm/models/attributes/input-constraints/BSNConstraint.js +0 -66
  394. package/esm/models/attributes/input-constraints/BSNConstraint.js.flow +0 -80
  395. package/esm/models/attributes/input-constraints/BSNConstraint.js.map +0 -1
  396. package/esm/models/attributes/input-constraints/ConstraintCollection.js +0 -42
  397. package/esm/models/attributes/input-constraints/ConstraintCollection.js.flow +0 -65
  398. package/esm/models/attributes/input-constraints/ConstraintCollection.js.map +0 -1
  399. package/esm/models/attributes/input-constraints/ConstraintModel.js +0 -66
  400. package/esm/models/attributes/input-constraints/ConstraintModel.js.flow +0 -76
  401. package/esm/models/attributes/input-constraints/ConstraintModel.js.map +0 -1
  402. package/esm/models/attributes/input-constraints/DateBoundaryConstraint.js +0 -198
  403. package/esm/models/attributes/input-constraints/DateBoundaryConstraint.js.flow +0 -240
  404. package/esm/models/attributes/input-constraints/DateBoundaryConstraint.js.map +0 -1
  405. package/esm/models/attributes/input-constraints/DateTimeDateFormatConstraint.js +0 -69
  406. package/esm/models/attributes/input-constraints/DateTimeDateFormatConstraint.js.flow +0 -72
  407. package/esm/models/attributes/input-constraints/DateTimeDateFormatConstraint.js.map +0 -1
  408. package/esm/models/attributes/input-constraints/DateTimeTimeFormatConstraint.js +0 -69
  409. package/esm/models/attributes/input-constraints/DateTimeTimeFormatConstraint.js.flow +0 -72
  410. package/esm/models/attributes/input-constraints/DateTimeTimeFormatConstraint.js.map +0 -1
  411. package/esm/models/attributes/input-constraints/DatetimeFormatConstraint.js +0 -115
  412. package/esm/models/attributes/input-constraints/DatetimeFormatConstraint.js.flow +0 -132
  413. package/esm/models/attributes/input-constraints/DatetimeFormatConstraint.js.map +0 -1
  414. package/esm/models/attributes/input-constraints/FileExtensionConstraint.js +0 -59
  415. package/esm/models/attributes/input-constraints/FileExtensionConstraint.js.flow +0 -60
  416. package/esm/models/attributes/input-constraints/FileExtensionConstraint.js.map +0 -1
  417. package/esm/models/attributes/input-constraints/FileSizeConstraint.js +0 -91
  418. package/esm/models/attributes/input-constraints/FileSizeConstraint.js.flow +0 -101
  419. package/esm/models/attributes/input-constraints/FileSizeConstraint.js.map +0 -1
  420. package/esm/models/attributes/input-constraints/IBANConstraint.js +0 -42
  421. package/esm/models/attributes/input-constraints/IBANConstraint.js.flow +0 -46
  422. package/esm/models/attributes/input-constraints/IBANConstraint.js.map +0 -1
  423. package/esm/models/attributes/input-constraints/MandatoryConstraint.js +0 -47
  424. package/esm/models/attributes/input-constraints/MandatoryConstraint.js.flow +0 -54
  425. package/esm/models/attributes/input-constraints/MandatoryConstraint.js.map +0 -1
  426. package/esm/models/attributes/input-constraints/MandatoryRangeConstraint.js +0 -78
  427. package/esm/models/attributes/input-constraints/MandatoryRangeConstraint.js.flow +0 -84
  428. package/esm/models/attributes/input-constraints/MandatoryRangeConstraint.js.map +0 -1
  429. package/esm/models/attributes/input-constraints/NumberBoundaryConstraint.js +0 -170
  430. package/esm/models/attributes/input-constraints/NumberBoundaryConstraint.js.flow +0 -213
  431. package/esm/models/attributes/input-constraints/NumberBoundaryConstraint.js.map +0 -1
  432. package/esm/models/attributes/input-constraints/NumberFormatConstraint.js +0 -125
  433. package/esm/models/attributes/input-constraints/NumberFormatConstraint.js.flow +0 -153
  434. package/esm/models/attributes/input-constraints/NumberFormatConstraint.js.map +0 -1
  435. package/esm/models/attributes/input-constraints/NumberGroupingConstraint.js +0 -119
  436. package/esm/models/attributes/input-constraints/NumberGroupingConstraint.js.flow +0 -140
  437. package/esm/models/attributes/input-constraints/NumberGroupingConstraint.js.map +0 -1
  438. package/esm/models/attributes/input-constraints/PasswordConfirmConstraint.js +0 -65
  439. package/esm/models/attributes/input-constraints/PasswordConfirmConstraint.js.flow +0 -68
  440. package/esm/models/attributes/input-constraints/PasswordConfirmConstraint.js.map +0 -1
  441. package/esm/models/attributes/input-constraints/PasswordLowerAndUpperCaseConstraint.js +0 -41
  442. package/esm/models/attributes/input-constraints/PasswordLowerAndUpperCaseConstraint.js.flow +0 -44
  443. package/esm/models/attributes/input-constraints/PasswordLowerAndUpperCaseConstraint.js.map +0 -1
  444. package/esm/models/attributes/input-constraints/PasswordMinNumericCharactersConstraint.js +0 -57
  445. package/esm/models/attributes/input-constraints/PasswordMinNumericCharactersConstraint.js.flow +0 -60
  446. package/esm/models/attributes/input-constraints/PasswordMinNumericCharactersConstraint.js.map +0 -1
  447. package/esm/models/attributes/input-constraints/PasswordMinSpecialCharactersConstraint.js +0 -57
  448. package/esm/models/attributes/input-constraints/PasswordMinSpecialCharactersConstraint.js.flow +0 -60
  449. package/esm/models/attributes/input-constraints/PasswordMinSpecialCharactersConstraint.js.map +0 -1
  450. package/esm/models/attributes/input-constraints/PasswordThreeConsecutiveCharactersNotAllowedConstraint.js +0 -71
  451. package/esm/models/attributes/input-constraints/PasswordThreeConsecutiveCharactersNotAllowedConstraint.js.flow +0 -74
  452. package/esm/models/attributes/input-constraints/PasswordThreeConsecutiveCharactersNotAllowedConstraint.js.map +0 -1
  453. package/esm/models/attributes/input-constraints/RangeConstraint.js +0 -136
  454. package/esm/models/attributes/input-constraints/RangeConstraint.js.flow +0 -161
  455. package/esm/models/attributes/input-constraints/RangeConstraint.js.map +0 -1
  456. package/esm/models/attributes/input-constraints/RegexConstraint.js +0 -60
  457. package/esm/models/attributes/input-constraints/RegexConstraint.js.flow +0 -72
  458. package/esm/models/attributes/input-constraints/RegexConstraint.js.map +0 -1
  459. package/esm/models/attributes/input-constraints/StringLengthConstraint.js +0 -171
  460. package/esm/models/attributes/input-constraints/StringLengthConstraint.js.flow +0 -179
  461. package/esm/models/attributes/input-constraints/StringLengthConstraint.js.map +0 -1
  462. package/esm/models/attributes/input-constraints/XMLConstraint.js +0 -56
  463. package/esm/models/attributes/input-constraints/XMLConstraint.js.flow +0 -62
  464. package/esm/models/attributes/input-constraints/XMLConstraint.js.map +0 -1
  465. package/esm/models/attributes/input-constraints/__tests__/BSNConstraint.spec.js.flow +0 -25
  466. package/esm/models/attributes/input-constraints/__tests__/ConstraintCollection.spec.js.flow +0 -9
  467. package/esm/models/attributes/input-constraints/__tests__/ConstraintModel.spec.js.flow +0 -35
  468. package/esm/models/attributes/input-constraints/__tests__/DateBoundaryConstraint.spec.js.flow +0 -117
  469. package/esm/models/attributes/input-constraints/__tests__/DateTimeDateFormatConstraint.spec.js.flow +0 -30
  470. package/esm/models/attributes/input-constraints/__tests__/DateTimeTimeFormatConstraint.spec.js.flow +0 -54
  471. package/esm/models/attributes/input-constraints/__tests__/DatetimeFormatConstraint.spec.js.flow +0 -79
  472. package/esm/models/attributes/input-constraints/__tests__/FileExtensionConstraint.spec.js.flow +0 -20
  473. package/esm/models/attributes/input-constraints/__tests__/FileSizeConstraint.spec.js.flow +0 -53
  474. package/esm/models/attributes/input-constraints/__tests__/IBANConstraint.spec.js.flow +0 -12
  475. package/esm/models/attributes/input-constraints/__tests__/MandatoryConstraint.spec.js.flow +0 -14
  476. package/esm/models/attributes/input-constraints/__tests__/NumberBoundaryConstraint.spec.js.flow +0 -46
  477. package/esm/models/attributes/input-constraints/__tests__/NumberFormatConstraint.spec.js.flow +0 -137
  478. package/esm/models/attributes/input-constraints/__tests__/NumberGroupingConstraint.spec.js.flow +0 -85
  479. package/esm/models/attributes/input-constraints/__tests__/PasswordConfirmConstraint.spec.js.flow +0 -21
  480. package/esm/models/attributes/input-constraints/__tests__/PasswordLowerAndUpperCaseConstraint.spec.js.flow +0 -14
  481. package/esm/models/attributes/input-constraints/__tests__/PasswordMinNumericCharactersConstraint.spec.js.flow +0 -11
  482. package/esm/models/attributes/input-constraints/__tests__/PasswordMinSpecialCharactersConstraint.spec.js.flow +0 -11
  483. package/esm/models/attributes/input-constraints/__tests__/PasswordThreeConsecutiveCharactersNotAllowedConstraint.spec.js.flow +0 -22
  484. package/esm/models/attributes/input-constraints/__tests__/RegexConstraint.spec.js.flow +0 -42
  485. package/esm/models/attributes/input-constraints/__tests__/StringLengthConstraint.spec.js.flow +0 -102
  486. package/esm/models/attributes/input-constraints/__tests__/XMLConstraint.spec.js.flow +0 -15
  487. package/esm/models/attributes/layouthint-rules/BaseLayoutHintRule.js +0 -59
  488. package/esm/models/attributes/layouthint-rules/BaseLayoutHintRule.js.flow +0 -74
  489. package/esm/models/attributes/layouthint-rules/BaseLayoutHintRule.js.map +0 -1
  490. package/esm/models/attributes/layouthint-rules/DependentAttribute.js +0 -193
  491. package/esm/models/attributes/layouthint-rules/DependentAttribute.js.flow +0 -246
  492. package/esm/models/attributes/layouthint-rules/DependentAttribute.js.map +0 -1
  493. package/esm/models/attributes/layouthint-rules/LayoutHintRuleCollection.js +0 -79
  494. package/esm/models/attributes/layouthint-rules/LayoutHintRuleCollection.js.flow +0 -101
  495. package/esm/models/attributes/layouthint-rules/LayoutHintRuleCollection.js.map +0 -1
  496. package/esm/models/attributes/layouthint-rules/RemainingTotalUploadSize.js +0 -44
  497. package/esm/models/attributes/layouthint-rules/RemainingTotalUploadSize.js.flow +0 -67
  498. package/esm/models/attributes/layouthint-rules/RemainingTotalUploadSize.js.map +0 -1
  499. package/esm/models/attributes/layouthint-rules/__mock__/MockedCollectionFactory.js.flow +0 -54
  500. package/esm/models/attributes/layouthint-rules/__tests__/BaseLayoutHintRule.spec.js.flow +0 -29
  501. package/esm/models/attributes/layouthint-rules/__tests__/DependentAttribute.spec.js.flow +0 -310
  502. package/esm/models/attributes/layouthint-rules/__tests__/LayoutHintRuleCollection.spec.js.flow +0 -58
  503. package/esm/models/attributes/layouthint-rules/__tests__/RemainingTotalUploadSize.spec.js.flow +0 -24
  504. package/esm/models/base/BaseCollection.js +0 -180
  505. package/esm/models/base/BaseCollection.js.flow +0 -191
  506. package/esm/models/base/BaseCollection.js.map +0 -1
  507. package/esm/models/base/BaseModel.js +0 -142
  508. package/esm/models/base/BaseModel.js.flow +0 -155
  509. package/esm/models/base/BaseModel.js.map +0 -1
  510. package/esm/models/base/ResourceCollection.js +0 -34
  511. package/esm/models/base/ResourceCollection.js.flow +0 -42
  512. package/esm/models/base/ResourceCollection.js.map +0 -1
  513. package/esm/models/base/ResourceModel.js +0 -202
  514. package/esm/models/base/ResourceModel.js.flow +0 -246
  515. package/esm/models/base/ResourceModel.js.map +0 -1
  516. package/esm/models/base/__tests__/BaseCollection.spec.js.flow +0 -108
  517. package/esm/models/base/__tests__/BaseModel.spec.js.flow +0 -85
  518. package/esm/models/base/__tests__/ResourceCollection.spec.js.flow +0 -51
  519. package/esm/models/base/__tests__/ResourceModel.spec.js.flow +0 -100
  520. package/esm/models/caseview/CaseViewModel.js +0 -155
  521. package/esm/models/caseview/CaseViewModel.js.flow +0 -188
  522. package/esm/models/caseview/CaseViewModel.js.map +0 -1
  523. package/esm/models/caseview/__mock__/caseview.js.flow +0 -14
  524. package/esm/models/caseview/__tests__/CaseViewModel.spec.js.flow +0 -132
  525. package/esm/models/concepts/BusinessScenarioModel.js +0 -115
  526. package/esm/models/concepts/BusinessScenarioModel.js.flow +0 -176
  527. package/esm/models/concepts/BusinessScenarioModel.js.map +0 -1
  528. package/esm/models/concepts/ConceptDetailModel.js +0 -273
  529. package/esm/models/concepts/ConceptDetailModel.js.flow +0 -343
  530. package/esm/models/concepts/ConceptDetailModel.js.map +0 -1
  531. package/esm/models/concepts/ConceptIndexModel.js +0 -142
  532. package/esm/models/concepts/ConceptIndexModel.js.flow +0 -170
  533. package/esm/models/concepts/ConceptIndexModel.js.map +0 -1
  534. package/esm/models/concepts/ConceptLinkModel.js +0 -164
  535. package/esm/models/concepts/ConceptLinkModel.js.flow +0 -208
  536. package/esm/models/concepts/ConceptLinkModel.js.map +0 -1
  537. package/esm/models/concepts/ConceptRelationCollection.js +0 -75
  538. package/esm/models/concepts/ConceptRelationCollection.js.flow +0 -95
  539. package/esm/models/concepts/ConceptRelationCollection.js.map +0 -1
  540. package/esm/models/concepts/ConceptRelationModel.js +0 -107
  541. package/esm/models/concepts/ConceptRelationModel.js.flow +0 -129
  542. package/esm/models/concepts/ConceptRelationModel.js.map +0 -1
  543. package/esm/models/concepts/ConceptTypeDetailModel.js +0 -121
  544. package/esm/models/concepts/ConceptTypeDetailModel.js.flow +0 -128
  545. package/esm/models/concepts/ConceptTypeDetailModel.js.map +0 -1
  546. package/esm/models/concepts/SourceReferenceCollection.js +0 -27
  547. package/esm/models/concepts/SourceReferenceCollection.js.flow +0 -32
  548. package/esm/models/concepts/SourceReferenceCollection.js.map +0 -1
  549. package/esm/models/concepts/SourceReferenceModel.js +0 -93
  550. package/esm/models/concepts/SourceReferenceModel.js.flow +0 -114
  551. package/esm/models/concepts/SourceReferenceModel.js.map +0 -1
  552. package/esm/models/concepts/__mock__/business_scenario.js.flow +0 -26
  553. package/esm/models/concepts/__mock__/conceptdetail.js.flow +0 -27
  554. package/esm/models/concepts/__mock__/conceptindex.js.flow +0 -15
  555. package/esm/models/concepts/__mock__/concepttype.js.flow +0 -13
  556. package/esm/models/concepts/__mock__/concepttype_hierarchy.js.flow +0 -13
  557. package/esm/models/concepts/__mock__/related_concepts.js.flow +0 -12
  558. package/esm/models/concepts/__mock__/relation_with_props_and_tf_data.js.flow +0 -27
  559. package/esm/models/concepts/__tests__/BusinessScenarioModel.spec.js.flow +0 -28
  560. package/esm/models/concepts/__tests__/ConceptDetailModel.spec.js.flow +0 -65
  561. package/esm/models/concepts/__tests__/ConceptIndexModel.spec.js.flow +0 -42
  562. package/esm/models/concepts/__tests__/ConceptLinkModel.spec.js.flow +0 -9
  563. package/esm/models/concepts/__tests__/ConceptRelationCollection.spec.js.flow +0 -9
  564. package/esm/models/concepts/__tests__/ConceptRelationModel.spec.js.flow +0 -53
  565. package/esm/models/concepts/__tests__/ConceptTypeDetailModel.spec.js.flow +0 -31
  566. package/esm/models/concepts/__tests__/RelatedConcepts.spec.js.flow +0 -58
  567. package/esm/models/concepts/__tests__/SourceReferenceCollection.spec.js.flow +0 -9
  568. package/esm/models/concepts/__tests__/SourceReferenceModel.spec.js.flow +0 -108
  569. package/esm/models/content/ContentIndexModel.js +0 -134
  570. package/esm/models/content/ContentIndexModel.js.flow +0 -160
  571. package/esm/models/content/ContentIndexModel.js.map +0 -1
  572. package/esm/models/content/ContentLinkModel.js +0 -250
  573. package/esm/models/content/ContentLinkModel.js.flow +0 -308
  574. package/esm/models/content/ContentLinkModel.js.map +0 -1
  575. package/esm/models/content/ContentModel.js +0 -200
  576. package/esm/models/content/ContentModel.js.flow +0 -226
  577. package/esm/models/content/ContentModel.js.map +0 -1
  578. package/esm/models/content/ContentTOCModel.js +0 -204
  579. package/esm/models/content/ContentTOCModel.js.flow +0 -233
  580. package/esm/models/content/ContentTOCModel.js.map +0 -1
  581. package/esm/models/content/ContentTypeModel.js +0 -66
  582. package/esm/models/content/ContentTypeModel.js.flow +0 -71
  583. package/esm/models/content/ContentTypeModel.js.map +0 -1
  584. package/esm/models/content/SectionModel.js +0 -193
  585. package/esm/models/content/SectionModel.js.flow +0 -236
  586. package/esm/models/content/SectionModel.js.map +0 -1
  587. package/esm/models/content/SubSectionModel.js +0 -159
  588. package/esm/models/content/SubSectionModel.js.flow +0 -181
  589. package/esm/models/content/SubSectionModel.js.map +0 -1
  590. package/esm/models/content/__tests__/ContentIndexModel.spec.js.flow +0 -40
  591. package/esm/models/content/__tests__/ContentLinkModel.spec.js.flow +0 -129
  592. package/esm/models/content/__tests__/ContentModel.spec.js.flow +0 -241
  593. package/esm/models/content/__tests__/Formalsource.spec.js.flow +0 -133
  594. package/esm/models/contentconfiguration/ContentConfiguration.js +0 -68
  595. package/esm/models/contentconfiguration/ContentConfiguration.js.flow +0 -70
  596. package/esm/models/contentconfiguration/ContentConfiguration.js.map +0 -1
  597. package/esm/models/contentconfiguration/ContentConfigurationElements.js +0 -137
  598. package/esm/models/contentconfiguration/ContentConfigurationElements.js.flow +0 -152
  599. package/esm/models/contentconfiguration/ContentConfigurationElements.js.map +0 -1
  600. package/esm/models/contentconfiguration/ContentConfigurationEndResults.js +0 -43
  601. package/esm/models/contentconfiguration/ContentConfigurationEndResults.js.flow +0 -45
  602. package/esm/models/contentconfiguration/ContentConfigurationEndResults.js.map +0 -1
  603. package/esm/models/contentconfiguration/ContentConfigurationQuestions.js +0 -48
  604. package/esm/models/contentconfiguration/ContentConfigurationQuestions.js.flow +0 -60
  605. package/esm/models/contentconfiguration/ContentConfigurationQuestions.js.map +0 -1
  606. package/esm/models/contentconfiguration/ContentConfigurationResults.js +0 -97
  607. package/esm/models/contentconfiguration/ContentConfigurationResults.js.flow +0 -105
  608. package/esm/models/contentconfiguration/ContentConfigurationResults.js.map +0 -1
  609. package/esm/models/contentconfiguration/__tests__/ContentConfigurationElements.spec.js.flow +0 -29
  610. package/esm/models/contentconfiguration/__tests__/ContentConfigurationResults.spec.js.flow +0 -101
  611. package/esm/models/detail/DetailModel.js +0 -211
  612. package/esm/models/detail/DetailModel.js.flow +0 -241
  613. package/esm/models/detail/DetailModel.js.map +0 -1
  614. package/esm/models/detail/__tests__/DetailModel.spec.js.flow +0 -41
  615. package/esm/models/error/ErrorCollection.js +0 -104
  616. package/esm/models/error/ErrorCollection.js.flow +0 -127
  617. package/esm/models/error/ErrorCollection.js.map +0 -1
  618. package/esm/models/error/ErrorModel.js +0 -75
  619. package/esm/models/error/ErrorModel.js.flow +0 -83
  620. package/esm/models/error/ErrorModel.js.map +0 -1
  621. package/esm/models/error/ErrorResponse.js +0 -300
  622. package/esm/models/error/ErrorResponse.js.flow +0 -343
  623. package/esm/models/error/ErrorResponse.js.map +0 -1
  624. package/esm/models/error/__tests__/ErrorCollection.spec.js.flow +0 -41
  625. package/esm/models/error/__tests__/ErrorModel.spec.js.flow +0 -24
  626. package/esm/models/filters/AssignmentFilterModel.js +0 -153
  627. package/esm/models/filters/AssignmentFilterModel.js.flow +0 -195
  628. package/esm/models/filters/AssignmentFilterModel.js.map +0 -1
  629. package/esm/models/filters/BaseFilterModel.js +0 -203
  630. package/esm/models/filters/BaseFilterModel.js.flow +0 -236
  631. package/esm/models/filters/BaseFilterModel.js.map +0 -1
  632. package/esm/models/filters/ConceptIndexFilterModel.js +0 -29
  633. package/esm/models/filters/ConceptIndexFilterModel.js.flow +0 -40
  634. package/esm/models/filters/ConceptIndexFilterModel.js.map +0 -1
  635. package/esm/models/filters/FilterCollection.js +0 -147
  636. package/esm/models/filters/FilterCollection.js.flow +0 -192
  637. package/esm/models/filters/FilterCollection.js.map +0 -1
  638. package/esm/models/filters/FilterModel.js +0 -6
  639. package/esm/models/filters/FilterModel.js.flow +0 -6
  640. package/esm/models/filters/FilterModel.js.map +0 -1
  641. package/esm/models/filters/RangeFilterModel.js +0 -36
  642. package/esm/models/filters/RangeFilterModel.js.flow +0 -36
  643. package/esm/models/filters/RangeFilterModel.js.map +0 -1
  644. package/esm/models/filters/StringFilterModel.js +0 -140
  645. package/esm/models/filters/StringFilterModel.js.flow +0 -159
  646. package/esm/models/filters/StringFilterModel.js.map +0 -1
  647. package/esm/models/filters/__tests__/AssignmentFilterModel.spec.js.flow +0 -140
  648. package/esm/models/filters/__tests__/FilterCollection.spec.js.flow +0 -68
  649. package/esm/models/filters/__tests__/FilterModel.spec.js.flow +0 -65
  650. package/esm/models/filters/__tests__/RangeFilterModel.spec.js.flow +0 -55
  651. package/esm/models/filters/__tests__/ZipcodeFilter.spec.js.flow +0 -145
  652. package/esm/models/form/FormModel.js +0 -1031
  653. package/esm/models/form/FormModel.js.flow +0 -1280
  654. package/esm/models/form/FormModel.js.map +0 -1
  655. package/esm/models/form/FormObjectModel.js +0 -469
  656. package/esm/models/form/FormObjectModel.js.flow +0 -590
  657. package/esm/models/form/FormObjectModel.js.map +0 -1
  658. package/esm/models/form/__mock__/form.js.flow +0 -17
  659. package/esm/models/form/__tests__/FormModel.getters.spec.js.flow +0 -149
  660. package/esm/models/form/__tests__/FormModel.instrument.spec.js.flow +0 -202
  661. package/esm/models/form/__tests__/FormModel.repeating.spec.js.flow +0 -65
  662. package/esm/models/form/__tests__/FormModel.selfhref.spec.js.flow +0 -84
  663. package/esm/models/form/__tests__/FormModel.spec.js.flow +0 -752
  664. package/esm/models/form/__tests__/FormModel.unknown-repeat.spec.js.flow +0 -52
  665. package/esm/models/form/__tests__/FormObjectModel.spec.js.flow +0 -180
  666. package/esm/models/form/__tests__/FormResultData.spec.js.flow +0 -86
  667. package/esm/models/form/__tests__/FormValidation.spec.js.flow +0 -79
  668. package/esm/models/form/__tests__/FormWithContent.spec.js.flow +0 -71
  669. package/esm/models/grouping/GroupingModel.js +0 -182
  670. package/esm/models/grouping/GroupingModel.js.flow +0 -232
  671. package/esm/models/grouping/GroupingModel.js.map +0 -1
  672. package/esm/models/grouping/__tests__/GroupingModel.spec.js.flow +0 -80
  673. package/esm/models/href/Href.js +0 -490
  674. package/esm/models/href/Href.js.flow +0 -564
  675. package/esm/models/href/Href.js.map +0 -1
  676. package/esm/models/href/ListHref.js +0 -127
  677. package/esm/models/href/ListHref.js.flow +0 -146
  678. package/esm/models/href/ListHref.js.map +0 -1
  679. package/esm/models/href/__tests__/Href.spec.js.flow +0 -184
  680. package/esm/models/href/__tests__/ListHref.spec.js.flow +0 -61
  681. package/esm/models/index.js +0 -96
  682. package/esm/models/index.js.flow +0 -177
  683. package/esm/models/index.js.map +0 -1
  684. package/esm/models/layouthint/LayoutHintCollection.js +0 -111
  685. package/esm/models/layouthint/LayoutHintCollection.js.flow +0 -116
  686. package/esm/models/layouthint/LayoutHintCollection.js.map +0 -1
  687. package/esm/models/layouthint/__tests__/LayoutHintCollection.spec.js.flow +0 -89
  688. package/esm/models/links/LinkCollection.js +0 -163
  689. package/esm/models/links/LinkCollection.js.flow +0 -169
  690. package/esm/models/links/LinkCollection.js.map +0 -1
  691. package/esm/models/links/LinkModel.js +0 -210
  692. package/esm/models/links/LinkModel.js.flow +0 -229
  693. package/esm/models/links/LinkModel.js.map +0 -1
  694. package/esm/models/links/__tests__/LinkCollection.spec.js.flow +0 -426
  695. package/esm/models/links/__tests__/LinkModel.spec.js.flow +0 -103
  696. package/esm/models/links/__tests__/normalizeLinkJSON.spec.js.flow +0 -212
  697. package/esm/models/links/normalizeLinkJSON.js +0 -101
  698. package/esm/models/links/normalizeLinkJSON.js.flow +0 -121
  699. package/esm/models/links/normalizeLinkJSON.js.map +0 -1
  700. package/esm/models/list/ListDetailModel.js +0 -259
  701. package/esm/models/list/ListDetailModel.js.flow +0 -330
  702. package/esm/models/list/ListDetailModel.js.map +0 -1
  703. package/esm/models/list/ListHeaderModel.js +0 -87
  704. package/esm/models/list/ListHeaderModel.js.flow +0 -96
  705. package/esm/models/list/ListHeaderModel.js.map +0 -1
  706. package/esm/models/list/ListItemCollection.js +0 -60
  707. package/esm/models/list/ListItemCollection.js.flow +0 -80
  708. package/esm/models/list/ListItemCollection.js.map +0 -1
  709. package/esm/models/list/ListItemModel.js +0 -87
  710. package/esm/models/list/ListItemModel.js.flow +0 -111
  711. package/esm/models/list/ListItemModel.js.map +0 -1
  712. package/esm/models/list/ListModel.js +0 -378
  713. package/esm/models/list/ListModel.js.flow +0 -438
  714. package/esm/models/list/ListModel.js.map +0 -1
  715. package/esm/models/list/__mock__/caselist.js.flow +0 -14
  716. package/esm/models/list/__tests__/ListDetailModel.hierarchy.spec.js.flow +0 -88
  717. package/esm/models/list/__tests__/ListDetailModel.spec.js.flow +0 -96
  718. package/esm/models/list/__tests__/ListItemCollection.spec.js.flow +0 -22
  719. package/esm/models/list/__tests__/ListModel.spec.js.flow +0 -152
  720. package/esm/models/list/__tests__/ListResultDetail.spec.js.flow +0 -37
  721. package/esm/models/lookup/LookupOptionCollection.js +0 -38
  722. package/esm/models/lookup/LookupOptionCollection.js.flow +0 -54
  723. package/esm/models/lookup/LookupOptionCollection.js.map +0 -1
  724. package/esm/models/lookup/LookupOptionsModel.js +0 -63
  725. package/esm/models/lookup/LookupOptionsModel.js.flow +0 -81
  726. package/esm/models/lookup/LookupOptionsModel.js.map +0 -1
  727. package/esm/models/lookup/__tests__/LookupOptionCollection.spec.js.flow +0 -80
  728. package/esm/models/lookup/__tests__/LookupOptionsModel.spec.js.flow +0 -82
  729. package/esm/models/modelcatalog/ModelCatalogModel.js +0 -61
  730. package/esm/models/modelcatalog/ModelCatalogModel.js.flow +0 -73
  731. package/esm/models/modelcatalog/ModelCatalogModel.js.map +0 -1
  732. package/esm/models/modelcatalog/ModelCategoryCollection.js +0 -16
  733. package/esm/models/modelcatalog/ModelCategoryCollection.js.flow +0 -22
  734. package/esm/models/modelcatalog/ModelCategoryCollection.js.map +0 -1
  735. package/esm/models/modelcatalog/ModelCategoryModel.js +0 -53
  736. package/esm/models/modelcatalog/ModelCategoryModel.js.flow +0 -63
  737. package/esm/models/modelcatalog/ModelCategoryModel.js.map +0 -1
  738. package/esm/models/modelcatalog/__mock__/modelcatalog.js.flow +0 -14
  739. package/esm/models/modelcatalog/__tests__/ModelCatalogModel.spec.js.flow +0 -49
  740. package/esm/models/paging/PagesizeModel.js +0 -42
  741. package/esm/models/paging/PagesizeModel.js.flow +0 -44
  742. package/esm/models/paging/PagesizeModel.js.map +0 -1
  743. package/esm/models/paging/PagingModel.js +0 -88
  744. package/esm/models/paging/PagingModel.js.flow +0 -94
  745. package/esm/models/paging/PagingModel.js.map +0 -1
  746. package/esm/models/paging/__tests__/PageSizeModel.spec.js.flow +0 -31
  747. package/esm/models/paging/__tests__/PagingModel.spec.js.flow +0 -40
  748. package/esm/models/panels/GroupingPanelModel.js +0 -135
  749. package/esm/models/panels/GroupingPanelModel.js.flow +0 -164
  750. package/esm/models/panels/GroupingPanelModel.js.map +0 -1
  751. package/esm/models/panels/__tests__/GroupingPanelModel.spec.js.flow +0 -142
  752. package/esm/models/parameter/Parameter.js +0 -102
  753. package/esm/models/parameter/Parameter.js.flow +0 -117
  754. package/esm/models/parameter/Parameter.js.map +0 -1
  755. package/esm/models/parameter/__tests__/Parameter.spec.js.flow +0 -125
  756. package/esm/models/process/ProcessStatusSettingsModel.js +0 -77
  757. package/esm/models/process/ProcessStatusSettingsModel.js.flow +0 -88
  758. package/esm/models/process/ProcessStatusSettingsModel.js.map +0 -1
  759. package/esm/models/process/__tests__/ProcessStatusSettingsModel.spec.js.flow +0 -52
  760. package/esm/models/resolveModel.js +0 -50
  761. package/esm/models/resolveModel.js.flow +0 -92
  762. package/esm/models/resolveModel.js.map +0 -1
  763. package/esm/models/search/CaseSearchModel.js +0 -39
  764. package/esm/models/search/CaseSearchModel.js.flow +0 -46
  765. package/esm/models/search/CaseSearchModel.js.map +0 -1
  766. package/esm/models/search/__tests__/CaseSearchModel.spec.js.flow +0 -10
  767. package/esm/models/sorting/SortOptionModel.js +0 -100
  768. package/esm/models/sorting/SortOptionModel.js.flow +0 -107
  769. package/esm/models/sorting/SortOptionModel.js.map +0 -1
  770. package/esm/models/sorting/SortingModel.js +0 -106
  771. package/esm/models/sorting/SortingModel.js.flow +0 -128
  772. package/esm/models/sorting/SortingModel.js.map +0 -1
  773. package/esm/models/sorting/__tests__/SortingModel.spec.js.flow +0 -96
  774. package/esm/models/tab/TabModel.js +0 -135
  775. package/esm/models/tab/TabModel.js.flow +0 -160
  776. package/esm/models/tab/TabModel.js.map +0 -1
  777. package/esm/models/tab/__mock__/tab.js.flow +0 -14
  778. package/esm/models/tab/__mock__/tabPerson.js.flow +0 -14
  779. package/esm/models/tab/__tests__/TabModel.spec.js.flow +0 -72
  780. package/esm/models/taskgroup/TaskGroupCollection.js +0 -13
  781. package/esm/models/taskgroup/TaskGroupCollection.js.flow +0 -16
  782. package/esm/models/taskgroup/TaskGroupCollection.js.map +0 -1
  783. package/esm/models/taskgroup/TaskGroupModel.js +0 -79
  784. package/esm/models/taskgroup/TaskGroupModel.js.flow +0 -102
  785. package/esm/models/taskgroup/TaskGroupModel.js.map +0 -1
  786. package/esm/models/taskgroup/__mock__/taskgroup.js.flow +0 -14
  787. package/esm/models/taskgroup/__tests__/TaskGroupModel.spec.js.flow +0 -26
  788. package/esm/models/types.js +0 -2
  789. package/esm/models/types.js.flow +0 -275
  790. package/esm/models/types.js.map +0 -1
  791. package/esm/models/user/UserModel.js +0 -51
  792. package/esm/models/user/UserModel.js.flow +0 -57
  793. package/esm/models/user/UserModel.js.map +0 -1
  794. package/esm/models/user/UserProfileModel.js +0 -47
  795. package/esm/models/user/UserProfileModel.js.flow +0 -54
  796. package/esm/models/user/UserProfileModel.js.map +0 -1
  797. package/esm/models/user/UserServicesModel.js +0 -119
  798. package/esm/models/user/UserServicesModel.js.flow +0 -136
  799. package/esm/models/user/UserServicesModel.js.map +0 -1
  800. package/esm/models/user/__tests__/UserModel.spec.js.flow +0 -43
  801. package/esm/models/user/__tests__/UserProfileModel.spec.js.flow +0 -45
  802. package/esm/models/user/__tests__/UserServicesModel.spec.js.flow +0 -55
  803. package/esm/modularui/Authenticate.js +0 -177
  804. package/esm/modularui/Authenticate.js.flow +0 -195
  805. package/esm/modularui/Authenticate.js.map +0 -1
  806. package/esm/modularui/CaptchaRequest.js +0 -64
  807. package/esm/modularui/CaptchaRequest.js.flow +0 -104
  808. package/esm/modularui/CaptchaRequest.js.map +0 -1
  809. package/esm/modularui/ModularUIError.js +0 -23
  810. package/esm/modularui/ModularUIError.js.flow +0 -25
  811. package/esm/modularui/ModularUIError.js.map +0 -1
  812. package/esm/modularui/ModularUIRequest.js +0 -712
  813. package/esm/modularui/ModularUIRequest.js.flow +0 -872
  814. package/esm/modularui/ModularUIRequest.js.map +0 -1
  815. package/esm/modularui/ModularUIResponse.js +0 -140
  816. package/esm/modularui/ModularUIResponse.js.flow +0 -160
  817. package/esm/modularui/ModularUIResponse.js.map +0 -1
  818. package/esm/modularui/UploadRequest.js +0 -97
  819. package/esm/modularui/UploadRequest.js.flow +0 -151
  820. package/esm/modularui/UploadRequest.js.map +0 -1
  821. package/esm/modularui/__tests__/CustomContextPath.spec.js.flow +0 -61
  822. package/esm/modularui/__tests__/ModularUIError.spec.js.flow +0 -22
  823. package/esm/modularui/__tests__/ModularUIRequest.spec.js.flow +0 -495
  824. package/esm/modularui/index.js +0 -6
  825. package/esm/modularui/index.js.flow +0 -6
  826. package/esm/modularui/index.js.map +0 -1
  827. package/esm/modularui/types.js +0 -2
  828. package/esm/modularui/types.js.flow +0 -4
  829. package/esm/modularui/types.js.map +0 -1
  830. package/esm/react/ErrorBoundary.js +0 -49
  831. package/esm/react/ErrorBoundary.js.flow +0 -61
  832. package/esm/react/ErrorBoundary.js.map +0 -1
  833. package/esm/react/ErrorBoundaryFallback.js +0 -34
  834. package/esm/react/ErrorBoundaryFallback.js.flow +0 -46
  835. package/esm/react/ErrorBoundaryFallback.js.map +0 -1
  836. package/esm/react/index.js +0 -3
  837. package/esm/react/index.js.flow +0 -3
  838. package/esm/react/index.js.map +0 -1
  839. package/esm/react/utils.js +0 -24
  840. package/esm/react/utils.js.flow +0 -33
  841. package/esm/react/utils.js.map +0 -1
  842. package/esm/react-client/Init.js +0 -36
  843. package/esm/react-client/Init.js.flow +0 -46
  844. package/esm/react-client/Init.js.map +0 -1
  845. package/esm/react-client/client.js +0 -224
  846. package/esm/react-client/client.js.flow +0 -309
  847. package/esm/react-client/client.js.map +0 -1
  848. package/esm/react-client/contextPath.js +0 -22
  849. package/esm/react-client/contextPath.js.flow +0 -30
  850. package/esm/react-client/contextPath.js.map +0 -1
  851. package/esm/react-client/index.js +0 -4
  852. package/esm/react-client/index.js.flow +0 -4
  853. package/esm/react-client/index.js.map +0 -1
  854. package/esm/react-client/rehydrate.js +0 -67
  855. package/esm/react-client/rehydrate.js.flow +0 -94
  856. package/esm/react-client/rehydrate.js.map +0 -1
  857. package/esm/react-server/__tests__/htmlpage.spec.js.flow +0 -75
  858. package/esm/react-server/__tests__/requestInformation.spec.js.flow +0 -266
  859. package/esm/react-server/__tests__/serverUtil.spec.js.flow +0 -183
  860. package/esm/react-server/contextPath.js +0 -6
  861. package/esm/react-server/contextPath.js.flow +0 -8
  862. package/esm/react-server/contextPath.js.map +0 -1
  863. package/esm/react-server/createSSRComplete.js +0 -54
  864. package/esm/react-server/createSSRComplete.js.flow +0 -63
  865. package/esm/react-server/createSSRComplete.js.map +0 -1
  866. package/esm/react-server/htmlpage.js +0 -47
  867. package/esm/react-server/htmlpage.js.flow +0 -55
  868. package/esm/react-server/htmlpage.js.map +0 -1
  869. package/esm/react-server/index.js +0 -9
  870. package/esm/react-server/index.js.flow +0 -13
  871. package/esm/react-server/index.js.map +0 -1
  872. package/esm/react-server/renderSSRComplete.js +0 -84
  873. package/esm/react-server/renderSSRComplete.js.flow +0 -111
  874. package/esm/react-server/renderSSRComplete.js.map +0 -1
  875. package/esm/react-server/renderSSRMinimal.js +0 -40
  876. package/esm/react-server/renderSSRMinimal.js.flow +0 -54
  877. package/esm/react-server/renderSSRMinimal.js.map +0 -1
  878. package/esm/react-server/requestInformation.js +0 -53
  879. package/esm/react-server/requestInformation.js.flow +0 -68
  880. package/esm/react-server/requestInformation.js.map +0 -1
  881. package/esm/react-server/serverNoSSR.js +0 -56
  882. package/esm/react-server/serverNoSSR.js.flow +0 -87
  883. package/esm/react-server/serverNoSSR.js.map +0 -1
  884. package/esm/react-server/serverSSR.js +0 -44
  885. package/esm/react-server/serverSSR.js.flow +0 -70
  886. package/esm/react-server/serverSSR.js.map +0 -1
  887. package/esm/react-server/serverUtil.js +0 -201
  888. package/esm/react-server/serverUtil.js.flow +0 -279
  889. package/esm/react-server/serverUtil.js.map +0 -1
  890. package/esm/react-theme/ThemeProvider.js +0 -26
  891. package/esm/react-theme/ThemeProvider.js.flow +0 -25
  892. package/esm/react-theme/ThemeProvider.js.map +0 -1
  893. package/esm/react-theme/__tests__/ThemeProvider.spec.js.flow +0 -84
  894. package/esm/react-theme/__tests__/createTheme.spec.js.flow +0 -172
  895. package/esm/react-theme/createTheme.js +0 -108
  896. package/esm/react-theme/createTheme.js.flow +0 -118
  897. package/esm/react-theme/createTheme.js.map +0 -1
  898. package/esm/react-theme/index.js +0 -10
  899. package/esm/react-theme/index.js.flow +0 -15
  900. package/esm/react-theme/index.js.map +0 -1
  901. package/esm/react-theme/types.js +0 -2
  902. package/esm/react-theme/types.js.flow +0 -16
  903. package/esm/react-theme/types.js.map +0 -1
  904. package/esm/react-theme/useTheme.js +0 -9
  905. package/esm/react-theme/useTheme.js.flow +0 -13
  906. package/esm/react-theme/useTheme.js.map +0 -1
  907. package/esm/react-theme/utils/__tests__/background.spec.js.flow +0 -30
  908. package/esm/react-theme/utils/__tests__/colors.spec.js.flow +0 -30
  909. package/esm/react-theme/utils/__tests__/contrast.spec.js.flow +0 -44
  910. package/esm/react-theme/utils/__tests__/corners.spec.js.flow +0 -27
  911. package/esm/react-theme/utils/__tests__/spacers.spec.js.flow +0 -44
  912. package/esm/react-theme/utils/__tests__/themeProps.spec.js.flow +0 -72
  913. package/esm/react-theme/utils/background.js +0 -15
  914. package/esm/react-theme/utils/background.js.flow +0 -20
  915. package/esm/react-theme/utils/background.js.map +0 -1
  916. package/esm/react-theme/utils/colors.js +0 -37
  917. package/esm/react-theme/utils/colors.js.flow +0 -47
  918. package/esm/react-theme/utils/colors.js.map +0 -1
  919. package/esm/react-theme/utils/contrast.js +0 -86
  920. package/esm/react-theme/utils/contrast.js.flow +0 -117
  921. package/esm/react-theme/utils/contrast.js.map +0 -1
  922. package/esm/react-theme/utils/corners.js +0 -28
  923. package/esm/react-theme/utils/corners.js.flow +0 -37
  924. package/esm/react-theme/utils/corners.js.map +0 -1
  925. package/esm/react-theme/utils/spacers.js +0 -81
  926. package/esm/react-theme/utils/spacers.js.flow +0 -65
  927. package/esm/react-theme/utils/spacers.js.map +0 -1
  928. package/esm/react-theme/utils/themeProps.js +0 -64
  929. package/esm/react-theme/utils/themeProps.js.flow +0 -90
  930. package/esm/react-theme/utils/themeProps.js.map +0 -1
  931. package/esm/redux/_i18n/I18nActions.js +0 -28
  932. package/esm/redux/_i18n/I18nActions.js.flow +0 -38
  933. package/esm/redux/_i18n/I18nActions.js.map +0 -1
  934. package/esm/redux/_i18n/I18nReducer.js +0 -78
  935. package/esm/redux/_i18n/I18nReducer.js.flow +0 -91
  936. package/esm/redux/_i18n/I18nReducer.js.map +0 -1
  937. package/esm/redux/_i18n/__tests__/actions.spec.js.flow +0 -37
  938. package/esm/redux/_i18n/__tests__/reducer.spec.js.flow +0 -29
  939. package/esm/redux/_i18n/index.js +0 -3
  940. package/esm/redux/_i18n/index.js.flow +0 -6
  941. package/esm/redux/_i18n/index.js.map +0 -1
  942. package/esm/redux/_i18n/types.js +0 -2
  943. package/esm/redux/_i18n/types.js.flow +0 -20
  944. package/esm/redux/_i18n/types.js.map +0 -1
  945. package/esm/redux/_modularui/ModularUIActions.js +0 -168
  946. package/esm/redux/_modularui/ModularUIActions.js.flow +0 -227
  947. package/esm/redux/_modularui/ModularUIActions.js.map +0 -1
  948. package/esm/redux/_modularui/ModularUIConnector.js +0 -116
  949. package/esm/redux/_modularui/ModularUIConnector.js.flow +0 -155
  950. package/esm/redux/_modularui/ModularUIConnector.js.map +0 -1
  951. package/esm/redux/_modularui/ModularUIMiddleware.js +0 -99
  952. package/esm/redux/_modularui/ModularUIMiddleware.js.flow +0 -182
  953. package/esm/redux/_modularui/ModularUIMiddleware.js.map +0 -1
  954. package/esm/redux/_modularui/ModularUIReducer.js +0 -151
  955. package/esm/redux/_modularui/ModularUIReducer.js.flow +0 -169
  956. package/esm/redux/_modularui/ModularUIReducer.js.map +0 -1
  957. package/esm/redux/_modularui/ModularUISelectors.js +0 -252
  958. package/esm/redux/_modularui/ModularUISelectors.js.flow +0 -322
  959. package/esm/redux/_modularui/ModularUISelectors.js.map +0 -1
  960. package/esm/redux/_modularui/ModularUIUtils.js +0 -75
  961. package/esm/redux/_modularui/ModularUIUtils.js.flow +0 -96
  962. package/esm/redux/_modularui/ModularUIUtils.js.map +0 -1
  963. package/esm/redux/_modularui/__tests__/actions.spec.js.flow +0 -159
  964. package/esm/redux/_modularui/__tests__/reducer.spec.js.flow +0 -134
  965. package/esm/redux/_modularui/__tests__/selectors.spec.js.flow +0 -153
  966. package/esm/redux/_modularui/index.js +0 -8
  967. package/esm/redux/_modularui/index.js.flow +0 -11
  968. package/esm/redux/_modularui/index.js.map +0 -1
  969. package/esm/redux/_modularui/types.js +0 -2
  970. package/esm/redux/_modularui/types.js.flow +0 -121
  971. package/esm/redux/_modularui/types.js.map +0 -1
  972. package/esm/redux/_modularui/withModularUI.js +0 -34
  973. package/esm/redux/_modularui/withModularUI.js.flow +0 -85
  974. package/esm/redux/_modularui/withModularUI.js.map +0 -1
  975. package/esm/redux/_router/RouterActions.js +0 -55
  976. package/esm/redux/_router/RouterActions.js.flow +0 -75
  977. package/esm/redux/_router/RouterActions.js.map +0 -1
  978. package/esm/redux/_router/RouterConnectors.js +0 -37
  979. package/esm/redux/_router/RouterConnectors.js.flow +0 -97
  980. package/esm/redux/_router/RouterConnectors.js.map +0 -1
  981. package/esm/redux/_router/RouterMiddleware.js +0 -31
  982. package/esm/redux/_router/RouterMiddleware.js.flow +0 -37
  983. package/esm/redux/_router/RouterMiddleware.js.map +0 -1
  984. package/esm/redux/_router/RouterReducer.js +0 -15
  985. package/esm/redux/_router/RouterReducer.js.flow +0 -21
  986. package/esm/redux/_router/RouterReducer.js.map +0 -1
  987. package/esm/redux/_router/__tests__/actions.spec.js.flow +0 -109
  988. package/esm/redux/_router/__tests__/hooks.spec.js.flow +0 -98
  989. package/esm/redux/_router/__tests__/middleware.spec.js.flow +0 -62
  990. package/esm/redux/_router/__tests__/reducer.spec.js.flow +0 -26
  991. package/esm/redux/_router/index.js +0 -5
  992. package/esm/redux/_router/index.js.flow +0 -8
  993. package/esm/redux/_router/index.js.map +0 -1
  994. package/esm/redux/_router/types.js +0 -2
  995. package/esm/redux/_router/types.js.flow +0 -43
  996. package/esm/redux/_router/types.js.map +0 -1
  997. package/esm/redux/actions/Application.js +0 -30
  998. package/esm/redux/actions/Application.js.flow +0 -45
  999. package/esm/redux/actions/Application.js.map +0 -1
  1000. package/esm/redux/actions/Authorization.js +0 -47
  1001. package/esm/redux/actions/Authorization.js.flow +0 -65
  1002. package/esm/redux/actions/Authorization.js.map +0 -1
  1003. package/esm/redux/actions/Error.js +0 -65
  1004. package/esm/redux/actions/Error.js.flow +0 -95
  1005. package/esm/redux/actions/Error.js.map +0 -1
  1006. package/esm/redux/actions/Form.js +0 -30
  1007. package/esm/redux/actions/Form.js.flow +0 -42
  1008. package/esm/redux/actions/Form.js.map +0 -1
  1009. package/esm/redux/actions/FormAttributeSet.js +0 -62
  1010. package/esm/redux/actions/FormAttributeSet.js.flow +0 -98
  1011. package/esm/redux/actions/FormAttributeSet.js.map +0 -1
  1012. package/esm/redux/actions/FormAttributeSetRepeatable.js +0 -26
  1013. package/esm/redux/actions/FormAttributeSetRepeatable.js.flow +0 -45
  1014. package/esm/redux/actions/FormAttributeSetRepeatable.js.map +0 -1
  1015. package/esm/redux/actions/FormAutosave.js +0 -52
  1016. package/esm/redux/actions/FormAutosave.js.flow +0 -73
  1017. package/esm/redux/actions/FormAutosave.js.map +0 -1
  1018. package/esm/redux/actions/FormAutosubmit.js +0 -30
  1019. package/esm/redux/actions/FormAutosubmit.js.flow +0 -43
  1020. package/esm/redux/actions/FormAutosubmit.js.map +0 -1
  1021. package/esm/redux/actions/FormAutoupdate.js +0 -29
  1022. package/esm/redux/actions/FormAutoupdate.js.flow +0 -47
  1023. package/esm/redux/actions/FormAutoupdate.js.map +0 -1
  1024. package/esm/redux/actions/FormValidations.js +0 -43
  1025. package/esm/redux/actions/FormValidations.js.flow +0 -71
  1026. package/esm/redux/actions/FormValidations.js.map +0 -1
  1027. package/esm/redux/actions/Modals.js +0 -14
  1028. package/esm/redux/actions/Modals.js.flow +0 -16
  1029. package/esm/redux/actions/Modals.js.map +0 -1
  1030. package/esm/redux/actions/ModelCatalog.js +0 -8
  1031. package/esm/redux/actions/ModelCatalog.js.flow +0 -12
  1032. package/esm/redux/actions/ModelCatalog.js.map +0 -1
  1033. package/esm/redux/actions/Notification.js +0 -66
  1034. package/esm/redux/actions/Notification.js.flow +0 -101
  1035. package/esm/redux/actions/Notification.js.map +0 -1
  1036. package/esm/redux/actions/Preferences.js +0 -115
  1037. package/esm/redux/actions/Preferences.js.flow +0 -173
  1038. package/esm/redux/actions/Preferences.js.map +0 -1
  1039. package/esm/redux/actions/ProgressIndicator.js +0 -32
  1040. package/esm/redux/actions/ProgressIndicator.js.flow +0 -39
  1041. package/esm/redux/actions/ProgressIndicator.js.map +0 -1
  1042. package/esm/redux/actions/SignIn.js +0 -77
  1043. package/esm/redux/actions/SignIn.js.flow +0 -102
  1044. package/esm/redux/actions/SignIn.js.map +0 -1
  1045. package/esm/redux/actions/SignOut.js +0 -21
  1046. package/esm/redux/actions/SignOut.js.flow +0 -29
  1047. package/esm/redux/actions/SignOut.js.map +0 -1
  1048. package/esm/redux/actions/__tests__/Application.spec.js.flow +0 -52
  1049. package/esm/redux/actions/__tests__/Authorization.spec.js.flow +0 -121
  1050. package/esm/redux/actions/__tests__/CustomErrorResponseHandler.spec.js.flow +0 -72
  1051. package/esm/redux/actions/__tests__/Error-server.spec.js.flow +0 -134
  1052. package/esm/redux/actions/__tests__/Error.spec.js.flow +0 -116
  1053. package/esm/redux/actions/__tests__/Form.spec.js.flow +0 -39
  1054. package/esm/redux/actions/__tests__/Modals.spec.js.flow +0 -34
  1055. package/esm/redux/actions/__tests__/Notification.spec.js.flow +0 -94
  1056. package/esm/redux/actions/__tests__/Preferences.spec.js.flow +0 -71
  1057. package/esm/redux/actions/__tests__/ProgressIndicator.spec.js.flow +0 -53
  1058. package/esm/redux/actions/index.js +0 -17
  1059. package/esm/redux/actions/index.js.flow +0 -17
  1060. package/esm/redux/actions/index.js.map +0 -1
  1061. package/esm/redux/connectors/Application.js +0 -7
  1062. package/esm/redux/connectors/Application.js.flow +0 -14
  1063. package/esm/redux/connectors/Application.js.map +0 -1
  1064. package/esm/redux/connectors/Breadcrumb.js +0 -10
  1065. package/esm/redux/connectors/Breadcrumb.js.flow +0 -28
  1066. package/esm/redux/connectors/Breadcrumb.js.map +0 -1
  1067. package/esm/redux/connectors/CaseView.js +0 -12
  1068. package/esm/redux/connectors/CaseView.js.flow +0 -14
  1069. package/esm/redux/connectors/CaseView.js.map +0 -1
  1070. package/esm/redux/connectors/ConceptDetail.js +0 -13
  1071. package/esm/redux/connectors/ConceptDetail.js.flow +0 -12
  1072. package/esm/redux/connectors/ConceptDetail.js.map +0 -1
  1073. package/esm/redux/connectors/ContentBrowser.js +0 -12
  1074. package/esm/redux/connectors/ContentBrowser.js.flow +0 -14
  1075. package/esm/redux/connectors/ContentBrowser.js.map +0 -1
  1076. package/esm/redux/connectors/ContentDetail.js +0 -13
  1077. package/esm/redux/connectors/ContentDetail.js.flow +0 -13
  1078. package/esm/redux/connectors/ContentDetail.js.map +0 -1
  1079. package/esm/redux/connectors/ContentDetailSection.js +0 -15
  1080. package/esm/redux/connectors/ContentDetailSection.js.flow +0 -17
  1081. package/esm/redux/connectors/ContentDetailSection.js.map +0 -1
  1082. package/esm/redux/connectors/Form.js +0 -36
  1083. package/esm/redux/connectors/Form.js.flow +0 -83
  1084. package/esm/redux/connectors/Form.js.map +0 -1
  1085. package/esm/redux/connectors/FormAttributeSet.js +0 -21
  1086. package/esm/redux/connectors/FormAttributeSet.js.flow +0 -85
  1087. package/esm/redux/connectors/FormAttributeSet.js.map +0 -1
  1088. package/esm/redux/connectors/ListDetail.js +0 -14
  1089. package/esm/redux/connectors/ListDetail.js.flow +0 -16
  1090. package/esm/redux/connectors/ListDetail.js.map +0 -1
  1091. package/esm/redux/connectors/Modal.js +0 -20
  1092. package/esm/redux/connectors/Modal.js.flow +0 -47
  1093. package/esm/redux/connectors/Modal.js.map +0 -1
  1094. package/esm/redux/connectors/ModelCatalog.js +0 -12
  1095. package/esm/redux/connectors/ModelCatalog.js.flow +0 -14
  1096. package/esm/redux/connectors/ModelCatalog.js.map +0 -1
  1097. package/esm/redux/connectors/Notification.js +0 -16
  1098. package/esm/redux/connectors/Notification.js.flow +0 -47
  1099. package/esm/redux/connectors/Notification.js.map +0 -1
  1100. package/esm/redux/connectors/PanelRenderer.js +0 -22
  1101. package/esm/redux/connectors/PanelRenderer.js.flow +0 -29
  1102. package/esm/redux/connectors/PanelRenderer.js.map +0 -1
  1103. package/esm/redux/connectors/Preferences.js +0 -22
  1104. package/esm/redux/connectors/Preferences.js.flow +0 -53
  1105. package/esm/redux/connectors/Preferences.js.map +0 -1
  1106. package/esm/redux/connectors/Progress.js +0 -13
  1107. package/esm/redux/connectors/Progress.js.flow +0 -35
  1108. package/esm/redux/connectors/Progress.js.map +0 -1
  1109. package/esm/redux/connectors/ProgressIndicator.js +0 -13
  1110. package/esm/redux/connectors/ProgressIndicator.js.flow +0 -35
  1111. package/esm/redux/connectors/ProgressIndicator.js.map +0 -1
  1112. package/esm/redux/connectors/QuickSearch.js +0 -20
  1113. package/esm/redux/connectors/QuickSearch.js.flow +0 -36
  1114. package/esm/redux/connectors/QuickSearch.js.map +0 -1
  1115. package/esm/redux/connectors/SignIn.js +0 -18
  1116. package/esm/redux/connectors/SignIn.js.flow +0 -47
  1117. package/esm/redux/connectors/SignIn.js.map +0 -1
  1118. package/esm/redux/connectors/SignOut.js +0 -14
  1119. package/esm/redux/connectors/SignOut.js.flow +0 -38
  1120. package/esm/redux/connectors/SignOut.js.map +0 -1
  1121. package/esm/redux/connectors/Tab.js +0 -12
  1122. package/esm/redux/connectors/Tab.js.flow +0 -14
  1123. package/esm/redux/connectors/Tab.js.map +0 -1
  1124. package/esm/redux/connectors/index.js +0 -22
  1125. package/esm/redux/connectors/index.js.flow +0 -22
  1126. package/esm/redux/connectors/index.js.map +0 -1
  1127. package/esm/redux/index.js +0 -24
  1128. package/esm/redux/index.js.flow +0 -27
  1129. package/esm/redux/index.js.map +0 -1
  1130. package/esm/redux/reducers/AuthReducer.js +0 -53
  1131. package/esm/redux/reducers/AuthReducer.js.flow +0 -56
  1132. package/esm/redux/reducers/AuthReducer.js.map +0 -1
  1133. package/esm/redux/reducers/ErrorReducer.js +0 -16
  1134. package/esm/redux/reducers/ErrorReducer.js.flow +0 -22
  1135. package/esm/redux/reducers/ErrorReducer.js.map +0 -1
  1136. package/esm/redux/reducers/ModalsReducer.js +0 -51
  1137. package/esm/redux/reducers/ModalsReducer.js.flow +0 -58
  1138. package/esm/redux/reducers/ModalsReducer.js.map +0 -1
  1139. package/esm/redux/reducers/ModelCatalogReducer.js +0 -27
  1140. package/esm/redux/reducers/ModelCatalogReducer.js.flow +0 -34
  1141. package/esm/redux/reducers/ModelCatalogReducer.js.map +0 -1
  1142. package/esm/redux/reducers/NotificationReducer.js +0 -37
  1143. package/esm/redux/reducers/NotificationReducer.js.flow +0 -45
  1144. package/esm/redux/reducers/NotificationReducer.js.map +0 -1
  1145. package/esm/redux/reducers/PreferencesReducer.js +0 -24
  1146. package/esm/redux/reducers/PreferencesReducer.js.flow +0 -31
  1147. package/esm/redux/reducers/PreferencesReducer.js.map +0 -1
  1148. package/esm/redux/reducers/ProgressIndicatorReducer.js +0 -49
  1149. package/esm/redux/reducers/ProgressIndicatorReducer.js.flow +0 -60
  1150. package/esm/redux/reducers/ProgressIndicatorReducer.js.map +0 -1
  1151. package/esm/redux/reducers/__tests__/AuthReducer.spec.js.flow +0 -95
  1152. package/esm/redux/reducers/__tests__/ErrorReducer.spec.js.flow +0 -17
  1153. package/esm/redux/reducers/__tests__/ModalsReducer.spec.js.flow +0 -34
  1154. package/esm/redux/reducers/__tests__/ModelCatalogReducer.spec.js.flow +0 -23
  1155. package/esm/redux/reducers/__tests__/NotificationReducer.spec.js.flow +0 -53
  1156. package/esm/redux/reducers/__tests__/PreferencesReducer.spec.js.flow +0 -31
  1157. package/esm/redux/reducers/__tests__/ProgressIndicatorReducer.spec.js.flow +0 -82
  1158. package/esm/redux/reducers/createReducer.js +0 -25
  1159. package/esm/redux/reducers/createReducer.js.flow +0 -55
  1160. package/esm/redux/reducers/createReducer.js.map +0 -1
  1161. package/esm/redux/reducers/index.js +0 -9
  1162. package/esm/redux/reducers/index.js.flow +0 -10
  1163. package/esm/redux/reducers/index.js.map +0 -1
  1164. package/esm/redux/selectors/i18n.js +0 -12
  1165. package/esm/redux/selectors/i18n.js.flow +0 -15
  1166. package/esm/redux/selectors/i18n.js.map +0 -1
  1167. package/esm/redux/selectors/index.js +0 -3
  1168. package/esm/redux/selectors/index.js.flow +0 -3
  1169. package/esm/redux/selectors/index.js.map +0 -1
  1170. package/esm/redux/selectors/modelcatalog.js +0 -7
  1171. package/esm/redux/selectors/modelcatalog.js.flow +0 -11
  1172. package/esm/redux/selectors/modelcatalog.js.map +0 -1
  1173. package/esm/redux/store/__tests__/beforeRenderHooks.spec.js.flow +0 -13
  1174. package/esm/redux/store/beforeRenderHooks.js +0 -17
  1175. package/esm/redux/store/beforeRenderHooks.js.flow +0 -26
  1176. package/esm/redux/store/beforeRenderHooks.js.map +0 -1
  1177. package/esm/redux/store/configureStore.js +0 -30
  1178. package/esm/redux/store/configureStore.js.flow +0 -59
  1179. package/esm/redux/store/configureStore.js.map +0 -1
  1180. package/esm/redux/types.js +0 -2
  1181. package/esm/redux/types.js.flow +0 -241
  1182. package/esm/redux/types.js.map +0 -1
  1183. package/esm/utils/browser/Cache.js +0 -144
  1184. package/esm/utils/browser/Cache.js.flow +0 -157
  1185. package/esm/utils/browser/Cache.js.map +0 -1
  1186. package/esm/utils/browser/Cookies.js +0 -28
  1187. package/esm/utils/browser/Cookies.js.flow +0 -44
  1188. package/esm/utils/browser/Cookies.js.map +0 -1
  1189. package/esm/utils/browser/__tests__/Cookies.spec.js.flow +0 -51
  1190. package/esm/utils/datetime/DateTimeUtil.js +0 -643
  1191. package/esm/utils/datetime/DateTimeUtil.js.flow +0 -858
  1192. package/esm/utils/datetime/DateTimeUtil.js.map +0 -1
  1193. package/esm/utils/datetime/__tests__/DateTime.spec.js.flow +0 -873
  1194. package/esm/utils/datetime/__tests__/DateTimeFormat.spec.js.flow +0 -146
  1195. package/esm/utils/fetch/__mocks__/universalFetch.js.flow +0 -38
  1196. package/esm/utils/fetch/__tests__/xhr.spec.js.flow +0 -281
  1197. package/esm/utils/fetch/serverFetch.js +0 -25
  1198. package/esm/utils/fetch/serverFetch.js.flow +0 -33
  1199. package/esm/utils/fetch/serverFetch.js.map +0 -1
  1200. package/esm/utils/fetch/types.js +0 -2
  1201. package/esm/utils/fetch/types.js.flow +0 -46
  1202. package/esm/utils/fetch/types.js.map +0 -1
  1203. package/esm/utils/fetch/universalFetch.js +0 -87
  1204. package/esm/utils/fetch/universalFetch.js.flow +0 -106
  1205. package/esm/utils/fetch/universalFetch.js.map +0 -1
  1206. package/esm/utils/fetch/xhr.js +0 -351
  1207. package/esm/utils/fetch/xhr.js.flow +0 -409
  1208. package/esm/utils/fetch/xhr.js.map +0 -1
  1209. package/esm/utils/helpers/__tests__/checkResource.spec.js.flow +0 -60
  1210. package/esm/utils/helpers/__tests__/createHash.spec.js.flow +0 -11
  1211. package/esm/utils/helpers/__tests__/createHref.spec.js.flow +0 -39
  1212. package/esm/utils/helpers/__tests__/objects.spec.js.flow +0 -50
  1213. package/esm/utils/helpers/__tests__/sanitizeHTML.spec.js.flow +0 -69
  1214. package/esm/utils/helpers/checkResource.js +0 -38
  1215. package/esm/utils/helpers/checkResource.js.flow +0 -43
  1216. package/esm/utils/helpers/checkResource.js.map +0 -1
  1217. package/esm/utils/helpers/createHash.js +0 -22
  1218. package/esm/utils/helpers/createHash.js.flow +0 -28
  1219. package/esm/utils/helpers/createHash.js.map +0 -1
  1220. package/esm/utils/helpers/createHref.js +0 -91
  1221. package/esm/utils/helpers/createHref.js.flow +0 -117
  1222. package/esm/utils/helpers/createHref.js.map +0 -1
  1223. package/esm/utils/helpers/createUUID.js +0 -12
  1224. package/esm/utils/helpers/createUUID.js.flow +0 -13
  1225. package/esm/utils/helpers/createUUID.js.map +0 -1
  1226. package/esm/utils/helpers/index.js +0 -9
  1227. package/esm/utils/helpers/index.js.flow +0 -9
  1228. package/esm/utils/helpers/index.js.map +0 -1
  1229. package/esm/utils/helpers/objects.js +0 -28
  1230. package/esm/utils/helpers/objects.js.flow +0 -33
  1231. package/esm/utils/helpers/objects.js.map +0 -1
  1232. package/esm/utils/helpers/repositoryResource.js +0 -19
  1233. package/esm/utils/helpers/repositoryResource.js.flow +0 -22
  1234. package/esm/utils/helpers/repositoryResource.js.map +0 -1
  1235. package/esm/utils/helpers/sanitizeHtml.js +0 -38
  1236. package/esm/utils/helpers/sanitizeHtml.js.flow +0 -55
  1237. package/esm/utils/helpers/sanitizeHtml.js.map +0 -1
  1238. package/esm/utils/helpers/text.js +0 -17
  1239. package/esm/utils/helpers/text.js.flow +0 -23
  1240. package/esm/utils/helpers/text.js.map +0 -1
  1241. package/esm/utils/index.js +0 -19
  1242. package/esm/utils/index.js.flow +0 -22
  1243. package/esm/utils/index.js.map +0 -1
  1244. package/esm/utils/number/DecimalFormat.js +0 -326
  1245. package/esm/utils/number/DecimalFormat.js.flow +0 -410
  1246. package/esm/utils/number/DecimalFormat.js.map +0 -1
  1247. package/esm/utils/number/__tests__/formatValue.spec.js.flow +0 -36
  1248. package/esm/utils/number/__tests__/parseNumbers.spec.js.flow +0 -50
  1249. package/esm/utils/number/formatValue.js +0 -41
  1250. package/esm/utils/number/formatValue.js.flow +0 -60
  1251. package/esm/utils/number/formatValue.js.map +0 -1
  1252. package/esm/utils/number/parseNumbers.js +0 -63
  1253. package/esm/utils/number/parseNumbers.js.flow +0 -94
  1254. package/esm/utils/number/parseNumbers.js.map +0 -1
  1255. package/lib/builder/index.js +0 -18
  1256. package/lib/builder/index.js.map +0 -1
  1257. package/lib/builder/mergeLayoutHintConfigurations.js +0 -60
  1258. package/lib/builder/mergeLayoutHintConfigurations.js.map +0 -1
  1259. package/lib/constants/Constants.js +0 -189
  1260. package/lib/constants/Constants.js.map +0 -1
  1261. package/lib/constants/LayoutHintConfig.js +0 -173
  1262. package/lib/constants/LayoutHintConfig.js.map +0 -1
  1263. package/lib/constants/LayoutHints.js +0 -135
  1264. package/lib/constants/LayoutHints.js.map +0 -1
  1265. package/lib/constants/Settings.js +0 -225
  1266. package/lib/constants/Settings.js.map +0 -1
  1267. package/lib/constants/index.js +0 -40
  1268. package/lib/constants/index.js.map +0 -1
  1269. package/lib/exceptions/ConfigurationException.js +0 -17
  1270. package/lib/exceptions/ConfigurationException.js.map +0 -1
  1271. package/lib/exceptions/FetchException.js +0 -72
  1272. package/lib/exceptions/FetchException.js.map +0 -1
  1273. package/lib/exceptions/IllegalArgumentException.js +0 -17
  1274. package/lib/exceptions/IllegalArgumentException.js.map +0 -1
  1275. package/lib/exceptions/IllegalReturnException.js +0 -16
  1276. package/lib/exceptions/IllegalReturnException.js.map +0 -1
  1277. package/lib/exceptions/IllegalStateException.js +0 -17
  1278. package/lib/exceptions/IllegalStateException.js.map +0 -1
  1279. package/lib/exceptions/JsonParseException.js +0 -17
  1280. package/lib/exceptions/JsonParseException.js.map +0 -1
  1281. package/lib/exceptions/MissingPropertyException.js +0 -17
  1282. package/lib/exceptions/MissingPropertyException.js.map +0 -1
  1283. package/lib/exceptions/NetworkException.js +0 -23
  1284. package/lib/exceptions/NetworkException.js.map +0 -1
  1285. package/lib/exceptions/NotAllowedUriException.js +0 -17
  1286. package/lib/exceptions/NotAllowedUriException.js.map +0 -1
  1287. package/lib/exceptions/NotFoundException.js +0 -26
  1288. package/lib/exceptions/NotFoundException.js.map +0 -1
  1289. package/lib/exceptions/ServerRequestException.js +0 -17
  1290. package/lib/exceptions/ServerRequestException.js.map +0 -1
  1291. package/lib/exceptions/ThemePropertyException.js +0 -17
  1292. package/lib/exceptions/ThemePropertyException.js.map +0 -1
  1293. package/lib/exceptions/TimeoutException.js +0 -17
  1294. package/lib/exceptions/TimeoutException.js.map +0 -1
  1295. package/lib/exceptions/UnauthorizedException.js +0 -25
  1296. package/lib/exceptions/UnauthorizedException.js.map +0 -1
  1297. package/lib/exceptions/UnsupportedOperationException.js +0 -17
  1298. package/lib/exceptions/UnsupportedOperationException.js.map +0 -1
  1299. package/lib/exceptions/index.js +0 -112
  1300. package/lib/exceptions/index.js.map +0 -1
  1301. package/lib/hooks/index.js +0 -183
  1302. package/lib/hooks/index.js.map +0 -1
  1303. package/lib/hooks/useAllFormsOnModel.js +0 -81
  1304. package/lib/hooks/useAllFormsOnModel.js.map +0 -1
  1305. package/lib/hooks/useAuthentication.js +0 -66
  1306. package/lib/hooks/useAuthentication.js.map +0 -1
  1307. package/lib/hooks/useContent.js +0 -49
  1308. package/lib/hooks/useContent.js.map +0 -1
  1309. package/lib/hooks/useDeepCompareEffect.js +0 -34
  1310. package/lib/hooks/useDeepCompareEffect.js.map +0 -1
  1311. package/lib/hooks/useForm.js +0 -98
  1312. package/lib/hooks/useForm.js.map +0 -1
  1313. package/lib/hooks/useI18n.js +0 -42
  1314. package/lib/hooks/useI18n.js.map +0 -1
  1315. package/lib/hooks/useModal.js +0 -43
  1316. package/lib/hooks/useModal.js.map +0 -1
  1317. package/lib/hooks/useModelCatalog.js +0 -218
  1318. package/lib/hooks/useModelCatalog.js.map +0 -1
  1319. package/lib/hooks/useModels.js +0 -45
  1320. package/lib/hooks/useModels.js.map +0 -1
  1321. package/lib/hooks/useModularUI.js +0 -69
  1322. package/lib/hooks/useModularUI.js.map +0 -1
  1323. package/lib/hooks/useModularUIBasic.js +0 -81
  1324. package/lib/hooks/useModularUIBasic.js.map +0 -1
  1325. package/lib/hooks/useModularUIModel.js +0 -128
  1326. package/lib/hooks/useModularUIModel.js.map +0 -1
  1327. package/lib/hooks/useModularUIRequest.js +0 -25
  1328. package/lib/hooks/useModularUIRequest.js.map +0 -1
  1329. package/lib/hooks/useNotification.js +0 -39
  1330. package/lib/hooks/useNotification.js.map +0 -1
  1331. package/lib/hooks/usePreference.js +0 -23
  1332. package/lib/hooks/usePreference.js.map +0 -1
  1333. package/lib/hooks/useProgressIndicator.js +0 -23
  1334. package/lib/hooks/useProgressIndicator.js.map +0 -1
  1335. package/lib/hooks/useRouter.js +0 -42
  1336. package/lib/hooks/useRouter.js.map +0 -1
  1337. package/lib/i18n/Locale.js +0 -128
  1338. package/lib/i18n/Locale.js.map +0 -1
  1339. package/lib/i18n/Locales.js +0 -140
  1340. package/lib/i18n/Locales.js.map +0 -1
  1341. package/lib/i18n/Message.js +0 -50
  1342. package/lib/i18n/Message.js.map +0 -1
  1343. package/lib/i18n/index.js +0 -56
  1344. package/lib/i18n/index.js.map +0 -1
  1345. package/lib/i18n/languages.js +0 -212
  1346. package/lib/i18n/languages.js.map +0 -1
  1347. package/lib/i18n/translations/beinformed_error_messages_en.nl.js +0 -104
  1348. package/lib/i18n/translations/beinformed_error_messages_en.nl.js.map +0 -1
  1349. package/lib/i18n/translations/beinformed_error_messages_nl.nl.js +0 -104
  1350. package/lib/i18n/translations/beinformed_error_messages_nl.nl.js.map +0 -1
  1351. package/lib/i18n/types.js +0 -2
  1352. package/lib/i18n/types.js.map +0 -1
  1353. package/lib/i18n/withMessage.js +0 -27
  1354. package/lib/i18n/withMessage.js.map +0 -1
  1355. package/lib/index.js +0 -73
  1356. package/lib/index.js.map +0 -1
  1357. package/lib/models/actions/ActionCollection.js +0 -90
  1358. package/lib/models/actions/ActionCollection.js.map +0 -1
  1359. package/lib/models/actions/ActionModel.js +0 -194
  1360. package/lib/models/actions/ActionModel.js.map +0 -1
  1361. package/lib/models/application/ApplicationModel.js +0 -135
  1362. package/lib/models/application/ApplicationModel.js.map +0 -1
  1363. package/lib/models/attributes/AttributeCollection.js +0 -282
  1364. package/lib/models/attributes/AttributeCollection.js.map +0 -1
  1365. package/lib/models/attributes/AttributeContent.js +0 -203
  1366. package/lib/models/attributes/AttributeContent.js.map +0 -1
  1367. package/lib/models/attributes/AttributeDataHelper.js +0 -267
  1368. package/lib/models/attributes/AttributeDataHelper.js.map +0 -1
  1369. package/lib/models/attributes/AttributeModel.js +0 -824
  1370. package/lib/models/attributes/AttributeModel.js.map +0 -1
  1371. package/lib/models/attributes/AttributeSetModel.js +0 -105
  1372. package/lib/models/attributes/AttributeSetModel.js.map +0 -1
  1373. package/lib/models/attributes/BooleanAttributeModel.js +0 -295
  1374. package/lib/models/attributes/BooleanAttributeModel.js.map +0 -1
  1375. package/lib/models/attributes/CaptchaAttributeModel.js +0 -60
  1376. package/lib/models/attributes/CaptchaAttributeModel.js.map +0 -1
  1377. package/lib/models/attributes/ChoiceAttributeModel.js +0 -411
  1378. package/lib/models/attributes/ChoiceAttributeModel.js.map +0 -1
  1379. package/lib/models/attributes/ChoiceAttributeOptionCollection.js +0 -313
  1380. package/lib/models/attributes/ChoiceAttributeOptionCollection.js.map +0 -1
  1381. package/lib/models/attributes/ChoiceAttributeOptionModel.js +0 -342
  1382. package/lib/models/attributes/ChoiceAttributeOptionModel.js.map +0 -1
  1383. package/lib/models/attributes/CompositeAttributeChildCollection.js +0 -189
  1384. package/lib/models/attributes/CompositeAttributeChildCollection.js.map +0 -1
  1385. package/lib/models/attributes/CompositeAttributeModel.js +0 -381
  1386. package/lib/models/attributes/CompositeAttributeModel.js.map +0 -1
  1387. package/lib/models/attributes/DatetimeAttributeModel.js +0 -465
  1388. package/lib/models/attributes/DatetimeAttributeModel.js.map +0 -1
  1389. package/lib/models/attributes/HelptextAttributeModel.js +0 -55
  1390. package/lib/models/attributes/HelptextAttributeModel.js.map +0 -1
  1391. package/lib/models/attributes/LabelAttributeModel.js +0 -41
  1392. package/lib/models/attributes/LabelAttributeModel.js.map +0 -1
  1393. package/lib/models/attributes/MemoAttributeModel.js +0 -49
  1394. package/lib/models/attributes/MemoAttributeModel.js.map +0 -1
  1395. package/lib/models/attributes/MoneyAttributeModel.js +0 -49
  1396. package/lib/models/attributes/MoneyAttributeModel.js.map +0 -1
  1397. package/lib/models/attributes/NumberAttributeModel.js +0 -201
  1398. package/lib/models/attributes/NumberAttributeModel.js.map +0 -1
  1399. package/lib/models/attributes/PasswordAttributeModel.js +0 -217
  1400. package/lib/models/attributes/PasswordAttributeModel.js.map +0 -1
  1401. package/lib/models/attributes/StringAttributeModel.js +0 -284
  1402. package/lib/models/attributes/StringAttributeModel.js.map +0 -1
  1403. package/lib/models/attributes/UploadAttributeModel.js +0 -223
  1404. package/lib/models/attributes/UploadAttributeModel.js.map +0 -1
  1405. package/lib/models/attributes/XMLAttributeModel.js +0 -53
  1406. package/lib/models/attributes/XMLAttributeModel.js.map +0 -1
  1407. package/lib/models/attributes/_createAttribute.js +0 -93
  1408. package/lib/models/attributes/_createAttribute.js.map +0 -1
  1409. package/lib/models/attributes/input-constraints/BSNConstraint.js +0 -72
  1410. package/lib/models/attributes/input-constraints/BSNConstraint.js.map +0 -1
  1411. package/lib/models/attributes/input-constraints/ConstraintCollection.js +0 -50
  1412. package/lib/models/attributes/input-constraints/ConstraintCollection.js.map +0 -1
  1413. package/lib/models/attributes/input-constraints/ConstraintModel.js +0 -74
  1414. package/lib/models/attributes/input-constraints/ConstraintModel.js.map +0 -1
  1415. package/lib/models/attributes/input-constraints/DateBoundaryConstraint.js +0 -205
  1416. package/lib/models/attributes/input-constraints/DateBoundaryConstraint.js.map +0 -1
  1417. package/lib/models/attributes/input-constraints/DateTimeDateFormatConstraint.js +0 -76
  1418. package/lib/models/attributes/input-constraints/DateTimeDateFormatConstraint.js.map +0 -1
  1419. package/lib/models/attributes/input-constraints/DateTimeTimeFormatConstraint.js +0 -76
  1420. package/lib/models/attributes/input-constraints/DateTimeTimeFormatConstraint.js.map +0 -1
  1421. package/lib/models/attributes/input-constraints/DatetimeFormatConstraint.js +0 -122
  1422. package/lib/models/attributes/input-constraints/DatetimeFormatConstraint.js.map +0 -1
  1423. package/lib/models/attributes/input-constraints/FileExtensionConstraint.js +0 -66
  1424. package/lib/models/attributes/input-constraints/FileExtensionConstraint.js.map +0 -1
  1425. package/lib/models/attributes/input-constraints/FileSizeConstraint.js +0 -98
  1426. package/lib/models/attributes/input-constraints/FileSizeConstraint.js.map +0 -1
  1427. package/lib/models/attributes/input-constraints/IBANConstraint.js +0 -49
  1428. package/lib/models/attributes/input-constraints/IBANConstraint.js.map +0 -1
  1429. package/lib/models/attributes/input-constraints/MandatoryConstraint.js +0 -53
  1430. package/lib/models/attributes/input-constraints/MandatoryConstraint.js.map +0 -1
  1431. package/lib/models/attributes/input-constraints/MandatoryRangeConstraint.js +0 -85
  1432. package/lib/models/attributes/input-constraints/MandatoryRangeConstraint.js.map +0 -1
  1433. package/lib/models/attributes/input-constraints/NumberBoundaryConstraint.js +0 -177
  1434. package/lib/models/attributes/input-constraints/NumberBoundaryConstraint.js.map +0 -1
  1435. package/lib/models/attributes/input-constraints/NumberFormatConstraint.js +0 -132
  1436. package/lib/models/attributes/input-constraints/NumberFormatConstraint.js.map +0 -1
  1437. package/lib/models/attributes/input-constraints/NumberGroupingConstraint.js +0 -126
  1438. package/lib/models/attributes/input-constraints/NumberGroupingConstraint.js.map +0 -1
  1439. package/lib/models/attributes/input-constraints/PasswordConfirmConstraint.js +0 -72
  1440. package/lib/models/attributes/input-constraints/PasswordConfirmConstraint.js.map +0 -1
  1441. package/lib/models/attributes/input-constraints/PasswordLowerAndUpperCaseConstraint.js +0 -47
  1442. package/lib/models/attributes/input-constraints/PasswordLowerAndUpperCaseConstraint.js.map +0 -1
  1443. package/lib/models/attributes/input-constraints/PasswordMinNumericCharactersConstraint.js +0 -64
  1444. package/lib/models/attributes/input-constraints/PasswordMinNumericCharactersConstraint.js.map +0 -1
  1445. package/lib/models/attributes/input-constraints/PasswordMinSpecialCharactersConstraint.js +0 -64
  1446. package/lib/models/attributes/input-constraints/PasswordMinSpecialCharactersConstraint.js.map +0 -1
  1447. package/lib/models/attributes/input-constraints/PasswordThreeConsecutiveCharactersNotAllowedConstraint.js +0 -78
  1448. package/lib/models/attributes/input-constraints/PasswordThreeConsecutiveCharactersNotAllowedConstraint.js.map +0 -1
  1449. package/lib/models/attributes/input-constraints/RangeConstraint.js +0 -143
  1450. package/lib/models/attributes/input-constraints/RangeConstraint.js.map +0 -1
  1451. package/lib/models/attributes/input-constraints/RegexConstraint.js +0 -67
  1452. package/lib/models/attributes/input-constraints/RegexConstraint.js.map +0 -1
  1453. package/lib/models/attributes/input-constraints/StringLengthConstraint.js +0 -178
  1454. package/lib/models/attributes/input-constraints/StringLengthConstraint.js.map +0 -1
  1455. package/lib/models/attributes/input-constraints/XMLConstraint.js +0 -62
  1456. package/lib/models/attributes/input-constraints/XMLConstraint.js.map +0 -1
  1457. package/lib/models/attributes/layouthint-rules/BaseLayoutHintRule.js +0 -66
  1458. package/lib/models/attributes/layouthint-rules/BaseLayoutHintRule.js.map +0 -1
  1459. package/lib/models/attributes/layouthint-rules/DependentAttribute.js +0 -200
  1460. package/lib/models/attributes/layouthint-rules/DependentAttribute.js.map +0 -1
  1461. package/lib/models/attributes/layouthint-rules/LayoutHintRuleCollection.js +0 -88
  1462. package/lib/models/attributes/layouthint-rules/LayoutHintRuleCollection.js.map +0 -1
  1463. package/lib/models/attributes/layouthint-rules/RemainingTotalUploadSize.js +0 -51
  1464. package/lib/models/attributes/layouthint-rules/RemainingTotalUploadSize.js.map +0 -1
  1465. package/lib/models/base/BaseCollection.js +0 -186
  1466. package/lib/models/base/BaseCollection.js.map +0 -1
  1467. package/lib/models/base/BaseModel.js +0 -149
  1468. package/lib/models/base/BaseModel.js.map +0 -1
  1469. package/lib/models/base/ResourceCollection.js +0 -41
  1470. package/lib/models/base/ResourceCollection.js.map +0 -1
  1471. package/lib/models/base/ResourceModel.js +0 -209
  1472. package/lib/models/base/ResourceModel.js.map +0 -1
  1473. package/lib/models/caseview/CaseViewModel.js +0 -163
  1474. package/lib/models/caseview/CaseViewModel.js.map +0 -1
  1475. package/lib/models/concepts/BusinessScenarioModel.js +0 -122
  1476. package/lib/models/concepts/BusinessScenarioModel.js.map +0 -1
  1477. package/lib/models/concepts/ConceptDetailModel.js +0 -281
  1478. package/lib/models/concepts/ConceptDetailModel.js.map +0 -1
  1479. package/lib/models/concepts/ConceptIndexModel.js +0 -150
  1480. package/lib/models/concepts/ConceptIndexModel.js.map +0 -1
  1481. package/lib/models/concepts/ConceptLinkModel.js +0 -172
  1482. package/lib/models/concepts/ConceptLinkModel.js.map +0 -1
  1483. package/lib/models/concepts/ConceptRelationCollection.js +0 -82
  1484. package/lib/models/concepts/ConceptRelationCollection.js.map +0 -1
  1485. package/lib/models/concepts/ConceptRelationModel.js +0 -115
  1486. package/lib/models/concepts/ConceptRelationModel.js.map +0 -1
  1487. package/lib/models/concepts/ConceptTypeDetailModel.js +0 -128
  1488. package/lib/models/concepts/ConceptTypeDetailModel.js.map +0 -1
  1489. package/lib/models/concepts/SourceReferenceCollection.js +0 -35
  1490. package/lib/models/concepts/SourceReferenceCollection.js.map +0 -1
  1491. package/lib/models/concepts/SourceReferenceModel.js +0 -100
  1492. package/lib/models/concepts/SourceReferenceModel.js.map +0 -1
  1493. package/lib/models/content/ContentIndexModel.js +0 -142
  1494. package/lib/models/content/ContentIndexModel.js.map +0 -1
  1495. package/lib/models/content/ContentLinkModel.js +0 -258
  1496. package/lib/models/content/ContentLinkModel.js.map +0 -1
  1497. package/lib/models/content/ContentModel.js +0 -207
  1498. package/lib/models/content/ContentModel.js.map +0 -1
  1499. package/lib/models/content/ContentTOCModel.js +0 -212
  1500. package/lib/models/content/ContentTOCModel.js.map +0 -1
  1501. package/lib/models/content/ContentTypeModel.js +0 -74
  1502. package/lib/models/content/ContentTypeModel.js.map +0 -1
  1503. package/lib/models/content/SectionModel.js +0 -200
  1504. package/lib/models/content/SectionModel.js.map +0 -1
  1505. package/lib/models/content/SubSectionModel.js +0 -167
  1506. package/lib/models/content/SubSectionModel.js.map +0 -1
  1507. package/lib/models/contentconfiguration/ContentConfiguration.js +0 -75
  1508. package/lib/models/contentconfiguration/ContentConfiguration.js.map +0 -1
  1509. package/lib/models/contentconfiguration/ContentConfigurationElements.js +0 -143
  1510. package/lib/models/contentconfiguration/ContentConfigurationElements.js.map +0 -1
  1511. package/lib/models/contentconfiguration/ContentConfigurationEndResults.js +0 -49
  1512. package/lib/models/contentconfiguration/ContentConfigurationEndResults.js.map +0 -1
  1513. package/lib/models/contentconfiguration/ContentConfigurationQuestions.js +0 -54
  1514. package/lib/models/contentconfiguration/ContentConfigurationQuestions.js.map +0 -1
  1515. package/lib/models/contentconfiguration/ContentConfigurationResults.js +0 -103
  1516. package/lib/models/contentconfiguration/ContentConfigurationResults.js.map +0 -1
  1517. package/lib/models/detail/DetailModel.js +0 -219
  1518. package/lib/models/detail/DetailModel.js.map +0 -1
  1519. package/lib/models/error/ErrorCollection.js +0 -111
  1520. package/lib/models/error/ErrorCollection.js.map +0 -1
  1521. package/lib/models/error/ErrorModel.js +0 -81
  1522. package/lib/models/error/ErrorModel.js.map +0 -1
  1523. package/lib/models/error/ErrorResponse.js +0 -304
  1524. package/lib/models/error/ErrorResponse.js.map +0 -1
  1525. package/lib/models/filters/AssignmentFilterModel.js +0 -161
  1526. package/lib/models/filters/AssignmentFilterModel.js.map +0 -1
  1527. package/lib/models/filters/BaseFilterModel.js +0 -210
  1528. package/lib/models/filters/BaseFilterModel.js.map +0 -1
  1529. package/lib/models/filters/ConceptIndexFilterModel.js +0 -37
  1530. package/lib/models/filters/ConceptIndexFilterModel.js.map +0 -1
  1531. package/lib/models/filters/FilterCollection.js +0 -155
  1532. package/lib/models/filters/FilterCollection.js.map +0 -1
  1533. package/lib/models/filters/FilterModel.js +0 -13
  1534. package/lib/models/filters/FilterModel.js.map +0 -1
  1535. package/lib/models/filters/RangeFilterModel.js +0 -44
  1536. package/lib/models/filters/RangeFilterModel.js.map +0 -1
  1537. package/lib/models/filters/StringFilterModel.js +0 -147
  1538. package/lib/models/filters/StringFilterModel.js.map +0 -1
  1539. package/lib/models/form/FormModel.js +0 -1038
  1540. package/lib/models/form/FormModel.js.map +0 -1
  1541. package/lib/models/form/FormObjectModel.js +0 -477
  1542. package/lib/models/form/FormObjectModel.js.map +0 -1
  1543. package/lib/models/grouping/GroupingModel.js +0 -191
  1544. package/lib/models/grouping/GroupingModel.js.map +0 -1
  1545. package/lib/models/href/Href.js +0 -497
  1546. package/lib/models/href/Href.js.map +0 -1
  1547. package/lib/models/href/ListHref.js +0 -135
  1548. package/lib/models/href/ListHref.js.map +0 -1
  1549. package/lib/models/index.js +0 -686
  1550. package/lib/models/index.js.map +0 -1
  1551. package/lib/models/layouthint/LayoutHintCollection.js +0 -118
  1552. package/lib/models/layouthint/LayoutHintCollection.js.map +0 -1
  1553. package/lib/models/links/LinkCollection.js +0 -171
  1554. package/lib/models/links/LinkCollection.js.map +0 -1
  1555. package/lib/models/links/LinkModel.js +0 -216
  1556. package/lib/models/links/LinkModel.js.map +0 -1
  1557. package/lib/models/links/normalizeLinkJSON.js +0 -107
  1558. package/lib/models/links/normalizeLinkJSON.js.map +0 -1
  1559. package/lib/models/list/ListDetailModel.js +0 -267
  1560. package/lib/models/list/ListDetailModel.js.map +0 -1
  1561. package/lib/models/list/ListHeaderModel.js +0 -95
  1562. package/lib/models/list/ListHeaderModel.js.map +0 -1
  1563. package/lib/models/list/ListItemCollection.js +0 -67
  1564. package/lib/models/list/ListItemCollection.js.map +0 -1
  1565. package/lib/models/list/ListItemModel.js +0 -95
  1566. package/lib/models/list/ListItemModel.js.map +0 -1
  1567. package/lib/models/list/ListModel.js +0 -386
  1568. package/lib/models/list/ListModel.js.map +0 -1
  1569. package/lib/models/lookup/LookupOptionCollection.js +0 -45
  1570. package/lib/models/lookup/LookupOptionCollection.js.map +0 -1
  1571. package/lib/models/lookup/LookupOptionsModel.js +0 -71
  1572. package/lib/models/lookup/LookupOptionsModel.js.map +0 -1
  1573. package/lib/models/modelcatalog/ModelCatalogModel.js +0 -69
  1574. package/lib/models/modelcatalog/ModelCatalogModel.js.map +0 -1
  1575. package/lib/models/modelcatalog/ModelCategoryCollection.js +0 -24
  1576. package/lib/models/modelcatalog/ModelCategoryCollection.js.map +0 -1
  1577. package/lib/models/modelcatalog/ModelCategoryModel.js +0 -60
  1578. package/lib/models/modelcatalog/ModelCategoryModel.js.map +0 -1
  1579. package/lib/models/paging/PagesizeModel.js +0 -50
  1580. package/lib/models/paging/PagesizeModel.js.map +0 -1
  1581. package/lib/models/paging/PagingModel.js +0 -95
  1582. package/lib/models/paging/PagingModel.js.map +0 -1
  1583. package/lib/models/panels/GroupingPanelModel.js +0 -143
  1584. package/lib/models/panels/GroupingPanelModel.js.map +0 -1
  1585. package/lib/models/parameter/Parameter.js +0 -108
  1586. package/lib/models/parameter/Parameter.js.map +0 -1
  1587. package/lib/models/process/ProcessStatusSettingsModel.js +0 -85
  1588. package/lib/models/process/ProcessStatusSettingsModel.js.map +0 -1
  1589. package/lib/models/resolveModel.js +0 -57
  1590. package/lib/models/resolveModel.js.map +0 -1
  1591. package/lib/models/search/CaseSearchModel.js +0 -47
  1592. package/lib/models/search/CaseSearchModel.js.map +0 -1
  1593. package/lib/models/sorting/SortOptionModel.js +0 -106
  1594. package/lib/models/sorting/SortOptionModel.js.map +0 -1
  1595. package/lib/models/sorting/SortingModel.js +0 -112
  1596. package/lib/models/sorting/SortingModel.js.map +0 -1
  1597. package/lib/models/tab/TabModel.js +0 -143
  1598. package/lib/models/tab/TabModel.js.map +0 -1
  1599. package/lib/models/taskgroup/TaskGroupCollection.js +0 -21
  1600. package/lib/models/taskgroup/TaskGroupCollection.js.map +0 -1
  1601. package/lib/models/taskgroup/TaskGroupModel.js +0 -87
  1602. package/lib/models/taskgroup/TaskGroupModel.js.map +0 -1
  1603. package/lib/models/types.js +0 -2
  1604. package/lib/models/types.js.map +0 -1
  1605. package/lib/models/user/UserModel.js +0 -59
  1606. package/lib/models/user/UserModel.js.map +0 -1
  1607. package/lib/models/user/UserProfileModel.js +0 -55
  1608. package/lib/models/user/UserProfileModel.js.map +0 -1
  1609. package/lib/models/user/UserServicesModel.js +0 -126
  1610. package/lib/models/user/UserServicesModel.js.map +0 -1
  1611. package/lib/modularui/Authenticate.js +0 -183
  1612. package/lib/modularui/Authenticate.js.map +0 -1
  1613. package/lib/modularui/CaptchaRequest.js +0 -71
  1614. package/lib/modularui/CaptchaRequest.js.map +0 -1
  1615. package/lib/modularui/ModularUIError.js +0 -30
  1616. package/lib/modularui/ModularUIError.js.map +0 -1
  1617. package/lib/modularui/ModularUIRequest.js +0 -719
  1618. package/lib/modularui/ModularUIRequest.js.map +0 -1
  1619. package/lib/modularui/ModularUIResponse.js +0 -147
  1620. package/lib/modularui/ModularUIResponse.js.map +0 -1
  1621. package/lib/modularui/UploadRequest.js +0 -104
  1622. package/lib/modularui/UploadRequest.js.map +0 -1
  1623. package/lib/modularui/index.js +0 -42
  1624. package/lib/modularui/index.js.map +0 -1
  1625. package/lib/modularui/types.js +0 -2
  1626. package/lib/modularui/types.js.map +0 -1
  1627. package/lib/react/ErrorBoundary.js +0 -56
  1628. package/lib/react/ErrorBoundary.js.map +0 -1
  1629. package/lib/react/ErrorBoundaryFallback.js +0 -41
  1630. package/lib/react/ErrorBoundaryFallback.js.map +0 -1
  1631. package/lib/react/index.js +0 -29
  1632. package/lib/react/index.js.map +0 -1
  1633. package/lib/react/utils.js +0 -32
  1634. package/lib/react/utils.js.map +0 -1
  1635. package/lib/react-client/Init.js +0 -44
  1636. package/lib/react-client/Init.js.map +0 -1
  1637. package/lib/react-client/client.js +0 -236
  1638. package/lib/react-client/client.js.map +0 -1
  1639. package/lib/react-client/contextPath.js +0 -26
  1640. package/lib/react-client/contextPath.js.map +0 -1
  1641. package/lib/react-client/index.js +0 -40
  1642. package/lib/react-client/index.js.map +0 -1
  1643. package/lib/react-client/rehydrate.js +0 -73
  1644. package/lib/react-client/rehydrate.js.map +0 -1
  1645. package/lib/react-server/contextPath.js +0 -10
  1646. package/lib/react-server/contextPath.js.map +0 -1
  1647. package/lib/react-server/createSSRComplete.js +0 -61
  1648. package/lib/react-server/createSSRComplete.js.map +0 -1
  1649. package/lib/react-server/htmlpage.js +0 -54
  1650. package/lib/react-server/htmlpage.js.map +0 -1
  1651. package/lib/react-server/index.js +0 -82
  1652. package/lib/react-server/index.js.map +0 -1
  1653. package/lib/react-server/renderSSRComplete.js +0 -91
  1654. package/lib/react-server/renderSSRComplete.js.map +0 -1
  1655. package/lib/react-server/renderSSRMinimal.js +0 -47
  1656. package/lib/react-server/renderSSRMinimal.js.map +0 -1
  1657. package/lib/react-server/requestInformation.js +0 -64
  1658. package/lib/react-server/requestInformation.js.map +0 -1
  1659. package/lib/react-server/serverNoSSR.js +0 -63
  1660. package/lib/react-server/serverNoSSR.js.map +0 -1
  1661. package/lib/react-server/serverSSR.js +0 -51
  1662. package/lib/react-server/serverSSR.js.map +0 -1
  1663. package/lib/react-server/serverUtil.js +0 -217
  1664. package/lib/react-server/serverUtil.js.map +0 -1
  1665. package/lib/react-theme/ThemeProvider.js +0 -33
  1666. package/lib/react-theme/ThemeProvider.js.map +0 -1
  1667. package/lib/react-theme/createTheme.js +0 -115
  1668. package/lib/react-theme/createTheme.js.map +0 -1
  1669. package/lib/react-theme/index.js +0 -110
  1670. package/lib/react-theme/index.js.map +0 -1
  1671. package/lib/react-theme/types.js +0 -2
  1672. package/lib/react-theme/types.js.map +0 -1
  1673. package/lib/react-theme/useTheme.js +0 -15
  1674. package/lib/react-theme/useTheme.js.map +0 -1
  1675. package/lib/react-theme/utils/background.js +0 -21
  1676. package/lib/react-theme/utils/background.js.map +0 -1
  1677. package/lib/react-theme/utils/colors.js +0 -45
  1678. package/lib/react-theme/utils/colors.js.map +0 -1
  1679. package/lib/react-theme/utils/contrast.js +0 -95
  1680. package/lib/react-theme/utils/contrast.js.map +0 -1
  1681. package/lib/react-theme/utils/corners.js +0 -34
  1682. package/lib/react-theme/utils/corners.js.map +0 -1
  1683. package/lib/react-theme/utils/spacers.js +0 -89
  1684. package/lib/react-theme/utils/spacers.js.map +0 -1
  1685. package/lib/react-theme/utils/themeProps.js +0 -75
  1686. package/lib/react-theme/utils/themeProps.js.map +0 -1
  1687. package/lib/redux/_i18n/I18nActions.js +0 -37
  1688. package/lib/redux/_i18n/I18nActions.js.map +0 -1
  1689. package/lib/redux/_i18n/I18nReducer.js +0 -86
  1690. package/lib/redux/_i18n/I18nReducer.js.map +0 -1
  1691. package/lib/redux/_i18n/index.js +0 -29
  1692. package/lib/redux/_i18n/index.js.map +0 -1
  1693. package/lib/redux/_i18n/types.js +0 -2
  1694. package/lib/redux/_i18n/types.js.map +0 -1
  1695. package/lib/redux/_modularui/ModularUIActions.js +0 -185
  1696. package/lib/redux/_modularui/ModularUIActions.js.map +0 -1
  1697. package/lib/redux/_modularui/ModularUIConnector.js +0 -123
  1698. package/lib/redux/_modularui/ModularUIConnector.js.map +0 -1
  1699. package/lib/redux/_modularui/ModularUIMiddleware.js +0 -107
  1700. package/lib/redux/_modularui/ModularUIMiddleware.js.map +0 -1
  1701. package/lib/redux/_modularui/ModularUIReducer.js +0 -159
  1702. package/lib/redux/_modularui/ModularUIReducer.js.map +0 -1
  1703. package/lib/redux/_modularui/ModularUISelectors.js +0 -270
  1704. package/lib/redux/_modularui/ModularUISelectors.js.map +0 -1
  1705. package/lib/redux/_modularui/ModularUIUtils.js +0 -85
  1706. package/lib/redux/_modularui/ModularUIUtils.js.map +0 -1
  1707. package/lib/redux/_modularui/index.js +0 -86
  1708. package/lib/redux/_modularui/index.js.map +0 -1
  1709. package/lib/redux/_modularui/types.js +0 -2
  1710. package/lib/redux/_modularui/types.js.map +0 -1
  1711. package/lib/redux/_modularui/withModularUI.js +0 -41
  1712. package/lib/redux/_modularui/withModularUI.js.map +0 -1
  1713. package/lib/redux/_router/RouterActions.js +0 -67
  1714. package/lib/redux/_router/RouterActions.js.map +0 -1
  1715. package/lib/redux/_router/RouterConnectors.js +0 -42
  1716. package/lib/redux/_router/RouterConnectors.js.map +0 -1
  1717. package/lib/redux/_router/RouterMiddleware.js +0 -38
  1718. package/lib/redux/_router/RouterMiddleware.js.map +0 -1
  1719. package/lib/redux/_router/RouterReducer.js +0 -22
  1720. package/lib/redux/_router/RouterReducer.js.map +0 -1
  1721. package/lib/redux/_router/index.js +0 -51
  1722. package/lib/redux/_router/index.js.map +0 -1
  1723. package/lib/redux/_router/types.js +0 -2
  1724. package/lib/redux/_router/types.js.map +0 -1
  1725. package/lib/redux/actions/Application.js +0 -38
  1726. package/lib/redux/actions/Application.js.map +0 -1
  1727. package/lib/redux/actions/Authorization.js +0 -55
  1728. package/lib/redux/actions/Authorization.js.map +0 -1
  1729. package/lib/redux/actions/Error.js +0 -74
  1730. package/lib/redux/actions/Error.js.map +0 -1
  1731. package/lib/redux/actions/Form.js +0 -39
  1732. package/lib/redux/actions/Form.js.map +0 -1
  1733. package/lib/redux/actions/FormAttributeSet.js +0 -69
  1734. package/lib/redux/actions/FormAttributeSet.js.map +0 -1
  1735. package/lib/redux/actions/FormAttributeSetRepeatable.js +0 -35
  1736. package/lib/redux/actions/FormAttributeSetRepeatable.js.map +0 -1
  1737. package/lib/redux/actions/FormAutosave.js +0 -60
  1738. package/lib/redux/actions/FormAutosave.js.map +0 -1
  1739. package/lib/redux/actions/FormAutosubmit.js +0 -38
  1740. package/lib/redux/actions/FormAutosubmit.js.map +0 -1
  1741. package/lib/redux/actions/FormAutoupdate.js +0 -37
  1742. package/lib/redux/actions/FormAutoupdate.js.map +0 -1
  1743. package/lib/redux/actions/FormValidations.js +0 -51
  1744. package/lib/redux/actions/FormValidations.js.map +0 -1
  1745. package/lib/redux/actions/Modals.js +0 -22
  1746. package/lib/redux/actions/Modals.js.map +0 -1
  1747. package/lib/redux/actions/ModelCatalog.js +0 -15
  1748. package/lib/redux/actions/ModelCatalog.js.map +0 -1
  1749. package/lib/redux/actions/Notification.js +0 -76
  1750. package/lib/redux/actions/Notification.js.map +0 -1
  1751. package/lib/redux/actions/Preferences.js +0 -128
  1752. package/lib/redux/actions/Preferences.js.map +0 -1
  1753. package/lib/redux/actions/ProgressIndicator.js +0 -42
  1754. package/lib/redux/actions/ProgressIndicator.js.map +0 -1
  1755. package/lib/redux/actions/SignIn.js +0 -90
  1756. package/lib/redux/actions/SignIn.js.map +0 -1
  1757. package/lib/redux/actions/SignOut.js +0 -30
  1758. package/lib/redux/actions/SignOut.js.map +0 -1
  1759. package/lib/redux/actions/index.js +0 -183
  1760. package/lib/redux/actions/index.js.map +0 -1
  1761. package/lib/redux/connectors/Application.js +0 -14
  1762. package/lib/redux/connectors/Application.js.map +0 -1
  1763. package/lib/redux/connectors/Breadcrumb.js +0 -16
  1764. package/lib/redux/connectors/Breadcrumb.js.map +0 -1
  1765. package/lib/redux/connectors/CaseView.js +0 -19
  1766. package/lib/redux/connectors/CaseView.js.map +0 -1
  1767. package/lib/redux/connectors/ConceptDetail.js +0 -20
  1768. package/lib/redux/connectors/ConceptDetail.js.map +0 -1
  1769. package/lib/redux/connectors/ContentBrowser.js +0 -19
  1770. package/lib/redux/connectors/ContentBrowser.js.map +0 -1
  1771. package/lib/redux/connectors/ContentDetail.js +0 -20
  1772. package/lib/redux/connectors/ContentDetail.js.map +0 -1
  1773. package/lib/redux/connectors/ContentDetailSection.js +0 -22
  1774. package/lib/redux/connectors/ContentDetailSection.js.map +0 -1
  1775. package/lib/redux/connectors/Form.js +0 -43
  1776. package/lib/redux/connectors/Form.js.map +0 -1
  1777. package/lib/redux/connectors/FormAttributeSet.js +0 -27
  1778. package/lib/redux/connectors/FormAttributeSet.js.map +0 -1
  1779. package/lib/redux/connectors/ListDetail.js +0 -21
  1780. package/lib/redux/connectors/ListDetail.js.map +0 -1
  1781. package/lib/redux/connectors/Modal.js +0 -27
  1782. package/lib/redux/connectors/Modal.js.map +0 -1
  1783. package/lib/redux/connectors/ModelCatalog.js +0 -19
  1784. package/lib/redux/connectors/ModelCatalog.js.map +0 -1
  1785. package/lib/redux/connectors/Notification.js +0 -22
  1786. package/lib/redux/connectors/Notification.js.map +0 -1
  1787. package/lib/redux/connectors/PanelRenderer.js +0 -29
  1788. package/lib/redux/connectors/PanelRenderer.js.map +0 -1
  1789. package/lib/redux/connectors/Preferences.js +0 -29
  1790. package/lib/redux/connectors/Preferences.js.map +0 -1
  1791. package/lib/redux/connectors/Progress.js +0 -19
  1792. package/lib/redux/connectors/Progress.js.map +0 -1
  1793. package/lib/redux/connectors/ProgressIndicator.js +0 -19
  1794. package/lib/redux/connectors/ProgressIndicator.js.map +0 -1
  1795. package/lib/redux/connectors/QuickSearch.js +0 -27
  1796. package/lib/redux/connectors/QuickSearch.js.map +0 -1
  1797. package/lib/redux/connectors/SignIn.js +0 -24
  1798. package/lib/redux/connectors/SignIn.js.map +0 -1
  1799. package/lib/redux/connectors/SignOut.js +0 -20
  1800. package/lib/redux/connectors/SignOut.js.map +0 -1
  1801. package/lib/redux/connectors/Tab.js +0 -19
  1802. package/lib/redux/connectors/Tab.js.map +0 -1
  1803. package/lib/redux/connectors/index.js +0 -153
  1804. package/lib/redux/connectors/index.js.map +0 -1
  1805. package/lib/redux/index.js +0 -102
  1806. package/lib/redux/index.js.map +0 -1
  1807. package/lib/redux/reducers/AuthReducer.js +0 -59
  1808. package/lib/redux/reducers/AuthReducer.js.map +0 -1
  1809. package/lib/redux/reducers/ErrorReducer.js +0 -22
  1810. package/lib/redux/reducers/ErrorReducer.js.map +0 -1
  1811. package/lib/redux/reducers/ModalsReducer.js +0 -58
  1812. package/lib/redux/reducers/ModalsReducer.js.map +0 -1
  1813. package/lib/redux/reducers/ModelCatalogReducer.js +0 -34
  1814. package/lib/redux/reducers/ModelCatalogReducer.js.map +0 -1
  1815. package/lib/redux/reducers/NotificationReducer.js +0 -43
  1816. package/lib/redux/reducers/NotificationReducer.js.map +0 -1
  1817. package/lib/redux/reducers/PreferencesReducer.js +0 -30
  1818. package/lib/redux/reducers/PreferencesReducer.js.map +0 -1
  1819. package/lib/redux/reducers/ProgressIndicatorReducer.js +0 -55
  1820. package/lib/redux/reducers/ProgressIndicatorReducer.js.map +0 -1
  1821. package/lib/redux/reducers/createReducer.js +0 -33
  1822. package/lib/redux/reducers/createReducer.js.map +0 -1
  1823. package/lib/redux/reducers/index.js +0 -78
  1824. package/lib/redux/reducers/index.js.map +0 -1
  1825. package/lib/redux/selectors/i18n.js +0 -20
  1826. package/lib/redux/selectors/i18n.js.map +0 -1
  1827. package/lib/redux/selectors/index.js +0 -29
  1828. package/lib/redux/selectors/index.js.map +0 -1
  1829. package/lib/redux/selectors/modelcatalog.js +0 -14
  1830. package/lib/redux/selectors/modelcatalog.js.map +0 -1
  1831. package/lib/redux/store/beforeRenderHooks.js +0 -24
  1832. package/lib/redux/store/beforeRenderHooks.js.map +0 -1
  1833. package/lib/redux/store/configureStore.js +0 -37
  1834. package/lib/redux/store/configureStore.js.map +0 -1
  1835. package/lib/redux/types.js +0 -2
  1836. package/lib/redux/types.js.map +0 -1
  1837. package/lib/utils/browser/Cache.js +0 -151
  1838. package/lib/utils/browser/Cache.js.map +0 -1
  1839. package/lib/utils/browser/Cookies.js +0 -38
  1840. package/lib/utils/browser/Cookies.js.map +0 -1
  1841. package/lib/utils/datetime/DateTimeUtil.js +0 -649
  1842. package/lib/utils/datetime/DateTimeUtil.js.map +0 -1
  1843. package/lib/utils/fetch/serverFetch.js +0 -32
  1844. package/lib/utils/fetch/serverFetch.js.map +0 -1
  1845. package/lib/utils/fetch/types.js +0 -2
  1846. package/lib/utils/fetch/types.js.map +0 -1
  1847. package/lib/utils/fetch/universalFetch.js +0 -94
  1848. package/lib/utils/fetch/universalFetch.js.map +0 -1
  1849. package/lib/utils/fetch/xhr.js +0 -358
  1850. package/lib/utils/fetch/xhr.js.map +0 -1
  1851. package/lib/utils/helpers/checkResource.js +0 -46
  1852. package/lib/utils/helpers/checkResource.js.map +0 -1
  1853. package/lib/utils/helpers/createHash.js +0 -30
  1854. package/lib/utils/helpers/createHash.js.map +0 -1
  1855. package/lib/utils/helpers/createHref.js +0 -101
  1856. package/lib/utils/helpers/createHref.js.map +0 -1
  1857. package/lib/utils/helpers/createUUID.js +0 -18
  1858. package/lib/utils/helpers/createUUID.js.map +0 -1
  1859. package/lib/utils/helpers/index.js +0 -102
  1860. package/lib/utils/helpers/index.js.map +0 -1
  1861. package/lib/utils/helpers/objects.js +0 -36
  1862. package/lib/utils/helpers/objects.js.map +0 -1
  1863. package/lib/utils/helpers/repositoryResource.js +0 -26
  1864. package/lib/utils/helpers/repositoryResource.js.map +0 -1
  1865. package/lib/utils/helpers/sanitizeHtml.js +0 -44
  1866. package/lib/utils/helpers/sanitizeHtml.js.map +0 -1
  1867. package/lib/utils/helpers/text.js +0 -23
  1868. package/lib/utils/helpers/text.js.map +0 -1
  1869. package/lib/utils/index.js +0 -106
  1870. package/lib/utils/index.js.map +0 -1
  1871. package/lib/utils/number/DecimalFormat.js +0 -333
  1872. package/lib/utils/number/DecimalFormat.js.map +0 -1
  1873. package/lib/utils/number/formatValue.js +0 -47
  1874. package/lib/utils/number/formatValue.js.map +0 -1
  1875. package/lib/utils/number/parseNumbers.js +0 -70
  1876. package/lib/utils/number/parseNumbers.js.map +0 -1
  1877. package/src/builder/__tests__/LayoutHintConfig.json +0 -20
  1878. package/src/builder/__tests__/mergeLayoutHintConfigurations.spec.js +0 -71
  1879. package/src/builder/__tests__/subdir/LayoutHintConfig.json +0 -20
  1880. package/src/builder/index.js +0 -2
  1881. package/src/builder/mergeLayoutHintConfigurations.js +0 -62
  1882. package/src/constants/Constants.js +0 -190
  1883. package/src/constants/LayoutHintConfig.js +0 -186
  1884. package/src/constants/LayoutHints.js +0 -134
  1885. package/src/constants/Settings.js +0 -269
  1886. package/src/constants/index.js +0 -4
  1887. package/src/exceptions/ConfigurationException.js +0 -13
  1888. package/src/exceptions/FetchException.js +0 -101
  1889. package/src/exceptions/IllegalArgumentException.js +0 -12
  1890. package/src/exceptions/IllegalReturnException.js +0 -11
  1891. package/src/exceptions/IllegalStateException.js +0 -12
  1892. package/src/exceptions/JsonParseException.js +0 -12
  1893. package/src/exceptions/MissingPropertyException.js +0 -13
  1894. package/src/exceptions/NetworkException.js +0 -20
  1895. package/src/exceptions/NotAllowedUriException.js +0 -12
  1896. package/src/exceptions/NotFoundException.js +0 -20
  1897. package/src/exceptions/ServerRequestException.js +0 -12
  1898. package/src/exceptions/ThemePropertyException.js +0 -12
  1899. package/src/exceptions/TimeoutException.js +0 -13
  1900. package/src/exceptions/UnauthorizedException.js +0 -26
  1901. package/src/exceptions/UnsupportedOperationException.js +0 -12
  1902. package/src/exceptions/index.js +0 -16
  1903. package/src/hooks/__tests__/UseModularUIModel.spec.js +0 -193
  1904. package/src/hooks/__tests__/useAuthentication.spec.js +0 -122
  1905. package/src/hooks/__tests__/useForm.spec.js +0 -300
  1906. package/src/hooks/__tests__/useI18n.spec.js +0 -30
  1907. package/src/hooks/__tests__/useModal.spec.js +0 -67
  1908. package/src/hooks/__tests__/useModelCatalog.spec.js +0 -180
  1909. package/src/hooks/__tests__/useModels.spec.js +0 -138
  1910. package/src/hooks/__tests__/useModularUIBasic.spec.js +0 -126
  1911. package/src/hooks/__tests__/useNotification.spec.js +0 -47
  1912. package/src/hooks/__tests__/usePreference.spec.js +0 -72
  1913. package/src/hooks/__tests__/useProgressIndicator.spec.js +0 -67
  1914. package/src/hooks/index.js +0 -17
  1915. package/src/hooks/useAllFormsOnModel.js +0 -92
  1916. package/src/hooks/useAuthentication.js +0 -98
  1917. package/src/hooks/useContent.js +0 -48
  1918. package/src/hooks/useDeepCompareEffect.js +0 -34
  1919. package/src/hooks/useForm.js +0 -153
  1920. package/src/hooks/useI18n.js +0 -46
  1921. package/src/hooks/useModal.js +0 -46
  1922. package/src/hooks/useModelCatalog.js +0 -256
  1923. package/src/hooks/useModels.js +0 -50
  1924. package/src/hooks/useModularUI.js +0 -90
  1925. package/src/hooks/useModularUIBasic.js +0 -101
  1926. package/src/hooks/useModularUIModel.js +0 -165
  1927. package/src/hooks/useModularUIRequest.js +0 -25
  1928. package/src/hooks/useNotification.js +0 -48
  1929. package/src/hooks/usePreference.js +0 -27
  1930. package/src/hooks/useProgressIndicator.js +0 -33
  1931. package/src/hooks/useRouter.js +0 -64
  1932. package/src/i18n/Locale.js +0 -157
  1933. package/src/i18n/Locales.js +0 -171
  1934. package/src/i18n/Message.js +0 -66
  1935. package/src/i18n/__tests__/Locale.spec.js +0 -108
  1936. package/src/i18n/__tests__/Locales.spec.js +0 -137
  1937. package/src/i18n/index.js +0 -12
  1938. package/src/i18n/languages.js +0 -207
  1939. package/src/i18n/translations/beinformed_error_messages_en.nl.js +0 -98
  1940. package/src/i18n/translations/beinformed_error_messages_nl.nl.js +0 -98
  1941. package/src/i18n/types.js +0 -23
  1942. package/src/i18n/withMessage.js +0 -47
  1943. package/src/index.js +0 -7
  1944. package/src/models/__tests__/resolveModel.spec.js +0 -34
  1945. package/src/models/actions/ActionCollection.js +0 -100
  1946. package/src/models/actions/ActionModel.js +0 -207
  1947. package/src/models/actions/__mock__/action.js +0 -35
  1948. package/src/models/actions/__tests__/ActionCollection.spec.js +0 -98
  1949. package/src/models/actions/__tests__/ActionModel.spec.js +0 -75
  1950. package/src/models/application/ApplicationModel.js +0 -151
  1951. package/src/models/application/__mock__/application.js +0 -14
  1952. package/src/models/application/__mock__/contributions.json +0 -312
  1953. package/src/models/application/__mock__/data.json +0 -263
  1954. package/src/models/application/__tests__/Application.spec.js +0 -99
  1955. package/src/models/application/__tests__/webapp.json +0 -42
  1956. package/src/models/application/__tests__/webappContributions.json +0 -43
  1957. package/src/models/attributes/AttributeCollection.js +0 -306
  1958. package/src/models/attributes/AttributeContent.js +0 -233
  1959. package/src/models/attributes/AttributeDataHelper.js +0 -323
  1960. package/src/models/attributes/AttributeModel.js +0 -1007
  1961. package/src/models/attributes/AttributeSetModel.js +0 -117
  1962. package/src/models/attributes/BooleanAttributeModel.js +0 -319
  1963. package/src/models/attributes/CaptchaAttributeModel.js +0 -51
  1964. package/src/models/attributes/ChoiceAttributeModel.js +0 -499
  1965. package/src/models/attributes/ChoiceAttributeOptionCollection.js +0 -372
  1966. package/src/models/attributes/ChoiceAttributeOptionModel.js +0 -415
  1967. package/src/models/attributes/CompositeAttributeChildCollection.js +0 -254
  1968. package/src/models/attributes/CompositeAttributeModel.js +0 -439
  1969. package/src/models/attributes/DatetimeAttributeModel.js +0 -566
  1970. package/src/models/attributes/HelptextAttributeModel.js +0 -54
  1971. package/src/models/attributes/LabelAttributeModel.js +0 -36
  1972. package/src/models/attributes/MemoAttributeModel.js +0 -43
  1973. package/src/models/attributes/MoneyAttributeModel.js +0 -45
  1974. package/src/models/attributes/NumberAttributeModel.js +0 -255
  1975. package/src/models/attributes/PasswordAttributeModel.js +0 -245
  1976. package/src/models/attributes/StringAttributeModel.js +0 -314
  1977. package/src/models/attributes/UploadAttributeModel.js +0 -261
  1978. package/src/models/attributes/XMLAttributeModel.js +0 -51
  1979. package/src/models/attributes/__mock__/_ActionFieldsContributions.json +0 -12
  1980. package/src/models/attributes/__mock__/_ActionFieldsData.json +0 -7
  1981. package/src/models/attributes/__mock__/_FormCollectionContribution.json +0 -419
  1982. package/src/models/attributes/__mock__/_FormCollectionData.json +0 -122
  1983. package/src/models/attributes/__mock__/_InstrumentQuestionContributions.json +0 -178
  1984. package/src/models/attributes/__mock__/_ListAttributeContributions.json +0 -82
  1985. package/src/models/attributes/__mock__/_ListAttributeData.json +0 -70
  1986. package/src/models/attributes/__mock__/_ListDetailContributions.json +0 -75
  1987. package/src/models/attributes/__mock__/_ListDetailData.json +0 -38
  1988. package/src/models/attributes/__mock__/_TreeFormAttributeContribution.json +0 -117
  1989. package/src/models/attributes/__mock__/_TreeFormAttributeData.json +0 -27
  1990. package/src/models/attributes/__mock__/form.contributions.json +0 -410
  1991. package/src/models/attributes/__mock__/form.data.json +0 -113
  1992. package/src/models/attributes/__mock__/form.js +0 -6
  1993. package/src/models/attributes/__mock__/list.contributions.json +0 -110
  1994. package/src/models/attributes/__mock__/list.data.json +0 -84
  1995. package/src/models/attributes/__mock__/list.js +0 -6
  1996. package/src/models/attributes/__tests__/AttributeCollection.spec.js +0 -160
  1997. package/src/models/attributes/__tests__/AttributeCollectionComposite.spec.js +0 -146
  1998. package/src/models/attributes/__tests__/AttributeContent.spec.js +0 -225
  1999. package/src/models/attributes/__tests__/AttributeDataHelper.spec.js +0 -634
  2000. package/src/models/attributes/__tests__/AttributeModel.spec.js +0 -274
  2001. package/src/models/attributes/__tests__/AttributeSetModel.spec.js +0 -39
  2002. package/src/models/attributes/__tests__/BooleanAttributeModel.spec.js +0 -107
  2003. package/src/models/attributes/__tests__/CaptchaAttributeModel.spec.js +0 -13
  2004. package/src/models/attributes/__tests__/ChoiceAttributeModel.spec.js +0 -750
  2005. package/src/models/attributes/__tests__/ChoiceAttributeOptionCollection.spec.js +0 -507
  2006. package/src/models/attributes/__tests__/ChoiceAttributeOptionModel.spec.js +0 -107
  2007. package/src/models/attributes/__tests__/CompositeAttributeModel.spec.js +0 -467
  2008. package/src/models/attributes/__tests__/DateAttributeModel.spec.js +0 -134
  2009. package/src/models/attributes/__tests__/DatetimeAttributeModel.spec.js +0 -206
  2010. package/src/models/attributes/__tests__/DatetimeAttributeModel_offset.spec.js +0 -345
  2011. package/src/models/attributes/__tests__/HelptextAttributeModel.spec.js +0 -64
  2012. package/src/models/attributes/__tests__/LabelAttributeModel.spec.js +0 -13
  2013. package/src/models/attributes/__tests__/LookupAttributeModel.spec.js +0 -47
  2014. package/src/models/attributes/__tests__/MemoAttributeModel.spec.js +0 -28
  2015. package/src/models/attributes/__tests__/MoneyAttributeModel.spec.js +0 -22
  2016. package/src/models/attributes/__tests__/NumberAttributeModel.spec.js +0 -67
  2017. package/src/models/attributes/__tests__/PasswordAttributeModel.spec.js +0 -49
  2018. package/src/models/attributes/__tests__/StringAttributeModel.spec.js +0 -125
  2019. package/src/models/attributes/__tests__/TimeAttributeModel.spec.js +0 -57
  2020. package/src/models/attributes/__tests__/TimestampModel.spec.js +0 -43
  2021. package/src/models/attributes/__tests__/UploadAttributeModel.spec.js +0 -67
  2022. package/src/models/attributes/__tests__/XMLAttributeModel.spec.js +0 -17
  2023. package/src/models/attributes/__tests__/_createAttribute.spec.js +0 -106
  2024. package/src/models/attributes/__tests__/createAttributeComposite.spec.js +0 -151
  2025. package/src/models/attributes/__tests__/createAttributeDynamicSchema.spec.js +0 -134
  2026. package/src/models/attributes/_createAttribute.js +0 -147
  2027. package/src/models/attributes/input-constraints/BSNConstraint.js +0 -80
  2028. package/src/models/attributes/input-constraints/ConstraintCollection.js +0 -65
  2029. package/src/models/attributes/input-constraints/ConstraintModel.js +0 -76
  2030. package/src/models/attributes/input-constraints/DateBoundaryConstraint.js +0 -240
  2031. package/src/models/attributes/input-constraints/DateTimeDateFormatConstraint.js +0 -72
  2032. package/src/models/attributes/input-constraints/DateTimeTimeFormatConstraint.js +0 -72
  2033. package/src/models/attributes/input-constraints/DatetimeFormatConstraint.js +0 -132
  2034. package/src/models/attributes/input-constraints/FileExtensionConstraint.js +0 -60
  2035. package/src/models/attributes/input-constraints/FileSizeConstraint.js +0 -101
  2036. package/src/models/attributes/input-constraints/IBANConstraint.js +0 -46
  2037. package/src/models/attributes/input-constraints/MandatoryConstraint.js +0 -54
  2038. package/src/models/attributes/input-constraints/MandatoryRangeConstraint.js +0 -84
  2039. package/src/models/attributes/input-constraints/NumberBoundaryConstraint.js +0 -213
  2040. package/src/models/attributes/input-constraints/NumberFormatConstraint.js +0 -153
  2041. package/src/models/attributes/input-constraints/NumberGroupingConstraint.js +0 -140
  2042. package/src/models/attributes/input-constraints/PasswordConfirmConstraint.js +0 -68
  2043. package/src/models/attributes/input-constraints/PasswordLowerAndUpperCaseConstraint.js +0 -44
  2044. package/src/models/attributes/input-constraints/PasswordMinNumericCharactersConstraint.js +0 -60
  2045. package/src/models/attributes/input-constraints/PasswordMinSpecialCharactersConstraint.js +0 -60
  2046. package/src/models/attributes/input-constraints/PasswordThreeConsecutiveCharactersNotAllowedConstraint.js +0 -74
  2047. package/src/models/attributes/input-constraints/RangeConstraint.js +0 -161
  2048. package/src/models/attributes/input-constraints/RegexConstraint.js +0 -72
  2049. package/src/models/attributes/input-constraints/StringLengthConstraint.js +0 -179
  2050. package/src/models/attributes/input-constraints/XMLConstraint.js +0 -62
  2051. package/src/models/attributes/input-constraints/__tests__/BSNConstraint.spec.js +0 -25
  2052. package/src/models/attributes/input-constraints/__tests__/ConstraintCollection.spec.js +0 -9
  2053. package/src/models/attributes/input-constraints/__tests__/ConstraintModel.spec.js +0 -35
  2054. package/src/models/attributes/input-constraints/__tests__/DateBoundaryConstraint.spec.js +0 -117
  2055. package/src/models/attributes/input-constraints/__tests__/DateTimeDateFormatConstraint.spec.js +0 -30
  2056. package/src/models/attributes/input-constraints/__tests__/DateTimeTimeFormatConstraint.spec.js +0 -54
  2057. package/src/models/attributes/input-constraints/__tests__/DatetimeFormatConstraint.spec.js +0 -79
  2058. package/src/models/attributes/input-constraints/__tests__/FileExtensionConstraint.spec.js +0 -20
  2059. package/src/models/attributes/input-constraints/__tests__/FileSizeConstraint.spec.js +0 -53
  2060. package/src/models/attributes/input-constraints/__tests__/IBANConstraint.spec.js +0 -12
  2061. package/src/models/attributes/input-constraints/__tests__/MandatoryConstraint.spec.js +0 -14
  2062. package/src/models/attributes/input-constraints/__tests__/NumberBoundaryConstraint.spec.js +0 -46
  2063. package/src/models/attributes/input-constraints/__tests__/NumberFormatConstraint.spec.js +0 -137
  2064. package/src/models/attributes/input-constraints/__tests__/NumberGroupingConstraint.spec.js +0 -85
  2065. package/src/models/attributes/input-constraints/__tests__/PasswordConfirmConstraint.spec.js +0 -21
  2066. package/src/models/attributes/input-constraints/__tests__/PasswordLowerAndUpperCaseConstraint.spec.js +0 -14
  2067. package/src/models/attributes/input-constraints/__tests__/PasswordMinNumericCharactersConstraint.spec.js +0 -11
  2068. package/src/models/attributes/input-constraints/__tests__/PasswordMinSpecialCharactersConstraint.spec.js +0 -11
  2069. package/src/models/attributes/input-constraints/__tests__/PasswordThreeConsecutiveCharactersNotAllowedConstraint.spec.js +0 -22
  2070. package/src/models/attributes/input-constraints/__tests__/RegexConstraint.spec.js +0 -42
  2071. package/src/models/attributes/input-constraints/__tests__/StringLengthConstraint.spec.js +0 -102
  2072. package/src/models/attributes/input-constraints/__tests__/XMLConstraint.spec.js +0 -15
  2073. package/src/models/attributes/layouthint-rules/BaseLayoutHintRule.js +0 -74
  2074. package/src/models/attributes/layouthint-rules/DependentAttribute.js +0 -246
  2075. package/src/models/attributes/layouthint-rules/LayoutHintRuleCollection.js +0 -101
  2076. package/src/models/attributes/layouthint-rules/RemainingTotalUploadSize.js +0 -67
  2077. package/src/models/attributes/layouthint-rules/__mock__/MockedCollectionFactory.js +0 -54
  2078. package/src/models/attributes/layouthint-rules/__tests__/BaseLayoutHintRule.spec.js +0 -29
  2079. package/src/models/attributes/layouthint-rules/__tests__/DependentAttribute.spec.js +0 -310
  2080. package/src/models/attributes/layouthint-rules/__tests__/LayoutHintRuleCollection.spec.js +0 -58
  2081. package/src/models/attributes/layouthint-rules/__tests__/RemainingTotalUploadSize.spec.js +0 -24
  2082. package/src/models/base/BaseCollection.js +0 -191
  2083. package/src/models/base/BaseModel.js +0 -155
  2084. package/src/models/base/ResourceCollection.js +0 -42
  2085. package/src/models/base/ResourceModel.js +0 -246
  2086. package/src/models/base/__tests__/BaseCollection.spec.js +0 -108
  2087. package/src/models/base/__tests__/BaseModel.spec.js +0 -85
  2088. package/src/models/base/__tests__/ResourceCollection.spec.js +0 -51
  2089. package/src/models/base/__tests__/ResourceModel.spec.js +0 -100
  2090. package/src/models/base/__tests__/webapp.json +0 -52
  2091. package/src/models/caseview/CaseViewModel.js +0 -188
  2092. package/src/models/caseview/__mock__/caseview.js +0 -14
  2093. package/src/models/caseview/__mock__/contributions.json +0 -146
  2094. package/src/models/caseview/__mock__/data.json +0 -21
  2095. package/src/models/caseview/__tests__/CaseViewModel.spec.js +0 -132
  2096. package/src/models/caseview/__tests__/caseview.json +0 -49
  2097. package/src/models/caseview/__tests__/caseviewContributions.json +0 -118
  2098. package/src/models/caseview/__tests__/caseview_local_taskgroup.json +0 -57
  2099. package/src/models/concepts/BusinessScenarioModel.js +0 -176
  2100. package/src/models/concepts/ConceptDetailModel.js +0 -343
  2101. package/src/models/concepts/ConceptIndexModel.js +0 -170
  2102. package/src/models/concepts/ConceptLinkModel.js +0 -208
  2103. package/src/models/concepts/ConceptRelationCollection.js +0 -95
  2104. package/src/models/concepts/ConceptRelationModel.js +0 -129
  2105. package/src/models/concepts/ConceptTypeDetailModel.js +0 -128
  2106. package/src/models/concepts/SourceReferenceCollection.js +0 -32
  2107. package/src/models/concepts/SourceReferenceModel.js +0 -114
  2108. package/src/models/concepts/__mock__/business_scenario.js +0 -26
  2109. package/src/models/concepts/__mock__/business_scenario_data.json +0 -234
  2110. package/src/models/concepts/__mock__/business_scenario_step.json +0 -64
  2111. package/src/models/concepts/__mock__/conceptdetail.js +0 -27
  2112. package/src/models/concepts/__mock__/conceptdetail_contributions.json +0 -156
  2113. package/src/models/concepts/__mock__/conceptdetail_data.json +0 -164
  2114. package/src/models/concepts/__mock__/conceptindex.js +0 -15
  2115. package/src/models/concepts/__mock__/conceptindex_contributions.json +0 -86
  2116. package/src/models/concepts/__mock__/conceptindex_data.json +0 -329
  2117. package/src/models/concepts/__mock__/concepttype.js +0 -13
  2118. package/src/models/concepts/__mock__/concepttype_Calculation.json +0 -75
  2119. package/src/models/concepts/__mock__/concepttype_contributions.json +0 -139
  2120. package/src/models/concepts/__mock__/concepttype_data.json +0 -32
  2121. package/src/models/concepts/__mock__/concepttype_hierarchy.js +0 -13
  2122. package/src/models/concepts/__mock__/concepttype_hierarchy.json +0 -32
  2123. package/src/models/concepts/__mock__/related_concepts.js +0 -12
  2124. package/src/models/concepts/__mock__/related_concepts_contributions.json +0 -41
  2125. package/src/models/concepts/__mock__/related_concepts_data.json +0 -2408
  2126. package/src/models/concepts/__mock__/relation_with_props_and_tf_data.js +0 -27
  2127. package/src/models/concepts/__mock__/relation_with_props_and_tf_data.json +0 -67
  2128. package/src/models/concepts/__tests__/BusinessScenarioModel.spec.js +0 -28
  2129. package/src/models/concepts/__tests__/ConceptDetailModel.spec.js +0 -65
  2130. package/src/models/concepts/__tests__/ConceptIndexModel.spec.js +0 -42
  2131. package/src/models/concepts/__tests__/ConceptLinkModel.spec.js +0 -9
  2132. package/src/models/concepts/__tests__/ConceptRelationCollection.spec.js +0 -9
  2133. package/src/models/concepts/__tests__/ConceptRelationModel.spec.js +0 -53
  2134. package/src/models/concepts/__tests__/ConceptTypeDetailModel.spec.js +0 -31
  2135. package/src/models/concepts/__tests__/RelatedConcepts.spec.js +0 -58
  2136. package/src/models/concepts/__tests__/SourceReferenceCollection.spec.js +0 -9
  2137. package/src/models/concepts/__tests__/SourceReferenceModel.spec.js +0 -108
  2138. package/src/models/content/ContentIndexModel.js +0 -160
  2139. package/src/models/content/ContentLinkModel.js +0 -308
  2140. package/src/models/content/ContentModel.js +0 -226
  2141. package/src/models/content/ContentTOCModel.js +0 -233
  2142. package/src/models/content/ContentTypeModel.js +0 -71
  2143. package/src/models/content/SectionModel.js +0 -236
  2144. package/src/models/content/SubSectionModel.js +0 -181
  2145. package/src/models/content/__tests__/ContentIndexModel.spec.js +0 -40
  2146. package/src/models/content/__tests__/ContentLinkModel.spec.js +0 -129
  2147. package/src/models/content/__tests__/ContentModel.spec.js +0 -241
  2148. package/src/models/content/__tests__/Formalsource.spec.js +0 -133
  2149. package/src/models/content/__tests__/content-index-contributions.json +0 -50
  2150. package/src/models/content/__tests__/content-index.json +0 -164
  2151. package/src/models/content/__tests__/content-with-childsections.json +0 -105
  2152. package/src/models/content/__tests__/content-with-sections.json +0 -105
  2153. package/src/models/content/__tests__/content-with-subsections.json +0 -119
  2154. package/src/models/content/__tests__/content-with-subsections2.json +0 -79
  2155. package/src/models/content/__tests__/content.json +0 -31
  2156. package/src/models/content/__tests__/contributions.json +0 -84
  2157. package/src/models/content/__tests__/formalsource-complete.json +0 -235
  2158. package/src/models/content/__tests__/formalsource-contributions.json +0 -110
  2159. package/src/models/content/__tests__/formalsource-section-contributions.json +0 -84
  2160. package/src/models/content/__tests__/formalsource-section.json +0 -60
  2161. package/src/models/content/__tests__/formalsource-toc.json +0 -122
  2162. package/src/models/contentconfiguration/ContentConfiguration.js +0 -70
  2163. package/src/models/contentconfiguration/ContentConfigurationElements.js +0 -152
  2164. package/src/models/contentconfiguration/ContentConfigurationEndResults.js +0 -45
  2165. package/src/models/contentconfiguration/ContentConfigurationQuestions.js +0 -60
  2166. package/src/models/contentconfiguration/ContentConfigurationResults.js +0 -105
  2167. package/src/models/contentconfiguration/__tests__/ContentConfigurationElements.spec.js +0 -29
  2168. package/src/models/contentconfiguration/__tests__/ContentConfigurationResults.spec.js +0 -101
  2169. package/src/models/detail/DetailModel.js +0 -241
  2170. package/src/models/detail/__tests__/DetailModel.spec.js +0 -41
  2171. package/src/models/detail/__tests__/detail.json +0 -37
  2172. package/src/models/detail/__tests__/detailContributions.json +0 -124
  2173. package/src/models/error/ErrorCollection.js +0 -127
  2174. package/src/models/error/ErrorModel.js +0 -83
  2175. package/src/models/error/ErrorResponse.js +0 -343
  2176. package/src/models/error/__tests__/ErrorCollection.spec.js +0 -41
  2177. package/src/models/error/__tests__/ErrorModel.spec.js +0 -24
  2178. package/src/models/filters/AssignmentFilterModel.js +0 -195
  2179. package/src/models/filters/BaseFilterModel.js +0 -236
  2180. package/src/models/filters/ConceptIndexFilterModel.js +0 -40
  2181. package/src/models/filters/FilterCollection.js +0 -192
  2182. package/src/models/filters/FilterModel.js +0 -6
  2183. package/src/models/filters/RangeFilterModel.js +0 -36
  2184. package/src/models/filters/StringFilterModel.js +0 -159
  2185. package/src/models/filters/__tests__/AssignmentFilterModel.spec.js +0 -140
  2186. package/src/models/filters/__tests__/FilterCollection.spec.js +0 -68
  2187. package/src/models/filters/__tests__/FilterModel.spec.js +0 -65
  2188. package/src/models/filters/__tests__/RangeFilterModel.spec.js +0 -55
  2189. package/src/models/filters/__tests__/ZipcodeFilter.spec.js +0 -145
  2190. package/src/models/filters/__tests__/filters.json +0 -91
  2191. package/src/models/filters/__tests__/filtersContributions.json +0 -110
  2192. package/src/models/form/FormModel.js +0 -1280
  2193. package/src/models/form/FormObjectModel.js +0 -590
  2194. package/src/models/form/__mock__/contributions.json +0 -525
  2195. package/src/models/form/__mock__/data.json +0 -78
  2196. package/src/models/form/__mock__/form.js +0 -17
  2197. package/src/models/form/__tests__/FormContributions.json +0 -495
  2198. package/src/models/form/__tests__/FormContributionsUnknownRepeat.json +0 -67
  2199. package/src/models/form/__tests__/FormInstrumentContributions.json +0 -183
  2200. package/src/models/form/__tests__/FormModel.getters.spec.js +0 -149
  2201. package/src/models/form/__tests__/FormModel.instrument.spec.js +0 -202
  2202. package/src/models/form/__tests__/FormModel.repeating.spec.js +0 -65
  2203. package/src/models/form/__tests__/FormModel.selfhref.spec.js +0 -84
  2204. package/src/models/form/__tests__/FormModel.spec.js +0 -752
  2205. package/src/models/form/__tests__/FormModel.unknown-repeat.spec.js +0 -52
  2206. package/src/models/form/__tests__/FormObjectModel.spec.js +0 -180
  2207. package/src/models/form/__tests__/FormResultData.spec.js +0 -86
  2208. package/src/models/form/__tests__/FormValidation.spec.js +0 -79
  2209. package/src/models/form/__tests__/FormValidationContributions.json +0 -45
  2210. package/src/models/form/__tests__/FormValidationDataInitial.json +0 -33
  2211. package/src/models/form/__tests__/FormValidationDataUpdate1.json +0 -25
  2212. package/src/models/form/__tests__/FormValidationDataUpdate2.json +0 -33
  2213. package/src/models/form/__tests__/FormWithContent.spec.js +0 -71
  2214. package/src/models/form/__tests__/FormWithContentContributions.json +0 -242
  2215. package/src/models/form/__tests__/FormWithContentData.json +0 -244
  2216. package/src/models/grouping/GroupingModel.js +0 -232
  2217. package/src/models/grouping/__tests__/GroupingModel.spec.js +0 -80
  2218. package/src/models/href/Href.js +0 -564
  2219. package/src/models/href/ListHref.js +0 -146
  2220. package/src/models/href/__tests__/Href.spec.js +0 -184
  2221. package/src/models/href/__tests__/ListHref.spec.js +0 -61
  2222. package/src/models/href/__tests__/list.json +0 -2417
  2223. package/src/models/href/__tests__/listContributions.json +0 -330
  2224. package/src/models/index.js +0 -177
  2225. package/src/models/layouthint/LayoutHintCollection.js +0 -116
  2226. package/src/models/layouthint/__tests__/LayoutHintCollection.spec.js +0 -89
  2227. package/src/models/links/LinkCollection.js +0 -169
  2228. package/src/models/links/LinkModel.js +0 -229
  2229. package/src/models/links/__tests__/LinkCollection.spec.js +0 -426
  2230. package/src/models/links/__tests__/LinkModel.spec.js +0 -103
  2231. package/src/models/links/__tests__/normalizeLinkJSON.spec.js +0 -212
  2232. package/src/models/links/normalizeLinkJSON.js +0 -121
  2233. package/src/models/list/ListDetailModel.js +0 -330
  2234. package/src/models/list/ListHeaderModel.js +0 -96
  2235. package/src/models/list/ListItemCollection.js +0 -80
  2236. package/src/models/list/ListItemModel.js +0 -111
  2237. package/src/models/list/ListModel.js +0 -438
  2238. package/src/models/list/__mock__/caselist.contributions.json +0 -372
  2239. package/src/models/list/__mock__/caselist.data.json +0 -519
  2240. package/src/models/list/__mock__/caselist.js +0 -14
  2241. package/src/models/list/__tests__/ListDetailModel.hierarchy.spec.js +0 -88
  2242. package/src/models/list/__tests__/ListDetailModel.spec.js +0 -96
  2243. package/src/models/list/__tests__/ListItemCollection.spec.js +0 -22
  2244. package/src/models/list/__tests__/ListModel.spec.js +0 -152
  2245. package/src/models/list/__tests__/ListResultDetail.spec.js +0 -37
  2246. package/src/models/list/__tests__/caselist-34.contributions.json +0 -146
  2247. package/src/models/list/__tests__/caselist-34.data.json +0 -21
  2248. package/src/models/list/__tests__/hierarchy.json +0 -185
  2249. package/src/models/list/__tests__/hierarchyContributions.json +0 -582
  2250. package/src/models/list/__tests__/instrument-detail-contributions.json +0 -761
  2251. package/src/models/list/__tests__/instrument-detail-data.json +0 -66
  2252. package/src/models/list/__tests__/list.json +0 -2426
  2253. package/src/models/list/__tests__/listContributions.json +0 -349
  2254. package/src/models/list/__tests__/related-contributions.json +0 -42
  2255. package/src/models/list/__tests__/related-data.json +0 -32
  2256. package/src/models/lookup/LookupOptionCollection.js +0 -54
  2257. package/src/models/lookup/LookupOptionsModel.js +0 -81
  2258. package/src/models/lookup/__tests__/LookupOptionCollection.spec.js +0 -80
  2259. package/src/models/lookup/__tests__/LookupOptionsModel.spec.js +0 -82
  2260. package/src/models/lookup/__tests__/_LookupOptionsContributions.json +0 -29
  2261. package/src/models/lookup/__tests__/_LookupOptionsData.json +0 -34
  2262. package/src/models/lookup/__tests__/_LookupOptionsListContributions.json +0 -129
  2263. package/src/models/lookup/__tests__/_LookupOptionsListData.json +0 -134
  2264. package/src/models/lookup/__tests__/_TaxonomyAttributeData.json +0 -42
  2265. package/src/models/modelcatalog/ModelCatalogModel.js +0 -73
  2266. package/src/models/modelcatalog/ModelCategoryCollection.js +0 -22
  2267. package/src/models/modelcatalog/ModelCategoryModel.js +0 -63
  2268. package/src/models/modelcatalog/__mock__/contributions.json +0 -6
  2269. package/src/models/modelcatalog/__mock__/data.json +0 -29
  2270. package/src/models/modelcatalog/__mock__/modelcatalog.js +0 -14
  2271. package/src/models/modelcatalog/__tests__/ModelCatalogModel.spec.js +0 -49
  2272. package/src/models/paging/PagesizeModel.js +0 -44
  2273. package/src/models/paging/PagingModel.js +0 -94
  2274. package/src/models/paging/__tests__/PageSizeModel.spec.js +0 -31
  2275. package/src/models/paging/__tests__/PagingModel.spec.js +0 -40
  2276. package/src/models/paging/__tests__/list.json +0 -8
  2277. package/src/models/paging/__tests__/listContributions.json +0 -7
  2278. package/src/models/panels/GroupingPanelModel.js +0 -164
  2279. package/src/models/panels/__tests__/GroupingPanelModel.spec.js +0 -142
  2280. package/src/models/panels/__tests__/groupingPanel.json +0 -49
  2281. package/src/models/panels/__tests__/groupingPanelContributions.json +0 -59
  2282. package/src/models/parameter/Parameter.js +0 -117
  2283. package/src/models/parameter/__tests__/Parameter.spec.js +0 -125
  2284. package/src/models/process/ProcessStatusSettingsModel.js +0 -88
  2285. package/src/models/process/__tests__/ProcessStatusSettingsModel.spec.js +0 -52
  2286. package/src/models/resolveModel.js +0 -92
  2287. package/src/models/search/CaseSearchModel.js +0 -46
  2288. package/src/models/search/__tests__/CaseSearchModel.spec.js +0 -10
  2289. package/src/models/sorting/SortOptionModel.js +0 -107
  2290. package/src/models/sorting/SortingModel.js +0 -128
  2291. package/src/models/sorting/__tests__/SortingModel.spec.js +0 -96
  2292. package/src/models/tab/TabModel.js +0 -160
  2293. package/src/models/tab/__mock__/contributions.json +0 -77
  2294. package/src/models/tab/__mock__/data.json +0 -20
  2295. package/src/models/tab/__mock__/personContributions.json +0 -35
  2296. package/src/models/tab/__mock__/personData.json +0 -21
  2297. package/src/models/tab/__mock__/tab.js +0 -14
  2298. package/src/models/tab/__mock__/tabPerson.js +0 -14
  2299. package/src/models/tab/__tests__/TabModel.spec.js +0 -72
  2300. package/src/models/tab/__tests__/tab.json +0 -37
  2301. package/src/models/tab/__tests__/tabContributions.json +0 -39
  2302. package/src/models/taskgroup/TaskGroupCollection.js +0 -16
  2303. package/src/models/taskgroup/TaskGroupModel.js +0 -102
  2304. package/src/models/taskgroup/__mock__/contributions.json +0 -18
  2305. package/src/models/taskgroup/__mock__/data.json +0 -21
  2306. package/src/models/taskgroup/__mock__/taskgroup.js +0 -14
  2307. package/src/models/taskgroup/__tests__/TaskGroupModel.spec.js +0 -26
  2308. package/src/models/taskgroup/__tests__/taskgroup.json +0 -25
  2309. package/src/models/taskgroup/__tests__/taskgroupContributions.json +0 -23
  2310. package/src/models/types.js +0 -275
  2311. package/src/models/user/UserModel.js +0 -57
  2312. package/src/models/user/UserProfileModel.js +0 -54
  2313. package/src/models/user/UserServicesModel.js +0 -136
  2314. package/src/models/user/__mock__/contributions.json +0 -148
  2315. package/src/models/user/__mock__/data.json +0 -22
  2316. package/src/models/user/__tests__/UserModel.spec.js +0 -43
  2317. package/src/models/user/__tests__/UserProfileModel.spec.js +0 -45
  2318. package/src/models/user/__tests__/UserServicesModel.spec.js +0 -55
  2319. package/src/modularui/Authenticate.js +0 -195
  2320. package/src/modularui/CaptchaRequest.js +0 -104
  2321. package/src/modularui/ModularUIError.js +0 -25
  2322. package/src/modularui/ModularUIRequest.js +0 -872
  2323. package/src/modularui/ModularUIResponse.js +0 -160
  2324. package/src/modularui/UploadRequest.js +0 -151
  2325. package/src/modularui/__tests__/CustomContextPath.spec.js +0 -61
  2326. package/src/modularui/__tests__/ModularUIError.spec.js +0 -22
  2327. package/src/modularui/__tests__/ModularUIRequest.spec.js +0 -495
  2328. package/src/modularui/__tests__/contributions.json +0 -312
  2329. package/src/modularui/__tests__/data.json +0 -263
  2330. package/src/modularui/index.js +0 -6
  2331. package/src/modularui/types.js +0 -4
  2332. package/src/react/ErrorBoundary.js +0 -61
  2333. package/src/react/ErrorBoundaryFallback.js +0 -46
  2334. package/src/react/index.js +0 -3
  2335. package/src/react/utils.js +0 -33
  2336. package/src/react-client/Init.js +0 -46
  2337. package/src/react-client/client.js +0 -309
  2338. package/src/react-client/contextPath.js +0 -30
  2339. package/src/react-client/index.js +0 -4
  2340. package/src/react-client/rehydrate.js +0 -94
  2341. package/src/react-server/__tests__/htmlpage.spec.js +0 -75
  2342. package/src/react-server/__tests__/requestInformation.spec.js +0 -266
  2343. package/src/react-server/__tests__/serverUtil.spec.js +0 -183
  2344. package/src/react-server/contextPath.js +0 -8
  2345. package/src/react-server/createSSRComplete.js +0 -63
  2346. package/src/react-server/htmlpage.js +0 -55
  2347. package/src/react-server/index.js +0 -13
  2348. package/src/react-server/renderSSRComplete.js +0 -111
  2349. package/src/react-server/renderSSRMinimal.js +0 -54
  2350. package/src/react-server/requestInformation.js +0 -68
  2351. package/src/react-server/serverNoSSR.js +0 -87
  2352. package/src/react-server/serverSSR.js +0 -70
  2353. package/src/react-server/serverUtil.js +0 -279
  2354. package/src/react-theme/ThemeProvider.js +0 -25
  2355. package/src/react-theme/__tests__/ThemeProvider.spec.js +0 -84
  2356. package/src/react-theme/__tests__/createTheme.spec.js +0 -172
  2357. package/src/react-theme/createTheme.js +0 -118
  2358. package/src/react-theme/index.js +0 -15
  2359. package/src/react-theme/types.js +0 -16
  2360. package/src/react-theme/useTheme.js +0 -13
  2361. package/src/react-theme/utils/__tests__/background.spec.js +0 -30
  2362. package/src/react-theme/utils/__tests__/colors.spec.js +0 -30
  2363. package/src/react-theme/utils/__tests__/contrast.spec.js +0 -44
  2364. package/src/react-theme/utils/__tests__/corners.spec.js +0 -27
  2365. package/src/react-theme/utils/__tests__/spacers.spec.js +0 -44
  2366. package/src/react-theme/utils/__tests__/themeProps.spec.js +0 -72
  2367. package/src/react-theme/utils/background.js +0 -20
  2368. package/src/react-theme/utils/colors.js +0 -47
  2369. package/src/react-theme/utils/contrast.js +0 -117
  2370. package/src/react-theme/utils/corners.js +0 -37
  2371. package/src/react-theme/utils/spacers.js +0 -65
  2372. package/src/react-theme/utils/themeProps.js +0 -90
  2373. package/src/redux/_i18n/I18nActions.js +0 -38
  2374. package/src/redux/_i18n/I18nReducer.js +0 -91
  2375. package/src/redux/_i18n/__tests__/actions.spec.js +0 -37
  2376. package/src/redux/_i18n/__tests__/reducer.spec.js +0 -29
  2377. package/src/redux/_i18n/index.js +0 -6
  2378. package/src/redux/_i18n/types.js +0 -20
  2379. package/src/redux/_modularui/ModularUIActions.js +0 -227
  2380. package/src/redux/_modularui/ModularUIConnector.js +0 -155
  2381. package/src/redux/_modularui/ModularUIMiddleware.js +0 -182
  2382. package/src/redux/_modularui/ModularUIReducer.js +0 -169
  2383. package/src/redux/_modularui/ModularUISelectors.js +0 -322
  2384. package/src/redux/_modularui/ModularUIUtils.js +0 -96
  2385. package/src/redux/_modularui/__tests__/actions.spec.js +0 -159
  2386. package/src/redux/_modularui/__tests__/reducer.spec.js +0 -134
  2387. package/src/redux/_modularui/__tests__/selectors.spec.js +0 -153
  2388. package/src/redux/_modularui/index.js +0 -11
  2389. package/src/redux/_modularui/types.js +0 -121
  2390. package/src/redux/_modularui/withModularUI.js +0 -85
  2391. package/src/redux/_router/RouterActions.js +0 -75
  2392. package/src/redux/_router/RouterConnectors.js +0 -97
  2393. package/src/redux/_router/RouterMiddleware.js +0 -37
  2394. package/src/redux/_router/RouterReducer.js +0 -21
  2395. package/src/redux/_router/__tests__/actions.spec.js +0 -109
  2396. package/src/redux/_router/__tests__/hooks.spec.js +0 -98
  2397. package/src/redux/_router/__tests__/middleware.spec.js +0 -62
  2398. package/src/redux/_router/__tests__/reducer.spec.js +0 -26
  2399. package/src/redux/_router/index.js +0 -8
  2400. package/src/redux/_router/types.js +0 -43
  2401. package/src/redux/actions/Application.js +0 -45
  2402. package/src/redux/actions/Authorization.js +0 -65
  2403. package/src/redux/actions/Error.js +0 -95
  2404. package/src/redux/actions/Form.js +0 -42
  2405. package/src/redux/actions/FormAttributeSet.js +0 -98
  2406. package/src/redux/actions/FormAttributeSetRepeatable.js +0 -45
  2407. package/src/redux/actions/FormAutosave.js +0 -73
  2408. package/src/redux/actions/FormAutosubmit.js +0 -43
  2409. package/src/redux/actions/FormAutoupdate.js +0 -47
  2410. package/src/redux/actions/FormValidations.js +0 -71
  2411. package/src/redux/actions/Modals.js +0 -16
  2412. package/src/redux/actions/ModelCatalog.js +0 -12
  2413. package/src/redux/actions/Notification.js +0 -101
  2414. package/src/redux/actions/Preferences.js +0 -173
  2415. package/src/redux/actions/ProgressIndicator.js +0 -39
  2416. package/src/redux/actions/SignIn.js +0 -102
  2417. package/src/redux/actions/SignOut.js +0 -29
  2418. package/src/redux/actions/__tests__/Application.spec.js +0 -52
  2419. package/src/redux/actions/__tests__/Authorization.spec.js +0 -121
  2420. package/src/redux/actions/__tests__/CustomErrorResponseHandler.spec.js +0 -72
  2421. package/src/redux/actions/__tests__/Error-server.spec.js +0 -134
  2422. package/src/redux/actions/__tests__/Error.spec.js +0 -116
  2423. package/src/redux/actions/__tests__/Form.spec.js +0 -39
  2424. package/src/redux/actions/__tests__/Modals.spec.js +0 -34
  2425. package/src/redux/actions/__tests__/Notification.spec.js +0 -94
  2426. package/src/redux/actions/__tests__/Preferences.spec.js +0 -71
  2427. package/src/redux/actions/__tests__/ProgressIndicator.spec.js +0 -53
  2428. package/src/redux/actions/index.js +0 -17
  2429. package/src/redux/connectors/Application.js +0 -14
  2430. package/src/redux/connectors/Breadcrumb.js +0 -28
  2431. package/src/redux/connectors/CaseView.js +0 -14
  2432. package/src/redux/connectors/ConceptDetail.js +0 -12
  2433. package/src/redux/connectors/ContentBrowser.js +0 -14
  2434. package/src/redux/connectors/ContentDetail.js +0 -13
  2435. package/src/redux/connectors/ContentDetailSection.js +0 -17
  2436. package/src/redux/connectors/Form.js +0 -83
  2437. package/src/redux/connectors/FormAttributeSet.js +0 -85
  2438. package/src/redux/connectors/ListDetail.js +0 -16
  2439. package/src/redux/connectors/Modal.js +0 -47
  2440. package/src/redux/connectors/ModelCatalog.js +0 -14
  2441. package/src/redux/connectors/Notification.js +0 -47
  2442. package/src/redux/connectors/PanelRenderer.js +0 -29
  2443. package/src/redux/connectors/Preferences.js +0 -53
  2444. package/src/redux/connectors/Progress.js +0 -35
  2445. package/src/redux/connectors/ProgressIndicator.js +0 -35
  2446. package/src/redux/connectors/QuickSearch.js +0 -36
  2447. package/src/redux/connectors/SignIn.js +0 -47
  2448. package/src/redux/connectors/SignOut.js +0 -38
  2449. package/src/redux/connectors/Tab.js +0 -14
  2450. package/src/redux/connectors/index.js +0 -22
  2451. package/src/redux/index.js +0 -27
  2452. package/src/redux/reducers/AuthReducer.js +0 -56
  2453. package/src/redux/reducers/ErrorReducer.js +0 -22
  2454. package/src/redux/reducers/ModalsReducer.js +0 -58
  2455. package/src/redux/reducers/ModelCatalogReducer.js +0 -34
  2456. package/src/redux/reducers/NotificationReducer.js +0 -45
  2457. package/src/redux/reducers/PreferencesReducer.js +0 -31
  2458. package/src/redux/reducers/ProgressIndicatorReducer.js +0 -60
  2459. package/src/redux/reducers/__tests__/AuthReducer.spec.js +0 -95
  2460. package/src/redux/reducers/__tests__/ErrorReducer.spec.js +0 -17
  2461. package/src/redux/reducers/__tests__/ModalsReducer.spec.js +0 -34
  2462. package/src/redux/reducers/__tests__/ModelCatalogReducer.spec.js +0 -23
  2463. package/src/redux/reducers/__tests__/NotificationReducer.spec.js +0 -53
  2464. package/src/redux/reducers/__tests__/PreferencesReducer.spec.js +0 -31
  2465. package/src/redux/reducers/__tests__/ProgressIndicatorReducer.spec.js +0 -82
  2466. package/src/redux/reducers/createReducer.js +0 -55
  2467. package/src/redux/reducers/index.js +0 -10
  2468. package/src/redux/selectors/i18n.js +0 -15
  2469. package/src/redux/selectors/index.js +0 -3
  2470. package/src/redux/selectors/modelcatalog.js +0 -11
  2471. package/src/redux/store/__tests__/beforeRenderHooks.spec.js +0 -13
  2472. package/src/redux/store/beforeRenderHooks.js +0 -26
  2473. package/src/redux/store/configureStore.js +0 -59
  2474. package/src/redux/types.js +0 -241
  2475. package/src/utils/browser/Cache.js +0 -157
  2476. package/src/utils/browser/Cookies.js +0 -44
  2477. package/src/utils/browser/__tests__/Cookies.spec.js +0 -51
  2478. package/src/utils/datetime/DateTimeUtil.js +0 -858
  2479. package/src/utils/datetime/__tests__/DateTime.spec.js +0 -873
  2480. package/src/utils/datetime/__tests__/DateTimeFormat.spec.js +0 -146
  2481. package/src/utils/fetch/__mocks__/applicationContributions.json +0 -323
  2482. package/src/utils/fetch/__mocks__/applicationData.json +0 -216
  2483. package/src/utils/fetch/__mocks__/formContributions.json +0 -527
  2484. package/src/utils/fetch/__mocks__/formData.json +0 -21
  2485. package/src/utils/fetch/__mocks__/universalFetch.js +0 -38
  2486. package/src/utils/fetch/__tests__/xhr.spec.js +0 -281
  2487. package/src/utils/fetch/serverFetch.js +0 -33
  2488. package/src/utils/fetch/types.js +0 -46
  2489. package/src/utils/fetch/universalFetch.js +0 -106
  2490. package/src/utils/fetch/xhr.js +0 -409
  2491. package/src/utils/helpers/__tests__/checkResource.spec.js +0 -60
  2492. package/src/utils/helpers/__tests__/createHash.spec.js +0 -11
  2493. package/src/utils/helpers/__tests__/createHref.spec.js +0 -39
  2494. package/src/utils/helpers/__tests__/objects.spec.js +0 -50
  2495. package/src/utils/helpers/__tests__/sanitizeHTML.spec.js +0 -69
  2496. package/src/utils/helpers/checkResource.js +0 -43
  2497. package/src/utils/helpers/createHash.js +0 -28
  2498. package/src/utils/helpers/createHref.js +0 -117
  2499. package/src/utils/helpers/createUUID.js +0 -13
  2500. package/src/utils/helpers/index.js +0 -9
  2501. package/src/utils/helpers/objects.js +0 -33
  2502. package/src/utils/helpers/repositoryResource.js +0 -22
  2503. package/src/utils/helpers/sanitizeHtml.js +0 -55
  2504. package/src/utils/helpers/text.js +0 -23
  2505. package/src/utils/index.js +0 -22
  2506. package/src/utils/number/DecimalFormat.js +0 -410
  2507. package/src/utils/number/__tests__/formatValue.spec.js +0 -36
  2508. package/src/utils/number/__tests__/parseNumbers.spec.js +0 -50
  2509. package/src/utils/number/formatValue.js +0 -60
  2510. package/src/utils/number/parseNumbers.js +0 -94
@@ -0,0 +1,2 @@
1
+ import{a as p,f as E,g as q,h as nt,i as X,j as Yt,k as Jt,l as b,n as gt,o as yt,p as te,q as S}from"./chunk-BODVDNNA.js";import{a as H,b as Hr,c as Gr}from"./chunk-73XVCQCW.js";import{c as Ht,d as Kr,e as Lt,f as Gt,g as Wr,h as zr,i as ct,j as Kt,k as Wt,l as zt,m as $t,n as qt,o as $r,p as qr,q as Xt,r as ft,s as Zt,t as Xr}from"./chunk-CPYNQW3X.js";import{a as et,b as Qr}from"./chunk-YUOGIFZH.js";import{a as f}from"./chunk-VGAPPKHA.js";import{a as Zr,e as Qt,h as rt,l as it,m as Ft,w as j}from"./chunk-LYBG43T6.js";import{a as Ii,b as Ri,e as Li,f as vr,g as M}from"./chunk-LHZG2ET5.js";import{a as Pt,b as I,e as Mr,f as Ur,g as y,h as Pr,l as mt,v as _r}from"./chunk-77CGPEAQ.js";var gi=Pt((jh,fi)=>{"use strict";function zi(s,t){for(var e=-1,r=t.length,i=s.length;++e<r;)s[i+e]=t[e];return s}fi.exports=zi});var Ai=Pt((Vh,Ci)=>{"use strict";var yi=Ri(),$i=Li(),qi=Ii(),bi=yi?yi.isConcatSpreadable:void 0;function Xi(s){return qi(s)||$i(s)||!!(bi&&s&&s[bi])}Ci.exports=Xi});var vi=Pt((Uh,_i)=>{"use strict";var Zi=gi(),Qi=Ai();function Mi(s,t,e,r,i){var n=-1,o=s.length;for(e||(e=Qi),i||(i=[]);++n<o;){var a=s[n];t>0&&e(a)?t>1?Mi(a,t-1,e,r,i):Zi(i,a):r||(i[i.length]=a)}return i}_i.exports=Mi});var Ei=Pt((Ph,Di)=>{"use strict";var Yi=vi(),Ji=1/0;function tn(s){var t=s==null?0:s.length;return t?Yi(s,Ji):[]}Di.exports=tn});var O=class extends p{getInitialChildModelLinks(){let t=[];return this.collection.forEach(e=>{typeof e?.getInitialChildModelLinks=="function"&&t.push(...e.getInitialChildModelLinks())}),t}setChildModels(t,e){this.collection.forEach(r=>{typeof r.setChildModels=="function"&&r.setChildModels(t,e)})}};var C=class extends p{constructor(t=[]){if(super(t),!Array.isArray(t))throw new f(`${t} is not an Array`)}get layouthint(){return this.collection}has(...t){return(t.length>0?[...t]:[]).flat().some(r=>this.layouthint.includes(r)||this.layouthint.some(i=>i.startsWith(r)))}hasExact(...t){return(t.length>0?[...t]:[]).flat().some(r=>this.layouthint.includes(r))}getByLayoutHint(t){let e=null;return typeof t=="function"&&(e=this.layouthint.find(t)),typeof t=="string"&&(e=this.layouthint.find(r=>r.startsWith(t.toString()))),e||null}getLayoutHintValue(t){let e=t.endsWith(":")?t.substr(0,t.length-1):t,r=this.getByLayoutHint(i=>i.startsWith(`${e}=`)||i.startsWith(`${e}:`));return r?r.substr(e.length+1):null}getLayoutHintValues(t){if(!this.has(t))return null;let e=this.getLayoutHintValue(t);return e?e.split(";"):[]}};var T=class s{_configuration;_hasConfiguration=!1;constructor(t){this._hasConfiguration=Array.isArray(t),this._configuration=t??[]}includeLayoutHints(t){let e=this._configuration.filter(r=>{let[i]=Object.keys(r),n=r[i];return n.layouthint?n.layouthint.some(o=>t.includes(o)):!1});return new s(e)}excludeLayoutHints(t){let e=this._configuration.filter(r=>{let[i]=Object.keys(r),n=r[i];return n.layouthint?!n.layouthint.some(o=>t.includes(o)):!0});return new s(e)}get config(){return this._configuration.map(t=>{let[e]=Object.keys(t),r=t[e],i=[];return"labelTypes"in r?i=r.labelTypes:"propertyTypes"in r?i=r.propertyTypes:"sectionReferenceTypes"in r?i=r.sectionReferenceTypes:"textFragmentTypes"in r&&(i=r.textFragmentTypes),{type:e,label:r.label,types:i,layouthint:new C(r.layouthint),icon:"icon"in r?r.icon:""}})}hasConfig(){return this._hasConfiguration}hasContent(){return this.config.some(t=>t.type==="configElement")}hasLayoutHint(t){return this.config.some(e=>e.layouthint.has(t))}byTypes(t=[]){return!t||t.length===0?this.config:this.config.filter(e=>t.includes(e.type))}get labelConfig(){return this.config.filter(t=>t.type==="labelElement")}getAllSectionReferenceTypes(){return this.config.filter(t=>t.type==="contentElement").flatMap(t=>t.types)}getContentElementConfigBySectionReferenceType(t){return this.config.filter(e=>e.type==="contentElement"&&e.types.includes(t))}getContentConfiguredLabel(t,e=""){let r=this.labelConfig.length>0?this.labelConfig[0].types:[];if(t&&r.length>0){let i=t.getLabelElementByIds(r).filter(n=>n.value&&n.value!=="");if(i.length>0){let n=r.filter(o=>(i.some(a=>o===a._id),!1)).map(o=>i.find(l=>l._id===o));if(n.length>0&&n[0]!==void 0)return n[0].value}}return e}get hasContentFromData(){return it()}};var ee=I(et(),1);import{immerable as Fi}from"immer";import{klona as wi}from"klona/full";var h=class{static[Fi]=!0;_data;_contributions;_layouthint;_modelOptions;constructor(t,e,r={origin:"",contextPath:j()}){typeof t=="object"&&t!=null?this._data=t:this._data={},typeof e=="object"&&e!=null?this._contributions=e:this._contributions={},this._modelOptions=r;let i=this.getContributionAsArray("layouthint",[]);this._layouthint=new C(i)}get data(){return this._data}replaceData(t){this._data=t}get contributions(){return this._contributions}get modelOptions(){return this._modelOptions}get origin(){return this._modelOptions.origin}get contextPath(){return this._modelOptions.contextPath}get layouthint(){return this._layouthint}getData(t,e){return e?(0,ee.get)(this.data,t,e):(0,ee.get)(this.data,t)}getDataAsString(t,e){let r=this.getData(t,e);return typeof r=="string"?r:e}getDataAsNumber(t,e){let r=this.getData(t,e);return typeof r=="number"?r:e}getDataAsBoolean(t,e){let r=this.getData(t,e);return typeof r=="boolean"?r:e}getDataAsArray(t,e){let r=this.getData(t,e);return Array.isArray(r)?r:e}getDataAsObject(t,e){let r=this.getData(t,e);return typeof r=="object"?r:e}getContribution(t,e){return(0,ee.get)(this.contributions,t,e)}getContributionAsArray(t,e){let r=this.getContribution(t,e);return Array.isArray(r)?r:e}getContributionAsObject(t,e){let r=this.getContribution(t,e);return typeof r=="object"?r:e}getContributionAsString(t,e){let r=this.getContribution(t,e);return typeof r=="string"?r:e}getContributionAsBoolean(t,e){let r=this.getContribution(t,e);return typeof r=="boolean"?r:e}getContributionAsNumber(t,e){let r=this.getContribution(t,e);return typeof r=="number"?r:e}hasData(){return Object.keys(this.data).length>0}clone(){return wi(this)}};var Dr=I(vr(),1);import{immerable as Ni}from"immer";var F=class s{[Ni]=!0;_key;_data;_contributions;_locale="en";_parameters;_origin;_contextPath=j();_requestHref;constructor(t,e,r,i){this._key=t??"unknown",this._data=e,this._contributions=r,this._locale=i??"en"}static create(t){let e=new s;if((0,Dr.default)(t,"data")&&(0,Dr.default)(t,"contributions")){let[r]=Object.keys(t.data),[i]=Object.keys(t.contributions);e.key=t.key??i,e.data=t.data?.[r],e.contributions=t.contributions?.[i],e.origin=t.origin,e.contextPath=t.contextPath}return e}get resourcetype(){let t=this.contributions?.resourcetype;return typeof t=="string"?t:""}get modelOptions(){return{origin:this.origin,contextPath:this.contextPath}}set origin(t){this._origin=t??""}get origin(){return this._origin}set contextPath(t){this._contextPath=t??j()}get contextPath(){return this._contextPath}set locale(t){this._locale=t}get locale(){return this._locale}set key(t){this._key=t}get key(){return this._key}set data(t){this._data=t}get data(){return this._data}set contributions(t){this._contributions=t}get contributions(){return this._contributions}set parameters(t){this._parameters=t}get parameters(){return this._parameters}set requestHref(t){this._requestHref=t}get requestHref(){return this._requestHref}static rehydrate(t){let e=new s;return e.origin=t.origin,e.contextPath=t.contextPath,e.locale=t.locale,e.key=t.key,e.data=t.data,e.contributions=t.contributions,e}};var G=class s extends h{_href;_icon;_targetModel;_isCacheable=!1;constructor(t,e,r){super(t,e,r),this._href=this.createHref()}static create(t,e,r,i){return new s({name:t,href:e.toString()},{name:t,label:r},i)}createHref(){let t=new b(this.getDataAsString("href",""),this.resourcetype,this.modelOptions);return this.handleInitialFilters(t),t}handleInitialFilters(t){if(this.layouthint.has(Xt)){let e={},r=Xt.length;for(let i of this.layouthint.filter(n=>n.startsWith(Xt))){let n=i.substring(r),o=Yt.fromString(n);o.name&&(e[o.name]||(e[o.name]=[]),typeof o.value=="string"&&e[o.name].push(o.value))}Object.keys(e).forEach(i=>{let n=e[i].join(",");t.addParameter(i,n)})}}get key(){return this.getDataAsString("name","")}get label(){return this.getContributionAsString("label",this.key)}get resourcetype(){return this.getContributionAsString("resourcetype","")}get group(){return this.getContributionAsString("group",this.getDataAsString("group",""))}get href(){return this._href}set href(t){this._href=t}get links(){return"components"in this.data&&"components"in this.contributions?new A({components:this.data.components},{components:this.contributions.components}):new A}isActive(t){return t.href.startsWith(this.href)}set icon(t){this._icon=t}get icon(){return this._icon}get targetModel(){return this._targetModel}set targetModel(t){this._targetModel=t}get isCacheable(){return this._isCacheable}set isCacheable(t){this._isCacheable=t}get filterName(){let t=this.getDataAsObject("filter");if(t&&"name"in t&&typeof t.name=="string")return t.name}get hasProcessStatusSettings(){return"processStatus"in this.data&&"processStatus"in this.contributions}get processStatus(){if(this.hasProcessStatusSettings)return new bt(this.data.processStatus,this.contributions.processStatus)}};var Yr=(s,t)=>{if(!s&&!t)return[];let e=[];if(s){let r=s;for(let i of Object.keys(r)){let n=r[i];if(Array.isArray(n))for(let o of n)e.push({data:{group:i,...o},contributions:{name:o.name}});else e.push({data:{name:i,group:i,...n},contributions:{name:i}})}}if(t){let r=t;for(let i of Object.keys(r)){let n=r[i];if(Array.isArray(n))for(let o of n){let a=e.findIndex(l=>l.data?.name===o.name);a>-1&&(e[a]={...e[a],contributions:{...o,group:i}})}else{let o=e.findIndex(a=>a.data?.name===i);o>-1?e[o]={...e[o],contributions:{name:i,...n}}:"href"in n&&e.push({data:{name:i,href:n.href},contributions:{name:i}})}}}return e};var A=class s extends p{constructor(t,e,r){super();let i=Yr(t,e);this.collection=i.filter(n=>!n.contributions.layouthint?.includes(Xr)).map(n=>new G(n.data,n.contributions,r))}static create(t,e,r,i){let n="_links"in t?t._links:null,o=typeof e=="object"&&e!==null&&"_links"in e&&typeof e._links=="object"?{...e._links}:{};return new s(Array.isArray(n)?n[0]:n,{self:{resourcetype:r},...o},i)}get links(){return this.collection}set links(t){this.collection=t}getLinkByKey(t){return this.find(e=>e.key===t)}hasLinkByKey(t){return this.all.some(e=>e.key===t)}getLinkByHref(t){return this.find(e=>e.href.equals(t))}getLinksByGroup(...t){let e=t.length>0?[...t]:[],r=this.filter(n=>e.includes(n.group)),i=new s;return i.links=r,i}getLinkByResourceType(t){let e=new s;return e.collection=this.filter(r=>r.resourcetype===t),e}getLinksByLayoutHint(t){let e=new s;return e.collection=this.filter(r=>r.layouthint.has(t)),e}hasLinksByLayoutHint(t){return this.some(e=>e.layouthint.has(t))}toHrefArray(){return this.map(t=>t.href)}hasLink(t){return this.some(e=>e.href.equals(t.href))}update(t){let e=this.links.findIndex(r=>r.key===t.key);return e===-1?(this.collection=[...this.collection,t],this):(this.collection=[...this.links.slice(0,e),t,...this.links.slice(e+1)],this)}get routePath(){if(this.length===0)return"__NON_EXISTING_ROUTE__";let t=this.map(e=>e.href.path).join("|");return this.length>1?`(${t})`:t}};var bt=class extends h{get concequenceType(){return this.getContributionAsString("consequenceType","").toLowerCase()}get transition(){return this.getContributionAsString("transition","").toLowerCase()}get isApplicable(){return this.getDataAsBoolean("applicable",!1)}get isCompleted(){return this.getDataAsBoolean("completed",!1)}get isNeeded(){let t=this.getDataAsString("needed","unknown");return t==="unknown"?null:t==="true"}get state(){return this.getDataAsString("state","")}get canComplete(){return this.getDataAsBoolean("canComplete",!0)}get links(){return A.create(this.contributions,null,"process-status",this.modelOptions)}get referenceDate(){return E.now()}get conceptLink(){let t=this.links.getLinkByKey("concept");return t&&(t.href=t.href.addParameter(y,this.referenceDate),t.isCacheable=!0),t}};var u=class extends h{_key;_locale;_lastServerUpdate;_links;_childModels=[];_modularuiResponse;_connectKey;constructor(t=new F){super(t.data,t.contributions,t.modelOptions),this._modularuiResponse=t,this._key=t.key,this._locale=t.locale,this._lastServerUpdate=Date.now(),this._links=A.create(this.data,this.contributions,this.resourcetype,this.modelOptions)}get modularuiResponse(){return this._modularuiResponse}set connectKey(t){this._connectKey=t}get connectKey(){return this._connectKey}static get modelName(){throw new M("No modelName set on the resource model")}static isApplicableModel(t){throw t instanceof F?new Error(`No isApplicableModel condition set on model: ${this.modelName}`):new f("Given argument for isApplicableModel is not a ModularUIResponse")}get lastServerUpdate(){return this._lastServerUpdate}set lastServerUpdate(t){this._lastServerUpdate=t}get locale(){return this._locale}get key(){return this._key}set key(t){this._key=t}get resourcetype(){return this.getContributionAsString("resourcetype","unknown")}get label(){return this.getContributionAsString("label","")}get links(){return this._links}get selflink(){let t=this.links.getLinkByKey("self");if(t==null)throw new M(`Could not find self link for ${this.key===null?"unknown":this.key}`);return t}get selfhref(){return this.selflink?.href}getInitialChildModelLinks(){return[]}get childModels(){return this._childModels}addChildModels(t=[],e=[]){let r=t?.flat(),i=e?.flat();return this._childModels=r,this.setChildModels(r,i),this}setChildModels(t,e){if(!t&&!e)throw new f("No models send to setChildModels")}};var Z=class extends u{get type(){return"ConceptTypeDetail"}static get modelName(){return"ConceptTypeDetailModel"}static isApplicableModel(t){return t.resourcetype==="ConceptTypeDetail"}get key(){return this.getDataAsString("_id","concepttype")}get label(){return this.getDataAsString("label","")}get isCoreTaxonomy(){return this.getDataAsBoolean("coreTaxonomy",!1)}get icon(){return this.getDataAsString("icon","")}get textColor(){return this.getDataAsString("textColor","#000")}get backgroundColor(){return this.getDataAsString("backgroundColor","#fff")}get borderColor(){return this.getDataAsString("lineColor","#000")}get labelTypes(){return this.getDataAsArray("labelTypes")||[]}get propertyTypes(){return this.getDataAsArray("propertyTypes")||[]}get textFragmentTypes(){return this.getDataAsArray("textFragmentTypes")||[]}get sectionReferenceTypes(){return this.getDataAsArray("sectionReferenceTypes")||[]}isOfConceptType(t){return this.selfhref?.equals(t)}};var Ct=class extends h{_entryDate;_links;_conceptType;constructor(t,e,r){super(t,{},r),this._entryDate=e,this._links=A.create(t??{},null,"concept",this.modelOptions)}get type(){return"ConceptLinkModel"}getInitialChildModelLinks(){return this.conceptTypeLink?(this.conceptTypeLink.isCacheable=!0,[this.conceptTypeLink]):[]}setChildModels(t,e){if(this.conceptTypeLink){let r=this.conceptTypeLink.href,i=t.find(n=>n instanceof Z?n.selfhref?.equalsWithParameters(r):!1);this.conceptType=i}}get conceptType(){return this._conceptType}set conceptType(t){this._conceptType=t}get key(){return this.getDataAsString("_id","")}get label(){let t=this.getDataAsString("label");return t||this.getDataAsString("conceptLabel","")}get links(){return this._links}get selflink(){let t=this.links.getLinkByKey("self");if(t===null)throw new Error(`Could not find self link for ${this.key===null?"unknown":this.key}`);return t}get selfhref(){return this._entryDate?this.selflink?.href.addParameter(y,this._entryDate):this.selflink?.href}get conceptTypeLink(){return this.links.getLinkByKey("concepttype")}get concepttypeHref(){return this.conceptTypeLink?.href??null}get taxonomyType(){return"default"}get modelCategory(){return this.getDataAsString("modelCategory")}get sectionId(){return this.data.section?._id}get fragment(){return this.data.section?.fragment}asLinkModel(){let t=G.create(this.key,"",this.label,this.modelOptions);return this.selfhref&&(t.href=this.selfhref),t}};var At=class extends h{_concept;constructor(t,e,r){super(t,void 0,r),this._concept=new Ct(t?.concept,e,this.modelOptions)}get selfhref(){throw new Error("Method not implemented.")}getInitialChildModelLinks(){return this.concept.getInitialChildModelLinks()}setChildModels(t,e){this.concept.setChildModels(t,e)}get type(){return this.getDataAsString("relationType","")}get key(){return this.type}get label(){return this.getDataAsString("relationLabel")}get direction(){return this.getDataAsString("relationDirection")}get relationTypeType(){return this.getDataAsString("relationTypeType","None")}get condition(){return this.getDataAsString("relationCondition")}get properties(){return this.getDataAsArray("properties")}get textfragments(){return this.getDataAsArray("textFragments")}get concept(){return this._concept}set concept(t){this._concept=t}};var re=class s extends O{_entryDate;_modelOptions;constructor(t,e,r){super(),this._entryDate=e,this._modelOptions=r||{origin:"",contextPath:j()},t&&this.createCollection(t,e)}createCollection(t,e){Array.isArray(t)?t.forEach(r=>{r instanceof At?this.add(r):this.add(new At(r,e,this._modelOptions))}):this.add(new At(t,e,this._modelOptions))}get types(){return this.collection.filter((t,e,r)=>r.findIndex(i=>i.key===t.key)===e).map(t=>({key:t.key,label:t.label}))}byType(t){return new s(this.filter(e=>e.key===t),this._entryDate,this._modelOptions)}get incoming(){return new s(this.filter(t=>t.direction==="incoming"),this._entryDate,this._modelOptions)}get outgoing(){return new s(this.filter(t=>t.direction==="outgoing"),this._entryDate,this._modelOptions)}hasIncoming(){return this.incoming.length>0}hasOutgoing(){return this.outgoing.length>0}};var V=class extends u{get type(){return"ContentType"}static get modelName(){return"ContentTypeModel"}static isApplicableModel(t){return t.resourcetype==="ContentTypeDetail"}get label(){return this.getDataAsString("label","")}get icon(){return this.iconLarge}get iconSmall(){return this.getDataAsString("iconSmall")}get iconMedium(){return this.getDataAsString("iconMedium")}get iconLarge(){return this.getDataAsString("iconLarge")}get description(){return this.getDataAsString("description")}};var R=class extends h{_links;_entryDate;_contentType;_items;constructor(t,e,r){super(t,{},r),this._entryDate=e,this._links=A.create(this.data,this.contributions,"content",this.modelOptions),this._items=[]}get type(){return"ContentLinkModel"}getInitialChildModelLinks(){return this.contentTypeLink?(this.contentTypeLink.isCacheable=!0,[this.contentTypeLink]):[]}setChildModels(t,e){if(this.contentTypeLink){let r=this.contentTypeLink.href;this.contentType=t.find(i=>i instanceof V?i.selfhref?.equalsWithParameters(r):!1)}}get contentType(){return this._contentType}set contentType(t){this._contentType=t instanceof V?t:void 0}set entryDate(t){this._entryDate=t}get key(){return this.getDataAsString("_id","")}get label(){return this.getDataAsString("label","")}get sourceLabel(){return this.getDataAsString("sourceLabel")}get abbreviation(){return this.getDataAsString("abbreviation")||this.getDataAsString("sourceAbbreviation")}get section(){return this.data.section}get encodedHref(){let t="/content/",e=new b(this.selfhref.path,"",this.modelOptions),r=e.path,i=this.section?r.substring(t.length,r.lastIndexOf("/")):r.substring(t.length);if(this.section!=null){let n=encodeURIComponent(this.section);e.path=`${t}${encodeURIComponent(i)}/${n}`}else e.path=`${t}${encodeURIComponent(i)}`;return this._entryDate!==null&&e.addParameter(y,this._entryDate),e}get links(){return this._links}get selflink(){let t=this.links.getLinkByKey("self");if(Qt("COMPLETE_SOURCE",!1)&&(this.links.hasLinkByKey("content")&&(t=this.links.getLinkByKey("content")),this.section!=null&&t&&!t.href.path.endsWith(encodeURIComponent(this.section))&&(t.href.addParameter("complete","true"),t.href.hash=this.section||"")),!t)throw new Error(`Could not find self link for '${this.key||"unknown"}'`);return t.href.state?t.href.state.fragment=this.fragment:t.href.state={fragment:this.fragment},t}get contentHref(){let t=this.data._links.self.href;if(this.data._links.content)t=this.data._links.content.href;else if(this.section){let e=encodeURIComponent(this.section);t.endsWith(e)&&(t=t.substring(0,t.lastIndexOf("/"+e)))}return new b(t).addParameter("complete","true").addParameter(y,this._entryDate)}get sectionHref(){if(this.section){let e=this.contentHref;return new b(e.path+"/"+encodeURIComponent(this.section)).addParameter(y,this._entryDate)}return null}get selfhref(){return this._entryDate?this.selflink.href.addParameter(y,this._entryDate):this.selflink.href}get subSectionID(){return this.selfhref.hash}get contentTypeLink(){return this.links.getLinkByKey("contenttype")}get contentTypeHref(){return this.contentTypeLink?.href}get fragment(){return this.data.sectionFragment}set items(t){this._items=t}get items(){return this._items}};var ie=class extends h{_entryDate;_links;constructor(t,e){super(t),this._links=A.create(this.data,null,"concept",this.modelOptions),this._entryDate=e}get links(){return this._links}get link(){let t=this.selfhref?.path,e=this.links.getLinkByKey("content")?.href.path;if(t&&e)return new R({...this.data,label:this.label,section:this.sectionId,sectionFragment:this.fragment},this._entryDate,this.modelOptions)}get selflink(){return this.links.getLinkByKey("self")}get selfhref(){return this.selflink?.href}get type(){return this.getDataAsString("type","")}get label(){return this.getDataAsString("label")}get sourceLabel(){return this.getDataAsString("sourceLabel")}get sourceAbbreviation(){return this.getDataAsString("sourceAbbreviation")}get referenceHash(){if(this.selfhref)return gt(this.selfhref)}get sectionId(){return this.getDataAsString("sectionId")}get fragment(){return this.getDataAsObject("sectionFragment")}};var ne=class extends p{constructor(t,e){super(),this.collection=this.createSourceReferences(t||[],e)}createSourceReferences(t,e){return t.map(r=>new ie(r,e))}byTypes(t){return this.filter(e=>t.includes(e.type))}};var K=class extends u{_conceptType;_relations;_sourceReferences;constructor(t){super(t),this._relations=new re(this.data.relations,this.entryDate,this.modelOptions)}get type(){return"ConceptDetail"}static get modelName(){return"ConceptDetailModel"}static isApplicableModel(t){return t.resourcetype==="ConceptDetail"}getInitialChildModelLinks(){let t=this.links.getLinkByKey("concepttype"),e=this.relationsCollection.getInitialChildModelLinks();return t?(t.isCacheable=!0,[t,...e]):e}setChildModels(t,e){let r=t.find(i=>i instanceof Z);r instanceof Z&&(this.conceptType=r),this.relationsCollection.setChildModels(t,e)}get key(){return this.getDataAsString("_id","concept")}get selfhref(){let{href:t}=this.selflink;return this.entryDate?t.setParameter(y,this.entryDate):t.removeParameter(y),t}get diagramLinks(){return this.links.getLinksByGroup("diagram")}get conceptType(){return this._conceptType}set conceptType(t){this._conceptType=t}get label(){return this.getDataAsString("conceptLabel","")}get modelCategory(){return this.getDataAsString("modelCategory","")}get taxonomyType(){return this.getDataAsString("taxonomyType")}get relationsCollection(){return this._relations}get formula(){return this.getDataAsString("formula")}get labels(){if(this.conceptType?.labelTypes){let t=this.getDataAsArray("labels",[]);return this.conceptType.labelTypes.map(e=>{let r=t.find(i=>i.type===e._id);return{...e,...r}})}return[]}getLabelElementByIds(t){return this.labels.filter(e=>t.includes(e._id))}get conceptProperties(){if(this.conceptType?.propertyTypes){let t=this.getDataAsArray("properties",[]);return this.conceptType.propertyTypes.map(e=>{let r=t.find(i=>i.type===e._id);return{...e,...r}})}return[]}getConceptPropertiesByIds(t){return this.conceptProperties.filter(e=>t.includes(e._id))}get textfragments(){let t=this.getDataAsArray("textFragments",[]),e=t.map(i=>({...this.conceptType?.textFragmentTypes.find(o=>i.type===o._id),...i})),r=this.conceptType?.textFragmentTypes?this.conceptType.textFragmentTypes.filter(i=>!t.some(n=>n.type===i._id)):[];return[...e,...r]}getTextFragmentByKeys(t){return this.textfragments.filter(e=>"type"in e&&typeof e.type=="string"&&t.includes(e.type))}getSourceReferenceCollection(t=[]){return this._sourceReferences||(this._sourceReferences=new ne(this.getSourceReferencesForCurrentLanguage(t),this.entryDate)),this._sourceReferences}getSourceReferencesForCurrentLanguage(t){let e=this.getDataAsArray("sourceReferences",[]);if(e.length===0)return[];let r=3,i=e.map(a=>a.type.substring(a.type.length-r)),n=`_${this.locale}`;if(i.includes(n))return e.filter(a=>a.type.endsWith(n));let o=t.map(a=>`_${a.split("-")[0]}`);return e.filter(a=>{let l=a.type.substring(a.type.length-r);return!o.includes(l)})}get entryDate(){return this.getDataAsString(`filter.${y}.value`)}isOfConceptType(t){return this.conceptType?.isOfConceptType(t)??!1}};import{immerable as Bi}from"immer";var wt=class{[Bi]=!0;_id;_defaultMessage;_parameters;_isClientConstraint;_layouthint;constructor(t,e,r,i=!1,n=new C){this._id=t,this._parameters=r,this._defaultMessage=e,this._isClientConstraint=i,this._layouthint=Array.isArray(n)?new C(n):n}get id(){return this._id}get defaultMessage(){return this._defaultMessage}get parameters(){return this._parameters}get isClientConstraint(){return this._isClientConstraint??!1}get layouthint(){return this._layouthint}get isMandatoryConstraint(){return this.id==="Constraint.Mandatory"}getMessage(){return{id:this.id,defaultMessage:this.defaultMessage??"",parameters:this.parameters??{}}}};var se=(i=>(i[i.FORM=0]="FORM",i[i.FORMOBJECT=1]="FORMOBJECT",i[i.ATTRIBUTE=2]="ATTRIBUTE",i[i.COMPOSITE_CHILDREN=3]="COMPOSITE_CHILDREN",i))(se||{}),U=class extends p{_type;constructor(t,e){super(),this._type=t,this.collection=[],e&&(this.collection=[...e.collection])}get type(){return this._type}get serverErrors(){return this.collection.filter(t=>!t.isClientConstraint)}findById(t){return this.collection.findIndex(e=>e.id===t)}addError(t,e,r,i){let n=this.findById(t);n>-1&&this.removeByIndex(n),this.add(new wt(t,e,r,!1,i))}removeError(t){let e=this.findById(t);this.removeByIndex(e)}addServerError(t,e,r,i){r?this.addError(t,e,r,i):this.addError(t,e,void 0,i)}removeServerError(t){this.removeError(t)}removeServerErrors(){this.serverErrors.forEach(t=>{this.removeError(t.id)})}addErrors(t){this.collection=[...this.collection,...t]}addConstraints(t){this.collection=[...this.collection,...t.map(e=>new wt(e.id,e.defaultMessage,e.parameters,!0))]}hasMandatoryError(){return this.collection.some(t=>t.isMandatoryConstraint)}};var oe=class s extends h{_entryDate;_links;constructor(t,e,r){super(t,{},r),this._entryDate=e,this._links=A.create(this.data,this.contributions,"subsection",this.modelOptions)}get referred(){return this.getDataAsBoolean("referred",!1)}get id(){return"id"in this.data?this.getDataAsString("id"):this.getDataAsString("_id")}get key(){return this.id}get body(){return yt(this.data.body)}get number(){return this.getDataAsString("number")}get label(){return this.getDataAsString("label","")}get subSections(){return this.data.subSections?this.data.subSections.map(t=>new s(t,this.entryDate,this.modelOptions)):[]}get links(){return this._links}get selflink(){return this.links.getLinkByKey("self")}get selfhref(){return this.selflink?.href}get entryDate(){return this._entryDate}get relatedConceptsHrefs(){let t=[];return this.relatedConceptsHref&&t.push(this.relatedConceptsHref),this.subSections.forEach(e=>{t.push(...e.relatedConceptsHrefs)}),t}get relatedConceptsHref(){let t=this.links.getLinkByKey("relatedConcepts");if(t){let{href:e}=t;if(e.hash.includes("/relatedConcepts")){let r=e.path.substring(0,e.path.lastIndexOf("/"));e.path=r+"/"+e.hash,e.hash=e.hash.includes("#")?e.hash.substring(e.hash.indexOf("#")):""}return e.addParameter("entryDate",this.entryDate),e.setReferenceHash(this.referenceHash),e}}get referenceHash(){return gt(this.selfhref)}getReferredSections(){let t=[];for(let e of this.subSections){e.referred&&t.push(e);let r=e.getReferredSections();t.push(...r)}return t}};var st=class s extends h{_entryDate;_selflink;_childSections;constructor(t,e,r){super(t,{},r),this._entryDate=e,this._selflink=this.createSelfLink(),this._childSections=this.createChildSections()}get referred(){return this.getDataAsBoolean("referred",!1)}get selflink(){return this._selflink}createSelfLink(){let t=this.getDataAsString("_links.self.href");if(typeof t<"u")return G.create(this.key||"unknown",t,this.label,this.modelOptions)}get selfhref(){return this.selflink?.href}get entryDate(){return this._entryDate}get type(){return this.getDataAsString("type")}get sourceLabel(){return this.getDataAsString("sourceLabel")}get id(){let t=this.getDataAsString("id");return t||this.getDataAsString("_id","unknown")}get key(){return this.id}get label(){return this.getDataAsString("label","")}get number(){return this.getDataAsString("number")}get body(){let t=this.data.body;if(t)return yt(t)}get childSectionLinks(){let t=[];return this.data.childSections?t=this.data.childSections:this.data.sections&&(t=this.data.sections),t.map(e=>{let r=e.id||e._id,i=e._links;return new R({section:r,_id:r,label:e.label,sourceLabel:e.sourceLabel,_links:i},this.entryDate,this.modelOptions)})}get selfContentLink(){let t=this.data._links;return new R({section:this.id,_id:this.id,label:this.label,sourceLabel:this.sourceLabel,_links:t},this.entryDate,this.modelOptions)}createChildSections(){let t=[];return this.data.childSections?t=this.data.childSections:this.data.sections&&(t=this.data.sections),t.filter(e=>"body"in e).map(e=>new s(e,this.entryDate,this.modelOptions))}get childSections(){return this._childSections}set childSections(t){this._childSections=t||[]}get sections(){return this.data.sections?this.data.sections.map(t=>new s(t,this.entryDate,this.modelOptions)):[]}get subSections(){return Array.isArray(this.data.subSections)?this.data.subSections.map(t=>new oe(t,this.entryDate,this.modelOptions)):[]}get referenceHash(){return gt(this.selfhref)}getReferredSections(){let t=[];for(let e of this.subSections){e.referred&&t.push(e);let r=e.getReferredSections();t.push(...r)}for(let e of this.childSections){e.referred&&t.push(e);let r=e.getReferredSections();t.push(...r)}return t}};import{immerable as ji}from"immer";var Mt=class s{[ji]=!0;_content;constructor(t){this._content=t}static create(t){return typeof t=="object"&&t!==null&&"elements"in t&&Array.isArray(t.elements)?new s(t):new s}get fromData(){return it()}get header(){let t=null,e=null,r=this._content?.header?.label;r&&(t=r);let i=this._content?.header?.description;return i&&(typeof i=="object"&&"message"in i?e=i.message:typeof i=="string"&&(e=i)),{label:t,description:e}}mapToPropertyElement(t){let e=t.propertyElement;return{propertyElement:{label:e.label,layouthint:new C(e.layouthint),properties:"properties"in e?e.properties:[]}}}mapToTextFragmentElement(t){let e=t.textFragmentElement;return{textFragmentElement:{label:e.label,layouthint:new C(e.layouthint),textfragments:"textfragments"in e?e.textfragments.map(r=>typeof r=="object"?{...r,text:yt(r.text)||""}:r):[]}}}mapToContentElement(t){let e=t.contentElement;return{contentElement:{label:e.label,layouthint:new C(e.layouthint),sections:"sections"in e?e.sections.map(r=>new st(r)):[]}}}get elements(){return Array.isArray(this._content?.elements)?this._content.elements.filter(t=>t!=null).map(t=>{switch(Object.keys(t)[0]){case"propertyElement":return this.mapToPropertyElement(t);case"textFragmentElement":return this.mapToTextFragmentElement(t);case"contentElement":return this.mapToContentElement(t);default:return t}}):[]}get label(){return this._content?.label}get properties(){return this.elements.filter(t=>Object.keys(t)[0]==="propertyElement").map(t=>{let{propertyElement:e}=t;return"properties"in e?e.properties:[]}).flat()}getConceptPropertiesByLabels(t){return this.elements.filter(e=>Object.keys(e)[0]==="propertyElement").map(e=>e.propertyElement).filter(e=>Array.isArray(t)?t.includes(e.label):t===e.label).map(e=>"properties"in e?e.properties:[]).flat()}get textfragments(){return this.elements.filter(t=>Object.keys(t)[0]==="textFragmentElement").map(t=>{let{textFragmentElement:e}=t;return"textfragments"in e?e.textfragments:[]}).flat()}getTextFragmentsByLabels(t){return this.elements.filter(e=>Object.keys(e)[0]==="textFragmentElement").map(e=>e.textFragmentElement).filter(e=>Array.isArray(t)?t.includes(e.label):t===e.label).map(e=>"textfragments"in e?e.textfragments:[]).flat()}get sections(){return this.elements.filter(t=>Object.keys(t)[0]==="contentElement").map(t=>t.contentElement.sections).flat()}getSectionsByType(t){return this.sections.filter(e=>{let r=e.type;return r?Array.isArray(t)?t.includes(r):t===r:!1})}getSectionsByLabels(t){return this.elements.filter(e=>Object.keys(e)[0]==="contentElement").map(e=>e.contentElement).filter(e=>Array.isArray(t)?t.includes(e.label):t===e.label).map(e=>e.sections).flat()}getReferredSections(){let t=[];for(let e of this.sections)t.push(...e.getReferredSections());return t}};var ae=class{_id;_validateMethod;_defaultMessage;_parameters;_useClientsideValidation;constructor(t,e,r,i,n=rt("USE_CLIENTSIDE_VALIDATION")){this._id=t,this._validateMethod=e,this._defaultMessage=r,this._parameters=i,this._useClientsideValidation=n}get id(){return this._id}get defaultMessage(){return this._defaultMessage||"Missing default message"}get parameters(){return this._parameters}hasValidation(){return this._validateMethod!=null}validate(t){let e=this._validateMethod;return this._useClientsideValidation&&e?e(t):!0}get isMandatoryConstraint(){return this._id==="mandatory"||this._id==="Constraint.Mandatory"}};var m=class extends p{addConstraint(t,e,r,i={},n=rt("USE_CLIENTSIDE_VALIDATION")){this.add(new ae(t,e,r,i,n))}validate(t){return this.isEmpty()||this.collection.every(e=>e.validate(t))}hasMandatoryConstraint(){return this.collection.some(t=>t.isMandatoryConstraint)}invalidConstraints(t){return t===""&&!this.hasMandatoryConstraint()?[]:this.collection.filter(e=>!e.validate(t))}};var le=class{get id(){return"Constraint.Mandatory"}hasValidation(){return!0}get defaultMessage(){return"Field is mandatory"}get parameters(){return{}}validate(t){if(t==null)return!1;if(typeof t!="string")throw new TypeError(`isNotEmptyString: Not comparing to string: ${typeof t}`);return t!==""}get isMandatoryConstraint(){return!0}};var ue="Constraint.InvalidLengthExact",ce="Constraint.InvalidLengthBetween",de="Constraint.InvalidLengthTooShort",he="Constraint.InvalidLengthTooLong",pe=class{_minLength;_maxLength;constructor(t,e){this._minLength=t,this._maxLength=e}get id(){return this.minLength&&this.maxLength&&this.minLength===this.maxLength?ue:this.minLength&&this.maxLength?ce:this.minLength?de:this.maxLength?he:"Constraint.NoLengthConstraint"}get minLength(){return this._minLength}get maxLength(){return this._maxLength}hasValidation(){return!0}isExactLength(t){if(typeof t!="string")throw new TypeError("isExactLength: Not comparing to string");if(this.minLength==null)throw new Error("isExactLength: Min and max length not set");return t.length===this.minLength}isBetween(t){if(typeof t!="string")throw new TypeError("isBetween: Not comparing to string");if(this.minLength==null||this.maxLength==null)throw new Error("isBetween: Min or max length not set");return this.isLongEnough(t)&&this.isSmallEnough(t)}isLongEnough(t){if(typeof t!="string")throw new TypeError("isLongEnough: Not comparing to string");if(!this.minLength)throw new Error("isLongEnough: Min length not set");return t.length>=this.minLength}isSmallEnough(t){if(typeof t!="string")throw new TypeError("isSmallEnough: Not comparing to string");if(!this.maxLength)throw new Error("isSmallEnough: Max length not set");return t.length<=this.maxLength}get defaultMessage(){switch(this.id){case ue:return"Length must be precisely ${length} characters";case ce:return"Length must be between ${min-length} and ${max-length} characters";case de:return"The length of the value must be larger than ${min-length}";case he:return"The length of the value must be smaller than ${max-length}";default:return""}}get parameters(){switch(this.id){case ue:return{length:this.minLength};case ce:return{"min-length":this.minLength,"max-length":this.maxLength};case de:return{"min-length":this.minLength};case he:return{"max-length":this.maxLength};default:return{}}}validate(t){switch(this.id){case ue:return this.isExactLength(t);case ce:return this.isBetween(t);case de:return this.isLongEnough(t);case he:return this.isSmallEnough(t);default:return!0}}get isMandatoryConstraint(){return!1}};var d=class extends h{_label;_links;_parentKey;_hasContentConfiguration=!1;_content;_concept;attributeReferenceDate;_lastModification=0;_initvalue;_value;_inputvalue;_previouslyValidatedValue;attributeErrors;_serverConstraints=new m;_useClientsideValidation=rt("USE_CLIENTSIDE_VALIDATION",!0);_isValid=!0;_mandatory;_readonly=!1;_disabled=!1;_isResult;_isHidden=!1;_isEditable=!1;_layoutHintRules;_placeholder;constructor(t,e,r){super(t,e,r),this.attributeReferenceDate=this.getDataAsString("referenceDate",E.now()),this._links=A.create(this.data,this.contributions,"attribute",this.modelOptions),this._content=this.createAttributeContent(),this._label=this.createLabel(),this._placeholder=this.getContributionAsString("placeholder"),this._initvalue=this.data.value,this._inputvalue=this.getInitialInputValue(this.data.value),this._value=this.data.value,this._isResult=this.getDataAsBoolean("isResult",!1),this._mandatory=this.layouthint.has(Ht)||this.getContributionAsBoolean("mandatory",!1),this._disabled=this.layouthint.has(Kr),this.attributeErrors=this.createErrorCollection(this.data.message)}createLabel(){return this.hasContentFromData()&&this.content?.label&&(this._label=this.content.label),this.getContributionAsString("label","")}createErrorCollection(t){let e=new U(2);return typeof t=="object"&&t!=null&&e.addServerError(t.id,t.message,t.properties,t.layouthint),e}static isApplicableModel(t){throw typeof t!="object"?new f("Given argument for isApplicableModel is not a contributions object"):new Error("isApplicableModel must be implemented on an attribute")}get key(){return this.getDataAsString("key","unknown")}get parentKey(){return this._parentKey||""}set parentKey(t){this._parentKey=t}get name(){return this.key}get label(){return this._label}set label(t){this._label=t}get placeholder(){return this._placeholder}set placeholder(t){this._placeholder=t}get isEditable(){return this._isEditable}set isEditable(t){this._isEditable=t}get isVisible(){return!this._isHidden}get isHidden(){return this._isHidden}set isHidden(t){this._isHidden=t}show(){this.isHidden=!1}hide(){this.isHidden=!0}get links(){return this._links}get downloadLink(){let t=this.links.getLinksByGroup("download").first;if(t&&t.key===this.key)return t}getInitialChildModelLinks(){return!this.hasContentFromData()&&this.hasContentConfiguration()&&this.conceptLink?[this.conceptLink]:[]}setChildModels(t,e){let r=this.conceptLink?.href;if(r){let i=t.find(n=>n instanceof K?n.selfhref.equalsWithParameters(r):!1);this.concept=i}}get conceptLink(){let t=this.links.getLinkByKey("concept");return t&&(t.href=t.href.addParameter(y,this.referenceDate),t.isCacheable=!0),t}get concept(){return this._concept}set concept(t){this._concept=t}get referenceDate(){return this.attributeReferenceDate}set referenceDate(t){this.attributeReferenceDate=t}hasContentFromData(){return it()}setHasContentConfiguration(t){this._hasContentConfiguration=t}hasContentConfiguration(){return this._hasContentConfiguration}createAttributeContent(){if("content"in this.data)return new Mt(this.data.content)}get content(){return this._content}indicateContentConfiguration(t){if(t){let e=t.questions?.hasConfig(),r=t.isConfiguredEndResultAttribute(this.key),i=t.isConfiguredIntermediateResultAttribute(this.key);this.setHasContentConfiguration(e||r||i)}}getContentConfiguredLabel(t){return this.hasContentFromData()?this.content?.label??this.label:t.getContentConfiguredLabel(this.concept,this.label)}get defaultAlignment(){return"left"}get alignment(){let t=this.layouthint.getByLayoutHint("align-"),e=t?t.substring(6):this.defaultAlignment;return e==="left"||e==="center"||e==="right"?e:this.defaultAlignment}get readonlyWidth(){return"MEDIUM"}get layoutHintRules(){return this._layoutHintRules}set layoutHintRules(t){this._layoutHintRules=t}processLayoutHintRules(t){this.layoutHintRules&&this.layoutHintRules.process(this,t)}get lastModification(){return this._lastModification}set lastModification(t){this._lastModification=t}updateLastModification(){this.lastModification=Date.now()}isChangedSince(t){return this.lastModification>t}getInitialInputValue(t){return t}get initvalue(){return this.getInitValue()}getInitValue(){return this._initvalue}setInitValue(t){this._initvalue=t}hasValue(){return this._value!=null&&this._value!==""}getValue(){return this.hasValue()?this._value:null}setValue(t){this._value=t}get value(){return this.getValue()}set value(t){this.updateLastModification(),this._value=t}getInputValue(){let t=this._inputvalue;return t?t.toString():""}setInputvalue(t){this._inputvalue=t}get inputvalue(){return this.getInputValue()}set inputvalue(t){this._inputvalue=t,this.value=t,this.validate(t)}formatValue(t){return JSON.stringify(t)}get readonlyvalue(){return this.value?this.value.toString():""}get validateValue(){return this.inputvalue}get mandatory(){return this._mandatory||!1}set mandatory(t){t!==this._mandatory&&(this._previouslyValidatedValue=null),this._mandatory=t}get configuredMandatory(){return this.layouthint.has(Ht)??this.getContributionAsBoolean("mandatory")}get readonly(){return this._readonly||this.getContributionAsBoolean("readonly")===!0||this.getDataAsBoolean("static")===!0||this.isResult}set readonly(t){this._readonly=t}get disabled(){return this._disabled}set disabled(t){this._disabled=t}get isResult(){return this._isResult}set isResult(t){this._isResult=t}get format(){return this.getContributionAsString("format")}get formatLabel(){return this.format}get minLength(){return this.getContributionAsNumber("minLength")}get maxLength(){return this.getContributionAsNumber("maxLength")}get operator(){return this.getContributionAsString("operator","")}get assistantMessage(){return this.getContributionAsString("assistant")}get isValid(){return this.validate(this.validateValue)}getIsValid(){return this._isValid}setIsValid(t){this._isValid=t}getServerConstraints(){return this._serverConstraints}get constraintCollection(){let t=new m;return t.add(this._serverConstraints),this.mandatory&&t.add(new le),(this.minLength||this.maxLength)&&t.add(new pe(this.minLength,this.maxLength)),t.add(this.addConstraints()),t}addConstraints(){return new m}setUseClientsideValidation(t){this._useClientsideValidation=t}useClientsideValidation(){return this._useClientsideValidation??!0}validate(t){return this.useClientsideValidation()?(this.isOptionalAndEmpty(t)?this._isValid=!0:this.getPreviouslyValidatedValue()!==t&&(this._isValid=this.constraintCollection.validate(t)),this.setPreviouslyValidatedValue(t),this._isValid):!0}setPreviouslyValidatedValue(t){this._previouslyValidatedValue=t}getPreviouslyValidatedValue(){return this._previouslyValidatedValue}isOptionalAndEmpty(t){if(t===void 0)throw new f("isOptionalAndEmpty method needs value argument");return!this.mandatory&&t===""}get errorCollection(){let t=new U(2,this.attributeErrors);return t.addConstraints(this.constraintCollection.invalidConstraints(this.validateValue)),t}inError(){return!this._isValid&&this.isChangedSince(0)}resetErrors(){this.attributeErrors.clear()}addServerError(t){this.attributeErrors.addServerError(t.id,t.message,t.properties,t.layouthint)}removeServerError(t){this.attributeErrors.removeServerError(t)}hasServerErrors(){return this.errorCollection.serverErrors.length>0}hasErrors(){return this.errorCollection.hasItems()}addMissingError(t){this.attributeErrors.addServerError("Constraint.Missing")}removeMissingError(){this.removeServerError("Constraint.Missing")}addServerConstraint(t,e,r){this._serverConstraints.addConstraint(t,void 0,e||"",r,this.useClientsideValidation())}formatParameters(t){if(!t)return{};let e={};return Object.keys(t).forEach(r=>{let i=t[r];r.endsWith("-number")||r.endsWith("-date")?e[r]=this.formatValue(i):e[r]=i}),e}get hasDynamicValidationData(){return!0}updateValidations(t){t.some(e=>e.id==="Constraint.Mandatory")||this.layouthint.has(Ht)?this.mandatory=!0:this.hasValue()||(this.mandatory=!1),this._serverConstraints=new m,this.resetErrors(),t.filter(e=>e.id!=="Constraint.Mandatory"||!this.hasValue()).forEach(e=>{this.hasValue()?this.attributeErrors.addServerError(e.id,e.message,this.formatParameters(e.properties),e.layouthint):this.addServerConstraint(e.id,e.message,this.formatParameters(e.properties))})}mergeAttribute(t){this.concept=t.concept,!t.readonly&&t.isValid&&t.inputvalue!==null&&this.update(t.inputvalue)}getFormData(){return this.inError()?null:{[this.name]:this.value}}get formdata(){return this.getFormData()}getEmptyFormData(){return{[this.name]:null}}equals(t){return this.key===t.key&&this.parentKey===t.parentKey}};import{immerable as Gi}from"immer";var Br=I(et(),1),Ke=I(Zr(),1);var ti=I(vr(),1);var Q=class s extends O{get type(){return"composite-collection"}get selfhref(){}static create(t,e,r){return"children"in t&&"children"in e&&Array.isArray(e.children)&&Array.isArray(t.children)?Array.isArray(t.children[0])?s.createMultiData(t,e,r):s.createStandard(t,e,r):new s}static createStandard(t,e,r){let i=new s;return"children"in e&&"children"in t&&Array.isArray(e.children)&&Array.isArray(t.children)&&(i.collection=e.children.map(n=>{let[o]=Object.keys(n),a=Array.isArray(t.children)?t.children.find(B=>B.key===o):{},l=n[o];"type"in e&&typeof e.type=="string"&&e.type.includes("range")&&!l.type&&(l.type=e.type.replace("range",""));let c=k.createAttribute(o,{...a,dynamicschema:a?.dynamicschema},{...l,readonly:l.readonly??"readonly"in e},r);return c&&"key"in t&&typeof t.key=="string"&&(c.parentKey=t.key),c}).filter(n=>n!==null)),i}static createMultiData(t,e,r){let i=new s;return"children"in t&&Array.isArray(t.children)&&(i.collection=t.children.map(n=>s.create({...t,children:n},e,r))),i}getInputValue(){return this.collection.map(t=>t.inputvalue).join(",")}get inputvalue(){return this.getInputValue()}validate(){return this.collection.every(t=>t.isValid)}get errorCollection(){return new U(3)}hasServerErrors(){return this.errorCollection.serverErrors.length>0||this.collection.some(t=>t.hasServerErrors())}hasErrors(){return this.errorCollection.hasItems()??this.collection.some(t=>t.hasErrors())}isValid(){return!this.hasErrors()}reset(){this.collection.forEach(t=>{t.reset()})}get initvalue(){let t={},e=[];for(let r of this.collection)r instanceof s?e.push(r.initvalue):r.initvalue!==null&&(t[r.key]=r.initvalue);if(!(e.length===0&&Object.keys(t).length===0))return e.length>0?e:t}get value(){if(this.first instanceof s)return this.collection.map(e=>e.value);let t={};if(this.collection.forEach(e=>{if(e instanceof s)return e.value;e.formdata!==null&&!e.readonly&&(t={...t,...e.formdata})}),Object.keys(t).length!==0)return t}get readonlyvalue(){return this.first instanceof s?this.collection.map(t=>t.readonlyvalue).join(" | "):this.collection.filter(t=>t.value!==null).map(t=>t.readonlyvalue).join(", ")}updateValidations(t,e){this.collection.forEach(r=>{if(r instanceof s)r.updateValidations(t,e);else{let i=e.filter(n=>n.anchor?.elementid===`${t}${r.key}`);r.updateValidations(i)}})}setUseClientsideValidation(t){this.collection.forEach(e=>{e.setUseClientsideValidation(t)})}hasValue(){return this.collection.some(t=>t.hasValue())}getChildByAttribute(t){return this.collection.find(e=>e instanceof d&&e.equals(t)?!0:e instanceof _?e.getChildByAttribute(t):!1)}getChildByKey(t){return this.collection.find(e=>e instanceof d&&e.key===t?!0:e instanceof _?e.getChildByKey(t):!1)}};var v=(g=>(g.STRING="string",g.NUMBER="number",g.INTEGER="integer",g.BOOLEAN="boolean",g.MEMO="memo",g.DATE="date",g.DATETIME="datetime",g.TIME="time",g.TIMESTAMP="timestamp",g.ARRAY="array",g.BINARY="binary",g.COMPOSITE="composite",g.CAPTCHA="captcha",g.PASSWORD="password",g.CHOICE="choice",g.LOOKUP="lookup",g.RANGE="range",g.HELPTEXT="helptext",g.LABEL="label",g.MONEY="money",g.XML="xml",g.UPLOAD="upload",g.ASSIGNMENT="assignment",g))(v||{}),Er=(c=>(c.STRING="string",c.CHOICE="choice",c.DATE="date",c.DATETIME="datetime",c.ASSIGNMENT="assignment",c.DATERANGE="daterange",c.DATETIMERANGE="datetimerange",c.NUMBER="number",c.NUMBERRANGE="numberrange",c))(Er||{}),Jr=(i=>(i.STATIC="static",i.DYNAMIC="dynamic",i.DYNAMIC_WITH_THRESHOLD="dynamicWithThreshold",i.LOOKUP="lookup",i))(Jr||{});var _=class s extends d{_children;constructor(t,e,r){super(t,e,r),this._children=Q.create(t??{},e??{},r),this.setChildrenOptionality()}static isApplicableModel(t){return t.type==="composite"||t.type==="array"&&"children"in t}getInitialChildModelLinks(){return this.children.getInitialChildModelLinks()}setChildModels(t,e){this.children.setChildModels(t,e)}get type(){return"composite"}get children(){return this._children}set children(t){this._children=t}get start(){return this.children.all[0]}get end(){return this.children.all[this.children.size-1]}getInputValue(){return this.children.getInputValue()}hasValue(){return this.children.some(t=>t.hasValue())}get constraintCollection(){let t=new m;return t.add(this.getServerConstraints()),t.add(this.addConstraints()),t}setUseClientsideValidation(t){super.setUseClientsideValidation(t),this.children.all.forEach(e=>e.setUseClientsideValidation(t))}validate(t){return this.useClientsideValidation()?(this._isValid=this.children.validate(),this._isValid&&(this._isValid=this.constraintCollection.validate(t)),this._isValid):!0}get isValid(){return this.validate("")}hasServerErrors(){return this.errorCollection.serverErrors.length>0||this.children.some(t=>t.hasServerErrors())}hasErrors(){return this.errorCollection.hasItems()??this.children.some(t=>t.hasErrors())}reset(){this.children.reset()}getChildByAttribute(t){return this.children.find(e=>e instanceof Q?!1:e.equals(t))}getChildByKey(t){return this.children.find(e=>e instanceof d&&e.key===t?!0:e instanceof s||e instanceof Q?e.getChildByKey(t)!==void 0:!1)}mergeAttribute(t){this.concept=t.concept,this.children.forEach(e=>{if(t instanceof s&&e instanceof d){let r=t.getChildByKey(e.key);r&&e.mergeAttribute(r)}})}update(t,e){if(!e)throw new f("Composite attribute needs changed attribute on update call");return this.updateLastModification(),this.children.forEach(r=>{r instanceof s?r.update(t,e):r instanceof d&&r.equals(e)&&r.update(t)}),this.setChildrenOptionality(),this.validate(t),this}updateByAttribute(t){t instanceof s?t.children.forEach(e=>{if(!(e instanceof Q)){let r=this.getChildByAttribute(e);r&&r.updateByAttribute(e)}}):console.error(`update of composite attribute with ${t.type} not supported`)}setChildrenOptionality(){let t=!this.mandatory&&this.children.every(e=>e.value===null);this.children.forEach(e=>{e instanceof d&&(e.mandatory=t||!e.configuredMandatory?!1:e.configuredMandatory)})}get readonly(){return super.readonly??this.children.every(t=>t instanceof d&&t.readonly)}set readonly(t){super.readonly=t}get readonlyvalue(){return this.children.readonlyvalue}get initvalue(){return this.children.initvalue}getFormData(){return{[this.name]:this.value}}getValue(){return this.children.value}getChildrenIds(){let t=this.data.value;return Array.isArray(t)?t.map(e=>{if(typeof e=="object"&&e!=null&&"_id"in e)return e._id}):t!=null&&typeof t=="object"&&"_id"in t?[t._id]:[]}get isResult(){return this._isResult}set isResult(t){this._isResult=t,this.children.forEach(e=>{e instanceof Q||(e.isResult=t)})}indicateContentConfiguration(t){t&&this.children.forEach(e=>{e instanceof Q||e.indicateContentConfiguration(t)})}equals(t){return this.key===t.key&&this.parentKey===t.parentKey||this.children.some(e=>e instanceof d&&e.equals(t))}get readonlyWidth(){if(this.type==="composite")return"LARGE";switch(this.start instanceof d?this.start.type:""){case"datetime":return"LARGE";case"timestamp":return"EXTRA_LARGE";default:return"MEDIUM"}}};var D=class extends O{constructor(t={elementid:"none"},e=[],r){super(),e.forEach(i=>{let[n,o]=Object.entries(i)[0],a=k.createAttribute(n,t,o,{origin:r?.origin,contextPath:r?.contextPath});a!==null&&(r?.isReadonly&&!(0,ti.default)(o,"readonly")&&(a.readonly=!0),this.collection.push(a))}),this.processLayoutHintRules()}get attributes(){return this.processLayoutHintRules(),this.all}set attributes(t){this.collection=t}processLayoutHintRules(){this.all.forEach(t=>{t.processLayoutHintRules(this)})}get visible(){return this.attributes.filter(t=>!t.isHidden)}get questions(){return this.visible.filter(t=>!t.isResult)}get results(){return this.visible.filter(t=>t.isResult)}getAttributeByAttribute(t){return this.find(e=>e.equals(t)?!0:t instanceof _?t.getChildByAttribute(e):!1)}getAttributeByKey(t){return this.find(e=>e.key===t?!0:e instanceof _?e.getChildByKey(t):!1)}hasAttributeByKey(t){return this.getAttributeByKey(t)!=null}getAttributeByLayoutHint(...t){return this.find(e=>e.layouthint.has(...t))}getChoiceAttributeByLayoutHint(t){let e=this.getAttributeByLayoutHint(t);if(e instanceof Y)return e}getAttributesByLayoutHint(...t){return this.filter(e=>e.layouthint.has(...t))}replace(t,e){this.replaceByKey(t.key,e)}replaceByKey(t,e){this.forEach((r,i)=>{r.key===t&&(this.collection[i]=e)})}setReferenceDate(t){this.forEach(e=>{e.referenceDate=t})}hasServerErrors(){return this.collection.some(t=>t.hasServerErrors())}addServerError(t){let e=t?.anchor?.elementid;if(e){let r=this.getAttributeByKey(e);if(r)r.addServerError(t);else throw new H(`Could not add error to missing attribute with id ${e}`)}}hasErrors(){return this.visible.some(t=>t.hasErrors())}updateValidations(t){return this.all.filter(e=>e.hasDynamicValidationData).forEach(e=>{let r=t.filter(i=>i.anchor?.elementid===e.key);if(e.updateValidations(r),e instanceof _){let i=t.filter(n=>{let o=n.anchor?.elementid;return o&&o.startsWith(`${e.key}.`)});e.children.updateValidations(`${e.key}.`,i)}}),this}indicateContentConfiguration(t){t&&this.all.forEach(e=>{e.indicateContentConfiguration(t)})}get formdata(){return this.getFormData(!1)}getFormData(t=!1){let e=this.attributes.filter(i=>i.formdata!==null&&!i.readonly&&(!t||i.hasDynamicValidationData)).map(i=>i.isVisible?i.formdata:i.getEmptyFormData()),r={};return e.forEach(i=>{r={...r,...i}}),r}};var W=class s extends h{_code;_isSelected;_concept;_referenceDate;_level;_attributeCollection;_children;_links;_content;_isUser=!1;constructor(t=[],e={},r){super({},e),this._code=this.getContributionAsString("code",this.getContributionAsString("key","")),this._isSelected=t.includes(this.code),this._referenceDate=r?.referenceDate||new Date().toISOString().split("T")[0],this._level=0,this._attributeCollection=this.createAttributeCollection(r),this._children=this.addChildren(t,e,r),this._links=new A(this.contributions._links,{},{origin:r?.origin,contextPath:r?.contextPath}),this._content=this.createContent(),this._isUser="optionType"in e&&e.optionType==="user"}get type(){return"option"}static createFromListItemModel(t){let e=new s;return e.code=t.id?.toString()??"",e}get isChoiceAttributeOptionModel(){return!0}getInitialChildModelLinks(){let t=[];return!this.hasContentFromData()&&this.conceptLink&&t.push(this.conceptLink),this.children&&t.push(...this.children.getInitialChildModelLinks()),t}setChildModels(t,e=[]){let r=this.conceptLink?.href;if(r){let i=t.find(n=>n instanceof K?n.selfhref.equalsWithParameters(r):!1);this.concept=i}this.children&&this.children.setChildModels(t,e)}get code(){return this._code}set code(t){this._code=t}equals(t){return this.code.toString()===t.code.toString()}createAttributeCollection(t){let e=this.getContributionAsArray("elementsContributions",[]),r=this.getContributionAsObject("elements",{});return new D(r,e,{origin:t?.origin,contextPath:t?.contextPath,isReadonly:!0})}get attributeCollection(){return this._attributeCollection}set attributeCollection(t){this._attributeCollection=t}get label(){let t=this.getContributionAsString("label");if(t)return t;if(this.attributeCollection.hasItems()){let e=this.attributeCollection.getAttributeByLayoutHint(ct);if(e)return e.readonlyvalue;if(this.attributeCollection.first)return this.attributeCollection.first.readonlyvalue}return""}getContentConfiguredLabel(t){if(this.hasContentFromData())return this.content?.label||this.label;if(t)return t.getContentConfiguredLabel(this.concept,this.label)}hasContentFromData(){return it()}get content(){return this._content}addChildren(t=[],e={},r){if("elements"in e)return new J;let i="children"in e?e.children:[];return J.create({value:t},{options:i??[]},r)}get children(){return this._children}createContent(){return Mt.create(this.getContributionAsObject("content"))}get selected(){return this._isSelected}set selected(t){this._isSelected=t}get count(){return this.getContributionAsNumber("count")}get links(){return this._links}set links(t){this._links=t}get selfhref(){return this.links.getLinkByKey("self")?.href}get referenceDate(){return this._referenceDate}set referenceDate(t){this._referenceDate=t}get conceptLink(){let t=this.links.getLinkByKey("concept");return t&&(t.href=t.href.addParameter(y,this.referenceDate),t.isCacheable=!0),t}get concept(){return this._concept}set concept(t){this._concept=t}get level(){return this._level}set level(t){this._level=t}get isBooleanType(){return this.getContributionAsBoolean("isBooleanType",!1)}get hasAlternativeLabel(){return this.getContributionAsBoolean("hasAlternativeLabel",!1)}get isUser(){return this._isUser}mergeOption(t){this.concept=t.concept,this.children!=null&&t.children!=null&&this.children.mergeOptions(t.children)}};var J=class s extends O{_modelOptions;_headers=[];_sortOptions=!1;constructor(t){super(),this._modelOptions=t||{origin:"",contextPath:j(),referenceDate:new Date().toISOString().split("T")[0]}}set sortOptions(t){this._sortOptions=t,this.collection.forEach(e=>{e.children&&(e.children.sortOptions=t)})}get sortOptions(){return this._sortOptions}static create(t={},e={},r){let i=new s(r);if("type"in e&&e.type==="boolean"){let n="value"in t?t.value:void 0;i.addBooleanOptions(n,e)}else"dynamicschema"in t&&t.dynamicschema!=null?i.addDynamicSchema(t,e):"options"in e&&e.options!=null&&i.addOptions(t,e);return"children"in e&&Array.isArray(e.children)&&i.addHeaders(e.children),i}get all(){return this.sortOptions?this.collection.sort((t,e)=>t.label.localeCompare(e.label)):this.collection}getSelectedOptions(t){let e=[];return"options"in t&&Array.isArray(t.options)?e.push(...t.options.filter(r=>r.selected).map(r=>r.key)):"value"in t&&("value"in t&&Array.isArray(t.value)?e.push(...t.value):typeof t.value=="boolean"?e.push(t.value.toString()):e.push(t.value)),e}getOptionCount(t,e){if(Array.isArray(e)){let r=e.find(i=>"key"in i&&i.key===t);if(r)return"count"in r&&typeof r.count=="number"?r.count:void 0}}addOptions(t,e){let r=this.getSelectedOptions(t);if("options"in e&&Array.isArray(e.options)){let i="options"in t&&Array.isArray(t.options)?t.options:[];e.options.forEach(n=>{let o=n.code||n.key,a="optionType"in e?e.optionType:"generic";this.addOption(r,{...n,count:this.getOptionCount(o,i),optionType:a})})}return this}addDynamicSchema(t,e){let r=this.getSelectedOptions(t);if("dynamicschema"in t&&Array.isArray(t.dynamicschema)){let i="options"in t&&Array.isArray(t.options)?t.options:[],n="children"in e?e.children:void 0,o="optionType"in e?e.optionType:"generic";t.dynamicschema.forEach(a=>{this.addOption(r,{...a,count:this.getOptionCount(a.code,i),optionType:o,elementsContributions:n})})}return this}addBooleanOption(t,e,r,i=[]){let n=i.find(a=>"code"in a&&a.code===t),o=n&&"label"in n?n.label:e;this.addOption(r,{code:t,label:o,isBooleanType:!0,hasAlternativeLabel:n!=null})}addBooleanOptions(t,e){let r=t==null?[]:[t.toString()],i="options"in e&&Array.isArray(e.options)?e.options:[];return this.addBooleanOption("true","Yes",r,i),this.addBooleanOption("false","No",r,i),this}addOption(t,e){let r=new W(Array.isArray(t)?t:[t],e,this._modelOptions);return this.add(r),this}getOptionByCode(t){return this.collection.find(e=>e.code===t)}hasOptionByCode(t){return this.collection.some(e=>e.code===t)}get selected(){let t=[];return this.collection.forEach(e=>{e.selected&&e.selected===!0&&t.push(e),e.children&&t.push(...e.children.selected)}),t}deselectAll(){this.collection=this.collection.map(t=>(t.selected=!1,t.children&&t.children.deselectAll(),t))}select(t){this.toggle(t,"select")}deselect(t){this.toggle(t,"deselect")}toggle(t,e){this.collection=this.collection.map(r=>(r.code===t?r.selected=e==="select":r.children&&r.children.toggle(t,e),r))}setReferenceDate(t){return this.collection.map(e=>(e.referenceDate=t,e.children&&(e.children.referenceDate=t),e))}set referenceDate(t){this.collection=this.setReferenceDate(t)}addHeaders(t){this._headers=t.map(e=>new _t(e))}get headers(){return this._headers?this._headers:[]}mergeOptions(t,e=!1,r=!1){let i=[];this.collection.forEach(n=>{let o=t.find(a=>a.code===n.code);o?(n.mergeOption(o),i.push(n)):r||i.push(n)}),e?this.collection=[...i,...t.filter(n=>!this.collection.some(o=>o.code===n.code))]:this.collection=i}some(t,e){return this.collection.some((r,i,n)=>{let o=t(r,i,n);return!o&&r.children?r.children.some(t,e):o})}};var ei=(l=>(l.CHECKBOX="checkbox",l.RADIOBUTTON="radiobutton",l.COMBOBOX="combobox",l.LIST="list",l.LISTVIEW="listview",l.TABLE="table",l.LONGLIST="longlist",l.TOGGLE="toggle",l))(ei||{}),Y=class s extends d{_options;constructor(t,e,r){super(t,e,r),this.attributeReferenceDate=this.getDataAsString("referenceDate",new Date().toISOString().split("T")[0]),this._options=J.create(t,e,{...r,referenceDate:this.referenceDate}),this.layouthint.has(zr)&&(this._options.sortOptions=!0)}static isApplicableModel(t){let e="";return"type"in t&&typeof t.type=="string"&&(e=t.type),e==="choice"||e==="array"?!0:e!=="composite"&&e!=="boolean"?"enumerated"in t||"options"in t:!1}get type(){let t=this.getContributionAsString("optionMode",""),e=this.lookupLink||this.lookupListLink;return t==="lookup"||t==="dynamicWithThreshold"&&e?"lookup":"choice"}getInitialChildModelLinks(){let t=[];return this.hasContentConfiguration()&&(!this.hasContentFromData()&&this.conceptLink&&t.push(this.conceptLink),t.push(...this.options.getInitialChildModelLinks())),t}setChildModels(t,e){let r=this.conceptLink?.href;if(r){let i=t.find(n=>n instanceof K?n.selfhref?.equalsWithParameters(r):!1);this.concept=i}this.options.setChildModels(t,e)}get optionType(){return this.contributions?.optionType??"generic"}get isUser(){return this.optionType==="user"}get lookupLink(){return this.links.getLinkByKey("lookupOptions")}get lookupListLink(){return this.links.getLinkByKey("lookupList")}get lookupListLabel(){return this.contributions.lookupList?.label??""}get referenceDate(){return this.attributeReferenceDate}set referenceDate(t){this.attributeReferenceDate=t,this.options.referenceDate=t}get options(){return this._options}get selected(){return this.options.selected.map(t=>t.code)}get readonlyvalue(){return this.options.selected.map(t=>t.label).join(", ")}get initvalue(){let t=this.getInitValue();return Array.isArray(t)&&t.length!==0,t}getValue(){return this.options.selected.length>0?this.options.selected.map(t=>t.code).join(","):null}hasValue(){return this.options.selected.length>0}getInputValue(){return this.selected.join(",")}toggleOption(t){this.selected.includes(t)?this.disableOption(t):this.enableOption(t)}enableOption(t){this.isMultiple||this.options.deselectAll(),this.options.select(t),this.inputvalue=this.getInputValue()}disableOption(t){this.options.deselect(t),this.inputvalue=this.getInputValue()}addOption(t){this.isMultiple||this.options.deselectAll();let e="code"in t&&typeof t.code=="string"?t.code:"";this.options.find(r=>r.code===e)===void 0&&this.options.addOption(e,t)}get choicetype(){return["checkbox","radiobutton","combobox","list","listview","table","longlist","toggle"].find(t=>this.layouthint.has(t))??"checkbox"}get isMultiple(){return this.getContributionAsBoolean("multiplechoice")??this.choicetype==="checkbox"}get isTree(){return this.getContributionAsArray("options",[]).some(t=>"children"in t)}reset(){this.options.deselectAll()}mergeAttribute(t,e=!1,r=!1){!this.readonly&&t instanceof s&&(this.concept=t.concept,this.options.mergeOptions(t.options,e??this.type==="lookup",r),this.options.deselectAll(),t.isValid&&t.inputvalue!==null&&this.update(t.inputvalue))}update(t){if(this.readonly)return this;this.updateLastModification();let e;return Array.isArray(t)?e=t:typeof t=="string"&&this.isMultiple?e=t.split(","):e=[t],e.forEach(r=>{r instanceof W?(this.options.some(i=>i.equals(r))||this.options.add(r),this.toggleOption(r.code)):typeof r=="string"&&this.options.some(i=>i.code.toString()===r)&&this.toggleOption(r)}),this}updateByAttribute(t){if(this.reset(),t instanceof s||t instanceof _){let e;t instanceof s?e=t.options.selected:t instanceof _&&(e=t.getChildrenIds()),e!=null&&this.update(e)}else console.error(`update of choice attribute with ${t.type} not supported`)}addMissingError(t){this.isChangedSince(0)&&this.attributeErrors.addServerError("Constraint.Missing"),t instanceof s&&this.mergeAttribute(t,!0,!0)}setHasContentConfiguration(t){super.setHasContentConfiguration(this.contentConfiguration!=null||t)}get contentConfiguration(){if(!this.contributions.content?.optionElements)return;let t=this.contributions.content.optionElements.map(e=>"contentElement"in e?{contentElement:{layouthint:[Zt],...e.contentElement}}:e);return new T(t)}get placeholder(){return this.getContributionAsString("placeholder","")}addServerError(t){let{id:e,message:r,properties:i,layouthint:n}=t,o="answer-option-key";if(i&&o in i){let a=i[o],l=this.options.find(c=>c.code===a);l&&(i[o]=l.getContentConfiguredLabel(this.contentConfiguration??void 0)??"")}this.attributeErrors.addServerError(e,r,i,n)}get readonlyWidth(){return"MEDIUM"}};var me=class s extends d{_referenceDate;_options;constructor(t,e,r){super(t,e,r),this._referenceDate=this.getDataAsString("referenceDate",E.now()),this._options=J.create(t,e,{...r,referenceDate:this.referenceDate})}static isApplicableModel(t){return"type"in t&&t.type==="boolean"}get type(){return"boolean"}get referenceDate(){return this._referenceDate}set referenceDate(t){this._referenceDate=t,this.options.referenceDate=t}get choicetype(){return["checkbox","radiobutton","combobox","toggle"].find(t=>this.layouthint.has(t))??"radiobutton"}get isMultiple(){return!1}get isTree(){return!1}setHasContentConfiguration(t){super.setHasContentConfiguration(this.contentConfiguration!==null||t)}get contentConfiguration(){if("content"in this.contributions&&typeof this.contributions.content=="object"&&this.contributions.content!==null&&"optionElements"in this.contributions.content&&Array.isArray(this.contributions.content.optionElements)){let t=this.contributions.content.optionElements.map(e=>"contentElement"in e?{contentElement:{...e.contentElement,layouthint:[Zt]}}:e);return new T(t)}return null}get options(){return this._options}get selected(){return this.options.selected.map(t=>t.code)}get readonlyvalue(){return this.options.selected.map(t=>t.label).join(", ")}get initvalue(){let t=this.getInitValue();return Array.isArray(t)&&t.length!==0,t}getValue(){let t=this.options.selected;return t.length>0?t[0].code:null}hasValue(){return this.options.selected.length>0}getInputValue(){return this.selected.join(",")}toggleOption(t){this.selected.includes(t)?this.disableOption(t):this.enableOption(t)}enableOption(t){this.options.deselectAll(),this.options.select(t),this.inputvalue=this.getInputValue()}disableOption(t){this.options.deselect(t),this.inputvalue=this.getInputValue()}reset(){this.options.deselectAll()}mergeAttribute(t){!this.readonly&&t instanceof s&&(this.concept=t.concept,this.options.deselectAll(),t.isValid&&t.inputvalue!==null&&this.update(t.inputvalue))}update(t){if(this.readonly)return this;this.updateLastModification();let e;return Array.isArray(t)?e=t:typeof t=="string"&&this.isMultiple?e=t.split(","):typeof t=="string"?e=[t==="true"?"true":"false"]:e=[JSON.stringify(t)],e.forEach(r=>{r instanceof W?this.toggleOption(r.code):typeof r=="string"&&this.options.some(i=>i.code.toString()===r)&&this.toggleOption(r)}),this}updateByAttribute(t){this.reset(),t instanceof s?this.update(t.value):console.error(`update of boolean attribute with ${t.type} not supported`)}getFormData(){return this.inError()?null:this.hasValue()?{[this.name]:this.value==="true"}:this.choicetype==="checkbox"||this.choicetype==="toggle"?{[this.name]:!1}:{[this.name]:null}}get readonlyWidth(){return this.options.some(t=>t.hasAlternativeLabel)?"SMALL":"EXTRA_SMALL"}};var fe=class extends d{_answer="";static isApplicableModel(t){return t.type==="captcha"}get type(){return"captcha"}update(t){return this.updateLastModification(),this.inputvalue=t,this}updateByAttribute(t){}setAnswer(t){this._answer=t}getAnswer(){return this._answer}get hasDynamicValidationData(){return!1}reset(){this._answer="",this.inputvalue=""}};var Sr="Constraint.Date.InexactDate",Or="Constraint.Date.OutOfRange",Tr="Constraint.Date.BelowMinimum",kr="Constraint.Date.AboveMaximum",ge=class{_type;_format;_minDate;_maxDate;constructor(t,e=null,r=null,i="yyyy-MM-dd"){this._type=t,this._format=i,this._minDate=e,this._maxDate=r}get type(){return this._type}get id(){return this.minDate!==null&&this.maxDate!==null&&this.minDate===this.maxDate?Sr:this.minDate!==null&&this.maxDate!==null?Or:this.minDate!==null?Tr:this.maxDate!==null?kr:"Constraint.Date.NoBoundaryConstraint"}get format(){return this._format}get minDate(){return this._minDate}get maxDate(){return this._maxDate}get defaultMessage(){switch(this.id){case Sr:return"Date must be precisely ${min-date}";case Or:return"Must be between ${min-date} and ${max-date}";case Tr:return"Must be on or after ${min-date}";case kr:return"Must be on or before ${max-date}";default:return""}}get parameters(){return{"min-date":this.minDate?this.formatUtil.toFormat(this.minDate,this.format):null,"max-date":this.maxDate?this.formatUtil.toFormat(this.maxDate,this.format):null}}hasValidation(){return!0}isExactDate(t){if(this.minDate===null)throw new M("isExactDate: Min and max date not set");return this.formatUtil.isSame(t,this.minDate,this.format)}isBetweenDates(t){if(this.minDate===null||this.maxDate===null)throw new M("isBetweenDate: Min or max date not set");return this.isSameOrAfterMinDate(t)&&this.isSameOrBeforeMaxDate(t)}isSameOrAfterMinDate(t){if(this.minDate==null)throw new M("isSameOrAfterMinDate: Min date not set");return this.formatUtil.isSameOrAfter(t,this.minDate,this.format)}isSameOrBeforeMaxDate(t){if(this.maxDate==null)throw new M("isSameOrBeforeMaxDate: Max date not set");return this.formatUtil.isSameOrBefore(t,this.maxDate,this.format)}get formatUtil(){switch(this.type){case"time":return nt;case"timestamp":return X;case"datetime":return q;default:return E}}validate(t){if(typeof t!="string")throw new TypeError("isNotEmptyString: Not comparing to string");switch(this.id){case Sr:return this.isExactDate(t);case Or:return this.isBetweenDates(t);case Tr:return this.isSameOrAfterMinDate(t);case kr:return this.isSameOrBeforeMaxDate(t);default:return!0}}get isMandatoryConstraint(){return!1}};var ye=class{_format;_formatLabel;constructor(t,e){this._format=t,this._formatLabel=e}get id(){return"Constraint.DateFormat.InvalidFormat"}get format(){return this._format}get formatLabel(){return this._formatLabel}hasValidation(){return!0}get defaultMessage(){return"Date must be entered in the format ${format}"}get parameters(){return{format:this.formatLabel}}validate(t){return t?E.hasFormat(t,this.format):!1}get isMandatoryConstraint(){return!1}};var be=class{_type;_format;_formatLabel;_formatNoOffset;_id="Constraint.DateTime.MissingValue";constructor(t,e,r){this._type=t,this._format=e,this._formatNoOffset=e.replace(mt,"").trim(),this._formatLabel=r}get type(){return this._type}get id(){return this._id}get format(){return this._format}get formatLabel(){return this._formatLabel}hasValidation(){return!0}get defaultMessage(){return"Date and time should both be entered"}get parameters(){return{format:this.formatLabel}}get formatUtil(){return this.type==="timestamp"?X:q}validate(t){if(!t)return!1;if(this.formatUtil.hasFormat(t,this.format))return!0;if(Ft())if(this.formatUtil.hasFormat(t,this._formatNoOffset)){if(!new RegExp("[+-](0[0-9]|1[0-4]):[0-5][0-9]").test(t))return this._id="Constraint.DateTime.MissingOffset",!1}else return this._id="Constraint.DateTime.MissingValue",!1;return!1}get isMandatoryConstraint(){return!1}};var Ce=class{_format;_formatLabel;constructor(t,e){this._format=t,this._formatLabel=e}get id(){return"Constraint.TimeFormat.InvalidFormat"}get format(){return this._format}get formatLabel(){return this._formatLabel}hasValidation(){return!0}get defaultMessage(){return"Time must be entered in the format ${format}"}get parameters(){return{format:this.formatLabel}}validate(t){return t?nt.hasFormat(t,this.format):!1}get isMandatoryConstraint(){return!1}};var Ae=class s extends d{_dateInputFormat;constructor(t,e,r){super(t,e,r),this._inputvalue="",this._dateInputFormat="",this.updateInitValue()}get type(){return this.getContributionAsString("type","date")}static isApplicableModel(t){return t.type==="date"||t.type==="time"||t.type==="datetime"||t.type==="timestamp"}get formatUtil(){switch(this.type){case"time":return nt;case"timestamp":return X;case"datetime":return q;default:return E}}getInitValue(){let t=this.getDataAsString("value");return t&&(this.type==="time"&&t.length===5&&(t=`${t}:00`),this.type==="datetime"&&t.includes(".")?t=X.toFormat(t,q.getIsoFormat()):t=this.formatUtil.toISO(t),this.hasTime&&(t=this.getTimeValue(t))),t}getTimeValue(t){let e=t;if(this.timeInputFormat.toLowerCase().includes("h")||(e=this.formatUtil.setHour(t,0)),this.timeInputFormat.includes("m")||(e=this.formatUtil.setMinute(t,0)),this.timeInputFormat.includes("s")||(e=this.formatUtil.setSecond(t,0)),this.type==="timestamp"&&!this.timeInputFormat.includes("S")&&(e=this.formatUtil.setMilliseconds(t,0)),Ft()){let r=this.formatUtil.toFormat(t,mt),i=this.formatUtil.toFormat(e,mt);e=e.replace(i,r)}return e}updateInitValue(){let t=this.getInitValue();if(t!=null){this.setInitValue(t);let e=this.getInitialInputValue(t);this._inputvalue=e,this.setValue(t)}}getInitialInputValue(t){if(typeof t!="string")return"";let e=t;return this.type==="time"&&t.length===5&&(e=`${t}:00`),this.formatUtil.toFormat(e,this.inputFormat)}getInputValue(){return this._inputvalue?this._inputvalue.toString():""}get inputvalue(){return this.getInputValue()}set inputvalue(t){this.validate(t),this._inputvalue=t,this.value=t!==null&&t!==""?this.formatUtil.toISO(t,this.inputFormat):null}reset(){this.inputvalue=""}get format(){let t=this.getContributionAsString("format","");return this.formatUtil.convertFormat(t)}get formatLabel(){switch(this.type){case"date":return this.dateInputFormat.toLowerCase();case"time":return this.timeInputFormat.toLowerCase();default:return this.format.toLowerCase()}}get hasDate(){return this.type==="date"||this.type==="datetime"||this.type==="timestamp"}get hasTime(){return this.type==="time"||this.type==="datetime"||this.type==="timestamp"}get inputFormatWithoutOffset(){return this.hasDate&&this.hasTime?`${this.dateInputFormat} ${this.timeInputFormat}`.trim():this.hasDate?this.dateInputFormat:this.hasTime?this.timeInputFormat:""}get inputFormat(){return Ft()&&this.dateInputFormat!==""&&this.timeInputFormat!==""?`${this.inputFormatWithoutOffset} ${mt}`:this.inputFormatWithoutOffset}extractDateInputFormat(){let t=new Set("yMLdQDEewGu"),e=new Set("HhaKmsSZzXxO"),r=this.format,i="",n=!1,o=!1;for(let a=0;a<r.length;a++){let l=a>0?r[a-1]:"",c=a<r.length?r[a+1]:"",B=r[a];B==="'"?n=l==="'"||c==="'"||!n:!n&&t.has(B)?o=!0:!n&&e.has(B)&&(o=!1),o&&(i+=B)}return i.trim()}get dateInputFormat(){return this.hasDate?(this._dateInputFormat||(this._dateInputFormat=this.extractDateInputFormat()),this._dateInputFormat):""}get dateReadonlyFormat(){return this.hasDate?this.hasTime?this.format.replace(this.timeInputFormat,"").trim():this.format:""}get placeholder(){if(super.placeholder)return super.placeholder;let t=this.getContributionAsString("formatlabel");return this.hasDate&&this.hasTime&&t?.includes(" ")?t.split(" ")[0]:t}createTimeInputFormat(){if(!this.hasTime)return"";let t=this.format,e=[];t.includes("H")?e.push("HH"):t.includes("h")&&e.push("hh"),t.includes("m")&&e.push("mm"),t.includes("s")&&e.push("ss");let r=e.join(":");return t.includes("S")&&(r=`${r}.SSS`),t.includes("a")?`${r} a`:r}get timeInputFormat(){return this.createTimeInputFormat()}get timeReadonlyFormat(){return this.createTimeInputFormat()}get dateInputValue(){return typeof this.value=="string"&&this.dateInputFormat!==""?this.formatUtil.toFormat(this.value,this.dateInputFormat):""}get timeInputValue(){return typeof this.value=="string"&&this.timeInputFormat!==""?this.formatUtil.toFormat(this.value,this.timeInputFormat):""}formatValue(t){return typeof t!="string"||t===""?"":(this.type==="datetime"||this.type==="timestamp")&&E.hasFormat(t,Pr)?E.toFormat(t,this.dateReadonlyFormat):this.type==="date"?this.formatUtil.toFormat(t,this.dateReadonlyFormat):this.formatUtil.toFormat(t,this.format)}get readonlyvalue(){return typeof this.value=="string"?this.formatValue(this.value):""}get isAmbiguous(){return typeof this.value=="string"?this.formatUtil.isAmbiguous(this.value):!1}get offset(){return typeof this.value=="string"?this.formatUtil.getOffset(this.value):null}get mindate(){return this.getContributionAsString("mindate")}get maxdate(){return this.getContributionAsString("maxdate")}addServerError(t){let{id:e,message:r,properties:i,layouthint:n}=t;i&&"format"in i&&this.formatLabel&&(i.format=this.formatLabel),this.attributeErrors.addServerError(e,r,i,n)}getFormatConstraint(){switch(this.type){case"date":return new ye(this.dateInputFormat,this.formatLabel);case"time":return new Ce(this.timeInputFormat,this.formatLabel);default:return new be(this.type,this.inputFormat,this.formatLabel)}}addConstraints(){let t=new m;return t.add(this.getFormatConstraint()),(this.mindate||this.maxdate)&&t.add(new ge(this.type,this.mindate,this.maxdate,this.inputFormat)),t}get readonlyWidth(){return this.type==="date"||this.type==="time"?"SMALL":"MEDIUM"}update(t){return this.inputvalue===t?this:(this.updateLastModification(),this.inputvalue=t,this)}updateByAttribute(t){if(this.reset(),t instanceof s){let e=t.value;if(e!=null){let r=this.formatUtil.toFormat(e,this.inputFormat);this.update(r)}}else console.error(`update of datetime attribute with ${t.type} not supported`)}};var Me=class extends d{static isApplicableModel(t){return t.type==="helptext"||"readonly"in t&&"text"in t}get type(){return"helptext"}get text(){let e=this.getData("content")?.text?.message;if(e)return e;let r=this.getContribution("text");return r!=null?typeof r=="string"?r:r.message:null}update(t){return this}updateByAttribute(t){}getFormData(){return null}reset(){}};var _e=class extends d{static isApplicableModel(t){return"layouthint"in t&&Array.isArray(t.layouthint)?t.layouthint.includes("label"):!1}get type(){return"label"}update(t){return this}updateByAttribute(t){}getFormData(){return null}reset(){}};import{immerable as Vi}from"immer";var vt=class{[Vi]=!0;static checkHintApplicability=!1;static isApplicableForAttribute(t){return!0}static isApplicableForHint(t){throw new M("Missing isApplicableForHint implementation on layout hint rule")}static initAttribute(t){throw new M("Missing initAttribute implementation on layout hint rule")}static initHint(t){throw new M("Missing initHint implementation on layout hint rule")}};var ri="equals",ii="includes",ni="notEquals",si="notIncludes",oi="notIsEmpty",ai="isEmpty",li="show",ui="hide",ve=class s extends vt{_action="";_control="";_operator="";_options=[];static checkHintApplicability=!0;static isApplicableForHint(t){return new RegExp(`^${Gt}\\s?(${li}|${ui})`,"i").test(t)}static getRuleInstance(){return new s}static initHint(t){let e=this.getRuleInstance(),r=`${ri}|${ii}|${ni}|${si}|${oi}|${ai}`,i=new RegExp(`${Gt}\\s?(\\S*)\\swhen ${Lt}:\\s?(.*?)\\s*(${r})\\s(.*)`,"i"),n=new RegExp(`${Gt}\\s?(\\S*)\\swhen ${Lt}:\\s?(.*?)\\s*(${r})`,"i"),o=t.match(i)?t.match(i):t.match(n);if(o)e.action=o[1],e.control=o[2],e.operator=o[3],e.options=o[4]?o[4]:"";else throw new H(`No dependent information found on layout hint: ${t}`);return e}get action(){return this._action}set action(t){this._action=t}get control(){return this._control}set control(t){this._control=t}get operator(){return this._operator}set operator(t){this._operator=t}get options(){return this._options}set options(t){this._options=t.split("|").map(e=>e.trim())}processEqualsOptions(t){if("selected"in t&&Array.isArray(t.selected)){let e=t.selected;return this.options.every(r=>e.includes(r))}throw new H("Dependent control in combination with equals operator must be a choice, string or number attribute")}processIncludesOptions(t){if(t.type==="choice")return this.options.some(e=>t.selected.includes(e));throw new H("Dependent control in combination with includes operator must be a choice attribute")}handleOperator(t){switch(this.operator){case ri:return this.processEqualsOptions(t);case ii:return this.processIncludesOptions(t);case ni:return!this.processEqualsOptions(t);case si:return!this.processIncludesOptions(t);case oi:return t?.selected.length!==0;case ai:return t?.selected.length===0;default:throw new H(`Unsupported operator for dependent question: ${this.operator}`)}}getControlAttribute(t){let e=t.getAttributeByLayoutHint(`${Lt}:${this.control}`,`${Lt}: ${this.control}`);return typeof e<"u"&&e!=null&&"selected"in e&&Array.isArray(e.selected)?e:null}process(t,e){let r=this.getControlAttribute(e);if(!r)return;if(r.processLayoutHintRules(e),r.isHidden){t.hide();return}let i=this.handleOperator(r);if(this.action===li)t.isHidden=!i;else if(this.action===ui)t.isHidden=i;else throw new H(`Unsupported action ${this.action} for dependent question on attribute: ${t.label}`)}};var De=class{_filetypeConstraints;constructor(t){this._filetypeConstraints=t}get id(){return"Constraint.File.InvalidExtension"}get extensions(){return this._filetypeConstraints.map(t=>t.extensions.join(", ")).join(", ")}hasValidation(){return!1}get defaultMessage(){return"Allowed extensions are: ${extensions}"}get parameters(){return{extensions:this.extensions}}validate(){return!0}get isMandatoryConstraint(){return!1}};import ci from"file-size";var xr="Constraint.File.MaxTotalFileSize",Ir="Constraint.File.MaxFileSize",Ee=class{_filesizeConstraint;constructor(t){this._filesizeConstraint=t}get id(){return this.filesizeConstraint.isMaxTotal?xr:this.filesizeConstraint.fileSize!==void 0?Ir:""}get filesizeConstraint(){return this._filesizeConstraint}hasValidation(){return!1}get defaultMessage(){return this.id===xr?"{filesize-left} van {max-total-filesize} over van totaal toegestaan upload bestandsgrootte":this.id===Ir?"Maximale bestandsgroote is ${max-filesize}":""}get filesize(){return ci(this.filesizeConstraint.fileSize??0).human("jedec")}get maxTotalFileSize(){if(this.filesizeConstraint.maxTotalFileSize)return ci(this.filesizeConstraint.maxTotalFileSize).human("jedec")}get parameters(){return this.id===xr?{"filesize-left":this.filesize,"max-total-filesize":this.maxTotalFileSize}:this.id===Ir?{"max-filesize":this.filesize}:{}}validate(){return!0}get isMandatoryConstraint(){return!1}};var Ui="UNCHANGED",Dt=class s extends d{_files;_initialTotalFileSize=0;_maxTotalFileSize;static isApplicableModel(t){return t.type==="binary"}get type(){return"upload"}get multiple(){return this.getContributionAsBoolean("multiple",!1)}get initialTotalFileSize(){return this._initialTotalFileSize??0}set initialTotalFileSize(t){this._initialTotalFileSize=t}get maxTotalFileSize(){return this._maxTotalFileSize}set maxTotalFileSize(t){this._maxTotalFileSize=t}get currentFilesize(){return this.initialTotalFileSize+this.uploadedFileSize}get maxFileSize(){if(this.maxTotalFileSize){let t=this.maxTotalFileSize-this.currentFilesize;return t<0?0:t}return this.getContributionAsNumber("uploadMaxFileSize")}get uploadedFileSize(){if(Object.keys(this.files).length===0)return 0;let t=0;return Object.keys(this.files).forEach(e=>{let r=this.files[e];r.size&&(t+=r.size)}),t}get uploadConstraints(){let t=this.getContributionAsArray("allowedMimeTypes",[]).filter(i=>i!=="[...]");return{fileTypes:this.getContributionAsArray("allowedExtensions",[]).filter(i=>i!=="[...]").map(i=>({extensions:[i],mimeTypes:t})),maxFileSize:{fileSize:this.maxFileSize,maxTotalFileSize:this.maxTotalFileSize,isMaxTotal:this.maxTotalFileSize!==void 0},acceptedFiles:this.acceptedFiles}}get acceptedFiles(){let t=this.getContributionAsArray("allowedMimeTypes",[]).filter(r=>r!=="[...]");return[...this.getContributionAsArray("allowedExtensions",[]).filter(r=>r!=="[...]"),...t]}addConstraints(){let t=new m;return this.uploadConstraints.fileTypes.length>0&&t.add(new De(this.uploadConstraints.fileTypes)),(this.uploadConstraints.maxFileSize.isMaxTotal||this.uploadConstraints.maxFileSize.fileSize!==void 0)&&t.add(new Ee(this.uploadConstraints.maxFileSize)),t}get files(){return this._files??{}}set files(t){this._files=t}getFilesTypeFromValue(t){if(typeof t=="object")return t;if(typeof t=="string")try{return JSON.parse(t)}catch{console.warn(`Can't parse upload value: ${t}`)}return null}update(t){if(!t)return this;let e=this.getFilesTypeFromValue(t);return e==null?this.inputvalue=t:(this.files=e,this.inputvalue=Object.keys(e).map(r=>e[r].token).join(",")),this.updateLastModification(),this}updateByAttribute(t){}get readonlyvalue(){return this.initvalue?this.initvalue.toString():""}getValue(){return this.hasValue()?this.initvalue===this.inputvalue?Ui:super.getValue():null}mergeAttribute(t){t instanceof s&&t.isValid&&t.inputvalue!==null&&this.update(JSON.stringify(t.files))}reset(){this._files={}}};var Se=class s extends vt{static isApplicableForAttribute(t){return t.type==="upload"}static initAttribute(){return new s}processUploadInformation(t,e){let r=e.getAttributesByLayoutHint($t),i=e.getAttributesByLayoutHint(qt);if(r.length>0&&i.length>0){let n=r[0].value,o=i[0].value;t.initialTotalFileSize=Number(n),t.maxTotalFileSize=Number(o)}}process(t,e){t instanceof Dt&&this.processUploadInformation(t,e)}};var Nt=[ve,Se],Tl=s=>{Nt.push(s)},kl=s=>{let t=s(Nt);if(Array.isArray(t))Nt=t;else throw new Hr("Result of updater of updateLayoutHintRules is not an array")},Oe=class s extends p{get allRules(){return Nt}static setLayoutHintRules(t){let e=new s;return Nt.forEach(r=>{r.isApplicableForAttribute(t)&&(r.checkHintApplicability?t.layouthint.forEach(i=>{r.isApplicableForHint(i)&&e.add(r.initHint(i))}):e.add(r.initAttribute(t)))}),t.layoutHintRules=e,t}process(t,e){this.all.forEach(r=>{r.process(t,e)})}};var Te=class{get id(){return"Constraint.BSN.InvalidFormat"}hasValidation(){return!0}get defaultMessage(){return"Must be a valid BSN"}get parameters(){return{}}isValidBSN(t){if(t.replace(/[^\d]/gu,"").length!==t.length)return!1;let e=t.replace(/\D/gu,""),r=e.length;if(r<8||r>9||Number.isNaN(e))return!1;let o=0,a=0;for(let l=r;l>0;l--){let c=parseInt(e.charAt(o),10);a+=l===1?c*-1:c*l,o+=1}return a%11===0}validate(t){return this.isValidBSN(t)}get isMandatoryConstraint(){return!1}};import Pi from"iban";var ke=class{get id(){return"Constraint.IBAN.InvalidFormat"}hasValidation(){return!0}get defaultMessage(){return"Must be a valid IBAN number"}get parameters(){return{}}validate(t){return Pi.isValid(t)}get isMandatoryConstraint(){return!1}};var ot=class{_regexConstraint;constructor(t){this._regexConstraint=t}get id(){return this.regexConstraint.messageKey}get regexConstraint(){return this._regexConstraint}hasValidation(){return!0}get defaultMessage(){return this.regexConstraint.defaultMessage||this.regexConstraint.messageKey}get parameters(){return{regex:this.regexConstraint.regex}}validate(t){return this.regexConstraint.regex instanceof RegExp?this.regexConstraint.regex.test(t):new RegExp(this.regexConstraint.regex).test(t)}get isMandatoryConstraint(){return!1}};var z=class s extends d{get type(){return"string"}static isApplicableModel(t){return"type"in t&&t.type==="string"?!0:"layouthint"in t&&Array.isArray(t.layouthint)?t.layouthint.includes("string"):!1}getInitialInputValue(t){return this.formatValue(t)}get regexp(){return this.getContributionAsString("regexp")}get regexpvalidationmessage(){return this.getContributionAsString("regexpValidationMessage")}get postfix(){return this.getContributionAsString("postfix","")}get prefix(){return this.getContributionAsString("prefix","")}isBSN(){return this.layouthint.has("bsn")}isIBAN(){return this.layouthint.has("iban")}isZipcode(){return this.layouthint.has("zipcode")}isEmail(){return this.layouthint.has("email")}addConstraints(){let t=new m;return this.isBSN()?t.add(new Te):this.isIBAN()&&t.add(new ke),this.isZipcode()?t.add(new ot({messageKey:"Constraint.ZipCode.InvalidFormat",defaultMessage:"Must be a valid Dutch ZIP code, e.g. 1234 AB",regex:new RegExp("^[1-9][0-9]{3} ?[a-zA-Z]{2}$","gi")})):this.isEmail()&&this.regexp?t.add(new ot({messageKey:"Constraint.Email.InvalidFormat",defaultMessage:"Must be a valid e-mail address",regex:new RegExp(this.regexp,"gi")})):this.regexp&&t.add(new ot({messageKey:"Constraint.String.InvalidRegex",defaultMessage:this.regexpvalidationmessage,regex:this.regexp})),t}reset(){this.inputvalue=""}formatIBAN(t){let r=this.removeFormat(t).replace(/\s/g,"").match(/.{1,4}/g);return r==null?"":r.join(" ")}formatZipcode(t){let e=this.removeFormat(t);return e.length===6?e.substring(0,4)+" "+e.substring(4).toUpperCase():e}formatBSN(t){return this.removeFormat(t)}formatValue(t){return t==null||t.toString()===""?"":typeof t=="string"?this.isIBAN()?this.formatIBAN(t):this.isZipcode()?this.formatZipcode(t):this.isBSN()?this.formatBSN(t):t.replace(/ {2}/gi," \xA0"):JSON.stringify(t)}removeFormat(t){return t==null||t.toString()===""?"":typeof t=="string"?this.isIBAN()||this.isZipcode()||this.isBSN()?t.replace(/[^a-z0-9,]/gi,""):t:JSON.stringify(t)}get validateValue(){return this.removeFormat(this.inputvalue)}get inputvalue(){return this.getInputValue()}set inputvalue(t){this.setInputvalue(t),t==null?this.value=t:this.value=this.removeFormat(t),this.validate(this.validateValue)}get readonlyvalue(){return typeof this.value=="string"?this.formatValue(this.value).replace(/ {2}/gi," \xA0"):this.value==null?"":JSON.stringify(this.value)}update(t){return this.inputvalue===t?this:(this.updateLastModification(),this.inputvalue=t,this)}updateByAttribute(t){this.reset(),t instanceof s?this.update(t.value):console.error(`update of string attribute with ${t.type} not supported`)}get readonlyWidth(){return this.isZipcode()||this.isBSN()?"SMALL":this.isIBAN()?"LARGE":"MEDIUM"}};var xe=class extends z{static isApplicableModel(t){return"type"in t&&typeof t.type=="string"&&t.type==="memo"?!0:"rows"in t&&typeof t.rows=="number"?t.rows>1:!1}get type(){return"memo"}get rows(){return this.getContributionAsNumber("rows",10)}get formatted(){return this.getContributionAsBoolean("formatted",!1)}get readonlyWidth(){return"LARGE"}};var di=I(Zr(),1);var Rr="Constraint.Number.InexactNumber",Lr="Constraint.Number.OutOfRange",Fr="Constraint.Number.BelowMinimum",wr="Constraint.Number.AboveMaximum",Ie=class{_minNumber;_maxNumber;_groupingSeparator=",";_decimalSeparator=".";_format="";constructor(t=null,e=null,r=",",i=".",n){this._format=n??"",this._groupingSeparator=r,this._decimalSeparator=i,this._minNumber=t,this._maxNumber=e}get id(){return this.minNumber!==null&&this.maxNumber!==null&&this.minNumber===this.maxNumber?Rr:this.minNumber!==null&&this.maxNumber!==null?Lr:this.minNumber!==null?Fr:this.maxNumber!==null?wr:"Constraint.Number.NoBoundaryConstraint"}get minNumber(){return this._minNumber}get maxNumber(){return this._maxNumber}get format(){return this._format}get groupingSeparator(){return this._groupingSeparator}get decimalSeparator(){return this._decimalSeparator}hasValidation(){return!0}get defaultMessage(){switch(this.id){case Rr:return"Number must be precisely ${min-number}";case Lr:return"Must be between ${min-number} and ${max-number}";case Fr:return"The number must be larger than ${min-number}";case wr:return"The number must be smaller than ${max-number}";default:return""}}get parameters(){return{"min-number":this.minNumber===null?null:S.formatNumber(this.minNumber,this.format,this.groupingSeparator,this.decimalSeparator),"max-number":this.maxNumber===null?null:S.formatNumber(this.maxNumber,this.format,this.groupingSeparator,this.decimalSeparator)}}isExactNumber(t){return S.parseToNumber(t,this.groupingSeparator,this.decimalSeparator)===this.minNumber}isSameOrAboveMinNumber(t){let e=S.parseToNumber(t,this.groupingSeparator,this.decimalSeparator);return isNaN(e)||e==null?!1:this.minNumber!=null&&e>=this.minNumber}isSameOrBelowMaxNumber(t){let e=S.parseToNumber(t,this.groupingSeparator,this.decimalSeparator);return isNaN(e)||e==null?!1:this.maxNumber!=null&&e<=this.maxNumber}isBetweenNumbers(t){return this.isSameOrAboveMinNumber(t)&&this.isSameOrBelowMaxNumber(t)}validate(t){switch(this.id){case Rr:return this.isExactNumber(t);case Lr:return this.isBetweenNumbers(t);case Fr:return this.isSameOrAboveMinNumber(t);case wr:return this.isSameOrBelowMaxNumber(t);default:return!0}}get isMandatoryConstraint(){return!1}};var Nr="Constraint.Number.InvalidInteger",Re=class{_decimalSeparator=",";_groupingSeparator=".";_format="0";constructor(t=",",e=".",r="0"){this._decimalSeparator=e,this._groupingSeparator=t,this._format=r??"0"}get id(){return this.maxDigits===0?Nr:"Constraint.Number.InvalidDecimal"}get decimalSeparator(){return this._decimalSeparator}get groupingSeparator(){return this._groupingSeparator}get format(){return this._format}get maxDigits(){return this.format?new te(this.format).maxFrac:0}hasValidation(){return!0}get defaultMessage(){return this.id===Nr?"Must be a whole number":"The value is not correct numeric format"}get parameters(){return{"max-digits":this.maxDigits}}isInteger(t){return Number.isInteger(t)}getNumberOfDigits(t){return Math.floor(t)===t?0:S.parseNumberToString(t).split(".")[1].length}isValidDecimal(t){if(isNaN(t))return!1;let e=this.getNumberOfDigits(t);return!isNaN(parseFloat(String(t)))&&isFinite(t)&&e<=this.maxDigits}validate(t){if(this.maxDigits===0&&this.decimalSeparator!==""&&t.toString().includes(this.decimalSeparator))return!1;let e=S.parseToNumber(t,this.groupingSeparator,this.decimalSeparator);return this.id===Nr?this.isInteger(e):this.isValidDecimal(e)}get isMandatoryConstraint(){return!1}};var Hi=3,Le=class{_decimalSeparator;_groupingSeparator;_format;constructor(t=",",e=".",r="0"){this._decimalSeparator=e,this._groupingSeparator=t,this._format=r??"0"}get id(){return"Constraint.Number.GroupingSeparator"}get decimalSeparator(){return this._decimalSeparator}get groupingSeparator(){return this._groupingSeparator}get format(){return this._format}get groupSize(){if(this.format){let t=new te(this.format).comma;if(t>0)return t}return Hi}hasValidation(){return!0}get defaultMessage(){return"Group divider '${group-divider}' must be correctly placed"}get parameters(){return{"group-divider":this.groupingSeparator}}hasCorrectGrouping(t){let e=t.replace("-","").replace("+","");if(!e.includes(this.groupingSeparator))return!0;let r=e;if(this.decimalSeparator!==""&&e.includes(this.decimalSeparator)){if(e.indexOf(this.decimalSeparator)<e.indexOf(this.groupingSeparator))return!1;r=e.substring(0,e.indexOf(this.decimalSeparator))}let i=r.split(this.groupingSeparator);return i[0].length<this.groupSize&&(i=i.slice(1)),i.every(n=>n.length===this.groupSize)}validate(t){return this.groupingSeparator===""||typeof t!="string"||!t.includes(this.groupingSeparator)||this.hasCorrectGrouping(t)}get isMandatoryConstraint(){return!1}};var Et=class s extends d{static isApplicableModel(t){return"type"in t&&typeof t.type=="string"?t.type==="number"||t.type==="integer":!1}get type(){return"number"}getInitialInputValue(t){return t==null?"":this.formatValue(t)}get groupingSeparator(){return this.getContributionAsString("groupingSeparator","")}get decimalSeparator(){return this.getContributionAsString("decimalSeparator","")}get minNumber(){return this.getContributionAsNumber("minimum")}get maxNumber(){return this.getContributionAsNumber("maximum")}get maxDigits(){let t=this.format;return t!=null&&t.includes(".")?t.split(".")[1].length:0}get unit(){return this.getContributionAsString("unit","")}addConstraints(){let t=new m;return t.add(new Re(this.groupingSeparator,this.decimalSeparator,this.format)),t.add(new Le(this.groupingSeparator,this.decimalSeparator,this.format??void 0)),t.add(new Ie(this.minNumber,this.maxNumber,this.groupingSeparator,this.decimalSeparator,this.format??void 0)),t}reset(){this.inputvalue=""}get format(){return this.getContributionAsString("format","0")}formatValue(t){return typeof t=="string"||typeof t=="number"?S.formatNumber(t,this.format,this.groupingSeparator,this.decimalSeparator):""}get readonlyvalue(){return(0,di.default)(this.value)?JSON.stringify(this.value):this.formatValue(this.value)}get inputvalue(){return this.getInputValue()}set inputvalue(t){this.setInputvalue(t),this.validate(t);let e=S.parseToNumber(t,this.groupingSeparator,this.decimalSeparator);this.value=isNaN(e)?null:S.parseNumberToString(e)}getValue(){let t=super.getValue();return t==null||t===""?null:Number(t)}update(t){return t===this.inputvalue?this:(this.updateLastModification(),this.inputvalue=t,this)}updateByAttribute(t){this.reset(),t instanceof s?this.update(t.value):console.error(`update of number attribute with ${t.type} not supported`)}get isHidden(){return super.isHidden||this.layouthint.has($t,qt,ft)}set isHidden(t){super.isHidden=t}get readonlyWidth(){return"SMALL"}};var Fe=class extends Et{static isApplicableModel(t){return"type"in t&&typeof t.type=="string"&&t.type==="money"?!0:"layouthint"in t&&Array.isArray(t.layouthint)?t.layouthint.includes("money"):!1}get type(){return"money"}get currencySymbol(){return this.getContributionAsString("currencySymbol","")}get prefix(){return this.currencySymbol}get readonlyWidth(){return"SMALL"}};var Bt=class{_otherPasswordLabel;_otherPasswordValue;constructor(t,e){this._otherPasswordLabel=e,this._otherPasswordValue=t}get id(){return"Constraint.Password.ConfirmMismatch"}get otherPasswordLabel(){return this._otherPasswordLabel}get otherPasswordValue(){return this._otherPasswordValue}hasValidation(){return!0}get defaultMessage(){return"Must match ${other} field"}get parameters(){return{other:this.otherPasswordLabel}}validate(t){return t===this.otherPasswordValue}get isMandatoryConstraint(){return!1}};var we=class{get id(){return"Constraint.Password.LowerAndUpperCaseMandatory"}hasValidation(){return!0}get defaultMessage(){return"Must contain both upper and lowercase characters"}get parameters(){return{}}validate(t){return/[a-z]/u.test(t)&&/[A-Z]/u.test(t)}get isMandatoryConstraint(){return!1}};var Ne=class{_minNumeric;constructor(t){this._minNumeric=t}get id(){return"Constraint.Password.MinNumericCharactersMandatory"}get minNumeric(){return this._minNumeric}hasValidation(){return!0}get defaultMessage(){return"Must contain ${min-numeric} or more numerical characters"}get parameters(){return{"min-numeric":this.minNumeric}}validate(t){return t.replace(/\D/gu,"").length>=this.minNumeric}get isMandatoryConstraint(){return!1}};var Be=class{_minSpecial;constructor(t){this._minSpecial=t}get id(){return"Constraint.Password.MinSpecialCharactersMandatory"}get minSpecial(){return this._minSpecial}hasValidation(){return!0}get defaultMessage(){return"Must contain ${min-special} or more special characters"}get parameters(){return{"min-special":this.minSpecial}}validate(t){return t.replace(/[\da-z]/giu,"").length>=this.minSpecial}get isMandatoryConstraint(){return!1}};var je=class{_maxSequence;constructor(t=2){this._maxSequence=t}get id(){return"Constraint.Password.ThreeConsecutiveCharactersNotAllowed"}get maxSequence(){return this._maxSequence}hasValidation(){return!0}get defaultMessage(){return"Must not contain any character more than twice consecutively"}get parameters(){return{"max-sequence":this.maxSequence}}hasNoSequenceOfIdenticalCharacters(t){return!t.split("").filter((e,r)=>t.indexOf(e)===r).some(e=>{let r=e.repeat(this.maxSequence+1);return t.includes(r)})}validate(t){return this.hasNoSequenceOfIdenticalCharacters(t)}get isMandatoryConstraint(){return!1}};var Ve=class extends z{_confirmValue;_isConfirmPassword=!1;_otherLabel="";static isApplicableModel(t){return t.type==="password"?!0:"layouthint"in t&&Array.isArray(t.layouthint)?t.layouthint.includes("password"):!1}get type(){return"password"}update(t){return this.updateLastModification(),this.inputvalue=t,this}get constraints(){return this.getContributionAsObject("constraints",{})}get upperAndLowerCaseMandatory(){return this.constraints.upperAndLowerCaseMandatory}get maxSequenceOfIdenticalCharacters(){return this.constraints.maxSequenceOfIdenticalCharacters}get maxSequenceOfUsernameCharacters(){return this.constraints.maxSequenceOfUsernameCharacters}get minNumberOfNumericCharacters(){return this.constraints.minNumberOfNumericCharacters}get minNumberOfSpecialCharacters(){return this.constraints.minNumberOfSpecialCharacters}get regexConstraint(){return this.constraints.regexConstraint}addConstraints(){return this.isConfirmPassword?this.getConfirmPasswordConstraints():this.getStandardPasswordConstraints()}getConfirmPasswordConstraints(){let t=new m;return t.add(new Bt(this.confirmValue,this.otherLabel)),t}getStandardPasswordConstraints(){let t=new m;return this.upperAndLowerCaseMandatory&&t.add(new we),this.maxSequenceOfIdenticalCharacters&&t.add(new je(this.maxSequenceOfIdenticalCharacters)),this.minNumberOfNumericCharacters&&t.add(new Ne(this.minNumberOfNumericCharacters)),this.minNumberOfSpecialCharacters&&t.add(new Be(this.minNumberOfSpecialCharacters)),this.regexConstraint&&this.regexConstraint.length>0&&this.regexConstraint.forEach(e=>{t.add(new ot(e))}),this.layouthint.has(Wr)&&this.isConfirmPassword==null&&t.add(new Bt(this.confirmValue,this.otherLabel)),t}get constraintCollection(){return this.isConfirmPassword?this.getConfirmPasswordConstraints():super.constraintCollection}get isConfirmPassword(){return this._isConfirmPassword}set isConfirmPassword(t){this._isConfirmPassword=t}get confirmValue(){return this._confirmValue??""}set confirmValue(t){this._confirmValue=t,this.validate(this.inputvalue)}get otherLabel(){return this._otherLabel}set otherLabel(t){this._otherLabel=t}validate(t){return this.useClientsideValidation()?(this.isOptionalAndEmpty(t)?this.setIsValid(!0):this.getPreviouslyValidatedValue()!==`${this.confirmValue}-${t}`&&this.setIsValid(this.constraintCollection.validate(t)),this.setPreviouslyValidatedValue(`${this.confirmValue}-${t}`),this.getIsValid()):!0}getFormData(){return this.isConfirmPassword||this.inError()?null:{[this.name]:this.value}}};var Ue=class{_type;_start;_end;constructor(t,e,r){this._type=t,this._start=e,this._end=r}get type(){return this._type}get id(){switch(this.type){case"date":return"Constraint.DateRange.Mandatory";case"time":return"Constraint.TimeRange.Mandatory";case"datetime":return"Constraint.DateTimeRange.Mandatory";case"timestamp":return"Constraint.TimeStampRange.Mandatory";default:return"Constraint.Range.Mandatory"}}hasValidation(){return!0}get defaultMessage(){return"Field is mandatory: must contain at least a start or end value"}get parameters(){return{}}validate(){return this._start.hasErrors()||(this._end?.hasErrors()??!1)?!0:this._start.hasValue()||(this._end?.hasValue()??!1)}get isMandatoryConstraint(){return!0}};var Pe=class{_start;_end;constructor(t,e){this._start=t,this._end=e}get id(){let t=this.hasInclusiveBounds?"InvalidRangeInclusive":"InvalidRange";switch(this.rangeType){case"time":return`Constraint.TimeRange.${t}`;case"date":return`Constraint.DateRange.${t}`;case"datetime":return`Constraint.DateTimeRange.${t}`;case"timestamp":return`Constraint.TimeStampRange.${t}`;default:return`Constraint.NumberRange.${t}`}}get defaultMessage(){let t=this.hasInclusiveBounds?" or equal to the":"";switch(this.rangeType){case"time":return`Start time must be before${t} end time`;case"date":return`Start date must be before${t} end date`;case"datetime":return`Start value must be before${t} end value`;case"timestamp":return`Start value must be before${t} end value`;default:return`Start value must be less than${t} the end value`}}hasValidation(){return!0}get parameters(){return{}}get start(){return this._start}get end(){return this._end}get rangeType(){return this.start.type}get hasInclusiveBounds(){return this.start.operator==="greaterThanOrEqualTo"&&this.end.operator==="lessThanOrEqualTo"}getDateTimeUtil(){switch(this.rangeType){case"time":return nt;case"date":return E;case"timestamp":return X;default:return q}}doValidate(t,e){return typeof t=="number"&&typeof e=="number"?this.hasInclusiveBounds?S.isSameOrBefore(t,e):S.isBefore(t,e):typeof t=="string"&&typeof e=="string"?this.hasInclusiveBounds?this.getDateTimeUtil().isSameOrBefore(t,e):this.getDateTimeUtil().isBefore(t,e):!1}validate(){return this.start.inError()||this.end.inError()?!0:this.doValidate(this.start.value,this.end.value)}get isMandatoryConstraint(){return!1}};var at=class s extends d{_startAttribute;_endAttribute;constructor(t,e,r){if(super(t,e,r),!Array.isArray(e?.children))throw new Error(`Problem reading contributions of range attribute: ${this.key}, the children property must be an array.`);this._startAttribute=this.createChild(0),this._endAttribute=this.createChild(1),this.setChildrenOptionality()}get start(){return this._startAttribute}get end(){return this._endAttribute}get type(){return"range"}static isApplicableModel(t){return t.type.includes("range")}getInitialChildModelLinks(){return[...this.start.getInitialChildModelLinks(),...this.end.getInitialChildModelLinks()]}setChildModels(t,e){this.start.setChildModels(t,e),this.end.setChildModels(t,e)}getInputValue(){return[this.start.getInputValue(),this.end.getInputValue()].join(",")}hasValue(){return this.start.hasValue()||this.end.hasValue()}get constraintCollection(){let t=new m;return t.add(this.getServerConstraints()),t.add(this.addConstraints()),t}setUseClientsideValidation(t){super.setUseClientsideValidation(t),this.start.setUseClientsideValidation(t),this.end.setUseClientsideValidation(t)}validate(t){return this.useClientsideValidation()?(this._isValid=this.start.isValid&&this.end.isValid,this._isValid&&(this._isValid=this.constraintCollection.validate(t)),this._isValid):!0}addConstraints(){let t=new m;return this.start.hasValue()&&this.end.hasValue()&&t.add(new Pe(this.start,this.end)),this.mandatory&&!this.start.mandatory&&!this.end.mandatory&&t.add(new Ue(this.start.type,this.start,this.end)),t}get isValid(){return this.validate("")}hasServerErrors(){return this.errorCollection.serverErrors.length>0||this.start.hasServerErrors()||this.end.hasServerErrors()}hasErrors(){return this.errorCollection.hasItems()||this.start.hasErrors()||this.end.hasErrors()}reset(){this.start.reset(),this.end.reset()}mergeAttribute(t){this.concept=t.concept,t instanceof s&&(this.start.mergeAttribute(t.start),this.end.mergeAttribute(t.end))}update(t,e){if(!e)throw new f("Range attribute needs changed attribute on update call");return this.updateLastModification(),this.start.equals(e)&&this.start.update(t),this.end.equals(e)&&this.end.update(t),this.setChildrenOptionality(),this.validate(t),this}updateByAttribute(t){t instanceof s?(this.start.updateByAttribute(t.start),this.end.updateByAttribute(t.end)):console.error(`update of range attribute with ${t.type} not supported`)}get readonly(){return super.readonly??(this.start.readonly&&this.end.readonly)}set readonly(t){super.readonly=t}get readonlyvalue(){let t=[];return this.start.value!==null&&t.push(this.start.value),this.end.value!==null&&t.push(this.end.value),t.join(", ")}get initvalue(){return{[this.start.key]:this.start.initvalue,[this.end.key]:this.end.initvalue}}getFormData(){return{[this.name]:this.value}}getValue(){return{...this.start.formdata,...this.end.formdata}}get isResult(){return this._isResult}set isResult(t){this._isResult=t,this.start.isResult=t,this.end.isResult=t}indicateContentConfiguration(t){t&&(this.start.indicateContentConfiguration(t),this.end.indicateContentConfiguration(t))}equals(t){return this.key===t.key&&this.parentKey===t.parentKey||this.start.equals(t)||this.end.equals(t)}get readonlyWidth(){switch(this.start.type){case"datetime":return"LARGE";case"timestamp":return"EXTRA_LARGE";default:return"MEDIUM"}}createChild(t){let e=this.data.children?.[t];Array.isArray(e)&&(e=void 0);let r=this.contributions.children[t],[i]=Object.keys(r),n=r[i],o=k.createAttribute(i,e??{},n,this.modelOptions);return o&&e&&"key"in e&&(o.parentKey=e.key),o}setChildrenOptionality(){let t=!this.mandatory&&this.start.value===null&&this.end.value===null;this.start&&(this.start.mandatory=t||this.start.configuredMandatory?!1:this.start.configuredMandatory),this.end&&(this.end.mandatory=t||this.end.configuredMandatory?!1:this.end.configuredMandatory)}};var He=class{get id(){return"Constraint.XML.InvalidFormat"}hasValidation(){return!0}get defaultMessage(){return"Must be well-formed XML"}get parameters(){return{}}isValidXML(t){let e=new DOMParser;try{if(e.parseFromString(t,"text/xml").querySelectorAll("parsererror").length>0)return!1}catch{return!1}return!0}validate(t){return this.isValidXML(t)}get isMandatoryConstraint(){return!1}};var Ge=class extends z{static isApplicableModel(t){return"type"in t&&typeof t.type=="string"&&t.type==="xml"?!0:"layouthint"in t&&Array.isArray(t.layouthint)?t.layouthint.includes("xml"):!1}get type(){return"xml"}get rows(){return 10}addConstraints(){let t=new m;return t.add(new He),t}get readonlyWidth(){return"EXTRA_LARGE"}};var k=class{static get ATTRIBUTE_MODELS(){return[Y,me,Me,_e,Ge,xe,z,Ae,Fe,Et,Ve,Dt,_,at,fe]}static createAttribute(t,e,r,i){let n=this.getAttributeModel(r);if(!n)throw new Error("Could not find model for contributions: "+r);let o=r.children,a=new We(t,e,Array.isArray(o)?We.getChildrenKeys(o):[]).getData(),l=new n(a,r,i);return Oe.setLayoutHintRules(l),l}static getAttributeModel(t){return this.ATTRIBUTE_MODELS.find(e=>e.isApplicableModel(t))}},We=class s{_key;_data;_value;_links;_children;constructor(t,e,r){this._key=t,this._data=this.getAttributeData(t,e),this._value=this.getValue(),this._links=this.getLinks(),this._children=this.createChildren(e,r)}get key(){return this._key}get data(){return this._data}get value(){return this._value}get links(){return this._links}get children(){return this._children}getAttributeData(t,e){return Array.isArray(e)?e.find(r=>"elementid"in r&&r.elementid===t||"name"in r&&r.name===t||"param"in r&&r.param===t)||{}:e}getValue(){let t;return this.key in this.data?t=this.data[this.key]:"values"in this.data?t=this.data.values:"value"in this.data?t=this.data.value:"suggestions"in this.data?t=this.data.suggestions:"suggestion"in this.data?t=this.data.suggestion:"options"in this.data&&Array.isArray(this.data.options)&&(t=this.data.options.filter(e=>e.selected).map(e=>e.code||e.key)),t}getDynamicschemaFromData(){if("dynamicschema"in this.data){let{dynamicschema:t}=this.data;return Array.isArray(t),t}return null}getDynamicSchema(){let t=this.getDynamicschemaFromData();if(!t)return;if(Array.isArray(t))return t;let e=this.getDynamicSchemaId();if(typeof e=="string"&&e in t&&Array.isArray(t[e]))return t[e].map(r=>"elements"in r?{...r,elements:{...r.elements,dynamicschema:t}}:r)}getDynamicSchemaId(){return typeof this.data.dynamicschemaId=="string"||typeof this.data.dynamicschemaId=="number"?this.data.dynamicschemaId:this.key}getStatic(){return typeof this.data.static=="boolean"?this.data.static:!1}getLinks(){return(0,Br.pick)(this.data._links,["concept","download","lookupOptions","lookupList"])}getOptions(){return this.data.options}getMessage(){return this.data.message}isResult(){return typeof this.data.isResult=="boolean"?this.data.isResult:!1}getReferenceDate(){if(typeof this.data.referenceDate=="string")return this.data.referenceDate}getContent(){if("content"in this.data){let t=(0,Br.pick)(this.data.content,["header","label","elements","layouthint","text"]);if(Object.keys(t).length>0)return t}return null}getData(){return{key:this.key,value:this.value,static:this.getStatic(),_links:this.links,dynamicschema:this.getDynamicSchema(),dynamicschemaId:this.getDynamicSchemaId(),options:this.getOptions(),message:this.getMessage(),isResult:this.isResult(),referenceDate:this.getReferenceDate(),content:this.getContent(),children:this.children}}static getChildrenKeys(t){return t.map(e=>{let[r]=Object.keys(e),i=e[r].type==="range"||e[r].type==="composite",n=e[r].dynamicschemaId,o=i?e[r]?.children:[];return{key:r,dynamicschemaId:n,children:this.getChildrenKeys(o)}})}createChildren(t,e){if(this.value===null)return e.map(n=>this.createChild(t,{[n.key]:null},n));let i=this.value;return Array.isArray(i)?i.map(n=>e.map(o=>{let a=this.childData(n,this.key,o.key);return this.createChild(t,a,o)})):e.map(n=>{let o=this.childData(t,this.key,n.key);return this.createChild(t,o,n)})}getDataContent(t,e){if(t&&e in t)return t[e]}childData(t,e,r){if(Array.isArray(t)){if(Array.isArray(this.data.elements))return this.data.elements.find(i=>i.elementid===r)}else if(e in t&&(0,Ke.default)(t[e])){let i=t[e],n=this.getDataContent(t.content,r);return{...i,content:n}}else if(r in t&&(0,Ke.default)(t[r]))return t[r];return(0,Ke.default)(t)?t:{}}createChild(t,e,r){let i="dynamicschema"in t?t.dynamicschema:void 0,n=null;return r.dynamicschemaId?n=r.dynamicschemaId:r.key&&typeof t=="object"&&"key"in t&&typeof t.key=="string"&&(n=`${t.key}.${r.key}`),new s(r.key,{...e,dynamicschema:i,dynamicschemaId:n},r.children).getData()}};var _t=class{[Gi]=!0;_key;_header;_sortOption;_readonlyWidth;constructor(t,e){let[r]=Object.keys(t),i=k.createAttribute(r,{elementid:r},t[r]);this._readonlyWidth=i.readonlyWidth,this._key=r,this._header=t[r],this._sortOption=e?.find(n=>n.key===r)}get key(){return this._key}get label(){return this._header.label}get type(){return this._header.type}get layouthint(){return new C(this._header.layouthint)}get alignment(){let t=this.layouthint.getByLayoutHint("align-");return t===null?"left":t.substring(6)}get readonlyWidth(){return this._readonlyWidth??"MEDIUM"}equals(t){return t.key===this.key}get sortOption(){return this._sortOption}hasSorting(){return this.sortOption!=null}};var hi=I(vr(),1);var ze=class s extends h{_fieldCollection;_selfhref;_icon;constructor(t,e,r){super(t,e,r),this._fieldCollection=this.createFieldCollection(r)}static create(t,e,r,i="form",n,o){let a={name:t,href:e},l={name:t,label:r??t,type:i};return new s(a,l,{origin:n,contextPath:o})}createFieldCollection(t){let e={},r=[];return"fields"in this.data&&typeof this.data.fields=="object"&&this.data.fields!=null&&(e=this.data.fields),"fields"in this.contributions&&Array.isArray(this.contributions.fields)&&(r=this.contributions.fields),new D(e,r,{...t,isReadonly:!0})}get isDisabled(){return!this.data.href}get selfhref(){return this._selfhref??new b(`${this.data.href}?${this.querystring}`,"Form",this.modelOptions)}set selfhref(t){this._selfhref=t}get method(){let t=this.getDataAsString("method","POST");return Mr[t]}get type(){return this.layouthint.has(zt)?"create":this.layouthint.has(Wt)?"update":this.layouthint.has(Kt)?"delete":this.getContributionAsString("type","general")}get name(){return this.getDataAsString("name","unknown")}get fields(){return this._fieldCollection.all}get fieldCollection(){return this._fieldCollection}set fieldCollection(t){this._fieldCollection=t}get querystring(){return this.fields.filter(t=>t.value!=null&&t.value!=="").map(t=>{let{value:e}=t;return e!==null?`${t.name}=${e}`:t.name}).join("&")}getFieldByKey(t){return this._fieldCollection.getAttributeByKey(t)}hasFieldByKey(t){return this.getFieldByKey(t)!=null}get key(){return this.getDataAsString("name")}get label(){return this.getContributionAsString("label",this.key)}get isProcessTask(){return(0,hi.default)(this.contributions,"processTask")}get processStatus(){if(this.isProcessTask){let t=this.data.processStatus||{},e=this.contributions.processTask||{};return new bt(t,e,this.modelOptions)}}get icon(){return this._icon}set icon(t){this._icon=t}};var w=class s extends p{constructor(t,e,r){super(),this.collection=this.createCollection(t,e,r)}createCollection(t,e,r){let i=[];if(t&&e&&Array.isArray(t)&&Array.isArray(e))for(let n of t){let o=e.find(a=>{if(typeof a=="object"&&a!==null&&"name"in a&&"type"in a&&"name"in n)return a.name===n.name&&a.type!=="service-operation"});o&&i.push(new ze(n,o,r))}return i}getActionByKey(t){let e=new s;return e.collection=this.filter(r=>r.key===t),e.first}getActionsByType(t){let e=new s;return e.collection=this.filter(r=>Array.isArray(t)?t.includes(r.type):r.type===t),e}getActionsByLayoutHint(...t){let e=new s;return e.collection=this.filter(r=>r.layouthint.has(...t)),e}hasActionsByLayoutHint(...t){return this.getActionsByLayoutHint(...t).length>0}get routePath(){let t=this.collection.filter(r=>!r.isDisabled);if(t.length===0)return"__NON_EXISTING_ROUTE__";let e=t.map(r=>r.selfhref.path).join("|");return this.length>1?`(${e})`:e}};var tt=class extends u{get type(){return"User"}static get modelName(){return"UserModel"}static isApplicableModel(t){let e=t.contributions;return e&&"resourcetype"in e&&e.resourcetype&&typeof e.resourcetype=="string"?e.resourcetype==="userdata":!1}get username(){return this.getDataAsString("Username","Guest")}get fullname(){return this.getDataAsString("Fullname","Guest")}};var St=class extends u{_user;_mustChangePassword=!1;static get modelName(){return"UserServicesModel"}get type(){return"UserServices"}static isApplicableModel(t){return t.resourcetype==="user_services"}getInitialChildModelLinks(){let t=this.userLink;return t?[t]:[]}setChildModels(t,e){this.user=t.find(r=>r instanceof tt)}get userLink(){return this.links.getLinkByKey("Userdata")}get user(){return this._user}set user(t){this._user=t}get changePassword(){return this.links.getLinkByKey("ChangePassword")?.href}get isLoggedIn(){let t=this.user instanceof tt;return this.links.length>3||t||Qr.getItem("basic-ok")===!0}set mustChangePassword(t){this._mustChangePassword=t}get mustChangePassword(){return this._mustChangePassword}};var $e=class extends u{_userServices;static get modelName(){return"ApplicationModel"}get type(){return"Application"}static isApplicableModel(t){return t.resourcetype==="Application"}get tabs(){return this.links.getLinksByGroup("tab")}get modelcatalog(){return G.create("modelcatalog","/modelcatalog","Model catalog",this.modelOptions)}get userServices(){return this._userServices}set userServices(t){this._userServices=t}get user(){return this.userServices?.user}get userHref(){return this.userServices?.userLink?.href}getInitialChildModelLinks(){let t=this.links.getLinkByKey("UserServices");if(t&&t.href.path==="/login")throw new Gr("The user service (Login panel) should not have the uri '/login', use a different URI because this uri matches the login service.");return t?[t]:[]}setChildModels(t,e){this.userServices=t.find(r=>r instanceof St)}get isLoggedIn(){return this.userServices?.isLoggedIn??!1}get userMustChangePassword(){return this.userServices?.mustChangePassword??!1}get authenticationTypes(){let t=this.getContributionAsArray("security",[_r]);return t?t?.sort((e,r)=>e.isPrimary===r.isPrimary?0:e.isPrimary?-1:1):[_r]}};var pi=I(et(),1);var dt=class s extends h{_key;_attributeCollection;constructor(t="",e,r,i){super(e,r,i);let n=this.contributions.attributes?this.contributions.attributes.filter(o=>{let[a]=Object.keys(o);return(0,pi.has)(this.data,a)}):[];this._attributeCollection=new D(this.data,n,{...i,isReadonly:!0}),this._key=t}get key(){return this._key}set key(t){this._key=t}get label(){return this.contributions.label}get attributeCollection(){return this._attributeCollection}set attributeCollection(t){this._attributeCollection=t}createChildAttributeSetModel(t,e,r){let i=this.contributions.objects;return new s(r?`${t}-${r+1}`:t,{...e,dynamicschema:this.data.dynamicschema},i?.[t],this.modelOptions)}getChildAttributeSets(){if(!this.contributions.objects)return[];let t=[];for(let e of Object.keys(this.contributions.objects))if(e in this.data){let r=this.data[e];if(Array.isArray(r))for(let[i,n]of r.entries())t.push(this.createChildAttributeSetModel(e,n,i));else t.push(this.createChildAttributeSetModel(e,r))}return t}};var $=class s extends u{_attributeCollection;_metadataCollection;_actionCollection;constructor(t){super(t),this._attributeCollection=this.createAttributeCollection(),this._metadataCollection=this.createMetadataCollection(),this._actionCollection=this.createActionCollection()}get type(){return"Detail"}static get modelName(){return"DetailModel"}static isApplicableModel(t){let e=t.resourcetype,r=e.endsWith("DetailPanel"),i=["Detail","CasePropertiesPanel","CasePropertiesPanelDetail"].includes(e);return r||i}getInitialChildModelLinks(){return this._attributeCollection.getInitialChildModelLinks()}setChildModels(t,e){this._attributeCollection.setChildModels(t,e)}get id(){let t=this.getDataAsNumber("_id");return t||this.getDataAsString("_id",this.key)}get label(){return this.getContributionAsString("label","")}createAttributeCollection(){let t=this.getContributionAsArray("attributes",[]).filter(e=>{let[r]=Object.keys(e);return r in this.data});return new D(this.data,t,{...this.modelOptions,isReadonly:!0})}get attributeCollection(){return this._attributeCollection}set attributeCollection(t){this._attributeCollection=t}get attributes(){return this.attributeCollection.all.filter(t=>!t.layouthint.has(ct)&&!t.isHidden)}getAttributeByKey(t){return this._attributeCollection.getAttributeByKey(t)}createMetadataCollection(){let t=this.getContributionAsObject("metadata",{}),e=Object.entries(t).map(([r,i])=>({[r]:i}));return new D(this.data,e,{...this.modelOptions,isReadonly:!0})}get metadataCollection(){return this._metadataCollection}set metadataCollection(t){this._metadataCollection=t}createActionCollection(){let t=this.getDataAsArray("actions",[]),e=this.getContributionAsArray("actions",[]);return new w(t,e)}get actionCollection(){return this._actionCollection}set actionCollection(t){this._actionCollection=t}get isCase(){return this.getContributionAsString("resourcetype")==="CaseView"}get titleAttribute(){return this._attributeCollection.getAttributeByLayoutHint(ct)}update(t){if(t instanceof s){let e=new s(t.modularuiResponse);return e.attributeCollection=t.attributeCollection,e.metadataCollection=t.metadataCollection,e.actionCollection=t.actionCollection,e}return this}equals(t){return this.id?.toString()===t.id?.toString()}};var lt=class extends p{hasTasks(){return this.collection.some(t=>t.hasTasks())}};var L=class s extends u{_actionCollection;constructor(t){super(t);let e=this.data.actions&&Array.isArray(this.data.actions)?this.data.actions:[],r=this.contributions.actions&&Array.isArray(this.contributions.actions)?this.contributions.actions:[];this._actionCollection=new w(e,r);try{let i=this.selflink.href.href;i&&(this.key=i.substring(i.lastIndexOf("/")+1))}catch{this.key=this.getDataAsString("name","unknown")}}static create(t,e,r,i){let n=new F;return n.key=t,n.data=e,n.contributions=r,n.origin=i?.origin,n.contextPath=i?.contextPath,new s(n)}get type(){return"TaskGroup"}static get modelName(){return"TaskGroupModel"}static isApplicableModel(t){return t.resourcetype==="TaskGroup"}hasTasks(){return this.actionCollection.length>0}get actionCollection(){return this._actionCollection}};var qe=class extends ${_taskGroupCollection;constructor(t){super(t),this._taskGroupCollection=this.createTaskGroupCollection()}get type(){return"CaseView"}static get modelName(){return"CaseViewModel"}static isApplicableModel(t){return t.resourcetype==="CaseView"}getInitialChildModelLinks(){return this.links.getLinksByGroup("taskgroup").all}get panelLinks(){return this.links.getLinksByGroup("panel")}setChildModels(t,e){super.setChildModels(t,e);let r=t.filter(i=>i instanceof L);this.taskGroupCollection.add(r)}get casename(){return this.attributeCollection.getAttributeByLayoutHint(ct)}get label(){return this.casename?.readonlyvalue||""}get viewLabel(){return this.getContributionAsString("label","")}hasIntroText(){return this.introtext!==""}get introtext(){let t=this.data._content;if(t&&"text"in t&&typeof t.text=="object"&&t.text!=null&&"message"in t.text)return t.text.message;let e=this.contributions;return e.text?typeof e.text=="object"&&"message"in e.text&&typeof e.text.message=="string"?e.text.message:e.text:Array.isArray(e.texts)?e.texts[0].text:""}get selfhref(){let t=this.links.getLinkByKey("self");if(t==null)throw new M("No self href available");return t.href}createTaskGroupCollection(){let t=this.getDataAsArray("taskgroups",[]),e=this.getContributionAsArray("taskgroups",[]),r=[];for(let i of t){let n=i.name,o=e.find(a=>a.name===n);if(o){let a=L.create(n,i,o,this.modelOptions);r.push(a)}}return new lt(r)}set taskGroupCollection(t){this._taskGroupCollection=t}get taskGroupCollection(){return this._taskGroupCollection}hasTaskGroups(){return this.taskGroupCollection&&this.taskGroupCollection.hasItems()}};var N=class extends h{_attribute;_context;_listKey;constructor(t,e,r){super(t,e,r),this._attribute=this.createAttribute(this.type,this.param||"",this.data,this.contributions),this._listKey=this.getContributionAsString("listKey")}get attribute(){return this._attribute}get type(){return this.getContributionAsString("type","string").replace("filter","")}get name(){return this.listkey?this.listkey+Ur+this.param:this.param}get param(){return this.getDataAsString("param")??this.getDataAsString("name","")}get isMultiple(){return this.getContributionAsBoolean("multiplechoice",!1)}get context(){return this._context}set context(t){this._context=t}setContext(t){this.context=t}get contextLabel(){return this.context?.label??""}get listkey(){return this._listKey}set listkey(t){this._listKey=t}get label(){return this.getContributionAsString("label","")}get params(){return this.param?[{name:this.param,value:this.attribute?.value}]:[]}get value(){return this.attribute?.value}get inputvalue(){return this.attribute?.inputvalue??""}getAttributeType(t){switch(t){case"choice":return"choice";case"date":return"date";case"datetime":return"datetime";case"daterange":case"datetimerange":return"range";case"number":case"numberrange":return"range";default:return"string"}}getChildType(t){switch(t){case"daterange":return"date";case"datetimerange":return"datetime";case"numberrange":return"number";default:return"string"}}createAttribute(t,e,r,i){if(t==="assignment")return;let n=this.getAttributeType(t),o={...i,type:n};if(n==="range"&&"children"in o&&Array.isArray(o.children)){let a=this.getChildType(t);o.children=o.children.map(l=>{let c=Object.keys(l)[0];return{[c]:{...l[c],type:a}}})}return k.createAttribute(e,r,o,this.modelOptions)}reset(){return this.attribute?.reset(),this}update(t,e){this.attribute?.update(e)}isQuickSearch(){return this.getContributionAsBoolean("quicksearch",!1)}isActive(){return this.attribute?.initvalue!=null}get isValid(){return this.attribute?.isValid??!1}get readonlyvalue(){return this.attribute?.readonlyvalue??""}get assistantMessage(){return this.getContributionAsString("assistant")}};var Ot=class extends N{_assignmenttype;_user;constructor(t,e,r){super(t,e,r),this._assignmenttype=this.createAssignmentTypeModel(),this._user=this.createUserModel()}get key(){return this.getDataAsString("name","")}get contextid(){return this.getContributionAsString("contextid","")}createAssignmentTypeModel(){let t=`${this.contextid}ASSIGNMENTTYPE`,e=this.data[t];if(typeof e>"u")throw new M(`Missing assignment type data for ${t}`);let r=this.data.dynamicschema;r&&(e.dynamicschema={[t]:r[t]});let n={...this.contributions[t],enumerated:!0,optionMode:e._links?"lookup":"static"},o=e.name||e.param;return this.createAttribute("choice",o,e,n)}createUserModel(){let t=`${this.contextid}USERKEY`,e=this.data[t],r=this.data.dynamicschema;r&&r[t]&&(e.dynamicschema={[t]:r[t]});let n={...this.contributions[t],optionMode:e._links?"lookup":"static"},o=e.name||e.param;return this.createAttribute("choice",o,e,n)}get assignmenttype(){return this._assignmenttype}get user(){return this._user}get params(){return this.assignmenttype&&this.user?[{name:this.assignmenttype.name,value:this.assignmenttype.value},{name:this.user.name,value:this.user.value}]:[]}reset(){return this.assignmenttype&&this.assignmenttype.reset(),this.user&&this.user.reset(),this}update(t,e){this.user!=null&&this.user.key===t.key?this.user.update(e):this.assignmenttype!=null&&this.assignmenttype.key===t.key&&this.assignmenttype.update(e)}isActive(){return this.assignmenttype!=null&&this.assignmenttype.initvalue!==null||this.user!=null&&this.user.initvalue!==null}get isValid(){return this.assignmenttype!=null&&this.assignmenttype.isValid&&this.user!=null&&this.user.isValid}};var Xe=class extends N{constructor(t,e,r){if(super(t,e,r),t&&"options"in t&&t.options&&Array.isArray(t.options)){let i=t.options.filter(n=>n.selected).map(n=>n.key);t.options.forEach(n=>{this.attribute?.options.addOption(i,{code:n.key,label:n.key})})}}};var Tt=class extends N{update(t,e){this.attribute instanceof at?this.attribute.update(e,t):super.update(t,e)}get params(){return this.attribute?[{name:this.attribute.start.name,value:this.attribute.start.value},{name:this.attribute.end.name,value:this.attribute.end.value}]:[]}};var Ze=class extends N{_isValid=!0;_value;_inputvalue;constructor(t,e,r){if(super(t,e,r),this.attribute){let i=this.getDataAsString("value","");this.update(this.attribute,i)}this._inputvalue=this._value??""}get params(){return this.param?[{name:this.param,value:this.removeFormat(this.value??"")}]:[]}get value(){return this._value}get inputvalue(){return this._inputvalue}reset(){return this._inputvalue="",this._value=void 0,this}get isValid(){return this._isValid}update(t,e){if(this._isValid=!0,this._inputvalue=typeof e!="string"?String(e):e,this.shouldHandleFormat()){let r=this.isMultiple?this._inputvalue.split(",").map(n=>n.trim()):[this._inputvalue.trim()],i=[];for(let n of r){let o=this.formatValue(n);o!==""&&(i.push(o),this.attribute?.validate(o)||(this._isValid=!1))}this._value=i.join(",")}else this._value=e}get operator(){return this.getContributionAsString("operator","")}formatValue(t){return this.shouldHandleFormat()?this.attribute?.formatValue(t)||"":t}isBSN(){return this.layouthint.has("bsn")}isIBAN(){return this.layouthint.has("iban")}isZipcode(){return this.layouthint.has("zipcode")}removeFormat(t){return t==null||t.toString()===""?"":typeof t=="string"&&this.shouldHandleFormat()?t.replace(/[^a-z0-9,]/gi,""):t}shouldHandleFormat(){return(this.operator==="exactly"||this.operator==="isNot")&&(this.isIBAN()||this.isZipcode()||this.isBSN())}};var kt=class{static createFilter(t,e,r,i){let n=r.type??"stringfilter";return n==="choicefilter"&&t==="index"?new Xe(e,r,i):n.includes("rangefilter")?new Tt(e,r,i):n==="assignmentfilter"?new Ot(e,r,i):n==="stringfilter"?new Ze(e,r,i):new N(e,r,i)}static setListKey(t,e){"listkey"in e&&typeof e.listkey=="string"&&(t.listkey=e.listkey)}static setFilterContext(t,e,r){if(r.contexts){let i=r.contexts.find(n=>n.id===e);i&&t.setContext(i)}}};var x=class extends p{constructor(t={},e,r){super(),this.collection=this.createCollection(t,e,r)}createCollection(t,e,r){let i=[];if(e&&"filter"in e&&Array.isArray(e.filter))for(let n of e.filter){let[o]=Object.keys(n),a=t[o],l=n[o],c=kt.createFilter(o,a,l,{origin:r?.origin,contextPath:r?.contextPath});kt.setListKey(c,e),l.contextid&&kt.setFilterContext(c,l.contextid,e),i.push(c)}return i}reset(){return this.collection=this.collection.map(t=>t.reset()),this}checkRangeFilterByAttributeKey(t,e){let r=t.attribute;if(r instanceof at){let i=r.start,n=r.end;return r.key===e||i?.name===e||n?.name===e}return!1}checkAssignmentFilterByAttributeKey(t,e){return t.key===e||t.user?.key===e||t.assignmenttype?.key===e}getFilterByAttributeKey(t){return this.find(e=>e instanceof Tt?this.checkRangeFilterByAttributeKey(e,t):e instanceof Ot?this.checkAssignmentFilterByAttributeKey(e,t):e.attribute?.key===t)}update(t,e){let r=t.parentKey?this.getFilterByAttributeKey(t.parentKey):this.getFilterByAttributeKey(t.key);if(!r)throw new Error(`Can not find filter by attribute key: ${t.key}`);r.update(t,e),this.collection=this.collection.map(i=>i.name===r.name?r:i)}get isValid(){return this.collection.every(t=>t.isValid)}hasActiveFilters(){return this.collection.some(t=>t.isActive())}};var Qe=class extends O{};var Ye=class extends u{_filterCollection;_concepts;constructor(t){super(t),this._filterCollection=new x(this.data.filter,{filter:this.contributions.filter,dynamicschema:this.data.dynamicschema},this.modelOptions),this._concepts=new Qe,this._concepts.collection=this.data._embedded?this.data._embedded.results.map(e=>new Ct(e.concept,this.entryDate,this.modelOptions)):[]}get type(){return this.resourcetype.toLowerCase()==="relatedconcepts"?"RelatedConcepts":"ConceptIndex"}static get modelName(){return"ConceptIndexModel"}static isApplicableModel(t){let e=t.resourcetype;return e==="ConceptSearch"||e.toLowerCase()==="relatedconcepts"}getInitialChildModelLinks(){return this.items.getInitialChildModelLinks()}setChildModels(t,e){this.items.setChildModels(t,e)}get selfhref(){let{href:t}=this.selflink;return this.filterCollection.hasItems()&&this.filterCollection.forEach(e=>{e.params.forEach(r=>{r.value?t.setParameter(r.name,r.value):t.removeParameter(r.name)})}),t}get label(){return this.getContributionAsString("label","")}get filterCollection(){return this._filterCollection}get indexfilter(){return this.filterCollection.getFilterByAttributeKey("index")}get entryDate(){let t=this.filterCollection.getFilterByAttributeKey(y);return t&&t.attribute?t.attribute.value:E.now()}get searchtermfilter(){return this.filterCollection.getFilterByAttributeKey("label")}get modelCategoryFilter(){return this.filterCollection.getFilterByAttributeKey("modelCategory")}get items(){return this._concepts}set items(t){this._concepts=t}};var Je=class extends O{};var tr=class extends u{_filterCollection;_content;constructor(t){super(t),this._filterCollection=new x(this.data.filter,{filter:this.contributions.filter,dynamicschema:this.data.dynamicschema},this.modelOptions),this._content=new Je,this._content.collection=this.data._embedded?this.data._embedded.results.map(e=>new R(e.content,void 0,this.modelOptions)):[]}get type(){return"ContentIndex"}static get modelName(){return"ContentIndexModel"}static isApplicableModel(t){return t.resourcetype==="ContentSearch"}getInitialChildModelLinks(){return this.items.getInitialChildModelLinks()}setChildModels(t,e){this.items.setChildModels(t,e)}get selfhref(){let t=this.selflink.href;return this.filterCollection.forEach(e=>{e.params.forEach(r=>{r.value?t.setParameter(r.name,r.value):t.removeParameter(r.name)})}),t}get label(){return this.getContributionAsString("label","unknown")}get filterCollection(){return this._filterCollection}get indexfilter(){return this._filterCollection.getFilterByAttributeKey("index")}get items(){return this._content}hasIndexFilter(){let t=this.indexfilter?.attribute;return t instanceof Y&&t.options.length>0}hasFiltersSet(){return this.filterCollection.some(t=>t.isActive())}hasNoFiltersSet(){return!this.hasFiltersSet()}getFirstCharHref(){let t=this.indexfilter?.attribute,e="#";return t instanceof Y&&(e=t.options.filter(r=>r.code!=="0")[0].code),new b(this.selfhref).addParameter("index",e)}};var er=class extends u{_section;_contentType;_filterCollection;constructor(t){super(t),this._filterCollection=new x(this.data.filter,{filter:this.contributions.filter},this.modelOptions),this._section=new st(this.data,this.entryDate,this.modelOptions)}get type(){return"Content"}static get modelName(){return"ContentModel"}static isApplicableModel(t){return t.resourcetype==="ContentDetail"}getInitialChildModelLinks(){let t=this.links.getLinkByKey("contenttype");return t?[t]:[]}setChildModels(t,e){this.contentType=t.find(r=>r instanceof V)}get section(){return this._section}get id(){return this.data._id}get filterCollection(){return this._filterCollection}get entryDate(){let t=this.filterCollection?.getFilterByAttributeKey(y);if(t&&t.attribute)return t.attribute.value}get contentType(){return this._contentType}set contentType(t){this._contentType=t}get label(){return this.section.label}get number(){return this.section.number}get body(){return this.section.body}get childSectionLinks(){return this.section.childSectionLinks}get selfContentLink(){return this.section.selfContentLink}get childSections(){return this.section.childSections}set childSections(t){this.section.childSections=t||[]}get subSections(){return this.section.subSections}get relatedConceptsHrefs(){let t=[];return this.relatedConceptsHref&&t.push(this.relatedConceptsHref),this.subSections.forEach(e=>{t.push(...e.relatedConceptsHrefs)}),t}get relatedConceptsHref(){let t=this.links.getLinkByKey("relatedConcepts");if(t){let{href:e}=t;return e.addParameter("entryDate",this.entryDate),e.setReferenceHash(this.referenceHash),e}return null}get referenceHash(){return this.section.referenceHash}};var rr=class extends u{_contentType;_filterCollection;constructor(t){super(t),this._filterCollection=new x(this.data.filter,{filter:this.contributions.filter},this.modelOptions)}get type(){return"ContentTOC"}static get modelName(){return"ContentTOCModel"}static isApplicableModel(t){return t.resourcetype==="ContentTOC"}getInitialChildModelLinks(){let t=this.links.getLinkByKey("contenttype");return t?[t]:[]}setChildModels(t,e){this.contentType=t.find(r=>r instanceof V)}get label(){return this.getDataAsString("label","")}get abbreviation(){return this.getDataAsString("abbreviation")}get selfhref(){let t=new b(this.selflink.href);return this.filterCollection.forEach(e=>{e.params.forEach(r=>{r.value?t.setParameter(r.name,r.value):t.removeParameter(r.name)})}),t}get relatedConceptsHref(){let t=this.links.getLinkByKey("relatedConcepts");if(t){let{href:e}=t;return e.addParameter("entryDate",this.entryDate),e}}get selfContentLink(){return new R(this.data,this.entryDate,this.modelOptions)}getItems(t){return t.map(e=>{let r=new R(e,this.entryDate,this.modelOptions);return typeof e.items<"u"&&(r.items=this.getItems(e.items)),r})}getSectionItems(t){return t.map(e=>{let r=new R(e,this.entryDate,this.modelOptions);return typeof e.sections<"u"&&(r.items=this.getItems(e.sections)),r})}get items(){return Array.isArray(this.data.items)?this.getItems(this.data.items):Array.isArray(this.data.sections)?this.getSectionItems(this.data.sections):[]}get sections(){return this.data.sections?this.data.sections.map(e=>new st(e,this.entryDate,this.modelOptions)):[]}get categories(){return Array.isArray(this.data.categories)?this.data.categories.map(t=>new R(t,void 0,this.modelOptions)):[]}get contentType(){return this._contentType}set contentType(t){this._contentType=t}get filterCollection(){return this._filterCollection}get entryDate(){return this.filterCollection.getFilterByAttributeKey(y)?.attribute?.value}get isCompleteSource(){return this.filterCollection.getFilterByAttributeKey("complete")?.attribute?.value==="true"}};var xt=class{_configuration;_layouthint;_calculatedResults;_positiveResults;_negativeResults;_results;constructor(t){this._configuration=t||null,this._layouthint=new C(t?.layouthint),this._calculatedResults=new T(t?.calculatedResultElements),this._positiveResults=new T(t?.positiveResultElements),this._negativeResults=new T(t?.negativeResultElements),this._results=new T(t?.resultElements)}get label(){return this._configuration?.label}get description(){let t=this._configuration?.description;return typeof t=="object"&&"message"in t?t.message:t}get layouthint(){return this._layouthint}get attributes(){return this._configuration===null?[]:[...this._configuration.attributes,...this.layouthint.all.filter(t=>t.includes("attribute:")).map(t=>t.substring(10))]}get calculatedResultElements(){return this._calculatedResults}get positiveResultElements(){return this._positiveResults}get negativeResultElements(){return this._negativeResults}get resultElements(){return this._results}};var ir=class{_configuration;constructor(t){this._configuration=t||[]}get config(){return this._configuration.filter(t=>{let[e]=Object.keys(t);return e==="decisionResult"||e==="classificationResult"||e==="calculatorResult"}).map(t=>{let[e]=Object.keys(t);return new xt(t[e])})}};var nr=class{_question;_options;_answers;constructor(t){this._question=new T(t.questionElements),this._options=new T(t.optionElements),this._answers=new T(t.givenAnswerElements)}hasConfig(){return this._question.hasConfig()||this._options.hasConfig()||this._answers.hasConfig()}get question(){return this._question}get options(){return this._options}get answers(){return this._answers}};import{immerable as Ki}from"immer";var It=class{[Ki]=!0;_questions;_intermediateResults;_endResults;constructor(t){this._questions=this.createQuestionConfiguration(t),this._intermediateResults=this.createIntermedidateResultsConfiguration(t),this._endResults=this.createEndResultsConfiguration(t)}createQuestionConfiguration(t){if(t&&"questions"in t&&typeof t.questions=="object")return new nr(t.questions)}createIntermedidateResultsConfiguration(t){if(t&&"intermediateResults"in t&&typeof t.intermediateResults=="object")return new xt(t.intermediateResults)}createEndResultsConfiguration(t){if(t&&"results"in t&&typeof t.results=="object")return new ir(t.results)}get questions(){return this._questions}isConfiguredIntermediateResultAttribute(t){return this.intermediateResults?.attributes.includes(t)??!1}get intermediateResults(){return this._intermediateResults}isConfiguredEndResultAttribute(t){return this.endResults?this.endResults?.config.some(e=>e.attributes.includes(t)):!1}get endResults(){return this._endResults}};import{immerable as Wi}from"immer";var mi=class{[Wi]=!0;_originalError;_connectKey;_modelOptions;constructor(t,e,r){this._originalError=t,this._connectKey=e,this._modelOptions=r}set connectKey(t){this._connectKey=t}get connectKey(){return this._connectKey}get origin(){return this._modelOptions?.origin||""}get contextPath(){return this._modelOptions?.contextPath||j()}get error(){return this._originalError}get status(){let r=this.error;return"status"in r?parseInt(r.status,10):0}get id(){return this.isResourceNotFound&&"id"in this.error&&this.error.id!=="Error.NotAuthorized"?"Error.ResourceNotFound":"id"in this.error&&typeof this.error.id=="string"?this.error.id:this.error.name||"Error.GeneralError"}get message(){let t=this.error;return"message"in t?t.message:this.id}get responseMessage(){return this.response&&"message"in this.response?this.response.message:""}get title(){return this.response&&"title"in this.response?this.response.title:{id:""}}get titleMessage(){if("title"in this.error)return this.error.title?.message}get titleId(){return this.response?.title?.id}get titleProperties(){return this.response?.title?.properties}get redirect(){return this.response?.redirect}get redirectText(){if(this.redirect&&"text"in this.redirect)return this.redirect?.text}get redirectTextID(){return this.redirectText?.id}get redirectTextProperties(){return this.redirectText?.properties}get redirectMessage(){return this.redirectText?.message}get redirectHref(){if(this.redirect&&"href"in this.redirect){let t=this.redirect?.href;if(t)return new b(t)}}get layouthint(){return this.response&&Array.isArray(this.response.layouthint)?new C(this.response.layouthint):new C}get response(){let t=this.error;if("response"in t&&typeof t.response=="object")return t.response}get properties(){let t=this.error;if("properties"in t)return t.properties}get parameters(){let t=this.error;if("parameters"in t)return t.parameters}get isResourceNotFound(){return this.status===404}get isResourceNotFoundAfterReload(){let t=this.error;return"isReload"in t&&typeof t.isReload=="boolean"?this.isResourceNotFound&&t.isReload:!1}get isUnauthorized(){let e=this.status===401,r=this.id==="Error.NotAuthorized"||this.id==="Error.Authentication.Required"||this.id==="Error.Authentication.InvalidCredentials",i=this.error,n="action"in i&&typeof i.action=="object"&&i.action!==null&&"name"in i.action&&i.action.name==="login";return e||r||n}get isChangePassword(){return this.id==="Error.ChangePasswordRequired"}get isConcurrentUser(){return this.id==="Error.Authentication.ConcurrentUser"}get isConcurrentError(){return this.id==="Error.Case.ConcurrentModification"||this.id==="Error.DataStore.ConcurrentModification"||this.id==="Error.DataStore.RecordAlreadyExists"||this.id==="Error.DataStore.RowCannotBeLocked"}get isBlocked(){return this.id==="Error.Authentication.BlockedUser"}get isInvalidCredentials(){return this.id==="Error.Authentication.InvalidCredentials"}get isInvalidUsername(){return this.id==="Error.Authentication.InvalidUsername"}get isTimeoutError(){return this.id==="Error.CodemapLookup.InvalidToken"}get isRemoteServiceException(){return this.id==="Error.RemoteServiceException"}get changePasswordHref(){let t=this.properties;if(t&&"redirect"in t)return new b(t.redirect)}get isBasicAuthentication(){let e=this.error;return"error"in e?this.isUnauthorized&&this.status===401&&e.error==="No responseText":!1}get loginFailed(){return this.id==="Error.Authentication.Required"||this.id==="Error.Authentication.InvalidCredentials"}get shouldThrowOnServer(){return!this.isChangePassword&&!this.isBlocked&&!this.isConcurrentUser}};var jr=I(et(),1);var ht=class s extends h{_attributeCollection;_contentConfiguration;_errorCollection;_repeatIndex;_dynamicValidationsLoaded=!1;constructor(t,e,r){super(t,e,r),t&&this.getElements().length>0?this._attributeCollection=new D(this.getElements(),this.getApplicableAttributeContributions(),{...r,isReadonly:!1}):this._attributeCollection=new D,this._contentConfiguration=new It(e?e.content:{}),this._errorCollection=new U("formobject");let i=this.getDataAsString("referenceDate");i&&this.attributeCollection.setReferenceDate(i),this.attributeCollection.indicateContentConfiguration(this.contentConfiguration)}static createEmpty(t){if(!t)throw new f("createEmpty method needs a FormObjectModel as input argument to create a new version of the object");return new s(t.data,t.contributions,t.modelOptions)}equals(t,e=!0){if(!t||this.key!==t.key)return!1;let r=this.attributeCollection.all.filter(n=>!n.isResult).some(n=>t&&t.attributeCollection.hasAttributeByKey(n.key));return(e?this.repeatIndex===t.repeatIndex:!0)&&r}getAttributeByAttribute(t){return this.attributeCollection.getAttributeByAttribute(t)}getAttributeByKey(t){return this.attributeCollection.getAttributeByKey(t)}hasAttributeByKey(t){return this.attributeCollection.hasAttributeByKey(t)}getElements(){let t=[];if(Array.isArray(this.data.elements)&&t.push(...this.data.elements),Array.isArray(this.data.results)){let e=this.data.results.map(r=>({...r,isResult:!0}));t.push(...e)}return this.data.elementid&&t.push({...this.data}),t}getApplicableAttributeContributions(){if(this.data&&this.contributions){let t=this.getElements().map(r=>r.elementid),e=this.getAttributesInData(t,this.contributions.attributes);return this.isDynamic?e.map(r=>{let[i]=Object.keys(r);return{[i]:{...r[i],mandatory:!0}}}):e}return[]}getAttributesInData(t,e=[]){return e.filter(r=>{let[i]=Object.keys(r);return t.some(n=>n.split(".")[0]===i)})}getInitialChildModelLinks(){return this._attributeCollection.getInitialChildModelLinks()}setChildModels(t,e){this._attributeCollection.setChildModels(t,e)}get key(){return this.data.objectid||"unknown"}get contentConfiguration(){return this._contentConfiguration}get hasEndResultConfiguration(){return this.contributions.content?.results!=null}get isDynamic(){return this.getContributionAsBoolean("dynamicObject",!1)}get hasDynamicValidations(){return this.getContributionAsBoolean("dynamicValidations",!1)}get isRepeatable(){return this.getContributionAsBoolean("repeatable",!1)}get repeatIndex(){return this._repeatIndex??this.data.index??1}set repeatIndex(t){this._repeatIndex=t}get maxRepeats(){return this.isRepeatable?this.getDataAsNumber("numberofrepeats",-1):1}get hasFixedNrOfRepeats(){return this.maxRepeats>-1}get isRepeatWithUnknownTotal(){return this.isRepeatable&&this.maxRepeats===-1}get isLastRepeat(){return this.isRepeatable?this.getDataAsBoolean("last",!1):!0}get repeatIndexLabel(){return this.getDataAsString("index-identifier")}get label(){return this.getContributionAsString("label")}get introText(){if(typeof this.data.content=="object"&&this.data.content!=null&&"text"in this.data.content){let{message:t}=this.data.content.text;return t}return this.contributions.text?.message?this.contributions.text.message:this.contributions.introText}get assistent(){return this.contributions.assistent}get buttonLabels(){return this.getContributionAsObject("buttonLabels",{})}get attributeCollection(){return this._attributeCollection}set attributeCollection(t){this._attributeCollection=t}mergeObject(t){this.attributeCollection.forEach(e=>{let r=t.getAttributeByAttribute(e);r&&e.mergeAttribute(r)}),this.repeatIndex=t.repeatIndex}updateAttribute(t,e){let r=this.attributeCollection.getAttributeByAttribute(t);if(r==null)throw new Error(`Attribute with name: ${t.name} not found.`);return r instanceof _?r.update(e,t):r.update(e),r}isChangedSince(t){return this.attributeCollection.find(e=>e.isChangedSince(t))!=null}resetErrors(){this._errorCollection.clear(),this.attributeCollection.forEach(t=>t.resetErrors())}get errorCollection(){return this._errorCollection}addServerError(t){t.anchor?.elementid!=null?this.attributeCollection.addServerError(t):this._errorCollection.addServerError(t.id,t.message,t.properties,t.layouthint)}hasServerErrors(){return this.errorCollection.hasItems()||this.attributeCollection.hasServerErrors()}hasErrors(){return this.errorCollection.hasItems()||this.attributeCollection.hasErrors()}get isValid(){return this.attributeCollection.visible.every(t=>t.isValid)&&!this.errorCollection.hasItems()}get dynamicValidationsLoaded(){return this._dynamicValidationsLoaded}set dynamicValidationsLoaded(t){this._dynamicValidationsLoaded=t}handleErrorValidations(t){let e=[];t.filter(r=>r.anchor?.objectid===this.key).forEach(r=>{(0,jr.has)(r.anchor,"elementid")?e.push(r):this.errorCollection.addServerError(r.id,r.message,r.properties,new C(r.layouthint))}),this.attributeCollection.updateValidations(e)}handleMissingValidations(t,e){let r=[];for(let i of t.anchors)if(!i.objectid||i.objectid===this.key)if(Array.isArray(i.elements))for(let n of i.elements)r.push({anchor:{objectid:n.objectid||"",elementid:n.elementid},id:"Constraint.Mandatory"});else r.push({anchor:{...i,objectid:i.objectid||""},id:"Constraint.Mandatory"});Array.isArray(e)&&e.filter(i=>i.id==="Constraint.Mandatory"&&i.anchor?.objectid===this.key&&(0,jr.has)(i.anchor,"elementid")).forEach(i=>{r.push(i)}),this.attributeCollection.updateValidations(r)}updateValidations(t){return this.resetErrors(),Array.isArray(t.errors)&&this.handleErrorValidations(t.errors),Array.isArray(t.missing?.anchors)&&this.handleMissingValidations(t.missing,t.errors),this.dynamicValidationsLoaded=!0,this}get formdata(){return this.attributeCollection.formdata}getFormData(t=!1){return this.attributeCollection.getFormData(t)}};var jt=I(et(),1),Si=I(Ei(),1);import en from"deepmerge";var sr=class s extends u{_lastUpdate;_completedFormObjects=[];_currentFormObject=null;_previouslyEnteredFormObjects=[];_mergePreviouslyEnteredObjects=!0;_endResultFormObjects=[];_previousEndResultKeys=[];_useClientsideValidation=rt("USE_CLIENTSIDE_VALIDATION");_errorCollection=new U(0);_redirectLocation;_commit=!1;_isFinished=!1;_isComplete=!1;_success;_parameters=new Jt;_tokens=[];constructor(t){super(t),this._lastUpdate=0,this.currentFormObject=this.createFormObject(),this.endResultFormObjects=this.setEndResultFormObjects(),this.parameters=this.setParameters(t?.parameters),this.isComplete=this.getDataAsBoolean("complete",!1),Array.isArray(this.data.errors)&&this.handleRootErrors(this.data.errors),this.createSuccess(),this.setTokens()}get type(){return"Form"}get actiontype(){return this.layouthint.has(zt)?"create":this.layouthint.has(Wt)?"update":this.layouthint.has(Kt)?"delete":this.getContributionAsString("actiontype","form")}static get modelName(){return"FormModel"}static isApplicableModel(t){return t.resourcetype==="Form"}getInitialChildModelLinks(){let t=(0,Si.default)(this.endResultFormObjects.map(e=>e.getInitialChildModelLinks()));return this.currentFormObject==null?t:[...this.currentFormObject.getInitialChildModelLinks(),...t]}setChildModels(t,e){this.currentFormObject&&this.currentFormObject.setChildModels(t,e),this.endResultFormObjects.forEach(r=>{r.setChildModels(t,e)})}get label(){return this.getContributionAsString("label","")}get buttonLabels(){return this.getContributionAsObject("buttonLabels",{})}getButtonLabel(t){if(t==="cancel"&&"cancel"in this.buttonLabels)return this.buttonLabels.cancel;let e=this.currentFormObject?.buttonLabels;if(e&&t in e)return e[t]}get allObjects(){return this.currentFormObject==null?this.completedFormObjects:[...this.completedFormObjects,this.currentFormObject]}get objectKeys(){let t=this.getContributionAsObject("objects",{});return Object.keys(t)}get numberOfExpectedQuestions(){return this.objectKeys.length}get hasNoQuestionsConfigured(){return this.isComplete&&(this.objectKeys.length===0||!("missing"in this.data)&&!("results"in this.data)&&!("errors"in this.data))}addDynamicSchemaToElements(t,e){return t?.map(r=>({...r,dynamicschema:r.dynamicschema?r.dynamicschema.map(i=>{let n="elements"in i?i.elements:[];return n.length?{...i,elements:{...n,dynamicschema:e}}:i}):void 0}))}getMissingAnchors(){return(this.data.missing?.anchors??[]).map(e=>{if(this.data.results){let r=this.data.results.find(i=>i.objectid===e.objectid&&"elements"in i);r&&(e.results=r.elements)}return e.elements&&this.data.dynamicschema?{...e,elements:this.addDynamicSchemaToElements(e.elements,this.data.dynamicschema)}:e})}createFormObject(){if(this.data&&this.contributions.objects){let t=this.getMissingAnchors();if(t.length){let e=t[0],r=t[0].objectid;if(r){let i=this.contributions.objects[r];if(i)return new ht(e,i)}}}return null}addEmptyFormObject(t=this.currentFormObject){if(t){let e=ht.createEmpty(t);e.repeatIndex=this.getHighestRepeatIndex(t)+1,this.addFormObject(e)}}getHighestRepeatIndex(t){return Math.max(...this.allObjects.filter(e=>e.equals(t,!1)).map(e=>e.repeatIndex))}addFormObject(t){if(!t)throw new f("Missing form object to add");this.completedFormObjects=[...this.allObjects],this.currentFormObject=t}getFormObjectByKey(t){return this.allObjects.find(e=>e.key===t)}getFormObjectByLayoutHint(t){return this.allObjects.find(e=>e.layouthint.has(t))}removeFormObject(t){if(!t)throw new f("Missing form object to remove");if(this.currentFormObject&&this.currentFormObject.equals(t))throw new f("Can not remove the current form object");this.completedFormObjects=this.completedFormObjects.filter(e=>!e.equals(t))}get currentFormObject(){return this._currentFormObject}set currentFormObject(t){this._currentFormObject=t}get completedFormObjects(){return this._completedFormObjects}set completedFormObjects(t){this._completedFormObjects=t}get previouslyEnteredFormObjects(){return this._previouslyEnteredFormObjects}set previouslyEnteredFormObjects(t){this._previouslyEnteredFormObjects=t}setEndResultFormObjects(){if(this.data&&this.data.results&&Array.isArray(this.data.results)){let e=(Array.isArray(this.data.missing?.anchors)?this.data.missing?.anchors:[]).map(i=>i.objectid),r=this.data.results.filter(i=>!e.includes(i.objectid)).map(i=>{let{elements:n,...o}=i;return{...o,results:n}});if(r.length>0)return r.map(i=>{let n=this.contributions.objects?.[i.objectid];return n?new ht(i,n):null}).filter(i=>i!=null)}return[]}get expectsEndResultFormObjects(){let t=this.endResultFormObjects.map(e=>e.key);return this.objectKeys.some(e=>this.contributions.objects?.[e]?.content?.results&&!t.includes(e))}get endResultFormObjects(){return this._endResultFormObjects}set endResultFormObjects(t){this.previousEndResultKeys=this.endResultFormObjects.map(e=>e.key),this._endResultFormObjects=t}getEndResultFormObjects(){return this.endResultFormObjects.filter(t=>!this.previousEndResultKeys.includes(t.key))}get previousEndResultKeys(){return this._previousEndResultKeys}set previousEndResultKeys(t){this._previousEndResultKeys=t}get isValid(){return this.currentFormObject?this.currentFormObject.isRepeatable&&(!this.currentFormObject.hasFixedNrOfRepeats||this.allObjects.filter(e=>this.currentFormObject!=null&&e.equals(this.currentFormObject,!1)).find(e=>e.isValid))?!0:this.currentFormObject?.isValid??!0:!0}hasServerErrors(){return this.errorCollection.hasItems()?!0:this.currentFormObject?this.currentFormObject.hasServerErrors():!1}hasErrors(){return this.errorCollection.hasItems()?!0:this.currentFormObject?this.currentFormObject.hasErrors():!1}addServerError(t){this.errorCollection.addServerError(t.id,t.message,t.properties,t.layouthint)}resetErrors(){this._errorCollection.clear(),this.currentFormObject&&this.currentFormObject.resetErrors()}get errorCollection(){return this._errorCollection}set errorCollection(t){this._errorCollection=t}get commit(){return this._commit||!1}set commit(t){this._commit=t}get isFinished(){return this._isFinished||this.success!=null}set isFinished(t){this._isFinished=t}get isComplete(){return this._isComplete}set isComplete(t){this._isComplete=t}get successRedirect(){return this.isFinished&&this.success?.redirect?new b(this.success.redirect):void 0}get redirectLocation(){return this._redirectLocation||this.successRedirect}getSuccessData(){return this.success?.data}getResultData(){let t={};if(this.contributions.resultdata){let e=this.contributions.resultdata,r=Object.keys(e),i=this.getSuccessData();for(let n of r){let o=i?.[n]||{},a=n in e?e[n]:{};t[n]=new dt(n,o,a)}}return t}get resultData(){return this.getSuccessData()}setParameters(t){let e=t?t.map(r=>new Yt(r.prefix,r.name,r.value)):[];return new Jt(e)}get parameters(){return this._parameters}set parameters(t){this._parameters=t}selfhrefNoCommitParam(){let t=this.parameters.filter(r=>r.name!=="commit"),e=this.selflink?.href;return e?(e.method="POST",e.parameters=new Jt(t),e):new b}selfhrefWithCommitParam(){let t=this.selfhrefNoCommitParam();return this.expectsEndResultFormObjects&&!this.isComplete&&!this.commit&&t.addParameter("commit","false"),t}get selfhref(){if(!this.selflink)throw new Error("No self link found for form");return Qt("ALWAYS_COMMIT_FORM")?this.selfhrefNoCommitParam():this.selfhrefWithCommitParam()}get tokens(){if(!this._tokens){let t=this.data?.tokens;this._tokens=Array.isArray(t)?t:[]}return this._tokens}set tokens(t){this._tokens=t}removeTokens(){this._tokens=[]}setTokens(){let t=this.data?.tokens;this._tokens=Array.isArray(t)?t:[]}isChanged(){return this.currentFormObject!==null&&this.currentFormObject.isChangedSince(this.lastUpdate)}get lastUpdate(){return this._lastUpdate}set lastUpdate(t){this._lastUpdate=t}getFormDataObjects(t=!0,e=!1){let r=this.allObjects.filter(n=>n.isRepeatable&&!n.hasFixedNrOfRepeats&&!n.attributeCollection.some(a=>a.value!==null)?!1:n.isValid||!t),i=[];return r.forEach(n=>{let o=n.getFormData(e);if(!o)return;let a=o&&Object.values(o).some(c=>c!==null);if(n.isDynamic?a:!0){let c=i.findIndex(B=>B.key===n.key&&B.repeatIndex===n.repeatIndex);c>-1?i[c].formdata=en(i[c].formdata,o):i.push({key:n.key,repeatIndex:n.repeatIndex,formdata:o})}}),i.map(n=>({[n.key]:n.formdata}))}getFormData(t=!0,e=!0,r=!1){return e&&this.tokens.length>0?JSON.stringify({objects:this.getFormDataObjects(t,r),tokens:this.tokens}):JSON.stringify({objects:this.getFormDataObjects(t,r)})}setUseClientsideValidation(t){this._useClientsideValidation=t,this.allObjects.forEach(e=>{e.attributeCollection.all.forEach(r=>r.setUseClientsideValidation(t))})}useClientsideValidation(){return this._useClientsideValidation??!0}get formdata(){return this.getFormData(this.useClientsideValidation())}get validationData(){return this.getFormData(!1,!1,!0)}get hasPreviousStep(){let t=this.currentFormObject!=null?this.currentFormObject.key:"";return this.completedFormObjects.filter(e=>!e.isRepeatWithUnknownTotal||e.key!==t).length>0}setPreviousObject(){this.isComplete=!1,this.isFinished=!1,this.success=void 0;let t=this.currentFormObject;this.currentFormObject!=null&&(this.previouslyEnteredFormObjects=[this.currentFormObject,...this.previouslyEnteredFormObjects]),this.currentFormObject=this.completedFormObjects[this.completedFormObjects.length-1],this.completedFormObjects=this.completedFormObjects.slice(0,-1);let e=this.completedFormObjects.map(r=>r.key).filter(r=>r!==this.currentFormObject?.key);this.endResultFormObjects=this._endResultFormObjects.filter(r=>e.includes(r.key)),this.previousEndResultKeys=this.endResultFormObjects.map(r=>r.key),this.currentFormObject&&this.currentFormObject.equals(t,this.currentFormObject.hasFixedNrOfRepeats)&&this.setPreviousObject()}get hasNextStep(){if(this.isComplete||this.isFinished||this.hasNoQuestionsConfigured||!this.contributions.objects)return!1;if(this.currentFormObject&&this.currentFormObject.isDynamic||this.expectsEndResultFormObjects)return!0;let t=this.objectKeys.findIndex(r=>r===this.currentFormObject?.key),e=this.objectKeys.length-1===t;return e&&this.currentFormObject&&this.currentFormObject.isRepeatable&&!this.currentFormObject.isLastRepeat?!0:!e}update(t){if(t instanceof s){this.resetErrors(),this.lastUpdate=Date.now(),this.lastServerUpdate=t.lastServerUpdate,this.tokens=t.tokens,this.isComplete=t.isComplete,this.isFinished=t.isFinished,this.success=t.success;let e=t.data??{},r=(0,jt.has)(e,"missing"),i=(0,jt.has)(e,"errors");!r&&!i&&this.handleFinished(t),i&&this.handleErrors(t),r&&this.handleMissing(t)}return this}updateCurrentFormObject(t){if(t instanceof s){let e=t.data??{},r=(0,jt.has)(e,"missing");(0,jt.has)(e,"errors")&&this.handleErrors(t),r&&this.handleMissing(t)}}updateValidations(t){return this.currentFormObject&&this.currentFormObject.updateValidations(t),this}get success(){return this._success}set success(t){this._success=t}createSuccess(){this._success=this.data.success}handleFinished(t){this.currentFormObject&&(this.completedFormObjects=[...this.completedFormObjects,this.currentFormObject]),this.currentFormObject=t.currentFormObject,this.endResultFormObjects=t.endResultFormObjects,this.replaceData({...this.data,...t.data})}handleRootErrors(t){t.filter(e=>!e.anchor).forEach(e=>{this.errorCollection.addServerError(e.id,e.message,e.properties,e.layouthint)})}handleErrors(t){let e=Array.isArray(t.data.errors)?t.data.errors:[];e&&e.forEach(r=>{r.anchor&&this.currentFormObject&&this.currentFormObject.key===r.anchor.objectid?this.currentFormObject.addServerError(r):this.errorCollection.addServerError(r.id,r.message,r.properties,r.layouthint)})}handleMissing(t){this.currentFormObject&&this.currentFormObject.equals(t.currentFormObject)?this.handleMissingErrors(t):this.handleNewFormObject(t)}processMissingErrors(t){return this.currentFormObject===null?null:(this.currentFormObject.attributeCollection.map(e=>{let r=t.currentFormObject?.getAttributeByKey(e.key);return r?e.addMissingError(r):e.removeMissingError(),e}),this.currentFormObject)}handleMissingErrors(t){this.currentFormObject=this.processMissingErrors(t)}handleNewFormObject(t){this.endResultFormObjects=t.endResultFormObjects;let e=t.currentFormObject;e===null?(this.completedFormObjects=[...this.allObjects],this.currentFormObject=null):(this.currentFormObject?.isRepeatable?this.completedFormObjects=[...this.completedFormObjects,this.currentFormObject]:this.currentFormObject&&(this.completedFormObjects=[...this.allObjects]),this.currentFormObject=e)}get mergePreviouslyEnteredObjects(){return this._mergePreviouslyEnteredObjects}set mergePreviouslyEnteredObjects(t){this._mergePreviouslyEnteredObjects=t}handlePreviouslyEnteredFormObjects(t,e){e.forEach(r=>{let i=this.mergePreviouslyEnteredObjects?this.mergeObjects(t,r):t;this.addFormObject(i)}),this.previouslyEnteredFormObjects=this.previouslyEnteredFormObjects.filter(r=>!e.find(n=>r.equals(n)))}mergeObjects(t,e){let r=ht.createEmpty(t);return r.mergeObject(e),r}findAttribute(t){return this.allObjects.flatMap(e=>e.attributeCollection.all).find(e=>t(e))}};var or=I(et(),1);var pt=class extends ${_contentConfiguration;_listitem;_givenAnswers;_results;_eventdata;constructor(t){super(t),this._contentConfiguration=new It(this.contributions?this.contributions.content:{}),this.setResultSection(),this._eventdata=this.setEventData()}getInitialChildModelLinks(){let t=this.listitem?this.listitem.links.getLinksByGroup("panel").all:[],e=[...super.getInitialChildModelLinks(),...t];return this.hasResults&&(this.results&&e.push(...this.results.getInitialChildModelLinks()),this.givenAnswers&&e.push(...this.givenAnswers.getInitialChildModelLinks())),e}setChildModels(t,e){this.attributeCollection.setChildModels(t,e),this.results&&this.results.setChildModels(t,e),this.givenAnswers&&this.givenAnswers.setChildModels(t,e)}get type(){return"ListDetail"}static get modelName(){return"ListDetailModel"}static isApplicableModel(t){let e=t.resourcetype??"unknown";return e=e.toLowerCase(),e.endsWith("listdetail")||e.endsWith("listpaneldetail")||e.endsWith("datastorepaneldetail")}set listitem(t){this._listitem=t,t&&(this.actionCollection=t.actionCollection)}get listitem(){return this._listitem}get panelLinks(){return this.listitem?.links.getLinksByGroup("panel")}get contentConfiguration(){return this._contentConfiguration}set contentConfiguration(t){this._contentConfiguration=t}get introtext(){return this.data._content?this.data._content.text.message:this.contributions.text?this.contributions.text.message??this.contributions.text:Array.isArray(this.contributions.texts)?this.contributions.texts[0].text:""}setResultSection(){let t=this.contributions.resultSection,e=this.data.resultSection;e&&t&&(this.setResults(e.results,t.results),this.setGivenAnswers(e.givenAnswers,t.givenAnswers))}setResults(t,e){if(t&&e){e.type==="composite"&&(e.children=e.children.filter(i=>Object.keys(i)[0]in t));let r=k.createAttribute("results",{key:"results",dynamicschema:this.data.dynamicschema,content:this.data.content?.results,...this.data.resultSection},e,this.modelOptions);r instanceof _&&(r.isResult=!0,r.indicateContentConfiguration(this.contentConfiguration),this._results=r)}}setGivenAnswers(t,e){if(t&&e){let r={...e,children:e.children.filter(n=>Object.keys(n)[0]in t)},i=k.createAttribute("givenAnswers",{key:"givenAnswers",dynamicschema:this.data.dynamicschema,content:this.data.content?.givenAnswers,...this.data.resultSection},r,this.modelOptions);i instanceof _&&(i.isResult=!0,this._givenAnswers=i)}}get givenAnswers(){return this._givenAnswers}get hasResults(){return(0,or.has)(this.contributions,"resultSection")}get results(){return this._results}get hasEventData(){return(0,or.has)(this.contributions,"eventdata")&&(0,or.has)(this.data,"eventdata")&&this.data.eventdata!=null&&this.contributions.eventdata!=null}setEventData(){if(!this.data.eventdata||!this.contributions.eventdata)return[];let t=[],{eventdata:e,dynamicschema:r}=this.data;return this.contributions.eventdata.forEach(n=>{for(let o of Object.keys(n)){let a=n[o],l=e[o];l&&(Array.isArray(l)?l.forEach((c,B)=>{let xi=`${o}-${B+1}`;t.push(new dt(xi,{...c,dynamicschema:r},a,this.modelOptions))}):t.push(new dt(o,{...l,dynamicschema:r},a,this.modelOptions)))}}),t}get eventdata(){return this._eventdata}};import{immerable as rn}from"immer";var Vr=class{_group;_context;_attributeCollection;_grouping;constructor(t,e,r,i){this._group=t,this._context=e,this._attributeCollection=new D(t,e?.attributes,{...i,isReadonly:!0}),t.grouping&&(this._grouping=new Vt({...t.grouping,dynamicschema:t.dynamicschema},r,i))}get type(){return this._group.type}get id(){return this._group._id||"unknown"}get label(){return this._context?.label}get attributeCollection(){return this._attributeCollection}get grouping(){return this._grouping}get reference(){return this._group.reference||[]}hasAttributeByKey(t){return this.attributeCollection.hasAttributeByKey(t)?!0:this.grouping?this.grouping.hasAttributeByKey(t):!1}getAttributeByKey(t){let e=this.attributeCollection.getAttributeByKey(t);if(e)return e;if(this.grouping)return this.grouping.getAttributeByKey(t)}},Vt=class{[rn]=!0;_prefix;_groups=[];constructor(t,e,r){this._prefix=t?.prefix,t?.group&&(this._groups=this.createGroup(t,e,r))}createGroup(t,e,r){if(!t.group)return[];let i=this.getContextFromContributionsByPrefix(e,this._prefix);return t.group.map(n=>{let o=this.getDynamicSchema(n.type,t.dynamicschema),a={...n,dynamicschema:o};return new Vr(a,i,e,r)})}getDynamicSchema(t,e){if(e)return this._prefix&&e[t]&&!e[this._prefix+t]&&(e[this._prefix+t]=e[t]),e}get groups(){return this._groups}hasGroups(){return this._groups.length>0}getContextFromContributionsByPrefix(t,e){if(t&&e)return t.find(r=>r.prefix===e)}hasAttributeByKey(t){return this.groups.some(e=>e.hasAttributeByKey(t))}getAttributeByKey(t){let e=this.groups.find(r=>r.hasAttributeByKey(t));if(e)return e.getAttributeByKey(t)}getGroupByAttributeKey(t){return this.groups.find(e=>e.hasAttributeByKey(t))}};var ut=class s extends b{_isPrefixed;_prefix;_pagingName;_pagesizeName;_sortingName;constructor(t,e,r=!0){super(t,void 0),this._isPrefixed=r,e?this.setParameterNamesFromListModel(e):t!=null&&t instanceof s&&this.setParameterNamesFromHref(t)}setParameterNamesFromHref(t){this._prefix=this._isPrefixed?t.prefix:void 0,this._pagingName=t.pagingName,this._pagesizeName=t.pagesizeName,this._sortingName=t.sortingName}setParameterNamesFromListModel(t){this._prefix=this._isPrefixed?t.key:void 0,this._pagingName=t.paging?t.paging.name:"",this._pagesizeName=t.paging&&t.paging.pagesize?t.paging.pagesize.name:"",this._sortingName=t.sorting?t.sorting.name:"",this.page=t.paging?.page,this.pagesize=t.paging&&t.paging.pagesize.options.length>0?t.paging.pagesize.value:void 0,this.sort=t.sorting?.param,this.filterCollection=t.filterCollection}get prefix(){return this._prefix}get pagingName(){return this._pagingName}get pagesizeName(){return this._pagesizeName}get sortingName(){return this._sortingName}set page(t){this.pagingName&&this.setParameter(this.pagingName,t?.toString(),this.prefix)}get page(){return this.pagingName?this.getParameter(this.pagingName,this.prefix):void 0}set sort(t){this.sortingName&&this.setParameter(this.sortingName,t,this.prefix)}set pagesize(t){this.pagesizeName&&this.setParameter(this.pagesizeName,t?.toString(),this.prefix)}set filterCollection(t){t&&t.forEach(e=>{e.params.forEach(r=>{r.value!=null?this.setParameter(r.name,r.value,this.prefix):this.removeParameter(r.name,this.prefix)})})}};var ar=class s extends ${static createFromListResult(t,e,r,i){let n=new F;return n.key=t,n.data=e,n.contributions=r,n.origin=i?.origin,n.contextPath=i?.contextPath,new s(n)}static createFromChoiceAttributeOption(t){let e=new F;e.key=t.code;let r=new s(e);return r.attributeCollection=t.attributeCollection,r}get selfhref(){let t=this.links.getLinkByKey("self");return t?t.href:new b("#")}get caseviewHref(){let t=this.attributeCollection.getAttributeByLayoutHint(ft);if(t){let e=t.name,r=this.links.getLinkByKey(e);if(r)return r.href}return this.selfhref}get panelLinks(){return this.links.getLinksByGroup("panel")}hasPanelLinks(){return this.panelLinks.length>-1}getActionsByType(t){return this.actionCollection.getActionsByType(t)}get additionalDetailRoutePath(){let t=this.panelLinks;return t.length===0?"__NON_EXISTING_ROUTE__":t.map(e=>e.href.path).join("|")}};var lr=class s extends p{static createFromList(t){let e=t.data._embedded;if(e){if(Array.isArray(e))throw new H(`One record panel with multiple tables is not supported, place all types in one panel for the panel with key ${t.key}`);let r=t.data.dynamicschema,i=e.results.map(n=>{let[o]=Object.keys(n),a=n[o];a.dynamicschema=r;let l=t.contributions.results[o];return ar.createFromListResult(o,a,l,t.modelOptions)});return new s(i)}return new s}get additionalDetailRoutePath(){if(this.isEmpty())return"__NON_EXISTING_ROUTE__";let t=this.all.map(e=>e.additionalDetailRoutePath).join("|");return t.includes("|")?`(${t})`:t}get actionCollection(){let t=new w;return this.all.forEach(e=>{t.collection.push(...e.actionCollection.all)}),t}};import{immerable as nn}from"immer";var ur=class{[nn]=!0;_pagesize;_options;constructor(t,e){this._pagesize=t,this._options=e?.options||[]}get name(){return"pagesize"}get value(){return this._pagesize}set value(t){this._pagesize=t}get options(){return this._options}};import{immerable as sn}from"immer";var cr=class{[sn]=!0;_data;_contributions;_page;_pagesize;constructor(t,e){this._data=t,this._contributions=e,this._page=this._data?.page,this._pagesize=new ur(this._data?.pagesize,this._contributions?.pagesize)}get isEnabled(){return typeof this.page<"u"}get name(){return"page"}get value(){return this.page}get maxpages(){return this._data?.maxpages}get page(){return this._page}set page(t){this._page=t}get totalResults(){return this._data?.totalresults||-1}get pagesize(){return this._pagesize}};import{immerable as on}from"immer";var Oi=(e=>(e.ASC="asc",e.DESC="desc",e))(Oi||{}),Ut=class{[on]=!0;_key;_label;_group;_sortorder="desc";_selected=!1;constructor(t,e,r){this._key=t,this._group=r,this._label=this.setLabel(t,e,r)}setLabel(t,e,r){if(e)this._label=e;else if(r){let i=r.getAttributeByKey(t);i&&(this._label=i.label)}return""}get selected(){return this._selected}set selected(t){this._selected=t}get key(){return this._key}get value(){return`${this.key} ${this.sortorder}`}get oppositeDirection(){return this.sortorder==="desc"?"asc":"desc"}get oppositeValue(){return`${this.key} ${this.oppositeDirection}`}get label(){return this._label}get sortorder(){return this._sortorder}set sortorder(t){this._sortorder=t}get group(){return this._group}getHref(t){let e=new ut(t);return(e.prefix?e.hasParameter("page",e.prefix):e.hasParameter("page"))&&(e.page=1),e.sort=this.oppositeValue,e}};var dr=class extends p{constructor(t,e,r,i){super();let n=t?.sorting?.attributes;n&&(this.collection=n.map(o=>{let a=e[o],l=r&&r.getGroupByAttributeKey(o);return new Ut(o,a,l)}),this.setSelected(i))}get name(){return"sort"}get value(){return this.filter(t=>t.selected).map(t=>t.value).join(",")}get param(){return this.value}get options(){return this.collection}setSelected(t=""){t.split(",").forEach(e=>{let[r,i]=e.split(" ");this.collection.forEach(n=>{n.key===r&&(n.selected=!0,i==="asc"?n.sortorder="asc":i==="desc"&&(n.sortorder="desc"))})})}getUpdateQuerystring(t){if(!t)throw new f("Missing option key as input argument");return this.filter(e=>e.key===t).map(e=>e.key===t?e.oppositeValue:e.value).join(",")}getUpdateQuerystringBySortOption(t){if(!(t instanceof Ut))throw new f("Missing SortOptionModel as input argument");return this.getUpdateQuerystring(t.key)}createListHref(t,e){let r=new ut(t);return(r.prefix?r.hasParameter("page",r.prefix):r.hasParameter("page"))&&(r.page=1),r.sort=this.getUpdateQuerystringBySortOption(e),r}};var Rt=class extends u{_detail;_headers;_paging;_filterCollection;_sorting;_actionCollection;_listItemCollection;_grouping;_selfhref;constructor(t){super(t),this._headers=this.setHeaders(),this._paging=this.setPaging(),this._filterCollection=this.setFilters(),this._sorting=this.setSorting(),this._actionCollection=this.setActionCollection(),this._grouping=this.setGrouping(),this._selfhref=this.setSelfHref(),this._listItemCollection=this._listItemCollection=lr.createFromList(this)}get type(){return"List"}static get modelName(){return"ListModel"}static isApplicableModel(t){let e=t.resourcetype;return e.endsWith("List")||e.endsWith("ListPanel")||e.endsWith("RelatedDataStorePanel")||e.endsWith("RelatedDatastorePanel")||["list-related-cases","RecordPanel","EventHistoryPanel","NotePanel","AppointmentPanel","DocumentPanel","AssignmentPanel"].includes(e)}getInitialChildModelLinks(){return this.layouthint.has($r)&&this.listItemCollection.length===1?this.listItemCollection.map(t=>{let e=t.selflink;return e.targetModel=pt,e}):[]}setChildModels(t,e){this.detail=t.find(r=>r instanceof pt)}get label(){return this.contributions.label}get introtext(){return this.data.content?this.data.content.text.message:this.contributions.text?this.contributions.text.message??this.contributions.text:Array.isArray(this.contributions.texts)?this.contributions.texts[0].text:""}get listItemCollection(){return this._listItemCollection}set listItemCollection(t){this._listItemCollection=t}get detail(){return this._detail}set detail(t){let e=this.listItemCollection.find(r=>r.selfhref.equals(t?.selfhref));e&&t&&(t.listitem=e),this._detail=t,this.setSelfHref()}get grouping(){return this._grouping}setGrouping(){return new Vt({...this.data.grouping,dynamicschema:this.data.dynamicschema},this.contributions.contexts,this.modelOptions)}hasGrouping(){return this.grouping.hasGroups()}hasResults(){return this.listItemCollection.hasItems}isEmpty(){return!this.hasResults()}get shouldHide(){return this.layouthint.has(qr)&&this.isEmpty()&&this.actionCollection.isEmpty()&&!this.filterCollection.hasActiveFilters()}getListItemById(t){let e=decodeURIComponent(t.toString());return this.listItemCollection.find(r=>r.id.toString()===e)}getListItemByHref(t){return this.listItemCollection.find(e=>e.selfhref.equals(t))}get paging(){return this._paging}setPaging(){return new cr(this.data.paging,this.contributions.paging)}get sorting(){return this._sorting}setSorting(){return new dr(this.contributions,this.getSortingLabels(),this.grouping,this.data.sorting)}get filterCollection(){return this._filterCollection}set filterCollection(t){this._filterCollection=t}setFilters(){return new x(this.data.filter,{listkey:this.key,filter:this.contributions.filter||{},contexts:this.contributions.contexts,dynamicschema:this.data.dynamicschema},this.modelOptions)}isFiltered(){return this.filterCollection.hasActiveFilters()}get actionCollection(){return this._actionCollection}setActionCollection(){return new w(this.data.actions,this.contributions.actions,this.modelOptions)}hasList(){return this.key!=null}setSelfHref(){let t=this.links.getLinkByKey("self");return new ut(t?.href,this)}get selfhref(){return this._selfhref}get headers(){return this._headers}setHeaders(){let t=[];if(this.contributions.results){let{results:e}=this.contributions;Object.keys(e).forEach(r=>{e[r].attributes.forEach(i=>{let n=new _t(i,this.sorting);!t.some(a=>a.equals(n))&&!n.layouthint.has(ft)&&t.push(n)})})}return t}getSortingLabels(){let t={};return this.contributions.results&&Object.values(this.contributions.results).forEach(e=>{e.attributes.forEach(r=>{let i=Object.keys(r)[0],n=r[i].label;t[i]=n})}),t}getActionsByType(t){return this.actionCollection.getActionsByType(t)}getAdditionalDetailLabel(t){let e=Object.keys(this.contributions.results);for(let r of e){let i=this.contributions.results[r]._links?.panel?.find(n=>n.resourcetype===t);if(i)return i.label}}};var hr=class s extends O{static create(t,e,r){let i=new s;return t.options&&e.options&&t.options.forEach(n=>{i.add(new W([],{...n,optionType:this.getOptionType(n,e),elementsContributions:e.options[0].elements},{...r,referenceDate:new Date().toISOString().split("T")[0]}))}),i}static getOptionType(t,e){return e.optionType?e.optionType:t._links?.download?.[0].name==="avatar"?"user":"generic"}};var pr=class extends u{_options;_filterCollection;constructor(t){super(t),this._options=hr.create(this.data,this.contributions,this.modelOptions),this._filterCollection=this.createFilterCollection(this.data.filter,this.contributions.filter)}get type(){return"LookupOptions"}static get modelName(){return"LookupOptionsModel"}static isApplicableModel(t){return t.resourcetype==="lookupOptions"}get options(){return this._options}createFilterCollection(t,e){return t&&e?new x({[t.name]:t},{filter:e},this.modelOptions):new x}get filterCollection(){return this._filterCollection}};var mr=class{_modelCategory;constructor(t){this._modelCategory=t}get key(){return this._modelCategory._id}get label(){return this._modelCategory.label}get description(){return this._modelCategory.description}get iconSmall(){return this._modelCategory.iconSmall}get iconMedium(){return this._modelCategory.iconMedium}get iconLarge(){return this._modelCategory.iconLarge}};var fr=class extends p{constructor(t=[]){super(),this.collection=t?t.map(e=>new mr(e)):[]}};var gr=class extends u{get type(){return"ModelCatalog"}static get modelName(){return"ModelCatalogModel"}static isApplicableModel(t){return t.resourcetype==="ModelCatalog"}get label(){return this.locale==="nl"?"Model catalogus":"Model catalog"}get conceptIndexLink(){let t=this.links.getLinkByKey("concepts");if(!t)throw new M("Missing concepts index link in model catalog");return t}get contentIndexLink(){let t=this.links.getLinkByKey("content");if(!t)throw new M("Missing content index link in model catalog");return t}get modelcategories(){return new fr(this.data.modelcategories)}};var yr=class extends u{_taskGroupCollection;constructor(t){super(t),this._taskGroupCollection=this.createTaskGroupCollection()}get type(){return"GroupingPanel"}static get modelName(){return"GroupingPanelModel"}static isApplicableModel(t){return["GroupingPanel","CaseTabGroupingPanel","TabGroupingPanel"].includes(t.resourcetype)}get label(){return this.contributions.label}getInitialChildModelLinks(){return this.links.getLinksByGroup("taskgroup").all}get panelLinks(){return this.links.getLinksByGroup("panel")}setChildModels(t,e){let r=t.filter(i=>i instanceof L);this.taskGroupCollection.add(r)}hasIntroText(){return this.introtext!==""}get introtext(){return this.data._content?this.data._content.text.message:this.contributions.text?this.contributions.text.message??this.contributions.text:Array.isArray(this.contributions.texts)?this.contributions.texts[0].text:""}createTaskGroupCollection(){let t=this.getDataAsArray("taskgroups",[]),e=this.getContributionAsArray("taskgroups",[]),r=[];for(let i of t){let n=i.name,o=e.find(a=>a.name===n);if(o){let a=L.create(n,i,o,this.modelOptions);r.push(a)}}return new lt(r)}set taskGroupCollection(t){this._taskGroupCollection=t}get taskGroupCollection(){return this._taskGroupCollection}hasTaskGroups(){return this.taskGroupCollection&&this.taskGroupCollection.hasItems()}hasTasks(){return this.taskGroupCollection.hasTasks()}};var br=class extends Rt{get type(){return"CaseSearch"}static get modelName(){return"CaseSearchModel"}static isApplicableModel(t){return t.resourcetype==="CaseSearch"}getQuickSearchFilters(){return this.filterCollection?this.filterCollection.filter(t=>t.isQuickSearch()):[]}hasQuickSearchFilters(){return this.getQuickSearchFilters().length>0}};var Cr=class extends u{_actionCollection;_taskGroupCollection;constructor(t){super(t),this._taskGroupCollection=this.createTaskGroupCollection(),this._actionCollection=new w(this.data.actions,this.contributions.actions,this.modelOptions)}get type(){return"Tab"}static get modelName(){return"TabModel"}static isApplicableModel(t){return t.resourcetype?.endsWith("Tab")||t.resourcetype?.endsWith("KnowledgeBank")}getInitialChildModelLinks(){return this.links.getLinksByGroup("taskgroup","actions").all}setChildModels(t,e){let r=t.filter(i=>i instanceof L);this.taskGroupCollection.add(r)}get searchLink(){return this.links.getLinksByGroup("search").first}createTaskGroupCollection(){let t=this.getDataAsArray("taskgroups",[]),e=this.getContributionAsArray("taskgroups",[]),r=[];for(let i of t){let n=i.name,o=e.find(a=>a.name===n);if(o){let a=L.create(n,i,o,this.modelOptions);r.push(a)}}return new lt(r)}get taskGroupCollection(){return this._taskGroupCollection}set taskGroupCollection(t){this._taskGroupCollection=t}get label(){return this.getContributionAsString("label","")}get components(){return this.links.getLinksByGroup("component","search")}get actionCollection(){return this._actionCollection}hasComponents(){return this.components.size>0}hasTaskGroups(){return this.taskGroupCollection&&this.taskGroupCollection?.hasItems()}hasActions(){return this.actionCollection&&this.actionCollection.hasItems()}};var Ti=I(et(),1);var Ar=class extends tt{_attributeCollection;constructor(t=new F){super(t);let e=this.contributions;if(e&&e.attributes&&Array.isArray(e.attributes)){let r=e.attributes.filter(i=>{let[n]=Object.keys(i);return n!=="sessiondata"&&(0,Ti.has)(this.data,n)});this._attributeCollection=new D(this.data,r,{...this.modelOptions,isReadonly:!0})}else this._attributeCollection=new D(this.data,[],{...this.modelOptions,isReadonly:!0})}get type(){return"UserProfile"}get attributeCollection(){return this._attributeCollection}static get modelName(){return"UserProfileModel"}};var ki=I(et(),1);var an=[$e,Cr,pt,Rt,yr,br,qe,$,L,sr,tt,Ar,St,gr,Ye,K,Z,tr,rr,er,V,pr],zm=(s,t=an)=>{if(!s)throw new f("No data or contribution available, cannot resolve model");if(!(0,ki.has)(s.contributions,"resourcetype"))throw new f(`Contributions has wrong format, missing resourcetype property in contributions of ${s.requestHref?.toString()}`);let e=t.find(r=>r.isApplicableModel(s));if(e)return e};export{O as a,C as b,T as c,h as d,F as e,bt as f,G as g,Yr as h,A as i,u as j,Z as k,Ct as l,At as m,re as n,V as o,R as p,ie as q,ne as r,K as s,wt as t,se as u,U as v,oe as w,st as x,Mt as y,ae as z,m as A,le as B,pe as C,d as D,_t as E,W as F,J as G,Q as H,v as I,Er as J,Jr as K,_ as L,ei as M,Y as N,me as O,fe as P,ge as Q,ye as R,be as S,Ce as T,Ae as U,Me as V,_e as W,vt as X,ve as Y,De as Z,Ee as _,Dt as $,Se as aa,Tl as ba,kl as ca,Oe as da,Te as ea,ke as fa,ot as ga,z as ha,xe as ia,Ie as ja,Re as ka,Le as la,Et as ma,Fe as na,Bt as oa,we as pa,Ne as qa,Be as ra,je as sa,Ve as ta,Ue as ua,Pe as va,at as wa,He as xa,Ge as ya,k as za,We as Aa,D as Ba,ze as Ca,w as Da,tt as Ea,St as Fa,$e as Ga,dt as Ha,$ as Ia,lt as Ja,L as Ka,qe as La,N as Ma,Ot as Na,Xe as Oa,Tt as Pa,Ze as Qa,kt as Ra,x as Sa,Qe as Ta,Ye as Ua,Je as Va,tr as Wa,er as Xa,rr as Ya,xt as Za,ir as _a,nr as $a,It as ab,mi as bb,ht as cb,sr as db,pt as eb,Vr as fb,Vt as gb,ut as hb,ar as ib,lr as jb,ur as kb,cr as lb,Oi as mb,Ut as nb,dr as ob,Rt as pb,hr as qb,pr as rb,mr as sb,fr as tb,gr as ub,yr as vb,br as wb,Cr as xb,Ar as yb,zm as zb};
2
+ //# sourceMappingURL=chunk-SGXACUOV.js.map