@calcom/atoms 1.0.99 → 1.0.101

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 (217) hide show
  1. package/dist/{AddressInput-WBfvWGkL.js → AddressInput-ljX96GOj.js} +1 -1
  2. package/dist/{AlbyPriceComponent-eW8bnLtO.js → AlbyPriceComponent--ArQtxNB.js} +15 -15
  3. package/dist/{AppCard-a2VNbyLx.js → AppCard-xRrhcyow.js} +3 -3
  4. package/dist/{AppListCardPlatformWrapper-C8hnPpP4.js → AppListCardPlatformWrapper-iE_KoJJz.js} +1 -1
  5. package/dist/{AppListCardWebWrapper-DvvSERyw.js → AppListCardWebWrapper-XQkboW-A.js} +7 -7
  6. package/dist/{AppSettingsInterface-cKTul9l1.js → AppSettingsInterface-Yokg1R5e.js} +1 -1
  7. package/dist/{AppSettingsInterface-277vkITp.js → AppSettingsInterface-_QxvdIHr.js} +1 -1
  8. package/dist/{AppSettingsInterface-cRYupPyd.js → AppSettingsInterface-hweGTkAI.js} +1 -1
  9. package/dist/{DateRangePicker-vgjaMql7.js → DateRangePicker-F9HOeX4I.js} +69 -69
  10. package/dist/{EventTypeAppCardInterface-ax3KRlWb.js → EventTypeAppCardInterface-0XruIPBf.js} +4 -4
  11. package/dist/{EventTypeAppCardInterface-KduqlFNa.js → EventTypeAppCardInterface-1ZEoYers.js} +3 -3
  12. package/dist/{EventTypeAppCardInterface-iRFQuaNc.js → EventTypeAppCardInterface-41c-etQb.js} +3 -3
  13. package/dist/{EventTypeAppCardInterface-5oCKHCnt.js → EventTypeAppCardInterface-6lncfu0H.js} +3 -3
  14. package/dist/{EventTypeAppCardInterface-J-7B6Xjo.js → EventTypeAppCardInterface-6qEGBpiE.js} +4 -4
  15. package/dist/{EventTypeAppCardInterface-k6-pyXdz.js → EventTypeAppCardInterface-9DgXPWbh.js} +3 -3
  16. package/dist/{EventTypeAppCardInterface-Y4hW3FSd.js → EventTypeAppCardInterface-Hu4nTaNm.js} +3 -3
  17. package/dist/{EventTypeAppCardInterface-urvIbTUy.js → EventTypeAppCardInterface-HzzLujZJ.js} +4 -4
  18. package/dist/{EventTypeAppCardInterface-tRwK3uo8.js → EventTypeAppCardInterface-ImWU0nbu.js} +4 -4
  19. package/dist/{EventTypeAppCardInterface-MS4ucwo6.js → EventTypeAppCardInterface-KTvwKoZp.js} +3 -3
  20. package/dist/{EventTypeAppCardInterface-EjBlklYZ.js → EventTypeAppCardInterface-LStyD24r.js} +4 -4
  21. package/dist/EventTypeAppCardInterface-Ri7zlKki.js +526 -0
  22. package/dist/{EventTypeAppCardInterface-5SmitGNV.js → EventTypeAppCardInterface-TNJ-n2uU.js} +3 -3
  23. package/dist/{EventTypeAppCardInterface-iye41eH9.js → EventTypeAppCardInterface-X9N_qajz.js} +4 -4
  24. package/dist/{EventTypeAppCardInterface-jPx0Q4vg.js → EventTypeAppCardInterface-_6rEgHys.js} +3 -3
  25. package/dist/{EventTypeAppCardInterface-PTb9KLMK.js → EventTypeAppCardInterface-_LSGnI_j.js} +4 -4
  26. package/dist/EventTypeAppCardInterface-_ZueJNzP.js +24 -0
  27. package/dist/{EventTypeAppCardInterface-yEwxGABY.js → EventTypeAppCardInterface-eYhGvYx2.js} +4 -4
  28. package/dist/{EventTypeAppCardInterface-UnxmvFiF.js → EventTypeAppCardInterface-iFfUUper.js} +3 -3
  29. package/dist/{EventTypeAppCardInterface-E0Qss22P.js → EventTypeAppCardInterface-ihd1dVU4.js} +3 -3
  30. package/dist/{EventTypeAppCardInterface-u3dNHTwX.js → EventTypeAppCardInterface-mLgPR301.js} +4 -4
  31. package/dist/{EventTypeAppCardInterface-rV9JaOnf.js → EventTypeAppCardInterface-nuD4okpy.js} +2 -2
  32. package/dist/{EventTypeAppCardInterface-hdSBbtYi.js → EventTypeAppCardInterface-smWUxvN0.js} +4 -4
  33. package/dist/{EventTypeAppCardInterface-i0iSNHI5.js → EventTypeAppCardInterface-tv38JUda.js} +3 -3
  34. package/dist/{EventTypeAppCardInterface-DCGeU2Nt.js → EventTypeAppCardInterface-w_0z5zlD.js} +2 -2
  35. package/dist/{EventTypeAppCardInterface-gWjvfWM8.js → EventTypeAppCardInterface-wgZe_Ofg.js} +3 -3
  36. package/dist/{EventTypeAppSettingsInterface-UEd9lbfG.js → EventTypeAppSettingsInterface-1LlsqP0W.js} +1 -1
  37. package/dist/{EventTypeAppSettingsInterface-cZcfyfGn.js → EventTypeAppSettingsInterface-2pQN1OGk.js} +1 -1
  38. package/dist/{EventTypeAppSettingsInterface-VdsSNh9p.js → EventTypeAppSettingsInterface-5BIvQr77.js} +1 -1
  39. package/dist/{EventTypeAppSettingsInterface-YGCAMT_H.js → EventTypeAppSettingsInterface-9O9w0xgs.js} +5 -5
  40. package/dist/{EventTypeAppSettingsInterface-XljkqZTl.js → EventTypeAppSettingsInterface-B1xYXFpt.js} +1 -1
  41. package/dist/{EventTypeAppSettingsInterface-VctSrf5M.js → EventTypeAppSettingsInterface-C9Q0l9cT.js} +1 -1
  42. package/dist/{EventTypeAppSettingsInterface-HjjrUG-6.js → EventTypeAppSettingsInterface-Z1nqP5Qg.js} +1 -1
  43. package/dist/{EventTypeAppSettingsInterface-zpEk1DKo.js → EventTypeAppSettingsInterface-dN8YHzJm.js} +1 -1
  44. package/dist/{EventTypeAppSettingsInterface-mb6aW1Vk.js → EventTypeAppSettingsInterface-h0cnVPv3.js} +1 -1
  45. package/dist/{EventTypeAppSettingsInterface-H0Y7R_6K.js → EventTypeAppSettingsInterface-h62B0iUq.js} +1 -1
  46. package/dist/{EventTypeAppSettingsInterface-t9OOHsGu.js → EventTypeAppSettingsInterface-qQ8NC-lG.js} +1 -1
  47. package/dist/{EventTypeAppSettingsInterface-IlX26-MP.js → EventTypeAppSettingsInterface-xlOnemZ9.js} +1 -1
  48. package/dist/{InstallAppButton-LAgGkMR5.js → InstallAppButton-IY16xtI-.js} +1 -1
  49. package/dist/{InstallAppButton-mCwpgGMb.js → InstallAppButton-djNqJZP7.js} +1 -1
  50. package/dist/{InstallAppButton-0rF_k2oO.js → InstallAppButton-loNdcyIF.js} +1 -1
  51. package/dist/{PhoneInput-LeK3XZ0X.js → PhoneInput-PVqJ__ZZ.js} +1 -1
  52. package/dist/{StripePaymentForm-7wEfBhaI.js → StripePaymentForm-MaOvyTtN.js} +1 -1
  53. package/dist/cal-atoms.js +23 -21
  54. package/dist/{index-NLytQWtD.js → index-0i5XfWSB.js} +82 -75
  55. package/dist/{index-mhIxRvCU.js → index-7oHjpn4P.js} +1 -1
  56. package/dist/{index-61yVVkPy.js → index-Aa5t8hn2.js} +1 -1
  57. package/dist/{index-E1a1GKmY.js → index-LwkTy4i-.js} +62918 -61124
  58. package/dist/packages/features/bookings/Booker/Booker.d.ts.map +1 -1
  59. package/dist/packages/features/bookings/Booker/components/DatePicker.d.ts +6 -0
  60. package/dist/packages/features/bookings/Booker/components/DatePicker.d.ts.map +1 -1
  61. package/dist/packages/features/bookings/Booker/components/OverlayCalendar/OverlayCalendar.d.ts +1 -1
  62. package/dist/packages/features/bookings/Booker/components/OverlayCalendar/OverlayCalendar.d.ts.map +1 -1
  63. package/dist/packages/features/bookings/Booker/utils/event.d.ts +17 -0
  64. package/dist/packages/features/bookings/Booker/utils/event.d.ts.map +1 -1
  65. package/dist/packages/features/bookings/lib/get-booking.d.ts +3 -0
  66. package/dist/packages/features/bookings/lib/get-booking.d.ts.map +1 -1
  67. package/dist/packages/features/bookings/lib/getBookingInfo.d.ts +2 -0
  68. package/dist/packages/features/bookings/lib/getBookingInfo.d.ts.map +1 -1
  69. package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts +2 -0
  70. package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts.map +1 -1
  71. package/dist/packages/features/bookings/lib/getUserBooking.d.ts +1 -0
  72. package/dist/packages/features/bookings/lib/getUserBooking.d.ts.map +1 -1
  73. package/dist/packages/features/bookings/lib/handleCancelBooking.d.ts.map +1 -1
  74. package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts.map +1 -1
  75. package/dist/packages/features/bookings/lib/handleNewBooking/originalRescheduledBookingUtils.d.ts +1 -0
  76. package/dist/packages/features/bookings/lib/handleNewBooking/originalRescheduledBookingUtils.d.ts.map +1 -1
  77. package/dist/packages/features/bookings/lib/handleNewBooking.d.ts.map +1 -1
  78. package/dist/packages/features/data-table/DataTableProvider.d.ts +4 -2
  79. package/dist/packages/features/data-table/DataTableProvider.d.ts.map +1 -1
  80. package/dist/packages/features/data-table/components/DataTableToolbar.d.ts.map +1 -1
  81. package/dist/packages/features/data-table/components/filters/DateRangeFilter.d.ts.map +1 -1
  82. package/dist/packages/features/data-table/components/segment/FilterSegmentSelect.d.ts.map +1 -1
  83. package/dist/packages/features/data-table/components/segment/SaveFilterSegmentButton.d.ts.map +1 -1
  84. package/dist/packages/features/data-table/hooks/useColumnResizing.d.ts +9 -0
  85. package/dist/packages/features/data-table/hooks/useColumnResizing.d.ts.map +1 -0
  86. package/dist/packages/features/data-table/hooks/useSegments.d.ts +3 -0
  87. package/dist/packages/features/data-table/hooks/useSegments.d.ts.map +1 -0
  88. package/dist/packages/features/data-table/hooks/useSegmentsNoop.d.ts +3 -0
  89. package/dist/packages/features/data-table/hooks/useSegmentsNoop.d.ts.map +1 -0
  90. package/dist/packages/features/data-table/index.d.ts +1 -1
  91. package/dist/packages/features/data-table/index.d.ts.map +1 -1
  92. package/dist/packages/features/data-table/lib/dateRange.d.ts +7 -0
  93. package/dist/packages/features/data-table/lib/dateRange.d.ts.map +1 -1
  94. package/dist/packages/features/data-table/lib/dateRange.test.d.ts +2 -0
  95. package/dist/packages/features/data-table/lib/dateRange.test.d.ts.map +1 -0
  96. package/dist/packages/features/data-table/lib/types.d.ts +31 -6
  97. package/dist/packages/features/data-table/lib/types.d.ts.map +1 -1
  98. package/dist/packages/features/ee/round-robin/roundRobinManualReassignment.d.ts +1 -0
  99. package/dist/packages/features/ee/round-robin/roundRobinManualReassignment.d.ts.map +1 -1
  100. package/dist/packages/features/ee/workflows/api/scheduleEmailReminders.d.ts +3 -0
  101. package/dist/packages/features/ee/workflows/api/scheduleEmailReminders.d.ts.map +1 -1
  102. package/dist/packages/features/ee/workflows/components/WorkflowStepContainer.d.ts.map +1 -1
  103. package/dist/packages/features/ee/workflows/lib/actionHelperFunctions.d.ts +3 -1
  104. package/dist/packages/features/ee/workflows/lib/actionHelperFunctions.d.ts.map +1 -1
  105. package/dist/packages/features/ee/workflows/lib/reminders/emailReminderManager.d.ts +2 -3
  106. package/dist/packages/features/ee/workflows/lib/reminders/emailReminderManager.d.ts.map +1 -1
  107. package/dist/packages/features/ee/workflows/lib/reminders/providers/emailProvider.d.ts +11 -0
  108. package/dist/packages/features/ee/workflows/lib/reminders/providers/emailProvider.d.ts.map +1 -0
  109. package/dist/packages/features/ee/workflows/lib/reminders/providers/sendgridProvider.d.ts +1 -1
  110. package/dist/packages/features/ee/workflows/lib/reminders/providers/sendgridProvider.d.ts.map +1 -1
  111. package/dist/packages/features/ee/workflows/lib/reminders/templates/customTemplate.d.ts.map +1 -1
  112. package/dist/packages/features/ee/workflows/lib/reminders/templates/emailRatingTemplate.d.ts +4 -2
  113. package/dist/packages/features/ee/workflows/lib/reminders/templates/emailRatingTemplate.d.ts.map +1 -1
  114. package/dist/packages/features/ee/workflows/lib/reminders/templates/emailReminderTemplate.d.ts +3 -1
  115. package/dist/packages/features/ee/workflows/lib/reminders/templates/emailReminderTemplate.d.ts.map +1 -1
  116. package/dist/packages/features/eventtypes/components/EditWeightsForAllTeamMembers.d.ts.map +1 -1
  117. package/dist/packages/features/eventtypes/components/tabs/advanced/EventAdvancedTab.d.ts +1 -1
  118. package/dist/packages/features/eventtypes/components/tabs/advanced/EventAdvancedTab.d.ts.map +1 -1
  119. package/dist/packages/features/eventtypes/components/tabs/limits/EventLimitsTab.d.ts.map +1 -1
  120. package/dist/packages/features/eventtypes/components/tabs/recurring/RecurringEventController.d.ts.map +1 -1
  121. package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts +17 -0
  122. package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts.map +1 -1
  123. package/dist/packages/features/form-builder/FormBuilderField.d.ts.map +1 -1
  124. package/dist/packages/platform/atoms/availability/wrappers/AvailabilitySettingsPlatformWrapper.d.ts +2 -1
  125. package/dist/packages/platform/atoms/availability/wrappers/AvailabilitySettingsPlatformWrapper.d.ts.map +1 -1
  126. package/dist/packages/platform/atoms/calendar-settings/wrappers/CalendarSettingsPlatformWrapper.d.ts +2 -1
  127. package/dist/packages/platform/atoms/calendar-settings/wrappers/CalendarSettingsPlatformWrapper.d.ts.map +1 -1
  128. package/dist/packages/platform/atoms/connect/OAuthConnect.d.ts +1 -0
  129. package/dist/packages/platform/atoms/connect/OAuthConnect.d.ts.map +1 -1
  130. package/dist/packages/platform/atoms/connect/apple/AppleConnect.d.ts.map +1 -1
  131. package/dist/packages/platform/atoms/connect/google/GcalConnect.d.ts.map +1 -1
  132. package/dist/packages/platform/atoms/connect/outlook/OutlookConnect.d.ts.map +1 -1
  133. package/dist/packages/platform/atoms/connect/stripe/StripeConnect.d.ts.map +1 -1
  134. package/dist/packages/platform/atoms/destination-calendar/wrappers/DestinationCalendarSettingsPlatformWrapper.d.ts +2 -1
  135. package/dist/packages/platform/atoms/destination-calendar/wrappers/DestinationCalendarSettingsPlatformWrapper.d.ts.map +1 -1
  136. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts +12 -0
  137. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts.map +1 -1
  138. package/dist/packages/platform/atoms/event-types/hooks/useEventTypeForm.d.ts.map +1 -1
  139. package/dist/packages/platform/atoms/event-types/hooks/useTeamMembersWithSegment.d.ts +32 -0
  140. package/dist/packages/platform/atoms/event-types/hooks/useTeamMembersWithSegment.d.ts.map +1 -0
  141. package/dist/packages/platform/atoms/event-types/wrappers/CreateEventTypePlatformWrapper.d.ts +2 -1
  142. package/dist/packages/platform/atoms/event-types/wrappers/CreateEventTypePlatformWrapper.d.ts.map +1 -1
  143. package/dist/packages/platform/atoms/event-types/wrappers/EventPaymentsTabPlatformWrapper.d.ts.map +1 -1
  144. package/dist/packages/platform/atoms/event-types/wrappers/EventTypePlatformWrapper.d.ts +2 -1
  145. package/dist/packages/platform/atoms/event-types/wrappers/EventTypePlatformWrapper.d.ts.map +1 -1
  146. package/dist/packages/platform/atoms/hooks/bookings/useBookings.d.ts +1 -0
  147. package/dist/packages/platform/atoms/hooks/bookings/useBookings.d.ts.map +1 -1
  148. package/dist/packages/platform/atoms/hooks/bookings/useGetBookingForReschedule.d.ts +1 -0
  149. package/dist/packages/platform/atoms/hooks/bookings/useGetBookingForReschedule.d.ts.map +1 -1
  150. package/dist/packages/platform/atoms/hooks/connect/useConnect.d.ts +2 -2
  151. package/dist/packages/platform/atoms/hooks/connect/useConnect.d.ts.map +1 -1
  152. package/dist/packages/platform/atoms/hooks/event-types/public/useTeamEventType.d.ts.map +1 -1
  153. package/dist/packages/platform/atoms/hooks/organizations/bookings/useOrganizationBookings.d.ts +4 -0
  154. package/dist/packages/platform/atoms/hooks/organizations/bookings/useOrganizationBookings.d.ts.map +1 -0
  155. package/dist/packages/platform/atoms/hooks/organizations/bookings/useOrganizationUserBookings.d.ts +4 -0
  156. package/dist/packages/platform/atoms/hooks/organizations/bookings/useOrganizationUserBookings.d.ts.map +1 -0
  157. package/dist/packages/platform/atoms/hooks/stripe/useCheck.d.ts +3 -10
  158. package/dist/packages/platform/atoms/hooks/stripe/useCheck.d.ts.map +1 -1
  159. package/dist/packages/platform/atoms/hooks/stripe/useConnect.d.ts +2 -2
  160. package/dist/packages/platform/atoms/hooks/stripe/useConnect.d.ts.map +1 -1
  161. package/dist/packages/platform/atoms/hooks/usePublicEvent.d.ts +17 -0
  162. package/dist/packages/platform/atoms/hooks/usePublicEvent.d.ts.map +1 -1
  163. package/dist/packages/platform/atoms/index.d.ts +2 -0
  164. package/dist/packages/platform/atoms/index.d.ts.map +1 -1
  165. package/dist/packages/platform/atoms/selected-calendars/wrappers/SelectedCalendarsSettingsPlatformWrapper.d.ts +2 -1
  166. package/dist/packages/platform/atoms/selected-calendars/wrappers/SelectedCalendarsSettingsPlatformWrapper.d.ts.map +1 -1
  167. package/dist/packages/platform/atoms/src/components/ui/dialog.d.ts +2 -4
  168. package/dist/packages/platform/atoms/src/components/ui/dialog.d.ts.map +1 -1
  169. package/dist/packages/platform/libraries/index.d.ts +2 -0
  170. package/dist/packages/platform/libraries/index.d.ts.map +1 -1
  171. package/dist/packages/platform/types/bookings/2024-08-13/inputs/create-booking.input.d.ts +2 -0
  172. package/dist/packages/platform/types/bookings/2024-08-13/inputs/create-booking.input.d.ts.map +1 -1
  173. package/dist/packages/platform/types/bookings/2024-08-13/inputs/get-bookings.input.d.ts.map +1 -1
  174. package/dist/packages/platform/types/organizations/bookings/get-org-bookings.input.d.ts +5 -0
  175. package/dist/packages/platform/types/organizations/bookings/get-org-bookings.input.d.ts.map +1 -0
  176. package/dist/packages/platform/types/organizations/bookings/index.d.ts +2 -0
  177. package/dist/packages/platform/types/organizations/bookings/index.d.ts.map +1 -0
  178. package/dist/packages/platform/types/organizations/index.d.ts +1 -0
  179. package/dist/packages/platform/types/organizations/index.d.ts.map +1 -1
  180. package/dist/packages/platform/types/slots/slots-2024-09-04/inputs/get-slots-input.pipe.d.ts +6 -4
  181. package/dist/packages/platform/types/slots/slots-2024-09-04/inputs/get-slots-input.pipe.d.ts.map +1 -1
  182. package/dist/packages/platform/types/slots/slots-2024-09-04/inputs/get-slots.input.d.ts +15 -3
  183. package/dist/packages/platform/types/slots/slots-2024-09-04/inputs/get-slots.input.d.ts.map +1 -1
  184. package/dist/packages/platform/types/teams/outputs/index.d.ts +1 -0
  185. package/dist/packages/platform/types/teams/outputs/index.d.ts.map +1 -1
  186. package/dist/packages/platform/types/teams/outputs/team-members-attributes.output.d.ts +9 -0
  187. package/dist/packages/platform/types/teams/outputs/team-members-attributes.output.d.ts.map +1 -0
  188. package/dist/packages/prisma/zod/app_routingforms_formresponse.d.ts +3 -0
  189. package/dist/packages/prisma/zod/app_routingforms_formresponse.d.ts.map +1 -1
  190. package/dist/packages/prisma/zod/calendarcache.d.ts +3 -0
  191. package/dist/packages/prisma/zod/calendarcache.d.ts.map +1 -1
  192. package/dist/packages/prisma/zod/filtersegment.d.ts +3 -0
  193. package/dist/packages/prisma/zod/filtersegment.d.ts.map +1 -1
  194. package/dist/packages/prisma/zod/task.d.ts +3 -0
  195. package/dist/packages/prisma/zod/task.d.ts.map +1 -1
  196. package/dist/packages/prisma/zod/user.d.ts +3 -0
  197. package/dist/packages/prisma/zod/user.d.ts.map +1 -1
  198. package/dist/packages/prisma/zod/workflowreminder.d.ts +3 -0
  199. package/dist/packages/prisma/zod/workflowreminder.d.ts.map +1 -1
  200. package/dist/packages/prisma/zod-utils.d.ts +126 -3
  201. package/dist/packages/prisma/zod-utils.d.ts.map +1 -1
  202. package/dist/packages/prisma-client/index.d.ts +408 -5
  203. package/dist/packages/trpc/react/shared.d.ts +1 -1
  204. package/dist/packages/trpc/react/shared.d.ts.map +1 -1
  205. package/dist/packages/trpc/server/routers/viewer/slots/_router.d.ts.map +1 -1
  206. package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts +6 -0
  207. package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts.map +1 -1
  208. package/dist/{useIsAppEnabled-bcfIdtzp.js → useIsAppEnabled-KtuZ9LXV.js} +1 -1
  209. package/globals.min.css +2 -14
  210. package/package.json +2 -2
  211. package/dist/EventTypeAppCardInterface-Sy_wEWq8.js +0 -493
  212. package/dist/EventTypeAppCardInterface-jsVu8y8O.js +0 -24
  213. package/dist/framer-features-OfBOvlO4.js +0 -443
  214. package/dist/packages/features/data-table/lib/resizing.d.ts +0 -9
  215. package/dist/packages/features/data-table/lib/resizing.d.ts.map +0 -1
  216. package/dist/packages/features/data-table/lib/segments.d.ts +0 -27
  217. package/dist/packages/features/data-table/lib/segments.d.ts.map +0 -1
