rc-cascader
Advanced tools
Comparing version 3.3.0 to 3.3.1
import * as React from 'react'; | ||
import type { Placement } from 'rc-select/lib/BaseSelect'; | ||
import type { BaseSelectRef, BaseSelectPropsWithoutPrivate } from 'rc-select'; | ||
import type { SHOW_CHILD } from './utils/commonUtil'; | ||
import { SHOW_PARENT } from './utils/commonUtil'; | ||
import { SHOW_PARENT, SHOW_CHILD } from './utils/commonUtil'; | ||
export interface ShowSearchType<OptionType extends BaseOptionType = DefaultOptionType> { | ||
@@ -83,3 +82,5 @@ filter?: (inputValue: string, options: OptionType[], fieldNames: FieldNames) => boolean; | ||
displayName?: string; | ||
SHOW_PARENT: typeof SHOW_PARENT; | ||
SHOW_CHILD: typeof SHOW_CHILD; | ||
}; | ||
export default Cascader; |
@@ -13,3 +13,3 @@ import _extends from "@babel/runtime/helpers/esm/extends"; | ||
import CascaderContext from './context'; | ||
import { fillFieldNames, toPathKey, toPathKeys, SHOW_PARENT } from './utils/commonUtil'; | ||
import { fillFieldNames, toPathKey, toPathKeys, SHOW_PARENT, SHOW_CHILD } from './utils/commonUtil'; | ||
import useDisplayValues from './hooks/useDisplayValues'; | ||
@@ -336,2 +336,4 @@ import useRefFunc from './hooks/useRefFunc'; | ||
Cascader.SHOW_PARENT = SHOW_PARENT; | ||
Cascader.SHOW_CHILD = SHOW_CHILD; | ||
export default Cascader; |
import * as React from 'react'; | ||
import type { Placement } from 'rc-select/lib/BaseSelect'; | ||
import type { BaseSelectRef, BaseSelectPropsWithoutPrivate } from 'rc-select'; | ||
import type { SHOW_CHILD } from './utils/commonUtil'; | ||
import { SHOW_PARENT } from './utils/commonUtil'; | ||
import { SHOW_PARENT, SHOW_CHILD } from './utils/commonUtil'; | ||
export interface ShowSearchType<OptionType extends BaseOptionType = DefaultOptionType> { | ||
@@ -83,3 +82,5 @@ filter?: (inputValue: string, options: OptionType[], fieldNames: FieldNames) => boolean; | ||
displayName?: string; | ||
SHOW_PARENT: typeof SHOW_PARENT; | ||
SHOW_CHILD: typeof SHOW_CHILD; | ||
}; | ||
export default Cascader; |
@@ -365,3 +365,5 @@ "use strict"; | ||
Cascader.SHOW_PARENT = _commonUtil.SHOW_PARENT; | ||
Cascader.SHOW_CHILD = _commonUtil.SHOW_CHILD; | ||
var _default = Cascader; | ||
exports.default = _default; |
{ | ||
"name": "rc-cascader", | ||
"version": "3.3.0", | ||
"version": "3.3.1", | ||
"description": "cascade select ui component for react", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
139584
2731