@k-int/stripes-kint-components 2.8.2 → 3.0.1
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 +18 -3
- package/es/index.js +48 -12
- package/es/lib/ActionList/ActionList.js +11 -5
- package/es/lib/ActionList/ActionListFieldArray.js +147 -77
- package/es/lib/CustomProperties/Config/CustomPropertiesLookup.js +43 -31
- package/es/lib/CustomProperties/Config/CustomPropertiesLookup.test.js +17 -14
- package/es/lib/CustomProperties/Config/CustomPropertiesSettings.js +64 -46
- package/es/lib/CustomProperties/Config/CustomPropertiesSettings.test.js +17 -24
- package/es/lib/CustomProperties/Config/CustomPropertyForm.js +91 -70
- package/es/lib/CustomProperties/Config/CustomPropertyForm.test.js +53 -36
- package/es/lib/CustomProperties/Config/CustomPropertyView.js +50 -31
- package/es/lib/CustomProperties/Config/CustomPropertyView.test.js +13 -14
- package/es/lib/CustomProperties/Edit/CustomPropertiesEdit.js +6 -0
- package/es/lib/CustomProperties/Edit/CustomPropertiesEdit.test.js +8 -12
- package/es/lib/CustomProperties/Edit/CustomPropertiesEditCtx.js +22 -24
- package/es/lib/CustomProperties/Edit/CustomPropertiesEditCtx.test.js +9 -12
- package/es/lib/CustomProperties/Edit/CustomPropertiesListField.js +62 -13
- package/es/lib/CustomProperties/Edit/CustomPropertiesListField.test.js +12 -13
- package/es/lib/CustomProperties/Edit/CustomPropertyField.js +87 -43
- package/es/lib/CustomProperties/Edit/CustomPropertyField.test.js +80 -73
- package/es/lib/CustomProperties/Edit/CustomPropertyFormCard.js +31 -32
- package/es/lib/CustomProperties/Edit/CustomPropertyFormCard.test.js +26 -24
- package/es/lib/CustomProperties/Edit/testResources.js +73 -908
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilter.js +21 -29
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilter.test.js +12 -10
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterField.js +38 -39
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterField.test.js +28 -13
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterFieldArray.js +29 -44
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterFieldArray.test.js +6 -6
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterForm.js +16 -10
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterForm.test.js +12 -12
- package/es/lib/CustomProperties/Filter/CustomPropertiesRule.js +20 -11
- package/es/lib/CustomProperties/Filter/CustomPropertiesRule.test.js +4 -3
- package/es/lib/CustomProperties/Filter/testResources.js +37 -233
- package/es/lib/CustomProperties/Filter/useOperators.js +69 -27
- package/es/lib/CustomProperties/Filter/useParseActiveFilterStrings.js +3 -2
- package/es/lib/CustomProperties/Filter/useValueProps.js +7 -2
- package/es/lib/CustomProperties/View/CustomPropertiesView.js +6 -0
- package/es/lib/CustomProperties/View/CustomPropertiesView.test.js +4 -3
- package/es/lib/CustomProperties/View/CustomPropertiesViewCtx.js +13 -19
- package/es/lib/CustomProperties/View/CustomPropertiesViewCtx.test.js +4 -10
- package/es/lib/CustomProperties/View/CustomPropertyCard.js +34 -51
- package/es/lib/EditableRefdataCategoryList/EditableRefdataCategoryList.js +35 -27
- package/es/lib/EditableRefdataList/EditableRefdataList.js +41 -31
- package/es/lib/EditableSettingsList/EditableSettingsList.js +11 -1
- package/es/lib/EditableSettingsList/EditableSettingsListFieldArray.js +10 -0
- package/es/lib/EditableSettingsList/SettingField/EditSettingValue.js +19 -11
- package/es/lib/EditableSettingsList/SettingField/EditSettingValue.test.js +9 -8
- package/es/lib/EditableSettingsList/SettingField/RenderSettingValue.js +21 -9
- package/es/lib/EditableSettingsList/SettingField/RenderSettingValue.test.js +1 -0
- package/es/lib/EditableSettingsList/SettingField/SettingField.js +83 -16
- package/es/lib/EditableSettingsList/SettingField/SettingField.test.js +138 -65
- package/es/lib/FormModal/FormModal.js +14 -9
- package/es/lib/FormattedKintMessage/FormattedKintMessage.js +91 -0
- package/es/lib/FormattedKintMessage/index.js +15 -0
- package/es/lib/IconSelect/IconSelect.js +18 -12
- package/es/lib/NoResultsMessage/NoResultsMessage.js +13 -2
- package/es/lib/RichSelect/RichSelect.js +13 -34
- package/es/lib/SASQLookupComponent/SASQLookupComponent.js +16 -5
- package/es/lib/SASQLookupComponent/TableBody/TableBody.js +11 -1
- package/es/lib/SettingPage/SettingPage.js +12 -13
- package/es/lib/SettingPage/SettingPagePane.js +12 -20
- package/es/lib/hooks/__mocks__/index.js +46 -0
- package/es/lib/hooks/index.js +24 -8
- package/es/lib/hooks/settingsHooks/useSettings.js +22 -17
- package/es/lib/hooks/useIntlKey.js +34 -0
- package/es/lib/hooks/useIntlKeyStore.js +84 -0
- package/es/lib/hooks/useKintIntl.js +93 -0
- package/es/lib/utils/index.js +40 -4
- package/es/lib/utils/parseErrorResponse.js +1 -1
- package/es/lib/utils/validators.js +76 -59
- package/jest.config.js +4 -1
- package/junit.xml +157 -656
- package/package.json +54 -33
- package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionList.js.html +56 -8
- package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionListFieldArray.js.html +394 -64
- package/src/artifacts/coverage-jest/lcov-report/ActionList/index.html +10 -10
- package/src/artifacts/coverage-jest/lcov-report/ActionList/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertiesLookup.js.html +187 -52
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertiesSettings.js.html +372 -87
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertyForm.js.html +293 -74
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertyView.js.html +126 -54
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/index.html +45 -60
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertiesEdit.js.html +23 -5
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertiesEditCtx.js.html +59 -47
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertiesListField.js.html +259 -97
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertyField.js.html +399 -105
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertyFormCard.js.html +41 -68
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/index.html +57 -57
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/testResources.js.html +67 -688
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilter.js.html +92 -53
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterField.js.html +103 -64
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterFieldArray.js.html +54 -63
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterForm.js.html +49 -16
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesRule.js.html +69 -18
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/index.html +89 -89
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/testResources.js.html +33 -786
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useOperators.js.html +46 -46
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useParseActiveFilterStrings.js.html +45 -36
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useValueProps.js.html +43 -28
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertiesView.js.html +20 -2
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertiesViewCtx.js.html +50 -41
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertyCard.js.html +54 -75
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/index.html +24 -24
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/testResources.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/{hooks/useAvailableCustomProperties.js.html → CycleButton/CycleButton.js.html} +62 -50
- package/src/artifacts/coverage-jest/lcov-report/CycleButton/index.html +131 -0
- package/src/artifacts/coverage-jest/lcov-report/CycleButton/index.js.html +88 -0
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataCategoryList/EditableRefdataCategoryList.js.html +664 -0
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataCategoryList/index.html +131 -0
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataCategoryList/index.js.html +88 -0
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/EditableRefdataList.js.html +264 -39
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/index.html +9 -9
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/EditableSettingsList.js.html +41 -14
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/EditableSettingsListFieldArray.js.html +45 -6
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/EditSettingValue.js.html +47 -11
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/RenderSettingValue.js.html +65 -14
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/SettingField.js.html +154 -31
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/index.html +26 -26
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/index.html +18 -18
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/FormModal/FormModal.js.html +35 -17
- package/src/artifacts/coverage-jest/lcov-report/FormModal/index.html +15 -15
- package/src/artifacts/coverage-jest/lcov-report/FormModal/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/FormattedKintMessage/FormattedKintMessage.js.html +247 -0
- package/src/artifacts/coverage-jest/lcov-report/FormattedKintMessage/index.html +131 -0
- package/src/artifacts/coverage-jest/lcov-report/FormattedKintMessage/index.js.html +88 -0
- package/src/artifacts/coverage-jest/lcov-report/{CustomProperties/Config/CustomPropertiesView.js.html → IconSelect/IconSelect.js.html} +158 -257
- package/src/artifacts/coverage-jest/lcov-report/IconSelect/index.html +131 -0
- package/src/artifacts/coverage-jest/lcov-report/IconSelect/index.js.html +88 -0
- package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/NoResultsMessage.js.html +48 -6
- package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/index.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/QueryTypedown.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/RefdataButtons.js.html +3 -3
- package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/{CustomProperties/Config/testResources.js.html → RichSelect/RichSelect.js.html} +256 -334
- package/src/artifacts/coverage-jest/lcov-report/RichSelect/index.html +146 -0
- package/src/artifacts/coverage-jest/lcov-report/RichSelect/index.js.html +91 -0
- package/src/artifacts/coverage-jest/lcov-report/RichSelect/useSelectedOption.js.html +127 -0
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/SASQLookupComponent.js.html +52 -7
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/TableBody.js.html +31 -4
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/index.html +3 -3
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/index.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SASQRoute/SASQRoute.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SASQRoute/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SASQRoute/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/SASQViewComponent.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SearchField/SearchField.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SearchField/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SearchField/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SettingPage/SettingPage.js.html +24 -27
- package/src/artifacts/coverage-jest/lcov-report/SettingPage/SettingPagePane.js.html +47 -17
- package/src/artifacts/coverage-jest/lcov-report/SettingPage/index.html +22 -22
- package/src/artifacts/coverage-jest/lcov-report/SettingPage/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/Typedown/Typedown.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/Typedown/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/Typedown/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/constants/customProperties.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/constants/eventCodes.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/constants/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/contexts/SettingsContext.js.html +2 -2
- package/src/artifacts/coverage-jest/lcov-report/contexts/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/contexts/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/favicon.png +0 -0
- package/src/artifacts/coverage-jest/lcov-report/hooks/index.html +142 -97
- package/src/artifacts/coverage-jest/lcov-report/hooks/index.js.html +13 -4
- package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/index.html +35 -20
- package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/index.js.html +5 -2
- package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useAppSettings.js.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useSettingSection.js.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useSettings.js.html +61 -22
- package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedown.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedownData.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedownToggle.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useActiveElement.js.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/hooks/useCustomProperties.js.html +19 -22
- package/src/artifacts/coverage-jest/lcov-report/hooks/useHelperApp.js.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/hooks/useIntlKey.js.html +151 -0
- package/src/artifacts/coverage-jest/lcov-report/{utils/renderHelpText.js.html → hooks/useIntlKeyStore.js.html} +71 -38
- package/src/artifacts/coverage-jest/lcov-report/hooks/useInvalidateRefdata.js.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/hooks/useKintIntl.js.html +238 -0
- package/src/artifacts/coverage-jest/lcov-report/hooks/useKiwtFieldArray.js.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/hooks/useKiwtSASQuery.js.html +9 -9
- package/src/artifacts/coverage-jest/lcov-report/hooks/useLocalStorageState.js.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateCustomProperties.js.html +23 -11
- package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateRefdataCategory.js.html +274 -0
- package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateRefdataValue.js.html +19 -10
- package/src/artifacts/coverage-jest/lcov-report/hooks/useQIndex.js.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/hooks/useRefdata.js.html +9 -9
- package/src/artifacts/coverage-jest/lcov-report/hooks/useTemplates.js.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/index.html +205 -130
- package/src/artifacts/coverage-jest/lcov-report/sort-arrow-sprite.png +0 -0
- package/src/artifacts/coverage-jest/lcov-report/utils/buildUrl.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/utils/generateKiwtQuery.js.html +2 -2
- package/src/artifacts/coverage-jest/lcov-report/utils/generateKiwtQueryParams.js.html +2 -2
- package/src/artifacts/coverage-jest/lcov-report/utils/groupCustomPropertiesByCtx.js.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/utils/highlightString.js.html +3 -3
- package/src/artifacts/coverage-jest/lcov-report/utils/index.html +34 -34
- package/src/artifacts/coverage-jest/lcov-report/utils/index.js.html +42 -3
- package/src/artifacts/coverage-jest/lcov-report/utils/matchString.js.html +2 -2
- package/src/artifacts/coverage-jest/lcov-report/utils/parseErrorResponse.js.html +139 -0
- package/src/artifacts/coverage-jest/lcov-report/utils/refdataOptions.js.html +5 -2
- package/src/artifacts/coverage-jest/lcov-report/utils/refdataQueryKey.js.html +2 -2
- package/src/artifacts/coverage-jest/lcov-report/utils/selectorSafe.js.html +2 -2
- package/src/artifacts/coverage-jest/lcov-report/utils/sortByLabel.js.html +2 -2
- package/src/artifacts/coverage-jest/lcov-report/utils/toCamelCase.js.html +2 -2
- package/src/artifacts/coverage-jest/lcov-report/utils/typedownQueryKey.js.html +2 -2
- package/src/artifacts/coverage-jest/lcov-report/utils/validators.js.html +128 -80
- package/src/artifacts/coverage-jest/lcov.info +2603 -2086
- package/src/index.js +11 -4
- package/src/lib/ActionList/ActionList.js +9 -3
- package/src/lib/ActionList/ActionListFieldArray.js +115 -37
- package/src/lib/ActionList/README.md +2 -1
- package/src/lib/CustomProperties/Config/CustomPropertiesLookup.js +60 -16
- package/src/lib/CustomProperties/Config/CustomPropertiesLookup.test.js +14 -4
- package/src/lib/CustomProperties/Config/CustomPropertiesSettings.js +106 -33
- package/src/lib/CustomProperties/Config/CustomPropertiesSettings.test.js +16 -9
- package/src/lib/CustomProperties/Config/CustomPropertyForm.js +131 -58
- package/src/lib/CustomProperties/Config/CustomPropertyForm.test.js +52 -33
- package/src/lib/CustomProperties/Config/CustomPropertyView.js +71 -47
- package/src/lib/CustomProperties/Config/CustomPropertyView.test.js +8 -6
- package/src/lib/CustomProperties/Config/README.md +33 -28
- package/src/lib/CustomProperties/Edit/CustomPropertiesEdit.js +6 -0
- package/src/lib/CustomProperties/Edit/CustomPropertiesEdit.test.js +7 -3
- package/src/lib/CustomProperties/Edit/CustomPropertiesEditCtx.js +23 -19
- package/src/lib/CustomProperties/Edit/CustomPropertiesEditCtx.test.js +5 -3
- package/src/lib/CustomProperties/Edit/CustomPropertiesListField.js +65 -11
- package/src/lib/CustomProperties/Edit/CustomPropertiesListField.test.js +10 -8
- package/src/lib/CustomProperties/Edit/CustomPropertyField.js +101 -21
- package/src/lib/CustomProperties/Edit/CustomPropertyField.test.js +59 -60
- package/src/lib/CustomProperties/Edit/CustomPropertyFormCard.js +24 -33
- package/src/lib/CustomProperties/Edit/CustomPropertyFormCard.test.js +20 -27
- package/src/lib/CustomProperties/Edit/testResources.js +46 -1047
- package/src/lib/CustomProperties/Filter/CustomPropertiesFilter.js +22 -22
- package/src/lib/CustomProperties/Filter/CustomPropertiesFilter.test.js +12 -8
- package/src/lib/CustomProperties/Filter/CustomPropertiesFilterField.js +44 -31
- package/src/lib/CustomProperties/Filter/CustomPropertiesFilterField.test.js +26 -13
- package/src/lib/CustomProperties/Filter/CustomPropertiesFilterFieldArray.js +33 -36
- package/src/lib/CustomProperties/Filter/CustomPropertiesFilterFieldArray.test.js +3 -3
- package/src/lib/CustomProperties/Filter/CustomPropertiesFilterForm.js +19 -8
- package/src/lib/CustomProperties/Filter/CustomPropertiesFilterForm.test.js +9 -12
- package/src/lib/CustomProperties/Filter/CustomPropertiesRule.js +22 -5
- package/src/lib/CustomProperties/Filter/CustomPropertiesRule.test.js +3 -1
- package/src/lib/CustomProperties/Filter/testResources.js +14 -265
- package/src/lib/CustomProperties/Filter/useOperators.js +20 -20
- package/src/lib/CustomProperties/Filter/useParseActiveFilterStrings.js +2 -2
- package/src/lib/CustomProperties/Filter/useValueProps.js +8 -3
- package/src/lib/CustomProperties/View/CustomPropertiesView.js +6 -0
- package/src/lib/CustomProperties/View/CustomPropertiesView.test.js +2 -1
- package/src/lib/CustomProperties/View/CustomPropertiesViewCtx.js +15 -13
- package/src/lib/CustomProperties/View/CustomPropertiesViewCtx.test.js +2 -5
- package/src/lib/CustomProperties/View/CustomPropertyCard.js +36 -43
- package/src/lib/EditableRefdataCategoryList/EditableRefdataCategoryList.js +45 -27
- package/src/lib/EditableRefdataList/EditableRefdataList.js +56 -32
- package/src/lib/EditableSettingsList/EditableSettingsList.js +10 -1
- package/src/lib/EditableSettingsList/EditableSettingsListFieldArray.js +14 -1
- package/src/lib/EditableSettingsList/SettingField/EditSettingValue.js +17 -5
- package/src/lib/EditableSettingsList/SettingField/EditSettingValue.test.js +9 -8
- package/src/lib/EditableSettingsList/SettingField/RenderSettingValue.js +24 -7
- package/src/lib/EditableSettingsList/SettingField/RenderSettingValue.test.js +1 -0
- package/src/lib/EditableSettingsList/SettingField/SettingField.js +57 -16
- package/src/lib/EditableSettingsList/SettingField/SettingField.test.js +14 -19
- package/src/lib/FormModal/FormModal.js +15 -9
- package/src/lib/FormattedKintMessage/FormattedKintMessage.js +54 -0
- package/src/lib/FormattedKintMessage/index.js +1 -0
- package/src/lib/IconSelect/IconSelect.js +17 -8
- package/src/lib/NoResultsMessage/NoResultsMessage.js +15 -1
- package/src/lib/RichSelect/RichSelect.js +16 -36
- package/src/lib/SASQLookupComponent/SASQLookupComponent.js +17 -2
- package/src/lib/SASQLookupComponent/TableBody/TableBody.js +10 -1
- package/src/lib/SettingPage/SettingPage.js +12 -13
- package/src/lib/SettingPage/SettingPagePane.js +16 -6
- package/src/lib/hooks/__mocks__/index.js +17 -0
- package/src/lib/hooks/index.js +3 -1
- package/src/lib/hooks/settingsHooks/useSettings.js +25 -12
- package/src/lib/hooks/useIntlKey.js +22 -0
- package/src/lib/hooks/useIntlKeyStore.js +38 -0
- package/src/lib/hooks/useKintIntl.js +51 -0
- package/src/lib/utils/index.js +11 -1
- package/src/lib/utils/parseErrorResponse.js +1 -1
- package/src/lib/utils/validators.js +57 -41
- package/styles/RichSelect.css +7 -4
- package/test/helpers/test-implementor-translations.json +80 -0
- package/test/helpers/translationsProperties.js +6 -1
- package/test/jest/customProperties.js +166 -0
- package/test/jest/helpers/KintHarness.js +1 -1
- package/test/jest/helpers/renderWithKintHarness.js +2 -1
- package/test/jest/index.js +8 -0
- package/test/jest/refdata.js +471 -0
- package/test/jest/resolver.js +29 -0
- package/translations/stripes-kint-components/ar.json +1 -122
- package/translations/stripes-kint-components/cs_CZ.json +1 -122
- package/translations/stripes-kint-components/de.json +1 -122
- package/translations/stripes-kint-components/en.json +1 -148
- package/translations/stripes-kint-components/es.json +1 -122
- package/translations/stripes-kint-components/hi_IN.json +1 -122
- package/translations/stripes-kint-components/hu.json +1 -122
- package/translations/stripes-kint-components/it_IT.json +1 -122
- package/translations/stripes-kint-components/ja.json +1 -122
- package/translations/stripes-kint-components/ko.json +1 -122
- package/translations/stripes-kint-components/pt_PT.json +1 -122
- package/translations/stripes-kint-components/ru.json +1 -122
- package/translations/stripes-kint-components/sv.json +1 -122
- package/translations/stripes-kint-components/zh_CN.json +1 -122
- package/es/lib/CustomProperties/Config/testResources.js +0 -198
- package/es/lib/hooks/useAvailableCustomProperties.js +0 -73
- package/es/lib/utils/renderHelpText.js +0 -80
- package/src/lib/CustomProperties/Config/testResources.js +0 -236
- package/src/lib/hooks/useAvailableCustomProperties.js +0 -40
- package/src/lib/utils/renderHelpText.js +0 -27
|
@@ -3,921 +3,86 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.value = exports.
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
}
|
|
31
|
-
};
|
|
32
|
-
exports.custPropEditCtx = custPropEditCtx;
|
|
33
|
-
var availableCustomProperties = [{
|
|
34
|
-
'description': 'Author Identification',
|
|
35
|
-
'label': 'Author Identification',
|
|
36
|
-
'primary': true,
|
|
37
|
-
'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyRefdata',
|
|
38
|
-
'options': [{
|
|
39
|
-
'label': 'Not set',
|
|
40
|
-
'value': ''
|
|
41
|
-
}, {
|
|
42
|
-
'id': '2c91809c81393e6b018139454dec0061',
|
|
43
|
-
'value': 'orcid',
|
|
44
|
-
'label': 'ORCID'
|
|
45
|
-
}, {
|
|
46
|
-
'id': '2c91809c81393e6b018139454df50064',
|
|
47
|
-
'value': 'ringgold_id',
|
|
48
|
-
'label': 'Ringgold ID'
|
|
49
|
-
}, {
|
|
50
|
-
'id': '2c91809c81393e6b018139454de90060',
|
|
51
|
-
'value': 'email_domain',
|
|
52
|
-
'label': 'Email Domain'
|
|
53
|
-
}, {
|
|
54
|
-
'id': '2c91809c81393e6b018139454df20063',
|
|
55
|
-
'value': 'over_ip_range',
|
|
56
|
-
'label': 'Over IP Range'
|
|
57
|
-
}, {
|
|
58
|
-
'id': '2c91809c81393e6b018139454df90065',
|
|
59
|
-
'value': 'ror_id',
|
|
60
|
-
'label': 'ROR ID'
|
|
61
|
-
}, {
|
|
62
|
-
'id': '2c91809c81393e6b018139454de5005f',
|
|
63
|
-
'value': 'other',
|
|
64
|
-
'label': 'Other'
|
|
65
|
-
}, {
|
|
66
|
-
'id': '2c91809c81393e6b018139454def0062',
|
|
67
|
-
'value': 'over_institute',
|
|
68
|
-
'label': 'Over Institute'
|
|
69
|
-
}],
|
|
70
|
-
'value': 'AuthorIdentification',
|
|
71
|
-
'defaultInternal': true
|
|
72
|
-
}, {
|
|
73
|
-
'description': 'Does this agreement support publishing',
|
|
74
|
-
'label': 'Does this agreement support publishing',
|
|
75
|
-
'primary': true,
|
|
76
|
-
'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyText',
|
|
77
|
-
'value': 'Eligible authors',
|
|
78
|
-
'defaultInternal': true
|
|
79
|
-
}, {
|
|
80
|
-
'description': 'Description test',
|
|
81
|
-
'label': 'Test',
|
|
82
|
-
'primary': true,
|
|
83
|
-
'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyRefdata',
|
|
84
|
-
'options': [{
|
|
85
|
-
'label': 'Not set',
|
|
86
|
-
'value': ''
|
|
87
|
-
}, {
|
|
88
|
-
'id': '2c91809c81393e6b018139454bd30015',
|
|
89
|
-
'value': 'urlproxier',
|
|
90
|
-
'label': 'urlProxier'
|
|
91
|
-
}, {
|
|
92
|
-
'id': '2c91809c81393e6b018139454bda0016',
|
|
93
|
-
'value': 'urlcustomiser',
|
|
94
|
-
'label': 'urlCustomiser'
|
|
6
|
+
exports.value = exports.initialValues = void 0;
|
|
7
|
+
|
|
8
|
+
var _jest = require("../../../../test/jest");
|
|
9
|
+
|
|
10
|
+
var _agreementStatusRefda, _agreementStatusRefda2, _licenseAmendmentStat;
|
|
11
|
+
|
|
12
|
+
var agreementStatusRefdata = _jest.refdata === null || _jest.refdata === void 0 ? void 0 : _jest.refdata.find(function (rdc) {
|
|
13
|
+
return rdc.desc === 'SubscriptionAgreement.AgreementStatus';
|
|
14
|
+
});
|
|
15
|
+
var licenseAmendmentStatusRefdata = _jest.refdata === null || _jest.refdata === void 0 ? void 0 : _jest.refdata.find(function (rdc) {
|
|
16
|
+
return rdc.desc === 'LicenseAmendmentStatus.Status';
|
|
17
|
+
});
|
|
18
|
+
var value = {
|
|
19
|
+
AuthorIdentification: [{
|
|
20
|
+
id: 2,
|
|
21
|
+
internal: true,
|
|
22
|
+
publicNote: 'this is a public note',
|
|
23
|
+
note: 'this is an internal note',
|
|
24
|
+
value: agreementStatusRefdata === null || agreementStatusRefdata === void 0 ? void 0 : (_agreementStatusRefda = agreementStatusRefdata.values) === null || _agreementStatusRefda === void 0 ? void 0 : _agreementStatusRefda.find(function (rdv) {
|
|
25
|
+
return rdv.value === 'active';
|
|
26
|
+
}),
|
|
27
|
+
type: _jest.customProperties === null || _jest.customProperties === void 0 ? void 0 : _jest.customProperties.find(function (cp) {
|
|
28
|
+
return cp.name === 'AuthorIdentification';
|
|
29
|
+
})
|
|
95
30
|
}],
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
'options': [{
|
|
106
|
-
'label': 'Not set',
|
|
107
|
-
'value': ''
|
|
108
|
-
}, {
|
|
109
|
-
'id': '2c91809c81393e6b018139454dec0061',
|
|
110
|
-
'value': 'orcid',
|
|
111
|
-
'label': 'ORCID'
|
|
112
|
-
}, {
|
|
113
|
-
'id': '2c91809c81393e6b018139454df50064',
|
|
114
|
-
'value': 'ringgold_id',
|
|
115
|
-
'label': 'Ringgold ID'
|
|
116
|
-
}, {
|
|
117
|
-
'id': '2c91809c81393e6b018139454de90060',
|
|
118
|
-
'value': 'email_domain',
|
|
119
|
-
'label': 'Email Domain'
|
|
120
|
-
}, {
|
|
121
|
-
'id': '2c91809c81393e6b018139454df20063',
|
|
122
|
-
'value': 'over_ip_range',
|
|
123
|
-
'label': 'Over IP Range'
|
|
124
|
-
}, {
|
|
125
|
-
'id': '2c91809c81393e6b018139454df90065',
|
|
126
|
-
'value': 'ror_id',
|
|
127
|
-
'label': 'ROR ID'
|
|
128
|
-
}, {
|
|
129
|
-
'id': '2c91809c81393e6b018139454de5005f',
|
|
130
|
-
'value': 'other',
|
|
131
|
-
'label': 'Other'
|
|
132
|
-
}, {
|
|
133
|
-
'id': '2c91809c81393e6b018139454def0062',
|
|
134
|
-
'value': 'over_institute',
|
|
135
|
-
'label': 'Over Institute'
|
|
31
|
+
Test: [{
|
|
32
|
+
id: 4,
|
|
33
|
+
internal: true,
|
|
34
|
+
value: agreementStatusRefdata === null || agreementStatusRefdata === void 0 ? void 0 : (_agreementStatusRefda2 = agreementStatusRefdata.values) === null || _agreementStatusRefda2 === void 0 ? void 0 : _agreementStatusRefda2.find(function (rdv) {
|
|
35
|
+
return rdv.value === 'active';
|
|
36
|
+
}),
|
|
37
|
+
type: _jest.customProperties === null || _jest.customProperties === void 0 ? void 0 : _jest.customProperties.find(function (cp) {
|
|
38
|
+
return cp.name === 'Test';
|
|
39
|
+
})
|
|
136
40
|
}],
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
'options': [{
|
|
147
|
-
'label': 'Not set',
|
|
148
|
-
'value': ''
|
|
149
|
-
}, {
|
|
150
|
-
'id': '2c91809c81393e6b018139454dec0061',
|
|
151
|
-
'value': 'orcid',
|
|
152
|
-
'label': 'ORCID'
|
|
153
|
-
}, {
|
|
154
|
-
'id': '2c91809c81393e6b018139454df50064',
|
|
155
|
-
'value': 'ringgold_id',
|
|
156
|
-
'label': 'Ringgold ID'
|
|
157
|
-
}, {
|
|
158
|
-
'id': '2c91809c81393e6b018139454de90060',
|
|
159
|
-
'value': 'email_domain',
|
|
160
|
-
'label': 'Email Domain'
|
|
161
|
-
}, {
|
|
162
|
-
'id': '2c91809c81393e6b018139454df20063',
|
|
163
|
-
'value': 'over_ip_range',
|
|
164
|
-
'label': 'Over IP Range'
|
|
165
|
-
}, {
|
|
166
|
-
'id': '2c91809c81393e6b018139454df90065',
|
|
167
|
-
'value': 'ror_id',
|
|
168
|
-
'label': 'ROR ID'
|
|
169
|
-
}, {
|
|
170
|
-
'id': '2c91809c81393e6b018139454de5005f',
|
|
171
|
-
'value': 'other',
|
|
172
|
-
'label': 'Other'
|
|
173
|
-
}, {
|
|
174
|
-
'id': '2c91809c81393e6b018139454def0062',
|
|
175
|
-
'value': 'over_institute',
|
|
176
|
-
'label': 'Over Institute'
|
|
41
|
+
decimal: [{
|
|
42
|
+
id: 8,
|
|
43
|
+
publicNote: 'decimal',
|
|
44
|
+
note: 'decimal',
|
|
45
|
+
internal: true,
|
|
46
|
+
value: 1,
|
|
47
|
+
type: _jest.customProperties === null || _jest.customProperties === void 0 ? void 0 : _jest.customProperties.find(function (cp) {
|
|
48
|
+
return cp.name === 'decimal';
|
|
49
|
+
})
|
|
177
50
|
}],
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
}];
|
|
188
|
-
exports.customProperties = customProperties;
|
|
189
|
-
var labelOverrides = {
|
|
190
|
-
'defaultTitle': 'ƒ defaultTitle() {}',
|
|
191
|
-
'noContext': '<Memo />',
|
|
192
|
-
'OpenAccess': '<Memo />',
|
|
193
|
-
'primaryProperties': '<ForwardRef />',
|
|
194
|
-
'optionalProperties': '<ForwardRef />'
|
|
195
|
-
};
|
|
196
|
-
exports.labelOverrides = labelOverrides;
|
|
197
|
-
var value = {
|
|
198
|
-
'AuthorIdentification': [{
|
|
199
|
-
'value': 'orcid',
|
|
200
|
-
'note': 'internal note',
|
|
201
|
-
'publicNote': 'public note',
|
|
202
|
-
'internal': 'false'
|
|
51
|
+
integer: [{
|
|
52
|
+
id: 6,
|
|
53
|
+
publicNote: 'Integer',
|
|
54
|
+
note: 'Integer',
|
|
55
|
+
internal: true,
|
|
56
|
+
value: 1,
|
|
57
|
+
type: _jest.customProperties === null || _jest.customProperties === void 0 ? void 0 : _jest.customProperties.find(function (cp) {
|
|
58
|
+
return cp.name === 'integer';
|
|
59
|
+
})
|
|
203
60
|
}],
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
61
|
+
text: [{
|
|
62
|
+
id: 7,
|
|
63
|
+
publicNote: 'text',
|
|
64
|
+
note: 'text',
|
|
65
|
+
internal: true,
|
|
66
|
+
value: 'text',
|
|
67
|
+
type: _jest.customProperties === null || _jest.customProperties === void 0 ? void 0 : _jest.customProperties.find(function (cp) {
|
|
68
|
+
return cp.name === 'text';
|
|
69
|
+
})
|
|
207
70
|
}],
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
71
|
+
Refdata: [{
|
|
72
|
+
id: 5,
|
|
73
|
+
publicNote: 'refdata',
|
|
74
|
+
note: 'refdata',
|
|
75
|
+
internal: true,
|
|
76
|
+
value: licenseAmendmentStatusRefdata === null || licenseAmendmentStatusRefdata === void 0 ? void 0 : (_licenseAmendmentStat = licenseAmendmentStatusRefdata.values) === null || _licenseAmendmentStat === void 0 ? void 0 : _licenseAmendmentStat.find(function (rdv) {
|
|
77
|
+
return rdv.value === 'current';
|
|
78
|
+
}),
|
|
79
|
+
type: _jest.customProperties === null || _jest.customProperties === void 0 ? void 0 : _jest.customProperties.find(function (cp) {
|
|
80
|
+
return cp.name === 'Refdata';
|
|
81
|
+
})
|
|
211
82
|
}]
|
|
212
83
|
};
|
|
213
84
|
exports.value = value;
|
|
214
|
-
var cardFormValue = {
|
|
215
|
-
'AuthorIdentification': [{
|
|
216
|
-
'id': 2,
|
|
217
|
-
'publicNote': 'public note',
|
|
218
|
-
'note': 'internal note',
|
|
219
|
-
'internal': true,
|
|
220
|
-
'value': '{id: \'2c91809c813e654501813e6c3bc50061\', label: \'OR…}',
|
|
221
|
-
'type': '{category: {…}, ctx: \'OpenAccess\', defaultInternal:…}'
|
|
222
|
-
}],
|
|
223
|
-
'Eligible authors': [{
|
|
224
|
-
'_delete': true
|
|
225
|
-
}],
|
|
226
|
-
'Test': [{
|
|
227
|
-
'_delete': true
|
|
228
|
-
}]
|
|
229
|
-
};
|
|
230
|
-
exports.cardFormValue = cardFormValue;
|
|
231
|
-
var data = {
|
|
232
|
-
'ctx': 'isNull',
|
|
233
|
-
'customProperties': [{
|
|
234
|
-
'id': '2c91809d81560ccf01815613920f0028',
|
|
235
|
-
'name': 'authorisedUsers',
|
|
236
|
-
'primary': true,
|
|
237
|
-
'defaultInternal': true,
|
|
238
|
-
'label': 'Definition of authorised user',
|
|
239
|
-
'description': 'The definition of an authorised user for a resource',
|
|
240
|
-
'weight': -1,
|
|
241
|
-
'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyText'
|
|
242
|
-
}, {
|
|
243
|
-
'id': '2c91809d81560ccf0181561392030027',
|
|
244
|
-
'name': 'concurrentAccess',
|
|
245
|
-
'primary': true,
|
|
246
|
-
'defaultInternal': true,
|
|
247
|
-
'label': 'Number of concurrent users allowed',
|
|
248
|
-
'description': 'The number of concurrent users allowed by the resource',
|
|
249
|
-
'weight': 0,
|
|
250
|
-
'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyInteger'
|
|
251
|
-
}, {
|
|
252
|
-
'id': '2c91809d81560ccf0181561393af0029',
|
|
253
|
-
'name': 'walkInAccess',
|
|
254
|
-
'primary': true,
|
|
255
|
-
'category': {
|
|
256
|
-
'id': '2c91809d81560ccf0181561390c4001b',
|
|
257
|
-
'desc': 'Yes/No/Other',
|
|
258
|
-
'internal': false,
|
|
259
|
-
'values': '[{…}, {…}, {…}]'
|
|
260
|
-
},
|
|
261
|
-
'defaultInternal': false,
|
|
262
|
-
'label': 'Walk-in access permitted?',
|
|
263
|
-
'description': 'Can non-members of the library/instittuion use the resource when in the library',
|
|
264
|
-
'weight': 0,
|
|
265
|
-
'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyRefdata'
|
|
266
|
-
}, {
|
|
267
|
-
'id': '2c91809d81560ccf0181561393be002a',
|
|
268
|
-
'name': 'remoteAccess',
|
|
269
|
-
'primary': true,
|
|
270
|
-
'category': {
|
|
271
|
-
'id': '2c91809d81560ccf0181561390c4001b',
|
|
272
|
-
'desc': 'Yes/No/Other',
|
|
273
|
-
'internal': false,
|
|
274
|
-
'values': '[{…}, {…}, {…}]'
|
|
275
|
-
},
|
|
276
|
-
'defaultInternal': true,
|
|
277
|
-
'label': 'Access restricted to on-campus/campus network?',
|
|
278
|
-
'description': 'Can access to the resource be provided from outside the library or institutional location / network',
|
|
279
|
-
'weight': 0,
|
|
280
|
-
'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyRefdata'
|
|
281
|
-
}, {
|
|
282
|
-
'id': '2c91809d81560ccf0181561393c4002b',
|
|
283
|
-
'name': 'illElectronic',
|
|
284
|
-
'primary': true,
|
|
285
|
-
'category': {
|
|
286
|
-
'id': '2c91809d81560ccf0181561390dd001f',
|
|
287
|
-
'desc': 'Permitted/Prohibited',
|
|
288
|
-
'internal': false,
|
|
289
|
-
'values': '[{…}, {…}, {…}, {…}, {…}, {…}, {…}]'
|
|
290
|
-
},
|
|
291
|
-
'defaultInternal': true,
|
|
292
|
-
'label': 'Electronic ILL',
|
|
293
|
-
'description': 'The right to provide the licensed materials via interlibrary loan by way of electronic copies',
|
|
294
|
-
'weight': 0,
|
|
295
|
-
'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyRefdata'
|
|
296
|
-
}, {
|
|
297
|
-
'id': '2c91809d81560ccf0181561393ca002c',
|
|
298
|
-
'name': 'illSecureElectronic',
|
|
299
|
-
'primary': true,
|
|
300
|
-
'category': {
|
|
301
|
-
'id': '2c91809d81560ccf0181561390dd001f',
|
|
302
|
-
'desc': 'Permitted/Prohibited',
|
|
303
|
-
'internal': false,
|
|
304
|
-
'values': '[{…}, {…}, {…}, {…}, {…}, {…}, {…}]'
|
|
305
|
-
},
|
|
306
|
-
'defaultInternal': true,
|
|
307
|
-
'label': 'Secure Electronic ILL',
|
|
308
|
-
'description': 'The right to provide the licensed materials via interlibrary loan by way of secure electronic transmission',
|
|
309
|
-
'weight': 0,
|
|
310
|
-
'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyRefdata'
|
|
311
|
-
}, {
|
|
312
|
-
'id': '2c91809d81560ccf0181561393d2002d',
|
|
313
|
-
'name': 'illPrint',
|
|
314
|
-
'primary': true,
|
|
315
|
-
'category': {
|
|
316
|
-
'id': '2c91809d81560ccf0181561390dd001f',
|
|
317
|
-
'desc': 'Permitted/Prohibited',
|
|
318
|
-
'internal': false,
|
|
319
|
-
'values': '[{…}, {…}, {…}, {…}, {…}, {…}, {…}]'
|
|
320
|
-
},
|
|
321
|
-
'defaultInternal': true,
|
|
322
|
-
'label': 'Print ILL',
|
|
323
|
-
'description': 'The right to provide the licensed materials via interlibrary loan by way of print copies or facsimile transmission',
|
|
324
|
-
'weight': 0,
|
|
325
|
-
'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyRefdata'
|
|
326
|
-
}, {
|
|
327
|
-
'id': '2c91809d81560ccf0181561393d7002e',
|
|
328
|
-
'name': 'reservesElectronic',
|
|
329
|
-
'primary': true,
|
|
330
|
-
'category': {
|
|
331
|
-
'id': '2c91809d81560ccf0181561390dd001f',
|
|
332
|
-
'desc': 'Permitted/Prohibited',
|
|
333
|
-
'internal': false,
|
|
334
|
-
'values': '[{…}, {…}, {…}, {…}, {…}, {…}, {…}]'
|
|
335
|
-
},
|
|
336
|
-
'defaultInternal': true,
|
|
337
|
-
'label': 'Storage of electronic copies on secure network',
|
|
338
|
-
'description': 'The right to make electronic copies of the licensed materials and store them on a secure network',
|
|
339
|
-
'weight': 0,
|
|
340
|
-
'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyRefdata'
|
|
341
|
-
}, {
|
|
342
|
-
'id': '2c91809d81560ccf0181561393e0002f',
|
|
343
|
-
'name': 'coursePackElectronic',
|
|
344
|
-
'primary': true,
|
|
345
|
-
'category': {
|
|
346
|
-
'id': '2c91809d81560ccf0181561390dd001f',
|
|
347
|
-
'desc': 'Permitted/Prohibited',
|
|
348
|
-
'internal': false,
|
|
349
|
-
'values': '[{…}, {…}, {…}, {…}, {…}, {…}, {…}]'
|
|
350
|
-
},
|
|
351
|
-
'defaultInternal': false,
|
|
352
|
-
'label': 'Use in electronic coursepacks',
|
|
353
|
-
'description': 'The right to use licensed materials in collections or compilations of materials assembled in an electronic format by faculty members for use by students in a class for purposes of instruction',
|
|
354
|
-
'weight': 0,
|
|
355
|
-
'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyRefdata'
|
|
356
|
-
}, {
|
|
357
|
-
'id': '2c91809d81560ccf0181561393ee0030',
|
|
358
|
-
'name': 'coursePackPrint',
|
|
359
|
-
'primary': true,
|
|
360
|
-
'category': {
|
|
361
|
-
'id': '2c91809d81560ccf0181561390dd001f',
|
|
362
|
-
'desc': 'Permitted/Prohibited',
|
|
363
|
-
'internal': false,
|
|
364
|
-
'values': '[{…}, {…}, {…}, {…}, {…}, {…}, {…}]'
|
|
365
|
-
},
|
|
366
|
-
'defaultInternal': false,
|
|
367
|
-
'label': 'Use in print course packs',
|
|
368
|
-
'description': 'The right to use licensed materials in collections or compilations of materials assembled in a print format by faculty members for use by students in a class for purposes of instruction',
|
|
369
|
-
'weight': 0,
|
|
370
|
-
'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyRefdata'
|
|
371
|
-
}, {
|
|
372
|
-
'id': '2c91809d81560ccf0181561393f70031',
|
|
373
|
-
'name': 'copyDigital',
|
|
374
|
-
'primary': true,
|
|
375
|
-
'category': {
|
|
376
|
-
'id': '2c91809d81560ccf0181561390dd001f',
|
|
377
|
-
'desc': 'Permitted/Prohibited',
|
|
378
|
-
'internal': false,
|
|
379
|
-
'values': '[{…}, {…}, {…}, {…}, {…}, {…}, {…}]'
|
|
380
|
-
},
|
|
381
|
-
'defaultInternal': true,
|
|
382
|
-
'label': 'Making digital copies',
|
|
383
|
-
'description': 'The right of the licensee and authorized users to download and digitally copy a reasonable portion of the licensed materials',
|
|
384
|
-
'weight': 0,
|
|
385
|
-
'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyRefdata'
|
|
386
|
-
}, {
|
|
387
|
-
'id': '2c91809d81560ccf0181561393fc0032',
|
|
388
|
-
'name': 'copyPrint',
|
|
389
|
-
'primary': true,
|
|
390
|
-
'category': {
|
|
391
|
-
'id': '2c91809d81560ccf0181561390dd001f',
|
|
392
|
-
'desc': 'Permitted/Prohibited',
|
|
393
|
-
'internal': false,
|
|
394
|
-
'values': '[{…}, {…}, {…}, {…}, {…}, {…}, {…}]'
|
|
395
|
-
},
|
|
396
|
-
'defaultInternal': true,
|
|
397
|
-
'label': 'Making print copies',
|
|
398
|
-
'description': 'The right of the licensee and authorized users to print a reasonable portion of the licensed materials',
|
|
399
|
-
'weight': 0,
|
|
400
|
-
'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyRefdata'
|
|
401
|
-
}, {
|
|
402
|
-
'id': '2c91809d81560ccf0181561394010033',
|
|
403
|
-
'name': 'scholarlySharing',
|
|
404
|
-
'primary': false,
|
|
405
|
-
'category': {
|
|
406
|
-
'id': '2c91809d81560ccf0181561390dd001f',
|
|
407
|
-
'desc': 'Permitted/Prohibited',
|
|
408
|
-
'internal': false,
|
|
409
|
-
'values': '[{…}, {…}, {…}, {…}, {…}, {…}, {…}]'
|
|
410
|
-
},
|
|
411
|
-
'defaultInternal': true,
|
|
412
|
-
'label': 'Sharing for scholarly use',
|
|
413
|
-
'description': 'The right of authorized users and/or licensee to transmit hard copy or electronic copy of reasonable amounts of licensed materials to a third party for personal, scholarly, educational, scientific or professional use',
|
|
414
|
-
'weight': 0,
|
|
415
|
-
'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyRefdata'
|
|
416
|
-
}, {
|
|
417
|
-
'id': '2c91809d81560ccf0181561394050034',
|
|
418
|
-
'name': 'otherRestrictions',
|
|
419
|
-
'primary': false,
|
|
420
|
-
'defaultInternal': true,
|
|
421
|
-
'label': 'Other restrictions',
|
|
422
|
-
'description': 'Other restrictions expressed in the license',
|
|
423
|
-
'weight': 0,
|
|
424
|
-
'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyText'
|
|
425
|
-
}, {
|
|
426
|
-
'id': '2c91809d81560ccf0181561394090035',
|
|
427
|
-
'name': 'textAndDataMining',
|
|
428
|
-
'primary': false,
|
|
429
|
-
'category': {
|
|
430
|
-
'id': '2c91809d81560ccf0181561390dd001f',
|
|
431
|
-
'desc': 'Permitted/Prohibited',
|
|
432
|
-
'internal': false,
|
|
433
|
-
'values': '[{…}, {…}, {…}, {…}, {…}, {…}, {…}]'
|
|
434
|
-
},
|
|
435
|
-
'defaultInternal': false,
|
|
436
|
-
'label': 'Text and Data mining',
|
|
437
|
-
'description': 'Whether it is permitted to use text and data mining processes on the content of the resource',
|
|
438
|
-
'weight': 0,
|
|
439
|
-
'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyRefdata'
|
|
440
|
-
}, {
|
|
441
|
-
'id': '2c91809d81560ccf0181561394130037',
|
|
442
|
-
'name': 'authIP',
|
|
443
|
-
'primary': false,
|
|
444
|
-
'category': {
|
|
445
|
-
'id': '2c91809d81560ccf0181561390c4001b',
|
|
446
|
-
'desc': 'Yes/No/Other',
|
|
447
|
-
'internal': false,
|
|
448
|
-
'values': '[{…}, {…}, {…}]'
|
|
449
|
-
},
|
|
450
|
-
'defaultInternal': true,
|
|
451
|
-
'label': 'IP authentication supported?',
|
|
452
|
-
'description': 'Whether authentication via IP range is supported',
|
|
453
|
-
'weight': 0,
|
|
454
|
-
'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyRefdata'
|
|
455
|
-
}, {
|
|
456
|
-
'id': '2c91809d81560ccf0181561394190038',
|
|
457
|
-
'name': 'authProxy',
|
|
458
|
-
'primary': false,
|
|
459
|
-
'category': {
|
|
460
|
-
'id': '2c91809d81560ccf0181561390c4001b',
|
|
461
|
-
'desc': 'Yes/No/Other',
|
|
462
|
-
'internal': false,
|
|
463
|
-
'values': '[{…}, {…}, {…}]'
|
|
464
|
-
},
|
|
465
|
-
'defaultInternal': true,
|
|
466
|
-
'label': 'Access via a proxy supported?',
|
|
467
|
-
'description': 'Whether authentication via a reverse proxy is supported',
|
|
468
|
-
'weight': 0,
|
|
469
|
-
'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyRefdata'
|
|
470
|
-
}, {
|
|
471
|
-
'id': '2c91809d81560ccf018156139423003a',
|
|
472
|
-
'name': 'authSAML',
|
|
473
|
-
'primary': false,
|
|
474
|
-
'category': {
|
|
475
|
-
'id': '2c91809d81560ccf0181561390c4001b',
|
|
476
|
-
'desc': 'Yes/No/Other',
|
|
477
|
-
'internal': false,
|
|
478
|
-
'values': '[{…}, {…}, {…}]'
|
|
479
|
-
},
|
|
480
|
-
'defaultInternal': true,
|
|
481
|
-
'label': 'SAML compliant authentication supported?',
|
|
482
|
-
'description': 'Whether authentication via SAML compliant method is supported',
|
|
483
|
-
'weight': 0,
|
|
484
|
-
'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyRefdata'
|
|
485
|
-
}, {
|
|
486
|
-
'id': '2c91809d81560ccf018156139428003b',
|
|
487
|
-
'name': 'annualOptOut',
|
|
488
|
-
'primary': false,
|
|
489
|
-
'category': {
|
|
490
|
-
'id': '2c91809d81560ccf0181561390c4001b',
|
|
491
|
-
'desc': 'Yes/No/Other',
|
|
492
|
-
'internal': false,
|
|
493
|
-
'values': '[{…}, {…}, {…}]'
|
|
494
|
-
},
|
|
495
|
-
'defaultInternal': true,
|
|
496
|
-
'label': 'Annual opt-out clause included?',
|
|
497
|
-
'description': 'Whether the license includes an "annual opt-out" clause within a multi-year agreement',
|
|
498
|
-
'weight': 0,
|
|
499
|
-
'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyRefdata'
|
|
500
|
-
}, {
|
|
501
|
-
'id': '2c91809d81560ccf01815613942a003c',
|
|
502
|
-
'name': 'APCAndOffsetting',
|
|
503
|
-
'primary': false,
|
|
504
|
-
'defaultInternal': true,
|
|
505
|
-
'label': 'Whether the resource is subject to an APC discount or subscription cost offsetting agreement',
|
|
506
|
-
'description': 'Whether the resource is subject to an APC discount or subscription cost offsetting agreement',
|
|
507
|
-
'weight': 0,
|
|
508
|
-
'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyText'
|
|
509
|
-
}, {
|
|
510
|
-
'id': '2c91809d81560ccf01816bd1f7b0003d',
|
|
511
|
-
'name': 'TestToast',
|
|
512
|
-
'primary': true,
|
|
513
|
-
'category': {
|
|
514
|
-
'id': '2c91809d81560ccf018156138f8c0010',
|
|
515
|
-
'desc': 'License.Type',
|
|
516
|
-
'internal': false,
|
|
517
|
-
'values': '[{…}, {…}, {…}, {…}]'
|
|
518
|
-
},
|
|
519
|
-
'defaultInternal': true,
|
|
520
|
-
'label': 'test',
|
|
521
|
-
'description': 'description',
|
|
522
|
-
'weight': 0,
|
|
523
|
-
'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyRefdata'
|
|
524
|
-
}, {
|
|
525
|
-
'id': '2c91809d81560ccf01815613941e0039',
|
|
526
|
-
'name': 'postCancellationAccess',
|
|
527
|
-
'primary': false,
|
|
528
|
-
'category': {
|
|
529
|
-
'id': '2c91809d81560ccf0181561390c4001b',
|
|
530
|
-
'desc': 'Yes/No/Other',
|
|
531
|
-
'internal': false,
|
|
532
|
-
'values': '[{…}, {…}, {…}]'
|
|
533
|
-
},
|
|
534
|
-
'defaultInternal': true,
|
|
535
|
-
'label': 'Post-cancellation terms included?',
|
|
536
|
-
'description': 'Does the license include post-cancellation terms?',
|
|
537
|
-
'weight': 1,
|
|
538
|
-
'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyRefdata'
|
|
539
|
-
}],
|
|
540
|
-
'labelOverrides': {
|
|
541
|
-
'defaultTitle': 'ƒ defaultTitle() {}',
|
|
542
|
-
'noContext': '<Memo />',
|
|
543
|
-
'primaryProperties': 'Primary terms',
|
|
544
|
-
'optionalProperties': 'Optional terms'
|
|
545
|
-
},
|
|
546
|
-
'name': 'customProperties'
|
|
547
|
-
};
|
|
548
|
-
exports.data = data;
|
|
549
85
|
var initialValues = {
|
|
550
|
-
|
|
551
|
-
'dateCreated': '2022-06-16T09:43:07Z',
|
|
552
|
-
'items': '[]',
|
|
553
|
-
'name': 'Mr agreements',
|
|
554
|
-
'orgs': '[]',
|
|
555
|
-
'externalLicenseDocs': '[]',
|
|
556
|
-
'outwardRelationships': '[]',
|
|
557
|
-
'customProperties': {
|
|
558
|
-
'test': [{
|
|
559
|
-
'id': 4,
|
|
560
|
-
'internal': true,
|
|
561
|
-
'value': {
|
|
562
|
-
'id': '2c91809c81560c700181561371d8003f',
|
|
563
|
-
'value': 'active',
|
|
564
|
-
'label': 'Active'
|
|
565
|
-
},
|
|
566
|
-
'type': {
|
|
567
|
-
'id': '2c91809c81560c7001816be1662d004a',
|
|
568
|
-
'name': 'test',
|
|
569
|
-
'primary': true,
|
|
570
|
-
'category': {
|
|
571
|
-
'id': 'ecd497ee8ec8c7149ae889d1c7803262',
|
|
572
|
-
'desc': 'SubscriptionAgreement.AgreementStatus',
|
|
573
|
-
'internal': true,
|
|
574
|
-
'values': [{
|
|
575
|
-
'id': '50c018ef8f7599db092e27a5178f6493',
|
|
576
|
-
'value': 'closed',
|
|
577
|
-
'label': 'Closed'
|
|
578
|
-
}, {
|
|
579
|
-
'id': '2c91809c81560c700181561371d1003e',
|
|
580
|
-
'value': 'in_negotiation',
|
|
581
|
-
'label': 'In negotiation'
|
|
582
|
-
}, {
|
|
583
|
-
'id': '2c91809c81560c700181561371cc003d',
|
|
584
|
-
'value': 'requested',
|
|
585
|
-
'label': 'Requested'
|
|
586
|
-
}, {
|
|
587
|
-
'id': '2c91809c81560c700181561371c6003c',
|
|
588
|
-
'value': 'draft',
|
|
589
|
-
'label': 'Draft'
|
|
590
|
-
}, {
|
|
591
|
-
'id': '2c91809c81560c700181561371d8003f',
|
|
592
|
-
'value': 'active',
|
|
593
|
-
'label': 'Active'
|
|
594
|
-
}]
|
|
595
|
-
},
|
|
596
|
-
'defaultInternal': true,
|
|
597
|
-
'label': 'agreement test',
|
|
598
|
-
'description': 'description',
|
|
599
|
-
'weight': 0,
|
|
600
|
-
'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyRefdata'
|
|
601
|
-
}
|
|
602
|
-
}],
|
|
603
|
-
'decimal': [{
|
|
604
|
-
'id': 8,
|
|
605
|
-
'publicNote': 'decimal',
|
|
606
|
-
'note': 'decimal',
|
|
607
|
-
'internal': true,
|
|
608
|
-
'value': 1,
|
|
609
|
-
'type': {
|
|
610
|
-
'id': '2c91809c81560c7001817150dbd8004b',
|
|
611
|
-
'name': 'decimal',
|
|
612
|
-
'primary': true,
|
|
613
|
-
'defaultInternal': true,
|
|
614
|
-
'label': 'decimal',
|
|
615
|
-
'description': 'decimal',
|
|
616
|
-
'weight': 1,
|
|
617
|
-
'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyDecimal'
|
|
618
|
-
}
|
|
619
|
-
}],
|
|
620
|
-
'integer': [{
|
|
621
|
-
'id': 6,
|
|
622
|
-
'publicNote': 'Integer',
|
|
623
|
-
'note': 'Integer',
|
|
624
|
-
'internal': true,
|
|
625
|
-
'value': 1,
|
|
626
|
-
'type': {
|
|
627
|
-
'id': '2c91809c81560c700181715123ce004c',
|
|
628
|
-
'name': 'integer',
|
|
629
|
-
'primary': true,
|
|
630
|
-
'defaultInternal': true,
|
|
631
|
-
'label': 'integer',
|
|
632
|
-
'description': 'integer',
|
|
633
|
-
'weight': 0,
|
|
634
|
-
'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyInteger'
|
|
635
|
-
}
|
|
636
|
-
}],
|
|
637
|
-
'text': [{
|
|
638
|
-
'id': 7,
|
|
639
|
-
'publicNote': 'text',
|
|
640
|
-
'note': 'text',
|
|
641
|
-
'internal': true,
|
|
642
|
-
'value': 'text',
|
|
643
|
-
'type': {
|
|
644
|
-
'id': '2c91809c81560c7001817151762a004d',
|
|
645
|
-
'name': 'text',
|
|
646
|
-
'primary': true,
|
|
647
|
-
'defaultInternal': true,
|
|
648
|
-
'label': 'text',
|
|
649
|
-
'description': 'text',
|
|
650
|
-
'weight': 0,
|
|
651
|
-
'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyText'
|
|
652
|
-
}
|
|
653
|
-
}],
|
|
654
|
-
'Refdata': [{
|
|
655
|
-
'id': 5,
|
|
656
|
-
'publicNote': 'refdata',
|
|
657
|
-
'note': 'refdata',
|
|
658
|
-
'internal': true,
|
|
659
|
-
'value': {
|
|
660
|
-
'id': '2c91809c81560c700181561370a80005',
|
|
661
|
-
'value': 'current',
|
|
662
|
-
'label': 'Current'
|
|
663
|
-
},
|
|
664
|
-
'type': {
|
|
665
|
-
'id': '2c91809c81560c70018171521866004e',
|
|
666
|
-
'name': 'Refdata',
|
|
667
|
-
'primary': true,
|
|
668
|
-
'category': {
|
|
669
|
-
'id': '2c91809c81560c700181561370a50004',
|
|
670
|
-
'desc': 'LicenseAmendmentStatus.Status',
|
|
671
|
-
'internal': true,
|
|
672
|
-
'values': [{
|
|
673
|
-
'id': '2c91809c81560c700181561370b40007',
|
|
674
|
-
'value': 'historical',
|
|
675
|
-
'label': 'Historical'
|
|
676
|
-
}, {
|
|
677
|
-
'id': '2c91809c81560c700181561370ad0006',
|
|
678
|
-
'value': 'future',
|
|
679
|
-
'label': 'Future'
|
|
680
|
-
}, {
|
|
681
|
-
'id': '2c91809c81560c700181561370a80005',
|
|
682
|
-
'value': 'current',
|
|
683
|
-
'label': 'Current'
|
|
684
|
-
}, {
|
|
685
|
-
'id': '2c91809c81560c700181561370b90008',
|
|
686
|
-
'value': 'does_not_apply',
|
|
687
|
-
'label': 'Does not apply'
|
|
688
|
-
}]
|
|
689
|
-
},
|
|
690
|
-
'defaultInternal': true,
|
|
691
|
-
'label': 'Refdata',
|
|
692
|
-
'description': 'refdata',
|
|
693
|
-
'weight': 0,
|
|
694
|
-
'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyRefdata'
|
|
695
|
-
}
|
|
696
|
-
}]
|
|
697
|
-
},
|
|
698
|
-
'contacts': '[]',
|
|
699
|
-
'tags': '[]',
|
|
700
|
-
'lastUpdated': '2022-06-17T11:44:59Z',
|
|
701
|
-
'inwardRelationships': '[]',
|
|
702
|
-
'startDate': '2022-06-16',
|
|
703
|
-
'linkedLicenses': '[]',
|
|
704
|
-
'docs': '[]',
|
|
705
|
-
'periods': '[{…}]',
|
|
706
|
-
'usageDataProviders': '[]',
|
|
707
|
-
'agreementStatus': 'active',
|
|
708
|
-
'supplementaryDocs': '[]',
|
|
709
|
-
'endDate': null,
|
|
710
|
-
'cancellationDeadline': null,
|
|
711
|
-
'alternateNames': '[]',
|
|
712
|
-
'relatedAgreements': '[]'
|
|
713
|
-
};
|
|
714
|
-
exports.initialValues = initialValues;
|
|
715
|
-
var integerData = {
|
|
716
|
-
'availableCustomProperties': ['{defaultInternal: true, description: \'Author Identi…}', '{defaultInternal: true, description: \'Does this agr…}', '{defaultInternal: true, description: \'decimal\', lab…}', '{defaultInternal: true, description: \'integer\', lab…}', '{defaultInternal: true, description: \'multi-select\'…}', '{defaultInternal: true, description: \'date\', label:…}'],
|
|
717
|
-
'customProperty': {
|
|
718
|
-
'description': 'integer',
|
|
719
|
-
'label': 'Integer',
|
|
720
|
-
'primary': true,
|
|
721
|
-
'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyInteger',
|
|
722
|
-
'value': 'integer',
|
|
723
|
-
'defaultInternal': true
|
|
724
|
-
},
|
|
725
|
-
'customPropertyType': 'primary',
|
|
726
|
-
'customProperties': ['{defaultInternal: true, description: \'Author Identi…}', '{defaultInternal: true, description: \'Does this agr…}', '{defaultInternal: true, description: \'decimal\', lab…}', '{defaultInternal: true, description: \'integer\', lab…}', '{defaultInternal: true, description: \'multi-select\'…}', '{defaultInternal: true, description: \'date\', label:…}'],
|
|
727
|
-
'index': 3,
|
|
728
|
-
'internalPropertyCounter': 4,
|
|
729
|
-
'labelOverrides': {
|
|
730
|
-
'defaultTitle': 'ƒ defaultTitle() {}',
|
|
731
|
-
'noContext': '<Memo />',
|
|
732
|
-
'OpenAccess': '<Memo />',
|
|
733
|
-
'primaryProperties': '<ForwardRef />',
|
|
734
|
-
'optionalProperties': '<ForwardRef />'
|
|
735
|
-
},
|
|
736
|
-
'name': 'customProperties',
|
|
737
|
-
'onChange': 'ƒ () {}',
|
|
738
|
-
'setCustomProperties': 'ƒ bound dispatchAction() {}',
|
|
739
|
-
'value': {
|
|
740
|
-
'AuthorIdentification': '[{…}]',
|
|
741
|
-
'Eligible authors': '[{…}]',
|
|
742
|
-
'Decimal': '[{…}]',
|
|
743
|
-
'integer': '[{…}]',
|
|
744
|
-
'refdataMultiSelect': '[{…}]',
|
|
745
|
-
'date': '[{…}]'
|
|
746
|
-
}
|
|
747
|
-
};
|
|
748
|
-
exports.integerData = integerData;
|
|
749
|
-
var decimalData = {
|
|
750
|
-
'availableCustomProperties': ['{defaultInternal: true, description: \'Author Identi…}', '{defaultInternal: true, description: \'Does this agr…}', '{defaultInternal: true, description: \'decimal\', lab…}', '{defaultInternal: true, description: \'integer\', lab…}', '{defaultInternal: true, description: \'multi-select\'…}', '{defaultInternal: true, description: \'date\', label:…}'],
|
|
751
|
-
'customProperty': {
|
|
752
|
-
'description': 'decimal',
|
|
753
|
-
'label': 'decimal',
|
|
754
|
-
'primary': true,
|
|
755
|
-
'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyDecimal',
|
|
756
|
-
'value': 'Decimal',
|
|
757
|
-
'defaultInternal': true
|
|
758
|
-
},
|
|
759
|
-
'customPropertyType': 'primary',
|
|
760
|
-
'customProperties': ['{defaultInternal: true, description: \'Author Identi…}', '{defaultInternal: true, description: \'Does this agr…}', '{defaultInternal: true, description: \'decimal\', lab…}', '{defaultInternal: true, description: \'integer\', lab…}', '{defaultInternal: true, description: \'multi-select\'…}', '{defaultInternal: true, description: \'date\', label:…}'],
|
|
761
|
-
'index': 2,
|
|
762
|
-
'internalPropertyCounter': 3,
|
|
763
|
-
'labelOverrides': {
|
|
764
|
-
'defaultTitle': 'ƒ defaultTitle() {}',
|
|
765
|
-
'noContext': '<Memo />',
|
|
766
|
-
'OpenAccess': '<Memo />',
|
|
767
|
-
'primaryProperties': '<ForwardRef />',
|
|
768
|
-
'optionalProperties': '<ForwardRef />'
|
|
769
|
-
},
|
|
770
|
-
'name': 'customProperties',
|
|
771
|
-
'onChange': 'ƒ () {}',
|
|
772
|
-
'setCustomProperties': 'ƒ bound dispatchAction() {}',
|
|
773
|
-
'value': {
|
|
774
|
-
'AuthorIdentification': '[{…}]',
|
|
775
|
-
'Eligible authors': '[{…}]',
|
|
776
|
-
'Decimal': [{
|
|
777
|
-
'id': 5,
|
|
778
|
-
'internal': true,
|
|
779
|
-
'value': 20,
|
|
780
|
-
'type': {
|
|
781
|
-
'id': '2c91809c817c329101817e1e6efb0117',
|
|
782
|
-
'retired': false,
|
|
783
|
-
'ctx': 'OpenAccess',
|
|
784
|
-
'name': 'Decimal',
|
|
785
|
-
'primary': true,
|
|
786
|
-
'defaultInternal': true,
|
|
787
|
-
'label': 'decimal',
|
|
788
|
-
'description': 'decimal',
|
|
789
|
-
'weight': 0,
|
|
790
|
-
'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyDecimal'
|
|
791
|
-
}
|
|
792
|
-
}],
|
|
793
|
-
'integer': '[{…}]',
|
|
794
|
-
'refdataMultiSelect': '[{…}]',
|
|
795
|
-
'date': '[{…}]'
|
|
796
|
-
}
|
|
797
|
-
};
|
|
798
|
-
exports.decimalData = decimalData;
|
|
799
|
-
var multiSelectData = {
|
|
800
|
-
'availableCustomProperties': ['{defaultInternal: true, description: \'Author Identi…}', '{defaultInternal: true, description: \'Does this agr…}', '{defaultInternal: true, description: \'decimal\', lab…}', '{defaultInternal: true, description: \'integer\', lab…}', '{defaultInternal: true, description: \'multi-select\'…}', '{defaultInternal: true, description: \'date\', label:…}'],
|
|
801
|
-
'customProperty': {
|
|
802
|
-
'description': 'multi-select',
|
|
803
|
-
'label': 'multi-select Refdata',
|
|
804
|
-
'primary': true,
|
|
805
|
-
'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyMultiRefdata',
|
|
806
|
-
'options': [{
|
|
807
|
-
'label': 'Not set',
|
|
808
|
-
'value': ''
|
|
809
|
-
}, {
|
|
810
|
-
'id': '2c91809c817c329101817c395515004a',
|
|
811
|
-
'value': 'ceased',
|
|
812
|
-
'label': 'Ceased'
|
|
813
|
-
}, {
|
|
814
|
-
'id': '2c91809c817c329101817c39551a004b',
|
|
815
|
-
'value': 'superseded',
|
|
816
|
-
'label': 'Superseded'
|
|
817
|
-
}, {
|
|
818
|
-
'id': '3cea0f61a2e56b782fb733dc840e4c26',
|
|
819
|
-
'value': 'rejected',
|
|
820
|
-
'label': 'Rejected'
|
|
821
|
-
}, {
|
|
822
|
-
'id': '2c91809c817c329101817c39550e0049',
|
|
823
|
-
'value': 'cancelled',
|
|
824
|
-
'label': 'Cancelled'
|
|
825
|
-
}],
|
|
826
|
-
'value': 'refdataMultiSelect',
|
|
827
|
-
'defaultInternal': true
|
|
828
|
-
},
|
|
829
|
-
'customPropertyType': 'primary',
|
|
830
|
-
'customProperties': ['{defaultInternal: true, description: \'Author Identi…}', '{defaultInternal: true, description: \'Does this agr…}', '{defaultInternal: true, description: \'decimal\', lab…}', '{defaultInternal: true, description: \'integer\', lab…}', '{defaultInternal: true, description: \'multi-select\'…}', '{defaultInternal: true, description: \'date\', label:…}'],
|
|
831
|
-
'index': 4,
|
|
832
|
-
'internalPropertyCounter': 5,
|
|
833
|
-
'labelOverrides': {
|
|
834
|
-
'defaultTitle': 'ƒ defaultTitle() {}',
|
|
835
|
-
'noContext': '<Memo />',
|
|
836
|
-
'OpenAccess': '<Memo />',
|
|
837
|
-
'primaryProperties': '<ForwardRef />',
|
|
838
|
-
'optionalProperties': '<ForwardRef />'
|
|
839
|
-
},
|
|
840
|
-
'name': 'customProperties',
|
|
841
|
-
'onChange': 'ƒ () {}',
|
|
842
|
-
'setCustomProperties': 'ƒ bound dispatchAction() {}',
|
|
843
|
-
'value': {
|
|
844
|
-
'AuthorIdentification': '[{…}]',
|
|
845
|
-
'Eligible authors': '[{…}]',
|
|
846
|
-
'Decimal': '[{…}]',
|
|
847
|
-
'integer': '[{…}]',
|
|
848
|
-
'refdataMultiSelect': [{
|
|
849
|
-
'id': 4,
|
|
850
|
-
'internal': true,
|
|
851
|
-
'value': '[{…}, {…}]',
|
|
852
|
-
'type': '{category: {…}, ctx: \'OpenAccess\', defaultInternal:…}'
|
|
853
|
-
}],
|
|
854
|
-
'date': [{
|
|
855
|
-
'id': 6,
|
|
856
|
-
'internal': true,
|
|
857
|
-
'value': '2022-06-14',
|
|
858
|
-
'type': {
|
|
859
|
-
'id': '2c91809c817c329101817e1fc1f0011a',
|
|
860
|
-
'retired': false,
|
|
861
|
-
'ctx': 'OpenAccess',
|
|
862
|
-
'name': 'date',
|
|
863
|
-
'primary': true,
|
|
864
|
-
'defaultInternal': true,
|
|
865
|
-
'label': 'date',
|
|
866
|
-
'description': 'date',
|
|
867
|
-
'weight': 0,
|
|
868
|
-
'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyLocalDate'
|
|
869
|
-
}
|
|
870
|
-
}]
|
|
871
|
-
}
|
|
872
|
-
};
|
|
873
|
-
exports.multiSelectData = multiSelectData;
|
|
874
|
-
var dateData = {
|
|
875
|
-
'availableCustomProperties': ['{defaultInternal: true, description: \'Author Identi…}', '{defaultInternal: true, description: \'Does this agr…}', '{defaultInternal: true, description: \'decimal\', lab…}', '{defaultInternal: true, description: \'integer\', lab…}', '{defaultInternal: true, description: \'multi-select\'…}', '{defaultInternal: true, description: \'date\', label:…}'],
|
|
876
|
-
'customProperty': {
|
|
877
|
-
'description': 'date',
|
|
878
|
-
'label': 'date',
|
|
879
|
-
'primary': true,
|
|
880
|
-
'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyLocalDate',
|
|
881
|
-
'value': 'date',
|
|
882
|
-
'defaultInternal': true
|
|
883
|
-
},
|
|
884
|
-
'customPropertyType': 'primary',
|
|
885
|
-
'customProperties': ['{defaultInternal: true, description: \'Author Identi…}', '{defaultInternal: true, description: \'Does this agr…}', '{defaultInternal: true, description: \'decimal\', lab…}', '{defaultInternal: true, description: \'integer\', lab…}', '{defaultInternal: true, description: \'multi-select\'…}', '{defaultInternal: true, description: \'date\', label:…}'],
|
|
886
|
-
'index': 5,
|
|
887
|
-
'internalPropertyCounter': 6,
|
|
888
|
-
'labelOverrides': {
|
|
889
|
-
'defaultTitle': 'ƒ defaultTitle() {}',
|
|
890
|
-
'noContext': '<Memo />',
|
|
891
|
-
'OpenAccess': '<Memo />',
|
|
892
|
-
'primaryProperties': '<ForwardRef />',
|
|
893
|
-
'optionalProperties': '<ForwardRef />'
|
|
894
|
-
},
|
|
895
|
-
'name': 'customProperties',
|
|
896
|
-
'onChange': 'ƒ () {}',
|
|
897
|
-
'setCustomProperties': 'ƒ bound dispatchAction() {}',
|
|
898
|
-
'value': {
|
|
899
|
-
'AuthorIdentification': '[{…}]',
|
|
900
|
-
'Eligible authors': '[{…}]',
|
|
901
|
-
'Decimal': '[{…}]',
|
|
902
|
-
'integer': '[{…}]',
|
|
903
|
-
'refdataMultiSelect': '[{…}]',
|
|
904
|
-
'date': [{
|
|
905
|
-
'id': 6,
|
|
906
|
-
'internal': true,
|
|
907
|
-
'value': '2022-06-14',
|
|
908
|
-
'type': {
|
|
909
|
-
'id': '2c91809c817c329101817e1fc1f0011a',
|
|
910
|
-
'retired': false,
|
|
911
|
-
'ctx': 'OpenAccess',
|
|
912
|
-
'name': 'date',
|
|
913
|
-
'primary': true,
|
|
914
|
-
'defaultInternal': true,
|
|
915
|
-
'label': 'date',
|
|
916
|
-
'description': 'date',
|
|
917
|
-
'weight': 0,
|
|
918
|
-
'type': 'com.k_int.web.toolkit.custprops.types.CustomPropertyLocalDate'
|
|
919
|
-
}
|
|
920
|
-
}]
|
|
921
|
-
}
|
|
86
|
+
customProperties: value
|
|
922
87
|
};
|
|
923
|
-
exports.
|
|
88
|
+
exports.initialValues = initialValues;
|