prlg-ui 1.8.349 → 1.8.351
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/dist/FileIcon-BE4ItwkK.cjs +1 -0
- package/dist/{FileIcon-HZoAz7EV.js → FileIcon-maHE2Nhr.js} +3 -3
- package/dist/{Image-CZaZueXh.js → Image-Ctgju863.js} +1 -1
- package/dist/{Image-Y7A5XzY0.cjs → Image-DLJh4B68.cjs} +1 -1
- package/dist/{QuestionIcon-D5aRnTV8.cjs → QuestionIcon-6GiQdzqJ.cjs} +1 -1
- package/dist/{QuestionIcon-Ck2NaaA1.js → QuestionIcon-C4O35j-7.js} +1 -1
- package/dist/{SendIcon-BRda3HxK.cjs → SendIcon-CH6S0QWh.cjs} +1 -1
- package/dist/{SendIcon-CDG1dCdN.js → SendIcon-Cqdt2QWN.js} +1 -1
- package/dist/{StarIcon-jHC6Ci-l.cjs → StarIcon-DNs-9ufZ.cjs} +1 -1
- package/dist/{StarIcon-ClOT3DK3.js → StarIcon-LrRNM_ak.js} +1 -1
- package/dist/{WarningFillIcon-Bl54oLiN.cjs → WarningFillIcon-BNEZgAf-.cjs} +1 -1
- package/dist/{WarningFillIcon-BWcRrdr7.js → WarningFillIcon-CEGT-_cr.js} +1 -1
- package/dist/app/blocks/BonusSummary/BonusSummary.d.ts +2 -0
- package/dist/app/blocks/BonusSummary/BonusSummary.stories.d.ts +6 -0
- package/dist/app/blocks/BonusSummary/index.d.ts +3 -0
- package/dist/app/blocks/Chat/ChatField/ChatField.d.ts +25 -0
- package/dist/app/blocks/Chat/ChatField/ChatField.stories.d.ts +6 -0
- package/dist/app/blocks/Chat/ChatField/ChatFieldActions.d.ts +17 -0
- package/dist/app/blocks/Chat/ChatField/ChatFile.d.ts +9 -0
- package/dist/app/blocks/Chat/ChatField/index.d.ts +2 -0
- package/dist/app/blocks/Chat/ChatField/uploadFile.d.ts +25 -0
- package/dist/app/blocks/index.d.ts +2 -0
- package/dist/app/components/Buttons/Button/Button.d.ts +18 -0
- package/dist/app/components/Buttons/Button/Button.stories.d.ts +16 -0
- package/dist/app/components/Buttons/Button/Button.types.d.ts +15 -0
- package/dist/app/components/Buttons/Button/index.d.ts +3 -0
- package/dist/app/components/Buttons/SleedDeal/SleedDeal.d.ts +67 -0
- package/dist/app/components/Buttons/SleedDeal/SleedDeal.stories.d.ts +6 -0
- package/dist/app/components/Buttons/SleedDeal/index.d.ts +3 -0
- package/dist/app/components/ColorPalette/ColorPalette.d.ts +7 -0
- package/dist/app/components/ColorPalette/ColorPalette.stories.d.ts +9 -0
- package/dist/app/components/ColorPalette/ColorSwatch.d.ts +11 -0
- package/dist/app/components/Data/DataTable/Column.d.ts +18 -0
- package/dist/app/components/Data/DataTable/DataTable.d.ts +112 -0
- package/dist/app/components/Data/DataTable/Table.stories.d.ts +11 -0
- package/dist/app/components/Data/DataTable/entities/TableBody.d.ts +21 -0
- package/dist/app/components/Data/DataTable/entities/TableCell.d.ts +18 -0
- package/dist/app/components/Data/DataTable/entities/TableFooter.d.ts +19 -0
- package/dist/app/components/Data/DataTable/entities/TableHeader.d.ts +10 -0
- package/dist/app/components/Data/DataTable/entities/TableRow.d.ts +29 -0
- package/dist/app/components/Data/DataTable/feature/DescriptionColumn.d.ts +5 -0
- package/dist/app/components/Data/DataTable/feature/SortButton.d.ts +10 -0
- package/dist/app/components/Data/DataTable/index.d.ts +3 -0
- package/dist/app/components/Data/DataTable/shared/composables/rowGrouping.d.ts +5 -0
- package/dist/app/components/Data/DataTable/shared/composables/setupColumn.d.ts +6436 -0
- package/dist/app/components/Data/DataTable/shared/types/Column.types.d.ts +52 -0
- package/dist/app/components/Data/DataTable/shared/types/Options.types.d.ts +11 -0
- package/dist/app/components/Data/DataTable/shared/types/Table.types.d.ts +58 -0
- package/dist/app/components/Data/DataTable/shared/types/TableBody.types.d.ts +22 -0
- package/dist/app/components/Data/DataTable/shared/types/TableHeader.types.d.ts +10 -0
- package/dist/app/components/Data/Paginator/Paginator.d.ts +14 -0
- package/dist/app/components/Data/Paginator/Paginator.stories.d.ts +6 -0
- package/dist/app/components/Data/Paginator/Paginator.types.d.ts +7 -0
- package/dist/app/components/Data/Paginator/index.d.ts +3 -0
- package/dist/app/components/Data/Table/Table.d.ts +56 -0
- package/dist/app/components/Data/Table/Table.stories.d.ts +41 -0
- package/dist/app/components/Data/Table/index.d.ts +4 -0
- package/dist/app/components/Data/Table/shared/mock/OrderStatus/OrderStatus.d.ts +6 -0
- package/dist/app/components/Data/Table/shared/mock/OrderStatus/constants.d.ts +9 -0
- package/dist/app/components/Data/Table/shared/mock/OrderStatus/icons/accepted.d.ts +2 -0
- package/dist/app/components/Data/Table/shared/mock/OrderStatus/icons/approval.d.ts +2 -0
- package/dist/app/components/Data/Table/shared/mock/OrderStatus/icons/assembled.d.ts +2 -0
- package/dist/app/components/Data/Table/shared/mock/OrderStatus/icons/awaitingPayment.d.ts +2 -0
- package/dist/app/components/Data/Table/shared/mock/OrderStatus/icons/cancelled.d.ts +2 -0
- package/dist/app/components/Data/Table/shared/mock/OrderStatus/icons/complaint.d.ts +2 -0
- package/dist/app/components/Data/Table/shared/mock/OrderStatus/icons/confirmation.d.ts +2 -0
- package/dist/app/components/Data/Table/shared/mock/OrderStatus/icons/dedlineChanged.d.ts +2 -0
- package/dist/app/components/Data/Table/shared/mock/OrderStatus/icons/delayDelivery.d.ts +2 -0
- package/dist/app/components/Data/Table/shared/mock/OrderStatus/icons/documentsIssued.d.ts +2 -0
- package/dist/app/components/Data/Table/shared/mock/OrderStatus/icons/error.d.ts +2 -0
- package/dist/app/components/Data/Table/shared/mock/OrderStatus/icons/handedShipment.d.ts +2 -0
- package/dist/app/components/Data/Table/shared/mock/OrderStatus/icons/index.d.ts +26 -0
- package/dist/app/components/Data/Table/shared/mock/OrderStatus/icons/orderSupplier.d.ts +2 -0
- package/dist/app/components/Data/Table/shared/mock/OrderStatus/icons/orderedSupplier.d.ts +2 -0
- package/dist/app/components/Data/Table/shared/mock/OrderStatus/icons/paid.d.ts +2 -0
- package/dist/app/components/Data/Table/shared/mock/OrderStatus/icons/readyPickup.d.ts +2 -0
- package/dist/app/components/Data/Table/shared/mock/OrderStatus/icons/readyShipment.d.ts +2 -0
- package/dist/app/components/Data/Table/shared/mock/OrderStatus/icons/receivedClient.d.ts +2 -0
- package/dist/app/components/Data/Table/shared/mock/OrderStatus/icons/reservedPayment.d.ts +2 -0
- package/dist/app/components/Data/Table/shared/mock/OrderStatus/icons/reservedShipment.d.ts +2 -0
- package/dist/app/components/Data/Table/shared/mock/OrderStatus/icons/returned.d.ts +2 -0
- package/dist/app/components/Data/Table/shared/mock/OrderStatus/icons/sentSupplier.d.ts +2 -0
- package/dist/app/components/Data/Table/shared/mock/OrderStatus/icons/transferAvailability.d.ts +2 -0
- package/dist/app/components/Data/Table/shared/mock/OrderStatus/icons/transferCustom.d.ts +2 -0
- package/dist/app/components/Data/Table/shared/mock/OrderStatus/icons/warning.d.ts +2 -0
- package/dist/app/components/Data/Table/shared/mock/mock-data.d.ts +101 -0
- package/dist/app/components/Form/Autocomplete/Autocomplete.d.ts +35 -0
- package/dist/app/components/Form/Autocomplete/Autocomplete.stories.d.ts +11 -0
- package/dist/app/components/Form/Autocomplete/Autocomplete.types.d.ts +31 -0
- package/dist/app/components/Form/Autocomplete/index.d.ts +2 -0
- package/dist/app/components/Form/Calendar/Calendar.composible.d.ts +13 -0
- package/dist/app/components/Form/Calendar/Calendar.d.ts +11 -0
- package/dist/app/components/Form/Calendar/Calendar.stories.d.ts +68 -0
- package/dist/app/components/Form/Calendar/Calendar.types.d.ts +97 -0
- package/dist/app/components/Form/Calendar/TimePicker.d.ts +14 -0
- package/dist/app/components/Form/Calendar/index.d.ts +2 -0
- package/dist/app/components/Form/Checkbox/Checkbox.d.ts +46 -0
- package/dist/app/components/Form/Checkbox/Checkbox.stories.d.ts +6 -0
- package/dist/app/components/Form/Checkbox/index.d.ts +3 -0
- package/dist/app/components/Form/ChipCheckbox/ChipCheckbox.d.ts +14 -0
- package/dist/app/components/Form/ChipCheckbox/ChipCheckbox.stories.d.ts +6 -0
- package/dist/app/components/Form/ChipCheckbox/index.d.ts +3 -0
- package/dist/app/components/Form/DatePicker/DatePicker.d.ts +38 -0
- package/dist/app/components/Form/DatePicker/DatePicker.stories.d.ts +67 -0
- package/dist/app/components/Form/DatePicker/DatePicker.types.d.ts +50 -0
- package/dist/app/components/Form/DatePicker/DatePicker.utils.d.ts +18 -0
- package/dist/app/components/Form/DatePicker/index.d.ts +2 -0
- package/dist/app/components/Form/Dropdown/Dropdown.d.ts +60 -0
- package/dist/app/components/Form/Dropdown/Dropdown.stories.d.ts +18 -0
- package/dist/app/components/Form/Dropdown/Dropdown.types.d.ts +30 -0
- package/dist/app/components/Form/Dropdown/index.d.ts +3 -0
- package/dist/app/components/Form/FormItem/FormItem.d.ts +29 -0
- package/dist/app/components/Form/FormItem/FormItem.stories.d.ts +9 -0
- package/dist/app/components/Form/FormItem/index.d.ts +1 -0
- package/dist/app/components/Form/IconField/IconField.d.ts +23 -0
- package/dist/app/components/Form/IconField/IconField.stories.d.ts +6 -0
- package/dist/app/components/Form/IconField/index.d.ts +3 -0
- package/dist/app/components/Form/InputMask/InputMask.d.ts +22 -0
- package/dist/app/components/Form/InputMask/InputMask.stories.d.ts +15 -0
- package/dist/app/components/Form/InputMask/index.d.ts +3 -0
- package/dist/app/components/Form/InputMask/useInputMask.d.ts +15 -0
- package/dist/app/components/Form/InputNumber/InputNumber.d.ts +22 -0
- package/dist/app/components/Form/InputNumber/InputNumber.stories.d.ts +6 -0
- package/dist/app/components/Form/InputNumber/index.d.ts +3 -0
- package/dist/app/components/Form/InputPhone/InputPhone.d.ts +9 -0
- package/dist/app/components/Form/InputPhone/InputPhone.stories.d.ts +6 -0
- package/dist/app/components/Form/InputPhone/InputPhone.types.d.ts +4 -0
- package/dist/app/components/Form/InputPhone/index.d.ts +3 -0
- package/dist/app/components/Form/InputText/InputText.d.ts +22 -0
- package/dist/app/components/Form/InputText/InputText.stories.d.ts +10 -0
- package/dist/app/components/Form/InputText/InputText.types.d.ts +19 -0
- package/dist/app/components/Form/InputText/index.d.ts +3 -0
- package/dist/app/components/Form/OTPCode/OTPCode.d.ts +33 -0
- package/dist/app/components/Form/OTPCode/OTPCode.stories.d.ts +15 -0
- package/dist/app/components/Form/OTPCode/OTPCode.types.d.ts +12 -0
- package/dist/app/components/Form/OTPCode/index.d.ts +2 -0
- package/dist/app/components/Form/RadioButton/Radio.d.ts +36 -0
- package/dist/app/components/Form/RadioButton/Radio.stories.d.ts +6 -0
- package/dist/app/components/Form/RadioButton/index.d.ts +3 -0
- package/dist/app/components/Form/Schedule/Schedule.d.ts +49 -0
- package/dist/app/components/Form/Schedule/Schedule.stories.d.ts +10 -0
- package/dist/app/components/Form/Schedule/Schedule.types.d.ts +32 -0
- package/dist/app/components/Form/Schedule/SheduleTimePick.d.ts +21 -0
- package/dist/app/components/Form/Schedule/index.d.ts +2 -0
- package/dist/app/components/Form/SelectButton/SelectButton.d.ts +28 -0
- package/dist/app/components/Form/SelectButton/SelectButton.stories.d.ts +9 -0
- package/dist/app/components/Form/SelectButton/SelectButton.types.d.ts +7 -0
- package/dist/app/components/Form/SelectButton/index.d.ts +3 -0
- package/dist/app/components/Form/StarRating/StarRating.d.ts +19 -0
- package/dist/app/components/Form/StarRating/StarRating.stories.d.ts +12 -0
- package/dist/app/components/Form/StarRating/index.d.ts +1 -0
- package/dist/app/components/Form/SwitchInput/Switch.d.ts +16 -0
- package/dist/app/components/Form/SwitchInput/Switch.stories.d.ts +6 -0
- package/dist/app/components/Form/SwitchInput/index.d.ts +3 -0
- package/dist/app/components/Form/Textarea/Textarea.d.ts +37 -0
- package/dist/app/components/Form/Textarea/Textarea.stories.d.ts +7 -0
- package/dist/app/components/Form/Textarea/index.d.ts +3 -0
- package/dist/app/components/Form/TimePicker/TimePicker.d.ts +48 -0
- package/dist/app/components/Form/TimePicker/TimePicker.stories.d.ts +11 -0
- package/dist/app/components/Form/TimePicker/TimePicker.types.d.ts +22 -0
- package/dist/app/components/Form/TimePicker/index.d.ts +2 -0
- package/dist/app/components/Form/TimeSelect/TimeSelect.d.ts +26 -0
- package/dist/app/components/Form/TimeSelect/TimeSelect.stories.d.ts +8 -0
- package/dist/app/components/Form/TimeSelect/index.d.ts +1 -0
- package/dist/app/components/Media/File/File.d.ts +19 -0
- package/dist/app/components/Media/File/File.stories.d.ts +8 -0
- package/dist/app/components/Media/File/index.d.ts +2 -0
- package/dist/app/components/Media/Image/Image.d.ts +37 -0
- package/dist/app/components/Media/Image/Image.stories.d.ts +9 -0
- package/dist/app/components/Media/Image/ImageFullModal.d.ts +9 -0
- package/dist/app/components/Media/Image/index.d.ts +2 -0
- package/dist/app/components/Menu/Breadcrumb/Breadcrumb.d.ts +6 -0
- package/dist/app/components/Menu/Breadcrumb/Breadcrumb.stories.d.ts +7 -0
- package/dist/app/components/Menu/Breadcrumb/index.d.ts +3 -0
- package/dist/app/components/Messages/Message/Message.d.ts +35 -0
- package/dist/app/components/Messages/Message/Message.stories.d.ts +8 -0
- package/dist/app/components/Messages/Message/index.d.ts +2 -0
- package/dist/app/components/Messages/Toast/Toast.d.ts +3 -0
- package/dist/app/components/Messages/Toast/ToastMessage.d.ts +10 -0
- package/dist/app/components/Messages/Toast/index.d.ts +5 -0
- package/dist/app/components/Messages/Toast/toast.stories.d.ts +6 -0
- package/dist/app/components/Messages/Toast/toast.types.d.ts +89 -0
- package/dist/app/components/Messages/Toast/toastEventBus/toastEventBus.d.ts +1 -0
- package/dist/app/components/Messages/Toast/toastService/toastService.d.ts +5 -0
- package/dist/app/components/Messages/Toast/toastService/toastService.types.d.ts +22 -0
- package/dist/app/components/Messages/Toast/useToast/useToast.d.ts +3 -0
- package/dist/app/components/Mics/Badge/Badge.d.ts +7 -0
- package/dist/app/components/Mics/Badge/Badge.stories.d.ts +10 -0
- package/dist/app/components/Mics/Badge/index.d.ts +3 -0
- package/dist/app/components/Mics/OverlayBadge/OverlayBadge.d.ts +27 -0
- package/dist/app/components/Mics/OverlayBadge/OverlayBadge.stories.d.ts +6 -0
- package/dist/app/components/Mics/OverlayBadge/index.d.ts +3 -0
- package/dist/app/components/Mics/Skeleton/Skeleton.d.ts +9 -0
- package/dist/app/components/Mics/Skeleton/Skeleton.stories.d.ts +6 -0
- package/dist/app/components/Mics/Skeleton/index.d.ts +3 -0
- package/dist/app/components/Mics/Spinner/Spinner.d.ts +8 -0
- package/dist/app/components/Mics/Spinner/Spinner.stories.d.ts +6 -0
- package/dist/app/components/Mics/Spinner/index.d.ts +4 -0
- package/dist/app/components/Mics/Spinner/spinner.directive.d.ts +10 -0
- package/dist/app/components/Mics/Tag/Tag.d.ts +29 -0
- package/dist/app/components/Mics/Tag/Tag.stories.d.ts +8 -0
- package/dist/app/components/Mics/Tag/index.d.ts +3 -0
- package/dist/app/components/Overlays/BottomSheet/BottomSheet.d.ts +30 -0
- package/dist/app/components/Overlays/BottomSheet/BottomSheet.stories.d.ts +9 -0
- package/dist/app/components/Overlays/BottomSheet/index.d.ts +1 -0
- package/dist/app/components/Overlays/ConfirmDialog/ConfirmDialog.d.ts +4 -0
- package/dist/app/components/Overlays/ConfirmDialog/ConfirmDialog.stories.d.ts +11 -0
- package/dist/app/components/Overlays/ConfirmDialog/index.d.ts +3 -0
- package/dist/app/components/Overlays/ConfirmDialog/useConfirmDialog.d.ts +8 -0
- package/dist/app/components/Overlays/ConfirmPopup/ConfirmPopup.d.ts +4 -0
- package/dist/app/components/Overlays/ConfirmPopup/ConfirmPopup.stories.d.ts +13 -0
- package/dist/app/components/Overlays/ConfirmPopup/index.d.ts +3 -0
- package/dist/app/components/Overlays/ConfirmPopup/useConfirmPopup.d.ts +8 -0
- package/dist/app/components/Overlays/ConfirmService/index.d.ts +3 -0
- package/dist/app/components/Overlays/ConfirmService/plugins/confirmService.d.ts +585 -0
- package/dist/app/components/Overlays/ConfirmService/types/index.d.ts +26 -0
- package/dist/app/components/Overlays/Drawer/Drawer.d.ts +34 -0
- package/dist/app/components/Overlays/Drawer/Drawer.stories.d.ts +15 -0
- package/dist/app/components/Overlays/Drawer/Drawer.types.d.ts +7 -0
- package/dist/app/components/Overlays/Drawer/index.d.ts +3 -0
- package/dist/app/components/Overlays/Modal/Modal.d.ts +39 -0
- package/dist/app/components/Overlays/Modal/Modal.stories.d.ts +8 -0
- package/dist/app/components/Overlays/Modal/index.d.ts +3 -0
- package/dist/app/components/Overlays/NewPopover/Popover.d.ts +29 -0
- package/dist/app/components/Overlays/NewPopover/Popover.stories.d.ts +6 -0
- package/dist/app/components/Overlays/NewPopover/index.d.ts +2 -0
- package/dist/app/components/Overlays/Popover/Popover.d.ts +109 -0
- package/dist/app/components/Overlays/Popover/index.d.ts +2 -0
- package/dist/app/components/Overlays/Popover/popover.stories.d.ts +12 -0
- package/dist/app/components/Overlays/Popover/popover.types.d.ts +15 -0
- package/dist/app/components/Overlays/Tooltip/Tooltip.d.ts +15 -0
- package/dist/app/components/Overlays/Tooltip/Tooltip.stories.d.ts +11 -0
- package/dist/app/components/Overlays/Tooltip/Tooltip.types.d.ts +10 -0
- package/dist/app/components/Overlays/Tooltip/index.d.ts +5 -0
- package/dist/app/components/Overlays/Tooltip/tooltipDirective.d.ts +15 -0
- package/dist/app/components/Panel/Accordion/Accordion.d.ts +26 -0
- package/dist/app/components/Panel/Accordion/Accordion.stories.d.ts +8 -0
- package/dist/app/components/Panel/Accordion/AccordionContent.d.ts +21 -0
- package/dist/app/components/Panel/Accordion/AccordionHeader.d.ts +17 -0
- package/dist/app/components/Panel/Accordion/AccordionPanel.d.ts +20 -0
- package/dist/app/components/Panel/Accordion/index.d.ts +5 -0
- package/dist/app/components/Panel/Divider/Divider.d.ts +23 -0
- package/dist/app/components/Panel/Divider/Divider.stories.d.ts +8 -0
- package/dist/app/components/Panel/Divider/index.d.ts +3 -0
- package/dist/app/components/Panel/Stepper/Step.d.ts +3 -0
- package/dist/app/components/Panel/Stepper/Step.types.d.ts +10 -0
- package/dist/app/components/Panel/Stepper/Stepper.d.ts +7 -0
- package/dist/app/components/Panel/Stepper/Stepper.stories.d.ts +6 -0
- package/dist/app/components/Panel/Stepper/Stepper.types.d.ts +21 -0
- package/dist/app/components/Panel/Stepper/index.d.ts +5 -0
- package/dist/app/components/Panel/Tabs/Tab.d.ts +20 -0
- package/dist/app/components/Panel/Tabs/TabList.d.ts +17 -0
- package/dist/app/components/Panel/Tabs/TabPanel.d.ts +20 -0
- package/dist/app/components/Panel/Tabs/TabPanels.d.ts +17 -0
- package/dist/app/components/Panel/Tabs/Tabs.d.ts +24 -0
- package/dist/app/components/Panel/Tabs/Tabs.stories.d.ts +6 -0
- package/dist/app/components/Panel/Tabs/index.d.ts +6 -0
- package/dist/app/components/index.d.ts +46 -0
- package/dist/app/icons/colored/BonusIcon.d.ts +2 -0
- package/dist/app/icons/colored/CashbackIcon.d.ts +2 -0
- package/dist/app/icons/colored/CertificateIcon.d.ts +2 -0
- package/dist/app/icons/colored/Colored.stories.d.ts +7 -0
- package/dist/app/icons/colored/DiscountIcon.d.ts +2 -0
- package/dist/app/icons/colored/ExcelIcon.d.ts +2 -0
- package/dist/app/icons/colored/FaviconIcon.d.ts +2 -0
- package/dist/app/icons/colored/GiftColorIcon.d.ts +2 -0
- package/dist/app/icons/colored/PdfIcon.d.ts +2 -0
- package/dist/app/icons/colored/SberPayColorIcon.d.ts +2 -0
- package/dist/app/icons/colored/SpbIcon.d.ts +2 -0
- package/dist/app/icons/colored/TruesignIcon.d.ts +2 -0
- package/dist/app/icons/colored/WarehousePointIcon.d.ts +2 -0
- package/dist/app/icons/colored/WordIcon.d.ts +2 -0
- package/dist/app/icons/colored/index.d.ts +14 -0
- package/dist/app/icons/index.d.ts +2 -0
- package/dist/app/icons/monochrome/AngleBottomIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/AngleDoubleLeftIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/AngleDoubleRightIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/AngleLeftIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/AngleRightIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/AngleTopIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/ArrowRightTopIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/AtIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/AvatarIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/BagIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/BanIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/BankIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/BarsIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/BellIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/BookIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/BoxIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/BriefcaseIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/BuildingIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/CalendarIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/CameraIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/CarIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/CarSearchIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/CartCrossedIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/CartIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/CatalogToIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/CevronBottomIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/CevronLeftIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/CevronRightIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/CevronTopIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/CheckFilledIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/CheckIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/CheckRoundedIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/ClockIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/ClockPayIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/CloseIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/CloseRoundedIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/CogIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/CommentIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/CommentsIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/CopyIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/CreditCardIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/CubeIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/DeliveryIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/DeliveryTimeIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/DownloadIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/ErrorFillIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/ErrorIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/EyeCloseIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/EyeIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/FileEditIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/FileExportIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/FileIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/FileUploadIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/FilterFillIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/FilterIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/FilterSlashIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/GiftIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/GuardIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/HeadSetIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/HeartFillIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/HeartOutlinedIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/HomeIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/ImageIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/InfoFillIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/InfoIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/LikeIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/ListIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/LocationIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/LockIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/MailBoxIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/MapIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/MapPointFilledIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/MapPointIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/MessageIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/MinusIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/MoneyBillIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/Monochrome.stories.d.ts +7 -0
- package/dist/app/icons/monochrome/NewIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/PackageIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/PencelLineIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/PlusIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/PlusRoundedIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/PrintIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/ProcentIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/QuestionIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/QuestionRoundedIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/ReplaceIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/ReplayIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/ReturnIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/RubIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/SberPayIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/SearchIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/SearchMinusIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/SearchPlusIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/SendIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/SettingsIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/ShieldErrorIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/ShopIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/ShoppingCartIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/SortDownFillIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/SortDownIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/SortUpFillIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/SortUpIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/StarFillIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/StarIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/SyncIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/TelegramIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/TimerIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/TrashIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/TruckFillIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/TruckIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/UploadIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/UserIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/UsersIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/Wallet2Icon.d.ts +2 -0
- package/dist/app/icons/monochrome/WalletIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/WarehouseIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/WarnRoundedIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/WarningFillIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/WarningIcon.d.ts +2 -0
- package/dist/app/icons/monochrome/index.d.ts +120 -0
- package/dist/app/overlay/OverlayManager.d.ts +18 -0
- package/dist/app/overlay/types.d.ts +7 -0
- package/dist/app/overlay/useOverlay.d.ts +15 -0
- package/dist/app/reka-ui/components/Accordion/Accordion.stories.d.ts +10 -0
- package/dist/app/reka-ui/components/Accordion/AccordionContent.d.ts +18 -0
- package/dist/app/reka-ui/components/Accordion/AccordionContent.stories.d.ts +8 -0
- package/dist/app/reka-ui/components/Accordion/AccordionHeader.d.ts +18 -0
- package/dist/app/reka-ui/components/Accordion/AccordionHeader.stories.d.ts +7 -0
- package/dist/app/reka-ui/components/Accordion/AccordionItem.d.ts +20 -0
- package/dist/app/reka-ui/components/Accordion/AccordionItem.stories.d.ts +8 -0
- package/dist/app/reka-ui/components/Accordion/AccordionRoot.d.ts +22 -0
- package/dist/app/reka-ui/components/Accordion/AccordionTrigger.d.ts +24 -0
- package/dist/app/reka-ui/components/Accordion/AccordionTrigger.stories.d.ts +8 -0
- package/dist/app/reka-ui/components/Accordion/index.d.ts +6 -0
- package/dist/app/reka-ui/components/Accordion/types.d.ts +37 -0
- package/dist/app/reka-ui/components/Alert/Alert.d.ts +7 -0
- package/dist/app/reka-ui/components/Alert/Alert.stories.d.ts +13 -0
- package/dist/app/reka-ui/components/Alert/index.d.ts +3 -0
- package/dist/app/reka-ui/components/Alert/types.d.ts +16 -0
- package/dist/app/reka-ui/components/AlertDialog/AlertDialogAction.d.ts +27 -0
- package/dist/app/reka-ui/components/AlertDialog/AlertDialogCancel.d.ts +27 -0
- package/dist/app/reka-ui/components/AlertDialog/AlertDialogContent.d.ts +23 -0
- package/dist/app/reka-ui/components/AlertDialog/AlertDialogDescription.d.ts +18 -0
- package/dist/app/reka-ui/components/AlertDialog/AlertDialogOverlay.d.ts +3 -0
- package/dist/app/reka-ui/components/AlertDialog/AlertDialogTitle.d.ts +18 -0
- package/dist/app/reka-ui/components/AlertDialog/AlertDialogTrigger.d.ts +21 -0
- package/dist/app/reka-ui/components/AlertDialog/index.d.ts +9 -0
- package/dist/app/reka-ui/components/Badge/Badge.d.ts +7 -0
- package/dist/app/reka-ui/components/Badge/Badge.stories.d.ts +10 -0
- package/dist/app/reka-ui/components/Badge/index.d.ts +2 -0
- package/dist/app/reka-ui/components/BottomSheet/BottomSheet.d.ts +30 -0
- package/dist/app/reka-ui/components/BottomSheet/BottomSheet.stories.d.ts +9 -0
- package/dist/app/reka-ui/components/BottomSheet/index.d.ts +2 -0
- package/dist/app/reka-ui/components/Breadcrumb/Breadcrumb.d.ts +6 -0
- package/dist/app/reka-ui/components/Breadcrumb/Breadcrumb.stories.d.ts +7 -0
- package/dist/app/reka-ui/components/Breadcrumb/index.d.ts +2 -0
- package/dist/app/reka-ui/components/Button/Button.d.ts +18 -0
- package/dist/app/reka-ui/components/Button/Button.stories.d.ts +6 -0
- package/dist/app/reka-ui/components/Button/Button.types.d.ts +20 -0
- package/dist/app/reka-ui/components/Button/index.d.ts +4 -0
- package/dist/app/reka-ui/components/Calendar/Calendar.stories.d.ts +6 -0
- package/dist/app/reka-ui/components/Calendar/CalendarCellTrigger.d.ts +18 -0
- package/dist/app/reka-ui/components/Calendar/CalendarGrid.d.ts +18 -0
- package/dist/app/reka-ui/components/Calendar/CalendarGridBody.d.ts +18 -0
- package/dist/app/reka-ui/components/Calendar/CalendarGridRow.d.ts +18 -0
- package/dist/app/reka-ui/components/Calendar/CalendarHeadCell.d.ts +18 -0
- package/dist/app/reka-ui/components/Calendar/CalendarHeader.d.ts +18 -0
- package/dist/app/reka-ui/components/Calendar/CalendarHeading.d.ts +3 -0
- package/dist/app/reka-ui/components/Calendar/CalendarNext.d.ts +12 -0
- package/dist/app/reka-ui/components/Calendar/CalendarPrev.d.ts +12 -0
- package/dist/app/reka-ui/components/Calendar/index.d.ts +12 -0
- package/dist/app/reka-ui/components/Checkbox/Checkbox.d.ts +46 -0
- package/dist/app/reka-ui/components/Checkbox/Checkbox.stories.d.ts +6 -0
- package/dist/app/reka-ui/components/Checkbox/index.d.ts +3 -0
- package/dist/app/reka-ui/components/Combobox/Combobox.stories.d.ts +6 -0
- package/dist/app/reka-ui/components/Combobox/ComboboxAnchor.d.ts +23 -0
- package/dist/app/reka-ui/components/Combobox/ComboboxClear.d.ts +6 -0
- package/dist/app/reka-ui/components/Combobox/ComboboxContent.d.ts +18 -0
- package/dist/app/reka-ui/components/Combobox/ComboboxInput.d.ts +7 -0
- package/dist/app/reka-ui/components/Combobox/ComboboxItem.d.ts +21 -0
- package/dist/app/reka-ui/components/Combobox/ComboboxRoot.d.ts +33 -0
- package/dist/app/reka-ui/components/Combobox/ComboboxTrigger.d.ts +2 -0
- package/dist/app/reka-ui/components/Combobox/ComboboxViewport.d.ts +18 -0
- package/dist/app/reka-ui/components/Combobox/index.d.ts +10 -0
- package/dist/app/reka-ui/components/DataTable/DataTable.d.ts +29 -0
- package/dist/app/reka-ui/components/DataTable/DataTable.stories.d.ts +107 -0
- package/dist/app/reka-ui/components/DataTable/DataTable.types.d.ts +44 -0
- package/dist/app/reka-ui/components/DataTable/components/DataTableBody.d.ts +7 -0
- package/dist/app/reka-ui/components/DataTable/components/DataTableBodyEmpty.d.ts +7 -0
- package/dist/app/reka-ui/components/DataTable/components/DataTableFooter.d.ts +7 -0
- package/dist/app/reka-ui/components/DataTable/components/DataTableHead.d.ts +8 -0
- package/dist/app/reka-ui/components/DataTable/components/DataTablePagination.d.ts +25 -0
- package/dist/app/reka-ui/components/DataTable/index.d.ts +4 -0
- package/dist/app/reka-ui/components/DataTable/shared/mock/OrderStatus/OrderStatus.d.ts +6 -0
- package/dist/app/reka-ui/components/DataTable/shared/mock/OrderStatus/constants.d.ts +9 -0
- package/dist/app/reka-ui/components/DataTable/shared/mock/OrderStatus/icons/accepted.d.ts +2 -0
- package/dist/app/reka-ui/components/DataTable/shared/mock/OrderStatus/icons/approval.d.ts +2 -0
- package/dist/app/reka-ui/components/DataTable/shared/mock/OrderStatus/icons/assembled.d.ts +2 -0
- package/dist/app/reka-ui/components/DataTable/shared/mock/OrderStatus/icons/awaitingPayment.d.ts +2 -0
- package/dist/app/reka-ui/components/DataTable/shared/mock/OrderStatus/icons/cancelled.d.ts +2 -0
- package/dist/app/reka-ui/components/DataTable/shared/mock/OrderStatus/icons/complaint.d.ts +2 -0
- package/dist/app/reka-ui/components/DataTable/shared/mock/OrderStatus/icons/confirmation.d.ts +2 -0
- package/dist/app/reka-ui/components/DataTable/shared/mock/OrderStatus/icons/dedlineChanged.d.ts +2 -0
- package/dist/app/reka-ui/components/DataTable/shared/mock/OrderStatus/icons/delayDelivery.d.ts +2 -0
- package/dist/app/reka-ui/components/DataTable/shared/mock/OrderStatus/icons/documentsIssued.d.ts +2 -0
- package/dist/app/reka-ui/components/DataTable/shared/mock/OrderStatus/icons/error.d.ts +2 -0
- package/dist/app/reka-ui/components/DataTable/shared/mock/OrderStatus/icons/handedShipment.d.ts +2 -0
- package/dist/app/reka-ui/components/DataTable/shared/mock/OrderStatus/icons/index.d.ts +26 -0
- package/dist/app/reka-ui/components/DataTable/shared/mock/OrderStatus/icons/orderSupplier.d.ts +2 -0
- package/dist/app/reka-ui/components/DataTable/shared/mock/OrderStatus/icons/orderedSupplier.d.ts +2 -0
- package/dist/app/reka-ui/components/DataTable/shared/mock/OrderStatus/icons/paid.d.ts +2 -0
- package/dist/app/reka-ui/components/DataTable/shared/mock/OrderStatus/icons/readyPickup.d.ts +2 -0
- package/dist/app/reka-ui/components/DataTable/shared/mock/OrderStatus/icons/readyShipment.d.ts +2 -0
- package/dist/app/reka-ui/components/DataTable/shared/mock/OrderStatus/icons/receivedClient.d.ts +2 -0
- package/dist/app/reka-ui/components/DataTable/shared/mock/OrderStatus/icons/reservedPayment.d.ts +2 -0
- package/dist/app/reka-ui/components/DataTable/shared/mock/OrderStatus/icons/reservedShipment.d.ts +2 -0
- package/dist/app/reka-ui/components/DataTable/shared/mock/OrderStatus/icons/returned.d.ts +2 -0
- package/dist/app/reka-ui/components/DataTable/shared/mock/OrderStatus/icons/sentSupplier.d.ts +2 -0
- package/dist/app/reka-ui/components/DataTable/shared/mock/OrderStatus/icons/transferAvailability.d.ts +2 -0
- package/dist/app/reka-ui/components/DataTable/shared/mock/OrderStatus/icons/transferCustom.d.ts +2 -0
- package/dist/app/reka-ui/components/DataTable/shared/mock/OrderStatus/icons/warning.d.ts +2 -0
- package/dist/app/reka-ui/components/DataTable/shared/mock/mock-data.d.ts +101 -0
- package/dist/app/reka-ui/components/DatePicker/DatePicker.stories.d.ts +6 -0
- package/dist/app/reka-ui/components/DatePicker/DatePickerArrow.d.ts +7 -0
- package/dist/app/reka-ui/components/DatePicker/DatePickerCellTrigger.d.ts +18 -0
- package/dist/app/reka-ui/components/DatePicker/DatePickerContent.d.ts +18 -0
- package/dist/app/reka-ui/components/DatePicker/DatePickerField.d.ts +25 -0
- package/dist/app/reka-ui/components/DatePicker/DatePickerGridBody.d.ts +18 -0
- package/dist/app/reka-ui/components/DatePicker/DatePickerGridRow.d.ts +18 -0
- package/dist/app/reka-ui/components/DatePicker/DatePickerHeadCell.d.ts +18 -0
- package/dist/app/reka-ui/components/DatePicker/DatePickerHeader.d.ts +18 -0
- package/dist/app/reka-ui/components/DatePicker/DatePickerHeading.d.ts +3 -0
- package/dist/app/reka-ui/components/DatePicker/DatePickerInput.d.ts +18 -0
- package/dist/app/reka-ui/components/DatePicker/DatePickerNext.d.ts +12 -0
- package/dist/app/reka-ui/components/DatePicker/DatePickerPrev.d.ts +12 -0
- package/dist/app/reka-ui/components/DatePicker/DatePickerTrigger.d.ts +18 -0
- package/dist/app/reka-ui/components/DatePicker/index.d.ts +16 -0
- package/dist/app/reka-ui/components/DateRangePicker/DateRangePicker.stories.d.ts +6 -0
- package/dist/app/reka-ui/components/DateRangePicker/DateRangePickerArrow.d.ts +7 -0
- package/dist/app/reka-ui/components/DateRangePicker/DateRangePickerCellTrigger.d.ts +18 -0
- package/dist/app/reka-ui/components/DateRangePicker/DateRangePickerContent.d.ts +18 -0
- package/dist/app/reka-ui/components/DateRangePicker/DateRangePickerField.d.ts +12 -0
- package/dist/app/reka-ui/components/DateRangePicker/DateRangePickerGridBody.d.ts +18 -0
- package/dist/app/reka-ui/components/DateRangePicker/DateRangePickerGridRow.d.ts +18 -0
- package/dist/app/reka-ui/components/DateRangePicker/DateRangePickerHeadCell.d.ts +18 -0
- package/dist/app/reka-ui/components/DateRangePicker/DateRangePickerHeader.d.ts +18 -0
- package/dist/app/reka-ui/components/DateRangePicker/DateRangePickerHeading.d.ts +3 -0
- package/dist/app/reka-ui/components/DateRangePicker/DateRangePickerInput.d.ts +18 -0
- package/dist/app/reka-ui/components/DateRangePicker/DateRangePickerNext.d.ts +12 -0
- package/dist/app/reka-ui/components/DateRangePicker/DateRangePickerPrev.d.ts +12 -0
- package/dist/app/reka-ui/components/DateRangePicker/DateRangePickerTrigger.d.ts +18 -0
- package/dist/app/reka-ui/components/DateRangePicker/index.d.ts +15 -0
- package/dist/app/reka-ui/components/Dialog/DialogActions.d.ts +19 -0
- package/dist/app/reka-ui/components/Dialog/DialogClose.d.ts +2 -0
- package/dist/app/reka-ui/components/Dialog/DialogContent.d.ts +49 -0
- package/dist/app/reka-ui/components/Dialog/DialogDescription.d.ts +18 -0
- package/dist/app/reka-ui/components/Dialog/DialogOverlay.d.ts +3 -0
- package/dist/app/reka-ui/components/Dialog/DialogTitle.d.ts +18 -0
- package/dist/app/reka-ui/components/Dialog/index.d.ts +6 -0
- package/dist/app/reka-ui/components/Divider/Divider.d.ts +23 -0
- package/dist/app/reka-ui/components/Divider/Divider.stories.d.ts +8 -0
- package/dist/app/reka-ui/components/Divider/index.d.ts +2 -0
- package/dist/app/reka-ui/components/Drawer/DrawerContent.d.ts +46 -0
- package/dist/app/reka-ui/components/Drawer/DrawerOverlay.d.ts +17 -0
- package/dist/app/reka-ui/components/Drawer/DrawerPortal.d.ts +17 -0
- package/dist/app/reka-ui/components/Drawer/DrawerRoot.d.ts +22 -0
- package/dist/app/reka-ui/components/Drawer/DrawerTrigger.d.ts +18 -0
- package/dist/app/reka-ui/components/Drawer/index.d.ts +6 -0
- package/dist/app/reka-ui/components/DropdownMenu/DropdownMenuArrow.d.ts +7 -0
- package/dist/app/reka-ui/components/DropdownMenu/DropdownMenuContent.d.ts +35 -0
- package/dist/app/reka-ui/components/DropdownMenu/DropdownMenuItem.d.ts +22 -0
- package/dist/app/reka-ui/components/DropdownMenu/DropdownMenuSeparator.d.ts +3 -0
- package/dist/app/reka-ui/components/DropdownMenu/DropdownMenuSubContent.d.ts +39 -0
- package/dist/app/reka-ui/components/DropdownMenu/DropdownMenuSubTrigger.d.ts +18 -0
- package/dist/app/reka-ui/components/DropdownMenu/index.d.ts +8 -0
- package/dist/app/reka-ui/components/File/File.d.ts +22 -0
- package/dist/app/reka-ui/components/File/File.stories.d.ts +8 -0
- package/dist/app/reka-ui/components/File/index.d.ts +2 -0
- package/dist/app/reka-ui/components/FormField/FormField.d.ts +25 -0
- package/dist/app/reka-ui/components/FormField/FormField.stories.d.ts +6 -0
- package/dist/app/reka-ui/components/FormField/index.d.ts +2 -0
- package/dist/app/reka-ui/components/Image/Image.d.ts +41 -0
- package/dist/app/reka-ui/components/Image/Image.stories.d.ts +6 -0
- package/dist/app/reka-ui/components/Image/ImageFullModal.d.ts +9 -0
- package/dist/app/reka-ui/components/Image/index.d.ts +2 -0
- package/dist/app/reka-ui/components/InputIcon/InputIcon.d.ts +2 -0
- package/dist/app/reka-ui/components/InputIcon/index.d.ts +2 -0
- package/dist/app/reka-ui/components/InputNumber/InputNumber.d.ts +26 -0
- package/dist/app/reka-ui/components/InputNumber/InputNumber.stories.d.ts +6 -0
- package/dist/app/reka-ui/components/InputNumber/index.d.ts +2 -0
- package/dist/app/reka-ui/components/InputText/InputText.d.ts +38 -0
- package/dist/app/reka-ui/components/InputText/InputText.stories.d.ts +11 -0
- package/dist/app/reka-ui/components/InputText/InputText.types.d.ts +15 -0
- package/dist/app/reka-ui/components/InputText/index.d.ts +3 -0
- package/dist/app/reka-ui/components/Label/Label.d.ts +18 -0
- package/dist/app/reka-ui/components/Label/index.d.ts +2 -0
- package/dist/app/reka-ui/components/ListBox/index.d.ts +2 -0
- package/dist/app/reka-ui/components/Message/Message.d.ts +35 -0
- package/dist/app/reka-ui/components/Message/Message.stories.d.ts +8 -0
- package/dist/app/reka-ui/components/Message/index.d.ts +2 -0
- package/dist/app/reka-ui/components/OTPCode/OTPCode.d.ts +31 -0
- package/dist/app/reka-ui/components/OTPCode/OTPCode.stories.d.ts +15 -0
- package/dist/app/reka-ui/components/OTPCode/OTPCode.types.d.ts +9 -0
- package/dist/app/reka-ui/components/OTPCode/index.d.ts +2 -0
- package/dist/app/reka-ui/components/Pagination/PaginationEllipsis.d.ts +3 -0
- package/dist/app/reka-ui/components/Pagination/PaginationFirst.d.ts +3 -0
- package/dist/app/reka-ui/components/Pagination/PaginationLast.d.ts +3 -0
- package/dist/app/reka-ui/components/Pagination/PaginationList.d.ts +18 -0
- package/dist/app/reka-ui/components/Pagination/PaginationListItem.d.ts +18 -0
- package/dist/app/reka-ui/components/Pagination/PaginationNext.d.ts +3 -0
- package/dist/app/reka-ui/components/Pagination/PaginationPrev.d.ts +3 -0
- package/dist/app/reka-ui/components/Pagination/index.d.ts +9 -0
- package/dist/app/reka-ui/components/Popover/PopoverArrow.d.ts +7 -0
- package/dist/app/reka-ui/components/Popover/PopoverContent.d.ts +38 -0
- package/dist/app/reka-ui/components/Popover/index.d.ts +4 -0
- package/dist/app/reka-ui/components/Radio/Radio.d.ts +36 -0
- package/dist/app/reka-ui/components/Radio/Radio.stories.d.ts +6 -0
- package/dist/app/reka-ui/components/Radio/index.d.ts +2 -0
- package/dist/app/reka-ui/components/RadioGroup/RadioGroupItem.d.ts +8 -0
- package/dist/app/reka-ui/components/RadioGroup/index.d.ts +3 -0
- package/dist/app/reka-ui/components/RangeCalendar/RangeCalendar.stories.d.ts +6 -0
- package/dist/app/reka-ui/components/RangeCalendar/RangeCalendarCellTrigger.d.ts +18 -0
- package/dist/app/reka-ui/components/RangeCalendar/RangeCalendarGridBody.d.ts +18 -0
- package/dist/app/reka-ui/components/RangeCalendar/RangeCalendarGridRow.d.ts +18 -0
- package/dist/app/reka-ui/components/RangeCalendar/RangeCalendarHeadCell.d.ts +18 -0
- package/dist/app/reka-ui/components/RangeCalendar/RangeCalendarHeader.d.ts +18 -0
- package/dist/app/reka-ui/components/RangeCalendar/RangeCalendarHeading.d.ts +3 -0
- package/dist/app/reka-ui/components/RangeCalendar/RangeCalendarNext.d.ts +12 -0
- package/dist/app/reka-ui/components/RangeCalendar/RangeCalendarPrev.d.ts +12 -0
- package/dist/app/reka-ui/components/RangeCalendar/index.d.ts +11 -0
- package/dist/app/reka-ui/components/Schedule/Schedule.d.ts +14 -0
- package/dist/app/reka-ui/components/Schedule/Schedule.stories.d.ts +6 -0
- package/dist/app/reka-ui/components/Schedule/Schedule.types.d.ts +8 -0
- package/dist/app/reka-ui/components/Schedule/index.d.ts +3 -0
- package/dist/app/reka-ui/components/Schedule/timeUtils.d.ts +30 -0
- package/dist/app/reka-ui/components/ScrollArea/ScrollAreaRoot.d.ts +282 -0
- package/dist/app/reka-ui/components/ScrollArea/ScrollAreaScrollbar.d.ts +3 -0
- package/dist/app/reka-ui/components/ScrollArea/ScrollAreaViewport.d.ts +18 -0
- package/dist/app/reka-ui/components/ScrollArea/index.d.ts +4 -0
- package/dist/app/reka-ui/components/Select/Select.stories.d.ts +8 -0
- package/dist/app/reka-ui/components/Select/SelectContent.d.ts +26 -0
- package/dist/app/reka-ui/components/Select/SelectItem.d.ts +21 -0
- package/dist/app/reka-ui/components/Select/SelectRoot.d.ts +25 -0
- package/dist/app/reka-ui/components/Select/SelectSeparator.d.ts +3 -0
- package/dist/app/reka-ui/components/Select/SelectTrigger.d.ts +23 -0
- package/dist/app/reka-ui/components/Select/SelectValue.d.ts +23 -0
- package/dist/app/reka-ui/components/Select/SelectViewport.d.ts +18 -0
- package/dist/app/reka-ui/components/Select/index.d.ts +9 -0
- package/dist/app/reka-ui/components/Spinner/Spinner.d.ts +6 -0
- package/dist/app/reka-ui/components/Spinner/Spinner.directive.d.ts +11 -0
- package/dist/app/reka-ui/components/Spinner/index.d.ts +3 -0
- package/dist/app/reka-ui/components/Stepper/Stepper.stories.d.ts +7 -0
- package/dist/app/reka-ui/components/Stepper/StepperIndicator.d.ts +3 -0
- package/dist/app/reka-ui/components/Stepper/StepperItem.d.ts +18 -0
- package/dist/app/reka-ui/components/Stepper/StepperRoot.d.ts +446 -0
- package/dist/app/reka-ui/components/Stepper/StepperSeparator.d.ts +3 -0
- package/dist/app/reka-ui/components/Stepper/index.d.ts +3 -0
- package/dist/app/reka-ui/components/Switch/SwitchRoot.d.ts +22 -0
- package/dist/app/reka-ui/components/Switch/SwitchThumb.d.ts +3 -0
- package/dist/app/reka-ui/components/Switch/index.d.ts +3 -0
- package/dist/app/reka-ui/components/Tabs/TabsList.d.ts +18 -0
- package/dist/app/reka-ui/components/Tabs/TabsRoot.d.ts +17 -0
- package/dist/app/reka-ui/components/Tabs/TabsTrigger.d.ts +18 -0
- package/dist/app/reka-ui/components/Tabs/index.d.ts +5 -0
- package/dist/app/reka-ui/components/Tag/Tag.d.ts +28 -0
- package/dist/app/reka-ui/components/Tag/index.d.ts +2 -0
- package/dist/app/reka-ui/components/Textarea/Textarea.d.ts +37 -0
- package/dist/app/reka-ui/components/Textarea/Textarea.stories.d.ts +7 -0
- package/dist/app/reka-ui/components/Textarea/index.d.ts +2 -0
- package/dist/app/reka-ui/components/TimeField/TimeField.d.ts +22 -0
- package/dist/app/reka-ui/components/TimeField/TimeField.stories.d.ts +6 -0
- package/dist/app/reka-ui/components/TimeField/index.d.ts +2 -0
- package/dist/app/reka-ui/components/Toast/ToastClose.d.ts +3 -0
- package/dist/app/reka-ui/components/Toast/ToastDescription.d.ts +20 -0
- package/dist/app/reka-ui/components/Toast/ToastProvider.d.ts +20 -0
- package/dist/app/reka-ui/components/Toast/ToastRoot.d.ts +107 -0
- package/dist/app/reka-ui/components/Toast/ToastTitle.d.ts +20 -0
- package/dist/app/reka-ui/components/Toast/ToastViewport.d.ts +3 -0
- package/dist/app/reka-ui/components/Toast/Toaster.d.ts +2 -0
- package/dist/app/reka-ui/components/Toast/index.d.ts +10 -0
- package/dist/app/reka-ui/components/Toast/toast.constants.d.ts +8 -0
- package/dist/app/reka-ui/components/Toast/use-toast.d.ts +277 -0
- package/dist/app/reka-ui/components/Tooltip/TooltipArrow.d.ts +8 -0
- package/dist/app/reka-ui/components/Tooltip/TooltipContent.d.ts +29 -0
- package/dist/app/reka-ui/components/Tooltip/index.d.ts +3 -0
- package/dist/app/reka-ui/index.d.ts +46 -0
- package/dist/app/reka-ui/shared/libs/breakpoints.utils.d.ts +14 -0
- package/dist/app/reka-ui/shared/libs/dayjs.utils.d.ts +25 -0
- package/dist/app/reka-ui/shared/libs/priceFormat.util.d.ts +9 -0
- package/dist/app/types/global.types.d.ts +11 -0
- package/dist/app/types/index.d.ts +1 -0
- package/dist/app/utils/Portal/Portal.d.ts +31 -0
- package/dist/app/utils/Portal/index.d.ts +2 -0
- package/dist/app/utils/date.util.d.ts +16 -0
- package/dist/app/utils/dayjs.util.d.ts +2 -0
- package/dist/app/utils/eventBus.util.d.ts +8 -0
- package/dist/app/utils/index.d.ts +10 -0
- package/dist/app/utils/internationalized.utils.d.ts +1 -0
- package/dist/app/utils/isClient.util.d.ts +1 -0
- package/dist/app/utils/maskUtil/mask.util.d.ts +11 -0
- package/dist/app/utils/onClickOutside.util.d.ts +9 -0
- package/dist/app/utils/parseDate.util.d.ts +11 -0
- package/dist/app/utils/parseFileSize.util.d.ts +18 -0
- package/dist/app/utils/phoneMask.util.d.ts +6 -0
- package/dist/app/utils/price.util.d.ts +15 -0
- package/dist/app/utils/typeFile.util.d.ts +10 -0
- package/dist/app/utils/uploadFile.util.d.ts +23 -0
- package/dist/app/utils/useBodyScroll.util.d.ts +4 -0
- package/dist/blocks/index.cjs.js +1 -1
- package/dist/blocks/index.es.js +10 -9
- package/dist/icons/index.cjs.js +1 -1
- package/dist/icons/index.es.js +6 -6
- package/dist/index.d.ts +1 -2210
- package/dist/prlg-ui.cjs.js +1 -1
- package/dist/prlg-ui.css +1 -1
- package/dist/prlg-ui.es.js +4 -4
- package/dist/reka-ui/index.cjs.js +3 -3
- package/dist/reka-ui/index.es.js +77 -68
- package/dist/vite-env.d.ts +6 -0
- package/package.json +17 -16
- package/dist/FileIcon-BRjbz9UQ.cjs +0 -1
- package/dist/blocks.d.ts +0 -54
- package/dist/icons.d.ts +0 -289
- package/dist/rekaUI.d.ts +0 -4297
- package/dist/types.d.ts +0 -33
- package/dist/utils.d.ts +0 -174
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { default as dayjs } from 'dayjs';
|
|
2
|
+
/**
|
|
3
|
+
* Расширенный экземпляр dayjs с поддержкой русских локалей и плагинов
|
|
4
|
+
*
|
|
5
|
+
* Поддерживаемые методы плагинов:
|
|
6
|
+
* - `format()` - локализованное форматирование дат
|
|
7
|
+
* - `fromNow()`, `toNow()` - относительное время
|
|
8
|
+
* - `isToday()` - проверка на сегодня
|
|
9
|
+
* - `isBetween(date1, date2)` - проверка нахождения между датами
|
|
10
|
+
* - `isSameOrBefore(date)`, `isSameOrAfter(date)` - сравнение дат
|
|
11
|
+
* - `duration()` - работа с временными интервалами
|
|
12
|
+
* - `dayOfYear()` - номер дня в году
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import dayjs from '@/utils/dayjs';
|
|
17
|
+
*
|
|
18
|
+
* const today = dayjs();
|
|
19
|
+
* console.log(today.format('LL')); // "15 октября 2025 г."
|
|
20
|
+
* console.log(today.fromNow()); // "несколько секунд назад"
|
|
21
|
+
* console.log(today.isToday()); // true
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
export default dayjs;
|
|
25
|
+
export type { ConfigType, Dayjs } from 'dayjs';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Функция форматирования суммы
|
|
3
|
+
*
|
|
4
|
+
* Функция будет возвращаться HTML строку <span>11000.<small>00</small>₽</span>
|
|
5
|
+
*/
|
|
6
|
+
declare const priceFormatUtil: (price: string | number, returnHtml?: boolean) => string | import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
7
|
+
[key: string]: any;
|
|
8
|
+
}>;
|
|
9
|
+
export default priceFormatUtil;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Component } from 'vue';
|
|
2
|
+
import { RouteLocationRaw } from 'vue-router';
|
|
3
|
+
export type MenuItem = {
|
|
4
|
+
icon?: Component;
|
|
5
|
+
label: string;
|
|
6
|
+
url?: string | RouteLocationRaw;
|
|
7
|
+
command?: () => void;
|
|
8
|
+
description?: string;
|
|
9
|
+
badge?: boolean;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './global.types.ts';
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { OverlayType } from '../../overlay/types';
|
|
2
|
+
interface Props {
|
|
3
|
+
overlayType?: OverlayType;
|
|
4
|
+
teleport?: boolean;
|
|
5
|
+
target?: string;
|
|
6
|
+
zIndex?: number;
|
|
7
|
+
show?: boolean;
|
|
8
|
+
parentId?: string;
|
|
9
|
+
}
|
|
10
|
+
declare function __VLS_template(): {
|
|
11
|
+
attrs: Partial<{}>;
|
|
12
|
+
slots: {
|
|
13
|
+
default?(_: {}): any;
|
|
14
|
+
};
|
|
15
|
+
refs: {};
|
|
16
|
+
rootEl: any;
|
|
17
|
+
};
|
|
18
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
19
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
20
|
+
target: string;
|
|
21
|
+
show: boolean;
|
|
22
|
+
overlayType: OverlayType;
|
|
23
|
+
teleport: boolean;
|
|
24
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
25
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
26
|
+
export default _default;
|
|
27
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
28
|
+
new (): {
|
|
29
|
+
$slots: S;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Форматирует дату в человекочитаемый вид: 20 июня 2025
|
|
3
|
+
*/
|
|
4
|
+
export declare function formatDateReadable(date: string | Date): string;
|
|
5
|
+
/**
|
|
6
|
+
* Форматирует дату для отображения времени: 20 июня, 14:30
|
|
7
|
+
*/
|
|
8
|
+
export declare function formatDateWithTime(date: string | Date): string;
|
|
9
|
+
/**
|
|
10
|
+
* Возвращает разницу между датами в днях
|
|
11
|
+
*/
|
|
12
|
+
export declare function getDaysBetween(start: string | Date, end: string | Date): number;
|
|
13
|
+
/**
|
|
14
|
+
* Проверяет, истекла ли дата
|
|
15
|
+
*/
|
|
16
|
+
export declare function isExpired(date: string | Date): boolean;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export type Handler<T> = (event: T) => void;
|
|
2
|
+
export interface TypedEventBus<Events extends Record<string, any>> {
|
|
3
|
+
on<K extends keyof Events>(type: K, handler: Handler<Events[K]>): void;
|
|
4
|
+
off<K extends keyof Events>(type: K, handler: Handler<Events[K]>): void;
|
|
5
|
+
emit<K extends keyof Events>(type: K, evt?: Events[K]): void;
|
|
6
|
+
clear(): void;
|
|
7
|
+
}
|
|
8
|
+
export declare function EventBus<Events extends Record<string, any>>(): TypedEventBus<Events>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from './date.util';
|
|
2
|
+
export * from './eventBus.util';
|
|
3
|
+
export * from './isClient.util';
|
|
4
|
+
export * from './onClickOutside.util';
|
|
5
|
+
export * from './price.util';
|
|
6
|
+
export * from './useBodyScroll.util';
|
|
7
|
+
export * from './dayjs.util';
|
|
8
|
+
export * from './Portal';
|
|
9
|
+
export * from './uploadFile.util';
|
|
10
|
+
export * from './internationalized.utils';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@internationalized/date';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function isClient(): boolean;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare class Mask {
|
|
2
|
+
constructor();
|
|
3
|
+
getPhoneMask(_e: Event, _format?: string): void;
|
|
4
|
+
getDateMask(e: Event, format?: string, minDate?: string, maxDate?: string): void;
|
|
5
|
+
private parseDate;
|
|
6
|
+
private correctDateValues;
|
|
7
|
+
private correctDateThroughDayjs;
|
|
8
|
+
private correctDayAndMonthOnly;
|
|
9
|
+
private getDaysInMonth;
|
|
10
|
+
private applyDateLimits;
|
|
11
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ComponentPublicInstance, MaybeRef, MaybeRefOrGetter } from 'vue';
|
|
2
|
+
export type VueInstance = ComponentPublicInstance;
|
|
3
|
+
export type MaybeElement = HTMLElement | SVGElement | VueInstance | undefined | null;
|
|
4
|
+
export type MaybeElementRef<T extends MaybeElement = MaybeElement> = MaybeRef<T>;
|
|
5
|
+
export type MaybeElementTarget = MaybeElementRef<MaybeElement> | string;
|
|
6
|
+
export interface OnClickOutsideOptions {
|
|
7
|
+
ignore?: MaybeRefOrGetter<(MaybeElementRef<MaybeElement> | string)[]>;
|
|
8
|
+
}
|
|
9
|
+
export declare function onClickOutside(target: MaybeElementTarget, handler: (event: MouseEvent | TouchEvent) => void, options?: OnClickOutsideOptions): () => void;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
declare function parseDurationToSeconds(duration: string): number;
|
|
2
|
+
export default parseDurationToSeconds;
|
|
3
|
+
/** Примеры использования */
|
|
4
|
+
/** example
|
|
5
|
+
console.log(parseDurationToSeconds('30d')); // 2592000
|
|
6
|
+
console.log(parseDurationToSeconds('1m')); // 60
|
|
7
|
+
console.log(parseDurationToSeconds('1h')); // 3600
|
|
8
|
+
console.log(parseDurationToSeconds('1day')); // 86400
|
|
9
|
+
console.log(parseDurationToSeconds('1month')); // 2592000
|
|
10
|
+
console.log(parseDurationToSeconds('1year')); // 31536000
|
|
11
|
+
*/
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Преобразует строку с размером файла (например, "5mb", "10kb", "1.5gb") в число байт.
|
|
3
|
+
*
|
|
4
|
+
* @param {string} size - Строка, содержащая числовое значение и единицу измерения (b, kb, mb, gb, tb).
|
|
5
|
+
* Пример: "5mb", "10kb", "1.5gb".
|
|
6
|
+
* @returns {number} - Размер в байтах.
|
|
7
|
+
*
|
|
8
|
+
* Поддерживаемые единицы: b, kb, mb, gb, tb (регистр не имеет значения).
|
|
9
|
+
* Если единица не указана, по умолчанию считается "b" (байты).
|
|
10
|
+
*/
|
|
11
|
+
export declare const parseFileSize: (size: string) => number;
|
|
12
|
+
/**
|
|
13
|
+
* Преобразует размер файла в байтах в человекочитаемый текст (например, "1.5 МБ").
|
|
14
|
+
*
|
|
15
|
+
* @param {number} bytes - Размер файла в байтах.
|
|
16
|
+
* @returns {string} - Размер файла в виде строки с подходящей единицей (Б, КБ, МБ, ГБ, ТБ).
|
|
17
|
+
*/
|
|
18
|
+
export declare function formatFileSize(bytes: number, maxDigits?: number): string;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Преобразует число в форматированную строку с валютой (по умолчанию: ₽)
|
|
3
|
+
* @param value - число для форматирования
|
|
4
|
+
* @param currency - символ валюты (по умолчанию: ₽)
|
|
5
|
+
* @param fractionDigits - количество знаков после запятой (по умолчанию: 2)
|
|
6
|
+
*/
|
|
7
|
+
export declare function formatPrice(value: number, currency?: string, fractionDigits?: number): string;
|
|
8
|
+
/**
|
|
9
|
+
* Возвращает сумму всех значений (например, для корзины)
|
|
10
|
+
*/
|
|
11
|
+
export declare function sumPrices(items: number[]): number;
|
|
12
|
+
/**
|
|
13
|
+
* Делает безопасное преобразование строки в число (цены из инпута)
|
|
14
|
+
*/
|
|
15
|
+
export declare function parsePrice(input: string): number;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Определяет тип файла по его MIME-типу.
|
|
3
|
+
* Возвращает 'image' для изображений, 'pdf' для PDF-файлов,
|
|
4
|
+
* 'word' для документов Word, 'excel' для файлов Excel,
|
|
5
|
+
* иначе 'other'.
|
|
6
|
+
*
|
|
7
|
+
* @param {string} mimeType - MIME-тип файла
|
|
8
|
+
* @returns {'image' | 'pdf' | 'word' | 'excel' | 'other'}
|
|
9
|
+
*/
|
|
10
|
+
export declare function getFileTypeByMime(mimeType: string): 'image' | 'pdf' | 'word' | 'excel' | 'other';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { IFile } from '../reka-ui';
|
|
2
|
+
type FileType = "image" | "pdf" | "excel" | "word" | "all";
|
|
3
|
+
interface OpenFileDialogOptionsBase {
|
|
4
|
+
accept?: FileType | FileType[];
|
|
5
|
+
maxFileSize?: string;
|
|
6
|
+
maxFiles?: number;
|
|
7
|
+
multiple?: boolean;
|
|
8
|
+
}
|
|
9
|
+
interface OpenFileDialogOptionsRaw extends OpenFileDialogOptionsBase {
|
|
10
|
+
returnType: "raw";
|
|
11
|
+
}
|
|
12
|
+
interface OpenFileDialogOptionsIFile extends OpenFileDialogOptionsBase {
|
|
13
|
+
returnType?: "ifile";
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Открывает окно выбора файла с ограничениями.
|
|
17
|
+
*
|
|
18
|
+
* returnType: "raw" — возвращает File[]
|
|
19
|
+
* returnType: "ifile" (по умолчанию) — возвращает IFile[] с blob-ссылками
|
|
20
|
+
*/
|
|
21
|
+
export declare function openFileDialog(options: OpenFileDialogOptionsRaw): Promise<File[]>;
|
|
22
|
+
export declare function openFileDialog(options?: OpenFileDialogOptionsIFile): Promise<IFile[]>;
|
|
23
|
+
export {};
|
package/dist/blocks/index.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),f=require("../Image-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),f=require("../Image-DLJh4B68.cjs"),m=require("../FileIcon-BE4ItwkK.cjs"),p=require("../typeFile.util-CwOoIMBz.cjs"),u=require("../SendIcon-CH6S0QWh.cjs"),_=require("../dayjs.util-w9plG3H0.cjs"),v=require("../uploadFile.util-CCrV2jIp.cjs"),h={class:"chat-file__content"},k=e.defineComponent({__name:"ChatFile",props:{file:{}},emits:["deleteFile"],setup(s,{emit:n}){const i=n,r=e.computed(()=>URL.createObjectURL(s.file));return(t,c)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["chat-file",{"chat-file--image":e.unref(p.getFileTypeByMime)(t.file.type)==="image"}])},[e.createElementVNode("button",{class:"chat-file__delete",onClick:c[0]||(c[0]=l=>i("deleteFile",t.file))},[e.createVNode(e.unref(m.CloseIcon))]),e.createElementVNode("div",h,[e.unref(p.getFileTypeByMime)(t.file.type)==="image"?(e.openBlock(),e.createBlock(e.unref(f.Image),{key:0,file:r.value,size:"large",fullScreen:""},null,8,["file"])):(e.openBlock(),e.createBlock(e.unref(f.File),{key:1,file:r.value,outlined:!1},null,8,["file"]))])],2))}}),g=m._export_sfc(k,[["__scopeId","data-v-12b8458b"]]),y={class:"chat-field-actions"},B={ref:"overlay",class:"chat-field-actions__overlay"},b=["onClick"],C={class:"chat-field-actions__overlay-item__label"},V=["disabled"],F=e.defineComponent({__name:"ChatFieldActions",props:e.mergeModels({actions:{},disabled:{type:Boolean,default:!1},multiple:{type:Boolean,default:!0}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(s){const n=e.useModel(s,"modelValue"),i=e.useTemplateRef("button"),r=e.useTemplateRef("overlay"),t=e.ref(!1),c=e.reactive({image:{icon:e.shallowRef(u.ImageIcon),label:"Добавить изображение"},file:{icon:e.shallowRef(m.FileIcon),label:"Добавить файл"}}),l=a=>{v.openFileDialog({accept:a==="image"?["image"]:["pdf","excel","word"],maxFileSize:"5mb",maxFiles:1,returnType:"raw"}).then(o=>{n.value?n.value=s.multiple?[...n.value,...o]:o:n.value=[...o],t.value=!1})};return e.onMounted(()=>{_.onClickOutside(r.value,()=>{t.value=!1},{ignore:[i.value]})}),(a,o)=>(e.openBlock(),e.createElementBlock("div",y,[e.createVNode(e.Transition,{name:"slide-up"},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",B,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.actions,d=>(e.openBlock(),e.createElementBlock("div",{class:"chat-field-actions__overlay-item",key:d,onClick:R=>l(d)},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(c[d].icon),{class:"chat-field-actions__overlay-item__icon"})),e.createElementVNode("span",C,e.toDisplayString(c[d].label),1)],8,b))),128))],512),[[e.vShow,t.value]])]),_:1}),e.createElementVNode("button",{ref:"button",onClick:o[0]||(o[0]=d=>t.value=!t.value),class:e.normalizeClass(["chat-field-actions__button",{"chat-field-actions__button--active":t.value}]),disabled:a.disabled},[e.createVNode(e.unref(u.PlusRoundedIcon))],10,V)]))}}),E=m._export_sfc(F,[["__scopeId","data-v-f74ba37e"]]),N={class:"chat-field"},M={key:0,class:"chat-field__files"},T={class:"chat-field__wrapper"},$=["maxlength","placeholder"],I={key:1,class:"chat-field__footer"},S={key:1,class:"chat-field__char-count"},w=e.defineComponent({__name:"ChatField",props:e.mergeModels({viewActions:{type:Boolean,default:!1},actions:{default:()=>["file","image"]},placeholder:{default:"Введите сообщение"},maxLength:{},smallText:{},error:{type:Boolean},errorText:{},disabled:{type:Boolean,default:!1}},{message:{required:!0},messageModifiers:{},files:{},filesModifiers:{}}),emits:e.mergeModels(["sendMessage"],["update:message","update:files"]),setup(s,{emit:n}){const i=n,r=e.useModel(s,"message"),t=e.useModel(s,"files"),c=l=>{t.value&&(t.value=t.value.filter(a=>a.name!==l.name))};return(l,a)=>(e.openBlock(),e.createElementBlock("div",N,[t.value&&t.value.length>0?(e.openBlock(),e.createElementBlock("div",M,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.value,o=>(e.openBlock(),e.createBlock(g,{key:o.name,file:o,onDeleteFile:c},null,8,["file"]))),128))])):e.createCommentVNode("",!0),e.createElementVNode("div",T,[l.viewActions&&l.actions.length>0?(e.openBlock(),e.createBlock(E,{key:0,modelValue:t.value,"onUpdate:modelValue":a[0]||(a[0]=o=>t.value=o),actions:l.actions,disabled:l.disabled},null,8,["modelValue","actions","disabled"])):e.createCommentVNode("",!0),e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":a[1]||(a[1]=o=>r.value=o),class:"chat-field__input",maxlength:l.maxLength,placeholder:l.placeholder},null,8,$),[[e.vModelText,r.value]]),e.createElementVNode("button",{class:"chat-field__button",onClick:a[2]||(a[2]=o=>i("sendMessage"))},[e.createVNode(e.unref(u.SendIcon))])]),l.smallText||l.error&&l.errorText||l.maxLength?(e.openBlock(),e.createElementBlock("div",I,[l.smallText||l.error&&l.errorText?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["chat-field__small",{"chat-field__small--error":l.error}])},e.toDisplayString(l.error?l.errorText:l.smallText),3)):e.createCommentVNode("",!0),l.maxLength?(e.openBlock(),e.createElementBlock("div",S,e.toDisplayString(r.value.length)+" / "+e.toDisplayString(l.maxLength),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]))}}),L={class:"bonus-summary"},D=e.defineComponent({__name:"BonusSummary",setup(s){return(n,i)=>(e.openBlock(),e.createElementBlock("div",L,[e.createVNode(e.unref(u.BonusIcon),{class:"bonus-summary__icon"}),i[0]||(i[0]=e.createElementVNode("div",{class:"bonus-summary__number"},"123",-1))]))}});exports.BonusSummary=D;exports.ChatField=w;
|
package/dist/blocks/index.es.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as g, computed as V, createElementBlock as o, openBlock as a, normalizeClass as C, unref as c, createElementVNode as n, createVNode as v, createBlock as p, mergeModels as y, useModel as b, useTemplateRef as F, ref as
|
|
2
|
-
import { I as O, F as x } from "../Image-
|
|
3
|
-
import { C as A, _ as M, F as E } from "../FileIcon-
|
|
1
|
+
import { defineComponent as g, computed as V, createElementBlock as o, openBlock as a, normalizeClass as C, unref as c, createElementVNode as n, createVNode as v, createBlock as p, mergeModels as y, useModel as b, useTemplateRef as F, ref as w, reactive as L, shallowRef as k, onMounted as S, Transition as R, withCtx as D, withDirectives as B, Fragment as T, renderList as I, resolveDynamicComponent as U, toDisplayString as h, vShow as z, createCommentVNode as _, vModelText as N } from "vue";
|
|
2
|
+
import { I as O, F as x } from "../Image-Ctgju863.js";
|
|
3
|
+
import { C as A, _ as M, F as E } from "../FileIcon-maHE2Nhr.js";
|
|
4
4
|
import { g as $ } from "../typeFile.util-DerifWNY.js";
|
|
5
|
-
import { I as P, P as j, S as q, B as H } from "../SendIcon-
|
|
5
|
+
import { I as P, P as j, S as q, B as H } from "../SendIcon-Cqdt2QWN.js";
|
|
6
6
|
import { o as G } from "../dayjs.util-BZJcKPbc.js";
|
|
7
7
|
import { o as J } from "../uploadFile.util-c_UlO-OQ.js";
|
|
8
8
|
const K = { class: "chat-file__content" }, Q = /* @__PURE__ */ g({
|
|
@@ -51,7 +51,7 @@ const K = { class: "chat-file__content" }, Q = /* @__PURE__ */ g({
|
|
|
51
51
|
}),
|
|
52
52
|
emits: ["update:modelValue"],
|
|
53
53
|
setup(r) {
|
|
54
|
-
const i = b(r, "modelValue"), d = F("button"), u = F("overlay"), l =
|
|
54
|
+
const i = b(r, "modelValue"), d = F("button"), u = F("overlay"), l = w(!1), m = L({
|
|
55
55
|
image: {
|
|
56
56
|
icon: k(P),
|
|
57
57
|
label: "Добавить изображение"
|
|
@@ -64,7 +64,8 @@ const K = { class: "chat-file__content" }, Q = /* @__PURE__ */ g({
|
|
|
64
64
|
J({
|
|
65
65
|
accept: s === "image" ? ["image"] : ["pdf", "excel", "word"],
|
|
66
66
|
maxFileSize: "5mb",
|
|
67
|
-
maxFiles: 1
|
|
67
|
+
maxFiles: 1,
|
|
68
|
+
returnType: "raw"
|
|
68
69
|
}).then((t) => {
|
|
69
70
|
i.value ? i.value = r.multiple ? [...i.value, ...t] : t : i.value = [...t], l.value = !1;
|
|
70
71
|
});
|
|
@@ -77,7 +78,7 @@ const K = { class: "chat-file__content" }, Q = /* @__PURE__ */ g({
|
|
|
77
78
|
v(R, { name: "slide-up" }, {
|
|
78
79
|
default: D(() => [
|
|
79
80
|
B(n("div", Y, [
|
|
80
|
-
(a(!0), o(
|
|
81
|
+
(a(!0), o(T, null, I(s.actions, (f) => (a(), o("div", {
|
|
81
82
|
class: "chat-field-actions__overlay-item",
|
|
82
83
|
key: f,
|
|
83
84
|
onClick: (ce) => e(f)
|
|
@@ -101,7 +102,7 @@ const K = { class: "chat-file__content" }, Q = /* @__PURE__ */ g({
|
|
|
101
102
|
], 10, le)
|
|
102
103
|
]));
|
|
103
104
|
}
|
|
104
|
-
}), te = /* @__PURE__ */ M(ae, [["__scopeId", "data-v-
|
|
105
|
+
}), te = /* @__PURE__ */ M(ae, [["__scopeId", "data-v-f74ba37e"]]), se = { class: "chat-field" }, oe = {
|
|
105
106
|
key: 0,
|
|
106
107
|
class: "chat-field__files"
|
|
107
108
|
}, ie = { class: "chat-field__wrapper" }, ne = ["maxlength", "placeholder"], re = {
|
|
@@ -134,7 +135,7 @@ const K = { class: "chat-file__content" }, Q = /* @__PURE__ */ g({
|
|
|
134
135
|
};
|
|
135
136
|
return (e, s) => (a(), o("div", se, [
|
|
136
137
|
l.value && l.value.length > 0 ? (a(), o("div", oe, [
|
|
137
|
-
(a(!0), o(
|
|
138
|
+
(a(!0), o(T, null, I(l.value, (t) => (a(), p(W, {
|
|
138
139
|
key: t.name,
|
|
139
140
|
file: t,
|
|
140
141
|
onDeleteFile: m
|