@scbt-ecom/ui 0.37.0 → 0.38.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/package.json +1 -1
- package/dist/CustomLink-BQOhJbbq.js +0 -4493
- package/dist/CustomLink-BQOhJbbq.js.map +0 -1
- package/dist/_commonjsHelpers-C6fGbg64.js +0 -7
- package/dist/_commonjsHelpers-C6fGbg64.js.map +0 -1
- package/dist/api.d.ts +0 -2
- package/dist/api.js +0 -26
- package/dist/api.js.map +0 -1
- package/dist/cn-DIfn7EPB.js +0 -2276
- package/dist/cn-DIfn7EPB.js.map +0 -1
- package/dist/config.d.ts +0 -2
- package/dist/config.js +0 -615
- package/dist/config.js.map +0 -1
- package/dist/configs/index.d.ts +0 -2
- package/dist/configs/tailwindConfigBase.d.ts +0 -2
- package/dist/configs/tailwindPresets/extendsPreset.d.ts +0 -2
- package/dist/configs/tailwindPresets/index.d.ts +0 -2
- package/dist/configs/tailwindPresets/resetPreset.d.ts +0 -2
- package/dist/exports/api.d.ts +0 -1
- package/dist/exports/config.d.ts +0 -1
- package/dist/exports/hooks.d.ts +0 -1
- package/dist/exports/types.d.ts +0 -1
- package/dist/exports/ui.d.ts +0 -1
- package/dist/exports/utils.d.ts +0 -1
- package/dist/exports/validation.d.ts +0 -1
- package/dist/exports/widget.d.ts +0 -1
- package/dist/hooks.d.ts +0 -2
- package/dist/hooks.js +0 -49
- package/dist/hooks.js.map +0 -1
- package/dist/isClient-D-a29gNu.js +0 -5
- package/dist/isClient-D-a29gNu.js.map +0 -1
- package/dist/mergeRefs-qDToYXtM.js +0 -12
- package/dist/mergeRefs-qDToYXtM.js.map +0 -1
- package/dist/scrollToElement-B-reg4jF.js +0 -12
- package/dist/scrollToElement-B-reg4jF.js.map +0 -1
- package/dist/shared/api/apiInstance.d.ts +0 -16
- package/dist/shared/api/index.d.ts +0 -1
- package/dist/shared/constants/designSystem/colors.d.ts +0 -124
- package/dist/shared/constants/designSystem/index.d.ts +0 -3
- package/dist/shared/constants/designSystem/others.d.ts +0 -27
- package/dist/shared/constants/designSystem/typography.d.ts +0 -75
- package/dist/shared/constants/index.d.ts +0 -1
- package/dist/shared/hooks/index.d.ts +0 -7
- package/dist/shared/hooks/useBoolean.d.ts +0 -3
- package/dist/shared/hooks/useClickOutside.d.ts +0 -2
- package/dist/shared/hooks/useControlledForm.d.ts +0 -7
- package/dist/shared/hooks/useDebounce.d.ts +0 -3
- package/dist/shared/hooks/useDevice.d.ts +0 -4
- package/dist/shared/hooks/useFieldsProgress.d.ts +0 -14
- package/dist/shared/hooks/useObserveElements.d.ts +0 -1
- package/dist/shared/hooks/useOverflow.d.ts +0 -1
- package/dist/shared/types/index.d.ts +0 -1
- package/dist/shared/types/utils.d.ts +0 -3
- package/dist/shared/ui/accordion/Accordion.d.ts +0 -17
- package/dist/shared/ui/accordion/index.d.ts +0 -1
- package/dist/shared/ui/accordion/ui/AccordionHeader.d.ts +0 -14
- package/dist/shared/ui/badge/Badge.d.ts +0 -6
- package/dist/shared/ui/badge/index.d.ts +0 -1
- package/dist/shared/ui/brandLogos/BrandLogos.d.ts +0 -5
- package/dist/shared/ui/brandLogos/index.d.ts +0 -1
- package/dist/shared/ui/breadcrumbs/Breadcrumbs.d.ts +0 -16
- package/dist/shared/ui/breadcrumbs/index.d.ts +0 -1
- package/dist/shared/ui/button/Button.d.ts +0 -17
- package/dist/shared/ui/button/index.d.ts +0 -1
- package/dist/shared/ui/button/model/helpers.d.ts +0 -2
- package/dist/shared/ui/buttonIcon/ButtonIcon.d.ts +0 -17
- package/dist/shared/ui/buttonIcon/index.d.ts +0 -1
- package/dist/shared/ui/calendar/Calendar.d.ts +0 -11
- package/dist/shared/ui/calendar/index.d.ts +0 -2
- package/dist/shared/ui/calendar/model/index.d.ts +0 -1
- package/dist/shared/ui/calendar/model/utils.d.ts +0 -35
- package/dist/shared/ui/calendar/ui/Day.d.ts +0 -9
- package/dist/shared/ui/calendar/ui/DayButton.d.ts +0 -8
- package/dist/shared/ui/calendar/ui/Footer.d.ts +0 -6
- package/dist/shared/ui/calendar/ui/MonthCaption.d.ts +0 -10
- package/dist/shared/ui/calendar/ui/Navigation.d.ts +0 -4
- package/dist/shared/ui/calendar/ui/Weekday.d.ts +0 -4
- package/dist/shared/ui/calendar/ui/index.d.ts +0 -7
- package/dist/shared/ui/calendar/ui/model/index.d.ts +0 -2
- package/dist/shared/ui/calendar/ui/model/types.d.ts +0 -9
- package/dist/shared/ui/calendar/ui/model/utils.d.ts +0 -13
- package/dist/shared/ui/calendar/ui/selectDate/SelectDate.d.ts +0 -13
- package/dist/shared/ui/calendar/ui/selectDate/index.d.ts +0 -1
- package/dist/shared/ui/calendar/ui/selectDate/ui/SelectList.d.ts +0 -10
- package/dist/shared/ui/calendar/ui/selectDate/ui/Trigger.d.ts +0 -9
- package/dist/shared/ui/calendar/ui/selectDate/ui/index.d.ts +0 -2
- package/dist/shared/ui/customLink/CustomLink.d.ts +0 -20
- package/dist/shared/ui/customLink/index.d.ts +0 -1
- package/dist/shared/ui/document/Document.d.ts +0 -14
- package/dist/shared/ui/document/index.d.ts +0 -1
- package/dist/shared/ui/floatButton/FloatButton.d.ts +0 -13
- package/dist/shared/ui/floatButton/index.d.ts +0 -1
- package/dist/shared/ui/formElements/controlled/autocomplete/Autocomplete.d.ts +0 -11
- package/dist/shared/ui/formElements/controlled/autocomplete/index.d.ts +0 -1
- package/dist/shared/ui/formElements/controlled/checkbox/CheckboxControl.d.ts +0 -27
- package/dist/shared/ui/formElements/controlled/checkbox/index.d.ts +0 -1
- package/dist/shared/ui/formElements/controlled/dadata/address/DadataAddress.d.ts +0 -11
- package/dist/shared/ui/formElements/controlled/dadata/address/index.d.ts +0 -1
- package/dist/shared/ui/formElements/controlled/dadata/address/query.d.ts +0 -3
- package/dist/shared/ui/formElements/controlled/dadata/auto/DadataAuto.d.ts +0 -11
- package/dist/shared/ui/formElements/controlled/dadata/auto/index.d.ts +0 -1
- package/dist/shared/ui/formElements/controlled/dadata/auto/query.d.ts +0 -3
- package/dist/shared/ui/formElements/controlled/dadata/country/DadataCountry.d.ts +0 -11
- package/dist/shared/ui/formElements/controlled/dadata/country/index.d.ts +0 -1
- package/dist/shared/ui/formElements/controlled/dadata/country/query.d.ts +0 -3
- package/dist/shared/ui/formElements/controlled/dadata/fio/DadataFio.d.ts +0 -11
- package/dist/shared/ui/formElements/controlled/dadata/fio/index.d.ts +0 -1
- package/dist/shared/ui/formElements/controlled/dadata/fio/query.d.ts +0 -3
- package/dist/shared/ui/formElements/controlled/dadata/helpers.d.ts +0 -2
- package/dist/shared/ui/formElements/controlled/dadata/index.d.ts +0 -5
- package/dist/shared/ui/formElements/controlled/dadata/party/DadataOrganization.d.ts +0 -11
- package/dist/shared/ui/formElements/controlled/dadata/party/index.d.ts +0 -1
- package/dist/shared/ui/formElements/controlled/dadata/party/query.d.ts +0 -3
- package/dist/shared/ui/formElements/controlled/dadata/types.d.ts +0 -35
- package/dist/shared/ui/formElements/controlled/dayPickerControl/dayPickerControl.d.ts +0 -36
- package/dist/shared/ui/formElements/controlled/dayPickerControl/index.d.ts +0 -1
- package/dist/shared/ui/formElements/controlled/dayPickerControl/model/constants.d.ts +0 -4
- package/dist/shared/ui/formElements/controlled/dayPickerControl/model/index.d.ts +0 -2
- package/dist/shared/ui/formElements/controlled/dayPickerControl/model/utils.d.ts +0 -25
- package/dist/shared/ui/formElements/controlled/dayPickerControl/range.d.ts +0 -29
- package/dist/shared/ui/formElements/controlled/dayPickerControl/single.d.ts +0 -30
- package/dist/shared/ui/formElements/controlled/editor/EditorControl.d.ts +0 -16
- package/dist/shared/ui/formElements/controlled/editor/index.d.ts +0 -1
- package/dist/shared/ui/formElements/controlled/editor/model/config.d.ts +0 -1
- package/dist/shared/ui/formElements/controlled/editor/model/helper.d.ts +0 -16
- package/dist/shared/ui/formElements/controlled/editor/model/types.d.ts +0 -6
- package/dist/shared/ui/formElements/controlled/editor/ui/Editor.d.ts +0 -18
- package/dist/shared/ui/formElements/controlled/editor/ui/Toolbar.d.ts +0 -6
- package/dist/shared/ui/formElements/controlled/editor/ui/commands/SetColor.d.ts +0 -6
- package/dist/shared/ui/formElements/controlled/editor/ui/commands/SetCoreCommands.d.ts +0 -6
- package/dist/shared/ui/formElements/controlled/editor/ui/commands/SetHeadings.d.ts +0 -6
- package/dist/shared/ui/formElements/controlled/editor/ui/commands/index.d.ts +0 -4
- package/dist/shared/ui/formElements/controlled/editor/ui/commands/setCustomLink.d.ts +0 -6
- package/dist/shared/ui/formElements/controlled/index.d.ts +0 -114
- package/dist/shared/ui/formElements/controlled/input/InputControl.d.ts +0 -22
- package/dist/shared/ui/formElements/controlled/input/MaskInputControl.d.ts +0 -22
- package/dist/shared/ui/formElements/controlled/input/index.d.ts +0 -2
- package/dist/shared/ui/formElements/controlled/inputCurrency/InputCurrencyControl.d.ts +0 -26
- package/dist/shared/ui/formElements/controlled/inputCurrency/index.d.ts +0 -1
- package/dist/shared/ui/formElements/controlled/inputCurrency/model/helpers.d.ts +0 -3
- package/dist/shared/ui/formElements/controlled/inputCurrency/model/useInputCurrency.d.ts +0 -10
- package/dist/shared/ui/formElements/controlled/inputCurrency/ui/MenuTrigger.d.ts +0 -7
- package/dist/shared/ui/formElements/controlled/inputCurrency/ui/OptionList.d.ts +0 -8
- package/dist/shared/ui/formElements/controlled/inputCurrency/ui/index.d.ts +0 -2
- package/dist/shared/ui/formElements/controlled/inputOtp/InputOtpControl.d.ts +0 -12
- package/dist/shared/ui/formElements/controlled/inputOtp/index.d.ts +0 -1
- package/dist/shared/ui/formElements/controlled/radio/RadioGroupControl.d.ts +0 -27
- package/dist/shared/ui/formElements/controlled/radio/index.d.ts +0 -1
- package/dist/shared/ui/formElements/controlled/select/SelectControl.d.ts +0 -26
- package/dist/shared/ui/formElements/controlled/select/index.d.ts +0 -1
- package/dist/shared/ui/formElements/controlled/slider/SliderControl.d.ts +0 -11
- package/dist/shared/ui/formElements/controlled/slider/index.d.ts +0 -1
- package/dist/shared/ui/formElements/controlled/switch/SwitchControl.d.ts +0 -35
- package/dist/shared/ui/formElements/controlled/switch/index.d.ts +0 -1
- package/dist/shared/ui/formElements/controlled/textarea/TextareaControl.d.ts +0 -22
- package/dist/shared/ui/formElements/controlled/textarea/index.d.ts +0 -1
- package/dist/shared/ui/formElements/controlled/uploader/UploaderControl.d.ts +0 -12
- package/dist/shared/ui/formElements/controlled/uploader/index.d.ts +0 -1
- package/dist/shared/ui/formElements/index.d.ts +0 -2
- package/dist/shared/ui/formElements/ui/MessageView.d.ts +0 -14
- package/dist/shared/ui/formElements/ui/fieldAttachment/FieldAttachment.d.ts +0 -20
- package/dist/shared/ui/formElements/ui/fieldAttachment/index.d.ts +0 -1
- package/dist/shared/ui/formElements/ui/fieldAttachment/ui/IconSlot.d.ts +0 -6
- package/dist/shared/ui/formElements/ui/fieldAttachment/ui/ValidateSlot.d.ts +0 -7
- package/dist/shared/ui/formElements/ui/fieldAttachment/ui/index.d.ts +0 -2
- package/dist/shared/ui/formElements/ui/index.d.ts +0 -2
- package/dist/shared/ui/formElements/uncontrolled/autocomplete/Autocomplete.d.ts +0 -27
- package/dist/shared/ui/formElements/uncontrolled/autocomplete/index.d.ts +0 -1
- package/dist/shared/ui/formElements/uncontrolled/checkbox/Checkbox.d.ts +0 -41
- package/dist/shared/ui/formElements/uncontrolled/checkbox/index.d.ts +0 -1
- package/dist/shared/ui/formElements/uncontrolled/dayPicker/DayPicker.d.ts +0 -57
- package/dist/shared/ui/formElements/uncontrolled/dayPicker/index.d.ts +0 -1
- package/dist/shared/ui/formElements/uncontrolled/index.d.ts +0 -142
- package/dist/shared/ui/formElements/uncontrolled/input/Input.d.ts +0 -68
- package/dist/shared/ui/formElements/uncontrolled/input/index.d.ts +0 -1
- package/dist/shared/ui/formElements/uncontrolled/inputOtp/InputOtpBase.d.ts +0 -51
- package/dist/shared/ui/formElements/uncontrolled/inputOtp/index.d.ts +0 -1
- package/dist/shared/ui/formElements/uncontrolled/inputOtp/ui/InputOtpSlot.d.ts +0 -14
- package/dist/shared/ui/formElements/uncontrolled/inputOtp/ui/index.d.ts +0 -1
- package/dist/shared/ui/formElements/uncontrolled/maskInput/MaskInput.d.ts +0 -50
- package/dist/shared/ui/formElements/uncontrolled/maskInput/index.d.ts +0 -1
- package/dist/shared/ui/formElements/uncontrolled/maskInput/model/mask/index.d.ts +0 -1
- package/dist/shared/ui/formElements/uncontrolled/maskInput/model/mask/utils.d.ts +0 -2
- package/dist/shared/ui/formElements/uncontrolled/radio/RadioGroup.d.ts +0 -67
- package/dist/shared/ui/formElements/uncontrolled/radio/index.d.ts +0 -2
- package/dist/shared/ui/formElements/uncontrolled/radio/ui/RadioItem.d.ts +0 -35
- package/dist/shared/ui/formElements/uncontrolled/radio/ui/index.d.ts +0 -1
- package/dist/shared/ui/formElements/uncontrolled/select/Select.d.ts +0 -134
- package/dist/shared/ui/formElements/uncontrolled/select/hooks/index.d.ts +0 -1
- package/dist/shared/ui/formElements/uncontrolled/select/hooks/useSelectController.d.ts +0 -22
- package/dist/shared/ui/formElements/uncontrolled/select/index.d.ts +0 -3
- package/dist/shared/ui/formElements/uncontrolled/select/model/compareByValue.d.ts +0 -2
- package/dist/shared/ui/formElements/uncontrolled/select/model/index.d.ts +0 -2
- package/dist/shared/ui/formElements/uncontrolled/select/model/typeGuards.d.ts +0 -2
- package/dist/shared/ui/formElements/uncontrolled/select/model/types.d.ts +0 -14
- package/dist/shared/ui/formElements/uncontrolled/select/ui/Chip.d.ts +0 -12
- package/dist/shared/ui/formElements/uncontrolled/select/ui/ChipList.d.ts +0 -11
- package/dist/shared/ui/formElements/uncontrolled/select/ui/SelectItem.d.ts +0 -24
- package/dist/shared/ui/formElements/uncontrolled/select/ui/index.d.ts +0 -2
- package/dist/shared/ui/formElements/uncontrolled/slider/SliderBase.d.ts +0 -74
- package/dist/shared/ui/formElements/uncontrolled/slider/index.d.ts +0 -1
- package/dist/shared/ui/formElements/uncontrolled/slider/model/helpers/dates/getIntlMonth.d.ts +0 -1
- package/dist/shared/ui/formElements/uncontrolled/slider/model/helpers/dates/getYearIntl.d.ts +0 -1
- package/dist/shared/ui/formElements/uncontrolled/slider/model/helpers/dates/index.d.ts +0 -2
- package/dist/shared/ui/formElements/uncontrolled/slider/model/helpers/formatNumber.d.ts +0 -1
- package/dist/shared/ui/formElements/uncontrolled/slider/model/helpers/getInputSliderSuffix.d.ts +0 -2
- package/dist/shared/ui/formElements/uncontrolled/slider/model/helpers/index.d.ts +0 -2
- package/dist/shared/ui/formElements/uncontrolled/slider/model/types.d.ts +0 -1
- package/dist/shared/ui/formElements/uncontrolled/slider/model/useLogarithmic.d.ts +0 -15
- package/dist/shared/ui/formElements/uncontrolled/slider/model/useSlider.d.ts +0 -17
- package/dist/shared/ui/formElements/uncontrolled/slider/ui/Slider.d.ts +0 -20
- package/dist/shared/ui/formElements/uncontrolled/slider/ui/index.d.ts +0 -1
- package/dist/shared/ui/formElements/uncontrolled/switch/Switch.d.ts +0 -22
- package/dist/shared/ui/formElements/uncontrolled/switch/index.d.ts +0 -1
- package/dist/shared/ui/formElements/uncontrolled/textarea/Textarea.d.ts +0 -59
- package/dist/shared/ui/formElements/uncontrolled/textarea/index.d.ts +0 -1
- package/dist/shared/ui/formElements/uncontrolled/uploader/UploaderBase.d.ts +0 -38
- package/dist/shared/ui/formElements/uncontrolled/uploader/index.d.ts +0 -2
- package/dist/shared/ui/formElements/uncontrolled/uploader/model/helpers.d.ts +0 -10
- package/dist/shared/ui/formElements/uncontrolled/uploader/model/hooks/useUploader.d.ts +0 -11
- package/dist/shared/ui/formElements/uncontrolled/uploader/model/index.d.ts +0 -1
- package/dist/shared/ui/formElements/uncontrolled/uploader/ui/UploaderFile.d.ts +0 -19
- package/dist/shared/ui/formElements/uncontrolled/uploader/ui/UploaderFilename.d.ts +0 -9
- package/dist/shared/ui/formElements/uncontrolled/uploader/ui/UploaderFiles.d.ts +0 -16
- package/dist/shared/ui/formElements/uncontrolled/uploader/ui/UploaderInput.d.ts +0 -17
- package/dist/shared/ui/formElements/uncontrolled/uploader/ui/index.d.ts +0 -4
- package/dist/shared/ui/heading/Heading.d.ts +0 -12
- package/dist/shared/ui/heading/index.d.ts +0 -1
- package/dist/shared/ui/hint/Hint.d.ts +0 -21
- package/dist/shared/ui/hint/index.d.ts +0 -1
- package/dist/shared/ui/icon/Icon.d.ts +0 -10
- package/dist/shared/ui/icon/index.d.ts +0 -2
- package/dist/shared/ui/icon/sprite.gen.d.ts +0 -20
- package/dist/shared/ui/index.d.ts +0 -28
- package/dist/shared/ui/keyboardShortcuts/KeyboardShortcuts.d.ts +0 -11
- package/dist/shared/ui/keyboardShortcuts/index.d.ts +0 -1
- package/dist/shared/ui/ligal/Ligal.d.ts +0 -12
- package/dist/shared/ui/ligal/index.d.ts +0 -1
- package/dist/shared/ui/loader/Loader.d.ts +0 -21
- package/dist/shared/ui/loader/index.d.ts +0 -1
- package/dist/shared/ui/modal/Modal.d.ts +0 -19
- package/dist/shared/ui/modal/index.d.ts +0 -1
- package/dist/shared/ui/modal/model/helpers.d.ts +0 -33
- package/dist/shared/ui/modal/ui/ModalHeader.d.ts +0 -10
- package/dist/shared/ui/notification/Notification.d.ts +0 -10
- package/dist/shared/ui/notification/index.d.ts +0 -1
- package/dist/shared/ui/notification/ui/CustomToast.d.ts +0 -10
- package/dist/shared/ui/phoneView/PhoneView.d.ts +0 -13
- package/dist/shared/ui/phoneView/index.d.ts +0 -1
- package/dist/shared/ui/popover/Popover.d.ts +0 -27
- package/dist/shared/ui/popover/index.d.ts +0 -1
- package/dist/shared/ui/progressBar/ProgressBar.d.ts +0 -18
- package/dist/shared/ui/progressBar/index.d.ts +0 -1
- package/dist/shared/ui/providers/NotificationProvider.d.ts +0 -5
- package/dist/shared/ui/providers/index.d.ts +0 -1
- package/dist/shared/ui/responsiveContainer/ResponsiveContainer.d.ts +0 -7
- package/dist/shared/ui/responsiveContainer/index.d.ts +0 -1
- package/dist/shared/ui/section/Section.d.ts +0 -6
- package/dist/shared/ui/section/index.d.ts +0 -1
- package/dist/shared/ui/skeleton/Skeleton.d.ts +0 -4
- package/dist/shared/ui/skeleton/index.d.ts +0 -1
- package/dist/shared/ui/slot/Slot.d.ts +0 -6
- package/dist/shared/ui/slot/index.d.ts +0 -1
- package/dist/shared/ui/slot/model/getElementRef.d.ts +0 -1
- package/dist/shared/ui/slot/model/index.d.ts +0 -3
- package/dist/shared/ui/slot/model/isSlottable.d.ts +0 -2
- package/dist/shared/ui/slot/model/mergeProps.d.ts +0 -5
- package/dist/shared/ui/slot/ui/SlotClone.d.ts +0 -4
- package/dist/shared/ui/slot/ui/Slottable.d.ts +0 -4
- package/dist/shared/ui/slot/ui/index.d.ts +0 -2
- package/dist/shared/ui/tabSwitcher/TabsSwitcher.d.ts +0 -9
- package/dist/shared/ui/tabSwitcher/index.d.ts +0 -2
- package/dist/shared/ui/tabSwitcher/model/types.d.ts +0 -23
- package/dist/shared/ui/tabSwitcher/ui/TabContent.d.ts +0 -10
- package/dist/shared/utils/capitalize.d.ts +0 -1
- package/dist/shared/utils/cn.d.ts +0 -2
- package/dist/shared/utils/index.d.ts +0 -6
- package/dist/shared/utils/isClient.d.ts +0 -1
- package/dist/shared/utils/mergeRefs.d.ts +0 -2
- package/dist/shared/utils/scrollToElement.d.ts +0 -3
- package/dist/shared/utils/typeGuards.d.ts +0 -9
- package/dist/shared/validation/base/base.constants.d.ts +0 -20
- package/dist/shared/validation/base/base.validators.d.ts +0 -16
- package/dist/shared/validation/base/date.validators.d.ts +0 -55
- package/dist/shared/validation/base/email.validators.d.ts +0 -49
- package/dist/shared/validation/base/index.d.ts +0 -2
- package/dist/shared/validation/base/number.validators.d.ts +0 -53
- package/dist/shared/validation/base/phone.validators.d.ts +0 -55
- package/dist/shared/validation/base/select.validators.d.ts +0 -85
- package/dist/shared/validation/base/string.validators.d.ts +0 -68
- package/dist/shared/validation/base/union.validators.d.ts +0 -56
- package/dist/shared/validation/dadata/dadata.constants.d.ts +0 -14
- package/dist/shared/validation/dadata/fio.validators.d.ts +0 -46
- package/dist/shared/validation/dadata/index.d.ts +0 -6
- package/dist/shared/validation/index.d.ts +0 -20
- package/dist/shared/validation/messages.d.ts +0 -13
- package/dist/shared/validation/regExp.d.ts +0 -3
- package/dist/shared/validation/utils/index.d.ts +0 -1
- package/dist/shared/validation/utils/zodUtils.d.ts +0 -41
- package/dist/shared/validation/zodValidation/calendar.d.ts +0 -2
- package/dist/shared/validation/zodValidation/dadataFio.d.ts +0 -7
- package/dist/shared/validation/zodValidation/index.d.ts +0 -4
- package/dist/shared/validation/zodValidation/otpCode.d.ts +0 -2
- package/dist/shared/validation/zodValidation/phone.d.ts +0 -2
- package/dist/sprites/arrows.svg +0 -1
- package/dist/sprites/brandLogos.svg +0 -1
- package/dist/sprites/editor.svg +0 -1
- package/dist/sprites/files.svg +0 -1
- package/dist/sprites/general.svg +0 -1
- package/dist/sprites/info.svg +0 -1
- package/dist/sprites/logos.svg +0 -1
- package/dist/sprites/social.svg +0 -1
- package/dist/style.css +0 -1
- package/dist/typeGuards-B82KZ2oS.js +0 -27
- package/dist/typeGuards-B82KZ2oS.js.map +0 -1
- package/dist/types.d.ts +0 -2
- package/dist/types.js +0 -2
- package/dist/types.js.map +0 -1
- package/dist/ui.d.ts +0 -2
- package/dist/ui.js +0 -37980
- package/dist/ui.js.map +0 -1
- package/dist/useDebounce-BNBPHQrJ.js +0 -1167
- package/dist/useDebounce-BNBPHQrJ.js.map +0 -1
- package/dist/useDevice-L83kSsN7.js +0 -28
- package/dist/useDevice-L83kSsN7.js.map +0 -1
- package/dist/utils-b38KjjXe.js +0 -5194
- package/dist/utils-b38KjjXe.js.map +0 -1
- package/dist/utils-tailwind.css +0 -57
- package/dist/utils.d.ts +0 -2
- package/dist/utils.js +0 -15
- package/dist/utils.js.map +0 -1
- package/dist/validation.d.ts +0 -2
- package/dist/validation.js +0 -393
- package/dist/validation.js.map +0 -1
- package/dist/widget.d.ts +0 -2
- package/dist/widget.js +0 -924
- package/dist/widget.js.map +0 -1
- package/dist/widgets/advantages/Advantages.d.ts +0 -13
- package/dist/widgets/advantages/index.d.ts +0 -1
- package/dist/widgets/advantages/model/index.d.ts +0 -1
- package/dist/widgets/advantages/model/types.d.ts +0 -4
- package/dist/widgets/authProvider/AuthProvider.d.ts +0 -3
- package/dist/widgets/authProvider/index.d.ts +0 -2
- package/dist/widgets/authProvider/model/helpers.d.ts +0 -5
- package/dist/widgets/authProvider/model/types.d.ts +0 -70
- package/dist/widgets/authProvider/ui/Esia.d.ts +0 -2
- package/dist/widgets/authProvider/ui/MobileId.d.ts +0 -2
- package/dist/widgets/authProvider/ui/index.d.ts +0 -2
- package/dist/widgets/authProvider/ui/ui/AuthWrapper.d.ts +0 -12
- package/dist/widgets/authProvider/ui/ui/EsiaLogo.d.ts +0 -2
- package/dist/widgets/authProvider/ui/ui/Links.d.ts +0 -12
- package/dist/widgets/authProvider/ui/ui/index.d.ts +0 -3
- package/dist/widgets/banner/Banner.d.ts +0 -20
- package/dist/widgets/banner/index.d.ts +0 -2
- package/dist/widgets/banner/model/index.d.ts +0 -1
- package/dist/widgets/banner/model/types.d.ts +0 -18
- package/dist/widgets/banner/ui/BannerButtonsGroup.d.ts +0 -13
- package/dist/widgets/banner/ui/banners/BannerImageFull.d.ts +0 -2
- package/dist/widgets/banner/ui/banners/BannerWithSeparateImg.d.ts +0 -2
- package/dist/widgets/banner/ui/banners/index.d.ts +0 -2
- package/dist/widgets/benefit/Benefit.d.ts +0 -20
- package/dist/widgets/benefit/index.d.ts +0 -1
- package/dist/widgets/benefit/model/index.d.ts +0 -1
- package/dist/widgets/benefit/model/types.d.ts +0 -3
- package/dist/widgets/benefit/ui/BenefitItem.d.ts +0 -28
- package/dist/widgets/footer/Footer.d.ts +0 -12
- package/dist/widgets/footer/index.d.ts +0 -1
- package/dist/widgets/footer/model/defaultValues.d.ts +0 -5
- package/dist/widgets/footer/model/types.d.ts +0 -38
- package/dist/widgets/footer/ui/Copyright.d.ts +0 -10
- package/dist/widgets/footer/ui/FooterLogo.d.ts +0 -8
- package/dist/widgets/footer/ui/NavLinks.d.ts +0 -15
- package/dist/widgets/footer/ui/PhonesBlock.d.ts +0 -13
- package/dist/widgets/footer/ui/SiteMap.d.ts +0 -8
- package/dist/widgets/footer/ui/SocialLinks.d.ts +0 -12
- package/dist/widgets/footer/ui/index.d.ts +0 -6
- package/dist/widgets/index.d.ts +0 -9
- package/dist/widgets/interLinking/InterLinking.d.ts +0 -15
- package/dist/widgets/interLinking/index.d.ts +0 -2
- package/dist/widgets/interLinking/model/schema.d.ts +0 -150
- package/dist/widgets/interLinking/model/types.d.ts +0 -5
- package/dist/widgets/interLinking/ui/Column.d.ts +0 -13
- package/dist/widgets/interLinking/ui/ColumnGroup.d.ts +0 -13
- package/dist/widgets/interLinking/ui/LinksList.d.ts +0 -11
- package/dist/widgets/interLinking/ui/index.d.ts +0 -1
- package/dist/widgets/longBanner/LongBanner.d.ts +0 -10
- package/dist/widgets/longBanner/index.d.ts +0 -1
- package/dist/widgets/longBanner/model/cva.d.ts +0 -16
- package/dist/widgets/longBanner/model/types.d.ts +0 -30
- package/dist/widgets/longBanner/ui/TextItem.d.ts +0 -2
- package/dist/widgets/longBanner/ui/TextList.d.ts +0 -8
- package/dist/widgets/longBanner/ui/Title.d.ts +0 -10
- package/dist/widgets/longBanner/ui/index.d.ts +0 -3
- package/dist/widgets/pageHeader/PageHeader.d.ts +0 -2
- package/dist/widgets/pageHeader/index.d.ts +0 -1
- package/dist/widgets/pageHeader/model/helpers.d.ts +0 -2
- package/dist/widgets/pageHeader/model/types.d.ts +0 -25
- package/dist/widgets/stepper/Stepper.d.ts +0 -18
- package/dist/widgets/stepper/index.d.ts +0 -1
- package/dist/widgets/stepper/model/types.d.ts +0 -11
- package/dist/widgets/stepper/ui/SingleStep.d.ts +0 -9
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './BrandLogos';
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
export interface BreadcrumbLink {
|
|
3
|
-
label: string | ReactElement;
|
|
4
|
-
path: string;
|
|
5
|
-
isDisabled?: boolean;
|
|
6
|
-
}
|
|
7
|
-
interface BreadcrumbLinkWithoutPath {
|
|
8
|
-
label: string;
|
|
9
|
-
isDisabled?: boolean;
|
|
10
|
-
}
|
|
11
|
-
export type LinksList = [...BreadcrumbLink[], BreadcrumbLinkWithoutPath];
|
|
12
|
-
export interface BreadcrumbsProps {
|
|
13
|
-
linksList: LinksList;
|
|
14
|
-
}
|
|
15
|
-
export declare const Breadcrumbs: ({ linksList }: BreadcrumbsProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Breadcrumbs';
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { ComponentProps, ReactElement } from 'react';
|
|
2
|
-
import { VariantProps } from 'class-variance-authority';
|
|
3
|
-
declare const buttonConfig: (props?: ({
|
|
4
|
-
intent?: "primary" | "secondary" | "ghost" | "negative" | null | undefined;
|
|
5
|
-
size?: "sm" | "md" | "lg" | null | undefined;
|
|
6
|
-
textFormat?: "capitalize" | "uppercase" | "lowercase" | "initial" | null | undefined;
|
|
7
|
-
isFull?: boolean | null | undefined;
|
|
8
|
-
isLoading?: boolean | null | undefined;
|
|
9
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
10
|
-
export type ButtonConfig = VariantProps<typeof buttonConfig>;
|
|
11
|
-
export interface ButtonProps extends ComponentProps<'button'>, ButtonConfig {
|
|
12
|
-
iconLeft?: ReactElement;
|
|
13
|
-
iconRight?: ReactElement;
|
|
14
|
-
isLoading?: boolean;
|
|
15
|
-
}
|
|
16
|
-
export declare const Button: import('react').ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>>;
|
|
17
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Button, type ButtonProps } from './Button';
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { ComponentProps, ReactElement } from 'react';
|
|
2
|
-
import { VariantProps } from 'class-variance-authority';
|
|
3
|
-
type ButtonClasses = {
|
|
4
|
-
button: string;
|
|
5
|
-
icon: string;
|
|
6
|
-
};
|
|
7
|
-
declare const buttonConfig: (props?: ({
|
|
8
|
-
intent?: "primary" | "secondary" | "ghost" | null | undefined;
|
|
9
|
-
size?: "sm" | "md" | "lg" | null | undefined;
|
|
10
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
11
|
-
type ButtonProps = VariantProps<typeof buttonConfig>;
|
|
12
|
-
export interface IButtonIconProps extends Omit<ComponentProps<'button'>, 'className'>, ButtonProps {
|
|
13
|
-
children: ReactElement;
|
|
14
|
-
classes?: Partial<ButtonClasses>;
|
|
15
|
-
}
|
|
16
|
-
export declare const ButtonIcon: import('react').ForwardRefExoticComponent<Omit<IButtonIconProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>>;
|
|
17
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './ButtonIcon';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { DetailedHTMLProps, HTMLAttributes, JSX } from 'react';
|
|
2
|
-
import { DayPickerProps } from 'react-day-picker';
|
|
3
|
-
import { SelectOptions } from './ui';
|
|
4
|
-
type CalendarProps = DayPickerProps & {
|
|
5
|
-
navigation?: boolean;
|
|
6
|
-
renderFooter?: (props: DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => JSX.Element | string;
|
|
7
|
-
selectOptions?: SelectOptions;
|
|
8
|
-
disabledAfterToday?: boolean;
|
|
9
|
-
};
|
|
10
|
-
export declare const Calendar: ({ classNames, showOutsideDays, navigation, renderFooter, selectOptions, className, disabledAfterToday, ...props }: CalendarProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './utils';
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
export declare const DATE_VISIBLE_PATTERN = "dd.MM.yyyy";
|
|
2
|
-
/**
|
|
3
|
-
* Форматирование объекта даты в читаемую строку
|
|
4
|
-
* @example
|
|
5
|
-
* new Date() -> '10.10.2024'
|
|
6
|
-
* @param {Date} date
|
|
7
|
-
* @param {string} locale
|
|
8
|
-
* @returns Форматированная строка
|
|
9
|
-
*/
|
|
10
|
-
export declare const formatDateToLocaleString: (date: Date, locale?: string) => string;
|
|
11
|
-
/**
|
|
12
|
-
* Форматирование объекта даты в читаемую строку года
|
|
13
|
-
* @example
|
|
14
|
-
* new Date() -> '2024'
|
|
15
|
-
* @param {Date} date
|
|
16
|
-
* @param {string} locale
|
|
17
|
-
* @returns Форматированная строка
|
|
18
|
-
*/
|
|
19
|
-
export declare const formatDateToYearString: (date: Date, locale?: string) => string;
|
|
20
|
-
/**
|
|
21
|
-
* Форматирование объекта даты в читаемую строку месяца
|
|
22
|
-
* @example
|
|
23
|
-
* new Date() -> 'декабрь'
|
|
24
|
-
* @param date
|
|
25
|
-
* @param locale
|
|
26
|
-
*/
|
|
27
|
-
export declare const formatDateToMonthString: (date: Date, locale?: string) => string;
|
|
28
|
-
export declare const defaultClassNames: {
|
|
29
|
-
today: string;
|
|
30
|
-
outside: string;
|
|
31
|
-
selected: string;
|
|
32
|
-
range_outer: string;
|
|
33
|
-
range_middle: string;
|
|
34
|
-
day: string;
|
|
35
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ClassAttributes, TdHTMLAttributes } from 'react';
|
|
2
|
-
import { CalendarDay, Modifiers } from 'react-day-picker';
|
|
3
|
-
type DayProps = ClassAttributes<HTMLTableCellElement> & TdHTMLAttributes<HTMLTableCellElement> & {
|
|
4
|
-
day: CalendarDay;
|
|
5
|
-
modifiers: Modifiers;
|
|
6
|
-
disabledAfterToday?: boolean;
|
|
7
|
-
};
|
|
8
|
-
export declare const Day: ({ className, day, children, disabledAfterToday, ...props }: DayProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ButtonHTMLAttributes, ClassAttributes } from 'react';
|
|
2
|
-
import { CalendarDay, Modifiers } from 'react-day-picker';
|
|
3
|
-
type DayButtonProps = ClassAttributes<HTMLButtonElement> & ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
4
|
-
day: CalendarDay;
|
|
5
|
-
modifiers: Modifiers;
|
|
6
|
-
};
|
|
7
|
-
export declare const DayButton: ({ className, ...props }: DayButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { DetailedHTMLProps, HTMLAttributes, JSX } from 'react';
|
|
2
|
-
type FooterProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
3
|
-
render: (props: DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => JSX.Element | string;
|
|
4
|
-
};
|
|
5
|
-
export declare const Footer: ({ render, ...props }: FooterProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ClassAttributes, HTMLAttributes } from 'react';
|
|
2
|
-
import { CalendarMonth } from 'react-day-picker';
|
|
3
|
-
import { SelectOptions } from './model';
|
|
4
|
-
type MonthCaptionProps = ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement> & {
|
|
5
|
-
calendarMonth: CalendarMonth;
|
|
6
|
-
displayIndex: number;
|
|
7
|
-
selectOptions?: SelectOptions | false;
|
|
8
|
-
};
|
|
9
|
-
export declare const MonthCaption: ({ calendarMonth, displayIndex, className, selectOptions, ...props }: MonthCaptionProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export {};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { DetailedHTMLProps, ThHTMLAttributes } from 'react';
|
|
2
|
-
type WeekdayProps = DetailedHTMLProps<ThHTMLAttributes<HTMLTableCellElement>, HTMLTableCellElement>;
|
|
3
|
-
export declare const Weekday: ({ className, children, ...props }: WeekdayProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export { DayButton } from './DayButton';
|
|
2
|
-
export { Weekday } from './Weekday';
|
|
3
|
-
export { Day } from './Day';
|
|
4
|
-
export { Footer } from './Footer';
|
|
5
|
-
export { Navigation } from './Navigation';
|
|
6
|
-
export { MonthCaption } from './MonthCaption';
|
|
7
|
-
export type { SelectOptions } from './model';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { SelectOptions } from '..';
|
|
2
|
-
export declare const weekdays: {
|
|
3
|
-
пн: boolean;
|
|
4
|
-
вт: boolean;
|
|
5
|
-
ср: boolean;
|
|
6
|
-
чт: boolean;
|
|
7
|
-
пт: boolean;
|
|
8
|
-
сб: boolean;
|
|
9
|
-
вс: boolean;
|
|
10
|
-
};
|
|
11
|
-
export declare const getYearsFrom: (startFrom?: number, order?: string) => number[];
|
|
12
|
-
export declare const getMonthsFrom: (startFrom?: number, order?: string) => number[];
|
|
13
|
-
export declare const defaultSelectOptions: SelectOptions;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes } from 'react';
|
|
2
|
-
import { CalendarMonth } from 'react-day-picker';
|
|
3
|
-
type SelectDateProps = HTMLAttributes<HTMLDivElement> & {
|
|
4
|
-
dates: number[];
|
|
5
|
-
currentMonth: CalendarMonth;
|
|
6
|
-
onMonthChange: (month: Date) => void;
|
|
7
|
-
mode: 'month' | 'year';
|
|
8
|
-
disabled?: boolean;
|
|
9
|
-
open: boolean;
|
|
10
|
-
onOpenChange: () => void;
|
|
11
|
-
};
|
|
12
|
-
export declare const SelectDate: ({ dates, currentMonth, onMonthChange, className, open, onOpenChange, mode, disabled, ...props }: SelectDateProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { SelectDate } from './SelectDate';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef } from 'react';
|
|
2
|
-
import { motion } from 'framer-motion';
|
|
3
|
-
type SelectListProps = Omit<ComponentPropsWithoutRef<typeof motion.ul>, 'onSelect'> & {
|
|
4
|
-
dates: number[];
|
|
5
|
-
selected: Date;
|
|
6
|
-
onSelect: (date: Date) => void;
|
|
7
|
-
mode: 'month' | 'year';
|
|
8
|
-
};
|
|
9
|
-
export declare const SelectList: ({ dates, selected, onSelect, className, mode, ...props }: SelectListProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ButtonHTMLAttributes } from 'react';
|
|
2
|
-
type TriggerProps = Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'children'> & {
|
|
3
|
-
currentDate: Date;
|
|
4
|
-
mode: 'year' | 'month';
|
|
5
|
-
open: boolean;
|
|
6
|
-
onOpenChange: () => void;
|
|
7
|
-
};
|
|
8
|
-
export declare const Trigger: ({ currentDate, mode, className, open, onOpenChange, ...props }: TriggerProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export {};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { ComponentProps } from 'react';
|
|
2
|
-
import { VariantProps } from 'class-variance-authority';
|
|
3
|
-
import { AllowedIcons } from '..';
|
|
4
|
-
declare const customLinkConfig: (props?: ({
|
|
5
|
-
intent?: "blue" | "white" | "dark" | null | undefined;
|
|
6
|
-
withUnderline?: boolean | null | undefined;
|
|
7
|
-
disabled?: boolean | null | undefined;
|
|
8
|
-
size?: "sm" | "md" | null | undefined;
|
|
9
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
10
|
-
type CustomLinkClasses = {
|
|
11
|
-
link?: string;
|
|
12
|
-
icon?: string;
|
|
13
|
-
};
|
|
14
|
-
type CustomLinkConfig = VariantProps<typeof customLinkConfig>;
|
|
15
|
-
export interface CustomLinkProps extends CustomLinkConfig, Omit<ComponentProps<'a'>, 'className'> {
|
|
16
|
-
icon?: AllowedIcons;
|
|
17
|
-
classes?: CustomLinkClasses;
|
|
18
|
-
}
|
|
19
|
-
export declare const CustomLink: ({ intent, children, disabled, size, icon, classes, withUnderline, ...props }: CustomLinkProps) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './CustomLink';
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { VariantProps } from 'class-variance-authority';
|
|
3
|
-
declare const iconConfig: (props?: ({
|
|
4
|
-
intent?: "outline" | "filled" | null | undefined;
|
|
5
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
6
|
-
type IconConfig = VariantProps<typeof iconConfig>;
|
|
7
|
-
export interface DocumentProps extends IconConfig {
|
|
8
|
-
text: string | ReactElement;
|
|
9
|
-
size: number;
|
|
10
|
-
sizeType: 'КБ' | 'МБ';
|
|
11
|
-
href: string;
|
|
12
|
-
}
|
|
13
|
-
export declare const Document: ({ text, size, sizeType, href, intent }: DocumentProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Document';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ButtonProps } from '..';
|
|
2
|
-
type FloatButtonClasses = {
|
|
3
|
-
root?: string;
|
|
4
|
-
button?: string;
|
|
5
|
-
};
|
|
6
|
-
export interface FloatButtonProps {
|
|
7
|
-
isVisible: boolean;
|
|
8
|
-
classes?: FloatButtonClasses;
|
|
9
|
-
children: React.ReactElement;
|
|
10
|
-
buttonProps?: ButtonProps;
|
|
11
|
-
}
|
|
12
|
-
export declare const FloatButton: ({ isVisible, classes, children, buttonProps }: FloatButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './FloatButton';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Control, FieldValues, Path, UseControllerProps } from 'react-hook-form';
|
|
2
|
-
import { AutocompleteBaseProps } from '../../..';
|
|
3
|
-
export type AutocompleteControlProps<TFieldValues extends FieldValues, T, TName extends Path<TFieldValues> = Path<TFieldValues>> = UseControllerProps<TFieldValues, TName> & Omit<AutocompleteBaseProps<T>, 'classes'> & {
|
|
4
|
-
control: Control<TFieldValues>;
|
|
5
|
-
helperText?: string;
|
|
6
|
-
classes?: AutocompleteBaseProps<T>['classes'] & {
|
|
7
|
-
container?: string;
|
|
8
|
-
message?: string;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
export declare const AutocompleteControl: <TFieldValues extends FieldValues, T>({ control, name, defaultValue, disabled, helperText, rules, shouldUnregister, classes, immediate, ...props }: AutocompleteControlProps<TFieldValues, T>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { AutocompleteControl, type AutocompleteControlProps } from './Autocomplete';
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { Control, FieldPath, FieldValues, UseControllerProps } from 'react-hook-form';
|
|
2
|
-
import { CheckboxBaseProps } from '../../uncontrolled';
|
|
3
|
-
type CheckboxControlClasses = CheckboxBaseProps['classes'] & {
|
|
4
|
-
container?: string;
|
|
5
|
-
message?: string;
|
|
6
|
-
label?: string;
|
|
7
|
-
};
|
|
8
|
-
type CheckboxControlProps<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> = UseControllerProps<TFieldValues, TName> & Omit<CheckboxBaseProps, 'classes'> & {
|
|
9
|
-
/**
|
|
10
|
-
* Контрол объект для управления полем
|
|
11
|
-
*/
|
|
12
|
-
control: Control<TFieldValues>;
|
|
13
|
-
/**
|
|
14
|
-
* Отображаемый лейбл
|
|
15
|
-
*/
|
|
16
|
-
children: React.ReactElement | string;
|
|
17
|
-
/**
|
|
18
|
-
* Дополнительные стили компонента
|
|
19
|
-
*/
|
|
20
|
-
classes?: CheckboxControlClasses;
|
|
21
|
-
/**
|
|
22
|
-
* Дополнительный текст
|
|
23
|
-
*/
|
|
24
|
-
helperText?: string;
|
|
25
|
-
};
|
|
26
|
-
export declare const CheckboxControl: <TFieldValues extends FieldValues = FieldValues>({ control, classes, className, name, rules, shouldUnregister, defaultValue, disabled, children, helperText, ...props }: CheckboxControlProps<TFieldValues>) => import("react/jsx-runtime").JSX.Element;
|
|
27
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { CheckboxControl } from './CheckboxControl';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { FieldValues } from 'react-hook-form';
|
|
2
|
-
import { AutocompleteControlProps } from '../../autocomplete';
|
|
3
|
-
import { IDadataCacheOption } from '../types';
|
|
4
|
-
import { SelectItemOption } from '../../../..';
|
|
5
|
-
/**
|
|
6
|
-
* DADATA_BASE_CACHE_URL - нужно использовать этот url
|
|
7
|
-
*/
|
|
8
|
-
export declare const DadataAddress: <TFieldValues extends FieldValues>({ formatter, dadataBaseUrl, ...props }: Omit<AutocompleteControlProps<TFieldValues, IDadataCacheOption<unknown>>, "query" | "formatter"> & {
|
|
9
|
-
dadataBaseUrl: string;
|
|
10
|
-
formatter?: (item: IDadataCacheOption<unknown>) => SelectItemOption;
|
|
11
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { DadataAddress } from './DadataAddress';
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
-
import { IDadataCacheOption } from '../types';
|
|
3
|
-
export declare const useDadataQueryAddress: (query: string, dadataBaseUrl: string, options?: Partial<UseQueryOptions<IDadataCacheOption<unknown>[]>>) => import('@tanstack/react-query').UseQueryResult<IDadataCacheOption<unknown>[], Error>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { FieldValues } from 'react-hook-form';
|
|
2
|
-
import { AutocompleteControlProps } from '../../autocomplete';
|
|
3
|
-
import { IDadataAutoOption } from '../types';
|
|
4
|
-
import { SelectItemOption } from '../../../..';
|
|
5
|
-
/**
|
|
6
|
-
* DADATA_BASE_CONSTANTS_URL - нужно использовать этот url
|
|
7
|
-
*/
|
|
8
|
-
export declare const DadataAuto: <TFieldValues extends FieldValues>({ formatter, dadataBaseUrl, ...props }: Omit<AutocompleteControlProps<TFieldValues, IDadataAutoOption>, "query" | "formatter"> & {
|
|
9
|
-
dadataBaseUrl: string;
|
|
10
|
-
formatter?: (item: IDadataAutoOption) => SelectItemOption;
|
|
11
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { DadataAuto } from './DadataAuto';
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
-
import { IDadataAutoOption } from '../types';
|
|
3
|
-
export declare const useDadataQueryAuto: (query: string, dadataBaseUrl: string, options?: Partial<UseQueryOptions<IDadataAutoOption[]>>) => import('@tanstack/react-query').UseQueryResult<IDadataAutoOption[], Error>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { FieldValues } from 'react-hook-form';
|
|
2
|
-
import { AutocompleteControlProps } from '../../autocomplete';
|
|
3
|
-
import { IDadataCountryOption } from '../types';
|
|
4
|
-
import { SelectItemOption } from '../../../..';
|
|
5
|
-
/**
|
|
6
|
-
* DADATA_BASE_CONSTANTS_URL - нужно использовать этот url
|
|
7
|
-
*/
|
|
8
|
-
export declare const DadataCountry: <TFieldValues extends FieldValues>({ formatter, dadataBaseUrl, ...props }: Omit<AutocompleteControlProps<TFieldValues, IDadataCountryOption>, "query" | "formatter"> & {
|
|
9
|
-
dadataBaseUrl: string;
|
|
10
|
-
formatter?: (item: IDadataCountryOption) => SelectItemOption;
|
|
11
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { DadataCountry } from './DadataCountry';
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
-
import { IDadataCountryOption } from '../types';
|
|
3
|
-
export declare const useDadataQueryCountry: (query: string, dadataBaseUrl: string, options?: Partial<UseQueryOptions<IDadataCountryOption[]>>) => import('@tanstack/react-query').UseQueryResult<IDadataCountryOption[], Error>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { FieldValues } from 'react-hook-form';
|
|
2
|
-
import { AutocompleteControlProps } from '../../autocomplete';
|
|
3
|
-
import { IDadataCacheOption } from '../types';
|
|
4
|
-
import { SelectItemOption } from '../../../..';
|
|
5
|
-
/**
|
|
6
|
-
* DADATA_BASE_CACHE_URL - нужно использовать этот url
|
|
7
|
-
*/
|
|
8
|
-
export declare const DadataFio: <TFieldValues extends FieldValues>({ formatter, dadataBaseUrl, ...props }: Omit<AutocompleteControlProps<TFieldValues, IDadataCacheOption<unknown>>, "query" | "formatter"> & {
|
|
9
|
-
dadataBaseUrl: string;
|
|
10
|
-
formatter?: (item: IDadataCacheOption<unknown>) => SelectItemOption;
|
|
11
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { DadataFio } from './DadataFio';
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
-
import { IDadataCacheOption } from '../types';
|
|
3
|
-
export declare const useDadataQueryFio: (query: string, dadataBaseUrl: string, options?: Partial<UseQueryOptions<IDadataCacheOption<unknown>[]>>) => import('@tanstack/react-query').UseQueryResult<IDadataCacheOption<unknown>[], Error>;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import { TDadataReturn, TDadataType } from './types';
|
|
2
|
-
export declare const getDataByDadataType: <T>(dadataType: TDadataType, data: TDadataReturn<T>) => import('./types').IDadataCountryOption[] | import('./types').IDadataAutoOption[] | import('./types').IDadataCacheOption<T>[];
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { FieldValues } from 'react-hook-form';
|
|
2
|
-
import { AutocompleteControlProps } from '../../autocomplete';
|
|
3
|
-
import { IDadataOrganizationOption } from '../types';
|
|
4
|
-
import { SelectItemOption } from '../../../..';
|
|
5
|
-
/**
|
|
6
|
-
* DADATA_BASE_CACHE_URL - нужно использовать этот url
|
|
7
|
-
*/
|
|
8
|
-
export declare const DadataOrganization: <TFieldValues extends FieldValues>({ formatter, dadataBaseUrl, ...props }: Omit<AutocompleteControlProps<TFieldValues, IDadataOrganizationOption>, "query" | "formatter"> & {
|
|
9
|
-
dadataBaseUrl: string;
|
|
10
|
-
formatter?: (item: IDadataOrganizationOption) => SelectItemOption;
|
|
11
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { DadataOrganization } from './DadataOrganization';
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
-
import { IDadataOrganizationOption } from '../types';
|
|
3
|
-
export declare const useDadataQueryParty: (query: string, dadataBaseUrl: string, options?: Partial<UseQueryOptions<IDadataOrganizationOption[]>>) => import('@tanstack/react-query').UseQueryResult<IDadataOrganizationOption[], Error>;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
export type TDadataType = 'address' | 'fio' | 'country' | 'auto' | 'party';
|
|
2
|
-
export interface IDadataCountryOption {
|
|
3
|
-
id: number;
|
|
4
|
-
country_name: string;
|
|
5
|
-
}
|
|
6
|
-
export interface IDadataConstantsCountrySuggestion {
|
|
7
|
-
matches: IDadataCountryOption[];
|
|
8
|
-
}
|
|
9
|
-
export interface IDadataAutoOption {
|
|
10
|
-
id: number;
|
|
11
|
-
mark: string;
|
|
12
|
-
model: string;
|
|
13
|
-
model_mark: string;
|
|
14
|
-
year_max: string;
|
|
15
|
-
year_min: string;
|
|
16
|
-
}
|
|
17
|
-
export interface IDadataConstantsAutoSuggestion {
|
|
18
|
-
matches: IDadataAutoOption[];
|
|
19
|
-
}
|
|
20
|
-
export interface IDadataCacheOption<T> {
|
|
21
|
-
value: string;
|
|
22
|
-
unrestricted_value: string;
|
|
23
|
-
data: T;
|
|
24
|
-
}
|
|
25
|
-
export interface IDadataCacheSuggestion<T> {
|
|
26
|
-
suggestions: IDadataCacheOption<T>[];
|
|
27
|
-
}
|
|
28
|
-
export interface IDadataOrganizationOption {
|
|
29
|
-
value: string;
|
|
30
|
-
unrestricted_value: string;
|
|
31
|
-
data: {
|
|
32
|
-
inn: 'string';
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
export type TDadataReturn<T> = IDadataConstantsCountrySuggestion | IDadataCacheSuggestion<T> | IDadataConstantsAutoSuggestion;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { Control, FieldPath, FieldValues, UseControllerProps } from 'react-hook-form';
|
|
2
|
-
import { Calendar, MaskInputProps } from '../../..';
|
|
3
|
-
type CalendarProps = React.ComponentPropsWithoutRef<typeof Calendar>;
|
|
4
|
-
type DayPickerControlClasses = MaskInputProps['classes'] & {
|
|
5
|
-
message?: string;
|
|
6
|
-
};
|
|
7
|
-
export type ExternalHandlers = {
|
|
8
|
-
onChange?: (value: string) => void;
|
|
9
|
-
onClick?: (event: React.MouseEvent<HTMLInputElement>) => void;
|
|
10
|
-
onFocus?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
|
11
|
-
onBlur?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
|
12
|
-
};
|
|
13
|
-
export type DayPickerControlProps<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> = UseControllerProps<TFieldValues, TName> & Omit<CalendarProps, 'selected' | 'onSelect' | 'mode'> & {
|
|
14
|
-
/**
|
|
15
|
-
* Контрол объект для управления полем
|
|
16
|
-
*/
|
|
17
|
-
control: Control<TFieldValues>;
|
|
18
|
-
/**
|
|
19
|
-
* Свойства отображаемого Input поля
|
|
20
|
-
*/
|
|
21
|
-
inputProps: Omit<MaskInputProps, 'mask'>;
|
|
22
|
-
/**
|
|
23
|
-
* Дополнительный текст
|
|
24
|
-
*/
|
|
25
|
-
helperText?: string;
|
|
26
|
-
/**
|
|
27
|
-
* Дополнительные стили компонента
|
|
28
|
-
*/
|
|
29
|
-
classes?: DayPickerControlClasses;
|
|
30
|
-
/**
|
|
31
|
-
* Дополнительные хендлеры
|
|
32
|
-
*/
|
|
33
|
-
externalHandlers?: ExternalHandlers;
|
|
34
|
-
};
|
|
35
|
-
export declare const DayPickerControl: <T extends FieldValues = FieldValues>({ control, name, disabled, rules, shouldUnregister, defaultValue, inputProps, helperText, classes, ...props }: DayPickerControlProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
36
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { DayPickerControl } from './dayPickerControl';
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { DateRange } from 'react-day-picker';
|
|
2
|
-
type IsoDateRange = {
|
|
3
|
-
from?: string;
|
|
4
|
-
to?: string;
|
|
5
|
-
};
|
|
6
|
-
/**
|
|
7
|
-
* Функция для получения инит состояния поля ввода
|
|
8
|
-
* @param mode режим календаря (single | range)
|
|
9
|
-
* @param value текущее состояние поля
|
|
10
|
-
*/
|
|
11
|
-
export declare function getInitialValue(mode: 'single', value?: string): string;
|
|
12
|
-
export declare function getInitialValue(mode: 'range', value?: IsoDateRange): string;
|
|
13
|
-
export declare function getInitialValue(mode: 'multiple', value?: IsoDateRange): string;
|
|
14
|
-
/**
|
|
15
|
-
* Функция для получения объекта даты по текущему состоянию
|
|
16
|
-
* @param mode режим календаря (single | range)
|
|
17
|
-
* @param value текущее состояние поля
|
|
18
|
-
*
|
|
19
|
-
* @returns Date если mode 'single'
|
|
20
|
-
* @returns DateRange если mode 'range'
|
|
21
|
-
*/
|
|
22
|
-
export declare function getCurrentDate(mode: 'single', value?: string): Date;
|
|
23
|
-
export declare function getCurrentDate(mode: 'range', value?: IsoDateRange): DateRange;
|
|
24
|
-
export declare function getCurrentDate(mode: 'multiple', value?: IsoDateRange): Date;
|
|
25
|
-
export {};
|