@k-int/stripes-kint-components 2.8.5 → 2.8.7
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 +11 -0
- package/es/index.js +70 -71
- package/es/lib/ActionList/ActionList.js +37 -47
- package/es/lib/ActionList/ActionListFieldArray.js +124 -162
- package/es/lib/ActionList/index.js +1 -1
- package/es/lib/CustomProperties/Config/CustomPropertiesLookup.js +62 -86
- package/es/lib/CustomProperties/Config/CustomPropertiesLookup.test.js +17 -21
- package/es/lib/CustomProperties/Config/CustomPropertiesSettings.js +114 -165
- package/es/lib/CustomProperties/Config/CustomPropertiesSettings.test.js +37 -87
- package/es/lib/CustomProperties/Config/CustomPropertyForm.js +85 -102
- package/es/lib/CustomProperties/Config/CustomPropertyForm.test.js +90 -122
- package/es/lib/CustomProperties/Config/CustomPropertyView.js +36 -37
- package/es/lib/CustomProperties/Config/CustomPropertyView.test.js +50 -154
- package/es/lib/CustomProperties/Config/index.js +4 -4
- package/es/lib/CustomProperties/Config/testResources.js +13 -21
- package/es/lib/CustomProperties/Edit/CustomPropertiesEdit.js +16 -19
- package/es/lib/CustomProperties/Edit/CustomPropertiesEdit.test.js +14 -20
- package/es/lib/CustomProperties/Edit/CustomPropertiesEditCtx.js +30 -31
- package/es/lib/CustomProperties/Edit/CustomPropertiesEditCtx.test.js +14 -20
- package/es/lib/CustomProperties/Edit/CustomPropertiesListField.js +82 -101
- package/es/lib/CustomProperties/Edit/CustomPropertiesListField.test.js +29 -73
- package/es/lib/CustomProperties/Edit/CustomPropertyField.js +131 -129
- package/es/lib/CustomProperties/Edit/CustomPropertyField.test.js +90 -176
- package/es/lib/CustomProperties/Edit/CustomPropertyFormCard.js +40 -43
- package/es/lib/CustomProperties/Edit/CustomPropertyFormCard.test.js +20 -21
- package/es/lib/CustomProperties/Edit/index.js +5 -5
- package/es/lib/CustomProperties/Edit/testResources.js +15 -29
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilter.js +66 -93
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilter.test.js +23 -63
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterField.js +50 -72
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterField.test.js +7 -6
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterFieldArray.js +33 -33
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterFieldArray.test.js +18 -49
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterForm.js +18 -19
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterForm.test.js +20 -50
- package/es/lib/CustomProperties/Filter/CustomPropertiesRule.js +42 -43
- package/es/lib/CustomProperties/Filter/CustomPropertiesRule.test.js +77 -257
- package/es/lib/CustomProperties/Filter/index.js +6 -6
- package/es/lib/CustomProperties/Filter/testResources.js +36 -42
- package/es/lib/CustomProperties/Filter/useOperators.js +17 -19
- package/es/lib/CustomProperties/Filter/useParseActiveFilterStrings.js +17 -32
- package/es/lib/CustomProperties/Filter/useValueProps.js +21 -25
- package/es/lib/CustomProperties/View/CustomPropertiesView.js +16 -19
- package/es/lib/CustomProperties/View/CustomPropertiesView.test.js +11 -16
- package/es/lib/CustomProperties/View/CustomPropertiesViewCtx.js +60 -79
- package/es/lib/CustomProperties/View/CustomPropertiesViewCtx.test.js +17 -27
- package/es/lib/CustomProperties/View/CustomPropertyCard.js +30 -41
- package/es/lib/CustomProperties/View/index.js +3 -3
- package/es/lib/CustomProperties/View/testResources.js +5 -9
- package/es/lib/CustomProperties/index.js +18 -18
- package/es/lib/CycleButton/CycleButton.js +19 -32
- package/es/lib/CycleButton/index.js +1 -1
- package/es/lib/EditableRefdataCategoryList/EditableRefdataCategoryList.js +98 -155
- package/es/lib/EditableRefdataCategoryList/index.js +1 -1
- package/es/lib/EditableRefdataList/EditableRefdataList.js +110 -170
- package/es/lib/EditableRefdataList/index.js +1 -1
- package/es/lib/EditableSettingsList/EditableSettingsList.js +12 -9
- package/es/lib/EditableSettingsList/EditableSettingsListFieldArray.js +16 -19
- package/es/lib/EditableSettingsList/EditableSettingsListFieldArray.test.js +61 -96
- package/es/lib/EditableSettingsList/SettingField/EditSettingValue.js +23 -36
- package/es/lib/EditableSettingsList/SettingField/EditSettingValue.test.js +99 -83
- package/es/lib/EditableSettingsList/SettingField/RenderSettingValue.js +19 -24
- package/es/lib/EditableSettingsList/SettingField/RenderSettingValue.test.js +187 -299
- package/es/lib/EditableSettingsList/SettingField/SettingField.js +43 -55
- package/es/lib/EditableSettingsList/SettingField/SettingField.test.js +60 -106
- package/es/lib/EditableSettingsList/SettingField/index.js +3 -3
- package/es/lib/EditableSettingsList/index.js +3 -3
- package/es/lib/FormModal/FormModal.js +43 -45
- package/es/lib/FormModal/index.js +1 -1
- package/es/lib/IconSelect/IconSelect.js +50 -74
- package/es/lib/IconSelect/index.js +1 -1
- package/es/lib/NoResultsMessage/NoResultsMessage.js +18 -17
- package/es/lib/NoResultsMessage/index.js +1 -1
- package/es/lib/QueryTypedown/QueryTypedown.js +16 -33
- package/es/lib/QueryTypedown/index.js +1 -1
- package/es/lib/RefdataButtons/RefdataButtons.js +30 -31
- package/es/lib/RefdataButtons/index.js +1 -1
- package/es/lib/RichSelect/RichSelect.js +77 -96
- package/es/lib/RichSelect/index.js +2 -2
- package/es/lib/RichSelect/useSelectedOption.js +5 -16
- package/es/lib/SASQLookupComponent/SASQLookupComponent.js +84 -110
- package/es/lib/SASQLookupComponent/TableBody/TableBody.js +39 -44
- package/es/lib/SASQLookupComponent/TableBody/index.js +1 -1
- package/es/lib/SASQLookupComponent/index.js +2 -2
- package/es/lib/SASQRoute/SASQRoute.js +26 -29
- package/es/lib/SASQRoute/index.js +1 -1
- package/es/lib/SASQViewComponent/SASQViewComponent.js +29 -37
- package/es/lib/SASQViewComponent/index.js +1 -1
- package/es/lib/SearchField/SearchField.js +11 -15
- package/es/lib/SearchField/index.js +1 -1
- package/es/lib/SettingPage/SettingPage.js +17 -15
- package/es/lib/SettingPage/SettingPagePane.js +13 -12
- package/es/lib/SettingPage/index.js +2 -2
- package/es/lib/Typedown/Typedown.js +73 -98
- package/es/lib/Typedown/index.js +1 -1
- package/es/lib/constants/customProperties.js +11 -22
- package/es/lib/constants/eventCodes.js +3 -6
- package/es/lib/contexts/SettingsContext.js +2 -3
- package/es/lib/contexts/index.js +1 -1
- package/es/lib/hooks/index.js +17 -17
- package/es/lib/hooks/settingsHooks/index.js +3 -3
- package/es/lib/hooks/settingsHooks/useAppSettings.js +22 -34
- package/es/lib/hooks/settingsHooks/useSettingSection.js +17 -19
- package/es/lib/hooks/settingsHooks/useSettings.js +56 -67
- package/es/lib/hooks/typedownHooks/index.js +3 -3
- package/es/lib/hooks/typedownHooks/useTypedown.js +49 -50
- package/es/lib/hooks/typedownHooks/useTypedownData.js +12 -23
- package/es/lib/hooks/typedownHooks/useTypedownToggle.js +13 -22
- package/es/lib/hooks/useActiveElement.js +10 -20
- package/es/lib/hooks/useAvailableCustomProperties.js +10 -25
- package/es/lib/hooks/useCustomProperties.js +23 -29
- package/es/lib/hooks/useHelperApp.js +31 -49
- package/es/lib/hooks/useInvalidateRefdata.js +4 -7
- package/es/lib/hooks/useKiwtFieldArray.js +35 -44
- package/es/lib/hooks/useKiwtSASQuery.js +40 -49
- package/es/lib/hooks/useLocalStorageState.js +7 -20
- package/es/lib/hooks/useMutateCustomProperties.js +23 -73
- package/es/lib/hooks/useMutateRefdataCategory.js +22 -66
- package/es/lib/hooks/useMutateRefdataValue.js +31 -73
- package/es/lib/hooks/useQIndex.js +17 -30
- package/es/lib/hooks/useRefdata.js +19 -22
- package/es/lib/hooks/useTemplates.js +16 -16
- package/es/lib/utils/buildUrl.js +9 -11
- package/es/lib/utils/generateKiwtQuery.js +4 -7
- package/es/lib/utils/generateKiwtQueryParams.js +77 -96
- package/es/lib/utils/groupCustomPropertiesByCtx.js +9 -18
- package/es/lib/utils/highlightString.js +17 -37
- package/es/lib/utils/index.js +15 -15
- package/es/lib/utils/matchString.js +5 -10
- package/es/lib/utils/parseErrorResponse.js +22 -63
- package/es/lib/utils/refdataOptions.js +2 -3
- package/es/lib/utils/refdataQueryKey.js +3 -4
- package/es/lib/utils/renderHelpText.js +32 -53
- package/es/lib/utils/selectorSafe.js +2 -3
- package/es/lib/utils/sortByLabel.js +4 -6
- package/es/lib/utils/toCamelCase.js +8 -14
- package/es/lib/utils/typedownQueryKey.js +3 -4
- package/es/lib/utils/validators.js +28 -34
- package/package.json +24 -9
- package/src/lib/utils/parseErrorResponse.js +3 -2
- package/translations/stripes-kint-components/ja.json +3 -3
- 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 -273
- package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionList.js.html +0 -364
- package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionListFieldArray.js.html +0 -1384
- 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 -1162
- 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 -664
- 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 -730
- 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 -271
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/EditableSettingsListFieldArray.js.html +0 -250
- 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 -559
- 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 -190
- 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 -535
- 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 -253
- 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 -991
- 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 -208
- 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/Typedown/Typedown.js.html +0 -901
- 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/eventCodes.js.html +0 -94
- package/src/artifacts/coverage-jest/lcov-report/constants/index.html +0 -131
- 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 -371
- package/src/artifacts/coverage-jest/lcov-report/hooks/index.js.html +0 -139
- 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 -283
- 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/useMutateCustomProperties.js.html +0 -283
- 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 -581
- 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 -523
- 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 -326
- package/src/artifacts/coverage-jest/lcov-report/utils/index.js.html +0 -187
- package/src/artifacts/coverage-jest/lcov-report/utils/matchString.js.html +0 -127
- package/src/artifacts/coverage-jest/lcov-report/utils/parseErrorResponse.js.html +0 -139
- 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 -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-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.info +0 -4830
- package/yarn-error.log +0 -147
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
## [2.8.7](https://gitlab.com/knowledge-integration/folio/stripes-kint-components/compare/v2.8.6...v2.8.7) (2023-11-02)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* add semantic release script to package.json ([a15d1fd](https://gitlab.com/knowledge-integration/folio/stripes-kint-components/commit/a15d1fd85ee02e0e18de8e252c5443ece81dafb4))
|
|
7
|
+
|
|
8
|
+
## 2.8.6 2022-12-14
|
|
9
|
+
* Backport parseErrorResponse updates from v4
|
|
10
|
+
* Tweaked Japanese translation JSON files
|
|
11
|
+
|
|
1
12
|
## 2.8.5 2022-12-07
|
|
2
13
|
* Fixes to translation json files directly for German, Japanese and Korean locales.
|
|
3
14
|
|
package/es/index.js
CHANGED
|
@@ -1,415 +1,414 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
3
|
Object.defineProperty(exports, "__esModule", {
|
|
5
4
|
value: true
|
|
6
5
|
});
|
|
7
6
|
Object.defineProperty(exports, "ActionList", {
|
|
8
7
|
enumerable: true,
|
|
9
|
-
get: function
|
|
8
|
+
get: function () {
|
|
10
9
|
return _ActionList.default;
|
|
11
10
|
}
|
|
12
11
|
});
|
|
13
12
|
Object.defineProperty(exports, "CustomPropertiesEdit", {
|
|
14
13
|
enumerable: true,
|
|
15
|
-
get: function
|
|
14
|
+
get: function () {
|
|
16
15
|
return _CustomProperties.CustomPropertiesEdit;
|
|
17
16
|
}
|
|
18
17
|
});
|
|
19
18
|
Object.defineProperty(exports, "CustomPropertiesEditCtx", {
|
|
20
19
|
enumerable: true,
|
|
21
|
-
get: function
|
|
20
|
+
get: function () {
|
|
22
21
|
return _CustomProperties.CustomPropertiesEditCtx;
|
|
23
22
|
}
|
|
24
23
|
});
|
|
25
24
|
Object.defineProperty(exports, "CustomPropertiesFilter", {
|
|
26
25
|
enumerable: true,
|
|
27
|
-
get: function
|
|
26
|
+
get: function () {
|
|
28
27
|
return _CustomProperties.CustomPropertiesFilter;
|
|
29
28
|
}
|
|
30
29
|
});
|
|
31
30
|
Object.defineProperty(exports, "CustomPropertiesFilterField", {
|
|
32
31
|
enumerable: true,
|
|
33
|
-
get: function
|
|
32
|
+
get: function () {
|
|
34
33
|
return _CustomProperties.CustomPropertiesFilterField;
|
|
35
34
|
}
|
|
36
35
|
});
|
|
37
36
|
Object.defineProperty(exports, "CustomPropertiesFilterFieldArray", {
|
|
38
37
|
enumerable: true,
|
|
39
|
-
get: function
|
|
38
|
+
get: function () {
|
|
40
39
|
return _CustomProperties.CustomPropertiesFilterFieldArray;
|
|
41
40
|
}
|
|
42
41
|
});
|
|
43
42
|
Object.defineProperty(exports, "CustomPropertiesFilterForm", {
|
|
44
43
|
enumerable: true,
|
|
45
|
-
get: function
|
|
44
|
+
get: function () {
|
|
46
45
|
return _CustomProperties.CustomPropertiesFilterForm;
|
|
47
46
|
}
|
|
48
47
|
});
|
|
49
48
|
Object.defineProperty(exports, "CustomPropertiesListField", {
|
|
50
49
|
enumerable: true,
|
|
51
|
-
get: function
|
|
50
|
+
get: function () {
|
|
52
51
|
return _CustomProperties.CustomPropertiesListField;
|
|
53
52
|
}
|
|
54
53
|
});
|
|
55
54
|
Object.defineProperty(exports, "CustomPropertiesLookup", {
|
|
56
55
|
enumerable: true,
|
|
57
|
-
get: function
|
|
56
|
+
get: function () {
|
|
58
57
|
return _CustomProperties.CustomPropertiesLookup;
|
|
59
58
|
}
|
|
60
59
|
});
|
|
61
60
|
Object.defineProperty(exports, "CustomPropertiesSettings", {
|
|
62
61
|
enumerable: true,
|
|
63
|
-
get: function
|
|
62
|
+
get: function () {
|
|
64
63
|
return _CustomProperties.CustomPropertiesSettings;
|
|
65
64
|
}
|
|
66
65
|
});
|
|
67
66
|
Object.defineProperty(exports, "CustomPropertiesView", {
|
|
68
67
|
enumerable: true,
|
|
69
|
-
get: function
|
|
68
|
+
get: function () {
|
|
70
69
|
return _CustomProperties.CustomPropertiesView;
|
|
71
70
|
}
|
|
72
71
|
});
|
|
73
72
|
Object.defineProperty(exports, "CustomPropertiesViewCtx", {
|
|
74
73
|
enumerable: true,
|
|
75
|
-
get: function
|
|
74
|
+
get: function () {
|
|
76
75
|
return _CustomProperties.CustomPropertiesViewCtx;
|
|
77
76
|
}
|
|
78
77
|
});
|
|
79
78
|
Object.defineProperty(exports, "CustomPropertyCard", {
|
|
80
79
|
enumerable: true,
|
|
81
|
-
get: function
|
|
80
|
+
get: function () {
|
|
82
81
|
return _CustomProperties.CustomPropertyCard;
|
|
83
82
|
}
|
|
84
83
|
});
|
|
85
84
|
Object.defineProperty(exports, "CustomPropertyField", {
|
|
86
85
|
enumerable: true,
|
|
87
|
-
get: function
|
|
86
|
+
get: function () {
|
|
88
87
|
return _CustomProperties.CustomPropertyField;
|
|
89
88
|
}
|
|
90
89
|
});
|
|
91
90
|
Object.defineProperty(exports, "CustomPropertyForm", {
|
|
92
91
|
enumerable: true,
|
|
93
|
-
get: function
|
|
92
|
+
get: function () {
|
|
94
93
|
return _CustomProperties.CustomPropertyForm;
|
|
95
94
|
}
|
|
96
95
|
});
|
|
97
96
|
Object.defineProperty(exports, "CustomPropertyFormCard", {
|
|
98
97
|
enumerable: true,
|
|
99
|
-
get: function
|
|
98
|
+
get: function () {
|
|
100
99
|
return _CustomProperties.CustomPropertyFormCard;
|
|
101
100
|
}
|
|
102
101
|
});
|
|
103
102
|
Object.defineProperty(exports, "CustomPropertyView", {
|
|
104
103
|
enumerable: true,
|
|
105
|
-
get: function
|
|
104
|
+
get: function () {
|
|
106
105
|
return _CustomProperties.CustomPropertyView;
|
|
107
106
|
}
|
|
108
107
|
});
|
|
109
108
|
Object.defineProperty(exports, "CycleButton", {
|
|
110
109
|
enumerable: true,
|
|
111
|
-
get: function
|
|
110
|
+
get: function () {
|
|
112
111
|
return _CycleButton.default;
|
|
113
112
|
}
|
|
114
113
|
});
|
|
115
114
|
Object.defineProperty(exports, "EditableRefdataCategoryList", {
|
|
116
115
|
enumerable: true,
|
|
117
|
-
get: function
|
|
116
|
+
get: function () {
|
|
118
117
|
return _EditableRefdataCategoryList.default;
|
|
119
118
|
}
|
|
120
119
|
});
|
|
121
120
|
Object.defineProperty(exports, "EditableRefdataList", {
|
|
122
121
|
enumerable: true,
|
|
123
|
-
get: function
|
|
122
|
+
get: function () {
|
|
124
123
|
return _EditableRefdataList.default;
|
|
125
124
|
}
|
|
126
125
|
});
|
|
127
126
|
Object.defineProperty(exports, "FormModal", {
|
|
128
127
|
enumerable: true,
|
|
129
|
-
get: function
|
|
128
|
+
get: function () {
|
|
130
129
|
return _FormModal.default;
|
|
131
130
|
}
|
|
132
131
|
});
|
|
133
132
|
Object.defineProperty(exports, "IconSelect", {
|
|
134
133
|
enumerable: true,
|
|
135
|
-
get: function
|
|
134
|
+
get: function () {
|
|
136
135
|
return _IconSelect.default;
|
|
137
136
|
}
|
|
138
137
|
});
|
|
139
138
|
Object.defineProperty(exports, "NoResultsMessage", {
|
|
140
139
|
enumerable: true,
|
|
141
|
-
get: function
|
|
140
|
+
get: function () {
|
|
142
141
|
return _NoResultsMessage.default;
|
|
143
142
|
}
|
|
144
143
|
});
|
|
145
144
|
Object.defineProperty(exports, "QueryTypedown", {
|
|
146
145
|
enumerable: true,
|
|
147
|
-
get: function
|
|
146
|
+
get: function () {
|
|
148
147
|
return _QueryTypedown.default;
|
|
149
148
|
}
|
|
150
149
|
});
|
|
151
150
|
Object.defineProperty(exports, "RefdataButtons", {
|
|
152
151
|
enumerable: true,
|
|
153
|
-
get: function
|
|
152
|
+
get: function () {
|
|
154
153
|
return _RefdataButtons.default;
|
|
155
154
|
}
|
|
156
155
|
});
|
|
157
156
|
Object.defineProperty(exports, "RichSelect", {
|
|
158
157
|
enumerable: true,
|
|
159
|
-
get: function
|
|
158
|
+
get: function () {
|
|
160
159
|
return _RichSelect.default;
|
|
161
160
|
}
|
|
162
161
|
});
|
|
163
162
|
Object.defineProperty(exports, "SASQLookupComponent", {
|
|
164
163
|
enumerable: true,
|
|
165
|
-
get: function
|
|
164
|
+
get: function () {
|
|
166
165
|
return _SASQLookupComponent.SASQLookupComponent;
|
|
167
166
|
}
|
|
168
167
|
});
|
|
169
168
|
Object.defineProperty(exports, "SASQRoute", {
|
|
170
169
|
enumerable: true,
|
|
171
|
-
get: function
|
|
170
|
+
get: function () {
|
|
172
171
|
return _SASQRoute.default;
|
|
173
172
|
}
|
|
174
173
|
});
|
|
175
174
|
Object.defineProperty(exports, "SASQTableBody", {
|
|
176
175
|
enumerable: true,
|
|
177
|
-
get: function
|
|
176
|
+
get: function () {
|
|
178
177
|
return _SASQLookupComponent.TableBody;
|
|
179
178
|
}
|
|
180
179
|
});
|
|
181
180
|
Object.defineProperty(exports, "SASQViewComponent", {
|
|
182
181
|
enumerable: true,
|
|
183
|
-
get: function
|
|
182
|
+
get: function () {
|
|
184
183
|
return _SASQViewComponent.default;
|
|
185
184
|
}
|
|
186
185
|
});
|
|
187
186
|
Object.defineProperty(exports, "SearchField", {
|
|
188
187
|
enumerable: true,
|
|
189
|
-
get: function
|
|
188
|
+
get: function () {
|
|
190
189
|
return _SearchField.default;
|
|
191
190
|
}
|
|
192
191
|
});
|
|
193
192
|
Object.defineProperty(exports, "SettingPage", {
|
|
194
193
|
enumerable: true,
|
|
195
|
-
get: function
|
|
194
|
+
get: function () {
|
|
196
195
|
return _SettingPage.SettingPage;
|
|
197
196
|
}
|
|
198
197
|
});
|
|
199
198
|
Object.defineProperty(exports, "SettingPagePane", {
|
|
200
199
|
enumerable: true,
|
|
201
|
-
get: function
|
|
200
|
+
get: function () {
|
|
202
201
|
return _SettingPage.SettingPagePane;
|
|
203
202
|
}
|
|
204
203
|
});
|
|
205
204
|
Object.defineProperty(exports, "SettingsContext", {
|
|
206
205
|
enumerable: true,
|
|
207
|
-
get: function
|
|
206
|
+
get: function () {
|
|
208
207
|
return _contexts.SettingsContext;
|
|
209
208
|
}
|
|
210
209
|
});
|
|
211
210
|
Object.defineProperty(exports, "Typedown", {
|
|
212
211
|
enumerable: true,
|
|
213
|
-
get: function
|
|
212
|
+
get: function () {
|
|
214
213
|
return _Typedown.default;
|
|
215
214
|
}
|
|
216
215
|
});
|
|
217
216
|
Object.defineProperty(exports, "boldString", {
|
|
218
217
|
enumerable: true,
|
|
219
|
-
get: function
|
|
218
|
+
get: function () {
|
|
220
219
|
return _utils.boldString;
|
|
221
220
|
}
|
|
222
221
|
});
|
|
223
222
|
Object.defineProperty(exports, "composeValidators", {
|
|
224
223
|
enumerable: true,
|
|
225
|
-
get: function
|
|
224
|
+
get: function () {
|
|
226
225
|
return _validators.composeValidators;
|
|
227
226
|
}
|
|
228
227
|
});
|
|
229
228
|
exports.customPropertyContants = void 0;
|
|
230
229
|
Object.defineProperty(exports, "generateKiwtQuery", {
|
|
231
230
|
enumerable: true,
|
|
232
|
-
get: function
|
|
231
|
+
get: function () {
|
|
233
232
|
return _utils.generateKiwtQuery;
|
|
234
233
|
}
|
|
235
234
|
});
|
|
236
235
|
Object.defineProperty(exports, "generateKiwtQueryParams", {
|
|
237
236
|
enumerable: true,
|
|
238
|
-
get: function
|
|
237
|
+
get: function () {
|
|
239
238
|
return _utils.generateKiwtQueryParams;
|
|
240
239
|
}
|
|
241
240
|
});
|
|
242
241
|
Object.defineProperty(exports, "groupCustomPropertiesByCtx", {
|
|
243
242
|
enumerable: true,
|
|
244
|
-
get: function
|
|
243
|
+
get: function () {
|
|
245
244
|
return _utils.groupCustomPropertiesByCtx;
|
|
246
245
|
}
|
|
247
246
|
});
|
|
248
247
|
Object.defineProperty(exports, "highlightString", {
|
|
249
248
|
enumerable: true,
|
|
250
|
-
get: function
|
|
249
|
+
get: function () {
|
|
251
250
|
return _utils.highlightString;
|
|
252
251
|
}
|
|
253
252
|
});
|
|
254
253
|
Object.defineProperty(exports, "invalidNumber", {
|
|
255
254
|
enumerable: true,
|
|
256
|
-
get: function
|
|
255
|
+
get: function () {
|
|
257
256
|
return _validators.invalidNumber;
|
|
258
257
|
}
|
|
259
258
|
});
|
|
260
259
|
Object.defineProperty(exports, "matchString", {
|
|
261
260
|
enumerable: true,
|
|
262
|
-
get: function
|
|
261
|
+
get: function () {
|
|
263
262
|
return _utils.matchString;
|
|
264
263
|
}
|
|
265
264
|
});
|
|
266
265
|
Object.defineProperty(exports, "parseErrorResponse", {
|
|
267
266
|
enumerable: true,
|
|
268
|
-
get: function
|
|
267
|
+
get: function () {
|
|
269
268
|
return _utils.parseErrorResponse;
|
|
270
269
|
}
|
|
271
270
|
});
|
|
272
271
|
Object.defineProperty(exports, "refdataOptions", {
|
|
273
272
|
enumerable: true,
|
|
274
|
-
get: function
|
|
273
|
+
get: function () {
|
|
275
274
|
return _utils.refdataOptions;
|
|
276
275
|
}
|
|
277
276
|
});
|
|
278
277
|
Object.defineProperty(exports, "refdataQueryKey", {
|
|
279
278
|
enumerable: true,
|
|
280
|
-
get: function
|
|
279
|
+
get: function () {
|
|
281
280
|
return _utils.refdataQueryKey;
|
|
282
281
|
}
|
|
283
282
|
});
|
|
284
283
|
Object.defineProperty(exports, "required", {
|
|
285
284
|
enumerable: true,
|
|
286
|
-
get: function
|
|
285
|
+
get: function () {
|
|
287
286
|
return _validators.required;
|
|
288
287
|
}
|
|
289
288
|
});
|
|
290
289
|
Object.defineProperty(exports, "requiredObject", {
|
|
291
290
|
enumerable: true,
|
|
292
|
-
get: function
|
|
291
|
+
get: function () {
|
|
293
292
|
return _validators.requiredObject;
|
|
294
293
|
}
|
|
295
294
|
});
|
|
296
295
|
Object.defineProperty(exports, "selectorSafe", {
|
|
297
296
|
enumerable: true,
|
|
298
|
-
get: function
|
|
297
|
+
get: function () {
|
|
299
298
|
return _utils.selectorSafe;
|
|
300
299
|
}
|
|
301
300
|
});
|
|
302
301
|
Object.defineProperty(exports, "typedownQueryKey", {
|
|
303
302
|
enumerable: true,
|
|
304
|
-
get: function
|
|
303
|
+
get: function () {
|
|
305
304
|
return _utils.typedownQueryKey;
|
|
306
305
|
}
|
|
307
306
|
});
|
|
308
307
|
Object.defineProperty(exports, "useActiveElement", {
|
|
309
308
|
enumerable: true,
|
|
310
|
-
get: function
|
|
309
|
+
get: function () {
|
|
311
310
|
return _hooks.useActiveElement;
|
|
312
311
|
}
|
|
313
312
|
});
|
|
314
313
|
Object.defineProperty(exports, "useAppSettings", {
|
|
315
314
|
enumerable: true,
|
|
316
|
-
get: function
|
|
315
|
+
get: function () {
|
|
317
316
|
return _hooks.useAppSettings;
|
|
318
317
|
}
|
|
319
318
|
});
|
|
320
319
|
Object.defineProperty(exports, "useAvailableCustomProperties", {
|
|
321
320
|
enumerable: true,
|
|
322
|
-
get: function
|
|
321
|
+
get: function () {
|
|
323
322
|
return _hooks.useAvailableCustomProperties;
|
|
324
323
|
}
|
|
325
324
|
});
|
|
326
325
|
Object.defineProperty(exports, "useCustomProperties", {
|
|
327
326
|
enumerable: true,
|
|
328
|
-
get: function
|
|
327
|
+
get: function () {
|
|
329
328
|
return _hooks.useCustomProperties;
|
|
330
329
|
}
|
|
331
330
|
});
|
|
332
331
|
Object.defineProperty(exports, "useHelperApp", {
|
|
333
332
|
enumerable: true,
|
|
334
|
-
get: function
|
|
333
|
+
get: function () {
|
|
335
334
|
return _hooks.useHelperApp;
|
|
336
335
|
}
|
|
337
336
|
});
|
|
338
337
|
Object.defineProperty(exports, "useInvalidateRefdata", {
|
|
339
338
|
enumerable: true,
|
|
340
|
-
get: function
|
|
339
|
+
get: function () {
|
|
341
340
|
return _hooks.useInvalidateRefdata;
|
|
342
341
|
}
|
|
343
342
|
});
|
|
344
343
|
Object.defineProperty(exports, "useKiwtFieldArray", {
|
|
345
344
|
enumerable: true,
|
|
346
|
-
get: function
|
|
345
|
+
get: function () {
|
|
347
346
|
return _hooks.useKiwtFieldArray;
|
|
348
347
|
}
|
|
349
348
|
});
|
|
350
349
|
Object.defineProperty(exports, "useKiwtSASQuery", {
|
|
351
350
|
enumerable: true,
|
|
352
|
-
get: function
|
|
351
|
+
get: function () {
|
|
353
352
|
return _hooks.useKiwtSASQuery;
|
|
354
353
|
}
|
|
355
354
|
});
|
|
356
355
|
Object.defineProperty(exports, "useLocalStorageState", {
|
|
357
356
|
enumerable: true,
|
|
358
|
-
get: function
|
|
357
|
+
get: function () {
|
|
359
358
|
return _hooks.useLocalStorageState;
|
|
360
359
|
}
|
|
361
360
|
});
|
|
362
361
|
Object.defineProperty(exports, "useMutateCustomProperties", {
|
|
363
362
|
enumerable: true,
|
|
364
|
-
get: function
|
|
363
|
+
get: function () {
|
|
365
364
|
return _hooks.useMutateCustomProperties;
|
|
366
365
|
}
|
|
367
366
|
});
|
|
368
367
|
Object.defineProperty(exports, "useMutateRefdataValue", {
|
|
369
368
|
enumerable: true,
|
|
370
|
-
get: function
|
|
369
|
+
get: function () {
|
|
371
370
|
return _hooks.useMutateRefdataValue;
|
|
372
371
|
}
|
|
373
372
|
});
|
|
374
373
|
Object.defineProperty(exports, "useOperators", {
|
|
375
374
|
enumerable: true,
|
|
376
|
-
get: function
|
|
375
|
+
get: function () {
|
|
377
376
|
return _CustomProperties.useOperators;
|
|
378
377
|
}
|
|
379
378
|
});
|
|
380
379
|
Object.defineProperty(exports, "useParseActiveFilterStrings", {
|
|
381
380
|
enumerable: true,
|
|
382
|
-
get: function
|
|
381
|
+
get: function () {
|
|
383
382
|
return _CustomProperties.useParseActiveFilterStrings;
|
|
384
383
|
}
|
|
385
384
|
});
|
|
386
385
|
Object.defineProperty(exports, "useQIndex", {
|
|
387
386
|
enumerable: true,
|
|
388
|
-
get: function
|
|
387
|
+
get: function () {
|
|
389
388
|
return _hooks.useQIndex;
|
|
390
389
|
}
|
|
391
390
|
});
|
|
392
391
|
Object.defineProperty(exports, "useRefdata", {
|
|
393
392
|
enumerable: true,
|
|
394
|
-
get: function
|
|
393
|
+
get: function () {
|
|
395
394
|
return _hooks.useRefdata;
|
|
396
395
|
}
|
|
397
396
|
});
|
|
398
397
|
Object.defineProperty(exports, "useSelectedOption", {
|
|
399
398
|
enumerable: true,
|
|
400
|
-
get: function
|
|
399
|
+
get: function () {
|
|
401
400
|
return _RichSelect.useSelectedOption;
|
|
402
401
|
}
|
|
403
402
|
});
|
|
404
403
|
Object.defineProperty(exports, "useSettings", {
|
|
405
404
|
enumerable: true,
|
|
406
|
-
get: function
|
|
405
|
+
get: function () {
|
|
407
406
|
return _hooks.useSettings;
|
|
408
407
|
}
|
|
409
408
|
});
|
|
410
409
|
Object.defineProperty(exports, "useTemplates", {
|
|
411
410
|
enumerable: true,
|
|
412
|
-
get: function
|
|
411
|
+
get: function () {
|
|
413
412
|
return _hooks.useTemplates;
|
|
414
413
|
}
|
|
415
414
|
});
|
|
@@ -436,6 +435,6 @@ exports.customPropertyContants = _customPropertyContants;
|
|
|
436
435
|
var _CycleButton = _interopRequireDefault(require("./lib/CycleButton"));
|
|
437
436
|
var _IconSelect = _interopRequireDefault(require("./lib/IconSelect"));
|
|
438
437
|
var _RichSelect = _interopRequireWildcard(require("./lib/RichSelect"));
|
|
439
|
-
function _getRequireWildcardCache(
|
|
440
|
-
function _interopRequireWildcard(
|
|
438
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
439
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
441
440
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
3
|
Object.defineProperty(exports, "__esModule", {
|
|
5
4
|
value: true
|
|
6
5
|
});
|
|
@@ -12,16 +11,10 @@ var _reactFinalFormArrays = require("react-final-form-arrays");
|
|
|
12
11
|
var _finalFormArrays = _interopRequireDefault(require("final-form-arrays"));
|
|
13
12
|
var _ActionListFieldArray = _interopRequireDefault(require("./ActionListFieldArray"));
|
|
14
13
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
15
|
-
var _excluded = ["actionAssigner", "actionCalls", "columnMapping", "contentData", "creatableFields", "createCallback", "defaultNewObject", "editableFields", "fieldComponents", "hideCreateButton", "label", "validateFields", "visibleFields"];
|
|
16
14
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
17
|
-
function _getRequireWildcardCache(
|
|
18
|
-
function _interopRequireWildcard(
|
|
19
|
-
|
|
20
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
21
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
22
|
-
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; }
|
|
23
|
-
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; }
|
|
24
|
-
var propTypes = {
|
|
15
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
16
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
17
|
+
const propTypes = {
|
|
25
18
|
actionAssigner: _propTypes.default.func,
|
|
26
19
|
actionCalls: _propTypes.default.object,
|
|
27
20
|
columnMapping: _propTypes.default.object,
|
|
@@ -36,51 +29,48 @@ var propTypes = {
|
|
|
36
29
|
validateFields: _propTypes.default.object,
|
|
37
30
|
visibleFields: _propTypes.default.arrayOf(_propTypes.default.string)
|
|
38
31
|
};
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
actionCalls =
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
creatableFields =
|
|
47
|
-
createCallback
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
ref: ref
|
|
62
|
-
}, alfaProps));
|
|
63
|
-
};
|
|
32
|
+
const ActionList = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
|
|
33
|
+
let {
|
|
34
|
+
actionAssigner,
|
|
35
|
+
actionCalls = {},
|
|
36
|
+
// DEPRECATED
|
|
37
|
+
columnMapping,
|
|
38
|
+
contentData,
|
|
39
|
+
creatableFields = {},
|
|
40
|
+
createCallback,
|
|
41
|
+
defaultNewObject = {},
|
|
42
|
+
editableFields = {},
|
|
43
|
+
fieldComponents = {},
|
|
44
|
+
hideCreateButton,
|
|
45
|
+
label,
|
|
46
|
+
validateFields,
|
|
47
|
+
visibleFields,
|
|
48
|
+
...mclProps // Assume anything left over is to directly apply to the MCL
|
|
49
|
+
} = _ref;
|
|
50
|
+
const ActionListFieldArrayWithRef = alfaProps => /*#__PURE__*/(0, _jsxRuntime.jsx)(_ActionListFieldArray.default, {
|
|
51
|
+
ref: ref,
|
|
52
|
+
...alfaProps
|
|
53
|
+
});
|
|
64
54
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
|
|
65
55
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactFinalForm.Form, {
|
|
66
56
|
enableReinitialize: true,
|
|
67
57
|
initialValues: {
|
|
68
|
-
contentData
|
|
58
|
+
contentData
|
|
69
59
|
},
|
|
70
60
|
mutators: _finalFormArrays.default,
|
|
71
|
-
onSubmit:
|
|
72
|
-
return null;
|
|
73
|
-
},
|
|
61
|
+
onSubmit: () => null,
|
|
74
62
|
subscription: {
|
|
75
63
|
contentData: true
|
|
76
64
|
},
|
|
77
|
-
children:
|
|
78
|
-
|
|
65
|
+
children: _ref2 => {
|
|
66
|
+
let {
|
|
67
|
+
handleSubmit
|
|
68
|
+
} = _ref2;
|
|
79
69
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)("form", {
|
|
80
|
-
onSubmit:
|
|
70
|
+
onSubmit: e => {
|
|
81
71
|
e.preventDefault();
|
|
82
72
|
},
|
|
83
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactFinalFormArrays.FieldArray,
|
|
73
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactFinalFormArrays.FieldArray, {
|
|
84
74
|
actionAssigner: actionAssigner,
|
|
85
75
|
actionCalls: actionCalls,
|
|
86
76
|
columnMapping: columnMapping,
|
|
@@ -95,13 +85,13 @@ var ActionList = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
|
95
85
|
name: "contentData",
|
|
96
86
|
triggerFormSubmit: handleSubmit,
|
|
97
87
|
validateFields: validateFields,
|
|
98
|
-
visibleFields: visibleFields
|
|
99
|
-
|
|
88
|
+
visibleFields: visibleFields,
|
|
89
|
+
...mclProps
|
|
90
|
+
})
|
|
100
91
|
});
|
|
101
92
|
}
|
|
102
93
|
})
|
|
103
94
|
});
|
|
104
95
|
});
|
|
105
96
|
ActionList.propTypes = propTypes;
|
|
106
|
-
var _default = ActionList;
|
|
107
|
-
exports.default = _default;
|
|
97
|
+
var _default = exports.default = ActionList;
|