@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
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DateTimeUtil.js","names":["_format","require","_isAfter","_isBefore","_isSameDay","_isValid","_parse","_add","_sub","_set","_startOfMonth","_endOfMonth","_startOfWeek","_getHours","_getMinutes","_getDay","_getWeek","_locale","_tz","_timezoneSoft","_interopRequireDefault","_constants","_Cookies","BaseDateTimeUtil","constructor","isoFormat","doOffsets","_defineProperty2","default","Intl","DateTimeFormat","resolvedOptions","timeZone","_isoFormat","_doOffsets","isIncludeTimeOffsetInDateTimes","getOptions","weekStartsOn","getSetting","DEFAULT_WEEK_STARTS_ON","firstWeekContainsDate","DEFAULT_FIRST_WEEK_CONTAINS_DATE","getIsoFormat","DATETIME_OFFSET_FORMAT","convertFormat","javaFormat","_context","javaToUTS35Map","ZZZ","ZZ","Z","uts35Format","sortedKeys","_sort","_keys","call","a","b","length","javaToken","uts35Token","regex","RegExp","replace","getLocale","defaultLocale","getEnabledLocales","locale","getCookie","nl","enGB","toDate","date","inputFormat","Date","parse","in","getDateFnsContext","toFormat","targetFormat","parsedDate","isValid","format","toISO","sourceFormat","now","hasFormat","formattedValue","isOutsideRange","isBefore","isAfter","toUpperCase","inputDate","afterISODate","isSameOrAfter","isSame","beforeISODate","isSameOrBefore","compareDate","getTime","isSameDay","isOther","isWeekend","SATURDAY_NUMBER","SUNDAY_NUMBER","weekDay","getDay","isAmbiguous","dateTime","t","_map","x","newDate","add","minutes","time","_includes","_calculate","calculationFn","property","value","addSeconds","amount","addMinutes","addHours","addDays","addWeeks","addMonths","addYears","subtractSeconds","sub","subtractMinutes","subtractHours","subtractDays","subtractWeeks","subtractMonths","subtractYears","_get","method","options","startOfMonth","endOfMonth","startOfWeek","getHours","getMinutes","getWeek","set","setYear","year","setMonth","month","setDay","day","setHour","hour","setMinute","minute","setSecond","second","setMilliseconds","millisecond","setTime","hours","seconds","milliseconds","getTimeZone","_timeZone","setTimeZone","IS_GRAALJS","tz","undefined","getOffset","dateOffset","offsets","getTimezoneOffsets","daylight","standard","createOffsetObject","info","_context2","_context3","sign","offset","absOffset","Math","abs","_trunc","round","offsetString","_padStart","String","label","name","abbr","timezone","soft","DateUtil","exports","ISO_DATE_FORMAT","DateTimeUtil","ISO_DATETIME_FORMAT","TimeUtil","ISO_TIME_FORMAT","TimestampUtil","ISO_TIMESTAMP_FORMAT"],"sources":["../../../src/utils/datetime/DateTimeUtil.js"],"sourcesContent":["// @flow\nimport { format } from \"date-fns/format\";\nimport { isAfter } from \"date-fns/isAfter\";\nimport { isBefore } from \"date-fns/isBefore\";\nimport { isSameDay } from \"date-fns/isSameDay\";\nimport { isValid } from \"date-fns/isValid\";\nimport { parse } from \"date-fns/parse\";\nimport { add } from \"date-fns/add\";\nimport { sub } from \"date-fns/sub\";\nimport { set } from \"date-fns/set\";\nimport { startOfMonth } from \"date-fns/startOfMonth\";\nimport { endOfMonth } from \"date-fns/endOfMonth\";\nimport { startOfWeek } from \"date-fns/startOfWeek\";\nimport { getHours } from \"date-fns/getHours\";\nimport { getMinutes } from \"date-fns/getMinutes\";\nimport { getDay } from \"date-fns/getDay\";\nimport { getWeek } from \"date-fns/getWeek\";\n\nimport { enGB, nl } from \"date-fns/locale\";\nimport { tz } from \"@date-fns/tz\";\n\nimport soft from \"timezone-soft\";\n\nimport {\n DATETIME_OFFSET_FORMAT,\n DEFAULT_FIRST_WEEK_CONTAINS_DATE,\n DEFAULT_WEEK_STARTS_ON,\n getEnabledLocales,\n getSetting,\n IS_GRAALJS,\n isIncludeTimeOffsetInDateTimes,\n ISO_DATE_FORMAT,\n ISO_DATETIME_FORMAT,\n ISO_TIME_FORMAT,\n ISO_TIMESTAMP_FORMAT,\n} from \"../../constants\";\n\nimport { getCookie } from \"../browser/Cookies\";\n\ntype OffsetInfoInput = {\n abbr: string,\n offset: number,\n name: string,\n};\n\nexport type OffsetInfo = {\n abbr: string,\n label: string,\n value: string,\n};\n\n/**\n * @hideconstructor\n */\nclass BaseDateTimeUtil {\n _isoFormat: string;\n _doOffsets: boolean;\n\n _timeZone: string =\n typeof Intl === \"undefined\"\n ? \"Etc/UTC\"\n : Intl.DateTimeFormat().resolvedOptions().timeZone || \"Etc/UTC\";\n\n constructor(isoFormat: string, doOffsets: boolean = false) {\n this._isoFormat = isoFormat;\n this._doOffsets = doOffsets;\n }\n\n /**\n * Indicates if offsets and timezones are relevant\n */\n get doOffsets(): boolean {\n return this._doOffsets ? isIncludeTimeOffsetInDateTimes() : false;\n }\n\n /**\n * Returns the options defined in settings\n */\n getOptions(): {\n weekStartsOn: 0 | 1 | 2 | 3 | 4 | 5 | 6,\n firstWeekContainsDate: 1 | 2 | 3 | 4 | 5 | 6 | 7,\n } {\n // indicates on what day the week starts\n const weekStartsOn = getSetting(\n \"CALENDAR_WEEK_STARTS_ON\",\n DEFAULT_WEEK_STARTS_ON,\n );\n\n // indicates which date indicates the first week of the year\n const firstWeekContainsDate = getSetting(\n \"CALENDAR_FIRST_WEEK_CONTAINS_DATE\",\n DEFAULT_FIRST_WEEK_CONTAINS_DATE,\n );\n\n return { weekStartsOn, firstWeekContainsDate };\n }\n\n /**\n */\n getIsoFormat(): string {\n if (this.doOffsets) {\n return this._isoFormat + DATETIME_OFFSET_FORMAT;\n }\n return this._isoFormat;\n }\n\n /**\n */\n convertFormat(javaFormat: string): string {\n if (!javaFormat) {\n return this.getIsoFormat();\n }\n\n const javaToUTS35Map = {\n ZZZ: \"xxx\",\n ZZ: \"xx\",\n Z: \"x\",\n };\n\n // Replace Java pattern tokens with UTS #35 tokens\n let uts35Format = javaFormat;\n\n // Sort keys by length (descending) to handle multi-character tokens first\n const sortedKeys = Object.keys(javaToUTS35Map).sort(\n (a, b) => b.length - a.length,\n );\n\n for (const javaToken of sortedKeys) {\n const uts35Token = javaToUTS35Map[javaToken];\n const regex = new RegExp(javaToken, \"g\"); // Match all occurrences\n uts35Format = uts35Format.replace(regex, uts35Token);\n }\n\n return uts35Format;\n }\n\n /**\n */\n getLocale(): typeof nl | typeof enGB {\n const defaultLocale = getEnabledLocales()[0];\n const locale = getCookie(\"locale\") ?? defaultLocale ?? \"en\";\n\n if (locale === \"nl\") {\n return nl;\n }\n\n return enGB;\n }\n\n /**\n */\n toDate(date: string | Date, inputFormat: string = this.getIsoFormat()): Date {\n if (date instanceof Date) {\n return date;\n }\n\n const { weekStartsOn, firstWeekContainsDate } = this.getOptions();\n\n return parse(date, inputFormat, new Date(), {\n in: this.getDateFnsContext(),\n weekStartsOn,\n firstWeekContainsDate,\n });\n }\n\n /**\n */\n toFormat(\n date: string | Date,\n targetFormat: string,\n inputFormat: string = this.getIsoFormat(),\n ): string {\n const { weekStartsOn } = this.getOptions();\n\n const parsedDate = this.toDate(date, inputFormat);\n\n if (isValid(parsedDate)) {\n return format(parsedDate, targetFormat, {\n in: this.getDateFnsContext(),\n weekStartsOn,\n locale: this.getLocale(),\n });\n }\n\n return \"Invalid Date\";\n }\n\n /**\n */\n toISO(\n date: string | Date,\n sourceFormat: string = this.getIsoFormat(),\n ): string {\n return this.toFormat(date, this.getIsoFormat(), sourceFormat);\n }\n\n /**\n */\n now(): string {\n return this.toISO(new Date());\n }\n\n //////////// VALIDATION\n\n /**\n */\n hasFormat(date: string, sourceFormat: string): boolean {\n const parsedDate = this.toDate(date, sourceFormat);\n\n const formattedValue = this.toFormat(parsedDate, sourceFormat);\n if (formattedValue === \"Invalid Date\") {\n return false;\n }\n\n const isOutsideRange =\n isBefore(parsedDate, new Date(1000, 1, 1)) ||\n isAfter(parsedDate, new Date(9999, 11, 31));\n if (isOutsideRange) {\n return false;\n }\n\n return (\n formattedValue.replace(/0/gu, \"\").toUpperCase() ===\n date.replace(/0/gu, \"\").toUpperCase()\n );\n }\n\n /**\n */\n isValid(\n date: string | Date | null | void,\n inputFormat: string = this.getIsoFormat(),\n ): boolean {\n if (!date) {\n return false;\n }\n\n const parsedDate = this.toDate(date, inputFormat);\n return isValid(parsedDate);\n }\n\n /**\n */\n isAfter(\n inputDate: string | Date,\n afterISODate: ?string | Date,\n inputFormat: string = this.getIsoFormat(),\n ): boolean {\n return (\n afterISODate != null &&\n isAfter(this.toDate(inputDate, inputFormat), this.toDate(afterISODate))\n );\n }\n\n /**\n */\n isSameOrAfter(\n inputDate: string | Date,\n afterISODate: ?string | Date,\n inputFormat: string = this.getIsoFormat(),\n ): boolean {\n return (\n afterISODate != null &&\n (this.isAfter(inputDate, afterISODate, inputFormat) ||\n this.isSame(inputDate, afterISODate, inputFormat))\n );\n }\n\n /**\n */\n isBefore(\n inputDate: string | Date,\n beforeISODate: ?string | Date,\n inputFormat: string = this.getIsoFormat(),\n ): boolean {\n return (\n beforeISODate != null &&\n isBefore(this.toDate(inputDate, inputFormat), this.toDate(beforeISODate))\n );\n }\n\n /**\n */\n isSameOrBefore(\n inputDate: string | Date,\n beforeISODate: ?string | Date,\n inputFormat: string = this.getIsoFormat(),\n ): boolean {\n return (\n beforeISODate != null &&\n (this.isBefore(inputDate, beforeISODate, inputFormat) ||\n this.isSame(inputDate, beforeISODate, inputFormat))\n );\n }\n\n /**\n */\n isSame(\n inputDate: string | Date,\n compareDate: ?string | Date,\n inputFormat: string = this.getIsoFormat(),\n ): boolean {\n return (\n compareDate != null &&\n this.toDate(inputDate, inputFormat).getTime() ===\n this.toDate(compareDate).getTime()\n );\n }\n\n /**\n */\n isSameDay(\n inputDate: string | Date,\n compareDate: string | Date,\n inputFormat: string = this.getIsoFormat(),\n ): boolean {\n return (\n compareDate != null &&\n isSameDay(\n this.toDate(inputDate, inputFormat),\n this.toDate(compareDate, inputFormat),\n )\n );\n }\n\n /**\n */\n isOther(\n inputDate: string | Date,\n compareDate: ?string | Date,\n inputFormat: string = this.getIsoFormat(),\n ): boolean {\n return !this.isSame(inputDate, compareDate, inputFormat);\n }\n\n /**\n */\n isWeekend(inputDate: string | Date): boolean {\n const SATURDAY_NUMBER = 6;\n const SUNDAY_NUMBER = 0;\n const weekDay = getDay(this.toDate(inputDate));\n\n return weekDay === SATURDAY_NUMBER || weekDay === SUNDAY_NUMBER;\n }\n\n /**\n * Checks if a given local date and time is ambiguous in the specified timezone.\n * Ambiguity happens during the end of daylight saving time (DST) transitions.\n */\n isAmbiguous(\n inputDate: string | Date,\n inputFormat: string = this.getIsoFormat(),\n ): boolean {\n if (inputDate == null || typeof Intl === \"undefined\") {\n return false;\n }\n\n const dateTime = this.toDate(inputDate, inputFormat);\n if (!isValid(dateTime)) {\n return false;\n }\n\n const t = [60, -60, 30, -30];\n const a = t.map((x) => {\n const newDate = add(dateTime, { minutes: x });\n return format(newDate, \"HH:mm\");\n });\n const time = format(dateTime, \"HH:mm\");\n return a.includes(time);\n }\n\n //////////// CALCULATIONS\n\n /**\n * @private\n */\n _calculate(\n date: string | Date,\n calculationFn: Function,\n property: string,\n value: number,\n inputFormat: string = this.getIsoFormat(),\n ): string {\n const parsedDate = this.toDate(date, inputFormat);\n return this.toISO(\n calculationFn(\n parsedDate,\n { [property]: value },\n {\n in: this.getDateFnsContext(),\n },\n ),\n );\n }\n\n /**\n */\n addSeconds(\n date: string,\n amount: number,\n inputFormat: string = this.getIsoFormat(),\n ): string {\n return this._calculate(date, add, \"seconds\", amount, inputFormat);\n }\n\n /**\n */\n addMinutes(\n date: string,\n amount: number,\n inputFormat: string = this.getIsoFormat(),\n ): string {\n return this._calculate(date, add, \"minutes\", amount, inputFormat);\n }\n\n /**\n */\n addHours(\n date: string,\n amount: number,\n inputFormat: string = this.getIsoFormat(),\n ): string {\n return this._calculate(date, add, \"hours\", amount, inputFormat);\n }\n\n /**\n */\n addDays(\n date: string,\n amount: number,\n inputFormat: string = this.getIsoFormat(),\n ): string {\n return this._calculate(date, add, \"days\", amount, inputFormat);\n }\n\n /**\n */\n addWeeks(\n date: string,\n amount: number,\n inputFormat: string = this.getIsoFormat(),\n ): string {\n return this._calculate(date, add, \"weeks\", amount, inputFormat);\n }\n\n /**\n */\n addMonths(\n date: string,\n amount: number,\n inputFormat: string = this.getIsoFormat(),\n ): string {\n return this._calculate(date, add, \"months\", amount, inputFormat);\n }\n\n /**\n */\n addYears(\n date: string,\n amount: number,\n inputFormat: string = this.getIsoFormat(),\n ): string {\n return this._calculate(date, add, \"years\", amount, inputFormat);\n }\n\n /**\n */\n subtractSeconds(\n date: string,\n amount: number,\n inputFormat: string = this.getIsoFormat(),\n ): string {\n return this._calculate(date, sub, \"seconds\", amount, inputFormat);\n }\n\n /**\n */\n subtractMinutes(\n date: string,\n amount: number,\n inputFormat: string = this.getIsoFormat(),\n ): string {\n return this._calculate(date, sub, \"minutes\", amount, inputFormat);\n }\n\n /**\n */\n subtractHours(\n date: string,\n amount: number,\n inputFormat: string = this.getIsoFormat(),\n ): string {\n return this._calculate(date, sub, \"hours\", amount, inputFormat);\n }\n\n /**\n */\n subtractDays(\n date: string,\n amount: number,\n inputFormat: string = this.getIsoFormat(),\n ): string {\n return this._calculate(date, sub, \"days\", amount, inputFormat);\n }\n\n /**\n */\n subtractWeeks(\n date: string,\n amount: number,\n inputFormat: string = this.getIsoFormat(),\n ): string {\n return this._calculate(date, sub, \"weeks\", amount, inputFormat);\n }\n\n /**\n */\n subtractMonths(\n date: string,\n amount: number,\n inputFormat: string = this.getIsoFormat(),\n ): string {\n return this._calculate(date, sub, \"months\", amount, inputFormat);\n }\n\n /**\n */\n subtractYears(\n date: string,\n amount: number,\n inputFormat: string = this.getIsoFormat(),\n ): string {\n return this._calculate(date, sub, \"years\", amount, inputFormat);\n }\n\n //////////// GETTERS\n\n /**\n * @private\n */\n _get(\n date: string | Date,\n method: Function,\n inputFormat: string = this.getIsoFormat(),\n options: Object = {},\n ): string {\n const parsedDate = this.toDate(date, inputFormat);\n return this.toISO(\n method(parsedDate, {\n in: this.getDateFnsContext(),\n ...options,\n }),\n );\n }\n\n /**\n */\n startOfMonth(\n date: string | Date,\n inputFormat: string = this.getIsoFormat(),\n ): string {\n return this._get(date, startOfMonth, inputFormat);\n }\n\n /**\n */\n endOfMonth(\n date: string | Date,\n inputFormat: string = this.getIsoFormat(),\n ): string {\n return this._get(date, endOfMonth, inputFormat);\n }\n\n /**\n */\n startOfWeek(\n date: string | Date,\n inputFormat: string = this.getIsoFormat(),\n ): string {\n const { weekStartsOn } = this.getOptions();\n return this._get(date, startOfWeek, inputFormat, {\n weekStartsOn,\n });\n }\n\n /**\n */\n getHours(\n date: string | Date,\n inputFormat: string = this.getIsoFormat(),\n ): number {\n const parsedDate = this.toDate(date, inputFormat);\n return getHours(parsedDate, { in: this.getDateFnsContext() });\n }\n\n /**\n */\n getMinutes(\n date: string | Date,\n inputFormat: string = this.getIsoFormat(),\n ): number {\n const parsedDate = this.toDate(date, inputFormat);\n return getMinutes(parsedDate, { in: this.getDateFnsContext() });\n }\n\n /**\n */\n getWeek(\n date: string | Date,\n inputFormat: string = this.getIsoFormat(),\n ): number {\n const { weekStartsOn, firstWeekContainsDate } = this.getOptions();\n const parsedDate = this.toDate(date, inputFormat);\n return getWeek(parsedDate, {\n in: this.getDateFnsContext(),\n weekStartsOn,\n firstWeekContainsDate,\n });\n }\n\n //////////// SETTERS\n\n /**\n * @private\n */\n _set(\n date: string | Date,\n property: string,\n value: number,\n inputFormat: string = this.getIsoFormat(),\n ): string {\n const parsedDate = this.toDate(date, inputFormat);\n return this.toISO(\n set(\n parsedDate,\n { [property]: value },\n // {\n // in: this.getDateFnsContext(),\n // },\n ),\n );\n }\n\n /**\n */\n setYear(\n date: string | Date,\n year: number,\n inputFormat: string = this.getIsoFormat(),\n ): string {\n return this._set(date, \"year\", year, inputFormat);\n }\n\n /**\n */\n setMonth(\n date: string | Date,\n month: number,\n inputFormat: string = this.getIsoFormat(),\n ): string {\n return this._set(date, \"month\", month, inputFormat);\n }\n\n /**\n */\n setDay(\n date: string | Date,\n day: number,\n inputFormat: string = this.getIsoFormat(),\n ): string {\n return this._set(date, \"date\", day, inputFormat);\n }\n\n /**\n */\n setHour(\n date: string | Date,\n hour: number,\n inputFormat: string = this.getIsoFormat(),\n ): string {\n return this._set(date, \"hours\", hour, inputFormat);\n }\n\n /**\n */\n setMinute(\n date: string | Date,\n minute: number,\n inputFormat: string = this.getIsoFormat(),\n ): string {\n return this._set(date, \"minutes\", minute, inputFormat);\n }\n\n /**\n */\n setSecond(\n date: string | Date,\n second: number,\n inputFormat: string = this.getIsoFormat(),\n ): string {\n return this._set(date, \"seconds\", second, inputFormat);\n }\n\n /**\n */\n setMilliseconds(\n date: string | Date,\n millisecond: number,\n inputFormat: string = this.getIsoFormat(),\n ): string {\n return this._set(date, \"milliseconds\", millisecond, inputFormat);\n }\n\n /**\n */\n setTime(\n date: string,\n hours: number,\n minutes: number,\n seconds: number,\n milliseconds: number,\n inputFormat: string = this.getIsoFormat(),\n ): string {\n const parsedDate = this.toDate(date, inputFormat);\n return this.toISO(\n set(\n parsedDate,\n { hours, minutes, seconds, milliseconds },\n {\n in: this.getDateFnsContext(),\n },\n ),\n );\n }\n\n //////////// Timezone related\n\n /**\n */\n getTimeZone(): string {\n return this._timeZone;\n }\n\n /**\n */\n setTimeZone(timeZone: string) {\n this._timeZone = timeZone;\n }\n\n /**\n */\n getDateFnsContext(): null | Function {\n if (this.doOffsets && !IS_GRAALJS) {\n return tz(this.getTimeZone());\n }\n return undefined;\n }\n\n //////////// Offsets\n\n /**\n */\n getOffset(\n date: string | Date,\n inputFormat: string = this.getIsoFormat(),\n ): OffsetInfo | null {\n const parsedDate = this.toDate(date, inputFormat);\n if (isValid(parsedDate)) {\n const dateOffset = this.toFormat(parsedDate, DATETIME_OFFSET_FORMAT);\n const offsets = this.getTimezoneOffsets();\n if (offsets.daylight?.value === dateOffset) {\n return offsets.daylight ?? null;\n } else if (offsets.standard?.value === dateOffset) {\n return offsets.standard ?? null;\n }\n }\n return null;\n }\n\n /**\n */\n getTimezoneOffsets(): {\n standard?: OffsetInfo,\n daylight?: OffsetInfo,\n } {\n const createOffsetObject = (info: OffsetInfoInput): OffsetInfo => {\n const sign = info.offset < 0 ? \"-\" : \"+\";\n const absOffset = Math.abs(info.offset);\n const hours = Math.trunc(absOffset);\n const minutes = Math.round((absOffset % 1) * 60);\n\n const offsetString = `${sign}${String(hours + (minutes === 60 ? 1 : 0)).padStart(2, \"0\")}:${String(minutes % 60).padStart(2, \"0\")}`;\n\n return {\n label: info.name,\n abbr: info.abbr,\n value: offsetString,\n };\n };\n\n const timezone = soft(this.getTimeZone());\n\n if (timezone.length === 0) {\n return {\n standard: {\n label: \"Etc/UTC\",\n abbr: \"Etc/UTC\",\n value: \"+00:00\",\n },\n };\n }\n\n const { daylight, standard } = timezone[0];\n\n if (daylight) {\n return {\n daylight: createOffsetObject(daylight),\n standard: createOffsetObject(standard),\n };\n }\n\n return { standard: createOffsetObject(standard) };\n }\n}\n\n/**\n * DateUtil\n */\nconst DateUtil: BaseDateTimeUtil = new BaseDateTimeUtil(ISO_DATE_FORMAT);\n\n/**\n * DateTimeUtil\n */\nconst DateTimeUtil: BaseDateTimeUtil = new BaseDateTimeUtil(\n ISO_DATETIME_FORMAT,\n true,\n);\n\n/**\n * TimeUtil\n */\nconst TimeUtil: BaseDateTimeUtil = new BaseDateTimeUtil(ISO_TIME_FORMAT);\n\n/**\n * TimestampUtil\n */\nconst TimestampUtil: BaseDateTimeUtil = new BaseDateTimeUtil(\n ISO_TIMESTAMP_FORMAT,\n true,\n);\n\nexport { DateUtil, DateTimeUtil, TimeUtil, TimestampUtil };\n"],"mappings":";;;;;;;;;;;;;;AACA,IAAAA,OAAA,GAAAC,OAAA;AACA,IAAAC,QAAA,GAAAD,OAAA;AACA,IAAAE,SAAA,GAAAF,OAAA;AACA,IAAAG,UAAA,GAAAH,OAAA;AACA,IAAAI,QAAA,GAAAJ,OAAA;AACA,IAAAK,MAAA,GAAAL,OAAA;AACA,IAAAM,IAAA,GAAAN,OAAA;AACA,IAAAO,IAAA,GAAAP,OAAA;AACA,IAAAQ,IAAA,GAAAR,OAAA;AACA,IAAAS,aAAA,GAAAT,OAAA;AACA,IAAAU,WAAA,GAAAV,OAAA;AACA,IAAAW,YAAA,GAAAX,OAAA;AACA,IAAAY,SAAA,GAAAZ,OAAA;AACA,IAAAa,WAAA,GAAAb,OAAA;AACA,IAAAc,OAAA,GAAAd,OAAA;AACA,IAAAe,QAAA,GAAAf,OAAA;AAEA,IAAAgB,OAAA,GAAAhB,OAAA;AACA,IAAAiB,GAAA,GAAAjB,OAAA;AAEA,IAAAkB,aAAA,GAAAC,sBAAA,CAAAnB,OAAA;AAEA,IAAAoB,UAAA,GAAApB,OAAA;AAcA,IAAAqB,QAAA,GAAArB,OAAA;AAcA;AACA;AACA;AACA,MAAMsB,gBAAgB,CAAC;EASrBC,WAAWA,CAACC,SAAiB,EAAEC,SAAkB,GAAG,KAAK,EAAE;IAAA,IAA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AI,CAAC9B,WAAW,CAAC,CAAC,CAAC;IAEzC,IAAI6B,QAAQ,CAACxI,MAAM,KAAK,CAAC,EAAE;MACzB,OAAO;QACLsH,QAAQ,EAAE;UACRe,KAAK,EAAE,SAAS;UAChBE,IAAI,EAAE,SAAS;UACfzE,KAAK,EAAE;QACT;MACF,CAAC;IACH;IAEA,MAAM;MAAEuD,QAAQ;MAAEC;IAAS,CAAC,GAAGkB,QAAQ,CAAC,CAAC,CAAC;IAE1C,IAAInB,QAAQ,EAAE;MACZ,OAAO;QACLA,QAAQ,EAAEE,kBAAkB,CAACF,QAAQ,CAAC;QACtCC,QAAQ,EAAEC,kBAAkB,CAACD,QAAQ;MACvC,CAAC;IACH;IAEA,OAAO;MAAEA,QAAQ,EAAEC,kBAAkB,CAACD,QAAQ;IAAE,CAAC;EACnD;AACF;;AAEA;AACA;AACA;AACA,MAAMoB,QAA0B,GAAAC,OAAA,CAAAD,QAAA,GAAG,IAAI7K,gBAAgB,CAAC+K,0BAAe,CAAC;;AAExE;AACA;AACA;AACA,MAAMC,YAA8B,GAAAF,OAAA,CAAAE,YAAA,GAAG,IAAIhL,gBAAgB,CACzDiL,8BAAmB,EACnB,IACF,CAAC;;AAED;AACA;AACA;AACA,MAAMC,QAA0B,GAAAJ,OAAA,CAAAI,QAAA,GAAG,IAAIlL,gBAAgB,CAACmL,0BAAe,CAAC;;AAExE;AACA;AACA;AACA,MAAMC,aAA+B,GAAAN,OAAA,CAAAM,aAAA,GAAG,IAAIpL,gBAAgB,CAC1DqL,+BAAoB,EACpB,IACF,CAAC","ignoreList":[]}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.default = serverFetch;
|
|
8
|
-
var _includes = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/includes"));
|
|
9
|
-
var _promise = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/promise"));
|
|
10
|
-
var _Settings = require("../../constants/Settings");
|
|
11
|
-
var _exceptions = require("../../exceptions");
|
|
12
|
-
/**
|
|
13
|
-
* Fetch data from server (uses nashorn and datafetcher).
|
|
14
|
-
*/
|
|
15
|
-
function serverFetch(args) {
|
|
16
|
-
var _context;
|
|
17
|
-
// remove contextPath of url, when the request is internal the context path is not needed
|
|
18
|
-
const urlNoBase = (0, _includes.default)(_context = args.url).call(_context, "http") ? args.url : args.url.replace((0, _Settings.getBasePath)(), "");
|
|
19
|
-
const params = args.params ? args.params.replace("includeContext=true", "") : "";
|
|
20
|
-
const url = params === "" ? urlNoBase : `${urlNoBase}?${params}`;
|
|
21
|
-
const data = dataFetcher.fetch(url, args);
|
|
22
|
-
try {
|
|
23
|
-
const jsonData = JSON.parse(data);
|
|
24
|
-
if (jsonData.error) {
|
|
25
|
-
return _promise.default.reject(new _exceptions.FetchException(jsonData, null, args));
|
|
26
|
-
}
|
|
27
|
-
return _promise.default.resolve(jsonData);
|
|
28
|
-
} catch (error) {
|
|
29
|
-
return _promise.default.reject(error);
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
//# sourceMappingURL=serverFetch.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"serverFetch.js","names":["_Settings","require","_exceptions","serverFetch","args","_context","urlNoBase","_includes","default","url","call","replace","getBasePath","params","data","dataFetcher","fetch","jsonData","JSON","parse","error","_promise","reject","FetchException","resolve"],"sources":["../../../src/utils/fetch/serverFetch.js"],"sourcesContent":["// @flow\nimport { getBasePath } from \"../../constants/Settings\";\nimport { FetchException } from \"../../exceptions\";\n\nimport type { RequestOptions } from \"./types\";\n\n/**\n * Fetch data from server (uses nashorn and datafetcher).\n */\nexport default function serverFetch(args: RequestOptions): Promise<any> {\n // remove contextPath of url, when the request is internal the context path is not needed\n const urlNoBase = args.url.includes(\"http\")\n ? args.url\n : args.url.replace(getBasePath(), \"\");\n const params = args.params\n ? args.params.replace(\"includeContext=true\", \"\")\n : \"\";\n const url = params === \"\" ? urlNoBase : `${urlNoBase}?${params}`;\n\n const data = dataFetcher.fetch(url, args);\n\n try {\n const jsonData = JSON.parse(data);\n\n if (jsonData.error) {\n return Promise.reject(new FetchException(jsonData, null, args));\n }\n\n return Promise.resolve(jsonData);\n } catch (error) {\n return Promise.reject(error);\n }\n}\n"],"mappings":";;;;;;;;;AACA,IAAAA,SAAA,GAAAC,OAAA;AACA,IAAAC,WAAA,GAAAD,OAAA;AAIA;AACA;AACA;AACe,SAASE,WAAWA,CAACC,IAAoB,EAAgB;EAAA,IAAAC,QAAA;EACtE;EACA,MAAMC,SAAS,GAAG,IAAAC,SAAA,CAAAC,OAAA,EAAAH,QAAA,GAAAD,IAAI,CAACK,GAAG,EAAAC,IAAA,CAAAL,QAAA,EAAU,MAAM,CAAC,GACvCD,IAAI,CAACK,GAAG,GACRL,IAAI,CAACK,GAAG,CAACE,OAAO,CAAC,IAAAC,qBAAW,EAAC,CAAC,EAAE,EAAE,CAAC;EACvC,MAAMC,MAAM,GAAGT,IAAI,CAACS,MAAM,GACtBT,IAAI,CAACS,MAAM,CAACF,OAAO,CAAC,qBAAqB,EAAE,EAAE,CAAC,GAC9C,EAAE;EACN,MAAMF,GAAG,GAAGI,MAAM,KAAK,EAAE,GAAGP,SAAS,GAAG,GAAGA,SAAS,IAAIO,MAAM,EAAE;EAEhE,MAAMC,IAAI,GAAGC,WAAW,CAACC,KAAK,CAACP,GAAG,EAAEL,IAAI,CAAC;EAEzC,IAAI;IACF,MAAMa,QAAQ,GAAGC,IAAI,CAACC,KAAK,CAACL,IAAI,CAAC;IAEjC,IAAIG,QAAQ,CAACG,KAAK,EAAE;MAClB,OAAOC,QAAA,CAAAb,OAAA,CAAQc,MAAM,CAAC,IAAIC,0BAAc,CAACN,QAAQ,EAAE,IAAI,EAAEb,IAAI,CAAC,CAAC;IACjE;IAEA,OAAOiB,QAAA,CAAAb,OAAA,CAAQgB,OAAO,CAACP,QAAQ,CAAC;EAClC,CAAC,CAAC,OAAOG,KAAK,EAAE;IACd,OAAOC,QAAA,CAAAb,OAAA,CAAQc,MAAM,CAACF,KAAK,CAAC;EAC9B;AACF","ignoreList":[]}
|
package/lib/utils/fetch/types.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","names":[],"sources":["../../../src/utils/fetch/types.js"],"sourcesContent":["// @flow\nimport typeof { HTTP_METHODS } from \"../../constants/Constants\";\nimport type { ModularUIModel } from \"../../models/types\";\nimport type { TargetModel } from \"../../modularui/types\";\n\nexport type RequestURLOptions = {\n url: string,\n};\n\nexport type RequestBaseOptions = {\n origin?: string,\n contextPath?: string,\n method?: $Keys<HTTP_METHODS>,\n params?: string,\n data?: any,\n timeout?: number,\n responseType?: string,\n headers?: {\n [headerName: string]: string,\n Accept?: string,\n \"Accept-Language\"?: string,\n \"Content-Type\"?: string,\n \"x-filename\"?: string,\n \"x-filesize\"?: string,\n },\n events?: { [eventName: string]: () => void },\n onProgress?: ProgressEventHandler,\n includeContext?: boolean,\n locale?: string,\n cache?: boolean,\n isReload?: boolean,\n withCredentials?: boolean,\n};\n\nexport type RequestOptions = { ...RequestURLOptions, ...RequestBaseOptions };\n\nexport type UpdateHandler = (newModel: ModularUIModel) => ModularUIModel;\nexport type RequestModularUIOptions = {\n ...RequestBaseOptions,\n targetModel?: TargetModel,\n forceTargetModel?: boolean,\n updateHandler?: UpdateHandler | void,\n childmodels?: boolean,\n isValidationRequest?: boolean,\n removeOnUnmount?: boolean,\n};\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.default = void 0;
|
|
8
|
-
var _promise = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/promise"));
|
|
9
|
-
var _Constants = require("../../constants/Constants");
|
|
10
|
-
var _constants = require("../../constants");
|
|
11
|
-
var _serverFetch = _interopRequireDefault(require("./serverFetch"));
|
|
12
|
-
var _xhr = _interopRequireDefault(require("./xhr"));
|
|
13
|
-
var _Cache = _interopRequireDefault(require("../browser/Cache"));
|
|
14
|
-
const IS_FETCHING = "is-fetching";
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* Checks each x ms if a cache item is set after fetching the item.
|
|
18
|
-
* @private
|
|
19
|
-
*/
|
|
20
|
-
const waitForCachedItem = cacheKey => {
|
|
21
|
-
let TIMEOUT = 3000;
|
|
22
|
-
const CHECK_TIMEOUT = 100;
|
|
23
|
-
return new _promise.default((resolve, reject) => {
|
|
24
|
-
const check = () => {
|
|
25
|
-
if (_Cache.default.getItem(cacheKey) !== IS_FETCHING) {
|
|
26
|
-
const cachedItem = _Cache.default.getItem(cacheKey);
|
|
27
|
-
if (cachedItem != null) {
|
|
28
|
-
resolve(cachedItem);
|
|
29
|
-
} else {
|
|
30
|
-
reject(new Error("Empty cached item"));
|
|
31
|
-
}
|
|
32
|
-
} else if (TIMEOUT <= 0) {
|
|
33
|
-
reject(new Error("Empty cached item"));
|
|
34
|
-
} else {
|
|
35
|
-
TIMEOUT = TIMEOUT - CHECK_TIMEOUT;
|
|
36
|
-
setTimeout(check, CHECK_TIMEOUT);
|
|
37
|
-
}
|
|
38
|
-
};
|
|
39
|
-
setTimeout(check, CHECK_TIMEOUT);
|
|
40
|
-
});
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* @private
|
|
45
|
-
*/
|
|
46
|
-
const browserFetch = args => {
|
|
47
|
-
const shouldCache = (0, _constants.cacheContributions)() && args.cache;
|
|
48
|
-
if (shouldCache) {
|
|
49
|
-
const cacheKey = _Cache.default.createResourceKey(args);
|
|
50
|
-
if (_Cache.default.hasItem(cacheKey)) {
|
|
51
|
-
const cacheItem = _Cache.default.getItem(cacheKey);
|
|
52
|
-
if (cacheItem === IS_FETCHING) {
|
|
53
|
-
return waitForCachedItem(cacheKey);
|
|
54
|
-
}
|
|
55
|
-
if (cacheItem != null) {
|
|
56
|
-
return _promise.default.resolve(cacheItem);
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
_Cache.default.addItem(cacheKey, IS_FETCHING);
|
|
60
|
-
}
|
|
61
|
-
return (0, _xhr.default)(args).then(response => {
|
|
62
|
-
if (shouldCache) {
|
|
63
|
-
const cacheKey = _Cache.default.createResourceKey(args);
|
|
64
|
-
_Cache.default.addItem(cacheKey, response);
|
|
65
|
-
}
|
|
66
|
-
return response;
|
|
67
|
-
});
|
|
68
|
-
};
|
|
69
|
-
|
|
70
|
-
/**
|
|
71
|
-
* Request data from server, uses server datafetcher or xhr in browser.
|
|
72
|
-
*/
|
|
73
|
-
const universalFetch = args => {
|
|
74
|
-
// Set locale as Accept-Language header
|
|
75
|
-
if (args.locale) {
|
|
76
|
-
// $FlowFixMe
|
|
77
|
-
args.headers = {
|
|
78
|
-
...args.headers,
|
|
79
|
-
"Accept-Language": args.locale
|
|
80
|
-
};
|
|
81
|
-
}
|
|
82
|
-
if (args.includeContext) {
|
|
83
|
-
args.url = `${args.url}?includeContext=true`;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
// server side no access to the browser cache apis, no cache available
|
|
87
|
-
if (_Constants.IS_SYNC) {
|
|
88
|
-
return (0, _serverFetch.default)(args);
|
|
89
|
-
}
|
|
90
|
-
return browserFetch(args);
|
|
91
|
-
};
|
|
92
|
-
var _default = exports.default = universalFetch;
|
|
93
|
-
//# sourceMappingURL=universalFetch.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"universalFetch.js","names":["_Constants","require","_constants","_serverFetch","_interopRequireDefault","_xhr","_Cache","IS_FETCHING","waitForCachedItem","cacheKey","TIMEOUT","CHECK_TIMEOUT","_promise","default","resolve","reject","check","Cache","getItem","cachedItem","Error","setTimeout","browserFetch","args","shouldCache","cacheContributions","cache","createResourceKey","hasItem","cacheItem","addItem","xhr","then","response","universalFetch","locale","headers","includeContext","url","IS_SYNC","serverFetch","_default","exports"],"sources":["../../../src/utils/fetch/universalFetch.js"],"sourcesContent":["// @flow\nimport { IS_SYNC } from \"../../constants/Constants\";\nimport { cacheContributions } from \"../../constants\";\n\nimport serverFetch from \"./serverFetch\";\nimport xhr from \"./xhr\";\nimport Cache from \"../browser/Cache\";\n\nimport type { RequestOptions } from \"./types\";\n\ntype CachedResponse = Object | Array<any> | string;\n\nconst IS_FETCHING = \"is-fetching\";\n\n/**\n * Checks each x ms if a cache item is set after fetching the item.\n * @private\n */\nconst waitForCachedItem = (cacheKey: string): Promise<CachedResponse> => {\n let TIMEOUT = 3000;\n const CHECK_TIMEOUT = 100;\n\n return new Promise<CachedResponse>((resolve, reject) => {\n const check = () => {\n if (Cache.getItem(cacheKey) !== IS_FETCHING) {\n const cachedItem = Cache.getItem(cacheKey);\n if (cachedItem != null) {\n resolve(cachedItem);\n } else {\n reject(new Error(\"Empty cached item\"));\n }\n } else if (TIMEOUT <= 0) {\n reject(new Error(\"Empty cached item\"));\n } else {\n TIMEOUT = TIMEOUT - CHECK_TIMEOUT;\n setTimeout(check, CHECK_TIMEOUT);\n }\n };\n\n setTimeout(check, CHECK_TIMEOUT);\n });\n};\n\n/**\n * @private\n */\nconst browserFetch = (args: RequestOptions): Promise<CachedResponse> => {\n const shouldCache = cacheContributions() && args.cache;\n\n if (shouldCache) {\n const cacheKey = Cache.createResourceKey(args);\n\n if (Cache.hasItem(cacheKey)) {\n const cacheItem = Cache.getItem(cacheKey);\n\n if (cacheItem === IS_FETCHING) {\n return waitForCachedItem(cacheKey);\n }\n\n if (cacheItem != null) {\n return Promise.resolve(cacheItem);\n }\n }\n\n Cache.addItem(cacheKey, IS_FETCHING);\n }\n\n return xhr(args).then((response: CachedResponse) => {\n if (shouldCache) {\n const cacheKey = Cache.createResourceKey(args);\n Cache.addItem(cacheKey, response);\n }\n\n return response;\n });\n};\n\n/**\n * Request data from server, uses server datafetcher or xhr in browser.\n */\nconst universalFetch = (\n args: RequestOptions,\n): Promise<CachedResponse> | Promise<any> => {\n // Set locale as Accept-Language header\n if (args.locale) {\n // $FlowFixMe\n args.headers = {\n ...args.headers,\n \"Accept-Language\": args.locale,\n };\n }\n\n if (args.includeContext) {\n args.url = `${args.url}?includeContext=true`;\n }\n\n // server side no access to the browser cache apis, no cache available\n if (IS_SYNC) {\n return serverFetch(args);\n }\n\n return browserFetch(args);\n};\n\nexport default universalFetch;\n"],"mappings":";;;;;;;;AACA,IAAAA,UAAA,GAAAC,OAAA;AACA,IAAAC,UAAA,GAAAD,OAAA;AAEA,IAAAE,YAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,IAAA,GAAAD,sBAAA,CAAAH,OAAA;AACA,IAAAK,MAAA,GAAAF,sBAAA,CAAAH,OAAA;AAMA,MAAMM,WAAW,GAAG,aAAa;;AAEjC;AACA;AACA;AACA;AACA,MAAMC,iBAAiB,GAAIC,QAAgB,IAA8B;EACvE,IAAIC,OAAO,GAAG,IAAI;EAClB,MAAMC,aAAa,GAAG,GAAG;EAEzB,OAAO,IAAAC,QAAA,CAAAC,OAAA,CAA4B,CAACC,OAAO,EAAEC,MAAM,KAAK;IACtD,MAAMC,KAAK,GAAGA,CAAA,KAAM;MAClB,IAAIC,cAAK,CAACC,OAAO,CAACT,QAAQ,CAAC,KAAKF,WAAW,EAAE;QAC3C,MAAMY,UAAU,GAAGF,cAAK,CAACC,OAAO,CAACT,QAAQ,CAAC;QAC1C,IAAIU,UAAU,IAAI,IAAI,EAAE;UACtBL,OAAO,CAACK,UAAU,CAAC;QACrB,CAAC,MAAM;UACLJ,MAAM,CAAC,IAAIK,KAAK,CAAC,mBAAmB,CAAC,CAAC;QACxC;MACF,CAAC,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Ac,GAClBX,IAAoB,IACuB;EAC3C;EACA,IAAIA,IAAI,CAACY,MAAM,EAAE;IACf;IACAZ,IAAI,CAACa,OAAO,GAAG;MACb,GAAGb,IAAI,CAACa,OAAO;MACf,iBAAiB,EAAEb,IAAI,CAACY;IAC1B,CAAC;EACH;EAEA,IAAIZ,IAAI,CAACc,cAAc,EAAE;IACvBd,IAAI,CAACe,GAAG,GAAG,GAAGf,IAAI,CAACe,GAAG,sBAAsB;EAC9C;;EAEA;EACA,IAAIC,kBAAO,EAAE;IACX,OAAO,IAAAC,oBAAW,EAACjB,IAAI,CAAC;EAC1B;EAEA,OAAOD,YAAY,CAACC,IAAI,CAAC;AAC3B,CAAC;AAAC,IAAAkB,QAAA,GAAAC,OAAA,CAAA7B,OAAA,GAEaqB,cAAc","ignoreList":[]}
|
package/lib/utils/fetch/xhr.js
DELETED
|
@@ -1,356 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.default = void 0;
|
|
8
|
-
var _includes = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/includes"));
|
|
9
|
-
var _globalThis2 = _interopRequireDefault(require("@babel/runtime-corejs3/core-js/global-this"));
|
|
10
|
-
var _keys = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/object/keys"));
|
|
11
|
-
var _stringify = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/json/stringify"));
|
|
12
|
-
var _promise = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/promise"));
|
|
13
|
-
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/defineProperty"));
|
|
14
|
-
var _objects = require("../helpers/objects");
|
|
15
|
-
var _exceptions = require("../../exceptions");
|
|
16
|
-
var _Cache = _interopRequireDefault(require("../browser/Cache"));
|
|
17
|
-
var _Constants = require("../../constants/Constants");
|
|
18
|
-
var _Settings = require("../../constants/Settings");
|
|
19
|
-
const NETWORK_ERROR_CODE = 0;
|
|
20
|
-
const SUCCESS_CODE = 200;
|
|
21
|
-
const CLIENT_ERROR_CODE = 400;
|
|
22
|
-
const UNAUTHORIZED_CODE = 401;
|
|
23
|
-
const REDIRECTION_CODE = 300;
|
|
24
|
-
const NOT_FOUND_CODE = 404;
|
|
25
|
-
const JSON_TYPE = "application/json";
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* @private
|
|
29
|
-
*/
|
|
30
|
-
class XHR {
|
|
31
|
-
/**
|
|
32
|
-
*/
|
|
33
|
-
constructor(options) {
|
|
34
|
-
(0, _defineProperty2.default)(this, "_options", void 0);
|
|
35
|
-
(0, _defineProperty2.default)(this, "_xmlhttp", void 0);
|
|
36
|
-
(0, _defineProperty2.default)(this, "_attempts", void 0);
|
|
37
|
-
this._options = options;
|
|
38
|
-
this._attempts = 0;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
*/
|
|
43
|
-
get xmlhttp() {
|
|
44
|
-
return this._xmlhttp;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
/**
|
|
48
|
-
*/
|
|
49
|
-
set xmlhttp(xmlhttp) {
|
|
50
|
-
this._xmlhttp = xmlhttp;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
/**
|
|
54
|
-
*/
|
|
55
|
-
get options() {
|
|
56
|
-
return this._options;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
*/
|
|
61
|
-
set options(options) {
|
|
62
|
-
this._options = options;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
*/
|
|
67
|
-
get attempts() {
|
|
68
|
-
return this._attempts;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
/**
|
|
72
|
-
*/
|
|
73
|
-
set attempts(attempts) {
|
|
74
|
-
this._attempts = attempts;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
/**
|
|
78
|
-
* Create and fix url when params or both querystring and params exist.
|
|
79
|
-
*/
|
|
80
|
-
get url() {
|
|
81
|
-
const {
|
|
82
|
-
url
|
|
83
|
-
} = this.options;
|
|
84
|
-
if (this.params !== "") {
|
|
85
|
-
if ((0, _includes.default)(url).call(url, "?")) {
|
|
86
|
-
const aUrl = url.split("?");
|
|
87
|
-
return `${aUrl[0]}?${aUrl[1]}&${this.params}`;
|
|
88
|
-
}
|
|
89
|
-
return `${url}?${this.params}`;
|
|
90
|
-
}
|
|
91
|
-
return url;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
/**
|
|
95
|
-
*/
|
|
96
|
-
get params() {
|
|
97
|
-
return this.options.params || "";
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
/**
|
|
101
|
-
*/
|
|
102
|
-
get data() {
|
|
103
|
-
return this.options.data || null;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
/**
|
|
107
|
-
*/
|
|
108
|
-
get method() {
|
|
109
|
-
return this.options.method || _Constants.HTTP_METHODS.GET;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
/**
|
|
113
|
-
*/
|
|
114
|
-
get timeout() {
|
|
115
|
-
return this.options.timeout || (0, _Settings.getSetting)("XHR_TIMEOUT_MS", 300000);
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
/**
|
|
119
|
-
*/
|
|
120
|
-
get responseType() {
|
|
121
|
-
return this.options.responseType || "json";
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
/**
|
|
125
|
-
*/
|
|
126
|
-
get onProgress() {
|
|
127
|
-
if (this.options.onProgress) {
|
|
128
|
-
return this.options.onProgress;
|
|
129
|
-
}
|
|
130
|
-
return () => {
|
|
131
|
-
// do nothing
|
|
132
|
-
};
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
/**
|
|
136
|
-
*/
|
|
137
|
-
get events() {
|
|
138
|
-
return this.options.events || {};
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
/**
|
|
142
|
-
*/
|
|
143
|
-
getBaseLocale() {
|
|
144
|
-
// $FlowIssue
|
|
145
|
-
return _globalThis2.default.navigator?.language?.split("-")[0] || "en";
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
/**
|
|
149
|
-
*/
|
|
150
|
-
get headers() {
|
|
151
|
-
const baseHeaders = {
|
|
152
|
-
Accept: JSON_TYPE,
|
|
153
|
-
"Content-Type": JSON_TYPE,
|
|
154
|
-
// needed for csrf, see: https://plaza.beinformed.com/amdoc/csrf-protection-in-modular-ui-services-40054554.html
|
|
155
|
-
"X-Requested-With": "XMLHttpRequest",
|
|
156
|
-
"Accept-Language": this.getBaseLocale()
|
|
157
|
-
};
|
|
158
|
-
if (this.options.headers) {
|
|
159
|
-
// $FlowFixMe[cannot-spread-indexer]
|
|
160
|
-
return {
|
|
161
|
-
...baseHeaders,
|
|
162
|
-
...this.options.headers
|
|
163
|
-
};
|
|
164
|
-
}
|
|
165
|
-
return baseHeaders;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
/**
|
|
169
|
-
*/
|
|
170
|
-
timeoutHandler(reject) {
|
|
171
|
-
return reject(new _exceptions.TimeoutException(this.url, this.method));
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
/**
|
|
175
|
-
*/
|
|
176
|
-
errorHandler(reject, responseJSON = null) {
|
|
177
|
-
const {
|
|
178
|
-
status
|
|
179
|
-
} = this.xmlhttp;
|
|
180
|
-
const {
|
|
181
|
-
isReload
|
|
182
|
-
} = this.options;
|
|
183
|
-
if (status === NETWORK_ERROR_CODE) {
|
|
184
|
-
return reject(new _exceptions.NetworkException(this.url, this.method));
|
|
185
|
-
}
|
|
186
|
-
if (status === NOT_FOUND_CODE) {
|
|
187
|
-
return reject(new _exceptions.NotFoundException(this.url, this.method, isReload));
|
|
188
|
-
}
|
|
189
|
-
if (status === UNAUTHORIZED_CODE) {
|
|
190
|
-
return reject(new _exceptions.UnauthorizedException(this.url, this.method, responseJSON));
|
|
191
|
-
}
|
|
192
|
-
return reject(new _exceptions.FetchException(responseJSON, this.xmlhttp, this.options));
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
/**
|
|
196
|
-
*/
|
|
197
|
-
getResponse() {
|
|
198
|
-
const {
|
|
199
|
-
responseType,
|
|
200
|
-
response
|
|
201
|
-
} = this.xmlhttp;
|
|
202
|
-
if ((responseType === "" || responseType === "text") && this.getResponseHeader("Content-Type") === JSON_TYPE) {
|
|
203
|
-
if ((0, _objects.isPlainObject)(response)) {
|
|
204
|
-
return response;
|
|
205
|
-
}
|
|
206
|
-
try {
|
|
207
|
-
return JSON.parse(response);
|
|
208
|
-
} catch (error) {
|
|
209
|
-
throw new _exceptions.JsonParseException(error);
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
return response;
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
/**
|
|
216
|
-
*/
|
|
217
|
-
responseHandler(resolve, reject) {
|
|
218
|
-
const {
|
|
219
|
-
status
|
|
220
|
-
} = this.xmlhttp;
|
|
221
|
-
let response = null;
|
|
222
|
-
try {
|
|
223
|
-
response = this.getResponse();
|
|
224
|
-
} catch (error) {
|
|
225
|
-
return reject(error);
|
|
226
|
-
}
|
|
227
|
-
if (status >= SUCCESS_CODE && status < REDIRECTION_CODE || status === CLIENT_ERROR_CODE && (0, _objects.has)(response, "formresponse")) {
|
|
228
|
-
return resolve(response);
|
|
229
|
-
}
|
|
230
|
-
return this.errorHandler(reject, response);
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
/**
|
|
234
|
-
*/
|
|
235
|
-
setEventListeners(resolve, reject) {
|
|
236
|
-
if (this.options.onProgress) {
|
|
237
|
-
["load", "loadend", "loadstart", "progress"].forEach(eventType => {
|
|
238
|
-
this.xmlhttp.addEventListener(eventType, this.onProgress);
|
|
239
|
-
});
|
|
240
|
-
}
|
|
241
|
-
["abort", "error"].forEach(eventType => {
|
|
242
|
-
this.xmlhttp.addEventListener(eventType, () => this.errorHandler(reject));
|
|
243
|
-
});
|
|
244
|
-
this.xmlhttp.addEventListener("timeout", () => this.timeoutHandler(reject));
|
|
245
|
-
this.xmlhttp.addEventListener("load", () => this.responseHandler(resolve, reject));
|
|
246
|
-
|
|
247
|
-
// Set custom events
|
|
248
|
-
(0, _keys.default)(this.events).forEach(eventName => {
|
|
249
|
-
this.xmlhttp.addEventListener(eventName, this.events[eventName]);
|
|
250
|
-
});
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
/**
|
|
254
|
-
*/
|
|
255
|
-
openConnection() {
|
|
256
|
-
this.xmlhttp.open(this.method, this.url, true);
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
/**
|
|
260
|
-
*/
|
|
261
|
-
setBasicAuthentication() {
|
|
262
|
-
if (_Cache.default.hasItem("basic")) {
|
|
263
|
-
const basicToken = _Cache.default.getItem("basic");
|
|
264
|
-
if (typeof basicToken === "string") {
|
|
265
|
-
this.xmlhttp.setRequestHeader("Authorization", `Basic ${basicToken}`);
|
|
266
|
-
}
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
/**
|
|
271
|
-
*/
|
|
272
|
-
getResponseHeader(headerName) {
|
|
273
|
-
return this.xmlhttp.getResponseHeader(headerName);
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
/**
|
|
277
|
-
*/
|
|
278
|
-
setCustomHeaders() {
|
|
279
|
-
(0, _keys.default)(this.headers).forEach(headerName => {
|
|
280
|
-
this.xmlhttp.setRequestHeader(headerName, this.headers[headerName]);
|
|
281
|
-
});
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
/**
|
|
285
|
-
*/
|
|
286
|
-
setOtherOptions() {
|
|
287
|
-
if (this.options.withCredentials || (0, _Settings.getSetting)("XHR_ALWAYS_WITH_CREDENTIALS", _Cache.default.hasItem("basic"))) {
|
|
288
|
-
this.xmlhttp.withCredentials = true;
|
|
289
|
-
}
|
|
290
|
-
this.xmlhttp.responseType = this.responseType;
|
|
291
|
-
this.xmlhttp.timeout = this.timeout;
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
/**
|
|
295
|
-
*/
|
|
296
|
-
sendData() {
|
|
297
|
-
if (this.data == null) {
|
|
298
|
-
this.xmlhttp.send();
|
|
299
|
-
} else {
|
|
300
|
-
const stringData = (0, _objects.isPlainObject)(this.data) ? (0, _stringify.default)(this.data) : this.data;
|
|
301
|
-
this.xmlhttp.send(stringData);
|
|
302
|
-
}
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
/**
|
|
306
|
-
*/
|
|
307
|
-
setXMLHttpRequest() {
|
|
308
|
-
return new _promise.default((resolve, reject) => {
|
|
309
|
-
this.xmlhttp = new XMLHttpRequest();
|
|
310
|
-
this.setEventListeners(resolve, reject);
|
|
311
|
-
this.openConnection();
|
|
312
|
-
this.setBasicAuthentication();
|
|
313
|
-
this.setCustomHeaders();
|
|
314
|
-
this.setOtherOptions();
|
|
315
|
-
this.sendData();
|
|
316
|
-
});
|
|
317
|
-
}
|
|
318
|
-
|
|
319
|
-
/**
|
|
320
|
-
*/
|
|
321
|
-
async fetch() {
|
|
322
|
-
try {
|
|
323
|
-
return await this.setXMLHttpRequest();
|
|
324
|
-
} catch (err) {
|
|
325
|
-
if (err instanceof _exceptions.NetworkException && this.attempts < 2) {
|
|
326
|
-
this.attempts += 1;
|
|
327
|
-
return this.fetch();
|
|
328
|
-
}
|
|
329
|
-
throw err;
|
|
330
|
-
}
|
|
331
|
-
}
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
/**
|
|
335
|
-
*/
|
|
336
|
-
const validateInputArguments = args => {
|
|
337
|
-
if (args == null) {
|
|
338
|
-
throw new _exceptions.IllegalArgumentException("Missing request options, expecting an object as argument for xhr");
|
|
339
|
-
}
|
|
340
|
-
if (!(0, _objects.isPlainObject)(args)) {
|
|
341
|
-
throw new _exceptions.IllegalArgumentException(`Expecting an object as argument for xhr, but received: ${typeof args}`);
|
|
342
|
-
}
|
|
343
|
-
if (!(0, _objects.has)(args, "url")) {
|
|
344
|
-
throw new _exceptions.IllegalArgumentException(`No url property found in arguments of xhr, received: ${(0, _stringify.default)(args)}`);
|
|
345
|
-
}
|
|
346
|
-
return true;
|
|
347
|
-
};
|
|
348
|
-
|
|
349
|
-
/**
|
|
350
|
-
*/
|
|
351
|
-
const xhr = args => {
|
|
352
|
-
validateInputArguments(args);
|
|
353
|
-
return new XHR(args).fetch();
|
|
354
|
-
};
|
|
355
|
-
var _default = exports.default = xhr;
|
|
356
|
-
//# sourceMappingURL=xhr.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"xhr.js","names":["_objects","require","_exceptions","_Cache","_interopRequireDefault","_Constants","_Settings","NETWORK_ERROR_CODE","SUCCESS_CODE","CLIENT_ERROR_CODE","UNAUTHORIZED_CODE","REDIRECTION_CODE","NOT_FOUND_CODE","JSON_TYPE","XHR","constructor","options","_defineProperty2","default","_options","_attempts","xmlhttp","_xmlhttp","attempts","url","params","_includes","call","aUrl","split","data","method","HTTP_METHODS","GET","timeout","getSetting","responseType","onProgress","events","getBaseLocale","_globalThis2","navigator","language","headers","baseHeaders","Accept","timeoutHandler","reject","TimeoutException","errorHandler","responseJSON","status","isReload","NetworkException","NotFoundException","UnauthorizedException","FetchException","getResponse","response","getResponseHeader","isPlainObject","JSON","parse","error","JsonParseException","responseHandler","resolve","has","setEventListeners","forEach","eventType","addEventListener","_keys","eventName","openConnection","open","setBasicAuthentication","Cache","hasItem","basicToken","getItem","setRequestHeader","headerName","setCustomHeaders","setOtherOptions","withCredentials","sendData","send","stringData","_stringify","setXMLHttpRequest","_promise","XMLHttpRequest","fetch","err","validateInputArguments","args","IllegalArgumentException","xhr","_default","exports"],"sources":["../../../src/utils/fetch/xhr.js"],"sourcesContent":["// @flow\nimport { has, isPlainObject } from \"../helpers/objects\";\n\nimport {\n IllegalArgumentException,\n UnauthorizedException,\n FetchException,\n TimeoutException,\n NotFoundException,\n JsonParseException,\n NetworkException,\n} from \"../../exceptions\";\n\nimport Cache from \"../browser/Cache\";\n\nimport { HTTP_METHODS } from \"../../constants/Constants\";\n\nimport { getSetting } from \"../../constants/Settings\";\n\nimport type { RequestOptions } from \"./types\";\n\nconst NETWORK_ERROR_CODE = 0;\nconst SUCCESS_CODE = 200;\nconst CLIENT_ERROR_CODE = 400;\nconst UNAUTHORIZED_CODE = 401;\nconst REDIRECTION_CODE = 300;\nconst NOT_FOUND_CODE = 404;\n\nconst JSON_TYPE = \"application/json\";\n\n/**\n * @private\n */\nclass XHR {\n _options: RequestOptions;\n _xmlhttp: XMLHttpRequest;\n _attempts: number;\n\n /**\n */\n constructor(options: RequestOptions) {\n this._options = options;\n this._attempts = 0;\n }\n\n /**\n */\n get xmlhttp(): XMLHttpRequest {\n return this._xmlhttp;\n }\n\n /**\n */\n set xmlhttp(xmlhttp: XMLHttpRequest) {\n this._xmlhttp = xmlhttp;\n }\n\n /**\n */\n get options(): RequestOptions {\n return this._options;\n }\n\n /**\n */\n set options(options: RequestOptions) {\n this._options = options;\n }\n\n /**\n */\n get attempts(): number {\n return this._attempts;\n }\n\n /**\n */\n set attempts(attempts: number) {\n this._attempts = attempts;\n }\n\n /**\n * Create and fix url when params or both querystring and params exist.\n */\n get url(): string {\n const { url } = this.options;\n if (this.params !== \"\") {\n if (url.includes(\"?\")) {\n const aUrl = url.split(\"?\");\n\n return `${aUrl[0]}?${aUrl[1]}&${this.params}`;\n }\n\n return `${url}?${this.params}`;\n }\n\n return url;\n }\n\n /**\n */\n get params(): string {\n return this.options.params || \"\";\n }\n\n /**\n */\n get data(): any | null {\n return this.options.data || null;\n }\n\n /**\n */\n get method(): $Keys<typeof HTTP_METHODS> {\n return this.options.method || HTTP_METHODS.GET;\n }\n\n /**\n */\n get timeout(): number {\n return this.options.timeout || getSetting(\"XHR_TIMEOUT_MS\", 300000);\n }\n\n /**\n */\n get responseType(): string {\n return this.options.responseType || \"json\";\n }\n\n /**\n */\n get onProgress(): ProgressEventHandler {\n if (this.options.onProgress) {\n return this.options.onProgress;\n }\n\n return () => {\n // do nothing\n };\n }\n\n /**\n */\n get events(): { [eventName: string]: () => void } {\n return this.options.events || {};\n }\n\n /**\n */\n getBaseLocale(): string {\n // $FlowIssue\n return globalThis.navigator?.language?.split(\"-\")[0] || \"en\";\n }\n\n /**\n */\n get headers(): { [string]: string } {\n const baseHeaders = {\n Accept: JSON_TYPE,\n \"Content-Type\": JSON_TYPE,\n\n // needed for csrf, see: https://plaza.beinformed.com/amdoc/csrf-protection-in-modular-ui-services-40054554.html\n \"X-Requested-With\": \"XMLHttpRequest\",\n\n \"Accept-Language\": this.getBaseLocale(),\n };\n\n if (this.options.headers) {\n // $FlowFixMe[cannot-spread-indexer]\n return {\n ...baseHeaders,\n ...this.options.headers,\n };\n }\n\n return baseHeaders;\n }\n\n /**\n */\n timeoutHandler(reject: Function): any {\n return reject(new TimeoutException(this.url, this.method));\n }\n\n /**\n */\n errorHandler(reject: Function, responseJSON: any = null): any {\n const { status } = this.xmlhttp;\n const { isReload } = this.options;\n\n if (status === NETWORK_ERROR_CODE) {\n return reject(new NetworkException(this.url, this.method));\n }\n\n if (status === NOT_FOUND_CODE) {\n return reject(new NotFoundException(this.url, this.method, isReload));\n }\n\n if (status === UNAUTHORIZED_CODE) {\n return reject(\n new UnauthorizedException(this.url, this.method, responseJSON),\n );\n }\n\n return reject(new FetchException(responseJSON, this.xmlhttp, this.options));\n }\n\n /**\n */\n getResponse(): any {\n const { responseType, response } = this.xmlhttp;\n\n if (\n (responseType === \"\" || responseType === \"text\") &&\n this.getResponseHeader(\"Content-Type\") === JSON_TYPE\n ) {\n if (isPlainObject(response)) {\n return response;\n }\n\n try {\n return JSON.parse(response);\n } catch (error) {\n throw new JsonParseException(error);\n }\n }\n\n return response;\n }\n\n /**\n */\n responseHandler(resolve: Function, reject: Function): any {\n const { status } = this.xmlhttp;\n\n let response = null;\n try {\n response = this.getResponse();\n } catch (error) {\n return reject(error);\n }\n\n if (\n (status >= SUCCESS_CODE && status < REDIRECTION_CODE) ||\n (status === CLIENT_ERROR_CODE && has(response, \"formresponse\"))\n ) {\n return resolve(response);\n }\n\n return this.errorHandler(reject, response);\n }\n\n /**\n */\n setEventListeners(resolve: Function, reject: Function) {\n if (this.options.onProgress) {\n [\"load\", \"loadend\", \"loadstart\", \"progress\"].forEach((eventType) => {\n this.xmlhttp.addEventListener(eventType, this.onProgress);\n });\n }\n\n [\"abort\", \"error\"].forEach((eventType) => {\n this.xmlhttp.addEventListener(eventType, () => this.errorHandler(reject));\n });\n\n this.xmlhttp.addEventListener(\"timeout\", () => this.timeoutHandler(reject));\n\n this.xmlhttp.addEventListener(\"load\", () =>\n this.responseHandler(resolve, reject),\n );\n\n // Set custom events\n Object.keys(this.events).forEach((eventName) => {\n this.xmlhttp.addEventListener(eventName, this.events[eventName]);\n });\n }\n\n /**\n */\n openConnection() {\n this.xmlhttp.open(this.method, this.url, true);\n }\n\n /**\n */\n setBasicAuthentication() {\n if (Cache.hasItem(\"basic\")) {\n const basicToken = Cache.getItem(\"basic\");\n\n if (typeof basicToken === \"string\") {\n this.xmlhttp.setRequestHeader(\"Authorization\", `Basic ${basicToken}`);\n }\n }\n }\n\n /**\n */\n getResponseHeader(headerName: string): string | null {\n return this.xmlhttp.getResponseHeader(headerName);\n }\n\n /**\n */\n setCustomHeaders() {\n Object.keys(this.headers).forEach((headerName) => {\n this.xmlhttp.setRequestHeader(headerName, this.headers[headerName]);\n });\n }\n\n /**\n */\n setOtherOptions() {\n if (\n this.options.withCredentials ||\n getSetting(\"XHR_ALWAYS_WITH_CREDENTIALS\", Cache.hasItem(\"basic\"))\n ) {\n this.xmlhttp.withCredentials = true;\n }\n this.xmlhttp.responseType = this.responseType;\n this.xmlhttp.timeout = this.timeout;\n }\n\n /**\n */\n sendData() {\n if (this.data == null) {\n this.xmlhttp.send();\n } else {\n const stringData = isPlainObject(this.data)\n ? JSON.stringify(this.data)\n : this.data;\n this.xmlhttp.send(stringData);\n }\n }\n\n /**\n */\n setXMLHttpRequest(): Promise<any> {\n return new Promise((resolve, reject) => {\n this.xmlhttp = new XMLHttpRequest();\n\n this.setEventListeners(resolve, reject);\n\n this.openConnection();\n\n this.setBasicAuthentication();\n\n this.setCustomHeaders();\n\n this.setOtherOptions();\n\n this.sendData();\n });\n }\n\n /**\n */\n async fetch(): Promise<any> {\n try {\n return await this.setXMLHttpRequest();\n } catch (err) {\n if (err instanceof NetworkException && this.attempts < 2) {\n this.attempts += 1;\n return this.fetch();\n }\n\n throw err;\n }\n }\n}\n\n/**\n */\nconst validateInputArguments = (args: RequestOptions) => {\n if (args == null) {\n throw new IllegalArgumentException(\n \"Missing request options, expecting an object as argument for xhr\",\n );\n }\n\n if (!isPlainObject(args)) {\n throw new IllegalArgumentException(\n `Expecting an object as argument for xhr, but received: ${typeof args}`,\n );\n }\n\n if (!has(args, \"url\")) {\n throw new IllegalArgumentException(\n `No url property found in arguments of xhr, received: ${JSON.stringify(\n args,\n )}`,\n );\n }\n\n return true;\n};\n\n/**\n */\nconst xhr = (args: RequestOptions): Promise<any> => {\n validateInputArguments(args);\n\n return new XHR(args).fetch();\n};\n\nexport default xhr;\n"],"mappings":";;;;;;;;;;;;;AACA,IAAAA,QAAA,GAAAC,OAAA;AAEA,IAAAC,WAAA,GAAAD,OAAA;AAUA,IAAAE,MAAA,GAAAC,sBAAA,CAAAH,OAAA;AAEA,IAAAI,UAAA,GAAAJ,OAAA;AAEA,IAAAK,SAAA,GAAAL,OAAA;AAIA,MAAMM,kBAAkB,GAAG,CAAC;AAC5B,MAAMC,YAAY,GAAG,GAAG;AACxB,MAAMC,iBAAiB,GAAG,GAAG;AAC7B,MAAMC,iBAAiB,GAAG,GAAG;AAC7B,MAAMC,gBAAgB,GAAG,GAAG;AAC5B,MAAMC,cAAc,GAAG,GAAG;AAE1B,MAAMC,SAAS,GAAG,kB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