@cwellt_software/cwellt-reactjs-lib 1.2.14 → 1.2.16

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 (272) hide show
  1. package/dist/deprecated/components/MultiSelect_deprecated_.d.ts +24 -0
  2. package/dist/deprecated/components/MultiSelect_deprecated_.d.ts.map +1 -0
  3. package/dist/deprecated/components/dropdown/CwDropdownContainer.d.ts +17 -0
  4. package/dist/deprecated/components/dropdown/CwDropdownContainer.d.ts.map +1 -0
  5. package/dist/deprecated/components/multiselect/CwHeadFilter.d.ts +17 -0
  6. package/dist/deprecated/components/multiselect/CwHeadFilter.d.ts.map +1 -0
  7. package/dist/deprecated/components/multiselect/CwMultiselect.d.ts +13 -0
  8. package/dist/deprecated/components/multiselect/CwMultiselect.d.ts.map +1 -0
  9. package/dist/deprecated/components/multiselect/CwOptionList.d.ts +14 -0
  10. package/dist/deprecated/components/multiselect/CwOptionList.d.ts.map +1 -0
  11. package/dist/deprecated/components/tag/CwTag.d.ts +15 -0
  12. package/dist/deprecated/components/tag/CwTag.d.ts.map +1 -0
  13. package/dist/index.cjs.js +116 -65
  14. package/dist/index.css +1 -1
  15. package/dist/index.d.ts +35 -2
  16. package/dist/index.es.js +116 -66
  17. package/dist/src/components/control/action/button/CwPopoverButton.d.ts +33 -0
  18. package/dist/src/components/control/action/button/CwPopoverButton.d.ts.map +1 -0
  19. package/dist/src/components/control/choice/deprecated/CwDropdown.d.ts +19 -0
  20. package/dist/src/components/control/choice/deprecated/CwDropdown.d.ts.map +1 -0
  21. package/dist/src/components/control/choice/deprecated/CwDropdownNavigation.d.ts +21 -0
  22. package/dist/src/components/control/choice/deprecated/CwDropdownNavigation.d.ts.map +1 -0
  23. package/dist/src/components/control/choice/dropdown/CwPopoverButton.d.ts +35 -0
  24. package/dist/src/components/control/choice/dropdown/CwPopoverButton.d.ts.map +1 -0
  25. package/dist/src/components/control/input/new-dates/CwDateTimePicker2.d.ts +47 -0
  26. package/dist/src/components/control/input/new-dates/CwDateTimePicker2.d.ts.map +1 -0
  27. package/dist/src/components/custom/scheduler-temporal/logic/filtering/filterAndProcessResources.d.ts +1 -12
  28. package/dist/src/components/custom/scheduler-temporal/logic/filtering/filterAndProcessResources.d.ts.map +1 -1
  29. package/dist/src/components/custom/scheduler-temporal/logic/pixels/getPixelsForEvent.d.ts +1 -11
  30. package/dist/src/components/custom/scheduler-temporal/logic/pixels/getPixelsForEvent.d.ts.map +1 -1
  31. package/dist/src/components/custom/scheduler-temporal/logic/pixels/heightScheduler.d.ts +1 -1
  32. package/dist/src/components/custom/scheduler-temporal/logic/pixels/heightScheduler.d.ts.map +1 -1
  33. package/dist/src/components/custom/scheduler-temporal/logic/ui/checkIfSlotAvailable.d.ts +1 -1
  34. package/dist/src/components/custom/scheduler-temporal/logic/ui/checkIfSlotAvailable.d.ts.map +1 -1
  35. package/dist/src/index.d.ts +1 -0
  36. package/dist/src/index.d.ts.map +1 -1
  37. package/package.json +2 -2
  38. package/dist/src/common/classes/CwSelectList.js +0 -12
  39. package/dist/src/common/classes/CwSelectListItems.js +0 -14
  40. package/dist/src/common/functions/collections.js +0 -18
  41. package/dist/src/common/functions/colorManipulation.js +0 -76
  42. package/dist/src/common/functions/dsl/UiEventDSL.js +0 -20
  43. package/dist/src/common/functions/useSingleAndDoubleClicks.js +0 -28
  44. package/dist/src/common/interfaces/CwSelectListProps.js +0 -1
  45. package/dist/src/components/control/action/button/CwButton.js +0 -13
  46. package/dist/src/components/control/action/buttons/CwButtons.js +0 -188
  47. package/dist/src/components/control/action/contextmenu/CwContextMenu.js +0 -43
  48. package/dist/src/components/control/action/contextual-menu/CwContextualMenu.js +0 -55
  49. package/dist/src/components/control/action/search/CwSearch.js +0 -67
  50. package/dist/src/components/control/action/tooltip-dialog/CwTooltipDialog.js +0 -11
  51. package/dist/src/components/control/choice/checkbox/CwCheckbox.js +0 -15
  52. package/dist/src/components/control/choice/deprecated/MultiSelect_deprecated_.js +0 -99
  53. package/dist/src/components/control/choice/dropdown/CwDropdown.js +0 -27
  54. package/dist/src/components/control/choice/dropdown/CwDropdownContainer.js +0 -30
  55. package/dist/src/components/control/choice/dropdown/CwDropdownFilter.js +0 -10
  56. package/dist/src/components/control/choice/multi-filter/CwMultiFilter.js +0 -298
  57. package/dist/src/components/control/choice/multi-filter/components/tag/CwMultiFilterTag.js +0 -17
  58. package/dist/src/components/control/choice/multiselect/CwHeadFilter.js +0 -80
  59. package/dist/src/components/control/choice/multiselect/CwMultiselect.js +0 -393
  60. package/dist/src/components/control/choice/multiselect/CwOptionList.js +0 -36
  61. package/dist/src/components/control/choice/option/CwOption.js +0 -16
  62. package/dist/src/components/control/choice/select/CwSelect.js +0 -36
  63. package/dist/src/components/control/choice/toggle/CwToggle.js +0 -9
  64. package/dist/src/components/control/input/any/CwInput.js +0 -16
  65. package/dist/src/components/control/input/color/CwColorPicker.js +0 -210
  66. package/dist/src/components/control/input/color/CwInputColor.js +0 -142
  67. package/dist/src/components/control/input/date/CwInputDate.js +0 -29
  68. package/dist/src/components/control/input/date-picker/CwInputDatePicker.js +0 -109
  69. package/dist/src/components/control/input/date-text/CwInputDateText.js +0 -90
  70. package/dist/src/components/control/input/datetime/CwInputDatetime.js +0 -29
  71. package/dist/src/components/control/input/digit/CwDigit.js +0 -28
  72. package/dist/src/components/control/input/file/CwFileUpload.js +0 -52
  73. package/dist/src/components/control/input/file/CwFileUploadMultiple.js +0 -148
  74. package/dist/src/components/control/input/image/CwInputImage.js +0 -52
  75. package/dist/src/components/control/input/image-area/CwImageArea.js +0 -113
  76. package/dist/src/components/control/input/new-dates/example.d.ts +0 -2
  77. package/dist/src/components/control/input/new-dates/example.d.ts.map +0 -1
  78. package/dist/src/components/control/input/number/CwInputNumber.js +0 -11
  79. package/dist/src/components/control/input/phone/CwInputPhone.js +0 -24
  80. package/dist/src/components/control/input/text/CwInputText.js +0 -31
  81. package/dist/src/components/control/input/text-area/CwTextArea.js +0 -9
  82. package/dist/src/components/control/input/time/CwTime.js +0 -29
  83. package/dist/src/components/control/input/weekday/CwWeekdaySelector.js +0 -143
  84. package/dist/src/components/custom/find-airport/CwFindAirportComp.js +0 -240
  85. package/dist/src/components/custom/scheduler/CwSchedulerComp.js +0 -211
  86. package/dist/src/components/custom/scheduler/CwSuperSchedulerComp.js +0 -269
  87. package/dist/src/components/custom/scheduler/components/EventRender.js +0 -142
  88. package/dist/src/components/custom/scheduler/components/ResourceListRender.js +0 -12
  89. package/dist/src/components/custom/scheduler/components/ResourceRender.js +0 -26
  90. package/dist/src/components/custom/scheduler/components/day_headers/DayHeader.js +0 -13
  91. package/dist/src/components/custom/scheduler/components/day_headers/MonthHeader.js +0 -12
  92. package/dist/src/components/custom/scheduler/components/day_headers/MyDaysHeader.js +0 -62
  93. package/dist/src/components/custom/scheduler/components/day_headers/WeekHeader.js +0 -13
  94. package/dist/src/components/custom/scheduler/components/resources_title_list/ResourcesTitleList.js +0 -24
  95. package/dist/src/components/custom/scheduler/components/scheduler_content_area/SchedulerContentArea.js +0 -17
  96. package/dist/src/components/custom/scheduler/components/scheduler_header/SchedulerHeader.js +0 -26
  97. package/dist/src/components/custom/scheduler/components/scheduler_timeline/SchedulerTimeLine.js +0 -23
  98. package/dist/src/components/custom/scheduler/components/time_headers/TimeHeader.js +0 -31
  99. package/dist/src/components/custom/scheduler/components/time_headers/TimeHeaderRow.js +0 -16
  100. package/dist/src/components/custom/scheduler/components/time_line/TimeLine.js +0 -12
  101. package/dist/src/components/custom/scheduler/logic/dates/addMinutesToDateFromPx.js +0 -5
  102. package/dist/src/components/custom/scheduler/logic/dates/daysBetweenTwoDates.js +0 -15
  103. package/dist/src/components/custom/scheduler/logic/dates/daysBetweenTwoDatesWithoutCeil.js +0 -5
  104. package/dist/src/components/custom/scheduler/logic/dates/getFormatedTimeForHeader.js +0 -43
  105. package/dist/src/components/custom/scheduler/logic/dates/getMonthHeaderData.js +0 -35
  106. package/dist/src/components/custom/scheduler/logic/dates/getUtcToday.js +0 -6
  107. package/dist/src/components/custom/scheduler/logic/dates/getWeekHeaderDataFromWeekRange.js +0 -20
  108. package/dist/src/components/custom/scheduler/logic/dates/listOfDatesToWeeks.js +0 -55
  109. package/dist/src/components/custom/scheduler/logic/divisions/calculateDivisionType.js +0 -13
  110. package/dist/src/components/custom/scheduler/logic/divisions/calculateDivisions.js +0 -16
  111. package/dist/src/components/custom/scheduler/logic/filtering/filterEvents.js +0 -33
  112. package/dist/src/components/custom/scheduler/logic/filtering/filterResources.js +0 -14
  113. package/dist/src/components/custom/scheduler/logic/filtering/hasSameProperties.js +0 -10
  114. package/dist/src/components/custom/scheduler/logic/onDrop/OnDrop.js +0 -45
  115. package/dist/src/components/custom/scheduler/logic/pixels/getHeightLineScheduler.js +0 -14
  116. package/dist/src/components/custom/scheduler/logic/pixels/getPixelsForEvent.js +0 -32
  117. package/dist/src/components/custom/scheduler/logic/pixels/heightScheduler.js +0 -14
  118. package/dist/src/components/custom/scheduler/logic/pixels/heightSchedulerPinned.js +0 -9
  119. package/dist/src/components/custom/scheduler/logic/state_handle/doubleClickOnResource.js +0 -5
  120. package/dist/src/components/custom/scheduler/logic/state_handle/handleResourceChange.js +0 -11
  121. package/dist/src/components/custom/scheduler/logic/state_handle/onDragOver.js +0 -9
  122. package/dist/src/components/custom/scheduler/logic/state_handle/onDropEventToResource.js +0 -3
  123. package/dist/src/components/custom/scheduler/logic/strings/compareStrings.js +0 -7
  124. package/dist/src/components/custom/scheduler/logic/strings/getGUID.js +0 -7
  125. package/dist/src/components/custom/scheduler/logic/ui/checkIfSlotAvailable.js +0 -8
  126. package/dist/src/components/custom/scheduler/logic/ui/getEventsOfResource.js +0 -45
  127. package/dist/src/components/custom/scheduler/logic/ui/getTimeHeaders.js +0 -35
  128. package/dist/src/components/custom/scheduler/logic/ui/isAllowedToMove.js +0 -19
  129. package/dist/src/components/custom/scheduler/logic/ui/updateResourceVisibility.js +0 -15
  130. package/dist/src/components/custom/scheduler/state/CblDragAndDrop.js +0 -18
  131. package/dist/src/components/custom/scheduler/state/CwSchedulerProps.js +0 -1
  132. package/dist/src/components/custom/scheduler/state/Resource.js +0 -18
  133. package/dist/src/components/custom/scheduler/state/State.js +0 -1
  134. package/dist/src/components/custom/scheduler/state/cblEvent.js +0 -28
  135. package/dist/src/components/custom/scheduler/state/cblEventCompProps.js +0 -1
  136. package/dist/src/components/custom/scheduler/state/resourceCompProps2.js +0 -1
  137. package/dist/src/components/custom/scheduler-new/presentation/NewScheduler.js +0 -123
  138. package/dist/src/components/custom/scheduler-new/presentation/NewSchedulerUiEvents.js +0 -118
  139. package/dist/src/components/custom/scheduler-new/presentation/SchedulerPresenter.js +0 -166
  140. package/dist/src/components/custom/scheduler-new/presentation/components/header/HeaderDivision.js +0 -26
  141. package/dist/src/components/custom/scheduler-new/presentation/components/header/HeaderTitle.js +0 -8
  142. package/dist/src/components/custom/scheduler-new/presentation/components/header/SchedulerHeader.js +0 -86
  143. package/dist/src/components/custom/scheduler-new/presentation/components/header/SchedulerHeaderState.js +0 -1
  144. package/dist/src/components/custom/scheduler-new/presentation/components/row/BackgroundEvent.js +0 -60
  145. package/dist/src/components/custom/scheduler-new/presentation/components/row/DefaultRowHeader.js +0 -24
  146. package/dist/src/components/custom/scheduler-new/presentation/components/row/Event.js +0 -150
  147. package/dist/src/components/custom/scheduler-new/presentation/components/row/EventSideDrag.js +0 -11
  148. package/dist/src/components/custom/scheduler-new/presentation/components/row/SchedulerRow.js +0 -176
  149. package/dist/src/components/custom/scheduler-new/presentation/components/timeline/DivisionLine.js +0 -8
  150. package/dist/src/components/custom/scheduler-new/presentation/components/timeline/TimeLine.js +0 -39
  151. package/dist/src/components/custom/scheduler-new/presentation/components/timeline/WeekEndLine.js +0 -8
  152. package/dist/src/components/custom/scheduler-new/presentation/helpers.js +0 -43
  153. package/dist/src/components/custom/scheduler-new/presentation/logic/WeekendCalc.js +0 -24
  154. package/dist/src/components/custom/scheduler-new/presentation/logic/dateFromPercentage.js +0 -7
  155. package/dist/src/components/custom/scheduler-new/presentation/logic/eventIsVisible.js +0 -7
  156. package/dist/src/components/custom/scheduler-new/presentation/logic/getDefaultDivisions.js +0 -113
  157. package/dist/src/components/custom/scheduler-new/presentation/logic/getDivisions.js +0 -21
  158. package/dist/src/components/custom/scheduler-new/presentation/logic/getEventSizes.js +0 -30
  159. package/dist/src/components/custom/scheduler-new/presentation/logic/getLinesByDivisions.js +0 -13
  160. package/dist/src/components/custom/scheduler-new/presentation/logic/getPercentageFromMouseEvent.js +0 -7
  161. package/dist/src/components/custom/scheduler-new/presentation/logic/separateEventsToInnerRows.js +0 -32
  162. package/dist/src/components/custom/scheduler-new/presentation/logic/sortByCategoryAndTitle.js +0 -12
  163. package/dist/src/components/custom/scheduler-new/presentation/state/ui/SchedulerState.js +0 -1
  164. package/dist/src/components/custom/scheduler-new/presentation/state/ui/WeekRange.js +0 -1
  165. package/dist/src/components/custom/scheduler-temporal/CwSchedulerComp2.js +0 -267
  166. package/dist/src/components/custom/scheduler-temporal/CwSuperSchedulerComp.js +0 -269
  167. package/dist/src/components/custom/scheduler-temporal/components/EventRender.js +0 -142
  168. package/dist/src/components/custom/scheduler-temporal/components/ResourceListRender.js +0 -12
  169. package/dist/src/components/custom/scheduler-temporal/components/ResourceRender.js +0 -26
  170. package/dist/src/components/custom/scheduler-temporal/components/day_headers/DayHeader.js +0 -13
  171. package/dist/src/components/custom/scheduler-temporal/components/day_headers/MonthHeader.js +0 -12
  172. package/dist/src/components/custom/scheduler-temporal/components/day_headers/MyDaysHeader.js +0 -62
  173. package/dist/src/components/custom/scheduler-temporal/components/day_headers/WeekHeader.js +0 -13
  174. package/dist/src/components/custom/scheduler-temporal/components/resources_title_list/ResourcesTitleList.js +0 -22
  175. package/dist/src/components/custom/scheduler-temporal/components/scheduler_content_area/SchedulerContentArea.js +0 -17
  176. package/dist/src/components/custom/scheduler-temporal/components/scheduler_header/SchedulerHeader.js +0 -26
  177. package/dist/src/components/custom/scheduler-temporal/components/scheduler_timeline/SchedulerTimeLine.js +0 -23
  178. package/dist/src/components/custom/scheduler-temporal/components/time_headers/TimeHeader.js +0 -31
  179. package/dist/src/components/custom/scheduler-temporal/components/time_headers/TimeHeaderRow.js +0 -16
  180. package/dist/src/components/custom/scheduler-temporal/components/time_line/TimeLine.js +0 -12
  181. package/dist/src/components/custom/scheduler-temporal/logic/dates/addMinutesToDateFromPx.js +0 -5
  182. package/dist/src/components/custom/scheduler-temporal/logic/dates/daysBetweenTwoDates.js +0 -15
  183. package/dist/src/components/custom/scheduler-temporal/logic/dates/daysBetweenTwoDatesWithoutCeil.js +0 -5
  184. package/dist/src/components/custom/scheduler-temporal/logic/dates/getFormatedTimeForHeader.js +0 -43
  185. package/dist/src/components/custom/scheduler-temporal/logic/dates/getMonthHeaderData.js +0 -35
  186. package/dist/src/components/custom/scheduler-temporal/logic/dates/getUtcToday.js +0 -6
  187. package/dist/src/components/custom/scheduler-temporal/logic/dates/getWeekHeaderDataFromWeekRange.js +0 -20
  188. package/dist/src/components/custom/scheduler-temporal/logic/dates/listOfDatesToWeeks.js +0 -55
  189. package/dist/src/components/custom/scheduler-temporal/logic/divisions/calculateDivisionType.js +0 -13
  190. package/dist/src/components/custom/scheduler-temporal/logic/divisions/calculateDivisions.js +0 -16
  191. package/dist/src/components/custom/scheduler-temporal/logic/filtering/filterAndProcessResources.js +0 -10
  192. package/dist/src/components/custom/scheduler-temporal/logic/filtering/filterEvents.js +0 -34
  193. package/dist/src/components/custom/scheduler-temporal/logic/filtering/filterResources.js +0 -14
  194. package/dist/src/components/custom/scheduler-temporal/logic/filtering/hasSameProperties.js +0 -10
  195. package/dist/src/components/custom/scheduler-temporal/logic/onDrop/OnDrop.js +0 -36
  196. package/dist/src/components/custom/scheduler-temporal/logic/pixels/getHeightLineScheduler.js +0 -14
  197. package/dist/src/components/custom/scheduler-temporal/logic/pixels/getPixelsForEvent.js +0 -32
  198. package/dist/src/components/custom/scheduler-temporal/logic/pixels/heightScheduler.js +0 -14
  199. package/dist/src/components/custom/scheduler-temporal/logic/pixels/heightSchedulerPinned.js +0 -9
  200. package/dist/src/components/custom/scheduler-temporal/logic/state_handle/doubleClickOnResource.js +0 -5
  201. package/dist/src/components/custom/scheduler-temporal/logic/state_handle/handlePropChanges.js +0 -178
  202. package/dist/src/components/custom/scheduler-temporal/logic/state_handle/handleResourceChange.js +0 -11
  203. package/dist/src/components/custom/scheduler-temporal/logic/state_handle/onDragOver.js +0 -9
  204. package/dist/src/components/custom/scheduler-temporal/logic/state_handle/onDropEventToResource.js +0 -3
  205. package/dist/src/components/custom/scheduler-temporal/logic/state_handle/onResizeEvent.js +0 -3
  206. package/dist/src/components/custom/scheduler-temporal/logic/strings/compareStrings.js +0 -7
  207. package/dist/src/components/custom/scheduler-temporal/logic/strings/getGUID.js +0 -7
  208. package/dist/src/components/custom/scheduler-temporal/logic/ui/checkIfSlotAvailable.js +0 -9
  209. package/dist/src/components/custom/scheduler-temporal/logic/ui/getEventsOfResource.js +0 -92
  210. package/dist/src/components/custom/scheduler-temporal/logic/ui/getHasPropsChanged.js +0 -242
  211. package/dist/src/components/custom/scheduler-temporal/logic/ui/getTimeHeaders.js +0 -35
  212. package/dist/src/components/custom/scheduler-temporal/logic/ui/isAllowedToMove.js +0 -19
  213. package/dist/src/components/custom/scheduler-temporal/logic/ui/shouldTriggerScroll.js +0 -241
  214. package/dist/src/components/custom/scheduler-temporal/logic/ui/updateResourceVisibility.js +0 -15
  215. package/dist/src/components/custom/scheduler-temporal/state/CblDragAndDrop.js +0 -18
  216. package/dist/src/components/custom/scheduler-temporal/state/CwSchedulerProps.js +0 -1
  217. package/dist/src/components/custom/scheduler-temporal/state/Resource.js +0 -18
  218. package/dist/src/components/custom/scheduler-temporal/state/State.js +0 -1
  219. package/dist/src/components/custom/scheduler-temporal/state/cblEvent.js +0 -28
  220. package/dist/src/components/custom/scheduler-temporal/state/cblEventCompProps.js +0 -1
  221. package/dist/src/components/custom/scheduler-temporal/state/resourceCompProps2.js +0 -1
  222. package/dist/src/components/custom/super-scheduler/PinRowHeader.js +0 -53
  223. package/dist/src/components/custom/super-scheduler/SuperScheduler.js +0 -23
  224. package/dist/src/components/custom/super-scheduler/SuperSchedulerEvents.js +0 -15
  225. package/dist/src/components/custom/super-scheduler/SuperSchedulerPresenter.js +0 -45
  226. package/dist/src/components/display/data/accordion/CwAccordionContainer.js +0 -20
  227. package/dist/src/components/display/data/generic_tooltip/CwGenericTooltip.js +0 -138
  228. package/dist/src/components/display/data/table/CwTable.js +0 -203
  229. package/dist/src/components/display/graphics/icon/CwIcon.js +0 -23
  230. package/dist/src/components/display/graphics/loading/CwLoading.js +0 -27
  231. package/dist/src/components/display/graphics/loading-small/CwLoadingSmall.js +0 -20
  232. package/dist/src/components/display/text/heading/CwHeadingMain.js +0 -5
  233. package/dist/src/components/display/text/heading/CwHeadingSecond.js +0 -5
  234. package/dist/src/components/display/text/label/CwLabel.js +0 -13
  235. package/dist/src/components/display/text/message/CwMessage.js +0 -75
  236. package/dist/src/components/display/text/note/CwNote.js +0 -78
  237. package/dist/src/components/display/text/tag/CwChip.js +0 -57
  238. package/dist/src/components/display/text/tag/CwTag.js +0 -21
  239. package/dist/src/components/display/text/tooltip/CwTooltip.js +0 -4
  240. package/dist/src/components/layout/align/CwAlign.js +0 -54
  241. package/dist/src/components/layout/card/CwCard.js +0 -55
  242. package/dist/src/components/layout/card/CwCardList.js +0 -38
  243. package/dist/src/components/layout/dialog/CwDialog.js +0 -255
  244. package/dist/src/components/layout/dialog/CwDialogManager.js +0 -44
  245. package/dist/src/components/layout/list/details/CwExpandable.js +0 -28
  246. package/dist/src/components/layout/list/key-value/CwKeyValueList.js +0 -23
  247. package/dist/src/components/layout/list/sortable/CwSortableList.js +0 -73
  248. package/dist/src/components/layout/list/sortable/useSortableList.js +0 -53
  249. package/dist/src/components/layout/modal/CwModalReportFunctional.js +0 -23
  250. package/dist/src/components/layout/modal/hover/CwModalHover.js +0 -61
  251. package/dist/src/components/layout/modal/legacy/cw_modal.js +0 -44
  252. package/dist/src/components/layout/modal/legacy/cw_modal_confirm.js +0 -39
  253. package/dist/src/components/layout/modal/legacy/cw_modal_iframe.js +0 -44
  254. package/dist/src/components/layout/modal/legacy/cw_modal_report.js +0 -26
  255. package/dist/src/components/layout/table/grouped/CwTableGrouped.js +0 -70
  256. package/dist/src/components/layout/tabs/CwTabs.js +0 -53
  257. package/dist/src/index.js +0 -187
  258. package/dist/test/components/custom/new-scheduler/presentation/logic/getDefaultDivisions.test.js +0 -48
  259. package/dist/test/components/custom/new-scheduler/presentation/logic/hoursBetween.test.js +0 -15
  260. package/dist/test/components/custom/new-scheduler/presentation/logic/monthDivisions.test.js +0 -42
  261. package/dist/test/components/custom/new-scheduler/presentation/logic/weekendCalc.test.js +0 -30
  262. package/dist/test/components/custom/scheduler/addMinutesToDateFromPx.test.js +0 -43
  263. package/dist/test/components/custom/scheduler/checkIfSlotAvailable.test.js +0 -30
  264. package/dist/test/components/custom/scheduler/daysBetweenTwoDates.test.js +0 -61
  265. package/dist/test/components/custom/scheduler/daysBetweenTwoDatesWithoutCeilForEvent.test.js +0 -27
  266. package/dist/test/components/custom/scheduler/getGUID.test.js +0 -30
  267. package/dist/test/components/custom/scheduler/getPixelsForEvent.test.js +0 -38
  268. package/dist/test/components/custom/scheduler/getTimeHeaders.test.js +0 -35
  269. package/dist/test/components/custom/scheduler/hasSameProperties.test.js +0 -51
  270. package/dist/test/components/custom/scheduler/isAllowedToMove.test.js +0 -28
  271. package/dist/test/components/custom/scheduler/listOfDatesToWeeks.test.js +0 -72
  272. package/dist/test/jest.setup.js +0 -1
