@k-int/stripes-kint-components 2.5.1 → 2.6.2
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 +19 -1
- package/es/artifacts/coverage-jest/lcov-report/block-navigation.js +1 -28
- package/es/artifacts/coverage-jest/lcov-report/prettify.js +0 -4
- package/es/artifacts/coverage-jest/lcov-report/sorter.js +1 -28
- package/es/index.js +7 -5
- package/es/lib/ActionList/ActionList.js +1 -31
- package/es/lib/ActionList/ActionListFieldArray.js +6 -40
- package/es/lib/ActionList/index.js +1 -5
- package/es/lib/CustomProperties/Config/CustomPropertiesLookup.js +55 -46
- package/es/lib/CustomProperties/Config/CustomPropertiesLookup.test.js +53 -0
- package/es/lib/CustomProperties/Config/CustomPropertiesSettings.js +102 -62
- package/es/lib/CustomProperties/Config/CustomPropertiesSettings.test.js +125 -0
- package/es/lib/CustomProperties/Config/CustomPropertyForm.js +131 -138
- package/es/lib/CustomProperties/Config/CustomPropertyForm.test.js +200 -0
- package/es/lib/CustomProperties/Config/CustomPropertyView.js +22 -37
- package/es/lib/CustomProperties/Config/CustomPropertyView.test.js +194 -0
- package/es/lib/CustomProperties/Config/index.js +1 -5
- package/es/lib/CustomProperties/Config/testResources.js +198 -0
- package/es/lib/CustomProperties/Edit/CustomPropertiesEdit.js +1 -30
- package/es/lib/CustomProperties/Edit/CustomPropertiesEdit.test.js +48 -0
- package/es/lib/CustomProperties/Edit/CustomPropertiesEditCtx.js +1 -34
- package/es/lib/CustomProperties/Edit/CustomPropertiesEditCtx.test.js +48 -0
- package/es/lib/CustomProperties/Edit/CustomPropertiesListField.js +1 -37
- package/es/lib/CustomProperties/Edit/CustomPropertiesListField.test.js +113 -0
- package/es/lib/CustomProperties/Edit/CustomPropertyField.js +63 -64
- package/es/lib/CustomProperties/Edit/CustomPropertyField.test.js +283 -0
- package/es/lib/CustomProperties/Edit/CustomPropertyFormCard.js +2 -30
- package/es/lib/CustomProperties/Edit/CustomPropertyFormCard.test.js +65 -0
- package/es/lib/CustomProperties/Edit/index.js +1 -5
- package/es/lib/CustomProperties/Edit/testResources.js +923 -0
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilter.js +10 -35
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilter.test.js +102 -0
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterField.js +1 -34
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterField.test.js +41 -0
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterFieldArray.js +1 -34
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterFieldArray.test.js +91 -0
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterForm.js +1 -30
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterForm.test.js +86 -0
- package/es/lib/CustomProperties/Filter/CustomPropertiesRule.js +1 -35
- package/es/lib/CustomProperties/Filter/CustomPropertiesRule.test.js +321 -0
- package/es/lib/CustomProperties/Filter/index.js +1 -5
- package/es/lib/CustomProperties/Filter/testResources.js +262 -0
- package/es/lib/CustomProperties/Filter/useOperators.js +9 -39
- package/es/lib/CustomProperties/Filter/useParseActiveFilterStrings.js +5 -36
- package/es/lib/CustomProperties/Filter/useValueProps.js +13 -35
- package/es/lib/CustomProperties/View/CustomPropertiesView.js +1 -30
- package/es/lib/CustomProperties/View/CustomPropertiesView.test.js +48 -0
- package/es/lib/CustomProperties/View/CustomPropertiesViewCtx.js +1 -34
- package/es/lib/CustomProperties/View/CustomPropertiesViewCtx.test.js +55 -0
- package/es/lib/CustomProperties/View/CustomPropertyCard.js +13 -32
- package/es/lib/CustomProperties/View/index.js +1 -5
- package/es/lib/CustomProperties/View/testResources.js +144 -0
- package/es/lib/CustomProperties/index.js +1 -5
- package/es/lib/EditableRefdataList/EditableRefdataList.js +165 -66
- package/es/lib/EditableRefdataList/index.js +1 -5
- package/es/lib/EditableSettingsList/EditableSettingsList.js +1 -30
- package/es/lib/EditableSettingsList/EditableSettingsListFieldArray.js +1 -30
- package/es/lib/EditableSettingsList/EditableSettingsListFieldArray.test.js +10 -35
- package/es/lib/EditableSettingsList/SettingField/EditSettingValue.js +1 -34
- package/es/lib/EditableSettingsList/SettingField/EditSettingValue.test.js +1 -34
- package/es/lib/EditableSettingsList/SettingField/RenderSettingValue.js +1 -34
- package/es/lib/EditableSettingsList/SettingField/RenderSettingValue.test.js +28 -64
- package/es/lib/EditableSettingsList/SettingField/SettingField.js +1 -34
- package/es/lib/EditableSettingsList/SettingField/SettingField.test.js +8 -33
- package/es/lib/EditableSettingsList/SettingField/index.js +1 -5
- package/es/lib/EditableSettingsList/index.js +1 -5
- package/es/lib/FormModal/FormModal.js +2 -31
- package/es/lib/FormModal/index.js +1 -5
- package/es/lib/NoResultsMessage/NoResultsMessage.js +1 -30
- package/es/lib/NoResultsMessage/index.js +1 -5
- package/es/lib/QueryTypedown/QueryTypedown.js +1 -34
- package/es/lib/QueryTypedown/index.js +1 -5
- package/es/lib/RefdataButtons/RefdataButtons.js +1 -34
- package/es/lib/RefdataButtons/index.js +1 -5
- package/es/lib/SASQLookupComponent/SASQLookupComponent.js +2 -34
- package/es/lib/SASQLookupComponent/TableBody/TableBody.js +1 -34
- package/es/lib/SASQLookupComponent/TableBody/index.js +1 -5
- package/es/lib/SASQLookupComponent/index.js +1 -5
- package/es/lib/SASQRoute/SASQRoute.js +1 -30
- package/es/lib/SASQRoute/index.js +1 -5
- package/es/lib/SASQViewComponent/SASQViewComponent.js +1 -34
- package/es/lib/SASQViewComponent/index.js +1 -5
- package/es/lib/SearchField/SearchField.js +1 -31
- package/es/lib/SearchField/index.js +1 -5
- package/es/lib/SettingPage/SettingPage.js +1 -34
- package/es/lib/SettingPage/SettingPagePane.js +1 -32
- package/es/lib/SettingPage/index.js +1 -5
- package/es/lib/Typedown/Typedown.js +1 -34
- package/es/lib/Typedown/index.js +1 -5
- package/es/lib/constants/customProperties.js +4 -39
- package/es/lib/constants/eventCodes.js +1 -31
- package/es/lib/contexts/SettingsContext.js +1 -30
- package/es/lib/contexts/index.js +1 -5
- package/es/lib/hooks/index.js +7 -5
- package/es/lib/hooks/settingsHooks/index.js +8 -4
- package/es/lib/hooks/settingsHooks/useAppSettings.js +84 -0
- package/es/lib/hooks/settingsHooks/useSettingSection.js +1 -34
- package/es/lib/hooks/settingsHooks/useSettings.js +1 -36
- package/es/lib/hooks/typedownHooks/index.js +1 -5
- package/es/lib/hooks/typedownHooks/useTypedown.js +1 -34
- package/es/lib/hooks/typedownHooks/useTypedownData.js +1 -34
- package/es/lib/hooks/typedownHooks/useTypedownToggle.js +1 -34
- package/es/lib/hooks/useActiveElement.js +1 -32
- package/es/lib/hooks/useAvailableCustomProperties.js +1 -34
- package/es/lib/hooks/useCustomProperties.js +4 -34
- package/es/lib/hooks/useHelperApp.js +1 -34
- package/es/lib/hooks/useInvalidateRefdata.js +1 -34
- package/es/lib/hooks/useKiwtFieldArray.js +1 -34
- package/es/lib/hooks/useKiwtSASQuery.js +1 -35
- package/es/lib/hooks/useLocalStorageState.js +1 -34
- package/es/lib/hooks/useMutateCustomProperties.js +14 -42
- package/es/lib/hooks/useMutateRefdataValue.js +11 -39
- package/es/lib/hooks/useQIndex.js +1 -34
- package/es/lib/hooks/useRefdata.js +1 -34
- package/es/lib/hooks/useTemplates.js +1 -34
- package/es/lib/utils/buildUrl.js +2 -31
- package/es/lib/utils/generateKiwtQuery.js +1 -30
- package/es/lib/utils/generateKiwtQueryParams.js +1 -30
- package/es/lib/utils/groupCustomPropertiesByCtx.js +1 -30
- package/es/lib/utils/highlightString.js +1 -29
- package/es/lib/utils/index.js +1 -5
- package/es/lib/utils/matchString.js +1 -30
- package/es/lib/utils/refdataOptions.js +1 -30
- package/es/lib/utils/refdataQueryKey.js +1 -30
- package/es/lib/utils/renderHelpText.js +1 -30
- package/es/lib/utils/selectorSafe.js +1 -30
- package/es/lib/utils/sortByLabel.js +1 -30
- package/es/lib/utils/toCamelCase.js +1 -30
- package/es/lib/utils/typedownQueryKey.js +1 -30
- package/es/lib/utils/validators.js +1 -32
- package/junit.xml +731 -38
- package/package.json +4 -4
- package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionList.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionListFieldArray.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/ActionList/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/ActionList/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertiesLookup.js.html +142 -28
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertiesSettings.js.html +93 -27
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertyForm.js.html +308 -188
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertyView.js.html +92 -32
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/index.html +65 -50
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/testResources.js.html +793 -0
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertiesEdit.js.html +17 -17
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertiesEditCtx.js.html +15 -15
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertiesListField.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertyField.js.html +161 -77
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertyFormCard.js.html +29 -26
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/index.html +61 -46
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/testResources.js.html +892 -0
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilter.js.html +19 -19
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterField.js.html +42 -42
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterFieldArray.js.html +23 -23
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterForm.js.html +19 -19
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesRule.js.html +41 -41
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/index.html +102 -87
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/testResources.js.html +976 -0
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useOperators.js.html +58 -37
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useParseActiveFilterStrings.js.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useValueProps.js.html +47 -29
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertiesView.js.html +17 -17
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertiesViewCtx.js.html +38 -38
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertyCard.js.html +30 -6
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/index.html +48 -33
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/testResources.js.html +571 -0
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/EditableRefdataList.js.html +134 -17
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/index.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/EditableSettingsList.js.html +27 -12
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/EditableSettingsListFieldArray.js.html +3 -3
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/EditSettingValue.js.html +3 -3
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/RenderSettingValue.js.html +2 -2
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/SettingField.js.html +3 -3
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/index.html +13 -13
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/FormModal/FormModal.js.html +32 -32
- package/src/artifacts/coverage-jest/lcov-report/FormModal/index.html +21 -21
- package/src/artifacts/coverage-jest/lcov-report/FormModal/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/NoResultsMessage.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/QueryTypedown.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/RefdataButtons.js.html +3 -3
- package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/SASQLookupComponent.js.html +6 -3
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/TableBody.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SASQRoute/SASQRoute.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SASQRoute/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SASQRoute/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/SASQViewComponent.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SearchField/SearchField.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SearchField/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SearchField/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SettingPage/SettingPage.js.html +9 -9
- package/src/artifacts/coverage-jest/lcov-report/SettingPage/SettingPagePane.js.html +10 -10
- package/src/artifacts/coverage-jest/lcov-report/SettingPage/index.html +18 -18
- package/src/artifacts/coverage-jest/lcov-report/SettingPage/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/Typedown/Typedown.js.html +3 -3
- package/src/artifacts/coverage-jest/lcov-report/Typedown/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/Typedown/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/constants/customProperties.js.html +32 -26
- package/src/artifacts/coverage-jest/lcov-report/constants/eventCodes.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/constants/index.html +13 -13
- package/src/artifacts/coverage-jest/lcov-report/contexts/SettingsContext.js.html +2 -2
- package/src/artifacts/coverage-jest/lcov-report/contexts/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/contexts/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/index.html +92 -92
- package/src/artifacts/coverage-jest/lcov-report/hooks/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/index.html +17 -17
- package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useAppSettings.js.html +292 -0
- package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useSettingSection.js.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useSettings.js.html +8 -8
- package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedown.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedownData.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedownToggle.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useActiveElement.js.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/hooks/useAvailableCustomProperties.js.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/hooks/useCustomProperties.js.html +32 -17
- package/src/artifacts/coverage-jest/lcov-report/hooks/useHelperApp.js.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/hooks/useInvalidateRefdata.js.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/hooks/useKiwtFieldArray.js.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/hooks/useKiwtSASQuery.js.html +29 -11
- package/src/artifacts/coverage-jest/lcov-report/hooks/useLocalStorageState.js.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateCustomProperties.js.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateRefdataValue.js.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/hooks/useQIndex.js.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/hooks/useRefdata.js.html +9 -9
- package/src/artifacts/coverage-jest/lcov-report/hooks/useTemplates.js.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/index.html +109 -109
- package/src/artifacts/coverage-jest/lcov-report/utils/buildUrl.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/utils/generateKiwtQuery.js.html +2 -2
- package/src/artifacts/coverage-jest/lcov-report/utils/generateKiwtQueryParams.js.html +2 -2
- package/src/artifacts/coverage-jest/lcov-report/utils/groupCustomPropertiesByCtx.js.html +22 -22
- package/src/artifacts/coverage-jest/lcov-report/utils/highlightString.js.html +3 -3
- package/src/artifacts/coverage-jest/lcov-report/utils/index.html +31 -31
- package/src/artifacts/coverage-jest/lcov-report/utils/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/utils/matchString.js.html +3 -3
- package/src/artifacts/coverage-jest/lcov-report/utils/refdataOptions.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/utils/refdataQueryKey.js.html +2 -2
- package/src/artifacts/coverage-jest/lcov-report/utils/renderHelpText.js.html +2 -2
- package/src/artifacts/coverage-jest/lcov-report/utils/selectorSafe.js.html +2 -2
- package/src/artifacts/coverage-jest/lcov-report/utils/sortByLabel.js.html +2 -2
- package/src/artifacts/coverage-jest/lcov-report/utils/toCamelCase.js.html +2 -2
- package/src/artifacts/coverage-jest/lcov-report/utils/typedownQueryKey.js.html +2 -2
- package/src/artifacts/coverage-jest/lcov-report/utils/validators.js.html +46 -46
- package/src/artifacts/coverage-jest/lcov.info +1124 -916
- package/src/index.js +2 -1
- package/src/lib/ActionList/ActionListFieldArray.js +3 -2
- package/src/lib/ActionList/README.md +12 -1
- package/src/lib/CustomProperties/Config/CustomPropertiesLookup.js +46 -8
- package/src/lib/CustomProperties/Config/CustomPropertiesLookup.test.js +35 -0
- package/src/lib/CustomProperties/Config/CustomPropertiesSettings.js +63 -20
- package/src/lib/CustomProperties/Config/CustomPropertiesSettings.test.js +51 -0
- package/src/lib/CustomProperties/Config/CustomPropertyForm.js +172 -132
- package/src/lib/CustomProperties/Config/CustomPropertyForm.test.js +126 -0
- package/src/lib/CustomProperties/Config/CustomPropertyView.js +29 -9
- package/src/lib/CustomProperties/Config/CustomPropertyView.test.js +55 -0
- package/src/lib/CustomProperties/Config/testResources.js +236 -0
- package/src/lib/CustomProperties/Edit/CustomPropertiesEdit.test.js +29 -0
- package/src/lib/CustomProperties/Edit/CustomPropertiesEditCtx.test.js +29 -0
- package/src/lib/CustomProperties/Edit/CustomPropertiesListField.test.js +51 -0
- package/src/lib/CustomProperties/Edit/CustomPropertyField.js +56 -24
- package/src/lib/CustomProperties/Edit/CustomPropertyField.test.js +185 -0
- package/src/lib/CustomProperties/Edit/CustomPropertyFormCard.js +1 -0
- package/src/lib/CustomProperties/Edit/CustomPropertyFormCard.test.js +57 -0
- package/src/lib/CustomProperties/Edit/testResources.js +1063 -0
- package/src/lib/CustomProperties/Filter/CustomPropertiesFilter.js +15 -3
- package/src/lib/CustomProperties/Filter/CustomPropertiesFilter.test.js +43 -0
- package/src/lib/CustomProperties/Filter/CustomPropertiesFilterField.test.js +32 -0
- package/src/lib/CustomProperties/Filter/CustomPropertiesFilterFieldArray.test.js +44 -0
- package/src/lib/CustomProperties/Filter/CustomPropertiesFilterForm.test.js +40 -0
- package/src/lib/CustomProperties/Filter/CustomPropertiesRule.test.js +111 -0
- package/src/lib/CustomProperties/Filter/testResources.js +297 -0
- package/src/lib/CustomProperties/Filter/useOperators.js +7 -0
- package/src/lib/CustomProperties/Filter/useParseActiveFilterStrings.js +5 -2
- package/src/lib/CustomProperties/Filter/useValueProps.js +6 -0
- package/src/lib/CustomProperties/View/CustomPropertiesView.test.js +32 -0
- package/src/lib/CustomProperties/View/CustomPropertiesViewCtx.test.js +32 -0
- package/src/lib/CustomProperties/View/CustomPropertyCard.js +8 -0
- package/src/lib/CustomProperties/View/testResources.js +162 -0
- package/src/lib/EditableRefdataList/EditableRefdataList.js +108 -26
- package/src/lib/EditableRefdataList/README.md +3 -0
- package/src/lib/FormModal/FormModal.js +1 -1
- package/src/lib/SASQLookupComponent/SASQLookupComponent.js +1 -0
- package/src/lib/constants/customProperties.js +2 -0
- package/src/lib/hooks/README.md +28 -3
- package/src/lib/hooks/index.js +1 -1
- package/src/lib/hooks/settingsHooks/index.js +1 -0
- package/src/lib/hooks/settingsHooks/useAppSettings.js +69 -0
- package/src/lib/hooks/useCustomProperties.js +5 -0
- package/src/lib/hooks/useMutateCustomProperties.js +7 -3
- package/src/lib/hooks/useMutateRefdataValue.js +5 -2
- package/styles/ActionListFieldArray.css +2 -1
- package/styles/CustomProperties.css +17 -0
- package/translations/stripes-kint-components/ar.json +11 -2
- package/translations/stripes-kint-components/cs_CZ.json +10 -1
- package/translations/stripes-kint-components/de.json +11 -2
- package/translations/stripes-kint-components/en.json +14 -5
- package/translations/stripes-kint-components/es.json +11 -2
- package/translations/stripes-kint-components/fr.json +1 -105
- package/translations/stripes-kint-components/hi_IN.json +1 -105
- package/translations/stripes-kint-components/hu.json +11 -2
- package/translations/stripes-kint-components/it_IT.json +11 -2
- package/translations/stripes-kint-components/ja.json +10 -1
- package/translations/stripes-kint-components/ko.json +11 -2
- package/translations/stripes-kint-components/pl.json +11 -2
- package/translations/stripes-kint-components/pt_PT.json +11 -2
- package/translations/stripes-kint-components/ru.json +11 -2
- package/translations/stripes-kint-components/sv.json +11 -2
- package/translations/stripes-kint-components/zh_CN.json +10 -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">100% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>
|
|
28
|
+
<span class='fraction'>3/3</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
|
-
<span class="strong">
|
|
33
|
+
<span class="strong">50% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>
|
|
35
|
+
<span class='fraction'>3/6</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'>1/1</span>
|
|
43
43
|
</div>
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
|
-
<span class="strong">
|
|
47
|
+
<span class="strong">100% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>
|
|
49
|
+
<span class='fraction'>3/3</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>
|
|
@@ -150,7 +150,7 @@
|
|
|
150
150
|
<span class="cline-any cline-neutral"> </span>
|
|
151
151
|
<span class="cline-any cline-neutral"> </span>
|
|
152
152
|
<span class="cline-any cline-neutral"> </span>
|
|
153
|
-
<span class="cline-any cline-
|
|
153
|
+
<span class="cline-any cline-yes">1x</span>
|
|
154
154
|
<span class="cline-any cline-neutral"> </span>
|
|
155
155
|
<span class="cline-any cline-neutral"> </span>
|
|
156
156
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -161,7 +161,7 @@
|
|
|
161
161
|
<span class="cline-any cline-neutral"> </span>
|
|
162
162
|
<span class="cline-any cline-neutral"> </span>
|
|
163
163
|
<span class="cline-any cline-neutral"> </span>
|
|
164
|
-
<span class="cline-any cline-
|
|
164
|
+
<span class="cline-any cline-yes">3x</span>
|
|
165
165
|
<span class="cline-any cline-neutral"> </span>
|
|
166
166
|
<span class="cline-any cline-neutral"> </span>
|
|
167
167
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -198,7 +198,7 @@
|
|
|
198
198
|
<span class="cline-any cline-neutral"> </span>
|
|
199
199
|
<span class="cline-any cline-neutral"> </span>
|
|
200
200
|
<span class="cline-any cline-neutral"> </span>
|
|
201
|
-
<span class="cline-any cline-
|
|
201
|
+
<span class="cline-any cline-yes">1x</span>
|
|
202
202
|
<span class="cline-any cline-neutral"> </span>
|
|
203
203
|
<span class="cline-any cline-neutral"> </span>
|
|
204
204
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -224,7 +224,7 @@ import {
|
|
|
224
224
|
import FormModal from '../../FormModal';
|
|
225
225
|
import CustomPropertiesFilterFieldArray from './CustomPropertiesFilterFieldArray';
|
|
226
226
|
|
|
227
|
-
const CustomPropertyFiltersForm =
|
|
227
|
+
const CustomPropertyFiltersForm = ({
|
|
228
228
|
customProperties,
|
|
229
229
|
editingFilters,
|
|
230
230
|
filters,
|
|
@@ -235,18 +235,18 @@ const CustomPropertyFiltersForm = <span class="cstat-no" title="statement not co
|
|
|
235
235
|
labelOverrides,
|
|
236
236
|
onSubmit,
|
|
237
237
|
}) => {
|
|
238
|
-
|
|
238
|
+
return (
|
|
239
239
|
<>
|
|
240
240
|
<Button
|
|
241
241
|
onClick={openEditModal}
|
|
242
242
|
>
|
|
243
243
|
{
|
|
244
244
|
labelOverrides.editCustomPropertyFilters ??
|
|
245
|
-
<FormattedMessage id="stripes-kint-components.customProperty.editCustomPropertyFilters" />
|
|
245
|
+
<span class="branch-1 cbranch-no" title="branch not covered" > <FormattedMessage id="stripes-kint-components.customProperty.editCustomPropertyFilters" /></span>
|
|
246
246
|
}
|
|
247
247
|
</Button>
|
|
248
248
|
<FormModal
|
|
249
|
-
initialValues={{ filters: filters.length ? filters : [{ rules: [{}] }] }}
|
|
249
|
+
initialValues={{ filters: filters.length ? filters : <span class="branch-1 cbranch-no" title="branch not covered" >[{ rules: [{}] }] </span>}}
|
|
250
250
|
labelOverrides={{
|
|
251
251
|
save: <FormattedMessage id="stripes-kint-components.apply" />
|
|
252
252
|
}}
|
|
@@ -255,7 +255,7 @@ const CustomPropertyFiltersForm = <span class="cstat-no" title="statement not co
|
|
|
255
255
|
enforceFocus: false,
|
|
256
256
|
label:
|
|
257
257
|
labelOverrides.filterBuilder ??
|
|
258
|
-
<FormattedMessage id="stripes-kint-components.customProperty.filterbuilder" />
|
|
258
|
+
<span class="branch-1 cbranch-no" title="branch not covered" > <FormattedMessage id="stripes-kint-components.customProperty.filterbuilder" />,</span>
|
|
259
259
|
onClose: closeEditModal,
|
|
260
260
|
open: editingFilters,
|
|
261
261
|
size: 'medium'
|
|
@@ -272,7 +272,7 @@ const CustomPropertyFiltersForm = <span class="cstat-no" title="statement not co
|
|
|
272
272
|
);
|
|
273
273
|
};
|
|
274
274
|
|
|
275
|
-
|
|
275
|
+
CustomPropertyFiltersForm.propTypes = {
|
|
276
276
|
customProperties: PropTypes.arrayOf(PropTypes.object),
|
|
277
277
|
editingFilters: PropTypes.bool,
|
|
278
278
|
filters: PropTypes.arrayOf(PropTypes.object),
|
|
@@ -292,7 +292,7 @@ export default CustomPropertyFiltersForm;
|
|
|
292
292
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
293
293
|
Code coverage generated by
|
|
294
294
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
295
|
-
at Thu
|
|
295
|
+
at Thu Jun 16 2022 14:59:18 GMT+0100 (British Summer Time)
|
|
296
296
|
</div>
|
|
297
297
|
<script src="../../prettify.js"></script>
|
|
298
298
|
<script>
|
package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesRule.js.html
CHANGED
|
@@ -23,30 +23,30 @@
|
|
|
23
23
|
<div class='clearfix'>
|
|
24
24
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
|
-
<span class="strong">
|
|
26
|
+
<span class="strong">93.33% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>
|
|
28
|
+
<span class='fraction'>14/15</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
|
-
<span class="strong">
|
|
33
|
+
<span class="strong">63.63% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>
|
|
35
|
+
<span class='fraction'>7/11</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
<div class='fl pad1y space-right2'>
|
|
40
|
-
<span class="strong">
|
|
40
|
+
<span class="strong">83.33% </span>
|
|
41
41
|
<span class="quiet">Functions</span>
|
|
42
|
-
<span class='fraction'>
|
|
42
|
+
<span class='fraction'>5/6</span>
|
|
43
43
|
</div>
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
|
-
<span class="strong">
|
|
47
|
+
<span class="strong">92.3% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>
|
|
49
|
+
<span class='fraction'>12/13</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>
|
|
@@ -205,7 +205,7 @@
|
|
|
205
205
|
<span class="cline-any cline-neutral"> </span>
|
|
206
206
|
<span class="cline-any cline-neutral"> </span>
|
|
207
207
|
<span class="cline-any cline-neutral"> </span>
|
|
208
|
-
<span class="cline-any cline-
|
|
208
|
+
<span class="cline-any cline-yes">2x</span>
|
|
209
209
|
<span class="cline-any cline-neutral"> </span>
|
|
210
210
|
<span class="cline-any cline-neutral"> </span>
|
|
211
211
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -223,7 +223,7 @@
|
|
|
223
223
|
<span class="cline-any cline-neutral"> </span>
|
|
224
224
|
<span class="cline-any cline-neutral"> </span>
|
|
225
225
|
<span class="cline-any cline-neutral"> </span>
|
|
226
|
-
<span class="cline-any cline-
|
|
226
|
+
<span class="cline-any cline-yes">2x</span>
|
|
227
227
|
<span class="cline-any cline-neutral"> </span>
|
|
228
228
|
<span class="cline-any cline-neutral"> </span>
|
|
229
229
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -232,11 +232,11 @@
|
|
|
232
232
|
<span class="cline-any cline-neutral"> </span>
|
|
233
233
|
<span class="cline-any cline-neutral"> </span>
|
|
234
234
|
<span class="cline-any cline-neutral"> </span>
|
|
235
|
-
<span class="cline-any cline-
|
|
236
|
-
<span class="cline-any cline-
|
|
237
|
-
<span class="cline-any cline-
|
|
235
|
+
<span class="cline-any cline-yes">8x</span>
|
|
236
|
+
<span class="cline-any cline-yes">8x</span>
|
|
237
|
+
<span class="cline-any cline-yes">88x</span>
|
|
238
238
|
<span class="cline-any cline-neutral"> </span>
|
|
239
|
-
<span class="cline-any cline-
|
|
239
|
+
<span class="cline-any cline-yes">8x</span>
|
|
240
240
|
<span class="cline-any cline-neutral"> </span>
|
|
241
241
|
<span class="cline-any cline-neutral"> </span>
|
|
242
242
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -251,17 +251,17 @@
|
|
|
251
251
|
<span class="cline-any cline-neutral"> </span>
|
|
252
252
|
<span class="cline-any cline-neutral"> </span>
|
|
253
253
|
<span class="cline-any cline-neutral"> </span>
|
|
254
|
-
<span class="cline-any cline-
|
|
254
|
+
<span class="cline-any cline-yes">24x</span>
|
|
255
255
|
<span class="cline-any cline-neutral"> </span>
|
|
256
256
|
<span class="cline-any cline-neutral"> </span>
|
|
257
257
|
<span class="cline-any cline-neutral"> </span>
|
|
258
258
|
<span class="cline-any cline-neutral"> </span>
|
|
259
259
|
<span class="cline-any cline-neutral"> </span>
|
|
260
|
-
<span class="cline-any cline-
|
|
260
|
+
<span class="cline-any cline-yes">8x</span>
|
|
261
261
|
<span class="cline-any cline-neutral"> </span>
|
|
262
|
-
<span class="cline-any cline-
|
|
263
|
-
<span class="cline-any cline-
|
|
264
|
-
<span class="cline-any cline-
|
|
262
|
+
<span class="cline-any cline-yes">28x</span>
|
|
263
|
+
<span class="cline-any cline-yes">8x</span>
|
|
264
|
+
<span class="cline-any cline-yes">2x</span>
|
|
265
265
|
<span class="cline-any cline-neutral"> </span>
|
|
266
266
|
<span class="cline-any cline-neutral"> </span>
|
|
267
267
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -304,7 +304,7 @@
|
|
|
304
304
|
<span class="cline-any cline-neutral"> </span>
|
|
305
305
|
<span class="cline-any cline-neutral"> </span>
|
|
306
306
|
<span class="cline-any cline-neutral"> </span>
|
|
307
|
-
<span class="cline-any cline-
|
|
307
|
+
<span class="cline-any cline-yes">2x</span>
|
|
308
308
|
<span class="cline-any cline-neutral"> </span>
|
|
309
309
|
<span class="cline-any cline-neutral"> </span>
|
|
310
310
|
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">import React from 'react';
|
|
@@ -327,7 +327,7 @@ import { required as requiredValidator } from '../../utils/validators';
|
|
|
327
327
|
import useValueProps from './useValueProps';
|
|
328
328
|
import useOperators from './useOperators';
|
|
329
329
|
|
|
330
|
-
const propTypes =
|
|
330
|
+
const propTypes = {
|
|
331
331
|
ariaLabelledby: PropTypes.string.isRequired,
|
|
332
332
|
clearRuleValue: PropTypes.func.isRequired,
|
|
333
333
|
index: PropTypes.number.isRequired,
|
|
@@ -345,26 +345,26 @@ const propTypes = <span class="cstat-no" title="statement not covered" >{</span>
|
|
|
345
345
|
}),
|
|
346
346
|
};
|
|
347
347
|
|
|
348
|
-
const CustomPropertiesRule =
|
|
348
|
+
const CustomPropertiesRule = ({
|
|
349
349
|
ariaLabelledby,
|
|
350
350
|
clearRuleValue,
|
|
351
351
|
index,
|
|
352
352
|
name,
|
|
353
353
|
onDelete,
|
|
354
|
-
custPropDefinition =
|
|
354
|
+
custPropDefinition = {},
|
|
355
355
|
value,
|
|
356
356
|
}) => {
|
|
357
|
-
const operators =
|
|
358
|
-
const valueProps =
|
|
359
|
-
const selectedOperator =
|
|
357
|
+
const operators = useOperators(custPropDefinition.type);
|
|
358
|
+
const valueProps = useValueProps(custPropDefinition);
|
|
359
|
+
const selectedOperator = operators.find(o => o.value === value?.operator);
|
|
360
360
|
|
|
361
|
-
|
|
361
|
+
return (
|
|
362
362
|
<Row
|
|
363
363
|
key={name}
|
|
364
364
|
>
|
|
365
365
|
<Col xs={2}>
|
|
366
366
|
<Layout className="textCentered">
|
|
367
|
-
{index === 0 ? null :
|
|
367
|
+
{index === 0 ? null : <span class="branch-1 cbranch-no" title="branch not covered" ><FormattedMessage id="stripes-kint-components.OR" />}</span>
|
|
368
368
|
</Layout>
|
|
369
369
|
</Col>
|
|
370
370
|
<Col xs={4}>
|
|
@@ -372,18 +372,18 @@ const CustomPropertiesRule = <span class="cstat-no" title="statement not covered
|
|
|
372
372
|
name={`${name}.operator`}
|
|
373
373
|
validate={requiredValidator}
|
|
374
374
|
>
|
|
375
|
-
{
|
|
376
|
-
|
|
375
|
+
{({ input, meta }) => (
|
|
376
|
+
<Select
|
|
377
377
|
{...input}
|
|
378
378
|
aria-labelledby={`${ariaLabelledby}-rule-column-header-comparator`}
|
|
379
379
|
dataOptions={operators}
|
|
380
|
-
error={meta?.touched && meta?.error}
|
|
381
|
-
onChange={
|
|
382
|
-
|
|
380
|
+
error={meta?.touched && <span class="branch-1 cbranch-no" title="branch not covered" >meta?.error}</span>
|
|
381
|
+
onChange={e => {
|
|
382
|
+
input.onChange(e);
|
|
383
383
|
|
|
384
|
-
const newlySelectedOperator =
|
|
385
|
-
|
|
386
|
-
|
|
384
|
+
const newlySelectedOperator = operators.find(o => o.value === e.target.value);
|
|
385
|
+
if (newlySelectedOperator?.noValueAllowed) {
|
|
386
|
+
clearRuleValue();
|
|
387
387
|
}
|
|
388
388
|
}}
|
|
389
389
|
placeholder=" "
|
|
@@ -394,7 +394,7 @@ const CustomPropertiesRule = <span class="cstat-no" title="statement not covered
|
|
|
394
394
|
</Col>
|
|
395
395
|
<Col xs={4}>
|
|
396
396
|
{ selectedOperator?.noValueAllowed ?
|
|
397
|
-
null
|
|
397
|
+
<span class="branch-0 cbranch-no" title="branch not covered" > null</span>
|
|
398
398
|
:
|
|
399
399
|
<Field
|
|
400
400
|
aria-labelledby={`${ariaLabelledby}-rule-column-header-value`}
|
|
@@ -407,7 +407,7 @@ const CustomPropertiesRule = <span class="cstat-no" title="statement not covered
|
|
|
407
407
|
</Col>
|
|
408
408
|
<Col xs={2}>
|
|
409
409
|
{ index ? (
|
|
410
|
-
<Tooltip
|
|
410
|
+
<span class="branch-0 cbranch-no" title="branch not covered" > <Tooltip</span>
|
|
411
411
|
id={uniqueId('delete-rule-btn')}
|
|
412
412
|
text={<FormattedMessage id="stripes-kint-components.customProperty.removeRule" values={{ number: index + 1 }} />}
|
|
413
413
|
>
|
|
@@ -426,7 +426,7 @@ const CustomPropertiesRule = <span class="cstat-no" title="statement not covered
|
|
|
426
426
|
);
|
|
427
427
|
};
|
|
428
428
|
|
|
429
|
-
|
|
429
|
+
CustomPropertiesRule.propTypes = propTypes;
|
|
430
430
|
|
|
431
431
|
export default CustomPropertiesRule;
|
|
432
432
|
</pre></td></tr></table></pre>
|
|
@@ -436,7 +436,7 @@ export default CustomPropertiesRule;
|
|
|
436
436
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
437
437
|
Code coverage generated by
|
|
438
438
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
439
|
-
at Thu
|
|
439
|
+
at Thu Jun 16 2022 14:59:18 GMT+0100 (British Summer Time)
|
|
440
440
|
</div>
|
|
441
441
|
<script src="../../prettify.js"></script>
|
|
442
442
|
<script>
|
|
@@ -23,30 +23,30 @@
|
|
|
23
23
|
<div class='clearfix'>
|
|
24
24
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
|
-
<span class="strong">
|
|
26
|
+
<span class="strong">48.68% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>
|
|
28
|
+
<span class='fraction'>74/152</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
|
-
<span class="strong">
|
|
33
|
+
<span class="strong">26.41% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>
|
|
35
|
+
<span class='fraction'>28/106</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
<div class='fl pad1y space-right2'>
|
|
40
|
-
<span class="strong">
|
|
40
|
+
<span class="strong">25% </span>
|
|
41
41
|
<span class="quiet">Functions</span>
|
|
42
|
-
<span class='fraction'>
|
|
42
|
+
<span class='fraction'>19/76</span>
|
|
43
43
|
</div>
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
|
-
<span class="strong">
|
|
47
|
+
<span class="strong">50% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>
|
|
49
|
+
<span class='fraction'>70/140</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -80,77 +80,77 @@
|
|
|
80
80
|
</thead>
|
|
81
81
|
<tbody><tr>
|
|
82
82
|
<td class="file low" data-value="CustomPropertiesFilter.js"><a href="CustomPropertiesFilter.js.html">CustomPropertiesFilter.js</a></td>
|
|
83
|
-
<td data-value="
|
|
84
|
-
<div class="chart"><div class="cover-fill" style="width:
|
|
83
|
+
<td data-value="23.07" class="pic low">
|
|
84
|
+
<div class="chart"><div class="cover-fill" style="width: 23%"></div><div class="cover-empty" style="width: 77%"></div></div>
|
|
85
85
|
</td>
|
|
86
|
-
<td data-value="
|
|
87
|
-
<td data-value="26" class="abs low">
|
|
86
|
+
<td data-value="23.07" class="pct low">23.07%</td>
|
|
87
|
+
<td data-value="26" class="abs low">6/26</td>
|
|
88
88
|
<td data-value="0" class="pct low">0%</td>
|
|
89
89
|
<td data-value="23" class="abs low">0/23</td>
|
|
90
|
-
<td data-value="
|
|
91
|
-
<td data-value="9" class="abs low">
|
|
92
|
-
<td data-value="
|
|
93
|
-
<td data-value="24" class="abs low">
|
|
90
|
+
<td data-value="11.11" class="pct low">11.11%</td>
|
|
91
|
+
<td data-value="9" class="abs low">1/9</td>
|
|
92
|
+
<td data-value="25" class="pct low">25%</td>
|
|
93
|
+
<td data-value="24" class="abs low">6/24</td>
|
|
94
94
|
</tr>
|
|
95
95
|
|
|
96
96
|
<tr>
|
|
97
|
-
<td class="file
|
|
98
|
-
<td data-value="
|
|
99
|
-
<div class="chart"><div class="cover-fill" style="width:
|
|
97
|
+
<td class="file medium" data-value="CustomPropertiesFilterField.js"><a href="CustomPropertiesFilterField.js.html">CustomPropertiesFilterField.js</a></td>
|
|
98
|
+
<td data-value="51.85" class="pic medium">
|
|
99
|
+
<div class="chart"><div class="cover-fill" style="width: 51%"></div><div class="cover-empty" style="width: 49%"></div></div>
|
|
100
100
|
</td>
|
|
101
|
-
<td data-value="
|
|
102
|
-
<td data-value="27" class="abs
|
|
103
|
-
<td data-value="
|
|
104
|
-
<td data-value="22" class="abs low">
|
|
105
|
-
<td data-value="
|
|
106
|
-
<td data-value="13" class="abs
|
|
107
|
-
<td data-value="
|
|
108
|
-
<td data-value="24" class="abs
|
|
101
|
+
<td data-value="51.85" class="pct medium">51.85%</td>
|
|
102
|
+
<td data-value="27" class="abs medium">14/27</td>
|
|
103
|
+
<td data-value="27.27" class="pct low">27.27%</td>
|
|
104
|
+
<td data-value="22" class="abs low">6/22</td>
|
|
105
|
+
<td data-value="53.84" class="pct medium">53.84%</td>
|
|
106
|
+
<td data-value="13" class="abs medium">7/13</td>
|
|
107
|
+
<td data-value="54.16" class="pct medium">54.16%</td>
|
|
108
|
+
<td data-value="24" class="abs medium">13/24</td>
|
|
109
109
|
</tr>
|
|
110
110
|
|
|
111
111
|
<tr>
|
|
112
112
|
<td class="file low" data-value="CustomPropertiesFilterFieldArray.js"><a href="CustomPropertiesFilterFieldArray.js.html">CustomPropertiesFilterFieldArray.js</a></td>
|
|
113
|
-
<td data-value="
|
|
114
|
-
<div class="chart"><div class="cover-fill" style="width:
|
|
113
|
+
<td data-value="41.17" class="pic low">
|
|
114
|
+
<div class="chart"><div class="cover-fill" style="width: 41%"></div><div class="cover-empty" style="width: 59%"></div></div>
|
|
115
115
|
</td>
|
|
116
|
-
<td data-value="
|
|
117
|
-
<td data-value="17" class="abs low">
|
|
118
|
-
<td data-value="
|
|
119
|
-
<td data-value="16" class="abs low">
|
|
120
|
-
<td data-value="
|
|
121
|
-
<td data-value="8" class="abs low">
|
|
122
|
-
<td data-value="
|
|
123
|
-
<td data-value="17" class="abs low">
|
|
116
|
+
<td data-value="41.17" class="pct low">41.17%</td>
|
|
117
|
+
<td data-value="17" class="abs low">7/17</td>
|
|
118
|
+
<td data-value="12.5" class="pct low">12.5%</td>
|
|
119
|
+
<td data-value="16" class="abs low">2/16</td>
|
|
120
|
+
<td data-value="25" class="pct low">25%</td>
|
|
121
|
+
<td data-value="8" class="abs low">2/8</td>
|
|
122
|
+
<td data-value="41.17" class="pct low">41.17%</td>
|
|
123
|
+
<td data-value="17" class="abs low">7/17</td>
|
|
124
124
|
</tr>
|
|
125
125
|
|
|
126
126
|
<tr>
|
|
127
|
-
<td class="file
|
|
128
|
-
<td data-value="
|
|
129
|
-
<div class="chart"><div class="cover-fill" style="width:
|
|
127
|
+
<td class="file high" data-value="CustomPropertiesFilterForm.js"><a href="CustomPropertiesFilterForm.js.html">CustomPropertiesFilterForm.js</a></td>
|
|
128
|
+
<td data-value="100" class="pic high">
|
|
129
|
+
<div class="chart"><div class="cover-fill cover-full" style="width: 100%"></div><div class="cover-empty" style="width: 0%"></div></div>
|
|
130
130
|
</td>
|
|
131
|
-
<td data-value="
|
|
132
|
-
<td data-value="3" class="abs
|
|
133
|
-
<td data-value="
|
|
134
|
-
<td data-value="6" class="abs
|
|
135
|
-
<td data-value="
|
|
136
|
-
<td data-value="1" class="abs
|
|
137
|
-
<td data-value="
|
|
138
|
-
<td data-value="3" class="abs
|
|
131
|
+
<td data-value="100" class="pct high">100%</td>
|
|
132
|
+
<td data-value="3" class="abs high">3/3</td>
|
|
133
|
+
<td data-value="50" class="pct medium">50%</td>
|
|
134
|
+
<td data-value="6" class="abs medium">3/6</td>
|
|
135
|
+
<td data-value="100" class="pct high">100%</td>
|
|
136
|
+
<td data-value="1" class="abs high">1/1</td>
|
|
137
|
+
<td data-value="100" class="pct high">100%</td>
|
|
138
|
+
<td data-value="3" class="abs high">3/3</td>
|
|
139
139
|
</tr>
|
|
140
140
|
|
|
141
141
|
<tr>
|
|
142
|
-
<td class="file
|
|
143
|
-
<td data-value="
|
|
144
|
-
<div class="chart"><div class="cover-fill" style="width:
|
|
142
|
+
<td class="file high" data-value="CustomPropertiesRule.js"><a href="CustomPropertiesRule.js.html">CustomPropertiesRule.js</a></td>
|
|
143
|
+
<td data-value="93.33" class="pic high">
|
|
144
|
+
<div class="chart"><div class="cover-fill" style="width: 93%"></div><div class="cover-empty" style="width: 7%"></div></div>
|
|
145
145
|
</td>
|
|
146
|
-
<td data-value="
|
|
147
|
-
<td data-value="15" class="abs
|
|
148
|
-
<td data-value="
|
|
149
|
-
<td data-value="11" class="abs
|
|
150
|
-
<td data-value="
|
|
151
|
-
<td data-value="6" class="abs
|
|
152
|
-
<td data-value="
|
|
153
|
-
<td data-value="13" class="abs
|
|
146
|
+
<td data-value="93.33" class="pct high">93.33%</td>
|
|
147
|
+
<td data-value="15" class="abs high">14/15</td>
|
|
148
|
+
<td data-value="63.63" class="pct medium">63.63%</td>
|
|
149
|
+
<td data-value="11" class="abs medium">7/11</td>
|
|
150
|
+
<td data-value="83.33" class="pct high">83.33%</td>
|
|
151
|
+
<td data-value="6" class="abs high">5/6</td>
|
|
152
|
+
<td data-value="92.3" class="pct high">92.3%</td>
|
|
153
|
+
<td data-value="13" class="abs high">12/13</td>
|
|
154
154
|
</tr>
|
|
155
155
|
|
|
156
156
|
<tr>
|
|
@@ -169,48 +169,63 @@
|
|
|
169
169
|
</tr>
|
|
170
170
|
|
|
171
171
|
<tr>
|
|
172
|
-
<td class="file
|
|
173
|
-
<td data-value="
|
|
174
|
-
<div class="chart"><div class="cover-fill" style="width:
|
|
172
|
+
<td class="file high" data-value="testResources.js"><a href="testResources.js.html">testResources.js</a></td>
|
|
173
|
+
<td data-value="100" class="pic high">
|
|
174
|
+
<div class="chart"><div class="cover-fill cover-full" style="width: 100%"></div><div class="cover-empty" style="width: 0%"></div></div>
|
|
175
175
|
</td>
|
|
176
|
-
<td data-value="
|
|
177
|
-
<td data-value="
|
|
178
|
-
<td data-value="
|
|
179
|
-
<td data-value="
|
|
180
|
-
<td data-value="0" class="pct low">0%</td>
|
|
181
|
-
<td data-value="
|
|
182
|
-
<td data-value="
|
|
183
|
-
<td data-value="
|
|
176
|
+
<td data-value="100" class="pct high">100%</td>
|
|
177
|
+
<td data-value="6" class="abs high">6/6</td>
|
|
178
|
+
<td data-value="100" class="pct high">100%</td>
|
|
179
|
+
<td data-value="0" class="abs high">0/0</td>
|
|
180
|
+
<td data-value="0" class="pct low">0%</td>
|
|
181
|
+
<td data-value="29" class="abs low">0/29</td>
|
|
182
|
+
<td data-value="100" class="pct high">100%</td>
|
|
183
|
+
<td data-value="6" class="abs high">6/6</td>
|
|
184
|
+
</tr>
|
|
185
|
+
|
|
186
|
+
<tr>
|
|
187
|
+
<td class="file high" data-value="useOperators.js"><a href="useOperators.js.html">useOperators.js</a></td>
|
|
188
|
+
<td data-value="94.11" class="pic high">
|
|
189
|
+
<div class="chart"><div class="cover-fill" style="width: 94%"></div><div class="cover-empty" style="width: 6%"></div></div>
|
|
190
|
+
</td>
|
|
191
|
+
<td data-value="94.11" class="pct high">94.11%</td>
|
|
192
|
+
<td data-value="17" class="abs high">16/17</td>
|
|
193
|
+
<td data-value="47.36" class="pct low">47.36%</td>
|
|
194
|
+
<td data-value="19" class="abs low">9/19</td>
|
|
195
|
+
<td data-value="100" class="pct high">100%</td>
|
|
196
|
+
<td data-value="2" class="abs high">2/2</td>
|
|
197
|
+
<td data-value="93.75" class="pct high">93.75%</td>
|
|
198
|
+
<td data-value="16" class="abs high">15/16</td>
|
|
184
199
|
</tr>
|
|
185
200
|
|
|
186
201
|
<tr>
|
|
187
202
|
<td class="file low" data-value="useParseActiveFilterStrings.js"><a href="useParseActiveFilterStrings.js.html">useParseActiveFilterStrings.js</a></td>
|
|
188
|
-
<td data-value="
|
|
189
|
-
<div class="chart"><div class="cover-fill" style="width:
|
|
203
|
+
<td data-value="6.66" class="pic low">
|
|
204
|
+
<div class="chart"><div class="cover-fill" style="width: 6%"></div><div class="cover-empty" style="width: 94%"></div></div>
|
|
190
205
|
</td>
|
|
191
|
-
<td data-value="
|
|
192
|
-
<td data-value="15" class="abs low">
|
|
206
|
+
<td data-value="6.66" class="pct low">6.66%</td>
|
|
207
|
+
<td data-value="15" class="abs low">1/15</td>
|
|
193
208
|
<td data-value="0" class="pct low">0%</td>
|
|
194
209
|
<td data-value="2" class="abs low">0/2</td>
|
|
195
210
|
<td data-value="0" class="pct low">0%</td>
|
|
196
211
|
<td data-value="5" class="abs low">0/5</td>
|
|
197
|
-
<td data-value="
|
|
198
|
-
<td data-value="13" class="abs low">
|
|
212
|
+
<td data-value="7.69" class="pct low">7.69%</td>
|
|
213
|
+
<td data-value="13" class="abs low">1/13</td>
|
|
199
214
|
</tr>
|
|
200
215
|
|
|
201
216
|
<tr>
|
|
202
217
|
<td class="file low" data-value="useValueProps.js"><a href="useValueProps.js.html">useValueProps.js</a></td>
|
|
203
|
-
<td data-value="
|
|
204
|
-
<div class="chart"><div class="cover-fill" style="width:
|
|
218
|
+
<td data-value="26.92" class="pic low">
|
|
219
|
+
<div class="chart"><div class="cover-fill" style="width: 26%"></div><div class="cover-empty" style="width: 74%"></div></div>
|
|
205
220
|
</td>
|
|
206
|
-
<td data-value="
|
|
207
|
-
<td data-value="
|
|
208
|
-
<td data-value="
|
|
209
|
-
<td data-value="
|
|
210
|
-
<td data-value="
|
|
211
|
-
<td data-value="
|
|
212
|
-
<td data-value="
|
|
213
|
-
<td data-value="
|
|
221
|
+
<td data-value="26.92" class="pct low">26.92%</td>
|
|
222
|
+
<td data-value="26" class="abs low">7/26</td>
|
|
223
|
+
<td data-value="14.28" class="pct low">14.28%</td>
|
|
224
|
+
<td data-value="7" class="abs low">1/7</td>
|
|
225
|
+
<td data-value="33.33" class="pct low">33.33%</td>
|
|
226
|
+
<td data-value="3" class="abs low">1/3</td>
|
|
227
|
+
<td data-value="29.16" class="pct low">29.16%</td>
|
|
228
|
+
<td data-value="24" class="abs low">7/24</td>
|
|
214
229
|
</tr>
|
|
215
230
|
|
|
216
231
|
</tbody>
|
|
@@ -221,7 +236,7 @@
|
|
|
221
236
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
222
237
|
Code coverage generated by
|
|
223
238
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
224
|
-
at Thu
|
|
239
|
+
at Thu Jun 16 2022 14:59:18 GMT+0100 (British Summer Time)
|
|
225
240
|
</div>
|
|
226
241
|
<script src="../../prettify.js"></script>
|
|
227
242
|
<script>
|