@beinformed/ui 1.65.29 → 2.0.0-beta.1
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.
- package/CHANGELOG.md +8 -2781
- package/dist/Constants-Cw7d8vue.d.cts +62 -0
- package/dist/Constants-Cw7d8vue.d.ts +62 -0
- package/dist/FormModel-DnizzHJs.d.cts +451 -0
- package/dist/FormModel-VQaB1SCS.d.ts +451 -0
- package/dist/chunk-2MCBBWEA.js +1 -0
- package/dist/chunk-2MCBBWEA.js.map +1 -0
- package/dist/chunk-333J3Q2L.js +2 -0
- package/dist/chunk-333J3Q2L.js.map +1 -0
- package/dist/chunk-5BR5HMNQ.js +2 -0
- package/dist/chunk-5BR5HMNQ.js.map +1 -0
- package/dist/chunk-6GV6KLAV.js +2 -0
- package/dist/chunk-6GV6KLAV.js.map +1 -0
- package/dist/chunk-73XVCQCW.js +2 -0
- package/dist/chunk-73XVCQCW.js.map +1 -0
- package/dist/chunk-BTDN4ZDB.js +2 -0
- package/dist/chunk-BTDN4ZDB.js.map +1 -0
- package/dist/chunk-CPYNQW3X.js +3 -0
- package/dist/chunk-CPYNQW3X.js.map +1 -0
- package/dist/chunk-ELPRKFLG.js +1 -0
- package/dist/chunk-ELPRKFLG.js.map +1 -0
- package/dist/chunk-KCZQQTX6.js +2 -0
- package/dist/chunk-KCZQQTX6.js.map +1 -0
- package/dist/chunk-L7K7QDC2.js +2 -0
- package/dist/chunk-L7K7QDC2.js.map +1 -0
- package/dist/chunk-LCMAAW7B.js +2 -0
- package/dist/chunk-LCMAAW7B.js.map +1 -0
- package/dist/chunk-OBB3YOFC.js +2 -0
- package/dist/chunk-OBB3YOFC.js.map +1 -0
- package/dist/chunk-QIGFPQFN.js +1 -0
- package/dist/chunk-QIGFPQFN.js.map +1 -0
- package/dist/chunk-UE323PGR.js +2 -0
- package/dist/chunk-UE323PGR.js.map +1 -0
- package/dist/chunk-VGAPPKHA.js +2 -0
- package/dist/chunk-VGAPPKHA.js.map +1 -0
- package/dist/chunk-VI6SO5NT.js +1 -0
- package/dist/chunk-VI6SO5NT.js.map +1 -0
- package/dist/chunk-VIKUDFQV.js +33 -0
- package/dist/chunk-VIKUDFQV.js.map +1 -0
- package/dist/chunk-VV3IT7US.js +1 -0
- package/dist/chunk-VV3IT7US.js.map +1 -0
- package/dist/chunk-WVQSFYWD.js +2 -0
- package/dist/chunk-WVQSFYWD.js.map +1 -0
- package/dist/chunk-YOBCFXEM.js +2 -0
- package/dist/chunk-YOBCFXEM.js.map +1 -0
- package/dist/chunk-ZDZHA43Q.js +2 -0
- package/dist/chunk-ZDZHA43Q.js.map +1 -0
- package/dist/constants/index.cjs +2 -0
- package/dist/constants/index.cjs.map +1 -0
- package/dist/constants/index.d.cts +28 -0
- package/dist/constants/index.d.ts +28 -0
- package/dist/constants/index.js +2 -0
- package/dist/constants/index.js.map +1 -0
- package/dist/exceptions/index.cjs +2 -0
- package/dist/exceptions/index.cjs.map +1 -0
- package/dist/exceptions/index.d.cts +88 -0
- package/dist/exceptions/index.d.ts +88 -0
- package/dist/exceptions/index.js +2 -0
- package/dist/exceptions/index.js.map +1 -0
- package/dist/index-BFD-cKUB.d.cts +5329 -0
- package/dist/index-CEg8Nt57.d.ts +5329 -0
- package/dist/index.cjs +34 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +13 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -0
- package/dist/layouthints/index.cjs +34 -0
- package/dist/layouthints/index.cjs.map +1 -0
- package/dist/layouthints/index.d.cts +322 -0
- package/dist/layouthints/index.d.ts +322 -0
- package/dist/layouthints/index.js +2 -0
- package/dist/layouthints/index.js.map +1 -0
- package/dist/models/index.cjs +34 -0
- package/dist/models/index.cjs.map +1 -0
- package/dist/models/index.d.cts +1110 -0
- package/dist/models/index.d.ts +1110 -0
- package/dist/models/index.js +2 -0
- package/dist/models/index.js.map +1 -0
- package/dist/modularui/index.cjs +34 -0
- package/dist/modularui/index.cjs.map +1 -0
- package/dist/modularui/index.d.cts +255 -0
- package/dist/modularui/index.d.ts +255 -0
- package/dist/modularui/index.js +2 -0
- package/dist/modularui/index.js.map +1 -0
- package/dist/settings/index.cjs +2 -0
- package/dist/settings/index.cjs.map +1 -0
- package/dist/settings/index.d.cts +55 -0
- package/dist/settings/index.d.ts +55 -0
- package/dist/settings/index.js +2 -0
- package/dist/settings/index.js.map +1 -0
- package/dist/types/index.cjs +2 -0
- package/dist/types/index.cjs.map +1 -0
- package/dist/types/index.d.cts +5 -0
- package/dist/types/index.d.ts +5 -0
- package/dist/types/index.js +2 -0
- package/dist/types/index.js.map +1 -0
- package/dist/utils/index.cjs +33 -0
- package/dist/utils/index.cjs.map +1 -0
- package/dist/utils/index.d.cts +185 -0
- package/dist/utils/index.d.ts +185 -0
- package/dist/utils/index.js +2 -0
- package/dist/utils/index.js.map +1 -0
- package/package.json +66 -203
- package/README.md +0 -73
- package/codemods/__testfixtures__/imports.input.txt +0 -41
- package/codemods/__testfixtures__/imports.output.txt +0 -44
- package/codemods/__tests__/imports.spec.js +0 -20
- package/codemods/imports.js +0 -199
- package/esm/builder/__tests__/mergeLayoutHintConfigurations.spec.js.flow +0 -71
- package/esm/builder/index.js +0 -2
- package/esm/builder/index.js.flow +0 -2
- package/esm/builder/index.js.map +0 -1
- package/esm/builder/mergeLayoutHintConfigurations.js +0 -59
- package/esm/builder/mergeLayoutHintConfigurations.js.flow +0 -69
- package/esm/builder/mergeLayoutHintConfigurations.js.map +0 -1
- package/esm/constants/Constants.js +0 -188
- package/esm/constants/Constants.js.flow +0 -196
- package/esm/constants/Constants.js.map +0 -1
- package/esm/constants/LayoutHintConfig.js +0 -167
- package/esm/constants/LayoutHintConfig.js.flow +0 -186
- package/esm/constants/LayoutHintConfig.js.map +0 -1
- package/esm/constants/LayoutHints.js +0 -129
- package/esm/constants/LayoutHints.js.flow +0 -134
- package/esm/constants/LayoutHints.js.map +0 -1
- package/esm/constants/Settings.js +0 -188
- package/esm/constants/Settings.js.flow +0 -267
- package/esm/constants/Settings.js.map +0 -1
- package/esm/constants/index.js +0 -4
- package/esm/constants/index.js.flow +0 -4
- package/esm/constants/index.js.map +0 -1
- package/esm/exceptions/ConfigurationException.js +0 -11
- package/esm/exceptions/ConfigurationException.js.flow +0 -13
- package/esm/exceptions/ConfigurationException.js.map +0 -1
- package/esm/exceptions/FetchException.js +0 -64
- package/esm/exceptions/FetchException.js.flow +0 -101
- package/esm/exceptions/FetchException.js.map +0 -1
- package/esm/exceptions/IllegalArgumentException.js +0 -11
- package/esm/exceptions/IllegalArgumentException.js.flow +0 -12
- package/esm/exceptions/IllegalArgumentException.js.map +0 -1
- package/esm/exceptions/IllegalReturnException.js +0 -10
- package/esm/exceptions/IllegalReturnException.js.flow +0 -11
- package/esm/exceptions/IllegalReturnException.js.map +0 -1
- package/esm/exceptions/IllegalStateException.js +0 -11
- package/esm/exceptions/IllegalStateException.js.flow +0 -12
- package/esm/exceptions/IllegalStateException.js.map +0 -1
- package/esm/exceptions/JsonParseException.js +0 -11
- package/esm/exceptions/JsonParseException.js.flow +0 -12
- package/esm/exceptions/JsonParseException.js.map +0 -1
- package/esm/exceptions/MissingPropertyException.js +0 -11
- package/esm/exceptions/MissingPropertyException.js.flow +0 -13
- package/esm/exceptions/MissingPropertyException.js.map +0 -1
- package/esm/exceptions/NetworkException.js +0 -16
- package/esm/exceptions/NetworkException.js.flow +0 -20
- package/esm/exceptions/NetworkException.js.map +0 -1
- package/esm/exceptions/NotAllowedUriException.js +0 -11
- package/esm/exceptions/NotAllowedUriException.js.flow +0 -12
- package/esm/exceptions/NotAllowedUriException.js.map +0 -1
- package/esm/exceptions/NotFoundException.js +0 -18
- package/esm/exceptions/NotFoundException.js.flow +0 -20
- package/esm/exceptions/NotFoundException.js.map +0 -1
- package/esm/exceptions/ServerRequestException.js +0 -11
- package/esm/exceptions/ServerRequestException.js.flow +0 -12
- package/esm/exceptions/ServerRequestException.js.map +0 -1
- package/esm/exceptions/ThemePropertyException.js +0 -11
- package/esm/exceptions/ThemePropertyException.js.flow +0 -12
- package/esm/exceptions/ThemePropertyException.js.map +0 -1
- package/esm/exceptions/TimeoutException.js +0 -11
- package/esm/exceptions/TimeoutException.js.flow +0 -13
- package/esm/exceptions/TimeoutException.js.map +0 -1
- package/esm/exceptions/UnauthorizedException.js +0 -18
- package/esm/exceptions/UnauthorizedException.js.flow +0 -26
- package/esm/exceptions/UnauthorizedException.js.map +0 -1
- package/esm/exceptions/UnsupportedOperationException.js +0 -11
- package/esm/exceptions/UnsupportedOperationException.js.flow +0 -12
- package/esm/exceptions/UnsupportedOperationException.js.map +0 -1
- package/esm/exceptions/index.js +0 -16
- package/esm/exceptions/index.js.flow +0 -16
- package/esm/exceptions/index.js.map +0 -1
- package/esm/hooks/__tests__/UseModularUIModel.spec.js.flow +0 -194
- package/esm/hooks/__tests__/useAuthentication.spec.js.flow +0 -134
- package/esm/hooks/__tests__/useForm.spec.js.flow +0 -300
- package/esm/hooks/__tests__/useI18n.spec.js.flow +0 -30
- package/esm/hooks/__tests__/useModal.spec.js.flow +0 -67
- package/esm/hooks/__tests__/useModelCatalog.spec.js.flow +0 -180
- package/esm/hooks/__tests__/useModels.spec.js.flow +0 -138
- package/esm/hooks/__tests__/useModularUIBasic.spec.js.flow +0 -126
- package/esm/hooks/__tests__/useNotification.spec.js.flow +0 -47
- package/esm/hooks/__tests__/usePreference.spec.js.flow +0 -72
- package/esm/hooks/__tests__/useProgressIndicator.spec.js.flow +0 -67
- package/esm/hooks/index.js +0 -22
- package/esm/hooks/index.js.flow +0 -22
- package/esm/hooks/index.js.map +0 -1
- package/esm/hooks/useAllFormsOnModel.js +0 -73
- package/esm/hooks/useAllFormsOnModel.js.flow +0 -92
- package/esm/hooks/useAllFormsOnModel.js.map +0 -1
- package/esm/hooks/useAuthentication.js +0 -76
- package/esm/hooks/useAuthentication.js.flow +0 -116
- package/esm/hooks/useAuthentication.js.map +0 -1
- package/esm/hooks/useContent.js +0 -41
- package/esm/hooks/useContent.js.flow +0 -48
- package/esm/hooks/useContent.js.map +0 -1
- package/esm/hooks/useDeepCompareEffect.js +0 -38
- package/esm/hooks/useDeepCompareEffect.js.flow +0 -50
- package/esm/hooks/useDeepCompareEffect.js.map +0 -1
- package/esm/hooks/useForm.js +0 -87
- package/esm/hooks/useForm.js.flow +0 -156
- package/esm/hooks/useForm.js.map +0 -1
- package/esm/hooks/useI18n.js +0 -27
- package/esm/hooks/useI18n.js.flow +0 -46
- package/esm/hooks/useI18n.js.map +0 -1
- package/esm/hooks/useList.js +0 -140
- package/esm/hooks/useList.js.flow +0 -248
- package/esm/hooks/useList.js.map +0 -1
- package/esm/hooks/useLookup.js +0 -62
- package/esm/hooks/useLookup.js.flow +0 -82
- package/esm/hooks/useLookup.js.map +0 -1
- package/esm/hooks/useModal.js +0 -34
- package/esm/hooks/useModal.js.flow +0 -46
- package/esm/hooks/useModal.js.map +0 -1
- package/esm/hooks/useModelCatalog.js +0 -179
- package/esm/hooks/useModelCatalog.js.flow +0 -256
- package/esm/hooks/useModelCatalog.js.map +0 -1
- package/esm/hooks/useModelSelectors.js +0 -73
- package/esm/hooks/useModelSelectors.js.flow +0 -98
- package/esm/hooks/useModelSelectors.js.map +0 -1
- package/esm/hooks/useModels.js +0 -37
- package/esm/hooks/useModels.js.flow +0 -50
- package/esm/hooks/useModels.js.map +0 -1
- package/esm/hooks/useModularUI.js +0 -91
- package/esm/hooks/useModularUI.js.flow +0 -115
- package/esm/hooks/useModularUI.js.map +0 -1
- package/esm/hooks/useModularUIBasic.js +0 -118
- package/esm/hooks/useModularUIBasic.js.flow +0 -158
- package/esm/hooks/useModularUIBasic.js.map +0 -1
- package/esm/hooks/useModularUIKey.js +0 -11
- package/esm/hooks/useModularUIKey.js.flow +0 -14
- package/esm/hooks/useModularUIKey.js.map +0 -1
- package/esm/hooks/useModularUIModel.js +0 -59
- package/esm/hooks/useModularUIModel.js.flow +0 -87
- package/esm/hooks/useModularUIModel.js.map +0 -1
- package/esm/hooks/useModularUIRequest.js +0 -17
- package/esm/hooks/useModularUIRequest.js.flow +0 -25
- package/esm/hooks/useModularUIRequest.js.map +0 -1
- package/esm/hooks/useNotification.js +0 -31
- package/esm/hooks/useNotification.js.flow +0 -48
- package/esm/hooks/useNotification.js.map +0 -1
- package/esm/hooks/usePanel.js +0 -59
- package/esm/hooks/usePanel.js.flow +0 -79
- package/esm/hooks/usePanel.js.map +0 -1
- package/esm/hooks/usePreference.js +0 -15
- package/esm/hooks/usePreference.js.flow +0 -27
- package/esm/hooks/usePreference.js.map +0 -1
- package/esm/hooks/useProgressIndicator.js +0 -31
- package/esm/hooks/useProgressIndicator.js.flow +0 -50
- package/esm/hooks/useProgressIndicator.js.map +0 -1
- package/esm/hooks/useRouter.js +0 -37
- package/esm/hooks/useRouter.js.flow +0 -70
- package/esm/hooks/useRouter.js.map +0 -1
- package/esm/hooks/useSearch.js +0 -19
- package/esm/hooks/useSearch.js.flow +0 -31
- package/esm/hooks/useSearch.js.map +0 -1
- package/esm/i18n/Locale.js +0 -124
- package/esm/i18n/Locale.js.flow +0 -159
- package/esm/i18n/Locale.js.map +0 -1
- package/esm/i18n/Locales.js +0 -129
- package/esm/i18n/Locales.js.flow +0 -171
- package/esm/i18n/Locales.js.map +0 -1
- package/esm/i18n/Message.js +0 -43
- package/esm/i18n/Message.js.flow +0 -66
- package/esm/i18n/Message.js.map +0 -1
- package/esm/i18n/__tests__/Locale.spec.js.flow +0 -108
- package/esm/i18n/__tests__/Locales.spec.js.flow +0 -137
- package/esm/i18n/index.js +0 -5
- package/esm/i18n/index.js.flow +0 -12
- package/esm/i18n/index.js.map +0 -1
- package/esm/i18n/languages.js +0 -206
- package/esm/i18n/languages.js.flow +0 -207
- package/esm/i18n/languages.js.map +0 -1
- package/esm/i18n/translations/beinformed_error_messages_en.nl.js +0 -98
- package/esm/i18n/translations/beinformed_error_messages_en.nl.js.flow +0 -98
- package/esm/i18n/translations/beinformed_error_messages_en.nl.js.map +0 -1
- package/esm/i18n/translations/beinformed_error_messages_nl.nl.js +0 -98
- package/esm/i18n/translations/beinformed_error_messages_nl.nl.js.flow +0 -98
- package/esm/i18n/translations/beinformed_error_messages_nl.nl.js.map +0 -1
- package/esm/i18n/types.js +0 -2
- package/esm/i18n/types.js.flow +0 -23
- package/esm/i18n/types.js.map +0 -1
- package/esm/i18n/withMessage.js +0 -15
- package/esm/i18n/withMessage.js.flow +0 -47
- package/esm/i18n/withMessage.js.map +0 -1
- package/esm/index.js +0 -7
- package/esm/index.js.flow +0 -7
- package/esm/index.js.map +0 -1
- package/esm/models/__tests__/resolveModel.spec.js.flow +0 -34
- package/esm/models/actions/ActionCollection.js +0 -79
- package/esm/models/actions/ActionCollection.js.flow +0 -100
- package/esm/models/actions/ActionCollection.js.map +0 -1
- package/esm/models/actions/ActionModel.js +0 -183
- package/esm/models/actions/ActionModel.js.flow +0 -207
- package/esm/models/actions/ActionModel.js.map +0 -1
- package/esm/models/actions/__mock__/action.js.flow +0 -35
- package/esm/models/actions/__tests__/ActionCollection.spec.js.flow +0 -98
- package/esm/models/actions/__tests__/ActionModel.spec.js.flow +0 -75
- package/esm/models/application/ApplicationModel.js +0 -145
- package/esm/models/application/ApplicationModel.js.flow +0 -173
- package/esm/models/application/ApplicationModel.js.map +0 -1
- package/esm/models/application/__mock__/application.js.flow +0 -14
- package/esm/models/application/__tests__/Application.spec.js.flow +0 -99
- package/esm/models/attributes/AttributeCollection.js +0 -265
- package/esm/models/attributes/AttributeCollection.js.flow +0 -306
- package/esm/models/attributes/AttributeCollection.js.map +0 -1
- package/esm/models/attributes/AttributeContent.js +0 -196
- package/esm/models/attributes/AttributeContent.js.flow +0 -233
- package/esm/models/attributes/AttributeContent.js.map +0 -1
- package/esm/models/attributes/AttributeDataHelper.js +0 -260
- package/esm/models/attributes/AttributeDataHelper.js.flow +0 -323
- package/esm/models/attributes/AttributeDataHelper.js.map +0 -1
- package/esm/models/attributes/AttributeModel.js +0 -830
- package/esm/models/attributes/AttributeModel.js.flow +0 -1021
- package/esm/models/attributes/AttributeModel.js.map +0 -1
- package/esm/models/attributes/AttributeSetModel.js +0 -93
- package/esm/models/attributes/AttributeSetModel.js.flow +0 -117
- package/esm/models/attributes/AttributeSetModel.js.map +0 -1
- package/esm/models/attributes/BooleanAttributeModel.js +0 -287
- package/esm/models/attributes/BooleanAttributeModel.js.flow +0 -319
- package/esm/models/attributes/BooleanAttributeModel.js.map +0 -1
- package/esm/models/attributes/CaptchaAttributeModel.js +0 -53
- package/esm/models/attributes/CaptchaAttributeModel.js.flow +0 -51
- package/esm/models/attributes/CaptchaAttributeModel.js.map +0 -1
- package/esm/models/attributes/ChoiceAttributeModel.js +0 -416
- package/esm/models/attributes/ChoiceAttributeModel.js.flow +0 -518
- package/esm/models/attributes/ChoiceAttributeModel.js.map +0 -1
- package/esm/models/attributes/ChoiceAttributeOptionCollection.js +0 -300
- package/esm/models/attributes/ChoiceAttributeOptionCollection.js.flow +0 -372
- package/esm/models/attributes/ChoiceAttributeOptionCollection.js.map +0 -1
- package/esm/models/attributes/ChoiceAttributeOptionModel.js +0 -329
- package/esm/models/attributes/ChoiceAttributeOptionModel.js.flow +0 -415
- package/esm/models/attributes/ChoiceAttributeOptionModel.js.map +0 -1
- package/esm/models/attributes/CompositeAttributeChildCollection.js +0 -182
- package/esm/models/attributes/CompositeAttributeChildCollection.js.flow +0 -254
- package/esm/models/attributes/CompositeAttributeChildCollection.js.map +0 -1
- package/esm/models/attributes/CompositeAttributeModel.js +0 -374
- package/esm/models/attributes/CompositeAttributeModel.js.flow +0 -439
- package/esm/models/attributes/CompositeAttributeModel.js.map +0 -1
- package/esm/models/attributes/DatetimeAttributeModel.js +0 -458
- package/esm/models/attributes/DatetimeAttributeModel.js.flow +0 -566
- package/esm/models/attributes/DatetimeAttributeModel.js.map +0 -1
- package/esm/models/attributes/HelptextAttributeModel.js +0 -48
- package/esm/models/attributes/HelptextAttributeModel.js.flow +0 -54
- package/esm/models/attributes/HelptextAttributeModel.js.map +0 -1
- package/esm/models/attributes/LabelAttributeModel.js +0 -34
- package/esm/models/attributes/LabelAttributeModel.js.flow +0 -36
- package/esm/models/attributes/LabelAttributeModel.js.map +0 -1
- package/esm/models/attributes/MemoAttributeModel.js +0 -42
- package/esm/models/attributes/MemoAttributeModel.js.flow +0 -43
- package/esm/models/attributes/MemoAttributeModel.js.map +0 -1
- package/esm/models/attributes/MoneyAttributeModel.js +0 -42
- package/esm/models/attributes/MoneyAttributeModel.js.flow +0 -45
- package/esm/models/attributes/MoneyAttributeModel.js.map +0 -1
- package/esm/models/attributes/NumberAttributeModel.js +0 -195
- package/esm/models/attributes/NumberAttributeModel.js.flow +0 -256
- package/esm/models/attributes/NumberAttributeModel.js.map +0 -1
- package/esm/models/attributes/PasswordAttributeModel.js +0 -209
- package/esm/models/attributes/PasswordAttributeModel.js.flow +0 -245
- package/esm/models/attributes/PasswordAttributeModel.js.map +0 -1
- package/esm/models/attributes/StringAttributeModel.js +0 -281
- package/esm/models/attributes/StringAttributeModel.js.flow +0 -317
- package/esm/models/attributes/StringAttributeModel.js.map +0 -1
- package/esm/models/attributes/UploadAttributeModel.js +0 -215
- package/esm/models/attributes/UploadAttributeModel.js.flow +0 -261
- package/esm/models/attributes/UploadAttributeModel.js.map +0 -1
- package/esm/models/attributes/XMLAttributeModel.js +0 -46
- package/esm/models/attributes/XMLAttributeModel.js.flow +0 -51
- package/esm/models/attributes/XMLAttributeModel.js.map +0 -1
- package/esm/models/attributes/__mock__/form.js.flow +0 -6
- package/esm/models/attributes/__mock__/list.js.flow +0 -6
- package/esm/models/attributes/__tests__/AttributeCollection.spec.js.flow +0 -160
- package/esm/models/attributes/__tests__/AttributeCollectionComposite.spec.js.flow +0 -146
- package/esm/models/attributes/__tests__/AttributeContent.spec.js.flow +0 -225
- package/esm/models/attributes/__tests__/AttributeDataHelper.spec.js.flow +0 -634
- package/esm/models/attributes/__tests__/AttributeModel.spec.js.flow +0 -274
- package/esm/models/attributes/__tests__/AttributeSetModel.spec.js.flow +0 -39
- package/esm/models/attributes/__tests__/BooleanAttributeModel.spec.js.flow +0 -107
- package/esm/models/attributes/__tests__/CaptchaAttributeModel.spec.js.flow +0 -13
- package/esm/models/attributes/__tests__/ChoiceAttributeModel.spec.js.flow +0 -750
- package/esm/models/attributes/__tests__/ChoiceAttributeOptionCollection.spec.js.flow +0 -507
- package/esm/models/attributes/__tests__/ChoiceAttributeOptionModel.spec.js.flow +0 -107
- package/esm/models/attributes/__tests__/CompositeAttributeModel.spec.js.flow +0 -467
- package/esm/models/attributes/__tests__/DateAttributeModel.spec.js.flow +0 -134
- package/esm/models/attributes/__tests__/DatetimeAttributeModel.spec.js.flow +0 -206
- package/esm/models/attributes/__tests__/DatetimeAttributeModel_offset.spec.js.flow +0 -345
- package/esm/models/attributes/__tests__/HelptextAttributeModel.spec.js.flow +0 -64
- package/esm/models/attributes/__tests__/LabelAttributeModel.spec.js.flow +0 -13
- package/esm/models/attributes/__tests__/LookupAttributeModel.spec.js.flow +0 -47
- package/esm/models/attributes/__tests__/MemoAttributeModel.spec.js.flow +0 -28
- package/esm/models/attributes/__tests__/MoneyAttributeModel.spec.js.flow +0 -22
- package/esm/models/attributes/__tests__/NumberAttributeModel.spec.js.flow +0 -67
- package/esm/models/attributes/__tests__/PasswordAttributeModel.spec.js.flow +0 -49
- package/esm/models/attributes/__tests__/StringAttributeModel.spec.js.flow +0 -125
- package/esm/models/attributes/__tests__/TimeAttributeModel.spec.js.flow +0 -57
- package/esm/models/attributes/__tests__/TimestampModel.spec.js.flow +0 -43
- package/esm/models/attributes/__tests__/UploadAttributeModel.spec.js.flow +0 -67
- package/esm/models/attributes/__tests__/XMLAttributeModel.spec.js.flow +0 -17
- package/esm/models/attributes/__tests__/_createAttribute.spec.js.flow +0 -106
- package/esm/models/attributes/__tests__/createAttributeComposite.spec.js.flow +0 -151
- package/esm/models/attributes/__tests__/createAttributeDynamicSchema.spec.js.flow +0 -134
- package/esm/models/attributes/_createAttribute.js +0 -86
- package/esm/models/attributes/_createAttribute.js.flow +0 -147
- package/esm/models/attributes/_createAttribute.js.map +0 -1
- package/esm/models/attributes/input-constraints/BSNConstraint.js +0 -66
- package/esm/models/attributes/input-constraints/BSNConstraint.js.flow +0 -80
- package/esm/models/attributes/input-constraints/BSNConstraint.js.map +0 -1
- package/esm/models/attributes/input-constraints/ConstraintCollection.js +0 -41
- package/esm/models/attributes/input-constraints/ConstraintCollection.js.flow +0 -65
- package/esm/models/attributes/input-constraints/ConstraintCollection.js.map +0 -1
- package/esm/models/attributes/input-constraints/ConstraintModel.js +0 -65
- package/esm/models/attributes/input-constraints/ConstraintModel.js.flow +0 -76
- package/esm/models/attributes/input-constraints/ConstraintModel.js.map +0 -1
- package/esm/models/attributes/input-constraints/DateBoundaryConstraint.js +0 -195
- package/esm/models/attributes/input-constraints/DateBoundaryConstraint.js.flow +0 -240
- package/esm/models/attributes/input-constraints/DateBoundaryConstraint.js.map +0 -1
- package/esm/models/attributes/input-constraints/DateTimeDateFormatConstraint.js +0 -69
- package/esm/models/attributes/input-constraints/DateTimeDateFormatConstraint.js.flow +0 -72
- package/esm/models/attributes/input-constraints/DateTimeDateFormatConstraint.js.map +0 -1
- package/esm/models/attributes/input-constraints/DateTimeTimeFormatConstraint.js +0 -69
- package/esm/models/attributes/input-constraints/DateTimeTimeFormatConstraint.js.flow +0 -72
- package/esm/models/attributes/input-constraints/DateTimeTimeFormatConstraint.js.map +0 -1
- package/esm/models/attributes/input-constraints/DatetimeFormatConstraint.js +0 -115
- package/esm/models/attributes/input-constraints/DatetimeFormatConstraint.js.flow +0 -132
- package/esm/models/attributes/input-constraints/DatetimeFormatConstraint.js.map +0 -1
- package/esm/models/attributes/input-constraints/FileExtensionConstraint.js +0 -59
- package/esm/models/attributes/input-constraints/FileExtensionConstraint.js.flow +0 -60
- package/esm/models/attributes/input-constraints/FileExtensionConstraint.js.map +0 -1
- package/esm/models/attributes/input-constraints/FileSizeConstraint.js +0 -91
- package/esm/models/attributes/input-constraints/FileSizeConstraint.js.flow +0 -101
- package/esm/models/attributes/input-constraints/FileSizeConstraint.js.map +0 -1
- package/esm/models/attributes/input-constraints/IBANConstraint.js +0 -42
- package/esm/models/attributes/input-constraints/IBANConstraint.js.flow +0 -46
- package/esm/models/attributes/input-constraints/IBANConstraint.js.map +0 -1
- package/esm/models/attributes/input-constraints/MandatoryConstraint.js +0 -47
- package/esm/models/attributes/input-constraints/MandatoryConstraint.js.flow +0 -54
- package/esm/models/attributes/input-constraints/MandatoryConstraint.js.map +0 -1
- package/esm/models/attributes/input-constraints/MandatoryRangeConstraint.js +0 -78
- package/esm/models/attributes/input-constraints/MandatoryRangeConstraint.js.flow +0 -84
- package/esm/models/attributes/input-constraints/MandatoryRangeConstraint.js.map +0 -1
- package/esm/models/attributes/input-constraints/NumberBoundaryConstraint.js +0 -165
- package/esm/models/attributes/input-constraints/NumberBoundaryConstraint.js.flow +0 -213
- package/esm/models/attributes/input-constraints/NumberBoundaryConstraint.js.map +0 -1
- package/esm/models/attributes/input-constraints/NumberFormatConstraint.js +0 -125
- package/esm/models/attributes/input-constraints/NumberFormatConstraint.js.flow +0 -153
- package/esm/models/attributes/input-constraints/NumberFormatConstraint.js.map +0 -1
- package/esm/models/attributes/input-constraints/NumberGroupingConstraint.js +0 -116
- package/esm/models/attributes/input-constraints/NumberGroupingConstraint.js.flow +0 -140
- package/esm/models/attributes/input-constraints/NumberGroupingConstraint.js.map +0 -1
- package/esm/models/attributes/input-constraints/PasswordConfirmConstraint.js +0 -65
- package/esm/models/attributes/input-constraints/PasswordConfirmConstraint.js.flow +0 -68
- package/esm/models/attributes/input-constraints/PasswordConfirmConstraint.js.map +0 -1
- package/esm/models/attributes/input-constraints/PasswordLowerAndUpperCaseConstraint.js +0 -41
- package/esm/models/attributes/input-constraints/PasswordLowerAndUpperCaseConstraint.js.flow +0 -44
- package/esm/models/attributes/input-constraints/PasswordLowerAndUpperCaseConstraint.js.map +0 -1
- package/esm/models/attributes/input-constraints/PasswordMinNumericCharactersConstraint.js +0 -57
- package/esm/models/attributes/input-constraints/PasswordMinNumericCharactersConstraint.js.flow +0 -60
- package/esm/models/attributes/input-constraints/PasswordMinNumericCharactersConstraint.js.map +0 -1
- package/esm/models/attributes/input-constraints/PasswordMinSpecialCharactersConstraint.js +0 -57
- package/esm/models/attributes/input-constraints/PasswordMinSpecialCharactersConstraint.js.flow +0 -60
- package/esm/models/attributes/input-constraints/PasswordMinSpecialCharactersConstraint.js.map +0 -1
- package/esm/models/attributes/input-constraints/PasswordThreeConsecutiveCharactersNotAllowedConstraint.js +0 -70
- package/esm/models/attributes/input-constraints/PasswordThreeConsecutiveCharactersNotAllowedConstraint.js.flow +0 -72
- package/esm/models/attributes/input-constraints/PasswordThreeConsecutiveCharactersNotAllowedConstraint.js.map +0 -1
- package/esm/models/attributes/input-constraints/RangeConstraint.js +0 -136
- package/esm/models/attributes/input-constraints/RangeConstraint.js.flow +0 -161
- package/esm/models/attributes/input-constraints/RangeConstraint.js.map +0 -1
- package/esm/models/attributes/input-constraints/RegexConstraint.js +0 -60
- package/esm/models/attributes/input-constraints/RegexConstraint.js.flow +0 -72
- package/esm/models/attributes/input-constraints/RegexConstraint.js.map +0 -1
- package/esm/models/attributes/input-constraints/StringLengthConstraint.js +0 -171
- package/esm/models/attributes/input-constraints/StringLengthConstraint.js.flow +0 -179
- package/esm/models/attributes/input-constraints/StringLengthConstraint.js.map +0 -1
- package/esm/models/attributes/input-constraints/XMLConstraint.js +0 -56
- package/esm/models/attributes/input-constraints/XMLConstraint.js.flow +0 -62
- package/esm/models/attributes/input-constraints/XMLConstraint.js.map +0 -1
- package/esm/models/attributes/input-constraints/__tests__/BSNConstraint.spec.js.flow +0 -25
- package/esm/models/attributes/input-constraints/__tests__/ConstraintCollection.spec.js.flow +0 -9
- package/esm/models/attributes/input-constraints/__tests__/ConstraintModel.spec.js.flow +0 -35
- package/esm/models/attributes/input-constraints/__tests__/DateBoundaryConstraint.spec.js.flow +0 -117
- package/esm/models/attributes/input-constraints/__tests__/DateTimeDateFormatConstraint.spec.js.flow +0 -30
- package/esm/models/attributes/input-constraints/__tests__/DateTimeTimeFormatConstraint.spec.js.flow +0 -54
- package/esm/models/attributes/input-constraints/__tests__/DatetimeFormatConstraint.spec.js.flow +0 -79
- package/esm/models/attributes/input-constraints/__tests__/FileExtensionConstraint.spec.js.flow +0 -20
- package/esm/models/attributes/input-constraints/__tests__/FileSizeConstraint.spec.js.flow +0 -53
- package/esm/models/attributes/input-constraints/__tests__/IBANConstraint.spec.js.flow +0 -12
- package/esm/models/attributes/input-constraints/__tests__/MandatoryConstraint.spec.js.flow +0 -14
- package/esm/models/attributes/input-constraints/__tests__/NumberBoundaryConstraint.spec.js.flow +0 -46
- package/esm/models/attributes/input-constraints/__tests__/NumberFormatConstraint.spec.js.flow +0 -137
- package/esm/models/attributes/input-constraints/__tests__/NumberGroupingConstraint.spec.js.flow +0 -85
- package/esm/models/attributes/input-constraints/__tests__/PasswordConfirmConstraint.spec.js.flow +0 -21
- package/esm/models/attributes/input-constraints/__tests__/PasswordLowerAndUpperCaseConstraint.spec.js.flow +0 -14
- package/esm/models/attributes/input-constraints/__tests__/PasswordMinNumericCharactersConstraint.spec.js.flow +0 -11
- package/esm/models/attributes/input-constraints/__tests__/PasswordMinSpecialCharactersConstraint.spec.js.flow +0 -11
- package/esm/models/attributes/input-constraints/__tests__/PasswordThreeConsecutiveCharactersNotAllowedConstraint.spec.js.flow +0 -22
- package/esm/models/attributes/input-constraints/__tests__/RegexConstraint.spec.js.flow +0 -42
- package/esm/models/attributes/input-constraints/__tests__/StringLengthConstraint.spec.js.flow +0 -102
- package/esm/models/attributes/input-constraints/__tests__/XMLConstraint.spec.js.flow +0 -15
- package/esm/models/attributes/layouthint-rules/BaseLayoutHintRule.js +0 -59
- package/esm/models/attributes/layouthint-rules/BaseLayoutHintRule.js.flow +0 -74
- package/esm/models/attributes/layouthint-rules/BaseLayoutHintRule.js.map +0 -1
- package/esm/models/attributes/layouthint-rules/DependentAttribute.js +0 -193
- package/esm/models/attributes/layouthint-rules/DependentAttribute.js.flow +0 -246
- package/esm/models/attributes/layouthint-rules/DependentAttribute.js.map +0 -1
- package/esm/models/attributes/layouthint-rules/LayoutHintRuleCollection.js +0 -79
- package/esm/models/attributes/layouthint-rules/LayoutHintRuleCollection.js.flow +0 -101
- package/esm/models/attributes/layouthint-rules/LayoutHintRuleCollection.js.map +0 -1
- package/esm/models/attributes/layouthint-rules/RemainingTotalUploadSize.js +0 -44
- package/esm/models/attributes/layouthint-rules/RemainingTotalUploadSize.js.flow +0 -67
- package/esm/models/attributes/layouthint-rules/RemainingTotalUploadSize.js.map +0 -1
- package/esm/models/attributes/layouthint-rules/__mock__/MockedCollectionFactory.js.flow +0 -54
- package/esm/models/attributes/layouthint-rules/__tests__/BaseLayoutHintRule.spec.js.flow +0 -29
- package/esm/models/attributes/layouthint-rules/__tests__/DependentAttribute.spec.js.flow +0 -310
- package/esm/models/attributes/layouthint-rules/__tests__/LayoutHintRuleCollection.spec.js.flow +0 -58
- package/esm/models/attributes/layouthint-rules/__tests__/RemainingTotalUploadSize.spec.js.flow +0 -24
- package/esm/models/base/BaseCollection.js +0 -179
- package/esm/models/base/BaseCollection.js.flow +0 -191
- package/esm/models/base/BaseCollection.js.map +0 -1
- package/esm/models/base/BaseModel.js +0 -142
- package/esm/models/base/BaseModel.js.flow +0 -158
- package/esm/models/base/BaseModel.js.map +0 -1
- package/esm/models/base/ResourceCollection.js +0 -34
- package/esm/models/base/ResourceCollection.js.flow +0 -42
- package/esm/models/base/ResourceCollection.js.map +0 -1
- package/esm/models/base/ResourceModel.js +0 -200
- package/esm/models/base/ResourceModel.js.flow +0 -246
- package/esm/models/base/ResourceModel.js.map +0 -1
- package/esm/models/base/__tests__/BaseCollection.spec.js.flow +0 -108
- package/esm/models/base/__tests__/BaseModel.spec.js.flow +0 -85
- package/esm/models/base/__tests__/ResourceCollection.spec.js.flow +0 -51
- package/esm/models/base/__tests__/ResourceModel.spec.js.flow +0 -100
- package/esm/models/caseview/CaseViewModel.js +0 -155
- package/esm/models/caseview/CaseViewModel.js.flow +0 -188
- package/esm/models/caseview/CaseViewModel.js.map +0 -1
- package/esm/models/caseview/__mock__/caseview.js.flow +0 -14
- package/esm/models/caseview/__tests__/CaseViewModel.spec.js.flow +0 -132
- package/esm/models/concepts/BusinessScenarioModel.js +0 -115
- package/esm/models/concepts/BusinessScenarioModel.js.flow +0 -176
- package/esm/models/concepts/BusinessScenarioModel.js.map +0 -1
- package/esm/models/concepts/ConceptDetailModel.js +0 -274
- package/esm/models/concepts/ConceptDetailModel.js.flow +0 -331
- package/esm/models/concepts/ConceptDetailModel.js.map +0 -1
- package/esm/models/concepts/ConceptIndexModel.js +0 -157
- package/esm/models/concepts/ConceptIndexModel.js.flow +0 -186
- package/esm/models/concepts/ConceptIndexModel.js.map +0 -1
- package/esm/models/concepts/ConceptLinkModel.js +0 -162
- package/esm/models/concepts/ConceptLinkModel.js.flow +0 -208
- package/esm/models/concepts/ConceptLinkModel.js.map +0 -1
- package/esm/models/concepts/ConceptRelationCollection.js +0 -72
- package/esm/models/concepts/ConceptRelationCollection.js.flow +0 -95
- package/esm/models/concepts/ConceptRelationCollection.js.map +0 -1
- package/esm/models/concepts/ConceptRelationModel.js +0 -105
- package/esm/models/concepts/ConceptRelationModel.js.flow +0 -129
- package/esm/models/concepts/ConceptRelationModel.js.map +0 -1
- package/esm/models/concepts/ConceptTypeDetailModel.js +0 -121
- package/esm/models/concepts/ConceptTypeDetailModel.js.flow +0 -128
- package/esm/models/concepts/ConceptTypeDetailModel.js.map +0 -1
- package/esm/models/concepts/SourceReferenceCollection.js +0 -31
- package/esm/models/concepts/SourceReferenceCollection.js.flow +0 -39
- package/esm/models/concepts/SourceReferenceCollection.js.map +0 -1
- package/esm/models/concepts/SourceReferenceModel.js +0 -103
- package/esm/models/concepts/SourceReferenceModel.js.flow +0 -126
- package/esm/models/concepts/SourceReferenceModel.js.map +0 -1
- package/esm/models/concepts/__mock__/business_scenario.js.flow +0 -26
- package/esm/models/concepts/__mock__/conceptdetail.js.flow +0 -27
- package/esm/models/concepts/__mock__/conceptindex.js.flow +0 -15
- package/esm/models/concepts/__mock__/concepttype.js.flow +0 -13
- package/esm/models/concepts/__mock__/concepttype_hierarchy.js.flow +0 -13
- package/esm/models/concepts/__mock__/related_concepts.js.flow +0 -12
- package/esm/models/concepts/__mock__/relation_with_props_and_tf_data.js.flow +0 -27
- package/esm/models/concepts/__tests__/BusinessScenarioModel.spec.js.flow +0 -28
- package/esm/models/concepts/__tests__/ConceptDetailModel.spec.js.flow +0 -85
- package/esm/models/concepts/__tests__/ConceptIndexModel.spec.js.flow +0 -42
- package/esm/models/concepts/__tests__/ConceptLinkModel.spec.js.flow +0 -9
- package/esm/models/concepts/__tests__/ConceptRelationCollection.spec.js.flow +0 -9
- package/esm/models/concepts/__tests__/ConceptRelationModel.spec.js.flow +0 -53
- package/esm/models/concepts/__tests__/ConceptTypeDetailModel.spec.js.flow +0 -31
- package/esm/models/concepts/__tests__/RelatedConcepts.spec.js.flow +0 -58
- package/esm/models/concepts/__tests__/SourceReferenceCollection.spec.js.flow +0 -9
- package/esm/models/concepts/__tests__/SourceReferenceModel.spec.js.flow +0 -108
- package/esm/models/content/ContentIndexModel.js +0 -140
- package/esm/models/content/ContentIndexModel.js.flow +0 -165
- package/esm/models/content/ContentIndexModel.js.map +0 -1
- package/esm/models/content/ContentLinkModel.js +0 -248
- package/esm/models/content/ContentLinkModel.js.flow +0 -308
- package/esm/models/content/ContentLinkModel.js.map +0 -1
- package/esm/models/content/ContentModel.js +0 -201
- package/esm/models/content/ContentModel.js.flow +0 -227
- package/esm/models/content/ContentModel.js.map +0 -1
- package/esm/models/content/ContentTOCModel.js +0 -208
- package/esm/models/content/ContentTOCModel.js.flow +0 -237
- package/esm/models/content/ContentTOCModel.js.map +0 -1
- package/esm/models/content/ContentTypeModel.js +0 -66
- package/esm/models/content/ContentTypeModel.js.flow +0 -71
- package/esm/models/content/ContentTypeModel.js.map +0 -1
- package/esm/models/content/SectionModel.js +0 -193
- package/esm/models/content/SectionModel.js.flow +0 -236
- package/esm/models/content/SectionModel.js.map +0 -1
- package/esm/models/content/SubSectionModel.js +0 -159
- package/esm/models/content/SubSectionModel.js.flow +0 -181
- package/esm/models/content/SubSectionModel.js.map +0 -1
- package/esm/models/content/__tests__/ContentIndexModel.spec.js.flow +0 -40
- package/esm/models/content/__tests__/ContentLinkModel.spec.js.flow +0 -129
- package/esm/models/content/__tests__/ContentModel.spec.js.flow +0 -241
- package/esm/models/content/__tests__/Formalsource.spec.js.flow +0 -133
- package/esm/models/contentconfiguration/ContentConfiguration.js +0 -68
- package/esm/models/contentconfiguration/ContentConfiguration.js.flow +0 -70
- package/esm/models/contentconfiguration/ContentConfiguration.js.map +0 -1
- package/esm/models/contentconfiguration/ContentConfigurationElements.js +0 -136
- package/esm/models/contentconfiguration/ContentConfigurationElements.js.flow +0 -152
- package/esm/models/contentconfiguration/ContentConfigurationElements.js.map +0 -1
- package/esm/models/contentconfiguration/ContentConfigurationEndResults.js +0 -43
- package/esm/models/contentconfiguration/ContentConfigurationEndResults.js.flow +0 -45
- package/esm/models/contentconfiguration/ContentConfigurationEndResults.js.map +0 -1
- package/esm/models/contentconfiguration/ContentConfigurationQuestions.js +0 -48
- package/esm/models/contentconfiguration/ContentConfigurationQuestions.js.flow +0 -60
- package/esm/models/contentconfiguration/ContentConfigurationQuestions.js.map +0 -1
- package/esm/models/contentconfiguration/ContentConfigurationResults.js +0 -97
- package/esm/models/contentconfiguration/ContentConfigurationResults.js.flow +0 -105
- package/esm/models/contentconfiguration/ContentConfigurationResults.js.map +0 -1
- package/esm/models/contentconfiguration/__tests__/ContentConfigurationElements.spec.js.flow +0 -29
- package/esm/models/contentconfiguration/__tests__/ContentConfigurationResults.spec.js.flow +0 -101
- package/esm/models/detail/DetailModel.js +0 -211
- package/esm/models/detail/DetailModel.js.flow +0 -241
- package/esm/models/detail/DetailModel.js.map +0 -1
- package/esm/models/detail/__tests__/DetailModel.spec.js.flow +0 -41
- package/esm/models/error/ErrorCollection.js +0 -104
- package/esm/models/error/ErrorCollection.js.flow +0 -127
- package/esm/models/error/ErrorCollection.js.map +0 -1
- package/esm/models/error/ErrorModel.js +0 -73
- package/esm/models/error/ErrorModel.js.flow +0 -83
- package/esm/models/error/ErrorModel.js.map +0 -1
- package/esm/models/error/ErrorResponse.js +0 -300
- package/esm/models/error/ErrorResponse.js.flow +0 -343
- package/esm/models/error/ErrorResponse.js.map +0 -1
- package/esm/models/error/__tests__/ErrorCollection.spec.js.flow +0 -41
- package/esm/models/error/__tests__/ErrorModel.spec.js.flow +0 -24
- package/esm/models/filters/AssignmentFilterModel.js +0 -169
- package/esm/models/filters/AssignmentFilterModel.js.flow +0 -217
- package/esm/models/filters/AssignmentFilterModel.js.map +0 -1
- package/esm/models/filters/BaseFilterModel.js +0 -129
- package/esm/models/filters/BaseFilterModel.js.flow +0 -145
- package/esm/models/filters/BaseFilterModel.js.map +0 -1
- package/esm/models/filters/ConceptIndexFilterModel.js +0 -29
- package/esm/models/filters/ConceptIndexFilterModel.js.flow +0 -43
- package/esm/models/filters/ConceptIndexFilterModel.js.map +0 -1
- package/esm/models/filters/FilterCollection.js +0 -178
- package/esm/models/filters/FilterCollection.js.flow +0 -227
- package/esm/models/filters/FilterCollection.js.map +0 -1
- package/esm/models/filters/FilterModel.js +0 -121
- package/esm/models/filters/FilterModel.js.flow +0 -151
- package/esm/models/filters/FilterModel.js.map +0 -1
- package/esm/models/filters/RangeFilterModel.js +0 -59
- package/esm/models/filters/RangeFilterModel.js.flow +0 -54
- package/esm/models/filters/RangeFilterModel.js.map +0 -1
- package/esm/models/filters/StringFilterModel.js +0 -150
- package/esm/models/filters/StringFilterModel.js.flow +0 -168
- package/esm/models/filters/StringFilterModel.js.map +0 -1
- package/esm/models/filters/__tests__/AssignmentFilterModel.spec.js.flow +0 -140
- package/esm/models/filters/__tests__/FilterCollection.spec.js.flow +0 -68
- package/esm/models/filters/__tests__/FilterModel.spec.js.flow +0 -65
- package/esm/models/filters/__tests__/RangeFilterModel.spec.js.flow +0 -64
- package/esm/models/filters/__tests__/ZipcodeFilter.spec.js.flow +0 -145
- package/esm/models/form/FormModel.js +0 -1025
- package/esm/models/form/FormModel.js.flow +0 -1279
- package/esm/models/form/FormModel.js.map +0 -1
- package/esm/models/form/FormObjectModel.js +0 -467
- package/esm/models/form/FormObjectModel.js.flow +0 -589
- package/esm/models/form/FormObjectModel.js.map +0 -1
- package/esm/models/form/__mock__/form.js.flow +0 -17
- package/esm/models/form/__tests__/FormModel.getters.spec.js.flow +0 -149
- package/esm/models/form/__tests__/FormModel.instrument.spec.js.flow +0 -202
- package/esm/models/form/__tests__/FormModel.repeating.spec.js.flow +0 -65
- package/esm/models/form/__tests__/FormModel.selfhref.spec.js.flow +0 -84
- package/esm/models/form/__tests__/FormModel.spec.js.flow +0 -752
- package/esm/models/form/__tests__/FormModel.unknown-repeat.spec.js.flow +0 -52
- package/esm/models/form/__tests__/FormObjectModel.spec.js.flow +0 -180
- package/esm/models/form/__tests__/FormResultData.spec.js.flow +0 -86
- package/esm/models/form/__tests__/FormValidation.spec.js.flow +0 -79
- package/esm/models/form/__tests__/FormWithContent.spec.js.flow +0 -71
- package/esm/models/grouping/GroupingModel.js +0 -182
- package/esm/models/grouping/GroupingModel.js.flow +0 -232
- package/esm/models/grouping/GroupingModel.js.map +0 -1
- package/esm/models/grouping/__tests__/GroupingModel.spec.js.flow +0 -80
- package/esm/models/href/Href.js +0 -512
- package/esm/models/href/Href.js.flow +0 -592
- package/esm/models/href/Href.js.map +0 -1
- package/esm/models/href/ListHref.js +0 -138
- package/esm/models/href/ListHref.js.flow +0 -161
- package/esm/models/href/ListHref.js.map +0 -1
- package/esm/models/href/__tests__/Href.spec.js.flow +0 -184
- package/esm/models/href/__tests__/ListHref.spec.js.flow +0 -61
- package/esm/models/index.js +0 -96
- package/esm/models/index.js.flow +0 -176
- package/esm/models/index.js.map +0 -1
- package/esm/models/layouthint/LayoutHintCollection.js +0 -104
- package/esm/models/layouthint/LayoutHintCollection.js.flow +0 -116
- package/esm/models/layouthint/LayoutHintCollection.js.map +0 -1
- package/esm/models/layouthint/__tests__/LayoutHintCollection.spec.js.flow +0 -89
- package/esm/models/links/LinkCollection.js +0 -154
- package/esm/models/links/LinkCollection.js.flow +0 -169
- package/esm/models/links/LinkCollection.js.map +0 -1
- package/esm/models/links/LinkModel.js +0 -226
- package/esm/models/links/LinkModel.js.flow +0 -246
- package/esm/models/links/LinkModel.js.map +0 -1
- package/esm/models/links/__tests__/LinkCollection.spec.js.flow +0 -426
- package/esm/models/links/__tests__/LinkModel.spec.js.flow +0 -103
- package/esm/models/links/__tests__/normalizeLinkJSON.spec.js.flow +0 -212
- package/esm/models/links/normalizeLinkJSON.js +0 -101
- package/esm/models/links/normalizeLinkJSON.js.flow +0 -121
- package/esm/models/links/normalizeLinkJSON.js.map +0 -1
- package/esm/models/list/ListDetailModel.js +0 -259
- package/esm/models/list/ListDetailModel.js.flow +0 -332
- package/esm/models/list/ListDetailModel.js.map +0 -1
- package/esm/models/list/ListHeaderModel.js +0 -87
- package/esm/models/list/ListHeaderModel.js.flow +0 -96
- package/esm/models/list/ListHeaderModel.js.map +0 -1
- package/esm/models/list/ListItemCollection.js +0 -60
- package/esm/models/list/ListItemCollection.js.flow +0 -80
- package/esm/models/list/ListItemCollection.js.map +0 -1
- package/esm/models/list/ListItemModel.js +0 -87
- package/esm/models/list/ListItemModel.js.flow +0 -111
- package/esm/models/list/ListItemModel.js.map +0 -1
- package/esm/models/list/ListModel.js +0 -418
- package/esm/models/list/ListModel.js.flow +0 -485
- package/esm/models/list/ListModel.js.map +0 -1
- package/esm/models/list/__mock__/caselist.js.flow +0 -14
- package/esm/models/list/__tests__/ListDetailModel.hierarchy.spec.js.flow +0 -88
- package/esm/models/list/__tests__/ListDetailModel.spec.js.flow +0 -96
- package/esm/models/list/__tests__/ListItemCollection.spec.js.flow +0 -22
- package/esm/models/list/__tests__/ListModel.spec.js.flow +0 -152
- package/esm/models/list/__tests__/ListResultDetail.spec.js.flow +0 -37
- package/esm/models/lookup/LookupOptionCollection.js +0 -38
- package/esm/models/lookup/LookupOptionCollection.js.flow +0 -54
- package/esm/models/lookup/LookupOptionCollection.js.map +0 -1
- package/esm/models/lookup/LookupOptionsModel.js +0 -63
- package/esm/models/lookup/LookupOptionsModel.js.flow +0 -81
- package/esm/models/lookup/LookupOptionsModel.js.map +0 -1
- package/esm/models/lookup/__tests__/LookupOptionCollection.spec.js.flow +0 -80
- package/esm/models/lookup/__tests__/LookupOptionsModel.spec.js.flow +0 -82
- package/esm/models/modelcatalog/ModelCatalogModel.js +0 -61
- package/esm/models/modelcatalog/ModelCatalogModel.js.flow +0 -73
- package/esm/models/modelcatalog/ModelCatalogModel.js.map +0 -1
- package/esm/models/modelcatalog/ModelCategoryCollection.js +0 -15
- package/esm/models/modelcatalog/ModelCategoryCollection.js.flow +0 -22
- package/esm/models/modelcatalog/ModelCategoryCollection.js.map +0 -1
- package/esm/models/modelcatalog/ModelCategoryModel.js +0 -53
- package/esm/models/modelcatalog/ModelCategoryModel.js.flow +0 -63
- package/esm/models/modelcatalog/ModelCategoryModel.js.map +0 -1
- package/esm/models/modelcatalog/__mock__/modelcatalog.js.flow +0 -14
- package/esm/models/modelcatalog/__tests__/ModelCatalogModel.spec.js.flow +0 -49
- package/esm/models/paging/PagesizeModel.js +0 -48
- package/esm/models/paging/PagesizeModel.js.flow +0 -50
- package/esm/models/paging/PagesizeModel.js.map +0 -1
- package/esm/models/paging/PagingModel.js +0 -99
- package/esm/models/paging/PagingModel.js.flow +0 -105
- package/esm/models/paging/PagingModel.js.map +0 -1
- package/esm/models/paging/__tests__/PageSizeModel.spec.js.flow +0 -31
- package/esm/models/paging/__tests__/PagingModel.spec.js.flow +0 -40
- package/esm/models/panels/GroupingPanelModel.js +0 -135
- package/esm/models/panels/GroupingPanelModel.js.flow +0 -164
- package/esm/models/panels/GroupingPanelModel.js.map +0 -1
- package/esm/models/panels/__tests__/GroupingPanelModel.spec.js.flow +0 -142
- package/esm/models/parameter/Parameter.js +0 -100
- package/esm/models/parameter/Parameter.js.flow +0 -117
- package/esm/models/parameter/Parameter.js.map +0 -1
- package/esm/models/parameter/__tests__/Parameter.spec.js.flow +0 -125
- package/esm/models/process/ProcessStatusSettingsModel.js +0 -77
- package/esm/models/process/ProcessStatusSettingsModel.js.flow +0 -88
- package/esm/models/process/ProcessStatusSettingsModel.js.map +0 -1
- package/esm/models/process/__tests__/ProcessStatusSettingsModel.spec.js.flow +0 -52
- package/esm/models/resolveModel.js +0 -49
- package/esm/models/resolveModel.js.flow +0 -92
- package/esm/models/resolveModel.js.map +0 -1
- package/esm/models/search/CaseSearchModel.js +0 -39
- package/esm/models/search/CaseSearchModel.js.flow +0 -46
- package/esm/models/search/CaseSearchModel.js.map +0 -1
- package/esm/models/search/__tests__/CaseSearchModel.spec.js.flow +0 -10
- package/esm/models/sorting/SortOptionModel.js +0 -107
- package/esm/models/sorting/SortOptionModel.js.flow +0 -114
- package/esm/models/sorting/SortOptionModel.js.map +0 -1
- package/esm/models/sorting/SortingModel.js +0 -117
- package/esm/models/sorting/SortingModel.js.flow +0 -140
- package/esm/models/sorting/SortingModel.js.map +0 -1
- package/esm/models/sorting/__tests__/SortingModel.spec.js.flow +0 -96
- package/esm/models/tab/TabModel.js +0 -135
- package/esm/models/tab/TabModel.js.flow +0 -160
- package/esm/models/tab/TabModel.js.map +0 -1
- package/esm/models/tab/__mock__/tab.js.flow +0 -14
- package/esm/models/tab/__mock__/tabPerson.js.flow +0 -14
- package/esm/models/tab/__tests__/TabModel.spec.js.flow +0 -72
- package/esm/models/taskgroup/TaskGroupCollection.js +0 -13
- package/esm/models/taskgroup/TaskGroupCollection.js.flow +0 -16
- package/esm/models/taskgroup/TaskGroupCollection.js.map +0 -1
- package/esm/models/taskgroup/TaskGroupModel.js +0 -79
- package/esm/models/taskgroup/TaskGroupModel.js.flow +0 -102
- package/esm/models/taskgroup/TaskGroupModel.js.map +0 -1
- package/esm/models/taskgroup/__mock__/taskgroup.js.flow +0 -14
- package/esm/models/taskgroup/__tests__/TaskGroupModel.spec.js.flow +0 -26
- package/esm/models/types.js +0 -2
- package/esm/models/types.js.flow +0 -291
- package/esm/models/types.js.map +0 -1
- package/esm/models/user/UserModel.js +0 -51
- package/esm/models/user/UserModel.js.flow +0 -57
- package/esm/models/user/UserModel.js.map +0 -1
- package/esm/models/user/UserProfileModel.js +0 -47
- package/esm/models/user/UserProfileModel.js.flow +0 -54
- package/esm/models/user/UserProfileModel.js.map +0 -1
- package/esm/models/user/UserServicesModel.js +0 -119
- package/esm/models/user/UserServicesModel.js.flow +0 -136
- package/esm/models/user/UserServicesModel.js.map +0 -1
- package/esm/models/user/__tests__/UserModel.spec.js.flow +0 -43
- package/esm/models/user/__tests__/UserProfileModel.spec.js.flow +0 -45
- package/esm/models/user/__tests__/UserServicesModel.spec.js.flow +0 -55
- package/esm/modularui/Authenticate.js +0 -201
- package/esm/modularui/Authenticate.js.flow +0 -219
- package/esm/modularui/Authenticate.js.map +0 -1
- package/esm/modularui/CaptchaRequest.js +0 -64
- package/esm/modularui/CaptchaRequest.js.flow +0 -104
- package/esm/modularui/CaptchaRequest.js.map +0 -1
- package/esm/modularui/ModularUIError.js +0 -23
- package/esm/modularui/ModularUIError.js.flow +0 -25
- package/esm/modularui/ModularUIError.js.map +0 -1
- package/esm/modularui/ModularUIRequest.js +0 -710
- package/esm/modularui/ModularUIRequest.js.flow +0 -866
- package/esm/modularui/ModularUIRequest.js.map +0 -1
- package/esm/modularui/ModularUIResponse.js +0 -140
- package/esm/modularui/ModularUIResponse.js.flow +0 -160
- package/esm/modularui/ModularUIResponse.js.map +0 -1
- package/esm/modularui/UploadRequest.js +0 -99
- package/esm/modularui/UploadRequest.js.flow +0 -153
- package/esm/modularui/UploadRequest.js.map +0 -1
- package/esm/modularui/__tests__/CustomContextPath.spec.js.flow +0 -61
- package/esm/modularui/__tests__/ModularUIError.spec.js.flow +0 -22
- package/esm/modularui/__tests__/ModularUIRequest.spec.js.flow +0 -495
- package/esm/modularui/index.js +0 -6
- package/esm/modularui/index.js.flow +0 -6
- package/esm/modularui/index.js.map +0 -1
- package/esm/modularui/types.js +0 -2
- package/esm/modularui/types.js.flow +0 -4
- package/esm/modularui/types.js.map +0 -1
- package/esm/react/ErrorBoundary.js +0 -49
- package/esm/react/ErrorBoundary.js.flow +0 -61
- package/esm/react/ErrorBoundary.js.map +0 -1
- package/esm/react/ErrorBoundaryFallback.js +0 -31
- package/esm/react/ErrorBoundaryFallback.js.flow +0 -46
- package/esm/react/ErrorBoundaryFallback.js.map +0 -1
- package/esm/react/index.js +0 -3
- package/esm/react/index.js.flow +0 -3
- package/esm/react/index.js.map +0 -1
- package/esm/react/utils.js +0 -22
- package/esm/react/utils.js.flow +0 -33
- package/esm/react/utils.js.map +0 -1
- package/esm/react-client/Init.js +0 -33
- package/esm/react-client/Init.js.flow +0 -46
- package/esm/react-client/Init.js.map +0 -1
- package/esm/react-client/client.js +0 -232
- package/esm/react-client/client.js.flow +0 -315
- package/esm/react-client/client.js.map +0 -1
- package/esm/react-client/contextPath.js +0 -24
- package/esm/react-client/contextPath.js.flow +0 -31
- package/esm/react-client/contextPath.js.map +0 -1
- package/esm/react-client/index.js +0 -4
- package/esm/react-client/index.js.flow +0 -4
- package/esm/react-client/index.js.map +0 -1
- package/esm/react-client/rehydrate.js +0 -67
- package/esm/react-client/rehydrate.js.flow +0 -94
- package/esm/react-client/rehydrate.js.map +0 -1
- package/esm/react-server/__tests__/htmlpage.spec.js.flow +0 -75
- package/esm/react-server/__tests__/requestInformation.spec.js.flow +0 -266
- package/esm/react-server/__tests__/serverUtil.spec.js.flow +0 -183
- package/esm/react-server/contextPath.js +0 -5
- package/esm/react-server/contextPath.js.flow +0 -6
- package/esm/react-server/contextPath.js.map +0 -1
- package/esm/react-server/createSSRComplete.js +0 -54
- package/esm/react-server/createSSRComplete.js.flow +0 -63
- package/esm/react-server/createSSRComplete.js.map +0 -1
- package/esm/react-server/htmlpage.js +0 -47
- package/esm/react-server/htmlpage.js.flow +0 -55
- package/esm/react-server/htmlpage.js.map +0 -1
- package/esm/react-server/index.js +0 -9
- package/esm/react-server/index.js.flow +0 -13
- package/esm/react-server/index.js.map +0 -1
- package/esm/react-server/renderSSRComplete.js +0 -83
- package/esm/react-server/renderSSRComplete.js.flow +0 -111
- package/esm/react-server/renderSSRComplete.js.map +0 -1
- package/esm/react-server/renderSSRMinimal.js +0 -39
- package/esm/react-server/renderSSRMinimal.js.flow +0 -54
- package/esm/react-server/renderSSRMinimal.js.map +0 -1
- package/esm/react-server/requestInformation.js +0 -53
- package/esm/react-server/requestInformation.js.flow +0 -68
- package/esm/react-server/requestInformation.js.map +0 -1
- package/esm/react-server/serverNoSSR.js +0 -55
- package/esm/react-server/serverNoSSR.js.flow +0 -87
- package/esm/react-server/serverNoSSR.js.map +0 -1
- package/esm/react-server/serverSSR.js +0 -43
- package/esm/react-server/serverSSR.js.flow +0 -70
- package/esm/react-server/serverSSR.js.map +0 -1
- package/esm/react-server/serverUtil.js +0 -205
- package/esm/react-server/serverUtil.js.flow +0 -283
- package/esm/react-server/serverUtil.js.map +0 -1
- package/esm/react-theme/ThemeProvider.js +0 -22
- package/esm/react-theme/ThemeProvider.js.flow +0 -25
- package/esm/react-theme/ThemeProvider.js.map +0 -1
- package/esm/react-theme/__tests__/ThemeProvider.spec.js.flow +0 -84
- package/esm/react-theme/__tests__/createTheme.spec.js.flow +0 -172
- package/esm/react-theme/createTheme.js +0 -101
- package/esm/react-theme/createTheme.js.flow +0 -118
- package/esm/react-theme/createTheme.js.map +0 -1
- package/esm/react-theme/index.js +0 -10
- package/esm/react-theme/index.js.flow +0 -15
- package/esm/react-theme/index.js.map +0 -1
- package/esm/react-theme/types.js +0 -2
- package/esm/react-theme/types.js.flow +0 -16
- package/esm/react-theme/types.js.map +0 -1
- package/esm/react-theme/useTheme.js +0 -9
- package/esm/react-theme/useTheme.js.flow +0 -13
- package/esm/react-theme/useTheme.js.map +0 -1
- package/esm/react-theme/utils/__tests__/background.spec.js.flow +0 -30
- package/esm/react-theme/utils/__tests__/colors.spec.js.flow +0 -30
- package/esm/react-theme/utils/__tests__/contrast.spec.js.flow +0 -44
- package/esm/react-theme/utils/__tests__/corners.spec.js.flow +0 -27
- package/esm/react-theme/utils/__tests__/spacers.spec.js.flow +0 -44
- package/esm/react-theme/utils/__tests__/themeProps.spec.js.flow +0 -72
- package/esm/react-theme/utils/background.js +0 -14
- package/esm/react-theme/utils/background.js.flow +0 -20
- package/esm/react-theme/utils/background.js.map +0 -1
- package/esm/react-theme/utils/colors.js +0 -28
- package/esm/react-theme/utils/colors.js.flow +0 -47
- package/esm/react-theme/utils/colors.js.map +0 -1
- package/esm/react-theme/utils/contrast.js +0 -78
- package/esm/react-theme/utils/contrast.js.flow +0 -117
- package/esm/react-theme/utils/contrast.js.map +0 -1
- package/esm/react-theme/utils/corners.js +0 -22
- package/esm/react-theme/utils/corners.js.flow +0 -37
- package/esm/react-theme/utils/corners.js.map +0 -1
- package/esm/react-theme/utils/spacers.js +0 -58
- package/esm/react-theme/utils/spacers.js.flow +0 -65
- package/esm/react-theme/utils/spacers.js.map +0 -1
- package/esm/react-theme/utils/themeProps.js +0 -49
- package/esm/react-theme/utils/themeProps.js.flow +0 -90
- package/esm/react-theme/utils/themeProps.js.map +0 -1
- package/esm/redux/_i18n/I18nActions.js +0 -28
- package/esm/redux/_i18n/I18nActions.js.flow +0 -38
- package/esm/redux/_i18n/I18nActions.js.map +0 -1
- package/esm/redux/_i18n/I18nReducer.js +0 -74
- package/esm/redux/_i18n/I18nReducer.js.flow +0 -89
- package/esm/redux/_i18n/I18nReducer.js.map +0 -1
- package/esm/redux/_i18n/__tests__/actions.spec.js.flow +0 -37
- package/esm/redux/_i18n/__tests__/reducer.spec.js.flow +0 -29
- package/esm/redux/_i18n/index.js +0 -3
- package/esm/redux/_i18n/index.js.flow +0 -6
- package/esm/redux/_i18n/index.js.map +0 -1
- package/esm/redux/_i18n/types.js +0 -2
- package/esm/redux/_i18n/types.js.flow +0 -20
- package/esm/redux/_i18n/types.js.map +0 -1
- package/esm/redux/_modularui/ModularUIActions.js +0 -164
- package/esm/redux/_modularui/ModularUIActions.js.flow +0 -224
- package/esm/redux/_modularui/ModularUIActions.js.map +0 -1
- package/esm/redux/_modularui/ModularUIConnector.js +0 -86
- package/esm/redux/_modularui/ModularUIConnector.js.flow +0 -120
- package/esm/redux/_modularui/ModularUIConnector.js.map +0 -1
- package/esm/redux/_modularui/ModularUIMiddleware.js +0 -99
- package/esm/redux/_modularui/ModularUIMiddleware.js.flow +0 -182
- package/esm/redux/_modularui/ModularUIMiddleware.js.map +0 -1
- package/esm/redux/_modularui/ModularUIReducer.js +0 -149
- package/esm/redux/_modularui/ModularUIReducer.js.flow +0 -169
- package/esm/redux/_modularui/ModularUIReducer.js.map +0 -1
- package/esm/redux/_modularui/ModularUISelectors.js +0 -246
- package/esm/redux/_modularui/ModularUISelectors.js.flow +0 -321
- package/esm/redux/_modularui/ModularUISelectors.js.map +0 -1
- package/esm/redux/_modularui/ModularUIUtils.js +0 -74
- package/esm/redux/_modularui/ModularUIUtils.js.flow +0 -96
- package/esm/redux/_modularui/ModularUIUtils.js.map +0 -1
- package/esm/redux/_modularui/__tests__/actions.spec.js.flow +0 -159
- package/esm/redux/_modularui/__tests__/reducer.spec.js.flow +0 -134
- package/esm/redux/_modularui/__tests__/selectors.spec.js.flow +0 -153
- package/esm/redux/_modularui/index.js +0 -8
- package/esm/redux/_modularui/index.js.flow +0 -11
- package/esm/redux/_modularui/index.js.map +0 -1
- package/esm/redux/_modularui/types.js +0 -2
- package/esm/redux/_modularui/types.js.flow +0 -121
- package/esm/redux/_modularui/types.js.map +0 -1
- package/esm/redux/_modularui/withModularUI.js +0 -33
- package/esm/redux/_modularui/withModularUI.js.flow +0 -85
- package/esm/redux/_modularui/withModularUI.js.map +0 -1
- package/esm/redux/_router/RouterActions.js +0 -55
- package/esm/redux/_router/RouterActions.js.flow +0 -75
- package/esm/redux/_router/RouterActions.js.map +0 -1
- package/esm/redux/_router/RouterConnectors.js +0 -42
- package/esm/redux/_router/RouterConnectors.js.flow +0 -102
- package/esm/redux/_router/RouterConnectors.js.map +0 -1
- package/esm/redux/_router/RouterMiddleware.js +0 -31
- package/esm/redux/_router/RouterMiddleware.js.flow +0 -37
- package/esm/redux/_router/RouterMiddleware.js.map +0 -1
- package/esm/redux/_router/RouterReducer.js +0 -13
- package/esm/redux/_router/RouterReducer.js.flow +0 -21
- package/esm/redux/_router/RouterReducer.js.map +0 -1
- package/esm/redux/_router/__tests__/actions.spec.js.flow +0 -109
- package/esm/redux/_router/__tests__/hooks.spec.js.flow +0 -98
- package/esm/redux/_router/__tests__/middleware.spec.js.flow +0 -62
- package/esm/redux/_router/__tests__/reducer.spec.js.flow +0 -26
- package/esm/redux/_router/index.js +0 -5
- package/esm/redux/_router/index.js.flow +0 -8
- package/esm/redux/_router/index.js.map +0 -1
- package/esm/redux/_router/types.js +0 -2
- package/esm/redux/_router/types.js.flow +0 -43
- package/esm/redux/_router/types.js.map +0 -1
- package/esm/redux/actions/Application.js +0 -58
- package/esm/redux/actions/Application.js.flow +0 -74
- package/esm/redux/actions/Application.js.map +0 -1
- package/esm/redux/actions/Authorization.js +0 -44
- package/esm/redux/actions/Authorization.js.flow +0 -65
- package/esm/redux/actions/Authorization.js.map +0 -1
- package/esm/redux/actions/Error.js +0 -67
- package/esm/redux/actions/Error.js.flow +0 -96
- package/esm/redux/actions/Error.js.map +0 -1
- package/esm/redux/actions/Form.js +0 -30
- package/esm/redux/actions/Form.js.flow +0 -42
- package/esm/redux/actions/Form.js.map +0 -1
- package/esm/redux/actions/FormAttributeSet.js +0 -59
- package/esm/redux/actions/FormAttributeSet.js.flow +0 -98
- package/esm/redux/actions/FormAttributeSet.js.map +0 -1
- package/esm/redux/actions/FormAttributeSetRepeatable.js +0 -26
- package/esm/redux/actions/FormAttributeSetRepeatable.js.flow +0 -45
- package/esm/redux/actions/FormAttributeSetRepeatable.js.map +0 -1
- package/esm/redux/actions/FormAutosave.js +0 -52
- package/esm/redux/actions/FormAutosave.js.flow +0 -73
- package/esm/redux/actions/FormAutosave.js.map +0 -1
- package/esm/redux/actions/FormAutosubmit.js +0 -29
- package/esm/redux/actions/FormAutosubmit.js.flow +0 -43
- package/esm/redux/actions/FormAutosubmit.js.map +0 -1
- package/esm/redux/actions/FormAutoupdate.js +0 -29
- package/esm/redux/actions/FormAutoupdate.js.flow +0 -47
- package/esm/redux/actions/FormAutoupdate.js.map +0 -1
- package/esm/redux/actions/FormValidations.js +0 -43
- package/esm/redux/actions/FormValidations.js.flow +0 -71
- package/esm/redux/actions/FormValidations.js.map +0 -1
- package/esm/redux/actions/Modals.js +0 -14
- package/esm/redux/actions/Modals.js.flow +0 -16
- package/esm/redux/actions/Modals.js.map +0 -1
- package/esm/redux/actions/ModelCatalog.js +0 -8
- package/esm/redux/actions/ModelCatalog.js.flow +0 -12
- package/esm/redux/actions/ModelCatalog.js.map +0 -1
- package/esm/redux/actions/Notification.js +0 -66
- package/esm/redux/actions/Notification.js.flow +0 -101
- package/esm/redux/actions/Notification.js.map +0 -1
- package/esm/redux/actions/Preferences.js +0 -116
- package/esm/redux/actions/Preferences.js.flow +0 -177
- package/esm/redux/actions/Preferences.js.map +0 -1
- package/esm/redux/actions/ProgressIndicator.js +0 -32
- package/esm/redux/actions/ProgressIndicator.js.flow +0 -39
- package/esm/redux/actions/ProgressIndicator.js.map +0 -1
- package/esm/redux/actions/SignIn.js +0 -76
- package/esm/redux/actions/SignIn.js.flow +0 -99
- package/esm/redux/actions/SignIn.js.map +0 -1
- package/esm/redux/actions/SignOut.js +0 -21
- package/esm/redux/actions/SignOut.js.flow +0 -29
- package/esm/redux/actions/SignOut.js.map +0 -1
- package/esm/redux/actions/__tests__/Application.spec.js.flow +0 -90
- package/esm/redux/actions/__tests__/Authorization.spec.js.flow +0 -115
- package/esm/redux/actions/__tests__/CustomErrorResponseHandler.spec.js.flow +0 -72
- package/esm/redux/actions/__tests__/Error-server.spec.js.flow +0 -134
- package/esm/redux/actions/__tests__/Error.spec.js.flow +0 -116
- package/esm/redux/actions/__tests__/Form.spec.js.flow +0 -39
- package/esm/redux/actions/__tests__/Modals.spec.js.flow +0 -34
- package/esm/redux/actions/__tests__/Notification.spec.js.flow +0 -94
- package/esm/redux/actions/__tests__/Preferences.spec.js.flow +0 -71
- package/esm/redux/actions/__tests__/ProgressIndicator.spec.js.flow +0 -53
- package/esm/redux/actions/index.js +0 -17
- package/esm/redux/actions/index.js.flow +0 -17
- package/esm/redux/actions/index.js.map +0 -1
- package/esm/redux/connectors/Application.js +0 -8
- package/esm/redux/connectors/Application.js.flow +0 -15
- package/esm/redux/connectors/Application.js.map +0 -1
- package/esm/redux/connectors/Breadcrumb.js +0 -11
- package/esm/redux/connectors/Breadcrumb.js.flow +0 -29
- package/esm/redux/connectors/Breadcrumb.js.map +0 -1
- package/esm/redux/connectors/CaseView.js +0 -10
- package/esm/redux/connectors/CaseView.js.flow +0 -15
- package/esm/redux/connectors/CaseView.js.map +0 -1
- package/esm/redux/connectors/ConceptDetail.js +0 -11
- package/esm/redux/connectors/ConceptDetail.js.flow +0 -13
- package/esm/redux/connectors/ConceptDetail.js.map +0 -1
- package/esm/redux/connectors/ContentBrowser.js +0 -10
- package/esm/redux/connectors/ContentBrowser.js.flow +0 -15
- package/esm/redux/connectors/ContentBrowser.js.map +0 -1
- package/esm/redux/connectors/ContentDetail.js +0 -11
- package/esm/redux/connectors/ContentDetail.js.flow +0 -14
- package/esm/redux/connectors/ContentDetail.js.map +0 -1
- package/esm/redux/connectors/ContentDetailSection.js +0 -13
- package/esm/redux/connectors/ContentDetailSection.js.flow +0 -18
- package/esm/redux/connectors/ContentDetailSection.js.map +0 -1
- package/esm/redux/connectors/Form.js +0 -36
- package/esm/redux/connectors/Form.js.flow +0 -84
- package/esm/redux/connectors/Form.js.map +0 -1
- package/esm/redux/connectors/FormAttributeSet.js +0 -19
- package/esm/redux/connectors/FormAttributeSet.js.flow +0 -83
- package/esm/redux/connectors/FormAttributeSet.js.map +0 -1
- package/esm/redux/connectors/ListDetail.js +0 -12
- package/esm/redux/connectors/ListDetail.js.flow +0 -17
- package/esm/redux/connectors/ListDetail.js.map +0 -1
- package/esm/redux/connectors/Modal.js +0 -21
- package/esm/redux/connectors/Modal.js.flow +0 -48
- package/esm/redux/connectors/Modal.js.map +0 -1
- package/esm/redux/connectors/ModelCatalog.js +0 -10
- package/esm/redux/connectors/ModelCatalog.js.flow +0 -15
- package/esm/redux/connectors/ModelCatalog.js.map +0 -1
- package/esm/redux/connectors/Notification.js +0 -17
- package/esm/redux/connectors/Notification.js.flow +0 -48
- package/esm/redux/connectors/Notification.js.map +0 -1
- package/esm/redux/connectors/PanelRenderer.js +0 -22
- package/esm/redux/connectors/PanelRenderer.js.flow +0 -30
- package/esm/redux/connectors/PanelRenderer.js.map +0 -1
- package/esm/redux/connectors/Preferences.js +0 -24
- package/esm/redux/connectors/Preferences.js.flow +0 -55
- package/esm/redux/connectors/Preferences.js.map +0 -1
- package/esm/redux/connectors/Progress.js +0 -14
- package/esm/redux/connectors/Progress.js.flow +0 -36
- package/esm/redux/connectors/Progress.js.map +0 -1
- package/esm/redux/connectors/ProgressIndicator.js +0 -14
- package/esm/redux/connectors/ProgressIndicator.js.flow +0 -36
- package/esm/redux/connectors/ProgressIndicator.js.map +0 -1
- package/esm/redux/connectors/QuickSearch.js +0 -18
- package/esm/redux/connectors/QuickSearch.js.flow +0 -37
- package/esm/redux/connectors/QuickSearch.js.map +0 -1
- package/esm/redux/connectors/SignIn.js +0 -19
- package/esm/redux/connectors/SignIn.js.flow +0 -48
- package/esm/redux/connectors/SignIn.js.map +0 -1
- package/esm/redux/connectors/SignOut.js +0 -15
- package/esm/redux/connectors/SignOut.js.flow +0 -39
- package/esm/redux/connectors/SignOut.js.map +0 -1
- package/esm/redux/connectors/Tab.js +0 -10
- package/esm/redux/connectors/Tab.js.flow +0 -15
- package/esm/redux/connectors/Tab.js.map +0 -1
- package/esm/redux/connectors/index.js +0 -22
- package/esm/redux/connectors/index.js.flow +0 -22
- package/esm/redux/connectors/index.js.map +0 -1
- package/esm/redux/index.js +0 -24
- package/esm/redux/index.js.flow +0 -27
- package/esm/redux/index.js.map +0 -1
- package/esm/redux/reducers/AuthReducer.js +0 -51
- package/esm/redux/reducers/AuthReducer.js.flow +0 -56
- package/esm/redux/reducers/AuthReducer.js.map +0 -1
- package/esm/redux/reducers/ErrorReducer.js +0 -14
- package/esm/redux/reducers/ErrorReducer.js.flow +0 -22
- package/esm/redux/reducers/ErrorReducer.js.map +0 -1
- package/esm/redux/reducers/ModalsReducer.js +0 -49
- package/esm/redux/reducers/ModalsReducer.js.flow +0 -58
- package/esm/redux/reducers/ModalsReducer.js.map +0 -1
- package/esm/redux/reducers/ModelCatalogReducer.js +0 -23
- package/esm/redux/reducers/ModelCatalogReducer.js.flow +0 -33
- package/esm/redux/reducers/ModelCatalogReducer.js.map +0 -1
- package/esm/redux/reducers/NotificationReducer.js +0 -35
- package/esm/redux/reducers/NotificationReducer.js.flow +0 -45
- package/esm/redux/reducers/NotificationReducer.js.map +0 -1
- package/esm/redux/reducers/PreferencesReducer.js +0 -22
- package/esm/redux/reducers/PreferencesReducer.js.flow +0 -31
- package/esm/redux/reducers/PreferencesReducer.js.map +0 -1
- package/esm/redux/reducers/ProgressIndicatorReducer.js +0 -47
- package/esm/redux/reducers/ProgressIndicatorReducer.js.flow +0 -60
- package/esm/redux/reducers/ProgressIndicatorReducer.js.map +0 -1
- package/esm/redux/reducers/__tests__/AuthReducer.spec.js.flow +0 -95
- package/esm/redux/reducers/__tests__/ErrorReducer.spec.js.flow +0 -17
- package/esm/redux/reducers/__tests__/ModalsReducer.spec.js.flow +0 -34
- package/esm/redux/reducers/__tests__/ModelCatalogReducer.spec.js.flow +0 -23
- package/esm/redux/reducers/__tests__/NotificationReducer.spec.js.flow +0 -53
- package/esm/redux/reducers/__tests__/PreferencesReducer.spec.js.flow +0 -31
- package/esm/redux/reducers/__tests__/ProgressIndicatorReducer.spec.js.flow +0 -82
- package/esm/redux/reducers/createReducer.js +0 -25
- package/esm/redux/reducers/createReducer.js.flow +0 -55
- package/esm/redux/reducers/createReducer.js.map +0 -1
- package/esm/redux/reducers/index.js +0 -9
- package/esm/redux/reducers/index.js.flow +0 -10
- package/esm/redux/reducers/index.js.map +0 -1
- package/esm/redux/selectors/i18n.js +0 -12
- package/esm/redux/selectors/i18n.js.flow +0 -15
- package/esm/redux/selectors/i18n.js.map +0 -1
- package/esm/redux/selectors/index.js +0 -3
- package/esm/redux/selectors/index.js.flow +0 -3
- package/esm/redux/selectors/index.js.map +0 -1
- package/esm/redux/selectors/modelcatalog.js +0 -7
- package/esm/redux/selectors/modelcatalog.js.flow +0 -11
- package/esm/redux/selectors/modelcatalog.js.map +0 -1
- package/esm/redux/store/__tests__/beforeRenderHooks.spec.js.flow +0 -13
- package/esm/redux/store/beforeRenderHooks.js +0 -15
- package/esm/redux/store/beforeRenderHooks.js.flow +0 -26
- package/esm/redux/store/beforeRenderHooks.js.map +0 -1
- package/esm/redux/store/configureStore.js +0 -39
- package/esm/redux/store/configureStore.js.flow +0 -71
- package/esm/redux/store/configureStore.js.map +0 -1
- package/esm/redux/types.js +0 -2
- package/esm/redux/types.js.flow +0 -269
- package/esm/redux/types.js.map +0 -1
- package/esm/utils/browser/Cache.js +0 -142
- package/esm/utils/browser/Cache.js.flow +0 -158
- package/esm/utils/browser/Cache.js.map +0 -1
- package/esm/utils/browser/Cookies.js +0 -28
- package/esm/utils/browser/Cookies.js.flow +0 -44
- package/esm/utils/browser/Cookies.js.map +0 -1
- package/esm/utils/browser/__tests__/Cookies.spec.js.flow +0 -52
- package/esm/utils/datetime/DateTimeUtil.js +0 -598
- package/esm/utils/datetime/DateTimeUtil.js.flow +0 -852
- package/esm/utils/datetime/DateTimeUtil.js.map +0 -1
- package/esm/utils/datetime/__tests__/DateTime.spec.js.flow +0 -873
- package/esm/utils/datetime/__tests__/DateTimeFormat.spec.js.flow +0 -140
- package/esm/utils/fetch/__mocks__/universalFetch.js.flow +0 -38
- package/esm/utils/fetch/__tests__/xhr.spec.js.flow +0 -281
- package/esm/utils/fetch/serverFetch.js +0 -25
- package/esm/utils/fetch/serverFetch.js.flow +0 -33
- package/esm/utils/fetch/serverFetch.js.map +0 -1
- package/esm/utils/fetch/types.js +0 -2
- package/esm/utils/fetch/types.js.flow +0 -46
- package/esm/utils/fetch/types.js.map +0 -1
- package/esm/utils/fetch/universalFetch.js +0 -86
- package/esm/utils/fetch/universalFetch.js.flow +0 -105
- package/esm/utils/fetch/universalFetch.js.map +0 -1
- package/esm/utils/fetch/xhr.js +0 -349
- package/esm/utils/fetch/xhr.js.flow +0 -406
- package/esm/utils/fetch/xhr.js.map +0 -1
- package/esm/utils/helpers/__tests__/checkResource.spec.js.flow +0 -60
- package/esm/utils/helpers/__tests__/createHash.spec.js.flow +0 -11
- package/esm/utils/helpers/__tests__/createHref.spec.js.flow +0 -39
- package/esm/utils/helpers/__tests__/objects.spec.js.flow +0 -50
- package/esm/utils/helpers/__tests__/sanitizeHTML.spec.js.flow +0 -69
- package/esm/utils/helpers/checkResource.js +0 -38
- package/esm/utils/helpers/checkResource.js.flow +0 -43
- package/esm/utils/helpers/checkResource.js.map +0 -1
- package/esm/utils/helpers/createHash.js +0 -22
- package/esm/utils/helpers/createHash.js.flow +0 -28
- package/esm/utils/helpers/createHash.js.map +0 -1
- package/esm/utils/helpers/createHref.js +0 -94
- package/esm/utils/helpers/createHref.js.flow +0 -118
- package/esm/utils/helpers/createHref.js.map +0 -1
- package/esm/utils/helpers/createUUID.js +0 -13
- package/esm/utils/helpers/createUUID.js.flow +0 -13
- package/esm/utils/helpers/createUUID.js.map +0 -1
- package/esm/utils/helpers/index.js +0 -9
- package/esm/utils/helpers/index.js.flow +0 -9
- package/esm/utils/helpers/index.js.map +0 -1
- package/esm/utils/helpers/objects.js +0 -28
- package/esm/utils/helpers/objects.js.flow +0 -33
- package/esm/utils/helpers/objects.js.map +0 -1
- package/esm/utils/helpers/repositoryResource.js +0 -17
- package/esm/utils/helpers/repositoryResource.js.flow +0 -22
- package/esm/utils/helpers/repositoryResource.js.map +0 -1
- package/esm/utils/helpers/sanitizeHtml.js +0 -37
- package/esm/utils/helpers/sanitizeHtml.js.flow +0 -55
- package/esm/utils/helpers/sanitizeHtml.js.map +0 -1
- package/esm/utils/helpers/text.js +0 -17
- package/esm/utils/helpers/text.js.flow +0 -23
- package/esm/utils/helpers/text.js.map +0 -1
- package/esm/utils/index.js +0 -19
- package/esm/utils/index.js.flow +0 -22
- package/esm/utils/index.js.map +0 -1
- package/esm/utils/number/DecimalFormat.js +0 -325
- package/esm/utils/number/DecimalFormat.js.flow +0 -410
- package/esm/utils/number/DecimalFormat.js.map +0 -1
- package/esm/utils/number/__tests__/formatValue.spec.js.flow +0 -36
- package/esm/utils/number/__tests__/parseNumbers.spec.js.flow +0 -50
- package/esm/utils/number/formatValue.js +0 -38
- package/esm/utils/number/formatValue.js.flow +0 -60
- package/esm/utils/number/formatValue.js.map +0 -1
- package/esm/utils/number/parseNumbers.js +0 -62
- package/esm/utils/number/parseNumbers.js.flow +0 -95
- package/esm/utils/number/parseNumbers.js.map +0 -1
- package/lib/builder/index.js +0 -18
- package/lib/builder/index.js.map +0 -1
- package/lib/builder/mergeLayoutHintConfigurations.js +0 -62
- package/lib/builder/mergeLayoutHintConfigurations.js.map +0 -1
- package/lib/constants/Constants.js +0 -194
- package/lib/constants/Constants.js.map +0 -1
- package/lib/constants/LayoutHintConfig.js +0 -173
- package/lib/constants/LayoutHintConfig.js.map +0 -1
- package/lib/constants/LayoutHints.js +0 -135
- package/lib/constants/LayoutHints.js.map +0 -1
- package/lib/constants/Settings.js +0 -215
- package/lib/constants/Settings.js.map +0 -1
- package/lib/constants/index.js +0 -40
- package/lib/constants/index.js.map +0 -1
- package/lib/exceptions/ConfigurationException.js +0 -17
- package/lib/exceptions/ConfigurationException.js.map +0 -1
- package/lib/exceptions/FetchException.js +0 -72
- package/lib/exceptions/FetchException.js.map +0 -1
- package/lib/exceptions/IllegalArgumentException.js +0 -17
- package/lib/exceptions/IllegalArgumentException.js.map +0 -1
- package/lib/exceptions/IllegalReturnException.js +0 -16
- package/lib/exceptions/IllegalReturnException.js.map +0 -1
- package/lib/exceptions/IllegalStateException.js +0 -17
- package/lib/exceptions/IllegalStateException.js.map +0 -1
- package/lib/exceptions/JsonParseException.js +0 -17
- package/lib/exceptions/JsonParseException.js.map +0 -1
- package/lib/exceptions/MissingPropertyException.js +0 -17
- package/lib/exceptions/MissingPropertyException.js.map +0 -1
- package/lib/exceptions/NetworkException.js +0 -23
- package/lib/exceptions/NetworkException.js.map +0 -1
- package/lib/exceptions/NotAllowedUriException.js +0 -17
- package/lib/exceptions/NotAllowedUriException.js.map +0 -1
- package/lib/exceptions/NotFoundException.js +0 -25
- package/lib/exceptions/NotFoundException.js.map +0 -1
- package/lib/exceptions/ServerRequestException.js +0 -17
- package/lib/exceptions/ServerRequestException.js.map +0 -1
- package/lib/exceptions/ThemePropertyException.js +0 -17
- package/lib/exceptions/ThemePropertyException.js.map +0 -1
- package/lib/exceptions/TimeoutException.js +0 -17
- package/lib/exceptions/TimeoutException.js.map +0 -1
- package/lib/exceptions/UnauthorizedException.js +0 -25
- package/lib/exceptions/UnauthorizedException.js.map +0 -1
- package/lib/exceptions/UnsupportedOperationException.js +0 -17
- package/lib/exceptions/UnsupportedOperationException.js.map +0 -1
- package/lib/exceptions/index.js +0 -112
- package/lib/exceptions/index.js.map +0 -1
- package/lib/hooks/index.js +0 -238
- package/lib/hooks/index.js.map +0 -1
- package/lib/hooks/useAllFormsOnModel.js +0 -81
- package/lib/hooks/useAllFormsOnModel.js.map +0 -1
- package/lib/hooks/useAuthentication.js +0 -85
- package/lib/hooks/useAuthentication.js.map +0 -1
- package/lib/hooks/useContent.js +0 -49
- package/lib/hooks/useContent.js.map +0 -1
- package/lib/hooks/useDeepCompareEffect.js +0 -45
- package/lib/hooks/useDeepCompareEffect.js.map +0 -1
- package/lib/hooks/useForm.js +0 -98
- package/lib/hooks/useForm.js.map +0 -1
- package/lib/hooks/useI18n.js +0 -37
- package/lib/hooks/useI18n.js.map +0 -1
- package/lib/hooks/useList.js +0 -151
- package/lib/hooks/useList.js.map +0 -1
- package/lib/hooks/useLookup.js +0 -70
- package/lib/hooks/useLookup.js.map +0 -1
- package/lib/hooks/useModal.js +0 -42
- package/lib/hooks/useModal.js.map +0 -1
- package/lib/hooks/useModelCatalog.js +0 -198
- package/lib/hooks/useModelCatalog.js.map +0 -1
- package/lib/hooks/useModelSelectors.js +0 -87
- package/lib/hooks/useModelSelectors.js.map +0 -1
- package/lib/hooks/useModels.js +0 -45
- package/lib/hooks/useModels.js.map +0 -1
- package/lib/hooks/useModularUI.js +0 -99
- package/lib/hooks/useModularUI.js.map +0 -1
- package/lib/hooks/useModularUIBasic.js +0 -124
- package/lib/hooks/useModularUIBasic.js.map +0 -1
- package/lib/hooks/useModularUIKey.js +0 -17
- package/lib/hooks/useModularUIKey.js.map +0 -1
- package/lib/hooks/useModularUIModel.js +0 -72
- package/lib/hooks/useModularUIModel.js.map +0 -1
- package/lib/hooks/useModularUIRequest.js +0 -25
- package/lib/hooks/useModularUIRequest.js.map +0 -1
- package/lib/hooks/useNotification.js +0 -39
- package/lib/hooks/useNotification.js.map +0 -1
- package/lib/hooks/usePanel.js +0 -67
- package/lib/hooks/usePanel.js.map +0 -1
- package/lib/hooks/usePreference.js +0 -23
- package/lib/hooks/usePreference.js.map +0 -1
- package/lib/hooks/useProgressIndicator.js +0 -39
- package/lib/hooks/useProgressIndicator.js.map +0 -1
- package/lib/hooks/useRouter.js +0 -48
- package/lib/hooks/useRouter.js.map +0 -1
- package/lib/hooks/useSearch.js +0 -28
- package/lib/hooks/useSearch.js.map +0 -1
- package/lib/i18n/Locale.js +0 -131
- package/lib/i18n/Locale.js.map +0 -1
- package/lib/i18n/Locales.js +0 -137
- package/lib/i18n/Locales.js.map +0 -1
- package/lib/i18n/Message.js +0 -49
- package/lib/i18n/Message.js.map +0 -1
- package/lib/i18n/index.js +0 -56
- package/lib/i18n/index.js.map +0 -1
- package/lib/i18n/languages.js +0 -212
- package/lib/i18n/languages.js.map +0 -1
- package/lib/i18n/translations/beinformed_error_messages_en.nl.js +0 -104
- package/lib/i18n/translations/beinformed_error_messages_en.nl.js.map +0 -1
- package/lib/i18n/translations/beinformed_error_messages_nl.nl.js +0 -104
- package/lib/i18n/translations/beinformed_error_messages_nl.nl.js.map +0 -1
- package/lib/i18n/types.js +0 -2
- package/lib/i18n/types.js.map +0 -1
- package/lib/i18n/withMessage.js +0 -22
- package/lib/i18n/withMessage.js.map +0 -1
- package/lib/index.js +0 -73
- package/lib/index.js.map +0 -1
- package/lib/models/actions/ActionCollection.js +0 -87
- package/lib/models/actions/ActionCollection.js.map +0 -1
- package/lib/models/actions/ActionModel.js +0 -191
- package/lib/models/actions/ActionModel.js.map +0 -1
- package/lib/models/application/ApplicationModel.js +0 -153
- package/lib/models/application/ApplicationModel.js.map +0 -1
- package/lib/models/attributes/AttributeCollection.js +0 -272
- package/lib/models/attributes/AttributeCollection.js.map +0 -1
- package/lib/models/attributes/AttributeContent.js +0 -203
- package/lib/models/attributes/AttributeContent.js.map +0 -1
- package/lib/models/attributes/AttributeDataHelper.js +0 -266
- package/lib/models/attributes/AttributeDataHelper.js.map +0 -1
- package/lib/models/attributes/AttributeModel.js +0 -838
- package/lib/models/attributes/AttributeModel.js.map +0 -1
- package/lib/models/attributes/AttributeSetModel.js +0 -101
- package/lib/models/attributes/AttributeSetModel.js.map +0 -1
- package/lib/models/attributes/BooleanAttributeModel.js +0 -295
- package/lib/models/attributes/BooleanAttributeModel.js.map +0 -1
- package/lib/models/attributes/CaptchaAttributeModel.js +0 -60
- package/lib/models/attributes/CaptchaAttributeModel.js.map +0 -1
- package/lib/models/attributes/ChoiceAttributeModel.js +0 -424
- package/lib/models/attributes/ChoiceAttributeModel.js.map +0 -1
- package/lib/models/attributes/ChoiceAttributeOptionCollection.js +0 -307
- package/lib/models/attributes/ChoiceAttributeOptionCollection.js.map +0 -1
- package/lib/models/attributes/ChoiceAttributeOptionModel.js +0 -336
- package/lib/models/attributes/ChoiceAttributeOptionModel.js.map +0 -1
- package/lib/models/attributes/CompositeAttributeChildCollection.js +0 -189
- package/lib/models/attributes/CompositeAttributeChildCollection.js.map +0 -1
- package/lib/models/attributes/CompositeAttributeModel.js +0 -381
- package/lib/models/attributes/CompositeAttributeModel.js.map +0 -1
- package/lib/models/attributes/DatetimeAttributeModel.js +0 -465
- package/lib/models/attributes/DatetimeAttributeModel.js.map +0 -1
- package/lib/models/attributes/HelptextAttributeModel.js +0 -55
- package/lib/models/attributes/HelptextAttributeModel.js.map +0 -1
- package/lib/models/attributes/LabelAttributeModel.js +0 -41
- package/lib/models/attributes/LabelAttributeModel.js.map +0 -1
- package/lib/models/attributes/MemoAttributeModel.js +0 -49
- package/lib/models/attributes/MemoAttributeModel.js.map +0 -1
- package/lib/models/attributes/MoneyAttributeModel.js +0 -49
- package/lib/models/attributes/MoneyAttributeModel.js.map +0 -1
- package/lib/models/attributes/NumberAttributeModel.js +0 -203
- package/lib/models/attributes/NumberAttributeModel.js.map +0 -1
- package/lib/models/attributes/PasswordAttributeModel.js +0 -217
- package/lib/models/attributes/PasswordAttributeModel.js.map +0 -1
- package/lib/models/attributes/StringAttributeModel.js +0 -289
- package/lib/models/attributes/StringAttributeModel.js.map +0 -1
- package/lib/models/attributes/UploadAttributeModel.js +0 -223
- package/lib/models/attributes/UploadAttributeModel.js.map +0 -1
- package/lib/models/attributes/XMLAttributeModel.js +0 -53
- package/lib/models/attributes/XMLAttributeModel.js.map +0 -1
- package/lib/models/attributes/_createAttribute.js +0 -93
- package/lib/models/attributes/_createAttribute.js.map +0 -1
- package/lib/models/attributes/input-constraints/BSNConstraint.js +0 -72
- package/lib/models/attributes/input-constraints/BSNConstraint.js.map +0 -1
- package/lib/models/attributes/input-constraints/ConstraintCollection.js +0 -49
- package/lib/models/attributes/input-constraints/ConstraintCollection.js.map +0 -1
- package/lib/models/attributes/input-constraints/ConstraintModel.js +0 -73
- package/lib/models/attributes/input-constraints/ConstraintModel.js.map +0 -1
- package/lib/models/attributes/input-constraints/DateBoundaryConstraint.js +0 -202
- package/lib/models/attributes/input-constraints/DateBoundaryConstraint.js.map +0 -1
- package/lib/models/attributes/input-constraints/DateTimeDateFormatConstraint.js +0 -76
- package/lib/models/attributes/input-constraints/DateTimeDateFormatConstraint.js.map +0 -1
- package/lib/models/attributes/input-constraints/DateTimeTimeFormatConstraint.js +0 -76
- package/lib/models/attributes/input-constraints/DateTimeTimeFormatConstraint.js.map +0 -1
- package/lib/models/attributes/input-constraints/DatetimeFormatConstraint.js +0 -122
- package/lib/models/attributes/input-constraints/DatetimeFormatConstraint.js.map +0 -1
- package/lib/models/attributes/input-constraints/FileExtensionConstraint.js +0 -66
- package/lib/models/attributes/input-constraints/FileExtensionConstraint.js.map +0 -1
- package/lib/models/attributes/input-constraints/FileSizeConstraint.js +0 -98
- package/lib/models/attributes/input-constraints/FileSizeConstraint.js.map +0 -1
- package/lib/models/attributes/input-constraints/IBANConstraint.js +0 -49
- package/lib/models/attributes/input-constraints/IBANConstraint.js.map +0 -1
- package/lib/models/attributes/input-constraints/MandatoryConstraint.js +0 -53
- package/lib/models/attributes/input-constraints/MandatoryConstraint.js.map +0 -1
- package/lib/models/attributes/input-constraints/MandatoryRangeConstraint.js +0 -85
- package/lib/models/attributes/input-constraints/MandatoryRangeConstraint.js.map +0 -1
- package/lib/models/attributes/input-constraints/NumberBoundaryConstraint.js +0 -172
- package/lib/models/attributes/input-constraints/NumberBoundaryConstraint.js.map +0 -1
- package/lib/models/attributes/input-constraints/NumberFormatConstraint.js +0 -132
- package/lib/models/attributes/input-constraints/NumberFormatConstraint.js.map +0 -1
- package/lib/models/attributes/input-constraints/NumberGroupingConstraint.js +0 -123
- package/lib/models/attributes/input-constraints/NumberGroupingConstraint.js.map +0 -1
- package/lib/models/attributes/input-constraints/PasswordConfirmConstraint.js +0 -72
- package/lib/models/attributes/input-constraints/PasswordConfirmConstraint.js.map +0 -1
- package/lib/models/attributes/input-constraints/PasswordLowerAndUpperCaseConstraint.js +0 -47
- package/lib/models/attributes/input-constraints/PasswordLowerAndUpperCaseConstraint.js.map +0 -1
- package/lib/models/attributes/input-constraints/PasswordMinNumericCharactersConstraint.js +0 -64
- package/lib/models/attributes/input-constraints/PasswordMinNumericCharactersConstraint.js.map +0 -1
- package/lib/models/attributes/input-constraints/PasswordMinSpecialCharactersConstraint.js +0 -64
- package/lib/models/attributes/input-constraints/PasswordMinSpecialCharactersConstraint.js.map +0 -1
- package/lib/models/attributes/input-constraints/PasswordThreeConsecutiveCharactersNotAllowedConstraint.js +0 -77
- package/lib/models/attributes/input-constraints/PasswordThreeConsecutiveCharactersNotAllowedConstraint.js.map +0 -1
- package/lib/models/attributes/input-constraints/RangeConstraint.js +0 -143
- package/lib/models/attributes/input-constraints/RangeConstraint.js.map +0 -1
- package/lib/models/attributes/input-constraints/RegexConstraint.js +0 -67
- package/lib/models/attributes/input-constraints/RegexConstraint.js.map +0 -1
- package/lib/models/attributes/input-constraints/StringLengthConstraint.js +0 -178
- package/lib/models/attributes/input-constraints/StringLengthConstraint.js.map +0 -1
- package/lib/models/attributes/input-constraints/XMLConstraint.js +0 -62
- package/lib/models/attributes/input-constraints/XMLConstraint.js.map +0 -1
- package/lib/models/attributes/layouthint-rules/BaseLayoutHintRule.js +0 -66
- package/lib/models/attributes/layouthint-rules/BaseLayoutHintRule.js.map +0 -1
- package/lib/models/attributes/layouthint-rules/DependentAttribute.js +0 -200
- package/lib/models/attributes/layouthint-rules/DependentAttribute.js.map +0 -1
- package/lib/models/attributes/layouthint-rules/LayoutHintRuleCollection.js +0 -88
- package/lib/models/attributes/layouthint-rules/LayoutHintRuleCollection.js.map +0 -1
- package/lib/models/attributes/layouthint-rules/RemainingTotalUploadSize.js +0 -51
- package/lib/models/attributes/layouthint-rules/RemainingTotalUploadSize.js.map +0 -1
- package/lib/models/base/BaseCollection.js +0 -185
- package/lib/models/base/BaseCollection.js.map +0 -1
- package/lib/models/base/BaseModel.js +0 -149
- package/lib/models/base/BaseModel.js.map +0 -1
- package/lib/models/base/ResourceCollection.js +0 -41
- package/lib/models/base/ResourceCollection.js.map +0 -1
- package/lib/models/base/ResourceModel.js +0 -207
- package/lib/models/base/ResourceModel.js.map +0 -1
- package/lib/models/caseview/CaseViewModel.js +0 -163
- package/lib/models/caseview/CaseViewModel.js.map +0 -1
- package/lib/models/concepts/BusinessScenarioModel.js +0 -122
- package/lib/models/concepts/BusinessScenarioModel.js.map +0 -1
- package/lib/models/concepts/ConceptDetailModel.js +0 -282
- package/lib/models/concepts/ConceptDetailModel.js.map +0 -1
- package/lib/models/concepts/ConceptIndexModel.js +0 -165
- package/lib/models/concepts/ConceptIndexModel.js.map +0 -1
- package/lib/models/concepts/ConceptLinkModel.js +0 -170
- package/lib/models/concepts/ConceptLinkModel.js.map +0 -1
- package/lib/models/concepts/ConceptRelationCollection.js +0 -79
- package/lib/models/concepts/ConceptRelationCollection.js.map +0 -1
- package/lib/models/concepts/ConceptRelationModel.js +0 -113
- package/lib/models/concepts/ConceptRelationModel.js.map +0 -1
- package/lib/models/concepts/ConceptTypeDetailModel.js +0 -128
- package/lib/models/concepts/ConceptTypeDetailModel.js.map +0 -1
- package/lib/models/concepts/SourceReferenceCollection.js +0 -39
- package/lib/models/concepts/SourceReferenceCollection.js.map +0 -1
- package/lib/models/concepts/SourceReferenceModel.js +0 -110
- package/lib/models/concepts/SourceReferenceModel.js.map +0 -1
- package/lib/models/content/ContentIndexModel.js +0 -147
- package/lib/models/content/ContentIndexModel.js.map +0 -1
- package/lib/models/content/ContentLinkModel.js +0 -256
- package/lib/models/content/ContentLinkModel.js.map +0 -1
- package/lib/models/content/ContentModel.js +0 -208
- package/lib/models/content/ContentModel.js.map +0 -1
- package/lib/models/content/ContentTOCModel.js +0 -216
- package/lib/models/content/ContentTOCModel.js.map +0 -1
- package/lib/models/content/ContentTypeModel.js +0 -74
- package/lib/models/content/ContentTypeModel.js.map +0 -1
- package/lib/models/content/SectionModel.js +0 -200
- package/lib/models/content/SectionModel.js.map +0 -1
- package/lib/models/content/SubSectionModel.js +0 -167
- package/lib/models/content/SubSectionModel.js.map +0 -1
- package/lib/models/contentconfiguration/ContentConfiguration.js +0 -75
- package/lib/models/contentconfiguration/ContentConfiguration.js.map +0 -1
- package/lib/models/contentconfiguration/ContentConfigurationElements.js +0 -142
- package/lib/models/contentconfiguration/ContentConfigurationElements.js.map +0 -1
- package/lib/models/contentconfiguration/ContentConfigurationEndResults.js +0 -49
- package/lib/models/contentconfiguration/ContentConfigurationEndResults.js.map +0 -1
- package/lib/models/contentconfiguration/ContentConfigurationQuestions.js +0 -54
- package/lib/models/contentconfiguration/ContentConfigurationQuestions.js.map +0 -1
- package/lib/models/contentconfiguration/ContentConfigurationResults.js +0 -103
- package/lib/models/contentconfiguration/ContentConfigurationResults.js.map +0 -1
- package/lib/models/detail/DetailModel.js +0 -219
- package/lib/models/detail/DetailModel.js.map +0 -1
- package/lib/models/error/ErrorCollection.js +0 -111
- package/lib/models/error/ErrorCollection.js.map +0 -1
- package/lib/models/error/ErrorModel.js +0 -79
- package/lib/models/error/ErrorModel.js.map +0 -1
- package/lib/models/error/ErrorResponse.js +0 -304
- package/lib/models/error/ErrorResponse.js.map +0 -1
- package/lib/models/filters/AssignmentFilterModel.js +0 -176
- package/lib/models/filters/AssignmentFilterModel.js.map +0 -1
- package/lib/models/filters/BaseFilterModel.js +0 -137
- package/lib/models/filters/BaseFilterModel.js.map +0 -1
- package/lib/models/filters/ConceptIndexFilterModel.js +0 -37
- package/lib/models/filters/ConceptIndexFilterModel.js.map +0 -1
- package/lib/models/filters/FilterCollection.js +0 -185
- package/lib/models/filters/FilterCollection.js.map +0 -1
- package/lib/models/filters/FilterModel.js +0 -129
- package/lib/models/filters/FilterModel.js.map +0 -1
- package/lib/models/filters/RangeFilterModel.js +0 -67
- package/lib/models/filters/RangeFilterModel.js.map +0 -1
- package/lib/models/filters/StringFilterModel.js +0 -157
- package/lib/models/filters/StringFilterModel.js.map +0 -1
- package/lib/models/form/FormModel.js +0 -1032
- package/lib/models/form/FormModel.js.map +0 -1
- package/lib/models/form/FormObjectModel.js +0 -475
- package/lib/models/form/FormObjectModel.js.map +0 -1
- package/lib/models/grouping/GroupingModel.js +0 -191
- package/lib/models/grouping/GroupingModel.js.map +0 -1
- package/lib/models/href/Href.js +0 -519
- package/lib/models/href/Href.js.map +0 -1
- package/lib/models/href/ListHref.js +0 -146
- package/lib/models/href/ListHref.js.map +0 -1
- package/lib/models/index.js +0 -686
- package/lib/models/index.js.map +0 -1
- package/lib/models/layouthint/LayoutHintCollection.js +0 -111
- package/lib/models/layouthint/LayoutHintCollection.js.map +0 -1
- package/lib/models/links/LinkCollection.js +0 -162
- package/lib/models/links/LinkCollection.js.map +0 -1
- package/lib/models/links/LinkModel.js +0 -233
- package/lib/models/links/LinkModel.js.map +0 -1
- package/lib/models/links/normalizeLinkJSON.js +0 -107
- package/lib/models/links/normalizeLinkJSON.js.map +0 -1
- package/lib/models/list/ListDetailModel.js +0 -267
- package/lib/models/list/ListDetailModel.js.map +0 -1
- package/lib/models/list/ListHeaderModel.js +0 -95
- package/lib/models/list/ListHeaderModel.js.map +0 -1
- package/lib/models/list/ListItemCollection.js +0 -67
- package/lib/models/list/ListItemCollection.js.map +0 -1
- package/lib/models/list/ListItemModel.js +0 -95
- package/lib/models/list/ListItemModel.js.map +0 -1
- package/lib/models/list/ListModel.js +0 -426
- package/lib/models/list/ListModel.js.map +0 -1
- package/lib/models/lookup/LookupOptionCollection.js +0 -45
- package/lib/models/lookup/LookupOptionCollection.js.map +0 -1
- package/lib/models/lookup/LookupOptionsModel.js +0 -71
- package/lib/models/lookup/LookupOptionsModel.js.map +0 -1
- package/lib/models/modelcatalog/ModelCatalogModel.js +0 -69
- package/lib/models/modelcatalog/ModelCatalogModel.js.map +0 -1
- package/lib/models/modelcatalog/ModelCategoryCollection.js +0 -23
- package/lib/models/modelcatalog/ModelCategoryCollection.js.map +0 -1
- package/lib/models/modelcatalog/ModelCategoryModel.js +0 -60
- package/lib/models/modelcatalog/ModelCategoryModel.js.map +0 -1
- package/lib/models/paging/PagesizeModel.js +0 -56
- package/lib/models/paging/PagesizeModel.js.map +0 -1
- package/lib/models/paging/PagingModel.js +0 -106
- package/lib/models/paging/PagingModel.js.map +0 -1
- package/lib/models/panels/GroupingPanelModel.js +0 -143
- package/lib/models/panels/GroupingPanelModel.js.map +0 -1
- package/lib/models/parameter/Parameter.js +0 -106
- package/lib/models/parameter/Parameter.js.map +0 -1
- package/lib/models/process/ProcessStatusSettingsModel.js +0 -85
- package/lib/models/process/ProcessStatusSettingsModel.js.map +0 -1
- package/lib/models/resolveModel.js +0 -56
- package/lib/models/resolveModel.js.map +0 -1
- package/lib/models/search/CaseSearchModel.js +0 -47
- package/lib/models/search/CaseSearchModel.js.map +0 -1
- package/lib/models/sorting/SortOptionModel.js +0 -113
- package/lib/models/sorting/SortOptionModel.js.map +0 -1
- package/lib/models/sorting/SortingModel.js +0 -123
- package/lib/models/sorting/SortingModel.js.map +0 -1
- package/lib/models/tab/TabModel.js +0 -143
- package/lib/models/tab/TabModel.js.map +0 -1
- package/lib/models/taskgroup/TaskGroupCollection.js +0 -21
- package/lib/models/taskgroup/TaskGroupCollection.js.map +0 -1
- package/lib/models/taskgroup/TaskGroupModel.js +0 -87
- package/lib/models/taskgroup/TaskGroupModel.js.map +0 -1
- package/lib/models/types.js +0 -4
- package/lib/models/types.js.map +0 -1
- package/lib/models/user/UserModel.js +0 -59
- package/lib/models/user/UserModel.js.map +0 -1
- package/lib/models/user/UserProfileModel.js +0 -55
- package/lib/models/user/UserProfileModel.js.map +0 -1
- package/lib/models/user/UserServicesModel.js +0 -126
- package/lib/models/user/UserServicesModel.js.map +0 -1
- package/lib/modularui/Authenticate.js +0 -207
- package/lib/modularui/Authenticate.js.map +0 -1
- package/lib/modularui/CaptchaRequest.js +0 -71
- package/lib/modularui/CaptchaRequest.js.map +0 -1
- package/lib/modularui/ModularUIError.js +0 -30
- package/lib/modularui/ModularUIError.js.map +0 -1
- package/lib/modularui/ModularUIRequest.js +0 -717
- package/lib/modularui/ModularUIRequest.js.map +0 -1
- package/lib/modularui/ModularUIResponse.js +0 -147
- package/lib/modularui/ModularUIResponse.js.map +0 -1
- package/lib/modularui/UploadRequest.js +0 -106
- package/lib/modularui/UploadRequest.js.map +0 -1
- package/lib/modularui/index.js +0 -42
- package/lib/modularui/index.js.map +0 -1
- package/lib/modularui/types.js +0 -2
- package/lib/modularui/types.js.map +0 -1
- package/lib/react/ErrorBoundary.js +0 -56
- package/lib/react/ErrorBoundary.js.map +0 -1
- package/lib/react/ErrorBoundaryFallback.js +0 -38
- package/lib/react/ErrorBoundaryFallback.js.map +0 -1
- package/lib/react/index.js +0 -29
- package/lib/react/index.js.map +0 -1
- package/lib/react/utils.js +0 -30
- package/lib/react/utils.js.map +0 -1
- package/lib/react-client/Init.js +0 -41
- package/lib/react-client/Init.js.map +0 -1
- package/lib/react-client/client.js +0 -244
- package/lib/react-client/client.js.map +0 -1
- package/lib/react-client/contextPath.js +0 -29
- package/lib/react-client/contextPath.js.map +0 -1
- package/lib/react-client/index.js +0 -40
- package/lib/react-client/index.js.map +0 -1
- package/lib/react-client/rehydrate.js +0 -73
- package/lib/react-client/rehydrate.js.map +0 -1
- package/lib/react-server/contextPath.js +0 -7
- package/lib/react-server/contextPath.js.map +0 -1
- package/lib/react-server/createSSRComplete.js +0 -61
- package/lib/react-server/createSSRComplete.js.map +0 -1
- package/lib/react-server/htmlpage.js +0 -54
- package/lib/react-server/htmlpage.js.map +0 -1
- package/lib/react-server/index.js +0 -82
- package/lib/react-server/index.js.map +0 -1
- package/lib/react-server/renderSSRComplete.js +0 -90
- package/lib/react-server/renderSSRComplete.js.map +0 -1
- package/lib/react-server/renderSSRMinimal.js +0 -46
- package/lib/react-server/renderSSRMinimal.js.map +0 -1
- package/lib/react-server/requestInformation.js +0 -64
- package/lib/react-server/requestInformation.js.map +0 -1
- package/lib/react-server/serverNoSSR.js +0 -62
- package/lib/react-server/serverNoSSR.js.map +0 -1
- package/lib/react-server/serverSSR.js +0 -50
- package/lib/react-server/serverSSR.js.map +0 -1
- package/lib/react-server/serverUtil.js +0 -222
- package/lib/react-server/serverUtil.js.map +0 -1
- package/lib/react-theme/ThemeProvider.js +0 -29
- package/lib/react-theme/ThemeProvider.js.map +0 -1
- package/lib/react-theme/createTheme.js +0 -108
- package/lib/react-theme/createTheme.js.map +0 -1
- package/lib/react-theme/index.js +0 -110
- package/lib/react-theme/index.js.map +0 -1
- package/lib/react-theme/types.js +0 -2
- package/lib/react-theme/types.js.map +0 -1
- package/lib/react-theme/useTheme.js +0 -15
- package/lib/react-theme/useTheme.js.map +0 -1
- package/lib/react-theme/utils/background.js +0 -20
- package/lib/react-theme/utils/background.js.map +0 -1
- package/lib/react-theme/utils/colors.js +0 -36
- package/lib/react-theme/utils/colors.js.map +0 -1
- package/lib/react-theme/utils/contrast.js +0 -87
- package/lib/react-theme/utils/contrast.js.map +0 -1
- package/lib/react-theme/utils/corners.js +0 -28
- package/lib/react-theme/utils/corners.js.map +0 -1
- package/lib/react-theme/utils/spacers.js +0 -66
- package/lib/react-theme/utils/spacers.js.map +0 -1
- package/lib/react-theme/utils/themeProps.js +0 -60
- package/lib/react-theme/utils/themeProps.js.map +0 -1
- package/lib/redux/_i18n/I18nActions.js +0 -37
- package/lib/redux/_i18n/I18nActions.js.map +0 -1
- package/lib/redux/_i18n/I18nReducer.js +0 -82
- package/lib/redux/_i18n/I18nReducer.js.map +0 -1
- package/lib/redux/_i18n/index.js +0 -29
- package/lib/redux/_i18n/index.js.map +0 -1
- package/lib/redux/_i18n/types.js +0 -2
- package/lib/redux/_i18n/types.js.map +0 -1
- package/lib/redux/_modularui/ModularUIActions.js +0 -181
- package/lib/redux/_modularui/ModularUIActions.js.map +0 -1
- package/lib/redux/_modularui/ModularUIConnector.js +0 -93
- package/lib/redux/_modularui/ModularUIConnector.js.map +0 -1
- package/lib/redux/_modularui/ModularUIMiddleware.js +0 -107
- package/lib/redux/_modularui/ModularUIMiddleware.js.map +0 -1
- package/lib/redux/_modularui/ModularUIReducer.js +0 -157
- package/lib/redux/_modularui/ModularUIReducer.js.map +0 -1
- package/lib/redux/_modularui/ModularUISelectors.js +0 -264
- package/lib/redux/_modularui/ModularUISelectors.js.map +0 -1
- package/lib/redux/_modularui/ModularUIUtils.js +0 -84
- package/lib/redux/_modularui/ModularUIUtils.js.map +0 -1
- package/lib/redux/_modularui/index.js +0 -86
- package/lib/redux/_modularui/index.js.map +0 -1
- package/lib/redux/_modularui/types.js +0 -2
- package/lib/redux/_modularui/types.js.map +0 -1
- package/lib/redux/_modularui/withModularUI.js +0 -40
- package/lib/redux/_modularui/withModularUI.js.map +0 -1
- package/lib/redux/_router/RouterActions.js +0 -67
- package/lib/redux/_router/RouterActions.js.map +0 -1
- package/lib/redux/_router/RouterConnectors.js +0 -47
- package/lib/redux/_router/RouterConnectors.js.map +0 -1
- package/lib/redux/_router/RouterMiddleware.js +0 -38
- package/lib/redux/_router/RouterMiddleware.js.map +0 -1
- package/lib/redux/_router/RouterReducer.js +0 -20
- package/lib/redux/_router/RouterReducer.js.map +0 -1
- package/lib/redux/_router/index.js +0 -51
- package/lib/redux/_router/index.js.map +0 -1
- package/lib/redux/_router/types.js +0 -2
- package/lib/redux/_router/types.js.map +0 -1
- package/lib/redux/actions/Application.js +0 -67
- package/lib/redux/actions/Application.js.map +0 -1
- package/lib/redux/actions/Authorization.js +0 -52
- package/lib/redux/actions/Authorization.js.map +0 -1
- package/lib/redux/actions/Error.js +0 -76
- package/lib/redux/actions/Error.js.map +0 -1
- package/lib/redux/actions/Form.js +0 -39
- package/lib/redux/actions/Form.js.map +0 -1
- package/lib/redux/actions/FormAttributeSet.js +0 -66
- package/lib/redux/actions/FormAttributeSet.js.map +0 -1
- package/lib/redux/actions/FormAttributeSetRepeatable.js +0 -35
- package/lib/redux/actions/FormAttributeSetRepeatable.js.map +0 -1
- package/lib/redux/actions/FormAutosave.js +0 -60
- package/lib/redux/actions/FormAutosave.js.map +0 -1
- package/lib/redux/actions/FormAutosubmit.js +0 -37
- package/lib/redux/actions/FormAutosubmit.js.map +0 -1
- package/lib/redux/actions/FormAutoupdate.js +0 -37
- package/lib/redux/actions/FormAutoupdate.js.map +0 -1
- package/lib/redux/actions/FormValidations.js +0 -51
- package/lib/redux/actions/FormValidations.js.map +0 -1
- package/lib/redux/actions/Modals.js +0 -22
- package/lib/redux/actions/Modals.js.map +0 -1
- package/lib/redux/actions/ModelCatalog.js +0 -15
- package/lib/redux/actions/ModelCatalog.js.map +0 -1
- package/lib/redux/actions/Notification.js +0 -76
- package/lib/redux/actions/Notification.js.map +0 -1
- package/lib/redux/actions/Preferences.js +0 -129
- package/lib/redux/actions/Preferences.js.map +0 -1
- package/lib/redux/actions/ProgressIndicator.js +0 -42
- package/lib/redux/actions/ProgressIndicator.js.map +0 -1
- package/lib/redux/actions/SignIn.js +0 -89
- package/lib/redux/actions/SignIn.js.map +0 -1
- package/lib/redux/actions/SignOut.js +0 -30
- package/lib/redux/actions/SignOut.js.map +0 -1
- package/lib/redux/actions/index.js +0 -183
- package/lib/redux/actions/index.js.map +0 -1
- package/lib/redux/connectors/Application.js +0 -15
- package/lib/redux/connectors/Application.js.map +0 -1
- package/lib/redux/connectors/Breadcrumb.js +0 -17
- package/lib/redux/connectors/Breadcrumb.js.map +0 -1
- package/lib/redux/connectors/CaseView.js +0 -17
- package/lib/redux/connectors/CaseView.js.map +0 -1
- package/lib/redux/connectors/ConceptDetail.js +0 -18
- package/lib/redux/connectors/ConceptDetail.js.map +0 -1
- package/lib/redux/connectors/ContentBrowser.js +0 -17
- package/lib/redux/connectors/ContentBrowser.js.map +0 -1
- package/lib/redux/connectors/ContentDetail.js +0 -18
- package/lib/redux/connectors/ContentDetail.js.map +0 -1
- package/lib/redux/connectors/ContentDetailSection.js +0 -20
- package/lib/redux/connectors/ContentDetailSection.js.map +0 -1
- package/lib/redux/connectors/Form.js +0 -43
- package/lib/redux/connectors/Form.js.map +0 -1
- package/lib/redux/connectors/FormAttributeSet.js +0 -25
- package/lib/redux/connectors/FormAttributeSet.js.map +0 -1
- package/lib/redux/connectors/ListDetail.js +0 -19
- package/lib/redux/connectors/ListDetail.js.map +0 -1
- package/lib/redux/connectors/Modal.js +0 -28
- package/lib/redux/connectors/Modal.js.map +0 -1
- package/lib/redux/connectors/ModelCatalog.js +0 -17
- package/lib/redux/connectors/ModelCatalog.js.map +0 -1
- package/lib/redux/connectors/Notification.js +0 -23
- package/lib/redux/connectors/Notification.js.map +0 -1
- package/lib/redux/connectors/PanelRenderer.js +0 -29
- package/lib/redux/connectors/PanelRenderer.js.map +0 -1
- package/lib/redux/connectors/Preferences.js +0 -31
- package/lib/redux/connectors/Preferences.js.map +0 -1
- package/lib/redux/connectors/Progress.js +0 -20
- package/lib/redux/connectors/Progress.js.map +0 -1
- package/lib/redux/connectors/ProgressIndicator.js +0 -20
- package/lib/redux/connectors/ProgressIndicator.js.map +0 -1
- package/lib/redux/connectors/QuickSearch.js +0 -25
- package/lib/redux/connectors/QuickSearch.js.map +0 -1
- package/lib/redux/connectors/SignIn.js +0 -25
- package/lib/redux/connectors/SignIn.js.map +0 -1
- package/lib/redux/connectors/SignOut.js +0 -21
- package/lib/redux/connectors/SignOut.js.map +0 -1
- package/lib/redux/connectors/Tab.js +0 -17
- package/lib/redux/connectors/Tab.js.map +0 -1
- package/lib/redux/connectors/index.js +0 -153
- package/lib/redux/connectors/index.js.map +0 -1
- package/lib/redux/index.js +0 -102
- package/lib/redux/index.js.map +0 -1
- package/lib/redux/reducers/AuthReducer.js +0 -57
- package/lib/redux/reducers/AuthReducer.js.map +0 -1
- package/lib/redux/reducers/ErrorReducer.js +0 -20
- package/lib/redux/reducers/ErrorReducer.js.map +0 -1
- package/lib/redux/reducers/ModalsReducer.js +0 -56
- package/lib/redux/reducers/ModalsReducer.js.map +0 -1
- package/lib/redux/reducers/ModelCatalogReducer.js +0 -30
- package/lib/redux/reducers/ModelCatalogReducer.js.map +0 -1
- package/lib/redux/reducers/NotificationReducer.js +0 -41
- package/lib/redux/reducers/NotificationReducer.js.map +0 -1
- package/lib/redux/reducers/PreferencesReducer.js +0 -28
- package/lib/redux/reducers/PreferencesReducer.js.map +0 -1
- package/lib/redux/reducers/ProgressIndicatorReducer.js +0 -53
- package/lib/redux/reducers/ProgressIndicatorReducer.js.map +0 -1
- package/lib/redux/reducers/createReducer.js +0 -33
- package/lib/redux/reducers/createReducer.js.map +0 -1
- package/lib/redux/reducers/index.js +0 -78
- package/lib/redux/reducers/index.js.map +0 -1
- package/lib/redux/selectors/i18n.js +0 -20
- package/lib/redux/selectors/i18n.js.map +0 -1
- package/lib/redux/selectors/index.js +0 -29
- package/lib/redux/selectors/index.js.map +0 -1
- package/lib/redux/selectors/modelcatalog.js +0 -14
- package/lib/redux/selectors/modelcatalog.js.map +0 -1
- package/lib/redux/store/beforeRenderHooks.js +0 -22
- package/lib/redux/store/beforeRenderHooks.js.map +0 -1
- package/lib/redux/store/configureStore.js +0 -46
- package/lib/redux/store/configureStore.js.map +0 -1
- package/lib/redux/types.js +0 -2
- package/lib/redux/types.js.map +0 -1
- package/lib/utils/browser/Cache.js +0 -149
- package/lib/utils/browser/Cache.js.map +0 -1
- package/lib/utils/browser/Cookies.js +0 -38
- package/lib/utils/browser/Cookies.js.map +0 -1
- package/lib/utils/datetime/DateTimeUtil.js +0 -604
- package/lib/utils/datetime/DateTimeUtil.js.map +0 -1
- package/lib/utils/fetch/serverFetch.js +0 -32
- package/lib/utils/fetch/serverFetch.js.map +0 -1
- package/lib/utils/fetch/types.js +0 -2
- package/lib/utils/fetch/types.js.map +0 -1
- package/lib/utils/fetch/universalFetch.js +0 -93
- package/lib/utils/fetch/universalFetch.js.map +0 -1
- package/lib/utils/fetch/xhr.js +0 -356
- package/lib/utils/fetch/xhr.js.map +0 -1
- package/lib/utils/helpers/checkResource.js +0 -46
- package/lib/utils/helpers/checkResource.js.map +0 -1
- package/lib/utils/helpers/createHash.js +0 -29
- package/lib/utils/helpers/createHash.js.map +0 -1
- package/lib/utils/helpers/createHref.js +0 -104
- package/lib/utils/helpers/createHref.js.map +0 -1
- package/lib/utils/helpers/createUUID.js +0 -20
- package/lib/utils/helpers/createUUID.js.map +0 -1
- package/lib/utils/helpers/index.js +0 -102
- package/lib/utils/helpers/index.js.map +0 -1
- package/lib/utils/helpers/objects.js +0 -36
- package/lib/utils/helpers/objects.js.map +0 -1
- package/lib/utils/helpers/repositoryResource.js +0 -24
- package/lib/utils/helpers/repositoryResource.js.map +0 -1
- package/lib/utils/helpers/sanitizeHtml.js +0 -43
- package/lib/utils/helpers/sanitizeHtml.js.map +0 -1
- package/lib/utils/helpers/text.js +0 -23
- package/lib/utils/helpers/text.js.map +0 -1
- package/lib/utils/index.js +0 -106
- package/lib/utils/index.js.map +0 -1
- package/lib/utils/number/DecimalFormat.js +0 -332
- package/lib/utils/number/DecimalFormat.js.map +0 -1
- package/lib/utils/number/formatValue.js +0 -44
- package/lib/utils/number/formatValue.js.map +0 -1
- package/lib/utils/number/parseNumbers.js +0 -69
- package/lib/utils/number/parseNumbers.js.map +0 -1
|
@@ -0,0 +1,451 @@
|
|
|
1
|
+
import { aw as ResourceModel, b9 as ContentTypeData, ba as ContentTypeContributions, b5 as ContentDetailData, b6 as ContentDetailContributions, cR as ModularUIResponse, cb as LinkModel, cO as ModelWithChildModels, by as ErrorResponse, aY as SectionModel, bE as FilterCollection, aX as ContentLinkModel, aZ as SubSectionModel, c8 as Href, c_ as HrefState, au as BaseModel, b$ as FormObjectData, c7 as FormObjectContributions, cP as ModelOptions, ac as AttributeModel, a6 as AttributeContributions, bd as ContentConfiguration, e as AttributeCollection, a9 as MaybeAttributeValue, h as BooleanAttributeModel, C as CaptchaAttributeModel, j as ChoiceAttributeModel, a0 as ChoiceAttributeContributions, o as CompositeAttributeModel, a2 as CompositeAttributeContributions, D as DatetimeAttributeModel, _ as DatetimeAttributeContributions, H as HelptextAttributeModel, L as LabelAttributeModel, G as MemoAttributeModel, N as NumberAttributeModel, Y as NumberAttributeContributions, P as PasswordAttributeModel, I as RangeAttributeModel, a3 as RangeAttributeContributions, S as StringAttributeModel, T as StringAttributeContributions, U as UploadAttributeModel, X as XMLAttributeModel, bw as ErrorCollection, c2 as ErrorObjectData, c3 as MissingObjectData, c5 as AnchorElementData, c0 as FormData, c6 as FormContributions, g as AttributeSetModel, cE as Parameter, cF as ParameterCollection, c1 as SuccessData } from './index-CEg8Nt57.js';
|
|
2
|
+
|
|
3
|
+
declare class ContentTypeModel extends ResourceModel<ContentTypeData, ContentTypeContributions> {
|
|
4
|
+
get type(): string;
|
|
5
|
+
get label(): string;
|
|
6
|
+
get icon(): string | undefined;
|
|
7
|
+
get iconSmall(): string | undefined;
|
|
8
|
+
get iconMedium(): string | undefined;
|
|
9
|
+
get iconLarge(): string | undefined;
|
|
10
|
+
get description(): string | undefined;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Content detail model, represents one section of a source
|
|
15
|
+
*/
|
|
16
|
+
declare class ContentModel extends ResourceModel<ContentDetailData, ContentDetailContributions> {
|
|
17
|
+
private _section;
|
|
18
|
+
private _contentType;
|
|
19
|
+
private _filterCollection;
|
|
20
|
+
constructor(response: ModularUIResponse);
|
|
21
|
+
get type(): string;
|
|
22
|
+
getInitialChildModelLinks(): LinkModel[];
|
|
23
|
+
setChildModels(models: ModelWithChildModels[], _errors: ErrorResponse[]): void;
|
|
24
|
+
get section(): SectionModel;
|
|
25
|
+
get id(): string;
|
|
26
|
+
/**
|
|
27
|
+
* Retrieve available filters on concept toc
|
|
28
|
+
*/
|
|
29
|
+
get filterCollection(): FilterCollection;
|
|
30
|
+
/**
|
|
31
|
+
* Retrieve modelcatalog.js of content toc
|
|
32
|
+
*/
|
|
33
|
+
get entryDate(): string | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* Get conceptType of concept
|
|
36
|
+
*/
|
|
37
|
+
get contentType(): ContentTypeModel | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* Set concept type
|
|
40
|
+
*/
|
|
41
|
+
set contentType(contentType: ContentTypeModel | undefined);
|
|
42
|
+
/**
|
|
43
|
+
* Get content label
|
|
44
|
+
*/
|
|
45
|
+
get label(): string;
|
|
46
|
+
/**
|
|
47
|
+
* Retrieve number of section
|
|
48
|
+
*/
|
|
49
|
+
get number(): string | undefined;
|
|
50
|
+
/**
|
|
51
|
+
* Get content body
|
|
52
|
+
*/
|
|
53
|
+
get body(): string | undefined;
|
|
54
|
+
/**
|
|
55
|
+
* Retrieve child section links
|
|
56
|
+
*/
|
|
57
|
+
get childSectionLinks(): ContentLinkModel[];
|
|
58
|
+
get selfContentLink(): ContentLinkModel;
|
|
59
|
+
/**
|
|
60
|
+
* Get tree of child sections
|
|
61
|
+
*/
|
|
62
|
+
get childSections(): SectionModel[];
|
|
63
|
+
/**
|
|
64
|
+
* set resolved child sections
|
|
65
|
+
*/
|
|
66
|
+
set childSections(sections: SectionModel[]);
|
|
67
|
+
/**
|
|
68
|
+
* Get sub sections
|
|
69
|
+
*/
|
|
70
|
+
get subSections(): SubSectionModel[];
|
|
71
|
+
get relatedConceptsHrefs(): Href<HrefState>[];
|
|
72
|
+
/**
|
|
73
|
+
* Get related concepts link
|
|
74
|
+
*/
|
|
75
|
+
get relatedConceptsHref(): Href<HrefState> | null;
|
|
76
|
+
get referenceHash(): number;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
declare class FormObjectModel extends BaseModel<FormObjectData, FormObjectContributions> implements ModelWithChildModels {
|
|
80
|
+
private _attributeCollection;
|
|
81
|
+
private _contentConfiguration;
|
|
82
|
+
private _errorCollection;
|
|
83
|
+
private _repeatIndex;
|
|
84
|
+
private _dynamicValidationsLoaded;
|
|
85
|
+
constructor(object: FormObjectData, objectContributions: FormObjectContributions, modelOptions?: ModelOptions);
|
|
86
|
+
static createEmpty(formObjectModel: FormObjectModel): FormObjectModel;
|
|
87
|
+
equals(object: FormObjectModel | null, withRepeatIndex?: boolean): boolean;
|
|
88
|
+
getAttributeByAttribute(attribute: AttributeModel): AttributeModel | undefined;
|
|
89
|
+
getAttributeByKey(key: string): AttributeModel | undefined;
|
|
90
|
+
hasAttributeByKey(key: string): boolean;
|
|
91
|
+
/**
|
|
92
|
+
* Get elements from both the missing attributes and the result attributes
|
|
93
|
+
*/
|
|
94
|
+
private getElements;
|
|
95
|
+
/**
|
|
96
|
+
* Map available contributions on the available data. Only use contributions that are needed for the data
|
|
97
|
+
*/
|
|
98
|
+
private getApplicableAttributeContributions;
|
|
99
|
+
/**
|
|
100
|
+
* Recursevily check if an attribute id occurs in the tree of attribute contributions.
|
|
101
|
+
* The complete leaf of the tree is returned when an attribute id matches
|
|
102
|
+
*/
|
|
103
|
+
getAttributesInData(dataElementIds: string[], attributesContributions?: Record<string, AttributeContributions>[]): Record<string, AttributeContributions>[];
|
|
104
|
+
getInitialChildModelLinks(): LinkModel[];
|
|
105
|
+
setChildModels(models: ModelWithChildModels[], errors: ErrorResponse[]): void;
|
|
106
|
+
/**
|
|
107
|
+
* get key
|
|
108
|
+
*/
|
|
109
|
+
get key(): string;
|
|
110
|
+
/**
|
|
111
|
+
* Get content configuration for form objects
|
|
112
|
+
*/
|
|
113
|
+
get contentConfiguration(): ContentConfiguration;
|
|
114
|
+
/**
|
|
115
|
+
*/
|
|
116
|
+
get hasEndResultConfiguration(): boolean;
|
|
117
|
+
/**
|
|
118
|
+
* Indicates if object is dynamic.
|
|
119
|
+
*
|
|
120
|
+
* A subtle difference exists between objects for wizard style instrument dialogs and other objects.
|
|
121
|
+
* In the 'missing object' response, wizard style objects will include only the first attribute(s) to be answered,
|
|
122
|
+
* while other objects will include the complete set of attributes of that object.
|
|
123
|
+
*
|
|
124
|
+
* This difference is condensed in the term of 'dynamic objects': these objects start (in the 'missing object' response)
|
|
125
|
+
* with a very select set of attributes to be answered, and each successive 'missing elements' response will include next attributes to be answered.
|
|
126
|
+
* When an object is dynamic, the form contributions will mention a "dynamicObject": true property.
|
|
127
|
+
*/
|
|
128
|
+
get isDynamic(): boolean;
|
|
129
|
+
/**
|
|
130
|
+
*/
|
|
131
|
+
get hasDynamicValidations(): boolean;
|
|
132
|
+
/**
|
|
133
|
+
* Indicates if object is repeatable
|
|
134
|
+
*/
|
|
135
|
+
get isRepeatable(): boolean;
|
|
136
|
+
get repeatIndex(): number;
|
|
137
|
+
set repeatIndex(repeatIndex: number);
|
|
138
|
+
get maxRepeats(): number;
|
|
139
|
+
get hasFixedNrOfRepeats(): boolean;
|
|
140
|
+
get isRepeatWithUnknownTotal(): boolean;
|
|
141
|
+
get isLastRepeat(): boolean;
|
|
142
|
+
get repeatIndexLabel(): string | undefined;
|
|
143
|
+
/**
|
|
144
|
+
* Get label of form object
|
|
145
|
+
*/
|
|
146
|
+
get label(): string | undefined;
|
|
147
|
+
/**
|
|
148
|
+
* Get introText of form object
|
|
149
|
+
*/
|
|
150
|
+
get introText(): unknown;
|
|
151
|
+
/**
|
|
152
|
+
* Get assistent of form object
|
|
153
|
+
*/
|
|
154
|
+
get assistent(): string | undefined;
|
|
155
|
+
/**
|
|
156
|
+
* Get button labels
|
|
157
|
+
*/
|
|
158
|
+
get buttonLabels(): Record<string, string>;
|
|
159
|
+
/**
|
|
160
|
+
* get attribute collection
|
|
161
|
+
*/
|
|
162
|
+
get attributeCollection(): AttributeCollection;
|
|
163
|
+
set attributeCollection(attributeCollection: AttributeCollection);
|
|
164
|
+
mergeObject(oldObject: FormObjectModel): void;
|
|
165
|
+
/**
|
|
166
|
+
* Update attribute
|
|
167
|
+
*/
|
|
168
|
+
updateAttribute(attribute: AttributeModel, value: MaybeAttributeValue): BooleanAttributeModel | CaptchaAttributeModel | ChoiceAttributeModel<ChoiceAttributeContributions> | CompositeAttributeModel<CompositeAttributeContributions> | DatetimeAttributeModel<DatetimeAttributeContributions> | HelptextAttributeModel | LabelAttributeModel | MemoAttributeModel | NumberAttributeModel<NumberAttributeContributions> | PasswordAttributeModel | RangeAttributeModel<RangeAttributeContributions> | StringAttributeModel<StringAttributeContributions> | UploadAttributeModel | XMLAttributeModel;
|
|
169
|
+
/**
|
|
170
|
+
* Inidicates if Form is changed since a given timestamp (Date.now)
|
|
171
|
+
*/
|
|
172
|
+
isChangedSince(timestamp: number): boolean;
|
|
173
|
+
/**
|
|
174
|
+
* Reset all errors on Form Object
|
|
175
|
+
*/
|
|
176
|
+
resetErrors(): void;
|
|
177
|
+
/**
|
|
178
|
+
* Get error messages
|
|
179
|
+
*/
|
|
180
|
+
get errorCollection(): ErrorCollection;
|
|
181
|
+
/**
|
|
182
|
+
* Registers an error that was received from a server response
|
|
183
|
+
*/
|
|
184
|
+
addServerError(error: ErrorObjectData): void;
|
|
185
|
+
hasServerErrors(): boolean;
|
|
186
|
+
hasErrors(): boolean;
|
|
187
|
+
get isValid(): boolean;
|
|
188
|
+
get dynamicValidationsLoaded(): boolean;
|
|
189
|
+
set dynamicValidationsLoaded(dynamicValidationsLoaded: boolean);
|
|
190
|
+
/**
|
|
191
|
+
* Convert error json from a form service to validation messages on the form object and attributes
|
|
192
|
+
*/
|
|
193
|
+
handleErrorValidations(errors: ErrorObjectData[]): void;
|
|
194
|
+
/**
|
|
195
|
+
* Convert missing json from a form service to mandatory validation constraints and messages
|
|
196
|
+
*/
|
|
197
|
+
handleMissingValidations(missing: {
|
|
198
|
+
anchors: (MissingObjectData | AnchorElementData)[];
|
|
199
|
+
}, errors?: ErrorObjectData[]): void;
|
|
200
|
+
updateValidations(data: FormData): FormObjectModel;
|
|
201
|
+
/**
|
|
202
|
+
* Generate formdata object for current formobject based on formdata of attributes
|
|
203
|
+
*/
|
|
204
|
+
get formdata(): {};
|
|
205
|
+
getFormData(validationData?: boolean): {};
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
declare class FormModel extends ResourceModel<FormData, FormContributions> {
|
|
209
|
+
private _lastUpdate;
|
|
210
|
+
private _completedFormObjects;
|
|
211
|
+
private _currentFormObject;
|
|
212
|
+
private _previouslyEnteredFormObjects;
|
|
213
|
+
private _mergePreviouslyEnteredObjects;
|
|
214
|
+
private _endResultFormObjects;
|
|
215
|
+
private _previousEndResultKeys;
|
|
216
|
+
private _useClientsideValidation;
|
|
217
|
+
private _errorCollection;
|
|
218
|
+
private _redirectLocation;
|
|
219
|
+
private _commit;
|
|
220
|
+
private _isFinished;
|
|
221
|
+
private _isComplete;
|
|
222
|
+
private _success;
|
|
223
|
+
private _parameters;
|
|
224
|
+
private _tokens;
|
|
225
|
+
constructor(modularuiResponse?: ModularUIResponse);
|
|
226
|
+
get type(): string;
|
|
227
|
+
get actiontype(): string;
|
|
228
|
+
getInitialChildModelLinks(): LinkModel[];
|
|
229
|
+
setChildModels(models: ModelWithChildModels[], errors: ErrorResponse[]): void;
|
|
230
|
+
get label(): string;
|
|
231
|
+
/**
|
|
232
|
+
* Get form level button labels
|
|
233
|
+
*/
|
|
234
|
+
get buttonLabels(): Record<string, string>;
|
|
235
|
+
/**
|
|
236
|
+
* @returns button label from contributions;
|
|
237
|
+
*/
|
|
238
|
+
getButtonLabel(buttonType: "cancel" | "previous" | "next" | "finish"): string | undefined;
|
|
239
|
+
/**
|
|
240
|
+
* Get all applicable objects
|
|
241
|
+
*/
|
|
242
|
+
get allObjects(): FormObjectModel[];
|
|
243
|
+
get objectKeys(): string[];
|
|
244
|
+
get numberOfExpectedQuestions(): number;
|
|
245
|
+
/**
|
|
246
|
+
* Has questions configured on form
|
|
247
|
+
*/
|
|
248
|
+
get hasNoQuestionsConfigured(): boolean;
|
|
249
|
+
private addDynamicSchemaToElements;
|
|
250
|
+
private getMissingAnchors;
|
|
251
|
+
/**
|
|
252
|
+
* Create form object based on the data and contributions available in this form
|
|
253
|
+
*/
|
|
254
|
+
createFormObject(): FormObjectModel | null;
|
|
255
|
+
addEmptyFormObject(formObjectModel?: FormObjectModel | null): void;
|
|
256
|
+
getHighestRepeatIndex(formObjectModel: FormObjectModel): number;
|
|
257
|
+
addFormObject(formObjectModel: FormObjectModel): void;
|
|
258
|
+
/**
|
|
259
|
+
* Retrieve a form object by the key
|
|
260
|
+
*/
|
|
261
|
+
getFormObjectByKey(key: string): FormObjectModel | undefined;
|
|
262
|
+
/**
|
|
263
|
+
* Retrieve a form object by a layouthint
|
|
264
|
+
*/
|
|
265
|
+
getFormObjectByLayoutHint(hint: string): FormObjectModel | undefined;
|
|
266
|
+
removeFormObject(formObjectModel?: FormObjectModel | null): void;
|
|
267
|
+
get currentFormObject(): FormObjectModel | null;
|
|
268
|
+
set currentFormObject(formObject: FormObjectModel | null);
|
|
269
|
+
/**
|
|
270
|
+
* Completed objects are previously entered questions
|
|
271
|
+
*/
|
|
272
|
+
get completedFormObjects(): FormObjectModel[];
|
|
273
|
+
/**
|
|
274
|
+
*/
|
|
275
|
+
set completedFormObjects(formObjects: FormObjectModel[]);
|
|
276
|
+
/**
|
|
277
|
+
* Previously entered objects are questions that have been entered before,
|
|
278
|
+
* but are currently not applicable for the form.
|
|
279
|
+
* For example because of previous navigation
|
|
280
|
+
*/
|
|
281
|
+
get previouslyEnteredFormObjects(): FormObjectModel[];
|
|
282
|
+
/**
|
|
283
|
+
*/
|
|
284
|
+
set previouslyEnteredFormObjects(formObjects: FormObjectModel[]);
|
|
285
|
+
/**
|
|
286
|
+
* Handle end results
|
|
287
|
+
*/
|
|
288
|
+
setEndResultFormObjects(): FormObjectModel[];
|
|
289
|
+
get expectsEndResultFormObjects(): boolean;
|
|
290
|
+
get endResultFormObjects(): FormObjectModel[];
|
|
291
|
+
set endResultFormObjects(endResultFormObjects: FormObjectModel[]);
|
|
292
|
+
getEndResultFormObjects(): FormObjectModel[];
|
|
293
|
+
get previousEndResultKeys(): string[];
|
|
294
|
+
set previousEndResultKeys(endResultFormObjectKeys: string[]);
|
|
295
|
+
/**
|
|
296
|
+
* Error handling
|
|
297
|
+
*/
|
|
298
|
+
get isValid(): boolean;
|
|
299
|
+
hasServerErrors(): boolean;
|
|
300
|
+
hasErrors(): boolean;
|
|
301
|
+
/**
|
|
302
|
+
* Add an error to the error collection of this form
|
|
303
|
+
*/
|
|
304
|
+
addServerError(error: ErrorObjectData | ErrorResponse): void;
|
|
305
|
+
/**
|
|
306
|
+
* Reset error messages
|
|
307
|
+
*/
|
|
308
|
+
resetErrors(): void;
|
|
309
|
+
get errorCollection(): ErrorCollection;
|
|
310
|
+
set errorCollection(errorCollection: ErrorCollection);
|
|
311
|
+
/**
|
|
312
|
+
* Indicates if the form needs to be committed
|
|
313
|
+
*/
|
|
314
|
+
get commit(): boolean;
|
|
315
|
+
/**
|
|
316
|
+
*/
|
|
317
|
+
set commit(commit: boolean);
|
|
318
|
+
/**
|
|
319
|
+
* Inidicates if form is finished: Form is completely entered and committed
|
|
320
|
+
*/
|
|
321
|
+
get isFinished(): boolean;
|
|
322
|
+
set isFinished(isFinished: boolean);
|
|
323
|
+
/**
|
|
324
|
+
* Indicates if form is completely entered
|
|
325
|
+
*/
|
|
326
|
+
get isComplete(): boolean;
|
|
327
|
+
set isComplete(isComplete: boolean);
|
|
328
|
+
/**
|
|
329
|
+
* Handle success redirects
|
|
330
|
+
*/
|
|
331
|
+
get successRedirect(): Href<HrefState> | undefined;
|
|
332
|
+
get redirectLocation(): Href<HrefState> | undefined;
|
|
333
|
+
/**
|
|
334
|
+
* Get the result data as plain json object
|
|
335
|
+
*/
|
|
336
|
+
getSuccessData(): Record<string, MaybeAttributeValue> | undefined;
|
|
337
|
+
/**
|
|
338
|
+
* Retrieve an object where each property is a result data attribute set
|
|
339
|
+
*/
|
|
340
|
+
getResultData(): Record<string, AttributeSetModel>;
|
|
341
|
+
get resultData(): Record<string, MaybeAttributeValue> | undefined;
|
|
342
|
+
setParameters(parameters: Parameter[] | undefined): ParameterCollection;
|
|
343
|
+
get parameters(): ParameterCollection;
|
|
344
|
+
set parameters(parameters: ParameterCollection);
|
|
345
|
+
selfhrefNoCommitParam(): Href<HrefState>;
|
|
346
|
+
selfhrefWithCommitParam(): Href<HrefState>;
|
|
347
|
+
/**
|
|
348
|
+
* Create a selfhref including the parameters that are used to start this form
|
|
349
|
+
*/
|
|
350
|
+
get selfhref(): Href<HrefState>;
|
|
351
|
+
/**
|
|
352
|
+
* Handle form tokens to indicate concurrent form use
|
|
353
|
+
*/
|
|
354
|
+
get tokens(): string[];
|
|
355
|
+
/**
|
|
356
|
+
* Replaces all tokens with the given collection of tokens
|
|
357
|
+
*/
|
|
358
|
+
set tokens(tokens: string[]);
|
|
359
|
+
/**
|
|
360
|
+
* Removes all tokens from the form
|
|
361
|
+
*/
|
|
362
|
+
removeTokens(): void;
|
|
363
|
+
setTokens(): void;
|
|
364
|
+
/**
|
|
365
|
+
* Keep track of changed form
|
|
366
|
+
*/
|
|
367
|
+
isChanged(): boolean;
|
|
368
|
+
get lastUpdate(): number;
|
|
369
|
+
set lastUpdate(lastUpdate: number);
|
|
370
|
+
getFormDataObjects(validOnly?: boolean, validationData?: boolean): {
|
|
371
|
+
[x: string]: object;
|
|
372
|
+
}[];
|
|
373
|
+
getFormData(validOnly?: boolean, withConcurrencyToken?: boolean, validationData?: boolean): string;
|
|
374
|
+
/**
|
|
375
|
+
* Used to programmatically overwrite the setting USE_CLIENTSIDE_VALIDATION
|
|
376
|
+
*/
|
|
377
|
+
setUseClientsideValidation(enabled: boolean): void;
|
|
378
|
+
/**
|
|
379
|
+
* Indicates if client side validation is enabled
|
|
380
|
+
*/
|
|
381
|
+
useClientsideValidation(): boolean;
|
|
382
|
+
/**
|
|
383
|
+
* Get form data for submitting
|
|
384
|
+
*/
|
|
385
|
+
get formdata(): string;
|
|
386
|
+
get validationData(): string;
|
|
387
|
+
/**
|
|
388
|
+
* Form navigation: Go one object back (previous button)
|
|
389
|
+
*/
|
|
390
|
+
get hasPreviousStep(): boolean;
|
|
391
|
+
/**
|
|
392
|
+
* Go one form-object back,
|
|
393
|
+
* for repeating object this means go back until we get at a form object that had
|
|
394
|
+
* a different key than the current form object
|
|
395
|
+
*/
|
|
396
|
+
setPreviousObject(): void;
|
|
397
|
+
/**
|
|
398
|
+
* Form navigation: has next step or is last
|
|
399
|
+
*/
|
|
400
|
+
get hasNextStep(): boolean;
|
|
401
|
+
/**
|
|
402
|
+
* Merge existing form with new form
|
|
403
|
+
*/
|
|
404
|
+
update(receivedForm: FormModel): this;
|
|
405
|
+
/**
|
|
406
|
+
* Updates the current form object with new information about the object,
|
|
407
|
+
* like for example a new dynamicschema. Used for autoupdate functionality that makes it possible
|
|
408
|
+
* to update the options of a next missing attribute in a form-tree iq question
|
|
409
|
+
*/
|
|
410
|
+
updateCurrentFormObject(receivedForm: FormModel): void;
|
|
411
|
+
updateValidations(data: FormData): this;
|
|
412
|
+
/**
|
|
413
|
+
* Retrieve success information from response
|
|
414
|
+
*/
|
|
415
|
+
get success(): SuccessData | undefined;
|
|
416
|
+
/**
|
|
417
|
+
* Set success information, contains redirect and event data
|
|
418
|
+
*/
|
|
419
|
+
set success(success: SuccessData | undefined);
|
|
420
|
+
createSuccess(): void;
|
|
421
|
+
/**
|
|
422
|
+
* Process finished form
|
|
423
|
+
*/
|
|
424
|
+
handleFinished(receivedForm: FormModel): void;
|
|
425
|
+
handleRootErrors(errors: ErrorObjectData[]): void;
|
|
426
|
+
/**
|
|
427
|
+
* Process errors from received form§
|
|
428
|
+
*/
|
|
429
|
+
handleErrors(receivedForm: FormModel): void;
|
|
430
|
+
/**
|
|
431
|
+
* Process missing from received form
|
|
432
|
+
*/
|
|
433
|
+
handleMissing(receivedForm: FormModel): void;
|
|
434
|
+
/**
|
|
435
|
+
* Received missing anchors in the response with an object id that is the current form object
|
|
436
|
+
*/
|
|
437
|
+
processMissingErrors(receivedForm: FormModel): FormObjectModel | null;
|
|
438
|
+
handleMissingErrors(receivedForm: FormModel): void;
|
|
439
|
+
handleNewFormObject(receivedForm: FormModel): void;
|
|
440
|
+
/**
|
|
441
|
+
* Indicate if a new form object model should be merged with a previousled entered form object model
|
|
442
|
+
* Set this property to false on the form that receives the new form to skip the merge behavior
|
|
443
|
+
*/
|
|
444
|
+
get mergePreviouslyEnteredObjects(): boolean;
|
|
445
|
+
set mergePreviouslyEnteredObjects(mergePreviouslyEnteredObjects: boolean);
|
|
446
|
+
handlePreviouslyEnteredFormObjects(receivedCurrentFormObject: FormObjectModel, previouslyEnteredFormObjects: FormObjectModel[]): void;
|
|
447
|
+
mergeObjects(newObject: FormObjectModel, oldObject: FormObjectModel): FormObjectModel;
|
|
448
|
+
findAttribute(findMethod: (item: AttributeModel) => boolean): AttributeModel | undefined;
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
export { ContentModel as C, FormModel as F, ContentTypeModel as a, FormObjectModel as b };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=chunk-2MCBBWEA.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{f as m}from"./chunk-UE323PGR.js";import{b as h}from"./chunk-6GV6KLAV.js";var n=h(m(),1);var f=400,i=class e extends Error{id;request;requestOptions;status;response;properties;parameters;constructor(t,r,s){let o=E(t,s);super(o.id),Object.setPrototypeOf(this,e.prototype),this.name=o.id,this.id=o.id,this.request=r,this.requestOptions=s,this.status=r&&r.status?r.status:f,this.response=t,this.properties=o.properties??{},this.parameters=o.param,"captureStackTrace"in Error&&typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,this.constructor)}},E=(e,t)=>{let r={id:"Error.CannotRequestResource",defaultMessage:`Cannot request resource ${t?.url??""} with method ${t?.method??"GET"}`,properties:{},param:void 0};if(!e)return r;if((0,n.default)(e,"error"))return{...r,...e.error};let[s]=Object.keys(e);return(0,n.default)(e[s],"errors")?{...r,...e[s].errors}:r};var u=class extends Error{constructor(t){super(t instanceof SyntaxError?t.message:t),this.name="JsonParseException"}};var a=class extends Error{id;status;constructor(t,r){super(`An unexpected network error occurred, cannot request resource ${t} with method ${r}`),this.name="NetworkException",this.id="NetworkException",this.status=0}};var d=class extends Error{id;status;isReload;constructor(t,r,s=!1){super(`Resource ${t} with method ${r} not found`),this.name="NotFoundException",this.id="NotFoundException",this.status=404,this.isReload=s}};var c=class extends Error{constructor(t,r){super(`Timeout occurred in connection to ${t} with method ${r}.`),this.name="TimeoutException"}};var p=class extends Error{id;status;response;constructor(t,r,s){super(`Cannot request resource ${t} with method ${r}`),this.name="UnauthorizedException",this.id="UnauthorizedException",this.status=401,this.response=s}};export{i as a,u as b,a as c,d,c as e,p as f};
|
|
2
|
+
//# sourceMappingURL=chunk-333J3Q2L.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/exceptions/FetchException.ts","../src/exceptions/JsonParseException.ts","../src/exceptions/NetworkException.ts","../src/exceptions/NotFoundException.ts","../src/exceptions/TimeoutException.ts","../src/exceptions/UnauthorizedException.ts"],"sourcesContent":["import has from \"lodash/has\";\n\nimport { HTTP_METHODS } from \"../constants/Constants\";\n\nimport type { MessageParameters } from \"../types/types\";\nimport type { RequestOptions } from \"../utils/fetch/types\";\nimport type { ModularUIErrorJSON } from \"./types\";\n\nconst CLIENT_ERROR_CODE = 400;\n\nexport class FetchException extends Error {\n id: string;\n request: XMLHttpRequest | undefined;\n requestOptions: RequestOptions | undefined;\n status: number;\n response: ModularUIErrorJSON | undefined;\n properties: MessageParameters;\n parameters: MessageParameters | undefined;\n\n constructor(\n errorResponse: ModularUIErrorJSON | undefined,\n failedRequest?: XMLHttpRequest,\n requestOptions?: RequestOptions,\n ) {\n const errorInfo = getErrorInfo(errorResponse, requestOptions);\n super(errorInfo.id);\n\n Object.setPrototypeOf(this, FetchException.prototype);\n\n this.name = errorInfo.id;\n this.id = errorInfo.id;\n this.request = failedRequest;\n this.requestOptions = requestOptions;\n\n this.status =\n failedRequest && failedRequest.status\n ? failedRequest.status\n : CLIENT_ERROR_CODE;\n\n this.response = errorResponse;\n this.properties = errorInfo.properties ?? {};\n this.parameters = errorInfo.param;\n\n if (\n \"captureStackTrace\" in Error &&\n typeof Error.captureStackTrace === \"function\"\n ) {\n Error.captureStackTrace(this, this.constructor);\n }\n }\n}\n\nconst getErrorInfo = (\n errorResponse: ModularUIErrorJSON | undefined,\n requestOptions: RequestOptions | undefined,\n) => {\n const defaultErrorInfo = {\n id: \"Error.CannotRequestResource\",\n defaultMessage: `Cannot request resource ${\n requestOptions?.url ?? \"\"\n } with method ${requestOptions?.method ?? HTTP_METHODS.GET}`,\n properties: {},\n param: undefined,\n };\n\n if (!errorResponse) {\n return defaultErrorInfo;\n }\n\n if (has(errorResponse, \"error\")) {\n return {\n ...defaultErrorInfo,\n ...errorResponse.error,\n };\n }\n\n const [key] = Object.keys(errorResponse);\n if (has(errorResponse[key], \"errors\")) {\n return {\n ...defaultErrorInfo,\n ...errorResponse[key].errors,\n };\n }\n\n return defaultErrorInfo;\n};\n","export class JsonParseException extends Error {\n constructor(error: SyntaxError | string) {\n super(error instanceof SyntaxError ? error.message : error);\n\n this.name = \"JsonParseException\";\n }\n}\n","export class NetworkException extends Error {\n id: string;\n status: number;\n\n constructor(url: string, method: string) {\n super(\n `An unexpected network error occurred, cannot request resource ${url} with method ${method}`,\n );\n\n this.name = \"NetworkException\";\n this.id = \"NetworkException\";\n this.status = 0;\n }\n}\n","export class NotFoundException extends Error {\n id: string;\n status: number;\n isReload: boolean;\n\n constructor(url: string, method: string, isReload = false) {\n super(`Resource ${url} with method ${method} not found`);\n\n this.name = \"NotFoundException\";\n this.id = \"NotFoundException\";\n this.status = 404;\n this.isReload = isReload;\n }\n}\n","export class TimeoutException extends Error {\n constructor(url: string, method: string) {\n super(`Timeout occurred in connection to ${url} with method ${method}.`);\n\n this.name = \"TimeoutException\";\n }\n}\n","import type { ModularUIErrorJSON } from \"./types\";\n\nexport class UnauthorizedException extends Error {\n id: string;\n status: number;\n response: ModularUIErrorJSON | undefined;\n\n constructor(\n url: string,\n method: string,\n errorResponse: ModularUIErrorJSON | undefined,\n ) {\n super(`Cannot request resource ${url} with method ${method}`);\n\n this.name = \"UnauthorizedException\";\n this.id = \"UnauthorizedException\";\n this.status = 401;\n this.response = errorResponse;\n }\n}\n"],"mappings":"gFAAA,IAAAA,EAAgB,SAQhB,IAAMC,EAAoB,IAEbC,EAAN,MAAMC,UAAuB,KAAM,CACxC,GACA,QACA,eACA,OACA,SACA,WACA,WAEA,YACEC,EACAC,EACAC,EACA,CACA,IAAMC,EAAYC,EAAaJ,EAAeE,CAAc,EAC5D,MAAMC,EAAU,EAAE,EAElB,OAAO,eAAe,KAAMJ,EAAe,SAAS,EAEpD,KAAK,KAAOI,EAAU,GACtB,KAAK,GAAKA,EAAU,GACpB,KAAK,QAAUF,EACf,KAAK,eAAiBC,EAEtB,KAAK,OACHD,GAAiBA,EAAc,OAC3BA,EAAc,OACdJ,EAEN,KAAK,SAAWG,EAChB,KAAK,WAAaG,EAAU,YAAc,CAAC,EAC3C,KAAK,WAAaA,EAAU,MAG1B,sBAAuB,OACvB,OAAO,MAAM,mBAAsB,YAEnC,MAAM,kBAAkB,KAAM,KAAK,WAAW,CAElD,CACF,EAEMC,EAAe,CACnBJ,EACAE,IACG,CACH,IAAMG,EAAmB,CACvB,GAAI,8BACJ,eAAgB,2BACdH,GAAgB,KAAO,EACzB,gBAAgBA,GAAgB,QAAU,KAAgB,GAC1D,WAAY,CAAC,EACb,MAAO,MACT,EAEA,GAAI,CAACF,EACH,OAAOK,EAGT,MAAI,EAAAC,SAAIN,EAAe,OAAO,EAC5B,MAAO,CACL,GAAGK,EACH,GAAGL,EAAc,KACnB,EAGF,GAAM,CAACO,CAAG,EAAI,OAAO,KAAKP,CAAa,EACvC,SAAI,EAAAM,SAAIN,EAAcO,CAAG,EAAG,QAAQ,EAC3B,CACL,GAAGF,EACH,GAAGL,EAAcO,CAAG,EAAE,MACxB,EAGKF,CACT,ECrFO,IAAMG,EAAN,cAAiC,KAAM,CAC5C,YAAYC,EAA6B,CACvC,MAAMA,aAAiB,YAAcA,EAAM,QAAUA,CAAK,EAE1D,KAAK,KAAO,oBACd,CACF,ECNO,IAAMC,EAAN,cAA+B,KAAM,CAC1C,GACA,OAEA,YAAYC,EAAaC,EAAgB,CACvC,MACE,iEAAiED,CAAG,gBAAgBC,CAAM,EAC5F,EAEA,KAAK,KAAO,mBACZ,KAAK,GAAK,mBACV,KAAK,OAAS,CAChB,CACF,ECbO,IAAMC,EAAN,cAAgC,KAAM,CAC3C,GACA,OACA,SAEA,YAAYC,EAAaC,EAAgBC,EAAW,GAAO,CACzD,MAAM,YAAYF,CAAG,gBAAgBC,CAAM,YAAY,EAEvD,KAAK,KAAO,oBACZ,KAAK,GAAK,oBACV,KAAK,OAAS,IACd,KAAK,SAAWC,CAClB,CACF,ECbO,IAAMC,EAAN,cAA+B,KAAM,CAC1C,YAAYC,EAAaC,EAAgB,CACvC,MAAM,qCAAqCD,CAAG,gBAAgBC,CAAM,GAAG,EAEvE,KAAK,KAAO,kBACd,CACF,ECJO,IAAMC,EAAN,cAAoC,KAAM,CAC/C,GACA,OACA,SAEA,YACEC,EACAC,EACAC,EACA,CACA,MAAM,2BAA2BF,CAAG,gBAAgBC,CAAM,EAAE,EAE5D,KAAK,KAAO,wBACZ,KAAK,GAAK,wBACV,KAAK,OAAS,IACd,KAAK,SAAWC,CAClB,CACF","names":["import_has","CLIENT_ERROR_CODE","FetchException","_FetchException","errorResponse","failedRequest","requestOptions","errorInfo","getErrorInfo","defaultErrorInfo","has","key","JsonParseException","error","NetworkException","url","method","NotFoundException","url","method","isReload","TimeoutException","url","method","UnauthorizedException","url","method","errorResponse"]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a as L}from"./chunk-YOBCFXEM.js";import{b as g,c as h}from"./chunk-BTDN4ZDB.js";import{f as H}from"./chunk-333J3Q2L.js";import{Ea as j,Fa as B,Ga as z,Ia as V,Ka as G,La as W,Ua as Y,Wa as Q,Xa as M,Ya as K,bb as v,db as u,e as w,eb as X,j as I,k as N,o as $,pb as Z,rb as tt,s as J,ub as et,vb as ot,wb as it,x as q,xb as rt,yb as nt}from"./chunk-LCMAAW7B.js";import{l as U}from"./chunk-KCZQQTX6.js";import{a as D,b as p}from"./chunk-VIKUDFQV.js";import{a}from"./chunk-VGAPPKHA.js";import{A as S,h as y,o as P,p as T,q as F,r as O,s as k,v as l,w as d}from"./chunk-OBB3YOFC.js";import{g as m}from"./chunk-UE323PGR.js";import{b as E,h as A,q as R}from"./chunk-6GV6KLAV.js";var st=class{_isBasicAuthentication;_authenticationType;constructor(){this._isBasicAuthentication=!1,this._authenticationType=this.getAuthenticationType()}getAuthenticationType(){let t=P(),e=R[t];return!e||e==="JAAS"?"JAAS":e==="PAC4J_FORM"||t.includes("FormClient")?"PAC4J_FORM":e==="PAC4J_BASIC"||t.includes("IndirectBasicClient")?"PAC4J_BASIC":"PAC4J_INDIRECT"}get authenticationType(){return this._authenticationType}set authenticationType(t){this._authenticationType=t}get isBasicAuthentication(){return this._isBasicAuthentication||this.authenticationType==="PAC4J_BASIC"}set isBasicAuthentication(t){this._isBasicAuthentication=t}requestLogin(){return h({url:`${l()}/login`,method:"GET",headers:{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded"}})}initLogin(t){return this.isBasicAuthentication||!t?Promise.resolve(!0):this.requestLogin().catch(e=>(e instanceof H&&(this.isBasicAuthentication=!0),Promise.resolve({})))}login(t,e){switch(this.authenticationType){case"PAC4J_FORM":return this.doFormLogin(t,e);case"PAC4J_BASIC":return this.doBasicAuthentication(t,e);case"PAC4J_INDIRECT":return Promise.resolve();default:return this.doJaasAuthentication(t,e)}}getFormLoginUrl(){switch(this.authenticationType){case"PAC4J_BASIC":return`${l()}${T("DirectBasicAuthClient")}`;case"PAC4J_FORM":return`${l()}${T("FormClient")}`;case"PAC4J_INDIRECT":return"";default:return`${l()}/j_security_check`}}getFormLoginData(t,e){let i=encodeURIComponent(t),r=encodeURIComponent(e);switch(this.authenticationType){case"PAC4J_BASIC":case"PAC4J_FORM":return`${F()}=${i}&${O()}=${r}`;case"JAAS":return`j_username=${i}&j_password=${r}`;default:return""}}doFormLogin(t,e){return h({url:this.getFormLoginUrl(),method:"POST",headers:{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded"},data:this.getFormLoginData(t,e)})}doBasicAuthentication(t,e){return p.addItem("basic",btoa(`${t}:${e}`)),this.requestLogin()}doJaasAuthentication(t,e){return this.initLogin(!0).then(()=>this.isBasicAuthentication?(p.removeItem("basic-ok"),this.doBasicAuthentication(t,e).then(()=>{p.addItem("basic-ok",!0)})):this.doFormLogin(t,e))}getLogoutUrl(){let t=P();return!t||t==="JAAS"?`${l()}/Logoff`:`${l()}${k()}`}redirectToLogout(t){p.clear();let e=window.location.origin,i=t?.startsWith("http")?t:`${e}${l()}`;window.location.assign(this.getLogoutUrl()+"?url="+i)}logout(){return h({url:this.getLogoutUrl()}).then(t=>(p.clear(),t))}};var at=class{_tokenId;_image;_origin="";_contextPath=d();CaptchaRequest(t){this._origin=t?.origin||"",this._contextPath=t?.contextPath||d()}captchaResponse(t){return this._tokenId="tokenId"in t?t.tokenId:this._tokenId,this._image="image"in t?t.image:this._image,{tokenId:this._tokenId,image:this._image,valid:"valid"in t?t.valid:!1,error:"error"in t?t.error:null}}init(){return g({url:S(this._contextPath,this._origin)}).then(t=>this.captchaResponse(t))}send(t){return g({url:S(this._contextPath,this._origin),method:"POST",data:{tokenId:this._tokenId??"",answer:t??""}}).then(e=>this.captchaResponse(e)).catch(e=>this.captchaResponse(e.response))}refresh(){return this.init()}};var f=class o extends Error{response;href;constructor(t,e,i){super(t),Object.setPrototypeOf(this,o.prototype),this.response=e,this.href=i,"captureStackTrace"in Error&&typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(t).stack}get resource(){return this.href}};var lt=E(D(),1);var b=[{name:"Application",isMatch:({resourcetype:o})=>o==="Application",Model:z},{name:"Tab",isMatch:({resourcetype:o})=>o.endsWith("Tab")||o.endsWith("KnowledgeBank"),Model:rt},{name:"ListDetail",isMatch:({resourcetype:o})=>{let t=o.toLowerCase();return t.endsWith("listdetail")||t.endsWith("listpaneldetail")||t.endsWith("datastorepaneldetail")},Model:X},{name:"List",isMatch:({resourcetype:o})=>o.endsWith("List")||o.endsWith("ListPanel")||o.endsWith("RelatedDataStorePanel")||o.endsWith("RelatedDatastorePanel")||["list-related-cases","RecordPanel","EventHistoryPanel","NotePanel","AppointmentPanel","DocumentPanel","AssignmentPanel"].includes(o),Model:Z},{name:"GroupingPanel",isMatch:({resourcetype:o})=>["GroupingPanel","CaseTabGroupingPanel","TabGroupingPanel"].includes(o),Model:ot},{name:"CaseSearch",isMatch:({resourcetype:o})=>o==="CaseSearch",Model:it},{name:"CaseView",isMatch:({resourcetype:o})=>o==="CaseView",Model:W},{name:"Detail",isMatch:({resourcetype:o})=>o.endsWith("DetailPanel")||["Detail","CasePropertiesPanel","CasePropertiesPanelDetail"].includes(o),Model:V},{name:"TaskGroup",isMatch:({resourcetype:o})=>o==="TaskGroup",Model:G},{name:"Form",isMatch:({resourcetype:o})=>o==="Form",Model:u},{name:"User",isMatch:({resourcetype:o})=>o==="userdata",Model:j},{name:"UserProfile",isMatch:({resourcetype:o})=>o==="userdata",Model:nt},{name:"UserServices",isMatch:({resourcetype:o})=>o==="user_services",Model:B},{name:"ModelCatalog",isMatch:({resourcetype:o})=>o==="ModelCatalog",Model:et},{name:"ConceptIndex",isMatch:({resourcetype:o})=>o==="ConceptSearch"||o.toLowerCase()==="relatedconcepts",Model:Y},{name:"ConceptDetail",isMatch:({resourcetype:o})=>o==="ConceptDetail",Model:J},{name:"ConceptTypeDetail",isMatch:({resourcetype:o})=>o==="ConceptTypeDetail",Model:N},{name:"ContentIndex",isMatch:({resourcetype:o})=>o==="ContentSearch",Model:Q},{name:"ContentTOC",isMatch:({resourcetype:o})=>o==="ContentTOC",Model:K},{name:"Content",isMatch:({resourcetype:o})=>o==="ContentDetail",Model:M},{name:"ContentType",isMatch:({resourcetype:o})=>o==="ContentTypeDetail",Model:$},{name:"LookupOptions",isMatch:({resourcetype:o})=>o==="lookupOptions",Model:tt}];var C=class{static resolve(t,e,i=!1){if(!t)throw new a("No data or contribution available, cannot resolve model");if(!(0,lt.has)(t.contributions,"resourcetype"))throw new a(`Contributions has wrong format, missing resourcetype property in contributions of ${t.requestHref?.toString()}`);if(e){let n=Array.isArray(e)?e:[e];return n.length===1||i?n[0]:b.find(s=>s.isMatch(t)&&n.includes(s.Model))?.Model}return b.find(n=>n.isMatch(t))?.Model}};var ct=E(D(),1);import dt from"deepmerge";import{klona as pt}from"klona/full";var ht=class o{_response=new w;_href;_options;_targetModel;_forceTargetModel=!1;_contributionsHref;_locale="en";_method="GET";_progressEvent;_origin="";_contextPath=d();_layoutHintProcessor;constructor(t,e={}){if(!t)throw new a("You must pass a href to the resource that is requested");this._href=typeof t=="string"?new U(t):t,this._options=e,this._layoutHintProcessor=new L(this._origin,this._contextPath,this.options),this._response=new w,this._response.requestHref=this.href,this.locale=this.getRequestLocale(e.locale),this._response.parameters=this.href.parameters.all,this.contextPath=e.contextPath||this.href.contextPath,this.origin=e.origin||this.href.origin,this._targetModel=e.targetModel,this.method=e.method||this.href.method}getRequestLocale(t){return t||typeof navigator<"u"&&navigator?.language&&navigator.language.split("-")[0]||"en"}get origin(){return this._origin}set origin(t){this._origin=t??"",this._response.origin=t??"",this._layoutHintProcessor.setOrigin(this._origin)}get contextPath(){return this._contextPath}set contextPath(t){let e=t??d();this._contextPath=e,this._response.contextPath=e,this._layoutHintProcessor.setContextPath(e)}get contributionsHref(){return this._contributionsHref}set contributionsHref(t){this._contributionsHref=t}set locale(t){this._locale=t,this._response.locale=t,this._layoutHintProcessor.setRequestOptions(this.options)}get locale(){return this._locale}get response(){return this._response}set href(t){this._href=t}get href(){return this._href}set method(t){this._method=t}get method(){return this._method}get options(){return{...this._options,locale:this.locale,method:this.method}}set options(t){this._options=t,this._layoutHintProcessor.setRequestOptions(t)}get requestOptions(){let{targetModel:t,forceTargetModel:e,updateHandler:i,childmodels:r,isValidationRequest:n,removeOnUnmount:c,...s}=this.options;return s}get withChildModels(){return!("childmodels"in this.options)||this.options.childmodels===!0}set targetModel(t){this._targetModel=t}get targetModel(){return this._targetModel}set forceTargetModel(t){this._forceTargetModel=t??!1}get forceTargetModel(){return this._forceTargetModel}resolveModel(){let t=C.resolve(this.response,this.targetModel,this.forceTargetModel);if(t)return t;let e=this.href.toString(),i=this.response?.resourcetype||"unknown";if(this.targetModel){let r=Array.isArray(this.targetModel)?this.targetModel.map(n=>n.type||n.name).join(", "):this.targetModel.type||this.targetModel.name;throw new m(`Cannot find a matching model for URL: '${e}', resourcetype: '${i}'. Available overrides: [${r}]`)}throw new m(`No JavaScript model is applicable for the request to ${e}. Response resourcetype: '${i}'.`)}createModel(){let t=this.resolveModel();return new t(this.response)}processContributionsService(t){if(!(0,ct.isPlainObject)(t))throw new a("Missing contributions data or contributions is not JSON");if(typeof t=="object"&&t!=null){let e=t,[i]=Object.keys(e),r=e[i];i==="error"&&this.handleContributionsError(r),typeof r=="object"&&r!=null&&(this.response.key in r||(this.response.key=i),this.response.contributions=r)}}handleContributionsError(t){let e=t.properties?.message??"Error in contribution";throw new f(e,t,this.contributionsHref)}handleDataError(t){if(typeof t=="object"&&t.properties){let e=t.properties?.message??"Error in data";throw new f(e,t,this.href.absolutepath.toString())}throw new a(JSON.stringify(t))}handleData(t,e){this.response.key=t,this.response.data=e;let i=e?._links;if(!i)throw new a(`No _links object found in the data of ${this.href.toString()}`);if(i?.contributions)this.contributionsHref=i.contributions.href;else if(Array.isArray(i)&&i[0].contributions)this.contributionsHref=i[0].contributions.href;else throw new a(`Contributions link not found for data with key ${t}`)}processDataService(t){if(typeof t!="object"||t===null)throw new a("Missing data or data is not JSON");let e=t,[i]=Object.keys(e),r=e[i];if(i==="error")this.handleDataError(r);else{let[n]=Object.keys(t);this.handleData(n,r)}}fetchContributionsService(){if(!this.contributionsHref)throw new m("Missing a contributions href");return h({url:`${this.origin}${this.contextPath}${this.contributionsHref}`,cache:!0,locale:this.options.locale})}fetchDataService(){return h({...this.requestOptions,url:`${this.origin}${this.contextPath}${this.href.path}`,params:this.href.getQuerystringForModularUI(),locale:this.options.locale,onProgress:this.onProgress})}set onProgress(t){this._progressEvent=t}get onProgress(){return this._progressEvent}getDynamicValidationData(t){let e=typeof this.options.data=="string"?JSON.parse(this.options.data):this.options.data;if(t instanceof u){let i=JSON.parse(t.validationData);return JSON.stringify(dt(e||{},i))}return JSON.stringify(e)??"{}"}async loadDynamicValidations(t){if(!this.options.isValidationRequest&&y("USE_INSTANT_SERVER_VALIDATION")&&t instanceof u&&t.currentFormObject?.hasDynamicValidations){let e=this.href.setParameter("commit","false"),i=await h({...this.requestOptions,url:`${this.origin}${this.contextPath}${this.href.path}`,params:e.getQuerystringForModularUI(),data:this.getDynamicValidationData(t)});if(i==null||typeof i!="object")return t;let r=i,[n]=Object.keys(r);return t.updateValidations(r[n])}return t}fetchFromCache(){return this.options={...this.options,cache:!0},this.fetch()}fetchChildModels(t){let i=t.getInitialChildModelLinks().map(r=>{let n=new o(r.href,{locale:this.locale});return r.targetModel&&(n.targetModel=r.targetModel),r.isCacheable?n.fetchFromCache():n.fetch()});return Promise.allSettled(i).then(r=>{let n=[],c=[];return r.forEach(s=>{if(s.status==="rejected"){let{reason:_}=s;_.name!=="Error.ChangePasswordRequired"&&console.debug("Unexpected error when retrieving child model:",_),c.push(new v(_,"",{origin:this.origin,contextPath:this.contextPath}))}else n.push(s.value)}),t instanceof I&&t.addChildModels(n,c),t})}async fetchContent(t){let e=await this.fetchFromCache();return t&&e instanceof M&&e.childSectionLinks.length>0?this.fetchContentChildSections(e):e}async fetchContentChildSections(t){let e=pt(t),i=await Promise.all(t.childSectionLinks.map(r=>{let n=r.selfhref.addParameter(A,t.entryDate);return new o(n,{locale:this.locale}).fetchContent(!0)}));return e.childSections=i.filter(r=>r instanceof q),e}async fetch(){let t=await this.fetchDataService();if(t==null)throw new Error(`No data received for ${this.href.toString()}`);this.processDataService(t);let e=await this.fetchContributionsService();if(e==null)throw new Error(`No contributions data received for ${this.contributionsHref}`);this.processContributionsService(e),await this._layoutHintProcessor.processAsyncLayoutHints(this.response);let i=this.createModel(),r=await this.loadDynamicValidations(i);return this.withChildModels?await this.fetchChildModels(r):r}post(t){return this.method="POST",this.options={...this.options,data:t},this.fetch()}postForm(t){return this.method="POST",this.options={...this.options,data:t.formdata},this.fetch().then(e=>e instanceof u?t.update(e):t)}fetchSync(){let t={headers:{"Accept-Language":this.locale}},e=dataFetcher.fetch(this.href.toString(),t);if(e==null)throw new Error(`No data received for ${this.href.toString()}`);if(this.processDataService(JSON.parse(e)),this.contributionsHref==null)throw new Error(`No constributions received for ${this.href.toString()}`);let i=dataFetcher.fetch(this.contributionsHref.toString(),t);if(i==null)throw new Error(`No constributions received for ${this.contributionsHref.toString()}`);this.processContributionsService(JSON.parse(i));let r=this.createModel(),c=r.getInitialChildModelLinks().map(s=>new o(s.href,{locale:this.locale}).fetchSync());return r instanceof I&&r.addChildModels(c,[]),r}};export{st as a,at as b,f as c,C as d,ht as e};
|
|
2
|
+
//# sourceMappingURL=chunk-5BR5HMNQ.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/modularui/Authenticate.ts","../src/modularui/CaptchaRequest.ts","../src/modularui/ModularUIError.ts","../src/modularui/ModelResolver.ts","../src/modularui/ModelRegistry.ts","../src/modularui/ModularUIRequest.ts"],"sourcesContent":["import { HTTP_METHODS, INTERNAL_LOGIN_TYPE } from \"../constants/Constants\";\nimport { UnauthorizedException } from \"../exceptions/UnauthorizedException\";\nimport { getContextPath } from \"../settings/Paths\";\nimport {\n loginPasswordField,\n loginPath,\n loginType,\n loginUsernameField,\n logoutPath,\n} from \"../settings/Settings\";\nimport { universalFetch } from \"../utils/fetch/universalFetch\";\nimport { Cache } from \"../utils/storage/Cache\";\n\nexport class Authenticate {\n private _isBasicAuthentication: boolean;\n private _authenticationType: INTERNAL_LOGIN_TYPE;\n\n constructor() {\n this._isBasicAuthentication = false;\n this._authenticationType = this.getAuthenticationType();\n }\n\n getAuthenticationType() {\n const type = loginType();\n\n const enumType =\n INTERNAL_LOGIN_TYPE[type as keyof typeof INTERNAL_LOGIN_TYPE];\n\n if (!enumType || enumType === INTERNAL_LOGIN_TYPE.JAAS) {\n return INTERNAL_LOGIN_TYPE.JAAS;\n }\n\n if (\n enumType === INTERNAL_LOGIN_TYPE.PAC4J_FORM ||\n type.includes(\"FormClient\")\n ) {\n return INTERNAL_LOGIN_TYPE.PAC4J_FORM;\n } else if (\n enumType === INTERNAL_LOGIN_TYPE.PAC4J_BASIC ||\n type.includes(\"IndirectBasicClient\")\n ) {\n return INTERNAL_LOGIN_TYPE.PAC4J_BASIC;\n }\n\n return INTERNAL_LOGIN_TYPE.PAC4J_INDIRECT;\n }\n\n get authenticationType() {\n return this._authenticationType;\n }\n\n set authenticationType(authenticationType: INTERNAL_LOGIN_TYPE) {\n this._authenticationType = authenticationType;\n }\n\n get isBasicAuthentication() {\n return (\n this._isBasicAuthentication ||\n this.authenticationType === INTERNAL_LOGIN_TYPE.PAC4J_BASIC\n );\n }\n\n set isBasicAuthentication(isBasicAuthentication: boolean) {\n this._isBasicAuthentication = isBasicAuthentication;\n }\n\n requestLogin() {\n return universalFetch({\n url: `${getContextPath()}/login`,\n method: HTTP_METHODS.GET,\n headers: {\n Accept: \"application/json\",\n \"Content-Type\": \"application/x-www-form-urlencoded\",\n },\n });\n }\n\n initLogin(initLogin: boolean) {\n if (this.isBasicAuthentication || !initLogin) {\n return Promise.resolve(true);\n }\n\n return this.requestLogin().catch((error) => {\n // when an unauthorizedexception is received on a request to the login service,\n // this indicates a basic authorization scenario\n // in case of form based authentication other exceptions are thrown\n if (error instanceof UnauthorizedException) {\n this.isBasicAuthentication = true;\n }\n\n return Promise.resolve({});\n });\n }\n\n login(username: string, password: string) {\n switch (this.authenticationType) {\n case INTERNAL_LOGIN_TYPE.PAC4J_FORM:\n return this.doFormLogin(username, password);\n case INTERNAL_LOGIN_TYPE.PAC4J_BASIC:\n return this.doBasicAuthentication(username, password);\n case INTERNAL_LOGIN_TYPE.PAC4J_INDIRECT:\n // pac4j should handle this\n return Promise.resolve();\n default:\n return this.doJaasAuthentication(username, password);\n }\n }\n\n getFormLoginUrl() {\n switch (this.authenticationType) {\n case INTERNAL_LOGIN_TYPE.PAC4J_BASIC:\n return `${getContextPath()}${loginPath(\"DirectBasicAuthClient\")}`;\n case INTERNAL_LOGIN_TYPE.PAC4J_FORM:\n return `${getContextPath()}${loginPath(\"FormClient\")}`;\n case INTERNAL_LOGIN_TYPE.PAC4J_INDIRECT:\n //pac4j should handle this\n return \"\";\n default:\n return `${getContextPath()}/j_security_check`;\n }\n }\n\n getFormLoginData(username: string, password: string) {\n const encodedUsername = encodeURIComponent(username);\n const encodedPassword = encodeURIComponent(password);\n\n switch (this.authenticationType) {\n case INTERNAL_LOGIN_TYPE.PAC4J_BASIC:\n case INTERNAL_LOGIN_TYPE.PAC4J_FORM:\n return `${loginUsernameField()}=${encodedUsername}&${loginPasswordField()}=${encodedPassword}`;\n case INTERNAL_LOGIN_TYPE.JAAS:\n return `j_username=${encodedUsername}&j_password=${encodedPassword}`;\n default:\n return \"\";\n }\n }\n\n doFormLogin(username: string, password: string) {\n return universalFetch({\n url: this.getFormLoginUrl(),\n method: HTTP_METHODS.POST,\n headers: {\n Accept: \"application/json\",\n \"Content-Type\": \"application/x-www-form-urlencoded\",\n },\n data: this.getFormLoginData(username, password),\n });\n }\n\n doBasicAuthentication(username: string, password: string) {\n Cache.addItem(\"basic\", btoa(`${username}:${password}`));\n return this.requestLogin();\n }\n\n doJaasAuthentication(username: string, password: string) {\n return this.initLogin(true).then(() => {\n if (this.isBasicAuthentication) {\n Cache.removeItem(\"basic-ok\");\n return this.doBasicAuthentication(username, password).then(() => {\n Cache.addItem(\"basic-ok\", true);\n });\n }\n return this.doFormLogin(username, password);\n });\n }\n\n getLogoutUrl() {\n const type = loginType();\n\n if (!type || type === INTERNAL_LOGIN_TYPE.JAAS) {\n return `${getContextPath()}/Logoff`;\n }\n\n return `${getContextPath()}${logoutPath()}`;\n }\n\n /**\n * Browser redirect to the logout url. (no xmlhttp)\n */\n redirectToLogout(postRedirectUrl?: string) {\n Cache.clear();\n\n const origin = window.location.origin;\n const redirectUrl = postRedirectUrl?.startsWith(\"http\")\n ? postRedirectUrl\n : `${origin}${getContextPath()}`;\n\n window.location.assign(this.getLogoutUrl() + \"?url=\" + redirectUrl);\n }\n\n /**\n * Logout the user with xmlhttp\n */\n logout() {\n return universalFetch({\n url: this.getLogoutUrl(),\n }).then((response) => {\n // clear cache because of cached contributions\n Cache.clear();\n return response;\n });\n }\n}\n","import { HTTP_METHODS } from \"../constants/Constants\";\nimport { getCaptchaPath, getContextPathModularUI } from \"../settings/Paths\";\nimport { xhr } from \"../utils/fetch/xhr\";\n\ninterface CaptchaInitialResponse {\n tokenId: string;\n image: string;\n}\n\ninterface CaptchaValidResponse {\n valid: boolean;\n}\n\ninterface CaptchaInvalidResponse {\n tokenId: string;\n image: string;\n valid: boolean;\n error: { id: string };\n}\n\ntype PossibleCaptchaResponse =\n | CaptchaInitialResponse\n | CaptchaValidResponse\n | CaptchaInvalidResponse;\n\ninterface CaptchaRequestOptions {\n origin?: string;\n contextPath?: string;\n}\n\nexport class CaptchaRequest {\n private _tokenId: string | undefined;\n private _image: string | undefined;\n private _origin = \"\";\n private _contextPath: string = getContextPathModularUI();\n\n CaptchaRequest(options?: CaptchaRequestOptions) {\n this._origin = options?.origin || \"\";\n this._contextPath = options?.contextPath || getContextPathModularUI();\n }\n\n captchaResponse(response: PossibleCaptchaResponse) {\n this._tokenId = \"tokenId\" in response ? response.tokenId : this._tokenId;\n this._image = \"image\" in response ? response.image : this._image;\n\n return {\n tokenId: this._tokenId,\n image: this._image,\n valid: \"valid\" in response ? response.valid : false,\n error: \"error\" in response ? response.error : null,\n };\n }\n\n /**\n * Initiate the captcha request\n */\n init() {\n return xhr<CaptchaInitialResponse>({\n url: getCaptchaPath(this._contextPath, this._origin),\n }).then((response) => this.captchaResponse(response));\n }\n\n /**\n * Answer the captcha\n */\n send(answer?: string) {\n return xhr<CaptchaValidResponse | CaptchaInvalidResponse>({\n url: getCaptchaPath(this._contextPath, this._origin),\n method: HTTP_METHODS.POST,\n data: {\n tokenId: this._tokenId ?? \"\",\n answer: answer ?? \"\",\n },\n })\n .then((response) => this.captchaResponse(response))\n .catch((error) => this.captchaResponse(error.response));\n }\n\n /**\n * Reset the captcha and receive a new token and image\n */\n refresh() {\n return this.init();\n }\n}\n\nexport default CaptchaRequest;\n","import type { Href } from \"../models/href/Href\";\n\nexport class ModularUIError extends Error {\n response: object;\n href: Href | string | undefined;\n\n constructor(message: string, response: object, href?: string | Href) {\n super(message);\n\n Object.setPrototypeOf(this, ModularUIError.prototype);\n\n this.response = response;\n this.href = href;\n\n if (\n \"captureStackTrace\" in Error &&\n typeof Error.captureStackTrace === \"function\"\n ) {\n Error.captureStackTrace(this, this.constructor);\n } else {\n this.stack = new Error(message).stack;\n }\n }\n\n get resource() {\n return this.href;\n }\n}\n","import { has } from \"lodash\";\n\nimport { IllegalArgumentException } from \"../exceptions/IllegalArgumentException\";\n\nimport { MODEL_REGISTRY } from \"./ModelRegistry\";\n\nimport type { ModularUIResponse } from \"./ModularUIResponse\";\nimport type { TargetModel } from \"./types\";\n\n/**\n * Utility to determine which JavaScript Model class should be instantiated\n * based on a Modular UI response.\n */\nexport class ModelResolver {\n /**\n * Resolves a response to a specific Model constructor.\n * The resolution order is:\n * 1. If a single override is provided, it is returned immediately (forced).\n * 2. If multiple overrides are provided, it returns the first one that matches the response.\n * 3. If no overrides match or are provided, it searches the global `MODEL_REGISTRY`.\n *\n * @param response - The Modular UI response object containing data and contributions.\n * @param overrides - Optional class or array of classes to prefer over the global registry.\n * @param forceTargetModel - Force the first model from the overrides array to be returned.\n *\n * @throws {IllegalArgumentException} If the response is missing or the contributions\n * lack a `resourcetype` property.\n *\n * @returns The matching Model constructor, or `undefined` if no match is found.\n *\n * @example\n * const resolver = new ModelResolver();\n * const Model = resolver.resolve(response, [FormModel, TaskModel]);\n */\n static resolve(\n response: ModularUIResponse,\n overrides?: TargetModel | TargetModel[],\n forceTargetModel = false,\n ) {\n if (!response) {\n throw new IllegalArgumentException(\n `No data or contribution available, cannot resolve model`,\n );\n }\n\n if (!has(response.contributions, \"resourcetype\")) {\n throw new IllegalArgumentException(\n `Contributions has wrong format, missing resourcetype property in contributions of ${response.requestHref?.toString()}`,\n );\n }\n\n if (overrides) {\n const overrideList = Array.isArray(overrides) ? overrides : [overrides];\n\n if (overrideList.length === 1 || forceTargetModel) {\n return overrideList[0];\n }\n\n const overrideMatch = MODEL_REGISTRY.find(\n (config) =>\n config.isMatch(response) && overrideList.includes(config.Model),\n );\n\n return overrideMatch?.Model;\n }\n\n const match = MODEL_REGISTRY.find((config) => config.isMatch(response));\n\n return match?.Model;\n }\n}\n","import { ApplicationModel } from \"../models/application/ApplicationModel\";\nimport { CaseViewModel } from \"../models/caseview/CaseViewModel\";\nimport { ConceptDetailModel } from \"../models/concepts/ConceptDetailModel\";\nimport { ConceptIndexModel } from \"../models/concepts/ConceptIndexModel\";\nimport { ConceptTypeDetailModel } from \"../models/concepts/ConceptTypeDetailModel\";\nimport { ContentIndexModel } from \"../models/content/ContentIndexModel\";\nimport { ContentModel } from \"../models/content/ContentModel\";\nimport { ContentTOCModel } from \"../models/content/ContentTOCModel\";\nimport { ContentTypeModel } from \"../models/content/ContentTypeModel\";\nimport { DetailModel } from \"../models/detail/DetailModel\";\nimport { FormModel } from \"../models/form/FormModel\";\nimport { ListDetailModel } from \"../models/list/detail/ListDetailModel\";\nimport { ListModel } from \"../models/list/ListModel\";\nimport { LookupOptionsModel } from \"../models/lookup/LookupOptionsModel\";\nimport { ModelCatalogModel } from \"../models/modelcatalog/ModelCatalogModel\";\nimport { GroupingPanelModel } from \"../models/panels/GroupingPanelModel\";\nimport { CaseSearchModel } from \"../models/search/CaseSearchModel\";\nimport { TabModel } from \"../models/tab/TabModel\";\nimport { TaskGroupModel } from \"../models/taskgroup/TaskGroupModel\";\nimport { UserModel } from \"../models/user/UserModel\";\nimport { UserProfileModel } from \"../models/user/UserProfileModel\";\nimport { UserServicesModel } from \"../models/user/UserServicesModel\";\n\nimport type { ModelConfig } from \"./types\";\n\nexport const MODEL_REGISTRY: ModelConfig[] = [\n {\n name: \"Application\",\n isMatch: ({ resourcetype }) => resourcetype === \"Application\",\n Model: ApplicationModel,\n },\n {\n name: \"Tab\",\n isMatch: ({ resourcetype }) =>\n resourcetype.endsWith(\"Tab\") || resourcetype.endsWith(\"KnowledgeBank\"),\n Model: TabModel,\n },\n {\n name: \"ListDetail\",\n isMatch: ({ resourcetype }) => {\n const normalized = resourcetype.toLowerCase();\n return (\n normalized.endsWith(\"listdetail\") ||\n normalized.endsWith(\"listpaneldetail\") ||\n normalized.endsWith(\"datastorepaneldetail\")\n );\n },\n Model: ListDetailModel,\n },\n {\n name: \"List\",\n isMatch: ({ resourcetype }) =>\n resourcetype.endsWith(\"List\") ||\n resourcetype.endsWith(\"ListPanel\") ||\n resourcetype.endsWith(\"RelatedDataStorePanel\") ||\n resourcetype.endsWith(\"RelatedDatastorePanel\") ||\n [\n \"list-related-cases\",\n \"RecordPanel\",\n \"EventHistoryPanel\",\n \"NotePanel\",\n \"AppointmentPanel\",\n \"DocumentPanel\",\n \"AssignmentPanel\",\n ].includes(resourcetype),\n Model: ListModel,\n },\n {\n name: \"GroupingPanel\",\n isMatch: ({ resourcetype }) =>\n [\"GroupingPanel\", \"CaseTabGroupingPanel\", \"TabGroupingPanel\"].includes(\n resourcetype,\n ),\n Model: GroupingPanelModel,\n },\n {\n name: \"CaseSearch\",\n isMatch: ({ resourcetype }) => resourcetype === \"CaseSearch\",\n Model: CaseSearchModel,\n },\n {\n name: \"CaseView\",\n isMatch: ({ resourcetype }) => resourcetype === \"CaseView\",\n Model: CaseViewModel,\n },\n {\n name: \"Detail\",\n isMatch: ({ resourcetype }) =>\n resourcetype.endsWith(\"DetailPanel\") ||\n [\"Detail\", \"CasePropertiesPanel\", \"CasePropertiesPanelDetail\"].includes(\n resourcetype,\n ),\n Model: DetailModel,\n },\n {\n name: \"TaskGroup\",\n isMatch: ({ resourcetype }) => resourcetype === \"TaskGroup\",\n Model: TaskGroupModel,\n },\n {\n name: \"Form\",\n isMatch: ({ resourcetype }) => resourcetype === \"Form\",\n Model: FormModel,\n },\n {\n name: \"User\",\n isMatch: ({ resourcetype }) => resourcetype === \"userdata\",\n Model: UserModel,\n },\n {\n name: \"UserProfile\",\n isMatch: ({ resourcetype }) => resourcetype === \"userdata\",\n Model: UserProfileModel,\n },\n {\n name: \"UserServices\",\n isMatch: ({ resourcetype }) => resourcetype === \"user_services\",\n Model: UserServicesModel,\n },\n {\n name: \"ModelCatalog\",\n isMatch: ({ resourcetype }) => resourcetype === \"ModelCatalog\",\n Model: ModelCatalogModel,\n },\n {\n name: \"ConceptIndex\",\n isMatch: ({ resourcetype }) =>\n resourcetype === \"ConceptSearch\" ||\n resourcetype.toLowerCase() === \"relatedconcepts\",\n Model: ConceptIndexModel,\n },\n {\n name: \"ConceptDetail\",\n isMatch: ({ resourcetype }) => resourcetype === \"ConceptDetail\",\n Model: ConceptDetailModel,\n },\n {\n name: \"ConceptTypeDetail\",\n isMatch: ({ resourcetype }) => resourcetype === \"ConceptTypeDetail\",\n Model: ConceptTypeDetailModel,\n },\n {\n name: \"ContentIndex\",\n isMatch: ({ resourcetype }) => resourcetype === \"ContentSearch\",\n Model: ContentIndexModel,\n },\n {\n name: \"ContentTOC\",\n isMatch: ({ resourcetype }) => resourcetype === \"ContentTOC\",\n Model: ContentTOCModel,\n },\n {\n name: \"Content\",\n isMatch: ({ resourcetype }) => resourcetype === \"ContentDetail\",\n Model: ContentModel,\n },\n {\n name: \"ContentType\",\n isMatch: ({ resourcetype }) => resourcetype === \"ContentTypeDetail\",\n Model: ContentTypeModel,\n },\n {\n name: \"LookupOptions\",\n isMatch: ({ resourcetype }) => resourcetype === \"lookupOptions\",\n Model: LookupOptionsModel,\n },\n];\n","import deepmerge from \"deepmerge\";\nimport { klona } from \"klona/full\";\nimport { isPlainObject } from \"lodash\";\n\nimport { HTTP_METHODS, TIMEVERSION_FILTER_NAME } from \"../constants/Constants\";\nimport { IllegalArgumentException } from \"../exceptions/IllegalArgumentException\";\nimport { IllegalStateException } from \"../exceptions/IllegalStateException\";\nimport { LayoutHintProcessor } from \"../layouthints/LayoutHintProcessor\";\nimport { ResourceModel } from \"../models/base/ResourceModel\";\nimport { ContentModel } from \"../models/content/ContentModel\";\nimport { SectionModel } from \"../models/content/SectionModel\";\nimport { ErrorResponse } from \"../models/error/ErrorResponse\";\nimport { FormModel } from \"../models/form/FormModel\";\nimport { Href } from \"../models/href/Href\";\nimport { getContextPathModularUI } from \"../settings/Paths\";\nimport { getBooleanSetting } from \"../settings/Settings\";\nimport { universalFetch } from \"../utils/fetch/universalFetch\";\n\nimport { ModelResolver } from \"./ModelResolver\";\nimport { ModularUIError } from \"./ModularUIError\";\nimport { ModularUIResponse } from \"./ModularUIResponse\";\n\nimport type { FormData } from \"../models/form/types\";\nimport type {\n ModularUIModel,\n ModularUIModelWithChildModels,\n} from \"../models/types\";\nimport type { Contributions, Data, DefaultLinksData } from \"../types/types\";\nimport type {\n ModularUIRequestOptions,\n ProgressHandler,\n} from \"../utils/fetch/types\";\nimport type { ModularUISpecificErrorResponse, TargetModel } from \"./types\";\n\n/**\n * Helper for fetching data and contributions from the Be Informed modular ui\n * and merge it into a target or resolvable model.\n *\n * @example\n * const model = new ModularUIRequest(\"url-to-request\").fetch();\n * const post = new ModularUIRequest(\"url-to-request\", { method: \"POST\"}).fetch();\n */\nexport class ModularUIRequest {\n private _response: ModularUIResponse = new ModularUIResponse();\n\n private _href: Href;\n private _options: ModularUIRequestOptions;\n private _targetModel: TargetModel | TargetModel[] | undefined;\n private _forceTargetModel = false;\n private _contributionsHref: Href | string | undefined;\n private _locale = \"en\";\n private _method: HTTP_METHODS = HTTP_METHODS.GET;\n\n private _progressEvent: ProgressHandler | undefined;\n\n private _origin = \"\";\n private _contextPath: string = getContextPathModularUI();\n\n private _layoutHintProcessor: LayoutHintProcessor;\n\n constructor(href: Href | string, options: ModularUIRequestOptions = {}) {\n if (!href) {\n throw new IllegalArgumentException(\n \"You must pass a href to the resource that is requested\",\n );\n }\n\n this._href = typeof href === \"string\" ? new Href(href) : href;\n this._options = options;\n\n this._layoutHintProcessor = new LayoutHintProcessor(\n this._origin,\n this._contextPath,\n this.options,\n );\n\n this._response = new ModularUIResponse();\n this._response.requestHref = this.href;\n\n this.locale = this.getRequestLocale(options.locale);\n\n // copy request parameters to response, to be able to use them in the models\n // self links are missing the request parameters\n this._response.parameters = this.href.parameters.all;\n\n this.contextPath = options.contextPath || this.href.contextPath;\n this.origin = options.origin || this.href.origin;\n\n this._targetModel = options.targetModel;\n this.method = options.method || this.href.method;\n }\n\n /**\n * Retrieve the preferred language for this request, falls back to the browser language or english\n */\n getRequestLocale(optionLocale: string | undefined) {\n if (optionLocale) {\n return optionLocale;\n }\n\n if (typeof navigator !== \"undefined\" && navigator?.language) {\n return navigator.language.split(\"-\")[0] || \"en\";\n }\n\n return \"en\";\n }\n\n get origin() {\n return this._origin;\n }\n\n set origin(origin: string | undefined) {\n this._origin = origin ?? \"\";\n this._response.origin = origin ?? \"\";\n this._layoutHintProcessor.setOrigin(this._origin);\n }\n\n get contextPath() {\n return this._contextPath;\n }\n\n set contextPath(contextPath: string | undefined) {\n const path = contextPath ?? getContextPathModularUI();\n this._contextPath = path;\n this._response.contextPath = path;\n this._layoutHintProcessor.setContextPath(path);\n }\n\n get contributionsHref() {\n return this._contributionsHref;\n }\n\n set contributionsHref(contributionsHref: string | Href | undefined) {\n this._contributionsHref = contributionsHref;\n }\n\n set locale(locale: string) {\n this._locale = locale;\n this._response.locale = locale;\n this._layoutHintProcessor.setRequestOptions(this.options);\n }\n\n get locale() {\n return this._locale;\n }\n\n get response() {\n return this._response;\n }\n\n set href(href: Href) {\n this._href = href;\n }\n\n get href() {\n return this._href;\n }\n\n set method(method: HTTP_METHODS) {\n this._method = method;\n }\n\n get method() {\n return this._method;\n }\n\n get options() {\n return {\n ...this._options,\n locale: this.locale,\n method: this.method,\n };\n }\n\n set options(options: ModularUIRequestOptions) {\n this._options = options;\n this._layoutHintProcessor.setRequestOptions(options);\n }\n\n get requestOptions() {\n const {\n targetModel,\n forceTargetModel,\n updateHandler,\n childmodels,\n isValidationRequest,\n removeOnUnmount,\n ...requestOptions\n } = this.options;\n\n return requestOptions;\n }\n\n get withChildModels() {\n return (\n !(\"childmodels\" in this.options) || this.options.childmodels === true\n );\n }\n\n set targetModel(targetModel: TargetModel | TargetModel[] | undefined) {\n this._targetModel = targetModel;\n }\n\n get targetModel() {\n return this._targetModel;\n }\n\n set forceTargetModel(forceTargetModel: boolean) {\n this._forceTargetModel = forceTargetModel ?? false;\n }\n\n get forceTargetModel() {\n return this._forceTargetModel;\n }\n\n /**\n * Resolves the appropriate Model class for the current response.\n * Uses the ModelResolver to check against targetModel overrides or the global registry.\n */\n private resolveModel(): TargetModel {\n const Model = ModelResolver.resolve(\n this.response,\n this.targetModel,\n this.forceTargetModel,\n );\n\n if (Model) {\n return Model;\n }\n\n const url = this.href.toString();\n const resourceType = this.response?.resourcetype || \"unknown\";\n\n if (this.targetModel) {\n const availableTypes = Array.isArray(this.targetModel)\n ? this.targetModel\n .map((m) => (m as unknown as ResourceModel).type || m.name)\n .join(\", \")\n : (this.targetModel as unknown as ResourceModel).type ||\n this.targetModel.name;\n\n throw new IllegalStateException(\n `Cannot find a matching model for URL: '${url}', resourcetype: '${resourceType}'. Available overrides: [${availableTypes}]`,\n );\n }\n\n throw new IllegalStateException(\n `No JavaScript model is applicable for the request to ${url}. Response resourcetype: '${resourceType}'.`,\n );\n }\n\n private createModel() {\n const Model = this.resolveModel();\n return new Model(this.response);\n }\n\n private processContributionsService(contributions: unknown) {\n if (!isPlainObject(contributions)) {\n throw new IllegalArgumentException(\n \"Missing contributions data or contributions is not JSON\",\n );\n }\n\n if (typeof contributions === \"object\" && contributions != null) {\n const record = contributions as Record<string, Contributions>;\n const [key] = Object.keys(record);\n const contributionsBody = record[key];\n if (key === \"error\") {\n this.handleContributionsError(contributionsBody);\n }\n if (typeof contributionsBody === \"object\" && contributionsBody != null) {\n // The key of the data service is different from the contributions service for forms\n if (!(this.response.key in contributionsBody)) {\n this.response.key = key;\n }\n\n this.response.contributions = contributionsBody;\n }\n }\n }\n\n private handleContributionsError(error: ModularUISpecificErrorResponse) {\n const errorMessage = error.properties?.message ?? \"Error in contribution\";\n throw new ModularUIError(errorMessage, error, this.contributionsHref);\n }\n\n private handleDataError(error: ModularUISpecificErrorResponse | string) {\n if (typeof error === \"object\" && error.properties) {\n const errorMessage = error.properties?.message ?? \"Error in data\";\n throw new ModularUIError(\n errorMessage,\n error,\n this.href.absolutepath.toString(),\n );\n }\n\n throw new IllegalArgumentException(JSON.stringify(error));\n }\n\n private handleData(key: string, data: Data | undefined) {\n this.response.key = key;\n this.response.data = data;\n\n const links = data?._links as DefaultLinksData | undefined;\n\n if (!links) {\n throw new IllegalArgumentException(\n `No _links object found in the data of ${this.href.toString()}`,\n );\n }\n\n if (links?.contributions) {\n this.contributionsHref = links.contributions.href;\n } else if (Array.isArray(links) && links[0].contributions) {\n this.contributionsHref = links[0].contributions.href;\n } else {\n throw new IllegalArgumentException(\n `Contributions link not found for data with key ${key}`,\n );\n }\n }\n\n private processDataService(data: unknown) {\n if (typeof data !== \"object\" || data === null) {\n throw new IllegalArgumentException(\"Missing data or data is not JSON\");\n }\n\n const record = data as Record<string, Data>;\n const [key] = Object.keys(record);\n const dataBody = record[key];\n\n if (key === \"error\") {\n this.handleDataError(dataBody);\n } else {\n const [key] = Object.keys(data);\n this.handleData(key, dataBody);\n }\n }\n\n private fetchContributionsService() {\n if (!this.contributionsHref) {\n throw new IllegalStateException(\"Missing a contributions href\");\n }\n\n return universalFetch({\n url: `${this.origin}${this.contextPath}${this.contributionsHref}`,\n cache: true,\n locale: this.options.locale,\n });\n }\n\n private fetchDataService() {\n return universalFetch({\n ...this.requestOptions,\n url: `${this.origin}${this.contextPath}${this.href.path}`,\n params: this.href.getQuerystringForModularUI(),\n locale: this.options.locale,\n onProgress: this.onProgress,\n });\n }\n\n set onProgress(progressEvent: ProgressHandler | undefined) {\n this._progressEvent = progressEvent;\n }\n\n get onProgress() {\n return this._progressEvent;\n }\n\n /**\n * Combine previous send request data with new validation data to create a complete request object\n * The received model is new FormModel containing ONLY the current question, not the previously entered questions\n * to create a complete request we append the originally send form objects\n */\n private getDynamicValidationData(model: ModularUIModel) {\n const prevData =\n typeof this.options.data === \"string\"\n ? JSON.parse(this.options.data)\n : this.options.data;\n\n if (model instanceof FormModel) {\n const newData = JSON.parse(model.validationData);\n return JSON.stringify(deepmerge(prevData || {}, newData));\n }\n\n return JSON.stringify(prevData) ?? \"{}\";\n }\n\n /**\n * First load of dynamic values when a form is loaded\n */\n private async loadDynamicValidations(model: ModularUIModel) {\n if (\n !this.options.isValidationRequest &&\n getBooleanSetting(\"USE_INSTANT_SERVER_VALIDATION\") &&\n model instanceof FormModel &&\n model.currentFormObject?.hasDynamicValidations\n ) {\n const validationHref = this.href.setParameter(\"commit\", \"false\");\n const data = await universalFetch({\n ...this.requestOptions,\n url: `${this.origin}${this.contextPath}${this.href.path}`,\n params: validationHref.getQuerystringForModularUI(),\n data: this.getDynamicValidationData(model),\n });\n\n if (data == null || typeof data !== \"object\") {\n return model;\n }\n\n const formResponse = data as Record<string, FormData>;\n const [key] = Object.keys(formResponse);\n return model.updateValidations(formResponse[key]);\n }\n\n return model;\n }\n\n private fetchFromCache() {\n this.options = {\n ...this.options,\n cache: true,\n };\n\n return this.fetch();\n }\n\n private fetchChildModels(model: ModularUIModel) {\n const childModelLinks = (\n model as ModularUIModelWithChildModels\n ).getInitialChildModelLinks();\n\n const childModelRequests: Promise<ModularUIModel>[] = childModelLinks.map(\n (childModelLink) => {\n const request = new ModularUIRequest(childModelLink.href, {\n locale: this.locale,\n });\n\n if (childModelLink.targetModel) {\n request.targetModel = childModelLink.targetModel;\n }\n\n if (childModelLink.isCacheable) {\n return request.fetchFromCache();\n }\n\n return request.fetch();\n },\n );\n\n return Promise.allSettled(childModelRequests).then((childModels) => {\n const resolvedChildModels: ModularUIModelWithChildModels[] = [];\n const errorChildModels: ErrorResponse[] = [];\n\n childModels.forEach((childModel) => {\n if (childModel.status === \"rejected\") {\n const { reason } = childModel;\n if (reason.name !== \"Error.ChangePasswordRequired\") {\n console.debug(\n \"Unexpected error when retrieving child model:\",\n reason,\n );\n }\n errorChildModels.push(\n new ErrorResponse(reason, \"\", {\n origin: this.origin,\n contextPath: this.contextPath,\n }),\n );\n } else {\n resolvedChildModels.push(\n childModel.value as ModularUIModelWithChildModels,\n );\n }\n });\n\n if (model instanceof ResourceModel) {\n model.addChildModels(resolvedChildModels, errorChildModels);\n }\n\n return model;\n });\n }\n\n async fetchContent(withChildSections: boolean) {\n const model = await this.fetchFromCache();\n if (\n withChildSections &&\n model instanceof ContentModel &&\n model.childSectionLinks.length > 0\n ) {\n return this.fetchContentChildSections(model);\n }\n return model;\n }\n\n /**\n * Recursively return child sections defined on the content model\n */\n async fetchContentChildSections(\n contentModel: ContentModel,\n ): Promise<ContentModel> {\n const newContentModel = klona(contentModel);\n\n const sectionModels = await Promise.all(\n contentModel.childSectionLinks.map((childSectionLink) => {\n const contentHrefWithEntryDate = childSectionLink.selfhref.addParameter(\n TIMEVERSION_FILTER_NAME,\n contentModel.entryDate,\n );\n\n const request = new ModularUIRequest(contentHrefWithEntryDate, {\n locale: this.locale,\n });\n\n return request.fetchContent(true);\n }),\n );\n newContentModel.childSections = sectionModels.filter(\n (sectionModel) => sectionModel instanceof SectionModel,\n );\n return newContentModel;\n }\n\n async fetch() {\n const data = await this.fetchDataService();\n if (data == null) {\n throw new Error(`No data received for ${this.href.toString()}`);\n }\n\n this.processDataService(data);\n\n const contributions = await this.fetchContributionsService();\n if (contributions == null) {\n throw new Error(\n `No contributions data received for ${this.contributionsHref}`,\n );\n }\n\n this.processContributionsService(contributions);\n\n await this._layoutHintProcessor.processAsyncLayoutHints(this.response);\n\n const model = this.createModel();\n\n const validatedModel = await this.loadDynamicValidations(model);\n if (this.withChildModels) {\n return await this.fetchChildModels(validatedModel);\n }\n return validatedModel;\n }\n\n /**\n * Make a post request with optionally data to send\n * @param data\n */\n post(data: string) {\n this.method = HTTP_METHODS.POST;\n this.options = {\n ...this.options,\n data,\n };\n\n return this.fetch();\n }\n\n /**\n * Make a POST request using the form, an updated form is returned (merge of old and new form)\n * @param form\n * @returns {Promise<FormModel>}\n */\n postForm(form: FormModel) {\n this.method = HTTP_METHODS.POST;\n this.options = {\n ...this.options,\n data: form.formdata,\n };\n\n return this.fetch().then((response) => {\n if (response instanceof FormModel) {\n return form.update(response);\n }\n return form;\n });\n }\n\n /**\n * Simplified synchronous version of fetch (returns the model, not a Promise)\n * This can be used on the server to retrieve a model. It only loads the request url and it's child models\n */\n fetchSync() {\n const options = { headers: { \"Accept-Language\": this.locale } };\n\n const dataString = dataFetcher.fetch(this.href.toString(), options);\n if (dataString == null) {\n throw new Error(`No data received for ${this.href.toString()}`);\n }\n\n this.processDataService(JSON.parse(dataString));\n\n if (this.contributionsHref == null) {\n throw new Error(`No constributions received for ${this.href.toString()}`);\n }\n\n const contributionsString = dataFetcher.fetch(\n this.contributionsHref.toString(),\n options,\n );\n if (contributionsString == null) {\n throw new Error(\n `No constributions received for ${this.contributionsHref.toString()}`,\n );\n }\n this.processContributionsService(JSON.parse(contributionsString));\n\n const model: ResourceModel = this.createModel();\n\n const childModelLinks = model.getInitialChildModelLinks();\n\n const childModels = childModelLinks.map((childModelLink) => {\n return new ModularUIRequest(childModelLink.href, {\n locale: this.locale,\n }).fetchSync();\n });\n if (model instanceof ResourceModel) {\n model.addChild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ASmC,EAAiB,CACxB,YAAK,OAAS,OACd,KAAK,QAAU,CACb,GAAG,KAAK,QACR,KAAMA,EAAK,QACb,EAEO,KAAK,MAAM,EAAE,KAAMC,GACpBA,aAAoB7B,EACf4B,EAAK,OAAOC,CAAQ,EAEtBD,CACR,CACH,CAMA,WAAY,CACV,IAAMnE,EAAU,CAAE,QAAS,CAAE,kBAAmB,KAAK,MAAO,CAAE,EAExDqE,EAAa,YAAY,MAAM,KAAK,KAAK,SAAS,EAAGrE,CAAO,EAClE,GAAIqE,GAAc,KAChB,MAAM,IAAI,MAAM,wBAAwB,KAAK,KAAK,SAAS,CAAC,EAAE,EAKhE,GAFA,KAAK,mBAAmB,KAAK,MAAMA,CAAU,CAAC,EAE1C,KAAK,mBAAqB,KAC5B,MAAM,IAAI,MAAM,kCAAkC,KAAK,KAAK,SAAS,CAAC,EAAE,EAG1E,IAAMC,EAAsB,YAAY,MACtC,KAAK,kBAAkB,SAAS,EAChCtE,CACF,EACA,GAAIsE,GAAuB,KACzB,MAAM,IAAI,MACR,kCAAkC,KAAK,kBAAkB,SAAS,CAAC,EACrE,EAEF,KAAK,4BAA4B,KAAK,MAAMA,CAAmB,CAAC,EAEhE,IAAMjC,EAAuB,KAAK,YAAY,EAIxCW,EAFkBX,EAAM,0BAA0B,EAEpB,IAAKS,GAChC,IAAIlD,EAAiBkD,EAAe,KAAM,CAC/C,OAAQ,KAAK,MACf,CAAC,EAAE,UAAU,CACd,EACD,OAAIT,aAAiBiB,GACnBjB,EAAM,eAAeW,EAAa,CAAC,CAAC,EAG/BX,CACT,CACF","names":["Authenticate","type","loginType","enumType","INTERNAL_LOGIN_TYPE","authenticationType","isBasicAuthentication","universalFetch","getContextPath","initLogin","error","UnauthorizedException","username","password","loginPath","encodedUsername","encodedPassword","loginUsernameField","loginPasswordField","cacheInstance","logoutPath","postRedirectUrl","origin","redirectUrl","response","CaptchaRequest","getContextPathModularUI","options","response","xhr","getCaptchaPath","answer","error","ModularUIError","_ModularUIError","message","response","href","import_lodash","MODEL_REGISTRY","resourcetype","ApplicationModel","TabModel","normalized","ListDetailModel","ListModel","GroupingPanelModel","CaseSearchModel","CaseViewModel","DetailModel","TaskGroupModel","FormModel","UserModel","UserProfileModel","UserServicesModel","ModelCatalogModel","ConceptIndexModel","ConceptDetailModel","ConceptTypeDetailModel","ContentIndexModel","ContentTOCModel","ContentModel","ContentTypeModel","LookupOptionsModel","ModelResolver","response","overrides","forceTargetModel","IllegalArgumentException","overrideList","MODEL_REGISTRY","config","import_lodash","deepmerge","klona","ModularUIRequest","_ModularUIRequest","ModularUIResponse","getContextPathModularUI","href","options","IllegalArgumentException","Href","LayoutHintProcessor","optionLocale","origin","contextPath","path","contributionsHref","locale","method","targetModel","forceTargetModel","updateHandler","childmodels","isValidationRequest","removeOnUnmount","requestOptions","Model","ModelResolver","url","resourceType","availableTypes","m","IllegalStateException","contributions","record","key","contributionsBody","error","errorMessage","ModularUIError","data","links","dataBody","universalFetch","progressEvent","model","prevData","FormModel","newData","deepmerge","getBooleanSetting","validationHref","formResponse","childModelRequests","childModelLink","request","childModels","resolvedChildModels","errorChildModels","childModel","reason","ErrorResponse","ResourceModel","withChildSections","ContentModel","contentModel","newContentModel","klona","sectionModels","childSectionLink","contentHrefWithEntryDate","TIMEVERSION_FILTER_NAME","sectionModel","SectionModel","validatedModel","form","response","dataString","contributionsString"]}
|