@k-int/stripes-kint-components 5.33.2 → 5.34.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 +14 -0
- package/es/lib/CustomProperties/Config/CustomPropertiesLookup.js +2 -3
- package/es/lib/CustomProperties/Config/CustomPropertiesSettings.js +36 -4
- package/es/lib/CustomProperties/Edit/CustomPropertiesEditCtx.js +2 -3
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilter.js +2 -3
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilter.test.js +15 -5
- package/es/lib/CustomProperties/View/CustomPropertiesViewCtx.js +2 -3
- package/es/lib/hooks/index.js +17 -1
- package/es/lib/hooks/useCustProps.js +88 -0
- package/es/lib/hooks/useParallelBatchFetch.js +140 -0
- package/es/lib/utils/parseErrorResponse.js +6 -1
- package/package.json +1 -1
- package/src/artifacts/coverage-jest/ActionList/ActionList.js.html +1 -1
- package/src/artifacts/coverage-jest/ActionList/ActionListFieldArray.js.html +1 -1
- package/src/artifacts/coverage-jest/ActionList/index.html +1 -1
- package/src/artifacts/coverage-jest/ActionList/index.js.html +1 -1
- package/src/artifacts/coverage-jest/ButtonTypedown/ButtonTypedown.js.html +1 -1
- package/src/artifacts/coverage-jest/ButtonTypedown/index.html +1 -1
- package/src/artifacts/coverage-jest/ButtonTypedown/index.js.html +1 -1
- package/src/artifacts/coverage-jest/ComboButton/ComboButton.js.html +1 -1
- package/src/artifacts/coverage-jest/ComboButton/index.html +1 -1
- package/src/artifacts/coverage-jest/ComboButton/index.js.html +1 -1
- package/src/artifacts/coverage-jest/CustomProperties/Config/CustomPropertiesLookup.js.html +26 -29
- package/src/artifacts/coverage-jest/CustomProperties/Config/CustomPropertiesSettings.js.html +142 -13
- package/src/artifacts/coverage-jest/CustomProperties/Config/CustomPropertyForm.js.html +1 -1
- package/src/artifacts/coverage-jest/CustomProperties/Config/CustomPropertyView.js.html +1 -1
- package/src/artifacts/coverage-jest/CustomProperties/Config/index.html +30 -30
- package/src/artifacts/coverage-jest/CustomProperties/Config/index.js.html +1 -1
- package/src/artifacts/coverage-jest/CustomProperties/Edit/CustomPropertiesEdit.js.html +1 -1
- package/src/artifacts/coverage-jest/CustomProperties/Edit/CustomPropertiesEditCtx.js.html +23 -26
- package/src/artifacts/coverage-jest/CustomProperties/Edit/CustomPropertiesListField.js.html +1 -1
- package/src/artifacts/coverage-jest/CustomProperties/Edit/CustomPropertyField.js.html +1 -1
- package/src/artifacts/coverage-jest/CustomProperties/Edit/CustomPropertyFormCard.js.html +1 -1
- package/src/artifacts/coverage-jest/CustomProperties/Edit/index.html +20 -20
- package/src/artifacts/coverage-jest/CustomProperties/Edit/index.js.html +1 -1
- package/src/artifacts/coverage-jest/CustomProperties/Edit/testResources.js.html +1 -1
- package/src/artifacts/coverage-jest/CustomProperties/Filter/CustomPropertiesFilter.js.html +27 -30
- package/src/artifacts/coverage-jest/CustomProperties/Filter/CustomPropertiesFilterField.js.html +1 -1
- package/src/artifacts/coverage-jest/CustomProperties/Filter/CustomPropertiesFilterFieldArray.js.html +1 -1
- package/src/artifacts/coverage-jest/CustomProperties/Filter/CustomPropertiesFilterForm.js.html +1 -1
- package/src/artifacts/coverage-jest/CustomProperties/Filter/CustomPropertiesRule.js.html +1 -1
- package/src/artifacts/coverage-jest/CustomProperties/Filter/index.html +15 -15
- package/src/artifacts/coverage-jest/CustomProperties/Filter/index.js.html +1 -1
- package/src/artifacts/coverage-jest/CustomProperties/Filter/testResources.js.html +1 -1
- package/src/artifacts/coverage-jest/CustomProperties/Filter/useOperators.js.html +12 -12
- package/src/artifacts/coverage-jest/CustomProperties/Filter/useParseActiveFilterStrings.js.html +14 -14
- package/src/artifacts/coverage-jest/CustomProperties/Filter/useValueProps.js.html +1 -1
- package/src/artifacts/coverage-jest/CustomProperties/View/CustomPropertiesView.js.html +1 -1
- package/src/artifacts/coverage-jest/CustomProperties/View/CustomPropertiesViewCtx.js.html +36 -39
- package/src/artifacts/coverage-jest/CustomProperties/View/CustomPropertyCard.js.html +1 -1
- package/src/artifacts/coverage-jest/CustomProperties/View/index.html +21 -21
- package/src/artifacts/coverage-jest/CustomProperties/View/index.js.html +1 -1
- package/src/artifacts/coverage-jest/CustomProperties/View/testResources.js.html +1 -1
- package/src/artifacts/coverage-jest/CustomProperties/index.html +1 -1
- package/src/artifacts/coverage-jest/CustomProperties/index.js.html +1 -1
- package/src/artifacts/coverage-jest/CycleButton/CycleButton.js.html +1 -1
- package/src/artifacts/coverage-jest/CycleButton/index.html +1 -1
- package/src/artifacts/coverage-jest/CycleButton/index.js.html +1 -1
- package/src/artifacts/coverage-jest/FieldLabel/FieldLabel.js.html +1 -1
- package/src/artifacts/coverage-jest/FieldLabel/index.html +1 -1
- package/src/artifacts/coverage-jest/FieldLabel/index.js.html +1 -1
- package/src/artifacts/coverage-jest/FormModal/FormModal.js.html +1 -1
- package/src/artifacts/coverage-jest/FormModal/index.html +1 -1
- package/src/artifacts/coverage-jest/FormModal/index.js.html +1 -1
- package/src/artifacts/coverage-jest/FormattedKintMessage/FormattedKintMessage.js.html +1 -1
- package/src/artifacts/coverage-jest/FormattedKintMessage/index.html +1 -1
- package/src/artifacts/coverage-jest/FormattedKintMessage/index.js.html +1 -1
- package/src/artifacts/coverage-jest/IconSelect/IconSelect.js.html +1 -1
- package/src/artifacts/coverage-jest/IconSelect/index.html +1 -1
- package/src/artifacts/coverage-jest/IconSelect/index.js.html +1 -1
- package/src/artifacts/coverage-jest/NoResultsMessage/NoResultsMessage.js.html +1 -1
- package/src/artifacts/coverage-jest/NoResultsMessage/index.html +1 -1
- package/src/artifacts/coverage-jest/NoResultsMessage/index.js.html +1 -1
- package/src/artifacts/coverage-jest/NumberField/NumberField.js.html +1 -1
- package/src/artifacts/coverage-jest/NumberField/index.html +1 -1
- package/src/artifacts/coverage-jest/NumberField/index.js.html +1 -1
- package/src/artifacts/coverage-jest/QueryTypedown/QueryTypedown.js.html +1 -1
- package/src/artifacts/coverage-jest/QueryTypedown/index.html +1 -1
- package/src/artifacts/coverage-jest/QueryTypedown/index.js.html +1 -1
- package/src/artifacts/coverage-jest/RefdataButtons/RefdataButtons.js.html +1 -1
- package/src/artifacts/coverage-jest/RefdataButtons/index.html +1 -1
- package/src/artifacts/coverage-jest/RefdataButtons/index.js.html +1 -1
- package/src/artifacts/coverage-jest/ResponsiveButtonGroup/ResponsiveButtonGroup.js.html +1 -1
- package/src/artifacts/coverage-jest/ResponsiveButtonGroup/index.html +1 -1
- package/src/artifacts/coverage-jest/ResponsiveButtonGroup/index.js.html +1 -1
- package/src/artifacts/coverage-jest/ResponsiveButtonGroup/useResponsiveButtonGroupSizing.js.html +1 -1
- package/src/artifacts/coverage-jest/RichSelect/RichSelect.js.html +1 -1
- package/src/artifacts/coverage-jest/RichSelect/index.html +1 -1
- package/src/artifacts/coverage-jest/RichSelect/index.js.html +1 -1
- package/src/artifacts/coverage-jest/RichSelect/useSelectedOption.js.html +1 -1
- package/src/artifacts/coverage-jest/SASQLookupComponent/SASQLookupComponent.js.html +1 -1
- package/src/artifacts/coverage-jest/SASQLookupComponent/TableBody/TableBody.js.html +1 -1
- package/src/artifacts/coverage-jest/SASQLookupComponent/TableBody/index.html +1 -1
- package/src/artifacts/coverage-jest/SASQLookupComponent/TableBody/index.js.html +1 -1
- package/src/artifacts/coverage-jest/SASQLookupComponent/index.html +1 -1
- package/src/artifacts/coverage-jest/SASQLookupComponent/index.js.html +1 -1
- package/src/artifacts/coverage-jest/SASQRoute/SASQRoute.js.html +1 -1
- package/src/artifacts/coverage-jest/SASQRoute/index.html +1 -1
- package/src/artifacts/coverage-jest/SASQRoute/index.js.html +1 -1
- package/src/artifacts/coverage-jest/SASQViewComponent/SASQViewComponent.js.html +1 -1
- package/src/artifacts/coverage-jest/SASQViewComponent/index.html +1 -1
- package/src/artifacts/coverage-jest/SASQViewComponent/index.js.html +1 -1
- package/src/artifacts/coverage-jest/SearchField/SearchField.js.html +1 -1
- package/src/artifacts/coverage-jest/SearchField/index.html +1 -1
- package/src/artifacts/coverage-jest/SearchField/index.js.html +1 -1
- package/src/artifacts/coverage-jest/SearchKeyControl/SearchKeyControl.js.html +1 -1
- package/src/artifacts/coverage-jest/SearchKeyControl/index.html +1 -1
- package/src/artifacts/coverage-jest/SearchKeyControl/index.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/EditableRefdataCategoryList/EditableRefdataCategoryList.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/EditableRefdataCategoryList/index.html +1 -1
- package/src/artifacts/coverage-jest/Settings/EditableRefdataCategoryList/index.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/EditableRefdataList/EditableRefdataList.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/EditableRefdataList/index.html +1 -1
- package/src/artifacts/coverage-jest/Settings/EditableRefdataList/index.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/EditableSettingsList/EditableSettingsList.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/EditableSettingsList/EditableSettingsListFieldArray/EditableSettingsListFieldArray.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/EditableSettingsList/EditableSettingsListFieldArray/index.html +1 -1
- package/src/artifacts/coverage-jest/Settings/EditableSettingsList/EditableSettingsListFieldArray/index.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/EditableSettingsList/SettingField/EditSettingValue/EditSettingValue.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/EditableSettingsList/SettingField/EditSettingValue/index.html +1 -1
- package/src/artifacts/coverage-jest/Settings/EditableSettingsList/SettingField/EditSettingValue/index.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/EditableSettingsList/SettingField/RenderSettingValue/RenderSettingValue.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/EditableSettingsList/SettingField/RenderSettingValue/index.html +1 -1
- package/src/artifacts/coverage-jest/Settings/EditableSettingsList/SettingField/RenderSettingValue/index.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/EditableSettingsList/SettingField/SettingField.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/EditableSettingsList/SettingField/index.html +1 -1
- package/src/artifacts/coverage-jest/Settings/EditableSettingsList/SettingField/index.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/EditableSettingsList/index.html +1 -1
- package/src/artifacts/coverage-jest/Settings/EditableSettingsList/index.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/RefdataCategoriesSettings/RefdataCategoriesSettings.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/RefdataCategoriesSettings/index.html +1 -1
- package/src/artifacts/coverage-jest/Settings/RefdataCategoriesSettings/index.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/SettingPage/SettingPage.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/SettingPage/SettingPagePane/SettingPagePane.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/SettingPage/SettingPagePane/index.html +1 -1
- package/src/artifacts/coverage-jest/Settings/SettingPage/SettingPagePane/index.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/SettingPage/index.html +1 -1
- package/src/artifacts/coverage-jest/Settings/SettingPage/index.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/Settings/Settings.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/Settings/index.html +1 -1
- package/src/artifacts/coverage-jest/Settings/Settings/index.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/SettingsFormContainer/SettingsFormContainer.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/SettingsFormContainer/index.html +1 -1
- package/src/artifacts/coverage-jest/Settings/SettingsFormContainer/index.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/StaticSettingsField/StaticSettingsField.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/StaticSettingsField/StaticSettingsFieldComponent/StaticSettingsFieldComponent.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/StaticSettingsField/StaticSettingsFieldComponent/index.html +1 -1
- package/src/artifacts/coverage-jest/Settings/StaticSettingsField/StaticSettingsFieldComponent/index.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/StaticSettingsField/index.html +1 -1
- package/src/artifacts/coverage-jest/Settings/StaticSettingsField/index.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/constants/index.html +1 -1
- package/src/artifacts/coverage-jest/Settings/constants/index.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/constants/queryKeys.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/contexts/SettingsContext.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/contexts/index.html +1 -1
- package/src/artifacts/coverage-jest/Settings/contexts/index.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/hooks/index.html +1 -1
- package/src/artifacts/coverage-jest/Settings/hooks/index.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/hooks/staticSettingsPages/index.html +1 -1
- package/src/artifacts/coverage-jest/Settings/hooks/staticSettingsPages/index.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/hooks/staticSettingsPages/useSettingCallout/index.html +1 -1
- package/src/artifacts/coverage-jest/Settings/hooks/staticSettingsPages/useSettingCallout/index.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/hooks/staticSettingsPages/useSettingCallout/useSettingCallout.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/hooks/staticSettingsPages/useSettingsSectionInitalValues/index.html +1 -1
- package/src/artifacts/coverage-jest/Settings/hooks/staticSettingsPages/useSettingsSectionInitalValues/index.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/hooks/staticSettingsPages/useSettingsSectionInitalValues/useSettingsSectionInitalValues.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/hooks/staticSettingsPages/useStaticSettingsSection.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/hooks/useAppSettings/index.html +1 -1
- package/src/artifacts/coverage-jest/Settings/hooks/useAppSettings/index.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/hooks/useAppSettings/useAppSettings.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/hooks/useSettingSection/index.html +1 -1
- package/src/artifacts/coverage-jest/Settings/hooks/useSettingSection/index.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/hooks/useSettingSection/useSettingSection.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/hooks/useSettings/index.html +1 -1
- package/src/artifacts/coverage-jest/Settings/hooks/useSettings/index.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/hooks/useSettings/useSettings.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/index.html +1 -1
- package/src/artifacts/coverage-jest/Settings/index.js.html +1 -1
- package/src/artifacts/coverage-jest/Tags/Tags.js.html +1 -1
- package/src/artifacts/coverage-jest/Tags/hooks/index.html +1 -1
- package/src/artifacts/coverage-jest/Tags/hooks/index.js.html +1 -1
- package/src/artifacts/coverage-jest/Tags/hooks/useTags.js.html +1 -1
- package/src/artifacts/coverage-jest/Tags/hooks/useTagsEnabled.js.html +1 -1
- package/src/artifacts/coverage-jest/Tags/index.html +1 -1
- package/src/artifacts/coverage-jest/Tags/index.js.html +1 -1
- package/src/artifacts/coverage-jest/Tags/tagsConfig.js.html +1 -1
- package/src/artifacts/coverage-jest/Typedown/Typedown.js.html +1 -1
- package/src/artifacts/coverage-jest/Typedown/index.html +1 -1
- package/src/artifacts/coverage-jest/Typedown/index.js.html +1 -1
- package/src/artifacts/coverage-jest/cobertura-coverage.xml +469 -281
- package/src/artifacts/coverage-jest/constants/comparators.js.html +1 -1
- package/src/artifacts/coverage-jest/constants/customProperties.js.html +1 -1
- package/src/artifacts/coverage-jest/constants/endpoints.js.html +1 -1
- package/src/artifacts/coverage-jest/constants/eventCodes.js.html +1 -1
- package/src/artifacts/coverage-jest/constants/index.html +1 -1
- package/src/artifacts/coverage-jest/constants/pagination.js.html +1 -1
- package/src/artifacts/coverage-jest/hooks/index.html +39 -9
- package/src/artifacts/coverage-jest/hooks/index.js.html +11 -2
- package/src/artifacts/coverage-jest/hooks/intlHooks/index.html +1 -1
- package/src/artifacts/coverage-jest/hooks/intlHooks/index.js.html +1 -1
- package/src/artifacts/coverage-jest/hooks/intlHooks/useIntlKey/index.html +1 -1
- package/src/artifacts/coverage-jest/hooks/intlHooks/useIntlKey/index.js.html +1 -1
- package/src/artifacts/coverage-jest/hooks/intlHooks/useIntlKey/useIntlKey.js.html +6 -6
- package/src/artifacts/coverage-jest/hooks/intlHooks/useIntlKeyStore/index.html +1 -1
- package/src/artifacts/coverage-jest/hooks/intlHooks/useIntlKeyStore/index.js.html +1 -1
- package/src/artifacts/coverage-jest/hooks/intlHooks/useIntlKeyStore/useIntlKeyStore.js.html +1 -1
- package/src/artifacts/coverage-jest/hooks/intlHooks/useKintIntl/index.html +1 -1
- package/src/artifacts/coverage-jest/hooks/intlHooks/useKintIntl/index.js.html +1 -1
- package/src/artifacts/coverage-jest/hooks/intlHooks/useKintIntl/useKintIntl.js.html +11 -11
- package/src/artifacts/coverage-jest/hooks/typedownHooks/index.html +1 -1
- package/src/artifacts/coverage-jest/hooks/typedownHooks/index.js.html +1 -1
- package/src/artifacts/coverage-jest/hooks/typedownHooks/useTypedown.js.html +1 -1
- package/src/artifacts/coverage-jest/hooks/typedownHooks/useTypedownData.js.html +1 -1
- package/src/artifacts/coverage-jest/hooks/typedownHooks/useTypedownToggle.js.html +1 -1
- package/src/artifacts/coverage-jest/hooks/useActionListRef.js.html +1 -1
- package/src/artifacts/coverage-jest/hooks/useActiveElement.js.html +1 -1
- package/src/artifacts/coverage-jest/hooks/useCustProps.js.html +376 -0
- package/src/artifacts/coverage-jest/hooks/useCustomProperties.js.html +1 -1
- package/src/artifacts/coverage-jest/hooks/useHelperApp.js.html +1 -1
- package/src/artifacts/coverage-jest/hooks/useInvalidateRefdata/index.html +1 -1
- package/src/artifacts/coverage-jest/hooks/useInvalidateRefdata/index.js.html +1 -1
- package/src/artifacts/coverage-jest/hooks/useInvalidateRefdata/useInvalidateRefdata.js.html +1 -1
- package/src/artifacts/coverage-jest/hooks/useKiwtFieldArray.js.html +1 -1
- package/src/artifacts/coverage-jest/hooks/useKiwtSASQuery.js.html +1 -1
- package/src/artifacts/coverage-jest/hooks/useLocalPageStore.js.html +1 -1
- package/src/artifacts/coverage-jest/hooks/useLocalStorageState.js.html +1 -1
- package/src/artifacts/coverage-jest/hooks/useModConfigEntries.js.html +1 -1
- package/src/artifacts/coverage-jest/hooks/useMutateCustomProperties/index.html +1 -1
- package/src/artifacts/coverage-jest/hooks/useMutateCustomProperties/index.js.html +1 -1
- package/src/artifacts/coverage-jest/hooks/useMutateCustomProperties/useMutateCustomProperties.js.html +1 -1
- package/src/artifacts/coverage-jest/hooks/useMutateGeneric/index.html +1 -1
- package/src/artifacts/coverage-jest/hooks/useMutateGeneric/index.js.html +1 -1
- package/src/artifacts/coverage-jest/hooks/useMutateGeneric/useMutateGeneric.js.html +1 -1
- package/src/artifacts/coverage-jest/hooks/useMutateModConfigEntry.js.html +1 -1
- package/src/artifacts/coverage-jest/hooks/useMutateRefdataCategory/index.html +1 -1
- package/src/artifacts/coverage-jest/hooks/useMutateRefdataCategory/index.js.html +1 -1
- package/src/artifacts/coverage-jest/hooks/useMutateRefdataCategory/useMutateRefdataCategory.js.html +1 -1
- package/src/artifacts/coverage-jest/hooks/useMutateRefdataValue/index.html +1 -1
- package/src/artifacts/coverage-jest/hooks/useMutateRefdataValue/index.js.html +1 -1
- package/src/artifacts/coverage-jest/hooks/useMutateRefdataValue/useMutateRefdataValue.js.html +1 -1
- package/src/artifacts/coverage-jest/hooks/useParallelBatchFetch.js.html +589 -0
- package/src/artifacts/coverage-jest/hooks/usePrevNextPagination.js.html +1 -1
- package/src/artifacts/coverage-jest/hooks/useQIndex.js.html +1 -1
- package/src/artifacts/coverage-jest/hooks/useRefdata.js.html +1 -1
- package/src/artifacts/coverage-jest/hooks/useSASQQueryMeta.js.html +1 -1
- package/src/artifacts/coverage-jest/hooks/useStandaloneSASQQueryParameter/index.html +1 -1
- package/src/artifacts/coverage-jest/hooks/useStandaloneSASQQueryParameter/index.js.html +1 -1
- package/src/artifacts/coverage-jest/hooks/useStandaloneSASQQueryParameter/useStandaloneSASQQueryParameter.js.html +1 -1
- package/src/artifacts/coverage-jest/hooks/useTemplates.js.html +1 -1
- package/src/artifacts/coverage-jest/index.html +77 -77
- package/src/artifacts/coverage-jest/utils/buildUrl.js.html +1 -1
- package/src/artifacts/coverage-jest/utils/filterParsers/deparseKiwtQueryFilters.js.html +1 -1
- package/src/artifacts/coverage-jest/utils/filterParsers/index.html +1 -1
- package/src/artifacts/coverage-jest/utils/filterParsers/index.js.html +1 -1
- package/src/artifacts/coverage-jest/utils/filterParsers/parseKiwtQueryFilters.js.html +1 -1
- package/src/artifacts/coverage-jest/utils/filterParsers/parseKiwtQueryGroups.js.html +1 -1
- package/src/artifacts/coverage-jest/utils/filterParsers/parseKiwtQueryString.js.html +1 -1
- package/src/artifacts/coverage-jest/utils/generateKiwtQuery.js.html +1 -1
- package/src/artifacts/coverage-jest/utils/generateKiwtQueryParams/generateKiwtQueryParams.js.html +71 -71
- package/src/artifacts/coverage-jest/utils/generateKiwtQueryParams/index.html +19 -19
- package/src/artifacts/coverage-jest/utils/generateKiwtQueryParams/index.js.html +1 -1
- package/src/artifacts/coverage-jest/utils/groupCustomPropertiesByCtx.js.html +1 -1
- package/src/artifacts/coverage-jest/utils/index.html +13 -13
- package/src/artifacts/coverage-jest/utils/index.js.html +1 -1
- package/src/artifacts/coverage-jest/utils/matchString/index.html +1 -1
- package/src/artifacts/coverage-jest/utils/matchString/index.js.html +1 -1
- package/src/artifacts/coverage-jest/utils/matchString/matchString.js.html +1 -1
- package/src/artifacts/coverage-jest/utils/modConfigEntriesQueryKey.js.html +1 -1
- package/src/artifacts/coverage-jest/utils/parseErrorResponse.js.html +26 -8
- package/src/artifacts/coverage-jest/utils/parseModConfigEntry.js.html +1 -1
- package/src/artifacts/coverage-jest/utils/refdataOptions.js.html +1 -1
- package/src/artifacts/coverage-jest/utils/refdataQueryKey/index.html +1 -1
- package/src/artifacts/coverage-jest/utils/refdataQueryKey/index.js.html +1 -1
- package/src/artifacts/coverage-jest/utils/refdataQueryKey/refdataQueryKey.js.html +1 -1
- package/src/artifacts/coverage-jest/utils/selectorSafe.js.html +1 -1
- package/src/artifacts/coverage-jest/utils/sortByLabel.js.html +1 -1
- package/src/artifacts/coverage-jest/utils/stringStyling/boldString.js.html +1 -1
- package/src/artifacts/coverage-jest/utils/stringStyling/highlightString.js.html +1 -1
- package/src/artifacts/coverage-jest/utils/stringStyling/index.html +1 -1
- package/src/artifacts/coverage-jest/utils/stringStyling/index.js.html +1 -1
- package/src/artifacts/coverage-jest/utils/toCamelCase.js.html +1 -1
- package/src/artifacts/coverage-jest/utils/typedownQueryKey.js.html +1 -1
- package/src/artifacts/coverage-jest/validators/index.html +1 -1
- package/src/artifacts/coverage-jest/validators/index.js.html +1 -1
- package/src/artifacts/coverage-jest/validators/validators.js.html +1 -1
- package/src/lib/CustomProperties/Config/CustomPropertiesLookup.js +2 -3
- package/src/lib/CustomProperties/Config/CustomPropertiesSettings.js +46 -3
- package/src/lib/CustomProperties/Edit/CustomPropertiesEditCtx.js +2 -3
- package/src/lib/CustomProperties/Filter/CustomPropertiesFilter.js +3 -4
- package/src/lib/CustomProperties/Filter/CustomPropertiesFilter.test.js +13 -3
- package/src/lib/CustomProperties/View/CustomPropertiesViewCtx.js +2 -3
- package/src/lib/hooks/README.md +101 -1
- package/src/lib/hooks/index.js +3 -0
- package/src/lib/hooks/useCustProps.js +97 -0
- package/src/lib/hooks/useParallelBatchFetch.js +168 -0
- package/src/lib/utils/parseErrorResponse.js +7 -1
|
@@ -23,30 +23,30 @@
|
|
|
23
23
|
<div class='clearfix'>
|
|
24
24
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
|
-
<span class="strong">
|
|
26
|
+
<span class="strong">63.63% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>
|
|
28
|
+
<span class='fraction'>7/11</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
|
-
<span class="strong">
|
|
33
|
+
<span class="strong">22.22% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>
|
|
35
|
+
<span class='fraction'>2/9</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
<div class='fl pad1y space-right2'>
|
|
40
|
-
<span class="strong">
|
|
40
|
+
<span class="strong">50% </span>
|
|
41
41
|
<span class="quiet">Functions</span>
|
|
42
|
-
<span class='fraction'>
|
|
42
|
+
<span class='fraction'>1/2</span>
|
|
43
43
|
</div>
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
|
-
<span class="strong">
|
|
47
|
+
<span class="strong">63.63% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>
|
|
49
|
+
<span class='fraction'>7/11</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
</div>
|
|
62
62
|
</template>
|
|
63
63
|
</div>
|
|
64
|
-
<div class='status-line
|
|
64
|
+
<div class='status-line medium'></div>
|
|
65
65
|
<pre><table class="coverage">
|
|
66
66
|
<tr><td class="line-count quiet"><a name='L1'></a><a href='#L1'>1</a>
|
|
67
67
|
<a name='L2'></a><a href='#L2'>2</a>
|
|
@@ -151,8 +151,7 @@
|
|
|
151
151
|
<a name='L86'></a><a href='#L86'>86</a>
|
|
152
152
|
<a name='L87'></a><a href='#L87'>87</a>
|
|
153
153
|
<a name='L88'></a><a href='#L88'>88</a>
|
|
154
|
-
<a name='L89'></a><a href='#L89'>89</a>
|
|
155
|
-
<a name='L90'></a><a href='#L90'>90</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
154
|
+
<a name='L89'></a><a href='#L89'>89</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
156
155
|
<span class="cline-any cline-neutral"> </span>
|
|
157
156
|
<span class="cline-any cline-neutral"> </span>
|
|
158
157
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -172,7 +171,7 @@
|
|
|
172
171
|
<span class="cline-any cline-neutral"> </span>
|
|
173
172
|
<span class="cline-any cline-yes">1x</span>
|
|
174
173
|
<span class="cline-any cline-neutral"> </span>
|
|
175
|
-
<span class="cline-any cline-
|
|
174
|
+
<span class="cline-any cline-no"> </span>
|
|
176
175
|
<span class="cline-any cline-no"> </span>
|
|
177
176
|
<span class="cline-any cline-neutral"> </span>
|
|
178
177
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -183,7 +182,7 @@
|
|
|
183
182
|
<span class="cline-any cline-neutral"> </span>
|
|
184
183
|
<span class="cline-any cline-neutral"> </span>
|
|
185
184
|
<span class="cline-any cline-neutral"> </span>
|
|
186
|
-
<span class="cline-any cline-
|
|
185
|
+
<span class="cline-any cline-no"> </span>
|
|
187
186
|
<span class="cline-any cline-neutral"> </span>
|
|
188
187
|
<span class="cline-any cline-neutral"> </span>
|
|
189
188
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -207,12 +206,11 @@
|
|
|
207
206
|
<span class="cline-any cline-neutral"> </span>
|
|
208
207
|
<span class="cline-any cline-neutral"> </span>
|
|
209
208
|
<span class="cline-any cline-neutral"> </span>
|
|
210
|
-
<span class="cline-any cline-neutral"> </span>
|
|
211
209
|
<span class="cline-any cline-yes">1x</span>
|
|
212
|
-
<span class="cline-any cline-
|
|
210
|
+
<span class="cline-any cline-yes">1x</span>
|
|
213
211
|
<span class="cline-any cline-neutral"> </span>
|
|
214
212
|
<span class="cline-any cline-neutral"> </span>
|
|
215
|
-
<span class="cline-any cline-
|
|
213
|
+
<span class="cline-any cline-no"> </span>
|
|
216
214
|
<span class="cline-any cline-neutral"> </span>
|
|
217
215
|
<span class="cline-any cline-neutral"> </span>
|
|
218
216
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -245,7 +243,7 @@
|
|
|
245
243
|
import { Accordion } from '@folio/stripes/components';
|
|
246
244
|
|
|
247
245
|
import CustomPropertiesListField from './CustomPropertiesListField';
|
|
248
|
-
import {
|
|
246
|
+
import { useCustProps, useKintIntl } from '../../hooks';
|
|
249
247
|
|
|
250
248
|
const CustomPropertiesEditCtx = ({
|
|
251
249
|
ctx,
|
|
@@ -259,9 +257,9 @@ const CustomPropertiesEditCtx = ({
|
|
|
259
257
|
const kintIntl = useKintIntl(passedIntlKey, passedIntlNS);
|
|
260
258
|
|
|
261
259
|
// Deal with all the possible label override options
|
|
262
|
-
const getAccordionLabel = () => {
|
|
260
|
+
const getAccordionLabel = <span class="fstat-no" title="function not covered" >()</span> => {
|
|
263
261
|
// Special case for null context
|
|
264
|
-
|
|
262
|
+
<span class="cstat-no" title="statement not covered" > if (ctx === 'isNull') {</span>
|
|
265
263
|
<span class="cstat-no" title="statement not covered" > return (</span>
|
|
266
264
|
kintIntl.formatKintMessage({
|
|
267
265
|
id: 'customProperties',
|
|
@@ -272,7 +270,7 @@ const CustomPropertiesEditCtx = ({
|
|
|
272
270
|
|
|
273
271
|
// Chain formatKintMessages together using provided fallbackMessage to
|
|
274
272
|
// allow for "If override or translation exists, use it, else use default"
|
|
275
|
-
return (
|
|
273
|
+
<span class="cstat-no" title="statement not covered" > return (</span>
|
|
276
274
|
kintIntl.formatKintMessage({
|
|
277
275
|
id: `customProperties.ctx.${ctx}`,
|
|
278
276
|
overrideValue: labelOverrides[ctx],
|
|
@@ -284,10 +282,9 @@ const CustomPropertiesEditCtx = ({
|
|
|
284
282
|
);
|
|
285
283
|
};
|
|
286
284
|
|
|
287
|
-
const {
|
|
285
|
+
const { custprops, isLoading } = useCustProps({
|
|
288
286
|
ctx,
|
|
289
287
|
endpoint: customPropertiesEndpoint,
|
|
290
|
-
returnQueryObject: true,
|
|
291
288
|
options: {
|
|
292
289
|
filters: [{
|
|
293
290
|
path: 'retired',
|
|
@@ -297,11 +294,11 @@ const CustomPropertiesEditCtx = ({
|
|
|
297
294
|
}
|
|
298
295
|
});
|
|
299
296
|
|
|
300
|
-
<span class="missing-if-branch" title="
|
|
301
|
-
|
|
297
|
+
<span class="missing-if-branch" title="else path not taken" >E</span>if (isLoading) {
|
|
298
|
+
return null;
|
|
302
299
|
}
|
|
303
300
|
|
|
304
|
-
return (
|
|
301
|
+
<span class="cstat-no" title="statement not covered" > return (</span>
|
|
305
302
|
custprops.length > 0 &&
|
|
306
303
|
<Accordion
|
|
307
304
|
id={`${id}-accordion-${ctx}`}
|
|
@@ -337,7 +334,7 @@ export default CustomPropertiesEditCtx;
|
|
|
337
334
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
338
335
|
Code coverage generated by
|
|
339
336
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
340
|
-
at 2026-03-
|
|
337
|
+
at 2026-03-23T17:05:11.570Z
|
|
341
338
|
</div>
|
|
342
339
|
<script src="../../prettify.js"></script>
|
|
343
340
|
<script>
|
|
@@ -820,7 +820,7 @@ export default CustomPropertiesListField;
|
|
|
820
820
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
821
821
|
Code coverage generated by
|
|
822
822
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
823
|
-
at 2026-03-
|
|
823
|
+
at 2026-03-23T17:05:11.570Z
|
|
824
824
|
</div>
|
|
825
825
|
<script src="../../prettify.js"></script>
|
|
826
826
|
<script>
|
|
@@ -1285,7 +1285,7 @@ export default CustomPropertyField;
|
|
|
1285
1285
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
1286
1286
|
Code coverage generated by
|
|
1287
1287
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
1288
|
-
at 2026-03-
|
|
1288
|
+
at 2026-03-23T17:05:11.570Z
|
|
1289
1289
|
</div>
|
|
1290
1290
|
<script src="../../prettify.js"></script>
|
|
1291
1291
|
<script>
|
|
@@ -439,7 +439,7 @@ export default CustomPropertyFormCard;
|
|
|
439
439
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
440
440
|
Code coverage generated by
|
|
441
441
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
442
|
-
at 2026-03-
|
|
442
|
+
at 2026-03-23T17:05:11.570Z
|
|
443
443
|
</div>
|
|
444
444
|
<script src="../../prettify.js"></script>
|
|
445
445
|
<script>
|
|
@@ -23,30 +23,30 @@
|
|
|
23
23
|
<div class='clearfix'>
|
|
24
24
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
|
-
<span class="strong">
|
|
26
|
+
<span class="strong">72.37% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>
|
|
28
|
+
<span class='fraction'>131/181</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
|
-
<span class="strong">
|
|
33
|
+
<span class="strong">60.36% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>
|
|
35
|
+
<span class='fraction'>67/111</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
<div class='fl pad1y space-right2'>
|
|
40
|
-
<span class="strong">
|
|
40
|
+
<span class="strong">72.88% </span>
|
|
41
41
|
<span class="quiet">Functions</span>
|
|
42
|
-
<span class='fraction'>
|
|
42
|
+
<span class='fraction'>43/59</span>
|
|
43
43
|
</div>
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
|
-
<span class="strong">
|
|
47
|
+
<span class="strong">73.83% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>
|
|
49
|
+
<span class='fraction'>127/172</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -94,18 +94,18 @@
|
|
|
94
94
|
</tr>
|
|
95
95
|
|
|
96
96
|
<tr>
|
|
97
|
-
<td class="file
|
|
98
|
-
<td data-value="
|
|
99
|
-
<div class="chart"><div class="cover-fill" style="width:
|
|
97
|
+
<td class="file medium" data-value="CustomPropertiesEditCtx.js"><a href="CustomPropertiesEditCtx.js.html">CustomPropertiesEditCtx.js</a></td>
|
|
98
|
+
<td data-value="63.63" class="pic medium">
|
|
99
|
+
<div class="chart"><div class="cover-fill" style="width: 63%"></div><div class="cover-empty" style="width: 37%"></div></div>
|
|
100
100
|
</td>
|
|
101
|
-
<td data-value="
|
|
102
|
-
<td data-value="11" class="abs
|
|
103
|
-
<td data-value="
|
|
104
|
-
<td data-value="9" class="abs
|
|
105
|
-
<td data-value="
|
|
106
|
-
<td data-value="2" class="abs
|
|
107
|
-
<td data-value="
|
|
108
|
-
<td data-value="11" class="abs
|
|
101
|
+
<td data-value="63.63" class="pct medium">63.63%</td>
|
|
102
|
+
<td data-value="11" class="abs medium">7/11</td>
|
|
103
|
+
<td data-value="22.22" class="pct low">22.22%</td>
|
|
104
|
+
<td data-value="9" class="abs low">2/9</td>
|
|
105
|
+
<td data-value="50" class="pct medium">50%</td>
|
|
106
|
+
<td data-value="2" class="abs medium">1/2</td>
|
|
107
|
+
<td data-value="63.63" class="pct medium">63.63%</td>
|
|
108
|
+
<td data-value="11" class="abs medium">7/11</td>
|
|
109
109
|
</tr>
|
|
110
110
|
|
|
111
111
|
<tr>
|
|
@@ -191,7 +191,7 @@
|
|
|
191
191
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
192
192
|
Code coverage generated by
|
|
193
193
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
194
|
-
at 2026-03-
|
|
194
|
+
at 2026-03-23T17:05:11.570Z
|
|
195
195
|
</div>
|
|
196
196
|
<script src="../../prettify.js"></script>
|
|
197
197
|
<script>
|
|
@@ -85,7 +85,7 @@ export { default as CustomPropertyField } from './CustomPropertyField';
|
|
|
85
85
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
86
86
|
Code coverage generated by
|
|
87
87
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
88
|
-
at 2026-03-
|
|
88
|
+
at 2026-03-23T17:05:11.570Z
|
|
89
89
|
</div>
|
|
90
90
|
<script src="../../prettify.js"></script>
|
|
91
91
|
<script>
|
|
@@ -256,7 +256,7 @@ export {
|
|
|
256
256
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
257
257
|
Code coverage generated by
|
|
258
258
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
259
|
-
at 2026-03-
|
|
259
|
+
at 2026-03-23T17:05:11.570Z
|
|
260
260
|
</div>
|
|
261
261
|
<script src="../../prettify.js"></script>
|
|
262
262
|
<script>
|
|
@@ -23,16 +23,16 @@
|
|
|
23
23
|
<div class='clearfix'>
|
|
24
24
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
|
-
<span class="strong">
|
|
26
|
+
<span class="strong">38.46% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>
|
|
28
|
+
<span class='fraction'>10/26</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
|
-
<span class="strong">
|
|
33
|
+
<span class="strong">16.66% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>
|
|
35
|
+
<span class='fraction'>3/18</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
|
-
<span class="strong">47
|
|
47
|
+
<span class="strong">43.47% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>
|
|
49
|
+
<span class='fraction'>10/23</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -200,8 +200,7 @@
|
|
|
200
200
|
<a name='L135'></a><a href='#L135'>135</a>
|
|
201
201
|
<a name='L136'></a><a href='#L136'>136</a>
|
|
202
202
|
<a name='L137'></a><a href='#L137'>137</a>
|
|
203
|
-
<a name='L138'></a><a href='#L138'>138</a>
|
|
204
|
-
<a name='L139'></a><a href='#L139'>139</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
203
|
+
<a name='L138'></a><a href='#L138'>138</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
205
204
|
<span class="cline-any cline-neutral"> </span>
|
|
206
205
|
<span class="cline-any cline-neutral"> </span>
|
|
207
206
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -226,13 +225,13 @@
|
|
|
226
225
|
<span class="cline-any cline-neutral"> </span>
|
|
227
226
|
<span class="cline-any cline-neutral"> </span>
|
|
228
227
|
<span class="cline-any cline-neutral"> </span>
|
|
229
|
-
<span class="cline-any cline-yes">
|
|
230
|
-
<span class="cline-any cline-yes">
|
|
231
|
-
<span class="cline-any cline-yes">
|
|
228
|
+
<span class="cline-any cline-yes">3x</span>
|
|
229
|
+
<span class="cline-any cline-yes">3x</span>
|
|
230
|
+
<span class="cline-any cline-yes">3x</span>
|
|
232
231
|
<span class="cline-any cline-neutral"> </span>
|
|
233
|
-
<span class="cline-any cline-yes">
|
|
232
|
+
<span class="cline-any cline-yes">3x</span>
|
|
234
233
|
<span class="cline-any cline-neutral"> </span>
|
|
235
|
-
<span class="cline-any cline-yes">
|
|
234
|
+
<span class="cline-any cline-yes">3x</span>
|
|
236
235
|
<span class="cline-any cline-neutral"> </span>
|
|
237
236
|
<span class="cline-any cline-neutral"> </span>
|
|
238
237
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -243,11 +242,10 @@
|
|
|
243
242
|
<span class="cline-any cline-neutral"> </span>
|
|
244
243
|
<span class="cline-any cline-neutral"> </span>
|
|
245
244
|
<span class="cline-any cline-neutral"> </span>
|
|
245
|
+
<span class="cline-any cline-yes">3x</span>
|
|
246
246
|
<span class="cline-any cline-neutral"> </span>
|
|
247
|
-
<span class="cline-any cline-yes">
|
|
248
|
-
<span class="cline-any cline-
|
|
249
|
-
<span class="cline-any cline-yes">4x</span>
|
|
250
|
-
<span class="cline-any cline-no"> </span>
|
|
247
|
+
<span class="cline-any cline-yes">3x</span>
|
|
248
|
+
<span class="cline-any cline-yes">3x</span>
|
|
251
249
|
<span class="cline-any cline-neutral"> </span>
|
|
252
250
|
<span class="cline-any cline-neutral"> </span>
|
|
253
251
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -265,7 +263,7 @@
|
|
|
265
263
|
<span class="cline-any cline-neutral"> </span>
|
|
266
264
|
<span class="cline-any cline-neutral"> </span>
|
|
267
265
|
<span class="cline-any cline-neutral"> </span>
|
|
268
|
-
<span class="cline-any cline-
|
|
266
|
+
<span class="cline-any cline-no"> </span>
|
|
269
267
|
<span class="cline-any cline-no"> </span>
|
|
270
268
|
<span class="cline-any cline-neutral"> </span>
|
|
271
269
|
<span class="cline-any cline-no"> </span>
|
|
@@ -291,7 +289,7 @@
|
|
|
291
289
|
<span class="cline-any cline-no"> </span>
|
|
292
290
|
<span class="cline-any cline-neutral"> </span>
|
|
293
291
|
<span class="cline-any cline-neutral"> </span>
|
|
294
|
-
<span class="cline-any cline-
|
|
292
|
+
<span class="cline-any cline-no"> </span>
|
|
295
293
|
<span class="cline-any cline-neutral"> </span>
|
|
296
294
|
<span class="cline-any cline-neutral"> </span>
|
|
297
295
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -348,7 +346,7 @@ import {
|
|
|
348
346
|
Layout,
|
|
349
347
|
Spinner
|
|
350
348
|
} from '@folio/stripes/components';
|
|
351
|
-
import {
|
|
349
|
+
import { useCustProps, useKintIntl } from '../../hooks';
|
|
352
350
|
import useParseActiveFilterStrings from './useParseActiveFilterStrings';
|
|
353
351
|
import CustomPropertiesFilterForm from './CustomPropertiesFilterForm';
|
|
354
352
|
import { MULTI_REFDATA_CLASS_NAME, REFDATA_CLASS_NAME } from '../../constants/customProperties';
|
|
@@ -363,16 +361,15 @@ const CustomPropertiesFilter = ({
|
|
|
363
361
|
intlKey: passedIntlKey,
|
|
364
362
|
intlNS: passedIntlNS,
|
|
365
363
|
labelOverrides = {}
|
|
366
|
-
|
|
364
|
+
}) => {
|
|
367
365
|
const [editingFilters, setEditingFilters] = useState(false);
|
|
368
366
|
const openEditModal = <span class="fstat-no" title="function not covered" >()</span> => <span class="cstat-no" title="statement not covered" >setEditingFilters(true);</span>
|
|
369
367
|
const closeEditModal = <span class="fstat-no" title="function not covered" >()</span> => <span class="cstat-no" title="statement not covered" >setEditingFilters(false);</span>
|
|
370
368
|
|
|
371
369
|
const kintIntl = useKintIntl(passedIntlKey, passedIntlNS);
|
|
372
370
|
|
|
373
|
-
const {
|
|
371
|
+
const { custprops, isLoading } = useCustProps({
|
|
374
372
|
endpoint: customPropertiesEndpoint,
|
|
375
|
-
returnQueryObject: true,
|
|
376
373
|
options: {
|
|
377
374
|
sort: [
|
|
378
375
|
{ path: 'ctx' }, // Group by ctx
|
|
@@ -384,8 +381,8 @@ const CustomPropertiesFilter = ({
|
|
|
384
381
|
});
|
|
385
382
|
const parsedFilterData = useParseActiveFilterStrings(custPropFilters || <span class="branch-1 cbranch-no" title="branch not covered" >[],</span> passedIntlKey, passedIntlNS, labelOverrides);
|
|
386
383
|
|
|
387
|
-
<span class="missing-if-branch" title="
|
|
388
|
-
|
|
384
|
+
<span class="missing-if-branch" title="else path not taken" >E</span>if (isLoading) {
|
|
385
|
+
return (
|
|
389
386
|
<Accordion
|
|
390
387
|
closedByDefault
|
|
391
388
|
header={FilterAccordionHeader}
|
|
@@ -403,7 +400,7 @@ const CustomPropertiesFilter = ({
|
|
|
403
400
|
);
|
|
404
401
|
}
|
|
405
402
|
|
|
406
|
-
const handleSubmit = <span class="fstat-no" title="function not covered" >va</span>lues => {
|
|
403
|
+
const handleSubmit = <span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >va</span>lues => {</span>
|
|
407
404
|
const { filters = <span class="branch-0 cbranch-no" title="branch not covered" >[] </span>} = <span class="cstat-no" title="statement not covered" >values;</span>
|
|
408
405
|
|
|
409
406
|
const filterStrings = <span class="cstat-no" title="statement not covered" >filters</span>
|
|
@@ -429,10 +426,10 @@ const CustomPropertiesFilter = ({
|
|
|
429
426
|
<span class="cstat-no" title="statement not covered" > return Promise.resolve();</span>
|
|
430
427
|
};
|
|
431
428
|
|
|
432
|
-
return (
|
|
429
|
+
<span class="cstat-no" title="statement not covered" > return (</span>
|
|
433
430
|
<Accordion
|
|
434
431
|
closedByDefault
|
|
435
|
-
displayClearButton={(parsedFilterData?.numberOfFilters ??
|
|
432
|
+
displayClearButton={(parsedFilterData?.numberOfFilters ?? 0) > 0}
|
|
436
433
|
header={FilterAccordionHeader}
|
|
437
434
|
id="clickable-custprop-filter"
|
|
438
435
|
label={
|
|
@@ -449,7 +446,7 @@ const CustomPropertiesFilter = ({
|
|
|
449
446
|
kintIntl.formatKintMessage({
|
|
450
447
|
id: 'customProperty.filtersApplied',
|
|
451
448
|
overrideValue: labelOverrides.filtersApplied,
|
|
452
|
-
}, { count: (parsedFilterData?.numberOfFilters ??
|
|
449
|
+
}, { count: (parsedFilterData?.numberOfFilters ?? 0) })
|
|
453
450
|
}
|
|
454
451
|
</Layout>
|
|
455
452
|
<CustomPropertiesFilterForm
|
|
@@ -484,7 +481,7 @@ export default CustomPropertiesFilter;
|
|
|
484
481
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
485
482
|
Code coverage generated by
|
|
486
483
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
487
|
-
at 2026-03-
|
|
484
|
+
at 2026-03-23T17:05:11.570Z
|
|
488
485
|
</div>
|
|
489
486
|
<script src="../../prettify.js"></script>
|
|
490
487
|
<script>
|
package/src/artifacts/coverage-jest/CustomProperties/Filter/CustomPropertiesFilterField.js.html
CHANGED
|
@@ -556,7 +556,7 @@ export default CustomPropertiesFilterField;
|
|
|
556
556
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
557
557
|
Code coverage generated by
|
|
558
558
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
559
|
-
at 2026-03-
|
|
559
|
+
at 2026-03-23T17:05:11.570Z
|
|
560
560
|
</div>
|
|
561
561
|
<script src="../../prettify.js"></script>
|
|
562
562
|
<script>
|
package/src/artifacts/coverage-jest/CustomProperties/Filter/CustomPropertiesFilterFieldArray.js.html
CHANGED
|
@@ -400,7 +400,7 @@ export default CustomPropertiesFilterFieldArray;
|
|
|
400
400
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
401
401
|
Code coverage generated by
|
|
402
402
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
403
|
-
at 2026-03-
|
|
403
|
+
at 2026-03-23T17:05:11.570Z
|
|
404
404
|
</div>
|
|
405
405
|
<script src="../../prettify.js"></script>
|
|
406
406
|
<script>
|
package/src/artifacts/coverage-jest/CustomProperties/Filter/CustomPropertiesFilterForm.js.html
CHANGED
|
@@ -325,7 +325,7 @@ export default CustomPropertyFiltersForm;
|
|
|
325
325
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
326
326
|
Code coverage generated by
|
|
327
327
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
328
|
-
at 2026-03-
|
|
328
|
+
at 2026-03-23T17:05:11.570Z
|
|
329
329
|
</div>
|
|
330
330
|
<script src="../../prettify.js"></script>
|
|
331
331
|
<script>
|
|
@@ -493,7 +493,7 @@ export default CustomPropertiesRule;
|
|
|
493
493
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
494
494
|
Code coverage generated by
|
|
495
495
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
496
|
-
at 2026-03-
|
|
496
|
+
at 2026-03-23T17:05:11.570Z
|
|
497
497
|
</div>
|
|
498
498
|
<script src="../../prettify.js"></script>
|
|
499
499
|
<script>
|
|
@@ -23,16 +23,16 @@
|
|
|
23
23
|
<div class='clearfix'>
|
|
24
24
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
|
-
<span class="strong">
|
|
26
|
+
<span class="strong">64.47% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>
|
|
28
|
+
<span class='fraction'>98/152</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
|
-
<span class="strong">
|
|
33
|
+
<span class="strong">51.21% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>
|
|
35
|
+
<span class='fraction'>42/82</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
|
-
<span class="strong">
|
|
47
|
+
<span class="strong">65.94% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>
|
|
49
|
+
<span class='fraction'>91/138</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -80,17 +80,17 @@
|
|
|
80
80
|
</thead>
|
|
81
81
|
<tbody><tr>
|
|
82
82
|
<td class="file low" data-value="CustomPropertiesFilter.js"><a href="CustomPropertiesFilter.js.html">CustomPropertiesFilter.js</a></td>
|
|
83
|
-
<td data-value="
|
|
84
|
-
<div class="chart"><div class="cover-fill" style="width:
|
|
83
|
+
<td data-value="38.46" class="pic low">
|
|
84
|
+
<div class="chart"><div class="cover-fill" style="width: 38%"></div><div class="cover-empty" style="width: 62%"></div></div>
|
|
85
85
|
</td>
|
|
86
|
-
<td data-value="
|
|
87
|
-
<td data-value="26" class="abs low">
|
|
88
|
-
<td data-value="
|
|
89
|
-
<td data-value="18" class="abs low">
|
|
86
|
+
<td data-value="38.46" class="pct low">38.46%</td>
|
|
87
|
+
<td data-value="26" class="abs low">10/26</td>
|
|
88
|
+
<td data-value="16.66" class="pct low">16.66%</td>
|
|
89
|
+
<td data-value="18" class="abs low">3/18</td>
|
|
90
90
|
<td data-value="11.11" class="pct low">11.11%</td>
|
|
91
91
|
<td data-value="9" class="abs low">1/9</td>
|
|
92
|
-
<td data-value="47
|
|
93
|
-
<td data-value="23" class="abs low">
|
|
92
|
+
<td data-value="43.47" class="pct low">43.47%</td>
|
|
93
|
+
<td data-value="23" class="abs low">10/23</td>
|
|
94
94
|
</tr>
|
|
95
95
|
|
|
96
96
|
<tr>
|
|
@@ -236,7 +236,7 @@
|
|
|
236
236
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
237
237
|
Code coverage generated by
|
|
238
238
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
239
|
-
at 2026-03-
|
|
239
|
+
at 2026-03-23T17:05:11.570Z
|
|
240
240
|
</div>
|
|
241
241
|
<script src="../../prettify.js"></script>
|
|
242
242
|
<script>
|
|
@@ -88,7 +88,7 @@ export { default as CustomPropertiesFilterFieldArray } from './CustomPropertiesF
|
|
|
88
88
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
89
89
|
Code coverage generated by
|
|
90
90
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
91
|
-
at 2026-03-
|
|
91
|
+
at 2026-03-23T17:05:11.570Z
|
|
92
92
|
</div>
|
|
93
93
|
<script src="../../prettify.js"></script>
|
|
94
94
|
<script>
|
|
@@ -208,7 +208,7 @@ export {
|
|
|
208
208
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
209
209
|
Code coverage generated by
|
|
210
210
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
211
|
-
at 2026-03-
|
|
211
|
+
at 2026-03-23T17:05:11.570Z
|
|
212
212
|
</div>
|
|
213
213
|
<script src="../../prettify.js"></script>
|
|
214
214
|
<script>
|