@k-int/stripes-kint-components 2.3.2 → 2.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -4
- 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 +31 -3
- package/es/lib/ActionList/ActionList.js +31 -1
- package/es/lib/ActionList/ActionListFieldArray.js +39 -2
- 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 +94 -105
- package/es/lib/SASQLookupComponent/TableBody/TableBody.js +146 -0
- package/es/lib/SASQLookupComponent/TableBody/index.js +19 -0
- package/es/lib/SASQLookupComponent/index.js +14 -2
- package/es/lib/SASQRoute/SASQRoute.js +32 -3
- 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 +51 -5
- package/es/lib/utils/groupCustomPropertiesByCtx.js +30 -1
- package/es/lib/utils/highlightString.js +94 -0
- package/es/lib/utils/index.js +27 -1
- package/es/lib/utils/matchString.js +59 -0
- 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/index.js +6 -1
- package/src/lib/ActionList/ActionListFieldArray.js +1 -1
- 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
- package/src/lib/SASQLookupComponent/SASQLookupComponent.js +39 -77
- package/src/lib/SASQLookupComponent/TableBody/TableBody.js +96 -0
- package/src/lib/SASQLookupComponent/TableBody/index.js +1 -0
- package/src/lib/SASQLookupComponent/index.js +2 -1
- package/src/lib/SASQRoute/SASQRoute.js +1 -1
- package/src/lib/utils/generateKiwtQueryParams.js +10 -1
- package/src/lib/utils/highlightString.js +42 -0
- package/src/lib/utils/index.js +4 -0
- package/src/lib/utils/matchString.js +14 -0
|
@@ -15,6 +15,15 @@ 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
|
+
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
24
|
+
return a;
|
|
25
|
+
};
|
|
26
|
+
|
|
18
27
|
var useRefdata = function useRefdata(_ref) {
|
|
19
28
|
var endpoint = _ref.endpoint,
|
|
20
29
|
desc = _ref.desc,
|
|
@@ -55,6 +64,10 @@ var useRefdata = function useRefdata(_ref) {
|
|
|
55
64
|
return refdata || [];
|
|
56
65
|
};
|
|
57
66
|
|
|
67
|
+
__signature__(useRefdata, "useOkapiKy{ky}\nuseQuery{queryObject}", function () {
|
|
68
|
+
return [_core.useOkapiKy, _reactQuery.useQuery];
|
|
69
|
+
});
|
|
70
|
+
|
|
58
71
|
useRefdata.propTypes = {
|
|
59
72
|
endpoint: _propTypes.default.string,
|
|
60
73
|
desc: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.arrayOf(_propTypes.default.string)]),
|
|
@@ -62,4 +75,24 @@ useRefdata.propTypes = {
|
|
|
62
75
|
returnQueryObject: _propTypes.default.bool
|
|
63
76
|
};
|
|
64
77
|
var _default = useRefdata;
|
|
65
|
-
|
|
78
|
+
var _default2 = _default;
|
|
79
|
+
exports.default = _default2;
|
|
80
|
+
;
|
|
81
|
+
|
|
82
|
+
(function () {
|
|
83
|
+
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
84
|
+
|
|
85
|
+
if (!reactHotLoader) {
|
|
86
|
+
return;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
reactHotLoader.register(useRefdata, "useRefdata", "/home/ethan/FolioModules/stripes-kint-components/src/lib/hooks/useRefdata.js");
|
|
90
|
+
reactHotLoader.register(_default, "default", "/home/ethan/FolioModules/stripes-kint-components/src/lib/hooks/useRefdata.js");
|
|
91
|
+
})();
|
|
92
|
+
|
|
93
|
+
;
|
|
94
|
+
|
|
95
|
+
(function () {
|
|
96
|
+
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
97
|
+
leaveModule && leaveModule(module);
|
|
98
|
+
})();
|
|
@@ -13,6 +13,15 @@ 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
|
+
|
|
16
25
|
var useTemplates = function useTemplates(_ref) {
|
|
17
26
|
var context = _ref.context,
|
|
18
27
|
endpoint = _ref.endpoint,
|
|
@@ -40,5 +49,29 @@ var useTemplates = function useTemplates(_ref) {
|
|
|
40
49
|
return templates || [];
|
|
41
50
|
};
|
|
42
51
|
|
|
52
|
+
__signature__(useTemplates, "useOkapiKy{ky}\nuseQuery{{ data: templates }}", function () {
|
|
53
|
+
return [_core.useOkapiKy, _reactQuery.useQuery];
|
|
54
|
+
});
|
|
55
|
+
|
|
43
56
|
var _default = useTemplates;
|
|
44
|
-
|
|
57
|
+
var _default2 = _default;
|
|
58
|
+
exports.default = _default2;
|
|
59
|
+
;
|
|
60
|
+
|
|
61
|
+
(function () {
|
|
62
|
+
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
63
|
+
|
|
64
|
+
if (!reactHotLoader) {
|
|
65
|
+
return;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
reactHotLoader.register(useTemplates, "useTemplates", "/home/ethan/FolioModules/stripes-kint-components/src/lib/hooks/useTemplates.js");
|
|
69
|
+
reactHotLoader.register(_default, "default", "/home/ethan/FolioModules/stripes-kint-components/src/lib/hooks/useTemplates.js");
|
|
70
|
+
})();
|
|
71
|
+
|
|
72
|
+
;
|
|
73
|
+
|
|
74
|
+
(function () {
|
|
75
|
+
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
76
|
+
leaveModule && leaveModule(module);
|
|
77
|
+
})();
|
package/es/lib/utils/buildUrl.js
CHANGED
|
@@ -15,7 +15,15 @@ var _queryString = _interopRequireDefault(require("query-string"));
|
|
|
15
15
|
|
|
16
16
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
(function () {
|
|
19
|
+
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
20
|
+
enterModule && enterModule(module);
|
|
21
|
+
})();
|
|
22
|
+
|
|
23
|
+
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
24
|
+
return a;
|
|
25
|
+
};
|
|
26
|
+
|
|
19
27
|
function getLocationQuery(location) {
|
|
20
28
|
return location.query ? location.query : _queryString.default.parse(location.search);
|
|
21
29
|
}
|
|
@@ -39,4 +47,25 @@ function buildUrl(location, values, basePath) {
|
|
|
39
47
|
}
|
|
40
48
|
|
|
41
49
|
return url;
|
|
42
|
-
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
;
|
|
53
|
+
|
|
54
|
+
(function () {
|
|
55
|
+
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
56
|
+
|
|
57
|
+
if (!reactHotLoader) {
|
|
58
|
+
return;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
reactHotLoader.register(getLocationQuery, "getLocationQuery", "/home/ethan/FolioModules/stripes-kint-components/src/lib/utils/buildUrl.js");
|
|
62
|
+
reactHotLoader.register(removeEmpty, "removeEmpty", "/home/ethan/FolioModules/stripes-kint-components/src/lib/utils/buildUrl.js");
|
|
63
|
+
reactHotLoader.register(buildUrl, "buildUrl", "/home/ethan/FolioModules/stripes-kint-components/src/lib/utils/buildUrl.js");
|
|
64
|
+
})();
|
|
65
|
+
|
|
66
|
+
;
|
|
67
|
+
|
|
68
|
+
(function () {
|
|
69
|
+
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
70
|
+
leaveModule && leaveModule(module);
|
|
71
|
+
})();
|
|
@@ -9,6 +9,15 @@ var _generateKiwtQueryParams = _interopRequireDefault(require("./generateKiwtQue
|
|
|
9
9
|
|
|
10
10
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
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 generateKiwtQuery = function generateKiwtQuery(options, nsValues) {
|
|
13
22
|
var paramsArray = (0, _generateKiwtQueryParams.default)(options, nsValues);
|
|
14
23
|
return paramsArray.length ? '?' + paramsArray.map(function (p) {
|
|
@@ -17,4 +26,24 @@ var generateKiwtQuery = function generateKiwtQuery(options, nsValues) {
|
|
|
17
26
|
};
|
|
18
27
|
|
|
19
28
|
var _default = generateKiwtQuery;
|
|
20
|
-
|
|
29
|
+
var _default2 = _default;
|
|
30
|
+
exports.default = _default2;
|
|
31
|
+
;
|
|
32
|
+
|
|
33
|
+
(function () {
|
|
34
|
+
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
35
|
+
|
|
36
|
+
if (!reactHotLoader) {
|
|
37
|
+
return;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
reactHotLoader.register(generateKiwtQuery, "generateKiwtQuery", "/home/ethan/FolioModules/stripes-kint-components/src/lib/utils/generateKiwtQuery.js");
|
|
41
|
+
reactHotLoader.register(_default, "default", "/home/ethan/FolioModules/stripes-kint-components/src/lib/utils/generateKiwtQuery.js");
|
|
42
|
+
})();
|
|
43
|
+
|
|
44
|
+
;
|
|
45
|
+
|
|
46
|
+
(function () {
|
|
47
|
+
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
48
|
+
leaveModule && leaveModule(module);
|
|
49
|
+
})();
|
|
@@ -4,7 +4,12 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
var _excluded = ["searchKey", "filterKeys", "sortKeys", "stats", "sort", "filters"];
|
|
7
|
+
var _excluded = ["searchKey", "filterConfig", "filterKeys", "sortKeys", "stats", "sort", "filters"];
|
|
8
|
+
|
|
9
|
+
(function () {
|
|
10
|
+
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
11
|
+
enterModule && enterModule(module);
|
|
12
|
+
})();
|
|
8
13
|
|
|
9
14
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
10
15
|
|
|
@@ -32,6 +37,10 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
|
|
|
32
37
|
|
|
33
38
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
34
39
|
|
|
40
|
+
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
41
|
+
return a;
|
|
42
|
+
};
|
|
43
|
+
|
|
35
44
|
var generateKiwtQueryParams = function generateKiwtQueryParams(options, nsValues) {
|
|
36
45
|
var qindex = nsValues.qindex,
|
|
37
46
|
query = nsValues.query,
|
|
@@ -40,6 +49,8 @@ var generateKiwtQueryParams = function generateKiwtQueryParams(options, nsValues
|
|
|
40
49
|
|
|
41
50
|
var _options$searchKey = options.searchKey,
|
|
42
51
|
searchKey = _options$searchKey === void 0 ? '' : _options$searchKey,
|
|
52
|
+
_options$filterConfig = options.filterConfig,
|
|
53
|
+
filterConfig = _options$filterConfig === void 0 ? [] : _options$filterConfig,
|
|
43
54
|
_options$filterKeys = options.filterKeys,
|
|
44
55
|
filterKeys = _options$filterKeys === void 0 ? {} : _options$filterKeys,
|
|
45
56
|
_options$sortKeys = options.sortKeys,
|
|
@@ -109,18 +120,33 @@ var generateKiwtQueryParams = function generateKiwtQueryParams(options, nsValues
|
|
|
109
120
|
filterName = _ref2[0],
|
|
110
121
|
filterValues = _ref2[1];
|
|
111
122
|
|
|
123
|
+
var filterConfigEntry = filterConfig.find(function (conf) {
|
|
124
|
+
return conf.name === filterName;
|
|
125
|
+
});
|
|
112
126
|
var filterKey = filterKeys[filterName];
|
|
113
127
|
|
|
114
|
-
if (
|
|
128
|
+
if (filterConfigEntry) {
|
|
129
|
+
// We have a direct mapping instruction, use it
|
|
130
|
+
var filterString = filterValues.map(function (v) {
|
|
131
|
+
var _filterConfigEntry$va, _filterConfigEntry$va2;
|
|
132
|
+
|
|
133
|
+
var fceValue = filterConfigEntry === null || filterConfigEntry === void 0 ? void 0 : (_filterConfigEntry$va = filterConfigEntry.values) === null || _filterConfigEntry$va === void 0 ? void 0 : (_filterConfigEntry$va2 = _filterConfigEntry$va.find(function (fce) {
|
|
134
|
+
return fce.name === v;
|
|
135
|
+
})) === null || _filterConfigEntry$va2 === void 0 ? void 0 : _filterConfigEntry$va2.value;
|
|
136
|
+
return "".concat(filterName, "==").concat(fceValue !== null && fceValue !== void 0 ? fceValue : v);
|
|
137
|
+
}).join('||');
|
|
138
|
+
paramsArray.push("filters=".concat(filterString));
|
|
139
|
+
} else if (!filterKey) {
|
|
115
140
|
// These filters have no key mapping so we just pass the values to the backend as-is.
|
|
116
141
|
paramsArray.push.apply(paramsArray, _toConsumableArray(filterValues === null || filterValues === void 0 ? void 0 : filterValues.map(function (f) {
|
|
117
142
|
return "filters=".concat(f);
|
|
118
143
|
})));
|
|
119
144
|
} else {
|
|
120
|
-
var
|
|
145
|
+
var _filterString = filterValues.map(function (v) {
|
|
121
146
|
return "".concat(filterKey, "==").concat(v);
|
|
122
147
|
}).join('||');
|
|
123
|
-
|
|
148
|
+
|
|
149
|
+
paramsArray.push("filters=".concat(_filterString));
|
|
124
150
|
}
|
|
125
151
|
});
|
|
126
152
|
}
|
|
@@ -169,4 +195,24 @@ var generateKiwtQueryParams = function generateKiwtQueryParams(options, nsValues
|
|
|
169
195
|
};
|
|
170
196
|
|
|
171
197
|
var _default = generateKiwtQueryParams;
|
|
172
|
-
|
|
198
|
+
var _default2 = _default;
|
|
199
|
+
exports.default = _default2;
|
|
200
|
+
;
|
|
201
|
+
|
|
202
|
+
(function () {
|
|
203
|
+
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
204
|
+
|
|
205
|
+
if (!reactHotLoader) {
|
|
206
|
+
return;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
reactHotLoader.register(generateKiwtQueryParams, "generateKiwtQueryParams", "/home/ethan/FolioModules/stripes-kint-components/src/lib/utils/generateKiwtQueryParams.js");
|
|
210
|
+
reactHotLoader.register(_default, "default", "/home/ethan/FolioModules/stripes-kint-components/src/lib/utils/generateKiwtQueryParams.js");
|
|
211
|
+
})();
|
|
212
|
+
|
|
213
|
+
;
|
|
214
|
+
|
|
215
|
+
(function () {
|
|
216
|
+
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
217
|
+
leaveModule && leaveModule(module);
|
|
218
|
+
})();
|
|
@@ -5,6 +5,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
|
|
8
|
+
(function () {
|
|
9
|
+
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
10
|
+
enterModule && enterModule(module);
|
|
11
|
+
})();
|
|
12
|
+
|
|
8
13
|
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
9
14
|
|
|
10
15
|
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."); }
|
|
@@ -23,6 +28,10 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
23
28
|
|
|
24
29
|
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; }
|
|
25
30
|
|
|
31
|
+
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
32
|
+
return a;
|
|
33
|
+
};
|
|
34
|
+
|
|
26
35
|
var groupCustomPropertiesByCtx = function groupCustomPropertiesByCtx() {
|
|
27
36
|
var customProperties = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
28
37
|
return customProperties.reduce(function (acc, curr) {
|
|
@@ -38,4 +47,24 @@ var groupCustomPropertiesByCtx = function groupCustomPropertiesByCtx() {
|
|
|
38
47
|
};
|
|
39
48
|
|
|
40
49
|
var _default = groupCustomPropertiesByCtx;
|
|
41
|
-
|
|
50
|
+
var _default2 = _default;
|
|
51
|
+
exports.default = _default2;
|
|
52
|
+
;
|
|
53
|
+
|
|
54
|
+
(function () {
|
|
55
|
+
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
56
|
+
|
|
57
|
+
if (!reactHotLoader) {
|
|
58
|
+
return;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
reactHotLoader.register(groupCustomPropertiesByCtx, "groupCustomPropertiesByCtx", "/home/ethan/FolioModules/stripes-kint-components/src/lib/utils/groupCustomPropertiesByCtx.js");
|
|
62
|
+
reactHotLoader.register(_default, "default", "/home/ethan/FolioModules/stripes-kint-components/src/lib/utils/groupCustomPropertiesByCtx.js");
|
|
63
|
+
})();
|
|
64
|
+
|
|
65
|
+
;
|
|
66
|
+
|
|
67
|
+
(function () {
|
|
68
|
+
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
69
|
+
leaveModule && leaveModule(module);
|
|
70
|
+
})();
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.highlightString = exports.boldString = void 0;
|
|
7
|
+
|
|
8
|
+
var _matchString5 = _interopRequireDefault(require("./matchString"));
|
|
9
|
+
|
|
10
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
11
|
+
|
|
12
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
|
+
|
|
14
|
+
(function () {
|
|
15
|
+
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
16
|
+
enterModule && enterModule(module);
|
|
17
|
+
})();
|
|
18
|
+
|
|
19
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
20
|
+
|
|
21
|
+
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."); }
|
|
22
|
+
|
|
23
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
24
|
+
|
|
25
|
+
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; }
|
|
26
|
+
|
|
27
|
+
function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
28
|
+
|
|
29
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
30
|
+
|
|
31
|
+
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
32
|
+
return a;
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
var highlightString = function highlightString(match, str) {
|
|
36
|
+
var ignoreNull = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
|
|
37
|
+
|
|
38
|
+
var _matchString = (0, _matchString5.default)(match, str, ignoreNull),
|
|
39
|
+
_matchString2 = _slicedToArray(_matchString, 2),
|
|
40
|
+
parts = _matchString2[0],
|
|
41
|
+
regex = _matchString2[1];
|
|
42
|
+
|
|
43
|
+
return parts.filter(function (part) {
|
|
44
|
+
return part;
|
|
45
|
+
}).map(function (part, i) {
|
|
46
|
+
return regex.test(part) ? /*#__PURE__*/(0, _jsxRuntime.jsx)("mark", {
|
|
47
|
+
children: part
|
|
48
|
+
}, i) : /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
49
|
+
children: part
|
|
50
|
+
}, i);
|
|
51
|
+
});
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
exports.highlightString = highlightString;
|
|
55
|
+
|
|
56
|
+
var boldString = function boldString(match, str) {
|
|
57
|
+
var ignoreNull = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
|
|
58
|
+
|
|
59
|
+
var _matchString3 = (0, _matchString5.default)(match, str, ignoreNull),
|
|
60
|
+
_matchString4 = _slicedToArray(_matchString3, 2),
|
|
61
|
+
parts = _matchString4[0],
|
|
62
|
+
regex = _matchString4[1];
|
|
63
|
+
|
|
64
|
+
return parts.filter(function (part) {
|
|
65
|
+
return part;
|
|
66
|
+
}).map(function (part, i) {
|
|
67
|
+
return regex.test(part) ? /*#__PURE__*/(0, _jsxRuntime.jsx)("strong", {
|
|
68
|
+
children: part
|
|
69
|
+
}, i) : /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
70
|
+
children: part
|
|
71
|
+
}, i);
|
|
72
|
+
});
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
exports.boldString = boldString;
|
|
76
|
+
;
|
|
77
|
+
|
|
78
|
+
(function () {
|
|
79
|
+
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
80
|
+
|
|
81
|
+
if (!reactHotLoader) {
|
|
82
|
+
return;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
reactHotLoader.register(highlightString, "highlightString", "/home/ethan/FolioModules/stripes-kint-components/src/lib/utils/highlightString.js");
|
|
86
|
+
reactHotLoader.register(boldString, "boldString", "/home/ethan/FolioModules/stripes-kint-components/src/lib/utils/highlightString.js");
|
|
87
|
+
})();
|
|
88
|
+
|
|
89
|
+
;
|
|
90
|
+
|
|
91
|
+
(function () {
|
|
92
|
+
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
93
|
+
leaveModule && leaveModule(module);
|
|
94
|
+
})();
|
package/es/lib/utils/index.js
CHANGED
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
+
Object.defineProperty(exports, "boldString", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function get() {
|
|
9
|
+
return _highlightString.boldString;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
6
12
|
Object.defineProperty(exports, "buildUrl", {
|
|
7
13
|
enumerable: true,
|
|
8
14
|
get: function get() {
|
|
@@ -27,6 +33,18 @@ Object.defineProperty(exports, "groupCustomPropertiesByCtx", {
|
|
|
27
33
|
return _groupCustomPropertiesByCtx.default;
|
|
28
34
|
}
|
|
29
35
|
});
|
|
36
|
+
Object.defineProperty(exports, "highlightString", {
|
|
37
|
+
enumerable: true,
|
|
38
|
+
get: function get() {
|
|
39
|
+
return _highlightString.highlightString;
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
Object.defineProperty(exports, "matchString", {
|
|
43
|
+
enumerable: true,
|
|
44
|
+
get: function get() {
|
|
45
|
+
return _matchString.default;
|
|
46
|
+
}
|
|
47
|
+
});
|
|
30
48
|
Object.defineProperty(exports, "refdataOptions", {
|
|
31
49
|
enumerable: true,
|
|
32
50
|
get: function get() {
|
|
@@ -92,4 +110,12 @@ var _sortByLabel = _interopRequireDefault(require("./sortByLabel"));
|
|
|
92
110
|
|
|
93
111
|
var _toCamelCase = _interopRequireDefault(require("./toCamelCase"));
|
|
94
112
|
|
|
95
|
-
|
|
113
|
+
var _matchString = _interopRequireDefault(require("./matchString"));
|
|
114
|
+
|
|
115
|
+
var _highlightString = require("./highlightString");
|
|
116
|
+
|
|
117
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
118
|
+
|
|
119
|
+
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
120
|
+
return a;
|
|
121
|
+
};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
|
|
8
|
+
var _escapeRegExp = _interopRequireDefault(require("lodash/escapeRegExp"));
|
|
9
|
+
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
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
|
+
|
|
21
|
+
var matchString = function matchString(match, str) {
|
|
22
|
+
var ignoreNull = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
|
|
23
|
+
var regex = new RegExp("".concat(match.split(/(\s+)/).filter(function (h) {
|
|
24
|
+
return h.trim();
|
|
25
|
+
}).map(function (hl) {
|
|
26
|
+
return '(' + (0, _escapeRegExp.default)(hl) + ')';
|
|
27
|
+
}).join('|')), 'gi');
|
|
28
|
+
|
|
29
|
+
if (ignoreNull && !match) {
|
|
30
|
+
var nullRegex = /a^/gi; // Should match nothing
|
|
31
|
+
|
|
32
|
+
return [[str], nullRegex];
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
return [str.split(regex), regex];
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
var _default = matchString;
|
|
39
|
+
var _default2 = _default;
|
|
40
|
+
exports.default = _default2;
|
|
41
|
+
;
|
|
42
|
+
|
|
43
|
+
(function () {
|
|
44
|
+
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
45
|
+
|
|
46
|
+
if (!reactHotLoader) {
|
|
47
|
+
return;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
reactHotLoader.register(matchString, "matchString", "/home/ethan/FolioModules/stripes-kint-components/src/lib/utils/matchString.js");
|
|
51
|
+
reactHotLoader.register(_default, "default", "/home/ethan/FolioModules/stripes-kint-components/src/lib/utils/matchString.js");
|
|
52
|
+
})();
|
|
53
|
+
|
|
54
|
+
;
|
|
55
|
+
|
|
56
|
+
(function () {
|
|
57
|
+
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
58
|
+
leaveModule && leaveModule(module);
|
|
59
|
+
})();
|
|
@@ -4,6 +4,16 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = 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
|
+
|
|
7
17
|
var _default = {
|
|
8
18
|
filterKeys: {
|
|
9
19
|
DescKey: 'desc'
|
|
@@ -11,4 +21,23 @@ var _default = {
|
|
|
11
21
|
stats: false,
|
|
12
22
|
max: 100
|
|
13
23
|
};
|
|
14
|
-
|
|
24
|
+
var _default2 = _default;
|
|
25
|
+
exports.default = _default2;
|
|
26
|
+
;
|
|
27
|
+
|
|
28
|
+
(function () {
|
|
29
|
+
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
30
|
+
|
|
31
|
+
if (!reactHotLoader) {
|
|
32
|
+
return;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
reactHotLoader.register(_default, "default", "/home/ethan/FolioModules/stripes-kint-components/src/lib/utils/refdataOptions.js");
|
|
36
|
+
})();
|
|
37
|
+
|
|
38
|
+
;
|
|
39
|
+
|
|
40
|
+
(function () {
|
|
41
|
+
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
42
|
+
leaveModule && leaveModule(module);
|
|
43
|
+
})();
|
|
@@ -5,6 +5,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
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
|
+
|
|
8
17
|
var refdataQueryKey = function refdataQueryKey(desc) {
|
|
9
18
|
var keyArray = ['stripes-kint-components', 'refdata'];
|
|
10
19
|
|
|
@@ -16,4 +25,24 @@ var refdataQueryKey = function refdataQueryKey(desc) {
|
|
|
16
25
|
};
|
|
17
26
|
|
|
18
27
|
var _default = refdataQueryKey;
|
|
19
|
-
|
|
28
|
+
var _default2 = _default;
|
|
29
|
+
exports.default = _default2;
|
|
30
|
+
;
|
|
31
|
+
|
|
32
|
+
(function () {
|
|
33
|
+
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
34
|
+
|
|
35
|
+
if (!reactHotLoader) {
|
|
36
|
+
return;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
reactHotLoader.register(refdataQueryKey, "refdataQueryKey", "/home/ethan/FolioModules/stripes-kint-components/src/lib/utils/refdataQueryKey.js");
|
|
40
|
+
reactHotLoader.register(_default, "default", "/home/ethan/FolioModules/stripes-kint-components/src/lib/utils/refdataQueryKey.js");
|
|
41
|
+
})();
|
|
42
|
+
|
|
43
|
+
;
|
|
44
|
+
|
|
45
|
+
(function () {
|
|
46
|
+
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
47
|
+
leaveModule && leaveModule(module);
|
|
48
|
+
})();
|
|
@@ -15,6 +15,15 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
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
|
+
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
24
|
+
return a;
|
|
25
|
+
};
|
|
26
|
+
|
|
18
27
|
var renderHelpText = function renderHelpText(id) {
|
|
19
28
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
20
29
|
className: _renderHelpText.default.help,
|
|
@@ -77,4 +86,24 @@ var renderHelpText = function renderHelpText(id) {
|
|
|
77
86
|
};
|
|
78
87
|
|
|
79
88
|
var _default = renderHelpText;
|
|
80
|
-
|
|
89
|
+
var _default2 = _default;
|
|
90
|
+
exports.default = _default2;
|
|
91
|
+
;
|
|
92
|
+
|
|
93
|
+
(function () {
|
|
94
|
+
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
95
|
+
|
|
96
|
+
if (!reactHotLoader) {
|
|
97
|
+
return;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
reactHotLoader.register(renderHelpText, "renderHelpText", "/home/ethan/FolioModules/stripes-kint-components/src/lib/utils/renderHelpText.js");
|
|
101
|
+
reactHotLoader.register(_default, "default", "/home/ethan/FolioModules/stripes-kint-components/src/lib/utils/renderHelpText.js");
|
|
102
|
+
})();
|
|
103
|
+
|
|
104
|
+
;
|
|
105
|
+
|
|
106
|
+
(function () {
|
|
107
|
+
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
108
|
+
leaveModule && leaveModule(module);
|
|
109
|
+
})();
|