@npm-questionpro/wick-ui-lib 1.41.0 → 1.48.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +17 -16
- package/dist/ac_divergent.svg +0 -50
- package/dist/ac_qualitative.svg +0 -50
- package/dist/ac_sequential.svg +0 -50
- package/dist/bp_divergent.svg +0 -130
- package/dist/bp_qualitative.svg +0 -53
- package/dist/bp_sentiment.svg +0 -76
- package/dist/bp_sentiment_analysis.svg +0 -112
- package/dist/bp_sequential.svg +0 -99
- package/dist/favicon.ico +0 -0
- package/dist/index.d.ts +0 -2
- package/dist/order_divergent.svg +0 -61
- package/dist/order_qualitative.svg +0 -57
- package/dist/order_sequential_blue.svg +0 -52
- package/dist/order_sequential_green.svg +0 -52
- package/dist/order_sequential_orange.svg +0 -52
- package/dist/order_sequential_red.svg +0 -52
- package/dist/src/base/ui/accordion.d.ts +0 -7
- package/dist/src/base/ui/avatar.d.ts +0 -6
- package/dist/src/base/ui/button.d.ts +0 -12
- package/dist/src/base/ui/checkbox.d.ts +0 -6
- package/dist/src/base/ui/command.d.ts +0 -74
- package/dist/src/base/ui/dialog.d.ts +0 -23
- package/dist/src/base/ui/dropdownMenu.d.ts +0 -28
- package/dist/src/base/ui/input.d.ts +0 -3
- package/dist/src/base/ui/label.d.ts +0 -5
- package/dist/src/base/ui/popover.d.ts +0 -6
- package/dist/src/base/ui/radioGroup.d.ts +0 -5
- package/dist/src/base/ui/scrollArea.d.ts +0 -11
- package/dist/src/base/ui/separator.d.ts +0 -4
- package/dist/src/base/ui/sheet.d.ts +0 -29
- package/dist/src/base/ui/skeleton.d.ts +0 -2
- package/dist/src/base/ui/switch.d.ts +0 -4
- package/dist/src/base/ui/table.d.ts +0 -10
- package/dist/src/base/ui/textarea.d.ts +0 -3
- package/dist/src/base/ui/toast.d.ts +0 -18
- package/dist/src/base/ui/toaster.d.ts +0 -1
- package/dist/src/base/ui/toggle.d.ts +0 -12
- package/dist/src/base/ui/toggleGroup.d.ts +0 -12
- package/dist/src/base/ui/tooltip.d.ts +0 -7
- package/dist/src/base/ui/useToast.d.ts +0 -40
- package/dist/src/components/accordion/WuAccordion.d.ts +0 -26
- package/dist/src/components/accordion/WuAccordion.test.d.ts +0 -1
- package/dist/src/components/accordion/index.d.ts +0 -2
- package/dist/src/components/activityLog/WuActivityLog.d.ts +0 -18
- package/dist/src/components/activityLog/WuActivityLog.test.d.ts +0 -1
- package/dist/src/components/activityLog/index.d.ts +0 -2
- package/dist/src/components/appHeader/WuAppHeader.d.ts +0 -19
- package/dist/src/components/appHeader/WuAppHeader.test.d.ts +0 -1
- package/dist/src/components/appHeader/components/WuAppHeaderBar.d.ts +0 -6
- package/dist/src/components/appHeader/components/WuAppHeaderDropdownWrapper.d.ts +0 -11
- package/dist/src/components/appHeader/components/WuAppHeaderSearch.d.ts +0 -7
- package/dist/src/components/appHeader/components/WuAppHeaderSearch.test.d.ts +0 -1
- package/dist/src/components/appHeader/components/WuTruncatedLabel.d.ts +0 -4
- package/dist/src/components/appHeader/components/account/WuAppHeaderAccount.d.ts +0 -10
- package/dist/src/components/appHeader/components/account/WuAppHeaderAccount.test.d.ts +0 -1
- package/dist/src/components/appHeader/components/account/ui/_logoutMenuItem.d.ts +0 -4
- package/dist/src/components/appHeader/components/account/ui/_otherMenuItem.d.ts +0 -5
- package/dist/src/components/appHeader/components/account/ui/_settingsMenuItem.d.ts +0 -5
- package/dist/src/components/appHeader/components/account/ui/_userMenuItem.d.ts +0 -5
- package/dist/src/components/appHeader/components/help/WuAppHeaderHelp.d.ts +0 -7
- package/dist/src/components/appHeader/components/help/WuAppHeaderHelp.test.d.ts +0 -1
- package/dist/src/components/appHeader/components/productSwitcher/WuAppHeaderMenu.d.ts +0 -15
- package/dist/src/components/appHeader/components/productSwitcher/WuAppHeaderMenu.test.d.ts +0 -1
- package/dist/src/components/appHeader/components/productSwitcher/ui/_categoryDetails.d.ts +0 -8
- package/dist/src/components/appHeader/components/productSwitcher/ui/_menuTrigger.d.ts +0 -12
- package/dist/src/components/appHeader/components/productSwitcher/ui/_productDropdown.d.ts +0 -17
- package/dist/src/components/appHeader/components/productSwitcher/ui/_productItem.d.ts +0 -9
- package/dist/src/components/appHeader/components/productSwitcher/ui/_productList.d.ts +0 -13
- package/dist/src/components/appHeader/components/productSwitcher/ui/_smallScreenMenuTrigger.d.ts +0 -16
- package/dist/src/components/appHeader/components/productSwitcher/ui/_smallScreenToggleMenu.d.ts +0 -10
- package/dist/src/components/appHeader/hooks/useOnClickOutsideHook.d.ts +0 -2
- package/dist/src/components/appHeader/hooks/useWindowSize.d.ts +0 -2
- package/dist/src/components/appHeader/index.d.ts +0 -11
- package/dist/src/components/appHeader/types/WuAppHeaderAccount.d.ts +0 -47
- package/dist/src/components/appHeader/types/WuAppHeaderHelpMenu.d.ts +0 -7
- package/dist/src/components/appHeader/types/WuAppHeaderMenuItem.d.ts +0 -16
- package/dist/src/components/appHeader/utils/dataFromApi.d.ts +0 -3
- package/dist/src/components/appHeader/utils/headerMenuKeyboardHandlers.d.ts +0 -6
- package/dist/src/components/appHeader/utils/iconMap.d.ts +0 -3
- package/dist/src/components/button/WuButton.d.ts +0 -13
- package/dist/src/components/button/WuButton.test.d.ts +0 -1
- package/dist/src/components/button/index.d.ts +0 -2
- package/dist/src/components/calendar/WuCalender.d.ts +0 -3
- package/dist/src/components/calendar/components/datePicker/WuDatePicker.d.ts +0 -24
- package/dist/src/components/calendar/components/datePicker/WuDatePicker.test.d.ts +0 -1
- package/dist/src/components/calendar/components/dateRangePicker/WuDateRangePicker.d.ts +0 -31
- package/dist/src/components/calendar/components/dateRangePicker/WuDateRangePicker.test.d.ts +0 -1
- package/dist/src/components/calendar/index.d.ts +0 -5
- package/dist/src/components/calendar/shadcn/calendar.d.ts +0 -7
- package/dist/src/components/calendar/ui/_footer.d.ts +0 -8
- package/dist/src/components/calendar/ui/_nativeSidebar.d.ts +0 -17
- package/dist/src/components/calendar/ui/_sidebar.d.ts +0 -12
- package/dist/src/components/calendar/ui/_trigger.d.ts +0 -9
- package/dist/src/components/calendar/utils/index.d.ts +0 -7
- package/dist/src/components/card/WuCard.d.ts +0 -7
- package/dist/src/components/card/WuCard.test.d.ts +0 -1
- package/dist/src/components/card/index.d.ts +0 -2
- package/dist/src/components/checkbox/WuCheckbox.d.ts +0 -17
- package/dist/src/components/checkbox/WuCheckbox.test.d.ts +0 -1
- package/dist/src/components/checkbox/index.d.ts +0 -2
- package/dist/src/components/chip/WuChip.d.ts +0 -10
- package/dist/src/components/chip/WuChip.test.d.ts +0 -1
- package/dist/src/components/chip/index.d.ts +0 -2
- package/dist/src/components/combobox/WuCombobox.d.ts +0 -38
- package/dist/src/components/combobox/WuCombobox.test.d.ts +0 -1
- package/dist/src/components/combobox/index.d.ts +0 -3
- package/dist/src/components/combobox/types/IWuComboboxOptions.d.ts +0 -16
- package/dist/src/components/combobox/ui/_item.d.ts +0 -14
- package/dist/src/components/combobox/ui/_tags.d.ts +0 -5
- package/dist/src/components/combobox/ui/_trigger.d.ts +0 -22
- package/dist/src/components/combobox/utils/index.d.ts +0 -2
- package/dist/src/components/combobox/utils/renderItems.d.ts +0 -13
- package/dist/src/components/combobox/utils/separateOptions.d.ts +0 -7
- package/dist/src/components/combobox/utils/useResizeContent.d.ts +0 -2
- package/dist/src/components/copyToClipboard/WuCopyToClipboard.d.ts +0 -8
- package/dist/src/components/copyToClipboard/WuCopyToClipboard.test.d.ts +0 -1
- package/dist/src/components/copyToClipboard/index.d.ts +0 -2
- package/dist/src/components/drawer/WuDrawer.d.ts +0 -17
- package/dist/src/components/drawer/WuDrawer.test.d.ts +0 -1
- package/dist/src/components/drawer/index.d.ts +0 -2
- package/dist/src/components/drilldown/WuDrilldown.d.ts +0 -24
- package/dist/src/components/drilldown/WuDrilldown.test.d.ts +0 -1
- package/dist/src/components/drilldown/WuDrilldownTitleMenu.d.ts +0 -9
- package/dist/src/components/drilldown/WuDrilldownTitles.d.ts +0 -12
- package/dist/src/components/drilldown/index.d.ts +0 -3
- package/dist/src/components/footer/WuFooter.d.ts +0 -8
- package/dist/src/components/footer/WuFooter.test.d.ts +0 -1
- package/dist/src/components/footer/index.d.ts +0 -2
- package/dist/src/components/formGroup/WuFormGroup.d.ts +0 -10
- package/dist/src/components/formGroup/WuFormGroup.test.d.ts +0 -1
- package/dist/src/components/formGroup/components/WuInputError.d.ts +0 -6
- package/dist/src/components/formGroup/components/WuInputHint.d.ts +0 -7
- package/dist/src/components/formGroup/components/WuLabel.d.ts +0 -3
- package/dist/src/components/formGroup/index.d.ts +0 -5
- package/dist/src/components/helpButton/WuHelpButton.d.ts +0 -7
- package/dist/src/components/helpButton/WuHelpButton.test.d.ts +0 -1
- package/dist/src/components/helpButton/index.d.ts +0 -2
- package/dist/src/components/input/WuInput.d.ts +0 -13
- package/dist/src/components/input/WuInput.test.d.ts +0 -0
- package/dist/src/components/input/index.d.ts +0 -2
- package/dist/src/components/listbox/WuListbox.d.ts +0 -44
- package/dist/src/components/listbox/WuListbox.test.d.ts +0 -1
- package/dist/src/components/listbox/index.d.ts +0 -3
- package/dist/src/components/listbox/subComponents/WuListboxTrigger.d.ts +0 -4
- package/dist/src/components/listbox/ui/_item.d.ts +0 -14
- package/dist/src/components/listbox/ui/_search.d.ts +0 -3
- package/dist/src/components/listbox/ui/_selectAll.d.ts +0 -7
- package/dist/src/components/listbox/ui/_trigger.d.ts +0 -20
- package/dist/src/components/listbox/utils/search.d.ts +0 -2
- package/dist/src/components/listbox/utils/useGenClass.d.ts +0 -1
- package/dist/src/components/loader/WuLoader.d.ts +0 -8
- package/dist/src/components/loader/WuLoader.test.d.ts +0 -1
- package/dist/src/components/loader/index.d.ts +0 -2
- package/dist/src/components/menu/WuMenu.d.ts +0 -24
- package/dist/src/components/menu/WuMenu.test.d.ts +0 -1
- package/dist/src/components/menu/index.d.ts +0 -10
- package/dist/src/components/menu/ui/WuMenuCheckboxItem.d.ts +0 -8
- package/dist/src/components/menu/ui/WuMenuItem.d.ts +0 -8
- package/dist/src/components/menu/ui/WuMenuItemGroup.d.ts +0 -8
- package/dist/src/components/menu/ui/WuMenuRadioItem.d.ts +0 -15
- package/dist/src/components/menu/ui/WuMenuSeparatorItem.d.ts +0 -2
- package/dist/src/components/menu/ui/WuSubMenu.d.ts +0 -13
- package/dist/src/components/menuIcon/WuMenuIcon.d.ts +0 -9
- package/dist/src/components/menuIcon/WuMenuIcon.test.d.ts +0 -1
- package/dist/src/components/menuIcon/index.d.ts +0 -2
- package/dist/src/components/modal/WuModal.d.ts +0 -32
- package/dist/src/components/modal/WuModal.test.d.ts +0 -1
- package/dist/src/components/modal/index.d.ts +0 -2
- package/dist/src/components/monthPicker/WuMonthPicker.d.ts +0 -16
- package/dist/src/components/monthPicker/WuMonthPicker.test.d.ts +0 -1
- package/dist/src/components/monthPicker/index.d.ts +0 -2
- package/dist/src/components/navbar/index.d.ts +0 -4
- package/dist/src/components/navbar/primaryNavbar/WuPrimaryNavbar.d.ts +0 -12
- package/dist/src/components/navbar/primaryNavbar/WuPrimaryNavbar.test.d.ts +0 -1
- package/dist/src/components/navbar/secondaryNavbar/WuSecondaryNavbar.d.ts +0 -18
- package/dist/src/components/navbar/secondaryNavbar/WuSecondaryNavbar.test.d.ts +0 -1
- package/dist/src/components/pagination/WuPagination.d.ts +0 -10
- package/dist/src/components/pagination/WuPagination.test.d.ts +0 -1
- package/dist/src/components/pagination/index.d.ts +0 -2
- package/dist/src/components/popover/WuPopover.d.ts +0 -14
- package/dist/src/components/popover/WuPopover.test.d.ts +0 -1
- package/dist/src/components/popover/index.d.ts +0 -2
- package/dist/src/components/radio/WuRadioGroup.d.ts +0 -12
- package/dist/src/components/radio/WuRadioGroup.test.d.ts +0 -1
- package/dist/src/components/radio/index.d.ts +0 -3
- package/dist/src/components/radio/types/IWuRadioOption.d.ts +0 -6
- package/dist/src/components/scrollArea/WuScrollArea.d.ts +0 -4
- package/dist/src/components/scrollArea/WuScrollArea.test.d.ts +0 -1
- package/dist/src/components/scrollArea/index.d.ts +0 -1
- package/dist/src/components/select/WuSelect.d.ts +0 -33
- package/dist/src/components/select/WuSelect.test.d.ts +0 -1
- package/dist/src/components/select/index.d.ts +0 -3
- package/dist/src/components/select/types/IWuSelectOptions.d.ts +0 -16
- package/dist/src/components/select/ui/_item.d.ts +0 -15
- package/dist/src/components/select/ui/_trigger.d.ts +0 -20
- package/dist/src/components/select/utils/renderItems.d.ts +0 -10
- package/dist/src/components/select/utils/useOptionDestructure.d.ts +0 -8
- package/dist/src/components/select/utils/useResizeContent.d.ts +0 -2
- package/dist/src/components/select/utils/useSortedSelectOptions.d.ts +0 -4
- package/dist/src/components/sidebar/WuSidebar.d.ts +0 -33
- package/dist/src/components/sidebar/WuSidebar.test.d.ts +0 -1
- package/dist/src/components/sidebar/index.d.ts +0 -2
- package/dist/src/components/sidebar/shadcn/sidebar.d.ts +0 -44
- package/dist/src/components/spotlight/WuSpotlight.d.ts +0 -16
- package/dist/src/components/spotlight/WuSpotlight.test.d.ts +0 -1
- package/dist/src/components/spotlight/index.d.ts +0 -2
- package/dist/src/components/stackedCard/WuStackedCard.d.ts +0 -29
- package/dist/src/components/stackedCard/WuStackedCard.test.d.ts +0 -1
- package/dist/src/components/stackedCard/index.d.ts +0 -3
- package/dist/src/components/stackedCard/utils/constant.d.ts +0 -1
- package/dist/src/components/stackedCard/utils/helper.d.ts +0 -16
- package/dist/src/components/stepper/WuStepper.d.ts +0 -15
- package/dist/src/components/stepper/WuStepper.test.d.ts +0 -1
- package/dist/src/components/stepper/index.d.ts +0 -2
- package/dist/src/components/surveySelect/WuSurveySelect.d.ts +0 -5
- package/dist/src/components/surveySelect/WuSurveySelect.test.d.ts +0 -1
- package/dist/src/components/surveySelect/index.d.ts +0 -6
- package/dist/src/components/surveySelect/subComponents/WuSharedSurvey.d.ts +0 -3
- package/dist/src/components/surveySelect/subComponents/WuSurveyItem.d.ts +0 -3
- package/dist/src/components/surveySelect/subComponents/WuSurveyList.d.ts +0 -3
- package/dist/src/components/surveySelect/subComponents/WuSurveySource.d.ts +0 -8
- package/dist/src/components/surveySelect/types/index.d.ts +0 -15
- package/dist/src/components/switcher/WuSwitcher.d.ts +0 -25
- package/dist/src/components/switcher/WuSwitcher.test.d.ts +0 -1
- package/dist/src/components/switcher/index.d.ts +0 -4
- package/dist/src/components/switcher/types/IWuSwitcherOption.d.ts +0 -4
- package/dist/src/components/switcher/types/IWuSwitcherOptions.d.ts +0 -2
- package/dist/src/components/switcher/ui/_iconTab.d.ts +0 -11
- package/dist/src/components/switcher/ui/_tab.d.ts +0 -12
- package/dist/src/components/switcher/ui/_toggle.d.ts +0 -11
- package/dist/src/components/tab/WuTab.d.ts +0 -15
- package/dist/src/components/tab/WuTab.test.d.ts +0 -1
- package/dist/src/components/tab/components/BaseTabContent.d.ts +0 -8
- package/dist/src/components/tab/hooks/useHorizontalTabScroll.d.ts +0 -8
- package/dist/src/components/tab/hooks/useTabIndicator.d.ts +0 -9
- package/dist/src/components/tab/hooks/useVerticalTabScroll.d.ts +0 -8
- package/dist/src/components/tab/index.d.ts +0 -3
- package/dist/src/components/tab/shadcn/tabs.d.ts +0 -7
- package/dist/src/components/tab/types/IWuItems.d.ts +0 -5
- package/dist/src/components/tab/ui/_horizontalTab.d.ts +0 -3
- package/dist/src/components/tab/ui/_verticalTab.d.ts +0 -3
- package/dist/src/components/table/components/dataTable/WuDataTable.d.ts +0 -30
- package/dist/src/components/table/components/dataTable/WuDataTable.test.d.ts +0 -1
- package/dist/src/components/table/components/table/WuTable.d.ts +0 -34
- package/dist/src/components/table/components/table/WuTable.test.d.ts +0 -1
- package/dist/src/components/table/hooks/useRowSelection.d.ts +0 -11
- package/dist/src/components/table/hooks/useTableCore.d.ts +0 -19
- package/dist/src/components/table/hooks/useTableScroll.d.ts +0 -6
- package/dist/src/components/table/index.d.ts +0 -8
- package/dist/src/components/table/types/IColumnDefaultSorting.d.ts +0 -4
- package/dist/src/components/table/types/IWuRowSelection.d.ts +0 -10
- package/dist/src/components/table/types/IWuTableColumnDef.d.ts +0 -11
- package/dist/src/components/table/ui/_body.d.ts +0 -15
- package/dist/src/components/table/ui/_header.d.ts +0 -17
- package/dist/src/components/table/ui/_virtualBody.d.ts +0 -19
- package/dist/src/components/table/utils/data.d.ts +0 -65
- package/dist/src/components/table/utils/tableHelpers.d.ts +0 -16
- package/dist/src/components/table/utils/tableStyles.d.ts +0 -7
- package/dist/src/components/table/utils/variantClass.d.ts +0 -3
- package/dist/src/components/textarea/WuTextarea.d.ts +0 -8
- package/dist/src/components/textarea/WuTextarea.test.d.ts +0 -1
- package/dist/src/components/textarea/index.d.ts +0 -2
- package/dist/src/components/timePicker/WuTimePicker.d.ts +0 -9
- package/dist/src/components/timePicker/WuTimePicker.test.d.ts +0 -1
- package/dist/src/components/timePicker/components/timeColumn.d.ts +0 -11
- package/dist/src/components/timePicker/hooks/useRotatedArrays.d.ts +0 -5
- package/dist/src/components/timePicker/hooks/useTimePickerScroll.d.ts +0 -1
- package/dist/src/components/timePicker/index.d.ts +0 -2
- package/dist/src/components/timePicker/utils/timePickerUtils.d.ts +0 -12
- package/dist/src/components/toast/WuToast.d.ts +0 -1
- package/dist/src/components/toast/WuToast.test.d.ts +0 -1
- package/dist/src/components/toast/hooks/useWuShowToast.d.ts +0 -11
- package/dist/src/components/toast/index.d.ts +0 -3
- package/dist/src/components/toast/types/IWuToastOptions.d.ts +0 -5
- package/dist/src/components/toggle/WuToggle.d.ts +0 -8
- package/dist/src/components/toggle/WuToggle.test.d.ts +0 -1
- package/dist/src/components/toggle/index.d.ts +0 -2
- package/dist/src/components/tooltip/WuTooltip.d.ts +0 -15
- package/dist/src/components/tooltip/WuTooltip.test.d.ts +0 -1
- package/dist/src/components/tooltip/index.d.ts +0 -2
- package/dist/src/components/typography/WuTypography.d.ts +0 -21
- package/dist/src/components/typography/WuTypography.test.d.ts +0 -1
- package/dist/src/components/typography/iconClasses.d.ts +0 -1
- package/dist/src/components/typography/index.d.ts +0 -1
- package/dist/src/components/useTranslation/WuTranslation.test.d.ts +0 -1
- package/dist/src/components/useTranslation/WuTranslationContext.d.ts +0 -2
- package/dist/src/components/useTranslation/WuTranslationProvider.d.ts +0 -6
- package/dist/src/components/useTranslation/index.d.ts +0 -4
- package/dist/src/components/useTranslation/types/index.d.ts +0 -8
- package/dist/src/components/useTranslation/useTranslationContext.d.ts +0 -3
- package/dist/src/components/virtualScroll/WuVirtualScroll.d.ts +0 -11
- package/dist/src/components/virtualScroll/WuVirtualScroll.test.d.ts +0 -1
- package/dist/src/components/virtualScroll/index.d.ts +0 -2
- package/dist/src/docs/Icons.d.ts +0 -2
- package/dist/src/docs/Theme.d.ts +0 -3
- package/dist/src/docs/Typography.d.ts +0 -4
- package/dist/src/docs/ui/chartColor.d.ts +0 -4
- package/dist/src/docs/ui/colorSystem.d.ts +0 -10
- package/dist/src/hooks/index.d.ts +0 -1
- package/dist/src/hooks/useAnimation.d.ts +0 -9
- package/dist/src/hooks/useAnimation.test.d.ts +0 -1
- package/dist/src/hooks/useMobile.d.ts +0 -1
- package/dist/src/hooks/useResizeList.d.ts +0 -10
- package/dist/src/index.d.ts +0 -53
- package/dist/src/lib/testUtils.d.ts +0 -2
- package/dist/src/lib/utils.d.ts +0 -15
- package/dist/src/translate/WuTranslate.d.ts +0 -5
- package/dist/src/translate/WuTranslateContext.d.ts +0 -18
- package/dist/src/translate/WuTranslateContext.test.d.ts +0 -1
- package/dist/src/translate/index.d.ts +0 -2
- package/dist/style.css +0 -1
- package/dist/wick-ui-lib/es/index.js +0 -15755
- package/dist/wick-ui-lib/umd/index.js +0 -21
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ExpandedState } from '@tanstack/react-table';
|
|
2
|
-
import { default as React } from 'react';
|
|
3
|
-
import { IWuTableRowSelection } from '../types/IWuRowSelection';
|
|
4
|
-
import { IWuTableColumnDef } from '../types/IWuTableColumnDef';
|
|
5
|
-
export declare function useWuTableCore<T>({ data, columns, rowSelection, isRowExpandable, }: {
|
|
6
|
-
data: T[];
|
|
7
|
-
columns: IWuTableColumnDef<T>[];
|
|
8
|
-
rowSelection?: IWuTableRowSelection<T>;
|
|
9
|
-
isRowExpandable?: boolean;
|
|
10
|
-
}): {
|
|
11
|
-
finalColumns: IWuTableColumnDef<T>[];
|
|
12
|
-
rowSelectionState: Record<number, boolean>;
|
|
13
|
-
sortableColumns: string[];
|
|
14
|
-
selectedRowCount: number;
|
|
15
|
-
columnsWithExpand: IWuTableColumnDef<T>[];
|
|
16
|
-
expanded: ExpandedState;
|
|
17
|
-
setExpanded: React.Dispatch<React.SetStateAction<ExpandedState>>;
|
|
18
|
-
handleRowSelectionChange: (updater: React.SetStateAction<Record<number, boolean>>) => void;
|
|
19
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export type { Cell, Column, Row, RowData } from '@tanstack/react-table';
|
|
2
|
-
export { WuDataTable } from './components/dataTable/WuDataTable';
|
|
3
|
-
export type { IWuDataTableProps } from './components/dataTable/WuDataTable';
|
|
4
|
-
export { WuTable } from './components/table/WuTable';
|
|
5
|
-
export type { IWuTableProps } from './components/table/WuTable';
|
|
6
|
-
export type { IWuTableRowSelection } from './types/IWuRowSelection';
|
|
7
|
-
export type { IWuTableColumnDef } from './types/IWuTableColumnDef';
|
|
8
|
-
export type { IColumnDefaultSorting } from './types/IColumnDefaultSorting';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
export interface IWuTableRowSelection<T> {
|
|
3
|
-
isEnabled: boolean;
|
|
4
|
-
selectedRows: T[];
|
|
5
|
-
onRowSelect: React.Dispatch<React.SetStateAction<T[]>>;
|
|
6
|
-
rowUniqueKey: string;
|
|
7
|
-
isRowDisabled?: (row: T) => boolean;
|
|
8
|
-
hideSelectAll?: boolean;
|
|
9
|
-
size?: number;
|
|
10
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ColumnDef, Row } from '@tanstack/react-table';
|
|
2
|
-
import { default as React } from 'react';
|
|
3
|
-
export type IWuTableColumnDef<Data> = ColumnDef<Data> & {
|
|
4
|
-
accessorKey: string;
|
|
5
|
-
filterable?: boolean;
|
|
6
|
-
columns?: IWuTableColumnDef<Data>[];
|
|
7
|
-
headerAlign?: 'left' | 'right' | 'center';
|
|
8
|
-
cellAlign?: 'left' | 'right' | 'center';
|
|
9
|
-
expandableRowContent?: (row: Row<Data>) => React.ReactNode;
|
|
10
|
-
sticky?: 'left' | 'right';
|
|
11
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Table } from '@tanstack/react-table';
|
|
2
|
-
import { default as React } from 'react';
|
|
3
|
-
interface IWuTableBodyProps<T> {
|
|
4
|
-
table: Table<T>;
|
|
5
|
-
size?: 'compact' | 'default';
|
|
6
|
-
NoDataContent?: React.ReactNode;
|
|
7
|
-
isLoading?: boolean;
|
|
8
|
-
CustomLoader?: React.ReactNode;
|
|
9
|
-
isRowDisabled?: (row: T) => boolean;
|
|
10
|
-
isRowExpandable?: boolean;
|
|
11
|
-
isScrolledLeft?: boolean;
|
|
12
|
-
isScrolledRight?: boolean;
|
|
13
|
-
}
|
|
14
|
-
export declare const WuTableBody: <T>({ table, size, NoDataContent, isLoading, CustomLoader, isRowDisabled, isRowExpandable, isScrolledLeft, isScrolledRight, }: IWuTableBodyProps<T>) => React.JSX.Element;
|
|
15
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Table } from '@tanstack/react-table';
|
|
2
|
-
import { default as React } from 'react';
|
|
3
|
-
import { IColumnDefaultSorting } from '../types/IColumnDefaultSorting';
|
|
4
|
-
export declare const WuTableHeader: <T>({ table, sortableColumns, manual, onSort, size, isRowSelected, HeaderAction, isStickyHeader, asVirtualContent, isRowExpandable, isScrolledLeft, isScrolledRight, }: {
|
|
5
|
-
table: Table<T>;
|
|
6
|
-
sortableColumns: string[];
|
|
7
|
-
manual?: boolean;
|
|
8
|
-
onSort?: (meta: IColumnDefaultSorting) => void;
|
|
9
|
-
size?: "compact" | "default";
|
|
10
|
-
isRowSelected?: boolean;
|
|
11
|
-
HeaderAction?: React.ReactNode;
|
|
12
|
-
isStickyHeader?: boolean;
|
|
13
|
-
asVirtualContent?: boolean;
|
|
14
|
-
isRowExpandable?: boolean;
|
|
15
|
-
isScrolledLeft?: boolean;
|
|
16
|
-
isScrolledRight?: boolean;
|
|
17
|
-
}) => React.JSX.Element;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Table } from '@tanstack/react-table';
|
|
2
|
-
import { default as React } from 'react';
|
|
3
|
-
import { IColumnDefaultSorting } from '../types/IColumnDefaultSorting';
|
|
4
|
-
export interface IWuVirtualTableBodyProps<T> {
|
|
5
|
-
table: Table<T>;
|
|
6
|
-
size?: 'compact' | 'default';
|
|
7
|
-
isRowDisabled?: (row: T) => boolean;
|
|
8
|
-
containerHeight?: number;
|
|
9
|
-
sortableColumns: string[];
|
|
10
|
-
HeaderAction?: React.ReactNode;
|
|
11
|
-
isRowSelected?: boolean;
|
|
12
|
-
manual?: boolean;
|
|
13
|
-
onSort?: (meta: IColumnDefaultSorting) => void;
|
|
14
|
-
tableLayout?: 'fixed' | 'auto';
|
|
15
|
-
isScrolledLeft?: boolean;
|
|
16
|
-
isScrolledRight?: boolean;
|
|
17
|
-
isRowExpandable?: boolean;
|
|
18
|
-
}
|
|
19
|
-
export declare const WuVirtualTableBody: <T>({ table, size, isRowDisabled, containerHeight, sortableColumns, HeaderAction, isRowSelected, manual, onSort, tableLayout, isScrolledLeft, isScrolledRight, isRowExpandable, }: IWuVirtualTableBodyProps<T>) => React.JSX.Element;
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
export type IMockData = {
|
|
2
|
-
id: number;
|
|
3
|
-
name: string;
|
|
4
|
-
email: string;
|
|
5
|
-
age: number;
|
|
6
|
-
occupation: string;
|
|
7
|
-
catchphrase: string;
|
|
8
|
-
salary?: number;
|
|
9
|
-
score?: number;
|
|
10
|
-
address?: string;
|
|
11
|
-
};
|
|
12
|
-
export declare const MOCK_DATA: IMockData[];
|
|
13
|
-
export type IExtendedMockData = {
|
|
14
|
-
id: number;
|
|
15
|
-
name: string;
|
|
16
|
-
email: string;
|
|
17
|
-
age: number;
|
|
18
|
-
occupation: string;
|
|
19
|
-
department: string;
|
|
20
|
-
salary: number;
|
|
21
|
-
location: string;
|
|
22
|
-
phone: string;
|
|
23
|
-
startDate: string;
|
|
24
|
-
status: 'Active' | 'Inactive' | 'On Leave' | 'Terminated';
|
|
25
|
-
manager: string;
|
|
26
|
-
skills: string;
|
|
27
|
-
performance: string;
|
|
28
|
-
bio: string;
|
|
29
|
-
address: string;
|
|
30
|
-
notes: string;
|
|
31
|
-
projects: string;
|
|
32
|
-
};
|
|
33
|
-
export declare const EXTENDED_MOCK_DATA: IExtendedMockData[];
|
|
34
|
-
export declare const MOCK_COLUMNS: ({
|
|
35
|
-
accessorKey: string;
|
|
36
|
-
header: string;
|
|
37
|
-
size: number;
|
|
38
|
-
enableSorting?: undefined;
|
|
39
|
-
} | {
|
|
40
|
-
accessorKey: string;
|
|
41
|
-
header: string;
|
|
42
|
-
enableSorting: boolean;
|
|
43
|
-
size?: undefined;
|
|
44
|
-
} | {
|
|
45
|
-
accessorKey: string;
|
|
46
|
-
header: string;
|
|
47
|
-
size?: undefined;
|
|
48
|
-
enableSorting?: undefined;
|
|
49
|
-
})[];
|
|
50
|
-
export declare const EXTENDED_MOCK_COLUMNS: ({
|
|
51
|
-
accessorKey: string;
|
|
52
|
-
header: string;
|
|
53
|
-
enableSorting: boolean;
|
|
54
|
-
size?: undefined;
|
|
55
|
-
} | {
|
|
56
|
-
accessorKey: string;
|
|
57
|
-
header: string;
|
|
58
|
-
enableSorting?: undefined;
|
|
59
|
-
size?: undefined;
|
|
60
|
-
} | {
|
|
61
|
-
accessorKey: string;
|
|
62
|
-
header: string;
|
|
63
|
-
size: number;
|
|
64
|
-
enableSorting?: undefined;
|
|
65
|
-
})[];
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Cell, Column, Row } from '@tanstack/react-table';
|
|
2
|
-
import { default as React } from 'react';
|
|
3
|
-
import { IWuTableColumnDef } from '../types/IWuTableColumnDef';
|
|
4
|
-
export declare const EXPANDER_COLUMN_SIZE = 48;
|
|
5
|
-
export declare const EXPANDER_COLUMN_ID = "expander";
|
|
6
|
-
export declare function createExpanderColumn<T>(isRowExpandable: boolean | undefined, finalColumns: IWuTableColumnDef<T>[]): IWuTableColumnDef<T>[];
|
|
7
|
-
export declare function getExpandedContent<T>(row: Row<T>, columns: Column<T>[]): React.ReactNode | undefined;
|
|
8
|
-
export type IStickyMeta = {
|
|
9
|
-
sticky: 'left' | 'right';
|
|
10
|
-
offset: number;
|
|
11
|
-
isStickyEdge: boolean;
|
|
12
|
-
};
|
|
13
|
-
export declare function buildStickyColumnMap<T>(visibleColumns: Column<T>[]): Map<string, IStickyMeta>;
|
|
14
|
-
export declare function renderStickyEdgeShadow(sticky: 'left' | 'right' | undefined, isStickyEdge: boolean, isScrolledLeft?: boolean, isScrolledRight?: boolean): React.ReactNode;
|
|
15
|
-
export declare function shouldVirtualizeTable(enabled: boolean | undefined, threshold: number | undefined, dataLength: number): boolean;
|
|
16
|
-
export declare function renderTableCellContent<T>(cell: Cell<T, unknown>, columnDef: IWuTableColumnDef<T>): React.ReactNode;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export declare const getTableRowClasses: (isDisabled?: boolean) => string;
|
|
2
|
-
export declare const getTableCellClasses: (size?: "compact" | "default", cellAlign?: "left" | "center" | "right") => string;
|
|
3
|
-
export declare const getHeaderHeightClass: (size?: "compact" | "default") => string;
|
|
4
|
-
export declare const getHeaderAlignClasses: (headerAlign?: "left" | "center" | "right") => string;
|
|
5
|
-
export declare const getSortIconAlignClasses: (headerAlign?: "left" | "center" | "right") => string;
|
|
6
|
-
export declare const getSortArrowUpClasses: (isDesc: boolean, isSorted: boolean) => string;
|
|
7
|
-
export declare const getSortArrowDownClasses: (isAsc: boolean, isSorted: boolean) => string;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
export interface IWuTextareaProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
3
|
-
Label?: React.ReactNode;
|
|
4
|
-
variant?: 'flat' | 'outlined';
|
|
5
|
-
readonly?: boolean;
|
|
6
|
-
labelPosition?: 'left' | 'top' | 'right';
|
|
7
|
-
}
|
|
8
|
-
export declare const WuTextarea: React.ForwardRefExoticComponent<IWuTextareaProps & React.RefAttributes<HTMLTextAreaElement>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
export interface IWuTimePickerProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
3
|
-
className?: string;
|
|
4
|
-
time?: string;
|
|
5
|
-
Label?: React.ReactNode;
|
|
6
|
-
labelPosition?: 'left' | 'top' | 'right';
|
|
7
|
-
dir?: 'ltr' | 'rtl';
|
|
8
|
-
}
|
|
9
|
-
export declare const WuTimePicker: React.FC<IWuTimePickerProps>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
interface ITimeColumnProps {
|
|
3
|
-
values: string[];
|
|
4
|
-
selectedValue: string;
|
|
5
|
-
scrollRef?: React.RefObject<HTMLDivElement>;
|
|
6
|
-
onSelect: (value: string) => void;
|
|
7
|
-
className?: string;
|
|
8
|
-
repeatItems?: boolean;
|
|
9
|
-
}
|
|
10
|
-
export declare const TimeColumn: ({ values, selectedValue, scrollRef, onSelect, repeatItems, className, }: ITimeColumnProps) => React.JSX.Element;
|
|
11
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function useTimePickerScroll(isDropdownOpen: boolean, hourScrollRef: React.RefObject<HTMLDivElement>, minuteScrollRef: React.RefObject<HTMLDivElement>): void;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export declare function formatTime(input: string): string;
|
|
2
|
-
export declare const HOURS_12: string[];
|
|
3
|
-
export declare const MINUTES: string[];
|
|
4
|
-
export declare const MERIDIEM_OPTIONS: string[];
|
|
5
|
-
export declare const SCROLL_REPEAT_COUNT = 50;
|
|
6
|
-
export declare function getRepeatedItems(items: string[]): string[];
|
|
7
|
-
export declare function rotateArray<T>(arr: T[], startValue: T): T[];
|
|
8
|
-
export declare function to24HourFormat(hour: string, meridiem: string): string;
|
|
9
|
-
export declare function to12HourFormat(hour24: string): {
|
|
10
|
-
hour: string;
|
|
11
|
-
meridiem: string;
|
|
12
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const WuToast: () => React.JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { toast } from '../../../base/ui/useToast';
|
|
2
|
-
interface IShowToastParams {
|
|
3
|
-
message: string;
|
|
4
|
-
variant?: 'success' | 'error' | 'warning' | 'info' | 'default';
|
|
5
|
-
duration?: number;
|
|
6
|
-
position?: 'topRight' | 'top' | 'topLeft' | 'bottom' | 'bottomRight' | 'bottomLeft';
|
|
7
|
-
}
|
|
8
|
-
export declare const useWuShowToast: () => {
|
|
9
|
-
showToast: (params: IShowToastParams) => ReturnType<typeof toast>;
|
|
10
|
-
};
|
|
11
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { Switch } from '../../base/ui/switch';
|
|
3
|
-
export type IWuToggleProps = Omit<React.ComponentPropsWithRef<typeof Switch>, 'onChange'> & {
|
|
4
|
-
Label?: React.ReactNode;
|
|
5
|
-
labelPosition?: 'left' | 'right' | 'top';
|
|
6
|
-
onChange?: (e: boolean) => void;
|
|
7
|
-
};
|
|
8
|
-
export declare const WuToggle: React.ForwardRefExoticComponent<Omit<IWuToggleProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { TooltipTrigger } from '../../base/ui/tooltip';
|
|
2
|
-
import { default as React } from 'react';
|
|
3
|
-
export interface IWuTooltipProps extends Omit<React.ComponentProps<typeof TooltipTrigger>, 'content'> {
|
|
4
|
-
content?: string | React.ReactNode;
|
|
5
|
-
duration?: number;
|
|
6
|
-
position?: 'top' | 'right' | 'bottom' | 'left';
|
|
7
|
-
positionOffset?: number;
|
|
8
|
-
children: React.ReactNode;
|
|
9
|
-
dir?: 'rtl' | 'ltr';
|
|
10
|
-
showArrow?: boolean;
|
|
11
|
-
open?: boolean;
|
|
12
|
-
onOpenChange?: (open: boolean) => void;
|
|
13
|
-
style?: React.CSSProperties;
|
|
14
|
-
}
|
|
15
|
-
export declare const WuTooltip: React.ForwardRefExoticComponent<Omit<IWuTooltipProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { ICON_CLASSES } from './iconClasses';
|
|
3
|
-
export declare const WuText: React.FC<React.HTMLAttributes<HTMLParagraphElement> & {
|
|
4
|
-
size?: 'sm' | 'md' | 'lg';
|
|
5
|
-
as?: 'p' | 'div' | 'span';
|
|
6
|
-
}>;
|
|
7
|
-
export declare const WuHeading: React.FC<React.HTMLAttributes<HTMLHeadingElement> & {
|
|
8
|
-
size?: 'sm' | 'md' | 'lg' | 'xl';
|
|
9
|
-
}>;
|
|
10
|
-
export declare const WuSubtext: React.FC<React.HTMLAttributes<HTMLParagraphElement> & {
|
|
11
|
-
size?: 'sm' | 'md' | 'lg';
|
|
12
|
-
as?: 'p' | 'div' | 'span';
|
|
13
|
-
}>;
|
|
14
|
-
export declare const WuDisplay: React.FC<React.HTMLAttributes<HTMLHeadingElement> & {
|
|
15
|
-
size?: 'md' | 'lg';
|
|
16
|
-
as?: 'h1' | 'h2' | 'h3' | 'h4' | 'div';
|
|
17
|
-
}>;
|
|
18
|
-
export type IWuIcons = (typeof ICON_CLASSES)[number];
|
|
19
|
-
export declare const WuIcon: React.FC<React.BaseHTMLAttributes<HTMLBaseElement> & {
|
|
20
|
-
icon: IWuIcons;
|
|
21
|
-
}>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|