@@ -0,0 +1,33 @@
1
+ import React from "react";
2
+ import { type CwButtonProps } from "./CwButton";
3
+ export interface CwPopoverButtonProps extends Omit<CwButtonProps, "onClick" | "children"> {
4
+ /** Content rendered inside the floating panel */
5
+ children: React.ReactNode;
6
+ /** Panel width — CSS value (e.g. "auto", "16rem"). @default "auto" */
7
+ panelWidth?: string;
8
+ /** Horizontal alignment relative to the button. @default "bottom-start" */
9
+ placement?: "bottom-start" | "bottom-end";
10
+ /** Additional CSS class for the panel */
11
+ panelClassName?: string;
12
+ }
13
+ /**
14
+ * Button that toggles a floating panel with arbitrary children.
15
+ * Closes on click-outside or Escape.
16
+ *
17
+ * Designed as a composable primitive:
18
+ * - Column picker: put `<CwCheckboxGroup>` inside
19
+ * - Options menu: put toggles / links inside
20
+ * - Future CwTable integration: use internally for column visibility
21
+ *
22
+ * @example
23
+ * <CwPopoverButton text="Columns" icon="table" variant="outline">
24
+ * <CwCheckboxGroup options={opts} value={val} onChange={setVal} />
25
+ * </CwPopoverButton>
26
+ *
27
+ * @example
28
+ * <CwPopoverButton text="Options" icon="options" variant="outline" placement="bottom-end">
29
+ * <CwToggle labelText="Show assigned" checked={v} onChange={setV} />
30
+ * </CwPopoverButton>
31
+ */
32
+ export declare function CwPopoverButton({ children, panelWidth, placement, panelClassName, ...buttonProps }: CwPopoverButtonProps): import("react/jsx-runtime").JSX.Element;
33
+ //# sourceMappingURL=CwPopoverButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CwPopoverButton.d.ts","sourceRoot":"","sources":["../../../../../../src/components/control/action/button/CwPopoverButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAC3D,OAAO,EAAY,KAAK,aAAa,EAAE,MAAM,YAAY,CAAC;AAG1D,MAAM,WAAW,oBAAqB,SAAQ,IAAI,CAAC,aAAa,EAAE,SAAS,GAAG,UAAU,CAAC;IACxF,iDAAiD;IACjD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,sEAAsE;IACtE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,2EAA2E;IAC3E,SAAS,CAAC,EAAE,cAAc,GAAG,YAAY,CAAC;IAC1C,yCAAyC;IACzC,cAAc,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,eAAe,CAAC,EAC/B,QAAQ,EACR,UAAmB,EACnB,SAA0B,EAC1B,cAAc,EACd,GAAG,WAAW,EACd,EAAE,oBAAoB,2CA0CtB"}
@@ -0,0 +1,19 @@
1
+ import React, { type HTMLProps } from "react";
2
+ import { CwSelectList } from "../../../../common/classes/CwSelectList";
3
+ export interface CwDropdownProps extends HTMLProps<HTMLDivElement> {
4
+ selectList: Array<CwSelectList>;
5
+ labelName: string;
6
+ labelPosition?: string;
7
+ labelClassName?: string;
8
+ handleChange?: (value: any) => void;
9
+ placeholder?: string;
10
+ className?: string;
11
+ style?: React.CSSProperties;
12
+ styleSelect?: React.CSSProperties;
13
+ styleOption?: React.CSSProperties;
14
+ disabled?: boolean;
15
+ error?: boolean;
16
+ defaultSelected?: any;
17
+ }
18
+ export declare function CwDropdown(optionsProps: React.PropsWithChildren<CwDropdownProps>): import("react/jsx-runtime").JSX.Element;
19
+ //# sourceMappingURL=CwDropdown.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CwDropdown.d.ts","sourceRoot":"","sources":["../../../../../../src/components/control/choice/deprecated/CwDropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAuB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,yCAAyC,CAAC;AAEvE,MAAM,WAAW,eAAgB,SAAQ,SAAS,CAAC,cAAc,CAAC;IACjE,UAAU,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC;IAChC,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;IACpC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,WAAW,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAClC,WAAW,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAClC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,eAAe,CAAC,EAAE,GAAG,CAAC;CACtB;AAED,wBAAgB,UAAU,CAAC,YAAY,EAAE,KAAK,CAAC,iBAAiB,CAAC,eAAe,CAAC,2CAsEhF"}
@@ -0,0 +1,21 @@
1
+ import * as React from "react";
2
+ export interface CwDropdownNavigationProps {
3
+ onShowChanges?: any;
4
+ onShowVisibleChanges?: any;
5
+ onShowSkip?: any;
6
+ onShowBulkDuties?: any;
7
+ onShowAsigned?: any;
8
+ onShowAsignedActive?: string;
9
+ onShowHotel?: any;
10
+ onShowHotelActive?: string;
11
+ onShowWishes?: any;
12
+ onShowWishesActive?: string;
13
+ onShowTrainingAlerts?: any;
14
+ onShowTrainingAlertsActive?: string;
15
+ onSmartFilteringFlight?: any;
16
+ onSmartFilteringFlightActive?: string;
17
+ onSmartFilteringEmployee?: any;
18
+ onSmartFilteringEmployeeActive?: string;
19
+ }
20
+ export declare function CwDropdownNavigation(CwelltDropDownNavigationProps: React.PropsWithChildren<CwDropdownNavigationProps>): import("react/jsx-runtime").JSX.Element;
21
+ //# sourceMappingURL=CwDropdownNavigation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CwDropdownNavigation.d.ts","sourceRoot":"","sources":["../../../../../../src/components/control/choice/deprecated/CwDropdownNavigation.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,MAAM,WAAW,yBAAyB;IACzC,aAAa,CAAC,EAAE,GAAG,CAAC;IACpB,oBAAoB,CAAC,EAAE,GAAG,CAAC;IAC3B,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,gBAAgB,CAAC,EAAE,GAAG,CAAC;IAEvB,aAAa,CAAC,EAAE,GAAG,CAAC;IACpB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAE7B,WAAW,CAAC,EAAE,GAAG,CAAC;IAClB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B,YAAY,CAAC,EAAE,GAAG,CAAC;IACnB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAE5B,oBAAoB,CAAC,EAAE,GAAG,CAAC;IAC3B,0BAA0B,CAAC,EAAE,MAAM,CAAC;IAEpC,sBAAsB,CAAC,EAAE,GAAG,CAAC;IAC7B,4BAA4B,CAAC,EAAE,MAAM,CAAC;IAEtC,wBAAwB,CAAC,EAAE,GAAG,CAAC;IAC/B,8BAA8B,CAAC,EAAE,MAAM,CAAC;CACxC;AAED,wBAAgB,oBAAoB,CACnC,6BAA6B,EAAE,KAAK,CAAC,iBAAiB,CAAC,yBAAyB,CAAC,2CAoRjF"}
@@ -0,0 +1,35 @@
1
+ import React from "react";
2
+ import { type CwButtonProps } from "../../action/button/CwButton";
3
+ export interface CwPopoverButtonProps extends Omit<CwButtonProps, "onClick" | "children"> {
4
+ /** Content rendered inside the floating panel */
5
+ children: React.ReactNode;
6
+ /** Panel width — CSS value (e.g. "auto", "16rem"). @default "auto" */
7
+ panelWidth?: string;
8
+ /** Horizontal alignment relative to the button. @default "bottom-start" */
9
+ placement?: "bottom-start" | "bottom-end";
10
+ /** Additional CSS class for the panel */
11
+ panelClassName?: string;
12
+ }
13
+ /**
14
+ * Button that toggles a floating panel with arbitrary children.
15
+ * Uses the native Popover API — panel renders in the browser's top layer,
16
+ * escaping all overflow/stacking contexts. Light dismiss (click outside)
17
+ * and Escape key are handled natively by the browser.
18
+ *
19
+ * Designed as a composable primitive:
20
+ * - Column picker: put `<CwCheckboxGroup>` inside
21
+ * - Options menu: put toggles / links inside
22
+ * - Future CwTable integration: use internally for column visibility
23
+ *
24
+ * @example
25
+ * <CwPopoverButton text="Columns" icon="table" variant="outline">
26
+ * <CwCheckboxGroup options={opts} value={val} onChange={setVal} />
27
+ * </CwPopoverButton>
28
+ *
29
+ * @example
30
+ * <CwPopoverButton text="Options" icon="options" variant="outline" placement="bottom-end">
31
+ * <CwToggle labelText="Show assigned" checked={v} onChange={setV} />
32
+ * </CwPopoverButton>
33
+ */
34
+ export declare function CwPopoverButton({ children, panelWidth, placement, panelClassName, ...buttonProps }: CwPopoverButtonProps): import("react/jsx-runtime").JSX.Element;
35
+ //# sourceMappingURL=CwPopoverButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CwPopoverButton.d.ts","sourceRoot":"","sources":["../../../../../../src/components/control/choice/dropdown/CwPopoverButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AACnD,OAAO,EAAY,KAAK,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAG5E,MAAM,WAAW,oBAAqB,SAAQ,IAAI,CAAC,aAAa,EAAE,SAAS,GAAG,UAAU,CAAC;IACxF,iDAAiD;IACjD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,sEAAsE;IACtE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,2EAA2E;IAC3E,SAAS,CAAC,EAAE,cAAc,GAAG,YAAY,CAAC;IAC1C,yCAAyC;IACzC,cAAc,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,eAAe,CAAC,EAC/B,QAAQ,EACR,UAAmB,EACnB,SAA0B,EAC1B,cAAc,EACd,GAAG,WAAW,EACd,EAAE,oBAAoB,2CA2CtB"}
@@ -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,EAA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AChC,KAAK,EACL,QAAQ,EACR,WAAW,EACX,WAAW,EACX,aAAa,EACb,eAAe,EACf,YAAiB,EACjB,OAAO,EACP,OAAO,EACP,UAAU,EACV,UAAU,EACV,YAAoB,EACpB,eAA8B,EAC9B,eAAyB,EACzB,QAAQ,EACR,QAAQ,EACR,SAAS,EACT,SAAgB,EAChB,cAAkB,EAClB,aAAqB,GACrB,EAAE,QAAQ,CAAC,qBAAqB,CAAC,2CA+HjC"}
@@ -1,15 +1,4 @@
1
- import type { cblEvent } from "../../state/cblEvent";
2
1
  import type { CwSchedulerProps } from "../../state/CwSchedulerProps";
