@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,35 +0,0 @@
|
|
|
1
|
-
export default PasswordThreeConsecutiveCharactersNotAllowedConstraint;
|
|
2
|
-
/**
|
|
3
|
-
*/
|
|
4
|
-
declare class PasswordThreeConsecutiveCharactersNotAllowedConstraint {
|
|
5
|
-
/**
|
|
6
|
-
*/
|
|
7
|
-
constructor(maxSequence?: number);
|
|
8
|
-
_maxSequence: number;
|
|
9
|
-
/**
|
|
10
|
-
*/
|
|
11
|
-
get id(): string;
|
|
12
|
-
/**
|
|
13
|
-
*/
|
|
14
|
-
get maxSequence(): number;
|
|
15
|
-
/**
|
|
16
|
-
*/
|
|
17
|
-
hasValidation(): boolean;
|
|
18
|
-
/**
|
|
19
|
-
*/
|
|
20
|
-
get defaultMessage(): string;
|
|
21
|
-
/**
|
|
22
|
-
*/
|
|
23
|
-
get parameters(): {
|
|
24
|
-
"max-sequence": number;
|
|
25
|
-
};
|
|
26
|
-
/**
|
|
27
|
-
*/
|
|
28
|
-
hasNoSequenceOfIdenticalCharacters(value: string): boolean;
|
|
29
|
-
/**
|
|
30
|
-
*/
|
|
31
|
-
validate(value: string): boolean;
|
|
32
|
-
/**
|
|
33
|
-
*/
|
|
34
|
-
get isMandatoryConstraint(): boolean;
|
|
35
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
export default RangeConstraint;
|
|
2
|
-
/**
|
|
3
|
-
*/
|
|
4
|
-
declare class RangeConstraint {
|
|
5
|
-
/**
|
|
6
|
-
*/
|
|
7
|
-
constructor(startAttribute: AttributeType, endAttribute: AttributeType);
|
|
8
|
-
_start: AttributeType;
|
|
9
|
-
_end: AttributeType;
|
|
10
|
-
/**
|
|
11
|
-
*/
|
|
12
|
-
get id(): string;
|
|
13
|
-
/**
|
|
14
|
-
*/
|
|
15
|
-
get defaultMessage(): string;
|
|
16
|
-
/**
|
|
17
|
-
*/
|
|
18
|
-
hasValidation(): boolean;
|
|
19
|
-
/**
|
|
20
|
-
*/
|
|
21
|
-
get parameters(): {};
|
|
22
|
-
/**
|
|
23
|
-
*/
|
|
24
|
-
get start(): AttributeType;
|
|
25
|
-
/**
|
|
26
|
-
*/
|
|
27
|
-
get end(): AttributeType;
|
|
28
|
-
/**
|
|
29
|
-
*/
|
|
30
|
-
get rangeType(): string;
|
|
31
|
-
/**
|
|
32
|
-
*/
|
|
33
|
-
get hasInclusiveBounds(): boolean;
|
|
34
|
-
/**
|
|
35
|
-
*/
|
|
36
|
-
get util(): typeof TimeUtil | typeof DateUtil | typeof DateTimeUtil | typeof TimestampUtil | null;
|
|
37
|
-
/**
|
|
38
|
-
*/
|
|
39
|
-
doValidate(startValue: string, endValue: string): boolean;
|
|
40
|
-
/**
|
|
41
|
-
*/
|
|
42
|
-
validate(): boolean;
|
|
43
|
-
/**
|
|
44
|
-
*/
|
|
45
|
-
get isMandatoryConstraint(): boolean;
|
|
46
|
-
}
|
|
47
|
-
import { AttributeType } from "../../types";
|
|
48
|
-
import { TimeUtil } from "../../../utils/datetime/DateTimeUtil";
|
|
49
|
-
import { DateUtil } from "../../../utils/datetime/DateTimeUtil";
|
|
50
|
-
import { DateTimeUtil } from "../../../utils/datetime/DateTimeUtil";
|
|
51
|
-
import { TimestampUtil } from "../../../utils/datetime/DateTimeUtil";
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
type RegexObject = {
|
|
2
|
-
messageKey: string;
|
|
3
|
-
defaultMessage: string | null;
|
|
4
|
-
regex: string | RegExp;
|
|
5
|
-
};
|
|
6
|
-
export default RegexConstraint;
|
|
7
|
-
/**
|
|
8
|
-
*/
|
|
9
|
-
declare class RegexConstraint {
|
|
10
|
-
/**
|
|
11
|
-
*/
|
|
12
|
-
constructor(regexConstraint: RegexObject);
|
|
13
|
-
_regexConstraint: Object;
|
|
14
|
-
/**
|
|
15
|
-
*/
|
|
16
|
-
get id(): any;
|
|
17
|
-
/**
|
|
18
|
-
*/
|
|
19
|
-
get regexConstraint(): any;
|
|
20
|
-
/**
|
|
21
|
-
*/
|
|
22
|
-
hasValidation(): boolean;
|
|
23
|
-
/**
|
|
24
|
-
*/
|
|
25
|
-
get defaultMessage(): any;
|
|
26
|
-
/**
|
|
27
|
-
*/
|
|
28
|
-
get parameters(): {
|
|
29
|
-
regex: any;
|
|
30
|
-
};
|
|
31
|
-
/**
|
|
32
|
-
*/
|
|
33
|
-
validate(value: string): boolean;
|
|
34
|
-
/**
|
|
35
|
-
*/
|
|
36
|
-
get isMandatoryConstraint(): boolean;
|
|
37
|
-
}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
export default StringLengthConstraint;
|
|
2
|
-
/**
|
|
3
|
-
*/
|
|
4
|
-
declare class StringLengthConstraint {
|
|
5
|
-
/**
|
|
6
|
-
*/
|
|
7
|
-
constructor(minLength: number | null, maxLength: number | null);
|
|
8
|
-
_minLength: number | null;
|
|
9
|
-
_maxLength: number | null;
|
|
10
|
-
/**
|
|
11
|
-
*/
|
|
12
|
-
get id(): string;
|
|
13
|
-
/**
|
|
14
|
-
*/
|
|
15
|
-
get minLength(): null | number;
|
|
16
|
-
/**
|
|
17
|
-
*/
|
|
18
|
-
get maxLength(): null | number;
|
|
19
|
-
/**
|
|
20
|
-
*/
|
|
21
|
-
hasValidation(): boolean;
|
|
22
|
-
/**
|
|
23
|
-
*/
|
|
24
|
-
isExactLength(value: string): boolean;
|
|
25
|
-
/**
|
|
26
|
-
*/
|
|
27
|
-
isBetween(value: string): boolean;
|
|
28
|
-
/**
|
|
29
|
-
*/
|
|
30
|
-
isLongEnough(value: string): boolean;
|
|
31
|
-
/**
|
|
32
|
-
*/
|
|
33
|
-
isSmallEnough(value: string): boolean;
|
|
34
|
-
/**
|
|
35
|
-
*/
|
|
36
|
-
get defaultMessage(): string;
|
|
37
|
-
/**
|
|
38
|
-
*/
|
|
39
|
-
get parameters(): {};
|
|
40
|
-
/**
|
|
41
|
-
*/
|
|
42
|
-
validate(value: string): boolean;
|
|
43
|
-
/**
|
|
44
|
-
*/
|
|
45
|
-
get isMandatoryConstraint(): boolean;
|
|
46
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export default XMLConstraint;
|
|
2
|
-
/**
|
|
3
|
-
*/
|
|
4
|
-
declare class XMLConstraint {
|
|
5
|
-
/**
|
|
6
|
-
*/
|
|
7
|
-
get id(): string;
|
|
8
|
-
/**
|
|
9
|
-
*/
|
|
10
|
-
hasValidation(): boolean;
|
|
11
|
-
/**
|
|
12
|
-
*/
|
|
13
|
-
get defaultMessage(): string;
|
|
14
|
-
/**
|
|
15
|
-
*/
|
|
16
|
-
get parameters(): {};
|
|
17
|
-
/**
|
|
18
|
-
*/
|
|
19
|
-
isValidXML(value: string): boolean;
|
|
20
|
-
/**
|
|
21
|
-
*/
|
|
22
|
-
validate(value: string): boolean;
|
|
23
|
-
/**
|
|
24
|
-
*/
|
|
25
|
-
get isMandatoryConstraint(): boolean;
|
|
26
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
export default BaseLayoutHintRule;
|
|
2
|
-
/**
|
|
3
|
-
* Abstract class for layout hint rules
|
|
4
|
-
* @abstract
|
|
5
|
-
*/
|
|
6
|
-
declare class BaseLayoutHintRule {
|
|
7
|
-
/**
|
|
8
|
-
* Indicates if the rule implements the isApplicableForHint method
|
|
9
|
-
* @type {boolean}
|
|
10
|
-
* @default false
|
|
11
|
-
*/
|
|
12
|
-
static checkHintApplicability: boolean;
|
|
13
|
-
/**
|
|
14
|
-
* Indicates if the rule instance is applicable for a specific attribute<br>
|
|
15
|
-
*/
|
|
16
|
-
static isApplicableForAttribute(attribute: AttributeType): boolean;
|
|
17
|
-
/**
|
|
18
|
-
* Indicates if the rule instance is applicable for a specific hint<br>
|
|
19
|
-
* Is required when checkHintApplicability is true
|
|
20
|
-
* @abstract
|
|
21
|
-
*/
|
|
22
|
-
static isApplicableForHint(hint: string): boolean;
|
|
23
|
-
/**
|
|
24
|
-
* Initialize the rule when isApplicableForAttribute is true and checkHintApplicability is false
|
|
25
|
-
* @abstract
|
|
26
|
-
*/
|
|
27
|
-
static initAttribute(attribute: AttributeType): ILayoutHintRule;
|
|
28
|
-
/**
|
|
29
|
-
* Initialize the rule when isApplicableForAttribute and isApplicableForHint are both true,
|
|
30
|
-
* it receives the hint. Allows a rule to be instantiated multiple times for an attribute,
|
|
31
|
-
* but once for each hint entry
|
|
32
|
-
* @abstract
|
|
33
|
-
*/
|
|
34
|
-
static initHint(hint: string): ILayoutHintRule;
|
|
35
|
-
/**
|
|
36
|
-
* Abstract method, implements process of layout hint rule,
|
|
37
|
-
* use this to enhance the applicable attribute or the attribute collection
|
|
38
|
-
* @abstract
|
|
39
|
-
*/
|
|
40
|
-
process(attribute: AttributeModel, attributes: AttributeCollection): void;
|
|
41
|
-
}
|
|
42
|
-
import AttributeModel from "../AttributeModel";
|
|
43
|
-
import AttributeCollection from "../AttributeCollection";
|
|
44
|
-
import { AttributeType } from "../../types";
|
|
45
|
-
import { ILayoutHintRule } from "../../types";
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
export default DependentAttribute;
|
|
2
|
-
/**
|
|
3
|
-
* Depending attributes hint logic
|
|
4
|
-
*/
|
|
5
|
-
declare class DependentAttribute extends BaseLayoutHintRule {
|
|
6
|
-
/**
|
|
7
|
-
* Used on initHint to create an instance of this rule
|
|
8
|
-
*/
|
|
9
|
-
static getRuleInstance(): DependentAttribute;
|
|
10
|
-
/**
|
|
11
|
-
*/
|
|
12
|
-
static initHint(hint: string): any;
|
|
13
|
-
_action: string;
|
|
14
|
-
_control: string;
|
|
15
|
-
_operator: string;
|
|
16
|
-
_options: Array<string>;
|
|
17
|
-
/**
|
|
18
|
-
*/
|
|
19
|
-
set action(action: string);
|
|
20
|
-
/**
|
|
21
|
-
*/
|
|
22
|
-
get action(): string;
|
|
23
|
-
/**
|
|
24
|
-
*/
|
|
25
|
-
set control(control: string);
|
|
26
|
-
/**
|
|
27
|
-
*/
|
|
28
|
-
get control(): string;
|
|
29
|
-
/**
|
|
30
|
-
*/
|
|
31
|
-
set operator(operator: string);
|
|
32
|
-
/**
|
|
33
|
-
*/
|
|
34
|
-
get operator(): string;
|
|
35
|
-
/**
|
|
36
|
-
*/
|
|
37
|
-
set options(options: string);
|
|
38
|
-
/**
|
|
39
|
-
*/
|
|
40
|
-
get options(): Array<string>;
|
|
41
|
-
/**
|
|
42
|
-
*/
|
|
43
|
-
processEqualsOptions(controlAttribute: ChoiceAttributeModel | BooleanAttributeModel): boolean;
|
|
44
|
-
/**
|
|
45
|
-
*/
|
|
46
|
-
processIncludesOptions(controlAttribute: ChoiceAttributeModel | BooleanAttributeModel): boolean;
|
|
47
|
-
/**
|
|
48
|
-
*/
|
|
49
|
-
handleOperator(controlAttribute: ChoiceAttributeModel | BooleanAttributeModel): boolean;
|
|
50
|
-
/**
|
|
51
|
-
*/
|
|
52
|
-
getControlAttribute(attributes: AttributeCollection): ChoiceAttributeModel | BooleanAttributeModel | null;
|
|
53
|
-
}
|
|
54
|
-
import BaseLayoutHintRule from "./BaseLayoutHintRule";
|
|
55
|
-
import ChoiceAttributeModel from "../ChoiceAttributeModel";
|
|
56
|
-
import BooleanAttributeModel from "../BooleanAttributeModel";
|
|
57
|
-
import AttributeCollection from "../AttributeCollection";
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
export function addLayoutHintRule(rule: Class<BaseLayoutHintRule>): void;
|
|
2
|
-
export function updateLayoutHintRules(updater: LayoutHintRulesUpdater): void;
|
|
3
|
-
export default LayoutHintRuleCollection;
|
|
4
|
-
import BaseLayoutHintRule from "./BaseLayoutHintRule";
|
|
5
|
-
type LayoutHintRulesUpdater = (rules: Class<BaseLayoutHintRule>[]) => Class<BaseLayoutHintRule>[];
|
|
6
|
-
/**
|
|
7
|
-
* Collection of layout hint rules
|
|
8
|
-
*/
|
|
9
|
-
declare class LayoutHintRuleCollection extends BaseCollection<ILayoutHintRule> {
|
|
10
|
-
/**
|
|
11
|
-
* Set layout hint rules on the applicable attributes
|
|
12
|
-
*/
|
|
13
|
-
static setLayoutHintRules<T, AttributeType>(attribute: T): T;
|
|
14
|
-
constructor(initCollection?: ILayoutHintRule[]);
|
|
15
|
-
/**
|
|
16
|
-
* Retrieve all rules available in the collection
|
|
17
|
-
*/
|
|
18
|
-
get allRules(): Array<Class<BaseLayoutHintRule>>;
|
|
19
|
-
/**
|
|
20
|
-
* Process layout hint rules in the collection
|
|
21
|
-
*/
|
|
22
|
-
process(attribute: AttributeModel, attributes: AttributeCollection): void;
|
|
23
|
-
}
|
|
24
|
-
import { ILayoutHintRule } from "../../types";
|
|
25
|
-
import BaseCollection from "../../base/BaseCollection";
|
|
26
|
-
import AttributeModel from "../AttributeModel";
|
|
27
|
-
import AttributeCollection from "../AttributeCollection";
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export default RemainingTotalUploadSize;
|
|
2
|
-
/**
|
|
3
|
-
* This pattern enables showing the upload file size remaining when uploading resources<br>
|
|
4
|
-
* The rule depends on other attributes with the INITIAL_TOTAL_FILESIZE and MAX_TOTAL_FILESIZE layout hints
|
|
5
|
-
*/
|
|
6
|
-
declare class RemainingTotalUploadSize extends BaseLayoutHintRule {
|
|
7
|
-
/**
|
|
8
|
-
*/
|
|
9
|
-
static initAttribute(): ILayoutHintRule;
|
|
10
|
-
/**
|
|
11
|
-
*/
|
|
12
|
-
processUploadInformation(attribute: UploadAttributeModel, attributes: AttributeCollection): void;
|
|
13
|
-
}
|
|
14
|
-
import BaseLayoutHintRule from "./BaseLayoutHintRule";
|
|
15
|
-
import UploadAttributeModel from "../UploadAttributeModel";
|
|
16
|
-
import AttributeCollection from "../AttributeCollection";
|
|
17
|
-
import { ILayoutHintRule } from "../../types";
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
export default BaseCollection;
|
|
2
|
-
/**
|
|
3
|
-
* Base class for collections of models
|
|
4
|
-
*/
|
|
5
|
-
declare class BaseCollection<T> {
|
|
6
|
-
/**
|
|
7
|
-
* Construct base collection
|
|
8
|
-
*/
|
|
9
|
-
constructor(initCollection?: Array<T>);
|
|
10
|
-
_collection: Array<T>;
|
|
11
|
-
/**
|
|
12
|
-
* Replace current collection with a new collection
|
|
13
|
-
*/
|
|
14
|
-
set collection(collection: Array<T>);
|
|
15
|
-
/**
|
|
16
|
-
* Retrieve current collection
|
|
17
|
-
*/
|
|
18
|
-
get collection(): Array<T>;
|
|
19
|
-
/**
|
|
20
|
-
* Add an other collection, array of items or single item to this collection;
|
|
21
|
-
*/
|
|
22
|
-
add(items: BaseCollection<T> | Array<T> | T): BaseCollection<T>;
|
|
23
|
-
/**
|
|
24
|
-
* Remove an item from the collection by it's index.
|
|
25
|
-
*/
|
|
26
|
-
removeByIndex(itemIndex: number): void;
|
|
27
|
-
/**
|
|
28
|
-
* Indicates if the collection has items
|
|
29
|
-
*/
|
|
30
|
-
get hasItems(): boolean;
|
|
31
|
-
/**
|
|
32
|
-
* Indicates if collection is empty
|
|
33
|
-
*/
|
|
34
|
-
get isEmpty(): boolean;
|
|
35
|
-
/**
|
|
36
|
-
* Retrieve all items in collection
|
|
37
|
-
*/
|
|
38
|
-
get all(): Array<T>;
|
|
39
|
-
/**
|
|
40
|
-
* Get the size of this collection
|
|
41
|
-
*/
|
|
42
|
-
get size(): number;
|
|
43
|
-
/**
|
|
44
|
-
* Get the size of this collection
|
|
45
|
-
*/
|
|
46
|
-
get length(): number;
|
|
47
|
-
/**
|
|
48
|
-
* Return first link in collection
|
|
49
|
-
*/
|
|
50
|
-
get first(): T | null;
|
|
51
|
-
/**
|
|
52
|
-
*/
|
|
53
|
-
get last(): T | null;
|
|
54
|
-
/**
|
|
55
|
-
*/
|
|
56
|
-
get(index: number): T | null;
|
|
57
|
-
/**
|
|
58
|
-
* Find item
|
|
59
|
-
*/
|
|
60
|
-
find(callbackfn: (value: T, index: number, array: Array<T>) => any, thisArg?: any): T | null;
|
|
61
|
-
/**
|
|
62
|
-
* Filter items
|
|
63
|
-
*/
|
|
64
|
-
filter(callbackfn: (value: T, index: number, array: Array<T>) => any, thisArg?: any): Array<T>;
|
|
65
|
-
/**
|
|
66
|
-
* Check if at least one item occurs
|
|
67
|
-
*/
|
|
68
|
-
some(callbackfn: (value: T, index: number, array: Array<T>) => any, thisArg?: any): boolean;
|
|
69
|
-
/**
|
|
70
|
-
*/
|
|
71
|
-
every(callbackfn: (value: T, index: number, array: Array<T>) => any, thisArg?: any): boolean;
|
|
72
|
-
/**
|
|
73
|
-
*/
|
|
74
|
-
map<U>(callbackfn: (value: T, index: number, array: Array<T>) => U, thisArg?: T): Array<U>;
|
|
75
|
-
/**
|
|
76
|
-
*/
|
|
77
|
-
forEach(callbackfn: (value: T, index: number, array: Array<T>) => any, thisArg?: any): void;
|
|
78
|
-
/**
|
|
79
|
-
*/
|
|
80
|
-
sort(compareFn?: (a: T, b: T) => number): Array<T>;
|
|
81
|
-
/**
|
|
82
|
-
* Retrieve an alphabetically sorted array of items
|
|
83
|
-
*/
|
|
84
|
-
get sorted(): Array<T>;
|
|
85
|
-
/**
|
|
86
|
-
* Returns a clone of the model
|
|
87
|
-
*/
|
|
88
|
-
clone(): this;
|
|
89
|
-
}
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
type BaseDehydrateData = {};
|
|
2
|
-
export default BaseModel;
|
|
3
|
-
/**
|
|
4
|
-
* Base model, this is the foundation of a model,
|
|
5
|
-
* it contains data that is needed for all models like, data, contributions and layout hint
|
|
6
|
-
*
|
|
7
|
-
* Extend this for non modular ui resources, for modular ui resource start with the resourceModel
|
|
8
|
-
*/
|
|
9
|
-
declare class BaseModel {
|
|
10
|
-
/**
|
|
11
|
-
* constructor
|
|
12
|
-
*/
|
|
13
|
-
constructor(data: Object, contributions: Object, modelOptions?: ModelOptions);
|
|
14
|
-
_data: Object;
|
|
15
|
-
_contributions: Object;
|
|
16
|
-
_layouthint: LayoutHintCollection;
|
|
17
|
-
_connectKey: string;
|
|
18
|
-
_modelOptions: ModelOptions;
|
|
19
|
-
/**
|
|
20
|
-
* Retrieve data
|
|
21
|
-
*/
|
|
22
|
-
get data(): Object;
|
|
23
|
-
/**
|
|
24
|
-
* Retrieve property from the data object of the model, mostly used internal
|
|
25
|
-
*/
|
|
26
|
-
getData(propName: string, defaultValue?: any): any;
|
|
27
|
-
/**
|
|
28
|
-
* Retrieve contributions
|
|
29
|
-
*/
|
|
30
|
-
get contributions(): Object;
|
|
31
|
-
/**
|
|
32
|
-
* Retrieve property from the contributions of the model, mostly used internal
|
|
33
|
-
*/
|
|
34
|
-
getContribution(propName: string, defaultValue?: any): any;
|
|
35
|
-
/**
|
|
36
|
-
*/
|
|
37
|
-
get modelOptions(): ModelOptions;
|
|
38
|
-
/**
|
|
39
|
-
*/
|
|
40
|
-
get origin(): string;
|
|
41
|
-
/**
|
|
42
|
-
*/
|
|
43
|
-
get contextPath(): string;
|
|
44
|
-
/**
|
|
45
|
-
* Set the layouthint
|
|
46
|
-
*/
|
|
47
|
-
set layouthint(layouthint: Array<string>);
|
|
48
|
-
/**
|
|
49
|
-
* Getting the layouthint
|
|
50
|
-
*/
|
|
51
|
-
get layouthint(): LayoutHintCollection;
|
|
52
|
-
/**
|
|
53
|
-
* Indicates if the model has data
|
|
54
|
-
*/
|
|
55
|
-
get hasData(): boolean;
|
|
56
|
-
/**
|
|
57
|
-
* Set the unique key for this model
|
|
58
|
-
*/
|
|
59
|
-
set connectKey(key: string);
|
|
60
|
-
/**
|
|
61
|
-
* Get the unique key of this model
|
|
62
|
-
*/
|
|
63
|
-
get connectKey(): string;
|
|
64
|
-
/**
|
|
65
|
-
* Dehydrate internal data, returns the information that is needed to recreate the model
|
|
66
|
-
*/
|
|
67
|
-
dehydrate(): BaseDehydrateData;
|
|
68
|
-
/**
|
|
69
|
-
* Recreate the model with the given data
|
|
70
|
-
*/
|
|
71
|
-
rehydrate(data: BaseDehydrateData): void;
|
|
72
|
-
/**
|
|
73
|
-
* Returns a clone of the model
|
|
74
|
-
*/
|
|
75
|
-
clone(): any;
|
|
76
|
-
}
|
|
77
|
-
import LayoutHintCollection from "../layouthint/LayoutHintCollection";
|
|
78
|
-
import { ModelOptions } from "../types";
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export default ResourceCollection;
|
|
2
|
-
/**
|
|
3
|
-
* The ResourceCollection makes it possible to add child models to a collection of models
|
|
4
|
-
* These child models are fetched using the ModularUI util
|
|
5
|
-
*/
|
|
6
|
-
declare class ResourceCollection<T, IModelWithChildModels> extends BaseCollection<T> {
|
|
7
|
-
constructor(initCollection?: T[]);
|
|
8
|
-
/**
|
|
9
|
-
* Retrieve all child model links and flatten it into an array with single entries, removing all undefined items
|
|
10
|
-
*/
|
|
11
|
-
getInitialChildModelLinks(): Array<LinkModel>;
|
|
12
|
-
/**
|
|
13
|
-
* Pass through models for setchildmodels to items of this collection
|
|
14
|
-
*/
|
|
15
|
-
setChildModels(models: Array<ModularUIModel>, errors: Array<ErrorResponse>): void;
|
|
16
|
-
}
|
|
17
|
-
import BaseCollection from "./BaseCollection";
|
|
18
|
-
import LinkModel from "../links/LinkModel";
|
|
19
|
-
import { ModularUIModel } from "../types";
|
|
20
|
-
import ErrorResponse from "../error/ErrorResponse";
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
export default ResourceModel;
|
|
2
|
-
/**
|
|
3
|
-
* Base model, this the foundation for models that represent modular ui services, e.g. application, tab, caseview, etc
|
|
4
|
-
*/
|
|
5
|
-
declare class ResourceModel extends BaseModel {
|
|
6
|
-
/**
|
|
7
|
-
* Property to render name of a model, is original name after transpilation
|
|
8
|
-
*/
|
|
9
|
-
static get modelName(): string;
|
|
10
|
-
/**
|
|
11
|
-
* Returns true when the model is supported based on configuration found in contributions
|
|
12
|
-
*
|
|
13
|
-
* @abstract
|
|
14
|
-
*/
|
|
15
|
-
static isApplicableModel(data: ModularUIResponse): boolean;
|
|
16
|
-
/**
|
|
17
|
-
* constructor
|
|
18
|
-
*/
|
|
19
|
-
constructor(modularuiResponse?: ModularUIResponse);
|
|
20
|
-
_key: string;
|
|
21
|
-
_locale: string;
|
|
22
|
-
_childModels: Array<ModularUIModel>;
|
|
23
|
-
_links: LinkCollection;
|
|
24
|
-
_lastServerUpdate: number;
|
|
25
|
-
/**
|
|
26
|
-
*/
|
|
27
|
-
set lastServerUpdate(lastServerUpdate: number);
|
|
28
|
-
/**
|
|
29
|
-
*/
|
|
30
|
-
get lastServerUpdate(): number;
|
|
31
|
-
/**
|
|
32
|
-
*/
|
|
33
|
-
get locale(): string;
|
|
34
|
-
/**
|
|
35
|
-
* Retrieve key
|
|
36
|
-
*/
|
|
37
|
-
get key(): string;
|
|
38
|
-
/**
|
|
39
|
-
* Get type of model
|
|
40
|
-
*
|
|
41
|
-
* @abstract
|
|
42
|
-
*/
|
|
43
|
-
get type(): string;
|
|
44
|
-
/**
|
|
45
|
-
* Retrieve type of resource
|
|
46
|
-
*/
|
|
47
|
-
get resourcetype(): string;
|
|
48
|
-
/**
|
|
49
|
-
*/
|
|
50
|
-
get label(): string;
|
|
51
|
-
/**
|
|
52
|
-
*/
|
|
53
|
-
set links(links: LinkCollection);
|
|
54
|
-
/**
|
|
55
|
-
* Getting the links of the resource
|
|
56
|
-
*/
|
|
57
|
-
get links(): LinkCollection;
|
|
58
|
-
/**
|
|
59
|
-
*
|
|
60
|
-
*/
|
|
61
|
-
get downloadLink(): LinkModel | null;
|
|
62
|
-
/**
|
|
63
|
-
* Get self link of model
|
|
64
|
-
*/
|
|
65
|
-
get selflink(): LinkModel;
|
|
66
|
-
/**
|
|
67
|
-
* Return default self link of resource
|
|
68
|
-
*/
|
|
69
|
-
get selfhref(): Href;
|
|
70
|
-
/**
|
|
71
|
-
* Add links to expand on initialization of this model
|
|
72
|
-
*
|
|
73
|
-
* @abstract
|
|
74
|
-
*/
|
|
75
|
-
getInitialChildModelLinks(): Array<LinkModel>;
|
|
76
|
-
/**
|
|
77
|
-
* Retrieve links of expanded child models
|
|
78
|
-
*/
|
|
79
|
-
get childModels(): Array<ModularUIModel>;
|
|
80
|
-
/**
|
|
81
|
-
* Add child models to this model
|
|
82
|
-
*/
|
|
83
|
-
addChildModels(models: Array<ModularUIModel>, errors: Array<ErrorResponse>): this;
|
|
84
|
-
/**
|
|
85
|
-
* Template to set expanded child models
|
|
86
|
-
* Use this hook to separate the retrieved child models into the correct models.
|
|
87
|
-
*
|
|
88
|
-
* @abstract
|
|
89
|
-
* @example <caption>Put all models of instance List and GroupingPanel into the panels property</caption>
|
|
90
|
-
*/
|
|
91
|
-
setChildModels(models: Array<ModularUIModel>, errors: Array<ErrorResponse>): void;
|
|
92
|
-
/**
|
|
93
|
-
*/
|
|
94
|
-
dehydrate(): Object;
|
|
95
|
-
}
|
|
96
|
-
import BaseModel from "./BaseModel";
|
|
97
|
-
import { ModularUIModel } from "../types";
|
|
98
|
-
import LinkCollection from "../links/LinkCollection";
|
|
99
|
-
import LinkModel from "../links/LinkModel";
|
|
100
|
-
import Href from "../href/Href";
|
|
101
|
-
import ErrorResponse from "../error/ErrorResponse";
|
|
102
|
-
import ModularUIResponse from "../../modularui/ModularUIResponse";
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Model containing the details of one case.
|
|
3
|
-
*/
|
|
4
|
-
export default class CaseViewModel extends DetailModel {
|
|
5
|
-
_taskGroupCollection: TaskGroupCollection;
|
|
6
|
-
/**
|
|
7
|
-
* Getting panel links
|
|
8
|
-
*/
|
|
9
|
-
get panelLinks(): LinkCollection;
|
|
10
|
-
/**
|
|
11
|
-
* Getting the case name
|
|
12
|
-
*/
|
|
13
|
-
get casename(): AttributeType | null;
|
|
14
|
-
/**
|
|
15
|
-
* Retrieve the label that was configured on the caseview
|
|
16
|
-
*/
|
|
17
|
-
get viewLabel(): string;
|
|
18
|
-
/**
|
|
19
|
-
* Check if an introtext exists for this caseview
|
|
20
|
-
*/
|
|
21
|
-
hasIntroText(): boolean;
|
|
22
|
-
/**
|
|
23
|
-
* Getting the introduction text configured on the case view
|
|
24
|
-
*/
|
|
25
|
-
get introtext(): string;
|
|
26
|
-
/**
|
|
27
|
-
*/
|
|
28
|
-
createTaskGroupCollection(): void;
|
|
29
|
-
/**
|
|
30
|
-
* Setting the taskgroup panel collection
|
|
31
|
-
*/
|
|
32
|
-
set taskGroupCollection(taskgroups: Array<TaskGroupModel>);
|
|
33
|
-
/**
|
|
34
|
-
* Getting the taskgrouppanels on the tab
|
|
35
|
-
*/
|
|
36
|
-
get taskGroupCollection(): TaskGroupCollection;
|
|
37
|
-
/**
|
|
38
|
-
* Has taskgroups
|
|
39
|
-
*/
|
|
40
|
-
hasTaskGroups(): boolean;
|
|
41
|
-
}
|
|
42
|
-
import DetailModel from "../detail/DetailModel";
|
|
43
|
-
import TaskGroupCollection from "../taskgroup/TaskGroupCollection";
|
|
44
|
-
import LinkCollection from "../links/LinkCollection";
|
|
45
|
-
import { AttributeType } from "../types";
|
|
46
|
-
import TaskGroupModel from "../taskgroup/TaskGroupModel";
|