@beinformed/ui 1.59.22 → 1.60.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/lib/builder/index.js +18 -0
- package/lib/builder/index.js.map +1 -0
- package/lib/builder/mergeLayoutHintConfigurations.js +60 -0
- package/lib/builder/mergeLayoutHintConfigurations.js.map +1 -0
- package/lib/constants/Constants.js +189 -0
- package/lib/constants/Constants.js.map +1 -0
- package/lib/constants/LayoutHintConfig.js +173 -0
- package/lib/constants/LayoutHintConfig.js.map +1 -0
- package/lib/constants/LayoutHints.js +135 -0
- package/lib/constants/LayoutHints.js.map +1 -0
- package/lib/constants/Settings.js +219 -0
- package/lib/constants/Settings.js.map +1 -0
- package/lib/constants/index.js +40 -0
- package/lib/constants/index.js.map +1 -0
- package/lib/exceptions/ConfigurationException.js +17 -0
- package/lib/exceptions/ConfigurationException.js.map +1 -0
- package/lib/exceptions/FetchException.js +72 -0
- package/lib/exceptions/FetchException.js.map +1 -0
- package/lib/exceptions/IllegalArgumentException.js +17 -0
- package/lib/exceptions/IllegalArgumentException.js.map +1 -0
- package/lib/exceptions/IllegalReturnException.js +16 -0
- package/lib/exceptions/IllegalReturnException.js.map +1 -0
- package/lib/exceptions/IllegalStateException.js +17 -0
- package/lib/exceptions/IllegalStateException.js.map +1 -0
- package/lib/exceptions/JsonParseException.js +17 -0
- package/lib/exceptions/JsonParseException.js.map +1 -0
- package/lib/exceptions/MissingPropertyException.js +17 -0
- package/lib/exceptions/MissingPropertyException.js.map +1 -0
- package/lib/exceptions/NetworkException.js +23 -0
- package/lib/exceptions/NetworkException.js.map +1 -0
- package/lib/exceptions/NotAllowedUriException.js +17 -0
- package/lib/exceptions/NotAllowedUriException.js.map +1 -0
- package/lib/exceptions/NotFoundException.js +26 -0
- package/lib/exceptions/NotFoundException.js.map +1 -0
- package/lib/exceptions/ServerRequestException.js +17 -0
- package/lib/exceptions/ServerRequestException.js.map +1 -0
- package/lib/exceptions/ThemePropertyException.js +17 -0
- package/lib/exceptions/ThemePropertyException.js.map +1 -0
- package/lib/exceptions/TimeoutException.js +17 -0
- package/lib/exceptions/TimeoutException.js.map +1 -0
- package/lib/exceptions/UnauthorizedException.js +25 -0
- package/lib/exceptions/UnauthorizedException.js.map +1 -0
- package/lib/exceptions/UnsupportedOperationException.js +17 -0
- package/lib/exceptions/UnsupportedOperationException.js.map +1 -0
- package/lib/exceptions/index.js +112 -0
- package/lib/exceptions/index.js.map +1 -0
- package/lib/hooks/index.js +183 -0
- package/lib/hooks/index.js.map +1 -0
- package/lib/hooks/useAllFormsOnModel.js +81 -0
- package/lib/hooks/useAllFormsOnModel.js.map +1 -0
- package/lib/hooks/useAuthentication.js +66 -0
- package/lib/hooks/useAuthentication.js.map +1 -0
- package/lib/hooks/useContent.js +49 -0
- package/lib/hooks/useContent.js.map +1 -0
- package/lib/hooks/useDeepCompareEffect.js +35 -0
- package/lib/hooks/useDeepCompareEffect.js.map +1 -0
- package/lib/hooks/useForm.js +98 -0
- package/lib/hooks/useForm.js.map +1 -0
- package/lib/hooks/useI18n.js +42 -0
- package/lib/hooks/useI18n.js.map +1 -0
- package/lib/hooks/useModal.js +43 -0
- package/lib/hooks/useModal.js.map +1 -0
- package/lib/hooks/useModelCatalog.js +179 -0
- package/lib/hooks/useModelCatalog.js.map +1 -0
- package/lib/hooks/useModels.js +45 -0
- package/lib/hooks/useModels.js.map +1 -0
- package/lib/hooks/useModularUI.js +69 -0
- package/lib/hooks/useModularUI.js.map +1 -0
- package/lib/hooks/useModularUIBasic.js +81 -0
- package/lib/hooks/useModularUIBasic.js.map +1 -0
- package/lib/hooks/useModularUIModel.js +128 -0
- package/lib/hooks/useModularUIModel.js.map +1 -0
- package/lib/hooks/useModularUIRequest.js +25 -0
- package/lib/hooks/useModularUIRequest.js.map +1 -0
- package/lib/hooks/useNotification.js +39 -0
- package/lib/hooks/useNotification.js.map +1 -0
- package/lib/hooks/usePreference.js +23 -0
- package/lib/hooks/usePreference.js.map +1 -0
- package/lib/hooks/useProgressIndicator.js +23 -0
- package/lib/hooks/useProgressIndicator.js.map +1 -0
- package/lib/hooks/useRouter.js +42 -0
- package/lib/hooks/useRouter.js.map +1 -0
- package/lib/i18n/Locale.js +128 -0
- package/lib/i18n/Locale.js.map +1 -0
- package/lib/i18n/Locales.js +140 -0
- package/lib/i18n/Locales.js.map +1 -0
- package/lib/i18n/Message.js +50 -0
- package/lib/i18n/Message.js.map +1 -0
- package/lib/i18n/index.js +57 -0
- package/lib/i18n/index.js.map +1 -0
- package/lib/i18n/languages.js +212 -0
- package/lib/i18n/languages.js.map +1 -0
- package/lib/i18n/translations/beinformed_error_messages_en.nl.js +104 -0
- package/lib/i18n/translations/beinformed_error_messages_en.nl.js.map +1 -0
- package/lib/i18n/translations/beinformed_error_messages_nl.nl.js +104 -0
- package/lib/i18n/translations/beinformed_error_messages_nl.nl.js.map +1 -0
- package/lib/i18n/types.js +2 -0
- package/lib/i18n/types.js.map +1 -0
- package/lib/i18n/withMessage.js +27 -0
- package/lib/i18n/withMessage.js.map +1 -0
- package/lib/index.js +73 -0
- package/lib/index.js.map +1 -0
- package/lib/models/actions/ActionCollection.js +90 -0
- package/lib/models/actions/ActionCollection.js.map +1 -0
- package/lib/models/actions/ActionModel.js +194 -0
- package/lib/models/actions/ActionModel.js.map +1 -0
- package/lib/models/application/ApplicationModel.js +133 -0
- package/lib/models/application/ApplicationModel.js.map +1 -0
- package/lib/models/attributes/AttributeCollection.js +282 -0
- package/lib/models/attributes/AttributeCollection.js.map +1 -0
- package/lib/models/attributes/AttributeContent.js +203 -0
- package/lib/models/attributes/AttributeContent.js.map +1 -0
- package/lib/models/attributes/AttributeDataHelper.js +267 -0
- package/lib/models/attributes/AttributeDataHelper.js.map +1 -0
- package/lib/models/attributes/AttributeModel.js +824 -0
- package/lib/models/attributes/AttributeModel.js.map +1 -0
- package/lib/models/attributes/AttributeSetModel.js +105 -0
- package/lib/models/attributes/AttributeSetModel.js.map +1 -0
- package/lib/models/attributes/BooleanAttributeModel.js +295 -0
- package/lib/models/attributes/BooleanAttributeModel.js.map +1 -0
- package/lib/models/attributes/CaptchaAttributeModel.js +60 -0
- package/lib/models/attributes/CaptchaAttributeModel.js.map +1 -0
- package/lib/models/attributes/ChoiceAttributeModel.js +411 -0
- package/lib/models/attributes/ChoiceAttributeModel.js.map +1 -0
- package/lib/models/attributes/ChoiceAttributeOptionCollection.js +300 -0
- package/lib/models/attributes/ChoiceAttributeOptionCollection.js.map +1 -0
- package/lib/models/attributes/ChoiceAttributeOptionModel.js +342 -0
- package/lib/models/attributes/ChoiceAttributeOptionModel.js.map +1 -0
- package/lib/models/attributes/CompositeAttributeChildCollection.js +189 -0
- package/lib/models/attributes/CompositeAttributeChildCollection.js.map +1 -0
- package/lib/models/attributes/CompositeAttributeModel.js +380 -0
- package/lib/models/attributes/CompositeAttributeModel.js.map +1 -0
- package/lib/models/attributes/DatetimeAttributeModel.js +465 -0
- package/lib/models/attributes/DatetimeAttributeModel.js.map +1 -0
- package/lib/models/attributes/HelptextAttributeModel.js +55 -0
- package/lib/models/attributes/HelptextAttributeModel.js.map +1 -0
- package/lib/models/attributes/LabelAttributeModel.js +41 -0
- package/lib/models/attributes/LabelAttributeModel.js.map +1 -0
- package/lib/models/attributes/MemoAttributeModel.js +49 -0
- package/lib/models/attributes/MemoAttributeModel.js.map +1 -0
- package/lib/models/attributes/MoneyAttributeModel.js +49 -0
- package/lib/models/attributes/MoneyAttributeModel.js.map +1 -0
- package/lib/models/attributes/NumberAttributeModel.js +201 -0
- package/lib/models/attributes/NumberAttributeModel.js.map +1 -0
- package/lib/models/attributes/PasswordAttributeModel.js +217 -0
- package/lib/models/attributes/PasswordAttributeModel.js.map +1 -0
- package/lib/models/attributes/StringAttributeModel.js +284 -0
- package/lib/models/attributes/StringAttributeModel.js.map +1 -0
- package/lib/models/attributes/UploadAttributeModel.js +223 -0
- package/lib/models/attributes/UploadAttributeModel.js.map +1 -0
- package/lib/models/attributes/XMLAttributeModel.js +53 -0
- package/lib/models/attributes/XMLAttributeModel.js.map +1 -0
- package/lib/models/attributes/_createAttribute.js +93 -0
- package/lib/models/attributes/_createAttribute.js.map +1 -0
- package/lib/models/attributes/input-constraints/BSNConstraint.js +72 -0
- package/lib/models/attributes/input-constraints/BSNConstraint.js.map +1 -0
- package/lib/models/attributes/input-constraints/ConstraintCollection.js +50 -0
- package/lib/models/attributes/input-constraints/ConstraintCollection.js.map +1 -0
- package/lib/models/attributes/input-constraints/ConstraintModel.js +74 -0
- package/lib/models/attributes/input-constraints/ConstraintModel.js.map +1 -0
- package/lib/models/attributes/input-constraints/DateBoundaryConstraint.js +205 -0
- package/lib/models/attributes/input-constraints/DateBoundaryConstraint.js.map +1 -0
- package/lib/models/attributes/input-constraints/DateTimeDateFormatConstraint.js +76 -0
- package/lib/models/attributes/input-constraints/DateTimeDateFormatConstraint.js.map +1 -0
- package/lib/models/attributes/input-constraints/DateTimeTimeFormatConstraint.js +76 -0
- package/lib/models/attributes/input-constraints/DateTimeTimeFormatConstraint.js.map +1 -0
- package/lib/models/attributes/input-constraints/DatetimeFormatConstraint.js +122 -0
- package/lib/models/attributes/input-constraints/DatetimeFormatConstraint.js.map +1 -0
- package/lib/models/attributes/input-constraints/FileExtensionConstraint.js +66 -0
- package/lib/models/attributes/input-constraints/FileExtensionConstraint.js.map +1 -0
- package/lib/models/attributes/input-constraints/FileSizeConstraint.js +98 -0
- package/lib/models/attributes/input-constraints/FileSizeConstraint.js.map +1 -0
- package/lib/models/attributes/input-constraints/IBANConstraint.js +49 -0
- package/lib/models/attributes/input-constraints/IBANConstraint.js.map +1 -0
- package/lib/models/attributes/input-constraints/MandatoryConstraint.js +53 -0
- package/lib/models/attributes/input-constraints/MandatoryConstraint.js.map +1 -0
- package/lib/models/attributes/input-constraints/MandatoryRangeConstraint.js +85 -0
- package/lib/models/attributes/input-constraints/MandatoryRangeConstraint.js.map +1 -0
- package/lib/models/attributes/input-constraints/NumberBoundaryConstraint.js +177 -0
- package/lib/models/attributes/input-constraints/NumberBoundaryConstraint.js.map +1 -0
- package/lib/models/attributes/input-constraints/NumberFormatConstraint.js +132 -0
- package/lib/models/attributes/input-constraints/NumberFormatConstraint.js.map +1 -0
- package/lib/models/attributes/input-constraints/NumberGroupingConstraint.js +126 -0
- package/lib/models/attributes/input-constraints/NumberGroupingConstraint.js.map +1 -0
- package/lib/models/attributes/input-constraints/PasswordConfirmConstraint.js +72 -0
- package/lib/models/attributes/input-constraints/PasswordConfirmConstraint.js.map +1 -0
- package/lib/models/attributes/input-constraints/PasswordLowerAndUpperCaseConstraint.js +47 -0
- package/lib/models/attributes/input-constraints/PasswordLowerAndUpperCaseConstraint.js.map +1 -0
- package/lib/models/attributes/input-constraints/PasswordMinNumericCharactersConstraint.js +64 -0
- package/lib/models/attributes/input-constraints/PasswordMinNumericCharactersConstraint.js.map +1 -0
- package/lib/models/attributes/input-constraints/PasswordMinSpecialCharactersConstraint.js +64 -0
- package/lib/models/attributes/input-constraints/PasswordMinSpecialCharactersConstraint.js.map +1 -0
- package/lib/models/attributes/input-constraints/PasswordThreeConsecutiveCharactersNotAllowedConstraint.js +78 -0
- package/lib/models/attributes/input-constraints/PasswordThreeConsecutiveCharactersNotAllowedConstraint.js.map +1 -0
- package/lib/models/attributes/input-constraints/RangeConstraint.js +143 -0
- package/lib/models/attributes/input-constraints/RangeConstraint.js.map +1 -0
- package/lib/models/attributes/input-constraints/RegexConstraint.js +67 -0
- package/lib/models/attributes/input-constraints/RegexConstraint.js.map +1 -0
- package/lib/models/attributes/input-constraints/StringLengthConstraint.js +178 -0
- package/lib/models/attributes/input-constraints/StringLengthConstraint.js.map +1 -0
- package/lib/models/attributes/input-constraints/XMLConstraint.js +62 -0
- package/lib/models/attributes/input-constraints/XMLConstraint.js.map +1 -0
- package/lib/models/attributes/layouthint-rules/BaseLayoutHintRule.js +66 -0
- package/lib/models/attributes/layouthint-rules/BaseLayoutHintRule.js.map +1 -0
- package/lib/models/attributes/layouthint-rules/DependentAttribute.js +200 -0
- package/lib/models/attributes/layouthint-rules/DependentAttribute.js.map +1 -0
- package/lib/models/attributes/layouthint-rules/LayoutHintRuleCollection.js +88 -0
- package/lib/models/attributes/layouthint-rules/LayoutHintRuleCollection.js.map +1 -0
- package/lib/models/attributes/layouthint-rules/RemainingTotalUploadSize.js +51 -0
- package/lib/models/attributes/layouthint-rules/RemainingTotalUploadSize.js.map +1 -0
- package/lib/models/base/BaseCollection.js +186 -0
- package/lib/models/base/BaseCollection.js.map +1 -0
- package/lib/models/base/BaseModel.js +149 -0
- package/lib/models/base/BaseModel.js.map +1 -0
- package/lib/models/base/ResourceCollection.js +41 -0
- package/lib/models/base/ResourceCollection.js.map +1 -0
- package/lib/models/base/ResourceModel.js +209 -0
- package/lib/models/base/ResourceModel.js.map +1 -0
- package/lib/models/caseview/CaseViewModel.js +163 -0
- package/lib/models/caseview/CaseViewModel.js.map +1 -0
- package/lib/models/concepts/BusinessScenarioModel.js +122 -0
- package/lib/models/concepts/BusinessScenarioModel.js.map +1 -0
- package/lib/models/concepts/ConceptDetailModel.js +281 -0
- package/lib/models/concepts/ConceptDetailModel.js.map +1 -0
- package/lib/models/concepts/ConceptIndexModel.js +150 -0
- package/lib/models/concepts/ConceptIndexModel.js.map +1 -0
- package/lib/models/concepts/ConceptLinkModel.js +152 -0
- package/lib/models/concepts/ConceptLinkModel.js.map +1 -0
- package/lib/models/concepts/ConceptRelationCollection.js +82 -0
- package/lib/models/concepts/ConceptRelationCollection.js.map +1 -0
- package/lib/models/concepts/ConceptRelationModel.js +115 -0
- package/lib/models/concepts/ConceptRelationModel.js.map +1 -0
- package/lib/models/concepts/ConceptTypeDetailModel.js +128 -0
- package/lib/models/concepts/ConceptTypeDetailModel.js.map +1 -0
- package/lib/models/concepts/SourceReferenceCollection.js +35 -0
- package/lib/models/concepts/SourceReferenceCollection.js.map +1 -0
- package/lib/models/concepts/SourceReferenceModel.js +73 -0
- package/lib/models/concepts/SourceReferenceModel.js.map +1 -0
- package/lib/models/content/ContentIndexModel.js +142 -0
- package/lib/models/content/ContentIndexModel.js.map +1 -0
- package/lib/models/content/ContentLinkModel.js +193 -0
- package/lib/models/content/ContentLinkModel.js.map +1 -0
- package/lib/models/content/ContentModel.js +207 -0
- package/lib/models/content/ContentModel.js.map +1 -0
- package/lib/models/content/ContentTOCModel.js +163 -0
- package/lib/models/content/ContentTOCModel.js.map +1 -0
- package/lib/models/content/ContentTypeModel.js +74 -0
- package/lib/models/content/ContentTypeModel.js.map +1 -0
- package/lib/models/content/SectionModel.js +180 -0
- package/lib/models/content/SectionModel.js.map +1 -0
- package/lib/models/content/SubSectionModel.js +167 -0
- package/lib/models/content/SubSectionModel.js.map +1 -0
- package/lib/models/contentconfiguration/ContentConfiguration.js +75 -0
- package/lib/models/contentconfiguration/ContentConfiguration.js.map +1 -0
- package/lib/models/contentconfiguration/ContentConfigurationElements.js +143 -0
- package/lib/models/contentconfiguration/ContentConfigurationElements.js.map +1 -0
- package/lib/models/contentconfiguration/ContentConfigurationEndResults.js +49 -0
- package/lib/models/contentconfiguration/ContentConfigurationEndResults.js.map +1 -0
- package/lib/models/contentconfiguration/ContentConfigurationQuestions.js +54 -0
- package/lib/models/contentconfiguration/ContentConfigurationQuestions.js.map +1 -0
- package/lib/models/contentconfiguration/ContentConfigurationResults.js +103 -0
- package/lib/models/contentconfiguration/ContentConfigurationResults.js.map +1 -0
- package/lib/models/detail/DetailModel.js +219 -0
- package/lib/models/detail/DetailModel.js.map +1 -0
- package/lib/models/error/ErrorCollection.js +111 -0
- package/lib/models/error/ErrorCollection.js.map +1 -0
- package/lib/models/error/ErrorModel.js +81 -0
- package/lib/models/error/ErrorModel.js.map +1 -0
- package/lib/models/error/ErrorResponse.js +304 -0
- package/lib/models/error/ErrorResponse.js.map +1 -0
- package/lib/models/filters/AssignmentFilterModel.js +161 -0
- package/lib/models/filters/AssignmentFilterModel.js.map +1 -0
- package/lib/models/filters/BaseFilterModel.js +210 -0
- package/lib/models/filters/BaseFilterModel.js.map +1 -0
- package/lib/models/filters/ConceptIndexFilterModel.js +36 -0
- package/lib/models/filters/ConceptIndexFilterModel.js.map +1 -0
- package/lib/models/filters/FilterCollection.js +155 -0
- package/lib/models/filters/FilterCollection.js.map +1 -0
- package/lib/models/filters/FilterModel.js +13 -0
- package/lib/models/filters/FilterModel.js.map +1 -0
- package/lib/models/filters/RangeFilterModel.js +44 -0
- package/lib/models/filters/RangeFilterModel.js.map +1 -0
- package/lib/models/filters/StringFilterModel.js +147 -0
- package/lib/models/filters/StringFilterModel.js.map +1 -0
- package/lib/models/form/FormModel.js +1038 -0
- package/lib/models/form/FormModel.js.map +1 -0
- package/lib/models/form/FormObjectModel.js +474 -0
- package/lib/models/form/FormObjectModel.js.map +1 -0
- package/lib/models/grouping/GroupingModel.js +191 -0
- package/lib/models/grouping/GroupingModel.js.map +1 -0
- package/lib/models/href/Href.js +496 -0
- package/lib/models/href/Href.js.map +1 -0
- package/lib/models/href/ListHref.js +135 -0
- package/lib/models/href/ListHref.js.map +1 -0
- package/lib/models/index.js +687 -0
- package/lib/models/index.js.map +1 -0
- package/lib/models/layouthint/LayoutHintCollection.js +118 -0
- package/lib/models/layouthint/LayoutHintCollection.js.map +1 -0
- package/lib/models/links/LinkCollection.js +171 -0
- package/lib/models/links/LinkCollection.js.map +1 -0
- package/lib/models/links/LinkModel.js +216 -0
- package/lib/models/links/LinkModel.js.map +1 -0
- package/lib/models/links/normalizeLinkJSON.js +107 -0
- package/lib/models/links/normalizeLinkJSON.js.map +1 -0
- package/lib/models/list/ListDetailModel.js +266 -0
- package/lib/models/list/ListDetailModel.js.map +1 -0
- package/lib/models/list/ListHeaderModel.js +95 -0
- package/lib/models/list/ListHeaderModel.js.map +1 -0
- package/lib/models/list/ListItemCollection.js +67 -0
- package/lib/models/list/ListItemCollection.js.map +1 -0
- package/lib/models/list/ListItemModel.js +95 -0
- package/lib/models/list/ListItemModel.js.map +1 -0
- package/lib/models/list/ListModel.js +385 -0
- package/lib/models/list/ListModel.js.map +1 -0
- package/lib/models/lookup/LookupOptionCollection.js +45 -0
- package/lib/models/lookup/LookupOptionCollection.js.map +1 -0
- package/lib/models/lookup/LookupOptionsModel.js +71 -0
- package/lib/models/lookup/LookupOptionsModel.js.map +1 -0
- package/lib/models/modelcatalog/ModelCatalogModel.js +69 -0
- package/lib/models/modelcatalog/ModelCatalogModel.js.map +1 -0
- package/lib/models/modelcatalog/ModelCategoryCollection.js +24 -0
- package/lib/models/modelcatalog/ModelCategoryCollection.js.map +1 -0
- package/lib/models/modelcatalog/ModelCategoryModel.js +60 -0
- package/lib/models/modelcatalog/ModelCategoryModel.js.map +1 -0
- package/lib/models/paging/PagesizeModel.js +50 -0
- package/lib/models/paging/PagesizeModel.js.map +1 -0
- package/lib/models/paging/PagingModel.js +95 -0
- package/lib/models/paging/PagingModel.js.map +1 -0
- package/lib/models/panels/GroupingPanelModel.js +143 -0
- package/lib/models/panels/GroupingPanelModel.js.map +1 -0
- package/lib/models/parameter/Parameter.js +108 -0
- package/lib/models/parameter/Parameter.js.map +1 -0
- package/lib/models/process/ProcessStatusSettingsModel.js +85 -0
- package/lib/models/process/ProcessStatusSettingsModel.js.map +1 -0
- package/lib/models/resolveModel.js +57 -0
- package/lib/models/resolveModel.js.map +1 -0
- package/lib/models/search/CaseSearchModel.js +47 -0
- package/lib/models/search/CaseSearchModel.js.map +1 -0
- package/lib/models/sorting/SortOptionModel.js +106 -0
- package/lib/models/sorting/SortOptionModel.js.map +1 -0
- package/lib/models/sorting/SortingModel.js +112 -0
- package/lib/models/sorting/SortingModel.js.map +1 -0
- package/lib/models/tab/TabModel.js +143 -0
- package/lib/models/tab/TabModel.js.map +1 -0
- package/lib/models/taskgroup/TaskGroupCollection.js +21 -0
- package/lib/models/taskgroup/TaskGroupCollection.js.map +1 -0
- package/lib/models/taskgroup/TaskGroupModel.js +87 -0
- package/lib/models/taskgroup/TaskGroupModel.js.map +1 -0
- package/lib/models/types.js +2 -0
- package/lib/models/types.js.map +1 -0
- package/lib/models/user/UserModel.js +59 -0
- package/lib/models/user/UserModel.js.map +1 -0
- package/lib/models/user/UserProfileModel.js +55 -0
- package/lib/models/user/UserProfileModel.js.map +1 -0
- package/lib/models/user/UserServicesModel.js +126 -0
- package/lib/models/user/UserServicesModel.js.map +1 -0
- package/lib/modularui/Authenticate.js +183 -0
- package/lib/modularui/Authenticate.js.map +1 -0
- package/lib/modularui/CaptchaRequest.js +71 -0
- package/lib/modularui/CaptchaRequest.js.map +1 -0
- package/lib/modularui/ModularUIError.js +30 -0
- package/lib/modularui/ModularUIError.js.map +1 -0
- package/lib/modularui/ModularUIRequest.js +716 -0
- package/lib/modularui/ModularUIRequest.js.map +1 -0
- package/lib/modularui/ModularUIResponse.js +147 -0
- package/lib/modularui/ModularUIResponse.js.map +1 -0
- package/lib/modularui/UploadRequest.js +103 -0
- package/lib/modularui/UploadRequest.js.map +1 -0
- package/lib/modularui/index.js +42 -0
- package/lib/modularui/index.js.map +1 -0
- package/lib/modularui/types.js +2 -0
- package/lib/modularui/types.js.map +1 -0
- package/lib/react/ErrorBoundary.js +56 -0
- package/lib/react/ErrorBoundary.js.map +1 -0
- package/lib/react/ErrorBoundaryFallback.js +41 -0
- package/lib/react/ErrorBoundaryFallback.js.map +1 -0
- package/lib/react/index.js +29 -0
- package/lib/react/index.js.map +1 -0
- package/lib/react/utils.js +32 -0
- package/lib/react/utils.js.map +1 -0
- package/lib/react-client/Init.js +44 -0
- package/lib/react-client/Init.js.map +1 -0
- package/lib/react-client/client.js +216 -0
- package/lib/react-client/client.js.map +1 -0
- package/lib/react-client/contextPath.js +26 -0
- package/lib/react-client/contextPath.js.map +1 -0
- package/lib/react-client/index.js +40 -0
- package/lib/react-client/index.js.map +1 -0
- package/lib/react-client/rehydrate.js +73 -0
- package/lib/react-client/rehydrate.js.map +1 -0
- package/lib/react-server/contextPath.js +10 -0
- package/lib/react-server/contextPath.js.map +1 -0
- package/lib/react-server/createSSRComplete.js +61 -0
- package/lib/react-server/createSSRComplete.js.map +1 -0
- package/lib/react-server/htmlpage.js +54 -0
- package/lib/react-server/htmlpage.js.map +1 -0
- package/lib/react-server/index.js +82 -0
- package/lib/react-server/index.js.map +1 -0
- package/lib/react-server/renderSSRComplete.js +91 -0
- package/lib/react-server/renderSSRComplete.js.map +1 -0
- package/lib/react-server/renderSSRMinimal.js +47 -0
- package/lib/react-server/renderSSRMinimal.js.map +1 -0
- package/lib/react-server/requestInformation.js +46 -0
- package/lib/react-server/requestInformation.js.map +1 -0
- package/lib/react-server/serverNoSSR.js +63 -0
- package/lib/react-server/serverNoSSR.js.map +1 -0
- package/lib/react-server/serverSSR.js +51 -0
- package/lib/react-server/serverSSR.js.map +1 -0
- package/lib/react-server/serverUtil.js +218 -0
- package/lib/react-server/serverUtil.js.map +1 -0
- package/lib/react-theme/ThemeProvider.js +33 -0
- package/lib/react-theme/ThemeProvider.js.map +1 -0
- package/lib/react-theme/createTheme.js +115 -0
- package/lib/react-theme/createTheme.js.map +1 -0
- package/lib/react-theme/index.js +110 -0
- package/lib/react-theme/index.js.map +1 -0
- package/lib/react-theme/types.js +2 -0
- package/lib/react-theme/types.js.map +1 -0
- package/lib/react-theme/useTheme.js +15 -0
- package/lib/react-theme/useTheme.js.map +1 -0
- package/lib/react-theme/utils/background.js +21 -0
- package/lib/react-theme/utils/background.js.map +1 -0
- package/lib/react-theme/utils/colors.js +45 -0
- package/lib/react-theme/utils/colors.js.map +1 -0
- package/lib/react-theme/utils/contrast.js +95 -0
- package/lib/react-theme/utils/contrast.js.map +1 -0
- package/lib/react-theme/utils/corners.js +34 -0
- package/lib/react-theme/utils/corners.js.map +1 -0
- package/lib/react-theme/utils/spacers.js +89 -0
- package/lib/react-theme/utils/spacers.js.map +1 -0
- package/lib/react-theme/utils/themeProps.js +75 -0
- package/lib/react-theme/utils/themeProps.js.map +1 -0
- package/lib/redux/_i18n/I18nActions.js +37 -0
- package/lib/redux/_i18n/I18nActions.js.map +1 -0
- package/lib/redux/_i18n/I18nReducer.js +78 -0
- package/lib/redux/_i18n/I18nReducer.js.map +1 -0
- package/lib/redux/_i18n/index.js +29 -0
- package/lib/redux/_i18n/index.js.map +1 -0
- package/lib/redux/_i18n/types.js +2 -0
- package/lib/redux/_i18n/types.js.map +1 -0
- package/lib/redux/_modularui/ModularUIActions.js +168 -0
- package/lib/redux/_modularui/ModularUIActions.js.map +1 -0
- package/lib/redux/_modularui/ModularUIConnector.js +123 -0
- package/lib/redux/_modularui/ModularUIConnector.js.map +1 -0
- package/lib/redux/_modularui/ModularUIMiddleware.js +107 -0
- package/lib/redux/_modularui/ModularUIMiddleware.js.map +1 -0
- package/lib/redux/_modularui/ModularUIReducer.js +157 -0
- package/lib/redux/_modularui/ModularUIReducer.js.map +1 -0
- package/lib/redux/_modularui/ModularUISelectors.js +270 -0
- package/lib/redux/_modularui/ModularUISelectors.js.map +1 -0
- package/lib/redux/_modularui/ModularUIUtils.js +83 -0
- package/lib/redux/_modularui/ModularUIUtils.js.map +1 -0
- package/lib/redux/_modularui/index.js +86 -0
- package/lib/redux/_modularui/index.js.map +1 -0
- package/lib/redux/_modularui/types.js +2 -0
- package/lib/redux/_modularui/types.js.map +1 -0
- package/lib/redux/_modularui/withModularUI.js +41 -0
- package/lib/redux/_modularui/withModularUI.js.map +1 -0
- package/lib/redux/_router/RouterActions.js +67 -0
- package/lib/redux/_router/RouterActions.js.map +1 -0
- package/lib/redux/_router/RouterConnectors.js +42 -0
- package/lib/redux/_router/RouterConnectors.js.map +1 -0
- package/lib/redux/_router/RouterMiddleware.js +38 -0
- package/lib/redux/_router/RouterMiddleware.js.map +1 -0
- package/lib/redux/_router/RouterReducer.js +22 -0
- package/lib/redux/_router/RouterReducer.js.map +1 -0
- package/lib/redux/_router/index.js +51 -0
- package/lib/redux/_router/index.js.map +1 -0
- package/lib/redux/_router/types.js +2 -0
- package/lib/redux/_router/types.js.map +1 -0
- package/lib/redux/actions/Application.js +38 -0
- package/lib/redux/actions/Application.js.map +1 -0
- package/lib/redux/actions/Authorization.js +55 -0
- package/lib/redux/actions/Authorization.js.map +1 -0
- package/lib/redux/actions/Error.js +74 -0
- package/lib/redux/actions/Error.js.map +1 -0
- package/lib/redux/actions/Form.js +39 -0
- package/lib/redux/actions/Form.js.map +1 -0
- package/lib/redux/actions/FormAttributeSet.js +69 -0
- package/lib/redux/actions/FormAttributeSet.js.map +1 -0
- package/lib/redux/actions/FormAttributeSetRepeatable.js +35 -0
- package/lib/redux/actions/FormAttributeSetRepeatable.js.map +1 -0
- package/lib/redux/actions/FormAutosave.js +60 -0
- package/lib/redux/actions/FormAutosave.js.map +1 -0
- package/lib/redux/actions/FormAutosubmit.js +38 -0
- package/lib/redux/actions/FormAutosubmit.js.map +1 -0
- package/lib/redux/actions/FormAutoupdate.js +37 -0
- package/lib/redux/actions/FormAutoupdate.js.map +1 -0
- package/lib/redux/actions/FormValidations.js +51 -0
- package/lib/redux/actions/FormValidations.js.map +1 -0
- package/lib/redux/actions/Modals.js +22 -0
- package/lib/redux/actions/Modals.js.map +1 -0
- package/lib/redux/actions/ModelCatalog.js +15 -0
- package/lib/redux/actions/ModelCatalog.js.map +1 -0
- package/lib/redux/actions/Notification.js +76 -0
- package/lib/redux/actions/Notification.js.map +1 -0
- package/lib/redux/actions/Preferences.js +128 -0
- package/lib/redux/actions/Preferences.js.map +1 -0
- package/lib/redux/actions/ProgressIndicator.js +42 -0
- package/lib/redux/actions/ProgressIndicator.js.map +1 -0
- package/lib/redux/actions/SignIn.js +90 -0
- package/lib/redux/actions/SignIn.js.map +1 -0
- package/lib/redux/actions/SignOut.js +30 -0
- package/lib/redux/actions/SignOut.js.map +1 -0
- package/lib/redux/actions/index.js +183 -0
- package/lib/redux/actions/index.js.map +1 -0
- package/lib/redux/connectors/Application.js +14 -0
- package/lib/redux/connectors/Application.js.map +1 -0
- package/lib/redux/connectors/Breadcrumb.js +16 -0
- package/lib/redux/connectors/Breadcrumb.js.map +1 -0
- package/lib/redux/connectors/CaseView.js +19 -0
- package/lib/redux/connectors/CaseView.js.map +1 -0
- package/lib/redux/connectors/ConceptDetail.js +20 -0
- package/lib/redux/connectors/ConceptDetail.js.map +1 -0
- package/lib/redux/connectors/ContentBrowser.js +19 -0
- package/lib/redux/connectors/ContentBrowser.js.map +1 -0
- package/lib/redux/connectors/ContentDetail.js +20 -0
- package/lib/redux/connectors/ContentDetail.js.map +1 -0
- package/lib/redux/connectors/ContentDetailSection.js +22 -0
- package/lib/redux/connectors/ContentDetailSection.js.map +1 -0
- package/lib/redux/connectors/Form.js +43 -0
- package/lib/redux/connectors/Form.js.map +1 -0
- package/lib/redux/connectors/FormAttributeSet.js +27 -0
- package/lib/redux/connectors/FormAttributeSet.js.map +1 -0
- package/lib/redux/connectors/ListDetail.js +21 -0
- package/lib/redux/connectors/ListDetail.js.map +1 -0
- package/lib/redux/connectors/Modal.js +27 -0
- package/lib/redux/connectors/Modal.js.map +1 -0
- package/lib/redux/connectors/ModelCatalog.js +19 -0
- package/lib/redux/connectors/ModelCatalog.js.map +1 -0
- package/lib/redux/connectors/Notification.js +22 -0
- package/lib/redux/connectors/Notification.js.map +1 -0
- package/lib/redux/connectors/PanelRenderer.js +29 -0
- package/lib/redux/connectors/PanelRenderer.js.map +1 -0
- package/lib/redux/connectors/Preferences.js +29 -0
- package/lib/redux/connectors/Preferences.js.map +1 -0
- package/lib/redux/connectors/Progress.js +19 -0
- package/lib/redux/connectors/Progress.js.map +1 -0
- package/lib/redux/connectors/ProgressIndicator.js +19 -0
- package/lib/redux/connectors/ProgressIndicator.js.map +1 -0
- package/lib/redux/connectors/QuickSearch.js +27 -0
- package/lib/redux/connectors/QuickSearch.js.map +1 -0
- package/lib/redux/connectors/SignIn.js +24 -0
- package/lib/redux/connectors/SignIn.js.map +1 -0
- package/lib/redux/connectors/SignOut.js +20 -0
- package/lib/redux/connectors/SignOut.js.map +1 -0
- package/lib/redux/connectors/Tab.js +19 -0
- package/lib/redux/connectors/Tab.js.map +1 -0
- package/lib/redux/connectors/index.js +153 -0
- package/lib/redux/connectors/index.js.map +1 -0
- package/lib/redux/index.js +102 -0
- package/lib/redux/index.js.map +1 -0
- package/lib/redux/reducers/AuthReducer.js +59 -0
- package/lib/redux/reducers/AuthReducer.js.map +1 -0
- package/lib/redux/reducers/ErrorReducer.js +22 -0
- package/lib/redux/reducers/ErrorReducer.js.map +1 -0
- package/lib/redux/reducers/ModalsReducer.js +58 -0
- package/lib/redux/reducers/ModalsReducer.js.map +1 -0
- package/lib/redux/reducers/ModelCatalogReducer.js +34 -0
- package/lib/redux/reducers/ModelCatalogReducer.js.map +1 -0
- package/lib/redux/reducers/NotificationReducer.js +43 -0
- package/lib/redux/reducers/NotificationReducer.js.map +1 -0
- package/lib/redux/reducers/PreferencesReducer.js +30 -0
- package/lib/redux/reducers/PreferencesReducer.js.map +1 -0
- package/lib/redux/reducers/ProgressIndicatorReducer.js +55 -0
- package/lib/redux/reducers/ProgressIndicatorReducer.js.map +1 -0
- package/lib/redux/reducers/createReducer.js +33 -0
- package/lib/redux/reducers/createReducer.js.map +1 -0
- package/lib/redux/reducers/index.js +78 -0
- package/lib/redux/reducers/index.js.map +1 -0
- package/lib/redux/selectors/i18n.js +20 -0
- package/lib/redux/selectors/i18n.js.map +1 -0
- package/lib/redux/selectors/index.js +29 -0
- package/lib/redux/selectors/index.js.map +1 -0
- package/lib/redux/selectors/modelcatalog.js +14 -0
- package/lib/redux/selectors/modelcatalog.js.map +1 -0
- package/lib/redux/store/beforeRenderHooks.js +24 -0
- package/lib/redux/store/beforeRenderHooks.js.map +1 -0
- package/lib/redux/store/configureStore.js +42 -0
- package/lib/redux/store/configureStore.js.map +1 -0
- package/lib/redux/types.js +2 -0
- package/lib/redux/types.js.map +1 -0
- package/lib/utils/browser/Cache.js +151 -0
- package/lib/utils/browser/Cache.js.map +1 -0
- package/lib/utils/browser/Cookies.js +38 -0
- package/lib/utils/browser/Cookies.js.map +1 -0
- package/lib/utils/datetime/DateTimeUtil.js +648 -0
- package/lib/utils/datetime/DateTimeUtil.js.map +1 -0
- package/lib/utils/fetch/serverFetch.js +32 -0
- package/lib/utils/fetch/serverFetch.js.map +1 -0
- package/lib/utils/fetch/types.js +2 -0
- package/lib/utils/fetch/types.js.map +1 -0
- package/lib/utils/fetch/universalFetch.js +94 -0
- package/lib/utils/fetch/universalFetch.js.map +1 -0
- package/lib/utils/fetch/xhr.js +358 -0
- package/lib/utils/fetch/xhr.js.map +1 -0
- package/lib/utils/helpers/checkResource.js +46 -0
- package/lib/utils/helpers/checkResource.js.map +1 -0
- package/lib/utils/helpers/createHash.js +28 -0
- package/lib/utils/helpers/createHash.js.map +1 -0
- package/lib/utils/helpers/createHref.js +101 -0
- package/lib/utils/helpers/createHref.js.map +1 -0
- package/lib/utils/helpers/createUUID.js +18 -0
- package/lib/utils/helpers/createUUID.js.map +1 -0
- package/lib/utils/helpers/index.js +102 -0
- package/lib/utils/helpers/index.js.map +1 -0
- package/lib/utils/helpers/objects.js +36 -0
- package/lib/utils/helpers/objects.js.map +1 -0
- package/lib/utils/helpers/repositoryResource.js +26 -0
- package/lib/utils/helpers/repositoryResource.js.map +1 -0
- package/lib/utils/helpers/sanitizeHtml.js +44 -0
- package/lib/utils/helpers/sanitizeHtml.js.map +1 -0
- package/lib/utils/helpers/text.js +23 -0
- package/lib/utils/helpers/text.js.map +1 -0
- package/lib/utils/index.js +106 -0
- package/lib/utils/index.js.map +1 -0
- package/lib/utils/number/DecimalFormat.js +333 -0
- package/lib/utils/number/DecimalFormat.js.map +1 -0
- package/lib/utils/number/formatValue.js +47 -0
- package/lib/utils/number/formatValue.js.map +1 -0
- package/lib/utils/number/parseNumbers.js +70 -0
- package/lib/utils/number/parseNumbers.js.map +1 -0
- package/package.json +59 -143
- package/builder/package.json +0 -12
- package/constants/package.json +0 -12
- package/exceptions/package.json +0 -12
- package/hooks/package.json +0 -12
- package/i18n/package.json +0 -12
- package/lib/builder/index.cjs +0 -18
- package/lib/builder/index.cjs.map +0 -1
- package/lib/builder/mergeLayoutHintConfigurations.cjs +0 -60
- package/lib/builder/mergeLayoutHintConfigurations.cjs.map +0 -1
- package/lib/constants/Constants.cjs +0 -189
- package/lib/constants/Constants.cjs.map +0 -1
- package/lib/constants/LayoutHintConfig.cjs +0 -173
- package/lib/constants/LayoutHintConfig.cjs.map +0 -1
- package/lib/constants/LayoutHints.cjs +0 -135
- package/lib/constants/LayoutHints.cjs.map +0 -1
- package/lib/constants/Settings.cjs +0 -219
- package/lib/constants/Settings.cjs.map +0 -1
- package/lib/constants/index.cjs +0 -40
- package/lib/constants/index.cjs.map +0 -1
- package/lib/exceptions/ConfigurationException.cjs +0 -17
- package/lib/exceptions/ConfigurationException.cjs.map +0 -1
- package/lib/exceptions/FetchException.cjs +0 -72
- package/lib/exceptions/FetchException.cjs.map +0 -1
- package/lib/exceptions/IllegalArgumentException.cjs +0 -17
- package/lib/exceptions/IllegalArgumentException.cjs.map +0 -1
- package/lib/exceptions/IllegalReturnException.cjs +0 -16
- package/lib/exceptions/IllegalReturnException.cjs.map +0 -1
- package/lib/exceptions/IllegalStateException.cjs +0 -17
- package/lib/exceptions/IllegalStateException.cjs.map +0 -1
- package/lib/exceptions/JsonParseException.cjs +0 -17
- package/lib/exceptions/JsonParseException.cjs.map +0 -1
- package/lib/exceptions/MissingPropertyException.cjs +0 -17
- package/lib/exceptions/MissingPropertyException.cjs.map +0 -1
- package/lib/exceptions/NetworkException.cjs +0 -23
- package/lib/exceptions/NetworkException.cjs.map +0 -1
- package/lib/exceptions/NotAllowedUriException.cjs +0 -17
- package/lib/exceptions/NotAllowedUriException.cjs.map +0 -1
- package/lib/exceptions/NotFoundException.cjs +0 -26
- package/lib/exceptions/NotFoundException.cjs.map +0 -1
- package/lib/exceptions/ServerRequestException.cjs +0 -17
- package/lib/exceptions/ServerRequestException.cjs.map +0 -1
- package/lib/exceptions/ThemePropertyException.cjs +0 -17
- package/lib/exceptions/ThemePropertyException.cjs.map +0 -1
- package/lib/exceptions/TimeoutException.cjs +0 -17
- package/lib/exceptions/TimeoutException.cjs.map +0 -1
- package/lib/exceptions/UnauthorizedException.cjs +0 -25
- package/lib/exceptions/UnauthorizedException.cjs.map +0 -1
- package/lib/exceptions/UnsupportedOperationException.cjs +0 -17
- package/lib/exceptions/UnsupportedOperationException.cjs.map +0 -1
- package/lib/exceptions/index.cjs +0 -112
- package/lib/exceptions/index.cjs.map +0 -1
- package/lib/hooks/index.cjs +0 -183
- package/lib/hooks/index.cjs.map +0 -1
- package/lib/hooks/useAllFormsOnModel.cjs +0 -81
- package/lib/hooks/useAllFormsOnModel.cjs.map +0 -1
- package/lib/hooks/useAuthentication.cjs +0 -66
- package/lib/hooks/useAuthentication.cjs.map +0 -1
- package/lib/hooks/useContent.cjs +0 -49
- package/lib/hooks/useContent.cjs.map +0 -1
- package/lib/hooks/useDeepCompareEffect.cjs +0 -35
- package/lib/hooks/useDeepCompareEffect.cjs.map +0 -1
- package/lib/hooks/useForm.cjs +0 -98
- package/lib/hooks/useForm.cjs.map +0 -1
- package/lib/hooks/useI18n.cjs +0 -42
- package/lib/hooks/useI18n.cjs.map +0 -1
- package/lib/hooks/useModal.cjs +0 -43
- package/lib/hooks/useModal.cjs.map +0 -1
- package/lib/hooks/useModelCatalog.cjs +0 -179
- package/lib/hooks/useModelCatalog.cjs.map +0 -1
- package/lib/hooks/useModels.cjs +0 -45
- package/lib/hooks/useModels.cjs.map +0 -1
- package/lib/hooks/useModularUI.cjs +0 -69
- package/lib/hooks/useModularUI.cjs.map +0 -1
- package/lib/hooks/useModularUIBasic.cjs +0 -81
- package/lib/hooks/useModularUIBasic.cjs.map +0 -1
- package/lib/hooks/useModularUIModel.cjs +0 -128
- package/lib/hooks/useModularUIModel.cjs.map +0 -1
- package/lib/hooks/useModularUIRequest.cjs +0 -25
- package/lib/hooks/useModularUIRequest.cjs.map +0 -1
- package/lib/hooks/useNotification.cjs +0 -39
- package/lib/hooks/useNotification.cjs.map +0 -1
- package/lib/hooks/usePreference.cjs +0 -23
- package/lib/hooks/usePreference.cjs.map +0 -1
- package/lib/hooks/useProgressIndicator.cjs +0 -23
- package/lib/hooks/useProgressIndicator.cjs.map +0 -1
- package/lib/hooks/useRouter.cjs +0 -42
- package/lib/hooks/useRouter.cjs.map +0 -1
- package/lib/i18n/Locale.cjs +0 -128
- package/lib/i18n/Locale.cjs.map +0 -1
- package/lib/i18n/Locales.cjs +0 -140
- package/lib/i18n/Locales.cjs.map +0 -1
- package/lib/i18n/Message.cjs +0 -50
- package/lib/i18n/Message.cjs.map +0 -1
- package/lib/i18n/index.cjs +0 -57
- package/lib/i18n/index.cjs.map +0 -1
- package/lib/i18n/languages.cjs +0 -212
- package/lib/i18n/languages.cjs.map +0 -1
- package/lib/i18n/translations/beinformed_error_messages_en.nl.cjs +0 -104
- package/lib/i18n/translations/beinformed_error_messages_en.nl.cjs.map +0 -1
- package/lib/i18n/translations/beinformed_error_messages_nl.nl.cjs +0 -104
- package/lib/i18n/translations/beinformed_error_messages_nl.nl.cjs.map +0 -1
- package/lib/i18n/types.cjs +0 -2
- package/lib/i18n/types.cjs.map +0 -1
- package/lib/i18n/withMessage.cjs +0 -27
- package/lib/i18n/withMessage.cjs.map +0 -1
- package/lib/index.cjs +0 -73
- package/lib/index.cjs.map +0 -1
- package/lib/models/actions/ActionCollection.cjs +0 -90
- package/lib/models/actions/ActionCollection.cjs.map +0 -1
- package/lib/models/actions/ActionModel.cjs +0 -194
- package/lib/models/actions/ActionModel.cjs.map +0 -1
- package/lib/models/application/ApplicationModel.cjs +0 -133
- package/lib/models/application/ApplicationModel.cjs.map +0 -1
- package/lib/models/attributes/AttributeCollection.cjs +0 -282
- package/lib/models/attributes/AttributeCollection.cjs.map +0 -1
- package/lib/models/attributes/AttributeContent.cjs +0 -203
- package/lib/models/attributes/AttributeContent.cjs.map +0 -1
- package/lib/models/attributes/AttributeDataHelper.cjs +0 -267
- package/lib/models/attributes/AttributeDataHelper.cjs.map +0 -1
- package/lib/models/attributes/AttributeModel.cjs +0 -824
- package/lib/models/attributes/AttributeModel.cjs.map +0 -1
- package/lib/models/attributes/AttributeSetModel.cjs +0 -105
- package/lib/models/attributes/AttributeSetModel.cjs.map +0 -1
- package/lib/models/attributes/BooleanAttributeModel.cjs +0 -295
- package/lib/models/attributes/BooleanAttributeModel.cjs.map +0 -1
- package/lib/models/attributes/CaptchaAttributeModel.cjs +0 -60
- package/lib/models/attributes/CaptchaAttributeModel.cjs.map +0 -1
- package/lib/models/attributes/ChoiceAttributeModel.cjs +0 -411
- package/lib/models/attributes/ChoiceAttributeModel.cjs.map +0 -1
- package/lib/models/attributes/ChoiceAttributeOptionCollection.cjs +0 -300
- package/lib/models/attributes/ChoiceAttributeOptionCollection.cjs.map +0 -1
- package/lib/models/attributes/ChoiceAttributeOptionModel.cjs +0 -342
- package/lib/models/attributes/ChoiceAttributeOptionModel.cjs.map +0 -1
- package/lib/models/attributes/CompositeAttributeChildCollection.cjs +0 -189
- package/lib/models/attributes/CompositeAttributeChildCollection.cjs.map +0 -1
- package/lib/models/attributes/CompositeAttributeModel.cjs +0 -380
- package/lib/models/attributes/CompositeAttributeModel.cjs.map +0 -1
- package/lib/models/attributes/DatetimeAttributeModel.cjs +0 -465
- package/lib/models/attributes/DatetimeAttributeModel.cjs.map +0 -1
- package/lib/models/attributes/HelptextAttributeModel.cjs +0 -55
- package/lib/models/attributes/HelptextAttributeModel.cjs.map +0 -1
- package/lib/models/attributes/LabelAttributeModel.cjs +0 -41
- package/lib/models/attributes/LabelAttributeModel.cjs.map +0 -1
- package/lib/models/attributes/MemoAttributeModel.cjs +0 -49
- package/lib/models/attributes/MemoAttributeModel.cjs.map +0 -1
- package/lib/models/attributes/MoneyAttributeModel.cjs +0 -49
- package/lib/models/attributes/MoneyAttributeModel.cjs.map +0 -1
- package/lib/models/attributes/NumberAttributeModel.cjs +0 -201
- package/lib/models/attributes/NumberAttributeModel.cjs.map +0 -1
- package/lib/models/attributes/PasswordAttributeModel.cjs +0 -217
- package/lib/models/attributes/PasswordAttributeModel.cjs.map +0 -1
- package/lib/models/attributes/StringAttributeModel.cjs +0 -284
- package/lib/models/attributes/StringAttributeModel.cjs.map +0 -1
- package/lib/models/attributes/UploadAttributeModel.cjs +0 -223
- package/lib/models/attributes/UploadAttributeModel.cjs.map +0 -1
- package/lib/models/attributes/XMLAttributeModel.cjs +0 -53
- package/lib/models/attributes/XMLAttributeModel.cjs.map +0 -1
- package/lib/models/attributes/_createAttribute.cjs +0 -93
- package/lib/models/attributes/_createAttribute.cjs.map +0 -1
- package/lib/models/attributes/input-constraints/BSNConstraint.cjs +0 -72
- package/lib/models/attributes/input-constraints/BSNConstraint.cjs.map +0 -1
- package/lib/models/attributes/input-constraints/ConstraintCollection.cjs +0 -50
- package/lib/models/attributes/input-constraints/ConstraintCollection.cjs.map +0 -1
- package/lib/models/attributes/input-constraints/ConstraintModel.cjs +0 -74
- package/lib/models/attributes/input-constraints/ConstraintModel.cjs.map +0 -1
- package/lib/models/attributes/input-constraints/DateBoundaryConstraint.cjs +0 -205
- package/lib/models/attributes/input-constraints/DateBoundaryConstraint.cjs.map +0 -1
- package/lib/models/attributes/input-constraints/DateTimeDateFormatConstraint.cjs +0 -76
- package/lib/models/attributes/input-constraints/DateTimeDateFormatConstraint.cjs.map +0 -1
- package/lib/models/attributes/input-constraints/DateTimeTimeFormatConstraint.cjs +0 -76
- package/lib/models/attributes/input-constraints/DateTimeTimeFormatConstraint.cjs.map +0 -1
- package/lib/models/attributes/input-constraints/DatetimeFormatConstraint.cjs +0 -122
- package/lib/models/attributes/input-constraints/DatetimeFormatConstraint.cjs.map +0 -1
- package/lib/models/attributes/input-constraints/FileExtensionConstraint.cjs +0 -66
- package/lib/models/attributes/input-constraints/FileExtensionConstraint.cjs.map +0 -1
- package/lib/models/attributes/input-constraints/FileSizeConstraint.cjs +0 -98
- package/lib/models/attributes/input-constraints/FileSizeConstraint.cjs.map +0 -1
- package/lib/models/attributes/input-constraints/IBANConstraint.cjs +0 -49
- package/lib/models/attributes/input-constraints/IBANConstraint.cjs.map +0 -1
- package/lib/models/attributes/input-constraints/MandatoryConstraint.cjs +0 -53
- package/lib/models/attributes/input-constraints/MandatoryConstraint.cjs.map +0 -1
- package/lib/models/attributes/input-constraints/MandatoryRangeConstraint.cjs +0 -85
- package/lib/models/attributes/input-constraints/MandatoryRangeConstraint.cjs.map +0 -1
- package/lib/models/attributes/input-constraints/NumberBoundaryConstraint.cjs +0 -177
- package/lib/models/attributes/input-constraints/NumberBoundaryConstraint.cjs.map +0 -1
- package/lib/models/attributes/input-constraints/NumberFormatConstraint.cjs +0 -132
- package/lib/models/attributes/input-constraints/NumberFormatConstraint.cjs.map +0 -1
- package/lib/models/attributes/input-constraints/NumberGroupingConstraint.cjs +0 -126
- package/lib/models/attributes/input-constraints/NumberGroupingConstraint.cjs.map +0 -1
- package/lib/models/attributes/input-constraints/PasswordConfirmConstraint.cjs +0 -72
- package/lib/models/attributes/input-constraints/PasswordConfirmConstraint.cjs.map +0 -1
- package/lib/models/attributes/input-constraints/PasswordLowerAndUpperCaseConstraint.cjs +0 -47
- package/lib/models/attributes/input-constraints/PasswordLowerAndUpperCaseConstraint.cjs.map +0 -1
- package/lib/models/attributes/input-constraints/PasswordMinNumericCharactersConstraint.cjs +0 -64
- package/lib/models/attributes/input-constraints/PasswordMinNumericCharactersConstraint.cjs.map +0 -1
- package/lib/models/attributes/input-constraints/PasswordMinSpecialCharactersConstraint.cjs +0 -64
- package/lib/models/attributes/input-constraints/PasswordMinSpecialCharactersConstraint.cjs.map +0 -1
- package/lib/models/attributes/input-constraints/PasswordThreeConsecutiveCharactersNotAllowedConstraint.cjs +0 -78
- package/lib/models/attributes/input-constraints/PasswordThreeConsecutiveCharactersNotAllowedConstraint.cjs.map +0 -1
- package/lib/models/attributes/input-constraints/RangeConstraint.cjs +0 -143
- package/lib/models/attributes/input-constraints/RangeConstraint.cjs.map +0 -1
- package/lib/models/attributes/input-constraints/RegexConstraint.cjs +0 -67
- package/lib/models/attributes/input-constraints/RegexConstraint.cjs.map +0 -1
- package/lib/models/attributes/input-constraints/StringLengthConstraint.cjs +0 -178
- package/lib/models/attributes/input-constraints/StringLengthConstraint.cjs.map +0 -1
- package/lib/models/attributes/input-constraints/XMLConstraint.cjs +0 -62
- package/lib/models/attributes/input-constraints/XMLConstraint.cjs.map +0 -1
- package/lib/models/attributes/layouthint-rules/BaseLayoutHintRule.cjs +0 -66
- package/lib/models/attributes/layouthint-rules/BaseLayoutHintRule.cjs.map +0 -1
- package/lib/models/attributes/layouthint-rules/DependentAttribute.cjs +0 -200
- package/lib/models/attributes/layouthint-rules/DependentAttribute.cjs.map +0 -1
- package/lib/models/attributes/layouthint-rules/LayoutHintRuleCollection.cjs +0 -88
- package/lib/models/attributes/layouthint-rules/LayoutHintRuleCollection.cjs.map +0 -1
- package/lib/models/attributes/layouthint-rules/RemainingTotalUploadSize.cjs +0 -51
- package/lib/models/attributes/layouthint-rules/RemainingTotalUploadSize.cjs.map +0 -1
- package/lib/models/base/BaseCollection.cjs +0 -186
- package/lib/models/base/BaseCollection.cjs.map +0 -1
- package/lib/models/base/BaseModel.cjs +0 -149
- package/lib/models/base/BaseModel.cjs.map +0 -1
- package/lib/models/base/ResourceCollection.cjs +0 -41
- package/lib/models/base/ResourceCollection.cjs.map +0 -1
- package/lib/models/base/ResourceModel.cjs +0 -209
- package/lib/models/base/ResourceModel.cjs.map +0 -1
- package/lib/models/caseview/CaseViewModel.cjs +0 -163
- package/lib/models/caseview/CaseViewModel.cjs.map +0 -1
- package/lib/models/concepts/BusinessScenarioModel.cjs +0 -122
- package/lib/models/concepts/BusinessScenarioModel.cjs.map +0 -1
- package/lib/models/concepts/ConceptDetailModel.cjs +0 -281
- package/lib/models/concepts/ConceptDetailModel.cjs.map +0 -1
- package/lib/models/concepts/ConceptIndexModel.cjs +0 -150
- package/lib/models/concepts/ConceptIndexModel.cjs.map +0 -1
- package/lib/models/concepts/ConceptLinkModel.cjs +0 -152
- package/lib/models/concepts/ConceptLinkModel.cjs.map +0 -1
- package/lib/models/concepts/ConceptRelationCollection.cjs +0 -82
- package/lib/models/concepts/ConceptRelationCollection.cjs.map +0 -1
- package/lib/models/concepts/ConceptRelationModel.cjs +0 -115
- package/lib/models/concepts/ConceptRelationModel.cjs.map +0 -1
- package/lib/models/concepts/ConceptTypeDetailModel.cjs +0 -128
- package/lib/models/concepts/ConceptTypeDetailModel.cjs.map +0 -1
- package/lib/models/concepts/SourceReferenceCollection.cjs +0 -35
- package/lib/models/concepts/SourceReferenceCollection.cjs.map +0 -1
- package/lib/models/concepts/SourceReferenceModel.cjs +0 -73
- package/lib/models/concepts/SourceReferenceModel.cjs.map +0 -1
- package/lib/models/content/ContentIndexModel.cjs +0 -142
- package/lib/models/content/ContentIndexModel.cjs.map +0 -1
- package/lib/models/content/ContentLinkModel.cjs +0 -193
- package/lib/models/content/ContentLinkModel.cjs.map +0 -1
- package/lib/models/content/ContentModel.cjs +0 -207
- package/lib/models/content/ContentModel.cjs.map +0 -1
- package/lib/models/content/ContentTOCModel.cjs +0 -163
- package/lib/models/content/ContentTOCModel.cjs.map +0 -1
- package/lib/models/content/ContentTypeModel.cjs +0 -74
- package/lib/models/content/ContentTypeModel.cjs.map +0 -1
- package/lib/models/content/SectionModel.cjs +0 -180
- package/lib/models/content/SectionModel.cjs.map +0 -1
- package/lib/models/content/SubSectionModel.cjs +0 -167
- package/lib/models/content/SubSectionModel.cjs.map +0 -1
- package/lib/models/contentconfiguration/ContentConfiguration.cjs +0 -75
- package/lib/models/contentconfiguration/ContentConfiguration.cjs.map +0 -1
- package/lib/models/contentconfiguration/ContentConfigurationElements.cjs +0 -143
- package/lib/models/contentconfiguration/ContentConfigurationElements.cjs.map +0 -1
- package/lib/models/contentconfiguration/ContentConfigurationEndResults.cjs +0 -49
- package/lib/models/contentconfiguration/ContentConfigurationEndResults.cjs.map +0 -1
- package/lib/models/contentconfiguration/ContentConfigurationQuestions.cjs +0 -54
- package/lib/models/contentconfiguration/ContentConfigurationQuestions.cjs.map +0 -1
- package/lib/models/contentconfiguration/ContentConfigurationResults.cjs +0 -103
- package/lib/models/contentconfiguration/ContentConfigurationResults.cjs.map +0 -1
- package/lib/models/detail/DetailModel.cjs +0 -219
- package/lib/models/detail/DetailModel.cjs.map +0 -1
- package/lib/models/error/ErrorCollection.cjs +0 -111
- package/lib/models/error/ErrorCollection.cjs.map +0 -1
- package/lib/models/error/ErrorModel.cjs +0 -81
- package/lib/models/error/ErrorModel.cjs.map +0 -1
- package/lib/models/error/ErrorResponse.cjs +0 -304
- package/lib/models/error/ErrorResponse.cjs.map +0 -1
- package/lib/models/filters/AssignmentFilterModel.cjs +0 -161
- package/lib/models/filters/AssignmentFilterModel.cjs.map +0 -1
- package/lib/models/filters/BaseFilterModel.cjs +0 -210
- package/lib/models/filters/BaseFilterModel.cjs.map +0 -1
- package/lib/models/filters/ConceptIndexFilterModel.cjs +0 -36
- package/lib/models/filters/ConceptIndexFilterModel.cjs.map +0 -1
- package/lib/models/filters/FilterCollection.cjs +0 -155
- package/lib/models/filters/FilterCollection.cjs.map +0 -1
- package/lib/models/filters/FilterModel.cjs +0 -13
- package/lib/models/filters/FilterModel.cjs.map +0 -1
- package/lib/models/filters/RangeFilterModel.cjs +0 -44
- package/lib/models/filters/RangeFilterModel.cjs.map +0 -1
- package/lib/models/filters/StringFilterModel.cjs +0 -147
- package/lib/models/filters/StringFilterModel.cjs.map +0 -1
- package/lib/models/form/FormModel.cjs +0 -1038
- package/lib/models/form/FormModel.cjs.map +0 -1
- package/lib/models/form/FormObjectModel.cjs +0 -474
- package/lib/models/form/FormObjectModel.cjs.map +0 -1
- package/lib/models/grouping/GroupingModel.cjs +0 -191
- package/lib/models/grouping/GroupingModel.cjs.map +0 -1
- package/lib/models/href/Href.cjs +0 -496
- package/lib/models/href/Href.cjs.map +0 -1
- package/lib/models/href/ListHref.cjs +0 -135
- package/lib/models/href/ListHref.cjs.map +0 -1
- package/lib/models/index.cjs +0 -687
- package/lib/models/index.cjs.map +0 -1
- package/lib/models/layouthint/LayoutHintCollection.cjs +0 -118
- package/lib/models/layouthint/LayoutHintCollection.cjs.map +0 -1
- package/lib/models/links/LinkCollection.cjs +0 -171
- package/lib/models/links/LinkCollection.cjs.map +0 -1
- package/lib/models/links/LinkModel.cjs +0 -216
- package/lib/models/links/LinkModel.cjs.map +0 -1
- package/lib/models/links/normalizeLinkJSON.cjs +0 -107
- package/lib/models/links/normalizeLinkJSON.cjs.map +0 -1
- package/lib/models/list/ListDetailModel.cjs +0 -266
- package/lib/models/list/ListDetailModel.cjs.map +0 -1
- package/lib/models/list/ListHeaderModel.cjs +0 -95
- package/lib/models/list/ListHeaderModel.cjs.map +0 -1
- package/lib/models/list/ListItemCollection.cjs +0 -67
- package/lib/models/list/ListItemCollection.cjs.map +0 -1
- package/lib/models/list/ListItemModel.cjs +0 -95
- package/lib/models/list/ListItemModel.cjs.map +0 -1
- package/lib/models/list/ListModel.cjs +0 -385
- package/lib/models/list/ListModel.cjs.map +0 -1
- package/lib/models/lookup/LookupOptionCollection.cjs +0 -45
- package/lib/models/lookup/LookupOptionCollection.cjs.map +0 -1
- package/lib/models/lookup/LookupOptionsModel.cjs +0 -71
- package/lib/models/lookup/LookupOptionsModel.cjs.map +0 -1
- package/lib/models/modelcatalog/ModelCatalogModel.cjs +0 -69
- package/lib/models/modelcatalog/ModelCatalogModel.cjs.map +0 -1
- package/lib/models/modelcatalog/ModelCategoryCollection.cjs +0 -24
- package/lib/models/modelcatalog/ModelCategoryCollection.cjs.map +0 -1
- package/lib/models/modelcatalog/ModelCategoryModel.cjs +0 -60
- package/lib/models/modelcatalog/ModelCategoryModel.cjs.map +0 -1
- package/lib/models/paging/PagesizeModel.cjs +0 -50
- package/lib/models/paging/PagesizeModel.cjs.map +0 -1
- package/lib/models/paging/PagingModel.cjs +0 -95
- package/lib/models/paging/PagingModel.cjs.map +0 -1
- package/lib/models/panels/GroupingPanelModel.cjs +0 -143
- package/lib/models/panels/GroupingPanelModel.cjs.map +0 -1
- package/lib/models/parameter/Parameter.cjs +0 -108
- package/lib/models/parameter/Parameter.cjs.map +0 -1
- package/lib/models/process/ProcessStatusSettingsModel.cjs +0 -85
- package/lib/models/process/ProcessStatusSettingsModel.cjs.map +0 -1
- package/lib/models/resolveModel.cjs +0 -57
- package/lib/models/resolveModel.cjs.map +0 -1
- package/lib/models/search/CaseSearchModel.cjs +0 -47
- package/lib/models/search/CaseSearchModel.cjs.map +0 -1
- package/lib/models/sorting/SortOptionModel.cjs +0 -106
- package/lib/models/sorting/SortOptionModel.cjs.map +0 -1
- package/lib/models/sorting/SortingModel.cjs +0 -112
- package/lib/models/sorting/SortingModel.cjs.map +0 -1
- package/lib/models/tab/TabModel.cjs +0 -143
- package/lib/models/tab/TabModel.cjs.map +0 -1
- package/lib/models/taskgroup/TaskGroupCollection.cjs +0 -21
- package/lib/models/taskgroup/TaskGroupCollection.cjs.map +0 -1
- package/lib/models/taskgroup/TaskGroupModel.cjs +0 -87
- package/lib/models/taskgroup/TaskGroupModel.cjs.map +0 -1
- package/lib/models/types.cjs +0 -2
- package/lib/models/types.cjs.map +0 -1
- package/lib/models/user/UserModel.cjs +0 -59
- package/lib/models/user/UserModel.cjs.map +0 -1
- package/lib/models/user/UserProfileModel.cjs +0 -55
- package/lib/models/user/UserProfileModel.cjs.map +0 -1
- package/lib/models/user/UserServicesModel.cjs +0 -126
- package/lib/models/user/UserServicesModel.cjs.map +0 -1
- package/lib/modularui/Authenticate.cjs +0 -183
- package/lib/modularui/Authenticate.cjs.map +0 -1
- package/lib/modularui/CaptchaRequest.cjs +0 -71
- package/lib/modularui/CaptchaRequest.cjs.map +0 -1
- package/lib/modularui/ModularUIError.cjs +0 -30
- package/lib/modularui/ModularUIError.cjs.map +0 -1
- package/lib/modularui/ModularUIRequest.cjs +0 -716
- package/lib/modularui/ModularUIRequest.cjs.map +0 -1
- package/lib/modularui/ModularUIResponse.cjs +0 -147
- package/lib/modularui/ModularUIResponse.cjs.map +0 -1
- package/lib/modularui/UploadRequest.cjs +0 -103
- package/lib/modularui/UploadRequest.cjs.map +0 -1
- package/lib/modularui/index.cjs +0 -42
- package/lib/modularui/index.cjs.map +0 -1
- package/lib/modularui/types.cjs +0 -2
- package/lib/modularui/types.cjs.map +0 -1
- package/lib/react/ErrorBoundary.cjs +0 -56
- package/lib/react/ErrorBoundary.cjs.map +0 -1
- package/lib/react/ErrorBoundaryFallback.cjs +0 -41
- package/lib/react/ErrorBoundaryFallback.cjs.map +0 -1
- package/lib/react/index.cjs +0 -29
- package/lib/react/index.cjs.map +0 -1
- package/lib/react/utils.cjs +0 -32
- package/lib/react/utils.cjs.map +0 -1
- package/lib/react-client/Init.cjs +0 -44
- package/lib/react-client/Init.cjs.map +0 -1
- package/lib/react-client/client.cjs +0 -216
- package/lib/react-client/client.cjs.map +0 -1
- package/lib/react-client/contextPath.cjs +0 -26
- package/lib/react-client/contextPath.cjs.map +0 -1
- package/lib/react-client/index.cjs +0 -40
- package/lib/react-client/index.cjs.map +0 -1
- package/lib/react-client/rehydrate.cjs +0 -73
- package/lib/react-client/rehydrate.cjs.map +0 -1
- package/lib/react-server/contextPath.cjs +0 -10
- package/lib/react-server/contextPath.cjs.map +0 -1
- package/lib/react-server/createSSRComplete.cjs +0 -61
- package/lib/react-server/createSSRComplete.cjs.map +0 -1
- package/lib/react-server/htmlpage.cjs +0 -54
- package/lib/react-server/htmlpage.cjs.map +0 -1
- package/lib/react-server/index.cjs +0 -82
- package/lib/react-server/index.cjs.map +0 -1
- package/lib/react-server/renderSSRComplete.cjs +0 -91
- package/lib/react-server/renderSSRComplete.cjs.map +0 -1
- package/lib/react-server/renderSSRMinimal.cjs +0 -47
- package/lib/react-server/renderSSRMinimal.cjs.map +0 -1
- package/lib/react-server/requestInformation.cjs +0 -46
- package/lib/react-server/requestInformation.cjs.map +0 -1
- package/lib/react-server/serverNoSSR.cjs +0 -63
- package/lib/react-server/serverNoSSR.cjs.map +0 -1
- package/lib/react-server/serverSSR.cjs +0 -51
- package/lib/react-server/serverSSR.cjs.map +0 -1
- package/lib/react-server/serverUtil.cjs +0 -218
- package/lib/react-server/serverUtil.cjs.map +0 -1
- package/lib/react-theme/ThemeProvider.cjs +0 -33
- package/lib/react-theme/ThemeProvider.cjs.map +0 -1
- package/lib/react-theme/createTheme.cjs +0 -115
- package/lib/react-theme/createTheme.cjs.map +0 -1
- package/lib/react-theme/index.cjs +0 -110
- package/lib/react-theme/index.cjs.map +0 -1
- package/lib/react-theme/types.cjs +0 -2
- package/lib/react-theme/types.cjs.map +0 -1
- package/lib/react-theme/useTheme.cjs +0 -15
- package/lib/react-theme/useTheme.cjs.map +0 -1
- package/lib/react-theme/utils/background.cjs +0 -21
- package/lib/react-theme/utils/background.cjs.map +0 -1
- package/lib/react-theme/utils/colors.cjs +0 -45
- package/lib/react-theme/utils/colors.cjs.map +0 -1
- package/lib/react-theme/utils/contrast.cjs +0 -95
- package/lib/react-theme/utils/contrast.cjs.map +0 -1
- package/lib/react-theme/utils/corners.cjs +0 -34
- package/lib/react-theme/utils/corners.cjs.map +0 -1
- package/lib/react-theme/utils/spacers.cjs +0 -89
- package/lib/react-theme/utils/spacers.cjs.map +0 -1
- package/lib/react-theme/utils/themeProps.cjs +0 -75
- package/lib/react-theme/utils/themeProps.cjs.map +0 -1
- package/lib/redux/_i18n/I18nActions.cjs +0 -37
- package/lib/redux/_i18n/I18nActions.cjs.map +0 -1
- package/lib/redux/_i18n/I18nReducer.cjs +0 -78
- package/lib/redux/_i18n/I18nReducer.cjs.map +0 -1
- package/lib/redux/_i18n/index.cjs +0 -29
- package/lib/redux/_i18n/index.cjs.map +0 -1
- package/lib/redux/_i18n/types.cjs +0 -2
- package/lib/redux/_i18n/types.cjs.map +0 -1
- package/lib/redux/_modularui/ModularUIActions.cjs +0 -168
- package/lib/redux/_modularui/ModularUIActions.cjs.map +0 -1
- package/lib/redux/_modularui/ModularUIConnector.cjs +0 -123
- package/lib/redux/_modularui/ModularUIConnector.cjs.map +0 -1
- package/lib/redux/_modularui/ModularUIMiddleware.cjs +0 -107
- package/lib/redux/_modularui/ModularUIMiddleware.cjs.map +0 -1
- package/lib/redux/_modularui/ModularUIReducer.cjs +0 -157
- package/lib/redux/_modularui/ModularUIReducer.cjs.map +0 -1
- package/lib/redux/_modularui/ModularUISelectors.cjs +0 -270
- package/lib/redux/_modularui/ModularUISelectors.cjs.map +0 -1
- package/lib/redux/_modularui/ModularUIUtils.cjs +0 -83
- package/lib/redux/_modularui/ModularUIUtils.cjs.map +0 -1
- package/lib/redux/_modularui/index.cjs +0 -86
- package/lib/redux/_modularui/index.cjs.map +0 -1
- package/lib/redux/_modularui/types.cjs +0 -2
- package/lib/redux/_modularui/types.cjs.map +0 -1
- package/lib/redux/_modularui/withModularUI.cjs +0 -41
- package/lib/redux/_modularui/withModularUI.cjs.map +0 -1
- package/lib/redux/_router/RouterActions.cjs +0 -67
- package/lib/redux/_router/RouterActions.cjs.map +0 -1
- package/lib/redux/_router/RouterConnectors.cjs +0 -42
- package/lib/redux/_router/RouterConnectors.cjs.map +0 -1
- package/lib/redux/_router/RouterMiddleware.cjs +0 -38
- package/lib/redux/_router/RouterMiddleware.cjs.map +0 -1
- package/lib/redux/_router/RouterReducer.cjs +0 -22
- package/lib/redux/_router/RouterReducer.cjs.map +0 -1
- package/lib/redux/_router/index.cjs +0 -51
- package/lib/redux/_router/index.cjs.map +0 -1
- package/lib/redux/_router/types.cjs +0 -2
- package/lib/redux/_router/types.cjs.map +0 -1
- package/lib/redux/actions/Application.cjs +0 -38
- package/lib/redux/actions/Application.cjs.map +0 -1
- package/lib/redux/actions/Authorization.cjs +0 -55
- package/lib/redux/actions/Authorization.cjs.map +0 -1
- package/lib/redux/actions/Error.cjs +0 -74
- package/lib/redux/actions/Error.cjs.map +0 -1
- package/lib/redux/actions/Form.cjs +0 -39
- package/lib/redux/actions/Form.cjs.map +0 -1
- package/lib/redux/actions/FormAttributeSet.cjs +0 -69
- package/lib/redux/actions/FormAttributeSet.cjs.map +0 -1
- package/lib/redux/actions/FormAttributeSetRepeatable.cjs +0 -35
- package/lib/redux/actions/FormAttributeSetRepeatable.cjs.map +0 -1
- package/lib/redux/actions/FormAutosave.cjs +0 -60
- package/lib/redux/actions/FormAutosave.cjs.map +0 -1
- package/lib/redux/actions/FormAutosubmit.cjs +0 -38
- package/lib/redux/actions/FormAutosubmit.cjs.map +0 -1
- package/lib/redux/actions/FormAutoupdate.cjs +0 -37
- package/lib/redux/actions/FormAutoupdate.cjs.map +0 -1
- package/lib/redux/actions/FormValidations.cjs +0 -51
- package/lib/redux/actions/FormValidations.cjs.map +0 -1
- package/lib/redux/actions/Modals.cjs +0 -22
- package/lib/redux/actions/Modals.cjs.map +0 -1
- package/lib/redux/actions/ModelCatalog.cjs +0 -15
- package/lib/redux/actions/ModelCatalog.cjs.map +0 -1
- package/lib/redux/actions/Notification.cjs +0 -76
- package/lib/redux/actions/Notification.cjs.map +0 -1
- package/lib/redux/actions/Preferences.cjs +0 -128
- package/lib/redux/actions/Preferences.cjs.map +0 -1
- package/lib/redux/actions/ProgressIndicator.cjs +0 -42
- package/lib/redux/actions/ProgressIndicator.cjs.map +0 -1
- package/lib/redux/actions/SignIn.cjs +0 -90
- package/lib/redux/actions/SignIn.cjs.map +0 -1
- package/lib/redux/actions/SignOut.cjs +0 -30
- package/lib/redux/actions/SignOut.cjs.map +0 -1
- package/lib/redux/actions/index.cjs +0 -183
- package/lib/redux/actions/index.cjs.map +0 -1
- package/lib/redux/connectors/Application.cjs +0 -14
- package/lib/redux/connectors/Application.cjs.map +0 -1
- package/lib/redux/connectors/Breadcrumb.cjs +0 -16
- package/lib/redux/connectors/Breadcrumb.cjs.map +0 -1
- package/lib/redux/connectors/CaseView.cjs +0 -19
- package/lib/redux/connectors/CaseView.cjs.map +0 -1
- package/lib/redux/connectors/ConceptDetail.cjs +0 -20
- package/lib/redux/connectors/ConceptDetail.cjs.map +0 -1
- package/lib/redux/connectors/ContentBrowser.cjs +0 -19
- package/lib/redux/connectors/ContentBrowser.cjs.map +0 -1
- package/lib/redux/connectors/ContentDetail.cjs +0 -20
- package/lib/redux/connectors/ContentDetail.cjs.map +0 -1
- package/lib/redux/connectors/ContentDetailSection.cjs +0 -22
- package/lib/redux/connectors/ContentDetailSection.cjs.map +0 -1
- package/lib/redux/connectors/Form.cjs +0 -43
- package/lib/redux/connectors/Form.cjs.map +0 -1
- package/lib/redux/connectors/FormAttributeSet.cjs +0 -27
- package/lib/redux/connectors/FormAttributeSet.cjs.map +0 -1
- package/lib/redux/connectors/ListDetail.cjs +0 -21
- package/lib/redux/connectors/ListDetail.cjs.map +0 -1
- package/lib/redux/connectors/Modal.cjs +0 -27
- package/lib/redux/connectors/Modal.cjs.map +0 -1
- package/lib/redux/connectors/ModelCatalog.cjs +0 -19
- package/lib/redux/connectors/ModelCatalog.cjs.map +0 -1
- package/lib/redux/connectors/Notification.cjs +0 -22
- package/lib/redux/connectors/Notification.cjs.map +0 -1
- package/lib/redux/connectors/PanelRenderer.cjs +0 -29
- package/lib/redux/connectors/PanelRenderer.cjs.map +0 -1
- package/lib/redux/connectors/Preferences.cjs +0 -29
- package/lib/redux/connectors/Preferences.cjs.map +0 -1
- package/lib/redux/connectors/Progress.cjs +0 -19
- package/lib/redux/connectors/Progress.cjs.map +0 -1
- package/lib/redux/connectors/ProgressIndicator.cjs +0 -19
- package/lib/redux/connectors/ProgressIndicator.cjs.map +0 -1
- package/lib/redux/connectors/QuickSearch.cjs +0 -27
- package/lib/redux/connectors/QuickSearch.cjs.map +0 -1
- package/lib/redux/connectors/SignIn.cjs +0 -24
- package/lib/redux/connectors/SignIn.cjs.map +0 -1
- package/lib/redux/connectors/SignOut.cjs +0 -20
- package/lib/redux/connectors/SignOut.cjs.map +0 -1
- package/lib/redux/connectors/Tab.cjs +0 -19
- package/lib/redux/connectors/Tab.cjs.map +0 -1
- package/lib/redux/connectors/index.cjs +0 -153
- package/lib/redux/connectors/index.cjs.map +0 -1
- package/lib/redux/index.cjs +0 -102
- package/lib/redux/index.cjs.map +0 -1
- package/lib/redux/reducers/AuthReducer.cjs +0 -59
- package/lib/redux/reducers/AuthReducer.cjs.map +0 -1
- package/lib/redux/reducers/ErrorReducer.cjs +0 -22
- package/lib/redux/reducers/ErrorReducer.cjs.map +0 -1
- package/lib/redux/reducers/ModalsReducer.cjs +0 -58
- package/lib/redux/reducers/ModalsReducer.cjs.map +0 -1
- package/lib/redux/reducers/ModelCatalogReducer.cjs +0 -34
- package/lib/redux/reducers/ModelCatalogReducer.cjs.map +0 -1
- package/lib/redux/reducers/NotificationReducer.cjs +0 -43
- package/lib/redux/reducers/NotificationReducer.cjs.map +0 -1
- package/lib/redux/reducers/PreferencesReducer.cjs +0 -30
- package/lib/redux/reducers/PreferencesReducer.cjs.map +0 -1
- package/lib/redux/reducers/ProgressIndicatorReducer.cjs +0 -55
- package/lib/redux/reducers/ProgressIndicatorReducer.cjs.map +0 -1
- package/lib/redux/reducers/createReducer.cjs +0 -33
- package/lib/redux/reducers/createReducer.cjs.map +0 -1
- package/lib/redux/reducers/index.cjs +0 -78
- package/lib/redux/reducers/index.cjs.map +0 -1
- package/lib/redux/selectors/i18n.cjs +0 -20
- package/lib/redux/selectors/i18n.cjs.map +0 -1
- package/lib/redux/selectors/index.cjs +0 -29
- package/lib/redux/selectors/index.cjs.map +0 -1
- package/lib/redux/selectors/modelcatalog.cjs +0 -14
- package/lib/redux/selectors/modelcatalog.cjs.map +0 -1
- package/lib/redux/store/beforeRenderHooks.cjs +0 -24
- package/lib/redux/store/beforeRenderHooks.cjs.map +0 -1
- package/lib/redux/store/configureStore.cjs +0 -42
- package/lib/redux/store/configureStore.cjs.map +0 -1
- package/lib/redux/types.cjs +0 -2
- package/lib/redux/types.cjs.map +0 -1
- package/lib/utils/browser/Cache.cjs +0 -151
- package/lib/utils/browser/Cache.cjs.map +0 -1
- package/lib/utils/browser/Cookies.cjs +0 -38
- package/lib/utils/browser/Cookies.cjs.map +0 -1
- package/lib/utils/datetime/DateTimeUtil.cjs +0 -648
- package/lib/utils/datetime/DateTimeUtil.cjs.map +0 -1
- package/lib/utils/fetch/serverFetch.cjs +0 -32
- package/lib/utils/fetch/serverFetch.cjs.map +0 -1
- package/lib/utils/fetch/types.cjs +0 -2
- package/lib/utils/fetch/types.cjs.map +0 -1
- package/lib/utils/fetch/universalFetch.cjs +0 -94
- package/lib/utils/fetch/universalFetch.cjs.map +0 -1
- package/lib/utils/fetch/xhr.cjs +0 -358
- package/lib/utils/fetch/xhr.cjs.map +0 -1
- package/lib/utils/helpers/checkResource.cjs +0 -46
- package/lib/utils/helpers/checkResource.cjs.map +0 -1
- package/lib/utils/helpers/createHash.cjs +0 -28
- package/lib/utils/helpers/createHash.cjs.map +0 -1
- package/lib/utils/helpers/createHref.cjs +0 -101
- package/lib/utils/helpers/createHref.cjs.map +0 -1
- package/lib/utils/helpers/createUUID.cjs +0 -18
- package/lib/utils/helpers/createUUID.cjs.map +0 -1
- package/lib/utils/helpers/index.cjs +0 -102
- package/lib/utils/helpers/index.cjs.map +0 -1
- package/lib/utils/helpers/objects.cjs +0 -36
- package/lib/utils/helpers/objects.cjs.map +0 -1
- package/lib/utils/helpers/repositoryResource.cjs +0 -26
- package/lib/utils/helpers/repositoryResource.cjs.map +0 -1
- package/lib/utils/helpers/sanitizeHtml.cjs +0 -44
- package/lib/utils/helpers/sanitizeHtml.cjs.map +0 -1
- package/lib/utils/helpers/text.cjs +0 -23
- package/lib/utils/helpers/text.cjs.map +0 -1
- package/lib/utils/index.cjs +0 -106
- package/lib/utils/index.cjs.map +0 -1
- package/lib/utils/number/DecimalFormat.cjs +0 -333
- package/lib/utils/number/DecimalFormat.cjs.map +0 -1
- package/lib/utils/number/formatValue.cjs +0 -47
- package/lib/utils/number/formatValue.cjs.map +0 -1
- package/lib/utils/number/parseNumbers.cjs +0 -70
- package/lib/utils/number/parseNumbers.cjs.map +0 -1
- package/models/package.json +0 -12
- package/modularui/package.json +0 -12
- package/react/package.json +0 -12
- package/react-client/package.json +0 -12
- package/react-server/package.json +0 -12
- package/react-theme/package.json +0 -12
- package/redux/package.json +0 -12
- package/tsconfig.json +0 -29
- package/utils/package.json +0 -12
- /package/lib/builder/{index.d.cts → index.d.ts} +0 -0
- /package/lib/builder/{mergeLayoutHintConfigurations.d.cts → mergeLayoutHintConfigurations.d.ts} +0 -0
- /package/lib/constants/{Constants.d.cts → Constants.d.ts} +0 -0
- /package/lib/constants/{LayoutHintConfig.d.cts → LayoutHintConfig.d.ts} +0 -0
- /package/lib/constants/{LayoutHints.d.cts → LayoutHints.d.ts} +0 -0
- /package/lib/constants/{Settings.d.cts → Settings.d.ts} +0 -0
- /package/lib/constants/{index.d.cts → index.d.ts} +0 -0
- /package/lib/exceptions/{ConfigurationException.d.cts → ConfigurationException.d.ts} +0 -0
- /package/lib/exceptions/{FetchException.d.cts → FetchException.d.ts} +0 -0
- /package/lib/exceptions/{IllegalArgumentException.d.cts → IllegalArgumentException.d.ts} +0 -0
- /package/lib/exceptions/{IllegalReturnException.d.cts → IllegalReturnException.d.ts} +0 -0
- /package/lib/exceptions/{IllegalStateException.d.cts → IllegalStateException.d.ts} +0 -0
- /package/lib/exceptions/{JsonParseException.d.cts → JsonParseException.d.ts} +0 -0
- /package/lib/exceptions/{MissingPropertyException.d.cts → MissingPropertyException.d.ts} +0 -0
- /package/lib/exceptions/{NetworkException.d.cts → NetworkException.d.ts} +0 -0
- /package/lib/exceptions/{NotAllowedUriException.d.cts → NotAllowedUriException.d.ts} +0 -0
- /package/lib/exceptions/{NotFoundException.d.cts → NotFoundException.d.ts} +0 -0
- /package/lib/exceptions/{ServerRequestException.d.cts → ServerRequestException.d.ts} +0 -0
- /package/lib/exceptions/{ThemePropertyException.d.cts → ThemePropertyException.d.ts} +0 -0
- /package/lib/exceptions/{TimeoutException.d.cts → TimeoutException.d.ts} +0 -0
- /package/lib/exceptions/{UnauthorizedException.d.cts → UnauthorizedException.d.ts} +0 -0
- /package/lib/exceptions/{UnsupportedOperationException.d.cts → UnsupportedOperationException.d.ts} +0 -0
- /package/lib/exceptions/{index.d.cts → index.d.ts} +0 -0
- /package/lib/hooks/{index.d.cts → index.d.ts} +0 -0
- /package/lib/hooks/{useAllFormsOnModel.d.cts → useAllFormsOnModel.d.ts} +0 -0
- /package/lib/hooks/{useAuthentication.d.cts → useAuthentication.d.ts} +0 -0
- /package/lib/hooks/{useContent.d.cts → useContent.d.ts} +0 -0
- /package/lib/hooks/{useDeepCompareEffect.d.cts → useDeepCompareEffect.d.ts} +0 -0
- /package/lib/hooks/{useForm.d.cts → useForm.d.ts} +0 -0
- /package/lib/hooks/{useI18n.d.cts → useI18n.d.ts} +0 -0
- /package/lib/hooks/{useModal.d.cts → useModal.d.ts} +0 -0
- /package/lib/hooks/{useModelCatalog.d.cts → useModelCatalog.d.ts} +0 -0
- /package/lib/hooks/{useModels.d.cts → useModels.d.ts} +0 -0
- /package/lib/hooks/{useModularUI.d.cts → useModularUI.d.ts} +0 -0
- /package/lib/hooks/{useModularUIBasic.d.cts → useModularUIBasic.d.ts} +0 -0
- /package/lib/hooks/{useModularUIModel.d.cts → useModularUIModel.d.ts} +0 -0
- /package/lib/hooks/{useModularUIRequest.d.cts → useModularUIRequest.d.ts} +0 -0
- /package/lib/hooks/{useNotification.d.cts → useNotification.d.ts} +0 -0
- /package/lib/hooks/{usePreference.d.cts → usePreference.d.ts} +0 -0
- /package/lib/hooks/{useProgressIndicator.d.cts → useProgressIndicator.d.ts} +0 -0
- /package/lib/hooks/{useRouter.d.cts → useRouter.d.ts} +0 -0
- /package/lib/i18n/{Locale.d.cts → Locale.d.ts} +0 -0
- /package/lib/i18n/{Locales.d.cts → Locales.d.ts} +0 -0
- /package/lib/i18n/{Message.d.cts → Message.d.ts} +0 -0
- /package/lib/i18n/{index.d.cts → index.d.ts} +0 -0
- /package/lib/i18n/{languages.d.cts → languages.d.ts} +0 -0
- /package/lib/i18n/translations/{beinformed_error_messages_en.nl.d.cts → beinformed_error_messages_en.nl.d.ts} +0 -0
- /package/lib/i18n/translations/{beinformed_error_messages_nl.nl.d.cts → beinformed_error_messages_nl.nl.d.ts} +0 -0
- /package/lib/i18n/{types.d.cts → types.d.ts} +0 -0
- /package/lib/i18n/{withMessage.d.cts → withMessage.d.ts} +0 -0
- /package/lib/{index.d.cts → index.d.ts} +0 -0
- /package/lib/models/actions/{ActionCollection.d.cts → ActionCollection.d.ts} +0 -0
- /package/lib/models/actions/{ActionModel.d.cts → ActionModel.d.ts} +0 -0
- /package/lib/models/application/{ApplicationModel.d.cts → ApplicationModel.d.ts} +0 -0
- /package/lib/models/attributes/{AttributeCollection.d.cts → AttributeCollection.d.ts} +0 -0
- /package/lib/models/attributes/{AttributeContent.d.cts → AttributeContent.d.ts} +0 -0
- /package/lib/models/attributes/{AttributeDataHelper.d.cts → AttributeDataHelper.d.ts} +0 -0
- /package/lib/models/attributes/{AttributeModel.d.cts → AttributeModel.d.ts} +0 -0
- /package/lib/models/attributes/{AttributeSetModel.d.cts → AttributeSetModel.d.ts} +0 -0
- /package/lib/models/attributes/{BooleanAttributeModel.d.cts → BooleanAttributeModel.d.ts} +0 -0
- /package/lib/models/attributes/{CaptchaAttributeModel.d.cts → CaptchaAttributeModel.d.ts} +0 -0
- /package/lib/models/attributes/{ChoiceAttributeModel.d.cts → ChoiceAttributeModel.d.ts} +0 -0
- /package/lib/models/attributes/{ChoiceAttributeOptionCollection.d.cts → ChoiceAttributeOptionCollection.d.ts} +0 -0
- /package/lib/models/attributes/{ChoiceAttributeOptionModel.d.cts → ChoiceAttributeOptionModel.d.ts} +0 -0
- /package/lib/models/attributes/{CompositeAttributeChildCollection.d.cts → CompositeAttributeChildCollection.d.ts} +0 -0
- /package/lib/models/attributes/{CompositeAttributeModel.d.cts → CompositeAttributeModel.d.ts} +0 -0
- /package/lib/models/attributes/{DatetimeAttributeModel.d.cts → DatetimeAttributeModel.d.ts} +0 -0
- /package/lib/models/attributes/{HelptextAttributeModel.d.cts → HelptextAttributeModel.d.ts} +0 -0
- /package/lib/models/attributes/{LabelAttributeModel.d.cts → LabelAttributeModel.d.ts} +0 -0
- /package/lib/models/attributes/{MemoAttributeModel.d.cts → MemoAttributeModel.d.ts} +0 -0
- /package/lib/models/attributes/{MoneyAttributeModel.d.cts → MoneyAttributeModel.d.ts} +0 -0
- /package/lib/models/attributes/{NumberAttributeModel.d.cts → NumberAttributeModel.d.ts} +0 -0
- /package/lib/models/attributes/{PasswordAttributeModel.d.cts → PasswordAttributeModel.d.ts} +0 -0
- /package/lib/models/attributes/{StringAttributeModel.d.cts → StringAttributeModel.d.ts} +0 -0
- /package/lib/models/attributes/{UploadAttributeModel.d.cts → UploadAttributeModel.d.ts} +0 -0
- /package/lib/models/attributes/{XMLAttributeModel.d.cts → XMLAttributeModel.d.ts} +0 -0
- /package/lib/models/attributes/{_createAttribute.d.cts → _createAttribute.d.ts} +0 -0
- /package/lib/models/attributes/input-constraints/{BSNConstraint.d.cts → BSNConstraint.d.ts} +0 -0
- /package/lib/models/attributes/input-constraints/{ConstraintCollection.d.cts → ConstraintCollection.d.ts} +0 -0
- /package/lib/models/attributes/input-constraints/{ConstraintModel.d.cts → ConstraintModel.d.ts} +0 -0
- /package/lib/models/attributes/input-constraints/{DateBoundaryConstraint.d.cts → DateBoundaryConstraint.d.ts} +0 -0
- /package/lib/models/attributes/input-constraints/{DateTimeDateFormatConstraint.d.cts → DateTimeDateFormatConstraint.d.ts} +0 -0
- /package/lib/models/attributes/input-constraints/{DateTimeTimeFormatConstraint.d.cts → DateTimeTimeFormatConstraint.d.ts} +0 -0
- /package/lib/models/attributes/input-constraints/{DatetimeFormatConstraint.d.cts → DatetimeFormatConstraint.d.ts} +0 -0
- /package/lib/models/attributes/input-constraints/{FileExtensionConstraint.d.cts → FileExtensionConstraint.d.ts} +0 -0
- /package/lib/models/attributes/input-constraints/{FileSizeConstraint.d.cts → FileSizeConstraint.d.ts} +0 -0
- /package/lib/models/attributes/input-constraints/{IBANConstraint.d.cts → IBANConstraint.d.ts} +0 -0
- /package/lib/models/attributes/input-constraints/{MandatoryConstraint.d.cts → MandatoryConstraint.d.ts} +0 -0
- /package/lib/models/attributes/input-constraints/{MandatoryRangeConstraint.d.cts → MandatoryRangeConstraint.d.ts} +0 -0
- /package/lib/models/attributes/input-constraints/{NumberBoundaryConstraint.d.cts → NumberBoundaryConstraint.d.ts} +0 -0
- /package/lib/models/attributes/input-constraints/{NumberFormatConstraint.d.cts → NumberFormatConstraint.d.ts} +0 -0
- /package/lib/models/attributes/input-constraints/{NumberGroupingConstraint.d.cts → NumberGroupingConstraint.d.ts} +0 -0
- /package/lib/models/attributes/input-constraints/{PasswordConfirmConstraint.d.cts → PasswordConfirmConstraint.d.ts} +0 -0
- /package/lib/models/attributes/input-constraints/{PasswordLowerAndUpperCaseConstraint.d.cts → PasswordLowerAndUpperCaseConstraint.d.ts} +0 -0
- /package/lib/models/attributes/input-constraints/{PasswordMinNumericCharactersConstraint.d.cts → PasswordMinNumericCharactersConstraint.d.ts} +0 -0
- /package/lib/models/attributes/input-constraints/{PasswordMinSpecialCharactersConstraint.d.cts → PasswordMinSpecialCharactersConstraint.d.ts} +0 -0
- /package/lib/models/attributes/input-constraints/{PasswordThreeConsecutiveCharactersNotAllowedConstraint.d.cts → PasswordThreeConsecutiveCharactersNotAllowedConstraint.d.ts} +0 -0
- /package/lib/models/attributes/input-constraints/{RangeConstraint.d.cts → RangeConstraint.d.ts} +0 -0
- /package/lib/models/attributes/input-constraints/{RegexConstraint.d.cts → RegexConstraint.d.ts} +0 -0
- /package/lib/models/attributes/input-constraints/{StringLengthConstraint.d.cts → StringLengthConstraint.d.ts} +0 -0
- /package/lib/models/attributes/input-constraints/{XMLConstraint.d.cts → XMLConstraint.d.ts} +0 -0
- /package/lib/models/attributes/layouthint-rules/{BaseLayoutHintRule.d.cts → BaseLayoutHintRule.d.ts} +0 -0
- /package/lib/models/attributes/layouthint-rules/{DependentAttribute.d.cts → DependentAttribute.d.ts} +0 -0
- /package/lib/models/attributes/layouthint-rules/{LayoutHintRuleCollection.d.cts → LayoutHintRuleCollection.d.ts} +0 -0
- /package/lib/models/attributes/layouthint-rules/{RemainingTotalUploadSize.d.cts → RemainingTotalUploadSize.d.ts} +0 -0
- /package/lib/models/base/{BaseCollection.d.cts → BaseCollection.d.ts} +0 -0
- /package/lib/models/base/{BaseModel.d.cts → BaseModel.d.ts} +0 -0
- /package/lib/models/base/{ResourceCollection.d.cts → ResourceCollection.d.ts} +0 -0
- /package/lib/models/base/{ResourceModel.d.cts → ResourceModel.d.ts} +0 -0
- /package/lib/models/caseview/{CaseViewModel.d.cts → CaseViewModel.d.ts} +0 -0
- /package/lib/models/concepts/{BusinessScenarioModel.d.cts → BusinessScenarioModel.d.ts} +0 -0
- /package/lib/models/concepts/{ConceptDetailModel.d.cts → ConceptDetailModel.d.ts} +0 -0
- /package/lib/models/concepts/{ConceptIndexModel.d.cts → ConceptIndexModel.d.ts} +0 -0
- /package/lib/models/concepts/{ConceptLinkModel.d.cts → ConceptLinkModel.d.ts} +0 -0
- /package/lib/models/concepts/{ConceptRelationCollection.d.cts → ConceptRelationCollection.d.ts} +0 -0
- /package/lib/models/concepts/{ConceptRelationModel.d.cts → ConceptRelationModel.d.ts} +0 -0
- /package/lib/models/concepts/{ConceptTypeDetailModel.d.cts → ConceptTypeDetailModel.d.ts} +0 -0
- /package/lib/models/concepts/{SourceReferenceCollection.d.cts → SourceReferenceCollection.d.ts} +0 -0
- /package/lib/models/concepts/{SourceReferenceModel.d.cts → SourceReferenceModel.d.ts} +0 -0
- /package/lib/models/content/{ContentIndexModel.d.cts → ContentIndexModel.d.ts} +0 -0
- /package/lib/models/content/{ContentLinkModel.d.cts → ContentLinkModel.d.ts} +0 -0
- /package/lib/models/content/{ContentModel.d.cts → ContentModel.d.ts} +0 -0
- /package/lib/models/content/{ContentTOCModel.d.cts → ContentTOCModel.d.ts} +0 -0
- /package/lib/models/content/{ContentTypeModel.d.cts → ContentTypeModel.d.ts} +0 -0
- /package/lib/models/content/{SectionModel.d.cts → SectionModel.d.ts} +0 -0
- /package/lib/models/content/{SubSectionModel.d.cts → SubSectionModel.d.ts} +0 -0
- /package/lib/models/contentconfiguration/{ContentConfiguration.d.cts → ContentConfiguration.d.ts} +0 -0
- /package/lib/models/contentconfiguration/{ContentConfigurationElements.d.cts → ContentConfigurationElements.d.ts} +0 -0
- /package/lib/models/contentconfiguration/{ContentConfigurationEndResults.d.cts → ContentConfigurationEndResults.d.ts} +0 -0
- /package/lib/models/contentconfiguration/{ContentConfigurationQuestions.d.cts → ContentConfigurationQuestions.d.ts} +0 -0
- /package/lib/models/contentconfiguration/{ContentConfigurationResults.d.cts → ContentConfigurationResults.d.ts} +0 -0
- /package/lib/models/detail/{DetailModel.d.cts → DetailModel.d.ts} +0 -0
- /package/lib/models/error/{ErrorCollection.d.cts → ErrorCollection.d.ts} +0 -0
- /package/lib/models/error/{ErrorModel.d.cts → ErrorModel.d.ts} +0 -0
- /package/lib/models/error/{ErrorResponse.d.cts → ErrorResponse.d.ts} +0 -0
- /package/lib/models/filters/{AssignmentFilterModel.d.cts → AssignmentFilterModel.d.ts} +0 -0
- /package/lib/models/filters/{BaseFilterModel.d.cts → BaseFilterModel.d.ts} +0 -0
- /package/lib/models/filters/{ConceptIndexFilterModel.d.cts → ConceptIndexFilterModel.d.ts} +0 -0
- /package/lib/models/filters/{FilterCollection.d.cts → FilterCollection.d.ts} +0 -0
- /package/lib/models/filters/{FilterModel.d.cts → FilterModel.d.ts} +0 -0
- /package/lib/models/filters/{RangeFilterModel.d.cts → RangeFilterModel.d.ts} +0 -0
- /package/lib/models/filters/{StringFilterModel.d.cts → StringFilterModel.d.ts} +0 -0
- /package/lib/models/form/{FormModel.d.cts → FormModel.d.ts} +0 -0
- /package/lib/models/form/{FormObjectModel.d.cts → FormObjectModel.d.ts} +0 -0
- /package/lib/models/grouping/{GroupingModel.d.cts → GroupingModel.d.ts} +0 -0
- /package/lib/models/href/{Href.d.cts → Href.d.ts} +0 -0
- /package/lib/models/href/{ListHref.d.cts → ListHref.d.ts} +0 -0
- /package/lib/models/{index.d.cts → index.d.ts} +0 -0
- /package/lib/models/layouthint/{LayoutHintCollection.d.cts → LayoutHintCollection.d.ts} +0 -0
- /package/lib/models/links/{LinkCollection.d.cts → LinkCollection.d.ts} +0 -0
- /package/lib/models/links/{LinkModel.d.cts → LinkModel.d.ts} +0 -0
- /package/lib/models/links/{normalizeLinkJSON.d.cts → normalizeLinkJSON.d.ts} +0 -0
- /package/lib/models/list/{ListDetailModel.d.cts → ListDetailModel.d.ts} +0 -0
- /package/lib/models/list/{ListHeaderModel.d.cts → ListHeaderModel.d.ts} +0 -0
- /package/lib/models/list/{ListItemCollection.d.cts → ListItemCollection.d.ts} +0 -0
- /package/lib/models/list/{ListItemModel.d.cts → ListItemModel.d.ts} +0 -0
- /package/lib/models/list/{ListModel.d.cts → ListModel.d.ts} +0 -0
- /package/lib/models/lookup/{LookupOptionCollection.d.cts → LookupOptionCollection.d.ts} +0 -0
- /package/lib/models/lookup/{LookupOptionsModel.d.cts → LookupOptionsModel.d.ts} +0 -0
- /package/lib/models/modelcatalog/{ModelCatalogModel.d.cts → ModelCatalogModel.d.ts} +0 -0
- /package/lib/models/modelcatalog/{ModelCategoryCollection.d.cts → ModelCategoryCollection.d.ts} +0 -0
- /package/lib/models/modelcatalog/{ModelCategoryModel.d.cts → ModelCategoryModel.d.ts} +0 -0
- /package/lib/models/paging/{PagesizeModel.d.cts → PagesizeModel.d.ts} +0 -0
- /package/lib/models/paging/{PagingModel.d.cts → PagingModel.d.ts} +0 -0
- /package/lib/models/panels/{GroupingPanelModel.d.cts → GroupingPanelModel.d.ts} +0 -0
- /package/lib/models/parameter/{Parameter.d.cts → Parameter.d.ts} +0 -0
- /package/lib/models/process/{ProcessStatusSettingsModel.d.cts → ProcessStatusSettingsModel.d.ts} +0 -0
- /package/lib/models/{resolveModel.d.cts → resolveModel.d.ts} +0 -0
- /package/lib/models/search/{CaseSearchModel.d.cts → CaseSearchModel.d.ts} +0 -0
- /package/lib/models/sorting/{SortOptionModel.d.cts → SortOptionModel.d.ts} +0 -0
- /package/lib/models/sorting/{SortingModel.d.cts → SortingModel.d.ts} +0 -0
- /package/lib/models/tab/{TabModel.d.cts → TabModel.d.ts} +0 -0
- /package/lib/models/taskgroup/{TaskGroupCollection.d.cts → TaskGroupCollection.d.ts} +0 -0
- /package/lib/models/taskgroup/{TaskGroupModel.d.cts → TaskGroupModel.d.ts} +0 -0
- /package/lib/models/{types.d.cts → types.d.ts} +0 -0
- /package/lib/models/user/{UserModel.d.cts → UserModel.d.ts} +0 -0
- /package/lib/models/user/{UserProfileModel.d.cts → UserProfileModel.d.ts} +0 -0
- /package/lib/models/user/{UserServicesModel.d.cts → UserServicesModel.d.ts} +0 -0
- /package/lib/modularui/{Authenticate.d.cts → Authenticate.d.ts} +0 -0
- /package/lib/modularui/{CaptchaRequest.d.cts → CaptchaRequest.d.ts} +0 -0
- /package/lib/modularui/{ModularUIError.d.cts → ModularUIError.d.ts} +0 -0
- /package/lib/modularui/{ModularUIRequest.d.cts → ModularUIRequest.d.ts} +0 -0
- /package/lib/modularui/{ModularUIResponse.d.cts → ModularUIResponse.d.ts} +0 -0
- /package/lib/modularui/{UploadRequest.d.cts → UploadRequest.d.ts} +0 -0
- /package/lib/modularui/{index.d.cts → index.d.ts} +0 -0
- /package/lib/modularui/{types.d.cts → types.d.ts} +0 -0
- /package/lib/react/{ErrorBoundary.d.cts → ErrorBoundary.d.ts} +0 -0
- /package/lib/react/{ErrorBoundaryFallback.d.cts → ErrorBoundaryFallback.d.ts} +0 -0
- /package/lib/react/{index.d.cts → index.d.ts} +0 -0
- /package/lib/react/{utils.d.cts → utils.d.ts} +0 -0
- /package/lib/react-client/{Init.d.cts → Init.d.ts} +0 -0
- /package/lib/react-client/{client.d.cts → client.d.ts} +0 -0
- /package/lib/react-client/{contextPath.d.cts → contextPath.d.ts} +0 -0
- /package/lib/react-client/{index.d.cts → index.d.ts} +0 -0
- /package/lib/react-client/{rehydrate.d.cts → rehydrate.d.ts} +0 -0
- /package/lib/react-server/{contextPath.d.cts → contextPath.d.ts} +0 -0
- /package/lib/react-server/{createSSRComplete.d.cts → createSSRComplete.d.ts} +0 -0
- /package/lib/react-server/{htmlpage.d.cts → htmlpage.d.ts} +0 -0
- /package/lib/react-server/{index.d.cts → index.d.ts} +0 -0
- /package/lib/react-server/{renderSSRComplete.d.cts → renderSSRComplete.d.ts} +0 -0
- /package/lib/react-server/{renderSSRMinimal.d.cts → renderSSRMinimal.d.ts} +0 -0
- /package/lib/react-server/{requestInformation.d.cts → requestInformation.d.ts} +0 -0
- /package/lib/react-server/{serverNoSSR.d.cts → serverNoSSR.d.ts} +0 -0
- /package/lib/react-server/{serverSSR.d.cts → serverSSR.d.ts} +0 -0
- /package/lib/react-server/{serverUtil.d.cts → serverUtil.d.ts} +0 -0
- /package/lib/react-theme/{ThemeProvider.d.cts → ThemeProvider.d.ts} +0 -0
- /package/lib/react-theme/{createTheme.d.cts → createTheme.d.ts} +0 -0
- /package/lib/react-theme/{index.d.cts → index.d.ts} +0 -0
- /package/lib/react-theme/{types.d.cts → types.d.ts} +0 -0
- /package/lib/react-theme/{useTheme.d.cts → useTheme.d.ts} +0 -0
- /package/lib/react-theme/utils/{background.d.cts → background.d.ts} +0 -0
- /package/lib/react-theme/utils/{colors.d.cts → colors.d.ts} +0 -0
- /package/lib/react-theme/utils/{contrast.d.cts → contrast.d.ts} +0 -0
- /package/lib/react-theme/utils/{corners.d.cts → corners.d.ts} +0 -0
- /package/lib/react-theme/utils/{spacers.d.cts → spacers.d.ts} +0 -0
- /package/lib/react-theme/utils/{themeProps.d.cts → themeProps.d.ts} +0 -0
- /package/lib/redux/_i18n/{I18nActions.d.cts → I18nActions.d.ts} +0 -0
- /package/lib/redux/_i18n/{I18nReducer.d.cts → I18nReducer.d.ts} +0 -0
- /package/lib/redux/_i18n/{index.d.cts → index.d.ts} +0 -0
- /package/lib/redux/_i18n/{types.d.cts → types.d.ts} +0 -0
- /package/lib/redux/_modularui/{ModularUIActions.d.cts → ModularUIActions.d.ts} +0 -0
- /package/lib/redux/_modularui/{ModularUIConnector.d.cts → ModularUIConnector.d.ts} +0 -0
- /package/lib/redux/_modularui/{ModularUIMiddleware.d.cts → ModularUIMiddleware.d.ts} +0 -0
- /package/lib/redux/_modularui/{ModularUIReducer.d.cts → ModularUIReducer.d.ts} +0 -0
- /package/lib/redux/_modularui/{ModularUISelectors.d.cts → ModularUISelectors.d.ts} +0 -0
- /package/lib/redux/_modularui/{ModularUIUtils.d.cts → ModularUIUtils.d.ts} +0 -0
- /package/lib/redux/_modularui/{index.d.cts → index.d.ts} +0 -0
- /package/lib/redux/_modularui/{types.d.cts → types.d.ts} +0 -0
- /package/lib/redux/_modularui/{withModularUI.d.cts → withModularUI.d.ts} +0 -0
- /package/lib/redux/_router/{RouterActions.d.cts → RouterActions.d.ts} +0 -0
- /package/lib/redux/_router/{RouterConnectors.d.cts → RouterConnectors.d.ts} +0 -0
- /package/lib/redux/_router/{RouterMiddleware.d.cts → RouterMiddleware.d.ts} +0 -0
- /package/lib/redux/_router/{RouterReducer.d.cts → RouterReducer.d.ts} +0 -0
- /package/lib/redux/_router/{index.d.cts → index.d.ts} +0 -0
- /package/lib/redux/_router/{types.d.cts → types.d.ts} +0 -0
- /package/lib/redux/actions/{Application.d.cts → Application.d.ts} +0 -0
- /package/lib/redux/actions/{Authorization.d.cts → Authorization.d.ts} +0 -0
- /package/lib/redux/actions/{Error.d.cts → Error.d.ts} +0 -0
- /package/lib/redux/actions/{Form.d.cts → Form.d.ts} +0 -0
- /package/lib/redux/actions/{FormAttributeSet.d.cts → FormAttributeSet.d.ts} +0 -0
- /package/lib/redux/actions/{FormAttributeSetRepeatable.d.cts → FormAttributeSetRepeatable.d.ts} +0 -0
- /package/lib/redux/actions/{FormAutosave.d.cts → FormAutosave.d.ts} +0 -0
- /package/lib/redux/actions/{FormAutosubmit.d.cts → FormAutosubmit.d.ts} +0 -0
- /package/lib/redux/actions/{FormAutoupdate.d.cts → FormAutoupdate.d.ts} +0 -0
- /package/lib/redux/actions/{FormValidations.d.cts → FormValidations.d.ts} +0 -0
- /package/lib/redux/actions/{Modals.d.cts → Modals.d.ts} +0 -0
- /package/lib/redux/actions/{ModelCatalog.d.cts → ModelCatalog.d.ts} +0 -0
- /package/lib/redux/actions/{Notification.d.cts → Notification.d.ts} +0 -0
- /package/lib/redux/actions/{Preferences.d.cts → Preferences.d.ts} +0 -0
- /package/lib/redux/actions/{ProgressIndicator.d.cts → ProgressIndicator.d.ts} +0 -0
- /package/lib/redux/actions/{SignIn.d.cts → SignIn.d.ts} +0 -0
- /package/lib/redux/actions/{SignOut.d.cts → SignOut.d.ts} +0 -0
- /package/lib/redux/actions/{index.d.cts → index.d.ts} +0 -0
- /package/lib/redux/connectors/{Application.d.cts → Application.d.ts} +0 -0
- /package/lib/redux/connectors/{Breadcrumb.d.cts → Breadcrumb.d.ts} +0 -0
- /package/lib/redux/connectors/{CaseView.d.cts → CaseView.d.ts} +0 -0
- /package/lib/redux/connectors/{ConceptDetail.d.cts → ConceptDetail.d.ts} +0 -0
- /package/lib/redux/connectors/{ContentBrowser.d.cts → ContentBrowser.d.ts} +0 -0
- /package/lib/redux/connectors/{ContentDetail.d.cts → ContentDetail.d.ts} +0 -0
- /package/lib/redux/connectors/{ContentDetailSection.d.cts → ContentDetailSection.d.ts} +0 -0
- /package/lib/redux/connectors/{Form.d.cts → Form.d.ts} +0 -0
- /package/lib/redux/connectors/{FormAttributeSet.d.cts → FormAttributeSet.d.ts} +0 -0
- /package/lib/redux/connectors/{ListDetail.d.cts → ListDetail.d.ts} +0 -0
- /package/lib/redux/connectors/{Modal.d.cts → Modal.d.ts} +0 -0
- /package/lib/redux/connectors/{ModelCatalog.d.cts → ModelCatalog.d.ts} +0 -0
- /package/lib/redux/connectors/{Notification.d.cts → Notification.d.ts} +0 -0
- /package/lib/redux/connectors/{PanelRenderer.d.cts → PanelRenderer.d.ts} +0 -0
- /package/lib/redux/connectors/{Preferences.d.cts → Preferences.d.ts} +0 -0
- /package/lib/redux/connectors/{Progress.d.cts → Progress.d.ts} +0 -0
- /package/lib/redux/connectors/{ProgressIndicator.d.cts → ProgressIndicator.d.ts} +0 -0
- /package/lib/redux/connectors/{QuickSearch.d.cts → QuickSearch.d.ts} +0 -0
- /package/lib/redux/connectors/{SignIn.d.cts → SignIn.d.ts} +0 -0
- /package/lib/redux/connectors/{SignOut.d.cts → SignOut.d.ts} +0 -0
- /package/lib/redux/connectors/{Tab.d.cts → Tab.d.ts} +0 -0
- /package/lib/redux/connectors/{index.d.cts → index.d.ts} +0 -0
- /package/lib/redux/{index.d.cts → index.d.ts} +0 -0
- /package/lib/redux/reducers/{AuthReducer.d.cts → AuthReducer.d.ts} +0 -0
- /package/lib/redux/reducers/{ErrorReducer.d.cts → ErrorReducer.d.ts} +0 -0
- /package/lib/redux/reducers/{ModalsReducer.d.cts → ModalsReducer.d.ts} +0 -0
- /package/lib/redux/reducers/{ModelCatalogReducer.d.cts → ModelCatalogReducer.d.ts} +0 -0
- /package/lib/redux/reducers/{NotificationReducer.d.cts → NotificationReducer.d.ts} +0 -0
- /package/lib/redux/reducers/{PreferencesReducer.d.cts → PreferencesReducer.d.ts} +0 -0
- /package/lib/redux/reducers/{ProgressIndicatorReducer.d.cts → ProgressIndicatorReducer.d.ts} +0 -0
- /package/lib/redux/reducers/{createReducer.d.cts → createReducer.d.ts} +0 -0
- /package/lib/redux/reducers/{index.d.cts → index.d.ts} +0 -0
- /package/lib/redux/selectors/{i18n.d.cts → i18n.d.ts} +0 -0
- /package/lib/redux/selectors/{index.d.cts → index.d.ts} +0 -0
- /package/lib/redux/selectors/{modelcatalog.d.cts → modelcatalog.d.ts} +0 -0
- /package/lib/redux/store/{beforeRenderHooks.d.cts → beforeRenderHooks.d.ts} +0 -0
- /package/lib/redux/store/{configureStore.d.cts → configureStore.d.ts} +0 -0
- /package/lib/redux/{types.d.cts → types.d.ts} +0 -0
- /package/lib/utils/browser/{Cache.d.cts → Cache.d.ts} +0 -0
- /package/lib/utils/browser/{Cookies.d.cts → Cookies.d.ts} +0 -0
- /package/lib/utils/datetime/{DateTimeUtil.d.cts → DateTimeUtil.d.ts} +0 -0
- /package/lib/utils/fetch/__mocks__/{universalFetch.d.cts → universalFetch.d.ts} +0 -0
- /package/lib/utils/fetch/{serverFetch.d.cts → serverFetch.d.ts} +0 -0
- /package/lib/utils/fetch/{types.d.cts → types.d.ts} +0 -0
- /package/lib/utils/fetch/{universalFetch.d.cts → universalFetch.d.ts} +0 -0
- /package/lib/utils/fetch/{xhr.d.cts → xhr.d.ts} +0 -0
- /package/lib/utils/helpers/{checkResource.d.cts → checkResource.d.ts} +0 -0
- /package/lib/utils/helpers/{createHash.d.cts → createHash.d.ts} +0 -0
- /package/lib/utils/helpers/{createHref.d.cts → createHref.d.ts} +0 -0
- /package/lib/utils/helpers/{createUUID.d.cts → createUUID.d.ts} +0 -0
- /package/lib/utils/helpers/{index.d.cts → index.d.ts} +0 -0
- /package/lib/utils/helpers/{objects.d.cts → objects.d.ts} +0 -0
- /package/lib/utils/helpers/{repositoryResource.d.cts → repositoryResource.d.ts} +0 -0
- /package/lib/utils/helpers/{sanitizeHtml.d.cts → sanitizeHtml.d.ts} +0 -0
- /package/lib/utils/helpers/{text.d.cts → text.d.ts} +0 -0
- /package/lib/utils/{index.d.cts → index.d.ts} +0 -0
- /package/lib/utils/number/{DecimalFormat.d.cts → DecimalFormat.d.ts} +0 -0
- /package/lib/utils/number/{formatValue.d.cts → formatValue.d.ts} +0 -0
- /package/lib/utils/number/{parseNumbers.d.cts → parseNumbers.d.ts} +0 -0
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.default = void 0;
|
|
8
|
+
var _map = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/map"));
|
|
9
|
+
var _filter = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/filter"));
|
|
10
|
+
var _find = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/find"));
|
|
11
|
+
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/defineProperty"));
|
|
12
|
+
var _DetailModel = _interopRequireDefault(require("../detail/DetailModel"));
|
|
13
|
+
var _Href = _interopRequireDefault(require("../href/Href"));
|
|
14
|
+
var _TaskGroupCollection = _interopRequireDefault(require("../taskgroup/TaskGroupCollection"));
|
|
15
|
+
var _TaskGroupModel = _interopRequireDefault(require("../taskgroup/TaskGroupModel"));
|
|
16
|
+
var _LayoutHints = require("../../constants/LayoutHints");
|
|
17
|
+
var _IllegalStateException = _interopRequireDefault(require("../../exceptions/IllegalStateException"));
|
|
18
|
+
/**
|
|
19
|
+
* Model containing the details of one case.
|
|
20
|
+
*/
|
|
21
|
+
class CaseViewModel extends _DetailModel.default {
|
|
22
|
+
/**
|
|
23
|
+
*/
|
|
24
|
+
constructor(caseviewData) {
|
|
25
|
+
super(caseviewData);
|
|
26
|
+
(0, _defineProperty2.default)(this, "_taskGroupCollection", void 0);
|
|
27
|
+
this.createTaskGroupCollection();
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
*/
|
|
32
|
+
get type() {
|
|
33
|
+
return "CaseView";
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
*/
|
|
38
|
+
static get modelName() {
|
|
39
|
+
return "CaseViewModel";
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
*/
|
|
44
|
+
static isApplicableModel(data) {
|
|
45
|
+
return data.contributions.resourcetype && data.contributions.resourcetype === "CaseView";
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
*/
|
|
50
|
+
getInitialChildModelLinks() {
|
|
51
|
+
return this.links.getLinksByGroup("taskgroup").all;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Getting panel links
|
|
56
|
+
*/
|
|
57
|
+
get panelLinks() {
|
|
58
|
+
return this.links.getLinksByGroup("panel");
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
*/
|
|
63
|
+
setChildModels(models, errors) {
|
|
64
|
+
super.setChildModels(models, errors);
|
|
65
|
+
const taskGroupModels = [];
|
|
66
|
+
for (let i = 0; i < models.length; i++) {
|
|
67
|
+
if (models[i] instanceof _TaskGroupModel.default) {
|
|
68
|
+
taskGroupModels.push(models[i]);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
this.taskGroupCollection.add(taskGroupModels);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Getting the case name
|
|
76
|
+
*/
|
|
77
|
+
get casename() {
|
|
78
|
+
return this.attributeCollection.getAttributeByLayoutHint(_LayoutHints.TITLE);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* Retrieve the case label, this can be configured with a case property with the layout hint 'title'
|
|
83
|
+
*/
|
|
84
|
+
get label() {
|
|
85
|
+
return this.casename ? this.casename.value : "";
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Retrieve the label that was configured on the caseview
|
|
90
|
+
*/
|
|
91
|
+
get viewLabel() {
|
|
92
|
+
return this.getContribution("label", "");
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Check if an introtext exists for this caseview
|
|
97
|
+
*/
|
|
98
|
+
hasIntroText() {
|
|
99
|
+
return this.introtext !== "";
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Getting the introduction text configured on the case view
|
|
104
|
+
*/
|
|
105
|
+
get introtext() {
|
|
106
|
+
if (this.data._content) {
|
|
107
|
+
return this.data._content.text.message;
|
|
108
|
+
}
|
|
109
|
+
if (this.contributions.text) {
|
|
110
|
+
return this.contributions.text.message ?? this.contributions.text;
|
|
111
|
+
}
|
|
112
|
+
if (Array.isArray(this.contributions.texts)) {
|
|
113
|
+
return this.contributions.texts[0].text;
|
|
114
|
+
}
|
|
115
|
+
return "";
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* Getting the self href
|
|
120
|
+
*/
|
|
121
|
+
get selfhref() {
|
|
122
|
+
const selfLink = this.links.getLinkByKey("self");
|
|
123
|
+
if (selfLink === null) {
|
|
124
|
+
throw new _IllegalStateException.default("No self href available");
|
|
125
|
+
}
|
|
126
|
+
return selfLink.href;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
*/
|
|
131
|
+
createTaskGroupCollection() {
|
|
132
|
+
var _context;
|
|
133
|
+
const allTaskgroupData = this.getData("taskgroups", []);
|
|
134
|
+
const allTaskgroupContributions = this.getContribution("taskgroups", []);
|
|
135
|
+
this.taskGroupCollection = (0, _map.default)(_context = (0, _filter.default)(allTaskgroupData).call(allTaskgroupData, taskgroup => allTaskgroupContributions.some(taskgroupContribution => taskgroupContribution.name === taskgroup.name))).call(_context, taskgroup => {
|
|
136
|
+
const taskgroupContributions = (0, _find.default)(allTaskgroupContributions).call(allTaskgroupContributions, taskgroupContribution => taskgroupContribution.name === taskgroup.name);
|
|
137
|
+
return _TaskGroupModel.default.create(taskgroup.name, taskgroup, taskgroupContributions, this.modelOptions);
|
|
138
|
+
});
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* Setting the taskgroup panel collection
|
|
143
|
+
*/
|
|
144
|
+
set taskGroupCollection(taskgroups) {
|
|
145
|
+
this._taskGroupCollection = new _TaskGroupCollection.default(taskgroups);
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* Getting the taskgrouppanels on the tab
|
|
150
|
+
*/
|
|
151
|
+
get taskGroupCollection() {
|
|
152
|
+
return this._taskGroupCollection;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* Has taskgroups
|
|
157
|
+
*/
|
|
158
|
+
hasTaskGroups() {
|
|
159
|
+
return this.taskGroupCollection && this.taskGroupCollection.hasItems;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
exports.default = CaseViewModel;
|
|
163
|
+
//# sourceMappingURL=CaseViewModel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CaseViewModel.js","names":["_DetailModel","_interopRequireDefault","require","_Href","_TaskGroupCollection","_TaskGroupModel","_LayoutHints","_IllegalStateException","CaseViewModel","DetailModel","constructor","caseviewData","_defineProperty2","default","createTaskGroupCollection","type","modelName","isApplicableModel","data","contributions","resourcetype","getInitialChildModelLinks","links","getLinksByGroup","all","panelLinks","setChildModels","models","errors","taskGroupModels","i","length","TaskGroupModel","push","taskGroupCollection","add","casename","attributeCollection","getAttributeByLayoutHint","TITLE","label","value","viewLabel","getContribution","hasIntroText","introtext","_content","text","message","Array","isArray","texts","selfhref","selfLink","getLinkByKey","IllegalStateException","href","_context","allTaskgroupData","getData","allTaskgroupContributions","_map","_filter","call","taskgroup","some","taskgroupContribution","name","taskgroupContributions","_find","create","modelOptions","taskgroups","_taskGroupCollection","TaskGroupCollection","hasTaskGroups","hasItems","exports"],"sources":["../../../src/models/caseview/CaseViewModel.js"],"sourcesContent":["// @flow\nimport DetailModel from \"../detail/DetailModel\";\nimport Href from \"../href/Href\";\nimport TaskGroupCollection from \"../taskgroup/TaskGroupCollection\";\nimport TaskGroupModel from \"../taskgroup/TaskGroupModel\";\n\nimport { TITLE } from \"../../constants/LayoutHints\";\n\nimport IllegalStateException from \"../../exceptions/IllegalStateException\";\n\nimport type { ModularUIModel, AttributeType } from \"../types\";\nimport type { ModularUIResponse } from \"../../modularui\";\nimport type LinkCollection from \"../links/LinkCollection\";\nimport type LinkModel from \"../links/LinkModel\";\nimport type ErrorResponse from \"../error/ErrorResponse\";\n\n/**\n * Model containing the details of one case.\n */\nexport default class CaseViewModel extends DetailModel {\n _taskGroupCollection: TaskGroupCollection;\n\n /**\n */\n constructor(caseviewData: ModularUIResponse) {\n super(caseviewData);\n\n this.createTaskGroupCollection();\n }\n\n /**\n */\n get type(): string {\n return \"CaseView\";\n }\n\n /**\n */\n static get modelName(): string {\n return \"CaseViewModel\";\n }\n\n /**\n */\n static isApplicableModel(data: ModularUIResponse): boolean {\n return (\n data.contributions.resourcetype &&\n data.contributions.resourcetype === \"CaseView\"\n );\n }\n\n /**\n */\n getInitialChildModelLinks(): Array<LinkModel> {\n return this.links.getLinksByGroup(\"taskgroup\").all;\n }\n\n /**\n * Getting panel links\n */\n get panelLinks(): LinkCollection {\n return this.links.getLinksByGroup(\"panel\");\n }\n\n /**\n */\n setChildModels(models: Array<ModularUIModel>, errors: Array<ErrorResponse>) {\n super.setChildModels(models, errors);\n\n const taskGroupModels = [];\n for (let i = 0; i < models.length; i++) {\n if (models[i] instanceof TaskGroupModel) {\n taskGroupModels.push(models[i]);\n }\n }\n\n this.taskGroupCollection.add(taskGroupModels);\n }\n\n /**\n * Getting the case name\n */\n get casename(): ?AttributeType {\n return this.attributeCollection.getAttributeByLayoutHint(TITLE);\n }\n\n /**\n * Retrieve the case label, this can be configured with a case property with the layout hint 'title'\n */\n get label(): string {\n return this.casename ? this.casename.value : \"\";\n }\n\n /**\n * Retrieve the label that was configured on the caseview\n */\n get viewLabel(): string {\n return this.getContribution(\"label\", \"\");\n }\n\n /**\n * Check if an introtext exists for this caseview\n */\n hasIntroText(): boolean {\n return this.introtext !== \"\";\n }\n\n /**\n * Getting the introduction text configured on the case view\n */\n get introtext(): string {\n if (this.data._content) {\n return this.data._content.text.message;\n }\n\n if (this.contributions.text) {\n return this.contributions.text.message ?? this.contributions.text;\n }\n\n if (Array.isArray(this.contributions.texts)) {\n return this.contributions.texts[0].text;\n }\n\n return \"\";\n }\n\n /**\n * Getting the self href\n */\n get selfhref(): Href {\n const selfLink = this.links.getLinkByKey(\"self\");\n\n if (selfLink === null) {\n throw new IllegalStateException(\"No self href available\");\n }\n\n return selfLink.href;\n }\n\n /**\n */\n createTaskGroupCollection() {\n const allTaskgroupData = this.getData(\"taskgroups\", []);\n const allTaskgroupContributions = this.getContribution(\"taskgroups\", []);\n\n this.taskGroupCollection = allTaskgroupData\n .filter((taskgroup) =>\n allTaskgroupContributions.some(\n (taskgroupContribution) =>\n taskgroupContribution.name === taskgroup.name,\n ),\n )\n .map((taskgroup) => {\n const taskgroupContributions = allTaskgroupContributions.find(\n (taskgroupContribution) =>\n taskgroupContribution.name === taskgroup.name,\n );\n\n return TaskGroupModel.create(\n taskgroup.name,\n taskgroup,\n taskgroupContributions,\n this.modelOptions,\n );\n });\n }\n\n /**\n * Setting the taskgroup panel collection\n */\n set taskGroupCollection(taskgroups: Array<TaskGroupModel>) {\n this._taskGroupCollection = new TaskGroupCollection(taskgroups);\n }\n\n /**\n * Getting the taskgrouppanels on the tab\n */\n get taskGroupCollection(): TaskGroupCollection {\n return this._taskGroupCollection;\n }\n\n /**\n * Has taskgroups\n */\n hasTaskGroups(): boolean {\n return this.taskGroupCollection && this.taskGroupCollection.hasItems;\n }\n}\n"],"mappings":";;;;;;;;;;;AACA,IAAAA,YAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,KAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,oBAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,eAAA,GAAAJ,sBAAA,CAAAC,OAAA;AAEA,IAAAI,YAAA,GAAAJ,OAAA;AAEA,IAAAK,sBAAA,GAAAN,sBAAA,CAAAC,OAAA;AAQA;AACA;AACA;AACe,MAAMM,aAAa,SAASC,oBAAW,CAAC;EAGrD;AACF;EACEC,WAAWA,CAACC,YAA+B,EAAE;IAC3C,KAAK,CAACA,YAAY,CAAC;IAAC,IAAAC,gBAAA,CAAAC,OAAA;IAEpB,IAAI,CAACC,yBAAy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I,CAACT,mBAAmB,GAAG,IAAA2B,IAAA,CAAAhD,OAAA,EAAA4C,QAAA,OAAAK,OAAA,CAAAjD,OAAA,EAAA6C,gBAAgB,EAAAK,IAAA,CAAhBL,gBAAgB,EAChCM,SAAS,IAChBJ,yBAAyB,CAACK,IAAI,CAC3BC,qBAAqB,IACpBA,qBAAqB,CAACC,IAAI,KAAKH,SAAS,CAACG,IAC7C,CACF,CAAC,EAAAJ,IAAA,CAAAN,QAAA,EACKO,SAAS,IAAK;MAClB,MAAMI,sBAAsB,GAAG,IAAAC,KAAA,CAAAxD,OAAA,EAAA+C,yBAAyB,EAAAG,IAAA,CAAzBH,yBAAyB,EACrDM,qBAAqB,IACpBA,qBAAqB,CAACC,IAAI,KAAKH,SAAS,CAACG,IAC7C,CAAC;MAED,OAAOnC,uBAAc,CAACsC,MAAM,CAC1BN,SAAS,CAACG,IAAI,EACdH,SAAS,EACTI,sBAAsB,EACtB,IAAI,CAACG,YACP,CAAC;IACH,CAAC,CAAC;EACN;;EAEA;AACF;AACA;EACE,IAAIrC,mBAAmBA,CAACsC,UAAiC,EAAE;IACzD,IAAI,CAACC,oBAAoB,GAAG,IAAIC,4BAAmB,CAACF,UAAU,CAAC;EACjE;;EAEA;AACF;AACA;EACE,IAAItC,mBAAmBA,CAAA,EAAwB;IAC7C,OAAO,IAAI,CAACuC,oBAAoB;EAClC;;EAEA;AACF;AACA;EACEE,aAAaA,CAAA,EAAY;IACvB,OAAO,IAAI,CAACzC,mBAAmB,IAAI,IAAI,CAACA,mBAAmB,CAAC0C,QAAQ;EACtE;AACF;AAACC,OAAA,CAAAhE,OAAA,GAAAL,aAAA","ignoreList":[]}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.default = void 0;
|
|
8
|
+
var _endsWith = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/ends-with"));
|
|
9
|
+
var _map = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/map"));
|
|
10
|
+
var _filter = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/filter"));
|
|
11
|
+
var _find = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/find"));
|
|
12
|
+
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/defineProperty"));
|
|
13
|
+
var _ConceptDetailModel = _interopRequireDefault(require("./ConceptDetailModel"));
|
|
14
|
+
var _ConceptTypeDetailModel = _interopRequireDefault(require("./ConceptTypeDetailModel"));
|
|
15
|
+
var _Settings = require("../../constants/Settings");
|
|
16
|
+
/**
|
|
17
|
+
*/
|
|
18
|
+
class BusinessScenarioModel extends _ConceptDetailModel.default {
|
|
19
|
+
constructor() {
|
|
20
|
+
super(...arguments);
|
|
21
|
+
(0, _defineProperty2.default)(this, "_scenarioSteps", void 0);
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
*/
|
|
25
|
+
get type() {
|
|
26
|
+
return "BusinessScenario";
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
*/
|
|
31
|
+
static get modelName() {
|
|
32
|
+
return "BusinessScenario";
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
*/
|
|
37
|
+
static isApplicableModel(data) {
|
|
38
|
+
return BusinessScenarioModel.isOfConceptType(data?.data?._links?.concepttype?.href, ["SCENARIO"]);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
*/
|
|
43
|
+
static isOfConceptType(conceptTypeHref, settingNames) {
|
|
44
|
+
if (!conceptTypeHref) {
|
|
45
|
+
return false;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
// Check if settingNames is an array
|
|
49
|
+
if (!Array.isArray(settingNames)) {
|
|
50
|
+
throw new TypeError("settingNames must be an array");
|
|
51
|
+
}
|
|
52
|
+
const pathToKmt = "/Library/KMTs/Business scenarios.bixml";
|
|
53
|
+
const conceptTypeSettings = {
|
|
54
|
+
STEP: (0, _Settings.getSetting)("BUSINESS_SCENARIO_STEP_CONCEPT_TYPE", [`${pathToKmt}/ScenarioStep`]),
|
|
55
|
+
PERSONA: (0, _Settings.getSetting)("BUSINESS_SCENARIO_PERSONA_CONCEPT_TYPE", [`${pathToKmt}/Persona`]),
|
|
56
|
+
SYSTEM: (0, _Settings.getSetting)("BUSINESS_SCENARIO_SYSTEM_CONCEPT_TYPE", [`${pathToKmt}/System`]),
|
|
57
|
+
SCENARIO: (0, _Settings.getSetting)("BUSINESS_SCENARIO_CONCEPT_TYPE", [`${pathToKmt}/BusinessScenario`])
|
|
58
|
+
};
|
|
59
|
+
const decodedConceptTypeHref = decodeURIComponent(conceptTypeHref);
|
|
60
|
+
return settingNames.some(settingName => Array.isArray(conceptTypeSettings[settingName]) && conceptTypeSettings[settingName].some(conceptTypeSetting => (0, _endsWith.default)(decodedConceptTypeHref).call(decodedConceptTypeHref, conceptTypeSetting)));
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
*/
|
|
65
|
+
getInitialChildModelLinks() {
|
|
66
|
+
var _context, _context2;
|
|
67
|
+
const childModelLinks = super.getInitialChildModelLinks();
|
|
68
|
+
const scenarioStepLinks = (0, _map.default)(_context = (0, _filter.default)(_context2 = this.relationsCollection.all).call(_context2, relation => relation.direction === "outgoing" && BusinessScenarioModel.isOfConceptType(relation.concept.concepttypeHref?.path, ["STEP"]))).call(_context, relation => relation.concept.asLinkModel());
|
|
69
|
+
if (scenarioStepLinks.length > 0) {
|
|
70
|
+
childModelLinks.push(...scenarioStepLinks);
|
|
71
|
+
}
|
|
72
|
+
return childModelLinks;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
*/
|
|
77
|
+
setChildModels(models, errors) {
|
|
78
|
+
// $FlowExpectedError[incompatible-type]
|
|
79
|
+
const conceptTypeModel = (0, _find.default)(models).call(models, model => model instanceof _ConceptTypeDetailModel.default);
|
|
80
|
+
if (conceptTypeModel) {
|
|
81
|
+
this.conceptType = conceptTypeModel;
|
|
82
|
+
}
|
|
83
|
+
this.relationsCollection.setChildModels(models, errors);
|
|
84
|
+
const scenarioSteps = [];
|
|
85
|
+
for (let i = 0; i < models.length; i++) {
|
|
86
|
+
const model = models[i];
|
|
87
|
+
if (model instanceof _ConceptDetailModel.default && BusinessScenarioModel.isOfConceptType(model.conceptType?.selfhref.path, ["STEP"])) {
|
|
88
|
+
scenarioSteps.push(model);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
this.scenarioSteps = scenarioSteps;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
*/
|
|
96
|
+
set scenarioSteps(models) {
|
|
97
|
+
this._scenarioSteps = models;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
*/
|
|
102
|
+
get scenarioSteps() {
|
|
103
|
+
return this._scenarioSteps;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
*/
|
|
108
|
+
get actors() {
|
|
109
|
+
const actors = [];
|
|
110
|
+
this.scenarioSteps.forEach(scenarioStep => {
|
|
111
|
+
var _context3;
|
|
112
|
+
const relationsToActor = (0, _find.default)(_context3 = scenarioStep.relationsCollection).call(_context3, relation => relation.direction === "outgoing" && BusinessScenarioModel.isOfConceptType(relation.concept.concepttypeHref?.path, ["PERSONA", "SYSTEM"]));
|
|
113
|
+
const newRelationToActor = relationsToActor && !actors.some(actor => actor.key === relationsToActor.concept.key);
|
|
114
|
+
if (relationsToActor && newRelationToActor) {
|
|
115
|
+
actors.push(relationsToActor.concept);
|
|
116
|
+
}
|
|
117
|
+
});
|
|
118
|
+
return actors;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
var _default = exports.default = BusinessScenarioModel;
|
|
122
|
+
//# sourceMappingURL=BusinessScenarioModel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BusinessScenarioModel.js","names":["_ConceptDetailModel","_interopRequireDefault","require","_ConceptTypeDetailModel","_Settings","BusinessScenarioModel","ConceptDetailModel","constructor","arguments","_defineProperty2","default","type","modelName","isApplicableModel","data","isOfConceptType","_links","concepttype","href","conceptTypeHref","settingNames","Array","isArray","TypeError","pathToKmt","conceptTypeSettings","STEP","getSetting","PERSONA","SYSTEM","SCENARIO","decodedConceptTypeHref","decodeURIComponent","some","settingName","conceptTypeSetting","_endsWith","call","getInitialChildModelLinks","_context","_context2","childModelLinks","scenarioStepLinks","_map","_filter","relationsCollection","all","relation","direction","concept","concepttypeHref","path","asLinkModel","length","push","setChildModels","models","errors","conceptTypeModel","_find","model","ConceptTypeDetailModel","conceptType","scenarioSteps","i","selfhref","_scenarioSteps","actors","forEach","scenarioStep","_context3","relationsToActor","newRelationToActor","actor","key","_default","exports"],"sources":["../../../src/models/concepts/BusinessScenarioModel.js"],"sourcesContent":["// @flow\nimport ConceptDetailModel from \"./ConceptDetailModel\";\nimport ConceptTypeDetailModel from \"./ConceptTypeDetailModel\";\nimport { getSetting } from \"../../constants/Settings\";\n\nimport type { ModularUIResponse } from \"../../modularui\";\nimport type { ModularUIModel } from \"../types\";\nimport type LinkModel from \"../links/LinkModel\";\nimport type ConceptLinkModel from \"./ConceptLinkModel\";\nimport type ErrorResponse from \"../error/ErrorResponse\";\n\n/**\n */\nclass BusinessScenarioModel extends ConceptDetailModel {\n _scenarioSteps: Array<ConceptDetailModel>;\n\n /**\n */\n get type(): string {\n return \"BusinessScenario\";\n }\n\n /**\n */\n static get modelName(): string {\n return \"BusinessScenario\";\n }\n\n /**\n */\n static isApplicableModel(data: ModularUIResponse): boolean {\n return BusinessScenarioModel.isOfConceptType(\n data?.data?._links?.concepttype?.href,\n [\"SCENARIO\"],\n );\n }\n\n /**\n */\n static isOfConceptType(\n conceptTypeHref: ?string,\n settingNames: Array<\"STEP\" | \"PERSONA\" | \"SCENARIO\" | \"SYSTEM\">,\n ): boolean {\n if (!conceptTypeHref) {\n return false;\n }\n\n // Check if settingNames is an array\n if (!Array.isArray(settingNames)) {\n throw new TypeError(\"settingNames must be an array\");\n }\n\n const pathToKmt = \"/Library/KMTs/Business scenarios.bixml\";\n\n const conceptTypeSettings = {\n STEP: getSetting(\"BUSINESS_SCENARIO_STEP_CONCEPT_TYPE\", [\n `${pathToKmt}/ScenarioStep`,\n ]),\n PERSONA: getSetting(\"BUSINESS_SCENARIO_PERSONA_CONCEPT_TYPE\", [\n `${pathToKmt}/Persona`,\n ]),\n SYSTEM: getSetting(\"BUSINESS_SCENARIO_SYSTEM_CONCEPT_TYPE\", [\n `${pathToKmt}/System`,\n ]),\n SCENARIO: getSetting(\"BUSINESS_SCENARIO_CONCEPT_TYPE\", [\n `${pathToKmt}/BusinessScenario`,\n ]),\n };\n\n const decodedConceptTypeHref = decodeURIComponent(conceptTypeHref);\n\n return settingNames.some(\n (settingName) =>\n Array.isArray(conceptTypeSettings[settingName]) &&\n conceptTypeSettings[settingName].some((conceptTypeSetting) =>\n decodedConceptTypeHref.endsWith(conceptTypeSetting),\n ),\n );\n }\n\n /**\n */\n getInitialChildModelLinks(): Array<LinkModel> {\n const childModelLinks = super.getInitialChildModelLinks();\n\n const scenarioStepLinks = this.relationsCollection.all\n .filter(\n (relation) =>\n relation.direction === \"outgoing\" &&\n BusinessScenarioModel.isOfConceptType(\n relation.concept.concepttypeHref?.path,\n [\"STEP\"],\n ),\n )\n .map((relation) => relation.concept.asLinkModel());\n\n if (scenarioStepLinks.length > 0) {\n childModelLinks.push(...scenarioStepLinks);\n }\n\n return childModelLinks;\n }\n\n /**\n */\n setChildModels(models: Array<ModularUIModel>, errors: Array<ErrorResponse>) {\n // $FlowExpectedError[incompatible-type]\n const conceptTypeModel: ?ConceptTypeDetailModel = models.find(\n (model) => model instanceof ConceptTypeDetailModel,\n );\n\n if (conceptTypeModel) {\n this.conceptType = conceptTypeModel;\n }\n\n this.relationsCollection.setChildModels(models, errors);\n\n const scenarioSteps = [];\n for (let i = 0; i < models.length; i++) {\n const model = models[i];\n\n if (\n model instanceof ConceptDetailModel &&\n BusinessScenarioModel.isOfConceptType(\n model.conceptType?.selfhref.path,\n [\"STEP\"],\n )\n ) {\n scenarioSteps.push(model);\n }\n }\n\n this.scenarioSteps = scenarioSteps;\n }\n\n /**\n */\n set scenarioSteps(models: Array<ConceptDetailModel>) {\n this._scenarioSteps = models;\n }\n\n /**\n */\n get scenarioSteps(): Array<ConceptDetailModel> {\n return this._scenarioSteps;\n }\n\n /**\n */\n get actors(): Array<ConceptLinkModel> {\n const actors = [];\n\n this.scenarioSteps.forEach((scenarioStep) => {\n const relationsToActor = scenarioStep.relationsCollection.find(\n (relation) =>\n relation.direction === \"outgoing\" &&\n BusinessScenarioModel.isOfConceptType(\n relation.concept.concepttypeHref?.path,\n [\"PERSONA\", \"SYSTEM\"],\n ),\n );\n\n const newRelationToActor =\n relationsToActor &&\n !actors.some((actor) => actor.key === relationsToActor.concept.key);\n\n if (relationsToActor && newRelationToActor) {\n actors.push(relationsToActor.concept);\n }\n });\n\n return actors;\n }\n}\n\nexport default BusinessScenarioModel;\n"],"mappings":";;;;;;;;;;;;AACA,IAAAA,mBAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,uBAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,SAAA,GAAAF,OAAA;AAQA;AACA;AACA,MAAMG,qBAAqB,SAASC,2BAAkB,CAAC;EAAAC,YAAA;IAAA,SAAAC,SAAA;IAAA,IAAAC,gBAAA,CAAAC,OAAA;EAAA;EAGrD;AACF;EACE,IAAIC,IAAIA,CAAA,EAAW;IACjB,OAAO,kBAAkB;EAC3B;;EAEA;AACF;EACE,WAAWC,SAASA,CAAA,EAAW;IAC7B,OAAO,kBAAkB;EAC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,OAAA,CAAAlE,OAAA,GAEcL,qBAAqB","ignoreList":[]}
|
|
@@ -0,0 +1,281 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.default = void 0;
|
|
8
|
+
var _find = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/find"));
|
|
9
|
+
var _map = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/map"));
|
|
10
|
+
var _filter = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/filter"));
|
|
11
|
+
var _includes = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/includes"));
|
|
12
|
+
var _endsWith = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/ends-with"));
|
|
13
|
+
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/defineProperty"));
|
|
14
|
+
var _ResourceModel = _interopRequireDefault(require("../base/ResourceModel"));
|
|
15
|
+
var _ConceptRelationCollection = _interopRequireDefault(require("./ConceptRelationCollection"));
|
|
16
|
+
var _SourceReferenceCollection = _interopRequireDefault(require("./SourceReferenceCollection"));
|
|
17
|
+
var _ConceptTypeDetailModel = _interopRequireDefault(require("./ConceptTypeDetailModel"));
|
|
18
|
+
var _Constants = require("../../constants/Constants");
|
|
19
|
+
/**
|
|
20
|
+
* Model for concept details, available through modelcatalog
|
|
21
|
+
*/
|
|
22
|
+
class ConceptDetailModel extends _ResourceModel.default {
|
|
23
|
+
/**
|
|
24
|
+
*/
|
|
25
|
+
constructor(modularuiResponse) {
|
|
26
|
+
super(modularuiResponse);
|
|
27
|
+
(0, _defineProperty2.default)(this, "_relations", void 0);
|
|
28
|
+
(0, _defineProperty2.default)(this, "_conceptType", void 0);
|
|
29
|
+
(0, _defineProperty2.default)(this, "_sourceReferences", void 0);
|
|
30
|
+
this._relations = new _ConceptRelationCollection.default(this.data.relations, this.entryDate, this.modelOptions);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
*/
|
|
35
|
+
get type() {
|
|
36
|
+
return "ConceptDetail";
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
*/
|
|
41
|
+
static get modelName() {
|
|
42
|
+
return "ConceptDetailModel";
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
*/
|
|
47
|
+
static isApplicableModel(data) {
|
|
48
|
+
return data.contributions.resourcetype && data.contributions.resourcetype === "ConceptDetail";
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
*/
|
|
53
|
+
getInitialChildModelLinks() {
|
|
54
|
+
const conceptTypeLink = this.links.getLinkByKey("concepttype");
|
|
55
|
+
const relationsCollectionLinks = this.relationsCollection.getInitialChildModelLinks();
|
|
56
|
+
if (conceptTypeLink) {
|
|
57
|
+
conceptTypeLink.isCacheable = true;
|
|
58
|
+
return [conceptTypeLink, ...relationsCollectionLinks];
|
|
59
|
+
}
|
|
60
|
+
return relationsCollectionLinks;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
*/
|
|
65
|
+
setChildModels(models, errors) {
|
|
66
|
+
// $FlowExpectedError[incompatible-type]
|
|
67
|
+
const conceptTypeModel = (0, _find.default)(models).call(models, model => model instanceof _ConceptTypeDetailModel.default);
|
|
68
|
+
if (conceptTypeModel) {
|
|
69
|
+
this.conceptType = conceptTypeModel;
|
|
70
|
+
}
|
|
71
|
+
this.relationsCollection.setChildModels(models, errors);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Retrieve concept detail identifier as key for this model
|
|
76
|
+
*/
|
|
77
|
+
get key() {
|
|
78
|
+
return this.getData("_id", "concept");
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* Getting the self link of this Concept
|
|
83
|
+
*/
|
|
84
|
+
get selfhref() {
|
|
85
|
+
const {
|
|
86
|
+
href
|
|
87
|
+
} = this.selflink;
|
|
88
|
+
if (this.entryDate) {
|
|
89
|
+
href.setParameter(_Constants.TIMEVERSION_FILTER_NAME, this.entryDate);
|
|
90
|
+
} else {
|
|
91
|
+
href.removeParameter(_Constants.TIMEVERSION_FILTER_NAME);
|
|
92
|
+
}
|
|
93
|
+
return href;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* Available diagrams for the concept, most of the time just one
|
|
98
|
+
*/
|
|
99
|
+
get diagramLinks() {
|
|
100
|
+
return this.links.getLinksByGroup("diagram");
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* Get conceptType of concept
|
|
105
|
+
*/
|
|
106
|
+
get conceptType() {
|
|
107
|
+
return this._conceptType;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
*/
|
|
112
|
+
set conceptType(conceptType) {
|
|
113
|
+
this._conceptType = conceptType;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* Get concept label
|
|
118
|
+
*/
|
|
119
|
+
get label() {
|
|
120
|
+
return this.data.conceptLabel;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* Get model category of the concept
|
|
125
|
+
*/
|
|
126
|
+
get modelCategory() {
|
|
127
|
+
return this.getData("modelCategory", "");
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* Get taxonomy type
|
|
132
|
+
*/
|
|
133
|
+
get taxonomyType() {
|
|
134
|
+
return this.getData("taxonomyType", "default");
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* Get concept relations collection
|
|
139
|
+
*/
|
|
140
|
+
get relationsCollection() {
|
|
141
|
+
return this._relations;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* Get concept formula
|
|
146
|
+
*/
|
|
147
|
+
get formula() {
|
|
148
|
+
return this.data.formula;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* Get additional labels of concept
|
|
153
|
+
*/
|
|
154
|
+
get labels() {
|
|
155
|
+
var _context;
|
|
156
|
+
return this.conceptType && this.conceptType.labelTypes ? (0, _map.default)(_context = this.conceptType.labelTypes).call(_context, labelType => {
|
|
157
|
+
var _context2;
|
|
158
|
+
const setting = this.data.labels ? (0, _find.default)(_context2 = this.data.labels).call(_context2, label => label.type === labelType._id) : {};
|
|
159
|
+
return {
|
|
160
|
+
...labelType,
|
|
161
|
+
...setting
|
|
162
|
+
};
|
|
163
|
+
}) : [];
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* Get label elements by id
|
|
168
|
+
*/
|
|
169
|
+
getLabelElementByIds(ids) {
|
|
170
|
+
var _context3;
|
|
171
|
+
return (0, _filter.default)(_context3 = this.labels).call(_context3, label => (0, _includes.default)(ids).call(ids, label._id));
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* Get concept properties
|
|
176
|
+
*/
|
|
177
|
+
get conceptProperties() {
|
|
178
|
+
var _context4;
|
|
179
|
+
return this.conceptType && this.conceptType.propertyTypes ? (0, _map.default)(_context4 = this.conceptType.propertyTypes).call(_context4, propertyType => {
|
|
180
|
+
var _context5;
|
|
181
|
+
const setting = this.data.properties ? (0, _find.default)(_context5 = this.data.properties).call(_context5, property => property.type === propertyType._id) : {};
|
|
182
|
+
return {
|
|
183
|
+
...propertyType,
|
|
184
|
+
...setting
|
|
185
|
+
};
|
|
186
|
+
}) : [];
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* Get concept properties by id
|
|
191
|
+
*/
|
|
192
|
+
getConceptPropertiesByIds(ids) {
|
|
193
|
+
var _context6;
|
|
194
|
+
return (0, _filter.default)(_context6 = this.conceptProperties).call(_context6, property => (0, _includes.default)(ids).call(ids, property._id));
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* Get Text fragments
|
|
199
|
+
*/
|
|
200
|
+
get textfragments() {
|
|
201
|
+
var _context7, _context9;
|
|
202
|
+
const textFragments = this.data.textFragments ? (0, _map.default)(_context7 = this.data.textFragments).call(_context7, textFragment => {
|
|
203
|
+
var _context8;
|
|
204
|
+
const textFragmentConfig = this.conceptType && (0, _find.default)(_context8 = this.conceptType.textFragmentTypes).call(_context8, textFragmentType => textFragment.type === textFragmentType._id);
|
|
205
|
+
return {
|
|
206
|
+
...textFragmentConfig,
|
|
207
|
+
...textFragment
|
|
208
|
+
};
|
|
209
|
+
}) : [];
|
|
210
|
+
const notConfiguredTextFragments = this.conceptType && this.conceptType.textFragmentTypes ? (0, _filter.default)(_context9 = this.conceptType.textFragmentTypes).call(_context9, textFragmentType => {
|
|
211
|
+
if (!this.data.textFragments) {
|
|
212
|
+
return true;
|
|
213
|
+
}
|
|
214
|
+
return !this.data.textFragments.some(textfragment => textfragment.type === textFragmentType._id);
|
|
215
|
+
}) : [];
|
|
216
|
+
return [...textFragments, ...notConfiguredTextFragments];
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* Get text fragments by id
|
|
221
|
+
*/
|
|
222
|
+
getTextFragmentByKeys(keys) {
|
|
223
|
+
var _context10;
|
|
224
|
+
return (0, _filter.default)(_context10 = this.textfragments).call(_context10, textfragment => (0, _includes.default)(keys).call(keys, textfragment.type));
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* Get source reference collection
|
|
229
|
+
*/
|
|
230
|
+
getSourceReferenceCollection() {
|
|
231
|
+
let availableLocales = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
232
|
+
if (!this._sourceReferences) {
|
|
233
|
+
this._sourceReferences = new _SourceReferenceCollection.default(this.getSourceReferencesForCurrentLanguage(availableLocales), this.entryDate, this.modelOptions);
|
|
234
|
+
}
|
|
235
|
+
return this._sourceReferences;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
/*
|
|
239
|
+
* Retrieve all sourceReferenceTypes that are valid for the current language
|
|
240
|
+
* Used by sourceRef collection
|
|
241
|
+
*/
|
|
242
|
+
/**
|
|
243
|
+
*/
|
|
244
|
+
getSourceReferencesForCurrentLanguage(availableLocales) {
|
|
245
|
+
const LANGUAGE_POSTFIX_LENGTH = 3;
|
|
246
|
+
if (this.data.sourceReferences) {
|
|
247
|
+
var _context11, _context14;
|
|
248
|
+
const availableLanguagesInSourceReferences = (0, _map.default)(_context11 = this.data.sourceReferences).call(_context11, sourceReference => sourceReference.type.substring(sourceReference.type.length - LANGUAGE_POSTFIX_LENGTH));
|
|
249
|
+
const currentLanguagePostfix = `_${this.locale}`;
|
|
250
|
+
if ((0, _includes.default)(availableLanguagesInSourceReferences).call(availableLanguagesInSourceReferences, currentLanguagePostfix)) {
|
|
251
|
+
var _context12;
|
|
252
|
+
// return all sourceReferences that end with language that is selected
|
|
253
|
+
return (0, _filter.default)(_context12 = this.data.sourceReferences).call(_context12, sourceReference => {
|
|
254
|
+
var _context13;
|
|
255
|
+
return (0, _endsWith.default)(_context13 = sourceReference.type).call(_context13, currentLanguagePostfix);
|
|
256
|
+
});
|
|
257
|
+
}
|
|
258
|
+
const availableLanguages = (0, _map.default)(availableLocales).call(availableLocales, locale => `_${locale.split("-")[0]}`);
|
|
259
|
+
|
|
260
|
+
// return all sourceReferences that do not end with language postfix
|
|
261
|
+
return (0, _filter.default)(_context14 = this.data.sourceReferences).call(_context14, sourceReference => !(0, _includes.default)(availableLanguages).call(availableLanguages, sourceReference.type.substring(sourceReference.type.length - LANGUAGE_POSTFIX_LENGTH)));
|
|
262
|
+
}
|
|
263
|
+
return [];
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
/**
|
|
267
|
+
* Retrieve modelcatalog.js
|
|
268
|
+
*/
|
|
269
|
+
get entryDate() {
|
|
270
|
+
return (0, _filter.default)(this.data)?.[_Constants.TIMEVERSION_FILTER_NAME]?.value ?? null;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
/**
|
|
274
|
+
* Indicates if the given concept type id or href exists in the hierarchy of concept types for this concept
|
|
275
|
+
*/
|
|
276
|
+
isOfConceptType(conceptTypeId) {
|
|
277
|
+
return this.conceptType?.isOfConceptType(conceptTypeId) ?? false;
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
exports.default = ConceptDetailModel;
|
|
281
|
+
//# sourceMappingURL=ConceptDetailModel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConceptDetailModel.js","names":["_ResourceModel","_interopRequireDefault","require","_ConceptRelationCollection","_SourceReferenceCollection","_ConceptTypeDetailModel","_Constants","ConceptDetailModel","ResourceModel","constructor","modularuiResponse","_defineProperty2","default","_relations","ConceptRelationCollection","data","relations","entryDate","modelOptions","type","modelName","isApplicableModel","contributions","resourcetype","getInitialChildModelLinks","conceptTypeLink","links","getLinkByKey","relationsCollectionLinks","relationsCollection","isCacheable","setChildModels","models","errors","conceptTypeModel","_find","call","model","ConceptTypeDetailModel","conceptType","key","getData","selfhref","href","selflink","setParameter","TIMEVERSION_FILTER_NAME","removeParameter","diagramLinks","getLinksByGroup","_conceptType","label","conceptLabel","modelCategory","taxonomyType","formula","labels","_context","labelTypes","_map","labelType","_context2","setting","_id","getLabelElementByIds","ids","_context3","_filter","_includes","conceptProperties","_context4","propertyTypes","propertyType","_context5","properties","property","getConceptPropertiesByIds","_context6","textfragments","_context7","_context9","textFragments","textFragment","_context8","textFragmentConfig","textFragmentTypes","textFragmentType","notConfiguredTextFragments","some","textfragment","getTextFragmentByKeys","keys","_context10","getSourceReferenceCollection","availableLocales","arguments","length","undefined","_sourceReferences","SourceReferenceCollection","getSourceReferencesForCurrentLanguage","LANGUAGE_POSTFIX_LENGTH","sourceReferences","_context11","_context14","availableLanguagesInSourceReferences","sourceReference","substring","currentLanguagePostfix","locale","_context12","_context13","_endsWith","availableLanguages","split","value","isOfConceptType","conceptTypeId","exports"],"sources":["../../../src/models/concepts/ConceptDetailModel.js"],"sourcesContent":["// @flow\nimport ResourceModel from \"../base/ResourceModel\";\nimport ConceptRelationCollection from \"./ConceptRelationCollection\";\nimport SourceReferenceCollection from \"./SourceReferenceCollection\";\nimport ConceptTypeDetailModel from \"./ConceptTypeDetailModel\";\n\nimport { TIMEVERSION_FILTER_NAME } from \"../../constants/Constants\";\n\nimport type {\n ModularUIModel,\n labelsJSON,\n textfragmentJSON,\n propertyJSON,\n} from \"../types\";\nimport type { ModularUIResponse } from \"../../modularui\";\nimport type Href from \"../href/Href\";\nimport type LinkModel from \"../links/LinkModel\";\nimport type LinkCollection from \"../links/LinkCollection\";\nimport type ErrorResponse from \"../error/ErrorResponse\";\n\n/**\n * Model for concept details, available through modelcatalog\n */\nexport default class ConceptDetailModel extends ResourceModel {\n _relations: ConceptRelationCollection;\n _conceptType: ?ConceptTypeDetailModel;\n _sourceReferences: SourceReferenceCollection;\n\n /**\n */\n constructor(modularuiResponse: ModularUIResponse) {\n super(modularuiResponse);\n\n this._relations = new ConceptRelationCollection(\n this.data.relations,\n this.entryDate,\n this.modelOptions,\n );\n }\n\n /**\n */\n get type(): string {\n return \"ConceptDetail\";\n }\n\n /**\n */\n static get modelName(): string {\n return \"ConceptDetailModel\";\n }\n\n /**\n */\n static isApplicableModel(data: ModularUIResponse): boolean {\n return (\n data.contributions.resourcetype &&\n data.contributions.resourcetype === \"ConceptDetail\"\n );\n }\n\n /**\n */\n getInitialChildModelLinks(): Array<LinkModel> {\n const conceptTypeLink = this.links.getLinkByKey(\"concepttype\");\n const relationsCollectionLinks =\n this.relationsCollection.getInitialChildModelLinks();\n\n if (conceptTypeLink) {\n conceptTypeLink.isCacheable = true;\n return [conceptTypeLink, ...relationsCollectionLinks];\n }\n\n return relationsCollectionLinks;\n }\n\n /**\n */\n setChildModels(models: Array<ModularUIModel>, errors: Array<ErrorResponse>) {\n // $FlowExpectedError[incompatible-type]\n const conceptTypeModel: ?ConceptTypeDetailModel = models.find(\n (model) => model instanceof ConceptTypeDetailModel,\n );\n\n if (conceptTypeModel) {\n this.conceptType = conceptTypeModel;\n }\n\n this.relationsCollection.setChildModels(models, errors);\n }\n\n /**\n * Retrieve concept detail identifier as key for this model\n */\n get key(): string {\n return this.getData(\"_id\", \"concept\");\n }\n\n /**\n * Getting the self link of this Concept\n */\n get selfhref(): Href {\n const { href } = this.selflink;\n\n if (this.entryDate) {\n href.setParameter(TIMEVERSION_FILTER_NAME, this.entryDate);\n } else {\n href.removeParameter(TIMEVERSION_FILTER_NAME);\n }\n\n return href;\n }\n\n /**\n * Available diagrams for the concept, most of the time just one\n */\n get diagramLinks(): LinkCollection {\n return this.links.getLinksByGroup(\"diagram\");\n }\n\n /**\n * Get conceptType of concept\n */\n get conceptType(): ?ConceptTypeDetailModel {\n return this._conceptType;\n }\n\n /**\n */\n set conceptType(conceptType: ?ConceptTypeDetailModel) {\n this._conceptType = conceptType;\n }\n\n /**\n * Get concept label\n */\n get label(): string {\n return this.data.conceptLabel;\n }\n\n /**\n * Get model category of the concept\n */\n get modelCategory(): string {\n return this.getData(\"modelCategory\", \"\");\n }\n\n /**\n * Get taxonomy type\n */\n get taxonomyType(): string {\n return this.getData(\"taxonomyType\", \"default\");\n }\n\n /**\n * Get concept relations collection\n */\n get relationsCollection(): ConceptRelationCollection {\n return this._relations;\n }\n\n /**\n * Get concept formula\n */\n get formula(): string {\n return this.data.formula;\n }\n\n /**\n * Get additional labels of concept\n */\n get labels(): Array<labelsJSON> {\n return this.conceptType && this.conceptType.labelTypes\n ? this.conceptType.labelTypes.map((labelType) => {\n const setting = this.data.labels\n ? this.data.labels.find((label) => label.type === labelType._id)\n : {};\n\n return {\n ...labelType,\n ...setting,\n };\n })\n : [];\n }\n\n /**\n * Get label elements by id\n */\n getLabelElementByIds(ids: Array<string>): Array<labelsJSON> {\n return this.labels.filter((label: labelsJSON) => ids.includes(label._id));\n }\n\n /**\n * Get concept properties\n */\n get conceptProperties(): Array<propertyJSON> {\n return this.conceptType && this.conceptType.propertyTypes\n ? this.conceptType.propertyTypes.map((propertyType) => {\n const setting = this.data.properties\n ? this.data.properties.find(\n (property) => property.type === propertyType._id,\n )\n : {};\n\n return {\n ...propertyType,\n ...setting,\n };\n })\n : [];\n }\n\n /**\n * Get concept properties by id\n */\n getConceptPropertiesByIds(ids: Array<string>): Array<propertyJSON> {\n return this.conceptProperties.filter((property) =>\n ids.includes(property._id),\n );\n }\n\n /**\n * Get Text fragments\n */\n get textfragments(): Array<textfragmentJSON> {\n const textFragments = this.data.textFragments\n ? this.data.textFragments.map((textFragment) => {\n const textFragmentConfig =\n this.conceptType &&\n this.conceptType.textFragmentTypes.find(\n (textFragmentType) => textFragment.type === textFragmentType._id,\n );\n\n return {\n ...textFragmentConfig,\n ...textFragment,\n };\n })\n : [];\n\n const notConfiguredTextFragments =\n this.conceptType && this.conceptType.textFragmentTypes\n ? this.conceptType.textFragmentTypes.filter((textFragmentType) => {\n if (!this.data.textFragments) {\n return true;\n }\n\n return !this.data.textFragments.some(\n (textfragment) => textfragment.type === textFragmentType._id,\n );\n })\n : [];\n\n return [...textFragments, ...notConfiguredTextFragments];\n }\n\n /**\n * Get text fragments by id\n */\n getTextFragmentByKeys(keys: Array<string>): Array<textfragmentJSON> {\n return this.textfragments.filter((textfragment) =>\n keys.includes(textfragment.type),\n );\n }\n\n /**\n * Get source reference collection\n */\n getSourceReferenceCollection(\n availableLocales: Array<string> = [],\n ): SourceReferenceCollection {\n if (!this._sourceReferences) {\n this._sourceReferences = new SourceReferenceCollection(\n this.getSourceReferencesForCurrentLanguage(availableLocales),\n this.entryDate,\n this.modelOptions,\n );\n }\n\n return this._sourceReferences;\n }\n\n /*\n * Retrieve all sourceReferenceTypes that are valid for the current language\n * Used by sourceRef collection\n */\n /**\n */\n getSourceReferencesForCurrentLanguage(\n availableLocales: Array<string>,\n ): Array<Object> {\n const LANGUAGE_POSTFIX_LENGTH = 3;\n if (this.data.sourceReferences) {\n const availableLanguagesInSourceReferences =\n this.data.sourceReferences.map((sourceReference) =>\n sourceReference.type.substring(\n sourceReference.type.length - LANGUAGE_POSTFIX_LENGTH,\n ),\n );\n\n const currentLanguagePostfix = `_${this.locale}`;\n\n if (\n availableLanguagesInSourceReferences.includes(currentLanguagePostfix)\n ) {\n // return all sourceReferences that end with language that is selected\n return this.data.sourceReferences.filter((sourceReference) =>\n sourceReference.type.endsWith(currentLanguagePostfix),\n );\n }\n\n const availableLanguages = availableLocales.map(\n (locale) => `_${locale.split(\"-\")[0]}`,\n );\n\n // return all sourceReferences that do not end with language postfix\n return this.data.sourceReferences.filter(\n (sourceReference) =>\n !availableLanguages.includes(\n sourceReference.type.substring(\n sourceReference.type.length - LANGUAGE_POSTFIX_LENGTH,\n ),\n ),\n );\n }\n return [];\n }\n\n /**\n * Retrieve modelcatalog.js\n */\n get entryDate(): string | null {\n return this.data.filter?.[TIMEVERSION_FILTER_NAME]?.value ?? null;\n }\n\n /**\n * Indicates if the given concept type id or href exists in the hierarchy of concept types for this concept\n */\n isOfConceptType(conceptTypeId: string): boolean {\n return this.conceptType?.isOfConceptType(conceptTypeId) ?? false;\n }\n}\n"],"mappings":";;;;;;;;;;;;;AACA,IAAAA,cAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,0BAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,0BAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,uBAAA,GAAAJ,sBAAA,CAAAC,OAAA;AAEA,IAAAI,UAAA,GAAAJ,OAAA;AAcA;AACA;AACA;AACe,MAAMK,kBAAkB,SAASC,sBAAa,CAAC;EAK5D;AACF;EACEC,WAAWA,CAACC,iBAAoC,EAAE;IAChD,KAAK,CAACA,iBAAiB,CAAC;IAAC,IAAAC,gBAAA,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