@k-int/stripes-kint-components 3.0.3 → 3.1.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 +10 -7
- package/LICENSE +201 -0
- package/es/artifacts/coverage-jest/lcov-report/block-navigation.js +6 -19
- package/es/artifacts/coverage-jest/lcov-report/prettify.js +2 -182
- package/es/artifacts/coverage-jest/lcov-report/sorter.js +64 -94
- package/es/index.js +13 -27
- package/es/lib/ActionList/ActionList.js +20 -40
- package/es/lib/ActionList/ActionListFieldArray.js +67 -129
- package/es/lib/ActionList/index.js +0 -2
- package/es/lib/CustomProperties/Config/CustomPropertiesLookup.js +34 -61
- package/es/lib/CustomProperties/Config/CustomPropertiesLookup.test.js +2 -9
- package/es/lib/CustomProperties/Config/CustomPropertiesSettings.js +92 -138
- package/es/lib/CustomProperties/Config/CustomPropertiesSettings.test.js +3 -18
- package/es/lib/CustomProperties/Config/CustomPropertyForm.js +18 -51
- package/es/lib/CustomProperties/Config/CustomPropertyForm.test.js +13 -35
- package/es/lib/CustomProperties/Config/CustomPropertyView.js +5 -14
- package/es/lib/CustomProperties/Config/CustomPropertyView.test.js +1 -23
- package/es/lib/CustomProperties/Config/index.js +0 -5
- package/es/lib/CustomProperties/Edit/CustomPropertiesEdit.js +8 -14
- package/es/lib/CustomProperties/Edit/CustomPropertiesEdit.test.js +1 -9
- package/es/lib/CustomProperties/Edit/CustomPropertiesEditCtx.js +25 -35
- package/es/lib/CustomProperties/Edit/CustomPropertiesEditCtx.test.js +1 -9
- package/es/lib/CustomProperties/Edit/CustomPropertiesListField.js +32 -75
- package/es/lib/CustomProperties/Edit/CustomPropertiesListField.test.js +3 -20
- package/es/lib/CustomProperties/Edit/CustomPropertyField.js +34 -91
- package/es/lib/CustomProperties/Edit/CustomPropertyField.test.js +6 -33
- package/es/lib/CustomProperties/Edit/CustomPropertyFormCard.js +15 -27
- package/es/lib/CustomProperties/Edit/CustomPropertyFormCard.test.js +3 -13
- package/es/lib/CustomProperties/Edit/index.js +0 -6
- package/es/lib/CustomProperties/Edit/testResources.js +0 -3
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilter.js +35 -67
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilter.test.js +2 -19
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterField.js +13 -42
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterField.test.js +1 -12
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterFieldArray.js +6 -18
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterFieldArray.test.js +2 -19
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterForm.js +10 -23
- package/es/lib/CustomProperties/Filter/CustomPropertiesFilterForm.test.js +2 -19
- package/es/lib/CustomProperties/Filter/CustomPropertiesRule.js +13 -31
- package/es/lib/CustomProperties/Filter/CustomPropertiesRule.test.js +1 -32
- package/es/lib/CustomProperties/Filter/index.js +0 -7
- package/es/lib/CustomProperties/Filter/testResources.js +0 -3
- package/es/lib/CustomProperties/Filter/useOperators.js +5 -19
- package/es/lib/CustomProperties/Filter/useParseActiveFilterStrings.js +3 -15
- package/es/lib/CustomProperties/Filter/useValueProps.js +5 -22
- package/es/lib/CustomProperties/View/CustomPropertiesView.js +8 -14
- package/es/lib/CustomProperties/View/CustomPropertiesView.test.js +1 -10
- package/es/lib/CustomProperties/View/CustomPropertiesViewCtx.js +45 -62
- package/es/lib/CustomProperties/View/CustomPropertiesViewCtx.test.js +1 -13
- package/es/lib/CustomProperties/View/CustomPropertyCard.js +11 -33
- package/es/lib/CustomProperties/View/index.js +0 -4
- package/es/lib/CustomProperties/index.js +0 -4
- package/es/lib/CycleButton/CycleButton.js +8 -33
- package/es/lib/CycleButton/index.js +0 -2
- package/es/lib/EditableRefdataCategoryList/EditableRefdataCategoryList.js +87 -132
- package/es/lib/EditableRefdataCategoryList/index.js +0 -2
- package/es/lib/EditableRefdataList/EditableRefdataList.js +92 -140
- package/es/lib/EditableRefdataList/index.js +0 -2
- package/es/lib/EditableSettingsList/EditableSettingsList.js +7 -17
- package/es/lib/EditableSettingsList/EditableSettingsListFieldArray.js +6 -19
- package/es/lib/EditableSettingsList/EditableSettingsListFieldArray.test.js +4 -19
- package/es/lib/EditableSettingsList/SettingField/EditSettingValue.js +7 -29
- package/es/lib/EditableSettingsList/SettingField/EditSettingValue.test.js +19 -26
- package/es/lib/EditableSettingsList/SettingField/RenderSettingValue.js +6 -23
- package/es/lib/EditableSettingsList/SettingField/RenderSettingValue.test.js +14 -35
- package/es/lib/EditableSettingsList/SettingField/SettingField.js +18 -55
- package/es/lib/EditableSettingsList/SettingField/SettingField.test.js +1 -34
- package/es/lib/EditableSettingsList/SettingField/index.js +0 -4
- package/es/lib/EditableSettingsList/index.js +0 -4
- package/es/lib/FormModal/FormModal.js +16 -35
- package/es/lib/FormModal/index.js +0 -2
- package/es/lib/FormattedKintMessage/FormattedKintMessage.js +10 -31
- package/es/lib/FormattedKintMessage/index.js +0 -2
- package/es/lib/IconSelect/IconSelect.js +26 -63
- package/es/lib/IconSelect/index.js +0 -2
- package/es/lib/NoResultsMessage/NoResultsMessage.js +18 -28
- package/es/lib/NoResultsMessage/index.js +0 -2
- package/es/lib/QueryTypedown/QueryTypedown.js +9 -36
- package/es/lib/QueryTypedown/index.js +0 -2
- package/es/lib/RefdataButtons/RefdataButtons.js +5 -24
- package/es/lib/RefdataButtons/index.js +0 -2
- package/es/lib/ResponsiveButtonGroup/ResponsiveButtonGroup.js +148 -0
- package/es/lib/ResponsiveButtonGroup/index.js +13 -0
- package/es/lib/ResponsiveButtonGroup/useResponsiveButtonGroupSizing.js +74 -0
- package/es/lib/RichSelect/RichSelect.js +37 -65
- package/es/lib/RichSelect/index.js +0 -3
- package/es/lib/RichSelect/useSelectedOption.js +3 -14
- package/es/lib/SASQLookupComponent/SASQLookupComponent.js +75 -93
- package/es/lib/SASQLookupComponent/TableBody/TableBody.js +20 -33
- package/es/lib/SASQLookupComponent/TableBody/index.js +0 -2
- package/es/lib/SASQLookupComponent/index.js +0 -3
- package/es/lib/SASQRoute/SASQRoute.js +21 -29
- package/es/lib/SASQRoute/index.js +0 -2
- package/es/lib/SASQViewComponent/SASQViewComponent.js +37 -41
- package/es/lib/SASQViewComponent/index.js +0 -2
- package/es/lib/SearchField/SearchField.js +1 -17
- package/es/lib/SearchField/index.js +0 -2
- package/es/lib/SettingPage/SettingPage.js +10 -25
- package/es/lib/SettingPage/SettingPagePane.js +3 -11
- package/es/lib/SettingPage/index.js +0 -3
- package/es/lib/Typedown/Typedown.js +51 -82
- package/es/lib/Typedown/index.js +0 -2
- package/es/lib/contexts/SettingsContext.js +0 -2
- package/es/lib/contexts/index.js +0 -2
- package/es/lib/hooks/__mocks__/index.js +0 -5
- package/es/lib/hooks/index.js +7 -18
- package/es/lib/hooks/settingsHooks/index.js +0 -4
- package/es/lib/hooks/settingsHooks/useAppSettings.js +6 -27
- package/es/lib/hooks/settingsHooks/useSettingSection.js +10 -20
- package/es/lib/hooks/settingsHooks/useSettings.js +13 -44
- package/es/lib/hooks/typedownHooks/index.js +0 -4
- package/es/lib/hooks/typedownHooks/useTypedown.js +17 -37
- package/es/lib/hooks/typedownHooks/useTypedownData.js +12 -26
- package/es/lib/hooks/typedownHooks/useTypedownToggle.js +5 -19
- package/es/lib/hooks/useActiveElement.js +3 -15
- package/es/lib/hooks/useCustomProperties.js +11 -25
- package/es/lib/hooks/useHelperApp.js +7 -30
- package/es/lib/hooks/useIntlKey.js +0 -7
- package/es/lib/hooks/useIntlKeyStore.js +7 -29
- package/es/lib/hooks/useInvalidateRefdata.js +0 -4
- package/es/lib/hooks/useKintIntl.js +13 -32
- package/es/lib/hooks/useKiwtFieldArray.js +5 -29
- package/es/lib/hooks/useKiwtSASQuery.js +12 -37
- package/es/lib/hooks/useLocalStorageState.js +5 -21
- package/es/lib/hooks/useMutateCustomProperties.js +11 -28
- package/es/lib/hooks/useMutateRefdataCategory.js +9 -29
- package/es/lib/hooks/useMutateRefdataValue.js +10 -27
- package/es/lib/hooks/useQIndex.js +3 -27
- package/es/lib/hooks/useRefdata.js +7 -16
- package/es/lib/hooks/useSASQQueryMeta.js +41 -0
- package/es/lib/hooks/useTemplates.js +6 -17
- package/es/lib/utils/buildUrl.js +1 -10
- package/es/lib/utils/generateKiwtQuery.js +0 -4
- package/es/lib/utils/generateKiwtQueryParams.js +24 -62
- package/es/lib/utils/groupCustomPropertiesByCtx.js +0 -14
- package/es/lib/utils/highlightString.js +6 -23
- package/es/lib/utils/index.js +0 -15
- package/es/lib/utils/matchString.js +0 -6
- package/es/lib/utils/parseErrorResponse.js +1 -23
- package/es/lib/utils/refdataQueryKey.js +0 -4
- package/es/lib/utils/selectorSafe.js +0 -2
- package/es/lib/utils/sortByLabel.js +0 -6
- package/es/lib/utils/toCamelCase.js +6 -5
- package/es/lib/utils/typedownQueryKey.js +0 -4
- package/es/lib/utils/validators.js +5 -38
- package/junit.xml +150 -150
- package/package.json +2 -2
- 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/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/ActionList/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertiesLookup.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/CustomProperties/Config/CustomPropertiesSettings.js.html +4 -4
- 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 +5 -5
- 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 +29 -92
- 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 +19 -19
- 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 +17 -17
- 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 +15 -15
- 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 +3 -3
- package/src/artifacts/coverage-jest/lcov-report/FormattedKintMessage/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/FormattedKintMessage/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/IconSelect/IconSelect.js.html +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 +2 -2
- 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 +535 -0
- package/src/artifacts/coverage-jest/lcov-report/ResponsiveButtonGroup/index.html +146 -0
- package/src/artifacts/coverage-jest/lcov-report/ResponsiveButtonGroup/index.js.html +88 -0
- package/src/artifacts/coverage-jest/lcov-report/ResponsiveButtonGroup/useResponsiveButtonGroupSizing.js.html +253 -0
- package/src/artifacts/coverage-jest/lcov-report/RichSelect/RichSelect.js.html +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 +99 -12
- 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 +9 -9
- package/src/artifacts/coverage-jest/lcov-report/SASQLookupComponent/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SASQRoute/SASQRoute.js.html +53 -8
- package/src/artifacts/coverage-jest/lcov-report/SASQRoute/index.html +7 -7
- package/src/artifacts/coverage-jest/lcov-report/SASQRoute/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/SASQViewComponent.js.html +65 -11
- package/src/artifacts/coverage-jest/lcov-report/SASQViewComponent/index.html +9 -9
- 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/Typedown/Typedown.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/Typedown/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/Typedown/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/constants/customProperties.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/constants/eventCodes.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/constants/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/contexts/SettingsContext.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/contexts/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/contexts/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/index.html +24 -9
- package/src/artifacts/coverage-jest/lcov-report/hooks/index.js.html +5 -2
- package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/index.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useAppSettings.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useSettingSection.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/hooks/settingsHooks/useSettings.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 +3 -3
- 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/useMutateCustomProperties.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 +187 -0
- package/src/artifacts/coverage-jest/lcov-report/hooks/useTemplates.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/index.html +74 -59
- package/src/artifacts/coverage-jest/lcov-report/utils/buildUrl.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/utils/generateKiwtQuery.js.html +2 -2
- package/src/artifacts/coverage-jest/lcov-report/utils/generateKiwtQueryParams.js.html +2 -2
- package/src/artifacts/coverage-jest/lcov-report/utils/groupCustomPropertiesByCtx.js.html +2 -2
- package/src/artifacts/coverage-jest/lcov-report/utils/highlightString.js.html +3 -3
- package/src/artifacts/coverage-jest/lcov-report/utils/index.html +20 -20
- package/src/artifacts/coverage-jest/lcov-report/utils/index.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/utils/matchString.js.html +2 -2
- package/src/artifacts/coverage-jest/lcov-report/utils/parseErrorResponse.js.html +2 -2
- package/src/artifacts/coverage-jest/lcov-report/utils/refdataOptions.js.html +1 -1
- package/src/artifacts/coverage-jest/lcov-report/utils/refdataQueryKey.js.html +2 -2
- package/src/artifacts/coverage-jest/lcov-report/utils/selectorSafe.js.html +2 -2
- package/src/artifacts/coverage-jest/lcov-report/utils/sortByLabel.js.html +2 -2
- package/src/artifacts/coverage-jest/lcov-report/utils/toCamelCase.js.html +2 -2
- package/src/artifacts/coverage-jest/lcov-report/utils/typedownQueryKey.js.html +2 -2
- package/src/artifacts/coverage-jest/lcov-report/utils/validators.js.html +39 -39
- package/src/artifacts/coverage-jest/lcov.info +567 -359
- package/src/index.js +4 -1
- package/src/lib/CustomProperties/Edit/CustomPropertyField.js +0 -7
- package/src/lib/NoResultsMessage/NoResultsMessage.js +1 -1
- package/src/lib/ResponsiveButtonGroup/README.md +31 -0
- package/src/lib/ResponsiveButtonGroup/ResponsiveButtonGroup.js +150 -0
- package/src/lib/ResponsiveButtonGroup/index.js +1 -0
- package/src/lib/ResponsiveButtonGroup/useResponsiveButtonGroupSizing.js +56 -0
- package/src/lib/SASQLookupComponent/SASQLookupComponent.js +34 -5
- package/src/lib/SASQRoute/SASQRoute.js +18 -3
- package/src/lib/SASQViewComponent/SASQViewComponent.js +23 -5
- package/src/lib/hooks/index.js +1 -0
- package/src/lib/hooks/useIntlKeyStore.js +2 -2
- package/src/lib/hooks/useSASQQueryMeta.js +34 -0
- package/styles/ResponsiveButtonGroup.css +79 -0
- package/yarn-error.log +147 -0
|
@@ -4,11 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.filterHandlers = exports.data = exports.activeFilters = void 0;
|
|
7
|
-
|
|
8
7
|
var _jest = require("../../../../test/jest");
|
|
9
|
-
|
|
10
8
|
var _refdata$find, _refdata$find$values, _refdata$find$values$;
|
|
11
|
-
|
|
12
9
|
var activeFilters = {
|
|
13
10
|
'customProperties': ["customProperties.AuthorIdentification.value==".concat(_jest.refdata === null || _jest.refdata === void 0 ? void 0 : (_refdata$find = _jest.refdata.find(function (rdc) {
|
|
14
11
|
return rdc.desc === 'AuthIdent';
|
|
@@ -1,27 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
-
|
|
5
4
|
Object.defineProperty(exports, "__esModule", {
|
|
6
5
|
value: true
|
|
7
6
|
});
|
|
8
7
|
exports.default = void 0;
|
|
9
|
-
|
|
10
8
|
var CUSTPROP_TYPES = _interopRequireWildcard(require("../../constants/customProperties"));
|
|
11
|
-
|
|
12
9
|
var _hooks = require("../../hooks");
|
|
13
|
-
|
|
14
10
|
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); }
|
|
15
|
-
|
|
16
11
|
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; }
|
|
17
|
-
|
|
18
12
|
var REFDATA = CUSTPROP_TYPES.REFDATA_CLASS_NAME,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
13
|
+
MULTIREFDATA = CUSTPROP_TYPES.MULTI_REFDATA_CLASS_NAME,
|
|
14
|
+
DECIMAL = CUSTPROP_TYPES.DECIMAL_CLASS_NAME,
|
|
15
|
+
INTEGER = CUSTPROP_TYPES.INTEGER_CLASS_NAME,
|
|
16
|
+
DATE = CUSTPROP_TYPES.DATE_CLASS_NAME,
|
|
17
|
+
TEXT = CUSTPROP_TYPES.TEXT_CLASS_NAME;
|
|
25
18
|
var useOperators = function useOperators() {
|
|
26
19
|
var type = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
|
|
27
20
|
var passedIntlKey = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
|
|
@@ -43,7 +36,6 @@ var useOperators = function useOperators() {
|
|
|
43
36
|
}),
|
|
44
37
|
noValueAllowed: true
|
|
45
38
|
}];
|
|
46
|
-
|
|
47
39
|
if (!type || type === INTEGER || type === DECIMAL) {
|
|
48
40
|
operators.push({
|
|
49
41
|
value: '==',
|
|
@@ -71,7 +63,6 @@ var useOperators = function useOperators() {
|
|
|
71
63
|
})
|
|
72
64
|
});
|
|
73
65
|
}
|
|
74
|
-
|
|
75
66
|
if (type === DATE) {
|
|
76
67
|
// Basically the same as the "number" types above, so no need to reassign if there is no type
|
|
77
68
|
operators.push({
|
|
@@ -100,7 +91,6 @@ var useOperators = function useOperators() {
|
|
|
100
91
|
})
|
|
101
92
|
});
|
|
102
93
|
}
|
|
103
|
-
|
|
104
94
|
if (!type || type === REFDATA) {
|
|
105
95
|
operators.push({
|
|
106
96
|
value: '==',
|
|
@@ -116,7 +106,6 @@ var useOperators = function useOperators() {
|
|
|
116
106
|
})
|
|
117
107
|
});
|
|
118
108
|
}
|
|
119
|
-
|
|
120
109
|
if (type === MULTIREFDATA) {
|
|
121
110
|
operators.push({
|
|
122
111
|
value: '==',
|
|
@@ -126,7 +115,6 @@ var useOperators = function useOperators() {
|
|
|
126
115
|
})
|
|
127
116
|
});
|
|
128
117
|
}
|
|
129
|
-
|
|
130
118
|
if (!type || type === TEXT) {
|
|
131
119
|
operators.push({
|
|
132
120
|
value: '=~',
|
|
@@ -142,9 +130,7 @@ var useOperators = function useOperators() {
|
|
|
142
130
|
})
|
|
143
131
|
});
|
|
144
132
|
}
|
|
145
|
-
|
|
146
133
|
return operators;
|
|
147
134
|
};
|
|
148
|
-
|
|
149
135
|
var _default = useOperators;
|
|
150
136
|
exports.default = _default;
|
|
@@ -4,23 +4,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
|
|
8
7
|
var _useOperators = _interopRequireDefault(require("./useOperators"));
|
|
9
|
-
|
|
10
8
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
|
-
|
|
12
9
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
13
|
-
|
|
14
10
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
15
|
-
|
|
16
11
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
17
|
-
|
|
18
12
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
19
|
-
|
|
20
13
|
function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
21
|
-
|
|
22
14
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
23
|
-
|
|
24
15
|
var useParseActiveFilterStrings = function useParseActiveFilterStrings(filterStrings, passedIntlKey, passedIntlNS) {
|
|
25
16
|
var labelOverrides = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};
|
|
26
17
|
var operators = (0, _useOperators.default)(null, passedIntlKey, passedIntlNS, labelOverrides).map(function (o) {
|
|
@@ -31,15 +22,13 @@ var useParseActiveFilterStrings = function useParseActiveFilterStrings(filterStr
|
|
|
31
22
|
var customProperty;
|
|
32
23
|
var rules = filter.split('||').map(function (ruleString) {
|
|
33
24
|
var _operators$find;
|
|
34
|
-
|
|
35
25
|
// ruleString is constructed in this.handleSubmit passed to CustomPropertyFiltersForm
|
|
36
26
|
// and has shape "customProperties.foo.value!=42"
|
|
37
27
|
// OR customProperties.foo.value.id==1234, so make sure to disregard the .id
|
|
38
28
|
var _ruleString$split = ruleString.split('.value'),
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
29
|
+
_ruleString$split2 = _slicedToArray(_ruleString$split, 2),
|
|
30
|
+
customPropertyPath = _ruleString$split2[0],
|
|
31
|
+
rule = _ruleString$split2[1];
|
|
43
32
|
var idSafeRule = rule.replace('.id', '');
|
|
44
33
|
customProperty = customPropertyPath.replace('customProperties.', '');
|
|
45
34
|
var operator = (_operators$find = operators.find(function (o) {
|
|
@@ -62,6 +51,5 @@ var useParseActiveFilterStrings = function useParseActiveFilterStrings(filterStr
|
|
|
62
51
|
numberOfFilters: numberOfFilters
|
|
63
52
|
};
|
|
64
53
|
};
|
|
65
|
-
|
|
66
54
|
var _default = useParseActiveFilterStrings;
|
|
67
55
|
exports.default = _default;
|
|
@@ -1,47 +1,35 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
-
|
|
5
4
|
Object.defineProperty(exports, "__esModule", {
|
|
6
5
|
value: true
|
|
7
6
|
});
|
|
8
7
|
exports.default = void 0;
|
|
9
|
-
|
|
10
8
|
var _components = require("@folio/stripes/components");
|
|
11
|
-
|
|
12
9
|
var CUSTPROP_TYPES = _interopRequireWildcard(require("../../constants/customProperties"));
|
|
13
|
-
|
|
14
10
|
var _validators = require("../../utils/validators");
|
|
15
|
-
|
|
16
11
|
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); }
|
|
17
|
-
|
|
18
12
|
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; }
|
|
19
|
-
|
|
20
13
|
var REFDATA = CUSTPROP_TYPES.REFDATA_CLASS_NAME,
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
14
|
+
MULTIREFDATA = CUSTPROP_TYPES.MULTI_REFDATA_CLASS_NAME,
|
|
15
|
+
DECIMAL = CUSTPROP_TYPES.DECIMAL_CLASS_NAME,
|
|
16
|
+
INTEGER = CUSTPROP_TYPES.INTEGER_CLASS_NAME,
|
|
17
|
+
DATE = CUSTPROP_TYPES.DATE_CLASS_NAME,
|
|
18
|
+
TEXT = CUSTPROP_TYPES.TEXT_CLASS_NAME;
|
|
27
19
|
var useValueProps = function useValueProps(custPropDefinition, intlKey, intlNS) {
|
|
28
20
|
var labelOverrides = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};
|
|
29
21
|
var props = {
|
|
30
22
|
validate: _validators.required
|
|
31
23
|
};
|
|
32
|
-
|
|
33
24
|
switch (custPropDefinition.type) {
|
|
34
25
|
case INTEGER:
|
|
35
26
|
case DECIMAL:
|
|
36
27
|
props.component = _components.TextField;
|
|
37
28
|
props.type = 'number';
|
|
38
|
-
|
|
39
29
|
props.validate = function (value) {
|
|
40
30
|
return (0, _validators.invalidNumber)(value, intlKey, intlNS, labelOverrides);
|
|
41
31
|
};
|
|
42
|
-
|
|
43
32
|
break;
|
|
44
|
-
|
|
45
33
|
case REFDATA:
|
|
46
34
|
props.component = _components.Select;
|
|
47
35
|
props.dataOptions = custPropDefinition.category.values.map(function (rdv) {
|
|
@@ -52,7 +40,6 @@ var useValueProps = function useValueProps(custPropDefinition, intlKey, intlNS)
|
|
|
52
40
|
});
|
|
53
41
|
props.placeholder = ' ';
|
|
54
42
|
break;
|
|
55
|
-
|
|
56
43
|
case MULTIREFDATA:
|
|
57
44
|
props.component = _components.Select;
|
|
58
45
|
props.dataOptions = custPropDefinition.category.values.map(function (mrdv) {
|
|
@@ -63,22 +50,18 @@ var useValueProps = function useValueProps(custPropDefinition, intlKey, intlNS)
|
|
|
63
50
|
});
|
|
64
51
|
props.placeholder = ' ';
|
|
65
52
|
break;
|
|
66
|
-
|
|
67
53
|
case DATE:
|
|
68
54
|
props.component = _components.Datepicker;
|
|
69
55
|
props.backendDateStandard = 'YYYY-MM-DD';
|
|
70
56
|
props.timeZone = 'UTC';
|
|
71
57
|
props.usePortal = true;
|
|
72
58
|
break;
|
|
73
|
-
|
|
74
59
|
case TEXT:
|
|
75
60
|
default:
|
|
76
61
|
props.component = _components.TextField;
|
|
77
62
|
break;
|
|
78
63
|
}
|
|
79
|
-
|
|
80
64
|
return props;
|
|
81
65
|
};
|
|
82
|
-
|
|
83
66
|
var _default = useValueProps;
|
|
84
67
|
exports.default = _default;
|
|
@@ -4,25 +4,20 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
|
|
8
7
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
|
-
|
|
10
8
|
var _CustomPropertiesViewCtx = _interopRequireDefault(require("./CustomPropertiesViewCtx"));
|
|
11
|
-
|
|
12
9
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
13
|
-
|
|
14
10
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
|
-
|
|
16
11
|
var CustomPropertiesView = function CustomPropertiesView(_ref) {
|
|
17
12
|
var _ref$contexts = _ref.contexts,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
13
|
+
contexts = _ref$contexts === void 0 ? [] : _ref$contexts,
|
|
14
|
+
customProperties = _ref.customProperties,
|
|
15
|
+
customPropertiesEndpoint = _ref.customPropertiesEndpoint,
|
|
16
|
+
id = _ref.id,
|
|
17
|
+
passedIntlKey = _ref.intlKey,
|
|
18
|
+
passedIntlNS = _ref.intlNS,
|
|
19
|
+
_ref$labelOverrides = _ref.labelOverrides,
|
|
20
|
+
labelOverrides = _ref$labelOverrides === void 0 ? {} : _ref$labelOverrides;
|
|
26
21
|
return contexts.map(function (ctx) {
|
|
27
22
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_CustomPropertiesViewCtx.default, {
|
|
28
23
|
ctx: ctx,
|
|
@@ -35,7 +30,6 @@ var CustomPropertiesView = function CustomPropertiesView(_ref) {
|
|
|
35
30
|
}, "customPropertiesView-".concat(ctx));
|
|
36
31
|
});
|
|
37
32
|
};
|
|
38
|
-
|
|
39
33
|
CustomPropertiesView.propTypes = {
|
|
40
34
|
contexts: _propTypes.default.arrayOf(_propTypes.default.string),
|
|
41
35
|
customProperties: _propTypes.default.object,
|
|
@@ -1,23 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _react = _interopRequireDefault(require("react"));
|
|
4
|
-
|
|
5
4
|
require("@folio/stripes-erm-components/test/jest/__mock__");
|
|
6
|
-
|
|
7
5
|
var _react2 = require("@testing-library/react");
|
|
8
|
-
|
|
9
6
|
var _reactRouterDom = require("react-router-dom");
|
|
10
|
-
|
|
11
7
|
var _testResources = require("./testResources");
|
|
12
|
-
|
|
13
8
|
var _CustomPropertiesView = _interopRequireDefault(require("./CustomPropertiesView"));
|
|
14
|
-
|
|
15
9
|
var _jest = require("../../../../test/jest");
|
|
16
|
-
|
|
17
10
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
18
|
-
|
|
19
11
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
20
|
-
|
|
21
12
|
jest.mock('../../hooks');
|
|
22
13
|
jest.mock('./CustomPropertiesViewCtx', function () {
|
|
23
14
|
return function () {
|
|
@@ -41,7 +32,7 @@ describe('CustomPropertiesView', function () {
|
|
|
41
32
|
});
|
|
42
33
|
it('renders CustomPropertiesViewCtx component ', function () {
|
|
43
34
|
var _renderComponent = renderComponent,
|
|
44
|
-
|
|
35
|
+
getByText = _renderComponent.getByText;
|
|
45
36
|
(0, _react2.waitFor)(function () {
|
|
46
37
|
return expect(getByText('CustomPropertiesViewCtx')).toBeInTheDocument();
|
|
47
38
|
});
|
|
@@ -4,45 +4,32 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
|
|
8
7
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
|
-
|
|
10
8
|
var _components = require("@folio/stripes/components");
|
|
11
|
-
|
|
12
9
|
var _hooks = require("../../hooks");
|
|
13
|
-
|
|
14
10
|
var _CustomPropertyCard = _interopRequireDefault(require("./CustomPropertyCard"));
|
|
15
|
-
|
|
16
11
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
17
|
-
|
|
18
12
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
19
|
-
|
|
20
13
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
21
|
-
|
|
22
14
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
23
|
-
|
|
24
15
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
25
|
-
|
|
26
16
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
27
|
-
|
|
28
17
|
function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
29
|
-
|
|
30
18
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
31
|
-
|
|
32
19
|
var CustomPropertiesViewCtx = function CustomPropertiesViewCtx(_ref) {
|
|
33
20
|
var _custprops$filter$len, _custprops$filter;
|
|
34
|
-
|
|
35
21
|
var ctx = _ref.ctx,
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
var kintIntl = (0, _hooks.useKintIntl)(passedIntlKey, passedIntlNS);
|
|
45
|
-
|
|
22
|
+
_ref$customProperties = _ref.customProperties,
|
|
23
|
+
customProperties = _ref$customProperties === void 0 ? [] : _ref$customProperties,
|
|
24
|
+
customPropertiesEndpoint = _ref.customPropertiesEndpoint,
|
|
25
|
+
id = _ref.id,
|
|
26
|
+
passedIntlKey = _ref.intlKey,
|
|
27
|
+
passedIntlNS = _ref.intlNS,
|
|
28
|
+
_ref$labelOverrides = _ref.labelOverrides,
|
|
29
|
+
labelOverrides = _ref$labelOverrides === void 0 ? {} : _ref$labelOverrides;
|
|
30
|
+
var kintIntl = (0, _hooks.useKintIntl)(passedIntlKey, passedIntlNS);
|
|
31
|
+
|
|
32
|
+
// Deal with all the possible label override options
|
|
46
33
|
var getAccordionLabel = function getAccordionLabel() {
|
|
47
34
|
// Special case for null context
|
|
48
35
|
if (ctx === 'isNull') {
|
|
@@ -50,10 +37,10 @@ var CustomPropertiesViewCtx = function CustomPropertiesViewCtx(_ref) {
|
|
|
50
37
|
id: 'customProperties',
|
|
51
38
|
overrideValue: labelOverrides.noContext
|
|
52
39
|
});
|
|
53
|
-
}
|
|
54
|
-
// allow for "If override or translation exists, use it, else use default"
|
|
55
|
-
|
|
40
|
+
}
|
|
56
41
|
|
|
42
|
+
// Chain formatKintMessages together using provided fallbackMessage to
|
|
43
|
+
// allow for "If override or translation exists, use it, else use default"
|
|
57
44
|
return kintIntl.formatKintMessage({
|
|
58
45
|
id: "customProperties.ctx.".concat(ctx),
|
|
59
46
|
overrideValue: labelOverrides[ctx],
|
|
@@ -67,31 +54,32 @@ var CustomPropertiesViewCtx = function CustomPropertiesViewCtx(_ref) {
|
|
|
67
54
|
ctx: ctx
|
|
68
55
|
});
|
|
69
56
|
};
|
|
70
|
-
|
|
71
57
|
var _useCustomProperties = (0, _hooks.useCustomProperties)({
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
58
|
+
ctx: ctx,
|
|
59
|
+
endpoint: customPropertiesEndpoint,
|
|
60
|
+
returnQueryObject: true,
|
|
61
|
+
options: {
|
|
62
|
+
sort: [{
|
|
63
|
+
path: 'retired'
|
|
64
|
+
},
|
|
65
|
+
// Place retired custprops at the end
|
|
66
|
+
{
|
|
67
|
+
path: 'primary',
|
|
68
|
+
direction: 'desc'
|
|
69
|
+
},
|
|
70
|
+
// Primary properties should display before optional
|
|
71
|
+
{
|
|
72
|
+
path: 'weight'
|
|
73
|
+
},
|
|
74
|
+
// Within those groups, sort by weight
|
|
75
|
+
{
|
|
76
|
+
path: 'label'
|
|
77
|
+
} // For those with the same weight, sort by label
|
|
78
|
+
]
|
|
79
|
+
}
|
|
80
|
+
}),
|
|
81
|
+
custprops = _useCustomProperties.data,
|
|
82
|
+
isLoading = _useCustomProperties.isLoading;
|
|
95
83
|
if (isLoading) {
|
|
96
84
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.Accordion, {
|
|
97
85
|
closedByDefault: true,
|
|
@@ -102,24 +90,21 @@ var CustomPropertiesViewCtx = function CustomPropertiesViewCtx(_ref) {
|
|
|
102
90
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.Spinner, {})
|
|
103
91
|
});
|
|
104
92
|
}
|
|
105
|
-
|
|
106
93
|
var countSetProperties = function countSetProperties(primary) {
|
|
107
94
|
var _Object$entries$filte, _Object$entries, _Object$entries$filte2;
|
|
108
|
-
|
|
109
95
|
return (_Object$entries$filte = (_Object$entries = Object.entries(customProperties)) === null || _Object$entries === void 0 ? void 0 : (_Object$entries$filte2 = _Object$entries.filter(function (_ref2) {
|
|
110
96
|
var _cp$, _cp$$type, _cp$2, _cp$2$type, _cp$3, _cp$3$type;
|
|
111
|
-
|
|
112
97
|
var _ref3 = _slicedToArray(_ref2, 2),
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
98
|
+
_key = _ref3[0],
|
|
99
|
+
cp = _ref3[1];
|
|
100
|
+
return (((_cp$ = cp[0]) === null || _cp$ === void 0 ? void 0 : (_cp$$type = _cp$.type) === null || _cp$$type === void 0 ? void 0 : _cp$$type.ctx) === ctx || ctx === 'isNull' && !((_cp$2 = cp[0]) !== null && _cp$2 !== void 0 && (_cp$2$type = _cp$2.type) !== null && _cp$2$type !== void 0 && _cp$2$type.ctx)) &&
|
|
101
|
+
// Either the ctx string matches, or isNull matches blank
|
|
117
102
|
((_cp$3 = cp[0]) === null || _cp$3 === void 0 ? void 0 : (_cp$3$type = _cp$3.type) === null || _cp$3$type === void 0 ? void 0 : _cp$3$type.primary) === primary // Only count non-primary set custprops
|
|
118
103
|
;
|
|
119
104
|
})) === null || _Object$entries$filte2 === void 0 ? void 0 : _Object$entries$filte2.length) !== null && _Object$entries$filte !== void 0 ? _Object$entries$filte : 0;
|
|
120
|
-
};
|
|
121
|
-
|
|
105
|
+
};
|
|
122
106
|
|
|
107
|
+
// We need to display any set properties, along with any non-set primary properties
|
|
123
108
|
var primaryCount = (_custprops$filter$len = custprops === null || custprops === void 0 ? void 0 : (_custprops$filter = custprops.filter(function (cp) {
|
|
124
109
|
return cp.primary === true;
|
|
125
110
|
})) === null || _custprops$filter === void 0 ? void 0 : _custprops$filter.length) !== null && _custprops$filter$len !== void 0 ? _custprops$filter$len : 0;
|
|
@@ -137,7 +122,6 @@ var CustomPropertiesViewCtx = function CustomPropertiesViewCtx(_ref) {
|
|
|
137
122
|
label: getAccordionLabel(),
|
|
138
123
|
children: custprops.map(function (cp, index) {
|
|
139
124
|
var _customProperties$cp$;
|
|
140
|
-
|
|
141
125
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_CustomPropertyCard.default, {
|
|
142
126
|
ctx: ctx,
|
|
143
127
|
customProperty: customProperties === null || customProperties === void 0 ? void 0 : (_customProperties$cp$ = customProperties[cp.name]) === null || _customProperties$cp$ === void 0 ? void 0 : _customProperties$cp$[0],
|
|
@@ -148,7 +132,6 @@ var CustomPropertiesViewCtx = function CustomPropertiesViewCtx(_ref) {
|
|
|
148
132
|
})
|
|
149
133
|
});
|
|
150
134
|
};
|
|
151
|
-
|
|
152
135
|
CustomPropertiesViewCtx.propTypes = {
|
|
153
136
|
ctx: _propTypes.default.string,
|
|
154
137
|
customProperties: _propTypes.default.object,
|
|
@@ -1,29 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _react = _interopRequireDefault(require("react"));
|
|
4
|
-
|
|
5
4
|
require("@folio/stripes-erm-components/test/jest/__mock__");
|
|
6
|
-
|
|
7
5
|
var _reactRouterDom = require("react-router-dom");
|
|
8
|
-
|
|
9
6
|
var _react2 = require("@testing-library/react");
|
|
10
|
-
|
|
11
7
|
var _testResources = require("./testResources");
|
|
12
|
-
|
|
13
8
|
var _CustomPropertiesViewCtx = _interopRequireDefault(require("./CustomPropertiesViewCtx"));
|
|
14
|
-
|
|
15
9
|
var _jest = require("../../../../test/jest");
|
|
16
|
-
|
|
17
10
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
18
|
-
|
|
19
11
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
20
|
-
|
|
21
12
|
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; }
|
|
22
|
-
|
|
23
13
|
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; }
|
|
24
|
-
|
|
25
14
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
26
|
-
|
|
27
15
|
jest.mock('../../hooks');
|
|
28
16
|
jest.mock('./CustomPropertyCard', function () {
|
|
29
17
|
return function () {
|
|
@@ -41,7 +29,7 @@ describe('CustomPropertiesViewCtx', function () {
|
|
|
41
29
|
});
|
|
42
30
|
it('renders CustomPropertyCard component ', function () {
|
|
43
31
|
var _renderComponent = renderComponent,
|
|
44
|
-
|
|
32
|
+
getByText = _renderComponent.getByText;
|
|
45
33
|
(0, _react2.waitFor)(function () {
|
|
46
34
|
return expect(getByText('CustomPropertyCard')).toBeInTheDocument();
|
|
47
35
|
});
|
|
@@ -1,91 +1,70 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
-
|
|
5
4
|
Object.defineProperty(exports, "__esModule", {
|
|
6
5
|
value: true
|
|
7
6
|
});
|
|
8
7
|
exports.default = void 0;
|
|
9
|
-
|
|
10
8
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
11
|
-
|
|
12
9
|
var _reactIntl = require("react-intl");
|
|
13
|
-
|
|
14
10
|
var _components = require("@folio/stripes/components");
|
|
15
|
-
|
|
16
11
|
var CUSTPROP_TYPES = _interopRequireWildcard(require("../../constants/customProperties"));
|
|
17
|
-
|
|
18
12
|
var _hooks = require("../../hooks");
|
|
19
|
-
|
|
20
13
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
21
|
-
|
|
22
14
|
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); }
|
|
23
|
-
|
|
24
15
|
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; }
|
|
25
|
-
|
|
26
16
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
27
|
-
|
|
28
17
|
var CustomPropertyCard = function CustomPropertyCard(_ref) {
|
|
29
18
|
var ctx = _ref.ctx,
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
var kintIntl = (0, _hooks.useKintIntl)(passedIntlKey, passedIntlNS);
|
|
39
|
-
|
|
19
|
+
customProperty = _ref.customProperty,
|
|
20
|
+
_ref$customPropertyDe = _ref.customPropertyDefinition,
|
|
21
|
+
customPropertyDefinition = _ref$customPropertyDe === void 0 ? {} : _ref$customPropertyDe,
|
|
22
|
+
index = _ref.index,
|
|
23
|
+
passedIntlKey = _ref.intlKey,
|
|
24
|
+
passedIntlNS = _ref.intlNS,
|
|
25
|
+
_ref$labelOverrides = _ref.labelOverrides,
|
|
26
|
+
labelOverrides = _ref$labelOverrides === void 0 ? {} : _ref$labelOverrides;
|
|
27
|
+
var kintIntl = (0, _hooks.useKintIntl)(passedIntlKey, passedIntlNS);
|
|
28
|
+
|
|
29
|
+
// We only need to display primary and set properties
|
|
40
30
|
var toDisplay = !!(customPropertyDefinition.primary || customProperty);
|
|
41
|
-
|
|
42
31
|
if (!toDisplay) {
|
|
43
32
|
return null;
|
|
44
33
|
}
|
|
45
|
-
|
|
46
34
|
var internalFalse = (customProperty === null || customProperty === void 0 ? void 0 : customProperty.internal) === false || (customProperty === null || customProperty === void 0 ? void 0 : customProperty.internal) === undefined && customPropertyDefinition.defaultInternal === false;
|
|
47
|
-
|
|
48
35
|
var renderValue = function renderValue() {
|
|
49
36
|
var _customProperty$value, _customProperty$value2, _customProperty$value3, _customProperty$value4;
|
|
50
|
-
|
|
51
37
|
if (!customProperty) {
|
|
52
38
|
return kintIntl.formatKintMessage({
|
|
53
39
|
id: 'notSet',
|
|
54
40
|
overrideValue: labelOverrides.notSet
|
|
55
41
|
});
|
|
56
42
|
}
|
|
57
|
-
|
|
58
43
|
switch (customPropertyDefinition.type) {
|
|
59
44
|
case CUSTPROP_TYPES.MULTI_REFDATA_CLASS_NAME:
|
|
60
45
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.List, {
|
|
61
46
|
items: (_customProperty$value = customProperty.value) === null || _customProperty$value === void 0 ? void 0 : _customProperty$value.map(function (item) {
|
|
62
47
|
var _item$label;
|
|
63
|
-
|
|
64
48
|
return (_item$label = item === null || item === void 0 ? void 0 : item.label) !== null && _item$label !== void 0 ? _item$label : item === null || item === void 0 ? void 0 : item.value;
|
|
65
49
|
}),
|
|
66
50
|
listStyle: "bullets"
|
|
67
51
|
});
|
|
68
|
-
|
|
69
52
|
case CUSTPROP_TYPES.REFDATA_CLASS_NAME:
|
|
70
53
|
return (_customProperty$value2 = (_customProperty$value3 = customProperty.value) === null || _customProperty$value3 === void 0 ? void 0 : _customProperty$value3.label) !== null && _customProperty$value2 !== void 0 ? _customProperty$value2 : (_customProperty$value4 = customProperty.value) === null || _customProperty$value4 === void 0 ? void 0 : _customProperty$value4.value;
|
|
71
|
-
|
|
72
54
|
case CUSTPROP_TYPES.DECIMAL_CLASS_NAME:
|
|
73
55
|
case CUSTPROP_TYPES.INTEGER_CLASS_NAME:
|
|
74
56
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactIntl.FormattedNumber, {
|
|
75
57
|
value: customProperty.value
|
|
76
58
|
});
|
|
77
|
-
|
|
78
59
|
case CUSTPROP_TYPES.DATE_CLASS_NAME:
|
|
79
60
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.FormattedUTCDate, {
|
|
80
61
|
value: customProperty.value
|
|
81
62
|
});
|
|
82
|
-
|
|
83
63
|
case CUSTPROP_TYPES.TEXT_CLASS_NAME:
|
|
84
64
|
default:
|
|
85
65
|
return customProperty.value;
|
|
86
66
|
}
|
|
87
67
|
};
|
|
88
|
-
|
|
89
68
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_components.Card, {
|
|
90
69
|
headerStart: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
|
|
91
70
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("strong", {
|
|
@@ -156,7 +135,6 @@ var CustomPropertyCard = function CustomPropertyCard(_ref) {
|
|
|
156
135
|
})]
|
|
157
136
|
}, "customPropertyCard-".concat(ctx, "[").concat(index, "]"));
|
|
158
137
|
};
|
|
159
|
-
|
|
160
138
|
CustomPropertyCard.propTypes = {
|
|
161
139
|
ctx: _propTypes.default.string,
|
|
162
140
|
customProperty: _propTypes.default.object,
|
|
@@ -21,11 +21,7 @@ Object.defineProperty(exports, "CustomPropertyCard", {
|
|
|
21
21
|
return _CustomPropertyCard.default;
|
|
22
22
|
}
|
|
23
23
|
});
|
|
24
|
-
|
|
25
24
|
var _CustomPropertiesView = _interopRequireDefault(require("./CustomPropertiesView"));
|
|
26
|
-
|
|
27
25
|
var _CustomPropertiesViewCtx = _interopRequireDefault(require("./CustomPropertiesViewCtx"));
|
|
28
|
-
|
|
29
26
|
var _CustomPropertyCard = _interopRequireDefault(require("./CustomPropertyCard"));
|
|
30
|
-
|
|
31
27
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
@@ -111,11 +111,7 @@ Object.defineProperty(exports, "useParseActiveFilterStrings", {
|
|
|
111
111
|
return _Filter.useParseActiveFilterStrings;
|
|
112
112
|
}
|
|
113
113
|
});
|
|
114
|
-
|
|
115
114
|
var _Config = require("./Config");
|
|
116
|
-
|
|
117
115
|
var _Edit = require("./Edit");
|
|
118
|
-
|
|
119
116
|
var _View = require("./View");
|
|
120
|
-
|
|
121
117
|
var _Filter = require("./Filter");
|