@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,89 +0,0 @@
|
|
|
1
|
-
export default BaseCollection;
|
|
2
|
-
/**
|
|
3
|
-
* Base class for collections of models
|
|
4
|
-
*/
|
|
5
|
-
declare class BaseCollection<T> {
|
|
6
|
-
/**
|
|
7
|
-
* Construct base collection
|
|
8
|
-
*/
|
|
9
|
-
constructor(initCollection?: Array<T>);
|
|
10
|
-
_collection: Array<T>;
|
|
11
|
-
/**
|
|
12
|
-
* Replace current collection with a new collection
|
|
13
|
-
*/
|
|
14
|
-
set collection(collection: Array<T>);
|
|
15
|
-
/**
|
|
16
|
-
* Retrieve current collection
|
|
17
|
-
*/
|
|
18
|
-
get collection(): Array<T>;
|
|
19
|
-
/**
|
|
20
|
-
* Add an other collection, array of items or single item to this collection;
|
|
21
|
-
*/
|
|
22
|
-
add(items: BaseCollection<T> | Array<T> | T): BaseCollection<T>;
|
|
23
|
-
/**
|
|
24
|
-
* Remove an item from the collection by it's index.
|
|
25
|
-
*/
|
|
26
|
-
removeByIndex(itemIndex: number): void;
|
|
27
|
-
/**
|
|
28
|
-
* Indicates if the collection has items
|
|
29
|
-
*/
|
|
30
|
-
get hasItems(): boolean;
|
|
31
|
-
/**
|
|
32
|
-
* Indicates if collection is empty
|
|
33
|
-
*/
|
|
34
|
-
get isEmpty(): boolean;
|
|
35
|
-
/**
|
|
36
|
-
* Retrieve all items in collection
|
|
37
|
-
*/
|
|
38
|
-
get all(): Array<T>;
|
|
39
|
-
/**
|
|
40
|
-
* Get the size of this collection
|
|
41
|
-
*/
|
|
42
|
-
get size(): number;
|
|
43
|
-
/**
|
|
44
|
-
* Get the size of this collection
|
|
45
|
-
*/
|
|
46
|
-
get length(): number;
|
|
47
|
-
/**
|
|
48
|
-
* Return first link in collection
|
|
49
|
-
*/
|
|
50
|
-
get first(): T | null;
|
|
51
|
-
/**
|
|
52
|
-
*/
|
|
53
|
-
get last(): T | null;
|
|
54
|
-
/**
|
|
55
|
-
*/
|
|
56
|
-
get(index: number): T | null;
|
|
57
|
-
/**
|
|
58
|
-
* Find item
|
|
59
|
-
*/
|
|
60
|
-
find(callbackfn: (value: T, index: number, array: Array<T>) => any, thisArg?: any): T | null;
|
|
61
|
-
/**
|
|
62
|
-
* Filter items
|
|
63
|
-
*/
|
|
64
|
-
filter(callbackfn: (value: T, index: number, array: Array<T>) => any, thisArg?: any): Array<T>;
|
|
65
|
-
/**
|
|
66
|
-
* Check if at least one item occurs
|
|
67
|
-
*/
|
|
68
|
-
some(callbackfn: (value: T, index: number, array: Array<T>) => any, thisArg?: any): boolean;
|
|
69
|
-
/**
|
|
70
|
-
*/
|
|
71
|
-
every(callbackfn: (value: T, index: number, array: Array<T>) => any, thisArg?: any): boolean;
|
|
72
|
-
/**
|
|
73
|
-
*/
|
|
74
|
-
map<U>(callbackfn: (value: T, index: number, array: Array<T>) => U, thisArg?: T): Array<U>;
|
|
75
|
-
/**
|
|
76
|
-
*/
|
|
77
|
-
forEach(callbackfn: (value: T, index: number, array: Array<T>) => any, thisArg?: any): void;
|
|
78
|
-
/**
|
|
79
|
-
*/
|
|
80
|
-
sort(compareFn?: (a: T, b: T) => number): Array<T>;
|
|
81
|
-
/**
|
|
82
|
-
* Retrieve an alphabetically sorted array of items
|
|
83
|
-
*/
|
|
84
|
-
get sorted(): Array<T>;
|
|
85
|
-
/**
|
|
86
|
-
* Returns a clone of the model
|
|
87
|
-
*/
|
|
88
|
-
clone(): this;
|
|
89
|
-
}
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
type BaseDehydrateData = {};
|
|
2
|
-
export default BaseModel;
|
|
3
|
-
/**
|
|
4
|
-
* Base model, this is the foundation of a model,
|
|
5
|
-
* it contains data that is needed for all models like, data, contributions and layout hint
|
|
6
|
-
*
|
|
7
|
-
* Extend this for non modular ui resources, for modular ui resource start with the resourceModel
|
|
8
|
-
*/
|
|
9
|
-
declare class BaseModel {
|
|
10
|
-
/**
|
|
11
|
-
* constructor
|
|
12
|
-
*/
|
|
13
|
-
constructor(data: Object, contributions: Object, modelOptions?: ModelOptions);
|
|
14
|
-
_data: Object;
|
|
15
|
-
_contributions: Object;
|
|
16
|
-
_layouthint: LayoutHintCollection;
|
|
17
|
-
_connectKey: string;
|
|
18
|
-
_modelOptions: ModelOptions;
|
|
19
|
-
/**
|
|
20
|
-
* Retrieve data
|
|
21
|
-
*/
|
|
22
|
-
get data(): Object;
|
|
23
|
-
/**
|
|
24
|
-
* Retrieve property from the data object of the model, mostly used internal
|
|
25
|
-
*/
|
|
26
|
-
getData(propName: string, defaultValue?: any): any;
|
|
27
|
-
/**
|
|
28
|
-
* Retrieve contributions
|
|
29
|
-
*/
|
|
30
|
-
get contributions(): Object;
|
|
31
|
-
/**
|
|
32
|
-
* Retrieve property from the contributions of the model, mostly used internal
|
|
33
|
-
*/
|
|
34
|
-
getContribution(propName: string, defaultValue?: any): any;
|
|
35
|
-
/**
|
|
36
|
-
*/
|
|
37
|
-
get modelOptions(): ModelOptions;
|
|
38
|
-
/**
|
|
39
|
-
*/
|
|
40
|
-
get origin(): string;
|
|
41
|
-
/**
|
|
42
|
-
*/
|
|
43
|
-
get contextPath(): string;
|
|
44
|
-
/**
|
|
45
|
-
* Set the layouthint
|
|
46
|
-
*/
|
|
47
|
-
set layouthint(layouthint: Array<string>);
|
|
48
|
-
/**
|
|
49
|
-
* Getting the layouthint
|
|
50
|
-
*/
|
|
51
|
-
get layouthint(): LayoutHintCollection;
|
|
52
|
-
/**
|
|
53
|
-
* Indicates if the model has data
|
|
54
|
-
*/
|
|
55
|
-
get hasData(): boolean;
|
|
56
|
-
/**
|
|
57
|
-
* Set the unique key for this model
|
|
58
|
-
*/
|
|
59
|
-
set connectKey(key: string);
|
|
60
|
-
/**
|
|
61
|
-
* Get the unique key of this model
|
|
62
|
-
*/
|
|
63
|
-
get connectKey(): string;
|
|
64
|
-
/**
|
|
65
|
-
* Dehydrate internal data, returns the information that is needed to recreate the model
|
|
66
|
-
*/
|
|
67
|
-
dehydrate(): BaseDehydrateData;
|
|
68
|
-
/**
|
|
69
|
-
* Recreate the model with the given data
|
|
70
|
-
*/
|
|
71
|
-
rehydrate(data: BaseDehydrateData): void;
|
|
72
|
-
/**
|
|
73
|
-
* Returns a clone of the model
|
|
74
|
-
*/
|
|
75
|
-
clone(): any;
|
|
76
|
-
}
|
|
77
|
-
import LayoutHintCollection from "../layouthint/LayoutHintCollection";
|
|
78
|
-
import { ModelOptions } from "../types";
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export default ResourceCollection;
|
|
2
|
-
/**
|
|
3
|
-
* The ResourceCollection makes it possible to add child models to a collection of models
|
|
4
|
-
* These child models are fetched using the ModularUI util
|
|
5
|
-
*/
|
|
6
|
-
declare class ResourceCollection<T, IModelWithChildModels> extends BaseCollection<T> {
|
|
7
|
-
constructor(initCollection?: T[]);
|
|
8
|
-
/**
|
|
9
|
-
* Retrieve all child model links and flatten it into an array with single entries, removing all undefined items
|
|
10
|
-
*/
|
|
11
|
-
getInitialChildModelLinks(): Array<LinkModel>;
|
|
12
|
-
/**
|
|
13
|
-
* Pass through models for setchildmodels to items of this collection
|
|
14
|
-
*/
|
|
15
|
-
setChildModels(models: Array<ModularUIModel>, errors: Array<ErrorResponse>): void;
|
|
16
|
-
}
|
|
17
|
-
import BaseCollection from "./BaseCollection";
|
|
18
|
-
import LinkModel from "../links/LinkModel";
|
|
19
|
-
import { ModularUIModel } from "../types";
|
|
20
|
-
import ErrorResponse from "../error/ErrorResponse";
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
export default ResourceModel;
|
|
2
|
-
/**
|
|
3
|
-
* Base model, this the foundation for models that represent modular ui services, e.g. application, tab, caseview, etc
|
|
4
|
-
*/
|
|
5
|
-
declare class ResourceModel extends BaseModel {
|
|
6
|
-
/**
|
|
7
|
-
* Property to render name of a model, is original name after transpilation
|
|
8
|
-
*/
|
|
9
|
-
static get modelName(): string;
|
|
10
|
-
/**
|
|
11
|
-
* Returns true when the model is supported based on configuration found in contributions
|
|
12
|
-
*
|
|
13
|
-
* @abstract
|
|
14
|
-
*/
|
|
15
|
-
static isApplicableModel(data: ModularUIResponse): boolean;
|
|
16
|
-
/**
|
|
17
|
-
* constructor
|
|
18
|
-
*/
|
|
19
|
-
constructor(modularuiResponse?: ModularUIResponse);
|
|
20
|
-
_key: string;
|
|
21
|
-
_locale: string;
|
|
22
|
-
_childModels: Array<ModularUIModel>;
|
|
23
|
-
_links: LinkCollection;
|
|
24
|
-
_lastServerUpdate: number;
|
|
25
|
-
/**
|
|
26
|
-
*/
|
|
27
|
-
set lastServerUpdate(lastServerUpdate: number);
|
|
28
|
-
/**
|
|
29
|
-
*/
|
|
30
|
-
get lastServerUpdate(): number;
|
|
31
|
-
/**
|
|
32
|
-
*/
|
|
33
|
-
get locale(): string;
|
|
34
|
-
/**
|
|
35
|
-
* Retrieve key
|
|
36
|
-
*/
|
|
37
|
-
get key(): string;
|
|
38
|
-
/**
|
|
39
|
-
* Get type of model
|
|
40
|
-
*
|
|
41
|
-
* @abstract
|
|
42
|
-
*/
|
|
43
|
-
get type(): string;
|
|
44
|
-
/**
|
|
45
|
-
* Retrieve type of resource
|
|
46
|
-
*/
|
|
47
|
-
get resourcetype(): string;
|
|
48
|
-
/**
|
|
49
|
-
*/
|
|
50
|
-
get label(): string;
|
|
51
|
-
/**
|
|
52
|
-
*/
|
|
53
|
-
set links(links: LinkCollection);
|
|
54
|
-
/**
|
|
55
|
-
* Getting the links of the resource
|
|
56
|
-
*/
|
|
57
|
-
get links(): LinkCollection;
|
|
58
|
-
/**
|
|
59
|
-
*
|
|
60
|
-
*/
|
|
61
|
-
get downloadLink(): LinkModel | null;
|
|
62
|
-
/**
|
|
63
|
-
* Get self link of model
|
|
64
|
-
*/
|
|
65
|
-
get selflink(): LinkModel;
|
|
66
|
-
/**
|
|
67
|
-
* Return default self link of resource
|
|
68
|
-
*/
|
|
69
|
-
get selfhref(): Href;
|
|
70
|
-
/**
|
|
71
|
-
* Add links to expand on initialization of this model
|
|
72
|
-
*
|
|
73
|
-
* @abstract
|
|
74
|
-
*/
|
|
75
|
-
getInitialChildModelLinks(): Array<LinkModel>;
|
|
76
|
-
/**
|
|
77
|
-
* Retrieve links of expanded child models
|
|
78
|
-
*/
|
|
79
|
-
get childModels(): Array<ModularUIModel>;
|
|
80
|
-
/**
|
|
81
|
-
* Add child models to this model
|
|
82
|
-
*/
|
|
83
|
-
addChildModels(models: Array<ModularUIModel>, errors: Array<ErrorResponse>): this;
|
|
84
|
-
/**
|
|
85
|
-
* Template to set expanded child models
|
|
86
|
-
* Use this hook to separate the retrieved child models into the correct models.
|
|
87
|
-
*
|
|
88
|
-
* @abstract
|
|
89
|
-
* @example <caption>Put all models of instance List and GroupingPanel into the panels property</caption>
|
|
90
|
-
*/
|
|
91
|
-
setChildModels(models: Array<ModularUIModel>, errors: Array<ErrorResponse>): void;
|
|
92
|
-
/**
|
|
93
|
-
*/
|
|
94
|
-
dehydrate(): Object;
|
|
95
|
-
}
|
|
96
|
-
import BaseModel from "./BaseModel";
|
|
97
|
-
import { ModularUIModel } from "../types";
|
|
98
|
-
import LinkCollection from "../links/LinkCollection";
|
|
99
|
-
import LinkModel from "../links/LinkModel";
|
|
100
|
-
import Href from "../href/Href";
|
|
101
|
-
import ErrorResponse from "../error/ErrorResponse";
|
|
102
|
-
import ModularUIResponse from "../../modularui/ModularUIResponse";
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Model containing the details of one case.
|
|
3
|
-
*/
|
|
4
|
-
export default class CaseViewModel extends DetailModel {
|
|
5
|
-
_taskGroupCollection: TaskGroupCollection;
|
|
6
|
-
/**
|
|
7
|
-
* Getting panel links
|
|
8
|
-
*/
|
|
9
|
-
get panelLinks(): LinkCollection;
|
|
10
|
-
/**
|
|
11
|
-
* Getting the case name
|
|
12
|
-
*/
|
|
13
|
-
get casename(): AttributeType | null;
|
|
14
|
-
/**
|
|
15
|
-
* Retrieve the label that was configured on the caseview
|
|
16
|
-
*/
|
|
17
|
-
get viewLabel(): string;
|
|
18
|
-
/**
|
|
19
|
-
* Check if an introtext exists for this caseview
|
|
20
|
-
*/
|
|
21
|
-
hasIntroText(): boolean;
|
|
22
|
-
/**
|
|
23
|
-
* Getting the introduction text configured on the case view
|
|
24
|
-
*/
|
|
25
|
-
get introtext(): string;
|
|
26
|
-
/**
|
|
27
|
-
*/
|
|
28
|
-
createTaskGroupCollection(): void;
|
|
29
|
-
/**
|
|
30
|
-
* Setting the taskgroup panel collection
|
|
31
|
-
*/
|
|
32
|
-
set taskGroupCollection(taskgroups: Array<TaskGroupModel>);
|
|
33
|
-
/**
|
|
34
|
-
* Getting the taskgrouppanels on the tab
|
|
35
|
-
*/
|
|
36
|
-
get taskGroupCollection(): TaskGroupCollection;
|
|
37
|
-
/**
|
|
38
|
-
* Has taskgroups
|
|
39
|
-
*/
|
|
40
|
-
hasTaskGroups(): boolean;
|
|
41
|
-
}
|
|
42
|
-
import DetailModel from "../detail/DetailModel";
|
|
43
|
-
import TaskGroupCollection from "../taskgroup/TaskGroupCollection";
|
|
44
|
-
import LinkCollection from "../links/LinkCollection";
|
|
45
|
-
import { AttributeType } from "../types";
|
|
46
|
-
import TaskGroupModel from "../taskgroup/TaskGroupModel";
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export default BusinessScenarioModel;
|
|
2
|
-
/**
|
|
3
|
-
*/
|
|
4
|
-
declare class BusinessScenarioModel extends ConceptDetailModel {
|
|
5
|
-
/**
|
|
6
|
-
*/
|
|
7
|
-
static isOfConceptType(conceptTypeHref: string | null, settingNames: Array<"STEP" | "PERSONA" | "SCENARIO" | "SYSTEM">): boolean;
|
|
8
|
-
_scenarioSteps: Array<ConceptDetailModel>;
|
|
9
|
-
/**
|
|
10
|
-
*/
|
|
11
|
-
set scenarioSteps(models: Array<ConceptDetailModel>);
|
|
12
|
-
/**
|
|
13
|
-
*/
|
|
14
|
-
get scenarioSteps(): Array<ConceptDetailModel>;
|
|
15
|
-
/**
|
|
16
|
-
*/
|
|
17
|
-
get actors(): Array<ConceptLinkModel>;
|
|
18
|
-
}
|
|
19
|
-
import ConceptDetailModel from "./ConceptDetailModel";
|
|
20
|
-
import ConceptLinkModel from "./ConceptLinkModel";
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Model for concept details, available through modelcatalog
|
|
3
|
-
*/
|
|
4
|
-
export default class ConceptDetailModel extends ResourceModel {
|
|
5
|
-
/**
|
|
6
|
-
*/
|
|
7
|
-
constructor(modularuiResponse: ModularUIResponse);
|
|
8
|
-
_relations: ConceptRelationCollection;
|
|
9
|
-
_conceptType: ConceptTypeDetailModel | null;
|
|
10
|
-
_sourceReferences: SourceReferenceCollection;
|
|
11
|
-
/**
|
|
12
|
-
*/
|
|
13
|
-
set conceptType(conceptType: ConceptTypeDetailModel | null);
|
|
14
|
-
/**
|
|
15
|
-
* Get conceptType of concept
|
|
16
|
-
*/
|
|
17
|
-
get conceptType(): ConceptTypeDetailModel | null;
|
|
18
|
-
/**
|
|
19
|
-
* Available diagrams for the concept, most of the time just one
|
|
20
|
-
*/
|
|
21
|
-
get diagramLinks(): LinkCollection;
|
|
22
|
-
/**
|
|
23
|
-
* Get model category of the concept
|
|
24
|
-
*/
|
|
25
|
-
get modelCategory(): string;
|
|
26
|
-
/**
|
|
27
|
-
* Get taxonomy type
|
|
28
|
-
*/
|
|
29
|
-
get taxonomyType(): string;
|
|
30
|
-
/**
|
|
31
|
-
* Get concept relations collection
|
|
32
|
-
*/
|
|
33
|
-
get relationsCollection(): ConceptRelationCollection;
|
|
34
|
-
/**
|
|
35
|
-
* Get concept formula
|
|
36
|
-
*/
|
|
37
|
-
get formula(): string;
|
|
38
|
-
/**
|
|
39
|
-
* Get additional labels of concept
|
|
40
|
-
*/
|
|
41
|
-
get labels(): Array<labelsJSON>;
|
|
42
|
-
/**
|
|
43
|
-
* Get label elements by id
|
|
44
|
-
*/
|
|
45
|
-
getLabelElementByIds(ids: Array<string>): Array<labelsJSON>;
|
|
46
|
-
/**
|
|
47
|
-
* Get concept properties
|
|
48
|
-
*/
|
|
49
|
-
get conceptProperties(): Array<propertyJSON>;
|
|
50
|
-
/**
|
|
51
|
-
* Get concept properties by id
|
|
52
|
-
*/
|
|
53
|
-
getConceptPropertiesByIds(ids: Array<string>): Array<propertyJSON>;
|
|
54
|
-
/**
|
|
55
|
-
* Get Text fragments
|
|
56
|
-
*/
|
|
57
|
-
get textfragments(): Array<textfragmentJSON>;
|
|
58
|
-
/**
|
|
59
|
-
* Get text fragments by id
|
|
60
|
-
*/
|
|
61
|
-
getTextFragmentByKeys(keys: Array<string>): Array<textfragmentJSON>;
|
|
62
|
-
/**
|
|
63
|
-
* Get source reference collection
|
|
64
|
-
*/
|
|
65
|
-
getSourceReferenceCollection(availableLocales?: Array<string>): SourceReferenceCollection;
|
|
66
|
-
/**
|
|
67
|
-
*/
|
|
68
|
-
getSourceReferencesForCurrentLanguage(availableLocales: Array<string>): Array<Object>;
|
|
69
|
-
/**
|
|
70
|
-
* Retrieve modelcatalog.js
|
|
71
|
-
*/
|
|
72
|
-
get entryDate(): string | null;
|
|
73
|
-
/**
|
|
74
|
-
* Indicates if the given concept type id or href exists in the hierarchy of concept types for this concept
|
|
75
|
-
*/
|
|
76
|
-
isOfConceptType(conceptTypeId: string): boolean;
|
|
77
|
-
}
|
|
78
|
-
import ResourceModel from "../base/ResourceModel";
|
|
79
|
-
import ConceptRelationCollection from "./ConceptRelationCollection";
|
|
80
|
-
import ConceptTypeDetailModel from "./ConceptTypeDetailModel";
|
|
81
|
-
import SourceReferenceCollection from "./SourceReferenceCollection";
|
|
82
|
-
import LinkCollection from "../links/LinkCollection";
|
|
83
|
-
import { labelsJSON } from "../types";
|
|
84
|
-
import { propertyJSON } from "../types";
|
|
85
|
-
import { textfragmentJSON } from "../types";
|
|
86
|
-
import { ModularUIResponse } from "../../modularui";
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Get Index of concepts, to filter model catalog
|
|
3
|
-
*/
|
|
4
|
-
export default class ConceptIndexModel extends ResourceModel {
|
|
5
|
-
/**
|
|
6
|
-
*/
|
|
7
|
-
constructor(modularuiResponse: ModularUIResponse);
|
|
8
|
-
_filterCollection: FilterCollection;
|
|
9
|
-
_concepts: ResourceCollection<ConceptLinkModel, any>;
|
|
10
|
-
/**
|
|
11
|
-
* Retrieve filters of conceptindex model
|
|
12
|
-
*/
|
|
13
|
-
get filterCollection(): FilterCollection;
|
|
14
|
-
/**
|
|
15
|
-
* Get index filter
|
|
16
|
-
*/
|
|
17
|
-
get indexfilter(): FilterType | null;
|
|
18
|
-
/**
|
|
19
|
-
* Retrieve modelcatalog.js of content toc
|
|
20
|
-
*/
|
|
21
|
-
get entryDate(): string | null;
|
|
22
|
-
/**
|
|
23
|
-
* get searchterm filter
|
|
24
|
-
*/
|
|
25
|
-
get searchtermfilter(): FilterType | null;
|
|
26
|
-
/**
|
|
27
|
-
* Get model category filter
|
|
28
|
-
*/
|
|
29
|
-
get modelCategoryFilter(): FilterType | null;
|
|
30
|
-
/**
|
|
31
|
-
* Replace the items collection
|
|
32
|
-
*/
|
|
33
|
-
set items(itemCollection: ResourceCollection<ConceptLinkModel, any>);
|
|
34
|
-
/**
|
|
35
|
-
* Get concept links found by index filter
|
|
36
|
-
*/
|
|
37
|
-
get items(): ResourceCollection<ConceptLinkModel, any>;
|
|
38
|
-
}
|
|
39
|
-
import ResourceModel from "../base/ResourceModel";
|
|
40
|
-
import FilterCollection from "../filters/FilterCollection";
|
|
41
|
-
import ConceptLinkModel from "./ConceptLinkModel";
|
|
42
|
-
import ResourceCollection from "../base/ResourceCollection";
|
|
43
|
-
import { FilterType } from "../types";
|
|
44
|
-
import { ModularUIResponse } from "../../modularui";
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Link to a concept
|
|
3
|
-
*/
|
|
4
|
-
export default class ConceptLinkModel extends BaseModel {
|
|
5
|
-
/**
|
|
6
|
-
* Construct ConceptLinkModel
|
|
7
|
-
*/
|
|
8
|
-
constructor(data: Object, entryDate?: ISO_DATE | null, modelOptions?: ModelOptions);
|
|
9
|
-
_links: LinkCollection | null;
|
|
10
|
-
_entryDate: ISO_DATE | null;
|
|
11
|
-
_conceptType: ConceptTypeDetailModel | null;
|
|
12
|
-
/**
|
|
13
|
-
*/
|
|
14
|
-
getInitialChildModelLinks(): Array<LinkModel>;
|
|
15
|
-
/**
|
|
16
|
-
*/
|
|
17
|
-
setChildModels(models: Array<ModularUIModel>): void;
|
|
18
|
-
/**
|
|
19
|
-
* Set concept type
|
|
20
|
-
*/
|
|
21
|
-
set conceptType(conceptType: ModularUIModel | null);
|
|
22
|
-
/**
|
|
23
|
-
* Retrieve concept type
|
|
24
|
-
*/
|
|
25
|
-
get conceptType(): ConceptTypeDetailModel | null;
|
|
26
|
-
/**
|
|
27
|
-
* Retrieve key
|
|
28
|
-
*/
|
|
29
|
-
get key(): string;
|
|
30
|
-
/**
|
|
31
|
-
* Retrieve label
|
|
32
|
-
*/
|
|
33
|
-
get label(): string;
|
|
34
|
-
/**
|
|
35
|
-
* Getting the links of the resource
|
|
36
|
-
*/
|
|
37
|
-
get links(): LinkCollection;
|
|
38
|
-
/**
|
|
39
|
-
* Get self link of model
|
|
40
|
-
*/
|
|
41
|
-
get selflink(): LinkModel;
|
|
42
|
-
/**
|
|
43
|
-
* Self href of concept
|
|
44
|
-
*/
|
|
45
|
-
get selfhref(): Href;
|
|
46
|
-
/**
|
|
47
|
-
*/
|
|
48
|
-
get conceptTypeLink(): LinkModel | null;
|
|
49
|
-
/**
|
|
50
|
-
* Concept type href of concept
|
|
51
|
-
*/
|
|
52
|
-
get concepttypeHref(): Href | null;
|
|
53
|
-
/**
|
|
54
|
-
*/
|
|
55
|
-
get taxonomyType(): string;
|
|
56
|
-
/**
|
|
57
|
-
*/
|
|
58
|
-
asLinkModel(): LinkModel;
|
|
59
|
-
/**
|
|
60
|
-
* Indicates if the given concept type id or href exists in the hierarchy of concept types for this concept
|
|
61
|
-
*/
|
|
62
|
-
isOfConceptType(conceptTypeId: string): boolean;
|
|
63
|
-
/**
|
|
64
|
-
*
|
|
65
|
-
*/
|
|
66
|
-
get modelCategory(): string;
|
|
67
|
-
/**
|
|
68
|
-
*/
|
|
69
|
-
get sectionId(): string;
|
|
70
|
-
/**
|
|
71
|
-
*
|
|
72
|
-
*/
|
|
73
|
-
get fragment(): SectionFragment;
|
|
74
|
-
}
|
|
75
|
-
import BaseModel from "../base/BaseModel";
|
|
76
|
-
import LinkCollection from "../links/LinkCollection";
|
|
77
|
-
import ConceptTypeDetailModel from "./ConceptTypeDetailModel";
|
|
78
|
-
import LinkModel from "../links/LinkModel";
|
|
79
|
-
import { ModularUIModel } from "../types";
|
|
80
|
-
import Href from "../href/Href";
|
|
81
|
-
import { SectionFragment } from "../types";
|
|
82
|
-
import { ModelOptions } from "../types";
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* concept relation collection
|
|
3
|
-
*/
|
|
4
|
-
export default class ConceptRelationCollection extends ResourceCollection<ConceptRelationModel, any> {
|
|
5
|
-
/**
|
|
6
|
-
*/
|
|
7
|
-
constructor(relations?: Array<Object>, entryDate?: ISO_DATE | null, modelOptions?: ModelOptions);
|
|
8
|
-
_entryDate: ISO_DATE | null;
|
|
9
|
-
_modelOptions: ModelOptions;
|
|
10
|
-
/**
|
|
11
|
-
* Get unique list of relation types
|
|
12
|
-
*/
|
|
13
|
-
get types(): Array<{
|
|
14
|
-
key: string;
|
|
15
|
-
label: string;
|
|
16
|
-
}>;
|
|
17
|
-
/**
|
|
18
|
-
* Get relation by its type
|
|
19
|
-
*/
|
|
20
|
-
byType(type: string): ConceptRelationCollection;
|
|
21
|
-
/**
|
|
22
|
-
*/
|
|
23
|
-
hasIncoming(): boolean;
|
|
24
|
-
/**
|
|
25
|
-
*/
|
|
26
|
-
hasOutgoing(): boolean;
|
|
27
|
-
/**
|
|
28
|
-
*/
|
|
29
|
-
get incoming(): ConceptRelationCollection;
|
|
30
|
-
/**
|
|
31
|
-
*/
|
|
32
|
-
get outgoing(): ConceptRelationCollection;
|
|
33
|
-
}
|
|
34
|
-
import ConceptRelationModel from "./ConceptRelationModel";
|
|
35
|
-
import ResourceCollection from "../base/ResourceCollection";
|
|
36
|
-
import { ModelOptions } from "../types";
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Concept relation model
|
|
3
|
-
*/
|
|
4
|
-
export default class ConceptRelationModel {
|
|
5
|
-
/**
|
|
6
|
-
*/
|
|
7
|
-
constructor(relation: Object, entryDate?: ISO_DATE | null, modelOptions?: ModelOptions);
|
|
8
|
-
_relation: Object;
|
|
9
|
-
_modelOptions: ModelOptions;
|
|
10
|
-
_concept: ConceptLinkModel;
|
|
11
|
-
/**
|
|
12
|
-
*/
|
|
13
|
-
getInitialChildModelLinks(): Array<LinkModel>;
|
|
14
|
-
/**
|
|
15
|
-
*/
|
|
16
|
-
setChildModels(models: Array<ModularUIModel>): void;
|
|
17
|
-
/**
|
|
18
|
-
*/
|
|
19
|
-
get type(): string;
|
|
20
|
-
/**
|
|
21
|
-
* Get key of relation
|
|
22
|
-
*/
|
|
23
|
-
get key(): string;
|
|
24
|
-
/**
|
|
25
|
-
* Get Label of relation
|
|
26
|
-
*/
|
|
27
|
-
get label(): string;
|
|
28
|
-
/**
|
|
29
|
-
* Get direction of relation
|
|
30
|
-
*/
|
|
31
|
-
get direction(): string;
|
|
32
|
-
/**
|
|
33
|
-
* Get type of relation type,
|
|
34
|
-
*/
|
|
35
|
-
get relationTypeType(): "None" | "Sub-Class" | "Composition" | "Association" | "Unknown";
|
|
36
|
-
/**
|
|
37
|
-
*/
|
|
38
|
-
get condition(): string;
|
|
39
|
-
/**
|
|
40
|
-
* Set concept information
|
|
41
|
-
*/
|
|
42
|
-
set concept(concept: ConceptLinkModel);
|
|
43
|
-
/**
|
|
44
|
-
* Get other concept
|
|
45
|
-
*/
|
|
46
|
-
get concept(): ConceptLinkModel;
|
|
47
|
-
/**
|
|
48
|
-
* Get Text fragments
|
|
49
|
-
*/
|
|
50
|
-
get textfragments(): Array<textfragmentJSON>;
|
|
51
|
-
/**
|
|
52
|
-
* Get Properties
|
|
53
|
-
*/
|
|
54
|
-
get properties(): Array<propertyJSON>;
|
|
55
|
-
}
|
|
56
|
-
import { ModelOptions } from "../types";
|
|
57
|
-
import ConceptLinkModel from "./ConceptLinkModel";
|
|
58
|
-
import LinkModel from "../links/LinkModel";
|
|
59
|
-
import { ModularUIModel } from "../types";
|
|
60
|
-
import { textfragmentJSON } from "../types";
|
|
61
|
-
import { propertyJSON } from "../types";
|