@k-int/stripes-kint-components 2.3.1 → 2.3.2
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/index.js +1 -5
- package/es/lib/ActionList/ActionList.js +1 -31
- package/es/lib/ActionList/ActionListFieldArray.js +3 -41
- package/es/lib/ActionList/index.js +1 -5
- package/es/lib/CustomProperties/Config/CustomPropertiesLookup.js +1 -35
- package/es/lib/CustomProperties/Config/CustomPropertiesSettings.js +1 -37
- package/es/lib/CustomProperties/Config/CustomPropertyForm.js +1 -34
- package/es/lib/CustomProperties/Config/CustomPropertyView.js +1 -30
- package/es/lib/CustomProperties/Config/index.js +1 -5
- package/es/lib/CustomProperties/Edit/CustomPropertiesEdit.js +1 -30
- package/es/lib/CustomProperties/Edit/CustomPropertiesEditCtx.js +1 -34
- package/es/lib/CustomProperties/Edit/CustomPropertiesListField.js +1 -37
- package/es/lib/CustomProperties/Edit/CustomPropertyField.js +1 -34
- package/es/lib/CustomProperties/Edit/CustomPropertyFormCard.js +1 -30
- package/es/lib/CustomProperties/Edit/index.js +1 -5
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilter.js +1 -34
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterField.js +1 -34
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterFieldArray.js +1 -34
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterForm.js +1 -30
- package/es/lib/CustomProperties/Filter/CustomPropertiesRule.js +1 -35
- package/es/lib/CustomProperties/Filter/index.js +1 -5
- package/es/lib/CustomProperties/Filter/useOperators.js +1 -39
- package/es/lib/CustomProperties/Filter/useParseActiveFilterStrings.js +1 -34
- package/es/lib/CustomProperties/Filter/useValueProps.js +1 -35
- package/es/lib/CustomProperties/View/CustomPropertiesView.js +1 -30
- package/es/lib/CustomProperties/View/CustomPropertiesViewCtx.js +1 -34
- package/es/lib/CustomProperties/View/CustomPropertyCard.js +1 -30
- package/es/lib/CustomProperties/View/index.js +1 -5
- package/es/lib/CustomProperties/index.js +1 -5
- package/es/lib/EditableRefdataList/EditableRefdataList.js +1 -35
- package/es/lib/EditableRefdataList/index.js +1 -5
- package/es/lib/EditableSettingsList/EditableSettingsList.js +1 -30
- package/es/lib/EditableSettingsList/EditableSettingsListFieldArray.js +1 -30
- package/es/lib/EditableSettingsList/EditableSettingsListFieldArray.test.js +1 -30
- package/es/lib/EditableSettingsList/SettingField/EditSettingValue.js +1 -34
- package/es/lib/EditableSettingsList/SettingField/EditSettingValue.test.js +1 -34
- package/es/lib/EditableSettingsList/SettingField/RenderSettingValue.js +1 -34
- package/es/lib/EditableSettingsList/SettingField/RenderSettingValue.test.js +1 -41
- package/es/lib/EditableSettingsList/SettingField/SettingField.js +1 -34
- package/es/lib/EditableSettingsList/SettingField/SettingField.test.js +1 -30
- package/es/lib/EditableSettingsList/SettingField/index.js +1 -5
- package/es/lib/EditableSettingsList/index.js +1 -5
- package/es/lib/FormModal/FormModal.js +3 -30
- package/es/lib/FormModal/index.js +1 -5
- package/es/lib/NoResultsMessage/NoResultsMessage.js +1 -30
- package/es/lib/NoResultsMessage/index.js +1 -5
- package/es/lib/QueryTypedown/QueryTypedown.js +1 -34
- package/es/lib/QueryTypedown/index.js +1 -5
- package/es/lib/RefdataButtons/RefdataButtons.js +1 -34
- package/es/lib/RefdataButtons/index.js +1 -5
- package/es/lib/SASQLookupComponent/SASQLookupComponent.js +1 -34
- package/es/lib/SASQLookupComponent/index.js +1 -5
- package/es/lib/SASQRoute/SASQRoute.js +1 -30
- package/es/lib/SASQRoute/index.js +1 -5
- package/es/lib/SASQViewComponent/SASQViewComponent.js +1 -34
- package/es/lib/SASQViewComponent/index.js +1 -5
- package/es/lib/SearchField/SearchField.js +1 -31
- package/es/lib/SearchField/index.js +1 -5
- package/es/lib/SettingPage/SettingPage.js +1 -34
- package/es/lib/SettingPage/SettingPagePane.js +1 -32
- package/es/lib/SettingPage/index.js +1 -5
- package/es/lib/Typedown/Typedown.js +1 -34
- package/es/lib/Typedown/index.js +1 -5
- package/es/lib/constants/customProperties.js +1 -38
- package/es/lib/constants/eventCodes.js +1 -31
- package/es/lib/contexts/SettingsContext.js +1 -30
- package/es/lib/contexts/index.js +1 -5
- package/es/lib/hooks/index.js +1 -5
- package/es/lib/hooks/settingsHooks/index.js +1 -5
- package/es/lib/hooks/settingsHooks/useSettingSection.js +1 -34
- package/es/lib/hooks/settingsHooks/useSettings.js +1 -36
- package/es/lib/hooks/typedownHooks/index.js +1 -5
- package/es/lib/hooks/typedownHooks/useTypedown.js +1 -34
- package/es/lib/hooks/typedownHooks/useTypedownData.js +1 -34
- package/es/lib/hooks/typedownHooks/useTypedownToggle.js +1 -34
- package/es/lib/hooks/useActiveElement.js +1 -32
- package/es/lib/hooks/useAvailableCustomProperties.js +1 -34
- package/es/lib/hooks/useCustomProperties.js +1 -34
- package/es/lib/hooks/useHelperApp.js +1 -34
- package/es/lib/hooks/useInvalidateRefdata.js +1 -34
- package/es/lib/hooks/useKiwtFieldArray.js +1 -34
- package/es/lib/hooks/useKiwtSASQuery.js +1 -35
- package/es/lib/hooks/useLocalStorageState.js +1 -34
- package/es/lib/hooks/useMutateCustomProperties.js +1 -34
- package/es/lib/hooks/useMutateRefdataValue.js +1 -34
- package/es/lib/hooks/useQIndex.js +1 -34
- package/es/lib/hooks/useRefdata.js +1 -34
- package/es/lib/hooks/useTemplates.js +1 -34
- package/es/lib/utils/buildUrl.js +2 -31
- package/es/lib/utils/generateKiwtQuery.js +1 -30
- package/es/lib/utils/generateKiwtQueryParams.js +1 -30
- package/es/lib/utils/groupCustomPropertiesByCtx.js +1 -30
- package/es/lib/utils/index.js +1 -5
- package/es/lib/utils/refdataOptions.js +1 -30
- package/es/lib/utils/refdataQueryKey.js +1 -30
- package/es/lib/utils/renderHelpText.js +1 -30
- package/es/lib/utils/selectorSafe.js +1 -30
- package/es/lib/utils/sortByLabel.js +1 -30
- package/es/lib/utils/toCamelCase.js +1 -30
- package/es/lib/utils/typedownQueryKey.js +1 -30
- package/es/lib/utils/validators.js +1 -32
- package/package.json +1 -1
- package/src/lib/ActionList/ActionListFieldArray.js +1 -2
- package/src/lib/FormModal/FormModal.js +2 -0
- package/es/artifacts/coverage-jest/lcov-report/block-navigation.js +0 -109
- package/es/artifacts/coverage-jest/lcov-report/prettify.js +0 -998
- package/es/artifacts/coverage-jest/lcov-report/sorter.js +0 -238
- package/junit.xml +0 -79
- package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionList.js.html +0 -286
- package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionListFieldArray.js.html +0 -925
- package/src/artifacts/coverage-jest/lcov-report/ActionList/index.html +0 -146
- package/src/artifacts/coverage-jest/lcov-report/ActionList/index.js.html +0 -88
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertiesLookup.js.html +0 -418
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertiesSettings.js.html +0 -808
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertiesView.js.html +0 -601
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertyForm.js.html +0 -1135
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/index.html +0 -176
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/index.js.html +0 -97
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/EditableRefdataList.js.html +0 -373
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/index.html +0 -131
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/index.js.html +0 -88
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/EditableSettingsList.js.html +0 -223
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/EditableSettingsListFieldArray.js.html +0 -211
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/EditSettingValue.js.html +0 -376
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/RenderSettingValue.js.html +0 -262
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/SettingField.js.html +0 -436
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/index.html +0 -161
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/index.js.html +0 -94
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/index.html +0 -146
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/index.js.html +0 -94
- package/src/artifacts/coverage-jest/lcov-report/FormModal/FormModal.js.html +0 -283
- package/src/artifacts/coverage-jest/lcov-report/FormModal/index.html +0 -131
- package/src/artifacts/coverage-jest/lcov-report/FormModal/index.js.html +0 -88
- package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/NoResultsMessage.js.html +0 -319
- package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/index.html +0 -131
- package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/index.js.html +0 -88
- package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/QueryTypedown.js.html +0 -184
- package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/index.html +0 -131
- package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/index.js.html +0 -88
- package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/RefdataButtons.js.html +0 -370
- package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/index.html +0 -131
- package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/index.js.html +0 -88
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/SASQLookupComponent.js.html +0 -949
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/index.html +0 -131
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/index.js.html +0 -88
- package/src/artifacts/coverage-jest/lcov-report/SASQRoute/SASQRoute.js.html +0 -301
- package/src/artifacts/coverage-jest/lcov-report/SASQRoute/index.html +0 -131
- package/src/artifacts/coverage-jest/lcov-report/SASQRoute/index.js.html +0 -88
- package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/SASQViewComponent.js.html +0 -253
- package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/index.html +0 -131
- package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/index.js.html +0 -88
- package/src/artifacts/coverage-jest/lcov-report/SearchField/SearchField.js.html +0 -214
- package/src/artifacts/coverage-jest/lcov-report/SearchField/index.html +0 -131
- package/src/artifacts/coverage-jest/lcov-report/SearchField/index.js.html +0 -88
- package/src/artifacts/coverage-jest/lcov-report/SettingPage/SettingPage.js.html +0 -211
- package/src/artifacts/coverage-jest/lcov-report/SettingPage/SettingPagePane.js.html +0 -178
- package/src/artifacts/coverage-jest/lcov-report/SettingPage/index.html +0 -146
- package/src/artifacts/coverage-jest/lcov-report/SettingPage/index.js.html +0 -91
- package/src/artifacts/coverage-jest/lcov-report/Typedown/Typedown.js.html +0 -919
- package/src/artifacts/coverage-jest/lcov-report/Typedown/index.html +0 -131
- package/src/artifacts/coverage-jest/lcov-report/Typedown/index.js.html +0 -88
- package/src/artifacts/coverage-jest/lcov-report/base.css +0 -224
- package/src/artifacts/coverage-jest/lcov-report/block-navigation.js +0 -87
- package/src/artifacts/coverage-jest/lcov-report/constants/customProperties.js.html +0 -112
- package/src/artifacts/coverage-jest/lcov-report/constants/eventCodes.js.html +0 -94
- package/src/artifacts/coverage-jest/lcov-report/constants/index.html +0 -131
- package/src/artifacts/coverage-jest/lcov-report/contexts/SettingsContext.js.html +0 -97
- package/src/artifacts/coverage-jest/lcov-report/contexts/index.html +0 -131
- package/src/artifacts/coverage-jest/lcov-report/contexts/index.js.html +0 -91
- package/src/artifacts/coverage-jest/lcov-report/favicon.png +0 -0
- package/src/artifacts/coverage-jest/lcov-report/hooks/index.html +0 -281
- package/src/artifacts/coverage-jest/lcov-report/hooks/index.js.html +0 -121
- package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/index.html +0 -146
- package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/index.js.html +0 -91
- package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useSettingSection.js.html +0 -163
- package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useSettings.js.html +0 -403
- package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/index.html +0 -161
- package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/index.js.html +0 -94
- package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedown.js.html +0 -520
- package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedownData.js.html +0 -163
- package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedownToggle.js.html +0 -163
- package/src/artifacts/coverage-jest/lcov-report/hooks/useActiveElement.js.html +0 -157
- package/src/artifacts/coverage-jest/lcov-report/hooks/useCustomProperties.js.html +0 -313
- package/src/artifacts/coverage-jest/lcov-report/hooks/useHelperApp.js.html +0 -283
- package/src/artifacts/coverage-jest/lcov-report/hooks/useKiwtFieldArray.js.html +0 -274
- package/src/artifacts/coverage-jest/lcov-report/hooks/useKiwtSASQuery.js.html +0 -178
- package/src/artifacts/coverage-jest/lcov-report/hooks/useLocalStorageState.js.html +0 -136
- package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateCustomProperties.js.html +0 -271
- package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateRefdataValue.js.html +0 -301
- package/src/artifacts/coverage-jest/lcov-report/hooks/useQIndex.js.html +0 -208
- package/src/artifacts/coverage-jest/lcov-report/hooks/useRefdata.js.html +0 -268
- package/src/artifacts/coverage-jest/lcov-report/hooks/useTemplates.js.html +0 -166
- package/src/artifacts/coverage-jest/lcov-report/index.html +0 -416
- package/src/artifacts/coverage-jest/lcov-report/prettify.css +0 -1
- package/src/artifacts/coverage-jest/lcov-report/prettify.js +0 -2
- package/src/artifacts/coverage-jest/lcov-report/sort-arrow-sprite.png +0 -0
- package/src/artifacts/coverage-jest/lcov-report/sorter.js +0 -196
- package/src/artifacts/coverage-jest/lcov-report/utils/buildUrl.js.html +0 -193
- package/src/artifacts/coverage-jest/lcov-report/utils/generateKiwtQuery.js.html +0 -109
- package/src/artifacts/coverage-jest/lcov-report/utils/generateKiwtQueryParams.js.html +0 -454
- package/src/artifacts/coverage-jest/lcov-report/utils/index.html +0 -251
- package/src/artifacts/coverage-jest/lcov-report/utils/index.js.html +0 -121
- package/src/artifacts/coverage-jest/lcov-report/utils/refdataOptions.js.html +0 -106
- package/src/artifacts/coverage-jest/lcov-report/utils/renderHelpText.js.html +0 -166
- package/src/artifacts/coverage-jest/lcov-report/utils/selectorSafe.js.html +0 -103
- package/src/artifacts/coverage-jest/lcov-report/utils/sortByLabel.js.html +0 -130
- package/src/artifacts/coverage-jest/lcov-report/utils/toCamelCase.js.html +0 -127
- package/src/artifacts/coverage-jest/lcov-report/utils/validators.js.html +0 -202
- package/src/artifacts/coverage-jest/lcov.info +0 -2562
|
@@ -4,16 +4,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.TYPE_CLASS_PREFIX = exports.TEXT_CLASS_NAME = exports.REFDATA_DEFINITION_CLASS_NAME = exports.REFDATA_CLASS_NAME = exports.INTEGER_CLASS_NAME = exports.DECIMAL_CLASS_NAME = exports.DATE_CLASS_NAME = exports.CONTAINER_CLASS_NAME = exports.BOOLEAN_CLASS_NAME = exports.BLOB_CLASS_NAME = void 0;
|
|
7
|
-
|
|
8
|
-
(function () {
|
|
9
|
-
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
10
|
-
enterModule && enterModule(module);
|
|
11
|
-
})();
|
|
12
|
-
|
|
13
|
-
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
14
|
-
return a;
|
|
15
|
-
};
|
|
16
|
-
|
|
17
7
|
var TYPE_CLASS_PREFIX = 'com.k_int.web.toolkit.custprops.types.CustomProperty';
|
|
18
8
|
exports.TYPE_CLASS_PREFIX = TYPE_CLASS_PREFIX;
|
|
19
9
|
var BLOB_CLASS_NAME = 'com.k_int.web.toolkit.custprops.types.CustomPropertyBlob';
|
|
@@ -33,31 +23,4 @@ exports.REFDATA_DEFINITION_CLASS_NAME = REFDATA_DEFINITION_CLASS_NAME;
|
|
|
33
23
|
var TEXT_CLASS_NAME = 'com.k_int.web.toolkit.custprops.types.CustomPropertyText';
|
|
34
24
|
exports.TEXT_CLASS_NAME = TEXT_CLASS_NAME;
|
|
35
25
|
var DATE_CLASS_NAME = 'com.k_int.web.toolkit.custprops.types.CustomPropertyLocalDate';
|
|
36
|
-
exports.DATE_CLASS_NAME = DATE_CLASS_NAME;
|
|
37
|
-
;
|
|
38
|
-
|
|
39
|
-
(function () {
|
|
40
|
-
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
41
|
-
|
|
42
|
-
if (!reactHotLoader) {
|
|
43
|
-
return;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
reactHotLoader.register(TYPE_CLASS_PREFIX, "TYPE_CLASS_PREFIX", "/home/ethan/FolioModules/stripes-kint-components/src/lib/constants/customProperties.js");
|
|
47
|
-
reactHotLoader.register(BLOB_CLASS_NAME, "BLOB_CLASS_NAME", "/home/ethan/FolioModules/stripes-kint-components/src/lib/constants/customProperties.js");
|
|
48
|
-
reactHotLoader.register(BOOLEAN_CLASS_NAME, "BOOLEAN_CLASS_NAME", "/home/ethan/FolioModules/stripes-kint-components/src/lib/constants/customProperties.js");
|
|
49
|
-
reactHotLoader.register(CONTAINER_CLASS_NAME, "CONTAINER_CLASS_NAME", "/home/ethan/FolioModules/stripes-kint-components/src/lib/constants/customProperties.js");
|
|
50
|
-
reactHotLoader.register(DECIMAL_CLASS_NAME, "DECIMAL_CLASS_NAME", "/home/ethan/FolioModules/stripes-kint-components/src/lib/constants/customProperties.js");
|
|
51
|
-
reactHotLoader.register(INTEGER_CLASS_NAME, "INTEGER_CLASS_NAME", "/home/ethan/FolioModules/stripes-kint-components/src/lib/constants/customProperties.js");
|
|
52
|
-
reactHotLoader.register(REFDATA_CLASS_NAME, "REFDATA_CLASS_NAME", "/home/ethan/FolioModules/stripes-kint-components/src/lib/constants/customProperties.js");
|
|
53
|
-
reactHotLoader.register(REFDATA_DEFINITION_CLASS_NAME, "REFDATA_DEFINITION_CLASS_NAME", "/home/ethan/FolioModules/stripes-kint-components/src/lib/constants/customProperties.js");
|
|
54
|
-
reactHotLoader.register(TEXT_CLASS_NAME, "TEXT_CLASS_NAME", "/home/ethan/FolioModules/stripes-kint-components/src/lib/constants/customProperties.js");
|
|
55
|
-
reactHotLoader.register(DATE_CLASS_NAME, "DATE_CLASS_NAME", "/home/ethan/FolioModules/stripes-kint-components/src/lib/constants/customProperties.js");
|
|
56
|
-
})();
|
|
57
|
-
|
|
58
|
-
;
|
|
59
|
-
|
|
60
|
-
(function () {
|
|
61
|
-
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
62
|
-
leaveModule && leaveModule(module);
|
|
63
|
-
})();
|
|
26
|
+
exports.DATE_CLASS_NAME = DATE_CLASS_NAME;
|
|
@@ -4,39 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.UP_ARROW = exports.TAB = exports.DOWN_ARROW = void 0;
|
|
7
|
-
|
|
8
|
-
(function () {
|
|
9
|
-
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
10
|
-
enterModule && enterModule(module);
|
|
11
|
-
})();
|
|
12
|
-
|
|
13
|
-
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
14
|
-
return a;
|
|
15
|
-
};
|
|
16
|
-
|
|
17
7
|
var UP_ARROW = 'ArrowUp';
|
|
18
8
|
exports.UP_ARROW = UP_ARROW;
|
|
19
9
|
var DOWN_ARROW = 'ArrowDown';
|
|
20
10
|
exports.DOWN_ARROW = DOWN_ARROW;
|
|
21
11
|
var TAB = 'Tab';
|
|
22
|
-
exports.TAB = TAB;
|
|
23
|
-
;
|
|
24
|
-
|
|
25
|
-
(function () {
|
|
26
|
-
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
27
|
-
|
|
28
|
-
if (!reactHotLoader) {
|
|
29
|
-
return;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
reactHotLoader.register(UP_ARROW, "UP_ARROW", "/home/ethan/FolioModules/stripes-kint-components/src/lib/constants/eventCodes.js");
|
|
33
|
-
reactHotLoader.register(DOWN_ARROW, "DOWN_ARROW", "/home/ethan/FolioModules/stripes-kint-components/src/lib/constants/eventCodes.js");
|
|
34
|
-
reactHotLoader.register(TAB, "TAB", "/home/ethan/FolioModules/stripes-kint-components/src/lib/constants/eventCodes.js");
|
|
35
|
-
})();
|
|
36
|
-
|
|
37
|
-
;
|
|
38
|
-
|
|
39
|
-
(function () {
|
|
40
|
-
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
41
|
-
leaveModule && leaveModule(module);
|
|
42
|
-
})();
|
|
12
|
+
exports.TAB = TAB;
|
|
@@ -7,35 +7,6 @@ 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
|
-
|
|
15
|
-
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
16
|
-
return a;
|
|
17
|
-
};
|
|
18
|
-
|
|
19
10
|
var SettingsContext = /*#__PURE__*/(0, _react.createContext)();
|
|
20
11
|
var _default = SettingsContext;
|
|
21
|
-
|
|
22
|
-
exports.default = _default2;
|
|
23
|
-
;
|
|
24
|
-
|
|
25
|
-
(function () {
|
|
26
|
-
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
27
|
-
|
|
28
|
-
if (!reactHotLoader) {
|
|
29
|
-
return;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
reactHotLoader.register(SettingsContext, "SettingsContext", "/home/ethan/FolioModules/stripes-kint-components/src/lib/contexts/SettingsContext.js");
|
|
33
|
-
reactHotLoader.register(_default, "default", "/home/ethan/FolioModules/stripes-kint-components/src/lib/contexts/SettingsContext.js");
|
|
34
|
-
})();
|
|
35
|
-
|
|
36
|
-
;
|
|
37
|
-
|
|
38
|
-
(function () {
|
|
39
|
-
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
40
|
-
leaveModule && leaveModule(module);
|
|
41
|
-
})();
|
|
12
|
+
exports.default = _default;
|
package/es/lib/contexts/index.js
CHANGED
|
@@ -12,8 +12,4 @@ Object.defineProperty(exports, "SettingsContext", {
|
|
|
12
12
|
|
|
13
13
|
var _SettingsContext = _interopRequireDefault(require("./SettingsContext"));
|
|
14
14
|
|
|
15
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
16
|
-
|
|
17
|
-
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
18
|
-
return a;
|
|
19
|
-
};
|
|
15
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
package/es/lib/hooks/index.js
CHANGED
|
@@ -122,8 +122,4 @@ var _useAvailableCustomProperties = _interopRequireDefault(require("./useAvailab
|
|
|
122
122
|
|
|
123
123
|
var _useInvalidateRefdata = _interopRequireDefault(require("./useInvalidateRefdata"));
|
|
124
124
|
|
|
125
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
126
|
-
|
|
127
|
-
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
128
|
-
return a;
|
|
129
|
-
};
|
|
125
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
@@ -20,8 +20,4 @@ var _useSettings = _interopRequireDefault(require("./useSettings"));
|
|
|
20
20
|
|
|
21
21
|
var _useSettingSection = _interopRequireDefault(require("./useSettingSection"));
|
|
22
22
|
|
|
23
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
24
|
-
|
|
25
|
-
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
26
|
-
return a;
|
|
27
|
-
};
|
|
23
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
@@ -13,15 +13,6 @@ var _core = require("@folio/stripes/core");
|
|
|
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
|
-
|
|
21
|
-
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
22
|
-
return a;
|
|
23
|
-
};
|
|
24
|
-
|
|
25
16
|
var useSettingSection = function useSettingSection(_ref) {
|
|
26
17
|
var sectionName = _ref.sectionName,
|
|
27
18
|
settingEndpoint = _ref.settingEndpoint;
|
|
@@ -46,29 +37,5 @@ var useSettingSection = function useSettingSection(_ref) {
|
|
|
46
37
|
};
|
|
47
38
|
};
|
|
48
39
|
|
|
49
|
-
__signature__(useSettingSection, "useOkapiKy{ky}\nuseQuery{{ data: settings = [] }}\nuseMutation{{ mutateAsync: putSetting }}", function () {
|
|
50
|
-
return [_core.useOkapiKy, _reactQuery.useQuery, _reactQuery.useMutation];
|
|
51
|
-
});
|
|
52
|
-
|
|
53
40
|
var _default = useSettingSection;
|
|
54
|
-
|
|
55
|
-
exports.default = _default2;
|
|
56
|
-
;
|
|
57
|
-
|
|
58
|
-
(function () {
|
|
59
|
-
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
60
|
-
|
|
61
|
-
if (!reactHotLoader) {
|
|
62
|
-
return;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
reactHotLoader.register(useSettingSection, "useSettingSection", "/home/ethan/FolioModules/stripes-kint-components/src/lib/hooks/settingsHooks/useSettingSection.js");
|
|
66
|
-
reactHotLoader.register(_default, "default", "/home/ethan/FolioModules/stripes-kint-components/src/lib/hooks/settingsHooks/useSettingSection.js");
|
|
67
|
-
})();
|
|
68
|
-
|
|
69
|
-
;
|
|
70
|
-
|
|
71
|
-
(function () {
|
|
72
|
-
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
73
|
-
leaveModule && leaveModule(module);
|
|
74
|
-
})();
|
|
41
|
+
exports.default = _default;
|
|
@@ -33,11 +33,6 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
33
33
|
|
|
34
34
|
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; }
|
|
35
35
|
|
|
36
|
-
(function () {
|
|
37
|
-
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
38
|
-
enterModule && enterModule(module);
|
|
39
|
-
})();
|
|
40
|
-
|
|
41
36
|
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; }
|
|
42
37
|
|
|
43
38
|
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; }
|
|
@@ -56,10 +51,6 @@ function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToAr
|
|
|
56
51
|
|
|
57
52
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
58
53
|
|
|
59
|
-
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
60
|
-
return a;
|
|
61
|
-
};
|
|
62
|
-
|
|
63
54
|
var useSettings = function useSettings(_ref) {
|
|
64
55
|
var dynamicPageExclusions = _ref.dynamicPageExclusions,
|
|
65
56
|
intlKey = _ref.intlKey,
|
|
@@ -131,8 +122,6 @@ var useSettings = function useSettings(_ref) {
|
|
|
131
122
|
}, props));
|
|
132
123
|
};
|
|
133
124
|
|
|
134
|
-
__signature__(SettingsComponent, "useContext{settingsData}");
|
|
135
|
-
|
|
136
125
|
var SettingsComponentWithContext = function SettingsComponentWithContext(props) {
|
|
137
126
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(SettingsContextProvider, {
|
|
138
127
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(SettingsComponent, _objectSpread({}, props))
|
|
@@ -147,29 +136,5 @@ var useSettings = function useSettings(_ref) {
|
|
|
147
136
|
};
|
|
148
137
|
};
|
|
149
138
|
|
|
150
|
-
__signature__(useSettings, "useOkapiKy{ky}\nuseIntl{intl}\nuseQuery{{ data: appSettings = [], isLoading }}", function () {
|
|
151
|
-
return [_core.useOkapiKy, _reactIntl.useIntl, _reactQuery.useQuery];
|
|
152
|
-
});
|
|
153
|
-
|
|
154
139
|
var _default = useSettings;
|
|
155
|
-
|
|
156
|
-
exports.default = _default2;
|
|
157
|
-
;
|
|
158
|
-
|
|
159
|
-
(function () {
|
|
160
|
-
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
161
|
-
|
|
162
|
-
if (!reactHotLoader) {
|
|
163
|
-
return;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
reactHotLoader.register(useSettings, "useSettings", "/home/ethan/FolioModules/stripes-kint-components/src/lib/hooks/settingsHooks/useSettings.js");
|
|
167
|
-
reactHotLoader.register(_default, "default", "/home/ethan/FolioModules/stripes-kint-components/src/lib/hooks/settingsHooks/useSettings.js");
|
|
168
|
-
})();
|
|
169
|
-
|
|
170
|
-
;
|
|
171
|
-
|
|
172
|
-
(function () {
|
|
173
|
-
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
174
|
-
leaveModule && leaveModule(module);
|
|
175
|
-
})();
|
|
140
|
+
exports.default = _default;
|
|
@@ -28,8 +28,4 @@ var _useTypedownToggle = _interopRequireDefault(require("./useTypedownToggle"));
|
|
|
28
28
|
|
|
29
29
|
var _useTypedownData = _interopRequireDefault(require("./useTypedownData"));
|
|
30
30
|
|
|
31
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
32
|
-
|
|
33
|
-
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
34
|
-
return a;
|
|
35
|
-
};
|
|
31
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
@@ -19,15 +19,6 @@ var _useTypedownToggle2 = _interopRequireDefault(require("./useTypedownToggle"))
|
|
|
19
19
|
|
|
20
20
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
21
21
|
|
|
22
|
-
(function () {
|
|
23
|
-
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
24
|
-
enterModule && enterModule(module);
|
|
25
|
-
})();
|
|
26
|
-
|
|
27
|
-
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
28
|
-
return a;
|
|
29
|
-
};
|
|
30
|
-
|
|
31
22
|
var useTypedown = function useTypedown(name) {
|
|
32
23
|
// SEARCHFIELD COMPONENT
|
|
33
24
|
var searchFieldComponent = document.getElementById("typedown-searchField-".concat((0, _selectorSafe.default)(name))); // SET UP REFS
|
|
@@ -159,29 +150,5 @@ var useTypedown = function useTypedown(name) {
|
|
|
159
150
|
};
|
|
160
151
|
};
|
|
161
152
|
|
|
162
|
-
__signature__(useTypedown, "useRef{listRef}\nuseRef{triggerRef}\nuseRef{overlayRef}\nuseRef{footerRef}\nuseTypedownToggle{{ open }}\nuseResizeDetector{{ width: searchWidth, ref: resizeRef }}", function () {
|
|
163
|
-
return [_useTypedownToggle2.default, _reactResizeDetector.useResizeDetector];
|
|
164
|
-
});
|
|
165
|
-
|
|
166
153
|
var _default = useTypedown;
|
|
167
|
-
|
|
168
|
-
exports.default = _default2;
|
|
169
|
-
;
|
|
170
|
-
|
|
171
|
-
(function () {
|
|
172
|
-
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
173
|
-
|
|
174
|
-
if (!reactHotLoader) {
|
|
175
|
-
return;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
reactHotLoader.register(useTypedown, "useTypedown", "/home/ethan/FolioModules/stripes-kint-components/src/lib/hooks/typedownHooks/useTypedown.js");
|
|
179
|
-
reactHotLoader.register(_default, "default", "/home/ethan/FolioModules/stripes-kint-components/src/lib/hooks/typedownHooks/useTypedown.js");
|
|
180
|
-
})();
|
|
181
|
-
|
|
182
|
-
;
|
|
183
|
-
|
|
184
|
-
(function () {
|
|
185
|
-
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
186
|
-
leaveModule && leaveModule(module);
|
|
187
|
-
})();
|
|
154
|
+
exports.default = _default;
|
|
@@ -13,11 +13,6 @@ 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
|
-
|
|
21
16
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
22
17
|
|
|
23
18
|
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."); }
|
|
@@ -30,10 +25,6 @@ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Sy
|
|
|
30
25
|
|
|
31
26
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
32
27
|
|
|
33
|
-
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
34
|
-
return a;
|
|
35
|
-
};
|
|
36
|
-
|
|
37
28
|
var useTypedownData = function useTypedownData(path, callPath) {
|
|
38
29
|
var ky = (0, _core.useOkapiKy)();
|
|
39
30
|
var queryKey = (0, _utils.typedownQueryKey)(path);
|
|
@@ -63,29 +54,5 @@ var useTypedownData = function useTypedownData(path, callPath) {
|
|
|
63
54
|
return contentData;
|
|
64
55
|
};
|
|
65
56
|
|
|
66
|
-
__signature__(useTypedownData, "useOkapiKy{ky}\nuseQuery{{ data, isLoading }}\nuseState{[contentData, setContentData]}\nuseEffect{}", function () {
|
|
67
|
-
return [_core.useOkapiKy, _reactQuery.useQuery];
|
|
68
|
-
});
|
|
69
|
-
|
|
70
57
|
var _default = useTypedownData;
|
|
71
|
-
|
|
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
|
-
})();
|
|
58
|
+
exports.default = _default;
|
|
@@ -13,11 +13,6 @@ 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
|
-
|
|
21
16
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
22
17
|
|
|
23
18
|
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."); }
|
|
@@ -30,10 +25,6 @@ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Sy
|
|
|
30
25
|
|
|
31
26
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
32
27
|
|
|
33
|
-
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
34
|
-
return a;
|
|
35
|
-
};
|
|
36
|
-
|
|
37
28
|
var useTypedownToggle = function useTypedownToggle(name) {
|
|
38
29
|
var _useState = (0, _react.useState)(false),
|
|
39
30
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -61,29 +52,5 @@ var useTypedownToggle = function useTypedownToggle(name) {
|
|
|
61
52
|
};
|
|
62
53
|
};
|
|
63
54
|
|
|
64
|
-
__signature__(useTypedownToggle, "useState{[open, setOpen](false)}\nuseCallback{onToggle}\nuseActiveElement{{ hasParent }}\nuseEffect{}", function () {
|
|
65
|
-
return [_useActiveElement2.default];
|
|
66
|
-
});
|
|
67
|
-
|
|
68
55
|
var _default = useTypedownToggle;
|
|
69
|
-
|
|
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
|
-
})();
|
|
56
|
+
exports.default = _default;
|
|
@@ -7,11 +7,6 @@ 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
|
-
|
|
15
10
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
16
11
|
|
|
17
12
|
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."); }
|
|
@@ -24,10 +19,6 @@ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Sy
|
|
|
24
19
|
|
|
25
20
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
26
21
|
|
|
27
|
-
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
28
|
-
return a;
|
|
29
|
-
};
|
|
30
|
-
|
|
31
22
|
var useActiveElement = function useActiveElement() {
|
|
32
23
|
var _useState = (0, _react.useState)(document.activeElement),
|
|
33
24
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -54,27 +45,5 @@ var useActiveElement = function useActiveElement() {
|
|
|
54
45
|
};
|
|
55
46
|
};
|
|
56
47
|
|
|
57
|
-
__signature__(useActiveElement, "useState{[active, setActive](document.activeElement)}\nuseEffect{}");
|
|
58
|
-
|
|
59
48
|
var _default = useActiveElement;
|
|
60
|
-
|
|
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
|
-
})();
|
|
49
|
+
exports.default = _default;
|
|
@@ -9,11 +9,6 @@ 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
|
-
|
|
17
12
|
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
18
13
|
|
|
19
14
|
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."); }
|
|
@@ -34,10 +29,6 @@ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Sy
|
|
|
34
29
|
|
|
35
30
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
36
31
|
|
|
37
|
-
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
38
|
-
return a;
|
|
39
|
-
};
|
|
40
|
-
|
|
41
32
|
var useAvailableCustomProperties = function useAvailableCustomProperties() {
|
|
42
33
|
var customProperties = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
43
34
|
var intl = (0, _reactIntl.useIntl)();
|
|
@@ -78,29 +69,5 @@ var useAvailableCustomProperties = function useAvailableCustomProperties() {
|
|
|
78
69
|
return custProps;
|
|
79
70
|
};
|
|
80
71
|
|
|
81
|
-
__signature__(useAvailableCustomProperties, "useIntl{intl}\nuseState{[custProps, setCustProps]([])}\nuseEffect{}", function () {
|
|
82
|
-
return [_reactIntl.useIntl];
|
|
83
|
-
});
|
|
84
|
-
|
|
85
72
|
var _default = useAvailableCustomProperties;
|
|
86
|
-
|
|
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
|
-
})();
|
|
73
|
+
exports.default = _default;
|
|
@@ -15,21 +15,12 @@ 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
|
-
|
|
23
18
|
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; }
|
|
24
19
|
|
|
25
20
|
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; }
|
|
26
21
|
|
|
27
22
|
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; }
|
|
28
23
|
|
|
29
|
-
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
30
|
-
return a;
|
|
31
|
-
};
|
|
32
|
-
|
|
33
24
|
var useCustomProperties = function useCustomProperties(_ref) {
|
|
34
25
|
var endpoint = _ref.endpoint,
|
|
35
26
|
ctx = _ref.ctx,
|
|
@@ -88,10 +79,6 @@ var useCustomProperties = function useCustomProperties(_ref) {
|
|
|
88
79
|
return custprops || [];
|
|
89
80
|
};
|
|
90
81
|
|
|
91
|
-
__signature__(useCustomProperties, "useOkapiKy{ky}\nuseQuery{queryObject}", function () {
|
|
92
|
-
return [_core.useOkapiKy, _reactQuery.useQuery];
|
|
93
|
-
});
|
|
94
|
-
|
|
95
82
|
useCustomProperties.propTypes = {
|
|
96
83
|
endpoint: _propTypes.default.string,
|
|
97
84
|
ctx: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.arrayOf(_propTypes.default.string)]),
|
|
@@ -99,24 +86,4 @@ useCustomProperties.propTypes = {
|
|
|
99
86
|
returnQueryObject: _propTypes.default.bool
|
|
100
87
|
};
|
|
101
88
|
var _default = useCustomProperties;
|
|
102
|
-
|
|
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
|
-
})();
|
|
89
|
+
exports.default = _default;
|
|
@@ -21,11 +21,6 @@ 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
|
-
|
|
29
24
|
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; }
|
|
30
25
|
|
|
31
26
|
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; }
|
|
@@ -44,10 +39,6 @@ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Sy
|
|
|
44
39
|
|
|
45
40
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
46
41
|
|
|
47
|
-
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
48
|
-
return a;
|
|
49
|
-
};
|
|
50
|
-
|
|
51
42
|
var useHelperApp = function useHelperApp(helpers) {
|
|
52
43
|
var history = (0, _reactRouterDom.useHistory)();
|
|
53
44
|
var location = (0, _reactRouterDom.useLocation)();
|
|
@@ -107,29 +98,5 @@ var useHelperApp = function useHelperApp(helpers) {
|
|
|
107
98
|
};
|
|
108
99
|
};
|
|
109
100
|
|
|
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
|
-
|
|
114
101
|
var _default = useHelperApp;
|
|
115
|
-
|
|
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
|
-
})();
|
|
102
|
+
exports.default = _default;
|