@profitliga/ui 1.2.89 → 1.2.91

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.
Files changed (385) hide show
  1. package/dist/SortUpFillIcon-v8yN3M01.js +333 -0
  2. package/dist/components/Accordion/AccordionContent.vue.d.ts +11 -7
  3. package/dist/components/Accordion/AccordionHeader.vue.d.ts +11 -7
  4. package/dist/components/Accordion/AccordionItem.vue.d.ts +11 -7
  5. package/dist/components/Accordion/AccordionRoot.vue.d.ts +11 -7
  6. package/dist/components/Accordion/AccordionTrigger.vue.d.ts +12 -9
  7. package/dist/components/AlertDialog/AlertDialog.stories.d.ts +3 -3
  8. package/dist/components/AlertDialog/AlertDialogAction.vue.d.ts +11 -7
  9. package/dist/components/AlertDialog/AlertDialogCancel.vue.d.ts +11 -7
  10. package/dist/components/AlertDialog/AlertDialogContent.vue.d.ts +12 -22
  11. package/dist/components/AlertDialog/AlertDialogDescription.vue.d.ts +11 -7
  12. package/dist/components/AlertDialog/AlertDialogOverlay.vue.d.ts +1 -2
  13. package/dist/components/AlertDialog/AlertDialogPortal.vue.d.ts +14 -7
  14. package/dist/components/AlertDialog/AlertDialogRoot.vue.d.ts +11 -7
  15. package/dist/components/AlertDialog/AlertDialogTitle.vue.d.ts +11 -7
  16. package/dist/components/AlertDialog/AlertDialogTrigger.vue.d.ts +11 -7
  17. package/dist/components/AlertDialog/index.d.ts +1 -3
  18. package/dist/components/Badge/Badge.vue.d.ts +1 -2
  19. package/dist/components/BottomSheet/BottomSheet.stories.d.ts +0 -1
  20. package/dist/components/BottomSheet/BottomSheet.vue.d.ts +205 -36
  21. package/dist/components/Breadcrumb/Breadcrumb.vue.d.ts +1 -2
  22. package/dist/components/Button/Button.vue.d.ts +12 -8
  23. package/dist/components/Calendar/CalendarCellTrigger.vue.d.ts +11 -7
  24. package/dist/components/Calendar/CalendarGrid.vue.d.ts +11 -7
  25. package/dist/components/Calendar/CalendarGridBody.vue.d.ts +11 -7
  26. package/dist/components/Calendar/CalendarGridRow.vue.d.ts +11 -7
  27. package/dist/components/Calendar/CalendarHeadCell.vue.d.ts +11 -7
  28. package/dist/components/Calendar/CalendarHeader.vue.d.ts +11 -7
  29. package/dist/components/Calendar/CalendarHeading.vue.d.ts +1 -2
  30. package/dist/components/Calendar/CalendarNext.vue.d.ts +1 -2
  31. package/dist/components/Calendar/CalendarPrev.vue.d.ts +1 -2
  32. package/dist/components/Calendar/CalendarRoot.vue.d.ts +21 -17
  33. package/dist/components/Checkbox/Checkbox.vue.d.ts +14 -11
  34. package/dist/components/ChipCheckbox/ChipCheckbox.vue.d.ts +14 -11
  35. package/dist/components/Combobox/ComboboxAnchor.vue.d.ts +11 -7
  36. package/dist/components/Combobox/ComboboxClear.vue.d.ts +2 -3
  37. package/dist/components/Combobox/ComboboxContent.vue.d.ts +11 -7
  38. package/dist/components/Combobox/ComboboxInput.vue.d.ts +1 -2
  39. package/dist/components/Combobox/ComboboxItem.vue.d.ts +11 -7
  40. package/dist/components/Combobox/ComboboxRoot.vue.d.ts +11 -7
  41. package/dist/components/Combobox/ComboboxTrigger.vue.d.ts +1 -2
  42. package/dist/components/Combobox/ComboboxViewport.vue.d.ts +11 -7
  43. package/dist/components/ConfirmDialog/ConfirmDialog.vue.d.ts +1 -2
  44. package/dist/components/DataTable/DataTable.vue.d.ts +15 -20
  45. package/dist/components/DataTable/components/DataTableBody.vue.d.ts +8 -13
  46. package/dist/components/DataTable/components/DataTableFooter.vue.d.ts +8 -13
  47. package/dist/components/DataTable/components/DataTableHead.vue.d.ts +8 -13
  48. package/dist/components/DataTable/components/DataTablePagination.vue.d.ts +3 -5
  49. package/dist/components/DataTable/shared/mock/OrderStatus/OrderStatus.vue.d.ts +1 -2
  50. package/dist/components/DataTable/shared/mock/OrderStatus/icons/accepted.vue.d.ts +1 -2
  51. package/dist/components/DataTable/shared/mock/OrderStatus/icons/approval.vue.d.ts +1 -2
  52. package/dist/components/DataTable/shared/mock/OrderStatus/icons/assembled.vue.d.ts +1 -2
  53. package/dist/components/DataTable/shared/mock/OrderStatus/icons/awaitingPayment.vue.d.ts +1 -2
  54. package/dist/components/DataTable/shared/mock/OrderStatus/icons/cancelled.vue.d.ts +1 -2
  55. package/dist/components/DataTable/shared/mock/OrderStatus/icons/complaint.vue.d.ts +1 -2
  56. package/dist/components/DataTable/shared/mock/OrderStatus/icons/confirmation.vue.d.ts +1 -2
  57. package/dist/components/DataTable/shared/mock/OrderStatus/icons/dedlineChanged.vue.d.ts +1 -2
  58. package/dist/components/DataTable/shared/mock/OrderStatus/icons/delayDelivery.vue.d.ts +1 -2
  59. package/dist/components/DataTable/shared/mock/OrderStatus/icons/documentsIssued.vue.d.ts +1 -2
  60. package/dist/components/DataTable/shared/mock/OrderStatus/icons/error.vue.d.ts +1 -2
  61. package/dist/components/DataTable/shared/mock/OrderStatus/icons/handedShipment.vue.d.ts +1 -2
  62. package/dist/components/DataTable/shared/mock/OrderStatus/icons/orderSupplier.vue.d.ts +1 -2
  63. package/dist/components/DataTable/shared/mock/OrderStatus/icons/orderedSupplier.vue.d.ts +1 -2
  64. package/dist/components/DataTable/shared/mock/OrderStatus/icons/paid.vue.d.ts +1 -2
  65. package/dist/components/DataTable/shared/mock/OrderStatus/icons/readyPickup.vue.d.ts +1 -2
  66. package/dist/components/DataTable/shared/mock/OrderStatus/icons/readyShipment.vue.d.ts +1 -2
  67. package/dist/components/DataTable/shared/mock/OrderStatus/icons/receivedClient.vue.d.ts +1 -2
  68. package/dist/components/DataTable/shared/mock/OrderStatus/icons/reservedPayment.vue.d.ts +1 -2
  69. package/dist/components/DataTable/shared/mock/OrderStatus/icons/reservedShipment.vue.d.ts +1 -2
  70. package/dist/components/DataTable/shared/mock/OrderStatus/icons/returned.vue.d.ts +1 -2
  71. package/dist/components/DataTable/shared/mock/OrderStatus/icons/sentSupplier.vue.d.ts +1 -2
  72. package/dist/components/DataTable/shared/mock/OrderStatus/icons/transferAvailability.vue.d.ts +1 -2
  73. package/dist/components/DataTable/shared/mock/OrderStatus/icons/transferCustom.vue.d.ts +1 -2
  74. package/dist/components/DataTable/shared/mock/OrderStatus/icons/warning.vue.d.ts +1 -2
  75. package/dist/components/DatePicker/DatePicker.stories.d.ts +2 -2
  76. package/dist/components/DatePicker/DatePicker.vue.d.ts +3 -7
  77. package/dist/components/DatePicker/DatePickerArrow.vue.d.ts +1 -2
  78. package/dist/components/DatePicker/DatePickerCalendar.vue.d.ts +14 -10
  79. package/dist/components/DatePicker/DatePickerCell.vue.d.ts +11 -7
  80. package/dist/components/DatePicker/DatePickerCellTrigger.vue.d.ts +11 -7
  81. package/dist/components/DatePicker/DatePickerContent.vue.d.ts +11 -7
  82. package/dist/components/DatePicker/DatePickerField.vue.d.ts +17 -13
  83. package/dist/components/DatePicker/DatePickerGrid.vue.d.ts +11 -7
  84. package/dist/components/DatePicker/DatePickerGridBody.vue.d.ts +11 -7
  85. package/dist/components/DatePicker/DatePickerGridRow.vue.d.ts +11 -7
  86. package/dist/components/DatePicker/DatePickerHeadCell.vue.d.ts +11 -7
  87. package/dist/components/DatePicker/DatePickerHeader.vue.d.ts +11 -7
  88. package/dist/components/DatePicker/DatePickerHeading.vue.d.ts +1 -2
  89. package/dist/components/DatePicker/DatePickerInput.vue.d.ts +11 -7
  90. package/dist/components/DatePicker/DatePickerNext.vue.d.ts +1 -2
  91. package/dist/components/DatePicker/DatePickerPrev.vue.d.ts +1 -2
  92. package/dist/components/DatePicker/DatePickerRoot.vue.d.ts +17 -14
  93. package/dist/components/DatePicker/DatePickerTrigger.vue.d.ts +11 -7
  94. package/dist/components/DateRangePicker/DateRangePicker.vue.d.ts +14 -14
  95. package/dist/components/DateRangePicker/DateRangePickerArrow.vue.d.ts +1 -2
  96. package/dist/components/DateRangePicker/DateRangePickerCalendar.vue.d.ts +18 -14
  97. package/dist/components/DateRangePicker/DateRangePickerCellTrigger.vue.d.ts +11 -7
  98. package/dist/components/DateRangePicker/DateRangePickerContent.vue.d.ts +11 -7
  99. package/dist/components/DateRangePicker/DateRangePickerField.vue.d.ts +1 -2
  100. package/dist/components/DateRangePicker/DateRangePickerGrid.vue.d.ts +11 -7
  101. package/dist/components/DateRangePicker/DateRangePickerGridBody.vue.d.ts +11 -7
  102. package/dist/components/DateRangePicker/DateRangePickerGridRow.vue.d.ts +11 -7
  103. package/dist/components/DateRangePicker/DateRangePickerHeadCell.vue.d.ts +11 -7
  104. package/dist/components/DateRangePicker/DateRangePickerHeader.vue.d.ts +11 -7
  105. package/dist/components/DateRangePicker/DateRangePickerHeading.vue.d.ts +1 -2
  106. package/dist/components/DateRangePicker/DateRangePickerInput.vue.d.ts +11 -7
  107. package/dist/components/DateRangePicker/DateRangePickerNext.vue.d.ts +1 -2
  108. package/dist/components/DateRangePicker/DateRangePickerPrev.vue.d.ts +1 -2
  109. package/dist/components/DateRangePicker/DateRangePickerRoot.vue.d.ts +17 -14
  110. package/dist/components/DateRangePicker/DateRangePickerTrigger.vue.d.ts +11 -7
  111. package/dist/components/Dialog/Dialog.stories.d.ts +4 -1
  112. package/dist/components/Dialog/Dialog.vue.d.ts +21 -25
  113. package/dist/components/Dialog/DialogActions.vue.d.ts +11 -7
  114. package/dist/components/Dialog/DialogClose.vue.d.ts +1 -2
  115. package/dist/components/Dialog/DialogContent.vue.d.ts +15 -13
  116. package/dist/components/Dialog/DialogDescription.vue.d.ts +11 -7
  117. package/dist/components/Dialog/DialogOverlay.vue.d.ts +1 -2
  118. package/dist/components/Dialog/DialogTitle.vue.d.ts +11 -7
  119. package/dist/components/Divider/Divider.vue.d.ts +11 -7
  120. package/dist/components/Drawer/Drawer.stories.d.ts +1 -1
  121. package/dist/components/Drawer/Drawer.vue.d.ts +19 -24
  122. package/dist/components/Drawer/DrawerContent.vue.d.ts +15 -13
  123. package/dist/components/Drawer/DrawerOverlay.vue.d.ts +11 -7
  124. package/dist/components/Drawer/DrawerPortal.vue.d.ts +11 -7
  125. package/dist/components/Drawer/DrawerRoot.vue.d.ts +11 -7
  126. package/dist/components/Drawer/DrawerTrigger.vue.d.ts +11 -7
  127. package/dist/components/DropdownMenu/DropdownMenu.stories.d.ts +6 -3
  128. package/dist/components/DropdownMenu/DropdownMenu.vue.d.ts +18 -20
  129. package/dist/components/DropdownMenu/DropdownMenuArrow.vue.d.ts +1 -2
  130. package/dist/components/DropdownMenu/DropdownMenuContent.vue.d.ts +11 -7
  131. package/dist/components/DropdownMenu/DropdownMenuItem.vue.d.ts +11 -7
  132. package/dist/components/DropdownMenu/DropdownMenuSeparator.vue.d.ts +1 -2
  133. package/dist/components/DropdownMenu/DropdownMenuSubContent.vue.d.ts +13 -9
  134. package/dist/components/DropdownMenu/DropdownMenuSubTrigger.vue.d.ts +11 -7
  135. package/dist/components/File/File.vue.d.ts +2 -3
  136. package/dist/components/FormField/FormField.vue.d.ts +12 -9
  137. package/dist/components/Image/Image.vue.d.ts +2 -3
  138. package/dist/components/Image/ImageModalProvider.vue.d.ts +11 -7
  139. package/dist/components/InputNumber/InputNumber.vue.d.ts +4 -6
  140. package/dist/components/InputText/InputText.vue.d.ts +21 -15
  141. package/dist/components/Label/Label.vue.d.ts +11 -7
  142. package/dist/components/Message/Message.vue.d.ts +12 -8
  143. package/dist/components/OTPCode/OTPCode.vue.d.ts +6 -6
  144. package/dist/components/OverlayBadge/OverlayBadge.vue.d.ts +11 -7
  145. package/dist/components/OverlayLayer/OverlayLayer.stories.d.ts +41 -0
  146. package/dist/components/OverlayLayer/OverlayLayer.vue.d.ts +32 -0
  147. package/dist/components/OverlayLayer/index.d.ts +3 -0
  148. package/dist/components/Pagination/PaginationEllipsis.vue.d.ts +1 -2
  149. package/dist/components/Pagination/PaginationFirst.vue.d.ts +1 -2
  150. package/dist/components/Pagination/PaginationLast.vue.d.ts +1 -2
  151. package/dist/components/Pagination/PaginationList.vue.d.ts +18 -14
  152. package/dist/components/Pagination/PaginationListItem.vue.d.ts +11 -7
  153. package/dist/components/Pagination/PaginationNext.vue.d.ts +1 -2
  154. package/dist/components/Pagination/PaginationPrev.vue.d.ts +1 -2
  155. package/dist/components/Popover/Popover.vue.d.ts +17 -19
  156. package/dist/components/Popover/PopoverArrow.vue.d.ts +1 -2
  157. package/dist/components/Popover/PopoverContent.vue.d.ts +13 -9
  158. package/dist/components/ProgressBar/ProgressBar.vue.d.ts +1 -2
  159. package/dist/components/RadioGroup/RadioGroupItem.vue.d.ts +1 -2
  160. package/dist/components/RadioGroup/RadioGroupRoot.vue.d.ts +14 -10
  161. package/dist/components/RangeCalendar/RangeCalendar.vue.d.ts +3 -5
  162. package/dist/components/RangeCalendar/RangeCalendarCell.vue.d.ts +11 -7
  163. package/dist/components/RangeCalendar/RangeCalendarCellTrigger.vue.d.ts +11 -7
  164. package/dist/components/RangeCalendar/RangeCalendarGrid.vue.d.ts +11 -7
  165. package/dist/components/RangeCalendar/RangeCalendarGridBody.vue.d.ts +11 -7
  166. package/dist/components/RangeCalendar/RangeCalendarGridRow.vue.d.ts +11 -7
  167. package/dist/components/RangeCalendar/RangeCalendarHeadCell.vue.d.ts +11 -7
  168. package/dist/components/RangeCalendar/RangeCalendarHeader.vue.d.ts +11 -7
  169. package/dist/components/RangeCalendar/RangeCalendarHeading.vue.d.ts +1 -2
  170. package/dist/components/RangeCalendar/RangeCalendarNext.vue.d.ts +1 -2
  171. package/dist/components/RangeCalendar/RangeCalendarPrev.vue.d.ts +1 -2
  172. package/dist/components/RangeCalendar/RangeCalendarRoot.vue.d.ts +23 -18
  173. package/dist/components/Schedule/Schedule.vue.d.ts +4 -6
  174. package/dist/components/ScheduleMobile/ScheduleMobile.vue.d.ts +28 -7
  175. package/dist/components/ScheduleMobile/ScheduleMobileModal.vue.d.ts +3 -4
  176. package/dist/components/ScrollArea/ScrollAreaRoot.vue.d.ts +281 -10
  177. package/dist/components/ScrollArea/ScrollAreaScrollbar.vue.d.ts +1 -2
  178. package/dist/components/ScrollArea/ScrollAreaViewport.vue.d.ts +11 -7
  179. package/dist/components/Select/SelectContent.vue.d.ts +12 -19
  180. package/dist/components/Select/SelectItem.vue.d.ts +11 -7
  181. package/dist/components/Select/SelectRoot.vue.d.ts +11 -7
  182. package/dist/components/Select/SelectSeparator.vue.d.ts +1 -2
  183. package/dist/components/Select/SelectTrigger.vue.d.ts +13 -10
  184. package/dist/components/Select/SelectValue.vue.d.ts +14 -10
  185. package/dist/components/Select/SelectViewport.vue.d.ts +12 -9
  186. package/dist/components/Skeleton/Skeleton.vue.d.ts +1 -2
  187. package/dist/components/Spinner/Spinner.vue.d.ts +1 -2
  188. package/dist/components/Stepper/StepperIndicator.vue.d.ts +1 -2
  189. package/dist/components/Stepper/StepperItem.vue.d.ts +11 -7
  190. package/dist/components/Stepper/StepperRoot.vue.d.ts +365 -13
  191. package/dist/components/Stepper/StepperSeparator.vue.d.ts +1 -2
  192. package/dist/components/Switch/SwitchRoot.vue.d.ts +12 -9
  193. package/dist/components/Switch/SwitchThumb.vue.d.ts +1 -2
  194. package/dist/components/Tabs/TabsList.vue.d.ts +11 -7
  195. package/dist/components/Tabs/TabsRoot.vue.d.ts +14 -10
  196. package/dist/components/Tabs/TabsTrigger.vue.d.ts +11 -7
  197. package/dist/components/Tag/Tag.vue.d.ts +12 -8
  198. package/dist/components/Textarea/Textarea.vue.d.ts +21 -15
  199. package/dist/components/TimeField/TimeField.vue.d.ts +3 -5
  200. package/dist/components/Toast/ToastClose.vue.d.ts +1 -2
  201. package/dist/components/Toast/ToastDescription.vue.d.ts +11 -7
  202. package/dist/components/Toast/ToastProvider.vue.d.ts +11 -7
  203. package/dist/components/Toast/ToastRoot.vue.d.ts +11 -7
  204. package/dist/components/Toast/ToastTitle.vue.d.ts +11 -7
  205. package/dist/components/Toast/ToastViewport.vue.d.ts +1 -2
  206. package/dist/components/Toast/Toaster.vue.d.ts +1 -2
  207. package/dist/components/Tooltip/TooltipArrow.vue.d.ts +1 -2
  208. package/dist/components/Tooltip/TooltipContent.vue.d.ts +12 -10
  209. package/dist/components/Tooltip/index.d.ts +1 -6
  210. package/dist/components/index.d.ts +1 -0
  211. package/dist/components/index.js +6606 -6159
  212. package/dist/icons/colored/BonusIcon.vue.d.ts +1 -2
  213. package/dist/icons/colored/CashbackIcon.vue.d.ts +1 -2
  214. package/dist/icons/colored/CertificateIcon.vue.d.ts +1 -2
  215. package/dist/icons/colored/DiscountIcon.vue.d.ts +1 -2
  216. package/dist/icons/colored/ExcelIcon.vue.d.ts +1 -2
  217. package/dist/icons/colored/FaviconIcon.vue.d.ts +1 -2
  218. package/dist/icons/colored/GiftColorIcon.vue.d.ts +1 -2
  219. package/dist/icons/colored/MaxIcon.vue.d.ts +1 -2
  220. package/dist/icons/colored/PdfIcon.vue.d.ts +1 -2
  221. package/dist/icons/colored/SberPayColorIcon.vue.d.ts +1 -2
  222. package/dist/icons/colored/ShieldIcon.vue.d.ts +1 -2
  223. package/dist/icons/colored/SpbIcon.vue.d.ts +1 -2
  224. package/dist/icons/colored/TelegramColorIcon.vue.d.ts +1 -2
  225. package/dist/icons/colored/TruesignFullIcon.vue.d.ts +1 -2
  226. package/dist/icons/colored/TruesignIcon.vue.d.ts +1 -2
  227. package/dist/icons/colored/WarehousePointIcon.vue.d.ts +1 -2
  228. package/dist/icons/colored/WordIcon.vue.d.ts +1 -2
  229. package/dist/icons/index.js +2656 -2
  230. package/dist/icons/monochrome/AngleBottomIcon.vue.d.ts +1 -2
  231. package/dist/icons/monochrome/AngleDoubleLeftIcon.vue.d.ts +1 -2
  232. package/dist/icons/monochrome/AngleDoubleRightIcon.vue.d.ts +1 -2
  233. package/dist/icons/monochrome/AngleLeftIcon.vue.d.ts +1 -2
  234. package/dist/icons/monochrome/AngleRightIcon.vue.d.ts +1 -2
  235. package/dist/icons/monochrome/AngleTopIcon.vue.d.ts +1 -2
  236. package/dist/icons/monochrome/ArrowRightTopIcon.vue.d.ts +1 -2
  237. package/dist/icons/monochrome/AtIcon.vue.d.ts +1 -2
  238. package/dist/icons/monochrome/AvatarIcon.vue.d.ts +1 -2
  239. package/dist/icons/monochrome/BagIcon.vue.d.ts +1 -2
  240. package/dist/icons/monochrome/BanIcon.vue.d.ts +1 -2
  241. package/dist/icons/monochrome/BankIcon.vue.d.ts +1 -2
  242. package/dist/icons/monochrome/BarsIcon.vue.d.ts +1 -2
  243. package/dist/icons/monochrome/BellIcon.vue.d.ts +1 -2
  244. package/dist/icons/monochrome/BookIcon.vue.d.ts +1 -2
  245. package/dist/icons/monochrome/BoxIcon.vue.d.ts +1 -2
  246. package/dist/icons/monochrome/BoxLineIcon.vue.d.ts +1 -2
  247. package/dist/icons/monochrome/BoxStopIcon.vue.d.ts +1 -2
  248. package/dist/icons/monochrome/BriefcaseIcon.vue.d.ts +1 -2
  249. package/dist/icons/monochrome/BuildingIcon.vue.d.ts +1 -2
  250. package/dist/icons/monochrome/CalendarIcon.vue.d.ts +1 -2
  251. package/dist/icons/monochrome/CameraIcon.vue.d.ts +1 -2
  252. package/dist/icons/monochrome/CarIcon.vue.d.ts +1 -2
  253. package/dist/icons/monochrome/CarSearchIcon.vue.d.ts +1 -2
  254. package/dist/icons/monochrome/CartCrossedIcon.vue.d.ts +1 -2
  255. package/dist/icons/monochrome/CartIcon.vue.d.ts +1 -2
  256. package/dist/icons/monochrome/CatalogToIcon.vue.d.ts +1 -2
  257. package/dist/icons/monochrome/CevronBottomIcon.vue.d.ts +1 -2
  258. package/dist/icons/monochrome/CevronLeftIcon.vue.d.ts +1 -2
  259. package/dist/icons/monochrome/CevronRightIcon.vue.d.ts +1 -2
  260. package/dist/icons/monochrome/CevronTopIcon.vue.d.ts +1 -2
  261. package/dist/icons/monochrome/CheckFilledIcon.vue.d.ts +1 -2
  262. package/dist/icons/monochrome/CheckIcon.vue.d.ts +1 -2
  263. package/dist/icons/monochrome/CheckRoundedIcon.vue.d.ts +1 -2
  264. package/dist/icons/monochrome/ClockIcon.vue.d.ts +1 -2
  265. package/dist/icons/monochrome/ClockPayIcon.vue.d.ts +1 -2
  266. package/dist/icons/monochrome/CloseIcon.vue.d.ts +1 -2
  267. package/dist/icons/monochrome/CloseRoundedIcon.vue.d.ts +1 -2
  268. package/dist/icons/monochrome/CogIcon.vue.d.ts +1 -2
  269. package/dist/icons/monochrome/CommentIcon.vue.d.ts +1 -2
  270. package/dist/icons/monochrome/CommentsIcon.vue.d.ts +1 -2
  271. package/dist/icons/monochrome/CopyIcon.vue.d.ts +1 -2
  272. package/dist/icons/monochrome/CreditCardIcon.vue.d.ts +1 -2
  273. package/dist/icons/monochrome/CrossedBoxIcon.vue.d.ts +1 -2
  274. package/dist/icons/monochrome/CrumpledBoxIcon.vue.d.ts +1 -2
  275. package/dist/icons/monochrome/CubeIcon.vue.d.ts +1 -2
  276. package/dist/icons/monochrome/DeliveryIcon.vue.d.ts +1 -2
  277. package/dist/icons/monochrome/DeliveryTimeIcon.vue.d.ts +1 -2
  278. package/dist/icons/monochrome/DownloadIcon.vue.d.ts +1 -2
  279. package/dist/icons/monochrome/ErrorFillIcon.vue.d.ts +1 -2
  280. package/dist/icons/monochrome/ErrorIcon.vue.d.ts +1 -2
  281. package/dist/icons/monochrome/ExclamationBoxIcon.vue.d.ts +1 -2
  282. package/dist/icons/monochrome/EyeCloseIcon.vue.d.ts +1 -2
  283. package/dist/icons/monochrome/EyeIcon.vue.d.ts +1 -2
  284. package/dist/icons/monochrome/FileEditIcon.vue.d.ts +1 -2
  285. package/dist/icons/monochrome/FileExportIcon.vue.d.ts +1 -2
  286. package/dist/icons/monochrome/FileIcon.vue.d.ts +1 -2
  287. package/dist/icons/monochrome/FileUploadIcon.vue.d.ts +1 -2
  288. package/dist/icons/monochrome/FilterFillIcon.vue.d.ts +1 -2
  289. package/dist/icons/monochrome/FilterIcon.vue.d.ts +1 -2
  290. package/dist/icons/monochrome/FilterSlashIcon.vue.d.ts +1 -2
  291. package/dist/icons/monochrome/GiftIcon.vue.d.ts +1 -2
  292. package/dist/icons/monochrome/GuardIcon.vue.d.ts +1 -2
  293. package/dist/icons/monochrome/HeadSetIcon.vue.d.ts +1 -2
  294. package/dist/icons/monochrome/HeartFillIcon.vue.d.ts +1 -2
  295. package/dist/icons/monochrome/HeartOutlinedIcon.vue.d.ts +1 -2
  296. package/dist/icons/monochrome/HomeIcon.vue.d.ts +1 -2
  297. package/dist/icons/monochrome/ImageIcon.vue.d.ts +1 -2
  298. package/dist/icons/monochrome/InfoFillIcon.vue.d.ts +1 -2
  299. package/dist/icons/monochrome/InfoIcon.vue.d.ts +1 -2
  300. package/dist/icons/monochrome/LikeIcon.vue.d.ts +1 -2
  301. package/dist/icons/monochrome/ListIcon.vue.d.ts +1 -2
  302. package/dist/icons/monochrome/LocationIcon.vue.d.ts +1 -2
  303. package/dist/icons/monochrome/LockIcon.vue.d.ts +1 -2
  304. package/dist/icons/monochrome/MailBoxIcon.vue.d.ts +1 -2
  305. package/dist/icons/monochrome/MailIcon.vue.d.ts +1 -2
  306. package/dist/icons/monochrome/MailWarningIcon.vue.d.ts +1 -2
  307. package/dist/icons/monochrome/MapIcon.vue.d.ts +1 -2
  308. package/dist/icons/monochrome/MapPointFilledIcon.vue.d.ts +1 -2
  309. package/dist/icons/monochrome/MapPointIcon.vue.d.ts +1 -2
  310. package/dist/icons/monochrome/MessageIcon.vue.d.ts +1 -2
  311. package/dist/icons/monochrome/MinusIcon.vue.d.ts +1 -2
  312. package/dist/icons/monochrome/MoneyBillIcon.vue.d.ts +1 -2
  313. package/dist/icons/monochrome/NewIcon.vue.d.ts +1 -2
  314. package/dist/icons/monochrome/OilIcon.vue.d.ts +1 -2
  315. package/dist/icons/monochrome/PackageIcon.vue.d.ts +1 -2
  316. package/dist/icons/monochrome/PencelLineIcon.vue.d.ts +1 -2
  317. package/dist/icons/monochrome/PercentCircleIcon.vue.d.ts +1 -2
  318. package/dist/icons/monochrome/PersonIcon.vue.d.ts +1 -2
  319. package/dist/icons/monochrome/PinIcon.vue.d.ts +1 -2
  320. package/dist/icons/monochrome/PlusIcon.vue.d.ts +1 -2
  321. package/dist/icons/monochrome/PlusRoundedIcon.vue.d.ts +1 -2
  322. package/dist/icons/monochrome/PrintIcon.vue.d.ts +1 -2
  323. package/dist/icons/monochrome/ProcentIcon.vue.d.ts +1 -2
  324. package/dist/icons/monochrome/QrIcon.vue.d.ts +1 -2
  325. package/dist/icons/monochrome/QuestionIcon.vue.d.ts +1 -2
  326. package/dist/icons/monochrome/QuestionRoundedIcon.vue.d.ts +1 -2
  327. package/dist/icons/monochrome/ReplaceIcon.vue.d.ts +1 -2
  328. package/dist/icons/monochrome/Replay2Icon.vue.d.ts +1 -2
  329. package/dist/icons/monochrome/ReplayIcon.vue.d.ts +1 -2
  330. package/dist/icons/monochrome/ReplayOffIcon.vue.d.ts +1 -2
  331. package/dist/icons/monochrome/ReturnIcon.vue.d.ts +1 -2
  332. package/dist/icons/monochrome/RubIcon.vue.d.ts +1 -2
  333. package/dist/icons/monochrome/RumpledPackageIcon.vue.d.ts +1 -2
  334. package/dist/icons/monochrome/SberPayIcon.vue.d.ts +1 -2
  335. package/dist/icons/monochrome/SearchIcon.vue.d.ts +1 -2
  336. package/dist/icons/monochrome/SearchMinusIcon.vue.d.ts +1 -2
  337. package/dist/icons/monochrome/SearchPlusIcon.vue.d.ts +1 -2
  338. package/dist/icons/monochrome/SendIcon.vue.d.ts +1 -2
  339. package/dist/icons/monochrome/SettingsIcon.vue.d.ts +1 -2
  340. package/dist/icons/monochrome/ShieldErrorIcon.vue.d.ts +1 -2
  341. package/dist/icons/monochrome/ShopIcon.vue.d.ts +1 -2
  342. package/dist/icons/monochrome/ShoppingCartIcon.vue.d.ts +1 -2
  343. package/dist/icons/monochrome/SignOutIcon.vue.d.ts +1 -2
  344. package/dist/icons/monochrome/SmartphoneIcon.vue.d.ts +1 -2
  345. package/dist/icons/monochrome/SmsIcon.vue.d.ts +1 -2
  346. package/dist/icons/monochrome/SortDownFillIcon.vue.d.ts +1 -2
  347. package/dist/icons/monochrome/SortDownIcon.vue.d.ts +1 -2
  348. package/dist/icons/monochrome/SortUpFillIcon.vue.d.ts +1 -2
  349. package/dist/icons/monochrome/SortUpIcon.vue.d.ts +1 -2
  350. package/dist/icons/monochrome/StarFillIcon.vue.d.ts +1 -2
  351. package/dist/icons/monochrome/StarIcon.vue.d.ts +1 -2
  352. package/dist/icons/monochrome/SyncIcon.vue.d.ts +1 -2
  353. package/dist/icons/monochrome/TelegramIcon.vue.d.ts +1 -2
  354. package/dist/icons/monochrome/TimerIcon.vue.d.ts +1 -2
  355. package/dist/icons/monochrome/TrashIcon.vue.d.ts +1 -2
  356. package/dist/icons/monochrome/TruckFillIcon.vue.d.ts +1 -2
  357. package/dist/icons/monochrome/TruckIcon.vue.d.ts +1 -2
  358. package/dist/icons/monochrome/UploadIcon.vue.d.ts +1 -2
  359. package/dist/icons/monochrome/UserIcon.vue.d.ts +1 -2
  360. package/dist/icons/monochrome/UsersIcon.vue.d.ts +1 -2
  361. package/dist/icons/monochrome/Wallet2Icon.vue.d.ts +1 -2
  362. package/dist/icons/monochrome/WalletIcon.vue.d.ts +1 -2
  363. package/dist/icons/monochrome/WarehouseIcon.vue.d.ts +1 -2
  364. package/dist/icons/monochrome/WarnRoundedIcon.vue.d.ts +1 -2
  365. package/dist/icons/monochrome/WarningFillIcon.vue.d.ts +1 -2
  366. package/dist/icons/monochrome/WarningIcon.vue.d.ts +1 -2
  367. package/dist/icons/monochrome/WeightIcon.vue.d.ts +1 -2
  368. package/dist/icons/monochrome/ZapIcon.vue.d.ts +1 -2
  369. package/dist/parseFileSize.util-jznvHBCL.js +548 -0
  370. package/dist/styles/mixins.scss +14 -0
  371. package/dist/styles/vars.scss +15 -8
  372. package/dist/ui.css +1 -2
  373. package/dist/utils/index.d.ts +1 -1
  374. package/dist/utils/index.js +171 -2
  375. package/dist/utils/useOverlayLayer.util.d.ts +26 -0
  376. package/package.json +49 -51
  377. package/src/styles/mixins.scss +14 -0
  378. package/src/styles/vars.scss +15 -8
  379. package/dist/components/AlertDialog/AlertDialog.vue.d.ts +0 -56
  380. package/dist/components/Tooltip/TooltipPortal.vue.d.ts +0 -17
  381. package/dist/components/Tooltip/TooltipRoot.vue.d.ts +0 -40
  382. package/dist/components/Tooltip/TooltipTrigger.vue.d.ts +0 -17
  383. package/dist/icons-CXIS8gFg.js +0 -2420
  384. package/dist/utils/useLockZoom.util.d.ts +0 -4
  385. package/dist/utils-DaKJDD4y.js +0 -796