@@ -1,443 +0,0 @@
1
- import { ax as L, ay as V, az as D, aA as z, aB as j, aC as q, aD as _, aE as Q, aF as re, aG as ie, aH as oe, aI as ae } from "./index-E1a1GKmY.js";
2
- function b(t, e, n, s = { passive: !0 }) {
3
- return t.addEventListener(e, n, s), () => t.removeEventListener(e, n);
4
- }
5
- const ce = (t) => t.pointerType === "mouse" ? typeof t.button != "number" || t.button <= 0 : t.isPrimary !== !1;
6
- function Z(t, e = "page") {
7
- return {
8
- point: {
9
- x: t[e + "X"],
10
- y: t[e + "Y"]
11
- }
12
- };
13
- }
14
- const ue = (t) => (e) => ce(e) && t(e, Z(e));
15
- function T(t, e, n, s) {
16
- return b(t, e, ue(n), s);
17
- }
18
- function $(t) {
19
- let e = null;
20
- return () => {
21
- const n = () => {
22
- e = null;
23
- };
24
- return e === null ? (e = t, n) : !1;
25
- };
26
- }
27
- const J = $("dragHorizontal"), X = $("dragVertical");
28
- function le(t) {
29
- let e = !1;
30
- if (t === "y")
31
- e = X();
32
- else if (t === "x")
33
- e = J();
34
- else {
35
- const n = J(), s = X();
36
- n && s ? e = () => {
37
- n(), s();
38
- } : (n && n(), s && s());
39
- }
40
- return e;
41
- }
42
- function ee() {
43
- const t = le(!0);
44
- return t ? (t(), !1) : !0;
45
- }
46
- class w {
47
- constructor(e) {
48
- this.isMounted = !1, this.node = e;
49
- }
50
- update() {
51
- }
52
- }
53
- function Y(t, e) {
54
- const n = "pointer" + (e ? "enter" : "leave"), s = "onHover" + (e ? "Start" : "End"), o = (a, l) => {
55
- if (a.type === "touch" || ee())
56
- return;
57
- const c = t.getProps();
58
- t.animationState && c.whileHover && t.animationState.setActive("whileHover", e), c[s] && V.update(() => c[s](a, l));
59
- };
60
- return T(t.current, n, o, {
61
- passive: !t.getProps()[s]
62
- });
63
- }
64
- class he extends w {
65
- mount() {
66
- this.unmount = L(Y(this.node, !0), Y(this.node, !1));
67
- }
68
- unmount() {
69
- }
70
- }
71
- class de extends w {
72
- constructor() {
73
- super(...arguments), this.isActive = !1;
74
- }
75
- onFocus() {
76
- let e = !1;
77
- try {
78
- e = this.node.current.matches(":focus-visible");
79
- } catch {
80
- e = !0;
81
- }
82
- !e || !this.node.animationState || (this.node.animationState.setActive("whileFocus", !0), this.isActive = !0);
83
- }
84
- onBlur() {
85
- !this.isActive || !this.node.animationState || (this.node.animationState.setActive("whileFocus", !1), this.isActive = !1);
86
- }
87
- mount() {
88
- this.unmount = L(b(this.node.current, "focus", () => this.onFocus()), b(this.node.current, "blur", () => this.onBlur()));
89
- }
90
- unmount() {
91
- }
92
- }
93
- const te = (t, e) => e ? t === e ? !0 : te(t, e.parentElement) : !1;
94
- function H(t, e) {
95
- if (!e)
96
- return;
97
- const n = new PointerEvent("pointer" + t);
98
- e(n, Z(n));
99
- }
100
- class fe extends w {
101
- constructor() {
102
- super(...arguments), this.removeStartListeners = D, this.removeEndListeners = D, this.removeAccessibleListeners = D, this.startPointerPress = (e, n) => {
103
- if (this.removeEndListeners(), this.isPressing)
104
- return;
105
- const s = this.node.getProps(), a = T(window, "pointerup", (c, i) => {
106
- if (!this.checkPressEnd())
107
- return;
108
- const { onTap: r, onTapCancel: u } = this.node.getProps();
109
- V.update(() => {
110
- te(this.node.current, c.target) ? r && r(c, i) : u && u(c, i);
111
- });
112
- }, { passive: !(s.onTap || s.onPointerUp) }), l = T(window, "pointercancel", (c, i) => this.cancelPress(c, i), { passive: !(s.onTapCancel || s.onPointerCancel) });
113
- this.removeEndListeners = L(a, l), this.startPress(e, n);
114
- }, this.startAccessiblePress = () => {
115
- const e = (a) => {
116
- if (a.key !== "Enter" || this.isPressing)
117
- return;
118
- const l = (c) => {
119
- c.key !== "Enter" || !this.checkPressEnd() || H("up", (i, r) => {
120
- const { onTap: u } = this.node.getProps();
121
- u && V.update(() => u(i, r));
122
- });
123
- };
124
- this.removeEndListeners(), this.removeEndListeners = b(this.node.current, "keyup", l), H("down", (c, i) => {
125
- this.startPress(c, i);
126
- });
127
- }, n = b(this.node.current, "keydown", e), s = () => {
128
- this.isPressing && H("cancel", (a, l) => this.cancelPress(a, l));
129
- }, o = b(this.node.current, "blur", s);
130
- this.removeAccessibleListeners = L(n, o);
131
- };
132
- }
133
- startPress(e, n) {
134
- this.isPressing = !0;
135
- const { onTapStart: s, whileTap: o } = this.node.getProps();
136
- o && this.node.animationState && this.node.animationState.setActive("whileTap", !0), s && V.update(() => s(e, n));
137
- }
138
- checkPressEnd() {
139
- return this.removeEndListeners(), this.isPressing = !1, this.node.getProps().whileTap && this.node.animationState && this.node.animationState.setActive("whileTap", !1), !ee();
140
- }
141
- cancelPress(e, n) {
142
- if (!this.checkPressEnd())
143
- return;
144
- const { onTapCancel: s } = this.node.getProps();
145
- s && V.update(() => s(e, n));
146
- }
147
- mount() {
148
- const e = this.node.getProps(), n = T(this.node.current, "pointerdown", this.startPointerPress, { passive: !(e.onTapStart || e.onPointerStart) }), s = b(this.node.current, "focus", this.startAccessiblePress);
149
- this.removeStartListeners = L(n, s);
150
- }
151
- unmount() {
152
- this.removeStartListeners(), this.removeEndListeners(), this.removeAccessibleListeners();
153
- }
154
- }
155
- const B = /* @__PURE__ */ new WeakMap(), K = /* @__PURE__ */ new WeakMap(), pe = (t) => {
156
- const e = B.get(t.target);
157
- e && e(t);
158
- }, me = (t) => {
159
- t.forEach(pe);
160
- };
161
- function ve({ root: t, ...e }) {
162
- const n = t || document;
163
- K.has(n) || K.set(n, {});
164
- const s = K.get(n), o = JSON.stringify(e);
165
- return s[o] || (s[o] = new IntersectionObserver(me, { root: t, ...e })), s[o];
166
- }
167
- function Pe(t, e, n) {
168
- const s = ve(e);
169
- return B.set(t, n), s.observe(t), () => {
170
- B.delete(t), s.unobserve(t);
171
- };
172
- }
173
- const ge = {
174
- some: 0,
175
- all: 1
176
- };
177
- class Ae extends w {
178
- constructor() {
179
- super(...arguments), this.hasEnteredView = !1, this.isInView = !1;
180
- }
181
- startObserver() {
182
- this.unmount();
183
- const { viewport: e = {} } = this.node.getProps(), { root: n, margin: s, amount: o = "some", once: a } = e, l = {
184
- root: n ? n.current : void 0,
185
- rootMargin: s,
186
- threshold: typeof o == "number" ? o : ge[o]
187
- }, c = (i) => {
188
- const { isIntersecting: r } = i;
189
- if (this.isInView === r || (this.isInView = r, a && !r && this.hasEnteredView))
190
- return;
191
- r && (this.hasEnteredView = !0), this.node.animationState && this.node.animationState.setActive("whileInView", r);
192
- const { onViewportEnter: u, onViewportLeave: p } = this.node.getProps(), m = r ? u : p;
193
- m && m(i);
194
- };
195
- return Pe(this.node.current, l, c);
196
- }
197
- mount() {
198
- this.startObserver();
199
- }
200
- update() {
201
- if (typeof IntersectionObserver > "u")
202
- return;
203
- const { props: e, prevProps: n } = this.node;
204
- ["amount", "margin", "root"].some(ye(e, n)) && this.startObserver();
205
- }
206
- unmount() {
207
- }
208
- }
209
- function ye({ viewport: t = {} }, { viewport: e = {} } = {}) {
210
- return (n) => t[n] !== e[n];
211
- }
212
- const be = {
213
- inView: {
214
- Feature: Ae
215
- },
216
- tap: {
217
- Feature: fe
218
- },
219
- focus: {
220
- Feature: de
221
- },
222
- hover: {
223
- Feature: he
224
- }
225
- };
226
- function ne(t, e) {
227
- if (!Array.isArray(e))
228
- return !1;
229
- const n = e.length;
230
- if (n !== t.length)
231
- return !1;
232
- for (let s = 0; s < n; s++)
233
- if (e[s] !== t[s])
234
- return !1;
235
- return !0;
236
- }
237
- function G(t, e, n = {}) {
238
- const s = z(t, e, n.custom);
239
- let { transition: o = t.getDefaultTransition() || {} } = s || {};
240
- n.transitionOverride && (o = n.transitionOverride);
241
- const a = s ? () => Promise.all(j(t, s, n)) : () => Promise.resolve(), l = t.variantChildren && t.variantChildren.size ? (i = 0) => {
242
- const { delayChildren: r = 0, staggerChildren: u, staggerDirection: p } = o;
243
- return we(t, e, r + i, u, p, n);
244
- } : () => Promise.resolve(), { when: c } = o;
245
- if (c) {
246
- const [i, r] = c === "beforeChildren" ? [a, l] : [l, a];
247
- return i().then(() => r());
248
- } else
249
- return Promise.all([a(), l(n.delay)]);
250
- }
251
- function we(t, e, n = 0, s = 0, o = 1, a) {
252
- const l = [], c = (t.variantChildren.size - 1) * s, i = o === 1 ? (r = 0) => r * s : (r = 0) => c - r * s;
253
- return Array.from(t.variantChildren).sort(Se).forEach((r, u) => {
254
- r.notify("AnimationStart", e), l.push(G(r, e, {
255
- ...a,
256
- delay: n + i(u)
257
- }).then(() => r.notify("AnimationComplete", e)));
258
- }), Promise.all(l);
259
- }
260
- function Se(t, e) {
261
- return t.sortNodePosition(e);
262
- }
263
- function Ce(t, e, n = {}) {
264
- t.notify("AnimationStart", e);
265
- let s;
266
- if (Array.isArray(e)) {
267
- const o = e.map((a) => G(t, a, n));
268
- s = Promise.all(o);
269
- } else if (typeof e == "string")
270
- s = G(t, e, n);
271
- else {
272
- const o = typeof e == "function" ? z(t, e, n.custom) : e;
273
- s = Promise.all(j(t, o, n));
274
- }
275
- return s.then(() => t.notify("AnimationComplete", e));
276
- }
277
- const Ve = [...Q].reverse(), Le = Q.length;
278
- function ke(t) {
279
- return (e) => Promise.all(e.map(({ animation: n, options: s }) => Ce(t, n, s)));
280
- }
281
- function Te(t) {
282
- let e = ke(t);
283
- const n = xe();
284
- let s = !0;
285
- const o = (i, r) => {
286
- const u = z(t, r);
287
- if (u) {
288
- const { transition: p, transitionEnd: m, ...v } = u;
289
- i = { ...i, ...v, ...m };
290
- }
291
- return i;
292
- };
293
- function a(i) {
294
- e = i(t);
295
- }
296
- function l(i, r) {
297
- const u = t.getProps(), p = t.getVariantContext(!0) || {}, m = [], v = /* @__PURE__ */ new Set();
298
- let g = {}, M = 1 / 0;
299
- for (let A = 0; A < Le; A++) {
300
- const f = Ve[A], h = n[f], P = u[f] !== void 0 ? u[f] : p[f], O = re(P), x = f === r ? h.isActive : null;
301
- x === !1 && (M = A);
302
- let k = P === p[f] && P !== u[f] && O;
303
- if (k && s && t.manuallyAnimateOnMount && (k = !1), h.protectedKeys = { ...g }, // If it isn't active and hasn't *just* been set as inactive
304
- !h.isActive && x === null || // If we didn't and don't have any defined prop for this animation type
305
- !P && !h.prevProp || // Or if the prop doesn't define an animation
306
- q(P) || typeof P == "boolean")
307
- continue;
308
- const N = Oe(h.prevProp, P);
309
- let I = N || // If we're making this variant active, we want to always make it active
310
- f === r && h.isActive && !k && O || // If we removed a higher-priority variant (i is in reverse order)
311
- A > M && O;
312
- const U = Array.isArray(P) ? P : [P];
313
- let S = U.reduce(o, {});
314
- x === !1 && (S = {});
315
- const { prevResolvedValues: W = {} } = h, se = {
316
- ...W,
317
- ...S
318
- }, F = (d) => {
319
- I = !0, v.delete(d), h.needsAnimating[d] = !0;
320
- };
321
- for (const d in se) {
322
- const C = S[d], E = W[d];
323
- g.hasOwnProperty(d) || (C !== E ? _(C) && _(E) ? !ne(C, E) || N ? F(d) : h.protectedKeys[d] = !0 : C !== void 0 ? F(d) : v.add(d) : C !== void 0 && v.has(d) ? F(d) : h.protectedKeys[d] = !0);
324
- }
325
- h.prevProp = P, h.prevResolvedValues = S, h.isActive && (g = { ...g, ...S }), s && t.blockInitialAnimation && (I = !1), I && !k && m.push(...U.map((d) => ({
326
- animation: d,
327
- options: { type: f, ...i }
328
- })));
329
- }
330
- if (v.size) {
331
- const A = {};
332
- v.forEach((f) => {
333
- const h = t.getBaseTarget(f);
334
- h !== void 0 && (A[f] = h);
335
- }), m.push({ animation: A });
336
- }
337
- let R = !!m.length;
338
- return s && u.initial === !1 && !t.manuallyAnimateOnMount && (R = !1), s = !1, R ? e(m) : Promise.resolve();
339
- }
340
- function c(i, r, u) {
341
- var p;
342
- if (n[i].isActive === r)
343
- return Promise.resolve();
344
- (p = t.variantChildren) === null || p === void 0 || p.forEach((v) => {
345
- var g;
346
- return (g = v.animationState) === null || g === void 0 ? void 0 : g.setActive(i, r);
347
- }), n[i].isActive = r;
348
- const m = l(u, i);
349
- for (const v in n)
350
- n[v].protectedKeys = {};
351
- return m;
352
- }
353
- return {
354
- animateChanges: l,
355
- setActive: c,
356
- setAnimateFunction: a,
357
- getState: () => n
358
- };
359
- }
360
- function Oe(t, e) {
361
- return typeof e == "string" ? e !== t : Array.isArray(e) ? !ne(e, t) : !1;
362
- }
363
- function y(t = !1) {
364
- return {
365
- isActive: t,
366
- protectedKeys: {},
367
- needsAnimating: {},
368
- prevResolvedValues: {}
369
- };
370
- }
371
- function xe() {
372
- return {
373
- animate: y(!0),
374
- whileInView: y(),
375
- whileHover: y(),
376
- whileTap: y(),
377
- whileDrag: y(),
378
- whileFocus: y(),
379
- exit: y()
380
- };
381
- }
382
- class Ie extends w {
383
- /**
384
- * We dynamically generate the AnimationState manager as it contains a reference
385
- * to the underlying animation library. We only want to load that if we load this,
386
- * so people can optionally code split it out using the `m` component.
387
- */
388
- constructor(e) {
389
- super(e), e.animationState || (e.animationState = Te(e));
390
- }
391
- updateAnimationControlsSubscription() {
392
- const { animate: e } = this.node.getProps();
393
- this.unmount(), q(e) && (this.unmount = e.subscribe(this.node));
394
- }
395
- /**
396
- * Subscribe any provided AnimationControls to the component's VisualElement
397
- */
398
- mount() {
399
- this.updateAnimationControlsSubscription();
400
- }
401
- update() {
402
- const { animate: e } = this.node.getProps(), { animate: n } = this.node.prevProps || {};
403
- e !== n && this.updateAnimationControlsSubscription();
404
- }
405
- unmount() {
406
- }
407
- }
408
- let Fe = 0;
409
- class Ee extends w {
410
- constructor() {
411
- super(...arguments), this.id = Fe++;
412
- }
413
- update() {
414
- if (!this.node.presenceContext)
415
- return;
416
- const { isPresent: e, onExitComplete: n, custom: s } = this.node.presenceContext, { isPresent: o } = this.node.prevPresenceContext || {};
417
- if (!this.node.animationState || e === o)
418
- return;
419
- const a = this.node.animationState.setActive("exit", !e, { custom: s ?? this.node.getProps().custom });
420
- n && !e && a.then(() => n(this.id));
421
- }
422
- mount() {
423
- const { register: e } = this.node.presenceContext || {};
424
- e && (this.unmount = e(this.id));
425
- }
426
- unmount() {
427
- }
428
- }
429
- const De = {
430
- animation: {
431
- Feature: Ie
432
- },
433
- exit: {
434
- Feature: Ee
435
- }
436
- }, He = (t, e) => ie(t) ? new oe(e, { enableHardwareAcceleration: !1 }) : new ae(e, { enableHardwareAcceleration: !0 }), Be = {
437
- renderer: He,
438
- ...De,
439
- ...be
440
- };
441
- export {
442
- Be as default
443
- };
@@ -1,9 +0,0 @@
1
- import type { Table } from "@tanstack/react-table";
2
- type UsePersistentColumnResizingProps<TData> = {
3
- enabled: boolean;
4
- table: Table<TData>;
5
- tableContainerRef: React.RefObject<HTMLDivElement>;
6
- };
7
- export declare function usePersistentColumnResizing<TData>({ enabled, table, tableContainerRef, }: UsePersistentColumnResizingProps<TData>): void;
8
- export {};
9
- //# sourceMappingURL=resizing.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"resizing.d.ts","sourceRoot":"","sources":["../../../../../../../features/data-table/lib/resizing.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAU,KAAK,EAAqB,MAAM,uBAAuB,CAAC;AAO9E,KAAK,gCAAgC,CAAC,KAAK,IAAI;IAC7C,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC;IACpB,iBAAiB,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;CACpD,CAAC;AAsEF,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,EACjD,OAAO,EACP,KAAK,EACL,iBAAiB,GAClB,EAAE,gCAAgC,CAAC,KAAK,CAAC,QA0FzC"}
@@ -1,27 +0,0 @@
1
- import type { SortingState, VisibilityState, ColumnSizingState } from "@tanstack/react-table";
2
- import { type ActiveFilters } from "./types";
3
- type UseSegmentsProps = {
4
- tableIdentifier: string;
5
- activeFilters: ActiveFilters;
6
- sorting: SortingState;
7
- columnVisibility: VisibilityState;
8
- columnSizing: ColumnSizingState;
9
- pageSize: number;
10
- defaultPageSize: number;
11
- segmentId: number;
12
- setSegmentId: (segmentId: number | null) => void;
13
- setActiveFilters: (activeFilters: ActiveFilters) => void;
14
- setSorting: (sorting: SortingState) => void;
15
- setColumnVisibility: (columnVisibility: VisibilityState) => void;
16
- setColumnSizing: (columnSizing: ColumnSizingState) => void;
17
- setPageSize: (pageSize: number) => void;
18
- setPageIndex: (pageIndex: number) => void;
19
- };
20
- export declare function useSegments({ tableIdentifier, activeFilters, sorting, columnVisibility, columnSizing, pageSize, defaultPageSize, segmentId, setSegmentId, setActiveFilters, setSorting, setColumnVisibility, setColumnSizing, setPageSize, setPageIndex, }: UseSegmentsProps): {
21
- segments: import("./types").FilterSegmentOutput[];
22
- selectedSegment: import("./types").FilterSegmentOutput | undefined;
23
- canSaveSegment: boolean;
24
- setSegmentIdAndSaveToLocalStorage: (segmentId: number | null) => void;
25
- };
26
- export {};
27
- //# sourceMappingURL=segments.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"segments.d.ts","sourceRoot":"","sources":["../../../../../../../features/data-table/lib/segments.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAO9F,OAAO,EAAE,KAAK,aAAa,EAAmB,MAAM,SAAS,CAAC;AAE9D,KAAK,gBAAgB,GAAG;IACtB,eAAe,EAAE,MAAM,CAAC;IACxB,aAAa,EAAE,aAAa,CAAC;IAC7B,OAAO,EAAE,YAAY,CAAC;IACtB,gBAAgB,EAAE,eAAe,CAAC;IAClC,YAAY,EAAE,iBAAiB,CAAC;IAChC,QAAQ,EAAE,MAAM,CAAC;IACjB,eAAe,EAAE,MAAM,CAAC;IACxB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IACjD,gBAAgB,EAAE,CAAC,aAAa,EAAE,aAAa,KAAK,IAAI,CAAC;IACzD,UAAU,EAAE,CAAC,OAAO,EAAE,YAAY,KAAK,IAAI,CAAC;IAC5C,mBAAmB,EAAE,CAAC,gBAAgB,EAAE,eAAe,KAAK,IAAI,CAAC;IACjE,eAAe,EAAE,CAAC,YAAY,EAAE,iBAAiB,KAAK,IAAI,CAAC;IAC3D,WAAW,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,YAAY,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;CAC3C,CAAC;AAEF,wBAAgB,WAAW,CAAC,EAC1B,eAAe,EACf,aAAa,EACb,OAAO,EACP,gBAAgB,EAChB,YAAY,EACZ,QAAQ,EACR,eAAe,EACf,SAAS,EACT,YAAY,EACZ,gBAAgB,EAChB,UAAU,EACV,mBAAmB,EACnB,eAAe,EACf,WAAW,EACX,YAAY,GACb,EAAE,gBAAgB;;;;mDA2EH,MAAM,GAAG,IAAI;EAa5B"}