@k-int/stripes-kint-components 4.7.2 → 5.0.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 +3 -2
- package/README.md +1 -1
- package/es/__mocks__/@folio/stripes/components.js +21 -10
- package/es/__mocks__/@folio/stripes/core.js +7 -4
- package/es/__mocks__/@folio/stripes/smart-components.js +7 -4
- package/es/__mocks__/react-query.js +7 -4
- package/es/__mocks__/react-router-dom.js +7 -6
- package/es/artifacts/coverage-jest/lcov-report/prettify.js +2 -2
- package/es/artifacts/coverage-jest/lcov-report/sorter.js +6 -6
- package/es/index.js +52 -54
- package/es/lib/ActionList/ActionList.js +51 -38
- package/es/lib/ActionList/ActionListFieldArray.js +168 -144
- package/es/lib/ActionList/index.js +1 -1
- package/es/lib/ComboButton/ComboButton.js +89 -72
- package/es/lib/ComboButton/index.js +1 -1
- package/es/lib/CustomProperties/Config/CustomPropertiesLookup.js +78 -58
- package/es/lib/CustomProperties/Config/CustomPropertiesLookup.test.js +19 -15
- package/es/lib/CustomProperties/Config/CustomPropertiesSettings.js +163 -114
- package/es/lib/CustomProperties/Config/CustomPropertiesSettings.test.js +68 -31
- package/es/lib/CustomProperties/Config/CustomPropertyForm.js +48 -36
- package/es/lib/CustomProperties/Config/CustomPropertyForm.test.js +121 -84
- package/es/lib/CustomProperties/Config/CustomPropertyView.js +9 -10
- package/es/lib/CustomProperties/Config/CustomPropertyView.test.js +136 -49
- package/es/lib/CustomProperties/Config/index.js +4 -4
- package/es/lib/CustomProperties/Edit/CustomPropertiesEdit.js +21 -19
- package/es/lib/CustomProperties/Edit/CustomPropertiesEdit.test.js +17 -12
- package/es/lib/CustomProperties/Edit/CustomPropertiesEditCtx.js +27 -29
- package/es/lib/CustomProperties/Edit/CustomPropertiesEditCtx.test.js +17 -12
- package/es/lib/CustomProperties/Edit/CustomPropertiesListField.js +103 -86
- package/es/lib/CustomProperties/Edit/CustomPropertiesListField.test.js +64 -28
- package/es/lib/CustomProperties/Edit/CustomPropertyField.js +116 -124
- package/es/lib/CustomProperties/Edit/CustomPropertyField.test.js +179 -99
- package/es/lib/CustomProperties/Edit/CustomPropertyFormCard.js +44 -43
- package/es/lib/CustomProperties/Edit/CustomPropertyFormCard.test.js +27 -23
- package/es/lib/CustomProperties/Edit/index.js +5 -5
- package/es/lib/CustomProperties/Edit/testResources.js +35 -13
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilter.js +81 -60
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilter.test.js +58 -24
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterField.js +54 -39
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterField.test.js +16 -17
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterFieldArray.js +23 -27
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterFieldArray.test.js +46 -20
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterForm.js +20 -18
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterForm.test.js +53 -24
- package/es/lib/CustomProperties/Filter/CustomPropertiesRule.js +43 -39
- package/es/lib/CustomProperties/Filter/CustomPropertiesRule.test.js +225 -78
- package/es/lib/CustomProperties/Filter/index.js +6 -6
- package/es/lib/CustomProperties/Filter/testResources.js +33 -13
- package/es/lib/CustomProperties/Filter/useOperators.js +16 -17
- package/es/lib/CustomProperties/Filter/useParseActiveFilterStrings.js +30 -17
- package/es/lib/CustomProperties/Filter/useValueProps.js +27 -22
- package/es/lib/CustomProperties/View/CustomPropertiesView.js +21 -19
- package/es/lib/CustomProperties/View/CustomPropertiesView.test.js +17 -12
- package/es/lib/CustomProperties/View/CustomPropertiesViewCtx.js +63 -55
- package/es/lib/CustomProperties/View/CustomPropertiesViewCtx.test.js +24 -15
- package/es/lib/CustomProperties/View/CustomPropertyCard.js +18 -17
- package/es/lib/CustomProperties/View/index.js +3 -3
- package/es/lib/CustomProperties/View/testResources.js +4 -4
- package/es/lib/CustomProperties/index.js +18 -18
- package/es/lib/CycleButton/CycleButton.js +32 -17
- package/es/lib/CycleButton/index.js +1 -1
- package/es/lib/EditableRefdataCategoryList/EditableRefdataCategoryList.js +154 -112
- package/es/lib/EditableRefdataCategoryList/index.js +1 -1
- package/es/lib/EditableRefdataList/EditableRefdataList.js +173 -130
- package/es/lib/EditableRefdataList/index.js +1 -1
- package/es/lib/EditableSettingsList/EditableSettingsList.js +13 -16
- package/es/lib/EditableSettingsList/EditableSettingsListFieldArray.js +25 -18
- package/es/lib/EditableSettingsList/EditableSettingsListFieldArray.test.js +90 -61
- package/es/lib/EditableSettingsList/SettingField/EditSettingValue.js +34 -21
- package/es/lib/EditableSettingsList/SettingField/EditSettingValue.test.js +83 -99
- package/es/lib/EditableSettingsList/SettingField/RenderSettingValue.js +19 -17
- package/es/lib/EditableSettingsList/SettingField/RenderSettingValue.test.js +275 -187
- package/es/lib/EditableSettingsList/SettingField/SettingField.js +109 -74
- package/es/lib/EditableSettingsList/SettingField/SettingField.test.js +170 -55
- package/es/lib/EditableSettingsList/SettingField/index.js +3 -3
- package/es/lib/EditableSettingsList/index.js +3 -3
- package/es/lib/FormModal/FormModal.js +46 -43
- package/es/lib/FormModal/index.js +1 -1
- package/es/lib/FormattedKintMessage/FormattedKintMessage.js +27 -24
- package/es/lib/FormattedKintMessage/index.js +1 -1
- package/es/lib/IconSelect/IconSelect.js +68 -49
- package/es/lib/IconSelect/index.js +1 -1
- package/es/lib/NoResultsMessage/NoResultsMessage.js +17 -18
- package/es/lib/NoResultsMessage/index.js +1 -1
- package/es/lib/QueryTypedown/QueryTypedown.js +38 -17
- package/es/lib/QueryTypedown/index.js +1 -1
- package/es/lib/RefdataButtons/RefdataButtons.js +29 -26
- package/es/lib/RefdataButtons/index.js +1 -1
- package/es/lib/ResponsiveButtonGroup/ResponsiveButtonGroup.js +88 -83
- package/es/lib/ResponsiveButtonGroup/index.js +1 -1
- package/es/lib/ResponsiveButtonGroup/useResponsiveButtonGroupSizing.js +41 -28
- package/es/lib/RichSelect/RichSelect.js +86 -70
- package/es/lib/RichSelect/index.js +2 -2
- package/es/lib/RichSelect/useSelectedOption.js +12 -3
- package/es/lib/SASQLookupComponent/SASQLookupComponent.js +137 -115
- package/es/lib/SASQLookupComponent/TableBody/TableBody.js +46 -40
- package/es/lib/SASQLookupComponent/TableBody/index.js +1 -1
- package/es/lib/SASQLookupComponent/index.js +2 -2
- package/es/lib/SASQRoute/SASQRoute.js +37 -31
- package/es/lib/SASQRoute/index.js +1 -1
- package/es/lib/SASQViewComponent/SASQViewComponent.js +46 -39
- package/es/lib/SASQViewComponent/index.js +1 -1
- package/es/lib/SearchField/SearchField.js +16 -11
- package/es/lib/SearchField/index.js +1 -1
- package/es/lib/SettingPage/SettingPage.js +20 -21
- package/es/lib/SettingPage/SettingPagePane.js +6 -8
- package/es/lib/SettingPage/index.js +2 -2
- package/es/lib/SettingsFormContainer/SettingsFormContainer.js +53 -50
- package/es/lib/SettingsFormContainer/index.js +1 -1
- package/es/lib/Typedown/Typedown.js +83 -65
- package/es/lib/Typedown/index.js +1 -1
- package/es/lib/constants/customProperties.js +11 -11
- package/es/lib/constants/endpoints.js +1 -1
- package/es/lib/constants/eventCodes.js +3 -3
- package/es/lib/contexts/SettingsContext.js +1 -1
- package/es/lib/contexts/index.js +1 -1
- package/es/lib/hooks/__mocks__/index.js +29 -9
- package/es/lib/hooks/index.js +19 -19
- package/es/lib/hooks/typedownHooks/index.js +3 -3
- package/es/lib/hooks/typedownHooks/useTypedown.js +48 -48
- package/es/lib/hooks/typedownHooks/useTypedownData.js +21 -11
- package/es/lib/hooks/typedownHooks/useTypedownToggle.js +20 -12
- package/es/lib/hooks/useActiveElement.js +17 -8
- package/es/lib/hooks/useCustomProperties.js +30 -22
- package/es/lib/hooks/useHelperApp.js +49 -30
- package/es/lib/hooks/useIntlKey.js +5 -3
- package/es/lib/hooks/useIntlKeyStore.js +49 -43
- package/es/lib/hooks/useInvalidateRefdata.js +5 -3
- package/es/lib/hooks/useKintIntl.js +31 -28
- package/es/lib/hooks/useKiwtFieldArray.js +45 -34
- package/es/lib/hooks/useKiwtSASQuery.js +48 -38
- package/es/lib/hooks/useLocalStorageState.js +18 -6
- package/es/lib/hooks/useModConfigEntries.js +25 -26
- package/es/lib/hooks/useMutateCustomProperties.js +62 -19
- package/es/lib/hooks/useMutateModConfigEntry.js +59 -21
- package/es/lib/hooks/useMutateRefdataCategory.js +60 -19
- package/es/lib/hooks/useMutateRefdataValue.js +65 -28
- package/es/lib/hooks/useQIndex.js +26 -12
- package/es/lib/hooks/useRefdata.js +19 -17
- package/es/lib/hooks/useSASQQueryMeta.js +20 -13
- package/es/lib/hooks/useTemplates.js +12 -13
- package/es/lib/settingsHooks/index.js +3 -3
- package/es/lib/settingsHooks/useAppSettings.js +26 -19
- package/es/lib/settingsHooks/useSettingSection.js +17 -16
- package/es/lib/settingsHooks/useSettings.js +72 -58
- package/es/lib/utils/buildUrl.js +8 -10
- package/es/lib/utils/generateKiwtQuery.js +3 -3
- package/es/lib/utils/generateKiwtQueryParams.js +96 -88
- package/es/lib/utils/groupCustomPropertiesByCtx.js +18 -8
- package/es/lib/utils/highlightString.js +37 -17
- package/es/lib/utils/index.js +17 -17
- package/es/lib/utils/matchString.js +8 -4
- package/es/lib/utils/modConfigEntriesQueryKey.js +7 -8
- package/es/lib/utils/parseErrorResponse.js +63 -22
- package/es/lib/utils/parseKiwtQueryGroups.js +10 -10
- package/es/lib/utils/parseKiwtQueryGroups.test.js +15 -15
- package/es/lib/utils/parseModConfigEntry.js +2 -2
- package/es/lib/utils/refdataQueryKey.js +2 -2
- package/es/lib/utils/selectorSafe.js +4 -4
- package/es/lib/utils/sortByLabel.js +3 -3
- package/es/lib/utils/toCamelCase.js +12 -7
- package/es/lib/utils/typedownQueryKey.js +2 -2
- package/es/lib/validators/index.js +1 -1
- package/es/lib/validators/validators.js +29 -22
- package/junit.xml +162 -162
- package/package.json +8 -26
- package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionList.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionListFieldArray.js.html +7 -4
- package/src/artifacts/coverage-jest/lcov-report/ActionList/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/ActionList/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/{hooks/settingsHooks/useSettings.js.html → ComboButton/ComboButton.js.html} +234 -129
- package/src/artifacts/coverage-jest/lcov-report/{hooks/settingsHooks → ComboButton}/index.html +31 -61
- package/src/artifacts/coverage-jest/lcov-report/{hooks/settingsHooks → ComboButton}/index.js.html +12 -18
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertiesLookup.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertiesSettings.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertyForm.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertyView.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/index.html +1 -1
- 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 +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertiesEditCtx.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertiesListField.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertyField.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertyFormCard.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/index.html +1 -1
- 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 +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilter.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterField.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterFieldArray.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterForm.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesRule.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/index.html +1 -1
- 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 +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useOperators.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useParseActiveFilterStrings.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useValueProps.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertiesView.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertiesViewCtx.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertyCard.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/index.html +1 -1
- 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/CycleButton/CycleButton.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CycleButton/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CycleButton/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataCategoryList/EditableRefdataCategoryList.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataCategoryList/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataCategoryList/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/EditableRefdataList.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/EditableSettingsList.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/EditableSettingsListFieldArray.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/EditSettingValue.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/RenderSettingValue.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/SettingField.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/FormModal/FormModal.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/FormModal/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/FormModal/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/FormattedKintMessage/FormattedKintMessage.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/FormattedKintMessage/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/FormattedKintMessage/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/IconSelect/IconSelect.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/IconSelect/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/IconSelect/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/NoResultsMessage.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/index.html +1 -1
- 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 +1 -1
- 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/ResponsiveButtonGroup/ResponsiveButtonGroup.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/ResponsiveButtonGroup/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/ResponsiveButtonGroup/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/ResponsiveButtonGroup/useResponsiveButtonGroupSizing.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/RichSelect/RichSelect.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/RichSelect/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/RichSelect/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/RichSelect/useSelectedOption.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/SASQLookupComponent.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/TableBody.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/index.html +1 -1
- 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 +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SettingPage/SettingPagePane.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SettingPage/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SettingPage/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SettingsFormContainer/SettingsFormContainer.js.html +82 -10
- package/src/artifacts/coverage-jest/lcov-report/SettingsFormContainer/index.html +15 -15
- package/src/artifacts/coverage-jest/lcov-report/SettingsFormContainer/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/endpoints.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 +1 -1
- 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/hooks/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/index.js.html +1 -1
- 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 +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useCustomProperties.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useHelperApp.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useIntlKey.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useIntlKeyStore.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useInvalidateRefdata.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useKintIntl.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useKiwtFieldArray.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useKiwtSASQuery.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useLocalStorageState.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useModConfigEntries.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateCustomProperties.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateModConfigEntry.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateRefdataCategory.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateRefdataValue.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useQIndex.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useRefdata.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useSASQQueryMeta.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useTemplates.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/index.html +32 -17
- package/src/artifacts/coverage-jest/lcov-report/settingsHooks/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/settingsHooks/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/settingsHooks/useAppSettings.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/settingsHooks/useSettingSection.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/settingsHooks/useSettings.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/utils/buildUrl.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/utils/generateKiwtQuery.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/utils/generateKiwtQueryParams.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/utils/groupCustomPropertiesByCtx.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/utils/highlightString.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/utils/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/utils/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/utils/matchString.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/utils/modConfigEntriesQueryKey.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/utils/parseErrorResponse.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/utils/parseKiwtQueryGroups.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/utils/parseModConfigEntry.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/utils/refdataOptions.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/utils/refdataQueryKey.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/utils/selectorSafe.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/utils/sortByLabel.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/utils/toCamelCase.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/utils/typedownQueryKey.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/validators/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/validators/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/validators/validators.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov.info +119 -44
- package/src/index.js +0 -2
- package/src/lib/CustomProperties/Config/CustomPropertiesSettings.test.js +1 -1
- package/src/lib/CustomProperties/Config/CustomPropertyForm.test.js +1 -2
- package/src/lib/CustomProperties/Config/CustomPropertyView.test.js +1 -1
- package/src/lib/CustomProperties/Edit/CustomPropertiesEdit.test.js +1 -1
- package/src/lib/CustomProperties/Edit/CustomPropertiesEditCtx.test.js +1 -1
- package/src/lib/CustomProperties/Edit/CustomPropertiesListField.test.js +2 -3
- package/src/lib/CustomProperties/Edit/CustomPropertyField.test.js +7 -2
- package/src/lib/CustomProperties/Filter/CustomPropertiesFilter.test.js +1 -1
- package/src/lib/CustomProperties/Filter/CustomPropertiesFilterFieldArray.test.js +2 -2
- package/src/lib/CustomProperties/Filter/CustomPropertiesFilterForm.test.js +1 -1
- package/src/lib/CustomProperties/Filter/CustomPropertiesRule.test.js +1 -2
- package/src/lib/CustomProperties/View/CustomPropertiesView.test.js +1 -1
- package/src/lib/CustomProperties/View/CustomPropertiesViewCtx.test.js +1 -1
- package/src/lib/EditableSettingsList/SettingField/SettingField.test.js +4 -5
- package/test/jest/helpers/renderWithKintHarness.js +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/testResources.js.html +0 -793
- package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useAppSettings.js.html +0 -292
- package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useSettingSection.js.html +0 -214
- package/src/artifacts/coverage-jest/lcov-report/hooks/useAvailableCustomProperties.js.html +0 -205
- package/src/artifacts/coverage-jest/lcov-report/utils/renderHelpText.js.html +0 -166
- package/src/artifacts/coverage-jest/lcov-report/utils/validators.js.html +0 -370
package/package.json
CHANGED
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@k-int/stripes-kint-components",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0",
|
|
4
4
|
"description": "Stripes Component library for K-Int specific applications",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"*.css"
|
|
7
7
|
],
|
|
8
8
|
"license": "Apache-2.0",
|
|
9
|
-
"engines": {
|
|
10
|
-
"node": ">=10.0.0"
|
|
11
|
-
},
|
|
12
9
|
"scripts": {
|
|
13
10
|
"lint": "eslint src",
|
|
14
11
|
"test": "yarn run test:jest",
|
|
@@ -40,18 +37,12 @@
|
|
|
40
37
|
"@babel/preset-react": "^7.18.6",
|
|
41
38
|
"@babel/preset-typescript": "^7.18.6",
|
|
42
39
|
"@folio/eslint-config-stripes": "^6.1.0",
|
|
43
|
-
"@folio/stripes": "^
|
|
44
|
-
"@folio/stripes
|
|
45
|
-
"@folio/stripes-
|
|
46
|
-
"@folio/stripes-testing": "^
|
|
40
|
+
"@folio/jest-config-stripes": "^2.0.0",
|
|
41
|
+
"@folio/stripes": "^9.0.0",
|
|
42
|
+
"@folio/stripes-cli": "^3.0.0",
|
|
43
|
+
"@folio/stripes-erm-testing": "^2.0.0",
|
|
47
44
|
"@formatjs/cli": "^4.2.31",
|
|
48
|
-
"@interactors/html": "^1.0.0-rc1.2",
|
|
49
|
-
"@testing-library/dom": "^8.16.0",
|
|
50
|
-
"@testing-library/jest-dom": "^5.16.4",
|
|
51
|
-
"@testing-library/react": "^12.1.5",
|
|
52
|
-
"@testing-library/user-event": "^14.3.0",
|
|
53
45
|
"babel-eslint": "^10.1.0",
|
|
54
|
-
"babel-jest": "^28.1.3",
|
|
55
46
|
"babel-plugin-const-enum": "^1.0.1",
|
|
56
47
|
"babel-plugin-module-resolver": "^4.0.0",
|
|
57
48
|
"babel-plugin-require-context-hook": "^1.0.0",
|
|
@@ -61,21 +52,12 @@
|
|
|
61
52
|
"core-js": "^3.6.1",
|
|
62
53
|
"eslint": "^7.32.0",
|
|
63
54
|
"eslint-plugin-import": "^2.26.0",
|
|
64
|
-
"eslint-plugin-jest": "^26.6.0",
|
|
65
|
-
"eslint-plugin-jest-dom": "^4.0.2",
|
|
66
|
-
"eslint-plugin-testing-library": "^5.5.1",
|
|
67
55
|
"graphql": "^16.0.0",
|
|
68
56
|
"identity-obj-proxy": "^3.0.0",
|
|
69
|
-
"jest": "^28.1.0",
|
|
70
|
-
"jest-css-modules": "^2.1.0",
|
|
71
|
-
"jest-css-modules-transform": "^4.0.0",
|
|
72
|
-
"jest-environment-jsdom": "^28.1.2",
|
|
73
|
-
"jest-junit": "^13.2.0",
|
|
74
|
-
"jest-webpack": "^0.5.1",
|
|
75
57
|
"moment": "^2.29.4",
|
|
76
58
|
"prop-types-extra": ">=1.1.0",
|
|
77
|
-
"react": "^
|
|
78
|
-
"react-dom": "^
|
|
59
|
+
"react": "^18.2.0",
|
|
60
|
+
"react-dom": "^18.2.0",
|
|
79
61
|
"react-intl": "^5.8.1",
|
|
80
62
|
"react-query": "^3.6.0",
|
|
81
63
|
"react-redux": "^7.0.0",
|
|
@@ -89,7 +71,7 @@
|
|
|
89
71
|
"typescript": "^2.8.0"
|
|
90
72
|
},
|
|
91
73
|
"peerDependencies": {
|
|
92
|
-
"@folio/stripes": ">=
|
|
74
|
+
"@folio/stripes": ">=9.0.0",
|
|
93
75
|
"final-form": ">=4.18.4",
|
|
94
76
|
"final-form-arrays": ">=3.0.1",
|
|
95
77
|
"lodash": ">=4.17.0",
|
|
@@ -358,7 +358,7 @@ export default ActionList;
|
|
|
358
358
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
359
359
|
Code coverage generated by
|
|
360
360
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
361
|
-
at 2023-
|
|
361
|
+
at 2023-08-04T09:55:19.966Z
|
|
362
362
|
</div>
|
|
363
363
|
<script src="../prettify.js"></script>
|
|
364
364
|
<script>
|
|
@@ -523,7 +523,8 @@
|
|
|
523
523
|
<a name='L458'></a><a href='#L458'>458</a>
|
|
524
524
|
<a name='L459'></a><a href='#L459'>459</a>
|
|
525
525
|
<a name='L460'></a><a href='#L460'>460</a>
|
|
526
|
-
<a name='L461'></a><a href='#L461'>461</a
|
|
526
|
+
<a name='L461'></a><a href='#L461'>461</a>
|
|
527
|
+
<a name='L462'></a><a href='#L462'>462</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
527
528
|
<span class="cline-any cline-neutral"> </span>
|
|
528
529
|
<span class="cline-any cline-neutral"> </span>
|
|
529
530
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -908,6 +909,7 @@
|
|
|
908
909
|
<span class="cline-any cline-neutral"> </span>
|
|
909
910
|
<span class="cline-any cline-neutral"> </span>
|
|
910
911
|
<span class="cline-any cline-neutral"> </span>
|
|
912
|
+
<span class="cline-any cline-neutral"> </span>
|
|
911
913
|
<span class="cline-any cline-no"> </span>
|
|
912
914
|
<span class="cline-any cline-neutral"> </span>
|
|
913
915
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -1161,7 +1163,7 @@ const ActionListFieldArray = forwardRef(<span class="fstat-no" title="function n
|
|
|
1161
1163
|
<span class="cstat-no" title="statement not covered" > if (data.id === editing || (!data.id && editing === 'NEW_ROW')) {</span>
|
|
1162
1164
|
// Render the save/cancel buttons
|
|
1163
1165
|
<span class="cstat-no" title="statement not covered" > return (</span>
|
|
1164
|
-
<div id=
|
|
1166
|
+
<div id={`action-button-parent-${data.rowIndex + 1}`}>
|
|
1165
1167
|
<Button
|
|
1166
1168
|
key={`save[${data.rowIndex}]`}
|
|
1167
1169
|
buttonStyle="primary"
|
|
@@ -1210,7 +1212,7 @@ const ActionListFieldArray = forwardRef(<span class="fstat-no" title="function n
|
|
|
1210
1212
|
}
|
|
1211
1213
|
|
|
1212
1214
|
<span class="cstat-no" title="statement not covered" > return (</span>
|
|
1213
|
-
<div id=
|
|
1215
|
+
<div id={`action-button-parent-${data.rowIndex + 1}`}>
|
|
1214
1216
|
{actions?.map(<span class="fstat-no" title="function not covered" >ac</span>tion => {
|
|
1215
1217
|
let actionFunction;
|
|
1216
1218
|
<span class="cstat-no" title="statement not covered" > if (action.callback) {</span>
|
|
@@ -1364,6 +1366,7 @@ const ActionListFieldArray = forwardRef(<span class="fstat-no" title="function n
|
|
|
1364
1366
|
fieldComponents[key] ?
|
|
1365
1367
|
fieldComponents[key](passedObject) :
|
|
1366
1368
|
<Field
|
|
1369
|
+
ariaLabel={key} // TODO at the moment the only way to override this is passing in an entire fieldComponent.
|
|
1367
1370
|
autoFocus={autoFocus}
|
|
1368
1371
|
component={TextField}
|
|
1369
1372
|
marginBottom0
|
|
@@ -1450,7 +1453,7 @@ export default ActionListFieldArray;
|
|
|
1450
1453
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
1451
1454
|
Code coverage generated by
|
|
1452
1455
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
1453
|
-
at 2023-
|
|
1456
|
+
at 2023-08-04T09:55:19.966Z
|
|
1454
1457
|
</div>
|
|
1455
1458
|
<script src="../prettify.js"></script>
|
|
1456
1459
|
<script>
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
132
132
|
Code coverage generated by
|
|
133
133
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
134
|
-
at 2023-
|
|
134
|
+
at 2023-08-04T09:55:19.966Z
|
|
135
135
|
</div>
|
|
136
136
|
<script src="../prettify.js"></script>
|
|
137
137
|
<script>
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
74
74
|
Code coverage generated by
|
|
75
75
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
76
|
-
at 2023-
|
|
76
|
+
at 2023-08-04T09:55:19.966Z
|
|
77
77
|
</div>
|
|
78
78
|
<script src="../prettify.js"></script>
|
|
79
79
|
<script>
|