@k-int/stripes-kint-components 5.31.4 → 5.33.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/es/__mocks__/@folio/stripes/components.js +7 -3
- package/es/__mocks__/@folio/stripes/core.js +6 -4
- package/es/__mocks__/@folio/stripes/smart-components.js +6 -4
- package/es/__mocks__/react-query.js +6 -4
- package/es/__mocks__/react-router-dom.js +6 -6
- package/es/lib/ActionList/ActionList.js +33 -26
- package/es/lib/ActionList/ActionListFieldArray.js +119 -103
- package/es/lib/ButtonTypedown/ButtonTypedown.js +72 -17
- package/es/lib/ComboButton/ComboButton.js +47 -42
- package/es/lib/CustomProperties/Config/CustomPropertiesLookup.js +17 -11
- package/es/lib/CustomProperties/Config/CustomPropertiesSettings.js +46 -42
- package/es/lib/CustomProperties/Config/CustomPropertyForm.js +58 -58
- package/es/lib/CustomProperties/Config/CustomPropertyForm.test.js +8 -4
- package/es/lib/CustomProperties/Config/CustomPropertyView.js +33 -32
- package/es/lib/CustomProperties/Config/CustomPropertyView.test.js +1 -1
- package/es/lib/CustomProperties/Edit/CustomPropertiesEdit.js +1 -1
- package/es/lib/CustomProperties/Edit/CustomPropertiesEditCtx.js +3 -3
- package/es/lib/CustomProperties/Edit/CustomPropertiesListField.js +35 -29
- package/es/lib/CustomProperties/Edit/CustomPropertyField.js +59 -61
- package/es/lib/CustomProperties/Edit/CustomPropertyField.test.js +20 -20
- package/es/lib/CustomProperties/Edit/CustomPropertyFormCard.js +2 -2
- package/es/lib/CustomProperties/Edit/CustomPropertyFormCard.test.js +1 -1
- package/es/lib/CustomProperties/Edit/testResources.js +12 -11
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilter.js +33 -22
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterField.js +37 -24
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterField.test.js +1 -1
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterFieldArray.js +6 -6
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterForm.js +6 -3
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterForm.test.js +8 -4
- package/es/lib/CustomProperties/Filter/CustomPropertiesRule.js +19 -15
- package/es/lib/CustomProperties/Filter/testResources.js +2 -1
- package/es/lib/CustomProperties/Filter/useParseActiveFilterStrings.js +2 -1
- package/es/lib/CustomProperties/View/CustomPropertiesView.js +1 -1
- package/es/lib/CustomProperties/View/CustomPropertiesViewCtx.js +25 -17
- package/es/lib/CustomProperties/View/CustomPropertiesViewCtx.test.js +6 -3
- package/es/lib/CustomProperties/View/CustomPropertyCard.js +11 -7
- package/es/lib/CycleButton/CycleButton.js +17 -9
- package/es/lib/FormModal/FormModal.js +32 -24
- package/es/lib/FormattedKintMessage/FormattedKintMessage.js +30 -23
- package/es/lib/IconSelect/IconSelect.js +32 -22
- package/es/lib/NoResultsMessage/NoResultsMessage.js +5 -4
- package/es/lib/NumberField/NumberField.js +25 -17
- package/es/lib/NumberField/NumberField.test.js +7 -6
- package/es/lib/QueryTypedown/QueryTypedown.js +15 -8
- package/es/lib/RefdataButtons/RefdataButtons.js +9 -6
- package/es/lib/ResponsiveButtonGroup/ResponsiveButtonGroup.js +60 -48
- package/es/lib/ResponsiveButtonGroup/useResponsiveButtonGroupSizing.js +6 -5
- package/es/lib/RichSelect/RichSelect.js +36 -31
- package/es/lib/RichSelect/useSelectedOption.js +2 -1
- package/es/lib/SASQLookupComponent/SASQLookupComponent.js +94 -91
- package/es/lib/SASQLookupComponent/SASQLookupComponent.test.js +36 -44
- package/es/lib/SASQLookupComponent/TableBody/TableBody.js +53 -42
- package/es/lib/SASQLookupComponent/TableBody/TableBody.test.js +23 -19
- package/es/lib/SASQRoute/SASQRoute.js +29 -25
- package/es/lib/SASQRoute/SASQRoute.test.js +13 -11
- package/es/lib/SASQViewComponent/SASQViewComponent.js +76 -68
- package/es/lib/SASQViewComponent/SASQViewComponent.test.js +8 -4
- package/es/lib/SearchField/SearchField.js +13 -7
- package/es/lib/SearchKeyControl/SearchKeyControl.js +13 -8
- package/es/lib/SearchKeyControl/SearchKeyControl.test.js +6 -2
- package/es/lib/Settings/EditableRefdataCategoryList/EditableRefdataCategoryList.js +46 -30
- package/es/lib/Settings/EditableRefdataList/EditableRefdataList.js +43 -33
- package/es/lib/Settings/EditableSettingsList/EditableSettingsListFieldArray/EditableSettingsListFieldArray.js +11 -7
- package/es/lib/Settings/EditableSettingsList/SettingField/EditSettingValue/EditSettingValue.js +20 -13
- package/es/lib/Settings/EditableSettingsList/SettingField/RenderSettingValue/RenderSettingValue.js +12 -10
- package/es/lib/Settings/EditableSettingsList/SettingField/SettingField.js +15 -10
- package/es/lib/Settings/EditableSettingsList/SettingField/SettingField.test.js +3 -3
- package/es/lib/Settings/RefdataCategoriesSettings/RefdataCategoriesSettings.js +26 -19
- package/es/lib/Settings/SettingPage/SettingPagePane/SettingPagePane.js +2 -2
- package/es/lib/Settings/Settings/Settings.js +178 -0
- package/es/lib/Settings/Settings/index.js +13 -0
- package/es/lib/Settings/SettingsFormContainer/SettingsFormContainer.js +35 -30
- package/es/lib/Settings/StaticSettingsField/StaticSettingsField.js +8 -5
- package/es/lib/Settings/StaticSettingsField/StaticSettingsFieldComponent/StaticSettingsFieldComponent.js +22 -18
- package/es/lib/Settings/hooks/staticSettingsPages/useSettingCallout/useSettingCallout.js +2 -2
- package/es/lib/Settings/hooks/staticSettingsPages/useSettingsSectionInitalValues/useSettingsSectionInitalValues.js +1 -1
- package/es/lib/Settings/hooks/staticSettingsPages/useStaticSettingsSection.js +7 -3
- package/es/lib/Settings/hooks/useAppSettings/useAppSettings.js +11 -7
- package/es/lib/Settings/hooks/useSettingSection/useSettingSection.js +22 -16
- package/es/lib/Settings/hooks/useSettings/useSettings.js +105 -85
- package/es/lib/Settings/index.js +8 -0
- package/es/lib/Tags/Tags.js +8 -5
- package/es/lib/Tags/hooks/useTags.js +1 -1
- package/es/lib/Tags/hooks/useTagsEnabled.js +3 -2
- package/es/lib/Tags/tagsConfig.js +1 -1
- package/es/lib/Typedown/Typedown.js +31 -21
- package/es/lib/hooks/__mocks__/index.js +7 -3
- package/es/lib/hooks/intlHooks/useIntlKeyStore/useIntlKeyStore.js +26 -20
- package/es/lib/hooks/intlHooks/useKintIntl/useKintIntl.js +34 -24
- package/es/lib/hooks/typedownHooks/useTypedown.js +12 -11
- package/es/lib/hooks/typedownHooks/useTypedownToggle.js +2 -2
- package/es/lib/hooks/useActionListRef.js +1 -1
- package/es/lib/hooks/useActiveElement.js +1 -1
- package/es/lib/hooks/useCustomProperties.js +10 -6
- package/es/lib/hooks/useHelperApp.js +16 -13
- package/es/lib/hooks/useKiwtFieldArray.js +8 -7
- package/es/lib/hooks/useKiwtSASQuery.js +19 -15
- package/es/lib/hooks/useLocalPageStore.js +10 -7
- package/es/lib/hooks/useModConfigEntries.js +2 -2
- package/es/lib/hooks/useMutateCustomProperties/useMutateCustomProperties.js +17 -10
- package/es/lib/hooks/useMutateGeneric/useMutateGeneric.js +2 -2
- package/es/lib/hooks/useMutateModConfigEntry.js +2 -2
- package/es/lib/hooks/useMutateRefdataCategory/useMutateRefdataCategory.js +21 -15
- package/es/lib/hooks/useMutateRefdataValue/useMutateRefdataValue.js +23 -16
- package/es/lib/hooks/usePrevNextPagination.js +19 -17
- package/es/lib/hooks/useQIndex.js +14 -11
- package/es/lib/hooks/useRefdata.js +3 -3
- package/es/lib/hooks/useStandaloneSASQQueryParameter/useStandaloneSASQQueryParameter.js +13 -9
- package/es/lib/hooks/useTemplates.js +4 -4
- package/es/lib/utils/buildUrl.js +3 -2
- package/es/lib/utils/filterParsers/deparseKiwtQueryFilters.js +5 -5
- package/es/lib/utils/filterParsers/parseKiwtQueryFilters.js +2 -2
- package/es/lib/utils/filterParsers/parseKiwtQueryGroups.js +5 -4
- package/es/lib/utils/filterParsers/parseKiwtQueryString.js +1 -1
- package/es/lib/utils/generateKiwtQueryParams/generateKiwtQueryParams.js +107 -94
- package/es/lib/utils/groupCustomPropertiesByCtx.js +9 -5
- package/es/lib/utils/matchString.js +7 -5
- package/es/lib/utils/parseErrorResponse.js +7 -3
- package/es/lib/utils/selectorSafe.js +3 -2
- package/es/lib/utils/sortByLabel.js +3 -2
- package/es/lib/validators/validators.js +9 -6
- 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 +215 -23
- package/src/artifacts/coverage-jest/ButtonTypedown/index.html +17 -17
- 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 +1 -1
- package/src/artifacts/coverage-jest/CustomProperties/Config/CustomPropertiesSettings.js.html +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +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 +1 -1
- 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 +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 +1 -1
- package/src/artifacts/coverage-jest/CustomProperties/Filter/useParseActiveFilterStrings.js.html +1 -1
- 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 +1 -1
- package/src/artifacts/coverage-jest/CustomProperties/View/CustomPropertyCard.js.html +1 -1
- 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 +1 -1
- package/src/artifacts/coverage-jest/CycleButton/index.html +1 -1
- package/src/artifacts/coverage-jest/CycleButton/index.js.html +1 -1
- package/src/artifacts/coverage-jest/FieldLabel/FieldLabel.js.html +1 -1
- package/src/artifacts/coverage-jest/FieldLabel/index.html +1 -1
- package/src/artifacts/coverage-jest/FieldLabel/index.js.html +1 -1
- package/src/artifacts/coverage-jest/FormModal/FormModal.js.html +1 -1
- package/src/artifacts/coverage-jest/FormModal/index.html +1 -1
- package/src/artifacts/coverage-jest/FormModal/index.js.html +1 -1
- package/src/artifacts/coverage-jest/FormattedKintMessage/FormattedKintMessage.js.html +1 -1
- package/src/artifacts/coverage-jest/FormattedKintMessage/index.html +1 -1
- package/src/artifacts/coverage-jest/FormattedKintMessage/index.js.html +1 -1
- package/src/artifacts/coverage-jest/IconSelect/IconSelect.js.html +1 -1
- package/src/artifacts/coverage-jest/IconSelect/index.html +1 -1
- package/src/artifacts/coverage-jest/IconSelect/index.js.html +1 -1
- package/src/artifacts/coverage-jest/NoResultsMessage/NoResultsMessage.js.html +1 -1
- package/src/artifacts/coverage-jest/NoResultsMessage/index.html +1 -1
- package/src/artifacts/coverage-jest/NoResultsMessage/index.js.html +1 -1
- package/src/artifacts/coverage-jest/NumberField/NumberField.js.html +15 -15
- package/src/artifacts/coverage-jest/NumberField/index.html +1 -1
- package/src/artifacts/coverage-jest/NumberField/index.js.html +1 -1
- package/src/artifacts/coverage-jest/QueryTypedown/QueryTypedown.js.html +1 -1
- package/src/artifacts/coverage-jest/QueryTypedown/index.html +1 -1
- package/src/artifacts/coverage-jest/QueryTypedown/index.js.html +1 -1
- package/src/artifacts/coverage-jest/RefdataButtons/RefdataButtons.js.html +1 -1
- package/src/artifacts/coverage-jest/RefdataButtons/index.html +1 -1
- package/src/artifacts/coverage-jest/RefdataButtons/index.js.html +1 -1
- package/src/artifacts/coverage-jest/ResponsiveButtonGroup/ResponsiveButtonGroup.js.html +1 -1
- package/src/artifacts/coverage-jest/ResponsiveButtonGroup/index.html +1 -1
- package/src/artifacts/coverage-jest/ResponsiveButtonGroup/index.js.html +1 -1
- package/src/artifacts/coverage-jest/ResponsiveButtonGroup/useResponsiveButtonGroupSizing.js.html +1 -1
- package/src/artifacts/coverage-jest/RichSelect/RichSelect.js.html +1 -1
- package/src/artifacts/coverage-jest/RichSelect/index.html +1 -1
- package/src/artifacts/coverage-jest/RichSelect/index.js.html +1 -1
- package/src/artifacts/coverage-jest/RichSelect/useSelectedOption.js.html +1 -1
- package/src/artifacts/coverage-jest/SASQLookupComponent/SASQLookupComponent.js.html +31 -31
- package/src/artifacts/coverage-jest/SASQLookupComponent/TableBody/TableBody.js.html +1 -1
- package/src/artifacts/coverage-jest/SASQLookupComponent/TableBody/index.html +1 -1
- package/src/artifacts/coverage-jest/SASQLookupComponent/TableBody/index.js.html +1 -1
- package/src/artifacts/coverage-jest/SASQLookupComponent/index.html +1 -1
- package/src/artifacts/coverage-jest/SASQLookupComponent/index.js.html +1 -1
- package/src/artifacts/coverage-jest/SASQRoute/SASQRoute.js.html +1 -1
- package/src/artifacts/coverage-jest/SASQRoute/index.html +1 -1
- package/src/artifacts/coverage-jest/SASQRoute/index.js.html +1 -1
- package/src/artifacts/coverage-jest/SASQViewComponent/SASQViewComponent.js.html +1 -1
- package/src/artifacts/coverage-jest/SASQViewComponent/index.html +1 -1
- package/src/artifacts/coverage-jest/SASQViewComponent/index.js.html +1 -1
- package/src/artifacts/coverage-jest/SearchField/SearchField.js.html +1 -1
- package/src/artifacts/coverage-jest/SearchField/index.html +1 -1
- package/src/artifacts/coverage-jest/SearchField/index.js.html +1 -1
- package/src/artifacts/coverage-jest/SearchKeyControl/SearchKeyControl.js.html +1 -1
- package/src/artifacts/coverage-jest/SearchKeyControl/index.html +1 -1
- package/src/artifacts/coverage-jest/SearchKeyControl/index.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/EditableRefdataCategoryList/EditableRefdataCategoryList.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/EditableRefdataCategoryList/index.html +1 -1
- package/src/artifacts/coverage-jest/Settings/EditableRefdataCategoryList/index.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/EditableRefdataList/EditableRefdataList.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/EditableRefdataList/index.html +1 -1
- package/src/artifacts/coverage-jest/Settings/EditableRefdataList/index.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/EditableSettingsList/EditableSettingsList.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/EditableSettingsList/EditableSettingsListFieldArray/EditableSettingsListFieldArray.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/EditableSettingsList/EditableSettingsListFieldArray/index.html +1 -1
- package/src/artifacts/coverage-jest/Settings/EditableSettingsList/EditableSettingsListFieldArray/index.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/EditableSettingsList/SettingField/EditSettingValue/EditSettingValue.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/EditableSettingsList/SettingField/EditSettingValue/index.html +1 -1
- package/src/artifacts/coverage-jest/Settings/EditableSettingsList/SettingField/EditSettingValue/index.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/EditableSettingsList/SettingField/RenderSettingValue/RenderSettingValue.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/EditableSettingsList/SettingField/RenderSettingValue/index.html +1 -1
- package/src/artifacts/coverage-jest/Settings/EditableSettingsList/SettingField/RenderSettingValue/index.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/EditableSettingsList/SettingField/SettingField.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/EditableSettingsList/SettingField/index.html +1 -1
- package/src/artifacts/coverage-jest/Settings/EditableSettingsList/SettingField/index.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/EditableSettingsList/index.html +1 -1
- package/src/artifacts/coverage-jest/Settings/EditableSettingsList/index.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/RefdataCategoriesSettings/RefdataCategoriesSettings.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/RefdataCategoriesSettings/index.html +1 -1
- package/src/artifacts/coverage-jest/Settings/RefdataCategoriesSettings/index.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/SettingPage/SettingPage.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/SettingPage/SettingPagePane/SettingPagePane.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/SettingPage/SettingPagePane/index.html +1 -1
- package/src/artifacts/coverage-jest/Settings/SettingPage/SettingPagePane/index.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/SettingPage/index.html +1 -1
- package/src/artifacts/coverage-jest/Settings/SettingPage/index.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/Settings/Settings.js.html +730 -0
- package/src/artifacts/coverage-jest/Settings/Settings/index.html +131 -0
- package/src/artifacts/coverage-jest/Settings/Settings/index.js.html +88 -0
- 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 +11 -11
- package/src/artifacts/coverage-jest/Settings/hooks/useSettings/index.js.html +1 -1
- package/src/artifacts/coverage-jest/Settings/hooks/useSettings/useSettings.js.html +118 -64
- package/src/artifacts/coverage-jest/Settings/index.html +1 -1
- package/src/artifacts/coverage-jest/Settings/index.js.html +11 -2
- 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 +13 -4
- package/src/artifacts/coverage-jest/Typedown/index.html +3 -3
- package/src/artifacts/coverage-jest/Typedown/index.js.html +1 -1
- package/src/artifacts/coverage-jest/cobertura-coverage.xml +457 -284
- 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 +1 -1
- 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 +7 -7
- package/src/artifacts/coverage-jest/hooks/intlHooks/useIntlKeyStore/index.html +1 -1
- package/src/artifacts/coverage-jest/hooks/intlHooks/useIntlKeyStore/index.js.html +1 -1
- package/src/artifacts/coverage-jest/hooks/intlHooks/useIntlKeyStore/useIntlKeyStore.js.html +6 -6
- package/src/artifacts/coverage-jest/hooks/intlHooks/useKintIntl/index.html +1 -1
- package/src/artifacts/coverage-jest/hooks/intlHooks/useKintIntl/index.js.html +1 -1
- package/src/artifacts/coverage-jest/hooks/intlHooks/useKintIntl/useKintIntl.js.html +6 -6
- 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/useCustomProperties.js.html +1 -1
- package/src/artifacts/coverage-jest/hooks/useHelperApp.js.html +1 -1
- package/src/artifacts/coverage-jest/hooks/useInvalidateRefdata/index.html +1 -1
- package/src/artifacts/coverage-jest/hooks/useInvalidateRefdata/index.js.html +1 -1
- package/src/artifacts/coverage-jest/hooks/useInvalidateRefdata/useInvalidateRefdata.js.html +1 -1
- package/src/artifacts/coverage-jest/hooks/useKiwtFieldArray.js.html +1 -1
- package/src/artifacts/coverage-jest/hooks/useKiwtSASQuery.js.html +9 -9
- package/src/artifacts/coverage-jest/hooks/useLocalPageStore.js.html +1 -1
- package/src/artifacts/coverage-jest/hooks/useLocalStorageState.js.html +5 -5
- package/src/artifacts/coverage-jest/hooks/useModConfigEntries.js.html +1 -1
- package/src/artifacts/coverage-jest/hooks/useMutateCustomProperties/index.html +1 -1
- package/src/artifacts/coverage-jest/hooks/useMutateCustomProperties/index.js.html +1 -1
- package/src/artifacts/coverage-jest/hooks/useMutateCustomProperties/useMutateCustomProperties.js.html +1 -1
- package/src/artifacts/coverage-jest/hooks/useMutateGeneric/index.html +1 -1
- package/src/artifacts/coverage-jest/hooks/useMutateGeneric/index.js.html +1 -1
- package/src/artifacts/coverage-jest/hooks/useMutateGeneric/useMutateGeneric.js.html +1 -1
- package/src/artifacts/coverage-jest/hooks/useMutateModConfigEntry.js.html +1 -1
- package/src/artifacts/coverage-jest/hooks/useMutateRefdataCategory/index.html +1 -1
- package/src/artifacts/coverage-jest/hooks/useMutateRefdataCategory/index.js.html +1 -1
- package/src/artifacts/coverage-jest/hooks/useMutateRefdataCategory/useMutateRefdataCategory.js.html +1 -1
- package/src/artifacts/coverage-jest/hooks/useMutateRefdataValue/index.html +1 -1
- package/src/artifacts/coverage-jest/hooks/useMutateRefdataValue/index.js.html +1 -1
- package/src/artifacts/coverage-jest/hooks/useMutateRefdataValue/useMutateRefdataValue.js.html +1 -1
- package/src/artifacts/coverage-jest/hooks/usePrevNextPagination.js.html +20 -20
- package/src/artifacts/coverage-jest/hooks/useQIndex.js.html +8 -8
- package/src/artifacts/coverage-jest/hooks/useRefdata.js.html +1 -1
- package/src/artifacts/coverage-jest/hooks/useSASQQueryMeta.js.html +1 -1
- package/src/artifacts/coverage-jest/hooks/useStandaloneSASQQueryParameter/index.html +1 -1
- package/src/artifacts/coverage-jest/hooks/useStandaloneSASQQueryParameter/index.js.html +1 -1
- package/src/artifacts/coverage-jest/hooks/useStandaloneSASQQueryParameter/useStandaloneSASQQueryParameter.js.html +1 -1
- package/src/artifacts/coverage-jest/hooks/useTemplates.js.html +1 -1
- package/src/artifacts/coverage-jest/index.html +40 -25
- 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 +1 -1
- package/src/artifacts/coverage-jest/utils/generateKiwtQueryParams/index.html +1 -1
- 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/highlightString.js.html +1 -1
- package/src/artifacts/coverage-jest/utils/index.html +1 -1
- package/src/artifacts/coverage-jest/utils/index.js.html +1 -1
- package/src/artifacts/coverage-jest/utils/matchString.js.html +1 -1
- package/src/artifacts/coverage-jest/utils/modConfigEntriesQueryKey.js.html +1 -1
- package/src/artifacts/coverage-jest/utils/parseErrorResponse.js.html +1 -1
- package/src/artifacts/coverage-jest/utils/parseModConfigEntry.js.html +1 -1
- package/src/artifacts/coverage-jest/utils/refdataOptions.js.html +1 -1
- package/src/artifacts/coverage-jest/utils/refdataQueryKey/index.html +1 -1
- package/src/artifacts/coverage-jest/utils/refdataQueryKey/index.js.html +1 -1
- package/src/artifacts/coverage-jest/utils/refdataQueryKey/refdataQueryKey.js.html +1 -1
- package/src/artifacts/coverage-jest/utils/selectorSafe.js.html +1 -1
- package/src/artifacts/coverage-jest/utils/sortByLabel.js.html +1 -1
- package/src/artifacts/coverage-jest/utils/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/ButtonTypedown/ButtonTypedown.js +77 -13
- package/src/lib/Settings/Settings/Settings.js +215 -0
- package/src/lib/Settings/Settings/index.js +1 -0
- package/src/lib/Settings/hooks/useSettings/README.md +49 -19
- package/src/lib/Settings/hooks/useSettings/useSettings.js +64 -46
- package/src/lib/Settings/index.js +3 -0
- package/src/lib/Typedown/Typedown.js +4 -1
- package/styles/TypeDown.css +2 -2
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
74
74
|
Code coverage generated by
|
|
75
75
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
76
|
-
at 2026-
|
|
76
|
+
at 2026-03-06T00:03:21.988Z
|
|
77
77
|
</div>
|
|
78
78
|
<script src="../../../prettify.js"></script>
|
|
79
79
|
<script>
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
<div class='clearfix'>
|
|
24
24
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
|
-
<span class="strong">
|
|
26
|
+
<span class="strong">3.94% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>
|
|
28
|
+
<span class='fraction'>3/76</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
|
-
<span class="strong">1
|
|
47
|
+
<span class="strong">4.1% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>
|
|
49
|
+
<span class='fraction'>3/73</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -307,7 +307,25 @@
|
|
|
307
307
|
<a name='L242'></a><a href='#L242'>242</a>
|
|
308
308
|
<a name='L243'></a><a href='#L243'>243</a>
|
|
309
309
|
<a name='L244'></a><a href='#L244'>244</a>
|
|
310
|
-
<a name='L245'></a><a href='#L245'>245</a
|
|
310
|
+
<a name='L245'></a><a href='#L245'>245</a>
|
|
311
|
+
<a name='L246'></a><a href='#L246'>246</a>
|
|
312
|
+
<a name='L247'></a><a href='#L247'>247</a>
|
|
313
|
+
<a name='L248'></a><a href='#L248'>248</a>
|
|
314
|
+
<a name='L249'></a><a href='#L249'>249</a>
|
|
315
|
+
<a name='L250'></a><a href='#L250'>250</a>
|
|
316
|
+
<a name='L251'></a><a href='#L251'>251</a>
|
|
317
|
+
<a name='L252'></a><a href='#L252'>252</a>
|
|
318
|
+
<a name='L253'></a><a href='#L253'>253</a>
|
|
319
|
+
<a name='L254'></a><a href='#L254'>254</a>
|
|
320
|
+
<a name='L255'></a><a href='#L255'>255</a>
|
|
321
|
+
<a name='L256'></a><a href='#L256'>256</a>
|
|
322
|
+
<a name='L257'></a><a href='#L257'>257</a>
|
|
323
|
+
<a name='L258'></a><a href='#L258'>258</a>
|
|
324
|
+
<a name='L259'></a><a href='#L259'>259</a>
|
|
325
|
+
<a name='L260'></a><a href='#L260'>260</a>
|
|
326
|
+
<a name='L261'></a><a href='#L261'>261</a>
|
|
327
|
+
<a name='L262'></a><a href='#L262'>262</a>
|
|
328
|
+
<a name='L263'></a><a href='#L263'>263</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
311
329
|
<span class="cline-any cline-neutral"> </span>
|
|
312
330
|
<span class="cline-any cline-neutral"> </span>
|
|
313
331
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -322,6 +340,20 @@
|
|
|
322
340
|
<span class="cline-any cline-neutral"> </span>
|
|
323
341
|
<span class="cline-any cline-neutral"> </span>
|
|
324
342
|
<span class="cline-any cline-neutral"> </span>
|
|
343
|
+
<span class="cline-any cline-neutral"> </span>
|
|
344
|
+
<span class="cline-any cline-neutral"> </span>
|
|
345
|
+
<span class="cline-any cline-yes">27x</span>
|
|
346
|
+
<span class="cline-any cline-no"> </span>
|
|
347
|
+
<span class="cline-any cline-neutral"> </span>
|
|
348
|
+
<span class="cline-any cline-neutral"> </span>
|
|
349
|
+
<span class="cline-any cline-neutral"> </span>
|
|
350
|
+
<span class="cline-any cline-neutral"> </span>
|
|
351
|
+
<span class="cline-any cline-yes">27x</span>
|
|
352
|
+
<span class="cline-any cline-neutral"> </span>
|
|
353
|
+
<span class="cline-any cline-neutral"> </span>
|
|
354
|
+
<span class="cline-any cline-neutral"> </span>
|
|
355
|
+
<span class="cline-any cline-neutral"> </span>
|
|
356
|
+
<span class="cline-any cline-neutral"> </span>
|
|
325
357
|
<span class="cline-any cline-yes">27x</span>
|
|
326
358
|
<span class="cline-any cline-neutral"> </span>
|
|
327
359
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -341,11 +373,19 @@
|
|
|
341
373
|
<span class="cline-any cline-neutral"> </span>
|
|
342
374
|
<span class="cline-any cline-neutral"> </span>
|
|
343
375
|
<span class="cline-any cline-neutral"> </span>
|
|
376
|
+
<span class="cline-any cline-neutral"> </span>
|
|
377
|
+
<span class="cline-any cline-neutral"> </span>
|
|
378
|
+
<span class="cline-any cline-neutral"> </span>
|
|
379
|
+
<span class="cline-any cline-neutral"> </span>
|
|
380
|
+
<span class="cline-any cline-neutral"> </span>
|
|
381
|
+
<span class="cline-any cline-neutral"> </span>
|
|
382
|
+
<span class="cline-any cline-neutral"> </span>
|
|
344
383
|
<span class="cline-any cline-no"> </span>
|
|
345
384
|
<span class="cline-any cline-neutral"> </span>
|
|
346
385
|
<span class="cline-any cline-no"> </span>
|
|
347
386
|
<span class="cline-any cline-no"> </span>
|
|
348
387
|
<span class="cline-any cline-no"> </span>
|
|
388
|
+
<span class="cline-any cline-no"> </span>
|
|
349
389
|
<span class="cline-any cline-neutral"> </span>
|
|
350
390
|
<span class="cline-any cline-neutral"> </span>
|
|
351
391
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -461,15 +501,6 @@
|
|
|
461
501
|
<span class="cline-any cline-no"> </span>
|
|
462
502
|
<span class="cline-any cline-no"> </span>
|
|
463
503
|
<span class="cline-any cline-no"> </span>
|
|
464
|
-
<span class="cline-any cline-no"> </span>
|
|
465
|
-
<span class="cline-any cline-no"> </span>
|
|
466
|
-
<span class="cline-any cline-neutral"> </span>
|
|
467
|
-
<span class="cline-any cline-neutral"> </span>
|
|
468
|
-
<span class="cline-any cline-neutral"> </span>
|
|
469
|
-
<span class="cline-any cline-neutral"> </span>
|
|
470
|
-
<span class="cline-any cline-neutral"> </span>
|
|
471
|
-
<span class="cline-any cline-neutral"> </span>
|
|
472
|
-
<span class="cline-any cline-neutral"> </span>
|
|
473
504
|
<span class="cline-any cline-neutral"> </span>
|
|
474
505
|
<span class="cline-any cline-neutral"> </span>
|
|
475
506
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -477,20 +508,23 @@
|
|
|
477
508
|
<span class="cline-any cline-neutral"> </span>
|
|
478
509
|
<span class="cline-any cline-neutral"> </span>
|
|
479
510
|
<span class="cline-any cline-no"> </span>
|
|
511
|
+
<span class="cline-any cline-no"> </span>
|
|
512
|
+
<span class="cline-any cline-no"> </span>
|
|
480
513
|
<span class="cline-any cline-neutral"> </span>
|
|
514
|
+
<span class="cline-any cline-no"> </span>
|
|
481
515
|
<span class="cline-any cline-neutral"> </span>
|
|
482
516
|
<span class="cline-any cline-neutral"> </span>
|
|
483
517
|
<span class="cline-any cline-neutral"> </span>
|
|
484
518
|
<span class="cline-any cline-neutral"> </span>
|
|
485
|
-
<span class="cline-any cline-neutral"> </span>
|
|
486
|
-
<span class="cline-any cline-no"> </span>
|
|
487
519
|
<span class="cline-any cline-no"> </span>
|
|
488
520
|
<span class="cline-any cline-no"> </span>
|
|
489
|
-
<span class="cline-any cline-neutral"> </span>
|
|
490
521
|
<span class="cline-any cline-no"> </span>
|
|
491
522
|
<span class="cline-any cline-no"> </span>
|
|
492
523
|
<span class="cline-any cline-neutral"> </span>
|
|
493
524
|
<span class="cline-any cline-neutral"> </span>
|
|
525
|
+
<span class="cline-any cline-neutral"> </span>
|
|
526
|
+
<span class="cline-any cline-neutral"> </span>
|
|
527
|
+
<span class="cline-any cline-neutral"> </span>
|
|
494
528
|
<span class="cline-any cline-no"> </span>
|
|
495
529
|
<span class="cline-any cline-neutral"> </span>
|
|
496
530
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -498,6 +532,7 @@
|
|
|
498
532
|
<span class="cline-any cline-neutral"> </span>
|
|
499
533
|
<span class="cline-any cline-neutral"> </span>
|
|
500
534
|
<span class="cline-any cline-neutral"> </span>
|
|
535
|
+
<span class="cline-any cline-neutral"> </span>
|
|
501
536
|
<span class="cline-any cline-no"> </span>
|
|
502
537
|
<span class="cline-any cline-neutral"> </span>
|
|
503
538
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -551,24 +586,46 @@
|
|
|
551
586
|
<span class="cline-any cline-neutral"> </span>
|
|
552
587
|
<span class="cline-any cline-neutral"> </span>
|
|
553
588
|
<span class="cline-any cline-neutral"> </span>
|
|
589
|
+
<span class="cline-any cline-neutral"> </span>
|
|
554
590
|
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">import { useCallback, useEffect, useMemo, useState } from 'react';
|
|
555
591
|
import PropTypes from 'prop-types';
|
|
556
|
-
|
|
557
592
|
import { useQueries } from 'react-query';
|
|
593
|
+
|
|
558
594
|
import { useOkapiKy, useStripes } from '@folio/stripes/core';
|
|
559
595
|
|
|
560
|
-
|
|
596
|
+
// We have swapped from the stripes-smart components settings page to our own internal one.
|
|
597
|
+
// I'd honestly prefer to redo it all but at least this way we're in control
|
|
598
|
+
// import { Settings } from '@folio/stripes/smart-components';
|
|
599
|
+
import Settings from '../../Settings';
|
|
561
600
|
|
|
562
601
|
import { SettingPage, SettingPagePane } from '../../SettingPage';
|
|
563
602
|
import { SettingsContext } from '../../contexts';
|
|
564
603
|
|
|
565
604
|
import { generateKiwtQueryParams, sortByLabel, toCamelCase } from '../../../utils';
|
|
566
|
-
import {
|
|
605
|
+
import { useIntlKey, useKintIntl } from '../../../hooks';
|
|
606
|
+
|
|
607
|
+
const InternalSettingsContextProvider = <span class="fstat-no" title="function not covered" >({</span> children, contextValue }) => (
|
|
608
|
+
<span class="cstat-no" title="statement not covered" > <SettingsContext.Provider value={contextValue}></span>
|
|
609
|
+
{children}
|
|
610
|
+
</SettingsContext.Provider>
|
|
611
|
+
);
|
|
612
|
+
|
|
613
|
+
InternalSettingsContextProvider.propTypes = {
|
|
614
|
+
children: PropTypes.oneOfType([PropTypes.node, PropTypes.func]),
|
|
615
|
+
contextValue: PropTypes.object,
|
|
616
|
+
};
|
|
567
617
|
|
|
568
618
|
// TODO work underway to make the settings hook more useful when trying to render multiple sections at a time
|
|
569
619
|
const useSettings = <span class="fstat-no" title="function not covered" >(s</span>ettingsProps = <span class="branch-0 cbranch-no" title="branch not covered" >{})</span> => {
|
|
570
620
|
const {
|
|
571
621
|
allowGlobalEdit = <span class="branch-0 cbranch-no" title="branch not covered" >true,</span>
|
|
622
|
+
// DEPRECATED This prop will eventually be set to FALSE in a breaking change.
|
|
623
|
+
// This is a LEGACY prop, which ensured each page had context pre-wrapped.
|
|
624
|
+
// This is NOT required while using Settings component within kint-components
|
|
625
|
+
// to render dynamic pages, but the dynamic pages break if context is missing with
|
|
626
|
+
// the stripes smart components model
|
|
627
|
+
// Turn this OFF if having difficulties with settings page redraws (When using SASQ in particular)
|
|
628
|
+
contextPerPage = <span class="branch-0 cbranch-no" title="branch not covered" >true,</span>
|
|
572
629
|
dynamicPageExclusions,
|
|
573
630
|
intlKey: passedIntlKey,
|
|
574
631
|
intlNS: passedIntlNS,
|
|
@@ -590,6 +647,7 @@ const useSettings = <span class="fstat-no" title="function not covered" >(s</spa
|
|
|
590
647
|
const ky = <span class="cstat-no" title="statement not covered" >useOkapiKy();</span>
|
|
591
648
|
const stripes = <span class="cstat-no" title="statement not covered" >useStripes();</span>
|
|
592
649
|
const kintIntl = <span class="cstat-no" title="statement not covered" >useKintIntl(passedIntlKey, passedIntlNS);</span>
|
|
650
|
+
const intlKey = <span class="cstat-no" title="statement not covered" >useIntlKey(passedIntlKey, passedIntlNS);</span>
|
|
593
651
|
|
|
594
652
|
// Set up array of queryParams, pageLists etc etc ready for us to do all the work in a single place
|
|
595
653
|
|
|
@@ -704,47 +762,42 @@ const useSettings = <span class="fstat-no" title="function not covered" >(s</spa
|
|
|
704
762
|
|
|
705
763
|
const finalSections = <span class="cstat-no" title="statement not covered" >useMemo(<span class="fstat-no" title="function not covered" >()</span> => {</span>
|
|
706
764
|
<span class="cstat-no" title="statement not covered" > return sectionMetaArray.map((<span class="fstat-no" title="function not covered" >(s</span>ma, idx) => {</span>
|
|
707
|
-
const
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
intlKey: sma.intlKey ?? intlKey, // This is only here for backwards compatibility... is now grabbed from useIntlKey instead of what's passed in directly
|
|
713
|
-
refdataEndpoint: sma.refdataEndpoint ?? refdataEndpoint,
|
|
714
|
-
settingEndpoint: sma.settingEndpoint ?? settingEndpoint,
|
|
715
|
-
templateEndpoint: sma.templateEndpoint ?? templateEndpoint,
|
|
716
|
-
}}
|
|
717
|
-
>
|
|
718
|
-
{children}
|
|
719
|
-
</SettingsContext.Provider>
|
|
720
|
-
);
|
|
721
|
-
};
|
|
722
|
-
|
|
723
|
-
<span class="cstat-no" title="statement not covered" > SettingsContextProvider.propTypes = {</span>
|
|
724
|
-
children: PropTypes.oneOfType([
|
|
725
|
-
PropTypes.func,
|
|
726
|
-
PropTypes.node
|
|
727
|
-
])
|
|
765
|
+
const contextValue = <span class="cstat-no" title="statement not covered" >{</span>
|
|
766
|
+
intlKey: sma.intlKey ?? intlKey, // This is only here for backwards compatibility... is now grabbed from useIntlKey instead of what's passed in directly
|
|
767
|
+
refdataEndpoint: sma.refdataEndpoint ?? refdataEndpoint,
|
|
768
|
+
settingEndpoint: sma.settingEndpoint ?? settingEndpoint,
|
|
769
|
+
templateEndpoint: sma.templateEndpoint ?? templateEndpoint,
|
|
728
770
|
};
|
|
729
771
|
|
|
730
772
|
const finalPermission = <span class="cstat-no" title="statement not covered" >sma.sectionPermission ?? sectionPermission;</span>
|
|
731
773
|
<span class="cstat-no" title="statement not covered" > if (!finalPermission || stripes.hasPerm(finalPermission)) {</span>
|
|
732
774
|
const dynamicPagesFromQueryReturn = <span class="cstat-no" title="statement not covered" >getDynamicPages(queryReturnArray[idx], sma);</span>
|
|
733
775
|
|
|
734
|
-
const finalPages = <span class="cstat-no" title="statement not covered" >sma.pages ?? pages
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
<span class="
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
776
|
+
const finalPages = <span class="cstat-no" title="statement not covered" >sma.pages ?? pages ??</span>
|
|
777
|
+
(sma.persistentPages ?? persistentPages)
|
|
778
|
+
.concat(dynamicPagesFromQueryReturn.dynamic)
|
|
779
|
+
.sort(sortByLabel)
|
|
780
|
+
.map(<span class="fstat-no" title="function not covered" >(p</span>) => {
|
|
781
|
+
let component = <span class="cstat-no" title="statement not covered" >p.component;</span>
|
|
782
|
+
<span class="cstat-no" title="statement not covered" > if (contextPerPage) {</span>
|
|
783
|
+
<span class="cstat-no" title="statement not covered" > component = <span class="fstat-no" title="function not covered" >(c</span>props) => (</span>
|
|
784
|
+
<span class="cstat-no" title="statement not covered" > <InternalSettingsContextProvider contextValue={contextValue}></span>
|
|
785
|
+
<p.component {...cprops} />
|
|
786
|
+
</InternalSettingsContextProvider>
|
|
787
|
+
);
|
|
788
|
+
}
|
|
789
|
+
|
|
790
|
+
<span class="cstat-no" title="statement not covered" > return {</span>
|
|
791
|
+
...p,
|
|
792
|
+
component,
|
|
793
|
+
Provider: InternalSettingsContextProvider,
|
|
794
|
+
contextValue,
|
|
795
|
+
};
|
|
796
|
+
});
|
|
744
797
|
|
|
745
798
|
<span class="cstat-no" title="statement not covered" > return {</span>
|
|
746
799
|
...sma,
|
|
747
|
-
SettingsContextProvider,
|
|
800
|
+
SettingsContextProvider: InternalSettingsContextProvider,
|
|
748
801
|
...dynamicPagesFromQueryReturn,
|
|
749
802
|
pageList: finalPages, // DEPRECATED Here for backwards compatibility
|
|
750
803
|
pages: finalPages // ASSUMPTION MADE THAT INDICES REMAIN THE SAME
|
|
@@ -752,49 +805,50 @@ const useSettings = <span class="fstat-no" title="function not covered" >(s</spa
|
|
|
752
805
|
}
|
|
753
806
|
<span class="cstat-no" title="statement not covered" > return null;</span>
|
|
754
807
|
})).filter(Boolean);
|
|
755
|
-
}, [
|
|
808
|
+
}, [contextPerPage, getDynamicPages, intlKey, pages, persistentPages, queryReturnArray, refdataEndpoint, sectionMetaArray, sectionPermission, settingEndpoint, stripes, templateEndpoint]);
|
|
756
809
|
|
|
757
|
-
const
|
|
810
|
+
const outputPages = <span class="cstat-no" title="statement not covered" >useMemo(<span class="fstat-no" title="function not covered" >()</span> => {</span>
|
|
758
811
|
let finalPages = <span class="cstat-no" title="statement not covered" >null;</span>
|
|
759
|
-
<span class="cstat-no" title="statement not covered" > if (finalSections
|
|
812
|
+
<span class="cstat-no" title="statement not covered" > if (finalSections?.length === 1 && !renderSingleSection) {</span>
|
|
760
813
|
<span class="cstat-no" title="statement not covered" > finalPages = pages ?? finalSections[0].pages;</span>
|
|
761
814
|
}
|
|
762
815
|
|
|
763
816
|
<span class="cstat-no" title="statement not covered" > return finalPages;</span>
|
|
764
817
|
}, [finalSections, pages, renderSingleSection]);
|
|
765
818
|
|
|
766
|
-
const
|
|
819
|
+
const outputSections = <span class="cstat-no" title="statement not covered" >useMemo(<span class="fstat-no" title="function not covered" >()</span> => {</span>
|
|
767
820
|
<span class="cstat-no" title="statement not covered" > if (finalSections.length > 1 || (finalSections.length === 1 && renderSingleSection)) {</span>
|
|
768
821
|
<span class="cstat-no" title="statement not covered" > return finalSections;</span>
|
|
769
822
|
}
|
|
770
823
|
<span class="cstat-no" title="statement not covered" > return null;</span>
|
|
771
824
|
}, [finalSections, renderSingleSection]);
|
|
772
825
|
|
|
773
|
-
const SettingsComponent = <span class="cstat-no" title="statement not covered"
|
|
826
|
+
const SettingsComponent = <span class="cstat-no" title="statement not covered" >useCallback(<span class="fstat-no" title="function not covered" >(p</span>rops) => {</span>
|
|
774
827
|
<span class="cstat-no" title="statement not covered" > return (</span>
|
|
775
828
|
<Settings
|
|
776
|
-
pages={
|
|
829
|
+
pages={outputPages}
|
|
777
830
|
paneTitle={
|
|
778
831
|
kintIntl.formatKintMessage({
|
|
779
832
|
id: 'meta.title'
|
|
780
833
|
})}
|
|
781
|
-
sections={
|
|
834
|
+
sections={outputSections}
|
|
782
835
|
{...props}
|
|
783
836
|
/>
|
|
784
837
|
);
|
|
785
|
-
};
|
|
838
|
+
}, [kintIntl, outputPages, outputSections]);
|
|
786
839
|
|
|
787
840
|
<span class="cstat-no" title="statement not covered" > return {</span>
|
|
788
841
|
isLoading,
|
|
789
|
-
pageList,
|
|
790
|
-
sections:
|
|
842
|
+
pageList: outputPages,
|
|
843
|
+
sections: outputSections,
|
|
791
844
|
SettingsComponent,
|
|
792
845
|
// This doesn't make much sense if there is more than one section, here to avoid breaking changes
|
|
793
|
-
SettingsContextProvider: (finalSections
|
|
846
|
+
SettingsContextProvider: (finalSections?.length === 1) ? finalSections[0].SettingsContextProvider : <span class="fstat-no" title="function not covered" >({</span> children }) => <span class="cstat-no" title="statement not covered" ><> { children } </></span>
|
|
794
847
|
};
|
|
795
848
|
};
|
|
796
849
|
|
|
797
850
|
export default useSettings;
|
|
851
|
+
|
|
798
852
|
</pre></td></tr></table></pre>
|
|
799
853
|
|
|
800
854
|
<div class='push'></div><!-- for sticky footer -->
|
|
@@ -802,7 +856,7 @@ export default useSettings;
|
|
|
802
856
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
803
857
|
Code coverage generated by
|
|
804
858
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
805
|
-
at 2026-
|
|
859
|
+
at 2026-03-06T00:03:21.988Z
|
|
806
860
|
</div>
|
|
807
861
|
<script src="../../../prettify.js"></script>
|
|
808
862
|
<script>
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
102
102
|
Code coverage generated by
|
|
103
103
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
104
|
-
at 2026-
|
|
104
|
+
at 2026-03-06T00:03:21.988Z
|
|
105
105
|
</div>
|
|
106
106
|
<script src="../prettify.js"></script>
|
|
107
107
|
<script>
|
|
@@ -91,7 +91,13 @@
|
|
|
91
91
|
<a name='L26'></a><a href='#L26'>26</a>
|
|
92
92
|
<a name='L27'></a><a href='#L27'>27</a>
|
|
93
93
|
<a name='L28'></a><a href='#L28'>28</a>
|
|
94
|
-
<a name='L29'></a><a href='#L29'>29</a
|
|
94
|
+
<a name='L29'></a><a href='#L29'>29</a>
|
|
95
|
+
<a name='L30'></a><a href='#L30'>30</a>
|
|
96
|
+
<a name='L31'></a><a href='#L31'>31</a>
|
|
97
|
+
<a name='L32'></a><a href='#L32'>32</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
98
|
+
<span class="cline-any cline-neutral"> </span>
|
|
99
|
+
<span class="cline-any cline-neutral"> </span>
|
|
100
|
+
<span class="cline-any cline-neutral"> </span>
|
|
95
101
|
<span class="cline-any cline-neutral"> </span>
|
|
96
102
|
<span class="cline-any cline-neutral"> </span>
|
|
97
103
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -130,6 +136,9 @@ export {
|
|
|
130
136
|
SettingPagePane,
|
|
131
137
|
} from './SettingPage';
|
|
132
138
|
|
|
139
|
+
// Internal replacement for stripes-smart-components Settings component
|
|
140
|
+
export { default as Settings } from './Settings';
|
|
141
|
+
|
|
133
142
|
// EditableSettingsList
|
|
134
143
|
export * from './EditableSettingsList';
|
|
135
144
|
|
|
@@ -154,7 +163,7 @@ export * from './constants';
|
|
|
154
163
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
155
164
|
Code coverage generated by
|
|
156
165
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
157
|
-
at 2026-
|
|
166
|
+
at 2026-03-06T00:03:21.988Z
|
|
158
167
|
</div>
|
|
159
168
|
<script src="../prettify.js"></script>
|
|
160
169
|
<script>
|
|
@@ -505,7 +505,7 @@ export default Tags;
|
|
|
505
505
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
506
506
|
Code coverage generated by
|
|
507
507
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
508
|
-
at 2026-
|
|
508
|
+
at 2026-03-06T00:03:21.988Z
|
|
509
509
|
</div>
|
|
510
510
|
<script src="../prettify.js"></script>
|
|
511
511
|
<script>
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
132
132
|
Code coverage generated by
|
|
133
133
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
134
|
-
at 2026-
|
|
134
|
+
at 2026-03-06T00:03:21.988Z
|
|
135
135
|
</div>
|
|
136
136
|
<script src="../../prettify.js"></script>
|
|
137
137
|
<script>
|
|
@@ -76,7 +76,7 @@ export { default as useTags } from './useTags';
|
|
|
76
76
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
77
77
|
Code coverage generated by
|
|
78
78
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
79
|
-
at 2026-
|
|
79
|
+
at 2026-03-06T00:03:21.988Z
|
|
80
80
|
</div>
|
|
81
81
|
<script src="../../prettify.js"></script>
|
|
82
82
|
<script>
|
|
@@ -118,7 +118,7 @@ export default useTags;
|
|
|
118
118
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
119
119
|
Code coverage generated by
|
|
120
120
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
121
|
-
at 2026-
|
|
121
|
+
at 2026-03-06T00:03:21.988Z
|
|
122
122
|
</div>
|
|
123
123
|
<script src="../../prettify.js"></script>
|
|
124
124
|
<script>
|
|
@@ -265,7 +265,7 @@ export default useTagsEnabled;
|
|
|
265
265
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
266
266
|
Code coverage generated by
|
|
267
267
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
268
|
-
at 2026-
|
|
268
|
+
at 2026-03-06T00:03:21.988Z
|
|
269
269
|
</div>
|
|
270
270
|
<script src="../../prettify.js"></script>
|
|
271
271
|
<script>
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
132
132
|
Code coverage generated by
|
|
133
133
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
134
|
-
at 2026-
|
|
134
|
+
at 2026-03-06T00:03:21.988Z
|
|
135
135
|
</div>
|
|
136
136
|
<script src="../prettify.js"></script>
|
|
137
137
|
<script>
|
|
@@ -82,7 +82,7 @@ export * from './hooks';
|
|
|
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-
|
|
85
|
+
at 2026-03-06T00:03:21.988Z
|
|
86
86
|
</div>
|
|
87
87
|
<script src="../prettify.js"></script>
|
|
88
88
|
<script>
|
|
@@ -118,7 +118,7 @@ export {
|
|
|
118
118
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
119
119
|
Code coverage generated by
|
|
120
120
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
121
|
-
at 2026-
|
|
121
|
+
at 2026-03-06T00:03:21.988Z
|
|
122
122
|
</div>
|
|
123
123
|
<script src="../prettify.js"></script>
|
|
124
124
|
<script>
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
33
|
<span class="strong">0% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>0/
|
|
35
|
+
<span class='fraction'>0/49</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
@@ -415,7 +415,10 @@
|
|
|
415
415
|
<a name='L350'></a><a href='#L350'>350</a>
|
|
416
416
|
<a name='L351'></a><a href='#L351'>351</a>
|
|
417
417
|
<a name='L352'></a><a href='#L352'>352</a>
|
|
418
|
-
<a name='L353'></a><a href='#L353'>353</a
|
|
418
|
+
<a name='L353'></a><a href='#L353'>353</a>
|
|
419
|
+
<a name='L354'></a><a href='#L354'>354</a>
|
|
420
|
+
<a name='L355'></a><a href='#L355'>355</a>
|
|
421
|
+
<a name='L356'></a><a href='#L356'>356</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
419
422
|
<span class="cline-any cline-neutral"> </span>
|
|
420
423
|
<span class="cline-any cline-neutral"> </span>
|
|
421
424
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -453,6 +456,7 @@
|
|
|
453
456
|
<span class="cline-any cline-neutral"> </span>
|
|
454
457
|
<span class="cline-any cline-neutral"> </span>
|
|
455
458
|
<span class="cline-any cline-neutral"> </span>
|
|
459
|
+
<span class="cline-any cline-neutral"> </span>
|
|
456
460
|
<span class="cline-any cline-no"> </span>
|
|
457
461
|
<span class="cline-any cline-no"> </span>
|
|
458
462
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -568,6 +572,7 @@
|
|
|
568
572
|
<span class="cline-any cline-neutral"> </span>
|
|
569
573
|
<span class="cline-any cline-neutral"> </span>
|
|
570
574
|
<span class="cline-any cline-neutral"> </span>
|
|
575
|
+
<span class="cline-any cline-neutral"> </span>
|
|
571
576
|
<span class="cline-any cline-no"> </span>
|
|
572
577
|
<span class="cline-any cline-no"> </span>
|
|
573
578
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -734,6 +739,7 @@
|
|
|
734
739
|
<span class="cline-any cline-neutral"> </span>
|
|
735
740
|
<span class="cline-any cline-neutral"> </span>
|
|
736
741
|
<span class="cline-any cline-neutral"> </span>
|
|
742
|
+
<span class="cline-any cline-neutral"> </span>
|
|
737
743
|
<span class="cline-any cline-yes">27x</span>
|
|
738
744
|
<span class="cline-any cline-neutral"> </span>
|
|
739
745
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -786,6 +792,7 @@ const Typedown = <span class="fstat-no" title="function not covered" >({</span>
|
|
|
786
792
|
dataOptions,
|
|
787
793
|
displayClearItem = <span class="branch-0 cbranch-no" title="branch not covered" >true,</span>
|
|
788
794
|
displayValueWhileOpen = <span class="branch-0 cbranch-no" title="branch not covered" >true,</span>
|
|
795
|
+
dropdownPlacement = <span class="branch-0 cbranch-no" title="branch not covered" >'bottom-start',</span>
|
|
789
796
|
endOfList,
|
|
790
797
|
getDisplayValue, // Can overrule displayValue entirely
|
|
791
798
|
id,
|
|
@@ -900,6 +907,7 @@ const Typedown = <span class="fstat-no" title="function not covered" >({</span>
|
|
|
900
907
|
handleType,
|
|
901
908
|
input, // Pass input? Useful when not controlled I guess
|
|
902
909
|
meta,
|
|
910
|
+
open,
|
|
903
911
|
selectedValue,
|
|
904
912
|
triggerComponentId,
|
|
905
913
|
triggerComponentRef,
|
|
@@ -954,7 +962,7 @@ const Typedown = <span class="fstat-no" title="function not covered" >({</span>
|
|
|
954
962
|
*/
|
|
955
963
|
onMouseDown={<span class="fstat-no" title="function not covered" >(e</span>) => <span class="cstat-no" title="statement not covered" >e.preventDefault()}</span>
|
|
956
964
|
>
|
|
957
|
-
{displayData?.length ? displayData?.map(<span class="fstat-no" title="function not covered" >(d</span>,
|
|
965
|
+
{displayData?.length ? displayData?.map(<span class="fstat-no" title="function not covered" >(d</span>, _index) => {
|
|
958
966
|
const isSelectedEval = <span class="cstat-no" title="statement not covered" >isSelected ? isSelected(input.value, d) : get(input.value, uniqueIdentificationPath) === get(d, uniqueIdentificationPath);</span>
|
|
959
967
|
|
|
960
968
|
const selectedCSS = <span class="cstat-no" title="statement not covered" >selectedStyles ?? css.selectedMenuButton;</span>
|
|
@@ -1077,6 +1085,7 @@ const Typedown = <span class="fstat-no" title="function not covered" >({</span>
|
|
|
1077
1085
|
'onClick': <span class="fstat-no" title="function not covered" >(e</span>) => { <span class="cstat-no" title="statement not covered" >e.stopPropagation(); </span>} // prevent propagation of click events
|
|
1078
1086
|
}}
|
|
1079
1087
|
overlayRef={overlayRef}
|
|
1088
|
+
placement={dropdownPlacement}
|
|
1080
1089
|
portal={portal}
|
|
1081
1090
|
>
|
|
1082
1091
|
{dropDown()}
|
|
@@ -1126,7 +1135,7 @@ export default Typedown;
|
|
|
1126
1135
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
1127
1136
|
Code coverage generated by
|
|
1128
1137
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
1129
|
-
at 2026-
|
|
1138
|
+
at 2026-03-06T00:03:21.988Z
|
|
1130
1139
|
</div>
|
|
1131
1140
|
<script src="../prettify.js"></script>
|
|
1132
1141
|
<script>
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
33
|
<span class="strong">0% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>0/
|
|
35
|
+
<span class='fraction'>0/49</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
<td data-value="3.77" class="pct low">3.77%</td>
|
|
87
87
|
<td data-value="53" class="abs low">2/53</td>
|
|
88
88
|
<td data-value="0" class="pct low">0%</td>
|
|
89
|
-
<td data-value="
|
|
89
|
+
<td data-value="49" class="abs low">0/49</td>
|
|
90
90
|
<td data-value="0" class="pct low">0%</td>
|
|
91
91
|
<td data-value="16" class="abs low">0/16</td>
|
|
92
92
|
<td data-value="3.92" class="pct low">3.92%</td>
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
117
117
|
Code coverage generated by
|
|
118
118
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
119
|
-
at 2026-
|
|
119
|
+
at 2026-03-06T00:03:21.988Z
|
|
120
120
|
</div>
|
|
121
121
|
<script src="../prettify.js"></script>
|
|
122
122
|
<script>
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
74
74
|
Code coverage generated by
|
|
75
75
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
76
|
-
at 2026-
|
|
76
|
+
at 2026-03-06T00:03:21.988Z
|
|
77
77
|
</div>
|
|
78
78
|
<script src="../prettify.js"></script>
|
|
79
79
|
<script>
|