@beinformed/ui 1.62.7 → 1.62.9
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 +16 -0
- package/esm/constants/Settings.js +4 -0
- package/esm/constants/Settings.js.flow +5 -1
- package/esm/constants/Settings.js.map +1 -1
- package/esm/react-client/client.js +19 -0
- package/esm/react-client/client.js.flow +23 -1
- package/esm/react-client/client.js.map +1 -1
- package/esm/react-server/__tests__/requestInformation.spec.js.flow +265 -0
- package/esm/react-server/requestInformation.js +6 -3
- package/esm/react-server/requestInformation.js.flow +8 -3
- package/esm/react-server/requestInformation.js.map +1 -1
- package/esm/react-server/serverUtil.js +2 -2
- package/esm/react-server/serverUtil.js.flow +2 -2
- package/esm/react-server/serverUtil.js.map +1 -1
- package/esm/redux/_i18n/I18nActions.js.flow +0 -1
- package/esm/redux/_i18n/I18nActions.js.map +1 -1
- package/esm/redux/_i18n/I18nReducer.js +11 -3
- package/esm/redux/_i18n/I18nReducer.js.flow +11 -3
- package/esm/redux/_i18n/I18nReducer.js.map +1 -1
- package/esm/redux/reducers/createReducer.js +2 -2
- package/esm/redux/reducers/createReducer.js.flow +1 -1
- package/esm/redux/reducers/createReducer.js.map +1 -1
- package/esm/redux/store/configureStore.js +0 -5
- package/esm/redux/store/configureStore.js.flow +0 -7
- package/esm/redux/store/configureStore.js.map +1 -1
- package/esm/utils/datetime/DateTimeUtil.js +3 -2
- package/esm/utils/datetime/DateTimeUtil.js.flow +3 -1
- package/esm/utils/datetime/DateTimeUtil.js.map +1 -1
- package/lib/constants/Settings.js +7 -2
- package/lib/constants/Settings.js.map +1 -1
- package/lib/react-client/client.js +20 -1
- package/lib/react-client/client.js.map +1 -1
- package/lib/react-server/requestInformation.js +6 -3
- package/lib/react-server/requestInformation.js.map +1 -1
- package/lib/react-server/serverUtil.js +1 -1
- package/lib/react-server/serverUtil.js.map +1 -1
- package/lib/redux/_i18n/I18nActions.js.map +1 -1
- package/lib/redux/_i18n/I18nReducer.js +10 -2
- package/lib/redux/_i18n/I18nReducer.js.map +1 -1
- package/lib/redux/reducers/createReducer.js +2 -2
- package/lib/redux/reducers/createReducer.js.map +1 -1
- package/lib/redux/store/configureStore.js +0 -5
- package/lib/redux/store/configureStore.js.map +1 -1
- package/lib/utils/datetime/DateTimeUtil.js +2 -1
- package/lib/utils/datetime/DateTimeUtil.js.map +1 -1
- package/package.json +10 -10
- package/src/constants/Settings.js +5 -1
- package/src/react-client/client.js +23 -1
- package/src/react-server/__tests__/requestInformation.spec.js +265 -0
- package/src/react-server/requestInformation.js +8 -3
- package/src/react-server/serverUtil.js +2 -2
- package/src/redux/_i18n/I18nActions.js +0 -1
- package/src/redux/_i18n/I18nReducer.js +11 -3
- package/src/redux/reducers/createReducer.js +1 -1
- package/src/redux/store/configureStore.js +0 -7
- package/src/utils/datetime/DateTimeUtil.js +3 -1
- package/esm/builder/index.d.ts +0 -1
- package/esm/builder/mergeLayoutHintConfigurations.d.ts +0 -1
- package/esm/constants/Constants.d.ts +0 -158
- package/esm/constants/LayoutHintConfig.d.ts +0 -267
- package/esm/constants/LayoutHints.d.ts +0 -83
- package/esm/constants/Settings.d.ts +0 -32
- package/esm/constants/index.d.ts +0 -3
- package/esm/exceptions/ConfigurationException.d.ts +0 -7
- package/esm/exceptions/FetchException.d.ts +0 -31
- package/esm/exceptions/IllegalArgumentException.d.ts +0 -7
- package/esm/exceptions/IllegalReturnException.d.ts +0 -6
- package/esm/exceptions/IllegalStateException.d.ts +0 -7
- package/esm/exceptions/JsonParseException.d.ts +0 -7
- package/esm/exceptions/MissingPropertyException.d.ts +0 -7
- package/esm/exceptions/NetworkException.d.ts +0 -9
- package/esm/exceptions/NotAllowedUriException.d.ts +0 -7
- package/esm/exceptions/NotFoundException.d.ts +0 -10
- package/esm/exceptions/ServerRequestException.d.ts +0 -7
- package/esm/exceptions/ThemePropertyException.d.ts +0 -7
- package/esm/exceptions/TimeoutException.d.ts +0 -7
- package/esm/exceptions/UnauthorizedException.d.ts +0 -11
- package/esm/exceptions/UnsupportedOperationException.d.ts +0 -7
- package/esm/exceptions/index.d.ts +0 -15
- package/esm/hooks/index.d.ts +0 -16
- package/esm/hooks/useAllFormsOnModel.d.ts +0 -7
- package/esm/hooks/useAuthentication.d.ts +0 -16
- package/esm/hooks/useContent.d.ts +0 -3
- package/esm/hooks/useDeepCompareEffect.d.ts +0 -6
- package/esm/hooks/useForm.d.ts +0 -21
- package/esm/hooks/useI18n.d.ts +0 -13
- package/esm/hooks/useModal.d.ts +0 -12
- package/esm/hooks/useModelCatalog.d.ts +0 -34
- package/esm/hooks/useModels.d.ts +0 -10
- package/esm/hooks/useModularUI.d.ts +0 -3
- package/esm/hooks/useModularUIBasic.d.ts +0 -9
- package/esm/hooks/useModularUIModel.d.ts +0 -27
- package/esm/hooks/useModularUIRequest.d.ts +0 -4
- package/esm/hooks/useNotification.d.ts +0 -8
- package/esm/hooks/usePreference.d.ts +0 -2
- package/esm/hooks/useProgressIndicator.d.ts +0 -9
- package/esm/hooks/useRouter.d.ts +0 -23
- package/esm/i18n/Locale.d.ts +0 -53
- package/esm/i18n/Locales.d.ts +0 -59
- package/esm/i18n/Message.d.ts +0 -6
- package/esm/i18n/index.d.ts +0 -5
- package/esm/i18n/languages.d.ts +0 -215
- package/esm/i18n/translations/beinformed_error_messages_en.nl.d.ts +0 -97
- package/esm/i18n/translations/beinformed_error_messages_nl.nl.d.ts +0 -97
- package/esm/i18n/types.d.ts +0 -11
- package/esm/i18n/withMessage.d.ts +0 -3
- package/esm/index.d.ts +0 -6
- package/esm/models/actions/ActionCollection.d.ts +0 -30
- package/esm/models/actions/ActionModel.d.ts +0 -82
- package/esm/models/application/ApplicationModel.d.ts +0 -48
- package/esm/models/attributes/AttributeCollection.d.ts +0 -102
- package/esm/models/attributes/AttributeContent.d.ts +0 -64
- package/esm/models/attributes/AttributeDataHelper.d.ts +0 -67
- package/esm/models/attributes/AttributeModel.d.ts +0 -398
- package/esm/models/attributes/AttributeSetModel.d.ts +0 -36
- package/esm/models/attributes/BooleanAttributeModel.d.ts +0 -69
- package/esm/models/attributes/CaptchaAttributeModel.d.ts +0 -19
- package/esm/models/attributes/ChoiceAttributeModel.d.ts +0 -85
- package/esm/models/attributes/ChoiceAttributeOptionCollection.d.ts +0 -87
- package/esm/models/attributes/ChoiceAttributeOptionModel.d.ts +0 -151
- package/esm/models/attributes/CompositeAttributeChildCollection.d.ts +0 -57
- package/esm/models/attributes/CompositeAttributeModel.d.ts +0 -42
- package/esm/models/attributes/DatetimeAttributeModel.d.ts +0 -85
- package/esm/models/attributes/HelptextAttributeModel.d.ts +0 -16
- package/esm/models/attributes/LabelAttributeModel.d.ts +0 -12
- package/esm/models/attributes/MemoAttributeModel.d.ts +0 -14
- package/esm/models/attributes/MoneyAttributeModel.d.ts +0 -14
- package/esm/models/attributes/NumberAttributeModel.d.ts +0 -49
- package/esm/models/attributes/PasswordAttributeModel.d.ts +0 -62
- package/esm/models/attributes/StringAttributeModel.d.ts +0 -65
- package/esm/models/attributes/UploadAttributeModel.d.ts +0 -60
- package/esm/models/attributes/XMLAttributeModel.d.ts +0 -10
- package/esm/models/attributes/_createAttribute.d.ts +0 -7
- package/esm/models/attributes/input-constraints/BSNConstraint.d.ts +0 -26
- package/esm/models/attributes/input-constraints/ConstraintCollection.d.ts +0 -24
- package/esm/models/attributes/input-constraints/ConstraintModel.d.ts +0 -34
- package/esm/models/attributes/input-constraints/DateBoundaryConstraint.d.ts +0 -65
- package/esm/models/attributes/input-constraints/DateTimeDateFormatConstraint.d.ts +0 -36
- package/esm/models/attributes/input-constraints/DateTimeTimeFormatConstraint.d.ts +0 -36
- package/esm/models/attributes/input-constraints/DatetimeFormatConstraint.d.ts +0 -50
- package/esm/models/attributes/input-constraints/FileExtensionConstraint.d.ts +0 -33
- package/esm/models/attributes/input-constraints/FileSizeConstraint.d.ts +0 -42
- package/esm/models/attributes/input-constraints/IBANConstraint.d.ts +0 -23
- package/esm/models/attributes/input-constraints/MandatoryConstraint.d.ts +0 -23
- package/esm/models/attributes/input-constraints/MandatoryRangeConstraint.d.ts +0 -36
- package/esm/models/attributes/input-constraints/NumberBoundaryConstraint.d.ts +0 -61
- package/esm/models/attributes/input-constraints/NumberFormatConstraint.d.ts +0 -52
- package/esm/models/attributes/input-constraints/NumberGroupingConstraint.d.ts +0 -46
- package/esm/models/attributes/input-constraints/PasswordConfirmConstraint.d.ts +0 -36
- package/esm/models/attributes/input-constraints/PasswordLowerAndUpperCaseConstraint.d.ts +0 -23
- package/esm/models/attributes/input-constraints/PasswordMinNumericCharactersConstraint.d.ts +0 -32
- package/esm/models/attributes/input-constraints/PasswordMinSpecialCharactersConstraint.d.ts +0 -32
- package/esm/models/attributes/input-constraints/PasswordThreeConsecutiveCharactersNotAllowedConstraint.d.ts +0 -35
- package/esm/models/attributes/input-constraints/RangeConstraint.d.ts +0 -51
- package/esm/models/attributes/input-constraints/RegexConstraint.d.ts +0 -37
- package/esm/models/attributes/input-constraints/StringLengthConstraint.d.ts +0 -46
- package/esm/models/attributes/input-constraints/XMLConstraint.d.ts +0 -26
- package/esm/models/attributes/layouthint-rules/BaseLayoutHintRule.d.ts +0 -45
- package/esm/models/attributes/layouthint-rules/DependentAttribute.d.ts +0 -57
- package/esm/models/attributes/layouthint-rules/LayoutHintRuleCollection.d.ts +0 -27
- package/esm/models/attributes/layouthint-rules/RemainingTotalUploadSize.d.ts +0 -17
- package/esm/models/base/BaseCollection.d.ts +0 -89
- package/esm/models/base/BaseModel.d.ts +0 -78
- package/esm/models/base/ResourceCollection.d.ts +0 -20
- package/esm/models/base/ResourceModel.d.ts +0 -102
- package/esm/models/caseview/CaseViewModel.d.ts +0 -46
- package/esm/models/concepts/BusinessScenarioModel.d.ts +0 -20
- package/esm/models/concepts/ConceptDetailModel.d.ts +0 -86
- package/esm/models/concepts/ConceptIndexModel.d.ts +0 -44
- package/esm/models/concepts/ConceptLinkModel.d.ts +0 -82
- package/esm/models/concepts/ConceptRelationCollection.d.ts +0 -36
- package/esm/models/concepts/ConceptRelationModel.d.ts +0 -61
- package/esm/models/concepts/ConceptTypeDetailModel.d.ts +0 -54
- package/esm/models/concepts/SourceReferenceCollection.d.ts +0 -14
- package/esm/models/concepts/SourceReferenceModel.d.ts +0 -48
- package/esm/models/content/ContentIndexModel.d.ts +0 -41
- package/esm/models/content/ContentLinkModel.d.ts +0 -102
- package/esm/models/content/ContentModel.d.ts +0 -80
- package/esm/models/content/ContentTOCModel.d.ts +0 -56
- package/esm/models/content/ContentTypeModel.d.ts +0 -26
- package/esm/models/content/SectionModel.d.ts +0 -79
- package/esm/models/content/SubSectionModel.d.ts +0 -69
- package/esm/models/contentconfiguration/ContentConfiguration.d.ts +0 -28
- package/esm/models/contentconfiguration/ContentConfigurationElements.d.ts +0 -47
- package/esm/models/contentconfiguration/ContentConfigurationEndResults.d.ts +0 -16
- package/esm/models/contentconfiguration/ContentConfigurationQuestions.d.ts +0 -22
- package/esm/models/contentconfiguration/ContentConfigurationResults.d.ts +0 -39
- package/esm/models/detail/DetailModel.d.ts +0 -80
- package/esm/models/error/ErrorCollection.d.ts +0 -51
- package/esm/models/error/ErrorModel.d.ts +0 -41
- package/esm/models/error/ErrorResponse.d.ts +0 -156
- package/esm/models/filters/AssignmentFilterModel.d.ts +0 -35
- package/esm/models/filters/BaseFilterModel.d.ts +0 -101
- package/esm/models/filters/ConceptIndexFilterModel.d.ts +0 -6
- package/esm/models/filters/FilterCollection.d.ts +0 -49
- package/esm/models/filters/FilterModel.d.ts +0 -5
- package/esm/models/filters/RangeFilterModel.d.ts +0 -6
- package/esm/models/filters/StringFilterModel.d.ts +0 -30
- package/esm/models/form/FormModel.d.ts +0 -350
- package/esm/models/form/FormObjectModel.d.ts +0 -210
- package/esm/models/grouping/GroupingModel.d.ts +0 -86
- package/esm/models/href/Href.d.ts +0 -218
- package/esm/models/href/ListHref.d.ts +0 -64
- package/esm/models/index.d.ts +0 -96
- package/esm/models/layouthint/LayoutHintCollection.d.ts +0 -43
- package/esm/models/links/LinkCollection.d.ts +0 -71
- package/esm/models/links/LinkModel.d.ts +0 -93
- package/esm/models/links/normalizeLinkJSON.d.ts +0 -9
- package/esm/models/list/ListDetailModel.d.ts +0 -69
- package/esm/models/list/ListHeaderModel.d.ts +0 -53
- package/esm/models/list/ListItemCollection.d.ts +0 -21
- package/esm/models/list/ListItemModel.d.ts +0 -35
- package/esm/models/list/ListModel.d.ts +0 -143
- package/esm/models/lookup/LookupOptionCollection.d.ts +0 -15
- package/esm/models/lookup/LookupOptionsModel.d.ts +0 -23
- package/esm/models/modelcatalog/ModelCatalogModel.d.ts +0 -23
- package/esm/models/modelcatalog/ModelCategoryCollection.d.ts +0 -11
- package/esm/models/modelcatalog/ModelCategoryModel.d.ts +0 -39
- package/esm/models/paging/PagesizeModel.d.ts +0 -25
- package/esm/models/paging/PagingModel.d.ts +0 -49
- package/esm/models/panels/GroupingPanelModel.d.ts +0 -49
- package/esm/models/parameter/Parameter.d.ts +0 -40
- package/esm/models/process/ProcessStatusSettingsModel.d.ts +0 -38
- package/esm/models/resolveModel.d.ts +0 -7
- package/esm/models/search/CaseSearchModel.d.ts +0 -14
- package/esm/models/sorting/SortOptionModel.d.ts +0 -48
- package/esm/models/sorting/SortingModel.d.ts +0 -42
- package/esm/models/tab/TabModel.d.ts +0 -53
- package/esm/models/taskgroup/TaskGroupCollection.d.ts +0 -12
- package/esm/models/taskgroup/TaskGroupModel.d.ts +0 -25
- package/esm/models/types.d.ts +0 -171
- package/esm/models/user/UserModel.d.ts +0 -18
- package/esm/models/user/UserProfileModel.d.ts +0 -17
- package/esm/models/user/UserServicesModel.d.ts +0 -39
- package/esm/modularui/Authenticate.d.ts +0 -46
- package/esm/modularui/CaptchaRequest.d.ts +0 -54
- package/esm/modularui/ModularUIError.d.ts +0 -10
- package/esm/modularui/ModularUIRequest.d.ts +0 -207
- package/esm/modularui/ModularUIResponse.d.ts +0 -78
- package/esm/modularui/UploadRequest.d.ts +0 -41
- package/esm/modularui/index.d.ts +0 -5
- package/esm/modularui/types.d.ts +0 -2
- package/esm/react/ErrorBoundary.d.ts +0 -31
- package/esm/react/ErrorBoundaryFallback.d.ts +0 -8
- package/esm/react/index.d.ts +0 -2
- package/esm/react/utils.d.ts +0 -5
- package/esm/react-client/Init.d.ts +0 -6
- package/esm/react-client/client.d.ts +0 -25
- package/esm/react-client/contextPath.d.ts +0 -1
- package/esm/react-client/index.d.ts +0 -3
- package/esm/react-client/rehydrate.d.ts +0 -5
- package/esm/react-server/contextPath.d.ts +0 -1
- package/esm/react-server/createSSRComplete.d.ts +0 -5
- package/esm/react-server/htmlpage.d.ts +0 -11
- package/esm/react-server/index.d.ts +0 -8
- package/esm/react-server/renderSSRComplete.d.ts +0 -13
- package/esm/react-server/renderSSRMinimal.d.ts +0 -11
- package/esm/react-server/requestInformation.d.ts +0 -6
- package/esm/react-server/serverNoSSR.d.ts +0 -15
- package/esm/react-server/serverSSR.d.ts +0 -15
- package/esm/react-server/serverUtil.d.ts +0 -46
- package/esm/react-theme/ThemeProvider.d.ts +0 -8
- package/esm/react-theme/createTheme.d.ts +0 -53
- package/esm/react-theme/index.d.ts +0 -10
- package/esm/react-theme/types.d.ts +0 -13
- package/esm/react-theme/useTheme.d.ts +0 -4
- package/esm/react-theme/utils/background.d.ts +0 -4
- package/esm/react-theme/utils/colors.d.ts +0 -9
- package/esm/react-theme/utils/contrast.d.ts +0 -18
- package/esm/react-theme/utils/corners.d.ts +0 -3
- package/esm/react-theme/utils/spacers.d.ts +0 -9
- package/esm/react-theme/utils/themeProps.d.ts +0 -7
- package/esm/redux/_i18n/I18nActions.d.ts +0 -7
- package/esm/redux/_i18n/I18nReducer.d.ts +0 -7
- package/esm/redux/_i18n/index.d.ts +0 -3
- package/esm/redux/_i18n/types.d.ts +0 -13
- package/esm/redux/_modularui/ModularUIActions.d.ts +0 -26
- package/esm/redux/_modularui/ModularUIConnector.d.ts +0 -7
- package/esm/redux/_modularui/ModularUIMiddleware.d.ts +0 -7
- package/esm/redux/_modularui/ModularUIReducer.d.ts +0 -7
- package/esm/redux/_modularui/ModularUISelectors.d.ts +0 -3
- package/esm/redux/_modularui/ModularUIUtils.d.ts +0 -5
- package/esm/redux/_modularui/index.d.ts +0 -8
- package/esm/redux/_modularui/types.d.ts +0 -84
- package/esm/redux/_modularui/withModularUI.d.ts +0 -3
- package/esm/redux/_router/RouterActions.d.ts +0 -10
- package/esm/redux/_router/RouterConnectors.d.ts +0 -6
- package/esm/redux/_router/RouterMiddleware.d.ts +0 -5
- package/esm/redux/_router/RouterReducer.d.ts +0 -7
- package/esm/redux/_router/index.d.ts +0 -5
- package/esm/redux/_router/types.d.ts +0 -35
- package/esm/redux/actions/Application.d.ts +0 -4
- package/esm/redux/actions/Authorization.d.ts +0 -3
- package/esm/redux/actions/Error.d.ts +0 -7
- package/esm/redux/actions/Form.d.ts +0 -5
- package/esm/redux/actions/FormAttributeSet.d.ts +0 -6
- package/esm/redux/actions/FormAttributeSetRepeatable.d.ts +0 -6
- package/esm/redux/actions/FormAutosave.d.ts +0 -3
- package/esm/redux/actions/FormAutosubmit.d.ts +0 -4
- package/esm/redux/actions/FormAutoupdate.d.ts +0 -4
- package/esm/redux/actions/FormValidations.d.ts +0 -3
- package/esm/redux/actions/Modals.d.ts +0 -4
- package/esm/redux/actions/ModelCatalog.d.ts +0 -2
- package/esm/redux/actions/Notification.d.ts +0 -10
- package/esm/redux/actions/Preferences.d.ts +0 -11
- package/esm/redux/actions/ProgressIndicator.d.ts +0 -8
- package/esm/redux/actions/SignIn.d.ts +0 -10
- package/esm/redux/actions/SignOut.d.ts +0 -4
- package/esm/redux/actions/index.d.ts +0 -16
- package/esm/redux/connectors/Application.d.ts +0 -4
- package/esm/redux/connectors/Breadcrumb.d.ts +0 -3
- package/esm/redux/connectors/CaseView.d.ts +0 -4
- package/esm/redux/connectors/ConceptDetail.d.ts +0 -4
- package/esm/redux/connectors/ContentBrowser.d.ts +0 -4
- package/esm/redux/connectors/ContentDetail.d.ts +0 -4
- package/esm/redux/connectors/ContentDetailSection.d.ts +0 -4
- package/esm/redux/connectors/Form.d.ts +0 -16
- package/esm/redux/connectors/FormAttributeSet.d.ts +0 -5
- package/esm/redux/connectors/ListDetail.d.ts +0 -4
- package/esm/redux/connectors/Modal.d.ts +0 -4
- package/esm/redux/connectors/ModelCatalog.d.ts +0 -4
- package/esm/redux/connectors/Notification.d.ts +0 -4
- package/esm/redux/connectors/PanelRenderer.d.ts +0 -4
- package/esm/redux/connectors/Preferences.d.ts +0 -2
- package/esm/redux/connectors/Progress.d.ts +0 -3
- package/esm/redux/connectors/ProgressIndicator.d.ts +0 -3
- package/esm/redux/connectors/QuickSearch.d.ts +0 -11
- package/esm/redux/connectors/SignIn.d.ts +0 -4
- package/esm/redux/connectors/SignOut.d.ts +0 -4
- package/esm/redux/connectors/Tab.d.ts +0 -4
- package/esm/redux/connectors/index.d.ts +0 -21
- package/esm/redux/index.d.ts +0 -9
- package/esm/redux/reducers/AuthReducer.d.ts +0 -8
- package/esm/redux/reducers/ErrorReducer.d.ts +0 -8
- package/esm/redux/reducers/ModalsReducer.d.ts +0 -8
- package/esm/redux/reducers/ModelCatalogReducer.d.ts +0 -8
- package/esm/redux/reducers/NotificationReducer.d.ts +0 -8
- package/esm/redux/reducers/PreferencesReducer.d.ts +0 -8
- package/esm/redux/reducers/ProgressIndicatorReducer.d.ts +0 -8
- package/esm/redux/reducers/createReducer.d.ts +0 -14
- package/esm/redux/reducers/index.d.ts +0 -8
- package/esm/redux/selectors/i18n.d.ts +0 -4
- package/esm/redux/selectors/index.d.ts +0 -2
- package/esm/redux/selectors/modelcatalog.d.ts +0 -2
- package/esm/redux/store/beforeRenderHooks.d.ts +0 -7
- package/esm/redux/store/configureStore.d.ts +0 -9
- package/esm/redux/types.d.ts +0 -113
- package/esm/utils/browser/Cache.d.ts +0 -45
- package/esm/utils/browser/Cookies.d.ts +0 -9
- package/esm/utils/datetime/DateTimeUtil.d.ts +0 -214
- package/esm/utils/fetch/__mocks__/universalFetch.d.ts +0 -3
- package/esm/utils/fetch/serverFetch.d.ts +0 -5
- package/esm/utils/fetch/types.d.ts +0 -44
- package/esm/utils/fetch/universalFetch.d.ts +0 -7
- package/esm/utils/fetch/xhr.d.ts +0 -5
- package/esm/utils/helpers/checkResource.d.ts +0 -3
- package/esm/utils/helpers/createHash.d.ts +0 -9
- package/esm/utils/helpers/createHref.d.ts +0 -8
- package/esm/utils/helpers/createUUID.d.ts +0 -4
- package/esm/utils/helpers/index.d.ts +0 -8
- package/esm/utils/helpers/objects.d.ts +0 -11
- package/esm/utils/helpers/repositoryResource.d.ts +0 -1
- package/esm/utils/helpers/sanitizeHtml.d.ts +0 -9
- package/esm/utils/helpers/text.d.ts +0 -7
- package/esm/utils/index.d.ts +0 -11
- package/esm/utils/number/DecimalFormat.d.ts +0 -90
- package/esm/utils/number/formatValue.d.ts +0 -4
- package/esm/utils/number/parseNumbers.d.ts +0 -9
- package/lib/builder/index.d.ts +0 -1
- package/lib/builder/mergeLayoutHintConfigurations.d.ts +0 -1
- package/lib/constants/Constants.d.ts +0 -158
- package/lib/constants/LayoutHintConfig.d.ts +0 -267
- package/lib/constants/LayoutHints.d.ts +0 -83
- package/lib/constants/Settings.d.ts +0 -32
- package/lib/constants/index.d.ts +0 -3
- package/lib/exceptions/ConfigurationException.d.ts +0 -7
- package/lib/exceptions/FetchException.d.ts +0 -31
- package/lib/exceptions/IllegalArgumentException.d.ts +0 -7
- package/lib/exceptions/IllegalReturnException.d.ts +0 -6
- package/lib/exceptions/IllegalStateException.d.ts +0 -7
- package/lib/exceptions/JsonParseException.d.ts +0 -7
- package/lib/exceptions/MissingPropertyException.d.ts +0 -7
- package/lib/exceptions/NetworkException.d.ts +0 -9
- package/lib/exceptions/NotAllowedUriException.d.ts +0 -7
- package/lib/exceptions/NotFoundException.d.ts +0 -10
- package/lib/exceptions/ServerRequestException.d.ts +0 -7
- package/lib/exceptions/ThemePropertyException.d.ts +0 -7
- package/lib/exceptions/TimeoutException.d.ts +0 -7
- package/lib/exceptions/UnauthorizedException.d.ts +0 -11
- package/lib/exceptions/UnsupportedOperationException.d.ts +0 -7
- package/lib/exceptions/index.d.ts +0 -15
- package/lib/hooks/index.d.ts +0 -16
- package/lib/hooks/useAllFormsOnModel.d.ts +0 -7
- package/lib/hooks/useAuthentication.d.ts +0 -16
- package/lib/hooks/useContent.d.ts +0 -3
- package/lib/hooks/useDeepCompareEffect.d.ts +0 -6
- package/lib/hooks/useForm.d.ts +0 -21
- package/lib/hooks/useI18n.d.ts +0 -13
- package/lib/hooks/useModal.d.ts +0 -12
- package/lib/hooks/useModelCatalog.d.ts +0 -34
- package/lib/hooks/useModels.d.ts +0 -10
- package/lib/hooks/useModularUI.d.ts +0 -3
- package/lib/hooks/useModularUIBasic.d.ts +0 -9
- package/lib/hooks/useModularUIModel.d.ts +0 -27
- package/lib/hooks/useModularUIRequest.d.ts +0 -4
- package/lib/hooks/useNotification.d.ts +0 -8
- package/lib/hooks/usePreference.d.ts +0 -2
- package/lib/hooks/useProgressIndicator.d.ts +0 -9
- package/lib/hooks/useRouter.d.ts +0 -23
- package/lib/i18n/Locale.d.ts +0 -53
- package/lib/i18n/Locales.d.ts +0 -59
- package/lib/i18n/Message.d.ts +0 -6
- package/lib/i18n/index.d.ts +0 -5
- package/lib/i18n/languages.d.ts +0 -215
- package/lib/i18n/translations/beinformed_error_messages_en.nl.d.ts +0 -97
- package/lib/i18n/translations/beinformed_error_messages_nl.nl.d.ts +0 -97
- package/lib/i18n/types.d.ts +0 -11
- package/lib/i18n/withMessage.d.ts +0 -3
- package/lib/index.d.ts +0 -6
- package/lib/models/actions/ActionCollection.d.ts +0 -30
- package/lib/models/actions/ActionModel.d.ts +0 -82
- package/lib/models/application/ApplicationModel.d.ts +0 -48
- package/lib/models/attributes/AttributeCollection.d.ts +0 -102
- package/lib/models/attributes/AttributeContent.d.ts +0 -64
- package/lib/models/attributes/AttributeDataHelper.d.ts +0 -67
- package/lib/models/attributes/AttributeModel.d.ts +0 -398
- package/lib/models/attributes/AttributeSetModel.d.ts +0 -36
- package/lib/models/attributes/BooleanAttributeModel.d.ts +0 -69
- package/lib/models/attributes/CaptchaAttributeModel.d.ts +0 -19
- package/lib/models/attributes/ChoiceAttributeModel.d.ts +0 -85
- package/lib/models/attributes/ChoiceAttributeOptionCollection.d.ts +0 -87
- package/lib/models/attributes/ChoiceAttributeOptionModel.d.ts +0 -151
- package/lib/models/attributes/CompositeAttributeChildCollection.d.ts +0 -57
- package/lib/models/attributes/CompositeAttributeModel.d.ts +0 -42
- package/lib/models/attributes/DatetimeAttributeModel.d.ts +0 -85
- package/lib/models/attributes/HelptextAttributeModel.d.ts +0 -16
- package/lib/models/attributes/LabelAttributeModel.d.ts +0 -12
- package/lib/models/attributes/MemoAttributeModel.d.ts +0 -14
- package/lib/models/attributes/MoneyAttributeModel.d.ts +0 -14
- package/lib/models/attributes/NumberAttributeModel.d.ts +0 -49
- package/lib/models/attributes/PasswordAttributeModel.d.ts +0 -62
- package/lib/models/attributes/StringAttributeModel.d.ts +0 -65
- package/lib/models/attributes/UploadAttributeModel.d.ts +0 -60
- package/lib/models/attributes/XMLAttributeModel.d.ts +0 -10
- package/lib/models/attributes/_createAttribute.d.ts +0 -7
- package/lib/models/attributes/input-constraints/BSNConstraint.d.ts +0 -26
- package/lib/models/attributes/input-constraints/ConstraintCollection.d.ts +0 -24
- package/lib/models/attributes/input-constraints/ConstraintModel.d.ts +0 -34
- package/lib/models/attributes/input-constraints/DateBoundaryConstraint.d.ts +0 -65
- package/lib/models/attributes/input-constraints/DateTimeDateFormatConstraint.d.ts +0 -36
- package/lib/models/attributes/input-constraints/DateTimeTimeFormatConstraint.d.ts +0 -36
- package/lib/models/attributes/input-constraints/DatetimeFormatConstraint.d.ts +0 -50
- package/lib/models/attributes/input-constraints/FileExtensionConstraint.d.ts +0 -33
- package/lib/models/attributes/input-constraints/FileSizeConstraint.d.ts +0 -42
- package/lib/models/attributes/input-constraints/IBANConstraint.d.ts +0 -23
- package/lib/models/attributes/input-constraints/MandatoryConstraint.d.ts +0 -23
- package/lib/models/attributes/input-constraints/MandatoryRangeConstraint.d.ts +0 -36
- package/lib/models/attributes/input-constraints/NumberBoundaryConstraint.d.ts +0 -61
- package/lib/models/attributes/input-constraints/NumberFormatConstraint.d.ts +0 -52
- package/lib/models/attributes/input-constraints/NumberGroupingConstraint.d.ts +0 -46
- package/lib/models/attributes/input-constraints/PasswordConfirmConstraint.d.ts +0 -36
- package/lib/models/attributes/input-constraints/PasswordLowerAndUpperCaseConstraint.d.ts +0 -23
- package/lib/models/attributes/input-constraints/PasswordMinNumericCharactersConstraint.d.ts +0 -32
- package/lib/models/attributes/input-constraints/PasswordMinSpecialCharactersConstraint.d.ts +0 -32
- package/lib/models/attributes/input-constraints/PasswordThreeConsecutiveCharactersNotAllowedConstraint.d.ts +0 -35
- package/lib/models/attributes/input-constraints/RangeConstraint.d.ts +0 -51
- package/lib/models/attributes/input-constraints/RegexConstraint.d.ts +0 -37
- package/lib/models/attributes/input-constraints/StringLengthConstraint.d.ts +0 -46
- package/lib/models/attributes/input-constraints/XMLConstraint.d.ts +0 -26
- package/lib/models/attributes/layouthint-rules/BaseLayoutHintRule.d.ts +0 -45
- package/lib/models/attributes/layouthint-rules/DependentAttribute.d.ts +0 -57
- package/lib/models/attributes/layouthint-rules/LayoutHintRuleCollection.d.ts +0 -27
- package/lib/models/attributes/layouthint-rules/RemainingTotalUploadSize.d.ts +0 -17
- package/lib/models/base/BaseCollection.d.ts +0 -89
- package/lib/models/base/BaseModel.d.ts +0 -78
- package/lib/models/base/ResourceCollection.d.ts +0 -20
- package/lib/models/base/ResourceModel.d.ts +0 -102
- package/lib/models/caseview/CaseViewModel.d.ts +0 -46
- package/lib/models/concepts/BusinessScenarioModel.d.ts +0 -20
- package/lib/models/concepts/ConceptDetailModel.d.ts +0 -86
- package/lib/models/concepts/ConceptIndexModel.d.ts +0 -44
- package/lib/models/concepts/ConceptLinkModel.d.ts +0 -82
- package/lib/models/concepts/ConceptRelationCollection.d.ts +0 -36
- package/lib/models/concepts/ConceptRelationModel.d.ts +0 -61
- package/lib/models/concepts/ConceptTypeDetailModel.d.ts +0 -54
- package/lib/models/concepts/SourceReferenceCollection.d.ts +0 -14
- package/lib/models/concepts/SourceReferenceModel.d.ts +0 -48
- package/lib/models/content/ContentIndexModel.d.ts +0 -41
- package/lib/models/content/ContentLinkModel.d.ts +0 -102
- package/lib/models/content/ContentModel.d.ts +0 -80
- package/lib/models/content/ContentTOCModel.d.ts +0 -56
- package/lib/models/content/ContentTypeModel.d.ts +0 -26
- package/lib/models/content/SectionModel.d.ts +0 -79
- package/lib/models/content/SubSectionModel.d.ts +0 -69
- package/lib/models/contentconfiguration/ContentConfiguration.d.ts +0 -28
- package/lib/models/contentconfiguration/ContentConfigurationElements.d.ts +0 -47
- package/lib/models/contentconfiguration/ContentConfigurationEndResults.d.ts +0 -16
- package/lib/models/contentconfiguration/ContentConfigurationQuestions.d.ts +0 -22
- package/lib/models/contentconfiguration/ContentConfigurationResults.d.ts +0 -39
- package/lib/models/detail/DetailModel.d.ts +0 -80
- package/lib/models/error/ErrorCollection.d.ts +0 -51
- package/lib/models/error/ErrorModel.d.ts +0 -41
- package/lib/models/error/ErrorResponse.d.ts +0 -156
- package/lib/models/filters/AssignmentFilterModel.d.ts +0 -35
- package/lib/models/filters/BaseFilterModel.d.ts +0 -101
- package/lib/models/filters/ConceptIndexFilterModel.d.ts +0 -6
- package/lib/models/filters/FilterCollection.d.ts +0 -49
- package/lib/models/filters/FilterModel.d.ts +0 -5
- package/lib/models/filters/RangeFilterModel.d.ts +0 -6
- package/lib/models/filters/StringFilterModel.d.ts +0 -30
- package/lib/models/form/FormModel.d.ts +0 -350
- package/lib/models/form/FormObjectModel.d.ts +0 -210
- package/lib/models/grouping/GroupingModel.d.ts +0 -86
- package/lib/models/href/Href.d.ts +0 -218
- package/lib/models/href/ListHref.d.ts +0 -64
- package/lib/models/index.d.ts +0 -96
- package/lib/models/layouthint/LayoutHintCollection.d.ts +0 -43
- package/lib/models/links/LinkCollection.d.ts +0 -71
- package/lib/models/links/LinkModel.d.ts +0 -93
- package/lib/models/links/normalizeLinkJSON.d.ts +0 -9
- package/lib/models/list/ListDetailModel.d.ts +0 -69
- package/lib/models/list/ListHeaderModel.d.ts +0 -53
- package/lib/models/list/ListItemCollection.d.ts +0 -21
- package/lib/models/list/ListItemModel.d.ts +0 -35
- package/lib/models/list/ListModel.d.ts +0 -143
- package/lib/models/lookup/LookupOptionCollection.d.ts +0 -15
- package/lib/models/lookup/LookupOptionsModel.d.ts +0 -23
- package/lib/models/modelcatalog/ModelCatalogModel.d.ts +0 -23
- package/lib/models/modelcatalog/ModelCategoryCollection.d.ts +0 -11
- package/lib/models/modelcatalog/ModelCategoryModel.d.ts +0 -39
- package/lib/models/paging/PagesizeModel.d.ts +0 -25
- package/lib/models/paging/PagingModel.d.ts +0 -49
- package/lib/models/panels/GroupingPanelModel.d.ts +0 -49
- package/lib/models/parameter/Parameter.d.ts +0 -40
- package/lib/models/process/ProcessStatusSettingsModel.d.ts +0 -38
- package/lib/models/resolveModel.d.ts +0 -7
- package/lib/models/search/CaseSearchModel.d.ts +0 -14
- package/lib/models/sorting/SortOptionModel.d.ts +0 -48
- package/lib/models/sorting/SortingModel.d.ts +0 -42
- package/lib/models/tab/TabModel.d.ts +0 -53
- package/lib/models/taskgroup/TaskGroupCollection.d.ts +0 -12
- package/lib/models/taskgroup/TaskGroupModel.d.ts +0 -25
- package/lib/models/types.d.ts +0 -171
- package/lib/models/user/UserModel.d.ts +0 -18
- package/lib/models/user/UserProfileModel.d.ts +0 -17
- package/lib/models/user/UserServicesModel.d.ts +0 -39
- package/lib/modularui/Authenticate.d.ts +0 -46
- package/lib/modularui/CaptchaRequest.d.ts +0 -54
- package/lib/modularui/ModularUIError.d.ts +0 -10
- package/lib/modularui/ModularUIRequest.d.ts +0 -207
- package/lib/modularui/ModularUIResponse.d.ts +0 -78
- package/lib/modularui/UploadRequest.d.ts +0 -41
- package/lib/modularui/index.d.ts +0 -5
- package/lib/modularui/types.d.ts +0 -2
- package/lib/react/ErrorBoundary.d.ts +0 -31
- package/lib/react/ErrorBoundaryFallback.d.ts +0 -8
- package/lib/react/index.d.ts +0 -2
- package/lib/react/utils.d.ts +0 -5
- package/lib/react-client/Init.d.ts +0 -6
- package/lib/react-client/client.d.ts +0 -25
- package/lib/react-client/contextPath.d.ts +0 -1
- package/lib/react-client/index.d.ts +0 -3
- package/lib/react-client/rehydrate.d.ts +0 -5
- package/lib/react-server/contextPath.d.ts +0 -1
- package/lib/react-server/createSSRComplete.d.ts +0 -5
- package/lib/react-server/htmlpage.d.ts +0 -11
- package/lib/react-server/index.d.ts +0 -8
- package/lib/react-server/renderSSRComplete.d.ts +0 -13
- package/lib/react-server/renderSSRMinimal.d.ts +0 -11
- package/lib/react-server/requestInformation.d.ts +0 -6
- package/lib/react-server/serverNoSSR.d.ts +0 -15
- package/lib/react-server/serverSSR.d.ts +0 -15
- package/lib/react-server/serverUtil.d.ts +0 -46
- package/lib/react-theme/ThemeProvider.d.ts +0 -8
- package/lib/react-theme/createTheme.d.ts +0 -53
- package/lib/react-theme/index.d.ts +0 -10
- package/lib/react-theme/types.d.ts +0 -13
- package/lib/react-theme/useTheme.d.ts +0 -4
- package/lib/react-theme/utils/background.d.ts +0 -4
- package/lib/react-theme/utils/colors.d.ts +0 -9
- package/lib/react-theme/utils/contrast.d.ts +0 -18
- package/lib/react-theme/utils/corners.d.ts +0 -3
- package/lib/react-theme/utils/spacers.d.ts +0 -9
- package/lib/react-theme/utils/themeProps.d.ts +0 -7
- package/lib/redux/_i18n/I18nActions.d.ts +0 -7
- package/lib/redux/_i18n/I18nReducer.d.ts +0 -7
- package/lib/redux/_i18n/index.d.ts +0 -3
- package/lib/redux/_i18n/types.d.ts +0 -13
- package/lib/redux/_modularui/ModularUIActions.d.ts +0 -26
- package/lib/redux/_modularui/ModularUIConnector.d.ts +0 -7
- package/lib/redux/_modularui/ModularUIMiddleware.d.ts +0 -7
- package/lib/redux/_modularui/ModularUIReducer.d.ts +0 -7
- package/lib/redux/_modularui/ModularUISelectors.d.ts +0 -3
- package/lib/redux/_modularui/ModularUIUtils.d.ts +0 -5
- package/lib/redux/_modularui/index.d.ts +0 -8
- package/lib/redux/_modularui/types.d.ts +0 -84
- package/lib/redux/_modularui/withModularUI.d.ts +0 -3
- package/lib/redux/_router/RouterActions.d.ts +0 -10
- package/lib/redux/_router/RouterConnectors.d.ts +0 -6
- package/lib/redux/_router/RouterMiddleware.d.ts +0 -5
- package/lib/redux/_router/RouterReducer.d.ts +0 -7
- package/lib/redux/_router/index.d.ts +0 -5
- package/lib/redux/_router/types.d.ts +0 -35
- package/lib/redux/actions/Application.d.ts +0 -4
- package/lib/redux/actions/Authorization.d.ts +0 -3
- package/lib/redux/actions/Error.d.ts +0 -7
- package/lib/redux/actions/Form.d.ts +0 -5
- package/lib/redux/actions/FormAttributeSet.d.ts +0 -6
- package/lib/redux/actions/FormAttributeSetRepeatable.d.ts +0 -6
- package/lib/redux/actions/FormAutosave.d.ts +0 -3
- package/lib/redux/actions/FormAutosubmit.d.ts +0 -4
- package/lib/redux/actions/FormAutoupdate.d.ts +0 -4
- package/lib/redux/actions/FormValidations.d.ts +0 -3
- package/lib/redux/actions/Modals.d.ts +0 -4
- package/lib/redux/actions/ModelCatalog.d.ts +0 -2
- package/lib/redux/actions/Notification.d.ts +0 -10
- package/lib/redux/actions/Preferences.d.ts +0 -11
- package/lib/redux/actions/ProgressIndicator.d.ts +0 -8
- package/lib/redux/actions/SignIn.d.ts +0 -10
- package/lib/redux/actions/SignOut.d.ts +0 -4
- package/lib/redux/actions/index.d.ts +0 -16
- package/lib/redux/connectors/Application.d.ts +0 -4
- package/lib/redux/connectors/Breadcrumb.d.ts +0 -3
- package/lib/redux/connectors/CaseView.d.ts +0 -4
- package/lib/redux/connectors/ConceptDetail.d.ts +0 -4
- package/lib/redux/connectors/ContentBrowser.d.ts +0 -4
- package/lib/redux/connectors/ContentDetail.d.ts +0 -4
- package/lib/redux/connectors/ContentDetailSection.d.ts +0 -4
- package/lib/redux/connectors/Form.d.ts +0 -16
- package/lib/redux/connectors/FormAttributeSet.d.ts +0 -5
- package/lib/redux/connectors/ListDetail.d.ts +0 -4
- package/lib/redux/connectors/Modal.d.ts +0 -4
- package/lib/redux/connectors/ModelCatalog.d.ts +0 -4
- package/lib/redux/connectors/Notification.d.ts +0 -4
- package/lib/redux/connectors/PanelRenderer.d.ts +0 -4
- package/lib/redux/connectors/Preferences.d.ts +0 -2
- package/lib/redux/connectors/Progress.d.ts +0 -3
- package/lib/redux/connectors/ProgressIndicator.d.ts +0 -3
- package/lib/redux/connectors/QuickSearch.d.ts +0 -11
- package/lib/redux/connectors/SignIn.d.ts +0 -4
- package/lib/redux/connectors/SignOut.d.ts +0 -4
- package/lib/redux/connectors/Tab.d.ts +0 -4
- package/lib/redux/connectors/index.d.ts +0 -21
- package/lib/redux/index.d.ts +0 -9
- package/lib/redux/reducers/AuthReducer.d.ts +0 -8
- package/lib/redux/reducers/ErrorReducer.d.ts +0 -8
- package/lib/redux/reducers/ModalsReducer.d.ts +0 -8
- package/lib/redux/reducers/ModelCatalogReducer.d.ts +0 -8
- package/lib/redux/reducers/NotificationReducer.d.ts +0 -8
- package/lib/redux/reducers/PreferencesReducer.d.ts +0 -8
- package/lib/redux/reducers/ProgressIndicatorReducer.d.ts +0 -8
- package/lib/redux/reducers/createReducer.d.ts +0 -14
- package/lib/redux/reducers/index.d.ts +0 -8
- package/lib/redux/selectors/i18n.d.ts +0 -4
- package/lib/redux/selectors/index.d.ts +0 -2
- package/lib/redux/selectors/modelcatalog.d.ts +0 -2
- package/lib/redux/store/beforeRenderHooks.d.ts +0 -7
- package/lib/redux/store/configureStore.d.ts +0 -9
- package/lib/redux/types.d.ts +0 -113
- package/lib/utils/browser/Cache.d.ts +0 -45
- package/lib/utils/browser/Cookies.d.ts +0 -9
- package/lib/utils/datetime/DateTimeUtil.d.ts +0 -214
- package/lib/utils/fetch/__mocks__/universalFetch.d.ts +0 -3
- package/lib/utils/fetch/serverFetch.d.ts +0 -5
- package/lib/utils/fetch/types.d.ts +0 -44
- package/lib/utils/fetch/universalFetch.d.ts +0 -7
- package/lib/utils/fetch/xhr.d.ts +0 -5
- package/lib/utils/helpers/checkResource.d.ts +0 -3
- package/lib/utils/helpers/createHash.d.ts +0 -9
- package/lib/utils/helpers/createHref.d.ts +0 -8
- package/lib/utils/helpers/createUUID.d.ts +0 -4
- package/lib/utils/helpers/index.d.ts +0 -8
- package/lib/utils/helpers/objects.d.ts +0 -11
- package/lib/utils/helpers/repositoryResource.d.ts +0 -1
- package/lib/utils/helpers/sanitizeHtml.d.ts +0 -9
- package/lib/utils/helpers/text.d.ts +0 -7
- package/lib/utils/index.d.ts +0 -11
- package/lib/utils/number/DecimalFormat.d.ts +0 -90
- package/lib/utils/number/formatValue.d.ts +0 -4
- package/lib/utils/number/parseNumbers.d.ts +0 -9
|
@@ -1,350 +0,0 @@
|
|
|
1
|
-
export default FormModel;
|
|
2
|
-
/**
|
|
3
|
-
*/
|
|
4
|
-
declare class FormModel extends ResourceModel {
|
|
5
|
-
/**
|
|
6
|
-
*/
|
|
7
|
-
constructor(modularuiResponse: ModularUIResponse);
|
|
8
|
-
_lastUpdate: number;
|
|
9
|
-
_completedFormObjects: Array<FormObjectModel>;
|
|
10
|
-
_currentFormObject: FormObjectModel | null;
|
|
11
|
-
_previouslyEnteredFormObjects: Array<FormObjectModel>;
|
|
12
|
-
_mergePreviouslyEnteredObjects: boolean;
|
|
13
|
-
_endResultFormObjects: Array<FormObjectModel>;
|
|
14
|
-
_previousEndResultKeys: Array<string>;
|
|
15
|
-
_useClientsideValidation: boolean;
|
|
16
|
-
_errorCollection: ErrorCollection;
|
|
17
|
-
_redirectLocation: Href;
|
|
18
|
-
_commit: boolean;
|
|
19
|
-
_isFinished: boolean;
|
|
20
|
-
_isComplete: boolean;
|
|
21
|
-
_success: {
|
|
22
|
-
redirect: string;
|
|
23
|
-
data: Object;
|
|
24
|
-
} | null;
|
|
25
|
-
_parameters: Array<Parameter>;
|
|
26
|
-
_tokens: Array<string>;
|
|
27
|
-
/**
|
|
28
|
-
*/
|
|
29
|
-
set lastUpdate(lastUpdate: number);
|
|
30
|
-
/**
|
|
31
|
-
*/
|
|
32
|
-
get lastUpdate(): number;
|
|
33
|
-
/**
|
|
34
|
-
*/
|
|
35
|
-
set currentFormObject(formObject: FormObjectModel | null);
|
|
36
|
-
/**
|
|
37
|
-
*/
|
|
38
|
-
get currentFormObject(): FormObjectModel | null;
|
|
39
|
-
/**
|
|
40
|
-
*/
|
|
41
|
-
set endResultFormObjects(endResultFormObjects: Array<FormObjectModel>);
|
|
42
|
-
/**
|
|
43
|
-
*/
|
|
44
|
-
get endResultFormObjects(): Array<FormObjectModel>;
|
|
45
|
-
/**
|
|
46
|
-
*/
|
|
47
|
-
set parameters(parameters: Array<Parameter>);
|
|
48
|
-
/**
|
|
49
|
-
*/
|
|
50
|
-
get parameters(): Array<Parameter>;
|
|
51
|
-
/**
|
|
52
|
-
*/
|
|
53
|
-
set isComplete(isComplete: boolean);
|
|
54
|
-
/**
|
|
55
|
-
* Indicates if form is completely entered
|
|
56
|
-
*/
|
|
57
|
-
get isComplete(): boolean;
|
|
58
|
-
/**
|
|
59
|
-
*/
|
|
60
|
-
get actiontype(): string;
|
|
61
|
-
/**
|
|
62
|
-
* Get form level button labels
|
|
63
|
-
*/
|
|
64
|
-
get buttonLabels(): Object;
|
|
65
|
-
/**
|
|
66
|
-
* @returns button label from contributions;
|
|
67
|
-
*/
|
|
68
|
-
getButtonLabel(buttonType: "cancel" | "previous" | "next" | "finish"): string | null;
|
|
69
|
-
/**
|
|
70
|
-
* Get all applicable objects
|
|
71
|
-
*/
|
|
72
|
-
get allObjects(): Array<FormObjectModel>;
|
|
73
|
-
/**
|
|
74
|
-
*/
|
|
75
|
-
get objectKeys(): Array<string>;
|
|
76
|
-
/**
|
|
77
|
-
*/
|
|
78
|
-
get numberOfExpectedQuestions(): number;
|
|
79
|
-
/**
|
|
80
|
-
* Has questions configured on form
|
|
81
|
-
*/
|
|
82
|
-
get hasNoQuestionsConfigured(): boolean;
|
|
83
|
-
/**
|
|
84
|
-
*/
|
|
85
|
-
addGlobalDynamicSchema(anchor: Object, dynamicschema: Object): Object;
|
|
86
|
-
/**
|
|
87
|
-
*/
|
|
88
|
-
getMissingAnchors(): Array<Object>;
|
|
89
|
-
/**
|
|
90
|
-
* Create form object based on the data and contributions available in this form
|
|
91
|
-
*/
|
|
92
|
-
createFormObject(): FormObjectModel | null;
|
|
93
|
-
/**
|
|
94
|
-
*/
|
|
95
|
-
addEmptyFormObject(formObjectModel?: FormObjectModel | null): void;
|
|
96
|
-
/**
|
|
97
|
-
*/
|
|
98
|
-
getHighestRepeatIndex(formObjectModel: FormObjectModel): number;
|
|
99
|
-
/**
|
|
100
|
-
*/
|
|
101
|
-
addFormObject(formObjectModel: FormObjectModel): void;
|
|
102
|
-
/**
|
|
103
|
-
*/
|
|
104
|
-
set completedFormObjects(formObjects: Array<FormObjectModel>);
|
|
105
|
-
/**
|
|
106
|
-
* Completed objects are previously entered questions
|
|
107
|
-
*/
|
|
108
|
-
get completedFormObjects(): Array<FormObjectModel>;
|
|
109
|
-
/**
|
|
110
|
-
* Retrieve a form object by the key
|
|
111
|
-
*/
|
|
112
|
-
getFormObjectByKey(key: string): FormObjectModel | null;
|
|
113
|
-
/**
|
|
114
|
-
* Retrieve a form object by a layouthint
|
|
115
|
-
*/
|
|
116
|
-
getFormObjectByLayoutHint(hint: string): FormObjectModel | null;
|
|
117
|
-
/**
|
|
118
|
-
*/
|
|
119
|
-
removeFormObject(formObjectModel: FormObjectModel | null): void;
|
|
120
|
-
/**
|
|
121
|
-
*/
|
|
122
|
-
set previouslyEnteredFormObjects(formObjects: Array<FormObjectModel>);
|
|
123
|
-
/**
|
|
124
|
-
* Previously entered objects are questions that have been entered before,
|
|
125
|
-
* but are currently not applicable for the form.
|
|
126
|
-
* For example because of previous navigation
|
|
127
|
-
*/
|
|
128
|
-
get previouslyEnteredFormObjects(): Array<FormObjectModel>;
|
|
129
|
-
/**
|
|
130
|
-
* Handle end results
|
|
131
|
-
*/
|
|
132
|
-
setEndResultFormObjects(): Array<FormObjectModel>;
|
|
133
|
-
/**
|
|
134
|
-
*/
|
|
135
|
-
get expectsEndResultFormObjects(): boolean;
|
|
136
|
-
/**
|
|
137
|
-
*/
|
|
138
|
-
getEndResultFormObjects(): Array<FormObjectModel>;
|
|
139
|
-
/**
|
|
140
|
-
*/
|
|
141
|
-
set previousEndResultKeys(endResultFormObjectKeys: Array<string>);
|
|
142
|
-
/**
|
|
143
|
-
*/
|
|
144
|
-
get previousEndResultKeys(): Array<string>;
|
|
145
|
-
/**
|
|
146
|
-
* Error handling
|
|
147
|
-
*/
|
|
148
|
-
get isValid(): boolean;
|
|
149
|
-
/**
|
|
150
|
-
*/
|
|
151
|
-
hasServerErrors(): boolean;
|
|
152
|
-
/**
|
|
153
|
-
*/
|
|
154
|
-
hasErrors(): boolean;
|
|
155
|
-
/**
|
|
156
|
-
* Add an error to the error collection of this form
|
|
157
|
-
*/
|
|
158
|
-
addServerError(error: ErrorResponse): void;
|
|
159
|
-
/**
|
|
160
|
-
* Reset error messages
|
|
161
|
-
*/
|
|
162
|
-
resetErrors(): void;
|
|
163
|
-
/**
|
|
164
|
-
*/
|
|
165
|
-
set errorCollection(errorCollection: ErrorCollection);
|
|
166
|
-
/**
|
|
167
|
-
*/
|
|
168
|
-
get errorCollection(): ErrorCollection;
|
|
169
|
-
/**
|
|
170
|
-
*/
|
|
171
|
-
set commit(commit: boolean);
|
|
172
|
-
/**
|
|
173
|
-
* Indicates if the form needs to be committed
|
|
174
|
-
*/
|
|
175
|
-
get commit(): boolean;
|
|
176
|
-
/**
|
|
177
|
-
*/
|
|
178
|
-
set isFinished(isFinished: boolean);
|
|
179
|
-
/**
|
|
180
|
-
* Inidicates if form is finished: Form is completely entered and committed
|
|
181
|
-
*/
|
|
182
|
-
get isFinished(): boolean;
|
|
183
|
-
/**
|
|
184
|
-
* Handle success redirects
|
|
185
|
-
*/
|
|
186
|
-
get successRedirect(): Href | null;
|
|
187
|
-
/**
|
|
188
|
-
*/
|
|
189
|
-
get redirectLocation(): Href;
|
|
190
|
-
/**
|
|
191
|
-
* Get the result data as plain json object
|
|
192
|
-
*/
|
|
193
|
-
getSuccessData(): Object | null;
|
|
194
|
-
/**
|
|
195
|
-
* Retrieve an object where each property is a result data attribute set
|
|
196
|
-
*/
|
|
197
|
-
getResultData(): {
|
|
198
|
-
[key: string]: AttributeSetModel;
|
|
199
|
-
} | null;
|
|
200
|
-
/**
|
|
201
|
-
*/
|
|
202
|
-
get resultData(): Object | null;
|
|
203
|
-
/**
|
|
204
|
-
* Href handling
|
|
205
|
-
*/
|
|
206
|
-
setParameters(modularuiResponse: ModularUIResponse): Array<Parameter>;
|
|
207
|
-
/**
|
|
208
|
-
*/
|
|
209
|
-
selfhrefNoCommitParam(): Href;
|
|
210
|
-
/**
|
|
211
|
-
*/
|
|
212
|
-
selfhrefWithCommitParam(): Href;
|
|
213
|
-
/**
|
|
214
|
-
* Replaces all tokens with the given collection of tokens
|
|
215
|
-
*/
|
|
216
|
-
set tokens(tokens: Array<string>);
|
|
217
|
-
/**
|
|
218
|
-
* Handle form tokens to indicate concurrent form use
|
|
219
|
-
*/
|
|
220
|
-
get tokens(): Array<string>;
|
|
221
|
-
/**
|
|
222
|
-
* Removes all tokens from the form
|
|
223
|
-
*/
|
|
224
|
-
removeTokens(): void;
|
|
225
|
-
/**
|
|
226
|
-
* Keep track of changed form
|
|
227
|
-
*/
|
|
228
|
-
isChanged(): boolean;
|
|
229
|
-
/**
|
|
230
|
-
*/
|
|
231
|
-
getFormDataObjects(validOnly?: boolean, validationData?: boolean): Array<Object>;
|
|
232
|
-
/**
|
|
233
|
-
*/
|
|
234
|
-
getFormData(validOnly?: boolean, withConcurrencyToken?: boolean, validationData?: boolean): string;
|
|
235
|
-
/**
|
|
236
|
-
* Used to programmatically overwrite the setting USE_CLIENTSIDE_VALIDATION
|
|
237
|
-
*/
|
|
238
|
-
setUseClientsideValidation(enabled: boolean): void;
|
|
239
|
-
/**
|
|
240
|
-
* Indicates if client side validation is enabled
|
|
241
|
-
* @returns {boolean}
|
|
242
|
-
*/
|
|
243
|
-
useClientsideValidation(): boolean;
|
|
244
|
-
/**
|
|
245
|
-
* Get form data for submitting
|
|
246
|
-
*/
|
|
247
|
-
get formdata(): string;
|
|
248
|
-
/**
|
|
249
|
-
*/
|
|
250
|
-
get validationData(): string;
|
|
251
|
-
/**
|
|
252
|
-
* Form navigation: Go one object back (previous button)
|
|
253
|
-
*/
|
|
254
|
-
get hasPreviousStep(): boolean;
|
|
255
|
-
/**
|
|
256
|
-
* Go one form-object back,
|
|
257
|
-
* for repeating object this means go back
|
|
258
|
-
* until we get at a form object that had
|
|
259
|
-
* a different key than the current form object
|
|
260
|
-
*/
|
|
261
|
-
setPreviousObject(): void;
|
|
262
|
-
/**
|
|
263
|
-
* Set success information, contains redirect and event data
|
|
264
|
-
* @param success
|
|
265
|
-
*/
|
|
266
|
-
set success(success: {
|
|
267
|
-
redirect: string;
|
|
268
|
-
data: Object;
|
|
269
|
-
} | null);
|
|
270
|
-
/**
|
|
271
|
-
* Retrieve success information from response
|
|
272
|
-
* @returns {{redirect: string, data: object}}
|
|
273
|
-
*/
|
|
274
|
-
get success(): {
|
|
275
|
-
redirect: string;
|
|
276
|
-
data: Object;
|
|
277
|
-
} | null;
|
|
278
|
-
/**
|
|
279
|
-
* Form navigation: has next step or is last
|
|
280
|
-
*/
|
|
281
|
-
get hasNextStep(): boolean;
|
|
282
|
-
/**
|
|
283
|
-
* Merge existing form with new form
|
|
284
|
-
*/
|
|
285
|
-
update(receivedForm: ModularUIModel): FormModel;
|
|
286
|
-
/**
|
|
287
|
-
* Updates the current form object with new information about the object,
|
|
288
|
-
* like for example a new dynamicschema. Used for autoupdate functionality that makes it possible
|
|
289
|
-
* to update the options of a next missing attribute in a form-tree iq question
|
|
290
|
-
*/
|
|
291
|
-
updateCurrentFormObject(receivedForm: ModularUIModel): void;
|
|
292
|
-
/**
|
|
293
|
-
*/
|
|
294
|
-
updateValidations(data: any): FormModel;
|
|
295
|
-
/**
|
|
296
|
-
*/
|
|
297
|
-
createSuccess(): void;
|
|
298
|
-
/**
|
|
299
|
-
* Process finished form
|
|
300
|
-
*/
|
|
301
|
-
handleFinished(receivedForm: FormModel): void;
|
|
302
|
-
/**
|
|
303
|
-
*/
|
|
304
|
-
handleRootErrors(errors: Array<Object>): void;
|
|
305
|
-
/**
|
|
306
|
-
* Process errors from received form
|
|
307
|
-
*/
|
|
308
|
-
handleErrors(receivedForm: FormModel): void;
|
|
309
|
-
/**
|
|
310
|
-
* Process missing from received form
|
|
311
|
-
*/
|
|
312
|
-
handleMissing(receivedForm: FormModel): void;
|
|
313
|
-
/**
|
|
314
|
-
* Received missing anchors in the response with an object id that is the current form object
|
|
315
|
-
*/
|
|
316
|
-
processMissingErrors(receivedForm: FormModel): FormObjectModel | null;
|
|
317
|
-
/**
|
|
318
|
-
*/
|
|
319
|
-
handleMissingErrors(receivedForm: FormModel): void;
|
|
320
|
-
/**
|
|
321
|
-
*/
|
|
322
|
-
handleNewFormObject(receivedForm: FormModel): void;
|
|
323
|
-
/**
|
|
324
|
-
*/
|
|
325
|
-
set mergePreviouslyEnteredObjects(mergePreviouslyEnteredObjects: boolean);
|
|
326
|
-
/**
|
|
327
|
-
* Indicate if a new form object model should be merged with a previousled entered form object model
|
|
328
|
-
* Set this property to false on the form that receives the new form to skip the merge behavior
|
|
329
|
-
*/
|
|
330
|
-
get mergePreviouslyEnteredObjects(): boolean;
|
|
331
|
-
/**
|
|
332
|
-
*/
|
|
333
|
-
handlePreviouslyEnteredFormObjects(receivedCurrentFormObject: FormObjectModel, previouslyEnteredFormObjects: Array<FormObjectModel>): void;
|
|
334
|
-
/**
|
|
335
|
-
*/
|
|
336
|
-
mergeObjects(newObject: FormObjectModel, oldObject: FormObjectModel): FormObjectModel;
|
|
337
|
-
/**
|
|
338
|
-
*/
|
|
339
|
-
findAttribute(findMethod: Function): AttributeType | null;
|
|
340
|
-
}
|
|
341
|
-
import ResourceModel from "../base/ResourceModel";
|
|
342
|
-
import FormObjectModel from "./FormObjectModel";
|
|
343
|
-
import ErrorCollection from "../error/ErrorCollection";
|
|
344
|
-
import Href from "../href/Href";
|
|
345
|
-
import Parameter from "../parameter/Parameter";
|
|
346
|
-
import ErrorResponse from "../error/ErrorResponse";
|
|
347
|
-
import AttributeSetModel from "../attributes/AttributeSetModel";
|
|
348
|
-
import { ModularUIResponse } from "../../modularui";
|
|
349
|
-
import { ModularUIModel } from "../types";
|
|
350
|
-
import { AttributeType } from "../types";
|
|
@@ -1,210 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Form Object
|
|
3
|
-
*/
|
|
4
|
-
export default class FormObjectModel extends BaseModel {
|
|
5
|
-
/**
|
|
6
|
-
*/
|
|
7
|
-
static createEmpty(formObjectModel: FormObjectModel): FormObjectModel;
|
|
8
|
-
_attributeCollection: AttributeCollection;
|
|
9
|
-
_contentConfiguration: ContentConfiguration;
|
|
10
|
-
_errorCollection: ErrorCollection;
|
|
11
|
-
_repeatIndex: number;
|
|
12
|
-
_dynamicValidationsLoaded: boolean;
|
|
13
|
-
/**
|
|
14
|
-
*/
|
|
15
|
-
equals(object: FormObjectModel | null, withRepeatIndex?: boolean): boolean;
|
|
16
|
-
/**
|
|
17
|
-
*/
|
|
18
|
-
getAttributeByAttribute(attribute: AttributeType): AttributeType | null;
|
|
19
|
-
/**
|
|
20
|
-
*/
|
|
21
|
-
getAttributeByKey(key: string): AttributeType | null;
|
|
22
|
-
/**
|
|
23
|
-
*/
|
|
24
|
-
hasAttributeByKey(key: string): boolean;
|
|
25
|
-
/**
|
|
26
|
-
* Get elements from both the missing attributes and the result attributes
|
|
27
|
-
*/
|
|
28
|
-
getElements(): Array<Object>;
|
|
29
|
-
/**
|
|
30
|
-
* Map available contributions on the available data. Only use contributions that are needed for the data
|
|
31
|
-
*/
|
|
32
|
-
getApplicableAttributeContributions(): Array<Object>;
|
|
33
|
-
/**
|
|
34
|
-
* Recursevily check if an attribute id occurs in the tree of attribute contributions.
|
|
35
|
-
* The complete leaf of the tree is returned when an attribute id matches
|
|
36
|
-
*/
|
|
37
|
-
getAttributesInData(dataElementIds: Array<string>, attributesContributions: Object): Array<Object>;
|
|
38
|
-
/**
|
|
39
|
-
*/
|
|
40
|
-
getInitialChildModelLinks(): Array<LinkModel>;
|
|
41
|
-
/**
|
|
42
|
-
*/
|
|
43
|
-
setChildModels(models: Array<ModularUIModel>, errors: Array<ErrorResponse>): void;
|
|
44
|
-
/**
|
|
45
|
-
* get key
|
|
46
|
-
*/
|
|
47
|
-
get key(): string;
|
|
48
|
-
/**
|
|
49
|
-
* Get content configuration for form objects
|
|
50
|
-
*/
|
|
51
|
-
get contentConfiguration(): ContentConfiguration;
|
|
52
|
-
/**
|
|
53
|
-
*/
|
|
54
|
-
get hasEndResultConfiguration(): boolean;
|
|
55
|
-
/**
|
|
56
|
-
* Indicates if object is dynamic.
|
|
57
|
-
*
|
|
58
|
-
* A subtle difference exists between objects for wizard style instrument dialogs and other objects.
|
|
59
|
-
* In the 'missing object' response, wizard style objects will include only the first attribute(s) to be answered,
|
|
60
|
-
* while other objects will include the complete set of attributes of that object.
|
|
61
|
-
*
|
|
62
|
-
* This difference is condensed in the term of 'dynamic objects': these objects start (in the 'missing object' response)
|
|
63
|
-
* with a very select set of attributes to be answered, and each successive 'missing elements' response will include next attributes to be answered.
|
|
64
|
-
* When an object is dynamic, the form contributions will mention a "dynamicObject": true property.
|
|
65
|
-
*/
|
|
66
|
-
get isDynamic(): boolean;
|
|
67
|
-
/**
|
|
68
|
-
*/
|
|
69
|
-
get hasDynamicValidations(): boolean;
|
|
70
|
-
/**
|
|
71
|
-
* Indicates if object is repeatable
|
|
72
|
-
*/
|
|
73
|
-
get isRepeatable(): boolean;
|
|
74
|
-
/**
|
|
75
|
-
*/
|
|
76
|
-
set repeatIndex(repeatIndex: number);
|
|
77
|
-
/**
|
|
78
|
-
*/
|
|
79
|
-
get repeatIndex(): number;
|
|
80
|
-
/**
|
|
81
|
-
*/
|
|
82
|
-
get maxRepeats(): number;
|
|
83
|
-
/**
|
|
84
|
-
*/
|
|
85
|
-
get hasFixedNrOfRepeats(): boolean;
|
|
86
|
-
/**
|
|
87
|
-
*/
|
|
88
|
-
get isRepeatWithUnknownTotal(): boolean;
|
|
89
|
-
/**
|
|
90
|
-
*/
|
|
91
|
-
get isLastRepeat(): boolean;
|
|
92
|
-
/**
|
|
93
|
-
*/
|
|
94
|
-
get repeatIndexLabel(): string | null;
|
|
95
|
-
/**
|
|
96
|
-
* Get label of form object
|
|
97
|
-
*/
|
|
98
|
-
get label(): string;
|
|
99
|
-
/**
|
|
100
|
-
* Get introText of form object
|
|
101
|
-
*/
|
|
102
|
-
get introText(): string;
|
|
103
|
-
/**
|
|
104
|
-
* Get assistent of form object
|
|
105
|
-
*/
|
|
106
|
-
get assistent(): string;
|
|
107
|
-
/**
|
|
108
|
-
* Get button labels
|
|
109
|
-
*/
|
|
110
|
-
get buttonLabels(): Object;
|
|
111
|
-
/**
|
|
112
|
-
*/
|
|
113
|
-
set attributeCollection(attributeCollection: AttributeCollection);
|
|
114
|
-
/**
|
|
115
|
-
* get attribute collection
|
|
116
|
-
*/
|
|
117
|
-
get attributeCollection(): AttributeCollection;
|
|
118
|
-
/**
|
|
119
|
-
*/
|
|
120
|
-
mergeObject(oldObject: FormObjectModel): void;
|
|
121
|
-
/**
|
|
122
|
-
* Update attribute
|
|
123
|
-
*/
|
|
124
|
-
updateAttribute(attribute: AttributeType, value: any): AttributeType;
|
|
125
|
-
/**
|
|
126
|
-
* Inidicates if Form is changed since a given timestamp (Date.now)
|
|
127
|
-
*/
|
|
128
|
-
isChangedSince(timestamp: number): boolean;
|
|
129
|
-
/**
|
|
130
|
-
* Reset all errors on Form Object
|
|
131
|
-
*/
|
|
132
|
-
resetErrors(): void;
|
|
133
|
-
/**
|
|
134
|
-
* Get error messages
|
|
135
|
-
*/
|
|
136
|
-
get errorCollection(): ErrorCollection;
|
|
137
|
-
/**
|
|
138
|
-
* Registers an error that was received from a server response
|
|
139
|
-
*/
|
|
140
|
-
addServerError(error: FormErrorAnchor): void;
|
|
141
|
-
/**
|
|
142
|
-
*/
|
|
143
|
-
hasServerErrors(): boolean;
|
|
144
|
-
/**
|
|
145
|
-
*/
|
|
146
|
-
hasErrors(): boolean;
|
|
147
|
-
/**
|
|
148
|
-
*/
|
|
149
|
-
get isValid(): boolean;
|
|
150
|
-
/**
|
|
151
|
-
*/
|
|
152
|
-
set dynamicValidationsLoaded(dynamicValidationsLoaded: boolean);
|
|
153
|
-
/**
|
|
154
|
-
*/
|
|
155
|
-
get dynamicValidationsLoaded(): boolean;
|
|
156
|
-
/**
|
|
157
|
-
* Convert error json from a form service to validation messages on the form object and attributes
|
|
158
|
-
*/
|
|
159
|
-
handleErrorValidations(errors: Array<ErrorObject>): void;
|
|
160
|
-
/**
|
|
161
|
-
* Convert missing json from a form service to mandatory validation constraints and messages
|
|
162
|
-
*/
|
|
163
|
-
handleMissingValidations(missing: {
|
|
164
|
-
anchors: Array<{
|
|
165
|
-
elements: Array<{
|
|
166
|
-
elementid: string;
|
|
167
|
-
}>;
|
|
168
|
-
objectid?: string;
|
|
169
|
-
} | {
|
|
170
|
-
anchor: {
|
|
171
|
-
elementid: string;
|
|
172
|
-
objectid?: string;
|
|
173
|
-
};
|
|
174
|
-
}>;
|
|
175
|
-
}, errors: Array<ErrorObject>): void;
|
|
176
|
-
/**
|
|
177
|
-
*/
|
|
178
|
-
updateValidations(data: any): FormObjectModel;
|
|
179
|
-
/**
|
|
180
|
-
* Generate formdata object for current formobject based on formdata of attributes
|
|
181
|
-
*/
|
|
182
|
-
get formdata(): {
|
|
183
|
-
[string]: any;
|
|
184
|
-
} | null;
|
|
185
|
-
/**
|
|
186
|
-
*/
|
|
187
|
-
getFormData(validationData?: boolean): {
|
|
188
|
-
[string]: any;
|
|
189
|
-
} | null;
|
|
190
|
-
}
|
|
191
|
-
import BaseModel from "../base/BaseModel";
|
|
192
|
-
import AttributeCollection from "../attributes/AttributeCollection";
|
|
193
|
-
import ContentConfiguration from "../contentconfiguration/ContentConfiguration";
|
|
194
|
-
import ErrorCollection from "../error/ErrorCollection";
|
|
195
|
-
import { AttributeType } from "../types";
|
|
196
|
-
import LinkModel from "../links/LinkModel";
|
|
197
|
-
import { ModularUIModel } from "../types";
|
|
198
|
-
import ErrorResponse from "../error/ErrorResponse";
|
|
199
|
-
import { FormErrorAnchor } from "../types";
|
|
200
|
-
type ErrorObject = {
|
|
201
|
-
anchor: {
|
|
202
|
-
objectid: string;
|
|
203
|
-
elementid?: string | undefined;
|
|
204
|
-
};
|
|
205
|
-
id: string;
|
|
206
|
-
message: string;
|
|
207
|
-
properties: MessageParameters;
|
|
208
|
-
layouthint: string[];
|
|
209
|
-
};
|
|
210
|
-
export {};
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Group information model
|
|
3
|
-
* Put GroupModel here because of possible circular dependency with GroupingModel below
|
|
4
|
-
*/
|
|
5
|
-
export class GroupModel {
|
|
6
|
-
/**
|
|
7
|
-
*/
|
|
8
|
-
constructor(group: Object, context: Object, contributions: Array<Object>, modelOptions?: ModelOptions);
|
|
9
|
-
_group: Object;
|
|
10
|
-
_context: Object;
|
|
11
|
-
_attributeCollection: AttributeCollection;
|
|
12
|
-
_grouping: GroupingModel | null;
|
|
13
|
-
/**
|
|
14
|
-
*/
|
|
15
|
-
get type(): string;
|
|
16
|
-
/**
|
|
17
|
-
*/
|
|
18
|
-
get id(): string;
|
|
19
|
-
/**
|
|
20
|
-
*/
|
|
21
|
-
get label(): string;
|
|
22
|
-
/**
|
|
23
|
-
*/
|
|
24
|
-
get attributeCollection(): AttributeCollection;
|
|
25
|
-
/**
|
|
26
|
-
*/
|
|
27
|
-
get grouping(): GroupingModel | null;
|
|
28
|
-
/**
|
|
29
|
-
* Retrieve array of reference id's
|
|
30
|
-
*/
|
|
31
|
-
get reference(): Array<number>;
|
|
32
|
-
/**
|
|
33
|
-
*/
|
|
34
|
-
hasAttributeByKey(key: string): boolean;
|
|
35
|
-
/**
|
|
36
|
-
*/
|
|
37
|
-
getAttributeByKey(key: string): AttributeType | null;
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* Grouping model to group lists
|
|
41
|
-
*/
|
|
42
|
-
export default class GroupingModel {
|
|
43
|
-
/**
|
|
44
|
-
*/
|
|
45
|
-
constructor(data: Object, contexts: Array<Context>, modelOptions?: ModelOptions);
|
|
46
|
-
_prefix: string | null;
|
|
47
|
-
_groups: Array<GroupModel>;
|
|
48
|
-
/**
|
|
49
|
-
*/
|
|
50
|
-
createGroup(data: Object, contributions: Array<Context>, modelOptions?: ModelOptions): Array<Object>;
|
|
51
|
-
/**
|
|
52
|
-
* add grouped prefix to the dynamicschema
|
|
53
|
-
*/
|
|
54
|
-
getDynamicSchema(group: Object, dynamicschema: Object): Object;
|
|
55
|
-
/**
|
|
56
|
-
* Retrieve groups of grouping
|
|
57
|
-
*/
|
|
58
|
-
get groups(): Array<GroupModel>;
|
|
59
|
-
/**
|
|
60
|
-
* Inidicates if Grouping has one or more groups
|
|
61
|
-
*/
|
|
62
|
-
hasGroups(): boolean;
|
|
63
|
-
/**
|
|
64
|
-
* Get context of grouping
|
|
65
|
-
*/
|
|
66
|
-
getContextFromContributionsByPrefix(contexts: Array<Object>, prefix: string | null): Object;
|
|
67
|
-
/**
|
|
68
|
-
*/
|
|
69
|
-
hasAttributeByKey(key: string): boolean;
|
|
70
|
-
/**
|
|
71
|
-
*/
|
|
72
|
-
getAttributeByKey(key: string): AttributeType | null;
|
|
73
|
-
/**
|
|
74
|
-
*/
|
|
75
|
-
getGroupByAttributeKey(key: string): GroupModel | null;
|
|
76
|
-
}
|
|
77
|
-
import AttributeCollection from "../attributes/AttributeCollection";
|
|
78
|
-
import { AttributeType } from "../types";
|
|
79
|
-
import { ModelOptions } from "../types";
|
|
80
|
-
type Context = {
|
|
81
|
-
prefix: string;
|
|
82
|
-
label: string;
|
|
83
|
-
metadata: Object;
|
|
84
|
-
attributes: Object[];
|
|
85
|
-
};
|
|
86
|
-
export {};
|