@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">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-23T17:05:11.570Z
|
|
656
653
|
</div>
|
|
657
654
|
<script src="../../prettify.js"></script>
|
|
658
655
|
<script>
|
package/src/artifacts/coverage-jest/CustomProperties/Config/CustomPropertiesSettings.js.html
CHANGED
|
@@ -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">30.3% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>20/
|
|
28
|
+
<span class='fraction'>20/66</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
|
-
<span class="strong">
|
|
33
|
+
<span class="strong">34.69% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>17/
|
|
35
|
+
<span class='fraction'>17/49</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
<div class='fl pad1y space-right2'>
|
|
40
|
-
<span class="strong">
|
|
40
|
+
<span class="strong">10.52% </span>
|
|
41
41
|
<span class="quiet">Functions</span>
|
|
42
|
-
<span class='fraction'>2/
|
|
42
|
+
<span class='fraction'>2/19</span>
|
|
43
43
|
</div>
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
|
-
<span class="strong">
|
|
47
|
+
<span class="strong">30.3% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>20/
|
|
49
|
+
<span class='fraction'>20/66</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -450,7 +450,51 @@
|
|
|
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>
|
|
455
|
+
<a name='L390'></a><a href='#L390'>390</a>
|
|
456
|
+
<a name='L391'></a><a href='#L391'>391</a>
|
|
457
|
+
<a name='L392'></a><a href='#L392'>392</a>
|
|
458
|
+
<a name='L393'></a><a href='#L393'>393</a>
|
|
459
|
+
<a name='L394'></a><a href='#L394'>394</a>
|
|
460
|
+
<a name='L395'></a><a href='#L395'>395</a>
|
|
461
|
+
<a name='L396'></a><a href='#L396'>396</a>
|
|
462
|
+
<a name='L397'></a><a href='#L397'>397</a>
|
|
463
|
+
<a name='L398'></a><a href='#L398'>398</a>
|
|
464
|
+
<a name='L399'></a><a href='#L399'>399</a>
|
|
465
|
+
<a name='L400'></a><a href='#L400'>400</a>
|
|
466
|
+
<a name='L401'></a><a href='#L401'>401</a>
|
|
467
|
+
<a name='L402'></a><a href='#L402'>402</a>
|
|
468
|
+
<a name='L403'></a><a href='#L403'>403</a>
|
|
469
|
+
<a name='L404'></a><a href='#L404'>404</a>
|
|
470
|
+
<a name='L405'></a><a href='#L405'>405</a>
|
|
471
|
+
<a name='L406'></a><a href='#L406'>406</a>
|
|
472
|
+
<a name='L407'></a><a href='#L407'>407</a>
|
|
473
|
+
<a name='L408'></a><a href='#L408'>408</a>
|
|
474
|
+
<a name='L409'></a><a href='#L409'>409</a>
|
|
475
|
+
<a name='L410'></a><a href='#L410'>410</a>
|
|
476
|
+
<a name='L411'></a><a href='#L411'>411</a>
|
|
477
|
+
<a name='L412'></a><a href='#L412'>412</a>
|
|
478
|
+
<a name='L413'></a><a href='#L413'>413</a>
|
|
479
|
+
<a name='L414'></a><a href='#L414'>414</a>
|
|
480
|
+
<a name='L415'></a><a href='#L415'>415</a>
|
|
481
|
+
<a name='L416'></a><a href='#L416'>416</a>
|
|
482
|
+
<a name='L417'></a><a href='#L417'>417</a>
|
|
483
|
+
<a name='L418'></a><a href='#L418'>418</a>
|
|
484
|
+
<a name='L419'></a><a href='#L419'>419</a>
|
|
485
|
+
<a name='L420'></a><a href='#L420'>420</a>
|
|
486
|
+
<a name='L421'></a><a href='#L421'>421</a>
|
|
487
|
+
<a name='L422'></a><a href='#L422'>422</a>
|
|
488
|
+
<a name='L423'></a><a href='#L423'>423</a>
|
|
489
|
+
<a name='L424'></a><a href='#L424'>424</a>
|
|
490
|
+
<a name='L425'></a><a href='#L425'>425</a>
|
|
491
|
+
<a name='L426'></a><a href='#L426'>426</a>
|
|
492
|
+
<a name='L427'></a><a href='#L427'>427</a>
|
|
493
|
+
<a name='L428'></a><a href='#L428'>428</a>
|
|
494
|
+
<a name='L429'></a><a href='#L429'>429</a>
|
|
495
|
+
<a name='L430'></a><a href='#L430'>430</a>
|
|
496
|
+
<a name='L431'></a><a href='#L431'>431</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
497
|
+
<span class="cline-any cline-neutral"> </span>
|
|
454
498
|
<span class="cline-any cline-neutral"> </span>
|
|
455
499
|
<span class="cline-any cline-neutral"> </span>
|
|
456
500
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -582,6 +626,48 @@
|
|
|
582
626
|
<span class="cline-any cline-neutral"> </span>
|
|
583
627
|
<span class="cline-any cline-neutral"> </span>
|
|
584
628
|
<span class="cline-any cline-neutral"> </span>
|
|
629
|
+
<span class="cline-any cline-no"> </span>
|
|
630
|
+
<span class="cline-any cline-neutral"> </span>
|
|
631
|
+
<span class="cline-any cline-neutral"> </span>
|
|
632
|
+
<span class="cline-any cline-no"> </span>
|
|
633
|
+
<span class="cline-any cline-neutral"> </span>
|
|
634
|
+
<span class="cline-any cline-no"> </span>
|
|
635
|
+
<span class="cline-any cline-neutral"> </span>
|
|
636
|
+
<span class="cline-any cline-neutral"> </span>
|
|
637
|
+
<span class="cline-any cline-neutral"> </span>
|
|
638
|
+
<span class="cline-any cline-neutral"> </span>
|
|
639
|
+
<span class="cline-any cline-neutral"> </span>
|
|
640
|
+
<span class="cline-any cline-neutral"> </span>
|
|
641
|
+
<span class="cline-any cline-neutral"> </span>
|
|
642
|
+
<span class="cline-any cline-neutral"> </span>
|
|
643
|
+
<span class="cline-any cline-neutral"> </span>
|
|
644
|
+
<span class="cline-any cline-neutral"> </span>
|
|
645
|
+
<span class="cline-any cline-neutral"> </span>
|
|
646
|
+
<span class="cline-any cline-neutral"> </span>
|
|
647
|
+
<span class="cline-any cline-neutral"> </span>
|
|
648
|
+
<span class="cline-any cline-neutral"> </span>
|
|
649
|
+
<span class="cline-any cline-no"> </span>
|
|
650
|
+
<span class="cline-any cline-neutral"> </span>
|
|
651
|
+
<span class="cline-any cline-neutral"> </span>
|
|
652
|
+
<span class="cline-any cline-no"> </span>
|
|
653
|
+
<span class="cline-any cline-neutral"> </span>
|
|
654
|
+
<span class="cline-any cline-no"> </span>
|
|
655
|
+
<span class="cline-any cline-neutral"> </span>
|
|
656
|
+
<span class="cline-any cline-neutral"> </span>
|
|
657
|
+
<span class="cline-any cline-neutral"> </span>
|
|
658
|
+
<span class="cline-any cline-neutral"> </span>
|
|
659
|
+
<span class="cline-any cline-neutral"> </span>
|
|
660
|
+
<span class="cline-any cline-neutral"> </span>
|
|
661
|
+
<span class="cline-any cline-neutral"> </span>
|
|
662
|
+
<span class="cline-any cline-neutral"> </span>
|
|
663
|
+
<span class="cline-any cline-neutral"> </span>
|
|
664
|
+
<span class="cline-any cline-neutral"> </span>
|
|
665
|
+
<span class="cline-any cline-neutral"> </span>
|
|
666
|
+
<span class="cline-any cline-neutral"> </span>
|
|
667
|
+
<span class="cline-any cline-neutral"> </span>
|
|
668
|
+
<span class="cline-any cline-neutral"> </span>
|
|
669
|
+
<span class="cline-any cline-no"> </span>
|
|
670
|
+
<span class="cline-any cline-neutral"> </span>
|
|
585
671
|
<span class="cline-any cline-neutral"> </span>
|
|
586
672
|
<span class="cline-any cline-neutral"> </span>
|
|
587
673
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -852,6 +938,7 @@ import CustomPropertiesLookup from './CustomPropertiesLookup';
|
|
|
852
938
|
import CustomPropertyView from './CustomPropertyView';
|
|
853
939
|
import CustomPropertiesForm from './CustomPropertyForm';
|
|
854
940
|
import { useKintIntl, useMutateCustomProperties, useRefdata } from '../../hooks';
|
|
941
|
+
import { CUSTPROPS_QUERY_KEY_BASE } from '../../hooks/useCustProps';
|
|
855
942
|
import { parseErrorResponse } from '../../utils';
|
|
856
943
|
|
|
857
944
|
const EDITING = 'edit';
|
|
@@ -926,7 +1013,7 @@ const CustomPropertiesSettings = ({
|
|
|
926
1013
|
afterQueryCalls: {
|
|
927
1014
|
put: <span class="fstat-no" title="function not covered" >re</span>s => {
|
|
928
1015
|
<span class="cstat-no" title="statement not covered" > setMode(VIEWING);</span>
|
|
929
|
-
<span class="cstat-no" title="statement not covered" > queryClient.invalidateQueries(
|
|
1016
|
+
<span class="cstat-no" title="statement not covered" > queryClient.invalidateQueries(CUSTPROPS_QUERY_KEY_BASE);</span>
|
|
930
1017
|
<span class="cstat-no" title="statement not covered" > setCustomProperty(res);</span>
|
|
931
1018
|
<span class="cstat-no" title="statement not covered" > if (afterQueryCalls?.put) {</span>
|
|
932
1019
|
<span class="cstat-no" title="statement not covered" > afterQueryCalls.put(res);</span>
|
|
@@ -934,7 +1021,7 @@ const CustomPropertiesSettings = ({
|
|
|
934
1021
|
},
|
|
935
1022
|
post: <span class="fstat-no" title="function not covered" >re</span>s => {
|
|
936
1023
|
<span class="cstat-no" title="statement not covered" > setMode(VIEWING);</span>
|
|
937
|
-
<span class="cstat-no" title="statement not covered" > queryClient.invalidateQueries(
|
|
1024
|
+
<span class="cstat-no" title="statement not covered" > queryClient.invalidateQueries(CUSTPROPS_QUERY_KEY_BASE);</span>
|
|
938
1025
|
<span class="cstat-no" title="statement not covered" > setCustomProperty(res);</span>
|
|
939
1026
|
<span class="cstat-no" title="statement not covered" > if (afterQueryCalls?.post) {</span>
|
|
940
1027
|
<span class="cstat-no" title="statement not covered" > afterQueryCalls.post(res);</span>
|
|
@@ -942,7 +1029,7 @@ const CustomPropertiesSettings = ({
|
|
|
942
1029
|
},
|
|
943
1030
|
delete: <span class="fstat-no" title="function not covered" >re</span>s => {
|
|
944
1031
|
<span class="cstat-no" title="statement not covered" > setMode(VIEWING);</span>
|
|
945
|
-
<span class="cstat-no" title="statement not covered" > queryClient.invalidateQueries(
|
|
1032
|
+
<span class="cstat-no" title="statement not covered" > queryClient.invalidateQueries(CUSTPROPS_QUERY_KEY_BASE);</span>
|
|
946
1033
|
<span class="cstat-no" title="statement not covered" > setCustomProperty();</span>
|
|
947
1034
|
<span class="cstat-no" title="statement not covered" > if (afterQueryCalls?.delete) {</span>
|
|
948
1035
|
<span class="cstat-no" title="statement not covered" > afterQueryCalls.delete(res);</span>
|
|
@@ -952,6 +1039,45 @@ const CustomPropertiesSettings = ({
|
|
|
952
1039
|
catchQueryCalls: {
|
|
953
1040
|
// Default delete behaviour is to fire a callout, either with kint-components default message
|
|
954
1041
|
// or one provided in labelOverrides, which is passed the error message and customProperty in question
|
|
1042
|
+
post: <span class="fstat-no" title="function not covered" >as</span>ync (err) => {
|
|
1043
|
+
const errorResp = <span class="cstat-no" title="statement not covered" >await parseErrorResponse(err.response);</span>
|
|
1044
|
+
|
|
1045
|
+
<span class="cstat-no" title="statement not covered" > callout.sendCallout({</span>
|
|
1046
|
+
message: kintIntl.formatKintMessage(
|
|
1047
|
+
{
|
|
1048
|
+
id: 'customProperties.config.create.errorMessage',
|
|
1049
|
+
overrideValue: labelOverrides?.createError
|
|
1050
|
+
},
|
|
1051
|
+
{
|
|
1052
|
+
error: errorResp?.message,
|
|
1053
|
+
}
|
|
1054
|
+
),
|
|
1055
|
+
type: 'error',
|
|
1056
|
+
timeout: 0
|
|
1057
|
+
});
|
|
1058
|
+
|
|
1059
|
+
<span class="cstat-no" title="statement not covered" > throw err;</span>
|
|
1060
|
+
},
|
|
1061
|
+
put: <span class="fstat-no" title="function not covered" >as</span>ync (err) => {
|
|
1062
|
+
const errorResp = <span class="cstat-no" title="statement not covered" >await parseErrorResponse(err.response);</span>
|
|
1063
|
+
|
|
1064
|
+
<span class="cstat-no" title="statement not covered" > callout.sendCallout({</span>
|
|
1065
|
+
message: kintIntl.formatKintMessage(
|
|
1066
|
+
{
|
|
1067
|
+
id: 'customProperties.config.edit.errorMessage',
|
|
1068
|
+
overrideValue: labelOverrides?.editError
|
|
1069
|
+
},
|
|
1070
|
+
{
|
|
1071
|
+
error: errorResp?.message,
|
|
1072
|
+
label: customProperty?.label ?? customProperty?.name,
|
|
1073
|
+
}
|
|
1074
|
+
),
|
|
1075
|
+
type: 'error',
|
|
1076
|
+
timeout: 0
|
|
1077
|
+
});
|
|
1078
|
+
|
|
1079
|
+
<span class="cstat-no" title="statement not covered" > throw err;</span>
|
|
1080
|
+
},
|
|
955
1081
|
delete: <span class="fstat-no" title="function not covered" >as</span>ync (err) => {
|
|
956
1082
|
const errorResp = <span class="cstat-no" title="statement not covered" >await parseErrorResponse(err.response);</span>
|
|
957
1083
|
|
|
@@ -967,7 +1093,10 @@ const CustomPropertiesSettings = ({
|
|
|
967
1093
|
}
|
|
968
1094
|
),
|
|
969
1095
|
type: 'error',
|
|
1096
|
+
timeout: 0
|
|
970
1097
|
});
|
|
1098
|
+
|
|
1099
|
+
<span class="cstat-no" title="statement not covered" > throw err;</span>
|
|
971
1100
|
},
|
|
972
1101
|
...catchQueryCalls // Override defaults here
|
|
973
1102
|
},
|
|
@@ -1231,7 +1360,7 @@ export default CustomPropertiesSettings;
|
|
|
1231
1360
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
1232
1361
|
Code coverage generated by
|
|
1233
1362
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
1234
|
-
at 2026-03-
|
|
1363
|
+
at 2026-03-23T17:05:11.570Z
|
|
1235
1364
|
</div>
|
|
1236
1365
|
<script src="../../prettify.js"></script>
|
|
1237
1366
|
<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-23T17:05:11.570Z
|
|
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-23T17:05:11.570Z
|
|
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">45.37% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>
|
|
28
|
+
<span class='fraction'>54/119</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
|
-
<span class="strong">
|
|
33
|
+
<span class="strong">45.96% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>
|
|
35
|
+
<span class='fraction'>57/124</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
<div class='fl pad1y space-right2'>
|
|
40
|
-
<span class="strong">
|
|
40
|
+
<span class="strong">28.94% </span>
|
|
41
41
|
<span class="quiet">Functions</span>
|
|
42
|
-
<span class='fraction'>
|
|
42
|
+
<span class='fraction'>11/38</span>
|
|
43
43
|
</div>
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
|
-
<span class="strong">
|
|
47
|
+
<span class="strong">44.82% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>
|
|
49
|
+
<span class='fraction'>52/116</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,32 +80,32 @@
|
|
|
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>
|
|
97
97
|
<td class="file low" data-value="CustomPropertiesSettings.js"><a href="CustomPropertiesSettings.js.html">CustomPropertiesSettings.js</a></td>
|
|
98
|
-
<td data-value="
|
|
99
|
-
<div class="chart"><div class="cover-fill" style="width:
|
|
98
|
+
<td data-value="30.3" class="pic low">
|
|
99
|
+
<div class="chart"><div class="cover-fill" style="width: 30%"></div><div class="cover-empty" style="width: 70%"></div></div>
|
|
100
100
|
</td>
|
|
101
|
-
<td data-value="
|
|
102
|
-
<td data-value="
|
|
103
|
-
<td data-value="
|
|
104
|
-
<td data-value="
|
|
105
|
-
<td data-value="
|
|
106
|
-
<td data-value="
|
|
107
|
-
<td data-value="
|
|
108
|
-
<td data-value="
|
|
101
|
+
<td data-value="30.3" class="pct low">30.3%</td>
|
|
102
|
+
<td data-value="66" class="abs low">20/66</td>
|
|
103
|
+
<td data-value="34.69" class="pct low">34.69%</td>
|
|
104
|
+
<td data-value="49" class="abs low">17/49</td>
|
|
105
|
+
<td data-value="10.52" class="pct low">10.52%</td>
|
|
106
|
+
<td data-value="19" class="abs low">2/19</td>
|
|
107
|
+
<td data-value="30.3" class="pct low">30.3%</td>
|
|
108
|
+
<td data-value="66" class="abs low">20/66</td>
|
|
109
109
|
</tr>
|
|
110
110
|
|
|
111
111
|
<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-23T17:05:11.570Z
|
|
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-23T17:05:11.570Z
|
|
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-23T17:05:11.570Z
|
|
197
197
|
</div>
|
|
198
198
|
<script src="../../prettify.js"></script>
|
|
199
199
|
<script>
|