3
2
  import type { State } from "../../state/State";
4
- export declare const filterAndProcessResources: (props: CwSchedulerProps, state: State) => {
5
- events: cblEvent[];
6
- uid: string;
7
- id: number;
8
- name: string;
9
- maxTop: number;
10
- isInViewport: boolean;
11
- schedulerResourceDisplay: string | null;
12
- isLoading: boolean;
13
- data: any;
14
- }[];
3
+ export declare const filterAndProcessResources: (props: CwSchedulerProps, state: State) => any[];
15
4
  //# sourceMappingURL=filterAndProcessResources.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"filterAndProcessResources.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/custom/scheduler-temporal/logic/filtering/filterAndProcessResources.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAI/C,eAAO,MAAM,yBAAyB,UAAY,gBAAgB,SAAS,KAAK;;;;;;;;;;GAe/E,CAAC"}
1
+ {"version":3,"file":"filterAndProcessResources.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/custom/scheduler-temporal/logic/filtering/filterAndProcessResources.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAI/C,eAAO,MAAM,yBAAyB,UAAY,gBAAgB,SAAS,KAAK,UAe/E,CAAC"}
@@ -2,16 +2,6 @@ import type { cblEvent } from "../../state/cblEvent";
2
2
  import type { CwSchedulerProps } from "../../state/CwSchedulerProps";
