@cwellt_software/cwellt-reactjs-lib 1.1.4 → 1.1.6

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 (567) 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 +246 -0
  271. package/dist/index.cjs.js.map +1 -0
  272. package/dist/index.css +2 -2
  273. package/dist/index.css.map +1 -0
  274. package/dist/index.d.ts +3 -1
  275. package/dist/index.d.ts.map +1 -0
  276. package/dist/index.es.js +246 -1
  277. package/dist/index.esm.js +4836 -0
  278. package/dist/playground/main.d.ts.map +1 -1
  279. package/dist/src/common/functions/reactor.d.ts +2 -0
  280. package/dist/src/common/functions/reactor.d.ts.map +1 -0
  281. package/dist/src/components/control/input/chipper/CwChip.d.ts +12 -0
  282. package/dist/src/components/control/input/chipper/CwChip.d.ts.map +1 -0
  283. package/dist/src/components/custom/scheduler/components/ClearSchedulerButton.d.ts +8 -0
  284. package/dist/src/components/custom/scheduler/components/ClearSchedulerButton.d.ts.map +1 -0
  285. package/dist/src/components/custom/scheduler/logic/filtering/filterAndProcessResources.d.ts +14 -0
  286. package/dist/src/components/custom/scheduler/logic/filtering/filterAndProcessResources.d.ts.map +1 -0
  287. package/dist/src/components/custom/scheduler/logic/pixels/calculateMaxPxFromDateRange.d.ts +2 -0
  288. package/dist/src/components/custom/scheduler/logic/pixels/calculateMaxPxFromDateRange.d.ts.map +1 -0
  289. package/dist/src/components/custom/scheduler/logic/state_handle/handleDateChange.d.ts +5 -0
  290. package/dist/src/components/custom/scheduler/logic/state_handle/handleDateChange.d.ts.map +1 -0
  291. package/dist/src/components/custom/scheduler/logic/state_handle/handlePropChanges.d.ts +5 -0
  292. package/dist/src/components/custom/scheduler/logic/state_handle/handlePropChanges.d.ts.map +1 -0
  293. package/dist/src/components/custom/scheduler/logic/state_handle/onResizeEvent.d.ts +3 -0
  294. package/dist/src/components/custom/scheduler/logic/state_handle/onResizeEvent.d.ts.map +1 -0
  295. package/dist/src/components/custom/scheduler/logic/ui/getHasPropsChanged.d.ts +3 -0
  296. package/dist/src/components/custom/scheduler/logic/ui/getHasPropsChanged.d.ts.map +1 -0
  297. package/dist/src/components/custom/scheduler/logic/ui/shouldTriggerScroll.d.ts +3 -0
  298. package/dist/src/components/custom/scheduler/logic/ui/shouldTriggerScroll.d.ts.map +1 -0
  299. package/dist/src/components/custom/scheduler/state/EventProps.d.ts +7 -0
  300. package/dist/src/components/custom/scheduler/state/EventProps.d.ts.map +1 -0
  301. package/dist/src/components/custom/scheduler-new/presentation/components/row/BackgrounEvent.d.ts +1 -0
  302. package/dist/src/components/custom/scheduler-new/presentation/components/row/BackgrounEvent.d.ts.map +1 -0
  303. package/dist/src/components/custom/scheduler-new/presentation/components/row/cancellablePromise.d.ts +7 -0
  304. package/dist/src/components/custom/scheduler-new/presentation/components/row/cancellablePromise.d.ts.map +1 -0
  305. package/dist/src/components/custom/scheduler-new/presentation/components/row/useCancellablePromise.d.ts +7 -0
  306. package/dist/src/components/custom/scheduler-new/presentation/components/row/useCancellablePromise.d.ts.map +1 -0
  307. package/dist/src/components/custom/scheduler-new/presentation/logic/separateEventsByResource.d.ts +5 -0
  308. package/dist/src/components/custom/scheduler-new/presentation/logic/separateEventsByResource.d.ts.map +1 -0
  309. package/dist/src/components/custom/scheduler-new/presentation/state/external/Event.d.ts +9 -0
  310. package/dist/src/components/custom/scheduler-new/presentation/state/external/Event.d.ts.map +1 -0
  311. package/dist/src/components/custom/scheduler-new/presentation/state/external/Row.d.ts +5 -0
  312. package/dist/src/components/custom/scheduler-new/presentation/state/external/Row.d.ts.map +1 -0
  313. package/dist/src/components/custom/scheduler-new/presentation/state/ui/EventSideDragState.d.ts +6 -0
  314. package/dist/src/components/custom/scheduler-new/presentation/state/ui/EventSideDragState.d.ts.map +1 -0
  315. package/dist/src/components/custom/scheduler-new/presentation/state/ui/HeaderDivision.d.ts +5 -0
  316. package/dist/src/components/custom/scheduler-new/presentation/state/ui/HeaderDivision.d.ts.map +1 -0
  317. package/dist/src/components/custom/scheduler-new/presentation/state/ui/SchedulerEventState.d.ts +14 -0
  318. package/dist/src/components/custom/scheduler-new/presentation/state/ui/SchedulerEventState.d.ts.map +1 -0
  319. package/dist/src/components/custom/scheduler-new/presentation/state/ui/SchedulerHeaderState.d.ts +11 -0
  320. package/dist/src/components/custom/scheduler-new/presentation/state/ui/SchedulerHeaderState.d.ts.map +1 -0
  321. package/dist/src/components/custom/scheduler-new/presentation/state/ui/SchedulerRow.d.ts +8 -0
  322. package/dist/src/components/custom/scheduler-new/presentation/state/ui/SchedulerRow.d.ts.map +1 -0
  323. package/dist/src/dev/palette.d.ts +1 -1
  324. package/dist/src/dev/palette.d.ts.map +1 -1
  325. package/dist/src/index.d.ts +1 -0
  326. package/dist/src/index.d.ts.map +1 -1
  327. package/dist/test/components/custom/newScheduler/presentation/logic/getDefaultDivisions.test.d.ts.map +1 -0
  328. package/dist/test/components/custom/scheduler/calculateMaxPxFromDateRange.test.d.ts +2 -0
  329. package/dist/test/components/custom/scheduler/calculateMaxPxFromDateRange.test.d.ts.map +1 -0
  330. package/dist/test/components/custom/scheduler/filterEvents.test.d.ts.map +1 -0
  331. package/dist/test/components/custom/scheduler/shouldTriggerScroll.test.d.ts.map +1 -0
  332. package/dist/test/example.test.d.ts +1 -0
  333. package/dist/test/example.test.d.ts.map +1 -0
  334. package/package.json +1 -1
  335. package/dist/src/common/classes/CwSelectList.js +0 -12
  336. package/dist/src/common/classes/CwSelectListItems.js +0 -14
  337. package/dist/src/common/functions/collections.js +0 -18
  338. package/dist/src/common/functions/colorManipulation.js +0 -76
  339. package/dist/src/common/functions/dsl/UiEventDSL.js +0 -20
  340. package/dist/src/common/functions/useSingleAndDoubleClicks.js +0 -28
  341. package/dist/src/components/control/action/button/CwButton.js +0 -13
  342. package/dist/src/components/control/action/buttons/CwButtons.js +0 -188
  343. package/dist/src/components/control/action/contextmenu/CwContextMenu.js +0 -43
  344. package/dist/src/components/control/action/contextual-menu/CwContextualMenu.js +0 -55
  345. package/dist/src/components/control/action/search/CwSearch.js +0 -67
  346. package/dist/src/components/control/action/tooltip-dialog/CwTooltipDialog.js +0 -11
  347. package/dist/src/components/control/choice/checkbox/CwCheckbox.js +0 -15
  348. package/dist/src/components/control/choice/deprecated/MultiSelect_deprecated_.js +0 -99
  349. package/dist/src/components/control/choice/dropdown/CwDropdown.js +0 -27
  350. package/dist/src/components/control/choice/dropdown/CwDropdownContainer.js +0 -30
  351. package/dist/src/components/control/choice/dropdown/CwDropdownFilter.js +0 -10
  352. package/dist/src/components/control/choice/multi-filter/CwMultiFilter.js +0 -298
  353. package/dist/src/components/control/choice/multi-filter/components/tag/CwMultiFilterTag.js +0 -17
  354. package/dist/src/components/control/choice/multiselect/CwHeadFilter.js +0 -80
  355. package/dist/src/components/control/choice/multiselect/CwMultiselect.js +0 -393
  356. package/dist/src/components/control/choice/multiselect/CwOptionList.js +0 -36
  357. package/dist/src/components/control/choice/option/CwOption.js +0 -16
  358. package/dist/src/components/control/choice/select/CwSelect.js +0 -36
  359. package/dist/src/components/control/choice/toggle/CwToggle.js +0 -9
  360. package/dist/src/components/control/input/any/CwInput.js +0 -16
  361. package/dist/src/components/control/input/color/CwColorPicker.js +0 -210
  362. package/dist/src/components/control/input/color/CwInputColor.js +0 -142
  363. package/dist/src/components/control/input/date/CwInputDate.js +0 -29
  364. package/dist/src/components/control/input/date-picker/CwInputDatePicker.js +0 -109
  365. package/dist/src/components/control/input/date-text/CwInputDateText.js +0 -90
  366. package/dist/src/components/control/input/datetime/CwInputDatetime.js +0 -29
  367. package/dist/src/components/control/input/digit/CwDigit.js +0 -28
  368. package/dist/src/components/control/input/file/CwFileUpload.js +0 -52
  369. package/dist/src/components/control/input/file/CwFileUploadMultiple.js +0 -148
  370. package/dist/src/components/control/input/image/CwInputImage.js +0 -52
  371. package/dist/src/components/control/input/image-area/CwImageArea.js +0 -113
  372. package/dist/src/components/control/input/number/CwInputNumber.js +0 -11
  373. package/dist/src/components/control/input/phone/CwInputPhone.js +0 -24
  374. package/dist/src/components/control/input/text/CwInputText.js +0 -31
  375. package/dist/src/components/control/input/text-area/CwTextArea.js +0 -9
  376. package/dist/src/components/control/input/time/CwTime.js +0 -29
  377. package/dist/src/components/control/input/weekday/CwWeekdaySelector.js +0 -143
  378. package/dist/src/components/custom/find-airport/CwFindAirportComp.js +0 -240
  379. package/dist/src/components/custom/scheduler/CwSchedulerComp.js +0 -211
  380. package/dist/src/components/custom/scheduler/CwSuperSchedulerComp.js +0 -269
  381. package/dist/src/components/custom/scheduler/components/EventRender.js +0 -142
  382. package/dist/src/components/custom/scheduler/components/ResourceListRender.js +0 -12
  383. package/dist/src/components/custom/scheduler/components/ResourceRender.js +0 -26
  384. package/dist/src/components/custom/scheduler/components/day_headers/DayHeader.js +0 -13
  385. package/dist/src/components/custom/scheduler/components/day_headers/MonthHeader.js +0 -12
  386. package/dist/src/components/custom/scheduler/components/day_headers/MyDaysHeader.js +0 -62
  387. package/dist/src/components/custom/scheduler/components/day_headers/WeekHeader.js +0 -13
  388. package/dist/src/components/custom/scheduler/components/resources_title_list/ResourcesTitleList.js +0 -24
  389. package/dist/src/components/custom/scheduler/components/scheduler_content_area/SchedulerContentArea.js +0 -17
  390. package/dist/src/components/custom/scheduler/components/scheduler_header/SchedulerHeader.js +0 -26
  391. package/dist/src/components/custom/scheduler/components/scheduler_timeline/SchedulerTimeLine.js +0 -23
  392. package/dist/src/components/custom/scheduler/components/time_headers/TimeHeader.js +0 -31
  393. package/dist/src/components/custom/scheduler/components/time_headers/TimeHeaderRow.js +0 -16
  394. package/dist/src/components/custom/scheduler/components/time_line/TimeLine.js +0 -12
  395. package/dist/src/components/custom/scheduler/logic/dates/addMinutesToDateFromPx.js +0 -5
  396. package/dist/src/components/custom/scheduler/logic/dates/daysBetweenTwoDates.js +0 -15
  397. package/dist/src/components/custom/scheduler/logic/dates/daysBetweenTwoDatesWithoutCeil.js +0 -5
  398. package/dist/src/components/custom/scheduler/logic/dates/getFormatedTimeForHeader.js +0 -43
  399. package/dist/src/components/custom/scheduler/logic/dates/getMonthHeaderData.js +0 -35
  400. package/dist/src/components/custom/scheduler/logic/dates/getUtcToday.js +0 -6
  401. package/dist/src/components/custom/scheduler/logic/dates/getWeekHeaderDataFromWeekRange.js +0 -20
  402. package/dist/src/components/custom/scheduler/logic/dates/listOfDatesToWeeks.js +0 -55
  403. package/dist/src/components/custom/scheduler/logic/divisions/calculateDivisionType.js +0 -13
  404. package/dist/src/components/custom/scheduler/logic/divisions/calculateDivisions.js +0 -16
  405. package/dist/src/components/custom/scheduler/logic/filtering/filterEvents.js +0 -33
  406. package/dist/src/components/custom/scheduler/logic/filtering/filterResources.js +0 -14
  407. package/dist/src/components/custom/scheduler/logic/filtering/hasSameProperties.js +0 -10
  408. package/dist/src/components/custom/scheduler/logic/onDrop/OnDrop.js +0 -45
  409. package/dist/src/components/custom/scheduler/logic/pixels/getHeightLineScheduler.js +0 -14
  410. package/dist/src/components/custom/scheduler/logic/pixels/getPixelsForEvent.js +0 -32
  411. package/dist/src/components/custom/scheduler/logic/pixels/heightScheduler.js +0 -14
  412. package/dist/src/components/custom/scheduler/logic/pixels/heightSchedulerPinned.js +0 -9
  413. package/dist/src/components/custom/scheduler/logic/state_handle/doubleClickOnResource.js +0 -5
  414. package/dist/src/components/custom/scheduler/logic/state_handle/handleResourceChange.js +0 -11
  415. package/dist/src/components/custom/scheduler/logic/state_handle/onDragOver.js +0 -9
  416. package/dist/src/components/custom/scheduler/logic/state_handle/onDropEventToResource.js +0 -3
  417. package/dist/src/components/custom/scheduler/logic/strings/compareStrings.js +0 -7
  418. package/dist/src/components/custom/scheduler/logic/strings/getGUID.js +0 -7
  419. package/dist/src/components/custom/scheduler/logic/ui/checkIfSlotAvailable.js +0 -8
  420. package/dist/src/components/custom/scheduler/logic/ui/getEventsOfResource.js +0 -45
  421. package/dist/src/components/custom/scheduler/logic/ui/getTimeHeaders.js +0 -35
  422. package/dist/src/components/custom/scheduler/logic/ui/isAllowedToMove.js +0 -19
  423. package/dist/src/components/custom/scheduler/logic/ui/updateResourceVisibility.js +0 -15
  424. package/dist/src/components/custom/scheduler/state/CblDragAndDrop.js +0 -18
  425. package/dist/src/components/custom/scheduler/state/CwSchedulerProps.js +0 -1
  426. package/dist/src/components/custom/scheduler/state/Resource.js +0 -18
  427. package/dist/src/components/custom/scheduler/state/State.js +0 -1
  428. package/dist/src/components/custom/scheduler/state/cblEvent.js +0 -28
  429. package/dist/src/components/custom/scheduler/state/cblEventCompProps.js +0 -1
  430. package/dist/src/components/custom/scheduler/state/resourceCompProps2.js +0 -1
  431. package/dist/src/components/custom/scheduler-new/presentation/NewScheduler.js +0 -123
  432. package/dist/src/components/custom/scheduler-new/presentation/NewSchedulerUiEvents.js +0 -118
  433. package/dist/src/components/custom/scheduler-new/presentation/SchedulerPresenter.js +0 -166
  434. package/dist/src/components/custom/scheduler-new/presentation/components/header/HeaderDivision.js +0 -26
  435. package/dist/src/components/custom/scheduler-new/presentation/components/header/HeaderTitle.js +0 -8
  436. package/dist/src/components/custom/scheduler-new/presentation/components/header/SchedulerHeader.js +0 -86
  437. package/dist/src/components/custom/scheduler-new/presentation/components/row/BackgroundEvent.js +0 -60
  438. package/dist/src/components/custom/scheduler-new/presentation/components/row/DefaultRowHeader.js +0 -24
  439. package/dist/src/components/custom/scheduler-new/presentation/components/row/Event.js +0 -150
  440. package/dist/src/components/custom/scheduler-new/presentation/components/row/EventSideDrag.js +0 -11
  441. package/dist/src/components/custom/scheduler-new/presentation/components/row/SchedulerRow.js +0 -176
  442. package/dist/src/components/custom/scheduler-new/presentation/components/timeline/DivisionLine.js +0 -8
  443. package/dist/src/components/custom/scheduler-new/presentation/components/timeline/TimeLine.js +0 -39
  444. package/dist/src/components/custom/scheduler-new/presentation/components/timeline/WeekEndLine.js +0 -8
  445. package/dist/src/components/custom/scheduler-new/presentation/helpers.js +0 -43
  446. package/dist/src/components/custom/scheduler-new/presentation/logic/WeekendCalc.js +0 -24
  447. package/dist/src/components/custom/scheduler-new/presentation/logic/dateFromPercentage.js +0 -7
  448. package/dist/src/components/custom/scheduler-new/presentation/logic/eventIsVisible.js +0 -7
  449. package/dist/src/components/custom/scheduler-new/presentation/logic/getDefaultDivisions.js +0 -113
  450. package/dist/src/components/custom/scheduler-new/presentation/logic/getDivisions.js +0 -21
  451. package/dist/src/components/custom/scheduler-new/presentation/logic/getEventSizes.js +0 -30
  452. package/dist/src/components/custom/scheduler-new/presentation/logic/getLinesByDivisions.js +0 -13
  453. package/dist/src/components/custom/scheduler-new/presentation/logic/getPercentageFromMouseEvent.js +0 -7
  454. package/dist/src/components/custom/scheduler-new/presentation/logic/separateEventsToInnerRows.js +0 -32
  455. package/dist/src/components/custom/scheduler-new/presentation/logic/sortByCategoryAndTitle.js +0 -12
  456. package/dist/src/components/custom/scheduler-temporal/CwSchedulerComp2.js +0 -267
  457. package/dist/src/components/custom/scheduler-temporal/CwSuperSchedulerComp.js +0 -269
  458. package/dist/src/components/custom/scheduler-temporal/components/EventRender.js +0 -142
  459. package/dist/src/components/custom/scheduler-temporal/components/ResourceListRender.js +0 -12
  460. package/dist/src/components/custom/scheduler-temporal/components/ResourceRender.js +0 -26
  461. package/dist/src/components/custom/scheduler-temporal/components/day_headers/DayHeader.js +0 -13
  462. package/dist/src/components/custom/scheduler-temporal/components/day_headers/MonthHeader.js +0 -12
  463. package/dist/src/components/custom/scheduler-temporal/components/day_headers/MyDaysHeader.js +0 -62
  464. package/dist/src/components/custom/scheduler-temporal/components/day_headers/WeekHeader.js +0 -13
  465. package/dist/src/components/custom/scheduler-temporal/components/resources_title_list/ResourcesTitleList.js +0 -22
  466. package/dist/src/components/custom/scheduler-temporal/components/scheduler_content_area/SchedulerContentArea.js +0 -17
  467. package/dist/src/components/custom/scheduler-temporal/components/scheduler_header/SchedulerHeader.js +0 -26
  468. package/dist/src/components/custom/scheduler-temporal/components/scheduler_timeline/SchedulerTimeLine.js +0 -23
  469. package/dist/src/components/custom/scheduler-temporal/components/time_headers/TimeHeader.js +0 -31
  470. package/dist/src/components/custom/scheduler-temporal/components/time_headers/TimeHeaderRow.js +0 -16
  471. package/dist/src/components/custom/scheduler-temporal/components/time_line/TimeLine.js +0 -12
  472. package/dist/src/components/custom/scheduler-temporal/logic/dates/addMinutesToDateFromPx.js +0 -5
  473. package/dist/src/components/custom/scheduler-temporal/logic/dates/daysBetweenTwoDates.js +0 -15
  474. package/dist/src/components/custom/scheduler-temporal/logic/dates/daysBetweenTwoDatesWithoutCeil.js +0 -5
  475. package/dist/src/components/custom/scheduler-temporal/logic/dates/getFormatedTimeForHeader.js +0 -43
  476. package/dist/src/components/custom/scheduler-temporal/logic/dates/getMonthHeaderData.js +0 -35
  477. package/dist/src/components/custom/scheduler-temporal/logic/dates/getUtcToday.js +0 -6
  478. package/dist/src/components/custom/scheduler-temporal/logic/dates/getWeekHeaderDataFromWeekRange.js +0 -20
  479. package/dist/src/components/custom/scheduler-temporal/logic/dates/listOfDatesToWeeks.js +0 -55
  480. package/dist/src/components/custom/scheduler-temporal/logic/divisions/calculateDivisionType.js +0 -13
  481. package/dist/src/components/custom/scheduler-temporal/logic/divisions/calculateDivisions.js +0 -16
  482. package/dist/src/components/custom/scheduler-temporal/logic/filtering/filterAndProcessResources.js +0 -10
  483. package/dist/src/components/custom/scheduler-temporal/logic/filtering/filterEvents.js +0 -34
  484. package/dist/src/components/custom/scheduler-temporal/logic/filtering/filterResources.js +0 -14
  485. package/dist/src/components/custom/scheduler-temporal/logic/filtering/hasSameProperties.js +0 -10
  486. package/dist/src/components/custom/scheduler-temporal/logic/onDrop/OnDrop.js +0 -36
  487. package/dist/src/components/custom/scheduler-temporal/logic/pixels/getHeightLineScheduler.js +0 -14
  488. package/dist/src/components/custom/scheduler-temporal/logic/pixels/getPixelsForEvent.js +0 -32
  489. package/dist/src/components/custom/scheduler-temporal/logic/pixels/heightScheduler.js +0 -14
  490. package/dist/src/components/custom/scheduler-temporal/logic/pixels/heightSchedulerPinned.js +0 -9
  491. package/dist/src/components/custom/scheduler-temporal/logic/state_handle/doubleClickOnResource.js +0 -5
  492. package/dist/src/components/custom/scheduler-temporal/logic/state_handle/handlePropChanges.js +0 -178
  493. package/dist/src/components/custom/scheduler-temporal/logic/state_handle/handleResourceChange.js +0 -11
  494. package/dist/src/components/custom/scheduler-temporal/logic/state_handle/onDragOver.js +0 -9
  495. package/dist/src/components/custom/scheduler-temporal/logic/state_handle/onDropEventToResource.js +0 -3
  496. package/dist/src/components/custom/scheduler-temporal/logic/state_handle/onResizeEvent.js +0 -3
  497. package/dist/src/components/custom/scheduler-temporal/logic/strings/compareStrings.js +0 -7
  498. package/dist/src/components/custom/scheduler-temporal/logic/strings/getGUID.js +0 -7
  499. package/dist/src/components/custom/scheduler-temporal/logic/ui/checkIfSlotAvailable.js +0 -9
  500. package/dist/src/components/custom/scheduler-temporal/logic/ui/getEventsOfResource.js +0 -92
  501. package/dist/src/components/custom/scheduler-temporal/logic/ui/getHasPropsChanged.js +0 -242
  502. package/dist/src/components/custom/scheduler-temporal/logic/ui/getTimeHeaders.js +0 -35
  503. package/dist/src/components/custom/scheduler-temporal/logic/ui/isAllowedToMove.js +0 -19
  504. package/dist/src/components/custom/scheduler-temporal/logic/ui/shouldTriggerScroll.js +0 -241
  505. package/dist/src/components/custom/scheduler-temporal/logic/ui/updateResourceVisibility.js +0 -15
  506. package/dist/src/components/custom/scheduler-temporal/state/CblDragAndDrop.js +0 -18
  507. package/dist/src/components/custom/scheduler-temporal/state/Resource.js +0 -18
  508. package/dist/src/components/custom/scheduler-temporal/state/cblEvent.js +0 -28
  509. package/dist/src/components/custom/scheduler-temporal/state/cblEventCompProps.js +0 -1
  510. package/dist/src/components/custom/scheduler-temporal/state/resourceCompProps2.js +0 -1
  511. package/dist/src/components/custom/super-scheduler/PinRowHeader.js +0 -53
  512. package/dist/src/components/custom/super-scheduler/SuperScheduler.js +0 -23
  513. package/dist/src/components/custom/super-scheduler/SuperSchedulerEvents.js +0 -15
  514. package/dist/src/components/custom/super-scheduler/SuperSchedulerPresenter.js +0 -45
  515. package/dist/src/components/display/data/accordion/CwAccordionContainer.js +0 -20
  516. package/dist/src/components/display/data/generic_tooltip/CwGenericTooltip.js +0 -138
  517. package/dist/src/components/display/data/table/CwTable.js +0 -203
  518. package/dist/src/components/display/graphics/icon/CwIcon.js +0 -23
  519. package/dist/src/components/display/graphics/loading/CwLoading.js +0 -27
  520. package/dist/src/components/display/graphics/loading-small/CwLoadingSmall.js +0 -20
  521. package/dist/src/components/display/text/heading/CwHeadingMain.js +0 -5
  522. package/dist/src/components/display/text/heading/CwHeadingSecond.js +0 -5
  523. package/dist/src/components/display/text/label/CwLabel.js +0 -13
  524. package/dist/src/components/display/text/message/CwMessage.js +0 -75
  525. package/dist/src/components/display/text/note/CwNote.js +0 -78
  526. package/dist/src/components/display/text/tag/CwChip.js +0 -57
  527. package/dist/src/components/display/text/tag/CwTag.js +0 -21
  528. package/dist/src/components/display/text/tooltip/CwTooltip.js +0 -4
  529. package/dist/src/components/layout/align/CwAlign.js +0 -54
  530. package/dist/src/components/layout/card/CwCard.js +0 -55
  531. package/dist/src/components/layout/card/CwCardList.js +0 -38
  532. package/dist/src/components/layout/dialog/CwDialog.js +0 -255
  533. package/dist/src/components/layout/dialog/CwDialogManager.js +0 -44
  534. package/dist/src/components/layout/list/details/CwExpandable.js +0 -28
  535. package/dist/src/components/layout/list/key-value/CwKeyValueList.js +0 -23
  536. package/dist/src/components/layout/list/sortable/CwSortableList.js +0 -73
  537. package/dist/src/components/layout/list/sortable/useSortableList.js +0 -53
  538. package/dist/src/components/layout/modal/CwModalReportFunctional.js +0 -23
  539. package/dist/src/components/layout/modal/hover/CwModalHover.js +0 -61
  540. package/dist/src/components/layout/modal/legacy/cw_modal.js +0 -44
  541. package/dist/src/components/layout/modal/legacy/cw_modal_confirm.js +0 -39
  542. package/dist/src/components/layout/modal/legacy/cw_modal_iframe.js +0 -44
  543. package/dist/src/components/layout/modal/legacy/cw_modal_report.js +0 -26
  544. package/dist/src/components/layout/table/grouped/CwTableGrouped.js +0 -70
  545. package/dist/src/components/layout/tabs/CwTabs.js +0 -53
  546. package/dist/src/index.js +0 -187
  547. package/dist/test/components/custom/new-scheduler/presentation/logic/getDefaultDivisions.test.js +0 -48
  548. package/dist/test/components/custom/new-scheduler/presentation/logic/hoursBetween.test.js +0 -15
  549. package/dist/test/components/custom/new-scheduler/presentation/logic/monthDivisions.test.js +0 -42
  550. package/dist/test/components/custom/new-scheduler/presentation/logic/weekendCalc.test.js +0 -30
  551. package/dist/test/components/custom/scheduler/addMinutesToDateFromPx.test.js +0 -43
  552. package/dist/test/components/custom/scheduler/checkIfSlotAvailable.test.js +0 -30
  553. package/dist/test/components/custom/scheduler/daysBetweenTwoDates.test.js +0 -61
  554. package/dist/test/components/custom/scheduler/daysBetweenTwoDatesWithoutCeilForEvent.test.js +0 -27
  555. package/dist/test/components/custom/scheduler/getGUID.test.js +0 -30
  556. package/dist/test/components/custom/scheduler/getPixelsForEvent.test.js +0 -38
  557. package/dist/test/components/custom/scheduler/getTimeHeaders.test.js +0 -35
  558. package/dist/test/components/custom/scheduler/hasSameProperties.test.js +0 -51
  559. package/dist/test/components/custom/scheduler/isAllowedToMove.test.js +0 -28
  560. package/dist/test/components/custom/scheduler/listOfDatesToWeeks.test.js +0 -72
  561. package/dist/test/jest.setup.js +0 -1
  562. /package/dist/src/{common/interfaces/CwSelectListProps.js → components/custom/scheduler-new/presentation/TestScheduler.d.ts} +0 -0
  563. /package/dist/{src/components/custom/scheduler-new/presentation/components/header/SchedulerHeaderState.js → test/components/custom/newScheduler/presentation/logic/getDefaultDivisions.test.d.ts} +0 -0
  564. /package/dist/{src/components/custom/scheduler-new/presentation/state/ui/SchedulerState.js → test/components/custom/newScheduler/presentation/logic/hoursBetween.test.d.ts} +0 -0
  565. /package/dist/{src/components/custom/scheduler-new/presentation/state/ui/WeekRange.js → test/components/custom/newScheduler/presentation/logic/weekendCalc.test.d.ts} +0 -0
  566. /package/dist/{src/components/custom/scheduler-temporal/state/CwSchedulerProps.js → test/components/custom/scheduler/filterEvents.test.d.ts} +0 -0
  567. /package/dist/{src/components/custom/scheduler-temporal/state/State.js → test/components/custom/scheduler/shouldTriggerScroll.test.d.ts} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../playground/main.tsx"],"names":[],"mappings":"AAEA,OAAO,mBAAmB,CAAC;AAG3B,OAAO,oCAAoC,CAAA;AAG3C,eAAO,MAAM,GAAG,+CAUf,CAAC"}
