@k-int/stripes-kint-components 2.1.3 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -4
- package/es/index.js +26 -0
- package/es/lib/CustomProperties/Config/CustomPropertiesSettings.js +1 -0
- package/es/lib/CustomProperties/Config/CustomPropertiesView.js +22 -9
- package/es/lib/CustomProperties/Config/CustomPropertyForm.js +88 -44
- package/es/lib/FormModal/FormModal.js +2 -7
- package/es/lib/utils/validators.js +101 -0
- package/junit.xml +38 -38
- package/package.json +1 -1
- package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionList.js.html +11 -2
- package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionListFieldArray.js.html +25 -13
- package/src/artifacts/coverage-jest/lcov-report/ActionList/index.html +3 -3
- 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 +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertiesSettings.js.html +5 -2
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertiesView.js.html +75 -9
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertyForm.js.html +195 -33
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/index.html +10 -10
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/EditableRefdataList.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/EditableSettingsList.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/EditableSettingsListFieldArray.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/EditSettingValue.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/RenderSettingValue.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/SettingField.js.html +1 -1
- 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 +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/FormModal/FormModal.js.html +7 -22
- package/src/artifacts/coverage-jest/lcov-report/FormModal/index.html +7 -7
- 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 +1 -1
- 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 +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 +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SettingPage/SettingPagePane.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SettingPage/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SettingPage/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/Typedown/Typedown.js.html +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useSettingSection.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useSettings.js.html +1 -1
- 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 +1 -1
- 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/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/useTemplates.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/index.html +27 -27
- package/src/artifacts/coverage-jest/lcov-report/utils/buildUrl.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/utils/generateKiwtQuery.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/utils/generateKiwtQueryParams.js.html +16 -10
- package/src/artifacts/coverage-jest/lcov-report/utils/index.html +24 -9
- package/src/artifacts/coverage-jest/lcov-report/utils/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/utils/refdataOptions.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/utils/renderHelpText.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/utils/selectorSafe.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/utils/sortByLabel.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/utils/toCamelCase.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/utils/validators.js.html +202 -0
- package/src/artifacts/coverage-jest/lcov.info +366 -296
- package/src/index.js +8 -0
- package/src/lib/ActionList/ActionListFieldArray.js +1 -1
- package/src/lib/CustomProperties/Config/CustomPropertiesSettings.js +1 -0
- package/src/lib/CustomProperties/Config/CustomPropertiesView.js +28 -6
- package/src/lib/CustomProperties/Config/CustomPropertyForm.js +77 -23
- package/src/lib/FormModal/FormModal.js +2 -7
- package/src/lib/utils/generateKiwtQueryParams.js +2 -2
- package/src/lib/utils/validators.js +39 -0
- package/translations/stripes-kint-components/en.json +6 -1
package/junit.xml
CHANGED
|
@@ -1,79 +1,79 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<testsuites name="jest tests" tests="34" failures="0" errors="0" time="
|
|
3
|
-
<testsuite name="RenderSettingValue" errors="0" failures="0" skipped="0" timestamp="2022-03-
|
|
4
|
-
<testcase classname="RenderSettingValue render string settings render a string setting renders the value" name="RenderSettingValue render string settings render a string setting renders the value" time="0.
|
|
2
|
+
<testsuites name="jest tests" tests="34" failures="0" errors="0" time="234.178">
|
|
3
|
+
<testsuite name="RenderSettingValue" errors="0" failures="0" skipped="0" timestamp="2022-03-11T16:39:23" time="225.964" tests="12">
|
|
4
|
+
<testcase classname="RenderSettingValue render string settings render a string setting renders the value" name="RenderSettingValue render string settings render a string setting renders the value" time="0.081">
|
|
5
5
|
</testcase>
|
|
6
|
-
<testcase classname="RenderSettingValue render string settings render a string setting without a value renders the default value" name="RenderSettingValue render string settings render a string setting without a value renders the default value" time="0.
|
|
6
|
+
<testcase classname="RenderSettingValue render string settings render a string setting without a value renders the default value" name="RenderSettingValue render string settings render a string setting without a value renders the default value" time="0.005">
|
|
7
7
|
</testcase>
|
|
8
|
-
<testcase classname="RenderSettingValue render string settings render a string setting without a value or default renders the empty message" name="RenderSettingValue render string settings render a string setting without a value or default renders the empty message" time="0.
|
|
8
|
+
<testcase classname="RenderSettingValue render string settings render a string setting without a value or default renders the empty message" name="RenderSettingValue render string settings render a string setting without a value or default renders the empty message" time="0.007">
|
|
9
9
|
</testcase>
|
|
10
|
-
<testcase classname="RenderSettingValue render refdata settings render a refdata setting renders the value" name="RenderSettingValue render refdata settings render a refdata setting renders the value" time="0.
|
|
10
|
+
<testcase classname="RenderSettingValue render refdata settings render a refdata setting renders the value" name="RenderSettingValue render refdata settings render a refdata setting renders the value" time="0.005">
|
|
11
11
|
</testcase>
|
|
12
|
-
<testcase classname="RenderSettingValue render refdata settings render a refdata setting without a value renders the default value" name="RenderSettingValue render refdata settings render a refdata setting without a value renders the default value" time="0.
|
|
12
|
+
<testcase classname="RenderSettingValue render refdata settings render a refdata setting without a value renders the default value" name="RenderSettingValue render refdata settings render a refdata setting without a value renders the default value" time="0.005">
|
|
13
13
|
</testcase>
|
|
14
|
-
<testcase classname="RenderSettingValue render refdata settings render a refdata setting without a value or default renders the empty message" name="RenderSettingValue render refdata settings render a refdata setting without a value or default renders the empty message" time="0.
|
|
14
|
+
<testcase classname="RenderSettingValue render refdata settings render a refdata setting without a value or default renders the empty message" name="RenderSettingValue render refdata settings render a refdata setting without a value or default renders the empty message" time="0.005">
|
|
15
15
|
</testcase>
|
|
16
|
-
<testcase classname="RenderSettingValue render password settings render a password setting renders the value" name="RenderSettingValue render password settings render a password setting renders the value" time="0.
|
|
16
|
+
<testcase classname="RenderSettingValue render password settings render a password setting renders the value" name="RenderSettingValue render password settings render a password setting renders the value" time="0.005">
|
|
17
17
|
</testcase>
|
|
18
|
-
<testcase classname="RenderSettingValue render password settings render a password setting without a value renders the default value" name="RenderSettingValue render password settings render a password setting without a value renders the default value" time="0.
|
|
18
|
+
<testcase classname="RenderSettingValue render password settings render a password setting without a value renders the default value" name="RenderSettingValue render password settings render a password setting without a value renders the default value" time="0.006">
|
|
19
19
|
</testcase>
|
|
20
|
-
<testcase classname="RenderSettingValue render password settings render a password setting without a value or default renders the empty message" name="RenderSettingValue render password settings render a password setting without a value or default renders the empty message" time="0.
|
|
20
|
+
<testcase classname="RenderSettingValue render password settings render a password setting without a value or default renders the empty message" name="RenderSettingValue render password settings render a password setting without a value or default renders the empty message" time="0.004">
|
|
21
21
|
</testcase>
|
|
22
|
-
<testcase classname="RenderSettingValue render template settings render a template setting renders the value" name="RenderSettingValue render template settings render a template setting renders the value" time="0.
|
|
22
|
+
<testcase classname="RenderSettingValue render template settings render a template setting renders the value" name="RenderSettingValue render template settings render a template setting renders the value" time="0.012">
|
|
23
23
|
</testcase>
|
|
24
|
-
<testcase classname="RenderSettingValue render template settings render a template setting without a value renders the default value" name="RenderSettingValue render template settings render a template setting without a value renders the default value" time="0.
|
|
24
|
+
<testcase classname="RenderSettingValue render template settings render a template setting without a value renders the default value" name="RenderSettingValue render template settings render a template setting without a value renders the default value" time="0.004">
|
|
25
25
|
</testcase>
|
|
26
|
-
<testcase classname="RenderSettingValue render template settings render a template setting without a value or default renders the empty message" name="RenderSettingValue render template settings render a template setting without a value or default renders the empty message" time="0.
|
|
26
|
+
<testcase classname="RenderSettingValue render template settings render a template setting without a value or default renders the empty message" name="RenderSettingValue render template settings render a template setting without a value or default renders the empty message" time="0.004">
|
|
27
27
|
</testcase>
|
|
28
28
|
</testsuite>
|
|
29
|
-
<testsuite name="EditableSettingsListFieldArray" errors="0" failures="0" skipped="0" timestamp="2022-03-
|
|
30
|
-
<testcase classname="EditableSettingsListFieldArray with empty initial values renders empty field" name="EditableSettingsListFieldArray with empty initial values renders empty field" time="0.
|
|
29
|
+
<testsuite name="EditableSettingsListFieldArray" errors="0" failures="0" skipped="0" timestamp="2022-03-11T16:39:23" time="226.585" tests="3">
|
|
30
|
+
<testcase classname="EditableSettingsListFieldArray with empty initial values renders empty field" name="EditableSettingsListFieldArray with empty initial values renders empty field" time="0.061">
|
|
31
31
|
</testcase>
|
|
32
|
-
<testcase classname="EditableSettingsListFieldArray with initial value set renders the SettingField component" name="EditableSettingsListFieldArray with initial value set renders the SettingField component" time="0.
|
|
32
|
+
<testcase classname="EditableSettingsListFieldArray with initial value set renders the SettingField component" name="EditableSettingsListFieldArray with initial value set renders the SettingField component" time="0.014">
|
|
33
33
|
</testcase>
|
|
34
|
-
<testcase classname="EditableSettingsListFieldArray with multiple initial values set renders the correct number of SettingField components" name="EditableSettingsListFieldArray with multiple initial values set renders the correct number of SettingField components" time="0.
|
|
34
|
+
<testcase classname="EditableSettingsListFieldArray with multiple initial values set renders the correct number of SettingField components" name="EditableSettingsListFieldArray with multiple initial values set renders the correct number of SettingField components" time="0.011">
|
|
35
35
|
</testcase>
|
|
36
36
|
</testsuite>
|
|
37
|
-
<testsuite name="EditSettingValue" errors="0" failures="0" skipped="0" timestamp="2022-03-
|
|
38
|
-
<testcase classname="EditSettingValue edit string setting with no initial value renders the edit field" name="EditSettingValue edit string setting with no initial value renders the edit field" time="0.
|
|
37
|
+
<testsuite name="EditSettingValue" errors="0" failures="0" skipped="0" timestamp="2022-03-11T16:39:23" time="228.529" tests="16">
|
|
38
|
+
<testcase classname="EditSettingValue edit string setting with no initial value renders the edit field" name="EditSettingValue edit string setting with no initial value renders the edit field" time="0.134">
|
|
39
39
|
</testcase>
|
|
40
40
|
<testcase classname="EditSettingValue edit string setting with initial value renders the expected value in the edit field" name="EditSettingValue edit string setting with initial value renders the expected value in the edit field" time="0.031">
|
|
41
41
|
</testcase>
|
|
42
|
-
<testcase classname="EditSettingValue edit refdata setting with no initial value for refdata with <4 options renders the expected radio buttons" name="EditSettingValue edit refdata setting with no initial value for refdata with <4 options renders the expected radio buttons" time="0.
|
|
42
|
+
<testcase classname="EditSettingValue edit refdata setting with no initial value for refdata with <4 options renders the expected radio buttons" name="EditSettingValue edit refdata setting with no initial value for refdata with <4 options renders the expected radio buttons" time="0.171">
|
|
43
43
|
</testcase>
|
|
44
|
-
<testcase classname="EditSettingValue edit refdata setting with no initial value for refdata with <4 options no radio buttons are checked" name="EditSettingValue edit refdata setting with no initial value for refdata with <4 options no radio buttons are checked" time="0.
|
|
44
|
+
<testcase classname="EditSettingValue edit refdata setting with no initial value for refdata with <4 options no radio buttons are checked" name="EditSettingValue edit refdata setting with no initial value for refdata with <4 options no radio buttons are checked" time="0.192">
|
|
45
45
|
</testcase>
|
|
46
|
-
<testcase classname="EditSettingValue edit refdata setting with initial value for refdata with <4 options renders the expected radio buttons" name="EditSettingValue edit refdata setting with initial value for refdata with <4 options renders the expected radio buttons" time="0.
|
|
46
|
+
<testcase classname="EditSettingValue edit refdata setting with initial value for refdata with <4 options renders the expected radio buttons" name="EditSettingValue edit refdata setting with initial value for refdata with <4 options renders the expected radio buttons" time="0.166">
|
|
47
47
|
</testcase>
|
|
48
|
-
<testcase classname="EditSettingValue edit refdata setting with initial value for refdata with <4 options the correct radio button is checked" name="EditSettingValue edit refdata setting with initial value for refdata with <4 options the correct radio button is checked" time="0.
|
|
48
|
+
<testcase classname="EditSettingValue edit refdata setting with initial value for refdata with <4 options the correct radio button is checked" name="EditSettingValue edit refdata setting with initial value for refdata with <4 options the correct radio button is checked" time="0.195">
|
|
49
49
|
</testcase>
|
|
50
|
-
<testcase classname="EditSettingValue edit refdata setting with no initial value for refdata with >4 options renders the expected select field" name="EditSettingValue edit refdata setting with no initial value for refdata with >4 options renders the expected select field" time="0.
|
|
50
|
+
<testcase classname="EditSettingValue edit refdata setting with no initial value for refdata with >4 options renders the expected select field" name="EditSettingValue edit refdata setting with no initial value for refdata with >4 options renders the expected select field" time="0.036">
|
|
51
51
|
</testcase>
|
|
52
|
-
<testcase classname="EditSettingValue edit refdata setting with no initial value for refdata with >4 options renders the expected refdata options" name="EditSettingValue edit refdata setting with no initial value for refdata with >4 options renders the expected refdata options" time="0.
|
|
52
|
+
<testcase classname="EditSettingValue edit refdata setting with no initial value for refdata with >4 options renders the expected refdata options" name="EditSettingValue edit refdata setting with no initial value for refdata with >4 options renders the expected refdata options" time="0.314">
|
|
53
53
|
</testcase>
|
|
54
|
-
<testcase classname="EditSettingValue edit refdata setting with initial value for refdata with >4 options renders the expected refdata options" name="EditSettingValue edit refdata setting with initial value for refdata with >4 options renders the expected refdata options" time="0.
|
|
54
|
+
<testcase classname="EditSettingValue edit refdata setting with initial value for refdata with >4 options renders the expected refdata options" name="EditSettingValue edit refdata setting with initial value for refdata with >4 options renders the expected refdata options" time="0.307">
|
|
55
55
|
</testcase>
|
|
56
|
-
<testcase classname="EditSettingValue edit refdata setting with initial value for refdata with >4 options renders the expected value in the refdata dropdown" name="EditSettingValue edit refdata setting with initial value for refdata with >4 options renders the expected value in the refdata dropdown" time="0.
|
|
56
|
+
<testcase classname="EditSettingValue edit refdata setting with initial value for refdata with >4 options renders the expected value in the refdata dropdown" name="EditSettingValue edit refdata setting with initial value for refdata with >4 options renders the expected value in the refdata dropdown" time="0.024">
|
|
57
57
|
</testcase>
|
|
58
|
-
<testcase classname="EditSettingValue edit template setting with no initial value renders the edit field" name="EditSettingValue edit template setting with no initial value renders the edit field" time="0.
|
|
58
|
+
<testcase classname="EditSettingValue edit template setting with no initial value renders the edit field" name="EditSettingValue edit template setting with no initial value renders the edit field" time="0.034">
|
|
59
59
|
</testcase>
|
|
60
|
-
<testcase classname="EditSettingValue edit template setting with no initial value renders the expected template options" name="EditSettingValue edit template setting with no initial value renders the expected template options" time="0.
|
|
60
|
+
<testcase classname="EditSettingValue edit template setting with no initial value renders the expected template options" name="EditSettingValue edit template setting with no initial value renders the expected template options" time="0.095">
|
|
61
61
|
</testcase>
|
|
62
|
-
<testcase classname="EditSettingValue edit template setting with no initial value renders expected display item in template dropdown" name="EditSettingValue edit template setting with no initial value renders expected display item in template dropdown" time="0.
|
|
62
|
+
<testcase classname="EditSettingValue edit template setting with no initial value renders expected display item in template dropdown" name="EditSettingValue edit template setting with no initial value renders expected display item in template dropdown" time="0.021">
|
|
63
63
|
</testcase>
|
|
64
|
-
<testcase classname="EditSettingValue edit template setting with initial value renders the edit field" name="EditSettingValue edit template setting with initial value renders the edit field" time="0.
|
|
64
|
+
<testcase classname="EditSettingValue edit template setting with initial value renders the edit field" name="EditSettingValue edit template setting with initial value renders the edit field" time="0.023">
|
|
65
65
|
</testcase>
|
|
66
|
-
<testcase classname="EditSettingValue edit template setting with initial value renders the expected template options" name="EditSettingValue edit template setting with initial value renders the expected template options" time="0.
|
|
66
|
+
<testcase classname="EditSettingValue edit template setting with initial value renders the expected template options" name="EditSettingValue edit template setting with initial value renders the expected template options" time="0.095">
|
|
67
67
|
</testcase>
|
|
68
|
-
<testcase classname="EditSettingValue edit template setting with initial value renders expected display item in template dropdown" name="EditSettingValue edit template setting with initial value renders expected display item in template dropdown" time="0.
|
|
68
|
+
<testcase classname="EditSettingValue edit template setting with initial value renders expected display item in template dropdown" name="EditSettingValue edit template setting with initial value renders expected display item in template dropdown" time="0.021">
|
|
69
69
|
</testcase>
|
|
70
70
|
</testsuite>
|
|
71
|
-
<testsuite name="SettingField" errors="0" failures="0" skipped="0" timestamp="2022-03-
|
|
72
|
-
<testcase classname="SettingField renders RenderSettingValue" name="SettingField renders RenderSettingValue" time="0.
|
|
71
|
+
<testsuite name="SettingField" errors="0" failures="0" skipped="0" timestamp="2022-03-11T16:39:23" time="228.911" tests="3">
|
|
72
|
+
<testcase classname="SettingField renders RenderSettingValue" name="SettingField renders RenderSettingValue" time="0.078">
|
|
73
73
|
</testcase>
|
|
74
|
-
<testcase classname="SettingField renders the edit button" name="SettingField renders the edit button" time="0.
|
|
74
|
+
<testcase classname="SettingField renders the edit button" name="SettingField renders the edit button" time="0.012">
|
|
75
75
|
</testcase>
|
|
76
|
-
<testcase classname="SettingField clicking edit/save works as expected" name="SettingField clicking edit/save works as expected" time="0.
|
|
76
|
+
<testcase classname="SettingField clicking edit/save works as expected" name="SettingField clicking edit/save works as expected" time="0.197">
|
|
77
77
|
</testcase>
|
|
78
78
|
</testsuite>
|
|
79
79
|
</testsuites>
|
package/package.json
CHANGED
|
@@ -127,7 +127,10 @@
|
|
|
127
127
|
<a name='L62'></a><a href='#L62'>62</a>
|
|
128
128
|
<a name='L63'></a><a href='#L63'>63</a>
|
|
129
129
|
<a name='L64'></a><a href='#L64'>64</a>
|
|
130
|
-
<a name='L65'></a><a href='#L65'>65</a
|
|
130
|
+
<a name='L65'></a><a href='#L65'>65</a>
|
|
131
|
+
<a name='L66'></a><a href='#L66'>66</a>
|
|
132
|
+
<a name='L67'></a><a href='#L67'>67</a>
|
|
133
|
+
<a name='L68'></a><a href='#L68'>68</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
131
134
|
<span class="cline-any cline-neutral"> </span>
|
|
132
135
|
<span class="cline-any cline-neutral"> </span>
|
|
133
136
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -147,6 +150,7 @@
|
|
|
147
150
|
<span class="cline-any cline-neutral"> </span>
|
|
148
151
|
<span class="cline-any cline-neutral"> </span>
|
|
149
152
|
<span class="cline-any cline-neutral"> </span>
|
|
153
|
+
<span class="cline-any cline-neutral"> </span>
|
|
150
154
|
<span class="cline-any cline-no"> </span>
|
|
151
155
|
<span class="cline-any cline-neutral"> </span>
|
|
152
156
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -158,6 +162,7 @@
|
|
|
158
162
|
<span class="cline-any cline-neutral"> </span>
|
|
159
163
|
<span class="cline-any cline-neutral"> </span>
|
|
160
164
|
<span class="cline-any cline-neutral"> </span>
|
|
165
|
+
<span class="cline-any cline-neutral"> </span>
|
|
161
166
|
<span class="cline-any cline-no"> </span>
|
|
162
167
|
<span class="cline-any cline-neutral"> </span>
|
|
163
168
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -188,6 +193,7 @@
|
|
|
188
193
|
<span class="cline-any cline-neutral"> </span>
|
|
189
194
|
<span class="cline-any cline-neutral"> </span>
|
|
190
195
|
<span class="cline-any cline-neutral"> </span>
|
|
196
|
+
<span class="cline-any cline-neutral"> </span>
|
|
191
197
|
<span class="cline-any cline-no"> </span>
|
|
192
198
|
<span class="cline-any cline-neutral"> </span>
|
|
193
199
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -208,6 +214,7 @@ const propTypes = <span class="cstat-no" title="statement not covered" >{</span>
|
|
|
208
214
|
creatableFields: PropTypes.object,
|
|
209
215
|
editableFields: PropTypes.object,
|
|
210
216
|
fieldComponents: PropTypes.object,
|
|
217
|
+
hideCreateButton: PropTypes.bool,
|
|
211
218
|
visibleFields: PropTypes.arrayOf(PropTypes.string)
|
|
212
219
|
};
|
|
213
220
|
|
|
@@ -219,6 +226,7 @@ const ActionList = <span class="cstat-no" title="statement not covered" ><span c
|
|
|
219
226
|
creatableFields = <span class="branch-0 cbranch-no" title="branch not covered" >{},</span>
|
|
220
227
|
editableFields = <span class="branch-0 cbranch-no" title="branch not covered" >{},</span>
|
|
221
228
|
fieldComponents = <span class="branch-0 cbranch-no" title="branch not covered" >{},</span>
|
|
229
|
+
hideCreateButton,
|
|
222
230
|
visibleFields,
|
|
223
231
|
...mclProps // Assume anything left over is to directly apply to the MCL
|
|
224
232
|
}) => {
|
|
@@ -241,6 +249,7 @@ const ActionList = <span class="cstat-no" title="statement not covered" ><span c
|
|
|
241
249
|
creatableFields={creatableFields}
|
|
242
250
|
editableFields={editableFields}
|
|
243
251
|
fieldComponents={fieldComponents}
|
|
252
|
+
hideCreateButton={hideCreateButton}
|
|
244
253
|
name="contentData"
|
|
245
254
|
visibleFields={visibleFields}
|
|
246
255
|
{...mclProps}
|
|
@@ -262,7 +271,7 @@ export default ActionList;
|
|
|
262
271
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
263
272
|
Code coverage generated by
|
|
264
273
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
265
|
-
at
|
|
274
|
+
at Fri Mar 11 2022 16:43:16 GMT+0000 (Greenwich Mean Time)
|
|
266
275
|
</div>
|
|
267
276
|
<script src="../prettify.js"></script>
|
|
268
277
|
<script>
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
33
|
<span class="strong">0% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>0/
|
|
35
|
+
<span class='fraction'>0/53</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
@@ -339,7 +339,11 @@
|
|
|
339
339
|
<a name='L274'></a><a href='#L274'>274</a>
|
|
340
340
|
<a name='L275'></a><a href='#L275'>275</a>
|
|
341
341
|
<a name='L276'></a><a href='#L276'>276</a>
|
|
342
|
-
<a name='L277'></a><a href='#L277'>277</a
|
|
342
|
+
<a name='L277'></a><a href='#L277'>277</a>
|
|
343
|
+
<a name='L278'></a><a href='#L278'>278</a>
|
|
344
|
+
<a name='L279'></a><a href='#L279'>279</a>
|
|
345
|
+
<a name='L280'></a><a href='#L280'>280</a>
|
|
346
|
+
<a name='L281'></a><a href='#L281'>281</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
343
347
|
<span class="cline-any cline-neutral"> </span>
|
|
344
348
|
<span class="cline-any cline-neutral"> </span>
|
|
345
349
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -364,6 +368,7 @@
|
|
|
364
368
|
<span class="cline-any cline-neutral"> </span>
|
|
365
369
|
<span class="cline-any cline-neutral"> </span>
|
|
366
370
|
<span class="cline-any cline-neutral"> </span>
|
|
371
|
+
<span class="cline-any cline-neutral"> </span>
|
|
367
372
|
<span class="cline-any cline-no"> </span>
|
|
368
373
|
<span class="cline-any cline-neutral"> </span>
|
|
369
374
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -376,6 +381,7 @@
|
|
|
376
381
|
<span class="cline-any cline-neutral"> </span>
|
|
377
382
|
<span class="cline-any cline-neutral"> </span>
|
|
378
383
|
<span class="cline-any cline-neutral"> </span>
|
|
384
|
+
<span class="cline-any cline-neutral"> </span>
|
|
379
385
|
<span class="cline-any cline-no"> </span>
|
|
380
386
|
<span class="cline-any cline-no"> </span>
|
|
381
387
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -587,6 +593,7 @@
|
|
|
587
593
|
<span class="cline-any cline-neutral"> </span>
|
|
588
594
|
<span class="cline-any cline-neutral"> </span>
|
|
589
595
|
<span class="cline-any cline-neutral"> </span>
|
|
596
|
+
<span class="cline-any cline-neutral"> </span>
|
|
590
597
|
<span class="cline-any cline-no"> </span>
|
|
591
598
|
<span class="cline-any cline-no"> </span>
|
|
592
599
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -612,6 +619,7 @@
|
|
|
612
619
|
<span class="cline-any cline-neutral"> </span>
|
|
613
620
|
<span class="cline-any cline-neutral"> </span>
|
|
614
621
|
<span class="cline-any cline-neutral"> </span>
|
|
622
|
+
<span class="cline-any cline-neutral"> </span>
|
|
615
623
|
<span class="cline-any cline-no"> </span>
|
|
616
624
|
<span class="cline-any cline-neutral"> </span>
|
|
617
625
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -637,6 +645,7 @@ const propTypes = <span class="cstat-no" title="statement not covered" >{</span>
|
|
|
637
645
|
fields: PropTypes.object,
|
|
638
646
|
fieldComponents: PropTypes.object,
|
|
639
647
|
formatter: PropTypes.object,
|
|
648
|
+
hideCreateButton: PropTypes.bool,
|
|
640
649
|
visibleFields: PropTypes.arrayOf(PropTypes.string)
|
|
641
650
|
};
|
|
642
651
|
|
|
@@ -648,6 +657,7 @@ const ActionListFieldArray = <span class="cstat-no" title="statement not covered
|
|
|
648
657
|
editableFields,
|
|
649
658
|
fields,
|
|
650
659
|
fieldComponents,
|
|
660
|
+
hideCreateButton = <span class="branch-0 cbranch-no" title="branch not covered" >false,</span>
|
|
651
661
|
visibleFields,
|
|
652
662
|
...mclProps // Assume anything left over is to directly apply to the MCL
|
|
653
663
|
}) => {
|
|
@@ -859,16 +869,18 @@ const ActionListFieldArray = <span class="cstat-no" title="statement not covered
|
|
|
859
869
|
|
|
860
870
|
<span class="cstat-no" title="statement not covered" > return (</span>
|
|
861
871
|
<>
|
|
862
|
-
&
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
<span class="
|
|
867
|
-
<span class="cstat-no" title="statement not covered" >
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
&
|
|
871
|
-
|
|
872
|
+
{!hideCreateButton &&
|
|
873
|
+
<Button
|
|
874
|
+
buttonClass={css.buttonRight}
|
|
875
|
+
disabled={!actionCalls.create}
|
|
876
|
+
onClick={<span class="fstat-no" title="function not covered" >()</span> => {
|
|
877
|
+
<span class="cstat-no" title="statement not covered" > toggleEditing('NEW_ROW');</span>
|
|
878
|
+
<span class="cstat-no" title="statement not covered" > fields.push({});</span>
|
|
879
|
+
}}
|
|
880
|
+
>
|
|
881
|
+
<FormattedMessage id="stripes-kint-components.actionList.create" />
|
|
882
|
+
</Button>
|
|
883
|
+
}
|
|
872
884
|
<MultiColumnList
|
|
873
885
|
columnMapping={{
|
|
874
886
|
...columnMapping,
|
|
@@ -898,7 +910,7 @@ export default ActionListFieldArray;
|
|
|
898
910
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
899
911
|
Code coverage generated by
|
|
900
912
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
901
|
-
at
|
|
913
|
+
at Fri Mar 11 2022 16:43:16 GMT+0000 (Greenwich Mean Time)
|
|
902
914
|
</div>
|
|
903
915
|
<script src="../prettify.js"></script>
|
|
904
916
|
<script>
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
33
|
<span class="strong">0% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>0/
|
|
35
|
+
<span class='fraction'>0/57</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
<td data-value="0" class="pct low">0%</td>
|
|
102
102
|
<td data-value="81" class="abs low">0/81</td>
|
|
103
103
|
<td data-value="0" class="pct low">0%</td>
|
|
104
|
-
<td data-value="
|
|
104
|
+
<td data-value="53" class="abs low">0/53</td>
|
|
105
105
|
<td data-value="0" class="pct low">0%</td>
|
|
106
106
|
<td data-value="21" class="abs low">0/21</td>
|
|
107
107
|
<td data-value="0" class="pct low">0%</td>
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
132
132
|
Code coverage generated by
|
|
133
133
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
134
|
-
at
|
|
134
|
+
at Fri Mar 11 2022 16:43:16 GMT+0000 (Greenwich Mean Time)
|
|
135
135
|
</div>
|
|
136
136
|
<script src="../prettify.js"></script>
|
|
137
137
|
<script>
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
74
74
|
Code coverage generated by
|
|
75
75
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
76
|
-
at
|
|
76
|
+
at Fri Mar 11 2022 16:43:16 GMT+0000 (Greenwich Mean Time)
|
|
77
77
|
</div>
|
|
78
78
|
<script src="../prettify.js"></script>
|
|
79
79
|
<script>
|
|
@@ -403,7 +403,7 @@ export default CustomPropertiesLookup;
|
|
|
403
403
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
404
404
|
Code coverage generated by
|
|
405
405
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
406
|
-
at
|
|
406
|
+
at Fri Mar 11 2022 16:43:16 GMT+0000 (Greenwich Mean Time)
|
|
407
407
|
</div>
|
|
408
408
|
<script src="../../prettify.js"></script>
|
|
409
409
|
<script>
|
|
@@ -303,7 +303,8 @@
|
|
|
303
303
|
<a name='L238'></a><a href='#L238'>238</a>
|
|
304
304
|
<a name='L239'></a><a href='#L239'>239</a>
|
|
305
305
|
<a name='L240'></a><a href='#L240'>240</a>
|
|
306
|
-
<a name='L241'></a><a href='#L241'>241</a
|
|
306
|
+
<a name='L241'></a><a href='#L241'>241</a>
|
|
307
|
+
<a name='L242'></a><a href='#L242'>242</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
307
308
|
<span class="cline-any cline-neutral"> </span>
|
|
308
309
|
<span class="cline-any cline-neutral"> </span>
|
|
309
310
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -485,6 +486,7 @@
|
|
|
485
486
|
<span class="cline-any cline-neutral"> </span>
|
|
486
487
|
<span class="cline-any cline-neutral"> </span>
|
|
487
488
|
<span class="cline-any cline-neutral"> </span>
|
|
489
|
+
<span class="cline-any cline-neutral"> </span>
|
|
488
490
|
<span class="cline-any cline-no"> </span>
|
|
489
491
|
<span class="cline-any cline-neutral"> </span>
|
|
490
492
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -716,6 +718,7 @@ const CustomPropertiesSettings = <span class="cstat-no" title="statement not cov
|
|
|
716
718
|
{
|
|
717
719
|
weight: 0,
|
|
718
720
|
primary: true,
|
|
721
|
+
retired: false,
|
|
719
722
|
defaultInternal: true
|
|
720
723
|
} :
|
|
721
724
|
{
|
|
@@ -790,7 +793,7 @@ export default CustomPropertiesSettings;
|
|
|
790
793
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
791
794
|
Code coverage generated by
|
|
792
795
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
793
|
-
at
|
|
796
|
+
at Fri Mar 11 2022 16:43:16 GMT+0000 (Greenwich Mean Time)
|
|
794
797
|
</div>
|
|
795
798
|
<script src="../../prettify.js"></script>
|
|
796
799
|
<script>
|
package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertiesView.js.html
CHANGED
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
33
|
<span class="strong">0% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>0/
|
|
35
|
+
<span class='fraction'>0/34</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
@@ -213,7 +213,29 @@
|
|
|
213
213
|
<a name='L148'></a><a href='#L148'>148</a>
|
|
214
214
|
<a name='L149'></a><a href='#L149'>149</a>
|
|
215
215
|
<a name='L150'></a><a href='#L150'>150</a>
|
|
216
|
-
<a name='L151'></a><a href='#L151'>151</a
|
|
216
|
+
<a name='L151'></a><a href='#L151'>151</a>
|
|
217
|
+
<a name='L152'></a><a href='#L152'>152</a>
|
|
218
|
+
<a name='L153'></a><a href='#L153'>153</a>
|
|
219
|
+
<a name='L154'></a><a href='#L154'>154</a>
|
|
220
|
+
<a name='L155'></a><a href='#L155'>155</a>
|
|
221
|
+
<a name='L156'></a><a href='#L156'>156</a>
|
|
222
|
+
<a name='L157'></a><a href='#L157'>157</a>
|
|
223
|
+
<a name='L158'></a><a href='#L158'>158</a>
|
|
224
|
+
<a name='L159'></a><a href='#L159'>159</a>
|
|
225
|
+
<a name='L160'></a><a href='#L160'>160</a>
|
|
226
|
+
<a name='L161'></a><a href='#L161'>161</a>
|
|
227
|
+
<a name='L162'></a><a href='#L162'>162</a>
|
|
228
|
+
<a name='L163'></a><a href='#L163'>163</a>
|
|
229
|
+
<a name='L164'></a><a href='#L164'>164</a>
|
|
230
|
+
<a name='L165'></a><a href='#L165'>165</a>
|
|
231
|
+
<a name='L166'></a><a href='#L166'>166</a>
|
|
232
|
+
<a name='L167'></a><a href='#L167'>167</a>
|
|
233
|
+
<a name='L168'></a><a href='#L168'>168</a>
|
|
234
|
+
<a name='L169'></a><a href='#L169'>169</a>
|
|
235
|
+
<a name='L170'></a><a href='#L170'>170</a>
|
|
236
|
+
<a name='L171'></a><a href='#L171'>171</a>
|
|
237
|
+
<a name='L172'></a><a href='#L172'>172</a>
|
|
238
|
+
<a name='L173'></a><a href='#L173'>173</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
217
239
|
<span class="cline-any cline-neutral"> </span>
|
|
218
240
|
<span class="cline-any cline-neutral"> </span>
|
|
219
241
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -343,6 +365,27 @@
|
|
|
343
365
|
<span class="cline-any cline-neutral"> </span>
|
|
344
366
|
<span class="cline-any cline-neutral"> </span>
|
|
345
367
|
<span class="cline-any cline-neutral"> </span>
|
|
368
|
+
<span class="cline-any cline-neutral"> </span>
|
|
369
|
+
<span class="cline-any cline-neutral"> </span>
|
|
370
|
+
<span class="cline-any cline-neutral"> </span>
|
|
371
|
+
<span class="cline-any cline-neutral"> </span>
|
|
372
|
+
<span class="cline-any cline-neutral"> </span>
|
|
373
|
+
<span class="cline-any cline-neutral"> </span>
|
|
374
|
+
<span class="cline-any cline-neutral"> </span>
|
|
375
|
+
<span class="cline-any cline-neutral"> </span>
|
|
376
|
+
<span class="cline-any cline-neutral"> </span>
|
|
377
|
+
<span class="cline-any cline-neutral"> </span>
|
|
378
|
+
<span class="cline-any cline-neutral"> </span>
|
|
379
|
+
<span class="cline-any cline-neutral"> </span>
|
|
380
|
+
<span class="cline-any cline-neutral"> </span>
|
|
381
|
+
<span class="cline-any cline-neutral"> </span>
|
|
382
|
+
<span class="cline-any cline-neutral"> </span>
|
|
383
|
+
<span class="cline-any cline-neutral"> </span>
|
|
384
|
+
<span class="cline-any cline-neutral"> </span>
|
|
385
|
+
<span class="cline-any cline-neutral"> </span>
|
|
386
|
+
<span class="cline-any cline-neutral"> </span>
|
|
387
|
+
<span class="cline-any cline-neutral"> </span>
|
|
388
|
+
<span class="cline-any cline-neutral"> </span>
|
|
346
389
|
<span class="cline-any cline-no"> </span>
|
|
347
390
|
<span class="cline-any cline-neutral"> </span>
|
|
348
391
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -363,6 +406,7 @@
|
|
|
363
406
|
<span class="cline-any cline-neutral"> </span>
|
|
364
407
|
<span class="cline-any cline-neutral"> </span>
|
|
365
408
|
<span class="cline-any cline-neutral"> </span>
|
|
409
|
+
<span class="cline-any cline-neutral"> </span>
|
|
366
410
|
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">import PropTypes from 'prop-types';
|
|
367
411
|
import { FormattedMessage } from 'react-intl';
|
|
368
412
|
import { Col, KeyValue, NoValue, Row } from '@folio/stripes/components';
|
|
@@ -411,24 +455,34 @@ const CustomPropertiesView = <span class="cstat-no" title="statement not covered
|
|
|
411
455
|
<Col xs={6}>
|
|
412
456
|
<KeyValue
|
|
413
457
|
label={
|
|
414
|
-
labelOverrides?.
|
|
415
|
-
<FormattedMessage
|
|
458
|
+
labelOverrides?.primary ??
|
|
459
|
+
<FormattedMessage
|
|
460
|
+
id="stripes-kint-components.customProperties.primary"
|
|
461
|
+
/>
|
|
462
|
+
}
|
|
463
|
+
value={
|
|
464
|
+
<FormattedMessage
|
|
465
|
+
id={
|
|
466
|
+
customProperty?.primary
|
|
467
|
+
? 'stripes-kint-components.yes'
|
|
468
|
+
: 'stripes-kint-components.no'
|
|
469
|
+
}
|
|
470
|
+
/>
|
|
416
471
|
}
|
|
417
|
-
value={customProperty?.weight}
|
|
418
472
|
/>
|
|
419
473
|
</Col>
|
|
420
474
|
<Col xs={6}>
|
|
421
475
|
<KeyValue
|
|
422
476
|
label={
|
|
423
|
-
labelOverrides?.
|
|
477
|
+
labelOverrides?.retired ??
|
|
424
478
|
<FormattedMessage
|
|
425
|
-
id="stripes-kint-components.customProperties.
|
|
479
|
+
id="stripes-kint-components.customProperties.retired"
|
|
426
480
|
/>
|
|
427
481
|
}
|
|
428
482
|
value={
|
|
429
483
|
<FormattedMessage
|
|
430
484
|
id={
|
|
431
|
-
customProperty?.
|
|
485
|
+
customProperty?.retired
|
|
432
486
|
? 'stripes-kint-components.yes'
|
|
433
487
|
: 'stripes-kint-components.no'
|
|
434
488
|
}
|
|
@@ -438,6 +492,15 @@ const CustomPropertiesView = <span class="cstat-no" title="statement not covered
|
|
|
438
492
|
</Col>
|
|
439
493
|
</Row>
|
|
440
494
|
<Row>
|
|
495
|
+
<Col xs={6}>
|
|
496
|
+
<KeyValue
|
|
497
|
+
label={
|
|
498
|
+
labelOverrides?.weight ??
|
|
499
|
+
<FormattedMessage id="stripes-kint-components.customProperties.weight" />
|
|
500
|
+
}
|
|
501
|
+
value={customProperty?.weight}
|
|
502
|
+
/>
|
|
503
|
+
</Col>
|
|
441
504
|
<Col xs={6}>
|
|
442
505
|
<KeyValue
|
|
443
506
|
label={
|
|
@@ -455,6 +518,8 @@ const CustomPropertiesView = <span class="cstat-no" title="statement not covered
|
|
|
455
518
|
}
|
|
456
519
|
/>
|
|
457
520
|
</Col>
|
|
521
|
+
</Row>
|
|
522
|
+
<Row>
|
|
458
523
|
<Col xs={6}>
|
|
459
524
|
<KeyValue
|
|
460
525
|
label={
|
|
@@ -501,6 +566,7 @@ const CustomPropertiesView = <span class="cstat-no" title="statement not covered
|
|
|
501
566
|
description: PropTypes.string,
|
|
502
567
|
weight: PropTypes.number,
|
|
503
568
|
primary: PropTypes.bool,
|
|
569
|
+
retired: PropTypes.bool,
|
|
504
570
|
defaultInternal: PropTypes.bool,
|
|
505
571
|
ctx: PropTypes.string,
|
|
506
572
|
type: PropTypes.string,
|
|
@@ -520,7 +586,7 @@ export default CustomPropertiesView;
|
|
|
520
586
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
521
587
|
Code coverage generated by
|
|
522
588
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
523
|
-
at
|
|
589
|
+
at Fri Mar 11 2022 16:43:16 GMT+0000 (Greenwich Mean Time)
|
|
524
590
|
</div>
|
|
525
591
|
<script src="../../prettify.js"></script>
|
|
526
592
|
<script>
|