@codezee-org/sixtify-smartgrid 0.0.1
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/README.md +95 -0
- package/package.json +109 -0
- package/packages/shared-components/dist/Button/ActionButton.d.ts +7 -0
- package/packages/shared-components/dist/Button/ActionButton.d.ts.map +1 -0
- package/packages/shared-components/dist/Button/Button.d.ts +14 -0
- package/packages/shared-components/dist/Button/Button.d.ts.map +1 -0
- package/packages/shared-components/dist/Button/ButtonGroup.d.ts +22 -0
- package/packages/shared-components/dist/Button/ButtonGroup.d.ts.map +1 -0
- package/packages/shared-components/dist/Button/SplitButton.d.ts +30 -0
- package/packages/shared-components/dist/Button/SplitButton.d.ts.map +1 -0
- package/packages/shared-components/dist/Button/index.d.ts +5 -0
- package/packages/shared-components/dist/Button/index.d.ts.map +1 -0
- package/packages/shared-components/dist/Button/types.d.ts +2 -0
- package/packages/shared-components/dist/Button/types.d.ts.map +1 -0
- package/packages/shared-components/dist/FormFields/index.d.ts +2 -0
- package/packages/shared-components/dist/FormFields/index.d.ts.map +1 -0
- package/packages/shared-components/dist/FormFields/types.d.ts +5 -0
- package/packages/shared-components/dist/FormFields/types.d.ts.map +1 -0
- package/packages/shared-components/dist/Loader/FacebookCircularProgress.d.ts +3 -0
- package/packages/shared-components/dist/Loader/FacebookCircularProgress.d.ts.map +1 -0
- package/packages/shared-components/dist/Loader/index.d.ts +2 -0
- package/packages/shared-components/dist/Loader/index.d.ts.map +1 -0
- package/packages/shared-components/dist/PadBox/PadBox.d.ts +6 -0
- package/packages/shared-components/dist/PadBox/PadBox.d.ts.map +1 -0
- package/packages/shared-components/dist/PadBox/index.d.ts +2 -0
- package/packages/shared-components/dist/PadBox/index.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/Components/CellRenderer.d.ts +12 -0
- package/packages/shared-components/dist/SmartGrid/Components/CellRenderer.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/Components/CircularLoader.d.ts +2 -0
- package/packages/shared-components/dist/SmartGrid/Components/CircularLoader.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/Components/ColumnChooser/ColumnArranger.d.ts +21 -0
- package/packages/shared-components/dist/SmartGrid/Components/ColumnChooser/ColumnArranger.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/Components/ColumnChooser/ColumnArrangerDialog.d.ts +18 -0
- package/packages/shared-components/dist/SmartGrid/Components/ColumnChooser/ColumnArrangerDialog.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/Components/ColumnChooser/ColumnArrangerForm.d.ts +18 -0
- package/packages/shared-components/dist/SmartGrid/Components/ColumnChooser/ColumnArrangerForm.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/Components/ColumnChooser/ColumnItem.d.ts +17 -0
- package/packages/shared-components/dist/SmartGrid/Components/ColumnChooser/ColumnItem.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/Components/ColumnChooser/LockedColumnItem.d.ts +6 -0
- package/packages/shared-components/dist/SmartGrid/Components/ColumnChooser/LockedColumnItem.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/Components/ColumnChooser/hooks/useRefinedColumns.d.ts +13 -0
- package/packages/shared-components/dist/SmartGrid/Components/ColumnChooser/hooks/useRefinedColumns.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/Components/DataNotFound.d.ts +8 -0
- package/packages/shared-components/dist/SmartGrid/Components/DataNotFound.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/Components/EditableFields/SmartSelectField.d.ts +7 -0
- package/packages/shared-components/dist/SmartGrid/Components/EditableFields/SmartSelectField.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/Components/EditableFields/SmartTextField.d.ts +5 -0
- package/packages/shared-components/dist/SmartGrid/Components/EditableFields/SmartTextField.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/Components/EditableFields/SmartTooltip.d.ts +9 -0
- package/packages/shared-components/dist/SmartGrid/Components/EditableFields/SmartTooltip.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/Components/EditableFields/index.d.ts +4 -0
- package/packages/shared-components/dist/SmartGrid/Components/EditableFields/index.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/Components/FacetedFilter/FacetedFilter.d.ts +8 -0
- package/packages/shared-components/dist/SmartGrid/Components/FacetedFilter/FacetedFilter.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/Components/FacetedFilter/VirtualCheckboxList.d.ts +8 -0
- package/packages/shared-components/dist/SmartGrid/Components/FacetedFilter/VirtualCheckboxList.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/Components/FacetedFilter/hooks/useGetDynamicOptionData.d.ts +11 -0
- package/packages/shared-components/dist/SmartGrid/Components/FacetedFilter/hooks/useGetDynamicOptionData.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/Components/FilterStatusPanel.d.ts +9 -0
- package/packages/shared-components/dist/SmartGrid/Components/FilterStatusPanel.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/Components/Grouped/GroupAreaOverlay.d.ts +12 -0
- package/packages/shared-components/dist/SmartGrid/Components/Grouped/GroupAreaOverlay.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/Components/Grouped/GroupChip.d.ts +10 -0
- package/packages/shared-components/dist/SmartGrid/Components/Grouped/GroupChip.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/Components/Grouped/GroupedColumn.d.ts +8 -0
- package/packages/shared-components/dist/SmartGrid/Components/Grouped/GroupedColumn.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/Components/Grouped/GroupedPanel.d.ts +10 -0
- package/packages/shared-components/dist/SmartGrid/Components/Grouped/GroupedPanel.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/Components/HeaderCells/DraggableHeaderCell.d.ts +11 -0
- package/packages/shared-components/dist/SmartGrid/Components/HeaderCells/DraggableHeaderCell.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/Components/HeaderCells/DraggableHeaderGroupRows.d.ts +13 -0
- package/packages/shared-components/dist/SmartGrid/Components/HeaderCells/DraggableHeaderGroupRows.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/Components/HeaderCells/HeaderCell.d.ts +20 -0
- package/packages/shared-components/dist/SmartGrid/Components/HeaderCells/HeaderCell.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/Components/IndeterminateCheckbox.d.ts +11 -0
- package/packages/shared-components/dist/SmartGrid/Components/IndeterminateCheckbox.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/Components/SearchFilterRow/DateRangeInput/DateRangeInput.d.ts +8 -0
- package/packages/shared-components/dist/SmartGrid/Components/SearchFilterRow/DateRangeInput/DateRangeInput.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/Components/SearchFilterRow/DateRangeInput/StyleDateRangeWrapper.d.ts +6 -0
- package/packages/shared-components/dist/SmartGrid/Components/SearchFilterRow/DateRangeInput/StyleDateRangeWrapper.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/Components/SearchFilterRow/DebouncedInput.d.ts +12 -0
- package/packages/shared-components/dist/SmartGrid/Components/SearchFilterRow/DebouncedInput.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/Components/SearchFilterRow/GetRenderInputs.d.ts +9 -0
- package/packages/shared-components/dist/SmartGrid/Components/SearchFilterRow/GetRenderInputs.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/Components/SearchFilterRow/SearchFilterRow.d.ts +8 -0
- package/packages/shared-components/dist/SmartGrid/Components/SearchFilterRow/SearchFilterRow.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/Components/SmartAlignments.d.ts +9 -0
- package/packages/shared-components/dist/SmartGrid/Components/SmartAlignments.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/Components/SmartButton.d.ts +7 -0
- package/packages/shared-components/dist/SmartGrid/Components/SmartButton.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/Components/SmartDialog.d.ts +12 -0
- package/packages/shared-components/dist/SmartGrid/Components/SmartDialog.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/Components/SmartSwitch.d.ts +7 -0
- package/packages/shared-components/dist/SmartGrid/Components/SmartSwitch.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/Components/Svgs/ColumnArrangerSvg.d.ts +3 -0
- package/packages/shared-components/dist/SmartGrid/Components/Svgs/ColumnArrangerSvg.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/Components/Svgs/HideIcon.d.ts +3 -0
- package/packages/shared-components/dist/SmartGrid/Components/Svgs/HideIcon.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/Components/Svgs/HideIconSvg.d.ts +3 -0
- package/packages/shared-components/dist/SmartGrid/Components/Svgs/HideIconSvg.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/Components/TableFooterComponent/TableFooterComponent.d.ts +9 -0
- package/packages/shared-components/dist/SmartGrid/Components/TableFooterComponent/TableFooterComponent.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/Components/TableFooterComponent/components/FooterCell.d.ts +11 -0
- package/packages/shared-components/dist/SmartGrid/Components/TableFooterComponent/components/FooterCell.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/Components/TableRowComponent.d.ts +24 -0
- package/packages/shared-components/dist/SmartGrid/Components/TableRowComponent.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/Components/index.d.ts +2 -0
- package/packages/shared-components/dist/SmartGrid/Components/index.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/SmartGrid.d.ts +6 -0
- package/packages/shared-components/dist/SmartGrid/SmartGrid.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/context/CellSelectionContext.d.ts +23 -0
- package/packages/shared-components/dist/SmartGrid/context/CellSelectionContext.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/exportUtils/helper.d.ts +9 -0
- package/packages/shared-components/dist/SmartGrid/exportUtils/helper.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/exportUtils/index.d.ts +3 -0
- package/packages/shared-components/dist/SmartGrid/exportUtils/index.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/exportUtils/types.d.ts +49 -0
- package/packages/shared-components/dist/SmartGrid/exportUtils/types.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/hooks/index.d.ts +2 -0
- package/packages/shared-components/dist/SmartGrid/hooks/index.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/hooks/useCellSelection.d.ts +19 -0
- package/packages/shared-components/dist/SmartGrid/hooks/useCellSelection.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/hooks/useCopyToClipboard.d.ts +12 -0
- package/packages/shared-components/dist/SmartGrid/hooks/useCopyToClipboard.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/hooks/useExportToExcel.d.ts +7 -0
- package/packages/shared-components/dist/SmartGrid/hooks/useExportToExcel.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/hooks/useGetColumnWidth.d.ts +13 -0
- package/packages/shared-components/dist/SmartGrid/hooks/useGetColumnWidth.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/hooks/useGetDragMethods.d.ts +13 -0
- package/packages/shared-components/dist/SmartGrid/hooks/useGetDragMethods.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/hooks/useGetFacetedFilter.d.ts +13 -0
- package/packages/shared-components/dist/SmartGrid/hooks/useGetFacetedFilter.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/hooks/useGetGroupedColumn.d.ts +23 -0
- package/packages/shared-components/dist/SmartGrid/hooks/useGetGroupedColumn.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/hooks/useGetPinStyle.d.ts +4 -0
- package/packages/shared-components/dist/SmartGrid/hooks/useGetPinStyle.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/hooks/useGetPinningColumns.d.ts +11 -0
- package/packages/shared-components/dist/SmartGrid/hooks/useGetPinningColumns.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/hooks/useGetRowSelection.d.ts +11 -0
- package/packages/shared-components/dist/SmartGrid/hooks/useGetRowSelection.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/hooks/useGetSortedColumn.d.ts +11 -0
- package/packages/shared-components/dist/SmartGrid/hooks/useGetSortedColumn.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/hooks/useTableState.d.ts +5 -0
- package/packages/shared-components/dist/SmartGrid/hooks/useTableState.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/index.d.ts +5 -0
- package/packages/shared-components/dist/SmartGrid/index.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/types/index.d.ts +160 -0
- package/packages/shared-components/dist/SmartGrid/types/index.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/utils/helper.d.ts +3 -0
- package/packages/shared-components/dist/SmartGrid/utils/helper.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/utils/summaryCalculations.d.ts +10 -0
- package/packages/shared-components/dist/SmartGrid/utils/summaryCalculations.d.ts.map +1 -0
- package/packages/shared-components/dist/Toast/Toast.d.ts +10 -0
- package/packages/shared-components/dist/Toast/Toast.d.ts.map +1 -0
- package/packages/shared-components/dist/Toast/ToastBody.d.ts +4 -0
- package/packages/shared-components/dist/Toast/ToastBody.d.ts.map +1 -0
- package/packages/shared-components/dist/Toast/ToastFooterLink.d.ts +4 -0
- package/packages/shared-components/dist/Toast/ToastFooterLink.d.ts.map +1 -0
- package/packages/shared-components/dist/Toast/Toaster.d.ts +2 -0
- package/packages/shared-components/dist/Toast/Toaster.d.ts.map +1 -0
- package/packages/shared-components/dist/Toast/Toaster.styled.d.ts +6 -0
- package/packages/shared-components/dist/Toast/Toaster.styled.d.ts.map +1 -0
- package/packages/shared-components/dist/Toast/index.d.ts +3 -0
- package/packages/shared-components/dist/Toast/index.d.ts.map +1 -0
- package/packages/shared-components/dist/Toast/toasts.d.ts +3 -0
- package/packages/shared-components/dist/Toast/toasts.d.ts.map +1 -0
- package/packages/shared-components/dist/Toast/types.d.ts +15 -0
- package/packages/shared-components/dist/Toast/types.d.ts.map +1 -0
- package/packages/shared-components/dist/Tooltip/Tooltip.d.ts +11 -0
- package/packages/shared-components/dist/Tooltip/Tooltip.d.ts.map +1 -0
- package/packages/shared-components/dist/Tooltip/index.d.ts +2 -0
- package/packages/shared-components/dist/Tooltip/index.d.ts.map +1 -0
- package/packages/shared-components/dist/index.cjs.js +2 -0
- package/packages/shared-components/dist/index.cjs.js.map +1 -0
- package/packages/shared-components/dist/index.d.ts +9 -0
- package/packages/shared-components/dist/index.d.ts.map +1 -0
- package/packages/shared-components/dist/index.esm.js +2 -0
- package/packages/shared-components/dist/index.esm.js.map +1 -0
- package/packages/shared-components/dist/utils/CheckboxInput.d.ts +4 -0
- package/packages/shared-components/dist/utils/CheckboxInput.d.ts.map +1 -0
- package/packages/shared-components/dist/utils/colorVariant.d.ts +6 -0
- package/packages/shared-components/dist/utils/colorVariant.d.ts.map +1 -0
- package/packages/shared-components/dist/utils/context/NavigationKeyContext.d.ts +13 -0
- package/packages/shared-components/dist/utils/context/NavigationKeyContext.d.ts.map +1 -0
- package/packages/shared-components/dist/utils/context/NavigationRouterContext.d.ts +18 -0
- package/packages/shared-components/dist/utils/context/NavigationRouterContext.d.ts.map +1 -0
- package/packages/shared-components/dist/utils/context/index.d.ts +4 -0
- package/packages/shared-components/dist/utils/context/index.d.ts.map +1 -0
- package/packages/shared-components/dist/utils/date.d.ts +5 -0
- package/packages/shared-components/dist/utils/date.d.ts.map +1 -0
- package/packages/shared-components/dist/utils/download.d.ts +2 -0
- package/packages/shared-components/dist/utils/download.d.ts.map +1 -0
- package/packages/shared-components/dist/utils/downloadPrintHtml.d.ts +2 -0
- package/packages/shared-components/dist/utils/downloadPrintHtml.d.ts.map +1 -0
- package/packages/shared-components/dist/utils/file.d.ts +5 -0
- package/packages/shared-components/dist/utils/file.d.ts.map +1 -0
- package/packages/shared-components/dist/utils/helper.d.ts +10 -0
- package/packages/shared-components/dist/utils/helper.d.ts.map +1 -0
- package/packages/shared-components/dist/utils/hooks/index.d.ts +7 -0
- package/packages/shared-components/dist/utils/hooks/index.d.ts.map +1 -0
- package/packages/shared-components/dist/utils/hooks/useAutocompleteScrollToSelected.d.ts +5 -0
- package/packages/shared-components/dist/utils/hooks/useAutocompleteScrollToSelected.d.ts.map +1 -0
- package/packages/shared-components/dist/utils/hooks/useDialogActions.d.ts +16 -0
- package/packages/shared-components/dist/utils/hooks/useDialogActions.d.ts.map +1 -0
- package/packages/shared-components/dist/utils/hooks/useFormFieldFocus.d.ts +15 -0
- package/packages/shared-components/dist/utils/hooks/useFormFieldFocus.d.ts.map +1 -0
- package/packages/shared-components/dist/utils/hooks/useGetDeviceType.d.ts +8 -0
- package/packages/shared-components/dist/utils/hooks/useGetDeviceType.d.ts.map +1 -0
- package/packages/shared-components/dist/utils/hooks/useGlobalKeyboardShortcut.d.ts +12 -0
- package/packages/shared-components/dist/utils/hooks/useGlobalKeyboardShortcut.d.ts.map +1 -0
- package/packages/shared-components/dist/utils/hooks/useParseHref.d.ts +7 -0
- package/packages/shared-components/dist/utils/hooks/useParseHref.d.ts.map +1 -0
- package/packages/shared-components/dist/utils/hooks/useZoomLevel.d.ts +2 -0
- package/packages/shared-components/dist/utils/hooks/useZoomLevel.d.ts.map +1 -0
- package/packages/shared-components/dist/utils/index.d.ts +15 -0
- package/packages/shared-components/dist/utils/index.d.ts.map +1 -0
- package/packages/shared-components/dist/utils/regex.d.ts +10 -0
- package/packages/shared-components/dist/utils/regex.d.ts.map +1 -0
- package/packages/shared-components/dist/utils/theme/colorPalette.d.ts +24 -0
- package/packages/shared-components/dist/utils/theme/colorPalette.d.ts.map +1 -0
- package/packages/shared-components/dist/utils/theme/colorPaletteUI.d.ts +2 -0
- package/packages/shared-components/dist/utils/theme/colorPaletteUI.d.ts.map +1 -0
- package/packages/shared-components/dist/utils/theme/paletteDark.d.ts +8 -0
- package/packages/shared-components/dist/utils/theme/paletteDark.d.ts.map +1 -0
- package/packages/shared-components/dist/utils/theme/paletteLight.d.ts +3 -0
- package/packages/shared-components/dist/utils/theme/paletteLight.d.ts.map +1 -0
- package/packages/shared-components/dist/utils/theme/theme.d.ts +37 -0
- package/packages/shared-components/dist/utils/theme/theme.d.ts.map +1 -0
- package/packages/shared-components/dist/utils/theme/types.d.ts +14 -0
- package/packages/shared-components/dist/utils/theme/types.d.ts.map +1 -0
- package/packages/shared-components/dist/utils/theme/typography.d.ts +12 -0
- package/packages/shared-components/dist/utils/theme/typography.d.ts.map +1 -0
- package/packages/shared-components/dist/utils/types.d.ts +9 -0
- package/packages/shared-components/dist/utils/types.d.ts.map +1 -0
- package/packages/shared-components/dist/utils/urlToNestedObject.d.ts +2 -0
- package/packages/shared-components/dist/utils/urlToNestedObject.d.ts.map +1 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Header } from "@tanstack/react-table";
|
|
2
|
+
type UseGetDynamicOptionDataArgs<T> = {
|
|
3
|
+
header: Header<T, unknown>;
|
|
4
|
+
isOpen: boolean;
|
|
5
|
+
searchValue: string;
|
|
6
|
+
};
|
|
7
|
+
export declare const useGetDynamicOptionData: <T>({ header, isOpen, searchValue, }: UseGetDynamicOptionDataArgs<T>) => {
|
|
8
|
+
filteredOptions: string[];
|
|
9
|
+
};
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=useGetDynamicOptionData.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useGetDynamicOptionData.d.ts","sourceRoot":"","sources":["../../../../../src/SmartGrid/Components/FacetedFilter/hooks/useGetDynamicOptionData.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAEpD,KAAK,2BAA2B,CAAC,CAAC,IAAI;IACpC,MAAM,EAAE,MAAM,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC;IAC3B,MAAM,EAAE,OAAO,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,uBAAuB,GAAI,CAAC,EAAG,kCAIzC,2BAA2B,CAAC,CAAC,CAAC;;CAsChC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { OnAction } from "../../utils/types";
|
|
2
|
+
import type { Table } from "@tanstack/react-table";
|
|
3
|
+
type FilterStatusPanelProps<T> = {
|
|
4
|
+
clearAllFilters: OnAction;
|
|
5
|
+
table: Table<T>;
|
|
6
|
+
};
|
|
7
|
+
export declare const FilterStatusPanel: <T>({ clearAllFilters, table, }: FilterStatusPanelProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=FilterStatusPanel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FilterStatusPanel.d.ts","sourceRoot":"","sources":["../../../src/SmartGrid/Components/FilterStatusPanel.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAElD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAEnD,KAAK,sBAAsB,CAAC,CAAC,IAAI;IAC/B,eAAe,EAAE,QAAQ,CAAC;IAC1B,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,CAAC,EAAG,6BAGnC,sBAAsB,CAAC,CAAC,CAAC,4CAkP3B,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { Table } from "@tanstack/react-table";
|
|
2
|
+
type GroupAreaOverlayProps<T> = {
|
|
3
|
+
activeDragId: string | null;
|
|
4
|
+
activeDragOver: string | null;
|
|
5
|
+
table: Table<T>;
|
|
6
|
+
defaultGrouping: Array<keyof T>;
|
|
7
|
+
isOutsideGrid?: boolean;
|
|
8
|
+
currentGrouping?: string[];
|
|
9
|
+
};
|
|
10
|
+
export declare const GroupAreaOverlay: <T>({ activeDragId, activeDragOver, table, defaultGrouping, isOutsideGrid, currentGrouping, }: GroupAreaOverlayProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=GroupAreaOverlay.d.ts.map
|
package/packages/shared-components/dist/SmartGrid/Components/Grouped/GroupAreaOverlay.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GroupAreaOverlay.d.ts","sourceRoot":"","sources":["../../../../src/SmartGrid/Components/Grouped/GroupAreaOverlay.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAEnD,KAAK,qBAAqB,CAAC,CAAC,IAAI;IAC9B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC;IAChB,eAAe,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC;IAChC,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,CAAC,EAAG,2FAOlC,qBAAqB,CAAC,CAAC,CAAC,4CA4I1B,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Table } from "@tanstack/react-table";
|
|
2
|
+
type GroupChipProps<T> = {
|
|
3
|
+
columnId: string;
|
|
4
|
+
onRemove: (columnId: string) => void;
|
|
5
|
+
table: Table<T>;
|
|
6
|
+
defaultGrouping: Array<keyof T>;
|
|
7
|
+
};
|
|
8
|
+
export declare const GroupChip: <T>({ columnId, onRemove, table, defaultGrouping, }: GroupChipProps<T>) => import("react/jsx-runtime").JSX.Element | null;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=GroupChip.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GroupChip.d.ts","sourceRoot":"","sources":["../../../../src/SmartGrid/Components/Grouped/GroupChip.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAEnD,KAAK,cAAc,CAAC,CAAC,IAAI;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC;IAChB,eAAe,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC;CACjC,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI,CAAC,EAAG,iDAK3B,cAAc,CAAC,CAAC,CAAC,mDA6InB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Row } from "@tanstack/react-table";
|
|
2
|
+
type GroupedColumnProps<T> = {
|
|
3
|
+
row: Row<T>;
|
|
4
|
+
isSummaryRow: boolean;
|
|
5
|
+
};
|
|
6
|
+
export declare const GroupedColumn: <T>({ row, isSummaryRow, }: GroupedColumnProps<T>) => import("react/jsx-runtime").JSX.Element | null;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=GroupedColumn.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GroupedColumn.d.ts","sourceRoot":"","sources":["../../../../src/SmartGrid/Components/Grouped/GroupedColumn.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,uBAAuB,CAAC;AAEjD,KAAK,kBAAkB,CAAC,CAAC,IAAI;IAC3B,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC;IACZ,YAAY,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,CAAC,EAAG,wBAG/B,kBAAkB,CAAC,CAAC,CAAC,mDAiGvB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { useTableState } from "../../hooks/useTableState";
|
|
2
|
+
type GroupingPanelProps<T> = {
|
|
3
|
+
groupedColumns: string[];
|
|
4
|
+
onRemoveGroup: (columnId: string) => void;
|
|
5
|
+
table: ReturnType<typeof useTableState<T>>["table"];
|
|
6
|
+
defaultGrouping: Array<keyof T>;
|
|
7
|
+
};
|
|
8
|
+
export declare const GroupedPanel: <T>({ groupedColumns, onRemoveGroup, table, defaultGrouping, }: GroupingPanelProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=GroupedPanel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GroupedPanel.d.ts","sourceRoot":"","sources":["../../../../src/SmartGrid/Components/Grouped/GroupedPanel.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAE/D,KAAK,kBAAkB,CAAC,CAAC,IAAI;IAC3B,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,aAAa,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,KAAK,EAAE,UAAU,CAAC,OAAO,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC;IACpD,eAAe,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC;CACjC,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,CAAC,EAAG,4DAK9B,kBAAkB,CAAC,CAAC,CAAC,4CAyGvB,CAAC"}
|
package/packages/shared-components/dist/SmartGrid/Components/HeaderCells/DraggableHeaderCell.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Header } from "@tanstack/react-table";
|
|
2
|
+
type DraggableHeaderCellProps<T> = {
|
|
3
|
+
defaultGrouping?: (keyof T)[];
|
|
4
|
+
header: Header<T, unknown>;
|
|
5
|
+
isReorderable?: boolean;
|
|
6
|
+
loading: boolean;
|
|
7
|
+
resetAllFilters: boolean;
|
|
8
|
+
};
|
|
9
|
+
export declare const DraggableHeaderCell: <T>({ defaultGrouping, header, isReorderable, loading, resetAllFilters, }: DraggableHeaderCellProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=DraggableHeaderCell.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DraggableHeaderCell.d.ts","sourceRoot":"","sources":["../../../../src/SmartGrid/Components/HeaderCells/DraggableHeaderCell.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAEpD,KAAK,wBAAwB,CAAC,CAAC,IAAI;IACjC,eAAe,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC;IAC9B,MAAM,EAAE,MAAM,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC;IAC3B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,OAAO,EAAE,OAAO,CAAC;IACjB,eAAe,EAAE,OAAO,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAI,CAAC,EAAG,uEAMrC,wBAAwB,CAAC,CAAC,CAAC,4CAiC7B,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { Header, HeaderGroup } from "@tanstack/react-table";
|
|
2
|
+
type DraggableHeaderGroupRowsProps<T> = {
|
|
3
|
+
defaultGrouping: (keyof T)[];
|
|
4
|
+
enableSecondRowFilter: boolean;
|
|
5
|
+
headerGroup: HeaderGroup<T>;
|
|
6
|
+
isHeaderReorderable: (header: Header<T, unknown>, isLeafGroup: boolean) => boolean;
|
|
7
|
+
loading: boolean;
|
|
8
|
+
resetAllFilters: boolean;
|
|
9
|
+
swipeableColumns: boolean;
|
|
10
|
+
};
|
|
11
|
+
export declare const DraggableHeaderGroupRows: <T>({ defaultGrouping, enableSecondRowFilter, headerGroup, isHeaderReorderable, loading, resetAllFilters, swipeableColumns, }: DraggableHeaderGroupRowsProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=DraggableHeaderGroupRows.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DraggableHeaderGroupRows.d.ts","sourceRoot":"","sources":["../../../../src/SmartGrid/Components/HeaderCells/DraggableHeaderGroupRows.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;IACtC,eAAe,EAAE,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC;IAC7B,qBAAqB,EAAE,OAAO,CAAC;IAC/B,WAAW,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC;IAC5B,mBAAmB,EAAE,CACnB,MAAM,EAAE,MAAM,CAAC,CAAC,EAAE,OAAO,CAAC,EAC1B,WAAW,EAAE,OAAO,KACjB,OAAO,CAAC;IACb,OAAO,EAAE,OAAO,CAAC;IACjB,eAAe,EAAE,OAAO,CAAC;IACzB,gBAAgB,EAAE,OAAO,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,wBAAwB,GAAI,CAAC,EAAG,2HAQ1C,6BAA6B,CAAC,CAAC,CAAC,4CA2FlC,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { type Header } from "@tanstack/react-table";
|
|
2
|
+
import type { DraggableAttributes } from "@dnd-kit/core";
|
|
3
|
+
import type { Transform } from "@dnd-kit/utilities";
|
|
4
|
+
type HeaderCellProps<T> = {
|
|
5
|
+
defaultGrouping?: (keyof T)[];
|
|
6
|
+
dragAttributes?: DraggableAttributes;
|
|
7
|
+
dragListeners?: Record<string, unknown>;
|
|
8
|
+
dragRef?: (node: HTMLTableCellElement | null) => void;
|
|
9
|
+
dragTransform?: Transform | null;
|
|
10
|
+
dragTransition?: string;
|
|
11
|
+
header: Header<T, unknown>;
|
|
12
|
+
isDragOver?: boolean;
|
|
13
|
+
isDragging?: boolean;
|
|
14
|
+
isReorderable?: boolean;
|
|
15
|
+
loading: boolean;
|
|
16
|
+
resetAllFilters: boolean;
|
|
17
|
+
};
|
|
18
|
+
export declare const HeaderCell: <T>({ dragAttributes, dragListeners, dragRef, dragTransform, dragTransition, header, isDragOver, isDragging, isReorderable, loading, resetAllFilters, }: HeaderCellProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export {};
|
|
20
|
+
//# sourceMappingURL=HeaderCell.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HeaderCell.d.ts","sourceRoot":"","sources":["../../../../src/SmartGrid/Components/HeaderCells/HeaderCell.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,MAAM,EAAc,MAAM,uBAAuB,CAAC;AAMhE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAEpD,KAAK,eAAe,CAAC,CAAC,IAAI;IACxB,eAAe,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC;IAC9B,cAAc,CAAC,EAAE,mBAAmB,CAAC;IACrC,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACxC,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,oBAAoB,GAAG,IAAI,KAAK,IAAI,CAAC;IACtD,aAAa,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;IACjC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,MAAM,EAAE,MAAM,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC;IAC3B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,OAAO,EAAE,OAAO,CAAC;IACjB,eAAe,EAAE,OAAO,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,CAAC,EAAG,qJAY5B,eAAe,CAAC,CAAC,CAAC,4CAqLpB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type CheckboxProps } from "@mui/material";
|
|
2
|
+
import type { ChangeEvent } from "react";
|
|
3
|
+
type IndeterminateCheckboxProps = {
|
|
4
|
+
checked?: boolean;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
indeterminate?: boolean;
|
|
7
|
+
onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
8
|
+
} & Omit<CheckboxProps, "checked" | "disabled" | "indeterminate" | "onChange">;
|
|
9
|
+
export declare const IndeterminateCheckbox: ({ checked, disabled, indeterminate, onChange, ...rest }: IndeterminateCheckboxProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=IndeterminateCheckbox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IndeterminateCheckbox.d.ts","sourceRoot":"","sources":["../../../src/SmartGrid/Components/IndeterminateCheckbox.tsx"],"names":[],"mappings":"AACA,OAAO,EAAiB,KAAK,aAAa,EAAY,MAAM,eAAe,CAAC;AAE5E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAEzC,KAAK,0BAA0B,GAAG;IAChC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;CAC3D,GAAG,IAAI,CAAC,aAAa,EAAE,SAAS,GAAG,UAAU,GAAG,eAAe,GAAG,UAAU,CAAC,CAAC;AAE/E,eAAO,MAAM,qBAAqB,GAAI,yDAMnC,0BAA0B,4CAqC5B,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
type DateRangeInputProps = {
|
|
2
|
+
initialValue?: string[];
|
|
3
|
+
onApply: (dates: string[]) => void;
|
|
4
|
+
width: string | number;
|
|
5
|
+
};
|
|
6
|
+
export declare const DateRangeInput: ({ initialValue, onApply, width, }: DateRangeInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=DateRangeInput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DateRangeInput.d.ts","sourceRoot":"","sources":["../../../../../src/SmartGrid/Components/SearchFilterRow/DateRangeInput/DateRangeInput.tsx"],"names":[],"mappings":"AAoBA,KAAK,mBAAmB,GAAG;IACzB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IACnC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;CACxB,CAAC;AAYF,eAAO,MAAM,cAAc,GAAI,mCAI5B,mBAAmB,4CAyLrB,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
type StyleDateRangeWrapperProps = {
|
|
2
|
+
children: React.ReactNode;
|
|
3
|
+
};
|
|
4
|
+
export declare const StyleDateRangeWrapper: ({ children, }: StyleDateRangeWrapperProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export {};
|
|
6
|
+
//# sourceMappingURL=StyleDateRangeWrapper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StyleDateRangeWrapper.d.ts","sourceRoot":"","sources":["../../../../../src/SmartGrid/Components/SearchFilterRow/DateRangeInput/StyleDateRangeWrapper.tsx"],"names":[],"mappings":"AAAA,KAAK,0BAA0B,GAAG;IAChC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,eAEnC,0BAA0B,4CAwH5B,CAAC"}
|
package/packages/shared-components/dist/SmartGrid/Components/SearchFilterRow/DebouncedInput.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type TextFieldProps } from "@mui/material";
|
|
2
|
+
type DebouncedInputProps = {
|
|
3
|
+
debounce?: number;
|
|
4
|
+
inputFontSize?: string;
|
|
5
|
+
inputHeight?: string;
|
|
6
|
+
onChange: (value: string) => void;
|
|
7
|
+
type?: "text" | "number" | "date";
|
|
8
|
+
value: string;
|
|
9
|
+
} & Omit<TextFieldProps, "onChange" | "value" | "type">;
|
|
10
|
+
export declare const DebouncedInput: ({ debounce, inputFontSize, inputHeight, onChange, type, value: initialValue, ...props }: DebouncedInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=DebouncedInput.d.ts.map
|
package/packages/shared-components/dist/SmartGrid/Components/SearchFilterRow/DebouncedInput.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DebouncedInput.d.ts","sourceRoot":"","sources":["../../../../src/SmartGrid/Components/SearchFilterRow/DebouncedInput.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,eAAe,CAAC;AAI/D,KAAK,mBAAmB,GAAG;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,IAAI,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAC;IAClC,KAAK,EAAE,MAAM,CAAC;CACf,GAAG,IAAI,CAAC,cAAc,EAAE,UAAU,GAAG,OAAO,GAAG,MAAM,CAAC,CAAC;AAExD,eAAO,MAAM,cAAc,GAAI,yFAQ5B,mBAAmB,4CAkDrB,CAAC"}
|
package/packages/shared-components/dist/SmartGrid/Components/SearchFilterRow/GetRenderInputs.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { Header } from "@tanstack/react-table";
|
|
2
|
+
type GetRenderInputsProps<T> = {
|
|
3
|
+
filterVariant?: "smartTextFilter" | "smartNumberFilter" | "smartDateFilter" | "smartSelectFilter";
|
|
4
|
+
header: Header<T, unknown>;
|
|
5
|
+
resetAllFilters: boolean;
|
|
6
|
+
};
|
|
7
|
+
export declare const GetRenderInputs: <T>({ filterVariant, header, resetAllFilters, }: GetRenderInputsProps<T>) => import("react/jsx-runtime").JSX.Element | null;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=GetRenderInputs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetRenderInputs.d.ts","sourceRoot":"","sources":["../../../../src/SmartGrid/Components/SearchFilterRow/GetRenderInputs.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAEpD,KAAK,oBAAoB,CAAC,CAAC,IAAI;IAC7B,aAAa,CAAC,EACV,iBAAiB,GACjB,mBAAmB,GACnB,iBAAiB,GACjB,mBAAmB,CAAC;IACxB,MAAM,EAAE,MAAM,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC;IAC3B,eAAe,EAAE,OAAO,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,CAAC,EAAG,6CAIjC,oBAAoB,CAAC,CAAC,CAAC,mDA+HzB,CAAC"}
|
package/packages/shared-components/dist/SmartGrid/Components/SearchFilterRow/SearchFilterRow.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Header } from "@tanstack/react-table";
|
|
2
|
+
type SearchFilterRowProps<T> = {
|
|
3
|
+
header: Header<T, unknown>;
|
|
4
|
+
resetAllFilters: boolean;
|
|
5
|
+
};
|
|
6
|
+
export declare const SearchFilterRow: <T>({ header, resetAllFilters, }: SearchFilterRowProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=SearchFilterRow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchFilterRow.d.ts","sourceRoot":"","sources":["../../../../src/SmartGrid/Components/SearchFilterRow/SearchFilterRow.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAEpD,KAAK,oBAAoB,CAAC,CAAC,IAAI;IAC7B,MAAM,EAAE,MAAM,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC;IAC3B,eAAe,EAAE,OAAO,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,CAAC,EAAG,8BAGjC,oBAAoB,CAAC,CAAC,CAAC,4CA+CzB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type FieldValues, type UseControllerProps } from "react-hook-form";
|
|
2
|
+
import type { SmartColumnAlignmentType } from "../types";
|
|
3
|
+
type SmartAlignmentsProps<P extends FieldValues> = Omit<UseControllerProps<P>, "defaultValue"> & {
|
|
4
|
+
defaultValue?: SmartColumnAlignmentType;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
};
|
|
7
|
+
export declare const SmartAlignments: <P extends FieldValues>({ name, control, defaultValue, rules, disabled, }: SmartAlignmentsProps<P>) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=SmartAlignments.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SmartAlignments.d.ts","sourceRoot":"","sources":["../../../src/SmartGrid/Components/SmartAlignments.tsx"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,WAAW,EAChB,KAAK,kBAAkB,EACxB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AASzD,KAAK,oBAAoB,CAAC,CAAC,SAAS,WAAW,IAAI,IAAI,CACrD,kBAAkB,CAAC,CAAC,CAAC,EACrB,cAAc,CACf,GAAG;IACF,YAAY,CAAC,EAAE,wBAAwB,CAAC;IACxC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,CAAC,SAAS,WAAW,EAAE,mDAMpD,oBAAoB,CAAC,CAAC,CAAC,4CAgFzB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ButtonHTMLAttributes, ReactNode } from "react";
|
|
2
|
+
type SmartButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
3
|
+
children: ReactNode;
|
|
4
|
+
};
|
|
5
|
+
export declare const SmartButton: ({ children, style, ...props }: SmartButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export {};
|
|
7
|
+
//# sourceMappingURL=SmartButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SmartButton.d.ts","sourceRoot":"","sources":["../../../src/SmartGrid/Components/SmartButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE7D,KAAK,gBAAgB,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,GAAG;IAChE,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,+BAIzB,gBAAgB,4CAsBlB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { ReactNode } from "react";
|
|
3
|
+
type SmartDialogProps = {
|
|
4
|
+
open: boolean;
|
|
5
|
+
onClose: () => void;
|
|
6
|
+
children: React.ReactNode;
|
|
7
|
+
width?: number | string;
|
|
8
|
+
actions?: ReactNode;
|
|
9
|
+
};
|
|
10
|
+
export declare function SmartDialog({ open, onClose, children, width, actions, }: Readonly<SmartDialogProps>): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=SmartDialog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SmartDialog.d.ts","sourceRoot":"","sources":["../../../src/SmartGrid/Components/SmartDialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAEjD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,KAAK,gBAAgB,GAAG;IACtB,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,OAAO,CAAC,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,wBAAgB,WAAW,CAAC,EAC1B,IAAI,EACJ,OAAO,EACP,QAAQ,EACR,KAAW,EACX,OAAO,GACR,EAAE,QAAQ,CAAC,gBAAgB,CAAC,2CAuD5B"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type FieldValues, type UseControllerProps } from "react-hook-form";
|
|
2
|
+
type SmartSwitchProps<P extends FieldValues> = UseControllerProps<P> & {
|
|
3
|
+
label?: string;
|
|
4
|
+
};
|
|
5
|
+
export declare const SmartSwitch: <P extends FieldValues>({ name, control, defaultValue, rules, label, }: SmartSwitchProps<P>) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export {};
|
|
7
|
+
//# sourceMappingURL=SmartSwitch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SmartSwitch.d.ts","sourceRoot":"","sources":["../../../src/SmartGrid/Components/SmartSwitch.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,WAAW,EAChB,KAAK,kBAAkB,EACxB,MAAM,iBAAiB,CAAC;AAIzB,KAAK,gBAAgB,CAAC,CAAC,SAAS,WAAW,IAAI,kBAAkB,CAAC,CAAC,CAAC,GAAG;IACrE,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,CAAC,SAAS,WAAW,EAAE,gDAMhD,gBAAgB,CAAC,CAAC,CAAC,4CAqErB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ColumnArrangerSvg.d.ts","sourceRoot":"","sources":["../../../../src/SmartGrid/Components/Svgs/ColumnArrangerSvg.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEtC,eAAO,MAAM,iBAAiB,GAAI,OAAO,QAAQ,CAAC,aAAa,CAAC,4CA6B/D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HideIcon.d.ts","sourceRoot":"","sources":["../../../../src/SmartGrid/Components/Svgs/HideIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEtC,eAAO,MAAM,QAAQ,GAAI,OAAO,QAAQ,CAAC,aAAa,CAAC,4CA0BtD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HideIconSvg.d.ts","sourceRoot":"","sources":["../../../../src/SmartGrid/Components/Svgs/HideIconSvg.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEtC,eAAO,MAAM,WAAW,GAAI,OAAO,QAAQ,CAAC,aAAa,CAAC,4CA0BzD,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { SummaryRecord } from "../../types";
|
|
2
|
+
import type { Table } from "@tanstack/react-table";
|
|
3
|
+
type TableFooterProps<T> = {
|
|
4
|
+
summary?: SummaryRecord<T>;
|
|
5
|
+
table: Table<T>;
|
|
6
|
+
};
|
|
7
|
+
export declare function TableFooterComponent<T>({ summary, table, }: Readonly<TableFooterProps<T>>): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=TableFooterComponent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TableFooterComponent.d.ts","sourceRoot":"","sources":["../../../../src/SmartGrid/Components/TableFooterComponent/TableFooterComponent.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAQ,aAAa,EAAE,MAAM,aAAa,CAAC;AACvD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAEnD,KAAK,gBAAgB,CAAC,CAAC,IAAI;IACzB,OAAO,CAAC,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;IAC3B,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC;CACjB,CAAC;AAEF,wBAAgB,oBAAoB,CAAC,CAAC,EAAE,EACtC,OAAO,EACP,KAAK,GACN,EAAE,QAAQ,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,2CAwD/B"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { SummaryValue } from "../../../types";
|
|
2
|
+
import type { Column } from "@tanstack/react-table";
|
|
3
|
+
type FooterCellProps<T> = {
|
|
4
|
+
col: Column<T, unknown>;
|
|
5
|
+
colIndex: number;
|
|
6
|
+
orderedColumns: Column<T, unknown>[];
|
|
7
|
+
summaryValue?: SummaryValue;
|
|
8
|
+
};
|
|
9
|
+
export declare function FooterCell<T>({ col, colIndex, orderedColumns, summaryValue, }: Readonly<FooterCellProps<T>>): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=FooterCell.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FooterCell.d.ts","sourceRoot":"","sources":["../../../../../src/SmartGrid/Components/TableFooterComponent/components/FooterCell.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAGpD,KAAK,eAAe,CAAC,CAAC,IAAI;IACxB,GAAG,EAAE,MAAM,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC;IACxB,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,MAAM,CAAC,CAAC,EAAE,OAAO,CAAC,EAAE,CAAC;IACrC,YAAY,CAAC,EAAE,YAAY,CAAC;CAC7B,CAAC;AAEF,wBAAgB,UAAU,CAAC,CAAC,EAAE,EAC5B,GAAG,EACH,QAAQ,EACR,cAAc,EACd,YAAY,GACb,EAAE,QAAQ,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,2CAuD9B"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { SummaryRecord } from "../types";
|
|
2
|
+
import type { GroupingState, Row } from "@tanstack/react-table";
|
|
3
|
+
import type { VirtualItem } from "@tanstack/react-virtual";
|
|
4
|
+
import type { CSSProperties } from "react";
|
|
5
|
+
type TableRowComponentProps<T> = {
|
|
6
|
+
columnWidths: number[];
|
|
7
|
+
exportActions?: Array<{
|
|
8
|
+
label: string;
|
|
9
|
+
onClick: () => void;
|
|
10
|
+
}>;
|
|
11
|
+
exportData?: boolean;
|
|
12
|
+
grouping?: GroupingState;
|
|
13
|
+
index: number;
|
|
14
|
+
isSummaryRow?: boolean;
|
|
15
|
+
row: Row<T>;
|
|
16
|
+
rowHeight: number;
|
|
17
|
+
summaryData?: SummaryRecord<T>;
|
|
18
|
+
virtualRow: VirtualItem;
|
|
19
|
+
baseRowStyle?: CSSProperties | ((row: T) => CSSProperties);
|
|
20
|
+
onRowActivate?: (row: T) => void;
|
|
21
|
+
};
|
|
22
|
+
export declare const TableRowComponent: <T>({ columnWidths, exportActions, exportData, grouping, index, isSummaryRow, row, rowHeight, summaryData, virtualRow, baseRowStyle, onRowActivate, }: TableRowComponentProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
export {};
|
|
24
|
+
//# sourceMappingURL=TableRowComponent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TableRowComponent.d.ts","sourceRoot":"","sources":["../../../src/SmartGrid/Components/TableRowComponent.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAgB,aAAa,EAAE,MAAM,UAAU,CAAC;AAC5D,OAAO,KAAK,EAAE,aAAa,EAAE,GAAG,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,EAAE,aAAa,EAAc,MAAM,OAAO,CAAC;AAEvD,KAAK,sBAAsB,CAAC,CAAC,IAAI;IAC/B,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,aAAa,CAAC,EAAE,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,IAAI,CAAA;KAAE,CAAC,CAAC;IAC9D,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,aAAa,CAAC;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC;IACZ,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;IAC/B,UAAU,EAAE,WAAW,CAAC;IACxB,YAAY,CAAC,EAAE,aAAa,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,KAAK,aAAa,CAAC,CAAC;IAC3D,aAAa,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,IAAI,CAAC;CAClC,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,CAAC,EAAG,mJAanC,sBAAsB,CAAC,CAAC,CAAC,4CA6Y3B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/SmartGrid/Components/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { SmartGridProps } from "./types";
|
|
3
|
+
type SmartGridType = React.ForwardRefExoticComponent<SmartGridProps<unknown>> & (<GenericType>(props: SmartGridProps<GenericType>) => JSX.Element);
|
|
4
|
+
export declare const SmartGrid: SmartGridType;
|
|
5
|
+
export {};
|
|
6
|
+
//# sourceMappingURL=SmartGrid.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SmartGrid.d.ts","sourceRoot":"","sources":["../../src/SmartGrid/SmartGrid.tsx"],"names":[],"mappings":"AAKA,OAAO,KAQN,MAAM,OAAO,CAAC;AAwBf,OAAO,KAAK,EAEV,cAAc,EAGf,MAAM,SAAS,CAAC;AA8BjB,KAAK,aAAa,GAAG,KAAK,CAAC,yBAAyB,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,GAC3E,CAAC,CAAC,WAAW,EAAE,KAAK,EAAE,cAAc,CAAC,WAAW,CAAC,KAAK,GAAG,CAAC,OAAO,CAAC,CAAC;AAErE,eAAO,MAAM,SAAS,EAsvBjB,aAAa,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { OnAction } from "../../utils/types";
|
|
2
|
+
import type { CellSelectionState } from "../types";
|
|
3
|
+
import type { ReactNode } from "react";
|
|
4
|
+
type CellSelectionContextType = {
|
|
5
|
+
clearCellSelection: OnAction;
|
|
6
|
+
enabled: boolean;
|
|
7
|
+
endCellSelection: OnAction;
|
|
8
|
+
getCellSelectionData: () => string[][];
|
|
9
|
+
isCellSelected: (rowId: string, columnId: string) => boolean;
|
|
10
|
+
isCopyFlashing: boolean;
|
|
11
|
+
selectionState: CellSelectionState;
|
|
12
|
+
startCellSelection: (rowId: string, columnId: string, isShiftClick?: boolean) => void;
|
|
13
|
+
triggerCopyFlash: OnAction;
|
|
14
|
+
updateCellSelection: (rowId: string, columnId: string) => void;
|
|
15
|
+
};
|
|
16
|
+
type CellSelectionProviderProps = {
|
|
17
|
+
children: ReactNode;
|
|
18
|
+
value: CellSelectionContextType;
|
|
19
|
+
};
|
|
20
|
+
export declare const CellSelectionProvider: ({ children, value, }: CellSelectionProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
export declare const useCellSelectionContext: () => CellSelectionContextType;
|
|
22
|
+
export {};
|
|
23
|
+
//# sourceMappingURL=CellSelectionContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CellSelectionContext.d.ts","sourceRoot":"","sources":["../../../src/SmartGrid/context/CellSelectionContext.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AACnD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,KAAK,wBAAwB,GAAG;IAC9B,kBAAkB,EAAE,QAAQ,CAAC;IAC7B,OAAO,EAAE,OAAO,CAAC;IACjB,gBAAgB,EAAE,QAAQ,CAAC;IAC3B,oBAAoB,EAAE,MAAM,MAAM,EAAE,EAAE,CAAC;IACvC,cAAc,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,OAAO,CAAC;IAC7D,cAAc,EAAE,OAAO,CAAC;IACxB,cAAc,EAAE,kBAAkB,CAAC;IACnC,kBAAkB,EAAE,CAClB,KAAK,EAAE,MAAM,EACb,QAAQ,EAAE,MAAM,EAChB,YAAY,CAAC,EAAE,OAAO,KACnB,IAAI,CAAC;IACV,gBAAgB,EAAE,QAAQ,CAAC;IAC3B,mBAAmB,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;CAChE,CAAC;AAMF,KAAK,0BAA0B,GAAG;IAChC,QAAQ,EAAE,SAAS,CAAC;IACpB,KAAK,EAAE,wBAAwB,CAAC;CACjC,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,sBAGnC,0BAA0B,4CAM5B,CAAC;AAEF,eAAO,MAAM,uBAAuB,QAAO,wBAU1C,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { CellValue, ExcelRow, VisibleColumn } from "./types";
|
|
2
|
+
export declare function getColumnLabel(col: VisibleColumn): string;
|
|
3
|
+
export declare function createEmptyRow(headers: string[]): Record<string, CellValue>;
|
|
4
|
+
export declare function createEmptyTotals(numericCols: Set<string>): Record<string, number>;
|
|
5
|
+
export declare const toCellValue: (input: unknown) => CellValue;
|
|
6
|
+
export declare const formatCellForExcel: (value: CellValue, rowType: ExcelRow["type"], isGroupingColumn: boolean) => CellValue;
|
|
7
|
+
export declare function extractTextForWidth(cellValue: unknown): string;
|
|
8
|
+
export declare const hslaToArgb: (hsla: string) => string;
|
|
9
|
+
//# sourceMappingURL=helper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helper.d.ts","sourceRoot":"","sources":["../../../src/SmartGrid/exportUtils/helper.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAGlE,wBAAgB,cAAc,CAAC,GAAG,EAAE,aAAa,GAAG,MAAM,CAIzD;AAGD,wBAAgB,cAAc,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAE3E;AAGD,wBAAgB,iBAAiB,CAC/B,WAAW,EAAE,GAAG,CAAC,MAAM,CAAC,GACvB,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAExB;AAGD,eAAO,MAAM,WAAW,GAAI,OAAO,OAAO,KAAG,SAyB5C,CAAC;AAGF,eAAO,MAAM,kBAAkB,GAC7B,OAAO,SAAS,EAChB,SAAS,QAAQ,CAAC,MAAM,CAAC,EACzB,kBAAkB,OAAO,KACxB,SAcF,CAAC;AAGF,wBAAgB,mBAAmB,CAAC,SAAS,EAAE,OAAO,GAAG,MAAM,CAc9D;AAED,eAAO,MAAM,UAAU,GAAI,MAAM,MAAM,KAAG,MA6BzC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/SmartGrid/exportUtils/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
export type ColumnName<T> = Extract<keyof T, string>;
|
|
2
|
+
export type CellValue = string | number | boolean | Date | null;
|
|
3
|
+
export type ExcelRow = {
|
|
4
|
+
data: Record<string, CellValue>;
|
|
5
|
+
type: "group" | "data" | "total";
|
|
6
|
+
};
|
|
7
|
+
export type VisibleColumn = {
|
|
8
|
+
columnDef: {
|
|
9
|
+
header?: string;
|
|
10
|
+
};
|
|
11
|
+
id: string;
|
|
12
|
+
};
|
|
13
|
+
export type GroupStackItem = {
|
|
14
|
+
count: number;
|
|
15
|
+
id: string;
|
|
16
|
+
totals: Record<string, number>;
|
|
17
|
+
};
|
|
18
|
+
export type ExportOptions<T = Record<string, unknown>> = {
|
|
19
|
+
excludedColumns?: ColumnName<T>[];
|
|
20
|
+
fileName: string;
|
|
21
|
+
numericColumns?: ColumnName<T>[];
|
|
22
|
+
};
|
|
23
|
+
export type ExcelColors = {
|
|
24
|
+
BORDER: string;
|
|
25
|
+
HEADER_BG: string;
|
|
26
|
+
};
|
|
27
|
+
export type RowProcessingContext = {
|
|
28
|
+
builtRows: ExcelRow[];
|
|
29
|
+
colIdToHeader: Record<string, string>;
|
|
30
|
+
filteredVisibleCols: VisibleColumn[];
|
|
31
|
+
groupStack: GroupStackItem[];
|
|
32
|
+
groupingColumnNames: string[];
|
|
33
|
+
hasGrouping: boolean;
|
|
34
|
+
headers: string[];
|
|
35
|
+
lastSeenGrouped: Record<string, CellValue>;
|
|
36
|
+
numericColumns: Set<string>;
|
|
37
|
+
};
|
|
38
|
+
export type Row<T> = {
|
|
39
|
+
id: string;
|
|
40
|
+
depth: number;
|
|
41
|
+
groupingColumnId?: string;
|
|
42
|
+
subRows?: Row<T>[];
|
|
43
|
+
getValue: (columnId: string) => unknown;
|
|
44
|
+
getIsGrouped?: () => boolean;
|
|
45
|
+
original: T;
|
|
46
|
+
index: number;
|
|
47
|
+
parentId?: string;
|
|
48
|
+
};
|
|
49
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/SmartGrid/exportUtils/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,CAAC,CAAC,IAAI,OAAO,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC;AAErD,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,GAAG,IAAI,CAAC;AAEhE,MAAM,MAAM,QAAQ,GAAG;IACrB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;IAChC,IAAI,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC;CAClC,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,SAAS,EAAE;QAAE,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAC/B,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAChC,CAAC;AAEF,MAAM,MAAM,aAAa,CAAC,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI;IACvD,eAAe,CAAC,EAAE,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC;IAClC,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,CAAC,EAAE,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC;CAClC,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC,SAAS,EAAE,QAAQ,EAAE,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACtC,mBAAmB,EAAE,aAAa,EAAE,CAAC;IACrC,UAAU,EAAE,cAAc,EAAE,CAAC;IAC7B,mBAAmB,EAAE,MAAM,EAAE,CAAC;IAC9B,WAAW,EAAE,OAAO,CAAC;IACrB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;IAC3C,cAAc,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,GAAG,CAAC,CAAC,IAAI;IACnB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,OAAO,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC;IACnB,QAAQ,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,OAAO,CAAC;IACxC,YAAY,CAAC,EAAE,MAAM,OAAO,CAAC;IAC7B,QAAQ,EAAE,CAAC,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/SmartGrid/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { CellSelectionState } from "../types";
|
|
2
|
+
import type { Table } from "@tanstack/react-table";
|
|
3
|
+
type UseCellSelectionArgs<T> = {
|
|
4
|
+
enabled: boolean;
|
|
5
|
+
table: Table<T>;
|
|
6
|
+
};
|
|
7
|
+
export declare const useCellSelection: <T>({ enabled, table, }: UseCellSelectionArgs<T>) => {
|
|
8
|
+
clearCellSelection: () => void;
|
|
9
|
+
endCellSelection: () => void;
|
|
10
|
+
getCellSelectionData: () => string[][];
|
|
11
|
+
isCellSelected: (rowId: string, columnId: string) => boolean;
|
|
12
|
+
isCopyFlashing: boolean;
|
|
13
|
+
selectionState: CellSelectionState;
|
|
14
|
+
startCellSelection: (rowId: string, columnId: string, isShiftClick?: boolean) => void;
|
|
15
|
+
triggerCopyFlash: () => void;
|
|
16
|
+
updateCellSelection: (rowId: string, columnId: string) => void;
|
|
17
|
+
};
|
|
18
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=useCellSelection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useCellSelection.d.ts","sourceRoot":"","sources":["../../../src/SmartGrid/hooks/useCellSelection.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAA2B,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAC5E,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAEnD,KAAK,oBAAoB,CAAC,CAAC,IAAI;IAC7B,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,CAAC,EAAE,qBAGjC,oBAAoB,CAAC,CAAC,CAAC;;;gCAsMqB,MAAM,EAAE,EAAE;4BAhB7C,MAAM,YAAY,MAAM,KAAG,OAAO;;;gCAlGlC,MAAM,YAAY,MAAM,iBAAgB,OAAO;;iCA0C/C,MAAM,YAAY,MAAM;CA+KnC,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { OnAction } from "../../utils/types";
|
|
2
|
+
type UseCopyToClipboardArgs = {
|
|
3
|
+
enabled: boolean;
|
|
4
|
+
getCellSelectionData: () => string[][];
|
|
5
|
+
hasSelection: boolean;
|
|
6
|
+
triggerCopyFlash: OnAction;
|
|
7
|
+
};
|
|
8
|
+
export declare const useCopyToClipboard: ({ enabled, getCellSelectionData, hasSelection, triggerCopyFlash, }: UseCopyToClipboardArgs) => {
|
|
9
|
+
copyToClipboard: (data: string[][]) => Promise<void>;
|
|
10
|
+
};
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=useCopyToClipboard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useCopyToClipboard.d.ts","sourceRoot":"","sources":["../../../src/SmartGrid/hooks/useCopyToClipboard.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAElD,KAAK,sBAAsB,GAAG;IAC5B,OAAO,EAAE,OAAO,CAAC;IACjB,oBAAoB,EAAE,MAAM,MAAM,EAAE,EAAE,CAAC;IACvC,YAAY,EAAE,OAAO,CAAC;IACtB,gBAAgB,EAAE,QAAQ,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,oEAKhC,sBAAsB;4BAER,MAAM,EAAE,EAAE;CA8F1B,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ColumnName } from "../exportUtils/types";
|
|
2
|
+
import type { SmartGridRef } from "../types";
|
|
3
|
+
import type { RefObject } from "react";
|
|
4
|
+
export declare function useExportToExcel<T extends Record<string, unknown>>(): {
|
|
5
|
+
exportToExcel: (gridRef: RefObject<SmartGridRef<T>>, fileName: string, numericColumns?: ColumnName<T>[], excludedColumns?: ColumnName<T>[]) => Promise<void>;
|
|
6
|
+
};
|
|
7
|
+
//# sourceMappingURL=useExportToExcel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useExportToExcel.d.ts","sourceRoot":"","sources":["../../../src/SmartGrid/hooks/useExportToExcel.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAEV,UAAU,EAOX,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAE7C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAmWvC,wBAAgB,gBAAgB,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;6BAKnD,SAAS,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,YACzB,MAAM,mBACC,UAAU,CAAC,CAAC,CAAC,EAAE,oBACd,UAAU,CAAC,CAAC,CAAC,EAAE;EAQtC"}
|