@k-int/stripes-kint-components 1.5.0 → 1.6.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 +14 -0
- package/artifacts/coverage-jest/lcov-report/base.css +224 -0
- package/artifacts/coverage-jest/lcov-report/block-navigation.js +87 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/ActionList/ActionList.js.html +389 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/ActionList/ActionListFieldArray.js.html +1076 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/ActionList/index.html +147 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/ActionList/index.js.html +140 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/EditableRefdataList/EditableRefdataList.js.html +680 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/EditableRefdataList/index.html +132 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/EditableRefdataList/index.js.html +140 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/EditableSettingsList/EditableSettingsList.js.html +353 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/EditableSettingsList/EditableSettingsListFieldArray.js.html +353 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/EditableSettingsList/SettingField/EditSettingValue.js.html +482 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/EditableSettingsList/SettingField/RenderSettingValue.js.html +434 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/EditableSettingsList/SettingField/SettingField.js.html +644 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/EditableSettingsList/SettingField/index.html +162 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/EditableSettingsList/SettingField/index.js.html +188 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/EditableSettingsList/index.html +147 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/EditableSettingsList/index.js.html +188 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/NoResultsMessage/NoResultsMessage.js.html +449 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/NoResultsMessage/index.html +132 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/NoResultsMessage/index.js.html +140 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/QueryTypedown/QueryTypedown.js.html +413 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/QueryTypedown/index.html +132 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/QueryTypedown/index.js.html +140 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/RefdataButtons/RefdataButtons.js.html +512 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/RefdataButtons/index.html +132 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/RefdataButtons/index.js.html +140 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/SASQLookupComponent/SASQLookupComponent.js.html +1115 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/SASQLookupComponent/index.html +132 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/SASQLookupComponent/index.js.html +140 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/SASQRoute/SASQRoute.js.html +404 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/SASQRoute/index.html +132 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/SASQRoute/index.js.html +140 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/SASQViewComponent/SASQViewComponent.js.html +413 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/SASQViewComponent/index.html +132 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/SASQViewComponent/index.js.html +140 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/SearchField/SearchField.js.html +353 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/SearchField/index.html +132 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/SearchField/index.js.html +140 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/SettingPage/SettingPage.js.html +380 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/SettingPage/SettingPagePane.js.html +308 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/SettingPage/index.html +147 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/SettingPage/index.js.html +164 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/TypeDown/TypeDown.js.html +839 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/TypeDown/index.html +132 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/TypeDown/index.js.html +140 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/Typedown/Typedown.js.html +887 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/Typedown/index.html +132 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/Typedown/index.js.html +140 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/constants/eventCodes.js.html +209 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/constants/index.html +117 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/contexts/SettingsContext.js.html +206 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/contexts/index.html +132 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/contexts/index.js.html +140 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/hooks/index.html +252 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/hooks/index.js.html +374 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/hooks/settingsHooks/index.html +147 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/hooks/settingsHooks/index.js.html +164 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/hooks/settingsHooks/useSettingSection.js.html +305 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/hooks/settingsHooks/useSettings.js.html +584 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/hooks/typedownHooks/index.html +162 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/hooks/typedownHooks/index.js.html +188 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/hooks/typedownHooks/useTypedown.js.html +644 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/hooks/typedownHooks/useTypedownData.js.html +335 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/hooks/typedownHooks/useTypedownToggle.js.html +350 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/hooks/useActiveElement.js.html +323 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/hooks/useHelperApp.js.html +488 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/hooks/useKiwtFieldArray.js.html +509 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/hooks/useKiwtSASQuery.js.html +467 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/hooks/useLocalStorageState.js.html +329 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/hooks/useMutateRefdataValue.js.html +488 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/hooks/useQIndex.js.html +407 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/hooks/useRefdata.js.html +401 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/hooks/useTemplates.js.html +314 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/utils/buildUrl.js.html +296 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/utils/generateKiwtQuery.js.html +230 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/utils/generateKiwtQueryParams.js.html +545 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/utils/getFocusableElements.js.html +572 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/utils/index.html +237 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/utils/index.js.html +284 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/utils/renderHelpText.js.html +410 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/utils/selectorSafe.js.html +209 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/utils/sortByLabel.js.html +248 -0
- package/artifacts/coverage-jest/lcov-report/es/lib/utils/toCamelCase.js.html +227 -0
- package/artifacts/coverage-jest/lcov-report/favicon.png +0 -0
- package/artifacts/coverage-jest/lcov-report/index.html +717 -0
- package/artifacts/coverage-jest/lcov-report/prettify.css +1 -0
- package/artifacts/coverage-jest/lcov-report/prettify.js +2 -0
- package/artifacts/coverage-jest/lcov-report/sort-arrow-sprite.png +0 -0
- package/artifacts/coverage-jest/lcov-report/sorter.js +196 -0
- package/artifacts/coverage-jest/lcov-report/src/index.html +117 -0
- package/artifacts/coverage-jest/lcov-report/src/index.js.html +305 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/ActionList/ActionList.js.html +248 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/ActionList/ActionListFieldArray.js.html +764 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/ActionList/index.html +147 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/ActionList/index.js.html +89 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/EditableRefdataList/EditableRefdataList.js.html +362 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/EditableRefdataList/index.html +132 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/EditableRefdataList/index.js.html +86 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/EditableSettingsList/EditableSettingsList.js.html +224 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/EditableSettingsList/EditableSettingsListFieldArray.js.html +212 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/EditableSettingsList/SettingField/EditSettingValue.js.html +308 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/EditableSettingsList/SettingField/RenderSettingValue.js.html +260 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/EditableSettingsList/SettingField/SettingField.js.html +437 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/EditableSettingsList/SettingField/index.html +162 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/EditableSettingsList/SettingField/index.js.html +95 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/EditableSettingsList/index.html +147 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/EditableSettingsList/index.js.html +95 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/NoResultsMessage/NoResultsMessage.js.html +320 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/NoResultsMessage/index.html +132 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/NoResultsMessage/index.js.html +89 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/QueryTypedown/QueryTypedown.js.html +185 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/QueryTypedown/index.html +132 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/QueryTypedown/index.js.html +89 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/RefdataButtons/RefdataButtons.js.html +371 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/RefdataButtons/index.html +132 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/RefdataButtons/index.js.html +89 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/SASQLookupComponent/SASQLookupComponent.js.html +932 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/SASQLookupComponent/index.html +132 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/SASQLookupComponent/index.js.html +89 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/SASQRoute/SASQRoute.js.html +275 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/SASQRoute/index.html +132 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/SASQRoute/index.js.html +89 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/SASQViewComponent/SASQViewComponent.js.html +251 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/SASQViewComponent/index.html +132 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/SASQViewComponent/index.js.html +89 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/SearchField/SearchField.js.html +215 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/SearchField/index.html +132 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/SearchField/index.js.html +89 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/SettingPage/SettingPage.js.html +212 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/SettingPage/SettingPagePane.js.html +149 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/SettingPage/index.html +147 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/SettingPage/index.js.html +92 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/TypeDown/TypeDown.js.html +764 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/TypeDown/index.html +132 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/TypeDown/index.js.html +89 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/Typedown/Typedown.js.html +788 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/Typedown/index.html +132 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/Typedown/index.js.html +89 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/constants/eventCodes.js.html +95 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/constants/index.html +117 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/contexts/SettingsContext.js.html +98 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/contexts/index.html +132 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/contexts/index.js.html +86 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/hooks/index.html +252 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/hooks/index.js.html +116 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/hooks/settingsHooks/index.html +147 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/hooks/settingsHooks/index.js.html +92 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/hooks/settingsHooks/useSettingSection.js.html +164 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/hooks/settingsHooks/useSettings.js.html +377 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/hooks/typedownHooks/index.html +162 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/hooks/typedownHooks/index.js.html +95 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/hooks/typedownHooks/useTypedown.js.html +524 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/hooks/typedownHooks/useTypedownData.js.html +164 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/hooks/typedownHooks/useTypedownToggle.js.html +164 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/hooks/useActiveElement.js.html +158 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/hooks/useHelperApp.js.html +284 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/hooks/useKiwtFieldArray.js.html +275 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/hooks/useKiwtSASQuery.js.html +179 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/hooks/useLocalStorageState.js.html +137 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/hooks/useMutateRefdataValue.js.html +302 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/hooks/useQIndex.js.html +209 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/hooks/useRefdata.js.html +287 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/hooks/useTemplates.js.html +167 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/utils/buildUrl.js.html +194 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/utils/generateKiwtQuery.js.html +110 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/utils/generateKiwtQueryParams.js.html +287 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/utils/getFocusableElements.js.html +380 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/utils/index.html +237 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/utils/index.js.html +116 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/utils/renderHelpText.js.html +167 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/utils/selectorSafe.js.html +104 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/utils/sortByLabel.js.html +131 -0
- package/artifacts/coverage-jest/lcov-report/src/lib/utils/toCamelCase.js.html +128 -0
- package/artifacts/coverage-jest/lcov.info +10040 -0
- package/es/artifacts/coverage-jest/lcov-report/block-navigation.js +109 -0
- package/es/artifacts/coverage-jest/lcov-report/prettify.js +998 -0
- package/es/artifacts/coverage-jest/lcov-report/sorter.js +238 -0
- package/es/index.js +33 -19
- package/es/lib/ActionList/ActionList.js +58 -24
- package/es/lib/ActionList/ActionListFieldArray.js +129 -84
- package/es/lib/ActionList/index.js +7 -3
- package/es/lib/EditableRefdataList/EditableRefdataList.js +52 -16
- package/es/lib/EditableRefdataList/index.js +7 -3
- package/es/lib/EditableSettingsList/EditableSettingsList.js +90 -0
- package/es/lib/{Settings → EditableSettingsList}/EditableSettingsListFieldArray.js +45 -14
- package/es/lib/EditableSettingsList/EditableSettingsListFieldArray.test.js +181 -0
- package/es/lib/{Settings → EditableSettingsList/SettingField}/EditSettingValue.js +72 -9
- package/es/lib/EditableSettingsList/SettingField/EditSettingValue.test.js +447 -0
- package/es/lib/{Settings → EditableSettingsList/SettingField}/RenderSettingValue.js +45 -7
- package/es/lib/EditableSettingsList/SettingField/RenderSettingValue.test.js +495 -0
- package/es/lib/{Settings → EditableSettingsList/SettingField}/SettingField.js +79 -36
- package/es/lib/EditableSettingsList/SettingField/SettingField.test.js +180 -0
- package/es/lib/EditableSettingsList/SettingField/index.js +35 -0
- package/es/lib/EditableSettingsList/index.js +35 -0
- package/es/lib/NoResultsMessage/NoResultsMessage.js +65 -32
- package/es/lib/NoResultsMessage/index.js +7 -3
- package/es/lib/QueryTypedown/QueryTypedown.js +47 -8
- package/es/lib/QueryTypedown/index.js +6 -2
- package/es/lib/RefdataButtons/RefdataButtons.js +143 -0
- package/es/lib/RefdataButtons/index.js +19 -0
- package/es/lib/SASQLookupComponent/SASQLookupComponent.js +187 -138
- package/es/lib/SASQLookupComponent/index.js +6 -2
- package/es/lib/SASQRoute/SASQRoute.js +55 -18
- package/es/lib/SASQRoute/index.js +6 -2
- package/es/lib/SASQViewComponent/SASQViewComponent.js +50 -11
- package/es/lib/SASQViewComponent/index.js +6 -2
- package/es/lib/SearchField/SearchField.js +48 -13
- package/es/lib/SearchField/index.js +6 -2
- package/es/lib/SettingPage/SettingPage.js +99 -0
- package/es/lib/SettingPage/SettingPagePane.js +83 -0
- package/es/lib/SettingPage/index.js +27 -0
- package/es/lib/TypeDown/TypeDown.js +142 -100
- package/es/lib/TypeDown/index.js +6 -2
- package/es/lib/Typedown/Typedown.js +139 -95
- package/es/lib/Typedown/index.js +6 -2
- package/es/lib/constants/eventCodes.js +31 -1
- package/es/lib/contexts/SettingsContext.js +41 -0
- package/es/lib/contexts/index.js +19 -0
- package/es/lib/hooks/index.js +28 -10
- package/es/lib/hooks/settingsHooks/index.js +27 -0
- package/es/lib/hooks/settingsHooks/useSettingSection.js +74 -0
- package/es/lib/{Settings → hooks/settingsHooks}/useSettings.js +70 -21
- package/es/lib/hooks/typedownHooks/index.js +8 -28
- package/es/lib/hooks/typedownHooks/useTypedown.js +129 -12
- package/es/lib/hooks/typedownHooks/useTypedownData.js +35 -2
- package/es/lib/hooks/typedownHooks/useTypedownToggle.js +39 -6
- package/es/lib/hooks/useActiveElement.js +33 -2
- package/es/lib/hooks/useHelperApp.js +41 -8
- package/es/lib/hooks/useKiwtFieldArray.js +35 -2
- package/es/lib/hooks/useKiwtSASQuery.js +40 -6
- package/es/lib/hooks/useLocalStorageState.js +36 -3
- package/es/lib/hooks/useMutateRefdataValue.js +42 -9
- package/es/lib/hooks/useQIndex.js +39 -6
- package/es/lib/hooks/useRefdata.js +40 -7
- package/es/lib/hooks/useTemplates.js +36 -3
- package/es/lib/utils/buildUrl.js +43 -10
- package/es/lib/utils/generateKiwtQuery.js +33 -4
- package/es/lib/utils/generateKiwtQueryParams.js +31 -2
- package/es/lib/utils/index.js +33 -5
- package/es/lib/utils/renderHelpText.js +109 -0
- package/es/lib/utils/selectorSafe.js +31 -2
- package/es/lib/utils/sortByLabel.js +55 -0
- package/es/lib/utils/toCamelCase.js +48 -0
- package/jest.config.js +15 -1
- package/junit.xml +79 -0
- package/package.json +17 -10
- package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionList.js.html +248 -0
- package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionListFieldArray.js.html +764 -0
- package/src/artifacts/coverage-jest/lcov-report/ActionList/index.html +147 -0
- package/src/artifacts/coverage-jest/lcov-report/ActionList/index.js.html +89 -0
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/EditableRefdataList.js.html +362 -0
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/index.html +132 -0
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/index.js.html +89 -0
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/EditableSettingsList.js.html +224 -0
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/EditableSettingsListFieldArray.js.html +212 -0
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/EditSettingValue.js.html +377 -0
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/RenderSettingValue.js.html +263 -0
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/SettingField.js.html +437 -0
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/index.html +162 -0
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/index.js.html +95 -0
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/index.html +147 -0
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/index.js.html +95 -0
- package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/NoResultsMessage.js.html +320 -0
- package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/index.html +132 -0
- package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/index.js.html +89 -0
- package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/QueryTypedown.js.html +185 -0
- package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/index.html +132 -0
- package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/index.js.html +89 -0
- package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/RefdataButtons.js.html +371 -0
- package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/index.html +132 -0
- package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/index.js.html +89 -0
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/SASQLookupComponent.js.html +932 -0
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/index.html +132 -0
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/index.js.html +89 -0
- package/src/artifacts/coverage-jest/lcov-report/SASQRoute/SASQRoute.js.html +275 -0
- package/src/artifacts/coverage-jest/lcov-report/SASQRoute/index.html +132 -0
- package/src/artifacts/coverage-jest/lcov-report/SASQRoute/index.js.html +89 -0
- package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/SASQViewComponent.js.html +251 -0
- package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/index.html +132 -0
- package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/index.js.html +89 -0
- package/src/artifacts/coverage-jest/lcov-report/SearchField/SearchField.js.html +215 -0
- package/src/artifacts/coverage-jest/lcov-report/SearchField/index.html +132 -0
- package/src/artifacts/coverage-jest/lcov-report/SearchField/index.js.html +89 -0
- package/src/artifacts/coverage-jest/lcov-report/SettingPage/SettingPage.js.html +212 -0
- package/src/artifacts/coverage-jest/lcov-report/SettingPage/SettingPagePane.js.html +179 -0
- package/src/artifacts/coverage-jest/lcov-report/SettingPage/index.html +147 -0
- package/src/artifacts/coverage-jest/lcov-report/SettingPage/index.js.html +92 -0
- package/src/artifacts/coverage-jest/lcov-report/TypeDown/TypeDown.js.html +770 -0
- package/src/artifacts/coverage-jest/lcov-report/TypeDown/index.html +132 -0
- package/src/artifacts/coverage-jest/lcov-report/TypeDown/index.js.html +89 -0
- package/src/artifacts/coverage-jest/lcov-report/Typedown/Typedown.js.html +791 -0
- package/src/artifacts/coverage-jest/lcov-report/Typedown/index.html +132 -0
- package/src/artifacts/coverage-jest/lcov-report/Typedown/index.js.html +89 -0
- package/src/artifacts/coverage-jest/lcov-report/base.css +224 -0
- package/src/artifacts/coverage-jest/lcov-report/block-navigation.js +87 -0
- package/src/artifacts/coverage-jest/lcov-report/constants/eventCodes.js.html +95 -0
- package/src/artifacts/coverage-jest/lcov-report/constants/index.html +117 -0
- package/src/artifacts/coverage-jest/lcov-report/contexts/SettingsContext.js.html +98 -0
- package/src/artifacts/coverage-jest/lcov-report/contexts/index.html +132 -0
- package/src/artifacts/coverage-jest/lcov-report/contexts/index.js.html +92 -0
- package/src/artifacts/coverage-jest/lcov-report/favicon.png +0 -0
- package/src/artifacts/coverage-jest/lcov-report/hooks/index.html +252 -0
- package/src/artifacts/coverage-jest/lcov-report/hooks/index.js.html +116 -0
- package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/index.html +147 -0
- package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/index.js.html +92 -0
- package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useSettingSection.js.html +164 -0
- package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useSettings.js.html +404 -0
- package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/index.html +162 -0
- package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/index.js.html +95 -0
- package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedown.js.html +524 -0
- package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedownData.js.html +164 -0
- package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedownToggle.js.html +164 -0
- package/src/artifacts/coverage-jest/lcov-report/hooks/useActiveElement.js.html +158 -0
- package/src/artifacts/coverage-jest/lcov-report/hooks/useHelperApp.js.html +284 -0
- package/src/artifacts/coverage-jest/lcov-report/hooks/useKiwtFieldArray.js.html +275 -0
- package/src/artifacts/coverage-jest/lcov-report/hooks/useKiwtSASQuery.js.html +179 -0
- package/src/artifacts/coverage-jest/lcov-report/hooks/useLocalStorageState.js.html +137 -0
- package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateRefdataValue.js.html +302 -0
- package/src/artifacts/coverage-jest/lcov-report/hooks/useQIndex.js.html +209 -0
- package/src/artifacts/coverage-jest/lcov-report/hooks/useRefdata.js.html +287 -0
- package/src/artifacts/coverage-jest/lcov-report/hooks/useTemplates.js.html +167 -0
- package/src/artifacts/coverage-jest/lcov-report/index.html +402 -0
- package/src/artifacts/coverage-jest/lcov-report/prettify.css +1 -0
- package/src/artifacts/coverage-jest/lcov-report/prettify.js +2 -0
- package/src/artifacts/coverage-jest/lcov-report/sort-arrow-sprite.png +0 -0
- package/src/artifacts/coverage-jest/lcov-report/sorter.js +196 -0
- package/src/artifacts/coverage-jest/lcov-report/utils/buildUrl.js.html +194 -0
- package/src/artifacts/coverage-jest/lcov-report/utils/generateKiwtQuery.js.html +110 -0
- package/src/artifacts/coverage-jest/lcov-report/utils/generateKiwtQueryParams.js.html +287 -0
- package/src/artifacts/coverage-jest/lcov-report/utils/getFocusableElements.js.html +386 -0
- package/src/artifacts/coverage-jest/lcov-report/utils/index.html +237 -0
- package/src/artifacts/coverage-jest/lcov-report/utils/index.js.html +116 -0
- package/src/artifacts/coverage-jest/lcov-report/utils/renderHelpText.js.html +167 -0
- package/src/artifacts/coverage-jest/lcov-report/utils/selectorSafe.js.html +104 -0
- package/src/artifacts/coverage-jest/lcov-report/utils/sortByLabel.js.html +131 -0
- package/src/artifacts/coverage-jest/lcov-report/utils/toCamelCase.js.html +128 -0
- package/src/artifacts/coverage-jest/lcov.info +2073 -0
- package/src/index.js +13 -6
- package/src/lib/ActionList/index.js +1 -1
- package/src/lib/EditableRefdataList/EditableRefdataList.js +1 -1
- package/src/lib/EditableRefdataList/index.js +1 -1
- package/src/lib/{Settings → EditableSettingsList}/EditableSettingsList.js +0 -0
- package/src/lib/{Settings → EditableSettingsList}/EditableSettingsListFieldArray.js +2 -2
- package/src/lib/EditableSettingsList/EditableSettingsListFieldArray.test.js +111 -0
- package/src/lib/{Settings → EditableSettingsList/SettingField}/EditSettingValue.js +24 -1
- package/src/lib/EditableSettingsList/SettingField/EditSettingValue.test.js +379 -0
- package/src/lib/{Settings → EditableSettingsList/SettingField}/RenderSettingValue.js +2 -1
- package/src/lib/EditableSettingsList/SettingField/RenderSettingValue.test.js +368 -0
- package/src/lib/{Settings → EditableSettingsList/SettingField}/SettingField.js +7 -7
- package/src/lib/EditableSettingsList/SettingField/SettingField.test.js +80 -0
- package/src/lib/EditableSettingsList/SettingField/index.js +3 -0
- package/src/lib/EditableSettingsList/index.js +3 -0
- package/src/lib/NoResultsMessage/index.js +1 -1
- package/src/lib/{Settings → RefdataButtons}/RefdataButtons.js +1 -1
- package/src/lib/RefdataButtons/index.js +1 -0
- package/src/lib/SASQLookupComponent/SASQLookupComponent.js +1 -1
- package/src/lib/{Settings → SettingPage}/SettingPage.js +5 -5
- package/src/lib/{Settings → SettingPage}/SettingPagePane.js +12 -2
- package/src/lib/SettingPage/index.js +2 -0
- package/src/lib/TypeDown/TypeDown.js +4 -2
- package/src/lib/Typedown/Typedown.js +2 -1
- package/src/lib/{Settings → contexts}/SettingsContext.js +1 -1
- package/src/lib/contexts/index.js +2 -0
- package/src/lib/hooks/index.js +1 -0
- package/src/lib/hooks/settingsHooks/index.js +2 -0
- package/src/lib/{Settings → hooks/settingsHooks}/useSettingSection.js +0 -0
- package/src/lib/{Settings → hooks/settingsHooks}/useSettings.js +14 -6
- package/src/lib/hooks/typedownHooks/index.js +0 -3
- package/src/lib/hooks/typedownHooks/useTypedown.js +93 -11
- package/src/lib/utils/index.js +5 -0
- package/src/lib/{Settings/utils → utils}/renderHelpText.js +1 -1
- package/src/lib/{Settings/utils → utils}/sortByLabel.js +1 -1
- package/src/lib/{Settings/utils → utils}/toCamelCase.js +0 -0
- package/test/helpers/index.js +1 -0
- package/test/helpers/translationsProperties.js +40 -0
- package/test/jest/helpers/KintHarness.js +36 -0
- package/test/jest/helpers/index.js +2 -0
- package/test/jest/helpers/renderWithKintHarness.js +15 -0
- package/test/jest/jest-transformer.js +4 -0
- package/test/jest/setupTests.js +1 -0
- package/translations/stripes-kint-components/en.json +1 -0
- package/yarn-error.log +15050 -0
- package/babelOptions.js +0 -30
- package/es/lib/Settings/EditableSettingsList.js +0 -57
- package/es/lib/Settings/RefdataButtons.js +0 -100
- package/es/lib/Settings/SettingPage.js +0 -64
- package/es/lib/Settings/SettingPagePane.js +0 -43
- package/es/lib/Settings/SettingsContext.js +0 -18
- package/es/lib/Settings/index.js +0 -71
- package/es/lib/Settings/useSettingSection.js +0 -41
- package/es/lib/Settings/utils/index.js +0 -31
- package/es/lib/Settings/utils/renderHelpText.js +0 -57
- package/es/lib/Settings/utils/sortByLabel.js +0 -26
- package/es/lib/Settings/utils/toCamelCase.js +0 -19
- package/es/lib/hooks/typedownHooks/useTypedownFooter.js +0 -47
- package/es/lib/hooks/typedownHooks/useTypedownList.js +0 -45
- package/es/lib/hooks/typedownHooks/useTypedownSearchField.js +0 -47
- package/es/lib/utils/getFocusableElements.js +0 -132
- package/src/lib/Settings/index.js +0 -8
- package/src/lib/Settings/utils/index.js +0 -3
- package/src/lib/hooks/typedownHooks/useTypedownFooter.js +0 -43
- package/src/lib/hooks/typedownHooks/useTypedownList.js +0 -36
- package/src/lib/hooks/typedownHooks/useTypedownSearchField.js +0 -39
- package/src/lib/utils/getFocusableElements.js +0 -99
|
@@ -5,7 +5,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
exports
|
|
8
|
+
exports.default = void 0;
|
|
9
9
|
|
|
10
10
|
var _react = _interopRequireWildcard(require("react"));
|
|
11
11
|
|
|
@@ -13,13 +13,18 @@ var _reactRouterDom = require("react-router-dom");
|
|
|
13
13
|
|
|
14
14
|
var _queryString = _interopRequireDefault(require("query-string"));
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
17
|
+
|
|
18
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
17
19
|
|
|
18
20
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
19
21
|
|
|
20
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return {
|
|
22
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
21
23
|
|
|
22
|
-
|
|
24
|
+
(function () {
|
|
25
|
+
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
26
|
+
enterModule && enterModule(module);
|
|
27
|
+
})();
|
|
23
28
|
|
|
24
29
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
25
30
|
|
|
@@ -39,11 +44,15 @@ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Sy
|
|
|
39
44
|
|
|
40
45
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
41
46
|
|
|
47
|
+
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
48
|
+
return a;
|
|
49
|
+
};
|
|
50
|
+
|
|
42
51
|
var useHelperApp = function useHelperApp(helpers) {
|
|
43
52
|
var history = (0, _reactRouterDom.useHistory)();
|
|
44
53
|
var location = (0, _reactRouterDom.useLocation)();
|
|
45
54
|
|
|
46
|
-
var query = _queryString
|
|
55
|
+
var query = _queryString.default.parse(location.search);
|
|
47
56
|
|
|
48
57
|
var _useState = (0, _react.useState)(query === null || query === void 0 ? void 0 : query.helper),
|
|
49
58
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -66,7 +75,7 @@ var useHelperApp = function useHelperApp(helpers) {
|
|
|
66
75
|
|
|
67
76
|
history.push({
|
|
68
77
|
pathname: location.pathname,
|
|
69
|
-
search: "?".concat(_queryString
|
|
78
|
+
search: "?".concat(_queryString.default.stringify(newQuery))
|
|
70
79
|
});
|
|
71
80
|
}
|
|
72
81
|
}, [currentHelper, history, location, query]); // Set the HelperComponent
|
|
@@ -77,7 +86,7 @@ var useHelperApp = function useHelperApp(helpers) {
|
|
|
77
86
|
var Component = null;
|
|
78
87
|
Component = helpers[query === null || query === void 0 ? void 0 : query.helper];
|
|
79
88
|
if (!Component) return null;
|
|
80
|
-
return /*#__PURE__*/
|
|
89
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(Component, _objectSpread({
|
|
81
90
|
onToggle: function onToggle() {
|
|
82
91
|
return handleToggleHelper(query === null || query === void 0 ? void 0 : query.helper);
|
|
83
92
|
}
|
|
@@ -98,5 +107,29 @@ var useHelperApp = function useHelperApp(helpers) {
|
|
|
98
107
|
};
|
|
99
108
|
};
|
|
100
109
|
|
|
110
|
+
__signature__(useHelperApp, "useHistory{history}\nuseLocation{location}\nuseState{[currentHelper, setCurrentHelper](query?.helper)}\nuseCallback{handleToggleHelper}\nuseEffect{}\nuseMemo{HelperComponent}", function () {
|
|
111
|
+
return [_reactRouterDom.useHistory, _reactRouterDom.useLocation];
|
|
112
|
+
});
|
|
113
|
+
|
|
101
114
|
var _default = useHelperApp;
|
|
102
|
-
|
|
115
|
+
var _default2 = _default;
|
|
116
|
+
exports.default = _default2;
|
|
117
|
+
;
|
|
118
|
+
|
|
119
|
+
(function () {
|
|
120
|
+
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
121
|
+
|
|
122
|
+
if (!reactHotLoader) {
|
|
123
|
+
return;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
reactHotLoader.register(useHelperApp, "useHelperApp", "/home/ethan/FolioModules/stripes-kint-components/src/lib/hooks/useHelperApp.js");
|
|
127
|
+
reactHotLoader.register(_default, "default", "/home/ethan/FolioModules/stripes-kint-components/src/lib/hooks/useHelperApp.js");
|
|
128
|
+
})();
|
|
129
|
+
|
|
130
|
+
;
|
|
131
|
+
|
|
132
|
+
(function () {
|
|
133
|
+
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
134
|
+
leaveModule && leaveModule(module);
|
|
135
|
+
})();
|
|
@@ -3,12 +3,17 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports
|
|
6
|
+
exports.default = void 0;
|
|
7
7
|
|
|
8
8
|
var _react = require("react");
|
|
9
9
|
|
|
10
10
|
var _reactFinalFormArrays = require("react-final-form-arrays");
|
|
11
11
|
|
|
12
|
+
(function () {
|
|
13
|
+
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
14
|
+
enterModule && enterModule(module);
|
|
15
|
+
})();
|
|
16
|
+
|
|
12
17
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
13
18
|
|
|
14
19
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
@@ -27,6 +32,10 @@ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Sy
|
|
|
27
32
|
|
|
28
33
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
29
34
|
|
|
35
|
+
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
36
|
+
return a;
|
|
37
|
+
};
|
|
38
|
+
|
|
30
39
|
var useKiwtFieldArray = function useKiwtFieldArray(name) {
|
|
31
40
|
var submitWholeDeletedObject = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
32
41
|
|
|
@@ -105,5 +114,29 @@ var useKiwtFieldArray = function useKiwtFieldArray(name) {
|
|
|
105
114
|
};
|
|
106
115
|
};
|
|
107
116
|
|
|
117
|
+
__signature__(useKiwtFieldArray, "useFieldArray{{ fields }}\nuseState{[endOfList, setEndOfList](0)}\nuseEffect{}", function () {
|
|
118
|
+
return [_reactFinalFormArrays.useFieldArray];
|
|
119
|
+
});
|
|
120
|
+
|
|
108
121
|
var _default = useKiwtFieldArray;
|
|
109
|
-
|
|
122
|
+
var _default2 = _default;
|
|
123
|
+
exports.default = _default2;
|
|
124
|
+
;
|
|
125
|
+
|
|
126
|
+
(function () {
|
|
127
|
+
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
128
|
+
|
|
129
|
+
if (!reactHotLoader) {
|
|
130
|
+
return;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
reactHotLoader.register(useKiwtFieldArray, "useKiwtFieldArray", "/home/ethan/FolioModules/stripes-kint-components/src/lib/hooks/useKiwtFieldArray.js");
|
|
134
|
+
reactHotLoader.register(_default, "default", "/home/ethan/FolioModules/stripes-kint-components/src/lib/hooks/useKiwtFieldArray.js");
|
|
135
|
+
})();
|
|
136
|
+
|
|
137
|
+
;
|
|
138
|
+
|
|
139
|
+
(function () {
|
|
140
|
+
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
141
|
+
leaveModule && leaveModule(module);
|
|
142
|
+
})();
|
|
@@ -5,7 +5,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
exports
|
|
8
|
+
exports.default = void 0;
|
|
9
9
|
|
|
10
10
|
var _react = _interopRequireWildcard(require("react"));
|
|
11
11
|
|
|
@@ -15,11 +15,16 @@ var _buildUrl = _interopRequireDefault(require("../utils/buildUrl"));
|
|
|
15
15
|
|
|
16
16
|
var _useQIndex = _interopRequireDefault(require("./useQIndex"));
|
|
17
17
|
|
|
18
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : {
|
|
18
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
19
19
|
|
|
20
20
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
21
21
|
|
|
22
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return {
|
|
22
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
23
|
+
|
|
24
|
+
(function () {
|
|
25
|
+
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
26
|
+
enterModule && enterModule(module);
|
|
27
|
+
})();
|
|
23
28
|
|
|
24
29
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
25
30
|
|
|
@@ -39,11 +44,15 @@ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Sy
|
|
|
39
44
|
|
|
40
45
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
41
46
|
|
|
47
|
+
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
48
|
+
return a;
|
|
49
|
+
};
|
|
50
|
+
|
|
42
51
|
var locationQuerySetter = function locationQuerySetter(_ref) {
|
|
43
52
|
var location = _ref.location,
|
|
44
53
|
history = _ref.history,
|
|
45
54
|
nsValues = _ref.nsValues;
|
|
46
|
-
var url = (0, _buildUrl
|
|
55
|
+
var url = (0, _buildUrl.default)(location, nsValues);
|
|
47
56
|
history.push(url);
|
|
48
57
|
};
|
|
49
58
|
|
|
@@ -60,7 +69,7 @@ var useKiwtSASQuery = function useKiwtSASQuery() {
|
|
|
60
69
|
return query;
|
|
61
70
|
};
|
|
62
71
|
|
|
63
|
-
var _useQindex = (0, _useQIndex
|
|
72
|
+
var _useQindex = (0, _useQIndex.default)(),
|
|
64
73
|
_useQindex2 = _slicedToArray(_useQindex, 1),
|
|
65
74
|
qindex = _useQindex2[0]; // Ensure we update the query along with the querySetter
|
|
66
75
|
|
|
@@ -90,5 +99,30 @@ var useKiwtSASQuery = function useKiwtSASQuery() {
|
|
|
90
99
|
};
|
|
91
100
|
};
|
|
92
101
|
|
|
102
|
+
__signature__(useKiwtSASQuery, "useHistory{history}\nuseLocation{location}\nuseState{[query, setQuery]({})}\nuseQindex{[qindex]}", function () {
|
|
103
|
+
return [_reactRouterDom.useHistory, _reactRouterDom.useLocation, _useQIndex.default];
|
|
104
|
+
});
|
|
105
|
+
|
|
93
106
|
var _default = useKiwtSASQuery;
|
|
94
|
-
|
|
107
|
+
var _default2 = _default;
|
|
108
|
+
exports.default = _default2;
|
|
109
|
+
;
|
|
110
|
+
|
|
111
|
+
(function () {
|
|
112
|
+
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
113
|
+
|
|
114
|
+
if (!reactHotLoader) {
|
|
115
|
+
return;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
reactHotLoader.register(locationQuerySetter, "locationQuerySetter", "/home/ethan/FolioModules/stripes-kint-components/src/lib/hooks/useKiwtSASQuery.js");
|
|
119
|
+
reactHotLoader.register(useKiwtSASQuery, "useKiwtSASQuery", "/home/ethan/FolioModules/stripes-kint-components/src/lib/hooks/useKiwtSASQuery.js");
|
|
120
|
+
reactHotLoader.register(_default, "default", "/home/ethan/FolioModules/stripes-kint-components/src/lib/hooks/useKiwtSASQuery.js");
|
|
121
|
+
})();
|
|
122
|
+
|
|
123
|
+
;
|
|
124
|
+
|
|
125
|
+
(function () {
|
|
126
|
+
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
127
|
+
leaveModule && leaveModule(module);
|
|
128
|
+
})();
|
|
@@ -5,7 +5,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
exports
|
|
8
|
+
exports.default = void 0;
|
|
9
9
|
|
|
10
10
|
var _react = _interopRequireWildcard(require("react"));
|
|
11
11
|
|
|
@@ -13,7 +13,12 @@ var _localStorage = require("@rehooks/local-storage");
|
|
|
13
13
|
|
|
14
14
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
15
15
|
|
|
16
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return {
|
|
16
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
17
|
+
|
|
18
|
+
(function () {
|
|
19
|
+
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
20
|
+
enterModule && enterModule(module);
|
|
21
|
+
})();
|
|
17
22
|
|
|
18
23
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
19
24
|
|
|
@@ -27,6 +32,10 @@ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Sy
|
|
|
27
32
|
|
|
28
33
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
29
34
|
|
|
35
|
+
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
36
|
+
return a;
|
|
37
|
+
};
|
|
38
|
+
|
|
30
39
|
var useLocalStorageState = function useLocalStorageState(key, defaultValue) {
|
|
31
40
|
var _useLocalStorage = (0, _localStorage.useLocalStorage)(key, defaultValue),
|
|
32
41
|
_useLocalStorage2 = _slicedToArray(_useLocalStorage, 1),
|
|
@@ -45,5 +54,29 @@ var useLocalStorageState = function useLocalStorageState(key, defaultValue) {
|
|
|
45
54
|
return [localState, setLocalStorageState];
|
|
46
55
|
};
|
|
47
56
|
|
|
57
|
+
__signature__(useLocalStorageState, "useLocalStorage{[local]}\nuseState{[localState, setLocalState](local)}", function () {
|
|
58
|
+
return [_localStorage.useLocalStorage];
|
|
59
|
+
});
|
|
60
|
+
|
|
48
61
|
var _default = useLocalStorageState;
|
|
49
|
-
|
|
62
|
+
var _default2 = _default;
|
|
63
|
+
exports.default = _default2;
|
|
64
|
+
;
|
|
65
|
+
|
|
66
|
+
(function () {
|
|
67
|
+
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
68
|
+
|
|
69
|
+
if (!reactHotLoader) {
|
|
70
|
+
return;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
reactHotLoader.register(useLocalStorageState, "useLocalStorageState", "/home/ethan/FolioModules/stripes-kint-components/src/lib/hooks/useLocalStorageState.js");
|
|
74
|
+
reactHotLoader.register(_default, "default", "/home/ethan/FolioModules/stripes-kint-components/src/lib/hooks/useLocalStorageState.js");
|
|
75
|
+
})();
|
|
76
|
+
|
|
77
|
+
;
|
|
78
|
+
|
|
79
|
+
(function () {
|
|
80
|
+
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
81
|
+
leaveModule && leaveModule(module);
|
|
82
|
+
})();
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports
|
|
6
|
+
exports.default = void 0;
|
|
7
7
|
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
|
|
@@ -11,12 +11,21 @@ var _reactQuery = require("react-query");
|
|
|
11
11
|
|
|
12
12
|
var _core = require("@folio/stripes/core");
|
|
13
13
|
|
|
14
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : {
|
|
14
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
|
+
|
|
16
|
+
(function () {
|
|
17
|
+
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
18
|
+
enterModule && enterModule(module);
|
|
19
|
+
})();
|
|
15
20
|
|
|
16
21
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
17
22
|
|
|
18
23
|
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
19
24
|
|
|
25
|
+
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
26
|
+
return a;
|
|
27
|
+
};
|
|
28
|
+
|
|
20
29
|
var useMutateRefdataValue = function useMutateRefdataValue(_ref) {
|
|
21
30
|
var afterQueryCalls = _ref.afterQueryCalls,
|
|
22
31
|
endpoint = _ref.endpoint,
|
|
@@ -25,7 +34,7 @@ var useMutateRefdataValue = function useMutateRefdataValue(_ref) {
|
|
|
25
34
|
_ref$returnQueryObjec = _ref.returnQueryObject,
|
|
26
35
|
returnQueryObject = _ref$returnQueryObjec === void 0 ? {
|
|
27
36
|
put: false,
|
|
28
|
-
|
|
37
|
+
delete: false
|
|
29
38
|
} : _ref$returnQueryObjec;
|
|
30
39
|
var returnObj = {};
|
|
31
40
|
var ky = (0, _core.useOkapiKy)();
|
|
@@ -43,7 +52,7 @@ var useMutateRefdataValue = function useMutateRefdataValue(_ref) {
|
|
|
43
52
|
_delete: true
|
|
44
53
|
}]
|
|
45
54
|
}
|
|
46
|
-
}).json().then(afterQueryCalls === null || afterQueryCalls === void 0 ? void 0 : afterQueryCalls
|
|
55
|
+
}).json().then(afterQueryCalls === null || afterQueryCalls === void 0 ? void 0 : afterQueryCalls.delete));
|
|
47
56
|
|
|
48
57
|
case 1:
|
|
49
58
|
case "end":
|
|
@@ -56,7 +65,7 @@ var useMutateRefdataValue = function useMutateRefdataValue(_ref) {
|
|
|
56
65
|
return function (_x) {
|
|
57
66
|
return _ref2.apply(this, arguments);
|
|
58
67
|
};
|
|
59
|
-
}(), queryParams === null || queryParams === void 0 ? void 0 : queryParams
|
|
68
|
+
}(), queryParams === null || queryParams === void 0 ? void 0 : queryParams.delete);
|
|
60
69
|
var putQueryObject = (0, _reactQuery.useMutation)(['stripes-kint-components', 'editableRefdataList', 'editValue', id], /*#__PURE__*/function () {
|
|
61
70
|
var _ref3 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(data) {
|
|
62
71
|
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
@@ -83,10 +92,10 @@ var useMutateRefdataValue = function useMutateRefdataValue(_ref) {
|
|
|
83
92
|
};
|
|
84
93
|
}(), queryParams === null || queryParams === void 0 ? void 0 : queryParams.put);
|
|
85
94
|
|
|
86
|
-
if (returnQueryObject !== null && returnQueryObject !== void 0 && returnQueryObject
|
|
87
|
-
returnObj
|
|
95
|
+
if (returnQueryObject !== null && returnQueryObject !== void 0 && returnQueryObject.delete) {
|
|
96
|
+
returnObj.delete = deleteQueryObject;
|
|
88
97
|
} else {
|
|
89
|
-
returnObj
|
|
98
|
+
returnObj.delete = deleteQueryObject.mutateAsync;
|
|
90
99
|
}
|
|
91
100
|
|
|
92
101
|
if (returnQueryObject !== null && returnQueryObject !== void 0 && returnQueryObject.put) {
|
|
@@ -98,5 +107,29 @@ var useMutateRefdataValue = function useMutateRefdataValue(_ref) {
|
|
|
98
107
|
return returnObj;
|
|
99
108
|
};
|
|
100
109
|
|
|
110
|
+
__signature__(useMutateRefdataValue, "useOkapiKy{ky}\nuseMutation{deleteQueryObject}\nuseMutation{putQueryObject}", function () {
|
|
111
|
+
return [_core.useOkapiKy, _reactQuery.useMutation, _reactQuery.useMutation];
|
|
112
|
+
});
|
|
113
|
+
|
|
101
114
|
var _default = useMutateRefdataValue;
|
|
102
|
-
|
|
115
|
+
var _default2 = _default;
|
|
116
|
+
exports.default = _default2;
|
|
117
|
+
;
|
|
118
|
+
|
|
119
|
+
(function () {
|
|
120
|
+
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
121
|
+
|
|
122
|
+
if (!reactHotLoader) {
|
|
123
|
+
return;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
reactHotLoader.register(useMutateRefdataValue, "useMutateRefdataValue", "/home/ethan/FolioModules/stripes-kint-components/src/lib/hooks/useMutateRefdataValue.js");
|
|
127
|
+
reactHotLoader.register(_default, "default", "/home/ethan/FolioModules/stripes-kint-components/src/lib/hooks/useMutateRefdataValue.js");
|
|
128
|
+
})();
|
|
129
|
+
|
|
130
|
+
;
|
|
131
|
+
|
|
132
|
+
(function () {
|
|
133
|
+
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
134
|
+
leaveModule && leaveModule(module);
|
|
135
|
+
})();
|
|
@@ -5,7 +5,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
exports
|
|
8
|
+
exports.default = void 0;
|
|
9
9
|
|
|
10
10
|
var _react = _interopRequireWildcard(require("react"));
|
|
11
11
|
|
|
@@ -13,11 +13,16 @@ var _reactRouterDom = require("react-router-dom");
|
|
|
13
13
|
|
|
14
14
|
var _queryString = _interopRequireDefault(require("query-string"));
|
|
15
15
|
|
|
16
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : {
|
|
16
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
17
17
|
|
|
18
18
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
19
19
|
|
|
20
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return {
|
|
20
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
21
|
+
|
|
22
|
+
(function () {
|
|
23
|
+
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
24
|
+
enterModule && enterModule(module);
|
|
25
|
+
})();
|
|
21
26
|
|
|
22
27
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
23
28
|
|
|
@@ -37,11 +42,15 @@ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Sy
|
|
|
37
42
|
|
|
38
43
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
39
44
|
|
|
45
|
+
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
46
|
+
return a;
|
|
47
|
+
};
|
|
48
|
+
|
|
40
49
|
var useQIndex = function useQIndex() {
|
|
41
50
|
var history = (0, _reactRouterDom.useHistory)();
|
|
42
51
|
var location = (0, _reactRouterDom.useLocation)();
|
|
43
52
|
|
|
44
|
-
var query = _queryString
|
|
53
|
+
var query = _queryString.default.parse(location.search);
|
|
45
54
|
|
|
46
55
|
var _useState = (0, _react.useState)(query === null || query === void 0 ? void 0 : query.qindex),
|
|
47
56
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -58,7 +67,7 @@ var useQIndex = function useQIndex() {
|
|
|
58
67
|
|
|
59
68
|
history.push({
|
|
60
69
|
pathname: location.pathname,
|
|
61
|
-
search: "?".concat(_queryString
|
|
70
|
+
search: "?".concat(_queryString.default.stringify(newQuery))
|
|
62
71
|
});
|
|
63
72
|
}
|
|
64
73
|
};
|
|
@@ -71,5 +80,29 @@ var useQIndex = function useQIndex() {
|
|
|
71
80
|
return [currentQindex, handleQindexChange];
|
|
72
81
|
};
|
|
73
82
|
|
|
83
|
+
__signature__(useQIndex, "useHistory{history}\nuseLocation{location}\nuseState{[currentQindex, setCurrentQindex](query?.qindex)}\nuseEffect{}", function () {
|
|
84
|
+
return [_reactRouterDom.useHistory, _reactRouterDom.useLocation];
|
|
85
|
+
});
|
|
86
|
+
|
|
74
87
|
var _default = useQIndex;
|
|
75
|
-
|
|
88
|
+
var _default2 = _default;
|
|
89
|
+
exports.default = _default2;
|
|
90
|
+
;
|
|
91
|
+
|
|
92
|
+
(function () {
|
|
93
|
+
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
94
|
+
|
|
95
|
+
if (!reactHotLoader) {
|
|
96
|
+
return;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
reactHotLoader.register(useQIndex, "useQIndex", "/home/ethan/FolioModules/stripes-kint-components/src/lib/hooks/useQIndex.js");
|
|
100
|
+
reactHotLoader.register(_default, "default", "/home/ethan/FolioModules/stripes-kint-components/src/lib/hooks/useQIndex.js");
|
|
101
|
+
})();
|
|
102
|
+
|
|
103
|
+
;
|
|
104
|
+
|
|
105
|
+
(function () {
|
|
106
|
+
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
107
|
+
leaveModule && leaveModule(module);
|
|
108
|
+
})();
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports
|
|
6
|
+
exports.default = void 0;
|
|
7
7
|
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
|
|
@@ -15,7 +15,16 @@ var _core = require("@folio/stripes/core");
|
|
|
15
15
|
|
|
16
16
|
var _utils = require("../utils");
|
|
17
17
|
|
|
18
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : {
|
|
18
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
19
|
+
|
|
20
|
+
(function () {
|
|
21
|
+
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
22
|
+
enterModule && enterModule(module);
|
|
23
|
+
})();
|
|
24
|
+
|
|
25
|
+
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
26
|
+
return a;
|
|
27
|
+
};
|
|
19
28
|
|
|
20
29
|
var useRefdata = function useRefdata(_ref) {
|
|
21
30
|
var endpoint = _ref.endpoint,
|
|
@@ -63,11 +72,35 @@ var useRefdata = function useRefdata(_ref) {
|
|
|
63
72
|
return refdata || [];
|
|
64
73
|
};
|
|
65
74
|
|
|
75
|
+
__signature__(useRefdata, "useOkapiKy{ky}\nuseQuery{queryObject}", function () {
|
|
76
|
+
return [_core.useOkapiKy, _reactQuery.useQuery];
|
|
77
|
+
});
|
|
78
|
+
|
|
66
79
|
useRefdata.propTypes = {
|
|
67
|
-
endpoint: _propTypes
|
|
68
|
-
desc: _propTypes
|
|
69
|
-
queryParams: _propTypes
|
|
70
|
-
returnQueryObject: _propTypes
|
|
80
|
+
endpoint: _propTypes.default.string,
|
|
81
|
+
desc: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.arrayOf(_propTypes.default.string)]),
|
|
82
|
+
queryParams: _propTypes.default.object,
|
|
83
|
+
returnQueryObject: _propTypes.default.bool
|
|
71
84
|
};
|
|
72
85
|
var _default = useRefdata;
|
|
73
|
-
|
|
86
|
+
var _default2 = _default;
|
|
87
|
+
exports.default = _default2;
|
|
88
|
+
;
|
|
89
|
+
|
|
90
|
+
(function () {
|
|
91
|
+
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
92
|
+
|
|
93
|
+
if (!reactHotLoader) {
|
|
94
|
+
return;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
reactHotLoader.register(useRefdata, "useRefdata", "/home/ethan/FolioModules/stripes-kint-components/src/lib/hooks/useRefdata.js");
|
|
98
|
+
reactHotLoader.register(_default, "default", "/home/ethan/FolioModules/stripes-kint-components/src/lib/hooks/useRefdata.js");
|
|
99
|
+
})();
|
|
100
|
+
|
|
101
|
+
;
|
|
102
|
+
|
|
103
|
+
(function () {
|
|
104
|
+
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
105
|
+
leaveModule && leaveModule(module);
|
|
106
|
+
})();
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports
|
|
6
|
+
exports.default = void 0;
|
|
7
7
|
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
|
|
@@ -11,7 +11,16 @@ var _reactQuery = require("react-query");
|
|
|
11
11
|
|
|
12
12
|
var _core = require("@folio/stripes/core");
|
|
13
13
|
|
|
14
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : {
|
|
14
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
|
+
|
|
16
|
+
(function () {
|
|
17
|
+
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
18
|
+
enterModule && enterModule(module);
|
|
19
|
+
})();
|
|
20
|
+
|
|
21
|
+
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
22
|
+
return a;
|
|
23
|
+
};
|
|
15
24
|
|
|
16
25
|
var useTemplates = function useTemplates(_ref) {
|
|
17
26
|
var context = _ref.context,
|
|
@@ -40,5 +49,29 @@ var useTemplates = function useTemplates(_ref) {
|
|
|
40
49
|
return templates || [];
|
|
41
50
|
};
|
|
42
51
|
|
|
52
|
+
__signature__(useTemplates, "useOkapiKy{ky}\nuseQuery{{ data: templates }}", function () {
|
|
53
|
+
return [_core.useOkapiKy, _reactQuery.useQuery];
|
|
54
|
+
});
|
|
55
|
+
|
|
43
56
|
var _default = useTemplates;
|
|
44
|
-
|
|
57
|
+
var _default2 = _default;
|
|
58
|
+
exports.default = _default2;
|
|
59
|
+
;
|
|
60
|
+
|
|
61
|
+
(function () {
|
|
62
|
+
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
63
|
+
|
|
64
|
+
if (!reactHotLoader) {
|
|
65
|
+
return;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
reactHotLoader.register(useTemplates, "useTemplates", "/home/ethan/FolioModules/stripes-kint-components/src/lib/hooks/useTemplates.js");
|
|
69
|
+
reactHotLoader.register(_default, "default", "/home/ethan/FolioModules/stripes-kint-components/src/lib/hooks/useTemplates.js");
|
|
70
|
+
})();
|
|
71
|
+
|
|
72
|
+
;
|
|
73
|
+
|
|
74
|
+
(function () {
|
|
75
|
+
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
76
|
+
leaveModule && leaveModule(module);
|
|
77
|
+
})();
|