@easyops-cn/a2ui-react 0.0.3 → 0.0.4

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 (365) hide show
  1. package/dist/0.8/components/display/AudioPlayerComponent.js +2 -2
  2. package/dist/0.8/components/display/DividerComponent.js +1 -1
  3. package/dist/0.8/components/display/IconComponent.js +55 -101
  4. package/dist/0.8/components/display/ImageComponent.js +2 -2
  5. package/dist/0.8/components/display/TextComponent.js +2 -2
  6. package/dist/0.8/components/display/VideoComponent.js +2 -2
  7. package/dist/0.8/components/interactive/ButtonComponent.js +2 -2
  8. package/dist/0.8/components/interactive/CheckBoxComponent.js +4 -4
  9. package/dist/0.8/components/interactive/DateTimeInputComponent.js +36 -38
  10. package/dist/0.8/components/interactive/MultipleChoiceComponent.js +5 -5
  11. package/dist/0.8/components/interactive/SliderComponent.js +3 -3
  12. package/dist/0.8/components/interactive/TextFieldComponent.js +5 -5
  13. package/dist/0.8/components/layout/CardComponent.js +1 -1
  14. package/dist/0.8/components/layout/ColumnComponent.js +3 -3
  15. package/dist/0.8/components/layout/ListComponent.js +3 -3
  16. package/dist/0.8/components/layout/ModalComponent.js +1 -1
  17. package/dist/0.8/components/layout/RowComponent.js +3 -3
  18. package/dist/0.8/components/layout/TabsComponent.js +2 -2
  19. package/dist/0.8/hooks/useDataBinding.js +12 -17
  20. package/package.json +1 -1
  21. package/dist/components/ui/button.js +0 -53
  22. package/dist/components/ui/calendar.js +0 -176
  23. package/dist/components/ui/card.js +0 -29
  24. package/dist/components/ui/checkbox.js +0 -31
  25. package/dist/components/ui/dialog.js +0 -77
  26. package/dist/components/ui/input.js +0 -21
  27. package/dist/components/ui/label.js +0 -22
  28. package/dist/components/ui/popover.js +0 -38
  29. package/dist/components/ui/select.js +0 -146
  30. package/dist/components/ui/separator.js +0 -26
  31. package/dist/components/ui/slider.js +0 -63
  32. package/dist/components/ui/tabs.js +0 -67
  33. package/dist/components/ui/textarea.js +0 -18
  34. package/dist/lib/utils.js +0 -8
  35. package/dist/node_modules/@date-fns/tz/date/index.js +0 -61
  36. package/dist/node_modules/@date-fns/tz/date/mini.js +0 -69
  37. package/dist/node_modules/@date-fns/tz/tzName/index.js +0 -11
  38. package/dist/node_modules/@date-fns/tz/tzOffset/index.js +0 -22
  39. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +0 -527
  40. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -402
  41. package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +0 -208
  42. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -136
  43. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -130
  44. package/dist/node_modules/@radix-ui/number/dist/index.js +0 -6
  45. package/dist/node_modules/@radix-ui/primitive/dist/index.js +0 -9
  46. package/dist/node_modules/@radix-ui/react-arrow/dist/index.js +0 -24
  47. package/dist/node_modules/@radix-ui/react-checkbox/dist/index.js +0 -251
  48. package/dist/node_modules/@radix-ui/react-collection/dist/index.js +0 -50
  49. package/dist/node_modules/@radix-ui/react-collection/node_modules/@radix-ui/react-slot/dist/index.js +0 -49
  50. package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js +0 -29
  51. package/dist/node_modules/@radix-ui/react-context/dist/index.js +0 -68
  52. package/dist/node_modules/@radix-ui/react-dialog/dist/index.js +0 -255
  53. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-slot/dist/index.js +0 -49
  54. package/dist/node_modules/@radix-ui/react-direction/dist/index.js +0 -10
  55. package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +0 -127
  56. package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.js +0 -17
  57. package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.js +0 -136
  58. package/dist/node_modules/@radix-ui/react-id/dist/index.js +0 -13
  59. package/dist/node_modules/@radix-ui/react-label/dist/index.js +0 -19
  60. package/dist/node_modules/@radix-ui/react-label/node_modules/@radix-ui/react-primitive/dist/index.js +0 -32
  61. package/dist/node_modules/@radix-ui/react-popover/dist/index.js +0 -239
  62. package/dist/node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-slot/dist/index.js +0 -49
  63. package/dist/node_modules/@radix-ui/react-popper/dist/index.js +0 -219
  64. package/dist/node_modules/@radix-ui/react-portal/dist/index.js +0 -15
  65. package/dist/node_modules/@radix-ui/react-presence/dist/index.js +0 -70
  66. package/dist/node_modules/@radix-ui/react-primitive/dist/index.js +0 -36
  67. package/dist/node_modules/@radix-ui/react-primitive/node_modules/@radix-ui/react-slot/dist/index.js +0 -49
  68. package/dist/node_modules/@radix-ui/react-roving-focus/dist/index.js +0 -183
  69. package/dist/node_modules/@radix-ui/react-select/dist/index.js +0 -845
  70. package/dist/node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-slot/dist/index.js +0 -49
  71. package/dist/node_modules/@radix-ui/react-separator/dist/index.js +0 -24
  72. package/dist/node_modules/@radix-ui/react-separator/node_modules/@radix-ui/react-primitive/dist/index.js +0 -32
  73. package/dist/node_modules/@radix-ui/react-slider/dist/index.js +0 -436
  74. package/dist/node_modules/@radix-ui/react-slot/dist/index.js +0 -61
  75. package/dist/node_modules/@radix-ui/react-tabs/dist/index.js +0 -163
  76. package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +0 -10
  77. package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +0 -52
  78. package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +0 -14
  79. package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +0 -6
  80. package/dist/node_modules/@radix-ui/react-use-previous/dist/index.js +0 -8
  81. package/dist/node_modules/@radix-ui/react-use-size/dist/index.js +0 -27
  82. package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.js +0 -30
  83. package/dist/node_modules/aria-hidden/dist/es2015/index.js +0 -52
  84. package/dist/node_modules/class-variance-authority/dist/index.js +0 -35
  85. package/dist/node_modules/clsx/dist/clsx.js +0 -17
  86. package/dist/node_modules/date-fns/_lib/addLeadingZeros.js +0 -7
  87. package/dist/node_modules/date-fns/_lib/defaultOptions.js +0 -7
  88. package/dist/node_modules/date-fns/_lib/format/formatters.js +0 -548
  89. package/dist/node_modules/date-fns/_lib/format/lightFormatters.js +0 -58
  90. package/dist/node_modules/date-fns/_lib/format/longFormatters.js +0 -49
  91. package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +0 -18
  92. package/dist/node_modules/date-fns/_lib/normalizeDates.js +0 -11
  93. package/dist/node_modules/date-fns/_lib/normalizeInterval.js +0 -8
  94. package/dist/node_modules/date-fns/_lib/protectedTokens.js +0 -20
  95. package/dist/node_modules/date-fns/addDays.js +0 -10
  96. package/dist/node_modules/date-fns/addMonths.js +0 -20
  97. package/dist/node_modules/date-fns/addWeeks.js +0 -8
  98. package/dist/node_modules/date-fns/addYears.js +0 -8
  99. package/dist/node_modules/date-fns/constants.js +0 -9
  100. package/dist/node_modules/date-fns/constructFrom.js +0 -8
  101. package/dist/node_modules/date-fns/differenceInCalendarDays.js +0 -16
  102. package/dist/node_modules/date-fns/differenceInCalendarMonths.js +0 -13
  103. package/dist/node_modules/date-fns/eachMonthOfInterval.js +0 -17
  104. package/dist/node_modules/date-fns/eachYearOfInterval.js +0 -17
  105. package/dist/node_modules/date-fns/endOfISOWeek.js +0 -8
  106. package/dist/node_modules/date-fns/endOfMonth.js +0 -9
  107. package/dist/node_modules/date-fns/endOfWeek.js +0 -10
  108. package/dist/node_modules/date-fns/endOfYear.js +0 -9
  109. package/dist/node_modules/date-fns/format.js +0 -58
  110. package/dist/node_modules/date-fns/getDayOfYear.js +0 -11
  111. package/dist/node_modules/date-fns/getDaysInMonth.js +0 -10
  112. package/dist/node_modules/date-fns/getDefaultOptions.js +0 -8
  113. package/dist/node_modules/date-fns/getISODay.js +0 -9
  114. package/dist/node_modules/date-fns/getISOWeek.js +0 -12
  115. package/dist/node_modules/date-fns/getISOWeekYear.js +0 -15
  116. package/dist/node_modules/date-fns/getMonth.js +0 -8
  117. package/dist/node_modules/date-fns/getWeek.js +0 -12
  118. package/dist/node_modules/date-fns/getWeekYear.js +0 -16
  119. package/dist/node_modules/date-fns/getYear.js +0 -8
  120. package/dist/node_modules/date-fns/isAfter.js +0 -8
  121. package/dist/node_modules/date-fns/isBefore.js +0 -8
  122. package/dist/node_modules/date-fns/isDate.js +0 -7
  123. package/dist/node_modules/date-fns/isSameDay.js +0 -14
  124. package/dist/node_modules/date-fns/isSameMonth.js +0 -13
  125. package/dist/node_modules/date-fns/isSameYear.js +0 -13
  126. package/dist/node_modules/date-fns/isValid.js +0 -9
  127. package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +0 -9
  128. package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +0 -18
  129. package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js +0 -31
  130. package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +0 -15
  131. package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +0 -70
  132. package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js +0 -33
  133. package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +0 -11
  134. package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js +0 -155
  135. package/dist/node_modules/date-fns/locale/en-US/_lib/match.js +0 -110
  136. package/dist/node_modules/date-fns/locale/en-US.js +0 -21
  137. package/dist/node_modules/date-fns/max.js +0 -14
  138. package/dist/node_modules/date-fns/min.js +0 -14
  139. package/dist/node_modules/date-fns/parse/_lib/Parser.js +0 -22
  140. package/dist/node_modules/date-fns/parse/_lib/Setter.js +0 -35
  141. package/dist/node_modules/date-fns/parse/_lib/constants.js +0 -49
  142. package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js +0 -42
  143. package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js +0 -42
  144. package/dist/node_modules/date-fns/parse/_lib/parsers/DateParser.js +0 -55
  145. package/dist/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js +0 -45
  146. package/dist/node_modules/date-fns/parse/_lib/parsers/DayParser.js +0 -41
  147. package/dist/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js +0 -42
  148. package/dist/node_modules/date-fns/parse/_lib/parsers/EraParser.js +0 -25
  149. package/dist/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js +0 -15
  150. package/dist/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js +0 -16
  151. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js +0 -26
  152. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js +0 -26
  153. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js +0 -27
  154. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js +0 -27
  155. package/dist/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js +0 -97
  156. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js +0 -41
  157. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js +0 -41
  158. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js +0 -43
  159. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js +0 -34
  160. package/dist/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js +0 -72
  161. package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js +0 -42
  162. package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js +0 -63
  163. package/dist/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js +0 -26
  164. package/dist/node_modules/date-fns/parse/_lib/parsers/MonthParser.js +0 -69
  165. package/dist/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js +0 -67
  166. package/dist/node_modules/date-fns/parse/_lib/parsers/SecondParser.js +0 -26
  167. package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js +0 -72
  168. package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js +0 -69
  169. package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js +0 -67
  170. package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js +0 -16
  171. package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js +0 -16
  172. package/dist/node_modules/date-fns/parse/_lib/parsers/YearParser.js +0 -43
  173. package/dist/node_modules/date-fns/parse/_lib/parsers.js +0 -67
  174. package/dist/node_modules/date-fns/parse/_lib/utils.js +0 -100
  175. package/dist/node_modules/date-fns/parse.js +0 -88
  176. package/dist/node_modules/date-fns/setDay.js +0 -11
  177. package/dist/node_modules/date-fns/setISODay.js +0 -11
  178. package/dist/node_modules/date-fns/setISOWeek.js +0 -10
  179. package/dist/node_modules/date-fns/setMonth.js +0 -13
  180. package/dist/node_modules/date-fns/setWeek.js +0 -10
  181. package/dist/node_modules/date-fns/setYear.js +0 -10
  182. package/dist/node_modules/date-fns/startOfDay.js +0 -9
  183. package/dist/node_modules/date-fns/startOfISOWeek.js +0 -8
  184. package/dist/node_modules/date-fns/startOfISOWeekYear.js +0 -11
  185. package/dist/node_modules/date-fns/startOfMonth.js +0 -9
  186. package/dist/node_modules/date-fns/startOfWeek.js +0 -10
  187. package/dist/node_modules/date-fns/startOfWeekYear.js +0 -12
  188. package/dist/node_modules/date-fns/startOfYear.js +0 -9
  189. package/dist/node_modules/date-fns/toDate.js +0 -8
  190. package/dist/node_modules/date-fns/transpose.js +0 -17
  191. package/dist/node_modules/get-nonce/dist/es2015/index.js +0 -7
  192. package/dist/node_modules/lucide-react/dist/esm/Icon.js +0 -35
  193. package/dist/node_modules/lucide-react/dist/esm/createLucideIcon.js +0 -21
  194. package/dist/node_modules/lucide-react/dist/esm/defaultAttributes.js +0 -14
  195. package/dist/node_modules/lucide-react/dist/esm/icons/arrow-left.js +0 -9
  196. package/dist/node_modules/lucide-react/dist/esm/icons/arrow-right.js +0 -9
  197. package/dist/node_modules/lucide-react/dist/esm/icons/bell-off.js +0 -17
  198. package/dist/node_modules/lucide-react/dist/esm/icons/bell.js +0 -15
  199. package/dist/node_modules/lucide-react/dist/esm/icons/calendar-days.js +0 -17
  200. package/dist/node_modules/lucide-react/dist/esm/icons/calendar.js +0 -11
  201. package/dist/node_modules/lucide-react/dist/esm/icons/camera.js +0 -15
  202. package/dist/node_modules/lucide-react/dist/esm/icons/check.js +0 -6
  203. package/dist/node_modules/lucide-react/dist/esm/icons/chevron-down.js +0 -6
  204. package/dist/node_modules/lucide-react/dist/esm/icons/chevron-left.js +0 -6
  205. package/dist/node_modules/lucide-react/dist/esm/icons/chevron-right.js +0 -6
  206. package/dist/node_modules/lucide-react/dist/esm/icons/chevron-up.js +0 -6
  207. package/dist/node_modules/lucide-react/dist/esm/icons/circle-alert.js +0 -10
  208. package/dist/node_modules/lucide-react/dist/esm/icons/circle-question-mark.js +0 -10
  209. package/dist/node_modules/lucide-react/dist/esm/icons/circle-user.js +0 -10
  210. package/dist/node_modules/lucide-react/dist/esm/icons/credit-card.js +0 -9
  211. package/dist/node_modules/lucide-react/dist/esm/icons/download.js +0 -10
  212. package/dist/node_modules/lucide-react/dist/esm/icons/ellipsis-vertical.js +0 -10
  213. package/dist/node_modules/lucide-react/dist/esm/icons/ellipsis.js +0 -10
  214. package/dist/node_modules/lucide-react/dist/esm/icons/eye-off.js +0 -23
  215. package/dist/node_modules/lucide-react/dist/esm/icons/eye.js +0 -15
  216. package/dist/node_modules/lucide-react/dist/esm/icons/folder.js +0 -14
  217. package/dist/node_modules/lucide-react/dist/esm/icons/heart-off.js +0 -22
  218. package/dist/node_modules/lucide-react/dist/esm/icons/heart.js +0 -14
  219. package/dist/node_modules/lucide-react/dist/esm/icons/house.js +0 -15
  220. package/dist/node_modules/lucide-react/dist/esm/icons/image.js +0 -10
  221. package/dist/node_modules/lucide-react/dist/esm/icons/info.js +0 -10
  222. package/dist/node_modules/lucide-react/dist/esm/icons/lock-open.js +0 -9
  223. package/dist/node_modules/lucide-react/dist/esm/icons/lock.js +0 -9
  224. package/dist/node_modules/lucide-react/dist/esm/icons/mail.js +0 -9
  225. package/dist/node_modules/lucide-react/dist/esm/icons/map-pin.js +0 -15
  226. package/dist/node_modules/lucide-react/dist/esm/icons/menu.js +0 -10
  227. package/dist/node_modules/lucide-react/dist/esm/icons/paperclip.js +0 -14
  228. package/dist/node_modules/lucide-react/dist/esm/icons/pencil.js +0 -15
  229. package/dist/node_modules/lucide-react/dist/esm/icons/phone.js +0 -14
  230. package/dist/node_modules/lucide-react/dist/esm/icons/plus.js +0 -9
  231. package/dist/node_modules/lucide-react/dist/esm/icons/printer.js +0 -16
  232. package/dist/node_modules/lucide-react/dist/esm/icons/refresh-cw.js +0 -11
  233. package/dist/node_modules/lucide-react/dist/esm/icons/search.js +0 -9
  234. package/dist/node_modules/lucide-react/dist/esm/icons/send.js +0 -15
  235. package/dist/node_modules/lucide-react/dist/esm/icons/settings.js +0 -15
  236. package/dist/node_modules/lucide-react/dist/esm/icons/share-2.js +0 -12
  237. package/dist/node_modules/lucide-react/dist/esm/icons/shopping-cart.js +0 -16
  238. package/dist/node_modules/lucide-react/dist/esm/icons/star-half.js +0 -14
  239. package/dist/node_modules/lucide-react/dist/esm/icons/star-off.js +0 -10
  240. package/dist/node_modules/lucide-react/dist/esm/icons/star.js +0 -14
  241. package/dist/node_modules/lucide-react/dist/esm/icons/trash-2.js +0 -12
  242. package/dist/node_modules/lucide-react/dist/esm/icons/triangle-alert.js +0 -16
  243. package/dist/node_modules/lucide-react/dist/esm/icons/upload.js +0 -10
  244. package/dist/node_modules/lucide-react/dist/esm/icons/user.js +0 -9
  245. package/dist/node_modules/lucide-react/dist/esm/icons/x.js +0 -9
  246. package/dist/node_modules/lucide-react/dist/esm/shared/src/utils.js +0 -18
  247. package/dist/node_modules/react-day-picker/dist/esm/DayPicker.js +0 -234
  248. package/dist/node_modules/react-day-picker/dist/esm/UI.js +0 -22
  249. package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarDay.js +0 -19
  250. package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarMonth.js +0 -8
  251. package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarWeek.js +0 -8
  252. package/dist/node_modules/react-day-picker/dist/esm/classes/DateLib.js +0 -148
  253. package/dist/node_modules/react-day-picker/dist/esm/components/Button.js +0 -7
  254. package/dist/node_modules/react-day-picker/dist/esm/components/CaptionLabel.js +0 -7
  255. package/dist/node_modules/react-day-picker/dist/esm/components/Chevron.js +0 -18
  256. package/dist/node_modules/react-day-picker/dist/esm/components/Day.js +0 -8
  257. package/dist/node_modules/react-day-picker/dist/esm/components/DayButton.js +0 -10
  258. package/dist/node_modules/react-day-picker/dist/esm/components/Dropdown.js +0 -19
  259. package/dist/node_modules/react-day-picker/dist/esm/components/DropdownNav.js +0 -7
  260. package/dist/node_modules/react-day-picker/dist/esm/components/Footer.js +0 -7
  261. package/dist/node_modules/react-day-picker/dist/esm/components/Month.js +0 -8
  262. package/dist/node_modules/react-day-picker/dist/esm/components/MonthCaption.js +0 -8
  263. package/dist/node_modules/react-day-picker/dist/esm/components/MonthGrid.js +0 -7
  264. package/dist/node_modules/react-day-picker/dist/esm/components/Months.js +0 -7
  265. package/dist/node_modules/react-day-picker/dist/esm/components/MonthsDropdown.js +0 -9
  266. package/dist/node_modules/react-day-picker/dist/esm/components/Nav.js +0 -27
  267. package/dist/node_modules/react-day-picker/dist/esm/components/NextMonthButton.js +0 -9
  268. package/dist/node_modules/react-day-picker/dist/esm/components/Option.js +0 -7
  269. package/dist/node_modules/react-day-picker/dist/esm/components/PreviousMonthButton.js +0 -9
  270. package/dist/node_modules/react-day-picker/dist/esm/components/Root.js +0 -8
  271. package/dist/node_modules/react-day-picker/dist/esm/components/Select.js +0 -7
  272. package/dist/node_modules/react-day-picker/dist/esm/components/Week.js +0 -8
  273. package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumber.js +0 -8
  274. package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumberHeader.js +0 -7
  275. package/dist/node_modules/react-day-picker/dist/esm/components/Weekday.js +0 -7
  276. package/dist/node_modules/react-day-picker/dist/esm/components/Weekdays.js +0 -11
  277. package/dist/node_modules/react-day-picker/dist/esm/components/Weeks.js +0 -7
  278. package/dist/node_modules/react-day-picker/dist/esm/components/YearsDropdown.js +0 -9
  279. package/dist/node_modules/react-day-picker/dist/esm/components/custom-components.js +0 -54
  280. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatCaption.js +0 -9
  281. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatDay.js +0 -7
  282. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatMonthDropdown.js +0 -7
  283. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumber.js +0 -7
  284. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumberHeader.js +0 -6
  285. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekdayName.js +0 -7
  286. package/dist/node_modules/react-day-picker/dist/esm/formatters/formatYearDropdown.js +0 -9
  287. package/dist/node_modules/react-day-picker/dist/esm/formatters/index.js +0 -18
  288. package/dist/node_modules/react-day-picker/dist/esm/helpers/calculateFocusTarget.js +0 -19
  289. package/dist/node_modules/react-day-picker/dist/esm/helpers/createGetModifiers.js +0 -42
  290. package/dist/node_modules/react-day-picker/dist/esm/helpers/endOfBroadcastWeek.js +0 -9
  291. package/dist/node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth.js +0 -7
  292. package/dist/node_modules/react-day-picker/dist/esm/helpers/getClassNamesForModifiers.js +0 -7
  293. package/dist/node_modules/react-day-picker/dist/esm/helpers/getComponents.js +0 -10
  294. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDataAttributes.js +0 -16
  295. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDates.js +0 -19
  296. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDays.js +0 -10
  297. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDefaultClassNames.js +0 -16
  298. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDisplayMonths.js +0 -13
  299. package/dist/node_modules/react-day-picker/dist/esm/helpers/getFocusableDate.js +0 -15
  300. package/dist/node_modules/react-day-picker/dist/esm/helpers/getFormatters.js +0 -10
  301. package/dist/node_modules/react-day-picker/dist/esm/helpers/getInitialMonth.js +0 -13
  302. package/dist/node_modules/react-day-picker/dist/esm/helpers/getLabels.js +0 -34
  303. package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonthOptions.js +0 -13
  304. package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonths.js +0 -24
  305. package/dist/node_modules/react-day-picker/dist/esm/helpers/getNavMonth.js +0 -13
  306. package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextFocus.js +0 -12
  307. package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextMonth.js +0 -12
  308. package/dist/node_modules/react-day-picker/dist/esm/helpers/getPreviousMonth.js +0 -12
  309. package/dist/node_modules/react-day-picker/dist/esm/helpers/getStyleForModifiers.js +0 -13
  310. package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeekdays.js +0 -11
  311. package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeeks.js +0 -7
  312. package/dist/node_modules/react-day-picker/dist/esm/helpers/getYearOptions.js +0 -16
  313. package/dist/node_modules/react-day-picker/dist/esm/helpers/startOfBroadcastWeek.js +0 -7
  314. package/dist/node_modules/react-day-picker/dist/esm/helpers/useControlledValue.js +0 -8
  315. package/dist/node_modules/react-day-picker/dist/esm/labels/index.js +0 -26
  316. package/dist/node_modules/react-day-picker/dist/esm/labels/labelDayButton.js +0 -10
  317. package/dist/node_modules/react-day-picker/dist/esm/labels/labelGrid.js +0 -9
  318. package/dist/node_modules/react-day-picker/dist/esm/labels/labelGridcell.js +0 -8
  319. package/dist/node_modules/react-day-picker/dist/esm/labels/labelMonthDropdown.js +0 -6
  320. package/dist/node_modules/react-day-picker/dist/esm/labels/labelNav.js +0 -6
  321. package/dist/node_modules/react-day-picker/dist/esm/labels/labelNext.js +0 -7
  322. package/dist/node_modules/react-day-picker/dist/esm/labels/labelPrevious.js +0 -6
  323. package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumber.js +0 -6
  324. package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumberHeader.js +0 -6
  325. package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekday.js +0 -7
  326. package/dist/node_modules/react-day-picker/dist/esm/labels/labelYearDropdown.js +0 -6
  327. package/dist/node_modules/react-day-picker/dist/esm/locale/en-US.js +0 -37
  328. package/dist/node_modules/react-day-picker/dist/esm/noonDateLib.js +0 -104
  329. package/dist/node_modules/react-day-picker/dist/esm/selection/useMulti.js +0 -21
  330. package/dist/node_modules/react-day-picker/dist/esm/selection/useRange.js +0 -18
  331. package/dist/node_modules/react-day-picker/dist/esm/selection/useSingle.js +0 -15
  332. package/dist/node_modules/react-day-picker/dist/esm/useAnimation.js +0 -56
  333. package/dist/node_modules/react-day-picker/dist/esm/useCalendar.js +0 -75
  334. package/dist/node_modules/react-day-picker/dist/esm/useDayPicker.js +0 -12
  335. package/dist/node_modules/react-day-picker/dist/esm/useFocus.js +0 -23
  336. package/dist/node_modules/react-day-picker/dist/esm/useSelection.js +0 -19
  337. package/dist/node_modules/react-day-picker/dist/esm/utils/addToRange.js +0 -32
  338. package/dist/node_modules/react-day-picker/dist/esm/utils/convertMatchersToTimeZone.js +0 -26
  339. package/dist/node_modules/react-day-picker/dist/esm/utils/dateMatchModifiers.js +0 -26
  340. package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsDayOfWeek.js +0 -15
  341. package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsModifiers.js +0 -28
  342. package/dist/node_modules/react-day-picker/dist/esm/utils/rangeIncludesDate.js +0 -9
  343. package/dist/node_modules/react-day-picker/dist/esm/utils/rangeOverlaps.js +0 -8
  344. package/dist/node_modules/react-day-picker/dist/esm/utils/toTimeZone.js +0 -8
  345. package/dist/node_modules/react-day-picker/dist/esm/utils/typeguards.js +0 -26
  346. package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.js +0 -11
  347. package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +0 -115
  348. package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js +0 -31
  349. package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +0 -16
  350. package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +0 -68
  351. package/dist/node_modules/react-remove-scroll/dist/es2015/medium.js +0 -5
  352. package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.js +0 -7
  353. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.js +0 -71
  354. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +0 -7
  355. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +0 -25
  356. package/dist/node_modules/react-style-singleton/dist/es2015/component.js +0 -11
  357. package/dist/node_modules/react-style-singleton/dist/es2015/hook.js +0 -15
  358. package/dist/node_modules/react-style-singleton/dist/es2015/singleton.js +0 -30
  359. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +0 -2765
  360. package/dist/node_modules/tslib/tslib.es6.js +0 -27
  361. package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.js +0 -6
  362. package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +0 -26
  363. package/dist/node_modules/use-callback-ref/dist/es2015/useRef.js +0 -25
  364. package/dist/node_modules/use-sidecar/dist/es2015/exports.js +0 -18
  365. package/dist/node_modules/use-sidecar/dist/es2015/medium.js +0 -67
