@k-int/stripes-kint-components 5.33.1 → 5.34.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/es/lib/CustomProperties/Config/CustomPropertiesLookup.js +2 -3
- package/es/lib/CustomProperties/Config/CustomPropertiesSettings.js +4 -3
- 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/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 +8 -5
- 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 +20 -20
- 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 +15 -15
- 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 +31 -31
- 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 +564 -394
- 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 +7 -7
- 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 +6 -6
- 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 +9 -9
- package/src/artifacts/coverage-jest/hooks/useLocalPageStore.js.html +1 -1
- package/src/artifacts/coverage-jest/hooks/useLocalStorageState.js.html +5 -5
- 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 +20 -20
- package/src/artifacts/coverage-jest/hooks/useQIndex.js.html +8 -8
- 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 +70 -70
- 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 +1 -1
- 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 +1 -1
- 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 +4 -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/styles/TypeDown.css +2 -2
|
@@ -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">52.63% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>
|
|
28
|
+
<span class='fraction'>10/19</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
|
-
<span class="strong">
|
|
33
|
+
<span class="strong">40% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>
|
|
35
|
+
<span class='fraction'>2/5</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
<div class='fl pad1y space-right2'>
|
|
40
|
-
<span class="strong">
|
|
40
|
+
<span class="strong">22.22% </span>
|
|
41
41
|
<span class="quiet">Functions</span>
|
|
42
|
-
<span class='fraction'>
|
|
42
|
+
<span class='fraction'>2/9</span>
|
|
43
43
|
</div>
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
|
-
<span class="strong">
|
|
47
|
+
<span class="strong">52.63% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>
|
|
49
|
+
<span class='fraction'>10/19</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -256,8 +256,7 @@
|
|
|
256
256
|
<a name='L191'></a><a href='#L191'>191</a>
|
|
257
257
|
<a name='L192'></a><a href='#L192'>192</a>
|
|
258
258
|
<a name='L193'></a><a href='#L193'>193</a>
|
|
259
|
-
<a name='L194'></a><a href='#L194'>194</a>
|
|
260
|
-
<a name='L195'></a><a href='#L195'>195</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
259
|
+
<a name='L194'></a><a href='#L194'>194</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
261
260
|
<span class="cline-any cline-neutral"> </span>
|
|
262
261
|
<span class="cline-any cline-neutral"> </span>
|
|
263
262
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -300,7 +299,6 @@
|
|
|
300
299
|
<span class="cline-any cline-neutral"> </span>
|
|
301
300
|
<span class="cline-any cline-neutral"> </span>
|
|
302
301
|
<span class="cline-any cline-neutral"> </span>
|
|
303
|
-
<span class="cline-any cline-neutral"> </span>
|
|
304
302
|
<span class="cline-any cline-yes">2x</span>
|
|
305
303
|
<span class="cline-any cline-no"> </span>
|
|
306
304
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -399,15 +397,15 @@
|
|
|
399
397
|
<span class="cline-any cline-neutral"> </span>
|
|
400
398
|
<span class="cline-any cline-neutral"> </span>
|
|
401
399
|
<span class="cline-any cline-neutral"> </span>
|
|
402
|
-
<span class="cline-any cline-
|
|
403
|
-
<span class="cline-any cline-
|
|
400
|
+
<span class="cline-any cline-no"> </span>
|
|
401
|
+
<span class="cline-any cline-no"> </span>
|
|
404
402
|
<span class="cline-any cline-neutral"> </span>
|
|
405
403
|
<span class="cline-any cline-neutral"> </span>
|
|
406
404
|
<span class="cline-any cline-neutral"> </span>
|
|
407
405
|
<span class="cline-any cline-neutral"> </span>
|
|
408
406
|
<span class="cline-any cline-neutral"> </span>
|
|
409
407
|
<span class="cline-any cline-neutral"> </span>
|
|
410
|
-
<span class="cline-any cline-
|
|
408
|
+
<span class="cline-any cline-no"> </span>
|
|
411
409
|
<span class="cline-any cline-neutral"> </span>
|
|
412
410
|
<span class="cline-any cline-neutral"> </span>
|
|
413
411
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -416,12 +414,12 @@
|
|
|
416
414
|
<span class="cline-any cline-neutral"> </span>
|
|
417
415
|
<span class="cline-any cline-neutral"> </span>
|
|
418
416
|
<span class="cline-any cline-neutral"> </span>
|
|
419
|
-
<span class="cline-any cline-
|
|
417
|
+
<span class="cline-any cline-no"> </span>
|
|
420
418
|
<span class="cline-any cline-neutral"> </span>
|
|
421
419
|
<span class="cline-any cline-neutral"> </span>
|
|
422
420
|
<span class="cline-any cline-neutral"> </span>
|
|
423
421
|
<span class="cline-any cline-neutral"> </span>
|
|
424
|
-
<span class="cline-any cline-
|
|
422
|
+
<span class="cline-any cline-no"> </span>
|
|
425
423
|
<span class="cline-any cline-neutral"> </span>
|
|
426
424
|
<span class="cline-any cline-neutral"> </span>
|
|
427
425
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -458,7 +456,7 @@ import { Col, MultiColumnList, Row, Spinner, Select, Button } from '@folio/strip
|
|
|
458
456
|
|
|
459
457
|
import { Form } from 'react-final-form';
|
|
460
458
|
import SearchField from '../../SearchField';
|
|
461
|
-
import {
|
|
459
|
+
import { useCustProps, useKintIntl } from '../../hooks';
|
|
462
460
|
|
|
463
461
|
import css from '../../../../styles/CustomProperties.css';
|
|
464
462
|
|
|
@@ -477,11 +475,10 @@ const CustomPropertiesLookup = ({
|
|
|
477
475
|
});
|
|
478
476
|
const [selectedContext, setSelectedContext] = useState();
|
|
479
477
|
|
|
480
|
-
const {
|
|
478
|
+
const { custprops, isLoading } = useCustProps({
|
|
481
479
|
endpoint,
|
|
482
480
|
nsValues,
|
|
483
481
|
queryParams,
|
|
484
|
-
returnQueryObject: true,
|
|
485
482
|
ctx: selectedContext,
|
|
486
483
|
options: {
|
|
487
484
|
sort: [
|
|
@@ -562,8 +559,8 @@ const CustomPropertiesLookup = ({
|
|
|
562
559
|
</Col>
|
|
563
560
|
</Row>
|
|
564
561
|
{isLoading ?
|
|
565
|
-
|
|
566
|
-
<MultiColumnList
|
|
562
|
+
<Spinner /> :
|
|
563
|
+
<span class="branch-1 cbranch-no" title="branch not covered" > <MultiColumnList</span>
|
|
567
564
|
columnMapping={{
|
|
568
565
|
'label': kintIntl.formatKintMessage({
|
|
569
566
|
id: 'customProperties.label',
|
|
@@ -592,16 +589,16 @@ const CustomPropertiesLookup = ({
|
|
|
592
589
|
}}
|
|
593
590
|
contentData={custprops}
|
|
594
591
|
formatter={{
|
|
595
|
-
primary:
|
|
596
|
-
if (data?.primary) {
|
|
597
|
-
return (
|
|
592
|
+
primary: <span class="fstat-no" title="function not covered" >da</span>ta => {
|
|
593
|
+
<span class="cstat-no" title="statement not covered" > if (data?.primary) {</span>
|
|
594
|
+
<span class="cstat-no" title="statement not covered" > return (</span>
|
|
598
595
|
kintIntl.formatKintMessage({
|
|
599
596
|
id: 'yes',
|
|
600
597
|
overrideValue: labelOverrides.yes
|
|
601
598
|
})
|
|
602
599
|
);
|
|
603
600
|
} else {
|
|
604
|
-
return (
|
|
601
|
+
<span class="cstat-no" title="statement not covered" > return (</span>
|
|
605
602
|
kintIntl.formatKintMessage({
|
|
606
603
|
id: 'no',
|
|
607
604
|
overrideValue: labelOverrides.no
|
|
@@ -609,13 +606,13 @@ const CustomPropertiesLookup = ({
|
|
|
609
606
|
);
|
|
610
607
|
}
|
|
611
608
|
},
|
|
612
|
-
type:
|
|
613
|
-
kintIntl.formatKintMessage({
|
|
609
|
+
type: <span class="fstat-no" title="function not covered" >da</span>ta => (
|
|
610
|
+
<span class="cstat-no" title="statement not covered" > kintIntl.formatKintMessage({</span>
|
|
614
611
|
id: `customProperties.type.${data?.type}`,
|
|
615
612
|
overrideValue: labelOverrides?.[data?.type]
|
|
616
613
|
})
|
|
617
614
|
),
|
|
618
|
-
category:
|
|
615
|
+
category: <span class="fstat-no" title="function not covered" >da</span>ta => <span class="cstat-no" title="statement not covered" >data?.category?.desc</span>
|
|
619
616
|
}}
|
|
620
617
|
onRowClick={onSelectCustomProperty}
|
|
621
618
|
visibleColumns={['label', 'primary', 'ctx', 'weight', 'type', 'category']}
|
|
@@ -652,7 +649,7 @@ export default CustomPropertiesLookup;
|
|
|
652
649
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
653
650
|
Code coverage generated by
|
|
654
651
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
655
|
-
at 2026-03-
|
|
652
|
+
at 2026-03-18T13:14:53.894Z
|
|
656
653
|
</div>
|
|
657
654
|
<script src="../../prettify.js"></script>
|
|
658
655
|
<script>
|
package/src/artifacts/coverage-jest/CustomProperties/Config/CustomPropertiesSettings.js.html
CHANGED
|
@@ -450,7 +450,9 @@
|
|
|
450
450
|
<a name='L385'></a><a href='#L385'>385</a>
|
|
451
451
|
<a name='L386'></a><a href='#L386'>386</a>
|
|
452
452
|
<a name='L387'></a><a href='#L387'>387</a>
|
|
453
|
-
<a name='L388'></a><a href='#L388'>388</a
|
|
453
|
+
<a name='L388'></a><a href='#L388'>388</a>
|
|
454
|
+
<a name='L389'></a><a href='#L389'>389</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
455
|
+
<span class="cline-any cline-neutral"> </span>
|
|
454
456
|
<span class="cline-any cline-neutral"> </span>
|
|
455
457
|
<span class="cline-any cline-neutral"> </span>
|
|
456
458
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -852,6 +854,7 @@ import CustomPropertiesLookup from './CustomPropertiesLookup';
|
|
|
852
854
|
import CustomPropertyView from './CustomPropertyView';
|
|
853
855
|
import CustomPropertiesForm from './CustomPropertyForm';
|
|
854
856
|
import { useKintIntl, useMutateCustomProperties, useRefdata } from '../../hooks';
|
|
857
|
+
import { CUSTPROPS_QUERY_KEY_BASE } from '../../hooks/useCustProps';
|
|
855
858
|
import { parseErrorResponse } from '../../utils';
|
|
856
859
|
|
|
857
860
|
const EDITING = 'edit';
|
|
@@ -926,7 +929,7 @@ const CustomPropertiesSettings = ({
|
|
|
926
929
|
afterQueryCalls: {
|
|
927
930
|
put: <span class="fstat-no" title="function not covered" >re</span>s => {
|
|
928
931
|
<span class="cstat-no" title="statement not covered" > setMode(VIEWING);</span>
|
|
929
|
-
<span class="cstat-no" title="statement not covered" > queryClient.invalidateQueries(
|
|
932
|
+
<span class="cstat-no" title="statement not covered" > queryClient.invalidateQueries(CUSTPROPS_QUERY_KEY_BASE);</span>
|
|
930
933
|
<span class="cstat-no" title="statement not covered" > setCustomProperty(res);</span>
|
|
931
934
|
<span class="cstat-no" title="statement not covered" > if (afterQueryCalls?.put) {</span>
|
|
932
935
|
<span class="cstat-no" title="statement not covered" > afterQueryCalls.put(res);</span>
|
|
@@ -934,7 +937,7 @@ const CustomPropertiesSettings = ({
|
|
|
934
937
|
},
|
|
935
938
|
post: <span class="fstat-no" title="function not covered" >re</span>s => {
|
|
936
939
|
<span class="cstat-no" title="statement not covered" > setMode(VIEWING);</span>
|
|
937
|
-
<span class="cstat-no" title="statement not covered" > queryClient.invalidateQueries(
|
|
940
|
+
<span class="cstat-no" title="statement not covered" > queryClient.invalidateQueries(CUSTPROPS_QUERY_KEY_BASE);</span>
|
|
938
941
|
<span class="cstat-no" title="statement not covered" > setCustomProperty(res);</span>
|
|
939
942
|
<span class="cstat-no" title="statement not covered" > if (afterQueryCalls?.post) {</span>
|
|
940
943
|
<span class="cstat-no" title="statement not covered" > afterQueryCalls.post(res);</span>
|
|
@@ -942,7 +945,7 @@ const CustomPropertiesSettings = ({
|
|
|
942
945
|
},
|
|
943
946
|
delete: <span class="fstat-no" title="function not covered" >re</span>s => {
|
|
944
947
|
<span class="cstat-no" title="statement not covered" > setMode(VIEWING);</span>
|
|
945
|
-
<span class="cstat-no" title="statement not covered" > queryClient.invalidateQueries(
|
|
948
|
+
<span class="cstat-no" title="statement not covered" > queryClient.invalidateQueries(CUSTPROPS_QUERY_KEY_BASE);</span>
|
|
946
949
|
<span class="cstat-no" title="statement not covered" > setCustomProperty();</span>
|
|
947
950
|
<span class="cstat-no" title="statement not covered" > if (afterQueryCalls?.delete) {</span>
|
|
948
951
|
<span class="cstat-no" title="statement not covered" > afterQueryCalls.delete(res);</span>
|
|
@@ -1231,7 +1234,7 @@ export default CustomPropertiesSettings;
|
|
|
1231
1234
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
1232
1235
|
Code coverage generated by
|
|
1233
1236
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
1234
|
-
at 2026-03-
|
|
1237
|
+
at 2026-03-18T13:14:53.894Z
|
|
1235
1238
|
</div>
|
|
1236
1239
|
<script src="../../prettify.js"></script>
|
|
1237
1240
|
<script>
|
|
@@ -1459,7 +1459,7 @@ export default CustomPropertyForm;
|
|
|
1459
1459
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
1460
1460
|
Code coverage generated by
|
|
1461
1461
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
1462
|
-
at 2026-03-
|
|
1462
|
+
at 2026-03-18T13:14:53.894Z
|
|
1463
1463
|
</div>
|
|
1464
1464
|
<script src="../../prettify.js"></script>
|
|
1465
1465
|
<script>
|
|
@@ -718,7 +718,7 @@ export default CustomPropertyView;
|
|
|
718
718
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
719
719
|
Code coverage generated by
|
|
720
720
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
721
|
-
at 2026-03-
|
|
721
|
+
at 2026-03-18T13:14:53.894Z
|
|
722
722
|
</div>
|
|
723
723
|
<script src="../../prettify.js"></script>
|
|
724
724
|
<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">48.21% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>
|
|
28
|
+
<span class='fraction'>54/112</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
|
-
<span class="strong">
|
|
33
|
+
<span class="strong">46.72% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>
|
|
35
|
+
<span class='fraction'>57/122</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
<div class='fl pad1y space-right2'>
|
|
40
|
-
<span class="strong">
|
|
40
|
+
<span class="strong">30.55% </span>
|
|
41
41
|
<span class="quiet">Functions</span>
|
|
42
|
-
<span class='fraction'>
|
|
42
|
+
<span class='fraction'>11/36</span>
|
|
43
43
|
</div>
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
|
-
<span class="strong">
|
|
47
|
+
<span class="strong">47.7% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>
|
|
49
|
+
<span class='fraction'>52/109</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 low'></div>
|
|
65
65
|
<div class="pad1">
|
|
66
66
|
<table class="coverage-summary">
|
|
67
67
|
<thead>
|
|
@@ -80,17 +80,17 @@
|
|
|
80
80
|
</thead>
|
|
81
81
|
<tbody><tr>
|
|
82
82
|
<td class="file medium" data-value="CustomPropertiesLookup.js"><a href="CustomPropertiesLookup.js.html">CustomPropertiesLookup.js</a></td>
|
|
83
|
-
<td data-value="
|
|
84
|
-
<div class="chart"><div class="cover-fill" style="width:
|
|
83
|
+
<td data-value="52.63" class="pic medium">
|
|
84
|
+
<div class="chart"><div class="cover-fill" style="width: 52%"></div><div class="cover-empty" style="width: 48%"></div></div>
|
|
85
85
|
</td>
|
|
86
|
-
<td data-value="
|
|
87
|
-
<td data-value="19" class="abs medium">
|
|
88
|
-
<td data-value="
|
|
89
|
-
<td data-value="5" class="abs
|
|
90
|
-
<td data-value="
|
|
91
|
-
<td data-value="9" class="abs
|
|
92
|
-
<td data-value="
|
|
93
|
-
<td data-value="19" class="abs medium">
|
|
86
|
+
<td data-value="52.63" class="pct medium">52.63%</td>
|
|
87
|
+
<td data-value="19" class="abs medium">10/19</td>
|
|
88
|
+
<td data-value="40" class="pct low">40%</td>
|
|
89
|
+
<td data-value="5" class="abs low">2/5</td>
|
|
90
|
+
<td data-value="22.22" class="pct low">22.22%</td>
|
|
91
|
+
<td data-value="9" class="abs low">2/9</td>
|
|
92
|
+
<td data-value="52.63" class="pct medium">52.63%</td>
|
|
93
|
+
<td data-value="19" class="abs medium">10/19</td>
|
|
94
94
|
</tr>
|
|
95
95
|
|
|
96
96
|
<tr>
|
|
@@ -161,7 +161,7 @@
|
|
|
161
161
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
162
162
|
Code coverage generated by
|
|
163
163
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
164
|
-
at 2026-03-
|
|
164
|
+
at 2026-03-18T13:14:53.894Z
|
|
165
165
|
</div>
|
|
166
166
|
<script src="../../prettify.js"></script>
|
|
167
167
|
<script>
|
|
@@ -82,7 +82,7 @@ export { default as CustomPropertyForm } from './CustomPropertyForm';
|
|
|
82
82
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
83
83
|
Code coverage generated by
|
|
84
84
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
85
|
-
at 2026-03-
|
|
85
|
+
at 2026-03-18T13:14:53.894Z
|
|
86
86
|
</div>
|
|
87
87
|
<script src="../../prettify.js"></script>
|
|
88
88
|
<script>
|
|
@@ -193,7 +193,7 @@ export default CustomPropertiesEdit;
|
|
|
193
193
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
194
194
|
Code coverage generated by
|
|
195
195
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
196
|
-
at 2026-03-
|
|
196
|
+
at 2026-03-18T13:14:53.894Z
|
|
197
197
|
</div>
|
|
198
198
|
<script src="../../prettify.js"></script>
|
|
199
199
|
<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">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-18T13:14:53.894Z
|
|
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-18T13:14:53.894Z
|
|
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-18T13:14:53.894Z
|
|
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-18T13:14:53.894Z
|
|
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-18T13:14:53.894Z
|
|
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-18T13:14:53.894Z
|
|
89
89
|
</div>
|
|
90
90
|
<script src="../../prettify.js"></script>
|
|
91
91
|
<script>
|