@cwellt_software/cwellt-reactjs-lib 1.5.0 → 1.5.2
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/fonts/roboto-mono/LICENSE +93 -0
- package/dist/content/fonts/roboto-mono/RobotoMono.css +43 -0
- package/dist/content/fonts/roboto-mono/files/roboto-mono-latin-ext-wght-italic.woff2 +0 -0
- package/dist/content/fonts/roboto-mono/files/roboto-mono-latin-ext-wght-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-mono/files/roboto-mono-latin-wght-italic.woff2 +0 -0
- package/dist/content/fonts/roboto-mono/files/roboto-mono-latin-wght-normal.woff2 +0 -0
- package/dist/deprecated/components/MultiSelect_deprecated_.d.ts +24 -0
- package/dist/deprecated/components/MultiSelect_deprecated_.d.ts.map +1 -0
- package/dist/deprecated/components/dropdown/CwDropdownContainer.d.ts +17 -0
- package/dist/deprecated/components/dropdown/CwDropdownContainer.d.ts.map +1 -0
- package/dist/deprecated/components/multiselect/CwHeadFilter.d.ts +17 -0
- package/dist/deprecated/components/multiselect/CwHeadFilter.d.ts.map +1 -0
- package/dist/deprecated/components/multiselect/CwMultiselect.d.ts +13 -0
- package/dist/deprecated/components/multiselect/CwMultiselect.d.ts.map +1 -0
- package/dist/deprecated/components/multiselect/CwOptionList.d.ts +14 -0
- package/dist/deprecated/components/multiselect/CwOptionList.d.ts.map +1 -0
- package/dist/deprecated/components/tag/CwTag.d.ts +15 -0
- package/dist/deprecated/components/tag/CwTag.d.ts.map +1 -0
- package/dist/index.cjs.js +194 -1423
- package/dist/index.css +2 -2
- package/dist/index.d.ts +114 -223
- package/dist/index.es.js +194 -1420
- package/dist/playground/main.d.ts +4 -0
- package/dist/playground/main.d.ts.map +1 -0
- package/dist/src/components/control/action/button/CwPopoverButton.d.ts +33 -0
- package/dist/src/components/control/action/button/CwPopoverButton.d.ts.map +1 -0
- package/dist/src/components/control/action/contextual-menu/CwContextualMenu.d.ts +29 -0
- package/dist/src/components/control/action/contextual-menu/CwContextualMenu.d.ts.map +1 -0
- package/dist/src/components/control/action/search/CwAsyncSearch.d.ts +102 -0
- package/dist/src/components/control/action/search/CwAsyncSearch.d.ts.map +1 -0
- package/dist/src/components/control/action/tooltip-dialog/CwTooltipDialog.d.ts +19 -0
- package/dist/src/components/control/action/tooltip-dialog/CwTooltipDialog.d.ts.map +1 -0
- package/dist/src/components/control/choice/deprecated/CwDropdown.d.ts +19 -0
- package/dist/src/components/control/choice/deprecated/CwDropdown.d.ts.map +1 -0
- package/dist/src/components/control/choice/deprecated/CwDropdownNavigation.d.ts +21 -0
- package/dist/src/components/control/choice/deprecated/CwDropdownNavigation.d.ts.map +1 -0
- package/dist/src/components/control/choice/deprecated/MultiSelect_deprecated_.d.ts +24 -0
- package/dist/src/components/control/choice/deprecated/MultiSelect_deprecated_.d.ts.map +1 -0
- package/dist/src/components/control/choice/dropdown/CwDropdown.d.ts +19 -0
- package/dist/src/components/control/choice/dropdown/CwDropdown.d.ts.map +1 -0
- package/dist/src/components/control/choice/dropdown/CwDropdownContainer.d.ts +17 -0
- package/dist/src/components/control/choice/dropdown/CwDropdownContainer.d.ts.map +1 -0
- package/dist/src/components/control/choice/dropdown/CwDropdownNavigation.d.ts +21 -0
- package/dist/src/components/control/choice/dropdown/CwDropdownNavigation.d.ts.map +1 -0
- package/dist/src/components/control/choice/multiselect/CwHeadFilter.d.ts +17 -0
- package/dist/src/components/control/choice/multiselect/CwHeadFilter.d.ts.map +1 -0
- package/dist/src/components/control/choice/multiselect/CwMultiselect.d.ts +13 -0
- package/dist/src/components/control/choice/multiselect/CwMultiselect.d.ts.map +1 -0
- package/dist/src/components/control/choice/multiselect/CwOptionList.d.ts +14 -0
- package/dist/src/components/control/choice/multiselect/CwOptionList.d.ts.map +1 -0
- package/dist/src/components/control/choice/nav-menu/CwNavMenu.d.ts.map +1 -1
- package/dist/src/components/control/input/color/CwInputColor.d.ts +2 -0
- package/dist/src/components/control/input/color/CwInputColor.d.ts.map +1 -1
- package/dist/src/components/control/input/digit/CwDigit.d.ts +6 -0
- package/dist/src/components/control/input/digit/CwDigit.d.ts.map +1 -1
- package/dist/src/components/control/input/new-dates/CwDateTimePicker2.d.ts +47 -0
- package/dist/src/components/control/input/new-dates/CwDateTimePicker2.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/CwSchedulerComp2.d.ts +24 -0
- package/dist/src/components/custom/scheduler-temporal/CwSchedulerComp2.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/CwSuperSchedulerComp.d.ts +86 -0
- package/dist/src/components/custom/scheduler-temporal/CwSuperSchedulerComp.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/components/EventRender.d.ts +10 -0
- package/dist/src/components/custom/scheduler-temporal/components/EventRender.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/components/ResourceListRender.d.ts +20 -0
- package/dist/src/components/custom/scheduler-temporal/components/ResourceListRender.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/components/ResourceRender.d.ts +14 -0
- package/dist/src/components/custom/scheduler-temporal/components/ResourceRender.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/components/day_headers/DayHeader.d.ts +11 -0
- package/dist/src/components/custom/scheduler-temporal/components/day_headers/DayHeader.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/components/day_headers/MonthHeader.d.ts +11 -0
- package/dist/src/components/custom/scheduler-temporal/components/day_headers/MonthHeader.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/components/day_headers/MyDaysHeader.d.ts +13 -0
- package/dist/src/components/custom/scheduler-temporal/components/day_headers/MyDaysHeader.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/components/day_headers/WeekHeader.d.ts +11 -0
- package/dist/src/components/custom/scheduler-temporal/components/day_headers/WeekHeader.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/components/resources_title_list/ResourcesTitleList.d.ts +14 -0
- package/dist/src/components/custom/scheduler-temporal/components/resources_title_list/ResourcesTitleList.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/components/scheduler_content_area/SchedulerContentArea.d.ts +23 -0
- package/dist/src/components/custom/scheduler-temporal/components/scheduler_content_area/SchedulerContentArea.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/components/scheduler_header/SchedulerHeader.d.ts +8 -0
- package/dist/src/components/custom/scheduler-temporal/components/scheduler_header/SchedulerHeader.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/components/scheduler_timeline/SchedulerTimeLine.d.ts +12 -0
- package/dist/src/components/custom/scheduler-temporal/components/scheduler_timeline/SchedulerTimeLine.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/components/time_headers/TimeHeader.d.ts +12 -0
- package/dist/src/components/custom/scheduler-temporal/components/time_headers/TimeHeader.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/components/time_headers/TimeHeaderRow.d.ts +10 -0
- package/dist/src/components/custom/scheduler-temporal/components/time_headers/TimeHeaderRow.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/components/time_line/TimeLine.d.ts +12 -0
- package/dist/src/components/custom/scheduler-temporal/components/time_line/TimeLine.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/dates/addMinutesToDateFromPx.d.ts +2 -0
- package/dist/src/components/custom/scheduler-temporal/logic/dates/addMinutesToDateFromPx.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/dates/daysBetweenTwoDates.d.ts +2 -0
- package/dist/src/components/custom/scheduler-temporal/logic/dates/daysBetweenTwoDates.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/dates/daysBetweenTwoDatesWithoutCeil.d.ts +2 -0
- package/dist/src/components/custom/scheduler-temporal/logic/dates/daysBetweenTwoDatesWithoutCeil.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/dates/getFormatedTimeForHeader.d.ts +7 -0
- package/dist/src/components/custom/scheduler-temporal/logic/dates/getFormatedTimeForHeader.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/dates/getMonthHeaderData.d.ts +10 -0
- package/dist/src/components/custom/scheduler-temporal/logic/dates/getMonthHeaderData.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/dates/getUtcToday.d.ts +2 -0
- package/dist/src/components/custom/scheduler-temporal/logic/dates/getUtcToday.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/dates/getWeekHeaderDataFromWeekRange.d.ts +7 -0
- package/dist/src/components/custom/scheduler-temporal/logic/dates/getWeekHeaderDataFromWeekRange.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/dates/listOfDatesToWeeks.d.ts +8 -0
- package/dist/src/components/custom/scheduler-temporal/logic/dates/listOfDatesToWeeks.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/divisions/calculateDivisionType.d.ts +2 -0
- package/dist/src/components/custom/scheduler-temporal/logic/divisions/calculateDivisionType.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/divisions/calculateDivisions.d.ts +2 -0
- package/dist/src/components/custom/scheduler-temporal/logic/divisions/calculateDivisions.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/filtering/filterAndProcessResources.d.ts +4 -0
- package/dist/src/components/custom/scheduler-temporal/logic/filtering/filterAndProcessResources.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/filtering/filterEvents.d.ts +3 -0
- package/dist/src/components/custom/scheduler-temporal/logic/filtering/filterEvents.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/filtering/filterResources.d.ts +3 -0
- package/dist/src/components/custom/scheduler-temporal/logic/filtering/filterResources.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/filtering/hasSameProperties.d.ts +3 -0
- package/dist/src/components/custom/scheduler-temporal/logic/filtering/hasSameProperties.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/onDrop/OnDrop.d.ts +13 -0
- package/dist/src/components/custom/scheduler-temporal/logic/onDrop/OnDrop.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/pixels/getHeightLineScheduler.d.ts +2 -0
- package/dist/src/components/custom/scheduler-temporal/logic/pixels/getHeightLineScheduler.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/pixels/getPixelsForEvent.d.ts +7 -0
- package/dist/src/components/custom/scheduler-temporal/logic/pixels/getPixelsForEvent.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/pixels/heightScheduler.d.ts +3 -0
- package/dist/src/components/custom/scheduler-temporal/logic/pixels/heightScheduler.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/pixels/heightSchedulerPinned.d.ts +2 -0
- package/dist/src/components/custom/scheduler-temporal/logic/pixels/heightSchedulerPinned.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/state_handle/doubleClickOnResource.d.ts +4 -0
- package/dist/src/components/custom/scheduler-temporal/logic/state_handle/doubleClickOnResource.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/state_handle/handlePropChanges.d.ts +6 -0
- package/dist/src/components/custom/scheduler-temporal/logic/state_handle/handlePropChanges.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/state_handle/handleResourceChange.d.ts +5 -0
- package/dist/src/components/custom/scheduler-temporal/logic/state_handle/handleResourceChange.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/state_handle/onDragOver.d.ts +2 -0
- package/dist/src/components/custom/scheduler-temporal/logic/state_handle/onDragOver.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/state_handle/onDropEventToResource.d.ts +5 -0
- package/dist/src/components/custom/scheduler-temporal/logic/state_handle/onDropEventToResource.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/state_handle/onResizeEvent.d.ts +4 -0
- package/dist/src/components/custom/scheduler-temporal/logic/state_handle/onResizeEvent.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/strings/compareStrings.d.ts +2 -0
- package/dist/src/components/custom/scheduler-temporal/logic/strings/compareStrings.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/strings/getGUID.d.ts +2 -0
- package/dist/src/components/custom/scheduler-temporal/logic/strings/getGUID.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/ui/checkIfSlotAvailable.d.ts +3 -0
- package/dist/src/components/custom/scheduler-temporal/logic/ui/checkIfSlotAvailable.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/ui/getEventsOfResource.d.ts +6 -0
- package/dist/src/components/custom/scheduler-temporal/logic/ui/getEventsOfResource.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/ui/getHasPropsChanged.d.ts +4 -0
- package/dist/src/components/custom/scheduler-temporal/logic/ui/getHasPropsChanged.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/ui/getTimeHeaders.d.ts +2 -0
- package/dist/src/components/custom/scheduler-temporal/logic/ui/getTimeHeaders.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/ui/isAllowedToMove.d.ts +3 -0
- package/dist/src/components/custom/scheduler-temporal/logic/ui/isAllowedToMove.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/ui/shouldTriggerScroll.d.ts +4 -0
- package/dist/src/components/custom/scheduler-temporal/logic/ui/shouldTriggerScroll.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/ui/updateResourceVisibility.d.ts +3 -0
- package/dist/src/components/custom/scheduler-temporal/logic/ui/updateResourceVisibility.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/state/CblDragAndDrop.d.ts +11 -0
- package/dist/src/components/custom/scheduler-temporal/state/CblDragAndDrop.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/state/CwSchedulerProps.d.ts +43 -0
- package/dist/src/components/custom/scheduler-temporal/state/CwSchedulerProps.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/state/Resource.d.ts +14 -0
- package/dist/src/components/custom/scheduler-temporal/state/Resource.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/state/State.d.ts +25 -0
- package/dist/src/components/custom/scheduler-temporal/state/State.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/state/cblEvent.d.ts +18 -0
- package/dist/src/components/custom/scheduler-temporal/state/cblEvent.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/state/cblEventCompProps.d.ts +7 -0
- package/dist/src/components/custom/scheduler-temporal/state/cblEventCompProps.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/state/resourceCompProps2.d.ts +6 -0
- package/dist/src/components/custom/scheduler-temporal/state/resourceCompProps2.d.ts.map +1 -0
- package/dist/src/components/display/data/table/CwTable.d.ts +4 -1
- package/dist/src/components/display/data/table/CwTable.d.ts.map +1 -1
- package/dist/src/components/display/data/table-serverside/CwTableServerSide.d.ts +4 -1
- package/dist/src/components/display/data/table-serverside/CwTableServerSide.d.ts.map +1 -1
- package/dist/src/components/display/data/table_sortable/CwSortableTable.d.ts +4 -2
- package/dist/src/components/display/data/table_sortable/CwSortableTable.d.ts.map +1 -1
- package/dist/src/components/display/graphics/progress/CwProgress.d.ts +36 -0
- package/dist/src/components/display/graphics/progress/CwProgress.d.ts.map +1 -0
- package/dist/src/components/display/graphics/skeleton/CwSkeleton.d.ts +31 -0
- package/dist/src/components/display/graphics/skeleton/CwSkeleton.d.ts.map +1 -0
- package/dist/src/components/display/graphics/skeleton/CwSkeletonCard.d.ts +21 -0
- package/dist/src/components/display/graphics/skeleton/CwSkeletonCard.d.ts.map +1 -0
- package/dist/src/components/display/graphics/skeleton/normalizeSkeletonCount.d.ts +8 -0
- package/dist/src/components/display/graphics/skeleton/normalizeSkeletonCount.d.ts.map +1 -0
- package/dist/src/components/display/graphics/skeleton/skeletonCellWidth.d.ts +8 -0
- package/dist/src/components/display/graphics/skeleton/skeletonCellWidth.d.ts.map +1 -0
- package/dist/src/components/display/text/tag/CwTag.d.ts +15 -0
- package/dist/src/components/display/text/tag/CwTag.d.ts.map +1 -0
- package/dist/src/components/display/text/tooltip/CwTooltip.d.ts +11 -0
- package/dist/src/components/display/text/tooltip/CwTooltip.d.ts.map +1 -0
- package/dist/src/components/layout/card/CwCard.d.ts +3 -1
- package/dist/src/components/layout/card/CwCard.d.ts.map +1 -1
- package/dist/src/components/layout/card/CwCardList.d.ts +4 -2
- package/dist/src/components/layout/card/CwCardList.d.ts.map +1 -1
- package/dist/src/components/layout/list/key-value/CwKeyValueList.d.ts +4 -0
- package/dist/src/components/layout/list/key-value/CwKeyValueList.d.ts.map +1 -1
- package/dist/src/components/layout/master-detail/CwMasterDetail.d.ts +4 -0
- package/dist/src/components/layout/master-detail/CwMasterDetail.d.ts.map +1 -1
- package/dist/src/components/layout/modal/legacy/cw_modal_confirm.d.ts +16 -0
- package/dist/src/components/layout/modal/legacy/cw_modal_confirm.d.ts.map +1 -0
- package/dist/src/components/layout/modal/legacy/cw_modal_iframe.d.ts +21 -0
- package/dist/src/components/layout/modal/legacy/cw_modal_iframe.d.ts.map +1 -0
- package/dist/src/components/layout/tabs/CwTabs.d.ts +7 -0
- package/dist/src/components/layout/tabs/CwTabs.d.ts.map +1 -1
- package/dist/src/index.d.ts +2 -8
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/playground/PlaygroundApp.d.ts.map +1 -1
- package/dist/src/playground/pages/ProgressPage.d.ts +3 -0
- package/dist/src/playground/pages/ProgressPage.d.ts.map +1 -0
- package/dist/src/playground/pages/SkeletonPage.d.ts +3 -0
- package/dist/src/playground/pages/SkeletonPage.d.ts.map +1 -0
- package/dist/test/components/control/choice/nav-menu/CwNavMenu.test.d.ts +2 -0
- package/dist/test/components/control/choice/nav-menu/CwNavMenu.test.d.ts.map +1 -0
- package/dist/test/components/display/data/table/CwTable.test.d.ts +2 -0
- package/dist/test/components/display/data/table/CwTable.test.d.ts.map +1 -0
- package/dist/test/components/display/data/table-serverside/CwTableServerSide.test.d.ts +2 -0
- package/dist/test/components/display/data/table-serverside/CwTableServerSide.test.d.ts.map +1 -0
- package/dist/test/components/display/data/table_sortable/CwSortableTable.test.d.ts +2 -0
- package/dist/test/components/display/data/table_sortable/CwSortableTable.test.d.ts.map +1 -0
- package/dist/test/components/display/graphics/progress/CwProgress.test.d.ts +2 -0
- package/dist/test/components/display/graphics/progress/CwProgress.test.d.ts.map +1 -0
- package/dist/test/components/display/graphics/skeleton/CwSkeleton.test.d.ts +2 -0
- package/dist/test/components/display/graphics/skeleton/CwSkeleton.test.d.ts.map +1 -0
- package/dist/test/components/display/graphics/skeleton/CwSkeletonCard.test.d.ts +2 -0
- package/dist/test/components/display/graphics/skeleton/CwSkeletonCard.test.d.ts.map +1 -0
- package/dist/test/components/display/graphics/skeleton/normalizeSkeletonCount.test.d.ts +2 -0
- package/dist/test/components/display/graphics/skeleton/normalizeSkeletonCount.test.d.ts.map +1 -0
- package/dist/test/components/display/graphics/skeleton/skeletonCellWidth.test.d.ts +2 -0
- package/dist/test/components/display/graphics/skeleton/skeletonCellWidth.test.d.ts.map +1 -0
- package/dist/test/components/layout/card/CwCard.test.d.ts +2 -0
- package/dist/test/components/layout/card/CwCard.test.d.ts.map +1 -0
- package/dist/test/components/layout/card/CwCardList.test.d.ts +2 -0
- package/dist/test/components/layout/card/CwCardList.test.d.ts.map +1 -0
- package/dist/test/components/layout/list/key-value/CwKeyValueList.test.d.ts +2 -0
- package/dist/test/components/layout/list/key-value/CwKeyValueList.test.d.ts.map +1 -0
- package/dist/test/components/layout/master-detail/CwMasterDetail.test.d.ts +2 -0
- package/dist/test/components/layout/master-detail/CwMasterDetail.test.d.ts.map +1 -0
- package/dist/test/jest.setup.d.ts +2 -0
- package/dist/test/jest.setup.d.ts.map +1 -0
- package/package.json +3 -3
- package/dist/content/fonts/roboto/LICENSE.txt +0 -202
- package/dist/content/fonts/roboto/Roboto-Black.ttf +0 -0
- package/dist/content/fonts/roboto/Roboto-BlackItalic.ttf +0 -0
- package/dist/content/fonts/roboto/Roboto-Bold.ttf +0 -0
- package/dist/content/fonts/roboto/Roboto-BoldItalic.ttf +0 -0
- package/dist/content/fonts/roboto/Roboto-Italic.ttf +0 -0
- package/dist/content/fonts/roboto/Roboto-Light.ttf +0 -0
- package/dist/content/fonts/roboto/Roboto-LightItalic.ttf +0 -0
- package/dist/content/fonts/roboto/Roboto-Medium.ttf +0 -0
- package/dist/content/fonts/roboto/Roboto-MediumItalic.ttf +0 -0
- package/dist/content/fonts/roboto/Roboto-Regular.ttf +0 -0
- package/dist/content/fonts/roboto/Roboto-Thin.ttf +0 -0
- package/dist/content/fonts/roboto/Roboto-ThinItalic.ttf +0 -0
- package/dist/content/fonts/roboto/RobotoFontFamily.css +0 -109
- package/dist/content/fonts/roboto-flex/README.md +0 -24
- package/dist/content/fonts/roboto-flex/files/roboto-flex-latin-ext-grad-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-latin-ext-opsz-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-latin-ext-slnt-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-latin-ext-standard-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-latin-ext-wdth-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-latin-ext-wght-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-latin-ext-xopq-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-latin-ext-xtra-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-latin-ext-yopq-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-latin-ext-ytas-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-latin-ext-ytde-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-latin-ext-ytfi-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-latin-ext-ytlc-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-latin-ext-ytuc-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-latin-grad-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-latin-opsz-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-latin-slnt-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-latin-standard-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-latin-wdth-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-latin-wght-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-latin-xopq-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-latin-xtra-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-latin-yopq-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-latin-ytas-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-latin-ytde-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-latin-ytfi-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-latin-ytlc-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/files/roboto-flex-latin-ytuc-normal.woff2 +0 -0
- package/dist/content/fonts/roboto-flex/grad.css +0 -19
- package/dist/content/fonts/roboto-flex/index.css +0 -19
- package/dist/content/fonts/roboto-flex/metadata.json +0 -33
- package/dist/content/fonts/roboto-flex/opsz.css +0 -19
- package/dist/content/fonts/roboto-flex/slnt.css +0 -19
- package/dist/content/fonts/roboto-flex/standard.css +0 -21
- package/dist/content/fonts/roboto-flex/unicode.json +0 -4
- package/dist/content/fonts/roboto-flex/wdth.css +0 -21
- package/dist/content/fonts/roboto-flex/wght.css +0 -20
- package/dist/content/fonts/roboto-flex/xopq.css +0 -20
- package/dist/content/fonts/roboto-flex/xtra.css +0 -19
- package/dist/content/fonts/roboto-flex/yopq.css +0 -19
- package/dist/content/fonts/roboto-flex/ytas.css +0 -19
- package/dist/content/fonts/roboto-flex/ytde.css +0 -20
- package/dist/content/fonts/roboto-flex/ytfi.css +0 -20
- package/dist/content/fonts/roboto-flex/ytlc.css +0 -19
- package/dist/content/fonts/roboto-flex/ytuc.css +0 -20
- package/dist/content/icons/new-cw-icons/NewCwIcons.html +0 -415
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
|
-
import React__default, { HTMLProps, PropsWithChildren, FC, ReactNode, CSSProperties, ReactElement, HTMLAttributes, DetailedHTMLProps, TextareaHTMLAttributes, InputHTMLAttributes, SelectHTMLAttributes,
|
|
2
|
+
import React__default, { HTMLProps, PropsWithChildren, FC, ReactNode, CSSProperties, ReactElement, HTMLAttributes, DetailedHTMLProps, TextareaHTMLAttributes, InputHTMLAttributes, SelectHTMLAttributes, ComponentType } from 'react';
|
|
3
3
|
import * as CSS from 'csstype';
|
|
4
4
|
import { DayPickerLocale } from 'react-day-picker/locale';
|
|
5
5
|
import { Matcher } from 'react-day-picker';
|
|
@@ -338,6 +338,69 @@ declare function configureCwLoading(next: CwLoadingDefaults): void;
|
|
|
338
338
|
/** Read the currently configured CwLoading defaults. */
|
|
339
339
|
declare function getCwLoadingDefaults(): CwLoadingDefaults;
|
|
340
340
|
|
|
341
|
+
type SkeletonVariant = 'text' | 'rect' | 'circle';
|
|
342
|
+
interface CwSkeletonProps {
|
|
343
|
+
/** Shape of the placeholder. Default: 'text'. */
|
|
344
|
+
variant?: SkeletonVariant;
|
|
345
|
+
/** CSS length. Defaults: text and rect 100%; circle falls back to the height so it stays round. */
|
|
346
|
+
width?: string;
|
|
347
|
+
/** CSS length. Defaults: text 1em, rect 6rem, circle 2.5rem. */
|
|
348
|
+
height?: string;
|
|
349
|
+
/** Number of stacked placeholders. Default 1. When variant is 'text' and count > 1, the last line renders at 60% width for realism. */
|
|
350
|
+
count?: number;
|
|
351
|
+
/** Border-radius override. Defaults: text/rect var(--cw-border-radius), circle 50%. */
|
|
352
|
+
radius?: string;
|
|
353
|
+
/** Spacing between stacked placeholders when count > 1. CSS length. Default: var(--cw-spacing-tiny). */
|
|
354
|
+
gap?: string;
|
|
355
|
+
}
|
|
356
|
+
/**
|
|
357
|
+
* CwSkeleton - a shimmering placeholder that reserves the shape of content while it loads.
|
|
358
|
+
*
|
|
359
|
+
* Renders inline <span> elements so it can sit inside text-level contexts. Sizing flows
|
|
360
|
+
* through component-scoped custom properties; only the props the caller provides are set
|
|
361
|
+
* inline, so the CSS defaults per variant (and the 60% last-line rule) stay in charge.
|
|
362
|
+
*
|
|
363
|
+
* @example
|
|
364
|
+
* <CwSkeleton count={3} />
|
|
365
|
+
* <CwSkeleton variant="circle" />
|
|
366
|
+
* <CwSkeleton variant="rect" height="10rem" />
|
|
367
|
+
*/
|
|
368
|
+
declare function CwSkeleton({ variant, width, height, count, radius, gap }: CwSkeletonProps): React__default.JSX.Element;
|
|
369
|
+
|
|
370
|
+
type ProgressColor = 'primary' | 'success' | 'warning' | 'danger' | 'info';
|
|
371
|
+
type ProgressSize = 'small' | 'regular' | 'large';
|
|
372
|
+
interface CwProgressProps {
|
|
373
|
+
/** Progress percentage, 0-100 (clamped). Ignored when indeterminate. */
|
|
374
|
+
value?: number;
|
|
375
|
+
/** Sweeping animation for unmeasurable progress. Respects prefers-reduced-motion (static partial fill). */
|
|
376
|
+
indeterminate?: boolean;
|
|
377
|
+
/** Label beside (row layout) or above (column layout) the bar. */
|
|
378
|
+
label?: string;
|
|
379
|
+
/** Right-side value label. Defaults to the rounded percent when value is set and not indeterminate. */
|
|
380
|
+
rightLabel?: string;
|
|
381
|
+
/** Bar size. Default 'regular'. */
|
|
382
|
+
size?: ProgressSize;
|
|
383
|
+
/** Label placement relative to the bar. Default 'row'. */
|
|
384
|
+
layout?: 'row' | 'column';
|
|
385
|
+
/** Semantic color. Default 'primary'. */
|
|
386
|
+
color?: ProgressColor;
|
|
387
|
+
/** Tabular figures for the value label so digits do not jump while counting. */
|
|
388
|
+
monoValue?: boolean;
|
|
389
|
+
/** Larger, bolder value label. */
|
|
390
|
+
prominent?: boolean;
|
|
391
|
+
}
|
|
392
|
+
/**
|
|
393
|
+
* CwProgress - a determinate or indeterminate progress bar.
|
|
394
|
+
*
|
|
395
|
+
* Use it for measurable operations (imports, uploads, batch jobs). For short
|
|
396
|
+
* unmeasurable waits use CwLoading; for initial layout loads use CwSkeleton.
|
|
397
|
+
*
|
|
398
|
+
* @example
|
|
399
|
+
* <CwProgress value={62} label="Import" color="success" />
|
|
400
|
+
* <CwProgress indeterminate label="Uploading" />
|
|
401
|
+
*/
|
|
402
|
+
declare function CwProgress({ value, indeterminate, label, rightLabel, size, layout, color, monoValue, prominent }: CwProgressProps): React__default.JSX.Element;
|
|
403
|
+
|
|
341
404
|
type TooltipPosition = "top" | "bottom" | "left" | "right";
|
|
342
405
|
interface CwGenericTooltipProps {
|
|
343
406
|
children: ReactNode;
|
|
@@ -477,7 +540,7 @@ interface CwReportModalProps {
|
|
|
477
540
|
SET_MODAL_REPORT_VISIBLE: (visible: boolean) => void;
|
|
478
541
|
isModal?: boolean;
|
|
479
542
|
}
|
|
480
|
-
interface State
|
|
543
|
+
interface State {
|
|
481
544
|
disabled: boolean;
|
|
482
545
|
modalPosition: {
|
|
483
546
|
top: number;
|
|
@@ -487,7 +550,7 @@ interface State$2 {
|
|
|
487
550
|
};
|
|
488
551
|
isModal: boolean;
|
|
489
552
|
}
|
|
490
|
-
declare class CwReportModal extends React$1.Component<CwReportModalProps, State
|
|
553
|
+
declare class CwReportModal extends React$1.Component<CwReportModalProps, State> {
|
|
491
554
|
constructor(props: Readonly<CwReportModalProps>);
|
|
492
555
|
render(): React$1.JSX.Element;
|
|
493
556
|
}
|
|
@@ -619,8 +682,10 @@ interface CwCardProps {
|
|
|
619
682
|
clickable?: boolean;
|
|
620
683
|
/*** Click handler when clickable is true **/
|
|
621
684
|
onClick?: () => void;
|
|
622
|
-
/*** Whether the card is in a loading state **/
|
|
685
|
+
/*** Whether the card is in a loading state - the content zone renders skeleton lines instead of children **/
|
|
623
686
|
isLoading?: boolean;
|
|
687
|
+
/*** Number of skeleton text lines shown in the content while isLoading. Default 3 **/
|
|
688
|
+
skeletonLines?: number;
|
|
624
689
|
/*** Whether the card is disabled **/
|
|
625
690
|
disabled?: boolean;
|
|
626
691
|
/*** Custom style object for additional inline styles **/
|
|
@@ -672,8 +737,10 @@ interface CwCardListProps<T> extends React__default.HTMLAttributes<HTMLDivElemen
|
|
|
672
737
|
defaultCardWidth?: number;
|
|
673
738
|
/** Gap between cards (in pixels) */
|
|
674
739
|
cardGap?: number;
|
|
675
|
-
/** Loading state */
|
|
740
|
+
/** Loading state - renders ghost cards in the same layout instead of items */
|
|
676
741
|
isLoading?: boolean;
|
|
742
|
+
/** Number of ghost cards shown while isLoading. Default 6 */
|
|
743
|
+
skeletonCards?: number;
|
|
677
744
|
/** Optional custom empty state component */
|
|
678
745
|
emptyState?: ReactNode;
|
|
679
746
|
/** Available sort options */
|
|
@@ -683,7 +750,7 @@ interface CwCardListProps<T> extends React__default.HTMLAttributes<HTMLDivElemen
|
|
|
683
750
|
/** Extracts a stable unique key from each item to avoid index-based reconciliation bugs */
|
|
684
751
|
keyExtractor?: (item: T, index: number) => string | number;
|
|
685
752
|
}
|
|
686
|
-
declare function CwCardList<T>({ items, renderCard, pageSize, layout, defaultCardWidth, cardGap, isLoading, emptyState, sortOptions, defaultSortKey, keyExtractor, ...htmlProps }: CwCardListProps<T>): React__default.JSX.Element;
|
|
753
|
+
declare function CwCardList<T>({ items, renderCard, pageSize, layout, defaultCardWidth, cardGap, isLoading, skeletonCards, emptyState, sortOptions, defaultSortKey, keyExtractor, ...htmlProps }: CwCardListProps<T>): React__default.JSX.Element;
|
|
687
754
|
|
|
688
755
|
interface CwAccordionContainerProps {
|
|
689
756
|
children?: any;
|
|
@@ -726,7 +793,10 @@ interface CwTableProps<T = any> {
|
|
|
726
793
|
testId?: string;
|
|
727
794
|
textNoData?: string;
|
|
728
795
|
rowKey?: keyof T;
|
|
796
|
+
/** Renders skeleton placeholder rows in the body instead of data. The header stays real. */
|
|
729
797
|
loading?: boolean;
|
|
798
|
+
/** Number of skeleton rows shown while loading. Default 5. */
|
|
799
|
+
skeletonRows?: number;
|
|
730
800
|
scrollHeight?: number | string;
|
|
731
801
|
stickyHeader?: boolean;
|
|
732
802
|
pageLabel?: string;
|
|
@@ -805,7 +875,7 @@ interface CwTableProps<T = any> {
|
|
|
805
875
|
*
|
|
806
876
|
* @returns React component
|
|
807
877
|
*/
|
|
808
|
-
declare function CwTable<T = any>({ columns, data, pagination, pageSizeOptions, expandedRowRender, onExpand, className, classNameRow, style, classNameContainer, id, testId, textNoData, rowKey, loading, scrollHeight, stickyHeader, pageLabel, rowSelection }: Readonly<CwTableProps<T>>): React__default.JSX.Element;
|
|
878
|
+
declare function CwTable<T = any>({ columns, data, pagination, pageSizeOptions, expandedRowRender, onExpand, className, classNameRow, style, classNameContainer, id, testId, textNoData, rowKey, loading, skeletonRows, scrollHeight, stickyHeader, pageLabel, rowSelection }: Readonly<CwTableProps<T>>): React__default.JSX.Element;
|
|
809
879
|
|
|
810
880
|
interface SortableColumn<T = any> {
|
|
811
881
|
/** Header label */
|
|
@@ -841,8 +911,10 @@ interface CwSortableTableProps<T = any> {
|
|
|
841
911
|
* }}
|
|
842
912
|
*/
|
|
843
913
|
onReorder: (newData: T[]) => Promise<void>;
|
|
844
|
-
/**
|
|
914
|
+
/** Renders skeleton placeholder rows in the body instead of data. The header stays real. */
|
|
845
915
|
loading?: boolean;
|
|
916
|
+
/** Number of skeleton rows shown while loading. Default 5. */
|
|
917
|
+
skeletonRows?: number;
|
|
846
918
|
/** Message shown when data is empty */
|
|
847
919
|
textNoData?: string;
|
|
848
920
|
/** CSS class for the outer container */
|
|
@@ -878,7 +950,7 @@ interface CwSortableTableProps<T = any> {
|
|
|
878
950
|
* - Reorder is calculated in onDragEnd using lastValidDropIndex
|
|
879
951
|
* - draggedItem is tracked in state, not via dataTransfer
|
|
880
952
|
*/
|
|
881
|
-
declare function CwSortableTable<T = any>({ columns, data, rowKey, onReorder, loading, textNoData, className, tableClassName, maxHeight, showHandle, style, saveLabel, discardLabel, }: Readonly<CwSortableTableProps<T>>): React__default.JSX.Element;
|
|
953
|
+
declare function CwSortableTable<T = any>({ columns, data, rowKey, onReorder, loading, skeletonRows, textNoData, className, tableClassName, maxHeight, showHandle, style, saveLabel, discardLabel, }: Readonly<CwSortableTableProps<T>>): React__default.JSX.Element;
|
|
882
954
|
|
|
883
955
|
interface SortableTableDragState {
|
|
884
956
|
/** Index of the row currently being dragged (-1 if none) */
|
|
@@ -955,7 +1027,10 @@ interface CwTableServerSideProps<T = any> {
|
|
|
955
1027
|
testId?: string;
|
|
956
1028
|
textNoData?: string;
|
|
957
1029
|
rowKey?: keyof T;
|
|
1030
|
+
/** Renders skeleton placeholder rows in the body instead of data. The header stays real. */
|
|
958
1031
|
loading?: boolean;
|
|
1032
|
+
/** Number of skeleton rows shown while loading. Default 5. */
|
|
1033
|
+
skeletonRows?: number;
|
|
959
1034
|
scrollHeight?: number | string;
|
|
960
1035
|
stickyHeader?: boolean;
|
|
961
1036
|
rowSelection?: {
|
|
@@ -1019,7 +1094,7 @@ interface CwTableServerSideProps<T = any> {
|
|
|
1019
1094
|
*
|
|
1020
1095
|
* @returns React component
|
|
1021
1096
|
*/
|
|
1022
|
-
declare function CwTableServerSide<T = any>({ columns, data, totalItems, pagination, pageSizeOptions, pageLabel, expandedRowRender, onExpand, className, classNameRow, style, classNameContainer, id, testId, textNoData, rowKey, loading, scrollHeight, stickyHeader, rowSelection, onChange, serverState, }: Readonly<CwTableServerSideProps<T>>): React__default.JSX.Element;
|
|
1097
|
+
declare function CwTableServerSide<T = any>({ columns, data, totalItems, pagination, pageSizeOptions, pageLabel, expandedRowRender, onExpand, className, classNameRow, style, classNameContainer, id, testId, textNoData, rowKey, loading, skeletonRows, scrollHeight, stickyHeader, rowSelection, onChange, serverState, }: Readonly<CwTableServerSideProps<T>>): React__default.JSX.Element;
|
|
1023
1098
|
|
|
1024
1099
|
interface Tab {
|
|
1025
1100
|
key: string;
|
|
@@ -1041,6 +1116,13 @@ interface CwTabsProps {
|
|
|
1041
1116
|
tabs: Tab[];
|
|
1042
1117
|
tabsPosition?: 'top' | 'left';
|
|
1043
1118
|
tabsListWidth?: string;
|
|
1119
|
+
/**
|
|
1120
|
+
* Height for the tab content panel (any CSS length, e.g. `calc(100vh - 10rem)`).
|
|
1121
|
+
* Sets the internal `--tabs-height` so a scrollable child (e.g. a `CwTable` with
|
|
1122
|
+
* `stickyHeader` + `scrollHeight`) gets a bounded scroll container without the
|
|
1123
|
+
* call site declaring the CSS variable itself. Defaults to `75vh` when omitted.
|
|
1124
|
+
*/
|
|
1125
|
+
contentHeight?: string;
|
|
1044
1126
|
}
|
|
1045
1127
|
/**
|
|
1046
1128
|
* CwTabs component for displaying tabbed content.
|
|
@@ -1127,6 +1209,10 @@ interface CwMasterDetailProps {
|
|
|
1127
1209
|
resizable?: boolean;
|
|
1128
1210
|
/** Whether to show the search input */
|
|
1129
1211
|
showSearch?: boolean;
|
|
1212
|
+
/** Renders skeleton placeholders in the master list and detail panel instead of content. */
|
|
1213
|
+
loading?: boolean;
|
|
1214
|
+
/** Number of skeleton rows shown in the master list while loading. Default 5. */
|
|
1215
|
+
skeletonRows?: number;
|
|
1130
1216
|
}
|
|
1131
1217
|
declare const CwMasterDetail: React__default.FC<CwMasterDetailProps>;
|
|
1132
1218
|
|
|
@@ -1147,6 +1233,10 @@ interface CwKeyValueListProps extends HTMLAttributes<HTMLDListElement>, CwGroupL
|
|
|
1147
1233
|
* @deprecated use itemLayout.direction instead
|
|
1148
1234
|
**/
|
|
1149
1235
|
direction?: 'row' | 'column';
|
|
1236
|
+
/** Renders skeleton placeholder rows instead of items. The whole list is one data load, so both dt and dd ghost. */
|
|
1237
|
+
loading?: boolean;
|
|
1238
|
+
/** Number of skeleton rows shown while loading. Default 4. */
|
|
1239
|
+
skeletonRows?: number;
|
|
1150
1240
|
}
|
|
1151
1241
|
/**
|
|
1152
1242
|
* A component for displaying key-value pairs in a definition list format
|
|
@@ -1413,6 +1503,11 @@ interface CwInputProps {
|
|
|
1413
1503
|
}
|
|
1414
1504
|
declare function CwInput(CwInputProps: React__default.PropsWithChildren<CwInputProps>): React__default.JSX.Element;
|
|
1415
1505
|
|
|
1506
|
+
interface CwInputFeedback {
|
|
1507
|
+
type: "danger" | "warning" | "success" | "info" | "neutral";
|
|
1508
|
+
message: string;
|
|
1509
|
+
}
|
|
1510
|
+
|
|
1416
1511
|
/**
|
|
1417
1512
|
* CwButton - Customizable button component with variant styles, color themes, and icon support
|
|
1418
1513
|
*
|
|
@@ -1465,6 +1560,11 @@ interface CwDigitProps extends Omit<HTMLProps<HTMLInputElement>, "className" | "
|
|
|
1465
1560
|
/** Props of the icon; undefined == no icon
|
|
1466
1561
|
* @example iconProps={{iconId:"phone"}} */
|
|
1467
1562
|
iconProps?: CwIconProps;
|
|
1563
|
+
/** Feedback messages shown below the input; accepts a single message or an array for multiple
|
|
1564
|
+
* @example feedback={{ type: "danger", message: "This field is required" }}
|
|
1565
|
+
* @example feedback={[{ type: "neutral", message: "Enter an amount" }, { type: "warning", message: "Value looks high" }]}
|
|
1566
|
+
*/
|
|
1567
|
+
feedback?: CwInputFeedback | CwInputFeedback[];
|
|
1468
1568
|
}
|
|
1469
1569
|
/**
|
|
1470
1570
|
* Input for entering a string of number.
|
|
@@ -1538,14 +1638,11 @@ interface CwInputColorProps {
|
|
|
1538
1638
|
height?: string;
|
|
1539
1639
|
labelProps?: CwLabelProps;
|
|
1540
1640
|
layoutProps?: CwInputLayoutProps;
|
|
1641
|
+
className?: string;
|
|
1642
|
+
style?: React__default.CSSProperties;
|
|
1541
1643
|
}
|
|
1542
1644
|
declare const CwInputColor: React__default.FC<CwInputColorProps>;
|
|
1543
1645
|
|
|
1544
|
-
interface CwInputFeedback {
|
|
1545
|
-
type: "danger" | "warning" | "success" | "info" | "neutral";
|
|
1546
|
-
message: string;
|
|
1547
|
-
}
|
|
1548
|
-
|
|
1549
1646
|
interface CwInputTextProps extends Omit<HTMLProps<HTMLInputElement>, never> {
|
|
1550
1647
|
/** Props to define alignment and size; undefined == column
|
|
1551
1648
|
* @example alignProps={{direction:"row"}} */
|
|
@@ -3420,207 +3517,6 @@ interface CwDateRangePickerTemporalProps {
|
|
|
3420
3517
|
}
|
|
3421
3518
|
declare function CwDateRangePickerTemporal({ value, onChange, minDate, maxDate, disabledDates, disabledMatcher, maxRangeDays, defaultMonth, labelProps, alignProps, placeholderFrom, placeholderTo, displayFormat, disabled, required, className, showClear, popupPosition, numberOfMonths, locale, yearRangeStart, yearRangeEnd, showPresets, presetKeys, customPresets, }: Readonly<CwDateRangePickerTemporalProps>): React__default.JSX.Element;
|
|
3422
3519
|
|
|
3423
|
-
declare class cblEvent {
|
|
3424
|
-
id: string;
|
|
3425
|
-
start: Date;
|
|
3426
|
-
end: Date;
|
|
3427
|
-
resourceId: number;
|
|
3428
|
-
selected: boolean;
|
|
3429
|
-
top: number;
|
|
3430
|
-
leftPx: number;
|
|
3431
|
-
rightPx: number;
|
|
3432
|
-
width: number;
|
|
3433
|
-
isFullHeight: boolean;
|
|
3434
|
-
isReadOnly: boolean;
|
|
3435
|
-
isResizable: boolean;
|
|
3436
|
-
isDraggable: boolean;
|
|
3437
|
-
data: any;
|
|
3438
|
-
constructor(start: Date, end: Date, resourceId: number, data?: any, isFullHeight?: boolean, isReadOnly?: boolean, isResizable?: boolean, isDraggable?: boolean);
|
|
3439
|
-
}
|
|
3440
|
-
|
|
3441
|
-
declare class Resource {
|
|
3442
|
-
uid: string;
|
|
3443
|
-
id: number;
|
|
3444
|
-
name: string;
|
|
3445
|
-
maxTop: number;
|
|
3446
|
-
events: cblEvent[];
|
|
3447
|
-
isInViewport: boolean;
|
|
3448
|
-
schedulerResourceDisplay: string | null;
|
|
3449
|
-
isLoading: boolean;
|
|
3450
|
-
data: any;
|
|
3451
|
-
constructor(id: number, name: string, eventHeight: number, data?: any, schedulerResourceDisplay?: string | null);
|
|
3452
|
-
}
|
|
3453
|
-
|
|
3454
|
-
type cblEventCompProps$1 = {
|
|
3455
|
-
cblEvent: cblEvent;
|
|
3456
|
-
handleOnClickEventContextMenu?: (key: string, cblEvent: cblEvent) => void;
|
|
3457
|
-
};
|
|
3458
|
-
type resourceCompProps2$1 = {
|
|
3459
|
-
resource: Resource;
|
|
3460
|
-
handleOnClickResourceContextMenu?: (key: string, resource: Resource) => void;
|
|
3461
|
-
};
|
|
3462
|
-
interface SuperSchedulerProps$1 {
|
|
3463
|
-
events: cblEvent[];
|
|
3464
|
-
resourcesToPin: Resource[];
|
|
3465
|
-
resources: Resource[];
|
|
3466
|
-
height: number;
|
|
3467
|
-
startDate: Date;
|
|
3468
|
-
endDate: Date;
|
|
3469
|
-
id: string;
|
|
3470
|
-
scheduler_handleCblEventClick: (cblEvent: cblEvent, schedulerId: string) => void;
|
|
3471
|
-
scheduler_handleCblEventClickRight?: (cblEvent: cblEvent, schedulerId: string) => void;
|
|
3472
|
-
scheduler_handleCblEventDoubleClick: (cblEvent: cblEvent, schedulerId: string) => void;
|
|
3473
|
-
scheduler_handleOnDropCblEventsOnResource: (cblDragNDrop: CblDragAndDrop$1, resource: Resource) => void;
|
|
3474
|
-
parent: any;
|
|
3475
|
-
cblEventComp: React$1.FC<cblEventCompProps$1>;
|
|
3476
|
-
scheduler_handleOnClickEventContextMenu?: (e: any, cblEvent: cblEvent) => void;
|
|
3477
|
-
resourceComp: React$1.FC<resourceCompProps2$1>;
|
|
3478
|
-
scheduler_handleOnClickContextMenuResource?: (date: Date, resource: Resource, key: string) => void;
|
|
3479
|
-
resourceContextMenuContents?: Array<{
|
|
3480
|
-
key: string;
|
|
3481
|
-
text: string;
|
|
3482
|
-
icon: string;
|
|
3483
|
-
color: string;
|
|
3484
|
-
}>;
|
|
3485
|
-
scheduler_handleDblClickOnResourceInScheduler?: (resource: Resource) => void;
|
|
3486
|
-
scheduler_handleEmptyClick?: (schedulerId: string) => void;
|
|
3487
|
-
canBePinned?: boolean;
|
|
3488
|
-
pinnedResources?: Array<number>;
|
|
3489
|
-
scheduler_handleCblEventResize?: (cblDragNDrop: CblDragAndDrop$1) => void;
|
|
3490
|
-
scheduler_handleMultiselectChange?: (value: any, selectedObjectsArray: any) => void;
|
|
3491
|
-
dataConfig?: string;
|
|
3492
|
-
scheduler_handleClearPinnedOnParent: () => void;
|
|
3493
|
-
scheduler_handlePinningOfResources: (resourceId: number[], text: string, schedulerId: string, requestString: string) => void;
|
|
3494
|
-
resourceName?: string;
|
|
3495
|
-
descriptionColumn?: string;
|
|
3496
|
-
pinnedEvents?: cblEvent[];
|
|
3497
|
-
scheduler_handleOnClickResourceContextMenu?: (e: any, resource: Resource) => void;
|
|
3498
|
-
airportSelected?: number;
|
|
3499
|
-
module?: string;
|
|
3500
|
-
groupByFunction: boolean;
|
|
3501
|
-
}
|
|
3502
|
-
interface State$1 {
|
|
3503
|
-
topsCalculated: number;
|
|
3504
|
-
height: number;
|
|
3505
|
-
dataConfig?: string;
|
|
3506
|
-
pinnedResources: number[];
|
|
3507
|
-
}
|
|
3508
|
-
declare class CwSuperScheduler extends React$1.Component<SuperSchedulerProps$1, State$1> {
|
|
3509
|
-
constructor(Props: SuperSchedulerProps$1);
|
|
3510
|
-
componentDidUpdate(_previousProps: SuperSchedulerProps$1, _previousState: State$1): void;
|
|
3511
|
-
scheduler_handleCblEventClick: (cblEvent: cblEvent, schedulerId: string) => void;
|
|
3512
|
-
scheduler_handleCblEventClickRight: (cblEvent: cblEvent, schedulerId: string) => void;
|
|
3513
|
-
scheduler_handleCblEventDoubleClick: (cblEvent: cblEvent, schedulerId: string) => void;
|
|
3514
|
-
scheduler_handlePinnedClickMultipleIds: (resIds: number[], schedulerId: string, requestString: string) => void;
|
|
3515
|
-
scheduler_handlePinnedClick: (resId: number, text: string, schedulerId: string) => void;
|
|
3516
|
-
returnDynamicHeight(pinned: number, topsCalculated: number): {
|
|
3517
|
-
topsCalculated: number;
|
|
3518
|
-
height: number;
|
|
3519
|
-
};
|
|
3520
|
-
checkIfSlotAvailable(array: Array<cblEvent>, event: cblEvent): boolean;
|
|
3521
|
-
handleOnClickContextMenuResource: (date: Date, resource: Resource, key: string, schedulerId: string) => void;
|
|
3522
|
-
dateUTCString(date: any): any;
|
|
3523
|
-
render(): React$1.JSX.Element;
|
|
3524
|
-
}
|
|
3525
|
-
declare class CblDragAndDrop$1 {
|
|
3526
|
-
fromId: string | null;
|
|
3527
|
-
toId: string | null;
|
|
3528
|
-
data: Array<any> | null;
|
|
3529
|
-
droppedOnDate: Date | null;
|
|
3530
|
-
resizeFromStart: boolean | null;
|
|
3531
|
-
resizeFromEnd: boolean | null;
|
|
3532
|
-
isCtrlKey: boolean | null;
|
|
3533
|
-
constructor(fromId: string | null, toId: string | null, data: Array<any> | null, droppedOnDate?: Date | null, resizeFromStart?: boolean | null, resizeFromEnd?: boolean | null, isCtrlKey?: boolean | null);
|
|
3534
|
-
}
|
|
3535
|
-
|
|
3536
|
-
declare class CblDragAndDrop {
|
|
3537
|
-
fromId: string | null;
|
|
3538
|
-
toId: string | null;
|
|
3539
|
-
data: Array<any> | null;
|
|
3540
|
-
droppedOnDate: Date | null;
|
|
3541
|
-
resizeFromStart: boolean | null;
|
|
3542
|
-
resizeFromEnd: boolean | null;
|
|
3543
|
-
isCtrlKey: boolean | null;
|
|
3544
|
-
constructor(fromId: string | null, toId: string | null, data: Array<any> | null, droppedOnDate?: Date | null, resizeFromStart?: boolean | null, resizeFromEnd?: boolean | null, isCtrlKey?: boolean | null);
|
|
3545
|
-
}
|
|
3546
|
-
|
|
3547
|
-
type cblEventCompProps = {
|
|
3548
|
-
ref?: any;
|
|
3549
|
-
cblEvent: cblEvent;
|
|
3550
|
-
handleOnClickEventContextMenu?: (key: string, cblEvent: cblEvent) => void;
|
|
3551
|
-
};
|
|
3552
|
-
|
|
3553
|
-
interface CwSchedulerProps {
|
|
3554
|
-
airportSelected?: number;
|
|
3555
|
-
canBePinned?: boolean;
|
|
3556
|
-
cblEventComp: React.FC<cblEventCompProps>;
|
|
3557
|
-
descriptionColumn?: string;
|
|
3558
|
-
endDate: Date;
|
|
3559
|
-
events: cblEvent[];
|
|
3560
|
-
groupByFunction: boolean;
|
|
3561
|
-
height: number;
|
|
3562
|
-
id: string;
|
|
3563
|
-
module?: string;
|
|
3564
|
-
parent: any;
|
|
3565
|
-
pinnedResources?: number[];
|
|
3566
|
-
resourceComp: React.FC<resourceCompProps2$1>;
|
|
3567
|
-
resourceName?: string;
|
|
3568
|
-
resources: Resource[];
|
|
3569
|
-
resourceContextMenuContents?: Array<{
|
|
3570
|
-
key: string;
|
|
3571
|
-
text: string;
|
|
3572
|
-
icon: string;
|
|
3573
|
-
color: string;
|
|
3574
|
-
}>;
|
|
3575
|
-
startDate: Date;
|
|
3576
|
-
scheduler_clearPinned?: (id: any) => void;
|
|
3577
|
-
scheduler_handleCblEventClick: (cblEvent: cblEvent, schedulerId: string) => void;
|
|
3578
|
-
scheduler_handleCblEventClickRight?: (cblEvent: cblEvent, schedulerId: string) => void;
|
|
3579
|
-
scheduler_handleCblEventDoubleClick: (cblEvent: cblEvent, schedulerId: string) => void;
|
|
3580
|
-
scheduler_handleCblEventResize?: (cblDragNDrop: CblDragAndDrop) => void;
|
|
3581
|
-
scheduler_handleDblClickOnResourceInScheduler?: (resource: Resource) => void;
|
|
3582
|
-
scheduler_handleEmptyClick?: (schedulerId: string) => void;
|
|
3583
|
-
scheduler_handleMultiselectChange?: (value: any, selectedObjectsArray: any) => void;
|
|
3584
|
-
scheduler_handleOnClickEventContextMenu?: (e: any, cblEvent: cblEvent) => void;
|
|
3585
|
-
scheduler_handleOnClickResourceContextMenu?: (e: any, resource: Resource) => void;
|
|
3586
|
-
scheduler_handleOnDropCblEventsOnResource: (cblDragNDrop: CblDragAndDrop, resource: Resource) => void;
|
|
3587
|
-
scheduler_handlePinned?: (resourceId: number, type: string, schedulerId: string) => void;
|
|
3588
|
-
scheduler_handleOnClickContextMenuResource?: (date: Date, resource: Resource, key: string, schedulerId: string) => void;
|
|
3589
|
-
}
|
|
3590
|
-
|
|
3591
|
-
interface State {
|
|
3592
|
-
dayPx: number;
|
|
3593
|
-
division: number;
|
|
3594
|
-
divisionType: string;
|
|
3595
|
-
divisionsLeftPx: number[];
|
|
3596
|
-
eventHeight: number;
|
|
3597
|
-
hourPx: number;
|
|
3598
|
-
lineStyle: number;
|
|
3599
|
-
maxPx: number;
|
|
3600
|
-
minutePx: number;
|
|
3601
|
-
nowUtc: Date;
|
|
3602
|
-
pinnedResources: Array<number>;
|
|
3603
|
-
resources: Resource[];
|
|
3604
|
-
selectedEvents: Array<number>;
|
|
3605
|
-
showConsoleLogs: boolean;
|
|
3606
|
-
timeHeaders: Array<Date>;
|
|
3607
|
-
}
|
|
3608
|
-
|
|
3609
|
-
declare class CwScheduler extends Component<CwSchedulerProps, State> {
|
|
3610
|
-
contentArea?: HTMLTableDataCellElement;
|
|
3611
|
-
calculateMaxPx: () => number;
|
|
3612
|
-
constructor(props: CwSchedulerProps);
|
|
3613
|
-
handleResize: () => void;
|
|
3614
|
-
objectsEqual: (o1: any, o2: any) => void;
|
|
3615
|
-
objectsEqualDeep: (o1: any, o2: any) => boolean;
|
|
3616
|
-
arraysEqual: (a1: any[], a2: any[]) => boolean;
|
|
3617
|
-
componentWillReceiveProps(_nextProps: CwSchedulerProps): void;
|
|
3618
|
-
getNewResources: (_nextProps: CwSchedulerProps, dayPx: number) => Resource[];
|
|
3619
|
-
handleOnClickContextMenuResourceScheduler: (_clickEvent: any, _resource: Resource) => void;
|
|
3620
|
-
handleCrewPinning: (resource: Resource, text: string) => void;
|
|
3621
|
-
render(): React$1.JSX.Element;
|
|
3622
|
-
}
|
|
3623
|
-
|
|
3624
3520
|
declare class UiEvent {
|
|
3625
3521
|
}
|
|
3626
3522
|
type OnEvent = (event: UiEvent) => void;
|
|
@@ -3770,11 +3666,6 @@ declare const getEventSizes: (schedulerDate: Date, totalDays: number, startDate:
|
|
|
3770
3666
|
width: number;
|
|
3771
3667
|
};
|
|
3772
3668
|
|
|
3773
|
-
type resourceCompProps2 = {
|
|
3774
|
-
resource: Resource;
|
|
3775
|
-
handleOnClickResourceContextMenu?: (key: string, resource: Resource) => void;
|
|
3776
|
-
};
|
|
3777
|
-
|
|
3778
3669
|
interface PinRowHeaderProps extends RowHeaderDm {
|
|
3779
3670
|
isPinned: boolean;
|
|
3780
3671
|
contextMenuItems: MenuOption[];
|
|
@@ -3989,5 +3880,5 @@ declare class OnClickContextMenu implements UiEvent {
|
|
|
3989
3880
|
constructor(id: string, clickedMenu: string);
|
|
3990
3881
|
}
|
|
3991
3882
|
|
|
3992
|
-
export {
|
|
3993
|
-
export type { BackgroundEventDm, CardChip, ChipColorScheme, ChipVariant, Column$1 as Column, ConfirmationPopupProps, CwAlignProps, CwButtonSplitAction, CwButtonSplitProps, CwButtonSwitchOption, CwButtonSwitchProps, CwCardListProps, CwCardProps, CwChipProps, CwDialogProps, CwDropdownOption, CwDropdownProps, CwExpandableProps, CwGroupLayoutProps, CwImageAreaMethods, CwImageAreaProps, CwInputDateTextProps, CwInputDatetimeProps, CwInputImageProps, CwInputNumberProps, CwInputPhoneProps, CwInputTextProps, CwInputTimeProps, CwKeyValueListProps, CwLabelProps, CwLayoutProps, CwLoadingDefaults, CwMasterDetailItem, CwMasterDetailProps, CwMessageProps, CwModalHoverProps, CwMultiFilterProps, CwMultiFilterTagProps, CwNavItem, CwNavMenuProps, CwNoteProps, CwPopoverButtonProps, CwRadioGroupProps, CwReportModalFunctionalProps, CwSearchAsyncOption, CwSearchAsyncProps, CwSelectListProps, CwSortableListProps, CwSortableTableProps, CwTableGroupedData, CwTableGroupedData_Group, CwTableGroupedData_Row, CwTableGroupedProps, CwTagSelectorOption, CwTagSelectorProps, CwTextAreaProps, CwTreeNode, DataItem, DateRangePresetTemporal, DateRangeValue, DateRangeValueTemporal, ICwMultiFilterTag, ImageItem, IndicatorRowDm, MenuOption, OnEvent, PinRowHeaderProps, RowHeaderDm, RowHeaderProps, SchedulerEventDm, SchedulerEventState, SchedulerRowProps, SchedulerState, ServerSideTableState, SortableColumn, SortableTableDragState, SuperSchedulerProps, Tab, UseSortableTableReturn, Weekday, ZoomImageItem
|
|
3883
|
+
export { CwAccordionContainer, CwAlign, CwAnchoredMenu, CwBtnApprove, CwBtnCancel, CwBtnDelete, CwBtnEdit, CwBtnSave, CwButton, CwButtonSplit, CwButtonSwitch, CwCard, CwCardList, CwCheck, CwCheckbox, CwCheckboxGroup, CwChip, CwColorPicker, CwConfirmationPopup, CwContextMenu, CwDatePicker, CwDatePickerTemporal, CwDateRangePicker, CwDateRangePickerTemporal, CwDateTimePicker, CwDateTimePickerCompact, CwDateTimePickerTemporal, CwDialog, CwDigit, CwDisplayMessage, CwDropdown, CwDropdownFilter, CwExpandable, CwFileUploadMultiple, CwFindAirport, CwFindCrewmember, CwGenericTooltip, CwHeadingMain, CwHeadingSecond, CwIcon, CwImageArea, CwImageGallery, CwImageZoom, CwInput, CwInputColor, CwInputDateText, CwInputDatetime, CwInputImage, CwInputNumber, CwInputPhone, CwInputText, CwKeyValueList, CwLabel, CwLoading, CwMasterDetail, CwMessage, CwMessageManager, CwMessageType, CwModal, CwModalHover, CwModalReportFunctional, CwMultiFilter, CwMultiFilterTag, CwNavMenu, CwNote, CwOption, CwPopoverButton, CwProgress, CwRadioGroup, CwReportModal, CwSearchAsync, CwSearchInput, CwSelect, CwSelectList, CwSelectListItems, CwSkeleton, CwSortableList, CwSortableTable, CwTable, CwTableGrouped, CwTableServerSide, CwTabs, CwTagSelector, CwTextArea, CwTime, CwTimePicker, CwToggle, CwTooltipManager, CwTooltipNew, CwTreeView, CwWeekdaySelector, DefaultRowHeader, OnClearPinned, OnClickContextMenu, OnClickEvent, OnClickRowEvent, OnClickRowHeader, OnClickUtc, OnDoubleClickEvent, OnDoubleClickRowEvent, OnDragEvent, OnDropCtrlEvent, OnDropEvent, OnEndClickHeaderEvent, OnLeftDragStart, OnMultiClickEvent, OnPinRow, OnRangeClickEvent, OnRightClickEvent, OnRightClickRow, OnRightDragStart, OnStartClickHeaderEvent, OnUnpinRow, PRESET_LIBRARY_TEMPORAL, PinRowHeader, Scheduler, SchedulerEvent, SuperScheduler, TooltipConstraintContext, UiEvent, Weekdays, configureCwLoading, eventIsVisible, filterNavItems, filterVisibleEvents, getCwLoadingDefaults, getDefaultDivisions, getEventSizes, getPresetsByKeysTemporal, itemsToMultiFilterTags, sortNavItems, useCwMessage, useSortableList, useSortableTable, useTooltipConstraint };
|
|
3884
|
+
export type { BackgroundEventDm, CardChip, ChipColorScheme, ChipVariant, Column$1 as Column, ConfirmationPopupProps, CwAlignProps, CwButtonSplitAction, CwButtonSplitProps, CwButtonSwitchOption, CwButtonSwitchProps, CwCardListProps, CwCardProps, CwChipProps, CwDialogProps, CwDropdownOption, CwDropdownProps, CwExpandableProps, CwGroupLayoutProps, CwImageAreaMethods, CwImageAreaProps, CwInputDateTextProps, CwInputDatetimeProps, CwInputImageProps, CwInputNumberProps, CwInputPhoneProps, CwInputTextProps, CwInputTimeProps, CwKeyValueListProps, CwLabelProps, CwLayoutProps, CwLoadingDefaults, CwMasterDetailItem, CwMasterDetailProps, CwMessageProps, CwModalHoverProps, CwMultiFilterProps, CwMultiFilterTagProps, CwNavItem, CwNavMenuProps, CwNoteProps, CwPopoverButtonProps, CwProgressProps, CwRadioGroupProps, CwReportModalFunctionalProps, CwSearchAsyncOption, CwSearchAsyncProps, CwSelectListProps, CwSkeletonProps, CwSortableListProps, CwSortableTableProps, CwTableGroupedData, CwTableGroupedData_Group, CwTableGroupedData_Row, CwTableGroupedProps, CwTagSelectorOption, CwTagSelectorProps, CwTextAreaProps, CwTreeNode, DataItem, DateRangePresetTemporal, DateRangeValue, DateRangeValueTemporal, ICwMultiFilterTag, ImageItem, IndicatorRowDm, MenuOption, OnEvent, PinRowHeaderProps, RowHeaderDm, RowHeaderProps, SchedulerEventDm, SchedulerEventState, SchedulerRowProps, SchedulerState, ServerSideTableState, SortableColumn, SortableTableDragState, SuperSchedulerProps, Tab, UseSortableTableReturn, Weekday, ZoomImageItem };
|