@k-int/stripes-kint-components 4.5.1 → 4.6.0
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 +8 -1
- package/README.md +14 -0
- package/es/__mocks__/@folio/stripes/components.js +10 -21
- package/es/__mocks__/@folio/stripes/core.js +4 -7
- package/es/__mocks__/@folio/stripes/smart-components.js +4 -7
- package/es/__mocks__/react-query.js +4 -7
- package/es/__mocks__/react-router-dom.js +6 -7
- package/es/artifacts/coverage-jest/lcov-report/prettify.js +2 -2
- package/es/artifacts/coverage-jest/lcov-report/sorter.js +6 -6
- package/es/index.js +62 -49
- package/es/lib/ActionList/ActionList.js +38 -51
- package/es/lib/ActionList/ActionListFieldArray.js +143 -167
- package/es/lib/ActionList/index.js +1 -1
- package/es/lib/CustomProperties/Config/CustomPropertiesLookup.js +57 -77
- package/es/lib/CustomProperties/Config/CustomPropertiesLookup.test.js +15 -19
- package/es/lib/CustomProperties/Config/CustomPropertiesSettings.js +111 -160
- package/es/lib/CustomProperties/Config/CustomPropertiesSettings.test.js +30 -67
- package/es/lib/CustomProperties/Config/CustomPropertyForm.js +36 -48
- package/es/lib/CustomProperties/Config/CustomPropertyForm.test.js +83 -121
- package/es/lib/CustomProperties/Config/CustomPropertyView.js +9 -8
- package/es/lib/CustomProperties/Config/CustomPropertyView.test.js +48 -135
- package/es/lib/CustomProperties/Config/index.js +4 -4
- package/es/lib/CustomProperties/Edit/CustomPropertiesEdit.js +19 -21
- package/es/lib/CustomProperties/Edit/CustomPropertiesEdit.test.js +11 -16
- package/es/lib/CustomProperties/Edit/CustomPropertiesEditCtx.js +29 -27
- package/es/lib/CustomProperties/Edit/CustomPropertiesEditCtx.test.js +11 -16
- package/es/lib/CustomProperties/Edit/CustomPropertiesListField.js +86 -103
- package/es/lib/CustomProperties/Edit/CustomPropertiesListField.test.js +26 -63
- package/es/lib/CustomProperties/Edit/CustomPropertyField.js +123 -115
- package/es/lib/CustomProperties/Edit/CustomPropertyField.test.js +95 -176
- package/es/lib/CustomProperties/Edit/CustomPropertyFormCard.js +43 -44
- package/es/lib/CustomProperties/Edit/CustomPropertyFormCard.test.js +23 -27
- package/es/lib/CustomProperties/Edit/index.js +5 -5
- package/es/lib/CustomProperties/Edit/testResources.js +13 -35
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilter.js +60 -81
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilter.test.js +23 -57
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterField.js +39 -54
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterField.test.js +17 -16
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterFieldArray.js +27 -23
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterFieldArray.test.js +18 -45
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterForm.js +18 -20
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterForm.test.js +23 -52
- package/es/lib/CustomProperties/Filter/CustomPropertiesRule.js +37 -41
- package/es/lib/CustomProperties/Filter/CustomPropertiesRule.test.js +77 -225
- package/es/lib/CustomProperties/Filter/index.js +6 -6
- package/es/lib/CustomProperties/Filter/testResources.js +12 -32
- package/es/lib/CustomProperties/Filter/useOperators.js +17 -16
- package/es/lib/CustomProperties/Filter/useParseActiveFilterStrings.js +17 -30
- package/es/lib/CustomProperties/Filter/useValueProps.js +22 -27
- package/es/lib/CustomProperties/View/CustomPropertiesView.js +19 -21
- package/es/lib/CustomProperties/View/CustomPropertiesView.test.js +11 -16
- package/es/lib/CustomProperties/View/CustomPropertiesViewCtx.js +49 -57
- package/es/lib/CustomProperties/View/CustomPropertiesViewCtx.test.js +14 -23
- package/es/lib/CustomProperties/View/CustomPropertyCard.js +17 -18
- package/es/lib/CustomProperties/View/index.js +3 -3
- package/es/lib/CustomProperties/View/testResources.js +4 -4
- package/es/lib/CustomProperties/index.js +18 -18
- package/es/lib/CycleButton/CycleButton.js +17 -32
- package/es/lib/CycleButton/index.js +1 -1
- package/es/lib/EditableRefdataCategoryList/EditableRefdataCategoryList.js +108 -150
- package/es/lib/EditableRefdataCategoryList/index.js +1 -1
- package/es/lib/EditableRefdataList/EditableRefdataList.js +127 -170
- package/es/lib/EditableRefdataList/index.js +1 -1
- package/es/lib/EditableSettingsList/EditableSettingsList.js +16 -13
- package/es/lib/EditableSettingsList/EditableSettingsListFieldArray.js +18 -25
- package/es/lib/EditableSettingsList/EditableSettingsListFieldArray.test.js +61 -90
- package/es/lib/EditableSettingsList/SettingField/EditSettingValue.js +21 -34
- package/es/lib/EditableSettingsList/SettingField/EditSettingValue.test.js +99 -83
- package/es/lib/EditableSettingsList/SettingField/RenderSettingValue.js +17 -19
- package/es/lib/EditableSettingsList/SettingField/RenderSettingValue.test.js +187 -275
- package/es/lib/EditableSettingsList/SettingField/SettingField.js +74 -109
- package/es/lib/EditableSettingsList/SettingField/SettingField.test.js +52 -157
- package/es/lib/EditableSettingsList/SettingField/index.js +3 -3
- package/es/lib/EditableSettingsList/index.js +3 -3
- package/es/lib/FormModal/FormModal.js +43 -46
- package/es/lib/FormModal/index.js +1 -1
- package/es/lib/FormattedKintMessage/FormattedKintMessage.js +23 -27
- package/es/lib/FormattedKintMessage/index.js +1 -1
- package/es/lib/IconSelect/IconSelect.js +48 -68
- 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 +17 -38
- package/es/lib/QueryTypedown/index.js +1 -1
- package/es/lib/RefdataButtons/RefdataButtons.js +26 -29
- package/es/lib/RefdataButtons/index.js +1 -1
- package/es/lib/ResponsiveButtonGroup/ResponsiveButtonGroup.js +83 -88
- package/es/lib/ResponsiveButtonGroup/index.js +1 -1
- package/es/lib/ResponsiveButtonGroup/useResponsiveButtonGroupSizing.js +27 -40
- package/es/lib/RichSelect/RichSelect.js +70 -86
- package/es/lib/RichSelect/index.js +2 -2
- package/es/lib/RichSelect/useSelectedOption.js +3 -12
- package/es/lib/SASQLookupComponent/SASQLookupComponent.js +115 -137
- package/es/lib/SASQLookupComponent/TableBody/TableBody.js +39 -45
- package/es/lib/SASQLookupComponent/TableBody/index.js +1 -1
- package/es/lib/SASQLookupComponent/index.js +2 -2
- package/es/lib/SASQRoute/SASQRoute.js +31 -37
- package/es/lib/SASQRoute/index.js +1 -1
- package/es/lib/SASQViewComponent/SASQViewComponent.js +38 -45
- package/es/lib/SASQViewComponent/index.js +1 -1
- package/es/lib/SearchField/SearchField.js +10 -16
- package/es/lib/SearchField/index.js +1 -1
- package/es/lib/SettingPage/SettingPage.js +21 -20
- package/es/lib/SettingPage/SettingPagePane.js +8 -6
- package/es/lib/SettingPage/index.js +2 -2
- package/es/lib/SettingsFormContainer/SettingsFormContainer.js +87 -0
- package/es/lib/SettingsFormContainer/index.js +13 -0
- package/es/lib/Typedown/Typedown.js +61 -79
- package/es/lib/Typedown/index.js +1 -1
- package/es/lib/constants/customProperties.js +11 -11
- package/es/lib/constants/endpoints.js +9 -0
- package/es/lib/constants/eventCodes.js +3 -3
- package/es/lib/contexts/SettingsContext.js +1 -1
- package/es/lib/contexts/index.js +1 -1
- package/es/lib/hooks/__mocks__/index.js +9 -29
- package/es/lib/hooks/index.js +31 -17
- package/es/lib/hooks/typedownHooks/index.js +3 -3
- package/es/lib/hooks/typedownHooks/useTypedown.js +48 -48
- package/es/lib/hooks/typedownHooks/useTypedownData.js +11 -21
- package/es/lib/hooks/typedownHooks/useTypedownToggle.js +12 -20
- package/es/lib/hooks/useActiveElement.js +8 -17
- package/es/lib/hooks/useCustomProperties.js +22 -30
- package/es/lib/hooks/useHelperApp.js +30 -49
- package/es/lib/hooks/useIntlKey.js +3 -5
- package/es/lib/hooks/useIntlKeyStore.js +44 -49
- package/es/lib/hooks/useInvalidateRefdata.js +3 -5
- package/es/lib/hooks/useKintIntl.js +28 -31
- package/es/lib/hooks/useKiwtFieldArray.js +34 -45
- package/es/lib/hooks/useKiwtSASQuery.js +38 -48
- package/es/lib/hooks/useLocalStorageState.js +6 -18
- package/es/lib/hooks/useModConfigEntries.js +49 -0
- package/es/lib/hooks/useMutateCustomProperties.js +19 -62
- package/es/lib/hooks/useMutateModConfigEntry.js +40 -0
- package/es/lib/hooks/useMutateRefdataCategory.js +19 -60
- package/es/lib/hooks/useMutateRefdataValue.js +28 -65
- package/es/lib/hooks/useQIndex.js +12 -26
- package/es/lib/hooks/useRefdata.js +17 -19
- package/es/lib/hooks/useSASQQueryMeta.js +13 -20
- package/es/lib/hooks/useTemplates.js +13 -12
- package/es/lib/settingsHooks/index.js +3 -3
- package/es/lib/settingsHooks/useAppSettings.js +18 -25
- package/es/lib/settingsHooks/useSettingSection.js +16 -17
- package/es/lib/settingsHooks/useSettings.js +58 -72
- package/es/lib/utils/buildUrl.js +5 -5
- package/es/lib/utils/generateKiwtQuery.js +3 -3
- package/es/lib/utils/generateKiwtQueryParams.js +85 -93
- package/es/lib/utils/groupCustomPropertiesByCtx.js +8 -18
- package/es/lib/utils/highlightString.js +17 -37
- package/es/lib/utils/index.js +29 -15
- package/es/lib/utils/matchString.js +4 -8
- package/es/lib/utils/modConfigEntriesQueryKey.js +24 -0
- package/es/lib/utils/parseErrorResponse.js +22 -63
- package/es/lib/utils/parseKiwtQueryGroups.js +10 -10
- package/es/lib/utils/parseKiwtQueryGroups.test.js +15 -15
- package/es/lib/utils/parseModConfigEntry.js +21 -0
- package/es/lib/utils/refdataQueryKey.js +2 -2
- package/es/lib/utils/selectorSafe.js +3 -3
- package/es/lib/utils/sortByLabel.js +3 -3
- package/es/lib/utils/toCamelCase.js +7 -12
- package/es/lib/utils/typedownQueryKey.js +2 -2
- package/es/lib/validators/index.js +1 -1
- package/es/lib/validators/validators.js +22 -29
- package/junit.xml +239 -1489
- package/package.json +1 -1
- package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionList.js.html +11 -11
- package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionListFieldArray.js.html +21 -21
- package/src/artifacts/coverage-jest/lcov-report/ActionList/index.html +17 -17
- 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 +44 -44
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertiesSettings.js.html +53 -53
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertyForm.js.html +59 -59
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertyView.js.html +29 -29
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/index.html +53 -53
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertiesEdit.js.html +19 -19
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertiesEditCtx.js.html +28 -28
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertiesListField.js.html +94 -94
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertyField.js.html +118 -118
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertyFormCard.js.html +28 -28
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/index.html +64 -64
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/testResources.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilter.js.html +33 -33
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterField.js.html +47 -47
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterFieldArray.js.html +22 -22
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterForm.js.html +19 -19
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesRule.js.html +42 -42
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/index.html +96 -96
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/testResources.js.html +5 -5
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useOperators.js.html +35 -35
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useParseActiveFilterStrings.js.html +38 -38
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useValueProps.js.html +34 -34
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertiesView.js.html +16 -16
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertiesViewCtx.js.html +45 -45
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertyCard.js.html +9 -9
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/index.html +36 -36
- 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 +9 -9
- package/src/artifacts/coverage-jest/lcov-report/CycleButton/index.html +11 -11
- package/src/artifacts/coverage-jest/lcov-report/CycleButton/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataCategoryList/EditableRefdataCategoryList.js.html +11 -11
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataCategoryList/index.html +11 -11
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataCategoryList/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/EditableRefdataList.js.html +11 -11
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/index.html +11 -11
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/EditableSettingsList.js.html +10 -10
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/EditableSettingsListFieldArray.js.html +22 -22
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/EditSettingValue.js.html +39 -39
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/RenderSettingValue.js.html +64 -64
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/SettingField.js.html +64 -64
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/index.html +43 -43
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/index.html +28 -28
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/FormModal/FormModal.js.html +32 -32
- package/src/artifacts/coverage-jest/lcov-report/FormModal/index.html +21 -21
- package/src/artifacts/coverage-jest/lcov-report/FormModal/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/FormattedKintMessage/FormattedKintMessage.js.html +3 -3
- package/src/artifacts/coverage-jest/lcov-report/FormattedKintMessage/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/FormattedKintMessage/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/IconSelect/IconSelect.js.html +9 -9
- package/src/artifacts/coverage-jest/lcov-report/IconSelect/index.html +11 -11
- package/src/artifacts/coverage-jest/lcov-report/IconSelect/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/NoResultsMessage.js.html +9 -9
- package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/index.html +11 -11
- package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/QueryTypedown.js.html +9 -9
- package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/index.html +11 -11
- package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/RefdataButtons.js.html +54 -54
- package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/index.html +21 -21
- package/src/artifacts/coverage-jest/lcov-report/RefdataButtons/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/ResponsiveButtonGroup/ResponsiveButtonGroup.js.html +15 -15
- package/src/artifacts/coverage-jest/lcov-report/ResponsiveButtonGroup/index.html +17 -17
- package/src/artifacts/coverage-jest/lcov-report/ResponsiveButtonGroup/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/ResponsiveButtonGroup/useResponsiveButtonGroupSizing.js.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/RichSelect/RichSelect.js.html +9 -9
- package/src/artifacts/coverage-jest/lcov-report/RichSelect/index.html +17 -17
- package/src/artifacts/coverage-jest/lcov-report/RichSelect/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/RichSelect/useSelectedOption.js.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/SASQLookupComponent.js.html +9 -9
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/TableBody.js.html +9 -9
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/index.html +11 -11
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/index.html +11 -11
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SASQRoute/SASQRoute.js.html +9 -9
- package/src/artifacts/coverage-jest/lcov-report/SASQRoute/index.html +11 -11
- package/src/artifacts/coverage-jest/lcov-report/SASQRoute/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/SASQViewComponent.js.html +9 -9
- package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/index.html +11 -11
- package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SearchField/SearchField.js.html +12 -12
- package/src/artifacts/coverage-jest/lcov-report/SearchField/index.html +13 -13
- package/src/artifacts/coverage-jest/lcov-report/SearchField/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SettingPage/SettingPage.js.html +9 -9
- package/src/artifacts/coverage-jest/lcov-report/SettingPage/SettingPagePane.js.html +10 -10
- package/src/artifacts/coverage-jest/lcov-report/SettingPage/index.html +18 -18
- package/src/artifacts/coverage-jest/lcov-report/SettingPage/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SettingsFormContainer/SettingsFormContainer.js.html +337 -0
- package/src/artifacts/coverage-jest/lcov-report/SettingsFormContainer/index.html +131 -0
- package/src/artifacts/coverage-jest/lcov-report/SettingsFormContainer/index.js.html +88 -0
- package/src/artifacts/coverage-jest/lcov-report/Typedown/Typedown.js.html +9 -9
- package/src/artifacts/coverage-jest/lcov-report/Typedown/index.html +11 -11
- package/src/artifacts/coverage-jest/lcov-report/Typedown/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/constants/customProperties.js.html +12 -12
- package/src/artifacts/coverage-jest/lcov-report/constants/endpoints.js.html +91 -0
- package/src/artifacts/coverage-jest/lcov-report/constants/eventCodes.js.html +12 -12
- package/src/artifacts/coverage-jest/lcov-report/constants/index.html +28 -13
- package/src/artifacts/coverage-jest/lcov-report/contexts/SettingsContext.js.html +2 -2
- package/src/artifacts/coverage-jest/lcov-report/contexts/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/contexts/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/index.html +153 -123
- package/src/artifacts/coverage-jest/lcov-report/hooks/index.js.html +8 -2
- package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/index.html +23 -23
- 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 +7 -7
- package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedownData.js.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedownToggle.js.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/hooks/useActiveElement.js.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/hooks/useCustomProperties.js.html +9 -9
- package/src/artifacts/coverage-jest/lcov-report/hooks/useHelperApp.js.html +9 -9
- package/src/artifacts/coverage-jest/lcov-report/hooks/useIntlKey.js.html +24 -24
- package/src/artifacts/coverage-jest/lcov-report/hooks/useIntlKeyStore.js.html +21 -21
- package/src/artifacts/coverage-jest/lcov-report/hooks/useInvalidateRefdata.js.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/hooks/useKintIntl.js.html +38 -38
- 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/useModConfigEntries.js.html +226 -0
- package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateCustomProperties.js.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateModConfigEntry.js.html +238 -0
- 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 +7 -7
- package/src/artifacts/coverage-jest/lcov-report/hooks/useTemplates.js.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/index.html +257 -242
- package/src/artifacts/coverage-jest/lcov-report/settingsHooks/index.html +23 -23
- package/src/artifacts/coverage-jest/lcov-report/settingsHooks/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/settingsHooks/useAppSettings.js.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/settingsHooks/useSettingSection.js.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/settingsHooks/useSettings.js.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/utils/buildUrl.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/utils/generateKiwtQuery.js.html +2 -2
- package/src/artifacts/coverage-jest/lcov-report/utils/generateKiwtQueryParams.js.html +4 -4
- package/src/artifacts/coverage-jest/lcov-report/utils/groupCustomPropertiesByCtx.js.html +22 -22
- package/src/artifacts/coverage-jest/lcov-report/utils/highlightString.js.html +3 -3
- package/src/artifacts/coverage-jest/lcov-report/utils/index.html +61 -31
- package/src/artifacts/coverage-jest/lcov-report/utils/index.js.html +11 -2
- package/src/artifacts/coverage-jest/lcov-report/utils/matchString.js.html +2 -2
- package/src/artifacts/coverage-jest/lcov-report/utils/modConfigEntriesQueryKey.js.html +142 -0
- package/src/artifacts/coverage-jest/lcov-report/utils/parseErrorResponse.js.html +2 -2
- package/src/artifacts/coverage-jest/lcov-report/utils/parseKiwtQueryGroups.js.html +2 -2
- package/src/artifacts/coverage-jest/lcov-report/utils/parseModConfigEntry.js.html +130 -0
- package/src/artifacts/coverage-jest/lcov-report/utils/refdataOptions.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/utils/refdataQueryKey.js.html +2 -2
- package/src/artifacts/coverage-jest/lcov-report/utils/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 +16 -16
- package/src/artifacts/coverage-jest/lcov-report/utils/typedownQueryKey.js.html +2 -2
- package/src/artifacts/coverage-jest/lcov-report/validators/index.html +19 -19
- package/src/artifacts/coverage-jest/lcov-report/validators/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/validators/validators.js.html +32 -32
- package/src/artifacts/coverage-jest/lcov.info +1225 -1067
- package/src/index.js +6 -0
- package/src/lib/SettingsFormContainer/SettingsFormContainer.js +84 -0
- package/src/lib/SettingsFormContainer/index.js +1 -0
- package/src/lib/constants/endpoints.js +2 -0
- package/src/lib/hooks/index.js +2 -0
- package/src/lib/hooks/useModConfigEntries.js +47 -0
- package/src/lib/hooks/useMutateModConfigEntry.js +51 -0
- package/src/lib/utils/index.js +3 -0
- package/src/lib/utils/modConfigEntriesQueryKey.js +19 -0
- package/src/lib/utils/parseModConfigEntry.js +15 -0
- package/test/jest/helpers/KintHarness.js +21 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
|
-
## 4.
|
|
1
|
+
## 4.6.0 2023-04-14
|
|
2
2
|
* ERM-2884 Regex with lookbehind causes render failure in Safari
|
|
3
|
+
* Deprecated customPropertyContants typo. For now accessible both at customPropertyContants and customPropertyConstants, will be removed in future version.
|
|
4
|
+
* endpoints -- new constants available from kint-components
|
|
5
|
+
* useModConfigEntries -- new hook to link up to mod-config
|
|
6
|
+
* useMutateModConfigEntries -- hook to mutate same resources as above
|
|
7
|
+
* modConfigEntriesueryKey -- utility function to get a hold of the query key used internally
|
|
8
|
+
* Test tweaks so they should run externally from workspace (After release of @folio/stripes-erm-testing 1.2.0)
|
|
9
|
+
|
|
3
10
|
|
|
4
11
|
## 4.5.0 2023-03-16
|
|
5
12
|
* ERM-2879 FOLIO > Agreement App > Supplementary properties is showing the value of 'Visibility' as 'Public' regardless of selection
|
package/README.md
CHANGED
|
@@ -30,3 +30,17 @@ The gitlab repository for this project can be found [here](https://gitlab.com/kn
|
|
|
30
30
|
- [Components](https://gitlab.com/knowledge-integration/folio/stripes-kint-components/-/tree/main/src/lib)
|
|
31
31
|
- [Hooks](https://gitlab.com/knowledge-integration/folio/stripes-kint-components/-/tree/main/src/lib/hooks)
|
|
32
32
|
- [Utility functions](https://gitlab.com/knowledge-integration/folio/stripes-kint-components/-/tree/main/src/lib/utils)
|
|
33
|
+
|
|
34
|
+
## Release Matrix
|
|
35
|
+
Please note, the "Flower releases" does not indicate final compatibility. In theory, as a built 3rd party artifact, v1 of kint-components should still actually work with an otherwise Orchid (say) frontend.
|
|
36
|
+
|
|
37
|
+
However as a developer using kint-components locally, the compatibility will differ.
|
|
38
|
+
|
|
39
|
+
If the compatibility chart below states compatible with a certain flower release and that is not found, check copies of `@folio/stripes`, `@folio/stripes-core` in the workspace with `yarn why`. It is possible that kint-components 2.8.6, say, is compatible with ^6.0.0 of stripes-erm-components (6.0.0 -> Kiwi), which pulls in 6.2.2 on build (6.2.2 -> Morning Glory) and that that difference causes an issue on build locally which would not be present in any production system, and can be worked around by locking the troublesome dependency to the correct one for the release at hand locally.
|
|
40
|
+
|
|
41
|
+
Release major | Latest release | Flower releases present in (ERM) | Flower compatibility
|
|
42
|
+
--- | --- | --- | --- |
|
|
43
|
+
v1 | 1.7.0 | Lotus | Kiwi - Morning Glory |
|
|
44
|
+
v2 | 2.8.6 | Morning Glory | Kiwi - Morning Glory |
|
|
45
|
+
v3 | 3.2.3 | Nolana | Morning Glory - Nolana |
|
|
46
|
+
v4 | 4.5.1 | Orchid | Morning Glory - Orchid+ |
|
|
@@ -2,25 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
var _mocks = require("@folio/stripes-erm-testing/jest/mocks");
|
|
4
4
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
9
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
10
|
-
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
11
|
-
jest.mock('@folio/stripes-components/lib/Icon', function () {
|
|
12
|
-
return _mocks.mockStripesIcon;
|
|
13
|
-
});
|
|
14
|
-
module.exports = _objectSpread(_objectSpread({}, jest.requireActual('@folio/stripes/components')), {}, {
|
|
5
|
+
jest.mock('@folio/stripes-components/lib/Icon', () => _mocks.mockStripesIcon);
|
|
6
|
+
module.exports = {
|
|
7
|
+
...jest.requireActual('@folio/stripes/components'),
|
|
15
8
|
Icon: _mocks.mockStripesIcon,
|
|
16
|
-
LoadingView:
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
children: "LoadingPane"
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
});
|
|
9
|
+
LoadingView: () => /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
10
|
+
children: "LoadingView"
|
|
11
|
+
}),
|
|
12
|
+
LoadingPane: () => /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
13
|
+
children: "LoadingPane"
|
|
14
|
+
})
|
|
15
|
+
};
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _mocks = require("@folio/stripes-erm-testing/jest/mocks");
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
9
|
-
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
10
|
-
module.exports = _objectSpread(_objectSpread({}, jest.requireActual('@folio/stripes-core')), _mocks.mockStripesCore);
|
|
4
|
+
module.exports = {
|
|
5
|
+
...jest.requireActual('@folio/stripes-core'),
|
|
6
|
+
..._mocks.mockStripesCore
|
|
7
|
+
};
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _mocks = require("@folio/stripes-erm-testing/jest/mocks");
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
9
|
-
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
10
|
-
module.exports = _objectSpread(_objectSpread({}, jest.requireActual('@folio/stripes/smart-components')), _mocks.mockStripesSmartComponents);
|
|
4
|
+
module.exports = {
|
|
5
|
+
...jest.requireActual('@folio/stripes/smart-components'),
|
|
6
|
+
..._mocks.mockStripesSmartComponents
|
|
7
|
+
};
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _mocks = require("@folio/stripes-erm-testing/jest/mocks");
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
9
|
-
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
10
|
-
module.exports = _objectSpread(_objectSpread({}, jest.requireActual('react-query')), _mocks.mockReactQuery);
|
|
4
|
+
module.exports = {
|
|
5
|
+
...jest.requireActual('react-query'),
|
|
6
|
+
..._mocks.mockReactQuery
|
|
7
|
+
};
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _mocks = require("@folio/stripes-erm-testing/jest/mocks");
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
module.exports = _objectSpread(_objectSpread({}, jest.requireActual('react-router-dom')), _mocks.mockReactRouterDom);
|
|
4
|
+
// FIXME currently since erm-testing exports TestForm using stripes-components, we have an issue
|
|
5
|
+
|
|
6
|
+
module.exports = {
|
|
7
|
+
...jest.requireActual('react-router-dom'),
|
|
8
|
+
..._mocks.mockReactRouterDom
|
|
9
|
+
};
|
|
@@ -317,7 +317,7 @@ window.PR_SHOULD_USE_CONTINUATION = true;
|
|
|
317
317
|
V = k(ah);
|
|
318
318
|
})();
|
|
319
319
|
var X = T.length;
|
|
320
|
-
var W = function
|
|
320
|
+
var W = function (ah) {
|
|
321
321
|
var Z = ah.sourceCode,
|
|
322
322
|
Y = ah.basePos;
|
|
323
323
|
var ad = [Y, F];
|
|
@@ -732,7 +732,7 @@ window.PR_SHOULD_USE_CONTINUATION = true;
|
|
|
732
732
|
var W = Date;
|
|
733
733
|
if (!W.now) {
|
|
734
734
|
W = {
|
|
735
|
-
now: function
|
|
735
|
+
now: function () {
|
|
736
736
|
return +new Date();
|
|
737
737
|
}
|
|
738
738
|
};
|
|
@@ -27,10 +27,10 @@ var addSorting = function () {
|
|
|
27
27
|
return getTableHeader().querySelectorAll('th')[n];
|
|
28
28
|
}
|
|
29
29
|
function onFilterInput() {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
for (
|
|
33
|
-
|
|
30
|
+
const searchValue = document.getElementById('fileSearch').value;
|
|
31
|
+
const rows = document.getElementsByTagName('tbody')[0].children;
|
|
32
|
+
for (let i = 0; i < rows.length; i++) {
|
|
33
|
+
const row = rows[i];
|
|
34
34
|
if (row.textContent.toLowerCase().includes(searchValue.toLowerCase())) {
|
|
35
35
|
row.style.display = '';
|
|
36
36
|
} else {
|
|
@@ -100,7 +100,7 @@ var addSorting = function () {
|
|
|
100
100
|
// sorts the table using the data for the ith column
|
|
101
101
|
function sortByIndex(index, desc) {
|
|
102
102
|
var key = cols[index].key,
|
|
103
|
-
sorter = function
|
|
103
|
+
sorter = function (a, b) {
|
|
104
104
|
a = a.data[key];
|
|
105
105
|
b = b.data[key];
|
|
106
106
|
return a < b ? -1 : a > b ? 1 : 0;
|
|
@@ -111,7 +111,7 @@ var addSorting = function () {
|
|
|
111
111
|
rows = [],
|
|
112
112
|
i;
|
|
113
113
|
if (desc) {
|
|
114
|
-
finalSorter = function
|
|
114
|
+
finalSorter = function (a, b) {
|
|
115
115
|
return -1 * sorter(a, b);
|
|
116
116
|
};
|
|
117
117
|
}
|
package/es/index.js
CHANGED
|
@@ -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
|
});
|
|
@@ -40,251 +39,260 @@ var _exportNames = {
|
|
|
40
39
|
useOperators: true,
|
|
41
40
|
useParseActiveFilterStrings: true,
|
|
42
41
|
customPropertyContants: true,
|
|
42
|
+
customPropertyConstants: true,
|
|
43
|
+
endpoints: true,
|
|
43
44
|
CycleButton: true,
|
|
44
45
|
IconSelect: true,
|
|
45
46
|
RichSelect: true,
|
|
46
47
|
useSelectedOption: true,
|
|
47
48
|
FormattedKintMessage: true,
|
|
48
|
-
ResponsiveButtonGroup: true
|
|
49
|
+
ResponsiveButtonGroup: true,
|
|
50
|
+
SettingsFormContainer: true
|
|
49
51
|
};
|
|
50
52
|
Object.defineProperty(exports, "ActionList", {
|
|
51
53
|
enumerable: true,
|
|
52
|
-
get: function
|
|
54
|
+
get: function () {
|
|
53
55
|
return _ActionList.default;
|
|
54
56
|
}
|
|
55
57
|
});
|
|
56
58
|
Object.defineProperty(exports, "CustomPropertiesEdit", {
|
|
57
59
|
enumerable: true,
|
|
58
|
-
get: function
|
|
60
|
+
get: function () {
|
|
59
61
|
return _CustomProperties.CustomPropertiesEdit;
|
|
60
62
|
}
|
|
61
63
|
});
|
|
62
64
|
Object.defineProperty(exports, "CustomPropertiesEditCtx", {
|
|
63
65
|
enumerable: true,
|
|
64
|
-
get: function
|
|
66
|
+
get: function () {
|
|
65
67
|
return _CustomProperties.CustomPropertiesEditCtx;
|
|
66
68
|
}
|
|
67
69
|
});
|
|
68
70
|
Object.defineProperty(exports, "CustomPropertiesFilter", {
|
|
69
71
|
enumerable: true,
|
|
70
|
-
get: function
|
|
72
|
+
get: function () {
|
|
71
73
|
return _CustomProperties.CustomPropertiesFilter;
|
|
72
74
|
}
|
|
73
75
|
});
|
|
74
76
|
Object.defineProperty(exports, "CustomPropertiesFilterField", {
|
|
75
77
|
enumerable: true,
|
|
76
|
-
get: function
|
|
78
|
+
get: function () {
|
|
77
79
|
return _CustomProperties.CustomPropertiesFilterField;
|
|
78
80
|
}
|
|
79
81
|
});
|
|
80
82
|
Object.defineProperty(exports, "CustomPropertiesFilterFieldArray", {
|
|
81
83
|
enumerable: true,
|
|
82
|
-
get: function
|
|
84
|
+
get: function () {
|
|
83
85
|
return _CustomProperties.CustomPropertiesFilterFieldArray;
|
|
84
86
|
}
|
|
85
87
|
});
|
|
86
88
|
Object.defineProperty(exports, "CustomPropertiesFilterForm", {
|
|
87
89
|
enumerable: true,
|
|
88
|
-
get: function
|
|
90
|
+
get: function () {
|
|
89
91
|
return _CustomProperties.CustomPropertiesFilterForm;
|
|
90
92
|
}
|
|
91
93
|
});
|
|
92
94
|
Object.defineProperty(exports, "CustomPropertiesListField", {
|
|
93
95
|
enumerable: true,
|
|
94
|
-
get: function
|
|
96
|
+
get: function () {
|
|
95
97
|
return _CustomProperties.CustomPropertiesListField;
|
|
96
98
|
}
|
|
97
99
|
});
|
|
98
100
|
Object.defineProperty(exports, "CustomPropertiesLookup", {
|
|
99
101
|
enumerable: true,
|
|
100
|
-
get: function
|
|
102
|
+
get: function () {
|
|
101
103
|
return _CustomProperties.CustomPropertiesLookup;
|
|
102
104
|
}
|
|
103
105
|
});
|
|
104
106
|
Object.defineProperty(exports, "CustomPropertiesSettings", {
|
|
105
107
|
enumerable: true,
|
|
106
|
-
get: function
|
|
108
|
+
get: function () {
|
|
107
109
|
return _CustomProperties.CustomPropertiesSettings;
|
|
108
110
|
}
|
|
109
111
|
});
|
|
110
112
|
Object.defineProperty(exports, "CustomPropertiesView", {
|
|
111
113
|
enumerable: true,
|
|
112
|
-
get: function
|
|
114
|
+
get: function () {
|
|
113
115
|
return _CustomProperties.CustomPropertiesView;
|
|
114
116
|
}
|
|
115
117
|
});
|
|
116
118
|
Object.defineProperty(exports, "CustomPropertiesViewCtx", {
|
|
117
119
|
enumerable: true,
|
|
118
|
-
get: function
|
|
120
|
+
get: function () {
|
|
119
121
|
return _CustomProperties.CustomPropertiesViewCtx;
|
|
120
122
|
}
|
|
121
123
|
});
|
|
122
124
|
Object.defineProperty(exports, "CustomPropertyCard", {
|
|
123
125
|
enumerable: true,
|
|
124
|
-
get: function
|
|
126
|
+
get: function () {
|
|
125
127
|
return _CustomProperties.CustomPropertyCard;
|
|
126
128
|
}
|
|
127
129
|
});
|
|
128
130
|
Object.defineProperty(exports, "CustomPropertyField", {
|
|
129
131
|
enumerable: true,
|
|
130
|
-
get: function
|
|
132
|
+
get: function () {
|
|
131
133
|
return _CustomProperties.CustomPropertyField;
|
|
132
134
|
}
|
|
133
135
|
});
|
|
134
136
|
Object.defineProperty(exports, "CustomPropertyForm", {
|
|
135
137
|
enumerable: true,
|
|
136
|
-
get: function
|
|
138
|
+
get: function () {
|
|
137
139
|
return _CustomProperties.CustomPropertyForm;
|
|
138
140
|
}
|
|
139
141
|
});
|
|
140
142
|
Object.defineProperty(exports, "CustomPropertyFormCard", {
|
|
141
143
|
enumerable: true,
|
|
142
|
-
get: function
|
|
144
|
+
get: function () {
|
|
143
145
|
return _CustomProperties.CustomPropertyFormCard;
|
|
144
146
|
}
|
|
145
147
|
});
|
|
146
148
|
Object.defineProperty(exports, "CustomPropertyView", {
|
|
147
149
|
enumerable: true,
|
|
148
|
-
get: function
|
|
150
|
+
get: function () {
|
|
149
151
|
return _CustomProperties.CustomPropertyView;
|
|
150
152
|
}
|
|
151
153
|
});
|
|
152
154
|
Object.defineProperty(exports, "CycleButton", {
|
|
153
155
|
enumerable: true,
|
|
154
|
-
get: function
|
|
156
|
+
get: function () {
|
|
155
157
|
return _CycleButton.default;
|
|
156
158
|
}
|
|
157
159
|
});
|
|
158
160
|
Object.defineProperty(exports, "EditableRefdataCategoryList", {
|
|
159
161
|
enumerable: true,
|
|
160
|
-
get: function
|
|
162
|
+
get: function () {
|
|
161
163
|
return _EditableRefdataCategoryList.default;
|
|
162
164
|
}
|
|
163
165
|
});
|
|
164
166
|
Object.defineProperty(exports, "EditableRefdataList", {
|
|
165
167
|
enumerable: true,
|
|
166
|
-
get: function
|
|
168
|
+
get: function () {
|
|
167
169
|
return _EditableRefdataList.default;
|
|
168
170
|
}
|
|
169
171
|
});
|
|
170
172
|
Object.defineProperty(exports, "FormModal", {
|
|
171
173
|
enumerable: true,
|
|
172
|
-
get: function
|
|
174
|
+
get: function () {
|
|
173
175
|
return _FormModal.default;
|
|
174
176
|
}
|
|
175
177
|
});
|
|
176
178
|
Object.defineProperty(exports, "FormattedKintMessage", {
|
|
177
179
|
enumerable: true,
|
|
178
|
-
get: function
|
|
180
|
+
get: function () {
|
|
179
181
|
return _FormattedKintMessage.default;
|
|
180
182
|
}
|
|
181
183
|
});
|
|
182
184
|
Object.defineProperty(exports, "IconSelect", {
|
|
183
185
|
enumerable: true,
|
|
184
|
-
get: function
|
|
186
|
+
get: function () {
|
|
185
187
|
return _IconSelect.default;
|
|
186
188
|
}
|
|
187
189
|
});
|
|
188
190
|
Object.defineProperty(exports, "NoResultsMessage", {
|
|
189
191
|
enumerable: true,
|
|
190
|
-
get: function
|
|
192
|
+
get: function () {
|
|
191
193
|
return _NoResultsMessage.default;
|
|
192
194
|
}
|
|
193
195
|
});
|
|
194
196
|
Object.defineProperty(exports, "QueryTypedown", {
|
|
195
197
|
enumerable: true,
|
|
196
|
-
get: function
|
|
198
|
+
get: function () {
|
|
197
199
|
return _QueryTypedown.default;
|
|
198
200
|
}
|
|
199
201
|
});
|
|
200
202
|
Object.defineProperty(exports, "RefdataButtons", {
|
|
201
203
|
enumerable: true,
|
|
202
|
-
get: function
|
|
204
|
+
get: function () {
|
|
203
205
|
return _RefdataButtons.default;
|
|
204
206
|
}
|
|
205
207
|
});
|
|
206
208
|
Object.defineProperty(exports, "ResponsiveButtonGroup", {
|
|
207
209
|
enumerable: true,
|
|
208
|
-
get: function
|
|
210
|
+
get: function () {
|
|
209
211
|
return _ResponsiveButtonGroup.default;
|
|
210
212
|
}
|
|
211
213
|
});
|
|
212
214
|
Object.defineProperty(exports, "RichSelect", {
|
|
213
215
|
enumerable: true,
|
|
214
|
-
get: function
|
|
216
|
+
get: function () {
|
|
215
217
|
return _RichSelect.default;
|
|
216
218
|
}
|
|
217
219
|
});
|
|
218
220
|
Object.defineProperty(exports, "SASQLookupComponent", {
|
|
219
221
|
enumerable: true,
|
|
220
|
-
get: function
|
|
222
|
+
get: function () {
|
|
221
223
|
return _SASQLookupComponent.SASQLookupComponent;
|
|
222
224
|
}
|
|
223
225
|
});
|
|
224
226
|
Object.defineProperty(exports, "SASQRoute", {
|
|
225
227
|
enumerable: true,
|
|
226
|
-
get: function
|
|
228
|
+
get: function () {
|
|
227
229
|
return _SASQRoute.default;
|
|
228
230
|
}
|
|
229
231
|
});
|
|
230
232
|
Object.defineProperty(exports, "SASQTableBody", {
|
|
231
233
|
enumerable: true,
|
|
232
|
-
get: function
|
|
234
|
+
get: function () {
|
|
233
235
|
return _SASQLookupComponent.TableBody;
|
|
234
236
|
}
|
|
235
237
|
});
|
|
236
238
|
Object.defineProperty(exports, "SASQViewComponent", {
|
|
237
239
|
enumerable: true,
|
|
238
|
-
get: function
|
|
240
|
+
get: function () {
|
|
239
241
|
return _SASQViewComponent.default;
|
|
240
242
|
}
|
|
241
243
|
});
|
|
242
244
|
Object.defineProperty(exports, "SearchField", {
|
|
243
245
|
enumerable: true,
|
|
244
|
-
get: function
|
|
246
|
+
get: function () {
|
|
245
247
|
return _SearchField.default;
|
|
246
248
|
}
|
|
247
249
|
});
|
|
248
250
|
Object.defineProperty(exports, "SettingPage", {
|
|
249
251
|
enumerable: true,
|
|
250
|
-
get: function
|
|
252
|
+
get: function () {
|
|
251
253
|
return _SettingPage.SettingPage;
|
|
252
254
|
}
|
|
253
255
|
});
|
|
254
256
|
Object.defineProperty(exports, "SettingPagePane", {
|
|
255
257
|
enumerable: true,
|
|
256
|
-
get: function
|
|
258
|
+
get: function () {
|
|
257
259
|
return _SettingPage.SettingPagePane;
|
|
258
260
|
}
|
|
259
261
|
});
|
|
260
262
|
Object.defineProperty(exports, "SettingsContext", {
|
|
261
263
|
enumerable: true,
|
|
262
|
-
get: function
|
|
264
|
+
get: function () {
|
|
263
265
|
return _contexts.SettingsContext;
|
|
264
266
|
}
|
|
265
267
|
});
|
|
268
|
+
Object.defineProperty(exports, "SettingsFormContainer", {
|
|
269
|
+
enumerable: true,
|
|
270
|
+
get: function () {
|
|
271
|
+
return _SettingsFormContainer.default;
|
|
272
|
+
}
|
|
273
|
+
});
|
|
266
274
|
Object.defineProperty(exports, "Typedown", {
|
|
267
275
|
enumerable: true,
|
|
268
|
-
get: function
|
|
276
|
+
get: function () {
|
|
269
277
|
return _Typedown.default;
|
|
270
278
|
}
|
|
271
279
|
});
|
|
272
|
-
exports.customPropertyContants = void 0;
|
|
280
|
+
exports.endpoints = exports.customPropertyContants = exports.customPropertyConstants = void 0;
|
|
273
281
|
Object.defineProperty(exports, "useOperators", {
|
|
274
282
|
enumerable: true,
|
|
275
|
-
get: function
|
|
283
|
+
get: function () {
|
|
276
284
|
return _CustomProperties.useOperators;
|
|
277
285
|
}
|
|
278
286
|
});
|
|
279
287
|
Object.defineProperty(exports, "useParseActiveFilterStrings", {
|
|
280
288
|
enumerable: true,
|
|
281
|
-
get: function
|
|
289
|
+
get: function () {
|
|
282
290
|
return _CustomProperties.useParseActiveFilterStrings;
|
|
283
291
|
}
|
|
284
292
|
});
|
|
285
293
|
Object.defineProperty(exports, "useSelectedOption", {
|
|
286
294
|
enumerable: true,
|
|
287
|
-
get: function
|
|
295
|
+
get: function () {
|
|
288
296
|
return _RichSelect.useSelectedOption;
|
|
289
297
|
}
|
|
290
298
|
});
|
|
@@ -295,7 +303,7 @@ Object.keys(_hooks).forEach(function (key) {
|
|
|
295
303
|
if (key in exports && exports[key] === _hooks[key]) return;
|
|
296
304
|
Object.defineProperty(exports, key, {
|
|
297
305
|
enumerable: true,
|
|
298
|
-
get: function
|
|
306
|
+
get: function () {
|
|
299
307
|
return _hooks[key];
|
|
300
308
|
}
|
|
301
309
|
});
|
|
@@ -307,7 +315,7 @@ Object.keys(_settingsHooks).forEach(function (key) {
|
|
|
307
315
|
if (key in exports && exports[key] === _settingsHooks[key]) return;
|
|
308
316
|
Object.defineProperty(exports, key, {
|
|
309
317
|
enumerable: true,
|
|
310
|
-
get: function
|
|
318
|
+
get: function () {
|
|
311
319
|
return _settingsHooks[key];
|
|
312
320
|
}
|
|
313
321
|
});
|
|
@@ -319,7 +327,7 @@ Object.keys(_utils).forEach(function (key) {
|
|
|
319
327
|
if (key in exports && exports[key] === _utils[key]) return;
|
|
320
328
|
Object.defineProperty(exports, key, {
|
|
321
329
|
enumerable: true,
|
|
322
|
-
get: function
|
|
330
|
+
get: function () {
|
|
323
331
|
return _utils[key];
|
|
324
332
|
}
|
|
325
333
|
});
|
|
@@ -331,7 +339,7 @@ Object.keys(_validators).forEach(function (key) {
|
|
|
331
339
|
if (key in exports && exports[key] === _validators[key]) return;
|
|
332
340
|
Object.defineProperty(exports, key, {
|
|
333
341
|
enumerable: true,
|
|
334
|
-
get: function
|
|
342
|
+
get: function () {
|
|
335
343
|
return _validators[key];
|
|
336
344
|
}
|
|
337
345
|
});
|
|
@@ -352,12 +360,17 @@ var _RefdataButtons = _interopRequireDefault(require("./lib/RefdataButtons"));
|
|
|
352
360
|
var _FormModal = _interopRequireDefault(require("./lib/FormModal"));
|
|
353
361
|
var _CustomProperties = require("./lib/CustomProperties");
|
|
354
362
|
var _customPropertyContants = _interopRequireWildcard(require("./lib/constants/customProperties"));
|
|
363
|
+
var _customPropertyConstants = _customPropertyContants;
|
|
355
364
|
exports.customPropertyContants = _customPropertyContants;
|
|
365
|
+
exports.customPropertyConstants = _customPropertyContants;
|
|
366
|
+
var _endpoints = _interopRequireWildcard(require("./lib/constants/endpoints"));
|
|
367
|
+
exports.endpoints = _endpoints;
|
|
356
368
|
var _CycleButton = _interopRequireDefault(require("./lib/CycleButton"));
|
|
357
369
|
var _IconSelect = _interopRequireDefault(require("./lib/IconSelect"));
|
|
358
370
|
var _RichSelect = _interopRequireWildcard(require("./lib/RichSelect"));
|
|
359
371
|
var _FormattedKintMessage = _interopRequireDefault(require("./lib/FormattedKintMessage"));
|
|
360
372
|
var _ResponsiveButtonGroup = _interopRequireDefault(require("./lib/ResponsiveButtonGroup"));
|
|
361
|
-
|
|
362
|
-
function
|
|
373
|
+
var _SettingsFormContainer = _interopRequireDefault(require("./lib/SettingsFormContainer"));
|
|
374
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
375
|
+
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; }
|
|
363
376
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|