@k-int/stripes-kint-components 2.8.3 → 2.8.4
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 -0
- package/es/artifacts/coverage-jest/lcov-report/block-navigation.js +6 -19
- package/es/artifacts/coverage-jest/lcov-report/prettify.js +2 -182
- package/es/artifacts/coverage-jest/lcov-report/sorter.js +64 -94
- package/es/index.js +0 -27
- package/es/lib/ActionList/ActionList.js +18 -38
- package/es/lib/ActionList/ActionListFieldArray.js +57 -112
- package/es/lib/ActionList/index.js +0 -2
- package/es/lib/CustomProperties/Config/CustomPropertiesLookup.js +32 -63
- package/es/lib/CustomProperties/Config/CustomPropertiesLookup.test.js +2 -13
- package/es/lib/CustomProperties/Config/CustomPropertiesSettings.js +89 -138
- package/es/lib/CustomProperties/Config/CustomPropertiesSettings.test.js +3 -22
- package/es/lib/CustomProperties/Config/CustomPropertyForm.js +14 -50
- package/es/lib/CustomProperties/Config/CustomPropertyForm.test.js +17 -34
- package/es/lib/CustomProperties/Config/CustomPropertyView.js +3 -12
- package/es/lib/CustomProperties/Config/CustomPropertyView.test.js +1 -26
- package/es/lib/CustomProperties/Config/index.js +0 -5
- package/es/lib/CustomProperties/Edit/CustomPropertiesEdit.js +6 -12
- package/es/lib/CustomProperties/Edit/CustomPropertiesEdit.test.js +1 -13
- package/es/lib/CustomProperties/Edit/CustomPropertiesEditCtx.js +24 -39
- package/es/lib/CustomProperties/Edit/CustomPropertiesEditCtx.test.js +1 -13
- package/es/lib/CustomProperties/Edit/CustomPropertiesListField.js +25 -69
- package/es/lib/CustomProperties/Edit/CustomPropertiesListField.test.js +3 -23
- package/es/lib/CustomProperties/Edit/CustomPropertyField.js +26 -77
- package/es/lib/CustomProperties/Edit/CustomPropertyField.test.js +6 -33
- package/es/lib/CustomProperties/Edit/CustomPropertyFormCard.js +19 -33
- package/es/lib/CustomProperties/Edit/CustomPropertyFormCard.test.js +3 -14
- package/es/lib/CustomProperties/Edit/index.js +0 -6
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilter.js +33 -70
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilter.test.js +2 -18
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterField.js +14 -44
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterField.test.js +1 -10
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterFieldArray.js +4 -23
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterFieldArray.test.js +2 -19
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterForm.js +8 -22
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterForm.test.js +2 -20
- package/es/lib/CustomProperties/Filter/CustomPropertiesRule.js +9 -27
- package/es/lib/CustomProperties/Filter/CustomPropertiesRule.test.js +1 -32
- package/es/lib/CustomProperties/Filter/index.js +0 -7
- package/es/lib/CustomProperties/Filter/useOperators.js +5 -21
- package/es/lib/CustomProperties/Filter/useParseActiveFilterStrings.js +3 -15
- package/es/lib/CustomProperties/Filter/useValueProps.js +5 -20
- package/es/lib/CustomProperties/View/CustomPropertiesView.js +6 -12
- package/es/lib/CustomProperties/View/CustomPropertiesView.test.js +1 -10
- package/es/lib/CustomProperties/View/CustomPropertiesViewCtx.js +43 -65
- package/es/lib/CustomProperties/View/CustomPropertiesViewCtx.test.js +1 -13
- package/es/lib/CustomProperties/View/CustomPropertyCard.js +10 -38
- package/es/lib/CustomProperties/View/index.js +0 -4
- package/es/lib/CustomProperties/index.js +0 -4
- package/es/lib/CycleButton/CycleButton.js +8 -33
- package/es/lib/CycleButton/index.js +0 -2
- package/es/lib/EditableRefdataCategoryList/EditableRefdataCategoryList.js +85 -131
- package/es/lib/EditableRefdataCategoryList/index.js +0 -2
- package/es/lib/EditableRefdataList/EditableRefdataList.js +90 -139
- package/es/lib/EditableRefdataList/index.js +0 -2
- package/es/lib/EditableSettingsList/EditableSettingsList.js +3 -13
- package/es/lib/EditableSettingsList/EditableSettingsListFieldArray.js +2 -15
- package/es/lib/EditableSettingsList/EditableSettingsListFieldArray.test.js +4 -19
- package/es/lib/EditableSettingsList/SettingField/EditSettingValue.js +3 -25
- package/es/lib/EditableSettingsList/SettingField/EditSettingValue.test.js +19 -26
- package/es/lib/EditableSettingsList/SettingField/RenderSettingValue.js +2 -20
- package/es/lib/EditableSettingsList/SettingField/RenderSettingValue.test.js +14 -35
- package/es/lib/EditableSettingsList/SettingField/SettingField.js +15 -51
- package/es/lib/EditableSettingsList/SettingField/SettingField.test.js +6 -31
- package/es/lib/EditableSettingsList/SettingField/index.js +0 -4
- package/es/lib/EditableSettingsList/index.js +0 -4
- package/es/lib/FormModal/FormModal.js +14 -34
- package/es/lib/FormModal/index.js +0 -2
- package/es/lib/IconSelect/IconSelect.js +29 -67
- package/es/lib/IconSelect/index.js +0 -2
- package/es/lib/NoResultsMessage/NoResultsMessage.js +13 -22
- package/es/lib/NoResultsMessage/index.js +0 -2
- package/es/lib/QueryTypedown/QueryTypedown.js +9 -36
- package/es/lib/QueryTypedown/index.js +0 -2
- package/es/lib/RefdataButtons/RefdataButtons.js +5 -24
- package/es/lib/RefdataButtons/index.js +0 -2
- package/es/lib/RichSelect/RichSelect.js +39 -67
- package/es/lib/RichSelect/index.js +0 -3
- package/es/lib/RichSelect/useSelectedOption.js +3 -14
- package/es/lib/SASQLookupComponent/SASQLookupComponent.js +36 -80
- package/es/lib/SASQLookupComponent/TableBody/TableBody.js +16 -29
- package/es/lib/SASQLookupComponent/TableBody/index.js +0 -2
- package/es/lib/SASQLookupComponent/index.js +0 -3
- package/es/lib/SASQRoute/SASQRoute.js +6 -23
- package/es/lib/SASQRoute/index.js +0 -2
- package/es/lib/SASQViewComponent/SASQViewComponent.js +17 -36
- package/es/lib/SASQViewComponent/index.js +0 -2
- package/es/lib/SearchField/SearchField.js +1 -17
- package/es/lib/SearchField/index.js +0 -2
- package/es/lib/SettingPage/SettingPage.js +6 -21
- package/es/lib/SettingPage/SettingPagePane.js +2 -17
- package/es/lib/SettingPage/index.js +0 -3
- package/es/lib/Typedown/Typedown.js +51 -82
- package/es/lib/Typedown/index.js +0 -2
- package/es/lib/contexts/SettingsContext.js +0 -2
- package/es/lib/contexts/index.js +0 -2
- package/es/lib/hooks/index.js +0 -16
- package/es/lib/hooks/settingsHooks/index.js +0 -4
- package/es/lib/hooks/settingsHooks/useAppSettings.js +6 -27
- package/es/lib/hooks/settingsHooks/useSettingSection.js +10 -20
- package/es/lib/hooks/settingsHooks/useSettings.js +10 -43
- package/es/lib/hooks/typedownHooks/index.js +0 -4
- package/es/lib/hooks/typedownHooks/useTypedown.js +17 -37
- package/es/lib/hooks/typedownHooks/useTypedownData.js +12 -26
- package/es/lib/hooks/typedownHooks/useTypedownToggle.js +5 -19
- package/es/lib/hooks/useActiveElement.js +3 -15
- package/es/lib/hooks/useAvailableCustomProperties.js +3 -22
- package/es/lib/hooks/useCustomProperties.js +11 -25
- package/es/lib/hooks/useHelperApp.js +7 -30
- package/es/lib/hooks/useInvalidateRefdata.js +0 -4
- package/es/lib/hooks/useKiwtFieldArray.js +5 -29
- package/es/lib/hooks/useKiwtSASQuery.js +12 -37
- package/es/lib/hooks/useLocalStorageState.js +5 -21
- package/es/lib/hooks/useMutateCustomProperties.js +11 -28
- package/es/lib/hooks/useMutateRefdataCategory.js +9 -29
- package/es/lib/hooks/useMutateRefdataValue.js +10 -27
- package/es/lib/hooks/useQIndex.js +3 -27
- package/es/lib/hooks/useRefdata.js +7 -16
- package/es/lib/hooks/useTemplates.js +6 -17
- package/es/lib/utils/buildUrl.js +1 -10
- package/es/lib/utils/generateKiwtQuery.js +0 -4
- package/es/lib/utils/generateKiwtQueryParams.js +24 -62
- package/es/lib/utils/groupCustomPropertiesByCtx.js +0 -14
- package/es/lib/utils/highlightString.js +6 -23
- package/es/lib/utils/index.js +0 -15
- package/es/lib/utils/matchString.js +0 -6
- package/es/lib/utils/parseErrorResponse.js +2 -24
- package/es/lib/utils/refdataQueryKey.js +0 -4
- package/es/lib/utils/renderHelpText.js +0 -7
- package/es/lib/utils/selectorSafe.js +0 -2
- package/es/lib/utils/sortByLabel.js +0 -6
- package/es/lib/utils/toCamelCase.js +6 -5
- package/es/lib/utils/typedownQueryKey.js +0 -4
- package/es/lib/utils/validators.js +4 -35
- package/junit.xml +151 -151
- package/package.json +1 -1
- package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionList.js.html +5 -23
- package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionListFieldArray.js.html +48 -282
- package/src/artifacts/coverage-jest/lcov-report/ActionList/index.html +9 -9
- 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 +39 -171
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertiesSettings.js.html +53 -272
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertyForm.js.html +74 -293
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertyView.js.html +54 -126
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/index.html +56 -41
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/testResources.js.html +793 -0
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertiesEdit.js.html +5 -23
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertiesEditCtx.js.html +42 -54
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertiesListField.js.html +54 -216
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertyField.js.html +37 -319
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertyFormCard.js.html +68 -41
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/index.html +53 -53
- 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 +3077 -74
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilter.js.html +45 -45
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterField.js.html +64 -103
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterFieldArray.js.html +63 -54
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterForm.js.html +16 -49
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesRule.js.html +18 -69
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/index.html +81 -81
- 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 +786 -33
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useOperators.js.html +45 -45
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useParseActiveFilterStrings.js.html +6 -6
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useValueProps.js.html +28 -43
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertiesView.js.html +2 -20
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertiesViewCtx.js.html +39 -45
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertyCard.js.html +74 -53
- 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/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 +32 -86
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataCategoryList/index.html +3 -3
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataCategoryList/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/EditableRefdataList.js.html +37 -109
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/index.html +3 -3
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/EditableSettingsList.js.html +14 -41
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/EditableSettingsListFieldArray.js.html +6 -45
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/EditSettingValue.js.html +11 -47
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/RenderSettingValue.js.html +14 -65
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/SettingField.js.html +31 -154
- 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 +17 -35
- 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 +3 -3
- 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 +14 -41
- package/src/artifacts/coverage-jest/lcov-report/IconSelect/index.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/IconSelect/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/NoResultsMessage.js.html +6 -48
- 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/ResponsiveButtonGroup/ResponsiveButtonGroup.js.html +535 -0
- package/src/artifacts/coverage-jest/lcov-report/ResponsiveButtonGroup/index.html +146 -0
- package/src/artifacts/coverage-jest/lcov-report/ResponsiveButtonGroup/index.js.html +88 -0
- package/src/artifacts/coverage-jest/lcov-report/ResponsiveButtonGroup/useResponsiveButtonGroupSizing.js.html +253 -0
- package/src/artifacts/coverage-jest/lcov-report/RichSelect/RichSelect.js.html +82 -22
- package/src/artifacts/coverage-jest/lcov-report/RichSelect/index.html +3 -3
- 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 +7 -52
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/TableBody.js.html +4 -31
- 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 +27 -24
- package/src/artifacts/coverage-jest/lcov-report/SettingPage/SettingPagePane.js.html +17 -47
- 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 +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 +106 -136
- package/src/artifacts/coverage-jest/lcov-report/hooks/index.js.html +3 -9
- package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/index.html +25 -25
- package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/index.js.html +1 -1
- 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 +22 -61
- 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/useAvailableCustomProperties.js.html +205 -0
- package/src/artifacts/coverage-jest/lcov-report/hooks/useCustomProperties.js.html +37 -37
- package/src/artifacts/coverage-jest/lcov-report/hooks/useHelperApp.js.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/hooks/useIntlKey.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useIntlKeyStore.js.html +3 -3
- package/src/artifacts/coverage-jest/lcov-report/hooks/useInvalidateRefdata.js.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/hooks/useKintIntl.js.html +1 -1
- 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 +7 -7
- package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateRefdataCategory.js.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateRefdataValue.js.html +7 -7
- 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/useSASQQueryMeta.js.html +187 -0
- package/src/artifacts/coverage-jest/lcov-report/hooks/useTemplates.js.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/index.html +129 -144
- package/src/artifacts/coverage-jest/lcov-report/utils/buildUrl.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/utils/generateKiwtQuery.js.html +16 -16
- package/src/artifacts/coverage-jest/lcov-report/utils/generateKiwtQueryParams.js.html +66 -66
- 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 +55 -40
- package/src/artifacts/coverage-jest/lcov-report/utils/index.js.html +3 -33
- package/src/artifacts/coverage-jest/lcov-report/utils/matchString.js.html +2 -2
- package/src/artifacts/coverage-jest/lcov-report/utils/parseErrorResponse.js.html +3 -3
- package/src/artifacts/coverage-jest/lcov-report/utils/refdataOptions.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/utils/refdataQueryKey.js.html +2 -2
- package/src/artifacts/coverage-jest/lcov-report/utils/renderHelpText.js.html +166 -0
- 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 +80 -128
- package/src/artifacts/coverage-jest/lcov.info +2284 -2232
- package/src/lib/CustomProperties/Edit/CustomPropertiesListField.js +0 -1
- package/src/lib/utils/parseErrorResponse.js +1 -1
- package/translate.sh +4 -0
- package/translations/stripes-kint-components/ar.json +12 -12
- package/translations/stripes-kint-components/cs_CZ.json +4 -4
- package/translations/stripes-kint-components/en_GB.json +1 -0
- package/translations/stripes-kint-components/en_SE.json +1 -0
- package/translations/stripes-kint-components/es_419.json +122 -0
- package/translations/stripes-kint-components/es_ES.json +122 -0
- package/translations/stripes-kint-components/fr.json +105 -1
- package/translations/stripes-kint-components/fr_FR.json +105 -0
- package/translations/stripes-kint-components/hu.json +12 -12
- package/translations/stripes-kint-components/it_IT.json +6 -6
- package/translations/stripes-kint-components/pt_PT.json +6 -6
- package/translations/stripes-kint-components/ru.json +1 -1
- package/translations/stripes-kint-components/sv.json +7 -7
- package/translations/stripes-kint-components/zh_TW.json +122 -0
- package/yarn-error.log +147 -0
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
33
|
<span class="strong">0% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>0/
|
|
35
|
+
<span class='fraction'>0/52</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
@@ -273,7 +273,27 @@
|
|
|
273
273
|
<a name='L208'></a><a href='#L208'>208</a>
|
|
274
274
|
<a name='L209'></a><a href='#L209'>209</a>
|
|
275
275
|
<a name='L210'></a><a href='#L210'>210</a>
|
|
276
|
-
<a name='L211'></a><a href='#L211'>211</a
|
|
276
|
+
<a name='L211'></a><a href='#L211'>211</a>
|
|
277
|
+
<a name='L212'></a><a href='#L212'>212</a>
|
|
278
|
+
<a name='L213'></a><a href='#L213'>213</a>
|
|
279
|
+
<a name='L214'></a><a href='#L214'>214</a>
|
|
280
|
+
<a name='L215'></a><a href='#L215'>215</a>
|
|
281
|
+
<a name='L216'></a><a href='#L216'>216</a>
|
|
282
|
+
<a name='L217'></a><a href='#L217'>217</a>
|
|
283
|
+
<a name='L218'></a><a href='#L218'>218</a>
|
|
284
|
+
<a name='L219'></a><a href='#L219'>219</a>
|
|
285
|
+
<a name='L220'></a><a href='#L220'>220</a>
|
|
286
|
+
<a name='L221'></a><a href='#L221'>221</a>
|
|
287
|
+
<a name='L222'></a><a href='#L222'>222</a>
|
|
288
|
+
<a name='L223'></a><a href='#L223'>223</a>
|
|
289
|
+
<a name='L224'></a><a href='#L224'>224</a>
|
|
290
|
+
<a name='L225'></a><a href='#L225'>225</a>
|
|
291
|
+
<a name='L226'></a><a href='#L226'>226</a>
|
|
292
|
+
<a name='L227'></a><a href='#L227'>227</a>
|
|
293
|
+
<a name='L228'></a><a href='#L228'>228</a>
|
|
294
|
+
<a name='L229'></a><a href='#L229'>229</a>
|
|
295
|
+
<a name='L230'></a><a href='#L230'>230</a>
|
|
296
|
+
<a name='L231'></a><a href='#L231'>231</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
277
297
|
<span class="cline-any cline-neutral"> </span>
|
|
278
298
|
<span class="cline-any cline-neutral"> </span>
|
|
279
299
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -288,9 +308,9 @@
|
|
|
288
308
|
<span class="cline-any cline-neutral"> </span>
|
|
289
309
|
<span class="cline-any cline-neutral"> </span>
|
|
290
310
|
<span class="cline-any cline-neutral"> </span>
|
|
291
|
-
<span class="cline-any cline-no"> </span>
|
|
292
311
|
<span class="cline-any cline-neutral"> </span>
|
|
293
312
|
<span class="cline-any cline-neutral"> </span>
|
|
313
|
+
<span class="cline-any cline-no"> </span>
|
|
294
314
|
<span class="cline-any cline-neutral"> </span>
|
|
295
315
|
<span class="cline-any cline-neutral"> </span>
|
|
296
316
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -363,6 +383,28 @@
|
|
|
363
383
|
<span class="cline-any cline-neutral"> </span>
|
|
364
384
|
<span class="cline-any cline-neutral"> </span>
|
|
365
385
|
<span class="cline-any cline-neutral"> </span>
|
|
386
|
+
<span class="cline-any cline-neutral"> </span>
|
|
387
|
+
<span class="cline-any cline-neutral"> </span>
|
|
388
|
+
<span class="cline-any cline-neutral"> </span>
|
|
389
|
+
<span class="cline-any cline-neutral"> </span>
|
|
390
|
+
<span class="cline-any cline-neutral"> </span>
|
|
391
|
+
<span class="cline-any cline-neutral"> </span>
|
|
392
|
+
<span class="cline-any cline-neutral"> </span>
|
|
393
|
+
<span class="cline-any cline-neutral"> </span>
|
|
394
|
+
<span class="cline-any cline-neutral"> </span>
|
|
395
|
+
<span class="cline-any cline-neutral"> </span>
|
|
396
|
+
<span class="cline-any cline-neutral"> </span>
|
|
397
|
+
<span class="cline-any cline-neutral"> </span>
|
|
398
|
+
<span class="cline-any cline-neutral"> </span>
|
|
399
|
+
<span class="cline-any cline-neutral"> </span>
|
|
400
|
+
<span class="cline-any cline-neutral"> </span>
|
|
401
|
+
<span class="cline-any cline-neutral"> </span>
|
|
402
|
+
<span class="cline-any cline-neutral"> </span>
|
|
403
|
+
<span class="cline-any cline-neutral"> </span>
|
|
404
|
+
<span class="cline-any cline-neutral"> </span>
|
|
405
|
+
<span class="cline-any cline-neutral"> </span>
|
|
406
|
+
<span class="cline-any cline-neutral"> </span>
|
|
407
|
+
<span class="cline-any cline-neutral"> </span>
|
|
366
408
|
<span class="cline-any cline-no"> </span>
|
|
367
409
|
<span class="cline-any cline-neutral"> </span>
|
|
368
410
|
<span class="cline-any cline-no"> </span>
|
|
@@ -481,22 +523,22 @@
|
|
|
481
523
|
<span class="cline-any cline-neutral"> </span>
|
|
482
524
|
<span class="cline-any cline-neutral"> </span>
|
|
483
525
|
<span class="cline-any cline-neutral"> </span>
|
|
484
|
-
<span class="cline-any cline-neutral"> </span>
|
|
485
|
-
<span class="cline-any cline-neutral"> </span>
|
|
486
526
|
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">import { forwardRef, useCallback, useEffect, useImperativeHandle, useRef, useState } from 'react';
|
|
487
527
|
import PropTypes from 'prop-types';
|
|
488
528
|
|
|
529
|
+
import { FormattedMessage } from 'react-intl';
|
|
530
|
+
|
|
489
531
|
import {
|
|
490
532
|
Button,
|
|
491
533
|
Dropdown,
|
|
492
|
-
DropdownButton,
|
|
493
534
|
DropdownMenu,
|
|
535
|
+
Icon,
|
|
536
|
+
// IconButton,
|
|
494
537
|
nativeChangeFieldValue as nativeChangeField,
|
|
495
538
|
Label,
|
|
496
539
|
} from '@folio/stripes/components';
|
|
497
540
|
|
|
498
541
|
import css from '../../../styles/RichSelect.css';
|
|
499
|
-
import FormattedKintMessage from '../FormattedKintMessage';
|
|
500
542
|
|
|
501
543
|
const RichSelect = <span class="cstat-no" title="statement not covered" >forwardRef(<span class="fstat-no" title="function not covered" >({</span></span>
|
|
502
544
|
ariaLabel,
|
|
@@ -504,8 +546,6 @@ const RichSelect = <span class="cstat-no" title="statement not covered" >forward
|
|
|
504
546
|
dropdownProps = <span class="branch-0 cbranch-no" title="branch not covered" >{},</span>
|
|
505
547
|
id,
|
|
506
548
|
input: formInput = <span class="branch-0 cbranch-no" title="branch not covered" >{},</span>
|
|
507
|
-
intlKey: passedIntlKey,
|
|
508
|
-
intlNS: passedIntlNS,
|
|
509
549
|
label,
|
|
510
550
|
meta,
|
|
511
551
|
onChange,
|
|
@@ -543,11 +583,11 @@ const RichSelect = <span class="cstat-no" title="statement not covered" >forward
|
|
|
543
583
|
selectedOption
|
|
544
584
|
}));
|
|
545
585
|
|
|
546
|
-
const defaultRenderTrigger = <span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >({</span> onToggle, triggerRef, keyHandler, ariaProps, getTriggerProps }) => {</span>
|
|
586
|
+
const defaultRenderTrigger = <span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >({</span> onToggle, triggerRef, keyHandler, open, ariaProps, getTriggerProps }) => {</span>
|
|
547
587
|
<span class="cstat-no" title="statement not covered" > return (</span>
|
|
548
|
-
<
|
|
588
|
+
<Button
|
|
549
589
|
ref={triggerRef}
|
|
550
|
-
buttonClass={css.
|
|
590
|
+
buttonClass={css.iconButtonText}
|
|
551
591
|
buttonStyle="none"
|
|
552
592
|
disabled={disabled}
|
|
553
593
|
marginBottom0
|
|
@@ -557,19 +597,41 @@ const RichSelect = <span class="cstat-no" title="statement not covered" >forward
|
|
|
557
597
|
type="button"
|
|
558
598
|
{...getTriggerProps()}
|
|
559
599
|
{...ariaProps}
|
|
600
|
+
>
|
|
601
|
+
<Icon
|
|
602
|
+
icon={open ? 'caret-up' : 'caret-down'}
|
|
603
|
+
iconPosition="end"
|
|
604
|
+
>
|
|
605
|
+
{
|
|
606
|
+
selectedOption?.label ??
|
|
607
|
+
selectedOption?.value ??
|
|
608
|
+
(internalValue || null) ??
|
|
609
|
+
placeholder ??
|
|
610
|
+
<FormattedMessage id="stripes-kint-components.richSelect.placeholder" />
|
|
611
|
+
}
|
|
612
|
+
</Icon>
|
|
613
|
+
</Button>
|
|
614
|
+
// Awaiting result of conversation about whether we want to allow labels on IconButtons
|
|
615
|
+
/* <IconButton
|
|
616
|
+
ref={triggerRef}
|
|
617
|
+
disabled={disabled}
|
|
618
|
+
icon={open ? 'caret-up' : 'caret-down'}
|
|
619
|
+
iconPosition="end"
|
|
620
|
+
marginBottom0
|
|
621
|
+
onClick={onToggle}
|
|
622
|
+
onKeyDown={keyHandler}
|
|
623
|
+
type="button"
|
|
624
|
+
{...getTriggerProps()}
|
|
625
|
+
{...ariaProps}
|
|
560
626
|
>
|
|
561
627
|
{
|
|
562
628
|
selectedOption?.label ??
|
|
563
629
|
selectedOption?.value ??
|
|
564
|
-
(internalValue
|
|
630
|
+
(internalValue ? internalValue : null) ??
|
|
565
631
|
placeholder ??
|
|
566
|
-
<
|
|
567
|
-
id="pleaseSelectOption"
|
|
568
|
-
intlKey={passedIntlKey}
|
|
569
|
-
intlNS={passedIntlNS}
|
|
570
|
-
/>
|
|
632
|
+
<FormattedMessage id="stripes-kint-components.richSelect.placeholder" />
|
|
571
633
|
}
|
|
572
|
-
</
|
|
634
|
+
</IconButton> */
|
|
573
635
|
);
|
|
574
636
|
};
|
|
575
637
|
|
|
@@ -665,8 +727,6 @@ const RichSelect = <span class="cstat-no" title="statement not covered" >forward
|
|
|
665
727
|
dropdownProps: PropTypes.object,
|
|
666
728
|
id: PropTypes.string,
|
|
667
729
|
input: PropTypes.object,
|
|
668
|
-
intlKey: PropTypes.string,
|
|
669
|
-
intlNS: PropTypes.string,
|
|
670
730
|
label: PropTypes.oneOfType([
|
|
671
731
|
PropTypes.string,
|
|
672
732
|
PropTypes.func,
|
|
@@ -700,7 +760,7 @@ export default RichSelect;
|
|
|
700
760
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
701
761
|
Code coverage generated by
|
|
702
762
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
703
|
-
at 2022-
|
|
763
|
+
at 2022-11-22T09:57:19.883Z
|
|
704
764
|
</div>
|
|
705
765
|
<script src="../prettify.js"></script>
|
|
706
766
|
<script>
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
33
|
<span class="strong">0% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>0/
|
|
35
|
+
<span class='fraction'>0/56</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
<td data-value="0" class="pct low">0%</td>
|
|
87
87
|
<td data-value="40" class="abs low">0/40</td>
|
|
88
88
|
<td data-value="0" class="pct low">0%</td>
|
|
89
|
-
<td data-value="
|
|
89
|
+
<td data-value="52" class="abs low">0/52</td>
|
|
90
90
|
<td data-value="0" class="pct low">0%</td>
|
|
91
91
|
<td data-value="14" class="abs low">0/14</td>
|
|
92
92
|
<td data-value="0" class="pct low">0%</td>
|
|
@@ -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 2022-
|
|
134
|
+
at 2022-11-22T09:57:19.883Z
|
|
135
135
|
</div>
|
|
136
136
|
<script src="../prettify.js"></script>
|
|
137
137
|
<script>
|
|
@@ -76,7 +76,7 @@ export { default as useSelectedOption } from './useSelectedOption';
|
|
|
76
76
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
77
77
|
Code coverage generated by
|
|
78
78
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
79
|
-
at 2022-
|
|
79
|
+
at 2022-11-22T09:57:19.883Z
|
|
80
80
|
</div>
|
|
81
81
|
<script src="../prettify.js"></script>
|
|
82
82
|
<script>
|
|
@@ -112,7 +112,7 @@ export default useSelectedOption;
|
|
|
112
112
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
113
113
|
Code coverage generated by
|
|
114
114
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
115
|
-
at 2022-
|
|
115
|
+
at 2022-11-22T09:57:19.883Z
|
|
116
116
|
</div>
|
|
117
117
|
<script src="../prettify.js"></script>
|
|
118
118
|
<script>
|
package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/SASQLookupComponent.js.html
CHANGED
|
@@ -25,14 +25,14 @@
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
26
|
<span class="strong">0% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>0/
|
|
28
|
+
<span class='fraction'>0/38</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
33
|
<span class="strong">0% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>0/
|
|
35
|
+
<span class='fraction'>0/30</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
47
|
<span class="strong">0% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>0/
|
|
49
|
+
<span class='fraction'>0/37</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -321,22 +321,7 @@
|
|
|
321
321
|
<a name='L256'></a><a href='#L256'>256</a>
|
|
322
322
|
<a name='L257'></a><a href='#L257'>257</a>
|
|
323
323
|
<a name='L258'></a><a href='#L258'>258</a>
|
|
324
|
-
<a name='L259'></a><a href='#L259'>259</a>
|
|
325
|
-
<a name='L260'></a><a href='#L260'>260</a>
|
|
326
|
-
<a name='L261'></a><a href='#L261'>261</a>
|
|
327
|
-
<a name='L262'></a><a href='#L262'>262</a>
|
|
328
|
-
<a name='L263'></a><a href='#L263'>263</a>
|
|
329
|
-
<a name='L264'></a><a href='#L264'>264</a>
|
|
330
|
-
<a name='L265'></a><a href='#L265'>265</a>
|
|
331
|
-
<a name='L266'></a><a href='#L266'>266</a>
|
|
332
|
-
<a name='L267'></a><a href='#L267'>267</a>
|
|
333
|
-
<a name='L268'></a><a href='#L268'>268</a>
|
|
334
|
-
<a name='L269'></a><a href='#L269'>269</a>
|
|
335
|
-
<a name='L270'></a><a href='#L270'>270</a>
|
|
336
|
-
<a name='L271'></a><a href='#L271'>271</a>
|
|
337
|
-
<a name='L272'></a><a href='#L272'>272</a>
|
|
338
|
-
<a name='L273'></a><a href='#L273'>273</a>
|
|
339
|
-
<a name='L274'></a><a href='#L274'>274</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
324
|
+
<a name='L259'></a><a href='#L259'>259</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
340
325
|
<span class="cline-any cline-neutral"> </span>
|
|
341
326
|
<span class="cline-any cline-neutral"> </span>
|
|
342
327
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -376,10 +361,6 @@
|
|
|
376
361
|
<span class="cline-any cline-neutral"> </span>
|
|
377
362
|
<span class="cline-any cline-neutral"> </span>
|
|
378
363
|
<span class="cline-any cline-neutral"> </span>
|
|
379
|
-
<span class="cline-any cline-neutral"> </span>
|
|
380
|
-
<span class="cline-any cline-neutral"> </span>
|
|
381
|
-
<span class="cline-any cline-neutral"> </span>
|
|
382
|
-
<span class="cline-any cline-no"> </span>
|
|
383
364
|
<span class="cline-any cline-no"> </span>
|
|
384
365
|
<span class="cline-any cline-neutral"> </span>
|
|
385
366
|
<span class="cline-any cline-no"> </span>
|
|
@@ -565,14 +546,6 @@
|
|
|
565
546
|
<span class="cline-any cline-neutral"> </span>
|
|
566
547
|
<span class="cline-any cline-neutral"> </span>
|
|
567
548
|
<span class="cline-any cline-neutral"> </span>
|
|
568
|
-
<span class="cline-any cline-neutral"> </span>
|
|
569
|
-
<span class="cline-any cline-neutral"> </span>
|
|
570
|
-
<span class="cline-any cline-neutral"> </span>
|
|
571
|
-
<span class="cline-any cline-neutral"> </span>
|
|
572
|
-
<span class="cline-any cline-neutral"> </span>
|
|
573
|
-
<span class="cline-any cline-neutral"> </span>
|
|
574
|
-
<span class="cline-any cline-neutral"> </span>
|
|
575
|
-
<span class="cline-any cline-neutral"> </span>
|
|
576
549
|
<span class="cline-any cline-no"> </span>
|
|
577
550
|
<span class="cline-any cline-neutral"> </span>
|
|
578
551
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -606,9 +579,6 @@
|
|
|
606
579
|
<span class="cline-any cline-neutral"> </span>
|
|
607
580
|
<span class="cline-any cline-neutral"> </span>
|
|
608
581
|
<span class="cline-any cline-neutral"> </span>
|
|
609
|
-
<span class="cline-any cline-neutral"> </span>
|
|
610
|
-
<span class="cline-any cline-neutral"> </span>
|
|
611
|
-
<span class="cline-any cline-neutral"> </span>
|
|
612
582
|
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">import PropTypes from 'prop-types';
|
|
613
583
|
import { FormattedMessage } from 'react-intl';
|
|
614
584
|
import { useInfiniteQuery } from 'react-query';
|
|
@@ -633,7 +603,7 @@ import {
|
|
|
633
603
|
} from '@folio/stripes/components';
|
|
634
604
|
|
|
635
605
|
import { generateKiwtQuery } from '../utils';
|
|
636
|
-
import {
|
|
606
|
+
import { useKiwtSASQuery, useLocalStorageState } from '../hooks';
|
|
637
607
|
|
|
638
608
|
import TableBody from './TableBody';
|
|
639
609
|
|
|
@@ -645,15 +615,11 @@ const SASQLookupComponent = <span class="cstat-no" title="statement not covered"
|
|
|
645
615
|
FilterPaneHeaderComponent = <span class="fstat-no" title="function not covered" ><span class="branch-0 cbranch-no" title="branch not covered" >()</span> => <span class="cstat-no" title="statement not covered" >null,</span></span>
|
|
646
616
|
filterPaneProps,
|
|
647
617
|
id,
|
|
648
|
-
intlKey: passedIntlKey,
|
|
649
|
-
intlNS: passedIntlNS,
|
|
650
|
-
labelOverrides = <span class="branch-0 cbranch-no" title="branch not covered" >{},</span>
|
|
651
618
|
mainPaneProps,
|
|
652
619
|
noSearchField,
|
|
653
620
|
RenderBody,
|
|
654
621
|
sasqProps,
|
|
655
622
|
} = <span class="cstat-no" title="statement not covered" >props;</span>
|
|
656
|
-
const kintIntl = <span class="cstat-no" title="statement not covered" >useKintIntl(passedIntlKey, passedIntlNS);</span>
|
|
657
623
|
|
|
658
624
|
const { query, queryGetter, querySetter } = <span class="cstat-no" title="statement not covered" >useKiwtSASQuery();</span>
|
|
659
625
|
const { 0: namespace } = <span class="cstat-no" title="statement not covered" >useNamespace();</span>
|
|
@@ -810,20 +776,12 @@ const SASQLookupComponent = <span class="cstat-no" title="statement not covered"
|
|
|
810
776
|
null}
|
|
811
777
|
noOverflow
|
|
812
778
|
padContent={false}
|
|
813
|
-
paneSub={
|
|
814
|
-
kintIntl.formatKintMessage({
|
|
815
|
-
id: 'found#Values',
|
|
816
|
-
overrideValue: labelOverrides?.foundValues
|
|
817
|
-
}, { total: data?.total })
|
|
818
|
-
}
|
|
779
|
+
paneSub={<FormattedMessage id="stripes-kint-components.sasqLookupComponent.mainPane.found" values={{ total: data?.total }} />}
|
|
819
780
|
{...mainPaneProps}
|
|
820
781
|
>
|
|
821
782
|
<Body
|
|
822
783
|
data={data}
|
|
823
784
|
filterPaneVisible={filterPaneVisible}
|
|
824
|
-
intlKey={passedIntlKey}
|
|
825
|
-
intlNS={passedIntlNS}
|
|
826
|
-
labelOverrides={labelOverrides}
|
|
827
785
|
query={query}
|
|
828
786
|
toggleFilterPane={toggleFilterPane}
|
|
829
787
|
{...restOfInfiniteQueryProps}
|
|
@@ -863,9 +821,6 @@ const SASQLookupComponent = <span class="cstat-no" title="statement not covered"
|
|
|
863
821
|
]),
|
|
864
822
|
history: PropTypes.object,
|
|
865
823
|
id: PropTypes.string.isRequired,
|
|
866
|
-
intlKey: PropTypes.string,
|
|
867
|
-
intlNS: PropTypes.string,
|
|
868
|
-
labelOverrides: PropTypes.object,
|
|
869
824
|
location: PropTypes.object,
|
|
870
825
|
mainPaneProps: PropTypes.object,
|
|
871
826
|
match: PropTypes.object,
|
|
@@ -889,7 +844,7 @@ export default SASQLookupComponent;
|
|
|
889
844
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
890
845
|
Code coverage generated by
|
|
891
846
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
892
|
-
at 2022-
|
|
847
|
+
at 2022-11-22T09:57:19.883Z
|
|
893
848
|
</div>
|
|
894
849
|
<script src="../prettify.js"></script>
|
|
895
850
|
<script>
|
package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/TableBody.js.html
CHANGED
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
33
|
<span class="strong">0% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>0/
|
|
35
|
+
<span class='fraction'>0/4</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
@@ -159,16 +159,7 @@
|
|
|
159
159
|
<a name='L94'></a><a href='#L94'>94</a>
|
|
160
160
|
<a name='L95'></a><a href='#L95'>95</a>
|
|
161
161
|
<a name='L96'></a><a href='#L96'>96</a>
|
|
162
|
-
<a name='L97'></a><a href='#L97'>97</a>
|
|
163
|
-
<a name='L98'></a><a href='#L98'>98</a>
|
|
164
|
-
<a name='L99'></a><a href='#L99'>99</a>
|
|
165
|
-
<a name='L100'></a><a href='#L100'>100</a>
|
|
166
|
-
<a name='L101'></a><a href='#L101'>101</a>
|
|
167
|
-
<a name='L102'></a><a href='#L102'>102</a>
|
|
168
|
-
<a name='L103'></a><a href='#L103'>103</a>
|
|
169
|
-
<a name='L104'></a><a href='#L104'>104</a>
|
|
170
|
-
<a name='L105'></a><a href='#L105'>105</a>
|
|
171
|
-
<a name='L106'></a><a href='#L106'>106</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
162
|
+
<a name='L97'></a><a href='#L97'>97</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
172
163
|
<span class="cline-any cline-neutral"> </span>
|
|
173
164
|
<span class="cline-any cline-neutral"> </span>
|
|
174
165
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -192,9 +183,6 @@
|
|
|
192
183
|
<span class="cline-any cline-neutral"> </span>
|
|
193
184
|
<span class="cline-any cline-neutral"> </span>
|
|
194
185
|
<span class="cline-any cline-neutral"> </span>
|
|
195
|
-
<span class="cline-any cline-neutral"> </span>
|
|
196
|
-
<span class="cline-any cline-neutral"> </span>
|
|
197
|
-
<span class="cline-any cline-neutral"> </span>
|
|
198
186
|
<span class="cline-any cline-no"> </span>
|
|
199
187
|
<span class="cline-any cline-no"> </span>
|
|
200
188
|
<span class="cline-any cline-no"> </span>
|
|
@@ -229,9 +217,6 @@
|
|
|
229
217
|
<span class="cline-any cline-neutral"> </span>
|
|
230
218
|
<span class="cline-any cline-neutral"> </span>
|
|
231
219
|
<span class="cline-any cline-neutral"> </span>
|
|
232
|
-
<span class="cline-any cline-neutral"> </span>
|
|
233
|
-
<span class="cline-any cline-neutral"> </span>
|
|
234
|
-
<span class="cline-any cline-neutral"> </span>
|
|
235
220
|
<span class="cline-any cline-no"> </span>
|
|
236
221
|
<span class="cline-any cline-neutral"> </span>
|
|
237
222
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -270,9 +255,6 @@
|
|
|
270
255
|
<span class="cline-any cline-neutral"> </span>
|
|
271
256
|
<span class="cline-any cline-neutral"> </span>
|
|
272
257
|
<span class="cline-any cline-neutral"> </span>
|
|
273
|
-
<span class="cline-any cline-neutral"> </span>
|
|
274
|
-
<span class="cline-any cline-neutral"> </span>
|
|
275
|
-
<span class="cline-any cline-neutral"> </span>
|
|
276
258
|
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">import PropTypes from 'prop-types';
|
|
277
259
|
|
|
278
260
|
import { useHistory, useLocation } from 'react-router-dom';
|
|
@@ -287,11 +269,8 @@ const TableBody = <span class="cstat-no" title="statement not covered" ><span cl
|
|
|
287
269
|
error,
|
|
288
270
|
fetchNextPage,
|
|
289
271
|
filterPaneVisible,
|
|
290
|
-
intlKey: passedIntlKey,
|
|
291
|
-
intlNS: passedIntlNS,
|
|
292
272
|
isError,
|
|
293
273
|
isLoading,
|
|
294
|
-
labelOverrides = <span class="branch-0 cbranch-no" title="branch not covered" >{},</span>
|
|
295
274
|
match,
|
|
296
275
|
mclProps,
|
|
297
276
|
onSort,
|
|
@@ -326,12 +305,9 @@ const TableBody = <span class="cstat-no" title="statement not covered" ><span cl
|
|
|
326
305
|
<NoResultsMessage
|
|
327
306
|
{...{
|
|
328
307
|
error,
|
|
329
|
-
filterPaneIsVisible: filterPaneVisible,
|
|
330
|
-
intlKey: passedIntlKey,
|
|
331
|
-
intlNS: passedIntlNS,
|
|
332
308
|
isError,
|
|
333
309
|
isLoading,
|
|
334
|
-
|
|
310
|
+
filterPaneIsVisible: filterPaneVisible,
|
|
335
311
|
searchTerm: query.query,
|
|
336
312
|
toggleFilterPane
|
|
337
313
|
}}
|
|
@@ -362,11 +338,8 @@ const TableBody = <span class="cstat-no" title="statement not covered" ><span cl
|
|
|
362
338
|
fetchNextPage: PropTypes.func,
|
|
363
339
|
filterPaneVisible: PropTypes.bool,
|
|
364
340
|
history: PropTypes.object,
|
|
365
|
-
intlKey: PropTypes.string,
|
|
366
|
-
intlNS: PropTypes.string,
|
|
367
341
|
isError: PropTypes.bool,
|
|
368
342
|
isLoading: PropTypes.bool,
|
|
369
|
-
labelOverrides: PropTypes.object,
|
|
370
343
|
location: PropTypes.object,
|
|
371
344
|
match: PropTypes.object,
|
|
372
345
|
mclProps: PropTypes.object,
|
|
@@ -385,7 +358,7 @@ export default TableBody;
|
|
|
385
358
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
386
359
|
Code coverage generated by
|
|
387
360
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
388
|
-
at 2022-
|
|
361
|
+
at 2022-11-22T09:57:19.883Z
|
|
389
362
|
</div>
|
|
390
363
|
<script src="../../prettify.js"></script>
|
|
391
364
|
<script>
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
33
|
<span class="strong">0% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>0/
|
|
35
|
+
<span class='fraction'>0/4</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
<td data-value="0" class="pct low">0%</td>
|
|
87
87
|
<td data-value="14" class="abs low">0/14</td>
|
|
88
88
|
<td data-value="0" class="pct low">0%</td>
|
|
89
|
-
<td data-value="
|
|
89
|
+
<td data-value="4" class="abs low">0/4</td>
|
|
90
90
|
<td data-value="0" class="pct low">0%</td>
|
|
91
91
|
<td data-value="6" class="abs low">0/6</td>
|
|
92
92
|
<td data-value="0" class="pct low">0%</td>
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
117
117
|
Code coverage generated by
|
|
118
118
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
119
|
-
at 2022-
|
|
119
|
+
at 2022-11-22T09:57:19.883Z
|
|
120
120
|
</div>
|
|
121
121
|
<script src="../../prettify.js"></script>
|
|
122
122
|
<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 2022-
|
|
76
|
+
at 2022-11-22T09:57:19.883Z
|
|
77
77
|
</div>
|
|
78
78
|
<script src="../../prettify.js"></script>
|
|
79
79
|
<script>
|
|
@@ -25,14 +25,14 @@
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
26
|
<span class="strong">0% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>0/
|
|
28
|
+
<span class='fraction'>0/38</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
33
|
<span class="strong">0% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>0/
|
|
35
|
+
<span class='fraction'>0/30</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
47
|
<span class="strong">0% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>0/
|
|
49
|
+
<span class='fraction'>0/37</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -84,13 +84,13 @@
|
|
|
84
84
|
<div class="chart"><div class="cover-fill" style="width: 0%"></div><div class="cover-empty" style="width: 100%"></div></div>
|
|
85
85
|
</td>
|
|
86
86
|
<td data-value="0" class="pct low">0%</td>
|
|
87
|
-
<td data-value="
|
|
87
|
+
<td data-value="38" class="abs low">0/38</td>
|
|
88
88
|
<td data-value="0" class="pct low">0%</td>
|
|
89
|
-
<td data-value="
|
|
89
|
+
<td data-value="30" class="abs low">0/30</td>
|
|
90
90
|
<td data-value="0" class="pct low">0%</td>
|
|
91
91
|
<td data-value="10" class="abs low">0/10</td>
|
|
92
92
|
<td data-value="0" class="pct low">0%</td>
|
|
93
|
-
<td data-value="
|
|
93
|
+
<td data-value="37" class="abs low">0/37</td>
|
|
94
94
|
</tr>
|
|
95
95
|
|
|
96
96
|
<tr>
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
117
117
|
Code coverage generated by
|
|
118
118
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
119
|
-
at 2022-
|
|
119
|
+
at 2022-11-22T09:57:19.883Z
|
|
120
120
|
</div>
|
|
121
121
|
<script src="../prettify.js"></script>
|
|
122
122
|
<script>
|
|
@@ -76,7 +76,7 @@ export { default as TableBody } from './TableBody';
|
|
|
76
76
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
77
77
|
Code coverage generated by
|
|
78
78
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
79
|
-
at 2022-
|
|
79
|
+
at 2022-11-22T09:57:19.883Z
|
|
80
80
|
</div>
|
|
81
81
|
<script src="../prettify.js"></script>
|
|
82
82
|
<script>
|
|
@@ -286,7 +286,7 @@ export default SASQRoute;
|
|
|
286
286
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
287
287
|
Code coverage generated by
|
|
288
288
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
289
|
-
at 2022-
|
|
289
|
+
at 2022-11-22T09:57:19.883Z
|
|
290
290
|
</div>
|
|
291
291
|
<script src="../prettify.js"></script>
|
|
292
292
|
<script>
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
117
117
|
Code coverage generated by
|
|
118
118
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
119
|
-
at 2022-
|
|
119
|
+
at 2022-11-22T09:57:19.883Z
|
|
120
120
|
</div>
|
|
121
121
|
<script src="../prettify.js"></script>
|
|
122
122
|
<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 2022-
|
|
76
|
+
at 2022-11-22T09:57:19.883Z
|
|
77
77
|
</div>
|
|
78
78
|
<script src="../prettify.js"></script>
|
|
79
79
|
<script>
|
|
@@ -238,7 +238,7 @@ export default SASQViewComponent;
|
|
|
238
238
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
239
239
|
Code coverage generated by
|
|
240
240
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
241
|
-
at 2022-
|
|
241
|
+
at 2022-11-22T09:57:19.883Z
|
|
242
242
|
</div>
|
|
243
243
|
<script src="../prettify.js"></script>
|
|
244
244
|
<script>
|