@salutejs/sdds-finportal 0.167.1-canary.1562.11858039838.0 → 0.168.0-canary.1556.11879682469.0
Sign up to get free protection for your applications and to get access to all the features.
- package/api/sdds-finportal.api.md +2751 -894
- package/components/Autocomplete/Autocomplete.d.ts +3 -5
- package/components/Combobox/Combobox.d.ts +501 -45
- package/components/DatePicker/DatePicker.d.ts +47 -1
- package/components/Dropdown/Dropdown.d.ts +3 -28
- package/components/Dropdown/Dropdown.js +1 -10
- package/components/Mask/Mask.d.ts +1246 -62
- package/components/Select/Select.d.ts +176 -4
- package/components/TextField/TextField.d.ts +717 -61
- package/es/components/Dropdown/Dropdown.js +2 -10
- package/package.json +3 -3
- package/temp/sdds-finportal.api.md +2751 -894
@@ -15,7 +15,53 @@ export declare const DatePicker: import("react").FunctionComponent<import("@salu
|
|
15
15
|
readOnly: {
|
16
16
|
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
17
17
|
};
|
18
|
-
}> &
|
18
|
+
}> & ((import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types").DatePickerVariationProps & {
|
19
|
+
defaultDate?: Date | undefined;
|
20
|
+
placeholder?: string | undefined;
|
21
|
+
name?: string | undefined;
|
22
|
+
valueError?: boolean | undefined;
|
23
|
+
valueSuccess?: boolean | undefined;
|
24
|
+
leftHelper?: string | undefined;
|
25
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
26
|
+
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
27
|
+
textBefore?: string | undefined;
|
28
|
+
textAfter?: string | undefined;
|
29
|
+
onCommitDate?: ((value: string | Date, error?: boolean | undefined, success?: boolean | undefined, dateInfo?: import("@salutejs/plasma-new-hope/types/components/Calendar/Calendar.types").DateInfo | undefined) => void) | undefined;
|
30
|
+
onChangeValue?: ((event: import("react").SyntheticEvent<HTMLInputElement, Event> | null, value?: string | undefined) => void) | undefined;
|
31
|
+
onChange?: ((event: {
|
32
|
+
target: {
|
33
|
+
value?: string | undefined;
|
34
|
+
name?: string | undefined;
|
35
|
+
};
|
36
|
+
}) => void) | undefined;
|
37
|
+
} & {
|
38
|
+
label?: string | undefined;
|
39
|
+
labelPlacement: "inner";
|
40
|
+
hasPlaceholder?: boolean | undefined;
|
41
|
+
} & import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types").DatePickerCalendarProps & import("@salutejs/plasma-new-hope/types/components/DatePicker/SingleDate/SingleDate.types").DatePickerPopoverProps & Omit<import("react").HTMLAttributes<HTMLDivElement>, "defaultValue"> & import("react").RefAttributes<HTMLInputElement>) | (import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types").DatePickerVariationProps & {
|
42
|
+
defaultDate?: Date | undefined;
|
43
|
+
placeholder?: string | undefined;
|
44
|
+
name?: string | undefined;
|
45
|
+
valueError?: boolean | undefined;
|
46
|
+
valueSuccess?: boolean | undefined;
|
47
|
+
leftHelper?: string | undefined;
|
48
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
49
|
+
contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
50
|
+
textBefore?: string | undefined;
|
51
|
+
textAfter?: string | undefined;
|
52
|
+
onCommitDate?: ((value: string | Date, error?: boolean | undefined, success?: boolean | undefined, dateInfo?: import("@salutejs/plasma-new-hope/types/components/Calendar/Calendar.types").DateInfo | undefined) => void) | undefined;
|
53
|
+
onChangeValue?: ((event: import("react").SyntheticEvent<HTMLInputElement, Event> | null, value?: string | undefined) => void) | undefined;
|
54
|
+
onChange?: ((event: {
|
55
|
+
target: {
|
56
|
+
value?: string | undefined;
|
57
|
+
name?: string | undefined;
|
58
|
+
};
|
59
|
+
}) => void) | undefined;
|
60
|
+
} & {
|
61
|
+
label?: string | undefined;
|
62
|
+
labelPlacement?: "outer" | undefined;
|
63
|
+
hasPlaceholder?: undefined;
|
64
|
+
} & import("@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types").DatePickerCalendarProps & import("@salutejs/plasma-new-hope/types/components/DatePicker/SingleDate/SingleDate.types").DatePickerPopoverProps & Omit<import("react").HTMLAttributes<HTMLDivElement>, "defaultValue"> & import("react").RefAttributes<HTMLInputElement>))>;
|
19
65
|
export declare const DatePickerRange: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
20
66
|
view: {
|
21
67
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
@@ -1,6 +1,5 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
declare const Dropdown: <T extends DropdownItemOption>(props: Omit<DropdownNewProps<T>, "view" | "size"> & Pick<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
1
|
+
/// <reference types="react" />
|
2
|
+
declare const Dropdown: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
4
3
|
size: {
|
5
4
|
l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
6
5
|
m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
@@ -10,29 +9,5 @@ declare const Dropdown: <T extends DropdownItemOption>(props: Omit<DropdownNewPr
|
|
10
9
|
view: {
|
11
10
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
12
11
|
};
|
13
|
-
}> &
|
14
|
-
items: DropdownItemOption[];
|
15
|
-
alwaysOpened?: boolean | undefined;
|
16
|
-
children?: React.ReactNode;
|
17
|
-
itemRole?: string | undefined;
|
18
|
-
onHover?: ((index: number) => void) | undefined;
|
19
|
-
onItemSelect?: ((item: DropdownItemOption, event: React.SyntheticEvent<Element, Event>) => void) | undefined;
|
20
|
-
trigger?: import("@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types").DropdownTrigger | undefined;
|
21
|
-
placement?: import("@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types").DropdownPlacement | undefined;
|
22
|
-
offset?: [number, number] | undefined;
|
23
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
24
|
-
hasArrow?: boolean | undefined;
|
25
|
-
closeOnSelect?: boolean | undefined;
|
26
|
-
closeOnOverlayClick?: boolean | undefined;
|
27
|
-
onToggle?: ((isOpen: boolean, event: Event | React.SyntheticEvent<Element, Event>) => void) | undefined;
|
28
|
-
size?: string | undefined;
|
29
|
-
view?: string | undefined;
|
30
|
-
variant?: "normal" | "tight" | undefined;
|
31
|
-
portal?: string | React.RefObject<HTMLElement> | undefined;
|
32
|
-
renderItem?: ((item: DropdownItemOption) => React.ReactNode) | undefined;
|
33
|
-
onItemClick?: ((item: DropdownItemOption, event: React.SyntheticEvent<Element, Event>) => void) | undefined;
|
34
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
35
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
36
|
-
hoverIndex?: number | undefined;
|
37
|
-
} & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>, "view" | "size"> & React.RefAttributes<HTMLButtonElement>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
|
12
|
+
}> & import("@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types").DropdownProps & import("react").RefAttributes<HTMLDivElement>>;
|
38
13
|
export { Dropdown };
|
@@ -5,15 +5,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
});
|
6
6
|
exports.Dropdown = void 0;
|
7
7
|
var _styledComponents = /*#__PURE__*/require("@salutejs/plasma-new-hope/styled-components");
|
8
|
-
var _react = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("react"));
|
9
8
|
var _Dropdown = /*#__PURE__*/require("./Dropdown.config");
|
10
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
11
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
12
9
|
var mergedConfig = /*#__PURE__*/(0, _styledComponents.mergeConfig)(_styledComponents.dropdownConfig, _Dropdown.config);
|
13
|
-
var
|
14
|
-
var DropdownComponent = function DropdownComponent(props, ref) {
|
15
|
-
return /*#__PURE__*/_react["default"].createElement(DropdownNewHope, _extends({
|
16
|
-
ref: ref
|
17
|
-
}, props));
|
18
|
-
};
|
19
|
-
var Dropdown = exports.Dropdown = /*#__PURE__*/(0, _styledComponents.fixedForwardRef)(DropdownComponent);
|
10
|
+
var Dropdown = exports.Dropdown = /*#__PURE__*/(0, _styledComponents.component)(mergedConfig);
|