@k-int/stripes-kint-components 3.2.2 → 3.2.3
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 +3 -0
- package/es/lib/ActionList/ActionListFieldArray.js +2 -2
- package/es/lib/CustomProperties/Config/CustomPropertiesLookup.js +2 -2
- package/es/lib/CustomProperties/Config/CustomPropertiesSettings.js +22 -24
- package/es/lib/CustomProperties/Config/CustomPropertiesSettings.test.js +26 -32
- package/es/lib/CustomProperties/Config/CustomPropertyForm.js +2 -2
- package/es/lib/CustomProperties/Config/CustomPropertyForm.test.js +39 -47
- package/es/lib/CustomProperties/Config/CustomPropertyView.test.js +82 -100
- package/es/lib/CustomProperties/Edit/CustomPropertiesListField.js +2 -2
- package/es/lib/CustomProperties/Edit/CustomPropertiesListField.test.js +22 -28
- package/es/lib/CustomProperties/Edit/CustomPropertyField.js +1 -1
- package/es/lib/CustomProperties/Edit/CustomPropertyField.test.js +69 -85
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilter.js +2 -2
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilter.test.js +26 -32
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterField.js +2 -2
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterFieldArray.test.js +15 -19
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterForm.test.js +17 -21
- package/es/lib/CustomProperties/Filter/CustomPropertiesRule.test.js +129 -161
- package/es/lib/CustomProperties/Filter/useParseActiveFilterStrings.js +2 -2
- package/es/lib/CustomProperties/View/CustomPropertiesViewCtx.js +2 -2
- package/es/lib/CustomProperties/View/CustomPropertyCard.js +2 -2
- package/es/lib/CycleButton/CycleButton.js +2 -2
- package/es/lib/EditableRefdataCategoryList/EditableRefdataCategoryList.js +22 -24
- package/es/lib/EditableRefdataList/EditableRefdataList.js +25 -27
- package/es/lib/EditableSettingsList/EditableSettingsListFieldArray.test.js +44 -50
- package/es/lib/EditableSettingsList/SettingField/EditSettingValue.js +1 -1
- package/es/lib/EditableSettingsList/SettingField/RenderSettingValue.test.js +139 -163
- package/es/lib/EditableSettingsList/SettingField/SettingField.js +9 -9
- package/es/lib/EditableSettingsList/SettingField/SettingField.test.js +117 -133
- package/es/lib/IconSelect/IconSelect.js +2 -2
- package/es/lib/QueryTypedown/QueryTypedown.js +2 -2
- package/es/lib/ResponsiveButtonGroup/ResponsiveButtonGroup.js +1 -1
- package/es/lib/ResponsiveButtonGroup/useResponsiveButtonGroupSizing.js +2 -2
- package/es/lib/RichSelect/RichSelect.js +2 -2
- package/es/lib/RichSelect/useSelectedOption.js +2 -2
- package/es/lib/SASQLookupComponent/SASQLookupComponent.js +2 -2
- package/es/lib/Typedown/Typedown.js +2 -2
- package/es/lib/hooks/settingsHooks/useAppSettings.js +1 -1
- package/es/lib/hooks/settingsHooks/useSettings.js +1 -1
- package/es/lib/hooks/typedownHooks/useTypedownData.js +2 -2
- package/es/lib/hooks/typedownHooks/useTypedownToggle.js +2 -2
- package/es/lib/hooks/useActiveElement.js +2 -2
- package/es/lib/hooks/useHelperApp.js +2 -2
- package/es/lib/hooks/useKiwtFieldArray.js +2 -2
- package/es/lib/hooks/useKiwtSASQuery.js +2 -2
- package/es/lib/hooks/useLocalStorageState.js +2 -2
- package/es/lib/hooks/useMutateCustomProperties.js +23 -29
- package/es/lib/hooks/useMutateRefdataCategory.js +21 -25
- package/es/lib/hooks/useMutateRefdataValue.js +30 -34
- package/es/lib/hooks/useQIndex.js +2 -2
- package/es/lib/hooks/useSASQQueryMeta.js +1 -1
- package/es/lib/utils/generateKiwtQueryParams.js +2 -2
- package/es/lib/utils/groupCustomPropertiesByCtx.js +1 -1
- package/es/lib/utils/highlightString.js +2 -2
- package/es/lib/utils/parseErrorResponse.js +42 -44
- package/junit.xml +1492 -222
- package/package.json +1 -1
- package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionList.js.html +12 -3
- package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionListFieldArray.js.html +53 -14
- package/src/artifacts/coverage-jest/lcov-report/ActionList/index.html +8 -8
- 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 +42 -42
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertiesSettings.js.html +166 -88
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertyForm.js.html +58 -58
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertyView.js.html +27 -27
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/index.html +53 -53
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/index.js.html +1 -1
- 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 +26 -26
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertiesListField.js.html +90 -90
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertyField.js.html +116 -116
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertyFormCard.js.html +26 -26
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/index.html +64 -64
- 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 +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilter.js.html +31 -31
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterField.js.html +48 -48
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterFieldArray.js.html +20 -20
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterForm.js.html +17 -17
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesRule.js.html +43 -43
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/index.html +96 -96
- 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 +5 -5
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useOperators.js.html +35 -35
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useParseActiveFilterStrings.js.html +37 -37
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useValueProps.js.html +35 -35
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertiesView.js.html +14 -14
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertiesViewCtx.js.html +43 -43
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertyCard.js.html +5 -5
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/index.html +31 -31
- 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 +1 -1
- 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/CycleButton/CycleButton.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CycleButton/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CycleButton/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataCategoryList/EditableRefdataCategoryList.js.html +96 -9
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataCategoryList/index.html +9 -9
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataCategoryList/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/EditableRefdataList.js.html +152 -29
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/index.html +9 -9
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/EditableSettingsList.js.html +13 -4
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/EditableSettingsListFieldArray.js.html +29 -20
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/EditSettingValue.js.html +37 -37
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/RenderSettingValue.js.html +62 -62
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/SettingField.js.html +85 -70
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/index.html +43 -43
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/index.html +21 -21
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/FormModal/FormModal.js.html +30 -30
- 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/FormattedKintMessage/FormattedKintMessage.js.html +3 -3
- package/src/artifacts/coverage-jest/lcov-report/FormattedKintMessage/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/FormattedKintMessage/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/IconSelect/IconSelect.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/IconSelect/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/IconSelect/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 +23 -8
- package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/index.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/RefdataButtons.js.html +52 -52
- package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/index.html +21 -21
- package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/ResponsiveButtonGroup/ResponsiveButtonGroup.js.html +11 -2
- package/src/artifacts/coverage-jest/lcov-report/ResponsiveButtonGroup/index.html +9 -9
- package/src/artifacts/coverage-jest/lcov-report/ResponsiveButtonGroup/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/ResponsiveButtonGroup/useResponsiveButtonGroupSizing.js.html +58 -10
- package/src/artifacts/coverage-jest/lcov-report/RichSelect/RichSelect.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/RichSelect/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/RichSelect/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/RichSelect/useSelectedOption.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/SASQLookupComponent.js.html +1 -1
- 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 +16 -4
- package/src/artifacts/coverage-jest/lcov-report/SettingPage/SettingPagePane.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SettingPage/index.html +3 -3
- package/src/artifacts/coverage-jest/lcov-report/SettingPage/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/Typedown/Typedown.js.html +20 -8
- package/src/artifacts/coverage-jest/lcov-report/Typedown/index.html +3 -3
- package/src/artifacts/coverage-jest/lcov-report/Typedown/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/constants/customProperties.js.html +12 -12
- package/src/artifacts/coverage-jest/lcov-report/constants/eventCodes.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/constants/index.html +1 -1
- 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 +34 -34
- package/src/artifacts/coverage-jest/lcov-report/hooks/index.js.html +2 -5
- 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 +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useCustomProperties.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useHelperApp.js.html +30 -18
- package/src/artifacts/coverage-jest/lcov-report/hooks/useIntlKey.js.html +24 -24
- package/src/artifacts/coverage-jest/lcov-report/hooks/useIntlKeyStore.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useInvalidateRefdata.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useKintIntl.js.html +38 -38
- package/src/artifacts/coverage-jest/lcov-report/hooks/useKiwtFieldArray.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useKiwtSASQuery.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useLocalStorageState.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateCustomProperties.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateRefdataCategory.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateRefdataValue.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useQIndex.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useRefdata.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useSASQQueryMeta.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useTemplates.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/index.html +161 -146
- package/src/artifacts/coverage-jest/lcov-report/settingsHooks/index.html +161 -0
- package/src/artifacts/coverage-jest/lcov-report/settingsHooks/index.js.html +94 -0
- package/src/artifacts/coverage-jest/lcov-report/settingsHooks/useAppSettings.js.html +292 -0
- package/src/artifacts/coverage-jest/lcov-report/settingsHooks/useSettingSection.js.html +211 -0
- package/src/artifacts/coverage-jest/lcov-report/settingsHooks/useSettings.js.html +466 -0
- 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 +4 -4
- 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 +42 -57
- package/src/artifacts/coverage-jest/lcov-report/utils/index.js.html +2 -35
- package/src/artifacts/coverage-jest/lcov-report/utils/matchString.js.html +2 -2
- package/src/artifacts/coverage-jest/lcov-report/utils/parseErrorResponse.js.html +2 -2
- package/src/artifacts/coverage-jest/lcov-report/utils/parseKiwtQueryGroups.js.html +161 -80
- 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/selectorSafe.js.html +45 -3
- package/src/artifacts/coverage-jest/lcov-report/utils/sortByLabel.js.html +2 -2
- package/src/artifacts/coverage-jest/lcov-report/utils/toCamelCase.js.html +16 -16
- package/src/artifacts/coverage-jest/lcov-report/utils/typedownQueryKey.js.html +2 -2
- package/src/artifacts/coverage-jest/lcov-report/validators/index.html +131 -0
- package/src/artifacts/coverage-jest/lcov-report/validators/index.js.html +88 -0
- package/src/artifacts/coverage-jest/lcov-report/validators/validators.js.html +370 -0
- package/src/artifacts/coverage-jest/lcov.info +1843 -1735
- package/src/lib/CustomProperties/View/CustomPropertyCard.js +3 -3
|
@@ -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">8.47% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>
|
|
28
|
+
<span class='fraction'>5/59</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
|
-
<span class="strong">
|
|
33
|
+
<span class="strong">0% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>
|
|
35
|
+
<span class='fraction'>0/47</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
<div class='fl pad1y space-right2'>
|
|
40
|
-
<span class="strong">
|
|
40
|
+
<span class="strong">0% </span>
|
|
41
41
|
<span class="quiet">Functions</span>
|
|
42
|
-
<span class='fraction'>
|
|
42
|
+
<span class='fraction'>0/17</span>
|
|
43
43
|
</div>
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
|
-
<span class="strong">
|
|
47
|
+
<span class="strong">8.47% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>
|
|
49
|
+
<span class='fraction'>5/59</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -422,7 +422,33 @@
|
|
|
422
422
|
<a name='L357'></a><a href='#L357'>357</a>
|
|
423
423
|
<a name='L358'></a><a href='#L358'>358</a>
|
|
424
424
|
<a name='L359'></a><a href='#L359'>359</a>
|
|
425
|
-
<a name='L360'></a><a href='#L360'>360</a
|
|
425
|
+
<a name='L360'></a><a href='#L360'>360</a>
|
|
426
|
+
<a name='L361'></a><a href='#L361'>361</a>
|
|
427
|
+
<a name='L362'></a><a href='#L362'>362</a>
|
|
428
|
+
<a name='L363'></a><a href='#L363'>363</a>
|
|
429
|
+
<a name='L364'></a><a href='#L364'>364</a>
|
|
430
|
+
<a name='L365'></a><a href='#L365'>365</a>
|
|
431
|
+
<a name='L366'></a><a href='#L366'>366</a>
|
|
432
|
+
<a name='L367'></a><a href='#L367'>367</a>
|
|
433
|
+
<a name='L368'></a><a href='#L368'>368</a>
|
|
434
|
+
<a name='L369'></a><a href='#L369'>369</a>
|
|
435
|
+
<a name='L370'></a><a href='#L370'>370</a>
|
|
436
|
+
<a name='L371'></a><a href='#L371'>371</a>
|
|
437
|
+
<a name='L372'></a><a href='#L372'>372</a>
|
|
438
|
+
<a name='L373'></a><a href='#L373'>373</a>
|
|
439
|
+
<a name='L374'></a><a href='#L374'>374</a>
|
|
440
|
+
<a name='L375'></a><a href='#L375'>375</a>
|
|
441
|
+
<a name='L376'></a><a href='#L376'>376</a>
|
|
442
|
+
<a name='L377'></a><a href='#L377'>377</a>
|
|
443
|
+
<a name='L378'></a><a href='#L378'>378</a>
|
|
444
|
+
<a name='L379'></a><a href='#L379'>379</a>
|
|
445
|
+
<a name='L380'></a><a href='#L380'>380</a>
|
|
446
|
+
<a name='L381'></a><a href='#L381'>381</a>
|
|
447
|
+
<a name='L382'></a><a href='#L382'>382</a>
|
|
448
|
+
<a name='L383'></a><a href='#L383'>383</a>
|
|
449
|
+
<a name='L384'></a><a href='#L384'>384</a>
|
|
450
|
+
<a name='L385'></a><a href='#L385'>385</a>
|
|
451
|
+
<a name='L386'></a><a href='#L386'>386</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
426
452
|
<span class="cline-any cline-neutral"> </span>
|
|
427
453
|
<span class="cline-any cline-neutral"> </span>
|
|
428
454
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -455,23 +481,34 @@
|
|
|
455
481
|
<span class="cline-any cline-neutral"> </span>
|
|
456
482
|
<span class="cline-any cline-neutral"> </span>
|
|
457
483
|
<span class="cline-any cline-neutral"> </span>
|
|
458
|
-
<span class="cline-any cline-yes">5x</span>
|
|
459
|
-
<span class="cline-any cline-yes">5x</span>
|
|
460
484
|
<span class="cline-any cline-neutral"> </span>
|
|
461
|
-
<span class="cline-any cline-yes">5x</span>
|
|
462
|
-
<span class="cline-any cline-yes">5x</span>
|
|
463
485
|
<span class="cline-any cline-neutral"> </span>
|
|
464
|
-
<span class="cline-any cline-yes">5x</span>
|
|
465
486
|
<span class="cline-any cline-neutral"> </span>
|
|
466
487
|
<span class="cline-any cline-neutral"> </span>
|
|
467
488
|
<span class="cline-any cline-neutral"> </span>
|
|
468
|
-
<span class="cline-any cline-yes">5x</span>
|
|
469
489
|
<span class="cline-any cline-neutral"> </span>
|
|
470
|
-
<span class="cline-any cline-yes">5x</span>
|
|
471
490
|
<span class="cline-any cline-neutral"> </span>
|
|
472
491
|
<span class="cline-any cline-neutral"> </span>
|
|
473
|
-
<span class="cline-any cline-
|
|
474
|
-
<span class="cline-any cline-
|
|
492
|
+
<span class="cline-any cline-neutral"> </span>
|
|
493
|
+
<span class="cline-any cline-no"> </span>
|
|
494
|
+
<span class="cline-any cline-neutral"> </span>
|
|
495
|
+
<span class="cline-any cline-no"> </span>
|
|
496
|
+
<span class="cline-any cline-no"> </span>
|
|
497
|
+
<span class="cline-any cline-neutral"> </span>
|
|
498
|
+
<span class="cline-any cline-no"> </span>
|
|
499
|
+
<span class="cline-any cline-no"> </span>
|
|
500
|
+
<span class="cline-any cline-neutral"> </span>
|
|
501
|
+
<span class="cline-any cline-no"> </span>
|
|
502
|
+
<span class="cline-any cline-neutral"> </span>
|
|
503
|
+
<span class="cline-any cline-neutral"> </span>
|
|
504
|
+
<span class="cline-any cline-neutral"> </span>
|
|
505
|
+
<span class="cline-any cline-no"> </span>
|
|
506
|
+
<span class="cline-any cline-neutral"> </span>
|
|
507
|
+
<span class="cline-any cline-no"> </span>
|
|
508
|
+
<span class="cline-any cline-neutral"> </span>
|
|
509
|
+
<span class="cline-any cline-neutral"> </span>
|
|
510
|
+
<span class="cline-any cline-no"> </span>
|
|
511
|
+
<span class="cline-any cline-no"> </span>
|
|
475
512
|
<span class="cline-any cline-neutral"> </span>
|
|
476
513
|
<span class="cline-any cline-neutral"> </span>
|
|
477
514
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -494,7 +531,7 @@
|
|
|
494
531
|
<span class="cline-any cline-neutral"> </span>
|
|
495
532
|
<span class="cline-any cline-neutral"> </span>
|
|
496
533
|
<span class="cline-any cline-neutral"> </span>
|
|
497
|
-
<span class="cline-any cline-
|
|
534
|
+
<span class="cline-any cline-no"> </span>
|
|
498
535
|
<span class="cline-any cline-neutral"> </span>
|
|
499
536
|
<span class="cline-any cline-neutral"> </span>
|
|
500
537
|
<span class="cline-any cline-no"> </span>
|
|
@@ -547,7 +584,7 @@
|
|
|
547
584
|
<span class="cline-any cline-neutral"> </span>
|
|
548
585
|
<span class="cline-any cline-neutral"> </span>
|
|
549
586
|
<span class="cline-any cline-neutral"> </span>
|
|
550
|
-
<span class="cline-any cline-
|
|
587
|
+
<span class="cline-any cline-no"> </span>
|
|
551
588
|
<span class="cline-any cline-no"> </span>
|
|
552
589
|
<span class="cline-any cline-neutral"> </span>
|
|
553
590
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -556,7 +593,7 @@
|
|
|
556
593
|
<span class="cline-any cline-neutral"> </span>
|
|
557
594
|
<span class="cline-any cline-neutral"> </span>
|
|
558
595
|
<span class="cline-any cline-neutral"> </span>
|
|
559
|
-
<span class="cline-any cline-
|
|
596
|
+
<span class="cline-any cline-no"> </span>
|
|
560
597
|
<span class="cline-any cline-no"> </span>
|
|
561
598
|
<span class="cline-any cline-no"> </span>
|
|
562
599
|
<span class="cline-any cline-no"> </span>
|
|
@@ -565,7 +602,7 @@
|
|
|
565
602
|
<span class="cline-any cline-neutral"> </span>
|
|
566
603
|
<span class="cline-any cline-neutral"> </span>
|
|
567
604
|
<span class="cline-any cline-neutral"> </span>
|
|
568
|
-
<span class="cline-any cline-
|
|
605
|
+
<span class="cline-any cline-no"> </span>
|
|
569
606
|
<span class="cline-any cline-neutral"> </span>
|
|
570
607
|
<span class="cline-any cline-neutral"> </span>
|
|
571
608
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -606,6 +643,8 @@
|
|
|
606
643
|
<span class="cline-any cline-neutral"> </span>
|
|
607
644
|
<span class="cline-any cline-neutral"> </span>
|
|
608
645
|
<span class="cline-any cline-no"> </span>
|
|
646
|
+
<span class="cline-any cline-no"> </span>
|
|
647
|
+
<span class="cline-any cline-no"> </span>
|
|
609
648
|
<span class="cline-any cline-neutral"> </span>
|
|
610
649
|
<span class="cline-any cline-neutral"> </span>
|
|
611
650
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -626,6 +665,11 @@
|
|
|
626
665
|
<span class="cline-any cline-neutral"> </span>
|
|
627
666
|
<span class="cline-any cline-neutral"> </span>
|
|
628
667
|
<span class="cline-any cline-neutral"> </span>
|
|
668
|
+
<span class="cline-any cline-no"> </span>
|
|
669
|
+
<span class="cline-any cline-no"> </span>
|
|
670
|
+
<span class="cline-any cline-neutral"> </span>
|
|
671
|
+
<span class="cline-any cline-neutral"> </span>
|
|
672
|
+
<span class="cline-any cline-neutral"> </span>
|
|
629
673
|
<span class="cline-any cline-neutral"> </span>
|
|
630
674
|
<span class="cline-any cline-neutral"> </span>
|
|
631
675
|
<span class="cline-any cline-no"> </span>
|
|
@@ -646,6 +690,9 @@
|
|
|
646
690
|
<span class="cline-any cline-neutral"> </span>
|
|
647
691
|
<span class="cline-any cline-neutral"> </span>
|
|
648
692
|
<span class="cline-any cline-neutral"> </span>
|
|
693
|
+
<span class="cline-any cline-no"> </span>
|
|
694
|
+
<span class="cline-any cline-neutral"> </span>
|
|
695
|
+
<span class="cline-any cline-neutral"> </span>
|
|
649
696
|
<span class="cline-any cline-neutral"> </span>
|
|
650
697
|
<span class="cline-any cline-neutral"> </span>
|
|
651
698
|
<span class="cline-any cline-no"> </span>
|
|
@@ -717,7 +764,7 @@
|
|
|
717
764
|
<span class="cline-any cline-neutral"> </span>
|
|
718
765
|
<span class="cline-any cline-neutral"> </span>
|
|
719
766
|
<span class="cline-any cline-neutral"> </span>
|
|
720
|
-
<span class="cline-any cline-
|
|
767
|
+
<span class="cline-any cline-no"> </span>
|
|
721
768
|
<span class="cline-any cline-neutral"> </span>
|
|
722
769
|
<span class="cline-any cline-neutral"> </span>
|
|
723
770
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -781,6 +828,11 @@
|
|
|
781
828
|
<span class="cline-any cline-neutral"> </span>
|
|
782
829
|
<span class="cline-any cline-neutral"> </span>
|
|
783
830
|
<span class="cline-any cline-neutral"> </span>
|
|
831
|
+
<span class="cline-any cline-neutral"> </span>
|
|
832
|
+
<span class="cline-any cline-neutral"> </span>
|
|
833
|
+
<span class="cline-any cline-neutral"> </span>
|
|
834
|
+
<span class="cline-any cline-neutral"> </span>
|
|
835
|
+
<span class="cline-any cline-neutral"> </span>
|
|
784
836
|
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">import { useState, useContext } from 'react';
|
|
785
837
|
import PropTypes from 'prop-types';
|
|
786
838
|
|
|
@@ -803,34 +855,45 @@ const CREATING = 'create';
|
|
|
803
855
|
const VIEWING = 'view';
|
|
804
856
|
|
|
805
857
|
// A default option for setting up panes manually
|
|
806
|
-
const CustomPropertiesSettings = ({
|
|
858
|
+
const CustomPropertiesSettings = <span class="fstat-no" title="function not covered" >({</span>
|
|
807
859
|
afterQueryCalls,
|
|
808
860
|
catchQueryCalls,
|
|
809
861
|
contextFilterOptions,
|
|
810
862
|
customPropertiesEndpoint,
|
|
863
|
+
displayConditions = <span class="branch-0 cbranch-no" title="branch not covered" >{</span>
|
|
864
|
+
create: true,
|
|
865
|
+
delete: true,
|
|
866
|
+
edit: true
|
|
867
|
+
},
|
|
811
868
|
helpPopovers,
|
|
812
869
|
intlKey: passedIntlKey,
|
|
813
870
|
intlNS: passedIntlNS,
|
|
814
|
-
labelOverrides = {}
|
|
871
|
+
labelOverrides = <span class="branch-0 cbranch-no" title="branch not covered" >{},</span>
|
|
815
872
|
refdataEndpoint,
|
|
816
873
|
}) => {
|
|
817
|
-
const
|
|
818
|
-
|
|
874
|
+
const {
|
|
875
|
+
create: createCondition = <span class="branch-0 cbranch-no" title="branch not covered" >true,</span>
|
|
876
|
+
delete: deleteCondition = <span class="branch-0 cbranch-no" title="branch not covered" >true,</span>
|
|
877
|
+
edit: editCondition = <span class="branch-0 cbranch-no" title="branch not covered" >true</span>
|
|
878
|
+
} = <span class="cstat-no" title="statement not covered" >displayConditions;</span>
|
|
879
|
+
|
|
880
|
+
const callout = <span class="cstat-no" title="statement not covered" >useContext(CalloutContext);</span>
|
|
881
|
+
const queryClient = <span class="cstat-no" title="statement not covered" >useQueryClient();</span>
|
|
819
882
|
|
|
820
|
-
const [customProperty, setCustomProperty] = useState()
|
|
821
|
-
const [deleteModal, setDeleteModal] = useState(false)
|
|
883
|
+
const [customProperty, setCustomProperty] = <span class="cstat-no" title="statement not covered" >useState();</span>
|
|
884
|
+
const [deleteModal, setDeleteModal] = <span class="cstat-no" title="statement not covered" >useState(false);</span>
|
|
822
885
|
|
|
823
|
-
const refdata = useRefdata({
|
|
886
|
+
const refdata = <span class="cstat-no" title="statement not covered" >useRefdata({</span>
|
|
824
887
|
endpoint: refdataEndpoint,
|
|
825
888
|
});
|
|
826
889
|
|
|
827
|
-
const [mode, setMode] = useState(VIEWING)
|
|
890
|
+
const [mode, setMode] = <span class="cstat-no" title="statement not covered" >useState(VIEWING);</span>
|
|
828
891
|
|
|
829
|
-
const kintIntl = useKintIntl(passedIntlKey, passedIntlNS)
|
|
892
|
+
const kintIntl = <span class="cstat-no" title="statement not covered" >useKintIntl(passedIntlKey, passedIntlNS);</span>
|
|
830
893
|
|
|
831
894
|
// Default props that need hooks are hard
|
|
832
|
-
let renderContextFilterOptions = contextFilterOptions
|
|
833
|
-
|
|
895
|
+
let renderContextFilterOptions = <span class="cstat-no" title="statement not covered" >contextFilterOptions;</span>
|
|
896
|
+
<span class="cstat-no" title="statement not covered" > if (!contextFilterOptions) {</span>
|
|
834
897
|
/*
|
|
835
898
|
Default is {value: '', label: 'All'}, empty string will map to ALL contexts
|
|
836
899
|
If null context is needed, use
|
|
@@ -853,7 +916,7 @@ const CustomPropertiesSettings = ({
|
|
|
853
916
|
post: createCustprop,
|
|
854
917
|
put: editCustProp,
|
|
855
918
|
delete: deleteCustProp
|
|
856
|
-
} = useMutateCustomProperties({
|
|
919
|
+
} = <span class="cstat-no" title="statement not covered" >useMutateCustomProperties({</span>
|
|
857
920
|
afterQueryCalls: {
|
|
858
921
|
put: <span class="fstat-no" title="function not covered" >re</span>s => {
|
|
859
922
|
<span class="cstat-no" title="statement not covered" > setMode(VIEWING);</span>
|
|
@@ -906,7 +969,7 @@ const CustomPropertiesSettings = ({
|
|
|
906
969
|
id: customProperty?.id
|
|
907
970
|
});
|
|
908
971
|
|
|
909
|
-
const handeContextSubmit = <span class="fstat-no" title="function not covered" >(s</span>ubmitData) => {
|
|
972
|
+
const handeContextSubmit = <span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >(s</span>ubmitData) => {</span>
|
|
910
973
|
<span class="cstat-no" title="statement not covered" > return {</span>
|
|
911
974
|
...submitData,
|
|
912
975
|
ctx: submitData?.ctx?.[0]?.value ?? ''
|
|
@@ -915,7 +978,7 @@ const CustomPropertiesSettings = ({
|
|
|
915
978
|
|
|
916
979
|
// When POSTing a custom property, the backend expects a shorthand "Integer" or "LocalDate"
|
|
917
980
|
// When PUTing a custom property, the backend needs the full class name
|
|
918
|
-
const handleType = <span class="fstat-no" title="function not covered" >(s</span>ubmitData) => {
|
|
981
|
+
const handleType = <span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >(s</span>ubmitData) => {</span>
|
|
919
982
|
const typeRegex = <span class="cstat-no" title="statement not covered" >/(com\.k_int\.web\.toolkit\.custprops\.types\.CustomProperty)(.*)/g;</span>
|
|
920
983
|
const typeMatch = <span class="cstat-no" title="statement not covered" >typeRegex.exec(submitData?.type) ?? [];</span>
|
|
921
984
|
<span class="cstat-no" title="statement not covered" > return {</span>
|
|
@@ -924,12 +987,12 @@ const CustomPropertiesSettings = ({
|
|
|
924
987
|
};
|
|
925
988
|
};
|
|
926
989
|
|
|
927
|
-
return (
|
|
990
|
+
<span class="cstat-no" title="statement not covered" > return (</span>
|
|
928
991
|
<>
|
|
929
992
|
<Pane
|
|
930
993
|
defaultWidth="fill"
|
|
931
994
|
id="settings-customProperties.lookupPane"
|
|
932
|
-
lastMenu={
|
|
995
|
+
lastMenu={createCondition &&
|
|
933
996
|
<Button
|
|
934
997
|
buttonStyle="primary"
|
|
935
998
|
marginBottom0
|
|
@@ -962,48 +1025,58 @@ const CustomPropertiesSettings = ({
|
|
|
962
1025
|
/>
|
|
963
1026
|
</Pane>
|
|
964
1027
|
{customProperty &&
|
|
965
|
-
|
|
966
|
-
actionMenu={<span class="fstat-no" title="function not covered" >({</span> onToggle }) =>
|
|
967
|
-
<span class="cstat-no" title="statement not covered" >
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
<span class="cstat-no" title="statement not covered" >
|
|
991
|
-
<span class="cstat-no" title="statement not covered" >
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1028
|
+
<Pane
|
|
1029
|
+
actionMenu={<span class="fstat-no" title="function not covered" >({</span> onToggle }) => {
|
|
1030
|
+
const actionsArray = <span class="cstat-no" title="statement not covered" >[];</span>
|
|
1031
|
+
<span class="cstat-no" title="statement not covered" > if (editCondition) {</span>
|
|
1032
|
+
<span class="cstat-no" title="statement not covered" > actionsArray.push(</span>
|
|
1033
|
+
<Button
|
|
1034
|
+
key={`${customProperty.name}-action-edit`}
|
|
1035
|
+
buttonStyle="dropdownItem"
|
|
1036
|
+
marginBottom0
|
|
1037
|
+
onClick={<span class="fstat-no" title="function not covered" >()</span> => <span class="cstat-no" title="statement not covered" >setMode(EDITING)}</span>
|
|
1038
|
+
>
|
|
1039
|
+
<Icon icon="edit">
|
|
1040
|
+
{
|
|
1041
|
+
kintIntl.formatKintMessage(
|
|
1042
|
+
{
|
|
1043
|
+
id: 'edit',
|
|
1044
|
+
overrideValue: labelOverrides?.edit,
|
|
1045
|
+
}
|
|
1046
|
+
)
|
|
1047
|
+
}
|
|
1048
|
+
</Icon>
|
|
1049
|
+
</Button>
|
|
1050
|
+
);
|
|
1051
|
+
}
|
|
1052
|
+
|
|
1053
|
+
<span class="cstat-no" title="statement not covered" > if (deleteCondition) {</span>
|
|
1054
|
+
<span class="cstat-no" title="statement not covered" > actionsArray.push(</span>
|
|
1055
|
+
<Button
|
|
1056
|
+
key={`${customProperty.name}-action-delete`}
|
|
1057
|
+
buttonStyle="dropdownItem"
|
|
1058
|
+
marginBottom0
|
|
1059
|
+
onClick={<span class="fstat-no" title="function not covered" >()</span> => {
|
|
1060
|
+
<span class="cstat-no" title="statement not covered" > setDeleteModal(true);</span>
|
|
1061
|
+
<span class="cstat-no" title="statement not covered" > onToggle();</span>
|
|
1062
|
+
}}
|
|
1063
|
+
>
|
|
1064
|
+
<Icon icon="trash">
|
|
1065
|
+
{
|
|
1066
|
+
kintIntl.formatKintMessage(
|
|
1067
|
+
{
|
|
1068
|
+
id: 'delete',
|
|
1069
|
+
overrideValue: labelOverrides?.delete,
|
|
1070
|
+
}
|
|
1071
|
+
)
|
|
1072
|
+
}
|
|
1073
|
+
</Icon>
|
|
1074
|
+
</Button>
|
|
1075
|
+
);
|
|
1076
|
+
}
|
|
1077
|
+
|
|
1078
|
+
<span class="cstat-no" title="statement not covered" > return (actionsArray?.length ? actionsArray : null);</span>
|
|
1079
|
+
}}
|
|
1007
1080
|
defaultWidth="fill"
|
|
1008
1081
|
dismissible
|
|
1009
1082
|
id="settings-customProperties-viewPane"
|
|
@@ -1032,7 +1105,7 @@ const CustomPropertiesSettings = ({
|
|
|
1032
1105
|
}
|
|
1033
1106
|
<FormModal
|
|
1034
1107
|
initialValues={mode === CREATING ?
|
|
1035
|
-
|
|
1108
|
+
{
|
|
1036
1109
|
weight: 0,
|
|
1037
1110
|
primary: true,
|
|
1038
1111
|
retired: false,
|
|
@@ -1040,14 +1113,14 @@ const CustomPropertiesSettings = ({
|
|
|
1040
1113
|
} :
|
|
1041
1114
|
{
|
|
1042
1115
|
...customProperty,
|
|
1043
|
-
ctx: customProperty?.ctx ?
|
|
1044
|
-
category: customProperty?.category ?
|
|
1116
|
+
ctx: customProperty?.ctx ? [{ value: customProperty.ctx, label: customProperty.ctx }] : null,
|
|
1117
|
+
category: customProperty?.category ? customProperty?.category?.id : null
|
|
1045
1118
|
}
|
|
1046
1119
|
}
|
|
1047
1120
|
modalProps={{
|
|
1048
1121
|
dismissible: true,
|
|
1049
1122
|
label: mode === CREATING ?
|
|
1050
|
-
|
|
1123
|
+
kintIntl.formatKintMessage(
|
|
1051
1124
|
{
|
|
1052
1125
|
id: 'customProperties.config.newModal',
|
|
1053
1126
|
overrideValue: labelOverrides?.newModalTitle
|
|
@@ -1066,7 +1139,7 @@ const CustomPropertiesSettings = ({
|
|
|
1066
1139
|
open: (mode === CREATING || mode === EDITING)
|
|
1067
1140
|
}}
|
|
1068
1141
|
onSubmit={mode === CREATING ?
|
|
1069
|
-
|
|
1142
|
+
compose(createCustprop, handeContextSubmit, handleType) :
|
|
1070
1143
|
compose(editCustProp, handeContextSubmit)
|
|
1071
1144
|
}
|
|
1072
1145
|
>
|
|
@@ -1076,7 +1149,7 @@ const CustomPropertiesSettings = ({
|
|
|
1076
1149
|
intlKey={passedIntlKey}
|
|
1077
1150
|
intlNS={passedIntlNS}
|
|
1078
1151
|
labelOverrides={labelOverrides}
|
|
1079
|
-
refdata={refdata.map(
|
|
1152
|
+
refdata={refdata.map(<span class="fstat-no" title="function not covered" >rd</span>c => (<span class="cstat-no" title="statement not covered" >{ label: rdc.desc, value: rdc.id })</span>)}
|
|
1080
1153
|
/>
|
|
1081
1154
|
</FormModal>
|
|
1082
1155
|
<ConfirmationModal
|
|
@@ -1132,6 +1205,11 @@ CustomPropertiesSettings.propTypes = {
|
|
|
1132
1205
|
])
|
|
1133
1206
|
})),
|
|
1134
1207
|
customPropertiesEndpoint: PropTypes.string,
|
|
1208
|
+
displayConditions: PropTypes.shape({
|
|
1209
|
+
create: PropTypes.bool,
|
|
1210
|
+
delete: PropTypes.bool,
|
|
1211
|
+
view: PropTypes.bool,
|
|
1212
|
+
}),
|
|
1135
1213
|
helpPopovers: PropTypes.object,
|
|
1136
1214
|
intlKey: PropTypes.string,
|
|
1137
1215
|
intlNS: PropTypes.string,
|
|
@@ -1147,7 +1225,7 @@ export default CustomPropertiesSettings;
|
|
|
1147
1225
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
1148
1226
|
Code coverage generated by
|
|
1149
1227
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
1150
|
-
at 2023-
|
|
1228
|
+
at 2023-03-21T17:34:57.995Z
|
|
1151
1229
|
</div>
|
|
1152
1230
|
<script src="../../prettify.js"></script>
|
|
1153
1231
|
<script>
|