1
+ {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../playground/main.tsx"],"names":[],"mappings":"AAEA,OAAO,mBAAmB,CAAC;AAG3B,OAAO,oCAAoC,CAAA;AAI3C,eAAO,MAAM,GAAG,+CAWf,CAAC"}
@@ -0,0 +1,2 @@
1
+ export type ReactState<T> = [T, React.Dispatch<React.SetStateAction<T>>];
2
+ //# sourceMappingURL=reactor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reactor.d.ts","sourceRoot":"","sources":["../../../../src/common/functions/reactor.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,CAAC,CAAC,IAAI,CAAC,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC"}
@@ -0,0 +1,12 @@
1
+ import * as CSS from "csstype";
2
+ import type { DetailedHTMLProps, FC } from "react";
3
+ import React from "react";
4
+ interface CwChipProps extends DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement> {
5
+ color: CSS.Globals | CSS.DataType.Color;
6
+ removeable?: boolean;
7
+ selected?: boolean;
8
+ icon?: JSX.Element;
9
+ }
10
+ export declare const CwChip: FC<CwChipProps>;
11
+ export {};
12
+ //# sourceMappingURL=CwChip.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CwChip.d.ts","sourceRoot":"","sources":["../../../../../../src/components/control/input/chipper/CwChip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,SAAS,CAAC;AAC/B,OAAO,KAAK,EAAE,iBAAiB,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,UAAU,WAAY,SAAQ,iBAAiB,CAAC,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;IAChH,KAAK,EAAE,GAAG,CAAC,OAAO,GAAG,GAAG,CAAC,QAAQ,CAAC,KAAK,CAAC;IACxC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC;CACnB;AAED,eAAO,MAAM,MAAM,EAAE,EAAE,CAAC,WAAW,CAsClC,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { type FC } from "react";
2
+ interface ClearSchedulerButtonProps {
3
+ onClick: () => void;
4
+ }
5
+ export declare const ClearSchedulerButton: FC<ClearSchedulerButtonProps>;
6
+ export declare const _preview: () => import("react/jsx-runtime").JSX.Element;
7
+ export {};
8
+ //# sourceMappingURL=ClearSchedulerButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClearSchedulerButton.d.ts","sourceRoot":"","sources":["../../../../../../src/components/custom/scheduler/components/ClearSchedulerButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,UAAU,yBAAyB;IAClC,OAAO,EAAE,MAAM,IAAI,CAAC;CACpB;AAED,eAAO,MAAM,oBAAoB,EAAE,EAAE,CAAC,yBAAyB,CAQ9D,CAAC;AAEF,eAAO,MAAM,QAAQ,+CAQpB,CAAC"}
@@ -0,0 +1,14 @@
1
+ import type { cblEvent } from "../../state/cblEvent";
2
+ import type { CwSchedulerProps } from "../../state/CwSchedulerProps";
3
+ 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
+ }[];
@@ -0,0 +1 @@
1
+ {"version":3,"file":"filterAndProcessResources.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/custom/scheduler/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,OAAQ,MAAM,SAAS,gBAAgB,SAAS,KAAK;;;;;;;;;;GAmB1F,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const calculateMaxPxFromDateRange: (windowSize: number, multiplier: number, start: Date, end: Date) => number;
2
+ //# sourceMappingURL=calculateMaxPxFromDateRange.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"calculateMaxPxFromDateRange.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/custom/scheduler/logic/pixels/calculateMaxPxFromDateRange.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,2BAA2B,eAAgB,MAAM,cAAc,MAAM,SAAS,IAAI,OAAO,IAAI,KAAG,MAW5G,CAAC"}
@@ -0,0 +1,5 @@
1
+ import type { cblEvent } from "../../state/cblEvent";
2
+ import type { CwSchedulerProps } from "../../state/CwSchedulerProps";
3
+ import type { Resource } from "../../state/Resource";
4
+ export declare const handleDateChange: (nextProps: CwSchedulerProps, currentProps: CwSchedulerProps, showLogs: boolean, initOutside: (events: cblEvent[], resources: Resource[], startDate: Date, endDate: Date) => void) => void;
5
+ //# sourceMappingURL=handleDateChange.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handleDateChange.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/custom/scheduler/logic/state_handle/handleDateChange.ts"],"names":[],"mappings":"AACA,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,gBAAgB,cACjB,gBAAgB,gBACb,gBAAgB,YACpB,OAAO,eACJ,CAAC,MAAM,EAAE,QAAQ,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,KAAK,IAAI,SAUhG,CAAC"}
@@ -0,0 +1,5 @@
1
+ import type { cblEvent } from "../../state/cblEvent";
2
+ import type { CwSchedulerProps } from "../../state/CwSchedulerProps";
3
+ import type { Resource } from "../../state/Resource";
4
+ import type { State } from "../../state/State";
5
+ export declare const handlePropChanges: (_nextProps: CwSchedulerProps, currentProps: CwSchedulerProps, state: State, setState: (events: cblEvent[], resources: Resource[]) => void) => void;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handlePropChanges.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/custom/scheduler/logic/state_handle/handlePropChanges.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;AACrD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAM/C,eAAO,MAAM,iBAAiB,eACjB,gBAAgB,gBACd,gBAAgB,SACvB,KAAK,YACF,CAAC,MAAM,EAAE,QAAQ,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,IAAI,SAyL7D,CAAC;AAEF,eAAO,MAAM,cAAc,OAAQ,MAAM,KAAG,OAM3C,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { CblDragAndDrop } from "../../state/CblDragAndDrop";
2
+ import type { CwSchedulerProps } from "../../state/CwSchedulerProps";
3
+ export declare const handleOnResize: (props: CwSchedulerProps, cblDragNDrop: CblDragAndDrop) => void;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"onResizeEvent.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/custom/scheduler/logic/state_handle/onResizeEvent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAErE,eAAO,MAAM,cAAc,UAAW,gBAAgB,gBAAgB,cAAc,SAEnF,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { CwSchedulerProps } from "../../state/CwSchedulerProps";
2
+ import type { State } from "../../state/State";
3
+ export declare const getHasPropsChanges: (props: CwSchedulerProps, state: State, _nextProps: CwSchedulerProps) => boolean;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getHasPropsChanged.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/custom/scheduler/logic/ui/getHasPropsChanged.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE/C,eAAO,MAAM,kBAAkB,UAAW,gBAAgB,SAAS,KAAK,cAAc,gBAAgB,KAAG,OA2RxG,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { CwSchedulerProps } from "../../state/CwSchedulerProps";
2
+ import type { State } from "../../state/State";
3
+ export declare const shouldTriggerScroll: (currentProps: CwSchedulerProps, _previousProps: CwSchedulerProps, _previousState: State) => boolean;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shouldTriggerScroll.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/custom/scheduler/logic/ui/shouldTriggerScroll.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE/C,eAAO,MAAM,mBAAmB,iBACjB,gBAAgB,kBACd,gBAAgB,kBAChB,KAAK,YAqSrB,CAAC"}
@@ -0,0 +1,7 @@
1
+ import type CwScheduler from "../CwSchedulerComp";
2
+ import type { cblEvent } from "./cblEvent";
3
+ export type EventProps = {
4
+ event: cblEvent;
5
+ t: CwScheduler;
6
+ };
7
+ //# sourceMappingURL=EventProps.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EventProps.d.ts","sourceRoot":"","sources":["../../../../../../src/components/custom/scheduler/state/EventProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,WAAW,MAAM,oBAAoB,CAAC;AAClD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAE3C,MAAM,MAAM,UAAU,GAAG;IACxB,KAAK,EAAE,QAAQ,CAAC;IAChB,CAAC,EAAE,WAAW,CAAC;CACf,CAAC"}
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=BackgrounEvent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BackgrounEvent.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/custom/scheduler-new/presentation/components/row/BackgrounEvent.tsx"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ declare const useCancellablePromises: () => {
2
+ appendPendingPromise: (promise: any) => any[];
3
+ removePendingPromise: (promise: any) => never[];
4
+ clearPendingPromises: () => any[];
5
+ };
6
+ export default useCancellablePromises;
7
+ //# sourceMappingURL=cancellablePromise.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cancellablePromise.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/custom/scheduler-new/presentation/components/row/cancellablePromise.tsx"],"names":[],"mappings":"AAEA,QAAA,MAAM,sBAAsB;;;;CAkB3B,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
@@ -0,0 +1,7 @@
1
+ declare const useCancellablePromises: () => {
2
+ appendPendingPromise: (promise: Promise<any>) => Promise<any>[];
3
+ removePendingPromise: (promise: Promise<any>) => Promise<any>[];
4
+ clearPendingPromises: () => any[];
5
+ };
6
+ export default useCancellablePromises;
7
+ //# sourceMappingURL=useCancellablePromise.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useCancellablePromise.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/custom/scheduler-new/presentation/components/row/useCancellablePromise.tsx"],"names":[],"mappings":"AAEA,QAAA,MAAM,sBAAsB;oCAGY,OAAO,CAAC,GAAG,CAAC;oCAGZ,OAAO,CAAC,GAAG,CAAC;;CAYnD,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
@@ -0,0 +1,5 @@
1
+ import type { Row } from "../state/external/Row";
2
+ import type { SchedulerEventState } from "../state/ui/SchedulerEventState";
3
+ import type { SchedulerRowState } from "../state/ui/SchedulerRow";
4
+ export declare const separateEventsByResource: (events: SchedulerEventState[], resources: Row[]) => SchedulerRowState[];
5
+ //# sourceMappingURL=separateEventsByResource.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"separateEventsByResource.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/custom/scheduler-new/presentation/logic/separateEventsByResource.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,uBAAuB,CAAC;AACjD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAC3E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAElE,eAAO,MAAM,wBAAwB,WAAY,mBAAmB,EAAE,aAAa,GAAG,EAAE,KAAG,iBAAiB,EAU3G,CAAC"}
@@ -0,0 +1,9 @@
1
+ export interface Event {
2
+ id: string;
3
+ resourceId: string;
4
+ name: string;
5
+ color: string;
6
+ startDate: Date;
7
+ endDate: Date;
8
+ }
9
+ //# sourceMappingURL=Event.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Event.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/custom/scheduler-new/presentation/state/external/Event.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,KAAK;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,IAAI,CAAC;IAChB,OAAO,EAAE,IAAI,CAAC;CACd"}
@@ -0,0 +1,5 @@
1
+ export interface Row {
2
+ resourceId: string;
3
+ title: string;
4
+ }
5
+ //# sourceMappingURL=Row.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Row.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/custom/scheduler-new/presentation/state/external/Row.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,GAAG;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;CACd"}
@@ -0,0 +1,6 @@
1
+ export interface EventSideDragState {
2
+ left: boolean;
3
+ onStartEvent: (xPixels: number) => void;
4
+ onEndEvent: (xPixels: number) => void;
5
+ }
6
+ //# sourceMappingURL=EventSideDragState.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EventSideDragState.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/custom/scheduler-new/presentation/state/ui/EventSideDragState.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,kBAAkB;IAClC,IAAI,EAAE,OAAO,CAAC;IACd,YAAY,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,UAAU,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;CACtC"}
@@ -0,0 +1,5 @@
1
+ export interface HeaderDivision {
2
+ top: string;
3
+ bottom: string[];
4
+ }
5
+ //# sourceMappingURL=HeaderDivision.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HeaderDivision.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/custom/scheduler-new/presentation/state/ui/HeaderDivision.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,cAAc;IAC9B,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,EAAE,CAAC;CACjB"}
@@ -0,0 +1,14 @@
1
+ import type { ReactElement } from "react";
2
+ import type { CwIconProps } from "../../../../../display/graphics/icon/CwIcon";
3
+ export interface SchedulerEventState {
4
+ id: string;
5
+ name: string;
6
+ resourceId: string;
7
+ color: string;
8
+ startDate: Date;
9
+ endDate: Date;
10
+ left: number;
11
+ width: number;
12
+ icons: ReactElement<CwIconProps>[];
13
+ }
14
+ //# sourceMappingURL=SchedulerEventState.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SchedulerEventState.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/custom/scheduler-new/presentation/state/ui/SchedulerEventState.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,6CAA6C,CAAC;AAE/E,MAAM,WAAW,mBAAmB;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,IAAI,CAAC;IAChB,OAAO,EAAE,IAAI,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,YAAY,CAAC,WAAW,CAAC,EAAE,CAAC;CACnC"}
@@ -0,0 +1,11 @@
1
+ import type { HeaderDivision } from "./HeaderDivision";
2
+ export interface SchedulerHeaderState {
3
+ content: SchedulerHeaderContent;
4
+ divisions: HeaderDivision[];
5
+ visibleDays: number;
6
+ }
7
+ export interface SchedulerHeaderContent {
8
+ title: string;
9
+ classification: string;
10
+ }
11
+ //# sourceMappingURL=SchedulerHeaderState.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SchedulerHeaderState.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/custom/scheduler-new/presentation/state/ui/SchedulerHeaderState.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAErD,MAAM,WAAW,oBAAoB;IACpC,OAAO,EAAC,sBAAsB,CAAC;IAC/B,SAAS,EAAE,cAAc,EAAE,CAAC;IAC5B,WAAW,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,sBAAsB;IACtC,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,MAAM,CAAC;CACvB"}
@@ -0,0 +1,8 @@
1
+ import type { SchedulerEventState } from "./SchedulerEventState";
2
+ export interface SchedulerRowState {
3
+ resourceId: string;
4
+ title: string;
5
+ color: string;
6
+ events: SchedulerEventState[];
7
+ }
8
+ //# sourceMappingURL=SchedulerRow.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SchedulerRow.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/custom/scheduler-new/presentation/state/ui/SchedulerRow.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAEjE,MAAM,WAAW,iBAAiB;IACjC,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,mBAAmB,EAAE,CAAC;CAC9B"}
@@ -1,3 +1,3 @@
1
1
  import "../common/styles/cw-global.css";
