@k-int/stripes-kint-components 3.2.1 → 3.2.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 +6 -0
- package/es/lib/ActionList/ActionList.js +3 -1
- package/es/lib/ActionList/ActionListFieldArray.js +5 -3
- package/es/lib/CustomProperties/Config/CustomPropertiesLookup.js +6 -3
- package/es/lib/CustomProperties/Config/CustomPropertiesSettings.js +26 -26
- package/es/lib/CustomProperties/Config/CustomPropertiesSettings.test.js +26 -32
- package/es/lib/CustomProperties/Config/CustomPropertyForm.js +2 -2
- package/es/lib/CustomProperties/Config/CustomPropertyForm.test.js +43 -49
- package/es/lib/CustomProperties/Config/CustomPropertyView.test.js +82 -100
- package/es/lib/CustomProperties/Edit/CustomPropertiesListField.js +6 -3
- package/es/lib/CustomProperties/Edit/CustomPropertiesListField.test.js +22 -28
- package/es/lib/CustomProperties/Edit/CustomPropertyField.js +4 -2
- package/es/lib/CustomProperties/Edit/CustomPropertyField.test.js +73 -87
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilter.js +6 -3
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilter.test.js +26 -32
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterField.js +6 -3
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterFieldArray.test.js +15 -19
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterForm.js +4 -1
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterForm.test.js +21 -23
- package/es/lib/CustomProperties/Filter/CustomPropertiesRule.js +4 -1
- package/es/lib/CustomProperties/Filter/CustomPropertiesRule.test.js +129 -161
- package/es/lib/CustomProperties/Filter/useParseActiveFilterStrings.js +2 -2
- package/es/lib/CustomProperties/View/CustomPropertiesViewCtx.js +2 -2
- package/es/lib/CustomProperties/View/CustomPropertiesViewCtx.test.js +4 -1
- package/es/lib/CustomProperties/View/CustomPropertyCard.js +2 -2
- package/es/lib/CycleButton/CycleButton.js +6 -3
- package/es/lib/EditableRefdataCategoryList/EditableRefdataCategoryList.js +26 -26
- package/es/lib/EditableRefdataList/EditableRefdataList.js +29 -29
- package/es/lib/EditableSettingsList/EditableSettingsListFieldArray.js +4 -1
- package/es/lib/EditableSettingsList/EditableSettingsListFieldArray.test.js +44 -50
- package/es/lib/EditableSettingsList/SettingField/EditSettingValue.js +1 -1
- package/es/lib/EditableSettingsList/SettingField/RenderSettingValue.test.js +139 -163
- package/es/lib/EditableSettingsList/SettingField/SettingField.js +12 -10
- package/es/lib/EditableSettingsList/SettingField/SettingField.test.js +117 -133
- package/es/lib/FormModal/FormModal.js +4 -1
- package/es/lib/FormattedKintMessage/FormattedKintMessage.js +4 -1
- package/es/lib/IconSelect/IconSelect.js +5 -3
- package/es/lib/QueryTypedown/QueryTypedown.js +5 -3
- package/es/lib/RefdataButtons/RefdataButtons.js +4 -1
- package/es/lib/ResponsiveButtonGroup/ResponsiveButtonGroup.js +5 -2
- package/es/lib/ResponsiveButtonGroup/useResponsiveButtonGroupSizing.js +2 -2
- package/es/lib/RichSelect/RichSelect.js +6 -3
- package/es/lib/RichSelect/useSelectedOption.js +2 -2
- package/es/lib/SASQLookupComponent/SASQLookupComponent.js +6 -3
- package/es/lib/SASQLookupComponent/TableBody/TableBody.js +4 -1
- package/es/lib/SASQRoute/SASQRoute.js +4 -1
- package/es/lib/SASQViewComponent/SASQViewComponent.js +4 -1
- package/es/lib/SearchField/SearchField.js +4 -1
- package/es/lib/Typedown/Typedown.js +2 -2
- package/es/lib/hooks/settingsHooks/useAppSettings.js +1 -1
- package/es/lib/hooks/settingsHooks/useSettings.js +5 -2
- package/es/lib/hooks/typedownHooks/useTypedownData.js +2 -2
- package/es/lib/hooks/typedownHooks/useTypedownToggle.js +2 -2
- package/es/lib/hooks/useActiveElement.js +2 -2
- package/es/lib/hooks/useCustomProperties.js +4 -1
- package/es/lib/hooks/useHelperApp.js +5 -3
- package/es/lib/hooks/useIntlKeyStore.js +4 -4
- package/es/lib/hooks/useKintIntl.js +4 -1
- package/es/lib/hooks/useKiwtFieldArray.js +6 -3
- package/es/lib/hooks/useKiwtSASQuery.js +5 -3
- package/es/lib/hooks/useLocalStorageState.js +2 -2
- package/es/lib/hooks/useMutateCustomProperties.js +23 -29
- package/es/lib/hooks/useMutateRefdataCategory.js +24 -26
- package/es/lib/hooks/useMutateRefdataValue.js +30 -34
- package/es/lib/hooks/useQIndex.js +5 -3
- package/es/lib/hooks/useSASQQueryMeta.js +1 -1
- package/es/lib/utils/generateKiwtQueryParams.js +2 -2
- package/es/lib/utils/groupCustomPropertiesByCtx.js +5 -2
- package/es/lib/utils/highlightString.js +2 -2
- package/es/lib/utils/parseErrorResponse.js +44 -42
- package/junit.xml +1490 -220
- package/package.json +1 -1
- package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionList.js.html +12 -3
- package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionListFieldArray.js.html +98 -17
- package/src/artifacts/coverage-jest/lcov-report/ActionList/index.html +10 -10
- package/src/artifacts/coverage-jest/lcov-report/ActionList/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertiesLookup.js.html +42 -42
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertiesSettings.js.html +166 -88
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertyForm.js.html +58 -58
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertyView.js.html +27 -27
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/index.html +53 -53
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/testResources.js.html +793 -0
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertiesEdit.js.html +17 -17
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertiesEditCtx.js.html +26 -26
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertiesListField.js.html +91 -94
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertyField.js.html +116 -116
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertyFormCard.js.html +26 -26
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/index.html +64 -64
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/testResources.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilter.js.html +31 -31
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterField.js.html +48 -48
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterFieldArray.js.html +20 -20
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterForm.js.html +17 -17
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesRule.js.html +43 -43
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/index.html +96 -96
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/testResources.js.html +5 -5
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useOperators.js.html +35 -35
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useParseActiveFilterStrings.js.html +37 -37
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useValueProps.js.html +35 -35
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertiesView.js.html +14 -14
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertiesViewCtx.js.html +43 -43
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertyCard.js.html +5 -5
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/index.html +31 -31
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/testResources.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CycleButton/CycleButton.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CycleButton/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CycleButton/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataCategoryList/EditableRefdataCategoryList.js.html +96 -9
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataCategoryList/index.html +9 -9
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataCategoryList/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/EditableRefdataList.js.html +152 -29
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/index.html +9 -9
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/EditableSettingsList.js.html +13 -4
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/EditableSettingsListFieldArray.js.html +29 -20
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/EditSettingValue.js.html +37 -37
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/RenderSettingValue.js.html +62 -62
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/SettingField.js.html +85 -70
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/index.html +43 -43
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/index.html +21 -21
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/FormModal/FormModal.js.html +30 -30
- package/src/artifacts/coverage-jest/lcov-report/FormModal/index.html +21 -21
- package/src/artifacts/coverage-jest/lcov-report/FormModal/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/FormattedKintMessage/FormattedKintMessage.js.html +3 -3
- package/src/artifacts/coverage-jest/lcov-report/FormattedKintMessage/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/FormattedKintMessage/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/IconSelect/IconSelect.js.html +28 -22
- package/src/artifacts/coverage-jest/lcov-report/IconSelect/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/IconSelect/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/NoResultsMessage.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/QueryTypedown.js.html +23 -8
- package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/index.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/RefdataButtons.js.html +52 -52
- package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/index.html +21 -21
- package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/ResponsiveButtonGroup/ResponsiveButtonGroup.js.html +57 -12
- package/src/artifacts/coverage-jest/lcov-report/ResponsiveButtonGroup/index.html +13 -13
- package/src/artifacts/coverage-jest/lcov-report/ResponsiveButtonGroup/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/ResponsiveButtonGroup/useResponsiveButtonGroupSizing.js.html +58 -10
- package/src/artifacts/coverage-jest/lcov-report/RichSelect/RichSelect.js.html +5 -2
- package/src/artifacts/coverage-jest/lcov-report/RichSelect/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/RichSelect/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/RichSelect/useSelectedOption.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/SASQLookupComponent.js.html +103 -25
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/TableBody.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/index.html +9 -9
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SASQRoute/SASQRoute.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SASQRoute/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SASQRoute/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/SASQViewComponent.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SearchField/SearchField.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SearchField/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SearchField/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SettingPage/SettingPage.js.html +16 -4
- package/src/artifacts/coverage-jest/lcov-report/SettingPage/SettingPagePane.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SettingPage/index.html +3 -3
- package/src/artifacts/coverage-jest/lcov-report/SettingPage/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/Typedown/Typedown.js.html +20 -8
- package/src/artifacts/coverage-jest/lcov-report/Typedown/index.html +3 -3
- package/src/artifacts/coverage-jest/lcov-report/Typedown/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/constants/customProperties.js.html +12 -12
- package/src/artifacts/coverage-jest/lcov-report/constants/eventCodes.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/constants/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/contexts/SettingsContext.js.html +2 -2
- package/src/artifacts/coverage-jest/lcov-report/contexts/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/contexts/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/index.html +34 -34
- package/src/artifacts/coverage-jest/lcov-report/hooks/index.js.html +2 -5
- package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useAppSettings.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useSettingSection.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useSettings.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedown.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedownData.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedownToggle.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useActiveElement.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useAvailableCustomProperties.js.html +205 -0
- package/src/artifacts/coverage-jest/lcov-report/hooks/useCustomProperties.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useHelperApp.js.html +30 -18
- package/src/artifacts/coverage-jest/lcov-report/hooks/useIntlKey.js.html +24 -24
- package/src/artifacts/coverage-jest/lcov-report/hooks/useIntlKeyStore.js.html +2 -2
- package/src/artifacts/coverage-jest/lcov-report/hooks/useInvalidateRefdata.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useKintIntl.js.html +38 -38
- package/src/artifacts/coverage-jest/lcov-report/hooks/useKiwtFieldArray.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useKiwtSASQuery.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useLocalStorageState.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateCustomProperties.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateRefdataCategory.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateRefdataValue.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useQIndex.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useRefdata.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useSASQQueryMeta.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useTemplates.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/index.html +166 -151
- package/src/artifacts/coverage-jest/lcov-report/settingsHooks/index.html +161 -0
- package/src/artifacts/coverage-jest/lcov-report/settingsHooks/index.js.html +94 -0
- package/src/artifacts/coverage-jest/lcov-report/settingsHooks/useAppSettings.js.html +292 -0
- package/src/artifacts/coverage-jest/lcov-report/settingsHooks/useSettingSection.js.html +211 -0
- package/src/artifacts/coverage-jest/lcov-report/settingsHooks/useSettings.js.html +466 -0
- package/src/artifacts/coverage-jest/lcov-report/utils/buildUrl.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/utils/generateKiwtQuery.js.html +9 -9
- package/src/artifacts/coverage-jest/lcov-report/utils/generateKiwtQueryParams.js.html +196 -46
- package/src/artifacts/coverage-jest/lcov-report/utils/groupCustomPropertiesByCtx.js.html +22 -22
- package/src/artifacts/coverage-jest/lcov-report/utils/highlightString.js.html +3 -3
- package/src/artifacts/coverage-jest/lcov-report/utils/index.html +66 -66
- package/src/artifacts/coverage-jest/lcov-report/utils/index.js.html +4 -31
- package/src/artifacts/coverage-jest/lcov-report/utils/matchString.js.html +2 -2
- package/src/artifacts/coverage-jest/lcov-report/utils/parseErrorResponse.js.html +11 -8
- package/src/artifacts/coverage-jest/lcov-report/utils/parseKiwtQueryGroups.js.html +361 -0
- package/src/artifacts/coverage-jest/lcov-report/utils/refdataOptions.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/utils/refdataQueryKey.js.html +2 -2
- package/src/artifacts/coverage-jest/lcov-report/utils/renderHelpText.js.html +166 -0
- package/src/artifacts/coverage-jest/lcov-report/utils/selectorSafe.js.html +45 -3
- package/src/artifacts/coverage-jest/lcov-report/utils/sortByLabel.js.html +2 -2
- package/src/artifacts/coverage-jest/lcov-report/utils/toCamelCase.js.html +16 -16
- package/src/artifacts/coverage-jest/lcov-report/utils/typedownQueryKey.js.html +2 -2
- package/src/artifacts/coverage-jest/lcov-report/utils/validators.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/validators/index.html +131 -0
- package/src/artifacts/coverage-jest/lcov-report/validators/index.js.html +88 -0
- package/src/artifacts/coverage-jest/lcov-report/validators/validators.js.html +370 -0
- package/src/artifacts/coverage-jest/lcov.info +2164 -1919
- package/src/lib/CustomProperties/View/CustomPropertyCard.js +3 -3
- package/src/lib/utils/parseErrorResponse.js +3 -2
- package/yarn-error.log +0 -147
|
@@ -34,7 +34,7 @@ const CustomPropertyCard = ({
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
const internalFalse = customProperty?.internal === false ||
|
|
37
|
-
|
|
37
|
+
(customProperty?.internal === undefined && customPropertyDefinition.defaultInternal === false);
|
|
38
38
|
|
|
39
39
|
const renderValue = () => {
|
|
40
40
|
if (!customProperty) {
|
|
@@ -133,8 +133,8 @@ const CustomPropertyCard = ({
|
|
|
133
133
|
}
|
|
134
134
|
>
|
|
135
135
|
{kintIntl.formatKintMessage({
|
|
136
|
-
id: 'customProperties.internalFalse',
|
|
137
|
-
overrideValue: labelOverrides.internalFalse
|
|
136
|
+
id: internalFalse ? 'customProperties.internalFalse' : 'customProperties.internalTrue',
|
|
137
|
+
overrideValue: internalFalse ? labelOverrides.internalFalse : labelOverrides.internalTrue,
|
|
138
138
|
})}
|
|
139
139
|
</KeyValue>
|
|
140
140
|
</Col>
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
const parseErrorResponse = async (responseObj) => {
|
|
2
2
|
let errorResp;
|
|
3
|
+
const code = responseObj?.status;
|
|
3
4
|
const contentType = [...responseObj?.headers]?.find(header => header[0] === 'content-type')?.[1];
|
|
4
5
|
|
|
5
6
|
if (contentType.includes('json')) {
|
|
6
7
|
errorResp = await responseObj.json();
|
|
7
8
|
} else {
|
|
8
9
|
try {
|
|
9
|
-
errorResp = { message: await responseObj.text() };
|
|
10
|
+
errorResp = { code, message: await responseObj.text() };
|
|
10
11
|
} catch {
|
|
11
|
-
errorResp = { message: 'something went wrong' };
|
|
12
|
+
errorResp = { code, message: 'something went wrong' };
|
|
12
13
|
}
|
|
13
14
|
}
|
|
14
15
|
|
package/yarn-error.log
DELETED
|
@@ -1,147 +0,0 @@
|
|
|
1
|
-
Arguments:
|
|
2
|
-
/home/ethan/.nvm/versions/node/v16.17.0/bin/node /usr/share/yarn/bin/yarn.js install --ignore-scripts
|
|
3
|
-
|
|
4
|
-
PATH:
|
|
5
|
-
/home/ethan/.rd/bin:/home/ethan/.nvm/versions/node/v16.17.0/bin:/home/ethan/.sdkman/candidates/java/current/bin:/home/ethan/.sdkman/candidates/groovy/current/bin:/home/ethan/.sdkman/candidates/grails/current/bin:/home/ethan/.sdkman/candidates/gradle/current/bin:/home/ethan/.rd/bin:/home/ethan/.yarn/bin:/home/ethan/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin
|
|
6
|
-
|
|
7
|
-
Yarn version:
|
|
8
|
-
1.22.19
|
|
9
|
-
|
|
10
|
-
Node version:
|
|
11
|
-
16.17.0
|
|
12
|
-
|
|
13
|
-
Platform:
|
|
14
|
-
linux x64
|
|
15
|
-
|
|
16
|
-
Trace:
|
|
17
|
-
Error: https://repository.folio.org/repository/npm-folio/@folio%2fstripes-erm-testing: Package '@folio/stripes-erm-testing' not found
|
|
18
|
-
at Request.params.callback [as _callback] (/usr/share/yarn/lib/cli.js:66145:18)
|
|
19
|
-
at Request.self.callback (/usr/share/yarn/lib/cli.js:140890:22)
|
|
20
|
-
at Request.emit (node:events:513:28)
|
|
21
|
-
at Request.<anonymous> (/usr/share/yarn/lib/cli.js:141862:10)
|
|
22
|
-
at Request.emit (node:events:513:28)
|
|
23
|
-
at IncomingMessage.<anonymous> (/usr/share/yarn/lib/cli.js:141784:12)
|
|
24
|
-
at Object.onceWrapper (node:events:627:28)
|
|
25
|
-
at IncomingMessage.emit (node:events:525:35)
|
|
26
|
-
at endReadableNT (node:internal/streams/readable:1358:12)
|
|
27
|
-
at processTicksAndRejections (node:internal/process/task_queues:83:21)
|
|
28
|
-
|
|
29
|
-
npm manifest:
|
|
30
|
-
{
|
|
31
|
-
"name": "@k-int/stripes-kint-components",
|
|
32
|
-
"version": "3.1.0",
|
|
33
|
-
"description": "Stripes Component library for K-Int specific applications",
|
|
34
|
-
"sideEffects": [
|
|
35
|
-
"*.css"
|
|
36
|
-
],
|
|
37
|
-
"license": "Apache-2.0",
|
|
38
|
-
"engines": {
|
|
39
|
-
"node": ">=10.0.0"
|
|
40
|
-
},
|
|
41
|
-
"scripts": {
|
|
42
|
-
"lint": "eslint src",
|
|
43
|
-
"test": "yarn run test:jest",
|
|
44
|
-
"test:jest": "jest --ci --coverage",
|
|
45
|
-
"build:es": "rm -rf ./es && babel --extensions .js --ignore ./src/**/tests/**/* ./src --out-dir es",
|
|
46
|
-
"build": "yarn build:es",
|
|
47
|
-
"clean": "rm -rf ./node_modules ./*/node_modules ./yarn.lock && yarn install",
|
|
48
|
-
"clean-build": "yarn clean && yarn build",
|
|
49
|
-
"prepare": "yarn build"
|
|
50
|
-
},
|
|
51
|
-
"dependencies": {
|
|
52
|
-
"@rehooks/local-storage": "2.4.0",
|
|
53
|
-
"compose-function": "^3.0.3",
|
|
54
|
-
"react-resize-detector": "^7.1.2",
|
|
55
|
-
"zustand": "^4.0.0"
|
|
56
|
-
},
|
|
57
|
-
"devDependencies": {
|
|
58
|
-
"@babel/cli": "^7.18.10",
|
|
59
|
-
"@babel/core": "^7.18.6",
|
|
60
|
-
"@babel/eslint-parser": "^7.15.0",
|
|
61
|
-
"@babel/plugin-proposal-class-properties": "^7.12.1",
|
|
62
|
-
"@babel/plugin-proposal-decorators": "^7.12.1",
|
|
63
|
-
"@babel/plugin-proposal-function-sent": "^7.18.6",
|
|
64
|
-
"@babel/plugin-proposal-throw-expressions": "^7.18.6",
|
|
65
|
-
"@babel/plugin-syntax-import-meta": "^7.10.4",
|
|
66
|
-
"@babel/plugin-transform-runtime": "^7.12.1",
|
|
67
|
-
"@babel/preset-env": "^7.18.9",
|
|
68
|
-
"@babel/preset-flow": "^7.18.6",
|
|
69
|
-
"@babel/preset-react": "^7.18.6",
|
|
70
|
-
"@babel/preset-typescript": "^7.18.6",
|
|
71
|
-
"@folio/eslint-config-stripes": "^6.1.0",
|
|
72
|
-
"@folio/stripes": "^7.2.0",
|
|
73
|
-
"@folio/stripes-cli": "^2.6.0",
|
|
74
|
-
"@folio/stripes-erm-testing": "^1.0.0",
|
|
75
|
-
"@folio/stripes-testing": "^4.2.0",
|
|
76
|
-
"@formatjs/cli": "^4.2.31",
|
|
77
|
-
"@interactors/html": "^1.0.0-rc1.2",
|
|
78
|
-
"@testing-library/dom": "^8.16.0",
|
|
79
|
-
"@testing-library/jest-dom": "^5.16.4",
|
|
80
|
-
"@testing-library/react": "^12.1.5",
|
|
81
|
-
"@testing-library/user-event": "^14.3.0",
|
|
82
|
-
"babel-eslint": "^10.1.0",
|
|
83
|
-
"babel-jest": "^28.1.3",
|
|
84
|
-
"babel-plugin-const-enum": "^1.0.1",
|
|
85
|
-
"babel-plugin-module-resolver": "^4.0.0",
|
|
86
|
-
"babel-plugin-require-context-hook": "^1.0.0",
|
|
87
|
-
"babel-plugin-transform-async-to-promises": "^0.8.15",
|
|
88
|
-
"babel-polyfill": "^6.26.0",
|
|
89
|
-
"classnames": ">=2.2.6",
|
|
90
|
-
"core-js": "^3.6.1",
|
|
91
|
-
"eslint": "^7.32.0",
|
|
92
|
-
"eslint-plugin-import": "^2.26.0",
|
|
93
|
-
"eslint-plugin-jest": "^26.6.0",
|
|
94
|
-
"eslint-plugin-jest-dom": "^4.0.2",
|
|
95
|
-
"eslint-plugin-testing-library": "^5.5.1",
|
|
96
|
-
"graphql": "^16.0.0",
|
|
97
|
-
"identity-obj-proxy": "^3.0.0",
|
|
98
|
-
"jest": "^28.1.0",
|
|
99
|
-
"jest-css-modules": "^2.1.0",
|
|
100
|
-
"jest-css-modules-transform": "^4.0.0",
|
|
101
|
-
"jest-environment-jsdom": "^28.1.2",
|
|
102
|
-
"jest-junit": "^13.2.0",
|
|
103
|
-
"jest-webpack": "^0.5.1",
|
|
104
|
-
"moment": "^2.29.4",
|
|
105
|
-
"prop-types-extra": ">=1.1.0",
|
|
106
|
-
"react": "^17.0.2",
|
|
107
|
-
"react-dom": "^17.0.2",
|
|
108
|
-
"react-intl": "^5.8.1",
|
|
109
|
-
"react-query": "^3.6.0",
|
|
110
|
-
"react-redux": "^7.0.0",
|
|
111
|
-
"react-router": "^5.2.0",
|
|
112
|
-
"react-router-dom": "^5.2.0",
|
|
113
|
-
"redux": "^4.0.0",
|
|
114
|
-
"redux-observable": "^1.2.0",
|
|
115
|
-
"regenerator-runtime": "^0.13.3",
|
|
116
|
-
"rxjs": "^6.6.3",
|
|
117
|
-
"sinon": "^14.0.0",
|
|
118
|
-
"typescript": "^2.8.0"
|
|
119
|
-
},
|
|
120
|
-
"peerDependencies": {
|
|
121
|
-
"@folio/stripes": ">=7.0.3",
|
|
122
|
-
"final-form": ">=4.18.4",
|
|
123
|
-
"final-form-arrays": ">=3.0.1",
|
|
124
|
-
"lodash": ">=4.17.0",
|
|
125
|
-
"prop-types": ">=15.6.0",
|
|
126
|
-
"query-string": ">=6.6.0",
|
|
127
|
-
"react": "*",
|
|
128
|
-
"react-final-form": ">=6.3.0",
|
|
129
|
-
"react-final-form-arrays": ">=3.1.0",
|
|
130
|
-
"react-intl": ">=5.8.1",
|
|
131
|
-
"react-query": ">=3.9.0",
|
|
132
|
-
"react-router-dom": ">=5.2.0"
|
|
133
|
-
},
|
|
134
|
-
"main": "src/index.js",
|
|
135
|
-
"module": "es/index.js",
|
|
136
|
-
"repository": {
|
|
137
|
-
"type": "git",
|
|
138
|
-
"url": "git@gitlab.com:knowledge-integration/folio/stripes-kint-components.git"
|
|
139
|
-
},
|
|
140
|
-
"author": "knowledgeintegration"
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
yarn manifest:
|
|
144
|
-
No manifest
|
|
145
|
-
|
|
146
|
-
Lockfile:
|
|
147
|
-
No lockfile
|