@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,218 +0,0 @@
|
|
|
1
|
-
type HrefInput = any;
|
|
2
|
-
export default Href;
|
|
3
|
-
/**
|
|
4
|
-
* Defines a Href with the parameters
|
|
5
|
-
*/
|
|
6
|
-
declare class Href {
|
|
7
|
-
/**
|
|
8
|
-
* check if the path is referencing a camel route
|
|
9
|
-
*/
|
|
10
|
-
static isCamelRoute(path: string): boolean;
|
|
11
|
-
/**
|
|
12
|
-
*/
|
|
13
|
-
static checkAbsoluteUrl(href: string): boolean;
|
|
14
|
-
/**
|
|
15
|
-
* Retrieve the relative path part of a href string, e.g. https://www.beinformed.com/BeInformed/tab/view?q=url => /tab/view
|
|
16
|
-
*/
|
|
17
|
-
static getPathFromString(href: string): string;
|
|
18
|
-
/**
|
|
19
|
-
* Retrieve hash of href string
|
|
20
|
-
*/
|
|
21
|
-
static getHashFromString(href?: string): string;
|
|
22
|
-
/**
|
|
23
|
-
* Create a Href
|
|
24
|
-
*/
|
|
25
|
-
constructor(href?: HrefInput, resourcetype?: string, modelOptions?: ModelOptions | null);
|
|
26
|
-
_path: string;
|
|
27
|
-
_hash: string;
|
|
28
|
-
_parameters: Array<Parameter>;
|
|
29
|
-
_resourcetype: string;
|
|
30
|
-
_method: $Keys<typeof HTTP_METHODS>;
|
|
31
|
-
_state: any;
|
|
32
|
-
_referenceHash: number | null;
|
|
33
|
-
_origin: string;
|
|
34
|
-
_contextPath: string;
|
|
35
|
-
/**
|
|
36
|
-
* Set resourctype
|
|
37
|
-
*/
|
|
38
|
-
set resourcetype(resourcetype: string);
|
|
39
|
-
/**
|
|
40
|
-
* Retrieve resourceType
|
|
41
|
-
*/
|
|
42
|
-
get resourcetype(): string;
|
|
43
|
-
/**
|
|
44
|
-
* Set the origin (e.g. http://example.com:18080)
|
|
45
|
-
*/
|
|
46
|
-
set origin(origin: string);
|
|
47
|
-
/**
|
|
48
|
-
* Retrieve the origin (e.g. http://example.com:18080)<br>
|
|
49
|
-
* Empty when the default must be used
|
|
50
|
-
*/
|
|
51
|
-
get origin(): string;
|
|
52
|
-
/**
|
|
53
|
-
* Set the context path if different from default
|
|
54
|
-
*/
|
|
55
|
-
set contextPath(contextPath: string);
|
|
56
|
-
/**
|
|
57
|
-
* Get the context path
|
|
58
|
-
*/
|
|
59
|
-
get contextPath(): string;
|
|
60
|
-
/**
|
|
61
|
-
* Set parameters from Href model input
|
|
62
|
-
*/
|
|
63
|
-
setFromHref(href: Href): void;
|
|
64
|
-
/**
|
|
65
|
-
* Set the path of the Href, the part before the querystring question mark
|
|
66
|
-
*/
|
|
67
|
-
set path(path: string);
|
|
68
|
-
/**
|
|
69
|
-
* Retrieve the path
|
|
70
|
-
*/
|
|
71
|
-
get path(): string;
|
|
72
|
-
/**
|
|
73
|
-
* Replace parameters of Href
|
|
74
|
-
*/
|
|
75
|
-
set parameters(parameters: Array<Parameter>);
|
|
76
|
-
/**
|
|
77
|
-
* Retrieve all paremters
|
|
78
|
-
*/
|
|
79
|
-
get parameters(): Array<Parameter>;
|
|
80
|
-
/**
|
|
81
|
-
* Set hash
|
|
82
|
-
*/
|
|
83
|
-
set hash(hash: string);
|
|
84
|
-
/**
|
|
85
|
-
* Retrieve hash
|
|
86
|
-
*/
|
|
87
|
-
get hash(): string;
|
|
88
|
-
/**
|
|
89
|
-
*/
|
|
90
|
-
set state(state: any);
|
|
91
|
-
/**
|
|
92
|
-
*/
|
|
93
|
-
get state(): any;
|
|
94
|
-
/**
|
|
95
|
-
*/
|
|
96
|
-
setFromLocationOrObject(href: LocationShape | HrefObject): void;
|
|
97
|
-
/**
|
|
98
|
-
*/
|
|
99
|
-
setStateFromLocationOrObject(state?: any): void;
|
|
100
|
-
/**
|
|
101
|
-
* Set parameters from string input
|
|
102
|
-
*/
|
|
103
|
-
setFromString(href: string): void;
|
|
104
|
-
/**
|
|
105
|
-
*/
|
|
106
|
-
get isChangePassword(): boolean;
|
|
107
|
-
/**
|
|
108
|
-
*/
|
|
109
|
-
get isExternal(): boolean;
|
|
110
|
-
/**
|
|
111
|
-
* Add a parameter for each parameter found in the querystring of an URL string, e.g. https://www.beinformed.com?q=url => q=url
|
|
112
|
-
*/
|
|
113
|
-
addParametersFromString(href: string): Href;
|
|
114
|
-
/**
|
|
115
|
-
* Add a querystring parameter to the parameter collection of this Href, skips parameters that have a value of null
|
|
116
|
-
*/
|
|
117
|
-
addParameter(name: string, value: string | null, prefix: string | null): Href;
|
|
118
|
-
/**
|
|
119
|
-
* Adds or overwrites a parameter when it exists and value is not null.
|
|
120
|
-
* Removes the parameter when the value is null
|
|
121
|
-
*/
|
|
122
|
-
setParameter(name: string, value: string | null, prefix: string | null): Href;
|
|
123
|
-
/**
|
|
124
|
-
* Retrieve a parameter by it's name and (optionally) prefix
|
|
125
|
-
*/
|
|
126
|
-
getParameter(name: string, prefix: string | null): Parameter | null;
|
|
127
|
-
/**
|
|
128
|
-
*/
|
|
129
|
-
hasParameter(name: string, prefix: string | null): boolean;
|
|
130
|
-
/**
|
|
131
|
-
* Set request method
|
|
132
|
-
*/
|
|
133
|
-
set method(method: $Keys<typeof HTTP_METHODS>);
|
|
134
|
-
/**
|
|
135
|
-
* Get request method
|
|
136
|
-
*/
|
|
137
|
-
get method(): $Keys<typeof HTTP_METHODS>;
|
|
138
|
-
/**
|
|
139
|
-
* Remove a parameter from the parameter collection
|
|
140
|
-
*/
|
|
141
|
-
removeParameter(name: string, prefix: string | null, value: string | null): Href;
|
|
142
|
-
/**
|
|
143
|
-
* Get the parameters as a querystring, e.g. param1=value1¶m2=value2, optionally with prefix
|
|
144
|
-
*/
|
|
145
|
-
getQuerystring(withPrefix?: boolean): string;
|
|
146
|
-
/**
|
|
147
|
-
* Retrieve a querystring that only contains parameter that can be send to the modular ui, parameters are filtered by prefix
|
|
148
|
-
*/
|
|
149
|
-
getQuerystringForModularUI(prefix?: string): string;
|
|
150
|
-
/**
|
|
151
|
-
* Retrieve all parameters from the parameter collection in a querystring style name1=value1&name2=value2, without the prefix
|
|
152
|
-
*/
|
|
153
|
-
get querystring(): string;
|
|
154
|
-
/**
|
|
155
|
-
*/
|
|
156
|
-
setState(state: any): Href;
|
|
157
|
-
/**
|
|
158
|
-
* Retrieve the path combined with the base path (context-path) of the application, e.g. /BeInformed
|
|
159
|
-
*/
|
|
160
|
-
get absolutepath(): string;
|
|
161
|
-
/**
|
|
162
|
-
* Retrieves the combination of the path and the querystring
|
|
163
|
-
*/
|
|
164
|
-
get href(): string;
|
|
165
|
-
/**
|
|
166
|
-
* Getting the URL including the base path, querystring is prefixed
|
|
167
|
-
*/
|
|
168
|
-
get absolutehref(): string;
|
|
169
|
-
/**
|
|
170
|
-
* Getting the URL including the base path, the querystring is prefixed
|
|
171
|
-
*/
|
|
172
|
-
get absolutehrefPrefixedQuerystring(): string;
|
|
173
|
-
/**
|
|
174
|
-
* Checks if the URL starts within the given href
|
|
175
|
-
*/
|
|
176
|
-
startsWith(href: Href | string): boolean;
|
|
177
|
-
/**
|
|
178
|
-
* Checks if the given Href equals this Href
|
|
179
|
-
*/
|
|
180
|
-
equals(href: Href | string | null): boolean;
|
|
181
|
-
/**
|
|
182
|
-
*/
|
|
183
|
-
equalsWithParameters(other: Href | string | null): boolean;
|
|
184
|
-
/**
|
|
185
|
-
* Indicates if the link is a content link
|
|
186
|
-
*/
|
|
187
|
-
get isContent(): boolean;
|
|
188
|
-
/**
|
|
189
|
-
*/
|
|
190
|
-
getReferenceHash(): number | null;
|
|
191
|
-
/**
|
|
192
|
-
*/
|
|
193
|
-
setReferenceHash(referenceHash: number): void;
|
|
194
|
-
/**
|
|
195
|
-
* Returns a complete url from the Href
|
|
196
|
-
*/
|
|
197
|
-
toString(): string;
|
|
198
|
-
/**
|
|
199
|
-
*/
|
|
200
|
-
toLocation(): LocationShape;
|
|
201
|
-
}
|
|
202
|
-
import Parameter from "../parameter/Parameter";
|
|
203
|
-
import { HTTP_METHODS } from "../../constants";
|
|
204
|
-
type HrefObject = {
|
|
205
|
-
_path: string;
|
|
206
|
-
_hash: string;
|
|
207
|
-
_parameters: Parameter[];
|
|
208
|
-
_resourcetype: string;
|
|
209
|
-
_method: $Keys<{
|
|
210
|
-
POST: string;
|
|
211
|
-
GET: string;
|
|
212
|
-
}>;
|
|
213
|
-
_state: {
|
|
214
|
-
[key: string]: any;
|
|
215
|
-
} | null;
|
|
216
|
-
pathname: string | null;
|
|
217
|
-
};
|
|
218
|
-
import { ModelOptions } from "../types";
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Class representing the href of a list. It adds paging, sorting and filter parameters where necessary
|
|
3
|
-
*
|
|
4
|
-
* @augments Href
|
|
5
|
-
*/
|
|
6
|
-
export default class ListHref extends Href {
|
|
7
|
-
/**
|
|
8
|
-
* Create a ListHref
|
|
9
|
-
*/
|
|
10
|
-
constructor(href?: HrefInput, list?: ListModel, isPrefixed?: boolean);
|
|
11
|
-
_isPrefixed: boolean;
|
|
12
|
-
_prefix: string | null;
|
|
13
|
-
_pagingName: string;
|
|
14
|
-
_pagesizeName: string;
|
|
15
|
-
_sortingName: string;
|
|
16
|
-
/**
|
|
17
|
-
* Retrieve parameter names from Href
|
|
18
|
-
*/
|
|
19
|
-
setParameterNamesFromHref(href: ListHref): void;
|
|
20
|
-
/**
|
|
21
|
-
* Retrieve parameter names and settings from List model
|
|
22
|
-
*/
|
|
23
|
-
setParameterNamesFromListModel(list: ListModel): void;
|
|
24
|
-
/**
|
|
25
|
-
* Setting the current page
|
|
26
|
-
*/
|
|
27
|
-
set page(page: number | null);
|
|
28
|
-
/**
|
|
29
|
-
*/
|
|
30
|
-
get page(): Parameter | null;
|
|
31
|
-
/**
|
|
32
|
-
* Setting the page size
|
|
33
|
-
*/
|
|
34
|
-
set pagesize(pagesize: number | null);
|
|
35
|
-
/**
|
|
36
|
-
* Setting the sort value
|
|
37
|
-
*/
|
|
38
|
-
set sort(sort: string | null);
|
|
39
|
-
/**
|
|
40
|
-
* Add filter parameters to the parameter collection
|
|
41
|
-
*/
|
|
42
|
-
set filterCollection(filters: FilterCollection);
|
|
43
|
-
/**
|
|
44
|
-
* Getting prefix
|
|
45
|
-
*/
|
|
46
|
-
get prefix(): string | null;
|
|
47
|
-
/**
|
|
48
|
-
* Getting paging name
|
|
49
|
-
*/
|
|
50
|
-
get pagingName(): string;
|
|
51
|
-
/**
|
|
52
|
-
* Getting pagesize name
|
|
53
|
-
*/
|
|
54
|
-
get pagesizeName(): string;
|
|
55
|
-
/**
|
|
56
|
-
* Getting sorting name
|
|
57
|
-
*/
|
|
58
|
-
get sortingName(): string;
|
|
59
|
-
}
|
|
60
|
-
import Href from "./Href";
|
|
61
|
-
import ListModel from "../list/ListModel";
|
|
62
|
-
import Parameter from "../parameter/Parameter";
|
|
63
|
-
import FilterCollection from "../filters/FilterCollection";
|
|
64
|
-
import { HrefInput } from "./Href";
|
package/lib/models/index.d.ts
DELETED
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
export { default as resolveModel } from "./resolveModel";
|
|
2
|
-
export { default as BaseCollection } from "./base/BaseCollection";
|
|
3
|
-
export { default as ActionCollection } from "./actions/ActionCollection";
|
|
4
|
-
export { default as ActionModel } from "./actions/ActionModel";
|
|
5
|
-
export { default as AttributeCollection } from "./attributes/AttributeCollection";
|
|
6
|
-
export { default as AttributeSetModel } from "./attributes/AttributeSetModel";
|
|
7
|
-
export { default as AttributeModel } from "./attributes/AttributeModel";
|
|
8
|
-
export { default as ChoiceAttributeOptionCollection } from "./attributes/ChoiceAttributeOptionCollection";
|
|
9
|
-
export { default as ChoiceAttributeOptionModel } from "./attributes/ChoiceAttributeOptionModel";
|
|
10
|
-
export { default as CompositeAttributeChildCollection } from "./attributes/CompositeAttributeChildCollection";
|
|
11
|
-
export { default as AttributeContent } from "./attributes/AttributeContent";
|
|
12
|
-
export { default as BaseLayoutHintRule } from "./attributes/layouthint-rules/BaseLayoutHintRule";
|
|
13
|
-
export { default as DependentAttribute } from "./attributes/layouthint-rules/DependentAttribute";
|
|
14
|
-
export { default as RemainingTotalUploadSize } from "./attributes/layouthint-rules/RemainingTotalUploadSize";
|
|
15
|
-
export { default as ConceptLinkModel } from "./concepts/ConceptLinkModel";
|
|
16
|
-
export { default as ConceptRelationCollection } from "./concepts/ConceptRelationCollection";
|
|
17
|
-
export { default as ConceptRelationModel } from "./concepts/ConceptRelationModel";
|
|
18
|
-
export { default as SourceReferenceCollection } from "./concepts/SourceReferenceCollection";
|
|
19
|
-
export { default as SourceReferenceModel } from "./concepts/SourceReferenceModel";
|
|
20
|
-
export { default as ConstraintCollection } from "./attributes/input-constraints/ConstraintCollection";
|
|
21
|
-
export { default as ConstraintModel } from "./attributes/input-constraints/ConstraintModel";
|
|
22
|
-
export { default as ContentLinkModel } from "./content/ContentLinkModel";
|
|
23
|
-
export { default as SectionModel } from "./content/SectionModel";
|
|
24
|
-
export { default as SubSectionModel } from "./content/SubSectionModel";
|
|
25
|
-
export { default as ContentConfiguration } from "./contentconfiguration/ContentConfiguration";
|
|
26
|
-
export { default as ContentConfigurationElements } from "./contentconfiguration/ContentConfigurationElements";
|
|
27
|
-
export { default as ContentConfigurationEndResults } from "./contentconfiguration/ContentConfigurationEndResults";
|
|
28
|
-
export { default as ContentConfigurationQuestions } from "./contentconfiguration/ContentConfigurationQuestions";
|
|
29
|
-
export { default as ContentConfigurationResults } from "./contentconfiguration/ContentConfigurationResults";
|
|
30
|
-
export { default as ErrorCollection } from "./error/ErrorCollection";
|
|
31
|
-
export { default as ErrorModel } from "./error/ErrorModel";
|
|
32
|
-
export { default as ErrorResponse } from "./error/ErrorResponse";
|
|
33
|
-
export { default as FilterCollection } from "./filters/FilterCollection";
|
|
34
|
-
export { default as FormObjectModel } from "./form/FormObjectModel";
|
|
35
|
-
export { default as Href } from "./href/Href";
|
|
36
|
-
export { default as ListHref } from "./href/ListHref";
|
|
37
|
-
export { default as LinkCollection } from "./links/LinkCollection";
|
|
38
|
-
export { default as LinkModel } from "./links/LinkModel";
|
|
39
|
-
export { default as ListHeaderModel } from "./list/ListHeaderModel";
|
|
40
|
-
export { default as ListItemCollection } from "./list/ListItemCollection";
|
|
41
|
-
export { default as ListItemModel } from "./list/ListItemModel";
|
|
42
|
-
export { default as LookupOptionsModel } from "./lookup/LookupOptionsModel";
|
|
43
|
-
export { default as LookupOptionCollection } from "./lookup/LookupOptionCollection";
|
|
44
|
-
export { default as ModelCategory } from "./modelcatalog/ModelCategoryModel";
|
|
45
|
-
export { default as ProcessStatusSettingsModel } from "./process/ProcessStatusSettingsModel";
|
|
46
|
-
export { default as PagesizeModel } from "./paging/PagesizeModel";
|
|
47
|
-
export { default as PagingModel } from "./paging/PagingModel";
|
|
48
|
-
export { default as Parameter } from "./parameter/Parameter";
|
|
49
|
-
export { default as SortingModel } from "./sorting/SortingModel";
|
|
50
|
-
export { default as SortOptionModel } from "./sorting/SortOptionModel";
|
|
51
|
-
export { default as TaskGroupCollection } from "./taskgroup/TaskGroupCollection";
|
|
52
|
-
export type * from "./types";
|
|
53
|
-
import { default as ApplicationModel } from "./application/ApplicationModel";
|
|
54
|
-
import { default as CaseSearchModel } from "./search/CaseSearchModel";
|
|
55
|
-
import { default as CaseViewModel } from "./caseview/CaseViewModel";
|
|
56
|
-
import { default as ListDetailModel } from "./list/ListDetailModel";
|
|
57
|
-
import { default as DetailModel } from "./detail/DetailModel";
|
|
58
|
-
import { default as FormModel } from "./form/FormModel";
|
|
59
|
-
import { default as GroupingPanelModel } from "./panels/GroupingPanelModel";
|
|
60
|
-
import { default as ListModel } from "./list/ListModel";
|
|
61
|
-
import { default as TabModel } from "./tab/TabModel";
|
|
62
|
-
import { default as TaskGroupModel } from "./taskgroup/TaskGroupModel";
|
|
63
|
-
import { default as UserModel } from "./user/UserModel";
|
|
64
|
-
import { default as UserProfileModel } from "./user/UserProfileModel";
|
|
65
|
-
import { default as UserServicesModel } from "./user/UserServicesModel";
|
|
66
|
-
import { default as ModelCatalogModel } from "./modelcatalog/ModelCatalogModel";
|
|
67
|
-
import { default as ConceptIndexModel } from "./concepts/ConceptIndexModel";
|
|
68
|
-
import { default as ConceptDetailModel } from "./concepts/ConceptDetailModel";
|
|
69
|
-
import { default as BusinessScenarioModel } from "./concepts/BusinessScenarioModel";
|
|
70
|
-
import { default as ConceptTypeDetailModel } from "./concepts/ConceptTypeDetailModel";
|
|
71
|
-
import { default as ContentIndexModel } from "./content/ContentIndexModel";
|
|
72
|
-
import { default as ContentTOCModel } from "./content/ContentTOCModel";
|
|
73
|
-
import { default as ContentModel } from "./content/ContentModel";
|
|
74
|
-
import { default as ContentTypeModel } from "./content/ContentTypeModel";
|
|
75
|
-
import { default as BooleanAttributeModel } from "./attributes/BooleanAttributeModel";
|
|
76
|
-
import { default as CaptchaAttributeModel } from "./attributes/CaptchaAttributeModel";
|
|
77
|
-
import { default as ChoiceAttributeModel } from "./attributes/ChoiceAttributeModel";
|
|
78
|
-
import { default as DatetimeAttributeModel } from "./attributes/DatetimeAttributeModel";
|
|
79
|
-
import { default as HelptextAttributeModel } from "./attributes/HelptextAttributeModel";
|
|
80
|
-
import { default as LabelAttributeModel } from "./attributes/LabelAttributeModel";
|
|
81
|
-
import { default as MemoAttributeModel } from "./attributes/MemoAttributeModel";
|
|
82
|
-
import { default as MoneyAttributeModel } from "./attributes/MoneyAttributeModel";
|
|
83
|
-
import { default as NumberAttributeModel } from "./attributes/NumberAttributeModel";
|
|
84
|
-
import { default as PasswordAttributeModel } from "./attributes/PasswordAttributeModel";
|
|
85
|
-
import { default as CompositeAttributeModel } from "./attributes/CompositeAttributeModel";
|
|
86
|
-
import { default as StringAttributeModel } from "./attributes/StringAttributeModel";
|
|
87
|
-
import { default as UploadAttributeModel } from "./attributes/UploadAttributeModel";
|
|
88
|
-
import { default as XMLAttributeModel } from "./attributes/XMLAttributeModel";
|
|
89
|
-
import { default as AssignmentFilterModel } from "./filters/AssignmentFilterModel";
|
|
90
|
-
import { default as FilterModel } from "./filters/FilterModel";
|
|
91
|
-
import { default as RangeFilterModel } from "./filters/RangeFilterModel";
|
|
92
|
-
import { default as ConceptIndexFilterModel } from "./filters/ConceptIndexFilterModel";
|
|
93
|
-
import { default as LayoutHintCollection } from "./layouthint/LayoutHintCollection";
|
|
94
|
-
export { ApplicationModel, CaseSearchModel, CaseViewModel, ListDetailModel, DetailModel, FormModel, GroupingPanelModel, ListModel, TabModel, TaskGroupModel, UserModel, UserProfileModel, UserServicesModel, ModelCatalogModel, ConceptIndexModel, ConceptDetailModel, BusinessScenarioModel, ConceptTypeDetailModel, ContentIndexModel, ContentTOCModel, ContentModel, ContentTypeModel, BooleanAttributeModel, CaptchaAttributeModel, ChoiceAttributeModel, DatetimeAttributeModel, HelptextAttributeModel, LabelAttributeModel, MemoAttributeModel, MoneyAttributeModel, NumberAttributeModel, PasswordAttributeModel, CompositeAttributeModel, StringAttributeModel, UploadAttributeModel, XMLAttributeModel, AssignmentFilterModel, FilterModel, RangeFilterModel, ConceptIndexFilterModel, LayoutHintCollection };
|
|
95
|
-
export { default as LayoutHintRuleCollection, addLayoutHintRule, updateLayoutHintRules } from "./attributes/layouthint-rules/LayoutHintRuleCollection";
|
|
96
|
-
export { default as GroupingModel, GroupModel } from "./grouping/GroupingModel";
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Collection of layouthint
|
|
3
|
-
*/
|
|
4
|
-
export default class LayoutHintCollection extends BaseCollection<string> {
|
|
5
|
-
/**
|
|
6
|
-
* Constructs the layouthint collection
|
|
7
|
-
*/
|
|
8
|
-
constructor(layouthint?: Array<string>);
|
|
9
|
-
/**
|
|
10
|
-
* Retrieve layout hints
|
|
11
|
-
*/
|
|
12
|
-
get layouthint(): Array<string>;
|
|
13
|
-
/**
|
|
14
|
-
* Checks if a specific layouthint exists in the component configuration
|
|
15
|
-
* This method matches all exact matches and hints starting with. For example
|
|
16
|
-
* when calling layouth.has("hide"), this will return true for both "hide" and "hide-when-empty".<br>
|
|
17
|
-
* If only exact matches are required, use the method {@link LayoutHintCollection#hasExact}.
|
|
18
|
-
*/
|
|
19
|
-
has(...hints: Array<string>): boolean;
|
|
20
|
-
/**
|
|
21
|
-
* Checks if a specific layouthint exists in the component configuration,
|
|
22
|
-
* only checks on exact matches.<br>
|
|
23
|
-
* If layouthints that start with the given hint should also match, use {@link LayoutHintCollection#has}.
|
|
24
|
-
* @param hints
|
|
25
|
-
* @returns {boolean}
|
|
26
|
-
*/
|
|
27
|
-
hasExact(...hints: Array<string>): boolean;
|
|
28
|
-
/**
|
|
29
|
-
* Retrieve the first layouthint starting with hint
|
|
30
|
-
*/
|
|
31
|
-
getByLayoutHint(hint: Function | string): null | string;
|
|
32
|
-
/**
|
|
33
|
-
* Get the value of a specific hint
|
|
34
|
-
* Format: hint=value
|
|
35
|
-
*/
|
|
36
|
-
getLayoutHintValue(hint: string): string | null;
|
|
37
|
-
/**
|
|
38
|
-
* Get an array of multiple values from a specific hint
|
|
39
|
-
* Format: hint=value1;value2;value3
|
|
40
|
-
*/
|
|
41
|
-
getLayoutHintValues(hint: string): Array<string> | null;
|
|
42
|
-
}
|
|
43
|
-
import BaseCollection from "../base/BaseCollection";
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Collection of links
|
|
3
|
-
*
|
|
4
|
-
* @see {LinkModel}
|
|
5
|
-
*/
|
|
6
|
-
export default class LinkCollection extends BaseCollection<LinkModel> {
|
|
7
|
-
/**
|
|
8
|
-
* Constructs the link collection
|
|
9
|
-
*/
|
|
10
|
-
constructor(linkData?: Object, linkContributions?: Object, modelOptions?: ModelOptions);
|
|
11
|
-
/**
|
|
12
|
-
* Set Link collection
|
|
13
|
-
*/
|
|
14
|
-
set links(links: Array<LinkModel>);
|
|
15
|
-
/**
|
|
16
|
-
* Getting links
|
|
17
|
-
*/
|
|
18
|
-
get links(): Array<LinkModel>;
|
|
19
|
-
/**
|
|
20
|
-
* Get a link by it's key, handy for getting the self link
|
|
21
|
-
*/
|
|
22
|
-
getLinkByKey(key: string): LinkModel | null;
|
|
23
|
-
/**
|
|
24
|
-
* Indicate if a link by key exists
|
|
25
|
-
*/
|
|
26
|
-
hasLinkByKey(key: string): boolean;
|
|
27
|
-
/**
|
|
28
|
-
* Get a link by it's Href
|
|
29
|
-
*/
|
|
30
|
-
getLinkByHref(href: Href | string): LinkModel | null;
|
|
31
|
-
/**
|
|
32
|
-
* Indicate if a link by href exists
|
|
33
|
-
*/
|
|
34
|
-
hasLinkByHref(href: Href | string): boolean;
|
|
35
|
-
/**
|
|
36
|
-
* Getting the links by group key. For instance getting all 'tab' links of the web application.
|
|
37
|
-
*/
|
|
38
|
-
getLinksByGroup(...args: Array<string>): LinkCollection;
|
|
39
|
-
/**
|
|
40
|
-
* Retrieve links by resource type
|
|
41
|
-
*/
|
|
42
|
-
getLinkByResourceType(resourceType: string): LinkCollection;
|
|
43
|
-
/**
|
|
44
|
-
* Retrieve links including a layout hint
|
|
45
|
-
*/
|
|
46
|
-
getLinksByLayoutHint(hint: string): LinkCollection;
|
|
47
|
-
/**
|
|
48
|
-
* Indicates if a link with layout hint exists
|
|
49
|
-
*/
|
|
50
|
-
hasLinksByLayoutHint(hint: string): boolean;
|
|
51
|
-
/**
|
|
52
|
-
* Get all href of links in collection in an array of Href's
|
|
53
|
-
*/
|
|
54
|
-
toHrefArray(): Array<Href>;
|
|
55
|
-
/**
|
|
56
|
-
* Check if link exists in collection
|
|
57
|
-
*/
|
|
58
|
-
hasLink(link: LinkModel): boolean;
|
|
59
|
-
/**
|
|
60
|
-
* Updates the collection with a new link, when the link to update does not exist, it is added to the collection
|
|
61
|
-
*/
|
|
62
|
-
update(newLink: LinkModel): LinkCollection;
|
|
63
|
-
/**
|
|
64
|
-
* Use as path regex for react router routes
|
|
65
|
-
*/
|
|
66
|
-
get routePath(): string;
|
|
67
|
-
}
|
|
68
|
-
import LinkModel from "./LinkModel";
|
|
69
|
-
import BaseCollection from "../base/BaseCollection";
|
|
70
|
-
import Href from "../href/Href";
|
|
71
|
-
import { ModelOptions } from "../types";
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
export default LinkModel;
|
|
2
|
-
/**
|
|
3
|
-
* Defines a Link. For instance below example of a link to the tab 'books'
|
|
4
|
-
* <br/>
|
|
5
|
-
* "Books": {
|
|
6
|
-
* "href": "/books",
|
|
7
|
-
* "profile": "/profiles/tab"
|
|
8
|
-
* }
|
|
9
|
-
*/
|
|
10
|
-
declare class LinkModel extends BaseModel {
|
|
11
|
-
/**
|
|
12
|
-
* Create a simple Link Model
|
|
13
|
-
*/
|
|
14
|
-
static create(name: string, href: string | Href, label: string, modelOptions?: ModelOptions): LinkModel;
|
|
15
|
-
_href: Href;
|
|
16
|
-
_isCacheable: boolean;
|
|
17
|
-
_icon: string;
|
|
18
|
-
_targetModel: Class<ModularUIModel> | null;
|
|
19
|
-
/**
|
|
20
|
-
*/
|
|
21
|
-
createHref(modelOptions: ModelOptions | null): void;
|
|
22
|
-
/**
|
|
23
|
-
* Set the href of the Link
|
|
24
|
-
*/
|
|
25
|
-
set href(href: Href);
|
|
26
|
-
/**
|
|
27
|
-
* Retrieve the href of the link
|
|
28
|
-
*/
|
|
29
|
-
get href(): Href;
|
|
30
|
-
/**
|
|
31
|
-
* Handle initial filter hints
|
|
32
|
-
* @param href
|
|
33
|
-
*/
|
|
34
|
-
handleInitialFilters(href: Href): void;
|
|
35
|
-
/**
|
|
36
|
-
* Getting link group
|
|
37
|
-
*/
|
|
38
|
-
get group(): string;
|
|
39
|
-
/**
|
|
40
|
-
* Getting the key/name of this link
|
|
41
|
-
*/
|
|
42
|
-
get key(): string;
|
|
43
|
-
/**
|
|
44
|
-
* Getting the label of the link
|
|
45
|
-
*/
|
|
46
|
-
get label(): string;
|
|
47
|
-
/**
|
|
48
|
-
* Getting the type of the link
|
|
49
|
-
*/
|
|
50
|
-
get resourcetype(): string;
|
|
51
|
-
/**
|
|
52
|
-
*/
|
|
53
|
-
get links(): LinkCollection;
|
|
54
|
-
/**
|
|
55
|
-
* Check if the href startswith the URI of the given href
|
|
56
|
-
*/
|
|
57
|
-
isActive(link: LinkModel | null): boolean;
|
|
58
|
-
/**
|
|
59
|
-
* Setter for icon of LinkModel
|
|
60
|
-
*/
|
|
61
|
-
set icon(icon: string);
|
|
62
|
-
/**
|
|
63
|
-
* Retrieve icon of LinkModel
|
|
64
|
-
*/
|
|
65
|
-
get icon(): string;
|
|
66
|
-
/**
|
|
67
|
-
*/
|
|
68
|
-
set targetModel(targetModel: Class<ModularUIModel>);
|
|
69
|
-
/**
|
|
70
|
-
*/
|
|
71
|
-
get targetModel(): Class<ModularUIModel> | null;
|
|
72
|
-
/**
|
|
73
|
-
*/
|
|
74
|
-
set isCacheable(isCacheable: boolean);
|
|
75
|
-
/**
|
|
76
|
-
*/
|
|
77
|
-
get isCacheable(): boolean;
|
|
78
|
-
/**
|
|
79
|
-
*/
|
|
80
|
-
get filterName(): string;
|
|
81
|
-
/**
|
|
82
|
-
*/
|
|
83
|
-
get hasProcessStatusSettings(): boolean;
|
|
84
|
-
/**
|
|
85
|
-
*/
|
|
86
|
-
get processStatus(): ProcessStatusSettingsModel | null;
|
|
87
|
-
}
|
|
88
|
-
import BaseModel from "../base/BaseModel";
|
|
89
|
-
import Href from "../href/Href";
|
|
90
|
-
import { ModularUIModel } from "../types";
|
|
91
|
-
import { ModelOptions } from "../types";
|
|
92
|
-
import LinkCollection from "../links/LinkCollection";
|
|
93
|
-
import ProcessStatusSettingsModel from "../process/ProcessStatusSettingsModel";
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Detail of a list item
|
|
3
|
-
*/
|
|
4
|
-
export default class ListDetailModel extends DetailModel {
|
|
5
|
-
_contentConfiguration: ContentConfiguration;
|
|
6
|
-
_listitem: ListItemModel;
|
|
7
|
-
_givenAnswers: CompositeAttributeModel | null;
|
|
8
|
-
_results: CompositeAttributeModel | null;
|
|
9
|
-
_eventdata: Array<AttributeSetModel>;
|
|
10
|
-
/**
|
|
11
|
-
* Set listitem of this listdetail and transfer listitem actions to listdetail actions
|
|
12
|
-
*/
|
|
13
|
-
set listitem(listitem: ListItemModel);
|
|
14
|
-
/**
|
|
15
|
-
* Get listitem
|
|
16
|
-
*/
|
|
17
|
-
get listitem(): ListItemModel;
|
|
18
|
-
/**
|
|
19
|
-
* Getting panel links
|
|
20
|
-
*/
|
|
21
|
-
get panelLinks(): LinkCollection;
|
|
22
|
-
/**
|
|
23
|
-
*/
|
|
24
|
-
set contentConfiguration(configuration: ContentConfiguration);
|
|
25
|
-
/**
|
|
26
|
-
* Getting the contentConfiguration
|
|
27
|
-
*/
|
|
28
|
-
get contentConfiguration(): ContentConfiguration;
|
|
29
|
-
/**
|
|
30
|
-
* Getting the introduction text configured on the case view
|
|
31
|
-
*/
|
|
32
|
-
get introtext(): string;
|
|
33
|
-
/**
|
|
34
|
-
*/
|
|
35
|
-
setResultSection(): void;
|
|
36
|
-
/**
|
|
37
|
-
*/
|
|
38
|
-
setResults(): void;
|
|
39
|
-
/**
|
|
40
|
-
*/
|
|
41
|
-
setGivenAnswers(): void;
|
|
42
|
-
/**
|
|
43
|
-
*/
|
|
44
|
-
get givenAnswers(): CompositeAttributeModel | null;
|
|
45
|
-
/**
|
|
46
|
-
*/
|
|
47
|
-
get hasResults(): boolean;
|
|
48
|
-
/**
|
|
49
|
-
*/
|
|
50
|
-
get results(): CompositeAttributeModel | null;
|
|
51
|
-
/**
|
|
52
|
-
*/
|
|
53
|
-
get hasEventData(): boolean;
|
|
54
|
-
/**
|
|
55
|
-
*/
|
|
56
|
-
addAttributes(key: string, eventData: Object, eventContributions: Object): void;
|
|
57
|
-
/**
|
|
58
|
-
*/
|
|
59
|
-
setEventData(): void;
|
|
60
|
-
/**
|
|
61
|
-
*/
|
|
62
|
-
get eventdata(): Array<AttributeSetModel>;
|
|
63
|
-
}
|
|
64
|
-
import DetailModel from "../detail/DetailModel";
|
|
65
|
-
import ContentConfiguration from "../contentconfiguration/ContentConfiguration";
|
|
66
|
-
import ListItemModel from "../list/ListItemModel";
|
|
67
|
-
import CompositeAttributeModel from "../attributes/CompositeAttributeModel";
|
|
68
|
-
import AttributeSetModel from "../attributes/AttributeSetModel";
|
|
69
|
-
import LinkCollection from "../links/LinkCollection";
|