@k-int/stripes-kint-components 2.1.2 → 2.3.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 +26 -4
- package/es/index.js +150 -4
- package/es/lib/ActionList/ActionList.js +10 -2
- package/es/lib/ActionList/ActionListFieldArray.js +53 -11
- package/es/lib/CustomProperties/Config/CustomPropertiesSettings.js +3 -2
- package/es/lib/CustomProperties/Config/CustomPropertyForm.js +88 -44
- package/es/lib/CustomProperties/Config/{CustomPropertiesView.js → CustomPropertyView.js} +27 -14
- package/es/lib/CustomProperties/Config/index.js +6 -4
- package/es/lib/CustomProperties/Edit/CustomPropertiesEdit.js +72 -0
- package/es/lib/CustomProperties/Edit/CustomPropertiesEditCtx.js +133 -0
- package/es/lib/CustomProperties/Edit/CustomPropertiesListField.js +279 -0
- package/es/lib/CustomProperties/Edit/CustomPropertyField.js +370 -0
- package/es/lib/CustomProperties/Edit/CustomPropertyFormCard.js +156 -0
- package/es/lib/CustomProperties/Edit/index.js +51 -0
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilter.js +216 -0
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterField.js +236 -0
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterFieldArray.js +159 -0
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterForm.js +119 -0
- package/es/lib/CustomProperties/Filter/CustomPropertiesRule.js +173 -0
- package/es/lib/CustomProperties/Filter/index.js +59 -0
- package/es/lib/CustomProperties/Filter/useOperators.js +138 -0
- package/es/lib/CustomProperties/Filter/useParseActiveFilterStrings.js +97 -0
- package/es/lib/CustomProperties/Filter/useValueProps.js +101 -0
- package/es/lib/CustomProperties/View/CustomPropertiesView.js +73 -0
- package/es/lib/CustomProperties/View/CustomPropertiesViewCtx.js +187 -0
- package/es/lib/CustomProperties/View/CustomPropertyCard.js +204 -0
- package/es/lib/CustomProperties/View/index.js +35 -0
- package/es/lib/CustomProperties/index.js +125 -0
- package/es/lib/EditableRefdataList/EditableRefdataList.js +12 -16
- package/es/lib/FormModal/FormModal.js +20 -11
- package/es/lib/QueryTypedown/QueryTypedown.js +9 -4
- package/es/lib/constants/customProperties.js +4 -1
- package/es/lib/hooks/index.js +16 -0
- package/es/lib/hooks/typedownHooks/useTypedownData.js +9 -2
- package/es/lib/hooks/useAvailableCustomProperties.js +106 -0
- package/es/lib/hooks/useInvalidateRefdata.js +53 -0
- package/es/lib/hooks/useMutateRefdataValue.js +11 -6
- package/es/lib/hooks/useRefdata.js +1 -3
- package/es/lib/utils/groupCustomPropertiesByCtx.js +69 -0
- package/es/lib/utils/index.js +24 -0
- package/es/lib/utils/refdataQueryKey.js +48 -0
- package/es/lib/utils/typedownQueryKey.js +48 -0
- package/es/lib/utils/validators.js +160 -0
- package/git_translate.sh +8 -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 +35 -3
- package/src/lib/ActionList/ActionList.js +8 -2
- package/src/lib/ActionList/ActionListFieldArray.js +44 -17
- package/src/lib/ActionList/README.md +24 -20
- package/src/lib/CustomProperties/Config/CustomPropertiesSettings.js +3 -2
- package/src/lib/CustomProperties/Config/CustomPropertyForm.js +77 -23
- package/src/lib/CustomProperties/Config/{CustomPropertiesView.js → CustomPropertyView.js} +31 -9
- package/src/lib/CustomProperties/Config/index.js +1 -1
- package/src/lib/CustomProperties/Edit/CustomPropertiesEdit.js +35 -0
- package/src/lib/CustomProperties/Edit/CustomPropertiesEditCtx.js +85 -0
- package/src/lib/CustomProperties/Edit/CustomPropertiesListField.js +194 -0
- package/src/lib/CustomProperties/Edit/CustomPropertyField.js +299 -0
- package/src/lib/CustomProperties/Edit/CustomPropertyFormCard.js +131 -0
- package/src/lib/CustomProperties/Edit/index.js +5 -0
- package/src/lib/CustomProperties/Filter/CustomPropertiesFilter.js +125 -0
- package/src/lib/CustomProperties/Filter/CustomPropertiesFilterField.js +148 -0
- package/src/lib/CustomProperties/Filter/CustomPropertiesFilterFieldArray.js +113 -0
- package/src/lib/CustomProperties/Filter/CustomPropertiesFilterForm.js +74 -0
- package/src/lib/CustomProperties/Filter/CustomPropertiesRule.js +122 -0
- package/src/lib/CustomProperties/Filter/index.js +6 -0
- package/src/lib/CustomProperties/Filter/useOperators.js +55 -0
- package/src/lib/CustomProperties/Filter/useParseActiveFilterStrings.js +35 -0
- package/src/lib/CustomProperties/Filter/useValueProps.js +45 -0
- package/src/lib/CustomProperties/View/CustomPropertiesView.js +36 -0
- package/src/lib/CustomProperties/View/CustomPropertiesViewCtx.js +112 -0
- package/src/lib/CustomProperties/View/CustomPropertyCard.js +177 -0
- package/src/lib/CustomProperties/View/index.js +3 -0
- package/src/lib/CustomProperties/index.js +30 -0
- package/src/lib/EditableRefdataList/EditableRefdataList.js +13 -10
- package/src/lib/FormModal/FormModal.js +37 -22
- package/src/lib/QueryTypedown/QueryTypedown.js +3 -1
- package/src/lib/constants/customProperties.js +1 -0
- package/src/lib/hooks/index.js +2 -0
- package/src/lib/hooks/typedownHooks/useTypedownData.js +9 -3
- package/src/lib/hooks/useAvailableCustomProperties.js +40 -0
- package/src/lib/hooks/useInvalidateRefdata.js +11 -0
- package/src/lib/hooks/useMutateRefdataValue.js +7 -3
- package/src/lib/hooks/useRefdata.js +2 -3
- package/src/lib/utils/generateKiwtQueryParams.js +2 -2
- package/src/lib/utils/groupCustomPropertiesByCtx.js +13 -0
- package/src/lib/utils/index.js +5 -0
- package/src/lib/utils/refdataQueryKey.js +9 -0
- package/src/lib/utils/typedownQueryKey.js +9 -0
- package/src/lib/utils/validators.js +79 -0
- package/translate.sh +63 -0
- package/translations/stripes-kint-components/ar.json +105 -0
- package/translations/stripes-kint-components/ca.json +1 -0
- package/translations/stripes-kint-components/cs_CZ.json +105 -0
- package/translations/stripes-kint-components/da.json +1 -0
- package/translations/stripes-kint-components/de.json +105 -0
- package/translations/stripes-kint-components/en.json +59 -2
- package/translations/stripes-kint-components/es.json +105 -0
- package/translations/stripes-kint-components/fr.json +105 -0
- package/translations/stripes-kint-components/he.json +1 -0
- package/translations/stripes-kint-components/hi_IN.json +105 -0
- package/translations/stripes-kint-components/hu.json +105 -0
- package/translations/stripes-kint-components/it_IT.json +105 -0
- package/translations/stripes-kint-components/ja.json +105 -0
- package/translations/stripes-kint-components/ko.json +105 -0
- package/translations/stripes-kint-components/nb.json +1 -0
- package/translations/stripes-kint-components/nn.json +1 -0
- package/translations/stripes-kint-components/pl.json +105 -0
- package/translations/stripes-kint-components/pt_PT.json +105 -0
- package/translations/stripes-kint-components/ru.json +105 -0
- package/translations/stripes-kint-components/sv.json +105 -0
- package/translations/stripes-kint-components/ur.json +1 -0
- package/translations/stripes-kint-components/zh_CN.json +105 -0
|
@@ -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>
|