@k-int/stripes-kint-components 5.1.3 → 5.2.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 +23 -7
- package/README.md +3 -1
- package/es/lib/constants/comparators.js +6 -1
- package/es/lib/utils/filterParsers/deparseKiwtQueryFilters.js +2 -2
- package/es/lib/utils/filterParsers/parseKiwtQueryString.js +1 -1
- package/package.json +13 -4
- package/src/lib/constants/comparators.js +10 -6
- package/src/lib/utils/filterParsers/deparseKiwtQueryFilters.js +2 -2
- package/src/lib/utils/filterParsers/parseKiwtQueryString.js +0 -1
- package/es/artifacts/coverage-jest/lcov-report/block-navigation.js +0 -69
- package/es/artifacts/coverage-jest/lcov-report/prettify.js +0 -814
- package/es/artifacts/coverage-jest/lcov-report/sorter.js +0 -181
- package/junit.xml +0 -293
- package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionList.js.html +0 -373
- package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionListFieldArray.js.html +0 -1468
- 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/ComboButton/ComboButton.js.html +0 -568
- package/src/artifacts/coverage-jest/lcov-report/ComboButton/index.html +0 -131
- package/src/artifacts/coverage-jest/lcov-report/ComboButton/index.js.html +0 -88
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertiesLookup.js.html +0 -667
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertiesSettings.js.html +0 -1240
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertyForm.js.html +0 -1474
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertyView.js.html +0 -733
- 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/CustomProperties/Config/testResources.js.html +0 -793
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertiesEdit.js.html +0 -208
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertiesEditCtx.js.html +0 -352
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertiesListField.js.html +0 -835
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertyField.js.html +0 -1300
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertyFormCard.js.html +0 -454
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/index.html +0 -206
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/index.js.html +0 -100
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/testResources.js.html +0 -271
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilter.js.html +0 -499
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterField.js.html +0 -568
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterFieldArray.js.html +0 -415
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterForm.js.html +0 -340
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesRule.js.html +0 -502
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/index.html +0 -251
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/index.js.html +0 -103
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/testResources.js.html +0 -223
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useOperators.js.html +0 -271
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useParseActiveFilterStrings.js.html +0 -199
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useValueProps.js.html +0 -253
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertiesView.js.html +0 -211
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertiesViewCtx.js.html +0 -445
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertyCard.js.html +0 -619
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/index.html +0 -176
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/index.js.html +0 -94
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/testResources.js.html +0 -571
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/index.html +0 -116
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/index.js.html +0 -175
- package/src/artifacts/coverage-jest/lcov-report/CycleButton/CycleButton.js.html +0 -217
- package/src/artifacts/coverage-jest/lcov-report/CycleButton/index.html +0 -131
- package/src/artifacts/coverage-jest/lcov-report/CycleButton/index.js.html +0 -88
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataCategoryList/EditableRefdataCategoryList.js.html +0 -751
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataCategoryList/index.html +0 -131
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataCategoryList/index.js.html +0 -88
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/EditableRefdataList.js.html +0 -853
- 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 -280
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/EditableSettingsListFieldArray.js.html +0 -259
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/EditSettingValue.js.html +0 -412
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/RenderSettingValue.js.html +0 -313
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/SettingField.js.html +0 -574
- 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 -379
- 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/FormattedKintMessage/FormattedKintMessage.js.html +0 -247
- package/src/artifacts/coverage-jest/lcov-report/FormattedKintMessage/index.html +0 -131
- package/src/artifacts/coverage-jest/lcov-report/FormattedKintMessage/index.js.html +0 -88
- package/src/artifacts/coverage-jest/lcov-report/IconSelect/IconSelect.js.html +0 -508
- package/src/artifacts/coverage-jest/lcov-report/IconSelect/index.html +0 -131
- package/src/artifacts/coverage-jest/lcov-report/IconSelect/index.js.html +0 -88
- package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/NoResultsMessage.js.html +0 -361
- 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 -205
- 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/ResponsiveButtonGroup/ResponsiveButtonGroup.js.html +0 -580
- package/src/artifacts/coverage-jest/lcov-report/ResponsiveButtonGroup/index.html +0 -146
- package/src/artifacts/coverage-jest/lcov-report/ResponsiveButtonGroup/index.js.html +0 -88
- package/src/artifacts/coverage-jest/lcov-report/ResponsiveButtonGroup/useResponsiveButtonGroupSizing.js.html +0 -301
- package/src/artifacts/coverage-jest/lcov-report/RichSelect/RichSelect.js.html +0 -718
- package/src/artifacts/coverage-jest/lcov-report/RichSelect/index.html +0 -146
- package/src/artifacts/coverage-jest/lcov-report/RichSelect/index.js.html +0 -91
- package/src/artifacts/coverage-jest/lcov-report/RichSelect/useSelectedOption.js.html +0 -127
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/SASQLookupComponent.js.html +0 -1069
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/TableBody.js.html +0 -400
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/index.html +0 -131
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/index.js.html +0 -88
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/index.html +0 -131
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/index.js.html +0 -91
- package/src/artifacts/coverage-jest/lcov-report/SASQRoute/SASQRoute.js.html +0 -346
- 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 -307
- 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 -220
- package/src/artifacts/coverage-jest/lcov-report/SettingPage/SettingPagePane.js.html +0 -208
- 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/SettingsFormContainer/SettingsFormContainer.js.html +0 -409
- package/src/artifacts/coverage-jest/lcov-report/SettingsFormContainer/index.html +0 -131
- package/src/artifacts/coverage-jest/lcov-report/SettingsFormContainer/index.js.html +0 -88
- package/src/artifacts/coverage-jest/lcov-report/Typedown/Typedown.js.html +0 -913
- 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/comparators.js.html +0 -124
- package/src/artifacts/coverage-jest/lcov-report/constants/customProperties.js.html +0 -121
- package/src/artifacts/coverage-jest/lcov-report/constants/endpoints.js.html +0 -91
- package/src/artifacts/coverage-jest/lcov-report/constants/eventCodes.js.html +0 -94
- package/src/artifacts/coverage-jest/lcov-report/constants/index.html +0 -161
- 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 -401
- package/src/artifacts/coverage-jest/lcov-report/hooks/index.js.html +0 -142
- package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/index.html +0 -161
- package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/index.js.html +0 -94
- package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useAppSettings.js.html +0 -292
- package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useSettingSection.js.html +0 -214
- package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useSettings.js.html +0 -463
- 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 -181
- 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/useAvailableCustomProperties.js.html +0 -205
- package/src/artifacts/coverage-jest/lcov-report/hooks/useCustomProperties.js.html +0 -325
- package/src/artifacts/coverage-jest/lcov-report/hooks/useHelperApp.js.html +0 -295
- package/src/artifacts/coverage-jest/lcov-report/hooks/useIntlKey.js.html +0 -151
- package/src/artifacts/coverage-jest/lcov-report/hooks/useIntlKeyStore.js.html +0 -199
- package/src/artifacts/coverage-jest/lcov-report/hooks/useInvalidateRefdata.js.html +0 -118
- package/src/artifacts/coverage-jest/lcov-report/hooks/useKintIntl.js.html +0 -238
- 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 -196
- package/src/artifacts/coverage-jest/lcov-report/hooks/useLocalStorageState.js.html +0 -136
- package/src/artifacts/coverage-jest/lcov-report/hooks/useModConfigEntries.js.html +0 -226
- package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateCustomProperties.js.html +0 -283
- package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateModConfigEntry.js.html +0 -238
- package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateRefdataCategory.js.html +0 -274
- package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateRefdataValue.js.html +0 -322
- 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 -265
- package/src/artifacts/coverage-jest/lcov-report/hooks/useSASQQueryMeta.js.html +0 -187
- package/src/artifacts/coverage-jest/lcov-report/hooks/useTemplates.js.html +0 -166
- package/src/artifacts/coverage-jest/lcov-report/index.html +0 -641
- 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/settingsHooks/index.html +0 -161
- package/src/artifacts/coverage-jest/lcov-report/settingsHooks/index.js.html +0 -94
- package/src/artifacts/coverage-jest/lcov-report/settingsHooks/useAppSettings.js.html +0 -292
- package/src/artifacts/coverage-jest/lcov-report/settingsHooks/useSettingSection.js.html +0 -211
- package/src/artifacts/coverage-jest/lcov-report/settingsHooks/useSettings.js.html +0 -466
- 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 -181
- package/src/artifacts/coverage-jest/lcov-report/utils/filterParsers/deparseKiwtQueryFilters.js.html +0 -181
- package/src/artifacts/coverage-jest/lcov-report/utils/filterParsers/index.html +0 -176
- package/src/artifacts/coverage-jest/lcov-report/utils/filterParsers/index.js.html +0 -124
- package/src/artifacts/coverage-jest/lcov-report/utils/filterParsers/parseKiwtQueryFilters.js.html +0 -211
- package/src/artifacts/coverage-jest/lcov-report/utils/filterParsers/parseKiwtQueryGroups.js.html +0 -367
- package/src/artifacts/coverage-jest/lcov-report/utils/filterParsers/parseKiwtQueryString.js.html +0 -184
- 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 -637
- package/src/artifacts/coverage-jest/lcov-report/utils/groupCustomPropertiesByCtx.js.html +0 -124
- package/src/artifacts/coverage-jest/lcov-report/utils/highlightString.js.html +0 -211
- package/src/artifacts/coverage-jest/lcov-report/utils/index.html +0 -341
- package/src/artifacts/coverage-jest/lcov-report/utils/index.js.html +0 -190
- package/src/artifacts/coverage-jest/lcov-report/utils/matchString.js.html +0 -127
- package/src/artifacts/coverage-jest/lcov-report/utils/modConfigEntriesQueryKey.js.html +0 -142
- package/src/artifacts/coverage-jest/lcov-report/utils/parseErrorResponse.js.html +0 -142
- package/src/artifacts/coverage-jest/lcov-report/utils/parseKiwtQueryGroups.js.html +0 -361
- package/src/artifacts/coverage-jest/lcov-report/utils/parseModConfigEntry.js.html +0 -130
- package/src/artifacts/coverage-jest/lcov-report/utils/refdataOptions.js.html +0 -109
- package/src/artifacts/coverage-jest/lcov-report/utils/refdataQueryKey.js.html +0 -112
- 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 -145
- 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/typedownQueryKey.js.html +0 -112
- package/src/artifacts/coverage-jest/lcov-report/utils/validators.js.html +0 -370
- package/src/artifacts/coverage-jest/lcov-report/validators/index.html +0 -131
- package/src/artifacts/coverage-jest/lcov-report/validators/index.js.html +0 -88
- package/src/artifacts/coverage-jest/lcov-report/validators/validators.js.html +0 -370
- package/src/artifacts/coverage-jest/lcov.info +0 -5423
- package/yarn-error.log +0 -129
package/CHANGELOG.md
CHANGED
|
@@ -1,13 +1,29 @@
|
|
|
1
|
-
## 5.1.
|
|
2
|
-
* ERM-3055 For custom properties with a pick list, "Not set" should always appear first in the list
|
|
1
|
+
## [5.2.1](https://gitlab.com/knowledge-integration/folio/stripes-kint-components/compare/v5.2.0...v5.2.1) (2023-10-31)
|
|
3
2
|
|
|
4
|
-
## 5.1.2 2023-10-06
|
|
5
|
-
* CustomPropertyEdit
|
|
6
|
-
* Added sorting by label to refdata type custom property options
|
|
7
3
|
|
|
8
|
-
|
|
9
|
-
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* Do not add a space after search operator when doing groupings ([969a887](https://gitlab.com/knowledge-integration/folio/stripes-kint-components/commit/969a887861b6286162ab6c48e4bb492f3cd508c4))
|
|
7
|
+
|
|
8
|
+
# [5.2.0](https://gitlab.com/knowledge-integration/folio/stripes-kint-components/compare/v5.1.0...v5.2.0) (2023-10-23)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
10
12
|
|
|
13
|
+
* add semantic release script to package.json ([834206b](https://gitlab.com/knowledge-integration/folio/stripes-kint-components/commit/834206b41d67e9931ad9d02dc706d35f37b816c7))
|
|
14
|
+
* Sorting ([6c7d321](https://gitlab.com/knowledge-integration/folio/stripes-kint-components/commit/6c7d321a92cca6209be114cc2495b346d9c6c7ee))
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* Added comparator ([e955e4e](https://gitlab.com/knowledge-integration/folio/stripes-kint-components/commit/e955e4ee593208b1ae2a30f5603e9fb3d1469a67))
|
|
20
|
+
* **build:** Cause a bump to 5.2 and update reade ([582333d](https://gitlab.com/knowledge-integration/folio/stripes-kint-components/commit/582333d46fcd489ea01a820199fbffeef7ce7280))
|
|
21
|
+
* CustomPropertyField multi-value ([1fb183d](https://gitlab.com/knowledge-integration/folio/stripes-kint-components/commit/1fb183d9792947a6180a4a9d013ac33900d89dad))
|
|
22
|
+
|
|
23
|
+
## 5.2.0 In progress
|
|
24
|
+
* comparators - added !~ (Does not contain) comparator to constants array
|
|
25
|
+
* CustomPropertyEdit
|
|
26
|
+
* Added sorting by label to refdata type custom property options
|
|
11
27
|
## 5.1.0 2023-09-26
|
|
12
28
|
* KIWT filter parsers
|
|
13
29
|
* parseKiwtQueryFilters - will parse grouped KIWT query strings into structured array
|
package/README.md
CHANGED
|
@@ -43,4 +43,6 @@ Release major | Latest release | Flower releases present in (ERM) | Flower compa
|
|
|
43
43
|
v1 | 1.7.0 | Lotus | Kiwi - Morning Glory |
|
|
44
44
|
v2 | 2.8.6 | Morning Glory | Kiwi - Morning Glory |
|
|
45
45
|
v3 | 3.2.3 | Nolana | Morning Glory - Nolana |
|
|
46
|
-
v4 | 4.7.0 | Orchid | Morning Glory - Orchid+ |
|
|
46
|
+
v4 | 4.7.0 | Orchid | Morning Glory - Orchid+ |
|
|
47
|
+
v5 | 5.1.3 | Poppy | Morning Glory - Poppy+ |
|
|
48
|
+
|
|
@@ -4,4 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
var _default = exports.default = ['==', '!=', '=~', '!~', '=i=',
|
|
7
|
+
var _default = exports.default = ['==', '!=', '=~', '!~', '=i=',
|
|
8
|
+
/*
|
|
9
|
+
* The following comparators include a space, it is _important_ that this space is here.
|
|
10
|
+
* Note that this defines the "default" usage of comparators to be UNSPACED
|
|
11
|
+
*/
|
|
12
|
+
' isEmpty', ' isNotEmpty', ' isSet', ' isNotSet', ' isNull', ' isNotNull'];
|
|
@@ -6,9 +6,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.deparseKiwtQueryFiltersObject = exports.default = void 0;
|
|
7
7
|
// Does not validate object... make sure you pass it the right thing
|
|
8
8
|
const deparseKiwtQueryFiltersObject = queryObject => {
|
|
9
|
-
let returnString = `${queryObject.path}
|
|
9
|
+
let returnString = `${queryObject.path}${queryObject.comparator}`;
|
|
10
10
|
if (queryObject.value) {
|
|
11
|
-
returnString +=
|
|
11
|
+
returnString += `${queryObject.value}`;
|
|
12
12
|
}
|
|
13
13
|
return returnString;
|
|
14
14
|
};
|
|
@@ -18,7 +18,7 @@ const THIRD = 2;
|
|
|
18
18
|
const parseKiwtQueryString = queryString => {
|
|
19
19
|
const comparatorMatch = new RegExp(`(${_comparators.default.join('|')})`);
|
|
20
20
|
// See parseKiwtQueryGroups for breakdown of why this filter is needed
|
|
21
|
-
const splitString = queryString.split(comparatorMatch).
|
|
21
|
+
const splitString = queryString.split(comparatorMatch).filter(Boolean);
|
|
22
22
|
|
|
23
23
|
/*
|
|
24
24
|
* As far as I can tell, with input of a SINGLE query string at a time,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@k-int/stripes-kint-components",
|
|
3
|
-
"version": "5.1
|
|
3
|
+
"version": "5.2.1",
|
|
4
4
|
"description": "Stripes Component library for K-Int specific applications",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"*.css"
|
|
@@ -14,7 +14,11 @@
|
|
|
14
14
|
"build": "yarn build:es",
|
|
15
15
|
"clean": "rm -rf ./node_modules ./*/node_modules ./yarn.lock && yarn install --ignore-scripts",
|
|
16
16
|
"clean-build": "yarn clean && yarn build",
|
|
17
|
-
"prepare": "yarn build"
|
|
17
|
+
"prepare": "yarn build",
|
|
18
|
+
"semantic-release": "semantic-release"
|
|
19
|
+
},
|
|
20
|
+
"publishConfig": {
|
|
21
|
+
"access": "public"
|
|
18
22
|
},
|
|
19
23
|
"dependencies": {
|
|
20
24
|
"@rehooks/local-storage": "^2.4.4",
|
|
@@ -59,7 +63,7 @@
|
|
|
59
63
|
"prop-types-extra": ">=1.1.0",
|
|
60
64
|
"react": "^18.2.0",
|
|
61
65
|
"react-dom": "^18.2.0",
|
|
62
|
-
"react-intl": "^
|
|
66
|
+
"react-intl": "^5.7.0",
|
|
63
67
|
"react-query": "^3.6.0",
|
|
64
68
|
"react-redux": "^7.0.0",
|
|
65
69
|
"react-router": "^5.2.0",
|
|
@@ -69,7 +73,12 @@
|
|
|
69
73
|
"regenerator-runtime": "^0.13.3",
|
|
70
74
|
"rxjs": "^6.6.3",
|
|
71
75
|
"sinon": "^14.0.0",
|
|
72
|
-
"typescript": "^2.8.0"
|
|
76
|
+
"typescript": "^2.8.0",
|
|
77
|
+
"@semantic-release/git": "^10.0.1",
|
|
78
|
+
"@semantic-release/gitlab": "^12.0.6",
|
|
79
|
+
"@semantic-release/npm": "^11.0.0",
|
|
80
|
+
"@semantic-release/changelog": "^6.0.3",
|
|
81
|
+
"semantic-release": "^22.0.5"
|
|
73
82
|
},
|
|
74
83
|
"peerDependencies": {
|
|
75
84
|
"@folio/stripes": ">=9.0.0",
|
|
@@ -4,10 +4,14 @@ export default [
|
|
|
4
4
|
'=~',
|
|
5
5
|
'!~',
|
|
6
6
|
'=i=',
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
'
|
|
12
|
-
'
|
|
7
|
+
/*
|
|
8
|
+
* The following comparators include a space, it is _important_ that this space is here.
|
|
9
|
+
* Note that this defines the "default" usage of comparators to be UNSPACED
|
|
10
|
+
*/
|
|
11
|
+
' isEmpty',
|
|
12
|
+
' isNotEmpty',
|
|
13
|
+
' isSet',
|
|
14
|
+
' isNotSet',
|
|
15
|
+
' isNull',
|
|
16
|
+
' isNotNull',
|
|
13
17
|
];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// Does not validate object... make sure you pass it the right thing
|
|
2
2
|
export const deparseKiwtQueryFiltersObject = (queryObject) => {
|
|
3
|
-
let returnString = `${queryObject.path}
|
|
3
|
+
let returnString = `${queryObject.path}${queryObject.comparator}`;
|
|
4
4
|
if (queryObject.value) {
|
|
5
|
-
returnString +=
|
|
5
|
+
returnString += `${queryObject.value}`;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
return returnString;
|
|
@@ -15,7 +15,6 @@ const parseKiwtQueryString = (queryString) => {
|
|
|
15
15
|
const comparatorMatch = new RegExp(`(${comparators.join('|')})`);
|
|
16
16
|
// See parseKiwtQueryGroups for breakdown of why this filter is needed
|
|
17
17
|
const splitString = queryString.split(comparatorMatch)
|
|
18
|
-
.map(ss => ss.trim())
|
|
19
18
|
.filter(Boolean);
|
|
20
19
|
|
|
21
20
|
/*
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
var jumpToCode = function init() {
|
|
5
|
-
// Classes of code we would like to highlight in the file view
|
|
6
|
-
var missingCoverageClasses = ['.cbranch-no', '.cstat-no', '.fstat-no'];
|
|
7
|
-
|
|
8
|
-
// Elements to highlight in the file listing view
|
|
9
|
-
var fileListingElements = ['td.pct.low'];
|
|
10
|
-
|
|
11
|
-
// We don't want to select elements that are direct descendants of another match
|
|
12
|
-
var notSelector = ':not(' + missingCoverageClasses.join('):not(') + ') > '; // becomes `:not(a):not(b) > `
|
|
13
|
-
|
|
14
|
-
// Selecter that finds elements on the page to which we can jump
|
|
15
|
-
var selector = fileListingElements.join(', ') + ', ' + notSelector + missingCoverageClasses.join(', ' + notSelector); // becomes `:not(a):not(b) > a, :not(a):not(b) > b`
|
|
16
|
-
|
|
17
|
-
// The NodeList of matching elements
|
|
18
|
-
var missingCoverageElements = document.querySelectorAll(selector);
|
|
19
|
-
var currentIndex;
|
|
20
|
-
function toggleClass(index) {
|
|
21
|
-
missingCoverageElements.item(currentIndex).classList.remove('highlighted');
|
|
22
|
-
missingCoverageElements.item(index).classList.add('highlighted');
|
|
23
|
-
}
|
|
24
|
-
function makeCurrent(index) {
|
|
25
|
-
toggleClass(index);
|
|
26
|
-
currentIndex = index;
|
|
27
|
-
missingCoverageElements.item(index).scrollIntoView({
|
|
28
|
-
behavior: 'smooth',
|
|
29
|
-
block: 'center',
|
|
30
|
-
inline: 'center'
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
function goToPrevious() {
|
|
34
|
-
var nextIndex = 0;
|
|
35
|
-
if (typeof currentIndex !== 'number' || currentIndex === 0) {
|
|
36
|
-
nextIndex = missingCoverageElements.length - 1;
|
|
37
|
-
} else if (missingCoverageElements.length > 1) {
|
|
38
|
-
nextIndex = currentIndex - 1;
|
|
39
|
-
}
|
|
40
|
-
makeCurrent(nextIndex);
|
|
41
|
-
}
|
|
42
|
-
function goToNext() {
|
|
43
|
-
var nextIndex = 0;
|
|
44
|
-
if (typeof currentIndex === 'number' && currentIndex < missingCoverageElements.length - 1) {
|
|
45
|
-
nextIndex = currentIndex + 1;
|
|
46
|
-
}
|
|
47
|
-
makeCurrent(nextIndex);
|
|
48
|
-
}
|
|
49
|
-
return function jump(event) {
|
|
50
|
-
if (document.getElementById('fileSearch') === document.activeElement && document.activeElement != null) {
|
|
51
|
-
// if we're currently focused on the search input, we don't want to navigate
|
|
52
|
-
return;
|
|
53
|
-
}
|
|
54
|
-
switch (event.which) {
|
|
55
|
-
case 78: // n
|
|
56
|
-
case 74:
|
|
57
|
-
// j
|
|
58
|
-
goToNext();
|
|
59
|
-
break;
|
|
60
|
-
case 66: // b
|
|
61
|
-
case 75: // k
|
|
62
|
-
case 80:
|
|
63
|
-
// p
|
|
64
|
-
goToPrevious();
|
|
65
|
-
break;
|
|
66
|
-
}
|
|
67
|
-
};
|
|
68
|
-
}();
|
|
69
|
-
window.addEventListener('keydown', jumpToCode);
|