2
- export declare const PaletteTree: () => import("react/jsx-runtime").JSX.Element;
2
+ export declare const CwPaletteTree: () => import("react/jsx-runtime").JSX.Element;
3
3
  //# sourceMappingURL=palette.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"palette.d.ts","sourceRoot":"","sources":["../../../src/dev/palette.tsx"],"names":[],"mappings":"AAEA,OAAO,gCAAgC,CAAA;AASvC,eAAO,MAAM,WAAW,+CAsGvB,CAAC"}
1
+ {"version":3,"file":"palette.d.ts","sourceRoot":"","sources":["../../../src/dev/palette.tsx"],"names":[],"mappings":"AAEA,OAAO,gCAAgC,CAAA;AASvC,eAAO,MAAM,aAAa,+CAsGzB,CAAC"}
@@ -101,4 +101,5 @@ export { CwFindAirport } from "./components/custom/find-airport/CwFindAirportCom
101
101
  export { OnClearPinned, OnPinRow, OnUnpinRow, PinRowHeader, SuperScheduler, type PinRowHeaderProps, type SuperSchedulerProps };
102
102
  export { OnClickContextMenu, OnClickEvent, OnClickRowEvent, OnClickRowHeader, OnClickUtc, OnDoubleClickEvent, OnDoubleClickRowEvent, OnDragEvent, OnDropCtrlEvent, OnDropEvent, OnEndClickHeaderEvent, OnLeftDragStart, OnMultiClickEvent, OnRangeClickEvent, OnRightClickEvent, OnRightClickRow, OnRightDragStart, OnStartClickHeaderEvent } from "./components/custom/scheduler-new/presentation/NewSchedulerUiEvents";
