@beinformed/ui 1.59.22 → 1.60.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 (1572) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/lib/builder/index.js +18 -0
  3. package/lib/builder/index.js.map +1 -0
  4. package/lib/builder/mergeLayoutHintConfigurations.js +60 -0
  5. package/lib/builder/mergeLayoutHintConfigurations.js.map +1 -0
  6. package/lib/constants/Constants.js +189 -0
  7. package/lib/constants/Constants.js.map +1 -0
  8. package/lib/constants/LayoutHintConfig.js +173 -0
  9. package/lib/constants/LayoutHintConfig.js.map +1 -0
  10. package/lib/constants/LayoutHints.js +135 -0
  11. package/lib/constants/LayoutHints.js.map +1 -0
  12. package/lib/constants/Settings.js +219 -0
  13. package/lib/constants/Settings.js.map +1 -0
  14. package/lib/constants/index.js +40 -0
  15. package/lib/constants/index.js.map +1 -0
  16. package/lib/exceptions/ConfigurationException.js +17 -0
  17. package/lib/exceptions/ConfigurationException.js.map +1 -0
  18. package/lib/exceptions/FetchException.js +72 -0
  19. package/lib/exceptions/FetchException.js.map +1 -0
  20. package/lib/exceptions/IllegalArgumentException.js +17 -0
  21. package/lib/exceptions/IllegalArgumentException.js.map +1 -0
  22. package/lib/exceptions/IllegalReturnException.js +16 -0
  23. package/lib/exceptions/IllegalReturnException.js.map +1 -0
  24. package/lib/exceptions/IllegalStateException.js +17 -0
  25. package/lib/exceptions/IllegalStateException.js.map +1 -0
  26. package/lib/exceptions/JsonParseException.js +17 -0
  27. package/lib/exceptions/JsonParseException.js.map +1 -0
  28. package/lib/exceptions/MissingPropertyException.js +17 -0
  29. package/lib/exceptions/MissingPropertyException.js.map +1 -0
  30. package/lib/exceptions/NetworkException.js +23 -0
  31. package/lib/exceptions/NetworkException.js.map +1 -0
  32. package/lib/exceptions/NotAllowedUriException.js +17 -0
  33. package/lib/exceptions/NotAllowedUriException.js.map +1 -0
  34. package/lib/exceptions/NotFoundException.js +26 -0
  35. package/lib/exceptions/NotFoundException.js.map +1 -0
  36. package/lib/exceptions/ServerRequestException.js +17 -0
  37. package/lib/exceptions/ServerRequestException.js.map +1 -0
  38. package/lib/exceptions/ThemePropertyException.js +17 -0
  39. package/lib/exceptions/ThemePropertyException.js.map +1 -0
  40. package/lib/exceptions/TimeoutException.js +17 -0
  41. package/lib/exceptions/TimeoutException.js.map +1 -0
  42. package/lib/exceptions/UnauthorizedException.js +25 -0
  43. package/lib/exceptions/UnauthorizedException.js.map +1 -0
  44. package/lib/exceptions/UnsupportedOperationException.js +17 -0
  45. package/lib/exceptions/UnsupportedOperationException.js.map +1 -0
  46. package/lib/exceptions/index.js +112 -0
  47. package/lib/exceptions/index.js.map +1 -0
  48. package/lib/hooks/index.js +183 -0
  49. package/lib/hooks/index.js.map +1 -0
  50. package/lib/hooks/useAllFormsOnModel.js +81 -0
  51. package/lib/hooks/useAllFormsOnModel.js.map +1 -0
  52. package/lib/hooks/useAuthentication.js +66 -0
  53. package/lib/hooks/useAuthentication.js.map +1 -0
  54. package/lib/hooks/useContent.js +49 -0
  55. package/lib/hooks/useContent.js.map +1 -0
  56. package/lib/hooks/useDeepCompareEffect.js +35 -0
  57. package/lib/hooks/useDeepCompareEffect.js.map +1 -0
  58. package/lib/hooks/useForm.js +98 -0
  59. package/lib/hooks/useForm.js.map +1 -0
  60. package/lib/hooks/useI18n.js +42 -0
  61. package/lib/hooks/useI18n.js.map +1 -0
  62. package/lib/hooks/useModal.js +43 -0
  63. package/lib/hooks/useModal.js.map +1 -0
  64. package/lib/hooks/useModelCatalog.js +179 -0
  65. package/lib/hooks/useModelCatalog.js.map +1 -0
  66. package/lib/hooks/useModels.js +45 -0
  67. package/lib/hooks/useModels.js.map +1 -0
  68. package/lib/hooks/useModularUI.js +69 -0
  69. package/lib/hooks/useModularUI.js.map +1 -0
  70. package/lib/hooks/useModularUIBasic.js +81 -0
  71. package/lib/hooks/useModularUIBasic.js.map +1 -0
  72. package/lib/hooks/useModularUIModel.js +128 -0
  73. package/lib/hooks/useModularUIModel.js.map +1 -0
  74. package/lib/hooks/useModularUIRequest.js +25 -0
  75. package/lib/hooks/useModularUIRequest.js.map +1 -0
  76. package/lib/hooks/useNotification.js +39 -0
  77. package/lib/hooks/useNotification.js.map +1 -0
  78. package/lib/hooks/usePreference.js +23 -0
  79. package/lib/hooks/usePreference.js.map +1 -0
  80. package/lib/hooks/useProgressIndicator.js +23 -0
  81. package/lib/hooks/useProgressIndicator.js.map +1 -0
  82. package/lib/hooks/useRouter.js +42 -0
  83. package/lib/hooks/useRouter.js.map +1 -0
  84. package/lib/i18n/Locale.js +128 -0
  85. package/lib/i18n/Locale.js.map +1 -0
  86. package/lib/i18n/Locales.js +140 -0
  87. package/lib/i18n/Locales.js.map +1 -0
  88. package/lib/i18n/Message.js +50 -0
  89. package/lib/i18n/Message.js.map +1 -0
  90. package/lib/i18n/index.js +57 -0
  91. package/lib/i18n/index.js.map +1 -0
  92. package/lib/i18n/languages.js +212 -0
  93. package/lib/i18n/languages.js.map +1 -0
  94. package/lib/i18n/translations/beinformed_error_messages_en.nl.js +104 -0
  95. package/lib/i18n/translations/beinformed_error_messages_en.nl.js.map +1 -0
  96. package/lib/i18n/translations/beinformed_error_messages_nl.nl.js +104 -0
  97. package/lib/i18n/translations/beinformed_error_messages_nl.nl.js.map +1 -0
  98. package/lib/i18n/types.js +2 -0
  99. package/lib/i18n/types.js.map +1 -0
  100. package/lib/i18n/withMessage.js +27 -0
  101. package/lib/i18n/withMessage.js.map +1 -0
  102. package/lib/index.js +73 -0
  103. package/lib/index.js.map +1 -0
  104. package/lib/models/actions/ActionCollection.js +90 -0
  105. package/lib/models/actions/ActionCollection.js.map +1 -0
  106. package/lib/models/actions/ActionModel.js +194 -0
  107. package/lib/models/actions/ActionModel.js.map +1 -0
  108. package/lib/models/application/ApplicationModel.js +133 -0
  109. package/lib/models/application/ApplicationModel.js.map +1 -0
  110. package/lib/models/attributes/AttributeCollection.js +282 -0
  111. package/lib/models/attributes/AttributeCollection.js.map +1 -0
  112. package/lib/models/attributes/AttributeContent.js +203 -0
  113. package/lib/models/attributes/AttributeContent.js.map +1 -0
  114. package/lib/models/attributes/AttributeDataHelper.js +267 -0
  115. package/lib/models/attributes/AttributeDataHelper.js.map +1 -0
  116. package/lib/models/attributes/AttributeModel.js +824 -0
  117. package/lib/models/attributes/AttributeModel.js.map +1 -0
  118. package/lib/models/attributes/AttributeSetModel.js +105 -0
  119. package/lib/models/attributes/AttributeSetModel.js.map +1 -0
  120. package/lib/models/attributes/BooleanAttributeModel.js +295 -0
  121. package/lib/models/attributes/BooleanAttributeModel.js.map +1 -0
  122. package/lib/models/attributes/CaptchaAttributeModel.js +60 -0
  123. package/lib/models/attributes/CaptchaAttributeModel.js.map +1 -0
  124. package/lib/models/attributes/ChoiceAttributeModel.js +411 -0
  125. package/lib/models/attributes/ChoiceAttributeModel.js.map +1 -0
  126. package/lib/models/attributes/ChoiceAttributeOptionCollection.js +300 -0
  127. package/lib/models/attributes/ChoiceAttributeOptionCollection.js.map +1 -0
  128. package/lib/models/attributes/ChoiceAttributeOptionModel.js +342 -0
  129. package/lib/models/attributes/ChoiceAttributeOptionModel.js.map +1 -0
  130. package/lib/models/attributes/CompositeAttributeChildCollection.js +189 -0
  131. package/lib/models/attributes/CompositeAttributeChildCollection.js.map +1 -0
  132. package/lib/models/attributes/CompositeAttributeModel.js +380 -0
  133. package/lib/models/attributes/CompositeAttributeModel.js.map +1 -0
  134. package/lib/models/attributes/DatetimeAttributeModel.js +465 -0
  135. package/lib/models/attributes/DatetimeAttributeModel.js.map +1 -0
  136. package/lib/models/attributes/HelptextAttributeModel.js +55 -0
  137. package/lib/models/attributes/HelptextAttributeModel.js.map +1 -0
  138. package/lib/models/attributes/LabelAttributeModel.js +41 -0
  139. package/lib/models/attributes/LabelAttributeModel.js.map +1 -0
  140. package/lib/models/attributes/MemoAttributeModel.js +49 -0
  141. package/lib/models/attributes/MemoAttributeModel.js.map +1 -0
  142. package/lib/models/attributes/MoneyAttributeModel.js +49 -0
  143. package/lib/models/attributes/MoneyAttributeModel.js.map +1 -0
  144. package/lib/models/attributes/NumberAttributeModel.js +201 -0
  145. package/lib/models/attributes/NumberAttributeModel.js.map +1 -0
  146. package/lib/models/attributes/PasswordAttributeModel.js +217 -0
  147. package/lib/models/attributes/PasswordAttributeModel.js.map +1 -0
  148. package/lib/models/attributes/StringAttributeModel.js +284 -0
  149. package/lib/models/attributes/StringAttributeModel.js.map +1 -0
  150. package/lib/models/attributes/UploadAttributeModel.js +223 -0
  151. package/lib/models/attributes/UploadAttributeModel.js.map +1 -0
  152. package/lib/models/attributes/XMLAttributeModel.js +53 -0
  153. package/lib/models/attributes/XMLAttributeModel.js.map +1 -0
  154. package/lib/models/attributes/_createAttribute.js +93 -0
  155. package/lib/models/attributes/_createAttribute.js.map +1 -0
  156. package/lib/models/attributes/input-constraints/BSNConstraint.js +72 -0
  157. package/lib/models/attributes/input-constraints/BSNConstraint.js.map +1 -0
  158. package/lib/models/attributes/input-constraints/ConstraintCollection.js +50 -0
  159. package/lib/models/attributes/input-constraints/ConstraintCollection.js.map +1 -0
  160. package/lib/models/attributes/input-constraints/ConstraintModel.js +74 -0
  161. package/lib/models/attributes/input-constraints/ConstraintModel.js.map +1 -0
  162. package/lib/models/attributes/input-constraints/DateBoundaryConstraint.js +205 -0
  163. package/lib/models/attributes/input-constraints/DateBoundaryConstraint.js.map +1 -0
  164. package/lib/models/attributes/input-constraints/DateTimeDateFormatConstraint.js +76 -0
  165. package/lib/models/attributes/input-constraints/DateTimeDateFormatConstraint.js.map +1 -0
  166. package/lib/models/attributes/input-constraints/DateTimeTimeFormatConstraint.js +76 -0
  167. package/lib/models/attributes/input-constraints/DateTimeTimeFormatConstraint.js.map +1 -0
  168. package/lib/models/attributes/input-constraints/DatetimeFormatConstraint.js +122 -0
  169. package/lib/models/attributes/input-constraints/DatetimeFormatConstraint.js.map +1 -0
  170. package/lib/models/attributes/input-constraints/FileExtensionConstraint.js +66 -0
  171. package/lib/models/attributes/input-constraints/FileExtensionConstraint.js.map +1 -0
  172. package/lib/models/attributes/input-constraints/FileSizeConstraint.js +98 -0
  173. package/lib/models/attributes/input-constraints/FileSizeConstraint.js.map +1 -0
  174. package/lib/models/attributes/input-constraints/IBANConstraint.js +49 -0
  175. package/lib/models/attributes/input-constraints/IBANConstraint.js.map +1 -0
  176. package/lib/models/attributes/input-constraints/MandatoryConstraint.js +53 -0
  177. package/lib/models/attributes/input-constraints/MandatoryConstraint.js.map +1 -0
  178. package/lib/models/attributes/input-constraints/MandatoryRangeConstraint.js +85 -0
  179. package/lib/models/attributes/input-constraints/MandatoryRangeConstraint.js.map +1 -0
  180. package/lib/models/attributes/input-constraints/NumberBoundaryConstraint.js +177 -0
  181. package/lib/models/attributes/input-constraints/NumberBoundaryConstraint.js.map +1 -0
  182. package/lib/models/attributes/input-constraints/NumberFormatConstraint.js +132 -0
  183. package/lib/models/attributes/input-constraints/NumberFormatConstraint.js.map +1 -0
  184. package/lib/models/attributes/input-constraints/NumberGroupingConstraint.js +126 -0
  185. package/lib/models/attributes/input-constraints/NumberGroupingConstraint.js.map +1 -0
  186. package/lib/models/attributes/input-constraints/PasswordConfirmConstraint.js +72 -0
  187. package/lib/models/attributes/input-constraints/PasswordConfirmConstraint.js.map +1 -0
  188. package/lib/models/attributes/input-constraints/PasswordLowerAndUpperCaseConstraint.js +47 -0
  189. package/lib/models/attributes/input-constraints/PasswordLowerAndUpperCaseConstraint.js.map +1 -0
  190. package/lib/models/attributes/input-constraints/PasswordMinNumericCharactersConstraint.js +64 -0
  191. package/lib/models/attributes/input-constraints/PasswordMinNumericCharactersConstraint.js.map +1 -0
  192. package/lib/models/attributes/input-constraints/PasswordMinSpecialCharactersConstraint.js +64 -0
  193. package/lib/models/attributes/input-constraints/PasswordMinSpecialCharactersConstraint.js.map +1 -0
  194. package/lib/models/attributes/input-constraints/PasswordThreeConsecutiveCharactersNotAllowedConstraint.js +78 -0
  195. package/lib/models/attributes/input-constraints/PasswordThreeConsecutiveCharactersNotAllowedConstraint.js.map +1 -0
  196. package/lib/models/attributes/input-constraints/RangeConstraint.js +143 -0
  197. package/lib/models/attributes/input-constraints/RangeConstraint.js.map +1 -0
  198. package/lib/models/attributes/input-constraints/RegexConstraint.js +67 -0
  199. package/lib/models/attributes/input-constraints/RegexConstraint.js.map +1 -0
  200. package/lib/models/attributes/input-constraints/StringLengthConstraint.js +178 -0
  201. package/lib/models/attributes/input-constraints/StringLengthConstraint.js.map +1 -0
  202. package/lib/models/attributes/input-constraints/XMLConstraint.js +62 -0
  203. package/lib/models/attributes/input-constraints/XMLConstraint.js.map +1 -0
  204. package/lib/models/attributes/layouthint-rules/BaseLayoutHintRule.js +66 -0
  205. package/lib/models/attributes/layouthint-rules/BaseLayoutHintRule.js.map +1 -0
  206. package/lib/models/attributes/layouthint-rules/DependentAttribute.js +200 -0
  207. package/lib/models/attributes/layouthint-rules/DependentAttribute.js.map +1 -0
  208. package/lib/models/attributes/layouthint-rules/LayoutHintRuleCollection.js +88 -0
  209. package/lib/models/attributes/layouthint-rules/LayoutHintRuleCollection.js.map +1 -0
  210. package/lib/models/attributes/layouthint-rules/RemainingTotalUploadSize.js +51 -0
  211. package/lib/models/attributes/layouthint-rules/RemainingTotalUploadSize.js.map +1 -0
  212. package/lib/models/base/BaseCollection.js +186 -0
  213. package/lib/models/base/BaseCollection.js.map +1 -0
  214. package/lib/models/base/BaseModel.js +149 -0
  215. package/lib/models/base/BaseModel.js.map +1 -0
  216. package/lib/models/base/ResourceCollection.js +41 -0
  217. package/lib/models/base/ResourceCollection.js.map +1 -0
  218. package/lib/models/base/ResourceModel.js +209 -0
  219. package/lib/models/base/ResourceModel.js.map +1 -0
  220. package/lib/models/caseview/CaseViewModel.js +163 -0
  221. package/lib/models/caseview/CaseViewModel.js.map +1 -0
  222. package/lib/models/concepts/BusinessScenarioModel.js +122 -0
  223. package/lib/models/concepts/BusinessScenarioModel.js.map +1 -0
  224. package/lib/models/concepts/ConceptDetailModel.js +281 -0
  225. package/lib/models/concepts/ConceptDetailModel.js.map +1 -0
  226. package/lib/models/concepts/ConceptIndexModel.js +150 -0
  227. package/lib/models/concepts/ConceptIndexModel.js.map +1 -0
  228. package/lib/models/concepts/ConceptLinkModel.js +152 -0
  229. package/lib/models/concepts/ConceptLinkModel.js.map +1 -0
  230. package/lib/models/concepts/ConceptRelationCollection.js +82 -0
  231. package/lib/models/concepts/ConceptRelationCollection.js.map +1 -0
  232. package/lib/models/concepts/ConceptRelationModel.js +115 -0
  233. package/lib/models/concepts/ConceptRelationModel.js.map +1 -0
  234. package/lib/models/concepts/ConceptTypeDetailModel.js +128 -0
  235. package/lib/models/concepts/ConceptTypeDetailModel.js.map +1 -0
  236. package/lib/models/concepts/SourceReferenceCollection.js +35 -0
  237. package/lib/models/concepts/SourceReferenceCollection.js.map +1 -0
  238. package/lib/models/concepts/SourceReferenceModel.js +73 -0
  239. package/lib/models/concepts/SourceReferenceModel.js.map +1 -0
  240. package/lib/models/content/ContentIndexModel.js +142 -0
  241. package/lib/models/content/ContentIndexModel.js.map +1 -0
  242. package/lib/models/content/ContentLinkModel.js +193 -0
  243. package/lib/models/content/ContentLinkModel.js.map +1 -0
  244. package/lib/models/content/ContentModel.js +207 -0
  245. package/lib/models/content/ContentModel.js.map +1 -0
  246. package/lib/models/content/ContentTOCModel.js +163 -0
  247. package/lib/models/content/ContentTOCModel.js.map +1 -0
  248. package/lib/models/content/ContentTypeModel.js +74 -0
  249. package/lib/models/content/ContentTypeModel.js.map +1 -0
  250. package/lib/models/content/SectionModel.js +180 -0
  251. package/lib/models/content/SectionModel.js.map +1 -0
  252. package/lib/models/content/SubSectionModel.js +167 -0
  253. package/lib/models/content/SubSectionModel.js.map +1 -0
  254. package/lib/models/contentconfiguration/ContentConfiguration.js +75 -0
  255. package/lib/models/contentconfiguration/ContentConfiguration.js.map +1 -0
  256. package/lib/models/contentconfiguration/ContentConfigurationElements.js +143 -0
  257. package/lib/models/contentconfiguration/ContentConfigurationElements.js.map +1 -0
  258. package/lib/models/contentconfiguration/ContentConfigurationEndResults.js +49 -0
  259. package/lib/models/contentconfiguration/ContentConfigurationEndResults.js.map +1 -0
  260. package/lib/models/contentconfiguration/ContentConfigurationQuestions.js +54 -0
  261. package/lib/models/contentconfiguration/ContentConfigurationQuestions.js.map +1 -0
  262. package/lib/models/contentconfiguration/ContentConfigurationResults.js +103 -0
  263. package/lib/models/contentconfiguration/ContentConfigurationResults.js.map +1 -0
  264. package/lib/models/detail/DetailModel.js +219 -0
  265. package/lib/models/detail/DetailModel.js.map +1 -0
  266. package/lib/models/error/ErrorCollection.js +111 -0
  267. package/lib/models/error/ErrorCollection.js.map +1 -0
  268. package/lib/models/error/ErrorModel.js +81 -0
  269. package/lib/models/error/ErrorModel.js.map +1 -0
  270. package/lib/models/error/ErrorResponse.js +304 -0
  271. package/lib/models/error/ErrorResponse.js.map +1 -0
  272. package/lib/models/filters/AssignmentFilterModel.js +161 -0
  273. package/lib/models/filters/AssignmentFilterModel.js.map +1 -0
  274. package/lib/models/filters/BaseFilterModel.js +210 -0
  275. package/lib/models/filters/BaseFilterModel.js.map +1 -0
  276. package/lib/models/filters/ConceptIndexFilterModel.js +36 -0
  277. package/lib/models/filters/ConceptIndexFilterModel.js.map +1 -0
  278. package/lib/models/filters/FilterCollection.js +155 -0
  279. package/lib/models/filters/FilterCollection.js.map +1 -0
  280. package/lib/models/filters/FilterModel.js +13 -0
  281. package/lib/models/filters/FilterModel.js.map +1 -0
  282. package/lib/models/filters/RangeFilterModel.js +44 -0
  283. package/lib/models/filters/RangeFilterModel.js.map +1 -0
  284. package/lib/models/filters/StringFilterModel.js +147 -0
  285. package/lib/models/filters/StringFilterModel.js.map +1 -0
  286. package/lib/models/form/FormModel.js +1038 -0
  287. package/lib/models/form/FormModel.js.map +1 -0
  288. package/lib/models/form/FormObjectModel.js +474 -0
  289. package/lib/models/form/FormObjectModel.js.map +1 -0
  290. package/lib/models/grouping/GroupingModel.js +191 -0
  291. package/lib/models/grouping/GroupingModel.js.map +1 -0
  292. package/lib/models/href/Href.js +496 -0
  293. package/lib/models/href/Href.js.map +1 -0
  294. package/lib/models/href/ListHref.js +135 -0
  295. package/lib/models/href/ListHref.js.map +1 -0
  296. package/lib/models/index.js +687 -0
  297. package/lib/models/index.js.map +1 -0
  298. package/lib/models/layouthint/LayoutHintCollection.js +118 -0
  299. package/lib/models/layouthint/LayoutHintCollection.js.map +1 -0
  300. package/lib/models/links/LinkCollection.js +171 -0
  301. package/lib/models/links/LinkCollection.js.map +1 -0
  302. package/lib/models/links/LinkModel.js +216 -0
  303. package/lib/models/links/LinkModel.js.map +1 -0
  304. package/lib/models/links/normalizeLinkJSON.js +107 -0
  305. package/lib/models/links/normalizeLinkJSON.js.map +1 -0
  306. package/lib/models/list/ListDetailModel.js +266 -0
  307. package/lib/models/list/ListDetailModel.js.map +1 -0
  308. package/lib/models/list/ListHeaderModel.js +95 -0
  309. package/lib/models/list/ListHeaderModel.js.map +1 -0
  310. package/lib/models/list/ListItemCollection.js +67 -0
  311. package/lib/models/list/ListItemCollection.js.map +1 -0
  312. package/lib/models/list/ListItemModel.js +95 -0
  313. package/lib/models/list/ListItemModel.js.map +1 -0
  314. package/lib/models/list/ListModel.js +385 -0
  315. package/lib/models/list/ListModel.js.map +1 -0
  316. package/lib/models/lookup/LookupOptionCollection.js +45 -0
  317. package/lib/models/lookup/LookupOptionCollection.js.map +1 -0
  318. package/lib/models/lookup/LookupOptionsModel.js +71 -0
  319. package/lib/models/lookup/LookupOptionsModel.js.map +1 -0
  320. package/lib/models/modelcatalog/ModelCatalogModel.js +69 -0
  321. package/lib/models/modelcatalog/ModelCatalogModel.js.map +1 -0
  322. package/lib/models/modelcatalog/ModelCategoryCollection.js +24 -0
  323. package/lib/models/modelcatalog/ModelCategoryCollection.js.map +1 -0
  324. package/lib/models/modelcatalog/ModelCategoryModel.js +60 -0
  325. package/lib/models/modelcatalog/ModelCategoryModel.js.map +1 -0
  326. package/lib/models/paging/PagesizeModel.js +50 -0
  327. package/lib/models/paging/PagesizeModel.js.map +1 -0
  328. package/lib/models/paging/PagingModel.js +95 -0
  329. package/lib/models/paging/PagingModel.js.map +1 -0
  330. package/lib/models/panels/GroupingPanelModel.js +143 -0
  331. package/lib/models/panels/GroupingPanelModel.js.map +1 -0
  332. package/lib/models/parameter/Parameter.js +108 -0
  333. package/lib/models/parameter/Parameter.js.map +1 -0
  334. package/lib/models/process/ProcessStatusSettingsModel.js +85 -0
  335. package/lib/models/process/ProcessStatusSettingsModel.js.map +1 -0
  336. package/lib/models/resolveModel.js +57 -0
  337. package/lib/models/resolveModel.js.map +1 -0
  338. package/lib/models/search/CaseSearchModel.js +47 -0
  339. package/lib/models/search/CaseSearchModel.js.map +1 -0
  340. package/lib/models/sorting/SortOptionModel.js +106 -0
  341. package/lib/models/sorting/SortOptionModel.js.map +1 -0
  342. package/lib/models/sorting/SortingModel.js +112 -0
  343. package/lib/models/sorting/SortingModel.js.map +1 -0
  344. package/lib/models/tab/TabModel.js +143 -0
  345. package/lib/models/tab/TabModel.js.map +1 -0
  346. package/lib/models/taskgroup/TaskGroupCollection.js +21 -0
  347. package/lib/models/taskgroup/TaskGroupCollection.js.map +1 -0
  348. package/lib/models/taskgroup/TaskGroupModel.js +87 -0
  349. package/lib/models/taskgroup/TaskGroupModel.js.map +1 -0
  350. package/lib/models/types.js +2 -0
  351. package/lib/models/types.js.map +1 -0
  352. package/lib/models/user/UserModel.js +59 -0
  353. package/lib/models/user/UserModel.js.map +1 -0
  354. package/lib/models/user/UserProfileModel.js +55 -0
  355. package/lib/models/user/UserProfileModel.js.map +1 -0
  356. package/lib/models/user/UserServicesModel.js +126 -0
  357. package/lib/models/user/UserServicesModel.js.map +1 -0
  358. package/lib/modularui/Authenticate.js +183 -0
  359. package/lib/modularui/Authenticate.js.map +1 -0
  360. package/lib/modularui/CaptchaRequest.js +71 -0
  361. package/lib/modularui/CaptchaRequest.js.map +1 -0
  362. package/lib/modularui/ModularUIError.js +30 -0
  363. package/lib/modularui/ModularUIError.js.map +1 -0
  364. package/lib/modularui/ModularUIRequest.js +716 -0
  365. package/lib/modularui/ModularUIRequest.js.map +1 -0
  366. package/lib/modularui/ModularUIResponse.js +147 -0
  367. package/lib/modularui/ModularUIResponse.js.map +1 -0
  368. package/lib/modularui/UploadRequest.js +103 -0
  369. package/lib/modularui/UploadRequest.js.map +1 -0
  370. package/lib/modularui/index.js +42 -0
  371. package/lib/modularui/index.js.map +1 -0
  372. package/lib/modularui/types.js +2 -0
  373. package/lib/modularui/types.js.map +1 -0
  374. package/lib/react/ErrorBoundary.js +56 -0
  375. package/lib/react/ErrorBoundary.js.map +1 -0
  376. package/lib/react/ErrorBoundaryFallback.js +41 -0
  377. package/lib/react/ErrorBoundaryFallback.js.map +1 -0
  378. package/lib/react/index.js +29 -0
  379. package/lib/react/index.js.map +1 -0
  380. package/lib/react/utils.js +32 -0
  381. package/lib/react/utils.js.map +1 -0
  382. package/lib/react-client/Init.js +44 -0
  383. package/lib/react-client/Init.js.map +1 -0
  384. package/lib/react-client/client.js +216 -0
  385. package/lib/react-client/client.js.map +1 -0
  386. package/lib/react-client/contextPath.js +26 -0
  387. package/lib/react-client/contextPath.js.map +1 -0
  388. package/lib/react-client/index.js +40 -0
  389. package/lib/react-client/index.js.map +1 -0
  390. package/lib/react-client/rehydrate.js +73 -0
  391. package/lib/react-client/rehydrate.js.map +1 -0
  392. package/lib/react-server/contextPath.js +10 -0
  393. package/lib/react-server/contextPath.js.map +1 -0
  394. package/lib/react-server/createSSRComplete.js +61 -0
  395. package/lib/react-server/createSSRComplete.js.map +1 -0
  396. package/lib/react-server/htmlpage.js +54 -0
  397. package/lib/react-server/htmlpage.js.map +1 -0
  398. package/lib/react-server/index.js +82 -0
  399. package/lib/react-server/index.js.map +1 -0
  400. package/lib/react-server/renderSSRComplete.js +91 -0
  401. package/lib/react-server/renderSSRComplete.js.map +1 -0
  402. package/lib/react-server/renderSSRMinimal.js +47 -0
  403. package/lib/react-server/renderSSRMinimal.js.map +1 -0
  404. package/lib/react-server/requestInformation.js +46 -0
  405. package/lib/react-server/requestInformation.js.map +1 -0
  406. package/lib/react-server/serverNoSSR.js +63 -0
  407. package/lib/react-server/serverNoSSR.js.map +1 -0
  408. package/lib/react-server/serverSSR.js +51 -0
  409. package/lib/react-server/serverSSR.js.map +1 -0
  410. package/lib/react-server/serverUtil.js +218 -0
  411. package/lib/react-server/serverUtil.js.map +1 -0
  412. package/lib/react-theme/ThemeProvider.js +33 -0
  413. package/lib/react-theme/ThemeProvider.js.map +1 -0
  414. package/lib/react-theme/createTheme.js +115 -0
  415. package/lib/react-theme/createTheme.js.map +1 -0
  416. package/lib/react-theme/index.js +110 -0
  417. package/lib/react-theme/index.js.map +1 -0
  418. package/lib/react-theme/types.js +2 -0
  419. package/lib/react-theme/types.js.map +1 -0
  420. package/lib/react-theme/useTheme.js +15 -0
  421. package/lib/react-theme/useTheme.js.map +1 -0
  422. package/lib/react-theme/utils/background.js +21 -0
  423. package/lib/react-theme/utils/background.js.map +1 -0
  424. package/lib/react-theme/utils/colors.js +45 -0
  425. package/lib/react-theme/utils/colors.js.map +1 -0
  426. package/lib/react-theme/utils/contrast.js +95 -0
  427. package/lib/react-theme/utils/contrast.js.map +1 -0
  428. package/lib/react-theme/utils/corners.js +34 -0
  429. package/lib/react-theme/utils/corners.js.map +1 -0
  430. package/lib/react-theme/utils/spacers.js +89 -0
  431. package/lib/react-theme/utils/spacers.js.map +1 -0
  432. package/lib/react-theme/utils/themeProps.js +75 -0
  433. package/lib/react-theme/utils/themeProps.js.map +1 -0
  434. package/lib/redux/_i18n/I18nActions.js +37 -0
  435. package/lib/redux/_i18n/I18nActions.js.map +1 -0
  436. package/lib/redux/_i18n/I18nReducer.js +78 -0
  437. package/lib/redux/_i18n/I18nReducer.js.map +1 -0
  438. package/lib/redux/_i18n/index.js +29 -0
  439. package/lib/redux/_i18n/index.js.map +1 -0
  440. package/lib/redux/_i18n/types.js +2 -0
  441. package/lib/redux/_i18n/types.js.map +1 -0
  442. package/lib/redux/_modularui/ModularUIActions.js +168 -0
  443. package/lib/redux/_modularui/ModularUIActions.js.map +1 -0
  444. package/lib/redux/_modularui/ModularUIConnector.js +123 -0
  445. package/lib/redux/_modularui/ModularUIConnector.js.map +1 -0
  446. package/lib/redux/_modularui/ModularUIMiddleware.js +107 -0
  447. package/lib/redux/_modularui/ModularUIMiddleware.js.map +1 -0
  448. package/lib/redux/_modularui/ModularUIReducer.js +157 -0
  449. package/lib/redux/_modularui/ModularUIReducer.js.map +1 -0
  450. package/lib/redux/_modularui/ModularUISelectors.js +270 -0
  451. package/lib/redux/_modularui/ModularUISelectors.js.map +1 -0
  452. package/lib/redux/_modularui/ModularUIUtils.js +83 -0
  453. package/lib/redux/_modularui/ModularUIUtils.js.map +1 -0
  454. package/lib/redux/_modularui/index.js +86 -0
  455. package/lib/redux/_modularui/index.js.map +1 -0
  456. package/lib/redux/_modularui/types.js +2 -0
  457. package/lib/redux/_modularui/types.js.map +1 -0
  458. package/lib/redux/_modularui/withModularUI.js +41 -0
  459. package/lib/redux/_modularui/withModularUI.js.map +1 -0
  460. package/lib/redux/_router/RouterActions.js +67 -0
  461. package/lib/redux/_router/RouterActions.js.map +1 -0
  462. package/lib/redux/_router/RouterConnectors.js +42 -0
  463. package/lib/redux/_router/RouterConnectors.js.map +1 -0
  464. package/lib/redux/_router/RouterMiddleware.js +38 -0
  465. package/lib/redux/_router/RouterMiddleware.js.map +1 -0
  466. package/lib/redux/_router/RouterReducer.js +22 -0
  467. package/lib/redux/_router/RouterReducer.js.map +1 -0
  468. package/lib/redux/_router/index.js +51 -0
  469. package/lib/redux/_router/index.js.map +1 -0
  470. package/lib/redux/_router/types.js +2 -0
  471. package/lib/redux/_router/types.js.map +1 -0
  472. package/lib/redux/actions/Application.js +38 -0
  473. package/lib/redux/actions/Application.js.map +1 -0
  474. package/lib/redux/actions/Authorization.js +55 -0
  475. package/lib/redux/actions/Authorization.js.map +1 -0
  476. package/lib/redux/actions/Error.js +74 -0
  477. package/lib/redux/actions/Error.js.map +1 -0
  478. package/lib/redux/actions/Form.js +39 -0
  479. package/lib/redux/actions/Form.js.map +1 -0
  480. package/lib/redux/actions/FormAttributeSet.js +69 -0
  481. package/lib/redux/actions/FormAttributeSet.js.map +1 -0
  482. package/lib/redux/actions/FormAttributeSetRepeatable.js +35 -0
  483. package/lib/redux/actions/FormAttributeSetRepeatable.js.map +1 -0
  484. package/lib/redux/actions/FormAutosave.js +60 -0
  485. package/lib/redux/actions/FormAutosave.js.map +1 -0
  486. package/lib/redux/actions/FormAutosubmit.js +38 -0
  487. package/lib/redux/actions/FormAutosubmit.js.map +1 -0
  488. package/lib/redux/actions/FormAutoupdate.js +37 -0
  489. package/lib/redux/actions/FormAutoupdate.js.map +1 -0
  490. package/lib/redux/actions/FormValidations.js +51 -0
  491. package/lib/redux/actions/FormValidations.js.map +1 -0
  492. package/lib/redux/actions/Modals.js +22 -0
  493. package/lib/redux/actions/Modals.js.map +1 -0
  494. package/lib/redux/actions/ModelCatalog.js +15 -0
  495. package/lib/redux/actions/ModelCatalog.js.map +1 -0
  496. package/lib/redux/actions/Notification.js +76 -0
  497. package/lib/redux/actions/Notification.js.map +1 -0
  498. package/lib/redux/actions/Preferences.js +128 -0
  499. package/lib/redux/actions/Preferences.js.map +1 -0
  500. package/lib/redux/actions/ProgressIndicator.js +42 -0
  501. package/lib/redux/actions/ProgressIndicator.js.map +1 -0
  502. package/lib/redux/actions/SignIn.js +90 -0
  503. package/lib/redux/actions/SignIn.js.map +1 -0
  504. package/lib/redux/actions/SignOut.js +30 -0
  505. package/lib/redux/actions/SignOut.js.map +1 -0
  506. package/lib/redux/actions/index.js +183 -0
  507. package/lib/redux/actions/index.js.map +1 -0
  508. package/lib/redux/connectors/Application.js +14 -0
  509. package/lib/redux/connectors/Application.js.map +1 -0
  510. package/lib/redux/connectors/Breadcrumb.js +16 -0
  511. package/lib/redux/connectors/Breadcrumb.js.map +1 -0
  512. package/lib/redux/connectors/CaseView.js +19 -0
  513. package/lib/redux/connectors/CaseView.js.map +1 -0
  514. package/lib/redux/connectors/ConceptDetail.js +20 -0
  515. package/lib/redux/connectors/ConceptDetail.js.map +1 -0
  516. package/lib/redux/connectors/ContentBrowser.js +19 -0
  517. package/lib/redux/connectors/ContentBrowser.js.map +1 -0
  518. package/lib/redux/connectors/ContentDetail.js +20 -0
  519. package/lib/redux/connectors/ContentDetail.js.map +1 -0
  520. package/lib/redux/connectors/ContentDetailSection.js +22 -0
  521. package/lib/redux/connectors/ContentDetailSection.js.map +1 -0
  522. package/lib/redux/connectors/Form.js +43 -0
  523. package/lib/redux/connectors/Form.js.map +1 -0
  524. package/lib/redux/connectors/FormAttributeSet.js +27 -0
  525. package/lib/redux/connectors/FormAttributeSet.js.map +1 -0
  526. package/lib/redux/connectors/ListDetail.js +21 -0
  527. package/lib/redux/connectors/ListDetail.js.map +1 -0
  528. package/lib/redux/connectors/Modal.js +27 -0
  529. package/lib/redux/connectors/Modal.js.map +1 -0
  530. package/lib/redux/connectors/ModelCatalog.js +19 -0
  531. package/lib/redux/connectors/ModelCatalog.js.map +1 -0
  532. package/lib/redux/connectors/Notification.js +22 -0
  533. package/lib/redux/connectors/Notification.js.map +1 -0
  534. package/lib/redux/connectors/PanelRenderer.js +29 -0
  535. package/lib/redux/connectors/PanelRenderer.js.map +1 -0
  536. package/lib/redux/connectors/Preferences.js +29 -0
  537. package/lib/redux/connectors/Preferences.js.map +1 -0
  538. package/lib/redux/connectors/Progress.js +19 -0
  539. package/lib/redux/connectors/Progress.js.map +1 -0
  540. package/lib/redux/connectors/ProgressIndicator.js +19 -0
  541. package/lib/redux/connectors/ProgressIndicator.js.map +1 -0
  542. package/lib/redux/connectors/QuickSearch.js +27 -0
  543. package/lib/redux/connectors/QuickSearch.js.map +1 -0
  544. package/lib/redux/connectors/SignIn.js +24 -0
  545. package/lib/redux/connectors/SignIn.js.map +1 -0
  546. package/lib/redux/connectors/SignOut.js +20 -0
  547. package/lib/redux/connectors/SignOut.js.map +1 -0
  548. package/lib/redux/connectors/Tab.js +19 -0
  549. package/lib/redux/connectors/Tab.js.map +1 -0
  550. package/lib/redux/connectors/index.js +153 -0
  551. package/lib/redux/connectors/index.js.map +1 -0
  552. package/lib/redux/index.js +102 -0
  553. package/lib/redux/index.js.map +1 -0
  554. package/lib/redux/reducers/AuthReducer.js +59 -0
  555. package/lib/redux/reducers/AuthReducer.js.map +1 -0
  556. package/lib/redux/reducers/ErrorReducer.js +22 -0
  557. package/lib/redux/reducers/ErrorReducer.js.map +1 -0
  558. package/lib/redux/reducers/ModalsReducer.js +58 -0
  559. package/lib/redux/reducers/ModalsReducer.js.map +1 -0
  560. package/lib/redux/reducers/ModelCatalogReducer.js +34 -0
  561. package/lib/redux/reducers/ModelCatalogReducer.js.map +1 -0
  562. package/lib/redux/reducers/NotificationReducer.js +43 -0
  563. package/lib/redux/reducers/NotificationReducer.js.map +1 -0
  564. package/lib/redux/reducers/PreferencesReducer.js +30 -0
  565. package/lib/redux/reducers/PreferencesReducer.js.map +1 -0
  566. package/lib/redux/reducers/ProgressIndicatorReducer.js +55 -0
  567. package/lib/redux/reducers/ProgressIndicatorReducer.js.map +1 -0
  568. package/lib/redux/reducers/createReducer.js +33 -0
  569. package/lib/redux/reducers/createReducer.js.map +1 -0
  570. package/lib/redux/reducers/index.js +78 -0
  571. package/lib/redux/reducers/index.js.map +1 -0
  572. package/lib/redux/selectors/i18n.js +20 -0
  573. package/lib/redux/selectors/i18n.js.map +1 -0
  574. package/lib/redux/selectors/index.js +29 -0
  575. package/lib/redux/selectors/index.js.map +1 -0
  576. package/lib/redux/selectors/modelcatalog.js +14 -0
  577. package/lib/redux/selectors/modelcatalog.js.map +1 -0
  578. package/lib/redux/store/beforeRenderHooks.js +24 -0
  579. package/lib/redux/store/beforeRenderHooks.js.map +1 -0
  580. package/lib/redux/store/configureStore.js +42 -0
  581. package/lib/redux/store/configureStore.js.map +1 -0
  582. package/lib/redux/types.js +2 -0
  583. package/lib/redux/types.js.map +1 -0
  584. package/lib/utils/browser/Cache.js +151 -0
  585. package/lib/utils/browser/Cache.js.map +1 -0
  586. package/lib/utils/browser/Cookies.js +38 -0
  587. package/lib/utils/browser/Cookies.js.map +1 -0
  588. package/lib/utils/datetime/DateTimeUtil.js +648 -0
  589. package/lib/utils/datetime/DateTimeUtil.js.map +1 -0
  590. package/lib/utils/fetch/serverFetch.js +32 -0
  591. package/lib/utils/fetch/serverFetch.js.map +1 -0
  592. package/lib/utils/fetch/types.js +2 -0
  593. package/lib/utils/fetch/types.js.map +1 -0
  594. package/lib/utils/fetch/universalFetch.js +94 -0
  595. package/lib/utils/fetch/universalFetch.js.map +1 -0
  596. package/lib/utils/fetch/xhr.js +358 -0
  597. package/lib/utils/fetch/xhr.js.map +1 -0
  598. package/lib/utils/helpers/checkResource.js +46 -0
  599. package/lib/utils/helpers/checkResource.js.map +1 -0
  600. package/lib/utils/helpers/createHash.js +28 -0
  601. package/lib/utils/helpers/createHash.js.map +1 -0
  602. package/lib/utils/helpers/createHref.js +101 -0
  603. package/lib/utils/helpers/createHref.js.map +1 -0
  604. package/lib/utils/helpers/createUUID.js +18 -0
  605. package/lib/utils/helpers/createUUID.js.map +1 -0
  606. package/lib/utils/helpers/index.js +102 -0
  607. package/lib/utils/helpers/index.js.map +1 -0
  608. package/lib/utils/helpers/objects.js +36 -0
  609. package/lib/utils/helpers/objects.js.map +1 -0
  610. package/lib/utils/helpers/repositoryResource.js +26 -0
  611. package/lib/utils/helpers/repositoryResource.js.map +1 -0
  612. package/lib/utils/helpers/sanitizeHtml.js +44 -0
  613. package/lib/utils/helpers/sanitizeHtml.js.map +1 -0
  614. package/lib/utils/helpers/text.js +23 -0
  615. package/lib/utils/helpers/text.js.map +1 -0
  616. package/lib/utils/index.js +106 -0
  617. package/lib/utils/index.js.map +1 -0
  618. package/lib/utils/number/DecimalFormat.js +333 -0
  619. package/lib/utils/number/DecimalFormat.js.map +1 -0
  620. package/lib/utils/number/formatValue.js +47 -0
  621. package/lib/utils/number/formatValue.js.map +1 -0
  622. package/lib/utils/number/parseNumbers.js +70 -0
  623. package/lib/utils/number/parseNumbers.js.map +1 -0
  624. package/package.json +59 -143
  625. package/builder/package.json +0 -12
  626. package/constants/package.json +0 -12
  627. package/exceptions/package.json +0 -12
  628. package/hooks/package.json +0 -12
  629. package/i18n/package.json +0 -12
  630. package/lib/builder/index.cjs +0 -18
  631. package/lib/builder/index.cjs.map +0 -1
  632. package/lib/builder/mergeLayoutHintConfigurations.cjs +0 -60
  633. package/lib/builder/mergeLayoutHintConfigurations.cjs.map +0 -1
  634. package/lib/constants/Constants.cjs +0 -189
  635. package/lib/constants/Constants.cjs.map +0 -1
  636. package/lib/constants/LayoutHintConfig.cjs +0 -173
  637. package/lib/constants/LayoutHintConfig.cjs.map +0 -1
  638. package/lib/constants/LayoutHints.cjs +0 -135
  639. package/lib/constants/LayoutHints.cjs.map +0 -1
  640. package/lib/constants/Settings.cjs +0 -219
  641. package/lib/constants/Settings.cjs.map +0 -1
  642. package/lib/constants/index.cjs +0 -40
  643. package/lib/constants/index.cjs.map +0 -1
  644. package/lib/exceptions/ConfigurationException.cjs +0 -17
  645. package/lib/exceptions/ConfigurationException.cjs.map +0 -1
  646. package/lib/exceptions/FetchException.cjs +0 -72
  647. package/lib/exceptions/FetchException.cjs.map +0 -1
  648. package/lib/exceptions/IllegalArgumentException.cjs +0 -17
  649. package/lib/exceptions/IllegalArgumentException.cjs.map +0 -1
  650. package/lib/exceptions/IllegalReturnException.cjs +0 -16
  651. package/lib/exceptions/IllegalReturnException.cjs.map +0 -1
  652. package/lib/exceptions/IllegalStateException.cjs +0 -17
  653. package/lib/exceptions/IllegalStateException.cjs.map +0 -1
  654. package/lib/exceptions/JsonParseException.cjs +0 -17
  655. package/lib/exceptions/JsonParseException.cjs.map +0 -1
  656. package/lib/exceptions/MissingPropertyException.cjs +0 -17
  657. package/lib/exceptions/MissingPropertyException.cjs.map +0 -1
  658. package/lib/exceptions/NetworkException.cjs +0 -23
  659. package/lib/exceptions/NetworkException.cjs.map +0 -1
  660. package/lib/exceptions/NotAllowedUriException.cjs +0 -17
  661. package/lib/exceptions/NotAllowedUriException.cjs.map +0 -1
  662. package/lib/exceptions/NotFoundException.cjs +0 -26
  663. package/lib/exceptions/NotFoundException.cjs.map +0 -1
  664. package/lib/exceptions/ServerRequestException.cjs +0 -17
  665. package/lib/exceptions/ServerRequestException.cjs.map +0 -1
  666. package/lib/exceptions/ThemePropertyException.cjs +0 -17
  667. package/lib/exceptions/ThemePropertyException.cjs.map +0 -1
  668. package/lib/exceptions/TimeoutException.cjs +0 -17
  669. package/lib/exceptions/TimeoutException.cjs.map +0 -1
  670. package/lib/exceptions/UnauthorizedException.cjs +0 -25
  671. package/lib/exceptions/UnauthorizedException.cjs.map +0 -1
  672. package/lib/exceptions/UnsupportedOperationException.cjs +0 -17
  673. package/lib/exceptions/UnsupportedOperationException.cjs.map +0 -1
  674. package/lib/exceptions/index.cjs +0 -112
  675. package/lib/exceptions/index.cjs.map +0 -1
  676. package/lib/hooks/index.cjs +0 -183
  677. package/lib/hooks/index.cjs.map +0 -1
  678. package/lib/hooks/useAllFormsOnModel.cjs +0 -81
  679. package/lib/hooks/useAllFormsOnModel.cjs.map +0 -1
  680. package/lib/hooks/useAuthentication.cjs +0 -66
  681. package/lib/hooks/useAuthentication.cjs.map +0 -1
  682. package/lib/hooks/useContent.cjs +0 -49
  683. package/lib/hooks/useContent.cjs.map +0 -1
  684. package/lib/hooks/useDeepCompareEffect.cjs +0 -35
  685. package/lib/hooks/useDeepCompareEffect.cjs.map +0 -1
  686. package/lib/hooks/useForm.cjs +0 -98
  687. package/lib/hooks/useForm.cjs.map +0 -1
  688. package/lib/hooks/useI18n.cjs +0 -42
  689. package/lib/hooks/useI18n.cjs.map +0 -1
  690. package/lib/hooks/useModal.cjs +0 -43
  691. package/lib/hooks/useModal.cjs.map +0 -1
  692. package/lib/hooks/useModelCatalog.cjs +0 -179
  693. package/lib/hooks/useModelCatalog.cjs.map +0 -1
  694. package/lib/hooks/useModels.cjs +0 -45
  695. package/lib/hooks/useModels.cjs.map +0 -1
  696. package/lib/hooks/useModularUI.cjs +0 -69
  697. package/lib/hooks/useModularUI.cjs.map +0 -1
  698. package/lib/hooks/useModularUIBasic.cjs +0 -81
  699. package/lib/hooks/useModularUIBasic.cjs.map +0 -1
  700. package/lib/hooks/useModularUIModel.cjs +0 -128
  701. package/lib/hooks/useModularUIModel.cjs.map +0 -1
  702. package/lib/hooks/useModularUIRequest.cjs +0 -25
  703. package/lib/hooks/useModularUIRequest.cjs.map +0 -1
  704. package/lib/hooks/useNotification.cjs +0 -39
  705. package/lib/hooks/useNotification.cjs.map +0 -1
  706. package/lib/hooks/usePreference.cjs +0 -23
  707. package/lib/hooks/usePreference.cjs.map +0 -1
  708. package/lib/hooks/useProgressIndicator.cjs +0 -23
  709. package/lib/hooks/useProgressIndicator.cjs.map +0 -1
  710. package/lib/hooks/useRouter.cjs +0 -42
  711. package/lib/hooks/useRouter.cjs.map +0 -1
  712. package/lib/i18n/Locale.cjs +0 -128
  713. package/lib/i18n/Locale.cjs.map +0 -1
  714. package/lib/i18n/Locales.cjs +0 -140
  715. package/lib/i18n/Locales.cjs.map +0 -1
  716. package/lib/i18n/Message.cjs +0 -50
  717. package/lib/i18n/Message.cjs.map +0 -1
  718. package/lib/i18n/index.cjs +0 -57
  719. package/lib/i18n/index.cjs.map +0 -1
  720. package/lib/i18n/languages.cjs +0 -212
  721. package/lib/i18n/languages.cjs.map +0 -1
  722. package/lib/i18n/translations/beinformed_error_messages_en.nl.cjs +0 -104
  723. package/lib/i18n/translations/beinformed_error_messages_en.nl.cjs.map +0 -1
  724. package/lib/i18n/translations/beinformed_error_messages_nl.nl.cjs +0 -104
  725. package/lib/i18n/translations/beinformed_error_messages_nl.nl.cjs.map +0 -1
  726. package/lib/i18n/types.cjs +0 -2
  727. package/lib/i18n/types.cjs.map +0 -1
  728. package/lib/i18n/withMessage.cjs +0 -27
  729. package/lib/i18n/withMessage.cjs.map +0 -1
  730. package/lib/index.cjs +0 -73
  731. package/lib/index.cjs.map +0 -1
  732. package/lib/models/actions/ActionCollection.cjs +0 -90
  733. package/lib/models/actions/ActionCollection.cjs.map +0 -1
  734. package/lib/models/actions/ActionModel.cjs +0 -194
  735. package/lib/models/actions/ActionModel.cjs.map +0 -1
  736. package/lib/models/application/ApplicationModel.cjs +0 -133
  737. package/lib/models/application/ApplicationModel.cjs.map +0 -1
  738. package/lib/models/attributes/AttributeCollection.cjs +0 -282
  739. package/lib/models/attributes/AttributeCollection.cjs.map +0 -1
  740. package/lib/models/attributes/AttributeContent.cjs +0 -203
  741. package/lib/models/attributes/AttributeContent.cjs.map +0 -1
  742. package/lib/models/attributes/AttributeDataHelper.cjs +0 -267
  743. package/lib/models/attributes/AttributeDataHelper.cjs.map +0 -1
  744. package/lib/models/attributes/AttributeModel.cjs +0 -824
  745. package/lib/models/attributes/AttributeModel.cjs.map +0 -1
  746. package/lib/models/attributes/AttributeSetModel.cjs +0 -105
  747. package/lib/models/attributes/AttributeSetModel.cjs.map +0 -1
  748. package/lib/models/attributes/BooleanAttributeModel.cjs +0 -295
  749. package/lib/models/attributes/BooleanAttributeModel.cjs.map +0 -1
  750. package/lib/models/attributes/CaptchaAttributeModel.cjs +0 -60
  751. package/lib/models/attributes/CaptchaAttributeModel.cjs.map +0 -1
  752. package/lib/models/attributes/ChoiceAttributeModel.cjs +0 -411
  753. package/lib/models/attributes/ChoiceAttributeModel.cjs.map +0 -1
  754. package/lib/models/attributes/ChoiceAttributeOptionCollection.cjs +0 -300
  755. package/lib/models/attributes/ChoiceAttributeOptionCollection.cjs.map +0 -1
  756. package/lib/models/attributes/ChoiceAttributeOptionModel.cjs +0 -342
  757. package/lib/models/attributes/ChoiceAttributeOptionModel.cjs.map +0 -1
  758. package/lib/models/attributes/CompositeAttributeChildCollection.cjs +0 -189
  759. package/lib/models/attributes/CompositeAttributeChildCollection.cjs.map +0 -1
  760. package/lib/models/attributes/CompositeAttributeModel.cjs +0 -380
  761. package/lib/models/attributes/CompositeAttributeModel.cjs.map +0 -1
  762. package/lib/models/attributes/DatetimeAttributeModel.cjs +0 -465
  763. package/lib/models/attributes/DatetimeAttributeModel.cjs.map +0 -1
  764. package/lib/models/attributes/HelptextAttributeModel.cjs +0 -55
  765. package/lib/models/attributes/HelptextAttributeModel.cjs.map +0 -1
  766. package/lib/models/attributes/LabelAttributeModel.cjs +0 -41
  767. package/lib/models/attributes/LabelAttributeModel.cjs.map +0 -1
  768. package/lib/models/attributes/MemoAttributeModel.cjs +0 -49
  769. package/lib/models/attributes/MemoAttributeModel.cjs.map +0 -1
  770. package/lib/models/attributes/MoneyAttributeModel.cjs +0 -49
  771. package/lib/models/attributes/MoneyAttributeModel.cjs.map +0 -1
  772. package/lib/models/attributes/NumberAttributeModel.cjs +0 -201
  773. package/lib/models/attributes/NumberAttributeModel.cjs.map +0 -1
  774. package/lib/models/attributes/PasswordAttributeModel.cjs +0 -217
  775. package/lib/models/attributes/PasswordAttributeModel.cjs.map +0 -1
  776. package/lib/models/attributes/StringAttributeModel.cjs +0 -284
  777. package/lib/models/attributes/StringAttributeModel.cjs.map +0 -1
  778. package/lib/models/attributes/UploadAttributeModel.cjs +0 -223
  779. package/lib/models/attributes/UploadAttributeModel.cjs.map +0 -1
  780. package/lib/models/attributes/XMLAttributeModel.cjs +0 -53
  781. package/lib/models/attributes/XMLAttributeModel.cjs.map +0 -1
  782. package/lib/models/attributes/_createAttribute.cjs +0 -93
  783. package/lib/models/attributes/_createAttribute.cjs.map +0 -1
  784. package/lib/models/attributes/input-constraints/BSNConstraint.cjs +0 -72
  785. package/lib/models/attributes/input-constraints/BSNConstraint.cjs.map +0 -1
  786. package/lib/models/attributes/input-constraints/ConstraintCollection.cjs +0 -50
  787. package/lib/models/attributes/input-constraints/ConstraintCollection.cjs.map +0 -1
  788. package/lib/models/attributes/input-constraints/ConstraintModel.cjs +0 -74
  789. package/lib/models/attributes/input-constraints/ConstraintModel.cjs.map +0 -1
  790. package/lib/models/attributes/input-constraints/DateBoundaryConstraint.cjs +0 -205
  791. package/lib/models/attributes/input-constraints/DateBoundaryConstraint.cjs.map +0 -1
  792. package/lib/models/attributes/input-constraints/DateTimeDateFormatConstraint.cjs +0 -76
  793. package/lib/models/attributes/input-constraints/DateTimeDateFormatConstraint.cjs.map +0 -1
  794. package/lib/models/attributes/input-constraints/DateTimeTimeFormatConstraint.cjs +0 -76
  795. package/lib/models/attributes/input-constraints/DateTimeTimeFormatConstraint.cjs.map +0 -1
  796. package/lib/models/attributes/input-constraints/DatetimeFormatConstraint.cjs +0 -122
  797. package/lib/models/attributes/input-constraints/DatetimeFormatConstraint.cjs.map +0 -1
  798. package/lib/models/attributes/input-constraints/FileExtensionConstraint.cjs +0 -66
  799. package/lib/models/attributes/input-constraints/FileExtensionConstraint.cjs.map +0 -1
  800. package/lib/models/attributes/input-constraints/FileSizeConstraint.cjs +0 -98
  801. package/lib/models/attributes/input-constraints/FileSizeConstraint.cjs.map +0 -1
  802. package/lib/models/attributes/input-constraints/IBANConstraint.cjs +0 -49
  803. package/lib/models/attributes/input-constraints/IBANConstraint.cjs.map +0 -1
  804. package/lib/models/attributes/input-constraints/MandatoryConstraint.cjs +0 -53
  805. package/lib/models/attributes/input-constraints/MandatoryConstraint.cjs.map +0 -1
  806. package/lib/models/attributes/input-constraints/MandatoryRangeConstraint.cjs +0 -85
  807. package/lib/models/attributes/input-constraints/MandatoryRangeConstraint.cjs.map +0 -1
  808. package/lib/models/attributes/input-constraints/NumberBoundaryConstraint.cjs +0 -177
  809. package/lib/models/attributes/input-constraints/NumberBoundaryConstraint.cjs.map +0 -1
  810. package/lib/models/attributes/input-constraints/NumberFormatConstraint.cjs +0 -132
  811. package/lib/models/attributes/input-constraints/NumberFormatConstraint.cjs.map +0 -1
  812. package/lib/models/attributes/input-constraints/NumberGroupingConstraint.cjs +0 -126
  813. package/lib/models/attributes/input-constraints/NumberGroupingConstraint.cjs.map +0 -1
  814. package/lib/models/attributes/input-constraints/PasswordConfirmConstraint.cjs +0 -72
  815. package/lib/models/attributes/input-constraints/PasswordConfirmConstraint.cjs.map +0 -1
  816. package/lib/models/attributes/input-constraints/PasswordLowerAndUpperCaseConstraint.cjs +0 -47
  817. package/lib/models/attributes/input-constraints/PasswordLowerAndUpperCaseConstraint.cjs.map +0 -1
  818. package/lib/models/attributes/input-constraints/PasswordMinNumericCharactersConstraint.cjs +0 -64
  819. package/lib/models/attributes/input-constraints/PasswordMinNumericCharactersConstraint.cjs.map +0 -1
  820. package/lib/models/attributes/input-constraints/PasswordMinSpecialCharactersConstraint.cjs +0 -64
  821. package/lib/models/attributes/input-constraints/PasswordMinSpecialCharactersConstraint.cjs.map +0 -1
  822. package/lib/models/attributes/input-constraints/PasswordThreeConsecutiveCharactersNotAllowedConstraint.cjs +0 -78
  823. package/lib/models/attributes/input-constraints/PasswordThreeConsecutiveCharactersNotAllowedConstraint.cjs.map +0 -1
  824. package/lib/models/attributes/input-constraints/RangeConstraint.cjs +0 -143
  825. package/lib/models/attributes/input-constraints/RangeConstraint.cjs.map +0 -1
  826. package/lib/models/attributes/input-constraints/RegexConstraint.cjs +0 -67
  827. package/lib/models/attributes/input-constraints/RegexConstraint.cjs.map +0 -1
  828. package/lib/models/attributes/input-constraints/StringLengthConstraint.cjs +0 -178
  829. package/lib/models/attributes/input-constraints/StringLengthConstraint.cjs.map +0 -1
  830. package/lib/models/attributes/input-constraints/XMLConstraint.cjs +0 -62
  831. package/lib/models/attributes/input-constraints/XMLConstraint.cjs.map +0 -1
  832. package/lib/models/attributes/layouthint-rules/BaseLayoutHintRule.cjs +0 -66
  833. package/lib/models/attributes/layouthint-rules/BaseLayoutHintRule.cjs.map +0 -1
  834. package/lib/models/attributes/layouthint-rules/DependentAttribute.cjs +0 -200
  835. package/lib/models/attributes/layouthint-rules/DependentAttribute.cjs.map +0 -1
  836. package/lib/models/attributes/layouthint-rules/LayoutHintRuleCollection.cjs +0 -88
  837. package/lib/models/attributes/layouthint-rules/LayoutHintRuleCollection.cjs.map +0 -1
  838. package/lib/models/attributes/layouthint-rules/RemainingTotalUploadSize.cjs +0 -51
  839. package/lib/models/attributes/layouthint-rules/RemainingTotalUploadSize.cjs.map +0 -1
  840. package/lib/models/base/BaseCollection.cjs +0 -186
  841. package/lib/models/base/BaseCollection.cjs.map +0 -1
  842. package/lib/models/base/BaseModel.cjs +0 -149
  843. package/lib/models/base/BaseModel.cjs.map +0 -1
  844. package/lib/models/base/ResourceCollection.cjs +0 -41
  845. package/lib/models/base/ResourceCollection.cjs.map +0 -1
  846. package/lib/models/base/ResourceModel.cjs +0 -209
  847. package/lib/models/base/ResourceModel.cjs.map +0 -1
  848. package/lib/models/caseview/CaseViewModel.cjs +0 -163
  849. package/lib/models/caseview/CaseViewModel.cjs.map +0 -1
  850. package/lib/models/concepts/BusinessScenarioModel.cjs +0 -122
  851. package/lib/models/concepts/BusinessScenarioModel.cjs.map +0 -1
  852. package/lib/models/concepts/ConceptDetailModel.cjs +0 -281
  853. package/lib/models/concepts/ConceptDetailModel.cjs.map +0 -1
  854. package/lib/models/concepts/ConceptIndexModel.cjs +0 -150
  855. package/lib/models/concepts/ConceptIndexModel.cjs.map +0 -1
  856. package/lib/models/concepts/ConceptLinkModel.cjs +0 -152
  857. package/lib/models/concepts/ConceptLinkModel.cjs.map +0 -1
  858. package/lib/models/concepts/ConceptRelationCollection.cjs +0 -82
  859. package/lib/models/concepts/ConceptRelationCollection.cjs.map +0 -1
  860. package/lib/models/concepts/ConceptRelationModel.cjs +0 -115
  861. package/lib/models/concepts/ConceptRelationModel.cjs.map +0 -1
  862. package/lib/models/concepts/ConceptTypeDetailModel.cjs +0 -128
  863. package/lib/models/concepts/ConceptTypeDetailModel.cjs.map +0 -1
  864. package/lib/models/concepts/SourceReferenceCollection.cjs +0 -35
  865. package/lib/models/concepts/SourceReferenceCollection.cjs.map +0 -1
  866. package/lib/models/concepts/SourceReferenceModel.cjs +0 -73
  867. package/lib/models/concepts/SourceReferenceModel.cjs.map +0 -1
  868. package/lib/models/content/ContentIndexModel.cjs +0 -142
  869. package/lib/models/content/ContentIndexModel.cjs.map +0 -1
  870. package/lib/models/content/ContentLinkModel.cjs +0 -193
  871. package/lib/models/content/ContentLinkModel.cjs.map +0 -1
  872. package/lib/models/content/ContentModel.cjs +0 -207
  873. package/lib/models/content/ContentModel.cjs.map +0 -1
  874. package/lib/models/content/ContentTOCModel.cjs +0 -163
  875. package/lib/models/content/ContentTOCModel.cjs.map +0 -1
  876. package/lib/models/content/ContentTypeModel.cjs +0 -74
  877. package/lib/models/content/ContentTypeModel.cjs.map +0 -1
  878. package/lib/models/content/SectionModel.cjs +0 -180
  879. package/lib/models/content/SectionModel.cjs.map +0 -1
  880. package/lib/models/content/SubSectionModel.cjs +0 -167
  881. package/lib/models/content/SubSectionModel.cjs.map +0 -1
  882. package/lib/models/contentconfiguration/ContentConfiguration.cjs +0 -75
  883. package/lib/models/contentconfiguration/ContentConfiguration.cjs.map +0 -1
  884. package/lib/models/contentconfiguration/ContentConfigurationElements.cjs +0 -143
  885. package/lib/models/contentconfiguration/ContentConfigurationElements.cjs.map +0 -1
  886. package/lib/models/contentconfiguration/ContentConfigurationEndResults.cjs +0 -49
  887. package/lib/models/contentconfiguration/ContentConfigurationEndResults.cjs.map +0 -1
  888. package/lib/models/contentconfiguration/ContentConfigurationQuestions.cjs +0 -54
  889. package/lib/models/contentconfiguration/ContentConfigurationQuestions.cjs.map +0 -1
  890. package/lib/models/contentconfiguration/ContentConfigurationResults.cjs +0 -103
  891. package/lib/models/contentconfiguration/ContentConfigurationResults.cjs.map +0 -1
  892. package/lib/models/detail/DetailModel.cjs +0 -219
  893. package/lib/models/detail/DetailModel.cjs.map +0 -1
  894. package/lib/models/error/ErrorCollection.cjs +0 -111
  895. package/lib/models/error/ErrorCollection.cjs.map +0 -1
  896. package/lib/models/error/ErrorModel.cjs +0 -81
  897. package/lib/models/error/ErrorModel.cjs.map +0 -1
  898. package/lib/models/error/ErrorResponse.cjs +0 -304
  899. package/lib/models/error/ErrorResponse.cjs.map +0 -1
  900. package/lib/models/filters/AssignmentFilterModel.cjs +0 -161
  901. package/lib/models/filters/AssignmentFilterModel.cjs.map +0 -1
  902. package/lib/models/filters/BaseFilterModel.cjs +0 -210
  903. package/lib/models/filters/BaseFilterModel.cjs.map +0 -1
  904. package/lib/models/filters/ConceptIndexFilterModel.cjs +0 -36
  905. package/lib/models/filters/ConceptIndexFilterModel.cjs.map +0 -1
  906. package/lib/models/filters/FilterCollection.cjs +0 -155
  907. package/lib/models/filters/FilterCollection.cjs.map +0 -1
  908. package/lib/models/filters/FilterModel.cjs +0 -13
  909. package/lib/models/filters/FilterModel.cjs.map +0 -1
  910. package/lib/models/filters/RangeFilterModel.cjs +0 -44
  911. package/lib/models/filters/RangeFilterModel.cjs.map +0 -1
  912. package/lib/models/filters/StringFilterModel.cjs +0 -147
  913. package/lib/models/filters/StringFilterModel.cjs.map +0 -1
  914. package/lib/models/form/FormModel.cjs +0 -1038
  915. package/lib/models/form/FormModel.cjs.map +0 -1
  916. package/lib/models/form/FormObjectModel.cjs +0 -474
  917. package/lib/models/form/FormObjectModel.cjs.map +0 -1
  918. package/lib/models/grouping/GroupingModel.cjs +0 -191
  919. package/lib/models/grouping/GroupingModel.cjs.map +0 -1
  920. package/lib/models/href/Href.cjs +0 -496
  921. package/lib/models/href/Href.cjs.map +0 -1
  922. package/lib/models/href/ListHref.cjs +0 -135
  923. package/lib/models/href/ListHref.cjs.map +0 -1
  924. package/lib/models/index.cjs +0 -687
  925. package/lib/models/index.cjs.map +0 -1
  926. package/lib/models/layouthint/LayoutHintCollection.cjs +0 -118
  927. package/lib/models/layouthint/LayoutHintCollection.cjs.map +0 -1
  928. package/lib/models/links/LinkCollection.cjs +0 -171
  929. package/lib/models/links/LinkCollection.cjs.map +0 -1
  930. package/lib/models/links/LinkModel.cjs +0 -216
  931. package/lib/models/links/LinkModel.cjs.map +0 -1
  932. package/lib/models/links/normalizeLinkJSON.cjs +0 -107
  933. package/lib/models/links/normalizeLinkJSON.cjs.map +0 -1
  934. package/lib/models/list/ListDetailModel.cjs +0 -266
  935. package/lib/models/list/ListDetailModel.cjs.map +0 -1
  936. package/lib/models/list/ListHeaderModel.cjs +0 -95
  937. package/lib/models/list/ListHeaderModel.cjs.map +0 -1
  938. package/lib/models/list/ListItemCollection.cjs +0 -67
  939. package/lib/models/list/ListItemCollection.cjs.map +0 -1
  940. package/lib/models/list/ListItemModel.cjs +0 -95
  941. package/lib/models/list/ListItemModel.cjs.map +0 -1
  942. package/lib/models/list/ListModel.cjs +0 -385
  943. package/lib/models/list/ListModel.cjs.map +0 -1
  944. package/lib/models/lookup/LookupOptionCollection.cjs +0 -45
  945. package/lib/models/lookup/LookupOptionCollection.cjs.map +0 -1
  946. package/lib/models/lookup/LookupOptionsModel.cjs +0 -71
  947. package/lib/models/lookup/LookupOptionsModel.cjs.map +0 -1
  948. package/lib/models/modelcatalog/ModelCatalogModel.cjs +0 -69
  949. package/lib/models/modelcatalog/ModelCatalogModel.cjs.map +0 -1
  950. package/lib/models/modelcatalog/ModelCategoryCollection.cjs +0 -24
  951. package/lib/models/modelcatalog/ModelCategoryCollection.cjs.map +0 -1
  952. package/lib/models/modelcatalog/ModelCategoryModel.cjs +0 -60
  953. package/lib/models/modelcatalog/ModelCategoryModel.cjs.map +0 -1
  954. package/lib/models/paging/PagesizeModel.cjs +0 -50
  955. package/lib/models/paging/PagesizeModel.cjs.map +0 -1
  956. package/lib/models/paging/PagingModel.cjs +0 -95
  957. package/lib/models/paging/PagingModel.cjs.map +0 -1
  958. package/lib/models/panels/GroupingPanelModel.cjs +0 -143
  959. package/lib/models/panels/GroupingPanelModel.cjs.map +0 -1
  960. package/lib/models/parameter/Parameter.cjs +0 -108
  961. package/lib/models/parameter/Parameter.cjs.map +0 -1
  962. package/lib/models/process/ProcessStatusSettingsModel.cjs +0 -85
  963. package/lib/models/process/ProcessStatusSettingsModel.cjs.map +0 -1
  964. package/lib/models/resolveModel.cjs +0 -57
  965. package/lib/models/resolveModel.cjs.map +0 -1
  966. package/lib/models/search/CaseSearchModel.cjs +0 -47
  967. package/lib/models/search/CaseSearchModel.cjs.map +0 -1
  968. package/lib/models/sorting/SortOptionModel.cjs +0 -106
  969. package/lib/models/sorting/SortOptionModel.cjs.map +0 -1
  970. package/lib/models/sorting/SortingModel.cjs +0 -112
  971. package/lib/models/sorting/SortingModel.cjs.map +0 -1
  972. package/lib/models/tab/TabModel.cjs +0 -143
  973. package/lib/models/tab/TabModel.cjs.map +0 -1
  974. package/lib/models/taskgroup/TaskGroupCollection.cjs +0 -21
  975. package/lib/models/taskgroup/TaskGroupCollection.cjs.map +0 -1
  976. package/lib/models/taskgroup/TaskGroupModel.cjs +0 -87
  977. package/lib/models/taskgroup/TaskGroupModel.cjs.map +0 -1
  978. package/lib/models/types.cjs +0 -2
  979. package/lib/models/types.cjs.map +0 -1
  980. package/lib/models/user/UserModel.cjs +0 -59
  981. package/lib/models/user/UserModel.cjs.map +0 -1
  982. package/lib/models/user/UserProfileModel.cjs +0 -55
  983. package/lib/models/user/UserProfileModel.cjs.map +0 -1
  984. package/lib/models/user/UserServicesModel.cjs +0 -126
  985. package/lib/models/user/UserServicesModel.cjs.map +0 -1
  986. package/lib/modularui/Authenticate.cjs +0 -183
  987. package/lib/modularui/Authenticate.cjs.map +0 -1
  988. package/lib/modularui/CaptchaRequest.cjs +0 -71
  989. package/lib/modularui/CaptchaRequest.cjs.map +0 -1
  990. package/lib/modularui/ModularUIError.cjs +0 -30
  991. package/lib/modularui/ModularUIError.cjs.map +0 -1
  992. package/lib/modularui/ModularUIRequest.cjs +0 -716
  993. package/lib/modularui/ModularUIRequest.cjs.map +0 -1
  994. package/lib/modularui/ModularUIResponse.cjs +0 -147
  995. package/lib/modularui/ModularUIResponse.cjs.map +0 -1
  996. package/lib/modularui/UploadRequest.cjs +0 -103
  997. package/lib/modularui/UploadRequest.cjs.map +0 -1
  998. package/lib/modularui/index.cjs +0 -42
  999. package/lib/modularui/index.cjs.map +0 -1
  1000. package/lib/modularui/types.cjs +0 -2
  1001. package/lib/modularui/types.cjs.map +0 -1
  1002. package/lib/react/ErrorBoundary.cjs +0 -56
  1003. package/lib/react/ErrorBoundary.cjs.map +0 -1
  1004. package/lib/react/ErrorBoundaryFallback.cjs +0 -41
  1005. package/lib/react/ErrorBoundaryFallback.cjs.map +0 -1
  1006. package/lib/react/index.cjs +0 -29
  1007. package/lib/react/index.cjs.map +0 -1
  1008. package/lib/react/utils.cjs +0 -32
  1009. package/lib/react/utils.cjs.map +0 -1
  1010. package/lib/react-client/Init.cjs +0 -44
  1011. package/lib/react-client/Init.cjs.map +0 -1
  1012. package/lib/react-client/client.cjs +0 -216
  1013. package/lib/react-client/client.cjs.map +0 -1
  1014. package/lib/react-client/contextPath.cjs +0 -26
  1015. package/lib/react-client/contextPath.cjs.map +0 -1
  1016. package/lib/react-client/index.cjs +0 -40
  1017. package/lib/react-client/index.cjs.map +0 -1
  1018. package/lib/react-client/rehydrate.cjs +0 -73
  1019. package/lib/react-client/rehydrate.cjs.map +0 -1
  1020. package/lib/react-server/contextPath.cjs +0 -10
  1021. package/lib/react-server/contextPath.cjs.map +0 -1
  1022. package/lib/react-server/createSSRComplete.cjs +0 -61
  1023. package/lib/react-server/createSSRComplete.cjs.map +0 -1
  1024. package/lib/react-server/htmlpage.cjs +0 -54
  1025. package/lib/react-server/htmlpage.cjs.map +0 -1
  1026. package/lib/react-server/index.cjs +0 -82
  1027. package/lib/react-server/index.cjs.map +0 -1
  1028. package/lib/react-server/renderSSRComplete.cjs +0 -91
  1029. package/lib/react-server/renderSSRComplete.cjs.map +0 -1
  1030. package/lib/react-server/renderSSRMinimal.cjs +0 -47
  1031. package/lib/react-server/renderSSRMinimal.cjs.map +0 -1
  1032. package/lib/react-server/requestInformation.cjs +0 -46
  1033. package/lib/react-server/requestInformation.cjs.map +0 -1
  1034. package/lib/react-server/serverNoSSR.cjs +0 -63
  1035. package/lib/react-server/serverNoSSR.cjs.map +0 -1
  1036. package/lib/react-server/serverSSR.cjs +0 -51
  1037. package/lib/react-server/serverSSR.cjs.map +0 -1
  1038. package/lib/react-server/serverUtil.cjs +0 -218
  1039. package/lib/react-server/serverUtil.cjs.map +0 -1
  1040. package/lib/react-theme/ThemeProvider.cjs +0 -33
  1041. package/lib/react-theme/ThemeProvider.cjs.map +0 -1
  1042. package/lib/react-theme/createTheme.cjs +0 -115
  1043. package/lib/react-theme/createTheme.cjs.map +0 -1
  1044. package/lib/react-theme/index.cjs +0 -110
  1045. package/lib/react-theme/index.cjs.map +0 -1
  1046. package/lib/react-theme/types.cjs +0 -2
  1047. package/lib/react-theme/types.cjs.map +0 -1
  1048. package/lib/react-theme/useTheme.cjs +0 -15
  1049. package/lib/react-theme/useTheme.cjs.map +0 -1
  1050. package/lib/react-theme/utils/background.cjs +0 -21
  1051. package/lib/react-theme/utils/background.cjs.map +0 -1
  1052. package/lib/react-theme/utils/colors.cjs +0 -45
  1053. package/lib/react-theme/utils/colors.cjs.map +0 -1
  1054. package/lib/react-theme/utils/contrast.cjs +0 -95
  1055. package/lib/react-theme/utils/contrast.cjs.map +0 -1
  1056. package/lib/react-theme/utils/corners.cjs +0 -34
  1057. package/lib/react-theme/utils/corners.cjs.map +0 -1
  1058. package/lib/react-theme/utils/spacers.cjs +0 -89
  1059. package/lib/react-theme/utils/spacers.cjs.map +0 -1
  1060. package/lib/react-theme/utils/themeProps.cjs +0 -75
  1061. package/lib/react-theme/utils/themeProps.cjs.map +0 -1
  1062. package/lib/redux/_i18n/I18nActions.cjs +0 -37
  1063. package/lib/redux/_i18n/I18nActions.cjs.map +0 -1
  1064. package/lib/redux/_i18n/I18nReducer.cjs +0 -78
  1065. package/lib/redux/_i18n/I18nReducer.cjs.map +0 -1
  1066. package/lib/redux/_i18n/index.cjs +0 -29
  1067. package/lib/redux/_i18n/index.cjs.map +0 -1
  1068. package/lib/redux/_i18n/types.cjs +0 -2
  1069. package/lib/redux/_i18n/types.cjs.map +0 -1
  1070. package/lib/redux/_modularui/ModularUIActions.cjs +0 -168
  1071. package/lib/redux/_modularui/ModularUIActions.cjs.map +0 -1
  1072. package/lib/redux/_modularui/ModularUIConnector.cjs +0 -123
  1073. package/lib/redux/_modularui/ModularUIConnector.cjs.map +0 -1
  1074. package/lib/redux/_modularui/ModularUIMiddleware.cjs +0 -107
  1075. package/lib/redux/_modularui/ModularUIMiddleware.cjs.map +0 -1
  1076. package/lib/redux/_modularui/ModularUIReducer.cjs +0 -157
  1077. package/lib/redux/_modularui/ModularUIReducer.cjs.map +0 -1
  1078. package/lib/redux/_modularui/ModularUISelectors.cjs +0 -270
  1079. package/lib/redux/_modularui/ModularUISelectors.cjs.map +0 -1
  1080. package/lib/redux/_modularui/ModularUIUtils.cjs +0 -83
  1081. package/lib/redux/_modularui/ModularUIUtils.cjs.map +0 -1
  1082. package/lib/redux/_modularui/index.cjs +0 -86
  1083. package/lib/redux/_modularui/index.cjs.map +0 -1
  1084. package/lib/redux/_modularui/types.cjs +0 -2
  1085. package/lib/redux/_modularui/types.cjs.map +0 -1
  1086. package/lib/redux/_modularui/withModularUI.cjs +0 -41
  1087. package/lib/redux/_modularui/withModularUI.cjs.map +0 -1
  1088. package/lib/redux/_router/RouterActions.cjs +0 -67
  1089. package/lib/redux/_router/RouterActions.cjs.map +0 -1
  1090. package/lib/redux/_router/RouterConnectors.cjs +0 -42
  1091. package/lib/redux/_router/RouterConnectors.cjs.map +0 -1
  1092. package/lib/redux/_router/RouterMiddleware.cjs +0 -38
  1093. package/lib/redux/_router/RouterMiddleware.cjs.map +0 -1
  1094. package/lib/redux/_router/RouterReducer.cjs +0 -22
  1095. package/lib/redux/_router/RouterReducer.cjs.map +0 -1
  1096. package/lib/redux/_router/index.cjs +0 -51
  1097. package/lib/redux/_router/index.cjs.map +0 -1
  1098. package/lib/redux/_router/types.cjs +0 -2
  1099. package/lib/redux/_router/types.cjs.map +0 -1
  1100. package/lib/redux/actions/Application.cjs +0 -38
  1101. package/lib/redux/actions/Application.cjs.map +0 -1
  1102. package/lib/redux/actions/Authorization.cjs +0 -55
  1103. package/lib/redux/actions/Authorization.cjs.map +0 -1
  1104. package/lib/redux/actions/Error.cjs +0 -74
  1105. package/lib/redux/actions/Error.cjs.map +0 -1
  1106. package/lib/redux/actions/Form.cjs +0 -39
  1107. package/lib/redux/actions/Form.cjs.map +0 -1
  1108. package/lib/redux/actions/FormAttributeSet.cjs +0 -69
  1109. package/lib/redux/actions/FormAttributeSet.cjs.map +0 -1
  1110. package/lib/redux/actions/FormAttributeSetRepeatable.cjs +0 -35
  1111. package/lib/redux/actions/FormAttributeSetRepeatable.cjs.map +0 -1
  1112. package/lib/redux/actions/FormAutosave.cjs +0 -60
  1113. package/lib/redux/actions/FormAutosave.cjs.map +0 -1
  1114. package/lib/redux/actions/FormAutosubmit.cjs +0 -38
  1115. package/lib/redux/actions/FormAutosubmit.cjs.map +0 -1
  1116. package/lib/redux/actions/FormAutoupdate.cjs +0 -37
  1117. package/lib/redux/actions/FormAutoupdate.cjs.map +0 -1
  1118. package/lib/redux/actions/FormValidations.cjs +0 -51
  1119. package/lib/redux/actions/FormValidations.cjs.map +0 -1
  1120. package/lib/redux/actions/Modals.cjs +0 -22
  1121. package/lib/redux/actions/Modals.cjs.map +0 -1
  1122. package/lib/redux/actions/ModelCatalog.cjs +0 -15
  1123. package/lib/redux/actions/ModelCatalog.cjs.map +0 -1
  1124. package/lib/redux/actions/Notification.cjs +0 -76
  1125. package/lib/redux/actions/Notification.cjs.map +0 -1
  1126. package/lib/redux/actions/Preferences.cjs +0 -128
  1127. package/lib/redux/actions/Preferences.cjs.map +0 -1
  1128. package/lib/redux/actions/ProgressIndicator.cjs +0 -42
  1129. package/lib/redux/actions/ProgressIndicator.cjs.map +0 -1
  1130. package/lib/redux/actions/SignIn.cjs +0 -90
  1131. package/lib/redux/actions/SignIn.cjs.map +0 -1
  1132. package/lib/redux/actions/SignOut.cjs +0 -30
  1133. package/lib/redux/actions/SignOut.cjs.map +0 -1
  1134. package/lib/redux/actions/index.cjs +0 -183
  1135. package/lib/redux/actions/index.cjs.map +0 -1
  1136. package/lib/redux/connectors/Application.cjs +0 -14
  1137. package/lib/redux/connectors/Application.cjs.map +0 -1
  1138. package/lib/redux/connectors/Breadcrumb.cjs +0 -16
  1139. package/lib/redux/connectors/Breadcrumb.cjs.map +0 -1
  1140. package/lib/redux/connectors/CaseView.cjs +0 -19
  1141. package/lib/redux/connectors/CaseView.cjs.map +0 -1
  1142. package/lib/redux/connectors/ConceptDetail.cjs +0 -20
  1143. package/lib/redux/connectors/ConceptDetail.cjs.map +0 -1
  1144. package/lib/redux/connectors/ContentBrowser.cjs +0 -19
  1145. package/lib/redux/connectors/ContentBrowser.cjs.map +0 -1
  1146. package/lib/redux/connectors/ContentDetail.cjs +0 -20
  1147. package/lib/redux/connectors/ContentDetail.cjs.map +0 -1
  1148. package/lib/redux/connectors/ContentDetailSection.cjs +0 -22
  1149. package/lib/redux/connectors/ContentDetailSection.cjs.map +0 -1
  1150. package/lib/redux/connectors/Form.cjs +0 -43
  1151. package/lib/redux/connectors/Form.cjs.map +0 -1
  1152. package/lib/redux/connectors/FormAttributeSet.cjs +0 -27
  1153. package/lib/redux/connectors/FormAttributeSet.cjs.map +0 -1
  1154. package/lib/redux/connectors/ListDetail.cjs +0 -21
  1155. package/lib/redux/connectors/ListDetail.cjs.map +0 -1
  1156. package/lib/redux/connectors/Modal.cjs +0 -27
  1157. package/lib/redux/connectors/Modal.cjs.map +0 -1
  1158. package/lib/redux/connectors/ModelCatalog.cjs +0 -19
  1159. package/lib/redux/connectors/ModelCatalog.cjs.map +0 -1
  1160. package/lib/redux/connectors/Notification.cjs +0 -22
  1161. package/lib/redux/connectors/Notification.cjs.map +0 -1
  1162. package/lib/redux/connectors/PanelRenderer.cjs +0 -29
  1163. package/lib/redux/connectors/PanelRenderer.cjs.map +0 -1
  1164. package/lib/redux/connectors/Preferences.cjs +0 -29
  1165. package/lib/redux/connectors/Preferences.cjs.map +0 -1
  1166. package/lib/redux/connectors/Progress.cjs +0 -19
  1167. package/lib/redux/connectors/Progress.cjs.map +0 -1
  1168. package/lib/redux/connectors/ProgressIndicator.cjs +0 -19
  1169. package/lib/redux/connectors/ProgressIndicator.cjs.map +0 -1
  1170. package/lib/redux/connectors/QuickSearch.cjs +0 -27
  1171. package/lib/redux/connectors/QuickSearch.cjs.map +0 -1
  1172. package/lib/redux/connectors/SignIn.cjs +0 -24
  1173. package/lib/redux/connectors/SignIn.cjs.map +0 -1
  1174. package/lib/redux/connectors/SignOut.cjs +0 -20
  1175. package/lib/redux/connectors/SignOut.cjs.map +0 -1
  1176. package/lib/redux/connectors/Tab.cjs +0 -19
  1177. package/lib/redux/connectors/Tab.cjs.map +0 -1
  1178. package/lib/redux/connectors/index.cjs +0 -153
  1179. package/lib/redux/connectors/index.cjs.map +0 -1
  1180. package/lib/redux/index.cjs +0 -102
  1181. package/lib/redux/index.cjs.map +0 -1
  1182. package/lib/redux/reducers/AuthReducer.cjs +0 -59
  1183. package/lib/redux/reducers/AuthReducer.cjs.map +0 -1
  1184. package/lib/redux/reducers/ErrorReducer.cjs +0 -22
  1185. package/lib/redux/reducers/ErrorReducer.cjs.map +0 -1
  1186. package/lib/redux/reducers/ModalsReducer.cjs +0 -58
  1187. package/lib/redux/reducers/ModalsReducer.cjs.map +0 -1
  1188. package/lib/redux/reducers/ModelCatalogReducer.cjs +0 -34
  1189. package/lib/redux/reducers/ModelCatalogReducer.cjs.map +0 -1
  1190. package/lib/redux/reducers/NotificationReducer.cjs +0 -43
  1191. package/lib/redux/reducers/NotificationReducer.cjs.map +0 -1
  1192. package/lib/redux/reducers/PreferencesReducer.cjs +0 -30
  1193. package/lib/redux/reducers/PreferencesReducer.cjs.map +0 -1
  1194. package/lib/redux/reducers/ProgressIndicatorReducer.cjs +0 -55
  1195. package/lib/redux/reducers/ProgressIndicatorReducer.cjs.map +0 -1
  1196. package/lib/redux/reducers/createReducer.cjs +0 -33
  1197. package/lib/redux/reducers/createReducer.cjs.map +0 -1
  1198. package/lib/redux/reducers/index.cjs +0 -78
  1199. package/lib/redux/reducers/index.cjs.map +0 -1
  1200. package/lib/redux/selectors/i18n.cjs +0 -20
  1201. package/lib/redux/selectors/i18n.cjs.map +0 -1
  1202. package/lib/redux/selectors/index.cjs +0 -29
  1203. package/lib/redux/selectors/index.cjs.map +0 -1
  1204. package/lib/redux/selectors/modelcatalog.cjs +0 -14
  1205. package/lib/redux/selectors/modelcatalog.cjs.map +0 -1
  1206. package/lib/redux/store/beforeRenderHooks.cjs +0 -24
  1207. package/lib/redux/store/beforeRenderHooks.cjs.map +0 -1
  1208. package/lib/redux/store/configureStore.cjs +0 -42
  1209. package/lib/redux/store/configureStore.cjs.map +0 -1
  1210. package/lib/redux/types.cjs +0 -2
  1211. package/lib/redux/types.cjs.map +0 -1
  1212. package/lib/utils/browser/Cache.cjs +0 -151
  1213. package/lib/utils/browser/Cache.cjs.map +0 -1
  1214. package/lib/utils/browser/Cookies.cjs +0 -38
  1215. package/lib/utils/browser/Cookies.cjs.map +0 -1
  1216. package/lib/utils/datetime/DateTimeUtil.cjs +0 -648
  1217. package/lib/utils/datetime/DateTimeUtil.cjs.map +0 -1
  1218. package/lib/utils/fetch/serverFetch.cjs +0 -32
  1219. package/lib/utils/fetch/serverFetch.cjs.map +0 -1
  1220. package/lib/utils/fetch/types.cjs +0 -2
  1221. package/lib/utils/fetch/types.cjs.map +0 -1
  1222. package/lib/utils/fetch/universalFetch.cjs +0 -94
  1223. package/lib/utils/fetch/universalFetch.cjs.map +0 -1
  1224. package/lib/utils/fetch/xhr.cjs +0 -358
  1225. package/lib/utils/fetch/xhr.cjs.map +0 -1
  1226. package/lib/utils/helpers/checkResource.cjs +0 -46
  1227. package/lib/utils/helpers/checkResource.cjs.map +0 -1
  1228. package/lib/utils/helpers/createHash.cjs +0 -28
  1229. package/lib/utils/helpers/createHash.cjs.map +0 -1
  1230. package/lib/utils/helpers/createHref.cjs +0 -101
  1231. package/lib/utils/helpers/createHref.cjs.map +0 -1
  1232. package/lib/utils/helpers/createUUID.cjs +0 -18
  1233. package/lib/utils/helpers/createUUID.cjs.map +0 -1
  1234. package/lib/utils/helpers/index.cjs +0 -102
  1235. package/lib/utils/helpers/index.cjs.map +0 -1
  1236. package/lib/utils/helpers/objects.cjs +0 -36
  1237. package/lib/utils/helpers/objects.cjs.map +0 -1
  1238. package/lib/utils/helpers/repositoryResource.cjs +0 -26
  1239. package/lib/utils/helpers/repositoryResource.cjs.map +0 -1
  1240. package/lib/utils/helpers/sanitizeHtml.cjs +0 -44
  1241. package/lib/utils/helpers/sanitizeHtml.cjs.map +0 -1
  1242. package/lib/utils/helpers/text.cjs +0 -23
  1243. package/lib/utils/helpers/text.cjs.map +0 -1
  1244. package/lib/utils/index.cjs +0 -106
  1245. package/lib/utils/index.cjs.map +0 -1
  1246. package/lib/utils/number/DecimalFormat.cjs +0 -333
  1247. package/lib/utils/number/DecimalFormat.cjs.map +0 -1
  1248. package/lib/utils/number/formatValue.cjs +0 -47
  1249. package/lib/utils/number/formatValue.cjs.map +0 -1
  1250. package/lib/utils/number/parseNumbers.cjs +0 -70
  1251. package/lib/utils/number/parseNumbers.cjs.map +0 -1
  1252. package/models/package.json +0 -12
  1253. package/modularui/package.json +0 -12
  1254. package/react/package.json +0 -12
  1255. package/react-client/package.json +0 -12
  1256. package/react-server/package.json +0 -12
  1257. package/react-theme/package.json +0 -12
  1258. package/redux/package.json +0 -12
  1259. package/tsconfig.json +0 -29
  1260. package/utils/package.json +0 -12
  1261. /package/lib/builder/{index.d.cts → index.d.ts} +0 -0
  1262. /package/lib/builder/{mergeLayoutHintConfigurations.d.cts → mergeLayoutHintConfigurations.d.ts} +0 -0
  1263. /package/lib/constants/{Constants.d.cts → Constants.d.ts} +0 -0
  1264. /package/lib/constants/{LayoutHintConfig.d.cts → LayoutHintConfig.d.ts} +0 -0
  1265. /package/lib/constants/{LayoutHints.d.cts → LayoutHints.d.ts} +0 -0
  1266. /package/lib/constants/{Settings.d.cts → Settings.d.ts} +0 -0
  1267. /package/lib/constants/{index.d.cts → index.d.ts} +0 -0
  1268. /package/lib/exceptions/{ConfigurationException.d.cts → ConfigurationException.d.ts} +0 -0
  1269. /package/lib/exceptions/{FetchException.d.cts → FetchException.d.ts} +0 -0
  1270. /package/lib/exceptions/{IllegalArgumentException.d.cts → IllegalArgumentException.d.ts} +0 -0
  1271. /package/lib/exceptions/{IllegalReturnException.d.cts → IllegalReturnException.d.ts} +0 -0
  1272. /package/lib/exceptions/{IllegalStateException.d.cts → IllegalStateException.d.ts} +0 -0
  1273. /package/lib/exceptions/{JsonParseException.d.cts → JsonParseException.d.ts} +0 -0
  1274. /package/lib/exceptions/{MissingPropertyException.d.cts → MissingPropertyException.d.ts} +0 -0
  1275. /package/lib/exceptions/{NetworkException.d.cts → NetworkException.d.ts} +0 -0
  1276. /package/lib/exceptions/{NotAllowedUriException.d.cts → NotAllowedUriException.d.ts} +0 -0
  1277. /package/lib/exceptions/{NotFoundException.d.cts → NotFoundException.d.ts} +0 -0
  1278. /package/lib/exceptions/{ServerRequestException.d.cts → ServerRequestException.d.ts} +0 -0
  1279. /package/lib/exceptions/{ThemePropertyException.d.cts → ThemePropertyException.d.ts} +0 -0
  1280. /package/lib/exceptions/{TimeoutException.d.cts → TimeoutException.d.ts} +0 -0
  1281. /package/lib/exceptions/{UnauthorizedException.d.cts → UnauthorizedException.d.ts} +0 -0
  1282. /package/lib/exceptions/{UnsupportedOperationException.d.cts → UnsupportedOperationException.d.ts} +0 -0
  1283. /package/lib/exceptions/{index.d.cts → index.d.ts} +0 -0
  1284. /package/lib/hooks/{index.d.cts → index.d.ts} +0 -0
  1285. /package/lib/hooks/{useAllFormsOnModel.d.cts → useAllFormsOnModel.d.ts} +0 -0
  1286. /package/lib/hooks/{useAuthentication.d.cts → useAuthentication.d.ts} +0 -0
  1287. /package/lib/hooks/{useContent.d.cts → useContent.d.ts} +0 -0
  1288. /package/lib/hooks/{useDeepCompareEffect.d.cts → useDeepCompareEffect.d.ts} +0 -0
  1289. /package/lib/hooks/{useForm.d.cts → useForm.d.ts} +0 -0
  1290. /package/lib/hooks/{useI18n.d.cts → useI18n.d.ts} +0 -0
  1291. /package/lib/hooks/{useModal.d.cts → useModal.d.ts} +0 -0
  1292. /package/lib/hooks/{useModelCatalog.d.cts → useModelCatalog.d.ts} +0 -0
  1293. /package/lib/hooks/{useModels.d.cts → useModels.d.ts} +0 -0
  1294. /package/lib/hooks/{useModularUI.d.cts → useModularUI.d.ts} +0 -0
  1295. /package/lib/hooks/{useModularUIBasic.d.cts → useModularUIBasic.d.ts} +0 -0
  1296. /package/lib/hooks/{useModularUIModel.d.cts → useModularUIModel.d.ts} +0 -0
  1297. /package/lib/hooks/{useModularUIRequest.d.cts → useModularUIRequest.d.ts} +0 -0
  1298. /package/lib/hooks/{useNotification.d.cts → useNotification.d.ts} +0 -0
  1299. /package/lib/hooks/{usePreference.d.cts → usePreference.d.ts} +0 -0
  1300. /package/lib/hooks/{useProgressIndicator.d.cts → useProgressIndicator.d.ts} +0 -0
  1301. /package/lib/hooks/{useRouter.d.cts → useRouter.d.ts} +0 -0
  1302. /package/lib/i18n/{Locale.d.cts → Locale.d.ts} +0 -0
  1303. /package/lib/i18n/{Locales.d.cts → Locales.d.ts} +0 -0
  1304. /package/lib/i18n/{Message.d.cts → Message.d.ts} +0 -0
  1305. /package/lib/i18n/{index.d.cts → index.d.ts} +0 -0
  1306. /package/lib/i18n/{languages.d.cts → languages.d.ts} +0 -0
  1307. /package/lib/i18n/translations/{beinformed_error_messages_en.nl.d.cts → beinformed_error_messages_en.nl.d.ts} +0 -0
  1308. /package/lib/i18n/translations/{beinformed_error_messages_nl.nl.d.cts → beinformed_error_messages_nl.nl.d.ts} +0 -0
  1309. /package/lib/i18n/{types.d.cts → types.d.ts} +0 -0
  1310. /package/lib/i18n/{withMessage.d.cts → withMessage.d.ts} +0 -0
  1311. /package/lib/{index.d.cts → index.d.ts} +0 -0
  1312. /package/lib/models/actions/{ActionCollection.d.cts → ActionCollection.d.ts} +0 -0
  1313. /package/lib/models/actions/{ActionModel.d.cts → ActionModel.d.ts} +0 -0
  1314. /package/lib/models/application/{ApplicationModel.d.cts → ApplicationModel.d.ts} +0 -0
  1315. /package/lib/models/attributes/{AttributeCollection.d.cts → AttributeCollection.d.ts} +0 -0
  1316. /package/lib/models/attributes/{AttributeContent.d.cts → AttributeContent.d.ts} +0 -0
  1317. /package/lib/models/attributes/{AttributeDataHelper.d.cts → AttributeDataHelper.d.ts} +0 -0
  1318. /package/lib/models/attributes/{AttributeModel.d.cts → AttributeModel.d.ts} +0 -0
  1319. /package/lib/models/attributes/{AttributeSetModel.d.cts → AttributeSetModel.d.ts} +0 -0
  1320. /package/lib/models/attributes/{BooleanAttributeModel.d.cts → BooleanAttributeModel.d.ts} +0 -0
  1321. /package/lib/models/attributes/{CaptchaAttributeModel.d.cts → CaptchaAttributeModel.d.ts} +0 -0
  1322. /package/lib/models/attributes/{ChoiceAttributeModel.d.cts → ChoiceAttributeModel.d.ts} +0 -0
  1323. /package/lib/models/attributes/{ChoiceAttributeOptionCollection.d.cts → ChoiceAttributeOptionCollection.d.ts} +0 -0
  1324. /package/lib/models/attributes/{ChoiceAttributeOptionModel.d.cts → ChoiceAttributeOptionModel.d.ts} +0 -0
  1325. /package/lib/models/attributes/{CompositeAttributeChildCollection.d.cts → CompositeAttributeChildCollection.d.ts} +0 -0
  1326. /package/lib/models/attributes/{CompositeAttributeModel.d.cts → CompositeAttributeModel.d.ts} +0 -0
  1327. /package/lib/models/attributes/{DatetimeAttributeModel.d.cts → DatetimeAttributeModel.d.ts} +0 -0
  1328. /package/lib/models/attributes/{HelptextAttributeModel.d.cts → HelptextAttributeModel.d.ts} +0 -0
  1329. /package/lib/models/attributes/{LabelAttributeModel.d.cts → LabelAttributeModel.d.ts} +0 -0
  1330. /package/lib/models/attributes/{MemoAttributeModel.d.cts → MemoAttributeModel.d.ts} +0 -0
  1331. /package/lib/models/attributes/{MoneyAttributeModel.d.cts → MoneyAttributeModel.d.ts} +0 -0
  1332. /package/lib/models/attributes/{NumberAttributeModel.d.cts → NumberAttributeModel.d.ts} +0 -0
  1333. /package/lib/models/attributes/{PasswordAttributeModel.d.cts → PasswordAttributeModel.d.ts} +0 -0
  1334. /package/lib/models/attributes/{StringAttributeModel.d.cts → StringAttributeModel.d.ts} +0 -0
  1335. /package/lib/models/attributes/{UploadAttributeModel.d.cts → UploadAttributeModel.d.ts} +0 -0
  1336. /package/lib/models/attributes/{XMLAttributeModel.d.cts → XMLAttributeModel.d.ts} +0 -0
  1337. /package/lib/models/attributes/{_createAttribute.d.cts → _createAttribute.d.ts} +0 -0
  1338. /package/lib/models/attributes/input-constraints/{BSNConstraint.d.cts → BSNConstraint.d.ts} +0 -0
  1339. /package/lib/models/attributes/input-constraints/{ConstraintCollection.d.cts → ConstraintCollection.d.ts} +0 -0
  1340. /package/lib/models/attributes/input-constraints/{ConstraintModel.d.cts → ConstraintModel.d.ts} +0 -0
  1341. /package/lib/models/attributes/input-constraints/{DateBoundaryConstraint.d.cts → DateBoundaryConstraint.d.ts} +0 -0
  1342. /package/lib/models/attributes/input-constraints/{DateTimeDateFormatConstraint.d.cts → DateTimeDateFormatConstraint.d.ts} +0 -0
  1343. /package/lib/models/attributes/input-constraints/{DateTimeTimeFormatConstraint.d.cts → DateTimeTimeFormatConstraint.d.ts} +0 -0
  1344. /package/lib/models/attributes/input-constraints/{DatetimeFormatConstraint.d.cts → DatetimeFormatConstraint.d.ts} +0 -0
  1345. /package/lib/models/attributes/input-constraints/{FileExtensionConstraint.d.cts → FileExtensionConstraint.d.ts} +0 -0
  1346. /package/lib/models/attributes/input-constraints/{FileSizeConstraint.d.cts → FileSizeConstraint.d.ts} +0 -0
  1347. /package/lib/models/attributes/input-constraints/{IBANConstraint.d.cts → IBANConstraint.d.ts} +0 -0
  1348. /package/lib/models/attributes/input-constraints/{MandatoryConstraint.d.cts → MandatoryConstraint.d.ts} +0 -0
  1349. /package/lib/models/attributes/input-constraints/{MandatoryRangeConstraint.d.cts → MandatoryRangeConstraint.d.ts} +0 -0
  1350. /package/lib/models/attributes/input-constraints/{NumberBoundaryConstraint.d.cts → NumberBoundaryConstraint.d.ts} +0 -0
  1351. /package/lib/models/attributes/input-constraints/{NumberFormatConstraint.d.cts → NumberFormatConstraint.d.ts} +0 -0
  1352. /package/lib/models/attributes/input-constraints/{NumberGroupingConstraint.d.cts → NumberGroupingConstraint.d.ts} +0 -0
  1353. /package/lib/models/attributes/input-constraints/{PasswordConfirmConstraint.d.cts → PasswordConfirmConstraint.d.ts} +0 -0
  1354. /package/lib/models/attributes/input-constraints/{PasswordLowerAndUpperCaseConstraint.d.cts → PasswordLowerAndUpperCaseConstraint.d.ts} +0 -0
  1355. /package/lib/models/attributes/input-constraints/{PasswordMinNumericCharactersConstraint.d.cts → PasswordMinNumericCharactersConstraint.d.ts} +0 -0
  1356. /package/lib/models/attributes/input-constraints/{PasswordMinSpecialCharactersConstraint.d.cts → PasswordMinSpecialCharactersConstraint.d.ts} +0 -0
  1357. /package/lib/models/attributes/input-constraints/{PasswordThreeConsecutiveCharactersNotAllowedConstraint.d.cts → PasswordThreeConsecutiveCharactersNotAllowedConstraint.d.ts} +0 -0
  1358. /package/lib/models/attributes/input-constraints/{RangeConstraint.d.cts → RangeConstraint.d.ts} +0 -0
  1359. /package/lib/models/attributes/input-constraints/{RegexConstraint.d.cts → RegexConstraint.d.ts} +0 -0
  1360. /package/lib/models/attributes/input-constraints/{StringLengthConstraint.d.cts → StringLengthConstraint.d.ts} +0 -0
  1361. /package/lib/models/attributes/input-constraints/{XMLConstraint.d.cts → XMLConstraint.d.ts} +0 -0
  1362. /package/lib/models/attributes/layouthint-rules/{BaseLayoutHintRule.d.cts → BaseLayoutHintRule.d.ts} +0 -0
  1363. /package/lib/models/attributes/layouthint-rules/{DependentAttribute.d.cts → DependentAttribute.d.ts} +0 -0
  1364. /package/lib/models/attributes/layouthint-rules/{LayoutHintRuleCollection.d.cts → LayoutHintRuleCollection.d.ts} +0 -0
  1365. /package/lib/models/attributes/layouthint-rules/{RemainingTotalUploadSize.d.cts → RemainingTotalUploadSize.d.ts} +0 -0
  1366. /package/lib/models/base/{BaseCollection.d.cts → BaseCollection.d.ts} +0 -0
  1367. /package/lib/models/base/{BaseModel.d.cts → BaseModel.d.ts} +0 -0
  1368. /package/lib/models/base/{ResourceCollection.d.cts → ResourceCollection.d.ts} +0 -0
  1369. /package/lib/models/base/{ResourceModel.d.cts → ResourceModel.d.ts} +0 -0
  1370. /package/lib/models/caseview/{CaseViewModel.d.cts → CaseViewModel.d.ts} +0 -0
  1371. /package/lib/models/concepts/{BusinessScenarioModel.d.cts → BusinessScenarioModel.d.ts} +0 -0
  1372. /package/lib/models/concepts/{ConceptDetailModel.d.cts → ConceptDetailModel.d.ts} +0 -0
  1373. /package/lib/models/concepts/{ConceptIndexModel.d.cts → ConceptIndexModel.d.ts} +0 -0
  1374. /package/lib/models/concepts/{ConceptLinkModel.d.cts → ConceptLinkModel.d.ts} +0 -0
  1375. /package/lib/models/concepts/{ConceptRelationCollection.d.cts → ConceptRelationCollection.d.ts} +0 -0
  1376. /package/lib/models/concepts/{ConceptRelationModel.d.cts → ConceptRelationModel.d.ts} +0 -0
  1377. /package/lib/models/concepts/{ConceptTypeDetailModel.d.cts → ConceptTypeDetailModel.d.ts} +0 -0
  1378. /package/lib/models/concepts/{SourceReferenceCollection.d.cts → SourceReferenceCollection.d.ts} +0 -0
  1379. /package/lib/models/concepts/{SourceReferenceModel.d.cts → SourceReferenceModel.d.ts} +0 -0
  1380. /package/lib/models/content/{ContentIndexModel.d.cts → ContentIndexModel.d.ts} +0 -0
  1381. /package/lib/models/content/{ContentLinkModel.d.cts → ContentLinkModel.d.ts} +0 -0
  1382. /package/lib/models/content/{ContentModel.d.cts → ContentModel.d.ts} +0 -0
  1383. /package/lib/models/content/{ContentTOCModel.d.cts → ContentTOCModel.d.ts} +0 -0
  1384. /package/lib/models/content/{ContentTypeModel.d.cts → ContentTypeModel.d.ts} +0 -0
  1385. /package/lib/models/content/{SectionModel.d.cts → SectionModel.d.ts} +0 -0
  1386. /package/lib/models/content/{SubSectionModel.d.cts → SubSectionModel.d.ts} +0 -0
  1387. /package/lib/models/contentconfiguration/{ContentConfiguration.d.cts → ContentConfiguration.d.ts} +0 -0
  1388. /package/lib/models/contentconfiguration/{ContentConfigurationElements.d.cts → ContentConfigurationElements.d.ts} +0 -0
  1389. /package/lib/models/contentconfiguration/{ContentConfigurationEndResults.d.cts → ContentConfigurationEndResults.d.ts} +0 -0
  1390. /package/lib/models/contentconfiguration/{ContentConfigurationQuestions.d.cts → ContentConfigurationQuestions.d.ts} +0 -0
  1391. /package/lib/models/contentconfiguration/{ContentConfigurationResults.d.cts → ContentConfigurationResults.d.ts} +0 -0
  1392. /package/lib/models/detail/{DetailModel.d.cts → DetailModel.d.ts} +0 -0
  1393. /package/lib/models/error/{ErrorCollection.d.cts → ErrorCollection.d.ts} +0 -0
  1394. /package/lib/models/error/{ErrorModel.d.cts → ErrorModel.d.ts} +0 -0
  1395. /package/lib/models/error/{ErrorResponse.d.cts → ErrorResponse.d.ts} +0 -0
  1396. /package/lib/models/filters/{AssignmentFilterModel.d.cts → AssignmentFilterModel.d.ts} +0 -0
  1397. /package/lib/models/filters/{BaseFilterModel.d.cts → BaseFilterModel.d.ts} +0 -0
  1398. /package/lib/models/filters/{ConceptIndexFilterModel.d.cts → ConceptIndexFilterModel.d.ts} +0 -0
  1399. /package/lib/models/filters/{FilterCollection.d.cts → FilterCollection.d.ts} +0 -0
  1400. /package/lib/models/filters/{FilterModel.d.cts → FilterModel.d.ts} +0 -0
  1401. /package/lib/models/filters/{RangeFilterModel.d.cts → RangeFilterModel.d.ts} +0 -0
  1402. /package/lib/models/filters/{StringFilterModel.d.cts → StringFilterModel.d.ts} +0 -0
  1403. /package/lib/models/form/{FormModel.d.cts → FormModel.d.ts} +0 -0
  1404. /package/lib/models/form/{FormObjectModel.d.cts → FormObjectModel.d.ts} +0 -0
  1405. /package/lib/models/grouping/{GroupingModel.d.cts → GroupingModel.d.ts} +0 -0
  1406. /package/lib/models/href/{Href.d.cts → Href.d.ts} +0 -0
  1407. /package/lib/models/href/{ListHref.d.cts → ListHref.d.ts} +0 -0
  1408. /package/lib/models/{index.d.cts → index.d.ts} +0 -0
  1409. /package/lib/models/layouthint/{LayoutHintCollection.d.cts → LayoutHintCollection.d.ts} +0 -0
  1410. /package/lib/models/links/{LinkCollection.d.cts → LinkCollection.d.ts} +0 -0
  1411. /package/lib/models/links/{LinkModel.d.cts → LinkModel.d.ts} +0 -0
  1412. /package/lib/models/links/{normalizeLinkJSON.d.cts → normalizeLinkJSON.d.ts} +0 -0
  1413. /package/lib/models/list/{ListDetailModel.d.cts → ListDetailModel.d.ts} +0 -0
  1414. /package/lib/models/list/{ListHeaderModel.d.cts → ListHeaderModel.d.ts} +0 -0
  1415. /package/lib/models/list/{ListItemCollection.d.cts → ListItemCollection.d.ts} +0 -0
  1416. /package/lib/models/list/{ListItemModel.d.cts → ListItemModel.d.ts} +0 -0
  1417. /package/lib/models/list/{ListModel.d.cts → ListModel.d.ts} +0 -0
  1418. /package/lib/models/lookup/{LookupOptionCollection.d.cts → LookupOptionCollection.d.ts} +0 -0
  1419. /package/lib/models/lookup/{LookupOptionsModel.d.cts → LookupOptionsModel.d.ts} +0 -0
  1420. /package/lib/models/modelcatalog/{ModelCatalogModel.d.cts → ModelCatalogModel.d.ts} +0 -0
  1421. /package/lib/models/modelcatalog/{ModelCategoryCollection.d.cts → ModelCategoryCollection.d.ts} +0 -0
  1422. /package/lib/models/modelcatalog/{ModelCategoryModel.d.cts → ModelCategoryModel.d.ts} +0 -0
  1423. /package/lib/models/paging/{PagesizeModel.d.cts → PagesizeModel.d.ts} +0 -0
  1424. /package/lib/models/paging/{PagingModel.d.cts → PagingModel.d.ts} +0 -0
  1425. /package/lib/models/panels/{GroupingPanelModel.d.cts → GroupingPanelModel.d.ts} +0 -0
  1426. /package/lib/models/parameter/{Parameter.d.cts → Parameter.d.ts} +0 -0
  1427. /package/lib/models/process/{ProcessStatusSettingsModel.d.cts → ProcessStatusSettingsModel.d.ts} +0 -0
  1428. /package/lib/models/{resolveModel.d.cts → resolveModel.d.ts} +0 -0
  1429. /package/lib/models/search/{CaseSearchModel.d.cts → CaseSearchModel.d.ts} +0 -0
  1430. /package/lib/models/sorting/{SortOptionModel.d.cts → SortOptionModel.d.ts} +0 -0
  1431. /package/lib/models/sorting/{SortingModel.d.cts → SortingModel.d.ts} +0 -0
  1432. /package/lib/models/tab/{TabModel.d.cts → TabModel.d.ts} +0 -0
  1433. /package/lib/models/taskgroup/{TaskGroupCollection.d.cts → TaskGroupCollection.d.ts} +0 -0
  1434. /package/lib/models/taskgroup/{TaskGroupModel.d.cts → TaskGroupModel.d.ts} +0 -0
  1435. /package/lib/models/{types.d.cts → types.d.ts} +0 -0
  1436. /package/lib/models/user/{UserModel.d.cts → UserModel.d.ts} +0 -0
  1437. /package/lib/models/user/{UserProfileModel.d.cts → UserProfileModel.d.ts} +0 -0
  1438. /package/lib/models/user/{UserServicesModel.d.cts → UserServicesModel.d.ts} +0 -0
  1439. /package/lib/modularui/{Authenticate.d.cts → Authenticate.d.ts} +0 -0
  1440. /package/lib/modularui/{CaptchaRequest.d.cts → CaptchaRequest.d.ts} +0 -0
  1441. /package/lib/modularui/{ModularUIError.d.cts → ModularUIError.d.ts} +0 -0
  1442. /package/lib/modularui/{ModularUIRequest.d.cts → ModularUIRequest.d.ts} +0 -0
  1443. /package/lib/modularui/{ModularUIResponse.d.cts → ModularUIResponse.d.ts} +0 -0
  1444. /package/lib/modularui/{UploadRequest.d.cts → UploadRequest.d.ts} +0 -0
  1445. /package/lib/modularui/{index.d.cts → index.d.ts} +0 -0
  1446. /package/lib/modularui/{types.d.cts → types.d.ts} +0 -0
  1447. /package/lib/react/{ErrorBoundary.d.cts → ErrorBoundary.d.ts} +0 -0
  1448. /package/lib/react/{ErrorBoundaryFallback.d.cts → ErrorBoundaryFallback.d.ts} +0 -0
  1449. /package/lib/react/{index.d.cts → index.d.ts} +0 -0
  1450. /package/lib/react/{utils.d.cts → utils.d.ts} +0 -0
  1451. /package/lib/react-client/{Init.d.cts → Init.d.ts} +0 -0
  1452. /package/lib/react-client/{client.d.cts → client.d.ts} +0 -0
  1453. /package/lib/react-client/{contextPath.d.cts → contextPath.d.ts} +0 -0
  1454. /package/lib/react-client/{index.d.cts → index.d.ts} +0 -0
  1455. /package/lib/react-client/{rehydrate.d.cts → rehydrate.d.ts} +0 -0
  1456. /package/lib/react-server/{contextPath.d.cts → contextPath.d.ts} +0 -0
  1457. /package/lib/react-server/{createSSRComplete.d.cts → createSSRComplete.d.ts} +0 -0
  1458. /package/lib/react-server/{htmlpage.d.cts → htmlpage.d.ts} +0 -0
  1459. /package/lib/react-server/{index.d.cts → index.d.ts} +0 -0
  1460. /package/lib/react-server/{renderSSRComplete.d.cts → renderSSRComplete.d.ts} +0 -0
  1461. /package/lib/react-server/{renderSSRMinimal.d.cts → renderSSRMinimal.d.ts} +0 -0
  1462. /package/lib/react-server/{requestInformation.d.cts → requestInformation.d.ts} +0 -0
  1463. /package/lib/react-server/{serverNoSSR.d.cts → serverNoSSR.d.ts} +0 -0
  1464. /package/lib/react-server/{serverSSR.d.cts → serverSSR.d.ts} +0 -0
  1465. /package/lib/react-server/{serverUtil.d.cts → serverUtil.d.ts} +0 -0
  1466. /package/lib/react-theme/{ThemeProvider.d.cts → ThemeProvider.d.ts} +0 -0
  1467. /package/lib/react-theme/{createTheme.d.cts → createTheme.d.ts} +0 -0
  1468. /package/lib/react-theme/{index.d.cts → index.d.ts} +0 -0
  1469. /package/lib/react-theme/{types.d.cts → types.d.ts} +0 -0
  1470. /package/lib/react-theme/{useTheme.d.cts → useTheme.d.ts} +0 -0
  1471. /package/lib/react-theme/utils/{background.d.cts → background.d.ts} +0 -0
  1472. /package/lib/react-theme/utils/{colors.d.cts → colors.d.ts} +0 -0
  1473. /package/lib/react-theme/utils/{contrast.d.cts → contrast.d.ts} +0 -0
  1474. /package/lib/react-theme/utils/{corners.d.cts → corners.d.ts} +0 -0
  1475. /package/lib/react-theme/utils/{spacers.d.cts → spacers.d.ts} +0 -0
  1476. /package/lib/react-theme/utils/{themeProps.d.cts → themeProps.d.ts} +0 -0
  1477. /package/lib/redux/_i18n/{I18nActions.d.cts → I18nActions.d.ts} +0 -0
  1478. /package/lib/redux/_i18n/{I18nReducer.d.cts → I18nReducer.d.ts} +0 -0
  1479. /package/lib/redux/_i18n/{index.d.cts → index.d.ts} +0 -0
  1480. /package/lib/redux/_i18n/{types.d.cts → types.d.ts} +0 -0
  1481. /package/lib/redux/_modularui/{ModularUIActions.d.cts → ModularUIActions.d.ts} +0 -0
  1482. /package/lib/redux/_modularui/{ModularUIConnector.d.cts → ModularUIConnector.d.ts} +0 -0
  1483. /package/lib/redux/_modularui/{ModularUIMiddleware.d.cts → ModularUIMiddleware.d.ts} +0 -0
  1484. /package/lib/redux/_modularui/{ModularUIReducer.d.cts → ModularUIReducer.d.ts} +0 -0
  1485. /package/lib/redux/_modularui/{ModularUISelectors.d.cts → ModularUISelectors.d.ts} +0 -0
  1486. /package/lib/redux/_modularui/{ModularUIUtils.d.cts → ModularUIUtils.d.ts} +0 -0
  1487. /package/lib/redux/_modularui/{index.d.cts → index.d.ts} +0 -0
  1488. /package/lib/redux/_modularui/{types.d.cts → types.d.ts} +0 -0
  1489. /package/lib/redux/_modularui/{withModularUI.d.cts → withModularUI.d.ts} +0 -0
  1490. /package/lib/redux/_router/{RouterActions.d.cts → RouterActions.d.ts} +0 -0
  1491. /package/lib/redux/_router/{RouterConnectors.d.cts → RouterConnectors.d.ts} +0 -0
  1492. /package/lib/redux/_router/{RouterMiddleware.d.cts → RouterMiddleware.d.ts} +0 -0
  1493. /package/lib/redux/_router/{RouterReducer.d.cts → RouterReducer.d.ts} +0 -0
  1494. /package/lib/redux/_router/{index.d.cts → index.d.ts} +0 -0
  1495. /package/lib/redux/_router/{types.d.cts → types.d.ts} +0 -0
  1496. /package/lib/redux/actions/{Application.d.cts → Application.d.ts} +0 -0
  1497. /package/lib/redux/actions/{Authorization.d.cts → Authorization.d.ts} +0 -0
  1498. /package/lib/redux/actions/{Error.d.cts → Error.d.ts} +0 -0
  1499. /package/lib/redux/actions/{Form.d.cts → Form.d.ts} +0 -0
  1500. /package/lib/redux/actions/{FormAttributeSet.d.cts → FormAttributeSet.d.ts} +0 -0
  1501. /package/lib/redux/actions/{FormAttributeSetRepeatable.d.cts → FormAttributeSetRepeatable.d.ts} +0 -0
  1502. /package/lib/redux/actions/{FormAutosave.d.cts → FormAutosave.d.ts} +0 -0
  1503. /package/lib/redux/actions/{FormAutosubmit.d.cts → FormAutosubmit.d.ts} +0 -0
  1504. /package/lib/redux/actions/{FormAutoupdate.d.cts → FormAutoupdate.d.ts} +0 -0
  1505. /package/lib/redux/actions/{FormValidations.d.cts → FormValidations.d.ts} +0 -0
  1506. /package/lib/redux/actions/{Modals.d.cts → Modals.d.ts} +0 -0
  1507. /package/lib/redux/actions/{ModelCatalog.d.cts → ModelCatalog.d.ts} +0 -0
  1508. /package/lib/redux/actions/{Notification.d.cts → Notification.d.ts} +0 -0
  1509. /package/lib/redux/actions/{Preferences.d.cts → Preferences.d.ts} +0 -0
  1510. /package/lib/redux/actions/{ProgressIndicator.d.cts → ProgressIndicator.d.ts} +0 -0
  1511. /package/lib/redux/actions/{SignIn.d.cts → SignIn.d.ts} +0 -0
  1512. /package/lib/redux/actions/{SignOut.d.cts → SignOut.d.ts} +0 -0
  1513. /package/lib/redux/actions/{index.d.cts → index.d.ts} +0 -0
  1514. /package/lib/redux/connectors/{Application.d.cts → Application.d.ts} +0 -0
  1515. /package/lib/redux/connectors/{Breadcrumb.d.cts → Breadcrumb.d.ts} +0 -0
  1516. /package/lib/redux/connectors/{CaseView.d.cts → CaseView.d.ts} +0 -0
  1517. /package/lib/redux/connectors/{ConceptDetail.d.cts → ConceptDetail.d.ts} +0 -0
  1518. /package/lib/redux/connectors/{ContentBrowser.d.cts → ContentBrowser.d.ts} +0 -0
  1519. /package/lib/redux/connectors/{ContentDetail.d.cts → ContentDetail.d.ts} +0 -0
  1520. /package/lib/redux/connectors/{ContentDetailSection.d.cts → ContentDetailSection.d.ts} +0 -0
  1521. /package/lib/redux/connectors/{Form.d.cts → Form.d.ts} +0 -0
  1522. /package/lib/redux/connectors/{FormAttributeSet.d.cts → FormAttributeSet.d.ts} +0 -0
  1523. /package/lib/redux/connectors/{ListDetail.d.cts → ListDetail.d.ts} +0 -0
  1524. /package/lib/redux/connectors/{Modal.d.cts → Modal.d.ts} +0 -0
  1525. /package/lib/redux/connectors/{ModelCatalog.d.cts → ModelCatalog.d.ts} +0 -0
  1526. /package/lib/redux/connectors/{Notification.d.cts → Notification.d.ts} +0 -0
  1527. /package/lib/redux/connectors/{PanelRenderer.d.cts → PanelRenderer.d.ts} +0 -0
  1528. /package/lib/redux/connectors/{Preferences.d.cts → Preferences.d.ts} +0 -0
  1529. /package/lib/redux/connectors/{Progress.d.cts → Progress.d.ts} +0 -0
  1530. /package/lib/redux/connectors/{ProgressIndicator.d.cts → ProgressIndicator.d.ts} +0 -0
  1531. /package/lib/redux/connectors/{QuickSearch.d.cts → QuickSearch.d.ts} +0 -0
  1532. /package/lib/redux/connectors/{SignIn.d.cts → SignIn.d.ts} +0 -0
  1533. /package/lib/redux/connectors/{SignOut.d.cts → SignOut.d.ts} +0 -0
  1534. /package/lib/redux/connectors/{Tab.d.cts → Tab.d.ts} +0 -0
  1535. /package/lib/redux/connectors/{index.d.cts → index.d.ts} +0 -0
  1536. /package/lib/redux/{index.d.cts → index.d.ts} +0 -0
  1537. /package/lib/redux/reducers/{AuthReducer.d.cts → AuthReducer.d.ts} +0 -0
  1538. /package/lib/redux/reducers/{ErrorReducer.d.cts → ErrorReducer.d.ts} +0 -0
  1539. /package/lib/redux/reducers/{ModalsReducer.d.cts → ModalsReducer.d.ts} +0 -0
  1540. /package/lib/redux/reducers/{ModelCatalogReducer.d.cts → ModelCatalogReducer.d.ts} +0 -0
  1541. /package/lib/redux/reducers/{NotificationReducer.d.cts → NotificationReducer.d.ts} +0 -0
  1542. /package/lib/redux/reducers/{PreferencesReducer.d.cts → PreferencesReducer.d.ts} +0 -0
  1543. /package/lib/redux/reducers/{ProgressIndicatorReducer.d.cts → ProgressIndicatorReducer.d.ts} +0 -0
  1544. /package/lib/redux/reducers/{createReducer.d.cts → createReducer.d.ts} +0 -0
  1545. /package/lib/redux/reducers/{index.d.cts → index.d.ts} +0 -0
  1546. /package/lib/redux/selectors/{i18n.d.cts → i18n.d.ts} +0 -0
  1547. /package/lib/redux/selectors/{index.d.cts → index.d.ts} +0 -0
  1548. /package/lib/redux/selectors/{modelcatalog.d.cts → modelcatalog.d.ts} +0 -0
  1549. /package/lib/redux/store/{beforeRenderHooks.d.cts → beforeRenderHooks.d.ts} +0 -0
  1550. /package/lib/redux/store/{configureStore.d.cts → configureStore.d.ts} +0 -0
  1551. /package/lib/redux/{types.d.cts → types.d.ts} +0 -0
  1552. /package/lib/utils/browser/{Cache.d.cts → Cache.d.ts} +0 -0
  1553. /package/lib/utils/browser/{Cookies.d.cts → Cookies.d.ts} +0 -0
  1554. /package/lib/utils/datetime/{DateTimeUtil.d.cts → DateTimeUtil.d.ts} +0 -0
  1555. /package/lib/utils/fetch/__mocks__/{universalFetch.d.cts → universalFetch.d.ts} +0 -0
  1556. /package/lib/utils/fetch/{serverFetch.d.cts → serverFetch.d.ts} +0 -0
  1557. /package/lib/utils/fetch/{types.d.cts → types.d.ts} +0 -0
  1558. /package/lib/utils/fetch/{universalFetch.d.cts → universalFetch.d.ts} +0 -0
  1559. /package/lib/utils/fetch/{xhr.d.cts → xhr.d.ts} +0 -0
  1560. /package/lib/utils/helpers/{checkResource.d.cts → checkResource.d.ts} +0 -0
  1561. /package/lib/utils/helpers/{createHash.d.cts → createHash.d.ts} +0 -0
  1562. /package/lib/utils/helpers/{createHref.d.cts → createHref.d.ts} +0 -0
  1563. /package/lib/utils/helpers/{createUUID.d.cts → createUUID.d.ts} +0 -0
  1564. /package/lib/utils/helpers/{index.d.cts → index.d.ts} +0 -0
  1565. /package/lib/utils/helpers/{objects.d.cts → objects.d.ts} +0 -0
  1566. /package/lib/utils/helpers/{repositoryResource.d.cts → repositoryResource.d.ts} +0 -0
  1567. /package/lib/utils/helpers/{sanitizeHtml.d.cts → sanitizeHtml.d.ts} +0 -0
  1568. /package/lib/utils/helpers/{text.d.cts → text.d.ts} +0 -0
  1569. /package/lib/utils/{index.d.cts → index.d.ts} +0 -0
  1570. /package/lib/utils/number/{DecimalFormat.d.cts → DecimalFormat.d.ts} +0 -0
  1571. /package/lib/utils/number/{formatValue.d.cts → formatValue.d.ts} +0 -0
  1572. /package/lib/utils/number/{parseNumbers.d.cts → parseNumbers.d.ts} +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"file":"AttributeModel.cjs","names":["_objects","require","_BaseModel","_interopRequireDefault","_ConstraintCollection","_ErrorCollection","_LinkCollection","_StringLengthConstraint","_MandatoryConstraint","_ConceptDetailModel","_LayoutHints","_Constants","_Settings","_exceptions","_AttributeContent","AttributeModel","BaseModel","constructor","attribute","attributeContributions","modelOptions","_defineProperty2","default","ConstraintCollection","getSetting","hasContentFromData","content","label","_label","contributions","_initvalue","data","value","_inputvalue","getInitialInputValue","_value","_disabled","layouthint","has","DISABLED","_errorCollection","ErrorCollection","message","addServerError","id","parameters","_referenceDate","getData","Date","toISOString","split","_isResult","_mandatory","MANDATORY","mandatory","_links","LinkCollection","isApplicableModel","isPlainObject","IllegalArgumentException","getInitialChildModelLinks","hasContentConfiguration","conceptLink","setChildModels","models","errors","conceptHref","href","concept","_find","call","model","selfhref","equalsWithParameters","key","parentKey","_parentKey","name","type","_hasContentConfiguration","indicateContentConfiguration","contentConfiguration","hasQuestionConfig","questions","hasConfig","hasEndResultConfig","isConfiguredEndResultAttribute","hasIntermediateResultConfig","isConfiguredIntermediateResultAttribute","getContentConfiguredLabel","configuredLabelProperties","labelConfig","length","types","_context","configuredLabels","_filter","getLabelElementByIds","configuredLabel","_context2","firstConfiguredLabel","_map","configuredLabelProperty","some","_id","defaultAlignment","alignment","alignmentHints","getByLayoutHint","substring","links","downloadLink","getLinksByGroup","first","getLinkByKey","addParameter","TIMEVERSION_FILTER_NAME","referenceDate","isCacheable","_concept","ConceptDetailModel","date","initvalue","getInputValue","inputvalue","toString","validateValue","validate","hasValue","getValue","getFormData","inError","formdata","getEmptyFormData","updateLastModification","formatValue","readonlyvalue","configuredMandatory","_validatedValue","readonly","_readonly","static","isResult","disabled","format","getContribution","formatLabel","minLength","maxLength","operator","assistantMessage","isValid","constraintCollection","constraints","add","_serverConstraints","MandatoryConstraint","StringLengthConstraint","addConstraints","setUseClientsideValidation","enabled","_useClientsideValidation","useClientsideValidation","isOptionalAndEmpty","_isValid","undefined","errorCollection","collection","invalidConstraints","isChangedSince","resetErrors","error","properties","removeServerError","hasServerErrors","serverErrors","hasErrors","hasItems","addMissingError","receivedAttribute","removeMissingError","addServerConstraint","defaultMessage","addConstraint","formatParameters","params","_keys","forEach","paramKey","paramValue","_endsWith","hasDynamicValidationData","updateValidations","_lastModification","now","timestamp","reset","UnsupportedOperationException","mergeAttribute","oldAttribute","update","changedAttribute","updateByAttribute","otherAttribute","console","isEditable","_isEditable","isVisible","_isHidden","isHidden","show","hide","equals","readonlyWidth","ATTRIBUTE_WIDTH","MEDIUM","layoutHintRules","_layoutHintRules","rules","processLayoutHintRules","attributes","process","hasAllContentInData","AttributeContent","exports"],"sources":["../../../src/models/attributes/AttributeModel.js"],"sourcesContent":["// @flow\nimport { isPlainObject } from \"../../utils/helpers/objects\";\n\nimport BaseModel from \"../base/BaseModel\";\nimport ConstraintCollection from \"./input-constraints/ConstraintCollection\";\nimport ErrorCollection from \"../error/ErrorCollection\";\nimport LinkCollection from \"../links/LinkCollection\";\n\nimport StringLengthConstraint from \"./input-constraints/StringLengthConstraint\";\nimport MandatoryConstraint from \"./input-constraints/MandatoryConstraint\";\n\nimport ConceptDetailModel from \"../concepts/ConceptDetailModel\";\n\nimport { DISABLED, MANDATORY } from \"../../constants/LayoutHints\";\nimport {\n ATTRIBUTE_WIDTH,\n TIMEVERSION_FILTER_NAME,\n} from \"../../constants/Constants\";\n\nimport { getSetting, hasAllContentInData } from \"../../constants/Settings\";\n\nimport {\n IllegalArgumentException,\n UnsupportedOperationException,\n} from \"../../exceptions\";\n\nimport type { MessageParameters } from \"../../i18n/types\";\nimport type {\n AttributeType,\n FormErrorAnchor,\n IModelWithChildModels,\n ModelOptions,\n ModularUIModel,\n} from \"../types\";\nimport type LinkModel from \"../links/LinkModel\";\nimport type ContentConfiguration from \"../contentconfiguration/ContentConfiguration\";\nimport type ContentConfigurationElements from \"../contentconfiguration/ContentConfigurationElements\";\nimport type LayoutHintRuleCollection from \"./layouthint-rules/LayoutHintRuleCollection\";\nimport type AttributeCollection from \"./AttributeCollection\";\nimport AttributeContent from \"./AttributeContent\";\nimport type ErrorResponse from \"../error/ErrorResponse\";\n\n/**\n * Attribute model, base model for all kind of attributes\n */\nexport default class AttributeModel\n extends BaseModel\n implements IModelWithChildModels\n{\n _label: string;\n _lastModification: number = 0;\n\n _initvalue: any;\n _inputvalue: string;\n _value: any;\n\n _errorCollection: ErrorCollection;\n _serverConstraints: ConstraintCollection = new ConstraintCollection();\n _useClientsideValidation: boolean = getSetting(\"USE_CLIENTSIDE_VALIDATION\");\n _isValid: boolean = true;\n _validatedValue: string | null;\n _isEditable: boolean = false;\n _concept: ConceptDetailModel | null = null;\n _referenceDate: ISO_DATE;\n _isResult: boolean;\n _isHidden: boolean = false;\n _readonly: boolean;\n _disabled: boolean = false;\n _mandatory: boolean;\n _links: LinkCollection;\n _parentKey: ?string;\n _hasContentConfiguration: boolean;\n _layoutHintRules: LayoutHintRuleCollection;\n\n /**\n */\n constructor(\n attribute: Object,\n attributeContributions: Object,\n modelOptions?: ModelOptions,\n ) {\n super(attribute, attributeContributions, modelOptions);\n\n if (this.hasContentFromData && this.content.label) {\n this._label = this.content.label;\n } else {\n this._label = this.contributions.label;\n }\n\n this._initvalue = this.data.value;\n this._inputvalue = this.getInitialInputValue(this.data.value);\n this._value = this.data.value;\n this._disabled = this.layouthint.has(DISABLED);\n\n this._errorCollection = new ErrorCollection(\"attribute\");\n if (attribute && attribute.message) {\n this._errorCollection.addServerError(\n attribute.message.id,\n attribute.message.message,\n attribute.message.parameters,\n attribute.message.layouthint,\n );\n }\n\n this._referenceDate = this.getData(\n \"referenceDate\",\n new Date().toISOString().split(\"T\")[0],\n );\n\n this._isResult = this.getData(\"isResult\", false);\n\n this._mandatory =\n this.layouthint.has(MANDATORY) || this.contributions.mandatory;\n\n this._links = new LinkCollection(\n this.data._links,\n this.contributions._links,\n modelOptions,\n );\n }\n\n /**\n */\n static isApplicableModel(contributions: Object): boolean {\n if (!isPlainObject(contributions)) {\n throw new IllegalArgumentException(\n \"Given argument for isApplicableModel is not a contributions object\",\n );\n }\n\n return false;\n }\n\n /**\n * Retrieve initial input value\n */\n getInitialInputValue(value: any): any {\n return value;\n }\n\n /**\n */\n getInitialChildModelLinks(): Array<LinkModel> {\n if (\n !this.hasContentFromData &&\n this.hasContentConfiguration &&\n this.conceptLink\n ) {\n return [this.conceptLink];\n }\n return [];\n }\n\n /**\n */\n setChildModels(\n models: Array<ModularUIModel>,\n errors: Array<ErrorResponse>, // eslint-disable-line no-unused-vars\n ): void {\n const conceptHref = this.conceptLink?.href;\n if (conceptHref) {\n this.concept = models.find((model) =>\n model.selfhref.equalsWithParameters(conceptHref),\n );\n }\n }\n\n /**\n * Getting the attribute key\n */\n get key(): string {\n return this.data.key;\n }\n\n /**\n */\n get parentKey(): string {\n return this._parentKey || \"\";\n }\n\n /**\n */\n set parentKey(parentKey: string) {\n this._parentKey = parentKey;\n }\n\n /**\n * Getting the attribute name\n */\n get name(): string {\n return this.key;\n }\n\n /**\n * Getting the type of the attribute\n */\n get type(): string {\n return this.contributions.type;\n }\n\n /**\n * Getting the label of the attribute\n */\n get label(): string {\n return this._label || \"\";\n }\n\n /**\n * Set the label of this attribute\n */\n set label(label: string) {\n this._label = label;\n }\n\n /**\n */\n set hasContentConfiguration(hasContentConfiguration: boolean) {\n this._hasContentConfiguration = hasContentConfiguration;\n }\n\n /**\n */\n get hasContentConfiguration(): boolean {\n return this._hasContentConfiguration || false;\n }\n\n /**\n */\n indicateContentConfiguration(\n contentConfiguration: ContentConfiguration,\n ): void {\n if (contentConfiguration) {\n const hasQuestionConfig = contentConfiguration.questions?.hasConfig();\n\n const hasEndResultConfig =\n contentConfiguration.isConfiguredEndResultAttribute(this.key);\n const hasIntermediateResultConfig =\n contentConfiguration.isConfiguredIntermediateResultAttribute(this.key);\n\n this.hasContentConfiguration =\n hasQuestionConfig || hasEndResultConfig || hasIntermediateResultConfig;\n }\n }\n\n /**\n * Retrieve the first permitted label to render when a concept and contentConfiguration is available\n * Be aware that permission could be in place for labels from a concept.\n */\n getContentConfiguredLabel(\n contentConfiguration: ?ContentConfigurationElements,\n ): string {\n if (this.hasContentFromData) {\n return this.content.label ?? this.label;\n }\n\n const configuredLabelProperties =\n contentConfiguration && contentConfiguration.labelConfig.length > 0\n ? contentConfiguration.labelConfig[0].types\n : [];\n\n if (this.concept && configuredLabelProperties.length > 0) {\n const configuredLabels = this.concept\n .getLabelElementByIds(configuredLabelProperties)\n .filter(\n (configuredLabel) =>\n configuredLabel.value && configuredLabel.value !== \"\",\n );\n\n if (configuredLabels.length > 0) {\n const [firstConfiguredLabel] = configuredLabelProperties\n .filter((configuredLabelProperty) =>\n configuredLabels.some(\n (configuredLabel) =>\n configuredLabel._id === configuredLabelProperty,\n ),\n )\n .map((configuredLabelProperty) =>\n configuredLabels.find(\n (configuredLabel) =>\n configuredLabel._id === configuredLabelProperty,\n ),\n );\n\n if (firstConfiguredLabel) {\n return firstConfiguredLabel.value;\n }\n }\n }\n\n return this.label;\n }\n\n /**\n */\n get defaultAlignment(): \"left\" | \"center\" | \"right\" {\n return \"left\";\n }\n\n /**\n * Handles layout hint align-left, align-center and align-right\n */\n get alignment(): \"left\" | \"center\" | \"right\" {\n const alignmentHints = this.layouthint.getByLayoutHint(\"align-\");\n\n // return alignment based on layouthint or the default alignment for the attribute\n const alignment = alignmentHints\n ? alignmentHints.substring(\"align-\".length)\n : this.defaultAlignment;\n\n if (\n alignment === \"left\" ||\n alignment === \"center\" ||\n alignment === \"right\"\n ) {\n return alignment;\n }\n\n return this.defaultAlignment;\n }\n\n /**\n * Retrieve links of attribute\n */\n get links(): LinkCollection {\n if (!this._links) {\n this._links = new LinkCollection(\n this.data._links,\n this.contributions._links,\n );\n }\n\n return this._links;\n }\n\n /**\n * Retrieve link of attribute when available\n */\n get downloadLink(): ?LinkModel {\n const downloadLink = this.links.getLinksByGroup(\"download\").first;\n\n if (downloadLink && downloadLink.key === this.key) {\n return downloadLink;\n }\n\n return null;\n }\n\n /**\n * Retrieve concept link of attribute when available\n */\n get conceptLink(): ?LinkModel {\n const conceptLink = this.links.getLinkByKey(\"concept\");\n\n if (conceptLink !== null) {\n conceptLink.href = conceptLink.href.addParameter(\n TIMEVERSION_FILTER_NAME,\n this.referenceDate,\n );\n\n conceptLink.isCacheable = true;\n }\n\n return conceptLink;\n }\n\n /**\n * Get concept information\n */\n get concept(): ConceptDetailModel | null {\n return this._concept ?? null;\n }\n\n /**\n * Set the concept\n */\n set concept(concept: ?ModularUIModel) {\n this._concept = concept instanceof ConceptDetailModel ? concept : null;\n }\n\n /**\n * Retrieve reference date of attribute which can be used as entryDate for content\n * to get information in correct time version\n */\n get referenceDate(): ISO_DATE {\n return this._referenceDate;\n }\n\n /**\n * Set reference date for concepts and content\n */\n set referenceDate(date: ISO_DATE) {\n this._referenceDate = date;\n }\n\n /**\n * Initial value received from the modular ui service\n */\n get initvalue(): any {\n return this._initvalue;\n }\n\n /**\n * Retrieve input value\n */\n getInputValue(): string {\n const inputvalue = this._inputvalue;\n\n return inputvalue ? inputvalue.toString() : \"\";\n }\n\n /**\n * Returns the value as entered by the user. This can differ from the internal iso value that is stored\n */\n get inputvalue(): string {\n return this.getInputValue();\n }\n\n /**\n * Value that is used when retrieving an error collection of this attribute\n * Mostly this is the input value, but sometimes a different value is needed,\n * for example iban and postcode need to validate length without spaces\n */\n get validateValue(): string {\n return this.inputvalue;\n }\n\n /**\n * Sets the input value to the value entered by the user\n */\n set inputvalue(value: string) {\n this._inputvalue = value;\n this.value = value;\n\n this.validate(value);\n }\n\n /**\n */\n hasValue(): boolean {\n return this._value != null && this._value !== \"\";\n }\n\n /**\n * Getting the value of the attribute\n */\n getValue(): any {\n return this.hasValue() ? this._value : null;\n }\n\n /**\n * Getting data ready to be send to the modular ui\n * Returns null when the attribute should not be send to the server\n */\n getFormData(): { [string]: any } | null {\n if (this.inError()) {\n return null;\n }\n\n return {\n [this.name]: this.value,\n };\n }\n\n /**\n */\n get formdata(): { [string]: any } | null {\n return this.getFormData();\n }\n\n /**\n */\n getEmptyFormData(): { [string]: null } {\n return { [this.name]: null };\n }\n\n /**\n * Getting the value of the attribute\n */\n get value(): any {\n return this.getValue();\n }\n\n /**\n * Setting a value in the element\n */\n set value(value: ?string) {\n this.updateLastModification();\n\n this._value = value;\n }\n\n /**\n */\n formatValue(value: string): string {\n return value;\n }\n\n /**\n * Getting the readonly value, iso value converted for human reading\n */\n get readonlyvalue(): string {\n return this.value ? this.value.toString() : \"\";\n }\n\n /**\n * Getting mandatory status of attribute\n */\n get mandatory(): boolean {\n return this._mandatory || false;\n }\n\n /**\n */\n get configuredMandatory(): ?boolean {\n return this.layouthint.has(MANDATORY) || this.contributions.mandatory;\n }\n\n /**\n * Set mandatory status of attribute\n */\n set mandatory(mandatory: boolean) {\n if (mandatory !== this._mandatory) {\n this._validatedValue = null;\n }\n this._mandatory = mandatory;\n }\n\n /**\n */\n get readonly(): boolean {\n return (\n this._readonly ||\n this.contributions.readonly === true ||\n this.data.static === true ||\n this.isResult === true\n );\n }\n\n /**\n */\n set readonly(readonly: boolean) {\n this._readonly = readonly;\n }\n\n /**\n */\n get disabled(): boolean {\n return this._disabled;\n }\n\n /**\n */\n set disabled(disabled: boolean) {\n this._disabled = disabled;\n }\n\n /**\n */\n get isResult(): boolean {\n return this._isResult;\n }\n\n /**\n */\n set isResult(isResult: boolean) {\n this._isResult = isResult;\n }\n\n /**\n * Getting the display and input format of a attribute\n */\n get format(): string | null {\n return this.getContribution(\"format\");\n }\n\n /**\n */\n get formatLabel(): string {\n return this.format || \"\";\n }\n\n /**\n * Get minimum string length\n */\n get minLength(): number | null {\n return this.getContribution(\"minLength\");\n }\n\n /**\n * Get maximum string length\n */\n get maxLength(): number | null {\n return this.getContribution(\"maxLength\");\n }\n\n /**\n */\n get operator(): string {\n return this.getContribution(\"operator\", \"\");\n }\n\n /**\n * Get assistant message\n */\n get assistantMessage(): string | null {\n return this.getContribution(\"assistant\");\n }\n\n /**\n * Get valid status\n */\n get isValid(): boolean {\n return this.validate(this.validateValue);\n }\n\n /**\n * Retrieve applicable constraint for this attribute\n */\n get constraintCollection(): ConstraintCollection {\n const constraints = new ConstraintCollection();\n\n constraints.add(this._serverConstraints);\n\n // Mandatory constraint\n if (this.mandatory) {\n constraints.add(new MandatoryConstraint());\n }\n\n if (this.minLength || this.maxLength) {\n constraints.add(\n new StringLengthConstraint(this.minLength, this.maxLength),\n );\n }\n\n constraints.add(this.addConstraints());\n\n return constraints;\n }\n\n /**\n * Template method for class extending this model to add extra constraints\n * @abstract\n */\n addConstraints(): ConstraintCollection {\n return new ConstraintCollection();\n }\n\n /**\n * Used to programmatically overwrite the setting USE_CLIENTSIDE_VALIDATION\n */\n setUseClientsideValidation(enabled: boolean): void {\n this._useClientsideValidation = enabled;\n }\n\n /**\n * Indicates if client side validation is enabled\n * @returns {boolean}\n */\n useClientsideValidation(): boolean {\n return this._useClientsideValidation ?? true;\n }\n\n /**\n * Validate input on client side constraint\n */\n validate(value: string): boolean {\n // when client side validation is disabled, this attribute is always valid\n if (!this.useClientsideValidation()) {\n return true;\n }\n\n if (this.isOptionalAndEmpty(value)) {\n this._isValid = true;\n } else if (this._validatedValue !== value) {\n this._isValid = this.constraintCollection.validate(value);\n }\n this._validatedValue = value;\n\n return this._isValid;\n }\n\n /**\n * Indicates if attribute is optional and empty\n */\n isOptionalAndEmpty(value: string): boolean {\n if (value === undefined) {\n throw new IllegalArgumentException(\n \"isOptionalAndEmpty method needs value argument\",\n );\n }\n\n return !this.mandatory && value === \"\";\n }\n\n /**\n * Retrieve error messages of this attribute\n */\n get errorCollection(): ErrorCollection {\n const collection = new ErrorCollection(\"attribute\", this._errorCollection);\n\n collection.addConstraints(\n this.constraintCollection.invalidConstraints(this.validateValue),\n );\n\n return collection;\n }\n\n /**\n * Check if attribute is in error\n */\n inError(): boolean {\n return !this._isValid && this.isChangedSince(0);\n }\n\n /**\n * Reset static error messages on attribute\n */\n resetErrors(): void {\n this._errorCollection = new ErrorCollection(\"attribute\");\n }\n\n /**\n * Registers an error that was received from a server response\n */\n addServerError(error: FormErrorAnchor): void {\n this._errorCollection.addServerError(\n error.id,\n error.message,\n error.properties,\n error.layouthint,\n );\n }\n\n /**\n */\n removeServerError(id: string): void {\n this._errorCollection.removeServerError(id);\n }\n\n /**\n */\n hasServerErrors(): boolean {\n return this.errorCollection.serverErrors.length > 0;\n }\n\n /**\n */\n hasErrors(): boolean {\n return this.errorCollection.hasItems;\n }\n\n /**\n * Registers a missing error that was received from the server\n */\n // eslint-disable-next-line no-unused-vars\n addMissingError(receivedAttribute?: AttributeType): void {\n this._errorCollection.addServerError(\"Constraint.Missing\");\n }\n\n /**\n */\n removeMissingError(): void {\n this.removeServerError(\"Constraint.Missing\");\n }\n\n /**\n */\n addServerConstraint(\n id: string,\n defaultMessage?: string,\n parameters?: MessageParameters,\n ) {\n this._serverConstraints.addConstraint(\n id,\n null,\n defaultMessage,\n parameters,\n this.useClientsideValidation(),\n );\n }\n\n /**\n */\n formatParameters(parameters: Object): { [string]: string | number } {\n if (parameters == null) {\n return {};\n }\n\n const params: { [name: string]: string | number } = {};\n\n Object.keys(parameters).forEach((paramKey: string) => {\n const paramValue = parameters[paramKey];\n if (paramKey.endsWith(\"-number\") || paramKey.endsWith(\"-date\")) {\n params[paramKey] = this.formatValue(paramValue);\n } else {\n params[paramKey] = paramValue;\n }\n });\n\n return params;\n }\n\n /**\n */\n get hasDynamicValidationData(): boolean {\n return true;\n }\n\n /**\n */\n updateValidations(errors: Array<Object>): void {\n if (\n errors.some((error) => error.id === \"Constraint.Mandatory\") ||\n this.layouthint.has(MANDATORY)\n ) {\n this.mandatory = true;\n } else if (!this.hasValue()) {\n this.mandatory = false;\n }\n\n this._serverConstraints = new ConstraintCollection();\n this.resetErrors();\n\n errors\n .filter(\n (error) => error.id !== \"Constraint.Mandatory\" || !this.hasValue(),\n )\n .forEach((error) => {\n if (this.hasValue()) {\n this._errorCollection.addServerError(\n error.id,\n error.message,\n this.formatParameters(error.properties),\n error.layouthint,\n );\n } else {\n this.addServerConstraint(\n error.id,\n error.message,\n this.formatParameters(error.properties),\n );\n }\n });\n }\n\n /**\n * Set last modification to current timestamp\n */\n updateLastModification(): void {\n this._lastModification = Date.now();\n }\n\n /**\n * Inidicates if attribute is changed since a given timestamp (Date.now)\n */\n isChangedSince(timestamp: number): boolean {\n return this._lastModification > timestamp;\n }\n\n /**\n * Abstract reset method which should be implemented on each attribute that has this attribute as a base class.\n *\n * @abstract\n */\n reset(): void {\n throw new UnsupportedOperationException(\n `Reset method not implemented for ${this.type}`,\n );\n }\n\n /**\n * Merge old attribute with the attribute from the server.\n * Readonly attributes always need to show the value from the server\n */\n mergeAttribute(oldAttribute: AttributeType): void {\n this.concept = oldAttribute.concept;\n\n if (\n !oldAttribute.readonly &&\n oldAttribute.isValid &&\n oldAttribute.inputvalue !== null\n ) {\n this.update(oldAttribute.inputvalue);\n }\n }\n\n /**\n * Abstract update method which should be implemented on each attribute that has this attribute as a base class.\n * @abstract\n */\n // eslint-disable-next-line no-unused-vars\n update(value: string, changedAttribute?: AttributeType): AttributeType {\n throw new UnsupportedOperationException(\n `Update method not implemented for ${this.type}`,\n );\n }\n\n /**\n * Abstract updateByAttribute method which should be implemented on each attribute that has this attribute as a base class.\n * @abstract\n */\n // eslint-disable-next-line no-unused-vars\n updateByAttribute(otherAttribute: AttributeType): void {\n console.error(\n \"update of \" +\n this.type +\n \" with \" +\n otherAttribute.type +\n \" not supported\",\n );\n }\n\n /**\n * Indicate if attribute is editable\n */\n set isEditable(isEditable: boolean) {\n this._isEditable = isEditable;\n }\n\n /**\n * Retrieve if attribute is editable\n */\n get isEditable(): boolean {\n return this._isEditable;\n }\n\n /**\n * Indicates if the attribute is visible\n */\n get isVisible(): boolean {\n return !this._isHidden;\n }\n\n /**\n */\n get isHidden(): boolean {\n return this._isHidden;\n }\n\n /**\n */\n set isHidden(isHidden: boolean) {\n this._isHidden = isHidden;\n }\n\n /**\n * Explicitly toggle visibility of this attribute\n */\n show(): void {\n this.isHidden = false;\n }\n\n /**\n */\n hide(): void {\n this.isHidden = true;\n }\n\n /**\n */\n equals(otherAttribute: AttributeType): boolean {\n return (\n this.key === otherAttribute.key &&\n this.parentKey === otherAttribute.parentKey\n );\n }\n\n /**\n * Readonly attribute width indicates the proposed width of this attribute\n */\n get readonlyWidth(): $Keys<typeof ATTRIBUTE_WIDTH> {\n return ATTRIBUTE_WIDTH.MEDIUM;\n }\n\n /**\n */\n get layoutHintRules(): LayoutHintRuleCollection {\n return this._layoutHintRules;\n }\n\n /**\n */\n set layoutHintRules(rules: LayoutHintRuleCollection) {\n this._layoutHintRules = rules;\n }\n\n /**\n */\n processLayoutHintRules(attributes: AttributeCollection): void {\n if (this._layoutHintRules) {\n this.layoutHintRules.process(this, attributes);\n }\n }\n\n /**\n * Indicates if content comes from the data service\n */\n get hasContentFromData(): boolean {\n return hasAllContentInData();\n }\n\n /**\n */\n get content(): AttributeContent {\n return new AttributeContent(this.data.content);\n }\n}\n"],"mappings":";;;;;;;;;;;;;AACA,IAAAA,QAAA,GAAAC,OAAA;AAEA,IAAAC,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aA,CAAA,EAAkC;IACjD,OAAOC,0BAAe,CAACC,MAAM;EAC/B;;EAEA;AACF;EACE,IAAIC,eAAeA,CAAA,EAA6B;IAC9C,OAAO,IAAI,CAACC,gBAAgB;EAC9B;;EAEA;AACF;EACE,IAAID,eAAeA,CAACE,KAA+B,EAAE;IACnD,IAAI,CAACD,gBAAgB,GAAGC,KAAK;EAC/B;;EAEA;AACF;EACEC,sBAAsBA,CAACC,UAA+B,EAAQ;IAC5D,IAAI,IAAI,CAACH,gBAAgB,EAAE;MACzB,IAAI,CAACD,eAAe,CAACK,OAAO,CAAC,IAAI,EAAED,UAAU,CAAC;IAChD;EACF;;EAEA;AACF;AACA;EACE,IAAInM,kBAAkBA,CAAA,EAAY;IAChC,OAAO,IAAAqM,6BAAmB,EAAC,CAAC;EAC9B;;EAEA;AACF;EACE,IAAIpM,OAAOA,CAAA,EAAqB;IAC9B,OAAO,IAAIqM,yBAAgB,CAAC,IAAI,CAAChM,IAAI,CAACL,OAAO,CAAC;EAChD;AACF;AAACsM,OAAA,CAAA1M,OAAA,GAAAP,cAAA","ignoreList":[]}
