@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,102 +0,0 @@
|
|
|
1
|
-
export default AttributeCollection;
|
|
2
|
-
/**
|
|
3
|
-
* Collection of attributes
|
|
4
|
-
*/
|
|
5
|
-
declare class AttributeCollection extends ResourceCollection<AttributeType, any> {
|
|
6
|
-
constructor(data?: Object | Array<Object>, contributions?: Array<Object>, modelOptions?: AttributeCollectionOptions);
|
|
7
|
-
/**
|
|
8
|
-
* Replace attributes with a new array of attributes
|
|
9
|
-
*/
|
|
10
|
-
set attributes(attributes: Array<AttributeType>);
|
|
11
|
-
/**
|
|
12
|
-
* Retrieve all attributes in this collection<br>
|
|
13
|
-
* This getter processes layout hints, this is different from the standard {@link BaseCollection#all} property
|
|
14
|
-
* @returns {Array<AttributeType>}
|
|
15
|
-
*/
|
|
16
|
-
get attributes(): Array<AttributeType>;
|
|
17
|
-
/**
|
|
18
|
-
*/
|
|
19
|
-
processLayoutHintRules(): void;
|
|
20
|
-
/**
|
|
21
|
-
* Retrieve only visible attributes from the collection
|
|
22
|
-
*/
|
|
23
|
-
get visible(): Array<AttributeType>;
|
|
24
|
-
/**
|
|
25
|
-
*/
|
|
26
|
-
get questions(): Array<AttributeType>;
|
|
27
|
-
/**
|
|
28
|
-
*/
|
|
29
|
-
get results(): Array<AttributeType>;
|
|
30
|
-
/**
|
|
31
|
-
*/
|
|
32
|
-
getAttributeByAttribute(attribute: AttributeType): AttributeType | null;
|
|
33
|
-
/**
|
|
34
|
-
* Get a single attribute by it's key
|
|
35
|
-
*/
|
|
36
|
-
getAttributeByKey(key: string): AttributeType | null;
|
|
37
|
-
/**
|
|
38
|
-
* Indicates if attribute with key exists in collection
|
|
39
|
-
*/
|
|
40
|
-
hasAttributeByKey(key: string): boolean;
|
|
41
|
-
/**
|
|
42
|
-
* Getting the first attribute having the supplied layout hint
|
|
43
|
-
*/
|
|
44
|
-
getAttributeByLayoutHint(...hints: Array<string>): AttributeType | null;
|
|
45
|
-
/**
|
|
46
|
-
* Getting a choice attribute by layouthint, returns null when not found or not a choice attribute
|
|
47
|
-
*/
|
|
48
|
-
getChoiceAttributeByLayoutHint(layoutHint: string): ChoiceAttributeModel | null;
|
|
49
|
-
/**
|
|
50
|
-
* Getting all attributes having the supplied layout hint
|
|
51
|
-
*/
|
|
52
|
-
getAttributesByLayoutHint(...hints: Array<string>): Array<AttributeType>;
|
|
53
|
-
/**
|
|
54
|
-
* Replace an attribute instance in the collection with a new attribute instance
|
|
55
|
-
*/
|
|
56
|
-
replace(oldAttribute: AttributeType, newAttribute: AttributeType): void;
|
|
57
|
-
/**
|
|
58
|
-
* Replace an attribute by the key of the attribute
|
|
59
|
-
*/
|
|
60
|
-
replaceByKey(key: string, newAttribute: AttributeType): void;
|
|
61
|
-
/**
|
|
62
|
-
* Set reference date by replacing an old attribute with a new attribute with a reference Date
|
|
63
|
-
* Date is a string in ISO format yyyy-MM-dd
|
|
64
|
-
*/
|
|
65
|
-
setReferenceDate(date: string): void;
|
|
66
|
-
/**
|
|
67
|
-
*/
|
|
68
|
-
hasServerErrors(): boolean;
|
|
69
|
-
/**
|
|
70
|
-
*/
|
|
71
|
-
addServerError(error: FormErrorAnchor): void;
|
|
72
|
-
/**
|
|
73
|
-
*/
|
|
74
|
-
hasErrors(): boolean;
|
|
75
|
-
/**
|
|
76
|
-
*/
|
|
77
|
-
updateValidations(errors: Array<Object>): AttributeCollection;
|
|
78
|
-
/**
|
|
79
|
-
*/
|
|
80
|
-
indicateContentConfiguration(contentConfiguration: ContentConfiguration): void;
|
|
81
|
-
/**
|
|
82
|
-
* Generate formdata object for current collection based on formdata of attributes
|
|
83
|
-
* Skip attributes that are readonly, the confirmation password or null
|
|
84
|
-
*/
|
|
85
|
-
get formdata(): {
|
|
86
|
-
[string]: any;
|
|
87
|
-
} | null;
|
|
88
|
-
/**
|
|
89
|
-
*/
|
|
90
|
-
getFormData(validationData?: boolean): {
|
|
91
|
-
[string]: any;
|
|
92
|
-
} | null;
|
|
93
|
-
}
|
|
94
|
-
import { AttributeType } from "../types";
|
|
95
|
-
import ResourceCollection from "../base/ResourceCollection";
|
|
96
|
-
import ChoiceAttributeModel from "./ChoiceAttributeModel";
|
|
97
|
-
import { FormErrorAnchor } from "../types";
|
|
98
|
-
import ContentConfiguration from "../contentconfiguration/ContentConfiguration";
|
|
99
|
-
type AttributeCollectionOptions = {
|
|
100
|
-
ModelOptions: any;
|
|
101
|
-
isReadonly: boolean;
|
|
102
|
-
};
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
export default AttributeContent;
|
|
2
|
-
/**
|
|
3
|
-
*/
|
|
4
|
-
declare class AttributeContent {
|
|
5
|
-
constructor(content: ContentData | null);
|
|
6
|
-
_content: ContentData | null;
|
|
7
|
-
/**
|
|
8
|
-
*/
|
|
9
|
-
get fromData(): boolean;
|
|
10
|
-
/**
|
|
11
|
-
*/
|
|
12
|
-
get header(): {
|
|
13
|
-
label: string | null;
|
|
14
|
-
description: string | null;
|
|
15
|
-
};
|
|
16
|
-
/**
|
|
17
|
-
*/
|
|
18
|
-
get elements(): ContentAll;
|
|
19
|
-
/**
|
|
20
|
-
*/
|
|
21
|
-
get label(): string | null;
|
|
22
|
-
/**
|
|
23
|
-
*/
|
|
24
|
-
getContentElements<T>(elementName: string): Array<T>;
|
|
25
|
-
/**
|
|
26
|
-
*/
|
|
27
|
-
getContentElementCollections<T>(elementName: string, collectionName: string): Array<T>;
|
|
28
|
-
/**
|
|
29
|
-
*/
|
|
30
|
-
getContentElementCollectionByLabels<T, U>(elementName: string, collectionName: string, labels: Array<string>): Array<U>;
|
|
31
|
-
/**
|
|
32
|
-
*/
|
|
33
|
-
get properties(): Array<PropertyData>;
|
|
34
|
-
/**
|
|
35
|
-
* Get concept properties by property element label
|
|
36
|
-
*/
|
|
37
|
-
getConceptPropertiesByLabels(labels: Array<string>): Array<PropertyData>;
|
|
38
|
-
/**
|
|
39
|
-
*/
|
|
40
|
-
get textfragments(): Array<TextFragmentData>;
|
|
41
|
-
/**
|
|
42
|
-
* Get concept text fragments by text fragment element label
|
|
43
|
-
*/
|
|
44
|
-
getTextFragmentsByLabels(labels: Array<string>): Array<TextFragmentData>;
|
|
45
|
-
/**
|
|
46
|
-
*/
|
|
47
|
-
get sections(): Array<SectionModel>;
|
|
48
|
-
/**
|
|
49
|
-
*/
|
|
50
|
-
getSectionsByType(types: Array<string>): Array<SectionModel>;
|
|
51
|
-
/**
|
|
52
|
-
* Get concept text fragments by text fragment element label
|
|
53
|
-
*/
|
|
54
|
-
getSectionsByLabels(labels: Array<string>): Array<SectionModel>;
|
|
55
|
-
/**
|
|
56
|
-
*/
|
|
57
|
-
getReferredSections(): Array<SectionModel | SubSectionModel>;
|
|
58
|
-
}
|
|
59
|
-
import { ContentData } from "../types";
|
|
60
|
-
import { ContentAll } from "../types";
|
|
61
|
-
import { PropertyData } from "../types";
|
|
62
|
-
import { TextFragmentData } from "../types";
|
|
63
|
-
import SectionModel from "../content/SectionModel";
|
|
64
|
-
import SubSectionModel from "../content/SubSectionModel";
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
export default AttributeDataHelper;
|
|
2
|
-
/**
|
|
3
|
-
* This util helps to normalize various attribute data formats available in the modular ui.
|
|
4
|
-
* It fixes differences in choice attributes with dynamic schema's, links on download attributes, composites with various children, etc
|
|
5
|
-
*
|
|
6
|
-
* @private
|
|
7
|
-
*/
|
|
8
|
-
declare class AttributeDataHelper {
|
|
9
|
-
/**
|
|
10
|
-
*/
|
|
11
|
-
constructor(data: Object | Array<Object>, key: string, childrenKeys: Array<Object>);
|
|
12
|
-
_key: string;
|
|
13
|
-
_attribute: Object;
|
|
14
|
-
_value: any;
|
|
15
|
-
_children: Array<AttributeDataHelper>;
|
|
16
|
-
/**
|
|
17
|
-
*/
|
|
18
|
-
childData(data: Object | Array<Object>, parentKey: string, childKey: string): Object;
|
|
19
|
-
/**
|
|
20
|
-
*/
|
|
21
|
-
createChild(data: Object | Array<Object>, childData: Object, keyObject: Object): AttributeDataHelper;
|
|
22
|
-
/**
|
|
23
|
-
*/
|
|
24
|
-
createChildren(data: Object | Array<Object>, childrenKeys?: Array<Object>): Array<AttributeDataHelper>;
|
|
25
|
-
/**
|
|
26
|
-
*/
|
|
27
|
-
getValue(attribute: Object): any;
|
|
28
|
-
/**
|
|
29
|
-
*/
|
|
30
|
-
get key(): string;
|
|
31
|
-
/**
|
|
32
|
-
*/
|
|
33
|
-
get value(): any;
|
|
34
|
-
/**
|
|
35
|
-
*/
|
|
36
|
-
get static(): boolean;
|
|
37
|
-
/**
|
|
38
|
-
*/
|
|
39
|
-
get links(): any;
|
|
40
|
-
/**
|
|
41
|
-
*/
|
|
42
|
-
get dynamicschemaId(): string;
|
|
43
|
-
/**
|
|
44
|
-
*/
|
|
45
|
-
get dynamicschema(): any;
|
|
46
|
-
/**
|
|
47
|
-
*/
|
|
48
|
-
get options(): any;
|
|
49
|
-
/**
|
|
50
|
-
*/
|
|
51
|
-
get message(): any;
|
|
52
|
-
/**
|
|
53
|
-
*/
|
|
54
|
-
get isResult(): boolean;
|
|
55
|
-
/**
|
|
56
|
-
*/
|
|
57
|
-
get referenceDate(): any;
|
|
58
|
-
/**
|
|
59
|
-
*/
|
|
60
|
-
get children(): Array<AttributeDataHelper>;
|
|
61
|
-
/**
|
|
62
|
-
*/
|
|
63
|
-
get content(): Object;
|
|
64
|
-
/**
|
|
65
|
-
*/
|
|
66
|
-
getData(): Object;
|
|
67
|
-
}
|
|
@@ -1,398 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Attribute model, base model for all kind of attributes
|
|
3
|
-
*/
|
|
4
|
-
export default class AttributeModel extends BaseModel {
|
|
5
|
-
/**
|
|
6
|
-
*/
|
|
7
|
-
static isApplicableModel(contributions: Object): boolean;
|
|
8
|
-
_label: string;
|
|
9
|
-
_lastModification: number;
|
|
10
|
-
_initvalue: any;
|
|
11
|
-
_inputvalue: string;
|
|
12
|
-
_value: any;
|
|
13
|
-
_errorCollection: ErrorCollection;
|
|
14
|
-
_serverConstraints: ConstraintCollection;
|
|
15
|
-
_useClientsideValidation: boolean;
|
|
16
|
-
_isValid: boolean;
|
|
17
|
-
_validatedValue: string | null;
|
|
18
|
-
_isEditable: boolean;
|
|
19
|
-
_concept: ConceptDetailModel | null;
|
|
20
|
-
_referenceDate: ISO_DATE;
|
|
21
|
-
_isResult: boolean;
|
|
22
|
-
_isHidden: boolean;
|
|
23
|
-
_readonly: boolean;
|
|
24
|
-
_disabled: boolean;
|
|
25
|
-
_mandatory: boolean;
|
|
26
|
-
_links: LinkCollection;
|
|
27
|
-
_parentKey: string | null;
|
|
28
|
-
_hasContentConfiguration: boolean;
|
|
29
|
-
_layoutHintRules: LayoutHintRuleCollection;
|
|
30
|
-
/**
|
|
31
|
-
* Retrieve initial input value
|
|
32
|
-
*/
|
|
33
|
-
getInitialInputValue(value: any): any;
|
|
34
|
-
/**
|
|
35
|
-
*/
|
|
36
|
-
getInitialChildModelLinks(): Array<LinkModel>;
|
|
37
|
-
/**
|
|
38
|
-
*/
|
|
39
|
-
setChildModels(models: Array<ModularUIModel>, errors: Array<ErrorResponse>): void;
|
|
40
|
-
/**
|
|
41
|
-
* Set the concept
|
|
42
|
-
*/
|
|
43
|
-
set concept(concept: ModularUIModel | null);
|
|
44
|
-
/**
|
|
45
|
-
* Get concept information
|
|
46
|
-
*/
|
|
47
|
-
get concept(): ConceptDetailModel | null;
|
|
48
|
-
/**
|
|
49
|
-
* Getting the attribute key
|
|
50
|
-
*/
|
|
51
|
-
get key(): string;
|
|
52
|
-
/**
|
|
53
|
-
*/
|
|
54
|
-
set parentKey(parentKey: string);
|
|
55
|
-
/**
|
|
56
|
-
*/
|
|
57
|
-
get parentKey(): string;
|
|
58
|
-
/**
|
|
59
|
-
* Getting the attribute name
|
|
60
|
-
*/
|
|
61
|
-
get name(): string;
|
|
62
|
-
/**
|
|
63
|
-
* Getting the type of the attribute
|
|
64
|
-
*/
|
|
65
|
-
get type(): string;
|
|
66
|
-
/**
|
|
67
|
-
* Set the label of this attribute
|
|
68
|
-
*/
|
|
69
|
-
set label(label: string);
|
|
70
|
-
/**
|
|
71
|
-
* Getting the label of the attribute
|
|
72
|
-
*/
|
|
73
|
-
get label(): string;
|
|
74
|
-
/**
|
|
75
|
-
*/
|
|
76
|
-
set hasContentConfiguration(hasContentConfiguration: boolean);
|
|
77
|
-
/**
|
|
78
|
-
*/
|
|
79
|
-
get hasContentConfiguration(): boolean;
|
|
80
|
-
/**
|
|
81
|
-
*/
|
|
82
|
-
indicateContentConfiguration(contentConfiguration: ContentConfiguration): void;
|
|
83
|
-
/**
|
|
84
|
-
* Retrieve the first permitted label to render when a concept and contentConfiguration is available
|
|
85
|
-
* Be aware that permission could be in place for labels from a concept.
|
|
86
|
-
*/
|
|
87
|
-
getContentConfiguredLabel(contentConfiguration: ContentConfigurationElements | null): string;
|
|
88
|
-
/**
|
|
89
|
-
*/
|
|
90
|
-
get defaultAlignment(): "left" | "center" | "right";
|
|
91
|
-
/**
|
|
92
|
-
* Handles layout hint align-left, align-center and align-right
|
|
93
|
-
*/
|
|
94
|
-
get alignment(): "left" | "center" | "right";
|
|
95
|
-
/**
|
|
96
|
-
* Retrieve links of attribute
|
|
97
|
-
*/
|
|
98
|
-
get links(): LinkCollection;
|
|
99
|
-
/**
|
|
100
|
-
* Retrieve link of attribute when available
|
|
101
|
-
*/
|
|
102
|
-
get downloadLink(): LinkModel | null;
|
|
103
|
-
/**
|
|
104
|
-
* Retrieve concept link of attribute when available
|
|
105
|
-
*/
|
|
106
|
-
get conceptLink(): LinkModel | null;
|
|
107
|
-
/**
|
|
108
|
-
* Set reference date for concepts and content
|
|
109
|
-
*/
|
|
110
|
-
set referenceDate(date: ISO_DATE);
|
|
111
|
-
/**
|
|
112
|
-
* Retrieve reference date of attribute which can be used as entryDate for content
|
|
113
|
-
* to get information in correct time version
|
|
114
|
-
*/
|
|
115
|
-
get referenceDate(): ISO_DATE;
|
|
116
|
-
/**
|
|
117
|
-
* Initial value received from the modular ui service
|
|
118
|
-
*/
|
|
119
|
-
get initvalue(): any;
|
|
120
|
-
/**
|
|
121
|
-
* Retrieve input value
|
|
122
|
-
*/
|
|
123
|
-
getInputValue(): string;
|
|
124
|
-
/**
|
|
125
|
-
* Sets the input value to the value entered by the user
|
|
126
|
-
*/
|
|
127
|
-
set inputvalue(value: string);
|
|
128
|
-
/**
|
|
129
|
-
* Returns the value as entered by the user. This can differ from the internal iso value that is stored
|
|
130
|
-
*/
|
|
131
|
-
get inputvalue(): string;
|
|
132
|
-
/**
|
|
133
|
-
* Value that is used when retrieving an error collection of this attribute
|
|
134
|
-
* Mostly this is the input value, but sometimes a different value is needed,
|
|
135
|
-
* for example iban and postcode need to validate length without spaces
|
|
136
|
-
*/
|
|
137
|
-
get validateValue(): string;
|
|
138
|
-
/**
|
|
139
|
-
* Setting a value in the element
|
|
140
|
-
*/
|
|
141
|
-
set value(value: string | null);
|
|
142
|
-
/**
|
|
143
|
-
* Getting the value of the attribute
|
|
144
|
-
*/
|
|
145
|
-
get value(): any;
|
|
146
|
-
/**
|
|
147
|
-
*/
|
|
148
|
-
hasValue(): boolean;
|
|
149
|
-
/**
|
|
150
|
-
* Getting the value of the attribute
|
|
151
|
-
*/
|
|
152
|
-
getValue(): any;
|
|
153
|
-
/**
|
|
154
|
-
* Getting data ready to be send to the modular ui
|
|
155
|
-
* Returns null when the attribute should not be send to the server
|
|
156
|
-
*/
|
|
157
|
-
getFormData(): {
|
|
158
|
-
[string]: any;
|
|
159
|
-
} | null;
|
|
160
|
-
/**
|
|
161
|
-
*/
|
|
162
|
-
get formdata(): {
|
|
163
|
-
[string]: any;
|
|
164
|
-
} | null;
|
|
165
|
-
/**
|
|
166
|
-
*/
|
|
167
|
-
getEmptyFormData(): {
|
|
168
|
-
[string]: null;
|
|
169
|
-
};
|
|
170
|
-
/**
|
|
171
|
-
*/
|
|
172
|
-
formatValue(value: string): string;
|
|
173
|
-
/**
|
|
174
|
-
* Getting the readonly value, iso value converted for human reading
|
|
175
|
-
*/
|
|
176
|
-
get readonlyvalue(): string;
|
|
177
|
-
/**
|
|
178
|
-
* Set mandatory status of attribute
|
|
179
|
-
*/
|
|
180
|
-
set mandatory(mandatory: boolean);
|
|
181
|
-
/**
|
|
182
|
-
* Getting mandatory status of attribute
|
|
183
|
-
*/
|
|
184
|
-
get mandatory(): boolean;
|
|
185
|
-
/**
|
|
186
|
-
*/
|
|
187
|
-
get configuredMandatory(): boolean | null;
|
|
188
|
-
/**
|
|
189
|
-
*/
|
|
190
|
-
set readonly(readonly: boolean);
|
|
191
|
-
/**
|
|
192
|
-
*/
|
|
193
|
-
get readonly(): boolean;
|
|
194
|
-
/**
|
|
195
|
-
*/
|
|
196
|
-
set disabled(disabled: boolean);
|
|
197
|
-
/**
|
|
198
|
-
*/
|
|
199
|
-
get disabled(): boolean;
|
|
200
|
-
/**
|
|
201
|
-
*/
|
|
202
|
-
set isResult(isResult: boolean);
|
|
203
|
-
/**
|
|
204
|
-
*/
|
|
205
|
-
get isResult(): boolean;
|
|
206
|
-
/**
|
|
207
|
-
* Getting the display and input format of a attribute
|
|
208
|
-
*/
|
|
209
|
-
get format(): string | null;
|
|
210
|
-
/**
|
|
211
|
-
*/
|
|
212
|
-
get formatLabel(): string;
|
|
213
|
-
/**
|
|
214
|
-
* Get minimum string length
|
|
215
|
-
*/
|
|
216
|
-
get minLength(): number | null;
|
|
217
|
-
/**
|
|
218
|
-
* Get maximum string length
|
|
219
|
-
*/
|
|
220
|
-
get maxLength(): number | null;
|
|
221
|
-
/**
|
|
222
|
-
*/
|
|
223
|
-
get operator(): string;
|
|
224
|
-
/**
|
|
225
|
-
* Get assistant message
|
|
226
|
-
*/
|
|
227
|
-
get assistantMessage(): string | null;
|
|
228
|
-
/**
|
|
229
|
-
* Get valid status
|
|
230
|
-
*/
|
|
231
|
-
get isValid(): boolean;
|
|
232
|
-
/**
|
|
233
|
-
* Retrieve applicable constraint for this attribute
|
|
234
|
-
*/
|
|
235
|
-
get constraintCollection(): ConstraintCollection;
|
|
236
|
-
/**
|
|
237
|
-
* Template method for class extending this model to add extra constraints
|
|
238
|
-
* @abstract
|
|
239
|
-
*/
|
|
240
|
-
addConstraints(): ConstraintCollection;
|
|
241
|
-
/**
|
|
242
|
-
* Used to programmatically overwrite the setting USE_CLIENTSIDE_VALIDATION
|
|
243
|
-
*/
|
|
244
|
-
setUseClientsideValidation(enabled: boolean): void;
|
|
245
|
-
/**
|
|
246
|
-
* Indicates if client side validation is enabled
|
|
247
|
-
* @returns {boolean}
|
|
248
|
-
*/
|
|
249
|
-
useClientsideValidation(): boolean;
|
|
250
|
-
/**
|
|
251
|
-
* Validate input on client side constraint
|
|
252
|
-
*/
|
|
253
|
-
validate(value: string): boolean;
|
|
254
|
-
/**
|
|
255
|
-
* Indicates if attribute is optional and empty
|
|
256
|
-
*/
|
|
257
|
-
isOptionalAndEmpty(value: string): boolean;
|
|
258
|
-
/**
|
|
259
|
-
* Retrieve error messages of this attribute
|
|
260
|
-
*/
|
|
261
|
-
get errorCollection(): ErrorCollection;
|
|
262
|
-
/**
|
|
263
|
-
* Check if attribute is in error
|
|
264
|
-
*/
|
|
265
|
-
inError(): boolean;
|
|
266
|
-
/**
|
|
267
|
-
* Reset static error messages on attribute
|
|
268
|
-
*/
|
|
269
|
-
resetErrors(): void;
|
|
270
|
-
/**
|
|
271
|
-
* Registers an error that was received from a server response
|
|
272
|
-
*/
|
|
273
|
-
addServerError(error: FormErrorAnchor): void;
|
|
274
|
-
/**
|
|
275
|
-
*/
|
|
276
|
-
removeServerError(id: string): void;
|
|
277
|
-
/**
|
|
278
|
-
*/
|
|
279
|
-
hasServerErrors(): boolean;
|
|
280
|
-
/**
|
|
281
|
-
*/
|
|
282
|
-
hasErrors(): boolean;
|
|
283
|
-
/**
|
|
284
|
-
* Registers a missing error that was received from the server
|
|
285
|
-
*/
|
|
286
|
-
addMissingError(receivedAttribute?: AttributeType): void;
|
|
287
|
-
/**
|
|
288
|
-
*/
|
|
289
|
-
removeMissingError(): void;
|
|
290
|
-
/**
|
|
291
|
-
*/
|
|
292
|
-
addServerConstraint(id: string, defaultMessage?: string, parameters?: MessageParameters): void;
|
|
293
|
-
/**
|
|
294
|
-
*/
|
|
295
|
-
formatParameters(parameters: Object): {
|
|
296
|
-
[string]: string | number;
|
|
297
|
-
};
|
|
298
|
-
/**
|
|
299
|
-
*/
|
|
300
|
-
get hasDynamicValidationData(): boolean;
|
|
301
|
-
/**
|
|
302
|
-
*/
|
|
303
|
-
updateValidations(errors: Array<Object>): void;
|
|
304
|
-
/**
|
|
305
|
-
* Set last modification to current timestamp
|
|
306
|
-
*/
|
|
307
|
-
updateLastModification(): void;
|
|
308
|
-
/**
|
|
309
|
-
* Inidicates if attribute is changed since a given timestamp (Date.now)
|
|
310
|
-
*/
|
|
311
|
-
isChangedSince(timestamp: number): boolean;
|
|
312
|
-
/**
|
|
313
|
-
* Abstract reset method which should be implemented on each attribute that has this attribute as a base class.
|
|
314
|
-
*
|
|
315
|
-
* @abstract
|
|
316
|
-
*/
|
|
317
|
-
reset(): void;
|
|
318
|
-
/**
|
|
319
|
-
* Merge old attribute with the attribute from the server.
|
|
320
|
-
* Readonly attributes always need to show the value from the server
|
|
321
|
-
*/
|
|
322
|
-
mergeAttribute(oldAttribute: AttributeType): void;
|
|
323
|
-
/**
|
|
324
|
-
* Abstract update method which should be implemented on each attribute that has this attribute as a base class.
|
|
325
|
-
* @abstract
|
|
326
|
-
*/
|
|
327
|
-
update(value: string, changedAttribute?: AttributeType): AttributeType;
|
|
328
|
-
/**
|
|
329
|
-
* Abstract updateByAttribute method which should be implemented on each attribute that has this attribute as a base class.
|
|
330
|
-
* @abstract
|
|
331
|
-
*/
|
|
332
|
-
updateByAttribute(otherAttribute: AttributeType): void;
|
|
333
|
-
/**
|
|
334
|
-
* Indicate if attribute is editable
|
|
335
|
-
*/
|
|
336
|
-
set isEditable(isEditable: boolean);
|
|
337
|
-
/**
|
|
338
|
-
* Retrieve if attribute is editable
|
|
339
|
-
*/
|
|
340
|
-
get isEditable(): boolean;
|
|
341
|
-
/**
|
|
342
|
-
* Indicates if the attribute is visible
|
|
343
|
-
*/
|
|
344
|
-
get isVisible(): boolean;
|
|
345
|
-
/**
|
|
346
|
-
*/
|
|
347
|
-
set isHidden(isHidden: boolean);
|
|
348
|
-
/**
|
|
349
|
-
*/
|
|
350
|
-
get isHidden(): boolean;
|
|
351
|
-
/**
|
|
352
|
-
* Explicitly toggle visibility of this attribute
|
|
353
|
-
*/
|
|
354
|
-
show(): void;
|
|
355
|
-
/**
|
|
356
|
-
*/
|
|
357
|
-
hide(): void;
|
|
358
|
-
/**
|
|
359
|
-
*/
|
|
360
|
-
equals(otherAttribute: AttributeType): boolean;
|
|
361
|
-
/**
|
|
362
|
-
* Readonly attribute width indicates the proposed width of this attribute
|
|
363
|
-
*/
|
|
364
|
-
get readonlyWidth(): $Keys<typeof ATTRIBUTE_WIDTH>;
|
|
365
|
-
/**
|
|
366
|
-
*/
|
|
367
|
-
set layoutHintRules(rules: LayoutHintRuleCollection);
|
|
368
|
-
/**
|
|
369
|
-
*/
|
|
370
|
-
get layoutHintRules(): LayoutHintRuleCollection;
|
|
371
|
-
/**
|
|
372
|
-
*/
|
|
373
|
-
processLayoutHintRules(attributes: AttributeCollection): void;
|
|
374
|
-
/**
|
|
375
|
-
* Indicates if content comes from the data service
|
|
376
|
-
*/
|
|
377
|
-
get hasContentFromData(): boolean;
|
|
378
|
-
/**
|
|
379
|
-
*/
|
|
380
|
-
get content(): AttributeContent;
|
|
381
|
-
}
|
|
382
|
-
import BaseModel from "../base/BaseModel";
|
|
383
|
-
import ErrorCollection from "../error/ErrorCollection";
|
|
384
|
-
import ConstraintCollection from "./input-constraints/ConstraintCollection";
|
|
385
|
-
import ConceptDetailModel from "../concepts/ConceptDetailModel";
|
|
386
|
-
import LinkCollection from "../links/LinkCollection";
|
|
387
|
-
import LayoutHintRuleCollection from "./layouthint-rules/LayoutHintRuleCollection";
|
|
388
|
-
import LinkModel from "../links/LinkModel";
|
|
389
|
-
import { ModularUIModel } from "../types";
|
|
390
|
-
import ErrorResponse from "../error/ErrorResponse";
|
|
391
|
-
import ContentConfiguration from "../contentconfiguration/ContentConfiguration";
|
|
392
|
-
import ContentConfigurationElements from "../contentconfiguration/ContentConfigurationElements";
|
|
393
|
-
import { FormErrorAnchor } from "../types";
|
|
394
|
-
import { AttributeType } from "../types";
|
|
395
|
-
import { MessageParameters } from "../../i18n/types";
|
|
396
|
-
import { ATTRIBUTE_WIDTH } from "../../constants/Constants";
|
|
397
|
-
import AttributeCollection from "./AttributeCollection";
|
|
398
|
-
import AttributeContent from "./AttributeContent";
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
*/
|
|
3
|
-
export default class AttributeSetModel extends BaseModel {
|
|
4
|
-
/**
|
|
5
|
-
*/
|
|
6
|
-
constructor(key?: string, data?: Object, contributions?: Object, modelOptions?: ModelOptions);
|
|
7
|
-
_key: string;
|
|
8
|
-
_attributeCollection: AttributeCollection;
|
|
9
|
-
/**
|
|
10
|
-
*/
|
|
11
|
-
set key(key: string);
|
|
12
|
-
/**
|
|
13
|
-
*/
|
|
14
|
-
get key(): string;
|
|
15
|
-
/**
|
|
16
|
-
*/
|
|
17
|
-
get label(): string | null;
|
|
18
|
-
/**
|
|
19
|
-
* Set the attributes with a new AttributeCollection
|
|
20
|
-
*/
|
|
21
|
-
set attributeCollection(collection: AttributeCollection);
|
|
22
|
-
/**
|
|
23
|
-
* Retrieve attribute collection
|
|
24
|
-
*/
|
|
25
|
-
get attributeCollection(): AttributeCollection;
|
|
26
|
-
/**
|
|
27
|
-
*/
|
|
28
|
-
createChildAttributeSetModel(key: string, dataObject: Object, index?: number): AttributeSetModel;
|
|
29
|
-
/**
|
|
30
|
-
* Retrieve child {@code AttributeSetModel}s
|
|
31
|
-
*/
|
|
32
|
-
getChildAttributeSets(): Array<AttributeSetModel>;
|
|
33
|
-
}
|
|
34
|
-
import BaseModel from "../base/BaseModel";
|
|
35
|
-
import AttributeCollection from "./AttributeCollection";
|
|
36
|
-
import { ModelOptions } from "../types";
|