3
3
  import type { Resource } from "../../state/Resource";
4
4
  export declare const getLeftPixels: (eventStart: Date, scheduleStart: Date, dayPx: number) => number;
5
- export declare const getResourcesWithPixels: (resources: Resource[], _nextProps: CwSchedulerProps, dayPx: number) => {
6
- events: cblEvent[];
7
- uid: string;
8
- id: number;
9
- name: string;
10
- maxTop: number;
11
- isInViewport: boolean;
12
- schedulerResourceDisplay: string | null;
13
- isLoading: boolean;
14
- data: any;
15
- }[];
5
+ export declare const getResourcesWithPixels: (resources: Resource[], _nextProps: CwSchedulerProps, dayPx: number) => any[];
16
6
  export declare const getEventWithSize: (event: cblEvent, schedulerStart: Date, dayPx: number) => cblEvent;
17
7
  //# sourceMappingURL=getPixelsForEvent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getPixelsForEvent.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/custom/scheduler-temporal/logic/pixels/getPixelsForEvent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAGrD,eAAO,MAAM,aAAa,eAAgB,IAAI,iBAAiB,IAAI,SAAS,MAAM,KAAG,MAGpF,CAAC;AAEF,eAAO,MAAM,sBAAsB,cAAe,QAAQ,EAAE,cAAc,gBAAgB,SAAS,MAAM;;;;;;;;;;GAWxG,CAAC;AAEF,eAAO,MAAM,gBAAgB,UAAW,QAAQ,kBAAkB,IAAI,SAAS,MAAM,KAAG,QAevF,CAAC"}
