@k-int/stripes-kint-components 4.7.1 → 5.0.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 +3 -2
- package/README.md +1 -1
- package/es/__mocks__/@folio/stripes/components.js +21 -10
- package/es/__mocks__/@folio/stripes/core.js +7 -4
- package/es/__mocks__/@folio/stripes/smart-components.js +7 -4
- package/es/__mocks__/react-query.js +7 -4
- package/es/__mocks__/react-router-dom.js +7 -6
- 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 +52 -54
- package/es/lib/ActionList/ActionList.js +51 -38
- package/es/lib/ActionList/ActionListFieldArray.js +168 -144
- package/es/lib/ActionList/index.js +1 -1
- package/es/lib/ComboButton/ComboButton.js +89 -72
- package/es/lib/ComboButton/index.js +1 -1
- package/es/lib/CustomProperties/Config/CustomPropertiesLookup.js +78 -58
- package/es/lib/CustomProperties/Config/CustomPropertiesLookup.test.js +19 -15
- package/es/lib/CustomProperties/Config/CustomPropertiesSettings.js +163 -114
- package/es/lib/CustomProperties/Config/CustomPropertiesSettings.test.js +68 -31
- package/es/lib/CustomProperties/Config/CustomPropertyForm.js +48 -36
- package/es/lib/CustomProperties/Config/CustomPropertyForm.test.js +121 -84
- package/es/lib/CustomProperties/Config/CustomPropertyView.js +9 -10
- package/es/lib/CustomProperties/Config/CustomPropertyView.test.js +136 -49
- package/es/lib/CustomProperties/Config/index.js +4 -4
- package/es/lib/CustomProperties/Edit/CustomPropertiesEdit.js +21 -19
- package/es/lib/CustomProperties/Edit/CustomPropertiesEdit.test.js +17 -12
- package/es/lib/CustomProperties/Edit/CustomPropertiesEditCtx.js +27 -29
- package/es/lib/CustomProperties/Edit/CustomPropertiesEditCtx.test.js +17 -12
- package/es/lib/CustomProperties/Edit/CustomPropertiesListField.js +103 -86
- package/es/lib/CustomProperties/Edit/CustomPropertiesListField.test.js +64 -28
- package/es/lib/CustomProperties/Edit/CustomPropertyField.js +116 -124
- package/es/lib/CustomProperties/Edit/CustomPropertyField.test.js +179 -99
- package/es/lib/CustomProperties/Edit/CustomPropertyFormCard.js +44 -43
- package/es/lib/CustomProperties/Edit/CustomPropertyFormCard.test.js +27 -23
- package/es/lib/CustomProperties/Edit/index.js +5 -5
- package/es/lib/CustomProperties/Edit/testResources.js +35 -13
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilter.js +81 -60
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilter.test.js +58 -24
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterField.js +54 -39
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterField.test.js +16 -17
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterFieldArray.js +23 -27
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterFieldArray.test.js +46 -20
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterForm.js +20 -18
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterForm.test.js +53 -24
- package/es/lib/CustomProperties/Filter/CustomPropertiesRule.js +43 -39
- package/es/lib/CustomProperties/Filter/CustomPropertiesRule.test.js +225 -78
- package/es/lib/CustomProperties/Filter/index.js +6 -6
- package/es/lib/CustomProperties/Filter/testResources.js +33 -13
- package/es/lib/CustomProperties/Filter/useOperators.js +16 -17
- package/es/lib/CustomProperties/Filter/useParseActiveFilterStrings.js +30 -17
- package/es/lib/CustomProperties/Filter/useValueProps.js +27 -22
- package/es/lib/CustomProperties/View/CustomPropertiesView.js +21 -19
- package/es/lib/CustomProperties/View/CustomPropertiesView.test.js +17 -12
- package/es/lib/CustomProperties/View/CustomPropertiesViewCtx.js +63 -55
- package/es/lib/CustomProperties/View/CustomPropertiesViewCtx.test.js +24 -15
- package/es/lib/CustomProperties/View/CustomPropertyCard.js +18 -17
- 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 +32 -17
- package/es/lib/CycleButton/index.js +1 -1
- package/es/lib/EditableRefdataCategoryList/EditableRefdataCategoryList.js +154 -112
- package/es/lib/EditableRefdataCategoryList/index.js +1 -1
- package/es/lib/EditableRefdataList/EditableRefdataList.js +173 -130
- package/es/lib/EditableRefdataList/index.js +1 -1
- package/es/lib/EditableSettingsList/EditableSettingsList.js +13 -16
- package/es/lib/EditableSettingsList/EditableSettingsListFieldArray.js +25 -18
- package/es/lib/EditableSettingsList/EditableSettingsListFieldArray.test.js +90 -61
- package/es/lib/EditableSettingsList/SettingField/EditSettingValue.js +34 -21
- package/es/lib/EditableSettingsList/SettingField/EditSettingValue.test.js +83 -99
- package/es/lib/EditableSettingsList/SettingField/RenderSettingValue.js +19 -17
- package/es/lib/EditableSettingsList/SettingField/RenderSettingValue.test.js +275 -187
- package/es/lib/EditableSettingsList/SettingField/SettingField.js +109 -74
- package/es/lib/EditableSettingsList/SettingField/SettingField.test.js +170 -55
- package/es/lib/EditableSettingsList/SettingField/index.js +3 -3
- package/es/lib/EditableSettingsList/index.js +3 -3
- package/es/lib/FormModal/FormModal.js +46 -43
- package/es/lib/FormModal/index.js +1 -1
- package/es/lib/FormattedKintMessage/FormattedKintMessage.js +27 -24
- package/es/lib/FormattedKintMessage/index.js +1 -1
- package/es/lib/IconSelect/IconSelect.js +68 -49
- package/es/lib/IconSelect/index.js +1 -1
- package/es/lib/NoResultsMessage/NoResultsMessage.js +17 -18
- package/es/lib/NoResultsMessage/index.js +1 -1
- package/es/lib/QueryTypedown/QueryTypedown.js +38 -17
- package/es/lib/QueryTypedown/index.js +1 -1
- package/es/lib/RefdataButtons/RefdataButtons.js +29 -26
- package/es/lib/RefdataButtons/index.js +1 -1
- package/es/lib/ResponsiveButtonGroup/ResponsiveButtonGroup.js +88 -83
- package/es/lib/ResponsiveButtonGroup/index.js +1 -1
- package/es/lib/ResponsiveButtonGroup/useResponsiveButtonGroupSizing.js +41 -28
- package/es/lib/RichSelect/RichSelect.js +86 -70
- package/es/lib/RichSelect/index.js +2 -2
- package/es/lib/RichSelect/useSelectedOption.js +12 -3
- package/es/lib/SASQLookupComponent/SASQLookupComponent.js +137 -115
- package/es/lib/SASQLookupComponent/TableBody/TableBody.js +46 -40
- package/es/lib/SASQLookupComponent/TableBody/index.js +1 -1
- package/es/lib/SASQLookupComponent/index.js +2 -2
- package/es/lib/SASQRoute/SASQRoute.js +37 -31
- package/es/lib/SASQRoute/index.js +1 -1
- package/es/lib/SASQViewComponent/SASQViewComponent.js +46 -39
- package/es/lib/SASQViewComponent/index.js +1 -1
- package/es/lib/SearchField/SearchField.js +16 -11
- package/es/lib/SearchField/index.js +1 -1
- package/es/lib/SettingPage/SettingPage.js +20 -21
- package/es/lib/SettingPage/SettingPagePane.js +6 -8
- package/es/lib/SettingPage/index.js +2 -2
- package/es/lib/SettingsFormContainer/SettingsFormContainer.js +53 -50
- package/es/lib/SettingsFormContainer/index.js +1 -1
- package/es/lib/Typedown/Typedown.js +83 -65
- package/es/lib/Typedown/index.js +1 -1
- package/es/lib/constants/customProperties.js +11 -11
- package/es/lib/constants/endpoints.js +1 -1
- 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 +29 -9
- package/es/lib/hooks/index.js +19 -19
- 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 +21 -11
- package/es/lib/hooks/typedownHooks/useTypedownToggle.js +20 -12
- package/es/lib/hooks/useActiveElement.js +17 -8
- package/es/lib/hooks/useCustomProperties.js +30 -22
- package/es/lib/hooks/useHelperApp.js +49 -30
- package/es/lib/hooks/useIntlKey.js +5 -3
- package/es/lib/hooks/useIntlKeyStore.js +49 -43
- package/es/lib/hooks/useInvalidateRefdata.js +5 -3
- package/es/lib/hooks/useKintIntl.js +31 -28
- package/es/lib/hooks/useKiwtFieldArray.js +45 -34
- package/es/lib/hooks/useKiwtSASQuery.js +48 -38
- package/es/lib/hooks/useLocalStorageState.js +18 -6
- package/es/lib/hooks/useModConfigEntries.js +25 -26
- package/es/lib/hooks/useMutateCustomProperties.js +62 -19
- package/es/lib/hooks/useMutateModConfigEntry.js +59 -21
- package/es/lib/hooks/useMutateRefdataCategory.js +60 -19
- package/es/lib/hooks/useMutateRefdataValue.js +65 -28
- package/es/lib/hooks/useQIndex.js +26 -12
- package/es/lib/hooks/useRefdata.js +19 -17
- package/es/lib/hooks/useSASQQueryMeta.js +20 -13
- package/es/lib/hooks/useTemplates.js +12 -13
- package/es/lib/settingsHooks/index.js +3 -3
- package/es/lib/settingsHooks/useAppSettings.js +26 -19
- package/es/lib/settingsHooks/useSettingSection.js +17 -16
- package/es/lib/settingsHooks/useSettings.js +72 -58
- package/es/lib/utils/buildUrl.js +8 -10
- package/es/lib/utils/generateKiwtQuery.js +3 -3
- package/es/lib/utils/generateKiwtQueryParams.js +96 -88
- package/es/lib/utils/groupCustomPropertiesByCtx.js +18 -8
- package/es/lib/utils/highlightString.js +37 -17
- package/es/lib/utils/index.js +17 -17
- package/es/lib/utils/matchString.js +8 -4
- package/es/lib/utils/modConfigEntriesQueryKey.js +7 -8
- package/es/lib/utils/parseErrorResponse.js +63 -22
- package/es/lib/utils/parseKiwtQueryGroups.js +10 -10
- package/es/lib/utils/parseKiwtQueryGroups.test.js +15 -15
- package/es/lib/utils/parseModConfigEntry.js +2 -2
- package/es/lib/utils/refdataQueryKey.js +2 -2
- package/es/lib/utils/selectorSafe.js +4 -4
- package/es/lib/utils/sortByLabel.js +3 -3
- package/es/lib/utils/toCamelCase.js +12 -7
- package/es/lib/utils/typedownQueryKey.js +2 -2
- package/es/lib/validators/index.js +1 -1
- package/es/lib/validators/validators.js +29 -22
- package/junit.xml +162 -162
- package/package.json +8 -26
- package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionList.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionListFieldArray.js.html +7 -4
- package/src/artifacts/coverage-jest/lcov-report/ActionList/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/ActionList/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/{hooks/settingsHooks/useSettings.js.html → ComboButton/ComboButton.js.html} +234 -129
- package/src/artifacts/coverage-jest/lcov-report/{hooks/settingsHooks → ComboButton}/index.html +31 -61
- package/src/artifacts/coverage-jest/lcov-report/{hooks/settingsHooks → ComboButton}/index.js.html +12 -18
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertiesLookup.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertiesSettings.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertyForm.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertyView.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/index.html +1 -1
- 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 +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertiesEditCtx.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertiesListField.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertyField.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/CustomPropertyFormCard.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Edit/index.html +1 -1
- 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 +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterField.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterFieldArray.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesFilterForm.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/CustomPropertiesRule.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/index.html +1 -1
- 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 +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useOperators.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useParseActiveFilterStrings.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Filter/useValueProps.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertiesView.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertiesViewCtx.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/CustomPropertyCard.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/View/index.html +1 -1
- 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 +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataCategoryList/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataCategoryList/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/EditableRefdataList.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableRefdataList/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/EditableSettingsList.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/EditableSettingsListFieldArray.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/EditSettingValue.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/RenderSettingValue.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/SettingField.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/SettingField/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/EditableSettingsList/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/FormModal/FormModal.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/FormModal/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/FormModal/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/FormattedKintMessage/FormattedKintMessage.js.html +1 -1
- 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 +1 -1
- package/src/artifacts/coverage-jest/lcov-report/IconSelect/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/IconSelect/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/NoResultsMessage.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/NoResultsMessage/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/QueryTypedown/QueryTypedown.js.html +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 +1 -1
- 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 +1 -1
- package/src/artifacts/coverage-jest/lcov-report/ResponsiveButtonGroup/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/ResponsiveButtonGroup/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/ResponsiveButtonGroup/useResponsiveButtonGroupSizing.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/RichSelect/RichSelect.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/RichSelect/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/RichSelect/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/RichSelect/useSelectedOption.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/SASQLookupComponent.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/TableBody.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/TableBody/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/index.html +1 -1
- 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 +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SettingPage/SettingPagePane.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SettingPage/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SettingPage/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SettingsFormContainer/SettingsFormContainer.js.html +82 -10
- package/src/artifacts/coverage-jest/lcov-report/SettingsFormContainer/index.html +15 -15
- package/src/artifacts/coverage-jest/lcov-report/SettingsFormContainer/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/endpoints.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 +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedown.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedownData.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/typedownHooks/useTypedownToggle.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useActiveElement.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useCustomProperties.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useHelperApp.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useIntlKey.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useIntlKeyStore.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useInvalidateRefdata.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useKintIntl.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useKiwtFieldArray.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useKiwtSASQuery.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useLocalStorageState.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useModConfigEntries.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateCustomProperties.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateModConfigEntry.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateRefdataCategory.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useMutateRefdataValue.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useQIndex.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useRefdata.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useSASQQueryMeta.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/useTemplates.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/index.html +32 -17
- package/src/artifacts/coverage-jest/lcov-report/settingsHooks/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/settingsHooks/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/settingsHooks/useAppSettings.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/settingsHooks/useSettingSection.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/settingsHooks/useSettings.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/utils/buildUrl.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/utils/generateKiwtQuery.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/utils/generateKiwtQueryParams.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/utils/groupCustomPropertiesByCtx.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/utils/highlightString.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/utils/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/utils/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/utils/matchString.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/utils/modConfigEntriesQueryKey.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/utils/parseErrorResponse.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/utils/parseKiwtQueryGroups.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/utils/parseModConfigEntry.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/utils/refdataOptions.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/utils/refdataQueryKey.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/utils/selectorSafe.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/utils/sortByLabel.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/utils/toCamelCase.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/utils/typedownQueryKey.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/validators/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/validators/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/validators/validators.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov.info +119 -44
- package/src/index.js +0 -2
- package/src/lib/CustomProperties/Config/CustomPropertiesSettings.test.js +1 -1
- package/src/lib/CustomProperties/Config/CustomPropertyForm.test.js +1 -2
- package/src/lib/CustomProperties/Config/CustomPropertyView.test.js +1 -1
- package/src/lib/CustomProperties/Edit/CustomPropertiesEdit.test.js +1 -1
- package/src/lib/CustomProperties/Edit/CustomPropertiesEditCtx.test.js +1 -1
- package/src/lib/CustomProperties/Edit/CustomPropertiesListField.test.js +2 -3
- package/src/lib/CustomProperties/Edit/CustomPropertyField.test.js +7 -2
- package/src/lib/CustomProperties/Filter/CustomPropertiesFilter.test.js +1 -1
- package/src/lib/CustomProperties/Filter/CustomPropertiesFilterFieldArray.test.js +2 -2
- package/src/lib/CustomProperties/Filter/CustomPropertiesFilterForm.test.js +1 -1
- package/src/lib/CustomProperties/Filter/CustomPropertiesRule.test.js +1 -2
- package/src/lib/CustomProperties/View/CustomPropertiesView.test.js +1 -1
- package/src/lib/CustomProperties/View/CustomPropertiesViewCtx.test.js +1 -1
- package/src/lib/EditableSettingsList/SettingField/SettingField.test.js +4 -5
- package/test/jest/helpers/renderWithKintHarness.js +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/testResources.js.html +0 -793
- package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useAppSettings.js.html +0 -292
- package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useSettingSection.js.html +0 -214
- package/src/artifacts/coverage-jest/lcov-report/hooks/useAvailableCustomProperties.js.html +0 -205
- package/src/artifacts/coverage-jest/lcov-report/utils/renderHelpText.js.html +0 -166
- package/src/artifacts/coverage-jest/lcov-report/utils/validators.js.html +0 -370
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
##
|
|
1
|
+
## 5.0.0 2023-08-07
|
|
2
2
|
* Fixed rogue CSS from ComboButton
|
|
3
|
-
|
|
3
|
+
* Removed typo deprecated export customPropertyContants
|
|
4
|
+
* Bumped dependencies to bring in line with react18 version of stripes
|
|
4
5
|
## 4.7.0 2023-06-06
|
|
5
6
|
* Added success callout to SettingsFormContainer
|
|
6
7
|
* Bumped @rehooks/local-storage dep to ^2.4.4
|
package/README.md
CHANGED
|
@@ -43,4 +43,4 @@ Release major | Latest release | Flower releases present in (ERM) | Flower compa
|
|
|
43
43
|
v1 | 1.7.0 | Lotus | Kiwi - Morning Glory |
|
|
44
44
|
v2 | 2.8.6 | Morning Glory | Kiwi - Morning Glory |
|
|
45
45
|
v3 | 3.2.3 | Nolana | Morning Glory - Nolana |
|
|
46
|
-
v4 | 4.
|
|
46
|
+
v4 | 4.7.0 | Orchid | Morning Glory - Orchid+ |
|
|
@@ -2,14 +2,25 @@
|
|
|
2
2
|
|
|
3
3
|
var _mocks = require("@folio/stripes-erm-testing/jest/mocks");
|
|
4
4
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
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); }
|
|
6
|
+
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; }
|
|
7
|
+
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; }
|
|
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')), {}, {
|
|
8
15
|
Icon: _mocks.mockStripesIcon,
|
|
9
|
-
LoadingView:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
+
LoadingView: function LoadingView() {
|
|
17
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
18
|
+
children: "LoadingView"
|
|
19
|
+
});
|
|
20
|
+
},
|
|
21
|
+
LoadingPane: function LoadingPane() {
|
|
22
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
23
|
+
children: "LoadingPane"
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
});
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _mocks = require("@folio/stripes-erm-testing/jest/mocks");
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
};
|
|
4
|
+
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); }
|
|
5
|
+
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; }
|
|
6
|
+
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; }
|
|
7
|
+
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; }
|
|
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);
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _mocks = require("@folio/stripes-erm-testing/jest/mocks");
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
};
|
|
4
|
+
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); }
|
|
5
|
+
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; }
|
|
6
|
+
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; }
|
|
7
|
+
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; }
|
|
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);
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _mocks = require("@folio/stripes-erm-testing/jest/mocks");
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
};
|
|
4
|
+
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); }
|
|
5
|
+
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; }
|
|
6
|
+
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; }
|
|
7
|
+
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; }
|
|
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);
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _mocks = require("@folio/stripes-erm-testing/jest/mocks");
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
};
|
|
4
|
+
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); }
|
|
5
|
+
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; }
|
|
6
|
+
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; }
|
|
7
|
+
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; }
|
|
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); } // FIXME currently since erm-testing exports TestForm using stripes-components, we have an issue
|
|
10
|
+
module.exports = _objectSpread(_objectSpread({}, jest.requireActual('react-router-dom')), _mocks.mockReactRouterDom);
|
|
@@ -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 (ah) {
|
|
320
|
+
var W = function W(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 now() {
|
|
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
|
+
var searchValue = document.getElementById('fileSearch').value;
|
|
31
|
+
var rows = document.getElementsByTagName('tbody')[0].children;
|
|
32
|
+
for (var i = 0; i < rows.length; i++) {
|
|
33
|
+
var 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 (a, b) {
|
|
103
|
+
sorter = function sorter(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 (a, b) {
|
|
114
|
+
finalSorter = function finalSorter(a, b) {
|
|
115
115
|
return -1 * sorter(a, b);
|
|
116
116
|
};
|
|
117
117
|
}
|
package/es/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
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); }
|
|
3
4
|
Object.defineProperty(exports, "__esModule", {
|
|
4
5
|
value: true
|
|
5
6
|
});
|
|
@@ -38,7 +39,6 @@ var _exportNames = {
|
|
|
38
39
|
CustomPropertiesFilterFieldArray: true,
|
|
39
40
|
useOperators: true,
|
|
40
41
|
useParseActiveFilterStrings: true,
|
|
41
|
-
customPropertyContants: true,
|
|
42
42
|
customPropertyConstants: true,
|
|
43
43
|
endpoints: true,
|
|
44
44
|
CycleButton: true,
|
|
@@ -52,254 +52,254 @@ var _exportNames = {
|
|
|
52
52
|
};
|
|
53
53
|
Object.defineProperty(exports, "ActionList", {
|
|
54
54
|
enumerable: true,
|
|
55
|
-
get: function () {
|
|
55
|
+
get: function get() {
|
|
56
56
|
return _ActionList.default;
|
|
57
57
|
}
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "ComboButton", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () {
|
|
61
|
+
get: function get() {
|
|
62
62
|
return _ComboButton.default;
|
|
63
63
|
}
|
|
64
64
|
});
|
|
65
65
|
Object.defineProperty(exports, "CustomPropertiesEdit", {
|
|
66
66
|
enumerable: true,
|
|
67
|
-
get: function () {
|
|
67
|
+
get: function get() {
|
|
68
68
|
return _CustomProperties.CustomPropertiesEdit;
|
|
69
69
|
}
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "CustomPropertiesEditCtx", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () {
|
|
73
|
+
get: function get() {
|
|
74
74
|
return _CustomProperties.CustomPropertiesEditCtx;
|
|
75
75
|
}
|
|
76
76
|
});
|
|
77
77
|
Object.defineProperty(exports, "CustomPropertiesFilter", {
|
|
78
78
|
enumerable: true,
|
|
79
|
-
get: function () {
|
|
79
|
+
get: function get() {
|
|
80
80
|
return _CustomProperties.CustomPropertiesFilter;
|
|
81
81
|
}
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "CustomPropertiesFilterField", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () {
|
|
85
|
+
get: function get() {
|
|
86
86
|
return _CustomProperties.CustomPropertiesFilterField;
|
|
87
87
|
}
|
|
88
88
|
});
|
|
89
89
|
Object.defineProperty(exports, "CustomPropertiesFilterFieldArray", {
|
|
90
90
|
enumerable: true,
|
|
91
|
-
get: function () {
|
|
91
|
+
get: function get() {
|
|
92
92
|
return _CustomProperties.CustomPropertiesFilterFieldArray;
|
|
93
93
|
}
|
|
94
94
|
});
|
|
95
95
|
Object.defineProperty(exports, "CustomPropertiesFilterForm", {
|
|
96
96
|
enumerable: true,
|
|
97
|
-
get: function () {
|
|
97
|
+
get: function get() {
|
|
98
98
|
return _CustomProperties.CustomPropertiesFilterForm;
|
|
99
99
|
}
|
|
100
100
|
});
|
|
101
101
|
Object.defineProperty(exports, "CustomPropertiesListField", {
|
|
102
102
|
enumerable: true,
|
|
103
|
-
get: function () {
|
|
103
|
+
get: function get() {
|
|
104
104
|
return _CustomProperties.CustomPropertiesListField;
|
|
105
105
|
}
|
|
106
106
|
});
|
|
107
107
|
Object.defineProperty(exports, "CustomPropertiesLookup", {
|
|
108
108
|
enumerable: true,
|
|
109
|
-
get: function () {
|
|
109
|
+
get: function get() {
|
|
110
110
|
return _CustomProperties.CustomPropertiesLookup;
|
|
111
111
|
}
|
|
112
112
|
});
|
|
113
113
|
Object.defineProperty(exports, "CustomPropertiesSettings", {
|
|
114
114
|
enumerable: true,
|
|
115
|
-
get: function () {
|
|
115
|
+
get: function get() {
|
|
116
116
|
return _CustomProperties.CustomPropertiesSettings;
|
|
117
117
|
}
|
|
118
118
|
});
|
|
119
119
|
Object.defineProperty(exports, "CustomPropertiesView", {
|
|
120
120
|
enumerable: true,
|
|
121
|
-
get: function () {
|
|
121
|
+
get: function get() {
|
|
122
122
|
return _CustomProperties.CustomPropertiesView;
|
|
123
123
|
}
|
|
124
124
|
});
|
|
125
125
|
Object.defineProperty(exports, "CustomPropertiesViewCtx", {
|
|
126
126
|
enumerable: true,
|
|
127
|
-
get: function () {
|
|
127
|
+
get: function get() {
|
|
128
128
|
return _CustomProperties.CustomPropertiesViewCtx;
|
|
129
129
|
}
|
|
130
130
|
});
|
|
131
131
|
Object.defineProperty(exports, "CustomPropertyCard", {
|
|
132
132
|
enumerable: true,
|
|
133
|
-
get: function () {
|
|
133
|
+
get: function get() {
|
|
134
134
|
return _CustomProperties.CustomPropertyCard;
|
|
135
135
|
}
|
|
136
136
|
});
|
|
137
137
|
Object.defineProperty(exports, "CustomPropertyField", {
|
|
138
138
|
enumerable: true,
|
|
139
|
-
get: function () {
|
|
139
|
+
get: function get() {
|
|
140
140
|
return _CustomProperties.CustomPropertyField;
|
|
141
141
|
}
|
|
142
142
|
});
|
|
143
143
|
Object.defineProperty(exports, "CustomPropertyForm", {
|
|
144
144
|
enumerable: true,
|
|
145
|
-
get: function () {
|
|
145
|
+
get: function get() {
|
|
146
146
|
return _CustomProperties.CustomPropertyForm;
|
|
147
147
|
}
|
|
148
148
|
});
|
|
149
149
|
Object.defineProperty(exports, "CustomPropertyFormCard", {
|
|
150
150
|
enumerable: true,
|
|
151
|
-
get: function () {
|
|
151
|
+
get: function get() {
|
|
152
152
|
return _CustomProperties.CustomPropertyFormCard;
|
|
153
153
|
}
|
|
154
154
|
});
|
|
155
155
|
Object.defineProperty(exports, "CustomPropertyView", {
|
|
156
156
|
enumerable: true,
|
|
157
|
-
get: function () {
|
|
157
|
+
get: function get() {
|
|
158
158
|
return _CustomProperties.CustomPropertyView;
|
|
159
159
|
}
|
|
160
160
|
});
|
|
161
161
|
Object.defineProperty(exports, "CycleButton", {
|
|
162
162
|
enumerable: true,
|
|
163
|
-
get: function () {
|
|
163
|
+
get: function get() {
|
|
164
164
|
return _CycleButton.default;
|
|
165
165
|
}
|
|
166
166
|
});
|
|
167
167
|
Object.defineProperty(exports, "EditableRefdataCategoryList", {
|
|
168
168
|
enumerable: true,
|
|
169
|
-
get: function () {
|
|
169
|
+
get: function get() {
|
|
170
170
|
return _EditableRefdataCategoryList.default;
|
|
171
171
|
}
|
|
172
172
|
});
|
|
173
173
|
Object.defineProperty(exports, "EditableRefdataList", {
|
|
174
174
|
enumerable: true,
|
|
175
|
-
get: function () {
|
|
175
|
+
get: function get() {
|
|
176
176
|
return _EditableRefdataList.default;
|
|
177
177
|
}
|
|
178
178
|
});
|
|
179
179
|
Object.defineProperty(exports, "FormModal", {
|
|
180
180
|
enumerable: true,
|
|
181
|
-
get: function () {
|
|
181
|
+
get: function get() {
|
|
182
182
|
return _FormModal.default;
|
|
183
183
|
}
|
|
184
184
|
});
|
|
185
185
|
Object.defineProperty(exports, "FormattedKintMessage", {
|
|
186
186
|
enumerable: true,
|
|
187
|
-
get: function () {
|
|
187
|
+
get: function get() {
|
|
188
188
|
return _FormattedKintMessage.default;
|
|
189
189
|
}
|
|
190
190
|
});
|
|
191
191
|
Object.defineProperty(exports, "IconSelect", {
|
|
192
192
|
enumerable: true,
|
|
193
|
-
get: function () {
|
|
193
|
+
get: function get() {
|
|
194
194
|
return _IconSelect.default;
|
|
195
195
|
}
|
|
196
196
|
});
|
|
197
197
|
Object.defineProperty(exports, "NoResultsMessage", {
|
|
198
198
|
enumerable: true,
|
|
199
|
-
get: function () {
|
|
199
|
+
get: function get() {
|
|
200
200
|
return _NoResultsMessage.default;
|
|
201
201
|
}
|
|
202
202
|
});
|
|
203
203
|
Object.defineProperty(exports, "QueryTypedown", {
|
|
204
204
|
enumerable: true,
|
|
205
|
-
get: function () {
|
|
205
|
+
get: function get() {
|
|
206
206
|
return _QueryTypedown.default;
|
|
207
207
|
}
|
|
208
208
|
});
|
|
209
209
|
Object.defineProperty(exports, "RefdataButtons", {
|
|
210
210
|
enumerable: true,
|
|
211
|
-
get: function () {
|
|
211
|
+
get: function get() {
|
|
212
212
|
return _RefdataButtons.default;
|
|
213
213
|
}
|
|
214
214
|
});
|
|
215
215
|
Object.defineProperty(exports, "ResponsiveButtonGroup", {
|
|
216
216
|
enumerable: true,
|
|
217
|
-
get: function () {
|
|
217
|
+
get: function get() {
|
|
218
218
|
return _ResponsiveButtonGroup.default;
|
|
219
219
|
}
|
|
220
220
|
});
|
|
221
221
|
Object.defineProperty(exports, "RichSelect", {
|
|
222
222
|
enumerable: true,
|
|
223
|
-
get: function () {
|
|
223
|
+
get: function get() {
|
|
224
224
|
return _RichSelect.default;
|
|
225
225
|
}
|
|
226
226
|
});
|
|
227
227
|
Object.defineProperty(exports, "SASQLookupComponent", {
|
|
228
228
|
enumerable: true,
|
|
229
|
-
get: function () {
|
|
229
|
+
get: function get() {
|
|
230
230
|
return _SASQLookupComponent.SASQLookupComponent;
|
|
231
231
|
}
|
|
232
232
|
});
|
|
233
233
|
Object.defineProperty(exports, "SASQRoute", {
|
|
234
234
|
enumerable: true,
|
|
235
|
-
get: function () {
|
|
235
|
+
get: function get() {
|
|
236
236
|
return _SASQRoute.default;
|
|
237
237
|
}
|
|
238
238
|
});
|
|
239
239
|
Object.defineProperty(exports, "SASQTableBody", {
|
|
240
240
|
enumerable: true,
|
|
241
|
-
get: function () {
|
|
241
|
+
get: function get() {
|
|
242
242
|
return _SASQLookupComponent.TableBody;
|
|
243
243
|
}
|
|
244
244
|
});
|
|
245
245
|
Object.defineProperty(exports, "SASQViewComponent", {
|
|
246
246
|
enumerable: true,
|
|
247
|
-
get: function () {
|
|
247
|
+
get: function get() {
|
|
248
248
|
return _SASQViewComponent.default;
|
|
249
249
|
}
|
|
250
250
|
});
|
|
251
251
|
Object.defineProperty(exports, "SearchField", {
|
|
252
252
|
enumerable: true,
|
|
253
|
-
get: function () {
|
|
253
|
+
get: function get() {
|
|
254
254
|
return _SearchField.default;
|
|
255
255
|
}
|
|
256
256
|
});
|
|
257
257
|
Object.defineProperty(exports, "SettingPage", {
|
|
258
258
|
enumerable: true,
|
|
259
|
-
get: function () {
|
|
259
|
+
get: function get() {
|
|
260
260
|
return _SettingPage.SettingPage;
|
|
261
261
|
}
|
|
262
262
|
});
|
|
263
263
|
Object.defineProperty(exports, "SettingPagePane", {
|
|
264
264
|
enumerable: true,
|
|
265
|
-
get: function () {
|
|
265
|
+
get: function get() {
|
|
266
266
|
return _SettingPage.SettingPagePane;
|
|
267
267
|
}
|
|
268
268
|
});
|
|
269
269
|
Object.defineProperty(exports, "SettingsContext", {
|
|
270
270
|
enumerable: true,
|
|
271
|
-
get: function () {
|
|
271
|
+
get: function get() {
|
|
272
272
|
return _contexts.SettingsContext;
|
|
273
273
|
}
|
|
274
274
|
});
|
|
275
275
|
Object.defineProperty(exports, "SettingsFormContainer", {
|
|
276
276
|
enumerable: true,
|
|
277
|
-
get: function () {
|
|
277
|
+
get: function get() {
|
|
278
278
|
return _SettingsFormContainer.default;
|
|
279
279
|
}
|
|
280
280
|
});
|
|
281
281
|
Object.defineProperty(exports, "Typedown", {
|
|
282
282
|
enumerable: true,
|
|
283
|
-
get: function () {
|
|
283
|
+
get: function get() {
|
|
284
284
|
return _Typedown.default;
|
|
285
285
|
}
|
|
286
286
|
});
|
|
287
|
-
exports.endpoints = exports.
|
|
287
|
+
exports.endpoints = exports.customPropertyConstants = void 0;
|
|
288
288
|
Object.defineProperty(exports, "useOperators", {
|
|
289
289
|
enumerable: true,
|
|
290
|
-
get: function () {
|
|
290
|
+
get: function get() {
|
|
291
291
|
return _CustomProperties.useOperators;
|
|
292
292
|
}
|
|
293
293
|
});
|
|
294
294
|
Object.defineProperty(exports, "useParseActiveFilterStrings", {
|
|
295
295
|
enumerable: true,
|
|
296
|
-
get: function () {
|
|
296
|
+
get: function get() {
|
|
297
297
|
return _CustomProperties.useParseActiveFilterStrings;
|
|
298
298
|
}
|
|
299
299
|
});
|
|
300
300
|
Object.defineProperty(exports, "useSelectedOption", {
|
|
301
301
|
enumerable: true,
|
|
302
|
-
get: function () {
|
|
302
|
+
get: function get() {
|
|
303
303
|
return _RichSelect.useSelectedOption;
|
|
304
304
|
}
|
|
305
305
|
});
|
|
@@ -310,7 +310,7 @@ Object.keys(_hooks).forEach(function (key) {
|
|
|
310
310
|
if (key in exports && exports[key] === _hooks[key]) return;
|
|
311
311
|
Object.defineProperty(exports, key, {
|
|
312
312
|
enumerable: true,
|
|
313
|
-
get: function () {
|
|
313
|
+
get: function get() {
|
|
314
314
|
return _hooks[key];
|
|
315
315
|
}
|
|
316
316
|
});
|
|
@@ -322,7 +322,7 @@ Object.keys(_settingsHooks).forEach(function (key) {
|
|
|
322
322
|
if (key in exports && exports[key] === _settingsHooks[key]) return;
|
|
323
323
|
Object.defineProperty(exports, key, {
|
|
324
324
|
enumerable: true,
|
|
325
|
-
get: function () {
|
|
325
|
+
get: function get() {
|
|
326
326
|
return _settingsHooks[key];
|
|
327
327
|
}
|
|
328
328
|
});
|
|
@@ -334,7 +334,7 @@ Object.keys(_utils).forEach(function (key) {
|
|
|
334
334
|
if (key in exports && exports[key] === _utils[key]) return;
|
|
335
335
|
Object.defineProperty(exports, key, {
|
|
336
336
|
enumerable: true,
|
|
337
|
-
get: function () {
|
|
337
|
+
get: function get() {
|
|
338
338
|
return _utils[key];
|
|
339
339
|
}
|
|
340
340
|
});
|
|
@@ -346,7 +346,7 @@ Object.keys(_validators).forEach(function (key) {
|
|
|
346
346
|
if (key in exports && exports[key] === _validators[key]) return;
|
|
347
347
|
Object.defineProperty(exports, key, {
|
|
348
348
|
enumerable: true,
|
|
349
|
-
get: function () {
|
|
349
|
+
get: function get() {
|
|
350
350
|
return _validators[key];
|
|
351
351
|
}
|
|
352
352
|
});
|
|
@@ -366,10 +366,8 @@ var _NoResultsMessage = _interopRequireDefault(require("./lib/NoResultsMessage")
|
|
|
366
366
|
var _RefdataButtons = _interopRequireDefault(require("./lib/RefdataButtons"));
|
|
367
367
|
var _FormModal = _interopRequireDefault(require("./lib/FormModal"));
|
|
368
368
|
var _CustomProperties = require("./lib/CustomProperties");
|
|
369
|
-
var
|
|
370
|
-
|
|
371
|
-
exports.customPropertyContants = _customPropertyContants;
|
|
372
|
-
exports.customPropertyConstants = _customPropertyContants;
|
|
369
|
+
var _customPropertyConstants = _interopRequireWildcard(require("./lib/constants/customProperties"));
|
|
370
|
+
exports.customPropertyConstants = _customPropertyConstants;
|
|
373
371
|
var _endpoints = _interopRequireWildcard(require("./lib/constants/endpoints"));
|
|
374
372
|
exports.endpoints = _endpoints;
|
|
375
373
|
var _CycleButton = _interopRequireDefault(require("./lib/CycleButton"));
|
|
@@ -379,6 +377,6 @@ var _FormattedKintMessage = _interopRequireDefault(require("./lib/FormattedKintM
|
|
|
379
377
|
var _ResponsiveButtonGroup = _interopRequireDefault(require("./lib/ResponsiveButtonGroup"));
|
|
380
378
|
var _SettingsFormContainer = _interopRequireDefault(require("./lib/SettingsFormContainer"));
|
|
381
379
|
var _ComboButton = _interopRequireDefault(require("./lib/ComboButton"));
|
|
382
|
-
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); }
|
|
383
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null ||
|
|
380
|
+
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); }
|
|
381
|
+
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; }
|
|
384
382
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|