@easyops-cn/a2ui-react 0.0.3 → 0.0.5

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 (345) hide show
  1. package/dist/0.8/components/display/IconComponent.js +55 -101
  2. package/dist/0.8/components/interactive/DateTimeInputComponent.js +35 -37
  3. package/dist/components/ui/button.js +2 -2
  4. package/dist/components/ui/calendar.js +10 -13
  5. package/dist/components/ui/checkbox.js +11 -11
  6. package/dist/components/ui/dialog.js +33 -33
  7. package/dist/components/ui/label.js +2 -2
  8. package/dist/components/ui/popover.js +19 -19
  9. package/dist/components/ui/select.js +65 -67
  10. package/dist/components/ui/separator.js +4 -4
  11. package/dist/components/ui/slider.js +31 -31
  12. package/dist/components/ui/tabs.js +18 -18
  13. package/dist/lib/utils.js +2 -2
  14. package/package.json +1 -1
  15. package/dist/node_modules/@date-fns/tz/date/index.js +0 -61
  16. package/dist/node_modules/@date-fns/tz/date/mini.js +0 -69
  17. package/dist/node_modules/@date-fns/tz/tzName/index.js +0 -11
  18. package/dist/node_modules/@date-fns/tz/tzOffset/index.js +0 -22
  19. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +0 -527
  20. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -402
  21. package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +0 -208
  22. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -136
  23. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -130
  24. package/dist/node_modules/@radix-ui/number/dist/index.js +0 -6
  25. package/dist/node_modules/@radix-ui/primitive/dist/index.js +0 -9
  26. package/dist/node_modules/@radix-ui/react-arrow/dist/index.js +0 -24
  27. package/dist/node_modules/@radix-ui/react-checkbox/dist/index.js +0 -251
  28. package/dist/node_modules/@radix-ui/react-collection/dist/index.js +0 -50
  29. package/dist/node_modules/@radix-ui/react-collection/node_modules/@radix-ui/react-slot/dist/index.js +0 -49
  30. package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js +0 -29
  31. package/dist/node_modules/@radix-ui/react-context/dist/index.js +0 -68
  32. package/dist/node_modules/@radix-ui/react-dialog/dist/index.js +0 -255
  33. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-slot/dist/index.js +0 -49
  34. package/dist/node_modules/@radix-ui/react-direction/dist/index.js +0 -10
  35. package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +0 -127
  36. package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.js +0 -17
  37. package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.js +0 -136
  38. package/dist/node_modules/@radix-ui/react-id/dist/index.js +0 -13
  39. package/dist/node_modules/@radix-ui/react-label/dist/index.js +0 -19
  40. package/dist/node_modules/@radix-ui/react-label/node_modules/@radix-ui/react-primitive/dist/index.js +0 -32
  41. package/dist/node_modules/@radix-ui/react-popover/dist/index.js +0 -239
  42. package/dist/node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-slot/dist/index.js +0 -49
  43. package/dist/node_modules/@radix-ui/react-popper/dist/index.js +0 -219
  44. package/dist/node_modules/@radix-ui/react-portal/dist/index.js +0 -15
  45. package/dist/node_modules/@radix-ui/react-presence/dist/index.js +0 -70
  46. package/dist/node_modules/@radix-ui/react-primitive/dist/index.js +0 -36
  47. package/dist/node_modules/@radix-ui/react-primitive/node_modules/@radix-ui/react-slot/dist/index.js +0 -49
  48. package/dist/node_modules/@radix-ui/react-roving-focus/dist/index.js +0 -183
  49. package/dist/node_modules/@radix-ui/react-select/dist/index.js +0 -845
  50. package/dist/node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-slot/dist/index.js +0 -49
  51. package/dist/node_modules/@radix-ui/react-separator/dist/index.js +0 -24
  52. package/dist/node_modules/@radix-ui/react-separator/node_modules/@radix-ui/react-primitive/dist/index.js +0 -32
  53. package/dist/node_modules/@radix-ui/react-slider/dist/index.js +0 -436
  54. package/dist/node_modules/@radix-ui/react-slot/dist/index.js +0 -61
  55. package/dist/node_modules/@radix-ui/react-tabs/dist/index.js +0 -163
  56. package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +0 -10
  57. package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +0 -52
  58. package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +0 -14
  59. package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +0 -6
  60. package/dist/node_modules/@radix-ui/react-use-previous/dist/index.js +0 -8
  61. package/dist/node_modules/@radix-ui/react-use-size/dist/index.js +0 -27
  62. package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.js +0 -30
  63. package/dist/node_modules/aria-hidden/dist/es2015/index.js +0 -52
  64. package/dist/node_modules/class-variance-authority/dist/index.js +0 -35
  65. package/dist/node_modules/clsx/dist/clsx.js +0 -17
  66. package/dist/node_modules/date-fns/_lib/addLeadingZeros.js +0 -7
  67. package/dist/node_modules/date-fns/_lib/defaultOptions.js +0 -7
  68. package/dist/node_modules/date-fns/_lib/format/formatters.js +0 -548
  69. package/dist/node_modules/date-fns/_lib/format/lightFormatters.js +0 -58
  70. package/dist/node_modules/date-fns/_lib/format/longFormatters.js +0 -49
  71. package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +0 -18
  72. package/dist/node_modules/date-fns/_lib/normalizeDates.js +0 -11
  73. package/dist/node_modules/date-fns/_lib/normalizeInterval.js +0 -8
  74. package/dist/node_modules/date-fns/_lib/protectedTokens.js +0 -20
  75. package/dist/node_modules/date-fns/addDays.js +0 -10
  76. package/dist/node_modules/date-fns/addMonths.js +0 -20
  77. package/dist/node_modules/date-fns/addWeeks.js +0 -8
  78. package/dist/node_modules/date-fns/addYears.js +0 -8
  79. package/dist/node_modules/date-fns/constants.js +0 -9
  80. package/dist/node_modules/date-fns/constructFrom.js +0 -8
  81. package/dist/node_modules/date-fns/differenceInCalendarDays.js +0 -16
  82. package/dist/node_modules/date-fns/differenceInCalendarMonths.js +0 -13
  83. package/dist/node_modules/date-fns/eachMonthOfInterval.js +0 -17
  84. package/dist/node_modules/date-fns/eachYearOfInterval.js +0 -17
  85. package/dist/node_modules/date-fns/endOfISOWeek.js +0 -8
  86. package/dist/node_modules/date-fns/endOfMonth.js +0 -9
  87. package/dist/node_modules/date-fns/endOfWeek.js +0 -10
  88. package/dist/node_modules/date-fns/endOfYear.js +0 -9
  89. package/dist/node_modules/date-fns/format.js +0 -58
  90. package/dist/node_modules/date-fns/getDayOfYear.js +0 -11
  91. package/dist/node_modules/date-fns/getDaysInMonth.js +0 -10
  92. package/dist/node_modules/date-fns/getDefaultOptions.js +0 -8
  93. package/dist/node_modules/date-fns/getISODay.js +0 -9
  94. package/dist/node_modules/date-fns/getISOWeek.js +0 -12
  95. package/dist/node_modules/date-fns/getISOWeekYear.js +0 -15
  96. package/dist/node_modules/date-fns/getMonth.js +0 -8
  97. package/dist/node_modules/date-fns/getWeek.js +0 -12
  98. package/dist/node_modules/date-fns/getWeekYear.js +0 -16
  99. package/dist/node_modules/date-fns/getYear.js +0 -8
  100. package/dist/node_modules/date-fns/isAfter.js +0 -8
  101. package/dist/node_modules/date-fns/isBefore.js +0 -8
  102. package/dist/node_modules/date-fns/isDate.js +0 -7
  103. package/dist/node_modules/date-fns/isSameDay.js +0 -14
  104. package/dist/node_modules/date-fns/isSameMonth.js +0 -13
  105. package/dist/node_modules/date-fns/isSameYear.js +0 -13
  106. package/dist/node_modules/date-fns/isValid.js +0 -9
  107. package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +0 -9
  108. package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +0 -18
  109. package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js +0 -31
  110. package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +0 -15
  111. package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +0 -70
  112. package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js +0 -33
  113. package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +0 -11
  114. package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js +0 -155
  115. package/dist/node_modules/date-fns/locale/en-US/_lib/match.js +0 -110
  116. package/dist/node_modules/date-fns/locale/en-US.js +0 -21
  117. package/dist/node_modules/date-fns/max.js +0 -14
  118. package/dist/node_modules/date-fns/min.js +0 -14
  119. package/dist/node_modules/date-fns/parse/_lib/Parser.js +0 -22
  120. package/dist/node_modules/date-fns/parse/_lib/Setter.js +0 -35
  121. package/dist/node_modules/date-fns/parse/_lib/constants.js +0 -49
  122. package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js +0 -42
  123. package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js +0 -42
  124. package/dist/node_modules/date-fns/parse/_lib/parsers/DateParser.js +0 -55
  125. package/dist/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js +0 -45
  126. package/dist/node_modules/date-fns/parse/_lib/parsers/DayParser.js +0 -41
  127. package/dist/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js +0 -42
  128. package/dist/node_modules/date-fns/parse/_lib/parsers/EraParser.js +0 -25
  129. package/dist/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js +0 -15
  130. package/dist/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js +0 -16
  131. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js +0 -26
  132. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js +0 -26
  133. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js +0 -27
  134. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js +0 -27
  135. package/dist/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js +0 -97
  136. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js +0 -41
  137. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js +0 -41
  138. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js +0 -43
  139. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js +0 -34
  140. package/dist/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js +0 -72
  141. package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js +0 -42
  142. package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js +0 -63
  143. package/dist/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js +0 -26
  144. package/dist/node_modules/date-fns/parse/_lib/parsers/MonthParser.js +0 -69
  145. package/dist/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js +0 -67
  146. package/dist/node_modules/date-fns/parse/_lib/parsers/SecondParser.js +0 -26
  147. package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js +0 -72
  148. package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js +0 -69
  149. package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js +0 -67
  150. package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js +0 -16
  151. package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js +0 -16
  152. package/dist/node_modules/date-fns/parse/_lib/parsers/YearParser.js +0 -43
  153. package/dist/node_modules/date-fns/parse/_lib/parsers.js +0 -67
  154. package/dist/node_modules/date-fns/parse/_lib/utils.js +0 -100
  155. package/dist/node_modules/date-fns/parse.js +0 -88
  156. package/dist/node_modules/date-fns/setDay.js +0 -11
  157. package/dist/node_modules/date-fns/setISODay.js +0 -11
  158. package/dist/node_modules/date-fns/setISOWeek.js +0 -10
  159. package/dist/node_modules/date-fns/setMonth.js +0 -13
  160. package/dist/node_modules/date-fns/setWeek.js +0 -10
  161. package/dist/node_modules/date-fns/setYear.js +0 -10
  162. package/dist/node_modules/date-fns/startOfDay.js +0 -9
  163. package/dist/node_modules/date-fns/startOfISOWeek.js +0 -8
  164. package/dist/node_modules/date-fns/startOfISOWeekYear.js +0 -11
  165. package/dist/node_modules/date-fns/startOfMonth.js +0 -9
  166. package/dist/node_modules/date-fns/startOfWeek.js +0 -10
  167. package/dist/node_modules/date-fns/startOfWeekYear.js +0 -12
  168. package/dist/node_modules/date-fns/startOfYear.js +0 -9
  169. package/dist/node_modules/date-fns/toDate.js +0 -8
  170. package/dist/node_modules/date-fns/transpose.js +0 -17
  171. package/dist/node_modules/get-nonce/dist/es2015/index.js +0 -7
  172. package/dist/node_modules/lucide-react/dist/esm/Icon.js +0 -35
  173. package/dist/node_modules/lucide-react/dist/esm/createLucideIcon.js +0 -21
  174. package/dist/node_modules/lucide-react/dist/esm/defaultAttributes.js +0 -14
  175. package/dist/node_modules/lucide-react/dist/esm/icons/arrow-left.js +0 -9
  176. package/dist/node_modules/lucide-react/dist/esm/icons/arrow-right.js +0 -9
  177. package/dist/node_modules/lucide-react/dist/esm/icons/bell-off.js +0 -17
  178. package/dist/node_modules/lucide-react/dist/esm/icons/bell.js +0 -15
  179. package/dist/node_modules/lucide-react/dist/esm/icons/calendar-days.js +0 -17
  180. package/dist/node_modules/lucide-react/dist/esm/icons/calendar.js +0 -11
  181. package/dist/node_modules/lucide-react/dist/esm/icons/camera.js +0 -15
  182. package/dist/node_modules/lucide-react/dist/esm/icons/check.js +0 -6
  183. package/dist/node_modules/lucide-react/dist/esm/icons/chevron-down.js +0 -6
  184. package/dist/node_modules/lucide-react/dist/esm/icons/chevron-left.js +0 -6
  185. package/dist/node_modules/lucide-react/dist/esm/icons/chevron-right.js +0 -6
  186. package/dist/node_modules/lucide-react/dist/esm/icons/chevron-up.js +0 -6
  187. package/dist/node_modules/lucide-react/dist/esm/icons/circle-alert.js +0 -10
  188. package/dist/node_modules/lucide-react/dist/esm/icons/circle-question-mark.js +0 -10
  189. package/dist/node_modules/lucide-react/dist/esm/icons/circle-user.js +0 -10
  190. package/dist/node_modules/lucide-react/dist/esm/icons/credit-card.js +0 -9
  191. package/dist/node_modules/lucide-react/dist/esm/icons/download.js +0 -10
  192. package/dist/node_modules/lucide-react/dist/esm/icons/ellipsis-vertical.js +0 -10
  193. package/dist/node_modules/lucide-react/dist/esm/icons/ellipsis.js +0 -10
  194. package/dist/node_modules/lucide-react/dist/esm/icons/eye-off.js +0 -23
  195. package/dist/node_modules/lucide-react/dist/esm/icons/eye.js +0 -15
  196. package/dist/node_modules/lucide-react/dist/esm/icons/folder.js +0 -14
  197. package/dist/node_modules/lucide-react/dist/esm/icons/heart-off.js +0 -22
  198. package/dist/node_modules/lucide-react/dist/esm/icons/heart.js +0 -14
  199. package/dist/node_modules/lucide-react/dist/esm/icons/house.js +0 -15
  200. package/dist/node_modules/lucide-react/dist/esm/icons/image.js +0 -10
  201. package/dist/node_modules/lucide-react/dist/esm/icons/info.js +0 -10
  202. package/dist/node_modules/lucide-react/dist/esm/icons/lock-open.js +0 -9
  203. package/dist/node_modules/lucide-react/dist/esm/icons/lock.js +0 -9
  204. package/dist/node_modules/lucide-react/dist/esm/icons/mail.js +0 -9
  205. package/dist/node_modules/lucide-react/dist/esm/icons/map-pin.js +0 -15
  206. package/dist/node_modules/lucide-react/dist/esm/icons/menu.js +0 -10
  207. package/dist/node_modules/lucide-react/dist/esm/icons/paperclip.js +0 -14
  208. package/dist/node_modules/lucide-react/dist/esm/icons/pencil.js +0 -15
  209. package/dist/node_modules/lucide-react/dist/esm/icons/phone.js +0 -14
  210. package/dist/node_modules/lucide-react/dist/esm/icons/plus.js +0 -9
  211. package/dist/node_modules/lucide-react/dist/esm/icons/printer.js +0 -16
  212. package/dist/node_modules/lucide-react/dist/esm/icons/refresh-cw.js +0 -11
  213. package/dist/node_modules/lucide-react/dist/esm/icons/search.js +0 -9
  214. package/dist/node_modules/lucide-react/dist/esm/icons/send.js +0 -15
  215. package/dist/node_modules/lucide-react/dist/esm/icons/settings.js +0 -15
  216. package/dist/node_modules/lucide-react/dist/esm/icons/share-2.js +0 -12
  217. package/dist/node_modules/lucide-react/dist/esm/icons/shopping-cart.js +0 -16
  218. package/dist/node_modules/lucide-react/dist/esm/icons/star-half.js +0 -14
  219. package/dist/node_modules/lucide-react/dist/esm/icons/star-off.js +0 -10
  220. package/dist/node_modules/lucide-react/dist/esm/icons/star.js +0 -14
  221. package/dist/node_modules/lucide-react/dist/esm/icons/trash-2.js +0 -12
  222. package/dist/node_modules/lucide-react/dist/esm/icons/triangle-alert.js +0 -16
  223. package/dist/node_modules/lucide-react/dist/esm/icons/upload.js +0 -10
  224. package/dist/node_modules/lucide-react/dist/esm/icons/user.js +0 -9
  225. package/dist/node_modules/lucide-react/dist/esm/icons/x.js +0 -9
  226. package/dist/node_modules/lucide-react/dist/esm/shared/src/utils.js +0 -18
  227. package/dist/node_modules/react-day-picker/dist/esm/DayPicker.js +0 -234
  228. package/dist/node_modules/react-day-picker/dist/esm/UI.js +0 -22
  229. package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarDay.js +0 -19
  230. package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarMonth.js +0 -8
  231. package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarWeek.js +0 -8
  232. package/dist/node_modules/react-day-picker/dist/esm/classes/DateLib.js +0 -148
  233. package/dist/node_modules/react-day-picker/dist/esm/components/Button.js +0 -7
  234. package/dist/node_modules/react-day-picker/dist/esm/components/CaptionLabel.js +0 -7
  235. package/dist/node_modules/react-day-picker/dist/esm/components/Chevron.js +0 -18
  236. package/dist/node_modules/react-day-picker/dist/esm/components/Day.js +0 -8
  237. package/dist/node_modules/react-day-picker/dist/esm/components/DayButton.js +0 -10
  238. package/dist/node_modules/react-day-picker/dist/esm/components/Dropdown.js +0 -19
  239. package/dist/node_modules/react-day-picker/dist/esm/components/DropdownNav.js +0 -7
  240. package/dist/node_modules/react-day-picker/dist/esm/components/Footer.js +0 -7
  241. package/dist/node_modules/react-day-picker/dist/esm/components/Month.js +0 -8
  242. package/dist/node_modules/react-day-picker/dist/esm/components/MonthCaption.js +0 -8
  243. package/dist/node_modules/react-day-picker/dist/esm/components/MonthGrid.js +0 -7
  244. package/dist/node_modules/react-day-picker/dist/esm/components/Months.js +0 -7
  245. package/dist/node_modules/react-day-picker/dist/esm/components/MonthsDropdown.js +0 -9
  246. package/dist/node_modules/react-day-picker/dist/esm/components/Nav.js +0 -27
  247. package/dist/node_modules/react-day-picker/dist/esm/components/NextMonthButton.js +0 -9
  248. package/dist/node_modules/react-day-picker/dist/esm/components/Option.js +0 -7
  249. package/dist/node_modules/react-day-picker/dist/esm/components/PreviousMonthButton.js +0 -9
  250. package/dist/node_modules/react-day-picker/dist/esm/components/Root.js +0 -8
  251. package/dist/node_modules/react-day-picker/dist/esm/components/Select.js +0 -7
  252. package/dist/node_modules/react-day-picker/dist/esm/components/Week.js +0 -8
  253. package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumber.js +0 -8
  254. package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumberHeader.js +0 -7
  255. package/dist/node_modules/react-day-picker/dist/esm/components/Weekday.js +0 -7
  256. package/dist/node_modules/react-day-picker/dist/esm/components/Weekdays.js +0 -11
  257. package/dist/node_modules/react-day-picker/dist/esm/components/Weeks.js +0 -7
  258. package/dist/node_modules/react-day-picker/dist/esm/components/YearsDropdown.js +0 -9
  259. package/dist/node_modules/react-day-picker/dist/esm/components/custom-components.js +0 -54
  260. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatCaption.js +0 -9
  261. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatDay.js +0 -7
  262. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatMonthDropdown.js +0 -7
  263. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumber.js +0 -7
  264. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumberHeader.js +0 -6
  265. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekdayName.js +0 -7
  266. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatYearDropdown.js +0 -9
  267. package/dist/node_modules/react-day-picker/dist/esm/formatters/index.js +0 -18
  268. package/dist/node_modules/react-day-picker/dist/esm/helpers/calculateFocusTarget.js +0 -19
  269. package/dist/node_modules/react-day-picker/dist/esm/helpers/createGetModifiers.js +0 -42
  270. package/dist/node_modules/react-day-picker/dist/esm/helpers/endOfBroadcastWeek.js +0 -9
  271. package/dist/node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth.js +0 -7
  272. package/dist/node_modules/react-day-picker/dist/esm/helpers/getClassNamesForModifiers.js +0 -7
  273. package/dist/node_modules/react-day-picker/dist/esm/helpers/getComponents.js +0 -10
  274. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDataAttributes.js +0 -16
  275. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDates.js +0 -19
  276. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDays.js +0 -10
  277. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDefaultClassNames.js +0 -16
  278. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDisplayMonths.js +0 -13
  279. package/dist/node_modules/react-day-picker/dist/esm/helpers/getFocusableDate.js +0 -15
  280. package/dist/node_modules/react-day-picker/dist/esm/helpers/getFormatters.js +0 -10
  281. package/dist/node_modules/react-day-picker/dist/esm/helpers/getInitialMonth.js +0 -13
  282. package/dist/node_modules/react-day-picker/dist/esm/helpers/getLabels.js +0 -34
  283. package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonthOptions.js +0 -13
  284. package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonths.js +0 -24
  285. package/dist/node_modules/react-day-picker/dist/esm/helpers/getNavMonth.js +0 -13
  286. package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextFocus.js +0 -12
  287. package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextMonth.js +0 -12
  288. package/dist/node_modules/react-day-picker/dist/esm/helpers/getPreviousMonth.js +0 -12
  289. package/dist/node_modules/react-day-picker/dist/esm/helpers/getStyleForModifiers.js +0 -13
  290. package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeekdays.js +0 -11
  291. package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeeks.js +0 -7
  292. package/dist/node_modules/react-day-picker/dist/esm/helpers/getYearOptions.js +0 -16
  293. package/dist/node_modules/react-day-picker/dist/esm/helpers/startOfBroadcastWeek.js +0 -7
  294. package/dist/node_modules/react-day-picker/dist/esm/helpers/useControlledValue.js +0 -8
  295. package/dist/node_modules/react-day-picker/dist/esm/labels/index.js +0 -26
  296. package/dist/node_modules/react-day-picker/dist/esm/labels/labelDayButton.js +0 -10
  297. package/dist/node_modules/react-day-picker/dist/esm/labels/labelGrid.js +0 -9
  298. package/dist/node_modules/react-day-picker/dist/esm/labels/labelGridcell.js +0 -8
  299. package/dist/node_modules/react-day-picker/dist/esm/labels/labelMonthDropdown.js +0 -6
  300. package/dist/node_modules/react-day-picker/dist/esm/labels/labelNav.js +0 -6
  301. package/dist/node_modules/react-day-picker/dist/esm/labels/labelNext.js +0 -7
  302. package/dist/node_modules/react-day-picker/dist/esm/labels/labelPrevious.js +0 -6
  303. package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumber.js +0 -6
  304. package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumberHeader.js +0 -6
  305. package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekday.js +0 -7
  306. package/dist/node_modules/react-day-picker/dist/esm/labels/labelYearDropdown.js +0 -6
  307. package/dist/node_modules/react-day-picker/dist/esm/locale/en-US.js +0 -37
  308. package/dist/node_modules/react-day-picker/dist/esm/noonDateLib.js +0 -104
  309. package/dist/node_modules/react-day-picker/dist/esm/selection/useMulti.js +0 -21
  310. package/dist/node_modules/react-day-picker/dist/esm/selection/useRange.js +0 -18
  311. package/dist/node_modules/react-day-picker/dist/esm/selection/useSingle.js +0 -15
  312. package/dist/node_modules/react-day-picker/dist/esm/useAnimation.js +0 -56
  313. package/dist/node_modules/react-day-picker/dist/esm/useCalendar.js +0 -75
  314. package/dist/node_modules/react-day-picker/dist/esm/useDayPicker.js +0 -12
  315. package/dist/node_modules/react-day-picker/dist/esm/useFocus.js +0 -23
  316. package/dist/node_modules/react-day-picker/dist/esm/useSelection.js +0 -19
  317. package/dist/node_modules/react-day-picker/dist/esm/utils/addToRange.js +0 -32
  318. package/dist/node_modules/react-day-picker/dist/esm/utils/convertMatchersToTimeZone.js +0 -26
  319. package/dist/node_modules/react-day-picker/dist/esm/utils/dateMatchModifiers.js +0 -26
  320. package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsDayOfWeek.js +0 -15
  321. package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsModifiers.js +0 -28
  322. package/dist/node_modules/react-day-picker/dist/esm/utils/rangeIncludesDate.js +0 -9
  323. package/dist/node_modules/react-day-picker/dist/esm/utils/rangeOverlaps.js +0 -8
  324. package/dist/node_modules/react-day-picker/dist/esm/utils/toTimeZone.js +0 -8
  325. package/dist/node_modules/react-day-picker/dist/esm/utils/typeguards.js +0 -26
  326. package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.js +0 -11
  327. package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +0 -115
  328. package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js +0 -31
  329. package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +0 -16
  330. package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +0 -68
  331. package/dist/node_modules/react-remove-scroll/dist/es2015/medium.js +0 -5
  332. package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.js +0 -7
  333. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.js +0 -71
  334. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +0 -7
  335. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +0 -25
  336. package/dist/node_modules/react-style-singleton/dist/es2015/component.js +0 -11
  337. package/dist/node_modules/react-style-singleton/dist/es2015/hook.js +0 -15
  338. package/dist/node_modules/react-style-singleton/dist/es2015/singleton.js +0 -30
  339. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +0 -2765
  340. package/dist/node_modules/tslib/tslib.es6.js +0 -27
  341. package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.js +0 -6
  342. package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +0 -26
  343. package/dist/node_modules/use-callback-ref/dist/es2015/useRef.js +0 -25
  344. package/dist/node_modules/use-sidecar/dist/es2015/exports.js +0 -18
  345. package/dist/node_modules/use-sidecar/dist/es2015/medium.js +0 -67