1
+ {"version":3,"file":"getPixelsForEvent.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/custom/scheduler-temporal/logic/pixels/getPixelsForEvent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAGrD,eAAO,MAAM,aAAa,eAAgB,IAAI,iBAAiB,IAAI,SAAS,MAAM,KAAG,MAGpF,CAAC;AAEF,eAAO,MAAM,sBAAsB,cAAe,QAAQ,EAAE,cAAc,gBAAgB,SAAS,MAAM,UAWxG,CAAC;AAEF,eAAO,MAAM,gBAAgB,UAAW,QAAQ,kBAAkB,IAAI,SAAS,MAAM,KAAG,QAevF,CAAC"}
@@ -1,3 +1,3 @@
1
1
  import type { Resource } from "../../state/Resource";
2
- export declare const heightScheduler: (resources: Resource[], visibleRows: number, isPinnerScheduler: boolean) => number;
2
+ export declare const heightScheduler: (resources: Resource[], visibleRows: number, isPinnerScheduler: boolean) => any;
3
3
  //# sourceMappingURL=heightScheduler.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"heightScheduler.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/custom/scheduler-temporal/logic/pixels/heightScheduler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAErD,eAAO,MAAM,eAAe,cAAe,QAAQ,EAAE,eAAe,MAAM,qBAAqB,OAAO,WAerG,CAAC"}