@@ -1,796 +0,0 @@
1
- import { h as e, toValue as t, unref as n } from "vue";
2
- import { useBreakpoints as r } from "@vueuse/core";
3
- import * as i from "dayjs";
4
- import a from "dayjs";
5
- //#region \0rolldown/runtime.js
6
- var o = Object.create, s = Object.defineProperty, c = Object.getOwnPropertyDescriptor, l = Object.getOwnPropertyNames, u = Object.getPrototypeOf, d = Object.prototype.hasOwnProperty, f = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), p = (e, t, n, r) => {
7
- if (t && typeof t == "object" || typeof t == "function") for (var i = l(t), a = 0, o = i.length, u; a < o; a++) u = i[a], !d.call(e, u) && u !== n && s(e, u, {
8
- get: ((e) => t[e]).bind(null, u),
9
- enumerable: !(r = c(t, u)) || r.enumerable
10
- });
11
- return e;
12
- }, m = (e, t, n) => (n = e == null ? {} : o(u(e)), p(t || !e || !e.__esModule ? s(n, "default", {
13
- value: e,
14
- enumerable: !0
15
- }) : n, e)), h = r({
16
- mobile: 0,
17
- sm: 640,
18
- md: 768,
19
- lg: 1010,
20
- xl: 1220,
21
- xxl: 1420,
22
- xxxl: 1620
23
- });
24
- //#endregion
25
- //#region src/utils/eventBus.util.ts
26
- function g() {
27
- let e = /* @__PURE__ */ new Map();
28
- return {
29
- on(t, n) {
30
- let r = e.get(t) ?? [];
31
- r.push(n), e.set(t, r);
32
- },
33
- off(t, n) {
34
- let r = e.get(t);
35
- r && e.set(t, r.filter((e) => e !== n));
36
- },
37
- emit(t, n) {
38
- let r = e.get(t);
39
- r && r.forEach((e) => e(n));
40
- },
41
- listeners(t) {
42
- let n = e.get(t);
43
- return n ? [...n] : [];
44
- },
45
- listenerCount(t) {
46
- return e.get(t)?.length ?? 0;
47
- },
48
- eventNames() {
49
- return Array.from(e.keys());
50
- },
51
- clear() {
52
- e.clear();
53
- }
54
- };
55
- }
56
- //#endregion
57
- //#region src/utils/isClient.util.ts
58
- function _() {
59
- return !!(typeof window < "u" && window.document && window.document.createElement);
60
- }
61
- //#endregion
62
- //#region src/utils/onClickOutside.util.ts
63
- var v = /* @__PURE__ */ new WeakMap();
64
- function y(e) {
65
- let t = n(e);
66
- return t?.$el ?? t;
67
- }
68
- function b(e) {
69
- return typeof e == "string" ? document.querySelector(e) : y(e);
70
- }
71
- function x(e, n, r = {}) {
72
- let i = b(e);
73
- if (!i) return () => {};
74
- let a = v.get(i);
75
- a && (a(), v.delete(i));
76
- let o = (e) => {
77
- let a = e.target instanceof Node ? e.target : null;
78
- if (!a) return;
79
- let o = (t(r.ignore) ?? []).map((e) => typeof e == "string" ? document.querySelector(e) : y(e)).filter((e) => e != null);
80
- i.contains(a) || o.some((e) => e.contains(a)) || n(e);
81
- };
82
- document.addEventListener("mousedown", o, { capture: !0 }), document.addEventListener("touchstart", o, { capture: !0 });
83
- let s = () => {
84
- document.removeEventListener("mousedown", o, { capture: !0 }), document.removeEventListener("touchstart", o, { capture: !0 }), v.delete(i);
85
- };
86
- return v.set(i, s), s;
87
- }
88
- //#endregion
89
- //#region src/utils/price.util.ts
90
- function S(e, t = "₽", n = 2) {
91
- return `${e.toLocaleString("en-US", {
92
- minimumFractionDigits: n,
93
- maximumFractionDigits: n
94
- }).replace(/,/g, " ")} ${t}`;
95
- }
96
- function C(e) {
97
- return e.reduce((e, t) => e + t, 0);
98
- }
99
- function w(e) {
100
- let t = e.replace(/[^\d.,]/g, "").replace(",", ".");
101
- return parseFloat(t) || 0;
102
- }
103
- //#endregion
104
- //#region src/utils/useBodyScroll.util.ts
105
- var T = null, E = 0;
106
- function D() {
107
- let e = window.scrollY;
108
- return document.body.style.position = "fixed", document.body.style.top = `-${e}px`, () => {
109
- document.body.style.position = "", document.body.style.top = "", window.scrollTo(0, e);
110
- };
111
- }
112
- var O = () => {
113
- E++, E === 1 && !T && (T = D());
114
- }, ee = () => {
115
- E > 0 && E--, E === 0 && T && (T(), T = null);
116
- }, te = () => ({
117
- unlockScroll: ee,
118
- lockScroll: O
119
- }), k = null, A = 0;
120
- function j() {
121
- return document.querySelector("meta[name=\"viewport\"]");
122
- }
123
- var M = () => {
124
- if (!_() || (A++, A > 1)) return;
125
- let e = j();
126
- e && (k = e.getAttribute("content"), e.setAttribute("content", "width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"));
127
- }, N = () => {
128
- _() && (A > 0 && A--, A === 0 && k !== null && (j()?.setAttribute("content", k), k = null));
129
- }, P = () => ({
130
- lockZoom: M,
131
- unlockZoom: N
132
- }), F = /* @__PURE__ */ f(((e, t) => {
133
- t.exports = { ...i };
134
- })), I = /* @__PURE__ */ f(((e, t) => {
135
- (function(n, r) {
136
- typeof e == "object" && t !== void 0 ? t.exports = r(F()) : typeof define == "function" && define.amd ? define(["dayjs"], r) : (n = typeof globalThis < "u" ? globalThis : n || self).dayjs_locale_ru = r(n.dayjs);
137
- })(e, (function(e) {
138
- function t(e) {
139
- return e && typeof e == "object" && "default" in e ? e : { default: e };
140
- }
141
- var n = t(e), r = "января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"), i = "январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"), a = "янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"), o = "янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_"), s = /D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;
142
- function c(e, t, n) {
143
- var r, i;
144
- return n === "m" ? t ? "минута" : "минуту" : e + " " + (r = +e, i = {
145
- mm: t ? "минута_минуты_минут" : "минуту_минуты_минут",
146
- hh: "час_часа_часов",
147
- dd: "день_дня_дней",
148
- MM: "месяц_месяца_месяцев",
149
- yy: "год_года_лет"
150
- }[n].split("_"), r % 10 == 1 && r % 100 != 11 ? i[0] : r % 10 >= 2 && r % 10 <= 4 && (r % 100 < 10 || r % 100 >= 20) ? i[1] : i[2]);
151
- }
152
- var l = function(e, t) {
153
- return s.test(t) ? r[e.month()] : i[e.month()];
154
- };
155
- l.s = i, l.f = r;
156
- var u = function(e, t) {
157
- return s.test(t) ? a[e.month()] : o[e.month()];
158
- };
159
- u.s = o, u.f = a;
160
- var d = {
161
- name: "ru",
162
- weekdays: "воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),
163
- weekdaysShort: "вск_пнд_втр_срд_чтв_птн_сбт".split("_"),
164
- weekdaysMin: "вс_пн_вт_ср_чт_пт_сб".split("_"),
165
- months: l,
166
- monthsShort: u,
167
- weekStart: 1,
168
- yearStart: 4,
169
- formats: {
170
- LT: "H:mm",
171
- LTS: "H:mm:ss",
172
- L: "DD.MM.YYYY",
173
- LL: "D MMMM YYYY г.",
174
- LLL: "D MMMM YYYY г., H:mm",
175
- LLLL: "dddd, D MMMM YYYY г., H:mm"
176
- },
177
- relativeTime: {
178
- future: "через %s",
179
- past: "%s назад",
180
- s: "несколько секунд",
181
- m: c,
182
- mm: c,
183
- h: "час",
184
- hh: c,
185
- d: "день",
186
- dd: c,
187
- M: "месяц",
188
- MM: c,
189
- y: "год",
190
- yy: c
191
- },
192
- ordinal: function(e) {
193
- return e;
194
- },
195
- meridiem: function(e) {
196
- return e < 4 ? "ночи" : e < 12 ? "утра" : e < 17 ? "дня" : "вечера";
197
- }
198
- };
199
- return n.default.locale(d, null, !0), d;
200
- }));
201
- })), L = /* @__PURE__ */ f(((e, t) => {
202
- (function(n, r) {
203
- typeof e == "object" && t !== void 0 ? t.exports = r() : typeof define == "function" && define.amd ? define(r) : (n = typeof globalThis < "u" ? globalThis : n || self).dayjs_plugin_customParseFormat = r();
204
- })(e, (function() {
205
- var e = {
206
- LTS: "h:mm:ss A",
207
- LT: "h:mm A",
208
- L: "MM/DD/YYYY",
209
- LL: "MMMM D, YYYY",
210
- LLL: "MMMM D, YYYY h:mm A",
211
- LLLL: "dddd, MMMM D, YYYY h:mm A"
212
- }, t = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, n = /\d/, r = /\d\d/, i = /\d\d?/, a = /\d*[^-_:/,()\s\d]+/, o = {}, s = function(e) {
213
- return (e = +e) + (e > 68 ? 1900 : 2e3);
214
- }, c = function(e) {
215
- return function(t) {
216
- this[e] = +t;
217
- };
218
- }, l = [/[+-]\d\d:?(\d\d)?|Z/, function(e) {
219
- (this.zone ||= {}).offset = function(e) {
220
- if (!e || e === "Z") return 0;
221
- var t = e.match(/([+-]|\d\d)/g), n = 60 * t[1] + (+t[2] || 0);
222
- return n === 0 ? 0 : t[0] === "+" ? -n : n;
223
- }(e);
224
- }], u = function(e) {
225
- var t = o[e];
226
- return t && (t.indexOf ? t : t.s.concat(t.f));
227
- }, d = function(e, t) {
228
- var n, r = o.meridiem;
229
- if (r) {
230
- for (var i = 1; i <= 24; i += 1) if (e.indexOf(r(i, 0, t)) > -1) {
231
- n = i > 12;
232
- break;
233
- }
234
- } else n = e === (t ? "pm" : "PM");
235
- return n;
236
- }, f = {
237
- A: [a, function(e) {
238
- this.afternoon = d(e, !1);
239
- }],
240
- a: [a, function(e) {
241
- this.afternoon = d(e, !0);
242
- }],
243
- Q: [n, function(e) {
244
- this.month = 3 * (e - 1) + 1;
245
- }],
246
- S: [n, function(e) {
247
- this.milliseconds = 100 * e;
248
- }],
249
- SS: [r, function(e) {
250
- this.milliseconds = 10 * e;
251
- }],
252
- SSS: [/\d{3}/, function(e) {
253
- this.milliseconds = +e;
254
- }],
255
- s: [i, c("seconds")],
256
- ss: [i, c("seconds")],
257
- m: [i, c("minutes")],
258
- mm: [i, c("minutes")],
259
- H: [i, c("hours")],
260
- h: [i, c("hours")],
261
- HH: [i, c("hours")],
262
- hh: [i, c("hours")],
263
- D: [i, c("day")],
264
- DD: [r, c("day")],
265
- Do: [a, function(e) {
266
- var t = o.ordinal, n = e.match(/\d+/);
267
- if (this.day = n[0], t) for (var r = 1; r <= 31; r += 1) t(r).replace(/\[|\]/g, "") === e && (this.day = r);
268
- }],
269
- w: [i, c("week")],
270
- ww: [r, c("week")],
271
- M: [i, c("month")],
272
- MM: [r, c("month")],
273
- MMM: [a, function(e) {
274
- var t = u("months"), n = (u("monthsShort") || t.map((function(e) {
275
- return e.slice(0, 3);
276
- }))).indexOf(e) + 1;
277
- if (n < 1) throw Error();
278
- this.month = n % 12 || n;
279
- }],
280
- MMMM: [a, function(e) {
281
- var t = u("months").indexOf(e) + 1;
282
- if (t < 1) throw Error();
283
- this.month = t % 12 || t;
284
- }],
285
- Y: [/[+-]?\d+/, c("year")],
286
- YY: [r, function(e) {
287
- this.year = s(e);
288
- }],
289
- YYYY: [/\d{4}/, c("year")],
290
- Z: l,
291
- ZZ: l
292
- };
293
- function p(n) {
294
- for (var r = n, i = o && o.formats, a = (n = r.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, (function(t, n, r) {
295
- var a = r && r.toUpperCase();
296
- return n || i[r] || e[r] || i[a].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, (function(e, t, n) {
297
- return t || n.slice(1);
298
- }));
299
- }))).match(t), s = a.length, c = 0; c < s; c += 1) {
300
- var l = a[c], u = f[l], d = u && u[0], p = u && u[1];
301
- a[c] = p ? {
302
- regex: d,
303
- parser: p
304
- } : l.replace(/^\[|\]$/g, "");
305
- }
306
- return function(e) {
307
- for (var t = {}, n = 0, r = 0; n < s; n += 1) {
308
- var i = a[n];
309
- if (typeof i == "string") r += i.length;
310
- else {
311
- var o = i.regex, c = i.parser, l = e.slice(r), u = o.exec(l)[0];
312
- c.call(t, u), e = e.replace(u, "");
313
- }
314
- }
315
- return function(e) {
316
- var t = e.afternoon;
317
- if (t !== void 0) {
318
- var n = e.hours;
319
- t ? n < 12 && (e.hours += 12) : n === 12 && (e.hours = 0), delete e.afternoon;
320
- }
321
- }(t), t;
322
- };
323
- }
324
- return function(e, t, n) {
325
- n.p.customParseFormat = !0, e && e.parseTwoDigitYear && (s = e.parseTwoDigitYear);
326
- var r = t.prototype, i = r.parse;
327
- r.parse = function(e) {
328
- var t = e.date, r = e.utc, a = e.args;
329
- this.$u = r;
330
- var s = a[1];
331
- if (typeof s == "string") {
332
- var c = !0 === a[2], l = !0 === a[3], u = c || l, d = a[2];
333
- l && (d = a[2]), o = this.$locale(), !c && d && (o = n.Ls[d]), this.$d = function(e, t, n, r) {
334
- try {
335
- if (["x", "X"].indexOf(t) > -1) return /* @__PURE__ */ new Date((t === "X" ? 1e3 : 1) * e);
336
- var i = p(t)(e), a = i.year, o = i.month, s = i.day, c = i.hours, l = i.minutes, u = i.seconds, d = i.milliseconds, f = i.zone, m = i.week, h = /* @__PURE__ */ new Date(), g = s || (a || o ? 1 : h.getDate()), _ = a || h.getFullYear(), v = 0;
337
- a && !o || (v = o > 0 ? o - 1 : h.getMonth());
338
- var y, b = c || 0, x = l || 0, S = u || 0, C = d || 0;
339
- return f ? new Date(Date.UTC(_, v, g, b, x, S, C + 60 * f.offset * 1e3)) : n ? new Date(Date.UTC(_, v, g, b, x, S, C)) : (y = new Date(_, v, g, b, x, S, C), m && (y = r(y).week(m).toDate()), y);
340
- } catch {
341
- return /* @__PURE__ */ new Date("");
342
- }
343
- }(t, s, r, n), this.init(), d && !0 !== d && (this.$L = this.locale(d).$L), u && t != this.format(s) && (this.$d = /* @__PURE__ */ new Date("")), o = {};
344
- } else if (s instanceof Array) for (var f = s.length, m = 1; m <= f; m += 1) {
345
- a[1] = s[m - 1];
346
- var h = n.apply(this, a);
347
- if (h.isValid()) {
348
- this.$d = h.$d, this.$L = h.$L, this.init();
349
- break;
350
- }
351
- m === f && (this.$d = /* @__PURE__ */ new Date(""));
352
- }
353
- else i.call(this, e);
354
- };
355
- };
356
- }));
357
- })), R = /* @__PURE__ */ f(((e, t) => {
358
- (function(n, r) {
359
- typeof e == "object" && t !== void 0 ? t.exports = r() : typeof define == "function" && define.amd ? define(r) : (n = typeof globalThis < "u" ? globalThis : n || self).dayjs_plugin_dayOfYear = r();
360
- })(e, (function() {
361
- return function(e, t, n) {
362
- t.prototype.dayOfYear = function(e) {
363
- var t = Math.round((n(this).startOf("day") - n(this).startOf("year")) / 864e5) + 1;
364
- return e == null ? t : this.add(e - t, "day");
365
- };
366
- };
367
- }));
368
- })), z = /* @__PURE__ */ f(((e, t) => {
369
- (function(n, r) {
370
- typeof e == "object" && t !== void 0 ? t.exports = r() : typeof define == "function" && define.amd ? define(r) : (n = typeof globalThis < "u" ? globalThis : n || self).dayjs_plugin_duration = r();
371
- })(e, (function() {
372
- var e, t, n = 1e3, r = 6e4, i = 36e5, a = 864e5, o = 31536e6, s = 2628e6, c = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/, l = /\[([^\]]+)]|YYYY|YY|Y|M{1,2}|D{1,2}|H{1,2}|m{1,2}|s{1,2}|SSS/g, u = {
373
- years: o,
374
- months: s,
375
- days: a,
376
- hours: i,
377
- minutes: r,
378
- seconds: n,
379
- milliseconds: 1,
380
- weeks: 6048e5
381
- }, d = function(e) {
382
- return e instanceof v;
383
- }, f = function(e, t, n) {
384
- return new v(e, n, t.$l);
385
- }, p = function(e) {
386
- return t.p(e) + "s";
387
- }, m = function(e) {
388
- return e < 0;
389
- }, h = function(e) {
390
- return m(e) ? Math.ceil(e) : Math.floor(e);
391
- }, g = function(e) {
392
- return Math.abs(e);
393
- }, _ = function(e, t) {
394
- return e ? m(e) ? {
395
- negative: !0,
396
- format: "" + g(e) + t
397
- } : {
398
- negative: !1,
399
- format: "" + e + t
400
- } : {
401
- negative: !1,
402
- format: ""
403
- };
404
- }, v = function() {
405
- function m(e, t, n) {
406
- var r = this;
407
- if (this.$d = {}, this.$l = n, e === void 0 && (this.$ms = 0, this.parseFromMilliseconds()), t) return f(e * u[p(t)], this);
408
- if (typeof e == "number") return this.$ms = e, this.parseFromMilliseconds(), this;
409
- if (typeof e == "object") return Object.keys(e).forEach((function(t) {
410
- r.$d[p(t)] = e[t];
411
- })), this.calMilliseconds(), this;
412
- if (typeof e == "string") {
413
- var i = e.match(c);
414
- if (i) {
415
- var a = i.slice(2).map((function(e) {
416
- return e == null ? 0 : Number(e);
417
- }));
418
- return this.$d.years = a[0], this.$d.months = a[1], this.$d.weeks = a[2], this.$d.days = a[3], this.$d.hours = a[4], this.$d.minutes = a[5], this.$d.seconds = a[6], this.calMilliseconds(), this;
419
- }
420
- }
421
- return this;
422
- }
423
- var g = m.prototype;
424
- return g.calMilliseconds = function() {
425
- var e = this;
426
- this.$ms = Object.keys(this.$d).reduce((function(t, n) {
427
- return t + (e.$d[n] || 0) * u[n];
428
- }), 0);
429
- }, g.parseFromMilliseconds = function() {
430
- var e = this.$ms;
431
- this.$d.years = h(e / o), e %= o, this.$d.months = h(e / s), e %= s, this.$d.days = h(e / a), e %= a, this.$d.hours = h(e / i), e %= i, this.$d.minutes = h(e / r), e %= r, this.$d.seconds = h(e / n), e %= n, this.$d.milliseconds = e;
432
- }, g.toISOString = function() {
433
- var e = _(this.$d.years, "Y"), t = _(this.$d.months, "M"), n = +this.$d.days || 0;
434
- this.$d.weeks && (n += 7 * this.$d.weeks);
435
- var r = _(n, "D"), i = _(this.$d.hours, "H"), a = _(this.$d.minutes, "M"), o = this.$d.seconds || 0;
436
- this.$d.milliseconds && (o += this.$d.milliseconds / 1e3, o = Math.round(1e3 * o) / 1e3);
437
- var s = _(o, "S"), c = e.negative || t.negative || r.negative || i.negative || a.negative || s.negative, l = i.format || a.format || s.format ? "T" : "", u = (c ? "-" : "") + "P" + e.format + t.format + r.format + l + i.format + a.format + s.format;
438
- return u === "P" || u === "-P" ? "P0D" : u;
439
- }, g.toJSON = function() {
440
- return this.toISOString();
441
- }, g.format = function(e) {
442
- var n = e || "YYYY-MM-DDTHH:mm:ss", r = {
443
- Y: this.$d.years,
444
- YY: t.s(this.$d.years, 2, "0"),
445
- YYYY: t.s(this.$d.years, 4, "0"),
446
- M: this.$d.months,
447
- MM: t.s(this.$d.months, 2, "0"),
448
- D: this.$d.days,
449
- DD: t.s(this.$d.days, 2, "0"),
450
- H: this.$d.hours,
451
- HH: t.s(this.$d.hours, 2, "0"),
452
- m: this.$d.minutes,
453
- mm: t.s(this.$d.minutes, 2, "0"),
454
- s: this.$d.seconds,
455
- ss: t.s(this.$d.seconds, 2, "0"),
456
- SSS: t.s(this.$d.milliseconds, 3, "0")
457
- };
458
- return n.replace(l, (function(e, t) {
459
- return t || String(r[e]);
460
- }));
461
- }, g.as = function(e) {
462
- return this.$ms / u[p(e)];
463
- }, g.get = function(e) {
464
- var t = this.$ms, n = p(e);
465
- return n === "milliseconds" ? t %= 1e3 : t = n === "weeks" ? h(t / u[n]) : this.$d[n], t || 0;
466
- }, g.add = function(e, t, n) {
467
- var r;
468
- return r = t ? e * u[p(t)] : d(e) ? e.$ms : f(e, this).$ms, f(this.$ms + r * (n ? -1 : 1), this);
469
- }, g.subtract = function(e, t) {
470
- return this.add(e, t, !0);
471
- }, g.locale = function(e) {
472
- var t = this.clone();
473
- return t.$l = e, t;
474
- }, g.clone = function() {
475
- return f(this.$ms, this);
476
- }, g.humanize = function(t) {
477
- return e().add(this.$ms, "ms").locale(this.$l).fromNow(!t);
478
- }, g.valueOf = function() {
479
- return this.asMilliseconds();
480
- }, g.milliseconds = function() {
481
- return this.get("milliseconds");
482
- }, g.asMilliseconds = function() {
483
- return this.as("milliseconds");
484
- }, g.seconds = function() {
485
- return this.get("seconds");
486
- }, g.asSeconds = function() {
487
- return this.as("seconds");
488
- }, g.minutes = function() {
489
- return this.get("minutes");
490
- }, g.asMinutes = function() {
491
- return this.as("minutes");
492
- }, g.hours = function() {
493
- return this.get("hours");
494
- }, g.asHours = function() {
495
- return this.as("hours");
496
- }, g.days = function() {
497
- return this.get("days");
498
- }, g.asDays = function() {
499
- return this.as("days");
500
- }, g.weeks = function() {
501
- return this.get("weeks");
502
- }, g.asWeeks = function() {
503
- return this.as("weeks");
504
- }, g.months = function() {
505
- return this.get("months");
506
- }, g.asMonths = function() {
507
- return this.as("months");
508
- }, g.years = function() {
509
- return this.get("years");
510
- }, g.asYears = function() {
511
- return this.as("years");
512
- }, m;
513
- }(), y = function(e, t, n) {
514
- return e.add(t.years() * n, "y").add(t.months() * n, "M").add(t.days() * n, "d").add(t.hours() * n, "h").add(t.minutes() * n, "m").add(t.seconds() * n, "s").add(t.milliseconds() * n, "ms");
515
- };
516
- return function(n, r, i) {
517
- e = i, t = i().$utils(), i.duration = function(e, t) {
518
- return f(e, { $l: i.locale() }, t);
519
- }, i.isDuration = d;
520
- var a = r.prototype.add, o = r.prototype.subtract;
521
- r.prototype.add = function(e, t) {
522
- return d(e) ? y(this, e, 1) : a.bind(this)(e, t);
523
- }, r.prototype.subtract = function(e, t) {
524
- return d(e) ? y(this, e, -1) : o.bind(this)(e, t);
525
- };
526
- };
527
- }));
528
- })), B = /* @__PURE__ */ f(((e, t) => {
529
- (function(n, r) {
530
- typeof e == "object" && t !== void 0 ? t.exports = r() : typeof define == "function" && define.amd ? define(r) : (n = typeof globalThis < "u" ? globalThis : n || self).dayjs_plugin_isBetween = r();
531
- })(e, (function() {
532
- return function(e, t, n) {
533
- t.prototype.isBetween = function(e, t, r, i) {
534
- var a = n(e), o = n(t), s = (i ||= "()")[0] === "(", c = i[1] === ")";
535
- return (s ? this.isAfter(a, r) : !this.isBefore(a, r)) && (c ? this.isBefore(o, r) : !this.isAfter(o, r)) || (s ? this.isBefore(a, r) : !this.isAfter(a, r)) && (c ? this.isAfter(o, r) : !this.isBefore(o, r));
536
- };
537
- };
538
- }));
539
- })), V = /* @__PURE__ */ f(((e, t) => {
540
- (function(n, r) {
541
- typeof e == "object" && t !== void 0 ? t.exports = r() : typeof define == "function" && define.amd ? define(r) : (n = typeof globalThis < "u" ? globalThis : n || self).dayjs_plugin_isSameOrAfter = r();
542
- })(e, (function() {
543
- return function(e, t) {
544
- t.prototype.isSameOrAfter = function(e, t) {
545
- return this.isSame(e, t) || this.isAfter(e, t);
546
- };
547
- };
548
- }));
549
- })), H = /* @__PURE__ */ f(((e, t) => {
550
- (function(n, r) {
551
- typeof e == "object" && t !== void 0 ? t.exports = r() : typeof define == "function" && define.amd ? define(r) : (n = typeof globalThis < "u" ? globalThis : n || self).dayjs_plugin_isSameOrBefore = r();
552
- })(e, (function() {
553
- return function(e, t) {
554
- t.prototype.isSameOrBefore = function(e, t) {
555
- return this.isSame(e, t) || this.isBefore(e, t);
556
- };
557
- };
558
- }));
559
- })), U = /* @__PURE__ */ f(((e, t) => {
560
- (function(n, r) {
561
- typeof e == "object" && t !== void 0 ? t.exports = r() : typeof define == "function" && define.amd ? define(r) : (n = typeof globalThis < "u" ? globalThis : n || self).dayjs_plugin_isToday = r();
562
- })(e, (function() {
563
- return function(e, t, n) {
564
- t.prototype.isToday = function() {
565
- var e = "YYYY-MM-DD", t = n();
566
- return this.format(e) === t.format(e);
567
- };
568
- };
569
- }));
570
- })), W = /* @__PURE__ */ f(((e, t) => {
571
- (function(n, r) {
572
- typeof e == "object" && t !== void 0 ? t.exports = r() : typeof define == "function" && define.amd ? define(r) : (n = typeof globalThis < "u" ? globalThis : n || self).dayjs_plugin_isTomorrow = r();
573
- })(e, (function() {
574
- return function(e, t, n) {
575
- t.prototype.isTomorrow = function() {
576
- var e = "YYYY-MM-DD", t = n().add(1, "day");
577
- return this.format(e) === t.format(e);
578
- };
579
- };
580
- }));
581
- })), ne = /* @__PURE__ */ f(((e, t) => {
582
- (function(n, r) {
583
- typeof e == "object" && t !== void 0 ? t.exports = r() : typeof define == "function" && define.amd ? define(r) : (n = typeof globalThis < "u" ? globalThis : n || self).dayjs_plugin_localizedFormat = r();
584
- })(e, (function() {
585
- var e = {
586
- LTS: "h:mm:ss A",
587
- LT: "h:mm A",
588
- L: "MM/DD/YYYY",
589
- LL: "MMMM D, YYYY",
590
- LLL: "MMMM D, YYYY h:mm A",
591
- LLLL: "dddd, MMMM D, YYYY h:mm A"
592
- };
593
- return function(t, n, r) {
594
- var i = n.prototype, a = i.format;
595
- r.en.formats = e, i.format = function(t) {
596
- t === void 0 && (t = "YYYY-MM-DDTHH:mm:ssZ");
597
- var n = this.$locale().formats, r = function(t, n) {
598
- return t.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, (function(t, r, i) {
599
- var a = i && i.toUpperCase();
600
- return r || n[i] || e[i] || n[a].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, (function(e, t, n) {
601
- return t || n.slice(1);
602
- }));
603
- }));
604
- }(t, n === void 0 ? {} : n);
605
- return a.call(this, r);
606
- };
607
- };
608
- }));
609
- })), G = /* @__PURE__ */ f(((e, t) => {
610
- (function(n, r) {
611
- typeof e == "object" && t !== void 0 ? t.exports = r() : typeof define == "function" && define.amd ? define(r) : (n = typeof globalThis < "u" ? globalThis : n || self).dayjs_plugin_relativeTime = r();
612
- })(e, (function() {
613
- return function(e, t, n) {
614
- e ||= {};
615
- var r = t.prototype, i = {
616
- future: "in %s",
617
- past: "%s ago",
618
- s: "a few seconds",
619
- m: "a minute",
620
- mm: "%d minutes",
621
- h: "an hour",
622
- hh: "%d hours",
623
- d: "a day",
624
- dd: "%d days",
625
- M: "a month",
626
- MM: "%d months",
627
- y: "a year",
628
- yy: "%d years"
629
- };
630
- function a(e, t, n, i) {
631
- return r.fromToBase(e, t, n, i);
632
- }
633
- n.en.relativeTime = i, r.fromToBase = function(t, r, a, o, s) {
634
- for (var c, l, u, d = a.$locale().relativeTime || i, f = e.thresholds || [
635
- {
636
- l: "s",
637
- r: 44,
638
- d: "second"
639
- },
640
- {
641
- l: "m",
642
- r: 89
643
- },
644
- {
645
- l: "mm",
646
- r: 44,
647
- d: "minute"
648
- },
649
- {
650
- l: "h",
651
- r: 89
652
- },
653
- {
654
- l: "hh",
655
- r: 21,
656
- d: "hour"
657
- },
658
- {
659
- l: "d",
660
- r: 35
661
- },
662
- {
663
- l: "dd",
664
- r: 25,
665
- d: "day"
666
- },
667
- {
668
- l: "M",
669
- r: 45
670
- },
671
- {
672
- l: "MM",
673
- r: 10,
674
- d: "month"
675
- },
676
- {
677
- l: "y",
678
- r: 17
679
- },
680
- {
681
- l: "yy",
682
- d: "year"
683
- }
684
- ], p = f.length, m = 0; m < p; m += 1) {
685
- var h = f[m];
686
- h.d && (c = o ? n(t).diff(a, h.d, !0) : a.diff(t, h.d, !0));
687
- var g = (e.rounding || Math.round)(Math.abs(c));
688
- if (u = c > 0, g <= h.r || !h.r) {
689
- g <= 1 && m > 0 && (h = f[m - 1]);
690
- var _ = d[h.l];
691
- s && (g = s("" + g)), l = typeof _ == "string" ? _.replace("%d", g) : _(g, r, h.l, u);
692
- break;
693
- }
694
- }
695
- if (r) return l;
696
- var v = u ? d.future : d.past;
697
- return typeof v == "function" ? v(l) : v.replace("%s", l);
698
- }, r.to = function(e, t) {
699
- return a(e, t, this, !0);
700
- }, r.from = function(e, t) {
701
- return a(e, t, this);
702
- };
703
- var o = function(e) {
704
- return e.$u ? n.utc() : n();
705
- };
706
- r.toNow = function(e) {
707
- return this.to(o(this), e);
708
- }, r.fromNow = function(e) {
709
- return this.from(o(this), e);
710
- };
711
- };
712
- }));
713
- }));
714
- I();
715
- var K = /* @__PURE__ */ m(L(), 1), q = /* @__PURE__ */ m(R(), 1), J = /* @__PURE__ */ m(z(), 1), Y = /* @__PURE__ */ m(B(), 1), X = /* @__PURE__ */ m(V(), 1), Z = /* @__PURE__ */ m(H(), 1), re = /* @__PURE__ */ m(U(), 1), ie = /* @__PURE__ */ m(W(), 1), ae = /* @__PURE__ */ m(ne(), 1), oe = /* @__PURE__ */ m(G(), 1);
716
- a.extend(ae.default), a.extend(oe.default), a.extend(re.default), a.extend(Y.default), a.extend(Z.default), a.extend(X.default), a.extend(J.default), a.extend(K.default), a.extend(q.default), a.extend(ie.default), a.locale("ru");
717
- //#endregion
718
- //#region src/utils/parseFileSize.util.ts
719
- var Q = (e) => {
720
- let t = [
721
- "b",
722
- "kb",
723
- "mb",
724
- "gb",
725
- "tb"
726
- ], n = e.match(/[a-zA-Z]+/)?.[0] || "b";
727
- return parseFloat(e.replace(n, "")) * 1024 ** t.indexOf(n.toLowerCase());
728
- };
729
- function $(e, t = 3) {
730
- if (isNaN(e) || e < 0) return "0 Б";
731
- let n = [
732
- "Б",
733
- "КБ",
734
- "МБ",
735
- "ГБ",
736
- "ТБ"
737
- ], r = 0, i = e, a = 10 ** t;
738
- for (; i >= a && r < n.length - 1;) i /= 1024, r++;
739
- let o = i < 1 || i < 10 ? t - 1 : i < 100 ? t - 2 : 0;
740
- return `${o > 0 ? i.toFixed(o) : Math.round(i).toString()} ${n[r]}`;
741
- }
742
- //#endregion
743
- //#region src/utils/uploadFile.util.ts
744
- function se(e) {
745
- if (!e) return;
746
- let t = Array.isArray(e) ? e : [e], n = {
747
- image: ["image/*"],
748
- pdf: ["application/pdf"],
749
- excel: ["application/vnd.ms-excel", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],
750
- word: ["application/msword", "application/vnd.openxmlformats-officedocument.wordprocessingml.document"],
751
- all: ["*/*"]
752
- };
753
- return t.flatMap((e) => n[e] || []).join(",");
754
- }
755
- function ce(e = {}) {
756
- return new Promise((t) => {
757
- let n = document.createElement("input");
758
- n.type = "file", n.style.display = "none", e.multiple && e.maxFiles && e.maxFiles > 1 && (n.multiple = !0);
759
- let r = se(e.accept);
760
- r && (n.accept = r), n.addEventListener("change", (r) => {
761
- let i = r.target, a = [];
762
- if (i.files && i.files.length > 0 && (a = Array.from(i.files), e.maxFiles && a.length > e.maxFiles && (a = a.slice(0, e.maxFiles)), e.maxFileSize)) {
763
- let t = Q(e.maxFileSize);
764
- a = a.filter((e) => e.size <= t);
765
- }
766
- if (document.body.removeChild(n), e.returnType === "raw") {
767
- t(a);
768
- return;
769
- }
770
- t(a.map((e) => ({
771
- id: crypto.randomUUID(),
772
- url: URL.createObjectURL(e),
773
- name: e.name,
774
- mime: e.type,
775
- size: e.size
776
- })));
777
- }), document.body.appendChild(n), n.click();
778
- });
779
- }
780
- //#endregion
781
- //#region src/utils/priceFormat.util.ts
782
- var le = (t, n = !0) => {
783
- let r = typeof t == "string" ? parseFloat(t) : t;
784
- if (isNaN(r)) return "<span>0.<small>00</small>₽</span>";
785
- let [i, a = "00"] = r.toLocaleString("ru-RU", {
786
- minimumFractionDigits: 2,
787
- maximumFractionDigits: 2
788
- }).split(",");
789
- return n ? `<span class="price-number">${i}<small style="margin-right: 4px">.${a}</small>₽</span>` : e("span", { class: "price-number" }, [
790
- `${i}.`,
791
- e("small", { style: { marginRight: "4px" } }, a),
792
- "₽"
793
- ]);
794
- };
795
- //#endregion
796
- export { a, S as c, x as d, g as f, Q as i, w as l, ce as n, P as o, h as p, $ as r, te as s, le as t, C as u };