@beinformed/ui 1.59.22 → 1.60.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/lib/builder/index.js +18 -0
- package/lib/builder/index.js.map +1 -0
- package/lib/builder/mergeLayoutHintConfigurations.js +60 -0
- package/lib/builder/mergeLayoutHintConfigurations.js.map +1 -0
- package/lib/constants/Constants.js +189 -0
- package/lib/constants/Constants.js.map +1 -0
- package/lib/constants/LayoutHintConfig.js +173 -0
- package/lib/constants/LayoutHintConfig.js.map +1 -0
- package/lib/constants/LayoutHints.js +135 -0
- package/lib/constants/LayoutHints.js.map +1 -0
- package/lib/constants/Settings.js +219 -0
- package/lib/constants/Settings.js.map +1 -0
- package/lib/constants/index.js +40 -0
- package/lib/constants/index.js.map +1 -0
- package/lib/exceptions/ConfigurationException.js +17 -0
- package/lib/exceptions/ConfigurationException.js.map +1 -0
- package/lib/exceptions/FetchException.js +72 -0
- package/lib/exceptions/FetchException.js.map +1 -0
- package/lib/exceptions/IllegalArgumentException.js +17 -0
- package/lib/exceptions/IllegalArgumentException.js.map +1 -0
- package/lib/exceptions/IllegalReturnException.js +16 -0
- package/lib/exceptions/IllegalReturnException.js.map +1 -0
- package/lib/exceptions/IllegalStateException.js +17 -0
- package/lib/exceptions/IllegalStateException.js.map +1 -0
- package/lib/exceptions/JsonParseException.js +17 -0
- package/lib/exceptions/JsonParseException.js.map +1 -0
- package/lib/exceptions/MissingPropertyException.js +17 -0
- package/lib/exceptions/MissingPropertyException.js.map +1 -0
- package/lib/exceptions/NetworkException.js +23 -0
- package/lib/exceptions/NetworkException.js.map +1 -0
- package/lib/exceptions/NotAllowedUriException.js +17 -0
- package/lib/exceptions/NotAllowedUriException.js.map +1 -0
- package/lib/exceptions/NotFoundException.js +26 -0
- package/lib/exceptions/NotFoundException.js.map +1 -0
- package/lib/exceptions/ServerRequestException.js +17 -0
- package/lib/exceptions/ServerRequestException.js.map +1 -0
- package/lib/exceptions/ThemePropertyException.js +17 -0
- package/lib/exceptions/ThemePropertyException.js.map +1 -0
- package/lib/exceptions/TimeoutException.js +17 -0
- package/lib/exceptions/TimeoutException.js.map +1 -0
- package/lib/exceptions/UnauthorizedException.js +25 -0
- package/lib/exceptions/UnauthorizedException.js.map +1 -0
- package/lib/exceptions/UnsupportedOperationException.js +17 -0
- package/lib/exceptions/UnsupportedOperationException.js.map +1 -0
- package/lib/exceptions/index.js +112 -0
- package/lib/exceptions/index.js.map +1 -0
- package/lib/hooks/index.js +183 -0
- package/lib/hooks/index.js.map +1 -0
- package/lib/hooks/useAllFormsOnModel.js +81 -0
- package/lib/hooks/useAllFormsOnModel.js.map +1 -0
- package/lib/hooks/useAuthentication.js +66 -0
- package/lib/hooks/useAuthentication.js.map +1 -0
- package/lib/hooks/useContent.js +49 -0
- package/lib/hooks/useContent.js.map +1 -0
- package/lib/hooks/useDeepCompareEffect.js +35 -0
- package/lib/hooks/useDeepCompareEffect.js.map +1 -0
- package/lib/hooks/useForm.js +98 -0
- package/lib/hooks/useForm.js.map +1 -0
- package/lib/hooks/useI18n.js +42 -0
- package/lib/hooks/useI18n.js.map +1 -0
- package/lib/hooks/useModal.js +43 -0
- package/lib/hooks/useModal.js.map +1 -0
- package/lib/hooks/useModelCatalog.js +179 -0
- package/lib/hooks/useModelCatalog.js.map +1 -0
- package/lib/hooks/useModels.js +45 -0
- package/lib/hooks/useModels.js.map +1 -0
- package/lib/hooks/useModularUI.js +69 -0
- package/lib/hooks/useModularUI.js.map +1 -0
- package/lib/hooks/useModularUIBasic.js +81 -0
- package/lib/hooks/useModularUIBasic.js.map +1 -0
- package/lib/hooks/useModularUIModel.js +128 -0
- package/lib/hooks/useModularUIModel.js.map +1 -0
- package/lib/hooks/useModularUIRequest.js +25 -0
- package/lib/hooks/useModularUIRequest.js.map +1 -0
- package/lib/hooks/useNotification.js +39 -0
- package/lib/hooks/useNotification.js.map +1 -0
- package/lib/hooks/usePreference.js +23 -0
- package/lib/hooks/usePreference.js.map +1 -0
- package/lib/hooks/useProgressIndicator.js +23 -0
- package/lib/hooks/useProgressIndicator.js.map +1 -0
- package/lib/hooks/useRouter.js +42 -0
- package/lib/hooks/useRouter.js.map +1 -0
- package/lib/i18n/Locale.js +128 -0
- package/lib/i18n/Locale.js.map +1 -0
- package/lib/i18n/Locales.js +140 -0
- package/lib/i18n/Locales.js.map +1 -0
- package/lib/i18n/Message.js +50 -0
- package/lib/i18n/Message.js.map +1 -0
- package/lib/i18n/index.js +57 -0
- package/lib/i18n/index.js.map +1 -0
- package/lib/i18n/languages.js +212 -0
- package/lib/i18n/languages.js.map +1 -0
- package/lib/i18n/translations/beinformed_error_messages_en.nl.js +104 -0
- package/lib/i18n/translations/beinformed_error_messages_en.nl.js.map +1 -0
- package/lib/i18n/translations/beinformed_error_messages_nl.nl.js +104 -0
- package/lib/i18n/translations/beinformed_error_messages_nl.nl.js.map +1 -0
- package/lib/i18n/types.js +2 -0
- package/lib/i18n/types.js.map +1 -0
- package/lib/i18n/withMessage.js +27 -0
- package/lib/i18n/withMessage.js.map +1 -0
- package/lib/index.js +73 -0
- package/lib/index.js.map +1 -0
- package/lib/models/actions/ActionCollection.js +90 -0
- package/lib/models/actions/ActionCollection.js.map +1 -0
- package/lib/models/actions/ActionModel.js +194 -0
- package/lib/models/actions/ActionModel.js.map +1 -0
- package/lib/models/application/ApplicationModel.js +133 -0
- package/lib/models/application/ApplicationModel.js.map +1 -0
- package/lib/models/attributes/AttributeCollection.js +282 -0
- package/lib/models/attributes/AttributeCollection.js.map +1 -0
- package/lib/models/attributes/AttributeContent.js +203 -0
- package/lib/models/attributes/AttributeContent.js.map +1 -0
- package/lib/models/attributes/AttributeDataHelper.js +267 -0
- package/lib/models/attributes/AttributeDataHelper.js.map +1 -0
- package/lib/models/attributes/AttributeModel.js +824 -0
- package/lib/models/attributes/AttributeModel.js.map +1 -0
- package/lib/models/attributes/AttributeSetModel.js +105 -0
- package/lib/models/attributes/AttributeSetModel.js.map +1 -0
- package/lib/models/attributes/BooleanAttributeModel.js +295 -0
- package/lib/models/attributes/BooleanAttributeModel.js.map +1 -0
- package/lib/models/attributes/CaptchaAttributeModel.js +60 -0
- package/lib/models/attributes/CaptchaAttributeModel.js.map +1 -0
- package/lib/models/attributes/ChoiceAttributeModel.js +411 -0
- package/lib/models/attributes/ChoiceAttributeModel.js.map +1 -0
- package/lib/models/attributes/ChoiceAttributeOptionCollection.js +300 -0
- package/lib/models/attributes/ChoiceAttributeOptionCollection.js.map +1 -0
- package/lib/models/attributes/ChoiceAttributeOptionModel.js +342 -0
- package/lib/models/attributes/ChoiceAttributeOptionModel.js.map +1 -0
- package/lib/models/attributes/CompositeAttributeChildCollection.js +189 -0
- package/lib/models/attributes/CompositeAttributeChildCollection.js.map +1 -0
- package/lib/models/attributes/CompositeAttributeModel.js +380 -0
- package/lib/models/attributes/CompositeAttributeModel.js.map +1 -0
- package/lib/models/attributes/DatetimeAttributeModel.js +465 -0
- package/lib/models/attributes/DatetimeAttributeModel.js.map +1 -0
- package/lib/models/attributes/HelptextAttributeModel.js +55 -0
- package/lib/models/attributes/HelptextAttributeModel.js.map +1 -0
- package/lib/models/attributes/LabelAttributeModel.js +41 -0
- package/lib/models/attributes/LabelAttributeModel.js.map +1 -0
- package/lib/models/attributes/MemoAttributeModel.js +49 -0
- package/lib/models/attributes/MemoAttributeModel.js.map +1 -0
- package/lib/models/attributes/MoneyAttributeModel.js +49 -0
- package/lib/models/attributes/MoneyAttributeModel.js.map +1 -0
- package/lib/models/attributes/NumberAttributeModel.js +201 -0
- package/lib/models/attributes/NumberAttributeModel.js.map +1 -0
- package/lib/models/attributes/PasswordAttributeModel.js +217 -0
- package/lib/models/attributes/PasswordAttributeModel.js.map +1 -0
- package/lib/models/attributes/StringAttributeModel.js +284 -0
- package/lib/models/attributes/StringAttributeModel.js.map +1 -0
- package/lib/models/attributes/UploadAttributeModel.js +223 -0
- package/lib/models/attributes/UploadAttributeModel.js.map +1 -0
- package/lib/models/attributes/XMLAttributeModel.js +53 -0
- package/lib/models/attributes/XMLAttributeModel.js.map +1 -0
- package/lib/models/attributes/_createAttribute.js +93 -0
- package/lib/models/attributes/_createAttribute.js.map +1 -0
- package/lib/models/attributes/input-constraints/BSNConstraint.js +72 -0
- package/lib/models/attributes/input-constraints/BSNConstraint.js.map +1 -0
- package/lib/models/attributes/input-constraints/ConstraintCollection.js +50 -0
- package/lib/models/attributes/input-constraints/ConstraintCollection.js.map +1 -0
- package/lib/models/attributes/input-constraints/ConstraintModel.js +74 -0
- package/lib/models/attributes/input-constraints/ConstraintModel.js.map +1 -0
- package/lib/models/attributes/input-constraints/DateBoundaryConstraint.js +205 -0
- package/lib/models/attributes/input-constraints/DateBoundaryConstraint.js.map +1 -0
- package/lib/models/attributes/input-constraints/DateTimeDateFormatConstraint.js +76 -0
- package/lib/models/attributes/input-constraints/DateTimeDateFormatConstraint.js.map +1 -0
- package/lib/models/attributes/input-constraints/DateTimeTimeFormatConstraint.js +76 -0
- package/lib/models/attributes/input-constraints/DateTimeTimeFormatConstraint.js.map +1 -0
- package/lib/models/attributes/input-constraints/DatetimeFormatConstraint.js +122 -0
- package/lib/models/attributes/input-constraints/DatetimeFormatConstraint.js.map +1 -0
- package/lib/models/attributes/input-constraints/FileExtensionConstraint.js +66 -0
- package/lib/models/attributes/input-constraints/FileExtensionConstraint.js.map +1 -0
- package/lib/models/attributes/input-constraints/FileSizeConstraint.js +98 -0
- package/lib/models/attributes/input-constraints/FileSizeConstraint.js.map +1 -0
- package/lib/models/attributes/input-constraints/IBANConstraint.js +49 -0
- package/lib/models/attributes/input-constraints/IBANConstraint.js.map +1 -0
- package/lib/models/attributes/input-constraints/MandatoryConstraint.js +53 -0
- package/lib/models/attributes/input-constraints/MandatoryConstraint.js.map +1 -0
- package/lib/models/attributes/input-constraints/MandatoryRangeConstraint.js +85 -0
- package/lib/models/attributes/input-constraints/MandatoryRangeConstraint.js.map +1 -0
- package/lib/models/attributes/input-constraints/NumberBoundaryConstraint.js +177 -0
- package/lib/models/attributes/input-constraints/NumberBoundaryConstraint.js.map +1 -0
- package/lib/models/attributes/input-constraints/NumberFormatConstraint.js +132 -0
- package/lib/models/attributes/input-constraints/NumberFormatConstraint.js.map +1 -0
- package/lib/models/attributes/input-constraints/NumberGroupingConstraint.js +126 -0
- package/lib/models/attributes/input-constraints/NumberGroupingConstraint.js.map +1 -0
- package/lib/models/attributes/input-constraints/PasswordConfirmConstraint.js +72 -0
- package/lib/models/attributes/input-constraints/PasswordConfirmConstraint.js.map +1 -0
- package/lib/models/attributes/input-constraints/PasswordLowerAndUpperCaseConstraint.js +47 -0
- package/lib/models/attributes/input-constraints/PasswordLowerAndUpperCaseConstraint.js.map +1 -0
- package/lib/models/attributes/input-constraints/PasswordMinNumericCharactersConstraint.js +64 -0
- package/lib/models/attributes/input-constraints/PasswordMinNumericCharactersConstraint.js.map +1 -0
- package/lib/models/attributes/input-constraints/PasswordMinSpecialCharactersConstraint.js +64 -0
- package/lib/models/attributes/input-constraints/PasswordMinSpecialCharactersConstraint.js.map +1 -0
- package/lib/models/attributes/input-constraints/PasswordThreeConsecutiveCharactersNotAllowedConstraint.js +78 -0
- package/lib/models/attributes/input-constraints/PasswordThreeConsecutiveCharactersNotAllowedConstraint.js.map +1 -0
- package/lib/models/attributes/input-constraints/RangeConstraint.js +143 -0
- package/lib/models/attributes/input-constraints/RangeConstraint.js.map +1 -0
- package/lib/models/attributes/input-constraints/RegexConstraint.js +67 -0
- package/lib/models/attributes/input-constraints/RegexConstraint.js.map +1 -0
- package/lib/models/attributes/input-constraints/StringLengthConstraint.js +178 -0
- package/lib/models/attributes/input-constraints/StringLengthConstraint.js.map +1 -0
- package/lib/models/attributes/input-constraints/XMLConstraint.js +62 -0
- package/lib/models/attributes/input-constraints/XMLConstraint.js.map +1 -0
- package/lib/models/attributes/layouthint-rules/BaseLayoutHintRule.js +66 -0
- package/lib/models/attributes/layouthint-rules/BaseLayoutHintRule.js.map +1 -0
- package/lib/models/attributes/layouthint-rules/DependentAttribute.js +200 -0
- package/lib/models/attributes/layouthint-rules/DependentAttribute.js.map +1 -0
- package/lib/models/attributes/layouthint-rules/LayoutHintRuleCollection.js +88 -0
- package/lib/models/attributes/layouthint-rules/LayoutHintRuleCollection.js.map +1 -0
- package/lib/models/attributes/layouthint-rules/RemainingTotalUploadSize.js +51 -0
- package/lib/models/attributes/layouthint-rules/RemainingTotalUploadSize.js.map +1 -0
- package/lib/models/base/BaseCollection.js +186 -0
- package/lib/models/base/BaseCollection.js.map +1 -0
- package/lib/models/base/BaseModel.js +149 -0
- package/lib/models/base/BaseModel.js.map +1 -0
- package/lib/models/base/ResourceCollection.js +41 -0
- package/lib/models/base/ResourceCollection.js.map +1 -0
- package/lib/models/base/ResourceModel.js +209 -0
- package/lib/models/base/ResourceModel.js.map +1 -0
- package/lib/models/caseview/CaseViewModel.js +163 -0
- package/lib/models/caseview/CaseViewModel.js.map +1 -0
- package/lib/models/concepts/BusinessScenarioModel.js +122 -0
- package/lib/models/concepts/BusinessScenarioModel.js.map +1 -0
- package/lib/models/concepts/ConceptDetailModel.js +281 -0
- package/lib/models/concepts/ConceptDetailModel.js.map +1 -0
- package/lib/models/concepts/ConceptIndexModel.js +150 -0
- package/lib/models/concepts/ConceptIndexModel.js.map +1 -0
- package/lib/models/concepts/ConceptLinkModel.js +152 -0
- package/lib/models/concepts/ConceptLinkModel.js.map +1 -0
- package/lib/models/concepts/ConceptRelationCollection.js +82 -0
- package/lib/models/concepts/ConceptRelationCollection.js.map +1 -0
- package/lib/models/concepts/ConceptRelationModel.js +115 -0
- package/lib/models/concepts/ConceptRelationModel.js.map +1 -0
- package/lib/models/concepts/ConceptTypeDetailModel.js +128 -0
- package/lib/models/concepts/ConceptTypeDetailModel.js.map +1 -0
- package/lib/models/concepts/SourceReferenceCollection.js +35 -0
- package/lib/models/concepts/SourceReferenceCollection.js.map +1 -0
- package/lib/models/concepts/SourceReferenceModel.js +73 -0
- package/lib/models/concepts/SourceReferenceModel.js.map +1 -0
- package/lib/models/content/ContentIndexModel.js +142 -0
- package/lib/models/content/ContentIndexModel.js.map +1 -0
- package/lib/models/content/ContentLinkModel.js +193 -0
- package/lib/models/content/ContentLinkModel.js.map +1 -0
- package/lib/models/content/ContentModel.js +207 -0
- package/lib/models/content/ContentModel.js.map +1 -0
- package/lib/models/content/ContentTOCModel.js +163 -0
- package/lib/models/content/ContentTOCModel.js.map +1 -0
- package/lib/models/content/ContentTypeModel.js +74 -0
- package/lib/models/content/ContentTypeModel.js.map +1 -0
- package/lib/models/content/SectionModel.js +180 -0
- package/lib/models/content/SectionModel.js.map +1 -0
- package/lib/models/content/SubSectionModel.js +167 -0
- package/lib/models/content/SubSectionModel.js.map +1 -0
- package/lib/models/contentconfiguration/ContentConfiguration.js +75 -0
- package/lib/models/contentconfiguration/ContentConfiguration.js.map +1 -0
- package/lib/models/contentconfiguration/ContentConfigurationElements.js +143 -0
- package/lib/models/contentconfiguration/ContentConfigurationElements.js.map +1 -0
- package/lib/models/contentconfiguration/ContentConfigurationEndResults.js +49 -0
- package/lib/models/contentconfiguration/ContentConfigurationEndResults.js.map +1 -0
- package/lib/models/contentconfiguration/ContentConfigurationQuestions.js +54 -0
- package/lib/models/contentconfiguration/ContentConfigurationQuestions.js.map +1 -0
- package/lib/models/contentconfiguration/ContentConfigurationResults.js +103 -0
- package/lib/models/contentconfiguration/ContentConfigurationResults.js.map +1 -0
- package/lib/models/detail/DetailModel.js +219 -0
- package/lib/models/detail/DetailModel.js.map +1 -0
- package/lib/models/error/ErrorCollection.js +111 -0
- package/lib/models/error/ErrorCollection.js.map +1 -0
- package/lib/models/error/ErrorModel.js +81 -0
- package/lib/models/error/ErrorModel.js.map +1 -0
- package/lib/models/error/ErrorResponse.js +304 -0
- package/lib/models/error/ErrorResponse.js.map +1 -0
- package/lib/models/filters/AssignmentFilterModel.js +161 -0
- package/lib/models/filters/AssignmentFilterModel.js.map +1 -0
- package/lib/models/filters/BaseFilterModel.js +210 -0
- package/lib/models/filters/BaseFilterModel.js.map +1 -0
- package/lib/models/filters/ConceptIndexFilterModel.js +36 -0
- package/lib/models/filters/ConceptIndexFilterModel.js.map +1 -0
- package/lib/models/filters/FilterCollection.js +155 -0
- package/lib/models/filters/FilterCollection.js.map +1 -0
- package/lib/models/filters/FilterModel.js +13 -0
- package/lib/models/filters/FilterModel.js.map +1 -0
- package/lib/models/filters/RangeFilterModel.js +44 -0
- package/lib/models/filters/RangeFilterModel.js.map +1 -0
- package/lib/models/filters/StringFilterModel.js +147 -0
- package/lib/models/filters/StringFilterModel.js.map +1 -0
- package/lib/models/form/FormModel.js +1038 -0
- package/lib/models/form/FormModel.js.map +1 -0
- package/lib/models/form/FormObjectModel.js +474 -0
- package/lib/models/form/FormObjectModel.js.map +1 -0
- package/lib/models/grouping/GroupingModel.js +191 -0
- package/lib/models/grouping/GroupingModel.js.map +1 -0
- package/lib/models/href/Href.js +496 -0
- package/lib/models/href/Href.js.map +1 -0
- package/lib/models/href/ListHref.js +135 -0
- package/lib/models/href/ListHref.js.map +1 -0
- package/lib/models/index.js +687 -0
- package/lib/models/index.js.map +1 -0
- package/lib/models/layouthint/LayoutHintCollection.js +118 -0
- package/lib/models/layouthint/LayoutHintCollection.js.map +1 -0
- package/lib/models/links/LinkCollection.js +171 -0
- package/lib/models/links/LinkCollection.js.map +1 -0
- package/lib/models/links/LinkModel.js +216 -0
- package/lib/models/links/LinkModel.js.map +1 -0
- package/lib/models/links/normalizeLinkJSON.js +107 -0
- package/lib/models/links/normalizeLinkJSON.js.map +1 -0
- package/lib/models/list/ListDetailModel.js +266 -0
- package/lib/models/list/ListDetailModel.js.map +1 -0
- package/lib/models/list/ListHeaderModel.js +95 -0
- package/lib/models/list/ListHeaderModel.js.map +1 -0
- package/lib/models/list/ListItemCollection.js +67 -0
- package/lib/models/list/ListItemCollection.js.map +1 -0
- package/lib/models/list/ListItemModel.js +95 -0
- package/lib/models/list/ListItemModel.js.map +1 -0
- package/lib/models/list/ListModel.js +385 -0
- package/lib/models/list/ListModel.js.map +1 -0
- package/lib/models/lookup/LookupOptionCollection.js +45 -0
- package/lib/models/lookup/LookupOptionCollection.js.map +1 -0
- package/lib/models/lookup/LookupOptionsModel.js +71 -0
- package/lib/models/lookup/LookupOptionsModel.js.map +1 -0
- package/lib/models/modelcatalog/ModelCatalogModel.js +69 -0
- package/lib/models/modelcatalog/ModelCatalogModel.js.map +1 -0
- package/lib/models/modelcatalog/ModelCategoryCollection.js +24 -0
- package/lib/models/modelcatalog/ModelCategoryCollection.js.map +1 -0
- package/lib/models/modelcatalog/ModelCategoryModel.js +60 -0
- package/lib/models/modelcatalog/ModelCategoryModel.js.map +1 -0
- package/lib/models/paging/PagesizeModel.js +50 -0
- package/lib/models/paging/PagesizeModel.js.map +1 -0
- package/lib/models/paging/PagingModel.js +95 -0
- package/lib/models/paging/PagingModel.js.map +1 -0
- package/lib/models/panels/GroupingPanelModel.js +143 -0
- package/lib/models/panels/GroupingPanelModel.js.map +1 -0
- package/lib/models/parameter/Parameter.js +108 -0
- package/lib/models/parameter/Parameter.js.map +1 -0
- package/lib/models/process/ProcessStatusSettingsModel.js +85 -0
- package/lib/models/process/ProcessStatusSettingsModel.js.map +1 -0
- package/lib/models/resolveModel.js +57 -0
- package/lib/models/resolveModel.js.map +1 -0
- package/lib/models/search/CaseSearchModel.js +47 -0
- package/lib/models/search/CaseSearchModel.js.map +1 -0
- package/lib/models/sorting/SortOptionModel.js +106 -0
- package/lib/models/sorting/SortOptionModel.js.map +1 -0
- package/lib/models/sorting/SortingModel.js +112 -0
- package/lib/models/sorting/SortingModel.js.map +1 -0
- package/lib/models/tab/TabModel.js +143 -0
- package/lib/models/tab/TabModel.js.map +1 -0
- package/lib/models/taskgroup/TaskGroupCollection.js +21 -0
- package/lib/models/taskgroup/TaskGroupCollection.js.map +1 -0
- package/lib/models/taskgroup/TaskGroupModel.js +87 -0
- package/lib/models/taskgroup/TaskGroupModel.js.map +1 -0
- package/lib/models/types.js +2 -0
- package/lib/models/types.js.map +1 -0
- package/lib/models/user/UserModel.js +59 -0
- package/lib/models/user/UserModel.js.map +1 -0
- package/lib/models/user/UserProfileModel.js +55 -0
- package/lib/models/user/UserProfileModel.js.map +1 -0
- package/lib/models/user/UserServicesModel.js +126 -0
- package/lib/models/user/UserServicesModel.js.map +1 -0
- package/lib/modularui/Authenticate.js +183 -0
- package/lib/modularui/Authenticate.js.map +1 -0
- package/lib/modularui/CaptchaRequest.js +71 -0
- package/lib/modularui/CaptchaRequest.js.map +1 -0
- package/lib/modularui/ModularUIError.js +30 -0
- package/lib/modularui/ModularUIError.js.map +1 -0
- package/lib/modularui/ModularUIRequest.js +716 -0
- package/lib/modularui/ModularUIRequest.js.map +1 -0
- package/lib/modularui/ModularUIResponse.js +147 -0
- package/lib/modularui/ModularUIResponse.js.map +1 -0
- package/lib/modularui/UploadRequest.js +103 -0
- package/lib/modularui/UploadRequest.js.map +1 -0
- package/lib/modularui/index.js +42 -0
- package/lib/modularui/index.js.map +1 -0
- package/lib/modularui/types.js +2 -0
- package/lib/modularui/types.js.map +1 -0
- package/lib/react/ErrorBoundary.js +56 -0
- package/lib/react/ErrorBoundary.js.map +1 -0
- package/lib/react/ErrorBoundaryFallback.js +41 -0
- package/lib/react/ErrorBoundaryFallback.js.map +1 -0
- package/lib/react/index.js +29 -0
- package/lib/react/index.js.map +1 -0
- package/lib/react/utils.js +32 -0
- package/lib/react/utils.js.map +1 -0
- package/lib/react-client/Init.js +44 -0
- package/lib/react-client/Init.js.map +1 -0
- package/lib/react-client/client.js +216 -0
- package/lib/react-client/client.js.map +1 -0
- package/lib/react-client/contextPath.js +26 -0
- package/lib/react-client/contextPath.js.map +1 -0
- package/lib/react-client/index.js +40 -0
- package/lib/react-client/index.js.map +1 -0
- package/lib/react-client/rehydrate.js +73 -0
- package/lib/react-client/rehydrate.js.map +1 -0
- package/lib/react-server/contextPath.js +10 -0
- package/lib/react-server/contextPath.js.map +1 -0
- package/lib/react-server/createSSRComplete.js +61 -0
- package/lib/react-server/createSSRComplete.js.map +1 -0
- package/lib/react-server/htmlpage.js +54 -0
- package/lib/react-server/htmlpage.js.map +1 -0
- package/lib/react-server/index.js +82 -0
- package/lib/react-server/index.js.map +1 -0
- package/lib/react-server/renderSSRComplete.js +91 -0
- package/lib/react-server/renderSSRComplete.js.map +1 -0
- package/lib/react-server/renderSSRMinimal.js +47 -0
- package/lib/react-server/renderSSRMinimal.js.map +1 -0
- package/lib/react-server/requestInformation.js +46 -0
- package/lib/react-server/requestInformation.js.map +1 -0
- package/lib/react-server/serverNoSSR.js +63 -0
- package/lib/react-server/serverNoSSR.js.map +1 -0
- package/lib/react-server/serverSSR.js +51 -0
- package/lib/react-server/serverSSR.js.map +1 -0
- package/lib/react-server/serverUtil.js +218 -0
- package/lib/react-server/serverUtil.js.map +1 -0
- package/lib/react-theme/ThemeProvider.js +33 -0
- package/lib/react-theme/ThemeProvider.js.map +1 -0
- package/lib/react-theme/createTheme.js +115 -0
- package/lib/react-theme/createTheme.js.map +1 -0
- package/lib/react-theme/index.js +110 -0
- package/lib/react-theme/index.js.map +1 -0
- package/lib/react-theme/types.js +2 -0
- package/lib/react-theme/types.js.map +1 -0
- package/lib/react-theme/useTheme.js +15 -0
- package/lib/react-theme/useTheme.js.map +1 -0
- package/lib/react-theme/utils/background.js +21 -0
- package/lib/react-theme/utils/background.js.map +1 -0
- package/lib/react-theme/utils/colors.js +45 -0
- package/lib/react-theme/utils/colors.js.map +1 -0
- package/lib/react-theme/utils/contrast.js +95 -0
- package/lib/react-theme/utils/contrast.js.map +1 -0
- package/lib/react-theme/utils/corners.js +34 -0
- package/lib/react-theme/utils/corners.js.map +1 -0
- package/lib/react-theme/utils/spacers.js +89 -0
- package/lib/react-theme/utils/spacers.js.map +1 -0
- package/lib/react-theme/utils/themeProps.js +75 -0
- package/lib/react-theme/utils/themeProps.js.map +1 -0
- package/lib/redux/_i18n/I18nActions.js +37 -0
- package/lib/redux/_i18n/I18nActions.js.map +1 -0
- package/lib/redux/_i18n/I18nReducer.js +78 -0
- package/lib/redux/_i18n/I18nReducer.js.map +1 -0
- package/lib/redux/_i18n/index.js +29 -0
- package/lib/redux/_i18n/index.js.map +1 -0
- package/lib/redux/_i18n/types.js +2 -0
- package/lib/redux/_i18n/types.js.map +1 -0
- package/lib/redux/_modularui/ModularUIActions.js +168 -0
- package/lib/redux/_modularui/ModularUIActions.js.map +1 -0
- package/lib/redux/_modularui/ModularUIConnector.js +123 -0
- package/lib/redux/_modularui/ModularUIConnector.js.map +1 -0
- package/lib/redux/_modularui/ModularUIMiddleware.js +107 -0
- package/lib/redux/_modularui/ModularUIMiddleware.js.map +1 -0
- package/lib/redux/_modularui/ModularUIReducer.js +157 -0
- package/lib/redux/_modularui/ModularUIReducer.js.map +1 -0
- package/lib/redux/_modularui/ModularUISelectors.js +270 -0
- package/lib/redux/_modularui/ModularUISelectors.js.map +1 -0
- package/lib/redux/_modularui/ModularUIUtils.js +83 -0
- package/lib/redux/_modularui/ModularUIUtils.js.map +1 -0
- package/lib/redux/_modularui/index.js +86 -0
- package/lib/redux/_modularui/index.js.map +1 -0
- package/lib/redux/_modularui/types.js +2 -0
- package/lib/redux/_modularui/types.js.map +1 -0
- package/lib/redux/_modularui/withModularUI.js +41 -0
- package/lib/redux/_modularui/withModularUI.js.map +1 -0
- package/lib/redux/_router/RouterActions.js +67 -0
- package/lib/redux/_router/RouterActions.js.map +1 -0
- package/lib/redux/_router/RouterConnectors.js +42 -0
- package/lib/redux/_router/RouterConnectors.js.map +1 -0
- package/lib/redux/_router/RouterMiddleware.js +38 -0
- package/lib/redux/_router/RouterMiddleware.js.map +1 -0
- package/lib/redux/_router/RouterReducer.js +22 -0
- package/lib/redux/_router/RouterReducer.js.map +1 -0
- package/lib/redux/_router/index.js +51 -0
- package/lib/redux/_router/index.js.map +1 -0
- package/lib/redux/_router/types.js +2 -0
- package/lib/redux/_router/types.js.map +1 -0
- package/lib/redux/actions/Application.js +38 -0
- package/lib/redux/actions/Application.js.map +1 -0
- package/lib/redux/actions/Authorization.js +55 -0
- package/lib/redux/actions/Authorization.js.map +1 -0
- package/lib/redux/actions/Error.js +74 -0
- package/lib/redux/actions/Error.js.map +1 -0
- package/lib/redux/actions/Form.js +39 -0
- package/lib/redux/actions/Form.js.map +1 -0
- package/lib/redux/actions/FormAttributeSet.js +69 -0
- package/lib/redux/actions/FormAttributeSet.js.map +1 -0
- package/lib/redux/actions/FormAttributeSetRepeatable.js +35 -0
- package/lib/redux/actions/FormAttributeSetRepeatable.js.map +1 -0
- package/lib/redux/actions/FormAutosave.js +60 -0
- package/lib/redux/actions/FormAutosave.js.map +1 -0
- package/lib/redux/actions/FormAutosubmit.js +38 -0
- package/lib/redux/actions/FormAutosubmit.js.map +1 -0
- package/lib/redux/actions/FormAutoupdate.js +37 -0
- package/lib/redux/actions/FormAutoupdate.js.map +1 -0
- package/lib/redux/actions/FormValidations.js +51 -0
- package/lib/redux/actions/FormValidations.js.map +1 -0
- package/lib/redux/actions/Modals.js +22 -0
- package/lib/redux/actions/Modals.js.map +1 -0
- package/lib/redux/actions/ModelCatalog.js +15 -0
- package/lib/redux/actions/ModelCatalog.js.map +1 -0
- package/lib/redux/actions/Notification.js +76 -0
- package/lib/redux/actions/Notification.js.map +1 -0
- package/lib/redux/actions/Preferences.js +128 -0
- package/lib/redux/actions/Preferences.js.map +1 -0
- package/lib/redux/actions/ProgressIndicator.js +42 -0
- package/lib/redux/actions/ProgressIndicator.js.map +1 -0
- package/lib/redux/actions/SignIn.js +90 -0
- package/lib/redux/actions/SignIn.js.map +1 -0
- package/lib/redux/actions/SignOut.js +30 -0
- package/lib/redux/actions/SignOut.js.map +1 -0
- package/lib/redux/actions/index.js +183 -0
- package/lib/redux/actions/index.js.map +1 -0
- package/lib/redux/connectors/Application.js +14 -0
- package/lib/redux/connectors/Application.js.map +1 -0
- package/lib/redux/connectors/Breadcrumb.js +16 -0
- package/lib/redux/connectors/Breadcrumb.js.map +1 -0
- package/lib/redux/connectors/CaseView.js +19 -0
- package/lib/redux/connectors/CaseView.js.map +1 -0
- package/lib/redux/connectors/ConceptDetail.js +20 -0
- package/lib/redux/connectors/ConceptDetail.js.map +1 -0
- package/lib/redux/connectors/ContentBrowser.js +19 -0
- package/lib/redux/connectors/ContentBrowser.js.map +1 -0
- package/lib/redux/connectors/ContentDetail.js +20 -0
- package/lib/redux/connectors/ContentDetail.js.map +1 -0
- package/lib/redux/connectors/ContentDetailSection.js +22 -0
- package/lib/redux/connectors/ContentDetailSection.js.map +1 -0
- package/lib/redux/connectors/Form.js +43 -0
- package/lib/redux/connectors/Form.js.map +1 -0
- package/lib/redux/connectors/FormAttributeSet.js +27 -0
- package/lib/redux/connectors/FormAttributeSet.js.map +1 -0
- package/lib/redux/connectors/ListDetail.js +21 -0
- package/lib/redux/connectors/ListDetail.js.map +1 -0
- package/lib/redux/connectors/Modal.js +27 -0
- package/lib/redux/connectors/Modal.js.map +1 -0
- package/lib/redux/connectors/ModelCatalog.js +19 -0
- package/lib/redux/connectors/ModelCatalog.js.map +1 -0
- package/lib/redux/connectors/Notification.js +22 -0
- package/lib/redux/connectors/Notification.js.map +1 -0
- package/lib/redux/connectors/PanelRenderer.js +29 -0
- package/lib/redux/connectors/PanelRenderer.js.map +1 -0
- package/lib/redux/connectors/Preferences.js +29 -0
- package/lib/redux/connectors/Preferences.js.map +1 -0
- package/lib/redux/connectors/Progress.js +19 -0
- package/lib/redux/connectors/Progress.js.map +1 -0
- package/lib/redux/connectors/ProgressIndicator.js +19 -0
- package/lib/redux/connectors/ProgressIndicator.js.map +1 -0
- package/lib/redux/connectors/QuickSearch.js +27 -0
- package/lib/redux/connectors/QuickSearch.js.map +1 -0
- package/lib/redux/connectors/SignIn.js +24 -0
- package/lib/redux/connectors/SignIn.js.map +1 -0
- package/lib/redux/connectors/SignOut.js +20 -0
- package/lib/redux/connectors/SignOut.js.map +1 -0
- package/lib/redux/connectors/Tab.js +19 -0
- package/lib/redux/connectors/Tab.js.map +1 -0
- package/lib/redux/connectors/index.js +153 -0
- package/lib/redux/connectors/index.js.map +1 -0
- package/lib/redux/index.js +102 -0
- package/lib/redux/index.js.map +1 -0
- package/lib/redux/reducers/AuthReducer.js +59 -0
- package/lib/redux/reducers/AuthReducer.js.map +1 -0
- package/lib/redux/reducers/ErrorReducer.js +22 -0
- package/lib/redux/reducers/ErrorReducer.js.map +1 -0
- package/lib/redux/reducers/ModalsReducer.js +58 -0
- package/lib/redux/reducers/ModalsReducer.js.map +1 -0
- package/lib/redux/reducers/ModelCatalogReducer.js +34 -0
- package/lib/redux/reducers/ModelCatalogReducer.js.map +1 -0
- package/lib/redux/reducers/NotificationReducer.js +43 -0
- package/lib/redux/reducers/NotificationReducer.js.map +1 -0
- package/lib/redux/reducers/PreferencesReducer.js +30 -0
- package/lib/redux/reducers/PreferencesReducer.js.map +1 -0
- package/lib/redux/reducers/ProgressIndicatorReducer.js +55 -0
- package/lib/redux/reducers/ProgressIndicatorReducer.js.map +1 -0
- package/lib/redux/reducers/createReducer.js +33 -0
- package/lib/redux/reducers/createReducer.js.map +1 -0
- package/lib/redux/reducers/index.js +78 -0
- package/lib/redux/reducers/index.js.map +1 -0
- package/lib/redux/selectors/i18n.js +20 -0
- package/lib/redux/selectors/i18n.js.map +1 -0
- package/lib/redux/selectors/index.js +29 -0
- package/lib/redux/selectors/index.js.map +1 -0
- package/lib/redux/selectors/modelcatalog.js +14 -0
- package/lib/redux/selectors/modelcatalog.js.map +1 -0
- package/lib/redux/store/beforeRenderHooks.js +24 -0
- package/lib/redux/store/beforeRenderHooks.js.map +1 -0
- package/lib/redux/store/configureStore.js +42 -0
- package/lib/redux/store/configureStore.js.map +1 -0
- package/lib/redux/types.js +2 -0
- package/lib/redux/types.js.map +1 -0
- package/lib/utils/browser/Cache.js +151 -0
- package/lib/utils/browser/Cache.js.map +1 -0
- package/lib/utils/browser/Cookies.js +38 -0
- package/lib/utils/browser/Cookies.js.map +1 -0
- package/lib/utils/datetime/DateTimeUtil.js +648 -0
- package/lib/utils/datetime/DateTimeUtil.js.map +1 -0
- package/lib/utils/fetch/serverFetch.js +32 -0
- package/lib/utils/fetch/serverFetch.js.map +1 -0
- package/lib/utils/fetch/types.js +2 -0
- package/lib/utils/fetch/types.js.map +1 -0
- package/lib/utils/fetch/universalFetch.js +94 -0
- package/lib/utils/fetch/universalFetch.js.map +1 -0
- package/lib/utils/fetch/xhr.js +358 -0
- package/lib/utils/fetch/xhr.js.map +1 -0
- package/lib/utils/helpers/checkResource.js +46 -0
- package/lib/utils/helpers/checkResource.js.map +1 -0
- package/lib/utils/helpers/createHash.js +28 -0
- package/lib/utils/helpers/createHash.js.map +1 -0
- package/lib/utils/helpers/createHref.js +101 -0
- package/lib/utils/helpers/createHref.js.map +1 -0
- package/lib/utils/helpers/createUUID.js +18 -0
- package/lib/utils/helpers/createUUID.js.map +1 -0
- package/lib/utils/helpers/index.js +102 -0
- package/lib/utils/helpers/index.js.map +1 -0
- package/lib/utils/helpers/objects.js +36 -0
- package/lib/utils/helpers/objects.js.map +1 -0
- package/lib/utils/helpers/repositoryResource.js +26 -0
- package/lib/utils/helpers/repositoryResource.js.map +1 -0
- package/lib/utils/helpers/sanitizeHtml.js +44 -0
- package/lib/utils/helpers/sanitizeHtml.js.map +1 -0
- package/lib/utils/helpers/text.js +23 -0
- package/lib/utils/helpers/text.js.map +1 -0
- package/lib/utils/index.js +106 -0
- package/lib/utils/index.js.map +1 -0
- package/lib/utils/number/DecimalFormat.js +333 -0
- package/lib/utils/number/DecimalFormat.js.map +1 -0
- package/lib/utils/number/formatValue.js +47 -0
- package/lib/utils/number/formatValue.js.map +1 -0
- package/lib/utils/number/parseNumbers.js +70 -0
- package/lib/utils/number/parseNumbers.js.map +1 -0
- package/package.json +59 -143
- package/builder/package.json +0 -12
- package/constants/package.json +0 -12
- package/exceptions/package.json +0 -12
- package/hooks/package.json +0 -12
- package/i18n/package.json +0 -12
- package/lib/builder/index.cjs +0 -18
- package/lib/builder/index.cjs.map +0 -1
- package/lib/builder/mergeLayoutHintConfigurations.cjs +0 -60
- package/lib/builder/mergeLayoutHintConfigurations.cjs.map +0 -1
- package/lib/constants/Constants.cjs +0 -189
- package/lib/constants/Constants.cjs.map +0 -1
- package/lib/constants/LayoutHintConfig.cjs +0 -173
- package/lib/constants/LayoutHintConfig.cjs.map +0 -1
- package/lib/constants/LayoutHints.cjs +0 -135
- package/lib/constants/LayoutHints.cjs.map +0 -1
- package/lib/constants/Settings.cjs +0 -219
- package/lib/constants/Settings.cjs.map +0 -1
- package/lib/constants/index.cjs +0 -40
- package/lib/constants/index.cjs.map +0 -1
- package/lib/exceptions/ConfigurationException.cjs +0 -17
- package/lib/exceptions/ConfigurationException.cjs.map +0 -1
- package/lib/exceptions/FetchException.cjs +0 -72
- package/lib/exceptions/FetchException.cjs.map +0 -1
- package/lib/exceptions/IllegalArgumentException.cjs +0 -17
- package/lib/exceptions/IllegalArgumentException.cjs.map +0 -1
- package/lib/exceptions/IllegalReturnException.cjs +0 -16
- package/lib/exceptions/IllegalReturnException.cjs.map +0 -1
- package/lib/exceptions/IllegalStateException.cjs +0 -17
- package/lib/exceptions/IllegalStateException.cjs.map +0 -1
- package/lib/exceptions/JsonParseException.cjs +0 -17
- package/lib/exceptions/JsonParseException.cjs.map +0 -1
- package/lib/exceptions/MissingPropertyException.cjs +0 -17
- package/lib/exceptions/MissingPropertyException.cjs.map +0 -1
- package/lib/exceptions/NetworkException.cjs +0 -23
- package/lib/exceptions/NetworkException.cjs.map +0 -1
- package/lib/exceptions/NotAllowedUriException.cjs +0 -17
- package/lib/exceptions/NotAllowedUriException.cjs.map +0 -1
- package/lib/exceptions/NotFoundException.cjs +0 -26
- package/lib/exceptions/NotFoundException.cjs.map +0 -1
- package/lib/exceptions/ServerRequestException.cjs +0 -17
- package/lib/exceptions/ServerRequestException.cjs.map +0 -1
- package/lib/exceptions/ThemePropertyException.cjs +0 -17
- package/lib/exceptions/ThemePropertyException.cjs.map +0 -1
- package/lib/exceptions/TimeoutException.cjs +0 -17
- package/lib/exceptions/TimeoutException.cjs.map +0 -1
- package/lib/exceptions/UnauthorizedException.cjs +0 -25
- package/lib/exceptions/UnauthorizedException.cjs.map +0 -1
- package/lib/exceptions/UnsupportedOperationException.cjs +0 -17
- package/lib/exceptions/UnsupportedOperationException.cjs.map +0 -1
- package/lib/exceptions/index.cjs +0 -112
- package/lib/exceptions/index.cjs.map +0 -1
- package/lib/hooks/index.cjs +0 -183
- package/lib/hooks/index.cjs.map +0 -1
- package/lib/hooks/useAllFormsOnModel.cjs +0 -81
- package/lib/hooks/useAllFormsOnModel.cjs.map +0 -1
- package/lib/hooks/useAuthentication.cjs +0 -66
- package/lib/hooks/useAuthentication.cjs.map +0 -1
- package/lib/hooks/useContent.cjs +0 -49
- package/lib/hooks/useContent.cjs.map +0 -1
- package/lib/hooks/useDeepCompareEffect.cjs +0 -35
- package/lib/hooks/useDeepCompareEffect.cjs.map +0 -1
- package/lib/hooks/useForm.cjs +0 -98
- package/lib/hooks/useForm.cjs.map +0 -1
- package/lib/hooks/useI18n.cjs +0 -42
- package/lib/hooks/useI18n.cjs.map +0 -1
- package/lib/hooks/useModal.cjs +0 -43
- package/lib/hooks/useModal.cjs.map +0 -1
- package/lib/hooks/useModelCatalog.cjs +0 -179
- package/lib/hooks/useModelCatalog.cjs.map +0 -1
- package/lib/hooks/useModels.cjs +0 -45
- package/lib/hooks/useModels.cjs.map +0 -1
- package/lib/hooks/useModularUI.cjs +0 -69
- package/lib/hooks/useModularUI.cjs.map +0 -1
- package/lib/hooks/useModularUIBasic.cjs +0 -81
- package/lib/hooks/useModularUIBasic.cjs.map +0 -1
- package/lib/hooks/useModularUIModel.cjs +0 -128
- package/lib/hooks/useModularUIModel.cjs.map +0 -1
- package/lib/hooks/useModularUIRequest.cjs +0 -25
- package/lib/hooks/useModularUIRequest.cjs.map +0 -1
- package/lib/hooks/useNotification.cjs +0 -39
- package/lib/hooks/useNotification.cjs.map +0 -1
- package/lib/hooks/usePreference.cjs +0 -23
- package/lib/hooks/usePreference.cjs.map +0 -1
- package/lib/hooks/useProgressIndicator.cjs +0 -23
- package/lib/hooks/useProgressIndicator.cjs.map +0 -1
- package/lib/hooks/useRouter.cjs +0 -42
- package/lib/hooks/useRouter.cjs.map +0 -1
- package/lib/i18n/Locale.cjs +0 -128
- package/lib/i18n/Locale.cjs.map +0 -1
- package/lib/i18n/Locales.cjs +0 -140
- package/lib/i18n/Locales.cjs.map +0 -1
- package/lib/i18n/Message.cjs +0 -50
- package/lib/i18n/Message.cjs.map +0 -1
- package/lib/i18n/index.cjs +0 -57
- package/lib/i18n/index.cjs.map +0 -1
- package/lib/i18n/languages.cjs +0 -212
- package/lib/i18n/languages.cjs.map +0 -1
- package/lib/i18n/translations/beinformed_error_messages_en.nl.cjs +0 -104
- package/lib/i18n/translations/beinformed_error_messages_en.nl.cjs.map +0 -1
- package/lib/i18n/translations/beinformed_error_messages_nl.nl.cjs +0 -104
- package/lib/i18n/translations/beinformed_error_messages_nl.nl.cjs.map +0 -1
- package/lib/i18n/types.cjs +0 -2
- package/lib/i18n/types.cjs.map +0 -1
- package/lib/i18n/withMessage.cjs +0 -27
- package/lib/i18n/withMessage.cjs.map +0 -1
- package/lib/index.cjs +0 -73
- package/lib/index.cjs.map +0 -1
- package/lib/models/actions/ActionCollection.cjs +0 -90
- package/lib/models/actions/ActionCollection.cjs.map +0 -1
- package/lib/models/actions/ActionModel.cjs +0 -194
- package/lib/models/actions/ActionModel.cjs.map +0 -1
- package/lib/models/application/ApplicationModel.cjs +0 -133
- package/lib/models/application/ApplicationModel.cjs.map +0 -1
- package/lib/models/attributes/AttributeCollection.cjs +0 -282
- package/lib/models/attributes/AttributeCollection.cjs.map +0 -1
- package/lib/models/attributes/AttributeContent.cjs +0 -203
- package/lib/models/attributes/AttributeContent.cjs.map +0 -1
- package/lib/models/attributes/AttributeDataHelper.cjs +0 -267
- package/lib/models/attributes/AttributeDataHelper.cjs.map +0 -1
- package/lib/models/attributes/AttributeModel.cjs +0 -824
- package/lib/models/attributes/AttributeModel.cjs.map +0 -1
- package/lib/models/attributes/AttributeSetModel.cjs +0 -105
- package/lib/models/attributes/AttributeSetModel.cjs.map +0 -1
- package/lib/models/attributes/BooleanAttributeModel.cjs +0 -295
- package/lib/models/attributes/BooleanAttributeModel.cjs.map +0 -1
- package/lib/models/attributes/CaptchaAttributeModel.cjs +0 -60
- package/lib/models/attributes/CaptchaAttributeModel.cjs.map +0 -1
- package/lib/models/attributes/ChoiceAttributeModel.cjs +0 -411
- package/lib/models/attributes/ChoiceAttributeModel.cjs.map +0 -1
- package/lib/models/attributes/ChoiceAttributeOptionCollection.cjs +0 -300
- package/lib/models/attributes/ChoiceAttributeOptionCollection.cjs.map +0 -1
- package/lib/models/attributes/ChoiceAttributeOptionModel.cjs +0 -342
- package/lib/models/attributes/ChoiceAttributeOptionModel.cjs.map +0 -1
- package/lib/models/attributes/CompositeAttributeChildCollection.cjs +0 -189
- package/lib/models/attributes/CompositeAttributeChildCollection.cjs.map +0 -1
- package/lib/models/attributes/CompositeAttributeModel.cjs +0 -380
- package/lib/models/attributes/CompositeAttributeModel.cjs.map +0 -1
- package/lib/models/attributes/DatetimeAttributeModel.cjs +0 -465
- package/lib/models/attributes/DatetimeAttributeModel.cjs.map +0 -1
- package/lib/models/attributes/HelptextAttributeModel.cjs +0 -55
- package/lib/models/attributes/HelptextAttributeModel.cjs.map +0 -1
- package/lib/models/attributes/LabelAttributeModel.cjs +0 -41
- package/lib/models/attributes/LabelAttributeModel.cjs.map +0 -1
- package/lib/models/attributes/MemoAttributeModel.cjs +0 -49
- package/lib/models/attributes/MemoAttributeModel.cjs.map +0 -1
- package/lib/models/attributes/MoneyAttributeModel.cjs +0 -49
- package/lib/models/attributes/MoneyAttributeModel.cjs.map +0 -1
- package/lib/models/attributes/NumberAttributeModel.cjs +0 -201
- package/lib/models/attributes/NumberAttributeModel.cjs.map +0 -1
- package/lib/models/attributes/PasswordAttributeModel.cjs +0 -217
- package/lib/models/attributes/PasswordAttributeModel.cjs.map +0 -1
- package/lib/models/attributes/StringAttributeModel.cjs +0 -284
- package/lib/models/attributes/StringAttributeModel.cjs.map +0 -1
- package/lib/models/attributes/UploadAttributeModel.cjs +0 -223
- package/lib/models/attributes/UploadAttributeModel.cjs.map +0 -1
- package/lib/models/attributes/XMLAttributeModel.cjs +0 -53
- package/lib/models/attributes/XMLAttributeModel.cjs.map +0 -1
- package/lib/models/attributes/_createAttribute.cjs +0 -93
- package/lib/models/attributes/_createAttribute.cjs.map +0 -1
- package/lib/models/attributes/input-constraints/BSNConstraint.cjs +0 -72
- package/lib/models/attributes/input-constraints/BSNConstraint.cjs.map +0 -1
- package/lib/models/attributes/input-constraints/ConstraintCollection.cjs +0 -50
- package/lib/models/attributes/input-constraints/ConstraintCollection.cjs.map +0 -1
- package/lib/models/attributes/input-constraints/ConstraintModel.cjs +0 -74
- package/lib/models/attributes/input-constraints/ConstraintModel.cjs.map +0 -1
- package/lib/models/attributes/input-constraints/DateBoundaryConstraint.cjs +0 -205
- package/lib/models/attributes/input-constraints/DateBoundaryConstraint.cjs.map +0 -1
- package/lib/models/attributes/input-constraints/DateTimeDateFormatConstraint.cjs +0 -76
- package/lib/models/attributes/input-constraints/DateTimeDateFormatConstraint.cjs.map +0 -1
- package/lib/models/attributes/input-constraints/DateTimeTimeFormatConstraint.cjs +0 -76
- package/lib/models/attributes/input-constraints/DateTimeTimeFormatConstraint.cjs.map +0 -1
- package/lib/models/attributes/input-constraints/DatetimeFormatConstraint.cjs +0 -122
- package/lib/models/attributes/input-constraints/DatetimeFormatConstraint.cjs.map +0 -1
- package/lib/models/attributes/input-constraints/FileExtensionConstraint.cjs +0 -66
- package/lib/models/attributes/input-constraints/FileExtensionConstraint.cjs.map +0 -1
- package/lib/models/attributes/input-constraints/FileSizeConstraint.cjs +0 -98
- package/lib/models/attributes/input-constraints/FileSizeConstraint.cjs.map +0 -1
- package/lib/models/attributes/input-constraints/IBANConstraint.cjs +0 -49
- package/lib/models/attributes/input-constraints/IBANConstraint.cjs.map +0 -1
- package/lib/models/attributes/input-constraints/MandatoryConstraint.cjs +0 -53
- package/lib/models/attributes/input-constraints/MandatoryConstraint.cjs.map +0 -1
- package/lib/models/attributes/input-constraints/MandatoryRangeConstraint.cjs +0 -85
- package/lib/models/attributes/input-constraints/MandatoryRangeConstraint.cjs.map +0 -1
- package/lib/models/attributes/input-constraints/NumberBoundaryConstraint.cjs +0 -177
- package/lib/models/attributes/input-constraints/NumberBoundaryConstraint.cjs.map +0 -1
- package/lib/models/attributes/input-constraints/NumberFormatConstraint.cjs +0 -132
- package/lib/models/attributes/input-constraints/NumberFormatConstraint.cjs.map +0 -1
- package/lib/models/attributes/input-constraints/NumberGroupingConstraint.cjs +0 -126
- package/lib/models/attributes/input-constraints/NumberGroupingConstraint.cjs.map +0 -1
- package/lib/models/attributes/input-constraints/PasswordConfirmConstraint.cjs +0 -72
- package/lib/models/attributes/input-constraints/PasswordConfirmConstraint.cjs.map +0 -1
- package/lib/models/attributes/input-constraints/PasswordLowerAndUpperCaseConstraint.cjs +0 -47
- package/lib/models/attributes/input-constraints/PasswordLowerAndUpperCaseConstraint.cjs.map +0 -1
- package/lib/models/attributes/input-constraints/PasswordMinNumericCharactersConstraint.cjs +0 -64
- package/lib/models/attributes/input-constraints/PasswordMinNumericCharactersConstraint.cjs.map +0 -1
- package/lib/models/attributes/input-constraints/PasswordMinSpecialCharactersConstraint.cjs +0 -64
- package/lib/models/attributes/input-constraints/PasswordMinSpecialCharactersConstraint.cjs.map +0 -1
- package/lib/models/attributes/input-constraints/PasswordThreeConsecutiveCharactersNotAllowedConstraint.cjs +0 -78
- package/lib/models/attributes/input-constraints/PasswordThreeConsecutiveCharactersNotAllowedConstraint.cjs.map +0 -1
- package/lib/models/attributes/input-constraints/RangeConstraint.cjs +0 -143
- package/lib/models/attributes/input-constraints/RangeConstraint.cjs.map +0 -1
- package/lib/models/attributes/input-constraints/RegexConstraint.cjs +0 -67
- package/lib/models/attributes/input-constraints/RegexConstraint.cjs.map +0 -1
- package/lib/models/attributes/input-constraints/StringLengthConstraint.cjs +0 -178
- package/lib/models/attributes/input-constraints/StringLengthConstraint.cjs.map +0 -1
- package/lib/models/attributes/input-constraints/XMLConstraint.cjs +0 -62
- package/lib/models/attributes/input-constraints/XMLConstraint.cjs.map +0 -1
- package/lib/models/attributes/layouthint-rules/BaseLayoutHintRule.cjs +0 -66
- package/lib/models/attributes/layouthint-rules/BaseLayoutHintRule.cjs.map +0 -1
- package/lib/models/attributes/layouthint-rules/DependentAttribute.cjs +0 -200
- package/lib/models/attributes/layouthint-rules/DependentAttribute.cjs.map +0 -1
- package/lib/models/attributes/layouthint-rules/LayoutHintRuleCollection.cjs +0 -88
- package/lib/models/attributes/layouthint-rules/LayoutHintRuleCollection.cjs.map +0 -1
- package/lib/models/attributes/layouthint-rules/RemainingTotalUploadSize.cjs +0 -51
- package/lib/models/attributes/layouthint-rules/RemainingTotalUploadSize.cjs.map +0 -1
- package/lib/models/base/BaseCollection.cjs +0 -186
- package/lib/models/base/BaseCollection.cjs.map +0 -1
- package/lib/models/base/BaseModel.cjs +0 -149
- package/lib/models/base/BaseModel.cjs.map +0 -1
- package/lib/models/base/ResourceCollection.cjs +0 -41
- package/lib/models/base/ResourceCollection.cjs.map +0 -1
- package/lib/models/base/ResourceModel.cjs +0 -209
- package/lib/models/base/ResourceModel.cjs.map +0 -1
- package/lib/models/caseview/CaseViewModel.cjs +0 -163
- package/lib/models/caseview/CaseViewModel.cjs.map +0 -1
- package/lib/models/concepts/BusinessScenarioModel.cjs +0 -122
- package/lib/models/concepts/BusinessScenarioModel.cjs.map +0 -1
- package/lib/models/concepts/ConceptDetailModel.cjs +0 -281
- package/lib/models/concepts/ConceptDetailModel.cjs.map +0 -1
- package/lib/models/concepts/ConceptIndexModel.cjs +0 -150
- package/lib/models/concepts/ConceptIndexModel.cjs.map +0 -1
- package/lib/models/concepts/ConceptLinkModel.cjs +0 -152
- package/lib/models/concepts/ConceptLinkModel.cjs.map +0 -1
- package/lib/models/concepts/ConceptRelationCollection.cjs +0 -82
- package/lib/models/concepts/ConceptRelationCollection.cjs.map +0 -1
- package/lib/models/concepts/ConceptRelationModel.cjs +0 -115
- package/lib/models/concepts/ConceptRelationModel.cjs.map +0 -1
- package/lib/models/concepts/ConceptTypeDetailModel.cjs +0 -128
- package/lib/models/concepts/ConceptTypeDetailModel.cjs.map +0 -1
- package/lib/models/concepts/SourceReferenceCollection.cjs +0 -35
- package/lib/models/concepts/SourceReferenceCollection.cjs.map +0 -1
- package/lib/models/concepts/SourceReferenceModel.cjs +0 -73
- package/lib/models/concepts/SourceReferenceModel.cjs.map +0 -1
- package/lib/models/content/ContentIndexModel.cjs +0 -142
- package/lib/models/content/ContentIndexModel.cjs.map +0 -1
- package/lib/models/content/ContentLinkModel.cjs +0 -193
- package/lib/models/content/ContentLinkModel.cjs.map +0 -1
- package/lib/models/content/ContentModel.cjs +0 -207
- package/lib/models/content/ContentModel.cjs.map +0 -1
- package/lib/models/content/ContentTOCModel.cjs +0 -163
- package/lib/models/content/ContentTOCModel.cjs.map +0 -1
- package/lib/models/content/ContentTypeModel.cjs +0 -74
- package/lib/models/content/ContentTypeModel.cjs.map +0 -1
- package/lib/models/content/SectionModel.cjs +0 -180
- package/lib/models/content/SectionModel.cjs.map +0 -1
- package/lib/models/content/SubSectionModel.cjs +0 -167
- package/lib/models/content/SubSectionModel.cjs.map +0 -1
- package/lib/models/contentconfiguration/ContentConfiguration.cjs +0 -75
- package/lib/models/contentconfiguration/ContentConfiguration.cjs.map +0 -1
- package/lib/models/contentconfiguration/ContentConfigurationElements.cjs +0 -143
- package/lib/models/contentconfiguration/ContentConfigurationElements.cjs.map +0 -1
- package/lib/models/contentconfiguration/ContentConfigurationEndResults.cjs +0 -49
- package/lib/models/contentconfiguration/ContentConfigurationEndResults.cjs.map +0 -1
- package/lib/models/contentconfiguration/ContentConfigurationQuestions.cjs +0 -54
- package/lib/models/contentconfiguration/ContentConfigurationQuestions.cjs.map +0 -1
- package/lib/models/contentconfiguration/ContentConfigurationResults.cjs +0 -103
- package/lib/models/contentconfiguration/ContentConfigurationResults.cjs.map +0 -1
- package/lib/models/detail/DetailModel.cjs +0 -219
- package/lib/models/detail/DetailModel.cjs.map +0 -1
- package/lib/models/error/ErrorCollection.cjs +0 -111
- package/lib/models/error/ErrorCollection.cjs.map +0 -1
- package/lib/models/error/ErrorModel.cjs +0 -81
- package/lib/models/error/ErrorModel.cjs.map +0 -1
- package/lib/models/error/ErrorResponse.cjs +0 -304
- package/lib/models/error/ErrorResponse.cjs.map +0 -1
- package/lib/models/filters/AssignmentFilterModel.cjs +0 -161
- package/lib/models/filters/AssignmentFilterModel.cjs.map +0 -1
- package/lib/models/filters/BaseFilterModel.cjs +0 -210
- package/lib/models/filters/BaseFilterModel.cjs.map +0 -1
- package/lib/models/filters/ConceptIndexFilterModel.cjs +0 -36
- package/lib/models/filters/ConceptIndexFilterModel.cjs.map +0 -1
- package/lib/models/filters/FilterCollection.cjs +0 -155
- package/lib/models/filters/FilterCollection.cjs.map +0 -1
- package/lib/models/filters/FilterModel.cjs +0 -13
- package/lib/models/filters/FilterModel.cjs.map +0 -1
- package/lib/models/filters/RangeFilterModel.cjs +0 -44
- package/lib/models/filters/RangeFilterModel.cjs.map +0 -1
- package/lib/models/filters/StringFilterModel.cjs +0 -147
- package/lib/models/filters/StringFilterModel.cjs.map +0 -1
- package/lib/models/form/FormModel.cjs +0 -1038
- package/lib/models/form/FormModel.cjs.map +0 -1
- package/lib/models/form/FormObjectModel.cjs +0 -474
- package/lib/models/form/FormObjectModel.cjs.map +0 -1
- package/lib/models/grouping/GroupingModel.cjs +0 -191
- package/lib/models/grouping/GroupingModel.cjs.map +0 -1
- package/lib/models/href/Href.cjs +0 -496
- package/lib/models/href/Href.cjs.map +0 -1
- package/lib/models/href/ListHref.cjs +0 -135
- package/lib/models/href/ListHref.cjs.map +0 -1
- package/lib/models/index.cjs +0 -687
- package/lib/models/index.cjs.map +0 -1
- package/lib/models/layouthint/LayoutHintCollection.cjs +0 -118
- package/lib/models/layouthint/LayoutHintCollection.cjs.map +0 -1
- package/lib/models/links/LinkCollection.cjs +0 -171
- package/lib/models/links/LinkCollection.cjs.map +0 -1
- package/lib/models/links/LinkModel.cjs +0 -216
- package/lib/models/links/LinkModel.cjs.map +0 -1
- package/lib/models/links/normalizeLinkJSON.cjs +0 -107
- package/lib/models/links/normalizeLinkJSON.cjs.map +0 -1
- package/lib/models/list/ListDetailModel.cjs +0 -266
- package/lib/models/list/ListDetailModel.cjs.map +0 -1
- package/lib/models/list/ListHeaderModel.cjs +0 -95
- package/lib/models/list/ListHeaderModel.cjs.map +0 -1
- package/lib/models/list/ListItemCollection.cjs +0 -67
- package/lib/models/list/ListItemCollection.cjs.map +0 -1
- package/lib/models/list/ListItemModel.cjs +0 -95
- package/lib/models/list/ListItemModel.cjs.map +0 -1
- package/lib/models/list/ListModel.cjs +0 -385
- package/lib/models/list/ListModel.cjs.map +0 -1
- package/lib/models/lookup/LookupOptionCollection.cjs +0 -45
- package/lib/models/lookup/LookupOptionCollection.cjs.map +0 -1
- package/lib/models/lookup/LookupOptionsModel.cjs +0 -71
- package/lib/models/lookup/LookupOptionsModel.cjs.map +0 -1
- package/lib/models/modelcatalog/ModelCatalogModel.cjs +0 -69
- package/lib/models/modelcatalog/ModelCatalogModel.cjs.map +0 -1
- package/lib/models/modelcatalog/ModelCategoryCollection.cjs +0 -24
- package/lib/models/modelcatalog/ModelCategoryCollection.cjs.map +0 -1
- package/lib/models/modelcatalog/ModelCategoryModel.cjs +0 -60
- package/lib/models/modelcatalog/ModelCategoryModel.cjs.map +0 -1
- package/lib/models/paging/PagesizeModel.cjs +0 -50
- package/lib/models/paging/PagesizeModel.cjs.map +0 -1
- package/lib/models/paging/PagingModel.cjs +0 -95
- package/lib/models/paging/PagingModel.cjs.map +0 -1
- package/lib/models/panels/GroupingPanelModel.cjs +0 -143
- package/lib/models/panels/GroupingPanelModel.cjs.map +0 -1
- package/lib/models/parameter/Parameter.cjs +0 -108
- package/lib/models/parameter/Parameter.cjs.map +0 -1
- package/lib/models/process/ProcessStatusSettingsModel.cjs +0 -85
- package/lib/models/process/ProcessStatusSettingsModel.cjs.map +0 -1
- package/lib/models/resolveModel.cjs +0 -57
- package/lib/models/resolveModel.cjs.map +0 -1
- package/lib/models/search/CaseSearchModel.cjs +0 -47
- package/lib/models/search/CaseSearchModel.cjs.map +0 -1
- package/lib/models/sorting/SortOptionModel.cjs +0 -106
- package/lib/models/sorting/SortOptionModel.cjs.map +0 -1
- package/lib/models/sorting/SortingModel.cjs +0 -112
- package/lib/models/sorting/SortingModel.cjs.map +0 -1
- package/lib/models/tab/TabModel.cjs +0 -143
- package/lib/models/tab/TabModel.cjs.map +0 -1
- package/lib/models/taskgroup/TaskGroupCollection.cjs +0 -21
- package/lib/models/taskgroup/TaskGroupCollection.cjs.map +0 -1
- package/lib/models/taskgroup/TaskGroupModel.cjs +0 -87
- package/lib/models/taskgroup/TaskGroupModel.cjs.map +0 -1
- package/lib/models/types.cjs +0 -2
- package/lib/models/types.cjs.map +0 -1
- package/lib/models/user/UserModel.cjs +0 -59
- package/lib/models/user/UserModel.cjs.map +0 -1
- package/lib/models/user/UserProfileModel.cjs +0 -55
- package/lib/models/user/UserProfileModel.cjs.map +0 -1
- package/lib/models/user/UserServicesModel.cjs +0 -126
- package/lib/models/user/UserServicesModel.cjs.map +0 -1
- package/lib/modularui/Authenticate.cjs +0 -183
- package/lib/modularui/Authenticate.cjs.map +0 -1
- package/lib/modularui/CaptchaRequest.cjs +0 -71
- package/lib/modularui/CaptchaRequest.cjs.map +0 -1
- package/lib/modularui/ModularUIError.cjs +0 -30
- package/lib/modularui/ModularUIError.cjs.map +0 -1
- package/lib/modularui/ModularUIRequest.cjs +0 -716
- package/lib/modularui/ModularUIRequest.cjs.map +0 -1
- package/lib/modularui/ModularUIResponse.cjs +0 -147
- package/lib/modularui/ModularUIResponse.cjs.map +0 -1
- package/lib/modularui/UploadRequest.cjs +0 -103
- package/lib/modularui/UploadRequest.cjs.map +0 -1
- package/lib/modularui/index.cjs +0 -42
- package/lib/modularui/index.cjs.map +0 -1
- package/lib/modularui/types.cjs +0 -2
- package/lib/modularui/types.cjs.map +0 -1
- package/lib/react/ErrorBoundary.cjs +0 -56
- package/lib/react/ErrorBoundary.cjs.map +0 -1
- package/lib/react/ErrorBoundaryFallback.cjs +0 -41
- package/lib/react/ErrorBoundaryFallback.cjs.map +0 -1
- package/lib/react/index.cjs +0 -29
- package/lib/react/index.cjs.map +0 -1
- package/lib/react/utils.cjs +0 -32
- package/lib/react/utils.cjs.map +0 -1
- package/lib/react-client/Init.cjs +0 -44
- package/lib/react-client/Init.cjs.map +0 -1
- package/lib/react-client/client.cjs +0 -216
- package/lib/react-client/client.cjs.map +0 -1
- package/lib/react-client/contextPath.cjs +0 -26
- package/lib/react-client/contextPath.cjs.map +0 -1
- package/lib/react-client/index.cjs +0 -40
- package/lib/react-client/index.cjs.map +0 -1
- package/lib/react-client/rehydrate.cjs +0 -73
- package/lib/react-client/rehydrate.cjs.map +0 -1
- package/lib/react-server/contextPath.cjs +0 -10
- package/lib/react-server/contextPath.cjs.map +0 -1
- package/lib/react-server/createSSRComplete.cjs +0 -61
- package/lib/react-server/createSSRComplete.cjs.map +0 -1
- package/lib/react-server/htmlpage.cjs +0 -54
- package/lib/react-server/htmlpage.cjs.map +0 -1
- package/lib/react-server/index.cjs +0 -82
- package/lib/react-server/index.cjs.map +0 -1
- package/lib/react-server/renderSSRComplete.cjs +0 -91
- package/lib/react-server/renderSSRComplete.cjs.map +0 -1
- package/lib/react-server/renderSSRMinimal.cjs +0 -47
- package/lib/react-server/renderSSRMinimal.cjs.map +0 -1
- package/lib/react-server/requestInformation.cjs +0 -46
- package/lib/react-server/requestInformation.cjs.map +0 -1
- package/lib/react-server/serverNoSSR.cjs +0 -63
- package/lib/react-server/serverNoSSR.cjs.map +0 -1
- package/lib/react-server/serverSSR.cjs +0 -51
- package/lib/react-server/serverSSR.cjs.map +0 -1
- package/lib/react-server/serverUtil.cjs +0 -218
- package/lib/react-server/serverUtil.cjs.map +0 -1
- package/lib/react-theme/ThemeProvider.cjs +0 -33
- package/lib/react-theme/ThemeProvider.cjs.map +0 -1
- package/lib/react-theme/createTheme.cjs +0 -115
- package/lib/react-theme/createTheme.cjs.map +0 -1
- package/lib/react-theme/index.cjs +0 -110
- package/lib/react-theme/index.cjs.map +0 -1
- package/lib/react-theme/types.cjs +0 -2
- package/lib/react-theme/types.cjs.map +0 -1
- package/lib/react-theme/useTheme.cjs +0 -15
- package/lib/react-theme/useTheme.cjs.map +0 -1
- package/lib/react-theme/utils/background.cjs +0 -21
- package/lib/react-theme/utils/background.cjs.map +0 -1
- package/lib/react-theme/utils/colors.cjs +0 -45
- package/lib/react-theme/utils/colors.cjs.map +0 -1
- package/lib/react-theme/utils/contrast.cjs +0 -95
- package/lib/react-theme/utils/contrast.cjs.map +0 -1
- package/lib/react-theme/utils/corners.cjs +0 -34
- package/lib/react-theme/utils/corners.cjs.map +0 -1
- package/lib/react-theme/utils/spacers.cjs +0 -89
- package/lib/react-theme/utils/spacers.cjs.map +0 -1
- package/lib/react-theme/utils/themeProps.cjs +0 -75
- package/lib/react-theme/utils/themeProps.cjs.map +0 -1
- package/lib/redux/_i18n/I18nActions.cjs +0 -37
- package/lib/redux/_i18n/I18nActions.cjs.map +0 -1
- package/lib/redux/_i18n/I18nReducer.cjs +0 -78
- package/lib/redux/_i18n/I18nReducer.cjs.map +0 -1
- package/lib/redux/_i18n/index.cjs +0 -29
- package/lib/redux/_i18n/index.cjs.map +0 -1
- package/lib/redux/_i18n/types.cjs +0 -2
- package/lib/redux/_i18n/types.cjs.map +0 -1
- package/lib/redux/_modularui/ModularUIActions.cjs +0 -168
- package/lib/redux/_modularui/ModularUIActions.cjs.map +0 -1
- package/lib/redux/_modularui/ModularUIConnector.cjs +0 -123
- package/lib/redux/_modularui/ModularUIConnector.cjs.map +0 -1
- package/lib/redux/_modularui/ModularUIMiddleware.cjs +0 -107
- package/lib/redux/_modularui/ModularUIMiddleware.cjs.map +0 -1
- package/lib/redux/_modularui/ModularUIReducer.cjs +0 -157
- package/lib/redux/_modularui/ModularUIReducer.cjs.map +0 -1
- package/lib/redux/_modularui/ModularUISelectors.cjs +0 -270
- package/lib/redux/_modularui/ModularUISelectors.cjs.map +0 -1
- package/lib/redux/_modularui/ModularUIUtils.cjs +0 -83
- package/lib/redux/_modularui/ModularUIUtils.cjs.map +0 -1
- package/lib/redux/_modularui/index.cjs +0 -86
- package/lib/redux/_modularui/index.cjs.map +0 -1
- package/lib/redux/_modularui/types.cjs +0 -2
- package/lib/redux/_modularui/types.cjs.map +0 -1
- package/lib/redux/_modularui/withModularUI.cjs +0 -41
- package/lib/redux/_modularui/withModularUI.cjs.map +0 -1
- package/lib/redux/_router/RouterActions.cjs +0 -67
- package/lib/redux/_router/RouterActions.cjs.map +0 -1
- package/lib/redux/_router/RouterConnectors.cjs +0 -42
- package/lib/redux/_router/RouterConnectors.cjs.map +0 -1
- package/lib/redux/_router/RouterMiddleware.cjs +0 -38
- package/lib/redux/_router/RouterMiddleware.cjs.map +0 -1
- package/lib/redux/_router/RouterReducer.cjs +0 -22
- package/lib/redux/_router/RouterReducer.cjs.map +0 -1
- package/lib/redux/_router/index.cjs +0 -51
- package/lib/redux/_router/index.cjs.map +0 -1
- package/lib/redux/_router/types.cjs +0 -2
- package/lib/redux/_router/types.cjs.map +0 -1
- package/lib/redux/actions/Application.cjs +0 -38
- package/lib/redux/actions/Application.cjs.map +0 -1
- package/lib/redux/actions/Authorization.cjs +0 -55
- package/lib/redux/actions/Authorization.cjs.map +0 -1
- package/lib/redux/actions/Error.cjs +0 -74
- package/lib/redux/actions/Error.cjs.map +0 -1
- package/lib/redux/actions/Form.cjs +0 -39
- package/lib/redux/actions/Form.cjs.map +0 -1
- package/lib/redux/actions/FormAttributeSet.cjs +0 -69
- package/lib/redux/actions/FormAttributeSet.cjs.map +0 -1
- package/lib/redux/actions/FormAttributeSetRepeatable.cjs +0 -35
- package/lib/redux/actions/FormAttributeSetRepeatable.cjs.map +0 -1
- package/lib/redux/actions/FormAutosave.cjs +0 -60
- package/lib/redux/actions/FormAutosave.cjs.map +0 -1
- package/lib/redux/actions/FormAutosubmit.cjs +0 -38
- package/lib/redux/actions/FormAutosubmit.cjs.map +0 -1
- package/lib/redux/actions/FormAutoupdate.cjs +0 -37
- package/lib/redux/actions/FormAutoupdate.cjs.map +0 -1
- package/lib/redux/actions/FormValidations.cjs +0 -51
- package/lib/redux/actions/FormValidations.cjs.map +0 -1
- package/lib/redux/actions/Modals.cjs +0 -22
- package/lib/redux/actions/Modals.cjs.map +0 -1
- package/lib/redux/actions/ModelCatalog.cjs +0 -15
- package/lib/redux/actions/ModelCatalog.cjs.map +0 -1
- package/lib/redux/actions/Notification.cjs +0 -76
- package/lib/redux/actions/Notification.cjs.map +0 -1
- package/lib/redux/actions/Preferences.cjs +0 -128
- package/lib/redux/actions/Preferences.cjs.map +0 -1
- package/lib/redux/actions/ProgressIndicator.cjs +0 -42
- package/lib/redux/actions/ProgressIndicator.cjs.map +0 -1
- package/lib/redux/actions/SignIn.cjs +0 -90
- package/lib/redux/actions/SignIn.cjs.map +0 -1
- package/lib/redux/actions/SignOut.cjs +0 -30
- package/lib/redux/actions/SignOut.cjs.map +0 -1
- package/lib/redux/actions/index.cjs +0 -183
- package/lib/redux/actions/index.cjs.map +0 -1
- package/lib/redux/connectors/Application.cjs +0 -14
- package/lib/redux/connectors/Application.cjs.map +0 -1
- package/lib/redux/connectors/Breadcrumb.cjs +0 -16
- package/lib/redux/connectors/Breadcrumb.cjs.map +0 -1
- package/lib/redux/connectors/CaseView.cjs +0 -19
- package/lib/redux/connectors/CaseView.cjs.map +0 -1
- package/lib/redux/connectors/ConceptDetail.cjs +0 -20
- package/lib/redux/connectors/ConceptDetail.cjs.map +0 -1
- package/lib/redux/connectors/ContentBrowser.cjs +0 -19
- package/lib/redux/connectors/ContentBrowser.cjs.map +0 -1
- package/lib/redux/connectors/ContentDetail.cjs +0 -20
- package/lib/redux/connectors/ContentDetail.cjs.map +0 -1
- package/lib/redux/connectors/ContentDetailSection.cjs +0 -22
- package/lib/redux/connectors/ContentDetailSection.cjs.map +0 -1
- package/lib/redux/connectors/Form.cjs +0 -43
- package/lib/redux/connectors/Form.cjs.map +0 -1
- package/lib/redux/connectors/FormAttributeSet.cjs +0 -27
- package/lib/redux/connectors/FormAttributeSet.cjs.map +0 -1
- package/lib/redux/connectors/ListDetail.cjs +0 -21
- package/lib/redux/connectors/ListDetail.cjs.map +0 -1
- package/lib/redux/connectors/Modal.cjs +0 -27
- package/lib/redux/connectors/Modal.cjs.map +0 -1
- package/lib/redux/connectors/ModelCatalog.cjs +0 -19
- package/lib/redux/connectors/ModelCatalog.cjs.map +0 -1
- package/lib/redux/connectors/Notification.cjs +0 -22
- package/lib/redux/connectors/Notification.cjs.map +0 -1
- package/lib/redux/connectors/PanelRenderer.cjs +0 -29
- package/lib/redux/connectors/PanelRenderer.cjs.map +0 -1
- package/lib/redux/connectors/Preferences.cjs +0 -29
- package/lib/redux/connectors/Preferences.cjs.map +0 -1
- package/lib/redux/connectors/Progress.cjs +0 -19
- package/lib/redux/connectors/Progress.cjs.map +0 -1
- package/lib/redux/connectors/ProgressIndicator.cjs +0 -19
- package/lib/redux/connectors/ProgressIndicator.cjs.map +0 -1
- package/lib/redux/connectors/QuickSearch.cjs +0 -27
- package/lib/redux/connectors/QuickSearch.cjs.map +0 -1
- package/lib/redux/connectors/SignIn.cjs +0 -24
- package/lib/redux/connectors/SignIn.cjs.map +0 -1
- package/lib/redux/connectors/SignOut.cjs +0 -20
- package/lib/redux/connectors/SignOut.cjs.map +0 -1
- package/lib/redux/connectors/Tab.cjs +0 -19
- package/lib/redux/connectors/Tab.cjs.map +0 -1
- package/lib/redux/connectors/index.cjs +0 -153
- package/lib/redux/connectors/index.cjs.map +0 -1
- package/lib/redux/index.cjs +0 -102
- package/lib/redux/index.cjs.map +0 -1
- package/lib/redux/reducers/AuthReducer.cjs +0 -59
- package/lib/redux/reducers/AuthReducer.cjs.map +0 -1
- package/lib/redux/reducers/ErrorReducer.cjs +0 -22
- package/lib/redux/reducers/ErrorReducer.cjs.map +0 -1
- package/lib/redux/reducers/ModalsReducer.cjs +0 -58
- package/lib/redux/reducers/ModalsReducer.cjs.map +0 -1
- package/lib/redux/reducers/ModelCatalogReducer.cjs +0 -34
- package/lib/redux/reducers/ModelCatalogReducer.cjs.map +0 -1
- package/lib/redux/reducers/NotificationReducer.cjs +0 -43
- package/lib/redux/reducers/NotificationReducer.cjs.map +0 -1
- package/lib/redux/reducers/PreferencesReducer.cjs +0 -30
- package/lib/redux/reducers/PreferencesReducer.cjs.map +0 -1
- package/lib/redux/reducers/ProgressIndicatorReducer.cjs +0 -55
- package/lib/redux/reducers/ProgressIndicatorReducer.cjs.map +0 -1
- package/lib/redux/reducers/createReducer.cjs +0 -33
- package/lib/redux/reducers/createReducer.cjs.map +0 -1
- package/lib/redux/reducers/index.cjs +0 -78
- package/lib/redux/reducers/index.cjs.map +0 -1
- package/lib/redux/selectors/i18n.cjs +0 -20
- package/lib/redux/selectors/i18n.cjs.map +0 -1
- package/lib/redux/selectors/index.cjs +0 -29
- package/lib/redux/selectors/index.cjs.map +0 -1
- package/lib/redux/selectors/modelcatalog.cjs +0 -14
- package/lib/redux/selectors/modelcatalog.cjs.map +0 -1
- package/lib/redux/store/beforeRenderHooks.cjs +0 -24
- package/lib/redux/store/beforeRenderHooks.cjs.map +0 -1
- package/lib/redux/store/configureStore.cjs +0 -42
- package/lib/redux/store/configureStore.cjs.map +0 -1
- package/lib/redux/types.cjs +0 -2
- package/lib/redux/types.cjs.map +0 -1
- package/lib/utils/browser/Cache.cjs +0 -151
- package/lib/utils/browser/Cache.cjs.map +0 -1
- package/lib/utils/browser/Cookies.cjs +0 -38
- package/lib/utils/browser/Cookies.cjs.map +0 -1
- package/lib/utils/datetime/DateTimeUtil.cjs +0 -648
- package/lib/utils/datetime/DateTimeUtil.cjs.map +0 -1
- package/lib/utils/fetch/serverFetch.cjs +0 -32
- package/lib/utils/fetch/serverFetch.cjs.map +0 -1
- package/lib/utils/fetch/types.cjs +0 -2
- package/lib/utils/fetch/types.cjs.map +0 -1
- package/lib/utils/fetch/universalFetch.cjs +0 -94
- package/lib/utils/fetch/universalFetch.cjs.map +0 -1
- package/lib/utils/fetch/xhr.cjs +0 -358
- package/lib/utils/fetch/xhr.cjs.map +0 -1
- package/lib/utils/helpers/checkResource.cjs +0 -46
- package/lib/utils/helpers/checkResource.cjs.map +0 -1
- package/lib/utils/helpers/createHash.cjs +0 -28
- package/lib/utils/helpers/createHash.cjs.map +0 -1
- package/lib/utils/helpers/createHref.cjs +0 -101
- package/lib/utils/helpers/createHref.cjs.map +0 -1
- package/lib/utils/helpers/createUUID.cjs +0 -18
- package/lib/utils/helpers/createUUID.cjs.map +0 -1
- package/lib/utils/helpers/index.cjs +0 -102
- package/lib/utils/helpers/index.cjs.map +0 -1
- package/lib/utils/helpers/objects.cjs +0 -36
- package/lib/utils/helpers/objects.cjs.map +0 -1
- package/lib/utils/helpers/repositoryResource.cjs +0 -26
- package/lib/utils/helpers/repositoryResource.cjs.map +0 -1
- package/lib/utils/helpers/sanitizeHtml.cjs +0 -44
- package/lib/utils/helpers/sanitizeHtml.cjs.map +0 -1
- package/lib/utils/helpers/text.cjs +0 -23
- package/lib/utils/helpers/text.cjs.map +0 -1
- package/lib/utils/index.cjs +0 -106
- package/lib/utils/index.cjs.map +0 -1
- package/lib/utils/number/DecimalFormat.cjs +0 -333
- package/lib/utils/number/DecimalFormat.cjs.map +0 -1
- package/lib/utils/number/formatValue.cjs +0 -47
- package/lib/utils/number/formatValue.cjs.map +0 -1
- package/lib/utils/number/parseNumbers.cjs +0 -70
- package/lib/utils/number/parseNumbers.cjs.map +0 -1
- package/models/package.json +0 -12
- package/modularui/package.json +0 -12
- package/react/package.json +0 -12
- package/react-client/package.json +0 -12
- package/react-server/package.json +0 -12
- package/react-theme/package.json +0 -12
- package/redux/package.json +0 -12
- package/tsconfig.json +0 -29
- package/utils/package.json +0 -12
- /package/lib/builder/{index.d.cts → index.d.ts} +0 -0
- /package/lib/builder/{mergeLayoutHintConfigurations.d.cts → mergeLayoutHintConfigurations.d.ts} +0 -0
- /package/lib/constants/{Constants.d.cts → Constants.d.ts} +0 -0
- /package/lib/constants/{LayoutHintConfig.d.cts → LayoutHintConfig.d.ts} +0 -0
- /package/lib/constants/{LayoutHints.d.cts → LayoutHints.d.ts} +0 -0
- /package/lib/constants/{Settings.d.cts → Settings.d.ts} +0 -0
- /package/lib/constants/{index.d.cts → index.d.ts} +0 -0
- /package/lib/exceptions/{ConfigurationException.d.cts → ConfigurationException.d.ts} +0 -0
- /package/lib/exceptions/{FetchException.d.cts → FetchException.d.ts} +0 -0
- /package/lib/exceptions/{IllegalArgumentException.d.cts → IllegalArgumentException.d.ts} +0 -0
- /package/lib/exceptions/{IllegalReturnException.d.cts → IllegalReturnException.d.ts} +0 -0
- /package/lib/exceptions/{IllegalStateException.d.cts → IllegalStateException.d.ts} +0 -0
- /package/lib/exceptions/{JsonParseException.d.cts → JsonParseException.d.ts} +0 -0
- /package/lib/exceptions/{MissingPropertyException.d.cts → MissingPropertyException.d.ts} +0 -0
- /package/lib/exceptions/{NetworkException.d.cts → NetworkException.d.ts} +0 -0
- /package/lib/exceptions/{NotAllowedUriException.d.cts → NotAllowedUriException.d.ts} +0 -0
- /package/lib/exceptions/{NotFoundException.d.cts → NotFoundException.d.ts} +0 -0
- /package/lib/exceptions/{ServerRequestException.d.cts → ServerRequestException.d.ts} +0 -0
- /package/lib/exceptions/{ThemePropertyException.d.cts → ThemePropertyException.d.ts} +0 -0
- /package/lib/exceptions/{TimeoutException.d.cts → TimeoutException.d.ts} +0 -0
- /package/lib/exceptions/{UnauthorizedException.d.cts → UnauthorizedException.d.ts} +0 -0
- /package/lib/exceptions/{UnsupportedOperationException.d.cts → UnsupportedOperationException.d.ts} +0 -0
- /package/lib/exceptions/{index.d.cts → index.d.ts} +0 -0
- /package/lib/hooks/{index.d.cts → index.d.ts} +0 -0
- /package/lib/hooks/{useAllFormsOnModel.d.cts → useAllFormsOnModel.d.ts} +0 -0
- /package/lib/hooks/{useAuthentication.d.cts → useAuthentication.d.ts} +0 -0
- /package/lib/hooks/{useContent.d.cts → useContent.d.ts} +0 -0
- /package/lib/hooks/{useDeepCompareEffect.d.cts → useDeepCompareEffect.d.ts} +0 -0
- /package/lib/hooks/{useForm.d.cts → useForm.d.ts} +0 -0
- /package/lib/hooks/{useI18n.d.cts → useI18n.d.ts} +0 -0
- /package/lib/hooks/{useModal.d.cts → useModal.d.ts} +0 -0
- /package/lib/hooks/{useModelCatalog.d.cts → useModelCatalog.d.ts} +0 -0
- /package/lib/hooks/{useModels.d.cts → useModels.d.ts} +0 -0
- /package/lib/hooks/{useModularUI.d.cts → useModularUI.d.ts} +0 -0
- /package/lib/hooks/{useModularUIBasic.d.cts → useModularUIBasic.d.ts} +0 -0
- /package/lib/hooks/{useModularUIModel.d.cts → useModularUIModel.d.ts} +0 -0
- /package/lib/hooks/{useModularUIRequest.d.cts → useModularUIRequest.d.ts} +0 -0
- /package/lib/hooks/{useNotification.d.cts → useNotification.d.ts} +0 -0
- /package/lib/hooks/{usePreference.d.cts → usePreference.d.ts} +0 -0
- /package/lib/hooks/{useProgressIndicator.d.cts → useProgressIndicator.d.ts} +0 -0
- /package/lib/hooks/{useRouter.d.cts → useRouter.d.ts} +0 -0
- /package/lib/i18n/{Locale.d.cts → Locale.d.ts} +0 -0
- /package/lib/i18n/{Locales.d.cts → Locales.d.ts} +0 -0
- /package/lib/i18n/{Message.d.cts → Message.d.ts} +0 -0
- /package/lib/i18n/{index.d.cts → index.d.ts} +0 -0
- /package/lib/i18n/{languages.d.cts → languages.d.ts} +0 -0
- /package/lib/i18n/translations/{beinformed_error_messages_en.nl.d.cts → beinformed_error_messages_en.nl.d.ts} +0 -0
- /package/lib/i18n/translations/{beinformed_error_messages_nl.nl.d.cts → beinformed_error_messages_nl.nl.d.ts} +0 -0
- /package/lib/i18n/{types.d.cts → types.d.ts} +0 -0
- /package/lib/i18n/{withMessage.d.cts → withMessage.d.ts} +0 -0
- /package/lib/{index.d.cts → index.d.ts} +0 -0
- /package/lib/models/actions/{ActionCollection.d.cts → ActionCollection.d.ts} +0 -0
- /package/lib/models/actions/{ActionModel.d.cts → ActionModel.d.ts} +0 -0
- /package/lib/models/application/{ApplicationModel.d.cts → ApplicationModel.d.ts} +0 -0
- /package/lib/models/attributes/{AttributeCollection.d.cts → AttributeCollection.d.ts} +0 -0
- /package/lib/models/attributes/{AttributeContent.d.cts → AttributeContent.d.ts} +0 -0
- /package/lib/models/attributes/{AttributeDataHelper.d.cts → AttributeDataHelper.d.ts} +0 -0
- /package/lib/models/attributes/{AttributeModel.d.cts → AttributeModel.d.ts} +0 -0
- /package/lib/models/attributes/{AttributeSetModel.d.cts → AttributeSetModel.d.ts} +0 -0
- /package/lib/models/attributes/{BooleanAttributeModel.d.cts → BooleanAttributeModel.d.ts} +0 -0
- /package/lib/models/attributes/{CaptchaAttributeModel.d.cts → CaptchaAttributeModel.d.ts} +0 -0
- /package/lib/models/attributes/{ChoiceAttributeModel.d.cts → ChoiceAttributeModel.d.ts} +0 -0
- /package/lib/models/attributes/{ChoiceAttributeOptionCollection.d.cts → ChoiceAttributeOptionCollection.d.ts} +0 -0
- /package/lib/models/attributes/{ChoiceAttributeOptionModel.d.cts → ChoiceAttributeOptionModel.d.ts} +0 -0
- /package/lib/models/attributes/{CompositeAttributeChildCollection.d.cts → CompositeAttributeChildCollection.d.ts} +0 -0
- /package/lib/models/attributes/{CompositeAttributeModel.d.cts → CompositeAttributeModel.d.ts} +0 -0
- /package/lib/models/attributes/{DatetimeAttributeModel.d.cts → DatetimeAttributeModel.d.ts} +0 -0
- /package/lib/models/attributes/{HelptextAttributeModel.d.cts → HelptextAttributeModel.d.ts} +0 -0
- /package/lib/models/attributes/{LabelAttributeModel.d.cts → LabelAttributeModel.d.ts} +0 -0
- /package/lib/models/attributes/{MemoAttributeModel.d.cts → MemoAttributeModel.d.ts} +0 -0
- /package/lib/models/attributes/{MoneyAttributeModel.d.cts → MoneyAttributeModel.d.ts} +0 -0
- /package/lib/models/attributes/{NumberAttributeModel.d.cts → NumberAttributeModel.d.ts} +0 -0
- /package/lib/models/attributes/{PasswordAttributeModel.d.cts → PasswordAttributeModel.d.ts} +0 -0
- /package/lib/models/attributes/{StringAttributeModel.d.cts → StringAttributeModel.d.ts} +0 -0
- /package/lib/models/attributes/{UploadAttributeModel.d.cts → UploadAttributeModel.d.ts} +0 -0
- /package/lib/models/attributes/{XMLAttributeModel.d.cts → XMLAttributeModel.d.ts} +0 -0
- /package/lib/models/attributes/{_createAttribute.d.cts → _createAttribute.d.ts} +0 -0
- /package/lib/models/attributes/input-constraints/{BSNConstraint.d.cts → BSNConstraint.d.ts} +0 -0
- /package/lib/models/attributes/input-constraints/{ConstraintCollection.d.cts → ConstraintCollection.d.ts} +0 -0
- /package/lib/models/attributes/input-constraints/{ConstraintModel.d.cts → ConstraintModel.d.ts} +0 -0
- /package/lib/models/attributes/input-constraints/{DateBoundaryConstraint.d.cts → DateBoundaryConstraint.d.ts} +0 -0
- /package/lib/models/attributes/input-constraints/{DateTimeDateFormatConstraint.d.cts → DateTimeDateFormatConstraint.d.ts} +0 -0
- /package/lib/models/attributes/input-constraints/{DateTimeTimeFormatConstraint.d.cts → DateTimeTimeFormatConstraint.d.ts} +0 -0
- /package/lib/models/attributes/input-constraints/{DatetimeFormatConstraint.d.cts → DatetimeFormatConstraint.d.ts} +0 -0
- /package/lib/models/attributes/input-constraints/{FileExtensionConstraint.d.cts → FileExtensionConstraint.d.ts} +0 -0
- /package/lib/models/attributes/input-constraints/{FileSizeConstraint.d.cts → FileSizeConstraint.d.ts} +0 -0
- /package/lib/models/attributes/input-constraints/{IBANConstraint.d.cts → IBANConstraint.d.ts} +0 -0
- /package/lib/models/attributes/input-constraints/{MandatoryConstraint.d.cts → MandatoryConstraint.d.ts} +0 -0
- /package/lib/models/attributes/input-constraints/{MandatoryRangeConstraint.d.cts → MandatoryRangeConstraint.d.ts} +0 -0
- /package/lib/models/attributes/input-constraints/{NumberBoundaryConstraint.d.cts → NumberBoundaryConstraint.d.ts} +0 -0
- /package/lib/models/attributes/input-constraints/{NumberFormatConstraint.d.cts → NumberFormatConstraint.d.ts} +0 -0
- /package/lib/models/attributes/input-constraints/{NumberGroupingConstraint.d.cts → NumberGroupingConstraint.d.ts} +0 -0
- /package/lib/models/attributes/input-constraints/{PasswordConfirmConstraint.d.cts → PasswordConfirmConstraint.d.ts} +0 -0
- /package/lib/models/attributes/input-constraints/{PasswordLowerAndUpperCaseConstraint.d.cts → PasswordLowerAndUpperCaseConstraint.d.ts} +0 -0
- /package/lib/models/attributes/input-constraints/{PasswordMinNumericCharactersConstraint.d.cts → PasswordMinNumericCharactersConstraint.d.ts} +0 -0
- /package/lib/models/attributes/input-constraints/{PasswordMinSpecialCharactersConstraint.d.cts → PasswordMinSpecialCharactersConstraint.d.ts} +0 -0
- /package/lib/models/attributes/input-constraints/{PasswordThreeConsecutiveCharactersNotAllowedConstraint.d.cts → PasswordThreeConsecutiveCharactersNotAllowedConstraint.d.ts} +0 -0
- /package/lib/models/attributes/input-constraints/{RangeConstraint.d.cts → RangeConstraint.d.ts} +0 -0
- /package/lib/models/attributes/input-constraints/{RegexConstraint.d.cts → RegexConstraint.d.ts} +0 -0
- /package/lib/models/attributes/input-constraints/{StringLengthConstraint.d.cts → StringLengthConstraint.d.ts} +0 -0
- /package/lib/models/attributes/input-constraints/{XMLConstraint.d.cts → XMLConstraint.d.ts} +0 -0
- /package/lib/models/attributes/layouthint-rules/{BaseLayoutHintRule.d.cts → BaseLayoutHintRule.d.ts} +0 -0
- /package/lib/models/attributes/layouthint-rules/{DependentAttribute.d.cts → DependentAttribute.d.ts} +0 -0
- /package/lib/models/attributes/layouthint-rules/{LayoutHintRuleCollection.d.cts → LayoutHintRuleCollection.d.ts} +0 -0
- /package/lib/models/attributes/layouthint-rules/{RemainingTotalUploadSize.d.cts → RemainingTotalUploadSize.d.ts} +0 -0
- /package/lib/models/base/{BaseCollection.d.cts → BaseCollection.d.ts} +0 -0
- /package/lib/models/base/{BaseModel.d.cts → BaseModel.d.ts} +0 -0
- /package/lib/models/base/{ResourceCollection.d.cts → ResourceCollection.d.ts} +0 -0
- /package/lib/models/base/{ResourceModel.d.cts → ResourceModel.d.ts} +0 -0
- /package/lib/models/caseview/{CaseViewModel.d.cts → CaseViewModel.d.ts} +0 -0
- /package/lib/models/concepts/{BusinessScenarioModel.d.cts → BusinessScenarioModel.d.ts} +0 -0
- /package/lib/models/concepts/{ConceptDetailModel.d.cts → ConceptDetailModel.d.ts} +0 -0
- /package/lib/models/concepts/{ConceptIndexModel.d.cts → ConceptIndexModel.d.ts} +0 -0
- /package/lib/models/concepts/{ConceptLinkModel.d.cts → ConceptLinkModel.d.ts} +0 -0
- /package/lib/models/concepts/{ConceptRelationCollection.d.cts → ConceptRelationCollection.d.ts} +0 -0
- /package/lib/models/concepts/{ConceptRelationModel.d.cts → ConceptRelationModel.d.ts} +0 -0
- /package/lib/models/concepts/{ConceptTypeDetailModel.d.cts → ConceptTypeDetailModel.d.ts} +0 -0
- /package/lib/models/concepts/{SourceReferenceCollection.d.cts → SourceReferenceCollection.d.ts} +0 -0
- /package/lib/models/concepts/{SourceReferenceModel.d.cts → SourceReferenceModel.d.ts} +0 -0
- /package/lib/models/content/{ContentIndexModel.d.cts → ContentIndexModel.d.ts} +0 -0
- /package/lib/models/content/{ContentLinkModel.d.cts → ContentLinkModel.d.ts} +0 -0
- /package/lib/models/content/{ContentModel.d.cts → ContentModel.d.ts} +0 -0
- /package/lib/models/content/{ContentTOCModel.d.cts → ContentTOCModel.d.ts} +0 -0
- /package/lib/models/content/{ContentTypeModel.d.cts → ContentTypeModel.d.ts} +0 -0
- /package/lib/models/content/{SectionModel.d.cts → SectionModel.d.ts} +0 -0
- /package/lib/models/content/{SubSectionModel.d.cts → SubSectionModel.d.ts} +0 -0
- /package/lib/models/contentconfiguration/{ContentConfiguration.d.cts → ContentConfiguration.d.ts} +0 -0
- /package/lib/models/contentconfiguration/{ContentConfigurationElements.d.cts → ContentConfigurationElements.d.ts} +0 -0
- /package/lib/models/contentconfiguration/{ContentConfigurationEndResults.d.cts → ContentConfigurationEndResults.d.ts} +0 -0
- /package/lib/models/contentconfiguration/{ContentConfigurationQuestions.d.cts → ContentConfigurationQuestions.d.ts} +0 -0
- /package/lib/models/contentconfiguration/{ContentConfigurationResults.d.cts → ContentConfigurationResults.d.ts} +0 -0
- /package/lib/models/detail/{DetailModel.d.cts → DetailModel.d.ts} +0 -0
- /package/lib/models/error/{ErrorCollection.d.cts → ErrorCollection.d.ts} +0 -0
- /package/lib/models/error/{ErrorModel.d.cts → ErrorModel.d.ts} +0 -0
- /package/lib/models/error/{ErrorResponse.d.cts → ErrorResponse.d.ts} +0 -0
- /package/lib/models/filters/{AssignmentFilterModel.d.cts → AssignmentFilterModel.d.ts} +0 -0
- /package/lib/models/filters/{BaseFilterModel.d.cts → BaseFilterModel.d.ts} +0 -0
- /package/lib/models/filters/{ConceptIndexFilterModel.d.cts → ConceptIndexFilterModel.d.ts} +0 -0
- /package/lib/models/filters/{FilterCollection.d.cts → FilterCollection.d.ts} +0 -0
- /package/lib/models/filters/{FilterModel.d.cts → FilterModel.d.ts} +0 -0
- /package/lib/models/filters/{RangeFilterModel.d.cts → RangeFilterModel.d.ts} +0 -0
- /package/lib/models/filters/{StringFilterModel.d.cts → StringFilterModel.d.ts} +0 -0
- /package/lib/models/form/{FormModel.d.cts → FormModel.d.ts} +0 -0
- /package/lib/models/form/{FormObjectModel.d.cts → FormObjectModel.d.ts} +0 -0
- /package/lib/models/grouping/{GroupingModel.d.cts → GroupingModel.d.ts} +0 -0
- /package/lib/models/href/{Href.d.cts → Href.d.ts} +0 -0
- /package/lib/models/href/{ListHref.d.cts → ListHref.d.ts} +0 -0
- /package/lib/models/{index.d.cts → index.d.ts} +0 -0
- /package/lib/models/layouthint/{LayoutHintCollection.d.cts → LayoutHintCollection.d.ts} +0 -0
- /package/lib/models/links/{LinkCollection.d.cts → LinkCollection.d.ts} +0 -0
- /package/lib/models/links/{LinkModel.d.cts → LinkModel.d.ts} +0 -0
- /package/lib/models/links/{normalizeLinkJSON.d.cts → normalizeLinkJSON.d.ts} +0 -0
- /package/lib/models/list/{ListDetailModel.d.cts → ListDetailModel.d.ts} +0 -0
- /package/lib/models/list/{ListHeaderModel.d.cts → ListHeaderModel.d.ts} +0 -0
- /package/lib/models/list/{ListItemCollection.d.cts → ListItemCollection.d.ts} +0 -0
- /package/lib/models/list/{ListItemModel.d.cts → ListItemModel.d.ts} +0 -0
- /package/lib/models/list/{ListModel.d.cts → ListModel.d.ts} +0 -0
- /package/lib/models/lookup/{LookupOptionCollection.d.cts → LookupOptionCollection.d.ts} +0 -0
- /package/lib/models/lookup/{LookupOptionsModel.d.cts → LookupOptionsModel.d.ts} +0 -0
- /package/lib/models/modelcatalog/{ModelCatalogModel.d.cts → ModelCatalogModel.d.ts} +0 -0
- /package/lib/models/modelcatalog/{ModelCategoryCollection.d.cts → ModelCategoryCollection.d.ts} +0 -0
- /package/lib/models/modelcatalog/{ModelCategoryModel.d.cts → ModelCategoryModel.d.ts} +0 -0
- /package/lib/models/paging/{PagesizeModel.d.cts → PagesizeModel.d.ts} +0 -0
- /package/lib/models/paging/{PagingModel.d.cts → PagingModel.d.ts} +0 -0
- /package/lib/models/panels/{GroupingPanelModel.d.cts → GroupingPanelModel.d.ts} +0 -0
- /package/lib/models/parameter/{Parameter.d.cts → Parameter.d.ts} +0 -0
- /package/lib/models/process/{ProcessStatusSettingsModel.d.cts → ProcessStatusSettingsModel.d.ts} +0 -0
- /package/lib/models/{resolveModel.d.cts → resolveModel.d.ts} +0 -0
- /package/lib/models/search/{CaseSearchModel.d.cts → CaseSearchModel.d.ts} +0 -0
- /package/lib/models/sorting/{SortOptionModel.d.cts → SortOptionModel.d.ts} +0 -0
- /package/lib/models/sorting/{SortingModel.d.cts → SortingModel.d.ts} +0 -0
- /package/lib/models/tab/{TabModel.d.cts → TabModel.d.ts} +0 -0
- /package/lib/models/taskgroup/{TaskGroupCollection.d.cts → TaskGroupCollection.d.ts} +0 -0
- /package/lib/models/taskgroup/{TaskGroupModel.d.cts → TaskGroupModel.d.ts} +0 -0
- /package/lib/models/{types.d.cts → types.d.ts} +0 -0
- /package/lib/models/user/{UserModel.d.cts → UserModel.d.ts} +0 -0
- /package/lib/models/user/{UserProfileModel.d.cts → UserProfileModel.d.ts} +0 -0
- /package/lib/models/user/{UserServicesModel.d.cts → UserServicesModel.d.ts} +0 -0
- /package/lib/modularui/{Authenticate.d.cts → Authenticate.d.ts} +0 -0
- /package/lib/modularui/{CaptchaRequest.d.cts → CaptchaRequest.d.ts} +0 -0
- /package/lib/modularui/{ModularUIError.d.cts → ModularUIError.d.ts} +0 -0
- /package/lib/modularui/{ModularUIRequest.d.cts → ModularUIRequest.d.ts} +0 -0
- /package/lib/modularui/{ModularUIResponse.d.cts → ModularUIResponse.d.ts} +0 -0
- /package/lib/modularui/{UploadRequest.d.cts → UploadRequest.d.ts} +0 -0
- /package/lib/modularui/{index.d.cts → index.d.ts} +0 -0
- /package/lib/modularui/{types.d.cts → types.d.ts} +0 -0
- /package/lib/react/{ErrorBoundary.d.cts → ErrorBoundary.d.ts} +0 -0
- /package/lib/react/{ErrorBoundaryFallback.d.cts → ErrorBoundaryFallback.d.ts} +0 -0
- /package/lib/react/{index.d.cts → index.d.ts} +0 -0
- /package/lib/react/{utils.d.cts → utils.d.ts} +0 -0
- /package/lib/react-client/{Init.d.cts → Init.d.ts} +0 -0
- /package/lib/react-client/{client.d.cts → client.d.ts} +0 -0
- /package/lib/react-client/{contextPath.d.cts → contextPath.d.ts} +0 -0
- /package/lib/react-client/{index.d.cts → index.d.ts} +0 -0
- /package/lib/react-client/{rehydrate.d.cts → rehydrate.d.ts} +0 -0
- /package/lib/react-server/{contextPath.d.cts → contextPath.d.ts} +0 -0
- /package/lib/react-server/{createSSRComplete.d.cts → createSSRComplete.d.ts} +0 -0
- /package/lib/react-server/{htmlpage.d.cts → htmlpage.d.ts} +0 -0
- /package/lib/react-server/{index.d.cts → index.d.ts} +0 -0
- /package/lib/react-server/{renderSSRComplete.d.cts → renderSSRComplete.d.ts} +0 -0
- /package/lib/react-server/{renderSSRMinimal.d.cts → renderSSRMinimal.d.ts} +0 -0
- /package/lib/react-server/{requestInformation.d.cts → requestInformation.d.ts} +0 -0
- /package/lib/react-server/{serverNoSSR.d.cts → serverNoSSR.d.ts} +0 -0
- /package/lib/react-server/{serverSSR.d.cts → serverSSR.d.ts} +0 -0
- /package/lib/react-server/{serverUtil.d.cts → serverUtil.d.ts} +0 -0
- /package/lib/react-theme/{ThemeProvider.d.cts → ThemeProvider.d.ts} +0 -0
- /package/lib/react-theme/{createTheme.d.cts → createTheme.d.ts} +0 -0
- /package/lib/react-theme/{index.d.cts → index.d.ts} +0 -0
- /package/lib/react-theme/{types.d.cts → types.d.ts} +0 -0
- /package/lib/react-theme/{useTheme.d.cts → useTheme.d.ts} +0 -0
- /package/lib/react-theme/utils/{background.d.cts → background.d.ts} +0 -0
- /package/lib/react-theme/utils/{colors.d.cts → colors.d.ts} +0 -0
- /package/lib/react-theme/utils/{contrast.d.cts → contrast.d.ts} +0 -0
- /package/lib/react-theme/utils/{corners.d.cts → corners.d.ts} +0 -0
- /package/lib/react-theme/utils/{spacers.d.cts → spacers.d.ts} +0 -0
- /package/lib/react-theme/utils/{themeProps.d.cts → themeProps.d.ts} +0 -0
- /package/lib/redux/_i18n/{I18nActions.d.cts → I18nActions.d.ts} +0 -0
- /package/lib/redux/_i18n/{I18nReducer.d.cts → I18nReducer.d.ts} +0 -0
- /package/lib/redux/_i18n/{index.d.cts → index.d.ts} +0 -0
- /package/lib/redux/_i18n/{types.d.cts → types.d.ts} +0 -0
- /package/lib/redux/_modularui/{ModularUIActions.d.cts → ModularUIActions.d.ts} +0 -0
- /package/lib/redux/_modularui/{ModularUIConnector.d.cts → ModularUIConnector.d.ts} +0 -0
- /package/lib/redux/_modularui/{ModularUIMiddleware.d.cts → ModularUIMiddleware.d.ts} +0 -0
- /package/lib/redux/_modularui/{ModularUIReducer.d.cts → ModularUIReducer.d.ts} +0 -0
- /package/lib/redux/_modularui/{ModularUISelectors.d.cts → ModularUISelectors.d.ts} +0 -0
- /package/lib/redux/_modularui/{ModularUIUtils.d.cts → ModularUIUtils.d.ts} +0 -0
- /package/lib/redux/_modularui/{index.d.cts → index.d.ts} +0 -0
- /package/lib/redux/_modularui/{types.d.cts → types.d.ts} +0 -0
- /package/lib/redux/_modularui/{withModularUI.d.cts → withModularUI.d.ts} +0 -0
- /package/lib/redux/_router/{RouterActions.d.cts → RouterActions.d.ts} +0 -0
- /package/lib/redux/_router/{RouterConnectors.d.cts → RouterConnectors.d.ts} +0 -0
- /package/lib/redux/_router/{RouterMiddleware.d.cts → RouterMiddleware.d.ts} +0 -0
- /package/lib/redux/_router/{RouterReducer.d.cts → RouterReducer.d.ts} +0 -0
- /package/lib/redux/_router/{index.d.cts → index.d.ts} +0 -0
- /package/lib/redux/_router/{types.d.cts → types.d.ts} +0 -0
- /package/lib/redux/actions/{Application.d.cts → Application.d.ts} +0 -0
- /package/lib/redux/actions/{Authorization.d.cts → Authorization.d.ts} +0 -0
- /package/lib/redux/actions/{Error.d.cts → Error.d.ts} +0 -0
- /package/lib/redux/actions/{Form.d.cts → Form.d.ts} +0 -0
- /package/lib/redux/actions/{FormAttributeSet.d.cts → FormAttributeSet.d.ts} +0 -0
- /package/lib/redux/actions/{FormAttributeSetRepeatable.d.cts → FormAttributeSetRepeatable.d.ts} +0 -0
- /package/lib/redux/actions/{FormAutosave.d.cts → FormAutosave.d.ts} +0 -0
- /package/lib/redux/actions/{FormAutosubmit.d.cts → FormAutosubmit.d.ts} +0 -0
- /package/lib/redux/actions/{FormAutoupdate.d.cts → FormAutoupdate.d.ts} +0 -0
- /package/lib/redux/actions/{FormValidations.d.cts → FormValidations.d.ts} +0 -0
- /package/lib/redux/actions/{Modals.d.cts → Modals.d.ts} +0 -0
- /package/lib/redux/actions/{ModelCatalog.d.cts → ModelCatalog.d.ts} +0 -0
- /package/lib/redux/actions/{Notification.d.cts → Notification.d.ts} +0 -0
- /package/lib/redux/actions/{Preferences.d.cts → Preferences.d.ts} +0 -0
- /package/lib/redux/actions/{ProgressIndicator.d.cts → ProgressIndicator.d.ts} +0 -0
- /package/lib/redux/actions/{SignIn.d.cts → SignIn.d.ts} +0 -0
- /package/lib/redux/actions/{SignOut.d.cts → SignOut.d.ts} +0 -0
- /package/lib/redux/actions/{index.d.cts → index.d.ts} +0 -0
- /package/lib/redux/connectors/{Application.d.cts → Application.d.ts} +0 -0
- /package/lib/redux/connectors/{Breadcrumb.d.cts → Breadcrumb.d.ts} +0 -0
- /package/lib/redux/connectors/{CaseView.d.cts → CaseView.d.ts} +0 -0
- /package/lib/redux/connectors/{ConceptDetail.d.cts → ConceptDetail.d.ts} +0 -0
- /package/lib/redux/connectors/{ContentBrowser.d.cts → ContentBrowser.d.ts} +0 -0
- /package/lib/redux/connectors/{ContentDetail.d.cts → ContentDetail.d.ts} +0 -0
- /package/lib/redux/connectors/{ContentDetailSection.d.cts → ContentDetailSection.d.ts} +0 -0
- /package/lib/redux/connectors/{Form.d.cts → Form.d.ts} +0 -0
- /package/lib/redux/connectors/{FormAttributeSet.d.cts → FormAttributeSet.d.ts} +0 -0
- /package/lib/redux/connectors/{ListDetail.d.cts → ListDetail.d.ts} +0 -0
- /package/lib/redux/connectors/{Modal.d.cts → Modal.d.ts} +0 -0
- /package/lib/redux/connectors/{ModelCatalog.d.cts → ModelCatalog.d.ts} +0 -0
- /package/lib/redux/connectors/{Notification.d.cts → Notification.d.ts} +0 -0
- /package/lib/redux/connectors/{PanelRenderer.d.cts → PanelRenderer.d.ts} +0 -0
- /package/lib/redux/connectors/{Preferences.d.cts → Preferences.d.ts} +0 -0
- /package/lib/redux/connectors/{Progress.d.cts → Progress.d.ts} +0 -0
- /package/lib/redux/connectors/{ProgressIndicator.d.cts → ProgressIndicator.d.ts} +0 -0
- /package/lib/redux/connectors/{QuickSearch.d.cts → QuickSearch.d.ts} +0 -0
- /package/lib/redux/connectors/{SignIn.d.cts → SignIn.d.ts} +0 -0
- /package/lib/redux/connectors/{SignOut.d.cts → SignOut.d.ts} +0 -0
- /package/lib/redux/connectors/{Tab.d.cts → Tab.d.ts} +0 -0
- /package/lib/redux/connectors/{index.d.cts → index.d.ts} +0 -0
- /package/lib/redux/{index.d.cts → index.d.ts} +0 -0
- /package/lib/redux/reducers/{AuthReducer.d.cts → AuthReducer.d.ts} +0 -0
- /package/lib/redux/reducers/{ErrorReducer.d.cts → ErrorReducer.d.ts} +0 -0
- /package/lib/redux/reducers/{ModalsReducer.d.cts → ModalsReducer.d.ts} +0 -0
- /package/lib/redux/reducers/{ModelCatalogReducer.d.cts → ModelCatalogReducer.d.ts} +0 -0
- /package/lib/redux/reducers/{NotificationReducer.d.cts → NotificationReducer.d.ts} +0 -0
- /package/lib/redux/reducers/{PreferencesReducer.d.cts → PreferencesReducer.d.ts} +0 -0
- /package/lib/redux/reducers/{ProgressIndicatorReducer.d.cts → ProgressIndicatorReducer.d.ts} +0 -0
- /package/lib/redux/reducers/{createReducer.d.cts → createReducer.d.ts} +0 -0
- /package/lib/redux/reducers/{index.d.cts → index.d.ts} +0 -0
- /package/lib/redux/selectors/{i18n.d.cts → i18n.d.ts} +0 -0
- /package/lib/redux/selectors/{index.d.cts → index.d.ts} +0 -0
- /package/lib/redux/selectors/{modelcatalog.d.cts → modelcatalog.d.ts} +0 -0
- /package/lib/redux/store/{beforeRenderHooks.d.cts → beforeRenderHooks.d.ts} +0 -0
- /package/lib/redux/store/{configureStore.d.cts → configureStore.d.ts} +0 -0
- /package/lib/redux/{types.d.cts → types.d.ts} +0 -0
- /package/lib/utils/browser/{Cache.d.cts → Cache.d.ts} +0 -0
- /package/lib/utils/browser/{Cookies.d.cts → Cookies.d.ts} +0 -0
- /package/lib/utils/datetime/{DateTimeUtil.d.cts → DateTimeUtil.d.ts} +0 -0
- /package/lib/utils/fetch/__mocks__/{universalFetch.d.cts → universalFetch.d.ts} +0 -0
- /package/lib/utils/fetch/{serverFetch.d.cts → serverFetch.d.ts} +0 -0
- /package/lib/utils/fetch/{types.d.cts → types.d.ts} +0 -0
- /package/lib/utils/fetch/{universalFetch.d.cts → universalFetch.d.ts} +0 -0
- /package/lib/utils/fetch/{xhr.d.cts → xhr.d.ts} +0 -0
- /package/lib/utils/helpers/{checkResource.d.cts → checkResource.d.ts} +0 -0
- /package/lib/utils/helpers/{createHash.d.cts → createHash.d.ts} +0 -0
- /package/lib/utils/helpers/{createHref.d.cts → createHref.d.ts} +0 -0
- /package/lib/utils/helpers/{createUUID.d.cts → createUUID.d.ts} +0 -0
- /package/lib/utils/helpers/{index.d.cts → index.d.ts} +0 -0
- /package/lib/utils/helpers/{objects.d.cts → objects.d.ts} +0 -0
- /package/lib/utils/helpers/{repositoryResource.d.cts → repositoryResource.d.ts} +0 -0
- /package/lib/utils/helpers/{sanitizeHtml.d.cts → sanitizeHtml.d.ts} +0 -0
- /package/lib/utils/helpers/{text.d.cts → text.d.ts} +0 -0
- /package/lib/utils/{index.d.cts → index.d.ts} +0 -0
- /package/lib/utils/number/{DecimalFormat.d.cts → DecimalFormat.d.ts} +0 -0
- /package/lib/utils/number/{formatValue.d.cts → formatValue.d.ts} +0 -0
- /package/lib/utils/number/{parseNumbers.d.cts → parseNumbers.d.ts} +0 -0
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.default = void 0;
|
|
8
|
+
var _map = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/map"));
|
|
9
|
+
var _filter = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/filter"));
|
|
10
|
+
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/defineProperty"));
|
|
11
|
+
var _objects = require("../../utils/helpers/objects");
|
|
12
|
+
var _ProcessStatusSettingsModel = _interopRequireDefault(require("../process/ProcessStatusSettingsModel"));
|
|
13
|
+
var _AttributeCollection = _interopRequireDefault(require("../attributes/AttributeCollection"));
|
|
14
|
+
var _BaseModel = _interopRequireDefault(require("../base/BaseModel"));
|
|
15
|
+
var _Href = _interopRequireDefault(require("../href/Href"));
|
|
16
|
+
var _constants = require("../../constants");
|
|
17
|
+
/**
|
|
18
|
+
* Defines an Action. For instance an action on the tab 'books', which leads to a form
|
|
19
|
+
*/
|
|
20
|
+
class ActionModel extends _BaseModel.default {
|
|
21
|
+
constructor(data, contributions, modelOptions) {
|
|
22
|
+
super(data, contributions, modelOptions);
|
|
23
|
+
(0, _defineProperty2.default)(this, "_fieldCollection", void 0);
|
|
24
|
+
(0, _defineProperty2.default)(this, "_href", void 0);
|
|
25
|
+
(0, _defineProperty2.default)(this, "_icon", void 0);
|
|
26
|
+
this._fieldCollection = new _AttributeCollection.default(this.data.fields, this.contributions.fields, {
|
|
27
|
+
...modelOptions,
|
|
28
|
+
isReadonly: false
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
*/
|
|
34
|
+
static createFromHref(name, href, label) {
|
|
35
|
+
let type = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : "form";
|
|
36
|
+
let origin = arguments.length > 4 ? arguments[4] : undefined;
|
|
37
|
+
let contextPath = arguments.length > 5 ? arguments[5] : undefined;
|
|
38
|
+
const data = {
|
|
39
|
+
name,
|
|
40
|
+
href
|
|
41
|
+
};
|
|
42
|
+
const contributions = {
|
|
43
|
+
name,
|
|
44
|
+
label: label ?? name,
|
|
45
|
+
type
|
|
46
|
+
};
|
|
47
|
+
return new ActionModel(data, contributions, {
|
|
48
|
+
origin,
|
|
49
|
+
contextPath
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
*/
|
|
55
|
+
get isDisabled() {
|
|
56
|
+
return this.data.href == null;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* retrieve href of action
|
|
61
|
+
*/
|
|
62
|
+
get selfhref() {
|
|
63
|
+
return this._href ?? new _Href.default(`${this.data.href}?${this.querystring}`, "Form", this.modelOptions);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
*/
|
|
68
|
+
set selfhref(href) {
|
|
69
|
+
this._href = href;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* retrieve request method
|
|
74
|
+
*/
|
|
75
|
+
get method() {
|
|
76
|
+
return this.getData("method", _constants.HTTP_METHODS.POST);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* Retrieve type of method
|
|
81
|
+
*/
|
|
82
|
+
get type() {
|
|
83
|
+
if (this.layouthint.has(_constants.CREATE_ACTION)) {
|
|
84
|
+
return "create";
|
|
85
|
+
}
|
|
86
|
+
if (this.layouthint.has(_constants.UPDATE_ACTION)) {
|
|
87
|
+
return "update";
|
|
88
|
+
}
|
|
89
|
+
if (this.layouthint.has(_constants.DELETE_ACTION)) {
|
|
90
|
+
return "delete";
|
|
91
|
+
}
|
|
92
|
+
return this.getContribution("type", "general");
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Retrieve name of action
|
|
97
|
+
*/
|
|
98
|
+
get name() {
|
|
99
|
+
return this.getData("name", "unknown");
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* retrieve the collection of field attributes as an array
|
|
104
|
+
*/
|
|
105
|
+
get fields() {
|
|
106
|
+
return this._fieldCollection.all;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* Retrieve the field collection
|
|
111
|
+
*/
|
|
112
|
+
get fieldCollection() {
|
|
113
|
+
return this._fieldCollection;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
*/
|
|
118
|
+
set fieldCollection(fieldCollection) {
|
|
119
|
+
this._fieldCollection = fieldCollection;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* Retrieve querystring of action
|
|
124
|
+
*/
|
|
125
|
+
get querystring() {
|
|
126
|
+
var _context, _context2;
|
|
127
|
+
return (0, _map.default)(_context = (0, _filter.default)(_context2 = this.fields).call(_context2, attribute => attribute.value != null && attribute.value !== "")).call(_context, attribute => {
|
|
128
|
+
const {
|
|
129
|
+
value
|
|
130
|
+
} = attribute;
|
|
131
|
+
if (value !== null) {
|
|
132
|
+
return `${attribute.name}=${value}`;
|
|
133
|
+
}
|
|
134
|
+
return attribute.name;
|
|
135
|
+
}).join("&");
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* Retrieve a field by it's key
|
|
140
|
+
*/
|
|
141
|
+
getFieldByKey(key) {
|
|
142
|
+
return this._fieldCollection.getAttributeByKey(key);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* Indicates if field exists by the given key
|
|
147
|
+
*/
|
|
148
|
+
hasFieldByKey(key) {
|
|
149
|
+
return this.getFieldByKey(key) !== null;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* Getting the key/name of this action
|
|
154
|
+
*/
|
|
155
|
+
get key() {
|
|
156
|
+
return this.data.name;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* Getting the label of the action
|
|
161
|
+
*/
|
|
162
|
+
get label() {
|
|
163
|
+
return this.getContribution("label", this.key);
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
*/
|
|
168
|
+
get isProcessTask() {
|
|
169
|
+
return (0, _objects.has)(this.contributions, "processTask");
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
*/
|
|
174
|
+
get processStatus() {
|
|
175
|
+
if (this.isProcessTask) {
|
|
176
|
+
return new _ProcessStatusSettingsModel.default(this.getData("processStatus", {}), this.getContribution("processTask", {}), this.modelOptions);
|
|
177
|
+
}
|
|
178
|
+
return null;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
*/
|
|
183
|
+
get icon() {
|
|
184
|
+
return this._icon;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
*/
|
|
189
|
+
set icon(icon) {
|
|
190
|
+
this._icon = icon;
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
exports.default = ActionModel;
|
|
194
|
+
//# sourceMappingURL=ActionModel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ActionModel.js","names":["_objects","require","_ProcessStatusSettingsModel","_interopRequireDefault","_AttributeCollection","_BaseModel","_Href","_constants","ActionModel","BaseModel","constructor","data","contributions","modelOptions","_defineProperty2","default","_fieldCollection","AttributeCollection","fields","isReadonly","createFromHref","name","href","label","type","arguments","length","undefined","origin","contextPath","isDisabled","selfhref","_href","Href","querystring","method","getData","HTTP_METHODS","POST","layouthint","has","CREATE_ACTION","UPDATE_ACTION","DELETE_ACTION","getContribution","all","fieldCollection","_context","_context2","_map","_filter","call","attribute","value","join","getFieldByKey","key","getAttributeByKey","hasFieldByKey","isProcessTask","processStatus","ProcessStatusSettingsModel","icon","_icon","exports"],"sources":["../../../src/models/actions/ActionModel.js"],"sourcesContent":["// @flow\nimport { has } from \"../../utils/helpers/objects\";\n\nimport ProcessStatusSettingsModel from \"../process/ProcessStatusSettingsModel\";\nimport AttributeCollection from \"../attributes/AttributeCollection\";\nimport BaseModel from \"../base/BaseModel\";\nimport Href from \"../href/Href\";\n\nimport {\n HTTP_METHODS,\n CREATE_ACTION,\n UPDATE_ACTION,\n DELETE_ACTION,\n} from \"../../constants\";\n\nimport type { AttributeType, ModelOptions } from \"../types\";\n\n/**\n * Defines an Action. For instance an action on the tab 'books', which leads to a form\n */\nexport default class ActionModel extends BaseModel {\n _fieldCollection: AttributeCollection;\n _href: Href;\n _icon: string;\n\n constructor(\n data: Object,\n contributions: Object,\n modelOptions?: ModelOptions,\n ) {\n super(data, contributions, modelOptions);\n\n this._fieldCollection = new AttributeCollection(\n this.data.fields,\n this.contributions.fields,\n { ...modelOptions, isReadonly: false },\n );\n }\n\n /**\n */\n static createFromHref(\n name: string,\n href: string,\n label: string,\n type: string = \"form\",\n origin?: string,\n contextPath?: string,\n ): ActionModel {\n const data = { name, href };\n const contributions = { name, label: label ?? name, type };\n return new ActionModel(data, contributions, { origin, contextPath });\n }\n\n /**\n */\n get isDisabled(): boolean {\n return this.data.href == null;\n }\n\n /**\n * retrieve href of action\n */\n get selfhref(): Href {\n return (\n this._href ??\n new Href(\n `${this.data.href}?${this.querystring}`,\n \"Form\",\n this.modelOptions,\n )\n );\n }\n\n /**\n */\n set selfhref(href: Href) {\n this._href = href;\n }\n\n /**\n * retrieve request method\n */\n get method(): $Keys<typeof HTTP_METHODS> {\n return this.getData(\"method\", HTTP_METHODS.POST);\n }\n\n /**\n * Retrieve type of method\n */\n get type(): string {\n if (this.layouthint.has(CREATE_ACTION)) {\n return \"create\";\n }\n if (this.layouthint.has(UPDATE_ACTION)) {\n return \"update\";\n }\n if (this.layouthint.has(DELETE_ACTION)) {\n return \"delete\";\n }\n\n return this.getContribution(\"type\", \"general\");\n }\n\n /**\n * Retrieve name of action\n */\n get name(): string {\n return this.getData(\"name\", \"unknown\");\n }\n\n /**\n * retrieve the collection of field attributes as an array\n */\n get fields(): Array<AttributeType> {\n return this._fieldCollection.all;\n }\n\n /**\n * Retrieve the field collection\n */\n get fieldCollection(): AttributeCollection {\n return this._fieldCollection;\n }\n\n /**\n */\n set fieldCollection(fieldCollection: AttributeCollection) {\n this._fieldCollection = fieldCollection;\n }\n\n /**\n * Retrieve querystring of action\n */\n get querystring(): string {\n return this.fields\n .filter((attribute) => attribute.value != null && attribute.value !== \"\")\n .map((attribute) => {\n const { value } = attribute;\n if (value !== null) {\n return `${attribute.name}=${value}`;\n }\n return attribute.name;\n })\n .join(\"&\");\n }\n\n /**\n * Retrieve a field by it's key\n */\n getFieldByKey(key: string): AttributeType | null {\n return this._fieldCollection.getAttributeByKey(key);\n }\n\n /**\n * Indicates if field exists by the given key\n */\n hasFieldByKey(key: string): boolean {\n return this.getFieldByKey(key) !== null;\n }\n\n /**\n * Getting the key/name of this action\n */\n get key(): string {\n return this.data.name;\n }\n\n /**\n * Getting the label of the action\n */\n get label(): string {\n return this.getContribution(\"label\", this.key);\n }\n\n /**\n */\n get isProcessTask(): boolean {\n return has(this.contributions, \"processTask\");\n }\n\n /**\n */\n get processStatus(): ProcessStatusSettingsModel | null {\n if (this.isProcessTask) {\n return new ProcessStatusSettingsModel(\n this.getData(\"processStatus\", {}),\n this.getContribution(\"processTask\", {}),\n this.modelOptions,\n );\n }\n\n return null;\n }\n\n /**\n */\n get icon(): string {\n return this._icon;\n }\n\n /**\n */\n set icon(icon: string) {\n this._icon = icon;\n }\n}\n"],"mappings":"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","ignoreList":[]}
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.default = void 0;
|
|
8
|
+
var _find = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/find"));
|
|
9
|
+
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/defineProperty"));
|
|
10
|
+
var _ResourceModel = _interopRequireDefault(require("../base/ResourceModel"));
|
|
11
|
+
var _LinkModel = _interopRequireDefault(require("../links/LinkModel"));
|
|
12
|
+
var _UserServicesModel = _interopRequireDefault(require("../user/UserServicesModel"));
|
|
13
|
+
var _exceptions = require("../../exceptions");
|
|
14
|
+
var _constants = require("../../constants");
|
|
15
|
+
/**
|
|
16
|
+
* The Application model
|
|
17
|
+
*/
|
|
18
|
+
class ApplicationModel extends _ResourceModel.default {
|
|
19
|
+
constructor() {
|
|
20
|
+
super(...arguments);
|
|
21
|
+
(0, _defineProperty2.default)(this, "_userServices", void 0);
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Retrieve type of model
|
|
25
|
+
*/
|
|
26
|
+
get type() {
|
|
27
|
+
return "Application";
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
*/
|
|
32
|
+
static get modelName() {
|
|
33
|
+
return "ApplicationModel";
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
*/
|
|
38
|
+
static isApplicableModel(data) {
|
|
39
|
+
return data.contributions.resourcetype && data.contributions.resourcetype === "Application";
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
*/
|
|
44
|
+
getInitialChildModelLinks() {
|
|
45
|
+
const userService = this.links.getLinkByKey("UserServices");
|
|
46
|
+
if (userService && userService.href.path === "/login") {
|
|
47
|
+
throw new _exceptions.NotAllowedUriException("The user service (Login panel) should not have the uri '/login', use a different URI because this uri matches the login service.");
|
|
48
|
+
}
|
|
49
|
+
return userService ? [userService] : [];
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
*/
|
|
54
|
+
setChildModels(models) {
|
|
55
|
+
const userServiceModel = (0, _find.default)(models).call(models, model => model.type === "UserServices");
|
|
56
|
+
if (userServiceModel) {
|
|
57
|
+
this.userServices = userServiceModel;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Getting the label of the application
|
|
63
|
+
*/
|
|
64
|
+
get label() {
|
|
65
|
+
return this.getContribution("label", "");
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Getting the authentication types of the application
|
|
70
|
+
*/
|
|
71
|
+
get authenticationTypes() {
|
|
72
|
+
const authenticationTypes = this.getContribution("security", [_constants.DEFAULT_AUTHENTICATION_TYPE]);
|
|
73
|
+
if (authenticationTypes) {
|
|
74
|
+
//put primary first
|
|
75
|
+
return authenticationTypes?.sort((a, b) => a.isPrimary === b.isPrimary ? 0 : a.isPrimary ? -1 : 1);
|
|
76
|
+
}
|
|
77
|
+
return [_constants.DEFAULT_AUTHENTICATION_TYPE];
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* Getting the tab links
|
|
82
|
+
*/
|
|
83
|
+
get tabs() {
|
|
84
|
+
return this.links.getLinksByGroup("tab");
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* Get modelcatalog link
|
|
89
|
+
*/
|
|
90
|
+
get modelcatalog() {
|
|
91
|
+
return _LinkModel.default.create("modelcatalog", "/modelcatalog", "Model catalog", this.modelOptions);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Set the userservices for this application
|
|
96
|
+
*/
|
|
97
|
+
set userServices(model) {
|
|
98
|
+
this._userServices = model instanceof _UserServicesModel.default ? model : null;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* returns the userservices configured for this application
|
|
103
|
+
*/
|
|
104
|
+
get userServices() {
|
|
105
|
+
return this._userServices ? this._userServices : null;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* Indicates if the user is logged in
|
|
110
|
+
*/
|
|
111
|
+
get isLoggedIn() {
|
|
112
|
+
return this.userServices?.isLoggedIn ?? false;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Retrieve link to the user information,
|
|
117
|
+
* only available when the user services are available
|
|
118
|
+
*/
|
|
119
|
+
get userHref() {
|
|
120
|
+
if (this.userServices?.userLink) {
|
|
121
|
+
return this.userServices.userLink.href;
|
|
122
|
+
}
|
|
123
|
+
return null;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
*/
|
|
128
|
+
get userMustChangePassword() {
|
|
129
|
+
return this.userServices?.mustChangePassword ?? false;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
exports.default = ApplicationModel;
|
|
133
|
+
//# sourceMappingURL=ApplicationModel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ApplicationModel.js","names":["_ResourceModel","_interopRequireDefault","require","_LinkModel","_UserServicesModel","_exceptions","_constants","ApplicationModel","ResourceModel","constructor","arguments","_defineProperty2","default","type","modelName","isApplicableModel","data","contributions","resourcetype","getInitialChildModelLinks","userService","links","getLinkByKey","href","path","NotAllowedUriException","setChildModels","models","userServiceModel","_find","call","model","userServices","label","getContribution","authenticationTypes","DEFAULT_AUTHENTICATION_TYPE","sort","a","b","isPrimary","tabs","getLinksByGroup","modelcatalog","LinkModel","create","modelOptions","_userServices","UserServicesModel","isLoggedIn","userHref","userLink","userMustChangePassword","mustChangePassword","exports"],"sources":["../../../src/models/application/ApplicationModel.js"],"sourcesContent":["// @flow\nimport ResourceModel from \"../base/ResourceModel\";\nimport LinkModel from \"../links/LinkModel\";\nimport UserServicesModel from \"../user/UserServicesModel\";\n\nimport { NotAllowedUriException } from \"../../exceptions\";\n\nimport { DEFAULT_AUTHENTICATION_TYPE } from \"../../constants\";\n\nimport type { ModularUIModel, AuthenticationType } from \"../types\";\nimport type { ModularUIResponse } from \"../../modularui\";\nimport type LinkCollection from \"../links/LinkCollection\";\nimport type Href from \"../href/Href\";\n\n/**\n * The Application model\n */\nexport default class ApplicationModel extends ResourceModel {\n _userServices: ?UserServicesModel;\n\n /**\n * Retrieve type of model\n */\n get type(): string {\n return \"Application\";\n }\n\n /**\n */\n static get modelName(): string {\n return \"ApplicationModel\";\n }\n\n /**\n */\n static isApplicableModel(data: ModularUIResponse): boolean {\n return (\n data.contributions.resourcetype &&\n data.contributions.resourcetype === \"Application\"\n );\n }\n\n /**\n */\n getInitialChildModelLinks(): Array<LinkModel> {\n const userService = this.links.getLinkByKey(\"UserServices\");\n if (userService && userService.href.path === \"/login\") {\n throw new NotAllowedUriException(\n \"The user service (Login panel) should not have the uri '/login', use a different URI because this uri matches the login service.\",\n );\n }\n\n return userService ? [userService] : [];\n }\n\n /**\n */\n setChildModels(models: Array<ModularUIModel>) {\n const userServiceModel = models.find(\n (model) => model.type === \"UserServices\",\n );\n\n if (userServiceModel) {\n this.userServices = userServiceModel;\n }\n }\n\n /**\n * Getting the label of the application\n */\n get label(): string {\n return this.getContribution(\"label\", \"\");\n }\n\n /**\n * Getting the authentication types of the application\n */\n get authenticationTypes(): Array<AuthenticationType> {\n const authenticationTypes = this.getContribution(\"security\", [\n DEFAULT_AUTHENTICATION_TYPE,\n ]);\n\n if (authenticationTypes) {\n //put primary first\n return authenticationTypes?.sort(\n (a: AuthenticationType, b: AuthenticationType) =>\n a.isPrimary === b.isPrimary ? 0 : a.isPrimary ? -1 : 1,\n );\n }\n\n return [DEFAULT_AUTHENTICATION_TYPE];\n }\n\n /**\n * Getting the tab links\n */\n get tabs(): LinkCollection {\n return this.links.getLinksByGroup(\"tab\");\n }\n\n /**\n * Get modelcatalog link\n */\n get modelcatalog(): LinkModel {\n return LinkModel.create(\n \"modelcatalog\",\n \"/modelcatalog\",\n \"Model catalog\",\n this.modelOptions,\n );\n }\n\n /**\n * Set the userservices for this application\n */\n set userServices(model: ?ModularUIModel) {\n this._userServices = model instanceof UserServicesModel ? model : null;\n }\n\n /**\n * returns the userservices configured for this application\n */\n get userServices(): ?UserServicesModel {\n return this._userServices ? this._userServices : null;\n }\n\n /**\n * Indicates if the user is logged in\n */\n get isLoggedIn(): boolean {\n return this.userServices?.isLoggedIn ?? false;\n }\n\n /**\n * Retrieve link to the user information,\n * only available when the user services are available\n */\n get userHref(): Href | null {\n if (this.userServices?.userLink) {\n return this.userServices.userLink.href;\n }\n\n return null;\n }\n\n /**\n */\n get userMustChangePassword(): boolean {\n return this.userServices?.mustChangePassword ?? false;\n }\n}\n"],"mappings":"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","ignoreList":[]}
|
|
@@ -0,0 +1,282 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.default = void 0;
|
|
8
|
+
var _keys = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/object/keys"));
|
|
9
|
+
var _filter = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/filter"));
|
|
10
|
+
var _find = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/find"));
|
|
11
|
+
var _startsWith = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/starts-with"));
|
|
12
|
+
var _map = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/map"));
|
|
13
|
+
var _objects = require("../../utils/helpers/objects");
|
|
14
|
+
var _ResourceCollection = _interopRequireDefault(require("../base/ResourceCollection"));
|
|
15
|
+
var _createAttribute = _interopRequireDefault(require("./_createAttribute"));
|
|
16
|
+
var _ChoiceAttributeModel = _interopRequireDefault(require("./ChoiceAttributeModel"));
|
|
17
|
+
var _CompositeAttributeModel = _interopRequireDefault(require("./CompositeAttributeModel"));
|
|
18
|
+
var _ContentConfiguration = _interopRequireDefault(require("../contentconfiguration/ContentConfiguration"));
|
|
19
|
+
var _exceptions = require("../../exceptions");
|
|
20
|
+
/**
|
|
21
|
+
* Collection of attributes
|
|
22
|
+
*/
|
|
23
|
+
class AttributeCollection extends _ResourceCollection.default {
|
|
24
|
+
constructor() {
|
|
25
|
+
let data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
26
|
+
let contributions = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
|
|
27
|
+
let modelOptions = arguments.length > 2 ? arguments[2] : undefined;
|
|
28
|
+
super();
|
|
29
|
+
if (contributions) {
|
|
30
|
+
contributions.forEach(contribution => {
|
|
31
|
+
const [key] = (0, _keys.default)(contribution);
|
|
32
|
+
const attribute = (0, _createAttribute.default)(key, data, contribution[key], {
|
|
33
|
+
origin: modelOptions?.origin,
|
|
34
|
+
contextPath: modelOptions?.contextPath
|
|
35
|
+
});
|
|
36
|
+
if (attribute !== null) {
|
|
37
|
+
// when readonly is not explicitly set in the contributions, follow argument
|
|
38
|
+
if (modelOptions?.isReadonly && !(0, _objects.has)(contribution[key], "readonly")) {
|
|
39
|
+
attribute.readonly = true;
|
|
40
|
+
}
|
|
41
|
+
this.collection.push(attribute);
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
this.processLayoutHintRules();
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Retrieve all attributes in this collection<br>
|
|
50
|
+
* This getter processes layout hints, this is different from the standard {@link BaseCollection#all} property
|
|
51
|
+
* @returns {Array<AttributeType>}
|
|
52
|
+
*/
|
|
53
|
+
get attributes() {
|
|
54
|
+
this.processLayoutHintRules();
|
|
55
|
+
return this.all;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Replace attributes with a new array of attributes
|
|
60
|
+
*/
|
|
61
|
+
set attributes(attributes) {
|
|
62
|
+
this.collection = attributes;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
*/
|
|
67
|
+
processLayoutHintRules() {
|
|
68
|
+
this.all.forEach(attribute => {
|
|
69
|
+
attribute.processLayoutHintRules(this);
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Retrieve only visible attributes from the collection
|
|
75
|
+
*/
|
|
76
|
+
get visible() {
|
|
77
|
+
// Let flow know that this is a AttributeCollection
|
|
78
|
+
if (this instanceof AttributeCollection) {
|
|
79
|
+
var _context;
|
|
80
|
+
return (0, _filter.default)(_context = this.attributes).call(_context, attribute => !attribute.isHidden);
|
|
81
|
+
}
|
|
82
|
+
return [];
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
*/
|
|
87
|
+
get questions() {
|
|
88
|
+
var _context2;
|
|
89
|
+
return (0, _filter.default)(_context2 = this.visible).call(_context2, attribute => !attribute.isResult);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
*/
|
|
94
|
+
get results() {
|
|
95
|
+
var _context3;
|
|
96
|
+
return (0, _filter.default)(_context3 = this.visible).call(_context3, attribute => attribute.isResult);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
*/
|
|
101
|
+
getAttributeByAttribute(attribute) {
|
|
102
|
+
var _context4;
|
|
103
|
+
return (0, _find.default)(_context4 = this).call(_context4, attr => {
|
|
104
|
+
if (attr.equals(attribute)) {
|
|
105
|
+
return true;
|
|
106
|
+
} else if (attribute instanceof _CompositeAttributeModel.default) {
|
|
107
|
+
return attribute.getChildByAttribute(attribute);
|
|
108
|
+
}
|
|
109
|
+
return false;
|
|
110
|
+
});
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* Get a single attribute by it's key
|
|
115
|
+
*/
|
|
116
|
+
getAttributeByKey(key) {
|
|
117
|
+
var _context5;
|
|
118
|
+
return (0, _find.default)(_context5 = this).call(_context5, attribute => {
|
|
119
|
+
if (attribute.key === key) {
|
|
120
|
+
return true;
|
|
121
|
+
} else if (attribute instanceof _CompositeAttributeModel.default) {
|
|
122
|
+
return attribute.getChildByKey(key);
|
|
123
|
+
}
|
|
124
|
+
return false;
|
|
125
|
+
});
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* Indicates if attribute with key exists in collection
|
|
130
|
+
*/
|
|
131
|
+
hasAttributeByKey(key) {
|
|
132
|
+
return this.getAttributeByKey(key) !== null;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* Getting the first attribute having the supplied layout hint
|
|
137
|
+
*/
|
|
138
|
+
getAttributeByLayoutHint() {
|
|
139
|
+
var _context6;
|
|
140
|
+
for (var _len = arguments.length, hints = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
141
|
+
hints[_key] = arguments[_key];
|
|
142
|
+
}
|
|
143
|
+
return (0, _find.default)(_context6 = this).call(_context6, attribute => attribute.layouthint.has(...hints)) || null;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* Getting a choice attribute by layouthint, returns null when not found or not a choice attribute
|
|
148
|
+
*/
|
|
149
|
+
getChoiceAttributeByLayoutHint(layoutHint) {
|
|
150
|
+
const attribute = this.getAttributeByLayoutHint(layoutHint);
|
|
151
|
+
return attribute instanceof _ChoiceAttributeModel.default ? attribute : null;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* Getting all attributes having the supplied layout hint
|
|
156
|
+
*/
|
|
157
|
+
getAttributesByLayoutHint() {
|
|
158
|
+
var _context7;
|
|
159
|
+
for (var _len2 = arguments.length, hints = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
|
|
160
|
+
hints[_key2] = arguments[_key2];
|
|
161
|
+
}
|
|
162
|
+
return (0, _filter.default)(_context7 = this).call(_context7, attribute => attribute.layouthint.has(...hints));
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* Replace an attribute instance in the collection with a new attribute instance
|
|
167
|
+
*/
|
|
168
|
+
replace(oldAttribute, newAttribute) {
|
|
169
|
+
this.replaceByKey(oldAttribute.key, newAttribute);
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* Replace an attribute by the key of the attribute
|
|
174
|
+
*/
|
|
175
|
+
replaceByKey(key, newAttribute) {
|
|
176
|
+
this.forEach((attribute, index) => {
|
|
177
|
+
if (attribute.key === key) {
|
|
178
|
+
this.collection[index] = newAttribute;
|
|
179
|
+
}
|
|
180
|
+
});
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
* Set reference date by replacing an old attribute with a new attribute with a reference Date
|
|
185
|
+
* Date is a string in ISO format yyyy-MM-dd
|
|
186
|
+
*/
|
|
187
|
+
setReferenceDate(date) {
|
|
188
|
+
this.forEach(attribute => {
|
|
189
|
+
const newAttribute = attribute.clone();
|
|
190
|
+
newAttribute.referenceDate = date;
|
|
191
|
+
this.replace(attribute, newAttribute);
|
|
192
|
+
});
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
/**
|
|
196
|
+
*/
|
|
197
|
+
hasServerErrors() {
|
|
198
|
+
return this.collection.some(attribute => attribute.hasServerErrors());
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
*/
|
|
203
|
+
addServerError(error) {
|
|
204
|
+
const elementid = error?.anchor?.elementid;
|
|
205
|
+
if (elementid) {
|
|
206
|
+
const attribute = this.getAttributeByKey(elementid);
|
|
207
|
+
if (attribute) {
|
|
208
|
+
attribute.addServerError(error);
|
|
209
|
+
} else {
|
|
210
|
+
throw new _exceptions.ConfigurationException(`Could not add error to missing attribute with id ${elementid}`);
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
*/
|
|
217
|
+
hasErrors() {
|
|
218
|
+
return this.visible.some(attribute => attribute.hasErrors());
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
/**
|
|
222
|
+
*/
|
|
223
|
+
updateValidations(errors) {
|
|
224
|
+
var _context8;
|
|
225
|
+
(0, _filter.default)(_context8 = this.all).call(_context8, attribute => attribute.hasDynamicValidationData).forEach(attribute => {
|
|
226
|
+
const attributeErrors = (0, _filter.default)(errors).call(errors, error => error.anchor?.elementid === attribute.key);
|
|
227
|
+
attribute.updateValidations(attributeErrors);
|
|
228
|
+
if (attribute instanceof _CompositeAttributeModel.default) {
|
|
229
|
+
const compositeChildErrors = (0, _filter.default)(errors).call(errors, error => {
|
|
230
|
+
const elementId = error.anchor?.elementid;
|
|
231
|
+
return elementId && (0, _startsWith.default)(elementId).call(elementId, `${attribute.key}.`);
|
|
232
|
+
});
|
|
233
|
+
attribute.children.updateValidations(`${attribute.key}.`, compositeChildErrors);
|
|
234
|
+
}
|
|
235
|
+
});
|
|
236
|
+
return this;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
*/
|
|
241
|
+
indicateContentConfiguration(contentConfiguration) {
|
|
242
|
+
if (contentConfiguration) {
|
|
243
|
+
this.all.forEach(attribute => {
|
|
244
|
+
attribute.indicateContentConfiguration(contentConfiguration);
|
|
245
|
+
});
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* Generate formdata object for current collection based on formdata of attributes
|
|
251
|
+
* Skip attributes that are readonly, the confirmation password or null
|
|
252
|
+
*/
|
|
253
|
+
get formdata() {
|
|
254
|
+
return this.getFormData(false);
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
*/
|
|
259
|
+
getFormData() {
|
|
260
|
+
var _context9, _context10;
|
|
261
|
+
let validationData = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
|
262
|
+
const attributesFormData = (0, _map.default)(_context9 = (0, _filter.default)(_context10 = this.attributes).call(_context10, attribute => attribute.formdata !== null && !attribute.readonly && (!validationData || attribute.hasDynamicValidationData))).call(_context9, attribute => {
|
|
263
|
+
// make attribute empty when it is not (or no longer) visible
|
|
264
|
+
if (attribute.isVisible) {
|
|
265
|
+
return attribute.formdata;
|
|
266
|
+
}
|
|
267
|
+
return attribute.getEmptyFormData();
|
|
268
|
+
});
|
|
269
|
+
let data = {};
|
|
270
|
+
attributesFormData.forEach(attributeFormData => {
|
|
271
|
+
// $FlowIgnore[cannot-spread-indexer]
|
|
272
|
+
// $FlowIgnore[exponential-spread]
|
|
273
|
+
data = {
|
|
274
|
+
...data,
|
|
275
|
+
...attributeFormData
|
|
276
|
+
};
|
|
277
|
+
});
|
|
278
|
+
return data;
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
var _default = exports.default = AttributeCollection;
|
|
282
|
+
//# sourceMappingURL=AttributeCollection.js.map
|