@@ -1,114 +1,68 @@
1
- import { jsx as e } from "react/jsx-runtime";
2
- import { memo as f } from "react";
3
- import { useDataBinding as p } from "../../hooks/useDataBinding.js";
4
- import { cn as a } from "../../../lib/utils.js";
5
- import n from "../../../node_modules/lucide-react/dist/esm/icons/triangle-alert.js";
6
- import l from "../../../node_modules/lucide-react/dist/esm/icons/eye-off.js";
7
- import c from "../../../node_modules/lucide-react/dist/esm/icons/eye.js";
8
- import s from "../../../node_modules/lucide-react/dist/esm/icons/upload.js";
9
- import d from "../../../node_modules/lucide-react/dist/esm/icons/star-off.js";
10
- import h from "../../../node_modules/lucide-react/dist/esm/icons/star-half.js";
11
- import C from "../../../node_modules/lucide-react/dist/esm/icons/star.js";
12
- import u from "../../../node_modules/lucide-react/dist/esm/icons/shopping-cart.js";
13
- import w from "../../../node_modules/lucide-react/dist/esm/icons/share-2.js";
14
- import O from "../../../node_modules/lucide-react/dist/esm/icons/settings.js";
15
- import g from "../../../node_modules/lucide-react/dist/esm/icons/send.js";
16
- import k from "../../../node_modules/lucide-react/dist/esm/icons/search.js";
17
- import y from "../../../node_modules/lucide-react/dist/esm/icons/refresh-cw.js";
18
- import I from "../../../node_modules/lucide-react/dist/esm/icons/printer.js";
19
- import S from "../../../node_modules/lucide-react/dist/esm/icons/image.js";
20
- import m from "../../../node_modules/lucide-react/dist/esm/icons/phone.js";
21
- import A from "../../../node_modules/lucide-react/dist/esm/icons/user.js";
22
- import H from "../../../node_modules/lucide-react/dist/esm/icons/credit-card.js";
23
- import P from "../../../node_modules/lucide-react/dist/esm/icons/bell.js";
24
- import U from "../../../node_modules/lucide-react/dist/esm/icons/bell-off.js";
25
- import v from "../../../node_modules/lucide-react/dist/esm/icons/ellipsis.js";
26
- import M from "../../../node_modules/lucide-react/dist/esm/icons/ellipsis-vertical.js";
27
- import B from "../../../node_modules/lucide-react/dist/esm/icons/menu.js";
28
- import E from "../../../node_modules/lucide-react/dist/esm/icons/mail.js";
29
- import D from "../../../node_modules/lucide-react/dist/esm/icons/lock-open.js";
30
- import F from "../../../node_modules/lucide-react/dist/esm/icons/lock.js";
31
- import L from "../../../node_modules/lucide-react/dist/esm/icons/map-pin.js";
32
- import N from "../../../node_modules/lucide-react/dist/esm/icons/info.js";
33
- import T from "../../../node_modules/lucide-react/dist/esm/icons/house.js";
34
- import b from "../../../node_modules/lucide-react/dist/esm/icons/circle-question-mark.js";
35
- import x from "../../../node_modules/lucide-react/dist/esm/icons/folder.js";
36
- import R from "../../../node_modules/lucide-react/dist/esm/icons/heart-off.js";
37
- import V from "../../../node_modules/lucide-react/dist/esm/icons/heart.js";
38
- import j from "../../../node_modules/lucide-react/dist/esm/icons/circle-alert.js";
39
- import z from "../../../node_modules/lucide-react/dist/esm/icons/calendar-days.js";
40
- import Q from "../../../node_modules/lucide-react/dist/esm/icons/pencil.js";
41
- import X from "../../../node_modules/lucide-react/dist/esm/icons/download.js";
42
- import $ from "../../../node_modules/lucide-react/dist/esm/icons/trash-2.js";
43
- import q from "../../../node_modules/lucide-react/dist/esm/icons/x.js";
44
- import G from "../../../node_modules/lucide-react/dist/esm/icons/check.js";
45
- import J from "../../../node_modules/lucide-react/dist/esm/icons/camera.js";
46
- import K from "../../../node_modules/lucide-react/dist/esm/icons/calendar.js";
47
- import W from "../../../node_modules/lucide-react/dist/esm/icons/paperclip.js";
48
- import Y from "../../../node_modules/lucide-react/dist/esm/icons/arrow-right.js";
49
- import Z from "../../../node_modules/lucide-react/dist/esm/icons/arrow-left.js";
50
- import _ from "../../../node_modules/lucide-react/dist/esm/icons/plus.js";
51
- import rr from "../../../node_modules/lucide-react/dist/esm/icons/circle-user.js";
52
- const or = {
53
- accountCircle: rr,
54
- add: _,
55
- arrowBack: Z,
56
- arrowForward: Y,
57
- attachFile: W,
1
+ import { jsx as t } from "react/jsx-runtime";
2
+ import { memo as i } from "react";
3
+ import { useDataBinding as l } from "../../hooks/useDataBinding.js";
4
+ import { AlertTriangle as c, EyeOff as f, Eye as s, Upload as m, StarOff as p, StarHalf as d, Star as h, ShoppingCart as C, Share2 as u, Settings as w, Send as O, Search as g, RefreshCw as k, Printer as y, Image as H, Phone as o, User as I, CreditCard as S, Bell as U, BellOff as A, MoreHorizontal as M, MoreVertical as P, Menu as v, Mail as B, Unlock as D, Lock as F, MapPin as N, Info as T, Home as b, HelpCircle as x, Folder as z, HeartOff as E, Heart as L, AlertCircle as R, CalendarDays as V, Pencil as j, Download as X, Trash2 as $, X as q, Check as G, Camera as J, Calendar as K, Paperclip as Q, ArrowRight as W, ArrowLeft as Y, Plus as Z, UserCircle as _ } from "lucide-react";
5
+ import { cn as ee } from "../../../lib/utils.js";
6
+ const re = {
7
+ accountCircle: _,
8
+ add: Z,
9
+ arrowBack: Y,
10
+ arrowForward: W,
11
+ attachFile: Q,
58
12
  calendarToday: K,
59
- call: m,
13
+ call: o,
60
14
  camera: J,
61
15
  check: G,
62
16
  close: q,
63
17
  delete: $,
64
18
  download: X,
65
- edit: Q,
66
- event: z,
67
- error: j,
68
- favorite: V,
69
- favoriteOff: R,
70
- folder: x,
71
- help: b,
72
- home: T,
73
- info: N,
74
- locationOn: L,
19
+ edit: j,
20
+ event: V,
21
+ error: R,
22
+ favorite: L,
23
+ favoriteOff: E,
24
+ folder: z,
25
+ help: x,
26
+ home: b,
27
+ info: T,
28
+ locationOn: N,
75
29
  lock: F,
76
30
  lockOpen: D,
77
- mail: E,
78
- menu: B,
79
- moreVert: M,
80
- moreHoriz: v,
81
- notificationsOff: U,
82
- notifications: P,
83
- payment: H,
84
- person: A,
85
- phone: m,
86
- photo: S,
87
- print: I,
88
- refresh: y,
89
- search: k,
90
- send: g,
91
- settings: O,
92
- share: w,
93
- shoppingCart: u,
94
- star: C,
95
- starHalf: h,
96
- starOff: d,
97
- upload: s,
98
- visibility: c,
99
- visibilityOff: l,
100
- warning: n
101
- }, mr = f(function({
102
- surfaceId: i,
103
- name: t
31
+ mail: B,
32
+ menu: v,
33
+ moreVert: P,
34
+ moreHoriz: M,
35
+ notificationsOff: A,
36
+ notifications: U,
37
+ payment: S,
38
+ person: I,
39
+ phone: o,
40
+ photo: H,
41
+ print: y,
42
+ refresh: k,
43
+ search: g,
44
+ send: O,
45
+ settings: w,
46
+ share: u,
47
+ shoppingCart: C,
48
+ star: h,
49
+ starHalf: d,
50
+ starOff: p,
51
+ upload: m,
52
+ visibility: s,
53
+ visibilityOff: f,
54
+ warning: c
55
+ }, oe = i(function({
56
+ surfaceId: a,
57
+ name: n
104
58
  }) {
105
- const r = p(i, t, "");
106
- if (!r)
59
+ const e = l(a, n, "");
60
+ if (!e)
107
61
  return null;
108
- const o = or[r];
109
- return o ? /* @__PURE__ */ e(o, { className: a("w-5 h-5") }) : (console.warn(`A2UI: Unknown icon name: ${r}`), null);
62
+ const r = re[e];
63
+ return r ? /* @__PURE__ */ t(r, { className: ee("w-5 h-5") }) : (console.warn(`A2UI: Unknown icon name: ${e}`), null);
110
64
  });
111
- mr.displayName = "A2UI.Icon";
65
+ oe.displayName = "A2UI.Icon";
112
66
  export {
113
- mr as IconComponent
67
+ oe as IconComponent
114
68
  };
@@ -1,100 +1,98 @@
1
- import { jsx as m, jsxs as c } from "react/jsx-runtime";
1
+ import { jsx as i, jsxs as f } from "react/jsx-runtime";
2
2
  import { memo as V, useMemo as l, useCallback as M } from "react";
3
- import { useFormBinding as j } from "../../hooks/useDataBinding.js";
4
- import { cn as p } from "../../../lib/utils.js";
5
- import { Button as P } from "../../../components/ui/button.js";
6
- import { Calendar as B } from "../../../components/ui/calendar.js";
7
- import { Popover as F, PopoverTrigger as S, PopoverContent as $ } from "../../../components/ui/popover.js";
3
+ import { CalendarIcon as j } from "lucide-react";
4
+ import { parse as p, isValid as P, format as m } from "date-fns";
5
+ import { useFormBinding as B } from "../../hooks/useDataBinding.js";
6
+ import { cn as y } from "../../../lib/utils.js";
7
+ import { Button as F } from "../../../components/ui/button.js";
8
+ import { Calendar as S } from "../../../components/ui/calendar.js";
9
+ import { Popover as k, PopoverTrigger as A, PopoverContent as L } from "../../../components/ui/popover.js";
8
10
  import { Input as g } from "../../../components/ui/input.js";
9
- import { parse as a } from "../../../node_modules/date-fns/parse.js";
10
- import { isValid as k } from "../../../node_modules/date-fns/isValid.js";
11
- import A from "../../../node_modules/lucide-react/dist/esm/icons/calendar.js";
12
- import { formatDate as i } from "../../../node_modules/date-fns/format.js";
13
- const L = V(function({
11
+ const U = V(function({
14
12
  surfaceId: v,
15
13
  componentId: w,
16
14
  value: x,
17
15
  enableDate: o = !0,
18
16
  enableTime: t = !1
19
17
  }) {
20
- const [n, e] = j(v, x, ""), r = l(() => {
18
+ const [n, e] = B(v, x, ""), r = l(() => {
21
19
  if (!n) return;
22
20
  let s;
23
- return o && t ? s = a(n, "yyyy-MM-dd'T'HH:mm", /* @__PURE__ */ new Date()) : o ? s = a(n, "yyyy-MM-dd", /* @__PURE__ */ new Date()) : t && (s = a(n, "HH:mm", /* @__PURE__ */ new Date())), s && k(s) ? s : void 0;
24
- }, [n, o, t]), C = l(() => !r || !t ? "" : i(r, "HH:mm"), [r, t]), N = M(
21
+ return o && t ? s = p(n, "yyyy-MM-dd'T'HH:mm", /* @__PURE__ */ new Date()) : o ? s = p(n, "yyyy-MM-dd", /* @__PURE__ */ new Date()) : t && (s = p(n, "HH:mm", /* @__PURE__ */ new Date())), s && P(s) ? s : void 0;
22
+ }, [n, o, t]), N = l(() => !r || !t ? "" : m(r, "HH:mm"), [r, t]), C = M(
25
23
  (s) => {
26
24
  if (!s) {
27
25
  e("");
28
26
  return;
29
27
  }
30
28
  if (o && t) {
31
- const u = r ? i(r, "HH:mm") : "00:00", [d, f] = u.split(":").map(Number);
32
- s.setHours(d, f), e(i(s, "yyyy-MM-dd'T'HH:mm"));
29
+ const u = r ? m(r, "HH:mm") : "00:00", [d, c] = u.split(":").map(Number);
30
+ s.setHours(d, c), e(m(s, "yyyy-MM-dd'T'HH:mm"));
33
31
  } else
34
- e(i(s, "yyyy-MM-dd"));
32
+ e(m(s, "yyyy-MM-dd"));
35
33
  },
36
34
  [e, o, t, r]
37
- ), y = M(
35
+ ), a = M(
38
36
  (s) => {
39
37
  const u = s.target.value;
40
38
  if (!u) return;
41
- const [d, f] = u.split(":").map(Number);
39
+ const [d, c] = u.split(":").map(Number);
42
40
  if (o && t) {
43
41
  const h = r || /* @__PURE__ */ new Date();
44
- h.setHours(d, f), e(i(h, "yyyy-MM-dd'T'HH:mm"));
42
+ h.setHours(d, c), e(m(h, "yyyy-MM-dd'T'HH:mm"));
45
43
  } else t && !o && e(u);
46
44
  },
47
45
  [e, o, t, r]
48
- ), I = l(() => r ? o && t ? i(r, "yyyy-MM-dd HH:mm") : o ? i(r, "yyyy-MM-dd") : i(r, "HH:mm") : o && t ? "选择日期和时间" : o ? "选择日期" : "选择时间", [r, o, t]), H = `datetime-${w}`;
49
- return t && !o ? /* @__PURE__ */ m("div", { className: p("flex flex-col gap-2"), children: /* @__PURE__ */ m(
46
+ ), I = l(() => r ? o && t ? m(r, "yyyy-MM-dd HH:mm") : o ? m(r, "yyyy-MM-dd") : m(r, "HH:mm") : o && t ? "选择日期和时间" : o ? "选择日期" : "选择时间", [r, o, t]), H = `datetime-${w}`;
47
+ return t && !o ? /* @__PURE__ */ i("div", { className: y("flex flex-col gap-2"), children: /* @__PURE__ */ i(
50
48
  g,
51
49
  {
52
50
  id: H,
53
51
  type: "time",
54
52
  value: n,
55
- onChange: y,
53
+ onChange: a,
56
54
  className: "w-full"
57
55
  }
58
- ) }) : /* @__PURE__ */ m("div", { className: p("flex flex-col gap-2"), children: /* @__PURE__ */ c(F, { children: [
59
- /* @__PURE__ */ m(S, { asChild: !0, children: /* @__PURE__ */ c(
60
- P,
56
+ ) }) : /* @__PURE__ */ i("div", { className: y("flex flex-col gap-2"), children: /* @__PURE__ */ f(k, { children: [
57
+ /* @__PURE__ */ i(A, { asChild: !0, children: /* @__PURE__ */ f(
58
+ F,
61
59
  {
62
60
  id: H,
63
61
  variant: "outline",
64
- className: p(
62
+ className: y(
65
63
  "w-full justify-start text-left font-normal",
66
64
  !r && "text-muted-foreground"
67
65
  ),
68
66
  children: [
69
- /* @__PURE__ */ m(A, { className: "mr-2 h-4 w-4" }),
67
+ /* @__PURE__ */ i(j, { className: "mr-2 h-4 w-4" }),
70
68
  I
71
69
  ]
72
70
  }
73
71
  ) }),
74
- /* @__PURE__ */ c($, { className: "w-auto p-0", align: "start", children: [
75
- /* @__PURE__ */ m(
76
- B,
72
+ /* @__PURE__ */ f(L, { className: "w-auto p-0", align: "start", children: [
73
+ /* @__PURE__ */ i(
74
+ S,
77
75
  {
78
76
  mode: "single",
79
77
  selected: r,
80
- onSelect: N,
78
+ onSelect: C,
81
79
  captionLayout: "dropdown",
82
80
  initialFocus: !0
83
81
  }
84
82
  ),
85
- t && /* @__PURE__ */ m("div", { className: "border-t p-3", children: /* @__PURE__ */ m(
83
+ t && /* @__PURE__ */ i("div", { className: "border-t p-3", children: /* @__PURE__ */ i(
86
84
  g,
87
85
  {
88
86
  type: "time",
89
- value: C,
90
- onChange: y,
87
+ value: N,
88
+ onChange: a,
91
89
  className: "w-full"
92
90
  }
93
91
  ) })
94
92
  ] })
95
93
  ] }) });
96
94
  });
97
- L.displayName = "A2UI.DateTimeInput";
95
+ U.displayName = "A2UI.DateTimeInput";
98
96
  export {
99
- L as DateTimeInputComponent
97
+ U as DateTimeInputComponent
100
98
  };
@@ -1,6 +1,6 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
- import { Root as a } from "../../node_modules/@radix-ui/react-slot/dist/index.js";
3
- import { cva as s } from "../../node_modules/class-variance-authority/dist/index.js";
2
+ import { Slot as a } from "@radix-ui/react-slot";
3
+ import { cva as s } from "class-variance-authority";
4
4
  import { cn as d } from "../../lib/utils.js";
5
5
  const u = s(
6
6
  "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
@@ -1,13 +1,10 @@
1
1
  import { jsx as n } from "react/jsx-runtime";
2
2
  import * as m from "react";
3
+ import { ChevronLeftIcon as b, ChevronRightIcon as h, ChevronDownIcon as w } from "lucide-react";
4
+ import { getDefaultClassNames as p, DayPicker as _ } from "react-day-picker";
3
5
  import { cn as e } from "../../lib/utils.js";
4
- import { buttonVariants as f, Button as b } from "./button.js";
5
- import { getDefaultClassNames as p } from "../../node_modules/react-day-picker/dist/esm/helpers/getDefaultClassNames.js";
6
- import { DayPicker as h } from "../../node_modules/react-day-picker/dist/esm/DayPicker.js";
7
- import w from "../../node_modules/lucide-react/dist/esm/icons/chevron-left.js";
8
- import _ from "../../node_modules/lucide-react/dist/esm/icons/chevron-right.js";
9
- import y from "../../node_modules/lucide-react/dist/esm/icons/chevron-down.js";
10
- function B({
6
+ import { buttonVariants as f, Button as y } from "./button.js";
7
+ function j({
11
8
  className: c,
12
9
  classNames: i,
13
10
  showOutsideDays: r = !0,
@@ -19,7 +16,7 @@ function B({
19
16
  }) {
20
17
  const t = p();
21
18
  return /* @__PURE__ */ n(
22
- h,
19
+ _,
23
20
  {
24
21
  showOutsideDays: r,
25
22
  className: e(
@@ -126,13 +123,13 @@ function B({
126
123
  ...o
127
124
  }
128
125
  ),
129
- Chevron: ({ className: a, orientation: d, ...o }) => d === "left" ? /* @__PURE__ */ n(w, { className: e("size-4", a), ...o }) : d === "right" ? /* @__PURE__ */ n(
130
- _,
126
+ Chevron: ({ className: a, orientation: d, ...o }) => d === "left" ? /* @__PURE__ */ n(b, { className: e("size-4", a), ...o }) : d === "right" ? /* @__PURE__ */ n(
127
+ h,
131
128
  {
132
129
  className: e("size-4", a),
133
130
  ...o
134
131
  }
135
- ) : /* @__PURE__ */ n(y, { className: e("size-4", a), ...o }),
132
+ ) : /* @__PURE__ */ n(w, { className: e("size-4", a), ...o }),
136
133
  DayButton: v,
137
134
  WeekNumber: ({ children: a, ...d }) => /* @__PURE__ */ n("td", { ...d, children: /* @__PURE__ */ n("div", { className: "flex size-(--cell-size) items-center justify-center text-center", children: a }) }),
138
135
  ...x
@@ -151,7 +148,7 @@ function v({
151
148
  return m.useEffect(() => {
152
149
  r.focused && u.current?.focus();
153
150
  }, [r.focused]), /* @__PURE__ */ n(
154
- b,
151
+ y,
155
152
  {
156
153
  ref: u,
157
154
  variant: "ghost",
@@ -171,6 +168,6 @@ function v({
171
168
  );
172
169
  }
173
170
  export {
174
- B as Calendar,
171
+ j as Calendar,
175
172
  v as CalendarDayButton
176
173
  };
@@ -1,31 +1,31 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
- import { Checkbox as a, CheckboxIndicator as t } from "../../node_modules/@radix-ui/react-checkbox/dist/index.js";
2
+ import * as e from "@radix-ui/react-checkbox";
3
+ import { CheckIcon as t } from "lucide-react";
3
4
  import { cn as o } from "../../lib/utils.js";
4
- import d from "../../node_modules/lucide-react/dist/esm/icons/check.js";
5
- function l({
6
- className: e,
7
- ...i
5
+ function s({
6
+ className: i,
7
+ ...a
8
8
  }) {
9
9
  return /* @__PURE__ */ r(
10
- a,
10
+ e.Root,
11
11
  {
12
12
  "data-slot": "checkbox",
13
13
  className: o(
14
14
  "peer border-input dark:bg-input/30 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground dark:data-[state=checked]:bg-primary data-[state=checked]:border-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive size-4 shrink-0 rounded-[4px] border shadow-xs transition-shadow outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",
15
- e
15
+ i
16
16
  ),
17
- ...i,
17
+ ...a,
18
18
  children: /* @__PURE__ */ r(
19
- t,
19
+ e.Indicator,
20
20
  {
21
21
  "data-slot": "checkbox-indicator",
22
22
  className: "grid place-content-center text-current transition-none",
23
- children: /* @__PURE__ */ r(d, { className: "size-3.5" })
23
+ children: /* @__PURE__ */ r(t, { className: "size-3.5" })
24
24
  }
25
25
  )
26
26
  }
27
27
  );
28
28
  }
29
29
  export {
30
- l as Checkbox
30
+ s as Checkbox
31
31
  };
@@ -1,64 +1,64 @@
1
- import { jsx as a, jsxs as e } from "react/jsx-runtime";
2
- import { Root as r, Trigger as l, Content as d, Close as g, Portal as c, Overlay as u } from "../../node_modules/@radix-ui/react-dialog/dist/index.js";
3
- import { cn as n } from "../../lib/utils.js";
4
- import f from "../../node_modules/lucide-react/dist/esm/icons/x.js";
5
- function y({
1
+ import { jsx as a, jsxs as n } from "react/jsx-runtime";
2
+ import * as o from "@radix-ui/react-dialog";
3
+ import { XIcon as l } from "lucide-react";
4
+ import { cn as i } from "../../lib/utils.js";
5
+ function m({
6
6
  ...t
7
7
  }) {
8
- return /* @__PURE__ */ a(r, { "data-slot": "dialog", ...t });
8
+ return /* @__PURE__ */ a(o.Root, { "data-slot": "dialog", ...t });
9
9
  }
10
- function z({
10
+ function p({
11
11
  ...t
12
12
  }) {
13
- return /* @__PURE__ */ a(l, { "data-slot": "dialog-trigger", ...t });
13
+ return /* @__PURE__ */ a(o.Trigger, { "data-slot": "dialog-trigger", ...t });
14
14
  }
15
- function p({
15
+ function d({
16
16
  ...t
17
17
  }) {
18
- return /* @__PURE__ */ a(c, { "data-slot": "dialog-portal", ...t });
18
+ return /* @__PURE__ */ a(o.Portal, { "data-slot": "dialog-portal", ...t });
19
19
  }
20
- function m({
20
+ function g({
21
21
  className: t,
22
- ...o
22
+ ...e
23
23
  }) {
24
24
  return /* @__PURE__ */ a(
25
- u,
25
+ o.Overlay,
26
26
  {
27
27
  "data-slot": "dialog-overlay",
28
- className: n(
28
+ className: i(
29
29
  "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",
30
30
  t
31
31
  ),
32
- ...o
32
+ ...e
33
33
  }
34
34
  );
35
35
  }
36
- function D({
36
+ function v({
37
37
  className: t,
38
- children: o,
38
+ children: e,
39
39
  showCloseButton: s = !0,
40
- ...i
40
+ ...r
41
41
  }) {
42
- return /* @__PURE__ */ e(p, { "data-slot": "dialog-portal", children: [
43
- /* @__PURE__ */ a(m, {}),
44
- /* @__PURE__ */ e(
45
- d,
42
+ return /* @__PURE__ */ n(d, { "data-slot": "dialog-portal", children: [
43
+ /* @__PURE__ */ a(g, {}),
44
+ /* @__PURE__ */ n(
45
+ o.Content,
46
46
  {
47
47
  "data-slot": "dialog-content",
48
- className: n(
48
+ className: i(
49
49
  "bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 outline-none sm:max-w-lg",
50
50
  t
51
51
  ),
52
- ...i,
52
+ ...r,
53
53
  children: [
54
- o,
55
- s && /* @__PURE__ */ e(
56
- g,
54
+ e,
55
+ s && /* @__PURE__ */ n(
56
+ o.Close,
57
57
  {
58
58
  "data-slot": "dialog-close",
59
59
  className: "ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
60
60
  children: [
61
- /* @__PURE__ */ a(f, {}),
61
+ /* @__PURE__ */ a(l, {}),
62
62
  /* @__PURE__ */ a("span", { className: "sr-only", children: "Close" })
63
63
  ]
64
64
  }
@@ -69,9 +69,9 @@ function D({
69
69
  ] });
70
70
  }
71
71
  export {
72
- y as Dialog,
73
- D as DialogContent,
74
- m as DialogOverlay,
75
- p as DialogPortal,
76
- z as DialogTrigger
72
+ m as Dialog,
73
+ v as DialogContent,
74
+ g as DialogOverlay,
75
+ d as DialogPortal,
76
+ p as DialogTrigger
77
77
  };
@@ -1,12 +1,12 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
- import { Root as a } from "../../node_modules/@radix-ui/react-label/dist/index.js";
2
+ import * as a from "@radix-ui/react-label";
3
3
  import { cn as r } from "../../lib/utils.js";
4
4
  function l({
5
5
  className: e,
6
6
  ...t
7
7
  }) {
8
8
  return /* @__PURE__ */ o(
9
- a,
9
+ a.Root,
10
10
  {
11
11
  "data-slot": "label",
12
12
  className: r(
@@ -1,38 +1,38 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
- import { Root as n, Trigger as d, Portal as i, Content as s } from "../../node_modules/@radix-ui/react-popover/dist/index.js";
3
- import { cn as p } from "../../lib/utils.js";
4
- function c({
2
+ import * as e from "@radix-ui/react-popover";
3
+ import { cn as n } from "../../lib/utils.js";
4
+ function s({
5
5
  ...o
6
6
  }) {
7
- return /* @__PURE__ */ t(n, { "data-slot": "popover", ...o });
7
+ return /* @__PURE__ */ t(e.Root, { "data-slot": "popover", ...o });
8
8
  }
9
- function g({
9
+ function m({
10
10
  ...o
11
11
  }) {
12
- return /* @__PURE__ */ t(d, { "data-slot": "popover-trigger", ...o });
12
+ return /* @__PURE__ */ t(e.Trigger, { "data-slot": "popover-trigger", ...o });
13
13
  }
14
- function u({
14
+ function f({
15
15
  className: o,
16
- align: e = "center",
17
- sideOffset: r = 4,
18
- ...a
16
+ align: r = "center",
17
+ sideOffset: a = 4,
18
+ ...i
19
19
  }) {
20
- return /* @__PURE__ */ t(i, { children: /* @__PURE__ */ t(
21
- s,
20
+ return /* @__PURE__ */ t(e.Portal, { children: /* @__PURE__ */ t(
21
+ e.Content,
22
22
  {
23
23
  "data-slot": "popover-content",
24
- align: e,
25
- sideOffset: r,
26
- className: p(
24
+ align: r,
25
+ sideOffset: a,
26
+ className: n(
27
27
  "bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-md border p-4 shadow-md outline-hidden",
28
28
  o
29
29
  ),
30
- ...a
30
+ ...i
31
31
  }
32
32
  ) });
33
33
  }
34
34
  export {
35
- c as Popover,
36
- u as PopoverContent,
37
- g as PopoverTrigger
35
+ s as Popover,
36
+ f as PopoverContent,
37
+ m as PopoverTrigger
38
38
  };