103
103
  export type { BackgroundEventDm } from "./components/custom/scheduler-new/presentation/components/row/BackgroundEvent";
104
+ export { CwPaletteTree } from "./dev/palette";
104
105
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":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AAE,MAAM,8CAA8C,CAAC;AAGxE,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,uDAAuD,CAAC;AAC/F,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,wDAAwD,CAAC;AAEjG,OAAO,EAAE,cAAc,EAAE,MAAM,oDAAoD,CAAC;AAEpF,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,kDAAkD,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;AAEvF,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getDefaultDivisions.test.d.ts","sourceRoot":"","sources":["../../../../../../../test/components/custom/newScheduler/presentation/logic/getDefaultDivisions.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=calculateMaxPxFromDateRange.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"calculateMaxPxFromDateRange.test.d.ts","sourceRoot":"","sources":["../../../../../test/components/custom/scheduler/calculateMaxPxFromDateRange.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"filterEvents.test.d.ts","sourceRoot":"","sources":["../../../../../test/components/custom/scheduler/filterEvents.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shouldTriggerScroll.test.d.ts","sourceRoot":"","sources":["../../../../../test/components/custom/scheduler/shouldTriggerScroll.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=example.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"example.test.d.ts","sourceRoot":"","sources":["../../test/example.test.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cwellt_software/cwellt-reactjs-lib",
3
- "version": "1.1.4",
3
+ "version": "1.1.6",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
@@ -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,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
- }