@cwellt_software/cwellt-reactjs-lib 1.1.6 → 1.2.0
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/content/icons/new-cw-icons/NewCwIcons.html +13 -3
- package/dist/content/icons/new-cw-icons/NewCwIcons.json +10 -1
- package/dist/content/icons/new-cw-icons/css/new-cw-icons.css +39 -2
- package/dist/content/icons/new-cw-icons/fonts/NewCwIcons.woff +0 -0
- package/dist/index.cjs.js +2169 -1653
- package/dist/index.css +1 -7
- package/dist/index.d.ts +446 -327
- package/dist/index.es.js +2167 -1607
- package/dist/src/common/classes/CwSelectList.js +12 -0
- package/dist/src/common/classes/CwSelectListItems.js +14 -0
- package/dist/src/common/functions/collections.js +18 -0
- package/dist/src/common/functions/colorManipulation.js +76 -0
- package/dist/src/common/functions/dsl/UiEventDSL.js +20 -0
- package/dist/src/common/functions/useSingleAndDoubleClicks.js +28 -0
- package/dist/src/components/control/action/button/CwButton.d.ts +5 -2
- package/dist/src/components/control/action/button/CwButton.d.ts.map +1 -1
- package/dist/src/components/control/action/button/CwButton.js +13 -0
- package/dist/src/components/control/action/buttons/CwButtons.d.ts +24 -54
- package/dist/src/components/control/action/buttons/CwButtons.d.ts.map +1 -1
- package/dist/src/components/control/action/buttons/CwButtons.js +188 -0
- package/dist/src/components/control/action/contextmenu/CwAnchoredMenu.d.ts +80 -0
- package/dist/src/components/control/action/contextmenu/CwAnchoredMenu.d.ts.map +1 -0
- package/dist/src/components/control/action/contextmenu/CwContextMenu.d.ts +0 -11
- package/dist/src/components/control/action/contextmenu/CwContextMenu.d.ts.map +1 -1
- package/dist/src/components/control/action/contextmenu/CwContextMenu.js +43 -0
- package/dist/src/components/control/action/contextual-menu/CwContextualMenu.js +55 -0
- package/dist/src/components/control/action/search/CwSearch.d.ts +6 -2
- package/dist/src/components/control/action/search/CwSearch.d.ts.map +1 -1
- package/dist/src/components/control/action/search/CwSearch.js +67 -0
- package/dist/src/components/control/action/tooltip-dialog/CwTooltipDialog.js +11 -0
- package/dist/src/components/control/choice/checkbox/CwCheckbox.js +15 -0
- package/dist/src/components/control/choice/deprecated/MultiSelect_deprecated_.js +99 -0
- package/dist/src/components/control/choice/dropdown/CwDropdown.js +27 -0
- package/dist/src/components/control/choice/dropdown/CwDropdownContainer.js +30 -0
- package/dist/src/components/control/choice/dropdown/CwDropdownFilter.js +10 -0
- package/dist/src/components/control/choice/multi-filter/CwMultiFilter.d.ts +1 -5
- package/dist/src/components/control/choice/multi-filter/CwMultiFilter.d.ts.map +1 -1
- package/dist/src/components/control/choice/multi-filter/CwMultiFilter.js +298 -0
- package/dist/src/components/control/choice/multi-filter/components/tag/CwMultiFilterTag.d.ts +2 -2
- package/dist/src/components/control/choice/multi-filter/components/tag/CwMultiFilterTag.d.ts.map +1 -1
- package/dist/src/components/control/choice/multi-filter/components/tag/CwMultiFilterTag.js +17 -0
- package/dist/src/components/control/choice/multiselect/CwHeadFilter.js +80 -0
- package/dist/src/components/control/choice/multiselect/CwMultiselect.js +393 -0
- package/dist/src/components/control/choice/multiselect/CwOptionList.js +36 -0
- package/dist/src/components/control/choice/option/CwOption.js +16 -0
- package/dist/src/components/control/choice/select/CwSelect.js +36 -0
- package/dist/src/components/control/choice/toggle/CwToggle.d.ts.map +1 -1
- package/dist/src/components/control/choice/toggle/CwToggle.js +9 -0
- package/dist/src/components/control/input/any/CwInput.js +16 -0
- package/dist/src/components/control/input/color/CwColorPicker.js +210 -0
- package/dist/src/components/control/input/color/CwInputColor.js +142 -0
- package/dist/src/components/control/input/date/CwInputDate.js +29 -0
- package/dist/src/components/control/input/date-picker/CwInputDatePicker.js +109 -0
- package/dist/src/components/control/input/date-text/CwInputDateText.js +90 -0
- package/dist/src/components/control/input/datetime/CwInputDatetime.js +29 -0
- package/dist/src/components/control/input/digit/CwDigit.js +28 -0
- package/dist/src/components/control/input/file/CwFileUpload.js +52 -0
- package/dist/src/components/control/input/file/CwFileUploadMultiple.d.ts +1 -0
- package/dist/src/components/control/input/file/CwFileUploadMultiple.d.ts.map +1 -1
- package/dist/src/components/control/input/file/CwFileUploadMultiple.js +148 -0
- package/dist/src/components/control/input/image/CwInputImage.js +52 -0
- package/dist/src/components/control/input/image-area/CwImageArea.js +113 -0
- package/dist/src/components/control/input/new-dates/CwDatePicker.d.ts +44 -0
- package/dist/src/components/control/input/new-dates/CwDatePicker.d.ts.map +1 -0
- package/dist/src/components/control/input/new-dates/CwDateRangePicker.d.ts +65 -0
- package/dist/src/components/control/input/new-dates/CwDateRangePicker.d.ts.map +1 -0
- package/dist/src/components/control/input/new-dates/CwDateTimePicker.d.ts +47 -0
- package/dist/src/components/control/input/new-dates/CwDateTimePicker.d.ts.map +1 -0
- package/dist/src/components/control/input/new-dates/CwDateTimePickerCompact.d.ts +46 -0
- package/dist/src/components/control/input/new-dates/CwDateTimePickerCompact.d.ts.map +1 -0
- package/dist/src/components/control/input/new-dates/CwTimePicker.d.ts +38 -0
- package/dist/src/components/control/input/new-dates/CwTimePicker.d.ts.map +1 -0
- package/dist/src/components/control/input/new-dates/dateRangePresets.d.ts +19 -0
- package/dist/src/components/control/input/new-dates/dateRangePresets.d.ts.map +1 -0
- package/dist/src/components/control/input/number/CwInputNumber.js +11 -0
- package/dist/src/components/control/input/phone/CwInputPhone.js +24 -0
- package/dist/src/components/control/input/text/CwInputText.d.ts.map +1 -1
- package/dist/src/components/control/input/text/CwInputText.js +31 -0
- package/dist/src/components/control/input/text-area/CwTextArea.js +9 -0
- package/dist/src/components/control/input/time/CwTime.js +29 -0
- package/dist/src/components/control/input/weekday/CwWeekdaySelector.js +143 -0
- package/dist/src/components/custom/find-airport/CwFindAirportComp.d.ts +4 -1
- package/dist/src/components/custom/find-airport/CwFindAirportComp.d.ts.map +1 -1
- package/dist/src/components/custom/find-airport/CwFindAirportComp.js +240 -0
- package/dist/src/components/custom/scheduler/CwSchedulerComp.js +211 -0
- package/dist/src/components/custom/scheduler/CwSuperSchedulerComp.js +269 -0
- package/dist/src/components/custom/scheduler/components/EventRender.js +142 -0
- package/dist/src/components/custom/scheduler/components/ResourceListRender.d.ts +1 -1
- package/dist/src/components/custom/scheduler/components/ResourceListRender.d.ts.map +1 -1
- package/dist/src/components/custom/scheduler/components/ResourceListRender.js +12 -0
- package/dist/src/components/custom/scheduler/components/ResourceRender.js +26 -0
- package/dist/src/components/custom/scheduler/components/day_headers/DayHeader.js +13 -0
- package/dist/src/components/custom/scheduler/components/day_headers/MonthHeader.js +12 -0
- package/dist/src/components/custom/scheduler/components/day_headers/MyDaysHeader.js +62 -0
- package/dist/src/components/custom/scheduler/components/day_headers/WeekHeader.js +13 -0
- package/dist/src/components/custom/scheduler/components/resources_title_list/ResourcesTitleList.js +24 -0
- package/dist/src/components/custom/scheduler/components/scheduler_content_area/SchedulerContentArea.js +17 -0
- package/dist/src/components/custom/scheduler/components/scheduler_header/SchedulerHeader.js +26 -0
- package/dist/src/components/custom/scheduler/components/scheduler_timeline/SchedulerTimeLine.js +23 -0
- package/dist/src/components/custom/scheduler/components/time_headers/TimeHeader.js +31 -0
- package/dist/src/components/custom/scheduler/components/time_headers/TimeHeaderRow.js +16 -0
- package/dist/src/components/custom/scheduler/components/time_line/TimeLine.js +12 -0
- package/dist/src/components/custom/scheduler/logic/dates/addMinutesToDateFromPx.js +5 -0
- package/dist/src/components/custom/scheduler/logic/dates/daysBetweenTwoDates.js +15 -0
- package/dist/src/components/custom/scheduler/logic/dates/daysBetweenTwoDatesWithoutCeil.js +5 -0
- package/dist/src/components/custom/scheduler/logic/dates/getFormatedTimeForHeader.js +43 -0
- package/dist/src/components/custom/scheduler/logic/dates/getMonthHeaderData.js +35 -0
- package/dist/src/components/custom/scheduler/logic/dates/getUtcToday.js +6 -0
- package/dist/src/components/custom/scheduler/logic/dates/getWeekHeaderDataFromWeekRange.js +20 -0
- package/dist/src/components/custom/scheduler/logic/dates/listOfDatesToWeeks.js +55 -0
- package/dist/src/components/custom/scheduler/logic/divisions/calculateDivisionType.js +13 -0
- package/dist/src/components/custom/scheduler/logic/divisions/calculateDivisions.js +16 -0
- package/dist/src/components/custom/scheduler/logic/filtering/filterEvents.js +33 -0
- package/dist/src/components/custom/scheduler/logic/filtering/filterResources.js +14 -0
- package/dist/src/components/custom/scheduler/logic/filtering/hasSameProperties.js +10 -0
- package/dist/src/components/custom/scheduler/logic/onDrop/OnDrop.js +45 -0
- package/dist/src/components/custom/scheduler/logic/pixels/getHeightLineScheduler.js +14 -0
- package/dist/src/components/custom/scheduler/logic/pixels/getPixelsForEvent.js +32 -0
- package/dist/src/components/custom/scheduler/logic/pixels/heightScheduler.js +14 -0
- package/dist/src/components/custom/scheduler/logic/pixels/heightSchedulerPinned.js +9 -0
- package/dist/src/components/custom/scheduler/logic/state_handle/doubleClickOnResource.js +5 -0
- package/dist/src/components/custom/scheduler/logic/state_handle/handleResourceChange.js +11 -0
- package/dist/src/components/custom/scheduler/logic/state_handle/onDragOver.js +9 -0
- package/dist/src/components/custom/scheduler/logic/state_handle/onDropEventToResource.js +3 -0
- package/dist/src/components/custom/scheduler/logic/strings/compareStrings.js +7 -0
- package/dist/src/components/custom/scheduler/logic/strings/getGUID.js +7 -0
- package/dist/src/components/custom/scheduler/logic/ui/checkIfSlotAvailable.js +8 -0
- package/dist/src/components/custom/scheduler/logic/ui/getEventsOfResource.js +45 -0
- package/dist/src/components/custom/scheduler/logic/ui/getTimeHeaders.js +35 -0
- package/dist/src/components/custom/scheduler/logic/ui/isAllowedToMove.js +19 -0
- package/dist/src/components/custom/scheduler/logic/ui/updateResourceVisibility.js +15 -0
- package/dist/src/components/custom/scheduler/state/CblDragAndDrop.js +18 -0
- package/dist/src/components/custom/scheduler/state/CwSchedulerProps.js +1 -0
- package/dist/src/components/custom/scheduler/state/Resource.js +18 -0
- package/dist/src/components/custom/scheduler/state/State.js +1 -0
- package/dist/src/components/custom/scheduler/state/cblEvent.js +28 -0
- package/dist/src/components/custom/scheduler/state/cblEventCompProps.js +1 -0
- package/dist/src/components/custom/scheduler/state/resourceCompProps2.js +1 -0
- package/dist/src/components/custom/scheduler-new/presentation/NewScheduler.d.ts +3 -4
- package/dist/src/components/custom/scheduler-new/presentation/NewScheduler.d.ts.map +1 -1
- package/dist/src/components/custom/scheduler-new/presentation/NewScheduler.js +123 -0
- package/dist/src/components/custom/scheduler-new/presentation/NewSchedulerUiEvents.d.ts +2 -1
- package/dist/src/components/custom/scheduler-new/presentation/NewSchedulerUiEvents.d.ts.map +1 -1
- package/dist/src/components/custom/scheduler-new/presentation/NewSchedulerUiEvents.js +118 -0
- package/dist/src/components/custom/scheduler-new/presentation/SchedulerPresenter.js +166 -0
- package/dist/src/components/custom/scheduler-new/presentation/components/header/HeaderDivision.js +26 -0
- package/dist/src/components/custom/scheduler-new/presentation/components/header/HeaderTitle.js +8 -0
- package/dist/src/components/custom/scheduler-new/presentation/components/header/SchedulerHeader.js +86 -0
- package/dist/src/components/custom/scheduler-new/presentation/components/row/BackgroundEvent.js +60 -0
- package/dist/src/components/custom/scheduler-new/presentation/components/row/DefaultRowHeader.d.ts.map +1 -1
- package/dist/src/components/custom/scheduler-new/presentation/components/row/DefaultRowHeader.js +24 -0
- package/dist/src/components/custom/scheduler-new/presentation/components/row/Event.d.ts +2 -2
- package/dist/src/components/custom/scheduler-new/presentation/components/row/Event.d.ts.map +1 -1
- package/dist/src/components/custom/scheduler-new/presentation/components/row/Event.js +150 -0
- package/dist/src/components/custom/scheduler-new/presentation/components/row/EventSideDrag.js +11 -0
- package/dist/src/components/custom/scheduler-new/presentation/components/row/SchedulerRow.d.ts +2 -2
- package/dist/src/components/custom/scheduler-new/presentation/components/row/SchedulerRow.d.ts.map +1 -1
- package/dist/src/components/custom/scheduler-new/presentation/components/row/SchedulerRow.js +176 -0
- package/dist/src/components/custom/scheduler-new/presentation/components/timeline/DivisionLine.js +8 -0
- package/dist/src/components/custom/scheduler-new/presentation/components/timeline/TimeLine.js +39 -0
- package/dist/src/components/custom/scheduler-new/presentation/components/timeline/WeekEndLine.js +8 -0
- package/dist/src/components/custom/scheduler-new/presentation/helpers.js +43 -0
- package/dist/src/components/custom/scheduler-new/presentation/logic/WeekendCalc.js +24 -0
- package/dist/src/components/custom/scheduler-new/presentation/logic/dateFromPercentage.js +7 -0
- package/dist/src/components/custom/scheduler-new/presentation/logic/eventIsVisible.js +7 -0
- package/dist/src/components/custom/scheduler-new/presentation/logic/getDefaultDivisions.js +113 -0
- package/dist/src/components/custom/scheduler-new/presentation/logic/getDivisions.js +21 -0
- package/dist/src/components/custom/scheduler-new/presentation/logic/getEventSizes.js +30 -0
- package/dist/src/components/custom/scheduler-new/presentation/logic/getLinesByDivisions.js +13 -0
- package/dist/src/components/custom/scheduler-new/presentation/logic/getPercentageFromMouseEvent.d.ts +1 -0
- package/dist/src/components/custom/scheduler-new/presentation/logic/getPercentageFromMouseEvent.d.ts.map +1 -1
- package/dist/src/components/custom/scheduler-new/presentation/logic/getPercentageFromMouseEvent.js +7 -0
- package/dist/src/components/custom/scheduler-new/presentation/logic/separateEventsToInnerRows.js +32 -0
- package/dist/src/components/custom/scheduler-new/presentation/logic/sortByCategoryAndTitle.js +12 -0
- package/dist/src/components/custom/scheduler-temporal/CwSchedulerComp2.js +267 -0
- package/dist/src/components/custom/scheduler-temporal/CwSuperSchedulerComp.js +269 -0
- package/dist/src/components/custom/scheduler-temporal/components/EventRender.js +142 -0
- package/dist/src/components/custom/scheduler-temporal/components/ResourceListRender.js +12 -0
- package/dist/src/components/custom/scheduler-temporal/components/ResourceRender.js +26 -0
- package/dist/src/components/custom/scheduler-temporal/components/day_headers/DayHeader.js +13 -0
- package/dist/src/components/custom/scheduler-temporal/components/day_headers/MonthHeader.js +12 -0
- package/dist/src/components/custom/scheduler-temporal/components/day_headers/MyDaysHeader.js +62 -0
- package/dist/src/components/custom/scheduler-temporal/components/day_headers/WeekHeader.js +13 -0
- package/dist/src/components/custom/scheduler-temporal/components/resources_title_list/ResourcesTitleList.js +22 -0
- package/dist/src/components/custom/scheduler-temporal/components/scheduler_content_area/SchedulerContentArea.js +17 -0
- package/dist/src/components/custom/scheduler-temporal/components/scheduler_header/SchedulerHeader.js +26 -0
- package/dist/src/components/custom/scheduler-temporal/components/scheduler_timeline/SchedulerTimeLine.js +23 -0
- package/dist/src/components/custom/scheduler-temporal/components/time_headers/TimeHeader.js +31 -0
- package/dist/src/components/custom/scheduler-temporal/components/time_headers/TimeHeaderRow.js +16 -0
- package/dist/src/components/custom/scheduler-temporal/components/time_line/TimeLine.js +12 -0
- package/dist/src/components/custom/scheduler-temporal/logic/dates/addMinutesToDateFromPx.js +5 -0
- package/dist/src/components/custom/scheduler-temporal/logic/dates/daysBetweenTwoDates.js +15 -0
- package/dist/src/components/custom/scheduler-temporal/logic/dates/daysBetweenTwoDatesWithoutCeil.js +5 -0
- package/dist/src/components/custom/scheduler-temporal/logic/dates/getFormatedTimeForHeader.js +43 -0
- package/dist/src/components/custom/scheduler-temporal/logic/dates/getMonthHeaderData.js +35 -0
- package/dist/src/components/custom/scheduler-temporal/logic/dates/getUtcToday.js +6 -0
- package/dist/src/components/custom/scheduler-temporal/logic/dates/getWeekHeaderDataFromWeekRange.js +20 -0
- package/dist/src/components/custom/scheduler-temporal/logic/dates/listOfDatesToWeeks.js +55 -0
- package/dist/src/components/custom/scheduler-temporal/logic/divisions/calculateDivisionType.js +13 -0
- package/dist/src/components/custom/scheduler-temporal/logic/divisions/calculateDivisions.js +16 -0
- package/dist/src/components/custom/scheduler-temporal/logic/filtering/filterAndProcessResources.js +10 -0
- package/dist/src/components/custom/scheduler-temporal/logic/filtering/filterEvents.js +34 -0
- package/dist/src/components/custom/scheduler-temporal/logic/filtering/filterResources.js +14 -0
- package/dist/src/components/custom/scheduler-temporal/logic/filtering/hasSameProperties.js +10 -0
- package/dist/src/components/custom/scheduler-temporal/logic/onDrop/OnDrop.js +36 -0
- package/dist/src/components/custom/scheduler-temporal/logic/pixels/getHeightLineScheduler.js +14 -0
- package/dist/src/components/custom/scheduler-temporal/logic/pixels/getPixelsForEvent.js +32 -0
- package/dist/src/components/custom/scheduler-temporal/logic/pixels/heightScheduler.js +14 -0
- package/dist/src/components/custom/scheduler-temporal/logic/pixels/heightSchedulerPinned.js +9 -0
- package/dist/src/components/custom/scheduler-temporal/logic/state_handle/doubleClickOnResource.js +5 -0
- package/dist/src/components/custom/scheduler-temporal/logic/state_handle/handlePropChanges.js +178 -0
- package/dist/src/components/custom/scheduler-temporal/logic/state_handle/handleResourceChange.js +11 -0
- package/dist/src/components/custom/scheduler-temporal/logic/state_handle/onDragOver.js +9 -0
- package/dist/src/components/custom/scheduler-temporal/logic/state_handle/onDropEventToResource.js +3 -0
- package/dist/src/components/custom/scheduler-temporal/logic/state_handle/onResizeEvent.js +3 -0
- package/dist/src/components/custom/scheduler-temporal/logic/strings/compareStrings.js +7 -0
- package/dist/src/components/custom/scheduler-temporal/logic/strings/getGUID.js +7 -0
- package/dist/src/components/custom/scheduler-temporal/logic/ui/checkIfSlotAvailable.js +9 -0
- package/dist/src/components/custom/scheduler-temporal/logic/ui/getEventsOfResource.js +92 -0
- package/dist/src/components/custom/scheduler-temporal/logic/ui/getHasPropsChanged.js +242 -0
- package/dist/src/components/custom/scheduler-temporal/logic/ui/getTimeHeaders.js +35 -0
- package/dist/src/components/custom/scheduler-temporal/logic/ui/isAllowedToMove.js +19 -0
- package/dist/src/components/custom/scheduler-temporal/logic/ui/shouldTriggerScroll.js +241 -0
- package/dist/src/components/custom/scheduler-temporal/logic/ui/updateResourceVisibility.js +15 -0
- package/dist/src/components/custom/scheduler-temporal/state/CblDragAndDrop.js +18 -0
- package/dist/src/components/custom/scheduler-temporal/state/Resource.js +18 -0
- package/dist/src/components/custom/scheduler-temporal/state/cblEvent.js +28 -0
- package/dist/src/components/custom/scheduler-temporal/state/cblEventCompProps.js +1 -0
- package/dist/src/components/custom/scheduler-temporal/state/resourceCompProps2.js +1 -0
- package/dist/src/components/custom/super-scheduler/PinRowHeader.d.ts +2 -2
- package/dist/src/components/custom/super-scheduler/PinRowHeader.d.ts.map +1 -1
- package/dist/src/components/custom/super-scheduler/PinRowHeader.js +53 -0
- package/dist/src/components/custom/super-scheduler/SuperScheduler.d.ts +2 -2
- package/dist/src/components/custom/super-scheduler/SuperScheduler.d.ts.map +1 -1
- package/dist/src/components/custom/super-scheduler/SuperScheduler.js +23 -0
- package/dist/src/components/custom/super-scheduler/SuperSchedulerEvents.js +15 -0
- package/dist/src/components/custom/super-scheduler/SuperSchedulerPresenter.js +45 -0
- package/dist/src/components/display/data/accordion/CwAccordionContainer.js +20 -0
- package/dist/src/components/display/data/generic_tooltip/CwGenericTooltip.d.ts +1 -0
- package/dist/src/components/display/data/generic_tooltip/CwGenericTooltip.d.ts.map +1 -1
- package/dist/src/components/display/data/generic_tooltip/CwGenericTooltip.js +138 -0
- package/dist/src/components/display/data/table/CwTable.d.ts +25 -20
- package/dist/src/components/display/data/table/CwTable.d.ts.map +1 -1
- package/dist/src/components/display/data/table/CwTable.js +203 -0
- package/dist/src/components/display/graphics/icon/CwIcon.d.ts.map +1 -1
- package/dist/src/components/display/graphics/icon/CwIcon.js +23 -0
- package/dist/src/components/display/graphics/icon/svg-icons.d.ts +6 -0
- package/dist/src/components/display/graphics/icon/svg-icons.d.ts.map +1 -0
- package/dist/src/components/display/graphics/loading/CwLoading.js +27 -0
- package/dist/src/components/display/graphics/loading-small/CwLoadingSmall.js +20 -0
- package/dist/src/components/display/text/heading/CwHeadingMain.js +5 -0
- package/dist/src/components/display/text/heading/CwHeadingSecond.js +5 -0
- package/dist/src/components/display/text/label/CwLabel.d.ts +1 -4
- package/dist/src/components/display/text/label/CwLabel.d.ts.map +1 -1
- package/dist/src/components/display/text/label/CwLabel.js +13 -0
- package/dist/src/components/display/text/message/CwMessage.js +75 -0
- package/dist/src/components/display/text/note/CwNote.js +78 -0
- package/dist/src/components/display/text/tag/CwChip.d.ts.map +1 -1
- package/dist/src/components/display/text/tag/CwChip.js +57 -0
- package/dist/src/components/display/text/tag/CwTag.js +21 -0
- package/dist/src/components/display/text/tooltip/CwTooltip.js +4 -0
- package/dist/src/components/layout/align/CwAlign.js +54 -0
- package/dist/src/components/layout/card/CwCard.js +55 -0
- package/dist/src/components/layout/card/CwCardList.js +38 -0
- package/dist/src/components/layout/dialog/CwDialog.d.ts.map +1 -1
- package/dist/src/components/layout/dialog/CwDialog.js +255 -0
- package/dist/src/components/layout/dialog/CwDialogManager.js +44 -0
- package/dist/src/components/layout/list/details/CwExpandable.js +28 -0
- package/dist/src/components/layout/list/key-value/CwKeyValueList.d.ts +2 -3
- package/dist/src/components/layout/list/key-value/CwKeyValueList.d.ts.map +1 -1
- package/dist/src/components/layout/list/key-value/CwKeyValueList.js +23 -0
- package/dist/src/components/layout/list/sortable/CwSortableList.js +73 -0
- package/dist/src/components/layout/list/sortable/useSortableList.js +53 -0
- package/dist/src/components/layout/modal/CwModalReportFunctional.d.ts.map +1 -1
- package/dist/src/components/layout/modal/CwModalReportFunctional.js +23 -0
- package/dist/src/components/layout/modal/hover/CwModalHover.js +61 -0
- package/dist/src/components/layout/modal/legacy/cw_modal.d.ts +4 -0
- package/dist/src/components/layout/modal/legacy/cw_modal.d.ts.map +1 -1
- package/dist/src/components/layout/modal/legacy/cw_modal.js +44 -0
- package/dist/src/components/layout/modal/legacy/cw_modal_confirm.js +39 -0
- package/dist/src/components/layout/modal/legacy/cw_modal_iframe.js +44 -0
- package/dist/src/components/layout/modal/legacy/cw_modal_report.js +26 -0
- package/dist/src/components/layout/table/grouped/CwTableGrouped.js +70 -0
- package/dist/src/components/layout/tabs/CwTabs.d.ts +2 -0
- package/dist/src/components/layout/tabs/CwTabs.d.ts.map +1 -1
- package/dist/src/components/layout/tabs/CwTabs.js +53 -0
- package/dist/src/dev/palette.d.ts +1 -1
- package/dist/src/dev/palette.d.ts.map +1 -1
- package/dist/src/index.d.ts +8 -12
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +187 -0
- package/dist/test/components/custom/new-scheduler/presentation/logic/getDefaultDivisions.test.js +48 -0
- package/dist/test/components/custom/new-scheduler/presentation/logic/hoursBetween.test.js +15 -0
- package/dist/test/components/custom/new-scheduler/presentation/logic/monthDivisions.test.js +42 -0
- package/dist/test/components/custom/new-scheduler/presentation/logic/weekendCalc.test.js +30 -0
- package/dist/test/components/custom/scheduler/addMinutesToDateFromPx.test.js +43 -0
- package/dist/test/components/custom/scheduler/checkIfSlotAvailable.test.js +30 -0
- package/dist/test/components/custom/scheduler/daysBetweenTwoDates.test.js +61 -0
- package/dist/test/components/custom/scheduler/daysBetweenTwoDatesWithoutCeilForEvent.test.js +27 -0
- package/dist/test/components/custom/scheduler/getGUID.test.js +30 -0
- package/dist/test/components/custom/scheduler/getPixelsForEvent.test.js +38 -0
- package/dist/test/components/custom/scheduler/getTimeHeaders.test.js +35 -0
- package/dist/test/components/custom/scheduler/hasSameProperties.test.js +51 -0
- package/dist/test/components/custom/scheduler/isAllowedToMove.test.js +28 -0
- package/dist/test/components/custom/scheduler/listOfDatesToWeeks.test.js +72 -0
- package/dist/test/jest.setup.js +1 -0
- package/package.json +11 -12
- package/dist/assets/asset-DnHaq7m- +0 -50
- 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 +0 -2784
- package/dist/content/icons/cw-icons/fonts/cwAvinodeFont/CblAvinodeIcon.eot +0 -0
- package/dist/content/icons/cw-icons/fonts/cwAvinodeFont/CblAvinodeIcon.svg +0 -11
- 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 +0 -38
- 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 +0 -29
- 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 +0 -12
- 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 +0 -11
- 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 +0 -12
- 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 +0 -26
- 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 +0 -13
- 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 +0 -29
- 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 +0 -29
- 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 +0 -17
- 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 +0 -20
- 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 +0 -12
- 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 +0 -20
- 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 +0 -12
- 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 +0 -14
- 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 +0 -38
- 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 +0 -11
- 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 +0 -17
- 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 +0 -11
- 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 +0 -11
- 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 +0 -13
- 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 +0 -32
- 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 +0 -11
- 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 +0 -11
- 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 +0 -11
- 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 +0 -11
- 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 +0 -11
- 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 +0 -12
- 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 +0 -158
- 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 +0 -18
- 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 +0 -62
- 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 +0 -43
- 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 +0 -49
- 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 +0 -41
- 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 +0 -11
- 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 +0 -11
- 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 +0 -41
- 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 +0 -12
- 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 +0 -17
- 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 +0 -11
- 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 +0 -11
- 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 +0 -12
- 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 +0 -17
- 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 +0 -50
- 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 +0 -17
- 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.map +0 -1
- package/dist/index.css.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.esm.js +0 -4836
- package/dist/src/common/functions/reactor.d.ts +0 -2
- package/dist/src/common/functions/reactor.d.ts.map +0 -1
- package/dist/src/components/control/input/chipper/CwChip.d.ts +0 -12
- package/dist/src/components/control/input/chipper/CwChip.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler/components/ClearSchedulerButton.d.ts +0 -8
- package/dist/src/components/custom/scheduler/components/ClearSchedulerButton.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler/logic/filtering/filterAndProcessResources.d.ts +0 -14
- package/dist/src/components/custom/scheduler/logic/filtering/filterAndProcessResources.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler/logic/pixels/calculateMaxPxFromDateRange.d.ts +0 -2
- package/dist/src/components/custom/scheduler/logic/pixels/calculateMaxPxFromDateRange.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler/logic/state_handle/handleDateChange.d.ts +0 -5
- package/dist/src/components/custom/scheduler/logic/state_handle/handleDateChange.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler/logic/state_handle/handlePropChanges.d.ts +0 -5
- package/dist/src/components/custom/scheduler/logic/state_handle/handlePropChanges.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler/logic/state_handle/onResizeEvent.d.ts +0 -3
- package/dist/src/components/custom/scheduler/logic/state_handle/onResizeEvent.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler/logic/ui/getHasPropsChanged.d.ts +0 -3
- package/dist/src/components/custom/scheduler/logic/ui/getHasPropsChanged.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler/logic/ui/shouldTriggerScroll.d.ts +0 -3
- package/dist/src/components/custom/scheduler/logic/ui/shouldTriggerScroll.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler/state/EventProps.d.ts +0 -7
- package/dist/src/components/custom/scheduler/state/EventProps.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-new/presentation/components/row/BackgrounEvent.d.ts +0 -1
- package/dist/src/components/custom/scheduler-new/presentation/components/row/BackgrounEvent.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-new/presentation/components/row/cancellablePromise.d.ts +0 -7
- package/dist/src/components/custom/scheduler-new/presentation/components/row/cancellablePromise.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-new/presentation/components/row/useCancellablePromise.d.ts +0 -7
- package/dist/src/components/custom/scheduler-new/presentation/components/row/useCancellablePromise.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-new/presentation/logic/separateEventsByResource.d.ts +0 -5
- package/dist/src/components/custom/scheduler-new/presentation/logic/separateEventsByResource.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-new/presentation/state/external/Event.d.ts +0 -9
- package/dist/src/components/custom/scheduler-new/presentation/state/external/Event.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-new/presentation/state/external/Row.d.ts +0 -5
- package/dist/src/components/custom/scheduler-new/presentation/state/external/Row.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-new/presentation/state/ui/EventSideDragState.d.ts +0 -6
- package/dist/src/components/custom/scheduler-new/presentation/state/ui/EventSideDragState.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-new/presentation/state/ui/HeaderDivision.d.ts +0 -5
- package/dist/src/components/custom/scheduler-new/presentation/state/ui/HeaderDivision.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-new/presentation/state/ui/SchedulerEventState.d.ts +0 -14
- package/dist/src/components/custom/scheduler-new/presentation/state/ui/SchedulerEventState.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-new/presentation/state/ui/SchedulerHeaderState.d.ts +0 -11
- package/dist/src/components/custom/scheduler-new/presentation/state/ui/SchedulerHeaderState.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-new/presentation/state/ui/SchedulerRow.d.ts +0 -8
- package/dist/src/components/custom/scheduler-new/presentation/state/ui/SchedulerRow.d.ts.map +0 -1
- package/dist/test/components/custom/newScheduler/presentation/logic/getDefaultDivisions.test.d.ts.map +0 -1
- package/dist/test/components/custom/scheduler/calculateMaxPxFromDateRange.test.d.ts +0 -2
- package/dist/test/components/custom/scheduler/calculateMaxPxFromDateRange.test.d.ts.map +0 -1
- package/dist/test/components/custom/scheduler/filterEvents.test.d.ts.map +0 -1
- package/dist/test/components/custom/scheduler/shouldTriggerScroll.test.d.ts.map +0 -1
- package/dist/test/example.test.d.ts +0 -1
- package/dist/test/example.test.d.ts.map +0 -1
- /package/dist/src/{components/custom/scheduler-new/presentation/TestScheduler.d.ts → common/interfaces/CwSelectListProps.js} +0 -0
- /package/dist/{test/components/custom/newScheduler/presentation/logic/getDefaultDivisions.test.d.ts → src/components/custom/scheduler-new/presentation/components/header/SchedulerHeaderState.js} +0 -0
- /package/dist/{test/components/custom/newScheduler/presentation/logic/hoursBetween.test.d.ts → src/components/custom/scheduler-new/presentation/state/ui/SchedulerState.js} +0 -0
- /package/dist/{test/components/custom/newScheduler/presentation/logic/weekendCalc.test.d.ts → src/components/custom/scheduler-new/presentation/state/ui/WeekRange.js} +0 -0
- /package/dist/{test/components/custom/scheduler/filterEvents.test.d.ts → src/components/custom/scheduler-temporal/state/CwSchedulerProps.js} +0 -0
- /package/dist/{test/components/custom/scheduler/shouldTriggerScroll.test.d.ts → src/components/custom/scheduler-temporal/state/State.js} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as React$1 from 'react';
|
|
3
|
-
import React__default, {
|
|
3
|
+
import React__default, { HTMLProps, PropsWithChildren, FC, ReactNode, CSSProperties, ReactElement, HTMLAttributes, DetailedHTMLProps, TextareaHTMLAttributes, InputHTMLAttributes, SelectHTMLAttributes, Component, ComponentType } from 'react';
|
|
4
4
|
import * as CSS from 'csstype';
|
|
5
5
|
import { FormInstance } from 'antd/lib/form';
|
|
6
|
-
import {
|
|
6
|
+
import { Matcher } from 'react-day-picker';
|
|
7
7
|
|
|
8
8
|
declare class CwSelectList {
|
|
9
9
|
type: string;
|
|
@@ -35,58 +35,6 @@ declare function CwHeadingMain(props: React__default.PropsWithChildren<React__de
|
|
|
35
35
|
|
|
36
36
|
declare function CwHeadingSecond(props: React__default.PropsWithChildren<React__default.HTMLProps<HTMLHeadingElement>>): react_jsx_runtime.JSX.Element;
|
|
37
37
|
|
|
38
|
-
interface CwAlignProps extends Omit<PropsWithChildren<HTMLProps<HTMLDivElement>>, "className" | "style"> {
|
|
39
|
-
alignContent?: CSS.Property.AlignContent;
|
|
40
|
-
alignItems?: CSS.Property.AlignItems;
|
|
41
|
-
alignSelf?: CSS.Property.AlignSelf;
|
|
42
|
-
bottom?: CSS.Property.Bottom;
|
|
43
|
-
display?: CSS.Property.Display;
|
|
44
|
-
flexBasis?: CSS.Property.FlexBasis;
|
|
45
|
-
flexDirection?: CSS.Property.FlexDirection;
|
|
46
|
-
flexGrow?: CSS.Property.FlexGrow;
|
|
47
|
-
flexShrink?: CSS.Property.FlexShrink;
|
|
48
|
-
flexWrap?: CSS.Property.FlexWrap;
|
|
49
|
-
cssHeight?: CSS.Property.Height;
|
|
50
|
-
justifyContent?: CSS.Property.JustifyContent;
|
|
51
|
-
left?: CSS.Property.Left;
|
|
52
|
-
margin?: CSS.Property.Margin;
|
|
53
|
-
order?: CSS.Property.Order;
|
|
54
|
-
padding?: CSS.Property.Padding;
|
|
55
|
-
position?: CSS.Property.Position;
|
|
56
|
-
right?: CSS.Property.Right;
|
|
57
|
-
top?: CSS.Property.Top;
|
|
58
|
-
cssWidth?: CSS.Property.Width;
|
|
59
|
-
gap?: CSS.Property.Gap;
|
|
60
|
-
}
|
|
61
|
-
/**
|
|
62
|
-
* General purpose aligner flex container, useful for column or row view.
|
|
63
|
-
* @remarks
|
|
64
|
-
* ```txt
|
|
65
|
-
* flexDirection="row" (default):
|
|
66
|
-
*
|
|
67
|
-
* <Row A> | - item 1 - item 2 - item 3 |
|
|
68
|
-
* <Row B> | - item 1 - item 2 - item 3 |
|
|
69
|
-
*
|
|
70
|
-
* flexDirection="column":
|
|
71
|
-
*
|
|
72
|
-
* <Col A> <Col B>
|
|
73
|
-
* | - item 1 | - item 1 |
|
|
74
|
-
* | - item 2 | - item 2 |
|
|
75
|
-
* | - item 3 | - item 3 |
|
|
76
|
-
*
|
|
77
|
-
* ```
|
|
78
|
-
* @example
|
|
79
|
-
* <CwAlign flexDirection="column">
|
|
80
|
-
* <div>
|
|
81
|
-
* <h2>ColumnA</h2>
|
|
82
|
-
* </div>
|
|
83
|
-
* <div>
|
|
84
|
-
* <h2>ColumnB</h2>
|
|
85
|
-
* </div>
|
|
86
|
-
* </CwAlign>
|
|
87
|
-
*/
|
|
88
|
-
declare function CwAlign(props: CwAlignProps): react_jsx_runtime.JSX.Element;
|
|
89
|
-
|
|
90
38
|
interface CwLabelProps extends Omit<HTMLProps<PropsWithChildren<HTMLLabelElement>>, "className"> {
|
|
91
39
|
/** Text to display on the label; Same as props.children
|
|
92
40
|
* @example text="Name:" */
|
|
@@ -100,14 +48,12 @@ interface CwLabelProps extends Omit<HTMLProps<PropsWithChildren<HTMLLabelElement
|
|
|
100
48
|
labelWidth?: CSS.Property.Width;
|
|
101
49
|
/** css height */
|
|
102
50
|
labelHeight?: CSS.Property.Height;
|
|
103
|
-
/** CwAlign properties */
|
|
104
|
-
alignProps?: CwAlignProps;
|
|
105
51
|
}
|
|
106
52
|
/**
|
|
107
53
|
* Label for form controls.
|
|
108
54
|
* @example
|
|
109
55
|
* ```tsx
|
|
110
|
-
* <
|
|
56
|
+
* <CwLabel justify="right" >Username:</CwLabel>
|
|
111
57
|
* ```
|
|
112
58
|
*/
|
|
113
59
|
declare function CwLabel(props: CwLabelProps): react_jsx_runtime.JSX.Element;
|
|
@@ -153,20 +99,6 @@ interface CwChipProps {
|
|
|
153
99
|
**/
|
|
154
100
|
declare const CwChip: React__default.FC<CwChipProps>;
|
|
155
101
|
|
|
156
|
-
interface CwTagProps {
|
|
157
|
-
children?: any;
|
|
158
|
-
styleTag?: React$1.CSSProperties;
|
|
159
|
-
styleTag_description?: React$1.CSSProperties;
|
|
160
|
-
closableTag?: boolean;
|
|
161
|
-
className?: string;
|
|
162
|
-
onClickTag?: (clickEvent: React$1.MouseEvent<HTMLSpanElement, MouseEvent>) => void;
|
|
163
|
-
onClickClosableTag?: (clickEvent: React$1.MouseEvent<HTMLSpanElement, MouseEvent>) => void;
|
|
164
|
-
idTag?: string;
|
|
165
|
-
ref?: any;
|
|
166
|
-
styleClosableButton?: React$1.CSSProperties;
|
|
167
|
-
}
|
|
168
|
-
declare function CwTag(tagProps: React$1.PropsWithChildren<CwTagProps>): react_jsx_runtime.JSX.Element;
|
|
169
|
-
|
|
170
102
|
declare enum CwMessageType {
|
|
171
103
|
ERROR = "close-circle",
|
|
172
104
|
WARN = "warning",
|
|
@@ -421,6 +353,7 @@ interface CwGenericTooltipProps {
|
|
|
421
353
|
position?: TooltipPosition;
|
|
422
354
|
overlayStyle?: CSSProperties;
|
|
423
355
|
showDelay?: number;
|
|
356
|
+
displayInline?: boolean;
|
|
424
357
|
}
|
|
425
358
|
declare const CwGenericTooltip: FC<CwGenericTooltipProps>;
|
|
426
359
|
|
|
@@ -443,6 +376,10 @@ interface CwModalProps {
|
|
|
443
376
|
custButtonTitle?: string;
|
|
444
377
|
custColorButtonTooltip?: string;
|
|
445
378
|
}
|
|
379
|
+
/**
|
|
380
|
+
* **Note:** For new development, we recommend using {@link CwDialog} instead. CwModal remains supported for existing code.
|
|
381
|
+
* @see {@link CwDialog}
|
|
382
|
+
*/
|
|
446
383
|
declare function CwModal(custModalProps: React__default.PropsWithChildren<CwModalProps>): react_jsx_runtime.JSX.Element;
|
|
447
384
|
|
|
448
385
|
interface ConfirmationPopupProps {
|
|
@@ -457,40 +394,6 @@ interface ConfirmationPopupProps {
|
|
|
457
394
|
}
|
|
458
395
|
declare function CwConfirmationPopup(props: ConfirmationPopupProps): react_jsx_runtime.JSX.Element;
|
|
459
396
|
|
|
460
|
-
interface CwModalConfirmProps {
|
|
461
|
-
modalStateConfirm?: boolean;
|
|
462
|
-
children?: any;
|
|
463
|
-
classNameModalOverlay?: string;
|
|
464
|
-
classNameModalConfirm?: string;
|
|
465
|
-
widthModalConfirm?: string | number;
|
|
466
|
-
headerTextConfirm?: string;
|
|
467
|
-
onCloseModalConfirm?: any;
|
|
468
|
-
descriptionModalConfirm?: string;
|
|
469
|
-
onClickActionModalConfirm?: any;
|
|
470
|
-
confirmClassName?: string;
|
|
471
|
-
confirmText?: string;
|
|
472
|
-
}
|
|
473
|
-
declare function CwModalConfirm(custModalProps: React__default.PropsWithChildren<CwModalConfirmProps>): react_jsx_runtime.JSX.Element;
|
|
474
|
-
|
|
475
|
-
interface CwModalIframeProps {
|
|
476
|
-
url: string;
|
|
477
|
-
title: string;
|
|
478
|
-
width: number;
|
|
479
|
-
height: number;
|
|
480
|
-
visible: boolean;
|
|
481
|
-
SET_IFRAME_VISIBLE: (visible: boolean) => void;
|
|
482
|
-
cblConfig: string;
|
|
483
|
-
}
|
|
484
|
-
interface State$5 {
|
|
485
|
-
disabled: boolean;
|
|
486
|
-
}
|
|
487
|
-
declare class CwModalIframe extends React$1.Component<CwModalIframeProps, State$5> {
|
|
488
|
-
constructor(Props: CwModalIframeProps);
|
|
489
|
-
draggableRef: React$1.RefObject<HTMLDivElement>;
|
|
490
|
-
handleCancel: () => void;
|
|
491
|
-
render(): react_jsx_runtime.JSX.Element;
|
|
492
|
-
}
|
|
493
|
-
|
|
494
397
|
interface CwReportModalFunctionalProps {
|
|
495
398
|
content: string;
|
|
496
399
|
name: string;
|
|
@@ -518,7 +421,7 @@ interface CwReportModalProps {
|
|
|
518
421
|
SET_MODAL_REPORT_VISIBLE: (visible: boolean) => void;
|
|
519
422
|
isModal?: boolean;
|
|
520
423
|
}
|
|
521
|
-
interface State$
|
|
424
|
+
interface State$3 {
|
|
522
425
|
disabled: boolean;
|
|
523
426
|
modalPosition: {
|
|
524
427
|
top: number;
|
|
@@ -528,7 +431,7 @@ interface State$4 {
|
|
|
528
431
|
};
|
|
529
432
|
isModal: boolean;
|
|
530
433
|
}
|
|
531
|
-
declare class CwReportModal extends React$1.Component<CwReportModalProps, State$
|
|
434
|
+
declare class CwReportModal extends React$1.Component<CwReportModalProps, State$3> {
|
|
532
435
|
formRef: React$1.RefObject<FormInstance<any>>;
|
|
533
436
|
constructor(props: Readonly<CwReportModalProps>);
|
|
534
437
|
render(): react_jsx_runtime.JSX.Element;
|
|
@@ -591,6 +494,58 @@ declare class CwDialogManager {
|
|
|
591
494
|
static GetOpenDialogCount(): number;
|
|
592
495
|
}
|
|
593
496
|
|
|
497
|
+
interface CwAlignProps extends Omit<PropsWithChildren<HTMLProps<HTMLDivElement>>, "className" | "style"> {
|
|
498
|
+
alignContent?: CSS.Property.AlignContent;
|
|
499
|
+
alignItems?: CSS.Property.AlignItems;
|
|
500
|
+
alignSelf?: CSS.Property.AlignSelf;
|
|
501
|
+
bottom?: CSS.Property.Bottom;
|
|
502
|
+
display?: CSS.Property.Display;
|
|
503
|
+
flexBasis?: CSS.Property.FlexBasis;
|
|
504
|
+
flexDirection?: CSS.Property.FlexDirection;
|
|
505
|
+
flexGrow?: CSS.Property.FlexGrow;
|
|
506
|
+
flexShrink?: CSS.Property.FlexShrink;
|
|
507
|
+
flexWrap?: CSS.Property.FlexWrap;
|
|
508
|
+
cssHeight?: CSS.Property.Height;
|
|
509
|
+
justifyContent?: CSS.Property.JustifyContent;
|
|
510
|
+
left?: CSS.Property.Left;
|
|
511
|
+
margin?: CSS.Property.Margin;
|
|
512
|
+
order?: CSS.Property.Order;
|
|
513
|
+
padding?: CSS.Property.Padding;
|
|
514
|
+
position?: CSS.Property.Position;
|
|
515
|
+
right?: CSS.Property.Right;
|
|
516
|
+
top?: CSS.Property.Top;
|
|
517
|
+
cssWidth?: CSS.Property.Width;
|
|
518
|
+
gap?: CSS.Property.Gap;
|
|
519
|
+
}
|
|
520
|
+
/**
|
|
521
|
+
* General purpose aligner flex container, useful for column or row view.
|
|
522
|
+
* @remarks
|
|
523
|
+
* ```txt
|
|
524
|
+
* flexDirection="row" (default):
|
|
525
|
+
*
|
|
526
|
+
* <Row A> | - item 1 - item 2 - item 3 |
|
|
527
|
+
* <Row B> | - item 1 - item 2 - item 3 |
|
|
528
|
+
*
|
|
529
|
+
* flexDirection="column":
|
|
530
|
+
*
|
|
531
|
+
* <Col A> <Col B>
|
|
532
|
+
* | - item 1 | - item 1 |
|
|
533
|
+
* | - item 2 | - item 2 |
|
|
534
|
+
* | - item 3 | - item 3 |
|
|
535
|
+
*
|
|
536
|
+
* ```
|
|
537
|
+
* @example
|
|
538
|
+
* <CwAlign flexDirection="column">
|
|
539
|
+
* <div>
|
|
540
|
+
* <h2>ColumnA</h2>
|
|
541
|
+
* </div>
|
|
542
|
+
* <div>
|
|
543
|
+
* <h2>ColumnB</h2>
|
|
544
|
+
* </div>
|
|
545
|
+
* </CwAlign>
|
|
546
|
+
*/
|
|
547
|
+
declare function CwAlign(props: CwAlignProps): react_jsx_runtime.JSX.Element;
|
|
548
|
+
|
|
594
549
|
type CardChip = Omit<CwChipProps, 'closable' | 'onClose' | 'className' | 'style'>;
|
|
595
550
|
interface CwCardProps {
|
|
596
551
|
/*** Unique identifier for the card **/
|
|
@@ -713,7 +668,7 @@ interface CwTableProps<T = any> {
|
|
|
713
668
|
onExpand?: (record: T) => void;
|
|
714
669
|
classNameContainer?: string;
|
|
715
670
|
className?: string;
|
|
716
|
-
classNameRow?: string;
|
|
671
|
+
classNameRow?: string | ((record: T) => string);
|
|
717
672
|
style?: React__default.CSSProperties;
|
|
718
673
|
id?: string;
|
|
719
674
|
textNoData?: string;
|
|
@@ -721,6 +676,11 @@ interface CwTableProps<T = any> {
|
|
|
721
676
|
loading?: boolean;
|
|
722
677
|
scrollHeight?: number | string;
|
|
723
678
|
stickyHeader?: boolean;
|
|
679
|
+
rowSelection?: {
|
|
680
|
+
selectedRowKeys?: T[keyof T][];
|
|
681
|
+
onChange?: (selectedKeys: T[keyof T][], selectedRows: T[]) => void;
|
|
682
|
+
type?: "single" | "multiple";
|
|
683
|
+
};
|
|
724
684
|
}
|
|
725
685
|
/**
|
|
726
686
|
* A reusable and customizable table component.
|
|
@@ -730,23 +690,23 @@ interface CwTableProps<T = any> {
|
|
|
730
690
|
* @example
|
|
731
691
|
* const columns: Column<User>[] = [
|
|
732
692
|
* {
|
|
733
|
-
* title:
|
|
734
|
-
* dataIndex:
|
|
735
|
-
* key:
|
|
693
|
+
* title: "Name",
|
|
694
|
+
* dataIndex: "name",
|
|
695
|
+
* key: "name",
|
|
736
696
|
* sortable: true, // Column is sortable
|
|
737
697
|
* width: 100 // You can define the width of the column
|
|
738
698
|
* },
|
|
739
699
|
* {
|
|
740
|
-
* title:
|
|
741
|
-
* dataIndex:
|
|
742
|
-
* key:
|
|
700
|
+
* title: "Age",
|
|
701
|
+
* dataIndex: "age",
|
|
702
|
+
* key: "age",
|
|
743
703
|
* sortable: true,
|
|
744
704
|
* render: (item) => <span>{item.age} years</span> // Custom rendering
|
|
745
705
|
* },
|
|
746
706
|
* {
|
|
747
|
-
* title:
|
|
748
|
-
* dataIndex:
|
|
749
|
-
* key:
|
|
707
|
+
* title: "Address",
|
|
708
|
+
* dataIndex: "address",
|
|
709
|
+
* key: "address",
|
|
750
710
|
* render: (item) => (
|
|
751
711
|
* <a href={`https://maps.google.com/?q=${encodeURIComponent(item.address)}`} target="_blank" rel="noreferrer">
|
|
752
712
|
* {item.address}
|
|
@@ -756,12 +716,12 @@ interface CwTableProps<T = any> {
|
|
|
756
716
|
* ];
|
|
757
717
|
*
|
|
758
718
|
* const data:User[] = [
|
|
759
|
-
* { key:
|
|
760
|
-
* { key:
|
|
761
|
-
* { key:
|
|
762
|
-
* { key:
|
|
763
|
-
* { key:
|
|
764
|
-
* { key:
|
|
719
|
+
* { key: "1", name: "Mike", age: 32, address: "10 Downing Street" },
|
|
720
|
+
* { key: "2", name: "John", age: 42, address: "11 Downing Street" },
|
|
721
|
+
* { key: "3", name: "Andres", age: 33, address: "12 Downing Street" },
|
|
722
|
+
* { key: "4", name: "Gabriel", age: 22, address: "13 Downing Street" },
|
|
723
|
+
* { key: "5", name: "Sergio", age: 47, address: "14 Downing Street" },
|
|
724
|
+
* { key: "6", name: "Zacarias", age: 61, address: "15 Downing Street" }
|
|
765
725
|
* ];
|
|
766
726
|
*
|
|
767
727
|
* const generateExpandedContent = (record) => (
|
|
@@ -776,8 +736,8 @@ interface CwTableProps<T = any> {
|
|
|
776
736
|
* pagination={true}
|
|
777
737
|
* pageSizeOptions={[3, 5, 10]} // Optional, defaults to [5, 10, 20, 50]
|
|
778
738
|
* expandedRowRender={generateExpandedContent}
|
|
779
|
-
* onExpand={(item) => console.log(
|
|
780
|
-
* rowKey="key" // Optional, defaults to
|
|
739
|
+
* onExpand={(item) => console.log("Expanded:", item)}
|
|
740
|
+
* rowKey="key" // Optional, defaults to "key"
|
|
781
741
|
* textNoData="No data available" // Optional message when no data
|
|
782
742
|
* loading={false} // Optional, shows loading indicator
|
|
783
743
|
* scrollHeight={300} // Optional scroll height, defaults to 300
|
|
@@ -786,12 +746,12 @@ interface CwTableProps<T = any> {
|
|
|
786
746
|
* className="my-table" // Optional table class
|
|
787
747
|
* classNameRow="my-table-row" // Optional class for each row
|
|
788
748
|
* id="custom-table-id" // Optional ID for the container
|
|
789
|
-
* style={{ border:
|
|
749
|
+
* style={{ border: "1px solid #ccc" }} // Optional inline styles
|
|
790
750
|
* />
|
|
791
751
|
*
|
|
792
752
|
* @returns React component
|
|
793
753
|
*/
|
|
794
|
-
declare function CwTable<T = any>({ columns, data, pagination, pageSizeOptions, expandedRowRender, onExpand, className, classNameRow, style, classNameContainer, id, textNoData, rowKey, loading, scrollHeight, stickyHeader, }: Readonly<CwTableProps<T>>): react_jsx_runtime.JSX.Element;
|
|
754
|
+
declare function CwTable<T = any>({ columns, data, pagination, pageSizeOptions, expandedRowRender, onExpand, className, classNameRow, style, classNameContainer, id, textNoData, rowKey, loading, scrollHeight, stickyHeader, rowSelection }: Readonly<CwTableProps<T>>): react_jsx_runtime.JSX.Element;
|
|
795
755
|
|
|
796
756
|
interface Tab {
|
|
797
757
|
key: string;
|
|
@@ -799,6 +759,8 @@ interface Tab {
|
|
|
799
759
|
content: React__default.ReactNode;
|
|
800
760
|
icon?: React__default.ReactNode | string;
|
|
801
761
|
iconClassName?: string;
|
|
762
|
+
badge?: number | string;
|
|
763
|
+
badgeColor?: string;
|
|
802
764
|
}
|
|
803
765
|
interface CwTabsProps {
|
|
804
766
|
id?: string;
|
|
@@ -861,7 +823,7 @@ declare const CwExpandable: FC<CwExpandableProps>;
|
|
|
861
823
|
/**
|
|
862
824
|
* Props for the CwKeyValueList component
|
|
863
825
|
*/
|
|
864
|
-
interface CwKeyValueListProps {
|
|
826
|
+
interface CwKeyValueListProps extends HTMLAttributes<HTMLDListElement> {
|
|
865
827
|
items: Array<{
|
|
866
828
|
key: string;
|
|
867
829
|
label: string;
|
|
@@ -1110,6 +1072,7 @@ interface CwFileUploadMultipleProps {
|
|
|
1110
1072
|
onError?: (error: string) => void;
|
|
1111
1073
|
className?: string;
|
|
1112
1074
|
disabled?: boolean;
|
|
1075
|
+
initialFileName?: string;
|
|
1113
1076
|
}
|
|
1114
1077
|
declare function CwFileUploadMultiple(fileUploadProps: React__default.PropsWithChildren<CwFileUploadMultipleProps>): react_jsx_runtime.JSX.Element;
|
|
1115
1078
|
|
|
@@ -1137,12 +1100,14 @@ declare function CwInput(CwInputProps: React__default.PropsWithChildren<CwInputP
|
|
|
1137
1100
|
* @param color - Color theme: 'primary' (default), 'danger', or 'neutral'
|
|
1138
1101
|
* @param icon - Icon identifier for CSS classes (cwi-{icon})
|
|
1139
1102
|
* @param className - Additional CSS classes
|
|
1103
|
+
* @param title - Built-in tooltip
|
|
1104
|
+
* @param tooltipPosition - Tooltip position: 'top', 'bottom' (default), 'left', 'right'
|
|
1140
1105
|
* @param children - Custom button content (overrides text and icon rendering)
|
|
1141
1106
|
*
|
|
1142
1107
|
* @example
|
|
1143
1108
|
* <CwButton text="Save" />
|
|
1144
1109
|
* <CwButton text="Delete" variant="outline" color="danger" />
|
|
1145
|
-
* <CwButton variant="icon" icon="edit" />
|
|
1110
|
+
* <CwButton variant="icon" icon="edit" title="Edit item" />
|
|
1146
1111
|
* <CwButton icon="star" text="Favorite" color="primary" />
|
|
1147
1112
|
* <CwButton className="custom-class">Custom content</CwButton>
|
|
1148
1113
|
*/
|
|
@@ -1151,9 +1116,10 @@ interface CwButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
|
1151
1116
|
variant?: 'solid' | 'outline' | 'icon';
|
|
1152
1117
|
color?: 'primary' | 'danger' | 'neutral';
|
|
1153
1118
|
icon?: string;
|
|
1119
|
+
tooltipPosition?: 'top' | 'bottom' | 'left' | 'right';
|
|
1154
1120
|
ref?: React.LegacyRef<HTMLButtonElement>;
|
|
1155
1121
|
}
|
|
1156
|
-
declare function CwButton({ text, variant, color, className, icon, children, ...buttonProps }: CwButtonProps): react_jsx_runtime.JSX.Element;
|
|
1122
|
+
declare function CwButton({ text, variant, color, className, icon, title, tooltipPosition, children, ...buttonProps }: CwButtonProps): react_jsx_runtime.JSX.Element;
|
|
1157
1123
|
|
|
1158
1124
|
interface CwDigitProps extends Omit<HTMLProps<HTMLInputElement>, "className" | "type"> {
|
|
1159
1125
|
/** Props to define alignment and size; undefined == column
|
|
@@ -1656,38 +1622,6 @@ interface CwOptionProps extends Omit<HTMLProps<PropsWithChildren<HTMLOptionEleme
|
|
|
1656
1622
|
*/
|
|
1657
1623
|
declare function CwOption(props: CwOptionProps): react_jsx_runtime.JSX.Element;
|
|
1658
1624
|
|
|
1659
|
-
interface CwDropdownProps extends HTMLProps<HTMLDivElement> {
|
|
1660
|
-
selectList: Array<CwSelectList>;
|
|
1661
|
-
labelName: string;
|
|
1662
|
-
labelPosition?: string;
|
|
1663
|
-
labelClassName?: string;
|
|
1664
|
-
handleChange?: (value: any) => void;
|
|
1665
|
-
placeholder?: string;
|
|
1666
|
-
className?: string;
|
|
1667
|
-
style?: React__default.CSSProperties;
|
|
1668
|
-
styleSelect?: React__default.CSSProperties;
|
|
1669
|
-
styleOption?: React__default.CSSProperties;
|
|
1670
|
-
disabled?: boolean;
|
|
1671
|
-
error?: boolean;
|
|
1672
|
-
defaultSelected?: any;
|
|
1673
|
-
}
|
|
1674
|
-
declare function CwDropdown(optionsProps: React__default.PropsWithChildren<CwDropdownProps>): react_jsx_runtime.JSX.Element;
|
|
1675
|
-
|
|
1676
|
-
interface CwDropdownContainerProps {
|
|
1677
|
-
dropDownState?: boolean;
|
|
1678
|
-
idDropDownContainer?: string;
|
|
1679
|
-
children?: any;
|
|
1680
|
-
listItems?: Array<OptionListItems>;
|
|
1681
|
-
onKeyDownDropDownContainer?: any;
|
|
1682
|
-
onMouseLeaveDropDownContainer?: any;
|
|
1683
|
-
className?: string;
|
|
1684
|
-
}
|
|
1685
|
-
interface OptionListItems {
|
|
1686
|
-
idListOption?: string | number | any;
|
|
1687
|
-
childrenOptionList?: string | any;
|
|
1688
|
-
}
|
|
1689
|
-
declare function CwDropdownContainer(dropDownContainerProps: React$1.PropsWithChildren<CwDropdownContainerProps>): react_jsx_runtime.JSX.Element;
|
|
1690
|
-
|
|
1691
1625
|
interface CwDropdownListItems {
|
|
1692
1626
|
IdDropDown_filter?: string | number | any;
|
|
1693
1627
|
dropDownFilter_desc?: string | any;
|
|
@@ -1704,27 +1638,6 @@ interface CwDropdownFilterProps {
|
|
|
1704
1638
|
}
|
|
1705
1639
|
declare function CwDropdownFilter(props: React$1.PropsWithChildren<CwDropdownFilterProps>): react_jsx_runtime.JSX.Element;
|
|
1706
1640
|
|
|
1707
|
-
interface MultiselectProps {
|
|
1708
|
-
selectLists: Array<Array<CwSelectList>>;
|
|
1709
|
-
handleChange?: (value: any, test: any) => void;
|
|
1710
|
-
selectedItems?: Array<CwSelectList>;
|
|
1711
|
-
}
|
|
1712
|
-
interface State$3 {
|
|
1713
|
-
selected: any;
|
|
1714
|
-
isVisibleDropDown: any;
|
|
1715
|
-
activeClassName: string;
|
|
1716
|
-
}
|
|
1717
|
-
declare class MultiSelect extends React$1.Component<MultiselectProps, State$3> {
|
|
1718
|
-
constructor(Props: MultiselectProps);
|
|
1719
|
-
componentDidMount(): void;
|
|
1720
|
-
onClickSelect: () => void;
|
|
1721
|
-
handleOnDropDownVisibleChange: () => void;
|
|
1722
|
-
onKeyUpSelect: (e_KeyUp_select: any) => void;
|
|
1723
|
-
onMouseHoverDropDownActive: () => boolean;
|
|
1724
|
-
onMouseLeaveMultiSelect: (event_mouseLeave: any) => void;
|
|
1725
|
-
render(): react_jsx_runtime.JSX.Element;
|
|
1726
|
-
}
|
|
1727
|
-
|
|
1728
1641
|
interface CwMultiFilterTagProps {
|
|
1729
1642
|
/** Make sure each ID is unique */
|
|
1730
1643
|
ID: string;
|
|
@@ -1740,8 +1653,8 @@ interface CwMultiFilterTagProps {
|
|
|
1740
1653
|
g: number;
|
|
1741
1654
|
b: number;
|
|
1742
1655
|
};
|
|
1743
|
-
/**
|
|
1744
|
-
OnPrimaryColor
|
|
1656
|
+
/** @deprecated No longer used. Color contrast is calculated automatically. Will be removed in future version. */
|
|
1657
|
+
OnPrimaryColor?: {
|
|
1745
1658
|
r: number;
|
|
1746
1659
|
g: number;
|
|
1747
1660
|
b: number;
|
|
@@ -1767,46 +1680,6 @@ declare function itemsToMultiFilterTags(items: Array<any>, nameKey: string, valu
|
|
|
1767
1680
|
b: number;
|
|
1768
1681
|
}): Set<ICwMultiFilterTag>;
|
|
1769
1682
|
|
|
1770
|
-
interface CwHeadFilterProps {
|
|
1771
|
-
style?: React$1.CSSProperties;
|
|
1772
|
-
className?: string;
|
|
1773
|
-
placeholder_desc?: string;
|
|
1774
|
-
children?: any;
|
|
1775
|
-
onShowDropDown?: any;
|
|
1776
|
-
onChangeSearch?: any;
|
|
1777
|
-
Id?: string;
|
|
1778
|
-
tagValueContent?: any;
|
|
1779
|
-
onClearValue?: any;
|
|
1780
|
-
onKeypressInput?: any;
|
|
1781
|
-
onMouseLeave?: any;
|
|
1782
|
-
onBlur?: any;
|
|
1783
|
-
}
|
|
1784
|
-
declare function CwHeadFilter(cwelltFilterTabMultiSelectProps: React$1.PropsWithChildren<CwHeadFilterProps>): react_jsx_runtime.JSX.Element;
|
|
1785
|
-
|
|
1786
|
-
interface CwFilterTabProps {
|
|
1787
|
-
id?: string;
|
|
1788
|
-
idDropDownContainer?: string;
|
|
1789
|
-
style?: React__default.CSSProperties;
|
|
1790
|
-
placeholder?: string;
|
|
1791
|
-
onclickHandleChange?: any;
|
|
1792
|
-
selectListsItems?: Array<Array<CwSelectListProps>>;
|
|
1793
|
-
selectedListsItems?: Array<CwSelectListProps>;
|
|
1794
|
-
}
|
|
1795
|
-
declare function CwMultiselect(CwelltCustomFilterTabProps: React__default.PropsWithChildren<CwFilterTabProps>): JSX.Element;
|
|
1796
|
-
|
|
1797
|
-
interface CwOptionListProps {
|
|
1798
|
-
children?: any;
|
|
1799
|
-
value?: string;
|
|
1800
|
-
title?: string;
|
|
1801
|
-
onClick?: any;
|
|
1802
|
-
idOptionList?: string | number | any;
|
|
1803
|
-
onKeyPress?: any;
|
|
1804
|
-
onChangeOptionList?: any;
|
|
1805
|
-
isSelected?: boolean;
|
|
1806
|
-
style?: React$1.CSSProperties;
|
|
1807
|
-
}
|
|
1808
|
-
declare function CwOptionList(optionListProps: React$1.PropsWithChildren<CwOptionListProps>): react_jsx_runtime.JSX.Element;
|
|
1809
|
-
|
|
1810
1683
|
interface CwMultiFilterProps {
|
|
1811
1684
|
/** Classic HTML id, needed to simplify UI testing */
|
|
1812
1685
|
id: string;
|
|
@@ -1831,7 +1704,7 @@ interface CwMultiFilterProps {
|
|
|
1831
1704
|
* - `Category`: Group the filter belongs to
|
|
1832
1705
|
* - `ID`: Unique identifier for the filter
|
|
1833
1706
|
* - `PrimaryColor`: Background color of the tag
|
|
1834
|
-
* - `OnPrimaryColor`: Text color of the tag
|
|
1707
|
+
* - `OnPrimaryColor`: (Optional, deprecated) Text color of the tag - contrast is now calculated automatically
|
|
1835
1708
|
*
|
|
1836
1709
|
* ```
|
|
1837
1710
|
* ╭───────────────────────────────────────────────────────────────╮
|
|
@@ -1873,7 +1746,6 @@ interface CwMultiFilterProps {
|
|
|
1873
1746
|
* Value: "admin",
|
|
1874
1747
|
* Category: "Roles",
|
|
1875
1748
|
* ID: "Roles_admin",
|
|
1876
|
-
* OnPrimaryColor: hexToRGB("#2050a8"),
|
|
1877
1749
|
* PrimaryColor: hexToRGB("#cedcff")
|
|
1878
1750
|
* },
|
|
1879
1751
|
* {
|
|
@@ -1881,7 +1753,6 @@ interface CwMultiFilterProps {
|
|
|
1881
1753
|
* Value: "user",
|
|
1882
1754
|
* Category: "Roles",
|
|
1883
1755
|
* ID: "Roles_user",
|
|
1884
|
-
* OnPrimaryColor: hexToRGB("#2050a8"),
|
|
1885
1756
|
* PrimaryColor: hexToRGB("#cedcff")
|
|
1886
1757
|
* },
|
|
1887
1758
|
* {
|
|
@@ -1889,7 +1760,6 @@ interface CwMultiFilterProps {
|
|
|
1889
1760
|
* Value: "IT",
|
|
1890
1761
|
* Category: "Departments",
|
|
1891
1762
|
* ID: "Departments_IT",
|
|
1892
|
-
* OnPrimaryColor: hexToRGB("#a82037"),
|
|
1893
1763
|
* PrimaryColor: hexToRGB("#ffceda")
|
|
1894
1764
|
* },
|
|
1895
1765
|
* {
|
|
@@ -1897,7 +1767,6 @@ interface CwMultiFilterProps {
|
|
|
1897
1767
|
* Value: "HR",
|
|
1898
1768
|
* Category: "Departments",
|
|
1899
1769
|
* ID: "Departments_HR",
|
|
1900
|
-
* OnPrimaryColor: hexToRGB("#a82037"),
|
|
1901
1770
|
* PrimaryColor: hexToRGB("#ffceda")
|
|
1902
1771
|
* }
|
|
1903
1772
|
* ]);
|
|
@@ -1979,8 +1848,9 @@ declare function CwTreeView<T>({ data, onSelect, allowParentSelection, selectedI
|
|
|
1979
1848
|
|
|
1980
1849
|
interface CwSearchInputProps extends HTMLProps<HTMLDivElement> {
|
|
1981
1850
|
selectList: Array<CwSelectList>;
|
|
1982
|
-
|
|
1983
|
-
|
|
1851
|
+
labelProps?: CwLabelProps;
|
|
1852
|
+
iconProps?: CwIconProps;
|
|
1853
|
+
alignProps?: CwAlignProps;
|
|
1984
1854
|
handleChange?: (value: any) => void;
|
|
1985
1855
|
placeholder?: string;
|
|
1986
1856
|
className?: string;
|
|
@@ -1991,6 +1861,84 @@ interface CwSearchInputProps extends HTMLProps<HTMLDivElement> {
|
|
|
1991
1861
|
}
|
|
1992
1862
|
declare function CwSearchInput(optionsProps: React__default.PropsWithChildren<CwSearchInputProps>): react_jsx_runtime.JSX.Element;
|
|
1993
1863
|
|
|
1864
|
+
type Placement = 'bottom' | 'top' | 'left' | 'right';
|
|
1865
|
+
interface MenuOption {
|
|
1866
|
+
key: string;
|
|
1867
|
+
label: string | React__default.ReactNode;
|
|
1868
|
+
disabled?: boolean;
|
|
1869
|
+
icon?: React__default.ReactNode;
|
|
1870
|
+
}
|
|
1871
|
+
/**
|
|
1872
|
+
* Advanced context menu anchored to an element with arrow indicator.
|
|
1873
|
+
* Opens on right-click and positions itself relative to the trigger element.
|
|
1874
|
+
* Supports controlled state, complex options with icons, automatic viewport adjustment, and smart placement flipping.
|
|
1875
|
+
* Optimized for Scheduler / Timelines / Datagrids.
|
|
1876
|
+
*
|
|
1877
|
+
* @example
|
|
1878
|
+
* // Basic usage with simple string options
|
|
1879
|
+
* <CwAnchoredMenu
|
|
1880
|
+
* options={['Edit', 'Delete', 'Copy']}
|
|
1881
|
+
* onSelect={(key) => handleAction(key)}
|
|
1882
|
+
* placement="bottom"
|
|
1883
|
+
* >
|
|
1884
|
+
* <div>Right-click me!</div>
|
|
1885
|
+
* </CwAnchoredMenu>
|
|
1886
|
+
*
|
|
1887
|
+
* @example
|
|
1888
|
+
* // Advanced usage with MenuOption objects
|
|
1889
|
+
* <CwAnchoredMenu
|
|
1890
|
+
* options={[
|
|
1891
|
+
* { key: 'edit', label: 'Edit item', icon: <EditIcon /> },
|
|
1892
|
+
* { key: 'delete', label: 'Delete item', disabled: false },
|
|
1893
|
+
* { key: 'info', label: <span style={{color: 'blue'}}>Info</span> }
|
|
1894
|
+
* ]}
|
|
1895
|
+
* onSelect={(key) => handleAction(key)}
|
|
1896
|
+
* placement="bottom"
|
|
1897
|
+
* >
|
|
1898
|
+
* <div>Right-click me!</div>
|
|
1899
|
+
* </CwAnchoredMenu>
|
|
1900
|
+
*
|
|
1901
|
+
* @example
|
|
1902
|
+
* // Controlled mode for complex UIs (schedulers, timelines)
|
|
1903
|
+
* const [isOpen, setIsOpen] = useState(false);
|
|
1904
|
+
*
|
|
1905
|
+
* <CwAnchoredMenu
|
|
1906
|
+
* open={isOpen}
|
|
1907
|
+
* onOpenChange={setIsOpen}
|
|
1908
|
+
* onContextMenu={(e) => {
|
|
1909
|
+
* console.log('Menu opened at', e.clientX, e.clientY);
|
|
1910
|
+
* // Handle custom logic here
|
|
1911
|
+
* }}
|
|
1912
|
+
* options={menuOptions}
|
|
1913
|
+
* onSelect={(key) => handleAction(key)}
|
|
1914
|
+
* placement="bottom"
|
|
1915
|
+
* >
|
|
1916
|
+
* <div className="scheduler-event">Event</div>
|
|
1917
|
+
* </CwAnchoredMenu>
|
|
1918
|
+
*
|
|
1919
|
+
* @remarks
|
|
1920
|
+
* - Automatically flips placement when reaching viewport edges (bottom↔top, left↔right)
|
|
1921
|
+
* - Menu centers on click position for better UX
|
|
1922
|
+
* - Arrow always points to trigger element center
|
|
1923
|
+
* - Uses useLayoutEffect to prevent visual flickering
|
|
1924
|
+
* - Works with complex nested elements (e.g., positioned absolute children)
|
|
1925
|
+
*/
|
|
1926
|
+
interface CwAnchoredMenuProps extends React__default.PropsWithChildren {
|
|
1927
|
+
/** Array of menu options (strings or MenuOption objects) */
|
|
1928
|
+
options: (string | MenuOption)[];
|
|
1929
|
+
/** Callback when an option is selected */
|
|
1930
|
+
onSelect: (key: string) => void;
|
|
1931
|
+
/** Preferred placement of the menu (will auto-flip if no space) @default 'bottom' */
|
|
1932
|
+
placement?: Placement;
|
|
1933
|
+
/** Controlled open state */
|
|
1934
|
+
open?: boolean;
|
|
1935
|
+
/** Callback when open state changes (for controlled mode) */
|
|
1936
|
+
onOpenChange?: (open: boolean) => void;
|
|
1937
|
+
/** Callback when context menu is triggered (right-click) */
|
|
1938
|
+
onContextMenu?: (event: React__default.MouseEvent) => void;
|
|
1939
|
+
}
|
|
1940
|
+
declare const CwAnchoredMenu: React__default.FC<CwAnchoredMenuProps>;
|
|
1941
|
+
|
|
1994
1942
|
interface ContextMenuProps extends React__default.PropsWithChildren {
|
|
1995
1943
|
options: string[];
|
|
1996
1944
|
offset?: {
|
|
@@ -1999,98 +1947,267 @@ interface ContextMenuProps extends React__default.PropsWithChildren {
|
|
|
1999
1947
|
};
|
|
2000
1948
|
onSelect: (option: string) => void;
|
|
2001
1949
|
}
|
|
2002
|
-
/**
|
|
2003
|
-
* A context menu that is rendered when the user clicks on a button.
|
|
2004
|
-
* @author NVS
|
|
2005
|
-
* @example
|
|
2006
|
-
* <ContextMenu
|
|
2007
|
-
* options={['Option 1', 'Option 2', 'Option 3']}
|
|
2008
|
-
* onSelect={(option) => console.log(`Selected: ${option}`)}
|
|
2009
|
-
* >
|
|
2010
|
-
* <div>Right-click me!</div>
|
|
2011
|
-
* </ContextMenu>
|
|
2012
|
-
*/
|
|
2013
1950
|
declare const CwContextMenu: React__default.FC<ContextMenuProps>;
|
|
2014
1951
|
|
|
2015
|
-
interface CwContextualMenuProps {
|
|
2016
|
-
children?: any;
|
|
2017
|
-
handleContextMenu?: any;
|
|
2018
|
-
onClick?: any;
|
|
2019
|
-
dataSourceContextMenu?: Array<CwDataItemsListProps>;
|
|
2020
|
-
dataSourceContextMenu_schd?: Array<CwDataItemsListSchdProps>;
|
|
2021
|
-
}
|
|
2022
|
-
interface CwDataItemsListProps {
|
|
2023
|
-
idDataItem?: string | number | any;
|
|
2024
|
-
dataItemContent?: string | any;
|
|
2025
|
-
style?: React$1.CSSProperties;
|
|
2026
|
-
styleDataItem?: React$1.CSSProperties;
|
|
2027
|
-
}
|
|
2028
|
-
interface CwDataItemsListSchdProps {
|
|
2029
|
-
key?: string;
|
|
2030
|
-
text?: string;
|
|
2031
|
-
icon?: string;
|
|
2032
|
-
color?: string;
|
|
2033
|
-
}
|
|
2034
|
-
declare function CwContextualMenu(CwelltRightClickProps: React$1.PropsWithChildren<CwContextualMenuProps>): react_jsx_runtime.JSX.Element;
|
|
2035
|
-
|
|
2036
1952
|
/**
|
|
2037
|
-
*
|
|
2038
|
-
* @
|
|
2039
|
-
*
|
|
2040
|
-
*
|
|
1953
|
+
* Props for legacy icon button wrappers
|
|
1954
|
+
* @deprecated These wrappers exist for backward compatibility.
|
|
1955
|
+
* New code should use <CwButton variant="icon" icon="..." /> directly.
|
|
1956
|
+
* Migration happens organically as files are modified.
|
|
2041
1957
|
*/
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
1958
|
+
interface cw_btnProps extends Omit<CwButtonProps, 'variant' | 'icon' | 'color'> {
|
|
1959
|
+
/** @deprecated Use onClick instead */
|
|
1960
|
+
cw_btnOnclick?: () => void;
|
|
1961
|
+
/** @deprecated Use disabled instead */
|
|
2046
1962
|
cw_btn_disabled?: boolean;
|
|
2047
1963
|
}
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
declare function
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
declare function CwBtnDelete({ cw_btnOnclick, cw_btn_disabled }: cw_btnProps): react_jsx_runtime.JSX.Element;
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
1964
|
+
/**
|
|
1965
|
+
* Save button wrapper
|
|
1966
|
+
* @deprecated Use <CwButton variant="icon" icon="save" onClick={...} /> instead
|
|
1967
|
+
*/
|
|
1968
|
+
declare function CwBtnSave({ cw_btnOnclick, cw_btn_disabled, onClick, disabled, ...rest }: cw_btnProps): react_jsx_runtime.JSX.Element;
|
|
1969
|
+
/**
|
|
1970
|
+
* Edit button wrapper
|
|
1971
|
+
* @deprecated Use <CwButton variant="icon" icon="edit" onClick={...} /> instead
|
|
1972
|
+
*/
|
|
1973
|
+
declare function CwBtnEdit({ cw_btnOnclick, cw_btn_disabled, onClick, disabled, ...rest }: cw_btnProps): react_jsx_runtime.JSX.Element;
|
|
1974
|
+
/**
|
|
1975
|
+
* Delete button wrapper
|
|
1976
|
+
* @deprecated Use <CwButton variant="icon" icon="delete" color="danger" onClick={...} /> instead
|
|
1977
|
+
*/
|
|
1978
|
+
declare function CwBtnDelete({ cw_btnOnclick, cw_btn_disabled, onClick, disabled, ...rest }: cw_btnProps): react_jsx_runtime.JSX.Element;
|
|
1979
|
+
|
|
1980
|
+
type DateMatcher$2 = Matcher;
|
|
1981
|
+
interface CwDatePickerProps {
|
|
1982
|
+
/** Current selected date */
|
|
1983
|
+
value?: Date;
|
|
1984
|
+
/** Callback when date changes */
|
|
1985
|
+
onChange: (date: Date | undefined) => void;
|
|
1986
|
+
/** Minimum selectable date */
|
|
1987
|
+
minDate?: Date;
|
|
1988
|
+
/** Maximum selectable date */
|
|
1989
|
+
maxDate?: Date;
|
|
1990
|
+
/** Array of specific dates to disable */
|
|
1991
|
+
disabledDates?: Date[];
|
|
1992
|
+
/** Function to determine if a date should be disabled */
|
|
1993
|
+
disabledMatcher?: DateMatcher$2;
|
|
1994
|
+
/** Default month to display when calendar opens */
|
|
1995
|
+
defaultMonth?: Date;
|
|
1996
|
+
/** Props for label component */
|
|
1997
|
+
labelProps?: CwLabelProps;
|
|
1998
|
+
/** Props for alignment */
|
|
1999
|
+
alignProps?: CwAlignProps;
|
|
2000
|
+
/** Placeholder text for input */
|
|
2001
|
+
placeholder?: string;
|
|
2002
|
+
/** Display format for the input (default: dd/MM/yyyy) */
|
|
2003
|
+
displayFormat?: string;
|
|
2004
|
+
/** Is the input disabled */
|
|
2005
|
+
disabled?: boolean;
|
|
2006
|
+
/** Is the input required */
|
|
2007
|
+
required?: boolean;
|
|
2008
|
+
/** Additional CSS class for container */
|
|
2009
|
+
className?: string;
|
|
2010
|
+
/** Show clear button */
|
|
2011
|
+
showClear?: boolean;
|
|
2012
|
+
/** Pop Up Position */
|
|
2013
|
+
popupPosition?: "left-bottom" | "left-top" | "right-top" | "right-bottom";
|
|
2014
|
+
/** Number of months to display (default: 1) */
|
|
2015
|
+
numberOfMonths?: number;
|
|
2016
|
+
showTodayButton?: boolean;
|
|
2017
|
+
}
|
|
2018
|
+
declare function CwDatePicker({ value, onChange, minDate, maxDate, disabledDates, disabledMatcher, defaultMonth, labelProps, alignProps, placeholder, displayFormat, disabled, required, className, showClear, popupPosition, numberOfMonths, showTodayButton, }: Readonly<CwDatePickerProps>): react_jsx_runtime.JSX.Element;
|
|
2019
|
+
|
|
2020
|
+
interface DateRangePreset {
|
|
2021
|
+
key: string;
|
|
2022
|
+
label: string;
|
|
2023
|
+
getValue: () => {
|
|
2024
|
+
from: Date;
|
|
2025
|
+
to: Date;
|
|
2026
|
+
};
|
|
2027
|
+
}
|
|
2028
|
+
|
|
2029
|
+
type DateMatcher$1 = Matcher;
|
|
2030
|
+
interface DateRangeValue {
|
|
2031
|
+
from: Date | undefined;
|
|
2032
|
+
to: Date | undefined;
|
|
2033
|
+
}
|
|
2034
|
+
interface CwDateRangePickerProps {
|
|
2035
|
+
/** Current selected date range */
|
|
2036
|
+
value?: DateRangeValue;
|
|
2037
|
+
/** Callback when date range changes */
|
|
2038
|
+
onChange: (range: DateRangeValue | undefined) => void;
|
|
2039
|
+
/** Minimum selectable date */
|
|
2040
|
+
minDate?: Date;
|
|
2041
|
+
/** Maximum selectable date */
|
|
2042
|
+
maxDate?: Date;
|
|
2043
|
+
/** Array of specific dates to disable */
|
|
2044
|
+
disabledDates?: Date[];
|
|
2045
|
+
/** Function to determine if a date should be disabled */
|
|
2046
|
+
disabledMatcher?: DateMatcher$1;
|
|
2047
|
+
/** Maximum number of days allowed in range (optional) */
|
|
2048
|
+
maxRangeDays?: number;
|
|
2049
|
+
/** Default month to display when calendar opens */
|
|
2050
|
+
defaultMonth?: Date;
|
|
2051
|
+
/** Props for label component */
|
|
2052
|
+
labelProps?: CwLabelProps;
|
|
2053
|
+
/** Props for alignment */
|
|
2054
|
+
alignProps?: CwAlignProps;
|
|
2055
|
+
/** Placeholder text for "from" input */
|
|
2056
|
+
placeholderFrom?: string;
|
|
2057
|
+
/** Placeholder text for "to" input */
|
|
2058
|
+
placeholderTo?: string;
|
|
2059
|
+
/** Display format for the inputs (default: dd.MM.yyyy) */
|
|
2060
|
+
displayFormat?: string;
|
|
2061
|
+
/** Is the input disabled */
|
|
2062
|
+
disabled?: boolean;
|
|
2063
|
+
/** Is the input required */
|
|
2064
|
+
required?: boolean;
|
|
2065
|
+
/** Additional CSS class for container */
|
|
2066
|
+
className?: string;
|
|
2067
|
+
/** Show clear buttons */
|
|
2068
|
+
showClear?: boolean;
|
|
2069
|
+
/** Pop Up Position */
|
|
2070
|
+
popupPosition?: "left-bottom" | "left-top" | "right-top" | "right-bottom";
|
|
2071
|
+
/** Number of months to display (default: 2 for ranges) */
|
|
2072
|
+
numberOfMonths?: number;
|
|
2073
|
+
/**
|
|
2074
|
+
* Show preset buttons
|
|
2075
|
+
* @default false
|
|
2076
|
+
*/
|
|
2077
|
+
showPresets?: boolean;
|
|
2078
|
+
/**
|
|
2079
|
+
* Keys of presets to display from PRESET_LIBRARY
|
|
2080
|
+
* @example ['thisWeek', 'past7Days', 'past30Days']
|
|
2081
|
+
*/
|
|
2082
|
+
presetKeys?: string[];
|
|
2083
|
+
/**
|
|
2084
|
+
* Custom presets to add alongside library presets
|
|
2085
|
+
*/
|
|
2086
|
+
customPresets?: DateRangePreset[];
|
|
2087
|
+
}
|
|
2088
|
+
declare function CwDateRangePicker({ value, onChange, minDate, maxDate, disabledDates, disabledMatcher, maxRangeDays, defaultMonth, labelProps, alignProps, placeholderFrom, placeholderTo, displayFormat, disabled, required, className, showClear, popupPosition, numberOfMonths, showPresets, presetKeys, customPresets, }: Readonly<CwDateRangePickerProps>): react_jsx_runtime.JSX.Element;
|
|
2089
|
+
|
|
2090
|
+
interface CwDateTimePickerProps {
|
|
2091
|
+
/** Current selected datetime */
|
|
2092
|
+
value?: Date;
|
|
2093
|
+
/** Callback when datetime changes */
|
|
2094
|
+
onChange: (datetime: Date | undefined) => void;
|
|
2095
|
+
/** Minimum selectable datetime */
|
|
2096
|
+
minDateTime?: Date | string;
|
|
2097
|
+
/** Maximum selectable datetime */
|
|
2098
|
+
maxDateTime?: Date | string;
|
|
2099
|
+
/** Array of specific dates to disable */
|
|
2100
|
+
disabledDates?: Date[];
|
|
2101
|
+
/** Function to determine if a date should be disabled */
|
|
2102
|
+
disabledMatcher?: DateMatcher$2;
|
|
2103
|
+
/** Interval in minutes for time selection (default: 15) */
|
|
2104
|
+
timeInterval?: 5 | 10 | 15 | 30 | 60;
|
|
2105
|
+
/** Minimum selectable time in format "HH:mm" */
|
|
2106
|
+
minTime?: string;
|
|
2107
|
+
/** Maximum selectable time in format "HH:mm" */
|
|
2108
|
+
maxTime?: string;
|
|
2109
|
+
/** Props for label component (applies to the container) */
|
|
2110
|
+
labelProps?: CwLabelProps;
|
|
2111
|
+
/** Props for alignment (applies to the container) */
|
|
2112
|
+
alignProps?: CwAlignProps;
|
|
2113
|
+
/** Placeholder text for date input */
|
|
2114
|
+
datePlaceholder?: string;
|
|
2115
|
+
/** Placeholder text for time input */
|
|
2116
|
+
timePlaceholder?: string;
|
|
2117
|
+
/** Is the input disabled */
|
|
2118
|
+
disabled?: boolean;
|
|
2119
|
+
/** Is the input required */
|
|
2120
|
+
required?: boolean;
|
|
2121
|
+
/** Additional CSS class for container */
|
|
2122
|
+
className?: string;
|
|
2123
|
+
/** Show clear buttons on individual inputs */
|
|
2124
|
+
showClear?: boolean;
|
|
2125
|
+
/** Pop Up Position */
|
|
2126
|
+
popupPosition?: "left-bottom" | "left-top" | "right-top" | "right-bottom";
|
|
2127
|
+
/** Number of months to display in calendar (default: 1) */
|
|
2128
|
+
numberOfMonths?: number;
|
|
2129
|
+
/** Show "Now" button to select current date and time */
|
|
2130
|
+
showNowButton?: boolean;
|
|
2131
|
+
}
|
|
2132
|
+
declare function CwDateTimePicker({ value, onChange, minDateTime, maxDateTime, disabledDates, disabledMatcher, timeInterval, minTime, maxTime, labelProps, alignProps, datePlaceholder, timePlaceholder, disabled, required, className, showClear, popupPosition, numberOfMonths, showNowButton, }: Readonly<CwDateTimePickerProps>): react_jsx_runtime.JSX.Element;
|
|
2133
|
+
|
|
2134
|
+
type DateMatcher = Matcher;
|
|
2135
|
+
interface CwDateTimePickerCompactProps {
|
|
2136
|
+
/** Current selected datetime */
|
|
2137
|
+
value?: Date;
|
|
2138
|
+
/** Callback when datetime changes */
|
|
2139
|
+
onChange: (datetime: Date | undefined) => void;
|
|
2140
|
+
/** Minimum selectable datetime */
|
|
2141
|
+
minDateTime?: Date;
|
|
2142
|
+
/** Maximum selectable datetime */
|
|
2143
|
+
maxDateTime?: Date;
|
|
2144
|
+
/** Array of specific dates to disable */
|
|
2145
|
+
disabledDates?: Date[];
|
|
2146
|
+
/** Function to determine if a date should be disabled */
|
|
2147
|
+
disabledMatcher?: DateMatcher;
|
|
2148
|
+
/** Interval in minutes for time selection (default: 15) */
|
|
2149
|
+
timeInterval?: 5 | 10 | 15 | 30 | 60;
|
|
2150
|
+
/** Minimum selectable time in format "HH:mm" */
|
|
2151
|
+
minTime?: string;
|
|
2152
|
+
/** Maximum selectable time in format "HH:mm" */
|
|
2153
|
+
maxTime?: string;
|
|
2154
|
+
/** Props for label component */
|
|
2155
|
+
labelProps?: CwLabelProps;
|
|
2156
|
+
/** Props for alignment */
|
|
2157
|
+
alignProps?: CwAlignProps;
|
|
2158
|
+
/** Placeholder text for input */
|
|
2159
|
+
placeholder?: string;
|
|
2160
|
+
/** Is the input disabled */
|
|
2161
|
+
disabled?: boolean;
|
|
2162
|
+
/** Is the input required */
|
|
2163
|
+
required?: boolean;
|
|
2164
|
+
/** Additional CSS class for container */
|
|
2165
|
+
className?: string;
|
|
2166
|
+
/** Show clear button */
|
|
2167
|
+
showClear?: boolean;
|
|
2168
|
+
/** Pop Up Position */
|
|
2169
|
+
popupPosition?: "left-bottom" | "left-top" | "right-top" | "right-bottom";
|
|
2170
|
+
/** Number of months to display (default: 1) */
|
|
2171
|
+
numberOfMonths?: number;
|
|
2172
|
+
showTodayButton?: boolean;
|
|
2173
|
+
}
|
|
2174
|
+
declare function CwDateTimePickerCompact({ value, onChange, minDateTime, maxDateTime, disabledDates, disabledMatcher, timeInterval, minTime, maxTime, labelProps, alignProps, placeholder, disabled, required, className, showClear, popupPosition, numberOfMonths, showTodayButton, }: Readonly<CwDateTimePickerCompactProps>): react_jsx_runtime.JSX.Element;
|
|
2175
|
+
|
|
2176
|
+
interface CwTimePickerProps {
|
|
2177
|
+
/** Current selected time in format "HH:mm" (24h format) */
|
|
2178
|
+
value?: string;
|
|
2179
|
+
/** Callback when time changes - returns format "HH:mm" */
|
|
2180
|
+
onChange: (time: string | undefined) => void;
|
|
2181
|
+
/** Interval in minutes for time selection (default: 15) */
|
|
2182
|
+
interval?: 5 | 10 | 15 | 30 | 60;
|
|
2183
|
+
/** Minimum selectable time in format "HH:mm" */
|
|
2184
|
+
minTime?: string;
|
|
2185
|
+
/** Maximum selectable time in format "HH:mm" */
|
|
2186
|
+
maxTime?: string;
|
|
2187
|
+
/** Props for label component */
|
|
2188
|
+
labelProps?: CwLabelProps;
|
|
2189
|
+
/** Props for alignment */
|
|
2190
|
+
alignProps?: CwAlignProps;
|
|
2191
|
+
/** Placeholder text for input */
|
|
2192
|
+
placeholder?: string;
|
|
2193
|
+
/** Is the input disabled */
|
|
2194
|
+
disabled?: boolean;
|
|
2195
|
+
/** Is the input required */
|
|
2196
|
+
required?: boolean;
|
|
2197
|
+
/** Additional CSS class for container */
|
|
2198
|
+
className?: string;
|
|
2199
|
+
/** Show clear button */
|
|
2200
|
+
showClear?: boolean;
|
|
2201
|
+
/** Pop Up Position */
|
|
2202
|
+
popupPosition?: "left-bottom" | "left-top" | "right-bottom" | "right-top";
|
|
2203
|
+
/**
|
|
2204
|
+
* Use native time input instead of custom picker
|
|
2205
|
+
* Recommended for mobile devices and better accessibility
|
|
2206
|
+
* @default false on desktop, true on mobile
|
|
2207
|
+
*/
|
|
2208
|
+
useNative?: boolean;
|
|
2209
|
+
}
|
|
2210
|
+
declare function CwTimePicker({ value, onChange, interval, minTime, maxTime, labelProps, alignProps, placeholder, disabled, required, className, showClear, popupPosition, useNative, }: CwTimePickerProps): react_jsx_runtime.JSX.Element;
|
|
2094
2211
|
|
|
2095
2212
|
declare class cblEvent$1 {
|
|
2096
2213
|
id: string;
|
|
@@ -2459,7 +2576,7 @@ interface SchedulerEventDm {
|
|
|
2459
2576
|
icons?: ReactElement;
|
|
2460
2577
|
rectangleColors?: string[];
|
|
2461
2578
|
tooltip?: ReactNode;
|
|
2462
|
-
contextMenuItems?:
|
|
2579
|
+
contextMenuItems?: MenuOption[];
|
|
2463
2580
|
primaryTimeMarkerColor?: string;
|
|
2464
2581
|
secondaryTimeMarkerColor?: string;
|
|
2465
2582
|
eventType?: number;
|
|
@@ -2512,7 +2629,7 @@ interface SchedulerProps<T extends RowHeaderDm, P extends SchedulerEventDm> {
|
|
|
2512
2629
|
events: P[];
|
|
2513
2630
|
backgroundEvents: BackgroundEventDm[];
|
|
2514
2631
|
rows: T[];
|
|
2515
|
-
contextMenuItems:
|
|
2632
|
+
contextMenuItems: MenuOption[];
|
|
2516
2633
|
orderCategories?: OrderCategory<T>[];
|
|
2517
2634
|
useOrderCategory?: boolean;
|
|
2518
2635
|
RowTitleComp: React__default.ComponentType<RowHeaderProps<T>>;
|
|
@@ -2527,7 +2644,7 @@ interface SchedulerRowProps<T extends RowHeaderDm, P extends SchedulerEventDm> {
|
|
|
2527
2644
|
events: P[];
|
|
2528
2645
|
backgroundEvents: BackgroundEventDm[];
|
|
2529
2646
|
rowHeader: RowHeaderProps<T>;
|
|
2530
|
-
contextMenuItems?:
|
|
2647
|
+
contextMenuItems?: MenuOption[];
|
|
2531
2648
|
EventComp: ComponentType<SchedulerEventState<P>>;
|
|
2532
2649
|
RowTitleComp: ComponentType<RowHeaderProps<T>>;
|
|
2533
2650
|
BackgroundEventComp: ComponentType<SchedulerEventState<BackgroundEventDm>>;
|
|
@@ -2556,7 +2673,7 @@ type resourceCompProps2 = {
|
|
|
2556
2673
|
|
|
2557
2674
|
interface PinRowHeaderProps extends RowHeaderDm {
|
|
2558
2675
|
isPinned: boolean;
|
|
2559
|
-
contextMenuItems:
|
|
2676
|
+
contextMenuItems: MenuOption[];
|
|
2560
2677
|
isLoading: boolean;
|
|
2561
2678
|
highlightColor?: string;
|
|
2562
2679
|
tooltip?: ReactNode;
|
|
@@ -2572,7 +2689,7 @@ interface SuperSchedulerProps {
|
|
|
2572
2689
|
rows: PinRowHeaderProps[];
|
|
2573
2690
|
events: SchedulerEventDm[];
|
|
2574
2691
|
backgroundEvents: BackgroundEventDm[];
|
|
2575
|
-
contextMenuItems:
|
|
2692
|
+
contextMenuItems: MenuOption[];
|
|
2576
2693
|
pinnedOrderCategory?: OrderCategory<PinRowHeaderProps>[];
|
|
2577
2694
|
unPinnedOrderCategory?: OrderCategory<PinRowHeaderProps>[];
|
|
2578
2695
|
onEvent: OnEvent;
|
|
@@ -2603,6 +2720,8 @@ interface CwFindAirportProps {
|
|
|
2603
2720
|
disabled?: boolean;
|
|
2604
2721
|
displayMode?: DisplayMode;
|
|
2605
2722
|
width?: string;
|
|
2723
|
+
labelProps?: CwLabelProps;
|
|
2724
|
+
alignProps?: CwAlignProps;
|
|
2606
2725
|
}
|
|
2607
2726
|
declare const CwFindAirport: React__default.FC<CwFindAirportProps>;
|
|
2608
2727
|
|
|
@@ -2624,7 +2743,8 @@ declare class OnDoubleClickEvent implements UiEvent {
|
|
|
2624
2743
|
}
|
|
2625
2744
|
declare class OnDragEvent implements UiEvent {
|
|
2626
2745
|
readonly id: string;
|
|
2627
|
-
|
|
2746
|
+
readonly crewId: string;
|
|
2747
|
+
constructor(id: string, crewId: string);
|
|
2628
2748
|
}
|
|
2629
2749
|
declare class OnDropEvent implements UiEvent {
|
|
2630
2750
|
readonly id: string;
|
|
@@ -2682,6 +2802,5 @@ declare class OnClickContextMenu implements UiEvent {
|
|
|
2682
2802
|
constructor(id: string, clickedMenu: string);
|
|
2683
2803
|
}
|
|
2684
2804
|
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
export { type BackgroundEventDm, type CardChip, CblDragAndDrop$1 as CblDragAndDrop, type ChipColorScheme, type ChipVariant, type Column, type ConfirmationPopupProps, CwAccordionContainer, CwAlign, type CwAlignProps, CwBtnAdd, CwBtnAddFolder, CwBtnAirport, CwBtnAlert, CwBtnApprove, CwBtnBookMark, CwBtnBulkDuty, CwBtnCancel, CwBtnCrewPlanning, CwBtnDelay, CwBtnDelete, CwBtnDownLoadAllInfo, CwBtnDownload, CwBtnDropDownMenu, CwBtnEdit, CwBtnEditFolder, CwBtnFiles, CwBtnGeneratePairing, CwBtnGoBackFolder, CwBtnHide, CwBtnImportRequests, CwBtnMVT, CwBtnNavFirstItemView, CwBtnNavLastItemView, CwBtnNavNextDay, CwBtnNavPreviewItem, CwBtnPairing, CwBtnPrint, CwBtnPropertyFolder, CwBtnPublish, CwBtnRefresh, CwBtnReleasePeriod, CwBtnSave, CwBtnSearch, CwBtnSelect, CwBtnShare, CwBtnStatistic, CwBtnUploadFiles, CwBtnVacations, CwBtnView, CwButton, CwButtonDef, CwCard, CwCardList, type CwCardListProps, type CwCardProps, CwCheckbox, CwChip, type CwChipProps, CwColorPicker, CwConfirmationPopup, CwContextMenu, CwContextualMenu, CwDialog, CwDialogManager, type CwDialogProps, CwDigit, CwDisplayMessage, CwDropdown, CwDropdownContainer, CwDropdownFilter, CwExpandable, type CwExpandableProps, CwFileUpload, CwFileUploadMultiple, type CwFilterTabProps, CwFindAirport, CwFloatingButton, CwGenericTooltip, CwHeadFilter, CwHeadingMain, CwHeadingSecond, CwIcon, CwImageArea, type CwImageAreaMethods, type CwImageAreaProps, CwImageGallery, CwImageZoom, CwInput, CwInputColor, CwInputDate, CwInputDatePicker, type CwInputDatePickerProps, type CwInputDateProps, CwInputDateText, type CwInputDateTextProps, CwInputDatetime, type CwInputDatetimeProps, CwInputImage, type CwInputImageProps, CwInputNumber, type CwInputNumberProps, CwInputPhone, type CwInputPhoneProps, CwInputText, type CwInputTextProps, type CwInputTimeProps, CwKeyValueList, type CwKeyValueListProps, CwLabel, type CwLabelProps, CwLoading, CwLoadingSmall, CwMessage, CwMessageManager, type CwMessageProps, CwMessageType, CwModal, CwModalConfirm, CwModalHover, type CwModalHoverProps, CwModalIframe, CwModalReportFunctional, CwMultiFilter, type CwMultiFilterProps, CwMultiFilterTag, type CwMultiFilterTagProps, CwMultiselect, CwNote, type CwNoteProps, CwOption, CwOptionList, CwPaletteTree, CwReportModal, type CwReportModalFunctionalProps, CwScheduler, CwScheduler2, CwSearchInput, CwSelect, CwSelectList, CwSelectListItems, type CwSelectListProps, CwSortableList, type CwSortableListProps, CwSuperScheduler, CwTable, CwTableGrouped, type CwTableGroupedData, type CwTableGroupedData_Group, type CwTableGroupedData_Row, type CwTableGroupedProps, CwTabs, CwTag, CwTextArea, type CwTextAreaProps, CwTime, CwToggle, CwTooltip, type CwTreeNode, CwTreeView, CwWeekdaySelector, type DataItem, DefaultRowHeader, type ICwMultiFilterTag, type ImageItem, MultiSelect, OnClearPinned, OnClickContextMenu, OnClickEvent, OnClickRowEvent, OnClickRowHeader, OnClickUtc, OnDoubleClickEvent, OnDoubleClickRowEvent, OnDragEvent, OnDropCtrlEvent, OnDropEvent, OnEndClickHeaderEvent, type OnEvent, OnLeftDragStart, OnMultiClickEvent, OnPinRow, OnRangeClickEvent, OnRightClickEvent, OnRightClickRow, OnRightDragStart, OnStartClickHeaderEvent, OnUnpinRow, PinRowHeader, type PinRowHeaderProps, Resource, type RowHeaderDm, type RowHeaderProps, Scheduler, SchedulerEvent, type SchedulerEventDm, type SchedulerEventState, type SchedulerRowProps, type SchedulerState, SuperScheduler, type SuperSchedulerProps, type Tab, UiEvent, type Weekday, Weekdays, type ZoomImageItem, cblEvent, type cblEventCompProps, eventIsVisible, getDefaultDivisions, getEventSizes, itemsToMultiFilterTags, type resourceCompProps2, useCwMessage, useSortableList };
|
|
2805
|
+
export { CblDragAndDrop$1 as CblDragAndDrop, CwAccordionContainer, CwAlign, CwAnchoredMenu, CwBtnDelete, CwBtnEdit, CwBtnSave, CwButton, CwCard, CwCardList, CwCheckbox, CwChip, CwColorPicker, CwConfirmationPopup, CwContextMenu, CwDatePicker, CwDateRangePicker, CwDateTimePicker, CwDateTimePickerCompact, CwDialog, CwDialogManager, CwDigit, CwDisplayMessage, CwDropdownFilter, CwExpandable, CwFileUpload, CwFileUploadMultiple, CwFindAirport, CwGenericTooltip, CwHeadingMain, CwHeadingSecond, CwIcon, CwImageArea, CwImageGallery, CwImageZoom, CwInput, CwInputColor, CwInputDate, CwInputDatePicker, CwInputDateText, CwInputDatetime, CwInputImage, CwInputNumber, CwInputPhone, CwInputText, CwKeyValueList, CwLabel, CwLoading, CwLoadingSmall, CwMessage, CwMessageManager, CwMessageType, CwModal, CwModalHover, CwModalReportFunctional, CwMultiFilter, CwMultiFilterTag, CwNote, CwOption, CwReportModal, CwScheduler, CwScheduler2, CwSearchInput, CwSelect, CwSelectList, CwSelectListItems, CwSortableList, CwSuperScheduler, CwTable, CwTableGrouped, CwTabs, CwTextArea, CwTime, CwTimePicker, CwToggle, CwTooltip, CwTreeView, CwWeekdaySelector, DefaultRowHeader, OnClearPinned, OnClickContextMenu, OnClickEvent, OnClickRowEvent, OnClickRowHeader, OnClickUtc, OnDoubleClickEvent, OnDoubleClickRowEvent, OnDragEvent, OnDropCtrlEvent, OnDropEvent, OnEndClickHeaderEvent, OnLeftDragStart, OnMultiClickEvent, OnPinRow, OnRangeClickEvent, OnRightClickEvent, OnRightClickRow, OnRightDragStart, OnStartClickHeaderEvent, OnUnpinRow, PinRowHeader, Resource, Scheduler, SchedulerEvent, SuperScheduler, UiEvent, Weekdays, cblEvent, eventIsVisible, getDefaultDivisions, getEventSizes, itemsToMultiFilterTags, useCwMessage, useSortableList };
|
|
2806
|
+
export type { BackgroundEventDm, CardChip, ChipColorScheme, ChipVariant, Column, ConfirmationPopupProps, CwAlignProps, CwCardListProps, CwCardProps, CwChipProps, CwDialogProps, CwExpandableProps, CwImageAreaMethods, CwImageAreaProps, CwInputDatePickerProps, CwInputDateProps, CwInputDateTextProps, CwInputDatetimeProps, CwInputImageProps, CwInputNumberProps, CwInputPhoneProps, CwInputTextProps, CwInputTimeProps, CwKeyValueListProps, CwLabelProps, CwMessageProps, CwModalHoverProps, CwMultiFilterProps, CwMultiFilterTagProps, CwNoteProps, CwReportModalFunctionalProps, CwSelectListProps, CwSortableListProps, CwTableGroupedData, CwTableGroupedData_Group, CwTableGroupedData_Row, CwTableGroupedProps, CwTextAreaProps, CwTreeNode, DataItem, DateRangeValue, ICwMultiFilterTag, ImageItem, MenuOption, OnEvent, PinRowHeaderProps, RowHeaderDm, RowHeaderProps, SchedulerEventDm, SchedulerEventState, SchedulerRowProps, SchedulerState, SuperSchedulerProps, Tab, Weekday, ZoomImageItem, cblEventCompProps, resourceCompProps2 };
|