@k-int/stripes-kint-components 2.8.3 → 2.8.4
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 +3 -0
- package/es/artifacts/coverage-jest/lcov-report/block-navigation.js +6 -19
- package/es/artifacts/coverage-jest/lcov-report/prettify.js +2 -182
- package/es/artifacts/coverage-jest/lcov-report/sorter.js +64 -94
- package/es/index.js +0 -27
- package/es/lib/ActionList/ActionList.js +18 -38
- package/es/lib/ActionList/ActionListFieldArray.js +57 -112
- package/es/lib/ActionList/index.js +0 -2
- package/es/lib/CustomProperties/Config/CustomPropertiesLookup.js +32 -63
- package/es/lib/CustomProperties/Config/CustomPropertiesLookup.test.js +2 -13
- package/es/lib/CustomProperties/Config/CustomPropertiesSettings.js +89 -138
- package/es/lib/CustomProperties/Config/CustomPropertiesSettings.test.js +3 -22
- package/es/lib/CustomProperties/Config/CustomPropertyForm.js +14 -50
- package/es/lib/CustomProperties/Config/CustomPropertyForm.test.js +17 -34
- package/es/lib/CustomProperties/Config/CustomPropertyView.js +3 -12
- package/es/lib/CustomProperties/Config/CustomPropertyView.test.js +1 -26
- package/es/lib/CustomProperties/Config/index.js +0 -5
- package/es/lib/CustomProperties/Edit/CustomPropertiesEdit.js +6 -12
- package/es/lib/CustomProperties/Edit/CustomPropertiesEdit.test.js +1 -13
- package/es/lib/CustomProperties/Edit/CustomPropertiesEditCtx.js +24 -39
- package/es/lib/CustomProperties/Edit/CustomPropertiesEditCtx.test.js +1 -13
- package/es/lib/CustomProperties/Edit/CustomPropertiesListField.js +25 -69
- package/es/lib/CustomProperties/Edit/CustomPropertiesListField.test.js +3 -23
- package/es/lib/CustomProperties/Edit/CustomPropertyField.js +26 -77
- package/es/lib/CustomProperties/Edit/CustomPropertyField.test.js +6 -33
- package/es/lib/CustomProperties/Edit/CustomPropertyFormCard.js +19 -33
- package/es/lib/CustomProperties/Edit/CustomPropertyFormCard.test.js +3 -14
- package/es/lib/CustomProperties/Edit/index.js +0 -6
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilter.js +33 -70
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilter.test.js +2 -18
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterField.js +14 -44
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterField.test.js +1 -10
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterFieldArray.js +4 -23
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterFieldArray.test.js +2 -19
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterForm.js +8 -22
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterForm.test.js +2 -20
- package/es/lib/CustomProperties/Filter/CustomPropertiesRule.js +9 -27
- package/es/lib/CustomProperties/Filter/CustomPropertiesRule.test.js +1 -32
- package/es/lib/CustomProperties/Filter/index.js +0 -7
- package/es/lib/CustomProperties/Filter/useOperators.js +5 -21
- package/es/lib/CustomProperties/Filter/useParseActiveFilterStrings.js +3 -15
- package/es/lib/CustomProperties/Filter/useValueProps.js +5 -20
- package/es/lib/CustomProperties/View/CustomPropertiesView.js +6 -12
- package/es/lib/CustomProperties/View/CustomPropertiesView.test.js +1 -10
- package/es/lib/CustomProperties/View/CustomPropertiesViewCtx.js +43 -65
- package/es/lib/CustomProperties/View/CustomPropertiesViewCtx.test.js +1 -13
- package/es/lib/CustomProperties/View/CustomPropertyCard.js +10 -38
- package/es/lib/CustomProperties/View/index.js +0 -4
- package/es/lib/CustomProperties/index.js +0 -4
- package/es/lib/CycleButton/CycleButton.js +8 -33
- package/es/lib/CycleButton/index.js +0 -2
- package/es/lib/EditableRefdataCategoryList/EditableRefdataCategoryList.js +85 -131
- package/es/lib/EditableRefdataCategoryList/index.js +0 -2
- package/es/lib/EditableRefdataList/EditableRefdataList.js +90 -139
- package/es/lib/EditableRefdataList/index.js +0 -2
- package/es/lib/EditableSettingsList/EditableSettingsList.js +3 -13
- package/es/lib/EditableSettingsList/EditableSettingsListFieldArray.js +2 -15
- package/es/lib/EditableSettingsList/EditableSettingsListFieldArray.test.js +4 -19
- package/es/lib/EditableSettingsList/SettingField/EditSettingValue.js +3 -25
- package/es/lib/EditableSettingsList/SettingField/EditSettingValue.test.js +19 -26
- package/es/lib/EditableSettingsList/SettingField/RenderSettingValue.js +2 -20
- package/es/lib/EditableSettingsList/SettingField/RenderSettingValue.test.js +14 -35
- package/es/lib/EditableSettingsList/SettingField/SettingField.js +15 -51
- package/es/lib/EditableSettingsList/SettingField/SettingField.test.js +6 -31
- package/es/lib/EditableSettingsList/SettingField/index.js +0 -4
- package/es/lib/EditableSettingsList/index.js +0 -4
- package/es/lib/FormModal/FormModal.js +14 -34
- package/es/lib/FormModal/index.js +0 -2
- package/es/lib/IconSelect/IconSelect.js +29 -67
- package/es/lib/IconSelect/index.js +0 -2
- package/es/lib/NoResultsMessage/NoResultsMessage.js +13 -22
- package/es/lib/NoResultsMessage/index.js +0 -2
- package/es/lib/QueryTypedown/QueryTypedown.js +9 -36
- package/es/lib/QueryTypedown/index.js +0 -2
- package/es/lib/RefdataButtons/RefdataButtons.js +5 -24
- package/es/lib/RefdataButtons/index.js +0 -2
- package/es/lib/RichSelect/RichSelect.js +39 -67
- package/es/lib/RichSelect/index.js +0 -3
- package/es/lib/RichSelect/useSelectedOption.js +3 -14
- package/es/lib/SASQLookupComponent/SASQLookupComponent.js +36 -80
- package/es/lib/SASQLookupComponent/TableBody/TableBody.js +16 -29
- package/es/lib/SASQLookupComponent/TableBody/index.js +0 -2
- package/es/lib/SASQLookupComponent/index.js +0 -3
- package/es/lib/SASQRoute/SASQRoute.js +6 -23
- package/es/lib/SASQRoute/index.js +0 -2
- package/es/lib/SASQViewComponent/SASQViewComponent.js +17 -36
- package/es/lib/SASQViewComponent/index.js +0 -2
- package/es/lib/SearchField/SearchField.js +1 -17
- package/es/lib/SearchField/index.js +0 -2
- package/es/lib/SettingPage/SettingPage.js +6 -21
- package/es/lib/SettingPage/SettingPagePane.js +2 -17
- package/es/lib/SettingPage/index.js +0 -3
- package/es/lib/Typedown/Typedown.js +51 -82
- package/es/lib/Typedown/index.js +0 -2
- package/es/lib/contexts/SettingsContext.js +0 -2
- package/es/lib/contexts/index.js +0 -2
- package/es/lib/hooks/index.js +0 -16
- package/es/lib/hooks/settingsHooks/index.js +0 -4
- package/es/lib/hooks/settingsHooks/useAppSettings.js +6 -27
- package/es/lib/hooks/settingsHooks/useSettingSection.js +10 -20
- package/es/lib/hooks/settingsHooks/useSettings.js +10 -43
- package/es/lib/hooks/typedownHooks/index.js +0 -4
- package/es/lib/hooks/typedownHooks/useTypedown.js +17 -37
- package/es/lib/hooks/typedownHooks/useTypedownData.js +12 -26
- package/es/lib/hooks/typedownHooks/useTypedownToggle.js +5 -19
- package/es/lib/hooks/useActiveElement.js +3 -15
- package/es/lib/hooks/useAvailableCustomProperties.js +3 -22
- package/es/lib/hooks/useCustomProperties.js +11 -25
- package/es/lib/hooks/useHelperApp.js +7 -30
- package/es/lib/hooks/useInvalidateRefdata.js +0 -4
- package/es/lib/hooks/useKiwtFieldArray.js +5 -29
- package/es/lib/hooks/useKiwtSASQuery.js +12 -37
- package/es/lib/hooks/useLocalStorageState.js +5 -21
- package/es/lib/hooks/useMutateCustomProperties.js +11 -28
- package/es/lib/hooks/useMutateRefdataCategory.js +9 -29
- package/es/lib/hooks/useMutateRefdataValue.js +10 -27
- package/es/lib/hooks/useQIndex.js +3 -27
- package/es/lib/hooks/useRefdata.js +7 -16
- package/es/lib/hooks/useTemplates.js +6 -17
- package/es/lib/utils/buildUrl.js +1 -10
- package/es/lib/utils/generateKiwtQuery.js +0 -4
- package/es/lib/utils/generateKiwtQueryParams.js +24 -62
- package/es/lib/utils/groupCustomPropertiesByCtx.js +0 -14
- package/es/lib/utils/highlightString.js +6 -23
- package/es/lib/utils/index.js +0 -15
- package/es/lib/utils/matchString.js +0 -6
- package/es/lib/utils/parseErrorResponse.js +2 -24
- package/es/lib/utils/refdataQueryKey.js +0 -4
- package/es/lib/utils/renderHelpText.js +0 -7
- package/es/lib/utils/selectorSafe.js +0 -2
- package/es/lib/utils/sortByLabel.js +0 -6
- package/es/lib/utils/toCamelCase.js +6 -5
- package/es/lib/utils/typedownQueryKey.js +0 -4
- package/es/lib/utils/validators.js +4 -35
- package/junit.xml +151 -151
- package/package.json +1 -1
- package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionList.js.html +5 -23
- package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionListFieldArray.js.html +48 -282
- package/src/artifacts/coverage-jest/lcov-report/ActionList/index.html +9 -9
- 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 +39 -171
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertiesSettings.js.html +53 -272
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertyForm.js.html +74 -293
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertyView.js.html +54 -126
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/index.html +56 -41
- 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 +5 -23
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertiesEditCtx.js.html +42 -54
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertiesListField.js.html +54 -216
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertyField.js.html +37 -319
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertyFormCard.js.html +68 -41
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/index.html +53 -53
- 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 +3077 -74
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilter.js.html +45 -45
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterField.js.html +64 -103
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterFieldArray.js.html +63 -54
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterForm.js.html +16 -49
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesRule.js.html +18 -69
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/index.html +81 -81
- 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 +786 -33
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useOperators.js.html +45 -45
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useParseActiveFilterStrings.js.html +6 -6
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useValueProps.js.html +28 -43
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertiesView.js.html +2 -20
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertiesViewCtx.js.html +39 -45
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertyCard.js.html +74 -53
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/index.html +24 -24
- 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 +32 -86
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataCategoryList/index.html +3 -3
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataCategoryList/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/EditableRefdataList.js.html +37 -109
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/index.html +3 -3
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/EditableSettingsList.js.html +14 -41
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/EditableSettingsListFieldArray.js.html +6 -45
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/EditSettingValue.js.html +11 -47
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/RenderSettingValue.js.html +14 -65
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/SettingField.js.html +31 -154
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/index.html +26 -26
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/index.html +18 -18
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/FormModal/FormModal.js.html +17 -35
- package/src/artifacts/coverage-jest/lcov-report/FormModal/index.html +15 -15
- 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 +14 -41
- package/src/artifacts/coverage-jest/lcov-report/IconSelect/index.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/IconSelect/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/NoResultsMessage.js.html +6 -48
- package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/index.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/QueryTypedown.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/RefdataButtons.js.html +3 -3
- package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/ResponsiveButtonGroup/ResponsiveButtonGroup.js.html +535 -0
- package/src/artifacts/coverage-jest/lcov-report/ResponsiveButtonGroup/index.html +146 -0
- package/src/artifacts/coverage-jest/lcov-report/ResponsiveButtonGroup/index.js.html +88 -0
- package/src/artifacts/coverage-jest/lcov-report/ResponsiveButtonGroup/useResponsiveButtonGroupSizing.js.html +253 -0
- package/src/artifacts/coverage-jest/lcov-report/RichSelect/RichSelect.js.html +82 -22
- package/src/artifacts/coverage-jest/lcov-report/RichSelect/index.html +3 -3
- 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 +7 -52
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/TableBody.js.html +4 -31
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/index.html +3 -3
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/index.html +7 -7
- 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 +27 -24
- package/src/artifacts/coverage-jest/lcov-report/SettingPage/SettingPagePane.js.html +17 -47
- package/src/artifacts/coverage-jest/lcov-report/SettingPage/index.html +22 -22
- package/src/artifacts/coverage-jest/lcov-report/SettingPage/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/Typedown/Typedown.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/Typedown/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/Typedown/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/constants/customProperties.js.html +1 -1
- 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 +1 -1
- 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 +106 -136
- package/src/artifacts/coverage-jest/lcov-report/hooks/index.js.html +3 -9
- package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/index.html +25 -25
- 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 +7 -7
- package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useSettingSection.js.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useSettings.js.html +22 -61
- 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 +7 -7
- package/src/artifacts/coverage-jest/lcov-report/hooks/useAvailableCustomProperties.js.html +205 -0
- package/src/artifacts/coverage-jest/lcov-report/hooks/useCustomProperties.js.html +37 -37
- package/src/artifacts/coverage-jest/lcov-report/hooks/useHelperApp.js.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/hooks/useIntlKey.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useIntlKeyStore.js.html +3 -3
- package/src/artifacts/coverage-jest/lcov-report/hooks/useInvalidateRefdata.js.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/hooks/useKintIntl.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useKiwtFieldArray.js.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/hooks/useKiwtSASQuery.js.html +9 -9
- package/src/artifacts/coverage-jest/lcov-report/hooks/useLocalStorageState.js.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateCustomProperties.js.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateRefdataCategory.js.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateRefdataValue.js.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/hooks/useQIndex.js.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/hooks/useRefdata.js.html +9 -9
- package/src/artifacts/coverage-jest/lcov-report/hooks/useSASQQueryMeta.js.html +187 -0
- package/src/artifacts/coverage-jest/lcov-report/hooks/useTemplates.js.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/index.html +129 -144
- package/src/artifacts/coverage-jest/lcov-report/utils/buildUrl.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/utils/generateKiwtQuery.js.html +16 -16
- package/src/artifacts/coverage-jest/lcov-report/utils/generateKiwtQueryParams.js.html +66 -66
- package/src/artifacts/coverage-jest/lcov-report/utils/groupCustomPropertiesByCtx.js.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/utils/highlightString.js.html +3 -3
- package/src/artifacts/coverage-jest/lcov-report/utils/index.html +55 -40
- package/src/artifacts/coverage-jest/lcov-report/utils/index.js.html +3 -33
- package/src/artifacts/coverage-jest/lcov-report/utils/matchString.js.html +2 -2
- package/src/artifacts/coverage-jest/lcov-report/utils/parseErrorResponse.js.html +3 -3
- 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 +2 -2
- package/src/artifacts/coverage-jest/lcov-report/utils/sortByLabel.js.html +2 -2
- package/src/artifacts/coverage-jest/lcov-report/utils/toCamelCase.js.html +2 -2
- package/src/artifacts/coverage-jest/lcov-report/utils/typedownQueryKey.js.html +2 -2
- package/src/artifacts/coverage-jest/lcov-report/utils/validators.js.html +80 -128
- package/src/artifacts/coverage-jest/lcov.info +2284 -2232
- package/src/lib/CustomProperties/Edit/CustomPropertiesListField.js +0 -1
- package/src/lib/utils/parseErrorResponse.js +1 -1
- package/translate.sh +4 -0
- package/translations/stripes-kint-components/ar.json +12 -12
- package/translations/stripes-kint-components/cs_CZ.json +4 -4
- package/translations/stripes-kint-components/en_GB.json +1 -0
- package/translations/stripes-kint-components/en_SE.json +1 -0
- package/translations/stripes-kint-components/es_419.json +122 -0
- package/translations/stripes-kint-components/es_ES.json +122 -0
- package/translations/stripes-kint-components/fr.json +105 -1
- package/translations/stripes-kint-components/fr_FR.json +105 -0
- package/translations/stripes-kint-components/hu.json +12 -12
- package/translations/stripes-kint-components/it_IT.json +6 -6
- package/translations/stripes-kint-components/pt_PT.json +6 -6
- package/translations/stripes-kint-components/ru.json +1 -1
- package/translations/stripes-kint-components/sv.json +7 -7
- package/translations/stripes-kint-components/zh_TW.json +122 -0
- package/yarn-error.log +147 -0
|
@@ -5,61 +5,55 @@ var addSorting = function () {
|
|
|
5
5
|
'use strict';
|
|
6
6
|
|
|
7
7
|
var cols,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
currentSort = {
|
|
9
|
+
index: 0,
|
|
10
|
+
desc: false
|
|
11
|
+
};
|
|
12
12
|
|
|
13
|
+
// returns the summary table element
|
|
13
14
|
function getTable() {
|
|
14
15
|
return document.querySelector('.coverage-summary');
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
}
|
|
17
|
+
// returns the thead element of the summary table
|
|
18
18
|
function getTableHeader() {
|
|
19
19
|
return getTable().querySelector('thead tr');
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
}
|
|
21
|
+
// returns the tbody element of the summary table
|
|
23
22
|
function getTableBody() {
|
|
24
23
|
return getTable().querySelector('tbody');
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
|
|
24
|
+
}
|
|
25
|
+
// returns the th element for nth column
|
|
28
26
|
function getNthColumn(n) {
|
|
29
27
|
return getTableHeader().querySelectorAll('th')[n];
|
|
30
28
|
}
|
|
31
|
-
|
|
32
29
|
function onFilterInput() {
|
|
33
30
|
var searchValue = document.getElementById('fileSearch').value;
|
|
34
31
|
var rows = document.getElementsByTagName('tbody')[0].children;
|
|
35
|
-
|
|
36
32
|
for (var i = 0; i < rows.length; i++) {
|
|
37
33
|
var row = rows[i];
|
|
38
|
-
|
|
39
34
|
if (row.textContent.toLowerCase().includes(searchValue.toLowerCase())) {
|
|
40
35
|
row.style.display = '';
|
|
41
36
|
} else {
|
|
42
37
|
row.style.display = 'none';
|
|
43
38
|
}
|
|
44
39
|
}
|
|
45
|
-
}
|
|
46
|
-
|
|
40
|
+
}
|
|
47
41
|
|
|
42
|
+
// loads the search box
|
|
48
43
|
function addSearchBox() {
|
|
49
44
|
var template = document.getElementById('filterTemplate');
|
|
50
45
|
var templateClone = template.content.cloneNode(true);
|
|
51
46
|
templateClone.getElementById('fileSearch').oninput = onFilterInput;
|
|
52
47
|
template.parentElement.appendChild(templateClone);
|
|
53
|
-
}
|
|
54
|
-
|
|
48
|
+
}
|
|
55
49
|
|
|
50
|
+
// loads all columns
|
|
56
51
|
function loadColumns() {
|
|
57
52
|
var colNodes = getTableHeader().querySelectorAll('th'),
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
53
|
+
colNode,
|
|
54
|
+
cols = [],
|
|
55
|
+
col,
|
|
56
|
+
i;
|
|
63
57
|
for (i = 0; i < colNodes.length; i += 1) {
|
|
64
58
|
colNode = colNodes[i];
|
|
65
59
|
col = {
|
|
@@ -68,123 +62,102 @@ var addSorting = function () {
|
|
|
68
62
|
type: colNode.getAttribute('data-type') || 'string'
|
|
69
63
|
};
|
|
70
64
|
cols.push(col);
|
|
71
|
-
|
|
72
65
|
if (col.sortable) {
|
|
73
66
|
col.defaultDescSort = col.type === 'number';
|
|
74
67
|
colNode.innerHTML = colNode.innerHTML + '<span class="sorter"></span>';
|
|
75
68
|
}
|
|
76
69
|
}
|
|
77
|
-
|
|
78
70
|
return cols;
|
|
79
|
-
}
|
|
71
|
+
}
|
|
72
|
+
// attaches a data attribute to every tr element with an object
|
|
80
73
|
// of data values keyed by column name
|
|
81
|
-
|
|
82
|
-
|
|
83
74
|
function loadRowData(tableRow) {
|
|
84
75
|
var tableCols = tableRow.querySelectorAll('td'),
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
76
|
+
colNode,
|
|
77
|
+
col,
|
|
78
|
+
data = {},
|
|
79
|
+
i,
|
|
80
|
+
val;
|
|
91
81
|
for (i = 0; i < tableCols.length; i += 1) {
|
|
92
82
|
colNode = tableCols[i];
|
|
93
83
|
col = cols[i];
|
|
94
84
|
val = colNode.getAttribute('data-value');
|
|
95
|
-
|
|
96
85
|
if (col.type === 'number') {
|
|
97
86
|
val = Number(val);
|
|
98
87
|
}
|
|
99
|
-
|
|
100
88
|
data[col.key] = val;
|
|
101
89
|
}
|
|
102
|
-
|
|
103
90
|
return data;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
|
|
91
|
+
}
|
|
92
|
+
// loads all row data
|
|
107
93
|
function loadData() {
|
|
108
94
|
var rows = getTableBody().querySelectorAll('tr'),
|
|
109
|
-
|
|
110
|
-
|
|
95
|
+
i;
|
|
111
96
|
for (i = 0; i < rows.length; i += 1) {
|
|
112
97
|
rows[i].data = loadRowData(rows[i]);
|
|
113
98
|
}
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
|
|
99
|
+
}
|
|
100
|
+
// sorts the table using the data for the ith column
|
|
117
101
|
function sortByIndex(index, desc) {
|
|
118
102
|
var key = cols[index].key,
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
103
|
+
sorter = function sorter(a, b) {
|
|
104
|
+
a = a.data[key];
|
|
105
|
+
b = b.data[key];
|
|
106
|
+
return a < b ? -1 : a > b ? 1 : 0;
|
|
107
|
+
},
|
|
108
|
+
finalSorter = sorter,
|
|
109
|
+
tableBody = document.querySelector('.coverage-summary tbody'),
|
|
110
|
+
rowNodes = tableBody.querySelectorAll('tr'),
|
|
111
|
+
rows = [],
|
|
112
|
+
i;
|
|
130
113
|
if (desc) {
|
|
131
114
|
finalSorter = function finalSorter(a, b) {
|
|
132
115
|
return -1 * sorter(a, b);
|
|
133
116
|
};
|
|
134
117
|
}
|
|
135
|
-
|
|
136
118
|
for (i = 0; i < rowNodes.length; i += 1) {
|
|
137
119
|
rows.push(rowNodes[i]);
|
|
138
120
|
tableBody.removeChild(rowNodes[i]);
|
|
139
121
|
}
|
|
140
|
-
|
|
141
122
|
rows.sort(finalSorter);
|
|
142
|
-
|
|
143
123
|
for (i = 0; i < rows.length; i += 1) {
|
|
144
124
|
tableBody.appendChild(rows[i]);
|
|
145
125
|
}
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
|
|
126
|
+
}
|
|
127
|
+
// removes sort indicators for current column being sorted
|
|
149
128
|
function removeSortIndicators() {
|
|
150
129
|
var col = getNthColumn(currentSort.index),
|
|
151
|
-
|
|
130
|
+
cls = col.className;
|
|
152
131
|
cls = cls.replace(/ sorted$/, '').replace(/ sorted-desc$/, '');
|
|
153
132
|
col.className = cls;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
|
|
133
|
+
}
|
|
134
|
+
// adds sort indicators for current column being sorted
|
|
157
135
|
function addSortIndicators() {
|
|
158
136
|
getNthColumn(currentSort.index).className += currentSort.desc ? ' sorted-desc' : ' sorted';
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
|
|
137
|
+
}
|
|
138
|
+
// adds event listeners for all sorter widgets
|
|
162
139
|
function enableUI() {
|
|
163
140
|
var i,
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
addSortIndicators();
|
|
141
|
+
el,
|
|
142
|
+
ithSorter = function ithSorter(i) {
|
|
143
|
+
var col = cols[i];
|
|
144
|
+
return function () {
|
|
145
|
+
var desc = col.defaultDescSort;
|
|
146
|
+
if (currentSort.index === i) {
|
|
147
|
+
desc = !currentSort.desc;
|
|
148
|
+
}
|
|
149
|
+
sortByIndex(i, desc);
|
|
150
|
+
removeSortIndicators();
|
|
151
|
+
currentSort.index = i;
|
|
152
|
+
currentSort.desc = desc;
|
|
153
|
+
addSortIndicators();
|
|
154
|
+
};
|
|
179
155
|
};
|
|
180
|
-
};
|
|
181
|
-
|
|
182
156
|
for (i = 0; i < cols.length; i += 1) {
|
|
183
157
|
if (cols[i].sortable) {
|
|
184
158
|
// add the click event handler on the th so users
|
|
185
159
|
// dont have to click on those tiny arrows
|
|
186
160
|
el = getNthColumn(i).querySelector('.sorter').parentElement;
|
|
187
|
-
|
|
188
161
|
if (el.addEventListener) {
|
|
189
162
|
el.addEventListener('click', ithSorter(i));
|
|
190
163
|
} else {
|
|
@@ -192,14 +165,12 @@ var addSorting = function () {
|
|
|
192
165
|
}
|
|
193
166
|
}
|
|
194
167
|
}
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
|
|
168
|
+
}
|
|
169
|
+
// adds sorting functionality to the UI
|
|
198
170
|
return function () {
|
|
199
171
|
if (!getTable()) {
|
|
200
172
|
return;
|
|
201
173
|
}
|
|
202
|
-
|
|
203
174
|
cols = loadColumns();
|
|
204
175
|
loadData();
|
|
205
176
|
addSearchBox();
|
|
@@ -207,5 +178,4 @@ var addSorting = function () {
|
|
|
207
178
|
enableUI();
|
|
208
179
|
};
|
|
209
180
|
}();
|
|
210
|
-
|
|
211
181
|
window.addEventListener('load', addSorting);
|
package/es/index.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
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
|
-
|
|
5
4
|
Object.defineProperty(exports, "__esModule", {
|
|
6
5
|
value: true
|
|
7
6
|
});
|
|
@@ -414,55 +413,29 @@ Object.defineProperty(exports, "useTemplates", {
|
|
|
414
413
|
return _hooks.useTemplates;
|
|
415
414
|
}
|
|
416
415
|
});
|
|
417
|
-
|
|
418
416
|
var _hooks = require("./lib/hooks");
|
|
419
|
-
|
|
420
417
|
var _utils = require("./lib/utils");
|
|
421
|
-
|
|
422
418
|
var _validators = require("./lib/utils/validators");
|
|
423
|
-
|
|
424
419
|
var _contexts = require("./lib/contexts");
|
|
425
|
-
|
|
426
420
|
var _SettingPage = require("./lib/SettingPage");
|
|
427
|
-
|
|
428
421
|
var _ActionList = _interopRequireDefault(require("./lib/ActionList"));
|
|
429
|
-
|
|
430
422
|
var _EditableRefdataList = _interopRequireDefault(require("./lib/EditableRefdataList"));
|
|
431
|
-
|
|
432
423
|
var _EditableRefdataCategoryList = _interopRequireDefault(require("./lib/EditableRefdataCategoryList"));
|
|
433
|
-
|
|
434
424
|
var _Typedown = _interopRequireDefault(require("./lib/Typedown"));
|
|
435
|
-
|
|
436
425
|
var _QueryTypedown = _interopRequireDefault(require("./lib/QueryTypedown"));
|
|
437
|
-
|
|
438
426
|
var _SearchField = _interopRequireDefault(require("./lib/SearchField"));
|
|
439
|
-
|
|
440
427
|
var _SASQRoute = _interopRequireDefault(require("./lib/SASQRoute"));
|
|
441
|
-
|
|
442
428
|
var _SASQLookupComponent = require("./lib/SASQLookupComponent");
|
|
443
|
-
|
|
444
429
|
var _SASQViewComponent = _interopRequireDefault(require("./lib/SASQViewComponent"));
|
|
445
|
-
|
|
446
430
|
var _NoResultsMessage = _interopRequireDefault(require("./lib/NoResultsMessage"));
|
|
447
|
-
|
|
448
431
|
var _RefdataButtons = _interopRequireDefault(require("./lib/RefdataButtons"));
|
|
449
|
-
|
|
450
432
|
var _FormModal = _interopRequireDefault(require("./lib/FormModal"));
|
|
451
|
-
|
|
452
433
|
var _CustomProperties = require("./lib/CustomProperties");
|
|
453
|
-
|
|
454
434
|
var _customPropertyContants = _interopRequireWildcard(require("./lib/constants/customProperties"));
|
|
455
|
-
|
|
456
435
|
exports.customPropertyContants = _customPropertyContants;
|
|
457
|
-
|
|
458
436
|
var _CycleButton = _interopRequireDefault(require("./lib/CycleButton"));
|
|
459
|
-
|
|
460
437
|
var _IconSelect = _interopRequireDefault(require("./lib/IconSelect"));
|
|
461
|
-
|
|
462
438
|
var _RichSelect = _interopRequireWildcard(require("./lib/RichSelect"));
|
|
463
|
-
|
|
464
439
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
465
|
-
|
|
466
440
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
467
|
-
|
|
468
441
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
@@ -1,44 +1,26 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
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
|
-
|
|
5
4
|
Object.defineProperty(exports, "__esModule", {
|
|
6
5
|
value: true
|
|
7
6
|
});
|
|
8
7
|
exports.default = void 0;
|
|
9
|
-
|
|
10
8
|
var _react = _interopRequireWildcard(require("react"));
|
|
11
|
-
|
|
12
9
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
13
|
-
|
|
14
10
|
var _reactFinalForm = require("react-final-form");
|
|
15
|
-
|
|
16
11
|
var _reactFinalFormArrays = require("react-final-form-arrays");
|
|
17
|
-
|
|
18
12
|
var _finalFormArrays = _interopRequireDefault(require("final-form-arrays"));
|
|
19
|
-
|
|
20
13
|
var _ActionListFieldArray = _interopRequireDefault(require("./ActionListFieldArray"));
|
|
21
|
-
|
|
22
14
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
23
|
-
|
|
24
15
|
var _excluded = ["actionAssigner", "actionCalls", "columnMapping", "contentData", "creatableFields", "createCallback", "defaultNewObject", "editableFields", "fieldComponents", "hideCreateButton", "label", "validateFields", "visibleFields"];
|
|
25
|
-
|
|
26
16
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
27
|
-
|
|
28
17
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
29
|
-
|
|
30
18
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
31
|
-
|
|
32
19
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
33
|
-
|
|
34
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; }
|
|
35
|
-
|
|
36
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; }
|
|
37
|
-
|
|
38
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; }
|
|
39
|
-
|
|
40
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; }
|
|
41
|
-
|
|
42
24
|
var propTypes = {
|
|
43
25
|
actionAssigner: _propTypes.default.func,
|
|
44
26
|
actionCalls: _propTypes.default.object,
|
|
@@ -56,31 +38,29 @@ var propTypes = {
|
|
|
56
38
|
};
|
|
57
39
|
var ActionList = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
58
40
|
var actionAssigner = _ref.actionAssigner,
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
41
|
+
_ref$actionCalls = _ref.actionCalls,
|
|
42
|
+
actionCalls = _ref$actionCalls === void 0 ? {} : _ref$actionCalls,
|
|
43
|
+
columnMapping = _ref.columnMapping,
|
|
44
|
+
contentData = _ref.contentData,
|
|
45
|
+
_ref$creatableFields = _ref.creatableFields,
|
|
46
|
+
creatableFields = _ref$creatableFields === void 0 ? {} : _ref$creatableFields,
|
|
47
|
+
createCallback = _ref.createCallback,
|
|
48
|
+
_ref$defaultNewObject = _ref.defaultNewObject,
|
|
49
|
+
defaultNewObject = _ref$defaultNewObject === void 0 ? {} : _ref$defaultNewObject,
|
|
50
|
+
_ref$editableFields = _ref.editableFields,
|
|
51
|
+
editableFields = _ref$editableFields === void 0 ? {} : _ref$editableFields,
|
|
52
|
+
_ref$fieldComponents = _ref.fieldComponents,
|
|
53
|
+
fieldComponents = _ref$fieldComponents === void 0 ? {} : _ref$fieldComponents,
|
|
54
|
+
hideCreateButton = _ref.hideCreateButton,
|
|
55
|
+
label = _ref.label,
|
|
56
|
+
validateFields = _ref.validateFields,
|
|
57
|
+
visibleFields = _ref.visibleFields,
|
|
58
|
+
mclProps = _objectWithoutProperties(_ref, _excluded);
|
|
78
59
|
var ActionListFieldArrayWithRef = function ActionListFieldArrayWithRef(alfaProps) {
|
|
79
60
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_ActionListFieldArray.default, _objectSpread({
|
|
80
61
|
ref: ref
|
|
81
62
|
}, alfaProps));
|
|
82
63
|
};
|
|
83
|
-
|
|
84
64
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
|
|
85
65
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactFinalForm.Form, {
|
|
86
66
|
enableReinitialize: true,
|