@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 @@
|
|
|
1
|
+
{"version":3,"file":"ChoiceAttributeOptionModel.js","names":["_BaseModel","_interopRequireDefault","require","_ChoiceAttributeOptionCollection","_objects","_Constants","_LayoutHints","_Settings","_LinkCollection","_AttributeCollection","_ConceptDetailModel","_AttributeContent","ChoiceAttributeOptionModel","BaseModel","constructor","selectedValues","arguments","length","undefined","option","modelOptions","_defineProperty2","default","code","contributions","key","_isSelected","_includes","call","_referenceDate","referenceDate","Date","toISOString","split","_level","_attributeCollection","createAttributeCollection","_children","addChildren","_links","LinkCollection","origin","contextPath","_content","AttributeContent","content","_isUser","optionType","createFromListItemModel","listitem","id","toString","attributeCollection","clone","links","isChoiceAttributeOptionModel","getInitialChildModelLinks","initialLinks","hasContentFromData","conceptLink","push","children","setChildModels","models","errors","conceptHref","href","concept","_find","model","selfhref","equalsWithParameters","_code","equals","getContribution","has","data","AttributeCollection","isReadonly","label","hasItems","title","getAttributeByLayoutHint","TITLE","readonlyvalue","first","getContentConfiguredLabel","contentConfiguration","configuredLabelProperties","labelConfig","types","_context","configuredLabels","_filter","getLabelElementByIds","configuredLabel","value","_context2","_map","configuredLabelProperty","some","_id","selected","count","ChoiceAttributeOptionCollection","create","options","date","getLinkByKey","addParameter","TIMEVERSION_FILTER_NAME","isCacheable","avatarLink","_concept","ConceptDetailModel","level","isBooleanType","hasAlternativeLabel","mergeOption","withOption","mergeOptions","hasAllContentInData","isUser","_default","exports"],"sources":["../../../src/models/attributes/ChoiceAttributeOptionModel.js"],"sourcesContent":["// @flow\nimport BaseModel from \"../base/BaseModel\";\nimport ChoiceAttributeOptionCollection from \"./ChoiceAttributeOptionCollection\";\n\nimport { has } from \"../../utils/helpers/objects\";\nimport { TIMEVERSION_FILTER_NAME } from \"../../constants/Constants\";\nimport { TITLE } from \"../../constants/LayoutHints\";\nimport { hasAllContentInData } from \"../../constants/Settings\";\n\nimport LinkCollection from \"../links/LinkCollection\";\nimport AttributeCollection from \"./AttributeCollection\";\nimport ConceptDetailModel from \"../concepts/ConceptDetailModel\";\nimport AttributeContent from \"./AttributeContent\";\n\nimport type {\n IModelWithChildModels,\n ModelOptions,\n ModularUIModel,\n} from \"../types\";\nimport type ListItemModel from \"../list/ListItemModel\";\nimport type LinkModel from \"../links/LinkModel\";\nimport type ErrorResponse from \"../error/ErrorResponse\";\n\nexport type ChoiceAttributeOptionModelOptions = {\n ...ModelOptions,\n referenceDate: ISO_DATE,\n};\n\n/**\n */\nclass ChoiceAttributeOptionModel\n extends BaseModel\n implements IModelWithChildModels\n{\n _code: string;\n _isSelected: boolean;\n _referenceDate: ISO_DATE;\n _level: number;\n _children: ChoiceAttributeOptionCollection;\n _concept: ?ConceptDetailModel;\n _links: LinkCollection;\n _attributeCollection: AttributeCollection;\n _content: AttributeContent;\n _isUser: boolean = false;\n\n /**\n */\n constructor(\n selectedValues: Array<string> = [],\n option: Object = {},\n modelOptions?: ChoiceAttributeOptionModelOptions,\n ) {\n super({}, option);\n\n this.code = this.contributions.code ?? this.contributions.key ?? \"\";\n\n this._isSelected = selectedValues.includes(this.code);\n\n this._referenceDate =\n modelOptions?.referenceDate || new Date().toISOString().split(\"T\")[0];\n\n this._level = 0;\n\n this._attributeCollection = this.createAttributeCollection(modelOptions);\n this._children = this.addChildren(selectedValues, option, modelOptions);\n\n this._links = new LinkCollection(\n this.contributions._links,\n {},\n { origin: modelOptions?.origin, contextPath: modelOptions?.contextPath },\n );\n\n this._content = new AttributeContent(option.content);\n\n this._isUser = option.optionType === \"user\";\n }\n\n /**\n */\n static createFromListItemModel(\n listitem: ListItemModel,\n ): ChoiceAttributeOptionModel {\n const option = new ChoiceAttributeOptionModel();\n\n option.code = listitem.id.toString();\n option.attributeCollection = listitem.attributeCollection.clone();\n option.links = listitem.links.clone();\n\n return option;\n }\n\n /**\n * Indicates that this a choice attribute option model, used when adding options to a choice attribute\n * @returns {boolean}\n */\n get isChoiceAttributeOptionModel(): boolean {\n return true;\n }\n\n /**\n */\n getInitialChildModelLinks(): Array<LinkModel> {\n const initialLinks = [];\n\n if (!this.hasContentFromData && this.conceptLink !== null) {\n initialLinks.push(this.conceptLink);\n }\n\n if (this.children) {\n initialLinks.push(...this.children.getInitialChildModelLinks());\n }\n\n return initialLinks;\n }\n\n /**\n */\n setChildModels(models: Array<ModularUIModel>, errors: Array<ErrorResponse>) {\n if (this.conceptLink !== null) {\n const conceptHref = this.conceptLink.href;\n\n this.concept = models.find((model) =>\n model.selfhref.equalsWithParameters(conceptHref),\n );\n }\n\n if (this.children) {\n this.children.setChildModels(models, errors);\n }\n }\n\n /**\n * Get code of option\n */\n get code(): string {\n return this._code;\n }\n\n /**\n */\n set code(code: string) {\n this._code = code;\n }\n\n /**\n */\n equals(model: ChoiceAttributeOptionModel): boolean {\n return this.code.toString() === model.code.toString();\n }\n\n /**\n * Retrieve attributes for Composite codemaps (e.g. table and case list codemaps)\n */\n get attributeCollection(): AttributeCollection {\n return this._attributeCollection;\n }\n\n /**\n */\n set attributeCollection(attributeCollection: AttributeCollection) {\n this._attributeCollection = attributeCollection;\n }\n\n /**\n */\n createAttributeCollection(\n modelOptions?: ChoiceAttributeOptionModelOptions,\n ): AttributeCollection {\n const contributions = this.getContribution(\"elementsContributions\", []);\n\n if (has(this.contributions, \"elements\")) {\n const data = this.getContribution(\"elements\", {});\n return new AttributeCollection(data, contributions, {\n origin: modelOptions?.origin,\n contextPath: modelOptions?.contextPath,\n isReadonly: true,\n });\n }\n\n return new AttributeCollection();\n }\n\n /**\n * Get label of option for simple codemaps (e.g. static codemap)\n */\n get label(): string {\n if (this.contributions.label) {\n return this.contributions.label;\n }\n\n if (this.attributeCollection.hasItems) {\n const title = this.attributeCollection.getAttributeByLayoutHint(TITLE);\n\n if (title) {\n return title.readonlyvalue;\n }\n\n if (this.attributeCollection.first) {\n return this.attributeCollection.first.readonlyvalue;\n }\n }\n\n return \"\";\n }\n\n /**\n * Retrieve the first permitted label to render when a concept and contentConfiguration is available\n * Be aware that permission could be in place for labels from a concept.\n */\n getContentConfiguredLabel(contentConfiguration: Object): string {\n const configuredLabelProperties =\n contentConfiguration?.labelConfig?.[0]?.types ?? [];\n\n if (\n !this.hasContentFromData &&\n this.concept &&\n configuredLabelProperties.length > 0\n ) {\n const configuredLabels = this.concept\n .getLabelElementByIds(configuredLabelProperties)\n .filter(\n (configuredLabel) =>\n configuredLabel.value && configuredLabel.value !== \"\",\n );\n\n if (configuredLabels.length > 0) {\n return configuredLabelProperties\n .filter((configuredLabelProperty) =>\n configuredLabels.some(\n (configuredLabel) =>\n configuredLabel._id === configuredLabelProperty,\n ),\n )\n .map((configuredLabelProperty) =>\n configuredLabels.find(\n (configuredLabel) =>\n configuredLabel._id === configuredLabelProperty,\n ),\n )[0].value;\n }\n }\n\n return this.label;\n }\n\n /**\n * Indicates if option is selected\n */\n get selected(): boolean {\n return this._isSelected;\n }\n\n /**\n * Set selected property of option\n */\n set selected(selected: boolean) {\n this._isSelected = selected;\n }\n\n /**\n * Retrieve count of filter for option\n */\n get count(): number | null {\n return this.getContribution(\"count\");\n }\n\n /**\n */\n addChildren(\n selectedValues: Array<string> = [],\n option: Object = {},\n modelOptions?: ChoiceAttributeOptionModelOptions,\n ): ChoiceAttributeOptionCollection {\n // When contributions contain elements this is a list not nested options\n if (has(option, \"elements\")) {\n return new ChoiceAttributeOptionCollection(modelOptions);\n }\n\n return ChoiceAttributeOptionCollection.create(\n {\n value: selectedValues,\n },\n { options: option?.children ?? [] },\n modelOptions,\n );\n }\n\n /**\n * get children of option\n */\n get children(): ChoiceAttributeOptionCollection {\n return this._children;\n }\n\n /**\n * Retrieve links of attribute\n */\n get links(): LinkCollection {\n return this._links;\n }\n\n /**\n */\n set links(links: LinkCollection) {\n this._links = links;\n }\n\n /**\n * referenceDate received from attribute\n */\n get referenceDate(): ISO_DATE {\n return this._referenceDate;\n }\n\n /**\n */\n set referenceDate(date: ISO_DATE) {\n this._referenceDate = date;\n }\n\n /**\n * Retrieve concept link of attribute when available\n */\n get conceptLink(): LinkModel | null {\n const conceptLink = this.links.getLinkByKey(\"concept\");\n if (conceptLink !== null) {\n conceptLink.href = conceptLink.href.addParameter(\n TIMEVERSION_FILTER_NAME,\n this.referenceDate,\n );\n\n conceptLink.isCacheable = true;\n }\n\n return conceptLink;\n }\n\n /**\n *\n */\n get avatarLink(): LinkModel | null {\n return this.links.getLinkByKey(\"avatar\");\n }\n\n /**\n * Get concept information\n */\n get concept(): ConceptDetailModel | null {\n return this._concept || null;\n }\n\n /**\n * Set the concept\n */\n set concept(concept: ?ModularUIModel) {\n this._concept = concept instanceof ConceptDetailModel ? concept : null;\n }\n\n /**\n * Get level of option, used in tree view choice attributes (taxonomy)\n */\n get level(): number {\n return this._level;\n }\n\n /**\n * Set level of option\n */\n set level(level: number) {\n this._level = level;\n }\n\n /**\n */\n get isBooleanType(): boolean {\n return this.getContribution(\"isBooleanType\", false);\n }\n\n /**\n */\n get hasAlternativeLabel(): boolean {\n return this.getContribution(\"hasAlternativeLabel\", false);\n }\n\n /**\n */\n mergeOption(withOption: ChoiceAttributeOptionModel) {\n this.concept = withOption.concept;\n\n if (this.children != null && withOption.children != null) {\n this.children.mergeOptions(withOption.children);\n }\n }\n\n /**\n * Indicates if content comes from the data service\n */\n get hasContentFromData(): boolean {\n return hasAllContentInData();\n }\n\n /**\n */\n get content(): AttributeContent {\n return this._content;\n }\n\n /**\n */\n get isUser(): boolean {\n return this._isUser;\n }\n}\n\nexport default ChoiceAttributeOptionModel;\n"],"mappings":";;;;;;;;;;;;AACA,IAAAA,UAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,gCAAA,GAAAF,sBAAA,CAAAC,OAAA;AAEA,IAAAE,QAAA,GAAAF,OAAA;AACA,IAAAG,UAAA,GAAAH,OAAA;AACA,IAAAI,YAAA,GAAAJ,OAAA;AACA,IAAAK,SAAA,GAAAL,OAAA;AAEA,IAAAM,eAAA,GAAAP,sBAAA,CAAAC,OAAA;AACA,IAAAO,oBAAA,GAAAR,sBAAA,CAAAC,OAAA;AACA,IAAAQ,mBAAA,GAAAT,sBAAA,CAAAC,OAAA;AACA,IAAAS,iBAAA,GAAAV,sBAAA,CAAAC,OAAA;AAgBA;AACA;AACA,MAAMU,0BAA0B,SACtBC,kBAAS,CAEnB;EAYE;AACF;EACEC,WAAWA,CAAA,EAIT;IAAA,IAHAC,cAA6B,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAA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AAA,GAEcV,0BAA0B","ignoreList":[]}
|
|
@@ -0,0 +1,189 @@
|
|
|
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 _filter = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/filter"));
|
|
9
|
+
var _map = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/map"));
|
|
10
|
+
var _keys = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/object/keys"));
|
|
11
|
+
var _find = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/find"));
|
|
12
|
+
var _includes = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/includes"));
|
|
13
|
+
var _ResourceCollection = _interopRequireDefault(require("../base/ResourceCollection"));
|
|
14
|
+
var _ErrorCollection = _interopRequireDefault(require("../error/ErrorCollection"));
|
|
15
|
+
var _createAttribute = _interopRequireDefault(require("./_createAttribute"));
|
|
16
|
+
/**
|
|
17
|
+
* Collection of choice attribute options
|
|
18
|
+
*/
|
|
19
|
+
class CompositeAttributeChildCollection extends _ResourceCollection.default {
|
|
20
|
+
/**
|
|
21
|
+
*/
|
|
22
|
+
static create(data, contributions, modelOptions) {
|
|
23
|
+
if (data && contributions && Array.isArray(contributions.children) && Array.isArray(data.children)) {
|
|
24
|
+
// a composite with multiple data elements and one contributions element
|
|
25
|
+
// multiple 'composites' are returned
|
|
26
|
+
const isMultipleTableRows = Array.isArray(data.children[0]);
|
|
27
|
+
if (isMultipleTableRows) {
|
|
28
|
+
return CompositeAttributeChildCollection.createMultiData(data, contributions, modelOptions);
|
|
29
|
+
}
|
|
30
|
+
return CompositeAttributeChildCollection.createStandard(data, contributions, modelOptions);
|
|
31
|
+
}
|
|
32
|
+
return new CompositeAttributeChildCollection();
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
*/
|
|
37
|
+
static createStandard(data, contributions, modelOptions) {
|
|
38
|
+
var _context, _context2;
|
|
39
|
+
const compositeChildCollection = new CompositeAttributeChildCollection();
|
|
40
|
+
compositeChildCollection.collection = (0, _filter.default)(_context = (0, _map.default)(_context2 = contributions.children).call(_context2, contribution => {
|
|
41
|
+
var _context3, _context4;
|
|
42
|
+
const [key] = (0, _keys.default)(contribution);
|
|
43
|
+
const attributeData = Array.isArray(data.children) ? (0, _find.default)(_context3 = data.children).call(_context3, attr => attr.key === key) : {};
|
|
44
|
+
const attributeContribution = contribution[key];
|
|
45
|
+
if ((0, _includes.default)(_context4 = contributions.type).call(_context4, "range") && !attributeContribution.type) {
|
|
46
|
+
attributeContribution.type = contributions.type.replace("range", "");
|
|
47
|
+
}
|
|
48
|
+
const attribute = (0, _createAttribute.default)(key, {
|
|
49
|
+
...attributeData,
|
|
50
|
+
dynamicschema: attributeData?.dynamicschema
|
|
51
|
+
}, {
|
|
52
|
+
...attributeContribution,
|
|
53
|
+
readonly: attributeContribution.readonly || contributions.readonly
|
|
54
|
+
}, modelOptions);
|
|
55
|
+
if (attribute) {
|
|
56
|
+
attribute.parentKey = data.key;
|
|
57
|
+
}
|
|
58
|
+
return attribute;
|
|
59
|
+
})).call(_context, attribute => attribute !== null);
|
|
60
|
+
return compositeChildCollection;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/*
|
|
64
|
+
* Creates a composite for each child data element using the same contributions
|
|
65
|
+
*/
|
|
66
|
+
/**
|
|
67
|
+
*/
|
|
68
|
+
static createMultiData(data, contributions, modelOptions) {
|
|
69
|
+
var _context5;
|
|
70
|
+
const compositeChildCollection = new CompositeAttributeChildCollection();
|
|
71
|
+
compositeChildCollection.collection = (0, _map.default)(_context5 = data.children).call(_context5, childData => CompositeAttributeChildCollection.create({
|
|
72
|
+
...data,
|
|
73
|
+
children: childData
|
|
74
|
+
}, contributions, modelOptions));
|
|
75
|
+
return compositeChildCollection;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Get input value of contributions
|
|
80
|
+
*/
|
|
81
|
+
getInputValue() {
|
|
82
|
+
var _context6;
|
|
83
|
+
return (0, _map.default)(_context6 = this.collection).call(_context6, child => child.inputvalue).join(",");
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Validate input
|
|
88
|
+
*/
|
|
89
|
+
validate() {
|
|
90
|
+
return this.collection.every(child => child.isValid);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* Retrieve error messages of this attribute
|
|
95
|
+
*/
|
|
96
|
+
get errorCollection() {
|
|
97
|
+
return new _ErrorCollection.default("compositechildren");
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
*/
|
|
102
|
+
hasServerErrors() {
|
|
103
|
+
return this.errorCollection.serverErrors.length > 0 || this.collection.some(child => child.hasServerErrors());
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
*/
|
|
108
|
+
hasErrors() {
|
|
109
|
+
return this.errorCollection.hasItems || this.collection.some(child => child.hasErrors());
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* Reset attribute to empty string
|
|
114
|
+
*/
|
|
115
|
+
reset() {
|
|
116
|
+
this.collection.forEach(child => {
|
|
117
|
+
child.reset();
|
|
118
|
+
});
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
*/
|
|
123
|
+
get initvalue() {
|
|
124
|
+
var _context8;
|
|
125
|
+
if (this.first instanceof CompositeAttributeChildCollection) {
|
|
126
|
+
var _context7;
|
|
127
|
+
// $FlowFixMe[missing-type-arg]
|
|
128
|
+
return (0, _map.default)(_context7 = this.collection).call(_context7, collection => collection.initvalue);
|
|
129
|
+
}
|
|
130
|
+
const children = {};
|
|
131
|
+
(0, _filter.default)(_context8 = this.collection).call(_context8, child => child.initvalue !== null).forEach(child => {
|
|
132
|
+
children[child.key] = child.initvalue;
|
|
133
|
+
});
|
|
134
|
+
if ((0, _keys.default)(children).length === 0) {
|
|
135
|
+
return null;
|
|
136
|
+
}
|
|
137
|
+
return children;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
*/
|
|
142
|
+
get value() {
|
|
143
|
+
if (this.first instanceof CompositeAttributeChildCollection) {
|
|
144
|
+
var _context9;
|
|
145
|
+
return (0, _map.default)(_context9 = this.collection).call(_context9, collection => collection.value);
|
|
146
|
+
}
|
|
147
|
+
let children = {};
|
|
148
|
+
this.collection.forEach(attribute => {
|
|
149
|
+
if (attribute.formdata !== null && !attribute.readonly) {
|
|
150
|
+
children = {
|
|
151
|
+
...children,
|
|
152
|
+
...attribute.formdata
|
|
153
|
+
};
|
|
154
|
+
}
|
|
155
|
+
});
|
|
156
|
+
if ((0, _keys.default)(children).length === 0) {
|
|
157
|
+
return null;
|
|
158
|
+
}
|
|
159
|
+
return children;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
*/
|
|
164
|
+
get readonlyvalue() {
|
|
165
|
+
var _context11, _context12;
|
|
166
|
+
if (this.first instanceof CompositeAttributeChildCollection) {
|
|
167
|
+
var _context10;
|
|
168
|
+
return (0, _map.default)(_context10 = this.collection).call(_context10, collection => collection.readonlyvalue).join(" | ");
|
|
169
|
+
}
|
|
170
|
+
return (0, _map.default)(_context11 = (0, _filter.default)(_context12 = this.collection).call(_context12, child => child.value !== null)).call(_context11, child => child.readonlyvalue).join(", ");
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
*/
|
|
175
|
+
updateValidations(prefix, errors) {
|
|
176
|
+
this.collection.forEach(child => {
|
|
177
|
+
const attributeErrors = (0, _filter.default)(errors).call(errors, error => error.anchor?.elementid === `${prefix}${child.key}`);
|
|
178
|
+
child.updateValidations(attributeErrors);
|
|
179
|
+
});
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
*/
|
|
184
|
+
hasValue() {
|
|
185
|
+
return this.collection.some(child => child.hasValue());
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
var _default = exports.default = CompositeAttributeChildCollection;
|
|
189
|
+
//# sourceMappingURL=CompositeAttributeChildCollection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CompositeAttributeChildCollection.js","names":["_ResourceCollection","_interopRequireDefault","require","_ErrorCollection","_createAttribute","CompositeAttributeChildCollection","ResourceCollection","create","data","contributions","modelOptions","Array","isArray","children","isMultipleTableRows","createMultiData","createStandard","_context","_context2","compositeChildCollection","collection","_filter","default","_map","call","contribution","_context3","_context4","key","_keys","attributeData","_find","attr","attributeContribution","_includes","type","replace","attribute","createAttribute","dynamicschema","readonly","parentKey","_context5","childData","getInputValue","_context6","child","inputvalue","join","validate","every","isValid","errorCollection","ErrorCollection","hasServerErrors","serverErrors","length","some","hasErrors","hasItems","reset","forEach","initvalue","_context8","first","_context7","value","_context9","formdata","readonlyvalue","_context11","_context12","_context10","updateValidations","prefix","errors","attributeErrors","error","anchor","elementid","hasValue","_default","exports"],"sources":["../../../src/models/attributes/CompositeAttributeChildCollection.js"],"sourcesContent":["// @flow\nimport ResourceCollection from \"../base/ResourceCollection\";\nimport ErrorCollection from \"../error/ErrorCollection\";\n\nimport createAttribute from \"./_createAttribute\";\n\nimport type { AttributeType, ModelOptions } from \"../types\";\n\n/**\n * Collection of choice attribute options\n */\nclass CompositeAttributeChildCollection extends ResourceCollection<AttributeType> {\n /**\n */\n static create(\n data: Object,\n contributions: Object,\n modelOptions?: ModelOptions,\n ): CompositeAttributeChildCollection {\n if (\n data &&\n contributions &&\n Array.isArray(contributions.children) &&\n Array.isArray(data.children)\n ) {\n // a composite with multiple data elements and one contributions element\n // multiple 'composites' are returned\n const isMultipleTableRows = Array.isArray(data.children[0]);\n if (isMultipleTableRows) {\n return CompositeAttributeChildCollection.createMultiData(\n data,\n contributions,\n modelOptions,\n );\n }\n\n return CompositeAttributeChildCollection.createStandard(\n data,\n contributions,\n modelOptions,\n );\n }\n\n return new CompositeAttributeChildCollection();\n }\n\n /**\n */\n static createStandard(\n data: Object,\n contributions: Object,\n modelOptions?: ModelOptions,\n ): CompositeAttributeChildCollection {\n const compositeChildCollection = new CompositeAttributeChildCollection();\n\n compositeChildCollection.collection = contributions.children\n .map((contribution) => {\n const [key] = Object.keys(contribution);\n\n const attributeData = Array.isArray(data.children)\n ? data.children.find((attr) => attr.key === key)\n : {};\n\n const attributeContribution = contribution[key];\n\n if (\n contributions.type.includes(\"range\") &&\n !attributeContribution.type\n ) {\n attributeContribution.type = contributions.type.replace(\"range\", \"\");\n }\n\n const attribute = createAttribute(\n key,\n {\n ...attributeData,\n dynamicschema: attributeData?.dynamicschema,\n },\n {\n ...attributeContribution,\n readonly: attributeContribution.readonly || contributions.readonly,\n },\n modelOptions,\n );\n\n if (attribute) {\n attribute.parentKey = data.key;\n }\n\n return attribute;\n })\n .filter((attribute) => attribute !== null);\n\n return compositeChildCollection;\n }\n\n /*\n * Creates a composite for each child data element using the same contributions\n */\n /**\n */\n static createMultiData(\n data: Object,\n contributions: Object,\n modelOptions?: ModelOptions,\n ): CompositeAttributeChildCollection {\n const compositeChildCollection = new CompositeAttributeChildCollection();\n\n compositeChildCollection.collection = data.children.map((childData) =>\n CompositeAttributeChildCollection.create(\n {\n ...data,\n children: childData,\n },\n contributions,\n modelOptions,\n ),\n );\n\n return compositeChildCollection;\n }\n\n /**\n * Get input value of contributions\n */\n getInputValue(): string {\n return this.collection.map((child) => child.inputvalue).join(\",\");\n }\n\n /**\n * Validate input\n */\n validate(): boolean {\n return this.collection.every((child) => child.isValid);\n }\n\n /**\n * Retrieve error messages of this attribute\n */\n get errorCollection(): ErrorCollection {\n return new ErrorCollection(\"compositechildren\");\n }\n\n /**\n */\n hasServerErrors(): boolean {\n return (\n this.errorCollection.serverErrors.length > 0 ||\n this.collection.some((child) => child.hasServerErrors())\n );\n }\n\n /**\n */\n hasErrors(): boolean {\n return (\n this.errorCollection.hasItems ||\n this.collection.some((child) => child.hasErrors())\n );\n }\n\n /**\n * Reset attribute to empty string\n */\n reset() {\n this.collection.forEach((child) => {\n child.reset();\n });\n }\n\n /**\n */\n get initvalue(): any {\n if (this.first instanceof CompositeAttributeChildCollection) {\n // $FlowFixMe[missing-type-arg]\n return this.collection.map<Array<Object>>(\n (collection) => collection.initvalue,\n );\n }\n\n const children: { [string]: any } = {};\n this.collection\n .filter((child) => child.initvalue !== null)\n .forEach((child) => {\n children[child.key] = child.initvalue;\n });\n\n if (Object.keys(children).length === 0) {\n return null;\n }\n\n return children;\n }\n\n /**\n */\n get value(): any {\n if (this.first instanceof CompositeAttributeChildCollection) {\n return this.collection.map((collection) => collection.value);\n }\n\n let children: { [string]: any } = {};\n\n this.collection.forEach((attribute) => {\n if (attribute.formdata !== null && !attribute.readonly) {\n children = {\n ...children,\n ...attribute.formdata,\n };\n }\n });\n\n if (Object.keys(children).length === 0) {\n return null;\n }\n\n return children;\n }\n\n /**\n */\n get readonlyvalue(): string {\n if (this.first instanceof CompositeAttributeChildCollection) {\n return this.collection\n .map((collection) => collection.readonlyvalue)\n .join(\" | \");\n }\n\n return this.collection\n .filter((child) => child.value !== null)\n .map((child) => child.readonlyvalue)\n .join(\", \");\n }\n\n /**\n */\n updateValidations(prefix: string, errors: Object) {\n this.collection.forEach((child) => {\n const attributeErrors = errors.filter(\n (error) => error.anchor?.elementid === `${prefix}${child.key}`,\n );\n\n child.updateValidations(attributeErrors);\n });\n }\n\n /**\n */\n hasValue(): boolean {\n return this.collection.some((child) => child.hasValue());\n }\n}\n\nexport default CompositeAttributeChildCollection;\n"],"mappings":";;;;;;;;;;;;AACA,IAAAA,mBAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,gBAAA,GAAAF,sBAAA,CAAAC,OAAA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iB,CAACG,eAAe,CAAC;IAC1C,CAAC,CAAC;EACJ;;EAEA;AACF;EACEI,QAAQA,CAAA,EAAY;IAClB,OAAO,IAAI,CAAC5D,UAAU,CAACqC,IAAI,CAAEX,KAAK,IAAKA,KAAK,CAACkC,QAAQ,CAAC,CAAC,CAAC;EAC1D;AACF;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAA5D,OAAA,GAEcjB,iCAAiC","ignoreList":[]}
|
|
@@ -0,0 +1,380 @@
|
|
|
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 _includes = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/includes"));
|
|
9
|
+
var _find = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/find"));
|
|
10
|
+
var _map = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/map"));
|
|
11
|
+
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/defineProperty"));
|
|
12
|
+
var _AttributeModel = _interopRequireDefault(require("./AttributeModel"));
|
|
13
|
+
var _CompositeAttributeChildCollection = _interopRequireDefault(require("./CompositeAttributeChildCollection"));
|
|
14
|
+
var _ConstraintCollection = _interopRequireDefault(require("./input-constraints/ConstraintCollection"));
|
|
15
|
+
var _RangeConstraint = _interopRequireDefault(require("./input-constraints/RangeConstraint"));
|
|
16
|
+
var _MandatoryRangeConstraint = _interopRequireDefault(require("./input-constraints/MandatoryRangeConstraint"));
|
|
17
|
+
var _constants = require("../../constants");
|
|
18
|
+
var _exceptions = require("../../exceptions");
|
|
19
|
+
var _NumberAttributeModel = _interopRequireDefault(require("./NumberAttributeModel"));
|
|
20
|
+
var _DatetimeAttributeModel = _interopRequireDefault(require("./DatetimeAttributeModel"));
|
|
21
|
+
/**
|
|
22
|
+
*/
|
|
23
|
+
class CompositeAttributeModel extends _AttributeModel.default {
|
|
24
|
+
/**
|
|
25
|
+
*/
|
|
26
|
+
constructor(data, contributions, modelOptions) {
|
|
27
|
+
super(data, contributions, modelOptions);
|
|
28
|
+
(0, _defineProperty2.default)(this, "_children", void 0);
|
|
29
|
+
this._children = _CompositeAttributeChildCollection.default.create(data, contributions, modelOptions);
|
|
30
|
+
this.setChildrenOptionality();
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
*/
|
|
35
|
+
static isApplicableModel(contributions) {
|
|
36
|
+
const type = contributions?.type;
|
|
37
|
+
return type && (type === "composite" || (0, _includes.default)(type).call(type, "range"));
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
*/
|
|
42
|
+
getInitialChildModelLinks() {
|
|
43
|
+
return this.children.getInitialChildModelLinks();
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
*/
|
|
48
|
+
setChildModels(models, errors) {
|
|
49
|
+
this.children.setChildModels(models, errors);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
*/
|
|
54
|
+
get type() {
|
|
55
|
+
// temp fix for results and given answers on list result detail panel
|
|
56
|
+
if (this.key === "results" || this.key === "givenAnswers") {
|
|
57
|
+
return "composite";
|
|
58
|
+
}
|
|
59
|
+
return this.isRange ? "range" : "composite";
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
*/
|
|
64
|
+
get isRange() {
|
|
65
|
+
return this.contributions?.type?.includes("range");
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
*/
|
|
70
|
+
get children() {
|
|
71
|
+
return this._children;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
*/
|
|
76
|
+
set children(children) {
|
|
77
|
+
this._children = children;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
*/
|
|
82
|
+
isRangeAttribute(attribute) {
|
|
83
|
+
return attribute instanceof _NumberAttributeModel.default || attribute instanceof _DatetimeAttributeModel.default;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
*/
|
|
88
|
+
get start() {
|
|
89
|
+
return this.children.all[0];
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
*/
|
|
94
|
+
get end() {
|
|
95
|
+
return this.children.all[this.children.size - 1];
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* Get input value of attribute
|
|
100
|
+
*/
|
|
101
|
+
getInputValue() {
|
|
102
|
+
return this.children.getInputValue();
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* Check if at least one child has value
|
|
107
|
+
*/
|
|
108
|
+
hasValue() {
|
|
109
|
+
return this.children.some(child => child.hasValue());
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
*/
|
|
114
|
+
get constraintCollection() {
|
|
115
|
+
const constraints = new _ConstraintCollection.default();
|
|
116
|
+
constraints.add(this._serverConstraints);
|
|
117
|
+
constraints.add(this.addConstraints());
|
|
118
|
+
return constraints;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* Used to programmatically overwrite the setting USE_CLIENTSIDE_VALIDATION
|
|
123
|
+
*/
|
|
124
|
+
setUseClientsideValidation(enabled) {
|
|
125
|
+
super._useClientsideValidation = enabled;
|
|
126
|
+
this.children.all.forEach(child => child.setUseClientsideValidation(enabled));
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* Validate input
|
|
131
|
+
*/
|
|
132
|
+
// eslint-disable-next-line no-unused-vars
|
|
133
|
+
validate(value) {
|
|
134
|
+
// when client side validation is disabled, this attribute is always valid
|
|
135
|
+
if (!this.useClientsideValidation()) {
|
|
136
|
+
return true;
|
|
137
|
+
}
|
|
138
|
+
this._isValid = this.children.validate();
|
|
139
|
+
if (this._isValid) {
|
|
140
|
+
this._isValid = this.constraintCollection.validate();
|
|
141
|
+
}
|
|
142
|
+
return this._isValid;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* Add Date constraints for attribute
|
|
147
|
+
*/
|
|
148
|
+
addConstraints() {
|
|
149
|
+
const constraints = new _ConstraintCollection.default();
|
|
150
|
+
const startAttribute = this.start;
|
|
151
|
+
const endAttribute = this.end;
|
|
152
|
+
if (this.isRange && startAttribute != null && endAttribute != null) {
|
|
153
|
+
const allChildsEntered = this.children.every(child => child.hasValue());
|
|
154
|
+
if (allChildsEntered) {
|
|
155
|
+
constraints.add(new _RangeConstraint.default(startAttribute, endAttribute));
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
if (this.isRange && this.mandatory && startAttribute !== null) {
|
|
159
|
+
const allChildsOptional = this.children.every(child => !child.mandatory);
|
|
160
|
+
if (allChildsOptional) {
|
|
161
|
+
constraints.add(new _MandatoryRangeConstraint.default(startAttribute.type, this.children));
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
return constraints;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* Indicates if attribute input is valid
|
|
169
|
+
*/
|
|
170
|
+
get isValid() {
|
|
171
|
+
return this.validate("");
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
*/
|
|
176
|
+
hasServerErrors() {
|
|
177
|
+
return this.errorCollection.serverErrors.length > 0 || this.children.some(child => child.hasServerErrors());
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
*/
|
|
182
|
+
hasErrors() {
|
|
183
|
+
return this.errorCollection.hasItems || this.children.some(child => child.hasErrors());
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* Reset attribute to empty string
|
|
188
|
+
*/
|
|
189
|
+
reset() {
|
|
190
|
+
this.children.reset();
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
/**
|
|
194
|
+
*/
|
|
195
|
+
getChildByAttribute(attribute) {
|
|
196
|
+
var _context;
|
|
197
|
+
return (0, _find.default)(_context = this.children).call(_context, child => {
|
|
198
|
+
if (child.equals(attribute)) {
|
|
199
|
+
return true;
|
|
200
|
+
} else if (child instanceof CompositeAttributeModel) {
|
|
201
|
+
return child.getChildByAttribute(attribute);
|
|
202
|
+
}
|
|
203
|
+
return false;
|
|
204
|
+
});
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
*/
|
|
209
|
+
getChildByKey(key) {
|
|
210
|
+
var _context2;
|
|
211
|
+
return (0, _find.default)(_context2 = this.children).call(_context2, child => {
|
|
212
|
+
if (child.key === key) {
|
|
213
|
+
return true;
|
|
214
|
+
} else if (child instanceof CompositeAttributeModel) {
|
|
215
|
+
return child.getChildByKey(key);
|
|
216
|
+
}
|
|
217
|
+
return false;
|
|
218
|
+
}) || null;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
/**
|
|
222
|
+
*/
|
|
223
|
+
mergeAttribute(oldAttribute) {
|
|
224
|
+
this.concept = oldAttribute.concept;
|
|
225
|
+
this.children.forEach(child => {
|
|
226
|
+
if (oldAttribute instanceof CompositeAttributeModel) {
|
|
227
|
+
const withChildAttribute = oldAttribute.getChildByKey(child.key);
|
|
228
|
+
if (withChildAttribute) {
|
|
229
|
+
child.mergeAttribute(withChildAttribute);
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
});
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
/**
|
|
236
|
+
*/
|
|
237
|
+
update(value, changedAttribute) {
|
|
238
|
+
if (!changedAttribute) {
|
|
239
|
+
throw new _exceptions.IllegalArgumentException("Composite attribute needs changed attribute on update call");
|
|
240
|
+
}
|
|
241
|
+
this.updateLastModification();
|
|
242
|
+
this.children.forEach(child => {
|
|
243
|
+
if (child instanceof CompositeAttributeModel) {
|
|
244
|
+
child.update(value, changedAttribute);
|
|
245
|
+
} else if (child.equals(changedAttribute)) {
|
|
246
|
+
child.update(value);
|
|
247
|
+
}
|
|
248
|
+
});
|
|
249
|
+
this.setChildrenOptionality();
|
|
250
|
+
this.validate(value);
|
|
251
|
+
return this;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
/**
|
|
255
|
+
*/
|
|
256
|
+
updateByAttribute(otherAttribute) {
|
|
257
|
+
if (otherAttribute instanceof CompositeAttributeModel) {
|
|
258
|
+
otherAttribute.children.forEach(otherChild => {
|
|
259
|
+
const child = this.getChildByAttribute(otherChild);
|
|
260
|
+
if (child) {
|
|
261
|
+
child.updateByAttribute(otherChild);
|
|
262
|
+
}
|
|
263
|
+
});
|
|
264
|
+
} else {
|
|
265
|
+
console.error(`update of composite attribute with ${otherAttribute.type} not supported`);
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
/**
|
|
270
|
+
*/
|
|
271
|
+
setChildrenOptionality() {
|
|
272
|
+
const childrenAreOptional = !this.mandatory && this.children.every(child => child.value === null);
|
|
273
|
+
this.children.forEach(child => {
|
|
274
|
+
child.mandatory = childrenAreOptional || !child.configuredMandatory ? false : child.configuredMandatory;
|
|
275
|
+
});
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
/**
|
|
279
|
+
*/
|
|
280
|
+
get readonly() {
|
|
281
|
+
return super.readonly || this.children.every(child => child.readonly);
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
/**
|
|
285
|
+
*/
|
|
286
|
+
set readonly(readonly) {
|
|
287
|
+
super.readonly = readonly;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
/**
|
|
291
|
+
*/
|
|
292
|
+
get readonlyvalue() {
|
|
293
|
+
return this.children.readonlyvalue;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
*/
|
|
298
|
+
get initvalue() {
|
|
299
|
+
return this.children.initvalue;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
/**
|
|
303
|
+
*/
|
|
304
|
+
getFormData() {
|
|
305
|
+
return {
|
|
306
|
+
[this.name]: this.value
|
|
307
|
+
};
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
/**
|
|
311
|
+
*/
|
|
312
|
+
getValue() {
|
|
313
|
+
return this.children.value;
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
/**
|
|
317
|
+
*/
|
|
318
|
+
getChildrenIds() {
|
|
319
|
+
const values = this.data.value;
|
|
320
|
+
if (Array.isArray(values)) {
|
|
321
|
+
return (0, _map.default)(values).call(values, val => val._id);
|
|
322
|
+
} else if (values != null) {
|
|
323
|
+
return [values._id];
|
|
324
|
+
}
|
|
325
|
+
return [];
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
/**
|
|
329
|
+
*/
|
|
330
|
+
get isResult() {
|
|
331
|
+
return this._isResult;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
/**
|
|
335
|
+
*/
|
|
336
|
+
set isResult(isResult) {
|
|
337
|
+
this._isResult = isResult;
|
|
338
|
+
this.children.forEach(child => {
|
|
339
|
+
child.isResult = isResult;
|
|
340
|
+
});
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
/**
|
|
344
|
+
*/
|
|
345
|
+
indicateContentConfiguration(contentConfiguration) {
|
|
346
|
+
if (contentConfiguration) {
|
|
347
|
+
this.children.forEach(child => {
|
|
348
|
+
child.indicateContentConfiguration(contentConfiguration);
|
|
349
|
+
});
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
/**
|
|
354
|
+
*/
|
|
355
|
+
equals(otherAttribute) {
|
|
356
|
+
return this.key === otherAttribute.key && this.parentKey === otherAttribute.parentKey || this.children.some(
|
|
357
|
+
//$FlowFixMe[method-unbinding]
|
|
358
|
+
child => child.equals && child.equals(otherAttribute));
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
/**
|
|
362
|
+
*/
|
|
363
|
+
get readonlyWidth() {
|
|
364
|
+
if (this.type === "composite") {
|
|
365
|
+
return _constants.ATTRIBUTE_WIDTH.LARGE;
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
// range
|
|
369
|
+
switch (this.start?.type) {
|
|
370
|
+
case "datetime":
|
|
371
|
+
return _constants.ATTRIBUTE_WIDTH.LARGE;
|
|
372
|
+
case "timestamp":
|
|
373
|
+
return _constants.ATTRIBUTE_WIDTH.EXTRA_LARGE;
|
|
374
|
+
default:
|
|
375
|
+
return _constants.ATTRIBUTE_WIDTH.MEDIUM;
|
|
376
|
+
}
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
var _default = exports.default = CompositeAttributeModel;
|
|
380
|
+
//# sourceMappingURL=CompositeAttributeModel.js.map
|