@beinformed/ui 1.35.0 → 1.36.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 +8 -0
- package/esm/constants/LayoutHintConfig.js +9 -0
- package/esm/constants/LayoutHintConfig.js.map +1 -1
- package/esm/constants/LayoutHints.js +5 -0
- package/esm/constants/LayoutHints.js.map +1 -1
- package/esm/models/actions/ActionCollection.js +1 -1
- package/esm/models/actions/ActionCollection.js.map +1 -1
- package/esm/models/links/normalizeLinkJSON.js +20 -5
- package/esm/models/links/normalizeLinkJSON.js.map +1 -1
- package/lib/constants/Constants.js +33 -66
- package/lib/constants/Constants.js.map +1 -1
- package/lib/constants/LayoutHintConfig.js +10 -2
- package/lib/constants/LayoutHintConfig.js.flow +9 -0
- package/lib/constants/LayoutHintConfig.js.map +1 -1
- package/lib/constants/LayoutHints.js +24 -37
- package/lib/constants/LayoutHints.js.flow +5 -0
- package/lib/constants/LayoutHints.js.map +1 -1
- package/lib/constants/Settings.js +3 -6
- package/lib/constants/Settings.js.map +1 -1
- package/lib/exceptions/ConfigurationException.js +1 -2
- package/lib/exceptions/ConfigurationException.js.map +1 -1
- package/lib/exceptions/IllegalArgumentException.js +1 -2
- package/lib/exceptions/IllegalArgumentException.js.map +1 -1
- package/lib/exceptions/IllegalReturnException.js +1 -2
- package/lib/exceptions/IllegalReturnException.js.map +1 -1
- package/lib/exceptions/IllegalStateException.js +1 -2
- package/lib/exceptions/IllegalStateException.js.map +1 -1
- package/lib/exceptions/JsonParseException.js +1 -2
- package/lib/exceptions/JsonParseException.js.map +1 -1
- package/lib/exceptions/MissingPropertyException.js +1 -2
- package/lib/exceptions/MissingPropertyException.js.map +1 -1
- package/lib/exceptions/NetworkException.js +1 -2
- package/lib/exceptions/NetworkException.js.map +1 -1
- package/lib/exceptions/NotAllowedUriException.js +1 -2
- package/lib/exceptions/NotAllowedUriException.js.map +1 -1
- package/lib/exceptions/NotFoundException.js +1 -2
- package/lib/exceptions/NotFoundException.js.map +1 -1
- package/lib/exceptions/ServerRequestException.js +1 -2
- package/lib/exceptions/ServerRequestException.js.map +1 -1
- package/lib/exceptions/ThemePropertyException.js +1 -2
- package/lib/exceptions/ThemePropertyException.js.map +1 -1
- package/lib/exceptions/TimeoutException.js +1 -2
- package/lib/exceptions/TimeoutException.js.map +1 -1
- package/lib/exceptions/UnauthorizedException.js +1 -2
- package/lib/exceptions/UnauthorizedException.js.map +1 -1
- package/lib/exceptions/UnsupportedOperationException.js +1 -2
- package/lib/exceptions/UnsupportedOperationException.js.map +1 -1
- package/lib/hooks/useDeepCompareEffect.js +3 -4
- package/lib/hooks/useDeepCompareEffect.js.map +1 -1
- package/lib/i18n/Locale.js +1 -2
- package/lib/i18n/Locale.js.map +1 -1
- package/lib/i18n/Locales.js +2 -4
- package/lib/i18n/Locales.js.map +1 -1
- package/lib/i18n/Message.js +1 -2
- package/lib/i18n/Message.js.map +1 -1
- package/lib/i18n/index.js +2 -2
- package/lib/i18n/index.js.map +1 -1
- package/lib/i18n/languages.js +1 -2
- package/lib/i18n/languages.js.map +1 -1
- package/lib/i18n/translations/beinformed_error_messages_en.nl.js +1 -2
- package/lib/i18n/translations/beinformed_error_messages_en.nl.js.map +1 -1
- package/lib/i18n/translations/beinformed_error_messages_nl.nl.js +1 -2
- package/lib/i18n/translations/beinformed_error_messages_nl.nl.js.map +1 -1
- package/lib/i18n/withMessage.js +1 -2
- package/lib/i18n/withMessage.js.map +1 -1
- package/lib/models/actions/ActionCollection.js +1 -1
- package/lib/models/actions/ActionCollection.js.flow +3 -1
- package/lib/models/actions/ActionCollection.js.map +1 -1
- package/lib/models/application/__tests__/Application.spec.js.flow +1 -1
- package/lib/models/attributes/AttributeCollection.js +1 -2
- package/lib/models/attributes/AttributeCollection.js.map +1 -1
- package/lib/models/attributes/AttributeContent.js +1 -2
- package/lib/models/attributes/AttributeContent.js.map +1 -1
- package/lib/models/attributes/AttributeDataHelper.js +1 -2
- package/lib/models/attributes/AttributeDataHelper.js.map +1 -1
- package/lib/models/attributes/ChoiceAttributeOptionCollection.js +1 -2
- package/lib/models/attributes/ChoiceAttributeOptionCollection.js.map +1 -1
- package/lib/models/attributes/ChoiceAttributeOptionModel.js +1 -2
- package/lib/models/attributes/ChoiceAttributeOptionModel.js.map +1 -1
- package/lib/models/attributes/CompositeAttributeChildCollection.js +1 -2
- package/lib/models/attributes/CompositeAttributeChildCollection.js.map +1 -1
- package/lib/models/attributes/CompositeAttributeModel.js +1 -2
- package/lib/models/attributes/CompositeAttributeModel.js.map +1 -1
- package/lib/models/attributes/DatetimeAttributeModel.js +1 -2
- package/lib/models/attributes/DatetimeAttributeModel.js.map +1 -1
- package/lib/models/attributes/_createAttribute.js +1 -2
- package/lib/models/attributes/_createAttribute.js.map +1 -1
- package/lib/models/attributes/input-constraints/BSNConstraint.js +1 -2
- package/lib/models/attributes/input-constraints/BSNConstraint.js.map +1 -1
- package/lib/models/attributes/input-constraints/DateBoundaryConstraint.js +1 -2
- package/lib/models/attributes/input-constraints/DateBoundaryConstraint.js.map +1 -1
- package/lib/models/attributes/input-constraints/DateTimeDateFormatConstraint.js +1 -2
- package/lib/models/attributes/input-constraints/DateTimeDateFormatConstraint.js.map +1 -1
- package/lib/models/attributes/input-constraints/DateTimeTimeFormatConstraint.js +1 -2
- package/lib/models/attributes/input-constraints/DateTimeTimeFormatConstraint.js.map +1 -1
- package/lib/models/attributes/input-constraints/DatetimeFormatConstraint.js +1 -2
- package/lib/models/attributes/input-constraints/DatetimeFormatConstraint.js.map +1 -1
- package/lib/models/attributes/input-constraints/FileExtensionConstraint.js +1 -2
- package/lib/models/attributes/input-constraints/FileExtensionConstraint.js.map +1 -1
- package/lib/models/attributes/input-constraints/FileSizeConstraint.js +1 -2
- package/lib/models/attributes/input-constraints/FileSizeConstraint.js.map +1 -1
- package/lib/models/attributes/input-constraints/IBANConstraint.js +1 -2
- package/lib/models/attributes/input-constraints/IBANConstraint.js.map +1 -1
- package/lib/models/attributes/input-constraints/MandatoryConstraint.js +1 -2
- package/lib/models/attributes/input-constraints/MandatoryConstraint.js.map +1 -1
- package/lib/models/attributes/input-constraints/MandatoryRangeConstraint.js +1 -2
- package/lib/models/attributes/input-constraints/MandatoryRangeConstraint.js.map +1 -1
- package/lib/models/attributes/input-constraints/NumberBoundaryConstraint.js +1 -2
- package/lib/models/attributes/input-constraints/NumberBoundaryConstraint.js.map +1 -1
- package/lib/models/attributes/input-constraints/NumberFormatConstraint.js +1 -2
- package/lib/models/attributes/input-constraints/NumberFormatConstraint.js.map +1 -1
- package/lib/models/attributes/input-constraints/NumberGroupingConstraint.js +1 -2
- package/lib/models/attributes/input-constraints/NumberGroupingConstraint.js.map +1 -1
- package/lib/models/attributes/input-constraints/PasswordConfirmConstraint.js +1 -2
- package/lib/models/attributes/input-constraints/PasswordConfirmConstraint.js.map +1 -1
- package/lib/models/attributes/input-constraints/PasswordLowerAndUpperCaseConstraint.js +1 -2
- package/lib/models/attributes/input-constraints/PasswordLowerAndUpperCaseConstraint.js.map +1 -1
- package/lib/models/attributes/input-constraints/PasswordMinNumericCharactersConstraint.js +1 -2
- package/lib/models/attributes/input-constraints/PasswordMinNumericCharactersConstraint.js.map +1 -1
- package/lib/models/attributes/input-constraints/PasswordMinSpecialCharactersConstraint.js +1 -2
- package/lib/models/attributes/input-constraints/PasswordMinSpecialCharactersConstraint.js.map +1 -1
- package/lib/models/attributes/input-constraints/PasswordThreeConsecutiveCharactersNotAllowedConstraint.js +1 -2
- package/lib/models/attributes/input-constraints/PasswordThreeConsecutiveCharactersNotAllowedConstraint.js.map +1 -1
- package/lib/models/attributes/input-constraints/RangeConstraint.js +1 -2
- package/lib/models/attributes/input-constraints/RangeConstraint.js.map +1 -1
- package/lib/models/attributes/input-constraints/RegexConstraint.js +1 -2
- package/lib/models/attributes/input-constraints/RegexConstraint.js.map +1 -1
- package/lib/models/attributes/input-constraints/StringLengthConstraint.js +1 -2
- package/lib/models/attributes/input-constraints/StringLengthConstraint.js.map +1 -1
- package/lib/models/attributes/input-constraints/XMLConstraint.js +1 -2
- package/lib/models/attributes/input-constraints/XMLConstraint.js.map +1 -1
- package/lib/models/attributes/layouthint-rules/BaseLayoutHintRule.js +1 -2
- package/lib/models/attributes/layouthint-rules/BaseLayoutHintRule.js.map +1 -1
- package/lib/models/attributes/layouthint-rules/DependentAttribute.js +1 -2
- package/lib/models/attributes/layouthint-rules/DependentAttribute.js.map +1 -1
- package/lib/models/attributes/layouthint-rules/LayoutHintRuleCollection.js +1 -2
- package/lib/models/attributes/layouthint-rules/LayoutHintRuleCollection.js.map +1 -1
- package/lib/models/attributes/layouthint-rules/RemainingTotalUploadSize.js +1 -2
- package/lib/models/attributes/layouthint-rules/RemainingTotalUploadSize.js.map +1 -1
- package/lib/models/base/BaseCollection.js +1 -2
- package/lib/models/base/BaseCollection.js.map +1 -1
- package/lib/models/base/BaseModel.js +1 -2
- package/lib/models/base/BaseModel.js.map +1 -1
- package/lib/models/base/ResourceCollection.js +1 -2
- package/lib/models/base/ResourceCollection.js.map +1 -1
- package/lib/models/base/ResourceModel.js +1 -2
- package/lib/models/base/ResourceModel.js.map +1 -1
- package/lib/models/concepts/BusinessScenarioModel.js +1 -2
- package/lib/models/concepts/BusinessScenarioModel.js.map +1 -1
- package/lib/models/concepts/ConceptTypeDetailModel.js +1 -2
- package/lib/models/concepts/ConceptTypeDetailModel.js.map +1 -1
- package/lib/models/concepts/SourceReferenceModel.js +1 -2
- package/lib/models/concepts/SourceReferenceModel.js.map +1 -1
- package/lib/models/content/SectionModel.js +1 -2
- package/lib/models/content/SectionModel.js.map +1 -1
- package/lib/models/contentconfiguration/ContentConfigurationElements.js +1 -2
- package/lib/models/contentconfiguration/ContentConfigurationElements.js.map +1 -1
- package/lib/models/contentconfiguration/ContentConfigurationEndResults.js +1 -2
- package/lib/models/contentconfiguration/ContentConfigurationEndResults.js.map +1 -1
- package/lib/models/contentconfiguration/ContentConfigurationQuestions.js +1 -2
- package/lib/models/contentconfiguration/ContentConfigurationQuestions.js.map +1 -1
- package/lib/models/contentconfiguration/ContentConfigurationResults.js +1 -2
- package/lib/models/contentconfiguration/ContentConfigurationResults.js.map +1 -1
- package/lib/models/error/ErrorModel.js +1 -2
- package/lib/models/error/ErrorModel.js.map +1 -1
- package/lib/models/form/FormModel.js +1 -2
- package/lib/models/form/FormModel.js.map +1 -1
- package/lib/models/href/Href.js +1 -2
- package/lib/models/href/Href.js.map +1 -1
- package/lib/models/index.js +2 -2
- package/lib/models/index.js.map +1 -1
- package/lib/models/links/LinkModel.js +1 -2
- package/lib/models/links/LinkModel.js.map +1 -1
- package/lib/models/links/__tests__/normalizeLinkJSON.spec.js.flow +2 -1
- package/lib/models/links/normalizeLinkJSON.js +20 -7
- package/lib/models/links/normalizeLinkJSON.js.flow +20 -4
- package/lib/models/links/normalizeLinkJSON.js.map +1 -1
- package/lib/models/list/ListItemCollection.js +1 -2
- package/lib/models/list/ListItemCollection.js.map +1 -1
- package/lib/models/lookup/LookupOptionCollection.js +1 -2
- package/lib/models/lookup/LookupOptionCollection.js.map +1 -1
- package/lib/models/parameter/Parameter.js +1 -2
- package/lib/models/parameter/Parameter.js.map +1 -1
- package/lib/models/resolveModel.js +1 -2
- package/lib/models/resolveModel.js.map +1 -1
- package/lib/models/sorting/SortOptionModel.js +1 -2
- package/lib/models/sorting/SortOptionModel.js.map +1 -1
- package/lib/models/sorting/SortingModel.js +1 -2
- package/lib/models/sorting/SortingModel.js.map +1 -1
- package/lib/models/taskgroup/__tests__/TaskGroupModel.spec.js.flow +17 -0
- package/lib/models/user/UserServicesModel.js +1 -2
- package/lib/models/user/UserServicesModel.js.map +1 -1
- package/lib/modularui/Authenticate.js +1 -2
- package/lib/modularui/Authenticate.js.map +1 -1
- package/lib/modularui/CaptchaRequest.js +1 -2
- package/lib/modularui/CaptchaRequest.js.map +1 -1
- package/lib/modularui/ModularUIError.js +1 -2
- package/lib/modularui/ModularUIError.js.map +1 -1
- package/lib/modularui/ModularUIRequest.js +1 -2
- package/lib/modularui/ModularUIRequest.js.map +1 -1
- package/lib/modularui/ModularUIResponse.js +1 -2
- package/lib/modularui/ModularUIResponse.js.map +1 -1
- package/lib/modularui/UploadRequest.js +1 -2
- package/lib/modularui/UploadRequest.js.map +1 -1
- package/lib/react/ErrorBoundary.js +1 -2
- package/lib/react/ErrorBoundary.js.map +1 -1
- package/lib/react/ErrorBoundaryFallback.js +1 -2
- package/lib/react/ErrorBoundaryFallback.js.map +1 -1
- package/lib/react-client/rehydrate.js +1 -2
- package/lib/react-client/rehydrate.js.map +1 -1
- package/lib/react-server/createSSRComplete.js +1 -2
- package/lib/react-server/createSSRComplete.js.map +1 -1
- package/lib/react-server/htmlpage.js +1 -2
- package/lib/react-server/htmlpage.js.map +1 -1
- package/lib/react-server/renderSSRComplete.js +1 -2
- package/lib/react-server/renderSSRComplete.js.map +1 -1
- package/lib/react-server/renderSSRMinimal.js +1 -2
- package/lib/react-server/renderSSRMinimal.js.map +1 -1
- package/lib/react-server/serverNoSSR.js +1 -2
- package/lib/react-server/serverNoSSR.js.map +1 -1
- package/lib/react-server/serverSSR.js +1 -2
- package/lib/react-server/serverSSR.js.map +1 -1
- package/lib/react-server/serverUtil.js +2 -2
- package/lib/react-server/serverUtil.js.map +1 -1
- package/lib/react-theme/ThemeProvider.js +1 -2
- package/lib/react-theme/ThemeProvider.js.map +1 -1
- package/lib/react-theme/createTheme.js +1 -2
- package/lib/react-theme/createTheme.js.map +1 -1
- package/lib/redux/_modularui/ModularUIConnector.js +1 -2
- package/lib/redux/_modularui/ModularUIConnector.js.map +1 -1
- package/lib/redux/_modularui/ModularUISelectors.js +1 -2
- package/lib/redux/_modularui/ModularUISelectors.js.map +1 -1
- package/lib/redux/_modularui/withModularUI.js +1 -2
- package/lib/redux/_modularui/withModularUI.js.map +1 -1
- package/lib/redux/_router/RouterConnectors.js +5 -10
- package/lib/redux/_router/RouterConnectors.js.map +1 -1
- package/lib/redux/connectors/Application.js +1 -2
- package/lib/redux/connectors/Application.js.map +1 -1
- package/lib/redux/connectors/Breadcrumb.js +1 -2
- package/lib/redux/connectors/Breadcrumb.js.map +1 -1
- package/lib/redux/connectors/CaseView.js +1 -2
- package/lib/redux/connectors/CaseView.js.map +1 -1
- package/lib/redux/connectors/ConceptDetail.js +1 -2
- package/lib/redux/connectors/ConceptDetail.js.map +1 -1
- package/lib/redux/connectors/ContentBrowser.js +1 -2
- package/lib/redux/connectors/ContentBrowser.js.map +1 -1
- package/lib/redux/connectors/ContentDetail.js +1 -2
- package/lib/redux/connectors/ContentDetail.js.map +1 -1
- package/lib/redux/connectors/ContentDetailSection.js +1 -2
- package/lib/redux/connectors/ContentDetailSection.js.map +1 -1
- package/lib/redux/connectors/Form.js +1 -2
- package/lib/redux/connectors/Form.js.map +1 -1
- package/lib/redux/connectors/FormAttributeSet.js +1 -2
- package/lib/redux/connectors/FormAttributeSet.js.map +1 -1
- package/lib/redux/connectors/ListDetail.js +1 -2
- package/lib/redux/connectors/ListDetail.js.map +1 -1
- package/lib/redux/connectors/Modal.js +1 -2
- package/lib/redux/connectors/Modal.js.map +1 -1
- package/lib/redux/connectors/ModelCatalog.js +1 -2
- package/lib/redux/connectors/ModelCatalog.js.map +1 -1
- package/lib/redux/connectors/Notification.js +1 -2
- package/lib/redux/connectors/Notification.js.map +1 -1
- package/lib/redux/connectors/PanelRenderer.js +1 -2
- package/lib/redux/connectors/PanelRenderer.js.map +1 -1
- package/lib/redux/connectors/Progress.js +1 -2
- package/lib/redux/connectors/Progress.js.map +1 -1
- package/lib/redux/connectors/ProgressIndicator.js +1 -2
- package/lib/redux/connectors/ProgressIndicator.js.map +1 -1
- package/lib/redux/connectors/QuickSearch.js +1 -2
- package/lib/redux/connectors/QuickSearch.js.map +1 -1
- package/lib/redux/connectors/SignIn.js +1 -2
- package/lib/redux/connectors/SignIn.js.map +1 -1
- package/lib/redux/connectors/SignOut.js +1 -2
- package/lib/redux/connectors/SignOut.js.map +1 -1
- package/lib/redux/connectors/Tab.js +1 -2
- package/lib/redux/connectors/Tab.js.map +1 -1
- package/lib/redux/reducers/AuthReducer.js +1 -2
- package/lib/redux/reducers/AuthReducer.js.map +1 -1
- package/lib/redux/reducers/ErrorReducer.js +1 -2
- package/lib/redux/reducers/ErrorReducer.js.map +1 -1
- package/lib/redux/reducers/ModalsReducer.js +1 -2
- package/lib/redux/reducers/ModalsReducer.js.map +1 -1
- package/lib/redux/reducers/NotificationReducer.js +1 -2
- package/lib/redux/reducers/NotificationReducer.js.map +1 -1
- package/lib/redux/reducers/PreferencesReducer.js +1 -2
- package/lib/redux/reducers/PreferencesReducer.js.map +1 -1
- package/lib/redux/reducers/ProgressIndicatorReducer.js +1 -2
- package/lib/redux/reducers/ProgressIndicatorReducer.js.map +1 -1
- package/lib/redux/store/configureStore.js +1 -2
- package/lib/redux/store/configureStore.js.map +1 -1
- package/lib/utils/browser/Cache.js +1 -2
- package/lib/utils/browser/Cache.js.map +1 -1
- package/lib/utils/datetime/DateTimeUtil.js +4 -8
- package/lib/utils/datetime/DateTimeUtil.js.map +1 -1
- package/lib/utils/fetch/universalFetch.js +1 -2
- package/lib/utils/fetch/universalFetch.js.map +1 -1
- package/lib/utils/fetch/xhr.js +1 -2
- package/lib/utils/fetch/xhr.js.map +1 -1
- package/lib/utils/helpers/createUUID.js +1 -2
- package/lib/utils/helpers/createUUID.js.map +1 -1
- package/lib/utils/number/DecimalFormat.js +1 -2
- package/lib/utils/number/DecimalFormat.js.map +1 -1
- package/lib/utils/number/formatValue.js +1 -2
- package/lib/utils/number/formatValue.js.map +1 -1
- package/package.json +11 -10
- package/src/constants/LayoutHintConfig.js +9 -0
- package/src/constants/LayoutHints.js +5 -0
- package/src/models/actions/ActionCollection.js +3 -1
- package/src/models/application/__tests__/Application.spec.js +1 -1
- package/src/models/application/__tests__/webappContributions.json +2 -1
- package/src/models/links/__tests__/normalizeLinkJSON.spec.js +2 -1
- package/src/models/links/normalizeLinkJSON.js +20 -4
- package/src/models/taskgroup/__tests__/TaskGroupModel.spec.js +17 -0
- package/src/models/taskgroup/__tests__/taskgroup.json +25 -0
- package/src/models/taskgroup/__tests__/taskgroupContributions.json +23 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [1.36.0](https://git.beinformed.com/public/nl.beinformed.bi.layout.lib.ui/compare/v1.35.0...v1.36.0) (2023-10-26)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* **hide-in-ui:** make it possible to hide links in the ui ([da7da68](https://git.beinformed.com/public/nl.beinformed.bi.layout.lib.ui/commit/da7da68d2264bde2b43c9fdf41b61a58784d5c0d))
|
|
11
|
+
* **service-operations:** hide service operations from taskgroups ([0308803](https://git.beinformed.com/public/nl.beinformed.bi.layout.lib.ui/commit/03088038b1baa90146715cc99cdc403c44e622dc))
|
|
12
|
+
|
|
5
13
|
## [1.35.0](https://git.beinformed.com/public/nl.beinformed.bi.layout.lib.ui/compare/v1.34.2...v1.35.0) (2023-10-10)
|
|
6
14
|
|
|
7
15
|
|
|
@@ -137,6 +137,15 @@ export const LayoutHintConfiguration = {
|
|
|
137
137
|
},
|
|
138
138
|
link: "",
|
|
139
139
|
component: ["attribute"]
|
|
140
|
+
},
|
|
141
|
+
HIDE_IN_USER_INTERFACE: {
|
|
142
|
+
hint: "hide-in-user-interface",
|
|
143
|
+
description: {
|
|
144
|
+
NL: "Verberg een link in de user interface.",
|
|
145
|
+
EN: "Hide a link in the user interface."
|
|
146
|
+
},
|
|
147
|
+
link: "",
|
|
148
|
+
component: ["tab", "taskgroup"]
|
|
140
149
|
}
|
|
141
150
|
};
|
|
142
151
|
//# sourceMappingURL=LayoutHintConfig.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LayoutHintConfig.js","names":["LayoutHintConfiguration","MANDATORY","hint","description","NL","EN","link","component","DEPENDENT_ATTRIBUTE_CONTROL","DEPENDENT_ATTRIBUTE_ACTION","SHOW_ONE_RESULT_AS_DETAIL","HIDE_WHEN_EMPTY","INITIAL_FILTER","CONFIRM_PASSWORD","TITLE","INITIAL_TOTAL_FILESIZE","MAX_TOTAL_FILESIZE","CREATE_ACTION","UPDATE_ACTION","DELETE_ACTION","SORT_OPTIONS","CASEVIEW_LINK","DISABLED"],"sources":["../../src/constants/LayoutHintConfig.js"],"sourcesContent":["// @flow\nexport const LayoutHintConfiguration = {\n MANDATORY: {\n hint: \"mandatory\",\n description: {\n NL: \"Geeft aan of een attribuut verplicht is. Dient samen met de dependency hint gebruikt te worden.\",\n EN: \"Indicates a mandatory attribute.\\nShould be used together with the dependency hint.\",\n },\n link: \"\",\n component: [\"attribute\"],\n },\n DEPENDENT_ATTRIBUTE_CONTROL: {\n hint: \"dependent-control:${unique-control-id}\",\n description: {\n NL: \"Geeft aan dat dit het attribuut is waar attributen van afhankelijk zijn. Het unique-control-id is een uniek id dat kan worden gebruikt in the hint voor de show|hide actie op het afhankelijke attribuut.\",\n EN: \"Marks the choice attribute where other attributes depend on. The unique control id is a unique id that can be used in the hint for the show|hide action on the dependent attribute.\",\n },\n link: \"\",\n component: [\"attribute/boolean\", \"attribute/choice\"],\n },\n DEPENDENT_ATTRIBUTE_ACTION: {\n hint: \"dependent-attribute:(show|hide) when dependent-control:${unique-control-id} (equals|includes|notEquals|notIncludes) [${codemaps}]\",\n description: {\n NL: \"Toon of verberg een attribute dat afhankelijk is van de geselecteerde opties van een keuze attribute\",\n EN: \"To show or hide an attribute dependent on options of the choice control codemap that are selected or not selected.\",\n },\n link: \"\",\n component: [\"attribute\"],\n },\n SHOW_ONE_RESULT_AS_DETAIL: {\n hint: \"show-one-result-as-detail\",\n description: {\n NL: \"Een lijst met maar één item mag direct als detail getoond worden.\",\n EN: \"A list with only one detail must be shown as a detail.\",\n },\n link: \"\",\n component: [\"list\"],\n },\n HIDE_WHEN_EMPTY: {\n hint: \"hide-when-empty\",\n description: {\n NL: \"Een lijst zonder lijst-items en lijst-taken dient niet getoond worden.\",\n EN: \"A list without list-items and list-tasks should not be shown.\",\n },\n link: \"\",\n component: [\"list\"],\n },\n INITIAL_FILTER: {\n hint: \"initial-filter:${filter-name}=${initial-value}\",\n description: {\n NL: \"Laad de lijst met een standaardwaarde voor een filter, er is geen controle op het bestaan van het filter. Als het filter niet is geconfigureerd, treedt er een fout op. Houd er rekening mee dat filters hoofdlettergevoelig zijn.\",\n EN: \"Load the list with a default value for a filter, there is no check for the existence of the filter. If the filter is not configured, an error occurs. Keep in mind that filters are case sensitive.\",\n },\n link: \"\",\n component: [\"list\"],\n },\n CONFIRM_PASSWORD: {\n hint: \"confirm-password\",\n description: {\n NL: \"Wachtwoord attribuut moet bevestigd worden dmv een tweede wachtwoord attribuut.\",\n EN: \"Password attribute must be confirmed using a second password attribute.\",\n },\n link: \"\",\n component: [\"attribute/password\"],\n },\n TITLE: {\n hint: \"title\",\n description: {\n NL: \"Markeert een attribuut als een titel attribuut\",\n EN: \"Marks an attribute as a title attribute\",\n },\n link: \"\",\n component: [\n \"caseview_table\",\n \"codemap\",\n \"list/appointment_table\",\n \"list/assignment_table\",\n \"list/caseproperties_table\",\n \"list/document_table\",\n \"list/timelimit_table\",\n \"list/eventhistory_table\",\n \"list/note_table\",\n \"list/record_table\",\n \"list/case_table\",\n \"list/casesearch_table\",\n \"list/datastore_table\",\n \"list/datastoreview_table\",\n \"list/instrumentresult_table\",\n \"list/event_table\",\n \"list/user_table\",\n \"list/organization_table\",\n ],\n },\n INITIAL_TOTAL_FILESIZE: {\n hint: \"initial-total-file-size\",\n description: {\n NL: \"Wordt gebruikt in samenwerking met een upload attribuut, deze hint moet worden gezet op een readonly attribuut dat de reeds gebruikte file grootte bevat.\",\n EN: \"Used in conjunction with an upload attribute, this hint is set on a read only attribute containing the file size currently used.\",\n },\n link: \"\",\n component: [\"attribute/number\"],\n },\n MAX_TOTAL_FILESIZE: {\n hint: \"max-total-file-size\",\n description: {\n NL: \"Wordt gebruikt in samenwerking met een upload attribuut, deze hint moet worden gezet op een readonly attribuut dat de maximaal toegestane file grootte bevat.\",\n EN: \"Used in conjunction with an upload attribute, this hint is set on a read only attribute containing the maximum allowed total file size.\",\n },\n link: \"\",\n component: [\"attribute/number\"],\n },\n CREATE_ACTION: {\n hint: \"create\",\n description: {\n NL: \"Markeer taak als creëer taak.\",\n EN: \"Mark task as create task\",\n },\n component: [\"form\"],\n },\n UPDATE_ACTION: {\n hint: \"update\",\n description: {\n NL: \"Markeer taak als bewerk taak.\",\n EN: \"Mark task as update task\",\n },\n component: [\"form\"],\n },\n DELETE_ACTION: {\n hint: \"delete\",\n description: {\n NL: \"Markeer taak als verwijder taak.\",\n EN: \"Mark task as delete task\",\n },\n component: [\"form\"],\n },\n SORT_OPTIONS: {\n hint: \"sort-options\",\n description: {\n NL: \"Sorteer opties alfabetisch\",\n EN: \"Sort options alphabetically\",\n },\n component: [\"attribute/choice\"],\n },\n CASEVIEW_LINK: {\n hint: \"case-view-link\",\n description: {\n NL: \"Markeer een case id reference attribute als de referentie naar de case view. Vervangt de self link van een lijst item\",\n EN: \"Mark a case id reference attribute as the reference to the case view. Replaces the self link of a list item\",\n },\n component: [\"attribute/reference\", \"list/datastore_table\"],\n },\n DISABLED: {\n hint: \"disabled\",\n description: {\n NL: \"Geeft aan of een attribuut uitgeschakeld is.\",\n EN: \"Indicates a disabled attribute.\",\n },\n link: \"\",\n component: [\"attribute\"],\n },\n};\n"],"mappings":"AACA,OAAO,MAAMA,uBAAuB,GAAG;EACrCC,SAAS,EAAE;IACTC,IAAI,EAAE,WAAW;IACjBC,WAAW,EAAE;MACXC,EAAE,EAAE,iGAAiG;MACrGC,EAAE,EAAE;IACN,CAAC;IACDC,IAAI,EAAE,EAAE;IACRC,SAAS,EAAE,CAAC,WAAW;EACzB,CAAC;EACDC,2BAA2B,EAAE;IAC3BN,IAAI,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E,cAAc;IACpBC,WAAW,EAAE;MACXC,EAAE,EAAE,4BAA4B;MAChCC,EAAE,EAAE;IACN,CAAC;IACDE,SAAS,EAAE,CAAC,kBAAkB;EAChC,CAAC;EACDc,aAAa,EAAE;IACbnB,IAAI,EAAE,gBAAgB;IACtBC,WAAW,EAAE;MACXC,EAAE,EAAE,uHAAuH;MAC3HC,EAAE,EAAE;IACN,CAAC;IACDE,SAAS,EAAE,CAAC,qBAAqB,EAAE,sBAAsB;EAC3D,CAAC;EACDe,QAAQ,EAAE;IACRpB,IAAI,EAAE,UAAU;IAChBC,WAAW,EAAE;MACXC,EAAE,EAAE,8CAA8C;MAClDC,EAAE,EAAE;IACN,CAAC;IACDC,IAAI,EAAE,EAAE;IACRC,SAAS,EAAE,CAAC,WAAW;EACzB;AACF,CAAC"}
|
|
1
|
+
{"version":3,"file":"LayoutHintConfig.js","names":["LayoutHintConfiguration","MANDATORY","hint","description","NL","EN","link","component","DEPENDENT_ATTRIBUTE_CONTROL","DEPENDENT_ATTRIBUTE_ACTION","SHOW_ONE_RESULT_AS_DETAIL","HIDE_WHEN_EMPTY","INITIAL_FILTER","CONFIRM_PASSWORD","TITLE","INITIAL_TOTAL_FILESIZE","MAX_TOTAL_FILESIZE","CREATE_ACTION","UPDATE_ACTION","DELETE_ACTION","SORT_OPTIONS","CASEVIEW_LINK","DISABLED","HIDE_IN_USER_INTERFACE"],"sources":["../../src/constants/LayoutHintConfig.js"],"sourcesContent":["// @flow\nexport const LayoutHintConfiguration = {\n MANDATORY: {\n hint: \"mandatory\",\n description: {\n NL: \"Geeft aan of een attribuut verplicht is. Dient samen met de dependency hint gebruikt te worden.\",\n EN: \"Indicates a mandatory attribute.\\nShould be used together with the dependency hint.\",\n },\n link: \"\",\n component: [\"attribute\"],\n },\n DEPENDENT_ATTRIBUTE_CONTROL: {\n hint: \"dependent-control:${unique-control-id}\",\n description: {\n NL: \"Geeft aan dat dit het attribuut is waar attributen van afhankelijk zijn. Het unique-control-id is een uniek id dat kan worden gebruikt in the hint voor de show|hide actie op het afhankelijke attribuut.\",\n EN: \"Marks the choice attribute where other attributes depend on. The unique control id is a unique id that can be used in the hint for the show|hide action on the dependent attribute.\",\n },\n link: \"\",\n component: [\"attribute/boolean\", \"attribute/choice\"],\n },\n DEPENDENT_ATTRIBUTE_ACTION: {\n hint: \"dependent-attribute:(show|hide) when dependent-control:${unique-control-id} (equals|includes|notEquals|notIncludes) [${codemaps}]\",\n description: {\n NL: \"Toon of verberg een attribute dat afhankelijk is van de geselecteerde opties van een keuze attribute\",\n EN: \"To show or hide an attribute dependent on options of the choice control codemap that are selected or not selected.\",\n },\n link: \"\",\n component: [\"attribute\"],\n },\n SHOW_ONE_RESULT_AS_DETAIL: {\n hint: \"show-one-result-as-detail\",\n description: {\n NL: \"Een lijst met maar één item mag direct als detail getoond worden.\",\n EN: \"A list with only one detail must be shown as a detail.\",\n },\n link: \"\",\n component: [\"list\"],\n },\n HIDE_WHEN_EMPTY: {\n hint: \"hide-when-empty\",\n description: {\n NL: \"Een lijst zonder lijst-items en lijst-taken dient niet getoond worden.\",\n EN: \"A list without list-items and list-tasks should not be shown.\",\n },\n link: \"\",\n component: [\"list\"],\n },\n INITIAL_FILTER: {\n hint: \"initial-filter:${filter-name}=${initial-value}\",\n description: {\n NL: \"Laad de lijst met een standaardwaarde voor een filter, er is geen controle op het bestaan van het filter. Als het filter niet is geconfigureerd, treedt er een fout op. Houd er rekening mee dat filters hoofdlettergevoelig zijn.\",\n EN: \"Load the list with a default value for a filter, there is no check for the existence of the filter. If the filter is not configured, an error occurs. Keep in mind that filters are case sensitive.\",\n },\n link: \"\",\n component: [\"list\"],\n },\n CONFIRM_PASSWORD: {\n hint: \"confirm-password\",\n description: {\n NL: \"Wachtwoord attribuut moet bevestigd worden dmv een tweede wachtwoord attribuut.\",\n EN: \"Password attribute must be confirmed using a second password attribute.\",\n },\n link: \"\",\n component: [\"attribute/password\"],\n },\n TITLE: {\n hint: \"title\",\n description: {\n NL: \"Markeert een attribuut als een titel attribuut\",\n EN: \"Marks an attribute as a title attribute\",\n },\n link: \"\",\n component: [\n \"caseview_table\",\n \"codemap\",\n \"list/appointment_table\",\n \"list/assignment_table\",\n \"list/caseproperties_table\",\n \"list/document_table\",\n \"list/timelimit_table\",\n \"list/eventhistory_table\",\n \"list/note_table\",\n \"list/record_table\",\n \"list/case_table\",\n \"list/casesearch_table\",\n \"list/datastore_table\",\n \"list/datastoreview_table\",\n \"list/instrumentresult_table\",\n \"list/event_table\",\n \"list/user_table\",\n \"list/organization_table\",\n ],\n },\n INITIAL_TOTAL_FILESIZE: {\n hint: \"initial-total-file-size\",\n description: {\n NL: \"Wordt gebruikt in samenwerking met een upload attribuut, deze hint moet worden gezet op een readonly attribuut dat de reeds gebruikte file grootte bevat.\",\n EN: \"Used in conjunction with an upload attribute, this hint is set on a read only attribute containing the file size currently used.\",\n },\n link: \"\",\n component: [\"attribute/number\"],\n },\n MAX_TOTAL_FILESIZE: {\n hint: \"max-total-file-size\",\n description: {\n NL: \"Wordt gebruikt in samenwerking met een upload attribuut, deze hint moet worden gezet op een readonly attribuut dat de maximaal toegestane file grootte bevat.\",\n EN: \"Used in conjunction with an upload attribute, this hint is set on a read only attribute containing the maximum allowed total file size.\",\n },\n link: \"\",\n component: [\"attribute/number\"],\n },\n CREATE_ACTION: {\n hint: \"create\",\n description: {\n NL: \"Markeer taak als creëer taak.\",\n EN: \"Mark task as create task\",\n },\n component: [\"form\"],\n },\n UPDATE_ACTION: {\n hint: \"update\",\n description: {\n NL: \"Markeer taak als bewerk taak.\",\n EN: \"Mark task as update task\",\n },\n component: [\"form\"],\n },\n DELETE_ACTION: {\n hint: \"delete\",\n description: {\n NL: \"Markeer taak als verwijder taak.\",\n EN: \"Mark task as delete task\",\n },\n component: [\"form\"],\n },\n SORT_OPTIONS: {\n hint: \"sort-options\",\n description: {\n NL: \"Sorteer opties alfabetisch\",\n EN: \"Sort options alphabetically\",\n },\n component: [\"attribute/choice\"],\n },\n CASEVIEW_LINK: {\n hint: \"case-view-link\",\n description: {\n NL: \"Markeer een case id reference attribute als de referentie naar de case view. Vervangt de self link van een lijst item\",\n EN: \"Mark a case id reference attribute as the reference to the case view. Replaces the self link of a list item\",\n },\n component: [\"attribute/reference\", \"list/datastore_table\"],\n },\n DISABLED: {\n hint: \"disabled\",\n description: {\n NL: \"Geeft aan of een attribuut uitgeschakeld is.\",\n EN: \"Indicates a disabled attribute.\",\n },\n link: \"\",\n component: [\"attribute\"],\n },\n HIDE_IN_USER_INTERFACE: {\n hint: \"hide-in-user-interface\",\n description: {\n NL: \"Verberg een link in de user interface.\",\n EN: \"Hide a link in the user interface.\",\n },\n link: \"\",\n component: [\"tab\", \"taskgroup\"],\n },\n};\n"],"mappings":"AACA,OAAO,MAAMA,uBAAuB,GAAG;EACrCC,SAAS,EAAE;IACTC,IAAI,EAAE,WAAW;IACjBC,WAAW,EAAE;MACXC,EAAE,EAAE,iGAAiG;MACrGC,EAAE,EAAE;IACN,CAAC;IACDC,IAAI,EAAE,EAAE;IACRC,SAAS,EAAE,CAAC,WAAW;EACzB,CAAC;EACDC,2BAA2B,EAAE;IAC3BN,IAAI,EAAE,wCAAwC;IAC9CC,WAAW,EAAE;MACXC,EAAE,EAAE,2MAA2M;MAC/MC,EAAE,EAAE;IACN,CAAC;IACDC,IAAI,EAAE,EAAE;IACRC,SAAS,EAAE,CAAC,mBAAmB,EAAE,kBAAkB;EACrD,CAAC;EACDE,0BAA0B,EAAE;IAC1BP,IAAI,EAAE,mIAAmI;IACzIC,WAAW,EAAE;MACXC,EAAE,EAAE,sGAAsG;MAC1GC,EAAE,EAAE;IACN,CAAC;IACDC,IAAI,EAAE,EAAE;IACRC,SAAS,EAAE,CAAC,WAAW;EACzB,CAAC;EACDG,yBAAyB,EAAE;IACzBR,IAAI,EAAE,2BAA2B;IACjCC,WAAW,EAAE;MACXC,EAAE,EAAE,mEAAmE;MACvEC,EAAE,EAAE;IACN,CAAC;IACDC,IAAI,EAAE,EAAE;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AE;IACtBrB,IAAI,EAAE,wBAAwB;IAC9BC,WAAW,EAAE;MACXC,EAAE,EAAE,wCAAwC;MAC5CC,EAAE,EAAE;IACN,CAAC;IACDC,IAAI,EAAE,EAAE;IACRC,SAAS,EAAE,CAAC,KAAK,EAAE,WAAW;EAChC;AACF,CAAC"}
|
|
@@ -111,6 +111,11 @@ export const CASEVIEW_LINK = getHint("CASEVIEW_LINK");
|
|
|
111
111
|
*/
|
|
112
112
|
export const RENDER_SECTION_LABEL = "render-section-label";
|
|
113
113
|
|
|
114
|
+
/**
|
|
115
|
+
* Layout-hint: Hide a link to a component
|
|
116
|
+
*/
|
|
117
|
+
export const HIDE_IN_USER_INTERFACE = getHint("HIDE_IN_USER_INTERFACE");
|
|
118
|
+
|
|
114
119
|
/**
|
|
115
120
|
*/
|
|
116
121
|
export const getLayoutHintConfiguration = () => LayoutHintConfiguration;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LayoutHints.js","names":["LayoutHintConfiguration","getHint","hint","MANDATORY","DISABLED","DEPENDENT_ATTRIBUTE_CONTROL","DEPENDENT_ATTRIBUTE","CONFIRM_PASSWORD","SORT_OPTIONS","TITLE","DELETE_ACTION","UPDATE_ACTION","CREATE_ACTION","INITIAL_TOTAL_FILESIZE","MAX_TOTAL_FILESIZE","SHOW_ONE_RESULT_AS_DETAIL","HIDE_WHEN_EMPTY","INITIAL_FILTER","CASEVIEW_LINK","RENDER_SECTION_LABEL","getLayoutHintConfiguration"],"sources":["../../src/constants/LayoutHints.js"],"sourcesContent":["// @flow\nimport { LayoutHintConfiguration } from \"./LayoutHintConfig\";\n\n/**\n * Retrieve layout hint by id from the layout hint configuration\n */\nconst getHint = (hint: string): string => {\n if (LayoutHintConfiguration[hint]) {\n return LayoutHintConfiguration[hint].hint;\n }\n\n return \"\";\n};\n\n/**\n * Layout-hint: Indicates a mandatory attribute. Should be used together with the dependency hint.\n */\nexport const MANDATORY: string = getHint(\"MANDATORY\");\n\n/**\n * Layout-hint: Indicates a disabled attribute.\n * @constant\n */\nexport const DISABLED: string = getHint(\"DISABLED\");\n\n/*\n * --------------------------------\n * SELECT DEPENDENT ATTRIBUTES\n * --------------------------------\n */\n/**\n * Layout-hint: Marks the choice attribute where other attributes depend on. The unique control id is a unique id that can be used in the hint for the show|hide action on the dependent attribute.\n */\nexport const DEPENDENT_ATTRIBUTE_CONTROL = \"dependent-control\";\n/**\n */\nexport const DEPENDENT_ATTRIBUTE = \"dependent-attribute:\";\n\n/*\n * --------------------------------\n * ATTRIBUTES\n * --------------------------------\n */\n/**\n * Layout-hint: Password attribute must be confirmed using a second password attribute.\n */\nexport const CONFIRM_PASSWORD: string = getHint(\"CONFIRM_PASSWORD\");\n/**\n * Layout-hint: Sort options alphabetically\n */\nexport const SORT_OPTIONS: string = getHint(\"SORT_OPTIONS\");\n/**\n * Layout-hint: Marks an attribute as a title attribute\n */\nexport const TITLE: string = getHint(\"TITLE\");\n\n/*\n * --------------------------------\n * FORM\n * --------------------------------\n */\n/**\n * Layout-hint: Mark task as delete task\n */\nexport const DELETE_ACTION: string = getHint(\"DELETE_ACTION\");\n/**\n * Layout-hint: Mark task as update task\n */\nexport const UPDATE_ACTION: string = getHint(\"UPDATE_ACTION\");\n/**\n * Layout-hint: Mark task as create task\n */\nexport const CREATE_ACTION: string = getHint(\"CREATE_ACTION\");\n\n/*\n * --------------------------------\n * UPLOAD TOTAL FILE SIZE\n * --------------------------------\n */\n/**\n * Layout-hint: Used in conjunction with an upload attribute, this hint is set on a read only attribute containing the file size currently used.\n */\nexport const INITIAL_TOTAL_FILESIZE: string = getHint(\"INITIAL_TOTAL_FILESIZE\");\n/**\n * Layout-hint: Used in conjunction with an upload attribute, this hint is set on a read only attribute containing the maximum allowed total file size.\n */\nexport const MAX_TOTAL_FILESIZE: string = getHint(\"MAX_TOTAL_FILESIZE\");\n\n/*\n * --------------------------------\n * LISTS\n * --------------------------------\n */\n/**\n * Layout-hint: A list with only one detail must be shown as a detail\n */\nexport const SHOW_ONE_RESULT_AS_DETAIL: string = getHint(\n \"SHOW_ONE_RESULT_AS_DETAIL\",\n);\n/**\n * Layout-hint: A list without list-items and list-tasks should not be shown.\n */\nexport const HIDE_WHEN_EMPTY: string = getHint(\"HIDE_WHEN_EMPTY\");\n/**\n * Layout-hint: Sets a default value on a filter\n */\nexport const INITIAL_FILTER: string = \"initial-filter:\";\n/**\n * Layout-hint: Mark a case id reference attribute as the reference to the case view. Replaces the self link of a list item\n */\nexport const CASEVIEW_LINK: string = getHint(\"CASEVIEW_LINK\");\n\n/**\n * Layout-hint: Set on configuration of instruments to show content in a popover on a label\n */\nexport const RENDER_SECTION_LABEL = \"render-section-label\";\n\n/**\n */\nexport const getLayoutHintConfiguration = (): Object => LayoutHintConfiguration;\n\nexport default getHint;\n"],"mappings":"AACA,SAASA,uBAAuB,QAAQ,oBAAoB;;AAE5D;AACA;AACA;AACA,MAAMC,OAAO,GAAIC,IAAY,IAAa;EACxC,IAAIF,uBAAuB,CAACE,IAAI,CAAC,EAAE;IACjC,OAAOF,uBAAuB,CAACE,IAAI,CAAC,CAACA,IAAI;EAC3C;EAEA,OAAO,EAAE;AACX,CAAC;;AAED;AACA;AACA;AACA,OAAO,MAAMC,SAAiB,GAAGF,OAAO,CAAC,WAAW,CAAC;;AAErD;AACA;AACA;AACA;AACA,OAAO,MAAMG,QAAgB,GAAGH,OAAO,CAAC,UAAU,CAAC;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMI,2BAA2B,GAAG,mBAAmB;AAC9D;AACA;AACA,OAAO,MAAMC,mBAAmB,GAAG,sBAAsB;;AAEzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,gBAAwB,GAAGN,OAAO,CAAC,kBAAkB,CAAC;AACnE;AACA;AACA;AACA,OAAO,MAAMO,YAAoB,GAAGP,OAAO,CAAC,cAAc,CAAC;AAC3D;AACA;AACA;AACA,OAAO,MAAMQ,KAAa,GAAGR,OAAO,CAAC,OAAO,CAAC;;AAE7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMS,aAAqB,GAAGT,OAAO,CAAC,eAAe,CAAC;AAC7D;AACA;AACA;AACA,OAAO,MAAMU,aAAqB,GAAGV,OAAO,CAAC,eAAe,CAAC;AAC7D;AACA;AACA;AACA,OAAO,MAAMW,aAAqB,GAAGX,OAAO,CAAC,eAAe,CAAC;;AAE7D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMY,sBAA8B,GAAGZ,OAAO,CAAC,wBAAwB,CAAC;AAC/E;AACA;AACA;AACA,OAAO,MAAMa,kBAA0B,GAAGb,OAAO,CAAC,oBAAoB,CAAC;;AAEvE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMc,yBAAiC,GAAGd,OAAO,CACtD,2BACF,CAAC;AACD;AACA;AACA;AACA,OAAO,MAAMe,eAAuB,GAAGf,OAAO,CAAC,iBAAiB,CAAC;AACjE;AACA;AACA;AACA,OAAO,MAAMgB,cAAsB,GAAG,iBAAiB;AACvD;AACA;AACA;AACA,OAAO,MAAMC,aAAqB,GAAGjB,OAAO,CAAC,eAAe,CAAC;;AAE7D;AACA;AACA;AACA,OAAO,MAAMkB,oBAAoB,GAAG,sBAAsB;;AAE1D;AACA;AACA,OAAO,MAAMC,0BAA0B,GAAGA,CAAA,
|
|
1
|
+
{"version":3,"file":"LayoutHints.js","names":["LayoutHintConfiguration","getHint","hint","MANDATORY","DISABLED","DEPENDENT_ATTRIBUTE_CONTROL","DEPENDENT_ATTRIBUTE","CONFIRM_PASSWORD","SORT_OPTIONS","TITLE","DELETE_ACTION","UPDATE_ACTION","CREATE_ACTION","INITIAL_TOTAL_FILESIZE","MAX_TOTAL_FILESIZE","SHOW_ONE_RESULT_AS_DETAIL","HIDE_WHEN_EMPTY","INITIAL_FILTER","CASEVIEW_LINK","RENDER_SECTION_LABEL","HIDE_IN_USER_INTERFACE","getLayoutHintConfiguration"],"sources":["../../src/constants/LayoutHints.js"],"sourcesContent":["// @flow\nimport { LayoutHintConfiguration } from \"./LayoutHintConfig\";\n\n/**\n * Retrieve layout hint by id from the layout hint configuration\n */\nconst getHint = (hint: string): string => {\n if (LayoutHintConfiguration[hint]) {\n return LayoutHintConfiguration[hint].hint;\n }\n\n return \"\";\n};\n\n/**\n * Layout-hint: Indicates a mandatory attribute. Should be used together with the dependency hint.\n */\nexport const MANDATORY: string = getHint(\"MANDATORY\");\n\n/**\n * Layout-hint: Indicates a disabled attribute.\n * @constant\n */\nexport const DISABLED: string = getHint(\"DISABLED\");\n\n/*\n * --------------------------------\n * SELECT DEPENDENT ATTRIBUTES\n * --------------------------------\n */\n/**\n * Layout-hint: Marks the choice attribute where other attributes depend on. The unique control id is a unique id that can be used in the hint for the show|hide action on the dependent attribute.\n */\nexport const DEPENDENT_ATTRIBUTE_CONTROL = \"dependent-control\";\n/**\n */\nexport const DEPENDENT_ATTRIBUTE = \"dependent-attribute:\";\n\n/*\n * --------------------------------\n * ATTRIBUTES\n * --------------------------------\n */\n/**\n * Layout-hint: Password attribute must be confirmed using a second password attribute.\n */\nexport const CONFIRM_PASSWORD: string = getHint(\"CONFIRM_PASSWORD\");\n/**\n * Layout-hint: Sort options alphabetically\n */\nexport const SORT_OPTIONS: string = getHint(\"SORT_OPTIONS\");\n/**\n * Layout-hint: Marks an attribute as a title attribute\n */\nexport const TITLE: string = getHint(\"TITLE\");\n\n/*\n * --------------------------------\n * FORM\n * --------------------------------\n */\n/**\n * Layout-hint: Mark task as delete task\n */\nexport const DELETE_ACTION: string = getHint(\"DELETE_ACTION\");\n/**\n * Layout-hint: Mark task as update task\n */\nexport const UPDATE_ACTION: string = getHint(\"UPDATE_ACTION\");\n/**\n * Layout-hint: Mark task as create task\n */\nexport const CREATE_ACTION: string = getHint(\"CREATE_ACTION\");\n\n/*\n * --------------------------------\n * UPLOAD TOTAL FILE SIZE\n * --------------------------------\n */\n/**\n * Layout-hint: Used in conjunction with an upload attribute, this hint is set on a read only attribute containing the file size currently used.\n */\nexport const INITIAL_TOTAL_FILESIZE: string = getHint(\"INITIAL_TOTAL_FILESIZE\");\n/**\n * Layout-hint: Used in conjunction with an upload attribute, this hint is set on a read only attribute containing the maximum allowed total file size.\n */\nexport const MAX_TOTAL_FILESIZE: string = getHint(\"MAX_TOTAL_FILESIZE\");\n\n/*\n * --------------------------------\n * LISTS\n * --------------------------------\n */\n/**\n * Layout-hint: A list with only one detail must be shown as a detail\n */\nexport const SHOW_ONE_RESULT_AS_DETAIL: string = getHint(\n \"SHOW_ONE_RESULT_AS_DETAIL\",\n);\n/**\n * Layout-hint: A list without list-items and list-tasks should not be shown.\n */\nexport const HIDE_WHEN_EMPTY: string = getHint(\"HIDE_WHEN_EMPTY\");\n/**\n * Layout-hint: Sets a default value on a filter\n */\nexport const INITIAL_FILTER: string = \"initial-filter:\";\n/**\n * Layout-hint: Mark a case id reference attribute as the reference to the case view. Replaces the self link of a list item\n */\nexport const CASEVIEW_LINK: string = getHint(\"CASEVIEW_LINK\");\n\n/**\n * Layout-hint: Set on configuration of instruments to show content in a popover on a label\n */\nexport const RENDER_SECTION_LABEL = \"render-section-label\";\n\n/**\n * Layout-hint: Hide a link to a component\n */\nexport const HIDE_IN_USER_INTERFACE: string = getHint(\"HIDE_IN_USER_INTERFACE\");\n\n/**\n */\nexport const getLayoutHintConfiguration = (): Object => LayoutHintConfiguration;\n\nexport default getHint;\n"],"mappings":"AACA,SAASA,uBAAuB,QAAQ,oBAAoB;;AAE5D;AACA;AACA;AACA,MAAMC,OAAO,GAAIC,IAAY,IAAa;EACxC,IAAIF,uBAAuB,CAACE,IAAI,CAAC,EAAE;IACjC,OAAOF,uBAAuB,CAACE,IAAI,CAAC,CAACA,IAAI;EAC3C;EAEA,OAAO,EAAE;AACX,CAAC;;AAED;AACA;AACA;AACA,OAAO,MAAMC,SAAiB,GAAGF,OAAO,CAAC,WAAW,CAAC;;AAErD;AACA;AACA;AACA;AAC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1D;AACA;AACA;AACA,OAAO,MAAMC,sBAA8B,GAAGnB,OAAO,CAAC,wBAAwB,CAAC;;AAE/E;AACA;AACA,OAAO,MAAMoB,0BAA0B,GAAGA,CAAA,KAAcrB,uBAAuB;AAE/E,eAAeC,OAAO"}
|
|
@@ -18,7 +18,7 @@ export default class ActionCollection extends BaseCollection {
|
|
|
18
18
|
} else if (Array.isArray(actionsContributions)) {
|
|
19
19
|
const actionModels = [];
|
|
20
20
|
for (const actionData of actions) {
|
|
21
|
-
const actionContribution = _findInstanceProperty(actionsContributions).call(actionsContributions, actionContribution => actionContribution.name === actionData.name);
|
|
21
|
+
const actionContribution = _findInstanceProperty(actionsContributions).call(actionsContributions, actionContribution => actionContribution.name === actionData.name && actionContribution.type !== "service-operation");
|
|
22
22
|
if (actionContribution) {
|
|
23
23
|
actionModels.push(new ActionModel(actionData, actionContribution));
|
|
24
24
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionCollection.js","names":["BaseCollection","ActionModel","ActionCollection","constructor","actions","actionsContributions","Array","isArray","collection","actionModels","actionData","actionContribution","_findInstanceProperty","call","name","push","getActionByKey","key","_context","newCollection","_filterInstanceProperty","action","first","getActionsByType","
|
|
1
|
+
{"version":3,"file":"ActionCollection.js","names":["BaseCollection","ActionModel","ActionCollection","constructor","actions","actionsContributions","Array","isArray","collection","actionModels","actionData","actionContribution","_findInstanceProperty","call","name","type","push","getActionByKey","key","_context","newCollection","_filterInstanceProperty","action","first","getActionsByType","_context2","_includesInstanceProperty","getActionsByLayoutHint","_context3","_len","arguments","length","hints","_key","layouthint","has","hasActionsByLayoutHint","routePath","_context4","enabledRoutes","isDisabled","path","_mapInstanceProperty","selfhref","join"],"sources":["../../../src/models/actions/ActionCollection.js"],"sourcesContent":["// @flow\nimport BaseCollection from \"../base/BaseCollection\";\nimport ActionModel from \"./ActionModel\";\n\n/**\n * Collection of actions\n */\nexport default class ActionCollection extends BaseCollection<ActionModel> {\n constructor(actions?: Object, actionsContributions?: Object) {\n super();\n\n // no actions gives an empty collection\n if (!Array.isArray(actions)) {\n this.collection = [];\n } else if (Array.isArray(actionsContributions)) {\n const actionModels = [];\n for (const actionData of actions) {\n const actionContribution = actionsContributions.find(\n (actionContribution) =>\n actionContribution.name === actionData.name &&\n actionContribution.type !== \"service-operation\",\n );\n\n if (actionContribution) {\n actionModels.push(new ActionModel(actionData, actionContribution));\n }\n }\n\n this.collection = actionModels;\n }\n }\n\n /**\n * Retrieve action by key\n */\n getActionByKey(key: string): ActionModel | null {\n const newCollection = new ActionCollection();\n\n newCollection.collection = this.filter((action) => action.key === key);\n\n return newCollection.first;\n }\n\n /**\n * Retrieve actions by type\n */\n getActionsByType(type: string | Array<string>): ActionCollection {\n const newCollection = new ActionCollection();\n\n newCollection.collection = this.filter((action) =>\n Array.isArray(type) ? type.includes(action.type) : action.type === type,\n );\n\n return newCollection;\n }\n\n /**\n * Retrieve actions including a layout hint\n */\n getActionsByLayoutHint(...hints: Array<string>): ActionCollection {\n const newCollection = new ActionCollection();\n\n newCollection.collection = this.filter((action) =>\n action.layouthint.has(...hints),\n );\n\n return newCollection;\n }\n\n /**\n * Indicates if an action with layout hint exists\n */\n hasActionsByLayoutHint(...hints: Array<string>): boolean {\n return this.getActionsByLayoutHint(...hints).length > 0;\n }\n\n /**\n * Use as path regex for react router routes\n */\n get routePath(): string {\n const enabledRoutes = this.collection.filter(\n (action) => !action.isDisabled,\n );\n\n if (enabledRoutes.length === 0) {\n return \"__NON_EXISTING_ROUTE__\";\n }\n\n const path = enabledRoutes.map((action) => action.selfhref.path).join(\"|\");\n\n return this.length > 1 ? `(${path})` : path;\n }\n}\n"],"mappings":";;;;AACA,OAAOA,cAAc,MAAM,wBAAwB;AACnD,OAAOC,WAAW,MAAM,eAAe;;AAEvC;AACA;AACA;AACA,eAAe,MAAMC,gBAAgB,SAASF,cAAc,CAAc;EACxEG,WAAWA,CAACC,OAAgB,EAAEC,oBAA6B,EAAE;IAC3D,KAAK,C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CAAC,GAAG,CAAC;IAE1E,OAAO,IAAI,CAACb,MAAM,GAAG,CAAC,GAAI,IAAGU,IAAK,GAAE,GAAGA,IAAI;EAC7C;AACF"}
|
|
@@ -3,13 +3,19 @@ import _mapInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance
|
|
|
3
3
|
import _Object$assign from "@babel/runtime-corejs3/core-js-stable/object/assign";
|
|
4
4
|
import _filterInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/filter";
|
|
5
5
|
import _findInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/find";
|
|
6
|
+
import _includesInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/includes";
|
|
7
|
+
import { HIDE_IN_USER_INTERFACE } from "../../constants";
|
|
8
|
+
|
|
6
9
|
/**
|
|
7
10
|
* Flatten JSON structure into a one dimensional array
|
|
8
11
|
* @private
|
|
9
12
|
*/
|
|
10
13
|
const createLink = (link, linkKey) => {
|
|
11
|
-
const newLink =
|
|
14
|
+
const newLink = {
|
|
15
|
+
...link
|
|
16
|
+
};
|
|
12
17
|
newLink.group = linkKey;
|
|
18
|
+
newLink.layouthint = link.layouthint ? [...link.layouthint] : [];
|
|
13
19
|
return newLink;
|
|
14
20
|
};
|
|
15
21
|
|
|
@@ -48,6 +54,9 @@ const flattenContributionsJSON = json => {
|
|
|
48
54
|
if (!newLink.group) {
|
|
49
55
|
newLink.group = linkKey;
|
|
50
56
|
}
|
|
57
|
+
if (!newLink.layouthint) {
|
|
58
|
+
newLink.layouthint = [];
|
|
59
|
+
}
|
|
51
60
|
flattenedJSON.push(newLink);
|
|
52
61
|
}
|
|
53
62
|
});
|
|
@@ -59,17 +68,19 @@ const flattenContributionsJSON = json => {
|
|
|
59
68
|
* @private
|
|
60
69
|
*/
|
|
61
70
|
const normalizeLinkJSON = (data, contributions) => {
|
|
71
|
+
var _context3;
|
|
62
72
|
if (!data && !contributions) {
|
|
63
73
|
return [];
|
|
64
74
|
}
|
|
65
75
|
const flattenedData = data ? flattenDataJSON(data) : [];
|
|
66
76
|
const flattenedContributions = contributions ? flattenContributionsJSON(contributions) : [];
|
|
67
77
|
const filteredContributions = _filterInstanceProperty(flattenedContributions).call(flattenedContributions, contribution => contribution.href && !_findInstanceProperty(flattenedData).call(flattenedData, linkData => linkData.name === contribution.name));
|
|
68
|
-
return [..._mapInstanceProperty(flattenedData).call(flattenedData, link => ({
|
|
78
|
+
return _filterInstanceProperty(_context3 = [..._mapInstanceProperty(flattenedData).call(flattenedData, link => ({
|
|
69
79
|
data: link,
|
|
70
80
|
contributions: _findInstanceProperty(flattenedContributions).call(flattenedContributions, contr => contr.name === link.name) || {
|
|
71
81
|
name: link.name,
|
|
72
|
-
label: link.name
|
|
82
|
+
label: link.name ?? "",
|
|
83
|
+
layouthint: link.layouthint ?? []
|
|
73
84
|
}
|
|
74
85
|
})), ..._mapInstanceProperty(filteredContributions).call(filteredContributions, link => ({
|
|
75
86
|
data: {
|
|
@@ -78,9 +89,13 @@ const normalizeLinkJSON = (data, contributions) => {
|
|
|
78
89
|
},
|
|
79
90
|
contributions: {
|
|
80
91
|
name: link.name,
|
|
81
|
-
label: link.name
|
|
92
|
+
label: link.name ?? "",
|
|
93
|
+
layouthint: link.layouthint
|
|
82
94
|
}
|
|
83
|
-
}))]
|
|
95
|
+
}))]).call(_context3, link => {
|
|
96
|
+
var _context4;
|
|
97
|
+
return !_includesInstanceProperty(_context4 = link.contributions.layouthint).call(_context4, HIDE_IN_USER_INTERFACE);
|
|
98
|
+
});
|
|
84
99
|
};
|
|
85
100
|
export default normalizeLinkJSON;
|
|
86
101
|
//# sourceMappingURL=normalizeLinkJSON.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"normalizeLinkJSON.js","names":["createLink","link","linkKey","newLink","group","flattenDataJSON","json","flattenedJSON","_Object$keys","forEach","Array","isArray","_context","push","_mapInstanceProperty","call","_Object$assign","name","flattenContributionsJSON","_context2","label","normalizeLinkJSON","data","contributions","flattenedData","flattenedContributions","filteredContributions","_filterInstanceProperty","contribution","href","_findInstanceProperty","linkData","contr"],"sources":["../../../src/models/links/normalizeLinkJSON.js"],"sourcesContent":["// @flow\n/**\n * Flatten JSON structure into a one dimensional array\n * @private\n */\nconst createLink = (link: Object, linkKey: string) => {\n const newLink = link;\n newLink.group = linkKey;\n return newLink;\n};\n\n/**\n * @private\n */\nconst flattenDataJSON = (json: Object) => {\n const flattenedJSON = [];\n\n Object.keys(json).forEach((linkKey) => {\n if (Array.isArray(json[linkKey])) {\n flattenedJSON.push(\n ...json[linkKey].map((link) => createLink(link, linkKey)),\n );\n } else if (json[linkKey]) {\n flattenedJSON.push(\n Object.assign(json[linkKey], {\n name: linkKey,\n }),\n );\n }\n });\n\n return flattenedJSON;\n};\n\n/**\n */\nconst flattenContributionsJSON = (json: Object) => {\n const flattenedJSON = [];\n\n Object.keys(json).forEach((linkKey) => {\n if (Array.isArray(json[linkKey])) {\n flattenedJSON.push(\n ...json[linkKey].map((link) => createLink(link, linkKey)),\n );\n } else if (json[linkKey]) {\n const newLink = json[linkKey];\n newLink.name = linkKey;\n if (!newLink.label) {\n newLink.label = linkKey;\n }\n if (!newLink.group) {\n newLink.group = linkKey;\n }\n\n flattenedJSON.push(newLink);\n }\n });\n\n return flattenedJSON;\n};\n\n/**\n * Normalize various link formats from services into a concistent format\n * @private\n */\nconst normalizeLinkJSON = (\n data: Object,\n contributions: Object,\n): Array<{\n data: any,\n contributions: any,\n}> => {\n if (!data && !contributions) {\n return [];\n }\n\n const flattenedData = data ? flattenDataJSON(data) : [];\n const flattenedContributions = contributions\n ? flattenContributionsJSON(contributions)\n : [];\n\n const filteredContributions = flattenedContributions.filter(\n (contribution) =>\n contribution.href &&\n !flattenedData.find((linkData) => linkData.name === contribution.name),\n );\n\n return [\n ...flattenedData.map((link) => ({\n data: link,\n contributions: flattenedContributions.find(\n (contr) => contr.name === link.name,\n ) || {
|
|
1
|
+
{"version":3,"file":"normalizeLinkJSON.js","names":["HIDE_IN_USER_INTERFACE","createLink","link","linkKey","newLink","group","layouthint","flattenDataJSON","json","flattenedJSON","_Object$keys","forEach","Array","isArray","_context","push","_mapInstanceProperty","call","_Object$assign","name","flattenContributionsJSON","_context2","label","normalizeLinkJSON","data","contributions","_context3","flattenedData","flattenedContributions","filteredContributions","_filterInstanceProperty","contribution","href","_findInstanceProperty","linkData","contr","_context4","_includesInstanceProperty"],"sources":["../../../src/models/links/normalizeLinkJSON.js"],"sourcesContent":["// @flow\nimport { HIDE_IN_USER_INTERFACE } from \"../../constants\";\n\n/**\n * Flatten JSON structure into a one dimensional array\n * @private\n */\nconst createLink = (link: Object, linkKey: string) => {\n const newLink = { ...link };\n newLink.group = linkKey;\n newLink.layouthint = link.layouthint ? [...link.layouthint] : [];\n return newLink;\n};\n\n/**\n * @private\n */\nconst flattenDataJSON = (json: Object) => {\n const flattenedJSON = [];\n\n Object.keys(json).forEach((linkKey) => {\n if (Array.isArray(json[linkKey])) {\n flattenedJSON.push(\n ...json[linkKey].map((link) => createLink(link, linkKey)),\n );\n } else if (json[linkKey]) {\n flattenedJSON.push(\n Object.assign(json[linkKey], {\n name: linkKey,\n }),\n );\n }\n });\n\n return flattenedJSON;\n};\n\n/**\n */\nconst flattenContributionsJSON = (json: Object) => {\n const flattenedJSON = [];\n\n Object.keys(json).forEach((linkKey) => {\n if (Array.isArray(json[linkKey])) {\n flattenedJSON.push(\n ...json[linkKey].map((link) => createLink(link, linkKey)),\n );\n } else if (json[linkKey]) {\n const newLink = json[linkKey];\n newLink.name = linkKey;\n if (!newLink.label) {\n newLink.label = linkKey;\n }\n if (!newLink.group) {\n newLink.group = linkKey;\n }\n if (!newLink.layouthint) {\n newLink.layouthint = [];\n }\n\n flattenedJSON.push(newLink);\n }\n });\n\n return flattenedJSON;\n};\n\n/**\n * Normalize various link formats from services into a concistent format\n * @private\n */\nconst normalizeLinkJSON = (\n data: Object,\n contributions: Object,\n): Array<{\n data: any,\n contributions: any,\n}> => {\n if (!data && !contributions) {\n return [];\n }\n\n const flattenedData = data ? flattenDataJSON(data) : [];\n const flattenedContributions = contributions\n ? flattenContributionsJSON(contributions)\n : [];\n\n const filteredContributions = flattenedContributions.filter(\n (contribution) =>\n contribution.href &&\n !flattenedData.find((linkData) => linkData.name === contribution.name),\n );\n\n return [\n ...flattenedData.map((link) => ({\n data: link,\n contributions: flattenedContributions.find(\n (contr) => contr.name === link.name,\n ) || {\n name: link.name,\n label: link.name ?? \"\",\n layouthint: link.layouthint ?? [],\n },\n })),\n ...filteredContributions.map((link) => ({\n data: {\n ...link,\n href: link.href || \"\",\n },\n contributions: {\n name: link.name,\n label: link.name ?? \"\",\n layouthint: link.layouthint,\n },\n })),\n ].filter(\n (link) => !link.contributions.layouthint.includes(HIDE_IN_USER_INTERFACE),\n );\n};\n\nexport default normalizeLinkJSON;\n"],"mappings":";;;;;;AACA,SAASA,sBAAsB,QAAQ,iBAAiB;;AAExD;AACA;AACA;AACA;AACA,MAAMC,UAAU,GAAGA,CAACC,IAAY,EAAEC,OAAe,KAAK;EACpD,MAAMC,OAAO,GAAG;IAAE,GAAGF;EAAK,CAAC;EAC3BE,OAAO,CAACC,KAAK,GAAGF,OAAO;EACvBC,OAAO,CAACE,UAAU,GAAGJ,IAAI,CAACI,UAAU,GAAG,CAAC,GAAGJ,IAAI,CAACI,UAAU,CAAC,GAAG,EAAE;EAChE,OAAOF,OAAO;AAChB,CAAC;;AAED;AACA;AACA;AACA,MAAMG,eAAe,GAAIC,IAAY,IAAK;EACxC,MAAMC,aAAa,GAAG,EAAE;EAExBC,YAAA,CAAYF,IAAI,CAAC,CAACG,OAAO,CAAER,OAAO,IAAK;IACrC,IAAIS,KAAK,CAACC,OAAO,CAACL,IAAI,CAACL,OAAO,CAAC,CAAC,EAAE;MAAA,IAAAW,QAAA;MAChCL,aAAa,CAACM,IAAI,CAChB,GAAGC,oBAAA,CAAAF,QAAA,GAAAN,IAAI,CAACL,OAAO,CAAC,EAAAc,IAAA,CAAAH,QAAA,EAAMZ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C;IACDP,aAAa,EAAE;MACbN,IAAI,EAAEjB,IAAI,CAACiB,IAAI;MACfG,KAAK,EAAEpB,IAAI,CAACiB,IAAI,IAAI,EAAE;MACtBb,UAAU,EAAEJ,IAAI,CAACI;IACnB;EACF,CAAC,CAAC,CAAC,CACJ,EAAAW,IAAA,CAAAS,SAAA,EACExB,IAAI;IAAA,IAAAkC,SAAA;IAAA,OAAK,CAACC,yBAAA,CAAAD,SAAA,GAAAlC,IAAI,CAACuB,aAAa,CAACnB,UAAU,EAAAW,IAAA,CAAAmB,SAAA,EAAUpC,sBAAsB,CAAC;EAAA,CAC3E,CAAC;AACH,CAAC;AAED,eAAeuB,iBAAiB"}
|
|
@@ -7,90 +7,75 @@ exports.VALIDATE_DEBOUNCE_TIMEOUT = exports.USERPROFILE_PATH = exports.UPLOAD_PA
|
|
|
7
7
|
/**
|
|
8
8
|
* path to content service
|
|
9
9
|
*/
|
|
10
|
-
const CONTENT_PATH = `/content`;
|
|
10
|
+
const CONTENT_PATH = exports.CONTENT_PATH = `/content`;
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* Upload Path
|
|
14
14
|
*/
|
|
15
|
-
exports.
|
|
16
|
-
const UPLOAD_PATH = `/uploadFile`;
|
|
15
|
+
const UPLOAD_PATH = exports.UPLOAD_PATH = `/uploadFile`;
|
|
17
16
|
|
|
18
17
|
/**
|
|
19
18
|
* Captcha Path
|
|
20
19
|
*/
|
|
21
|
-
exports.
|
|
22
|
-
const CAPTCHA_PATH = `/captchaServices`;
|
|
20
|
+
const CAPTCHA_PATH = exports.CAPTCHA_PATH = `/captchaServices`;
|
|
23
21
|
|
|
24
22
|
/**
|
|
25
23
|
* Path to change password page / component
|
|
26
24
|
*/
|
|
27
|
-
exports.
|
|
28
|
-
const CHANGEPASSWORD_PATH = "/change-password";
|
|
25
|
+
const CHANGEPASSWORD_PATH = exports.CHANGEPASSWORD_PATH = "/change-password";
|
|
29
26
|
|
|
30
27
|
/**
|
|
31
28
|
* Path to user profile page / component
|
|
32
29
|
*/
|
|
33
|
-
exports.
|
|
34
|
-
const USERPROFILE_PATH = "/user";
|
|
30
|
+
const USERPROFILE_PATH = exports.USERPROFILE_PATH = "/user";
|
|
35
31
|
|
|
36
32
|
/**
|
|
37
33
|
* Path to resources in the Be Informed repository
|
|
38
34
|
*/
|
|
39
|
-
exports.
|
|
40
|
-
const RESOURCE_PATH = "/resource";
|
|
35
|
+
const RESOURCE_PATH = exports.RESOURCE_PATH = "/resource";
|
|
41
36
|
|
|
42
37
|
/**
|
|
43
38
|
* Separator for parameters of a list, makes it possible to render multiple lists on a page in a non-js environment
|
|
44
39
|
*/
|
|
45
|
-
exports.
|
|
46
|
-
const PARAMETER_SEPARATOR = "~";
|
|
40
|
+
const PARAMETER_SEPARATOR = exports.PARAMETER_SEPARATOR = "~";
|
|
47
41
|
|
|
48
42
|
/**
|
|
49
43
|
* Timeversion filter name
|
|
50
44
|
*/
|
|
51
|
-
exports.
|
|
52
|
-
const TIMEVERSION_FILTER_NAME = "entryDate";
|
|
53
|
-
exports.TIMEVERSION_FILTER_NAME = TIMEVERSION_FILTER_NAME;
|
|
45
|
+
const TIMEVERSION_FILTER_NAME = exports.TIMEVERSION_FILTER_NAME = "entryDate";
|
|
54
46
|
const PARAMETER_OVERVIEW_VIEWTYPE = "viewType";
|
|
55
47
|
/**
|
|
56
48
|
* Parameter name for the viewtype toggle
|
|
57
49
|
*/
|
|
58
|
-
const DEFAULT_UI_PARAMETERS = [PARAMETER_OVERVIEW_VIEWTYPE];
|
|
50
|
+
const DEFAULT_UI_PARAMETERS = exports.DEFAULT_UI_PARAMETERS = [PARAMETER_OVERVIEW_VIEWTYPE];
|
|
59
51
|
|
|
60
52
|
/**
|
|
61
53
|
*/
|
|
62
|
-
exports.
|
|
63
|
-
const ISO_DATE_FORMAT = "yyyy-MM-dd";
|
|
54
|
+
const ISO_DATE_FORMAT = exports.ISO_DATE_FORMAT = "yyyy-MM-dd";
|
|
64
55
|
/**
|
|
65
56
|
*/
|
|
66
|
-
exports.
|
|
67
|
-
const ISO_DATETIME_FORMAT = "yyyy-MM-dd'T'HH:mm:ss";
|
|
57
|
+
const ISO_DATETIME_FORMAT = exports.ISO_DATETIME_FORMAT = "yyyy-MM-dd'T'HH:mm:ss";
|
|
68
58
|
/**
|
|
69
59
|
*/
|
|
70
|
-
exports.
|
|
71
|
-
const ISO_TIME_FORMAT = "HH:mm:ss";
|
|
60
|
+
const ISO_TIME_FORMAT = exports.ISO_TIME_FORMAT = "HH:mm:ss";
|
|
72
61
|
/**
|
|
73
62
|
*/
|
|
74
|
-
exports.
|
|
75
|
-
const ISO_TIMESTAMP_FORMAT = "yyyy-MM-dd'T'HH:mm:ss.SSS";
|
|
63
|
+
const ISO_TIMESTAMP_FORMAT = exports.ISO_TIMESTAMP_FORMAT = "yyyy-MM-dd'T'HH:mm:ss.SSS";
|
|
76
64
|
/**
|
|
77
65
|
* week starts on monday by default
|
|
78
66
|
*/
|
|
79
|
-
exports.
|
|
80
|
-
const DEFAULT_WEEK_STARTS_ON = 1;
|
|
67
|
+
const DEFAULT_WEEK_STARTS_ON = exports.DEFAULT_WEEK_STARTS_ON = 1;
|
|
81
68
|
|
|
82
69
|
/**
|
|
83
70
|
* first week indicated by the 1st of january
|
|
84
71
|
*/
|
|
85
|
-
exports.
|
|
86
|
-
const DEFAULT_FIRST_WEEK_CONTAINS_DATE = 1;
|
|
72
|
+
const DEFAULT_FIRST_WEEK_CONTAINS_DATE = exports.DEFAULT_FIRST_WEEK_CONTAINS_DATE = 1;
|
|
87
73
|
|
|
88
74
|
/**
|
|
89
75
|
* Key codes
|
|
90
76
|
* @type {{SPACE: number, PAGE_DOWN: number, TAB: number, ARROW_RIGHT: number, ARROW_DOWN: number, ENTER: number, ARROW_UP: number, ARROW_LEFT: number, PAGE_UP: number, ESCAPE: number}}
|
|
91
77
|
*/
|
|
92
|
-
exports.
|
|
93
|
-
const KEYCODES = {
|
|
78
|
+
const KEYCODES = exports.KEYCODES = {
|
|
94
79
|
TAB: 9,
|
|
95
80
|
ENTER: 13,
|
|
96
81
|
ESCAPE: 27,
|
|
@@ -106,19 +91,16 @@ const KEYCODES = {
|
|
|
106
91
|
/**
|
|
107
92
|
* @type {boolean}
|
|
108
93
|
*/
|
|
109
|
-
exports.
|
|
110
|
-
const IS_SYNC = typeof dataFetcher !== "undefined";
|
|
94
|
+
const IS_SYNC = exports.IS_SYNC = typeof dataFetcher !== "undefined";
|
|
111
95
|
/**
|
|
112
96
|
* @type {boolean}
|
|
113
97
|
*/
|
|
114
|
-
exports.
|
|
115
|
-
const IS_SERVER = IS_SYNC;
|
|
98
|
+
const IS_SERVER = exports.IS_SERVER = IS_SYNC;
|
|
116
99
|
|
|
117
100
|
/**
|
|
118
101
|
* @type {{SUCCESS: string, ERROR: string, INFO: string, WARNING: string}}
|
|
119
102
|
*/
|
|
120
|
-
exports.
|
|
121
|
-
const NOTIFICATION_TYPES = {
|
|
103
|
+
const NOTIFICATION_TYPES = exports.NOTIFICATION_TYPES = {
|
|
122
104
|
SUCCESS: "SUCCESS",
|
|
123
105
|
INFO: "INFO",
|
|
124
106
|
WARNING: "WARNING",
|
|
@@ -129,8 +111,7 @@ const NOTIFICATION_TYPES = {
|
|
|
129
111
|
* SUPPORTED HTTP METHODS
|
|
130
112
|
* @type {{POST: string, GET: string}}
|
|
131
113
|
*/
|
|
132
|
-
exports.
|
|
133
|
-
const HTTP_METHODS = {
|
|
114
|
+
const HTTP_METHODS = exports.HTTP_METHODS = {
|
|
134
115
|
GET: "GET",
|
|
135
116
|
POST: "POST"
|
|
136
117
|
};
|
|
@@ -139,8 +120,7 @@ const HTTP_METHODS = {
|
|
|
139
120
|
* POSSIBLE MODULARUI STATUSSES
|
|
140
121
|
* @type {{LOADING: string, ERROR: string, FINISHED: string}}
|
|
141
122
|
*/
|
|
142
|
-
exports.
|
|
143
|
-
const MODULARUI_STATUS = {
|
|
123
|
+
const MODULARUI_STATUS = exports.MODULARUI_STATUS = {
|
|
144
124
|
LOADING: "LOADING",
|
|
145
125
|
FINISHED: "FINISHED",
|
|
146
126
|
ERROR: "ERROR"
|
|
@@ -150,8 +130,7 @@ const MODULARUI_STATUS = {
|
|
|
150
130
|
* POSSIBLE AUTOSAVE STATUSSES
|
|
151
131
|
* @type {{START: string, FINISHED: string}}
|
|
152
132
|
*/
|
|
153
|
-
exports.
|
|
154
|
-
const AUTOSAVE_STATUS = {
|
|
133
|
+
const AUTOSAVE_STATUS = exports.AUTOSAVE_STATUS = {
|
|
155
134
|
START: "START",
|
|
156
135
|
FINISHED: "FINISHED"
|
|
157
136
|
};
|
|
@@ -159,49 +138,37 @@ const AUTOSAVE_STATUS = {
|
|
|
159
138
|
/**
|
|
160
139
|
* DEBOUNCE INPUT TIMEOUT
|
|
161
140
|
*/
|
|
162
|
-
exports.
|
|
163
|
-
const INPUT_DEBOUNCE_TIMEOUT = 100;
|
|
141
|
+
const INPUT_DEBOUNCE_TIMEOUT = exports.INPUT_DEBOUNCE_TIMEOUT = 100;
|
|
164
142
|
|
|
165
143
|
/**
|
|
166
144
|
* DEBOUNCE VALIDATION TIMEOUT
|
|
167
145
|
*/
|
|
168
|
-
exports.
|
|
169
|
-
const VALIDATE_DEBOUNCE_TIMEOUT = 500;
|
|
146
|
+
const VALIDATE_DEBOUNCE_TIMEOUT = exports.VALIDATE_DEBOUNCE_TIMEOUT = 500;
|
|
170
147
|
|
|
171
148
|
/**
|
|
172
149
|
* ATTRIBUTE WIDTH
|
|
173
150
|
*/
|
|
174
|
-
exports.
|
|
175
|
-
const ATTRIBUTE_WIDTH = {
|
|
151
|
+
const ATTRIBUTE_WIDTH = exports.ATTRIBUTE_WIDTH = {
|
|
176
152
|
EXTRA_SMALL: "EXTRA_SMALL",
|
|
177
153
|
SMALL: "SMALL",
|
|
178
154
|
MEDIUM: "MEDIUM",
|
|
179
155
|
LARGE: "LARGE",
|
|
180
156
|
EXTRA_LARGE: "EXTRA_LARGE"
|
|
181
157
|
};
|
|
182
|
-
exports.
|
|
183
|
-
const
|
|
184
|
-
exports.ALL_CONTENT_IN_DATA_SETTING = ALL_CONTENT_IN_DATA_SETTING;
|
|
185
|
-
const INTERNAL_LOGIN_TYPE = {
|
|
158
|
+
const ALL_CONTENT_IN_DATA_SETTING = exports.ALL_CONTENT_IN_DATA_SETTING = "hasAllContentInData";
|
|
159
|
+
const INTERNAL_LOGIN_TYPE = exports.INTERNAL_LOGIN_TYPE = {
|
|
186
160
|
JAAS: "JAAS",
|
|
187
161
|
PAC4J_FORM: "PAC4J_FORM",
|
|
188
162
|
PAC4J_BASIC: "PAC4J_BASIC"
|
|
189
163
|
};
|
|
190
|
-
exports.
|
|
191
|
-
const
|
|
192
|
-
exports.
|
|
193
|
-
const
|
|
194
|
-
exports.
|
|
195
|
-
const
|
|
196
|
-
exports.LOGIN_USERNAME_SETTING = LOGIN_USERNAME_SETTING;
|
|
197
|
-
const LOGIN_PASSWORD_SETTING = "FormClient.password_field_name";
|
|
198
|
-
exports.LOGIN_PASSWORD_SETTING = LOGIN_PASSWORD_SETTING;
|
|
199
|
-
const LOGOUT_PATH_SETTING = "FormClient.logout_url";
|
|
200
|
-
exports.LOGOUT_PATH_SETTING = LOGOUT_PATH_SETTING;
|
|
201
|
-
const DEFAULT_AUTHENTICATION_TYPE = {
|
|
164
|
+
const LOGIN_TYPE = exports.LOGIN_TYPE = "security.clients";
|
|
165
|
+
const LOGIN_PATH_SETTING = exports.LOGIN_PATH_SETTING = "FormClient.login_url";
|
|
166
|
+
const LOGIN_USERNAME_SETTING = exports.LOGIN_USERNAME_SETTING = "FormClient.username_field_name";
|
|
167
|
+
const LOGIN_PASSWORD_SETTING = exports.LOGIN_PASSWORD_SETTING = "FormClient.password_field_name";
|
|
168
|
+
const LOGOUT_PATH_SETTING = exports.LOGOUT_PATH_SETTING = "FormClient.logout_url";
|
|
169
|
+
const DEFAULT_AUTHENTICATION_TYPE = exports.DEFAULT_AUTHENTICATION_TYPE = {
|
|
202
170
|
name: "Form based authentication",
|
|
203
171
|
authentication: "DefaultFormClient",
|
|
204
172
|
isPrimary: true
|
|
205
173
|
};
|
|
206
|
-
exports.DEFAULT_AUTHENTICATION_TYPE = DEFAULT_AUTHENTICATION_TYPE;
|
|
207
174
|
//# sourceMappingURL=Constants.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Constants.js","names":["CONTENT_PATH","exports","UPLOAD_PATH","CAPTCHA_PATH","CHANGEPASSWORD_PATH","USERPROFILE_PATH","RESOURCE_PATH","PARAMETER_SEPARATOR","TIMEVERSION_FILTER_NAME","PARAMETER_OVERVIEW_VIEWTYPE","DEFAULT_UI_PARAMETERS","ISO_DATE_FORMAT","ISO_DATETIME_FORMAT","ISO_TIME_FORMAT","ISO_TIMESTAMP_FORMAT","DEFAULT_WEEK_STARTS_ON","DEFAULT_FIRST_WEEK_CONTAINS_DATE","KEYCODES","TAB","ENTER","ESCAPE","SPACE","PAGE_UP","PAGE_DOWN","ARROW_LEFT","ARROW_UP","ARROW_RIGHT","ARROW_DOWN","IS_SYNC","dataFetcher","IS_SERVER","NOTIFICATION_TYPES","SUCCESS","INFO","WARNING","ERROR","HTTP_METHODS","GET","POST","MODULARUI_STATUS","LOADING","FINISHED","AUTOSAVE_STATUS","START","INPUT_DEBOUNCE_TIMEOUT","VALIDATE_DEBOUNCE_TIMEOUT","ATTRIBUTE_WIDTH","EXTRA_SMALL","SMALL","MEDIUM","LARGE","EXTRA_LARGE","ALL_CONTENT_IN_DATA_SETTING","INTERNAL_LOGIN_TYPE","JAAS","PAC4J_FORM","PAC4J_BASIC","LOGIN_TYPE","LOGIN_PATH_SETTING","LOGIN_USERNAME_SETTING","LOGIN_PASSWORD_SETTING","LOGOUT_PATH_SETTING","DEFAULT_AUTHENTICATION_TYPE","name","authentication","isPrimary"],"sources":["../../src/constants/Constants.js"],"sourcesContent":["// @flow\n/**\n * path to content service\n */\nexport const CONTENT_PATH = `/content`;\n\n/**\n * Upload Path\n */\nexport const UPLOAD_PATH = `/uploadFile`;\n\n/**\n * Captcha Path\n */\nexport const CAPTCHA_PATH = `/captchaServices`;\n\n/**\n * Path to change password page / component\n */\nexport const CHANGEPASSWORD_PATH = \"/change-password\";\n\n/**\n * Path to user profile page / component\n */\nexport const USERPROFILE_PATH = \"/user\";\n\n/**\n * Path to resources in the Be Informed repository\n */\nexport const RESOURCE_PATH = \"/resource\";\n\n/**\n * Separator for parameters of a list, makes it possible to render multiple lists on a page in a non-js environment\n */\nexport const PARAMETER_SEPARATOR = \"~\";\n\n/**\n * Timeversion filter name\n */\nexport const TIMEVERSION_FILTER_NAME = \"entryDate\";\n\nconst PARAMETER_OVERVIEW_VIEWTYPE = \"viewType\";\n/**\n * Parameter name for the viewtype toggle\n */\nexport const DEFAULT_UI_PARAMETERS: Array<string> = [\n PARAMETER_OVERVIEW_VIEWTYPE,\n];\n\n/**\n */\nexport const ISO_DATE_FORMAT = \"yyyy-MM-dd\";\n/**\n */\nexport const ISO_DATETIME_FORMAT = \"yyyy-MM-dd'T'HH:mm:ss\";\n/**\n */\nexport const ISO_TIME_FORMAT = \"HH:mm:ss\";\n/**\n */\nexport const ISO_TIMESTAMP_FORMAT = \"yyyy-MM-dd'T'HH:mm:ss.SSS\";\n/**\n * week starts on monday by default\n */\nexport const DEFAULT_WEEK_STARTS_ON = 1;\n\n/**\n * first week indicated by the 1st of january\n */\nexport const DEFAULT_FIRST_WEEK_CONTAINS_DATE = 1;\n\n/**\n * Key codes\n * @type {{SPACE: number, PAGE_DOWN: number, TAB: number, ARROW_RIGHT: number, ARROW_DOWN: number, ENTER: number, ARROW_UP: number, ARROW_LEFT: number, PAGE_UP: number, ESCAPE: number}}\n */\nexport const KEYCODES = {\n TAB: 9,\n ENTER: 13,\n ESCAPE: 27,\n SPACE: 32,\n PAGE_UP: 33,\n PAGE_DOWN: 34,\n ARROW_LEFT: 37,\n ARROW_UP: 38,\n ARROW_RIGHT: 39,\n ARROW_DOWN: 40,\n};\n\n/**\n * @type {boolean}\n */\nexport const IS_SYNC = typeof dataFetcher !== \"undefined\";\n/**\n * @type {boolean}\n */\nexport const IS_SERVER = IS_SYNC;\n\n/**\n * @type {{SUCCESS: string, ERROR: string, INFO: string, WARNING: string}}\n */\nexport const NOTIFICATION_TYPES = {\n SUCCESS: \"SUCCESS\",\n INFO: \"INFO\",\n WARNING: \"WARNING\",\n ERROR: \"ERROR\",\n};\n\n/**\n * SUPPORTED HTTP METHODS\n * @type {{POST: string, GET: string}}\n */\nexport const HTTP_METHODS = {\n GET: \"GET\",\n POST: \"POST\",\n};\n\n/**\n * POSSIBLE MODULARUI STATUSSES\n * @type {{LOADING: string, ERROR: string, FINISHED: string}}\n */\nexport const MODULARUI_STATUS = {\n LOADING: \"LOADING\",\n FINISHED: \"FINISHED\",\n ERROR: \"ERROR\",\n};\n\n/**\n * POSSIBLE AUTOSAVE STATUSSES\n * @type {{START: string, FINISHED: string}}\n */\nexport const AUTOSAVE_STATUS = {\n START: \"START\",\n FINISHED: \"FINISHED\",\n};\n\n/**\n * DEBOUNCE INPUT TIMEOUT\n */\nexport const INPUT_DEBOUNCE_TIMEOUT = 100;\n\n/**\n * DEBOUNCE VALIDATION TIMEOUT\n */\nexport const VALIDATE_DEBOUNCE_TIMEOUT = 500;\n\n/**\n * ATTRIBUTE WIDTH\n */\nexport const ATTRIBUTE_WIDTH = {\n EXTRA_SMALL: \"EXTRA_SMALL\",\n SMALL: \"SMALL\",\n MEDIUM: \"MEDIUM\",\n LARGE: \"LARGE\",\n EXTRA_LARGE: \"EXTRA_LARGE\",\n};\n\nexport const ALL_CONTENT_IN_DATA_SETTING = \"hasAllContentInData\";\n\nexport const INTERNAL_LOGIN_TYPE = {\n JAAS: \"JAAS\",\n PAC4J_FORM: \"PAC4J_FORM\",\n PAC4J_BASIC: \"PAC4J_BASIC\",\n};\nexport const LOGIN_TYPE = \"security.clients\";\nexport const LOGIN_PATH_SETTING = \"FormClient.login_url\";\nexport const LOGIN_USERNAME_SETTING = \"FormClient.username_field_name\";\nexport const LOGIN_PASSWORD_SETTING = \"FormClient.password_field_name\";\nexport const LOGOUT_PATH_SETTING = \"FormClient.logout_url\";\n\nexport const DEFAULT_AUTHENTICATION_TYPE = {\n name: \"Form based authentication\",\n authentication: \"DefaultFormClient\",\n isPrimary: true,\n};\n"],"mappings":";;;;;;AACA;AACA;AACA;AACO,MAAMA,YAAY,GAAI,UAAS;;AAEtC;AACA;AACA;
|
|
1
|
+
{"version":3,"file":"Constants.js","names":["CONTENT_PATH","exports","UPLOAD_PATH","CAPTCHA_PATH","CHANGEPASSWORD_PATH","USERPROFILE_PATH","RESOURCE_PATH","PARAMETER_SEPARATOR","TIMEVERSION_FILTER_NAME","PARAMETER_OVERVIEW_VIEWTYPE","DEFAULT_UI_PARAMETERS","ISO_DATE_FORMAT","ISO_DATETIME_FORMAT","ISO_TIME_FORMAT","ISO_TIMESTAMP_FORMAT","DEFAULT_WEEK_STARTS_ON","DEFAULT_FIRST_WEEK_CONTAINS_DATE","KEYCODES","TAB","ENTER","ESCAPE","SPACE","PAGE_UP","PAGE_DOWN","ARROW_LEFT","ARROW_UP","ARROW_RIGHT","ARROW_DOWN","IS_SYNC","dataFetcher","IS_SERVER","NOTIFICATION_TYPES","SUCCESS","INFO","WARNING","ERROR","HTTP_METHODS","GET","POST","MODULARUI_STATUS","LOADING","FINISHED","AUTOSAVE_STATUS","START","INPUT_DEBOUNCE_TIMEOUT","VALIDATE_DEBOUNCE_TIMEOUT","ATTRIBUTE_WIDTH","EXTRA_SMALL","SMALL","MEDIUM","LARGE","EXTRA_LARGE","ALL_CONTENT_IN_DATA_SETTING","INTERNAL_LOGIN_TYPE","JAAS","PAC4J_FORM","PAC4J_BASIC","LOGIN_TYPE","LOGIN_PATH_SETTING","LOGIN_USERNAME_SETTING","LOGIN_PASSWORD_SETTING","LOGOUT_PATH_SETTING","DEFAULT_AUTHENTICATION_TYPE","name","authentication","isPrimary"],"sources":["../../src/constants/Constants.js"],"sourcesContent":["// @flow\n/**\n * path to content service\n */\nexport const CONTENT_PATH = `/content`;\n\n/**\n * Upload Path\n */\nexport const UPLOAD_PATH = `/uploadFile`;\n\n/**\n * Captcha Path\n */\nexport const CAPTCHA_PATH = `/captchaServices`;\n\n/**\n * Path to change password page / component\n */\nexport const CHANGEPASSWORD_PATH = \"/change-password\";\n\n/**\n * Path to user profile page / component\n */\nexport const USERPROFILE_PATH = \"/user\";\n\n/**\n * Path to resources in the Be Informed repository\n */\nexport const RESOURCE_PATH = \"/resource\";\n\n/**\n * Separator for parameters of a list, makes it possible to render multiple lists on a page in a non-js environment\n */\nexport const PARAMETER_SEPARATOR = \"~\";\n\n/**\n * Timeversion filter name\n */\nexport const TIMEVERSION_FILTER_NAME = \"entryDate\";\n\nconst PARAMETER_OVERVIEW_VIEWTYPE = \"viewType\";\n/**\n * Parameter name for the viewtype toggle\n */\nexport const DEFAULT_UI_PARAMETERS: Array<string> = [\n PARAMETER_OVERVIEW_VIEWTYPE,\n];\n\n/**\n */\nexport const ISO_DATE_FORMAT = \"yyyy-MM-dd\";\n/**\n */\nexport const ISO_DATETIME_FORMAT = \"yyyy-MM-dd'T'HH:mm:ss\";\n/**\n */\nexport const ISO_TIME_FORMAT = \"HH:mm:ss\";\n/**\n */\nexport const ISO_TIMESTAMP_FORMAT = \"yyyy-MM-dd'T'HH:mm:ss.SSS\";\n/**\n * week starts on monday by default\n */\nexport const DEFAULT_WEEK_STARTS_ON = 1;\n\n/**\n * first week indicated by the 1st of january\n */\nexport const DEFAULT_FIRST_WEEK_CONTAINS_DATE = 1;\n\n/**\n * Key codes\n * @type {{SPACE: number, PAGE_DOWN: number, TAB: number, ARROW_RIGHT: number, ARROW_DOWN: number, ENTER: number, ARROW_UP: number, ARROW_LEFT: number, PAGE_UP: number, ESCAPE: number}}\n */\nexport const KEYCODES = {\n TAB: 9,\n ENTER: 13,\n ESCAPE: 27,\n SPACE: 32,\n PAGE_UP: 33,\n PAGE_DOWN: 34,\n ARROW_LEFT: 37,\n ARROW_UP: 38,\n ARROW_RIGHT: 39,\n ARROW_DOWN: 40,\n};\n\n/**\n * @type {boolean}\n */\nexport const IS_SYNC = typeof dataFetcher !== \"undefined\";\n/**\n * @type {boolean}\n */\nexport const IS_SERVER = IS_SYNC;\n\n/**\n * @type {{SUCCESS: string, ERROR: string, INFO: string, WARNING: string}}\n */\nexport const NOTIFICATION_TYPES = {\n SUCCESS: \"SUCCESS\",\n INFO: \"INFO\",\n WARNING: \"WARNING\",\n ERROR: \"ERROR\",\n};\n\n/**\n * SUPPORTED HTTP METHODS\n * @type {{POST: string, GET: string}}\n */\nexport const HTTP_METHODS = {\n GET: \"GET\",\n POST: \"POST\",\n};\n\n/**\n * POSSIBLE MODULARUI STATUSSES\n * @type {{LOADING: string, ERROR: string, FINISHED: string}}\n */\nexport const MODULARUI_STATUS = {\n LOADING: \"LOADING\",\n FINISHED: \"FINISHED\",\n ERROR: \"ERROR\",\n};\n\n/**\n * POSSIBLE AUTOSAVE STATUSSES\n * @type {{START: string, FINISHED: string}}\n */\nexport const AUTOSAVE_STATUS = {\n START: \"START\",\n FINISHED: \"FINISHED\",\n};\n\n/**\n * DEBOUNCE INPUT TIMEOUT\n */\nexport const INPUT_DEBOUNCE_TIMEOUT = 100;\n\n/**\n * DEBOUNCE VALIDATION TIMEOUT\n */\nexport const VALIDATE_DEBOUNCE_TIMEOUT = 500;\n\n/**\n * ATTRIBUTE WIDTH\n */\nexport const ATTRIBUTE_WIDTH = {\n EXTRA_SMALL: \"EXTRA_SMALL\",\n SMALL: \"SMALL\",\n MEDIUM: \"MEDIUM\",\n LARGE: \"LARGE\",\n EXTRA_LARGE: \"EXTRA_LARGE\",\n};\n\nexport const ALL_CONTENT_IN_DATA_SETTING = \"hasAllContentInData\";\n\nexport const INTERNAL_LOGIN_TYPE = {\n JAAS: \"JAAS\",\n PAC4J_FORM: \"PAC4J_FORM\",\n PAC4J_BASIC: \"PAC4J_BASIC\",\n};\nexport const LOGIN_TYPE = \"security.clients\";\nexport const LOGIN_PATH_SETTING = \"FormClient.login_url\";\nexport const LOGIN_USERNAME_SETTING = \"FormClient.username_field_name\";\nexport const LOGIN_PASSWORD_SETTING = \"FormClient.password_field_name\";\nexport const LOGOUT_PATH_SETTING = \"FormClient.logout_url\";\n\nexport const DEFAULT_AUTHENTICATION_TYPE = {\n name: \"Form based authentication\",\n authentication: \"DefaultFormClient\",\n isPrimary: true,\n};\n"],"mappings":";;;;;;AACA;AACA;AACA;AACO,MAAMA,YAAY,GAAAC,OAAA,CAAAD,YAAA,GAAI,UAAS;;AAEtC;AACA;AACA;AACO,MAAME,WAAW,GAAAD,OAAA,CAAAC,WAAA,GAAI,aAAY;;AAExC;AACA;AACA;AACO,MAAMC,YAAY,GAAAF,OAAA,CAAAE,YAAA,GAAI,kBAAiB;;AAE9C;AACA;AACA;AACO,MAAMC,mBAAmB,GAAAH,OAAA,CAAAG,mBAAA,GAAG,kBAAkB;;AAErD;AACA;AACA;AACO,MAAMC,gBAAgB,GAAAJ,OAAA,CAAAI,gBAAA,GAAG,OAAO;;AAEvC;AACA;AACA;AACO,MAAMC,aAAa,GAAAL,OAAA,CAAAK,aAAA,GAAG,WAAW;;AAExC;AACA;AACA;AACO,MAAMC,mBAAmB,GAAAN,OAAA,CAAAM,mBAAA,GAAG,GAAG;;AAEtC;AACA;AACA;AACO,MAAMC,uBAAuB,GAAAP,OAAA,CAAAO,uBAAA,GAAG,WAAW;AAElD,MAAMC,2BAA2B,GAAG,UAAU;AAC9C;AACA;AACA;AACO,MAAMC,qBAAoC,GAAAT,OAAA,CAAAS,qBAAA,GAAG,CAClDD,2BAA2B,CAC5B;;AAED;AACA;AACO,MAAME,eAAe,GAAAV,OAAA,CAAAU,eAAA,GAAG,YAAY;AAC3C;AACA;AACO,MAAMC,mBAAmB,GAAAX,OAAA,CAAAW,mBAAA,GAAG,uBAAuB;AAC1D;AACA;AACO,MAAMC,eAAe,GAAAZ,OAAA,CAAAY,eAAA,GAAG,UAAU;AACzC;AACA;AACO,MAAMC,oBAAo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const LayoutHintConfiguration = {
|
|
7
|
+
const LayoutHintConfiguration = exports.LayoutHintConfiguration = {
|
|
8
8
|
MANDATORY: {
|
|
9
9
|
hint: "mandatory",
|
|
10
10
|
description: {
|
|
@@ -143,7 +143,15 @@ const LayoutHintConfiguration = {
|
|
|
143
143
|
},
|
|
144
144
|
link: "",
|
|
145
145
|
component: ["attribute"]
|
|
146
|
+
},
|
|
147
|
+
HIDE_IN_USER_INTERFACE: {
|
|
148
|
+
hint: "hide-in-user-interface",
|
|
149
|
+
description: {
|
|
150
|
+
NL: "Verberg een link in de user interface.",
|
|
151
|
+
EN: "Hide a link in the user interface."
|
|
152
|
+
},
|
|
153
|
+
link: "",
|
|
154
|
+
component: ["tab", "taskgroup"]
|
|
146
155
|
}
|
|
147
156
|
};
|
|
148
|
-
exports.LayoutHintConfiguration = LayoutHintConfiguration;
|
|
149
157
|
//# sourceMappingURL=LayoutHintConfig.js.map
|
|
@@ -158,4 +158,13 @@ export const LayoutHintConfiguration = {
|
|
|
158
158
|
link: "",
|
|
159
159
|
component: ["attribute"],
|
|
160
160
|
},
|
|
161
|
+
HIDE_IN_USER_INTERFACE: {
|
|
162
|
+
hint: "hide-in-user-interface",
|
|
163
|
+
description: {
|
|
164
|
+
NL: "Verberg een link in de user interface.",
|
|
165
|
+
EN: "Hide a link in the user interface.",
|
|
166
|
+
},
|
|
167
|
+
link: "",
|
|
168
|
+
component: ["tab", "taskgroup"],
|
|
169
|
+
},
|
|
161
170
|
};
|