@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 w}from"./chunk-VGAPPKHA.js";import{e as k,g as y,m as H,n as R,w as U,x as F,y as $}from"./chunk-LYBG43T6.js";import{c as O,f as m,h as A,i as P,j as v,k as M,l as D,m as C,n as E}from"./chunk-77CGPEAQ.js";import{immerable as G}from"immer";var f=class n{[G]=!0;_collection;constructor(t=[]){this._collection=t}get collection(){return this._collection}set collection(t){this._collection=t}get all(){return this.collection}add(t){t instanceof n?this.collection=[...this.collection,...t.all]:Array.isArray(t)?this.collection=[...this.collection,...t]:this.collection=[...this.collection,t]}removeByIndex(t){t>-1&&(this.collection=[...this.collection.slice(0,t),...this.collection.slice(t+1)])}hasItems(){return this.length>0}isEmpty(){return!this.hasItems()}get length(){return this.collection.length}get size(){return this.length}get first(){return this.collection[0]}get last(){return this.collection[this.collection.length-1]}get(t){return this.collection[t]}find(t,e){return this.collection.find(t,e)}filter(t,e){return this.collection.filter(t,e)}some(t,e){return this.collection.some(t,e)}every(t,e){return this.collection.every(t,e)}map(t,e){return this.collection.map(t,e)}forEach(t,e){this.collection.forEach(t,e)}sort(t){return this.collection.sort(t)}get sorted(){return this.collection.sort()}clear(){this.collection=[]}};import x from"js-cookie";var N=n=>x.get(n),lt=(n,t,e)=>{let r={path:F(),expires:e?.days,sameSite:e?.sameSite??"Strict",secure:e?.secure};x.set(n,t,r)},mt=n=>{x.remove(n,{path:F()})};import{tz as Q}from"@date-fns/tz/tz";import{add as u}from"date-fns/add";import{endOfMonth as z}from"date-fns/endOfMonth";import{format as S}from"date-fns/format";import{getDay as B}from"date-fns/getDay";import{getHours as q}from"date-fns/getHours";import{getMinutes as Y}from"date-fns/getMinutes";import{getWeek as K}from"date-fns/getWeek";import{isAfter as L}from"date-fns/isAfter";import{isBefore as V}from"date-fns/isBefore";import{isSameDay as J}from"date-fns/isSameDay";import{isValid as p}from"date-fns/isValid";import{enGB as X,nl as tt}from"date-fns/locale";import{parse as et}from"date-fns/parse";import{set as W}from"date-fns/set";import{startOfMonth as rt}from"date-fns/startOfMonth";import{startOfWeek as st}from"date-fns/startOfWeek";import{sub as h}from"date-fns/sub";import it from"timezone-soft";var c=class{_isoFormat;_doOffsets;_timeZone=typeof Intl>"u"?"Etc/UTC":Intl.DateTimeFormat().resolvedOptions().timeZone||"Etc/UTC";constructor(t,e=!1){this._isoFormat=t,this._doOffsets=e}get doOffsets(){return this._doOffsets?H():!1}getOptions(){let t=y("CALENDAR_WEEK_STARTS_ON",C),e=y("CALENDAR_FIRST_WEEK_CONTAINS_DATE",E);return{weekStartsOn:t>-1&&t<7?t:void 0,firstWeekContainsDate:e===1||e===4?e:void 0}}getIsoFormat(){return this.doOffsets?this._isoFormat+D:this._isoFormat}convertFormat(t){if(!t)return this.getIsoFormat();let e={ZZZ:"xxx",ZZ:"xx",Z:"x"},r=t,s=Object.keys(e).sort((i,a)=>a.length-i.length);for(let i of s){let a=e[i],o=new RegExp(i,"g");r=r.replace(o,a)}return r}getLocale(){let t=R()[0];return(N("locale")??t??"en")==="nl"?tt:X}toDate(t,e=this.getIsoFormat()){if(t instanceof Date)return t;let{weekStartsOn:r,firstWeekContainsDate:s}=this.getOptions();return et(t,e,new Date,{in:this.getDateFnsContext(),weekStartsOn:r,firstWeekContainsDate:s})}toFormat(t,e,r=this.getIsoFormat()){let{weekStartsOn:s}=this.getOptions(),i=this.toDate(t,r);return p(i)?S(i,e,{in:this.getDateFnsContext(),weekStartsOn:s,locale:this.getLocale()}):"Invalid Date"}toISO(t,e=this.getIsoFormat()){return this.toFormat(t,this.getIsoFormat(),e)}now(){return this.toISO(new Date)}hasFormat(t,e){let r=this.toDate(t,e),s=this.toFormat(r,e);return s==="Invalid Date"||V(r,new Date(1e3,1,1))||L(r,new Date(9999,11,31))?!1:s.replace(/0/gu,"").toUpperCase()===t.replace(/0/gu,"").toUpperCase()}isValid(t,e=this.getIsoFormat()){if(!t)return!1;let r=this.toDate(t,e);return p(r)}isAfter(t,e,r=this.getIsoFormat()){return e?L(this.toDate(t,r),this.toDate(e)):!1}isSameOrAfter(t,e,r=this.getIsoFormat()){return e?this.isAfter(t,e,r)||this.isSame(t,e,r):!1}isBefore(t,e,r=this.getIsoFormat()){return e?V(this.toDate(t,r),this.toDate(e)):!1}isSameOrBefore(t,e,r=this.getIsoFormat()){return e?this.isBefore(t,e,r)||this.isSame(t,e,r):!1}isSame(t,e,r=this.getIsoFormat()){return e?this.toDate(t,r).getTime()===this.toDate(e).getTime():!1}isSameDay(t,e,r=this.getIsoFormat()){return e?J(this.toDate(t,r),this.toDate(e,r)):!1}isOther(t,e,r=this.getIsoFormat()){return!this.isSame(t,e,r)}isWeekend(t){let s=B(this.toDate(t));return s===6||s===0}isAmbiguous(t,e=this.getIsoFormat()){if(t==null||typeof Intl>"u")return!1;let r=this.toDate(t,e);if(!p(r))return!1;let i=[60,-60,30,-30].map(o=>{let b=u(r,{minutes:o});return S(b,"HH:mm")}),a=S(r,"HH:mm");return i.indexOf(a)>-1}calculate(t,e,r,s,i=this.getIsoFormat()){let a=this.toDate(t,i);return this.toISO(e(a,{[r]:s},{in:this.getDateFnsContext()}))}addSeconds(t,e,r=this.getIsoFormat()){return this.calculate(t,u,"seconds",e,r)}addMinutes(t,e,r=this.getIsoFormat()){return this.calculate(t,u,"minutes",e,r)}addHours(t,e,r=this.getIsoFormat()){return this.calculate(t,u,"hours",e,r)}addDays(t,e,r=this.getIsoFormat()){return this.calculate(t,u,"days",e,r)}addWeeks(t,e,r=this.getIsoFormat()){return this.calculate(t,u,"weeks",e,r)}addMonths(t,e,r=this.getIsoFormat()){return this.calculate(t,u,"months",e,r)}addYears(t,e,r=this.getIsoFormat()){return this.calculate(t,u,"years",e,r)}subtractSeconds(t,e,r=this.getIsoFormat()){return this.calculate(t,h,"seconds",e,r)}subtractMinutes(t,e,r=this.getIsoFormat()){return this.calculate(t,h,"minutes",e,r)}subtractHours(t,e,r=this.getIsoFormat()){return this.calculate(t,h,"hours",e,r)}subtractDays(t,e,r=this.getIsoFormat()){return this.calculate(t,h,"days",e,r)}subtractWeeks(t,e,r=this.getIsoFormat()){return this.calculate(t,h,"weeks",e,r)}subtractMonths(t,e,r=this.getIsoFormat()){return this.calculate(t,h,"months",e,r)}subtractYears(t,e,r=this.getIsoFormat()){return this.calculate(t,h,"years",e,r)}get(t,e,r=this.getIsoFormat(),s={}){let i=this.toDate(t,r);return this.toISO(e(i,{in:this.getDateFnsContext(),...s}))}startOfMonth(t,e=this.getIsoFormat()){return this.get(t,rt,e)}endOfMonth(t,e=this.getIsoFormat()){return this.get(t,z,e)}startOfWeek(t,e=this.getIsoFormat()){let{weekStartsOn:r}=this.getOptions();return this.get(t,st,e,{weekStartsOn:r})}getHours(t,e=this.getIsoFormat()){let r=this.toDate(t,e);return q(r,{in:this.getDateFnsContext()})}getMinutes(t,e=this.getIsoFormat()){let r=this.toDate(t,e);return Y(r,{in:this.getDateFnsContext()})}getWeek(t,e=this.getIsoFormat()){let{weekStartsOn:r,firstWeekContainsDate:s}=this.getOptions(),i=this.toDate(t,e);return K(i,{in:this.getDateFnsContext(),weekStartsOn:r,firstWeekContainsDate:s})}set(t,e,r,s=this.getIsoFormat()){let i=this.toDate(t,s);return this.toISO(W(i,{[e]:r}))}setYear(t,e,r=this.getIsoFormat()){return this.set(t,"year",e,r)}setMonth(t,e,r=this.getIsoFormat()){return this.set(t,"month",e,r)}setDay(t,e,r=this.getIsoFormat()){return this.set(t,"date",e,r)}setHour(t,e,r=this.getIsoFormat()){return this.set(t,"hours",e,r)}setMinute(t,e,r=this.getIsoFormat()){return this.set(t,"minutes",e,r)}setSecond(t,e,r=this.getIsoFormat()){return this.set(t,"seconds",e,r)}setMilliseconds(t,e,r=this.getIsoFormat()){return this.set(t,"milliseconds",e,r)}setTime(t,e,r,s,i,a=this.getIsoFormat()){let o=this.toDate(t,a);return this.toISO(W(o,{hours:e,minutes:r,seconds:s,milliseconds:i},{in:this.getDateFnsContext()}))}getTimeZone(){return this._timeZone}setTimeZone(t){this._timeZone=t}getDateFnsContext(){if(this.doOffsets&&!O)return Q(this.getTimeZone())}getOffset(t,e=this.getIsoFormat()){let r=this.toDate(t,e);if(p(r)){let s=this.toFormat(r,D),i=this.getTimezoneOffsets();if(typeof i.daylight<"u"&&i.daylight.value===s)return i.daylight;if(typeof i.standard<"u"&&i.standard.value===s)return i.standard}return null}createOffsetObject(t){let e=t.offset<0?"-":"+",r=Math.abs(t.offset),s=Math.trunc(r),i=Math.round(r%1*60),a=`${e}${String(s+(i===60?1:0)).padStart(2,"0")}:${String(i%60).padStart(2,"0")}`;return{label:t.name,abbr:t.abbr,value:a}}getTimezoneOffsets(){let t=it(this.getTimeZone());if(t.length===0)return{standard:{label:"Etc/UTC",abbr:"Etc/UTC",value:"+00:00"}};let{daylight:e,standard:r}=t[0];return e?{daylight:this.createOffsetObject(e),standard:this.createOffsetObject(r)}:{standard:this.createOffsetObject(r)}}},Ut=new c(A),$t=new c(P,!0),Nt=new c(v),Lt=new c(M,!0);import{immerable as nt}from"immer";var g=class n{[nt]=!0;_prefix;_name;_value;_isModUIParameter=!1;constructor(t,e,r){this._prefix=t,this._name=e??"",r!==null&&(this._value=typeof r=="string"?decodeURIComponent(r):r),e&&this.setIsModUIParameter(e)}get prefix(){return this._prefix}get name(){return this._name}get value(){return this._value}static fromString(t){if(t==null||t===""||!t.includes("="))return new n;let e=t.split("=");return n.fromURLSearchParam(e[0],e[1])}static fromURLSearchParam(t,e){if(t.includes(m)){let r=t.substring(0,t.indexOf("~")),s=t.substring(t.indexOf("~")+1);return new n(r,s,e)}return new n(void 0,t,e)}toString(t=!0){if(!this.name)return"";let e=this.value==null?"":this.value;return t&&this.prefix?`${this.prefix}${m}${this.name}=${e}`:`${this.name}=${e}`}toQuerystring(t=!0){let e=this.value==null?"":this.paramValueToQuerystring(this.value);return t&&this.prefix?`${this.prefix}${m}${this.name}=${e}`:`${this.name}=${e}`}paramValueToQuerystring(t){return typeof t=="number"||typeof t=="string"||typeof t=="boolean"?encodeURIComponent(t):Array.isArray(t)?t.filter(e=>e!=null).map(e=>this.paramValueToQuerystring(e)).join(","):JSON.stringify(t)}get isModUIParameter(){return this._isModUIParameter}setIsModUIParameter(t){let e=k("UI_PARAMETERS",[]);Array.isArray(e)&&(this._isModUIParameter=!e.includes(t))}};var l=class n extends f{static fromSearch(t){let e=new n;return new URLSearchParams(t).forEach((s,i)=>{e.add(g.fromURLSearchParam(i,s))}),e}static fromUrl(t){let e=new n;return t.includes("?")&&t.split("?")[1].split("&").forEach(r=>{e.add(g.fromString(r))}),e}asQuerystring(t=!1){return this.collection.filter(e=>e.value!=null&&e.value!=="").map(e=>e.toQuerystring(t)).join("&")}asQueryStringForModularUI(t=""){return this.collection.filter(e=>e.isModUIParameter&&(!t||!e.prefix||e.prefix===t)&&e.value!=null).map(e=>e.toQuerystring(!1)).join("&")}removeParameter(t,e,r){if(r!==void 0){let s=r;this.collection=this.collection.map(i=>{if(i.prefix===e&&i.name===t){let a;return typeof i.value=="string"?a=i.value.split(",").filter(o=>o!==s).join(","):a=i.value===r?null:r,new g(i.prefix,i.name,a)}return i})}else this.collection=this.collection.filter(s=>s.prefix!==e||s.name!==t);return this}};import{immerable as at}from"immer";var j=class n{[at]=!0;_origin="";_contextPath=U();_path="";_hash="";_parameters=new l;_resourcetype;_method="GET";_state;_referenceHash;constructor(t,e,r){this._resourcetype=e??"",typeof t=="string"?this.initializeFromString(t):t instanceof n?this.initializeFromHref(t):t&&this.initializeFromLocation(t),typeof r?.origin=="string"&&(this.origin=r.origin),typeof r?.contextPath=="string"&&(this.contextPath=r.contextPath)}initializeFromString(t){this._path=n.getPathFromString(t),this._parameters=l.fromUrl(t),this._hash=n.getHashFromString(t)}initializeFromHref(t){this._origin=t.origin,this._contextPath=t.contextPath,this._path=t.path,this._parameters=t.parameters,this._hash=t.hash,this._state=t.state}initializeFromLocation(t){this._path=t.pathname??"",this._parameters=l.fromSearch(t.search),this._hash=t.hash??"",this.initializeStateFromLocation(t)}initializeStateFromLocation(t){t.state instanceof Object&&(this._state=t.state,this._origin="origin"in t.state&&typeof t.state.origin=="string"?t.state.origin:"",this._contextPath="contextPath"in t.state&&typeof t.state.contextPath=="string"?t.state.contextPath:"")}get key(){return Math.random().toString(36).substring(2,10)}get origin(){return this._origin}set origin(t){this._origin=t}get contextPath(){return this._contextPath}set contextPath(t){this._contextPath=t}get path(){return this._path||""}set path(t){this._path=t}get parameters(){return this._parameters}set parameters(t){this._parameters=t}get hash(){return this._hash}set hash(t){this._hash=t}get state(){return this._state}set state(t){this._state=t}setState(t){return this.state=t,this}get method(){return this._method}set method(t){this._method=t||"GET"}set resourcetype(t){this._resourcetype=t}get resourcetype(){return this._resourcetype}get isChangePassword(){return this.path.includes("/change-password")}get isExternal(){return n.checkAbsoluteUrl(this.path)}addParameter(t,e,r){return e!==null&&(this.parameters.removeParameter(t,r),this.parameters.add(new g(r,t,e))),this}setParameter(t,e,r){return e!=null?this.addParameter(t,e,r):this.parameters.removeParameter(t,r),this}removeParameter(t,e,r){return this.parameters.removeParameter(t,e,r),this}getParameter(t,e){return this.parameters.find(r=>r.prefix===e&&r.name===t)}hasParameter(t,e){return this.getParameter(t,e)!==void 0}getQuerystring(t=!1){return this.parameters.asQuerystring(t)}getQuerystringForModularUI(t=""){return this.parameters.asQueryStringForModularUI(t)}get querystring(){return this.parameters.asQuerystring(!1)}get absolutepath(){return this.isExternal?this.path:this.origin+this.contextPath+this.path}get href(){return this.querystring.length>0?[this.path,this.querystring].join("?"):this.path}get absolutehref(){let t=this.getQuerystring(!1);return t.length>0?[this.absolutepath,t].join("?"):this.absolutepath}get absolutehrefPrefixedQuerystring(){let t=this.getQuerystring(!0);return t.length>0?[this.absolutepath,t].join("?"):this.absolutepath}startsWith(t){let e=`${this.path}/`,r=t instanceof n?`${t.path}/`:t;return e.startsWith(r)}equals(t){return t instanceof n?this.path===t.path:this.path===t}equalsWithParameters(t){if(t==null)return!1;let e=t instanceof n?t:new n(t);if(!this.equals(e)||this.parameters.length!==e.parameters.length)return!1;if(this.parameters.length===0&&e.parameters.length===0)return!0;let r=this.parameters.map(s=>s.toString());return e.parameters.every(s=>r.includes(s.toString()))}get isContent(){return this.absolutepath.startsWith($())}getReferenceHash(){return this._referenceHash}setReferenceHash(t){this._referenceHash=t}toString(){return this.href}toLocation(){let t=this.state instanceof Object?this.state:{};return{key:this.key,pathname:this.path,search:this.querystring.length>0?`?${this.querystring}`:"",hash:this.hash.length>0?`#${this.hash}`:"",state:{origin:this.origin,contextPath:this.contextPath,...t}}}static getPathFromString(t){return t.split("#")[0].split("?")[0]}static getHashFromString(t){return t.includes("#")?t.substring(t.indexOf("#")+1):""}static isCamelRoute(t){return t.startsWith("/restServices")&&!t.startsWith("/restServices/ui")}static checkAbsoluteUrl(t){return new RegExp("^(?:[a-z]+:)?//","i").test(t)}};import I from"hash-it";var se=n=>I(n),ie=(n,t)=>{if(n==null)return 0;let e=n.hash?[n.toString(),n.hash].join("#"):n.toString();return t?I({hrefString:e,fragment:t}):I(e)};var ae=n=>{if(typeof n=="string")return n;if(typeof n=="object"&&"message"in n&&typeof n.message=="string")return n.message};var d=class n{_prefix="";_suffix="";_comma=0;_minInt=1;_minFrac=0;_maxFrac=0;_isPercentage=!1;constructor(t){this.setAffix(t),this.setFractionLengths(t),this.setGroupLength(t),this.setMinLength(t),this.setPercentage()}get prefix(){return this._prefix}get suffix(){return this._suffix}get comma(){return this._comma}get minInt(){return this._minInt}get minFrac(){return this._minFrac}get maxFrac(){return this._maxFrac}get isPercentage(){return this._isPercentage}setAffix(t){let e=t.includes("#")?t.substring(0,t.indexOf("#")):t;this._prefix=e.includes("0")?e.substring(0,e.indexOf("0")):e,this._suffix=t.substring(this._prefix.length).replace(/[#,.0]/gu,"")}setFractionLengths(t){let e=t.replace(/[^#,.0]/gu,"");if(e.includes(".")){let s=e.substring(e.indexOf(".")+1).replace(/,|\.+/g,"");this._maxFrac=s.length;let i=s.replace(/[^0]/gu,"");this._minFrac=i.length}}setGroupLength(t){let e=t.replace(/[^#,.0]/gu,""),r=e.includes(".")?e.substring(0,e.indexOf(".")):e;r.includes(",")&&(this._comma=r.length-1-r.lastIndexOf(","))}setMinLength(t){let r=(t.includes(".")?t.substring(0,t.indexOf(".")):t).replace(/[^0]/gu,"");this._minInt=r.length>1?r.length:1}setPercentage(){this._isPercentage=this.suffix.charAt(0)==="%"}static getNumericString(t){let e=Number(t),r=String(e);return!r.includes(".")&&t.includes(".")?t.substring(t.indexOf(".")+1).replace(/0/gu,"").length>0?t:r:t}formatBack(t){let e=String(t);if(!e)return"";if(!isNaN(Number(e)))return n.getNumericString(e);let r=t,s=!1;t.charAt(0)==="-"&&(r=t.substr(1),s=!0);let i=t.startsWith(this.prefix),a=this.suffix===""?t.length:t.indexOf(this.suffix,this.prefix.length+1);return i&&a>0&&(r=r.substr(0,a),r=r.substr(this.prefix.length),r=r.replace(/,/gu,""),s&&(r=`-${r}`),!isNaN(Number(r)))?n.getNumericString(r):r}static scientificNumber(t){if(t.includes("e")){let e=Number(t);return e===1/0||e===-1/0?t:String(e)}return t}getFracAsNumber(t){let e=+`0.${t}`;return this.maxFrac===0?Math.round(e).toString(10):e.toFixed(this.maxFrac)}getRoundedFrac(t){return this.getFracAsNumber(t).substr(2)}static getFraction(t){let e=t.includes(".")?t.substring(t.indexOf(".")+1):"";return e=e.replace(/\./,""),e}getFracCorrectLength(t){let e=t;e.length>this.maxFrac&&(e=this.getRoundedFrac(e));for(let r=e.length;r<this.minFrac;r++)e=`${e}0`;for(;e.length>this.minFrac&&e.charAt(e.length-1)==="0";)e=e.substring(0,e.length-1);return e}getInteger(t){let e=t.includes(".")?t.substring(0,t.indexOf(".")):t,r=Number(this.getFracAsNumber(t))>1,s=e.length-1;for(;r;){if(s===-1){e=`1${e}`;break}let i=e.charAt(s);i==="9"?i="0":(i=`${i+1}`,r=!1),e=e.substring(0,s)+i+e.substring(s+1,e.length),s-=1}for(let i=e.length;i<this.minInt;i++)e=`0${e}`;for(;e.length>this.minInt&&e.charAt(0)==="0";)e=e.substring(1);return e}addGrouping(t){let e=t,r=0;for(let s=e.length;s>0;s--)r!==0&&r%this.comma===0&&(e=`${e.substring(0,s)},${e.substring(s)}`,r=0),r+=1;return e}getFormattedValue(t,e,r){let s;return e.length>0?s=`${this.prefix+t}.${e}${this.suffix}`:s=this.prefix+t+this.suffix,r&&(s=`-${s}`),s}format(t=""){if(t===null)return"";let e=this.formatBack(t).toLowerCase();if(isNaN(Number(e))||e.length===0)return t;if(e=n.scientificNumber(e),e.includes("e"))return e;let r=e.charAt(0)==="-";(r||e.charAt(0)==="+")&&(e=e.substring(1));let s=n.getFraction(e),i=this.getInteger(e);if(this.isPercentage){let o=`00${`${s}00`.substr(0,2)}`.substr(-2);i=`${i}${o}`,s=s.substr(2)}return s=this.getFracCorrectLength(s),i=this.addGrouping(i),this.getFormattedValue(i,s,r)}};import ot from"big.js";var Z=class{static removeGroupingSeparator=(t,e)=>{if(typeof t=="number"||e==null)return t;let r=e.replace(/[$()*+.?[\\\]^{|}]/g,"\\$&");return t.replace(new RegExp(r,"g"),"")};static updateDecimalSeparator=(t,e)=>typeof t=="number"||e==null||e===""?t:t.replace(e,".");static parseToNumber=(t,e=",",r=".")=>{if(!(typeof t=="number"||typeof t=="string")||t==="")return NaN;let s=this.removeGroupingSeparator(t,e),i=this.updateDecimalSeparator(s,r);return Number(i)};static parseNumberToString=(t,e=",",r=".")=>{if(t==null||t==="")return"NaN";let s=this.removeGroupingSeparator(t,e),i=this.updateDecimalSeparator(s,r);try{return ot(i).toFixed()}catch{return"NaN"}};static updateGroupingSeparator(t,e){return e==null?t:t.replace(/,/g,e)}static formatNumber(t,e="#",r=",",s="."){if(t==null)return"";let i=typeof t=="number"?t:this.parseToNumber(t,r,s);if(typeof i!="number")throw new w(`Not a valid number: ${t} for formatValue`);let a=this.parseNumberToString(i);if(e!=null){let o=new d(e).format(a),[b,_]=o.split("."),T=this.updateGroupingSeparator(b,r);return _?`${T}${s}${_}`:T}return a}static isSameOrBefore(t,e){return t<=e}static isBefore(t,e){return t<e}};export{f as a,N as b,lt as c,mt as d,c as e,Ut as f,$t as g,Nt as h,Lt as i,g as j,l as k,j as l,se as m,ie as n,ae as o,d as p,Z as q};
2
+ //# sourceMappingURL=chunk-BODVDNNA.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/models/base/BaseCollection.ts","../src/utils/storage/Cookies.ts","../src/utils/datetime/DateTimeUtil.ts","../src/models/parameter/Parameter.ts","../src/models/parameter/ParameterCollection.ts","../src/models/href/Href.ts","../src/utils/helpers/createHash.ts","../src/utils/helpers/text.ts","../src/utils/number/DecimalFormat.ts","../src/utils/number/NumberUtil.ts"],"sourcesContent":["import { immerable } from \"immer\";\n\nexport abstract class BaseCollection<T> {\n [immerable] = true;\n\n private _collection: T[];\n\n constructor(collection: T[] = []) {\n this._collection = collection;\n }\n\n get collection() {\n return this._collection;\n }\n\n set collection(collection: T[]) {\n this._collection = collection;\n }\n\n /**\n * Retrieve all items in collection\n */\n get all() {\n return this.collection;\n }\n\n /**\n * Add an other collection, array of items or single item to this collection;\n */\n add(items: BaseCollection<T> | T[] | T) {\n if (items instanceof BaseCollection) {\n this.collection = [...this.collection, ...items.all];\n } else if (Array.isArray(items)) {\n this.collection = [...this.collection, ...items];\n } else {\n this.collection = [...this.collection, items];\n }\n }\n\n /**\n * Remove an item from the collection by it's index.\n */\n removeByIndex(itemIndex: number) {\n if (itemIndex > -1) {\n this.collection = [\n ...this.collection.slice(0, itemIndex),\n ...this.collection.slice(itemIndex + 1),\n ];\n }\n }\n\n /**\n * Indicates if the collection has items\n */\n hasItems() {\n return this.length > 0;\n }\n\n /**\n * Indicates if collection is empty\n */\n isEmpty() {\n return !this.hasItems();\n }\n\n /**\n * Get the size of this collection\n */\n get length() {\n return this.collection.length;\n }\n\n /**\n * Get the size of this collection\n */\n get size() {\n return this.length;\n }\n\n /**\n * Return first item in collection\n */\n get first() {\n return this.collection[0];\n }\n\n /**\n * Return last item in collection\n */\n get last() {\n return this.collection[this.collection.length - 1];\n }\n\n /**\n * Return item by index\n */\n get(index: number) {\n return this.collection[index];\n }\n\n /**\n * Find an item, @see {Array#find}\n */\n find(\n callbackfn: (value: T, index: number, obj: T[]) => unknown,\n thisArg?: unknown,\n ) {\n return this.collection.find(callbackfn, thisArg);\n }\n\n /**\n * Filter collection by function\n */\n filter(\n callbackfn: (value: T, index: number, array: T[]) => unknown,\n thisArg?: unknown,\n ) {\n return this.collection.filter(callbackfn, thisArg);\n }\n\n /**\n * Check if at least one item occurs\n */\n some(\n callbackfn: (value: T, index: number, array: T[]) => unknown,\n thisArg?: unknown,\n ) {\n return this.collection.some(callbackfn, thisArg);\n }\n\n every(\n callbackfn: (value: T, index: number, array: T[]) => unknown,\n thisArg?: unknown,\n ) {\n return this.collection.every(callbackfn, thisArg);\n }\n\n map<U>(\n callbackfn: (value: T, index: number, array: T[]) => U,\n thisArg?: unknown,\n ) {\n return this.collection.map(callbackfn, thisArg);\n }\n\n forEach(\n callbackfn: (value: T, index: number, array: T[]) => void,\n thisArg?: unknown,\n ) {\n this.collection.forEach(callbackfn, thisArg);\n }\n\n sort(compareFn?: (a: T, b: T) => number) {\n return this.collection.sort(compareFn);\n }\n\n /**\n * Retrieve an alphabetically sorted array of items\n */\n get sorted() {\n return this.collection.sort();\n }\n\n clear() {\n this.collection = [];\n }\n}\n","import Cookies from \"js-cookie\";\n\nimport { getContextPathServer } from \"../../settings/Paths\";\n\ninterface CookieOptions {\n days?: number;\n sameSite?: \"None\" | \"Lax\" | \"Strict\";\n secure?: boolean;\n}\n\nexport const getCookie = (name: string) => {\n return Cookies.get(name);\n};\n\nexport const setCookie = (\n name: string,\n value: string,\n options?: CookieOptions,\n) => {\n const attributes = {\n path: getContextPathServer(),\n expires: options?.days,\n sameSite: options?.sameSite ?? \"Strict\",\n secure: options?.secure,\n };\n\n Cookies.set(name, value, attributes);\n};\n\nexport const clearCookie = (name: string) => {\n Cookies.remove(name, { path: getContextPathServer() });\n};\n","import { tz } from \"@date-fns/tz/tz\";\nimport { add } from \"date-fns/add\";\nimport { endOfMonth } from \"date-fns/endOfMonth\";\nimport { format } from \"date-fns/format\";\nimport { getDay } from \"date-fns/getDay\";\nimport { getHours } from \"date-fns/getHours\";\nimport { getMinutes } from \"date-fns/getMinutes\";\nimport { getWeek } from \"date-fns/getWeek\";\nimport { isAfter } from \"date-fns/isAfter\";\nimport { isBefore } from \"date-fns/isBefore\";\nimport { isSameDay } from \"date-fns/isSameDay\";\nimport { isValid } from \"date-fns/isValid\";\nimport { enGB, nl } from \"date-fns/locale\";\nimport { parse } from \"date-fns/parse\";\nimport { set } from \"date-fns/set\";\nimport { startOfMonth } from \"date-fns/startOfMonth\";\nimport { startOfWeek } from \"date-fns/startOfWeek\";\nimport { sub } from \"date-fns/sub\";\nimport soft from \"timezone-soft\";\n\nimport {\n DATETIME_OFFSET_FORMAT,\n DEFAULT_FIRST_WEEK_CONTAINS_DATE,\n DEFAULT_WEEK_STARTS_ON,\n IS_GRAALJS,\n ISO_DATE_FORMAT,\n ISO_DATETIME_FORMAT,\n ISO_TIME_FORMAT,\n ISO_TIMESTAMP_FORMAT,\n} from \"../../constants/Constants\";\nimport {\n getEnabledLocales,\n getNumberSetting,\n isIncludeTimeOffsetInDateTimes,\n} from \"../../settings/Settings\";\nimport { getCookie } from \"../storage/Cookies\";\n\nimport type {\n ContextOptions,\n DateValues,\n Duration,\n FirstWeekContainsDate,\n SetOptions,\n} from \"date-fns\";\nimport type { TimeZoneInfo } from \"timezone-soft\";\n\ninterface OffsetInfoInput extends TimeZoneInfo {\n offset: number;\n}\n\nexport interface OffsetInfo {\n abbr: string;\n label: string;\n value: string;\n}\n\nexport class BaseDateTimeUtil {\n private _isoFormat: string;\n private _doOffsets: boolean;\n\n private _timeZone: string =\n typeof Intl === \"undefined\"\n ? \"Etc/UTC\"\n : Intl.DateTimeFormat().resolvedOptions().timeZone || \"Etc/UTC\";\n\n constructor(isoFormat: string, doOffsets = false) {\n this._isoFormat = isoFormat;\n this._doOffsets = doOffsets;\n }\n\n /**\n * Indicates if offsets and timezones are relevant\n */\n get doOffsets() {\n return this._doOffsets ? isIncludeTimeOffsetInDateTimes() : false;\n }\n\n /**\n * Returns the options defined in settings\n */\n getOptions(): {\n weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6;\n firstWeekContainsDate?: FirstWeekContainsDate;\n } {\n // indicates on what day the week starts\n const weekStartsOn = getNumberSetting(\n \"CALENDAR_WEEK_STARTS_ON\",\n DEFAULT_WEEK_STARTS_ON,\n );\n\n // indicates which date indicates the first week of the year\n const firstWeekContainsDate = getNumberSetting(\n \"CALENDAR_FIRST_WEEK_CONTAINS_DATE\",\n DEFAULT_FIRST_WEEK_CONTAINS_DATE,\n );\n\n return {\n weekStartsOn:\n weekStartsOn > -1 && weekStartsOn < 7\n ? (weekStartsOn as 0 | 1 | 2 | 3 | 4 | 5 | 6)\n : undefined,\n firstWeekContainsDate:\n firstWeekContainsDate === 1 || firstWeekContainsDate === 4\n ? (firstWeekContainsDate as FirstWeekContainsDate)\n : undefined,\n };\n }\n\n getIsoFormat() {\n if (this.doOffsets) {\n return this._isoFormat + DATETIME_OFFSET_FORMAT;\n }\n return this._isoFormat;\n }\n\n convertFormat(javaFormat?: string) {\n if (!javaFormat) {\n return this.getIsoFormat();\n }\n\n const javaToUTS35Map: Record<string, string> = {\n ZZZ: \"xxx\",\n ZZ: \"xx\",\n Z: \"x\",\n };\n\n // Replace Java pattern tokens with UTS #35 tokens\n let uts35Format = javaFormat;\n\n // Sort keys by length (descending) to handle multi-character tokens first\n const sortedKeys = Object.keys(javaToUTS35Map).sort(\n (a, b) => b.length - a.length,\n );\n\n for (const javaToken of sortedKeys) {\n const uts35Token = javaToUTS35Map[javaToken];\n const regex = new RegExp(javaToken, \"g\"); // Match all occurrences\n uts35Format = uts35Format.replace(regex, uts35Token);\n }\n\n return uts35Format;\n }\n\n getLocale() {\n const defaultLocale = getEnabledLocales()[0];\n const locale = getCookie(\"locale\") ?? defaultLocale ?? \"en\";\n\n if (locale === \"nl\") {\n return nl;\n }\n\n return enGB;\n }\n\n toDate(date: string | Date, inputFormat: string = this.getIsoFormat()) {\n if (date instanceof Date) {\n return date;\n }\n\n const { weekStartsOn, firstWeekContainsDate } = this.getOptions();\n\n return parse(date, inputFormat, new Date(), {\n in: this.getDateFnsContext(),\n weekStartsOn,\n firstWeekContainsDate,\n });\n }\n\n toFormat(\n date: string | Date,\n targetFormat: string,\n inputFormat: string = this.getIsoFormat(),\n ) {\n const { weekStartsOn } = this.getOptions();\n\n const parsedDate = this.toDate(date, inputFormat);\n\n if (isValid(parsedDate)) {\n return format(parsedDate, targetFormat, {\n in: this.getDateFnsContext(),\n weekStartsOn,\n locale: this.getLocale(),\n });\n }\n\n return \"Invalid Date\";\n }\n\n toISO(date: string | Date, sourceFormat: string = this.getIsoFormat()) {\n return this.toFormat(date, this.getIsoFormat(), sourceFormat);\n }\n\n now() {\n return this.toISO(new Date());\n }\n\n //////////// VALIDATION\n\n hasFormat(date: string, sourceFormat: string) {\n const parsedDate = this.toDate(date, sourceFormat);\n\n const formattedValue = this.toFormat(parsedDate, sourceFormat);\n if (formattedValue === \"Invalid Date\") {\n return false;\n }\n\n const isOutsideRange =\n isBefore(parsedDate, new Date(1000, 1, 1)) ||\n isAfter(parsedDate, new Date(9999, 11, 31));\n if (isOutsideRange) {\n return false;\n }\n\n return (\n formattedValue.replace(/0/gu, \"\").toUpperCase() ===\n date.replace(/0/gu, \"\").toUpperCase()\n );\n }\n\n isValid(\n date: string | Date | null | void,\n inputFormat: string = this.getIsoFormat(),\n ) {\n if (!date) {\n return false;\n }\n\n const parsedDate = this.toDate(date, inputFormat);\n return isValid(parsedDate);\n }\n\n isAfter(\n inputDate: string | Date,\n afterISODate?: string | Date,\n inputFormat: string = this.getIsoFormat(),\n ) {\n if (!afterISODate) {\n return false;\n }\n return isAfter(\n this.toDate(inputDate, inputFormat),\n this.toDate(afterISODate),\n );\n }\n\n isSameOrAfter(\n inputDate: string | Date,\n afterISODate?: string | Date,\n inputFormat: string = this.getIsoFormat(),\n ) {\n if (!afterISODate) {\n return false;\n }\n return (\n this.isAfter(inputDate, afterISODate, inputFormat) ||\n this.isSame(inputDate, afterISODate, inputFormat)\n );\n }\n\n isBefore(\n inputDate: string | Date,\n beforeISODate?: string | Date,\n inputFormat: string = this.getIsoFormat(),\n ) {\n if (!beforeISODate) {\n return false;\n }\n\n return isBefore(\n this.toDate(inputDate, inputFormat),\n this.toDate(beforeISODate),\n );\n }\n\n isSameOrBefore(\n inputDate: string | Date,\n beforeISODate?: string | Date,\n inputFormat: string = this.getIsoFormat(),\n ) {\n if (!beforeISODate) {\n return false;\n }\n\n return (\n this.isBefore(inputDate, beforeISODate, inputFormat) ||\n this.isSame(inputDate, beforeISODate, inputFormat)\n );\n }\n\n isSame(\n inputDate: string | Date,\n compareDate?: string | Date,\n inputFormat: string = this.getIsoFormat(),\n ) {\n if (!compareDate) {\n return false;\n }\n\n return (\n this.toDate(inputDate, inputFormat).getTime() ===\n this.toDate(compareDate).getTime()\n );\n }\n\n isSameDay(\n inputDate: string | Date,\n compareDate?: string | Date,\n inputFormat: string = this.getIsoFormat(),\n ) {\n if (!compareDate) {\n return false;\n }\n\n return isSameDay(\n this.toDate(inputDate, inputFormat),\n this.toDate(compareDate, inputFormat),\n );\n }\n\n isOther(\n inputDate: string | Date,\n compareDate?: string | Date,\n inputFormat: string = this.getIsoFormat(),\n ) {\n return !this.isSame(inputDate, compareDate, inputFormat);\n }\n\n isWeekend(inputDate: string | Date) {\n const SATURDAY_NUMBER = 6;\n const SUNDAY_NUMBER = 0;\n const weekDay = getDay(this.toDate(inputDate));\n\n return weekDay === SATURDAY_NUMBER || weekDay === SUNDAY_NUMBER;\n }\n\n /**\n * Checks if a given local date and time is ambiguous in the specified timezone.\n * Ambiguity happens during the end of daylight saving time (DST) transitions.\n */\n isAmbiguous(\n inputDate?: string | Date | null,\n inputFormat: string = this.getIsoFormat(),\n ) {\n if (inputDate == null || typeof Intl === \"undefined\") {\n return false;\n }\n\n const dateTime = this.toDate(inputDate, inputFormat);\n if (!isValid(dateTime)) {\n return false;\n }\n\n const t = [60, -60, 30, -30];\n const a = t.map((x) => {\n const newDate = add(dateTime, { minutes: x });\n return format(newDate, \"HH:mm\");\n });\n const time = format(dateTime, \"HH:mm\");\n return a.indexOf(time) > -1;\n }\n\n //////////// CALCULATIONS\n\n private calculate(\n date: string | Date,\n calculationFn: (\n date: Date,\n duration: Duration,\n options: ContextOptions<Date>,\n ) => Date,\n property: string,\n value: number,\n inputFormat: string = this.getIsoFormat(),\n ) {\n const parsedDate = this.toDate(date, inputFormat);\n return this.toISO(\n calculationFn(\n parsedDate,\n { [property]: value },\n {\n in: this.getDateFnsContext(),\n },\n ),\n );\n }\n\n addSeconds(\n date: string,\n amount: number,\n inputFormat: string = this.getIsoFormat(),\n ) {\n return this.calculate(date, add, \"seconds\", amount, inputFormat);\n }\n\n addMinutes(\n date: string,\n amount: number,\n inputFormat: string = this.getIsoFormat(),\n ) {\n return this.calculate(date, add, \"minutes\", amount, inputFormat);\n }\n\n addHours(\n date: string,\n amount: number,\n inputFormat: string = this.getIsoFormat(),\n ) {\n return this.calculate(date, add, \"hours\", amount, inputFormat);\n }\n\n addDays(\n date: string,\n amount: number,\n inputFormat: string = this.getIsoFormat(),\n ) {\n return this.calculate(date, add, \"days\", amount, inputFormat);\n }\n\n addWeeks(\n date: string,\n amount: number,\n inputFormat: string = this.getIsoFormat(),\n ) {\n return this.calculate(date, add, \"weeks\", amount, inputFormat);\n }\n\n addMonths(\n date: string,\n amount: number,\n inputFormat: string = this.getIsoFormat(),\n ) {\n return this.calculate(date, add, \"months\", amount, inputFormat);\n }\n\n addYears(\n date: string,\n amount: number,\n inputFormat: string = this.getIsoFormat(),\n ) {\n return this.calculate(date, add, \"years\", amount, inputFormat);\n }\n\n subtractSeconds(\n date: string,\n amount: number,\n inputFormat: string = this.getIsoFormat(),\n ) {\n return this.calculate(date, sub, \"seconds\", amount, inputFormat);\n }\n\n subtractMinutes(\n date: string,\n amount: number,\n inputFormat: string = this.getIsoFormat(),\n ) {\n return this.calculate(date, sub, \"minutes\", amount, inputFormat);\n }\n\n subtractHours(\n date: string,\n amount: number,\n inputFormat: string = this.getIsoFormat(),\n ) {\n return this.calculate(date, sub, \"hours\", amount, inputFormat);\n }\n\n subtractDays(\n date: string,\n amount: number,\n inputFormat: string = this.getIsoFormat(),\n ) {\n return this.calculate(date, sub, \"days\", amount, inputFormat);\n }\n\n subtractWeeks(\n date: string,\n amount: number,\n inputFormat: string = this.getIsoFormat(),\n ) {\n return this.calculate(date, sub, \"weeks\", amount, inputFormat);\n }\n\n subtractMonths(\n date: string,\n amount: number,\n inputFormat: string = this.getIsoFormat(),\n ) {\n return this.calculate(date, sub, \"months\", amount, inputFormat);\n }\n\n subtractYears(\n date: string,\n amount: number,\n inputFormat: string = this.getIsoFormat(),\n ) {\n return this.calculate(date, sub, \"years\", amount, inputFormat);\n }\n\n //////////// GETTERS\n\n private get(\n date: string | Date,\n method: (date: Date, options: ContextOptions<Date>) => Date,\n inputFormat: string = this.getIsoFormat(),\n options: object = {},\n ) {\n const parsedDate = this.toDate(date, inputFormat);\n return this.toISO(\n method(parsedDate, {\n in: this.getDateFnsContext(),\n ...options,\n }),\n );\n }\n\n startOfMonth(date: string | Date, inputFormat: string = this.getIsoFormat()) {\n return this.get(date, startOfMonth, inputFormat);\n }\n\n endOfMonth(date: string | Date, inputFormat: string = this.getIsoFormat()) {\n return this.get(date, endOfMonth, inputFormat);\n }\n\n startOfWeek(date: string | Date, inputFormat: string = this.getIsoFormat()) {\n const { weekStartsOn } = this.getOptions();\n return this.get(date, startOfWeek, inputFormat, {\n weekStartsOn,\n });\n }\n\n getHours(date: string | Date, inputFormat: string = this.getIsoFormat()) {\n const parsedDate = this.toDate(date, inputFormat);\n return getHours(parsedDate, { in: this.getDateFnsContext() });\n }\n\n getMinutes(date: string | Date, inputFormat: string = this.getIsoFormat()) {\n const parsedDate = this.toDate(date, inputFormat);\n return getMinutes(parsedDate, { in: this.getDateFnsContext() });\n }\n\n getWeek(date: string | Date, inputFormat: string = this.getIsoFormat()) {\n const { weekStartsOn, firstWeekContainsDate } = this.getOptions();\n const parsedDate = this.toDate(date, inputFormat);\n return getWeek(parsedDate, {\n in: this.getDateFnsContext(),\n weekStartsOn,\n firstWeekContainsDate,\n });\n }\n\n //////////// SETTERS\n\n private set(\n date: string | Date,\n property: string,\n value: number,\n inputFormat: string = this.getIsoFormat(),\n ) {\n const parsedDate = this.toDate(date, inputFormat);\n return this.toISO(set(parsedDate, { [property]: value } as DateValues));\n }\n\n setYear(\n date: string | Date,\n year: number,\n inputFormat: string = this.getIsoFormat(),\n ) {\n return this.set(date, \"year\", year, inputFormat);\n }\n\n setMonth(\n date: string | Date,\n month: number,\n inputFormat: string = this.getIsoFormat(),\n ) {\n return this.set(date, \"month\", month, inputFormat);\n }\n\n setDay(\n date: string | Date,\n day: number,\n inputFormat: string = this.getIsoFormat(),\n ) {\n return this.set(date, \"date\", day, inputFormat);\n }\n\n setHour(\n date: string | Date,\n hour: number,\n inputFormat: string = this.getIsoFormat(),\n ) {\n return this.set(date, \"hours\", hour, inputFormat);\n }\n\n setMinute(\n date: string | Date,\n minute: number,\n inputFormat: string = this.getIsoFormat(),\n ) {\n return this.set(date, \"minutes\", minute, inputFormat);\n }\n\n setSecond(\n date: string | Date,\n second: number,\n inputFormat: string = this.getIsoFormat(),\n ) {\n return this.set(date, \"seconds\", second, inputFormat);\n }\n\n setMilliseconds(\n date: string | Date,\n millisecond: number,\n inputFormat: string = this.getIsoFormat(),\n ) {\n return this.set(date, \"milliseconds\", millisecond, inputFormat);\n }\n\n setTime(\n date: string,\n hours: number,\n minutes: number,\n seconds: number,\n milliseconds: number,\n inputFormat: string = this.getIsoFormat(),\n ) {\n const parsedDate = this.toDate(date, inputFormat);\n return this.toISO(\n set(\n parsedDate,\n { hours, minutes, seconds, milliseconds } as DateValues,\n {\n in: this.getDateFnsContext(),\n } as SetOptions,\n ),\n );\n }\n\n //////////// Timezone related\n\n getTimeZone() {\n return this._timeZone;\n }\n\n setTimeZone(timeZone: string) {\n this._timeZone = timeZone;\n }\n\n getDateFnsContext() {\n if (this.doOffsets && !IS_GRAALJS) {\n return tz(this.getTimeZone());\n }\n return undefined;\n }\n\n //////////// Offsets\n\n getOffset(date: string | Date, inputFormat: string = this.getIsoFormat()) {\n const parsedDate = this.toDate(date, inputFormat);\n if (isValid(parsedDate)) {\n const dateOffset = this.toFormat(parsedDate, DATETIME_OFFSET_FORMAT);\n const offsets = this.getTimezoneOffsets();\n if (\n typeof offsets.daylight !== \"undefined\" &&\n offsets.daylight.value === dateOffset\n ) {\n return offsets.daylight;\n } else if (\n typeof offsets.standard !== \"undefined\" &&\n offsets.standard.value === dateOffset\n ) {\n return offsets.standard;\n }\n }\n return null;\n }\n\n private createOffsetObject(info: OffsetInfoInput) {\n const sign = info.offset < 0 ? \"-\" : \"+\";\n const absOffset = Math.abs(info.offset);\n const hours = Math.trunc(absOffset);\n const minutes = Math.round((absOffset % 1) * 60);\n\n const offsetString = `${sign}${String(hours + (minutes === 60 ? 1 : 0)).padStart(2, \"0\")}:${String(minutes % 60).padStart(2, \"0\")}`;\n\n return {\n label: info.name,\n abbr: info.abbr,\n value: offsetString,\n };\n }\n\n getTimezoneOffsets(): {\n standard?: OffsetInfo;\n daylight?: OffsetInfo;\n } {\n const timezone = soft(this.getTimeZone());\n\n if (timezone.length === 0) {\n return {\n standard: {\n label: \"Etc/UTC\",\n abbr: \"Etc/UTC\",\n value: \"+00:00\",\n },\n };\n }\n\n const { daylight, standard } = timezone[0];\n\n if (daylight) {\n return {\n daylight: this.createOffsetObject(daylight as OffsetInfoInput),\n standard: this.createOffsetObject(standard as OffsetInfoInput),\n };\n }\n\n return { standard: this.createOffsetObject(standard as OffsetInfoInput) };\n }\n}\n\n/**\n * DateUtil\n */\nconst DateUtil = new BaseDateTimeUtil(ISO_DATE_FORMAT);\n\n/**\n * DateTimeUtil\n */\nconst DateTimeUtil = new BaseDateTimeUtil(ISO_DATETIME_FORMAT, true);\n\n/**\n * TimeUtil\n */\nconst TimeUtil = new BaseDateTimeUtil(ISO_TIME_FORMAT);\n\n/**\n * TimestampUtil\n */\nconst TimestampUtil = new BaseDateTimeUtil(ISO_TIMESTAMP_FORMAT, true);\n\nexport { DateUtil, DateTimeUtil, TimeUtil, TimestampUtil };\n","import { immerable } from \"immer\";\n\nimport { PARAMETER_SEPARATOR } from \"../../constants/Constants\";\nimport { getSetting } from \"../../settings/Settings\";\n\nimport type { AttributeValue, MaybeAttributeValue } from \"../attributes/types\";\n\nexport class Parameter {\n [immerable] = true;\n\n private _prefix?: string | null | undefined;\n private _name: string;\n private _value?: MaybeAttributeValue;\n private _isModUIParameter = false;\n\n constructor(\n prefix?: string | null,\n name?: string,\n value?: MaybeAttributeValue,\n ) {\n this._prefix = prefix;\n this._name = name ?? \"\";\n if (value !== null) {\n this._value =\n typeof value === \"string\" ? decodeURIComponent(value) : value;\n }\n\n if (name) {\n this.setIsModUIParameter(name);\n }\n }\n\n /**\n * Getting prefix\n */\n get prefix() {\n return this._prefix;\n }\n\n /**\n * Getting name\n */\n get name() {\n return this._name;\n }\n\n /**\n * Getting value\n */\n get value() {\n return this._value;\n }\n\n static fromString(parameter: string) {\n if (parameter == null || parameter === \"\" || !parameter.includes(\"=\")) {\n return new Parameter();\n }\n\n // parameter has the structure prefix~name=value\n const param = parameter.split(\"=\");\n return Parameter.fromURLSearchParam(param[0], param[1]);\n }\n\n static fromURLSearchParam(key: string, value: string) {\n if (key.includes(PARAMETER_SEPARATOR)) {\n const prefix = key.substring(0, key.indexOf(\"~\"));\n const name = key.substring(key.indexOf(\"~\") + 1);\n\n return new Parameter(prefix, name, value);\n }\n\n return new Parameter(undefined, key, value);\n }\n\n /**\n * Convert parameter to string\n */\n toString(withPrefix = true) {\n if (!this.name) {\n return \"\";\n }\n\n const value = this.value == null ? \"\" : this.value;\n\n return withPrefix && this.prefix\n ? `${this.prefix}${PARAMETER_SEPARATOR}${this.name}=${value}`\n : `${this.name}=${value}`;\n }\n\n toQuerystring(withPrefix = true) {\n const value =\n this.value == null ? \"\" : this.paramValueToQuerystring(this.value);\n\n return withPrefix && this.prefix\n ? `${this.prefix}${PARAMETER_SEPARATOR}${this.name}=${value}`\n : `${this.name}=${value}`;\n }\n\n private paramValueToQuerystring(value: AttributeValue): string {\n if (\n typeof value === \"number\" ||\n typeof value === \"string\" ||\n typeof value === \"boolean\"\n ) {\n return encodeURIComponent(value);\n }\n\n if (Array.isArray(value)) {\n return value\n .filter((val) => val != null)\n .map((val) => this.paramValueToQuerystring(val))\n .join(\",\");\n }\n\n return JSON.stringify(value);\n }\n\n /**\n * Indicates if parameter is expected by the Be Informed modular UI\n */\n get isModUIParameter() {\n return this._isModUIParameter;\n }\n\n setIsModUIParameter(name: string) {\n const uiParameterSetting = getSetting(\"UI_PARAMETERS\", []);\n if (Array.isArray(uiParameterSetting)) {\n this._isModUIParameter = !uiParameterSetting.includes(name);\n }\n }\n}\n","import { BaseCollection } from \"../base/BaseCollection\";\nimport { Parameter } from \"./Parameter\";\n\nimport type { MaybeAttributeValue } from \"../attributes/types\";\n\nexport class ParameterCollection extends BaseCollection<Parameter> {\n static fromSearch(search: string | undefined) {\n const parameterCollection = new ParameterCollection();\n\n const params: URLSearchParams = new URLSearchParams(search);\n\n params.forEach((value, key) => {\n parameterCollection.add(Parameter.fromURLSearchParam(key, value));\n });\n\n return parameterCollection;\n }\n\n static fromUrl(url: string) {\n const parameterCollection = new ParameterCollection();\n\n if (url.includes(\"?\")) {\n url\n .split(\"?\")[1]\n .split(\"&\")\n .forEach((param) => {\n parameterCollection.add(Parameter.fromString(param));\n });\n }\n\n return parameterCollection;\n }\n\n /**\n * Get the parameters as a querystring, e.g. param1=value1&param2=value2, optionally with prefix\n */\n asQuerystring(withPrefix = false) {\n return this.collection\n .filter((param) => param.value != null && param.value !== \"\")\n .map((param) => param.toQuerystring(withPrefix))\n .join(\"&\");\n }\n\n /**\n * Retrieve a querystring that only contains parameter that can be send to the modular ui, parameters are filtered by prefix\n */\n asQueryStringForModularUI(prefix = \"\") {\n return this.collection\n .filter(\n (param) =>\n param.isModUIParameter &&\n (!prefix || !param.prefix || param.prefix === prefix) &&\n param.value != null,\n )\n .map((param) => param.toQuerystring(false))\n .join(\"&\");\n }\n\n /**\n * Remove a parameter from the parameter collection\n */\n removeParameter(\n name: string,\n prefix?: string | null,\n value?: MaybeAttributeValue,\n ) {\n if (value !== undefined) {\n // remove a specific value from the parameter\n const valueToRemove = value;\n\n this.collection = this.collection.map((param) => {\n if (param.prefix === prefix && param.name === name) {\n let newValue;\n if (typeof param.value === \"string\") {\n newValue = param.value\n .split(\",\")\n .filter((val) => val !== valueToRemove)\n .join(\",\");\n } else {\n newValue = param.value === value ? null : value;\n }\n return new Parameter(param.prefix, param.name, newValue);\n }\n\n return param;\n });\n } else {\n this.collection = this.collection.filter(\n (param) => param.prefix !== prefix || param.name !== name,\n );\n }\n\n return this;\n }\n}\n","import { immerable } from \"immer\";\n\nimport { HTTP_METHODS } from \"../../constants/Constants\";\nimport { getContentPath, getContextPathModularUI } from \"../../settings/Paths\";\nimport { Parameter } from \"../parameter/Parameter\";\nimport { ParameterCollection } from \"../parameter/ParameterCollection\";\n\nimport type { HistoryLocation } from \"../../types/types\";\nimport type { MaybeAttributeValue } from \"../attributes/types\";\nimport type { ModelOptions } from \"../types\";\n\nexport class Href<S = unknown> {\n [immerable] = true;\n\n private _origin = \"\";\n private _contextPath: string = getContextPathModularUI();\n private _path = \"\";\n private _hash = \"\";\n private _parameters: ParameterCollection = new ParameterCollection();\n private _resourcetype: string;\n private _method: HTTP_METHODS = HTTP_METHODS.GET;\n private _state?: S;\n private _referenceHash: number | undefined;\n\n constructor(\n href?: Href<S> | string | HistoryLocation,\n resourcetype?: string,\n modelOptions?: ModelOptions,\n ) {\n this._resourcetype = resourcetype ?? \"\";\n\n if (typeof href === \"string\") {\n this.initializeFromString(href);\n } else if (href instanceof Href) {\n this.initializeFromHref(href);\n } else if (href) {\n this.initializeFromLocation(href);\n }\n\n if (typeof modelOptions?.origin === \"string\") {\n this.origin = modelOptions.origin;\n }\n\n if (typeof modelOptions?.contextPath === \"string\") {\n this.contextPath = modelOptions.contextPath;\n }\n }\n\n private initializeFromString(href: string) {\n this._path = Href.getPathFromString(href);\n this._parameters = ParameterCollection.fromUrl(href);\n this._hash = Href.getHashFromString(href);\n }\n\n private initializeFromHref(href: Href<S>) {\n this._origin = href.origin;\n this._contextPath = href.contextPath;\n this._path = href.path;\n this._parameters = href.parameters;\n this._hash = href.hash;\n this._state = href.state;\n }\n\n private initializeFromLocation(location: HistoryLocation) {\n this._path = location.pathname ?? \"\";\n this._parameters = ParameterCollection.fromSearch(location.search);\n this._hash = location.hash ?? \"\";\n\n this.initializeStateFromLocation(location);\n }\n\n private initializeStateFromLocation(location: HistoryLocation) {\n if (location.state instanceof Object) {\n this._state = location.state as S;\n this._origin =\n \"origin\" in location.state && typeof location.state.origin === \"string\"\n ? location.state.origin\n : \"\";\n this._contextPath =\n \"contextPath\" in location.state &&\n typeof location.state.contextPath === \"string\"\n ? location.state.contextPath\n : \"\";\n }\n }\n\n get key() {\n return Math.random().toString(36).substring(2, 10);\n }\n\n get origin() {\n return this._origin;\n }\n\n set origin(origin: string) {\n this._origin = origin;\n }\n\n get contextPath() {\n return this._contextPath;\n }\n\n set contextPath(contextPath: string) {\n this._contextPath = contextPath;\n }\n\n get path() {\n return this._path || \"\";\n }\n\n /**\n * Set the path of the Href, the part before the querystring question mark\n */\n set path(path: string) {\n this._path = path;\n }\n\n get parameters() {\n return this._parameters;\n }\n\n set parameters(parameters) {\n this._parameters = parameters;\n }\n\n get hash() {\n return this._hash;\n }\n\n set hash(hash) {\n this._hash = hash;\n }\n\n get state() {\n return this._state;\n }\n\n set state(state) {\n this._state = state;\n }\n\n setState(state: S): Href {\n this.state = state;\n return this;\n }\n\n /**\n * Get request method\n */\n get method(): HTTP_METHODS {\n return this._method;\n }\n\n /**\n * Set request method\n */\n set method(method: HTTP_METHODS) {\n this._method = method || HTTP_METHODS.GET;\n }\n\n /**\n * Set resourctype\n */\n set resourcetype(resourcetype: string) {\n this._resourcetype = resourcetype;\n }\n\n /**\n * Retrieve resourceType\n */\n get resourcetype() {\n return this._resourcetype;\n }\n\n get isChangePassword() {\n return this.path.includes(\"/change-password\");\n }\n\n /**\n * Check if url is relative (not checking for absolute urls with same domain)\n */\n get isExternal() {\n return Href.checkAbsoluteUrl(this.path);\n }\n\n /**\n * Add a querystring parameter to the parameter collection of this Href, skips parameters that have a value of null\n */\n addParameter(\n name: string,\n value?: MaybeAttributeValue,\n prefix?: string | null,\n ): Href {\n if (value !== null) {\n this.parameters.removeParameter(name, prefix);\n this.parameters.add(new Parameter(prefix, name, value));\n }\n\n return this;\n }\n\n /**\n * Adds or overwrites a parameter when it exists and value is not null.\n * Removes the parameter when the value is null\n */\n setParameter(\n name: string,\n value?: MaybeAttributeValue,\n prefix?: string | null,\n ): Href {\n if (value != null) {\n this.addParameter(name, value, prefix);\n } else {\n this.parameters.removeParameter(name, prefix);\n }\n return this;\n }\n\n removeParameter(\n name: string,\n prefix?: string | null,\n value?: MaybeAttributeValue,\n ): Href {\n this.parameters.removeParameter(name, prefix, value);\n return this;\n }\n\n /**\n * Retrieve a parameter by it's name and (optionally) prefix\n */\n getParameter(name: string, prefix?: string | null) {\n return this.parameters.find(\n (param) => param.prefix === prefix && param.name === name,\n );\n }\n\n hasParameter(name: string, prefix?: string) {\n return this.getParameter(name, prefix) !== undefined;\n }\n\n /**\n * Get the parameters as a querystring, e.g. param1=value1&param2=value2, optionally with prefix\n */\n getQuerystring(withPrefix = false) {\n return this.parameters.asQuerystring(withPrefix);\n }\n\n /**\n * Retrieve a querystring that only contains parameter that can be send to the modular ui, parameters are filtered by prefix\n */\n getQuerystringForModularUI(prefix = \"\") {\n return this.parameters.asQueryStringForModularUI(prefix);\n }\n\n /**\n * Retrieve all parameters from the parameter collection in a querystring style name1=value1&name2=value2, without the prefix\n */\n get querystring(): string {\n return this.parameters.asQuerystring(false);\n }\n\n /**\n * Retrieve the path combined with the base path (context-path) of the application, e.g. /BeInformed\n */\n get absolutepath(): string {\n if (this.isExternal) {\n return this.path;\n }\n return this.origin + this.contextPath + this.path;\n }\n\n /**\n * Retrieves the combination of the path and the querystring\n */\n get href() {\n return this.querystring.length > 0\n ? [this.path, this.querystring].join(\"?\")\n : this.path;\n }\n\n /**\n * Getting the URL including the base path, querystring is prefixed\n */\n get absolutehref() {\n const querystring = this.getQuerystring(false);\n\n return querystring.length > 0\n ? [this.absolutepath, querystring].join(\"?\")\n : this.absolutepath;\n }\n\n /**\n * Getting the URL including the base path, the querystring is prefixed\n */\n get absolutehrefPrefixedQuerystring(): string {\n const querystring = this.getQuerystring(true);\n\n return querystring.length > 0\n ? [this.absolutepath, querystring].join(\"?\")\n : this.absolutepath;\n }\n\n /**\n * Checks if the URL starts within the given href\n */\n startsWith(href: Href | string) {\n const thisPath = `${this.path}/`;\n const otherPath = href instanceof Href ? `${href.path}/` : href;\n\n return thisPath.startsWith(otherPath);\n }\n\n /**\n * Checks if the given Href equals this Href\n */\n equals(href: Href | string | undefined) {\n if (href instanceof Href) {\n return this.path === href.path;\n }\n\n return this.path === href;\n }\n\n equalsWithParameters(other: Href | string | null) {\n if (other == null) {\n return false;\n }\n\n const href = other instanceof Href ? other : new Href(other);\n\n if (!this.equals(href)) {\n return false;\n }\n\n if (this.parameters.length !== href.parameters.length) {\n return false;\n }\n\n if (this.parameters.length === 0 && href.parameters.length === 0) {\n return true;\n }\n\n const thisParams = this.parameters.map((param) => param.toString());\n\n return href.parameters.every((param) => {\n return thisParams.includes(param.toString());\n });\n }\n\n /**\n * Indicates if the link is a contentconfiguration link\n */\n get isContent() {\n return this.absolutepath.startsWith(getContentPath());\n }\n\n getReferenceHash() {\n return this._referenceHash;\n }\n\n setReferenceHash(referenceHash: number | undefined) {\n this._referenceHash = referenceHash;\n }\n\n /**\n * Returns a complete url from the Href\n */\n toString(): string {\n return this.href;\n }\n\n toLocation(): HistoryLocation {\n const state = this.state instanceof Object ? this.state : {};\n\n return {\n key: this.key,\n pathname: this.path,\n search: this.querystring.length > 0 ? `?${this.querystring}` : \"\",\n hash: this.hash.length > 0 ? `#${this.hash}` : \"\",\n state: {\n origin: this.origin,\n contextPath: this.contextPath,\n ...state,\n },\n };\n }\n\n /**\n * Retrieve the relative path part of a href string, e.g. https://www.beinformed.com/BeInformed/tab/view?q=url => /tab/view\n */\n static getPathFromString(href: string) {\n return href.split(\"#\")[0].split(\"?\")[0];\n }\n\n static getHashFromString(href: string) {\n return href.includes(\"#\") ? href.substring(href.indexOf(\"#\") + 1) : \"\";\n }\n\n /**\n * check if the path is referencing a camel route\n */\n static isCamelRoute(path: string) {\n return (\n path.startsWith(\"/restServices\") && !path.startsWith(\"/restServices/ui\")\n );\n }\n\n static checkAbsoluteUrl(href: string) {\n const checkAbsolute = new RegExp(\"^(?:[a-z]+:)?//\", \"i\");\n return checkAbsolute.test(href);\n }\n}\n","import hash from \"hash-it\";\n\nimport type { SectionFragment } from \"../../models/concepts/types\";\nimport type { Href } from \"../../models/href/Href\";\n\n/**\n * https://werxltd.com/wp/2010/05/13/javascript-implementation-of-javas-string-hashcode-method/\n */\nexport const createHash = (str: string) => {\n return hash(str);\n};\n\nexport const createHashFromHref = (\n href: Href | undefined,\n fragment?: SectionFragment,\n) => {\n if (href == null) {\n return 0;\n }\n\n const hrefString = href.hash\n ? [href.toString(), href.hash].join(\"#\")\n : href.toString();\n\n if (fragment) {\n return hash({ hrefString, fragment });\n }\n\n return hash(hrefString);\n};\n","import type { ErrorMessage, TextWithPlaceholders } from \"../../types/types\";\n\n/**\n * Handles text that is in the ApplicationMessage form\n */\nexport const retrieveText = (\n text: string | undefined | ErrorMessage | TextWithPlaceholders,\n) => {\n if (typeof text === \"string\") {\n return text;\n }\n\n if (\n typeof text === \"object\" &&\n \"message\" in text &&\n typeof text.message === \"string\"\n ) {\n return text.message;\n }\n\n return;\n};\n","// @see: https://docs.oracle.com/javase/tutorial/i18n/format/decimalFormat.html\nexport class DecimalFormat {\n private _prefix = \"\";\n private _suffix = \"\";\n\n // Grouping size\n private _comma = 0;\n // Minimum integer digits to be displayed\n private _minInt = 1;\n\n // Minimum fractional digits to be displayed\n private _minFrac = 0;\n // Maximum fractional digits to be displayed\n private _maxFrac = 0;\n\n private _isPercentage = false;\n\n constructor(format: string) {\n this.setAffix(format);\n this.setFractionLengths(format);\n this.setGroupLength(format);\n this.setMinLength(format);\n\n this.setPercentage();\n }\n\n get prefix(): string {\n return this._prefix;\n }\n\n get suffix(): string {\n return this._suffix;\n }\n\n get comma(): number {\n return this._comma;\n }\n\n get minInt(): number {\n return this._minInt;\n }\n\n get minFrac(): number {\n return this._minFrac;\n }\n\n get maxFrac(): number {\n return this._maxFrac;\n }\n\n get isPercentage(): boolean {\n return this._isPercentage;\n }\n\n setAffix(format: string) {\n const beforeDigit = format.includes(\"#\")\n ? format.substring(0, format.indexOf(\"#\"))\n : format;\n\n this._prefix = beforeDigit.includes(\"0\")\n ? beforeDigit.substring(0, beforeDigit.indexOf(\"0\"))\n : beforeDigit;\n this._suffix = format\n .substring(this._prefix.length)\n .replace(/[#,.0]/gu, \"\");\n }\n\n setFractionLengths(format: string) {\n const numberStr = format.replace(/[^#,.0]/gu, \"\");\n if (numberStr.includes(\".\")) {\n const fracStr = numberStr.substring(numberStr.indexOf(\".\") + 1);\n\n const maxFrac = fracStr.replace(/,|\\.+/g, \"\");\n this._maxFrac = maxFrac.length;\n\n // replace all but zeros\n const minFrac = maxFrac.replace(/[^0]/gu, \"\");\n this._minFrac = minFrac.length;\n }\n }\n\n setGroupLength(format: string) {\n const numberStr = format.replace(/[^#,.0]/gu, \"\");\n const intStr = numberStr.includes(\".\")\n ? numberStr.substring(0, numberStr.indexOf(\".\"))\n : numberStr;\n\n if (intStr.includes(\",\")) {\n this._comma = intStr.length - 1 - intStr.lastIndexOf(\",\");\n }\n }\n\n setMinLength(format: string) {\n const intFormatStr = format.includes(\".\")\n ? format.substring(0, format.indexOf(\".\"))\n : format;\n const intStr = intFormatStr.replace(/[^0]/gu, \"\");\n\n this._minInt = intStr.length > 1 ? intStr.length : 1;\n }\n\n setPercentage() {\n this._isPercentage = this.suffix.charAt(0) === \"%\";\n }\n\n /**\n * Solves problem where big numbers loose the precision:\n * e.g. Number(23423423423342234.34) => 23423423423342236\n */\n static getNumericString(stringNumber: string): string {\n const number = Number(stringNumber);\n const string = String(number);\n\n if (!string.includes(\".\") && stringNumber.includes(\".\")) {\n // check if original string has all zeros after dot or not\n const precision = stringNumber.substring(stringNumber.indexOf(\".\") + 1);\n if (precision.replace(/0/gu, \"\").length > 0) {\n return stringNumber;\n }\n\n return string;\n }\n\n return stringNumber;\n }\n\n /**\n * Converts formatted value back to non-formatted value\n * e.g. $1,223.06 --> 1223.06\n */\n formatBack(formattedNumber: string): string {\n const stringNumber = String(formattedNumber);\n\n if (!stringNumber) {\n return \"\";\n }\n\n if (!isNaN(Number(stringNumber))) {\n return DecimalFormat.getNumericString(stringNumber);\n }\n\n let tempNumber = formattedNumber;\n\n let negative = false;\n if (formattedNumber.charAt(0) === \"-\") {\n tempNumber = formattedNumber.substr(1);\n negative = true;\n }\n\n const hasPrefix = formattedNumber.startsWith(this.prefix);\n\n const suffixIndex =\n this.suffix === \"\"\n ? formattedNumber.length\n : formattedNumber.indexOf(this.suffix, this.prefix.length + 1);\n\n if (hasPrefix && suffixIndex > 0) {\n tempNumber = tempNumber.substr(0, suffixIndex);\n tempNumber = tempNumber.substr(this.prefix.length);\n tempNumber = tempNumber.replace(/,/gu, \"\");\n\n if (negative) {\n tempNumber = `-${tempNumber}`;\n }\n\n if (!isNaN(Number(tempNumber))) {\n return DecimalFormat.getNumericString(tempNumber);\n }\n }\n\n return tempNumber;\n }\n\n static scientificNumber(stringNumber: string): string {\n if (stringNumber.includes(\"e\")) {\n const number = Number(stringNumber);\n if (number === Infinity || number === -Infinity) {\n return stringNumber;\n }\n\n return String(number);\n }\n\n return stringNumber;\n }\n\n getFracAsNumber(fracStr: string): string {\n const number = Number(`0.${fracStr}`);\n const DECIMAL_RADIX = 10;\n\n return this.maxFrac === 0\n ? Math.round(number).toString(DECIMAL_RADIX)\n : number.toFixed(this.maxFrac);\n }\n\n getRoundedFrac(fracStr: string): string {\n const num = this.getFracAsNumber(fracStr);\n\n // toFixed method has bugs on IE (0.7 --> 0)\n return num.substr(2);\n }\n\n static getFraction(number: string): string {\n let fracStr = number.includes(\".\")\n ? number.substring(number.indexOf(\".\") + 1)\n : \"\";\n\n fracStr = fracStr.replace(/\\./, \"\");\n\n return fracStr;\n }\n\n getFracCorrectLength(frac: string): string {\n let fracStr = frac;\n\n if (fracStr.length > this.maxFrac) {\n fracStr = this.getRoundedFrac(fracStr);\n }\n\n for (let i = fracStr.length; i < this.minFrac; i++) {\n // if minFrac=4 then 1.12 --> 1.1200\n fracStr = `${fracStr}0`;\n }\n\n while (\n fracStr.length > this.minFrac &&\n fracStr.charAt(fracStr.length - 1) === \"0\"\n ) {\n // if minInt=4 then 00034 --> 0034)\n fracStr = fracStr.substring(0, fracStr.length - 1);\n }\n\n return fracStr;\n }\n\n getInteger(number: string): string {\n let intStr = number.includes(\".\")\n ? number.substring(0, number.indexOf(\".\"))\n : number;\n\n let doCarry = Number(this.getFracAsNumber(number)) > 1;\n let i = intStr.length - 1;\n\n while (doCarry) {\n if (i === -1) {\n intStr = `1${intStr}`;\n break;\n }\n\n let x = intStr.charAt(i);\n if (x === \"9\") {\n x = \"0\";\n } else {\n x = `${x + 1}`;\n doCarry = false;\n }\n\n intStr =\n intStr.substring(0, i) + x + intStr.substring(i + 1, intStr.length);\n\n i -= 1;\n }\n\n for (let j = intStr.length; j < this.minInt; j++) {\n // if minInt=4 then 034 --> 0034\n intStr = `0${intStr}`;\n }\n\n while (intStr.length > this.minInt && intStr.charAt(0) === \"0\") {\n // if minInt=4 then 00034 --> 0034)\n intStr = intStr.substring(1);\n }\n\n return intStr;\n }\n\n addGrouping(intStr: string): string {\n let groupedIntStr = intStr;\n\n let j = 0;\n for (let i = groupedIntStr.length; i > 0; i--) {\n // add commas\n if (j !== 0 && j % this.comma === 0) {\n groupedIntStr = `${groupedIntStr.substring(\n 0,\n i,\n )},${groupedIntStr.substring(i)}`;\n j = 0;\n }\n\n j += 1;\n }\n\n return groupedIntStr;\n }\n\n getFormattedValue(\n intStr: string,\n fracStr: string,\n isNegative: boolean,\n ): string {\n let formattedValue;\n if (fracStr.length > 0)\n formattedValue = `${this.prefix + intStr}.${fracStr}${this.suffix}`;\n else formattedValue = this.prefix + intStr + this.suffix;\n\n if (isNegative) {\n formattedValue = `-${formattedValue}`;\n }\n\n return formattedValue;\n }\n\n /**\n * Formats given value, using the pattern\n * e.g. $#,###.00: 1223.06 --> $1,223.06\n */\n format(stringNumber = \"\"): string {\n if (stringNumber === null) {\n return \"\";\n }\n\n let formattedNumber = this.formatBack(stringNumber).toLowerCase();\n\n if (isNaN(Number(formattedNumber)) || formattedNumber.length === 0) {\n return stringNumber;\n }\n\n formattedNumber = DecimalFormat.scientificNumber(formattedNumber);\n if (formattedNumber.includes(\"e\")) {\n return formattedNumber;\n }\n\n const isNegative = formattedNumber.charAt(0) === \"-\";\n if (isNegative || formattedNumber.charAt(0) === \"+\") {\n formattedNumber = formattedNumber.substring(1);\n }\n\n let fracStr = DecimalFormat.getFraction(formattedNumber);\n let intStr = this.getInteger(formattedNumber);\n if (this.isPercentage) {\n // Add zeros behind fraction to make sure we have at least two characters and take first two character:\n // 1 --> 100 --> 10\n const addZeroToFrac = `${fracStr}00`.substr(0, 2);\n // Add zeros in front of frac and get last two characters\n const lastTwoFrac = `00${addZeroToFrac}`.substr(-2);\n\n intStr = `${intStr}${lastTwoFrac}`;\n fracStr = fracStr.substr(2);\n }\n\n fracStr = this.getFracCorrectLength(fracStr);\n\n intStr = this.addGrouping(intStr);\n\n return this.getFormattedValue(intStr, fracStr, isNegative);\n }\n}\n","import big from \"big.js\";\n\nimport { IllegalArgumentException } from \"../../exceptions/IllegalArgumentException\";\nimport { DecimalFormat } from \"./DecimalFormat\";\n\nimport type { MaybeAttributeValue } from \"../../models/attributes/types\";\n\nexport class NumberUtil {\n private static removeGroupingSeparator = (\n input: string | number,\n groupingSeparator?: string,\n ) => {\n if (typeof input === \"number\") {\n return input;\n }\n\n if (groupingSeparator == null) {\n return input;\n }\n\n const escapedGroupingSeparator = groupingSeparator.replace(\n /[$()*+.?[\\\\\\]^{|}]/g,\n \"\\\\$&\",\n );\n\n return input.replace(new RegExp(escapedGroupingSeparator, \"g\"), \"\");\n };\n\n private static updateDecimalSeparator = (\n input: string | number,\n decimalSeparator?: string,\n ) => {\n if (typeof input === \"number\") {\n return input;\n }\n\n if (decimalSeparator == null || decimalSeparator === \"\") {\n return input;\n }\n\n return input.replace(decimalSeparator, \".\");\n };\n\n /**\n * Parses input into a number, removes the grouping separator from the input and\n * replaces the decimal separator with a dot to make it a JavaScript parseable number\n */\n static parseToNumber = (\n input?: MaybeAttributeValue,\n groupingSeparator = \",\",\n decimalSeparator = \".\",\n ): number => {\n if (\n !(typeof input === \"number\" || typeof input === \"string\") ||\n input === \"\"\n ) {\n return NaN;\n }\n\n const inputNoGrouping = this.removeGroupingSeparator(\n input,\n groupingSeparator,\n );\n\n const inputCorrectDecimalSeparator = this.updateDecimalSeparator(\n inputNoGrouping,\n decimalSeparator,\n );\n\n return Number(inputCorrectDecimalSeparator);\n };\n\n /**\n * parses Numbers To String\n */\n static parseNumberToString = (\n input?: string | number | null | undefined,\n groupingSeparator = \",\",\n decimalSeparator = \".\",\n ): string => {\n if (input == null || input === \"\") {\n return \"NaN\";\n }\n\n const inputNoGrouping = this.removeGroupingSeparator(\n input,\n groupingSeparator,\n );\n\n const inputCorrectDecimalSeparator = this.updateDecimalSeparator(\n inputNoGrouping,\n decimalSeparator,\n );\n\n try {\n return big(inputCorrectDecimalSeparator).toFixed();\n } catch (_error) {\n return \"NaN\";\n }\n };\n\n private static updateGroupingSeparator(\n input: string,\n groupingSeparator: string,\n ) {\n if (groupingSeparator == null) {\n return input;\n }\n\n return input.replace(/,/g, groupingSeparator);\n }\n\n static formatNumber(\n value: number | string | null | undefined,\n format: string | undefined = \"#\",\n groupingSeparator = \",\",\n decimalSeparator = \".\",\n ) {\n if (value == null) {\n return \"\";\n }\n\n const numberValue =\n typeof value === \"number\"\n ? value\n : this.parseToNumber(value, groupingSeparator, decimalSeparator);\n\n if (typeof numberValue !== \"number\") {\n throw new IllegalArgumentException(\n `Not a valid number: ${value} for formatValue`,\n );\n }\n\n const stringValue = this.parseNumberToString(numberValue);\n\n if (format != null) {\n const formattedValue = new DecimalFormat(format).format(stringValue);\n\n const [integer, decimal] = formattedValue.split(\".\");\n\n const integerPart = this.updateGroupingSeparator(\n integer,\n groupingSeparator,\n );\n\n if (decimal) {\n return `${integerPart}${decimalSeparator}${decimal}`;\n }\n\n return integerPart;\n }\n\n return stringValue;\n }\n\n static isSameOrBefore(startValue: number, endValue: number) {\n return startValue <= endValue;\n }\n\n static isBefore(startValue: number, endValue: number) {\n return startValue < endValue;\n }\n}\n"],"mappings":"0NAAA,OAAS,aAAAA,MAAiB,QAEnB,IAAe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","itemIndex","index","callbackfn","thisArg","compareFn","Cookies","getCookie","name","Cookies","setCookie","value","options","attributes","getContextPathServer","clearCookie","tz","add","endOfMonth","format","getDay","getHours","getMinutes","getWeek","isAfter","isBefore","isSameDay","isValid","enGB","nl","parse","set","startOfMonth","startOfWeek","sub","soft","BaseDateTimeUtil","isoFormat","doOffsets","isIncludeTimeOffsetInDateTimes","weekStartsOn","getNumberSetting","DEFAULT_WEEK_STARTS_ON","firstWeekContainsDate","DEFAULT_FIRST_WEEK_CONTAINS_DATE","DATETIME_OFFSET_FORMAT","javaFormat","javaToUTS35Map","uts35Format","sortedKeys","a","b","javaToken","uts35Token","regex","defaultLocale","getEnabledLocales","getCookie","nl","enGB","date","inputFormat","parse","targetFormat","parsedDate","isValid","format","sourceFormat","formattedValue","isBefore","isAfter","inputDate","afterISODate","beforeISODate","compareDate","isSameDay","weekDay","getDay","dateTime","x","newDate","add","time","calculationFn","property","value","amount","sub","method","options","startOfMonth","endOfMonth","startOfWeek","getHours","getMinutes","getWeek","set","year","month","day","hour","minute","second","millisecond","hours","minutes","seconds","milliseconds","timeZone","IS_GRAALJS","tz","dateOffset","offsets","info","sign","absOffset","offsetString","timezone","soft","daylight","standard","DateUtil","ISO_DATE_FORMAT","DateTimeUtil","ISO_DATETIME_FORMAT","TimeUtil","ISO_TIME_FORMAT","TimestampUtil","ISO_TIMESTAMP_FORMAT","immerable","Parameter","_Parameter","immerable","prefix","name","value","parameter","param","key","PARAMETER_SEPARATOR","withPrefix","val","uiParameterSetting","getSetting","ParameterCollection","_ParameterCollection","BaseCollection","search","parameterCollection","value","key","Parameter","url","param","withPrefix","prefix","name","valueToRemove","newValue","val","immerable","Href","_Href","immerable","getContextPathModularUI","ParameterCollection","href","resourcetype","modelOptions","location","origin","contextPath","path","parameters","hash","state","method","name","value","prefix","Parameter","param","withPrefix","querystring","thisPath","otherPath","other","thisParams","getContentPath","referenceHash","hash","createHash","str","createHashFromHref","href","fragment","hrefString","retrieveText","text","DecimalFormat","_DecimalFormat","format","beforeDigit","numberStr","maxFrac","minFrac","intStr","stringNumber","number","string","formattedNumber","tempNumber","negative","hasPrefix","suffixIndex","fracStr","frac","i","doCarry","x","j","groupedIntStr","isNegative","formattedValue","lastTwoFrac","big","NumberUtil","input","groupingSeparator","escapedGroupingSeparator","decimalSeparator","inputNoGrouping","inputCorrectDecimalSeparator","big","value","format","numberValue","IllegalArgumentException","stringValue","formattedValue","DecimalFormat","integer","decimal","integerPart","startValue","endValue"]}
@@ -0,0 +1,2 @@
1
+ import{a as h,b as x,c as u,d as O,e as g,f as y}from"./chunk-FGEQKEJQ.js";import{a as T,b as o}from"./chunk-YUOGIFZH.js";import{a}from"./chunk-VGAPPKHA.js";import{e as w,g as H,k as c,v}from"./chunk-LYBG43T6.js";import{b as R,c as E}from"./chunk-77CGPEAQ.js";var C=e=>{let t=e.url.includes("http")?e.url:e.url.replace(v(),""),s=e.params?e.params.replace("includeContext=true",""):"",n=s===""?t:`${t}?${s}`,r=dataFetcher.fetch(n,e);try{let i=JSON.parse(r);return i.error?Promise.reject(new h(i,void 0,e)):Promise.resolve(i)}catch(i){return Promise.reject(i)}};var p=R(T(),1);var L=0,q=200,S=400,P=401,b=300,F=404,m="application/json",l=class{_options;_attempts=0;_xmlhttp=new XMLHttpRequest;constructor(t){this._options=t}get xmlhttp(){return this._xmlhttp}set xmlhttp(t){this._xmlhttp=t}get options(){return this._options}set options(t){this._options=t}get attempts(){return this._attempts}set attempts(t){this._attempts=t}get url(){let{url:t}=this.options;if(this.params!==""){if(t.includes("?")){let s=t.split("?");return`${s[0]}?${s[1]}&${this.params}`}return`${t}?${this.params}`}return t}get params(){return this.options.params||""}get data(){return this.options.data||null}get method(){return this.options.method||"GET"}get timeout(){return this.options.timeout||H("XHR_TIMEOUT_MS",3e5)}get responseType(){return this.options.responseType||"json"}get events(){return this.options.events||{}}getBaseLocale(){return typeof navigator<"u"&&navigator.language&&navigator.language.split("-")[0]||"en"}get headers(){let t={Accept:m,"Content-Type":m,"X-Requested-With":"XMLHttpRequest","Accept-Language":this.getBaseLocale()};return this.options.headers?{...t,...this.options.headers}:t}timeoutHandler(t){return t(new g(this.url,this.method))}errorHandler(t,s){let{status:n}=this.xmlhttp,{isReload:r}=this.options;return t(n===L?new u(this.url,this.method):n===F?new O(this.url,this.method,r):n===P?new y(this.url,this.method,s):new h(s,this.xmlhttp,this.options))}getResponse(){let{responseType:t,response:s}=this.xmlhttp;if((t===""||t==="text")&&this.getResponseHeader("Content-Type")===m){if((0,p.isPlainObject)(s))return s;try{return JSON.parse(s)}catch(n){throw new x(n)}}return s}responseHandler(t,s){let{status:n}=this.xmlhttp,r=null;try{r=this.getResponse()}catch(i){return s(i)}return n>=q&&n<b||n===S&&(0,p.has)(r,"formresponse")?t(r):this.errorHandler(s,r)}setEventListeners(t,s){let n=this.options.onProgress;n&&["load","loadend","loadstart","progress"].forEach(r=>{this.xmlhttp.addEventListener(r,i=>n(i))}),["abort","error"].forEach(r=>{this.xmlhttp.addEventListener(r,()=>this.errorHandler(s))}),this.xmlhttp.addEventListener("timeout",()=>this.timeoutHandler(s)),this.xmlhttp.addEventListener("load",()=>this.responseHandler(t,s)),Object.keys(this.events).forEach(r=>{this.xmlhttp.addEventListener(r,this.events[r])})}openConnection(){this.xmlhttp.open(this.method,this.url,!0)}setBasicAuthentication(){if(o.hasItem("basic")){let t=o.getItem("basic");typeof t=="string"&&this.xmlhttp.setRequestHeader("Authorization",`Basic ${t}`)}}getResponseHeader(t){return this.xmlhttp.getResponseHeader(t)}setCustomHeaders(){let t=this.headers;Object.keys(t).forEach(s=>{this.xmlhttp.setRequestHeader(s,t[s])})}setOtherOptions(){(this.options.withCredentials||w("XHR_ALWAYS_WITH_CREDENTIALS",o.hasItem("basic")))&&(this.xmlhttp.withCredentials=!0),this.xmlhttp.responseType=this.responseType,this.xmlhttp.timeout=this.timeout}sendData(){if(this.data==null)this.xmlhttp.send();else{let t=typeof this.data=="object"?JSON.stringify(this.data):this.data;this.xmlhttp.send(t)}}handleXMLHttpRequest(){return new Promise((t,s)=>{this.setEventListeners(t,s),this.openConnection(),this.setBasicAuthentication(),this.setCustomHeaders(),this.setOtherOptions(),this.sendData()})}async fetch(){try{return await this.handleXMLHttpRequest()}catch(t){if(t instanceof u&&this.attempts<2)return this.attempts+=1,this.fetch();throw t}}},M=e=>{if(e==null)throw new a("Missing request options, expecting an object as argument for xhr");if(!(0,p.isPlainObject)(e))throw new a(`Expecting an object as argument for xhr, but received: ${e.toString()}`);if(!(0,p.has)(e,"url"))throw new a(`No url property found in arguments of xhr, received: ${JSON.stringify(e)}`);return!0},_=e=>(M(e),new l(e).fetch());var I=R(T(),1);var d="is-fetching",N=e=>{let t=3e3,s=100;return new Promise((n,r)=>{let i=()=>{if(o.getItem(e)!==d){let f=o.getItem(e);f!=null?n(f):r(new Error("Empty cached item"))}else t<=0?r(new Error("Empty cached item")):(t=t-s,setTimeout(i,s))};setTimeout(i,s)})},D=e=>{if(c()&&e.cache){let t=o.createResourceKey(e);if(o.hasItem(t)){let s=o.getItem(t);if(s!=null){if(s===d)return N(t);if((0,I.isPlainObject)(s))return Promise.resolve(s)}}o.addItem(t,d)}return _(e).then(t=>{if(c()&&e.cache&&(typeof t=="string"||typeof t=="object")){let s=o.createResourceKey(e);o.addItem(s,t)}return t})},nt=e=>(e.locale&&(e.headers={...e.headers,"Accept-Language":e.locale}),e.includeContext&&(e.url=`${e.url}?includeContext=true`),E?C(e):D(e));export{C as a,_ as b,nt as c};
2
+ //# sourceMappingURL=chunk-CKI2GSM7.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/utils/fetch/graalFetch.ts","../src/utils/fetch/xhr.ts","../src/utils/fetch/universalFetch.ts"],"sourcesContent":["import { FetchException } from \"../../exceptions/FetchException\";\nimport { getContextPath } from \"../../settings/Paths\";\n\nimport type { RequestOptions } from \"./types\";\n\n/**\n * Fetch data from server (expects graaljs).\n */\nexport const graalFetch = (args: RequestOptions): Promise<unknown> => {\n // remove contextPath of url, when the request is internal the context path is not needed\n const urlNoBase = args.url.includes(\"http\")\n ? args.url\n : args.url.replace(getContextPath(), \"\");\n const params = args.params\n ? args.params.replace(\"includeContext=true\", \"\")\n : \"\";\n const url = params === \"\" ? urlNoBase : `${urlNoBase}?${params}`;\n\n const data = dataFetcher.fetch(url, args);\n\n try {\n const jsonData = JSON.parse(data);\n\n if (jsonData.error) {\n return Promise.reject(new FetchException(jsonData, undefined, args));\n }\n\n return Promise.resolve(jsonData);\n } catch (error) {\n return Promise.reject(error);\n }\n};\n","import { has, isPlainObject } from \"lodash\";\n\nimport { HTTP_METHODS } from \"../../constants/Constants\";\nimport { FetchException } from \"../../exceptions/FetchException\";\nimport { IllegalArgumentException } from \"../../exceptions/IllegalArgumentException\";\nimport { JsonParseException } from \"../../exceptions/JsonParseException\";\nimport { NetworkException } from \"../../exceptions/NetworkException\";\nimport { NotFoundException } from \"../../exceptions/NotFoundException\";\nimport { TimeoutException } from \"../../exceptions/TimeoutException\";\nimport { UnauthorizedException } from \"../../exceptions/UnauthorizedException\";\nimport { getNumberSetting, getSetting } from \"../../settings/Settings\";\nimport { Cache } from \"../storage/Cache\";\n\nimport type { ModularUIErrorJSON } from \"../../exceptions/types\";\nimport type { RequestOptions } from \"./types\";\n\ntype RejectFunction = (reason?: unknown) => void;\ntype ResolveFunction<R = unknown> = (value: R | PromiseLike<R>) => void;\n\nconst NETWORK_ERROR_CODE = 0;\nconst SUCCESS_CODE = 200;\nconst CLIENT_ERROR_CODE = 400;\nconst UNAUTHORIZED_CODE = 401;\nconst REDIRECTION_CODE = 300;\nconst NOT_FOUND_CODE = 404;\n\nconst JSON_TYPE = \"application/json\";\n\nclass XHR<R = unknown> {\n private _options: RequestOptions;\n private _attempts = 0;\n\n private _xmlhttp: XMLHttpRequest = new XMLHttpRequest();\n\n constructor(options: RequestOptions) {\n this._options = options;\n }\n\n get xmlhttp() {\n return this._xmlhttp;\n }\n\n set xmlhttp(xmlhttp: XMLHttpRequest) {\n this._xmlhttp = xmlhttp;\n }\n\n get options() {\n return this._options;\n }\n\n set options(options: RequestOptions) {\n this._options = options;\n }\n\n get attempts() {\n return this._attempts;\n }\n\n set attempts(attempts: number) {\n this._attempts = attempts;\n }\n\n /**\n * Create and fix url when params or both querystring and params exist.\n */\n get url() {\n const { url } = this.options;\n if (this.params !== \"\") {\n if (url.includes(\"?\")) {\n const aUrl = url.split(\"?\");\n\n return `${aUrl[0]}?${aUrl[1]}&${this.params}`;\n }\n\n return `${url}?${this.params}`;\n }\n\n return url;\n }\n\n get params() {\n return this.options.params || \"\";\n }\n\n get data() {\n return this.options.data || null;\n }\n\n get method(): HTTP_METHODS {\n return this.options.method || HTTP_METHODS.GET;\n }\n\n get timeout() {\n return this.options.timeout || getNumberSetting(\"XHR_TIMEOUT_MS\", 300000);\n }\n\n get responseType(): XMLHttpRequestResponseType {\n return this.options.responseType || \"json\";\n }\n\n private get events(): Record<string, () => undefined> {\n return this.options.events || {};\n }\n\n private getBaseLocale() {\n if (typeof navigator !== \"undefined\" && navigator.language) {\n return navigator.language.split(\"-\")[0] || \"en\";\n }\n\n return \"en\";\n }\n\n get headers(): Record<string, string> {\n const baseHeaders = {\n Accept: JSON_TYPE,\n \"Content-Type\": JSON_TYPE,\n\n // needed for csrf, see: https://plaza.beinformed.com/amdoc/csrf-protection-in-modular-ui-services-40054554.html\n \"X-Requested-With\": \"XMLHttpRequest\",\n\n \"Accept-Language\": this.getBaseLocale(),\n };\n\n if (this.options.headers) {\n return {\n ...baseHeaders,\n ...this.options.headers,\n };\n }\n\n return baseHeaders;\n }\n\n timeoutHandler(reject: RejectFunction) {\n return reject(new TimeoutException(this.url, this.method));\n }\n\n errorHandler(reject: RejectFunction, responseJSON?: ModularUIErrorJSON) {\n const { status } = this.xmlhttp;\n const { isReload } = this.options;\n\n if (status === NETWORK_ERROR_CODE) {\n return reject(new NetworkException(this.url, this.method));\n }\n\n if (status === NOT_FOUND_CODE) {\n return reject(new NotFoundException(this.url, this.method, isReload));\n }\n\n if (status === UNAUTHORIZED_CODE) {\n return reject(\n new UnauthorizedException(this.url, this.method, responseJSON),\n );\n }\n\n return reject(new FetchException(responseJSON, this.xmlhttp, this.options));\n }\n\n getResponse(): R {\n const { responseType, response } = this.xmlhttp;\n\n if (\n (responseType === \"\" || responseType === \"text\") &&\n this.getResponseHeader(\"Content-Type\") === JSON_TYPE\n ) {\n if (isPlainObject(response)) {\n return response;\n }\n\n try {\n return JSON.parse(response);\n } catch (error) {\n throw new JsonParseException(error as SyntaxError);\n }\n }\n\n return response;\n }\n\n responseHandler(resolve: ResolveFunction<R>, reject: RejectFunction) {\n const { status } = this.xmlhttp;\n\n let response = null;\n try {\n response = this.getResponse();\n } catch (error) {\n return reject(error);\n }\n\n if (\n (status >= SUCCESS_CODE && status < REDIRECTION_CODE) ||\n (status === CLIENT_ERROR_CODE && has(response, \"formresponse\"))\n ) {\n return resolve(response);\n }\n\n return this.errorHandler(reject, response as ModularUIErrorJSON);\n }\n\n setEventListeners(resolve: ResolveFunction<R>, reject: RejectFunction) {\n const progressEvent = this.options.onProgress;\n if (progressEvent) {\n [\"load\", \"loadend\", \"loadstart\", \"progress\"].forEach((eventType) => {\n this.xmlhttp.addEventListener(eventType, (event) =>\n progressEvent(event as ProgressEvent<XMLHttpRequest>),\n );\n });\n }\n\n [\"abort\", \"error\"].forEach((eventType) => {\n this.xmlhttp.addEventListener(eventType, () => this.errorHandler(reject));\n });\n\n this.xmlhttp.addEventListener(\"timeout\", () => this.timeoutHandler(reject));\n\n this.xmlhttp.addEventListener(\"load\", () =>\n this.responseHandler(resolve, reject),\n );\n\n // Set custom events\n Object.keys(this.events).forEach((eventName) => {\n this.xmlhttp.addEventListener(eventName, this.events[eventName]);\n });\n }\n\n openConnection() {\n this.xmlhttp.open(this.method, this.url, true);\n }\n\n setBasicAuthentication() {\n if (Cache.hasItem(\"basic\")) {\n const basicToken = Cache.getItem(\"basic\");\n if (typeof basicToken === \"string\") {\n this.xmlhttp.setRequestHeader(\"Authorization\", `Basic ${basicToken}`);\n }\n }\n }\n\n getResponseHeader(headerName: string) {\n return this.xmlhttp.getResponseHeader(headerName);\n }\n\n setCustomHeaders() {\n const allHeaders = this.headers;\n\n Object.keys(allHeaders).forEach((headerName) => {\n this.xmlhttp.setRequestHeader(headerName, allHeaders[headerName]);\n });\n }\n\n setOtherOptions() {\n if (\n this.options.withCredentials ||\n getSetting(\"XHR_ALWAYS_WITH_CREDENTIALS\", Cache.hasItem(\"basic\"))\n ) {\n this.xmlhttp.withCredentials = true;\n }\n this.xmlhttp.responseType = this.responseType;\n this.xmlhttp.timeout = this.timeout;\n }\n\n sendData() {\n if (this.data == null) {\n this.xmlhttp.send();\n } else {\n const stringData =\n typeof this.data === \"object\" ? JSON.stringify(this.data) : this.data;\n this.xmlhttp.send(stringData);\n }\n }\n\n handleXMLHttpRequest(): Promise<R> {\n return new Promise((resolve, reject) => {\n this.setEventListeners(resolve, reject);\n\n this.openConnection();\n\n this.setBasicAuthentication();\n\n this.setCustomHeaders();\n\n this.setOtherOptions();\n\n this.sendData();\n });\n }\n\n async fetch(): Promise<R> {\n try {\n return await this.handleXMLHttpRequest();\n } catch (err) {\n if (err instanceof NetworkException && this.attempts < 2) {\n this.attempts += 1;\n return this.fetch();\n }\n\n throw err;\n }\n }\n}\n\nconst validateInputArguments = (args: RequestOptions) => {\n if (args == null) {\n throw new IllegalArgumentException(\n \"Missing request options, expecting an object as argument for xhr\",\n );\n }\n\n if (!isPlainObject(args)) {\n throw new IllegalArgumentException(\n `Expecting an object as argument for xhr, but received: ${args.toString()}`,\n );\n }\n\n if (!has(args, \"url\")) {\n throw new IllegalArgumentException(\n `No url property found in arguments of xhr, received: ${JSON.stringify(\n args,\n )}`,\n );\n }\n\n return true;\n};\n\nexport const xhr = <R = unknown>(args: RequestOptions): Promise<R> => {\n validateInputArguments(args);\n\n return new XHR<R>(args).fetch();\n};\n","import { isPlainObject } from \"lodash\";\n\nimport { IS_GRAALJS } from \"../../constants/Constants\";\nimport { cacheContributions } from \"../../settings/Settings\";\nimport { Cache } from \"../storage/Cache\";\nimport { graalFetch } from \"./graalFetch\";\nimport { xhr } from \"./xhr\";\n\nimport type { RequestOptions } from \"./types\";\n\ntype CachedResponse = unknown;\n\nconst IS_FETCHING = \"is-fetching\";\n\n/**\n * Checks each x ms if a cache item is set after fetching the item.\n */\nconst waitForCachedItem = (cacheKey: string) => {\n let TIMEOUT = 3000;\n const CHECK_TIMEOUT = 100;\n\n return new Promise<CachedResponse>((resolve, reject) => {\n const check = () => {\n if (Cache.getItem(cacheKey) !== IS_FETCHING) {\n const cachedItem = Cache.getItem(cacheKey);\n if (cachedItem != null) {\n resolve(cachedItem);\n } else {\n reject(new Error(\"Empty cached item\"));\n }\n } else if (TIMEOUT <= 0) {\n reject(new Error(\"Empty cached item\"));\n } else {\n TIMEOUT = TIMEOUT - CHECK_TIMEOUT;\n setTimeout(check, CHECK_TIMEOUT);\n }\n };\n\n setTimeout(check, CHECK_TIMEOUT);\n });\n};\n\nconst browserFetch = (args: RequestOptions) => {\n if (cacheContributions() && args.cache) {\n const cacheKey = Cache.createResourceKey(args);\n\n if (Cache.hasItem(cacheKey)) {\n const cacheItem = Cache.getItem(cacheKey);\n\n if (cacheItem != null) {\n if (cacheItem === IS_FETCHING) {\n return waitForCachedItem(cacheKey);\n } else if (isPlainObject(cacheItem)) {\n return Promise.resolve(cacheItem);\n }\n }\n }\n\n Cache.addItem(cacheKey, IS_FETCHING);\n }\n\n return xhr(args).then((response) => {\n if (cacheContributions() && args.cache) {\n if (typeof response === \"string\" || typeof response === \"object\") {\n const cacheKey = Cache.createResourceKey(args);\n Cache.addItem(cacheKey, response);\n }\n }\n\n return response;\n });\n};\n\n/**\n * Request data from server, uses server datafetcher or xhr in browser.\n */\nexport const universalFetch = (args: RequestOptions) => {\n // Set locale as Accept-Language header\n if (args.locale) {\n args.headers = {\n ...args.headers,\n \"Accept-Language\": args.locale,\n };\n }\n\n if (args.includeContext) {\n args.url = `${args.url}?includeContext=true`;\n }\n\n // server side no access to the browser cache apis, no cache available\n if (IS_GRAALJS) {\n return graalFetch(args);\n }\n\n return browserFetch(args);\n};\n"],"mappings":"oQAQO,IAAMA,EAAcC,GAA2C,CAEpE,IAAMC,EAAYD,EAAK,IAAI,SAAS,MAAM,EACtCA,EAAK,IACLA,EAAK,IAAI,QAAQE,EAAe,EAAG,EAAE,EACnCC,EAASH,EAAK,OAChBA,EAAK,OAAO,QAAQ,sBAAuB,EAAE,EAC7C,GACEI,EAAMD,IAAW,GAAKF,EAAY,GAAGA,CAAS,IAAIE,CAAM,GAExDE,EAAO,YAAY,MAAMD,EAAKJ,CAAI,EAExC,GAAI,CACF,IAAMM,EAAW,KAAK,MAAMD,CAAI,EAEhC,OAAIC,EAAS,MACJ,QAAQ,OAAO,IAAIC,EAAeD,EAAU,OAAWN,CAAI,CAAC,EAG9D,QAAQ,QAAQM,CAAQ,CACjC,OAASE,EAAO,CACd,OAAO,QAAQ,OAAOA,CAAK,CAC7B,CACF,EC/BA,IAAAC,EAAmC,SAmBnC,IAAMC,EAAqB,EACrBC,EAAe,IACfC,EAAoB,IACpBC,EAAoB,IACpBC,EAAmB,IACnBC,EAAiB,IAEjBC,EAAY,mBAEZC,EAAN,KAAuB,CACb,SACA,UAAY,EAEZ,SAA2B,IAAI,eAEvC,YAAYC,EAAyB,CACnC,KAAK,SAAWA,CAClB,CAEA,IAAI,SAAU,CACZ,OAAO,KAAK,QACd,CAEA,IAAI,QAAQC,EAAyB,CACnC,KAAK,SAAWA,CAClB,CAEA,IAAI,SAAU,CACZ,OAAO,KAAK,QACd,CAEA,IAAI,QAAQD,EAAyB,CACnC,KAAK,SAAWA,CAClB,CAEA,IAAI,UAAW,CACb,OAAO,KAAK,SACd,CAEA,IAAI,SAASE,EAAkB,CAC7B,KAAK,UAAYA,CACnB,CAKA,IAAI,KAAM,CACR,GAAM,CAAE,IAAAC,CAAI,EAAI,KAAK,QACrB,GAAI,KAAK,SAAW,GAAI,CACtB,GAAIA,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AChB,OAAOC,EAAkBC,CAAQ,EAC5B,MAAI,iBAAcW,CAAS,EAChC,OAAO,QAAQ,QAAQA,CAAS,CAEpC,CACF,CAEAL,EAAM,QAAQN,EAAUF,CAAW,CACrC,CAEA,OAAOc,EAAIH,CAAI,EAAE,KAAMI,GAAa,CAClC,GAAIH,EAAmB,GAAKD,EAAK,QAC3B,OAAOI,GAAa,UAAY,OAAOA,GAAa,UAAU,CAChE,IAAMb,EAAWM,EAAM,kBAAkBG,CAAI,EAC7CH,EAAM,QAAQN,EAAUa,CAAQ,CAClC,CAGF,OAAOA,CACT,CAAC,CACH,EAKaC,GAAkBL,IAEzBA,EAAK,SACPA,EAAK,QAAU,CACb,GAAGA,EAAK,QACR,kBAAmBA,EAAK,MAC1B,GAGEA,EAAK,iBACPA,EAAK,IAAM,GAAGA,EAAK,GAAG,wBAIpBM,EACKC,EAAWP,CAAI,EAGjBD,EAAaC,CAAI","names":["graalFetch","args","urlNoBase","getContextPath","params","url","data","jsonData","FetchException","error","import_lodash","NETWORK_ERROR_CODE","SUCCESS_CODE","CLIENT_ERROR_CODE","UNAUTHORIZED_CODE","REDIRECTION_CODE","NOT_FOUND_CODE","JSON_TYPE","XHR","options","xmlhttp","attempts","url","aUrl","getNumberSetting","baseHeaders","reject","TimeoutException","responseJSON","status","isReload","NetworkException","NotFoundException","UnauthorizedException","FetchException","responseType","response","error","JsonParseException","resolve","progressEvent","eventType","event","eventName","cacheInstance","basicToken","headerName","allHeaders","getSetting","stringData","err","validateInputArguments","args","IllegalArgumentException","xhr","import_lodash","IS_FETCHING","waitForCachedItem","cacheKey","TIMEOUT","CHECK_TIMEOUT","resolve","reject","check","cacheInstance","cachedItem","browserFetch","args","cacheContributions","cacheItem","xhr","response","universalFetch","IS_GRAALJS","graalFetch"]}
@@ -0,0 +1,3 @@
1
+ var t={MANDATORY:{hint:"mandatory",description:{NL:"Geeft aan of een attribuut verplicht is. Dient samen met de dependency hint gebruikt te worden.",EN:`Indicates a mandatory attribute.
2
+ Should be used together with the dependency hint.`},link:"",component:["attribute"]},DEPENDENT_ATTRIBUTE_CONTROL:{hint:"dependent-control:${unique-control-id}",description:{NL:"Geeft aan dat dit het attribuut is waar attributen van afhankelijk zijn. Het unique-control-id is een uniek id dat kan worden gebruikt in the hint voor de show|hide actie op het afhankelijke attribuut.",EN:"Marks the choice attribute where other attributes depend on. The unique control id is a unique id that can be used in the hint for the show|hide action on the dependent attribute."},link:"",component:["attribute/boolean","attribute/choice"]},DEPENDENT_ATTRIBUTE_ACTION:{hint:"dependent-attribute:(show|hide) when dependent-control:${unique-control-id} (equals|includes|notEquals|notIncludes) [${codemaps}]",description:{NL:"Toon of verberg een attribute dat afhankelijk is van de geselecteerde opties van een keuze attribute",EN:"To show or hide an attribute dependent on options of the choice control codemap that are selected or not selected."},link:"",component:["attribute"]},SHOW_ONE_RESULT_AS_DETAIL:{hint:"show-one-result-as-detail",description:{NL:"Een lijst met maar \xE9\xE9n item mag direct als detail getoond worden.",EN:"A list with only one detail must be shown as a detail."},link:"",component:["list"]},HIDE_WHEN_EMPTY:{hint:"hide-when-empty",description:{NL:"Een lijst zonder lijst-items en lijst-taken dient niet getoond worden.",EN:"A list without list-items and list-tasks should not be shown."},link:"",component:["list"]},INITIAL_FILTER:{hint:"initial-filter:${filter-name}=${initial-value}",description:{NL:"Laad de lijst met een standaardwaarde voor een filter, er is geen controle op het bestaan van het filter. Als het filter niet is geconfigureerd, treedt er een fout op. Houd er rekening mee dat filters hoofdlettergevoelig zijn.",EN:"Load the list with a default value for a filter, there is no check for the existence of the filter. If the filter is not configured, an error occurs. Keep in mind that filters are case sensitive."},link:"",component:["list"]},CONFIRM_PASSWORD:{hint:"confirm-password",description:{NL:"Wachtwoord attribuut moet bevestigd worden dmv een tweede wachtwoord attribuut.",EN:"Password attribute must be confirmed using a second password attribute."},link:"",component:["attribute/password"]},TITLE:{hint:"title",description:{NL:"Markeert een attribuut als een titel attribuut",EN:"Marks an attribute as a title attribute"},link:"",component:["caseview_table","codemap","list/appointment_table","list/assignment_table","list/caseproperties_table","list/document_table","list/timelimit_table","list/eventhistory_table","list/note_table","list/record_table","list/case_table","list/casesearch_table","list/datastore_table","list/datastoreview_table","list/instrumentresult_table","list/event_table","list/user_table","list/organization_table"]},INITIAL_TOTAL_FILESIZE:{hint:"initial-total-file-size",description:{NL:"Wordt gebruikt in samenwerking met een upload attribuut, deze hint moet worden gezet op een readonly attribuut dat de reeds gebruikte file grootte bevat.",EN:"Used in conjunction with an upload attribute, this hint is set on a read only attribute containing the file size currently used."},link:"",component:["attribute/number"]},MAX_TOTAL_FILESIZE:{hint:"max-total-file-size",description:{NL:"Wordt gebruikt in samenwerking met een upload attribuut, deze hint moet worden gezet op een readonly attribuut dat de maximaal toegestane file grootte bevat.",EN:"Used in conjunction with an upload attribute, this hint is set on a read only attribute containing the maximum allowed total file size."},link:"",component:["attribute/number"]},CREATE_ACTION:{hint:"create",description:{NL:"Markeer taak als cre\xEBer taak.",EN:"Mark task as create task"},component:["form"]},UPDATE_ACTION:{hint:"update",description:{NL:"Markeer taak als bewerk taak.",EN:"Mark task as update task"},component:["form"]},DELETE_ACTION:{hint:"delete",description:{NL:"Markeer taak als verwijder taak.",EN:"Mark task as delete task"},component:["form"]},SORT_OPTIONS:{hint:"sort-options",description:{NL:"Sorteer opties alfabetisch",EN:"Sort options alphabetically"},component:["attribute/choice"]},CASEVIEW_LINK:{hint:"case-view-link",description:{NL:"Markeer een case id reference attribute als de referentie naar de case view. Vervangt de self link van een lijst item",EN:"Mark a case id reference attribute as the reference to the case view. Replaces the self link of a list item"},component:["attribute/reference","list/datastore_table"]},DISABLED:{hint:"disabled",description:{NL:"Geeft aan of een attribuut uitgeschakeld is.",EN:"Indicates a disabled attribute."},component:["attribute"]},HIDE_IN_USER_INTERFACE:{hint:"hide-in-user-interface",description:{NL:"Verberg een tab in de user interface.",EN:"Hide a tab in the user interface."},component:["tab","list","groupingpanel"]},AVATAR:{hint:"avatar",description:{NL:"Geef het attribuut weer als de avatar van de gebruiker.",EN:"Render the attribute as the user's avatar."},link:"",component:["attribute/upload","list/user_table"]},AVATAR_IN_TITLE:{hint:"avatar-in-title",description:{NL:"Geeft aan dat de avatarafbeelding in de titel wordt opgenomen. De avatarafbeelding wordt v\xF3\xF3r het titel attribuut weergegeven in de lijstweergave en de snelle lijst quick view.",EN:"Indicates that the avatar image will be included in the title. The avatar image is shown in front of the title attribute in the list view and list quick view."},link:"",component:["list/user_table"]}};var e=i=>i in t?t[i].hint:"",o=e("MANDATORY"),r=e("DISABLED"),s="dependent-control",l="dependent-attribute:",d=e("CONFIRM_PASSWORD"),c=e("SORT_OPTIONS"),u=e("TITLE"),E=e("DELETE_ACTION"),h=e("UPDATE_ACTION"),p=e("CREATE_ACTION"),b=e("INITIAL_TOTAL_FILESIZE"),T=e("MAX_TOTAL_FILESIZE"),_=e("SHOW_ONE_RESULT_AS_DETAIL"),N=e("HIDE_WHEN_EMPTY"),I="initial-filter:",A=e("CASEVIEW_LINK"),m="render-section-label",L=e("HIDE_IN_USER_INTERFACE"),f=()=>t,k=e("AVATAR_IN_TITLE"),w=e("AVATAR");export{t as a,e as b,o as c,r as d,s as e,l as f,d as g,c as h,u as i,E as j,h as k,p as l,b as m,T as n,_ as o,N as p,I as q,A as r,m as s,L as t,f as u,k as v,w};
3
+ //# sourceMappingURL=chunk-CPYNQW3X.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/layouthints/LayoutHintConfig.ts","../src/layouthints/LayoutHints.ts"],"sourcesContent":["export const LayoutHintConfiguration = {\n MANDATORY: {\n hint: \"mandatory\",\n description: {\n NL: \"Geeft aan of een attribuut verplicht is. Dient samen met de dependency hint gebruikt te worden.\",\n EN: \"Indicates a mandatory attribute.\\nShould be used together with the dependency hint.\",\n },\n link: \"\",\n component: [\"attribute\"],\n },\n DEPENDENT_ATTRIBUTE_CONTROL: {\n hint: \"dependent-control:${unique-control-id}\",\n description: {\n NL: \"Geeft aan dat dit het attribuut is waar attributen van afhankelijk zijn. Het unique-control-id is een uniek id dat kan worden gebruikt in the hint voor de show|hide actie op het afhankelijke attribuut.\",\n EN: \"Marks the choice attribute where other attributes depend on. The unique control id is a unique id that can be used in the hint for the show|hide action on the dependent attribute.\",\n },\n link: \"\",\n component: [\"attribute/boolean\", \"attribute/choice\"],\n },\n DEPENDENT_ATTRIBUTE_ACTION: {\n hint: \"dependent-attribute:(show|hide) when dependent-control:${unique-control-id} (equals|includes|notEquals|notIncludes) [${codemaps}]\",\n description: {\n NL: \"Toon of verberg een attribute dat afhankelijk is van de geselecteerde opties van een keuze attribute\",\n EN: \"To show or hide an attribute dependent on options of the choice control codemap that are selected or not selected.\",\n },\n link: \"\",\n component: [\"attribute\"],\n },\n SHOW_ONE_RESULT_AS_DETAIL: {\n hint: \"show-one-result-as-detail\",\n description: {\n NL: \"Een lijst met maar één item mag direct als detail getoond worden.\",\n EN: \"A list with only one detail must be shown as a detail.\",\n },\n link: \"\",\n component: [\"list\"],\n },\n HIDE_WHEN_EMPTY: {\n hint: \"hide-when-empty\",\n description: {\n NL: \"Een lijst zonder lijst-items en lijst-taken dient niet getoond worden.\",\n EN: \"A list without list-items and list-tasks should not be shown.\",\n },\n link: \"\",\n component: [\"list\"],\n },\n INITIAL_FILTER: {\n hint: \"initial-filter:${filter-name}=${initial-value}\",\n description: {\n NL: \"Laad de lijst met een standaardwaarde voor een filter, er is geen controle op het bestaan van het filter. Als het filter niet is geconfigureerd, treedt er een fout op. Houd er rekening mee dat filters hoofdlettergevoelig zijn.\",\n EN: \"Load the list with a default value for a filter, there is no check for the existence of the filter. If the filter is not configured, an error occurs. Keep in mind that filters are case sensitive.\",\n },\n link: \"\",\n component: [\"list\"],\n },\n CONFIRM_PASSWORD: {\n hint: \"confirm-password\",\n description: {\n NL: \"Wachtwoord attribuut moet bevestigd worden dmv een tweede wachtwoord attribuut.\",\n EN: \"Password attribute must be confirmed using a second password attribute.\",\n },\n link: \"\",\n component: [\"attribute/password\"],\n },\n TITLE: {\n hint: \"title\",\n description: {\n NL: \"Markeert een attribuut als een titel attribuut\",\n EN: \"Marks an attribute as a title attribute\",\n },\n link: \"\",\n component: [\n \"caseview_table\",\n \"codemap\",\n \"list/appointment_table\",\n \"list/assignment_table\",\n \"list/caseproperties_table\",\n \"list/document_table\",\n \"list/timelimit_table\",\n \"list/eventhistory_table\",\n \"list/note_table\",\n \"list/record_table\",\n \"list/case_table\",\n \"list/casesearch_table\",\n \"list/datastore_table\",\n \"list/datastoreview_table\",\n \"list/instrumentresult_table\",\n \"list/event_table\",\n \"list/user_table\",\n \"list/organization_table\",\n ],\n },\n INITIAL_TOTAL_FILESIZE: {\n hint: \"initial-total-file-size\",\n description: {\n NL: \"Wordt gebruikt in samenwerking met een upload attribuut, deze hint moet worden gezet op een readonly attribuut dat de reeds gebruikte file grootte bevat.\",\n EN: \"Used in conjunction with an upload attribute, this hint is set on a read only attribute containing the file size currently used.\",\n },\n link: \"\",\n component: [\"attribute/number\"],\n },\n MAX_TOTAL_FILESIZE: {\n hint: \"max-total-file-size\",\n description: {\n NL: \"Wordt gebruikt in samenwerking met een upload attribuut, deze hint moet worden gezet op een readonly attribuut dat de maximaal toegestane file grootte bevat.\",\n EN: \"Used in conjunction with an upload attribute, this hint is set on a read only attribute containing the maximum allowed total file size.\",\n },\n link: \"\",\n component: [\"attribute/number\"],\n },\n CREATE_ACTION: {\n hint: \"create\",\n description: {\n NL: \"Markeer taak als creëer taak.\",\n EN: \"Mark task as create task\",\n },\n component: [\"form\"],\n },\n UPDATE_ACTION: {\n hint: \"update\",\n description: {\n NL: \"Markeer taak als bewerk taak.\",\n EN: \"Mark task as update task\",\n },\n component: [\"form\"],\n },\n DELETE_ACTION: {\n hint: \"delete\",\n description: {\n NL: \"Markeer taak als verwijder taak.\",\n EN: \"Mark task as delete task\",\n },\n component: [\"form\"],\n },\n SORT_OPTIONS: {\n hint: \"sort-options\",\n description: {\n NL: \"Sorteer opties alfabetisch\",\n EN: \"Sort options alphabetically\",\n },\n component: [\"attribute/choice\"],\n },\n CASEVIEW_LINK: {\n hint: \"case-view-link\",\n description: {\n NL: \"Markeer een case id reference attribute als de referentie naar de case view. Vervangt de self link van een lijst item\",\n EN: \"Mark a case id reference attribute as the reference to the case view. Replaces the self link of a list item\",\n },\n component: [\"attribute/reference\", \"list/datastore_table\"],\n },\n DISABLED: {\n hint: \"disabled\",\n description: {\n NL: \"Geeft aan of een attribuut uitgeschakeld is.\",\n EN: \"Indicates a disabled attribute.\",\n },\n component: [\"attribute\"],\n },\n HIDE_IN_USER_INTERFACE: {\n hint: \"hide-in-user-interface\",\n description: {\n NL: \"Verberg een tab in de user interface.\",\n EN: \"Hide a tab in the user interface.\",\n },\n component: [\"tab\", \"list\", \"groupingpanel\"],\n },\n AVATAR: {\n hint: \"avatar\",\n description: {\n NL: \"Geef het attribuut weer als de avatar van de gebruiker.\",\n EN: \"Render the attribute as the user's avatar.\",\n },\n link: \"\",\n component: [\"attribute/upload\", \"list/user_table\"],\n },\n AVATAR_IN_TITLE: {\n hint: \"avatar-in-title\",\n description: {\n NL: \"Geeft aan dat de avatarafbeelding in de titel wordt opgenomen. De avatarafbeelding wordt vóór het titel attribuut weergegeven in de lijstweergave en de snelle lijst quick view.\",\n EN: \"Indicates that the avatar image will be included in the title. The avatar image is shown in front of the title attribute in the list view and list quick view.\",\n },\n link: \"\",\n component: [\"list/user_table\"],\n },\n};\n","import { LayoutHintConfiguration } from \"./LayoutHintConfig\";\n\n// Define a type for the keys of LayoutHintConfiguration\ntype LayoutHintKey = keyof typeof LayoutHintConfiguration;\n\n/**\n * Retrieve layout hint by id from the layout hint configuration\n */\nexport const getHint = (hint: string) => {\n // Check if hint is a valid key\n if (hint in LayoutHintConfiguration) {\n return LayoutHintConfiguration[hint as LayoutHintKey].hint;\n }\n\n return \"\";\n};\n\n/**\n * Layout-hint: Indicates a mandatory attribute. Should be used together with the dependency hint.\n */\nexport const MANDATORY = getHint(\"MANDATORY\");\n\n/**\n * Layout-hint: Indicates a disabled attribute.\n * @constant\n */\nexport const DISABLED = getHint(\"DISABLED\");\n\n/*\n * --------------------------------\n * SELECT DEPENDENT ATTRIBUTES\n * --------------------------------\n */\n/**\n * Layout-hint: Marks the choice attribute where other attributes depend on. The unique control id is a unique id that can be used in the hint for the show|hide action on the dependent attribute.\n */\nexport const DEPENDENT_ATTRIBUTE_CONTROL = \"dependent-control\";\n\nexport const DEPENDENT_ATTRIBUTE = \"dependent-attribute:\";\n\n/*\n * --------------------------------\n * ATTRIBUTES\n * --------------------------------\n */\n/**\n * Layout-hint: Password attribute must be confirmed using a second password attribute.\n */\nexport const CONFIRM_PASSWORD = getHint(\"CONFIRM_PASSWORD\");\n/**\n * Layout-hint: Sort options alphabetically\n */\nexport const SORT_OPTIONS = getHint(\"SORT_OPTIONS\");\n/**\n * Layout-hint: Marks an attribute as a title attribute\n */\nexport const TITLE = getHint(\"TITLE\");\n\n/*\n * --------------------------------\n * FORM\n * --------------------------------\n */\n/**\n * Layout-hint: Mark task as delete task\n */\nexport const DELETE_ACTION = getHint(\"DELETE_ACTION\");\n/**\n * Layout-hint: Mark task as update task\n */\nexport const UPDATE_ACTION = getHint(\"UPDATE_ACTION\");\n/**\n * Layout-hint: Mark task as create task\n */\nexport const CREATE_ACTION = getHint(\"CREATE_ACTION\");\n\n/*\n * --------------------------------\n * UPLOAD TOTAL FILE SIZE\n * --------------------------------\n */\n/**\n * Layout-hint: Used in conjunction with an upload attribute, this hint is set on a read only attribute containing the file size currently used.\n */\nexport const INITIAL_TOTAL_FILESIZE = getHint(\"INITIAL_TOTAL_FILESIZE\");\n/**\n * Layout-hint: Used in conjunction with an upload attribute, this hint is set on a read only attribute containing the maximum allowed total file size.\n */\nexport const MAX_TOTAL_FILESIZE = getHint(\"MAX_TOTAL_FILESIZE\");\n\n/*\n * --------------------------------\n * LISTS\n * --------------------------------\n */\n/**\n * Layout-hint: A list with only one detail must be shown as a detail\n */\nexport const SHOW_ONE_RESULT_AS_DETAIL = getHint(\"SHOW_ONE_RESULT_AS_DETAIL\");\n/**\n * Layout-hint: A list without list-items and list-tasks should not be shown.\n */\nexport const HIDE_WHEN_EMPTY = getHint(\"HIDE_WHEN_EMPTY\");\n/**\n * Layout-hint: Sets a default value on a filter\n */\nexport const INITIAL_FILTER = \"initial-filter:\";\n/**\n * Layout-hint: Mark a case id reference attribute as the reference to the case view. Replaces the self link of a list item\n */\nexport const CASEVIEW_LINK = getHint(\"CASEVIEW_LINK\");\n\n/**\n * Layout-hint: Set on configuration of instruments to show content in a popover on a label\n */\nexport const RENDER_SECTION_LABEL = \"render-section-label\";\n\n/**\n * Layout-hint: Hide a link to a component\n */\nexport const HIDE_IN_USER_INTERFACE = getHint(\"HIDE_IN_USER_INTERFACE\");\n\nexport const getLayoutHintConfiguration = (): object => LayoutHintConfiguration;\n\n/**\n * Layout-hint: Marks an attribute as an avatar for the title attribute.\n */\nexport const AVATAR_IN_TITLE = getHint(\"AVATAR_IN_TITLE\");\n\nexport const AVATAR = getHint(\"AVATAR\");\n"],"mappings":"AAAO,IAAMA,EAA0B,CACrC,UAAW,CACT,KAAM,YACN,YAAa,CACX,GAAI,kGACJ,GAAI;AAAA,kDACN,EACA,KAAM,GACN,UAAW,CAAC,WAAW,CACzB,EACA,4BAA6B,CAC3B,KAAM,yCACN,YAAa,CACX,GAAI,4MACJ,GAAI,qLACN,EACA,KAAM,GACN,UAAW,CAAC,oBAAqB,kBAAkB,CACrD,EACA,2BAA4B,CAC1B,KAAM,oIACN,YAAa,CACX,GAAI,uGACJ,GAAI,oHACN,EACA,KAAM,GACN,UAAW,CAAC,WAAW,CACzB,EACA,0BAA2B,CACzB,KAAM,4BACN,YAAa,CACX,GAAI,0EACJ,GAAI,wDACN,EACA,KAAM,GACN,UAAW,CAAC,MAAM,CACpB,EACA,gBAAiB,CACf,KAAM,kBACN,YAAa,CACX,GAAI,yEACJ,GAAI,+DACN,EACA,KAAM,GACN,UAAW,CAAC,MAAM,CACpB,EACA,eAAgB,CACd,KAAM,iDACN,YA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ACN,EACA,UAAW,CAAC,MAAO,OAAQ,eAAe,CAC5C,EACA,OAAQ,CACN,KAAM,SACN,YAAa,CACX,GAAI,0DACJ,GAAI,4CACN,EACA,KAAM,GACN,UAAW,CAAC,mBAAoB,iBAAiB,CACnD,EACA,gBAAiB,CACf,KAAM,kBACN,YAAa,CACX,GAAI,yLACJ,GAAI,gKACN,EACA,KAAM,GACN,UAAW,CAAC,iBAAiB,CAC/B,CACF,EChLO,IAAMC,EAAWC,GAElBA,KAAQC,EACHA,EAAwBD,CAAqB,EAAE,KAGjD,GAMIE,EAAYH,EAAQ,WAAW,EAM/BI,EAAWJ,EAAQ,UAAU,EAU7BK,EAA8B,oBAE9BC,EAAsB,uBAUtBC,EAAmBP,EAAQ,kBAAkB,EAI7CQ,EAAeR,EAAQ,cAAc,EAIrCS,EAAQT,EAAQ,OAAO,EAUvBU,EAAgBV,EAAQ,eAAe,EAIvCW,EAAgBX,EAAQ,eAAe,EAIvCY,EAAgBZ,EAAQ,eAAe,EAUvCa,EAAyBb,EAAQ,wBAAwB,EAIzDc,EAAqBd,EAAQ,oBAAoB,EAUjDe,EAA4Bf,EAAQ,2BAA2B,EAI/DgB,EAAkBhB,EAAQ,iBAAiB,EAI3CiB,EAAiB,kBAIjBC,EAAgBlB,EAAQ,eAAe,EAKvCmB,EAAuB,uBAKvBC,EAAyBpB,EAAQ,wBAAwB,EAEzDqB,EAA6B,IAAcnB,EAK3CoB,EAAkBtB,EAAQ,iBAAiB,EAE3CuB,EAASvB,EAAQ,QAAQ","names":["LayoutHintConfiguration","getHint","hint","LayoutHintConfiguration","MANDATORY","DISABLED","DEPENDENT_ATTRIBUTE_CONTROL","DEPENDENT_ATTRIBUTE","CONFIRM_PASSWORD","SORT_OPTIONS","TITLE","DELETE_ACTION","UPDATE_ACTION","CREATE_ACTION","INITIAL_TOTAL_FILESIZE","MAX_TOTAL_FILESIZE","SHOW_ONE_RESULT_AS_DETAIL","HIDE_WHEN_EMPTY","INITIAL_FILTER","CASEVIEW_LINK","RENDER_SECTION_LABEL","HIDE_IN_USER_INTERFACE","getLayoutHintConfiguration","AVATAR_IN_TITLE","AVATAR"]}
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=chunk-ELPRKFLG.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,2 @@
1
+ import{l as i}from"./chunk-BODVDNNA.js";import{a as c}from"./chunk-VGAPPKHA.js";import{x as f}from"./chunk-LYBG43T6.js";import{f as x}from"./chunk-WVQSFYWD.js";var A=t=>{let r=new i(t).absolutehref,e=new XMLHttpRequest;return e.open("HEAD",r,!1),e.setRequestHeader("Accept","application/json"),e.setRequestHeader("Content-Type","application/json"),e.setRequestHeader("X-Requested-With","XMLHttpRequest"),e.send(),e.status!==404},T=t=>{let r=new i(t).absolutehref,e=new XMLHttpRequest;e.open("HEAD",r,!1),e.setRequestHeader("Accept","application/json"),e.setRequestHeader("Content-Type","application/json"),e.setRequestHeader("X-Requested-With","XMLHttpRequest"),e.send();let s=e.responseURL??"";return e.status===400&&s.endsWith("/secureLogin")};var u=t=>{if(t instanceof i)return{path:t.path,querystring:t.querystring,hash:t.hash};let r=t,e,s;if(t.includes("#")){let o=t.split("#");r=o[0],e=o[1]}if(t.includes("?")){let o=r.split("?");r=o[0],s=o[1]}return{path:r,querystring:s,hash:e}},l=(t,r)=>{if(!Array.isArray(r))return new i(t);let e=u(t),s=e.path;if(e.querystring){let o=new URLSearchParams(e.querystring),n=Array.from(o.keys());for(let p of n)r.includes(p)||o.delete(p);s=s+"?"+o.toString()}return e.hash&&(s=s+"#"+e.hash),t instanceof i?new i(s,t.resourcetype,{origin:t.origin,contextPath:t.contextPath}):new i(s)},L=(t,r,e,s,o)=>{let n=r.toString();if(n.startsWith(`/${t}/`)||(n=`/${t}/${n}`),n=n.replace(/\/\//g,"/"),s?.search&&!n.includes("?")){let a=s.search.startsWith("?")?s.search.substring(1):s.search;n=`${n}?${a}`}let p=r instanceof i?l(new i(n,r.resourcetype,{origin:r.origin,contextPath:r.contextPath}),o):l(n,o);return e?p.setParameter("entryDate",e):p.removeParameter("entryDate"),p};var b=()=>{let t=new Date().getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,r=>{let e=(t+Math.random()*16)%16|0;return t=Math.floor(t/16),(r==="x"?e:e&3|8).toString(16)})};var M=(t,r=f(),e="")=>t.startsWith(e+r)?t:t.startsWith(x)?`${e}${r}${t}`:`${e}${r}${x}${t}`;import{encode as m}from"html-entities";var g=t=>m(t,{mode:"nonAsciiPrintableOnly",level:"xml"}),j=(t,r={allowedTags:["p","br","b","i","u","strike"]})=>{if(typeof t!="string")throw new c("sanitizeHTML method expects a string");let o=g(t).replace(/<(\w+)(.|[\r\n])*?>/gi,"<$1>").replace(/<br\s*>/gi,"<br />"),p=`<(?!\\/?(${Array.isArray(r.allowedTags)?r.allowedTags.join("|"):""})(>|\\s\\/))[^<]+?>`,a=new RegExp(p,"gi");return o.replace(a,"")};export{A as a,T as b,u as c,l as d,L as e,b as f,M as g,j as h};
2
+ //# sourceMappingURL=chunk-EP2OYSVS.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/utils/helpers/checkResource.ts","../src/utils/helpers/createHref.ts","../src/utils/helpers/createUUID.ts","../src/utils/helpers/repositoryResource.ts","../src/utils/helpers/sanitizeHtml.ts"],"sourcesContent":["import { Href } from \"../../models/href/Href\";\n\n/**\n * Checks if a given url to a modular ui resource exists using a HEAD request to the resource (synchronous)\n * When the resource returns a 404, the resource does not exists and the method returns false\n */\nexport const resourceExists = (url: string | Href) => {\n const fullUrl = new Href(url).absolutehref;\n\n const xhr = new XMLHttpRequest();\n xhr.open(\"HEAD\", fullUrl, false);\n xhr.setRequestHeader(\"Accept\", \"application/json\");\n xhr.setRequestHeader(\"Content-Type\", \"application/json\");\n xhr.setRequestHeader(\"X-Requested-With\", \"XMLHttpRequest\");\n\n xhr.send();\n\n return xhr.status !== 404;\n};\n\n/**\n * Indicates if a request to the given url resuls in a redirect to /secureRedirect\n */\nexport const resourceRedirectsToSecureLogin = (url: string | Href) => {\n const fullUrl = new Href(url).absolutehref;\n\n const xhr = new XMLHttpRequest();\n xhr.open(\"HEAD\", fullUrl, false);\n xhr.setRequestHeader(\"Accept\", \"application/json\");\n xhr.setRequestHeader(\"Content-Type\", \"application/json\");\n xhr.setRequestHeader(\"X-Requested-With\", \"XMLHttpRequest\");\n xhr.send();\n\n const responseURL = xhr.responseURL ?? \"\";\n\n return xhr.status === 400 && responseURL.endsWith(\"/secureLogin\");\n};\n","import { Href } from \"../../models/href/Href\";\n\nimport type { HistoryLocation, ISO_DATE } from \"../../types/types\";\n\nexport const parseUrl = (\n href: string | Href,\n): {\n path: string;\n querystring: undefined | string;\n hash: undefined | string;\n} => {\n if (href instanceof Href) {\n return {\n path: href.path,\n querystring: href.querystring,\n hash: href.hash,\n };\n }\n\n let path = href;\n let hash;\n let querystring;\n if (href.includes(\"#\")) {\n const hashSplit = href.split(\"#\");\n path = hashSplit[0];\n hash = hashSplit[1];\n }\n if (href.includes(\"?\")) {\n const qsSplit = path.split(\"?\");\n path = qsSplit[0];\n querystring = qsSplit[1];\n }\n return {\n path,\n querystring,\n hash,\n };\n};\n\nexport const filterParameters = (\n href: string | Href,\n allowedParameters?: string[],\n) => {\n if (!Array.isArray(allowedParameters)) {\n return new Href(href);\n }\n\n const url = parseUrl(href);\n let filteredUrl = url.path;\n if (url.querystring) {\n const searchParams = new URLSearchParams(url.querystring);\n const params = Array.from(searchParams.keys());\n for (const param of params) {\n if (!allowedParameters.includes(param)) {\n searchParams.delete(param);\n }\n }\n filteredUrl = filteredUrl + \"?\" + searchParams.toString();\n }\n if (url.hash) {\n filteredUrl = filteredUrl + \"#\" + url.hash;\n }\n\n if (href instanceof Href) {\n return new Href(filteredUrl, href.resourcetype, {\n origin: href.origin,\n contextPath: href.contextPath,\n });\n }\n\n return new Href(filteredUrl);\n};\n\nexport const createHref = (\n context: string,\n dynamicPart: string | Href,\n entryDate?: ISO_DATE,\n location?: HistoryLocation,\n allowedParameters?: string[],\n): Href => {\n let href = dynamicPart.toString();\n\n if (!href.startsWith(`/${context}/`)) {\n href = `/${context}/${href}`;\n }\n\n href = href.replace(/\\/\\//g, \"/\");\n\n if (location?.search && !href.includes(\"?\")) {\n const search = location.search.startsWith(\"?\")\n ? location.search.substring(1)\n : location.search;\n href = `${href}?${search}`;\n }\n\n const finalHref =\n dynamicPart instanceof Href\n ? filterParameters(\n new Href(href, dynamicPart.resourcetype, {\n origin: dynamicPart.origin,\n contextPath: dynamicPart.contextPath,\n }),\n allowedParameters,\n )\n : filterParameters(href, allowedParameters);\n\n if (entryDate) {\n finalHref.setParameter(\"entryDate\", entryDate);\n } else {\n finalHref.removeParameter(\"entryDate\");\n }\n\n return finalHref;\n};\n","export const createUUID = () => {\n let d = new Date().getTime();\n return \"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx\".replace(/[xy]/g, (c) => {\n const r = (d + Math.random() * 16) % 16 | 0;\n d = Math.floor(d / 16);\n return (c === \"x\" ? r : (r & 0x3) | 0x8).toString(16);\n });\n};\n","import { RESOURCE_PATH } from \"../../constants/Paths\";\nimport { getContextPathServer } from \"../../settings/Paths\";\n\n/**\n * Creates an url to a resource in the Be Informed repository\n * Only possible when serving using the UI Servlet of Be Informed\n */\nexport const getRepositoryResourceUrl = (\n resourceUrl: string,\n contextPath: string = getContextPathServer(),\n origin = \"\",\n): string => {\n if (resourceUrl.startsWith(origin + contextPath)) {\n return resourceUrl;\n }\n\n if (resourceUrl.startsWith(RESOURCE_PATH)) {\n return `${origin}${contextPath}${resourceUrl}`;\n }\n\n return `${origin}${contextPath}${RESOURCE_PATH}${resourceUrl}`;\n};\n","import { encode } from \"html-entities\";\n\nimport { IllegalArgumentException } from \"../../exceptions/IllegalArgumentException\";\n\ninterface removeUnwantedHtmlOptions {\n allowedTags?: string[];\n}\n\n/**\n * Translates html entities to their correct decimal equivalent\n * When path is only one deep better use optional chaining\n */\nconst properEntityEncoding = (html: string) => {\n return encode(html, { mode: \"nonAsciiPrintableOnly\", level: \"xml\" });\n};\n\n/**\n * removes unwanted html, this might result in incorrect html, as it removes all html that we don't except,\n * like <b style=\"font-weight: 400\">bold</b> will result in bold</b>\n */\nexport const removeUnwantedHtml = (\n html: string,\n options: removeUnwantedHtmlOptions = {\n allowedTags: [\"p\", \"br\", \"b\", \"i\", \"u\", \"strike\"],\n },\n): string => {\n if (typeof html !== \"string\") {\n throw new IllegalArgumentException(\"sanitizeHTML method expects a string\");\n }\n\n const correctEntityHtml = properEntityEncoding(html);\n\n // remove attributes from html elements\n const htmlWithoutAttributes = correctEntityHtml.replace(\n /<(\\w+)(.|[\\r\\n])*?>/gi,\n \"<$1>\",\n );\n\n const htmlWithCorrectBR = htmlWithoutAttributes.replace(\n /<br\\s*>/gi,\n \"<br />\",\n );\n\n // remove not allowed tags\n const allowedTags = Array.isArray(options.allowedTags)\n ? options.allowedTags.join(\"|\")\n : \"\";\n const pattern = `<(?!\\\\/?(${allowedTags})(>|\\\\s\\\\/))[^<]+?>`;\n const regex = new RegExp(pattern, \"gi\");\n\n return htmlWithCorrectBR.replace(regex, \"\");\n};\n"],"mappings":"gKAMO,IAAMA,EAAkBC,GAAuB,CACpD,IAAMC,EAAU,IAAIC,EAAKF,CAAG,EAAE,aAExBG,EAAM,IAAI,eAChB,OAAAA,EAAI,KAAK,OAAQF,EAAS,EAAK,EAC/BE,EAAI,iBAAiB,SAAU,kBAAkB,EACjDA,EAAI,iBAAiB,eAAgB,kBAAkB,EACvDA,EAAI,iBAAiB,mBAAoB,gBAAgB,EAEzDA,EAAI,KAAK,EAEFA,EAAI,SAAW,GACxB,EAKaC,EAAkCJ,GAAuB,CACpE,IAAMC,EAAU,IAAIC,EAAKF,CAAG,EAAE,aAExBG,EAAM,IAAI,eAChBA,EAAI,KAAK,OAAQF,EAAS,EAAK,EAC/BE,EAAI,iBAAiB,S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AAK,MAAc,gBAYvB,IAAMC,EAAwBC,GACrBC,EAAOD,EAAM,CAAE,KAAM,wBAAyB,MAAO,KAAM,CAAC,EAOxDE,EAAqB,CAChCF,EACAG,EAAqC,CACnC,YAAa,CAAC,IAAK,KAAM,IAAK,IAAK,IAAK,QAAQ,CAClD,IACW,CACX,GAAI,OAAOH,GAAS,SAClB,MAAM,IAAII,EAAyB,sCAAsC,EAW3E,IAAMC,EARoBN,EAAqBC,CAAI,EAGH,QAC9C,wBACA,MACF,EAEgD,QAC9C,YACA,QACF,EAMMM,EAAU,YAHI,MAAM,QAAQH,EAAQ,WAAW,EACjDA,EAAQ,YAAY,KAAK,GAAG,EAC5B,EACmC,sBACjCI,EAAQ,IAAI,OAAOD,EAAS,IAAI,EAEtC,OAAOD,EAAkB,QAAQE,EAAO,EAAE,CAC5C","names":["resourceExists","url","fullUrl","Href","xhr","resourceRedirectsToSecureLogin","responseURL","parseUrl","href","Href","path","hash","querystring","hashSplit","qsSplit","filterParameters","allowedParameters","url","filteredUrl","searchParams","params","param","createHref","context","dynamicPart","entryDate","location","search","finalHref","createUUID","d","c","r","getRepositoryResourceUrl","resourceUrl","contextPath","getContextPathServer","origin","RESOURCE_PATH","encode","properEntityEncoding","html","encode","removeUnwantedHtml","options","IllegalArgumentException","htmlWithCorrectBR","pattern","regex"]}
@@ -0,0 +1,2 @@
1
+ import{f as h}from"./chunk-LHZG2ET5.js";import{b as m}from"./chunk-77CGPEAQ.js";var n=m(h(),1);var E=400,i=class e extends Error{id;request;requestOptions;status;response;properties;parameters;constructor(r,t,s){let o=f(r,s);super(o.id),this.name=o.id,this.id=o.id,this.request=t,this.requestOptions=s,this.status=t&&t.status?t.status:E,this.response=r,this.properties=o.properties??{},this.parameters=o.param,Error.captureStackTrace&&Error.captureStackTrace(this,e)}},f=(e,r)=>{let t={id:"Error.CannotRequestResource",defaultMessage:`Cannot request resource ${r?.url??""} with method ${r?.method??"GET"}`,properties:{},param:void 0};if(!e)return t;if((0,n.default)(e,"error"))return{...t,...e.error};let[s]=Object.keys(e);return(0,n.default)(e[s],"errors")?{...t,...e[s].errors}:t};var u=class extends Error{constructor(r){super(r instanceof SyntaxError?r.message:r),this.name="JsonParseException"}};var a=class extends Error{id;status;constructor(r,t){super(`An unexpected network error occurred, cannot request resource ${r} with method ${t}`),this.name="NetworkException",this.id="NetworkException",this.status=0}};var d=class extends Error{id;status;isReload;constructor(r,t,s=!1){super(`Resource ${r} with method ${t} not found`),this.name="NotFoundException",this.id="NotFoundException",this.status=404,this.isReload=s}};var p=class extends Error{constructor(r,t){super(`Timeout occurred in connection to ${r} with method ${t}.`),this.name="TimeoutException"}};var c=class extends Error{id;status;response;constructor(r,t,s){super(`Cannot request resource ${r} with method ${t}`),this.name="UnauthorizedException",this.id="UnauthorizedException",this.status=401,this.response=s}};export{i as a,u as b,a as c,d,p as e,c as f};
2
+ //# sourceMappingURL=chunk-FGEQKEJQ.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/exceptions/FetchException.ts","../src/exceptions/JsonParseException.ts","../src/exceptions/NetworkException.ts","../src/exceptions/NotFoundException.ts","../src/exceptions/TimeoutException.ts","../src/exceptions/UnauthorizedException.ts"],"sourcesContent":["import has from \"lodash/has\";\n\nimport { HTTP_METHODS } from \"../constants/Constants\";\n\nimport type { MessageParameters } from \"../types/types\";\nimport type { RequestOptions } from \"../utils/fetch/types\";\nimport type { ModularUIErrorJSON } from \"./types\";\n\nconst CLIENT_ERROR_CODE = 400;\n\nexport class FetchException extends Error {\n id: string;\n request: XMLHttpRequest | undefined;\n requestOptions: RequestOptions | undefined;\n status: number;\n response: ModularUIErrorJSON | undefined;\n properties: MessageParameters;\n parameters: MessageParameters | undefined;\n\n constructor(\n errorResponse: ModularUIErrorJSON | undefined,\n failedRequest?: XMLHttpRequest,\n requestOptions?: RequestOptions,\n ) {\n const errorInfo = getErrorInfo(errorResponse, requestOptions);\n super(errorInfo.id);\n\n this.name = errorInfo.id;\n this.id = errorInfo.id;\n this.request = failedRequest;\n this.requestOptions = requestOptions;\n\n this.status =\n failedRequest && failedRequest.status\n ? failedRequest.status\n : CLIENT_ERROR_CODE;\n\n this.response = errorResponse;\n this.properties = errorInfo.properties ?? {};\n this.parameters = errorInfo.param;\n\n if (Error.captureStackTrace) {\n Error.captureStackTrace(this, FetchException);\n }\n }\n}\n\nconst getErrorInfo = (\n errorResponse: ModularUIErrorJSON | undefined,\n requestOptions: RequestOptions | undefined,\n) => {\n const defaultErrorInfo = {\n id: \"Error.CannotRequestResource\",\n defaultMessage: `Cannot request resource ${\n requestOptions?.url ?? \"\"\n } with method ${requestOptions?.method ?? HTTP_METHODS.GET}`,\n properties: {},\n param: undefined,\n };\n\n if (!errorResponse) {\n return defaultErrorInfo;\n }\n\n if (has(errorResponse, \"error\")) {\n return {\n ...defaultErrorInfo,\n ...errorResponse.error,\n };\n }\n\n const [key] = Object.keys(errorResponse);\n if (has(errorResponse[key], \"errors\")) {\n return {\n ...defaultErrorInfo,\n ...errorResponse[key].errors,\n };\n }\n\n return defaultErrorInfo;\n};\n","export class JsonParseException extends Error {\n constructor(error: SyntaxError | string) {\n super(error instanceof SyntaxError ? error.message : error);\n\n this.name = \"JsonParseException\";\n }\n}\n","export class NetworkException extends Error {\n id: string;\n status: number;\n\n constructor(url: string, method: string) {\n super(\n `An unexpected network error occurred, cannot request resource ${url} with method ${method}`,\n );\n\n this.name = \"NetworkException\";\n this.id = \"NetworkException\";\n this.status = 0;\n }\n}\n","export class NotFoundException extends Error {\n id: string;\n status: number;\n isReload: boolean;\n\n constructor(url: string, method: string, isReload = false) {\n super(`Resource ${url} with method ${method} not found`);\n\n this.name = \"NotFoundException\";\n this.id = \"NotFoundException\";\n this.status = 404;\n this.isReload = isReload;\n }\n}\n","export class TimeoutException extends Error {\n constructor(url: string, method: string) {\n super(`Timeout occurred in connection to ${url} with method ${method}.`);\n\n this.name = \"TimeoutException\";\n }\n}\n","import type { ModularUIErrorJSON } from \"./types\";\n\nexport class UnauthorizedException extends Error {\n id: string;\n status: number;\n response: ModularUIErrorJSON | undefined;\n\n constructor(\n url: string,\n method: string,\n errorResponse: ModularUIErrorJSON | undefined,\n ) {\n super(`Cannot request resource ${url} with method ${method}`);\n\n this.name = \"UnauthorizedException\";\n this.id = \"UnauthorizedException\";\n this.status = 401;\n this.response = errorResponse;\n }\n}\n"],"mappings":"gFAAA,IAAAA,EAAgB,SAQhB,IAAMC,EAAoB,IAEbC,EAAN,MAAMC,UAAuB,KAAM,CACxC,GACA,QACA,eACA,OACA,SACA,WACA,WAEA,YACEC,EACAC,EACAC,EACA,CACA,IAAMC,EAAYC,EAAaJ,EAAeE,CAAc,EAC5D,MAAMC,EAAU,EAAE,EAElB,KAAK,KAAOA,EAAU,GACtB,KAAK,GAAKA,EAAU,GACpB,KAAK,QAAUF,EACf,KAAK,eAAiBC,EAEtB,KAAK,OACHD,GAAiBA,EAAc,OAC3BA,EAAc,OACdJ,EAEN,KAAK,SAAWG,EAChB,KAAK,WAAaG,EAAU,YAAc,CAAC,EAC3C,KAAK,WAAaA,EAAU,MAExB,MAAM,mBACR,MAAM,kBAAkB,KAAMJ,CAAc,CAEhD,CACF,EAEMK,EAAe,CACnBJ,EACAE,IACG,CACH,IAAMG,EAAmB,CACvB,GAAI,8BACJ,eAAgB,2BACdH,GAAgB,KAAO,EACzB,gBAAgBA,GAAgB,QAAU,KAAgB,GAC1D,WAAY,CAAC,EACb,MAAO,MACT,EAEA,GAAI,CAACF,EACH,OAAOK,EAGT,MAAI,EAAAC,SAAIN,EAAe,OAAO,EAC5B,MAAO,CACL,GAAGK,EACH,GAAGL,EAAc,KACnB,EAGF,GAAM,CAACO,CAAG,EAAI,OAAO,KAAKP,CAAa,EACvC,SAAI,EAAAM,SAAIN,EAAcO,CAAG,EAAG,QAAQ,EAC3B,CACL,GAAGF,EACH,GAAGL,EAAcO,CAAG,EAAE,MACxB,EAGKF,CACT,EChFO,IAAMG,EAAN,cAAiC,KAAM,CAC5C,YAAYC,EAA6B,CACvC,MAAMA,aAAiB,YAAcA,EAAM,QAAUA,CAAK,EAE1D,KAAK,KAAO,oBACd,CACF,ECNO,IAAMC,EAAN,cAA+B,KAAM,CAC1C,GACA,OAEA,YAAYC,EAAaC,EAAgB,CACvC,MACE,iEAAiED,CAAG,gBAAgBC,CAAM,EAC5F,EAEA,KAAK,KAAO,mBACZ,KAAK,GAAK,mBACV,KAAK,OAAS,CAChB,CACF,ECbO,IAAMC,EAAN,cAAgC,KAAM,CAC3C,GACA,OACA,SAEA,YAAYC,EAAaC,EAAgBC,EAAW,GAAO,CACzD,MAAM,YAAYF,CAAG,gBAAgBC,CAAM,YAAY,EAEvD,KAAK,KAAO,oBACZ,KAAK,GAAK,oBACV,KAAK,OAAS,IACd,KAAK,SAAWC,CAClB,CACF,ECbO,IAAMC,EAAN,cAA+B,KAAM,CAC1C,YAAYC,EAAaC,EAAgB,CACvC,MAAM,qCAAqCD,CAAG,gBAAgBC,CAAM,GAAG,EAEvE,KAAK,KAAO,kBACd,CACF,ECJO,IAAMC,EAAN,cAAoC,KAAM,CAC/C,GACA,OACA,SAEA,YACEC,EACAC,EACAC,EACA,CACA,MAAM,2BAA2BF,CAAG,gBAAgBC,CAAM,EAAE,EAE5D,KAAK,KAAO,wBACZ,KAAK,GAAK,wBACV,KAAK,OAAS,IACd,KAAK,SAAWC,CAClB,CACF","names":["import_has","CLIENT_ERROR_CODE","FetchException","_FetchException","errorResponse","failedRequest","requestOptions","errorInfo","getErrorInfo","defaultErrorInfo","has","key","JsonParseException","error","NetworkException","url","method","NotFoundException","url","method","isReload","TimeoutException","url","method","UnauthorizedException","url","method","errorResponse"]}
@@ -0,0 +1,2 @@
1
+ var t=class extends Error{constructor(r){super(r),this.name="MissingPropertyException"}};var e=class extends Error{constructor(r){super(r),this.name="ServerRequestException"}};var s=class extends Error{constructor(r){super(r),this.name="ThemePropertyException"}};var p=class extends Error{constructor(r){super(r),this.name="UnsupportedOperationException"}};export{t as a,e as b,s as c,p as d};
2
+ //# sourceMappingURL=chunk-L7K7QDC2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/exceptions/MissingPropertyException.ts","../src/exceptions/ServerRequestException.ts","../src/exceptions/ThemePropertyException.ts","../src/exceptions/UnsupportedOperationException.ts"],"sourcesContent":["/**\n * MissingPropertyException\n */\nexport class MissingPropertyException extends Error {\n constructor(message: string) {\n super(message);\n\n this.name = \"MissingPropertyException\";\n }\n}\n","/**\n * ServerRequestException\n */\nexport class ServerRequestException extends Error {\n constructor(message: string) {\n super(message);\n this.name = \"ServerRequestException\";\n }\n}\n","/**\n * ThemePropertyException\n */\nexport class ThemePropertyException extends Error {\n constructor(message: string) {\n super(message);\n this.name = \"ThemePropertyException\";\n }\n}\n","/**\n * UnsupportedOperationException\n */\nexport class UnsupportedOperationException extends Error {\n constructor(message: string) {\n super(message);\n this.name = \"UnsupportedOperationException\";\n }\n}\n"],"mappings":"AAGO,IAAMA,EAAN,cAAuC,KAAM,CAClD,YAAYC,EAAiB,CAC3B,MAAMA,CAAO,EAEb,KAAK,KAAO,0BACd,CACF,ECNO,IAAMC,EAAN,cAAqC,KAAM,CAChD,YAAYC,EAAiB,CAC3B,MAAMA,CAAO,EACb,KAAK,KAAO,wBACd,CACF,ECLO,IAAMC,EAAN,cAAqC,KAAM,CAChD,YAAYC,EAAiB,CAC3B,MAAMA,CAAO,EACb,KAAK,KAAO,wBACd,CACF,ECLO,IAAMC,EAAN,cAA4C,KAAM,CACvD,YAAYC,EAAiB,CAC3B,MAAMA,CAAO,EACb,KAAK,KAAO,+BACd,CACF","names":["MissingPropertyException","message","ServerRequestException","message","ThemePropertyException","message","UnsupportedOperationException","message"]}
@@ -0,0 +1,2 @@
1
+ import{a}from"./chunk-77CGPEAQ.js";var P=a((Jn,T)=>{"use strict";var ze=Object.prototype,De=ze.hasOwnProperty;function Fe(r,e){return r!=null&&De.call(r,e)}T.exports=Fe});var h=a((Vn,j)=>{"use strict";var Ge=Array.isArray;j.exports=Ge});var w=a((Yn,I)=>{"use strict";var He=typeof global=="object"&&global&&global.Object===Object&&global;I.exports=He});var d=a((Zn,E)=>{"use strict";var Re=w(),$e=typeof self=="object"&&self&&self.Object===Object&&self,Le=Re||$e||Function("return this")();E.exports=Le});var y=a((Bn,A)=>{"use strict";var Ke=d(),Ue=Ke.Symbol;A.exports=Ue});var D=a((Qn,z)=>{"use strict";var M=y(),N=Object.prototype,Xe=N.hasOwnProperty,Je=N.toString,l=M?M.toStringTag:void 0;function Ve(r){var e=Xe.call(r,l),t=r[l];try{r[l]=void 0;var n=!0}catch{}var i=Je.call(r);return n&&(e?r[l]=t:delete r[l]),i}z.exports=Ve});var G=a((Wn,F)=>{"use strict";var Ye=Object.prototype,Ze=Ye.toString;function Be(r){return Ze.call(r)}F.exports=Be});var q=a((kn,$)=>{"use strict";var H=y(),Qe=D(),We=G(),ke="[object Null]",rt="[object Undefined]",R=H?H.toStringTag:void 0;function et(r){return r==null?r===void 0?rt:ke:R&&R in Object(r)?Qe(r):We(r)}$.exports=et});var b=a((ri,L)=>{"use strict";function tt(r){return r!=null&&typeof r=="object"}L.exports=tt});var x=a((ei,K)=>{"use strict";var at=q(),nt=b(),it="[object Symbol]";function ot(r){return typeof r=="symbol"||nt(r)&&at(r)==it}K.exports=ot});var X=a((ti,U)=>{"use strict";var st=h(),ut=x(),ct=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,pt=/^\w*$/;function ht(r,e){if(st(r))return!1;var t=typeof r;return t=="number"||t=="symbol"||t=="boolean"||r==null||ut(r)?!0:pt.test(r)||!ct.test(r)||e!=null&&r in Object(e)}U.exports=ht});var _=a((ai,J)=>{"use strict";function lt(r){var e=typeof r;return r!=null&&(e=="object"||e=="function")}J.exports=lt});var Y=a((ni,V)=>{"use strict";var ft=q(),gt=_(),vt="[object AsyncFunction]",dt="[object Function]",yt="[object GeneratorFunction]",qt="[object Proxy]";function bt(r){if(!gt(r))return!1;var e=ft(r);return e==dt||e==yt||e==vt||e==qt}V.exports=bt});var B=a((ii,Z)=>{"use strict";var xt=d(),_t=xt["__core-js_shared__"];Z.exports=_t});var k=a((oi,W)=>{"use strict";var m=B(),Q=function(){var r=/[^.]+$/.exec(m&&m.keys&&m.keys.IE_PROTO||"");return r?"Symbol(src)_1."+r:""}();function mt(r){return!!Q&&Q in r}W.exports=mt});var er=a((si,rr)=>{"use strict";var Ot=Function.prototype,St=Ot.toString;function Ct(r){if(r!=null){try{return St.call(r)}catch{}try{return r+""}catch{}}return""}rr.exports=Ct});var ar=a((ui,tr)=>{"use strict";var Tt=Y(),Pt=k(),jt=_(),It=er(),wt=/[\\^$.*+?()[\]{}|]/g,Et=/^\[object .+?Constructor\]$/,At=Function.prototype,Mt=Object.prototype,Nt=At.toString,zt=Mt.hasOwnProperty,Dt=RegExp("^"+Nt.call(zt).replace(wt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Ft(r){if(!jt(r)||Pt(r))return!1;var e=Tt(r)?Dt:Et;return e.test(It(r))}tr.exports=Ft});var ir=a((ci,nr)=>{"use strict";function Gt(r,e){return r?.[e]}nr.exports=Gt});var O=a((pi,or)=>{"use strict";var Ht=ar(),Rt=ir();function $t(r,e){var t=Rt(r,e);return Ht(t)?t:void 0}or.exports=$t});var f=a((hi,sr)=>{"use strict";var Lt=O(),Kt=Lt(Object,"create");sr.exports=Kt});var pr=a((li,cr)=>{"use strict";var ur=f();function Ut(){this.__data__=ur?ur(null):{},this.size=0}cr.exports=Ut});var lr=a((fi,hr)=>{"use strict";function Xt(r){var e=this.has(r)&&delete this.__data__[r];return this.size-=e?1:0,e}hr.exports=Xt});var gr=a((gi,fr)=>{"use strict";var Jt=f(),Vt="__lodash_hash_undefined__",Yt=Object.prototype,Zt=Yt.hasOwnProperty;function Bt(r){var e=this.__data__;if(Jt){var t=e[r];return t===Vt?void 0:t}return Zt.call(e,r)?e[r]:void 0}fr.exports=Bt});var dr=a((vi,vr)=>{"use strict";var Qt=f(),Wt=Object.prototype,kt=Wt.hasOwnProperty;function ra(r){var e=this.__data__;return Qt?e[r]!==void 0:kt.call(e,r)}vr.exports=ra});var qr=a((di,yr)=>{"use strict";var ea=f(),ta="__lodash_hash_undefined__";function aa(r,e){var t=this.__data__;return this.size+=this.has(r)?0:1,t[r]=ea&&e===void 0?ta:e,this}yr.exports=aa});var xr=a((yi,br)=>{"use strict";var na=pr(),ia=lr(),oa=gr(),sa=dr(),ua=qr();function u(r){var e=-1,t=r==null?0:r.length;for(this.clear();++e<t;){var n=r[e];this.set(n[0],n[1])}}u.prototype.clear=na;u.prototype.delete=ia;u.prototype.get=oa;u.prototype.has=sa;u.prototype.set=ua;br.exports=u});var mr=a((qi,_r)=>{"use strict";function ca(){this.__data__=[],this.size=0}_r.exports=ca});var Sr=a((bi,Or)=>{"use strict";function pa(r,e){return r===e||r!==r&&e!==e}Or.exports=pa});var g=a((xi,Cr)=>{"use strict";var ha=Sr();function la(r,e){for(var t=r.length;t--;)if(ha(r[t][0],e))return t;return-1}Cr.exports=la});var Pr=a((_i,Tr)=>{"use strict";var fa=g(),ga=Array.prototype,va=ga.splice;function da(r){var e=this.__data__,t=fa(e,r);if(t<0)return!1;var n=e.length-1;return t==n?e.pop():va.call(e,t,1),--this.size,!0}Tr.exports=da});var Ir=a((mi,jr)=>{"use strict";var ya=g();function qa(r){var e=this.__data__,t=ya(e,r);return t<0?void 0:e[t][1]}jr.exports=qa});var Er=a((Oi,wr)=>{"use strict";var ba=g();function xa(r){return ba(this.__data__,r)>-1}wr.exports=xa});var Mr=a((Si,Ar)=>{"use strict";var _a=g();function ma(r,e){var t=this.__data__,n=_a(t,r);return n<0?(++this.size,t.push([r,e])):t[n][1]=e,this}Ar.exports=ma});var zr=a((Ci,Nr)=>{"use strict";var Oa=mr(),Sa=Pr(),Ca=Ir(),Ta=Er(),Pa=Mr();function c(r){var e=-1,t=r==null?0:r.length;for(this.clear();++e<t;){var n=r[e];this.set(n[0],n[1])}}c.prototype.clear=Oa;c.prototype.delete=Sa;c.prototype.get=Ca;c.prototype.has=Ta;c.prototype.set=Pa;Nr.exports=c});var Fr=a((Ti,Dr)=>{"use strict";var ja=O(),Ia=d(),wa=ja(Ia,"Map");Dr.exports=wa});var Rr=a((Pi,Hr)=>{"use strict";var Gr=xr(),Ea=zr(),Aa=Fr();function Ma(){this.size=0,this.__data__={hash:new Gr,map:new(Aa||Ea),string:new Gr}}Hr.exports=Ma});var Lr=a((ji,$r)=>{"use strict";function Na(r){var e=typeof r;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?r!=="__proto__":r===null}$r.exports=Na});var v=a((Ii,Kr)=>{"use strict";var za=Lr();function Da(r,e){var t=r.__data__;return za(e)?t[typeof e=="string"?"string":"hash"]:t.map}Kr.exports=Da});var Xr=a((wi,Ur)=>{"use strict";var Fa=v();function Ga(r){var e=Fa(this,r).delete(r);return this.size-=e?1:0,e}Ur.exports=Ga});var Vr=a((Ei,Jr)=>{"use strict";var Ha=v();function Ra(r){return Ha(this,r).get(r)}Jr.exports=Ra});var Zr=a((Ai,Yr)=>{"use strict";var $a=v();function La(r){return $a(this,r).has(r)}Yr.exports=La});var Qr=a((Mi,Br)=>{"use strict";var Ka=v();function Ua(r,e){var t=Ka(this,r),n=t.size;return t.set(r,e),this.size+=t.size==n?0:1,this}Br.exports=Ua});var kr=a((Ni,Wr)=>{"use strict";var Xa=Rr(),Ja=Xr(),Va=Vr(),Ya=Zr(),Za=Qr();function p(r){var e=-1,t=r==null?0:r.length;for(this.clear();++e<t;){var n=r[e];this.set(n[0],n[1])}}p.prototype.clear=Xa;p.prototype.delete=Ja;p.prototype.get=Va;p.prototype.has=Ya;p.prototype.set=Za;Wr.exports=p});var te=a((zi,ee)=>{"use strict";var re=kr(),Ba="Expected a function";function S(r,e){if(typeof r!="function"||e!=null&&typeof e!="function")throw new TypeError(Ba);var t=function(){var n=arguments,i=e?e.apply(this,n):n[0],o=t.cache;if(o.has(i))return o.get(i);var s=r.apply(this,n);return t.cache=o.set(i,s)||o,s};return t.cache=new(S.Cache||re),t}S.Cache=re;ee.exports=S});var ne=a((Di,ae)=>{"use strict";var Qa=te(),Wa=500;function ka(r){var e=Qa(r,function(n){return t.size===Wa&&t.clear(),n}),t=e.cache;return e}ae.exports=ka});var oe=a((Fi,ie)=>{"use strict";var rn=ne(),en=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,tn=/\\(\\)?/g,an=rn(function(r){var e=[];return r.charCodeAt(0)===46&&e.push(""),r.replace(en,function(t,n,i,o){e.push(i?o.replace(tn,"$1"):n||t)}),e});ie.exports=an});var ue=a((Gi,se)=>{"use strict";function nn(r,e){for(var t=-1,n=r==null?0:r.length,i=Array(n);++t<n;)i[t]=e(r[t],t,r);return i}se.exports=nn});var ge=a((Hi,fe)=>{"use strict";var ce=y(),on=ue(),sn=h(),un=x(),cn=1/0,pe=ce?ce.prototype:void 0,he=pe?pe.toString:void 0;function le(r){if(typeof r=="string")return r;if(sn(r))return on(r,le)+"";if(un(r))return he?he.call(r):"";var e=r+"";return e=="0"&&1/r==-cn?"-0":e}fe.exports=le});var de=a((Ri,ve)=>{"use strict";var pn=ge();function hn(r){return r==null?"":pn(r)}ve.exports=hn});var qe=a(($i,ye)=>{"use strict";var ln=h(),fn=X(),gn=oe(),vn=de();function dn(r,e){return ln(r)?r:fn(r,e)?[r]:gn(vn(r))}ye.exports=dn});var xe=a((Li,be)=>{"use strict";var yn=q(),qn=b(),bn="[object Arguments]";function xn(r){return qn(r)&&yn(r)==bn}be.exports=xn});var Se=a((Ki,Oe)=>{"use strict";var _e=xe(),_n=b(),me=Object.prototype,mn=me.hasOwnProperty,On=me.propertyIsEnumerable,Sn=_e(function(){return arguments}())?_e:function(r){return _n(r)&&mn.call(r,"callee")&&!On.call(r,"callee")};Oe.exports=Sn});var Te=a((Ui,Ce)=>{"use strict";var Cn=9007199254740991,Tn=/^(?:0|[1-9]\d*)$/;function Pn(r,e){var t=typeof r;return e=e??Cn,!!e&&(t=="number"||t!="symbol"&&Tn.test(r))&&r>-1&&r%1==0&&r<e}Ce.exports=Pn});var je=a((Xi,Pe)=>{"use strict";var jn=9007199254740991;function In(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=jn}Pe.exports=In});var we=a((Ji,Ie)=>{"use strict";var wn=x(),En=1/0;function An(r){if(typeof r=="string"||wn(r))return r;var e=r+"";return e=="0"&&1/r==-En?"-0":e}Ie.exports=An});var Ae=a((Vi,Ee)=>{"use strict";var Mn=qe(),Nn=Se(),zn=h(),Dn=Te(),Fn=je(),Gn=we();function Hn(r,e,t){e=Mn(e,r);for(var n=-1,i=e.length,o=!1;++n<i;){var s=Gn(e[n]);if(!(o=r!=null&&t(r,s)))break;r=r[s]}return o||++n!=i?o:(i=r==null?0:r.length,!!i&&Fn(i)&&Dn(s,i)&&(zn(r)||Nn(r)))}Ee.exports=Hn});var Kn=a((Yi,Me)=>{"use strict";var Rn=P(),$n=Ae();function Ln(r,e){return r!=null&&$n(r,e,Rn)}Me.exports=Ln});import{immerable as Ne}from"immer";var C=class extends Error{[Ne]=!0;constructor(e){super(e),this.name="IllegalStateException"}};export{h as a,y as b,q as c,b as d,Se as e,Kn as f,C as g};
2
+ //# sourceMappingURL=chunk-LHZG2ET5.js.map