@k-int/stripes-kint-components 1.7.0 → 1.7.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 +7 -0
- package/es/index.js +29 -49
- package/es/lib/ActionList/ActionList.js +28 -73
- package/es/lib/ActionList/ActionListFieldArray.js +97 -220
- package/es/lib/ActionList/index.js +2 -8
- package/es/lib/EditableRefdataList/EditableRefdataList.js +46 -134
- package/es/lib/EditableRefdataList/index.js +2 -8
- package/es/lib/EditableSettingsList/EditableSettingsList.js +11 -47
- package/es/lib/EditableSettingsList/EditableSettingsListFieldArray.js +16 -61
- package/es/lib/EditableSettingsList/EditableSettingsListFieldArray.test.js +62 -137
- package/es/lib/EditableSettingsList/SettingField/EditSettingValue.js +23 -91
- package/es/lib/EditableSettingsList/SettingField/EditSettingValue.test.js +103 -127
- package/es/lib/EditableSettingsList/SettingField/RenderSettingValue.js +19 -75
- package/es/lib/EditableSettingsList/SettingField/RenderSettingValue.test.js +188 -357
- package/es/lib/EditableSettingsList/SettingField/SettingField.js +39 -120
- package/es/lib/EditableSettingsList/SettingField/SettingField.test.js +61 -157
- package/es/lib/EditableSettingsList/SettingField/index.js +4 -12
- package/es/lib/EditableSettingsList/index.js +4 -12
- package/es/lib/NoResultsMessage/NoResultsMessage.js +24 -61
- package/es/lib/NoResultsMessage/index.js +2 -8
- package/es/lib/QueryTypedown/QueryTypedown.js +15 -89
- package/es/lib/QueryTypedown/index.js +2 -8
- package/es/lib/RefdataButtons/RefdataButtons.js +32 -85
- package/es/lib/RefdataButtons/index.js +2 -8
- package/es/lib/SASQLookupComponent/SASQLookupComponent.js +120 -227
- package/es/lib/SASQLookupComponent/index.js +2 -8
- package/es/lib/SASQRoute/SASQRoute.js +27 -76
- package/es/lib/SASQRoute/index.js +2 -8
- package/es/lib/SASQViewComponent/SASQViewComponent.js +28 -89
- package/es/lib/SASQViewComponent/index.js +2 -8
- package/es/lib/SearchField/SearchField.js +11 -61
- package/es/lib/SearchField/index.js +2 -8
- package/es/lib/SettingPage/SettingPage.js +17 -63
- package/es/lib/SettingPage/SettingPagePane.js +13 -58
- package/es/lib/SettingPage/index.js +3 -10
- package/es/lib/TypeDown/TypeDown.js +61 -132
- package/es/lib/TypeDown/index.js +2 -8
- package/es/lib/Typedown/Typedown.js +74 -153
- package/es/lib/Typedown/index.js +2 -8
- package/es/lib/constants/eventCodes.js +3 -36
- package/es/lib/contexts/SettingsContext.js +2 -34
- package/es/lib/contexts/index.js +2 -8
- package/es/lib/hooks/index.js +12 -27
- package/es/lib/hooks/settingsHooks/index.js +3 -10
- package/es/lib/hooks/settingsHooks/useSettingSection.js +16 -60
- package/es/lib/hooks/settingsHooks/useSettings.js +51 -130
- package/es/lib/hooks/typedownHooks/index.js +4 -12
- package/es/lib/hooks/typedownHooks/useTypedown.js +60 -114
- package/es/lib/hooks/typedownHooks/useTypedownData.js +13 -69
- package/es/lib/hooks/typedownHooks/useTypedownToggle.js +15 -71
- package/es/lib/hooks/useActiveElement.js +10 -63
- package/es/lib/hooks/useHelperApp.js +37 -111
- package/es/lib/hooks/useKiwtFieldArray.js +35 -101
- package/es/lib/hooks/useKiwtSASQuery.js +36 -107
- package/es/lib/hooks/useLocalStorageState.js +7 -69
- package/es/lib/hooks/useMutateRefdataValue.js +31 -115
- package/es/lib/hooks/useQIndex.js +17 -87
- package/es/lib/hooks/useRefdata.js +19 -65
- package/es/lib/hooks/useTemplates.js +16 -60
- package/es/lib/utils/buildUrl.js +11 -51
- package/es/lib/utils/generateKiwtQuery.js +4 -40
- package/es/lib/utils/generateKiwtQueryParams.js +38 -125
- package/es/lib/utils/index.js +9 -22
- package/es/lib/utils/refdataOptions.js +2 -32
- package/es/lib/utils/renderHelpText.js +32 -89
- package/es/lib/utils/selectorSafe.js +2 -34
- package/es/lib/utils/sortByLabel.js +4 -41
- package/es/lib/utils/toCamelCase.js +8 -42
- package/package.json +17 -3
- 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 -256
- package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionListFieldArray.js.html +0 -799
- 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/EditableRefdataList/EditableRefdataList.js.html +0 -376
- 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/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 -274
- 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 -250
- 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 -769
- 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/Typedown/Typedown.js.html +0 -790
- 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/eventCodes.js.html +0 -94
- package/src/artifacts/coverage-jest/lcov-report/constants/index.html +0 -116
- 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 -251
- package/src/artifacts/coverage-jest/lcov-report/hooks/index.js.html +0 -115
- 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/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/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 -401
- 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 -286
- package/src/artifacts/coverage-jest/lcov-report/utils/index.html +0 -236
- 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.info +0 -1999
|
@@ -4,151 +4,64 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
25
|
-
|
|
26
|
-
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."); }
|
|
27
|
-
|
|
28
|
-
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); }
|
|
29
|
-
|
|
30
|
-
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
31
|
-
|
|
32
|
-
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
|
33
|
-
|
|
34
|
-
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; }
|
|
35
|
-
|
|
36
|
-
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
37
|
-
|
|
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; }
|
|
39
|
-
|
|
40
|
-
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
41
|
-
return a;
|
|
42
|
-
};
|
|
43
|
-
|
|
44
|
-
var generateKiwtQueryParams = function generateKiwtQueryParams(options, nsValues) {
|
|
45
|
-
var qindex = nsValues.qindex,
|
|
46
|
-
query = nsValues.query,
|
|
47
|
-
filters = nsValues.filters,
|
|
48
|
-
sort = nsValues.sort;
|
|
49
|
-
|
|
50
|
-
var _options$searchKey = options.searchKey,
|
|
51
|
-
searchKey = _options$searchKey === void 0 ? '' : _options$searchKey,
|
|
52
|
-
_options$filterKeys = options.filterKeys,
|
|
53
|
-
filterKeys = _options$filterKeys === void 0 ? {} : _options$filterKeys,
|
|
54
|
-
_options$sortKeys = options.sortKeys,
|
|
55
|
-
sortKeys = _options$sortKeys === void 0 ? {} : _options$sortKeys,
|
|
56
|
-
_options$stats = options.stats,
|
|
57
|
-
stats = _options$stats === void 0 ? true : _options$stats,
|
|
58
|
-
rest = _objectWithoutProperties(options, _excluded);
|
|
59
|
-
|
|
60
|
-
var paramsArray = [];
|
|
61
|
-
|
|
7
|
+
const generateKiwtQueryParams = (options, nsValues) => {
|
|
8
|
+
const {
|
|
9
|
+
qindex,
|
|
10
|
+
query,
|
|
11
|
+
filters,
|
|
12
|
+
sort
|
|
13
|
+
} = nsValues;
|
|
14
|
+
const {
|
|
15
|
+
searchKey = '',
|
|
16
|
+
/* Assumtion made that if no filterKey is provided then the given filterValues for that key are standalaone, ie require no comparator or key */
|
|
17
|
+
filterKeys = {},
|
|
18
|
+
sortKeys = {},
|
|
19
|
+
stats = true,
|
|
20
|
+
...rest
|
|
21
|
+
} = options;
|
|
22
|
+
const paramsArray = [];
|
|
62
23
|
if (query) {
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
paramsArray.push.apply(paramsArray, _toConsumableArray((_split = (qindex || searchKey).split(',')) === null || _split === void 0 ? void 0 : _split.map(function (m) {
|
|
66
|
-
return "match=".concat(m);
|
|
67
|
-
})));
|
|
68
|
-
paramsArray.push("term=".concat(query));
|
|
24
|
+
paramsArray.push(...(qindex || searchKey).split(',')?.map(m => `match=${m}`));
|
|
25
|
+
paramsArray.push(`term=${query}`);
|
|
69
26
|
}
|
|
70
|
-
|
|
71
27
|
if (filters) {
|
|
72
|
-
|
|
73
|
-
filters.split(',').forEach(
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
filterName = _filter$split2[0],
|
|
77
|
-
filterRest = _filter$split2.slice(1);
|
|
78
|
-
|
|
79
|
-
var filterValue = filterRest.join('.');
|
|
28
|
+
const filterMap = {};
|
|
29
|
+
filters.split(',').forEach(filter => {
|
|
30
|
+
const [filterName, ...filterRest] = filter.split('.');
|
|
31
|
+
const filterValue = filterRest.join('.');
|
|
80
32
|
if (filterMap[filterName] === undefined) filterMap[filterName] = [];
|
|
81
33
|
filterMap[filterName].push(filterValue);
|
|
82
|
-
});
|
|
83
|
-
|
|
84
|
-
Object.entries(filterMap).forEach(function (_ref) {
|
|
85
|
-
var _ref2 = _slicedToArray(_ref, 2),
|
|
86
|
-
filterName = _ref2[0],
|
|
87
|
-
filterValues = _ref2[1];
|
|
88
|
-
|
|
89
|
-
var filterKey = filterKeys[filterName];
|
|
34
|
+
});
|
|
90
35
|
|
|
36
|
+
// We now have a filterMap of shape { status: ['active', 'cancelled'], type: ['local'] }
|
|
37
|
+
Object.entries(filterMap).forEach(_ref => {
|
|
38
|
+
let [filterName, filterValues] = _ref;
|
|
39
|
+
const filterKey = filterKeys[filterName];
|
|
91
40
|
if (!filterKey) {
|
|
92
41
|
// These filters have no key mapping so we just pass the values to the backend as-is.
|
|
93
|
-
paramsArray.push
|
|
94
|
-
return "filters=".concat(f);
|
|
95
|
-
})));
|
|
42
|
+
paramsArray.push(...filterValues?.map(f => `filters=${f}`));
|
|
96
43
|
} else {
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
}).join('||');
|
|
100
|
-
paramsArray.push("filters=".concat(filterString));
|
|
44
|
+
const filterString = filterValues.map(v => `${filterKey}==${v}`).join('||');
|
|
45
|
+
paramsArray.push(`filters=${filterString}`);
|
|
101
46
|
}
|
|
102
47
|
});
|
|
103
48
|
}
|
|
104
|
-
|
|
105
49
|
if (sort) {
|
|
106
|
-
paramsArray.push
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
50
|
+
paramsArray.push(...sort.split(',').map(sortKey => {
|
|
51
|
+
const descending = sortKey.startsWith('-');
|
|
52
|
+
let term = sortKey.replace('-', '');
|
|
110
53
|
if (term in sortKeys) {
|
|
111
54
|
term = term.replace(term, sortKeys[term]);
|
|
112
55
|
}
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
})));
|
|
56
|
+
return `sort=${term};${descending ? 'desc' : 'asc'}`;
|
|
57
|
+
}));
|
|
116
58
|
}
|
|
117
|
-
|
|
118
59
|
if (stats) {
|
|
119
60
|
paramsArray.push('stats=true');
|
|
120
61
|
}
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
var _Object$entries$_i = _slicedToArray(_Object$entries[_i2], 2),
|
|
124
|
-
key = _Object$entries$_i[0],
|
|
125
|
-
value = _Object$entries$_i[1];
|
|
126
|
-
|
|
127
|
-
paramsArray.push("".concat(key, "=").concat(value));
|
|
62
|
+
for (const [key, value] of Object.entries(rest)) {
|
|
63
|
+
paramsArray.push(`${key}=${value}`);
|
|
128
64
|
}
|
|
129
|
-
|
|
130
65
|
return paramsArray;
|
|
131
66
|
};
|
|
132
|
-
|
|
133
|
-
var _default = generateKiwtQueryParams;
|
|
134
|
-
var _default2 = _default;
|
|
135
|
-
exports.default = _default2;
|
|
136
|
-
;
|
|
137
|
-
|
|
138
|
-
(function () {
|
|
139
|
-
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
140
|
-
|
|
141
|
-
if (!reactHotLoader) {
|
|
142
|
-
return;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
reactHotLoader.register(generateKiwtQueryParams, "generateKiwtQueryParams", "/home/ethan/FolioModules/stripes-kint-components/src/lib/utils/generateKiwtQueryParams.js");
|
|
146
|
-
reactHotLoader.register(_default, "default", "/home/ethan/FolioModules/stripes-kint-components/src/lib/utils/generateKiwtQueryParams.js");
|
|
147
|
-
})();
|
|
148
|
-
|
|
149
|
-
;
|
|
150
|
-
|
|
151
|
-
(function () {
|
|
152
|
-
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
153
|
-
leaveModule && leaveModule(module);
|
|
154
|
-
})();
|
|
67
|
+
var _default = exports.default = generateKiwtQueryParams;
|
package/es/lib/utils/index.js
CHANGED
|
@@ -5,71 +5,58 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
Object.defineProperty(exports, "buildUrl", {
|
|
7
7
|
enumerable: true,
|
|
8
|
-
get: function
|
|
8
|
+
get: function () {
|
|
9
9
|
return _buildUrl.default;
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "generateKiwtQuery", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function
|
|
14
|
+
get: function () {
|
|
15
15
|
return _generateKiwtQuery.default;
|
|
16
16
|
}
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "generateKiwtQueryParams", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function
|
|
20
|
+
get: function () {
|
|
21
21
|
return _generateKiwtQueryParams.default;
|
|
22
22
|
}
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "refdataOptions", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function
|
|
26
|
+
get: function () {
|
|
27
27
|
return _refdataOptions.default;
|
|
28
28
|
}
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "renderHelpText", {
|
|
31
31
|
enumerable: true,
|
|
32
|
-
get: function
|
|
32
|
+
get: function () {
|
|
33
33
|
return _renderHelpText.default;
|
|
34
34
|
}
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "selectorSafe", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function
|
|
38
|
+
get: function () {
|
|
39
39
|
return _selectorSafe.default;
|
|
40
40
|
}
|
|
41
41
|
});
|
|
42
42
|
Object.defineProperty(exports, "sortByLabel", {
|
|
43
43
|
enumerable: true,
|
|
44
|
-
get: function
|
|
44
|
+
get: function () {
|
|
45
45
|
return _sortByLabel.default;
|
|
46
46
|
}
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "toCamelCase", {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function
|
|
50
|
+
get: function () {
|
|
51
51
|
return _toCamelCase.default;
|
|
52
52
|
}
|
|
53
53
|
});
|
|
54
|
-
|
|
55
54
|
var _generateKiwtQuery = _interopRequireDefault(require("./generateKiwtQuery"));
|
|
56
|
-
|
|
57
55
|
var _generateKiwtQueryParams = _interopRequireDefault(require("./generateKiwtQueryParams"));
|
|
58
|
-
|
|
59
56
|
var _selectorSafe = _interopRequireDefault(require("./selectorSafe"));
|
|
60
|
-
|
|
61
57
|
var _buildUrl = _interopRequireDefault(require("./buildUrl"));
|
|
62
|
-
|
|
63
58
|
var _refdataOptions = _interopRequireDefault(require("./refdataOptions"));
|
|
64
|
-
|
|
65
59
|
var _renderHelpText = _interopRequireDefault(require("./renderHelpText"));
|
|
66
|
-
|
|
67
60
|
var _sortByLabel = _interopRequireDefault(require("./sortByLabel"));
|
|
68
|
-
|
|
69
61
|
var _toCamelCase = _interopRequireDefault(require("./toCamelCase"));
|
|
70
|
-
|
|
71
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
72
|
-
|
|
73
|
-
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
74
|
-
return a;
|
|
75
|
-
}; // I hate that this exists
|
|
62
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
@@ -4,40 +4,10 @@ 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
|
-
|
|
17
|
-
var _default = {
|
|
7
|
+
var _default = exports.default = {
|
|
18
8
|
filterKeys: {
|
|
19
9
|
DescKey: 'desc'
|
|
20
10
|
},
|
|
21
11
|
stats: false,
|
|
22
12
|
max: 100
|
|
23
|
-
};
|
|
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
|
-
})();
|
|
13
|
+
};
|
|
@@ -4,106 +4,49 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
|
|
8
7
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
|
|
10
8
|
var _reactIntl = require("react-intl");
|
|
11
|
-
|
|
12
9
|
var _renderHelpText = _interopRequireDefault(require("../../../styles/renderHelpText.css"));
|
|
13
|
-
|
|
14
10
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
15
|
-
|
|
16
11
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
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
|
-
|
|
27
|
-
var renderHelpText = function renderHelpText(id) {
|
|
12
|
+
const renderHelpText = id => {
|
|
28
13
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
29
14
|
className: _renderHelpText.default.help,
|
|
30
15
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactIntl.FormattedMessage, {
|
|
31
16
|
id: id,
|
|
32
17
|
values: {
|
|
33
|
-
b:
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
},
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
}
|
|
63
|
-
p: function p(chunks) {
|
|
64
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)("p", {
|
|
65
|
-
children: chunks
|
|
66
|
-
});
|
|
67
|
-
},
|
|
68
|
-
ul: function ul(chunks) {
|
|
69
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)("ul", {
|
|
70
|
-
children: chunks
|
|
71
|
-
});
|
|
72
|
-
},
|
|
73
|
-
ol: function ol(chunks) {
|
|
74
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)("ol", {
|
|
75
|
-
children: chunks
|
|
76
|
-
});
|
|
77
|
-
},
|
|
78
|
-
li: function li(chunks) {
|
|
79
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)("li", {
|
|
80
|
-
children: chunks
|
|
81
|
-
});
|
|
82
|
-
}
|
|
18
|
+
b: chunks => /*#__PURE__*/(0, _jsxRuntime.jsx)("b", {
|
|
19
|
+
children: chunks
|
|
20
|
+
}),
|
|
21
|
+
i: chunks => /*#__PURE__*/(0, _jsxRuntime.jsx)("i", {
|
|
22
|
+
children: chunks
|
|
23
|
+
}),
|
|
24
|
+
em: chunks => /*#__PURE__*/(0, _jsxRuntime.jsx)("em", {
|
|
25
|
+
children: chunks
|
|
26
|
+
}),
|
|
27
|
+
strong: chunks => /*#__PURE__*/(0, _jsxRuntime.jsx)("strong", {
|
|
28
|
+
children: chunks
|
|
29
|
+
}),
|
|
30
|
+
span: chunks => /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
31
|
+
children: chunks
|
|
32
|
+
}),
|
|
33
|
+
div: chunks => /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
34
|
+
children: chunks
|
|
35
|
+
}),
|
|
36
|
+
p: chunks => /*#__PURE__*/(0, _jsxRuntime.jsx)("p", {
|
|
37
|
+
children: chunks
|
|
38
|
+
}),
|
|
39
|
+
ul: chunks => /*#__PURE__*/(0, _jsxRuntime.jsx)("ul", {
|
|
40
|
+
children: chunks
|
|
41
|
+
}),
|
|
42
|
+
ol: chunks => /*#__PURE__*/(0, _jsxRuntime.jsx)("ol", {
|
|
43
|
+
children: chunks
|
|
44
|
+
}),
|
|
45
|
+
li: chunks => /*#__PURE__*/(0, _jsxRuntime.jsx)("li", {
|
|
46
|
+
children: chunks
|
|
47
|
+
})
|
|
83
48
|
}
|
|
84
49
|
})
|
|
85
50
|
});
|
|
86
51
|
};
|
|
87
|
-
|
|
88
|
-
var _default = renderHelpText;
|
|
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
|
-
})();
|
|
52
|
+
var _default = exports.default = renderHelpText;
|
|
@@ -4,39 +4,7 @@ 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
|
-
|
|
17
|
-
var selectorSafe = function selectorSafe(string) {
|
|
7
|
+
const selectorSafe = string => {
|
|
18
8
|
return string.replaceAll(/[^a-zA-Z0-9\-_]/g, '_');
|
|
19
9
|
};
|
|
20
|
-
|
|
21
|
-
var _default = selectorSafe;
|
|
22
|
-
var _default2 = _default;
|
|
23
|
-
exports.default = _default2;
|
|
24
|
-
;
|
|
25
|
-
|
|
26
|
-
(function () {
|
|
27
|
-
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
28
|
-
|
|
29
|
-
if (!reactHotLoader) {
|
|
30
|
-
return;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
reactHotLoader.register(selectorSafe, "selectorSafe", "/home/ethan/FolioModules/stripes-kint-components/src/lib/utils/selectorSafe.js");
|
|
34
|
-
reactHotLoader.register(_default, "default", "/home/ethan/FolioModules/stripes-kint-components/src/lib/utils/selectorSafe.js");
|
|
35
|
-
})();
|
|
36
|
-
|
|
37
|
-
;
|
|
38
|
-
|
|
39
|
-
(function () {
|
|
40
|
-
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
41
|
-
leaveModule && leaveModule(module);
|
|
42
|
-
})();
|
|
10
|
+
var _default = exports.default = selectorSafe;
|
|
@@ -4,52 +4,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
|
|
8
|
-
(
|
|
9
|
-
|
|
10
|
-
enterModule && enterModule(module);
|
|
11
|
-
})();
|
|
12
|
-
|
|
13
|
-
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
14
|
-
return a;
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
var sortByLabel = function sortByLabel(a, b) {
|
|
18
|
-
var _a$label$toLowerCase, _a$label, _a$id, _b$label$toLowerCase, _b$label, _b$id;
|
|
19
|
-
|
|
20
|
-
var al = (_a$label$toLowerCase = (_a$label = a.label) === null || _a$label === void 0 ? void 0 : _a$label.toLowerCase()) !== null && _a$label$toLowerCase !== void 0 ? _a$label$toLowerCase : (_a$id = a.id) === null || _a$id === void 0 ? void 0 : _a$id.toLowerCase();
|
|
21
|
-
var bl = (_b$label$toLowerCase = (_b$label = b.label) === null || _b$label === void 0 ? void 0 : _b$label.toLowerCase()) !== null && _b$label$toLowerCase !== void 0 ? _b$label$toLowerCase : (_b$id = b.id) === null || _b$id === void 0 ? void 0 : _b$id.toLowerCase();
|
|
22
|
-
|
|
7
|
+
const sortByLabel = (a, b) => {
|
|
8
|
+
const al = a.label?.toLowerCase() ?? a.id?.toLowerCase();
|
|
9
|
+
const bl = b.label?.toLowerCase() ?? b.id?.toLowerCase();
|
|
23
10
|
if (al < bl) {
|
|
24
11
|
return -1;
|
|
25
12
|
}
|
|
26
|
-
|
|
27
13
|
if (al > bl) {
|
|
28
14
|
return 1;
|
|
29
15
|
}
|
|
30
|
-
|
|
31
16
|
return 0;
|
|
32
17
|
};
|
|
33
|
-
|
|
34
|
-
var _default = sortByLabel;
|
|
35
|
-
var _default2 = _default;
|
|
36
|
-
exports.default = _default2;
|
|
37
|
-
;
|
|
38
|
-
|
|
39
|
-
(function () {
|
|
40
|
-
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
41
|
-
|
|
42
|
-
if (!reactHotLoader) {
|
|
43
|
-
return;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
reactHotLoader.register(sortByLabel, "sortByLabel", "/home/ethan/FolioModules/stripes-kint-components/src/lib/utils/sortByLabel.js");
|
|
47
|
-
reactHotLoader.register(_default, "default", "/home/ethan/FolioModules/stripes-kint-components/src/lib/utils/sortByLabel.js");
|
|
48
|
-
})();
|
|
49
|
-
|
|
50
|
-
;
|
|
51
|
-
|
|
52
|
-
(function () {
|
|
53
|
-
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
54
|
-
leaveModule && leaveModule(module);
|
|
55
|
-
})();
|
|
18
|
+
var _default = exports.default = sortByLabel;
|
|
@@ -4,45 +4,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
var toCamelCase = function toCamelCase(str) {
|
|
18
|
-
return (// First split string on any capital letters
|
|
19
|
-
str.split(/(?=[A-Z])/).join(' ') // Remove all non alpha-numeric chars, and replace _ with ' '
|
|
20
|
-
.replace(/[_]/gi, ' ').replace(/[^0-9a-zA-Z\s]/gi, '') // CamelCase the remains
|
|
21
|
-
.replace(/(?:^\w|[A-Z]|\b\w)/g, function (ltr, idx) {
|
|
22
|
-
return idx === 0 ? ltr.toLowerCase() : ltr.toUpperCase();
|
|
23
|
-
}).replace(/\s+/g, '')
|
|
24
|
-
);
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
var _default = toCamelCase;
|
|
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(toCamelCase, "toCamelCase", "/home/ethan/FolioModules/stripes-kint-components/src/lib/utils/toCamelCase.js");
|
|
40
|
-
reactHotLoader.register(_default, "default", "/home/ethan/FolioModules/stripes-kint-components/src/lib/utils/toCamelCase.js");
|
|
41
|
-
})();
|
|
42
|
-
|
|
43
|
-
;
|
|
44
|
-
|
|
45
|
-
(function () {
|
|
46
|
-
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
47
|
-
leaveModule && leaveModule(module);
|
|
48
|
-
})();
|
|
7
|
+
const toCamelCase = str =>
|
|
8
|
+
// First split string on any capital letters
|
|
9
|
+
str.split(/(?=[A-Z])/).join(' ')
|
|
10
|
+
// Remove all non alpha-numeric chars, and replace _ with ' '
|
|
11
|
+
.replace(/[_]/gi, ' ').replace(/[^0-9a-zA-Z\s]/gi, '')
|
|
12
|
+
// CamelCase the remains
|
|
13
|
+
.replace(/(?:^\w|[A-Z]|\b\w)/g, (ltr, idx) => idx === 0 ? ltr.toLowerCase() : ltr.toUpperCase()).replace(/\s+/g, '');
|
|
14
|
+
var _default = exports.default = toCamelCase;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@k-int/stripes-kint-components",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.1",
|
|
4
4
|
"description": "Stripes Component library for K-Int specific applications",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"*.css"
|
|
@@ -17,7 +17,11 @@
|
|
|
17
17
|
"build": "yarn build:es",
|
|
18
18
|
"clean": "rm -rf ./node_modules ./*/node_modules ./yarn.lock && yarn install",
|
|
19
19
|
"clean-build": "yarn clean && yarn build",
|
|
20
|
-
"prepare": "yarn build"
|
|
20
|
+
"prepare": "yarn build",
|
|
21
|
+
"semantic-release": "semantic-release"
|
|
22
|
+
},
|
|
23
|
+
"publishConfig": {
|
|
24
|
+
"access": "public"
|
|
21
25
|
},
|
|
22
26
|
"dependencies": {
|
|
23
27
|
"react-resize-detector": "^6.7.6",
|
|
@@ -62,7 +66,17 @@
|
|
|
62
66
|
"react-router-dom": "^5.2.0",
|
|
63
67
|
"@folio/stripes": ">=7.0.3",
|
|
64
68
|
"react-intl": ">=5.8.1",
|
|
65
|
-
"
|
|
69
|
+
"redux": "^4.0.0",
|
|
70
|
+
"redux-observable": "^1.2.0",
|
|
71
|
+
"regenerator-runtime": "^0.13.9",
|
|
72
|
+
"rxjs": "^6.6.3",
|
|
73
|
+
"sinon": "^14.0.0",
|
|
74
|
+
"typescript": "^2.8.0",
|
|
75
|
+
"@semantic-release/git": "^10.0.1",
|
|
76
|
+
"@semantic-release/gitlab": "^12.0.6",
|
|
77
|
+
"@semantic-release/npm": "^11.0.0",
|
|
78
|
+
"@semantic-release/changelog": "^6.0.3",
|
|
79
|
+
"semantic-release": "^22.0.5"
|
|
66
80
|
},
|
|
67
81
|
"peerDependencies": {
|
|
68
82
|
"@folio/stripes": ">=7.0.3",
|