@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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CompositeAttributeModel.js","names":["_AttributeModel","_interopRequireDefault","require","_CompositeAttributeChildCollection","_ConstraintCollection","_RangeConstraint","_MandatoryRangeConstraint","_constants","_exceptions","_NumberAttributeModel","_DatetimeAttributeModel","CompositeAttributeModel","AttributeModel","constructor","data","contributions","modelOptions","_defineProperty2","default","_children","CompositeAttributeChildCollection","create","setChildrenOptionality","isApplicableModel","type","_includes","call","getInitialChildModelLinks","children","setChildModels","models","errors","key","isRange","includes","isRangeAttribute","attribute","NumberAttributeModel","DatetimeAttributeModel","start","all","end","size","getInputValue","hasValue","some","child","constraintCollection","constraints","ConstraintCollection","add","_serverConstraints","addConstraints","setUseClientsideValidation","enabled","_useClientsideValidation","forEach","validate","value","useClientsideValidation","_isValid","startAttribute","endAttribute","allChildsEntered","every","RangeConstraint","mandatory","allChildsOptional","MandatoryRangeConstraint","isValid","hasServerErrors","errorCollection","serverErrors","length","hasErrors","hasItems","reset","getChildByAttribute","_context","_find","equals","getChildByKey","_context2","mergeAttribute","oldAttribute","concept","withChildAttribute","update","changedAttribute","IllegalArgumentException","updateLastModification","updateByAttribute","otherAttribute","otherChild","console","error","childrenAreOptional","configuredMandatory","readonly","readonlyvalue","initvalue","getFormData","name","getValue","getChildrenIds","values","Array","isArray","_map","val","_id","isResult","_isResult","indicateContentConfiguration","contentConfiguration","parentKey","readonlyWidth","ATTRIBUTE_WIDTH","LARGE","EXTRA_LARGE","MEDIUM","_default","exports"],"sources":["../../../src/models/attributes/CompositeAttributeModel.js"],"sourcesContent":["// @flow\nimport AttributeModel from \"./AttributeModel\";\n\nimport CompositeAttributeChildCollection from \"./CompositeAttributeChildCollection\";\nimport ConstraintCollection from \"./input-constraints/ConstraintCollection\";\nimport RangeConstraint from \"./input-constraints/RangeConstraint\";\nimport MandatoryRangeConstraint from \"./input-constraints/MandatoryRangeConstraint\";\n\nimport { ATTRIBUTE_WIDTH } from \"../../constants\";\nimport { IllegalArgumentException } from \"../../exceptions\";\n\nimport NumberAttributeModel from \"./NumberAttributeModel\";\nimport DatetimeAttributeModel from \"./DatetimeAttributeModel\";\n\nimport type { ModularUIModel, AttributeType, ModelOptions } from \"../types\";\nimport type ContentConfiguration from \"../contentconfiguration/ContentConfiguration\";\nimport type LinkModel from \"../links/LinkModel\";\nimport type ErrorResponse from \"../error/ErrorResponse\";\n\n/**\n */\nclass CompositeAttributeModel extends AttributeModel {\n _children: CompositeAttributeChildCollection;\n\n /**\n */\n constructor(\n data: Object,\n contributions: Object,\n modelOptions?: ModelOptions,\n ) {\n super(data, contributions, modelOptions);\n\n this._children = CompositeAttributeChildCollection.create(\n data,\n contributions,\n modelOptions,\n );\n\n this.setChildrenOptionality();\n }\n\n /**\n */\n static isApplicableModel(contributions: Object): boolean {\n const type = contributions?.type;\n return type && (type === \"composite\" || type.includes(\"range\"));\n }\n\n /**\n */\n getInitialChildModelLinks(): Array<LinkModel> {\n return this.children.getInitialChildModelLinks();\n }\n\n /**\n */\n setChildModels(models: Array<ModularUIModel>, errors: Array<ErrorResponse>) {\n this.children.setChildModels(models, errors);\n }\n\n /**\n */\n get type(): string {\n // temp fix for results and given answers on list result detail panel\n if (this.key === \"results\" || this.key === \"givenAnswers\") {\n return \"composite\";\n }\n\n return this.isRange ? \"range\" : \"composite\";\n }\n\n /**\n */\n get isRange(): boolean {\n return this.contributions?.type?.includes(\"range\");\n }\n\n /**\n */\n get children(): CompositeAttributeChildCollection {\n return this._children;\n }\n\n /**\n */\n set children(children: CompositeAttributeChildCollection) {\n this._children = children;\n }\n\n /**\n */\n isRangeAttribute(attribute: AttributeType): boolean {\n return (\n attribute instanceof NumberAttributeModel ||\n attribute instanceof DatetimeAttributeModel\n );\n }\n\n /**\n */\n get start(): AttributeType | null {\n return this.children.all[0];\n }\n\n /**\n */\n get end(): AttributeType {\n return this.children.all[this.children.size - 1];\n }\n\n /**\n * Get input value of attribute\n */\n getInputValue(): string {\n return this.children.getInputValue();\n }\n\n /**\n * Check if at least one child has value\n */\n hasValue(): boolean {\n return this.children.some((child) => child.hasValue());\n }\n\n /**\n */\n get constraintCollection(): ConstraintCollection {\n const constraints = new ConstraintCollection();\n\n constraints.add(this._serverConstraints);\n constraints.add(this.addConstraints());\n\n return constraints;\n }\n\n /**\n * Used to programmatically overwrite the setting USE_CLIENTSIDE_VALIDATION\n */\n setUseClientsideValidation(enabled: boolean) {\n super._useClientsideValidation = enabled;\n\n this.children.all.forEach((child) =>\n child.setUseClientsideValidation(enabled),\n );\n }\n\n /**\n * Validate input\n */\n // eslint-disable-next-line no-unused-vars\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 this._isValid = this.children.validate();\n\n if (this._isValid) {\n this._isValid = this.constraintCollection.validate();\n }\n\n return this._isValid;\n }\n\n /**\n * Add Date constraints for attribute\n */\n addConstraints(): ConstraintCollection {\n const constraints = new ConstraintCollection();\n\n const startAttribute = this.start;\n const endAttribute = this.end;\n if (this.isRange && startAttribute != null && endAttribute != null) {\n const allChildsEntered = this.children.every((child) => child.hasValue());\n if (allChildsEntered) {\n constraints.add(new RangeConstraint(startAttribute, endAttribute));\n }\n }\n\n if (this.isRange && this.mandatory && startAttribute !== null) {\n const allChildsOptional = this.children.every(\n (child) => !child.mandatory,\n );\n if (allChildsOptional) {\n constraints.add(\n new MandatoryRangeConstraint(startAttribute.type, this.children),\n );\n }\n }\n\n return constraints;\n }\n\n /**\n * Indicates if attribute input is valid\n */\n get isValid(): boolean {\n return this.validate(\"\");\n }\n\n /**\n */\n hasServerErrors(): boolean {\n return (\n this.errorCollection.serverErrors.length > 0 ||\n this.children.some((child) => child.hasServerErrors())\n );\n }\n\n /**\n */\n hasErrors(): boolean {\n return (\n this.errorCollection.hasItems ||\n this.children.some((child) => child.hasErrors())\n );\n }\n\n /**\n * Reset attribute to empty string\n */\n reset() {\n this.children.reset();\n }\n\n /**\n */\n getChildByAttribute(attribute: AttributeType): ?AttributeType {\n return this.children.find((child) => {\n if (child.equals(attribute)) {\n return true;\n } else if (child instanceof CompositeAttributeModel) {\n return child.getChildByAttribute(attribute);\n }\n\n return false;\n });\n }\n\n /**\n */\n getChildByKey(key: string): ?AttributeType {\n return (\n this.children.find((child) => {\n if (child.key === key) {\n return true;\n } else if (child instanceof CompositeAttributeModel) {\n return child.getChildByKey(key);\n }\n\n return false;\n }) || null\n );\n }\n\n /**\n */\n mergeAttribute(oldAttribute: AttributeType) {\n this.concept = oldAttribute.concept;\n\n this.children.forEach((child) => {\n if (oldAttribute instanceof CompositeAttributeModel) {\n const withChildAttribute = oldAttribute.getChildByKey(child.key);\n if (withChildAttribute) {\n child.mergeAttribute(withChildAttribute);\n }\n }\n });\n }\n\n /**\n */\n update(\n value: string,\n changedAttribute: ?AttributeType,\n ): CompositeAttributeModel {\n if (!changedAttribute) {\n throw new IllegalArgumentException(\n \"Composite attribute needs changed attribute on update call\",\n );\n }\n\n this.updateLastModification();\n\n this.children.forEach((child) => {\n if (child instanceof CompositeAttributeModel) {\n child.update(value, changedAttribute);\n } else if (child.equals(changedAttribute)) {\n child.update(value);\n }\n });\n\n this.setChildrenOptionality();\n\n this.validate(value);\n\n return this;\n }\n\n /**\n */\n updateByAttribute(otherAttribute: AttributeType): void {\n if (otherAttribute instanceof CompositeAttributeModel) {\n otherAttribute.children.forEach((otherChild) => {\n const child = this.getChildByAttribute(otherChild);\n if (child) {\n child.updateByAttribute(otherChild);\n }\n });\n } else {\n console.error(\n `update of composite attribute with ${otherAttribute.type} not supported`,\n );\n }\n }\n\n /**\n */\n setChildrenOptionality() {\n const childrenAreOptional =\n !this.mandatory && this.children.every((child) => child.value === null);\n\n this.children.forEach((child) => {\n child.mandatory =\n childrenAreOptional || !child.configuredMandatory\n ? false\n : child.configuredMandatory;\n });\n }\n\n /**\n */\n get readonly(): boolean {\n return super.readonly || this.children.every((child) => child.readonly);\n }\n\n /**\n */\n set readonly(readonly: boolean) {\n super.readonly = readonly;\n }\n\n /**\n */\n get readonlyvalue(): string {\n return this.children.readonlyvalue;\n }\n\n /**\n */\n get initvalue(): any {\n return this.children.initvalue;\n }\n\n /**\n */\n getFormData(): { [string]: any } | null {\n return { [this.name]: this.value };\n }\n\n /**\n */\n getValue(): any {\n return this.children.value;\n }\n\n /**\n */\n getChildrenIds(): Array<string> {\n const values = this.data.value;\n if (Array.isArray(values)) {\n return values.map((val) => val._id);\n } else if (values != null) {\n return [values._id];\n }\n return [];\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 this.children.forEach((child) => {\n child.isResult = isResult;\n });\n }\n\n /**\n */\n indicateContentConfiguration(contentConfiguration: ContentConfiguration) {\n if (contentConfiguration) {\n this.children.forEach((child) => {\n child.indicateContentConfiguration(contentConfiguration);\n });\n }\n }\n\n /**\n */\n equals(otherAttribute: AttributeType): boolean {\n return (\n (this.key === otherAttribute.key &&\n this.parentKey === otherAttribute.parentKey) ||\n this.children.some(\n //$FlowFixMe[method-unbinding]\n (child) => child.equals && child.equals(otherAttribute),\n )\n );\n }\n\n /**\n */\n get readonlyWidth(): $Keys<typeof ATTRIBUTE_WIDTH> {\n if (this.type === \"composite\") {\n return ATTRIBUTE_WIDTH.LARGE;\n }\n\n // range\n switch (this.start?.type) {\n case \"datetime\":\n return ATTRIBUTE_WIDTH.LARGE;\n case \"timestamp\":\n return ATTRIBUTE_WIDTH.EXTRA_LARGE;\n default:\n return ATTRIBUTE_WIDTH.MEDIUM;\n }\n }\n}\n\nexport default CompositeAttributeModel;\n"],"mappings":";;;;;;;;;;;AACA,IAAAA,eAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAAC,kCAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,qBAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,gBAAA,GAAAJ,sBAAA,CAAAC,OAAA;AACA,IAAAI,yBAAA,GAAAL,sBAAA,CAAAC,OAAA;AAEA,IAAAK,UAAA,GAAAL,OAAA;AACA,IAAAM,WAAA,GAAAN,OAAA;AAEA,IAAAO,qBAAA,GAAAR,sBAAA,CAAAC,OAAA;AACA,IAAAQ,uBAAA,GAAAT,sBAAA,CAAAC,OAAA;AAOA;AACA;AACA,MAAMS,uBAAuB,SAASC,uBAAc,CAAC;EAGnD;AACF;EACEC,WAAWA,CACTC,IAAY,EACZC,aAAqB,EACrBC,YAA2B,EAC3B;IACA,KAAK,CAACF,IAAI,EAAEC,aAAa,EAAEC,YAAY,CAAC;IAAC,IAAAC,gBAAA,CAAAC,OAAA;IAEzC,IAAI,CAACC,SAAS,GAAGC,0CAAiC,CAACC,MAAM,CACvDP,IAAI,EACJC,aAAa,EACbC,YACF,CAAC;IAED,IAAI,CAACM,sBAAsB,CAAC,CAAC;EAC/B;;EAEA;AACF;EACE,OAAOC,iBAAiBA,CAACR,aAAqB,EAAW;IACvD,MAAMS,IAAI,GAAGT,aAAa,EAAES,IAAI;IAChC,OAAOA,IAAI,KAAKA,IAAI,KAAK,WAAW,IAAI,IAAAC,SAAA,CAAAP,OAAA,EAAAM,IAAI,E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AW;QACd,OAAOD,0BAAe,CAACE,WAAW;MACpC;QACE,OAAOF,0BAAe,CAACG,MAAM;IACjC;EACF;AACF;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAxG,OAAA,GAEcP,uBAAuB","ignoreList":[]}
@@ -0,0 +1,465 @@
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 _includes = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/includes"));
9
+ var _trim = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/trim"));
10
+ var _set = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/set"));
11
+ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/defineProperty"));
12
+ var _objects = require("../../utils/helpers/objects");
13
+ var _DateTimeUtil = require("../../utils/datetime/DateTimeUtil");
14
+ var _StringAttributeModel = _interopRequireDefault(require("./StringAttributeModel"));
15
+ var _ConstraintCollection = _interopRequireDefault(require("./input-constraints/ConstraintCollection"));
16
+ var _DateTimeDateFormatConstraint = _interopRequireDefault(require("./input-constraints/DateTimeDateFormatConstraint"));
17
+ var _DateTimeTimeFormatConstraint = _interopRequireDefault(require("./input-constraints/DateTimeTimeFormatConstraint"));
18
+ var _DatetimeFormatConstraint = _interopRequireDefault(require("./input-constraints/DatetimeFormatConstraint"));
19
+ var _DateBoundaryConstraint = _interopRequireDefault(require("./input-constraints/DateBoundaryConstraint"));
20
+ var _constants = require("../../constants");
21
+ /**
22
+ */
23
+ class DatetimeAttributeModel extends _StringAttributeModel.default {
24
+ /**
25
+ */
26
+ constructor(attribute, attributeContributions, modelOptions) {
27
+ super(attribute, attributeContributions, modelOptions);
28
+ (0, _defineProperty2.default)(this, "_dateInputFormat", void 0);
29
+ (0, _defineProperty2.default)(this, "_timeInputFormat", void 0);
30
+ this.updateInitValue();
31
+ }
32
+
33
+ /**
34
+ */
35
+ static isApplicableModel(contributions) {
36
+ var _context;
37
+ return (0, _includes.default)(_context = ["date", "time", "datetime", "timestamp"]).call(_context, contributions.type);
38
+ }
39
+
40
+ /**
41
+ */
42
+ get formatUtil() {
43
+ switch (this.type) {
44
+ case "time":
45
+ return _DateTimeUtil.TimeUtil;
46
+ case "timestamp":
47
+ return _DateTimeUtil.TimestampUtil;
48
+ case "datetime":
49
+ return _DateTimeUtil.DateTimeUtil;
50
+ default:
51
+ return _DateTimeUtil.DateUtil;
52
+ }
53
+ }
54
+
55
+ /**
56
+ */
57
+ getInitValue() {
58
+ let value = this.data.value;
59
+ if (value != null) {
60
+ if (this.type === "time" && value.length === 5) {
61
+ value = `${value}:00`;
62
+ }
63
+
64
+ // handle old datetime values, which contained ms
65
+ if (this.type === "datetime" && (0, _includes.default)(value).call(value, ".")) {
66
+ value = _DateTimeUtil.TimestampUtil.toFormat(value, _DateTimeUtil.DateTimeUtil.getIsoFormat());
67
+ } else {
68
+ value = this.formatUtil.toISO(value);
69
+ }
70
+ if (this.hasTime) {
71
+ value = this.getTimeValue(value);
72
+ }
73
+ }
74
+ return value;
75
+ }
76
+
77
+ /**
78
+ */
79
+ getTimeValue(value) {
80
+ var _context2, _context3, _context4, _context5;
81
+ let timeValue = value;
82
+ if (!(0, _includes.default)(_context2 = this.timeInputFormat.toLowerCase()).call(_context2, "h")) {
83
+ timeValue = this.formatUtil.setHour(value, 0);
84
+ }
85
+ if (!(0, _includes.default)(_context3 = this.timeInputFormat).call(_context3, "m")) {
86
+ timeValue = this.formatUtil.setMinute(value, 0);
87
+ }
88
+ if (!(0, _includes.default)(_context4 = this.timeInputFormat).call(_context4, "s")) {
89
+ timeValue = this.formatUtil.setSecond(value, 0);
90
+ }
91
+ if (this.type === "timestamp" && !(0, _includes.default)(_context5 = this.timeInputFormat).call(_context5, "S")) {
92
+ timeValue = this.formatUtil.setMilliseconds(value, 0);
93
+ }
94
+ if ((0, _constants.isIncludeTimeOffsetInDateTimes)()) {
95
+ // https://github.com/date-fns/date-fns/issues/3579
96
+ const oldOffset = this.formatUtil.toFormat(value, _constants.DATETIME_OFFSET_FORMAT);
97
+ const newOffset = this.formatUtil.toFormat(timeValue, _constants.DATETIME_OFFSET_FORMAT);
98
+ timeValue = timeValue.replace(newOffset, oldOffset);
99
+ }
100
+ return timeValue;
101
+ }
102
+
103
+ /**
104
+ * Set time in the correct value based on available elements in the time format
105
+ */
106
+ updateInitValue() {
107
+ const value = this.getInitValue();
108
+ if (value != null) {
109
+ this._initvalue = value;
110
+ this._inputvalue = this.getInitialInputValue(value);
111
+ this._value = value;
112
+ }
113
+ }
114
+
115
+ /**
116
+ * Get initial user input value
117
+ */
118
+ getInitialInputValue(value) {
119
+ if (!value) {
120
+ return "";
121
+ }
122
+ let initValue = value;
123
+ if (this.type === "time" && value.length === 5) {
124
+ initValue = `${value}:00`;
125
+ }
126
+ return this.formatUtil.toFormat(initValue, this.inputFormat);
127
+ }
128
+
129
+ /**
130
+ * Set type to date
131
+ */
132
+ get type() {
133
+ return this.getContribution("type", "date");
134
+ }
135
+
136
+ /**
137
+ * Returns the value as entered by the user. This can differ from the internal iso value that is stored
138
+ */
139
+ getInputValue() {
140
+ return this._inputvalue ? this._inputvalue.toString() : "";
141
+ }
142
+
143
+ /**
144
+ * Get input value
145
+ */
146
+ get inputvalue() {
147
+ return this.getInputValue();
148
+ }
149
+
150
+ /**
151
+ * Sets the input value to the value entered by the user
152
+ */
153
+ set inputvalue(value) {
154
+ this.validate(value);
155
+ this._inputvalue = value;
156
+ this.value = value !== null && value !== "" ? this.formatUtil.toISO(value, this.inputFormat) : null;
157
+ }
158
+
159
+ /**
160
+ * Get date format
161
+ */
162
+ get format() {
163
+ const format = this.getContribution("format", "");
164
+ return this.formatUtil.convertFormat(format);
165
+ }
166
+
167
+ /**
168
+ */
169
+ get hasDate() {
170
+ return this.type === "date" || this.type === "datetime" || this.type === "timestamp";
171
+ }
172
+
173
+ /**
174
+ */
175
+ get hasTime() {
176
+ return this.type === "time" || this.type === "datetime" || this.type === "timestamp";
177
+ }
178
+
179
+ /**
180
+ */
181
+ get formatLabel() {
182
+ switch (this.type) {
183
+ case "date":
184
+ return this.dateInputFormat.toLowerCase();
185
+ case "time":
186
+ return this.timeInputFormat.toLowerCase();
187
+ default:
188
+ return this.format.toLowerCase();
189
+ }
190
+ }
191
+
192
+ /**
193
+ */
194
+ get inputFormatWithoutOffset() {
195
+ if (this.hasDate && this.hasTime) {
196
+ var _context6;
197
+ return (0, _trim.default)(_context6 = `${this.dateInputFormat} ${this.timeInputFormat}`).call(_context6);
198
+ }
199
+ if (this.hasDate) {
200
+ return this.dateInputFormat;
201
+ }
202
+ if (this.hasTime) {
203
+ return this.timeInputFormat;
204
+ }
205
+ return "";
206
+ }
207
+
208
+ /**
209
+ */
210
+ get inputFormat() {
211
+ if ((0, _constants.isIncludeTimeOffsetInDateTimes)() && this.dateInputFormat !== "" && this.timeInputFormat !== "") {
212
+ return `${this.inputFormatWithoutOffset} ${_constants.DATETIME_OFFSET_FORMAT}`;
213
+ }
214
+ return this.inputFormatWithoutOffset;
215
+ }
216
+
217
+ /**
218
+ */
219
+ extractDateInputFormat() {
220
+ const dateEraChars = new _set.default("yMLdQDEewGu");
221
+ const timeOffsetChars = new _set.default("HhaKmsSZzXxO");
222
+ const format = this.format;
223
+ let inputFormat = "";
224
+ let isInQuotes = false;
225
+ let keep = false;
226
+ for (let i = 0; i < format.length; i++) {
227
+ const prevChar = i > 0 ? format[i - 1] : "";
228
+ const nextChar = i < format.length ? format[i + 1] : "";
229
+ const char = format[i];
230
+ if (char === "'") {
231
+ isInQuotes = prevChar === "'" || nextChar === "'" || !isInQuotes;
232
+ } else if (!isInQuotes && dateEraChars.has(char)) {
233
+ keep = true;
234
+ } else if (!isInQuotes && timeOffsetChars.has(char)) {
235
+ keep = false;
236
+ }
237
+ if (keep) {
238
+ inputFormat += char;
239
+ }
240
+ }
241
+ return (0, _trim.default)(inputFormat).call(inputFormat);
242
+ }
243
+
244
+ /**
245
+ */
246
+ get dateInputFormat() {
247
+ if (!this.hasDate) {
248
+ return "";
249
+ }
250
+ if (!this._dateInputFormat) {
251
+ this._dateInputFormat = this.extractDateInputFormat();
252
+ }
253
+ return this._dateInputFormat;
254
+ }
255
+
256
+ /**
257
+ */
258
+ get dateReadonlyFormat() {
259
+ var _context7;
260
+ if (!this.hasDate) {
261
+ return "";
262
+ }
263
+ return this.hasTime ? (0, _trim.default)(_context7 = this.format.replace(this.timeInputFormat, "")).call(_context7) : this.format;
264
+ }
265
+
266
+ /**
267
+ * return attribute placeholder or return formatlabel without time input format from contributions
268
+ */
269
+ get placeholder() {
270
+ if (this._placeholder !== "") {
271
+ return this._placeholder;
272
+ }
273
+ const formatLabel = this.getContribution("formatlabel", "");
274
+ if (this.hasDate && this.hasTime && (0, _includes.default)(formatLabel).call(formatLabel, " ")) {
275
+ // return first part of formatlabel to keep placeholder matching date input
276
+ return formatLabel.split(" ")[0];
277
+ }
278
+ return formatLabel;
279
+ }
280
+
281
+ /**
282
+ * Set placeholder text
283
+ */
284
+ set placeholder(placeholder) {
285
+ this._placeholder = placeholder;
286
+ }
287
+
288
+ /**
289
+ */
290
+ get timeInputFormat() {
291
+ if (!this.hasTime) {
292
+ return "";
293
+ }
294
+ if (this._timeInputFormat) {
295
+ return this._timeInputFormat;
296
+ }
297
+ const format = this.format;
298
+ let timeFormatParts = [];
299
+ if ((0, _includes.default)(format).call(format, "H")) {
300
+ timeFormatParts.push("HH");
301
+ } else if ((0, _includes.default)(format).call(format, "h")) {
302
+ timeFormatParts.push("hh");
303
+ }
304
+ if ((0, _includes.default)(format).call(format, "m")) {
305
+ timeFormatParts.push("mm");
306
+ }
307
+ if ((0, _includes.default)(format).call(format, "s")) {
308
+ timeFormatParts.push("ss");
309
+ }
310
+ let timeFormat = timeFormatParts.join(":");
311
+ if ((0, _includes.default)(format).call(format, "S")) {
312
+ timeFormat = `${timeFormat}.SSS`;
313
+ }
314
+ if ((0, _includes.default)(format).call(format, "a")) {
315
+ timeFormat = `${timeFormat} a`;
316
+ }
317
+ this._timeInputFormat = timeFormat;
318
+ return this._timeInputFormat;
319
+ }
320
+
321
+ /**
322
+ */
323
+ get timeReadonlyFormat() {
324
+ if (!this.hasTime) {
325
+ return "";
326
+ }
327
+ return this.timeInputFormat;
328
+ }
329
+
330
+ /**
331
+ */
332
+ get dateInputValue() {
333
+ return typeof this.value === "string" && this.dateInputFormat !== "" ? this.formatUtil.toFormat(this.value, this.dateInputFormat) : "";
334
+ }
335
+
336
+ /**
337
+ */
338
+ get timeInputValue() {
339
+ return typeof this.value === "string" && this.timeInputFormat !== "" ? this.formatUtil.toFormat(this.value, this.timeInputFormat) : "";
340
+ }
341
+
342
+ /**
343
+ * format value in readonly rendering
344
+ */
345
+ formatValue(value) {
346
+ if (value == null || value.toString() === "") {
347
+ return "";
348
+ }
349
+
350
+ // when the value is exactly an iso date, render as date
351
+ if ((this.type === "datetime" || this.type === "timestamp") && _DateTimeUtil.DateUtil.hasFormat(value, _constants.ISO_DATE_FORMAT)) {
352
+ return _DateTimeUtil.DateUtil.toFormat(value, this.dateReadonlyFormat);
353
+ }
354
+ return this.formatUtil.toFormat(value, this.format);
355
+ }
356
+
357
+ /**
358
+ * Retrieve readonly value, the date in the configurated format
359
+ */
360
+ get readonlyvalue() {
361
+ if (typeof this.value === "string") {
362
+ return this.formatValue(this.value.toString());
363
+ }
364
+ return "";
365
+ }
366
+
367
+ /**
368
+ */
369
+ get isAmbiguous() {
370
+ if (typeof this.value === "string") {
371
+ return this.formatUtil.isAmbiguous(this.value);
372
+ }
373
+ return false;
374
+ }
375
+
376
+ /**
377
+ */
378
+ get offset() {
379
+ if (typeof this.value === "string") {
380
+ return this.formatUtil.getOffset(this.value);
381
+ }
382
+ return null;
383
+ }
384
+
385
+ /**
386
+ * Get minimum date
387
+ */
388
+ get mindate() {
389
+ return this.getContribution("mindate");
390
+ }
391
+
392
+ /**
393
+ * Get maximum date
394
+ */
395
+ get maxdate() {
396
+ return this.getContribution("maxdate");
397
+ }
398
+
399
+ /**
400
+ * Registers an error that was received from a server response
401
+ */
402
+ addServerError(error) {
403
+ const {
404
+ id,
405
+ message,
406
+ properties,
407
+ layouthint
408
+ } = error;
409
+ if (properties && (0, _objects.has)(properties, "format") && this.formatLabel) {
410
+ properties.format = this.formatLabel;
411
+ }
412
+ this._errorCollection.addServerError(id, message, properties, layouthint);
413
+ }
414
+
415
+ /**
416
+ */
417
+ getFormatConstraint() {
418
+ switch (this.type) {
419
+ case "date":
420
+ return new _DateTimeDateFormatConstraint.default(this.dateInputFormat, this.formatLabel);
421
+ case "time":
422
+ return new _DateTimeTimeFormatConstraint.default(this.timeInputFormat, this.formatLabel);
423
+ default:
424
+ return new _DatetimeFormatConstraint.default(this.type, this.inputFormat, this.formatLabel);
425
+ }
426
+ }
427
+
428
+ /**
429
+ * Add Date constraints for attribute
430
+ */
431
+ addConstraints() {
432
+ const constraints = new _ConstraintCollection.default();
433
+ constraints.add(this.getFormatConstraint());
434
+ if (this.mindate || this.maxdate) {
435
+ constraints.add(new _DateBoundaryConstraint.default(this.type, this.mindate, this.maxdate, this.inputFormat));
436
+ }
437
+ return constraints;
438
+ }
439
+
440
+ /**
441
+ */
442
+ get readonlyWidth() {
443
+ if (this.type === "date" || this.type === "time") {
444
+ return _constants.ATTRIBUTE_WIDTH.SMALL;
445
+ }
446
+ return _constants.ATTRIBUTE_WIDTH.MEDIUM;
447
+ }
448
+
449
+ /**
450
+ */
451
+ updateByAttribute(otherAttribute) {
452
+ this.reset();
453
+ if (otherAttribute instanceof DatetimeAttributeModel) {
454
+ const otherValue = otherAttribute.value;
455
+ if (otherValue != null) {
456
+ const inputValue = this.formatUtil.toFormat(otherValue, this.inputFormat);
457
+ this.update(inputValue);
458
+ }
459
+ } else {
460
+ console.error(`update of datetime attribute with ${otherAttribute.type} not supported`);
461
+ }
462
+ }
463
+ }
464
+ var _default = exports.default = DatetimeAttributeModel;
465
+ //# sourceMappingURL=DatetimeAttributeModel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DatetimeAttributeModel.js","names":["_objects","require","_DateTimeUtil","_StringAttributeModel","_interopRequireDefault","_ConstraintCollection","_DateTimeDateFormatConstraint","_DateTimeTimeFormatConstraint","_DatetimeFormatConstraint","_DateBoundaryConstraint","_constants","DatetimeAttributeModel","StringAttributeModel","constructor","attribute","attributeContributions","modelOptions","_defineProperty2","default","updateInitValue","isApplicableModel","contributions","_context","_includes","call","type","formatUtil","TimeUtil","TimestampUtil","DateTimeUtil","DateUtil","getInitValue","value","data","length","toFormat","getIsoFormat","toISO","hasTime","getTimeValue","_context2","_context3","_context4","_context5","timeValue","timeInputFormat","toLowerCase","setHour","setMinute","setSecond","setMilliseconds","isIncludeTimeOffsetInDateTimes","oldOffset","DATETIME_OFFSET_FORMAT","newOffset","replace","_initvalue","_inputvalue","getInitialInputValue","_value","initValue","inputFormat","getContribution","getInputValue","toString","inputvalue","validate","format","convertFormat","hasDate","formatLabel","dateInputFormat","inputFormatWithoutOffset","_context6","_trim","extractDateInputFormat","dateEraChars","_set","timeOffsetChars","isInQuotes","keep","i","prevChar","nextChar","char","has","_dateInputFormat","dateReadonlyFormat","_context7","placeholder","_placeholder","split","_timeInputFormat","timeFormatParts","push","timeFormat","join","timeReadonlyFormat","dateInputValue","timeInputValue","formatValue","hasFormat","ISO_DATE_FORMAT","readonlyvalue","isAmbiguous","offset","getOffset","mindate","maxdate","addServerError","error","id","message","properties","layouthint","_errorCollection","getFormatConstraint","DateTimeDateFormatConstraint","DateTimeTimeFormatConstraint","DatetimeFormatConstraint","addConstraints","constraints","ConstraintCollection","add","DateBoundaryConstraint","readonlyWidth","ATTRIBUTE_WIDTH","SMALL","MEDIUM","updateByAttribute","otherAttribute","reset","otherValue","inputValue","update","console","_default","exports"],"sources":["../../../src/models/attributes/DatetimeAttributeModel.js"],"sourcesContent":["// @flow\nimport { has } from \"../../utils/helpers/objects\";\n\nimport {\n DateUtil,\n DateTimeUtil,\n TimeUtil,\n TimestampUtil,\n} from \"../../utils/datetime/DateTimeUtil\";\n\nimport StringAttributeModel from \"./StringAttributeModel\";\n\nimport ConstraintCollection from \"./input-constraints/ConstraintCollection\";\nimport DateTimeDateFormatConstraint from \"./input-constraints/DateTimeDateFormatConstraint\";\nimport DateTimeTimeFormatConstraint from \"./input-constraints/DateTimeTimeFormatConstraint\";\nimport DatetimeFormatConstraint from \"./input-constraints/DatetimeFormatConstraint\";\nimport DateBoundaryConstraint from \"./input-constraints/DateBoundaryConstraint\";\n\nimport {\n isIncludeTimeOffsetInDateTimes,\n ATTRIBUTE_WIDTH,\n DATETIME_OFFSET_FORMAT,\n ISO_DATE_FORMAT,\n} from \"../../constants\";\n\nimport type {\n FormErrorAnchor,\n IConstraintModel,\n AttributeType,\n ModelOptions,\n} from \"../types\";\nimport type { OffsetInfo } from \"../../utils/datetime/DateTimeUtil\";\n\n/**\n */\nclass DatetimeAttributeModel extends StringAttributeModel {\n _dateInputFormat: ?string;\n _timeInputFormat: ?string;\n\n /**\n */\n constructor(\n attribute: Object,\n attributeContributions: Object,\n modelOptions?: ModelOptions,\n ) {\n super(attribute, attributeContributions, modelOptions);\n\n this.updateInitValue();\n }\n\n /**\n */\n static isApplicableModel(contributions: Object): boolean {\n return [\"date\", \"time\", \"datetime\", \"timestamp\"].includes(\n contributions.type,\n );\n }\n\n /**\n */\n get formatUtil():\n | typeof TimeUtil\n | typeof TimestampUtil\n | typeof DateTimeUtil\n | typeof DateUtil {\n switch (this.type) {\n case \"time\":\n return TimeUtil;\n case \"timestamp\":\n return TimestampUtil;\n case \"datetime\":\n return DateTimeUtil;\n default:\n return DateUtil;\n }\n }\n\n /**\n */\n getInitValue(): string | null {\n let value = this.data.value;\n if (value != null) {\n if (this.type === \"time\" && value.length === 5) {\n value = `${value}:00`;\n }\n\n // handle old datetime values, which contained ms\n if (this.type === \"datetime\" && value.includes(\".\")) {\n value = TimestampUtil.toFormat(value, DateTimeUtil.getIsoFormat());\n } else {\n value = this.formatUtil.toISO(value);\n }\n\n if (this.hasTime) {\n value = this.getTimeValue(value);\n }\n }\n\n return value;\n }\n\n /**\n */\n getTimeValue(value: string): string {\n let timeValue = value;\n if (!this.timeInputFormat.toLowerCase().includes(\"h\")) {\n timeValue = this.formatUtil.setHour(value, 0);\n }\n if (!this.timeInputFormat.includes(\"m\")) {\n timeValue = this.formatUtil.setMinute(value, 0);\n }\n if (!this.timeInputFormat.includes(\"s\")) {\n timeValue = this.formatUtil.setSecond(value, 0);\n }\n if (this.type === \"timestamp\" && !this.timeInputFormat.includes(\"S\")) {\n timeValue = this.formatUtil.setMilliseconds(value, 0);\n }\n\n if (isIncludeTimeOffsetInDateTimes()) {\n // https://github.com/date-fns/date-fns/issues/3579\n const oldOffset = this.formatUtil.toFormat(value, DATETIME_OFFSET_FORMAT);\n const newOffset = this.formatUtil.toFormat(\n timeValue,\n DATETIME_OFFSET_FORMAT,\n );\n timeValue = timeValue.replace(newOffset, oldOffset);\n }\n\n return timeValue;\n }\n\n /**\n * Set time in the correct value based on available elements in the time format\n */\n updateInitValue() {\n const value = this.getInitValue();\n if (value != null) {\n this._initvalue = value;\n this._inputvalue = this.getInitialInputValue(value);\n this._value = value;\n }\n }\n\n /**\n * Get initial user input value\n */\n getInitialInputValue(value?: string): string {\n if (!value) {\n return \"\";\n }\n\n let initValue = value;\n if (this.type === \"time\" && value.length === 5) {\n initValue = `${value}:00`;\n }\n\n return this.formatUtil.toFormat(initValue, this.inputFormat);\n }\n\n /**\n * Set type to date\n */\n get type(): string {\n return this.getContribution(\"type\", \"date\");\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 getInputValue(): string {\n return this._inputvalue ? this._inputvalue.toString() : \"\";\n }\n\n /**\n * Get input value\n */\n get inputvalue(): string {\n return this.getInputValue();\n }\n\n /**\n * Sets the input value to the value entered by the user\n */\n set inputvalue(value: string) {\n this.validate(value);\n\n this._inputvalue = value;\n\n this.value =\n value !== null && value !== \"\"\n ? this.formatUtil.toISO(value, this.inputFormat)\n : null;\n }\n\n /**\n * Get date format\n */\n get format(): string {\n const format = this.getContribution(\"format\", \"\");\n return this.formatUtil.convertFormat(format);\n }\n\n /**\n */\n get hasDate(): boolean {\n return (\n this.type === \"date\" ||\n this.type === \"datetime\" ||\n this.type === \"timestamp\"\n );\n }\n\n /**\n */\n get hasTime(): boolean {\n return (\n this.type === \"time\" ||\n this.type === \"datetime\" ||\n this.type === \"timestamp\"\n );\n }\n\n /**\n */\n get formatLabel(): string {\n switch (this.type) {\n case \"date\":\n return this.dateInputFormat.toLowerCase();\n case \"time\":\n return this.timeInputFormat.toLowerCase();\n default:\n return this.format.toLowerCase();\n }\n }\n\n /**\n */\n get inputFormatWithoutOffset(): string {\n if (this.hasDate && this.hasTime) {\n return `${this.dateInputFormat} ${this.timeInputFormat}`.trim();\n }\n\n if (this.hasDate) {\n return this.dateInputFormat;\n }\n\n if (this.hasTime) {\n return this.timeInputFormat;\n }\n\n return \"\";\n }\n\n /**\n */\n get inputFormat(): string {\n if (\n isIncludeTimeOffsetInDateTimes() &&\n this.dateInputFormat !== \"\" &&\n this.timeInputFormat !== \"\"\n ) {\n return `${this.inputFormatWithoutOffset} ${DATETIME_OFFSET_FORMAT}`;\n }\n return this.inputFormatWithoutOffset;\n }\n\n /**\n */\n extractDateInputFormat(): string {\n const dateEraChars = new Set(\"yMLdQDEewGu\");\n const timeOffsetChars = new Set(\"HhaKmsSZzXxO\");\n\n const format = this.format;\n let inputFormat = \"\";\n\n let isInQuotes = false;\n let keep = false;\n\n for (let i = 0; i < format.length; i++) {\n const prevChar = i > 0 ? format[i - 1] : \"\";\n const nextChar = i < format.length ? format[i + 1] : \"\";\n const char = format[i];\n\n if (char === \"'\") {\n isInQuotes = prevChar === \"'\" || nextChar === \"'\" || !isInQuotes;\n } else if (!isInQuotes && dateEraChars.has(char)) {\n keep = true;\n } else if (!isInQuotes && timeOffsetChars.has(char)) {\n keep = false;\n }\n\n if (keep) {\n inputFormat += char;\n }\n }\n\n return inputFormat.trim();\n }\n\n /**\n */\n get dateInputFormat(): string {\n if (!this.hasDate) {\n return \"\";\n }\n\n if (!this._dateInputFormat) {\n this._dateInputFormat = this.extractDateInputFormat();\n }\n\n return this._dateInputFormat;\n }\n\n /**\n */\n get dateReadonlyFormat(): string {\n if (!this.hasDate) {\n return \"\";\n }\n\n return this.hasTime\n ? this.format.replace(this.timeInputFormat, \"\").trim()\n : this.format;\n }\n\n /**\n * return attribute placeholder or return formatlabel without time input format from contributions\n */\n get placeholder(): string {\n if (this._placeholder !== \"\") {\n return this._placeholder;\n }\n\n const formatLabel = this.getContribution(\"formatlabel\", \"\");\n\n if (this.hasDate && this.hasTime && formatLabel.includes(\" \")) {\n // return first part of formatlabel to keep placeholder matching date input\n return formatLabel.split(\" \")[0];\n }\n\n return formatLabel;\n }\n\n /**\n * Set placeholder text\n */\n set placeholder(placeholder: string) {\n this._placeholder = placeholder;\n }\n\n /**\n */\n get timeInputFormat(): string {\n if (!this.hasTime) {\n return \"\";\n }\n\n if (this._timeInputFormat) {\n return this._timeInputFormat;\n }\n\n const format = this.format;\n\n let timeFormatParts = [];\n if (format.includes(\"H\")) {\n timeFormatParts.push(\"HH\");\n } else if (format.includes(\"h\")) {\n timeFormatParts.push(\"hh\");\n }\n if (format.includes(\"m\")) {\n timeFormatParts.push(\"mm\");\n }\n if (format.includes(\"s\")) {\n timeFormatParts.push(\"ss\");\n }\n\n let timeFormat = timeFormatParts.join(\":\");\n if (format.includes(\"S\")) {\n timeFormat = `${timeFormat}.SSS`;\n }\n if (format.includes(\"a\")) {\n timeFormat = `${timeFormat} a`;\n }\n\n this._timeInputFormat = timeFormat;\n return this._timeInputFormat;\n }\n\n /**\n */\n get timeReadonlyFormat(): string {\n if (!this.hasTime) {\n return \"\";\n }\n\n return this.timeInputFormat;\n }\n\n /**\n */\n get dateInputValue(): string {\n return typeof this.value === \"string\" && this.dateInputFormat !== \"\"\n ? this.formatUtil.toFormat(this.value, this.dateInputFormat)\n : \"\";\n }\n\n /**\n */\n get timeInputValue(): string {\n return typeof this.value === \"string\" && this.timeInputFormat !== \"\"\n ? this.formatUtil.toFormat(this.value, this.timeInputFormat)\n : \"\";\n }\n\n /**\n * format value in readonly rendering\n */\n formatValue(value: ?string): string {\n if (value == null || value.toString() === \"\") {\n return \"\";\n }\n\n // when the value is exactly an iso date, render as date\n if (\n (this.type === \"datetime\" || this.type === \"timestamp\") &&\n DateUtil.hasFormat(value, ISO_DATE_FORMAT)\n ) {\n return DateUtil.toFormat(value, this.dateReadonlyFormat);\n }\n\n return this.formatUtil.toFormat(value, this.format);\n }\n\n /**\n * Retrieve readonly value, the date in the configurated format\n */\n get readonlyvalue(): string {\n if (typeof this.value === \"string\") {\n return this.formatValue(this.value.toString());\n }\n\n return \"\";\n }\n\n /**\n */\n get isAmbiguous(): boolean {\n if (typeof this.value === \"string\") {\n return this.formatUtil.isAmbiguous(this.value);\n }\n return false;\n }\n\n /**\n */\n get offset(): OffsetInfo | null {\n if (typeof this.value === \"string\") {\n return this.formatUtil.getOffset(this.value);\n }\n return null;\n }\n\n /**\n * Get minimum date\n */\n get mindate(): string | null {\n return this.getContribution(\"mindate\");\n }\n\n /**\n * Get maximum date\n */\n get maxdate(): string | null {\n return this.getContribution(\"maxdate\");\n }\n\n /**\n * Registers an error that was received from a server response\n */\n addServerError(error: FormErrorAnchor) {\n const { id, message, properties, layouthint } = error;\n if (properties && has(properties, \"format\") && this.formatLabel) {\n properties.format = this.formatLabel;\n }\n\n this._errorCollection.addServerError(id, message, properties, layouthint);\n }\n\n /**\n */\n getFormatConstraint(): IConstraintModel {\n switch (this.type) {\n case \"date\":\n return new DateTimeDateFormatConstraint(\n this.dateInputFormat,\n this.formatLabel,\n );\n case \"time\":\n return new DateTimeTimeFormatConstraint(\n this.timeInputFormat,\n this.formatLabel,\n );\n default:\n return new DatetimeFormatConstraint(\n this.type,\n this.inputFormat,\n this.formatLabel,\n );\n }\n }\n\n /**\n * Add Date constraints for attribute\n */\n addConstraints(): ConstraintCollection {\n const constraints = new ConstraintCollection();\n\n constraints.add(this.getFormatConstraint());\n\n if (this.mindate || this.maxdate) {\n constraints.add(\n new DateBoundaryConstraint(\n this.type,\n this.mindate,\n this.maxdate,\n this.inputFormat,\n ),\n );\n }\n\n return constraints;\n }\n\n /**\n */\n get readonlyWidth(): $Keys<typeof ATTRIBUTE_WIDTH> {\n if (this.type === \"date\" || this.type === \"time\") {\n return ATTRIBUTE_WIDTH.SMALL;\n }\n\n return ATTRIBUTE_WIDTH.MEDIUM;\n }\n\n /**\n */\n updateByAttribute(otherAttribute: AttributeType): void {\n this.reset();\n if (otherAttribute instanceof DatetimeAttributeModel) {\n const otherValue = otherAttribute.value;\n if (otherValue != null) {\n const inputValue = this.formatUtil.toFormat(\n otherValue,\n this.inputFormat,\n );\n this.update(inputValue);\n }\n } else {\n console.error(\n `update of datetime attribute with ${otherAttribute.type} not supported`,\n );\n }\n }\n}\n\nexport default DatetimeAttributeModel;\n"],"mappings":";;;;;;;;;;;AACA,IAAAA,QAAA,GAAAC,OAAA;AAEA,IAAAC,aAAA,GAAAD,OAAA;AAOA,IAAAE,qBAAA,GAAAC,sBAAA,CAAAH,OAAA;AAEA,IAAAI,qBAAA,GAAAD,sBAAA,CAAAH,OAAA;AACA,IAAAK,6BAAA,GAAAF,sBAAA,CAAAH,OAAA;AACA,IAAAM,6BAAA,GAAAH,sBAAA,CAAAH,OAAA;AACA,IAAAO,yBAAA,GAAAJ,sBAAA,CAAAH,OAAA;AACA,IAAAQ,uBAAA,GAAAL,sBAAA,CAAAH,OAAA;AAEA,IAAAS,UAAA,GAAAT,OAAA;AAeA;AACA;AACA,MAAMU,sBAAsB,SAASC,6BAAoB,CAAC;EAIxD;AACF;EACEC,WAAWA,CACTC,SAAiB,EACjBC,sBAA8B,EAC9BC,YAA2B,EAC3B;IACA,KAAK,CAACF,SAAS,EAAEC,sBAAsB,EAAEC,YAAY,CAAC;IAAC,IA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AAC;IAE3C,IAAI,IAAI,CAACT,OAAO,IAAI,IAAI,CAACC,OAAO,EAAE;MAChCa,WAAW,CAACE,GAAG,CACb,IAAIC,+BAAsB,CACxB,IAAI,CAACnG,IAAI,EACT,IAAI,CAACkF,OAAO,EACZ,IAAI,CAACC,OAAO,EACZ,IAAI,CAAC/C,WACP,CACF,CAAC;IACH;IAEA,OAAO4D,WAAW;EACpB;;EAEA;AACF;EACE,IAAII,aAAaA,CAAA,EAAkC;IACjD,IAAI,IAAI,CAACpG,IAAI,KAAK,MAAM,IAAI,IAAI,CAACA,IAAI,KAAK,MAAM,EAAE;MAChD,OAAOqG,0BAAe,CAACC,KAAK;IAC9B;IAEA,OAAOD,0BAAe,CAACE,MAAM;EAC/B;;EAEA;AACF;EACEC,iBAAiBA,CAACC,cAA6B,EAAQ;IACrD,IAAI,CAACC,KAAK,CAAC,CAAC;IACZ,IAAID,cAAc,YAAYvH,sBAAsB,EAAE;MACpD,MAAMyH,UAAU,GAAGF,cAAc,CAAClG,KAAK;MACvC,IAAIoG,UAAU,IAAI,IAAI,EAAE;QACtB,MAAMC,UAAU,GAAG,IAAI,CAAC3G,UAAU,CAACS,QAAQ,CACzCiG,UAAU,EACV,IAAI,CAACvE,WACP,CAAC;QACD,IAAI,CAACyE,MAAM,CAACD,UAAU,CAAC;MACzB;IACF,CAAC,MAAM;MACLE,OAAO,CAACzB,KAAK,CACX,qCAAqCoB,cAAc,CAACzG,IAAI,gBAC1D,CAAC;IACH;EACF;AACF;AAAC,IAAA+G,QAAA,GAAAC,OAAA,CAAAvH,OAAA,GAEcP,sBAAsB","ignoreList":[]}
@@ -0,0 +1,55 @@
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 _objects = require("../../utils/helpers/objects");
9
+ var _AttributeModel = _interopRequireDefault(require("./AttributeModel"));
10
+ /**
11
+ * Helptext attribute
12
+ */
13
+ class HelptextAttributeModel extends _AttributeModel.default {
14
+ /**
15
+ */
16
+ static isApplicableModel(contributions) {
17
+ return contributions.type === "helptext" || contributions.readonly && (0, _objects.has)(contributions, "text");
18
+ }
19
+
20
+ /**
21
+ */
22
+ get type() {
23
+ return "helptext";
24
+ }
25
+
26
+ /**
27
+ * Get helptext text
28
+ */
29
+ get text() {
30
+ const dataContent = this.getData("content");
31
+ if (dataContent?.text) {
32
+ return dataContent.text.message;
33
+ }
34
+ const contributionText = this.getContribution("text");
35
+ if (contributionText) {
36
+ return contributionText.message ?? contributionText;
37
+ }
38
+ return null;
39
+ }
40
+
41
+ /**
42
+ */
43
+ // eslint-disable-next-line no-unused-vars
44
+ update(value) {
45
+ return this;
46
+ }
47
+
48
+ /**
49
+ */
50
+ getFormData() {
51
+ return null;
52
+ }
53
+ }
54
+ exports.default = HelptextAttributeModel;
55
+ //# sourceMappingURL=HelptextAttributeModel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HelptextAttributeModel.js","names":["_objects","require","_AttributeModel","_interopRequireDefault","HelptextAttributeModel","AttributeModel","isApplicableModel","contributions","type","readonly","has","text","dataContent","getData","message","contributionText","getContribution","update","value","getFormData","exports","default"],"sources":["../../../src/models/attributes/HelptextAttributeModel.js"],"sourcesContent":["// @flow\nimport { has } from \"../../utils/helpers/objects\";\n\nimport AttributeModel from \"./AttributeModel\";\n\n/**\n * Helptext attribute\n */\nexport default class HelptextAttributeModel extends AttributeModel {\n /**\n */\n static isApplicableModel(contributions: Object): boolean {\n return (\n contributions.type === \"helptext\" ||\n (contributions.readonly && has(contributions, \"text\"))\n );\n }\n\n /**\n */\n get type(): string {\n return \"helptext\";\n }\n\n /**\n * Get helptext text\n */\n get text(): string | null {\n const dataContent = this.getData(\"content\");\n if (dataContent?.text) {\n return dataContent.text.message;\n }\n\n const contributionText = this.getContribution(\"text\");\n if (contributionText) {\n return contributionText.message ?? contributionText;\n }\n\n return null;\n }\n\n /**\n */\n // eslint-disable-next-line no-unused-vars\n update(value: string): HelptextAttributeModel {\n return this;\n }\n\n /**\n */\n getFormData(): null {\n return null;\n }\n}\n"],"mappings":";;;;;;;AACA,IAAAA,QAAA,GAAAC,OAAA;AAEA,IAAAC,eAAA,GAAAC,sBAAA,CAAAF,OAAA;AAEA;AACA;AACA;AACe,MAAMG,sBAAsB,SAASC,uBAAc,CAAC;EACjE;AACF;EACE,OAAOC,iBAAiBA,CAACC,aAAqB,EAAW;IACvD,OACEA,aAAa,CAACC,IAAI,KAAK,UAAU,IAChCD,aAAa,CAACE,QAAQ,IAAI,IAAAC,YAAG,EAACH,aAAa,EAAE,MAAM,CAAE;EAE1D;;EAEA;AACF;EACE,IAAIC,IAAIA,CAAA,EAAW;IACjB,OAAO,UAAU;EACnB;;EAEA;AACF;AACA;EACE,IAAIG,IAAIA,CAAA,EAAkB;IACxB,MAAMC,WAAW,GAAG,IAAI,CAACC,OAAO,CAAC,SAAS,CAAC;IAC3C,IAAID,WAAW,EAAED,IAAI,EAAE;MACrB,OAAOC,WAAW,CAACD,IAAI,CAACG,OAAO;IACjC;IAEA,MAAMC,gBAAgB,GAAG,IAAI,CAACC,eAAe,CAAC,MAAM,CAAC;IACrD,IAAID,gBAAgB,EAAE;MACpB,OAAOA,gBAAgB,CAACD,OAAO,IAAIC,gBAAgB;IACrD;IAEA,OAAO,IAAI;EACb;;EAEA;AACF;EACE;EACAE,MAAMA,CAACC,KAAa,EAA0B;IAC5C,OAAO,IAAI;EACb;;EAEA;AACF;EACEC,WAAWA,CAAA,EAAS;IAClB,OAAO,IAAI;EACb;AACF;AAACC,OAAA,CAAAC,OAAA,GAAAjB,sBAAA","ignoreList":[]}