@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.
- package/dist/assets/asset-DnHaq7m- +50 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-cyrillic-ext-full-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-cyrillic-ext-grad-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-cyrillic-ext-opsz-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-cyrillic-ext-slnt-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-cyrillic-ext-standard-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-cyrillic-ext-wdth-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-cyrillic-ext-wght-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-cyrillic-ext-xopq-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-cyrillic-ext-xtra-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-cyrillic-ext-yopq-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-cyrillic-ext-ytas-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-cyrillic-ext-ytde-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-cyrillic-ext-ytfi-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-cyrillic-ext-ytlc-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-cyrillic-ext-ytuc-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-cyrillic-full-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-cyrillic-grad-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-cyrillic-opsz-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-cyrillic-slnt-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-cyrillic-standard-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-cyrillic-wdth-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-cyrillic-wght-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-cyrillic-xopq-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-cyrillic-xtra-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-cyrillic-yopq-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-cyrillic-ytas-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-cyrillic-ytde-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-cyrillic-ytfi-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-cyrillic-ytlc-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-cyrillic-ytuc-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-greek-full-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-greek-grad-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-greek-opsz-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-greek-slnt-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-greek-standard-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-greek-wdth-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-greek-wght-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-greek-xopq-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-greek-xtra-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-greek-yopq-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-greek-ytas-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-greek-ytde-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-greek-ytfi-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-greek-ytlc-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-greek-ytuc-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-vietnamese-full-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-vietnamese-grad-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-vietnamese-opsz-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-vietnamese-slnt-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-vietnamese-standard-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-vietnamese-wdth-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-vietnamese-wght-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-vietnamese-xopq-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-vietnamese-xtra-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-vietnamese-yopq-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-vietnamese-ytas-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-vietnamese-ytde-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-vietnamese-ytfi-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-vietnamese-ytlc-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-vietnamese-ytuc-normal.woff2 +0 -0
- package/dist/content/icons/cw-icons/css/cw-icons.css +2784 -0
- package/dist/content/icons/cw-icons/fonts/cwAvinodeFont/CblAvinodeIcon.eot +0 -0
- package/dist/content/icons/cw-icons/fonts/cwAvinodeFont/CblAvinodeIcon.svg +11 -0
- package/dist/content/icons/cw-icons/fonts/cwAvinodeFont/CblAvinodeIcon.ttf +0 -0
- package/dist/content/icons/cw-icons/fonts/cwAvinodeFont/CblAvinodeIcon.woff +0 -0
- package/dist/content/icons/cw-icons/fonts/cwCrewControlFont/CblCrewControl.eot +0 -0
- package/dist/content/icons/cw-icons/fonts/cwCrewControlFont/CblCrewControl.svg +38 -0
- package/dist/content/icons/cw-icons/fonts/cwCrewControlFont/CblCrewControl.ttf +0 -0
- package/dist/content/icons/cw-icons/fonts/cwCrewControlFont/CblCrewControl.woff +0 -0
- package/dist/content/icons/cw-icons/fonts/cwCrewControlFont/CblCrewControl.woff2 +0 -0
- package/dist/content/icons/cw-icons/fonts/cwCrewControlFont/Crew Control.eot +0 -0
- package/dist/content/icons/cw-icons/fonts/cwCrewControlFont/Crew Control.svg +29 -0
- package/dist/content/icons/cw-icons/fonts/cwCrewControlFont/Crew Control.ttf +0 -0
- package/dist/content/icons/cw-icons/fonts/cwCrewControlFont/Crew Control.woff +0 -0
- package/dist/content/icons/cw-icons/fonts/cwCrewControlFont/Crew Control.woff2 +0 -0
- package/dist/content/icons/cw-icons/fonts/cwCrewControlNewIcon/CblCrewControlReact.eot +0 -0
- package/dist/content/icons/cw-icons/fonts/cwCrewControlNewIcon/CblCrewControlReact.svg +12 -0
- package/dist/content/icons/cw-icons/fonts/cwCrewControlNewIcon/CblCrewControlReact.ttf +0 -0
- package/dist/content/icons/cw-icons/fonts/cwCrewControlNewIcon/CblCrewControlReact.woff +0 -0
- package/dist/content/icons/cw-icons/fonts/cwCrewControlNewIcon/CblDutyIcon.eot +0 -0
- package/dist/content/icons/cw-icons/fonts/cwCrewControlNewIcon/CblDutyIcon.svg +11 -0
- package/dist/content/icons/cw-icons/fonts/cwCrewControlNewIcon/CblDutyIcon.ttf +0 -0
- package/dist/content/icons/cw-icons/fonts/cwCrewControlNewIcon/CblDutyIcon.woff +0 -0
- package/dist/content/icons/cw-icons/fonts/cwCrewControlNewIcon/SessionWarning.eot +0 -0
- package/dist/content/icons/cw-icons/fonts/cwCrewControlNewIcon/SessionWarning.svg +12 -0
- package/dist/content/icons/cw-icons/fonts/cwCrewControlNewIcon/SessionWarning.ttf +0 -0
- package/dist/content/icons/cw-icons/fonts/cwCrewControlNewIcon/SessionWarning.woff +0 -0
- package/dist/content/icons/cw-icons/fonts/cwCrewControlNewIcon/cblDuty.eot +0 -0
- package/dist/content/icons/cw-icons/fonts/cwCrewControlNewIcon/cblDuty.svg +26 -0
- package/dist/content/icons/cw-icons/fonts/cwCrewControlNewIcon/cblDuty.ttf +0 -0
- package/dist/content/icons/cw-icons/fonts/cwCrewControlNewIcon/cblDuty.woff +0 -0
- package/dist/content/icons/cw-icons/fonts/cwCrewControlNewIcon/cblDuty.woff2 +0 -0
- package/dist/content/icons/cw-icons/fonts/cwCrewControlNewIcon/cblcrewcontrol.eot +0 -0
- package/dist/content/icons/cw-icons/fonts/cwCrewControlNewIcon/cblcrewcontrol.svg +13 -0
- package/dist/content/icons/cw-icons/fonts/cwCrewControlNewIcon/cblcrewcontrol.ttf +0 -0
- package/dist/content/icons/cw-icons/fonts/cwCrewControlNewIcon/cblcrewcontrol.woff +0 -0
- package/dist/content/icons/cw-icons/fonts/cwCrewControlNewIcon/cblcrewcontrolfont.eot +0 -0
- package/dist/content/icons/cw-icons/fonts/cwCrewControlNewIcon/cblcrewcontrolfont.svg +29 -0
- package/dist/content/icons/cw-icons/fonts/cwCrewControlNewIcon/cblcrewcontrolfont.ttf +0 -0
- package/dist/content/icons/cw-icons/fonts/cwCrewControlNewIcon/cblcrewcontrolfont.woff +0 -0
- package/dist/content/icons/cw-icons/fonts/cwCrewControlNewIcon/cblcrewcontrolfont.woff2 +0 -0
- package/dist/content/icons/cw-icons/fonts/cwCrewFont/Crew.eot +0 -0
- package/dist/content/icons/cw-icons/fonts/cwCrewFont/Crew.svg +29 -0
- package/dist/content/icons/cw-icons/fonts/cwCrewFont/Crew.ttf +0 -0
- package/dist/content/icons/cw-icons/fonts/cwCrewFont/Crew.woff +0 -0
- package/dist/content/icons/cw-icons/fonts/cwCrewFont/Crew.woff2 +0 -0
- package/dist/content/icons/cw-icons/fonts/cwCrewPlanningFont/Crew Planning.eot +0 -0
- package/dist/content/icons/cw-icons/fonts/cwCrewPlanningFont/Crew Planning.svg +17 -0
- package/dist/content/icons/cw-icons/fonts/cwCrewPlanningFont/Crew Planning.ttf +0 -0
- package/dist/content/icons/cw-icons/fonts/cwCrewPlanningFont/Crew Planning.woff +0 -0
- package/dist/content/icons/cw-icons/fonts/cwCrewPlanningFont/Crew Planning.woff2 +0 -0
- package/dist/content/icons/cw-icons/fonts/cwCrewPlanningFont/CrewPlanningFont.eot +0 -0
- package/dist/content/icons/cw-icons/fonts/cwCrewPlanningFont/CrewPlanningFont.svg +20 -0
- package/dist/content/icons/cw-icons/fonts/cwCrewPlanningFont/CrewPlanningFont.ttf +0 -0
- package/dist/content/icons/cw-icons/fonts/cwCrewPlanningFont/CrewPlanningFont.woff +0 -0
- package/dist/content/icons/cw-icons/fonts/cwCrewPlanningFont/CrewPlanningFont.woff2 +0 -0
- package/dist/content/icons/cw-icons/fonts/cwCrewPlanningFont/CrewSchedulingFont.eot +0 -0
- package/dist/content/icons/cw-icons/fonts/cwCrewPlanningFont/CrewSchedulingFont.svg +12 -0
- package/dist/content/icons/cw-icons/fonts/cwCrewPlanningFont/CrewSchedulingFont.ttf +0 -0
- package/dist/content/icons/cw-icons/fonts/cwCrewPlanningFont/CrewSchedulingFont.woff +0 -0
- package/dist/content/icons/cw-icons/fonts/cwDispatchFont/Dispatch.eot +0 -0
- package/dist/content/icons/cw-icons/fonts/cwDispatchFont/Dispatch.svg +20 -0
- package/dist/content/icons/cw-icons/fonts/cwDispatchFont/Dispatch.ttf +0 -0
- package/dist/content/icons/cw-icons/fonts/cwDispatchFont/Dispatch.woff +0 -0
- package/dist/content/icons/cw-icons/fonts/cwDispatchFont/Dispatch.woff2 +0 -0
- package/dist/content/icons/cw-icons/fonts/cwEmanualFont/ArchiveEmanual.eot +0 -0
- package/dist/content/icons/cw-icons/fonts/cwEmanualFont/ArchiveEmanual.svg +12 -0
- package/dist/content/icons/cw-icons/fonts/cwEmanualFont/ArchiveEmanual.ttf +0 -0
- package/dist/content/icons/cw-icons/fonts/cwEmanualFont/ArchiveEmanual.woff +0 -0
- package/dist/content/icons/cw-icons/fonts/cwEmanualFont/CblEmanualNewIcons.eot +0 -0
- package/dist/content/icons/cw-icons/fonts/cwEmanualFont/CblEmanualNewIcons.svg +14 -0
- package/dist/content/icons/cw-icons/fonts/cwEmanualFont/CblEmanualNewIcons.ttf +0 -0
- package/dist/content/icons/cw-icons/fonts/cwEmanualFont/CblEmanualNewIcons.woff +0 -0
- package/dist/content/icons/cw-icons/fonts/cwEmanualFont/Emanual.eot +0 -0
- package/dist/content/icons/cw-icons/fonts/cwEmanualFont/Emanual.svg +38 -0
- package/dist/content/icons/cw-icons/fonts/cwEmanualFont/Emanual.ttf +0 -0
- package/dist/content/icons/cw-icons/fonts/cwEmanualFont/Emanual.woff +0 -0
- package/dist/content/icons/cw-icons/fonts/cwEmanualFont/Emanual.woff2 +0 -0
- package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualApprovedFile.eot +0 -0
- package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualApprovedFile.svg +11 -0
- package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualApprovedFile.ttf +0 -0
- package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualApprovedFile.woff +0 -0
- package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualBookMark.eot +0 -0
- package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualBookMark.svg +17 -0
- package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualBookMark.ttf +0 -0
- package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualBookMark.woff +0 -0
- package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualBookMark.woff2 +0 -0
- package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualBookMarkLink.eot +0 -0
- package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualBookMarkLink.svg +11 -0
- package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualBookMarkLink.ttf +0 -0
- package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualBookMarkLink.woff +0 -0
- package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualFolder.eot +0 -0
- package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualFolder.svg +11 -0
- package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualFolder.ttf +0 -0
- package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualFolder.woff +0 -0
- package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualFont.eot +0 -0
- package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualFont.svg +13 -0
- package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualFont.ttf +0 -0
- package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualFont.woff +0 -0
- package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualFontNew.eot +0 -0
- package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualFontNew.svg +32 -0
- package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualFontNew.ttf +0 -0
- package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualFontNew.woff +0 -0
- package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualFontNew.woff2 +0 -0
- package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualPendingIcon.eot +0 -0
- package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualPendingIcon.svg +11 -0
- package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualPendingIcon.ttf +0 -0
- package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualPendingIcon.woff +0 -0
- package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualPublishFile.eot +0 -0
- package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualPublishFile.svg +11 -0
- package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualPublishFile.ttf +0 -0
- package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualPublishFile.woff +0 -0
- package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualPublishIconFile.eot +0 -0
- package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualPublishIconFile.svg +11 -0
- package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualPublishIconFile.ttf +0 -0
- package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualPublishIconFile.woff +0 -0
- package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualRestoreTrash.eot +0 -0
- package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualRestoreTrash.svg +11 -0
- package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualRestoreTrash.ttf +0 -0
- package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualRestoreTrash.woff +0 -0
- package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualRestoreTrashRight.eot +0 -0
- package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualRestoreTrashRight.svg +11 -0
- package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualRestoreTrashRight.ttf +0 -0
- package/dist/content/icons/cw-icons/fonts/cwEmanualFont/EmanualRestoreTrashRight.woff +0 -0
- package/dist/content/icons/cw-icons/fonts/cwEmanualFont/LibraryIcon.eot +0 -0
- package/dist/content/icons/cw-icons/fonts/cwEmanualFont/LibraryIcon.svg +12 -0
- package/dist/content/icons/cw-icons/fonts/cwEmanualFont/LibraryIcon.ttf +0 -0
- package/dist/content/icons/cw-icons/fonts/cwEmanualFont/LibraryIcon.woff +0 -0
- package/dist/content/icons/cw-icons/fonts/cwFavoritesElement/Favorites.eot +0 -0
- package/dist/content/icons/cw-icons/fonts/cwFavoritesElement/Favorites.svg +158 -0
- package/dist/content/icons/cw-icons/fonts/cwFavoritesElement/Favorites.ttf +0 -0
- package/dist/content/icons/cw-icons/fonts/cwFavoritesElement/Favorites.woff +0 -0
- package/dist/content/icons/cw-icons/fonts/cwFavoritesElement/Favorites.woff2 +0 -0
- package/dist/content/icons/cw-icons/fonts/cwFavoritesElement/cwellt_icon.eot +0 -0
- package/dist/content/icons/cw-icons/fonts/cwFavoritesElement/cwellt_icon.svg +18 -0
- package/dist/content/icons/cw-icons/fonts/cwFavoritesElement/cwellt_icon.ttf +0 -0
- package/dist/content/icons/cw-icons/fonts/cwFavoritesElement/cwellt_icon.woff +0 -0
- package/dist/content/icons/cw-icons/fonts/cwFavoritesFont/Favorites.eot +0 -0
- package/dist/content/icons/cw-icons/fonts/cwFavoritesFont/Favorites.svg +62 -0
- package/dist/content/icons/cw-icons/fonts/cwFavoritesFont/Favorites.ttf +0 -0
- package/dist/content/icons/cw-icons/fonts/cwFavoritesFont/Favorites.woff +0 -0
- package/dist/content/icons/cw-icons/fonts/cwFavoritesFont/Favorites.woff2 +0 -0
- package/dist/content/icons/cw-icons/fonts/cwFavoritesIcons/CblFavoritesIcons.eot +0 -0
- package/dist/content/icons/cw-icons/fonts/cwFavoritesIcons/CblFavoritesIcons.svg +43 -0
- package/dist/content/icons/cw-icons/fonts/cwFavoritesIcons/CblFavoritesIcons.ttf +0 -0
- package/dist/content/icons/cw-icons/fonts/cwFavoritesIcons/CblFavoritesIcons.woff +0 -0
- package/dist/content/icons/cw-icons/fonts/cwFgIconsFonts/CblFigIcons.eot +0 -0
- package/dist/content/icons/cw-icons/fonts/cwFgIconsFonts/CblFigIcons.svg +49 -0
- package/dist/content/icons/cw-icons/fonts/cwFgIconsFonts/CblFigIcons.ttf +0 -0
- package/dist/content/icons/cw-icons/fonts/cwFgIconsFonts/CblFigIcons.woff +0 -0
- package/dist/content/icons/cw-icons/fonts/cwFlightOpsFont/FlightOps.eot +0 -0
- package/dist/content/icons/cw-icons/fonts/cwFlightOpsFont/FlightOps.svg +41 -0
- package/dist/content/icons/cw-icons/fonts/cwFlightOpsFont/FlightOps.ttf +0 -0
- package/dist/content/icons/cw-icons/fonts/cwFlightOpsFont/FlightOps.woff +0 -0
- package/dist/content/icons/cw-icons/fonts/cwFlightOpsFont/FlightOps.woff2 +0 -0
- package/dist/content/icons/cw-icons/fonts/cwGeneralFont/CblUndoIcon.eot +0 -0
- package/dist/content/icons/cw-icons/fonts/cwGeneralFont/CblUndoIcon.svg +11 -0
- package/dist/content/icons/cw-icons/fonts/cwGeneralFont/CblUndoIcon.ttf +0 -0
- package/dist/content/icons/cw-icons/fonts/cwGeneralFont/CblUndoIcon.woff +0 -0
- package/dist/content/icons/cw-icons/fonts/cwGeneralFont/FlightWatchOnTimeIcon.eot +0 -0
- package/dist/content/icons/cw-icons/fonts/cwGeneralFont/FlightWatchOnTimeIcon.svg +11 -0
- package/dist/content/icons/cw-icons/fonts/cwGeneralFont/FlightWatchOnTimeIcon.ttf +0 -0
- package/dist/content/icons/cw-icons/fonts/cwGeneralFont/FlightWatchOnTimeIcon.woff +0 -0
- package/dist/content/icons/cw-icons/fonts/cwGeneralFont/General.eot +0 -0
- package/dist/content/icons/cw-icons/fonts/cwGeneralFont/General.svg +41 -0
- package/dist/content/icons/cw-icons/fonts/cwGeneralFont/General.ttf +0 -0
- package/dist/content/icons/cw-icons/fonts/cwGeneralFont/General.woff +0 -0
- package/dist/content/icons/cw-icons/fonts/cwGeneralFont/General.woff2 +0 -0
- package/dist/content/icons/cw-icons/fonts/cwGeneralFont/IDCardStatusIcon.eot +0 -0
- package/dist/content/icons/cw-icons/fonts/cwGeneralFont/IDCardStatusIcon.svg +12 -0
- package/dist/content/icons/cw-icons/fonts/cwGeneralFont/IDCardStatusIcon.ttf +0 -0
- package/dist/content/icons/cw-icons/fonts/cwGeneralFont/IDCardStatusIcon.woff +0 -0
- package/dist/content/icons/cw-icons/fonts/cwNewGeneralFontIcon/Favorites.eot +0 -0
- package/dist/content/icons/cw-icons/fonts/cwNewGeneralFontIcon/Favorites.svg +17 -0
- package/dist/content/icons/cw-icons/fonts/cwNewGeneralFontIcon/Favorites.ttf +0 -0
- package/dist/content/icons/cw-icons/fonts/cwNewGeneralFontIcon/Favorites.woff +0 -0
- package/dist/content/icons/cw-icons/fonts/cwNewGeneralFontIcon/Favorites.woff2 +0 -0
- package/dist/content/icons/cw-icons/fonts/cwNewGeneralFontIcon/calculator.eot +0 -0
- package/dist/content/icons/cw-icons/fonts/cwNewGeneralFontIcon/calculator.svg +11 -0
- package/dist/content/icons/cw-icons/fonts/cwNewGeneralFontIcon/calculator.ttf +0 -0
- package/dist/content/icons/cw-icons/fonts/cwNewGeneralFontIcon/calculator.woff +0 -0
- package/dist/content/icons/cw-icons/fonts/cwNewGeneralFontIcon/icons_cwellt.eot +0 -0
- package/dist/content/icons/cw-icons/fonts/cwNewGeneralFontIcon/icons_cwellt.svg +11 -0
- package/dist/content/icons/cw-icons/fonts/cwNewGeneralFontIcon/icons_cwellt.ttf +0 -0
- package/dist/content/icons/cw-icons/fonts/cwNewGeneralFontIcon/icons_cwellt.woff +0 -0
- package/dist/content/icons/cw-icons/fonts/cwOpstoolReactFont/opstoolReactIcons.eot +0 -0
- package/dist/content/icons/cw-icons/fonts/cwOpstoolReactFont/opstoolReactIcons.svg +12 -0
- package/dist/content/icons/cw-icons/fonts/cwOpstoolReactFont/opstoolReactIcons.ttf +0 -0
- package/dist/content/icons/cw-icons/fonts/cwOpstoolReactFont/opstoolReactIcons.woff +0 -0
- package/dist/content/icons/cw-icons/fonts/cwPaxRelationsFont/Pax Relations.eot +0 -0
- package/dist/content/icons/cw-icons/fonts/cwPaxRelationsFont/Pax Relations.svg +17 -0
- package/dist/content/icons/cw-icons/fonts/cwPaxRelationsFont/Pax Relations.ttf +0 -0
- package/dist/content/icons/cw-icons/fonts/cwPaxRelationsFont/Pax Relations.woff +0 -0
- package/dist/content/icons/cw-icons/fonts/cwPaxRelationsFont/Pax Relations.woff2 +0 -0
- package/dist/content/icons/cw-icons/fonts/cwSalesFont/Sales.eot +0 -0
- package/dist/content/icons/cw-icons/fonts/cwSalesFont/Sales.svg +50 -0
- package/dist/content/icons/cw-icons/fonts/cwSalesFont/Sales.ttf +0 -0
- package/dist/content/icons/cw-icons/fonts/cwSalesFont/Sales.woff +0 -0
- package/dist/content/icons/cw-icons/fonts/cwSalesFont/Sales.woff2 +0 -0
- package/dist/content/icons/cw-icons/fonts/cwTrainingFont/Training.eot +0 -0
- package/dist/content/icons/cw-icons/fonts/cwTrainingFont/Training.svg +17 -0
- package/dist/content/icons/cw-icons/fonts/cwTrainingFont/Training.ttf +0 -0
- package/dist/content/icons/cw-icons/fonts/cwTrainingFont/Training.woff +0 -0
- package/dist/content/icons/cw-icons/fonts/cwTrainingFont/Training.woff2 +0 -0
- package/dist/content/icons/font-awesome/webfonts/fa-brands-400.ttf +0 -0
- package/dist/content/icons/font-awesome/webfonts/fa-regular-400.ttf +0 -0
- package/dist/content/icons/font-awesome/webfonts/fa-solid-900.ttf +0 -0
- package/dist/content/icons/font-awesome/webfonts/fa-v4compatibility.ttf +0 -0
- package/dist/index.cjs.js +2 -2
- package/dist/index.cjs.js.map +1 -0
- package/dist/index.css.map +1 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.es.js +2 -2
- package/dist/index.esm.js +4836 -0
- package/dist/src/common/functions/reactor.d.ts +2 -0
- package/dist/src/common/functions/reactor.d.ts.map +1 -0
- package/dist/src/components/control/input/chipper/CwChip.d.ts +12 -0
- package/dist/src/components/control/input/chipper/CwChip.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler/components/ClearSchedulerButton.d.ts +8 -0
- package/dist/src/components/custom/scheduler/components/ClearSchedulerButton.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler/logic/filtering/filterAndProcessResources.d.ts +14 -0
- package/dist/src/components/custom/scheduler/logic/filtering/filterAndProcessResources.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler/logic/pixels/calculateMaxPxFromDateRange.d.ts +2 -0
- package/dist/src/components/custom/scheduler/logic/pixels/calculateMaxPxFromDateRange.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler/logic/state_handle/handleDateChange.d.ts +5 -0
- package/dist/src/components/custom/scheduler/logic/state_handle/handleDateChange.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler/logic/state_handle/handlePropChanges.d.ts +5 -0
- package/dist/src/components/custom/scheduler/logic/state_handle/handlePropChanges.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler/logic/state_handle/onResizeEvent.d.ts +3 -0
- package/dist/src/components/custom/scheduler/logic/state_handle/onResizeEvent.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler/logic/ui/getHasPropsChanged.d.ts +3 -0
- package/dist/src/components/custom/scheduler/logic/ui/getHasPropsChanged.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler/logic/ui/shouldTriggerScroll.d.ts +3 -0
- package/dist/src/components/custom/scheduler/logic/ui/shouldTriggerScroll.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler/state/EventProps.d.ts +7 -0
- package/dist/src/components/custom/scheduler/state/EventProps.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-new/presentation/components/row/BackgrounEvent.d.ts +1 -0
- package/dist/src/components/custom/scheduler-new/presentation/components/row/BackgrounEvent.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-new/presentation/components/row/cancellablePromise.d.ts +7 -0
- package/dist/src/components/custom/scheduler-new/presentation/components/row/cancellablePromise.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-new/presentation/components/row/useCancellablePromise.d.ts +7 -0
- package/dist/src/components/custom/scheduler-new/presentation/components/row/useCancellablePromise.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-new/presentation/logic/separateEventsByResource.d.ts +5 -0
- package/dist/src/components/custom/scheduler-new/presentation/logic/separateEventsByResource.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-new/presentation/state/external/Event.d.ts +9 -0
- package/dist/src/components/custom/scheduler-new/presentation/state/external/Event.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-new/presentation/state/external/Row.d.ts +5 -0
- package/dist/src/components/custom/scheduler-new/presentation/state/external/Row.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-new/presentation/state/ui/EventSideDragState.d.ts +6 -0
- package/dist/src/components/custom/scheduler-new/presentation/state/ui/EventSideDragState.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-new/presentation/state/ui/HeaderDivision.d.ts +5 -0
- package/dist/src/components/custom/scheduler-new/presentation/state/ui/HeaderDivision.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-new/presentation/state/ui/SchedulerEventState.d.ts +14 -0
- package/dist/src/components/custom/scheduler-new/presentation/state/ui/SchedulerEventState.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-new/presentation/state/ui/SchedulerHeaderState.d.ts +11 -0
- package/dist/src/components/custom/scheduler-new/presentation/state/ui/SchedulerHeaderState.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-new/presentation/state/ui/SchedulerRow.d.ts +8 -0
- package/dist/src/components/custom/scheduler-new/presentation/state/ui/SchedulerRow.d.ts.map +1 -0
- package/dist/test/components/custom/newScheduler/presentation/logic/getDefaultDivisions.test.d.ts.map +1 -0
- package/dist/test/components/custom/scheduler/calculateMaxPxFromDateRange.test.d.ts +2 -0
- package/dist/test/components/custom/scheduler/calculateMaxPxFromDateRange.test.d.ts.map +1 -0
- package/dist/test/components/custom/scheduler/filterEvents.test.d.ts.map +1 -0
- package/dist/test/components/custom/scheduler/shouldTriggerScroll.test.d.ts.map +1 -0
- package/dist/test/example.test.d.ts +1 -0
- package/dist/test/example.test.d.ts.map +1 -0
- package/package.json +1 -1
- package/dist/src/common/classes/CwSelectList.js +0 -12
- package/dist/src/common/classes/CwSelectListItems.js +0 -14
- package/dist/src/common/functions/collections.js +0 -18
- package/dist/src/common/functions/colorManipulation.js +0 -76
- package/dist/src/common/functions/dsl/UiEventDSL.js +0 -20
- package/dist/src/common/functions/useSingleAndDoubleClicks.js +0 -28
- package/dist/src/components/control/action/button/CwButton.js +0 -13
- package/dist/src/components/control/action/buttons/CwButtons.js +0 -188
- package/dist/src/components/control/action/contextmenu/CwContextMenu.js +0 -43
- package/dist/src/components/control/action/contextual-menu/CwContextualMenu.js +0 -55
- package/dist/src/components/control/action/search/CwSearch.js +0 -67
- package/dist/src/components/control/action/tooltip-dialog/CwTooltipDialog.js +0 -11
- package/dist/src/components/control/choice/checkbox/CwCheckbox.js +0 -15
- package/dist/src/components/control/choice/deprecated/MultiSelect_deprecated_.js +0 -99
- package/dist/src/components/control/choice/dropdown/CwDropdown.js +0 -27
- package/dist/src/components/control/choice/dropdown/CwDropdownContainer.js +0 -30
- package/dist/src/components/control/choice/dropdown/CwDropdownFilter.js +0 -10
- package/dist/src/components/control/choice/multi-filter/CwMultiFilter.js +0 -298
- package/dist/src/components/control/choice/multi-filter/components/tag/CwMultiFilterTag.js +0 -17
- package/dist/src/components/control/choice/multiselect/CwHeadFilter.js +0 -80
- package/dist/src/components/control/choice/multiselect/CwMultiselect.js +0 -393
- package/dist/src/components/control/choice/multiselect/CwOptionList.js +0 -36
- package/dist/src/components/control/choice/option/CwOption.js +0 -16
- package/dist/src/components/control/choice/select/CwSelect.js +0 -36
- package/dist/src/components/control/choice/toggle/CwToggle.js +0 -9
- package/dist/src/components/control/input/any/CwInput.js +0 -16
- package/dist/src/components/control/input/color/CwColorPicker.js +0 -210
- package/dist/src/components/control/input/color/CwInputColor.js +0 -142
- package/dist/src/components/control/input/date/CwInputDate.js +0 -29
- package/dist/src/components/control/input/date-picker/CwInputDatePicker.js +0 -109
- package/dist/src/components/control/input/date-text/CwInputDateText.js +0 -90
- package/dist/src/components/control/input/datetime/CwInputDatetime.js +0 -29
- package/dist/src/components/control/input/digit/CwDigit.js +0 -28
- package/dist/src/components/control/input/file/CwFileUpload.js +0 -52
- package/dist/src/components/control/input/file/CwFileUploadMultiple.js +0 -148
- package/dist/src/components/control/input/image/CwInputImage.js +0 -52
- package/dist/src/components/control/input/image-area/CwImageArea.js +0 -113
- package/dist/src/components/control/input/number/CwInputNumber.js +0 -11
- package/dist/src/components/control/input/phone/CwInputPhone.js +0 -24
- package/dist/src/components/control/input/text/CwInputText.js +0 -31
- package/dist/src/components/control/input/text-area/CwTextArea.js +0 -9
- package/dist/src/components/control/input/time/CwTime.js +0 -29
- package/dist/src/components/control/input/weekday/CwWeekdaySelector.js +0 -143
- package/dist/src/components/custom/find-airport/CwFindAirportComp.js +0 -240
- package/dist/src/components/custom/scheduler/CwSchedulerComp.js +0 -211
- package/dist/src/components/custom/scheduler/CwSuperSchedulerComp.js +0 -269
- package/dist/src/components/custom/scheduler/components/EventRender.js +0 -142
- package/dist/src/components/custom/scheduler/components/ResourceListRender.js +0 -12
- package/dist/src/components/custom/scheduler/components/ResourceRender.js +0 -26
- package/dist/src/components/custom/scheduler/components/day_headers/DayHeader.js +0 -13
- package/dist/src/components/custom/scheduler/components/day_headers/MonthHeader.js +0 -12
- package/dist/src/components/custom/scheduler/components/day_headers/MyDaysHeader.js +0 -62
- package/dist/src/components/custom/scheduler/components/day_headers/WeekHeader.js +0 -13
- package/dist/src/components/custom/scheduler/components/resources_title_list/ResourcesTitleList.js +0 -24
- package/dist/src/components/custom/scheduler/components/scheduler_content_area/SchedulerContentArea.js +0 -17
- package/dist/src/components/custom/scheduler/components/scheduler_header/SchedulerHeader.js +0 -26
- package/dist/src/components/custom/scheduler/components/scheduler_timeline/SchedulerTimeLine.js +0 -23
- package/dist/src/components/custom/scheduler/components/time_headers/TimeHeader.js +0 -31
- package/dist/src/components/custom/scheduler/components/time_headers/TimeHeaderRow.js +0 -16
- package/dist/src/components/custom/scheduler/components/time_line/TimeLine.js +0 -12
- package/dist/src/components/custom/scheduler/logic/dates/addMinutesToDateFromPx.js +0 -5
- package/dist/src/components/custom/scheduler/logic/dates/daysBetweenTwoDates.js +0 -15
- package/dist/src/components/custom/scheduler/logic/dates/daysBetweenTwoDatesWithoutCeil.js +0 -5
- package/dist/src/components/custom/scheduler/logic/dates/getFormatedTimeForHeader.js +0 -43
- package/dist/src/components/custom/scheduler/logic/dates/getMonthHeaderData.js +0 -35
- package/dist/src/components/custom/scheduler/logic/dates/getUtcToday.js +0 -6
- package/dist/src/components/custom/scheduler/logic/dates/getWeekHeaderDataFromWeekRange.js +0 -20
- package/dist/src/components/custom/scheduler/logic/dates/listOfDatesToWeeks.js +0 -55
- package/dist/src/components/custom/scheduler/logic/divisions/calculateDivisionType.js +0 -13
- package/dist/src/components/custom/scheduler/logic/divisions/calculateDivisions.js +0 -16
- package/dist/src/components/custom/scheduler/logic/filtering/filterEvents.js +0 -33
- package/dist/src/components/custom/scheduler/logic/filtering/filterResources.js +0 -14
- package/dist/src/components/custom/scheduler/logic/filtering/hasSameProperties.js +0 -10
- package/dist/src/components/custom/scheduler/logic/onDrop/OnDrop.js +0 -45
- package/dist/src/components/custom/scheduler/logic/pixels/getHeightLineScheduler.js +0 -14
- package/dist/src/components/custom/scheduler/logic/pixels/getPixelsForEvent.js +0 -32
- package/dist/src/components/custom/scheduler/logic/pixels/heightScheduler.js +0 -14
- package/dist/src/components/custom/scheduler/logic/pixels/heightSchedulerPinned.js +0 -9
- package/dist/src/components/custom/scheduler/logic/state_handle/doubleClickOnResource.js +0 -5
- package/dist/src/components/custom/scheduler/logic/state_handle/handleResourceChange.js +0 -11
- package/dist/src/components/custom/scheduler/logic/state_handle/onDragOver.js +0 -9
- package/dist/src/components/custom/scheduler/logic/state_handle/onDropEventToResource.js +0 -3
- package/dist/src/components/custom/scheduler/logic/strings/compareStrings.js +0 -7
- package/dist/src/components/custom/scheduler/logic/strings/getGUID.js +0 -7
- package/dist/src/components/custom/scheduler/logic/ui/checkIfSlotAvailable.js +0 -8
- package/dist/src/components/custom/scheduler/logic/ui/getEventsOfResource.js +0 -45
- package/dist/src/components/custom/scheduler/logic/ui/getTimeHeaders.js +0 -35
- package/dist/src/components/custom/scheduler/logic/ui/isAllowedToMove.js +0 -19
- package/dist/src/components/custom/scheduler/logic/ui/updateResourceVisibility.js +0 -15
- package/dist/src/components/custom/scheduler/state/CblDragAndDrop.js +0 -18
- package/dist/src/components/custom/scheduler/state/CwSchedulerProps.js +0 -1
- package/dist/src/components/custom/scheduler/state/Resource.js +0 -18
- package/dist/src/components/custom/scheduler/state/State.js +0 -1
- package/dist/src/components/custom/scheduler/state/cblEvent.js +0 -28
- package/dist/src/components/custom/scheduler/state/cblEventCompProps.js +0 -1
- package/dist/src/components/custom/scheduler/state/resourceCompProps2.js +0 -1
- package/dist/src/components/custom/scheduler-new/presentation/NewScheduler.js +0 -123
- package/dist/src/components/custom/scheduler-new/presentation/NewSchedulerUiEvents.js +0 -118
- package/dist/src/components/custom/scheduler-new/presentation/SchedulerPresenter.js +0 -166
- package/dist/src/components/custom/scheduler-new/presentation/components/header/HeaderDivision.js +0 -26
- package/dist/src/components/custom/scheduler-new/presentation/components/header/HeaderTitle.js +0 -8
- package/dist/src/components/custom/scheduler-new/presentation/components/header/SchedulerHeader.js +0 -86
- package/dist/src/components/custom/scheduler-new/presentation/components/row/BackgroundEvent.js +0 -60
- package/dist/src/components/custom/scheduler-new/presentation/components/row/DefaultRowHeader.js +0 -24
- package/dist/src/components/custom/scheduler-new/presentation/components/row/Event.js +0 -150
- package/dist/src/components/custom/scheduler-new/presentation/components/row/EventSideDrag.js +0 -11
- package/dist/src/components/custom/scheduler-new/presentation/components/row/SchedulerRow.js +0 -176
- package/dist/src/components/custom/scheduler-new/presentation/components/timeline/DivisionLine.js +0 -8
- package/dist/src/components/custom/scheduler-new/presentation/components/timeline/TimeLine.js +0 -39
- package/dist/src/components/custom/scheduler-new/presentation/components/timeline/WeekEndLine.js +0 -8
- package/dist/src/components/custom/scheduler-new/presentation/helpers.js +0 -43
- package/dist/src/components/custom/scheduler-new/presentation/logic/WeekendCalc.js +0 -24
- package/dist/src/components/custom/scheduler-new/presentation/logic/dateFromPercentage.js +0 -7
- package/dist/src/components/custom/scheduler-new/presentation/logic/eventIsVisible.js +0 -7
- package/dist/src/components/custom/scheduler-new/presentation/logic/getDefaultDivisions.js +0 -113
- package/dist/src/components/custom/scheduler-new/presentation/logic/getDivisions.js +0 -21
- package/dist/src/components/custom/scheduler-new/presentation/logic/getEventSizes.js +0 -30
- package/dist/src/components/custom/scheduler-new/presentation/logic/getLinesByDivisions.js +0 -13
- package/dist/src/components/custom/scheduler-new/presentation/logic/getPercentageFromMouseEvent.js +0 -7
- package/dist/src/components/custom/scheduler-new/presentation/logic/separateEventsToInnerRows.js +0 -32
- package/dist/src/components/custom/scheduler-new/presentation/logic/sortByCategoryAndTitle.js +0 -12
- package/dist/src/components/custom/scheduler-temporal/CwSchedulerComp2.js +0 -267
- package/dist/src/components/custom/scheduler-temporal/CwSuperSchedulerComp.js +0 -269
- package/dist/src/components/custom/scheduler-temporal/components/EventRender.js +0 -142
- package/dist/src/components/custom/scheduler-temporal/components/ResourceListRender.js +0 -12
- package/dist/src/components/custom/scheduler-temporal/components/ResourceRender.js +0 -26
- package/dist/src/components/custom/scheduler-temporal/components/day_headers/DayHeader.js +0 -13
- package/dist/src/components/custom/scheduler-temporal/components/day_headers/MonthHeader.js +0 -12
- package/dist/src/components/custom/scheduler-temporal/components/day_headers/MyDaysHeader.js +0 -62
- package/dist/src/components/custom/scheduler-temporal/components/day_headers/WeekHeader.js +0 -13
- package/dist/src/components/custom/scheduler-temporal/components/resources_title_list/ResourcesTitleList.js +0 -22
- package/dist/src/components/custom/scheduler-temporal/components/scheduler_content_area/SchedulerContentArea.js +0 -17
- package/dist/src/components/custom/scheduler-temporal/components/scheduler_header/SchedulerHeader.js +0 -26
- package/dist/src/components/custom/scheduler-temporal/components/scheduler_timeline/SchedulerTimeLine.js +0 -23
- package/dist/src/components/custom/scheduler-temporal/components/time_headers/TimeHeader.js +0 -31
- package/dist/src/components/custom/scheduler-temporal/components/time_headers/TimeHeaderRow.js +0 -16
- package/dist/src/components/custom/scheduler-temporal/components/time_line/TimeLine.js +0 -12
- package/dist/src/components/custom/scheduler-temporal/logic/dates/addMinutesToDateFromPx.js +0 -5
- package/dist/src/components/custom/scheduler-temporal/logic/dates/daysBetweenTwoDates.js +0 -15
- package/dist/src/components/custom/scheduler-temporal/logic/dates/daysBetweenTwoDatesWithoutCeil.js +0 -5
- package/dist/src/components/custom/scheduler-temporal/logic/dates/getFormatedTimeForHeader.js +0 -43
- package/dist/src/components/custom/scheduler-temporal/logic/dates/getMonthHeaderData.js +0 -35
- package/dist/src/components/custom/scheduler-temporal/logic/dates/getUtcToday.js +0 -6
- package/dist/src/components/custom/scheduler-temporal/logic/dates/getWeekHeaderDataFromWeekRange.js +0 -20
- package/dist/src/components/custom/scheduler-temporal/logic/dates/listOfDatesToWeeks.js +0 -55
- package/dist/src/components/custom/scheduler-temporal/logic/divisions/calculateDivisionType.js +0 -13
- package/dist/src/components/custom/scheduler-temporal/logic/divisions/calculateDivisions.js +0 -16
- package/dist/src/components/custom/scheduler-temporal/logic/filtering/filterAndProcessResources.js +0 -10
- package/dist/src/components/custom/scheduler-temporal/logic/filtering/filterEvents.js +0 -34
- package/dist/src/components/custom/scheduler-temporal/logic/filtering/filterResources.js +0 -14
- package/dist/src/components/custom/scheduler-temporal/logic/filtering/hasSameProperties.js +0 -10
- package/dist/src/components/custom/scheduler-temporal/logic/onDrop/OnDrop.js +0 -36
- package/dist/src/components/custom/scheduler-temporal/logic/pixels/getHeightLineScheduler.js +0 -14
- package/dist/src/components/custom/scheduler-temporal/logic/pixels/getPixelsForEvent.js +0 -32
- package/dist/src/components/custom/scheduler-temporal/logic/pixels/heightScheduler.js +0 -14
- package/dist/src/components/custom/scheduler-temporal/logic/pixels/heightSchedulerPinned.js +0 -9
- package/dist/src/components/custom/scheduler-temporal/logic/state_handle/doubleClickOnResource.js +0 -5
- package/dist/src/components/custom/scheduler-temporal/logic/state_handle/handlePropChanges.js +0 -178
- package/dist/src/components/custom/scheduler-temporal/logic/state_handle/handleResourceChange.js +0 -11
- package/dist/src/components/custom/scheduler-temporal/logic/state_handle/onDragOver.js +0 -9
- package/dist/src/components/custom/scheduler-temporal/logic/state_handle/onDropEventToResource.js +0 -3
- package/dist/src/components/custom/scheduler-temporal/logic/state_handle/onResizeEvent.js +0 -3
- package/dist/src/components/custom/scheduler-temporal/logic/strings/compareStrings.js +0 -7
- package/dist/src/components/custom/scheduler-temporal/logic/strings/getGUID.js +0 -7
- package/dist/src/components/custom/scheduler-temporal/logic/ui/checkIfSlotAvailable.js +0 -9
- package/dist/src/components/custom/scheduler-temporal/logic/ui/getEventsOfResource.js +0 -92
- package/dist/src/components/custom/scheduler-temporal/logic/ui/getHasPropsChanged.js +0 -242
- package/dist/src/components/custom/scheduler-temporal/logic/ui/getTimeHeaders.js +0 -35
- package/dist/src/components/custom/scheduler-temporal/logic/ui/isAllowedToMove.js +0 -19
- package/dist/src/components/custom/scheduler-temporal/logic/ui/shouldTriggerScroll.js +0 -241
- package/dist/src/components/custom/scheduler-temporal/logic/ui/updateResourceVisibility.js +0 -15
- package/dist/src/components/custom/scheduler-temporal/state/CblDragAndDrop.js +0 -18
- package/dist/src/components/custom/scheduler-temporal/state/Resource.js +0 -18
- package/dist/src/components/custom/scheduler-temporal/state/cblEvent.js +0 -28
- package/dist/src/components/custom/scheduler-temporal/state/cblEventCompProps.js +0 -1
- package/dist/src/components/custom/scheduler-temporal/state/resourceCompProps2.js +0 -1
- package/dist/src/components/custom/super-scheduler/PinRowHeader.js +0 -53
- package/dist/src/components/custom/super-scheduler/SuperScheduler.js +0 -23
- package/dist/src/components/custom/super-scheduler/SuperSchedulerEvents.js +0 -15
- package/dist/src/components/custom/super-scheduler/SuperSchedulerPresenter.js +0 -45
- package/dist/src/components/display/data/accordion/CwAccordionContainer.js +0 -20
- package/dist/src/components/display/data/generic_tooltip/CwGenericTooltip.js +0 -138
- package/dist/src/components/display/data/table/CwTable.js +0 -203
- package/dist/src/components/display/graphics/icon/CwIcon.js +0 -23
- package/dist/src/components/display/graphics/loading/CwLoading.js +0 -27
- package/dist/src/components/display/graphics/loading-small/CwLoadingSmall.js +0 -20
- package/dist/src/components/display/text/heading/CwHeadingMain.js +0 -5
- package/dist/src/components/display/text/heading/CwHeadingSecond.js +0 -5
- package/dist/src/components/display/text/label/CwLabel.js +0 -13
- package/dist/src/components/display/text/message/CwMessage.js +0 -75
- package/dist/src/components/display/text/note/CwNote.js +0 -78
- package/dist/src/components/display/text/tag/CwChip.js +0 -57
- package/dist/src/components/display/text/tag/CwTag.js +0 -21
- package/dist/src/components/display/text/tooltip/CwTooltip.js +0 -4
- package/dist/src/components/layout/align/CwAlign.js +0 -54
- package/dist/src/components/layout/card/CwCard.js +0 -55
- package/dist/src/components/layout/card/CwCardList.js +0 -38
- package/dist/src/components/layout/dialog/CwDialog.js +0 -255
- package/dist/src/components/layout/dialog/CwDialogManager.js +0 -44
- package/dist/src/components/layout/list/details/CwExpandable.js +0 -28
- package/dist/src/components/layout/list/key-value/CwKeyValueList.js +0 -23
- package/dist/src/components/layout/list/sortable/CwSortableList.js +0 -73
- package/dist/src/components/layout/list/sortable/useSortableList.js +0 -53
- package/dist/src/components/layout/modal/CwModalReportFunctional.js +0 -23
- package/dist/src/components/layout/modal/hover/CwModalHover.js +0 -61
- package/dist/src/components/layout/modal/legacy/cw_modal.js +0 -44
- package/dist/src/components/layout/modal/legacy/cw_modal_confirm.js +0 -39
- package/dist/src/components/layout/modal/legacy/cw_modal_iframe.js +0 -44
- package/dist/src/components/layout/modal/legacy/cw_modal_report.js +0 -26
- package/dist/src/components/layout/table/grouped/CwTableGrouped.js +0 -70
- package/dist/src/components/layout/tabs/CwTabs.js +0 -53
- package/dist/src/index.js +0 -187
- package/dist/test/components/custom/new-scheduler/presentation/logic/getDefaultDivisions.test.js +0 -48
- package/dist/test/components/custom/new-scheduler/presentation/logic/hoursBetween.test.js +0 -15
- package/dist/test/components/custom/new-scheduler/presentation/logic/monthDivisions.test.js +0 -42
- package/dist/test/components/custom/new-scheduler/presentation/logic/weekendCalc.test.js +0 -30
- package/dist/test/components/custom/scheduler/addMinutesToDateFromPx.test.js +0 -43
- package/dist/test/components/custom/scheduler/checkIfSlotAvailable.test.js +0 -30
- package/dist/test/components/custom/scheduler/daysBetweenTwoDates.test.js +0 -61
- package/dist/test/components/custom/scheduler/daysBetweenTwoDatesWithoutCeilForEvent.test.js +0 -27
- package/dist/test/components/custom/scheduler/getGUID.test.js +0 -30
- package/dist/test/components/custom/scheduler/getPixelsForEvent.test.js +0 -38
- package/dist/test/components/custom/scheduler/getTimeHeaders.test.js +0 -35
- package/dist/test/components/custom/scheduler/hasSameProperties.test.js +0 -51
- package/dist/test/components/custom/scheduler/isAllowedToMove.test.js +0 -28
- package/dist/test/components/custom/scheduler/listOfDatesToWeeks.test.js +0 -72
- package/dist/test/jest.setup.js +0 -1
- /package/dist/src/{common/interfaces/CwSelectListProps.js → components/custom/scheduler-new/presentation/TestScheduler.d.ts} +0 -0
- /package/dist/{src/components/custom/scheduler-new/presentation/components/header/SchedulerHeaderState.js → test/components/custom/newScheduler/presentation/logic/getDefaultDivisions.test.d.ts} +0 -0
- /package/dist/{src/components/custom/scheduler-new/presentation/state/ui/SchedulerState.js → test/components/custom/newScheduler/presentation/logic/hoursBetween.test.d.ts} +0 -0
- /package/dist/{src/components/custom/scheduler-new/presentation/state/ui/WeekRange.js → test/components/custom/newScheduler/presentation/logic/weekendCalc.test.d.ts} +0 -0
- /package/dist/{src/components/custom/scheduler-temporal/state/CwSchedulerProps.js → test/components/custom/scheduler/filterEvents.test.d.ts} +0 -0
- /package/dist/{src/components/custom/scheduler-temporal/state/State.js → test/components/custom/scheduler/shouldTriggerScroll.test.d.ts} +0 -0
|
@@ -1,188 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
// Buttons components
|
|
3
|
-
/**
|
|
4
|
-
* A floating button.
|
|
5
|
-
* @identifier cw_btnFloatingButton
|
|
6
|
-
* @classes cw_btnFloatingButtonActive
|
|
7
|
-
* @dependencies #CwScheduler #CwSchedulerActive #cwelltContentDuty #cwelltContentDutyActive
|
|
8
|
-
*/
|
|
9
|
-
// Floating button
|
|
10
|
-
export function CwFloatingButton() {
|
|
11
|
-
const cwShowElement = () => {
|
|
12
|
-
// Content of List Duties
|
|
13
|
-
const cwContentDuty = document.getElementById("cwelltContentDuty");
|
|
14
|
-
cwContentDuty?.classList.toggle("cwelltContentDutyActive");
|
|
15
|
-
// Floating button
|
|
16
|
-
const cw_btnFloatingButton = document.getElementById("cw_btnFloatingButton");
|
|
17
|
-
cw_btnFloatingButton?.classList.toggle("cw_btnFloatingButtonActive");
|
|
18
|
-
// #CwScheduler [ scheduler container]
|
|
19
|
-
const cwScheduler = document.getElementById("CwelltScheduler");
|
|
20
|
-
cwScheduler?.classList.toggle("CwelltSchedulerActive");
|
|
21
|
-
};
|
|
22
|
-
return _jsx("button", { className: "cw_btnFloatingButton", onClick: cwShowElement, id: "cw_btnFloatingButton" });
|
|
23
|
-
}
|
|
24
|
-
// Primary button => CwButtonDef
|
|
25
|
-
// CwButtonDef
|
|
26
|
-
export function CwButtonDef({ cw_btn_desc, cw_btnOnclick, cw_btn_disabled }) {
|
|
27
|
-
return (_jsx("button", { className: "cw-button cw_btn_primary", onClick: cw_btnOnclick, disabled: cw_btn_disabled, children: cw_btn_desc }));
|
|
28
|
-
}
|
|
29
|
-
// Cw add button
|
|
30
|
-
export function CwBtnAdd({ cw_btnOnclick, cw_btn_disabled }) {
|
|
31
|
-
return _jsx("button", { onClick: cw_btnOnclick, className: "cw-button-icon cwi-plus", disabled: cw_btn_disabled });
|
|
32
|
-
}
|
|
33
|
-
// Cw Save button
|
|
34
|
-
export function CwBtnSave({ cw_btnOnclick, cw_btn_disabled }) {
|
|
35
|
-
return _jsx("button", { onClick: cw_btnOnclick, className: "cw-button-icon cwi-save", disabled: cw_btn_disabled });
|
|
36
|
-
}
|
|
37
|
-
// Cw edit button
|
|
38
|
-
export function CwBtnEdit({ cw_btnOnclick, cw_btn_disabled }) {
|
|
39
|
-
return _jsx("button", { onClick: cw_btnOnclick, className: "cw-button-icon cwi-edit", disabled: cw_btn_disabled });
|
|
40
|
-
}
|
|
41
|
-
// Cw search button
|
|
42
|
-
export function CwBtnSearch({ cw_btnOnclick, cw_btn_disabled }) {
|
|
43
|
-
return _jsx("button", { onClick: cw_btnOnclick, className: "cw-button-icon cwi-search", disabled: cw_btn_disabled });
|
|
44
|
-
}
|
|
45
|
-
// Cw download button
|
|
46
|
-
export function CwBtnDownload({ cw_btnOnclick, cw_btn_disabled }) {
|
|
47
|
-
return _jsx("button", { onClick: cw_btnOnclick, className: "cw-button-icon cwi-download", disabled: cw_btn_disabled });
|
|
48
|
-
}
|
|
49
|
-
// Cw view button
|
|
50
|
-
export function CwBtnView({ cw_btnOnclick, cw_btn_disabled }) {
|
|
51
|
-
return _jsx("button", { onClick: cw_btnOnclick, className: "cw-button-icon cwi-eye-show", disabled: cw_btn_disabled });
|
|
52
|
-
}
|
|
53
|
-
// Cw Print button
|
|
54
|
-
export function CwBtnPrint({ cw_btnOnclick, cw_btn_disabled }) {
|
|
55
|
-
return _jsx("button", { onClick: cw_btnOnclick, className: "cw-button-icon cwi-print", disabled: cw_btn_disabled });
|
|
56
|
-
}
|
|
57
|
-
// Cw cancel button
|
|
58
|
-
export function CwBtnCancel({ cw_btnOnclick, cw_btn_disabled }) {
|
|
59
|
-
return _jsx("button", { onClick: cw_btnOnclick, className: "cw-button-icon cwi-cancel", disabled: cw_btn_disabled, "data-color": "danger" });
|
|
60
|
-
}
|
|
61
|
-
// Cw Delete button
|
|
62
|
-
export function CwBtnDelete({ cw_btnOnclick, cw_btn_disabled }) {
|
|
63
|
-
return _jsx("button", { onClick: cw_btnOnclick, className: "cw-button-icon cwi-delete", disabled: cw_btn_disabled, "data-color": "danger" });
|
|
64
|
-
}
|
|
65
|
-
// CwRefresh
|
|
66
|
-
export function CwBtnRefresh({ cw_btnOnclick, cw_btn_disabled }) {
|
|
67
|
-
return _jsx("button", { onClick: cw_btnOnclick, className: "cw-button-icon cwi-refresh", disabled: cw_btn_disabled });
|
|
68
|
-
}
|
|
69
|
-
// Cw hide
|
|
70
|
-
export function CwBtnHide({ cw_btnOnclick, cw_btn_disabled }) {
|
|
71
|
-
return _jsx("button", { onClick: cw_btnOnclick, className: "cw-button-icon cwi-icons cwi-eye-hide", disabled: cw_btn_disabled });
|
|
72
|
-
}
|
|
73
|
-
// Cw Select
|
|
74
|
-
export function CwBtnSelect({ cw_btnOnclick, cw_btn_disabled }) {
|
|
75
|
-
return _jsx("button", { onClick: cw_btnOnclick, className: "cw-button-icon cw_btn_select", disabled: cw_btn_disabled });
|
|
76
|
-
}
|
|
77
|
-
// Cw Share
|
|
78
|
-
export function CwBtnShare({ cw_btnOnclick, cw_btn_disabled }) {
|
|
79
|
-
return _jsx("button", { onClick: cw_btnOnclick, className: "cw-button-icon cwi-icons cwi-share", disabled: cw_btn_disabled });
|
|
80
|
-
}
|
|
81
|
-
// Cw Files
|
|
82
|
-
export function CwBtnFiles({ cw_btnOnclick, cw_btn_disabled }) {
|
|
83
|
-
return _jsx("button", { onClick: cw_btnOnclick, className: "cw-button-icon cw_btn_files", disabled: cw_btn_disabled });
|
|
84
|
-
}
|
|
85
|
-
// Cw Airport
|
|
86
|
-
export function CwBtnAirport({ cw_btnOnclick, cw_btn_disabled }) {
|
|
87
|
-
return _jsx("button", { onClick: cw_btnOnclick, className: "cw-button-icon cw_btn_airport", disabled: cw_btn_disabled });
|
|
88
|
-
}
|
|
89
|
-
// DownLoadAllInfo
|
|
90
|
-
export function CwBtnDownLoadAllInfo({ cw_btnOnclick, cw_btn_disabled }) {
|
|
91
|
-
return (_jsx("button", { onClick: cw_btnOnclick, className: "cw-button-icon cwi-icons cwi-folder-download", disabled: cw_btn_disabled }));
|
|
92
|
-
}
|
|
93
|
-
// PropertyFolder
|
|
94
|
-
export function CwBtnPropertyFolder({ cw_btnOnclick, cw_btn_disabled }) {
|
|
95
|
-
return _jsx("button", { onClick: cw_btnOnclick, className: "cw-button-icon cwi-icons cwi-directory", disabled: cw_btn_disabled });
|
|
96
|
-
}
|
|
97
|
-
// AddFolder
|
|
98
|
-
export function CwBtnAddFolder({ cw_btnOnclick, cw_btn_disabled }) {
|
|
99
|
-
return _jsx("button", { onClick: cw_btnOnclick, className: "cw-button-icon cwi-icons cwi-folder-add", disabled: cw_btn_disabled });
|
|
100
|
-
}
|
|
101
|
-
// EditFolder
|
|
102
|
-
export function CwBtnEditFolder({ cw_btnOnclick, cw_btn_disabled }) {
|
|
103
|
-
return _jsx("button", { onClick: cw_btnOnclick, className: "cw-button-icon cwi-icons cwi-folder-edit", disabled: cw_btn_disabled });
|
|
104
|
-
}
|
|
105
|
-
// UploadFiles
|
|
106
|
-
export function CwBtnUploadFiles({ cw_btnOnclick, cw_btn_disabled }) {
|
|
107
|
-
return _jsx("button", { onClick: cw_btnOnclick, className: "cw-button-icon cwi-upload", disabled: cw_btn_disabled });
|
|
108
|
-
}
|
|
109
|
-
// GoBackSection [ Emanual ]
|
|
110
|
-
export function CwBtnGoBackFolder({ cw_btnOnclick, cw_btn_disabled }) {
|
|
111
|
-
return _jsx("button", { onClick: cw_btnOnclick, className: "cwBtnGoBackFolder", disabled: cw_btn_disabled });
|
|
112
|
-
}
|
|
113
|
-
// BookMark [ Emanual ]
|
|
114
|
-
export function CwBtnBookMark({ cw_btnOnclick, cw_btn_disabled }) {
|
|
115
|
-
return _jsx("button", { onClick: cw_btnOnclick, className: "cw-button-icon cwi-icons cwi-star", disabled: cw_btn_disabled });
|
|
116
|
-
}
|
|
117
|
-
// Publish
|
|
118
|
-
export function CwBtnPublish({ cw_btnOnclick, cw_btn_disabled }) {
|
|
119
|
-
return _jsx("button", { onClick: cw_btnOnclick, className: "cw-button-icon cw_btnPublish", disabled: cw_btn_disabled });
|
|
120
|
-
}
|
|
121
|
-
// Approve
|
|
122
|
-
export function CwBtnApprove({ cw_btnOnclick, cw_btn_disabled }) {
|
|
123
|
-
return _jsx("button", { onClick: cw_btnOnclick, className: "cw-button-icon cw_btnApprove", disabled: cw_btn_disabled });
|
|
124
|
-
}
|
|
125
|
-
// Bulk duty
|
|
126
|
-
export function CwBtnBulkDuty({ cw_btnOnclick, cw_btn_disabled }) {
|
|
127
|
-
return _jsx("button", { onClick: cw_btnOnclick, className: "cw-button-icon cw_btnBulkDuty", disabled: cw_btn_disabled });
|
|
128
|
-
}
|
|
129
|
-
// DropDownButtonCrewControl
|
|
130
|
-
export function CwBtnDropDownMenu({ cw_btnOnclick, cw_btn_disabled }) {
|
|
131
|
-
return _jsx("button", { onClick: cw_btnOnclick, className: "cw-button-icon cw_btnDropDownMenu", disabled: cw_btn_disabled });
|
|
132
|
-
}
|
|
133
|
-
// DropDownButtonCrewControl
|
|
134
|
-
export function CwBtnAlert({ cw_btnOnclick, cw_btn_disabled, cw_name }) {
|
|
135
|
-
return (_jsx("button", { onClick: cw_btnOnclick, className: "cw-button-icon cwi-icons cwi-alert", disabled: cw_btn_disabled, id: cw_name }));
|
|
136
|
-
}
|
|
137
|
-
// BtnNavFirstItemView
|
|
138
|
-
export function CwBtnNavFirstItemView({ cw_btnOnclick, cw_btn_disabled }) {
|
|
139
|
-
return (_jsx("button", { onClick: cw_btnOnclick, className: "cw-button-icon cw_btnNavFirstItemView", disabled: cw_btn_disabled }));
|
|
140
|
-
}
|
|
141
|
-
// BtnNavLastItemView
|
|
142
|
-
export function CwBtnNavLastItemView({ cw_btnOnclick, cw_btn_disabled }) {
|
|
143
|
-
return _jsx("button", { onClick: cw_btnOnclick, className: "cw-button-icon cw_btnNavLastItemView", disabled: cw_btn_disabled });
|
|
144
|
-
}
|
|
145
|
-
// BtnNavbreviewItem
|
|
146
|
-
export function CwBtnNavPreviewItem({ cw_btnOnclick, cw_btn_disabled }) {
|
|
147
|
-
return _jsx("button", { onClick: cw_btnOnclick, className: "cw-button-icon cw_btnNavPreviewItem", disabled: cw_btn_disabled });
|
|
148
|
-
}
|
|
149
|
-
// BtnNavNextDay
|
|
150
|
-
export function CwBtnNavNextDay({ cw_btnOnclick, cw_btn_disabled }) {
|
|
151
|
-
return _jsx("button", { onClick: cw_btnOnclick, className: "cw-button-icon cw_btnNavNextDay", disabled: cw_btn_disabled });
|
|
152
|
-
}
|
|
153
|
-
// BtnNavNextDay
|
|
154
|
-
export function CwBtnStatistic({ cw_btnOnclick, cw_btn_disabled }) {
|
|
155
|
-
return _jsx("button", { onClick: cw_btnOnclick, className: "cw-button-icon cwi-icons cwi-file-report", disabled: cw_btn_disabled });
|
|
156
|
-
}
|
|
157
|
-
// BtnNavNextDay
|
|
158
|
-
export function CwBtnCrewPlanning({ cw_btnOnclick, cw_btn_disabled }) {
|
|
159
|
-
return _jsx("button", { onClick: cw_btnOnclick, className: "cw-button-icon cwi-icons cwi-calendar-view", disabled: cw_btn_disabled });
|
|
160
|
-
}
|
|
161
|
-
// BtnReleasePeriod
|
|
162
|
-
export function CwBtnReleasePeriod({ cw_btnOnclick, cw_btn_disabled }) {
|
|
163
|
-
return _jsx("button", { onClick: cw_btnOnclick, className: "cw-button-icon cw_btnReleasePeriod", disabled: cw_btn_disabled });
|
|
164
|
-
}
|
|
165
|
-
// BtnReleasePeriod
|
|
166
|
-
export function CwBtnGeneratePairing({ cw_btnOnclick, cw_btn_disabled }) {
|
|
167
|
-
return _jsx("button", { onClick: cw_btnOnclick, className: "cw-button-icon cwi-icons cwi-plane-pairing", disabled: cw_btn_disabled });
|
|
168
|
-
}
|
|
169
|
-
// BtnImportRequests
|
|
170
|
-
export function CwBtnImportRequests({ cw_btnOnclick, cw_btn_disabled }) {
|
|
171
|
-
return _jsx("button", { onClick: cw_btnOnclick, className: "cw-button-icon cw_btnImportRequests", disabled: cw_btn_disabled });
|
|
172
|
-
}
|
|
173
|
-
// BtnPairing
|
|
174
|
-
export function CwBtnPairing({ cw_btnOnclick, cw_btn_disabled }) {
|
|
175
|
-
return _jsx("button", { onClick: cw_btnOnclick, className: "cw-button-icon cwi-icons cwi-calendar-plane", disabled: cw_btn_disabled });
|
|
176
|
-
}
|
|
177
|
-
// BtnVacations
|
|
178
|
-
export function CwBtnVacations({ cw_btnOnclick, cw_btn_disabled }) {
|
|
179
|
-
return _jsx("button", { onClick: cw_btnOnclick, className: "cw-button-icon cwi-icons cwi-luggage", disabled: cw_btn_disabled });
|
|
180
|
-
}
|
|
181
|
-
// BtnMVT
|
|
182
|
-
export function CwBtnMVT({ cw_btnOnclick, cw_btn_disabled }) {
|
|
183
|
-
return _jsx("button", { onClick: cw_btnOnclick, className: "cw-button-icon cwi-icons cwi-plane-movement", disabled: cw_btn_disabled });
|
|
184
|
-
}
|
|
185
|
-
// BtnDelay
|
|
186
|
-
export function CwBtnDelay({ cw_btnOnclick, cw_btn_disabled }) {
|
|
187
|
-
return _jsx("button", { onClick: cw_btnOnclick, className: "cw-button-icon cwi-icons cwi-plane-delay", disabled: cw_btn_disabled });
|
|
188
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { useEffect, useRef, useState } from "react";
|
|
3
|
-
import styles from "./cw-context-menu.module.css";
|
|
4
|
-
/**
|
|
5
|
-
* A context menu that is rendered when the user clicks on a button.
|
|
6
|
-
* @author NVS
|
|
7
|
-
* @example
|
|
8
|
-
* <ContextMenu
|
|
9
|
-
* options={['Option 1', 'Option 2', 'Option 3']}
|
|
10
|
-
* onSelect={(option) => console.log(`Selected: ${option}`)}
|
|
11
|
-
* >
|
|
12
|
-
* <div>Right-click me!</div>
|
|
13
|
-
* </ContextMenu>
|
|
14
|
-
*/
|
|
15
|
-
export const CwContextMenu = ({ children, options, offset, onSelect }) => {
|
|
16
|
-
const [isOpen, setIsOpen] = useState(false);
|
|
17
|
-
const [position, setPosition] = useState({ x: 0, y: 0 });
|
|
18
|
-
const menuRef = useRef(null);
|
|
19
|
-
const handleContextMenu = (event) => {
|
|
20
|
-
event.preventDefault();
|
|
21
|
-
setIsOpen(true);
|
|
22
|
-
setPosition({ x: event.clientX, y: event.clientY });
|
|
23
|
-
};
|
|
24
|
-
const handleOptionClick = (option) => {
|
|
25
|
-
onSelect(option);
|
|
26
|
-
setIsOpen(false);
|
|
27
|
-
};
|
|
28
|
-
useEffect(() => {
|
|
29
|
-
const handleOutsideClick = (event) => {
|
|
30
|
-
if (menuRef.current && !menuRef.current.contains(event.target)) {
|
|
31
|
-
setIsOpen(false);
|
|
32
|
-
}
|
|
33
|
-
};
|
|
34
|
-
document.addEventListener("mousedown", handleOutsideClick);
|
|
35
|
-
return () => {
|
|
36
|
-
document.removeEventListener("mousedown", handleOutsideClick);
|
|
37
|
-
};
|
|
38
|
-
}, []);
|
|
39
|
-
return (_jsxs("div", { onContextMenu: handleContextMenu, children: [children, isOpen && (_jsx("div", { ref: menuRef, className: styles["context-menu"], style: {
|
|
40
|
-
top: position.y + (offset?.y || 0),
|
|
41
|
-
left: position.x + (offset?.x || 0),
|
|
42
|
-
}, children: options.map(option => (_jsx("div", { onClick: () => handleOptionClick(option), className: styles["context-menu-item"], children: option }, option))) }))] }));
|
|
43
|
-
};
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { useState } from "react";
|
|
3
|
-
export function CwDataItem(cwBoxItemsProps) {
|
|
4
|
-
return (_jsx("div", { id: cwBoxItemsProps.id, className: "cwelltBoxItems", style: cwBoxItemsProps.style, children: _jsx("span", { className: "cwelltBoxItemsText cwelltFont1em_required", style: cwBoxItemsProps.styleDataItem, children: cwBoxItemsProps.children }) }));
|
|
5
|
-
}
|
|
6
|
-
export function CwContextualMenu(CwelltRightClickProps) {
|
|
7
|
-
//#region Hooks
|
|
8
|
-
const [isVisibleContextMenu, setVisibleContextMenu] = useState(false);
|
|
9
|
-
const [resetClassName, setResetClassName] = useState("");
|
|
10
|
-
const [positionRightClick, setpositionRightClick] = useState({ x: 0, y: 0 });
|
|
11
|
-
//#endregion
|
|
12
|
-
//#region Functions
|
|
13
|
-
const onShowContextMenu = (e) => {
|
|
14
|
-
e.preventDefault();
|
|
15
|
-
setVisibleContextMenu(true);
|
|
16
|
-
const newPosition = {
|
|
17
|
-
x: e.clientX - e.currentTarget.getBoundingClientRect().left,
|
|
18
|
-
y: e.clientY - e.currentTarget.getBoundingClientRect().top
|
|
19
|
-
};
|
|
20
|
-
setpositionRightClick(newPosition);
|
|
21
|
-
toggleClassName();
|
|
22
|
-
};
|
|
23
|
-
const toggleClassName = () => {
|
|
24
|
-
setTimeout(() => {
|
|
25
|
-
setResetClassName("cwellt_fade_out");
|
|
26
|
-
});
|
|
27
|
-
setTimeout(() => {
|
|
28
|
-
setResetClassName("cwellt_fade_in");
|
|
29
|
-
}, 500);
|
|
30
|
-
};
|
|
31
|
-
const onMouseLeaveContextMenuContainer = () => {
|
|
32
|
-
setVisibleContextMenu(false);
|
|
33
|
-
};
|
|
34
|
-
const onClickContextMenuContainer = () => {
|
|
35
|
-
setVisibleContextMenu(false);
|
|
36
|
-
CwelltRightClickProps.onClick;
|
|
37
|
-
};
|
|
38
|
-
const onKeyUpContextMenu = (e) => {
|
|
39
|
-
if (e.key === "Escape") {
|
|
40
|
-
// context menu dissapear
|
|
41
|
-
setVisibleContextMenu(false);
|
|
42
|
-
}
|
|
43
|
-
if (e.key === "Enter") {
|
|
44
|
-
// context menu dissapear
|
|
45
|
-
setVisibleContextMenu(false);
|
|
46
|
-
}
|
|
47
|
-
};
|
|
48
|
-
//#endregion
|
|
49
|
-
return (_jsxs("div", { className: "cwelltContextMenu_container", onContextMenu: onShowContextMenu, onMouseLeave: onMouseLeaveContextMenuContainer, onClick: onClickContextMenuContainer, style: { position: "relative" }, onKeyUp: e => onKeyUpContextMenu(e), tabIndex: 0, children: [CwelltRightClickProps.children, _jsx("div", { id: "contextMenu", className: isVisibleContextMenu ? "cwelltContextMenu " + resetClassName : "cwelltContextMenuHide " + resetClassName, style: {
|
|
50
|
-
top: positionRightClick.y,
|
|
51
|
-
left: positionRightClick.x
|
|
52
|
-
}, children: CwelltRightClickProps.dataSourceContextMenu?.map(indexDataItem => {
|
|
53
|
-
return (_jsx(CwDataItem, { id: indexDataItem.idDataItem, style: indexDataItem.style, styleDataItem: indexDataItem.styleDataItem, children: indexDataItem.dataItemContent }));
|
|
54
|
-
}) })] }));
|
|
55
|
-
}
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { useEffect, useState } from "react";
|
|
3
|
-
export function CwSearchInput(optionsProps) {
|
|
4
|
-
const [searchText, setSearchText] = useState("");
|
|
5
|
-
const [filteredOptions, setFilteredOptions] = useState([]);
|
|
6
|
-
const [_selectedOption, setSelectedOption] = useState(null);
|
|
7
|
-
// Make default value selection when loading the component
|
|
8
|
-
useEffect(() => {
|
|
9
|
-
if (optionsProps.defaultValue && optionsProps.selectList && optionsProps.selectList.length > 0) {
|
|
10
|
-
const defaultOption = optionsProps.selectList.find(option => option.id === optionsProps.defaultValue?.toString());
|
|
11
|
-
if (defaultOption) {
|
|
12
|
-
setSearchText(defaultOption.description);
|
|
13
|
-
setSelectedOption(defaultOption);
|
|
14
|
-
// Notify the parent component if there is a handleChange
|
|
15
|
-
if (optionsProps.handleChange) {
|
|
16
|
-
optionsProps.handleChange(defaultOption.id);
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
}, [optionsProps.defaultValue, optionsProps.selectList]);
|
|
21
|
-
const handleInputChange = (event) => {
|
|
22
|
-
const text = event.target.value;
|
|
23
|
-
setSearchText(text);
|
|
24
|
-
if (text === "") {
|
|
25
|
-
setFilteredOptions([]);
|
|
26
|
-
setSelectedOption(null);
|
|
27
|
-
// Notify that there is no selection
|
|
28
|
-
if (optionsProps.handleChange) {
|
|
29
|
-
optionsProps.handleChange("");
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
else {
|
|
33
|
-
// Filter options based on search text in any text property
|
|
34
|
-
const filtered = optionsProps.selectList.filter((option) => {
|
|
35
|
-
// Search all properties of the object
|
|
36
|
-
return Object.keys(option).some(key => {
|
|
37
|
-
const value = option[key];
|
|
38
|
-
// Verify that the value is a string or number and contains the search text
|
|
39
|
-
return (typeof value === 'string' || typeof value === 'number') &&
|
|
40
|
-
String(value).toLowerCase().includes(text.toLowerCase());
|
|
41
|
-
});
|
|
42
|
-
});
|
|
43
|
-
setFilteredOptions(filtered);
|
|
44
|
-
}
|
|
45
|
-
};
|
|
46
|
-
const handleOptionSelect = (option) => {
|
|
47
|
-
setSearchText(option.description);
|
|
48
|
-
setSelectedOption(option);
|
|
49
|
-
if (optionsProps.handleChange) {
|
|
50
|
-
optionsProps.handleChange(option.id);
|
|
51
|
-
}
|
|
52
|
-
// Remove the filtered options when selecting one
|
|
53
|
-
setFilteredOptions([]);
|
|
54
|
-
};
|
|
55
|
-
const handleClearClick = () => {
|
|
56
|
-
setSearchText("");
|
|
57
|
-
setFilteredOptions([]);
|
|
58
|
-
setSelectedOption(null);
|
|
59
|
-
};
|
|
60
|
-
return (_jsxs("div", { className: "cwSearchInputComp", style: optionsProps.style, id: optionsProps.id, children: [_jsxs("div", { className: optionsProps.labelPosition === "inline"
|
|
61
|
-
? "cw-flex-row "
|
|
62
|
-
: optionsProps.labelPosition === "column"
|
|
63
|
-
? "cw-flex-column"
|
|
64
|
-
: "cw-flex-row ", children: [optionsProps.labelName && (_jsx("label", { className: optionsProps.disabled === true
|
|
65
|
-
? "cw_label_text cw_label_text_disabled" + " " + optionsProps.labelClassName
|
|
66
|
-
: "cw_label_text" + " " + optionsProps.labelClassName, children: optionsProps.labelName })), _jsx("input", { type: "text", value: searchText, onChange: handleInputChange, placeholder: "Search...", className: "cw_input_search", disabled: optionsProps.disabled }), searchText && (_jsx("button", { className: "cw-button-icon cwi-close cw-input-search-clear", onClick: handleClearClick }))] }), filteredOptions.length > 0 && (_jsx("div", { className: "cw-input-search-dropdown", children: _jsx("ul", { children: filteredOptions.map((option) => (_jsx("li", { onClick: () => handleOptionSelect(option), children: option.description }, option.id))) }) }))] }));
|
|
67
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { CwAlign } from "../../../../components/layout/align/CwAlign";
|
|
3
|
-
export var CwTooltipDialogType;
|
|
4
|
-
(function (CwTooltipDialogType) {
|
|
5
|
-
CwTooltipDialogType["warn"] = "exclamation-triangle";
|
|
6
|
-
CwTooltipDialogType["error"] = "times-circle";
|
|
7
|
-
CwTooltipDialogType["info"] = "info-circle";
|
|
8
|
-
})(CwTooltipDialogType || (CwTooltipDialogType = {}));
|
|
9
|
-
export default function CwTooltipDialog(props) {
|
|
10
|
-
return (_jsxs("div", { style: { position: "relative" }, children: [props.children, props.getIsOpen && (_jsxs("div", { className: "cw-tooltip-dialog", style: { width: props._width ?? "auto", height: props._height ?? "auto" }, children: [_jsx("span", { children: props.text }), _jsxs(CwAlign, { children: [...props.buttons] })] }))] }));
|
|
11
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
export function CwCheckbox(CwCheckboxProps) {
|
|
3
|
-
const handleChange = (e) => {
|
|
4
|
-
CwCheckboxProps.onChange?.(e.target.checked);
|
|
5
|
-
};
|
|
6
|
-
const inputElement = (_jsx("input", { id: CwCheckboxProps.id, type: "checkbox", checked: CwCheckboxProps.checked, onChange: e => handleChange(e), className: CwCheckboxProps.className ?? '', style: CwCheckboxProps.style, disabled: CwCheckboxProps.disabled }));
|
|
7
|
-
if (!CwCheckboxProps.labelName) {
|
|
8
|
-
return inputElement;
|
|
9
|
-
}
|
|
10
|
-
return (_jsxs("div", { className: CwCheckboxProps.labelPosition === "inline"
|
|
11
|
-
? "cw_checkboxContent cwellt_flex_row" + " " + CwCheckboxProps.classNameContainer
|
|
12
|
-
: CwCheckboxProps.labelPosition === "column"
|
|
13
|
-
? "cw_checkboxContent cwellt_flex_column" + " " + CwCheckboxProps.classNameContainer
|
|
14
|
-
: "cw_checkboxContent cwellt_flex_row" + " " + CwCheckboxProps.classNameContainer, style: CwCheckboxProps.styleContainer, children: [inputElement, CwCheckboxProps.labelName ? (_jsx("label", { htmlFor: CwCheckboxProps.id, className: CwCheckboxProps.labelClassName, children: CwCheckboxProps.labelName })) : null] }));
|
|
15
|
-
}
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { Select, Tag } from "antd";
|
|
3
|
-
import * as React from "react";
|
|
4
|
-
const { Option, OptGroup } = Select;
|
|
5
|
-
export class MultiSelect extends React.Component {
|
|
6
|
-
constructor(Props) {
|
|
7
|
-
super(Props);
|
|
8
|
-
this.state = {
|
|
9
|
-
selected: null,
|
|
10
|
-
isVisibleDropDown: false,
|
|
11
|
-
activeClassName: ""
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
componentDidMount() {
|
|
15
|
-
this.setState({
|
|
16
|
-
selected: this.props.selectedItems?.map((s) => ({
|
|
17
|
-
type: s.type,
|
|
18
|
-
id: s.id,
|
|
19
|
-
despription: s.despription,
|
|
20
|
-
color: s.color
|
|
21
|
-
}))
|
|
22
|
-
});
|
|
23
|
-
this.onClickSelect = this.onClickSelect.bind(this);
|
|
24
|
-
}
|
|
25
|
-
onClickSelect = () => {
|
|
26
|
-
this.setState({
|
|
27
|
-
isVisibleDropDown: !this.state.isVisibleDropDown
|
|
28
|
-
});
|
|
29
|
-
this.setState({
|
|
30
|
-
activeClassName: "cwelltSelectDropDown_active"
|
|
31
|
-
});
|
|
32
|
-
};
|
|
33
|
-
handleOnDropDownVisibleChange = () => {
|
|
34
|
-
const dropDown_content = document.getElementsByClassName("cwelltSelectDropDown");
|
|
35
|
-
for (let i = 0; i <= dropDown_content.length; i++) {
|
|
36
|
-
dropDown_content[i]?.addEventListener("mouseleave", () => {
|
|
37
|
-
this.setState({
|
|
38
|
-
isVisibleDropDown: false
|
|
39
|
-
});
|
|
40
|
-
});
|
|
41
|
-
}
|
|
42
|
-
};
|
|
43
|
-
onKeyUpSelect = (e_KeyUp_select) => {
|
|
44
|
-
if (e_KeyUp_select.key === "Enter" || e_KeyUp_select.key === "Escape") {
|
|
45
|
-
this.setState({
|
|
46
|
-
isVisibleDropDown: false
|
|
47
|
-
});
|
|
48
|
-
}
|
|
49
|
-
else {
|
|
50
|
-
this.setState({
|
|
51
|
-
isVisibleDropDown: true
|
|
52
|
-
});
|
|
53
|
-
}
|
|
54
|
-
};
|
|
55
|
-
// mouseHover dropDown active
|
|
56
|
-
onMouseHoverDropDownActive = () => {
|
|
57
|
-
const dropDown_active = document.getElementsByClassName("cwelltSelectDropDown_active");
|
|
58
|
-
const itemArray = () => {
|
|
59
|
-
Array.from(dropDown_active).forEach(index => {
|
|
60
|
-
const dropDown = index;
|
|
61
|
-
dropDown.addEventListener("mouseover", () => { });
|
|
62
|
-
});
|
|
63
|
-
return true;
|
|
64
|
-
};
|
|
65
|
-
if (dropDown_active.length > 0 && itemArray()) {
|
|
66
|
-
return true;
|
|
67
|
-
}
|
|
68
|
-
else {
|
|
69
|
-
return false;
|
|
70
|
-
}
|
|
71
|
-
};
|
|
72
|
-
// clicl cwelltDropDown
|
|
73
|
-
onMouseLeaveMultiSelect = (event_mouseLeave) => {
|
|
74
|
-
const post = event_mouseLeave.currentTarget.getBoundingClientRect();
|
|
75
|
-
const posCursorY = event_mouseLeave.clientY;
|
|
76
|
-
if (posCursorY > post.bottom && this.state.isVisibleDropDown === true) {
|
|
77
|
-
this.setState({
|
|
78
|
-
isVisibleDropDown: true
|
|
79
|
-
});
|
|
80
|
-
}
|
|
81
|
-
else {
|
|
82
|
-
this.setState({
|
|
83
|
-
isVisibleDropDown: false
|
|
84
|
-
});
|
|
85
|
-
}
|
|
86
|
-
};
|
|
87
|
-
render() {
|
|
88
|
-
return (_jsx("div", { style: {
|
|
89
|
-
display: "flex",
|
|
90
|
-
flexDirection: "row",
|
|
91
|
-
alignItems: "flexStart",
|
|
92
|
-
width: "100%"
|
|
93
|
-
}, id: "contentMultiSelect", onMouseLeave: e => this.onMouseLeaveMultiSelect(e), children: _jsx("div", { style: { flex: 1 }, children: _jsx(Select, { autoClearSearchValue: true, mode: "multiple", allowClear: true, style: { width: "100%" }, onChange: this.props.handleChange, optionFilterProp: "description", virtual: true, showArrow: true, size: "middle", className: this.props.selectedItems?.length === 0
|
|
94
|
-
? "cwelltMultiSelect cwelltSelect cwelltSelectSimple cwelltMultiSelect_searchIcon"
|
|
95
|
-
: "cwelltMultiSelect cwelltSelect cwelltSelectSimple", placeholder: "Search or filter...", dropdownClassName: this.state.isVisibleDropDown
|
|
96
|
-
? " cwelltSelectDropDown cwelltSelectDropDown_active"
|
|
97
|
-
: "cwelltSelectDropDown", value: this.props.selectedItems?.map(s => s.type + "_" + s.id), onClick: () => this.onClickSelect(), open: this.state.isVisibleDropDown, onDropdownVisibleChange: () => this.handleOnDropDownVisibleChange(), onKeyUp: e_KeyUp_select => this.onKeyUpSelect(e_KeyUp_select), children: this.props.selectLists.map((slArray, i) => (_jsx(OptGroup, { label: slArray.length > 0 ? slArray[0]?.type : "", children: slArray.map(sl => (_jsx(Option, { value: sl.type + "_" + sl.id, type: sl.type, description: sl.description, val: sl.id, children: _jsx(Tag, { color: sl.color, children: sl.description }) }, sl.type + "_" + sl.id))) }, "_" + i))) }) }) }));
|
|
98
|
-
}
|
|
99
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { useEffect, useState } from "react";
|
|
3
|
-
export function CwDropdown(optionsProps) {
|
|
4
|
-
const [selectedOption, setSelectedOption] = useState(optionsProps.defaultSelected || "");
|
|
5
|
-
useEffect(() => {
|
|
6
|
-
if (optionsProps.defaultSelected !== undefined && optionsProps.defaultSelected !== selectedOption) {
|
|
7
|
-
setSelectedOption(optionsProps.defaultSelected);
|
|
8
|
-
if (optionsProps.handleChange) {
|
|
9
|
-
optionsProps.handleChange(optionsProps.defaultSelected);
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
}, [optionsProps.defaultSelected, selectedOption, optionsProps.handleChange]);
|
|
13
|
-
const handleOptionSelect = (event) => {
|
|
14
|
-
const selectedValue = event.target.value;
|
|
15
|
-
setSelectedOption(selectedValue);
|
|
16
|
-
if (optionsProps.handleChange) {
|
|
17
|
-
optionsProps.handleChange(selectedValue);
|
|
18
|
-
}
|
|
19
|
-
};
|
|
20
|
-
return (_jsxs("div", { className: optionsProps.labelPosition === "inline"
|
|
21
|
-
? "cwellt_flex cwellt_flex_row cwellt_align_items_center cwDropDownComp" + " " + optionsProps.className
|
|
22
|
-
: optionsProps.labelPosition === "column"
|
|
23
|
-
? "cwellt_flex cwellt_flex_column cwellt_align-items_baseline cwDropDownComp" + " " + optionsProps.className
|
|
24
|
-
: "cwellt_flex cwellt_flex_row cwellt_align_items_center cwDropDownComp" + " " + optionsProps.className, style: optionsProps.style, id: optionsProps.id, children: [_jsx("label", { className: optionsProps.disabled === true
|
|
25
|
-
? "cw_label_text cw_label_text_disabled" + " " + optionsProps.labelClassName
|
|
26
|
-
: "cw_label_text" + " " + optionsProps.labelClassName, children: optionsProps.labelName }), _jsx("select", { value: selectedOption, onChange: handleOptionSelect, className: "cw_select", style: optionsProps.styleSelect, disabled: optionsProps.disabled || optionsProps.selectList.length === 0, children: optionsProps.selectList.length === 0 ? (_jsx("option", { value: "", className: "cw_option", disabled: true, children: "No data" })) : (_jsxs(_Fragment, { children: [_jsx("option", { value: "", className: "cw_option", children: optionsProps.placeholder }), optionsProps.selectList.map(option => (_jsx("option", { value: option.id, className: "cw_option", style: optionsProps.styleOption, children: option.description }, option.id)))] })) })] }));
|
|
27
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
import { useEffect } from "react";
|
|
4
|
-
export function CwDropdownContainer(dropDownContainerProps) {
|
|
5
|
-
// #region
|
|
6
|
-
// - Ref dropDownContainer
|
|
7
|
-
const dropDownContainer_ref = React.createRef();
|
|
8
|
-
// - Ref list container
|
|
9
|
-
const dropDown_listContainer = React.createRef();
|
|
10
|
-
// #endregion
|
|
11
|
-
// #region Functions
|
|
12
|
-
const onKeyPressDropDownContainer = (event_keyDown) => {
|
|
13
|
-
dropDownContainerProps.onKeyDownDropDownContainer(event_keyDown);
|
|
14
|
-
};
|
|
15
|
-
const onMouseLeaveDropDownContainer = (event_onMouseLeave) => {
|
|
16
|
-
if (typeof dropDownContainerProps.onMouseLeaveDropDownContainer === "function") {
|
|
17
|
-
dropDownContainerProps.onMouseLeaveDropDownContainer(event_onMouseLeave);
|
|
18
|
-
}
|
|
19
|
-
};
|
|
20
|
-
// #endregion
|
|
21
|
-
// #region UseEffect
|
|
22
|
-
useEffect(() => {
|
|
23
|
-
window.addEventListener("keydown", onKeyPressDropDownContainer);
|
|
24
|
-
return () => {
|
|
25
|
-
window.removeEventListener("keydown", onKeyPressDropDownContainer);
|
|
26
|
-
};
|
|
27
|
-
}, []);
|
|
28
|
-
// #endregion
|
|
29
|
-
return (_jsx("div", { className: `cw-dropdown-container ${dropDownContainerProps.className || ''}`, onKeyDown: onKeyPressDropDownContainer, onMouseLeave: onMouseLeaveDropDownContainer, tabIndex: 0, hidden: !dropDownContainerProps.dropDownState, children: _jsx("div", { className: "cw-dropdown-list", id: dropDownContainerProps.idDropDownContainer, ref: dropDownContainer_ref, children: _jsx("div", { ref: dropDown_listContainer, children: dropDownContainerProps.children }) }) }));
|
|
30
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
export function CwDropdownFilter(props) {
|
|
3
|
-
// Determine visibility state
|
|
4
|
-
const isVisible = props.DropDownFilterState ?? false;
|
|
5
|
-
// Generate CSS classes
|
|
6
|
-
const containerClassName = `cw-dropdown-filter ${props.isNested ? 'dropdown-nested' : ''}`.trim();
|
|
7
|
-
// Only apply inline styles for width override if provided
|
|
8
|
-
const inlineStyles = props.width ? { width: props.width } : undefined;
|
|
9
|
-
return (_jsxs("div", { id: props.IdContent, className: containerClassName, children: [props.children, isVisible && (_jsx("nav", { className: "cw-dropdown-menu", style: inlineStyles, onMouseLeave: props.onMouseLeave, id: props.idDropDownFilter, role: "menu", children: _jsx("ul", { role: "none", children: props.DataSourceDropDownItem?.map((item) => (_jsx("li", { id: item.IdDropDown_filter, role: "menuitem", children: item.dropDownFilter_desc }, item.IdDropDown_filter))) }) }))] }));
|
|
10
|
-
}
|