@beinformed/ui 1.62.8 → 1.63.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +19 -0
- package/esm/models/attributes/__tests__/AttributeContent.spec.js.flow +1 -1
- package/esm/models/content/SectionModel.js +22 -11
- package/esm/models/content/SectionModel.js.flow +32 -19
- package/esm/models/content/SectionModel.js.map +1 -1
- package/esm/models/content/__tests__/ContentModel.spec.js.flow +35 -0
- package/esm/models/types.js.flow +2 -1
- package/esm/models/types.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/lib/models/content/SectionModel.js +22 -11
- package/lib/models/content/SectionModel.js.map +1 -1
- package/lib/models/types.js.map +1 -1
- package/lib/react-server/requestInformation.js +6 -3
- package/lib/react-server/requestInformation.js.map +1 -1
- package/package.json +3 -3
- package/src/models/attributes/__tests__/AttributeContent.spec.js +1 -1
- package/src/models/content/SectionModel.js +32 -19
- package/src/models/content/__tests__/ContentModel.spec.js +35 -0
- package/src/models/content/__tests__/content-with-sections.json +105 -0
- package/src/models/types.js +2 -1
- package/src/react-server/__tests__/requestInformation.spec.js +265 -0
- package/src/react-server/requestInformation.js +8 -3
- 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 -33
- 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 -33
- 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,53 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Describes a TabModel
|
|
3
|
-
*/
|
|
4
|
-
export default class TabModel extends ResourceModel {
|
|
5
|
-
/**
|
|
6
|
-
*/
|
|
7
|
-
constructor(modularuiResponse: ModularUIResponse);
|
|
8
|
-
_actionCollection: ActionCollection;
|
|
9
|
-
_taskGroupCollection: TaskGroupCollection;
|
|
10
|
-
/**
|
|
11
|
-
*/
|
|
12
|
-
setChildModels(models: Array<ModularUIModel>): void;
|
|
13
|
-
/**
|
|
14
|
-
*/
|
|
15
|
-
get searchLink(): LinkModel | null;
|
|
16
|
-
/**
|
|
17
|
-
*/
|
|
18
|
-
createTaskGroupCollection(): void;
|
|
19
|
-
/**
|
|
20
|
-
* Setting the taskgroup panel collection
|
|
21
|
-
*/
|
|
22
|
-
set taskGroupCollection(taskgroups: Array<TaskGroupModel>);
|
|
23
|
-
/**
|
|
24
|
-
* Getting the taskgrouppanels on the tab
|
|
25
|
-
*/
|
|
26
|
-
get taskGroupCollection(): TaskGroupCollection;
|
|
27
|
-
/**
|
|
28
|
-
* Getting the component links on the tab
|
|
29
|
-
*/
|
|
30
|
-
get components(): LinkCollection;
|
|
31
|
-
/**
|
|
32
|
-
*/
|
|
33
|
-
get actionCollection(): ActionCollection;
|
|
34
|
-
/**
|
|
35
|
-
* Has component links
|
|
36
|
-
*/
|
|
37
|
-
hasComponents(): boolean;
|
|
38
|
-
/**
|
|
39
|
-
* Has taskgroups
|
|
40
|
-
*/
|
|
41
|
-
hasTaskGroups(): boolean;
|
|
42
|
-
/**
|
|
43
|
-
*/
|
|
44
|
-
hasActions(): boolean;
|
|
45
|
-
}
|
|
46
|
-
import ResourceModel from "../base/ResourceModel";
|
|
47
|
-
import ActionCollection from "../actions/ActionCollection";
|
|
48
|
-
import TaskGroupCollection from "../taskgroup/TaskGroupCollection";
|
|
49
|
-
import { ModularUIModel } from "../types";
|
|
50
|
-
import LinkModel from "../links/LinkModel";
|
|
51
|
-
import TaskGroupModel from "../taskgroup/TaskGroupModel";
|
|
52
|
-
import LinkCollection from "../links/LinkCollection";
|
|
53
|
-
import { ModularUIResponse } from "../../modularui";
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Collection of taskgroup models
|
|
3
|
-
*/
|
|
4
|
-
export default class TaskGroupCollection extends BaseCollection<TaskGroupModel> {
|
|
5
|
-
constructor(initCollection?: TaskGroupModel[]);
|
|
6
|
-
/**
|
|
7
|
-
* Indicates if the taskgroup collection has has tasks
|
|
8
|
-
*/
|
|
9
|
-
hasTasks(): boolean;
|
|
10
|
-
}
|
|
11
|
-
import TaskGroupModel from "../taskgroup/TaskGroupModel";
|
|
12
|
-
import BaseCollection from "../base/BaseCollection";
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* TaskGroupModel
|
|
3
|
-
*/
|
|
4
|
-
export default class TaskGroupModel extends ResourceModel {
|
|
5
|
-
/**
|
|
6
|
-
*/
|
|
7
|
-
static create(key: string, data: Object, contributions: Object, modelOptions?: ModelOptions): TaskGroupModel;
|
|
8
|
-
/**
|
|
9
|
-
*/
|
|
10
|
-
constructor(modularuiResponse: ModularUIResponse);
|
|
11
|
-
_actionCollection: ActionCollection;
|
|
12
|
-
/**
|
|
13
|
-
* Retrieve actions of taskgroup
|
|
14
|
-
*/
|
|
15
|
-
get actionCollection(): ActionCollection;
|
|
16
|
-
/**
|
|
17
|
-
* Indicates if taskgroup has tasks
|
|
18
|
-
* @returns {boolean}
|
|
19
|
-
*/
|
|
20
|
-
hasTasks(): boolean;
|
|
21
|
-
}
|
|
22
|
-
import ResourceModel from "../base/ResourceModel";
|
|
23
|
-
import ActionCollection from "../actions/ActionCollection";
|
|
24
|
-
import { ModelOptions } from "../types";
|
|
25
|
-
import ModularUIResponse from "../../modularui/ModularUIResponse";
|
package/lib/models/types.d.ts
DELETED
|
@@ -1,171 +0,0 @@
|
|
|
1
|
-
type ModularUIModel = ApplicationModel | CaseSearchModel | CaseViewModel | ListDetailModel | DetailModel | FormModel | GroupingPanelModel | ListModel | TabModel | TaskGroupModel | UserModel | UserServicesModel | ModelCatalogModel | ConceptIndexModel | ConceptDetailModel | BusinessScenarioModel | ConceptTypeDetailModel | ContentIndexModel | ContentTOCModel | ContentModel | ContentTypeModel | LookupOptionsModel;
|
|
2
|
-
type AttributeType = BooleanAttributeModel | CaptchaAttributeModel | ChoiceAttributeModel | DatetimeAttributeModel | HelptextAttributeModel | LabelAttributeModel | MemoAttributeModel | MoneyAttributeModel | NumberAttributeModel | PasswordAttributeModel | CompositeAttributeModel | StringAttributeModel | UploadAttributeModel | XMLAttributeModel;
|
|
3
|
-
type RangeChildAttributeType = DatetimeAttributeModel | NumberAttributeModel;
|
|
4
|
-
type FilterType = BaseFilterModel | FilterModel | AssignmentFilterModel | RangeFilterModel | ConceptIndexFilterModel;
|
|
5
|
-
type FormErrorAnchor = {
|
|
6
|
-
id: string;
|
|
7
|
-
properties?: {
|
|
8
|
-
[propertyName: string]: string | number;
|
|
9
|
-
} | undefined;
|
|
10
|
-
anchor?: {
|
|
11
|
-
objectid: string;
|
|
12
|
-
elementid?: string | undefined;
|
|
13
|
-
_links?: Object | undefined;
|
|
14
|
-
index?: number | undefined;
|
|
15
|
-
"index-identifier"?: string | undefined;
|
|
16
|
-
} | undefined;
|
|
17
|
-
layouthint: LayoutHintCollection;
|
|
18
|
-
message: string;
|
|
19
|
-
param?: {
|
|
20
|
-
name: string;
|
|
21
|
-
} | undefined;
|
|
22
|
-
};
|
|
23
|
-
type labelsJSON = {
|
|
24
|
-
_id: string;
|
|
25
|
-
label: string;
|
|
26
|
-
value: string;
|
|
27
|
-
};
|
|
28
|
-
type propertyJSON = {
|
|
29
|
-
_id: string;
|
|
30
|
-
type: string;
|
|
31
|
-
mandatory: string;
|
|
32
|
-
label: string;
|
|
33
|
-
value: string;
|
|
34
|
-
};
|
|
35
|
-
type textfragmentJSON = {
|
|
36
|
-
label: string;
|
|
37
|
-
text: string;
|
|
38
|
-
type: string;
|
|
39
|
-
};
|
|
40
|
-
export interface IConstraintModel {
|
|
41
|
-
}
|
|
42
|
-
export interface ILayoutHintRule {
|
|
43
|
-
process(attribute: AttributeModel, attributes: AttributeCollection): void;
|
|
44
|
-
}
|
|
45
|
-
export interface IModelWithChildModels {
|
|
46
|
-
getInitialChildModelLinks(): Array<LinkModel>;
|
|
47
|
-
setChildModels(models: Array<ModularUIModel>, errors: Array<ErrorResponse>): void;
|
|
48
|
-
}
|
|
49
|
-
type AuthenticationType = {
|
|
50
|
-
name: string;
|
|
51
|
-
authentication: string;
|
|
52
|
-
redirectUri?: string | undefined;
|
|
53
|
-
isPrimary: boolean;
|
|
54
|
-
};
|
|
55
|
-
type FileEntryType = {
|
|
56
|
-
name: string;
|
|
57
|
-
size?: number | undefined;
|
|
58
|
-
progress: number;
|
|
59
|
-
error?: string | undefined;
|
|
60
|
-
token?: string | undefined;
|
|
61
|
-
};
|
|
62
|
-
type FilesType = {
|
|
63
|
-
[filename: string]: FileEntryType;
|
|
64
|
-
};
|
|
65
|
-
type FiletypeConstraintsType = any[];
|
|
66
|
-
type FilesizeConstraintsType = {
|
|
67
|
-
fileSize: number | null;
|
|
68
|
-
maxTotalFileSize: number | null;
|
|
69
|
-
isMaxTotal: boolean;
|
|
70
|
-
};
|
|
71
|
-
type PropertyData = {
|
|
72
|
-
type: string;
|
|
73
|
-
label: string;
|
|
74
|
-
value: string;
|
|
75
|
-
};
|
|
76
|
-
type TextFragmentData = {
|
|
77
|
-
type: string;
|
|
78
|
-
label: string;
|
|
79
|
-
text: string | {
|
|
80
|
-
id?: string | undefined;
|
|
81
|
-
message: string;
|
|
82
|
-
properties?: Object | undefined;
|
|
83
|
-
};
|
|
84
|
-
};
|
|
85
|
-
type SectionData = {
|
|
86
|
-
id: string;
|
|
87
|
-
type: string;
|
|
88
|
-
label?: string | undefined;
|
|
89
|
-
number?: string | undefined;
|
|
90
|
-
body: string | {
|
|
91
|
-
id?: string | undefined;
|
|
92
|
-
message: string;
|
|
93
|
-
properties?: Object | undefined;
|
|
94
|
-
};
|
|
95
|
-
_links: {
|
|
96
|
-
self: {
|
|
97
|
-
href: string;
|
|
98
|
-
};
|
|
99
|
-
};
|
|
100
|
-
childSections: SectionData[];
|
|
101
|
-
subSections: SectionData[];
|
|
102
|
-
};
|
|
103
|
-
type PropertyElement = {
|
|
104
|
-
propertyElement: {
|
|
105
|
-
label: string;
|
|
106
|
-
layouthint: string[];
|
|
107
|
-
properties: PropertyData[];
|
|
108
|
-
};
|
|
109
|
-
};
|
|
110
|
-
type TextFragmentElement = {
|
|
111
|
-
textFragmentElement: {
|
|
112
|
-
label: string;
|
|
113
|
-
layouthint: string[];
|
|
114
|
-
textfragments: TextFragmentData[];
|
|
115
|
-
};
|
|
116
|
-
};
|
|
117
|
-
type ContentElement = {
|
|
118
|
-
contentElement: {
|
|
119
|
-
label: string;
|
|
120
|
-
layouthint: string[];
|
|
121
|
-
sections: SectionData[];
|
|
122
|
-
};
|
|
123
|
-
};
|
|
124
|
-
type PropertyElementMapped = {
|
|
125
|
-
propertyElement: {
|
|
126
|
-
label: string;
|
|
127
|
-
layouthint: LayoutHintCollection;
|
|
128
|
-
properties: PropertyData[];
|
|
129
|
-
};
|
|
130
|
-
};
|
|
131
|
-
type TextFragmentElementMapped = {
|
|
132
|
-
textFragmentElement: {
|
|
133
|
-
label: string;
|
|
134
|
-
layouthint: LayoutHintCollection;
|
|
135
|
-
textfragments: TextFragmentData[];
|
|
136
|
-
};
|
|
137
|
-
};
|
|
138
|
-
type ContentElementMapped = {
|
|
139
|
-
contentElement: {
|
|
140
|
-
label: string;
|
|
141
|
-
layouthint: LayoutHintCollection;
|
|
142
|
-
sections: SectionModel[];
|
|
143
|
-
};
|
|
144
|
-
};
|
|
145
|
-
type ContentAll = (PropertyElementMapped | TextFragmentElementMapped | ContentElementMapped)[];
|
|
146
|
-
type ContentData = {
|
|
147
|
-
header: {
|
|
148
|
-
label?: string | undefined;
|
|
149
|
-
description?: {
|
|
150
|
-
id?: string | undefined;
|
|
151
|
-
message: string;
|
|
152
|
-
properties?: Object | undefined;
|
|
153
|
-
} | undefined;
|
|
154
|
-
};
|
|
155
|
-
label?: string | undefined;
|
|
156
|
-
elements: (PropertyElement | TextFragmentElement | ContentElement)[];
|
|
157
|
-
};
|
|
158
|
-
type SectionFragment = {
|
|
159
|
-
text: string;
|
|
160
|
-
startOffset: number;
|
|
161
|
-
endOffset: number;
|
|
162
|
-
};
|
|
163
|
-
type ModelOptions = {
|
|
164
|
-
origin?: string | null | undefined;
|
|
165
|
-
contextPath?: string | null | undefined;
|
|
166
|
-
};
|
|
167
|
-
import AttributeModel from "./attributes/AttributeModel";
|
|
168
|
-
import AttributeCollection from "./attributes/AttributeCollection";
|
|
169
|
-
import LinkModel from "./links/LinkModel";
|
|
170
|
-
import ErrorResponse from "./error/ErrorResponse";
|
|
171
|
-
export {};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* User model
|
|
3
|
-
*/
|
|
4
|
-
export default class UserModel extends ResourceModel {
|
|
5
|
-
/**
|
|
6
|
-
* Retrieve avatar of user
|
|
7
|
-
*/
|
|
8
|
-
get avatar(): string | null;
|
|
9
|
-
/**
|
|
10
|
-
* Retrieve username of user
|
|
11
|
-
*/
|
|
12
|
-
get username(): string;
|
|
13
|
-
/**
|
|
14
|
-
* retrieve the fullname of the user
|
|
15
|
-
*/
|
|
16
|
-
get fullname(): string;
|
|
17
|
-
}
|
|
18
|
-
import ResourceModel from "../base/ResourceModel";
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* User model
|
|
3
|
-
*/
|
|
4
|
-
export default class UserProfileModel extends UserModel {
|
|
5
|
-
/**
|
|
6
|
-
* constructor
|
|
7
|
-
*/
|
|
8
|
-
constructor(modularuiResponse: ModularUIResponse);
|
|
9
|
-
_attributeCollection: AttributeCollection;
|
|
10
|
-
/**
|
|
11
|
-
* returns all the attributes from the attribute collection
|
|
12
|
-
*/
|
|
13
|
-
get attributeCollection(): AttributeCollection;
|
|
14
|
-
}
|
|
15
|
-
import UserModel from "./UserModel";
|
|
16
|
-
import AttributeCollection from "../attributes/AttributeCollection";
|
|
17
|
-
import { ModularUIResponse } from "../../modularui";
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
export default UserServicesModel;
|
|
2
|
-
/**
|
|
3
|
-
* UserServicesModel model
|
|
4
|
-
*/
|
|
5
|
-
declare class UserServicesModel extends ResourceModel {
|
|
6
|
-
_user: UserModel | null;
|
|
7
|
-
_mustChangePassword: boolean;
|
|
8
|
-
/**
|
|
9
|
-
*/
|
|
10
|
-
set mustChangePassword(mustChangePassword: boolean);
|
|
11
|
-
/**
|
|
12
|
-
*/
|
|
13
|
-
get mustChangePassword(): boolean;
|
|
14
|
-
/**
|
|
15
|
-
* Set user data
|
|
16
|
-
*/
|
|
17
|
-
set user(model: ModularUIModel | null);
|
|
18
|
-
/**
|
|
19
|
-
* return the user model for the current user
|
|
20
|
-
*/
|
|
21
|
-
get user(): UserModel | null;
|
|
22
|
-
/**
|
|
23
|
-
*/
|
|
24
|
-
get userLink(): LinkModel | null;
|
|
25
|
-
/**
|
|
26
|
-
*/
|
|
27
|
-
get changePassword(): Href | null;
|
|
28
|
-
/**
|
|
29
|
-
*/
|
|
30
|
-
get changeAvatar(): Href | null;
|
|
31
|
-
/**
|
|
32
|
-
*/
|
|
33
|
-
get isLoggedIn(): boolean;
|
|
34
|
-
}
|
|
35
|
-
import ResourceModel from "../base/ResourceModel";
|
|
36
|
-
import UserModel from "../user/UserModel";
|
|
37
|
-
import { ModularUIModel } from "../types";
|
|
38
|
-
import LinkModel from "../links/LinkModel";
|
|
39
|
-
import Href from "../href/Href";
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
export default Authenticate;
|
|
2
|
-
/**
|
|
3
|
-
*/
|
|
4
|
-
declare class Authenticate {
|
|
5
|
-
_isBasic: boolean;
|
|
6
|
-
/**
|
|
7
|
-
*/
|
|
8
|
-
get authenticationType(): $Keys<typeof INTERNAL_LOGIN_TYPE>;
|
|
9
|
-
/**
|
|
10
|
-
*/
|
|
11
|
-
set isBasicAuthentication(isBasicAuthentication: boolean);
|
|
12
|
-
/**
|
|
13
|
-
*/
|
|
14
|
-
get isBasicAuthentication(): boolean;
|
|
15
|
-
/**
|
|
16
|
-
*/
|
|
17
|
-
requestLogin(): Promise<any>;
|
|
18
|
-
/**
|
|
19
|
-
*/
|
|
20
|
-
initLogin(initLogin: boolean): Promise<any>;
|
|
21
|
-
/**
|
|
22
|
-
*/
|
|
23
|
-
login(username: string, password: string): Promise<any>;
|
|
24
|
-
/**
|
|
25
|
-
*/
|
|
26
|
-
getFormLoginUrl(): string;
|
|
27
|
-
/**
|
|
28
|
-
*/
|
|
29
|
-
getFormLoginData(username: string, password: string): string;
|
|
30
|
-
/**
|
|
31
|
-
*/
|
|
32
|
-
doFormLogin(username: string, password: string): Promise<any>;
|
|
33
|
-
/**
|
|
34
|
-
*/
|
|
35
|
-
doBasicAuthentication(username: string, password: string): Promise<any>;
|
|
36
|
-
/**
|
|
37
|
-
*/
|
|
38
|
-
doJaasAuthentication(username: string, password: string): Promise<any>;
|
|
39
|
-
/**
|
|
40
|
-
*/
|
|
41
|
-
getLogoutUrl(): string;
|
|
42
|
-
/**
|
|
43
|
-
*/
|
|
44
|
-
logout(): Promise<any>;
|
|
45
|
-
}
|
|
46
|
-
import { INTERNAL_LOGIN_TYPE } from "../constants";
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
export default CaptchaRequest;
|
|
2
|
-
/**
|
|
3
|
-
*/
|
|
4
|
-
declare class CaptchaRequest {
|
|
5
|
-
_tokenId: string;
|
|
6
|
-
_image: string;
|
|
7
|
-
_origin: string;
|
|
8
|
-
_contextPath: string;
|
|
9
|
-
/**
|
|
10
|
-
*/
|
|
11
|
-
CaptchaRequest(options?: CaptchaRequestOptions): void;
|
|
12
|
-
/**
|
|
13
|
-
*/
|
|
14
|
-
captchaResponse(response: CaptchaInitialResponse | CaptchaValidResponse | CaptchaInvalidResponse): CaptchaResponse;
|
|
15
|
-
/**
|
|
16
|
-
* Initiate the captcha request
|
|
17
|
-
*/
|
|
18
|
-
init(): Promise<CaptchaResponse>;
|
|
19
|
-
/**
|
|
20
|
-
* Answer the captcha
|
|
21
|
-
*/
|
|
22
|
-
send(answer?: string): Promise<CaptchaResponse>;
|
|
23
|
-
/**
|
|
24
|
-
* Reset the captcha and receive a new token and image
|
|
25
|
-
*/
|
|
26
|
-
refresh(): Promise<CaptchaResponse>;
|
|
27
|
-
}
|
|
28
|
-
type CaptchaRequestOptions = {
|
|
29
|
-
origin?: string | undefined;
|
|
30
|
-
contextPath?: string | undefined;
|
|
31
|
-
};
|
|
32
|
-
type CaptchaInitialResponse = {
|
|
33
|
-
tokenId: string;
|
|
34
|
-
image: string;
|
|
35
|
-
};
|
|
36
|
-
type CaptchaValidResponse = {
|
|
37
|
-
valid: boolean;
|
|
38
|
-
};
|
|
39
|
-
type CaptchaInvalidResponse = {
|
|
40
|
-
tokenId: string;
|
|
41
|
-
image: string;
|
|
42
|
-
valid: boolean;
|
|
43
|
-
error: {
|
|
44
|
-
id: string;
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
type CaptchaResponse = {
|
|
48
|
-
tokenId: string;
|
|
49
|
-
image: string;
|
|
50
|
-
valid: boolean;
|
|
51
|
-
error: {
|
|
52
|
-
id: string;
|
|
53
|
-
} | null;
|
|
54
|
-
};
|
|
@@ -1,207 +0,0 @@
|
|
|
1
|
-
export default ModularUIRequest;
|
|
2
|
-
/**
|
|
3
|
-
* Helper for fetching data and contributions from the Be Informed modular ui
|
|
4
|
-
* and merge it into a target or resolvable model.
|
|
5
|
-
*/
|
|
6
|
-
declare class ModularUIRequest {
|
|
7
|
-
/**
|
|
8
|
-
*/
|
|
9
|
-
constructor(href: Href | string, options?: $Shape<RequestModularUIOptions>);
|
|
10
|
-
_response: ModularUIResponse;
|
|
11
|
-
_href: Href;
|
|
12
|
-
_options: RequestModularUIOptions;
|
|
13
|
-
_targetModel: TargetModel | null;
|
|
14
|
-
_forceTargetModel: boolean;
|
|
15
|
-
_contributionsHref: string;
|
|
16
|
-
_locale: string;
|
|
17
|
-
_method: $Keys<typeof HTTP_METHODS>;
|
|
18
|
-
_progressEvent: ProgressEventHandler;
|
|
19
|
-
_origin: string;
|
|
20
|
-
_contextPath: string;
|
|
21
|
-
/**
|
|
22
|
-
*/
|
|
23
|
-
set options(options: RequestModularUIOptions);
|
|
24
|
-
/**
|
|
25
|
-
*/
|
|
26
|
-
get options(): RequestModularUIOptions;
|
|
27
|
-
/**
|
|
28
|
-
*/
|
|
29
|
-
set href(href: Href);
|
|
30
|
-
/**
|
|
31
|
-
*/
|
|
32
|
-
get href(): Href;
|
|
33
|
-
/**
|
|
34
|
-
*/
|
|
35
|
-
set locale(locale: string);
|
|
36
|
-
/**
|
|
37
|
-
*/
|
|
38
|
-
get locale(): string;
|
|
39
|
-
/**
|
|
40
|
-
*/
|
|
41
|
-
set contextPath(contextPath: string | null);
|
|
42
|
-
/**
|
|
43
|
-
*/
|
|
44
|
-
get contextPath(): string;
|
|
45
|
-
/**
|
|
46
|
-
*/
|
|
47
|
-
set origin(origin: string | null);
|
|
48
|
-
/**
|
|
49
|
-
*/
|
|
50
|
-
get origin(): string;
|
|
51
|
-
/**
|
|
52
|
-
*/
|
|
53
|
-
set targetModel(targetModel: TargetModel);
|
|
54
|
-
/**
|
|
55
|
-
*/
|
|
56
|
-
get targetModel(): TargetModel | null;
|
|
57
|
-
/**
|
|
58
|
-
*/
|
|
59
|
-
set method(method: $Keys<typeof HTTP_METHODS>);
|
|
60
|
-
/**
|
|
61
|
-
*/
|
|
62
|
-
get method(): $Keys<typeof HTTP_METHODS>;
|
|
63
|
-
/**
|
|
64
|
-
* Retrieve the preferred language for this request, falls back to the browser language or english
|
|
65
|
-
*/
|
|
66
|
-
getRequestLocale(optionLocale: string | null): string;
|
|
67
|
-
/**
|
|
68
|
-
*/
|
|
69
|
-
set contributionsHref(contributionsHref: string);
|
|
70
|
-
/**
|
|
71
|
-
*/
|
|
72
|
-
get contributionsHref(): string;
|
|
73
|
-
/**
|
|
74
|
-
*/
|
|
75
|
-
get response(): ModularUIResponse;
|
|
76
|
-
/**
|
|
77
|
-
*/
|
|
78
|
-
get requestOptions(): RequestBaseOptions;
|
|
79
|
-
/**
|
|
80
|
-
*/
|
|
81
|
-
get withChildModels(): boolean;
|
|
82
|
-
/**
|
|
83
|
-
*/
|
|
84
|
-
set forceTargetModel(forceTargetModel: boolean);
|
|
85
|
-
/**
|
|
86
|
-
*/
|
|
87
|
-
get forceTargetModel(): boolean;
|
|
88
|
-
/**
|
|
89
|
-
*/
|
|
90
|
-
resolveModel(): Class<ModularUIModel>;
|
|
91
|
-
/**
|
|
92
|
-
*/
|
|
93
|
-
createModel(): ModularUIModel;
|
|
94
|
-
/**
|
|
95
|
-
*/
|
|
96
|
-
processContributionsService(contributionsData: Object): void;
|
|
97
|
-
/**
|
|
98
|
-
*/
|
|
99
|
-
handleContributionsError(error: Object): void;
|
|
100
|
-
/**
|
|
101
|
-
*/
|
|
102
|
-
handleDataError(error: Object): void;
|
|
103
|
-
/**
|
|
104
|
-
*/
|
|
105
|
-
handleData(key: string, data: Object): void;
|
|
106
|
-
/**
|
|
107
|
-
*/
|
|
108
|
-
processDataService(data: Object): void;
|
|
109
|
-
/**
|
|
110
|
-
*/
|
|
111
|
-
fetchContributionsService(): Promise<any>;
|
|
112
|
-
/**
|
|
113
|
-
*/
|
|
114
|
-
fetchDataService(): Promise<any>;
|
|
115
|
-
/**
|
|
116
|
-
* Check if links contain a 'hide-when-empty' layout hint and remove the link from
|
|
117
|
-
* the component when it exists and no results are available
|
|
118
|
-
*/
|
|
119
|
-
processAsyncLayoutHints(): Promise<void>;
|
|
120
|
-
/**
|
|
121
|
-
* hide application links<br>
|
|
122
|
-
* _links on application data contains an extra level of tab links
|
|
123
|
-
*/
|
|
124
|
-
processApplicationLinks(): Promise<void>;
|
|
125
|
-
/**
|
|
126
|
-
* Replace hidden link in application link tree
|
|
127
|
-
*/
|
|
128
|
-
replaceApplicationLinks(tabName: string, newLinks: Array<Object>): void;
|
|
129
|
-
/**
|
|
130
|
-
*/
|
|
131
|
-
processTabLinks(): Promise<void>;
|
|
132
|
-
/**
|
|
133
|
-
*/
|
|
134
|
-
processPanelLinks(): Promise<void>;
|
|
135
|
-
/**
|
|
136
|
-
* Retrieve an object of key: link
|
|
137
|
-
*/
|
|
138
|
-
dataLinksPerName(dataLinks: any): {
|
|
139
|
-
[linkName: string]: any;
|
|
140
|
-
};
|
|
141
|
-
/**
|
|
142
|
-
* Check if links are empty and hide them when hide-when-empty hint exists
|
|
143
|
-
*/
|
|
144
|
-
processLinks(dataLinks: any, contributionLinks: any): Promise<Object | Array<Object>>;
|
|
145
|
-
/**
|
|
146
|
-
*/
|
|
147
|
-
isHiddenList(name: string, href: string): Promise<string>;
|
|
148
|
-
/**
|
|
149
|
-
*/
|
|
150
|
-
set onProgress(progressEvent: ProgressEventHandler);
|
|
151
|
-
/**
|
|
152
|
-
*/
|
|
153
|
-
get onProgress(): ProgressEventHandler;
|
|
154
|
-
/**
|
|
155
|
-
* Combine previous send request data with new validation data to create a complete request object
|
|
156
|
-
* The received model is new FormModel containing ONLY the current question, not the previously entered questions
|
|
157
|
-
* to create a complete request we append the originally send form objects
|
|
158
|
-
*/
|
|
159
|
-
getDynamicValidationData(model: ModularUIModel): string;
|
|
160
|
-
/**
|
|
161
|
-
* First load of dynamic values when a form is loaded
|
|
162
|
-
*/
|
|
163
|
-
loadDynamicValidations(model: ModularUIModel): Promise<ModularUIModel>;
|
|
164
|
-
/**
|
|
165
|
-
*/
|
|
166
|
-
fetch(): Promise<ModularUIModel>;
|
|
167
|
-
/**
|
|
168
|
-
*/
|
|
169
|
-
fetchFromCache(): Promise<ModularUIModel>;
|
|
170
|
-
/**
|
|
171
|
-
*/
|
|
172
|
-
fetchChildModels(model: ModularUIModel): Promise<ModularUIModel>;
|
|
173
|
-
/**
|
|
174
|
-
*/
|
|
175
|
-
fetchContent(withChildSections: boolean): Promise<mixed>;
|
|
176
|
-
/**
|
|
177
|
-
* Recursively return child sections defined on the content model
|
|
178
|
-
*/
|
|
179
|
-
fetchContentChildSections(contentModel: ContentModel): Promise<mixed>;
|
|
180
|
-
/**
|
|
181
|
-
* Make a post request with optionally data to send
|
|
182
|
-
* @param data
|
|
183
|
-
*/
|
|
184
|
-
post(data?: string | {
|
|
185
|
-
[key: string]: string;
|
|
186
|
-
}): Promise<ModularUIModel>;
|
|
187
|
-
/**
|
|
188
|
-
* Make a POST request using the form, an updated form is returned (merge of old and new form)
|
|
189
|
-
* @param form
|
|
190
|
-
* @returns {Promise<FormModel>}
|
|
191
|
-
*/
|
|
192
|
-
postForm(form: FormModel): Promise<FormModel>;
|
|
193
|
-
/**
|
|
194
|
-
* Simplified synchronous version of fetch (returns the model, not a Promise)
|
|
195
|
-
* This can be used on the server to retrieve a model. It only loads the request url and it's child models
|
|
196
|
-
*/
|
|
197
|
-
fetchSync(): ModularUIModel;
|
|
198
|
-
}
|
|
199
|
-
import ModularUIResponse from "./ModularUIResponse";
|
|
200
|
-
import Href from "../models/href/Href";
|
|
201
|
-
import { RequestModularUIOptions } from "../utils/fetch/types";
|
|
202
|
-
import { TargetModel } from "./types";
|
|
203
|
-
import { HTTP_METHODS } from "../constants/Constants";
|
|
204
|
-
import { RequestBaseOptions } from "../utils/fetch/types";
|
|
205
|
-
import { ModularUIModel } from "../models/types";
|
|
206
|
-
import ContentModel from "../models/content/ContentModel";
|
|
207
|
-
import FormModel from "../models/form/FormModel";
|