@k-int/stripes-kint-components 1.6.0 → 2.0.1
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 +34 -1
- package/es/index.js +49 -8
- package/es/lib/ActionList/ActionList.js +51 -26
- package/es/lib/ActionList/ActionListFieldArray.js +84 -27
- package/es/lib/CustomProperties/Config/CustomPropertiesLookup.js +198 -0
- package/es/lib/CustomProperties/Config/CustomPropertiesSettings.js +326 -0
- package/es/lib/CustomProperties/Config/CustomPropertiesView.js +166 -0
- package/es/lib/CustomProperties/Config/CustomPropertyForm.js +360 -0
- package/es/lib/CustomProperties/Config/index.js +41 -0
- package/es/lib/EditableRefdataList/EditableRefdataList.js +17 -9
- package/es/lib/EditableSettingsList/EditableSettingsListFieldArray.js +2 -2
- package/es/lib/EditableSettingsList/SettingField/SettingField.js +3 -3
- package/es/lib/FormModal/FormModal.js +126 -0
- package/es/lib/{TypeDown → FormModal}/index.js +2 -2
- package/es/lib/NoResultsMessage/NoResultsMessage.js +1 -1
- package/es/lib/QueryTypedown/QueryTypedown.js +3 -3
- package/es/lib/RefdataButtons/RefdataButtons.js +2 -2
- package/es/lib/SASQLookupComponent/SASQLookupComponent.js +8 -3
- package/es/lib/SASQRoute/SASQRoute.js +2 -2
- package/es/lib/SASQViewComponent/SASQViewComponent.js +2 -2
- package/es/lib/SearchField/SearchField.js +2 -2
- package/es/lib/SettingPage/SettingPage.js +1 -1
- package/es/lib/SettingPage/SettingPagePane.js +1 -1
- package/es/lib/Typedown/Typedown.js +45 -14
- package/es/lib/constants/customProperties.js +60 -0
- package/es/lib/hooks/index.js +16 -0
- package/es/lib/hooks/settingsHooks/useSettings.js +3 -3
- package/es/lib/hooks/useCustomProperties.js +112 -0
- package/es/lib/hooks/useHelperApp.js +3 -3
- package/es/lib/hooks/useKiwtFieldArray.js +2 -2
- package/es/lib/hooks/useKiwtSASQuery.js +3 -3
- package/es/lib/hooks/useLocalStorageState.js +1 -1
- package/es/lib/hooks/useMutateCustomProperties.js +143 -0
- package/es/lib/hooks/useQIndex.js +3 -3
- package/es/lib/hooks/useRefdata.js +3 -9
- package/es/lib/utils/index.js +8 -0
- package/es/lib/utils/refdataOptions.js +43 -0
- package/junit.xml +38 -38
- package/package.json +5 -3
- package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionList.js.html +58 -29
- package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionListFieldArray.js.html +167 -18
- package/src/artifacts/coverage-jest/lcov-report/ActionList/index.html +13 -14
- package/src/artifacts/coverage-jest/lcov-report/ActionList/index.js.html +2 -3
- package/{artifacts/coverage-jest/lcov-report/src/lib/EditableSettingsList/SettingField/SettingField.js.html → src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertiesLookup.js.html} +121 -140
- package/{artifacts/coverage-jest/lcov-report/src/lib/Typedown/Typedown.js.html → src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertiesSettings.js.html} +263 -246
- package/{artifacts/coverage-jest/lcov-report/src/lib/hooks/typedownHooks/useTypedown.js.html → src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertiesView.js.html} +222 -211
- package/{artifacts/coverage-jest/lcov-report/src/lib/SASQLookupComponent/SASQLookupComponent.js.html → src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertyForm.js.html} +356 -315
- package/{artifacts/coverage-jest/lcov-report/src/lib/hooks/typedownHooks → src/artifacts/coverage-jest/lcov-report/CustomProperties/Config}/index.html +55 -41
- package/{artifacts/coverage-jest/lcov-report/src/lib/hooks/typedownHooks → src/artifacts/coverage-jest/lcov-report/CustomProperties/Config}/index.js.html +18 -16
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/EditableRefdataList.js.html +24 -13
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/index.html +8 -9
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/index.js.html +2 -3
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/EditableSettingsList.js.html +2 -3
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/EditableSettingsListFieldArray.js.html +2 -3
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/EditSettingValue.js.html +2 -3
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/RenderSettingValue.js.html +2 -3
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/SettingField.js.html +2 -3
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/index.html +2 -3
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/index.js.html +2 -3
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/index.html +2 -3
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/index.js.html +2 -3
- package/{artifacts/coverage-jest/lcov-report/src/index.js.html → src/artifacts/coverage-jest/lcov-report/FormModal/FormModal.js.html} +86 -93
- package/src/artifacts/coverage-jest/lcov-report/{TypeDown → FormModal}/index.html +15 -16
- package/src/artifacts/coverage-jest/lcov-report/{TypeDown → FormModal}/index.js.html +5 -6
- package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/NoResultsMessage.js.html +4 -5
- package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/index.html +2 -3
- package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/index.js.html +2 -3
- package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/QueryTypedown.js.html +2 -3
- package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/index.html +2 -3
- package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/index.js.html +2 -3
- package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/RefdataButtons.js.html +4 -5
- package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/index.html +2 -3
- package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/index.js.html +2 -3
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/SASQLookupComponent.js.html +25 -8
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/index.html +10 -11
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/index.js.html +2 -3
- package/src/artifacts/coverage-jest/lcov-report/SASQRoute/SASQRoute.js.html +2 -3
- package/src/artifacts/coverage-jest/lcov-report/SASQRoute/index.html +2 -3
- package/src/artifacts/coverage-jest/lcov-report/SASQRoute/index.js.html +2 -3
- package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/SASQViewComponent.js.html +2 -3
- package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/index.html +2 -3
- package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/index.js.html +2 -3
- package/src/artifacts/coverage-jest/lcov-report/SearchField/SearchField.js.html +2 -3
- package/src/artifacts/coverage-jest/lcov-report/SearchField/index.html +2 -3
- package/src/artifacts/coverage-jest/lcov-report/SearchField/index.js.html +2 -3
- package/src/artifacts/coverage-jest/lcov-report/SettingPage/SettingPage.js.html +2 -3
- package/src/artifacts/coverage-jest/lcov-report/SettingPage/SettingPagePane.js.html +2 -3
- package/src/artifacts/coverage-jest/lcov-report/SettingPage/index.html +2 -3
- package/src/artifacts/coverage-jest/lcov-report/SettingPage/index.js.html +2 -3
- package/src/artifacts/coverage-jest/lcov-report/Typedown/Typedown.js.html +141 -16
- package/src/artifacts/coverage-jest/lcov-report/Typedown/index.html +8 -9
- package/src/artifacts/coverage-jest/lcov-report/Typedown/index.js.html +2 -3
- package/{artifacts/coverage-jest/lcov-report/src/lib/utils/sortByLabel.js.html → src/artifacts/coverage-jest/lcov-report/constants/customProperties.js.html} +28 -47
- package/src/artifacts/coverage-jest/lcov-report/constants/eventCodes.js.html +2 -3
- package/src/artifacts/coverage-jest/lcov-report/constants/index.html +19 -5
- package/src/artifacts/coverage-jest/lcov-report/contexts/SettingsContext.js.html +2 -3
- package/src/artifacts/coverage-jest/lcov-report/contexts/index.html +2 -3
- package/src/artifacts/coverage-jest/lcov-report/contexts/index.js.html +2 -3
- package/src/artifacts/coverage-jest/lcov-report/hooks/index.html +36 -7
- package/src/artifacts/coverage-jest/lcov-report/hooks/index.js.html +9 -4
- package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/index.html +2 -3
- package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/index.js.html +2 -3
- package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useSettingSection.js.html +2 -3
- package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useSettings.js.html +2 -3
- package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/index.html +6 -7
- package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/index.js.html +2 -3
- package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedown.js.html +32 -36
- package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedownData.js.html +2 -3
- package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedownToggle.js.html +2 -3
- package/src/artifacts/coverage-jest/lcov-report/hooks/useActiveElement.js.html +2 -3
- package/{artifacts/coverage-jest/lcov-report/src/lib/hooks/useRefdata.js.html → src/artifacts/coverage-jest/lcov-report/hooks/useCustomProperties.js.html} +64 -47
- package/src/artifacts/coverage-jest/lcov-report/hooks/useHelperApp.js.html +2 -3
- package/src/artifacts/coverage-jest/lcov-report/hooks/useKiwtFieldArray.js.html +2 -3
- package/src/artifacts/coverage-jest/lcov-report/hooks/useKiwtSASQuery.js.html +2 -3
- package/src/artifacts/coverage-jest/lcov-report/hooks/useLocalStorageState.js.html +2 -3
- package/{artifacts/coverage-jest/lcov-report/src/lib/hooks/useMutateRefdataValue.js.html → src/artifacts/coverage-jest/lcov-report/hooks/useMutateCustomProperties.js.html} +43 -74
- package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateRefdataValue.js.html +2 -3
- package/src/artifacts/coverage-jest/lcov-report/hooks/useQIndex.js.html +2 -3
- package/src/artifacts/coverage-jest/lcov-report/hooks/useRefdata.js.html +5 -24
- package/src/artifacts/coverage-jest/lcov-report/hooks/useTemplates.js.html +2 -3
- package/src/artifacts/coverage-jest/lcov-report/index.html +72 -58
- package/src/artifacts/coverage-jest/lcov-report/utils/buildUrl.js.html +2 -3
- package/src/artifacts/coverage-jest/lcov-report/utils/generateKiwtQuery.js.html +2 -3
- package/src/artifacts/coverage-jest/lcov-report/utils/generateKiwtQueryParams.js.html +2 -3
- package/src/artifacts/coverage-jest/lcov-report/utils/index.html +21 -22
- package/src/artifacts/coverage-jest/lcov-report/utils/index.js.html +9 -4
- package/{artifacts/coverage-jest/lcov-report/src/lib/EditableSettingsList/index.js.html → src/artifacts/coverage-jest/lcov-report/utils/refdataOptions.js.html} +27 -16
- package/src/artifacts/coverage-jest/lcov-report/utils/renderHelpText.js.html +2 -3
- package/src/artifacts/coverage-jest/lcov-report/utils/selectorSafe.js.html +2 -3
- package/src/artifacts/coverage-jest/lcov-report/utils/sortByLabel.js.html +2 -3
- package/src/artifacts/coverage-jest/lcov-report/utils/toCamelCase.js.html +2 -3
- package/src/artifacts/coverage-jest/lcov.info +924 -552
- package/src/index.js +12 -4
- package/src/lib/ActionList/ActionList.js +32 -22
- package/src/lib/ActionList/ActionListFieldArray.js +60 -10
- package/src/lib/ActionList/README.md +5 -1
- package/src/lib/CustomProperties/Config/CustomPropertiesLookup.js +111 -0
- package/src/lib/CustomProperties/Config/CustomPropertiesSettings.js +240 -0
- package/src/lib/CustomProperties/Config/CustomPropertiesView.js +150 -0
- package/src/lib/CustomProperties/Config/CustomPropertyForm.js +296 -0
- package/src/lib/CustomProperties/Config/index.js +4 -0
- package/src/lib/EditableRefdataList/EditableRefdataList.js +9 -5
- package/src/lib/FormModal/FormModal.js +71 -0
- package/src/lib/FormModal/index.js +1 -0
- package/src/lib/NoResultsMessage/NoResultsMessage.js +2 -2
- package/src/lib/SASQLookupComponent/SASQLookupComponent.js +6 -0
- package/src/lib/Typedown/Typedown.js +50 -8
- package/src/lib/constants/customProperties.js +9 -0
- package/src/lib/hooks/index.js +2 -0
- package/src/lib/hooks/useCustomProperties.js +73 -0
- package/src/lib/hooks/useMutateCustomProperties.js +62 -0
- package/src/lib/hooks/useRefdata.js +2 -8
- package/src/lib/utils/index.js +2 -0
- package/src/lib/utils/refdataOptions.js +7 -0
- package/translations/stripes-kint-components/en.json +49 -1
- package/artifacts/coverage-jest/lcov-report/base.css +0 -224
- package/artifacts/coverage-jest/lcov-report/block-navigation.js +0 -87
- package/artifacts/coverage-jest/lcov-report/es/lib/ActionList/ActionList.js.html +0 -389
- package/artifacts/coverage-jest/lcov-report/es/lib/ActionList/ActionListFieldArray.js.html +0 -1076
- package/artifacts/coverage-jest/lcov-report/es/lib/ActionList/index.html +0 -147
- package/artifacts/coverage-jest/lcov-report/es/lib/ActionList/index.js.html +0 -140
- package/artifacts/coverage-jest/lcov-report/es/lib/EditableRefdataList/EditableRefdataList.js.html +0 -680
- package/artifacts/coverage-jest/lcov-report/es/lib/EditableRefdataList/index.html +0 -132
- package/artifacts/coverage-jest/lcov-report/es/lib/EditableRefdataList/index.js.html +0 -140
- package/artifacts/coverage-jest/lcov-report/es/lib/EditableSettingsList/EditableSettingsList.js.html +0 -353
- package/artifacts/coverage-jest/lcov-report/es/lib/EditableSettingsList/EditableSettingsListFieldArray.js.html +0 -353
- package/artifacts/coverage-jest/lcov-report/es/lib/EditableSettingsList/SettingField/EditSettingValue.js.html +0 -482
- package/artifacts/coverage-jest/lcov-report/es/lib/EditableSettingsList/SettingField/RenderSettingValue.js.html +0 -434
- package/artifacts/coverage-jest/lcov-report/es/lib/EditableSettingsList/SettingField/SettingField.js.html +0 -644
- package/artifacts/coverage-jest/lcov-report/es/lib/EditableSettingsList/SettingField/index.html +0 -162
- package/artifacts/coverage-jest/lcov-report/es/lib/EditableSettingsList/SettingField/index.js.html +0 -188
- package/artifacts/coverage-jest/lcov-report/es/lib/EditableSettingsList/index.html +0 -147
- package/artifacts/coverage-jest/lcov-report/es/lib/EditableSettingsList/index.js.html +0 -188
- package/artifacts/coverage-jest/lcov-report/es/lib/NoResultsMessage/NoResultsMessage.js.html +0 -449
- package/artifacts/coverage-jest/lcov-report/es/lib/NoResultsMessage/index.html +0 -132
- package/artifacts/coverage-jest/lcov-report/es/lib/NoResultsMessage/index.js.html +0 -140
- package/artifacts/coverage-jest/lcov-report/es/lib/QueryTypedown/QueryTypedown.js.html +0 -413
- package/artifacts/coverage-jest/lcov-report/es/lib/QueryTypedown/index.html +0 -132
- package/artifacts/coverage-jest/lcov-report/es/lib/QueryTypedown/index.js.html +0 -140
- package/artifacts/coverage-jest/lcov-report/es/lib/RefdataButtons/RefdataButtons.js.html +0 -512
- package/artifacts/coverage-jest/lcov-report/es/lib/RefdataButtons/index.html +0 -132
- package/artifacts/coverage-jest/lcov-report/es/lib/RefdataButtons/index.js.html +0 -140
- package/artifacts/coverage-jest/lcov-report/es/lib/SASQLookupComponent/SASQLookupComponent.js.html +0 -1115
- package/artifacts/coverage-jest/lcov-report/es/lib/SASQLookupComponent/index.html +0 -132
- package/artifacts/coverage-jest/lcov-report/es/lib/SASQLookupComponent/index.js.html +0 -140
- package/artifacts/coverage-jest/lcov-report/es/lib/SASQRoute/SASQRoute.js.html +0 -404
- package/artifacts/coverage-jest/lcov-report/es/lib/SASQRoute/index.html +0 -132
- package/artifacts/coverage-jest/lcov-report/es/lib/SASQRoute/index.js.html +0 -140
- package/artifacts/coverage-jest/lcov-report/es/lib/SASQViewComponent/SASQViewComponent.js.html +0 -413
- package/artifacts/coverage-jest/lcov-report/es/lib/SASQViewComponent/index.html +0 -132
- package/artifacts/coverage-jest/lcov-report/es/lib/SASQViewComponent/index.js.html +0 -140
- package/artifacts/coverage-jest/lcov-report/es/lib/SearchField/SearchField.js.html +0 -353
- package/artifacts/coverage-jest/lcov-report/es/lib/SearchField/index.html +0 -132
- package/artifacts/coverage-jest/lcov-report/es/lib/SearchField/index.js.html +0 -140
- package/artifacts/coverage-jest/lcov-report/es/lib/SettingPage/SettingPage.js.html +0 -380
- package/artifacts/coverage-jest/lcov-report/es/lib/SettingPage/SettingPagePane.js.html +0 -308
- package/artifacts/coverage-jest/lcov-report/es/lib/SettingPage/index.html +0 -147
- package/artifacts/coverage-jest/lcov-report/es/lib/SettingPage/index.js.html +0 -164
- package/artifacts/coverage-jest/lcov-report/es/lib/TypeDown/TypeDown.js.html +0 -839
- package/artifacts/coverage-jest/lcov-report/es/lib/TypeDown/index.html +0 -132
- package/artifacts/coverage-jest/lcov-report/es/lib/TypeDown/index.js.html +0 -140
- package/artifacts/coverage-jest/lcov-report/es/lib/Typedown/Typedown.js.html +0 -887
- package/artifacts/coverage-jest/lcov-report/es/lib/Typedown/index.html +0 -132
- package/artifacts/coverage-jest/lcov-report/es/lib/Typedown/index.js.html +0 -140
- package/artifacts/coverage-jest/lcov-report/es/lib/constants/eventCodes.js.html +0 -209
- package/artifacts/coverage-jest/lcov-report/es/lib/constants/index.html +0 -117
- package/artifacts/coverage-jest/lcov-report/es/lib/contexts/SettingsContext.js.html +0 -206
- package/artifacts/coverage-jest/lcov-report/es/lib/contexts/index.html +0 -132
- package/artifacts/coverage-jest/lcov-report/es/lib/contexts/index.js.html +0 -140
- package/artifacts/coverage-jest/lcov-report/es/lib/hooks/index.html +0 -252
- package/artifacts/coverage-jest/lcov-report/es/lib/hooks/index.js.html +0 -374
- package/artifacts/coverage-jest/lcov-report/es/lib/hooks/settingsHooks/index.html +0 -147
- package/artifacts/coverage-jest/lcov-report/es/lib/hooks/settingsHooks/index.js.html +0 -164
- package/artifacts/coverage-jest/lcov-report/es/lib/hooks/settingsHooks/useSettingSection.js.html +0 -305
- package/artifacts/coverage-jest/lcov-report/es/lib/hooks/settingsHooks/useSettings.js.html +0 -584
- package/artifacts/coverage-jest/lcov-report/es/lib/hooks/typedownHooks/index.html +0 -162
- package/artifacts/coverage-jest/lcov-report/es/lib/hooks/typedownHooks/index.js.html +0 -188
- package/artifacts/coverage-jest/lcov-report/es/lib/hooks/typedownHooks/useTypedown.js.html +0 -644
- package/artifacts/coverage-jest/lcov-report/es/lib/hooks/typedownHooks/useTypedownData.js.html +0 -335
- package/artifacts/coverage-jest/lcov-report/es/lib/hooks/typedownHooks/useTypedownToggle.js.html +0 -350
- package/artifacts/coverage-jest/lcov-report/es/lib/hooks/useActiveElement.js.html +0 -323
- package/artifacts/coverage-jest/lcov-report/es/lib/hooks/useHelperApp.js.html +0 -488
- package/artifacts/coverage-jest/lcov-report/es/lib/hooks/useKiwtFieldArray.js.html +0 -509
- package/artifacts/coverage-jest/lcov-report/es/lib/hooks/useKiwtSASQuery.js.html +0 -467
- package/artifacts/coverage-jest/lcov-report/es/lib/hooks/useLocalStorageState.js.html +0 -329
- package/artifacts/coverage-jest/lcov-report/es/lib/hooks/useMutateRefdataValue.js.html +0 -488
- package/artifacts/coverage-jest/lcov-report/es/lib/hooks/useQIndex.js.html +0 -407
- package/artifacts/coverage-jest/lcov-report/es/lib/hooks/useRefdata.js.html +0 -401
- package/artifacts/coverage-jest/lcov-report/es/lib/hooks/useTemplates.js.html +0 -314
- package/artifacts/coverage-jest/lcov-report/es/lib/utils/buildUrl.js.html +0 -296
- package/artifacts/coverage-jest/lcov-report/es/lib/utils/generateKiwtQuery.js.html +0 -230
- package/artifacts/coverage-jest/lcov-report/es/lib/utils/generateKiwtQueryParams.js.html +0 -545
- package/artifacts/coverage-jest/lcov-report/es/lib/utils/getFocusableElements.js.html +0 -572
- package/artifacts/coverage-jest/lcov-report/es/lib/utils/index.html +0 -237
- package/artifacts/coverage-jest/lcov-report/es/lib/utils/index.js.html +0 -284
- package/artifacts/coverage-jest/lcov-report/es/lib/utils/renderHelpText.js.html +0 -410
- package/artifacts/coverage-jest/lcov-report/es/lib/utils/selectorSafe.js.html +0 -209
- package/artifacts/coverage-jest/lcov-report/es/lib/utils/sortByLabel.js.html +0 -248
- package/artifacts/coverage-jest/lcov-report/es/lib/utils/toCamelCase.js.html +0 -227
- package/artifacts/coverage-jest/lcov-report/favicon.png +0 -0
- package/artifacts/coverage-jest/lcov-report/index.html +0 -717
- package/artifacts/coverage-jest/lcov-report/prettify.css +0 -1
- package/artifacts/coverage-jest/lcov-report/prettify.js +0 -2
- package/artifacts/coverage-jest/lcov-report/sort-arrow-sprite.png +0 -0
- package/artifacts/coverage-jest/lcov-report/sorter.js +0 -196
- package/artifacts/coverage-jest/lcov-report/src/index.html +0 -117
- package/artifacts/coverage-jest/lcov-report/src/lib/ActionList/ActionList.js.html +0 -248
- package/artifacts/coverage-jest/lcov-report/src/lib/ActionList/ActionListFieldArray.js.html +0 -764
- package/artifacts/coverage-jest/lcov-report/src/lib/ActionList/index.html +0 -147
- package/artifacts/coverage-jest/lcov-report/src/lib/ActionList/index.js.html +0 -89
- package/artifacts/coverage-jest/lcov-report/src/lib/EditableRefdataList/EditableRefdataList.js.html +0 -362
- package/artifacts/coverage-jest/lcov-report/src/lib/EditableRefdataList/index.html +0 -132
- package/artifacts/coverage-jest/lcov-report/src/lib/EditableRefdataList/index.js.html +0 -86
- package/artifacts/coverage-jest/lcov-report/src/lib/EditableSettingsList/EditableSettingsList.js.html +0 -224
- package/artifacts/coverage-jest/lcov-report/src/lib/EditableSettingsList/EditableSettingsListFieldArray.js.html +0 -212
- package/artifacts/coverage-jest/lcov-report/src/lib/EditableSettingsList/SettingField/EditSettingValue.js.html +0 -308
- package/artifacts/coverage-jest/lcov-report/src/lib/EditableSettingsList/SettingField/RenderSettingValue.js.html +0 -260
- package/artifacts/coverage-jest/lcov-report/src/lib/EditableSettingsList/SettingField/index.html +0 -162
- package/artifacts/coverage-jest/lcov-report/src/lib/EditableSettingsList/SettingField/index.js.html +0 -95
- package/artifacts/coverage-jest/lcov-report/src/lib/EditableSettingsList/index.html +0 -147
- package/artifacts/coverage-jest/lcov-report/src/lib/NoResultsMessage/NoResultsMessage.js.html +0 -320
- package/artifacts/coverage-jest/lcov-report/src/lib/NoResultsMessage/index.html +0 -132
- package/artifacts/coverage-jest/lcov-report/src/lib/NoResultsMessage/index.js.html +0 -89
- package/artifacts/coverage-jest/lcov-report/src/lib/QueryTypedown/QueryTypedown.js.html +0 -185
- package/artifacts/coverage-jest/lcov-report/src/lib/QueryTypedown/index.html +0 -132
- package/artifacts/coverage-jest/lcov-report/src/lib/QueryTypedown/index.js.html +0 -89
- package/artifacts/coverage-jest/lcov-report/src/lib/RefdataButtons/RefdataButtons.js.html +0 -371
- package/artifacts/coverage-jest/lcov-report/src/lib/RefdataButtons/index.html +0 -132
- package/artifacts/coverage-jest/lcov-report/src/lib/RefdataButtons/index.js.html +0 -89
- package/artifacts/coverage-jest/lcov-report/src/lib/SASQLookupComponent/index.html +0 -132
- package/artifacts/coverage-jest/lcov-report/src/lib/SASQLookupComponent/index.js.html +0 -89
- package/artifacts/coverage-jest/lcov-report/src/lib/SASQRoute/SASQRoute.js.html +0 -275
- package/artifacts/coverage-jest/lcov-report/src/lib/SASQRoute/index.html +0 -132
- package/artifacts/coverage-jest/lcov-report/src/lib/SASQRoute/index.js.html +0 -89
- package/artifacts/coverage-jest/lcov-report/src/lib/SASQViewComponent/SASQViewComponent.js.html +0 -251
- package/artifacts/coverage-jest/lcov-report/src/lib/SASQViewComponent/index.html +0 -132
- package/artifacts/coverage-jest/lcov-report/src/lib/SASQViewComponent/index.js.html +0 -89
- package/artifacts/coverage-jest/lcov-report/src/lib/SearchField/SearchField.js.html +0 -215
- package/artifacts/coverage-jest/lcov-report/src/lib/SearchField/index.html +0 -132
- package/artifacts/coverage-jest/lcov-report/src/lib/SearchField/index.js.html +0 -89
- package/artifacts/coverage-jest/lcov-report/src/lib/SettingPage/SettingPage.js.html +0 -212
- package/artifacts/coverage-jest/lcov-report/src/lib/SettingPage/SettingPagePane.js.html +0 -149
- package/artifacts/coverage-jest/lcov-report/src/lib/SettingPage/index.html +0 -147
- package/artifacts/coverage-jest/lcov-report/src/lib/SettingPage/index.js.html +0 -92
- package/artifacts/coverage-jest/lcov-report/src/lib/TypeDown/TypeDown.js.html +0 -764
- package/artifacts/coverage-jest/lcov-report/src/lib/TypeDown/index.html +0 -132
- package/artifacts/coverage-jest/lcov-report/src/lib/TypeDown/index.js.html +0 -89
- package/artifacts/coverage-jest/lcov-report/src/lib/Typedown/index.html +0 -132
- package/artifacts/coverage-jest/lcov-report/src/lib/Typedown/index.js.html +0 -89
- package/artifacts/coverage-jest/lcov-report/src/lib/constants/eventCodes.js.html +0 -95
- package/artifacts/coverage-jest/lcov-report/src/lib/constants/index.html +0 -117
- package/artifacts/coverage-jest/lcov-report/src/lib/contexts/SettingsContext.js.html +0 -98
- package/artifacts/coverage-jest/lcov-report/src/lib/contexts/index.html +0 -132
- package/artifacts/coverage-jest/lcov-report/src/lib/contexts/index.js.html +0 -86
- package/artifacts/coverage-jest/lcov-report/src/lib/hooks/index.html +0 -252
- package/artifacts/coverage-jest/lcov-report/src/lib/hooks/index.js.html +0 -116
- package/artifacts/coverage-jest/lcov-report/src/lib/hooks/settingsHooks/index.html +0 -147
- package/artifacts/coverage-jest/lcov-report/src/lib/hooks/settingsHooks/index.js.html +0 -92
- package/artifacts/coverage-jest/lcov-report/src/lib/hooks/settingsHooks/useSettingSection.js.html +0 -164
- package/artifacts/coverage-jest/lcov-report/src/lib/hooks/settingsHooks/useSettings.js.html +0 -377
- package/artifacts/coverage-jest/lcov-report/src/lib/hooks/typedownHooks/useTypedownData.js.html +0 -164
- package/artifacts/coverage-jest/lcov-report/src/lib/hooks/typedownHooks/useTypedownToggle.js.html +0 -164
- package/artifacts/coverage-jest/lcov-report/src/lib/hooks/useActiveElement.js.html +0 -158
- package/artifacts/coverage-jest/lcov-report/src/lib/hooks/useHelperApp.js.html +0 -284
- package/artifacts/coverage-jest/lcov-report/src/lib/hooks/useKiwtFieldArray.js.html +0 -275
- package/artifacts/coverage-jest/lcov-report/src/lib/hooks/useKiwtSASQuery.js.html +0 -179
- package/artifacts/coverage-jest/lcov-report/src/lib/hooks/useLocalStorageState.js.html +0 -137
- package/artifacts/coverage-jest/lcov-report/src/lib/hooks/useQIndex.js.html +0 -209
- package/artifacts/coverage-jest/lcov-report/src/lib/hooks/useTemplates.js.html +0 -167
- package/artifacts/coverage-jest/lcov-report/src/lib/utils/buildUrl.js.html +0 -194
- package/artifacts/coverage-jest/lcov-report/src/lib/utils/generateKiwtQuery.js.html +0 -110
- package/artifacts/coverage-jest/lcov-report/src/lib/utils/generateKiwtQueryParams.js.html +0 -287
- package/artifacts/coverage-jest/lcov-report/src/lib/utils/getFocusableElements.js.html +0 -380
- package/artifacts/coverage-jest/lcov-report/src/lib/utils/index.html +0 -237
- package/artifacts/coverage-jest/lcov-report/src/lib/utils/index.js.html +0 -116
- package/artifacts/coverage-jest/lcov-report/src/lib/utils/renderHelpText.js.html +0 -167
- package/artifacts/coverage-jest/lcov-report/src/lib/utils/selectorSafe.js.html +0 -104
- package/artifacts/coverage-jest/lcov-report/src/lib/utils/toCamelCase.js.html +0 -128
- package/artifacts/coverage-jest/lcov.info +0 -10040
- package/es/lib/TypeDown/TypeDown.js +0 -251
- package/src/artifacts/coverage-jest/lcov-report/TypeDown/TypeDown.js.html +0 -770
- package/src/artifacts/coverage-jest/lcov-report/utils/getFocusableElements.js.html +0 -386
- package/src/lib/TypeDown/README.md +0 -1
- package/src/lib/TypeDown/TypeDown.js +0 -228
- package/src/lib/TypeDown/index.js +0 -1
- package/yarn-error.log +0 -15050
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
<html lang="en">
|
|
4
4
|
|
|
5
5
|
<head>
|
|
6
|
-
<title>Code coverage report for
|
|
6
|
+
<title>Code coverage report for CustomProperties/Config/CustomPropertiesSettings.js</title>
|
|
7
7
|
<meta charset="utf-8" />
|
|
8
|
-
<link rel="stylesheet" href="
|
|
9
|
-
<link rel="stylesheet" href="
|
|
10
|
-
<link rel="shortcut icon" type="image/x-icon" href="
|
|
8
|
+
<link rel="stylesheet" href="../../prettify.css" />
|
|
9
|
+
<link rel="stylesheet" href="../../base.css" />
|
|
10
|
+
<link rel="shortcut icon" type="image/x-icon" href="../../favicon.png" />
|
|
11
11
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
12
12
|
<style type='text/css'>
|
|
13
13
|
.coverage-summary .sorter {
|
|
14
|
-
background-image: url(
|
|
14
|
+
background-image: url(../../sort-arrow-sprite.png);
|
|
15
15
|
}
|
|
16
16
|
</style>
|
|
17
17
|
</head>
|
|
@@ -19,34 +19,34 @@
|
|
|
19
19
|
<body>
|
|
20
20
|
<div class='wrapper'>
|
|
21
21
|
<div class='pad1'>
|
|
22
|
-
<h1><a href="
|
|
22
|
+
<h1><a href="../../index.html">All files</a> / <a href="index.html">CustomProperties/Config</a> CustomPropertiesSettings.js</h1>
|
|
23
23
|
<div class='clearfix'>
|
|
24
24
|
|
|
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/47</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/25</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/18</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/47</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -297,7 +297,13 @@
|
|
|
297
297
|
<a name='L232'></a><a href='#L232'>232</a>
|
|
298
298
|
<a name='L233'></a><a href='#L233'>233</a>
|
|
299
299
|
<a name='L234'></a><a href='#L234'>234</a>
|
|
300
|
-
<a name='L235'></a><a href='#L235'>235</a
|
|
300
|
+
<a name='L235'></a><a href='#L235'>235</a>
|
|
301
|
+
<a name='L236'></a><a href='#L236'>236</a>
|
|
302
|
+
<a name='L237'></a><a href='#L237'>237</a>
|
|
303
|
+
<a name='L238'></a><a href='#L238'>238</a>
|
|
304
|
+
<a name='L239'></a><a href='#L239'>239</a>
|
|
305
|
+
<a name='L240'></a><a href='#L240'>240</a>
|
|
306
|
+
<a name='L241'></a><a href='#L241'>241</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
301
307
|
<span class="cline-any cline-neutral"> </span>
|
|
302
308
|
<span class="cline-any cline-neutral"> </span>
|
|
303
309
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -314,46 +320,43 @@
|
|
|
314
320
|
<span class="cline-any cline-neutral"> </span>
|
|
315
321
|
<span class="cline-any cline-neutral"> </span>
|
|
316
322
|
<span class="cline-any cline-neutral"> </span>
|
|
317
|
-
<span class="cline-any cline-no"> </span>
|
|
318
323
|
<span class="cline-any cline-neutral"> </span>
|
|
319
324
|
<span class="cline-any cline-neutral"> </span>
|
|
320
325
|
<span class="cline-any cline-neutral"> </span>
|
|
326
|
+
<span class="cline-any cline-no"> </span>
|
|
327
|
+
<span class="cline-any cline-no"> </span>
|
|
328
|
+
<span class="cline-any cline-no"> </span>
|
|
321
329
|
<span class="cline-any cline-neutral"> </span>
|
|
322
330
|
<span class="cline-any cline-neutral"> </span>
|
|
331
|
+
<span class="cline-any cline-no"> </span>
|
|
323
332
|
<span class="cline-any cline-neutral"> </span>
|
|
324
333
|
<span class="cline-any cline-neutral"> </span>
|
|
325
334
|
<span class="cline-any cline-neutral"> </span>
|
|
326
335
|
<span class="cline-any cline-neutral"> </span>
|
|
327
336
|
<span class="cline-any cline-neutral"> </span>
|
|
328
|
-
<span class="cline-any cline-no"> </span>
|
|
329
337
|
<span class="cline-any cline-neutral"> </span>
|
|
330
338
|
<span class="cline-any cline-neutral"> </span>
|
|
331
339
|
<span class="cline-any cline-no"> </span>
|
|
332
|
-
<span class="cline-any cline-no"> </span>
|
|
333
|
-
<span class="cline-any cline-no"> </span>
|
|
334
|
-
<span class="cline-any cline-neutral"> </span>
|
|
335
|
-
<span class="cline-any cline-neutral"> </span>
|
|
336
340
|
<span class="cline-any cline-neutral"> </span>
|
|
337
341
|
<span class="cline-any cline-no"> </span>
|
|
338
342
|
<span class="cline-any cline-no"> </span>
|
|
339
343
|
<span class="cline-any cline-no"> </span>
|
|
340
|
-
<span class="cline-any cline-no"> </span>
|
|
341
|
-
<span class="cline-any cline-no"> </span>
|
|
342
|
-
<span class="cline-any cline-no"> </span>
|
|
343
|
-
<span class="cline-any cline-no"> </span>
|
|
344
|
-
<span class="cline-any cline-no"> </span>
|
|
345
344
|
<span class="cline-any cline-neutral"> </span>
|
|
346
345
|
<span class="cline-any cline-no"> </span>
|
|
347
346
|
<span class="cline-any cline-neutral"> </span>
|
|
348
347
|
<span class="cline-any cline-neutral"> </span>
|
|
349
348
|
<span class="cline-any cline-neutral"> </span>
|
|
349
|
+
<span class="cline-any cline-no"> </span>
|
|
350
350
|
<span class="cline-any cline-neutral"> </span>
|
|
351
351
|
<span class="cline-any cline-neutral"> </span>
|
|
352
|
+
<span class="cline-any cline-no"> </span>
|
|
353
|
+
<span class="cline-any cline-no"> </span>
|
|
352
354
|
<span class="cline-any cline-neutral"> </span>
|
|
353
355
|
<span class="cline-any cline-neutral"> </span>
|
|
354
356
|
<span class="cline-any cline-neutral"> </span>
|
|
355
357
|
<span class="cline-any cline-neutral"> </span>
|
|
356
358
|
<span class="cline-any cline-neutral"> </span>
|
|
359
|
+
<span class="cline-any cline-no"> </span>
|
|
357
360
|
<span class="cline-any cline-neutral"> </span>
|
|
358
361
|
<span class="cline-any cline-neutral"> </span>
|
|
359
362
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -361,13 +364,14 @@
|
|
|
361
364
|
<span class="cline-any cline-neutral"> </span>
|
|
362
365
|
<span class="cline-any cline-neutral"> </span>
|
|
363
366
|
<span class="cline-any cline-neutral"> </span>
|
|
364
|
-
<span class="cline-any cline-
|
|
365
|
-
<span class="cline-any cline-
|
|
367
|
+
<span class="cline-any cline-no"> </span>
|
|
368
|
+
<span class="cline-any cline-no"> </span>
|
|
369
|
+
<span class="cline-any cline-no"> </span>
|
|
366
370
|
<span class="cline-any cline-neutral"> </span>
|
|
367
371
|
<span class="cline-any cline-neutral"> </span>
|
|
368
372
|
<span class="cline-any cline-neutral"> </span>
|
|
369
373
|
<span class="cline-any cline-no"> </span>
|
|
370
|
-
<span class="cline-any cline-
|
|
374
|
+
<span class="cline-any cline-no"> </span>
|
|
371
375
|
<span class="cline-any cline-no"> </span>
|
|
372
376
|
<span class="cline-any cline-no"> </span>
|
|
373
377
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -377,16 +381,20 @@
|
|
|
377
381
|
<span class="cline-any cline-neutral"> </span>
|
|
378
382
|
<span class="cline-any cline-neutral"> </span>
|
|
379
383
|
<span class="cline-any cline-neutral"> </span>
|
|
384
|
+
<span class="cline-any cline-no"> </span>
|
|
380
385
|
<span class="cline-any cline-neutral"> </span>
|
|
381
386
|
<span class="cline-any cline-neutral"> </span>
|
|
382
387
|
<span class="cline-any cline-no"> </span>
|
|
383
388
|
<span class="cline-any cline-no"> </span>
|
|
389
|
+
<span class="cline-any cline-no"> </span>
|
|
390
|
+
<span class="cline-any cline-neutral"> </span>
|
|
384
391
|
<span class="cline-any cline-neutral"> </span>
|
|
385
392
|
<span class="cline-any cline-no"> </span>
|
|
386
393
|
<span class="cline-any cline-no"> </span>
|
|
394
|
+
<span class="cline-any cline-no"> </span>
|
|
387
395
|
<span class="cline-any cline-neutral"> </span>
|
|
388
396
|
<span class="cline-any cline-neutral"> </span>
|
|
389
|
-
<span class="cline-any cline-
|
|
397
|
+
<span class="cline-any cline-no"> </span>
|
|
390
398
|
<span class="cline-any cline-no"> </span>
|
|
391
399
|
<span class="cline-any cline-no"> </span>
|
|
392
400
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -395,16 +403,14 @@
|
|
|
395
403
|
<span class="cline-any cline-neutral"> </span>
|
|
396
404
|
<span class="cline-any cline-neutral"> </span>
|
|
397
405
|
<span class="cline-any cline-neutral"> </span>
|
|
406
|
+
<span class="cline-any cline-no"> </span>
|
|
407
|
+
<span class="cline-any cline-no"> </span>
|
|
398
408
|
<span class="cline-any cline-neutral"> </span>
|
|
399
409
|
<span class="cline-any cline-neutral"> </span>
|
|
400
410
|
<span class="cline-any cline-neutral"> </span>
|
|
401
411
|
<span class="cline-any cline-neutral"> </span>
|
|
402
412
|
<span class="cline-any cline-neutral"> </span>
|
|
403
413
|
<span class="cline-any cline-no"> </span>
|
|
404
|
-
<span class="cline-any cline-no"> </span>
|
|
405
|
-
<span class="cline-any cline-neutral"> </span>
|
|
406
|
-
<span class="cline-any cline-neutral"> </span>
|
|
407
|
-
<span class="cline-any cline-neutral"> </span>
|
|
408
414
|
<span class="cline-any cline-neutral"> </span>
|
|
409
415
|
<span class="cline-any cline-neutral"> </span>
|
|
410
416
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -413,8 +419,6 @@
|
|
|
413
419
|
<span class="cline-any cline-neutral"> </span>
|
|
414
420
|
<span class="cline-any cline-neutral"> </span>
|
|
415
421
|
<span class="cline-any cline-no"> </span>
|
|
416
|
-
<span class="cline-any cline-no"> </span>
|
|
417
|
-
<span class="cline-any cline-neutral"> </span>
|
|
418
422
|
<span class="cline-any cline-neutral"> </span>
|
|
419
423
|
<span class="cline-any cline-neutral"> </span>
|
|
420
424
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -427,14 +431,17 @@
|
|
|
427
431
|
<span class="cline-any cline-neutral"> </span>
|
|
428
432
|
<span class="cline-any cline-neutral"> </span>
|
|
429
433
|
<span class="cline-any cline-neutral"> </span>
|
|
434
|
+
<span class="cline-any cline-no"> </span>
|
|
430
435
|
<span class="cline-any cline-neutral"> </span>
|
|
431
436
|
<span class="cline-any cline-neutral"> </span>
|
|
432
437
|
<span class="cline-any cline-neutral"> </span>
|
|
433
438
|
<span class="cline-any cline-neutral"> </span>
|
|
434
439
|
<span class="cline-any cline-neutral"> </span>
|
|
440
|
+
<span class="cline-any cline-no"> </span>
|
|
435
441
|
<span class="cline-any cline-neutral"> </span>
|
|
436
442
|
<span class="cline-any cline-neutral"> </span>
|
|
437
443
|
<span class="cline-any cline-neutral"> </span>
|
|
444
|
+
<span class="cline-any cline-no"> </span>
|
|
438
445
|
<span class="cline-any cline-neutral"> </span>
|
|
439
446
|
<span class="cline-any cline-neutral"> </span>
|
|
440
447
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -442,6 +449,8 @@
|
|
|
442
449
|
<span class="cline-any cline-neutral"> </span>
|
|
443
450
|
<span class="cline-any cline-neutral"> </span>
|
|
444
451
|
<span class="cline-any cline-neutral"> </span>
|
|
452
|
+
<span class="cline-any cline-no"> </span>
|
|
453
|
+
<span class="cline-any cline-no"> </span>
|
|
445
454
|
<span class="cline-any cline-neutral"> </span>
|
|
446
455
|
<span class="cline-any cline-neutral"> </span>
|
|
447
456
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -452,7 +461,6 @@
|
|
|
452
461
|
<span class="cline-any cline-neutral"> </span>
|
|
453
462
|
<span class="cline-any cline-neutral"> </span>
|
|
454
463
|
<span class="cline-any cline-no"> </span>
|
|
455
|
-
<span class="cline-any cline-no"> </span>
|
|
456
464
|
<span class="cline-any cline-neutral"> </span>
|
|
457
465
|
<span class="cline-any cline-neutral"> </span>
|
|
458
466
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -469,7 +477,6 @@
|
|
|
469
477
|
<span class="cline-any cline-neutral"> </span>
|
|
470
478
|
<span class="cline-any cline-neutral"> </span>
|
|
471
479
|
<span class="cline-any cline-neutral"> </span>
|
|
472
|
-
<span class="cline-any cline-no"> </span>
|
|
473
480
|
<span class="cline-any cline-neutral"> </span>
|
|
474
481
|
<span class="cline-any cline-neutral"> </span>
|
|
475
482
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -478,6 +485,7 @@
|
|
|
478
485
|
<span class="cline-any cline-neutral"> </span>
|
|
479
486
|
<span class="cline-any cline-neutral"> </span>
|
|
480
487
|
<span class="cline-any cline-neutral"> </span>
|
|
488
|
+
<span class="cline-any cline-no"> </span>
|
|
481
489
|
<span class="cline-any cline-neutral"> </span>
|
|
482
490
|
<span class="cline-any cline-neutral"> </span>
|
|
483
491
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -507,19 +515,23 @@
|
|
|
507
515
|
<span class="cline-any cline-neutral"> </span>
|
|
508
516
|
<span class="cline-any cline-neutral"> </span>
|
|
509
517
|
<span class="cline-any cline-neutral"> </span>
|
|
518
|
+
<span class="cline-any cline-no"> </span>
|
|
519
|
+
<span class="cline-any cline-neutral"> </span>
|
|
520
|
+
<span class="cline-any cline-no"> </span>
|
|
521
|
+
<span class="cline-any cline-no"> </span>
|
|
522
|
+
<span class="cline-any cline-no"> </span>
|
|
510
523
|
<span class="cline-any cline-neutral"> </span>
|
|
511
524
|
<span class="cline-any cline-neutral"> </span>
|
|
512
525
|
<span class="cline-any cline-neutral"> </span>
|
|
513
526
|
<span class="cline-any cline-neutral"> </span>
|
|
514
|
-
<span class="cline-any cline-no"> </span>
|
|
515
527
|
<span class="cline-any cline-neutral"> </span>
|
|
516
528
|
<span class="cline-any cline-neutral"> </span>
|
|
517
529
|
<span class="cline-any cline-neutral"> </span>
|
|
530
|
+
<span class="cline-any cline-no"> </span>
|
|
518
531
|
<span class="cline-any cline-neutral"> </span>
|
|
519
532
|
<span class="cline-any cline-neutral"> </span>
|
|
520
533
|
<span class="cline-any cline-neutral"> </span>
|
|
521
534
|
<span class="cline-any cline-neutral"> </span>
|
|
522
|
-
<span class="cline-any cline-no"> </span>
|
|
523
535
|
<span class="cline-any cline-neutral"> </span>
|
|
524
536
|
<span class="cline-any cline-neutral"> </span>
|
|
525
537
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -531,258 +543,263 @@
|
|
|
531
543
|
<span class="cline-any cline-neutral"> </span>
|
|
532
544
|
<span class="cline-any cline-neutral"> </span>
|
|
533
545
|
<span class="cline-any cline-neutral"> </span>
|
|
534
|
-
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">import
|
|
546
|
+
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">import { useState } from 'react';
|
|
535
547
|
import PropTypes from 'prop-types';
|
|
536
|
-
import classnames from 'classnames';
|
|
537
548
|
|
|
538
|
-
import
|
|
549
|
+
import compose from 'compose-function';
|
|
550
|
+
|
|
551
|
+
import { FormattedMessage, useIntl } from 'react-intl';
|
|
539
552
|
|
|
540
|
-
import {
|
|
553
|
+
import { useQueryClient } from 'react-query';
|
|
541
554
|
|
|
542
|
-
|
|
543
|
-
import { interactionStyles } from '@folio/stripes-components/lib/sharedStyles/interactionStyles.css';
|
|
555
|
+
import SafeHTMLMessage from '@folio/react-intl-safe-html';
|
|
544
556
|
|
|
545
|
-
import
|
|
546
|
-
import css from '../../../styles/TypeDown.css';
|
|
557
|
+
import { Button, ConfirmationModal, Pane } from '@folio/stripes/components';
|
|
547
558
|
|
|
548
|
-
import
|
|
549
|
-
import selectorSafe from '../utils/selectorSafe';
|
|
559
|
+
import FormModal from '../../FormModal/FormModal';
|
|
550
560
|
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
+
import CustomPropertiesLookup from './CustomPropertiesLookup';
|
|
562
|
+
import CustomPropertiesView from './CustomPropertiesView';
|
|
563
|
+
import CustomPropertiesForm from './CustomPropertyForm';
|
|
564
|
+
import { useMutateCustomProperties, useRefdata } from '../../hooks';
|
|
565
|
+
|
|
566
|
+
const EDITING = <span class="cstat-no" title="statement not covered" >'edit';</span>
|
|
567
|
+
const CREATING = <span class="cstat-no" title="statement not covered" >'create';</span>
|
|
568
|
+
const VIEWING = <span class="cstat-no" title="statement not covered" >'view';</span>
|
|
569
|
+
|
|
570
|
+
// A default option for setting up panes manually
|
|
571
|
+
const CustomPropertiesSettings = <span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >({</span></span>
|
|
572
|
+
afterQueryCalls,
|
|
573
|
+
contextFilterOptions,
|
|
574
|
+
customPropertiesEndpoint,
|
|
575
|
+
helpPopovers,
|
|
576
|
+
labelOverrides,
|
|
577
|
+
refdataEndpoint,
|
|
561
578
|
}) => {
|
|
562
|
-
const
|
|
579
|
+
const queryClient = <span class="cstat-no" title="statement not covered" >useQueryClient();</span>
|
|
563
580
|
|
|
564
|
-
|
|
565
|
-
const [
|
|
566
|
-
|
|
567
|
-
<span class="cstat-no" title="statement not covered" > setDisplayData(dataOptions);</span>
|
|
568
|
-
}, [dataOptions]);
|
|
581
|
+
const intl = <span class="cstat-no" title="statement not covered" >useIntl();</span>
|
|
582
|
+
const [customProperty, setCustomProperty] = <span class="cstat-no" title="statement not covered" >useState();</span>
|
|
583
|
+
const [deleteModal, setDeleteModal] = <span class="cstat-no" title="statement not covered" >useState(false);</span>
|
|
569
584
|
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
<span class="cstat-no" title="statement not covered" > if (onType) {</span>
|
|
574
|
-
<span class="cstat-no" title="statement not covered" > onType(e);</span>
|
|
575
|
-
} else <span class="cstat-no" title="statement not covered" >if (filterPath && e?.target?.value) {</span>
|
|
576
|
-
<span class="cstat-no" title="statement not covered" > setDisplayData(dataOptions.filter(<span class="fstat-no" title="function not covered" >it</span>em => <span class="cstat-no" title="statement not covered" >get(item, filterPath)?.toLowerCase()?.match(regex))</span>);</span>
|
|
577
|
-
} else <span class="cstat-no" title="statement not covered" >if (e?.target?.value) {</span>
|
|
578
|
-
<span class="cstat-no" title="statement not covered" > setDisplayData(dataOptions.filter(<span class="fstat-no" title="function not covered" >it</span>em => <span class="cstat-no" title="statement not covered" >get(item, uniqueIdentificationPath)?.toLowerCase()?.match(regex))</span>);</span>
|
|
579
|
-
} else {
|
|
580
|
-
<span class="cstat-no" title="statement not covered" > setDisplayData(dataOptions);</span>
|
|
581
|
-
}
|
|
582
|
-
};
|
|
585
|
+
const refdata = <span class="cstat-no" title="statement not covered" >useRefdata({</span>
|
|
586
|
+
endpoint: refdataEndpoint,
|
|
587
|
+
});
|
|
583
588
|
|
|
584
|
-
|
|
585
|
-
const {
|
|
586
|
-
refs: {
|
|
587
|
-
listRef,
|
|
588
|
-
triggerRef,
|
|
589
|
-
overlayRef,
|
|
590
|
-
footerRef
|
|
591
|
-
},
|
|
592
|
-
handlers: {
|
|
593
|
-
handleNextFocus,
|
|
594
|
-
listKeyDownHandler,
|
|
595
|
-
searchFieldKeyDownHandler
|
|
596
|
-
},
|
|
597
|
-
variables: {
|
|
598
|
-
open,
|
|
599
|
-
portal,
|
|
600
|
-
resizeRef,
|
|
601
|
-
searchWidth
|
|
602
|
-
}
|
|
603
|
-
} = <span class="cstat-no" title="statement not covered" >useTypedown(input.name);</span>
|
|
589
|
+
const [mode, setMode] = <span class="cstat-no" title="statement not covered" >useState(VIEWING);</span>
|
|
604
590
|
|
|
605
|
-
|
|
606
|
-
<span class="cstat-no" title="statement not covered" >
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
{
|
|
610
|
-
|
|
611
|
-
|
|
591
|
+
// Default props that need hooks are hard
|
|
592
|
+
let renderContextFilterOptions = <span class="cstat-no" title="statement not covered" >contextFilterOptions;</span>
|
|
593
|
+
<span class="cstat-no" title="statement not covered" > if (!contextFilterOptions) {</span>
|
|
594
|
+
/*
|
|
595
|
+
Default is {value: '', label: 'All'}, empty string will map to ALL contexts
|
|
596
|
+
If null context is needed, use
|
|
597
|
+
{value: 'isNull', label: ...}
|
|
598
|
+
*/
|
|
599
|
+
<span class="cstat-no" title="statement not covered" > renderContextFilterOptions = [</span>
|
|
600
|
+
{
|
|
601
|
+
value: '', // empty string is all custoprop contexts
|
|
602
|
+
label: intl.formatMessage({ id: 'stripes-kint-components.customProperties.all' })
|
|
612
603
|
}
|
|
613
|
-
|
|
614
|
-
|
|
604
|
+
];
|
|
605
|
+
}
|
|
615
606
|
|
|
616
|
-
|
|
617
|
-
<span class="cstat-no" title="statement not covered" >
|
|
607
|
+
let renderViewPaneTitle = <span class="cstat-no" title="statement not covered" >labelOverrides?.viewPaneTitle;</span>
|
|
608
|
+
<span class="cstat-no" title="statement not covered" > if (renderViewPaneTitle instanceof Function) {</span>
|
|
609
|
+
<span class="cstat-no" title="statement not covered" > renderViewPaneTitle = renderViewPaneTitle(customProperty);</span>
|
|
610
|
+
}
|
|
618
611
|
|
|
619
|
-
|
|
620
|
-
<span class="cstat-no" title="statement not covered" >
|
|
621
|
-
|
|
622
|
-
|
|
612
|
+
// Defaulting is hard
|
|
613
|
+
const afterQueryCallsSafe = <span class="cstat-no" title="statement not covered" >{</span>
|
|
614
|
+
put: <span class="fstat-no" title="function not covered" >()</span> => <span class="cstat-no" title="statement not covered" >null,</span>
|
|
615
|
+
post: <span class="fstat-no" title="function not covered" >()</span> => <span class="cstat-no" title="statement not covered" >null,</span>
|
|
616
|
+
delete: <span class="fstat-no" title="function not covered" >()</span> => <span class="cstat-no" title="statement not covered" >null,</span>
|
|
617
|
+
...afterQueryCalls
|
|
618
|
+
};
|
|
623
619
|
|
|
624
|
-
const
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
<span class="cstat-no" title="statement not covered" >
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
<span class="cstat-no" title="statement not covered" > handleChange(d);</span>
|
|
650
|
-
<span class="cstat-no" title="statement not covered" > handleNextFocus();</span>
|
|
651
|
-
}}
|
|
652
|
-
onKeyDown={listKeyDownHandler}
|
|
653
|
-
type="button"
|
|
654
|
-
>
|
|
655
|
-
{renderItem(d)}
|
|
656
|
-
</button>
|
|
657
|
-
);
|
|
658
|
-
}) :
|
|
659
|
-
// TODO test this
|
|
660
|
-
<EndOfList />
|
|
661
|
-
}
|
|
662
|
-
</div>
|
|
663
|
-
{renderFooter &&
|
|
664
|
-
<div
|
|
665
|
-
ref={footerRef}
|
|
666
|
-
className={css.footer}
|
|
667
|
-
id="typedown-footer"
|
|
668
|
-
>
|
|
669
|
-
{renderFooter()}
|
|
670
|
-
</div>
|
|
671
|
-
}
|
|
672
|
-
</div>
|
|
673
|
-
);
|
|
674
|
-
}, [
|
|
675
|
-
displayData,
|
|
676
|
-
footerRef,
|
|
677
|
-
handleChange,
|
|
678
|
-
handleNextFocus,
|
|
679
|
-
input,
|
|
680
|
-
listKeyDownHandler,
|
|
681
|
-
listRef,
|
|
682
|
-
renderFooter,
|
|
683
|
-
renderItem,
|
|
684
|
-
searchWidth,
|
|
685
|
-
uniqueIdentificationPath
|
|
686
|
-
]);
|
|
620
|
+
const {
|
|
621
|
+
post: createCustprop,
|
|
622
|
+
put: editCustProp,
|
|
623
|
+
delete: deleteCustProp
|
|
624
|
+
} = <span class="cstat-no" title="statement not covered" >useMutateCustomProperties({</span>
|
|
625
|
+
afterQueryCalls: {
|
|
626
|
+
put: <span class="fstat-no" title="function not covered" >()</span> => {
|
|
627
|
+
<span class="cstat-no" title="statement not covered" > setMode(VIEWING);</span>
|
|
628
|
+
<span class="cstat-no" title="statement not covered" > queryClient.invalidateQueries(['stripes-kint-components', 'useCustomProperties', 'custprops']);</span>
|
|
629
|
+
<span class="cstat-no" title="statement not covered" > afterQueryCallsSafe.put();</span>
|
|
630
|
+
},
|
|
631
|
+
post: <span class="fstat-no" title="function not covered" >()</span> => {
|
|
632
|
+
<span class="cstat-no" title="statement not covered" > setMode(VIEWING);</span>
|
|
633
|
+
<span class="cstat-no" title="statement not covered" > queryClient.invalidateQueries(['stripes-kint-components', 'useCustomProperties', 'custprops']);</span>
|
|
634
|
+
<span class="cstat-no" title="statement not covered" > afterQueryCallsSafe.post();</span>
|
|
635
|
+
},
|
|
636
|
+
delete: <span class="fstat-no" title="function not covered" >()</span> => {
|
|
637
|
+
<span class="cstat-no" title="statement not covered" > setMode(VIEWING);</span>
|
|
638
|
+
<span class="cstat-no" title="statement not covered" > queryClient.invalidateQueries(['stripes-kint-components', 'useCustomProperties', 'custprops']);</span>
|
|
639
|
+
<span class="cstat-no" title="statement not covered" > afterQueryCallsSafe.delete();</span>
|
|
640
|
+
}
|
|
641
|
+
},
|
|
642
|
+
endpoint: customPropertiesEndpoint,
|
|
643
|
+
id: customProperty?.id
|
|
644
|
+
});
|
|
687
645
|
|
|
688
|
-
const
|
|
689
|
-
<span class="cstat-no" title="statement not covered" > return
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
>
|
|
694
|
-
<SearchField
|
|
695
|
-
// Pass meta through so correct styling gets applied to the TextField
|
|
696
|
-
id={`typedown-searchField-${selectorSafe(input.name)}`}
|
|
697
|
-
marginBottom0
|
|
698
|
-
meta={meta}
|
|
699
|
-
onChange={handleType}
|
|
700
|
-
onKeyDown={searchFieldKeyDownHandler}
|
|
701
|
-
/>
|
|
702
|
-
</div>
|
|
703
|
-
);
|
|
646
|
+
const handeContextSubmit = <span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >(s</span>ubmitData) => {</span>
|
|
647
|
+
<span class="cstat-no" title="statement not covered" > return {</span>
|
|
648
|
+
...submitData,
|
|
649
|
+
ctx: submitData?.ctx?.[0]?.value
|
|
650
|
+
};
|
|
704
651
|
};
|
|
705
652
|
|
|
706
653
|
<span class="cstat-no" title="statement not covered" > return (</span>
|
|
707
|
-
<
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
}}
|
|
723
|
-
overlayProps={{
|
|
724
|
-
'ref': overlayRef,
|
|
725
|
-
'tabIndex': '-1',
|
|
726
|
-
'onClick': <span class="fstat-no" title="function not covered" >(e</span>) => { <span class="cstat-no" title="statement not covered" >e.stopPropagation(); </span>} // prevent propagation of click events
|
|
727
|
-
}}
|
|
728
|
-
overlayRef={overlayRef}
|
|
729
|
-
portal={portal}
|
|
654
|
+
<>
|
|
655
|
+
<Pane
|
|
656
|
+
defaultWidth="fill"
|
|
657
|
+
id="settings-customProperties.lookupPane"
|
|
658
|
+
lastMenu={
|
|
659
|
+
<Button
|
|
660
|
+
marginBottom0
|
|
661
|
+
onClick={<span class="fstat-no" title="function not covered" >()</span> => <span class="cstat-no" title="statement not covered" >setMode(CREATING)}</span> // TODO do we need to clear form here too?
|
|
662
|
+
>
|
|
663
|
+
<FormattedMessage id="stripes-kint-components.create" />
|
|
664
|
+
</Button>
|
|
665
|
+
}
|
|
666
|
+
paneTitle={labelOverrides.paneTitle ??
|
|
667
|
+
<FormattedMessage id="stripes-kint-components.customProperties" /> // This should be configurable?
|
|
668
|
+
}
|
|
730
669
|
>
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
670
|
+
<CustomPropertiesLookup
|
|
671
|
+
contextFilterOptions={renderContextFilterOptions}
|
|
672
|
+
customPropertiesEndpoint={customPropertiesEndpoint}
|
|
673
|
+
labelOverrides={labelOverrides}
|
|
674
|
+
onSelectCustomProperty={<span class="fstat-no" title="function not covered" >(_</span>e, cp) => <span class="cstat-no" title="statement not covered" >setCustomProperty(cp)}</span>
|
|
675
|
+
/>
|
|
676
|
+
</Pane>
|
|
677
|
+
{customProperty &&
|
|
678
|
+
<Pane
|
|
679
|
+
actionMenu={<span class="fstat-no" title="function not covered" >({</span> onToggle }) => (
|
|
680
|
+
<span class="cstat-no" title="statement not covered" > [</span>
|
|
681
|
+
<Button
|
|
682
|
+
buttonStyle="dropdownItem"
|
|
683
|
+
marginBottom0
|
|
684
|
+
onClick={<span class="fstat-no" title="function not covered" >()</span> => <span class="cstat-no" title="statement not covered" >setMode(EDITING)}</span>
|
|
685
|
+
>
|
|
686
|
+
<FormattedMessage id="stripes-kint-components.edit" />
|
|
687
|
+
</Button>,
|
|
688
|
+
<Button
|
|
689
|
+
buttonStyle="dropdownItem"
|
|
690
|
+
marginBottom0
|
|
691
|
+
onClick={<span class="fstat-no" title="function not covered" >()</span> => {
|
|
692
|
+
<span class="cstat-no" title="statement not covered" > setDeleteModal(true);</span>
|
|
693
|
+
<span class="cstat-no" title="statement not covered" > onToggle();</span>
|
|
694
|
+
}}
|
|
695
|
+
>
|
|
696
|
+
<FormattedMessage id="stripes-kint-components.delete" />
|
|
697
|
+
</Button>
|
|
698
|
+
]
|
|
738
699
|
)}
|
|
700
|
+
defaultWidth="fill"
|
|
701
|
+
dismissible
|
|
702
|
+
id="settings-customProperties-viewPane"
|
|
703
|
+
onClose={<span class="fstat-no" title="function not covered" >()</span> => <span class="cstat-no" title="statement not covered" >setCustomProperty()}</span>
|
|
704
|
+
paneTitle={
|
|
705
|
+
renderViewPaneTitle ?? customProperty?.label ?? customProperty?.name
|
|
706
|
+
}
|
|
739
707
|
>
|
|
740
|
-
<
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
{renderItem(input.value)}
|
|
744
|
-
</div>
|
|
745
|
-
<IconButton
|
|
746
|
-
className={css.clearItem}
|
|
747
|
-
icon="times-circle-solid"
|
|
748
|
-
onClick={<span class="fstat-no" title="function not covered" >()</span> => <span class="cstat-no" title="statement not covered" >handleChange()}</span>
|
|
708
|
+
<CustomPropertiesView
|
|
709
|
+
customProperty={customProperty}
|
|
710
|
+
labelOverrides={labelOverrides}
|
|
749
711
|
/>
|
|
750
|
-
</
|
|
712
|
+
</Pane>
|
|
751
713
|
}
|
|
752
|
-
|
|
714
|
+
<FormModal
|
|
715
|
+
initialValues={mode === CREATING ?
|
|
716
|
+
{
|
|
717
|
+
weight: 0,
|
|
718
|
+
primary: true,
|
|
719
|
+
defaultInternal: true
|
|
720
|
+
} :
|
|
721
|
+
{
|
|
722
|
+
...customProperty,
|
|
723
|
+
ctx: customProperty?.ctx ? [{ value: customProperty.ctx, label: customProperty.ctx }] : null
|
|
724
|
+
}
|
|
725
|
+
}
|
|
726
|
+
modalProps={{
|
|
727
|
+
dismissible: true,
|
|
728
|
+
onClose: <span class="fstat-no" title="function not covered" >()</span> => <span class="cstat-no" title="statement not covered" >setMode(VIEWING),</span>
|
|
729
|
+
open: (mode === CREATING || mode === EDITING)
|
|
730
|
+
}}
|
|
731
|
+
onSubmit={mode === CREATING ?
|
|
732
|
+
compose(createCustprop, handeContextSubmit) :
|
|
733
|
+
compose(editCustProp, handeContextSubmit)
|
|
734
|
+
}
|
|
735
|
+
>
|
|
736
|
+
<CustomPropertiesForm
|
|
737
|
+
contextFilterOptions={renderContextFilterOptions}
|
|
738
|
+
helpPopovers={helpPopovers}
|
|
739
|
+
labelOverrides={labelOverrides}
|
|
740
|
+
refdata={refdata.map(<span class="fstat-no" title="function not covered" >rd</span>c => (<span class="cstat-no" title="statement not covered" >{ label: rdc.desc, value: rdc.id })</span>)}
|
|
741
|
+
/>
|
|
742
|
+
</FormModal>
|
|
743
|
+
<ConfirmationModal
|
|
744
|
+
buttonStyle="danger"
|
|
745
|
+
confirmLabel={
|
|
746
|
+
labelOverrides?.confirmLabel ??
|
|
747
|
+
<FormattedMessage id="stripes-kint-components.customProperties.delete.confirmLabel" />
|
|
748
|
+
}
|
|
749
|
+
heading={
|
|
750
|
+
labelOverrides?.confirmHeading ??
|
|
751
|
+
<FormattedMessage id="stripes-kint-components.customProperties.delete.confirmHeading" />
|
|
752
|
+
}
|
|
753
|
+
id="delete-job-confirmation"
|
|
754
|
+
message={
|
|
755
|
+
labelOverrides?.confirmMessage ??
|
|
756
|
+
<SafeHTMLMessage id="stripes-kint-components.customProperties.delete.confirmMessage" values={{ name: customProperty?.name }} />
|
|
757
|
+
}
|
|
758
|
+
onCancel={<span class="fstat-no" title="function not covered" >()</span> => <span class="cstat-no" title="statement not covered" >setDeleteModal(false)}</span>
|
|
759
|
+
onConfirm={<span class="fstat-no" title="function not covered" >()</span> => {
|
|
760
|
+
<span class="cstat-no" title="statement not covered" > deleteCustProp();</span>
|
|
761
|
+
<span class="cstat-no" title="statement not covered" > setCustomProperty();</span>
|
|
762
|
+
<span class="cstat-no" title="statement not covered" > setDeleteModal(false);</span>
|
|
763
|
+
}}
|
|
764
|
+
open={deleteModal}
|
|
765
|
+
/>
|
|
766
|
+
</>
|
|
753
767
|
);
|
|
754
768
|
};
|
|
755
769
|
|
|
756
|
-
<span class="cstat-no" title="statement not covered" >
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
770
|
+
<span class="cstat-no" title="statement not covered" >CustomPropertiesSettings.propTypes = {</span>
|
|
771
|
+
afterQueryCalls: PropTypes.object,
|
|
772
|
+
contextFilterOptions: PropTypes.arrayOf(PropTypes.shape({
|
|
773
|
+
value: PropTypes.string,
|
|
774
|
+
label: PropTypes.oneOfType([
|
|
775
|
+
PropTypes.element,
|
|
776
|
+
PropTypes.string
|
|
777
|
+
])
|
|
778
|
+
})),
|
|
779
|
+
customPropertiesEndpoint: PropTypes.string,
|
|
780
|
+
helpPopovers: PropTypes.object,
|
|
781
|
+
labelOverrides: PropTypes.object,
|
|
782
|
+
refdataEndpoint: PropTypes.string,
|
|
765
783
|
};
|
|
766
784
|
|
|
767
|
-
export default
|
|
785
|
+
export default CustomPropertiesSettings;
|
|
768
786
|
</pre></td></tr></table></pre>
|
|
769
787
|
|
|
770
788
|
<div class='push'></div><!-- for sticky footer -->
|
|
771
789
|
</div><!-- /wrapper -->
|
|
772
790
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
773
791
|
Code coverage generated by
|
|
774
|
-
<a href="https://istanbul.js.org/" target="_blank" rel="noopener">istanbul</a>
|
|
775
|
-
at
|
|
792
|
+
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
793
|
+
at Tue Mar 08 2022 11:38:49 GMT+0000 (Greenwich Mean Time)
|
|
776
794
|
</div>
|
|
777
|
-
|
|
778
|
-
<script src="../../../prettify.js"></script>
|
|
795
|
+
<script src="../../prettify.js"></script>
|
|
779
796
|
<script>
|
|
780
797
|
window.onload = function () {
|
|
781
798
|
prettyPrint();
|
|
782
799
|
};
|
|
783
800
|
</script>
|
|
784
|
-
<script src="
|
|
785
|
-
<script src="
|
|
801
|
+
<script src="../../sorter.js"></script>
|
|
802
|
+
<script src="../../block-navigation.js"></script>
|
|
786
803
|
</body>
|
|
787
804
|
</html>
|
|
788
805
|
|