@cwellt_software/cwellt-reactjs-lib 1.4.15 → 1.5.1

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 (281) hide show
  1. package/dist/content/fonts/roboto-mono/LICENSE +93 -0
  2. package/dist/content/fonts/roboto-mono/RobotoMono.css +43 -0
  3. package/dist/content/fonts/roboto-mono/files/roboto-mono-latin-ext-wght-italic.woff2 +0 -0
  4. package/dist/content/fonts/roboto-mono/files/roboto-mono-latin-ext-wght-normal.woff2 +0 -0
  5. package/dist/content/fonts/roboto-mono/files/roboto-mono-latin-wght-italic.woff2 +0 -0
  6. package/dist/content/fonts/roboto-mono/files/roboto-mono-latin-wght-normal.woff2 +0 -0
  7. package/dist/content/icons/new-cw-icons/NewCwIcons.json +1 -1
  8. package/dist/content/icons/new-cw-icons/css/new-cw-icons.css +260 -824
  9. package/dist/content/icons/new-cw-icons/fonts/NewCwIcons.woff +0 -0
  10. package/dist/deprecated/components/MultiSelect_deprecated_.d.ts +24 -0
  11. package/dist/deprecated/components/MultiSelect_deprecated_.d.ts.map +1 -0
  12. package/dist/deprecated/components/dropdown/CwDropdownContainer.d.ts +17 -0
  13. package/dist/deprecated/components/dropdown/CwDropdownContainer.d.ts.map +1 -0
  14. package/dist/deprecated/components/multiselect/CwHeadFilter.d.ts +17 -0
  15. package/dist/deprecated/components/multiselect/CwHeadFilter.d.ts.map +1 -0
  16. package/dist/deprecated/components/multiselect/CwMultiselect.d.ts +13 -0
  17. package/dist/deprecated/components/multiselect/CwMultiselect.d.ts.map +1 -0
  18. package/dist/deprecated/components/multiselect/CwOptionList.d.ts +14 -0
  19. package/dist/deprecated/components/multiselect/CwOptionList.d.ts.map +1 -0
  20. package/dist/deprecated/components/tag/CwTag.d.ts +15 -0
  21. package/dist/deprecated/components/tag/CwTag.d.ts.map +1 -0
  22. package/dist/index.cjs.js +514 -213
  23. package/dist/index.css +2 -2
  24. package/dist/index.d.ts +226 -51
  25. package/dist/index.es.js +508 -212
  26. package/dist/playground/main.d.ts +4 -0
  27. package/dist/playground/main.d.ts.map +1 -0
  28. package/dist/src/components/control/action/button/CwPopoverButton.d.ts +33 -0
  29. package/dist/src/components/control/action/button/CwPopoverButton.d.ts.map +1 -0
  30. package/dist/src/components/control/action/contextual-menu/CwContextualMenu.d.ts +29 -0
  31. package/dist/src/components/control/action/contextual-menu/CwContextualMenu.d.ts.map +1 -0
  32. package/dist/src/components/control/action/search/CwAsyncSearch.d.ts +102 -0
  33. package/dist/src/components/control/action/search/CwAsyncSearch.d.ts.map +1 -0
  34. package/dist/src/components/control/action/search/CwSearch.d.ts +2 -0
  35. package/dist/src/components/control/action/search/CwSearch.d.ts.map +1 -1
  36. package/dist/src/components/control/action/search/searchKeyboardNavigation.d.ts +35 -0
  37. package/dist/src/components/control/action/search/searchKeyboardNavigation.d.ts.map +1 -0
  38. package/dist/src/components/control/action/tooltip-dialog/CwTooltipDialog.d.ts +19 -0
  39. package/dist/src/components/control/action/tooltip-dialog/CwTooltipDialog.d.ts.map +1 -0
  40. package/dist/src/components/control/choice/deprecated/CwDropdown.d.ts +19 -0
  41. package/dist/src/components/control/choice/deprecated/CwDropdown.d.ts.map +1 -0
  42. package/dist/src/components/control/choice/deprecated/CwDropdownNavigation.d.ts +21 -0
  43. package/dist/src/components/control/choice/deprecated/CwDropdownNavigation.d.ts.map +1 -0
  44. package/dist/src/components/control/choice/deprecated/MultiSelect_deprecated_.d.ts +24 -0
  45. package/dist/src/components/control/choice/deprecated/MultiSelect_deprecated_.d.ts.map +1 -0
  46. package/dist/src/components/control/choice/dropdown/CwDropdown.d.ts +19 -0
  47. package/dist/src/components/control/choice/dropdown/CwDropdown.d.ts.map +1 -0
  48. package/dist/src/components/control/choice/dropdown/CwDropdownContainer.d.ts +17 -0
  49. package/dist/src/components/control/choice/dropdown/CwDropdownContainer.d.ts.map +1 -0
  50. package/dist/src/components/control/choice/dropdown/CwDropdownNavigation.d.ts +21 -0
  51. package/dist/src/components/control/choice/dropdown/CwDropdownNavigation.d.ts.map +1 -0
  52. package/dist/src/components/control/choice/multiselect/CwHeadFilter.d.ts +17 -0
  53. package/dist/src/components/control/choice/multiselect/CwHeadFilter.d.ts.map +1 -0
  54. package/dist/src/components/control/choice/multiselect/CwMultiselect.d.ts +13 -0
  55. package/dist/src/components/control/choice/multiselect/CwMultiselect.d.ts.map +1 -0
  56. package/dist/src/components/control/choice/multiselect/CwOptionList.d.ts +14 -0
  57. package/dist/src/components/control/choice/multiselect/CwOptionList.d.ts.map +1 -0
  58. package/dist/src/components/control/choice/nav-menu/CwNavMenu.d.ts +78 -0
  59. package/dist/src/components/control/choice/nav-menu/CwNavMenu.d.ts.map +1 -0
  60. package/dist/src/components/control/choice/nav-menu/filterNavItems.d.ts +9 -0
  61. package/dist/src/components/control/choice/nav-menu/filterNavItems.d.ts.map +1 -0
  62. package/dist/src/components/control/choice/nav-menu/sortNavItems.d.ts +9 -0
  63. package/dist/src/components/control/choice/nav-menu/sortNavItems.d.ts.map +1 -0
  64. package/dist/src/components/control/input/file/CwFileUploadMultiple.d.ts +12 -0
  65. package/dist/src/components/control/input/file/CwFileUploadMultiple.d.ts.map +1 -1
  66. package/dist/src/components/control/input/image/CwInputImage.d.ts +17 -2
  67. package/dist/src/components/control/input/image/CwInputImage.d.ts.map +1 -1
  68. package/dist/src/components/control/input/new-dates/CwDateTimePicker2.d.ts +47 -0
  69. package/dist/src/components/control/input/new-dates/CwDateTimePicker2.d.ts.map +1 -0
  70. package/dist/src/components/custom/scheduler-temporal/CwSchedulerComp2.d.ts +24 -0
  71. package/dist/src/components/custom/scheduler-temporal/CwSchedulerComp2.d.ts.map +1 -0
  72. package/dist/src/components/custom/scheduler-temporal/CwSuperSchedulerComp.d.ts +86 -0
  73. package/dist/src/components/custom/scheduler-temporal/CwSuperSchedulerComp.d.ts.map +1 -0
  74. package/dist/src/components/custom/scheduler-temporal/components/EventRender.d.ts +10 -0
  75. package/dist/src/components/custom/scheduler-temporal/components/EventRender.d.ts.map +1 -0
  76. package/dist/src/components/custom/scheduler-temporal/components/ResourceListRender.d.ts +20 -0
  77. package/dist/src/components/custom/scheduler-temporal/components/ResourceListRender.d.ts.map +1 -0
  78. package/dist/src/components/custom/scheduler-temporal/components/ResourceRender.d.ts +14 -0
  79. package/dist/src/components/custom/scheduler-temporal/components/ResourceRender.d.ts.map +1 -0
  80. package/dist/src/components/custom/scheduler-temporal/components/day_headers/DayHeader.d.ts +11 -0
  81. package/dist/src/components/custom/scheduler-temporal/components/day_headers/DayHeader.d.ts.map +1 -0
  82. package/dist/src/components/custom/scheduler-temporal/components/day_headers/MonthHeader.d.ts +11 -0
  83. package/dist/src/components/custom/scheduler-temporal/components/day_headers/MonthHeader.d.ts.map +1 -0
  84. package/dist/src/components/custom/scheduler-temporal/components/day_headers/MyDaysHeader.d.ts +13 -0
  85. package/dist/src/components/custom/scheduler-temporal/components/day_headers/MyDaysHeader.d.ts.map +1 -0
  86. package/dist/src/components/custom/scheduler-temporal/components/day_headers/WeekHeader.d.ts +11 -0
  87. package/dist/src/components/custom/scheduler-temporal/components/day_headers/WeekHeader.d.ts.map +1 -0
  88. package/dist/src/components/custom/scheduler-temporal/components/resources_title_list/ResourcesTitleList.d.ts +14 -0
  89. package/dist/src/components/custom/scheduler-temporal/components/resources_title_list/ResourcesTitleList.d.ts.map +1 -0
  90. package/dist/src/components/custom/scheduler-temporal/components/scheduler_content_area/SchedulerContentArea.d.ts +23 -0
  91. package/dist/src/components/custom/scheduler-temporal/components/scheduler_content_area/SchedulerContentArea.d.ts.map +1 -0
  92. package/dist/src/components/custom/scheduler-temporal/components/scheduler_header/SchedulerHeader.d.ts +8 -0
  93. package/dist/src/components/custom/scheduler-temporal/components/scheduler_header/SchedulerHeader.d.ts.map +1 -0
  94. package/dist/src/components/custom/scheduler-temporal/components/scheduler_timeline/SchedulerTimeLine.d.ts +12 -0
  95. package/dist/src/components/custom/scheduler-temporal/components/scheduler_timeline/SchedulerTimeLine.d.ts.map +1 -0
  96. package/dist/src/components/custom/scheduler-temporal/components/time_headers/TimeHeader.d.ts +12 -0
  97. package/dist/src/components/custom/scheduler-temporal/components/time_headers/TimeHeader.d.ts.map +1 -0
  98. package/dist/src/components/custom/scheduler-temporal/components/time_headers/TimeHeaderRow.d.ts +10 -0
  99. package/dist/src/components/custom/scheduler-temporal/components/time_headers/TimeHeaderRow.d.ts.map +1 -0
  100. package/dist/src/components/custom/scheduler-temporal/components/time_line/TimeLine.d.ts +12 -0
  101. package/dist/src/components/custom/scheduler-temporal/components/time_line/TimeLine.d.ts.map +1 -0
  102. package/dist/src/components/custom/scheduler-temporal/logic/dates/addMinutesToDateFromPx.d.ts +2 -0
  103. package/dist/src/components/custom/scheduler-temporal/logic/dates/addMinutesToDateFromPx.d.ts.map +1 -0
  104. package/dist/src/components/custom/scheduler-temporal/logic/dates/daysBetweenTwoDates.d.ts +2 -0
  105. package/dist/src/components/custom/scheduler-temporal/logic/dates/daysBetweenTwoDates.d.ts.map +1 -0
  106. package/dist/src/components/custom/scheduler-temporal/logic/dates/daysBetweenTwoDatesWithoutCeil.d.ts +2 -0
  107. package/dist/src/components/custom/scheduler-temporal/logic/dates/daysBetweenTwoDatesWithoutCeil.d.ts.map +1 -0
  108. package/dist/src/components/custom/scheduler-temporal/logic/dates/getFormatedTimeForHeader.d.ts +7 -0
  109. package/dist/src/components/custom/scheduler-temporal/logic/dates/getFormatedTimeForHeader.d.ts.map +1 -0
  110. package/dist/src/components/custom/scheduler-temporal/logic/dates/getMonthHeaderData.d.ts +10 -0
  111. package/dist/src/components/custom/scheduler-temporal/logic/dates/getMonthHeaderData.d.ts.map +1 -0
  112. package/dist/src/components/custom/scheduler-temporal/logic/dates/getUtcToday.d.ts +2 -0
  113. package/dist/src/components/custom/scheduler-temporal/logic/dates/getUtcToday.d.ts.map +1 -0
  114. package/dist/src/components/custom/scheduler-temporal/logic/dates/getWeekHeaderDataFromWeekRange.d.ts +7 -0
  115. package/dist/src/components/custom/scheduler-temporal/logic/dates/getWeekHeaderDataFromWeekRange.d.ts.map +1 -0
  116. package/dist/src/components/custom/scheduler-temporal/logic/dates/listOfDatesToWeeks.d.ts +8 -0
  117. package/dist/src/components/custom/scheduler-temporal/logic/dates/listOfDatesToWeeks.d.ts.map +1 -0
  118. package/dist/src/components/custom/scheduler-temporal/logic/divisions/calculateDivisionType.d.ts +2 -0
  119. package/dist/src/components/custom/scheduler-temporal/logic/divisions/calculateDivisionType.d.ts.map +1 -0
  120. package/dist/src/components/custom/scheduler-temporal/logic/divisions/calculateDivisions.d.ts +2 -0
  121. package/dist/src/components/custom/scheduler-temporal/logic/divisions/calculateDivisions.d.ts.map +1 -0
  122. package/dist/src/components/custom/scheduler-temporal/logic/filtering/filterAndProcessResources.d.ts +4 -0
  123. package/dist/src/components/custom/scheduler-temporal/logic/filtering/filterAndProcessResources.d.ts.map +1 -0
  124. package/dist/src/components/custom/scheduler-temporal/logic/filtering/filterEvents.d.ts +3 -0
  125. package/dist/src/components/custom/scheduler-temporal/logic/filtering/filterEvents.d.ts.map +1 -0
  126. package/dist/src/components/custom/scheduler-temporal/logic/filtering/filterResources.d.ts +3 -0
  127. package/dist/src/components/custom/scheduler-temporal/logic/filtering/filterResources.d.ts.map +1 -0
  128. package/dist/src/components/custom/scheduler-temporal/logic/filtering/hasSameProperties.d.ts +3 -0
  129. package/dist/src/components/custom/scheduler-temporal/logic/filtering/hasSameProperties.d.ts.map +1 -0
  130. package/dist/src/components/custom/scheduler-temporal/logic/onDrop/OnDrop.d.ts +13 -0
  131. package/dist/src/components/custom/scheduler-temporal/logic/onDrop/OnDrop.d.ts.map +1 -0
  132. package/dist/src/components/custom/scheduler-temporal/logic/pixels/getHeightLineScheduler.d.ts +2 -0
  133. package/dist/src/components/custom/scheduler-temporal/logic/pixels/getHeightLineScheduler.d.ts.map +1 -0
  134. package/dist/src/components/custom/scheduler-temporal/logic/pixels/getPixelsForEvent.d.ts +7 -0
  135. package/dist/src/components/custom/scheduler-temporal/logic/pixels/getPixelsForEvent.d.ts.map +1 -0
  136. package/dist/src/components/custom/scheduler-temporal/logic/pixels/heightScheduler.d.ts +3 -0
  137. package/dist/src/components/custom/scheduler-temporal/logic/pixels/heightScheduler.d.ts.map +1 -0
  138. package/dist/src/components/custom/scheduler-temporal/logic/pixels/heightSchedulerPinned.d.ts +2 -0
  139. package/dist/src/components/custom/scheduler-temporal/logic/pixels/heightSchedulerPinned.d.ts.map +1 -0
  140. package/dist/src/components/custom/scheduler-temporal/logic/state_handle/doubleClickOnResource.d.ts +4 -0
  141. package/dist/src/components/custom/scheduler-temporal/logic/state_handle/doubleClickOnResource.d.ts.map +1 -0
  142. package/dist/src/components/custom/scheduler-temporal/logic/state_handle/handlePropChanges.d.ts +6 -0
  143. package/dist/src/components/custom/scheduler-temporal/logic/state_handle/handlePropChanges.d.ts.map +1 -0
  144. package/dist/src/components/custom/scheduler-temporal/logic/state_handle/handleResourceChange.d.ts +5 -0
  145. package/dist/src/components/custom/scheduler-temporal/logic/state_handle/handleResourceChange.d.ts.map +1 -0
  146. package/dist/src/components/custom/scheduler-temporal/logic/state_handle/onDragOver.d.ts +2 -0
  147. package/dist/src/components/custom/scheduler-temporal/logic/state_handle/onDragOver.d.ts.map +1 -0
  148. package/dist/src/components/custom/scheduler-temporal/logic/state_handle/onDropEventToResource.d.ts +5 -0
  149. package/dist/src/components/custom/scheduler-temporal/logic/state_handle/onDropEventToResource.d.ts.map +1 -0
  150. package/dist/src/components/custom/scheduler-temporal/logic/state_handle/onResizeEvent.d.ts +4 -0
  151. package/dist/src/components/custom/scheduler-temporal/logic/state_handle/onResizeEvent.d.ts.map +1 -0
  152. package/dist/src/components/custom/scheduler-temporal/logic/strings/compareStrings.d.ts +2 -0
  153. package/dist/src/components/custom/scheduler-temporal/logic/strings/compareStrings.d.ts.map +1 -0
  154. package/dist/src/components/custom/scheduler-temporal/logic/strings/getGUID.d.ts +2 -0
  155. package/dist/src/components/custom/scheduler-temporal/logic/strings/getGUID.d.ts.map +1 -0
  156. package/dist/src/components/custom/scheduler-temporal/logic/ui/checkIfSlotAvailable.d.ts +3 -0
  157. package/dist/src/components/custom/scheduler-temporal/logic/ui/checkIfSlotAvailable.d.ts.map +1 -0
  158. package/dist/src/components/custom/scheduler-temporal/logic/ui/getEventsOfResource.d.ts +6 -0
  159. package/dist/src/components/custom/scheduler-temporal/logic/ui/getEventsOfResource.d.ts.map +1 -0
  160. package/dist/src/components/custom/scheduler-temporal/logic/ui/getHasPropsChanged.d.ts +4 -0
  161. package/dist/src/components/custom/scheduler-temporal/logic/ui/getHasPropsChanged.d.ts.map +1 -0
  162. package/dist/src/components/custom/scheduler-temporal/logic/ui/getTimeHeaders.d.ts +2 -0
  163. package/dist/src/components/custom/scheduler-temporal/logic/ui/getTimeHeaders.d.ts.map +1 -0
  164. package/dist/src/components/custom/scheduler-temporal/logic/ui/isAllowedToMove.d.ts +3 -0
  165. package/dist/src/components/custom/scheduler-temporal/logic/ui/isAllowedToMove.d.ts.map +1 -0
  166. package/dist/src/components/custom/scheduler-temporal/logic/ui/shouldTriggerScroll.d.ts +4 -0
  167. package/dist/src/components/custom/scheduler-temporal/logic/ui/shouldTriggerScroll.d.ts.map +1 -0
  168. package/dist/src/components/custom/scheduler-temporal/logic/ui/updateResourceVisibility.d.ts +3 -0
  169. package/dist/src/components/custom/scheduler-temporal/logic/ui/updateResourceVisibility.d.ts.map +1 -0
  170. package/dist/src/components/custom/scheduler-temporal/state/CblDragAndDrop.d.ts +11 -0
  171. package/dist/src/components/custom/scheduler-temporal/state/CblDragAndDrop.d.ts.map +1 -0
  172. package/dist/src/components/custom/scheduler-temporal/state/CwSchedulerProps.d.ts +43 -0
  173. package/dist/src/components/custom/scheduler-temporal/state/CwSchedulerProps.d.ts.map +1 -0
  174. package/dist/src/components/custom/scheduler-temporal/state/Resource.d.ts +14 -0
  175. package/dist/src/components/custom/scheduler-temporal/state/Resource.d.ts.map +1 -0
  176. package/dist/src/components/custom/scheduler-temporal/state/State.d.ts +25 -0
  177. package/dist/src/components/custom/scheduler-temporal/state/State.d.ts.map +1 -0
  178. package/dist/src/components/custom/scheduler-temporal/state/cblEvent.d.ts +18 -0
  179. package/dist/src/components/custom/scheduler-temporal/state/cblEvent.d.ts.map +1 -0
  180. package/dist/src/components/custom/scheduler-temporal/state/cblEventCompProps.d.ts +7 -0
  181. package/dist/src/components/custom/scheduler-temporal/state/cblEventCompProps.d.ts.map +1 -0
  182. package/dist/src/components/custom/scheduler-temporal/state/resourceCompProps2.d.ts +6 -0
  183. package/dist/src/components/custom/scheduler-temporal/state/resourceCompProps2.d.ts.map +1 -0
  184. package/dist/src/components/display/data/table/CwTable.d.ts +4 -1
  185. package/dist/src/components/display/data/table/CwTable.d.ts.map +1 -1
  186. package/dist/src/components/display/data/table-serverside/CwTableServerSide.d.ts +4 -1
  187. package/dist/src/components/display/data/table-serverside/CwTableServerSide.d.ts.map +1 -1
  188. package/dist/src/components/display/data/table_sortable/CwSortableTable.d.ts +4 -2
  189. package/dist/src/components/display/data/table_sortable/CwSortableTable.d.ts.map +1 -1
  190. package/dist/src/components/display/graphics/icon/CwIcon.d.ts +1 -1
  191. package/dist/src/components/display/graphics/icon/CwIcon.d.ts.map +1 -1
  192. package/dist/src/components/display/graphics/loading/CwLoading.d.ts +3 -14
  193. package/dist/src/components/display/graphics/loading/CwLoading.d.ts.map +1 -1
  194. package/dist/src/components/display/graphics/loading/loadingConfig.d.ts +16 -0
  195. package/dist/src/components/display/graphics/loading/loadingConfig.d.ts.map +1 -0
  196. package/dist/src/components/display/graphics/progress/CwProgress.d.ts +36 -0
  197. package/dist/src/components/display/graphics/progress/CwProgress.d.ts.map +1 -0
  198. package/dist/src/components/display/graphics/skeleton/CwSkeleton.d.ts +31 -0
  199. package/dist/src/components/display/graphics/skeleton/CwSkeleton.d.ts.map +1 -0
  200. package/dist/src/components/display/graphics/skeleton/CwSkeletonCard.d.ts +21 -0
  201. package/dist/src/components/display/graphics/skeleton/CwSkeletonCard.d.ts.map +1 -0
  202. package/dist/src/components/display/graphics/skeleton/normalizeSkeletonCount.d.ts +8 -0
  203. package/dist/src/components/display/graphics/skeleton/normalizeSkeletonCount.d.ts.map +1 -0
  204. package/dist/src/components/display/graphics/skeleton/skeletonCellWidth.d.ts +8 -0
  205. package/dist/src/components/display/graphics/skeleton/skeletonCellWidth.d.ts.map +1 -0
  206. package/dist/src/components/display/text/tag/CwTag.d.ts +15 -0
  207. package/dist/src/components/display/text/tag/CwTag.d.ts.map +1 -0
  208. package/dist/src/components/display/text/tooltip/CwTooltip.d.ts +11 -0
  209. package/dist/src/components/display/text/tooltip/CwTooltip.d.ts.map +1 -0
  210. package/dist/src/components/layout/card/CwCard.d.ts +3 -1
  211. package/dist/src/components/layout/card/CwCard.d.ts.map +1 -1
  212. package/dist/src/components/layout/card/CwCardList.d.ts +4 -2
  213. package/dist/src/components/layout/card/CwCardList.d.ts.map +1 -1
  214. package/dist/src/components/layout/list/key-value/CwKeyValueList.d.ts +4 -0
  215. package/dist/src/components/layout/list/key-value/CwKeyValueList.d.ts.map +1 -1
  216. package/dist/src/components/layout/master-detail/CwMasterDetail.d.ts +4 -0
  217. package/dist/src/components/layout/master-detail/CwMasterDetail.d.ts.map +1 -1
  218. package/dist/src/components/layout/modal/legacy/cw_modal_confirm.d.ts +16 -0
  219. package/dist/src/components/layout/modal/legacy/cw_modal_confirm.d.ts.map +1 -0
  220. package/dist/src/components/layout/modal/legacy/cw_modal_iframe.d.ts +21 -0
  221. package/dist/src/components/layout/modal/legacy/cw_modal_iframe.d.ts.map +1 -0
  222. package/dist/src/components/layout/tabs/CwTabs.d.ts +7 -0
  223. package/dist/src/components/layout/tabs/CwTabs.d.ts.map +1 -1
  224. package/dist/src/index.d.ts +6 -2
  225. package/dist/src/index.d.ts.map +1 -1
  226. package/dist/src/playground/PlaygroundApp.d.ts.map +1 -1
  227. package/dist/src/playground/pages/CwFileUploadMultiplePage.d.ts +3 -0
  228. package/dist/src/playground/pages/CwFileUploadMultiplePage.d.ts.map +1 -0
  229. package/dist/src/playground/pages/CwInputImagePage.d.ts.map +1 -1
  230. package/dist/src/playground/pages/CwNavMenuPage.d.ts +3 -0
  231. package/dist/src/playground/pages/CwNavMenuPage.d.ts.map +1 -0
  232. package/dist/src/playground/pages/IconLibraryPage.d.ts +3 -0
  233. package/dist/src/playground/pages/IconLibraryPage.d.ts.map +1 -0
  234. package/dist/src/playground/pages/LoadingPage.d.ts +3 -0
  235. package/dist/src/playground/pages/LoadingPage.d.ts.map +1 -0
  236. package/dist/src/playground/pages/ProgressPage.d.ts +3 -0
  237. package/dist/src/playground/pages/ProgressPage.d.ts.map +1 -0
  238. package/dist/src/playground/pages/SelectorsPage.d.ts.map +1 -1
  239. package/dist/src/playground/pages/SkeletonPage.d.ts +3 -0
  240. package/dist/src/playground/pages/SkeletonPage.d.ts.map +1 -0
  241. package/dist/test/components/control/action/search/searchKeyboardNavigation.test.d.ts +2 -0
  242. package/dist/test/components/control/action/search/searchKeyboardNavigation.test.d.ts.map +1 -0
  243. package/dist/test/components/control/choice/nav-menu/CwNavMenu.test.d.ts +2 -0
  244. package/dist/test/components/control/choice/nav-menu/CwNavMenu.test.d.ts.map +1 -0
  245. package/dist/test/components/control/choice/nav-menu/filterNavItems.test.d.ts +2 -0
  246. package/dist/test/components/control/choice/nav-menu/filterNavItems.test.d.ts.map +1 -0
  247. package/dist/test/components/control/choice/nav-menu/sortNavItems.test.d.ts +2 -0
  248. package/dist/test/components/control/choice/nav-menu/sortNavItems.test.d.ts.map +1 -0
  249. package/dist/test/components/control/input/file/fileMatchesAccept.test.d.ts +2 -0
  250. package/dist/test/components/control/input/file/fileMatchesAccept.test.d.ts.map +1 -0
  251. package/dist/test/components/control/input/image/readImageFileAsDataUrl.test.d.ts +2 -0
  252. package/dist/test/components/control/input/image/readImageFileAsDataUrl.test.d.ts.map +1 -0
  253. package/dist/test/components/display/data/table/CwTable.test.d.ts +2 -0
  254. package/dist/test/components/display/data/table/CwTable.test.d.ts.map +1 -0
  255. package/dist/test/components/display/data/table-serverside/CwTableServerSide.test.d.ts +2 -0
  256. package/dist/test/components/display/data/table-serverside/CwTableServerSide.test.d.ts.map +1 -0
  257. package/dist/test/components/display/data/table_sortable/CwSortableTable.test.d.ts +2 -0
  258. package/dist/test/components/display/data/table_sortable/CwSortableTable.test.d.ts.map +1 -0
  259. package/dist/test/components/display/graphics/loading/CwLoading.test.d.ts +2 -0
  260. package/dist/test/components/display/graphics/loading/CwLoading.test.d.ts.map +1 -0
  261. package/dist/test/components/display/graphics/progress/CwProgress.test.d.ts +2 -0
  262. package/dist/test/components/display/graphics/progress/CwProgress.test.d.ts.map +1 -0
  263. package/dist/test/components/display/graphics/skeleton/CwSkeleton.test.d.ts +2 -0
  264. package/dist/test/components/display/graphics/skeleton/CwSkeleton.test.d.ts.map +1 -0
  265. package/dist/test/components/display/graphics/skeleton/CwSkeletonCard.test.d.ts +2 -0
  266. package/dist/test/components/display/graphics/skeleton/CwSkeletonCard.test.d.ts.map +1 -0
  267. package/dist/test/components/display/graphics/skeleton/normalizeSkeletonCount.test.d.ts +2 -0
  268. package/dist/test/components/display/graphics/skeleton/normalizeSkeletonCount.test.d.ts.map +1 -0
  269. package/dist/test/components/display/graphics/skeleton/skeletonCellWidth.test.d.ts +2 -0
  270. package/dist/test/components/display/graphics/skeleton/skeletonCellWidth.test.d.ts.map +1 -0
  271. package/dist/test/components/layout/card/CwCard.test.d.ts +2 -0
  272. package/dist/test/components/layout/card/CwCard.test.d.ts.map +1 -0
  273. package/dist/test/components/layout/card/CwCardList.test.d.ts +2 -0
  274. package/dist/test/components/layout/card/CwCardList.test.d.ts.map +1 -0
  275. package/dist/test/components/layout/list/key-value/CwKeyValueList.test.d.ts +2 -0
  276. package/dist/test/components/layout/list/key-value/CwKeyValueList.test.d.ts.map +1 -0
  277. package/dist/test/components/layout/master-detail/CwMasterDetail.test.d.ts +2 -0
  278. package/dist/test/components/layout/master-detail/CwMasterDetail.test.d.ts.map +1 -0
  279. package/dist/test/jest.setup.d.ts +2 -0
  280. package/dist/test/jest.setup.d.ts.map +1 -0
  281. package/package.json +1 -2