1
+ {"version":3,"file":"heightScheduler.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/custom/scheduler-temporal/logic/pixels/heightScheduler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAErD,eAAO,MAAM,eAAe,cAAe,QAAQ,EAAE,eAAe,MAAM,qBAAqB,OAAO,QAerG,CAAC"}
@@ -1,3 +1,3 @@
1
1
  import type { cblEvent } from "../../state/cblEvent";
2
- export declare const checkIfSlotAvailable: (events: Array<cblEvent>, event: cblEvent) => boolean;
2
+ export declare const checkIfSlotAvailable: (events: Array<cblEvent>, event: cblEvent) => any;
3
3
  //# sourceMappingURL=checkIfSlotAvailable.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"checkIfSlotAvailable.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/custom/scheduler-temporal/logic/ui/checkIfSlotAvailable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAErD,eAAO,MAAM,oBAAoB,WAAY,KAAK,CAAC,QAAQ,CAAC,SAAS,QAAQ,YAQ5E,CAAC"}
1
+ {"version":3,"file":"checkIfSlotAvailable.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/custom/scheduler-temporal/logic/ui/checkIfSlotAvailable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAErD,eAAO,MAAM,oBAAoB,WAAY,KAAK,CAAC,QAAQ,CAAC,SAAS,QAAQ,QAQ5E,CAAC"}
@@ -63,6 +63,7 @@ export { CwToggle } from "./components/control/choice/toggle/CwToggle";
63
63
  export { CwSelect } from "./components/control/choice/select/CwSelect";
