@k-int/stripes-kint-components 2.3.2 → 2.3.3
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 +5 -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 +5 -1
- package/es/lib/ActionList/ActionList.js +31 -1
- package/es/lib/ActionList/ActionListFieldArray.js +38 -1
- package/es/lib/ActionList/index.js +5 -1
- package/es/lib/CustomProperties/Config/CustomPropertiesLookup.js +35 -1
- package/es/lib/CustomProperties/Config/CustomPropertiesSettings.js +46 -7
- package/es/lib/CustomProperties/Config/CustomPropertyForm.js +34 -1
- package/es/lib/CustomProperties/Config/CustomPropertyView.js +30 -1
- package/es/lib/CustomProperties/Config/index.js +5 -1
- package/es/lib/CustomProperties/Edit/CustomPropertiesEdit.js +30 -1
- package/es/lib/CustomProperties/Edit/CustomPropertiesEditCtx.js +34 -1
- package/es/lib/CustomProperties/Edit/CustomPropertiesListField.js +37 -1
- package/es/lib/CustomProperties/Edit/CustomPropertyField.js +34 -1
- package/es/lib/CustomProperties/Edit/CustomPropertyFormCard.js +30 -1
- package/es/lib/CustomProperties/Edit/index.js +5 -1
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilter.js +34 -1
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterField.js +34 -1
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterFieldArray.js +34 -1
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterForm.js +30 -1
- package/es/lib/CustomProperties/Filter/CustomPropertiesRule.js +35 -1
- package/es/lib/CustomProperties/Filter/index.js +5 -1
- package/es/lib/CustomProperties/Filter/useOperators.js +39 -1
- package/es/lib/CustomProperties/Filter/useParseActiveFilterStrings.js +34 -1
- package/es/lib/CustomProperties/Filter/useValueProps.js +35 -1
- package/es/lib/CustomProperties/View/CustomPropertiesView.js +30 -1
- package/es/lib/CustomProperties/View/CustomPropertiesViewCtx.js +56 -16
- package/es/lib/CustomProperties/View/CustomPropertyCard.js +33 -3
- package/es/lib/CustomProperties/View/index.js +5 -1
- package/es/lib/CustomProperties/index.js +5 -1
- package/es/lib/EditableRefdataList/EditableRefdataList.js +35 -1
- package/es/lib/EditableRefdataList/index.js +5 -1
- package/es/lib/EditableSettingsList/EditableSettingsList.js +30 -1
- package/es/lib/EditableSettingsList/EditableSettingsListFieldArray.js +30 -1
- package/es/lib/EditableSettingsList/EditableSettingsListFieldArray.test.js +30 -1
- package/es/lib/EditableSettingsList/SettingField/EditSettingValue.js +34 -1
- package/es/lib/EditableSettingsList/SettingField/EditSettingValue.test.js +34 -1
- package/es/lib/EditableSettingsList/SettingField/RenderSettingValue.js +34 -1
- package/es/lib/EditableSettingsList/SettingField/RenderSettingValue.test.js +41 -1
- package/es/lib/EditableSettingsList/SettingField/SettingField.js +34 -1
- package/es/lib/EditableSettingsList/SettingField/SettingField.test.js +30 -1
- package/es/lib/EditableSettingsList/SettingField/index.js +5 -1
- package/es/lib/EditableSettingsList/index.js +5 -1
- package/es/lib/FormModal/FormModal.js +30 -1
- package/es/lib/FormModal/index.js +5 -1
- package/es/lib/NoResultsMessage/NoResultsMessage.js +30 -1
- package/es/lib/NoResultsMessage/index.js +5 -1
- package/es/lib/QueryTypedown/QueryTypedown.js +34 -1
- package/es/lib/QueryTypedown/index.js +5 -1
- package/es/lib/RefdataButtons/RefdataButtons.js +34 -1
- package/es/lib/RefdataButtons/index.js +5 -1
- package/es/lib/SASQLookupComponent/SASQLookupComponent.js +34 -1
- package/es/lib/SASQLookupComponent/index.js +5 -1
- package/es/lib/SASQRoute/SASQRoute.js +30 -1
- package/es/lib/SASQRoute/index.js +5 -1
- package/es/lib/SASQViewComponent/SASQViewComponent.js +34 -1
- package/es/lib/SASQViewComponent/index.js +5 -1
- package/es/lib/SearchField/SearchField.js +31 -1
- package/es/lib/SearchField/index.js +5 -1
- package/es/lib/SettingPage/SettingPage.js +34 -1
- package/es/lib/SettingPage/SettingPagePane.js +32 -1
- package/es/lib/SettingPage/index.js +5 -1
- package/es/lib/Typedown/Typedown.js +34 -1
- package/es/lib/Typedown/index.js +5 -1
- package/es/lib/constants/customProperties.js +38 -1
- package/es/lib/constants/eventCodes.js +31 -1
- package/es/lib/contexts/SettingsContext.js +30 -1
- package/es/lib/contexts/index.js +5 -1
- package/es/lib/hooks/index.js +5 -1
- package/es/lib/hooks/settingsHooks/index.js +5 -1
- package/es/lib/hooks/settingsHooks/useSettingSection.js +34 -1
- package/es/lib/hooks/settingsHooks/useSettings.js +36 -1
- package/es/lib/hooks/typedownHooks/index.js +5 -1
- package/es/lib/hooks/typedownHooks/useTypedown.js +34 -1
- package/es/lib/hooks/typedownHooks/useTypedownData.js +34 -1
- package/es/lib/hooks/typedownHooks/useTypedownToggle.js +34 -1
- package/es/lib/hooks/useActiveElement.js +32 -1
- package/es/lib/hooks/useAvailableCustomProperties.js +34 -1
- package/es/lib/hooks/useCustomProperties.js +34 -1
- package/es/lib/hooks/useHelperApp.js +34 -1
- package/es/lib/hooks/useInvalidateRefdata.js +34 -1
- package/es/lib/hooks/useKiwtFieldArray.js +34 -1
- package/es/lib/hooks/useKiwtSASQuery.js +35 -1
- package/es/lib/hooks/useLocalStorageState.js +34 -1
- package/es/lib/hooks/useMutateCustomProperties.js +34 -1
- package/es/lib/hooks/useMutateRefdataValue.js +34 -1
- package/es/lib/hooks/useQIndex.js +34 -1
- package/es/lib/hooks/useRefdata.js +34 -1
- package/es/lib/hooks/useTemplates.js +34 -1
- package/es/lib/utils/buildUrl.js +31 -2
- package/es/lib/utils/generateKiwtQuery.js +30 -1
- package/es/lib/utils/generateKiwtQueryParams.js +30 -1
- package/es/lib/utils/groupCustomPropertiesByCtx.js +30 -1
- package/es/lib/utils/index.js +5 -1
- package/es/lib/utils/refdataOptions.js +30 -1
- package/es/lib/utils/refdataQueryKey.js +30 -1
- package/es/lib/utils/renderHelpText.js +30 -1
- package/es/lib/utils/selectorSafe.js +30 -1
- package/es/lib/utils/sortByLabel.js +30 -1
- package/es/lib/utils/toCamelCase.js +30 -1
- package/es/lib/utils/typedownQueryKey.js +30 -1
- package/es/lib/utils/validators.js +32 -1
- package/junit.xml +79 -0
- package/package.json +1 -1
- package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionList.js.html +286 -0
- package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionListFieldArray.js.html +925 -0
- package/src/artifacts/coverage-jest/lcov-report/ActionList/index.html +146 -0
- package/src/artifacts/coverage-jest/lcov-report/ActionList/index.js.html +88 -0
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertiesLookup.js.html +418 -0
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertiesSettings.js.html +808 -0
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertiesView.js.html +601 -0
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertyForm.js.html +1135 -0
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/index.html +176 -0
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/index.js.html +97 -0
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/EditableRefdataList.js.html +373 -0
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/index.html +131 -0
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/index.js.html +88 -0
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/EditableSettingsList.js.html +223 -0
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/EditableSettingsListFieldArray.js.html +211 -0
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/EditSettingValue.js.html +376 -0
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/RenderSettingValue.js.html +262 -0
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/SettingField.js.html +436 -0
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/index.html +161 -0
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/index.js.html +94 -0
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/index.html +146 -0
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/index.js.html +94 -0
- package/src/artifacts/coverage-jest/lcov-report/FormModal/FormModal.js.html +283 -0
- package/src/artifacts/coverage-jest/lcov-report/FormModal/index.html +131 -0
- package/src/artifacts/coverage-jest/lcov-report/FormModal/index.js.html +88 -0
- package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/NoResultsMessage.js.html +319 -0
- package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/index.html +131 -0
- package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/index.js.html +88 -0
- package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/QueryTypedown.js.html +184 -0
- package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/index.html +131 -0
- package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/index.js.html +88 -0
- package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/RefdataButtons.js.html +370 -0
- package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/index.html +131 -0
- package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/index.js.html +88 -0
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/SASQLookupComponent.js.html +949 -0
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/index.html +131 -0
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/index.js.html +88 -0
- package/src/artifacts/coverage-jest/lcov-report/SASQRoute/SASQRoute.js.html +301 -0
- package/src/artifacts/coverage-jest/lcov-report/SASQRoute/index.html +131 -0
- package/src/artifacts/coverage-jest/lcov-report/SASQRoute/index.js.html +88 -0
- package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/SASQViewComponent.js.html +253 -0
- package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/index.html +131 -0
- package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/index.js.html +88 -0
- package/src/artifacts/coverage-jest/lcov-report/SearchField/SearchField.js.html +214 -0
- package/src/artifacts/coverage-jest/lcov-report/SearchField/index.html +131 -0
- package/src/artifacts/coverage-jest/lcov-report/SearchField/index.js.html +88 -0
- package/src/artifacts/coverage-jest/lcov-report/SettingPage/SettingPage.js.html +211 -0
- package/src/artifacts/coverage-jest/lcov-report/SettingPage/SettingPagePane.js.html +178 -0
- package/src/artifacts/coverage-jest/lcov-report/SettingPage/index.html +146 -0
- package/src/artifacts/coverage-jest/lcov-report/SettingPage/index.js.html +91 -0
- package/src/artifacts/coverage-jest/lcov-report/Typedown/Typedown.js.html +919 -0
- package/src/artifacts/coverage-jest/lcov-report/Typedown/index.html +131 -0
- package/src/artifacts/coverage-jest/lcov-report/Typedown/index.js.html +88 -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/customProperties.js.html +112 -0
- package/src/artifacts/coverage-jest/lcov-report/constants/eventCodes.js.html +94 -0
- package/src/artifacts/coverage-jest/lcov-report/constants/index.html +131 -0
- package/src/artifacts/coverage-jest/lcov-report/contexts/SettingsContext.js.html +97 -0
- package/src/artifacts/coverage-jest/lcov-report/contexts/index.html +131 -0
- package/src/artifacts/coverage-jest/lcov-report/contexts/index.js.html +91 -0
- package/src/artifacts/coverage-jest/lcov-report/favicon.png +0 -0
- package/src/artifacts/coverage-jest/lcov-report/hooks/index.html +281 -0
- package/src/artifacts/coverage-jest/lcov-report/hooks/index.js.html +121 -0
- package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/index.html +146 -0
- package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/index.js.html +91 -0
- package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useSettingSection.js.html +163 -0
- package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useSettings.js.html +403 -0
- package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/index.html +161 -0
- package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/index.js.html +94 -0
- package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedown.js.html +520 -0
- package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedownData.js.html +163 -0
- package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedownToggle.js.html +163 -0
- package/src/artifacts/coverage-jest/lcov-report/hooks/useActiveElement.js.html +157 -0
- package/src/artifacts/coverage-jest/lcov-report/hooks/useCustomProperties.js.html +313 -0
- package/src/artifacts/coverage-jest/lcov-report/hooks/useHelperApp.js.html +283 -0
- package/src/artifacts/coverage-jest/lcov-report/hooks/useKiwtFieldArray.js.html +274 -0
- package/src/artifacts/coverage-jest/lcov-report/hooks/useKiwtSASQuery.js.html +178 -0
- package/src/artifacts/coverage-jest/lcov-report/hooks/useLocalStorageState.js.html +136 -0
- package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateCustomProperties.js.html +271 -0
- package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateRefdataValue.js.html +301 -0
- package/src/artifacts/coverage-jest/lcov-report/hooks/useQIndex.js.html +208 -0
- package/src/artifacts/coverage-jest/lcov-report/hooks/useRefdata.js.html +268 -0
- package/src/artifacts/coverage-jest/lcov-report/hooks/useTemplates.js.html +166 -0
- package/src/artifacts/coverage-jest/lcov-report/index.html +416 -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 +193 -0
- package/src/artifacts/coverage-jest/lcov-report/utils/generateKiwtQuery.js.html +109 -0
- package/src/artifacts/coverage-jest/lcov-report/utils/generateKiwtQueryParams.js.html +454 -0
- package/src/artifacts/coverage-jest/lcov-report/utils/index.html +251 -0
- package/src/artifacts/coverage-jest/lcov-report/utils/index.js.html +121 -0
- package/src/artifacts/coverage-jest/lcov-report/utils/refdataOptions.js.html +106 -0
- package/src/artifacts/coverage-jest/lcov-report/utils/renderHelpText.js.html +166 -0
- package/src/artifacts/coverage-jest/lcov-report/utils/selectorSafe.js.html +103 -0
- package/src/artifacts/coverage-jest/lcov-report/utils/sortByLabel.js.html +130 -0
- package/src/artifacts/coverage-jest/lcov-report/utils/toCamelCase.js.html +127 -0
- package/src/artifacts/coverage-jest/lcov-report/utils/validators.js.html +202 -0
- package/src/artifacts/coverage-jest/lcov.info +2562 -0
- package/src/lib/CustomProperties/Config/CustomPropertiesSettings.js +9 -6
- package/src/lib/CustomProperties/View/CustomPropertiesViewCtx.js +13 -8
- package/src/lib/CustomProperties/View/CustomPropertyCard.js +2 -2
|
@@ -13,6 +13,11 @@ var _core = require("@folio/stripes/core");
|
|
|
13
13
|
|
|
14
14
|
var _utils = require("../../utils");
|
|
15
15
|
|
|
16
|
+
(function () {
|
|
17
|
+
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
18
|
+
enterModule && enterModule(module);
|
|
19
|
+
})();
|
|
20
|
+
|
|
16
21
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
17
22
|
|
|
18
23
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
@@ -25,6 +30,10 @@ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Sy
|
|
|
25
30
|
|
|
26
31
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
27
32
|
|
|
33
|
+
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
34
|
+
return a;
|
|
35
|
+
};
|
|
36
|
+
|
|
28
37
|
var useTypedownData = function useTypedownData(path, callPath) {
|
|
29
38
|
var ky = (0, _core.useOkapiKy)();
|
|
30
39
|
var queryKey = (0, _utils.typedownQueryKey)(path);
|
|
@@ -54,5 +63,29 @@ var useTypedownData = function useTypedownData(path, callPath) {
|
|
|
54
63
|
return contentData;
|
|
55
64
|
};
|
|
56
65
|
|
|
66
|
+
__signature__(useTypedownData, "useOkapiKy{ky}\nuseQuery{{ data, isLoading }}\nuseState{[contentData, setContentData]}\nuseEffect{}", function () {
|
|
67
|
+
return [_core.useOkapiKy, _reactQuery.useQuery];
|
|
68
|
+
});
|
|
69
|
+
|
|
57
70
|
var _default = useTypedownData;
|
|
58
|
-
|
|
71
|
+
var _default2 = _default;
|
|
72
|
+
exports.default = _default2;
|
|
73
|
+
;
|
|
74
|
+
|
|
75
|
+
(function () {
|
|
76
|
+
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
77
|
+
|
|
78
|
+
if (!reactHotLoader) {
|
|
79
|
+
return;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
reactHotLoader.register(useTypedownData, "useTypedownData", "/home/ethan/FolioModules/stripes-kint-components/src/lib/hooks/typedownHooks/useTypedownData.js");
|
|
83
|
+
reactHotLoader.register(_default, "default", "/home/ethan/FolioModules/stripes-kint-components/src/lib/hooks/typedownHooks/useTypedownData.js");
|
|
84
|
+
})();
|
|
85
|
+
|
|
86
|
+
;
|
|
87
|
+
|
|
88
|
+
(function () {
|
|
89
|
+
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
90
|
+
leaveModule && leaveModule(module);
|
|
91
|
+
})();
|
|
@@ -13,6 +13,11 @@ var _selectorSafe = _interopRequireDefault(require("../../utils/selectorSafe"));
|
|
|
13
13
|
|
|
14
14
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
15
|
|
|
16
|
+
(function () {
|
|
17
|
+
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
18
|
+
enterModule && enterModule(module);
|
|
19
|
+
})();
|
|
20
|
+
|
|
16
21
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
17
22
|
|
|
18
23
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
@@ -25,6 +30,10 @@ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Sy
|
|
|
25
30
|
|
|
26
31
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
27
32
|
|
|
33
|
+
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
34
|
+
return a;
|
|
35
|
+
};
|
|
36
|
+
|
|
28
37
|
var useTypedownToggle = function useTypedownToggle(name) {
|
|
29
38
|
var _useState = (0, _react.useState)(false),
|
|
30
39
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -52,5 +61,29 @@ var useTypedownToggle = function useTypedownToggle(name) {
|
|
|
52
61
|
};
|
|
53
62
|
};
|
|
54
63
|
|
|
64
|
+
__signature__(useTypedownToggle, "useState{[open, setOpen](false)}\nuseCallback{onToggle}\nuseActiveElement{{ hasParent }}\nuseEffect{}", function () {
|
|
65
|
+
return [_useActiveElement2.default];
|
|
66
|
+
});
|
|
67
|
+
|
|
55
68
|
var _default = useTypedownToggle;
|
|
56
|
-
|
|
69
|
+
var _default2 = _default;
|
|
70
|
+
exports.default = _default2;
|
|
71
|
+
;
|
|
72
|
+
|
|
73
|
+
(function () {
|
|
74
|
+
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
75
|
+
|
|
76
|
+
if (!reactHotLoader) {
|
|
77
|
+
return;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
reactHotLoader.register(useTypedownToggle, "useTypedownToggle", "/home/ethan/FolioModules/stripes-kint-components/src/lib/hooks/typedownHooks/useTypedownToggle.js");
|
|
81
|
+
reactHotLoader.register(_default, "default", "/home/ethan/FolioModules/stripes-kint-components/src/lib/hooks/typedownHooks/useTypedownToggle.js");
|
|
82
|
+
})();
|
|
83
|
+
|
|
84
|
+
;
|
|
85
|
+
|
|
86
|
+
(function () {
|
|
87
|
+
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
88
|
+
leaveModule && leaveModule(module);
|
|
89
|
+
})();
|
|
@@ -7,6 +7,11 @@ exports.default = void 0;
|
|
|
7
7
|
|
|
8
8
|
var _react = require("react");
|
|
9
9
|
|
|
10
|
+
(function () {
|
|
11
|
+
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
12
|
+
enterModule && enterModule(module);
|
|
13
|
+
})();
|
|
14
|
+
|
|
10
15
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
11
16
|
|
|
12
17
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
@@ -19,6 +24,10 @@ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Sy
|
|
|
19
24
|
|
|
20
25
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
21
26
|
|
|
27
|
+
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
28
|
+
return a;
|
|
29
|
+
};
|
|
30
|
+
|
|
22
31
|
var useActiveElement = function useActiveElement() {
|
|
23
32
|
var _useState = (0, _react.useState)(document.activeElement),
|
|
24
33
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -45,5 +54,27 @@ var useActiveElement = function useActiveElement() {
|
|
|
45
54
|
};
|
|
46
55
|
};
|
|
47
56
|
|
|
57
|
+
__signature__(useActiveElement, "useState{[active, setActive](document.activeElement)}\nuseEffect{}");
|
|
58
|
+
|
|
48
59
|
var _default = useActiveElement;
|
|
49
|
-
|
|
60
|
+
var _default2 = _default;
|
|
61
|
+
exports.default = _default2;
|
|
62
|
+
;
|
|
63
|
+
|
|
64
|
+
(function () {
|
|
65
|
+
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
66
|
+
|
|
67
|
+
if (!reactHotLoader) {
|
|
68
|
+
return;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
reactHotLoader.register(useActiveElement, "useActiveElement", "/home/ethan/FolioModules/stripes-kint-components/src/lib/hooks/useActiveElement.js");
|
|
72
|
+
reactHotLoader.register(_default, "default", "/home/ethan/FolioModules/stripes-kint-components/src/lib/hooks/useActiveElement.js");
|
|
73
|
+
})();
|
|
74
|
+
|
|
75
|
+
;
|
|
76
|
+
|
|
77
|
+
(function () {
|
|
78
|
+
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
79
|
+
leaveModule && leaveModule(module);
|
|
80
|
+
})();
|
|
@@ -9,6 +9,11 @@ var _react = require("react");
|
|
|
9
9
|
|
|
10
10
|
var _reactIntl = require("react-intl");
|
|
11
11
|
|
|
12
|
+
(function () {
|
|
13
|
+
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
14
|
+
enterModule && enterModule(module);
|
|
15
|
+
})();
|
|
16
|
+
|
|
12
17
|
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
13
18
|
|
|
14
19
|
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
@@ -29,6 +34,10 @@ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Sy
|
|
|
29
34
|
|
|
30
35
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
31
36
|
|
|
37
|
+
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
38
|
+
return a;
|
|
39
|
+
};
|
|
40
|
+
|
|
32
41
|
var useAvailableCustomProperties = function useAvailableCustomProperties() {
|
|
33
42
|
var customProperties = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
34
43
|
var intl = (0, _reactIntl.useIntl)();
|
|
@@ -69,5 +78,29 @@ var useAvailableCustomProperties = function useAvailableCustomProperties() {
|
|
|
69
78
|
return custProps;
|
|
70
79
|
};
|
|
71
80
|
|
|
81
|
+
__signature__(useAvailableCustomProperties, "useIntl{intl}\nuseState{[custProps, setCustProps]([])}\nuseEffect{}", function () {
|
|
82
|
+
return [_reactIntl.useIntl];
|
|
83
|
+
});
|
|
84
|
+
|
|
72
85
|
var _default = useAvailableCustomProperties;
|
|
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(useAvailableCustomProperties, "useAvailableCustomProperties", "/home/ethan/FolioModules/stripes-kint-components/src/lib/hooks/useAvailableCustomProperties.js");
|
|
98
|
+
reactHotLoader.register(_default, "default", "/home/ethan/FolioModules/stripes-kint-components/src/lib/hooks/useAvailableCustomProperties.js");
|
|
99
|
+
})();
|
|
100
|
+
|
|
101
|
+
;
|
|
102
|
+
|
|
103
|
+
(function () {
|
|
104
|
+
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
105
|
+
leaveModule && leaveModule(module);
|
|
106
|
+
})();
|
|
@@ -15,12 +15,21 @@ var _utils = require("../utils");
|
|
|
15
15
|
|
|
16
16
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
17
17
|
|
|
18
|
+
(function () {
|
|
19
|
+
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
20
|
+
enterModule && enterModule(module);
|
|
21
|
+
})();
|
|
22
|
+
|
|
18
23
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
19
24
|
|
|
20
25
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
21
26
|
|
|
22
27
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
23
28
|
|
|
29
|
+
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
30
|
+
return a;
|
|
31
|
+
};
|
|
32
|
+
|
|
24
33
|
var useCustomProperties = function useCustomProperties(_ref) {
|
|
25
34
|
var endpoint = _ref.endpoint,
|
|
26
35
|
ctx = _ref.ctx,
|
|
@@ -79,6 +88,10 @@ var useCustomProperties = function useCustomProperties(_ref) {
|
|
|
79
88
|
return custprops || [];
|
|
80
89
|
};
|
|
81
90
|
|
|
91
|
+
__signature__(useCustomProperties, "useOkapiKy{ky}\nuseQuery{queryObject}", function () {
|
|
92
|
+
return [_core.useOkapiKy, _reactQuery.useQuery];
|
|
93
|
+
});
|
|
94
|
+
|
|
82
95
|
useCustomProperties.propTypes = {
|
|
83
96
|
endpoint: _propTypes.default.string,
|
|
84
97
|
ctx: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.arrayOf(_propTypes.default.string)]),
|
|
@@ -86,4 +99,24 @@ useCustomProperties.propTypes = {
|
|
|
86
99
|
returnQueryObject: _propTypes.default.bool
|
|
87
100
|
};
|
|
88
101
|
var _default = useCustomProperties;
|
|
89
|
-
|
|
102
|
+
var _default2 = _default;
|
|
103
|
+
exports.default = _default2;
|
|
104
|
+
;
|
|
105
|
+
|
|
106
|
+
(function () {
|
|
107
|
+
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
108
|
+
|
|
109
|
+
if (!reactHotLoader) {
|
|
110
|
+
return;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
reactHotLoader.register(useCustomProperties, "useCustomProperties", "/home/ethan/FolioModules/stripes-kint-components/src/lib/hooks/useCustomProperties.js");
|
|
114
|
+
reactHotLoader.register(_default, "default", "/home/ethan/FolioModules/stripes-kint-components/src/lib/hooks/useCustomProperties.js");
|
|
115
|
+
})();
|
|
116
|
+
|
|
117
|
+
;
|
|
118
|
+
|
|
119
|
+
(function () {
|
|
120
|
+
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
121
|
+
leaveModule && leaveModule(module);
|
|
122
|
+
})();
|
|
@@ -21,6 +21,11 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
21
21
|
|
|
22
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
23
|
|
|
24
|
+
(function () {
|
|
25
|
+
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
26
|
+
enterModule && enterModule(module);
|
|
27
|
+
})();
|
|
28
|
+
|
|
24
29
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
25
30
|
|
|
26
31
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
@@ -39,6 +44,10 @@ 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)();
|
|
@@ -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
|
+
})();
|
|
@@ -9,6 +9,15 @@ var _reactQuery = require("react-query");
|
|
|
9
9
|
|
|
10
10
|
var _utils = require("../utils");
|
|
11
11
|
|
|
12
|
+
(function () {
|
|
13
|
+
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
14
|
+
enterModule && enterModule(module);
|
|
15
|
+
})();
|
|
16
|
+
|
|
17
|
+
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
18
|
+
return a;
|
|
19
|
+
};
|
|
20
|
+
|
|
12
21
|
var useInvalidateRefdata = function useInvalidateRefdata(desc) {
|
|
13
22
|
var queryClient = (0, _reactQuery.useQueryClient)();
|
|
14
23
|
return function () {
|
|
@@ -16,5 +25,29 @@ var useInvalidateRefdata = function useInvalidateRefdata(desc) {
|
|
|
16
25
|
};
|
|
17
26
|
};
|
|
18
27
|
|
|
28
|
+
__signature__(useInvalidateRefdata, "useQueryClient{queryClient}", function () {
|
|
29
|
+
return [_reactQuery.useQueryClient];
|
|
30
|
+
});
|
|
31
|
+
|
|
19
32
|
var _default = useInvalidateRefdata;
|
|
20
|
-
|
|
33
|
+
var _default2 = _default;
|
|
34
|
+
exports.default = _default2;
|
|
35
|
+
;
|
|
36
|
+
|
|
37
|
+
(function () {
|
|
38
|
+
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
39
|
+
|
|
40
|
+
if (!reactHotLoader) {
|
|
41
|
+
return;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
reactHotLoader.register(useInvalidateRefdata, "useInvalidateRefdata", "/home/ethan/FolioModules/stripes-kint-components/src/lib/hooks/useInvalidateRefdata.js");
|
|
45
|
+
reactHotLoader.register(_default, "default", "/home/ethan/FolioModules/stripes-kint-components/src/lib/hooks/useInvalidateRefdata.js");
|
|
46
|
+
})();
|
|
47
|
+
|
|
48
|
+
;
|
|
49
|
+
|
|
50
|
+
(function () {
|
|
51
|
+
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
52
|
+
leaveModule && leaveModule(module);
|
|
53
|
+
})();
|
|
@@ -9,6 +9,11 @@ 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); 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 = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : 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
|
+
})();
|
|
@@ -21,6 +21,11 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
21
21
|
|
|
22
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
23
|
|
|
24
|
+
(function () {
|
|
25
|
+
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
26
|
+
enterModule && enterModule(module);
|
|
27
|
+
})();
|
|
28
|
+
|
|
24
29
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
25
30
|
|
|
26
31
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
@@ -39,6 +44,10 @@ 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,
|
|
@@ -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
|
+
})();
|
|
@@ -15,6 +15,11 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
15
15
|
|
|
16
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
17
|
|
|
18
|
+
(function () {
|
|
19
|
+
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
20
|
+
enterModule && enterModule(module);
|
|
21
|
+
})();
|
|
22
|
+
|
|
18
23
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
19
24
|
|
|
20
25
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
@@ -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
|
+
})();
|
|
@@ -9,10 +9,19 @@ var _reactQuery = require("react-query");
|
|
|
9
9
|
|
|
10
10
|
var _core = require("@folio/stripes/core");
|
|
11
11
|
|
|
12
|
+
(function () {
|
|
13
|
+
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
14
|
+
enterModule && enterModule(module);
|
|
15
|
+
})();
|
|
16
|
+
|
|
12
17
|
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); } }
|
|
13
18
|
|
|
14
19
|
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); }); }; }
|
|
15
20
|
|
|
21
|
+
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
22
|
+
return a;
|
|
23
|
+
};
|
|
24
|
+
|
|
16
25
|
var useMutateCustomProperties = function useMutateCustomProperties(_ref) {
|
|
17
26
|
var afterQueryCalls = _ref.afterQueryCalls,
|
|
18
27
|
endpoint = _ref.endpoint,
|
|
@@ -106,5 +115,29 @@ var useMutateCustomProperties = function useMutateCustomProperties(_ref) {
|
|
|
106
115
|
return returnObj;
|
|
107
116
|
};
|
|
108
117
|
|
|
118
|
+
__signature__(useMutateCustomProperties, "useOkapiKy{ky}\nuseMutation{deleteQueryObject}\nuseMutation{putQueryObject}\nuseMutation{postQueryObject}", function () {
|
|
119
|
+
return [_core.useOkapiKy, _reactQuery.useMutation, _reactQuery.useMutation, _reactQuery.useMutation];
|
|
120
|
+
});
|
|
121
|
+
|
|
109
122
|
var _default = useMutateCustomProperties;
|
|
110
|
-
|
|
123
|
+
var _default2 = _default;
|
|
124
|
+
exports.default = _default2;
|
|
125
|
+
;
|
|
126
|
+
|
|
127
|
+
(function () {
|
|
128
|
+
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
129
|
+
|
|
130
|
+
if (!reactHotLoader) {
|
|
131
|
+
return;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
reactHotLoader.register(useMutateCustomProperties, "useMutateCustomProperties", "/home/ethan/FolioModules/stripes-kint-components/src/lib/hooks/useMutateCustomProperties.js");
|
|
135
|
+
reactHotLoader.register(_default, "default", "/home/ethan/FolioModules/stripes-kint-components/src/lib/hooks/useMutateCustomProperties.js");
|
|
136
|
+
})();
|
|
137
|
+
|
|
138
|
+
;
|
|
139
|
+
|
|
140
|
+
(function () {
|
|
141
|
+
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
142
|
+
leaveModule && leaveModule(module);
|
|
143
|
+
})();
|
|
@@ -13,10 +13,19 @@ var _useInvalidateRefdata = _interopRequireDefault(require("./useInvalidateRefda
|
|
|
13
13
|
|
|
14
14
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
15
|
|
|
16
|
+
(function () {
|
|
17
|
+
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
18
|
+
enterModule && enterModule(module);
|
|
19
|
+
})();
|
|
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,
|
|
@@ -103,5 +112,29 @@ var useMutateRefdataValue = function useMutateRefdataValue(_ref) {
|
|
|
103
112
|
return returnObj;
|
|
104
113
|
};
|
|
105
114
|
|
|
115
|
+
__signature__(useMutateRefdataValue, "useOkapiKy{ky}\nuseInvalidateRefdata{invalidateRefdata}\nuseMutation{deleteQueryObject}\nuseMutation{putQueryObject}", function () {
|
|
116
|
+
return [_core.useOkapiKy, _useInvalidateRefdata.default, _reactQuery.useMutation, _reactQuery.useMutation];
|
|
117
|
+
});
|
|
118
|
+
|
|
106
119
|
var _default = useMutateRefdataValue;
|
|
107
|
-
|
|
120
|
+
var _default2 = _default;
|
|
121
|
+
exports.default = _default2;
|
|
122
|
+
;
|
|
123
|
+
|
|
124
|
+
(function () {
|
|
125
|
+
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
126
|
+
|
|
127
|
+
if (!reactHotLoader) {
|
|
128
|
+
return;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
reactHotLoader.register(useMutateRefdataValue, "useMutateRefdataValue", "/home/ethan/FolioModules/stripes-kint-components/src/lib/hooks/useMutateRefdataValue.js");
|
|
132
|
+
reactHotLoader.register(_default, "default", "/home/ethan/FolioModules/stripes-kint-components/src/lib/hooks/useMutateRefdataValue.js");
|
|
133
|
+
})();
|
|
134
|
+
|
|
135
|
+
;
|
|
136
|
+
|
|
137
|
+
(function () {
|
|
138
|
+
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
139
|
+
leaveModule && leaveModule(module);
|
|
140
|
+
})();
|