@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
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FormObjectModel.cjs","names":["_objects","require","_BaseModel","_interopRequireDefault","_AttributeCollection","_CompositeAttributeModel","_ContentConfiguration","_ErrorCollection","_exceptions","_LayoutHintCollection","FormObjectModel","BaseModel","constructor","object","objectContributions","modelOptions","_defineProperty2","default","getElements","length","_attributeCollection","AttributeCollection","getApplicableAttributeContributions","isReadonly","_contentConfiguration","ContentConfiguration","content","_errorCollection","ErrorCollection","has","data","attributeCollection","setReferenceDate","getData","indicateContentConfiguration","contentConfiguration","createEmpty","formObjectModel","IllegalArgumentException","contributions","equals","_context","withRepeatIndex","arguments","undefined","key","objectContainsOneOfTheAttributes","_filter","all","call","attribute","isResult","some","hasAttributeByKey","hasSameRepeatIndex","repeatIndex","getAttributeByAttribute","getAttributeByKey","elements","push","results","_context2","dataResults","_map","result","elementid","_context3","dataElementIds","element","getAttributesInData","attributes","isDynamic","attributeKey","_keys","mandatory","attributesContributions","attributeContributions","dataElementId","split","getInitialChildModelLinks","setChildModels","models","errors","objectid","hasEndResultConfiguration","getContribution","hasDynamicValidations","isRepeatable","_repeatIndex","index","maxRepeats","hasFixedNrOfRepeats","isRepeatWithUnknownTotal","isLastRepeat","last","repeatIndexLabel","label","introText","text","message","assistent","buttonLabels","mergeObject","oldObject","forEach","mergeWithAttribute","mergeAttribute","updateAttribute","value","attributeToUpdate","Error","name","CompositeAttributeModel","update","isChangedSince","timestamp","_context4","_find","resetErrors","errorCollection","addServerError","error","anchor","id","properties","layouthint","hasServerErrors","hasItems","hasErrors","isValid","visible","every","dynamicValidationsLoaded","_dynamicValidationsLoaded","handleErrorValidations","attributeErrors","LayoutHintCollection","updateValidations","handleMissingValidations","missing","anchors","Array","isArray","formdata","getFormData","validationData","exports"],"sources":["../../../src/models/form/FormObjectModel.js"],"sourcesContent":["// @flow\nimport { has } from \"../../utils/helpers/objects\";\n\nimport BaseModel from \"../base/BaseModel\";\nimport AttributeCollection from \"../attributes/AttributeCollection\";\nimport CompositeAttributeModel from \"../attributes/CompositeAttributeModel\";\nimport ContentConfiguration from \"../contentconfiguration/ContentConfiguration\";\nimport ErrorCollection from \"../error/ErrorCollection\";\nimport { IllegalArgumentException } from \"../../exceptions\";\n\nimport type {\n AttributeType,\n ModularUIModel,\n FormErrorAnchor,\n ModelOptions,\n} from \"../types\";\n\nimport LayoutHintCollection from \"../layouthint/LayoutHintCollection\";\n\nimport type LinkModel from \"../links/LinkModel\";\nimport type { MessageParameters } from \"../../i18n\";\nimport type ErrorResponse from \"../error/ErrorResponse\";\n\n/**\n * Form Object\n */\nexport default class FormObjectModel extends BaseModel {\n _attributeCollection: AttributeCollection;\n _contentConfiguration: ContentConfiguration;\n _errorCollection: ErrorCollection;\n _repeatIndex: number;\n _dynamicValidationsLoaded: boolean;\n\n /**\n * Construct FormObjectModel\n */\n constructor(\n object: Object,\n objectContributions: Object,\n modelOptions?: ModelOptions,\n ) {\n super(object, objectContributions, modelOptions);\n\n if (object && this.getElements().length > 0) {\n this._attributeCollection = new AttributeCollection(\n this.getElements(),\n this.getApplicableAttributeContributions(),\n { ...modelOptions, isReadonly: false },\n );\n } else {\n this._attributeCollection = new AttributeCollection();\n }\n\n this._contentConfiguration = new ContentConfiguration(\n objectContributions ? objectContributions.content : {},\n );\n\n this._errorCollection = new ErrorCollection(\"formobject\");\n\n if (has(this.data, \"referenceDate\")) {\n this.attributeCollection.setReferenceDate(this.getData(\"referenceDate\"));\n }\n\n this.attributeCollection.indicateContentConfiguration(\n this.contentConfiguration,\n );\n }\n\n /**\n */\n static createEmpty(formObjectModel: FormObjectModel): FormObjectModel {\n if (!formObjectModel) {\n throw new IllegalArgumentException(\n \"createEmpty method needs a FormObjectModel as input argument to create a new version of the object\",\n );\n }\n return new FormObjectModel(\n formObjectModel.data,\n formObjectModel.contributions,\n formObjectModel.modelOptions,\n );\n }\n\n /**\n */\n equals(object: ?FormObjectModel, withRepeatIndex: boolean = true): boolean {\n if (!object || this.key !== object.key) {\n return false;\n }\n\n const objectContainsOneOfTheAttributes = this.attributeCollection.all\n .filter((attribute) => !attribute.isResult)\n .some(\n (attribute) =>\n object && object.attributeCollection.hasAttributeByKey(attribute.key),\n );\n\n const hasSameRepeatIndex = withRepeatIndex\n ? this.repeatIndex === object.repeatIndex\n : true;\n\n return hasSameRepeatIndex && objectContainsOneOfTheAttributes;\n }\n\n /**\n */\n getAttributeByAttribute(attribute: AttributeType): AttributeType | null {\n return this.attributeCollection.getAttributeByAttribute(attribute);\n }\n\n /**\n */\n getAttributeByKey(key: string): AttributeType | null {\n return this.attributeCollection.getAttributeByKey(key);\n }\n\n /**\n */\n hasAttributeByKey(key: string): boolean {\n return this.attributeCollection.hasAttributeByKey(key);\n }\n\n /**\n * Get elements from both the missing attributes and the result attributes\n */\n getElements(): Array<Object> {\n const elements = [];\n\n if (this.data.elements) {\n elements.push(...this.data.elements);\n }\n\n if (this.data.results) {\n const dataResults = this.data.results.map((result) => ({\n ...result,\n isResult: true,\n }));\n\n elements.push(...dataResults);\n }\n\n if (this.data.elementid) {\n elements.push({\n ...this.data,\n });\n }\n\n return elements;\n }\n\n /**\n * Map available contributions on the available data. Only use contributions that are needed for the data\n */\n getApplicableAttributeContributions(): Array<Object> {\n if (this.data && this.contributions) {\n const dataElementIds = this.getElements().map(\n (element) => element.elementid,\n );\n\n const contributions = this.getAttributesInData(\n dataElementIds,\n this.contributions.attributes,\n );\n\n // set all attribute mandatory for dynamic object\n if (this.isDynamic) {\n return contributions.map((attribute) => {\n const [attributeKey] = Object.keys(attribute);\n return {\n [attributeKey]: {\n ...attribute[attributeKey],\n mandatory: true,\n },\n };\n });\n }\n\n return contributions;\n }\n\n return [];\n }\n\n /**\n * Recursevily check if an attribute id occurs in the tree of attribute contributions.\n * The complete leaf of the tree is returned when an attribute id matches\n */\n getAttributesInData(\n dataElementIds: Array<string>,\n attributesContributions: Object,\n ): Array<Object> {\n return attributesContributions.filter((attributeContributions) => {\n const [attributeKey] = Object.keys(attributeContributions);\n\n return dataElementIds.some(\n (dataElementId) => dataElementId.split(\".\")[0] === attributeKey,\n );\n });\n }\n\n /**\n */\n getInitialChildModelLinks(): Array<LinkModel> {\n return this._attributeCollection.getInitialChildModelLinks();\n }\n\n /**\n */\n setChildModels(models: Array<ModularUIModel>, errors: Array<ErrorResponse>) {\n this._attributeCollection.setChildModels(models, errors);\n }\n\n /**\n * get key\n */\n get key(): string {\n return this.data.objectid;\n }\n\n /**\n * Get content configuration for form objects\n */\n get contentConfiguration(): ContentConfiguration {\n return this._contentConfiguration;\n }\n\n /**\n */\n get hasEndResultConfiguration(): boolean {\n return this.contributions.content?.results != null;\n }\n\n /**\n * Indicates if object is dynamic.\n *\n * A subtle difference exists between objects for wizard style instrument dialogs and other objects.\n * In the 'missing object' response, wizard style objects will include only the first attribute(s) to be answered,\n * while other objects will include the complete set of attributes of that object.\n *\n * This difference is condensed in the term of 'dynamic objects': these objects start (in the 'missing object' response)\n * with a very select set of attributes to be answered, and each successive 'missing elements' response will include next attributes to be answered.\n * When an object is dynamic, the form contributions will mention a \"dynamicObject\": true property.\n */\n get isDynamic(): boolean {\n return this.getContribution(\"dynamicObject\", false);\n }\n\n /**\n */\n get hasDynamicValidations(): boolean {\n return this.getContribution(\"dynamicValidations\", false);\n }\n\n /**\n * Indicates if object is repeatable\n */\n get isRepeatable(): boolean {\n return this.getContribution(\"repeatable\", false);\n }\n\n /**\n */\n get repeatIndex(): number {\n return this._repeatIndex ?? this.data.index ?? 1;\n }\n\n /**\n */\n set repeatIndex(repeatIndex: number) {\n this._repeatIndex = repeatIndex;\n }\n\n /**\n */\n get maxRepeats(): number {\n if (this.isRepeatable) {\n return this.getData(\"numberofrepeats\", -1);\n }\n\n return 1;\n }\n\n /**\n */\n get hasFixedNrOfRepeats(): boolean {\n return this.maxRepeats > -1;\n }\n\n /**\n */\n get isRepeatWithUnknownTotal(): boolean {\n return this.isRepeatable && this.maxRepeats === -1;\n }\n\n /**\n */\n get isLastRepeat(): boolean {\n if (this.isRepeatable) {\n return this.data.last || false;\n }\n\n return true;\n }\n\n /**\n */\n get repeatIndexLabel(): string | null {\n return this.data[\"index-identifier\"] || null;\n }\n\n /**\n * Get label of form object\n */\n get label(): string {\n return this.contributions.label;\n }\n\n /**\n * Get introText of form object\n */\n get introText(): string {\n if (this.data.content?.text) {\n return this.data.content.text.message;\n }\n\n if (this.contributions.text?.message) {\n return this.contributions.text.message;\n }\n\n return this.contributions.introText;\n }\n\n /**\n * Get assistent of form object\n */\n get assistent(): string {\n return this.contributions.assistent;\n }\n\n /**\n * Get button labels\n */\n get buttonLabels(): Object {\n return this.getContribution(\"buttonLabels\", {});\n }\n\n /**\n * get attribute collection\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 mergeObject(oldObject: FormObjectModel) {\n this.attributeCollection.forEach((attribute) => {\n const mergeWithAttribute = oldObject.getAttributeByAttribute(attribute);\n if (mergeWithAttribute) {\n attribute.mergeAttribute(mergeWithAttribute);\n }\n });\n\n this.repeatIndex = oldObject.repeatIndex;\n }\n\n /**\n * Update attribute\n */\n updateAttribute(attribute: AttributeType, value: any): AttributeType {\n const attributeToUpdate =\n this.attributeCollection.getAttributeByAttribute(attribute);\n\n if (attributeToUpdate === null) {\n throw new Error(`Attribute with name: ${attribute.name} not found.`);\n }\n\n if (attributeToUpdate instanceof CompositeAttributeModel) {\n attributeToUpdate.update(value, attribute);\n } else {\n attributeToUpdate.update(value);\n }\n\n return attributeToUpdate;\n }\n\n /**\n * Inidicates if Form is changed since a given timestamp (Date.now)\n */\n isChangedSince(timestamp: number): boolean {\n return (\n this.attributeCollection.find((attribute) =>\n attribute.isChangedSince(timestamp),\n ) !== null\n );\n }\n\n /**\n * Reset all errors on Form Object\n */\n resetErrors() {\n this._errorCollection = new ErrorCollection(\"formobject\");\n this.attributeCollection.forEach((attribute) => attribute.resetErrors());\n }\n\n /**\n * Get error messages\n */\n get errorCollection(): ErrorCollection {\n return this._errorCollection;\n }\n\n /**\n * Registers an error that was received from a server response\n */\n addServerError(error: FormErrorAnchor) {\n if (error.anchor?.elementid != null) {\n this.attributeCollection.addServerError(error);\n } else {\n this._errorCollection.addServerError(\n error.id,\n error.message,\n error.properties,\n error.layouthint,\n );\n }\n }\n\n /**\n */\n hasServerErrors(): boolean {\n return (\n this.errorCollection.hasItems ||\n this.attributeCollection.hasServerErrors()\n );\n }\n\n /**\n */\n hasErrors(): boolean {\n return (\n this.errorCollection.hasItems || this.attributeCollection.hasErrors()\n );\n }\n\n /**\n */\n get isValid(): boolean {\n return (\n this.attributeCollection.visible.every(\n (attribute) => attribute.isValid,\n ) && !this.errorCollection.hasItems\n );\n }\n\n /**\n */\n get dynamicValidationsLoaded(): boolean {\n return this._dynamicValidationsLoaded;\n }\n\n /**\n */\n set dynamicValidationsLoaded(dynamicValidationsLoaded: boolean) {\n this._dynamicValidationsLoaded = dynamicValidationsLoaded;\n }\n\n /**\n * Convert error json from a form service to validation messages on the form object and attributes\n */\n handleErrorValidations(\n errors: Array<{\n anchor: {\n objectid: string,\n elementid?: string,\n },\n id: string,\n message: string,\n properties: MessageParameters,\n layouthint: Array<string>,\n }>,\n ) {\n const attributeErrors = [];\n\n errors.forEach((error) => {\n if (error.anchor?.objectid === this.key) {\n if (has(error.anchor, \"elementid\")) {\n attributeErrors.push(error);\n } else {\n this.errorCollection.addServerError(\n error.id,\n error.message,\n error.properties,\n new LayoutHintCollection(error.layouthint),\n );\n }\n }\n });\n\n this.attributeCollection.updateValidations(attributeErrors);\n }\n\n /**\n * Convert missing json from a form service to mandatory validation constraints and messages\n */\n handleMissingValidations(missing: {\n anchors: Array<\n | {\n elements: Array<{ elementid: string }>,\n objectid?: string,\n }\n | { anchor: { elementid: string, objectid?: string } },\n >,\n }) {\n const attributeErrors = [];\n\n for (const anchor of missing.anchors) {\n if (!anchor.objectid || anchor.objectid === this.key) {\n if (Array.isArray(anchor.elements)) {\n for (const element of anchor.elements) {\n attributeErrors.push({\n anchor: { elementid: element.elementid },\n id: \"Constraint.Mandatory\",\n });\n }\n } else {\n attributeErrors.push({\n anchor,\n id: \"Constraint.Mandatory\",\n });\n }\n }\n }\n\n this.attributeCollection.updateValidations(attributeErrors);\n }\n\n /**\n */\n updateValidations(data: any): FormObjectModel {\n this.resetErrors();\n\n if (Array.isArray(data.errors)) {\n this.handleErrorValidations(data.errors);\n }\n\n // missing attribute errors\n if (Array.isArray(data.missing?.anchors)) {\n this.handleMissingValidations(data.missing);\n }\n\n this.dynamicValidationsLoaded = true;\n\n return this;\n }\n\n /**\n * Generate formdata object for current formobject based on formdata of attributes\n */\n get formdata(): { [string]: any } | null {\n return this.attributeCollection.formdata;\n }\n\n /**\n */\n getFormData(validationData: boolean = false): { [string]: any } | null {\n return this.attributeCollection.getFormData(validationData);\n }\n}\n"],"mappings":";;;;;;;;;;;;AACA,IAAAA,QAAA,GAAAC,OAAA;AAEA,IAAAC,UAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,oBAAA,GAAAD,sBAAA,CAAAF,OAAA;AACA,IAAAI,wBAAA,GAAAF,sBAAA,CAAAF,OAAA;AACA,IAAAK,qBAAA,GAAAH,sBAAA,CAAAF,OAAA;AACA,IAAAM,gBAAA,GAAAJ,sBAAA,CAAAF,OAAA;AACA,IAAAO,WAAA,GAAAP,OAAA;AASA,IAAAQ,qBAAA,GAAAN,sBAAA,CAAAF,OAAA;AAMA;AACA;AACA;AACe,MAAMS,eAAe,SAASC,kBAAS,CAAC;EAOrD;AACF;AACA;EACEC,WAAWA,CACTC,MAAc,EACdC,mBAA2B,EAC3BC,YAA2B,EAC3B;IACA,KAAK,CAACF,MAAM,EAAEC,mBAAmB,EAAEC,YAAY,CAAC;IAAC,IAAAC,gBAAA,CAAAC,OAAA;IAAA,IAAAD,gBAAA,CAAAC,OAAA;IAAA,IAAAD,gBAAA,CAAAC,OAAA;IAAA,IAAAD,gBAAA,CAAAC,OAAA;IAAA,IAAAD,gBAAA,CAAAC,OAAA;IAEjD,IAAIJ,MAAM,IAAI,IAAI,CAACK,WAAW,CAAC,CAAC,CAACC,MAAM,GAAG,CAAC,EAAE;MAC3C,IAAI,CAACC,oBAAoB,GAAG,IAAIC,4BAAmB,CACjD,IAAI,CAACH,WAAW,CAAC,CAAC,EAClB,IAAI,CAACI,mCAAmC,CAAC,CAAC,E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Z,mBAAmB,CAACiH,WAAW,CAACC,cAAc,CAAC;EAC7D;AACF;AAACC,OAAA,CAAAjI,OAAA,GAAAP,eAAA","ignoreList":[]}
|
|
@@ -1,191 +0,0 @@
|
|
|
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 = exports.GroupModel = void 0;
|
|
8
|
-
var _map = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/map"));
|
|
9
|
-
var _find = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/find"));
|
|
10
|
-
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/defineProperty"));
|
|
11
|
-
var _AttributeCollection = _interopRequireDefault(require("../attributes/AttributeCollection"));
|
|
12
|
-
/**
|
|
13
|
-
* Group information model
|
|
14
|
-
* Put GroupModel here because of possible circular dependency with GroupingModel below
|
|
15
|
-
*/
|
|
16
|
-
class GroupModel {
|
|
17
|
-
/**
|
|
18
|
-
*/
|
|
19
|
-
constructor(group, context, contributions, modelOptions) {
|
|
20
|
-
(0, _defineProperty2.default)(this, "_group", void 0);
|
|
21
|
-
(0, _defineProperty2.default)(this, "_context", void 0);
|
|
22
|
-
(0, _defineProperty2.default)(this, "_attributeCollection", void 0);
|
|
23
|
-
(0, _defineProperty2.default)(this, "_grouping", void 0);
|
|
24
|
-
this._group = group;
|
|
25
|
-
this._context = context;
|
|
26
|
-
this._attributeCollection = new _AttributeCollection.default(group, context.attributes, {
|
|
27
|
-
...modelOptions,
|
|
28
|
-
isReadonly: true
|
|
29
|
-
});
|
|
30
|
-
if (group.grouping) {
|
|
31
|
-
this._grouping = new GroupingModel({
|
|
32
|
-
...group.grouping,
|
|
33
|
-
dynamicschema: group.dynamicschema
|
|
34
|
-
}, contributions, modelOptions);
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
*/
|
|
40
|
-
get type() {
|
|
41
|
-
return this._group.type;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
*/
|
|
46
|
-
get id() {
|
|
47
|
-
return this._group._id || "unknown";
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
/**
|
|
51
|
-
*/
|
|
52
|
-
get label() {
|
|
53
|
-
return this._context.label;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
*/
|
|
58
|
-
get attributeCollection() {
|
|
59
|
-
return this._attributeCollection;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
*/
|
|
64
|
-
get grouping() {
|
|
65
|
-
return this._grouping;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
/**
|
|
69
|
-
* Retrieve array of reference id's
|
|
70
|
-
*/
|
|
71
|
-
get reference() {
|
|
72
|
-
return this._group.reference || [];
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
*/
|
|
77
|
-
hasAttributeByKey(key) {
|
|
78
|
-
if (this.attributeCollection.hasAttributeByKey(key)) {
|
|
79
|
-
return true;
|
|
80
|
-
}
|
|
81
|
-
if (this.grouping) {
|
|
82
|
-
return this.grouping.hasAttributeByKey(key);
|
|
83
|
-
}
|
|
84
|
-
return false;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
/**
|
|
88
|
-
*/
|
|
89
|
-
getAttributeByKey(key) {
|
|
90
|
-
if (this.attributeCollection.hasAttributeByKey(key)) {
|
|
91
|
-
return this.attributeCollection.getAttributeByKey(key);
|
|
92
|
-
}
|
|
93
|
-
if (this.grouping) {
|
|
94
|
-
return this.grouping.getAttributeByKey(key);
|
|
95
|
-
}
|
|
96
|
-
return null;
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
exports.GroupModel = GroupModel;
|
|
100
|
-
/**
|
|
101
|
-
* Grouping model to group lists
|
|
102
|
-
*/
|
|
103
|
-
class GroupingModel {
|
|
104
|
-
/**
|
|
105
|
-
*/
|
|
106
|
-
constructor(data, contexts, modelOptions) {
|
|
107
|
-
(0, _defineProperty2.default)(this, "_prefix", void 0);
|
|
108
|
-
(0, _defineProperty2.default)(this, "_groups", []);
|
|
109
|
-
this._prefix = data && data.prefix ? data.prefix : null;
|
|
110
|
-
if (data?.group) {
|
|
111
|
-
this._groups = this.createGroup(data, contexts, modelOptions);
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
/**
|
|
116
|
-
*/
|
|
117
|
-
createGroup(data, contributions, modelOptions) {
|
|
118
|
-
var _context;
|
|
119
|
-
const context = this.getContextFromContributionsByPrefix(contributions, this._prefix);
|
|
120
|
-
return (0, _map.default)(_context = data.group).call(_context, group => {
|
|
121
|
-
const dynamicschema = this.getDynamicSchema(group, data.dynamicschema);
|
|
122
|
-
return new GroupModel({
|
|
123
|
-
...group,
|
|
124
|
-
dynamicschema
|
|
125
|
-
}, context, contributions, modelOptions);
|
|
126
|
-
});
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
/**
|
|
130
|
-
* add grouped prefix to the dynamicschema
|
|
131
|
-
*/
|
|
132
|
-
getDynamicSchema(group, dynamicschema) {
|
|
133
|
-
if (dynamicschema) {
|
|
134
|
-
if (this._prefix && dynamicschema[group.type] && !dynamicschema[this._prefix + group.type]) {
|
|
135
|
-
dynamicschema[this._prefix + group.type] = dynamicschema[group.type];
|
|
136
|
-
}
|
|
137
|
-
return dynamicschema;
|
|
138
|
-
}
|
|
139
|
-
return null;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
/**
|
|
143
|
-
* Retrieve groups of grouping
|
|
144
|
-
*/
|
|
145
|
-
get groups() {
|
|
146
|
-
return this._groups;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
/**
|
|
150
|
-
* Inidicates if Grouping has one or more groups
|
|
151
|
-
*/
|
|
152
|
-
hasGroups() {
|
|
153
|
-
return this._groups.length > 0;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
/**
|
|
157
|
-
* Get context of grouping
|
|
158
|
-
*/
|
|
159
|
-
getContextFromContributionsByPrefix(contexts, prefix) {
|
|
160
|
-
if (contexts && prefix !== null) {
|
|
161
|
-
return (0, _find.default)(contexts).call(contexts, context => context.prefix === prefix) || {};
|
|
162
|
-
}
|
|
163
|
-
return {};
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
/**
|
|
167
|
-
*/
|
|
168
|
-
hasAttributeByKey(key) {
|
|
169
|
-
return this.groups.some(group => group.hasAttributeByKey(key));
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
/**
|
|
173
|
-
*/
|
|
174
|
-
getAttributeByKey(key) {
|
|
175
|
-
var _context2;
|
|
176
|
-
const groupByKey = (0, _find.default)(_context2 = this.groups).call(_context2, group => group.hasAttributeByKey(key));
|
|
177
|
-
if (groupByKey) {
|
|
178
|
-
return groupByKey.getAttributeByKey(key);
|
|
179
|
-
}
|
|
180
|
-
return null;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
/**
|
|
184
|
-
*/
|
|
185
|
-
getGroupByAttributeKey(key) {
|
|
186
|
-
var _context3;
|
|
187
|
-
return (0, _find.default)(_context3 = this.groups).call(_context3, group => group.hasAttributeByKey(key));
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
exports.default = GroupingModel;
|
|
191
|
-
//# sourceMappingURL=GroupingModel.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GroupingModel.cjs","names":["_AttributeCollection","_interopRequireDefault","require","GroupModel","constructor","group","context","contributions","modelOptions","_defineProperty2","default","_group","_context","_attributeCollection","AttributeCollection","attributes","isReadonly","grouping","_grouping","GroupingModel","dynamicschema","type","id","_id","label","attributeCollection","reference","hasAttributeByKey","key","getAttributeByKey","exports","data","contexts","_prefix","prefix","_groups","createGroup","getContextFromContributionsByPrefix","_map","call","getDynamicSchema","groups","hasGroups","length","_find","some","_context2","groupByKey","getGroupByAttributeKey","_context3"],"sources":["../../../src/models/grouping/GroupingModel.js"],"sourcesContent":["// @flow\nimport AttributeCollection from \"../attributes/AttributeCollection\";\nimport type { AttributeType, ModelOptions } from \"../types\";\n\n/**\n * Group information model\n * Put GroupModel here because of possible circular dependency with GroupingModel below\n */\nexport class GroupModel {\n _group: Object;\n _context: Object;\n _attributeCollection: AttributeCollection;\n _grouping: ?GroupingModel;\n\n /**\n */\n constructor(\n group: Object,\n context: Object,\n contributions: Array<Object>,\n modelOptions?: ModelOptions,\n ) {\n this._group = group;\n this._context = context;\n\n this._attributeCollection = new AttributeCollection(\n group,\n context.attributes,\n { ...modelOptions, isReadonly: true },\n );\n\n if (group.grouping) {\n this._grouping = new GroupingModel(\n { ...group.grouping, dynamicschema: group.dynamicschema },\n contributions,\n modelOptions,\n );\n }\n }\n\n /**\n */\n get type(): string {\n return this._group.type;\n }\n\n /**\n */\n get id(): string {\n return this._group._id || \"unknown\";\n }\n\n /**\n */\n get label(): string {\n return this._context.label;\n }\n\n /**\n */\n get attributeCollection(): AttributeCollection {\n return this._attributeCollection;\n }\n\n /**\n */\n get grouping(): ?GroupingModel {\n return this._grouping;\n }\n\n /**\n * Retrieve array of reference id's\n */\n get reference(): Array<number> {\n return this._group.reference || [];\n }\n\n /**\n */\n hasAttributeByKey(key: string): boolean {\n if (this.attributeCollection.hasAttributeByKey(key)) {\n return true;\n }\n\n if (this.grouping) {\n return this.grouping.hasAttributeByKey(key);\n }\n\n return false;\n }\n\n /**\n */\n getAttributeByKey(key: string): AttributeType | null {\n if (this.attributeCollection.hasAttributeByKey(key)) {\n return this.attributeCollection.getAttributeByKey(key);\n }\n\n if (this.grouping) {\n return this.grouping.getAttributeByKey(key);\n }\n\n return null;\n }\n}\n\ntype Context = {\n prefix: string,\n label: string,\n metadata: Object,\n attributes: Array<Object>,\n};\n\n/**\n * Grouping model to group lists\n */\nexport default class GroupingModel {\n _prefix: string | null;\n _groups: Array<GroupModel> = [];\n\n /**\n */\n constructor(\n data: Object,\n contexts: Array<Context>,\n modelOptions?: ModelOptions,\n ) {\n this._prefix = data && data.prefix ? data.prefix : null;\n\n if (data?.group) {\n this._groups = this.createGroup(data, contexts, modelOptions);\n }\n }\n\n /**\n */\n createGroup(\n data: Object,\n contributions: Array<Context>,\n modelOptions?: ModelOptions,\n ): Array<Object> {\n const context = this.getContextFromContributionsByPrefix(\n contributions,\n this._prefix,\n );\n\n return data.group.map((group) => {\n const dynamicschema = this.getDynamicSchema(group, data.dynamicschema);\n return new GroupModel(\n {\n ...group,\n dynamicschema,\n },\n context,\n contributions,\n modelOptions,\n );\n });\n }\n\n /**\n * add grouped prefix to the dynamicschema\n */\n getDynamicSchema(group: Object, dynamicschema: Object): Object {\n if (dynamicschema) {\n if (\n this._prefix &&\n dynamicschema[group.type] &&\n !dynamicschema[this._prefix + group.type]\n ) {\n dynamicschema[this._prefix + group.type] = dynamicschema[group.type];\n }\n return dynamicschema;\n }\n return null;\n }\n\n /**\n * Retrieve groups of grouping\n */\n get groups(): Array<GroupModel> {\n return this._groups;\n }\n\n /**\n * Inidicates if Grouping has one or more groups\n */\n hasGroups(): boolean {\n return this._groups.length > 0;\n }\n\n /**\n * Get context of grouping\n */\n getContextFromContributionsByPrefix(\n contexts: Array<Object>,\n prefix: string | null,\n ): Object {\n if (contexts && prefix !== null) {\n return contexts.find((context) => context.prefix === prefix) || {};\n }\n\n return {};\n }\n\n /**\n */\n hasAttributeByKey(key: string): boolean {\n return this.groups.some((group: GroupModel) =>\n group.hasAttributeByKey(key),\n );\n }\n\n /**\n */\n getAttributeByKey(key: string): AttributeType | null {\n const groupByKey = this.groups.find((group: GroupModel) =>\n group.hasAttributeByKey(key),\n );\n\n if (groupByKey) {\n return groupByKey.getAttributeByKey(key);\n }\n return null;\n }\n\n /**\n */\n getGroupByAttributeKey(key: string): ?GroupModel {\n return this.groups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