@k-int/stripes-kint-components 5.0.0 → 5.1.1
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 +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 +56 -49
- package/es/lib/ActionList/ActionList.js +39 -53
- package/es/lib/ActionList/ActionListFieldArray.js +144 -169
- package/es/lib/ActionList/index.js +1 -1
- package/es/lib/ComboButton/ComboButton.js +73 -91
- package/es/lib/ComboButton/index.js +1 -1
- package/es/lib/CustomProperties/Config/CustomPropertiesLookup.js +58 -79
- package/es/lib/CustomProperties/Config/CustomPropertiesLookup.test.js +15 -19
- package/es/lib/CustomProperties/Config/CustomPropertiesSettings.js +112 -162
- package/es/lib/CustomProperties/Config/CustomPropertiesSettings.test.js +30 -67
- package/es/lib/CustomProperties/Config/CustomPropertyForm.js +37 -50
- package/es/lib/CustomProperties/Config/CustomPropertyForm.test.js +83 -121
- package/es/lib/CustomProperties/Config/CustomPropertyView.js +10 -10
- 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 +20 -23
- package/es/lib/CustomProperties/Edit/CustomPropertiesEdit.test.js +11 -16
- package/es/lib/CustomProperties/Edit/CustomPropertiesEditCtx.js +30 -29
- package/es/lib/CustomProperties/Edit/CustomPropertiesEditCtx.test.js +11 -16
- package/es/lib/CustomProperties/Edit/CustomPropertiesListField.js +87 -105
- package/es/lib/CustomProperties/Edit/CustomPropertiesListField.test.js +26 -63
- package/es/lib/CustomProperties/Edit/CustomPropertyField.js +124 -117
- package/es/lib/CustomProperties/Edit/CustomPropertyField.test.js +101 -179
- package/es/lib/CustomProperties/Edit/CustomPropertyFormCard.js +44 -46
- 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 +14 -38
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilter.js +61 -83
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilter.test.js +23 -57
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterField.js +40 -56
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterField.test.js +17 -16
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterFieldArray.js +28 -25
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterFieldArray.test.js +19 -47
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterForm.js +19 -22
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterForm.test.js +23 -52
- package/es/lib/CustomProperties/Filter/CustomPropertiesRule.js +38 -43
- package/es/lib/CustomProperties/Filter/CustomPropertiesRule.test.js +94 -226
- package/es/lib/CustomProperties/Filter/index.js +6 -6
- package/es/lib/CustomProperties/Filter/testResources.js +13 -36
- package/es/lib/CustomProperties/Filter/useOperators.js +18 -18
- package/es/lib/CustomProperties/Filter/useParseActiveFilterStrings.js +18 -32
- package/es/lib/CustomProperties/Filter/useValueProps.js +23 -29
- package/es/lib/CustomProperties/View/CustomPropertiesView.js +20 -23
- package/es/lib/CustomProperties/View/CustomPropertiesView.test.js +11 -16
- package/es/lib/CustomProperties/View/CustomPropertiesViewCtx.js +50 -59
- package/es/lib/CustomProperties/View/CustomPropertiesViewCtx.test.js +14 -23
- package/es/lib/CustomProperties/View/CustomPropertyCard.js +18 -20
- package/es/lib/CustomProperties/View/index.js +3 -3
- package/es/lib/CustomProperties/View/testResources.js +5 -9
- package/es/lib/CustomProperties/index.js +18 -18
- package/es/lib/CycleButton/CycleButton.js +18 -34
- package/es/lib/CycleButton/index.js +1 -1
- package/es/lib/EditableRefdataCategoryList/EditableRefdataCategoryList.js +109 -152
- package/es/lib/EditableRefdataCategoryList/index.js +1 -1
- package/es/lib/EditableRefdataList/EditableRefdataList.js +128 -172
- package/es/lib/EditableRefdataList/index.js +1 -1
- package/es/lib/EditableSettingsList/EditableSettingsList.js +17 -15
- package/es/lib/EditableSettingsList/EditableSettingsListFieldArray.js +19 -27
- package/es/lib/EditableSettingsList/EditableSettingsListFieldArray.test.js +61 -90
- package/es/lib/EditableSettingsList/SettingField/EditSettingValue.js +22 -36
- package/es/lib/EditableSettingsList/SettingField/EditSettingValue.test.js +99 -83
- package/es/lib/EditableSettingsList/SettingField/RenderSettingValue.js +18 -21
- package/es/lib/EditableSettingsList/SettingField/RenderSettingValue.test.js +187 -275
- package/es/lib/EditableSettingsList/SettingField/SettingField.js +75 -111
- package/es/lib/EditableSettingsList/SettingField/SettingField.test.js +55 -168
- package/es/lib/EditableSettingsList/SettingField/index.js +3 -3
- package/es/lib/EditableSettingsList/index.js +3 -3
- package/es/lib/FormModal/FormModal.js +44 -48
- package/es/lib/FormModal/index.js +1 -1
- package/es/lib/FormattedKintMessage/FormattedKintMessage.js +25 -29
- package/es/lib/FormattedKintMessage/index.js +1 -1
- package/es/lib/IconSelect/IconSelect.js +50 -70
- package/es/lib/IconSelect/index.js +1 -1
- package/es/lib/NoResultsMessage/NoResultsMessage.js +19 -19
- package/es/lib/NoResultsMessage/index.js +1 -1
- package/es/lib/QueryTypedown/QueryTypedown.js +18 -40
- package/es/lib/QueryTypedown/index.js +1 -1
- package/es/lib/RefdataButtons/RefdataButtons.js +27 -31
- package/es/lib/RefdataButtons/index.js +1 -1
- package/es/lib/ResponsiveButtonGroup/ResponsiveButtonGroup.js +84 -90
- package/es/lib/ResponsiveButtonGroup/index.js +1 -1
- package/es/lib/ResponsiveButtonGroup/useResponsiveButtonGroupSizing.js +28 -42
- package/es/lib/RichSelect/RichSelect.js +71 -88
- package/es/lib/RichSelect/index.js +2 -2
- package/es/lib/RichSelect/useSelectedOption.js +4 -14
- package/es/lib/SASQLookupComponent/SASQLookupComponent.js +116 -139
- package/es/lib/SASQLookupComponent/TableBody/TableBody.js +40 -47
- package/es/lib/SASQLookupComponent/TableBody/index.js +1 -1
- package/es/lib/SASQLookupComponent/index.js +2 -2
- package/es/lib/SASQRoute/SASQRoute.js +32 -39
- package/es/lib/SASQRoute/index.js +1 -1
- package/es/lib/SASQViewComponent/SASQViewComponent.js +39 -47
- package/es/lib/SASQViewComponent/index.js +1 -1
- package/es/lib/SearchField/SearchField.js +12 -18
- package/es/lib/SearchField/index.js +1 -1
- package/es/lib/SettingPage/SettingPage.js +22 -22
- package/es/lib/SettingPage/SettingPagePane.js +9 -8
- package/es/lib/SettingPage/index.js +2 -2
- package/es/lib/SettingsFormContainer/SettingsFormContainer.js +51 -55
- package/es/lib/SettingsFormContainer/index.js +1 -1
- package/es/lib/Typedown/Typedown.js +62 -81
- package/es/lib/Typedown/index.js +1 -1
- package/es/lib/constants/comparators.js +7 -0
- package/es/lib/constants/customProperties.js +11 -22
- package/es/lib/constants/endpoints.js +1 -2
- package/es/lib/constants/eventCodes.js +3 -6
- package/es/lib/contexts/SettingsContext.js +2 -3
- package/es/lib/contexts/index.js +1 -1
- package/es/lib/hooks/__mocks__/index.js +9 -29
- package/es/lib/hooks/index.js +19 -19
- package/es/lib/hooks/typedownHooks/index.js +3 -3
- package/es/lib/hooks/typedownHooks/useTypedown.js +49 -50
- package/es/lib/hooks/typedownHooks/useTypedownData.js +12 -23
- package/es/lib/hooks/typedownHooks/useTypedownToggle.js +13 -22
- package/es/lib/hooks/useActiveElement.js +9 -19
- package/es/lib/hooks/useCustomProperties.js +23 -32
- package/es/lib/hooks/useHelperApp.js +31 -51
- package/es/lib/hooks/useIntlKey.js +4 -7
- package/es/lib/hooks/useIntlKeyStore.js +44 -51
- package/es/lib/hooks/useInvalidateRefdata.js +4 -7
- package/es/lib/hooks/useKintIntl.js +29 -33
- package/es/lib/hooks/useKiwtFieldArray.js +35 -47
- package/es/lib/hooks/useKiwtSASQuery.js +38 -51
- package/es/lib/hooks/useLocalStorageState.js +7 -20
- package/es/lib/hooks/useModConfigEntries.js +27 -27
- package/es/lib/hooks/useMutateCustomProperties.js +20 -64
- package/es/lib/hooks/useMutateModConfigEntry.js +22 -61
- package/es/lib/hooks/useMutateRefdataCategory.js +20 -62
- package/es/lib/hooks/useMutateRefdataValue.js +29 -67
- package/es/lib/hooks/useQIndex.js +13 -28
- package/es/lib/hooks/useRefdata.js +18 -21
- package/es/lib/hooks/useSASQQueryMeta.js +14 -22
- package/es/lib/hooks/useTemplates.js +14 -14
- package/es/lib/settingsHooks/index.js +3 -3
- package/es/lib/settingsHooks/useAppSettings.js +19 -27
- package/es/lib/settingsHooks/useSettingSection.js +17 -19
- package/es/lib/settingsHooks/useSettings.js +59 -74
- package/es/lib/utils/buildUrl.js +6 -8
- package/es/lib/utils/filterParsers/deparseKiwtQueryFilters.js +36 -0
- package/es/lib/utils/filterParsers/index.js +48 -0
- package/es/lib/utils/filterParsers/parseKiwtQueryFilters.js +47 -0
- package/es/lib/utils/{parseKiwtQueryGroups.js → filterParsers/parseKiwtQueryGroups.js} +12 -13
- package/es/lib/utils/{parseKiwtQueryGroups.test.js → filterParsers/parseKiwtQueryGroups.test.js} +15 -15
- package/es/lib/utils/filterParsers/parseKiwtQueryString.js +34 -0
- package/es/lib/utils/generateKiwtQuery.js +4 -5
- package/es/lib/utils/generateKiwtQueryParams.js +93 -99
- package/es/lib/utils/groupCustomPropertiesByCtx.js +9 -20
- package/es/lib/utils/highlightString.js +17 -37
- package/es/lib/utils/index.js +49 -19
- package/es/lib/utils/matchString.js +5 -10
- package/es/lib/utils/modConfigEntriesQueryKey.js +9 -9
- package/es/lib/utils/parseErrorResponse.js +23 -65
- package/es/lib/utils/parseModConfigEntry.js +3 -4
- package/es/lib/utils/refdataOptions.js +2 -3
- package/es/lib/utils/refdataQueryKey.js +3 -4
- package/es/lib/utils/selectorSafe.js +5 -6
- package/es/lib/utils/sortByLabel.js +4 -5
- package/es/lib/utils/toCamelCase.js +8 -14
- package/es/lib/utils/typedownQueryKey.js +3 -4
- package/es/lib/validators/index.js +1 -1
- package/es/lib/validators/validators.js +22 -29
- package/junit.xml +161 -161
- package/package.json +5 -5
- package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionList.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionListFieldArray.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/ActionList/ActionTrigger.js.html +418 -0
- 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/ComboButton/ComboButton.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/ComboButton/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/ComboButton/index.js.html +1 -1
- 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 +10 -10
- 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 +15 -15
- 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/SettingsActionList/EditSettingValue.js.html +514 -0
- package/src/artifacts/coverage-jest/lcov-report/SettingsActionList/RenderSettingValue.js.html +358 -0
- package/src/artifacts/coverage-jest/lcov-report/SettingsActionList/SettingsActionList.js.html +736 -0
- package/src/artifacts/coverage-jest/lcov-report/SettingsActionList/index.html +161 -0
- package/src/artifacts/coverage-jest/lcov-report/SettingsActionList/index.js.html +88 -0
- package/src/artifacts/coverage-jest/lcov-report/SettingsFormContainer/SettingsFormContainer.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SettingsFormContainer/index.html +1 -1
- 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/comparators.js.html +121 -0
- 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 +16 -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/settingsHooks/index.html +161 -0
- package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/index.js.html +94 -0
- package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useAppSettings.js.html +292 -0
- package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useSettingSection.js.html +214 -0
- package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useSettings.js.html +463 -0
- 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 +2 -2
- 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 +41 -26
- 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 +6 -18
- package/src/artifacts/coverage-jest/lcov-report/utils/filterParsers/deparseKiwtQueryFilters.js.html +181 -0
- package/src/artifacts/coverage-jest/lcov-report/utils/filterParsers/index.html +176 -0
- package/src/artifacts/coverage-jest/lcov-report/utils/filterParsers/index.js.html +124 -0
- package/src/artifacts/coverage-jest/lcov-report/utils/filterParsers/parseKiwtQueryFilters.js.html +211 -0
- package/src/artifacts/coverage-jest/lcov-report/utils/filterParsers/parseKiwtQueryGroups.js.html +367 -0
- package/src/artifacts/coverage-jest/lcov-report/utils/filterParsers/parseKiwtQueryString.js.html +184 -0
- package/src/artifacts/coverage-jest/lcov-report/utils/generateKiwtQuery.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/utils/generateKiwtQueryParams.js.html +13 -7
- 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 +13 -28
- package/src/artifacts/coverage-jest/lcov-report/utils/index.js.html +24 -3
- 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/utils/validators.js.html +370 -0
- 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 +352 -228
- package/src/index.js +1 -0
- package/src/lib/CustomProperties/Edit/CustomPropertyField.test.js +9 -5
- package/src/lib/CustomProperties/Filter/CustomPropertiesFilterFieldArray.test.js +1 -4
- package/src/lib/CustomProperties/Filter/CustomPropertiesRule.test.js +26 -10
- package/src/lib/constants/comparators.js +13 -0
- package/src/lib/hooks/useKiwtSASQuery.js +1 -1
- package/src/lib/utils/buildUrl.js +1 -5
- package/src/lib/utils/filterParsers/deparseKiwtQueryFilters.js +32 -0
- package/src/lib/utils/filterParsers/index.js +13 -0
- package/src/lib/utils/filterParsers/parseKiwtQueryFilters.js +42 -0
- package/src/lib/utils/{parseKiwtQueryGroups.js → filterParsers/parseKiwtQueryGroups.js} +3 -1
- package/src/lib/utils/filterParsers/parseKiwtQueryString.js +33 -0
- package/src/lib/utils/generateKiwtQueryParams.js +6 -4
- package/src/lib/utils/index.js +8 -1
- /package/src/lib/utils/{parseKiwtQueryGroups.test.js → filterParsers/parseKiwtQueryGroups.test.js} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## 5.1.1 2023-10-03
|
|
2
|
+
* comparators - added !~ (Does not contain) comparator to constants array
|
|
3
|
+
|
|
4
|
+
## 5.1.0 2023-09-26
|
|
5
|
+
* KIWT filter parsers
|
|
6
|
+
* parseKiwtQueryFilters - will parse grouped KIWT query strings into structured array
|
|
7
|
+
* parseKiwtQueryFiltersRecursive - will do the same as the above, after it has already run through parseKiwtQueryGroups
|
|
8
|
+
* deparseKiwtQueryFilters - will take an array of the shape created by parseKiwtQueryFilters and return it to string form
|
|
9
|
+
* deparseKiwtQueryFiltersObject - will take a singular object of the shape specified by the array created in parseKiwtQueryFilters, and will return a string for that singular object.
|
|
10
|
+
* generateKiwtQueryParams - some null safety
|
|
11
|
+
* buildUrl - small refactor
|
|
12
|
+
* dependency bumps
|
|
13
|
+
* test tweaks
|
|
14
|
+
|
|
1
15
|
## 5.0.0 2023-08-07
|
|
2
16
|
* Fixed rogue CSS from ComboButton
|
|
3
17
|
* Removed typo deprecated export customPropertyContants
|
|
@@ -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
|
});
|
|
@@ -41,6 +40,7 @@ var _exportNames = {
|
|
|
41
40
|
useParseActiveFilterStrings: true,
|
|
42
41
|
customPropertyConstants: true,
|
|
43
42
|
endpoints: true,
|
|
43
|
+
comparators: true,
|
|
44
44
|
CycleButton: true,
|
|
45
45
|
IconSelect: true,
|
|
46
46
|
RichSelect: true,
|
|
@@ -52,254 +52,260 @@ var _exportNames = {
|
|
|
52
52
|
};
|
|
53
53
|
Object.defineProperty(exports, "ActionList", {
|
|
54
54
|
enumerable: true,
|
|
55
|
-
get: function
|
|
55
|
+
get: function () {
|
|
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 () {
|
|
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 () {
|
|
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 () {
|
|
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 () {
|
|
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 () {
|
|
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 () {
|
|
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 () {
|
|
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 () {
|
|
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 () {
|
|
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 () {
|
|
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 () {
|
|
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 () {
|
|
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 () {
|
|
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 () {
|
|
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 () {
|
|
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 () {
|
|
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 () {
|
|
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 () {
|
|
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 () {
|
|
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 () {
|
|
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 () {
|
|
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 () {
|
|
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 () {
|
|
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 () {
|
|
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 () {
|
|
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 () {
|
|
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 () {
|
|
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 () {
|
|
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 () {
|
|
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 () {
|
|
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 () {
|
|
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 () {
|
|
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 () {
|
|
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 () {
|
|
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 () {
|
|
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 () {
|
|
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 () {
|
|
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 () {
|
|
284
284
|
return _Typedown.default;
|
|
285
285
|
}
|
|
286
286
|
});
|
|
287
|
+
Object.defineProperty(exports, "comparators", {
|
|
288
|
+
enumerable: true,
|
|
289
|
+
get: function () {
|
|
290
|
+
return _comparators.default;
|
|
291
|
+
}
|
|
292
|
+
});
|
|
287
293
|
exports.endpoints = exports.customPropertyConstants = void 0;
|
|
288
294
|
Object.defineProperty(exports, "useOperators", {
|
|
289
295
|
enumerable: true,
|
|
290
|
-
get: function
|
|
296
|
+
get: function () {
|
|
291
297
|
return _CustomProperties.useOperators;
|
|
292
298
|
}
|
|
293
299
|
});
|
|
294
300
|
Object.defineProperty(exports, "useParseActiveFilterStrings", {
|
|
295
301
|
enumerable: true,
|
|
296
|
-
get: function
|
|
302
|
+
get: function () {
|
|
297
303
|
return _CustomProperties.useParseActiveFilterStrings;
|
|
298
304
|
}
|
|
299
305
|
});
|
|
300
306
|
Object.defineProperty(exports, "useSelectedOption", {
|
|
301
307
|
enumerable: true,
|
|
302
|
-
get: function
|
|
308
|
+
get: function () {
|
|
303
309
|
return _RichSelect.useSelectedOption;
|
|
304
310
|
}
|
|
305
311
|
});
|
|
@@ -310,7 +316,7 @@ Object.keys(_hooks).forEach(function (key) {
|
|
|
310
316
|
if (key in exports && exports[key] === _hooks[key]) return;
|
|
311
317
|
Object.defineProperty(exports, key, {
|
|
312
318
|
enumerable: true,
|
|
313
|
-
get: function
|
|
319
|
+
get: function () {
|
|
314
320
|
return _hooks[key];
|
|
315
321
|
}
|
|
316
322
|
});
|
|
@@ -322,7 +328,7 @@ Object.keys(_settingsHooks).forEach(function (key) {
|
|
|
322
328
|
if (key in exports && exports[key] === _settingsHooks[key]) return;
|
|
323
329
|
Object.defineProperty(exports, key, {
|
|
324
330
|
enumerable: true,
|
|
325
|
-
get: function
|
|
331
|
+
get: function () {
|
|
326
332
|
return _settingsHooks[key];
|
|
327
333
|
}
|
|
328
334
|
});
|
|
@@ -334,7 +340,7 @@ Object.keys(_utils).forEach(function (key) {
|
|
|
334
340
|
if (key in exports && exports[key] === _utils[key]) return;
|
|
335
341
|
Object.defineProperty(exports, key, {
|
|
336
342
|
enumerable: true,
|
|
337
|
-
get: function
|
|
343
|
+
get: function () {
|
|
338
344
|
return _utils[key];
|
|
339
345
|
}
|
|
340
346
|
});
|
|
@@ -346,7 +352,7 @@ Object.keys(_validators).forEach(function (key) {
|
|
|
346
352
|
if (key in exports && exports[key] === _validators[key]) return;
|
|
347
353
|
Object.defineProperty(exports, key, {
|
|
348
354
|
enumerable: true,
|
|
349
|
-
get: function
|
|
355
|
+
get: function () {
|
|
350
356
|
return _validators[key];
|
|
351
357
|
}
|
|
352
358
|
});
|
|
@@ -370,6 +376,7 @@ var _customPropertyConstants = _interopRequireWildcard(require("./lib/constants/
|
|
|
370
376
|
exports.customPropertyConstants = _customPropertyConstants;
|
|
371
377
|
var _endpoints = _interopRequireWildcard(require("./lib/constants/endpoints"));
|
|
372
378
|
exports.endpoints = _endpoints;
|
|
379
|
+
var _comparators = _interopRequireDefault(require("./lib/constants/comparators"));
|
|
373
380
|
var _CycleButton = _interopRequireDefault(require("./lib/CycleButton"));
|
|
374
381
|
var _IconSelect = _interopRequireDefault(require("./lib/IconSelect"));
|
|
375
382
|
var _RichSelect = _interopRequireWildcard(require("./lib/RichSelect"));
|
|
@@ -377,6 +384,6 @@ var _FormattedKintMessage = _interopRequireDefault(require("./lib/FormattedKintM
|
|
|
377
384
|
var _ResponsiveButtonGroup = _interopRequireDefault(require("./lib/ResponsiveButtonGroup"));
|
|
378
385
|
var _SettingsFormContainer = _interopRequireDefault(require("./lib/SettingsFormContainer"));
|
|
379
386
|
var _ComboButton = _interopRequireDefault(require("./lib/ComboButton"));
|
|
380
|
-
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function
|
|
381
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null ||
|
|
387
|
+
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); }
|
|
388
|
+
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; }
|
|
382
389
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|