64
64
  export { CwOption } from "./components/control/choice/option/CwOption";
65
65
  export { CwDropdownFilter } from "./components/control/choice/dropdown/CwDropdownFilter";
66
+ export { CwPopoverButton, type CwPopoverButtonProps } from "./components/control/choice/dropdown/CwPopoverButton";
66
67
  export { itemsToMultiFilterTags } from "./common/functions/collections";
67
68
  export { CwMultiFilterTag, type CwMultiFilterTagProps, type ICwMultiFilterTag } from "./components/control/choice/multi-filter/components/tag/CwMultiFilterTag";
68
69
  export { CwMultiFilter, type CwMultiFilterProps } from "./components/control/choice/multi-filter/CwMultiFilter";
@@ -1 +1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CAAC;AACnG,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,oDAAoD,CAAC;AACzG,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,0DAA0D,CAAC;AAI/G,OAAO,EAAE,aAAa,EAAE,MAAM,oDAAoD,CAAC;AAEnF,OAAO,EACN,aAAa,EACb,QAAQ,EACR,UAAU,EACV,YAAY,EACZ,cAAc,EACd,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,CAAC;AAEF,OAAO,EACN,kBAAkB,EAClB,YAAY,EACZ,eAAe,EACf,gBAAgB,EAChB,UAAU,EACV,kBAAkB,EAClB,qBAAqB,EACrB,WAAW,EACX,eAAe,EACf,WAAW,EACX,qBAAqB,EACrB,eAAe,EACf,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,eAAe,EACf,gBAAgB,EAChB,uBAAuB,EACvB,MAAM,qEAAqE,CAAC;AAG7E,YAAY,EACX,iBAAiB,EACjB,MAAM,+EAA+E,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cwellt_software/cwellt-reactjs-lib",
3
- "version": "1.2.14",
3
+ "version": "1.2.16",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
@@ -75,4 +75,4 @@
75
75
  "react-day-picker": "^9.0.0",
76
76
  "@react-buddy/ide-toolbox": "^2.4.0"
77
77
  }
