@propellerads/button-drop-down 2.1.0 → 2.4.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 +13 -1
- package/dist/button-drop-down.cjs.development.js +18 -38
- package/dist/button-drop-down.cjs.development.js.map +1 -1
- package/dist/button-drop-down.cjs.production.min.js +1 -1
- package/dist/button-drop-down.cjs.production.min.js.map +1 -1
- package/dist/button-drop-down.esm.js +16 -38
- package/dist/button-drop-down.esm.js.map +1 -1
- package/dist/index.d.ts +19 -0
- package/dist/style.d.ts +4 -0
- package/package.json +7 -6
- package/dist/AdFormat/index.d.ts +0 -27
- package/dist/AdFormat/style.d.ts +0 -22
- package/dist/Alert/src/index.d.ts +0 -4
- package/dist/Alert/src/style.d.ts +0 -8
- package/dist/Alert/src/types.d.ts +0 -14
- package/dist/ArrowButton/index.d.ts +0 -20
- package/dist/ArrowButton/style.d.ts +0 -1
- package/dist/Badge/src/index.d.ts +0 -4
- package/dist/Badge/src/style.d.ts +0 -8
- package/dist/Badge/src/types.d.ts +0 -19
- package/dist/Button/src/index.d.ts +0 -4
- package/dist/Button/src/style.d.ts +0 -13
- package/dist/Button/src/types.d.ts +0 -48
- package/dist/ButtonDropDown/src/index.d.ts +0 -26
- package/dist/ButtonDropDown/src/style.d.ts +0 -3
- package/dist/Card/rollup.config.d.ts +0 -15
- package/dist/Card/src/index.d.ts +0 -36
- package/dist/Card/src/style.d.ts +0 -5
- package/dist/CheckboxCardGroup/rollup.config.d.ts +0 -15
- package/dist/CheckboxCardGroup/src/index.d.ts +0 -23
- package/dist/CheckboxCardGroup/src/styles.d.ts +0 -9
- package/dist/CodeViewer/index.d.ts +0 -25
- package/dist/CodeViewer/style.d.ts +0 -3
- package/dist/Collapser/rollup.config.d.ts +0 -15
- package/dist/Collapser/src/index.d.ts +0 -28
- package/dist/Collapser/src/style.d.ts +0 -4
- package/dist/ColorPicker/index.d.ts +0 -38
- package/dist/CookieMessage/src/index.d.ts +0 -3
- package/dist/CookieMessage/src/style.d.ts +0 -9
- package/dist/CookieMessage/src/types.d.ts +0 -13
- package/dist/Countdown/index.d.ts +0 -29
- package/dist/Currency/rollup.config.d.ts +0 -15
- package/dist/Currency/src/index.d.ts +0 -43
- package/dist/Currency/src/style.d.ts +0 -2
- package/dist/DatePicker/DatePickerControls/index.d.ts +0 -49
- package/dist/DatePicker/DatePickerControls/style.d.ts +0 -4
- package/dist/DatePicker/DatePickerInput/index.d.ts +0 -21
- package/dist/DatePicker/DatePickerInput/styles.d.ts +0 -1
- package/dist/DatePicker/DatePickerPresets/index.d.ts +0 -25
- package/dist/DatePicker/DatePickerPresets/style.d.ts +0 -2
- package/dist/DatePicker/defaultProps.d.ts +0 -9
- package/dist/DatePicker/helpers.d.ts +0 -15
- package/dist/DatePicker/index.d.ts +0 -88
- package/dist/DatePicker/style.d.ts +0 -14
- package/dist/EditableField/rollup.config.d.ts +0 -15
- package/dist/EditableField/src/index.d.ts +0 -56
- package/dist/EditableField/src/style.d.ts +0 -7
- package/dist/EmptyState/src/index.d.ts +0 -3
- package/dist/EmptyState/src/style.d.ts +0 -5
- package/dist/EmptyState/src/types.d.ts +0 -9
- package/dist/ErrorLabel/rollup.config.d.ts +0 -15
- package/dist/ErrorLabel/src/ErrorsList/ErrorItem/index.d.ts +0 -20
- package/dist/ErrorLabel/src/ErrorsList/ErrorItem/style.d.ts +0 -1
- package/dist/ErrorLabel/src/ErrorsList/index.d.ts +0 -30
- package/dist/ErrorLabel/src/ErrorsList/style.d.ts +0 -2
- package/dist/ErrorLabel/src/constants.d.ts +0 -9
- package/dist/ErrorLabel/src/index.d.ts +0 -27
- package/dist/ErrorLabel/src/style.d.ts +0 -2
- package/dist/FormattedNumber/index.d.ts +0 -16
- package/dist/Header/HeaderBalance/index.d.ts +0 -20
- package/dist/Header/HeaderBalance/style.d.ts +0 -6
- package/dist/Header/HeaderDivider/index.d.ts +0 -2
- package/dist/Header/HeaderDivider/style.d.ts +0 -1
- package/dist/Header/HeaderDropdown/index.d.ts +0 -16
- package/dist/Header/HeaderDropdown/style.d.ts +0 -1
- package/dist/Header/HeaderDropdownList/index.d.ts +0 -14
- package/dist/Header/HeaderDropdownList/style.d.ts +0 -1
- package/dist/Header/HeaderItem/index.d.ts +0 -38
- package/dist/Header/HeaderItem/style.d.ts +0 -4
- package/dist/Header/HeaderTime/index.d.ts +0 -14
- package/dist/Header/HeaderTime/style.d.ts +0 -1
- package/dist/Header/__test__/header.balance.test.d.ts +0 -1
- package/dist/Header/__test__/header.item.test.d.ts +0 -1
- package/dist/Header/__test__/header.test.d.ts +0 -1
- package/dist/Header/__test__/header.time.test.d.ts +0 -1
- package/dist/Header/index.d.ts +0 -102
- package/dist/Header/rollup.config.d.ts +0 -15
- package/dist/Header/style.d.ts +0 -3
- package/dist/Header/themes/contex.d.ts +0 -56
- package/dist/Header/themes/variables.d.ts +0 -56
- package/dist/Hint/rollup.config.d.ts +0 -15
- package/dist/Hint/src/index.d.ts +0 -20
- package/dist/Hint/src/style.d.ts +0 -4
- package/dist/Icon/src/createSvg.d.ts +0 -7
- package/dist/Icon/src/icons/Add.d.ts +0 -2
- package/dist/Icon/src/icons/AddCircle.d.ts +0 -2
- package/dist/Icon/src/icons/AddFiled.d.ts +0 -2
- package/dist/Icon/src/icons/AmericanExpress.d.ts +0 -2
- package/dist/Icon/src/icons/Archive.d.ts +0 -2
- package/dist/Icon/src/icons/ArrowDown.d.ts +0 -2
- package/dist/Icon/src/icons/ArrowDownFull.d.ts +0 -2
- package/dist/Icon/src/icons/ArrowLeft.d.ts +0 -2
- package/dist/Icon/src/icons/ArrowPageFirst.d.ts +0 -2
- package/dist/Icon/src/icons/ArrowPageLast.d.ts +0 -2
- package/dist/Icon/src/icons/ArrowRight.d.ts +0 -2
- package/dist/Icon/src/icons/ArrowRightFull.d.ts +0 -2
- package/dist/Icon/src/icons/ArrowUp.d.ts +0 -2
- package/dist/Icon/src/icons/ArrowUpFull.d.ts +0 -2
- package/dist/Icon/src/icons/Assistance.d.ts +0 -2
- package/dist/Icon/src/icons/Bank.d.ts +0 -2
- package/dist/Icon/src/icons/Bell.d.ts +0 -2
- package/dist/Icon/src/icons/Block.d.ts +0 -2
- package/dist/Icon/src/icons/BorderAll.d.ts +0 -2
- package/dist/Icon/src/icons/Build.d.ts +0 -2
- package/dist/Icon/src/icons/Burger.d.ts +0 -2
- package/dist/Icon/src/icons/Card.d.ts +0 -2
- package/dist/Icon/src/icons/Case.d.ts +0 -2
- package/dist/Icon/src/icons/Check.d.ts +0 -2
- package/dist/Icon/src/icons/CheckCircle.d.ts +0 -2
- package/dist/Icon/src/icons/Chrome.d.ts +0 -2
- package/dist/Icon/src/icons/ChromeColored.d.ts +0 -2
- package/dist/Icon/src/icons/Close.d.ts +0 -2
- package/dist/Icon/src/icons/Code.d.ts +0 -2
- package/dist/Icon/src/icons/Columns.d.ts +0 -2
- package/dist/Icon/src/icons/Comment.d.ts +0 -2
- package/dist/Icon/src/icons/Copy.d.ts +0 -2
- package/dist/Icon/src/icons/Crop.d.ts +0 -2
- package/dist/Icon/src/icons/Crown.d.ts +0 -2
- package/dist/Icon/src/icons/Cup.d.ts +0 -2
- package/dist/Icon/src/icons/Date.d.ts +0 -2
- package/dist/Icon/src/icons/Delete.d.ts +0 -2
- package/dist/Icon/src/icons/Desktop.d.ts +0 -2
- package/dist/Icon/src/icons/Download.d.ts +0 -2
- package/dist/Icon/src/icons/Ebanx.d.ts +0 -2
- package/dist/Icon/src/icons/Edit.d.ts +0 -2
- package/dist/Icon/src/icons/Epayments.d.ts +0 -2
- package/dist/Icon/src/icons/Error.d.ts +0 -2
- package/dist/Icon/src/icons/Eye.d.ts +0 -2
- package/dist/Icon/src/icons/Facebook.d.ts +0 -2
- package/dist/Icon/src/icons/File.d.ts +0 -2
- package/dist/Icon/src/icons/Filter.d.ts +0 -2
- package/dist/Icon/src/icons/FilterList.d.ts +0 -2
- package/dist/Icon/src/icons/Fire.d.ts +0 -2
- package/dist/Icon/src/icons/FlightUp.d.ts +0 -2
- package/dist/Icon/src/icons/Forth.d.ts +0 -2
- package/dist/Icon/src/icons/Funnel.d.ts +0 -2
- package/dist/Icon/src/icons/Gamepad.d.ts +0 -2
- package/dist/Icon/src/icons/Geo.d.ts +0 -2
- package/dist/Icon/src/icons/GiftBox.d.ts +0 -2
- package/dist/Icon/src/icons/HourGlass.d.ts +0 -2
- package/dist/Icon/src/icons/Infinity.d.ts +0 -2
- package/dist/Icon/src/icons/InfoOutline.d.ts +0 -2
- package/dist/Icon/src/icons/Insert.d.ts +0 -2
- package/dist/Icon/src/icons/Instagram.d.ts +0 -2
- package/dist/Icon/src/icons/Lamp.d.ts +0 -2
- package/dist/Icon/src/icons/Language.d.ts +0 -2
- package/dist/Icon/src/icons/LineChart.d.ts +0 -2
- package/dist/Icon/src/icons/Link.d.ts +0 -2
- package/dist/Icon/src/icons/Linkedin.d.ts +0 -2
- package/dist/Icon/src/icons/Lock.d.ts +0 -2
- package/dist/Icon/src/icons/LockOpen.d.ts +0 -2
- package/dist/Icon/src/icons/LogOut.d.ts +0 -2
- package/dist/Icon/src/icons/LpViews.d.ts +0 -2
- package/dist/Icon/src/icons/Mail.d.ts +0 -2
- package/dist/Icon/src/icons/Money.d.ts +0 -2
- package/dist/Icon/src/icons/MoreHorizontal.d.ts +0 -2
- package/dist/Icon/src/icons/MoreVertical.d.ts +0 -2
- package/dist/Icon/src/icons/NoMoney.d.ts +0 -2
- package/dist/Icon/src/icons/Offer.d.ts +0 -2
- package/dist/Icon/src/icons/OfferFilled.d.ts +0 -2
- package/dist/Icon/src/icons/OpenInNew.d.ts +0 -2
- package/dist/Icon/src/icons/Pause.d.ts +0 -2
- package/dist/Icon/src/icons/Paypal.d.ts +0 -2
- package/dist/Icon/src/icons/Pdf.d.ts +0 -2
- package/dist/Icon/src/icons/People.d.ts +0 -2
- package/dist/Icon/src/icons/Phone.d.ts +0 -2
- package/dist/Icon/src/icons/Pie.d.ts +0 -2
- package/dist/Icon/src/icons/PieOutline.d.ts +0 -2
- package/dist/Icon/src/icons/Play.d.ts +0 -2
- package/dist/Icon/src/icons/Pop.d.ts +0 -2
- package/dist/Icon/src/icons/Postback.d.ts +0 -2
- package/dist/Icon/src/icons/Present.d.ts +0 -2
- package/dist/Icon/src/icons/Propeller.d.ts +0 -2
- package/dist/Icon/src/icons/Push.d.ts +0 -2
- package/dist/Icon/src/icons/Qiwi.d.ts +0 -2
- package/dist/Icon/src/icons/Question.d.ts +0 -2
- package/dist/Icon/src/icons/Receipt.d.ts +0 -2
- package/dist/Icon/src/icons/Refresh.d.ts +0 -2
- package/dist/Icon/src/icons/Search.d.ts +0 -2
- package/dist/Icon/src/icons/Segment.d.ts +0 -2
- package/dist/Icon/src/icons/Sent.d.ts +0 -2
- package/dist/Icon/src/icons/Settings.d.ts +0 -2
- package/dist/Icon/src/icons/Shield.d.ts +0 -2
- package/dist/Icon/src/icons/Site.d.ts +0 -2
- package/dist/Icon/src/icons/Skril.d.ts +0 -2
- package/dist/Icon/src/icons/Skype.d.ts +0 -2
- package/dist/Icon/src/icons/Smile.d.ts +0 -2
- package/dist/Icon/src/icons/SnowFlake.d.ts +0 -2
- package/dist/Icon/src/icons/SpeedFast.d.ts +0 -2
- package/dist/Icon/src/icons/Star.d.ts +0 -2
- package/dist/Icon/src/icons/Stat.d.ts +0 -2
- package/dist/Icon/src/icons/Stop.d.ts +0 -2
- package/dist/Icon/src/icons/Support.d.ts +0 -2
- package/dist/Icon/src/icons/Tablet.d.ts +0 -2
- package/dist/Icon/src/icons/Target.d.ts +0 -2
- package/dist/Icon/src/icons/Telegram.d.ts +0 -2
- package/dist/Icon/src/icons/Tell.d.ts +0 -2
- package/dist/Icon/src/icons/ThumbUp.d.ts +0 -2
- package/dist/Icon/src/icons/Time.d.ts +0 -2
- package/dist/Icon/src/icons/Touch.d.ts +0 -2
- package/dist/Icon/src/icons/Twitter.d.ts +0 -2
- package/dist/Icon/src/icons/Upload.d.ts +0 -2
- package/dist/Icon/src/icons/User.d.ts +0 -2
- package/dist/Icon/src/icons/UserAdd.d.ts +0 -2
- package/dist/Icon/src/icons/Users.d.ts +0 -2
- package/dist/Icon/src/icons/Vk.d.ts +0 -2
- package/dist/Icon/src/icons/Wallet.d.ts +0 -2
- package/dist/Icon/src/icons/Warning.d.ts +0 -2
- package/dist/Icon/src/icons/Webmoney.d.ts +0 -2
- package/dist/Icon/src/icons/WordPress.d.ts +0 -2
- package/dist/Icon/src/icons/YandexMoney.d.ts +0 -2
- package/dist/Icon/src/index.d.ts +0 -128
- package/dist/Icon/src/style.d.ts +0 -8
- package/dist/Icon/src/types.d.ts +0 -264
- package/dist/ImageUploader/rollup.config.d.ts +0 -15
- package/dist/ImageUploader/src/index.d.ts +0 -30
- package/dist/ImageUploader/src/styles.d.ts +0 -8
- package/dist/InputCheckbox/src/index.d.ts +0 -3
- package/dist/InputCheckbox/src/style.d.ts +0 -13
- package/dist/InputCheckbox/src/types.d.ts +0 -13
- package/dist/InputNumber/src/allowJavaScriptModules.d.ts +0 -1
- package/dist/InputNumber/src/index.d.ts +0 -3
- package/dist/InputNumber/src/style.d.ts +0 -8
- package/dist/InputNumber/src/types.d.ts +0 -27
- package/dist/InputPassword/src/allowJavaScriptModules.d.ts +0 -1
- package/dist/InputPassword/src/index.d.ts +0 -3
- package/dist/InputPassword/src/style.d.ts +0 -9
- package/dist/InputPassword/src/types.d.ts +0 -22
- package/dist/InputText/rollup.config.d.ts +0 -15
- package/dist/InputText/src/index.d.ts +0 -68
- package/dist/InputText/src/style.d.ts +0 -4
- package/dist/KYCForm/src/KYCDocumentParts/index.d.ts +0 -6
- package/dist/KYCForm/src/KYCDocumentParts/style.d.ts +0 -10
- package/dist/KYCForm/src/KYCDocumentParts/types.d.ts +0 -30
- package/dist/KYCForm/src/KYCErrorLabel/index.d.ts +0 -3
- package/dist/KYCForm/src/KYCErrorLabel/style.d.ts +0 -4
- package/dist/KYCForm/src/KYCErrorLabel/types.d.ts +0 -7
- package/dist/KYCForm/src/KYCFormItem/index.d.ts +0 -3
- package/dist/KYCForm/src/KYCFormItem/style.d.ts +0 -4
- package/dist/KYCForm/src/KYCFormItem/types.d.ts +0 -13
- package/dist/KYCForm/src/KYCStatusScreen/index.d.ts +0 -9
- package/dist/KYCForm/src/KYCStatusScreen/style.d.ts +0 -6
- package/dist/KYCForm/src/KYCStatusScreen/types.d.ts +0 -21
- package/dist/KYCForm/src/allowJavaScriptModules.d.ts +0 -1
- package/dist/KYCForm/src/constants.d.ts +0 -15
- package/dist/KYCForm/src/document.types.d.ts +0 -29
- package/dist/KYCForm/src/index.d.ts +0 -10
- package/dist/KYCForm/src/labels.types.d.ts +0 -35
- package/dist/KYCForm/src/style.d.ts +0 -5
- package/dist/KYCForm/src/types.d.ts +0 -17
- package/dist/KYCForm/src/utils.d.ts +0 -9
- package/dist/Label/rollup.config.d.ts +0 -15
- package/dist/Label/src/index.d.ts +0 -16
- package/dist/Label/src/style.d.ts +0 -2
- package/dist/MoneyDashboard/index.d.ts +0 -22
- package/dist/MoneyDashboard/style.d.ts +0 -4
- package/dist/MultiSelect/rollup.config.d.ts +0 -15
- package/dist/MultiSelect/src/index.d.ts +0 -51
- package/dist/MultiSelect/src/style.d.ts +0 -18
- package/dist/PageHeader/rollup.config.d.ts +0 -15
- package/dist/PageHeader/src/index.d.ts +0 -16
- package/dist/PageHeader/src/style.d.ts +0 -3
- package/dist/Pagination/index.d.ts +0 -25
- package/dist/PasswordValidator/src/index.d.ts +0 -9
- package/dist/PasswordValidator/src/style.d.ts +0 -7
- package/dist/PasswordValidator/src/types.d.ts +0 -21
- package/dist/Popup/src/index.d.ts +0 -5
- package/dist/Popup/src/styles.d.ts +0 -19
- package/dist/Popup/src/types.d.ts +0 -21
- package/dist/RadioCardGroup/rollup.config.d.ts +0 -15
- package/dist/RadioCardGroup/src/index.d.ts +0 -33
- package/dist/RadioCardGroup/src/style.d.ts +0 -7
- package/dist/RadioCardGroup/src/themes/index.d.ts +0 -21
- package/dist/RadioGroup/src/RadioOption/index.d.ts +0 -39
- package/dist/RadioGroup/src/RadioOption/style.d.ts +0 -16
- package/dist/RadioGroup/src/allowJavaScriptModules.d.ts +0 -1
- package/dist/RadioGroup/src/index.d.ts +0 -4
- package/dist/RadioGroup/src/style.d.ts +0 -4
- package/dist/RadioGroup/src/types.d.ts +0 -28
- package/dist/Select/src/allowJavaScriptModules.d.ts +0 -1
- package/dist/Select/src/index.d.ts +0 -3
- package/dist/Select/src/style.d.ts +0 -19
- package/dist/SingleDatePicker/__test__/SingleDatePicker.test.d.ts +0 -1
- package/dist/SingleDatePicker/src/DatePickerControls/index.d.ts +0 -3
- package/dist/SingleDatePicker/src/DatePickerControls/style.d.ts +0 -3
- package/dist/SingleDatePicker/src/allowJavaScriptModules.d.ts +0 -1
- package/dist/SingleDatePicker/src/helpers.d.ts +0 -5
- package/dist/SingleDatePicker/src/index.d.ts +0 -4
- package/dist/SingleDatePicker/src/styles.d.ts +0 -4
- package/dist/SingleDatePicker/src/types.d.ts +0 -19
- package/dist/Slider/index.d.ts +0 -28
- package/dist/Slider/styles.d.ts +0 -37
- package/dist/SmartHint/rollup.config.d.ts +0 -15
- package/dist/SmartHint/src/index.d.ts +0 -32
- package/dist/SmartHint/src/style.d.ts +0 -12
- package/dist/SmartTooltip/rollup.config.d.ts +0 -15
- package/dist/SmartTooltip/src/index.d.ts +0 -4
- package/dist/SmartTooltip/src/style.d.ts +0 -8
- package/dist/Spinner/src/index.d.ts +0 -4
- package/dist/Spinner/src/style.d.ts +0 -12
- package/dist/Spinner/src/types.d.ts +0 -21
- package/dist/StyleVariables/index.d.ts +0 -30
- package/dist/StyleVariables/types.d.ts +0 -30
- package/dist/SuccessLabel/src/index.d.ts +0 -3
- package/dist/SuccessLabel/src/style.d.ts +0 -7
- package/dist/SuccessLabel/src/types.d.ts +0 -8
- package/dist/SuchModuleSoPackage/index.d.ts +0 -1
- package/dist/Switch/rollup.config.d.ts +0 -15
- package/dist/Switch/src/index.d.ts +0 -30
- package/dist/Switch/src/style.d.ts +0 -2
- package/dist/Table/__test__/table.test.d.ts +0 -1
- package/dist/Table/src/index.d.ts +0 -12
- package/dist/Table/src/style.d.ts +0 -3
- package/dist/Table/src/types.d.ts +0 -8
- package/dist/Table/src/useLoadingState.d.ts +0 -4
- package/dist/Tabs/index.d.ts +0 -33
- package/dist/Tabs/style.d.ts +0 -6
- package/dist/TagsInput/src/allowJavaScriptModules.d.ts +0 -0
- package/dist/TagsInput/src/index.d.ts +0 -5
- package/dist/TagsInput/src/style.d.ts +0 -44
- package/dist/TextMaxLength/rollup.config.d.ts +0 -15
- package/dist/TextMaxLength/src/index.d.ts +0 -13
- package/dist/TextMaxLength/src/style.d.ts +0 -2
- package/dist/Textarea/src/allowJavaScriptModules.d.ts +0 -1
- package/dist/Textarea/src/index.d.ts +0 -3
- package/dist/Textarea/src/style.d.ts +0 -8
- package/dist/Title/src/index.d.ts +0 -3
- package/dist/Title/src/style.d.ts +0 -5
- package/dist/Title/src/types.d.ts +0 -13
- package/dist/Tooltip/index.d.ts +0 -24
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
declare const StyledInputPasswordWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
-
declare const StyledInputPasswordBlock: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
-
declare const StyledInputPasswordHelper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
-
interface StyledInputPasswordInputProps {
|
|
5
|
-
hasError: boolean;
|
|
6
|
-
}
|
|
7
|
-
declare const StyledInputPasswordInput: import("styled-components").StyledComponent<"input", any, StyledInputPasswordInputProps, never>;
|
|
8
|
-
declare const StyledPasswordToggler: import("styled-components").StyledComponent<"button", any, {}, never>;
|
|
9
|
-
export { StyledInputPasswordWrapper, StyledInputPasswordBlock, StyledInputPasswordHelper, StyledInputPasswordInput, StyledPasswordToggler, };
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface InputPasswordProps {
|
|
3
|
-
autoComplete?: string;
|
|
4
|
-
elementId: string;
|
|
5
|
-
name: string;
|
|
6
|
-
errors: string[];
|
|
7
|
-
value?: string;
|
|
8
|
-
onChange: (value: string) => void;
|
|
9
|
-
onKeyPress?: (value: React.KeyboardEvent<HTMLInputElement>) => void;
|
|
10
|
-
onKeyUp?: (value: React.KeyboardEvent<HTMLInputElement>) => void;
|
|
11
|
-
label?: string | React.ReactNode;
|
|
12
|
-
placeholder?: string;
|
|
13
|
-
isDisabled?: boolean;
|
|
14
|
-
isRequired?: boolean;
|
|
15
|
-
showErrorLabel?: boolean;
|
|
16
|
-
inputRef?: React.Ref<HTMLInputElement> | null;
|
|
17
|
-
tabIndex?: number;
|
|
18
|
-
maxLength?: number;
|
|
19
|
-
pattern?: string;
|
|
20
|
-
}
|
|
21
|
-
export default class InputPassword extends React.Component<InputPasswordProps> {
|
|
22
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export default config;
|
|
2
|
-
declare namespace config {
|
|
3
|
-
export const input: string;
|
|
4
|
-
export const external: string[];
|
|
5
|
-
export const output: ({
|
|
6
|
-
file: string;
|
|
7
|
-
format: string;
|
|
8
|
-
plugins?: undefined;
|
|
9
|
-
} | {
|
|
10
|
-
file: string;
|
|
11
|
-
format: string;
|
|
12
|
-
plugins: import("../Card/node_modules/rollup/dist/rollup").Plugin[];
|
|
13
|
-
})[];
|
|
14
|
-
export const plugins: any[];
|
|
15
|
-
}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
export default InputText;
|
|
2
|
-
declare function InputText(props: any): JSX.Element;
|
|
3
|
-
declare namespace InputText {
|
|
4
|
-
export namespace propTypes {
|
|
5
|
-
export const onChange: PropTypes.Validator<(...args: any[]) => any>;
|
|
6
|
-
export const onBlur: PropTypes.Requireable<(...args: any[]) => any>;
|
|
7
|
-
export const onKeyPress: PropTypes.Requireable<(...args: any[]) => any>;
|
|
8
|
-
export const onKeyUp: PropTypes.Requireable<(...args: any[]) => any>;
|
|
9
|
-
export const onFocus: PropTypes.Requireable<(...args: any[]) => any>;
|
|
10
|
-
export const pattern: PropTypes.Requireable<string>;
|
|
11
|
-
export const elementId: PropTypes.Validator<string>;
|
|
12
|
-
export const errors: PropTypes.Requireable<any[]>;
|
|
13
|
-
export const maxLength: PropTypes.Requireable<number>;
|
|
14
|
-
export const label: PropTypes.Requireable<string | PropTypes.ReactElementLike>;
|
|
15
|
-
export const name: PropTypes.Validator<string>;
|
|
16
|
-
export const placeholder: PropTypes.Requireable<string>;
|
|
17
|
-
export const isDisabled: PropTypes.Requireable<boolean>;
|
|
18
|
-
export const isRequired: PropTypes.Requireable<boolean>;
|
|
19
|
-
export const showErrorLabel: PropTypes.Requireable<boolean>;
|
|
20
|
-
export const autoFocus: PropTypes.Requireable<boolean>;
|
|
21
|
-
export const value: PropTypes.Requireable<string>;
|
|
22
|
-
export const inputRef: PropTypes.Requireable<((...args: any[]) => any) | PropTypes.InferProps<{
|
|
23
|
-
current: PropTypes.Requireable<Element>;
|
|
24
|
-
}>>;
|
|
25
|
-
export const onErrorClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
26
|
-
export const onMouseEnter: PropTypes.Requireable<(...args: any[]) => any>;
|
|
27
|
-
export const onMouseLeave: PropTypes.Requireable<(...args: any[]) => any>;
|
|
28
|
-
}
|
|
29
|
-
export namespace defaultProps {
|
|
30
|
-
const errors_1: never[];
|
|
31
|
-
export { errors_1 as errors };
|
|
32
|
-
const onBlur_1: undefined;
|
|
33
|
-
export { onBlur_1 as onBlur };
|
|
34
|
-
const onKeyPress_1: undefined;
|
|
35
|
-
export { onKeyPress_1 as onKeyPress };
|
|
36
|
-
const onKeyUp_1: undefined;
|
|
37
|
-
export { onKeyUp_1 as onKeyUp };
|
|
38
|
-
const onFocus_1: undefined;
|
|
39
|
-
export { onFocus_1 as onFocus };
|
|
40
|
-
const pattern_1: string;
|
|
41
|
-
export { pattern_1 as pattern };
|
|
42
|
-
const label_1: string;
|
|
43
|
-
export { label_1 as label };
|
|
44
|
-
const placeholder_1: string;
|
|
45
|
-
export { placeholder_1 as placeholder };
|
|
46
|
-
const maxLength_1: number;
|
|
47
|
-
export { maxLength_1 as maxLength };
|
|
48
|
-
const isDisabled_1: boolean;
|
|
49
|
-
export { isDisabled_1 as isDisabled };
|
|
50
|
-
const isRequired_1: boolean;
|
|
51
|
-
export { isRequired_1 as isRequired };
|
|
52
|
-
const showErrorLabel_1: boolean;
|
|
53
|
-
export { showErrorLabel_1 as showErrorLabel };
|
|
54
|
-
const autoFocus_1: boolean;
|
|
55
|
-
export { autoFocus_1 as autoFocus };
|
|
56
|
-
const value_1: string;
|
|
57
|
-
export { value_1 as value };
|
|
58
|
-
const inputRef_1: null;
|
|
59
|
-
export { inputRef_1 as inputRef };
|
|
60
|
-
const onErrorClick_1: undefined;
|
|
61
|
-
export { onErrorClick_1 as onErrorClick };
|
|
62
|
-
const onMouseEnter_1: undefined;
|
|
63
|
-
export { onMouseEnter_1 as onMouseEnter };
|
|
64
|
-
const onMouseLeave_1: undefined;
|
|
65
|
-
export { onMouseLeave_1 as onMouseLeave };
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
import PropTypes from "prop-types";
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { KYCFormItemFileExtraPartProps, KYCFormItemFileProps } from './types';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
KYCFormItemFileExtraPart: (props: KYCFormItemFileExtraPartProps) => JSX.Element;
|
|
4
|
-
KYCFormItemFile: (props: KYCFormItemFileProps) => JSX.Element;
|
|
5
|
-
};
|
|
6
|
-
export default _default;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
declare const StyledKYCFormItemFile: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
-
declare const StyledKYCFormItemFileTitle: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
-
declare const StyledKYCFormItemFilePreview: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
-
declare const StyledKYCFormItemFilePreviewName: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
5
|
-
declare const StyledKYCFormItemFilePreviewRemove: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
6
|
-
declare const StyledKYCFormItemFileUploaderContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
7
|
-
declare const StyledKYCFormItemFileExtraPart: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
8
|
-
declare const StyledKYCDocumentPartImgMiniature: import("styled-components").StyledComponent<"img", any, {}, never>;
|
|
9
|
-
declare const StyledKYCDocumentPartIconMiniature: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
10
|
-
export { StyledKYCFormItemFile, StyledKYCFormItemFilePreview, StyledKYCFormItemFilePreviewName, StyledKYCFormItemFilePreviewRemove, StyledKYCFormItemFileTitle, StyledKYCFormItemFileUploaderContainer, StyledKYCFormItemFileExtraPart, StyledKYCDocumentPartImgMiniature, StyledKYCDocumentPartIconMiniature, };
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { KYCFileData, KYCFile } from '../document.types';
|
|
3
|
-
import { UploaderLabels } from '../labels.types';
|
|
4
|
-
export interface KYCDocumentPartMiniatureProps {
|
|
5
|
-
data?: KYCFileData;
|
|
6
|
-
}
|
|
7
|
-
export interface KYCFormItemFileExtraPartProps {
|
|
8
|
-
elementId: string;
|
|
9
|
-
title?: string;
|
|
10
|
-
uploaderLabels: UploaderLabels;
|
|
11
|
-
onFileAdd: (file: File) => void;
|
|
12
|
-
}
|
|
13
|
-
export interface KYCFormItemFileProps extends KYCFile {
|
|
14
|
-
title?: string;
|
|
15
|
-
name?: string;
|
|
16
|
-
elementId: string;
|
|
17
|
-
uploaderLabels: UploaderLabels;
|
|
18
|
-
error?: string;
|
|
19
|
-
onFileChange: (file: File) => void;
|
|
20
|
-
onFileRemove: () => void;
|
|
21
|
-
}
|
|
22
|
-
declare class KYCFormItemFileExtraPart extends React.Component<KYCFormItemFileExtraPartProps> {
|
|
23
|
-
}
|
|
24
|
-
declare class KYCFormItemFile extends React.Component<KYCFormItemFileProps> {
|
|
25
|
-
}
|
|
26
|
-
declare const _default: {
|
|
27
|
-
KYCFormItemFileExtraPart: typeof KYCFormItemFileExtraPart;
|
|
28
|
-
KYCFormItemFile: typeof KYCFormItemFile;
|
|
29
|
-
};
|
|
30
|
-
export default _default;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
declare const StyledKYCErrorLabel: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
-
declare const StyledKYCErrorLabelIcon: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
3
|
-
declare const StyledKYCErrorLabelText: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
4
|
-
export { StyledKYCErrorLabel, StyledKYCErrorLabelIcon, StyledKYCErrorLabelText, };
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
declare const StyledKYCFormItem: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
-
declare const StyledKYCFormItemTitle: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
-
declare const StyledKYCFormItemDescription: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
-
export { StyledKYCFormItem, StyledKYCFormItemTitle, StyledKYCFormItemDescription, };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { KYCDocument } from '../document.types';
|
|
3
|
-
import { UploaderLabels, DocumentLabels } from '../labels.types';
|
|
4
|
-
export interface KYCFormItemProps extends KYCDocument {
|
|
5
|
-
uploaderLabels: UploaderLabels;
|
|
6
|
-
documentLabels?: DocumentLabels;
|
|
7
|
-
elementId: string;
|
|
8
|
-
index: number;
|
|
9
|
-
errors?: Record<string, string>;
|
|
10
|
-
onDocumentChange: (document: KYCDocument) => void;
|
|
11
|
-
}
|
|
12
|
-
export default class KYCFormItem extends React.Component<KYCFormItemProps> {
|
|
13
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { KYCSucessScreenProps, KYCFailScreenProps } from './types';
|
|
2
|
-
import { MAX_FILE_SIZE, MAX_EXTRA_PARTS_COUNT, ACCEPT_FORMATS, PDF_MIME_TYPE, AVAILABLE_EXTRA_PARTS_DOCUMENTS } from '../constants';
|
|
3
|
-
import { DOCUMENT_TYPES, PART_TYPES } from '../document.types';
|
|
4
|
-
declare const _default: {
|
|
5
|
-
KYCSucessScreen: (props: KYCSucessScreenProps) => JSX.Element;
|
|
6
|
-
KYCFailScreen: (props: KYCFailScreenProps) => JSX.Element;
|
|
7
|
-
};
|
|
8
|
-
export default _default;
|
|
9
|
-
export { MAX_FILE_SIZE, MAX_EXTRA_PARTS_COUNT, ACCEPT_FORMATS, DOCUMENT_TYPES, PART_TYPES, PDF_MIME_TYPE, AVAILABLE_EXTRA_PARTS_DOCUMENTS, };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
declare const StyledKYCSucessScreen: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
-
declare const StyledKYCSucessScreenItem: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
3
|
-
declare const StyledKYCSucessScreenSuppport: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
4
|
-
declare const StyledKYCFailScreen: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
|
-
declare const StyledKYCFailScreenItem: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
6
|
-
export { StyledKYCSucessScreen, StyledKYCSucessScreenItem, StyledKYCSucessScreenSuppport, StyledKYCFailScreen, StyledKYCFailScreenItem, };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface KYCSucessScreenProps {
|
|
3
|
-
elementId: string;
|
|
4
|
-
title: string;
|
|
5
|
-
description?: React.ReactChildren | string | React.ComponentElement<any, any>;
|
|
6
|
-
support?: React.ReactChildren | string | React.ComponentElement<any, any>;
|
|
7
|
-
}
|
|
8
|
-
export interface KYCFailScreenProps {
|
|
9
|
-
elementId: string;
|
|
10
|
-
title: string;
|
|
11
|
-
support?: React.ReactChildren | string | React.ComponentElement<any, any>;
|
|
12
|
-
}
|
|
13
|
-
declare class KYCSucessScreen extends React.Component<KYCSucessScreenProps> {
|
|
14
|
-
}
|
|
15
|
-
declare class KYCFailScreen extends React.Component<KYCFailScreenProps> {
|
|
16
|
-
}
|
|
17
|
-
declare const _default: {
|
|
18
|
-
KYCSucessScreen: typeof KYCSucessScreen;
|
|
19
|
-
KYCFailScreen: typeof KYCFailScreen;
|
|
20
|
-
};
|
|
21
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
declare module '*';
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { DOCUMENT_TYPES, PART_TYPES } from './document.types';
|
|
2
|
-
export declare const MAX_FILE_SIZE = 5242880;
|
|
3
|
-
export declare const MAX_EXTRA_PARTS_COUNT = 15;
|
|
4
|
-
export declare const PDF_MIME_TYPE = "application/pdf";
|
|
5
|
-
export declare const HEIC_MIME_TYPE = "image/heic";
|
|
6
|
-
export declare const ACCEPT_FORMATS: string;
|
|
7
|
-
export declare const AVAILABLE_EXTRA_PARTS_DOCUMENTS: DOCUMENT_TYPES[];
|
|
8
|
-
export declare const OPTIONAL_DOCUMENT_PARTS: {
|
|
9
|
-
id: {
|
|
10
|
-
parts: PART_TYPES[];
|
|
11
|
-
};
|
|
12
|
-
id_extra: {
|
|
13
|
-
parts: PART_TYPES[];
|
|
14
|
-
};
|
|
15
|
-
};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
export declare enum DOCUMENT_TYPES {
|
|
2
|
-
ID = "id",
|
|
3
|
-
UB = "ub",
|
|
4
|
-
ID_EXTRA = "id_extra",
|
|
5
|
-
CARD = "bank_card",
|
|
6
|
-
PAYMENT_SYSTEM_SCREEN = "payment_system_screen",
|
|
7
|
-
ONLINE_BANKING_STATEMENT = "online_banking_statement",
|
|
8
|
-
COMPANY_REGISTRATION_DOCUMENT = "company_registration_document",
|
|
9
|
-
SELFIE_WITH_ID_CARD = "selfie_with_id_card_or_bank_card"
|
|
10
|
-
}
|
|
11
|
-
export declare enum PART_TYPES {
|
|
12
|
-
ID_FRONT = "id_front",
|
|
13
|
-
ID_BACK = "id_back",
|
|
14
|
-
UB = "ub_item",
|
|
15
|
-
CARD = "card_item",
|
|
16
|
-
PAYMENT_SYSTEM_SCREEN = "screen_item",
|
|
17
|
-
ONLINE_BANKING_STATEMENT = "obs_item",
|
|
18
|
-
COMPANY_REGISTRATION_DOCUMENT = "crd_item",
|
|
19
|
-
SELFIE_WITH_ID_CARD = "selfie_item"
|
|
20
|
-
}
|
|
21
|
-
export declare type KYCFileData = string | undefined;
|
|
22
|
-
export declare type KYCFile = {
|
|
23
|
-
type: PART_TYPES;
|
|
24
|
-
data?: KYCFileData;
|
|
25
|
-
};
|
|
26
|
-
export declare type KYCDocument = {
|
|
27
|
-
type: DOCUMENT_TYPES;
|
|
28
|
-
parts: KYCFile[];
|
|
29
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { MAX_FILE_SIZE, MAX_EXTRA_PARTS_COUNT, ACCEPT_FORMATS, PDF_MIME_TYPE, OPTIONAL_DOCUMENT_PARTS, AVAILABLE_EXTRA_PARTS_DOCUMENTS } from './constants';
|
|
2
|
-
import { DOCUMENT_TYPES, PART_TYPES } from './document.types';
|
|
3
|
-
import { KYCFormProps } from './types';
|
|
4
|
-
declare const KYCForm: {
|
|
5
|
-
(props: KYCFormProps): JSX.Element;
|
|
6
|
-
SucessScreen: (props: import("./KYCStatusScreen/types").KYCSucessScreenProps) => JSX.Element;
|
|
7
|
-
FailScreen: (props: import("./KYCStatusScreen/types").KYCFailScreenProps) => JSX.Element;
|
|
8
|
-
};
|
|
9
|
-
export default KYCForm;
|
|
10
|
-
export { MAX_FILE_SIZE, MAX_EXTRA_PARTS_COUNT, ACCEPT_FORMATS, DOCUMENT_TYPES, PART_TYPES, PDF_MIME_TYPE, OPTIONAL_DOCUMENT_PARTS, AVAILABLE_EXTRA_PARTS_DOCUMENTS, };
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { DOCUMENT_TYPES, PART_TYPES } from './document.types';
|
|
2
|
-
export declare type UploaderLabels = {
|
|
3
|
-
title?: string;
|
|
4
|
-
description?: string;
|
|
5
|
-
action?: string;
|
|
6
|
-
oversizeError: string;
|
|
7
|
-
};
|
|
8
|
-
export declare type PartLabels = {
|
|
9
|
-
title?: string;
|
|
10
|
-
};
|
|
11
|
-
export declare type PartsLabels = {
|
|
12
|
-
[PART_TYPES.ID_FRONT]?: PartLabels;
|
|
13
|
-
[PART_TYPES.ID_BACK]?: PartLabels;
|
|
14
|
-
[PART_TYPES.UB]?: PartLabels;
|
|
15
|
-
[PART_TYPES.CARD]?: PartLabels;
|
|
16
|
-
[PART_TYPES.PAYMENT_SYSTEM_SCREEN]?: PartLabels;
|
|
17
|
-
[PART_TYPES.ONLINE_BANKING_STATEMENT]?: PartLabels;
|
|
18
|
-
[PART_TYPES.COMPANY_REGISTRATION_DOCUMENT]?: PartLabels;
|
|
19
|
-
[PART_TYPES.SELFIE_WITH_ID_CARD]?: PartLabels;
|
|
20
|
-
};
|
|
21
|
-
export declare type DocumentLabels = {
|
|
22
|
-
title: string;
|
|
23
|
-
description?: string;
|
|
24
|
-
parts?: PartsLabels;
|
|
25
|
-
};
|
|
26
|
-
export declare type DocumentsLabels = {
|
|
27
|
-
[DOCUMENT_TYPES.ID]?: DocumentLabels;
|
|
28
|
-
[DOCUMENT_TYPES.ID_EXTRA]?: DocumentLabels;
|
|
29
|
-
[DOCUMENT_TYPES.UB]?: DocumentLabels;
|
|
30
|
-
[DOCUMENT_TYPES.CARD]?: DocumentLabels;
|
|
31
|
-
[DOCUMENT_TYPES.PAYMENT_SYSTEM_SCREEN]?: DocumentLabels;
|
|
32
|
-
[DOCUMENT_TYPES.ONLINE_BANKING_STATEMENT]?: DocumentLabels;
|
|
33
|
-
[DOCUMENT_TYPES.COMPANY_REGISTRATION_DOCUMENT]?: DocumentLabels;
|
|
34
|
-
[DOCUMENT_TYPES.SELFIE_WITH_ID_CARD]?: DocumentLabels;
|
|
35
|
-
};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
declare const StyledKYCForm: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
-
declare const StyledKYCFormTitle: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
-
declare const StyledKYCFormDocuments: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
-
declare const StyledKYCFormButton: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
|
-
export { StyledKYCForm, StyledKYCFormTitle, StyledKYCFormDocuments, StyledKYCFormButton, };
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { KYCDocument } from './document.types';
|
|
3
|
-
import { UploaderLabels, DocumentsLabels } from './labels.types';
|
|
4
|
-
export interface KYCFormProps {
|
|
5
|
-
elementId: string;
|
|
6
|
-
title: React.ReactChildren | string | React.ComponentElement<any, any>;
|
|
7
|
-
uploadButtonLabel: string;
|
|
8
|
-
uploaderLabels: UploaderLabels;
|
|
9
|
-
documentsLabels: DocumentsLabels;
|
|
10
|
-
documents: KYCDocument[];
|
|
11
|
-
isLoading?: boolean;
|
|
12
|
-
errors?: Record<string, string>;
|
|
13
|
-
validator: (documents: KYCDocument[]) => boolean;
|
|
14
|
-
onUploadClick: (documents: KYCDocument[]) => void;
|
|
15
|
-
}
|
|
16
|
-
export default class KYCForm extends React.Component<KYCFormProps> {
|
|
17
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { DOCUMENT_TYPES, KYCFileData, KYCFile } from './document.types';
|
|
2
|
-
declare const isDocumentExtraPartAvailable: (documentType: DOCUMENT_TYPES) => boolean;
|
|
3
|
-
declare const canAddExtraPart: (documentType: DOCUMENT_TYPES, parts: KYCFile[]) => boolean;
|
|
4
|
-
declare const canRemoveExtraPart: (documentType: DOCUMENT_TYPES, parts: KYCFile[]) => boolean;
|
|
5
|
-
declare const isPDF: (partData: KYCFileData) => boolean;
|
|
6
|
-
declare const isHEIC: (partData: KYCFileData) => boolean;
|
|
7
|
-
declare const isFileUniqueInDocument: (file: KYCFile, parts: KYCFile[]) => boolean;
|
|
8
|
-
declare const getFileBase64: (file: File) => Promise<string>;
|
|
9
|
-
export { isDocumentExtraPartAvailable, isFileUniqueInDocument, canAddExtraPart, canRemoveExtraPart, isPDF, isHEIC, getFileBase64, };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export default config;
|
|
2
|
-
declare namespace config {
|
|
3
|
-
export const input: string;
|
|
4
|
-
export const external: string[];
|
|
5
|
-
export const output: ({
|
|
6
|
-
file: string;
|
|
7
|
-
format: string;
|
|
8
|
-
plugins?: undefined;
|
|
9
|
-
} | {
|
|
10
|
-
file: string;
|
|
11
|
-
format: string;
|
|
12
|
-
plugins: import("../ErrorLabel/node_modules/rollup/dist/rollup").Plugin[];
|
|
13
|
-
})[];
|
|
14
|
-
export const plugins: any[];
|
|
15
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export const typeLabel: PropTypes.Requireable<string | PropTypes.ReactElementLike>;
|
|
2
|
-
export default Label;
|
|
3
|
-
import PropTypes from "prop-types";
|
|
4
|
-
declare function Label(props: any): JSX.Element;
|
|
5
|
-
declare namespace Label {
|
|
6
|
-
export const propTypes: {
|
|
7
|
-
label: PropTypes.Validator<string | PropTypes.ReactElementLike>;
|
|
8
|
-
for: PropTypes.Validator<string>;
|
|
9
|
-
required: PropTypes.Requireable<boolean>;
|
|
10
|
-
className: PropTypes.Requireable<string>;
|
|
11
|
-
};
|
|
12
|
-
export namespace defaultProps {
|
|
13
|
-
export const required: boolean;
|
|
14
|
-
export const className: string;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export default MoneyDashboard;
|
|
2
|
-
declare function MoneyDashboard({ title, tooltip, value, isLoading, }: {
|
|
3
|
-
title: any;
|
|
4
|
-
tooltip: any;
|
|
5
|
-
value: any;
|
|
6
|
-
isLoading: any;
|
|
7
|
-
}): JSX.Element;
|
|
8
|
-
declare namespace MoneyDashboard {
|
|
9
|
-
export namespace propTypes {
|
|
10
|
-
export const title: PropTypes.Validator<PropTypes.ReactElementLike>;
|
|
11
|
-
export const tooltip: PropTypes.Requireable<PropTypes.ReactElementLike>;
|
|
12
|
-
export const value: PropTypes.Validator<PropTypes.ReactElementLike>;
|
|
13
|
-
export const isLoading: PropTypes.Requireable<boolean>;
|
|
14
|
-
}
|
|
15
|
-
export namespace defaultProps {
|
|
16
|
-
const tooltip_1: null;
|
|
17
|
-
export { tooltip_1 as tooltip };
|
|
18
|
-
const isLoading_1: boolean;
|
|
19
|
-
export { isLoading_1 as isLoading };
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
import PropTypes from "prop-types";
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export default config;
|
|
2
|
-
declare namespace config {
|
|
3
|
-
export const input: string;
|
|
4
|
-
export const external: string[];
|
|
5
|
-
export const output: ({
|
|
6
|
-
file: string;
|
|
7
|
-
format: string;
|
|
8
|
-
plugins?: undefined;
|
|
9
|
-
} | {
|
|
10
|
-
file: string;
|
|
11
|
-
format: string;
|
|
12
|
-
plugins: import("../Card/node_modules/rollup/dist/rollup").Plugin[];
|
|
13
|
-
})[];
|
|
14
|
-
export const plugins: any[];
|
|
15
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
export default MultiSelect;
|
|
2
|
-
declare function MultiSelect(props: any): JSX.Element;
|
|
3
|
-
declare namespace MultiSelect {
|
|
4
|
-
export namespace propTypes {
|
|
5
|
-
export const options: PropTypes.Validator<any[]>;
|
|
6
|
-
export const customStyles: PropTypes.Requireable<object>;
|
|
7
|
-
export const icon: PropTypes.Requireable<object>;
|
|
8
|
-
export const isClearable: PropTypes.Requireable<boolean>;
|
|
9
|
-
export const isDisabled: PropTypes.Requireable<boolean>;
|
|
10
|
-
export const isLoading: PropTypes.Requireable<boolean>;
|
|
11
|
-
export const isRtl: PropTypes.Requireable<boolean>;
|
|
12
|
-
export const isMulti: PropTypes.Requireable<boolean>;
|
|
13
|
-
export const isSearchable: PropTypes.Requireable<boolean>;
|
|
14
|
-
export const closeMenuOnSelect: PropTypes.Requireable<boolean>;
|
|
15
|
-
export const backspaceRemovesValue: PropTypes.Requireable<boolean>;
|
|
16
|
-
export const hideSelectedOptions: PropTypes.Requireable<boolean>;
|
|
17
|
-
export const elementId: PropTypes.Validator<string>;
|
|
18
|
-
export const onChange: PropTypes.Validator<(...args: any[]) => any>;
|
|
19
|
-
export const errors: PropTypes.Requireable<any[]>;
|
|
20
|
-
export const placeholder: PropTypes.Requireable<string>;
|
|
21
|
-
}
|
|
22
|
-
export namespace defaultProps {
|
|
23
|
-
const isClearable_1: boolean;
|
|
24
|
-
export { isClearable_1 as isClearable };
|
|
25
|
-
const isDisabled_1: boolean;
|
|
26
|
-
export { isDisabled_1 as isDisabled };
|
|
27
|
-
const isLoading_1: boolean;
|
|
28
|
-
export { isLoading_1 as isLoading };
|
|
29
|
-
const isRtl_1: boolean;
|
|
30
|
-
export { isRtl_1 as isRtl };
|
|
31
|
-
const isMulti_1: boolean;
|
|
32
|
-
export { isMulti_1 as isMulti };
|
|
33
|
-
const isSearchable_1: boolean;
|
|
34
|
-
export { isSearchable_1 as isSearchable };
|
|
35
|
-
const closeMenuOnSelect_1: boolean;
|
|
36
|
-
export { closeMenuOnSelect_1 as closeMenuOnSelect };
|
|
37
|
-
const hideSelectedOptions_1: boolean;
|
|
38
|
-
export { hideSelectedOptions_1 as hideSelectedOptions };
|
|
39
|
-
const backspaceRemovesValue_1: boolean;
|
|
40
|
-
export { backspaceRemovesValue_1 as backspaceRemovesValue };
|
|
41
|
-
const customStyles_1: {};
|
|
42
|
-
export { customStyles_1 as customStyles };
|
|
43
|
-
const errors_1: never[];
|
|
44
|
-
export { errors_1 as errors };
|
|
45
|
-
const placeholder_1: string;
|
|
46
|
-
export { placeholder_1 as placeholder };
|
|
47
|
-
const icon_1: undefined;
|
|
48
|
-
export { icon_1 as icon };
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
import PropTypes from "prop-types";
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export const StyledSelect: any;
|
|
2
|
-
export function customStyles(hasIcon: any, errors: any): {
|
|
3
|
-
container: (provided: any) => any;
|
|
4
|
-
control: () => {
|
|
5
|
-
border: string;
|
|
6
|
-
height: number;
|
|
7
|
-
display: string;
|
|
8
|
-
borderRadius: number;
|
|
9
|
-
};
|
|
10
|
-
indicatorSeparator: () => {
|
|
11
|
-
display: string;
|
|
12
|
-
};
|
|
13
|
-
dropdownIndicator: (provided: any, state: any) => any;
|
|
14
|
-
valueContainer: (provided: any) => any;
|
|
15
|
-
};
|
|
16
|
-
export const StyledCustomMultiValue: any;
|
|
17
|
-
export const StyledCustomPlaceholder: any;
|
|
18
|
-
export const StyledCustomOption: any;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export default config;
|
|
2
|
-
declare namespace config {
|
|
3
|
-
export const input: string;
|
|
4
|
-
export const external: string[];
|
|
5
|
-
export const output: ({
|
|
6
|
-
file: string;
|
|
7
|
-
format: string;
|
|
8
|
-
plugins?: undefined;
|
|
9
|
-
} | {
|
|
10
|
-
file: string;
|
|
11
|
-
format: string;
|
|
12
|
-
plugins: import("../ErrorLabel/node_modules/rollup/dist/rollup").Plugin[];
|
|
13
|
-
})[];
|
|
14
|
-
export const plugins: any[];
|
|
15
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export default PageHeader;
|
|
2
|
-
declare function PageHeader({ actions, children, }: {
|
|
3
|
-
actions: any;
|
|
4
|
-
children: any;
|
|
5
|
-
}): JSX.Element;
|
|
6
|
-
declare namespace PageHeader {
|
|
7
|
-
export namespace propTypes {
|
|
8
|
-
export const children: PropTypes.Validator<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
|
|
9
|
-
export const actions: PropTypes.Requireable<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
|
|
10
|
-
}
|
|
11
|
-
export namespace defaultProps {
|
|
12
|
-
const actions_1: string;
|
|
13
|
-
export { actions_1 as actions };
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
import PropTypes from "prop-types";
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
export default Pagination;
|
|
2
|
-
declare function Pagination(props: any): JSX.Element;
|
|
3
|
-
declare namespace Pagination {
|
|
4
|
-
export namespace propTypes {
|
|
5
|
-
export const paginationAmount: PropTypes.Requireable<string | PropTypes.ReactElementLike>;
|
|
6
|
-
export const parentElementId: PropTypes.Validator<string>;
|
|
7
|
-
export const labelPerPage: PropTypes.Requireable<string>;
|
|
8
|
-
export const pageSizes: PropTypes.Requireable<(string | number | null | undefined)[]>;
|
|
9
|
-
export const page: PropTypes.Validator<number>;
|
|
10
|
-
export const perPage: PropTypes.Validator<number>;
|
|
11
|
-
export const totalPages: PropTypes.Validator<number>;
|
|
12
|
-
export const nextPageHandler: PropTypes.Validator<(...args: any[]) => any>;
|
|
13
|
-
export const previousPageHandler: PropTypes.Validator<(...args: any[]) => any>;
|
|
14
|
-
export const setPageSize: PropTypes.Validator<(...args: any[]) => any>;
|
|
15
|
-
}
|
|
16
|
-
export namespace defaultProps {
|
|
17
|
-
const paginationAmount_1: string;
|
|
18
|
-
export { paginationAmount_1 as paginationAmount };
|
|
19
|
-
const labelPerPage_1: string;
|
|
20
|
-
export { labelPerPage_1 as labelPerPage };
|
|
21
|
-
const pageSizes_1: number[];
|
|
22
|
-
export { pageSizes_1 as pageSizes };
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
import PropTypes from "prop-types";
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { DefaultRulesParams, PasswordValidatorProps } from './types';
|
|
3
|
-
export declare const getDefaultRules: ({ passwordChangeRuleLengthText, passwordChangeRuleLatinLowercaseText, passwordChangeRuleLatinUppercaseText, passwordChangeRuleDigitsText, passwordChangeRuleIsEqualText, }: DefaultRulesParams) => {
|
|
4
|
-
test: (oneValue: string, twoValue: string) => boolean | "";
|
|
5
|
-
label: React.ReactNode;
|
|
6
|
-
key: string;
|
|
7
|
-
}[];
|
|
8
|
-
declare const PasswordValidator: ({ rules, password, confirmPassword, onTestsPassed, }: PasswordValidatorProps) => JSX.Element;
|
|
9
|
-
export default PasswordValidator;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
declare const StyledPasswordValidator: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
-
interface PasswordRuleProps {
|
|
3
|
-
isPassed: boolean;
|
|
4
|
-
}
|
|
5
|
-
declare const PasswordRule: import("styled-components").StyledComponent<"div", any, PasswordRuleProps, never>;
|
|
6
|
-
declare const PasswordIcon: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
7
|
-
export { StyledPasswordValidator, PasswordRule, PasswordIcon };
|