@@ -1,9 +0,0 @@
1
- import e from "react";
2
- import { useDayPicker as n } from "../useDayPicker.js";
3
- function c(t) {
4
- const { components: o } = n();
5
- return e.createElement(o.Button, { ...t });
6
- }
7
- export {
8
- c as PreviousMonthButton
9
- };
@@ -1,8 +0,0 @@
1
- import r from "react";
2
- function n(t) {
3
- const { rootRef: e, ...o } = t;
4
- return r.createElement("div", { ...o, ref: e });
5
- }
6
- export {
7
- n as Root
8
- };
@@ -1,7 +0,0 @@
1
- import t from "react";
2
- function c(e) {
3
- return t.createElement("select", { ...e });
4
- }
5
- export {
6
- c as Select
7
- };
@@ -1,8 +0,0 @@
1
- import r from "react";
2
- function c(e) {
3
- const { week: o, ...t } = e;
4
- return r.createElement("tr", { ...t });
5
- }
6
- export {
7
- c as Week
8
- };
@@ -1,8 +0,0 @@
1
- import r from "react";
2
- function c(e) {
3
- const { week: o, ...t } = e;
4
- return r.createElement("th", { ...t });
5
- }
6
- export {
7
- c as WeekNumber
8
- };
@@ -1,7 +0,0 @@
1
- import t from "react";
2
- function a(e) {
3
- return t.createElement("th", { ...e });
4
- }
5
- export {
6
- a as WeekNumberHeader
7
- };
@@ -1,7 +0,0 @@
1
- import t from "react";
2
- function a(e) {
3
- return t.createElement("th", { ...e });
4
- }
5
- export {
6
- a as Weekday
7
- };
@@ -1,11 +0,0 @@
1
- import e from "react";
2
- function a(t) {
3
- return e.createElement(
4
- "thead",
5
- { "aria-hidden": !0 },
6
- e.createElement("tr", { ...t })
7
- );
8
- }
9
- export {
10
- a as Weekdays
11
- };
@@ -1,7 +0,0 @@
1
- import t from "react";
2
- function o(e) {
3
- return t.createElement("tbody", { ...e });
4
- }
5
- export {
6
- o as Weeks
7
- };
@@ -1,9 +0,0 @@
1
- import r from "react";
2
- import { useDayPicker as t } from "../useDayPicker.js";
3
- function m(o) {
4
- const { components: e } = t();
5
- return r.createElement(e.Dropdown, { ...o });
6
- }
7
- export {
8
- m as YearsDropdown
9
- };
@@ -1,54 +0,0 @@
1
- import { Button as e } from "./Button.js";
2
- import { CaptionLabel as p } from "./CaptionLabel.js";
3
- import { Chevron as x } from "./Chevron.js";
4
- import { Day as n } from "./Day.js";
5
- import { DayButton as d } from "./DayButton.js";
6
- import { Dropdown as u } from "./Dropdown.js";
7
- import { DropdownNav as k } from "./DropdownNav.js";
8
- import { Footer as D } from "./Footer.js";
9
- import { Month as i } from "./Month.js";
10
- import { MonthCaption as v } from "./MonthCaption.js";
11
- import { MonthGrid as y } from "./MonthGrid.js";
12
- import { Months as b } from "./Months.js";
13
- import { MonthsDropdown as l } from "./MonthsDropdown.js";
14
- import { Nav as F } from "./Nav.js";
15
- import { NextMonthButton as H } from "./NextMonthButton.js";
16
- import { Option as O } from "./Option.js";
17
- import { PreviousMonthButton as R } from "./PreviousMonthButton.js";
18
- import { Root as Y } from "./Root.js";
19
- import { Select as j } from "./Select.js";
20
- import { Week as z } from "./Week.js";
21
- import { Weekday as E } from "./Weekday.js";
22
- import { Weekdays as J } from "./Weekdays.js";
23
- import { WeekNumber as Q } from "./WeekNumber.js";
24
- import { WeekNumberHeader as U } from "./WeekNumberHeader.js";
25
- import { Weeks as X } from "./Weeks.js";
26
- import { YearsDropdown as _ } from "./YearsDropdown.js";
27
- export {
28
- e as Button,
29
- p as CaptionLabel,
30
- x as Chevron,
31
- n as Day,
32
- d as DayButton,
33
- u as Dropdown,
34
- k as DropdownNav,
35
- D as Footer,
36
- i as Month,
37
- v as MonthCaption,
38
- y as MonthGrid,
39
- b as Months,
40
- l as MonthsDropdown,
41
- F as Nav,
42
- H as NextMonthButton,
43
- O as Option,
44
- R as PreviousMonthButton,
45
- Y as Root,
46
- j as Select,
47
- z as Week,
48
- Q as WeekNumber,
49
- U as WeekNumberHeader,
50
- E as Weekday,
51
- J as Weekdays,
52
- X as Weeks,
53
- _ as YearsDropdown
54
- };
@@ -1,9 +0,0 @@
1
- import { DateLib as r } from "../classes/DateLib.js";
2
- function a(t, o, n) {
3
- return (n ?? new r(o)).formatMonthYear(t);
4
- }
5
- const f = a;
6
- export {
7
- a as formatCaption,
8
- f as formatMonthCaption
9
- };
@@ -1,7 +0,0 @@
1
- import { DateLib as a } from "../classes/DateLib.js";
2
- function f(r, t, o) {
3
- return (o ?? new a(t)).format(r, "d");
4
- }
5
- export {
6
- f as formatDay
7
- };
@@ -1,7 +0,0 @@
1
- import { defaultDateLib as r } from "../classes/DateLib.js";
2
- function n(o, t = r) {
3
- return t.format(o, "LLLL");
4
- }
5
- export {
6
- n as formatMonthDropdown
7
- };
@@ -1,7 +0,0 @@
1
- import { defaultDateLib as o } from "../classes/DateLib.js";
2
- function a(r, t = o) {
3
- return r < 10 ? t.formatNumber(`0${r.toLocaleString()}`) : t.formatNumber(`${r.toLocaleString()}`);
4
- }
5
- export {
6
- a as formatWeekNumber
7
- };
@@ -1,6 +0,0 @@
1
- function e() {
2
- return "";
3
- }
4
- export {
5
- e as formatWeekNumberHeader
6
- };
@@ -1,7 +0,0 @@
1
- import { DateLib as t } from "../classes/DateLib.js";
2
- function a(c, e, r) {
3
- return (r ?? new t(e)).format(c, "cccccc");
4
- }
5
- export {
6
- a as formatWeekdayName
7
- };
@@ -1,9 +0,0 @@
1
- import { defaultDateLib as t } from "../classes/DateLib.js";
2
- function a(o, r = t) {
3
- return r.format(o, "yyyy");
4
- }
5
- const f = a;
6
- export {
7
- f as formatYearCaption,
8
- a as formatYearDropdown
9
- };
@@ -1,18 +0,0 @@
1
- import { formatCaption as t, formatMonthCaption as e } from "./formatCaption.js";
2
- import { formatDay as a } from "./formatDay.js";
3
- import { formatMonthDropdown as p } from "./formatMonthDropdown.js";
4
- import { formatWeekdayName as x } from "./formatWeekdayName.js";
5
- import { formatWeekNumber as i } from "./formatWeekNumber.js";
6
- import { formatWeekNumberHeader as C } from "./formatWeekNumberHeader.js";
7
- import { formatYearCaption as N, formatYearDropdown as W } from "./formatYearDropdown.js";
8
- export {
9
- t as formatCaption,
10
- a as formatDay,
11
- e as formatMonthCaption,
12
- p as formatMonthDropdown,
13
- i as formatWeekNumber,
14
- C as formatWeekNumberHeader,
15
- x as formatWeekdayName,
16
- N as formatYearCaption,
17
- W as formatYearDropdown
18
- };
@@ -1,19 +0,0 @@
1
- import { DayFlag as s } from "../UI.js";
2
- var d;
3
- (function(e) {
4
- e[e.Today = 0] = "Today", e[e.Selected = 1] = "Selected", e[e.LastFocused = 2] = "LastFocused", e[e.FocusedModifier = 3] = "FocusedModifier";
5
- })(d || (d = {}));
6
- function l(e) {
7
- return !e[s.disabled] && !e[s.hidden] && !e[s.outside];
8
- }
9
- function F(e, u, t, n) {
10
- let f, c = -1;
11
- for (const o of e) {
12
- const a = u(o);
13
- l(a) && (a[s.focused] && c < d.FocusedModifier ? (f = o, c = d.FocusedModifier) : n?.isEqualTo(o) && c < d.LastFocused ? (f = o, c = d.LastFocused) : t(o.date) && c < d.Selected ? (f = o, c = d.Selected) : a[s.today] && c < d.Today && (f = o, c = d.Today));
14
- }
15
- return f || (f = e.find((o) => l(u(o)))), f;
16
- }
17
- export {
18
- F as calculateFocusTarget
19
- };
@@ -1,42 +0,0 @@
1
- import { DayFlag as e } from "../UI.js";
2
- import { dateMatchModifiers as u } from "../utils/dateMatchModifiers.js";
3
- function V(b, S, h, M, a) {
4
- const { disabled: m, hidden: p, modifiers: r, showOutsideDays: y, broadcastCalendar: B, today: g = a.today() } = S, { isSameDay: v, isSameMonth: A, startOfMonth: E, isBefore: F, endOfMonth: j, isAfter: k } = a, O = h && E(h), D = M && j(M), i = {
5
- [e.focused]: [],
6
- [e.outside]: [],
7
- [e.disabled]: [],
8
- [e.hidden]: [],
9
- [e.today]: []
10
- }, d = {};
11
- for (const s of b) {
12
- const { date: o, displayMonth: n } = s, t = !!(n && !A(o, n)), f = !!(O && F(o, O)), l = !!(D && k(o, D)), w = !!(m && u(o, m, a)), x = !!(p && u(o, p, a)) || f || l || // Broadcast calendar will show outside days as default
13
- !B && !y && t || B && y === !1 && t, C = v(o, g);
14
- t && i.outside.push(s), w && i.disabled.push(s), x && i.hidden.push(s), C && i.today.push(s), r && Object.keys(r).forEach((c) => {
15
- const N = r?.[c];
16
- N && u(o, N, a) && (d[c] ? d[c].push(s) : d[c] = [s]);
17
- });
18
- }
19
- return (s) => {
20
- const o = {
21
- [e.focused]: !1,
22
- [e.disabled]: !1,
23
- [e.hidden]: !1,
24
- [e.outside]: !1,
25
- [e.today]: !1
26
- }, n = {};
27
- for (const t in i) {
28
- const f = i[t];
29
- o[t] = f.some((l) => l === s);
30
- }
31
- for (const t in d)
32
- n[t] = d[t].some((f) => f === s);
33
- return {
34
- ...o,
35
- // custom modifiers should override all the previous ones
36
- ...n
37
- };
38
- };
39
- }
40
- export {
41
- V as createGetModifiers
42
- };
@@ -1,9 +0,0 @@
1
- import { getBroadcastWeeksInMonth as n } from "./getBroadcastWeeksInMonth.js";
2
- import { startOfBroadcastWeek as s } from "./startOfBroadcastWeek.js";
3
- function d(e, t) {
4
- const o = s(e, t), r = n(e, t);
5
- return t.addDays(o, r * 7 - 1);
6
- }
7
- export {
8
- d as endOfBroadcastWeek
9
- };
@@ -1,7 +0,0 @@
1
- function r(s, t) {
2
- const e = t.startOfMonth(s), n = e.getDay() > 0 ? e.getDay() : 7, a = t.addDays(s, -n + 1), o = t.addDays(a, 34);
3
- return t.getMonth(s) === t.getMonth(o) ? 5 : 4;
4
- }
5
- export {
6
- r as getBroadcastWeeksInMonth
7
- };
@@ -1,7 +0,0 @@
1
- import { DayFlag as e, SelectionState as n, UI as d } from "../UI.js";
2
- function p(o, i, f = {}) {
3
- return Object.entries(o).filter(([, t]) => t === !0).reduce((t, [r]) => (f[r] ? t.push(f[r]) : i[e[r]] ? t.push(i[e[r]]) : i[n[r]] && t.push(i[n[r]]), t), [i[d.Day]]);
4
- }
5
- export {
6
- p as getClassNamesForModifiers
7
- };
@@ -1,10 +0,0 @@
1
- import * as t from "../components/custom-components.js";
2
- function n(o) {
3
- return {
4
- ...t,
5
- ...o
6
- };
7
- }
8
- export {
9
- n as getComponents
10
- };
@@ -1,16 +0,0 @@
1
- function n(e) {
2
- const t = {
3
- "data-mode": e.mode ?? void 0,
4
- "data-required": "required" in e ? e.required : void 0,
5
- "data-multiple-months": e.numberOfMonths && e.numberOfMonths > 1 || void 0,
6
- "data-week-numbers": e.showWeekNumber || void 0,
7
- "data-broadcast-calendar": e.broadcastCalendar || void 0,
8
- "data-nav-layout": e.navLayout || void 0
9
- };
10
- return Object.entries(e).forEach(([a, d]) => {
11
- a.startsWith("data-") && (t[a] = d);
12
- }), t;
13
- }
14
- export {
15
- n as getDataAttributes
16
- };
@@ -1,19 +0,0 @@
1
- function j(r, n, I, W) {
2
- const s = r[0], o = r[r.length - 1], { ISOWeek: c, fixedWeeks: u, broadcastCalendar: a } = I ?? {}, { addDays: i, differenceInCalendarDays: M, differenceInCalendarMonths: C, endOfBroadcastWeek: O, endOfISOWeek: k, endOfMonth: h, endOfWeek: l, isAfter: E, startOfBroadcastWeek: F, startOfISOWeek: S, startOfWeek: p } = W, g = a ? F(s, W) : c ? S(s) : p(s), D = a ? O(o) : c ? k(h(o)) : l(h(o)), f = n && (a ? O(n) : c ? k(n) : l(n)), x = f && E(D, f) ? f : D, A = M(x, g), B = C(o, s) + 1, e = [];
3
- for (let t = 0; t <= A; t++) {
4
- const d = i(g, t);
5
- e.push(d);
6
- }
7
- const y = (a ? 35 : 42) * B;
8
- if (u && e.length < y) {
9
- const t = y - e.length;
10
- for (let d = 0; d < t; d++) {
11
- const T = i(e[e.length - 1], 1);
12
- e.push(T);
13
- }
14
- }
15
- return e;
16
- }
17
- export {
18
- j as getDates
19
- };
@@ -1,10 +0,0 @@
1
- function a(c) {
2
- const e = [];
3
- return c.reduce((s, t) => {
4
- const n = t.weeks.reduce((r, i) => r.concat(i.days.slice()), e.slice());
5
- return s.concat(n.slice());
6
- }, e.slice());
7
- }
8
- export {
9
- a as getDays
10
- };
@@ -1,16 +0,0 @@
1
- import { UI as t, DayFlag as e, SelectionState as r, Animation as s } from "../UI.js";
2
- function i() {
3
- const o = {};
4
- for (const n in t)
5
- o[t[n]] = `rdp-${t[n]}`;
6
- for (const n in e)
7
- o[e[n]] = `rdp-${e[n]}`;
8
- for (const n in r)
9
- o[r[n]] = `rdp-${r[n]}`;
10
- for (const n in s)
11
- o[s[n]] = `rdp-${s[n]}`;
12
- return o;
13
- }
14
- export {
15
- i as getDefaultClassNames
16
- };
@@ -1,13 +0,0 @@
1
- function i(e, o, h, r) {
2
- const { numberOfMonths: f = 1 } = h, n = [];
3
- for (let t = 0; t < f; t++) {
4
- const s = r.addMonths(e, t);
5
- if (o && s > o)
6
- break;
7
- n.push(s);
8
- }
9
- return n;
10
- }
11
- export {
12
- i as getDisplayMonths
13
- };
@@ -1,15 +0,0 @@
1
- function g(d, s, k, t, f, O, n) {
2
- const { ISOWeek: o, broadcastCalendar: r } = O, { addDays: W, addMonths: c, addWeeks: l, addYears: u, endOfBroadcastWeek: b, endOfISOWeek: m, endOfWeek: y, max: F, min: I, startOfBroadcastWeek: h, startOfISOWeek: x, startOfWeek: B } = n;
3
- let a = {
4
- day: W,
5
- week: l,
6
- month: c,
7
- year: u,
8
- startOfWeek: (e) => r ? h(e, n) : o ? x(e) : B(e),
9
- endOfWeek: (e) => r ? b(e) : o ? m(e) : y(e)
10
- }[d](k, s === "after" ? 1 : -1);
11
- return s === "before" && t ? a = F([t, a]) : s === "after" && f && (a = I([f, a])), a;
12
- }
13
- export {
14
- g as getFocusableDate
15
- };
@@ -1,10 +0,0 @@
1
- import * as a from "../formatters/index.js";
2
- function f(n) {
3
- return n?.formatMonthCaption && !n.formatCaption && (n.formatCaption = n.formatMonthCaption), n?.formatYearCaption && !n.formatYearDropdown && (n.formatYearDropdown = n.formatYearCaption), {
4
- ...a,
5
- ...n
6
- };
7
- }
8
- export {
9
- f as getFormatters
10
- };
@@ -1,13 +0,0 @@
1
- function u(i, o, n, e) {
2
- const { month: s, defaultMonth: M, today: c = e.today(), numberOfMonths: f = 1 } = i;
3
- let t = s || M || c;
4
- const { differenceInCalendarMonths: h, addMonths: l, startOfMonth: r } = e;
5
- if (n && h(n, t) < f - 1) {
6
- const d = -1 * (f - 1);
7
- t = l(n, d);
8
- }
9
- return o && h(t, o) < 0 && (t = o), r(t);
10
- }
11
- export {
12
- u as getInitialMonth
13
- };
@@ -1,34 +0,0 @@
1
- import * as o from "../labels/index.js";
2
- import { labelWeekday as b } from "../labels/labelWeekday.js";
3
- import { labelWeekNumberHeader as i } from "../labels/labelWeekNumberHeader.js";
4
- import { labelNav as n } from "../labels/labelNav.js";
5
- import { labelGridcell as t } from "../labels/labelGridcell.js";
6
- import { labelGrid as d } from "../labels/labelGrid.js";
7
- import { labelYearDropdown as p } from "../labels/labelYearDropdown.js";
8
- import { labelWeekNumber as m } from "../labels/labelWeekNumber.js";
9
- import { labelPrevious as f } from "../labels/labelPrevious.js";
10
- import { labelNext as N } from "../labels/labelNext.js";
11
- import { labelMonthDropdown as k } from "../labels/labelMonthDropdown.js";
12
- import { labelDayButton as D } from "../labels/labelDayButton.js";
13
- const r = (l, a, e) => a || (e ? typeof e == "function" ? e : (...W) => e : l);
14
- function Y(l, a) {
15
- const e = a.locale?.labels ?? {};
16
- return {
17
- ...o,
18
- ...l ?? {},
19
- labelDayButton: r(D, l?.labelDayButton, e.labelDayButton),
20
- labelMonthDropdown: r(k, l?.labelMonthDropdown, e.labelMonthDropdown),
21
- labelNext: r(N, l?.labelNext, e.labelNext),
22
- labelPrevious: r(f, l?.labelPrevious, e.labelPrevious),
23
- labelWeekNumber: r(m, l?.labelWeekNumber, e.labelWeekNumber),
24
- labelYearDropdown: r(p, l?.labelYearDropdown, e.labelYearDropdown),
25
- labelGrid: r(d, l?.labelGrid, e.labelGrid),
26
- labelGridcell: r(t, l?.labelGridcell, e.labelGridcell),
27
- labelNav: r(n, l?.labelNav, e.labelNav),
28
- labelWeekNumberHeader: r(i, l?.labelWeekNumberHeader, e.labelWeekNumberHeader),
29
- labelWeekday: r(b, l?.labelWeekday, e.labelWeekday)
30
- };
31
- }
32
- export {
33
- Y as getLabels
34
- };
@@ -1,13 +0,0 @@
1
- function d(o, n, s, a, e) {
2
- const { startOfMonth: r, startOfYear: c, endOfYear: f, eachMonthOfInterval: l, getMonth: p } = e;
3
- return l({
4
- start: c(o),
5
- end: f(o)
6
- }).map((t) => {
7
- const O = a.formatMonthDropdown(t, e), h = p(t), u = n && t < r(n) || s && t > r(s) || !1;
8
- return { value: h, label: O, disabled: u };
9
- });
10
- }
11
- export {
12
- d as getMonthOptions
13
- };
@@ -1,24 +0,0 @@
1
- import { CalendarDay as F } from "../classes/CalendarDay.js";
2
- import { CalendarWeek as N } from "../classes/CalendarWeek.js";
3
- import { CalendarMonth as P } from "../classes/CalendarMonth.js";
4
- function j(l, f, e, c) {
5
- const { addDays: y, endOfBroadcastWeek: D, endOfISOWeek: h, endOfMonth: k, endOfWeek: C, getISOWeek: I, getWeek: M, startOfBroadcastWeek: S, startOfISOWeek: g, startOfWeek: w } = c, o = l.reduce((W, t) => {
6
- const x = e.broadcastCalendar ? S(t, c) : e.ISOWeek ? g(t) : w(t), d = e.broadcastCalendar ? D(t) : e.ISOWeek ? h(k(t)) : C(k(t)), a = f.filter((r) => r >= x && r <= d), O = e.broadcastCalendar ? 35 : 42;
7
- if (e.fixedWeeks && a.length < O) {
8
- const r = f.filter((n) => {
9
- const s = O - a.length;
10
- return n > d && n <= y(d, s);
11
- });
12
- a.push(...r);
13
- }
14
- const b = a.reduce((r, n) => {
15
- const s = e.ISOWeek ? I(n) : M(n), i = r.find((B) => B.weekNumber === s), u = new F(n, t, c);
16
- return i ? i.days.push(u) : r.push(new N(s, [u])), r;
17
- }, []), v = new P(t, b);
18
- return W.push(v), W;
19
- }, []);
20
- return e.reverseMonths ? o.reverse() : o;
21
- }
22
- export {
23
- j as getMonths
24
- };
@@ -1,13 +0,0 @@
1
- function O(o, r) {
2
- let { startMonth: t, endMonth: e } = o;
3
- const { startOfYear: M, startOfDay: d, startOfMonth: c, endOfMonth: Y, addYears: l, endOfYear: w, newDate: f, today: i } = r, { fromYear: a, toYear: n, fromMonth: s, toMonth: h } = o;
4
- !t && s && (t = s), !t && a && (t = r.newDate(a, 0, 1)), !e && h && (e = h), !e && n && (e = f(n, 11, 31));
5
- const y = o.captionLayout === "dropdown" || o.captionLayout === "dropdown-years";
6
- return t ? t = c(t) : a ? t = f(a, 0, 1) : !t && y && (t = M(l(o.today ?? i(), -100))), e ? e = Y(e) : n ? e = f(n, 11, 31) : !e && y && (e = w(o.today ?? i())), [
7
- t && d(t),
8
- e && d(e)
9
- ];
10
- }
11
- export {
12
- O as getNavMonths
13
- };
@@ -1,12 +0,0 @@
1
- import { dateMatchModifiers as u } from "../utils/dateMatchModifiers.js";
2
- import { getFocusableDate as g } from "./getFocusableDate.js";
3
- import { CalendarDay as m } from "../classes/CalendarDay.js";
4
- function h(t, i, a, d, f, e, n, s = 0) {
5
- if (s > 365)
6
- return;
7
- const o = g(t, i, a.date, d, f, e, n), r = !!(e.disabled && u(o, e.disabled, n)), l = !!(e.hidden && u(o, e.hidden, n)), D = o, c = new m(o, D, n);
8
- return !r && !l ? c : h(t, i, c, d, f, e, n, s + 1);
9
- }
10
- export {
11
- h as getNextFocus
12
- };
@@ -1,12 +0,0 @@
1
- function h(n, t, e, s) {
2
- if (e.disableNavigation)
3
- return;
4
- const { pagedNavigation: u, numberOfMonths: f = 1 } = e, { startOfMonth: a, addMonths: o, differenceInCalendarMonths: d } = s, i = u ? f : 1, r = a(n);
5
- if (!t)
6
- return o(r, i);
7
- if (!(d(t, n) < f))
8
- return o(r, i);
9
- }
10
- export {
11
- h as getNextMonth
12
- };
@@ -1,12 +0,0 @@
1
- function c(i, t, e, s) {
2
- if (e.disableNavigation)
3
- return;
4
- const { pagedNavigation: r, numberOfMonths: d } = e, { startOfMonth: u, addMonths: f, differenceInCalendarMonths: a } = s, o = r ? d ?? 1 : 1, n = u(i);
5
- if (!t)
6
- return f(n, -o);
7
- if (!(a(n, t) <= 0))
8
- return f(n, -o);
9
- }
10
- export {
11
- c as getPreviousMonth
12
- };
@@ -1,13 +0,0 @@
1
- import { UI as f } from "../UI.js";
2
- function n(r, o = {}, i = {}) {
3
- let e = { ...o?.[f.Day] };
4
- return Object.entries(r).filter(([, t]) => t === !0).forEach(([t]) => {
5
- e = {
6
- ...e,
7
- ...i?.[t]
8
- };
9
- }), e;
10
- }
11
- export {
12
- n as getStyleForModifiers
13
- };
@@ -1,11 +0,0 @@
1
- function y(t, o, a, n) {
2
- const s = n ?? t.today(), c = a ? t.startOfBroadcastWeek(s, t) : o ? t.startOfISOWeek(s) : t.startOfWeek(s), r = [];
3
- for (let e = 0; e < 7; e++) {
4
- const f = t.addDays(c, e);
5
- r.push(f);
6
- }
7
- return r;
8
- }
9
- export {
10
- y as getWeekdays
11
- };
@@ -1,7 +0,0 @@
1
- function i(e) {
2
- const t = [];
3
- return e.reduce((c, n) => c.concat(n.weeks.slice()), t.slice());
4
- }
5
- export {
6
- i as getWeeks
7
- };
@@ -1,16 +0,0 @@
1
- function p(e, r, s, t, f = !1) {
2
- if (!e || !r)
3
- return;
4
- const { startOfYear: o, endOfYear: i, eachYearOfInterval: l, getYear: u } = t, Y = o(e), c = i(r), a = l({ start: Y, end: c });
5
- return f && a.reverse(), a.map((n) => {
6
- const d = s.formatYearDropdown(n, t);
7
- return {
8
- value: u(n),
9
- label: d,
10
- disabled: !1
11
- };
12
- });
13
- }
14
- export {
15
- p as getYearOptions
16
- };