@cwellt_software/cwellt-reactjs-lib 1.1.4 → 1.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (560) hide show
  1. package/dist/assets/asset-DnHaq7m- +50 -0
  2. package/dist/content/fonts/roboto-flex/files/roboto-flex-cyrillic-ext-full-normal.woff2 +0 -0
  3. package/dist/content/fonts/roboto-flex/files/roboto-flex-cyrillic-ext-grad-normal.woff2 +0 -0
  4. package/dist/content/fonts/roboto-flex/files/roboto-flex-cyrillic-ext-opsz-normal.woff2 +0 -0
  5. package/dist/content/fonts/roboto-flex/files/roboto-flex-cyrillic-ext-slnt-normal.woff2 +0 -0
  6. package/dist/content/fonts/roboto-flex/files/roboto-flex-cyrillic-ext-standard-normal.woff2 +0 -0
  7. package/dist/content/fonts/roboto-flex/files/roboto-flex-cyrillic-ext-wdth-normal.woff2 +0 -0
  8. package/dist/content/fonts/roboto-flex/files/roboto-flex-cyrillic-ext-wght-normal.woff2 +0 -0
  9. package/dist/content/fonts/roboto-flex/files/roboto-flex-cyrillic-ext-xopq-normal.woff2 +0 -0
  10. package/dist/content/fonts/roboto-flex/files/roboto-flex-cyrillic-ext-xtra-normal.woff2 +0 -0
  11. package/dist/content/fonts/roboto-flex/files/roboto-flex-cyrillic-ext-yopq-normal.woff2 +0 -0
  12. package/dist/content/fonts/roboto-flex/files/roboto-flex-cyrillic-ext-ytas-normal.woff2 +0 -0
  13. package/dist/content/fonts/roboto-flex/files/roboto-flex-cyrillic-ext-ytde-normal.woff2 +0 -0
  14. package/dist/content/fonts/roboto-flex/files/roboto-flex-cyrillic-ext-ytfi-normal.woff2 +0 -0
  15. package/dist/content/fonts/roboto-flex/files/roboto-flex-cyrillic-ext-ytlc-normal.woff2 +0 -0
  16. package/dist/content/fonts/roboto-flex/files/roboto-flex-cyrillic-ext-ytuc-normal.woff2 +0 -0
  17. package/dist/content/fonts/roboto-flex/files/roboto-flex-cyrillic-full-normal.woff2 +0 -0
  18. package/dist/content/fonts/roboto-flex/files/roboto-flex-cyrillic-grad-normal.woff2 +0 -0
  19. package/dist/content/fonts/roboto-flex/files/roboto-flex-cyrillic-opsz-normal.woff2 +0 -0
  20. package/dist/content/fonts/roboto-flex/files/roboto-flex-cyrillic-slnt-normal.woff2 +0 -0
  21. package/dist/content/fonts/roboto-flex/files/roboto-flex-cyrillic-standard-normal.woff2 +0 -0
  22. package/dist/content/fonts/roboto-flex/files/roboto-flex-cyrillic-wdth-normal.woff2 +0 -0
  23. package/dist/content/fonts/roboto-flex/files/roboto-flex-cyrillic-wght-normal.woff2 +0 -0
  24. package/dist/content/fonts/roboto-flex/files/roboto-flex-cyrillic-xopq-normal.woff2 +0 -0
  25. package/dist/content/fonts/roboto-flex/files/roboto-flex-cyrillic-xtra-normal.woff2 +0 -0
  26. package/dist/content/fonts/roboto-flex/files/roboto-flex-cyrillic-yopq-normal.woff2 +0 -0
  27. package/dist/content/fonts/roboto-flex/files/roboto-flex-cyrillic-ytas-normal.woff2 +0 -0
  28. package/dist/content/fonts/roboto-flex/files/roboto-flex-cyrillic-ytde-normal.woff2 +0 -0
  29. package/dist/content/fonts/roboto-flex/files/roboto-flex-cyrillic-ytfi-normal.woff2 +0 -0
  30. package/dist/content/fonts/roboto-flex/files/roboto-flex-cyrillic-ytlc-normal.woff2 +0 -0
  31. package/dist/content/fonts/roboto-flex/files/roboto-flex-cyrillic-ytuc-normal.woff2 +0 -0
  32. package/dist/content/fonts/roboto-flex/files/roboto-flex-greek-full-normal.woff2 +0 -0
  33. package/dist/content/fonts/roboto-flex/files/roboto-flex-greek-grad-normal.woff2 +0 -0
  34. package/dist/content/fonts/roboto-flex/files/roboto-flex-greek-opsz-normal.woff2 +0 -0
  35. package/dist/content/fonts/roboto-flex/files/roboto-flex-greek-slnt-normal.woff2 +0 -0
  36. package/dist/content/fonts/roboto-flex/files/roboto-flex-greek-standard-normal.woff2 +0 -0
  37. package/dist/content/fonts/roboto-flex/files/roboto-flex-greek-wdth-normal.woff2 +0 -0
  38. package/dist/content/fonts/roboto-flex/files/roboto-flex-greek-wght-normal.woff2 +0 -0
  39. package/dist/content/fonts/roboto-flex/files/roboto-flex-greek-xopq-normal.woff2 +0 -0
  40. package/dist/content/fonts/roboto-flex/files/roboto-flex-greek-xtra-normal.woff2 +0 -0
  41. package/dist/content/fonts/roboto-flex/files/roboto-flex-greek-yopq-normal.woff2 +0 -0
  42. package/dist/content/fonts/roboto-flex/files/roboto-flex-greek-ytas-normal.woff2 +0 -0
  43. package/dist/content/fonts/roboto-flex/files/roboto-flex-greek-ytde-normal.woff2 +0 -0
  44. package/dist/content/fonts/roboto-flex/files/roboto-flex-greek-ytfi-normal.woff2 +0 -0
  45. package/dist/content/fonts/roboto-flex/files/roboto-flex-greek-ytlc-normal.woff2 +0 -0
  46. package/dist/content/fonts/roboto-flex/files/roboto-flex-greek-ytuc-normal.woff2 +0 -0
  47. package/dist/content/fonts/roboto-flex/files/roboto-flex-vietnamese-full-normal.woff2 +0 -0
  48. package/dist/content/fonts/roboto-flex/files/roboto-flex-vietnamese-grad-normal.woff2 +0 -0
  49. package/dist/content/fonts/roboto-flex/files/roboto-flex-vietnamese-opsz-normal.woff2 +0 -0
  50. package/dist/content/fonts/roboto-flex/files/roboto-flex-vietnamese-slnt-normal.woff2 +0 -0
  51. package/dist/content/fonts/roboto-flex/files/roboto-flex-vietnamese-standard-normal.woff2 +0 -0
  52. package/dist/content/fonts/roboto-flex/files/roboto-flex-vietnamese-wdth-normal.woff2 +0 -0
  53. package/dist/content/fonts/roboto-flex/files/roboto-flex-vietnamese-wght-normal.woff2 +0 -0
  54. package/dist/content/fonts/roboto-flex/files/roboto-flex-vietnamese-xopq-normal.woff2 +0 -0
  55. package/dist/content/fonts/roboto-flex/files/roboto-flex-vietnamese-xtra-normal.woff2 +0 -0
  56. package/dist/content/fonts/roboto-flex/files/roboto-flex-vietnamese-yopq-normal.woff2 +0 -0
  57. package/dist/content/fonts/roboto-flex/files/roboto-flex-vietnamese-ytas-normal.woff2 +0 -0
  58. package/dist/content/fonts/roboto-flex/files/roboto-flex-vietnamese-ytde-normal.woff2 +0 -0
  59. package/dist/content/fonts/roboto-flex/files/roboto-flex-vietnamese-ytfi-normal.woff2 +0 -0
  60. package/dist/content/fonts/roboto-flex/files/roboto-flex-vietnamese-ytlc-normal.woff2 +0 -0
  61. package/dist/content/fonts/roboto-flex/files/roboto-flex-vietnamese-ytuc-normal.woff2 +0 -0
  62. package/dist/content/icons/cw-icons/css/cw-icons.css +2784 -0
  63. package/dist/content/icons/cw-icons/fonts/cwAvinodeFont/CblAvinodeIcon.eot +0 -0
  64. package/dist/content/icons/cw-icons/fonts/cwAvinodeFont/CblAvinodeIcon.svg +11 -0
  65. package/dist/content/icons/cw-icons/fonts/cwAvinodeFont/CblAvinodeIcon.ttf +0 -0
  66. package/dist/content/icons/cw-icons/fonts/cwAvinodeFont/CblAvinodeIcon.woff +0 -0
  67. package/dist/content/icons/cw-icons/fonts/cwCrewControlFont/CblCrewControl.eot +0 -0
  68. package/dist/content/icons/cw-icons/fonts/cwCrewControlFont/CblCrewControl.svg +38 -0
  69. package/dist/content/icons/cw-icons/fonts/cwCrewControlFont/CblCrewControl.ttf +0 -0
  70. package/dist/content/icons/cw-icons/fonts/cwCrewControlFont/CblCrewControl.woff +0 -0
  71. package/dist/content/icons/cw-icons/fonts/cwCrewControlFont/CblCrewControl.woff2 +0 -0
  72. package/dist/content/icons/cw-icons/fonts/cwCrewControlFont/Crew Control.eot +0 -0
  73. package/dist/content/icons/cw-icons/fonts/cwCrewControlFont/Crew Control.svg +29 -0
  74. package/dist/content/icons/cw-icons/fonts/cwCrewControlFont/Crew Control.ttf +0 -0
  75. package/dist/content/icons/cw-icons/fonts/cwCrewControlFont/Crew Control.woff +0 -0
  76. package/dist/content/icons/cw-icons/fonts/cwCrewControlFont/Crew Control.woff2 +0 -0
  77. package/dist/content/icons/cw-icons/fonts/cwCrewControlNewIcon/CblCrewControlReact.eot +0 -0
  78. package/dist/content/icons/cw-icons/fonts/cwCrewControlNewIcon/CblCrewControlReact.svg +12 -0
  79. package/dist/content/icons/cw-icons/fonts/cwCrewControlNewIcon/CblCrewControlReact.ttf +0 -0
  80. package/dist/content/icons/cw-icons/fonts/cwCrewControlNewIcon/CblCrewControlReact.woff +0 -0
  81. package/dist/content/icons/cw-icons/fonts/cwCrewControlNewIcon/CblDutyIcon.eot +0 -0
  82. package/dist/content/icons/cw-icons/fonts/cwCrewControlNewIcon/CblDutyIcon.svg +11 -0
  83. package/dist/content/icons/cw-icons/fonts/cwCrewControlNewIcon/CblDutyIcon.ttf +0 -0
  84. package/dist/content/icons/cw-icons/fonts/cwCrewControlNewIcon/CblDutyIcon.woff +0 -0
  85. package/dist/content/icons/cw-icons/fonts/cwCrewControlNewIcon/SessionWarning.eot +0 -0
  86. package/dist/content/icons/cw-icons/fonts/cwCrewControlNewIcon/SessionWarning.svg +12 -0
  87. package/dist/content/icons/cw-icons/fonts/cwCrewControlNewIcon/SessionWarning.ttf +0 -0
  88. package/dist/content/icons/cw-icons/fonts/cwCrewControlNewIcon/SessionWarning.woff +0 -0
  89. package/dist/content/icons/cw-icons/fonts/cwCrewControlNewIcon/cblDuty.eot +0 -0
  90. package/dist/content/icons/cw-icons/fonts/cwCrewControlNewIcon/cblDuty.svg +26 -0
  91. package/dist/content/icons/cw-icons/fonts/cwCrewControlNewIcon/cblDuty.ttf +0 -0
  92. package/dist/content/icons/cw-icons/fonts/cwCrewControlNewIcon/cblDuty.woff +0 -0
  93. package/dist/content/icons/cw-icons/fonts/cwCrewControlNewIcon/cblDuty.woff2 +0 -0
  94. package/dist/content/icons/cw-icons/fonts/cwCrewControlNewIcon/cblcrewcontrol.eot +0 -0
  95. package/dist/content/icons/cw-icons/fonts/cwCrewControlNewIcon/cblcrewcontrol.svg +13 -0
  96. package/dist/content/icons/cw-icons/fonts/cwCrewControlNewIcon/cblcrewcontrol.ttf +0 -0
  97. package/dist/content/icons/cw-icons/fonts/cwCrewControlNewIcon/cblcrewcontrol.woff +0 -0
  98. package/dist/content/icons/cw-icons/fonts/cwCrewControlNewIcon/cblcrewcontrolfont.eot +0 -0
  99. package/dist/content/icons/cw-icons/fonts/cwCrewControlNewIcon/cblcrewcontrolfont.svg +29 -0
  100. package/dist/content/icons/cw-icons/fonts/cwCrewControlNewIcon/cblcrewcontrolfont.ttf +0 -0
  101. package/dist/content/icons/cw-icons/fonts/cwCrewControlNewIcon/cblcrewcontrolfont.woff +0 -0
  102. package/dist/content/icons/cw-icons/fonts/cwCrewControlNewIcon/cblcrewcontrolfont.woff2 +0 -0
  103. package/dist/content/icons/cw-icons/fonts/cwCrewFont/Crew.eot +0 -0
  104. package/dist/content/icons/cw-icons/fonts/cwCrewFont/Crew.svg +29 -0
  105. package/dist/content/icons/cw-icons/fonts/cwCrewFont/Crew.ttf +0 -0
  106. package/dist/content/icons/cw-icons/fonts/cwCrewFont/Crew.woff +0 -0
  107. package/dist/content/icons/cw-icons/fonts/cwCrewFont/Crew.woff2 +0 -0
  108. package/dist/content/icons/cw-icons/fonts/cwCrewPlanningFont/Crew Planning.eot +0 -0
  109. package/dist/content/icons/cw-icons/fonts/cwCrewPlanningFont/Crew Planning.svg +17 -0
  110. package/dist/content/icons/cw-icons/fonts/cwCrewPlanningFont/Crew Planning.ttf +0 -0
  111. package/dist/content/icons/cw-icons/fonts/cwCrewPlanningFont/Crew Planning.woff +0 -0
  112. package/dist/content/icons/cw-icons/fonts/cwCrewPlanningFont/Crew Planning.woff2 +0 -0
  113. package/dist/content/icons/cw-icons/fonts/cwCrewPlanningFont/CrewPlanningFont.eot +0 -0
  114. package/dist/content/icons/cw-icons/fonts/cwCrewPlanningFont/CrewPlanningFont.svg +20 -0
  115. package/dist/content/icons/cw-icons/fonts/cwCrewPlanningFont/CrewPlanningFont.ttf +0 -0
  116. package/dist/content/icons/cw-icons/fonts/cwCrewPlanningFont/CrewPlanningFont.woff +0 -0
  117. package/dist/content/icons/cw-icons/fonts/cwCrewPlanningFont/CrewPlanningFont.woff2 +0 -0
  118. package/dist/content/icons/cw-icons/fonts/cwCrewPlanningFont/CrewSchedulingFont.eot +0 -0
  119. package/dist/content/icons/cw-icons/fonts/cwCrewPlanningFont/CrewSchedulingFont.svg +12 -0
  120. package/dist/content/icons/cw-icons/fonts/cwCrewPlanningFont/CrewSchedulingFont.ttf +0 -0
  121. package/dist/content/icons/cw-icons/fonts/cwCrewPlanningFont/CrewSchedulingFont.woff +0 -0
  122. package/dist/content/icons/cw-icons/fonts/cwDispatchFont/Dispatch.eot +0 -0
  123. package/dist/content/icons/cw-icons/fonts/cwDispatchFont/Dispatch.svg +20 -0
  124. package/dist/content/icons/cw-icons/fonts/cwDispatchFont/Dispatch.ttf +0 -0
  125. package/dist/content/icons/cw-icons/fonts/cwDispatchFont/Dispatch.woff +0 -0
  126. package/dist/content/icons/cw-icons/fonts/cwDispatchFont/Dispatch.woff2 +0 -0
  127. package/dist/content/icons/cw-icons/fonts/cwEmanualFont/ArchiveEmanual.eot +0 -0
  128. package/dist/content/icons/cw-icons/fonts/cwEmanualFont/ArchiveEmanual.svg +12 -0
  129. package/dist/content/icons/cw-icons/fonts/cwEmanualFont/ArchiveEmanual.ttf +0 -0
  130. package/dist/content/icons/cw-icons/fonts/cwEmanualFont/ArchiveEmanual.woff +0 -0
  131. package/dist/content/icons/cw-icons/fonts/cwEmanualFont/CblEmanualNewIcons.eot +0 -0
  132. package/dist/content/icons/cw-icons/fonts/cwEmanualFont/CblEmanualNewIcons.svg +14 -0
  133. package/dist/content/icons/cw-icons/fonts/cwEmanualFont/CblEmanualNewIcons.ttf +0 -0
  134. package/dist/content/icons/cw-icons/fonts/cwEmanualFont/CblEmanualNewIcons.woff +0 -0
  135. package/dist/content/icons/cw-icons/fonts/cwEmanualFont/Emanual.eot +0 -0
  136. package/dist/content/icons/cw-icons/fonts/cwEmanualFont/Emanual.svg +38 -0
  137. package/dist/content/icons/cw-icons/fonts/cwEmanualFont/Emanual.ttf +0 -0
  138. package/dist/content/icons/cw-icons/fonts/cwEmanualFont/Emanual.woff +0 -0
  139. package/dist/content/icons/cw-icons/fonts/cwEmanualFont/Emanual.woff2 +0 -0
  140. package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualApprovedFile.eot +0 -0
  141. package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualApprovedFile.svg +11 -0
  142. package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualApprovedFile.ttf +0 -0
  143. package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualApprovedFile.woff +0 -0
  144. package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualBookMark.eot +0 -0
  145. package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualBookMark.svg +17 -0
  146. package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualBookMark.ttf +0 -0
  147. package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualBookMark.woff +0 -0
  148. package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualBookMark.woff2 +0 -0
  149. package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualBookMarkLink.eot +0 -0
  150. package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualBookMarkLink.svg +11 -0
  151. package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualBookMarkLink.ttf +0 -0
  152. package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualBookMarkLink.woff +0 -0
  153. package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualFolder.eot +0 -0
  154. package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualFolder.svg +11 -0
  155. package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualFolder.ttf +0 -0
  156. package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualFolder.woff +0 -0
  157. package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualFont.eot +0 -0
  158. package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualFont.svg +13 -0
  159. package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualFont.ttf +0 -0
  160. package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualFont.woff +0 -0
  161. package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualFontNew.eot +0 -0
  162. package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualFontNew.svg +32 -0
  163. package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualFontNew.ttf +0 -0
  164. package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualFontNew.woff +0 -0
  165. package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualFontNew.woff2 +0 -0
  166. package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualPendingIcon.eot +0 -0
  167. package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualPendingIcon.svg +11 -0
  168. package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualPendingIcon.ttf +0 -0
  169. package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualPendingIcon.woff +0 -0
  170. package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualPublishFile.eot +0 -0
  171. package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualPublishFile.svg +11 -0
  172. package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualPublishFile.ttf +0 -0
  173. package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualPublishFile.woff +0 -0
  174. package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualPublishIconFile.eot +0 -0
  175. package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualPublishIconFile.svg +11 -0
  176. package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualPublishIconFile.ttf +0 -0
  177. package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualPublishIconFile.woff +0 -0
  178. package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualRestoreTrash.eot +0 -0
  179. package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualRestoreTrash.svg +11 -0
  180. package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualRestoreTrash.ttf +0 -0
  181. package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualRestoreTrash.woff +0 -0
  182. package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualRestoreTrashRight.eot +0 -0
  183. package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualRestoreTrashRight.svg +11 -0
  184. package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualRestoreTrashRight.ttf +0 -0
  185. package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualRestoreTrashRight.woff +0 -0
  186. package/dist/content/icons/cw-icons/fonts/cwEmanualFont/LibraryIcon.eot +0 -0
  187. package/dist/content/icons/cw-icons/fonts/cwEmanualFont/LibraryIcon.svg +12 -0
  188. package/dist/content/icons/cw-icons/fonts/cwEmanualFont/LibraryIcon.ttf +0 -0
  189. package/dist/content/icons/cw-icons/fonts/cwEmanualFont/LibraryIcon.woff +0 -0
  190. package/dist/content/icons/cw-icons/fonts/cwFavoritesElement/Favorites.eot +0 -0
  191. package/dist/content/icons/cw-icons/fonts/cwFavoritesElement/Favorites.svg +158 -0
  192. package/dist/content/icons/cw-icons/fonts/cwFavoritesElement/Favorites.ttf +0 -0
  193. package/dist/content/icons/cw-icons/fonts/cwFavoritesElement/Favorites.woff +0 -0
  194. package/dist/content/icons/cw-icons/fonts/cwFavoritesElement/Favorites.woff2 +0 -0
  195. package/dist/content/icons/cw-icons/fonts/cwFavoritesElement/cwellt_icon.eot +0 -0
  196. package/dist/content/icons/cw-icons/fonts/cwFavoritesElement/cwellt_icon.svg +18 -0
  197. package/dist/content/icons/cw-icons/fonts/cwFavoritesElement/cwellt_icon.ttf +0 -0
  198. package/dist/content/icons/cw-icons/fonts/cwFavoritesElement/cwellt_icon.woff +0 -0
  199. package/dist/content/icons/cw-icons/fonts/cwFavoritesFont/Favorites.eot +0 -0
  200. package/dist/content/icons/cw-icons/fonts/cwFavoritesFont/Favorites.svg +62 -0
  201. package/dist/content/icons/cw-icons/fonts/cwFavoritesFont/Favorites.ttf +0 -0
  202. package/dist/content/icons/cw-icons/fonts/cwFavoritesFont/Favorites.woff +0 -0
  203. package/dist/content/icons/cw-icons/fonts/cwFavoritesFont/Favorites.woff2 +0 -0
  204. package/dist/content/icons/cw-icons/fonts/cwFavoritesIcons/CblFavoritesIcons.eot +0 -0
  205. package/dist/content/icons/cw-icons/fonts/cwFavoritesIcons/CblFavoritesIcons.svg +43 -0
  206. package/dist/content/icons/cw-icons/fonts/cwFavoritesIcons/CblFavoritesIcons.ttf +0 -0
  207. package/dist/content/icons/cw-icons/fonts/cwFavoritesIcons/CblFavoritesIcons.woff +0 -0
  208. package/dist/content/icons/cw-icons/fonts/cwFgIconsFonts/CblFigIcons.eot +0 -0
  209. package/dist/content/icons/cw-icons/fonts/cwFgIconsFonts/CblFigIcons.svg +49 -0
  210. package/dist/content/icons/cw-icons/fonts/cwFgIconsFonts/CblFigIcons.ttf +0 -0
  211. package/dist/content/icons/cw-icons/fonts/cwFgIconsFonts/CblFigIcons.woff +0 -0
  212. package/dist/content/icons/cw-icons/fonts/cwFlightOpsFont/FlightOps.eot +0 -0
  213. package/dist/content/icons/cw-icons/fonts/cwFlightOpsFont/FlightOps.svg +41 -0
  214. package/dist/content/icons/cw-icons/fonts/cwFlightOpsFont/FlightOps.ttf +0 -0
  215. package/dist/content/icons/cw-icons/fonts/cwFlightOpsFont/FlightOps.woff +0 -0
  216. package/dist/content/icons/cw-icons/fonts/cwFlightOpsFont/FlightOps.woff2 +0 -0
  217. package/dist/content/icons/cw-icons/fonts/cwGeneralFont/CblUndoIcon.eot +0 -0
  218. package/dist/content/icons/cw-icons/fonts/cwGeneralFont/CblUndoIcon.svg +11 -0
  219. package/dist/content/icons/cw-icons/fonts/cwGeneralFont/CblUndoIcon.ttf +0 -0
  220. package/dist/content/icons/cw-icons/fonts/cwGeneralFont/CblUndoIcon.woff +0 -0
  221. package/dist/content/icons/cw-icons/fonts/cwGeneralFont/FlightWatchOnTimeIcon.eot +0 -0
  222. package/dist/content/icons/cw-icons/fonts/cwGeneralFont/FlightWatchOnTimeIcon.svg +11 -0
  223. package/dist/content/icons/cw-icons/fonts/cwGeneralFont/FlightWatchOnTimeIcon.ttf +0 -0
  224. package/dist/content/icons/cw-icons/fonts/cwGeneralFont/FlightWatchOnTimeIcon.woff +0 -0
  225. package/dist/content/icons/cw-icons/fonts/cwGeneralFont/General.eot +0 -0
  226. package/dist/content/icons/cw-icons/fonts/cwGeneralFont/General.svg +41 -0
  227. package/dist/content/icons/cw-icons/fonts/cwGeneralFont/General.ttf +0 -0
  228. package/dist/content/icons/cw-icons/fonts/cwGeneralFont/General.woff +0 -0
  229. package/dist/content/icons/cw-icons/fonts/cwGeneralFont/General.woff2 +0 -0
  230. package/dist/content/icons/cw-icons/fonts/cwGeneralFont/IDCardStatusIcon.eot +0 -0
  231. package/dist/content/icons/cw-icons/fonts/cwGeneralFont/IDCardStatusIcon.svg +12 -0
  232. package/dist/content/icons/cw-icons/fonts/cwGeneralFont/IDCardStatusIcon.ttf +0 -0
  233. package/dist/content/icons/cw-icons/fonts/cwGeneralFont/IDCardStatusIcon.woff +0 -0
  234. package/dist/content/icons/cw-icons/fonts/cwNewGeneralFontIcon/Favorites.eot +0 -0
  235. package/dist/content/icons/cw-icons/fonts/cwNewGeneralFontIcon/Favorites.svg +17 -0
  236. package/dist/content/icons/cw-icons/fonts/cwNewGeneralFontIcon/Favorites.ttf +0 -0
  237. package/dist/content/icons/cw-icons/fonts/cwNewGeneralFontIcon/Favorites.woff +0 -0
  238. package/dist/content/icons/cw-icons/fonts/cwNewGeneralFontIcon/Favorites.woff2 +0 -0
  239. package/dist/content/icons/cw-icons/fonts/cwNewGeneralFontIcon/calculator.eot +0 -0
  240. package/dist/content/icons/cw-icons/fonts/cwNewGeneralFontIcon/calculator.svg +11 -0
  241. package/dist/content/icons/cw-icons/fonts/cwNewGeneralFontIcon/calculator.ttf +0 -0
  242. package/dist/content/icons/cw-icons/fonts/cwNewGeneralFontIcon/calculator.woff +0 -0
  243. package/dist/content/icons/cw-icons/fonts/cwNewGeneralFontIcon/icons_cwellt.eot +0 -0
  244. package/dist/content/icons/cw-icons/fonts/cwNewGeneralFontIcon/icons_cwellt.svg +11 -0
  245. package/dist/content/icons/cw-icons/fonts/cwNewGeneralFontIcon/icons_cwellt.ttf +0 -0
  246. package/dist/content/icons/cw-icons/fonts/cwNewGeneralFontIcon/icons_cwellt.woff +0 -0
  247. package/dist/content/icons/cw-icons/fonts/cwOpstoolReactFont/opstoolReactIcons.eot +0 -0
  248. package/dist/content/icons/cw-icons/fonts/cwOpstoolReactFont/opstoolReactIcons.svg +12 -0
  249. package/dist/content/icons/cw-icons/fonts/cwOpstoolReactFont/opstoolReactIcons.ttf +0 -0
  250. package/dist/content/icons/cw-icons/fonts/cwOpstoolReactFont/opstoolReactIcons.woff +0 -0
  251. package/dist/content/icons/cw-icons/fonts/cwPaxRelationsFont/Pax Relations.eot +0 -0
  252. package/dist/content/icons/cw-icons/fonts/cwPaxRelationsFont/Pax Relations.svg +17 -0
  253. package/dist/content/icons/cw-icons/fonts/cwPaxRelationsFont/Pax Relations.ttf +0 -0
  254. package/dist/content/icons/cw-icons/fonts/cwPaxRelationsFont/Pax Relations.woff +0 -0
  255. package/dist/content/icons/cw-icons/fonts/cwPaxRelationsFont/Pax Relations.woff2 +0 -0
  256. package/dist/content/icons/cw-icons/fonts/cwSalesFont/Sales.eot +0 -0
  257. package/dist/content/icons/cw-icons/fonts/cwSalesFont/Sales.svg +50 -0
  258. package/dist/content/icons/cw-icons/fonts/cwSalesFont/Sales.ttf +0 -0
  259. package/dist/content/icons/cw-icons/fonts/cwSalesFont/Sales.woff +0 -0
  260. package/dist/content/icons/cw-icons/fonts/cwSalesFont/Sales.woff2 +0 -0
  261. package/dist/content/icons/cw-icons/fonts/cwTrainingFont/Training.eot +0 -0
  262. package/dist/content/icons/cw-icons/fonts/cwTrainingFont/Training.svg +17 -0
  263. package/dist/content/icons/cw-icons/fonts/cwTrainingFont/Training.ttf +0 -0
  264. package/dist/content/icons/cw-icons/fonts/cwTrainingFont/Training.woff +0 -0
  265. package/dist/content/icons/cw-icons/fonts/cwTrainingFont/Training.woff2 +0 -0
  266. package/dist/content/icons/font-awesome/webfonts/fa-brands-400.ttf +0 -0
  267. package/dist/content/icons/font-awesome/webfonts/fa-regular-400.ttf +0 -0
  268. package/dist/content/icons/font-awesome/webfonts/fa-solid-900.ttf +0 -0
  269. package/dist/content/icons/font-awesome/webfonts/fa-v4compatibility.ttf +0 -0
  270. package/dist/index.cjs.js +2 -2
  271. package/dist/index.cjs.js.map +1 -0
  272. package/dist/index.css.map +1 -0
  273. package/dist/index.d.ts.map +1 -0
  274. package/dist/index.es.js +2 -2
  275. package/dist/index.esm.js +4836 -0
  276. package/dist/src/common/functions/reactor.d.ts +2 -0
  277. package/dist/src/common/functions/reactor.d.ts.map +1 -0
  278. package/dist/src/components/control/input/chipper/CwChip.d.ts +12 -0
  279. package/dist/src/components/control/input/chipper/CwChip.d.ts.map +1 -0
  280. package/dist/src/components/custom/scheduler/components/ClearSchedulerButton.d.ts +8 -0
  281. package/dist/src/components/custom/scheduler/components/ClearSchedulerButton.d.ts.map +1 -0
  282. package/dist/src/components/custom/scheduler/logic/filtering/filterAndProcessResources.d.ts +14 -0
  283. package/dist/src/components/custom/scheduler/logic/filtering/filterAndProcessResources.d.ts.map +1 -0
  284. package/dist/src/components/custom/scheduler/logic/pixels/calculateMaxPxFromDateRange.d.ts +2 -0
  285. package/dist/src/components/custom/scheduler/logic/pixels/calculateMaxPxFromDateRange.d.ts.map +1 -0
  286. package/dist/src/components/custom/scheduler/logic/state_handle/handleDateChange.d.ts +5 -0
  287. package/dist/src/components/custom/scheduler/logic/state_handle/handleDateChange.d.ts.map +1 -0
  288. package/dist/src/components/custom/scheduler/logic/state_handle/handlePropChanges.d.ts +5 -0
  289. package/dist/src/components/custom/scheduler/logic/state_handle/handlePropChanges.d.ts.map +1 -0
  290. package/dist/src/components/custom/scheduler/logic/state_handle/onResizeEvent.d.ts +3 -0
  291. package/dist/src/components/custom/scheduler/logic/state_handle/onResizeEvent.d.ts.map +1 -0
  292. package/dist/src/components/custom/scheduler/logic/ui/getHasPropsChanged.d.ts +3 -0
  293. package/dist/src/components/custom/scheduler/logic/ui/getHasPropsChanged.d.ts.map +1 -0
  294. package/dist/src/components/custom/scheduler/logic/ui/shouldTriggerScroll.d.ts +3 -0
  295. package/dist/src/components/custom/scheduler/logic/ui/shouldTriggerScroll.d.ts.map +1 -0
  296. package/dist/src/components/custom/scheduler/state/EventProps.d.ts +7 -0
  297. package/dist/src/components/custom/scheduler/state/EventProps.d.ts.map +1 -0
  298. package/dist/src/components/custom/scheduler-new/presentation/components/row/BackgrounEvent.d.ts +1 -0
  299. package/dist/src/components/custom/scheduler-new/presentation/components/row/BackgrounEvent.d.ts.map +1 -0
  300. package/dist/src/components/custom/scheduler-new/presentation/components/row/cancellablePromise.d.ts +7 -0
  301. package/dist/src/components/custom/scheduler-new/presentation/components/row/cancellablePromise.d.ts.map +1 -0
  302. package/dist/src/components/custom/scheduler-new/presentation/components/row/useCancellablePromise.d.ts +7 -0
  303. package/dist/src/components/custom/scheduler-new/presentation/components/row/useCancellablePromise.d.ts.map +1 -0
  304. package/dist/src/components/custom/scheduler-new/presentation/logic/separateEventsByResource.d.ts +5 -0
  305. package/dist/src/components/custom/scheduler-new/presentation/logic/separateEventsByResource.d.ts.map +1 -0
  306. package/dist/src/components/custom/scheduler-new/presentation/state/external/Event.d.ts +9 -0
  307. package/dist/src/components/custom/scheduler-new/presentation/state/external/Event.d.ts.map +1 -0
  308. package/dist/src/components/custom/scheduler-new/presentation/state/external/Row.d.ts +5 -0
  309. package/dist/src/components/custom/scheduler-new/presentation/state/external/Row.d.ts.map +1 -0
  310. package/dist/src/components/custom/scheduler-new/presentation/state/ui/EventSideDragState.d.ts +6 -0
  311. package/dist/src/components/custom/scheduler-new/presentation/state/ui/EventSideDragState.d.ts.map +1 -0
  312. package/dist/src/components/custom/scheduler-new/presentation/state/ui/HeaderDivision.d.ts +5 -0
  313. package/dist/src/components/custom/scheduler-new/presentation/state/ui/HeaderDivision.d.ts.map +1 -0
  314. package/dist/src/components/custom/scheduler-new/presentation/state/ui/SchedulerEventState.d.ts +14 -0
  315. package/dist/src/components/custom/scheduler-new/presentation/state/ui/SchedulerEventState.d.ts.map +1 -0
  316. package/dist/src/components/custom/scheduler-new/presentation/state/ui/SchedulerHeaderState.d.ts +11 -0
  317. package/dist/src/components/custom/scheduler-new/presentation/state/ui/SchedulerHeaderState.d.ts.map +1 -0
  318. package/dist/src/components/custom/scheduler-new/presentation/state/ui/SchedulerRow.d.ts +8 -0
  319. package/dist/src/components/custom/scheduler-new/presentation/state/ui/SchedulerRow.d.ts.map +1 -0
  320. package/dist/test/components/custom/newScheduler/presentation/logic/getDefaultDivisions.test.d.ts.map +1 -0
  321. package/dist/test/components/custom/scheduler/calculateMaxPxFromDateRange.test.d.ts +2 -0
  322. package/dist/test/components/custom/scheduler/calculateMaxPxFromDateRange.test.d.ts.map +1 -0
  323. package/dist/test/components/custom/scheduler/filterEvents.test.d.ts.map +1 -0
  324. package/dist/test/components/custom/scheduler/shouldTriggerScroll.test.d.ts.map +1 -0
  325. package/dist/test/example.test.d.ts +1 -0
  326. package/dist/test/example.test.d.ts.map +1 -0
  327. package/package.json +1 -1
  328. package/dist/src/common/classes/CwSelectList.js +0 -12
  329. package/dist/src/common/classes/CwSelectListItems.js +0 -14
  330. package/dist/src/common/functions/collections.js +0 -18
  331. package/dist/src/common/functions/colorManipulation.js +0 -76
  332. package/dist/src/common/functions/dsl/UiEventDSL.js +0 -20
  333. package/dist/src/common/functions/useSingleAndDoubleClicks.js +0 -28
  334. package/dist/src/components/control/action/button/CwButton.js +0 -13
  335. package/dist/src/components/control/action/buttons/CwButtons.js +0 -188
  336. package/dist/src/components/control/action/contextmenu/CwContextMenu.js +0 -43
  337. package/dist/src/components/control/action/contextual-menu/CwContextualMenu.js +0 -55
  338. package/dist/src/components/control/action/search/CwSearch.js +0 -67
  339. package/dist/src/components/control/action/tooltip-dialog/CwTooltipDialog.js +0 -11
  340. package/dist/src/components/control/choice/checkbox/CwCheckbox.js +0 -15
  341. package/dist/src/components/control/choice/deprecated/MultiSelect_deprecated_.js +0 -99
  342. package/dist/src/components/control/choice/dropdown/CwDropdown.js +0 -27
  343. package/dist/src/components/control/choice/dropdown/CwDropdownContainer.js +0 -30
  344. package/dist/src/components/control/choice/dropdown/CwDropdownFilter.js +0 -10
  345. package/dist/src/components/control/choice/multi-filter/CwMultiFilter.js +0 -298
  346. package/dist/src/components/control/choice/multi-filter/components/tag/CwMultiFilterTag.js +0 -17
  347. package/dist/src/components/control/choice/multiselect/CwHeadFilter.js +0 -80
  348. package/dist/src/components/control/choice/multiselect/CwMultiselect.js +0 -393
  349. package/dist/src/components/control/choice/multiselect/CwOptionList.js +0 -36
  350. package/dist/src/components/control/choice/option/CwOption.js +0 -16
  351. package/dist/src/components/control/choice/select/CwSelect.js +0 -36
  352. package/dist/src/components/control/choice/toggle/CwToggle.js +0 -9
  353. package/dist/src/components/control/input/any/CwInput.js +0 -16
  354. package/dist/src/components/control/input/color/CwColorPicker.js +0 -210
  355. package/dist/src/components/control/input/color/CwInputColor.js +0 -142
  356. package/dist/src/components/control/input/date/CwInputDate.js +0 -29
  357. package/dist/src/components/control/input/date-picker/CwInputDatePicker.js +0 -109
  358. package/dist/src/components/control/input/date-text/CwInputDateText.js +0 -90
  359. package/dist/src/components/control/input/datetime/CwInputDatetime.js +0 -29
  360. package/dist/src/components/control/input/digit/CwDigit.js +0 -28
  361. package/dist/src/components/control/input/file/CwFileUpload.js +0 -52
  362. package/dist/src/components/control/input/file/CwFileUploadMultiple.js +0 -148
  363. package/dist/src/components/control/input/image/CwInputImage.js +0 -52
  364. package/dist/src/components/control/input/image-area/CwImageArea.js +0 -113
  365. package/dist/src/components/control/input/number/CwInputNumber.js +0 -11
  366. package/dist/src/components/control/input/phone/CwInputPhone.js +0 -24
  367. package/dist/src/components/control/input/text/CwInputText.js +0 -31
  368. package/dist/src/components/control/input/text-area/CwTextArea.js +0 -9
  369. package/dist/src/components/control/input/time/CwTime.js +0 -29
  370. package/dist/src/components/control/input/weekday/CwWeekdaySelector.js +0 -143
  371. package/dist/src/components/custom/find-airport/CwFindAirportComp.js +0 -240
  372. package/dist/src/components/custom/scheduler/CwSchedulerComp.js +0 -211
  373. package/dist/src/components/custom/scheduler/CwSuperSchedulerComp.js +0 -269
  374. package/dist/src/components/custom/scheduler/components/EventRender.js +0 -142
  375. package/dist/src/components/custom/scheduler/components/ResourceListRender.js +0 -12
  376. package/dist/src/components/custom/scheduler/components/ResourceRender.js +0 -26
  377. package/dist/src/components/custom/scheduler/components/day_headers/DayHeader.js +0 -13
  378. package/dist/src/components/custom/scheduler/components/day_headers/MonthHeader.js +0 -12
  379. package/dist/src/components/custom/scheduler/components/day_headers/MyDaysHeader.js +0 -62
  380. package/dist/src/components/custom/scheduler/components/day_headers/WeekHeader.js +0 -13
  381. package/dist/src/components/custom/scheduler/components/resources_title_list/ResourcesTitleList.js +0 -24
  382. package/dist/src/components/custom/scheduler/components/scheduler_content_area/SchedulerContentArea.js +0 -17
  383. package/dist/src/components/custom/scheduler/components/scheduler_header/SchedulerHeader.js +0 -26
  384. package/dist/src/components/custom/scheduler/components/scheduler_timeline/SchedulerTimeLine.js +0 -23
  385. package/dist/src/components/custom/scheduler/components/time_headers/TimeHeader.js +0 -31
  386. package/dist/src/components/custom/scheduler/components/time_headers/TimeHeaderRow.js +0 -16
  387. package/dist/src/components/custom/scheduler/components/time_line/TimeLine.js +0 -12
  388. package/dist/src/components/custom/scheduler/logic/dates/addMinutesToDateFromPx.js +0 -5
  389. package/dist/src/components/custom/scheduler/logic/dates/daysBetweenTwoDates.js +0 -15
  390. package/dist/src/components/custom/scheduler/logic/dates/daysBetweenTwoDatesWithoutCeil.js +0 -5
  391. package/dist/src/components/custom/scheduler/logic/dates/getFormatedTimeForHeader.js +0 -43
  392. package/dist/src/components/custom/scheduler/logic/dates/getMonthHeaderData.js +0 -35
  393. package/dist/src/components/custom/scheduler/logic/dates/getUtcToday.js +0 -6
  394. package/dist/src/components/custom/scheduler/logic/dates/getWeekHeaderDataFromWeekRange.js +0 -20
  395. package/dist/src/components/custom/scheduler/logic/dates/listOfDatesToWeeks.js +0 -55
  396. package/dist/src/components/custom/scheduler/logic/divisions/calculateDivisionType.js +0 -13
  397. package/dist/src/components/custom/scheduler/logic/divisions/calculateDivisions.js +0 -16
  398. package/dist/src/components/custom/scheduler/logic/filtering/filterEvents.js +0 -33
  399. package/dist/src/components/custom/scheduler/logic/filtering/filterResources.js +0 -14
  400. package/dist/src/components/custom/scheduler/logic/filtering/hasSameProperties.js +0 -10
  401. package/dist/src/components/custom/scheduler/logic/onDrop/OnDrop.js +0 -45
  402. package/dist/src/components/custom/scheduler/logic/pixels/getHeightLineScheduler.js +0 -14
  403. package/dist/src/components/custom/scheduler/logic/pixels/getPixelsForEvent.js +0 -32
  404. package/dist/src/components/custom/scheduler/logic/pixels/heightScheduler.js +0 -14
  405. package/dist/src/components/custom/scheduler/logic/pixels/heightSchedulerPinned.js +0 -9
  406. package/dist/src/components/custom/scheduler/logic/state_handle/doubleClickOnResource.js +0 -5
  407. package/dist/src/components/custom/scheduler/logic/state_handle/handleResourceChange.js +0 -11
  408. package/dist/src/components/custom/scheduler/logic/state_handle/onDragOver.js +0 -9
  409. package/dist/src/components/custom/scheduler/logic/state_handle/onDropEventToResource.js +0 -3
  410. package/dist/src/components/custom/scheduler/logic/strings/compareStrings.js +0 -7
  411. package/dist/src/components/custom/scheduler/logic/strings/getGUID.js +0 -7
  412. package/dist/src/components/custom/scheduler/logic/ui/checkIfSlotAvailable.js +0 -8
  413. package/dist/src/components/custom/scheduler/logic/ui/getEventsOfResource.js +0 -45
  414. package/dist/src/components/custom/scheduler/logic/ui/getTimeHeaders.js +0 -35
  415. package/dist/src/components/custom/scheduler/logic/ui/isAllowedToMove.js +0 -19
  416. package/dist/src/components/custom/scheduler/logic/ui/updateResourceVisibility.js +0 -15
  417. package/dist/src/components/custom/scheduler/state/CblDragAndDrop.js +0 -18
  418. package/dist/src/components/custom/scheduler/state/CwSchedulerProps.js +0 -1
  419. package/dist/src/components/custom/scheduler/state/Resource.js +0 -18
  420. package/dist/src/components/custom/scheduler/state/State.js +0 -1
  421. package/dist/src/components/custom/scheduler/state/cblEvent.js +0 -28
  422. package/dist/src/components/custom/scheduler/state/cblEventCompProps.js +0 -1
  423. package/dist/src/components/custom/scheduler/state/resourceCompProps2.js +0 -1
  424. package/dist/src/components/custom/scheduler-new/presentation/NewScheduler.js +0 -123
  425. package/dist/src/components/custom/scheduler-new/presentation/NewSchedulerUiEvents.js +0 -118
  426. package/dist/src/components/custom/scheduler-new/presentation/SchedulerPresenter.js +0 -166
  427. package/dist/src/components/custom/scheduler-new/presentation/components/header/HeaderDivision.js +0 -26
  428. package/dist/src/components/custom/scheduler-new/presentation/components/header/HeaderTitle.js +0 -8
  429. package/dist/src/components/custom/scheduler-new/presentation/components/header/SchedulerHeader.js +0 -86
  430. package/dist/src/components/custom/scheduler-new/presentation/components/row/BackgroundEvent.js +0 -60
  431. package/dist/src/components/custom/scheduler-new/presentation/components/row/DefaultRowHeader.js +0 -24
  432. package/dist/src/components/custom/scheduler-new/presentation/components/row/Event.js +0 -150
  433. package/dist/src/components/custom/scheduler-new/presentation/components/row/EventSideDrag.js +0 -11
  434. package/dist/src/components/custom/scheduler-new/presentation/components/row/SchedulerRow.js +0 -176
  435. package/dist/src/components/custom/scheduler-new/presentation/components/timeline/DivisionLine.js +0 -8
  436. package/dist/src/components/custom/scheduler-new/presentation/components/timeline/TimeLine.js +0 -39
  437. package/dist/src/components/custom/scheduler-new/presentation/components/timeline/WeekEndLine.js +0 -8
  438. package/dist/src/components/custom/scheduler-new/presentation/helpers.js +0 -43
  439. package/dist/src/components/custom/scheduler-new/presentation/logic/WeekendCalc.js +0 -24
  440. package/dist/src/components/custom/scheduler-new/presentation/logic/dateFromPercentage.js +0 -7
  441. package/dist/src/components/custom/scheduler-new/presentation/logic/eventIsVisible.js +0 -7
  442. package/dist/src/components/custom/scheduler-new/presentation/logic/getDefaultDivisions.js +0 -113
  443. package/dist/src/components/custom/scheduler-new/presentation/logic/getDivisions.js +0 -21
  444. package/dist/src/components/custom/scheduler-new/presentation/logic/getEventSizes.js +0 -30
  445. package/dist/src/components/custom/scheduler-new/presentation/logic/getLinesByDivisions.js +0 -13
  446. package/dist/src/components/custom/scheduler-new/presentation/logic/getPercentageFromMouseEvent.js +0 -7
  447. package/dist/src/components/custom/scheduler-new/presentation/logic/separateEventsToInnerRows.js +0 -32
  448. package/dist/src/components/custom/scheduler-new/presentation/logic/sortByCategoryAndTitle.js +0 -12
  449. package/dist/src/components/custom/scheduler-temporal/CwSchedulerComp2.js +0 -267
  450. package/dist/src/components/custom/scheduler-temporal/CwSuperSchedulerComp.js +0 -269
  451. package/dist/src/components/custom/scheduler-temporal/components/EventRender.js +0 -142
  452. package/dist/src/components/custom/scheduler-temporal/components/ResourceListRender.js +0 -12
  453. package/dist/src/components/custom/scheduler-temporal/components/ResourceRender.js +0 -26
  454. package/dist/src/components/custom/scheduler-temporal/components/day_headers/DayHeader.js +0 -13
  455. package/dist/src/components/custom/scheduler-temporal/components/day_headers/MonthHeader.js +0 -12
  456. package/dist/src/components/custom/scheduler-temporal/components/day_headers/MyDaysHeader.js +0 -62
  457. package/dist/src/components/custom/scheduler-temporal/components/day_headers/WeekHeader.js +0 -13
  458. package/dist/src/components/custom/scheduler-temporal/components/resources_title_list/ResourcesTitleList.js +0 -22
  459. package/dist/src/components/custom/scheduler-temporal/components/scheduler_content_area/SchedulerContentArea.js +0 -17
  460. package/dist/src/components/custom/scheduler-temporal/components/scheduler_header/SchedulerHeader.js +0 -26
  461. package/dist/src/components/custom/scheduler-temporal/components/scheduler_timeline/SchedulerTimeLine.js +0 -23
  462. package/dist/src/components/custom/scheduler-temporal/components/time_headers/TimeHeader.js +0 -31
  463. package/dist/src/components/custom/scheduler-temporal/components/time_headers/TimeHeaderRow.js +0 -16
  464. package/dist/src/components/custom/scheduler-temporal/components/time_line/TimeLine.js +0 -12
  465. package/dist/src/components/custom/scheduler-temporal/logic/dates/addMinutesToDateFromPx.js +0 -5
  466. package/dist/src/components/custom/scheduler-temporal/logic/dates/daysBetweenTwoDates.js +0 -15
  467. package/dist/src/components/custom/scheduler-temporal/logic/dates/daysBetweenTwoDatesWithoutCeil.js +0 -5
  468. package/dist/src/components/custom/scheduler-temporal/logic/dates/getFormatedTimeForHeader.js +0 -43
  469. package/dist/src/components/custom/scheduler-temporal/logic/dates/getMonthHeaderData.js +0 -35
  470. package/dist/src/components/custom/scheduler-temporal/logic/dates/getUtcToday.js +0 -6
  471. package/dist/src/components/custom/scheduler-temporal/logic/dates/getWeekHeaderDataFromWeekRange.js +0 -20
  472. package/dist/src/components/custom/scheduler-temporal/logic/dates/listOfDatesToWeeks.js +0 -55
  473. package/dist/src/components/custom/scheduler-temporal/logic/divisions/calculateDivisionType.js +0 -13
  474. package/dist/src/components/custom/scheduler-temporal/logic/divisions/calculateDivisions.js +0 -16
  475. package/dist/src/components/custom/scheduler-temporal/logic/filtering/filterAndProcessResources.js +0 -10
  476. package/dist/src/components/custom/scheduler-temporal/logic/filtering/filterEvents.js +0 -34
  477. package/dist/src/components/custom/scheduler-temporal/logic/filtering/filterResources.js +0 -14
  478. package/dist/src/components/custom/scheduler-temporal/logic/filtering/hasSameProperties.js +0 -10
  479. package/dist/src/components/custom/scheduler-temporal/logic/onDrop/OnDrop.js +0 -36
  480. package/dist/src/components/custom/scheduler-temporal/logic/pixels/getHeightLineScheduler.js +0 -14
  481. package/dist/src/components/custom/scheduler-temporal/logic/pixels/getPixelsForEvent.js +0 -32
  482. package/dist/src/components/custom/scheduler-temporal/logic/pixels/heightScheduler.js +0 -14
  483. package/dist/src/components/custom/scheduler-temporal/logic/pixels/heightSchedulerPinned.js +0 -9
  484. package/dist/src/components/custom/scheduler-temporal/logic/state_handle/doubleClickOnResource.js +0 -5
  485. package/dist/src/components/custom/scheduler-temporal/logic/state_handle/handlePropChanges.js +0 -178
  486. package/dist/src/components/custom/scheduler-temporal/logic/state_handle/handleResourceChange.js +0 -11
  487. package/dist/src/components/custom/scheduler-temporal/logic/state_handle/onDragOver.js +0 -9
  488. package/dist/src/components/custom/scheduler-temporal/logic/state_handle/onDropEventToResource.js +0 -3
  489. package/dist/src/components/custom/scheduler-temporal/logic/state_handle/onResizeEvent.js +0 -3
  490. package/dist/src/components/custom/scheduler-temporal/logic/strings/compareStrings.js +0 -7
  491. package/dist/src/components/custom/scheduler-temporal/logic/strings/getGUID.js +0 -7
  492. package/dist/src/components/custom/scheduler-temporal/logic/ui/checkIfSlotAvailable.js +0 -9
  493. package/dist/src/components/custom/scheduler-temporal/logic/ui/getEventsOfResource.js +0 -92
  494. package/dist/src/components/custom/scheduler-temporal/logic/ui/getHasPropsChanged.js +0 -242
  495. package/dist/src/components/custom/scheduler-temporal/logic/ui/getTimeHeaders.js +0 -35
  496. package/dist/src/components/custom/scheduler-temporal/logic/ui/isAllowedToMove.js +0 -19
  497. package/dist/src/components/custom/scheduler-temporal/logic/ui/shouldTriggerScroll.js +0 -241
  498. package/dist/src/components/custom/scheduler-temporal/logic/ui/updateResourceVisibility.js +0 -15
  499. package/dist/src/components/custom/scheduler-temporal/state/CblDragAndDrop.js +0 -18
  500. package/dist/src/components/custom/scheduler-temporal/state/Resource.js +0 -18
  501. package/dist/src/components/custom/scheduler-temporal/state/cblEvent.js +0 -28
  502. package/dist/src/components/custom/scheduler-temporal/state/cblEventCompProps.js +0 -1
  503. package/dist/src/components/custom/scheduler-temporal/state/resourceCompProps2.js +0 -1
  504. package/dist/src/components/custom/super-scheduler/PinRowHeader.js +0 -53
  505. package/dist/src/components/custom/super-scheduler/SuperScheduler.js +0 -23
  506. package/dist/src/components/custom/super-scheduler/SuperSchedulerEvents.js +0 -15
  507. package/dist/src/components/custom/super-scheduler/SuperSchedulerPresenter.js +0 -45
  508. package/dist/src/components/display/data/accordion/CwAccordionContainer.js +0 -20
  509. package/dist/src/components/display/data/generic_tooltip/CwGenericTooltip.js +0 -138
  510. package/dist/src/components/display/data/table/CwTable.js +0 -203
  511. package/dist/src/components/display/graphics/icon/CwIcon.js +0 -23
  512. package/dist/src/components/display/graphics/loading/CwLoading.js +0 -27
  513. package/dist/src/components/display/graphics/loading-small/CwLoadingSmall.js +0 -20
  514. package/dist/src/components/display/text/heading/CwHeadingMain.js +0 -5
  515. package/dist/src/components/display/text/heading/CwHeadingSecond.js +0 -5
  516. package/dist/src/components/display/text/label/CwLabel.js +0 -13
  517. package/dist/src/components/display/text/message/CwMessage.js +0 -75
  518. package/dist/src/components/display/text/note/CwNote.js +0 -78
  519. package/dist/src/components/display/text/tag/CwChip.js +0 -57
  520. package/dist/src/components/display/text/tag/CwTag.js +0 -21
  521. package/dist/src/components/display/text/tooltip/CwTooltip.js +0 -4
  522. package/dist/src/components/layout/align/CwAlign.js +0 -54
  523. package/dist/src/components/layout/card/CwCard.js +0 -55
  524. package/dist/src/components/layout/card/CwCardList.js +0 -38
  525. package/dist/src/components/layout/dialog/CwDialog.js +0 -255
  526. package/dist/src/components/layout/dialog/CwDialogManager.js +0 -44
  527. package/dist/src/components/layout/list/details/CwExpandable.js +0 -28
  528. package/dist/src/components/layout/list/key-value/CwKeyValueList.js +0 -23
  529. package/dist/src/components/layout/list/sortable/CwSortableList.js +0 -73
  530. package/dist/src/components/layout/list/sortable/useSortableList.js +0 -53
  531. package/dist/src/components/layout/modal/CwModalReportFunctional.js +0 -23
  532. package/dist/src/components/layout/modal/hover/CwModalHover.js +0 -61
  533. package/dist/src/components/layout/modal/legacy/cw_modal.js +0 -44
  534. package/dist/src/components/layout/modal/legacy/cw_modal_confirm.js +0 -39
  535. package/dist/src/components/layout/modal/legacy/cw_modal_iframe.js +0 -44
  536. package/dist/src/components/layout/modal/legacy/cw_modal_report.js +0 -26
  537. package/dist/src/components/layout/table/grouped/CwTableGrouped.js +0 -70
  538. package/dist/src/components/layout/tabs/CwTabs.js +0 -53
  539. package/dist/src/index.js +0 -187
  540. package/dist/test/components/custom/new-scheduler/presentation/logic/getDefaultDivisions.test.js +0 -48
  541. package/dist/test/components/custom/new-scheduler/presentation/logic/hoursBetween.test.js +0 -15
  542. package/dist/test/components/custom/new-scheduler/presentation/logic/monthDivisions.test.js +0 -42
  543. package/dist/test/components/custom/new-scheduler/presentation/logic/weekendCalc.test.js +0 -30
  544. package/dist/test/components/custom/scheduler/addMinutesToDateFromPx.test.js +0 -43
  545. package/dist/test/components/custom/scheduler/checkIfSlotAvailable.test.js +0 -30
  546. package/dist/test/components/custom/scheduler/daysBetweenTwoDates.test.js +0 -61
  547. package/dist/test/components/custom/scheduler/daysBetweenTwoDatesWithoutCeilForEvent.test.js +0 -27
  548. package/dist/test/components/custom/scheduler/getGUID.test.js +0 -30
  549. package/dist/test/components/custom/scheduler/getPixelsForEvent.test.js +0 -38
  550. package/dist/test/components/custom/scheduler/getTimeHeaders.test.js +0 -35
  551. package/dist/test/components/custom/scheduler/hasSameProperties.test.js +0 -51
  552. package/dist/test/components/custom/scheduler/isAllowedToMove.test.js +0 -28
  553. package/dist/test/components/custom/scheduler/listOfDatesToWeeks.test.js +0 -72
  554. package/dist/test/jest.setup.js +0 -1
  555. /package/dist/src/{common/interfaces/CwSelectListProps.js → components/custom/scheduler-new/presentation/TestScheduler.d.ts} +0 -0
  556. /package/dist/{src/components/custom/scheduler-new/presentation/components/header/SchedulerHeaderState.js → test/components/custom/newScheduler/presentation/logic/getDefaultDivisions.test.d.ts} +0 -0
  557. /package/dist/{src/components/custom/scheduler-new/presentation/state/ui/SchedulerState.js → test/components/custom/newScheduler/presentation/logic/hoursBetween.test.d.ts} +0 -0
  558. /package/dist/{src/components/custom/scheduler-new/presentation/state/ui/WeekRange.js → test/components/custom/newScheduler/presentation/logic/weekendCalc.test.d.ts} +0 -0
  559. /package/dist/{src/components/custom/scheduler-temporal/state/CwSchedulerProps.js → test/components/custom/scheduler/filterEvents.test.d.ts} +0 -0
  560. /package/dist/{src/components/custom/scheduler-temporal/state/State.js → test/components/custom/scheduler/shouldTriggerScroll.test.d.ts} +0 -0
