@k-int/stripes-kint-components 5.31.2 → 5.31.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterField.js +1 -0
- package/es/lib/CustomProperties/Filter/CustomPropertiesRule.js +3 -1
- package/es/lib/CustomProperties/View/CustomPropertiesViewCtx.js +1 -1
- package/es/lib/ResponsiveButtonGroup/ResponsiveButtonGroup.js +5 -1
- package/es/lib/SASQLookupComponent/SASQLookupComponent.test.js +540 -0
- package/es/lib/SASQLookupComponent/TableBody/TableBody.js +9 -5
- package/es/lib/SASQLookupComponent/TableBody/TableBody.test.js +253 -0
- package/es/lib/SASQLookupComponent/__mocks__/SASQLookupComponent.js +33 -0
- package/es/lib/SASQLookupComponent/__mocks__/SASQLookupComponentRender.js +24 -0
- package/es/lib/SASQLookupComponent/__mocks__/index.js +20 -0
- package/es/lib/SASQRoute/SASQRoute.test.js +267 -0
- package/es/lib/SASQViewComponent/SASQViewComponent.test.js +104 -0
- package/es/lib/SASQViewComponent/__mocks__/SASQViewComponent.js +19 -0
- package/es/lib/SASQViewComponent/__mocks__/SASQViewComponentRender.js +19 -0
- package/es/lib/SASQViewComponent/__mocks__/index.js +20 -0
- package/es/lib/Settings/EditableSettingsList/EditableSettingsListFieldArray/EditableSettingsListFieldArray.js +1 -1
- package/package.json +5 -1
- package/src/artifacts/coverage-jest/ActionList/ActionList.js.html +4 -4
- package/src/artifacts/coverage-jest/ActionList/ActionListFieldArray.js.html +10 -10
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- package/src/artifacts/coverage-jest/CustomProperties/Config/CustomPropertiesSettings.js.html +6 -6
- package/src/artifacts/coverage-jest/CustomProperties/Config/CustomPropertyForm.js.html +3 -3
- package/src/artifacts/coverage-jest/CustomProperties/Config/CustomPropertyView.js.html +3 -3
- package/src/artifacts/coverage-jest/CustomProperties/Config/index.html +1 -1
- package/src/artifacts/coverage-jest/CustomProperties/Config/index.js.html +1 -1
- package/src/artifacts/coverage-jest/CustomProperties/Edit/CustomPropertiesEdit.js.html +3 -3
- package/src/artifacts/coverage-jest/CustomProperties/Edit/CustomPropertiesEditCtx.js.html +3 -3
- package/src/artifacts/coverage-jest/CustomProperties/Edit/CustomPropertiesListField.js.html +5 -5
- package/src/artifacts/coverage-jest/CustomProperties/Edit/CustomPropertyField.js.html +3 -3
- package/src/artifacts/coverage-jest/CustomProperties/Edit/CustomPropertyFormCard.js.html +3 -3
- package/src/artifacts/coverage-jest/CustomProperties/Edit/index.html +1 -1
- 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 +3 -3
- package/src/artifacts/coverage-jest/CustomProperties/Filter/CustomPropertiesFilterField.js.html +7 -4
- package/src/artifacts/coverage-jest/CustomProperties/Filter/CustomPropertiesFilterFieldArray.js.html +3 -3
- package/src/artifacts/coverage-jest/CustomProperties/Filter/CustomPropertiesFilterForm.js.html +3 -3
- package/src/artifacts/coverage-jest/CustomProperties/Filter/CustomPropertiesRule.js.html +11 -5
- package/src/artifacts/coverage-jest/CustomProperties/Filter/index.html +1 -1
- 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 +3 -3
- package/src/artifacts/coverage-jest/CustomProperties/Filter/useParseActiveFilterStrings.js.html +2 -2
- package/src/artifacts/coverage-jest/CustomProperties/Filter/useValueProps.js.html +3 -3
- package/src/artifacts/coverage-jest/CustomProperties/View/CustomPropertiesView.js.html +3 -3
- package/src/artifacts/coverage-jest/CustomProperties/View/CustomPropertiesViewCtx.js.html +3 -3
- package/src/artifacts/coverage-jest/CustomProperties/View/CustomPropertyCard.js.html +3 -3
- package/src/artifacts/coverage-jest/CustomProperties/View/index.html +1 -1
- 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 +3 -3
- 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 +2 -2
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +30 -15
- package/src/artifacts/coverage-jest/ResponsiveButtonGroup/index.html +15 -15
- package/src/artifacts/coverage-jest/ResponsiveButtonGroup/index.js.html +1 -1
- package/src/artifacts/coverage-jest/ResponsiveButtonGroup/useResponsiveButtonGroupSizing.js.html +2 -2
- package/src/artifacts/coverage-jest/RichSelect/RichSelect.js.html +3 -3
- 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 +2 -2
- package/src/artifacts/coverage-jest/SASQLookupComponent/SASQLookupComponent.js.html +146 -149
- package/src/artifacts/coverage-jest/SASQLookupComponent/TableBody/TableBody.js.html +74 -65
- package/src/artifacts/coverage-jest/SASQLookupComponent/TableBody/index.html +21 -21
- package/src/artifacts/coverage-jest/SASQLookupComponent/TableBody/index.js.html +1 -1
- package/src/artifacts/coverage-jest/SASQLookupComponent/index.html +21 -21
- package/src/artifacts/coverage-jest/SASQLookupComponent/index.js.html +1 -1
- package/src/artifacts/coverage-jest/SASQRoute/SASQRoute.js.html +43 -43
- package/src/artifacts/coverage-jest/SASQRoute/index.html +21 -21
- package/src/artifacts/coverage-jest/SASQRoute/index.js.html +1 -1
- package/src/artifacts/coverage-jest/SASQViewComponent/SASQViewComponent.js.html +42 -42
- package/src/artifacts/coverage-jest/SASQViewComponent/index.html +21 -21
- package/src/artifacts/coverage-jest/SASQViewComponent/index.js.html +1 -1
- package/src/artifacts/coverage-jest/SearchField/SearchField.js.html +4 -4
- 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 +3 -3
- 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 +4 -4
- 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 +4 -4
- 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 +3 -3
- package/src/artifacts/coverage-jest/Settings/EditableSettingsList/EditableSettingsListFieldArray/EditableSettingsListFieldArray.js.html +5 -5
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +4 -4
- 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 +3 -3
- package/src/artifacts/coverage-jest/Settings/SettingPage/SettingPagePane/SettingPagePane.js.html +3 -3
- 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/SettingsFormContainer/SettingsFormContainer.js.html +3 -3
- 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 +3 -3
- package/src/artifacts/coverage-jest/Settings/StaticSettingsField/StaticSettingsFieldComponent/StaticSettingsFieldComponent.js.html +2 -2
- 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 +5 -5
- package/src/artifacts/coverage-jest/Settings/contexts/SettingsContext.js.html +2 -2
- 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 +2 -2
- 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 +2 -2
- package/src/artifacts/coverage-jest/Settings/hooks/staticSettingsPages/useStaticSettingsSection.js.html +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +3 -3
- 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 +2 -2
- package/src/artifacts/coverage-jest/Tags/hooks/useTagsEnabled.js.html +8 -8
- 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 +5 -5
- package/src/artifacts/coverage-jest/Typedown/Typedown.js.html +3 -3
- 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 +712 -702
- package/src/artifacts/coverage-jest/constants/comparators.js.html +1 -1
- package/src/artifacts/coverage-jest/constants/customProperties.js.html +12 -12
- package/src/artifacts/coverage-jest/constants/endpoints.js.html +4 -4
- package/src/artifacts/coverage-jest/constants/eventCodes.js.html +4 -4
- package/src/artifacts/coverage-jest/constants/index.html +1 -1
- package/src/artifacts/coverage-jest/constants/pagination.js.html +6 -6
- package/src/artifacts/coverage-jest/hooks/index.html +51 -51
- package/src/artifacts/coverage-jest/hooks/index.js.html +1 -1
- 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 +8 -8
- 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 +12 -12
- 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 +10 -10
- 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 +2 -2
- package/src/artifacts/coverage-jest/hooks/typedownHooks/useTypedownData.js.html +2 -2
- package/src/artifacts/coverage-jest/hooks/typedownHooks/useTypedownToggle.js.html +2 -2
- package/src/artifacts/coverage-jest/hooks/useActionListRef.js.html +2 -2
- package/src/artifacts/coverage-jest/hooks/useActiveElement.js.html +2 -2
- package/src/artifacts/coverage-jest/hooks/useCustomProperties.js.html +3 -3
- package/src/artifacts/coverage-jest/hooks/useHelperApp.js.html +2 -2
- 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 +2 -2
- package/src/artifacts/coverage-jest/hooks/useKiwtFieldArray.js.html +2 -2
- package/src/artifacts/coverage-jest/hooks/useKiwtSASQuery.js.html +48 -48
- package/src/artifacts/coverage-jest/hooks/useLocalPageStore.js.html +3 -3
- package/src/artifacts/coverage-jest/hooks/useLocalStorageState.js.html +22 -22
- package/src/artifacts/coverage-jest/hooks/useModConfigEntries.js.html +3 -3
- 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 +2 -2
- package/src/artifacts/coverage-jest/hooks/useMutateGeneric/index.html +1 -1
- package/src/artifacts/coverage-jest/hooks/useMutateGeneric/index.js.html +5 -2
- package/src/artifacts/coverage-jest/hooks/useMutateGeneric/useMutateGeneric.js.html +2 -2
- package/src/artifacts/coverage-jest/hooks/useMutateModConfigEntry.js.html +2 -2
- 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 +2 -2
- 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 +2 -2
- package/src/artifacts/coverage-jest/hooks/usePrevNextPagination.js.html +68 -68
- package/src/artifacts/coverage-jest/hooks/useQIndex.js.html +28 -28
- package/src/artifacts/coverage-jest/hooks/useRefdata.js.html +3 -3
- package/src/artifacts/coverage-jest/hooks/useSASQQueryMeta.js.html +2 -2
- 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 +2 -2
- package/src/artifacts/coverage-jest/hooks/useTemplates.js.html +2 -2
- package/src/artifacts/coverage-jest/index.html +91 -91
- package/src/artifacts/coverage-jest/utils/buildUrl.js.html +34 -34
- package/src/artifacts/coverage-jest/utils/filterParsers/deparseKiwtQueryFilters.js.html +3 -3
- 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 +3 -3
- package/src/artifacts/coverage-jest/utils/filterParsers/parseKiwtQueryGroups.js.html +2 -2
- package/src/artifacts/coverage-jest/utils/filterParsers/parseKiwtQueryString.js.html +5 -5
- package/src/artifacts/coverage-jest/utils/generateKiwtQuery.js.html +7 -7
- package/src/artifacts/coverage-jest/utils/generateKiwtQueryParams/generateKiwtQueryParams.js.html +67 -67
- package/src/artifacts/coverage-jest/utils/generateKiwtQueryParams/index.html +21 -21
- package/src/artifacts/coverage-jest/utils/generateKiwtQueryParams/index.js.html +1 -1
- package/src/artifacts/coverage-jest/utils/groupCustomPropertiesByCtx.js.html +2 -2
- package/src/artifacts/coverage-jest/utils/highlightString.js.html +3 -3
- package/src/artifacts/coverage-jest/utils/index.html +22 -22
- package/src/artifacts/coverage-jest/utils/index.js.html +1 -1
- package/src/artifacts/coverage-jest/utils/matchString.js.html +2 -2
- package/src/artifacts/coverage-jest/utils/modConfigEntriesQueryKey.js.html +2 -2
- package/src/artifacts/coverage-jest/utils/parseErrorResponse.js.html +2 -2
- package/src/artifacts/coverage-jest/utils/parseModConfigEntry.js.html +2 -2
- 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 +2 -2
- package/src/artifacts/coverage-jest/utils/selectorSafe.js.html +2 -2
- package/src/artifacts/coverage-jest/utils/sortByLabel.js.html +2 -2
- package/src/artifacts/coverage-jest/utils/toCamelCase.js.html +2 -2
- package/src/artifacts/coverage-jest/utils/typedownQueryKey.js.html +2 -2
- 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 +8 -8
- package/src/lib/CustomProperties/Filter/CustomPropertiesFilterField.js +1 -0
- package/src/lib/CustomProperties/Filter/CustomPropertiesRule.js +2 -0
- package/src/lib/ResponsiveButtonGroup/ResponsiveButtonGroup.js +7 -2
- package/src/lib/SASQLookupComponent/SASQLookupComponent.js +3 -4
- package/src/lib/SASQLookupComponent/SASQLookupComponent.test.js +495 -0
- package/src/lib/SASQLookupComponent/TableBody/TableBody.js +6 -3
- package/src/lib/SASQLookupComponent/TableBody/TableBody.test.js +247 -0
- package/src/lib/SASQLookupComponent/__mocks__/SASQLookupComponent.js +31 -0
- package/src/lib/SASQLookupComponent/__mocks__/SASQLookupComponentRender.js +20 -0
- package/src/lib/SASQLookupComponent/__mocks__/index.js +2 -0
- package/src/lib/SASQRoute/SASQRoute.test.js +281 -0
- package/src/lib/SASQViewComponent/SASQViewComponent.test.js +114 -0
- package/src/lib/SASQViewComponent/__mocks__/SASQViewComponent.js +13 -0
- package/src/lib/SASQViewComponent/__mocks__/SASQViewComponentRender.js +17 -0
- package/src/lib/SASQViewComponent/__mocks__/index.js +2 -0
- package/src/lib/Settings/EditableSettingsList/EditableSettingsListFieldArray/EditableSettingsListFieldArray.js +1 -1
- package/src/lib/hooks/useMutateGeneric/index.js +1 -1
- package/test/helpers/test-implementor-translations.json +2 -1
- package/test/helpers/translationsProperties.js +1 -1
- package/test/jest/setupTests.js +1 -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">98.33% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>
|
|
28
|
+
<span class='fraction'>59/60</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
|
-
<span class="strong">
|
|
33
|
+
<span class="strong">88.23% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>
|
|
35
|
+
<span class='fraction'>60/68</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
<div class='fl pad1y space-right2'>
|
|
40
|
-
<span class="strong">
|
|
40
|
+
<span class="strong">100% </span>
|
|
41
41
|
<span class="quiet">Functions</span>
|
|
42
|
-
<span class='fraction'>
|
|
42
|
+
<span class='fraction'>18/18</span>
|
|
43
43
|
</div>
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
|
-
<span class="strong">
|
|
47
|
+
<span class="strong">98.27% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>
|
|
49
|
+
<span class='fraction'>57/58</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 high'></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>
|
|
@@ -501,8 +501,7 @@
|
|
|
501
501
|
<a name='L436'></a><a href='#L436'>436</a>
|
|
502
502
|
<a name='L437'></a><a href='#L437'>437</a>
|
|
503
503
|
<a name='L438'></a><a href='#L438'>438</a>
|
|
504
|
-
<a name='L439'></a><a href='#L439'>439</a>
|
|
505
|
-
<a name='L440'></a><a href='#L440'>440</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
504
|
+
<a name='L439'></a><a href='#L439'>439</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
506
505
|
<span class="cline-any cline-neutral"> </span>
|
|
507
506
|
<span class="cline-any cline-neutral"> </span>
|
|
508
507
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -542,12 +541,12 @@
|
|
|
542
541
|
<span class="cline-any cline-neutral"> </span>
|
|
543
542
|
<span class="cline-any cline-neutral"> </span>
|
|
544
543
|
<span class="cline-any cline-neutral"> </span>
|
|
545
|
-
<span class="cline-any cline-yes">
|
|
544
|
+
<span class="cline-any cline-yes">26x</span>
|
|
546
545
|
<span class="cline-any cline-neutral"> </span>
|
|
547
546
|
<span class="cline-any cline-neutral"> </span>
|
|
548
547
|
<span class="cline-any cline-neutral"> </span>
|
|
549
|
-
<span class="cline-any cline-
|
|
550
|
-
<span class="cline-any cline-
|
|
548
|
+
<span class="cline-any cline-yes">976x</span>
|
|
549
|
+
<span class="cline-any cline-yes">976x</span>
|
|
551
550
|
<span class="cline-any cline-neutral"> </span>
|
|
552
551
|
<span class="cline-any cline-neutral"> </span>
|
|
553
552
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -560,19 +559,19 @@
|
|
|
560
559
|
<span class="cline-any cline-neutral"> </span>
|
|
561
560
|
<span class="cline-any cline-neutral"> </span>
|
|
562
561
|
<span class="cline-any cline-neutral"> </span>
|
|
563
|
-
<span class="cline-any cline-
|
|
564
|
-
<span class="cline-any cline-
|
|
565
|
-
<span class="cline-any cline-
|
|
562
|
+
<span class="cline-any cline-yes">814x</span>
|
|
563
|
+
<span class="cline-any cline-yes">814x</span>
|
|
564
|
+
<span class="cline-any cline-yes">814x</span>
|
|
566
565
|
<span class="cline-any cline-neutral"> </span>
|
|
567
|
-
<span class="cline-any cline-
|
|
568
|
-
<span class="cline-any cline-
|
|
569
|
-
<span class="cline-any cline-
|
|
566
|
+
<span class="cline-any cline-yes">814x</span>
|
|
567
|
+
<span class="cline-any cline-yes">814x</span>
|
|
568
|
+
<span class="cline-any cline-yes">814x</span>
|
|
570
569
|
<span class="cline-any cline-neutral"> </span>
|
|
571
|
-
<span class="cline-any cline-
|
|
570
|
+
<span class="cline-any cline-yes">814x</span>
|
|
572
571
|
<span class="cline-any cline-neutral"> </span>
|
|
572
|
+
<span class="cline-any cline-yes">204x</span>
|
|
573
|
+
<span class="cline-any cline-yes">812x</span>
|
|
573
574
|
<span class="cline-any cline-neutral"> </span>
|
|
574
|
-
<span class="cline-any cline-no"> </span>
|
|
575
|
-
<span class="cline-any cline-no"> </span>
|
|
576
575
|
<span class="cline-any cline-neutral"> </span>
|
|
577
576
|
<span class="cline-any cline-neutral"> </span>
|
|
578
577
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -584,10 +583,10 @@
|
|
|
584
583
|
<span class="cline-any cline-neutral"> </span>
|
|
585
584
|
<span class="cline-any cline-neutral"> </span>
|
|
586
585
|
<span class="cline-any cline-neutral"> </span>
|
|
586
|
+
<span class="cline-any cline-yes">893x</span>
|
|
587
587
|
<span class="cline-any cline-neutral"> </span>
|
|
588
|
-
<span class="cline-any cline-
|
|
589
|
-
<span class="cline-any cline-
|
|
590
|
-
<span class="cline-any cline-no"> </span>
|
|
588
|
+
<span class="cline-any cline-yes">893x</span>
|
|
589
|
+
<span class="cline-any cline-yes">893x</span>
|
|
591
590
|
<span class="cline-any cline-neutral"> </span>
|
|
592
591
|
<span class="cline-any cline-neutral"> </span>
|
|
593
592
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -595,12 +594,12 @@
|
|
|
595
594
|
<span class="cline-any cline-neutral"> </span>
|
|
596
595
|
<span class="cline-any cline-neutral"> </span>
|
|
597
596
|
<span class="cline-any cline-neutral"> </span>
|
|
598
|
-
<span class="cline-any cline-
|
|
597
|
+
<span class="cline-any cline-yes">893x</span>
|
|
599
598
|
<span class="cline-any cline-neutral"> </span>
|
|
600
599
|
<span class="cline-any cline-neutral"> </span>
|
|
601
600
|
<span class="cline-any cline-neutral"> </span>
|
|
602
601
|
<span class="cline-any cline-neutral"> </span>
|
|
603
|
-
<span class="cline-any cline-
|
|
602
|
+
<span class="cline-any cline-yes">893x</span>
|
|
604
603
|
<span class="cline-any cline-neutral"> </span>
|
|
605
604
|
<span class="cline-any cline-neutral"> </span>
|
|
606
605
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -610,29 +609,29 @@
|
|
|
610
609
|
<span class="cline-any cline-neutral"> </span>
|
|
611
610
|
<span class="cline-any cline-neutral"> </span>
|
|
612
611
|
<span class="cline-any cline-neutral"> </span>
|
|
613
|
-
<span class="cline-any cline-
|
|
612
|
+
<span class="cline-any cline-yes">893x</span>
|
|
614
613
|
<span class="cline-any cline-neutral"> </span>
|
|
615
|
-
<span class="cline-any cline-
|
|
616
|
-
<span class="cline-any cline-
|
|
614
|
+
<span class="cline-any cline-yes">893x</span>
|
|
615
|
+
<span class="cline-any cline-yes">395x</span>
|
|
617
616
|
<span class="cline-any cline-neutral"> </span>
|
|
618
617
|
<span class="cline-any cline-neutral"> </span>
|
|
619
|
-
<span class="cline-any cline-
|
|
620
|
-
<span class="cline-any cline-
|
|
618
|
+
<span class="cline-any cline-yes">893x</span>
|
|
619
|
+
<span class="cline-any cline-yes">893x</span>
|
|
621
620
|
<span class="cline-any cline-neutral"> </span>
|
|
622
621
|
<span class="cline-any cline-neutral"> </span>
|
|
623
|
-
<span class="cline-any cline-
|
|
624
|
-
<span class="cline-any cline-
|
|
622
|
+
<span class="cline-any cline-yes">893x</span>
|
|
623
|
+
<span class="cline-any cline-yes">893x</span>
|
|
625
624
|
<span class="cline-any cline-neutral"> </span>
|
|
626
625
|
<span class="cline-any cline-neutral"> </span>
|
|
627
626
|
<span class="cline-any cline-neutral"> </span>
|
|
628
|
-
<span class="cline-any cline-
|
|
629
|
-
<span class="cline-any cline-
|
|
627
|
+
<span class="cline-any cline-yes">893x</span>
|
|
628
|
+
<span class="cline-any cline-yes">893x</span>
|
|
630
629
|
<span class="cline-any cline-neutral"> </span>
|
|
631
|
-
<span class="cline-any cline-
|
|
630
|
+
<span class="cline-any cline-yes">893x</span>
|
|
632
631
|
<span class="cline-any cline-neutral"> </span>
|
|
633
|
-
<span class="cline-any cline-
|
|
632
|
+
<span class="cline-any cline-yes">893x</span>
|
|
633
|
+
<span class="cline-any cline-yes">571x</span>
|
|
634
634
|
<span class="cline-any cline-neutral"> </span>
|
|
635
|
-
<span class="cline-any cline-no"> </span>
|
|
636
635
|
<span class="cline-any cline-neutral"> </span>
|
|
637
636
|
<span class="cline-any cline-neutral"> </span>
|
|
638
637
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -650,14 +649,14 @@
|
|
|
650
649
|
<span class="cline-any cline-neutral"> </span>
|
|
651
650
|
<span class="cline-any cline-neutral"> </span>
|
|
652
651
|
<span class="cline-any cline-neutral"> </span>
|
|
652
|
+
<span class="cline-any cline-yes">893x</span>
|
|
653
653
|
<span class="cline-any cline-neutral"> </span>
|
|
654
|
-
<span class="cline-any cline-no"> </span>
|
|
655
654
|
<span class="cline-any cline-neutral"> </span>
|
|
656
655
|
<span class="cline-any cline-neutral"> </span>
|
|
656
|
+
<span class="cline-any cline-yes">893x</span>
|
|
657
657
|
<span class="cline-any cline-neutral"> </span>
|
|
658
|
-
<span class="cline-any cline-
|
|
658
|
+
<span class="cline-any cline-yes">893x</span>
|
|
659
659
|
<span class="cline-any cline-neutral"> </span>
|
|
660
|
-
<span class="cline-any cline-no"> </span>
|
|
661
660
|
<span class="cline-any cline-neutral"> </span>
|
|
662
661
|
<span class="cline-any cline-neutral"> </span>
|
|
663
662
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -666,8 +665,8 @@
|
|
|
666
665
|
<span class="cline-any cline-neutral"> </span>
|
|
667
666
|
<span class="cline-any cline-neutral"> </span>
|
|
668
667
|
<span class="cline-any cline-neutral"> </span>
|
|
668
|
+
<span class="cline-any cline-yes">204x</span>
|
|
669
669
|
<span class="cline-any cline-neutral"> </span>
|
|
670
|
-
<span class="cline-any cline-no"> </span>
|
|
671
670
|
<span class="cline-any cline-neutral"> </span>
|
|
672
671
|
<span class="cline-any cline-neutral"> </span>
|
|
673
672
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -679,19 +678,18 @@
|
|
|
679
678
|
<span class="cline-any cline-neutral"> </span>
|
|
680
679
|
<span class="cline-any cline-neutral"> </span>
|
|
681
680
|
<span class="cline-any cline-neutral"> </span>
|
|
681
|
+
<span class="cline-any cline-yes">893x</span>
|
|
682
682
|
<span class="cline-any cline-neutral"> </span>
|
|
683
|
-
<span class="cline-any cline-no"> </span>
|
|
684
683
|
<span class="cline-any cline-neutral"> </span>
|
|
685
684
|
<span class="cline-any cline-neutral"> </span>
|
|
686
685
|
<span class="cline-any cline-neutral"> </span>
|
|
687
|
-
<span class="cline-any cline-
|
|
688
|
-
<span class="cline-any cline-
|
|
689
|
-
<span class="cline-any cline-
|
|
690
|
-
<span class="cline-any cline-no"> </span>
|
|
686
|
+
<span class="cline-any cline-yes">893x</span>
|
|
687
|
+
<span class="cline-any cline-yes">352x</span>
|
|
688
|
+
<span class="cline-any cline-yes">176x</span>
|
|
691
689
|
<span class="cline-any cline-neutral"> </span>
|
|
692
690
|
<span class="cline-any cline-neutral"> </span>
|
|
693
691
|
<span class="cline-any cline-neutral"> </span>
|
|
694
|
-
<span class="cline-any cline-
|
|
692
|
+
<span class="cline-any cline-yes">893x</span>
|
|
695
693
|
<span class="cline-any cline-neutral"> </span>
|
|
696
694
|
<span class="cline-any cline-neutral"> </span>
|
|
697
695
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -699,7 +697,7 @@
|
|
|
699
697
|
<span class="cline-any cline-neutral"> </span>
|
|
700
698
|
<span class="cline-any cline-neutral"> </span>
|
|
701
699
|
<span class="cline-any cline-neutral"> </span>
|
|
702
|
-
<span class="cline-any cline-
|
|
700
|
+
<span class="cline-any cline-yes">893x</span>
|
|
703
701
|
<span class="cline-any cline-neutral"> </span>
|
|
704
702
|
<span class="cline-any cline-neutral"> </span>
|
|
705
703
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -718,26 +716,26 @@
|
|
|
718
716
|
<span class="cline-any cline-neutral"> </span>
|
|
719
717
|
<span class="cline-any cline-neutral"> </span>
|
|
720
718
|
<span class="cline-any cline-neutral"> </span>
|
|
721
|
-
<span class="cline-any cline-
|
|
719
|
+
<span class="cline-any cline-yes">1130x</span>
|
|
722
720
|
<span class="cline-any cline-neutral"> </span>
|
|
723
|
-
<span class="cline-any cline-
|
|
724
|
-
<span class="cline-any cline-
|
|
721
|
+
<span class="cline-any cline-yes">1130x</span>
|
|
722
|
+
<span class="cline-any cline-yes">1130x</span>
|
|
725
723
|
<span class="cline-any cline-neutral"> </span>
|
|
726
|
-
<span class="cline-any cline-
|
|
724
|
+
<span class="cline-any cline-yes">1130x</span>
|
|
727
725
|
<span class="cline-any cline-neutral"> </span>
|
|
728
726
|
<span class="cline-any cline-neutral"> </span>
|
|
729
727
|
<span class="cline-any cline-neutral"> </span>
|
|
730
|
-
<span class="cline-any cline-
|
|
728
|
+
<span class="cline-any cline-yes">1130x</span>
|
|
731
729
|
<span class="cline-any cline-neutral"> </span>
|
|
732
730
|
<span class="cline-any cline-neutral"> </span>
|
|
733
731
|
<span class="cline-any cline-neutral"> </span>
|
|
734
732
|
<span class="cline-any cline-neutral"> </span>
|
|
735
733
|
<span class="cline-any cline-neutral"> </span>
|
|
736
|
-
<span class="cline-any cline-
|
|
734
|
+
<span class="cline-any cline-yes">1130x</span>
|
|
737
735
|
<span class="cline-any cline-neutral"> </span>
|
|
738
|
-
<span class="cline-any cline-
|
|
736
|
+
<span class="cline-any cline-yes">1130x</span>
|
|
739
737
|
<span class="cline-any cline-neutral"> </span>
|
|
740
|
-
<span class="cline-any cline-
|
|
738
|
+
<span class="cline-any cline-yes">1130x</span>
|
|
741
739
|
<span class="cline-any cline-neutral"> </span>
|
|
742
740
|
<span class="cline-any cline-neutral"> </span>
|
|
743
741
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -747,13 +745,13 @@
|
|
|
747
745
|
<span class="cline-any cline-neutral"> </span>
|
|
748
746
|
<span class="cline-any cline-neutral"> </span>
|
|
749
747
|
<span class="cline-any cline-neutral"> </span>
|
|
750
|
-
<span class="cline-any cline-
|
|
751
|
-
<span class="cline-any cline-
|
|
748
|
+
<span class="cline-any cline-yes">1130x</span>
|
|
749
|
+
<span class="cline-any cline-yes">1130x</span>
|
|
752
750
|
<span class="cline-any cline-no"> </span>
|
|
753
751
|
<span class="cline-any cline-neutral"> </span>
|
|
754
752
|
<span class="cline-any cline-neutral"> </span>
|
|
755
|
-
<span class="cline-any cline-
|
|
756
|
-
<span class="cline-any cline-
|
|
753
|
+
<span class="cline-any cline-yes">1130x</span>
|
|
754
|
+
<span class="cline-any cline-yes">22x</span>
|
|
757
755
|
<span class="cline-any cline-neutral"> </span>
|
|
758
756
|
<span class="cline-any cline-neutral"> </span>
|
|
759
757
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -762,10 +760,10 @@
|
|
|
762
760
|
<span class="cline-any cline-neutral"> </span>
|
|
763
761
|
<span class="cline-any cline-neutral"> </span>
|
|
764
762
|
<span class="cline-any cline-neutral"> </span>
|
|
765
|
-
<span class="cline-any cline-
|
|
763
|
+
<span class="cline-any cline-yes">1108x</span>
|
|
766
764
|
<span class="cline-any cline-neutral"> </span>
|
|
767
765
|
<span class="cline-any cline-neutral"> </span>
|
|
768
|
-
<span class="cline-any cline-
|
|
766
|
+
<span class="cline-any cline-yes">1130x</span>
|
|
769
767
|
<span class="cline-any cline-neutral"> </span>
|
|
770
768
|
<span class="cline-any cline-neutral"> </span>
|
|
771
769
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -804,10 +802,10 @@
|
|
|
804
802
|
<span class="cline-any cline-neutral"> </span>
|
|
805
803
|
<span class="cline-any cline-neutral"> </span>
|
|
806
804
|
<span class="cline-any cline-neutral"> </span>
|
|
807
|
-
<span class="cline-any cline-
|
|
808
|
-
<span class="cline-any cline-
|
|
805
|
+
<span class="cline-any cline-yes">304x</span>
|
|
806
|
+
<span class="cline-any cline-yes">300x</span>
|
|
809
807
|
<span class="cline-any cline-neutral"> </span>
|
|
810
|
-
<span class="cline-any cline-
|
|
808
|
+
<span class="cline-any cline-yes">4x</span>
|
|
811
809
|
<span class="cline-any cline-neutral"> </span>
|
|
812
810
|
<span class="cline-any cline-neutral"> </span>
|
|
813
811
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -904,7 +902,7 @@
|
|
|
904
902
|
<span class="cline-any cline-neutral"> </span>
|
|
905
903
|
<span class="cline-any cline-neutral"> </span>
|
|
906
904
|
<span class="cline-any cline-neutral"> </span>
|
|
907
|
-
<span class="cline-any cline-yes">
|
|
905
|
+
<span class="cline-any cline-yes">26x</span>
|
|
908
906
|
<span class="cline-any cline-neutral"> </span>
|
|
909
907
|
<span class="cline-any cline-neutral"> </span>
|
|
910
908
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -981,65 +979,65 @@ import {
|
|
|
981
979
|
import TableBody from './TableBody';
|
|
982
980
|
import SearchKeyControl from '../SearchKeyControl';
|
|
983
981
|
|
|
984
|
-
const SASQLookupComponent = forwardRef(
|
|
982
|
+
const SASQLookupComponent = forwardRef((props, ref) => {
|
|
985
983
|
const {
|
|
986
984
|
children,
|
|
987
985
|
fetchParameters = <span class="branch-0 cbranch-no" title="branch not covered" >{},</span>
|
|
988
|
-
FilterComponent =
|
|
989
|
-
FilterPaneHeaderComponent =
|
|
990
|
-
filterPaneProps =
|
|
991
|
-
hasFilterPane =
|
|
986
|
+
FilterComponent = () => null,
|
|
987
|
+
FilterPaneHeaderComponent = () => null,
|
|
988
|
+
filterPaneProps = {},
|
|
989
|
+
hasFilterPane = true, // Ability to entirely turn off filter pane
|
|
992
990
|
id,
|
|
993
991
|
intlKey: passedIntlKey,
|
|
994
992
|
intlNS: passedIntlNS,
|
|
995
|
-
labelOverrides =
|
|
996
|
-
lookupQueryNamespaceGenerator =
|
|
993
|
+
labelOverrides = {},
|
|
994
|
+
lookupQueryNamespaceGenerator = ({
|
|
997
995
|
currentPage,
|
|
998
996
|
namespace,
|
|
999
997
|
id: passedId,
|
|
1000
998
|
query,
|
|
1001
999
|
}) => {
|
|
1002
|
-
const queryNamespace =
|
|
1003
|
-
<span class="
|
|
1004
|
-
|
|
1000
|
+
const queryNamespace = [namespace, 'SASQ'];
|
|
1001
|
+
<span class="missing-if-branch" title="else path not taken" >E</span>if (passedId) {
|
|
1002
|
+
queryNamespace.push(passedId);
|
|
1005
1003
|
}
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1004
|
+
queryNamespace.push('viewAll');
|
|
1005
|
+
queryNamespace.push(query);
|
|
1006
|
+
queryNamespace.push(currentPage);
|
|
1009
1007
|
|
|
1010
|
-
|
|
1008
|
+
return queryNamespace;
|
|
1011
1009
|
},
|
|
1012
|
-
lookupQueryPromise =
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
noResultsProps = <span class="branch-0 cbranch-no" title="branch not covered" >{},</span>
|
|
1010
|
+
lookupQueryPromise = ({ endpoint, ky, queryParams }) => ky.get(`${endpoint}${queryParams}`).json(),
|
|
1011
|
+
lookupResponseTransform = (response) => response, // Function to transform the response from the query
|
|
1012
|
+
mainPaneProps = {},
|
|
1013
|
+
mclProps = {},
|
|
1014
|
+
noResultsProps = {},
|
|
1018
1015
|
noSearchField,
|
|
1019
|
-
persistedPanesetProps =
|
|
1020
|
-
queryParameterGenerator =
|
|
1016
|
+
persistedPanesetProps = {},
|
|
1017
|
+
queryParameterGenerator = generateKiwtQuery, // Expects a function which accepts SASQ_MAP and nsValues
|
|
1021
1018
|
RenderBody,
|
|
1022
|
-
rowNavigation =
|
|
1019
|
+
rowNavigation = true, // Default navigation onRowClick
|
|
1023
1020
|
sasqProps,
|
|
1024
|
-
searchableIndexes =
|
|
1021
|
+
searchableIndexes = [],
|
|
1025
1022
|
searchFieldAriaLabel,
|
|
1026
|
-
searchFieldProps =
|
|
1027
|
-
} =
|
|
1028
|
-
|
|
1029
|
-
const
|
|
1023
|
+
searchFieldProps = {},
|
|
1024
|
+
} = props;
|
|
1025
|
+
|
|
1026
|
+
const kintIntl = useKintIntl(passedIntlKey, passedIntlNS);
|
|
1027
|
+
const [count, setCount] = useState(0);
|
|
1030
1028
|
|
|
1031
1029
|
// Grab things we might need from sasqProps if passed
|
|
1032
1030
|
const {
|
|
1033
1031
|
query: sasqPropsQuery, // If these are overriden we need to make use of them
|
|
1034
1032
|
queryGetter: sasqPropsQueryGetter,
|
|
1035
1033
|
querySetter: sasqPropsQuerySetter,
|
|
1036
|
-
syncToLocation =
|
|
1037
|
-
} =
|
|
1034
|
+
syncToLocation = true,
|
|
1035
|
+
} = sasqProps ?? {};
|
|
1038
1036
|
|
|
1039
1037
|
// We manage our internal state of pagination (URL vs MCL page state) using usePrevNextPagination.
|
|
1040
1038
|
// Below the queryParameterGenerator can then choose to use the outputs (namely totalRecords and page) as it sees fit.
|
|
1041
1039
|
const { currentPage, paginationMCLProps, paginationSASQProps } =
|
|
1042
|
-
|
|
1040
|
+
usePrevNextPagination({
|
|
1043
1041
|
count, // totalRecord
|
|
1044
1042
|
pageSize: fetchParameters.SASQ_MAP?.perPage,
|
|
1045
1043
|
syncToLocation,
|
|
@@ -1049,29 +1047,28 @@ const SASQLookupComponent = forwardRef(<span class="fstat-no" title="function no
|
|
|
1049
1047
|
query: kintSASQQuery,
|
|
1050
1048
|
queryGetter: kintSASQQueryGetter,
|
|
1051
1049
|
querySetter: kintSASQQuerySetter,
|
|
1052
|
-
} =
|
|
1050
|
+
} = useKiwtSASQuery();
|
|
1053
1051
|
|
|
1054
|
-
const query =
|
|
1055
|
-
|
|
1052
|
+
const query = useMemo(
|
|
1053
|
+
() => sasqPropsQuery ?? kintSASQQuery,
|
|
1056
1054
|
[sasqPropsQuery, kintSASQQuery]
|
|
1057
1055
|
);
|
|
1058
|
-
const queryGetter =
|
|
1059
|
-
|
|
1056
|
+
const queryGetter = useMemo(
|
|
1057
|
+
() => sasqPropsQueryGetter ?? kintSASQQueryGetter,
|
|
1060
1058
|
[sasqPropsQueryGetter, kintSASQQueryGetter]
|
|
1061
1059
|
);
|
|
1062
|
-
const querySetter =
|
|
1063
|
-
|
|
1060
|
+
const querySetter = useMemo(
|
|
1061
|
+
() => sasqPropsQuerySetter ?? kintSASQQuerySetter,
|
|
1064
1062
|
[sasqPropsQuerySetter, kintSASQQuerySetter]
|
|
1065
1063
|
);
|
|
1066
1064
|
|
|
1067
|
-
const { 0: namespace } =
|
|
1068
|
-
const ky =
|
|
1065
|
+
const { 0: namespace } = useNamespace();
|
|
1066
|
+
const ky = useOkapiKy();
|
|
1069
1067
|
|
|
1070
|
-
const filterPaneVisibileKey =
|
|
1068
|
+
const filterPaneVisibileKey = `${namespace}-${id}-filterPaneVisibility`;
|
|
1071
1069
|
|
|
1072
|
-
const queryParams =
|
|
1073
|
-
|
|
1074
|
-
<span class="cstat-no" title="statement not covered" > queryParameterGenerator(</span>
|
|
1070
|
+
const queryParams = useMemo(
|
|
1071
|
+
() => queryParameterGenerator(
|
|
1075
1072
|
// With Typescript this would be a type of SASQ_MAP, and so totalRecords is a valid property in our new shape
|
|
1076
1073
|
// In generateKiwtQueryParams we can choose to ignore totalRecords, which while being a valid property is not necessary for KIWT queries
|
|
1077
1074
|
{
|
|
@@ -1079,7 +1076,7 @@ const SASQLookupComponent = forwardRef(<span class="fstat-no" title="function no
|
|
|
1079
1076
|
totalRecords: count,
|
|
1080
1077
|
...fetchParameters.SASQ_MAP,
|
|
1081
1078
|
},
|
|
1082
|
-
query ?? {}
|
|
1079
|
+
query ?? <span class="branch-1 cbranch-no" title="branch not covered" >{}</span>
|
|
1083
1080
|
),
|
|
1084
1081
|
[
|
|
1085
1082
|
count,
|
|
@@ -1090,13 +1087,13 @@ const SASQLookupComponent = forwardRef(<span class="fstat-no" title="function no
|
|
|
1090
1087
|
]
|
|
1091
1088
|
);
|
|
1092
1089
|
|
|
1093
|
-
const [filterPaneVisible, setFilterPaneVisible] =
|
|
1090
|
+
const [filterPaneVisible, setFilterPaneVisible] = useLocalStorageState(
|
|
1094
1091
|
filterPaneVisibileKey,
|
|
1095
1092
|
true
|
|
1096
1093
|
);
|
|
1097
|
-
const toggleFilterPane =
|
|
1094
|
+
const toggleFilterPane = () => setFilterPaneVisible(!filterPaneVisible);
|
|
1098
1095
|
|
|
1099
|
-
const { data = <span class="branch-0 cbranch-no" title="branch not covered" >{},</span> ...restOfQueryProps } =
|
|
1096
|
+
const { data = <span class="branch-0 cbranch-no" title="branch not covered" >{},</span> ...restOfQueryProps } = useQuery(
|
|
1100
1097
|
lookupQueryNamespaceGenerator({
|
|
1101
1098
|
currentPage,
|
|
1102
1099
|
endpoint: fetchParameters.endpoint,
|
|
@@ -1105,8 +1102,8 @@ const SASQLookupComponent = forwardRef(<span class="fstat-no" title="function no
|
|
|
1105
1102
|
query,
|
|
1106
1103
|
queryParams,
|
|
1107
1104
|
}),
|
|
1108
|
-
|
|
1109
|
-
|
|
1105
|
+
() => {
|
|
1106
|
+
return lookupQueryPromise({
|
|
1110
1107
|
ky,
|
|
1111
1108
|
queryParams,
|
|
1112
1109
|
endpoint: fetchParameters.endpoint,
|
|
@@ -1118,19 +1115,19 @@ const SASQLookupComponent = forwardRef(<span class="fstat-no" title="function no
|
|
|
1118
1115
|
// select is a parameter supported by useQuery to transform the response
|
|
1119
1116
|
// Could be possible to instead pass this down along with the queryOptions
|
|
1120
1117
|
// Additionally this is assuming the lookupResponseTransform is a func as opposed to an object
|
|
1121
|
-
select:
|
|
1122
|
-
|
|
1118
|
+
select: (selectData) => {
|
|
1119
|
+
return lookupResponseTransform(selectData);
|
|
1123
1120
|
},
|
|
1124
1121
|
}
|
|
1125
1122
|
);
|
|
1126
1123
|
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1124
|
+
useEffect(() => {
|
|
1125
|
+
if (count !== data?.totalRecords) {
|
|
1126
|
+
setCount(data?.totalRecords);
|
|
1130
1127
|
}
|
|
1131
1128
|
}, [count, data.totalRecords]);
|
|
1132
1129
|
|
|
1133
|
-
|
|
1130
|
+
useImperativeHandle(ref, () => ({
|
|
1134
1131
|
lookupQueryProps: {
|
|
1135
1132
|
data,
|
|
1136
1133
|
...restOfQueryProps,
|
|
@@ -1138,7 +1135,7 @@ const SASQLookupComponent = forwardRef(<span class="fstat-no" title="function no
|
|
|
1138
1135
|
queryParams,
|
|
1139
1136
|
}));
|
|
1140
1137
|
|
|
1141
|
-
|
|
1138
|
+
return (
|
|
1142
1139
|
<SearchAndSortQuery
|
|
1143
1140
|
initialSearchState={{ query: '' }}
|
|
1144
1141
|
queryGetter={queryGetter}
|
|
@@ -1147,7 +1144,7 @@ const SASQLookupComponent = forwardRef(<span class="fstat-no" title="function no
|
|
|
1147
1144
|
{...sasqProps}
|
|
1148
1145
|
{...paginationSASQProps}
|
|
1149
1146
|
>
|
|
1150
|
-
{
|
|
1147
|
+
{(sasqRenderProps) => {
|
|
1151
1148
|
const {
|
|
1152
1149
|
activeFilters,
|
|
1153
1150
|
filterChanged,
|
|
@@ -1157,26 +1154,26 @@ const SASQLookupComponent = forwardRef(<span class="fstat-no" title="function no
|
|
|
1157
1154
|
resetAll,
|
|
1158
1155
|
searchChanged,
|
|
1159
1156
|
searchValue,
|
|
1160
|
-
} =
|
|
1157
|
+
} = sasqRenderProps;
|
|
1161
1158
|
|
|
1162
|
-
const searchHandlers =
|
|
1163
|
-
const disableReset =
|
|
1159
|
+
const searchHandlers = getSearchHandlers();
|
|
1160
|
+
const disableReset = !filterChanged && !searchChanged;
|
|
1164
1161
|
|
|
1165
|
-
const filterCount =
|
|
1162
|
+
const filterCount = activeFilters.string
|
|
1166
1163
|
? activeFilters.string.split(',').length
|
|
1167
1164
|
: 0;
|
|
1168
1165
|
|
|
1169
|
-
const Body =
|
|
1166
|
+
const Body = RenderBody ?? TableBody;
|
|
1170
1167
|
|
|
1171
1168
|
const {
|
|
1172
1169
|
filterPaneFirstMenu,
|
|
1173
1170
|
filterPaneLastMenu,
|
|
1174
1171
|
...restOfFilterPaneProps
|
|
1175
|
-
} =
|
|
1172
|
+
} = filterPaneProps;
|
|
1176
1173
|
const { mainPaneFirstMenu, mainPaneLastMenu, ...restOfMainPaneProps } =
|
|
1177
|
-
|
|
1174
|
+
mainPaneProps;
|
|
1178
1175
|
|
|
1179
|
-
const internalStateProps =
|
|
1176
|
+
const internalStateProps = {
|
|
1180
1177
|
activeFilters,
|
|
1181
1178
|
filterCount,
|
|
1182
1179
|
filterPaneVisible,
|
|
@@ -1186,13 +1183,13 @@ const SASQLookupComponent = forwardRef(<span class="fstat-no" title="function no
|
|
|
1186
1183
|
toggleFilterPane,
|
|
1187
1184
|
};
|
|
1188
1185
|
|
|
1189
|
-
const renderFirstMenu =
|
|
1190
|
-
<span class="
|
|
1186
|
+
const renderFirstMenu = () => {
|
|
1187
|
+
<span class="missing-if-branch" title="if path not taken" >I</span>if (mainPaneFirstMenu) {
|
|
1191
1188
|
<span class="cstat-no" title="statement not covered" > return mainPaneFirstMenu(internalStateProps);</span>
|
|
1192
1189
|
}
|
|
1193
1190
|
|
|
1194
|
-
|
|
1195
|
-
|
|
1191
|
+
if (!filterPaneVisible && hasFilterPane) {
|
|
1192
|
+
return (
|
|
1196
1193
|
<PaneMenu>
|
|
1197
1194
|
<ExpandFilterPaneButton
|
|
1198
1195
|
filterCount={filterCount}
|
|
@@ -1201,10 +1198,10 @@ const SASQLookupComponent = forwardRef(<span class="fstat-no" title="function no
|
|
|
1201
1198
|
</PaneMenu>
|
|
1202
1199
|
);
|
|
1203
1200
|
}
|
|
1204
|
-
|
|
1201
|
+
return null;
|
|
1205
1202
|
};
|
|
1206
1203
|
|
|
1207
|
-
|
|
1204
|
+
return (
|
|
1208
1205
|
<PersistedPaneset
|
|
1209
1206
|
appId={namespace}
|
|
1210
1207
|
id={`${id}-paneset`}
|
|
@@ -1215,13 +1212,13 @@ const SASQLookupComponent = forwardRef(<span class="fstat-no" title="function no
|
|
|
1215
1212
|
defaultWidth="20%"
|
|
1216
1213
|
firstMenu={
|
|
1217
1214
|
filterPaneFirstMenu
|
|
1218
|
-
? filterPaneFirstMenu(internalStateProps)
|
|
1215
|
+
? <span class="branch-0 cbranch-no" title="branch not covered" >filterPaneFirstMenu(internalStateProps)</span>
|
|
1219
1216
|
: null
|
|
1220
1217
|
}
|
|
1221
1218
|
id={`${id}-filter-pane`}
|
|
1222
1219
|
lastMenu={
|
|
1223
1220
|
filterPaneLastMenu ? (
|
|
1224
|
-
filterPaneLastMenu(internalStateProps)
|
|
1221
|
+
<span class="branch-0 cbranch-no" title="branch not covered" > filterPaneLastMenu(internalStateProps)</span>
|
|
1225
1222
|
) : (
|
|
1226
1223
|
<PaneMenu>
|
|
1227
1224
|
<CollapseFilterPaneButton onClick={toggleFilterPane} />
|
|
@@ -1242,11 +1239,11 @@ const SASQLookupComponent = forwardRef(<span class="fstat-no" title="function no
|
|
|
1242
1239
|
autoFocus
|
|
1243
1240
|
id={`sasq-search-field-${id}`}
|
|
1244
1241
|
name="query"
|
|
1245
|
-
onChange={
|
|
1246
|
-
|
|
1247
|
-
|
|
1242
|
+
onChange={(e) => {
|
|
1243
|
+
if (e.target?.value) {
|
|
1244
|
+
searchHandlers.query(e); // SASQ needs the whole event here
|
|
1248
1245
|
} else {
|
|
1249
|
-
|
|
1246
|
+
searchHandlers.reset();
|
|
1250
1247
|
}
|
|
1251
1248
|
}}
|
|
1252
1249
|
onClear={searchHandlers.reset}
|
|
@@ -1293,7 +1290,7 @@ const SASQLookupComponent = forwardRef(<span class="fstat-no" title="function no
|
|
|
1293
1290
|
firstMenu={renderFirstMenu()}
|
|
1294
1291
|
id={`${id}-main-pane`}
|
|
1295
1292
|
lastMenu={
|
|
1296
|
-
mainPaneLastMenu ? mainPaneLastMenu(internalStateProps)
|
|
1293
|
+
mainPaneLastMenu ? <span class="branch-0 cbranch-no" title="branch not covered" >mainPaneLastMenu(internalStateProps) </span>: null
|
|
1297
1294
|
}
|
|
1298
1295
|
noOverflow
|
|
1299
1296
|
padContent={false}
|
|
@@ -1387,7 +1384,7 @@ export default SASQLookupComponent;
|
|
|
1387
1384
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
1388
1385
|
Code coverage generated by
|
|
1389
1386
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
1390
|
-
at
|
|
1387
|
+
at 2026-02-04T17:18:32.500Z
|
|
1391
1388
|
</div>
|
|
1392
1389
|
<script src="../prettify.js"></script>
|
|
1393
1390
|
<script>
|