78
- }
78
+ }
@@ -1,12 +0,0 @@
1
- export class CwSelectList {
2
- type;
3
- id;
4
- description;
5
- color;
6
- constructor(type, id, description, color) {
7
- this.type = type;
8
- this.id = id;
9
- this.description = description;
10
- this.color = color;
11
- }
12
- }
@@ -1,14 +0,0 @@
1
- export class CwSelectListItems {
2
- type;
3
- id;
4
- description;
5
- color;
6
- active;
7
- constructor(type, id, description, color, active) {
8
- this.type = type;
9
- this.id = id;
10
- this.description = description;
11
- this.color = color;
12
- this.active = active;
13
- }
14
- }
@@ -1,18 +0,0 @@
1
- export const uniqValue = (items) => Array.from(new Set(items.map(i => i.valueOf())));
2
- export const uniqString = (items) => Array.from(new Set(items.map(i => i.toString())));
3
- export const escapeRegex = (unescaped) => unescaped.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
4
- export const toOptionsRegexPattern = (arr) => arr.map(str => escapeRegex(str)).join("|");
5
- export function itemsToMultiFilterTags(items, nameKey, valueKey, category, primaryColor, onPrimaryColor) {
6
- const result = new Set();
7
- items.forEach((item, index) => {
8
- result.add({
9
- ID: `${category}_${index}`,
10
- Name: item[nameKey] || index,
11
- Value: item[valueKey] || index,
12
- Category: category || "Missing Category",
13
- PrimaryColor: primaryColor || { r: 0, g: 0, b: 0 },
14
- OnPrimaryColor: onPrimaryColor || { r: 255, g: 255, b: 255 }
15
- });
16
- });
17
- return result;
18
- }
@@ -1,76 +0,0 @@
1
- function colorToHSL(color) {
2
- const hexColor = colorToHEX(color);
3
- const hex = hexColor.replace('#', '');
4
- const r = parseInt(hex.substring(0, 2), 16) / 255;
5
- const g = parseInt(hex.substring(2, 4), 16) / 255;
6
- const b = parseInt(hex.substring(4, 6), 16) / 255;
7
- const max = Math.max(r, g, b);
8
- const min = Math.min(r, g, b);
9
- let h = 0;
10
- let s = 0;
11
- const l = (max + min) / 2;
12
- if (max !== min) {
13
- const d = max - min;
14
- s = l > 0.5 ? d / (2 - max - min) : d / (max + min);
15
- switch (max) {
16
- case r:
17
- h = (g - b) / d + (g < b ? 6 : 0);
18
- break;
19
- case g:
20
- h = (b - r) / d + 2;
21
- break;
22
- case b:
23
- h = (r - g) / d + 4;
24
- break;
25
- }
26
- h /= 6;
27
- }
28
- return {
29
- h: Math.round(h * 360),
30
- s: Math.round(s * 100),
31
- l: Math.round(l * 100)
32
- };
33
- }
34
- export function colorToHEX(color) {
35
- const canvas = document.createElement('canvas');
36
- const context = canvas.getContext('2d');
37
- if (!context)
38
- throw new Error('Could not create canvas context');
39
- context.fillStyle = color;
40
- return context.fillStyle;
41
- }
42
- export function getHSLColor(color, alpha = 1) {
43
- const hsl = colorToHSL(color);
44
- return `hsla(${hsl.h}, ${hsl.s}%, ${hsl.l}%, ${alpha})`;
45
- }
46
- export function getContrastColor(color) {
47
- if (color === null) {
48
- return '#000000';
49
- }
50
- const hsl = colorToHSL(color);
51
- // Saturated greenyellow and cyan tones need lower luminance threshold (40-35)
52
- // Saturated mediumblue and blueviolet tones need higher luminance threshold (55-60)
53
- // Saturated orangered tones need lower luminance threshold (45)
54
- const isYellowGreen = (hsl.h >= 45 && hsl.h <= 180);
55
- const isBlueViolet = (hsl.h >= 210 && hsl.h <= 300);
56
- const isRedOrange = (hsl.h >= 0 && hsl.h <= 30) || (hsl.h >= 330 && hsl.h <= 360);
57
- let threshold = 50;
58
- if (isYellowGreen) {
59
- threshold = 40;
60
- if (hsl.s >= 70) {
61
- threshold = 35;
62
- }
63
- }
64
- else if (isBlueViolet) {
65
- threshold = 55;
66
- if (hsl.s >= 70) {
67
- threshold = 60;
68
- }
69
- }
70
- else if (isRedOrange && hsl.s >= 80) {
71
- threshold = 45;
72
- }
73
- const contrastL = hsl.l >= threshold ? 20 : 90;
74
- const contrastS = Math.min(hsl.s, 90);
75
- return `hsl(${hsl.h}, ${contrastS}%, ${contrastL}%)`;
76
- }
@@ -1,20 +0,0 @@
1
- export class UiEvent {
2
- }
3
- export function when(event) {
4
- let found = false;
5
- const actions = {
6
- case(eventType, action) {
7
- if (!found && event instanceof eventType) {
8
- action(event);
9
- found = true;
10
- }
11
- return actions;
12
- },
13
- else(action) {
14
- if (!found) {
15
- action(event);
16
- }
17
- }
18
- };
19
- return actions;
20
- }
@@ -1,28 +0,0 @@
1
- import { useCallback, useRef } from 'react';
2
- function useSingleAndDoubleClicks(onClick, onDoubleClick) {
3
- const timer = useRef(null);
4
- const cancelPendingClick = useCallback(() => {
5
- if (timer.current) {
6
- clearTimeout(timer.current);
7
- timer.current = null;
8
- }
9
- }, [timer]);
10
- const handleClick = useCallback((e) => {
11
- // We only cache the most recent click event, so cancel any pending clicks
12
- e.stopPropagation();
13
- e.preventDefault();
14
- cancelPendingClick();
15
- timer.current = setTimeout(() => {
16
- timer.current = null;
17
- onClick(e);
18
- }, 500);
19
- }, [timer, cancelPendingClick, onClick]);
20
- const handleDoubleClick = useCallback((e) => {
21
- e.stopPropagation();
22
- e.preventDefault();
23
- cancelPendingClick();
24
- onDoubleClick(e);
25
- }, [cancelPendingClick, onDoubleClick]);
26
- return { handleClick, handleDoubleClick };
27
- }
28
- export default useSingleAndDoubleClicks;
@@ -1 +0,0 @@
1
- export {};
@@ -1,13 +0,0 @@
1
- import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
- export function CwButton({ text, variant = 'solid', color = 'primary', className = '', icon = "", children, ...buttonProps }) {
3
- // Build CSS classes based on variant and props
4
- let buttonClass = `cw-button-${variant}`;
5
- // Add icon class only for icon variant without children
6
- if (variant === 'icon' && icon && !children) {
7
- buttonClass += ` cwi-${icon}`;
8
- }
9
- if (className) {
10
- buttonClass += ` ${className}`;
11
- }
12
- return (_jsx("button", { type: "button", className: buttonClass, ...buttonProps, "data-color": color, children: variant === 'icon' ? null : (children ?? (_jsxs(_Fragment, { children: [icon && _jsx("span", { className: `cwi-icons cwi-${icon}` }), text && _jsx("strong", { children: text })] }))) }));
13
- }