@@ -1,31 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { getFormattedTimeForHeader } from "../../logic/dates/getFormatedTimeForHeader";
3
- import { calculateDivisions } from "../../logic/divisions/calculateDivisions";
4
- import { calculateDivisionType } from "../../logic/divisions/calculateDivisionType";
5
- export const TimeHeader = ({ isWeekend, index, text, width, header }) => {
6
- if (text === "") {
7
- return;
8
- }
9
- const commonStyles = {
10
- display: "flex",
11
- alignItems: "center",
12
- justifyContent: "left",
13
- fontSize: "10px",
14
- width: width,
15
- maxWidth: width,
16
- height: "2rem",
17
- borderLeft: "1px solid white",
18
- background: isWeekend ? "#cbc9c9" : "",
19
- color: "#000000d9",
20
- fontWeight: 700,
21
- };
22
- return (_jsx("td", { style: commonStyles, id: `${header}Time${index}`, children: _jsx("span", { style: { paddingLeft: "8px" }, children: text }) }, `t${index}`));
23
- };
24
- export const _preview = () => {
25
- const startDate = new Date();
26
- const endDate = new Date();
27
- const calculatedDivision = calculateDivisions(startDate, endDate);
28
- const calculatedDivType = calculateDivisionType(startDate, endDate);
29
- const data = getFormattedTimeForHeader(calculatedDivType, calculatedDivision, startDate);
30
- return _jsx(TimeHeader, { isWeekend: false, index: 1, text: data.text, width: 30, header: "test" });
31
- };
@@ -1,16 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { getFormattedTimeForHeader } from "../../logic/dates/getFormatedTimeForHeader";
3
- import { calculateDivisions } from "../../logic/divisions/calculateDivisions";
4
- import { calculateDivisionType } from "../../logic/divisions/calculateDivisionType";
5
- import { TimeHeader } from "./TimeHeader";
6
- export const TimeHeaderRow = ({ timeHeaders, startDate, endDate, maxWidth, header }) => {
7
- const calculatedDivision = calculateDivisions(startDate, endDate);
8
- const calculatedDivType = calculateDivisionType(startDate, endDate);
9
- const formattedHeaders = timeHeaders.map((th) => {
10
- return getFormattedTimeForHeader(calculatedDivType, calculatedDivision, th);
11
- });
12
- const filteredHeaders = formattedHeaders.filter((element) => element.text !== "");
13
- return (_jsx("tr", { className: "cwelltSchRowTime", style: { height: "30px" }, children: filteredHeaders.map(({ text, isWeekend }, index) => {
14
- return (_jsx(TimeHeader, { isWeekend: isWeekend, index: index, text: text, width: maxWidth / filteredHeaders.length, header: header }, index));
15
- }) }));
16
- };
@@ -1,12 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { Tooltip } from "antd";
3
- export const TimeLine = ({ id, toolTipTitle, marginLeft, color = "rgba(255,0,0,.6)", pixels = 2, height = "100%", zIndex = 1, }) => {
4
- return (_jsx(Tooltip, { title: toolTipTitle, children: _jsx("div", { id: id, style: {
5
- borderLeft: `${pixels}px solid ${color}`,
6
- marginLeft: marginLeft,
7
- width: "0px",
8
- height: height,
9
- position: "absolute",
10
- zIndex: zIndex,
11
- } }) }));
12
- };
@@ -1,5 +0,0 @@
1
- export const addMinutesToDateFromPx = (originalDate, leftPx, minutesPerPx) => {
2
- const minutes = leftPx / minutesPerPx;
3
- const datePlusMinutes = new Date(originalDate.getTime() + minutes * 60000);
4
- return datePlusMinutes;
5
- };
@@ -1,15 +0,0 @@
1
- export const daysBetweenTwoDates = (date1, date2) => {
2
- const diff = Math.abs(date1.getTime() - date2.getTime());
3
- let diffDays = 0;
4
- const startOffset = Math.abs(date1.getTimezoneOffset());
5
- const endOffset = Math.abs(date2.getTimezoneOffset());
6
- // Summer: +1 -> +2, true
7
- // Winter: +2 -> -1, false
8
- if (startOffset > endOffset) {
9
- diffDays = Math.floor(diff / (1000 * 3600 * 24));
10
- }
11
- else {
12
- diffDays = Math.ceil(diff / (1000 * 3600 * 24));
13
- }
14
- return diffDays;
15
- };
@@ -1,5 +0,0 @@
1
- export const daysBetweenTwoDatesIncludingBoth = (date1, date2) => {
2
- const diff = Math.abs(date1.getTime() - date2.getTime());
3
- const diffDays = diff / (1000 * 3600 * 24);
4
- return diffDays;
5
- };
@@ -1,43 +0,0 @@
1
- import moment from "moment";
2
- export const getFormattedTimeForHeader = (calculatedDivType, calculatedDivision, timeHeader) => {
3
- let showDate = "";
4
- switch (calculatedDivType) {
5
- case "d":
6
- switch (calculatedDivision) {
7
- case 8:
8
- showDate =
9
- timeHeader.getHours() === 0 ||
10
- timeHeader.getHours() === 3 ||
11
- timeHeader.getHours() === 6 ||
12
- timeHeader.getHours() === 9 ||
13
- timeHeader.getHours() === 12 ||
14
- timeHeader.getHours() === 15 ||
15
- timeHeader.getHours() === 18 ||
16
- timeHeader.getHours() === 21
17
- ? moment(timeHeader).format("HH:mm")
18
- : "";
19
- break;
20
- case 3:
21
- showDate =
22
- timeHeader.getHours() === 0 || timeHeader.getHours() === 8 || timeHeader.getHours() === 16
23
- ? moment(timeHeader).format("HH:mm")
24
- : "";
25
- break;
26
- case 2:
27
- showDate =
28
- timeHeader.getHours() === 0 || timeHeader.getHours() === 12 ? moment(timeHeader).format("HH:mm") : "";
29
- break;
30
- }
31
- break;
32
- case "m":
33
- showDate = timeHeader.getHours() === 0 ? timeHeader.getDate().toString() : "";
34
- break;
35
- case "w":
36
- showDate = timeHeader.getHours() === 0 ? timeHeader.getDate().toString() : "";
37
- break;
38
- }
39
- return {
40
- text: showDate,
41
- isWeekend: timeHeader.getDay() === 6 || timeHeader.getDay() === 0,
42
- };
43
- };
@@ -1,35 +0,0 @@
1
- export const getMonthHeaderData = (dates, maxWidth) => {
2
- if (dates.length === 0)
3
- return [];
4
- const dayWidth = maxWidth / dates.length;
5
- const ranges = getMonthRanges(dates);
6
- return ranges.map((range) => {
7
- return {
8
- monthFormatted: range.start.getMonth() + 1 + "." + range.start.getFullYear(),
9
- width: dayWidth * range.daysLong,
10
- };
11
- });
12
- };
13
- const getMonthRanges = (dates) => {
14
- const firstDay = dates[0];
15
- const lastDay = dates[dates.length - 1];
16
- let currentDate = new Date(firstDay);
17
- const ranges = [];
18
- while (currentDate <= lastDay) {
19
- const rangeStart = new Date(currentDate);
20
- let rangeEnd = new Date(currentDate.getFullYear(), currentDate.getMonth() + 1, 0);
21
- if (rangeEnd >= lastDay) {
22
- rangeEnd = lastDay;
23
- }
24
- ranges.push({
25
- start: rangeStart,
26
- daysLong: getDaysBetweenDates(rangeStart, rangeEnd),
27
- });
28
- currentDate = new Date(rangeEnd.getFullYear(), rangeEnd.getMonth() + 1, 1);
29
- }
30
- return ranges;
31
- };
32
- const getDaysBetweenDates = (startDate, endDate) => {
33
- const timeDifference = endDate.getTime() - startDate.getTime();
34
- return Math.floor(timeDifference / (1000 * 60 * 60 * 24)) + 1;
35
- };
@@ -1,6 +0,0 @@
1
- export const getUtcToday = () => {
2
- const now = new Date();
3
- const userTimezoneOffset = now.getTimezoneOffset() * 60000;
4
- const nowUtc = new Date(now.getTime() + userTimezoneOffset);
5
- return nowUtc;
6
- };
@@ -1,20 +0,0 @@
1
- export const getWeekHeaderDataFromWeekRange = (weekRange, maxWidth, dateFormatter) => weekRange.map(week => {
2
- const numberOfDaysInScheduler = weekRange
3
- .flatMap(element => {
4
- return element.days;
5
- })
6
- .reduce((el1, el2) => {
7
- return el1 + el2;
8
- });
9
- return {
10
- formattedString: getStringForWeekRange(week, dateFormatter),
11
- width: getWidthForWeekRange(maxWidth, week.days, numberOfDaysInScheduler)
12
- };
13
- });
14
- const getStringForWeekRange = (weekRange, dateFormatter) => weekRange.days == 1
15
- ? dateFormatter(weekRange.start)
16
- : `${dateFormatter(weekRange.start)} - ${dateFormatter(weekRange.end)}`;
17
- const getWidthForWeekRange = (maxWidth, weekDays, monthDays) => {
18
- const dayWidth = maxWidth / monthDays;
19
- return dayWidth * weekDays;
20
- };
@@ -1,55 +0,0 @@
1
- // stringRange: `${formatter(date)} - ${formatter(end)}`,
2
- export const listOfDatesToWeekRangeList = (dates) => {
3
- if (dates.length === 0) {
4
- return [];
5
- }
6
- const datesToReturn = [];
7
- dates.forEach((date, index) => {
8
- const dayOfWeek = date.getDay();
9
- const isFirstDay = index === 0;
10
- const isLastDay = index === dates.length - 1;
11
- const isSunday = dayOfWeek === 0;
12
- const isMonday = dayOfWeek === 1;
13
- if (isFirstDay && !isSunday) {
14
- datesToReturn.push(createWeekRange(date, 8 - dayOfWeek));
15
- return;
16
- }
17
- if (isLastDay && !isSunday) {
18
- if (!isMonday) {
19
- datesToReturn.pop();
20
- }
21
- const firstOfWeek = getFirstDayOfWeek(date);
22
- datesToReturn.push(createWeekRange(firstOfWeek, dayOfWeek));
23
- return;
24
- }
25
- if (isMonday) {
26
- datesToReturn.push(createWeekRange(date, 7));
27
- return;
28
- }
29
- // this is because sunday is 0
30
- if (isFirstDay && isSunday) {
31
- datesToReturn.push(createWeekRange(date, 1));
32
- return;
33
- }
34
- });
35
- return datesToReturn;
36
- };
37
- const createWeekRange = (start, days) => {
38
- const end = new Date(start);
39
- end.setDate(end.getDate() + days - 1);
40
- return {
41
- days,
42
- start,
43
- end,
44
- isShortWeek: days < 7
45
- };
46
- };
47
- const getFirstDayOfWeek = (date) => {
48
- const currentDate = new Date(date);
49
- const dayOfWeek = currentDate.getDay();
50
- // dayOfWeek 0 == (Sunday)
51
- const diffToMonday = dayOfWeek === 0 ? 6 : dayOfWeek - 1;
52
- // Set the date to the first day of the week
53
- currentDate.setDate(currentDate.getDate() - diffToMonday);
54
- return currentDate;
55
- };
@@ -1,13 +0,0 @@
1
- import { daysBetweenTwoDates } from "../dates/daysBetweenTwoDates";
2
- export const calculateDivisionType = (start, end) => {
3
- const diffDays = daysBetweenTwoDates(start, end);
4
- if (diffDays <= 15) {
5
- return "d";
6
- }
7
- else if (diffDays <= 30) {
8
- return "w";
9
- }
10
- else {
11
- return "m";
12
- }
13
- };
@@ -1,16 +0,0 @@
1
- import { daysBetweenTwoDates } from "../dates/daysBetweenTwoDates";
2
- export const calculateDivisions = (start, end) => {
3
- const diffDays = daysBetweenTwoDates(start, end);
4
- if (diffDays <= 3) {
5
- return 8;
6
- }
7
- else if (diffDays < 8) {
8
- return 3;
9
- }
10
- else if (diffDays <= 15) {
11
- return 2;
12
- }
13
- else {
14
- return 1;
15
- }
16
- };
@@ -1,10 +0,0 @@
1
- import { getEventsOfResource } from "../ui/getEventsOfResource";
2
- import { filterResources } from "./filterResources";
3
- export const filterAndProcessResources = (props, state) => {
4
- const events = [...props.events];
5
- const filteredResources = filterResources(props.module, props.resourceName, [...props.resources], props.groupByFunction, props.endDate, props.startDate);
6
- return filteredResources.map(r => ({
7
- ...r,
8
- events: getEventsOfResource(r, events, state, props.id, props.module, props.startDate, props.endDate)
9
- }));
10
- };
@@ -1,34 +0,0 @@
1
- export const filterEvents = (events, start, end, id, resId, module = undefined) => {
2
- const hasSameResourceId = (event) => event.resourceId === resId;
3
- const datesCollide = (event) => event.start <= end && event.end >= start;
4
- let eventsFiltered = events.filter(event => hasSameResourceId(event) && datesCollide(event));
5
- if (id !== "flightWatchScheduler") {
6
- eventsFiltered = sortByDate(eventsFiltered);
7
- }
8
- if (id !== "crewAssignmentsScheduler" && id !== "vacationsScheduler") {
9
- return eventsFiltered;
10
- }
11
- eventsFiltered = setNotFullHeightEventsFirst(eventsFiltered);
12
- if (module === "CrewControl") {
13
- eventsFiltered = removeDuplicated(eventsFiltered, "Crew_Id");
14
- }
15
- if (module === "CrewScheduling") {
16
- eventsFiltered = removeDuplicated(eventsFiltered, "AssignmentID");
17
- }
18
- if (module === "CrewSchedulingVacations") {
19
- eventsFiltered = removeDuplicated(eventsFiltered, "ID");
20
- }
21
- return eventsFiltered;
22
- };
23
- const sortByDate = (events) => events.sort((a, b) => +new Date(a.start) - +new Date(b.start));
24
- const removeDuplicated = (events, key) => {
25
- return events.filter((obj, index, self) => index === self.findIndex(o => o.data[key] === obj.data[key] && o.data.subject === obj.data.subject));
26
- };
27
- const setNotFullHeightEventsFirst = (events) => {
28
- const notFullHeight = [];
29
- const isFullHeight = [];
30
- events.forEach(element => {
31
- element.isFullHeight ? notFullHeight.push(element) : isFullHeight.push(element);
32
- });
33
- return notFullHeight.concat(isFullHeight);
34
- };
@@ -1,14 +0,0 @@
1
- import moment from "moment";
2
- import { compareStrings } from "../strings/compareStrings";
3
- export const filterResources = (module, resourceName, resources, groupByFunction, endDate, startDate) => {
4
- if ((module === "CrewControl" || module === "CrewScheduling" || module === "CrewSchedulingVacations") &&
5
- resourceName === "Employees") {
6
- resources = resources.filter(c => (c.data.Eintritt === null || (c.data.Eintritt !== null && moment(c.data.Eintritt).toDate() <= endDate)) &&
7
- (c.data.Austritt === null || (c.data.Austritt !== null && moment(c.data.Austritt).toDate() >= startDate)));
8
- }
9
- if (module === "CrewScheduling" && resourceName === "Employees") {
10
- const sortKey = groupByFunction ? "mainFunction" : "C3_LC";
11
- resources = resources.sort((a, b) => compareStrings(a.data[sortKey], b.data[sortKey]));
12
- }
13
- return resources;
14
- };
@@ -1,10 +0,0 @@
1
- export const hasSameProperties = (event1, other) => {
2
- const areDifferent = event1.resourceId !== other.resourceId ||
3
- event1.start !== other.start ||
4
- event1.end !== other.end ||
5
- event1.selected !== other.selected ||
6
- event1.data !== other.data;
7
- // TODO: event1.data !== other.data is making a bad compare, we should use
8
- // JSON.stringify(this.data) === JSON.stringify(other.data)
9
- return !areDifferent;
10
- };
@@ -1,36 +0,0 @@
1
- import { addMinutesToDateFromPx } from "../dates/addMinutesToDateFromPx";
2
- import { onDropEventToResource } from "../state_handle/onDropEventToResource";
3
- import { handleOnResize } from "../state_handle/onResizeEvent";
4
- import { isAllowedToMove } from "../ui/isAllowedToMove";
5
- export const OnDrop = ({ e, resource, id, contentArea, state, schedulerProps }) => {
6
- e.dataTransfer.dropEffect = "move";
7
- const cblDragNDrop = JSON.parse(e.dataTransfer.getData("data"));
8
- if (!cblDragNDrop.data || !cblDragNDrop.data[0]) {
9
- return;
10
- }
11
- cblDragNDrop.toId = id;
12
- const obj = cblDragNDrop.data[0];
13
- cblDragNDrop.isCtrlKey = e.ctrlKey;
14
- const isResizeEvent = cblDragNDrop.resizeFromStart === true || cblDragNDrop.resizeFromEnd === true;
15
- if (isResizeEvent) {
16
- // Resize
17
- if (obj.data === undefined || obj.data.eventType === 1) {
18
- return;
19
- }
20
- const _eventX = e.clientX;
21
- const _caLeft = contentArea?.getBoundingClientRect()?.left ?? 0;
22
- const leftPos = _eventX - _caLeft;
23
- const datetime = addMinutesToDateFromPx(state.startDate, leftPos, state.minutePx);
24
- cblDragNDrop.droppedOnDate = datetime;
25
- handleOnResize(schedulerProps, cblDragNDrop);
26
- return;
27
- }
28
- // Drag & Drop
29
- if (!isAllowedToMove(obj.data, resource.data, cblDragNDrop)) {
30
- return;
31
- }
32
- const d = e.clientX - (contentArea?.getBoundingClientRect()?.left ?? 0);
33
- const date = new Date(state.startDate.getTime() + (d / state.minutePx) * 60000);
34
- cblDragNDrop.droppedOnDate = date;
35
- onDropEventToResource(schedulerProps, cblDragNDrop, resource);
36
- };
@@ -1,14 +0,0 @@
1
- export const getHeightLineScheduler = (length, clientHeight, height) => {
2
- const noResources = length <= 0;
3
- const minResources = length <= 5;
4
- if (noResources) {
5
- return "100px";
6
- }
7
- if (minResources) {
8
- return clientHeight?.toString();
9
- }
10
- if (!minResources && clientHeight && clientHeight < height) {
11
- return clientHeight?.toString();
12
- }
13
- return height.toString();
14
- };
@@ -1,32 +0,0 @@
1
- import { daysBetweenTwoDatesIncludingBoth } from "../dates/daysBetweenTwoDatesWithoutCeil";
2
- export const getLeftPixels = (eventStart, scheduleStart, dayPx) => {
3
- if (scheduleStart >= eventStart)
4
- return 0;
5
- return daysBetweenTwoDatesIncludingBoth(scheduleStart, eventStart) * dayPx;
6
- };
7
- export const getResourcesWithPixels = (resources, _nextProps, dayPx) => {
8
- return resources.map((resource) => {
9
- const events = resource.events;
10
- const mappedEvents = events.map((event) => {
11
- return getEventWithSize(event, _nextProps.startDate, dayPx);
12
- });
13
- return {
14
- ...resource,
15
- events: mappedEvents,
16
- };
17
- });
18
- };
19
- export const getEventWithSize = (event, schedulerStart, dayPx) => {
20
- const eventStartBeforeScheduleStart = event.start.getTime() < schedulerStart.getTime();
21
- const lengthOfEvent = daysBetweenTwoDatesIncludingBoth(event.start, event.end);
22
- const daysUntilSchedulerStart = daysBetweenTwoDatesIncludingBoth(event.start, schedulerStart);
23
- const daysLong = eventStartBeforeScheduleStart ? lengthOfEvent - daysUntilSchedulerStart : lengthOfEvent;
24
- // we want minimum of 8 px
25
- const eventMinSize = 8;
26
- const newEvent = {
27
- ...event,
28
- leftPx: getLeftPixels(event.start, schedulerStart, dayPx),
29
- width: Math.max(daysLong * dayPx, eventMinSize),
30
- };
31
- return newEvent;
32
- };
@@ -1,14 +0,0 @@
1
- export const heightScheduler = (resources, visibleRows, isPinnerScheduler) => {
2
- if (resources.length <= 0) {
3
- return 100;
4
- }
5
- const realVisibleRows = visibleRows > resources.length ? resources.length : visibleRows;
6
- const rowsHeight = resources.slice(0, realVisibleRows).map((row) => {
7
- return row.maxTop;
8
- });
9
- const height = rowsHeight.reduce((sum, row) => {
10
- return sum + row;
11
- }, 0);
12
- const headerHeight = isPinnerScheduler ? 0 : 60;
13
- return height + headerHeight;
14
- };
@@ -1,9 +0,0 @@
1
- export const heightSchedulerPinned = (resourcesLength, id, rowReference) => {
2
- const noResources = resourcesLength <= 0;
3
- const pinnedScheduler = id.toLowerCase().includes("pinned");
4
- const rowResourcesHeight_sch = rowReference.current?.clientHeight;
5
- if (pinnedScheduler && !noResources && rowResourcesHeight_sch) {
6
- return rowResourcesHeight_sch + 83;
7
- }
8
- return rowResourcesHeight_sch;
9
- };
@@ -1,5 +0,0 @@
1
- export const doubleClickOnResource = (props, resource) => {
2
- if (props.scheduler_handleDblClickOnResourceInScheduler) {
3
- props.scheduler_handleDblClickOnResourceInScheduler(resource);
4
- }
5
- };