@@ -1,105 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
4
- Object.defineProperty(exports, "__esModule", {
5
- value: true
6
- });
7
- exports.default = void 0;
8
- var _filter = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/filter"));
9
- var _keys = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/object/keys"));
10
- var _entries = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/entries"));
11
- var _defineProperty2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/defineProperty"));
12
- var _objects = require("../../utils/helpers/objects");
13
- var _BaseModel = _interopRequireDefault(require("../base/BaseModel"));
14
- var _AttributeCollection = _interopRequireDefault(require("./AttributeCollection"));
15
- /**
16
- */
17
- class AttributeSetModel extends _BaseModel.default {
18
- /**
19
- */
20
- constructor() {
21
- var _context;
22
- let key = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : "";
23
- let data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
24
- let contributions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
25
- let modelOptions = arguments.length > 3 ? arguments[3] : undefined;
26
- super(data, contributions, modelOptions);
27
- (0, _defineProperty2.default)(this, "_key", void 0);
28
- (0, _defineProperty2.default)(this, "_attributeCollection", void 0);
29
- const attributeContributions = this.contributions.attributes ? (0, _filter.default)(_context = this.contributions.attributes).call(_context, contribution => {
30
- const [contributionKey] = (0, _keys.default)(contribution);
31
- return (0, _objects.has)(this.data, contributionKey);
32
- }) : [];
33
- this._attributeCollection = new _AttributeCollection.default(this.data, attributeContributions, {
34
- ...modelOptions,
35
- isReadonly: true
36
- });
37
- this._key = key;
38
- }
39
-
40
- /**
41
- */
42
- get key() {
43
- return this._key;
44
- }
45
-
46
- /**
47
- */
48
- set key(key) {
49
- this._key = key;
50
- }
51
-
52
- /**
53
- */
54
- get label() {
55
- return this.contributions.label;
56
- }
57
-
58
- /**
59
- * Retrieve attribute collection
60
- */
61
- get attributeCollection() {
62
- return this._attributeCollection;
63
- }
64
-
65
- /**
66
- * Set the attributes with a new AttributeCollection
67
- */
68
- set attributeCollection(collection) {
69
- this._attributeCollection = collection;
70
- }
71
-
72
- /**
73
- */
74
- createChildAttributeSetModel(key, dataObject, index) {
75
- return new AttributeSetModel(index ? `${key}-${index + 1}` : key, {
76
- ...dataObject,
77
- dynamicschema: this.data.dynamicschema
78
- }, this.contributions.objects[key], this.modelOptions);
79
- }
80
-
81
- /**
82
- * Retrieve child {@code AttributeSetModel}s
83
- */
84
- getChildAttributeSets() {
85
- if (!this.contributions.objects) {
86
- return [];
87
- }
88
- const childAttributeSets = [];
89
- for (const key of (0, _keys.default)(this.contributions.objects)) {
90
- if (key in this.data) {
91
- if (Array.isArray(this.data[key])) {
92
- for (const [i, dataObject] of (0, _entries.default)(_context2 = this.data[key]).call(_context2)) {
93
- var _context2;
94
- childAttributeSets.push(this.createChildAttributeSetModel(key, dataObject, i));
95
- }
96
- } else {
97
- childAttributeSets.push(this.createChildAttributeSetModel(key, this.data[key]));
98
- }
99
- }
100
- }
101
- return childAttributeSets;
102
- }
103
- }
104
- exports.default = AttributeSetModel;
105
- //# sourceMappingURL=AttributeSetModel.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AttributeSetModel.cjs","names":["_objects","require","_BaseModel","_interopRequireDefault","_AttributeCollection","AttributeSetModel","BaseModel","constructor","_context","key","arguments","length","undefined","data","contributions","modelOptions","_defineProperty2","default","attributeContributions","attributes","_filter","call","contribution","contributionKey","_keys","has","_attributeCollection","AttributeCollection","isReadonly","_key","label","attributeCollection","collection","createChildAttributeSetModel","dataObject","index","dynamicschema","objects","getChildAttributeSets","childAttributeSets","Array","isArray","i","_entries","_context2","push","exports"],"sources":["../../../src/models/attributes/AttributeSetModel.js"],"sourcesContent":["// @flow\nimport { has } from \"../../utils/helpers/objects\";\n\nimport BaseModel from \"../base/BaseModel\";\nimport AttributeCollection from \"./AttributeCollection\";\n\nimport type { ModelOptions } from \"../types\";\n\n/**\n */\nexport default class AttributeSetModel extends BaseModel {\n _key: string;\n _attributeCollection: AttributeCollection;\n\n /**\n */\n constructor(\n key: string = \"\",\n data: Object = {},\n contributions: Object = {},\n modelOptions?: ModelOptions,\n ) {\n super(data, contributions, modelOptions);\n\n const attributeContributions = this.contributions.attributes\n ? this.contributions.attributes.filter((contribution) => {\n const [contributionKey] = Object.keys(contribution);\n return has(this.data, contributionKey);\n })\n : [];\n\n this._attributeCollection = new AttributeCollection(\n this.data,\n attributeContributions,\n { ...modelOptions, isReadonly: true },\n );\n\n this._key = key;\n }\n\n /**\n */\n get key(): string {\n return this._key;\n }\n\n /**\n */\n set key(key: string) {\n this._key = key;\n }\n\n /**\n */\n get label(): ?string {\n return this.contributions.label;\n }\n\n /**\n * Retrieve attribute collection\n */\n get attributeCollection(): AttributeCollection {\n return this._attributeCollection;\n }\n\n /**\n * Set the attributes with a new AttributeCollection\n */\n set attributeCollection(collection: AttributeCollection) {\n this._attributeCollection = collection;\n }\n\n /**\n */\n createChildAttributeSetModel(\n key: string,\n dataObject: Object,\n index?: number,\n ): AttributeSetModel {\n return new AttributeSetModel(\n index ? `${key}-${index + 1}` : key,\n {\n ...dataObject,\n dynamicschema: this.data.dynamicschema,\n },\n this.contributions.objects[key],\n this.modelOptions,\n );\n }\n\n /**\n * Retrieve child {@code AttributeSetModel}s\n */\n getChildAttributeSets(): Array<AttributeSetModel> {\n if (!this.contributions.objects) {\n return [];\n }\n\n const childAttributeSets = [];\n for (const key of Object.keys(this.contributions.objects)) {\n if (key in this.data) {\n if (Array.isArray(this.data[key])) {\n for (const [i, dataObject] of this.data[key].entries()) {\n childAttributeSets.push(\n this.createChildAttributeSetModel(key, dataObject, i),\n );\n }\n } else {\n childAttributeSets.push(\n this.createChildAttributeSetModel(key, this.data[key]),\n );\n }\n }\n }\n return childAttributeSets;\n }\n}\n"],"mappings":";;;;;;;;;;;AACA,IAAAA,QAAA,GAAAC,OAAA;AAEA,IAAAC,UAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,oBAAA,GAAAD,sBAAA,CAAAF,OAAA;AAIA;AACA;AACe,MAAMI,iBAAiB,SAASC,kBAAS,CAAC;EAIvD;AACF;EACEC,WAAWA,CAAA,EAKT;IAAA,IAAAC,QAAA;IAAA,IAJAC,GAAW,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,EAAE;IAAA,IAChBG,IAAY,GAAAH,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,CAAC,CAAC;IAAA,IACjBI,aAAqB,GAAAJ,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,CAAC,CAAC;IAAA,IAC1BK,YAA2B,GAAAL,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AACO,OAAA,CAAA7B,OAAA,GAAAZ,iBAAA","ignoreList":[]}
@@ -1,295 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
4
- Object.defineProperty(exports, "__esModule", {
5
- value: true
6
- });
7
- exports.default = void 0;
8
- var _find = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/find"));
9
- var _map = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/map"));
10
- var _includes = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/includes"));
11
- var _defineProperty2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/defineProperty"));
12
- var _AttributeModel = _interopRequireDefault(require("./AttributeModel"));
13
- var _ChoiceAttributeOptionCollection = _interopRequireDefault(require("./ChoiceAttributeOptionCollection"));
14
- var _ContentConfigurationElements = _interopRequireDefault(require("../contentconfiguration/ContentConfigurationElements"));
15
- var _ChoiceAttributeOptionModel = _interopRequireDefault(require("./ChoiceAttributeOptionModel"));
16
- var _LayoutHints = require("../../constants/LayoutHints");
17
- var _constants = require("../../constants");
18
- /**
19
- * Model for a boolean attribute
20
- */
21
- class BooleanAttributeModel extends _AttributeModel.default {
22
- /**
23
- */
24
- constructor(attribute, attributeContributions, modelOptions) {
25
- super(attribute, attributeContributions, modelOptions);
26
- (0, _defineProperty2.default)(this, "_referenceDate", void 0);
27
- (0, _defineProperty2.default)(this, "_options", void 0);
28
- (0, _defineProperty2.default)(this, "_hasContentConfiguration", false);
29
- this._referenceDate = this.getData("referenceDate", new Date().toISOString().split("T")[0]);
30
- this._options = _ChoiceAttributeOptionCollection.default.create(attribute, attributeContributions, {
31
- ...modelOptions,
32
- referenceDate: this.referenceDate
33
- });
34
- }
35
-
36
- /**
37
- */
38
- static isApplicableModel(contributions) {
39
- return contributions.type === "boolean";
40
- }
41
-
42
- /**
43
- */
44
- get type() {
45
- return "boolean";
46
- }
47
-
48
- /**
49
- * Retrieve reference date of attribute which can be used as entryDate for content
50
- */
51
- get referenceDate() {
52
- return this._referenceDate;
53
- }
54
-
55
- /**
56
- * Set reference date for concepts and content
57
- */
58
- set referenceDate(date) {
59
- this._referenceDate = date;
60
- this.options.referenceDate = date;
61
- }
62
-
63
- /**
64
- * Getting the type of choice filter. For instance checkbox, radiobutton, combobox.
65
- */
66
- get choicetype() {
67
- var _context;
68
- return (0, _find.default)(_context = ["checkbox", "radiobutton", "combobox", "toggle"]).call(_context, hint => this.layouthint.has(hint)) || "radiobutton";
69
- }
70
-
71
- /**
72
- * Can multiple options be selected
73
- */
74
- get isMultiple() {
75
- return false;
76
- }
77
-
78
- /**
79
- * Check if options need to be rendered as tree
80
- */
81
- get isTree() {
82
- return false;
83
- }
84
-
85
- /**
86
- */
87
- set hasContentConfiguration(hasContentConfiguration) {
88
- this._hasContentConfiguration = this.contentConfiguration !== null || hasContentConfiguration;
89
- }
90
-
91
- /**
92
- */
93
- get hasContentConfiguration() {
94
- return this._hasContentConfiguration;
95
- }
96
-
97
- /**
98
- * Get content configuration configured on the attribute.
99
- * Only applicable for taxonomy element and knowledge codemaps,
100
- * content configuration for instrument questions is available on the form object
101
- */
102
- get contentConfiguration() {
103
- var _context2;
104
- if (!this.contributions.content || !this.contributions.content.optionElements) {
105
- return null;
106
- }
107
-
108
- // Add RENDER_SECTION_LABEL to all content configuration to make sure the label of a section is always rendered on taxonomy and knowlege codemaps
109
- const optionElementConfig = (0, _map.default)(_context2 = this.contributions.content.optionElements).call(_context2, optionElement => {
110
- if ("contentElement" in optionElement) {
111
- return {
112
- contentElement: {
113
- ...optionElement.contentElement,
114
- layouthint: [_LayoutHints.RENDER_SECTION_LABEL]
115
- }
116
- };
117
- }
118
- return optionElement;
119
- });
120
- return new _ContentConfigurationElements.default(optionElementConfig);
121
- }
122
-
123
- /**
124
- * Retrieve available choice options
125
- */
126
- get options() {
127
- return this._options;
128
- }
129
-
130
- /**
131
- * Getting all enabled options
132
- */
133
- get selected() {
134
- var _context3;
135
- // $FlowFixMe[incompatible-call]
136
- return (0, _map.default)(_context3 = this.options.selected).call(_context3, option => option.code);
137
- }
138
-
139
- /**
140
- * Flatten options and filter out the options that are not selected
141
- */
142
- get readonlyvalue() {
143
- var _context4;
144
- return (0, _map.default)(_context4 = this.options.selected).call(_context4, option => option.label).join(", ");
145
- }
146
-
147
- /**
148
- */
149
- get initvalue() {
150
- if (Array.isArray(this._initvalue) && this._initvalue.length === 0) {
151
- return null;
152
- }
153
- return this._initvalue;
154
- }
155
-
156
- /**
157
- * Retrieve list of selected options, joined with comma
158
- */
159
- getValue() {
160
- var _context5;
161
- return this.options.selected.length > 0 ? (0, _map.default)(_context5 = this.options.selected).call(_context5, option => option.code).join(",") : null;
162
- }
163
-
164
- /**
165
- */
166
- hasValue() {
167
- return this.options.selected.length > 0;
168
- }
169
-
170
- /**
171
- * Get input value of attribute
172
- */
173
- getInputValue() {
174
- return this.selected.join(",");
175
- }
176
-
177
- /**
178
- * Setting an option selected or unselected based on the current state
179
- */
180
- toggleOption(code) {
181
- var _context6;
182
- if ((0, _includes.default)(_context6 = this.selected).call(_context6, code)) {
183
- this.disableOption(code);
184
- } else {
185
- this.enableOption(code);
186
- }
187
- }
188
-
189
- /**
190
- * Enable a option
191
- */
192
- enableOption(code) {
193
- this.options.deselectAll();
194
- this.options.select(code);
195
- this.inputvalue = this.getInputValue();
196
- }
197
-
198
- /**
199
- * Disable a option
200
- */
201
- disableOption(code) {
202
- this.options.deselect(code);
203
- this.inputvalue = this.getInputValue();
204
- }
205
-
206
- /**
207
- * Reset boolean attribute to unselected list
208
- */
209
- reset() {
210
- this.options.deselectAll();
211
- }
212
-
213
- /**
214
- */
215
- mergeAttribute(oldAttribute) {
216
- // when attribute is readonly, don't merge the options no modifications necessary
217
- if (!this.readonly && oldAttribute instanceof BooleanAttributeModel) {
218
- this.concept = oldAttribute.concept;
219
- this.options.deselectAll();
220
- if (oldAttribute.isValid && oldAttribute.inputvalue !== null) {
221
- this.update(oldAttribute.inputvalue);
222
- }
223
- }
224
- }
225
-
226
- /**
227
- * Update attribute by name and value
228
- */
229
- update(value) {
230
- if (this.readonly) {
231
- return this;
232
- }
233
- this.updateLastModification();
234
- let values = [];
235
- if (Array.isArray(value)) {
236
- values = value;
237
- } else if (typeof value === "string" && this.isMultiple) {
238
- values = value.split(",");
239
- } else if (value != null) {
240
- values = [value.toString()];
241
- }
242
- values.forEach(val => {
243
- if (val instanceof _ChoiceAttributeOptionModel.default) {
244
- this.toggleOption(val.code);
245
- } else if (typeof val === "string" && this.options.some(option => option.code.toString() === val)) {
246
- this.toggleOption(val);
247
- }
248
- });
249
- return this;
250
- }
251
-
252
- /**
253
- */
254
- updateByAttribute(otherAttribute) {
255
- this.reset();
256
- if (otherAttribute instanceof BooleanAttributeModel) {
257
- this.update(otherAttribute.value);
258
- } else {
259
- console.error(`update of boolean attribute with ${otherAttribute.type} not supported`);
260
- }
261
- }
262
-
263
- /**
264
- */
265
- getFormData() {
266
- if (this.inError()) {
267
- return null;
268
- }
269
- if (!this.hasValue()) {
270
- // no value for checkbox and toggle is same as a false value
271
- if (this.choicetype === "checkbox" || this.choicetype === "toggle") {
272
- return {
273
- [this.name]: false
274
- };
275
- }
276
- return {
277
- [this.name]: null
278
- };
279
- }
280
- return {
281
- [this.name]: this.value === "true"
282
- };
283
- }
284
-
285
- /**
286
- */
287
- get readonlyWidth() {
288
- if (this.options.some(option => option.hasAlternativeLabel)) {
289
- return _constants.ATTRIBUTE_WIDTH.SMALL;
290
- }
291
- return _constants.ATTRIBUTE_WIDTH.EXTRA_SMALL;
292
- }
293
- }
294
- exports.default = BooleanAttributeModel;
295
- //# sourceMappingURL=BooleanAttributeModel.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BooleanAttributeModel.cjs","names":["_AttributeModel","_interopRequireDefault","require","_ChoiceAttributeOptionCollection","_ContentConfigurationElements","_ChoiceAttributeOptionModel","_LayoutHints","_constants","BooleanAttributeModel","AttributeModel","constructor","attribute","attributeContributions","modelOptions","_defineProperty2","default","_referenceDate","getData","Date","toISOString","split","_options","ChoiceAttributeOptionCollection","create","referenceDate","isApplicableModel","contributions","type","date","options","choicetype","_context","_find","call","hint","layouthint","has","isMultiple","isTree","hasContentConfiguration","_hasContentConfiguration","contentConfiguration","_context2","content","optionElements","optionElementConfig","_map","optionElement","contentElement","RENDER_SECTION_LABEL","ContentConfigurationElements","selected","_context3","option","code","readonlyvalue","_context4","label","join","initvalue","Array","isArray","_initvalue","length","getValue","_context5","hasValue","getInputValue","toggleOption","_context6","_includes","disableOption","enableOption","deselectAll","select","inputvalue","deselect","reset","mergeAttribute","oldAttribute","readonly","concept","isValid","update","value","updateLastModification","values","toString","forEach","val","ChoiceAttributeOptionModel","some","updateByAttribute","otherAttribute","console","error","getFormData","inError","name","readonlyWidth","hasAlternativeLabel","ATTRIBUTE_WIDTH","SMALL","EXTRA_SMALL","exports"],"sources":["../../../src/models/attributes/BooleanAttributeModel.js"],"sourcesContent":["// @flow\nimport AttributeModel from \"./AttributeModel\";\n\nimport ChoiceAttributeOptionCollection from \"./ChoiceAttributeOptionCollection\";\nimport ContentConfigurationElements from \"../contentconfiguration/ContentConfigurationElements\";\nimport ChoiceAttributeOptionModel from \"./ChoiceAttributeOptionModel\";\n\nimport { RENDER_SECTION_LABEL } from \"../../constants/LayoutHints\";\nimport { ATTRIBUTE_WIDTH } from \"../../constants\";\n\nimport type { AttributeType, ModelOptions } from \"../types\";\n\n/**\n * Model for a boolean attribute\n */\nexport default class BooleanAttributeModel extends AttributeModel {\n _referenceDate: string;\n _options: ChoiceAttributeOptionCollection;\n _hasContentConfiguration: boolean = false;\n\n /**\n */\n constructor(\n attribute: Object,\n attributeContributions: Object,\n modelOptions?: ModelOptions,\n ) {\n super(attribute, attributeContributions, modelOptions);\n\n this._referenceDate = this.getData(\n \"referenceDate\",\n new Date().toISOString().split(\"T\")[0],\n );\n this._options = ChoiceAttributeOptionCollection.create(\n attribute,\n attributeContributions,\n { ...modelOptions, referenceDate: this.referenceDate },\n );\n }\n\n /**\n */\n static isApplicableModel(contributions: Object): boolean {\n return contributions.type === \"boolean\";\n }\n\n /**\n */\n get type(): string {\n return \"boolean\";\n }\n\n /**\n * Retrieve reference date of attribute which can be used as entryDate for content\n */\n get referenceDate(): string {\n return this._referenceDate;\n }\n\n /**\n * Set reference date for concepts and content\n */\n set referenceDate(date: string) {\n this._referenceDate = date;\n\n this.options.referenceDate = date;\n }\n\n /**\n * Getting the type of choice filter. For instance checkbox, radiobutton, combobox.\n */\n get choicetype(): \"checkbox\" | \"radiobutton\" | \"combobox\" | \"toggle\" {\n return (\n [\"checkbox\", \"radiobutton\", \"combobox\", \"toggle\"].find((hint) =>\n this.layouthint.has(hint),\n ) || \"radiobutton\"\n );\n }\n\n /**\n * Can multiple options be selected\n */\n get isMultiple(): boolean {\n return false;\n }\n\n /**\n * Check if options need to be rendered as tree\n */\n get isTree(): boolean {\n return false;\n }\n\n /**\n */\n set hasContentConfiguration(hasContentConfiguration: boolean) {\n this._hasContentConfiguration =\n this.contentConfiguration !== null || hasContentConfiguration;\n }\n\n /**\n */\n get hasContentConfiguration(): boolean {\n return this._hasContentConfiguration;\n }\n\n /**\n * Get content configuration configured on the attribute.\n * Only applicable for taxonomy element and knowledge codemaps,\n * content configuration for instrument questions is available on the form object\n */\n get contentConfiguration(): ContentConfigurationElements | null {\n if (\n !this.contributions.content ||\n !this.contributions.content.optionElements\n ) {\n return null;\n }\n\n // Add RENDER_SECTION_LABEL to all content configuration to make sure the label of a section is always rendered on taxonomy and knowlege codemaps\n const optionElementConfig = this.contributions.content.optionElements.map(\n (optionElement) => {\n if (\"contentElement\" in optionElement) {\n return {\n contentElement: {\n ...optionElement.contentElement,\n layouthint: [RENDER_SECTION_LABEL],\n },\n };\n }\n\n return optionElement;\n },\n );\n\n return new ContentConfigurationElements(optionElementConfig);\n }\n\n /**\n * Retrieve available choice options\n */\n get options(): ChoiceAttributeOptionCollection {\n return this._options;\n }\n\n /**\n * Getting all enabled options\n */\n get selected(): Array<string> {\n // $FlowFixMe[incompatible-call]\n return this.options.selected.map<string, ChoiceAttributeOptionModel>(\n (option: ChoiceAttributeOptionModel) => option.code,\n );\n }\n\n /**\n * Flatten options and filter out the options that are not selected\n */\n get readonlyvalue(): string {\n return this.options.selected.map((option) => option.label).join(\", \");\n }\n\n /**\n */\n get initvalue(): any {\n if (Array.isArray(this._initvalue) && this._initvalue.length === 0) {\n return null;\n }\n\n return this._initvalue;\n }\n\n /**\n * Retrieve list of selected options, joined with comma\n */\n getValue(): string | null {\n return this.options.selected.length > 0\n ? this.options.selected.map((option) => option.code).join(\",\")\n : null;\n }\n\n /**\n */\n hasValue(): boolean {\n return this.options.selected.length > 0;\n }\n\n /**\n * Get input value of attribute\n */\n getInputValue(): string {\n return this.selected.join(\",\");\n }\n\n /**\n * Setting an option selected or unselected based on the current state\n */\n toggleOption(code: string) {\n if (this.selected.includes(code)) {\n this.disableOption(code);\n } else {\n this.enableOption(code);\n }\n }\n\n /**\n * Enable a option\n */\n enableOption(code: string) {\n this.options.deselectAll();\n this.options.select(code);\n this.inputvalue = this.getInputValue();\n }\n\n /**\n * Disable a option\n */\n disableOption(code: string) {\n this.options.deselect(code);\n this.inputvalue = this.getInputValue();\n }\n\n /**\n * Reset boolean attribute to unselected list\n */\n reset() {\n this.options.deselectAll();\n }\n\n /**\n */\n mergeAttribute(oldAttribute: AttributeType) {\n // when attribute is readonly, don't merge the options no modifications necessary\n if (!this.readonly && oldAttribute instanceof BooleanAttributeModel) {\n this.concept = oldAttribute.concept;\n this.options.deselectAll();\n\n if (oldAttribute.isValid && oldAttribute.inputvalue !== null) {\n this.update(oldAttribute.inputvalue);\n }\n }\n }\n\n /**\n * Update attribute by name and value\n */\n update(value: any): BooleanAttributeModel {\n if (this.readonly) {\n return this;\n }\n\n this.updateLastModification();\n\n let values = [];\n\n if (Array.isArray(value)) {\n values = value;\n } else if (typeof value === \"string\" && this.isMultiple) {\n values = value.split(\",\");\n } else if (value != null) {\n values = [value.toString()];\n }\n\n values.forEach((val) => {\n if (val instanceof ChoiceAttributeOptionModel) {\n this.toggleOption(val.code);\n } else if (\n typeof val === \"string\" &&\n this.options.some((option) => option.code.toString() === val)\n ) {\n this.toggleOption(val);\n }\n });\n\n return this;\n }\n\n /**\n */\n updateByAttribute(otherAttribute: AttributeType): void {\n this.reset();\n if (otherAttribute instanceof BooleanAttributeModel) {\n this.update(otherAttribute.value);\n } else {\n console.error(\n `update of boolean attribute with ${otherAttribute.type} not supported`,\n );\n }\n }\n\n /**\n */\n getFormData(): { [string]: boolean | null } | null {\n if (this.inError()) {\n return null;\n }\n\n if (!this.hasValue()) {\n // no value for checkbox and toggle is same as a false value\n if (this.choicetype === \"checkbox\" || this.choicetype === \"toggle\") {\n return { [this.name]: false };\n }\n\n return { [this.name]: null };\n }\n\n return { [this.name]: this.value === \"true\" };\n }\n\n /**\n */\n get readonlyWidth(): $Keys<typeof ATTRIBUTE_WIDTH> {\n if (this.options.some((option) => option.hasAlternativeLabel)) {\n return ATTRIBUTE_WIDTH.SMALL;\n }\n\n return ATTRIBUTE_WIDTH.EXTRA_SMALL;\n }\n}\n"],"mappings":";;;;;;;;;;;AACA,IAAAA,eAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAAC,gCAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,6BAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,2BAAA,GAAAJ,sBAAA,CAAAC,OAAA;AAEA,IAAAI,YAAA,GAAAJ,OAAA;AACA,IAAAK,UAAA,GAAAL,OAAA;AAIA;AACA;AACA;AACe,MAAMM,qBAAqB,SAASC,uBAAc,CAAC;EAKhE;AACF;EACEC,WAAWA,CACTC,SAAiB,EACjBC,sBAA8B,EAC9BC,YAA2B,EAC3B;IACA,KAAK,CAACF,SAAS,EAAEC,sBAAsB,EAAEC,YAAY,CAAC;IAAC,IAAAC,gBAAA,CAAAC,OAAA;IAAA,IAAAD,gBAAA,CAAAC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AAE;QAClE,OAAO;UAAE,CAAC,IAAI,CAACoE,IAAI,GAAG;QAAM,CAAC;MAC/B;MAEA,OAAO;QAAE,CAAC,IAAI,CAACA,IAAI,GAAG;MAAK,CAAC;IAC9B;IAEA,OAAO;MAAE,CAAC,IAAI,CAACA,IAAI,GAAG,IAAI,CAACd,KAAK,KAAK;IAAO,CAAC;EAC/C;;EAEA;AACF;EACE,IAAIe,aAAaA,CAAA,EAAkC;IACjD,IAAI,IAAI,CAACtE,OAAO,CAAC8D,IAAI,CAAEtC,MAAM,IAAKA,MAAM,CAAC+C,mBAAmB,CAAC,EAAE;MAC7D,OAAOC,0BAAe,CAACC,KAAK;IAC9B;IAEA,OAAOD,0BAAe,CAACE,WAAW;EACpC;AACF;AAACC,OAAA,CAAAzF,OAAA,GAAAP,qBAAA","ignoreList":[]}
@@ -1,60 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
4
- Object.defineProperty(exports, "__esModule", {
5
- value: true
6
- });
7
- exports.default = void 0;
8
- var _defineProperty2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/defineProperty"));
9
- var _AttributeModel = _interopRequireDefault(require("./AttributeModel"));
10
- /**
11
- * Password attribute
12
- */
13
- class CaptchaAttributeModel extends _AttributeModel.default {
14
- constructor() {
15
- super(...arguments);
16
- (0, _defineProperty2.default)(this, "_answer", "");
17
- }
18
- /**
19
- */
20
- static isApplicableModel(contributions) {
21
- return contributions.type === "captcha";
22
- }
23
-
24
- /**
25
- */
26
- get type() {
27
- return "captcha";
28
- }
29
-
30
- /**
31
- * Update the attribute by name and value
32
- */
33
- update(value) {
34
- this.updateLastModification();
35
- this.inputvalue = value;
36
- return this;
37
- }
38
-
39
- /**
40
- */
41
- setAnswer(answer) {
42
- this._answer = answer;
43
- }
44
-
45
- /**
46
- * Retrieve the given answer for the captcha
47
- * The value of this attribute is the token id of the captcha
48
- */
49
- getAnswer() {
50
- return this._answer;
51
- }
52
-
53
- /**
54
- */
55
- get hasDynamicValidationData() {
56
- return false;
57
- }
58
- }
59
- exports.default = CaptchaAttributeModel;
60
- //# sourceMappingURL=CaptchaAttributeModel.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CaptchaAttributeModel.cjs","names":["_AttributeModel","_interopRequireDefault","require","CaptchaAttributeModel","AttributeModel","constructor","arguments","_defineProperty2","default","isApplicableModel","contributions","type","update","value","updateLastModification","inputvalue","setAnswer","answer","_answer","getAnswer","hasDynamicValidationData","exports"],"sources":["../../../src/models/attributes/CaptchaAttributeModel.js"],"sourcesContent":["// @flow\nimport AttributeModel from \"./AttributeModel\";\n\n/**\n * Password attribute\n */\nexport default class CaptchaAttributeModel extends AttributeModel {\n _answer: string = \"\";\n\n /**\n */\n static isApplicableModel(contributions: Object): boolean {\n return contributions.type === \"captcha\";\n }\n\n /**\n */\n get type(): string {\n return \"captcha\";\n }\n\n /**\n * Update the attribute by name and value\n */\n update(value: string): this {\n this.updateLastModification();\n this.inputvalue = value;\n\n return this;\n }\n\n /**\n */\n setAnswer(answer: string) {\n this._answer = answer;\n }\n\n /**\n * Retrieve the given answer for the captcha\n * The value of this attribute is the token id of the captcha\n */\n getAnswer(): string {\n return this._answer;\n }\n\n /**\n */\n get hasDynamicValidationData(): boolean {\n return false;\n }\n}\n"],"mappings":";;;;;;;;AACA,IAAAA,eAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA;AACA;AACA;AACe,MAAMC,qBAAqB,SAASC,uBAAc,CAAC;EAAAC,YAAA;IAAA,SAAAC,SAAA;IAAA,IAAAC,gBAAA,CAAAC,OAAA,mBAC9C,EAAE;EAAA;EAEpB;AACF;EACE,OAAOC,iBAAiBA,CAACC,aAAqB,EAAW;IACvD,OAAOA,aAAa,CAACC,IAAI,KAAK,SAAS;EACzC;;EAEA;AACF;EACE,IAAIA,IAAIA,CAAA,EAAW;IACjB,OAAO,SAAS;EAClB;;EAEA;AACF;AACA;EACEC,MAAMA,CAACC,KAAa,EAAQ;IAC1B,IAAI,CAACC,sBAAsB,CAAC,CAAC;IAC7B,IAAI,CAACC,UAAU,GAAGF,KAAK;IAEvB,OAAO,IAAI;EACb;;EAEA;AACF;EACEG,SAASA,CAACC,MAAc,EAAE;IACxB,IAAI,CAACC,OAAO,GAAGD,MAAM;EACvB;;EAEA;AACF;AACA;AACA;EACEE,SAASA,CAAA,EAAW;IAClB,OAAO,IAAI,CAACD,OAAO;EACrB;;EAEA;AACF;EACE,IAAIE,wBAAwBA,CAAA,EAAY;IACtC,OAAO,KAAK;EACd;AACF;AAACC,OAAA,CAAAb,OAAA,GAAAL,qBAAA","ignoreList":[]}