@cwellt_software/cwellt-reactjs-lib 1.4.4 → 1.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/content/icons/new-cw-icons/NewCwIcons.json +1 -204
- package/dist/content/icons/new-cw-icons/css/new-cw-icons.css +9 -1
- package/dist/content/icons/new-cw-icons/fonts/NewCwIcons.woff +0 -0
- package/dist/index.cjs.js +2809 -738
- package/dist/index.css +3 -1
- package/dist/index.d.ts +790 -33
- package/dist/index.es.js +2797 -739
- package/dist/src/common/functions/collections.d.ts.map +1 -1
- package/dist/src/common/functions/colorManipulation.d.ts.map +1 -1
- package/dist/src/common/functions/dsl/UiEventDSL.d.ts +1 -1
- package/dist/src/common/functions/useSingleAndDoubleClicks.d.ts.map +1 -1
- package/dist/src/common/hooks/useDropdownPortal.d.ts +86 -0
- package/dist/src/common/hooks/useDropdownPortal.d.ts.map +1 -0
- package/dist/src/common/interfaces/CwFormTypes.d.ts +5 -0
- package/dist/src/common/interfaces/CwFormTypes.d.ts.map +1 -0
- package/dist/src/components/control/action/search/CwSearch.d.ts +22 -0
- package/dist/src/components/control/action/search/CwSearch.d.ts.map +1 -1
- package/dist/src/components/control/choice/checkbox/CwCheck.d.ts +15 -0
- package/dist/src/components/control/choice/checkbox/CwCheck.d.ts.map +1 -0
- package/dist/src/components/control/choice/checkbox/CwCheckbox.d.ts +4 -0
- package/dist/src/components/control/choice/checkbox/CwCheckbox.d.ts.map +1 -1
- package/dist/src/components/control/choice/checkbox/CwCheckboxGroup.d.ts +35 -0
- package/dist/src/components/control/choice/checkbox/CwCheckboxGroup.d.ts.map +1 -0
- package/dist/src/components/control/choice/dropdown/CwPopoverButton.d.ts +35 -0
- package/dist/src/components/control/choice/dropdown/CwPopoverButton.d.ts.map +1 -0
- package/dist/src/components/control/choice/multi-filter/CwMultiFilter.d.ts +6 -0
- package/dist/src/components/control/choice/multi-filter/CwMultiFilter.d.ts.map +1 -1
- package/dist/src/components/control/choice/multi-filter/components/tag/CwMultiFilterTag.d.ts +1 -0
- package/dist/src/components/control/choice/multi-filter/components/tag/CwMultiFilterTag.d.ts.map +1 -1
- package/dist/src/components/control/choice/option/CwOption.d.ts +3 -1
- package/dist/src/components/control/choice/option/CwOption.d.ts.map +1 -1
- package/dist/src/components/control/choice/select/CwDropdown.d.ts +56 -0
- package/dist/src/components/control/choice/select/CwDropdown.d.ts.map +1 -0
- package/dist/src/components/control/choice/select/CwSelect.d.ts +7 -1
- package/dist/src/components/control/choice/select/CwSelect.d.ts.map +1 -1
- package/dist/src/components/control/choice/tag-selector/CwTagSelector.d.ts +68 -0
- package/dist/src/components/control/choice/tag-selector/CwTagSelector.d.ts.map +1 -0
- package/dist/src/components/control/choice/toggle/CwToggle.d.ts +1 -1
- package/dist/src/components/control/choice/toggle/CwToggle.d.ts.map +1 -1
- package/dist/src/components/control/input/color/CwInputColor.d.ts +30 -0
- package/dist/src/components/control/input/color/CwInputColor.d.ts.map +1 -1
- package/dist/src/components/control/input/date-picker/CwInputDatePicker.d.ts.map +1 -1
- package/dist/src/components/control/input/date-picker/datePickerUtils.d.ts +38 -0
- package/dist/src/components/control/input/date-picker/datePickerUtils.d.ts.map +1 -0
- package/dist/src/components/control/input/date-text/CwInputDateText.d.ts +4 -4
- package/dist/src/components/control/input/date-text/CwInputDateText.d.ts.map +1 -1
- package/dist/src/components/control/input/file/CwFileUploadMultiple.d.ts +17 -0
- package/dist/src/components/control/input/file/CwFileUploadMultiple.d.ts.map +1 -1
- package/dist/src/components/control/input/new-dates/CwDatePicker.d.ts +10 -1
- package/dist/src/components/control/input/new-dates/CwDatePicker.d.ts.map +1 -1
- package/dist/src/components/control/input/new-dates/CwDatePickerTemporal.d.ts +48 -0
- package/dist/src/components/control/input/new-dates/CwDatePickerTemporal.d.ts.map +1 -0
- package/dist/src/components/control/input/new-dates/CwDateRangePicker.d.ts.map +1 -1
- package/dist/src/components/control/input/new-dates/CwDateTimePicker.d.ts +8 -1
- package/dist/src/components/control/input/new-dates/CwDateTimePicker.d.ts.map +1 -1
- package/dist/src/components/control/input/new-dates/CwDateTimePickerCompact.d.ts +8 -1
- package/dist/src/components/control/input/new-dates/CwDateTimePickerCompact.d.ts.map +1 -1
- package/dist/src/components/control/input/new-dates/CwTimePicker.d.ts.map +1 -1
- package/dist/src/components/control/input/new-dates/datePickerHelpers.d.ts +20 -0
- package/dist/src/components/control/input/new-dates/datePickerHelpers.d.ts.map +1 -0
- package/dist/src/components/control/input/new-dates/dateRangePresets.d.ts.map +1 -1
- package/dist/src/components/control/input/new-dates/usePickerPopup.d.ts +23 -0
- package/dist/src/components/control/input/new-dates/usePickerPopup.d.ts.map +1 -0
- package/dist/src/components/control/input/new-dates/utils/timezoneHelpers.d.ts +38 -0
- package/dist/src/components/control/input/new-dates/utils/timezoneHelpers.d.ts.map +1 -0
- package/dist/src/components/control/input/text/CwInputText.d.ts +7 -0
- package/dist/src/components/control/input/text/CwInputText.d.ts.map +1 -1
- package/dist/src/components/control/input/text-area/CwTextArea.d.ts +6 -0
- package/dist/src/components/control/input/text-area/CwTextArea.d.ts.map +1 -1
- package/dist/src/components/custom/find-airport/CwFindAirportComp.d.ts +37 -1
- package/dist/src/components/custom/find-airport/CwFindAirportComp.d.ts.map +1 -1
- package/dist/src/components/custom/find-crewmember/CwFindCrewmemberComp.d.ts +44 -0
- package/dist/src/components/custom/find-crewmember/CwFindCrewmemberComp.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler/CwSchedulerComp.d.ts.map +1 -1
- package/dist/src/components/custom/scheduler/CwSuperSchedulerComp.d.ts.map +1 -1
- package/dist/src/components/custom/scheduler/components/day_headers/MyDaysHeader.d.ts +0 -3
- package/dist/src/components/custom/scheduler/components/day_headers/MyDaysHeader.d.ts.map +1 -1
- package/dist/src/components/custom/scheduler/components/scheduler_content_area/SchedulerContentArea.d.ts.map +1 -1
- package/dist/src/components/custom/scheduler/components/time_line/TimeLine.d.ts.map +1 -1
- package/dist/src/components/custom/scheduler/logic/dates/addMinutesToDateFromPx.d.ts.map +1 -1
- package/dist/src/components/custom/scheduler/logic/dates/daysBetweenTwoDates.d.ts.map +1 -1
- package/dist/src/components/custom/scheduler/logic/dates/daysBetweenTwoDatesWithoutCeil.d.ts.map +1 -1
- package/dist/src/components/custom/scheduler/logic/dates/getFormatedTimeForHeader.d.ts.map +1 -1
- package/dist/src/components/custom/scheduler/logic/dates/getMonthHeaderData.d.ts.map +1 -1
- package/dist/src/components/custom/scheduler/logic/dates/getWeekHeaderDataFromWeekRange.d.ts.map +1 -1
- package/dist/src/components/custom/scheduler/logic/dates/listOfDatesToWeeks.d.ts.map +1 -1
- package/dist/src/components/custom/scheduler/logic/divisions/calculateDivisionType.d.ts.map +1 -1
- package/dist/src/components/custom/scheduler/logic/divisions/calculateDivisions.d.ts.map +1 -1
- package/dist/src/components/custom/scheduler/logic/filtering/filterEvents.d.ts.map +1 -1
- package/dist/src/components/custom/scheduler/logic/filtering/filterResources.d.ts.map +1 -1
- package/dist/src/components/custom/scheduler/logic/filtering/hasSameProperties.d.ts.map +1 -1
- package/dist/src/components/custom/scheduler/logic/pixels/getHeightLineScheduler.d.ts.map +1 -1
- package/dist/src/components/custom/scheduler/logic/pixels/getPixelsForEvent.d.ts.map +1 -1
- package/dist/src/components/custom/scheduler/logic/pixels/heightScheduler.d.ts.map +1 -1
- package/dist/src/components/custom/scheduler/logic/pixels/heightSchedulerPinned.d.ts.map +1 -1
- package/dist/src/components/custom/scheduler/logic/state_handle/doubleClickOnResource.d.ts.map +1 -1
- package/dist/src/components/custom/scheduler/logic/state_handle/onDragOver.d.ts.map +1 -1
- package/dist/src/components/custom/scheduler/logic/state_handle/onDropEventToResource.d.ts.map +1 -1
- package/dist/src/components/custom/scheduler/logic/strings/compareStrings.d.ts.map +1 -1
- package/dist/src/components/custom/scheduler/logic/ui/checkIfSlotAvailable.d.ts.map +1 -1
- package/dist/src/components/custom/scheduler/logic/ui/getEventsOfResource.d.ts.map +1 -1
- package/dist/src/components/custom/scheduler/logic/ui/getTimeHeaders.d.ts.map +1 -1
- package/dist/src/components/custom/scheduler/logic/ui/isAllowedToMove.d.ts.map +1 -1
- package/dist/src/components/custom/scheduler/logic/ui/updateResourceVisibility.d.ts.map +1 -1
- package/dist/src/components/custom/scheduler-new/presentation/NewScheduler.d.ts +4 -1
- package/dist/src/components/custom/scheduler-new/presentation/NewScheduler.d.ts.map +1 -1
- package/dist/src/components/custom/scheduler-new/presentation/SchedulerPresenter.d.ts.map +1 -1
- package/dist/src/components/custom/scheduler-new/presentation/components/header/HeaderDivision.d.ts.map +1 -1
- package/dist/src/components/custom/scheduler-new/presentation/components/header/SchedulerHeader.d.ts +6 -1
- package/dist/src/components/custom/scheduler-new/presentation/components/header/SchedulerHeader.d.ts.map +1 -1
- package/dist/src/components/custom/scheduler-new/presentation/components/row/BackgroundEvent.d.ts +1 -0
- package/dist/src/components/custom/scheduler-new/presentation/components/row/BackgroundEvent.d.ts.map +1 -1
- package/dist/src/components/custom/scheduler-new/presentation/components/row/DefaultRowHeader.d.ts +1 -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/Event.d.ts.map +1 -1
- package/dist/src/components/custom/scheduler-new/presentation/components/row/IndicatorRow.d.ts +18 -0
- package/dist/src/components/custom/scheduler-new/presentation/components/row/IndicatorRow.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-new/presentation/components/row/SchedulerRow.d.ts +3 -1
- 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/timeline/DivisionLine.d.ts +1 -0
- package/dist/src/components/custom/scheduler-new/presentation/components/timeline/DivisionLine.d.ts.map +1 -1
- package/dist/src/components/custom/scheduler-new/presentation/helpers.d.ts +0 -9
- package/dist/src/components/custom/scheduler-new/presentation/helpers.d.ts.map +1 -1
- package/dist/src/components/custom/scheduler-new/presentation/logic/WeekendCalc.d.ts.map +1 -1
- package/dist/src/components/custom/scheduler-new/presentation/logic/dateFromPercentage.d.ts.map +1 -1
- package/dist/src/components/custom/scheduler-new/presentation/logic/eventIsVisible.d.ts.map +1 -1
- package/dist/src/components/custom/scheduler-new/presentation/logic/filterVisibleEvents.d.ts +3 -0
- package/dist/src/components/custom/scheduler-new/presentation/logic/filterVisibleEvents.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-new/presentation/logic/getDefaultDivisions.d.ts.map +1 -1
- package/dist/src/components/custom/scheduler-new/presentation/logic/getDivisions.d.ts +1 -1
- package/dist/src/components/custom/scheduler-new/presentation/logic/getDivisions.d.ts.map +1 -1
- package/dist/src/components/custom/scheduler-new/presentation/logic/getEventSizes.d.ts.map +1 -1
- package/dist/src/components/custom/scheduler-new/presentation/logic/getLinesByDivisions.d.ts.map +1 -1
- package/dist/src/components/custom/scheduler-new/presentation/logic/isToday.d.ts +2 -0
- package/dist/src/components/custom/scheduler-new/presentation/logic/isToday.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-new/presentation/logic/separateEventsToInnerRows.d.ts.map +1 -1
- package/dist/src/components/custom/scheduler-new/presentation/logic/sortByCategoryAndTitle.d.ts.map +1 -1
- package/dist/src/components/custom/scheduler-new/presentation/state/ui/SchedulerState.d.ts +1 -0
- package/dist/src/components/custom/scheduler-new/presentation/state/ui/SchedulerState.d.ts.map +1 -1
- package/dist/src/components/custom/super-scheduler/PinRowHeader.d.ts +1 -2
- package/dist/src/components/custom/super-scheduler/PinRowHeader.d.ts.map +1 -1
- package/dist/src/components/custom/super-scheduler/SuperScheduler.d.ts +3 -0
- package/dist/src/components/custom/super-scheduler/SuperScheduler.d.ts.map +1 -1
- package/dist/src/components/custom/super-scheduler/SuperSchedulerPresenter.d.ts.map +1 -1
- package/dist/src/components/display/data/generic_tooltip/CwGenericTooltip.d.ts +13 -0
- package/dist/src/components/display/data/generic_tooltip/CwGenericTooltip.d.ts.map +1 -1
- 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 +74 -0
- package/dist/src/components/display/data/table_sortable/CwSortableTable.d.ts.map +1 -0
- package/dist/src/components/display/data/table_sortable/useSortableTable.d.ts +42 -0
- package/dist/src/components/display/data/table_sortable/useSortableTable.d.ts.map +1 -0
- package/dist/src/components/display/data/tooltip_manager/CwTooltip.d.ts +25 -0
- package/dist/src/components/display/data/tooltip_manager/CwTooltip.d.ts.map +1 -0
- package/dist/src/components/display/data/tooltip_manager/CwTooltipManager.d.ts +19 -0
- package/dist/src/components/display/data/tooltip_manager/CwTooltipManager.d.ts.map +1 -0
- package/dist/src/components/display/text/message/CwMessage.d.ts +3 -2
- package/dist/src/components/display/text/message/CwMessage.d.ts.map +1 -1
- package/dist/src/components/display/text/note/CwNote.d.ts +1 -1
- package/dist/src/components/display/text/note/CwNote.d.ts.map +1 -1
- package/dist/src/components/display/text/tag/CwChip.d.ts +1 -1
- package/dist/src/components/display/text/tag/CwChip.d.ts.map +1 -1
- package/dist/src/components/layout/dialog/CwDialog.d.ts +2 -0
- package/dist/src/components/layout/dialog/CwDialog.d.ts.map +1 -1
- package/dist/src/components/layout/dialog/CwDialogManager.d.ts.map +1 -1
- package/dist/src/components/layout/list/sortable/CwSortableList.d.ts +2 -1
- package/dist/src/components/layout/list/sortable/CwSortableList.d.ts.map +1 -1
- package/dist/src/components/layout/master-detail/CwMasterDetail.d.ts +41 -0
- package/dist/src/components/layout/master-detail/CwMasterDetail.d.ts.map +1 -0
- package/dist/src/components/layout/modal/legacy/cw_modal.d.ts.map +1 -1
- package/dist/src/components/layout/modal/legacy/cw_modal_report.d.ts +0 -1
- package/dist/src/components/layout/modal/legacy/cw_modal_report.d.ts.map +1 -1
- package/dist/src/components/layout/table/grouped/CwTableGrouped.d.ts +2 -0
- package/dist/src/components/layout/table/grouped/CwTableGrouped.d.ts.map +1 -1
- 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/dev/index.d.ts +5 -0
- package/dist/src/dev/index.d.ts.map +1 -0
- package/dist/src/dev/palette.d.ts +3 -0
- package/dist/src/dev/palette.d.ts.map +1 -0
- package/dist/src/dev/previews.d.ts +3 -0
- package/dist/src/dev/previews.d.ts.map +1 -0
- package/dist/src/dev/useInitial.d.ts +3 -0
- package/dist/src/dev/useInitial.d.ts.map +1 -0
- package/dist/src/index.d.ts +15 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/main.d.ts +2 -0
- package/dist/src/main.d.ts.map +1 -0
- package/dist/src/playground/PlaygroundApp.d.ts +4 -0
- package/dist/src/playground/PlaygroundApp.d.ts.map +1 -0
- package/dist/src/playground/pages/ColorContrastPage.d.ts +3 -0
- package/dist/src/playground/pages/ColorContrastPage.d.ts.map +1 -0
- package/dist/src/playground/pages/DatePickerLocalePage.d.ts +3 -0
- package/dist/src/playground/pages/DatePickerLocalePage.d.ts.map +1 -0
- package/dist/src/playground/pages/DatePickerTemporalPage.d.ts +3 -0
- package/dist/src/playground/pages/DatePickerTemporalPage.d.ts.map +1 -0
- package/dist/src/playground/pages/SelectorsPage.d.ts +3 -0
- package/dist/src/playground/pages/SelectorsPage.d.ts.map +1 -0
- package/dist/src/playground/pages/TablePaginationPage.d.ts +3 -0
- package/dist/src/playground/pages/TablePaginationPage.d.ts.map +1 -0
- package/dist/src/playground/pages/TableServerSideComparePage.d.ts +3 -0
- package/dist/src/playground/pages/TableServerSideComparePage.d.ts.map +1 -0
- package/dist/test/components/control/input/date-picker/datePickerUtils.test.d.ts +2 -0
- package/dist/test/components/control/input/date-picker/datePickerUtils.test.d.ts.map +1 -0
- package/dist/test/components/control/input/new-dates/datePickerHelpers.test.d.ts +2 -0
- package/dist/test/components/control/input/new-dates/datePickerHelpers.test.d.ts.map +1 -0
- package/dist/test/components/control/input/new-dates/timezoneHelpers.test.d.ts +2 -0
- package/dist/test/components/control/input/new-dates/timezoneHelpers.test.d.ts.map +1 -0
- package/dist/test/components/custom/new-scheduler/presentation/header/getStartEnd.test.d.ts +2 -0
- package/dist/test/components/custom/new-scheduler/presentation/header/getStartEnd.test.d.ts.map +1 -0
- package/dist/test/components/custom/new-scheduler/presentation/logic/dateFromPercentage.test.d.ts +2 -0
- package/dist/test/components/custom/new-scheduler/presentation/logic/dateFromPercentage.test.d.ts.map +1 -0
- package/dist/test/components/custom/new-scheduler/presentation/logic/eventIsVisible.test.d.ts +2 -0
- package/dist/test/components/custom/new-scheduler/presentation/logic/eventIsVisible.test.d.ts.map +1 -0
- package/dist/test/components/custom/new-scheduler/presentation/logic/filterVisibleEvents.test.d.ts +2 -0
- package/dist/test/components/custom/new-scheduler/presentation/logic/filterVisibleEvents.test.d.ts.map +1 -0
- package/dist/test/components/custom/new-scheduler/presentation/logic/isToday.test.d.ts +2 -0
- package/dist/test/components/custom/new-scheduler/presentation/logic/isToday.test.d.ts.map +1 -0
- package/dist/test/components/custom/scheduler/getFormattedTimeForHeader.test.d.ts +2 -0
- package/dist/test/components/custom/scheduler/getFormattedTimeForHeader.test.d.ts.map +1 -0
- package/dist/test/vitest.setup.d.ts +2 -0
- package/dist/test/vitest.setup.d.ts.map +1 -0
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CwGenericTooltip.d.ts","sourceRoot":"","sources":["../../../../../../src/components/display/data/generic_tooltip/CwGenericTooltip.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAqD,KAAK,aAAa,EAAE,KAAK,EAAE,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAU9H,KAAK,eAAe,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;AAG3D,UAAU,qBAAqB;IAC9B,QAAQ,EAAE,SAAS,CAAC;IACpB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,QAAQ,CAAC,EAAE,eAAe,CAAC;IAC3B,YAAY,CAAC,EAAE,aAAa,CAAC;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,OAAO,CAAC;CACxB;
|
|
1
|
+
{"version":3,"file":"CwGenericTooltip.d.ts","sourceRoot":"","sources":["../../../../../../src/components/display/data/generic_tooltip/CwGenericTooltip.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAqD,KAAK,aAAa,EAAE,KAAK,EAAE,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAU9H,KAAK,eAAe,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;AAG3D,UAAU,qBAAqB;IAC9B,QAAQ,EAAE,SAAS,CAAC;IACpB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,QAAQ,CAAC,EAAE,eAAe,CAAC;IAC3B,YAAY,CAAC,EAAE,aAAa,CAAC;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,OAAO,CAAC;CACxB;AAgID;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,qBAAqB,CA0EtD,CAAC;AAEF,eAAO,MAAM,QAAQ,+CAgEpB,CAAC"}
|
|
@@ -23,11 +23,14 @@ export interface CwTableProps<T = any> {
|
|
|
23
23
|
classNameRow?: string | ((record: T) => string);
|
|
24
24
|
style?: React.CSSProperties;
|
|
25
25
|
id?: string;
|
|
26
|
+
/** Sets `data-testid` on the outer wrapper. Use for stable Selenium / e2e selectors. */
|
|
27
|
+
testId?: string;
|
|
26
28
|
textNoData?: string;
|
|
27
29
|
rowKey?: keyof T;
|
|
28
30
|
loading?: boolean;
|
|
29
31
|
scrollHeight?: number | string;
|
|
30
32
|
stickyHeader?: boolean;
|
|
33
|
+
pageLabel?: string;
|
|
31
34
|
rowSelection?: {
|
|
32
35
|
selectedRowKeys?: T[keyof T][];
|
|
33
36
|
onChange?: (selectedKeys: T[keyof T][], selectedRows: T[]) => void;
|
|
@@ -103,5 +106,5 @@ export interface CwTableProps<T = any> {
|
|
|
103
106
|
*
|
|
104
107
|
* @returns React component
|
|
105
108
|
*/
|
|
106
|
-
export 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>>): import("react/jsx-runtime").JSX.Element;
|
|
109
|
+
export 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>>): import("react/jsx-runtime").JSX.Element;
|
|
107
110
|
//# sourceMappingURL=CwTable.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CwTable.d.ts","sourceRoot":"","sources":["../../../../../../src/components/display/data/table/CwTable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoD,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"CwTable.d.ts","sourceRoot":"","sources":["../../../../../../src/components/display/data/table/CwTable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoD,MAAM,OAAO,CAAC;AAIzE,MAAM,WAAW,MAAM,CAAC,CAAC,GAAG,GAAG;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC,CAAC;IACpB,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,KAAK,CAAC,SAAS,CAAC;IACtC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,QAAQ;IACxB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CAEnB;AAED,MAAM,WAAW,YAAY,CAAC,CAAC,GAAG,GAAG;IACpC,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC;IACrB,IAAI,EAAE,CAAC,EAAE,CAAC;IACV,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IAC3B,iBAAiB,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,KAAK,KAAK,CAAC,SAAS,CAAC;IACnD,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,KAAK,IAAI,CAAC;IAC/B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,MAAM,CAAC,CAAC;IAChD,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,wFAAwF;IACxF,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC/B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE;QACd,eAAe,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC;QAC/B,QAAQ,CAAC,EAAE,CAAC,YAAY,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,EAAE,EAAE,YAAY,EAAE,CAAC,EAAE,KAAK,IAAI,CAAC;QACnE,IAAI,CAAC,EAAE,QAAQ,GAAG,UAAU,CAAC;KAC7B,CAAC;CACF;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoEG;AAEH,wBAAgB,OAAO,CAAC,CAAC,GAAG,GAAG,EAAE,EAChC,OAAO,EACP,IAAI,EACJ,UAAkB,EAClB,eAAiC,EACjC,iBAAiB,EACjB,QAAQ,EACR,SAAS,EACT,YAAY,EACZ,KAAK,EACL,kBAAkB,EAClB,EAAE,EACF,MAAM,EACN,UAA8C,EAC9C,MAAyB,EACzB,OAAe,EACf,YAAY,EACZ,YAAoB,EACpB,SAAkB,EAClB,YAAY,EACZ,EAAE,QAAQ,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,2CA6V3B"}
|
|
@@ -23,6 +23,7 @@ export interface CwTableServerSideProps<T = any> {
|
|
|
23
23
|
totalItems: number;
|
|
24
24
|
pagination?: boolean;
|
|
25
25
|
pageSizeOptions?: number[];
|
|
26
|
+
pageLabel?: string;
|
|
26
27
|
expandedRowRender?: (record: T) => React.ReactNode;
|
|
27
28
|
onExpand?: (record: T) => void;
|
|
28
29
|
classNameContainer?: string;
|
|
@@ -30,6 +31,8 @@ export interface CwTableServerSideProps<T = any> {
|
|
|
30
31
|
classNameRow?: string | ((record: T) => string);
|
|
31
32
|
style?: React.CSSProperties;
|
|
32
33
|
id?: string;
|
|
34
|
+
/** Sets `data-testid` on the outer wrapper. Use for stable Selenium / e2e selectors. */
|
|
35
|
+
testId?: string;
|
|
33
36
|
textNoData?: string;
|
|
34
37
|
rowKey?: keyof T;
|
|
35
38
|
loading?: boolean;
|
|
@@ -96,5 +99,5 @@ export interface CwTableServerSideProps<T = any> {
|
|
|
96
99
|
*
|
|
97
100
|
* @returns React component
|
|
98
101
|
*/
|
|
99
|
-
export declare function CwTableServerSide<T = any>({ columns, data, totalItems, pagination, pageSizeOptions, expandedRowRender, onExpand, className, classNameRow, style, classNameContainer, id, textNoData, rowKey, loading, scrollHeight, stickyHeader, rowSelection, onChange, serverState, }: Readonly<CwTableServerSideProps<T>>): import("react/jsx-runtime").JSX.Element;
|
|
102
|
+
export 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>>): import("react/jsx-runtime").JSX.Element;
|
|
100
103
|
//# sourceMappingURL=CwTableServerSide.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CwTableServerSide.d.ts","sourceRoot":"","sources":["../../../../../../src/components/display/data/table-serverside/CwTableServerSide.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoD,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"CwTableServerSide.d.ts","sourceRoot":"","sources":["../../../../../../src/components/display/data/table-serverside/CwTableServerSide.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoD,MAAM,OAAO,CAAC;AAGzE,MAAM,WAAW,oBAAoB,CAAC,CAAC,GAAG,GAAG;IAC5C,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC,GAAG,IAAI,CAAC;IACzB,aAAa,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,IAAI,CAAC;CACtC;AAED,MAAM,WAAW,MAAM,CAAC,CAAC,GAAG,GAAG;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC,CAAC;IACpB,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,KAAK,CAAC,SAAS,CAAC;IACtC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,QAAQ;IACxB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACnB;AAED,MAAM,WAAW,sBAAsB,CAAC,CAAC,GAAG,GAAG;IAC9C,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC;IACrB,IAAI,EAAE,CAAC,EAAE,CAAC;IACV,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iBAAiB,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,KAAK,KAAK,CAAC,SAAS,CAAC;IACnD,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,KAAK,IAAI,CAAC;IAC/B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,MAAM,CAAC,CAAC;IAChD,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,wFAAwF;IACxF,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC/B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,YAAY,CAAC,EAAE;QACd,eAAe,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC;QAC/B,QAAQ,CAAC,EAAE,CAAC,YAAY,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,EAAE,EAAE,YAAY,EAAE,CAAC,EAAE,KAAK,IAAI,CAAC;QACnE,IAAI,CAAC,EAAE,QAAQ,GAAG,UAAU,CAAC;KAC7B,CAAC;IACF,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,oBAAoB,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC;IACpD,WAAW,CAAC,EAAE,oBAAoB,CAAC,CAAC,CAAC,CAAC;CACtC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoDG;AAEH,wBAAgB,iBAAiB,CAAC,CAAC,GAAG,GAAG,EAAE,EAC1C,OAAO,EACP,IAAI,EACJ,UAAU,EACV,UAAkB,EAClB,eAAiC,EACjC,SAAkB,EAClB,iBAAiB,EACjB,QAAQ,EACR,SAAS,EACT,YAAY,EACZ,KAAK,EACL,kBAAkB,EAClB,EAAE,EACF,MAAM,EACN,UAA8C,EAC9C,MAAyB,EACzB,OAAe,EACf,YAAY,EACZ,YAAoB,EACpB,YAAY,EACZ,QAAQ,EACR,WAAW,GACX,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,2CAkSrC"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export interface SortableColumn<T = any> {
|
|
3
|
+
/** Header label */
|
|
4
|
+
title: string;
|
|
5
|
+
/** Key of the data field to display (skipped when `render` is provided) */
|
|
6
|
+
dataIndex?: keyof T;
|
|
7
|
+
/** Unique column identifier */
|
|
8
|
+
key: string;
|
|
9
|
+
/** Custom cell renderer — receives the full row item */
|
|
10
|
+
render?: (item: T) => React.ReactNode;
|
|
11
|
+
/** Additional CSS class for <th> and <td> */
|
|
12
|
+
className?: string;
|
|
13
|
+
/** Fixed column width */
|
|
14
|
+
width?: number | string;
|
|
15
|
+
}
|
|
16
|
+
export interface CwSortableTableProps<T = any> {
|
|
17
|
+
/** Column definitions */
|
|
18
|
+
columns: SortableColumn<T>[];
|
|
19
|
+
/** Data array — each item must have the field specified in `rowKey` */
|
|
20
|
+
data: T[];
|
|
21
|
+
/**
|
|
22
|
+
* Field used as unique row identifier.
|
|
23
|
+
* @default "key"
|
|
24
|
+
*/
|
|
25
|
+
rowKey?: keyof T;
|
|
26
|
+
/**
|
|
27
|
+
* Async callback fired when the user clicks Save.
|
|
28
|
+
* Receives the full re-ordered array — persist it however you need.
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* onReorder={async (newOrder) => {
|
|
32
|
+
* await Promise.all(newOrder.map((item, i) => api.updateOrder(item.id, i)));
|
|
33
|
+
* }}
|
|
34
|
+
*/
|
|
35
|
+
onReorder: (newData: T[]) => Promise<void>;
|
|
36
|
+
/** Show a loading skeleton instead of rows */
|
|
37
|
+
loading?: boolean;
|
|
38
|
+
/** Message shown when data is empty */
|
|
39
|
+
textNoData?: string;
|
|
40
|
+
/** CSS class for the outer container */
|
|
41
|
+
className?: string;
|
|
42
|
+
/** CSS class for the <table> element */
|
|
43
|
+
tableClassName?: string;
|
|
44
|
+
/** Constrain height and enable vertical scroll */
|
|
45
|
+
maxHeight?: number | string;
|
|
46
|
+
/**
|
|
47
|
+
* Whether to show the drag handle column.
|
|
48
|
+
* @default true
|
|
49
|
+
*/
|
|
50
|
+
showHandle?: boolean;
|
|
51
|
+
/** Optional inline styles for the outer container */
|
|
52
|
+
style?: React.CSSProperties;
|
|
53
|
+
/** Label for the Save button. @default "Save order" */
|
|
54
|
+
saveLabel?: string;
|
|
55
|
+
/** Label for the Discard button. @default "Discard" */
|
|
56
|
+
discardLabel?: string;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* CwSortableTable
|
|
60
|
+
*
|
|
61
|
+
* A table with drag-and-drop row reordering and save/discard support.
|
|
62
|
+
* Shares visual styles with CwTable but is intentionally simpler:
|
|
63
|
+
* no column sorting, no pagination.
|
|
64
|
+
*
|
|
65
|
+
* When the user reorders rows, changes are held locally until they
|
|
66
|
+
* click Save. A save bar appears automatically when there are pending changes.
|
|
67
|
+
*
|
|
68
|
+
* Follows the same pattern as CwSortableList:
|
|
69
|
+
* - All rows are draggable — the handle is visual only
|
|
70
|
+
* - Reorder is calculated in onDragEnd using lastValidDropIndex
|
|
71
|
+
* - draggedItem is tracked in state, not via dataTransfer
|
|
72
|
+
*/
|
|
73
|
+
export declare function CwSortableTable<T = any>({ columns, data, rowKey, onReorder, loading, textNoData, className, tableClassName, maxHeight, showHandle, style, saveLabel, discardLabel, }: Readonly<CwSortableTableProps<T>>): import("react/jsx-runtime").JSX.Element;
|
|
74
|
+
//# sourceMappingURL=CwSortableTable.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CwSortableTable.d.ts","sourceRoot":"","sources":["../../../../../../src/components/display/data/table_sortable/CwSortableTable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAWxC,MAAM,WAAW,cAAc,CAAC,CAAC,GAAG,GAAG;IACtC,mBAAmB;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,2EAA2E;IAC3E,SAAS,CAAC,EAAE,MAAM,CAAC,CAAC;IACpB,+BAA+B;IAC/B,GAAG,EAAE,MAAM,CAAC;IACZ,wDAAwD;IACxD,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,KAAK,CAAC,SAAS,CAAC;IACtC,6CAA6C;IAC7C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yBAAyB;IACzB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CACxB;AAID,MAAM,WAAW,oBAAoB,CAAC,CAAC,GAAG,GAAG;IAC5C,yBAAyB;IACzB,OAAO,EAAE,cAAc,CAAC,CAAC,CAAC,EAAE,CAAC;IAC7B,uEAAuE;IACvE,IAAI,EAAE,CAAC,EAAE,CAAC;IACV;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC;IACjB;;;;;;;;OAQG;IACH,SAAS,EAAE,CAAC,OAAO,EAAE,CAAC,EAAE,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC3C,8CAA8C;IAC9C,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,uCAAuC;IACvC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,wCAAwC;IACxC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wCAAwC;IACxC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,kDAAkD;IAClD,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC5B;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,qDAAqD;IACrD,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,uDAAuD;IACvD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uDAAuD;IACvD,YAAY,CAAC,EAAE,MAAM,CAAC;CACtB;AA4BD;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,eAAe,CAAC,CAAC,GAAG,GAAG,EAAE,EACxC,OAAO,EACP,IAAI,EACJ,MAAyB,EACzB,SAAS,EACT,OAAe,EACf,UAAgC,EAChC,SAAS,EACT,cAAc,EACd,SAAS,EACT,UAAiB,EACjB,KAAK,EACL,SAAwB,EACxB,YAAwB,GACxB,EAAE,QAAQ,CAAC,oBAAoB,CAAC,CAAC,CAAC,CAAC,2CAiMnC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
export interface SortableTableDragState {
|
|
2
|
+
/** Index of the row currently being dragged (-1 if none) */
|
|
3
|
+
dragSourceIndex: number;
|
|
4
|
+
/** Index where the drop indicator should appear (-1 if none) */
|
|
5
|
+
dropTargetIndex: number;
|
|
6
|
+
}
|
|
7
|
+
export interface UseSortableTableReturn<T> {
|
|
8
|
+
/** Current ordered items */
|
|
9
|
+
items: T[];
|
|
10
|
+
/** Current drag state (for rendering drop indicators) */
|
|
11
|
+
dragState: SortableTableDragState;
|
|
12
|
+
/** Whether there are unsaved reorder changes */
|
|
13
|
+
hasChanges: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Call this after each drag-and-drop with the already-reordered array.
|
|
16
|
+
* The hook just stores it — reorder logic lives in the component, same pattern as useSortableList.
|
|
17
|
+
*/
|
|
18
|
+
handleReorder: (newItems: T[]) => void;
|
|
19
|
+
/** Save current order — receives an async callback to persist the data */
|
|
20
|
+
handleSave: (onSave: (items: T[]) => Promise<void>) => Promise<void>;
|
|
21
|
+
/** Discard changes and restore original order */
|
|
22
|
+
handleDiscard: () => void;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Hook that provides state management for CwSortableTable.
|
|
26
|
+
*
|
|
27
|
+
* Follows the same pattern as useSortableList:
|
|
28
|
+
* - The hook only manages STATE (items, hasChanges, save, discard)
|
|
29
|
+
* - The component manages INTERACTION (drag, drop, calculating new order)
|
|
30
|
+
* - handleReorder receives the already-reordered array and just stores it
|
|
31
|
+
* - Changes are only persisted when handleSave is called
|
|
32
|
+
* - handleDiscard restores the original order
|
|
33
|
+
*
|
|
34
|
+
* @param initialItems - The initial array of items to display
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* ```tsx
|
|
38
|
+
* const { items, hasChanges, handleReorder, handleSave, handleDiscard } = useSortableTable(data);
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
41
|
+
export declare function useSortableTable<T>(initialItems: T[]): UseSortableTableReturn<T>;
|
|
42
|
+
//# sourceMappingURL=useSortableTable.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useSortableTable.d.ts","sourceRoot":"","sources":["../../../../../../src/components/display/data/table_sortable/useSortableTable.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,sBAAsB;IACtC,4DAA4D;IAC5D,eAAe,EAAE,MAAM,CAAC;IACxB,gEAAgE;IAChE,eAAe,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,sBAAsB,CAAC,CAAC;IACxC,4BAA4B;IAC5B,KAAK,EAAE,CAAC,EAAE,CAAC;IACX,yDAAyD;IACzD,SAAS,EAAE,sBAAsB,CAAC;IAClC,gDAAgD;IAChD,UAAU,EAAE,OAAO,CAAC;IACpB;;;OAGG;IACH,aAAa,EAAE,CAAC,QAAQ,EAAE,CAAC,EAAE,KAAK,IAAI,CAAC;IACvC,0EAA0E;IAC1E,UAAU,EAAE,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,KAAK,OAAO,CAAC,IAAI,CAAC,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACrE,iDAAiD;IACjD,aAAa,EAAE,MAAM,IAAI,CAAC;CAC1B;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,gBAAgB,CAAC,CAAC,EACjC,YAAY,EAAE,CAAC,EAAE,GACf,sBAAsB,CAAC,CAAC,CAAC,CA8C3B"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { type CSSProperties, type FC, type ReactNode } from "react";
|
|
2
|
+
interface CwTooltipProps {
|
|
3
|
+
children: ReactNode;
|
|
4
|
+
content?: ReactNode;
|
|
5
|
+
dissapearsWhenHover?: boolean;
|
|
6
|
+
hide?: boolean;
|
|
7
|
+
position?: "top" | "bottom" | "left" | "right";
|
|
8
|
+
overlayStyle?: CSSProperties;
|
|
9
|
+
showDelay?: number;
|
|
10
|
+
displayInline?: boolean;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Tooltip component backed by the global CwTooltipManager singleton.
|
|
14
|
+
* More performant than CwGenericTooltip for high-density scenarios (e.g. schedulers)
|
|
15
|
+
* as it shares a single DOM portal across all instances.
|
|
16
|
+
*
|
|
17
|
+
* Self-initializes the Manager if not already mounted via ensureTooltipManager().
|
|
18
|
+
* Drop-in replacement for CwGenericTooltip with the same API.
|
|
19
|
+
*
|
|
20
|
+
* @see CwTooltipManager
|
|
21
|
+
* @see CwGenericTooltip
|
|
22
|
+
*/
|
|
23
|
+
export declare const CwTooltipNew: FC<CwTooltipProps>;
|
|
24
|
+
export {};
|
|
25
|
+
//# sourceMappingURL=CwTooltip.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CwTooltip.d.ts","sourceRoot":"","sources":["../../../../../../src/components/display/data/tooltip_manager/CwTooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAkC,KAAK,aAAa,EAAE,KAAK,EAAE,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAKpG,UAAU,cAAc;IACvB,QAAQ,EAAE,SAAS,CAAC;IACpB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,QAAQ,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;IAC/C,YAAY,CAAC,EAAE,aAAa,CAAC;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,OAAO,CAAC;CACxB;AAED;;;;;;;;;;GAUG;AACH,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,cAAc,CAgF3C,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
type TooltipPosition = "top" | "bottom" | "left" | "right";
|
|
3
|
+
export declare const showTooltip: (content: React.ReactNode, triggerElement: HTMLElement, position?: TooltipPosition, dissapearsWhenHover?: boolean) => void;
|
|
4
|
+
export declare const hideTooltip: (delay?: number) => void;
|
|
5
|
+
export declare const ensureTooltipManager: () => void;
|
|
6
|
+
/**
|
|
7
|
+
* Global tooltip renderer. Manages a single portal instance in the DOM,
|
|
8
|
+
* shared across all CwTooltipNew instances for optimal performance.
|
|
9
|
+
*
|
|
10
|
+
* Mount once at the app root, or let CwTooltipNew handle it automatically
|
|
11
|
+
* via ensureTooltipManager().
|
|
12
|
+
*
|
|
13
|
+
* @see CwTooltipNew
|
|
14
|
+
* @see showTooltip
|
|
15
|
+
* @see hideTooltip
|
|
16
|
+
*/
|
|
17
|
+
export declare const CwTooltipManager: React.FC;
|
|
18
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=CwTooltipManager.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CwTooltipManager.d.ts","sourceRoot":"","sources":["../../../../../../src/components/display/data/tooltip_manager/CwTooltipManager.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoE,MAAM,OAAO,CAAC;AAMzF,KAAK,eAAe,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;AA4B3D,eAAO,MAAM,WAAW,GACvB,SAAS,KAAK,CAAC,SAAS,EACxB,gBAAgB,WAAW,EAC3B,WAAU,eAAyB,EACnC,sBAAqB,OAAe,SAgBpC,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,QAAO,MAAY,SAa9C,CAAC;AAkCF,eAAO,MAAM,oBAAoB,YAQhC,CAAC;AAGF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAmKpC,CAAC"}
|
|
@@ -16,6 +16,7 @@ export interface CwMessageProps {
|
|
|
16
16
|
messageType?: CwMessageType;
|
|
17
17
|
duration?: number;
|
|
18
18
|
onClose?: () => void;
|
|
19
|
+
onClick?: () => void;
|
|
19
20
|
}
|
|
20
21
|
export declare const CwMessage: FC<CwMessageProps>;
|
|
21
22
|
/**
|
|
@@ -55,7 +56,7 @@ export declare class CwMessageManager {
|
|
|
55
56
|
root: any;
|
|
56
57
|
static getInstance(): CwMessageManager;
|
|
57
58
|
private init;
|
|
58
|
-
showMessage(message: string, type?: CwMessageType, duration?: number): void;
|
|
59
|
+
showMessage(message: string, type?: CwMessageType, duration?: number, onClick?: () => void): void;
|
|
59
60
|
private closeMessage;
|
|
60
61
|
}
|
|
61
62
|
/**
|
|
@@ -74,5 +75,5 @@ export declare class CwMessageManager {
|
|
|
74
75
|
*
|
|
75
76
|
* @note For inline messages within components, use `CwNote` or `useCwMessage` hook instead
|
|
76
77
|
*/
|
|
77
|
-
export declare function CwDisplayMessage(message: string, type?: CwMessageType, duration?: number): void;
|
|
78
|
+
export declare function CwDisplayMessage(message: string, type?: CwMessageType, duration?: number, onClick?: () => void): void;
|
|
78
79
|
//# sourceMappingURL=CwMessage.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CwMessage.d.ts","sourceRoot":"","sources":["../../../../../../src/components/display/text/message/CwMessage.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAIrD,eAAO,MAAM,2BAA2B,EAAE,MAAa,CAAC;AAExD,oBAAY,aAAa;IACxB,KAAK,iBAAiB;IACtB,IAAI,YAAY;IAChB,IAAI,gBAAgB;IACpB,OAAO,iBAAiB;CACxB;AAED;;;;GAIG;AAEH,MAAM,WAAW,cAAc;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,aAAa,CAAC;IAC5B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC,cAAc,
|
|
1
|
+
{"version":3,"file":"CwMessage.d.ts","sourceRoot":"","sources":["../../../../../../src/components/display/text/message/CwMessage.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAIrD,eAAO,MAAM,2BAA2B,EAAE,MAAa,CAAC;AAExD,oBAAY,aAAa;IACxB,KAAK,iBAAiB;IACtB,IAAI,YAAY;IAChB,IAAI,gBAAgB;IACpB,OAAO,iBAAiB;CACxB;AAED;;;;GAIG;AAEH,MAAM,WAAW,cAAc;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,aAAa,CAAC;IAC5B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC,cAAc,CAsBxC,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,eAAO,MAAM,YAAY;yBAMI,cAAc;;CAgB1C,CAAC;AAEF,qBAAa,gBAAgB;IAC5B,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAmB;IAC1C,OAAO,CAAC,cAAc,CAA+B;IACrD,IAAI,EAAE,GAAG,CAAC;WAGI,WAAW,IAAI,gBAAgB;IAQ7C,OAAO,CAAC,IAAI;IAOL,WAAW,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,aAAa,EAAE,QAAQ,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,IAAI;IASjG,OAAO,CAAC,YAAY;CAGpB;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,aAAa,EAAE,QAAQ,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,IAAI,QAE9G"}
|
|
@@ -10,7 +10,7 @@ export interface CwNoteProps {
|
|
|
10
10
|
/** Custom color - if provided, overrides color prop */
|
|
11
11
|
customColor?: string;
|
|
12
12
|
/** Size of the message */
|
|
13
|
-
fontSize?: 'small' | 'regular' | 'large';
|
|
13
|
+
fontSize?: 'small' | 'regular' | 'medium' | 'large' | 'huge';
|
|
14
14
|
/** Optional icon from your custom font (always rendered if provided) */
|
|
15
15
|
icon?: string;
|
|
16
16
|
/** Whether the note can be dismissed manually (default: false) */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CwNote.d.ts","sourceRoot":"","sources":["../../../../../../src/components/display/text/note/CwNote.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAGnD,OAAO,eAAe,CAAC;AAEvB,MAAM,WAAW,WAAW;IAC3B,uDAAuD;IACvD,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,oCAAoC;IACpC,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;IACvC,uDAAuD;IACvD,KAAK,CAAC,EAAE,SAAS,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,CAAC;IAC1E,uDAAuD;IACvD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,0BAA0B;IAC1B,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"CwNote.d.ts","sourceRoot":"","sources":["../../../../../../src/components/display/text/note/CwNote.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAGnD,OAAO,eAAe,CAAC;AAEvB,MAAM,WAAW,WAAW;IAC3B,uDAAuD;IACvD,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,oCAAoC;IACpC,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;IACvC,uDAAuD;IACvD,KAAK,CAAC,EAAE,SAAS,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,CAAC;IAC1E,uDAAuD;IACvD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,0BAA0B;IAC1B,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC;IAC7D,wEAAwE;IACxE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,kEAAkE;IAClE,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,uEAAuE;IACvE,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,gCAAgC;IAChC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,+BAA+B;IAC/B,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,8DAA8D;IAC9D,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAmGxC,CAAC"}
|
|
@@ -4,7 +4,7 @@ export type ChipColorScheme = 'danger' | 'warning' | 'success' | 'info' | 'neutr
|
|
|
4
4
|
export type ChipVariant = 'soft' | 'solid' | 'outline';
|
|
5
5
|
export interface CwChipProps {
|
|
6
6
|
/*** Text content of the chip **/
|
|
7
|
-
label
|
|
7
|
+
label?: string;
|
|
8
8
|
/*** Predefined color scheme of the chip **/
|
|
9
9
|
colorScheme?: ChipColorScheme;
|
|
10
10
|
/*** Custom color (only used when colorScheme is 'custom') **/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CwChip.d.ts","sourceRoot":"","sources":["../../../../../../src/components/display/text/tag/CwChip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,eAAe,CAAC;AAEvB,MAAM,MAAM,eAAe,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,QAAQ,CAAC;AAC/F,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;AAEvD,MAAM,WAAW,WAAW;IAC3B,iCAAiC;IACjC,KAAK,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"CwChip.d.ts","sourceRoot":"","sources":["../../../../../../src/components/display/text/tag/CwChip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,eAAe,CAAC;AAEvB,MAAM,MAAM,eAAe,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,QAAQ,CAAC;AAC/F,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;AAEvD,MAAM,WAAW,WAAW;IAC3B,iCAAiC;IACjC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,4CAA4C;IAC5C,WAAW,CAAC,EAAE,eAAe,CAAC;IAC9B,8DAA8D;IAC9D,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,mCAAmC;IACnC,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,kCAAkC;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,qCAAqC;IACrC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,mEAAmE;IACnE,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,sBAAsB;IACtB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,iCAAiC;IACjC,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC5B;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAiExC,CAAC"}
|
|
@@ -25,6 +25,8 @@ export interface CwDialogProps extends HTMLProps<PropsWithChildren<HTMLDialogEle
|
|
|
25
25
|
hideFooter?: boolean;
|
|
26
26
|
/*** Reposition the dialog when content size changes after opening. For modals with slow loading content. Default: false **/
|
|
27
27
|
autoReposition?: boolean;
|
|
28
|
+
/** If true, the save button will be disabled */
|
|
29
|
+
disableSave?: boolean;
|
|
28
30
|
}
|
|
29
31
|
export declare const CwDialog: FC<CwDialogProps>;
|
|
30
32
|
//# sourceMappingURL=CwDialog.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CwDialog.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/dialog/CwDialog.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,YAAY,EAAsE,KAAK,SAAS,EAAE,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AA4C5J,MAAM,WAAW,aAAc,SAAQ,SAAS,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,CAAC;IACrF,2DAA2D;IAC3D,YAAY,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC;IACnC,2DAA2D;IAC3D,YAAY,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC;IACnC,0CAA0C;IAC1C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,qFAAqF;IACrF,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,kIAAkI;IAClI,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,uEAAuE;IACvE,UAAU,CAAC,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IACnE,uFAAuF;IACvF,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,sDAAsD;IACtD,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,uDAAuD;IACvD,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,gDAAgD;IAChD,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,4HAA4H;IAC5H,cAAc,CAAC,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"CwDialog.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/dialog/CwDialog.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,YAAY,EAAsE,KAAK,SAAS,EAAE,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AA4C5J,MAAM,WAAW,aAAc,SAAQ,SAAS,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,CAAC;IACrF,2DAA2D;IAC3D,YAAY,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC;IACnC,2DAA2D;IAC3D,YAAY,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC;IACnC,0CAA0C;IAC1C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,qFAAqF;IACrF,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,kIAAkI;IAClI,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,uEAAuE;IACvE,UAAU,CAAC,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IACnE,uFAAuF;IACvF,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,sDAAsD;IACtD,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,uDAAuD;IACvD,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,gDAAgD;IAChD,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,4HAA4H;IAC5H,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,gDAAgD;IAChD,WAAW,CAAC,EAAE,OAAO,CAAC;CACtB;AAWD,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CAuYtC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CwDialogManager.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/dialog/CwDialogManager.tsx"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"CwDialogManager.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/dialog/CwDialogManager.tsx"],"names":[],"mappings":"AACA,OAAO,EAAW,KAAK,aAAa,EAAC,MAAM,YAAY,CAAC;AAExD,qBAAa,eAAe;IAC3B,OAAO,CAAC,MAAM,CAAC,WAAW,CAA4E;WAExF,UAAU,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,aAAa,GAAG,IAAI;WAUlD,WAAW,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI;WAU7B,eAAe,IAAI,IAAI;WAMvB,eAAe,IAAI,IAAI;WAOvB,gBAAgB,IAAI,IAAI;WAOxB,kBAAkB,IAAI,MAAM;CAG1C"}
|
|
@@ -54,7 +54,8 @@ export interface CwSortableListProps<T extends SortableItem> {
|
|
|
54
54
|
movedItems?: Set<string | number>;
|
|
55
55
|
emptyMessage?: ReactNode;
|
|
56
56
|
readOnly?: boolean;
|
|
57
|
+
maxHeight?: number | string;
|
|
57
58
|
}
|
|
58
|
-
export declare function CwSortableList<T extends SortableItem>({ items, onReorder, renderItem, className, movedItems, emptyMessage, readOnly, }: CwSortableListProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
59
|
+
export declare function CwSortableList<T extends SortableItem>({ items, onReorder, renderItem, className, movedItems, emptyMessage, readOnly, maxHeight, }: CwSortableListProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
59
60
|
export {};
|
|
60
61
|
//# sourceMappingURL=CwSortableList.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CwSortableList.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layout/list/sortable/CwSortableList.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAAY,MAAM,OAAO,CAAC;AAKnD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AAEH,UAAU,YAAY;IACrB,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;IACpB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACnB;AAED,MAAM,WAAW,mBAAmB,CAAC,CAAC,SAAS,YAAY;IAC1D,KAAK,EAAE,CAAC,EAAE,CAAC;IACX,SAAS,EAAE,CAAC,QAAQ,EAAE,CAAC,EAAE,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,KAAK,IAAI,CAAC;IAC9D,UAAU,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK;QACxB,KAAK,EAAE,SAAS,CAAC;QACjB,YAAY,CAAC,EAAE,SAAS,CAAC;QACzB,OAAO,CAAC,EAAE,SAAS,CAAC;QACpB,UAAU,CAAC,EAAE,OAAO,CAAC;QACrB,eAAe,CAAC,EAAE,SAAS,CAAC;KAC5B,CAAC;IACF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IAClC,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"CwSortableList.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layout/list/sortable/CwSortableList.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAAY,MAAM,OAAO,CAAC;AAKnD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AAEH,UAAU,YAAY;IACrB,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;IACpB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACnB;AAED,MAAM,WAAW,mBAAmB,CAAC,CAAC,SAAS,YAAY;IAC1D,KAAK,EAAE,CAAC,EAAE,CAAC;IACX,SAAS,EAAE,CAAC,QAAQ,EAAE,CAAC,EAAE,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,KAAK,IAAI,CAAC;IAC9D,UAAU,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK;QACxB,KAAK,EAAE,SAAS,CAAC;QACjB,YAAY,CAAC,EAAE,SAAS,CAAC;QACzB,OAAO,CAAC,EAAE,SAAS,CAAC;QACpB,UAAU,CAAC,EAAE,OAAO,CAAC;QACrB,eAAe,CAAC,EAAE,SAAS,CAAC;KAC5B,CAAC;IACF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IAClC,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAC5B;AAED,wBAAgB,cAAc,CAAC,CAAC,SAAS,YAAY,EAAE,EACtD,KAAK,EACL,SAAS,EACT,UAAU,EACV,SAAc,EACd,UAAsB,EACtB,YAAoC,EACpC,QAAgB,EAChB,SAAmB,GACnB,EAAE,mBAAmB,CAAC,CAAC,CAAC,2CA2IxB"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import React, { type ReactNode } from 'react';
|
|
2
|
+
export interface CwMasterDetailItem {
|
|
3
|
+
key: string;
|
|
4
|
+
content: ReactNode;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export interface CwMasterDetailProps {
|
|
8
|
+
id?: string;
|
|
9
|
+
className?: string;
|
|
10
|
+
style?: React.CSSProperties;
|
|
11
|
+
/** Items displayed in the master list */
|
|
12
|
+
items: CwMasterDetailItem[];
|
|
13
|
+
/** Key of the currently selected item */
|
|
14
|
+
selectedKey?: string;
|
|
15
|
+
/** Called when an item is selected */
|
|
16
|
+
onSelect?: (key: string) => void;
|
|
17
|
+
/** Content rendered in the detail panel for the selected item */
|
|
18
|
+
detailContent?: ReactNode;
|
|
19
|
+
/** Placeholder shown when no item is selected */
|
|
20
|
+
emptyDetail?: ReactNode;
|
|
21
|
+
/** Search placeholder text */
|
|
22
|
+
searchPlaceholder?: string;
|
|
23
|
+
/** Called when the search value changes */
|
|
24
|
+
onSearch?: (value: string) => void;
|
|
25
|
+
/** Optional header content rendered above the list (below search) */
|
|
26
|
+
masterHeader?: ReactNode;
|
|
27
|
+
/** Optional footer content at the bottom of the master panel */
|
|
28
|
+
masterFooter?: ReactNode;
|
|
29
|
+
/** Initial width of the master panel in pixels */
|
|
30
|
+
masterWidth?: number;
|
|
31
|
+
/** Minimum width of the master panel in pixels */
|
|
32
|
+
minMasterWidth?: number;
|
|
33
|
+
/** Maximum width of the master panel in pixels */
|
|
34
|
+
maxMasterWidth?: number;
|
|
35
|
+
/** Whether the master panel is resizable */
|
|
36
|
+
resizable?: boolean;
|
|
37
|
+
/** Whether to show the search input */
|
|
38
|
+
showSearch?: boolean;
|
|
39
|
+
}
|
|
40
|
+
export declare const CwMasterDetail: React.FC<CwMasterDetailProps>;
|
|
41
|
+
//# sourceMappingURL=CwMasterDetail.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CwMasterDetail.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/master-detail/CwMasterDetail.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAA2C,KAAK,SAAS,EAAC,MAAM,OAAO,CAAC;AAGtF,MAAM,WAAW,kBAAkB;IAClC,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,SAAS,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,mBAAmB;IACnC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,yCAAyC;IACzC,KAAK,EAAE,kBAAkB,EAAE,CAAC;IAC5B,yCAAyC;IACzC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,sCAAsC;IACtC,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,iEAAiE;IACjE,aAAa,CAAC,EAAE,SAAS,CAAC;IAC1B,iDAAiD;IACjD,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,8BAA8B;IAC9B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,2CAA2C;IAC3C,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,qEAAqE;IACrE,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,gEAAgE;IAChE,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,kDAAkD;IAClD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kDAAkD;IAClD,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,kDAAkD;IAClD,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,4CAA4C;IAC5C,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,uCAAuC;IACvC,UAAU,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CA8HxD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cw_modal.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layout/modal/legacy/cw_modal.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"cw_modal.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layout/modal/legacy/cw_modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2B,MAAM,OAAO,CAAC;AAOhD,MAAM,WAAW,YAAY;IAE5B,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAE/B,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAE7B,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,YAAY,CAAC,EAAE,GAAG,CAAC;IAEnB,QAAQ,CAAC,EAAE,GAAG,CAAC;IAEf,WAAW,CAAC,EAAE,GAAG,CAAC;IAElB,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB,eAAe,CAAC,EAAE,QAAQ,CAAC;IAE3B,YAAY,CAAC,EAAE,GAAG,CAAC;IAGnB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAE3B,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAE7B,eAAe,CAAC,EAAE,GAAG,CAAC;IAEtB,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB,sBAAsB,CAAC,EAAE,MAAM,CAAC;CAChC;AAID;;;GAGG;AACH,wBAAgB,OAAO,CAAC,cAAc,EAAE,KAAK,CAAC,iBAAiB,CAAC,YAAY,CAAC,2CAkG5E"}
|
|
@@ -23,7 +23,6 @@ interface State {
|
|
|
23
23
|
isModal: boolean;
|
|
24
24
|
}
|
|
25
25
|
export declare class CwReportModal extends React.Component<CwReportModalProps, State> {
|
|
26
|
-
formRef: React.RefObject<FormInstance>;
|
|
27
26
|
constructor(props: Readonly<CwReportModalProps>);
|
|
28
27
|
render(): import("react/jsx-runtime").JSX.Element;
|
|
29
28
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cw_modal_report.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layout/modal/legacy/cw_modal_report.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"cw_modal_report.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layout/modal/legacy/cw_modal_report.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,MAAM,WAAW,kBAAkB;IAClC,GAAG,EAAE,IAAI,CAAC;IACV,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;IACjB,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,wBAAwB,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACrD,OAAO,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,UAAU,KAAK;IACd,QAAQ,EAAE,OAAO,CAAC;IAElB,aAAa,EAAE;QACd,GAAG,EAAE,MAAM,CAAC;QACZ,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,EAAE,MAAM,CAAC;KACf,CAAC;IACF,OAAO,EAAE,OAAO,CAAC;CACjB;AAED,qBAAa,aAAc,SAAQ,KAAK,CAAC,SAAS,CAAC,kBAAkB,EAAE,KAAK,CAAC;gBAChE,KAAK,EAAE,QAAQ,CAAC,kBAAkB,CAAC;IAe/C,MAAM;CAqDN"}
|
|
@@ -18,6 +18,8 @@ export interface CwTableGroupedData {
|
|
|
18
18
|
}
|
|
19
19
|
export interface CwTableGroupedProps {
|
|
20
20
|
tableData: CwTableGroupedData;
|
|
21
|
+
/** Sets `data-testid` on the outer wrapper. Use for stable Selenium / e2e selectors. */
|
|
22
|
+
testId?: string;
|
|
21
23
|
}
|
|
22
24
|
/**
|
|
23
25
|
* A table with expandable row groups.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CwTableGrouped.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layout/table/grouped/CwTableGrouped.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAY,MAAM,OAAO,CAAC;AAE5C,MAAM,WAAW,sBAAsB;IACtC,KAAK,EAAE;QAAE,OAAO,EAAE,GAAG,CAAC,OAAO,CAAC;QAAC,OAAO,EAAE,MAAM,IAAI,CAAA;KAAE,EAAE,CAAC;CACvD;AAED,MAAM,WAAW,wBAAwB;IACxC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,sBAAsB,EAAE,CAAC;CAC/B;AAED,MAAM,WAAW,kBAAkB;IAClC,IAAI,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,UAAU,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAC9C,MAAM,EAAE,wBAAwB,EAAE,CAAC;CACnC;AAED,MAAM,WAAW,mBAAmB;IACnC,SAAS,EAAE,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"CwTableGrouped.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layout/table/grouped/CwTableGrouped.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAY,MAAM,OAAO,CAAC;AAE5C,MAAM,WAAW,sBAAsB;IACtC,KAAK,EAAE;QAAE,OAAO,EAAE,GAAG,CAAC,OAAO,CAAC;QAAC,OAAO,EAAE,MAAM,IAAI,CAAA;KAAE,EAAE,CAAC;CACvD;AAED,MAAM,WAAW,wBAAwB;IACxC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,sBAAsB,EAAE,CAAC;CAC/B;AAED,MAAM,WAAW,kBAAkB;IAClC,IAAI,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,UAAU,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAC9C,MAAM,EAAE,wBAAwB,EAAE,CAAC;CACnC;AAED,MAAM,WAAW,mBAAmB;IACnC,SAAS,EAAE,kBAAkB,CAAC;IAC9B,wFAAwF;IACxF,MAAM,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwDG;AACH,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,mBAAmB,CA8ClD,CAAC"}
|
|
@@ -10,6 +10,8 @@ export interface Tab {
|
|
|
10
10
|
}
|
|
11
11
|
export interface CwTabsProps {
|
|
12
12
|
id?: string;
|
|
13
|
+
/** Sets `data-testid` on the outer wrapper. Use for stable Selenium / e2e selectors. */
|
|
14
|
+
testId?: string;
|
|
13
15
|
onTabClick?: any;
|
|
14
16
|
defaultActiveKey?: string;
|
|
15
17
|
className?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CwTabs.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/tabs/CwTabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAIxC,MAAM,WAAW,GAAG;IACnB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,MAAM,CAAC;IAChC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,WAAW;IAC3B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,IAAI,EAAE,GAAG,EAAE,CAAC;IACZ,YAAY,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;IAC9B,aAAa,CAAC,EAAE,MAAM,CAAC;CAEvB;AAgBD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAEH,wBAAgB,MAAM,CAAC,WAAW,EAAE,KAAK,CAAC,iBAAiB,CAAC,WAAW,CAAC,
|
|
1
|
+
{"version":3,"file":"CwTabs.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/tabs/CwTabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAIxC,MAAM,WAAW,GAAG;IACnB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,MAAM,CAAC;IAChC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,WAAW;IAC3B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,wFAAwF;IACxF,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,IAAI,EAAE,GAAG,EAAE,CAAC;IACZ,YAAY,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;IAC9B,aAAa,CAAC,EAAE,MAAM,CAAC;CAEvB;AAgBD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAEH,wBAAgB,MAAM,CAAC,WAAW,EAAE,KAAK,CAAC,iBAAiB,CAAC,WAAW,CAAC,2CAyDvE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/dev/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC;AAExC,QAAA,MAAM,iBAAiB,0EAAyC,CAAC;AAEjE,OAAO,EACN,iBAAiB,EACjB,UAAU,EACV,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"palette.d.ts","sourceRoot":"","sources":["../../../src/dev/palette.tsx"],"names":[],"mappings":"AAQA,eAAO,MAAM,WAAW,+CAUvB,CAAC;AAEF,wBAAgB,sBAAsB,4CAIrC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"previews.d.ts","sourceRoot":"","sources":["../../../src/dev/previews.tsx"],"names":[],"mappings":"AAQA,QAAA,MAAM,iBAAiB,+CAoBtB,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useInitial.d.ts","sourceRoot":"","sources":["../../../src/dev/useInitial.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,iBAAiB,EAAC,MAAM,0BAA0B,CAAC;AAE3D,eAAO,MAAM,UAAU,EAAE,MAAM,iBAY9B,CAAC"}
|
package/dist/src/index.d.ts
CHANGED
|
@@ -5,7 +5,6 @@ export { type CwSelectListProps } from "./common/interfaces/CwSelectListProps";
|
|
|
5
5
|
export { CwHeadingMain } from "./components/display/text/heading/CwHeadingMain";
|
|
6
6
|
export { CwHeadingSecond } from "./components/display/text/heading/CwHeadingSecond";
|
|
7
7
|
export { CwLabel, type CwLabelProps } from "./components/display/text/label/CwLabel";
|
|
8
|
-
export { CwTooltip } from "./components/display/text/tooltip/CwTooltip";
|
|
9
8
|
export { CwChip, type ChipColorScheme, type ChipVariant, type CwChipProps } from "./components/display/text/tag/CwChip";
|
|
10
9
|
export { CwDisplayMessage, CwMessage, CwMessageManager, CwMessageType, useCwMessage, type CwMessageProps } from "./components/display/text/message/CwMessage";
|
|
11
10
|
export { CwNote, type CwNoteProps } from "./components/display/text/note/CwNote";
|
|
@@ -15,6 +14,8 @@ export { CwIcon } from "./components/display/graphics/icon/CwIcon";
|
|
|
15
14
|
export { CwLoading } from "./components/display/graphics/loading/CwLoading";
|
|
16
15
|
export { CwLoadingSmall } from "./components/display/graphics/loading-small/CwLoadingSmall";
|
|
17
16
|
export { CwGenericTooltip } from "./components/display/data/generic_tooltip/CwGenericTooltip";
|
|
17
|
+
export { CwTooltipNew } from "./components/display/data/tooltip_manager/CwTooltip";
|
|
18
|
+
export { CwTooltipManager } from "./components/display/data/tooltip_manager/CwTooltipManager";
|
|
18
19
|
export { CwModal } from "./components/layout/modal/legacy/cw_modal";
|
|
19
20
|
export { CwConfirmationPopup, type ConfirmationPopupProps } from "./components/layout/confirmation-popup/CwConfirmationPopup";
|
|
20
21
|
export { CwModalReportFunctional, type CwReportModalFunctionalProps } from "./components/layout/modal/CwModalReportFunctional";
|
|
@@ -27,8 +28,12 @@ export { CwCard, type CardChip, type CwCardProps } from "./components/layout/car
|
|
|
27
28
|
export { CwCardList, type CwCardListProps } from "./components/layout/card/CwCardList";
|
|
28
29
|
export { CwAccordionContainer } from "./components/display/data/accordion/CwAccordionContainer";
|
|
29
30
|
export { CwTable, type Column, type DataItem } from "./components/display/data/table/CwTable";
|
|
31
|
+
export { CwSortableTable, type CwSortableTableProps, type SortableColumn } from "./components/display/data/table_sortable/CwSortableTable";
|
|
32
|
+
export { useSortableTable, type SortableTableDragState, type UseSortableTableReturn } from "./components/display/data/table_sortable/useSortableTable";
|
|
33
|
+
export { CwTableServerSide, type ServerSideTableState } from "./components/display/data/table-serverside/CwTableServerSide";
|
|
30
34
|
export { CwTabs, type Tab } from "./components/layout/tabs/CwTabs";
|
|
31
35
|
export { CwExpandable, type CwExpandableProps } from "./components/layout/list/details/CwExpandable";
|
|
36
|
+
export { CwMasterDetail, type CwMasterDetailItem, type CwMasterDetailProps } from "./components/layout/master-detail/CwMasterDetail";
|
|
32
37
|
export { CwKeyValueList, type CwKeyValueListProps } from "./components/layout/list/key-value/CwKeyValueList";
|
|
33
38
|
export { CwSortableList, type CwSortableListProps } from "./components/layout/list/sortable/CwSortableList";
|
|
34
39
|
export { useSortableList } from "./components/layout/list/sortable/useSortableList";
|
|
@@ -51,14 +56,19 @@ export { CwInputDateText, type CwInputDateTextProps } from "./components/control
|
|
|
51
56
|
export { CwInputImage, type CwInputImageProps } from "./components/control/input/image/CwInputImage";
|
|
52
57
|
export { CwImageArea, type CwImageAreaMethods, type CwImageAreaProps } from "./components/control/input/image-area/CwImageArea";
|
|
53
58
|
export { CwWeekdaySelector, Weekdays, type Weekday } from "./components/control/input/weekday/CwWeekdaySelector";
|
|
59
|
+
export { CwCheck } from "./components/control/choice/checkbox/CwCheck";
|
|
54
60
|
export { CwCheckbox } from "./components/control/choice/checkbox/CwCheckbox";
|
|
61
|
+
export { CwCheckboxGroup } from "./components/control/choice/checkbox/CwCheckboxGroup";
|
|
55
62
|
export { CwToggle } from "./components/control/choice/toggle/CwToggle";
|
|
56
63
|
export { CwSelect } from "./components/control/choice/select/CwSelect";
|
|
64
|
+
export { CwDropdown, type CwDropdownProps, type CwDropdownOption } from "./components/control/choice/select/CwDropdown";
|
|
57
65
|
export { CwOption } from "./components/control/choice/option/CwOption";
|
|
58
66
|
export { CwDropdownFilter } from "./components/control/choice/dropdown/CwDropdownFilter";
|
|
67
|
+
export { CwPopoverButton, type CwPopoverButtonProps } from "./components/control/choice/dropdown/CwPopoverButton";
|
|
59
68
|
export { itemsToMultiFilterTags } from "./common/functions/collections";
|
|
60
69
|
export { CwMultiFilterTag, type CwMultiFilterTagProps, type ICwMultiFilterTag } from "./components/control/choice/multi-filter/components/tag/CwMultiFilterTag";
|
|
61
70
|
export { CwMultiFilter, type CwMultiFilterProps } from "./components/control/choice/multi-filter/CwMultiFilter";
|
|
71
|
+
export { CwTagSelector, type CwTagSelectorProps, type CwTagSelectorOption } from "./components/control/choice/tag-selector/CwTagSelector";
|
|
62
72
|
export { CwTreeView, type CwTreeNode } from "./components/control/choice/tree-view/CwTreeView";
|
|
63
73
|
export { CwSearchInput } from "./components/control/action/search/CwSearch";
|
|
64
74
|
export { CwAnchoredMenu, type MenuOption } from "./components/control/action/contextmenu/CwAnchoredMenu";
|
|
@@ -71,6 +81,7 @@ export type { DateRangeValue } from "./components/control/input/new-dates/CwDate
|
|
|
71
81
|
export { CwDateTimePicker } from "./components/control/input/new-dates/CwDateTimePicker";
|
|
72
82
|
export { CwDateTimePickerCompact } from "./components/control/input/new-dates/CwDateTimePickerCompact";
|
|
73
83
|
export { CwTimePicker } from "./components/control/input/new-dates/CwTimePicker";
|
|
84
|
+
export { CwDatePickerTemporal } from "./components/control/input/new-dates/CwDatePickerTemporal";
|
|
74
85
|
import { CwScheduler } from "./components/custom/scheduler/CwSchedulerComp";
|
|
75
86
|
export { CwScheduler };
|
|
76
87
|
export { Scheduler } from "./components/custom/scheduler-new/presentation/NewScheduler";
|
|
@@ -80,6 +91,7 @@ export type { SchedulerEventState } from "./components/custom/scheduler-new/pres
|
|
|
80
91
|
export type { SchedulerState } from "./components/custom/scheduler-new/presentation/state/ui/SchedulerState";
|
|
81
92
|
export type { SchedulerRowProps } from "./components/custom/scheduler-new/presentation/components/row/SchedulerRow";
|
|
82
93
|
export { eventIsVisible } from "../src/components/custom/scheduler-new/presentation/logic/eventIsVisible";
|
|
94
|
+
export { filterVisibleEvents } from "./components/custom/scheduler-new/presentation/logic/filterVisibleEvents";
|
|
83
95
|
export { getDefaultDivisions } from "./components/custom/scheduler-new/presentation/logic/getDefaultDivisions";
|
|
84
96
|
export { getEventSizes } from "./components/custom/scheduler-new/presentation/logic/getEventSizes";
|
|
85
97
|
export { UiEvent } from "./common/functions/dsl/UiEventDSL";
|
|
@@ -93,7 +105,9 @@ export { CblDragAndDrop } from "./components/custom/scheduler/CwSuperSchedulerCo
|
|
|
93
105
|
import { PinRowHeader, PinRowHeaderProps } from "./components/custom/super-scheduler/PinRowHeader";
|
|
94
106
|
import { SuperScheduler, SuperSchedulerProps } from "./components/custom/super-scheduler/SuperScheduler";
|
|
95
107
|
import { OnClearPinned, OnPinRow, OnUnpinRow } from "./components/custom/super-scheduler/SuperSchedulerEvents";
|
|
108
|
+
export type { IndicatorRowDm } from "./components/custom/scheduler-new/presentation/components/row/IndicatorRow";
|
|
96
109
|
export { CwFindAirport } from "./components/custom/find-airport/CwFindAirportComp";
|
|
110
|
+
export { CwFindCrewmember } from "./components/custom/find-crewmember/CwFindCrewmemberComp";
|
|
97
111
|
export { OnClearPinned, OnPinRow, OnUnpinRow, PinRowHeader, SuperScheduler, type PinRowHeaderProps, type SuperSchedulerProps };
|
|
98
112
|
export { OnClickContextMenu, OnClickEvent, OnClickRowEvent, OnClickRowHeader, OnClickUtc, OnDoubleClickEvent, OnDoubleClickRowEvent, OnDragEvent, OnDropCtrlEvent, OnDropEvent, OnEndClickHeaderEvent, OnLeftDragStart, OnMultiClickEvent, OnRangeClickEvent, OnRightClickEvent, OnRightClickRow, OnRightDragStart, OnStartClickHeaderEvent } from "./components/custom/scheduler-new/presentation/NewSchedulerUiEvents";
|
|
99
113
|
export type { BackgroundEventDm } from "./components/custom/scheduler-new/presentation/components/row/BackgroundEvent";
|