@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
package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertyForm.js.html
CHANGED
|
@@ -25,28 +25,28 @@
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
26
|
<span class="strong">0% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>0/
|
|
28
|
+
<span class='fraction'>0/31</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
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/64</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
<div class='fl pad1y space-right2'>
|
|
40
40
|
<span class="strong">0% </span>
|
|
41
41
|
<span class="quiet">Functions</span>
|
|
42
|
-
<span class='fraction'>0/
|
|
42
|
+
<span class='fraction'>0/10</span>
|
|
43
43
|
</div>
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
47
|
<span class="strong">0% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>0/
|
|
49
|
+
<span class='fraction'>0/28</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -359,7 +359,61 @@
|
|
|
359
359
|
<a name='L294'></a><a href='#L294'>294</a>
|
|
360
360
|
<a name='L295'></a><a href='#L295'>295</a>
|
|
361
361
|
<a name='L296'></a><a href='#L296'>296</a>
|
|
362
|
-
<a name='L297'></a><a href='#L297'>297</a
|
|
362
|
+
<a name='L297'></a><a href='#L297'>297</a>
|
|
363
|
+
<a name='L298'></a><a href='#L298'>298</a>
|
|
364
|
+
<a name='L299'></a><a href='#L299'>299</a>
|
|
365
|
+
<a name='L300'></a><a href='#L300'>300</a>
|
|
366
|
+
<a name='L301'></a><a href='#L301'>301</a>
|
|
367
|
+
<a name='L302'></a><a href='#L302'>302</a>
|
|
368
|
+
<a name='L303'></a><a href='#L303'>303</a>
|
|
369
|
+
<a name='L304'></a><a href='#L304'>304</a>
|
|
370
|
+
<a name='L305'></a><a href='#L305'>305</a>
|
|
371
|
+
<a name='L306'></a><a href='#L306'>306</a>
|
|
372
|
+
<a name='L307'></a><a href='#L307'>307</a>
|
|
373
|
+
<a name='L308'></a><a href='#L308'>308</a>
|
|
374
|
+
<a name='L309'></a><a href='#L309'>309</a>
|
|
375
|
+
<a name='L310'></a><a href='#L310'>310</a>
|
|
376
|
+
<a name='L311'></a><a href='#L311'>311</a>
|
|
377
|
+
<a name='L312'></a><a href='#L312'>312</a>
|
|
378
|
+
<a name='L313'></a><a href='#L313'>313</a>
|
|
379
|
+
<a name='L314'></a><a href='#L314'>314</a>
|
|
380
|
+
<a name='L315'></a><a href='#L315'>315</a>
|
|
381
|
+
<a name='L316'></a><a href='#L316'>316</a>
|
|
382
|
+
<a name='L317'></a><a href='#L317'>317</a>
|
|
383
|
+
<a name='L318'></a><a href='#L318'>318</a>
|
|
384
|
+
<a name='L319'></a><a href='#L319'>319</a>
|
|
385
|
+
<a name='L320'></a><a href='#L320'>320</a>
|
|
386
|
+
<a name='L321'></a><a href='#L321'>321</a>
|
|
387
|
+
<a name='L322'></a><a href='#L322'>322</a>
|
|
388
|
+
<a name='L323'></a><a href='#L323'>323</a>
|
|
389
|
+
<a name='L324'></a><a href='#L324'>324</a>
|
|
390
|
+
<a name='L325'></a><a href='#L325'>325</a>
|
|
391
|
+
<a name='L326'></a><a href='#L326'>326</a>
|
|
392
|
+
<a name='L327'></a><a href='#L327'>327</a>
|
|
393
|
+
<a name='L328'></a><a href='#L328'>328</a>
|
|
394
|
+
<a name='L329'></a><a href='#L329'>329</a>
|
|
395
|
+
<a name='L330'></a><a href='#L330'>330</a>
|
|
396
|
+
<a name='L331'></a><a href='#L331'>331</a>
|
|
397
|
+
<a name='L332'></a><a href='#L332'>332</a>
|
|
398
|
+
<a name='L333'></a><a href='#L333'>333</a>
|
|
399
|
+
<a name='L334'></a><a href='#L334'>334</a>
|
|
400
|
+
<a name='L335'></a><a href='#L335'>335</a>
|
|
401
|
+
<a name='L336'></a><a href='#L336'>336</a>
|
|
402
|
+
<a name='L337'></a><a href='#L337'>337</a>
|
|
403
|
+
<a name='L338'></a><a href='#L338'>338</a>
|
|
404
|
+
<a name='L339'></a><a href='#L339'>339</a>
|
|
405
|
+
<a name='L340'></a><a href='#L340'>340</a>
|
|
406
|
+
<a name='L341'></a><a href='#L341'>341</a>
|
|
407
|
+
<a name='L342'></a><a href='#L342'>342</a>
|
|
408
|
+
<a name='L343'></a><a href='#L343'>343</a>
|
|
409
|
+
<a name='L344'></a><a href='#L344'>344</a>
|
|
410
|
+
<a name='L345'></a><a href='#L345'>345</a>
|
|
411
|
+
<a name='L346'></a><a href='#L346'>346</a>
|
|
412
|
+
<a name='L347'></a><a href='#L347'>347</a>
|
|
413
|
+
<a name='L348'></a><a href='#L348'>348</a>
|
|
414
|
+
<a name='L349'></a><a href='#L349'>349</a>
|
|
415
|
+
<a name='L350'></a><a href='#L350'>350</a>
|
|
416
|
+
<a name='L351'></a><a href='#L351'>351</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
363
417
|
<span class="cline-any cline-neutral"> </span>
|
|
364
418
|
<span class="cline-any cline-neutral"> </span>
|
|
365
419
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -405,6 +459,14 @@
|
|
|
405
459
|
<span class="cline-any cline-neutral"> </span>
|
|
406
460
|
<span class="cline-any cline-neutral"> </span>
|
|
407
461
|
<span class="cline-any cline-no"> </span>
|
|
462
|
+
<span class="cline-any cline-no"> </span>
|
|
463
|
+
<span class="cline-any cline-no"> </span>
|
|
464
|
+
<span class="cline-any cline-neutral"> </span>
|
|
465
|
+
<span class="cline-any cline-neutral"> </span>
|
|
466
|
+
<span class="cline-any cline-no"> </span>
|
|
467
|
+
<span class="cline-any cline-neutral"> </span>
|
|
468
|
+
<span class="cline-any cline-neutral"> </span>
|
|
469
|
+
<span class="cline-any cline-no"> </span>
|
|
408
470
|
<span class="cline-any cline-neutral"> </span>
|
|
409
471
|
<span class="cline-any cline-neutral"> </span>
|
|
410
472
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -478,6 +540,56 @@
|
|
|
478
540
|
<span class="cline-any cline-neutral"> </span>
|
|
479
541
|
<span class="cline-any cline-neutral"> </span>
|
|
480
542
|
<span class="cline-any cline-neutral"> </span>
|
|
543
|
+
<span class="cline-any cline-no"> </span>
|
|
544
|
+
<span class="cline-any cline-no"> </span>
|
|
545
|
+
<span class="cline-any cline-neutral"> </span>
|
|
546
|
+
<span class="cline-any cline-no"> </span>
|
|
547
|
+
<span class="cline-any cline-neutral"> </span>
|
|
548
|
+
<span class="cline-any cline-neutral"> </span>
|
|
549
|
+
<span class="cline-any cline-no"> </span>
|
|
550
|
+
<span class="cline-any cline-neutral"> </span>
|
|
551
|
+
<span class="cline-any cline-neutral"> </span>
|
|
552
|
+
<span class="cline-any cline-neutral"> </span>
|
|
553
|
+
<span class="cline-any cline-neutral"> </span>
|
|
554
|
+
<span class="cline-any cline-neutral"> </span>
|
|
555
|
+
<span class="cline-any cline-neutral"> </span>
|
|
556
|
+
<span class="cline-any cline-neutral"> </span>
|
|
557
|
+
<span class="cline-any cline-neutral"> </span>
|
|
558
|
+
<span class="cline-any cline-neutral"> </span>
|
|
559
|
+
<span class="cline-any cline-neutral"> </span>
|
|
560
|
+
<span class="cline-any cline-neutral"> </span>
|
|
561
|
+
<span class="cline-any cline-neutral"> </span>
|
|
562
|
+
<span class="cline-any cline-neutral"> </span>
|
|
563
|
+
<span class="cline-any cline-neutral"> </span>
|
|
564
|
+
<span class="cline-any cline-neutral"> </span>
|
|
565
|
+
<span class="cline-any cline-neutral"> </span>
|
|
566
|
+
<span class="cline-any cline-neutral"> </span>
|
|
567
|
+
<span class="cline-any cline-neutral"> </span>
|
|
568
|
+
<span class="cline-any cline-neutral"> </span>
|
|
569
|
+
<span class="cline-any cline-neutral"> </span>
|
|
570
|
+
<span class="cline-any cline-neutral"> </span>
|
|
571
|
+
<span class="cline-any cline-neutral"> </span>
|
|
572
|
+
<span class="cline-any cline-neutral"> </span>
|
|
573
|
+
<span class="cline-any cline-neutral"> </span>
|
|
574
|
+
<span class="cline-any cline-neutral"> </span>
|
|
575
|
+
<span class="cline-any cline-neutral"> </span>
|
|
576
|
+
<span class="cline-any cline-neutral"> </span>
|
|
577
|
+
<span class="cline-any cline-neutral"> </span>
|
|
578
|
+
<span class="cline-any cline-neutral"> </span>
|
|
579
|
+
<span class="cline-any cline-neutral"> </span>
|
|
580
|
+
<span class="cline-any cline-neutral"> </span>
|
|
581
|
+
<span class="cline-any cline-neutral"> </span>
|
|
582
|
+
<span class="cline-any cline-neutral"> </span>
|
|
583
|
+
<span class="cline-any cline-neutral"> </span>
|
|
584
|
+
<span class="cline-any cline-neutral"> </span>
|
|
585
|
+
<span class="cline-any cline-neutral"> </span>
|
|
586
|
+
<span class="cline-any cline-neutral"> </span>
|
|
587
|
+
<span class="cline-any cline-neutral"> </span>
|
|
588
|
+
<span class="cline-any cline-neutral"> </span>
|
|
589
|
+
<span class="cline-any cline-neutral"> </span>
|
|
590
|
+
<span class="cline-any cline-neutral"> </span>
|
|
591
|
+
<span class="cline-any cline-neutral"> </span>
|
|
592
|
+
<span class="cline-any cline-neutral"> </span>
|
|
481
593
|
<span class="cline-any cline-neutral"> </span>
|
|
482
594
|
<span class="cline-any cline-neutral"> </span>
|
|
483
595
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -565,13 +677,9 @@
|
|
|
565
677
|
<span class="cline-any cline-neutral"> </span>
|
|
566
678
|
<span class="cline-any cline-neutral"> </span>
|
|
567
679
|
<span class="cline-any cline-neutral"> </span>
|
|
568
|
-
<span class="cline-any cline-no"> </span>
|
|
569
|
-
<span class="cline-any cline-no"> </span>
|
|
570
680
|
<span class="cline-any cline-neutral"> </span>
|
|
571
|
-
<span class="cline-any cline-no"> </span>
|
|
572
681
|
<span class="cline-any cline-neutral"> </span>
|
|
573
682
|
<span class="cline-any cline-neutral"> </span>
|
|
574
|
-
<span class="cline-any cline-no"> </span>
|
|
575
683
|
<span class="cline-any cline-neutral"> </span>
|
|
576
684
|
<span class="cline-any cline-neutral"> </span>
|
|
577
685
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -669,7 +777,7 @@ import {
|
|
|
669
777
|
TextArea,
|
|
670
778
|
TextField
|
|
671
779
|
} from '@folio/stripes/components';
|
|
672
|
-
import { requiredValidator } from '
|
|
780
|
+
import { required as requiredValidator, composeValidators } from '../../utils/validators';
|
|
673
781
|
|
|
674
782
|
const CustomPropertyForm = <span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >({</span></span>
|
|
675
783
|
contextFilterOptions,
|
|
@@ -699,6 +807,14 @@ const CustomPropertyForm = <span class="cstat-no" title="statement not covered"
|
|
|
699
807
|
<span class="cstat-no" title="statement not covered" > return <FormattedMessage id="stripes-kint-components.customProperties.ctx.addContext" values={{ value: filterValue }} />;</span>
|
|
700
808
|
}
|
|
701
809
|
};
|
|
810
|
+
|
|
811
|
+
const primaryRetiredValidator = <span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >(_</span>v, allValues) => {</span>
|
|
812
|
+
<span class="cstat-no" title="statement not covered" > if (allValues.primary && allValues.retired) {</span>
|
|
813
|
+
<span class="cstat-no" title="statement not covered" > return labelOverrides?.primaryRetired ??</span>
|
|
814
|
+
<FormattedMessage id="stripes-kint-components.errors.primaryRetired" />;
|
|
815
|
+
}
|
|
816
|
+
<span class="cstat-no" title="statement not covered" > return null;</span>
|
|
817
|
+
};
|
|
702
818
|
|
|
703
819
|
<span class="cstat-no" title="statement not covered" > return (</span>
|
|
704
820
|
<>
|
|
@@ -747,7 +863,7 @@ const CustomPropertyForm = <span class="cstat-no" title="statement not covered"
|
|
|
747
863
|
</Col>
|
|
748
864
|
</Row>
|
|
749
865
|
<Row>
|
|
750
|
-
<Col xs={
|
|
866
|
+
<Col xs={9}>
|
|
751
867
|
<Field
|
|
752
868
|
component={TextArea}
|
|
753
869
|
label={labelOverrides?.description ??
|
|
@@ -763,6 +879,26 @@ const CustomPropertyForm = <span class="cstat-no" title="statement not covered"
|
|
|
763
879
|
validate={requiredValidator}
|
|
764
880
|
/>
|
|
765
881
|
</Col>
|
|
882
|
+
<Col xs={3}>
|
|
883
|
+
<Field
|
|
884
|
+
actions={[{ onSelect: addCtx, render: renderAddCtx }]}
|
|
885
|
+
component={MultiSelection}
|
|
886
|
+
dataOptions={contextOptions}
|
|
887
|
+
emptyMessage={intl.formatMessage({ id: 'stripes-kint-components.customProperties.noCtxFound' })}
|
|
888
|
+
label={labelOverrides?.ctx ??
|
|
889
|
+
<FormattedMessage id="stripes-kint-components.customProperties.ctx" />
|
|
890
|
+
}
|
|
891
|
+
name="ctx"
|
|
892
|
+
onChange={<span class="fstat-no" title="function not covered" >(s</span>electedItems) => {
|
|
893
|
+
<span class="cstat-no" title="statement not covered" > if (selectedItems.length) {</span>
|
|
894
|
+
<span class="cstat-no" title="statement not covered" > change('ctx', [selectedItems?.[selectedItems?.length - 1]]);</span>
|
|
895
|
+
} else {
|
|
896
|
+
<span class="cstat-no" title="statement not covered" > change('ctx', undefined);</span>
|
|
897
|
+
}
|
|
898
|
+
}}
|
|
899
|
+
validate={<span class="fstat-no" title="function not covered" >va</span>lue => (<span class="cstat-no" title="statement not covered" >value?.length > 1 ? <FormattedMessage id="stripes-kint-components.customProperties.ctx.error.moreThanOne" /> : null)</span>}
|
|
900
|
+
/>
|
|
901
|
+
</Col>
|
|
766
902
|
</Row>
|
|
767
903
|
<Row>
|
|
768
904
|
<Col xs={3}>
|
|
@@ -813,7 +949,47 @@ const CustomPropertyForm = <span class="cstat-no" title="statement not covered"
|
|
|
813
949
|
content={helpPopovers?.primary}
|
|
814
950
|
/> : null
|
|
815
951
|
}
|
|
816
|
-
validate={
|
|
952
|
+
validate={composeValidators(
|
|
953
|
+
requiredValidator,
|
|
954
|
+
primaryRetiredValidator
|
|
955
|
+
)}
|
|
956
|
+
/>
|
|
957
|
+
</Col>
|
|
958
|
+
<Col xs={3}>
|
|
959
|
+
<Field
|
|
960
|
+
component={Select}
|
|
961
|
+
dataOptions={[
|
|
962
|
+
{
|
|
963
|
+
label: intl.formatMessage({
|
|
964
|
+
id: 'stripes-kint-components.yes',
|
|
965
|
+
}),
|
|
966
|
+
value: 'true',
|
|
967
|
+
},
|
|
968
|
+
{
|
|
969
|
+
label: intl.formatMessage({
|
|
970
|
+
id: 'stripes-kint-components.no',
|
|
971
|
+
}),
|
|
972
|
+
value: 'false',
|
|
973
|
+
},
|
|
974
|
+
]}
|
|
975
|
+
format={booleanToString}
|
|
976
|
+
label={labelOverrides?.retired ??
|
|
977
|
+
<FormattedMessage
|
|
978
|
+
id="stripes-kint-components.customProperties.retired"
|
|
979
|
+
/>
|
|
980
|
+
}
|
|
981
|
+
name="retired"
|
|
982
|
+
parse={stringToBoolean}
|
|
983
|
+
required
|
|
984
|
+
startControl={helpPopovers?.primary ?
|
|
985
|
+
<InfoPopover
|
|
986
|
+
content={helpPopovers?.primary}
|
|
987
|
+
/> : null
|
|
988
|
+
}
|
|
989
|
+
validate={composeValidators(
|
|
990
|
+
requiredValidator,
|
|
991
|
+
primaryRetiredValidator
|
|
992
|
+
)}
|
|
817
993
|
/>
|
|
818
994
|
</Col>
|
|
819
995
|
<Col xs={3}>
|
|
@@ -850,26 +1026,6 @@ const CustomPropertyForm = <span class="cstat-no" title="statement not covered"
|
|
|
850
1026
|
validate={requiredValidator}
|
|
851
1027
|
/>
|
|
852
1028
|
</Col>
|
|
853
|
-
<Col xs={3}>
|
|
854
|
-
<Field
|
|
855
|
-
actions={[{ onSelect: addCtx, render: renderAddCtx }]}
|
|
856
|
-
component={MultiSelection}
|
|
857
|
-
dataOptions={contextOptions}
|
|
858
|
-
emptyMessage={intl.formatMessage({ id: 'stripes-kint-components.customProperties.noCtxFound' })}
|
|
859
|
-
label={labelOverrides?.ctx ??
|
|
860
|
-
<FormattedMessage id="stripes-kint-components.customProperties.ctx" />
|
|
861
|
-
}
|
|
862
|
-
name="ctx"
|
|
863
|
-
onChange={<span class="fstat-no" title="function not covered" >(s</span>electedItems) => {
|
|
864
|
-
<span class="cstat-no" title="statement not covered" > if (selectedItems.length) {</span>
|
|
865
|
-
<span class="cstat-no" title="statement not covered" > change('ctx', [selectedItems?.[selectedItems?.length - 1]]);</span>
|
|
866
|
-
} else {
|
|
867
|
-
<span class="cstat-no" title="statement not covered" > change('ctx', undefined);</span>
|
|
868
|
-
}
|
|
869
|
-
}}
|
|
870
|
-
validate={<span class="fstat-no" title="function not covered" >va</span>lue => (<span class="cstat-no" title="statement not covered" >value?.length > 1 ? <FormattedMessage id="stripes-kint-components.customProperties.ctx.error.moreThanOne" /> : null)</span>}
|
|
871
|
-
/>
|
|
872
|
-
</Col>
|
|
873
1029
|
</Row>
|
|
874
1030
|
{/* Users can only configure the type of a custom property when creating it, not when editing it */}
|
|
875
1031
|
{!values?.id && (
|
|
@@ -903,6 +1059,12 @@ const CustomPropertyForm = <span class="cstat-no" title="statement not covered"
|
|
|
903
1059
|
}),
|
|
904
1060
|
value: 'Refdata',
|
|
905
1061
|
},
|
|
1062
|
+
{
|
|
1063
|
+
label: intl.formatMessage({
|
|
1064
|
+
id: 'stripes-kint-components.customProperties.type.com.k_int.web.toolkit.custprops.types.CustomPropertyLocalDate',
|
|
1065
|
+
}),
|
|
1066
|
+
value: 'LocalDate',
|
|
1067
|
+
},
|
|
906
1068
|
]
|
|
907
1069
|
}
|
|
908
1070
|
label={labelOverrides?.type ??
|
|
@@ -958,7 +1120,7 @@ export default CustomPropertyForm;
|
|
|
958
1120
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
959
1121
|
Code coverage generated by
|
|
960
1122
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
961
|
-
at
|
|
1123
|
+
at Fri Mar 11 2022 16:43:16 GMT+0000 (Greenwich Mean Time)
|
|
962
1124
|
</div>
|
|
963
1125
|
<script src="../../prettify.js"></script>
|
|
964
1126
|
<script>
|
|
@@ -25,28 +25,28 @@
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
26
|
<span class="strong">0% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>0/
|
|
28
|
+
<span class='fraction'>0/97</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
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/139</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
<div class='fl pad1y space-right2'>
|
|
40
40
|
<span class="strong">0% </span>
|
|
41
41
|
<span class="quiet">Functions</span>
|
|
42
|
-
<span class='fraction'>0/
|
|
42
|
+
<span class='fraction'>0/36</span>
|
|
43
43
|
</div>
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
47
|
<span class="strong">0% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>0/
|
|
49
|
+
<span class='fraction'>0/94</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
<td data-value="0" class="pct low">0%</td>
|
|
117
117
|
<td data-value="3" class="abs low">0/3</td>
|
|
118
118
|
<td data-value="0" class="pct low">0%</td>
|
|
119
|
-
<td data-value="
|
|
119
|
+
<td data-value="34" class="abs low">0/34</td>
|
|
120
120
|
<td data-value="0" class="pct low">0%</td>
|
|
121
121
|
<td data-value="1" class="abs low">0/1</td>
|
|
122
122
|
<td data-value="0" class="pct low">0%</td>
|
|
@@ -129,13 +129,13 @@
|
|
|
129
129
|
<div class="chart"><div class="cover-fill" style="width: 0%"></div><div class="cover-empty" style="width: 100%"></div></div>
|
|
130
130
|
</td>
|
|
131
131
|
<td data-value="0" class="pct low">0%</td>
|
|
132
|
-
<td data-value="
|
|
132
|
+
<td data-value="31" class="abs low">0/31</td>
|
|
133
133
|
<td data-value="0" class="pct low">0%</td>
|
|
134
|
-
<td data-value="
|
|
134
|
+
<td data-value="64" class="abs low">0/64</td>
|
|
135
135
|
<td data-value="0" class="pct low">0%</td>
|
|
136
|
-
<td data-value="
|
|
136
|
+
<td data-value="10" class="abs low">0/10</td>
|
|
137
137
|
<td data-value="0" class="pct low">0%</td>
|
|
138
|
-
<td data-value="
|
|
138
|
+
<td data-value="28" class="abs low">0/28</td>
|
|
139
139
|
</tr>
|
|
140
140
|
|
|
141
141
|
<tr>
|
|
@@ -161,7 +161,7 @@
|
|
|
161
161
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
162
162
|
Code coverage generated by
|
|
163
163
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
164
|
-
at
|
|
164
|
+
at Fri Mar 11 2022 16:43:16 GMT+0000 (Greenwich Mean Time)
|
|
165
165
|
</div>
|
|
166
166
|
<script src="../../prettify.js"></script>
|
|
167
167
|
<script>
|
|
@@ -82,7 +82,7 @@ export { default as CustomPropertyForm } from './CustomPropertyForm';
|
|
|
82
82
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
83
83
|
Code coverage generated by
|
|
84
84
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
85
|
-
at
|
|
85
|
+
at Fri Mar 11 2022 16:43:16 GMT+0000 (Greenwich Mean Time)
|
|
86
86
|
</div>
|
|
87
87
|
<script src="../../prettify.js"></script>
|
|
88
88
|
<script>
|
package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/EditableRefdataList.js.html
CHANGED
|
@@ -358,7 +358,7 @@ export default EditableRefdataList;
|
|
|
358
358
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
359
359
|
Code coverage generated by
|
|
360
360
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
361
|
-
at
|
|
361
|
+
at Fri Mar 11 2022 16:43:16 GMT+0000 (Greenwich Mean Time)
|
|
362
362
|
</div>
|
|
363
363
|
<script src="../prettify.js"></script>
|
|
364
364
|
<script>
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
117
117
|
Code coverage generated by
|
|
118
118
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
119
|
-
at
|
|
119
|
+
at Fri Mar 11 2022 16:43:16 GMT+0000 (Greenwich Mean Time)
|
|
120
120
|
</div>
|
|
121
121
|
<script src="../prettify.js"></script>
|
|
122
122
|
<script>
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
74
74
|
Code coverage generated by
|
|
75
75
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
76
|
-
at
|
|
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>
|
package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/EditableSettingsList.js.html
CHANGED
|
@@ -208,7 +208,7 @@ export default EditableSettingsList;
|
|
|
208
208
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
209
209
|
Code coverage generated by
|
|
210
210
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
211
|
-
at
|
|
211
|
+
at Fri Mar 11 2022 16:43:16 GMT+0000 (Greenwich Mean Time)
|
|
212
212
|
</div>
|
|
213
213
|
<script src="../prettify.js"></script>
|
|
214
214
|
<script>
|
|
@@ -196,7 +196,7 @@ export default EditableSettingsListFieldArray;
|
|
|
196
196
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
197
197
|
Code coverage generated by
|
|
198
198
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
199
|
-
at
|
|
199
|
+
at Fri Mar 11 2022 16:43:16 GMT+0000 (Greenwich Mean Time)
|
|
200
200
|
</div>
|
|
201
201
|
<script src="../prettify.js"></script>
|
|
202
202
|
<script>
|
|
@@ -361,7 +361,7 @@ export default EditSettingValue;
|
|
|
361
361
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
362
362
|
Code coverage generated by
|
|
363
363
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
364
|
-
at
|
|
364
|
+
at Fri Mar 11 2022 16:43:16 GMT+0000 (Greenwich Mean Time)
|
|
365
365
|
</div>
|
|
366
366
|
<script src="../../prettify.js"></script>
|
|
367
367
|
<script>
|
|
@@ -247,7 +247,7 @@ export default RenderSettingValue;
|
|
|
247
247
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
248
248
|
Code coverage generated by
|
|
249
249
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
250
|
-
at
|
|
250
|
+
at Fri Mar 11 2022 16:43:16 GMT+0000 (Greenwich Mean Time)
|
|
251
251
|
</div>
|
|
252
252
|
<script src="../../prettify.js"></script>
|
|
253
253
|
<script>
|
|
@@ -421,7 +421,7 @@ export default SettingField;
|
|
|
421
421
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
422
422
|
Code coverage generated by
|
|
423
423
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
424
|
-
at
|
|
424
|
+
at Fri Mar 11 2022 16:43:16 GMT+0000 (Greenwich Mean Time)
|
|
425
425
|
</div>
|
|
426
426
|
<script src="../../prettify.js"></script>
|
|
427
427
|
<script>
|
package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/index.html
CHANGED
|
@@ -146,7 +146,7 @@
|
|
|
146
146
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
147
147
|
Code coverage generated by
|
|
148
148
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
149
|
-
at
|
|
149
|
+
at Fri Mar 11 2022 16:43:16 GMT+0000 (Greenwich Mean Time)
|
|
150
150
|
</div>
|
|
151
151
|
<script src="../../prettify.js"></script>
|
|
152
152
|
<script>
|
package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/index.js.html
CHANGED
|
@@ -79,7 +79,7 @@ export { default as EditSettingValue } from './EditSettingValue';
|
|
|
79
79
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
80
80
|
Code coverage generated by
|
|
81
81
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
82
|
-
at
|
|
82
|
+
at Fri Mar 11 2022 16:43:16 GMT+0000 (Greenwich Mean Time)
|
|
83
83
|
</div>
|
|
84
84
|
<script src="../../prettify.js"></script>
|
|
85
85
|
<script>
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
132
132
|
Code coverage generated by
|
|
133
133
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
134
|
-
at
|
|
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>
|
|
@@ -79,7 +79,7 @@ export { SettingField } from './SettingField';
|
|
|
79
79
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
80
80
|
Code coverage generated by
|
|
81
81
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
82
|
-
at
|
|
82
|
+
at Fri Mar 11 2022 16:43:16 GMT+0000 (Greenwich Mean Time)
|
|
83
83
|
</div>
|
|
84
84
|
<script src="../prettify.js"></script>
|
|
85
85
|
<script>
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
26
|
<span class="strong">0% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>0/
|
|
28
|
+
<span class='fraction'>0/9</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
@@ -39,14 +39,14 @@
|
|
|
39
39
|
<div class='fl pad1y space-right2'>
|
|
40
40
|
<span class="strong">0% </span>
|
|
41
41
|
<span class="quiet">Functions</span>
|
|
42
|
-
<span class='fraction'>0/
|
|
42
|
+
<span class='fraction'>0/4</span>
|
|
43
43
|
</div>
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
47
|
<span class="strong">0% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>0/
|
|
49
|
+
<span class='fraction'>0/9</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -129,12 +129,7 @@
|
|
|
129
129
|
<a name='L64'></a><a href='#L64'>64</a>
|
|
130
130
|
<a name='L65'></a><a href='#L65'>65</a>
|
|
131
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>
|
|
134
|
-
<a name='L69'></a><a href='#L69'>69</a>
|
|
135
|
-
<a name='L70'></a><a href='#L70'>70</a>
|
|
136
|
-
<a name='L71'></a><a href='#L71'>71</a>
|
|
137
|
-
<a name='L72'></a><a href='#L72'>72</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
132
|
+
<a name='L67'></a><a href='#L67'>67</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
138
133
|
<span class="cline-any cline-neutral"> </span>
|
|
139
134
|
<span class="cline-any cline-neutral"> </span>
|
|
140
135
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -154,11 +149,6 @@
|
|
|
154
149
|
<span class="cline-any cline-neutral"> </span>
|
|
155
150
|
<span class="cline-any cline-no"> </span>
|
|
156
151
|
<span class="cline-any cline-no"> </span>
|
|
157
|
-
<span class="cline-any cline-no"> </span>
|
|
158
|
-
<span class="cline-any cline-neutral"> </span>
|
|
159
|
-
<span class="cline-any cline-neutral"> </span>
|
|
160
|
-
<span class="cline-any cline-no"> </span>
|
|
161
|
-
<span class="cline-any cline-no"> </span>
|
|
162
152
|
<span class="cline-any cline-neutral"> </span>
|
|
163
153
|
<span class="cline-any cline-neutral"> </span>
|
|
164
154
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -220,11 +210,6 @@ const FormModal = <span class="cstat-no" title="statement not covered" ><span cl
|
|
|
220
210
|
{<span class="fstat-no" title="function not covered" >({</span> handleSubmit, form: { restart } }) => {
|
|
221
211
|
const handleClose = <span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >(e</span>) => {</span>
|
|
222
212
|
<span class="cstat-no" title="statement not covered" > onClose(e);</span>
|
|
223
|
-
<span class="cstat-no" title="statement not covered" > restart();</span>
|
|
224
|
-
};
|
|
225
|
-
|
|
226
|
-
const handleSubmitAndClear = <span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >()</span> => {</span>
|
|
227
|
-
<span class="cstat-no" title="statement not covered" > handleSubmit();</span>
|
|
228
213
|
<span class="cstat-no" title="statement not covered" > restart();</span>
|
|
229
214
|
};
|
|
230
215
|
|
|
@@ -232,7 +217,7 @@ const FormModal = <span class="cstat-no" title="statement not covered" ><span cl
|
|
|
232
217
|
<span class="cstat-no" title="statement not covered" > <ModalFooter></span>
|
|
233
218
|
<Button
|
|
234
219
|
buttonStyle="primary"
|
|
235
|
-
onClick={
|
|
220
|
+
onClick={handleSubmit}
|
|
236
221
|
>
|
|
237
222
|
<FormattedMessage id="stripes-kint-components.save" />
|
|
238
223
|
</Button>
|
|
@@ -246,7 +231,7 @@ const FormModal = <span class="cstat-no" title="statement not covered" ><span cl
|
|
|
246
231
|
|
|
247
232
|
<span class="cstat-no" title="statement not covered" > return (</span>
|
|
248
233
|
<form
|
|
249
|
-
onSubmit={
|
|
234
|
+
onSubmit={handleSubmit}
|
|
250
235
|
>
|
|
251
236
|
<Modal
|
|
252
237
|
enforceFocus={false}
|
|
@@ -283,7 +268,7 @@ export default FormModal;
|
|
|
283
268
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
284
269
|
Code coverage generated by
|
|
285
270
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
286
|
-
at
|
|
271
|
+
at Fri Mar 11 2022 16:43:16 GMT+0000 (Greenwich Mean Time)
|
|
287
272
|
</div>
|
|
288
273
|
<script src="../prettify.js"></script>
|
|
289
274
|
<script>
|