@k-int/stripes-kint-components 4.7.2 → 4.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/es/index.js +2 -2
- package/es/lib/ActionList/ActionList.js +3 -4
- package/es/lib/ActionList/ActionListFieldArray.js +32 -36
- package/es/lib/ComboButton/ComboButton.js +6 -8
- package/es/lib/CustomProperties/Config/CustomPropertiesLookup.js +5 -9
- package/es/lib/CustomProperties/Config/CustomPropertiesSettings.js +30 -34
- package/es/lib/CustomProperties/Config/CustomPropertyForm.js +59 -60
- package/es/lib/CustomProperties/Config/CustomPropertyForm.test.js +2 -2
- package/es/lib/CustomProperties/Config/CustomPropertyView.js +33 -35
- package/es/lib/CustomProperties/Config/CustomPropertyView.test.js +1 -1
- package/es/lib/CustomProperties/Edit/CustomPropertiesEdit.js +2 -3
- package/es/lib/CustomProperties/Edit/CustomPropertiesEditCtx.js +4 -5
- package/es/lib/CustomProperties/Edit/CustomPropertiesListField.js +6 -12
- package/es/lib/CustomProperties/Edit/CustomPropertyField.js +21 -29
- package/es/lib/CustomProperties/Edit/CustomPropertyField.test.js +5 -5
- package/es/lib/CustomProperties/Edit/CustomPropertyFormCard.js +3 -4
- package/es/lib/CustomProperties/Edit/CustomPropertyFormCard.test.js +3 -3
- package/es/lib/CustomProperties/Edit/testResources.js +14 -17
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilter.js +7 -13
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterField.js +21 -30
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterField.test.js +1 -1
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterFieldArray.js +7 -8
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterForm.js +1 -2
- package/es/lib/CustomProperties/Filter/CustomPropertiesRule.js +9 -10
- package/es/lib/CustomProperties/Filter/testResources.js +5 -9
- package/es/lib/CustomProperties/Filter/useOperators.js +3 -4
- package/es/lib/CustomProperties/Filter/useParseActiveFilterStrings.js +2 -4
- package/es/lib/CustomProperties/Filter/useValueProps.js +3 -4
- package/es/lib/CustomProperties/View/CustomPropertiesView.js +2 -3
- package/es/lib/CustomProperties/View/CustomPropertiesViewCtx.js +19 -28
- package/es/lib/CustomProperties/View/CustomPropertyCard.js +10 -15
- package/es/lib/CustomProperties/View/testResources.js +5 -9
- package/es/lib/CycleButton/CycleButton.js +2 -3
- package/es/lib/EditableRefdataCategoryList/EditableRefdataCategoryList.js +24 -36
- package/es/lib/EditableRefdataList/EditableRefdataList.js +29 -37
- package/es/lib/EditableSettingsList/EditableSettingsList.js +1 -2
- package/es/lib/EditableSettingsList/EditableSettingsListFieldArray.js +2 -3
- package/es/lib/EditableSettingsList/SettingField/EditSettingValue.js +6 -7
- package/es/lib/EditableSettingsList/SettingField/RenderSettingValue.js +11 -14
- package/es/lib/EditableSettingsList/SettingField/SettingField.js +7 -8
- package/es/lib/FormModal/FormModal.js +1 -2
- package/es/lib/FormattedKintMessage/FormattedKintMessage.js +5 -9
- package/es/lib/IconSelect/IconSelect.js +8 -13
- package/es/lib/NoResultsMessage/NoResultsMessage.js +5 -6
- package/es/lib/QueryTypedown/QueryTypedown.js +3 -4
- package/es/lib/RefdataButtons/RefdataButtons.js +4 -5
- package/es/lib/ResponsiveButtonGroup/ResponsiveButtonGroup.js +22 -30
- package/es/lib/ResponsiveButtonGroup/useResponsiveButtonGroupSizing.js +6 -8
- package/es/lib/RichSelect/RichSelect.js +15 -21
- package/es/lib/RichSelect/useSelectedOption.js +2 -4
- package/es/lib/SASQLookupComponent/SASQLookupComponent.js +15 -19
- package/es/lib/SASQLookupComponent/TableBody/TableBody.js +5 -8
- package/es/lib/SASQRoute/SASQRoute.js +3 -4
- package/es/lib/SASQViewComponent/SASQViewComponent.js +6 -11
- package/es/lib/SearchField/SearchField.js +1 -2
- package/es/lib/SettingPage/SettingPage.js +3 -4
- package/es/lib/SettingPage/SettingPagePane.js +3 -4
- package/es/lib/SettingsFormContainer/SettingsFormContainer.js +3 -4
- package/es/lib/Typedown/Typedown.js +22 -30
- package/es/lib/constants/customProperties.js +11 -22
- package/es/lib/constants/endpoints.js +1 -2
- package/es/lib/constants/eventCodes.js +3 -6
- package/es/lib/contexts/SettingsContext.js +1 -2
- package/es/lib/hooks/typedownHooks/useTypedown.js +3 -4
- package/es/lib/hooks/typedownHooks/useTypedownData.js +1 -2
- package/es/lib/hooks/typedownHooks/useTypedownToggle.js +3 -4
- package/es/lib/hooks/useActiveElement.js +2 -3
- package/es/lib/hooks/useCustomProperties.js +3 -4
- package/es/lib/hooks/useHelperApp.js +9 -10
- package/es/lib/hooks/useIntlKey.js +1 -2
- package/es/lib/hooks/useIntlKeyStore.js +5 -9
- package/es/lib/hooks/useInvalidateRefdata.js +1 -2
- package/es/lib/hooks/useKintIntl.js +6 -13
- package/es/lib/hooks/useKiwtFieldArray.js +1 -2
- package/es/lib/hooks/useKiwtSASQuery.js +4 -5
- package/es/lib/hooks/useLocalStorageState.js +3 -4
- package/es/lib/hooks/useModConfigEntries.js +3 -4
- package/es/lib/hooks/useMutateCustomProperties.js +9 -10
- package/es/lib/hooks/useMutateModConfigEntry.js +3 -4
- package/es/lib/hooks/useMutateRefdataCategory.js +5 -6
- package/es/lib/hooks/useMutateRefdataValue.js +7 -8
- package/es/lib/hooks/useQIndex.js +8 -9
- package/es/lib/hooks/useRefdata.js +4 -5
- package/es/lib/hooks/useSASQQueryMeta.js +1 -2
- package/es/lib/hooks/useTemplates.js +5 -6
- package/es/lib/settingsHooks/useAppSettings.js +8 -13
- package/es/lib/settingsHooks/useSettingSection.js +3 -4
- package/es/lib/settingsHooks/useSettings.js +4 -5
- package/es/lib/utils/buildUrl.js +1 -1
- package/es/lib/utils/generateKiwtQuery.js +1 -2
- package/es/lib/utils/generateKiwtQueryParams.js +28 -38
- package/es/lib/utils/groupCustomPropertiesByCtx.js +3 -5
- package/es/lib/utils/matchString.js +2 -3
- package/es/lib/utils/modConfigEntriesQueryKey.js +1 -2
- package/es/lib/utils/parseErrorResponse.js +3 -5
- package/es/lib/utils/parseKiwtQueryGroups.js +5 -7
- package/es/lib/utils/parseModConfigEntry.js +1 -2
- package/es/lib/utils/refdataOptions.js +2 -3
- package/es/lib/utils/refdataQueryKey.js +1 -2
- package/es/lib/utils/selectorSafe.js +4 -6
- package/es/lib/utils/sortByLabel.js +3 -5
- package/es/lib/utils/toCamelCase.js +1 -2
- package/es/lib/utils/typedownQueryKey.js +1 -2
- package/es/lib/validators/validators.js +3 -3
- package/package.json +12 -2
- 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 -1465
- package/src/artifacts/coverage-jest/lcov-report/ActionList/index.html +0 -146
- package/src/artifacts/coverage-jest/lcov-report/ActionList/index.js.html +0 -88
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertiesLookup.js.html +0 -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 -826
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertyField.js.html +0 -1297
- 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 -337
- 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/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 -146
- 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 -611
- 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 -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 -631
- 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 -356
- package/src/artifacts/coverage-jest/lcov-report/utils/index.js.html +0 -169
- 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 -5223
|
@@ -5,14 +5,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
const selectorSafe = string => {
|
|
8
|
-
var _string$normalize, _string$normalize$rep;
|
|
9
8
|
// Normalise to separate diacritics from their base characters as "marks"
|
|
10
9
|
// then strip out all marks.
|
|
11
|
-
return
|
|
10
|
+
return string.normalize('NFKD')?.replace(/\p{M}/gu, '')
|
|
12
11
|
// Then swap out any non-letter/number characters (Also ignore - and _) for `_`
|
|
13
|
-
|
|
12
|
+
?.replace(/[^\p{L}\p{N}\-_]/gu, '_');
|
|
14
13
|
};
|
|
15
|
-
var _default = selectorSafe;
|
|
14
|
+
var _default = exports.default = selectorSafe;
|
|
16
15
|
/*
|
|
17
16
|
* Should transform as follows:
|
|
18
17
|
* %%&&||()_-*^%$£"!:;@'~#<>/??|\ --> _________-____________________
|
|
@@ -22,5 +21,4 @@ var _default = selectorSafe;
|
|
|
22
21
|
* æøß --> æøß
|
|
23
22
|
* How do we handle numbers 00!1 --> how_do_we_handle_numbers_00_1
|
|
24
23
|
* This is a normal case --> this_is_a_normal_case
|
|
25
|
-
*/
|
|
26
|
-
exports.default = _default;
|
|
24
|
+
*/
|
|
@@ -5,9 +5,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
const sortByLabel = (a, b) => {
|
|
8
|
-
|
|
9
|
-
const
|
|
10
|
-
const 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();
|
|
8
|
+
const al = a.label?.toLowerCase() ?? a.id?.toLowerCase();
|
|
9
|
+
const bl = b.label?.toLowerCase() ?? b.id?.toLowerCase();
|
|
11
10
|
if (al < bl) {
|
|
12
11
|
return -1;
|
|
13
12
|
}
|
|
@@ -16,5 +15,4 @@ const sortByLabel = (a, b) => {
|
|
|
16
15
|
}
|
|
17
16
|
return 0;
|
|
18
17
|
};
|
|
19
|
-
var _default = sortByLabel;
|
|
20
|
-
exports.default = _default;
|
|
18
|
+
var _default = exports.default = sortByLabel;
|
|
@@ -11,5 +11,4 @@ str.split(/(?=[A-Z])/).join(' ')
|
|
|
11
11
|
.replace(/[_]/gi, ' ').replace(/[^0-9a-zA-Z\s]/gi, '')
|
|
12
12
|
// CamelCase the remains
|
|
13
13
|
.replace(/(?:^\w|[A-Z]|\b\w)/g, (ltr, idx) => idx === 0 ? ltr.toLowerCase() : ltr.toUpperCase()).replace(/\s+/g, '');
|
|
14
|
-
var _default = toCamelCase;
|
|
15
|
-
exports.default = _default;
|
|
14
|
+
var _default = exports.default = toCamelCase;
|
|
@@ -64,7 +64,7 @@ const invalidNumber = function (value, _min, _max, intlKey, intlNS) {
|
|
|
64
64
|
id: "errors.invalidNumber",
|
|
65
65
|
intlKey: intlKey,
|
|
66
66
|
intlNS: intlNS,
|
|
67
|
-
overrideValue: labelOverrides
|
|
67
|
+
overrideValue: labelOverrides?.invalidNumberError
|
|
68
68
|
});
|
|
69
69
|
}
|
|
70
70
|
return undefined;
|
|
@@ -77,7 +77,7 @@ const rangeOverflow = function (value, min, max, intlKey, intlNS) {
|
|
|
77
77
|
id: "errors.decimalValueNotInRange",
|
|
78
78
|
intlKey: intlKey,
|
|
79
79
|
intlNS: intlNS,
|
|
80
|
-
overrideValue: labelOverrides
|
|
80
|
+
overrideValue: labelOverrides?.decimalValueNotInRangeError,
|
|
81
81
|
values: {
|
|
82
82
|
min,
|
|
83
83
|
max
|
|
@@ -94,7 +94,7 @@ const rangeUnderflow = function (value, min, max, intlKey, intlNS) {
|
|
|
94
94
|
id: "errors.decimalValueNotInRange",
|
|
95
95
|
intlKey: intlKey,
|
|
96
96
|
intlNS: intlNS,
|
|
97
|
-
overrideValue: labelOverrides
|
|
97
|
+
overrideValue: labelOverrides?.decimalValueNotInRangeError,
|
|
98
98
|
values: {
|
|
99
99
|
min,
|
|
100
100
|
max
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@k-int/stripes-kint-components",
|
|
3
|
-
"version": "4.7.
|
|
3
|
+
"version": "4.7.3",
|
|
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 --ignore-scripts",
|
|
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
|
"@rehooks/local-storage": "^2.4.4",
|
|
@@ -32,6 +36,7 @@
|
|
|
32
36
|
"@babel/plugin-proposal-class-properties": "^7.12.1",
|
|
33
37
|
"@babel/plugin-proposal-decorators": "^7.12.1",
|
|
34
38
|
"@babel/plugin-proposal-function-sent": "^7.18.6",
|
|
39
|
+
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
|
|
35
40
|
"@babel/plugin-proposal-throw-expressions": "^7.18.6",
|
|
36
41
|
"@babel/plugin-syntax-import-meta": "^7.10.4",
|
|
37
42
|
"@babel/plugin-transform-runtime": "^7.12.1",
|
|
@@ -46,6 +51,10 @@
|
|
|
46
51
|
"@folio/stripes-testing": "^4.2.0",
|
|
47
52
|
"@formatjs/cli": "^4.2.31",
|
|
48
53
|
"@interactors/html": "^1.0.0-rc1.2",
|
|
54
|
+
"@semantic-release/changelog": "^6.0.3",
|
|
55
|
+
"@semantic-release/git": "^10.0.1",
|
|
56
|
+
"@semantic-release/gitlab": "^12.0.6",
|
|
57
|
+
"@semantic-release/npm": "^11.0.0",
|
|
49
58
|
"@testing-library/dom": "^8.16.0",
|
|
50
59
|
"@testing-library/jest-dom": "^5.16.4",
|
|
51
60
|
"@testing-library/react": "^12.1.5",
|
|
@@ -85,6 +94,7 @@
|
|
|
85
94
|
"redux-observable": "^1.2.0",
|
|
86
95
|
"regenerator-runtime": "^0.13.3",
|
|
87
96
|
"rxjs": "^6.6.3",
|
|
97
|
+
"semantic-release": "^22.0.6",
|
|
88
98
|
"sinon": "^14.0.0",
|
|
89
99
|
"typescript": "^2.8.0"
|
|
90
100
|
},
|
|
@@ -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);
|