@@ -7,6 +7,7 @@ export interface CwFileUploadMultipleLabels {
7
7
  allTypesAccepted: string;
8
8
  changeFile: string;
9
9
  clearAll: string;
10
+ upload: string;
10
11
  addMoreFiles: string;
11
12
  filesSelected: (count: number) => string;
12
13
  fileTooLarge: (name: string, maxSize: number) => string;
@@ -14,6 +15,13 @@ export interface CwFileUploadMultipleLabels {
14
15
  invalidMimeType: (name: string, types: string) => string;
15
16
  alreadySelected: (name: string) => string;
16
17
  }
18
+ /**
19
+ * Checks a file against an `accept` string (comma-separated tokens). A token can be a dotted
20
+ * extension (".pdf"), an exact MIME type ("application/pdf"), a wildcard MIME ("image" + slash + "star"),
21
+ * or a bare "star" / "star-slash-star" for anything. Returns true if the file matches ANY token
22
+ * (or if `accept` is empty).
23
+ */
24
+ export declare function fileMatchesAccept(fileName: string, fileType: string, accept: string): boolean;
17
25
  interface CwFileUploadMultipleProps {
18
26
  name?: string;
19
27
  accept?: string;
@@ -22,10 +30,14 @@ interface CwFileUploadMultipleProps {
22
30
  allowedTypes?: string[];
23
31
  onSelect?: (files: FileList | null) => void;
24
32
  onError?: (error: string) => void;
33
+ onConfirm?: (files: FileList) => void;
34
+ confirmLabel?: string;
35
+ confirmDisabled?: boolean;
25
36
  className?: string;
26
37
  disabled?: boolean;
27
38
  hideClearAll?: boolean;
28
39
  initialFileName?: string;
40
+ statusText?: string;
29
41
  labels?: Partial<CwFileUploadMultipleLabels>;
30
42
  }
31
43
  export declare function CwFileUploadMultiple(fileUploadProps: React.PropsWithChildren<CwFileUploadMultipleProps>): React.JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"CwFileUploadMultiple.d.ts","sourceRoot":"","sources":["../../../../../../src/components/control/input/file/CwFileUploadMultiple.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwC,MAAM,OAAO,CAAC;AAK7D,MAAM,WAAW,0BAA0B;IAE1C,cAAc,EAAE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AC,eAAe,EAAE,KAAK,CAAC,iBAAiB,CAAC,yBAAyB,CAAC,qBAwUvG"}
1
+ {"version":3,"file":"CwFileUploadMultiple.d.ts","sourceRoot":"","sources":["../../../../../../src/components/control/input/file/CwFileUploadMultiple.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwC,MAAM,OAAO,CAAC;AAM7D,MAAM,WAAW,0BAA0B;IAE1C,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,MAAM,CAAC;IAC1C,cAAc,EAAE,MAAM,CAAC;IACvB,gBAAgB,EAAE,MAAM,CAAC;IACzB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IAEzC,YAAY,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,KAAK,MAAM,CAAC;IACxD,aAAa,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,MAAM,CAAC;IAC1D,eAAe,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IACzD,eAAe,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC;CAC1C;AAmBD;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAsB7F;AAED,UAAU,yBAAyB;IAClC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,QAAQ,GAAG,IAAI,KAAK,IAAI,CAAC;IAC5C,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,QAAQ,KAAK,IAAI,CAAC;IACtC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,OAAO,CAAC,0BAA0B,CAAC,CAAC;CAC7C;AAED,wBAAgB,oBAAoB,CAAC,eAAe,EAAE,KAAK,CAAC,iBAAiB,CAAC,yBAAyB,CAAC,qBA+UvG"}
@@ -1,7 +1,22 @@
1
1
  import { DetailedHTMLProps, InputHTMLAttributes } from "react";
2
- export interface CwInputImageProps extends Omit<DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "className" | "type" | "onChange"> {
2
+ export interface CwInputImageLabels {
3
+ dropImageHere: string;
4
+ paste: string;
5
+ browse: string;
6
+ acceptedFormats: (formats: string) => string;
7
+ clipboardError: string;
8
+ invalidType: (formats: string) => string;
9
+ readError: string;
10
+ }
11
+ /** Reads a file/blob into a base64 data URL (persistable, no blob URL to revoke). */
12
+ export declare function readImageFileAsDataUrl(file: Blob): Promise<string>;
13
+ export interface CwInputImageProps extends Omit<DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "className" | "type" | "onChange" | "onError" | "size"> {
3
14
  allowedImageFormats?: string[];
4
- onChange?: (image: string | null) => void;
15
+ onChange?: (dataUrl: string | null, file?: File) => void;
16
+ onError?: (error: string) => void;
17
+ labels?: Partial<CwInputImageLabels>;
18
+ /** Scales the dropzone and drives the size of the Paste/Browse buttons. Unset = default (medium) size. */
19
+ size?: "small" | "medium" | "large";
5
20
  }
6
21
  export declare function CwInputImage(props: CwInputImageProps): import("react").JSX.Element;
7
22
  //# sourceMappingURL=CwInputImage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CwInputImage.d.ts","sourceRoot":"","sources":["../../../../../../src/components/control/input/image/CwInputImage.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAe,iBAAiB,EAAa,mBAAmB,EAAoB,MAAM,OAAO,CAAC;AAIzG,MAAM,WAAW,iBAChB,SAAQ,IAAI,CACX,iBAAiB,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,gBAAgB,CAAC,EAC1E,WAAW,GAAG,MAAM,GAAG,UAAU,CACjC;IACD,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC/B,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;CAC1C;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,+BAwEpD"}
1
+ {"version":3,"file":"CwInputImage.d.ts","sourceRoot":"","sources":["../../../../../../src/components/control/input/image/CwInputImage.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAe,iBAAiB,EAAa,mBAAmB,EAAoB,MAAM,OAAO,CAAC;AAMzG,MAAM,WAAW,kBAAkB;IAClC,aAAa,EAAE,MAAM,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,MAAM,CAAC;IAC7C,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,MAAM,CAAC;IACzC,SAAS,EAAE,MAAM,CAAC;CAClB;AAqBD,qFAAqF;AACrF,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC,CAOlE;AAED,MAAM,WAAW,iBAChB,SAAQ,IAAI,CACX,iBAAiB,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,gBAAgB,CAAC,EAC1E,WAAW,GAAG,MAAM,GAAG,UAAU,GAAG,SAAS,GAAG,MAAM,CACtD;IACD,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC/B,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,EAAE,IAAI,CAAC,EAAE,IAAI,KAAK,IAAI,CAAC;IACzD,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,MAAM,CAAC,EAAE,OAAO,CAAC,kBAAkB,CAAC,CAAC;IACrC,0GAA0G;IAC1G,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;CACpC;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,+BAyFpD"}
@@ -0,0 +1,47 @@
1
+ import { CwLabelProps } from "../../../../components/display/text/label/CwLabel";
2
+ import { CwAlignProps } from "../../../../components/layout/align/CwAlign";
3
+ import { DateMatcher } from "./CwDatePicker";
4
+ export interface CwDateTimePickerProps {
5
+ /** Current selected datetime */
6
+ value?: Date | null;
7
+ /** Callback when datetime changes */
8
+ onChange: (datetime: Date | null) => void;
9
+ /** Minimum selectable datetime */
10
+ minDateTime?: Date;
11
+ /** Maximum selectable datetime */
12
+ maxDateTime?: Date;
13
+ /** Array of specific dates to disable */
14
+ disabledDates?: Date[];
15
+ /** Function to determine if a date should be disabled */
16
+ disabledMatcher?: DateMatcher;
17
+ /** Interval in minutes for time selection (default: 15) */
18
+ timeInterval?: 5 | 10 | 15 | 30 | 60;
19
+ /** Minimum selectable time in format "HH:mm" */
20
+ minTime?: string;
21
+ /** Maximum selectable time in format "HH:mm" */
22
+ maxTime?: string;
23
+ /** Props for label component (applies to the container) */
24
+ labelProps?: CwLabelProps;
25
+ /** Props for alignment (applies to the container) */
26
+ alignProps?: CwAlignProps;
27
+ /** Layout of date and time inputs: "row" (side by side) or "column" (stacked) */
28
+ inputsLayout?: "row" | "column";
29
+ /** Placeholder text for date input */
30
+ datePlaceholder?: string;
31
+ /** Placeholder text for time input */
32
+ timePlaceholder?: string;
33
+ /** Is the input disabled */
34
+ disabled?: boolean;
35
+ /** Is the input required */
36
+ required?: boolean;
37
+ /** Additional CSS class for container */
38
+ className?: string;
39
+ /** Show clear buttons on individual inputs */
40
+ showClear?: boolean;
41
+ /** Number of months to display in calendar (default: 1) */
42
+ numberOfMonths?: number;
43
+ /** Show "Now" button to select current date and time */
44
+ showNowButton?: boolean;
45
+ }
46
+ export declare function CwDateTimePicker({ value, onChange, minDateTime, maxDateTime, disabledDates, disabledMatcher, timeInterval, minTime, maxTime, labelProps, alignProps, inputsLayout, datePlaceholder, timePlaceholder, disabled, required, className, showClear, numberOfMonths, showNowButton, }: Readonly<CwDateTimePickerProps>): import("react/jsx-runtime").JSX.Element;
47
+ //# sourceMappingURL=CwDateTimePicker2.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CwDateTimePicker2.d.ts","sourceRoot":"","sources":["../../../../../../src/components/control/input/new-dates/CwDateTimePicker2.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAW,YAAY,EAAE,MAAM,mDAAmD,CAAC;AAC1F,OAAO,EAAW,YAAY,EAAE,MAAM,6CAA6C,CAAC;AACpF,OAAO,EAAgB,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAG3D,MAAM,WAAW,qBAAqB;IACrC,gCAAgC;IAChC,KAAK,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACpB,qCAAqC;IACrC,QAAQ,EAAE,CAAC,QAAQ,EAAE,IAAI,GAAG,IAAI,KAAK,IAAI,CAAC;IAG1C,kCAAkC;IAClC,WAAW,CAAC,EAAE,IAAI,CAAC;IACnB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AC,qBAAqB,CAAC,2CA+HjC"}
@@ -0,0 +1,24 @@
1
+ import { Component } from "react";
2
+ import type { cblEvent } from "./state/cblEvent";
3
+ import type { CwSchedulerProps } from "./state/CwSchedulerProps";
4
+ import type { Resource } from "./state/Resource";
5
+ import type { State } from "./state/State";
6
+ export declare class CwScheduler2 extends Component<CwSchedulerProps, State> {
7
+ contentArea?: HTMLTableDataCellElement;
8
+ constructor(Props: CwSchedulerProps);
9
+ private resizeObserver?;
10
+ calculateMaxPx: () => number;
11
+ init: (props: CwSchedulerProps) => void;
12
+ initOutside: (events: Array<cblEvent>, resources: Array<Resource>, _nextProps: CwSchedulerProps, startDate: Date, endDate: Date) => void;
13
+ componentDidMount(): void;
14
+ componentWillUnmount(): void;
15
+ recalculateEventPositions: (events: Array<cblEvent>, dayPx: number, startDate: Date) => Array<cblEvent>;
16
+ updateResourcesWithEvents: (resources: Array<Resource>, events: Array<cblEvent>) => Array<Resource>;
17
+ handleResize: () => void;
18
+ componentWillReceiveProps(_nextProps: CwSchedulerProps): void;
19
+ handleOnClickContextMenuResourceScheduler: (_clickEvent: any, _resource: Resource) => void;
20
+ handleOnClickResourceContextMenu: (_e: any, resource: Resource) => void;
21
+ handleCrewPinning: (resource: Resource, text: string) => void;
22
+ render(): import("react/jsx-runtime").JSX.Element;
23
+ }
24
+ //# sourceMappingURL=CwSchedulerComp2.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CwSchedulerComp2.d.ts","sourceRoot":"","sources":["../../../../../src/components/custom/scheduler-temporal/CwSchedulerComp2.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAgBlC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAE3C,qBAAa,YAAa,SAAQ,SAAS,CAAC,gBAAgB,EAAE,KAAK,CAAC;IACnE,WAAW,CAAC,EAAE,wBAAwB,CAAC;gBAE3B,KAAK,EAAE,gBAAgB;IAMnC,OAAO,CAAC,cAAc,CAAC,CAAiB;IAExC,cAAc,QAAO,MAAM,CAKzB;IAEF,IAAI,UAAW,gBAAgB,UA8B7B;IAEF,WAAW,WACF,KAAK,CAAC,QAAQ,CAAC,aACZ,KAAK,CAAC,QAAQ,CAAC,cACd,gBAAgB,aACjB,IAAI,WACN,IAAI,UAoDZ;IAEF,iBAAiB;IAuBjB,oBAAoB;IAOpB,yBAAyB,WAChB,KAAK,CAAC,QAAQ,CAAC,SAChB,MAAM,aACF,IAAI,KACb,KAAK,CAAC,QAAQ,CAAC,CAEhB;IAEF,yBAAyB,cACb,KAAK,CAAC,QAAQ,CAAC,UAClB,KAAK,CAAC,QAAQ,CAAC,KACrB,KAAK,CAAC,QAAQ,CAAC,CAKhB;IAEF,YAAY,aA0BV;IAEF,yBAAyB,CAAC,UAAU,EAAE,gBAAgB;IA4DtD,yCAAyC,gBAAiB,GAAG,aAAa,QAAQ,UAgBhF;IAEF,gCAAgC,OAAQ,GAAG,YAAY,QAAQ,UAI7D;IAEF,iBAAiB,aAAc,QAAQ,QAAQ,MAAM,UAInD;IAEF,MAAM;CAsFN"}
@@ -0,0 +1,86 @@
1
+ import * as React from "react";
2
+ import type { cblEvent } from "./state/cblEvent";
3
+ import type { Resource } from "./state/Resource";
4
+ export type cblEventCompProps = {
5
+ cblEvent: cblEvent;
6
+ handleOnClickEventContextMenu?: (key: string, cblEvent: cblEvent) => void;
7
+ };
8
+ export type resourceCompProps2 = {
9
+ resource: Resource;
10
+ handleOnClickResourceContextMenu?: (key: string, resource: Resource) => void;
11
+ };
12
+ export interface SuperSchedulerProps {
13
+ events: cblEvent[];
14
+ resourcesToPin: Resource[];
15
+ resources: Resource[];
16
+ height: number;
17
+ startDate: Date;
18
+ endDate: Date;
19
+ id: string;
20
+ scheduler_handleCblEventClick: (cblEvent: cblEvent, schedulerId: string) => void;
21
+ scheduler_handleCblEventClickRight?: (cblEvent: cblEvent, schedulerId: string) => void;
22
+ scheduler_handleCblEventDoubleClick: (cblEvent: cblEvent, schedulerId: string) => void;
23
+ scheduler_handleOnDropCblEventsOnResource: (cblDragNDrop: CblDragAndDrop, resource: Resource) => void;
24
+ parent: any;
25
+ cblEventComp: React.FC<cblEventCompProps>;
26
+ scheduler_handleOnClickEventContextMenu?: (e: any, cblEvent: cblEvent) => void;
27
+ resourceComp: React.FC<resourceCompProps2>;
28
+ scheduler_handleOnClickContextMenuResource?: (date: Date, resource: Resource, key: string) => void;
29
+ resourceContextMenuContents?: Array<{
30
+ key: string;
31
+ text: string;
32
+ icon: string;
33
+ color: string;
34
+ }>;
35
+ scheduler_handleDblClickOnResourceInScheduler?: (resource: Resource) => void;
36
+ scheduler_handleEmptyClick?: (schedulerId: string) => void;
37
+ canBePinned?: boolean;
38
+ pinnedResources?: Array<number>;
39
+ scheduler_handleCblEventResize?: (cblDragNDrop: CblDragAndDrop) => void;
40
+ scheduler_handleMultiselectChange?: (value: any, selectedObjectsArray: any) => void;
41
+ dataConfig?: string;
42
+ scheduler_handleClearPinnedOnParent: () => void;
43
+ scheduler_handlePinningOfResources: (resourceId: number[], text: string, schedulerId: string, requestString: string) => void;
44
+ resourceName?: string;
45
+ descriptionColumn?: string;
46
+ pinnedEvents?: cblEvent[];
47
+ scheduler_handleOnClickResourceContextMenu?: (e: any, resource: Resource) => void;
48
+ airportSelected?: number;
49
+ module?: string;
50
+ groupByFunction: boolean;
51
+ }
52
+ interface State {
53
+ topsCalculated: number;
54
+ height: number;
55
+ dataConfig?: string;
56
+ pinnedResources: number[];
57
+ }
58
+ export default class SuperScheduler extends React.Component<SuperSchedulerProps, State> {
59
+ constructor(Props: SuperSchedulerProps);
60
+ componentDidUpdate(_previousProps: SuperSchedulerProps, _previousState: State): void;
61
+ scheduler_handleCblEventClick: (cblEvent: cblEvent, schedulerId: string) => void;
62
+ scheduler_handleCblEventClickRight: (cblEvent: cblEvent, schedulerId: string) => void;
63
+ scheduler_handleCblEventDoubleClick: (cblEvent: cblEvent, schedulerId: string) => void;
64
+ scheduler_handlePinnedClickMultipleIds: (resIds: number[], schedulerId: string, requestString: string) => void;
65
+ scheduler_handlePinnedClick: (resId: number, text: string, schedulerId: string) => void;
66
+ returnDynamicHeight(pinned: number, topsCalculated: number): {
67
+ topsCalculated: number;
68
+ height: number;
69
+ };
70
+ checkIfSlotAvailable(array: Array<cblEvent>, event: cblEvent): boolean;
71
+ handleOnClickContextMenuResource: (date: Date, resource: Resource, key: string, schedulerId: string) => void;
72
+ dateUTCString(date: any): any;
73
+ render(): import("react/jsx-runtime").JSX.Element;
74
+ }
75
+ export declare class CblDragAndDrop {
76
+ fromId: string | null;
77
+ toId: string | null;
78
+ data: Array<any> | null;
79
+ droppedOnDate: Date | null;
80
+ resizeFromStart: boolean | null;
81
+ resizeFromEnd: boolean | null;
82
+ isCtrlKey: boolean | null;
83
+ constructor(fromId: string | null, toId: string | null, data: Array<any> | null, droppedOnDate?: Date | null, resizeFromStart?: boolean | null, resizeFromEnd?: boolean | null, isCtrlKey?: boolean | null);
84
+ }
85
+ export {};
86
+ //# sourceMappingURL=CwSuperSchedulerComp.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CwSuperSchedulerComp.d.ts","sourceRoot":"","sources":["../../../../../src/components/custom/scheduler-temporal/CwSuperSchedulerComp.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEjD,MAAM,MAAM,iBAAiB,GAAG;IAC/B,QAAQ,EAAE,QAAQ,CAAC;IACnB,6BAA6B,CAAC,EAAE,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GAAG,IAAI,EACvB,aAAa,GAAE,IAAI,GAAG,IAAW,EACjC,eAAe,GAAE,OAAO,GAAG,IAAW,EACtC,aAAa,GAAE,OAAO,GAAG,IAAW,EACpC,SAAS,GAAE,OAAO,GAAG,IAAW;CAUjC"}
@@ -0,0 +1,10 @@
1
+ import { type FC } from "react";
2
+ import { cblEvent } from "../state/cblEvent";
3
+ import type { CwSchedulerProps } from "../state/CwSchedulerProps";
4
+ type EventProps = {
5
+ event: cblEvent;
6
+ schedulerProps: CwSchedulerProps;
7
+ };
8
+ export declare const EventRender: FC<EventProps>;
9
+ export {};
10
+ //# sourceMappingURL=EventRender.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EventRender.d.ts","sourceRoot":"","sources":["../../../../../../src/components/custom/scheduler-temporal/components/EventRender.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAiB,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAEtD,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAUlE,KAAK,UAAU,GAAG;IACjB,KAAK,EAAE,QAAQ,CAAC;IAChB,cAAc,EAAE,gBAAgB,CAAC;CACjC,CAAC;AA+CF,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,UAAU,CAgKtC,CAAC"}
@@ -0,0 +1,20 @@
1
+ import { type FC } from "react";
2
+ import type { Resource } from "../state/Resource";
3
+ import type { CwSchedulerProps } from "../state/CwSchedulerProps";
4
+ import type { State } from "../state/State";
5
+ type ResourceListProps = {
6
+ resources: Array<Resource>;
7
+ schedulerProps: CwSchedulerProps;
8
+ contentArea?: HTMLTableDataCellElement;
9
+ state: State;
10
+ onClickContextMenu: (_clickEvent: any, _resource: Resource) => void;
11
+ crewAssignmentSchedulerContextMenu?: Array<{
12
+ key: string;
13
+ text: string;
14
+ icon: string;
15
+ color: string;
16
+ }>;
17
+ };
18
+ export declare const ResourceListRender: FC<ResourceListProps>;
19
+ export {};
20
+ //# sourceMappingURL=ResourceListRender.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ResourceListRender.d.ts","sourceRoot":"","sources":["../../../../../../src/components/custom/scheduler-temporal/components/ResourceListRender.tsx"],"names":[],"mappings":"AACA,OAAO,EAAY,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAElD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAClE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAE5C,KAAK,iBAAiB,GAAG;IACxB,SAAS,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC;IAC3B,cAAc,EAAE,gBAAgB,CAAC;IACjC,WAAW,CAAC,EAAE,wBAAwB,CAAE;IACxC,KAAK,EAAE,KAAK,CAAC;IACb,kBAAkB,EAAE,CAAC,WAAW,EAAE,GAAG,EAAE,SAAS,EAAE,QAAQ,KAAK,IAAI,CAAC;IACpE,kCAAkC,CAAC,EAAE,KAAK,CAAC;QAC1C,GAAG,EAAE,MAAM,CAAC;QACZ,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,EAAE,MAAM,CAAC;KACd,CAAC,CAAC;CACH,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,EAAE,CAAC,iBAAiB,CA+CpD,CAAC"}
@@ -0,0 +1,14 @@
1
+ import React from "react";
2
+ import type { Resource } from "../state/Resource";
3
+ import type { CwSchedulerProps } from "../state/CwSchedulerProps";
4
+ import type { State } from "../state/State";
5
+ type ResourceProps = {
6
+ res: Resource;
7
+ schedulerProps: CwSchedulerProps;
8
+ contentArea?: HTMLTableDataCellElement;
9
+ state: State;
10
+ isInViewport: boolean;
11
+ };
12
+ export declare const ResourceRender: React.FC<ResourceProps>;
13
+ export {};
14
+ //# sourceMappingURL=ResourceRender.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ResourceRender.d.ts","sourceRoot":"","sources":["../../../../../../src/components/custom/scheduler-temporal/components/ResourceRender.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAe,MAAM,OAAO,CAAC;AAEpC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAGlD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAClE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAE5C,KAAK,aAAa,GAAG;IACpB,GAAG,EAAE,QAAQ,CAAC;IACd,cAAc,EAAE,gBAAgB,CAAC;IACjC,WAAW,CAAC,EAAE,wBAAwB,CAAC;IACvC,KAAK,EAAE,KAAK,CAAC;IACb,YAAY,EAAE,OAAO,CAAC;CACtB,CAAC;AAMF,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CA6BlC,CAAC"}
@@ -0,0 +1,11 @@
1
+ import type { FC } from "react";
2
+ interface DayHeaderProps {
3
+ index: number;
4
+ text: string;
5
+ width: number;
6
+ headerType: string;
7
+ }
8
+ export declare const DayHeader: FC<DayHeaderProps>;
9
+ export declare const _preview: () => import("react/jsx-runtime").JSX.Element;
10
+ export {};
11
+ //# sourceMappingURL=DayHeader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DayHeader.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/custom/scheduler-temporal/components/day_headers/DayHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,UAAU,cAAc;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC,cAAc,CAexC,CAAC;AAEF,eAAO,MAAM,QAAQ,+CAWpB,CAAC"}
@@ -0,0 +1,11 @@
1
+ import type { FC } from "react";
2
+ interface WeekHeaderProps {
3
+ index: number;
4
+ text: string;
5
+ width: number;
6
+ headerType: string;
7
+ }
8
+ export declare const MonthHeader: FC<WeekHeaderProps>;
9
+ export declare const _preview: () => import("react/jsx-runtime").JSX.Element;
10
+ export {};
11
+ //# sourceMappingURL=MonthHeader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MonthHeader.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/custom/scheduler-temporal/components/day_headers/MonthHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,UAAU,eAAe;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,eAAe,CAc3C,CAAC;AAEF,eAAO,MAAM,QAAQ,+CAuBpB,CAAC"}
@@ -0,0 +1,13 @@
1
+ import type { FC } from "react";
2
+ interface DaysHeaderProps {
3
+ days: Date[];
4
+ divisionType: "d" | "w" | "m";
5
+ maxWidth: number;
6
+ headerType: string;
7
+ }
8
+ export declare const DaysHeader: FC<DaysHeaderProps>;
9
+ export declare const _DaysPreview: () => import("react/jsx-runtime").JSX.Element;
10
+ export declare const _WeeksPreview: () => import("react/jsx-runtime").JSX.Element;
11
+ export declare const _MonthsPreview: () => import("react/jsx-runtime").JSX.Element;
12
+ export {};
13
+ //# sourceMappingURL=MyDaysHeader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MyDaysHeader.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/custom/scheduler-temporal/components/day_headers/MyDaysHeader.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAShC,UAAU,eAAe;IACxB,IAAI,EAAE,IAAI,EAAE,CAAC;IACb,YAAY,EAAE,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;IAC9B,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CAqD1C,CAAC;AAEF,eAAO,MAAM,YAAY,+CAaxB,CAAC;AAEF,eAAO,MAAM,aAAa,+CAazB,CAAC;AAEF,eAAO,MAAM,cAAc,+CAa1B,CAAC"}
@@ -0,0 +1,11 @@
1
+ import type { FC } from "react";
2
+ interface WeekHeaderProps {
3
+ index: number;
4
+ text: string;
5
+ width: number;
6
+ headerType: string;
7
+ }
8
+ export declare const WeekHeader: FC<WeekHeaderProps>;
9
+ export declare const _preview: () => import("react/jsx-runtime").JSX.Element;
10
+ export {};
11
+ //# sourceMappingURL=WeekHeader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WeekHeader.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/custom/scheduler-temporal/components/day_headers/WeekHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,UAAU,eAAe;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CAiB1C,CAAC;AAEF,eAAO,MAAM,QAAQ,+CAWpB,CAAC"}
@@ -0,0 +1,14 @@
1
+ import type { FC } from "react";
2
+ import type { resourceCompProps2 } from "../../CwSuperSchedulerComp";
3
+ import type { Resource } from "../../state/Resource";
4
+ interface ResourcesTitleListProps {
5
+ resources: Resource[];
6
+ canBePinned: boolean;
7
+ includesPinned: boolean;
8
+ onCrewPinning: (resource: Resource, text: string) => void;
9
+ onClickResourceContextMenu: (event: any, resource: Resource) => void;
10
+ ResourceTitleComponent: FC<resourceCompProps2>;
11
+ }
12
+ export declare const ResourcesTitleList: FC<ResourcesTitleListProps>;
13
+ export {};
14
+ //# sourceMappingURL=ResourcesTitleList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ResourcesTitleList.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/custom/scheduler-temporal/components/resources_title_list/ResourcesTitleList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AACrD,UAAU,uBAAuB;IAChC,SAAS,EAAE,QAAQ,EAAE,CAAC;IACtB,WAAW,EAAE,OAAO,CAAC;IACrB,cAAc,EAAE,OAAO,CAAC;IACxB,aAAa,EAAE,CAAC,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1D,0BAA0B,EAAE,CAAC,KAAK,EAAE,GAAG,EAAE,QAAQ,EAAE,QAAQ,KAAK,IAAI,CAAC;IACrE,sBAAsB,EAAE,EAAE,CAAC,kBAAkB,CAAC,CAAC;CAC/C;AAED,eAAO,MAAM,kBAAkB,EAAE,EAAE,CAAC,uBAAuB,CA2B1D,CAAC"}
@@ -0,0 +1,23 @@
1
+ import type { FC } from "react";
2
+ import { type CwScheduler2 } from "../../CwSchedulerComp2";
3
+ import type { Resource } from "../../state/Resource";
4
+ interface SchedulerContentAreaProps {
5
+ now: Date;
6
+ showTimeline: boolean;
7
+ timeLineLeftPx: number;
8
+ timeSeparatorLeftPx: number[];
9
+ resources: Resource[];
10
+ contextMenuContents?: Array<{
11
+ key: string;
12
+ text: string;
13
+ icon: string;
14
+ color: string;
15
+ }>;
16
+ scheduler: CwScheduler2;
17
+ onEmptyClick: ((schedulerId: string) => void) | undefined;
18
+ setContentArea: (reference: HTMLTableDataCellElement) => void;
19
+ onClickContextMenu: (_clickEvent: any, _resource: Resource) => void;
20
+ }
21
+ export declare const SchedulerContentArea: FC<SchedulerContentAreaProps>;
22
+ export {};
23
+ //# sourceMappingURL=SchedulerContentArea.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SchedulerContentArea.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/custom/scheduler-temporal/components/scheduler_content_area/SchedulerContentArea.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAIrD,UAAU,yBAAyB;IAClC,GAAG,EAAE,IAAI,CAAC;IACV,YAAY,EAAE,OAAO,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;IACvB,mBAAmB,EAAE,MAAM,EAAE,CAAC;IAC9B,SAAS,EAAE,QAAQ,EAAE,CAAC;IACtB,mBAAmB,CAAC,EAAE,KAAK,CAAC;QAC3B,GAAG,EAAE,MAAM,CAAC;QACZ,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,EAAE,MAAM,CAAC;KACd,CAAC,CAAC;IACH,SAAS,EAAE,YAAY,CAAC;IACxB,YAAY,EAAE,CAAC,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;IAC1D,cAAc,EAAE,CAAC,SAAS,EAAE,wBAAwB,KAAK,IAAI,CAAC;IAC9D,kBAAkB,EAAE,CAAC,WAAW,EAAE,GAAG,EAAE,SAAS,EAAE,QAAQ,KAAK,IAAI,CAAC;CACpE;AACD,eAAO,MAAM,oBAAoB,EAAE,EAAE,CAAC,yBAAyB,CAoD9D,CAAC"}
@@ -0,0 +1,8 @@
1
+ import type { FC } from "react";
2
+ import { type SchedulerTimeLineProps } from "../scheduler_timeline/SchedulerTimeLine";
3
+ export interface SchedulerHeaderProps {
4
+ timelineProps: SchedulerTimeLineProps;
5
+ descriptionColumn: string | undefined;
6
+ }
7
+ export declare const SchedulerHeader: FC<SchedulerHeaderProps>;
8
+ //# sourceMappingURL=SchedulerHeader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SchedulerHeader.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/custom/scheduler-temporal/components/scheduler_header/SchedulerHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,EAAqB,KAAK,sBAAsB,EAAE,MAAM,yCAAyC,CAAC;AAEzG,MAAM,WAAW,oBAAoB;IACpC,aAAa,EAAE,sBAAsB,CAAC;IACtC,iBAAiB,EAAE,MAAM,GAAG,SAAS,CAAC;CACtC;AAED,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,oBAAoB,CAyDpD,CAAC"}
@@ -0,0 +1,12 @@
1
+ import type { FC } from "react";
2
+ export interface SchedulerTimeLineProps {
3
+ maxPx: number | string;
4
+ hoursList: Date[];
5
+ startDate: Date;
6
+ endDate: Date;
7
+ pxPerHour: number;
8
+ headerName: string | undefined;
9
+ }
10
+ export declare const SchedulerTimeLine: FC<SchedulerTimeLineProps>;
11
+ export declare const _preview: () => import("react/jsx-runtime").JSX.Element;
12
+ //# sourceMappingURL=SchedulerTimeLine.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SchedulerTimeLine.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/custom/scheduler-temporal/components/scheduler_timeline/SchedulerTimeLine.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAKhC,MAAM,WAAW,sBAAsB;IACtC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,SAAS,EAAE,IAAI,EAAE,CAAC;IAClB,SAAS,EAAE,IAAI,CAAC;IAChB,OAAO,EAAE,IAAI,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,GAAG,SAAS,CAAC;CAC/B;AAED,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,CA4BxD,CAAC;AAEF,eAAO,MAAM,QAAQ,+CAcpB,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { FC } from "react";
2
+ interface TimeHeaderProps {
3
+ index: number;
4
+ isWeekend: boolean;
5
+ text: string;
6
+ width: number;
7
+ header: string;
8
+ }
9
+ export declare const TimeHeader: FC<TimeHeaderProps>;
10
+ export declare const _preview: () => import("react/jsx-runtime").JSX.Element;
11
+ export {};
12
+ //# sourceMappingURL=TimeHeader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TimeHeader.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/custom/scheduler-temporal/components/time_headers/TimeHeader.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAKlC,UAAU,eAAe;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,OAAO,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CAyB1C,CAAC;AAGF,eAAO,MAAM,QAAQ,+CAQpB,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { type FC } from "react";
2
+ export interface TimeHeaderRowProps {
3
+ timeHeaders: Date[];
4
+ startDate: Date;
5
+ endDate: Date;
6
+ maxWidth: number;
7
+ header: string;
8
+ }
9
+ export declare const TimeHeaderRow: FC<TimeHeaderRowProps>;
10
+ //# sourceMappingURL=TimeHeaderRow.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TimeHeaderRow.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/custom/scheduler-temporal/components/time_headers/TimeHeaderRow.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAMhC,MAAM,WAAW,kBAAkB;IAClC,WAAW,EAAE,IAAI,EAAE,CAAC;IACpB,SAAS,EAAE,IAAI,CAAC;IAChB,OAAO,EAAE,IAAI,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;CACf;AACD,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAuBhD,CAAC"}
@@ -0,0 +1,12 @@
1
+ import type { FC } from "react";
2
+ export interface TimeLineProps {
3
+ toolTipTitle?: string;
4
+ marginLeft: number;
5
+ id?: string;
6
+ height?: string;
7
+ color?: string;
8
+ pixels?: number;
9
+ zIndex?: number;
10
+ }
11
+ export declare const TimeLine: FC<TimeLineProps>;
12
+ //# sourceMappingURL=TimeLine.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TimeLine.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/custom/scheduler-temporal/components/time_line/TimeLine.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,MAAM,WAAW,aAAa;IAC7B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CAwBtC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const addMinutesToDateFromPx: (originalDate: Date, leftPx: number, minutesPerPx: number) => Date;
2
+ //# sourceMappingURL=addMinutesToDateFromPx.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"addMinutesToDateFromPx.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/custom/scheduler-temporal/logic/dates/addMinutesToDateFromPx.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,sBAAsB,iBAAkB,IAAI,UAAU,MAAM,gBAAgB,MAAM,KAAG,IAKjG,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const daysBetweenTwoDates: (date1: Date, date2: Date) => number;
2
+ //# sourceMappingURL=daysBetweenTwoDates.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"daysBetweenTwoDates.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/custom/scheduler-temporal/logic/dates/daysBetweenTwoDates.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB,UAAW,IAAI,SAAS,IAAI,KAAG,MAgB9D,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const daysBetweenTwoDatesIncludingBoth: (date1: Date, date2: Date) => number;
2
+ //# sourceMappingURL=daysBetweenTwoDatesWithoutCeil.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"daysBetweenTwoDatesWithoutCeil.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/custom/scheduler-temporal/logic/dates/daysBetweenTwoDatesWithoutCeil.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gCAAgC,UAAW,IAAI,SAAS,IAAI,KAAG,MAI3E,CAAC"}
@@ -0,0 +1,7 @@
1
+ interface TimeHeaderData {
2
+ text: string;
3
+ isWeekend: boolean;
4
+ }
5
+ export declare const getFormattedTimeForHeader: (calculatedDivType: "d" | "w" | "m", calculatedDivision: 8 | 3 | 2 | 1, timeHeader: Date) => TimeHeaderData;
6
+ export {};
7
+ //# sourceMappingURL=getFormatedTimeForHeader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getFormatedTimeForHeader.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/custom/scheduler-temporal/logic/dates/getFormatedTimeForHeader.ts"],"names":[],"mappings":"AAEA,UAAU,cAAc;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,OAAO,CAAC;CACnB;AAED,eAAO,MAAM,yBAAyB,sBAClB,GAAG,GAAG,GAAG,GAAG,GAAG,sBACd,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,cACrB,IAAI,KACd,cA0CF,CAAC"}
@@ -0,0 +1,10 @@
1
+ export interface MonthHeaderData {
2
+ monthFormatted: string;
3
+ width: number;
4
+ }
5
+ export interface DateRange {
6
+ start: Date;
7
+ daysLong: number;
8
+ }
9
+ export declare const getMonthHeaderData: (dates: Date[], maxWidth: number) => MonthHeaderData[];
10
+ //# sourceMappingURL=getMonthHeaderData.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getMonthHeaderData.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/custom/scheduler-temporal/logic/dates/getMonthHeaderData.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe;IAC/B,cAAc,EAAE,MAAM,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,SAAS;IACzB,KAAK,EAAE,IAAI,CAAC;IACZ,QAAQ,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,kBAAkB,UAAW,IAAI,EAAE,YAAY,MAAM,KAAG,eAAe,EAWnF,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const getUtcToday: () => Date;
2
+ //# sourceMappingURL=getUtcToday.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getUtcToday.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/custom/scheduler-temporal/logic/dates/getUtcToday.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,QAAO,IAO9B,CAAC"}
@@ -0,0 +1,7 @@
1
+ import type { WeekRange } from "./listOfDatesToWeeks";
2
+ export interface WeekHeaderData {
3
+ formattedString: string;
4
+ width: number;
5
+ }
6
+ export declare const getWeekHeaderDataFromWeekRange: (weekRange: WeekRange[], maxWidth: number, dateFormatter: (date: Date) => string) => WeekHeaderData[];
7
+ //# sourceMappingURL=getWeekHeaderDataFromWeekRange.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getWeekHeaderDataFromWeekRange.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/custom/scheduler-temporal/logic/dates/getWeekHeaderDataFromWeekRange.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEtD,MAAM,WAAW,cAAc;IAC9B,eAAe,EAAE,MAAM,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;CACd;AAED,eAAO,MAAM,8BAA8B,cAC/B,SAAS,EAAE,YACZ,MAAM,iBACD,CAAC,IAAI,EAAE,IAAI,KAAK,MAAM,KACnC,cAAc,EAad,CAAC"}