@codezee-org/sixtify-smartgrid 0.1.17 → 0.1.19
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 +1 -1
- package/packages/shared-components/dist/SmartGrid/Components/CellRenderer.d.ts +2 -1
- package/packages/shared-components/dist/SmartGrid/Components/CellRenderer.d.ts.map +1 -1
- package/packages/shared-components/dist/SmartGrid/Components/CircularLoader.d.ts.map +1 -1
- package/packages/shared-components/dist/SmartGrid/Components/DataNotFound.d.ts.map +1 -1
- package/packages/shared-components/dist/SmartGrid/Components/FacetedFilter/FacetedFilter.d.ts.map +1 -1
- package/packages/shared-components/dist/SmartGrid/Components/FilterStatusPanel.d.ts.map +1 -1
- package/packages/shared-components/dist/SmartGrid/Components/Grouped/GroupAreaOverlay.d.ts.map +1 -1
- package/packages/shared-components/dist/SmartGrid/Components/Grouped/GroupChip.d.ts.map +1 -1
- package/packages/shared-components/dist/SmartGrid/Components/Grouped/GroupedPanel.d.ts.map +1 -1
- package/packages/shared-components/dist/SmartGrid/Components/HeaderCells/DraggableHeaderGroupRows.d.ts.map +1 -1
- package/packages/shared-components/dist/SmartGrid/Components/HeaderCells/HeaderCell.d.ts.map +1 -1
- package/packages/shared-components/dist/SmartGrid/Components/IndeterminateCheckbox.d.ts +1 -1
- package/packages/shared-components/dist/SmartGrid/Components/IndeterminateCheckbox.d.ts.map +1 -1
- package/packages/shared-components/dist/SmartGrid/Components/RowExpansion/DetailRowComponent.d.ts.map +1 -1
- package/packages/shared-components/dist/SmartGrid/Components/RowExpansion/ExpanderToggle.d.ts.map +1 -1
- package/packages/shared-components/dist/SmartGrid/Components/SearchFilterRow/DateRangeInput/StyleDateRangeWrapper.d.ts.map +1 -1
- package/packages/shared-components/dist/SmartGrid/Components/SearchFilterRow/DebouncedInput.d.ts +1 -1
- package/packages/shared-components/dist/SmartGrid/Components/SearchFilterRow/DebouncedInput.d.ts.map +1 -1
- package/packages/shared-components/dist/SmartGrid/Components/SearchFilterRow/GetRenderInputs.d.ts.map +1 -1
- package/packages/shared-components/dist/SmartGrid/Components/SearchFilterRow/SearchFilterRow.d.ts.map +1 -1
- package/packages/shared-components/dist/SmartGrid/Components/Svgs/ColumnArrangerSvg.d.ts +1 -1
- package/packages/shared-components/dist/SmartGrid/Components/Svgs/ColumnArrangerSvg.d.ts.map +1 -1
- package/packages/shared-components/dist/SmartGrid/Components/Svgs/HideIconSvg.d.ts +1 -1
- package/packages/shared-components/dist/SmartGrid/Components/Svgs/HideIconSvg.d.ts.map +1 -1
- package/packages/shared-components/dist/SmartGrid/Components/TableFooterComponent/TableFooterComponent.d.ts.map +1 -1
- package/packages/shared-components/dist/SmartGrid/Components/TableFooterComponent/components/FooterCell.d.ts.map +1 -1
- package/packages/shared-components/dist/SmartGrid/Components/TableRowComponent.d.ts +6 -4
- package/packages/shared-components/dist/SmartGrid/Components/TableRowComponent.d.ts.map +1 -1
- package/packages/shared-components/dist/SmartGrid/SmartGrid.d.ts.map +1 -1
- package/packages/shared-components/dist/SmartGrid/hooks/index.d.ts +1 -0
- package/packages/shared-components/dist/SmartGrid/hooks/index.d.ts.map +1 -1
- package/packages/shared-components/dist/SmartGrid/hooks/useBatchedGridData.d.ts +61 -0
- package/packages/shared-components/dist/SmartGrid/hooks/useBatchedGridData.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/hooks/useCellSelection.d.ts.map +1 -1
- package/packages/shared-components/dist/SmartGrid/hooks/useGetSortedColumn.d.ts.map +1 -1
- package/packages/shared-components/dist/SmartGrid/hooks/useTableState.d.ts +1 -0
- package/packages/shared-components/dist/SmartGrid/hooks/useTableState.d.ts.map +1 -1
- package/packages/shared-components/dist/SmartGrid/index.d.ts +4 -0
- package/packages/shared-components/dist/SmartGrid/index.d.ts.map +1 -1
- package/packages/shared-components/dist/SmartGrid/themes/SmartGridThemeContext.d.ts +5 -0
- package/packages/shared-components/dist/SmartGrid/themes/SmartGridThemeContext.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/themes/classNames.d.ts +75 -0
- package/packages/shared-components/dist/SmartGrid/themes/classNames.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/themes/createTheme.d.ts +3 -0
- package/packages/shared-components/dist/SmartGrid/themes/createTheme.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/themes/index.d.ts +7 -0
- package/packages/shared-components/dist/SmartGrid/themes/index.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/themes/presets.d.ts +27 -0
- package/packages/shared-components/dist/SmartGrid/themes/presets.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/themes/types.d.ts +44 -0
- package/packages/shared-components/dist/SmartGrid/themes/types.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/themes/useSmartGridTheme.d.ts +7 -0
- package/packages/shared-components/dist/SmartGrid/themes/useSmartGridTheme.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/types/index.d.ts +38 -0
- package/packages/shared-components/dist/SmartGrid/types/index.d.ts.map +1 -1
- package/packages/shared-components/dist/SmartGrid/utils/getStableRowId.d.ts +9 -0
- package/packages/shared-components/dist/SmartGrid/utils/getStableRowId.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/utils/orderRowsByFrozenIds.d.ts +7 -0
- package/packages/shared-components/dist/SmartGrid/utils/orderRowsByFrozenIds.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/utils/rowUpdateVersion.d.ts +19 -0
- package/packages/shared-components/dist/SmartGrid/utils/rowUpdateVersion.d.ts.map +1 -0
- package/packages/shared-components/dist/index.cjs.js +1 -1
- package/packages/shared-components/dist/index.cjs.js.map +1 -1
- package/packages/shared-components/dist/index.esm.js +1 -1
- package/packages/shared-components/dist/index.esm.js.map +1 -1
package/package.json
CHANGED
|
@@ -8,6 +8,7 @@ type CellRendererProps<T> = {
|
|
|
8
8
|
summaryData?: SummaryRecord<T>;
|
|
9
9
|
isGroupColumn?: boolean;
|
|
10
10
|
};
|
|
11
|
-
|
|
11
|
+
declare const CellRendererBase: <T>({ cell, isSummaryRow, rowIndex, row, summaryData, isGroupColumn, }: CellRendererProps<T>) => string | number | bigint | boolean | Iterable<import("react").ReactNode> | Promise<import("react").AwaitedReactNode> | import("react/jsx-runtime").JSX.Element | null | undefined;
|
|
12
|
+
export declare const CellRenderer: typeof CellRendererBase;
|
|
12
13
|
export {};
|
|
13
14
|
//# sourceMappingURL=CellRenderer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CellRenderer.d.ts","sourceRoot":"","sources":["../../../src/SmartGrid/Components/CellRenderer.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CellRenderer.d.ts","sourceRoot":"","sources":["../../../src/SmartGrid/Components/CellRenderer.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAC9C,OAAO,KAAK,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,uBAAuB,CAAC;AAEvD,KAAK,iBAAiB,CAAC,CAAC,IAAI;IAC1B,IAAI,EAAE,IAAI,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC;IACvB,YAAY,EAAE,OAAO,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC;IACZ,WAAW,CAAC,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;IAC/B,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,CAAC;AAEF,QAAA,MAAM,gBAAgB,GAAI,CAAC,EAAG,oEAO3B,iBAAiB,CAAC,CAAC,CAAC,sLA+EtB,CAAC;AA6BF,eAAO,MAAM,YAAY,EAGpB,OAAO,gBAAgB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CircularLoader.d.ts","sourceRoot":"","sources":["../../../src/SmartGrid/Components/CircularLoader.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CircularLoader.d.ts","sourceRoot":"","sources":["../../../src/SmartGrid/Components/CircularLoader.tsx"],"names":[],"mappings":"AAKA,eAAO,MAAM,cAAc,+CAkB1B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataNotFound.d.ts","sourceRoot":"","sources":["../../../src/SmartGrid/Components/DataNotFound.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DataNotFound.d.ts","sourceRoot":"","sources":["../../../src/SmartGrid/Components/DataNotFound.tsx"],"names":[],"mappings":"AAOA,KAAK,iBAAiB,GAAG;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,cAE1B,iBAAiB,4CAsBnB,CAAC;AAEF,eAAO,MAAM,oBAAoB,qDAxB9B,iBAAiB,6CAwBkC,CAAC"}
|
package/packages/shared-components/dist/SmartGrid/Components/FacetedFilter/FacetedFilter.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FacetedFilter.d.ts","sourceRoot":"","sources":["../../../../src/SmartGrid/Components/FacetedFilter/FacetedFilter.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FacetedFilter.d.ts","sourceRoot":"","sources":["../../../../src/SmartGrid/Components/FacetedFilter/FacetedFilter.tsx"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAEpD,KAAK,kBAAkB,CAAC,CAAC,IAAI;IAC3B,MAAM,EAAE,MAAM,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC;IAC3B,eAAe,EAAE,OAAO,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,CAAC,EAAG,8BAG/B,kBAAkB,CAAC,CAAC,CAAC,4CA6VvB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FilterStatusPanel.d.ts","sourceRoot":"","sources":["../../../src/SmartGrid/Components/FilterStatusPanel.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FilterStatusPanel.d.ts","sourceRoot":"","sources":["../../../src/SmartGrid/Components/FilterStatusPanel.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACxD,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"}
|
package/packages/shared-components/dist/SmartGrid/Components/Grouped/GroupAreaOverlay.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GroupAreaOverlay.d.ts","sourceRoot":"","sources":["../../../../src/SmartGrid/Components/Grouped/GroupAreaOverlay.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"GroupAreaOverlay.d.ts","sourceRoot":"","sources":["../../../../src/SmartGrid/Components/Grouped/GroupAreaOverlay.tsx"],"names":[],"mappings":"AAOA,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,4CA8I1B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GroupChip.d.ts","sourceRoot":"","sources":["../../../../src/SmartGrid/Components/Grouped/GroupChip.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"GroupChip.d.ts","sourceRoot":"","sources":["../../../../src/SmartGrid/Components/Grouped/GroupChip.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAGnD,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,mDAiJnB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GroupedPanel.d.ts","sourceRoot":"","sources":["../../../../src/SmartGrid/Components/Grouped/GroupedPanel.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"GroupedPanel.d.ts","sourceRoot":"","sources":["../../../../src/SmartGrid/Components/Grouped/GroupedPanel.tsx"],"names":[],"mappings":"AAWA,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,4CA6GvB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DraggableHeaderGroupRows.d.ts","sourceRoot":"","sources":["../../../../src/SmartGrid/Components/HeaderCells/DraggableHeaderGroupRows.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DraggableHeaderGroupRows.d.ts","sourceRoot":"","sources":["../../../../src/SmartGrid/Components/HeaderCells/DraggableHeaderGroupRows.tsx"],"names":[],"mappings":"AAOA,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"}
|
package/packages/shared-components/dist/SmartGrid/Components/HeaderCells/HeaderCell.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeaderCell.d.ts","sourceRoot":"","sources":["../../../../src/SmartGrid/Components/HeaderCells/HeaderCell.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,MAAM,EAAc,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"HeaderCell.d.ts","sourceRoot":"","sources":["../../../../src/SmartGrid/Components/HeaderCells/HeaderCell.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,MAAM,EAAc,MAAM,uBAAuB,CAAC;AAchE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAGpD,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,qJAa5B,eAAe,CAAC,CAAC,CAAC,4CAgPpB,CAAC"}
|
|
@@ -6,6 +6,6 @@ type IndeterminateCheckboxProps = {
|
|
|
6
6
|
indeterminate?: boolean;
|
|
7
7
|
onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
8
8
|
} & Omit<CheckboxProps, "checked" | "disabled" | "indeterminate" | "onChange">;
|
|
9
|
-
export declare const IndeterminateCheckbox: ({ checked, disabled, indeterminate, onChange, ...rest }: IndeterminateCheckboxProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare const IndeterminateCheckbox: ({ checked, className, disabled, indeterminate, onChange, ...rest }: IndeterminateCheckboxProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
export {};
|
|
11
11
|
//# sourceMappingURL=IndeterminateCheckbox.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IndeterminateCheckbox.d.ts","sourceRoot":"","sources":["../../../src/SmartGrid/Components/IndeterminateCheckbox.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"IndeterminateCheckbox.d.ts","sourceRoot":"","sources":["../../../src/SmartGrid/Components/IndeterminateCheckbox.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAC5D,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,oEAOnC,0BAA0B,4CAsC5B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DetailRowComponent.d.ts","sourceRoot":"","sources":["../../../../src/SmartGrid/Components/RowExpansion/DetailRowComponent.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DetailRowComponent.d.ts","sourceRoot":"","sources":["../../../../src/SmartGrid/Components/RowExpansion/DetailRowComponent.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,uBAAuB,CAAC;AACjD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,KAAK,uBAAuB,CAAC,CAAC,IAAI;IAChC,OAAO,EAAE,MAAM,CAAC;IAChB,iBAAiB,CAAC,EAAE,CAAC,EAAE,EAAE,mBAAmB,GAAG,IAAI,KAAK,IAAI,CAAC;IAC7D,iBAAiB,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,SAAS,CAAC;IACzC,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC;IACZ,UAAU,EAAE,WAAW,CAAC;CACzB,CAAC;AAEF,QAAA,MAAM,sBAAsB,GAAI,CAAC,EAAG,qEAMjC,uBAAuB,CAAC,CAAC,CAAC,4CAgD5B,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAiB1B,OAAO,sBAAsB,CAAC"}
|
package/packages/shared-components/dist/SmartGrid/Components/RowExpansion/ExpanderToggle.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExpanderToggle.d.ts","sourceRoot":"","sources":["../../../../src/SmartGrid/Components/RowExpansion/ExpanderToggle.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ExpanderToggle.d.ts","sourceRoot":"","sources":["../../../../src/SmartGrid/Components/RowExpansion/ExpanderToggle.tsx"],"names":[],"mappings":"AAOA,KAAK,mBAAmB,GAAG;IACzB,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,wBAAwB,mBAAmB,4CAkDzE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StyleDateRangeWrapper.d.ts","sourceRoot":"","sources":["../../../../../src/SmartGrid/Components/SearchFilterRow/DateRangeInput/StyleDateRangeWrapper.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"StyleDateRangeWrapper.d.ts","sourceRoot":"","sources":["../../../../../src/SmartGrid/Components/SearchFilterRow/DateRangeInput/StyleDateRangeWrapper.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,KAAK,0BAA0B,GAAG;IAChC,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,eAEnC,0BAA0B,4CAwH5B,CAAC"}
|
package/packages/shared-components/dist/SmartGrid/Components/SearchFilterRow/DebouncedInput.d.ts
CHANGED
|
@@ -7,6 +7,6 @@ type DebouncedInputProps = {
|
|
|
7
7
|
type?: "text" | "number" | "date";
|
|
8
8
|
value: string;
|
|
9
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;
|
|
10
|
+
export declare const DebouncedInput: ({ className, debounce, inputFontSize, inputHeight, onChange, type, value: initialValue, ...props }: DebouncedInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
export {};
|
|
12
12
|
//# sourceMappingURL=DebouncedInput.d.ts.map
|
package/packages/shared-components/dist/SmartGrid/Components/SearchFilterRow/DebouncedInput.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DebouncedInput.d.ts","sourceRoot":"","sources":["../../../../src/SmartGrid/Components/SearchFilterRow/DebouncedInput.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DebouncedInput.d.ts","sourceRoot":"","sources":["../../../../src/SmartGrid/Components/SearchFilterRow/DebouncedInput.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAE9D,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,oGAS5B,mBAAmB,4CAmDrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GetRenderInputs.d.ts","sourceRoot":"","sources":["../../../../src/SmartGrid/Components/SearchFilterRow/GetRenderInputs.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"GetRenderInputs.d.ts","sourceRoot":"","sources":["../../../../src/SmartGrid/Components/SearchFilterRow/GetRenderInputs.tsx"],"names":[],"mappings":"AASA,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,mDAgIzB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchFilterRow.d.ts","sourceRoot":"","sources":["../../../../src/SmartGrid/Components/SearchFilterRow/SearchFilterRow.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SearchFilterRow.d.ts","sourceRoot":"","sources":["../../../../src/SmartGrid/Components/SearchFilterRow/SearchFilterRow.tsx"],"names":[],"mappings":"AAYA,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,4CA4DzB,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { SVGProps } from "react";
|
|
2
|
-
export declare const ColumnArrangerSvg: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare const ColumnArrangerSvg: ({ className, ...props }: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
//# sourceMappingURL=ColumnArrangerSvg.d.ts.map
|
package/packages/shared-components/dist/SmartGrid/Components/Svgs/ColumnArrangerSvg.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ColumnArrangerSvg.d.ts","sourceRoot":"","sources":["../../../../src/SmartGrid/Components/Svgs/ColumnArrangerSvg.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ColumnArrangerSvg.d.ts","sourceRoot":"","sources":["../../../../src/SmartGrid/Components/Svgs/ColumnArrangerSvg.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEtC,eAAO,MAAM,iBAAiB,GAAI,yBAG/B,QAAQ,CAAC,aAAa,CAAC,4CA8BzB,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { SVGProps } from "react";
|
|
2
|
-
export declare const HideIconSvg: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare const HideIconSvg: ({ className, ...props }: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
//# sourceMappingURL=HideIconSvg.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HideIconSvg.d.ts","sourceRoot":"","sources":["../../../../src/SmartGrid/Components/Svgs/HideIconSvg.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"HideIconSvg.d.ts","sourceRoot":"","sources":["../../../../src/SmartGrid/Components/Svgs/HideIconSvg.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEtC,eAAO,MAAM,WAAW,GAAI,yBAGzB,QAAQ,CAAC,aAAa,CAAC,4CA2BzB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableFooterComponent.d.ts","sourceRoot":"","sources":["../../../../src/SmartGrid/Components/TableFooterComponent/TableFooterComponent.tsx"],"names":[],"mappings":"
|
|
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,2CA+C/B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FooterCell.d.ts","sourceRoot":"","sources":["../../../../../src/SmartGrid/Components/TableFooterComponent/components/FooterCell.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FooterCell.d.ts","sourceRoot":"","sources":["../../../../../src/SmartGrid/Components/TableFooterComponent/components/FooterCell.tsx"],"names":[],"mappings":"AASA,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,2CAmE9B"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { type OnAction } from "@codezee/sixtify-brahma";
|
|
2
|
-
import type { SummaryRecord } from "../types";
|
|
2
|
+
import type { ColumnVirtualizationWindow, SummaryRecord } from "../types";
|
|
3
3
|
import type { GroupingState, Row } from "@tanstack/react-table";
|
|
4
4
|
import type { VirtualItem } from "@tanstack/react-virtual";
|
|
5
5
|
import type { CSSProperties } from "react";
|
|
6
6
|
type TableRowComponentProps<T> = {
|
|
7
|
+
columnVirtualization?: ColumnVirtualizationWindow;
|
|
8
|
+
columnWidthById?: Record<string, number>;
|
|
7
9
|
columnWidths: number[];
|
|
8
10
|
exportActions?: Array<{
|
|
9
11
|
label: string;
|
|
@@ -21,13 +23,13 @@ type TableRowComponentProps<T> = {
|
|
|
21
23
|
onRowActivate?: (row: T) => void;
|
|
22
24
|
baseRowStyle?: CSSProperties | ((row: T) => CSSProperties);
|
|
23
25
|
focusableRowNavigation?: boolean;
|
|
24
|
-
isRowHovered?: boolean;
|
|
25
|
-
setHoveredRowId?: (rowId: string | null) => void;
|
|
26
26
|
isRowFocused?: boolean;
|
|
27
27
|
setFocusedRowId?: (rowId: string | null) => void;
|
|
28
|
+
/** Custom detail-panel expansion (SmartGrid enableRowExpansion), not TanStack grouping expand. */
|
|
29
|
+
isDetailExpanded?: boolean;
|
|
28
30
|
measureElementRef?: (el: HTMLTableRowElement | null) => void;
|
|
29
31
|
};
|
|
30
|
-
declare const TableRowComponentBase: <T>({
|
|
32
|
+
declare const TableRowComponentBase: <T>({ columnVirtualization, columnWidthById, exportActions, exportData, grouping, index, serialIndex, isSummaryRow, row, rowHeight, summaryData, virtualRow, onRowActivate, focusableRowNavigation, baseRowStyle, isRowFocused, setFocusedRowId, measureElementRef, }: TableRowComponentProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
31
33
|
export declare const TableRowComponent: typeof TableRowComponentBase;
|
|
32
34
|
export {};
|
|
33
35
|
//# sourceMappingURL=TableRowComponent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableRowComponent.d.ts","sourceRoot":"","sources":["../../../src/SmartGrid/Components/TableRowComponent.tsx"],"names":[],"mappings":"AACA,OAAO,EAAU,KAAK,QAAQ,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"TableRowComponent.d.ts","sourceRoot":"","sources":["../../../src/SmartGrid/Components/TableRowComponent.tsx"],"names":[],"mappings":"AACA,OAAO,EAAU,KAAK,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAWhE,OAAO,KAAK,EAEV,0BAA0B,EAC1B,aAAa,EACd,MAAM,UAAU,CAAC;AAClB,OAAO,KAAK,EAAQ,aAAa,EAAE,GAAG,EAAE,MAAM,uBAAuB,CAAC;AACtE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,EACV,aAAa,EAId,MAAM,OAAO,CAAC;AAEf,KAAK,sBAAsB,CAAC,CAAC,IAAI;IAC/B,oBAAoB,CAAC,EAAE,0BAA0B,CAAC;IAClD,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACzC,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,aAAa,CAAC,EAAE,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,QAAQ,CAAA;KAAE,CAAC,CAAC;IAC5D,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,aAAa,CAAC;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,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,aAAa,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,IAAI,CAAC;IACjC,YAAY,CAAC,EAAE,aAAa,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,KAAK,aAAa,CAAC,CAAC;IAC3D,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IACjD,kGAAkG;IAClG,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,iBAAiB,CAAC,EAAE,CAAC,EAAE,EAAE,mBAAmB,GAAG,IAAI,KAAK,IAAI,CAAC;CAC9D,CAAC;AA2CF,QAAA,MAAM,qBAAqB,GAAI,CAAC,EAAG,mQAmBhC,sBAAsB,CAAC,CAAC,CAAC,4CAqjB3B,CAAC;AA0CF,eAAO,MAAM,iBAAiB,EAGzB,OAAO,qBAAqB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SmartGrid.d.ts","sourceRoot":"","sources":["../../src/SmartGrid/SmartGrid.tsx"],"names":[],"mappings":"AAKA,OAAO,
|
|
1
|
+
{"version":3,"file":"SmartGrid.d.ts","sourceRoot":"","sources":["../../src/SmartGrid/SmartGrid.tsx"],"names":[],"mappings":"AAKA,OAAO,KASN,MAAM,OAAO,CAAC;AA6Bf,OAAO,KAAK,EAIV,cAAc,EAGf,MAAM,SAAS,CAAC;AAiDjB,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,EAoxCjB,aAAa,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/SmartGrid/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/SmartGrid/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
export type BatchedGridRowUpdate<T> = {
|
|
2
|
+
changes: Partial<T>;
|
|
3
|
+
rowId: string;
|
|
4
|
+
};
|
|
5
|
+
export type UseBatchedGridDataOptions<T> = {
|
|
6
|
+
/**
|
|
7
|
+
* When true, `updateRow` / `applyRowUpdates` ignore patches whose version is
|
|
8
|
+
* less than or equal to the version already stored for that row.
|
|
9
|
+
* Default false preserves last-write-wins behavior.
|
|
10
|
+
*/
|
|
11
|
+
enableUpdateVersioning?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Optional custom row id resolver.
|
|
14
|
+
* Defaults to the same resolver SmartGrid uses (`symbol` → `id` → index).
|
|
15
|
+
*/
|
|
16
|
+
getRowId?: (row: T, index: number) => string;
|
|
17
|
+
/**
|
|
18
|
+
* Resolves a monotonic version from a row or patch (e.g. sequence / timestamp).
|
|
19
|
+
* Used only when `enableUpdateVersioning` is true.
|
|
20
|
+
* Defaults to reading `version` → `sequence` → `seq` → `timestamp`.
|
|
21
|
+
*/
|
|
22
|
+
getUpdateVersion?: (row: Partial<T>) => number | undefined;
|
|
23
|
+
/** Initial rows. Used once on mount (same semantics as `useState` initial value). */
|
|
24
|
+
initialData?: T[];
|
|
25
|
+
};
|
|
26
|
+
export type UseBatchedGridDataResult<T> = {
|
|
27
|
+
/**
|
|
28
|
+
* Apply many row patches in one go. Updates to the same `rowId` within the
|
|
29
|
+
* same frame are merged (last write wins per field, subject to versioning).
|
|
30
|
+
* Missing rows and stale versions are skipped.
|
|
31
|
+
* React state is updated at most once per animation frame.
|
|
32
|
+
*/
|
|
33
|
+
applyRowUpdates: (updates: BatchedGridRowUpdate<T>[]) => void;
|
|
34
|
+
/** Latest flushed row array — pass directly to `<SmartGrid data={data} />`. */
|
|
35
|
+
data: T[];
|
|
36
|
+
/** Cancel any scheduled frame and commit the store to React state immediately. */
|
|
37
|
+
flush: () => void;
|
|
38
|
+
/** Row id helper (same function used by the store / SmartGrid by default). */
|
|
39
|
+
getRowId: (row: T, index: number) => string;
|
|
40
|
+
/**
|
|
41
|
+
* Replace the entire dataset. Coalesced to the next animation frame so
|
|
42
|
+
* rapid successive `setRows` calls produce a single React update.
|
|
43
|
+
* Full replaces do not run stale checks (use for snapshots / reconnect).
|
|
44
|
+
*/
|
|
45
|
+
setRows: (rows: T[]) => void;
|
|
46
|
+
/**
|
|
47
|
+
* Merge `changes` into an existing row. No-op if `rowId` is missing or the
|
|
48
|
+
* patch is stale when versioning is enabled. Coalesced to the next frame.
|
|
49
|
+
* @returns true when the patch was accepted into the store
|
|
50
|
+
*/
|
|
51
|
+
updateRow: (rowId: string, changes: Partial<T>) => boolean;
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* Opt-in high-frequency data adapter for SmartGrid.
|
|
55
|
+
*
|
|
56
|
+
* Keeps rows in a `Map` keyed by stable row id and flushes a new `data` array
|
|
57
|
+
* to React at most once per animation frame. Existing `<SmartGrid data={...} />`
|
|
58
|
+
* usage is unchanged — consumers opt in by wiring this hook's `data` output.
|
|
59
|
+
*/
|
|
60
|
+
export declare const useBatchedGridData: <T>(options?: UseBatchedGridDataOptions<T>) => UseBatchedGridDataResult<T>;
|
|
61
|
+
//# sourceMappingURL=useBatchedGridData.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useBatchedGridData.d.ts","sourceRoot":"","sources":["../../../src/SmartGrid/hooks/useBatchedGridData.ts"],"names":[],"mappings":"AAQA,MAAM,MAAM,oBAAoB,CAAC,CAAC,IAAI;IACpC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,yBAAyB,CAAC,CAAC,IAAI;IACzC;;;;OAIG;IACH,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC;;;OAGG;IACH,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IAC7C;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,KAAK,MAAM,GAAG,SAAS,CAAC;IAC3D,qFAAqF;IACrF,WAAW,CAAC,EAAE,CAAC,EAAE,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,wBAAwB,CAAC,CAAC,IAAI;IACxC;;;;;OAKG;IACH,eAAe,EAAE,CAAC,OAAO,EAAE,oBAAoB,CAAC,CAAC,CAAC,EAAE,KAAK,IAAI,CAAC;IAC9D,+EAA+E;IAC/E,IAAI,EAAE,CAAC,EAAE,CAAC;IACV,kFAAkF;IAClF,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,8EAA8E;IAC9E,QAAQ,EAAE,CAAC,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IAC5C;;;;OAIG;IACH,OAAO,EAAE,CAAC,IAAI,EAAE,CAAC,EAAE,KAAK,IAAI,CAAC;IAC7B;;;;OAIG;IACH,SAAS,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,KAAK,OAAO,CAAC;CAC5D,CAAC;AA0CF;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB,GAAI,CAAC,EAClC,UAAS,yBAAyB,CAAC,CAAC,CAAM,KACzC,wBAAwB,CAAC,CAAC,CA2K5B,CAAC"}
|
|
@@ -1 +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;
|
|
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;CA4LnC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useGetSortedColumn.d.ts","sourceRoot":"","sources":["../../../src/SmartGrid/hooks/useGetSortedColumn.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"useGetSortedColumn.d.ts","sourceRoot":"","sources":["../../../src/SmartGrid/hooks/useGetSortedColumn.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAiBpD,KAAK,uBAAuB,CAAC,CAAC,IAAI;IAChC,MAAM,EAAE,MAAM,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,CAAC,EAAG,aAEpC,uBAAuB,CAAC,CAAC,CAAC;;;;CAgB5B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useTableState.d.ts","sourceRoot":"","sources":["../../../src/SmartGrid/hooks/useTableState.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useTableState.d.ts","sourceRoot":"","sources":["../../../src/SmartGrid/hooks/useTableState.ts"],"names":[],"mappings":"AAkCA,OAAO,KAAK,EAAgB,cAAc,EAAE,MAAM,UAAU,CAAC;AAqB7D,eAAO,MAAM,aAAa,GAAI,CAAC,EAAE,OAAO,cAAc,CAAC,CAAC,CAAC;;;CA2TxD,CAAC"}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
export * from "./SmartGrid";
|
|
2
2
|
export * from "./types/index";
|
|
3
3
|
export * from "./hooks/useExportToExcel";
|
|
4
|
+
export * from "./hooks/useBatchedGridData";
|
|
5
|
+
export * from "./utils/getStableRowId";
|
|
6
|
+
export * from "./utils/rowUpdateVersion";
|
|
4
7
|
export * from "./Components";
|
|
8
|
+
export * from "./themes";
|
|
5
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/SmartGrid/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,0BAA0B,CAAC;AACzC,cAAc,cAAc,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/SmartGrid/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { SmartGridTheme, SmartGridThemeProviderProps } from "./types";
|
|
3
|
+
export declare const SmartGridThemeProvider: React.FC<SmartGridThemeProviderProps>;
|
|
4
|
+
export declare const useSmartGridGlobalTheme: () => SmartGridTheme | undefined;
|
|
5
|
+
//# sourceMappingURL=SmartGridThemeContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SmartGridThemeContext.d.ts","sourceRoot":"","sources":["../../../src/SmartGrid/themes/SmartGridThemeContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6C,MAAM,OAAO,CAAC;AAIlE,OAAO,KAAK,EAAE,cAAc,EAAE,2BAA2B,EAAE,MAAM,SAAS,CAAC;AAM3E,eAAO,MAAM,sBAAsB,EAAE,KAAK,CAAC,EAAE,CAAC,2BAA2B,CAiBxE,CAAC;AAEF,eAAO,MAAM,uBAAuB,QAAO,cAAc,GAAG,SAE3D,CAAC"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
export declare const sg: {
|
|
2
|
+
readonly root: "sg-root-wrapper";
|
|
3
|
+
readonly themeDark: "sg-theme-dark";
|
|
4
|
+
readonly themeLight: "sg-theme-light";
|
|
5
|
+
readonly themeDefault: "sg-theme-default";
|
|
6
|
+
readonly toolbar: "sg-toolbar";
|
|
7
|
+
readonly columnArranger: "sg-column-arranger";
|
|
8
|
+
readonly hideIcon: "sg-hide-icon";
|
|
9
|
+
readonly viewportWrapper: "sg-viewport-wrapper";
|
|
10
|
+
readonly viewport: "sg-viewport";
|
|
11
|
+
readonly table: "sg-table";
|
|
12
|
+
readonly thead: "sg-thead";
|
|
13
|
+
readonly headerRow: "sg-header-row";
|
|
14
|
+
readonly headerCell: "sg-header-cell";
|
|
15
|
+
readonly headerCellSortable: "sg-header-cell-sortable";
|
|
16
|
+
readonly headerCellContent: "sg-header-cell-content";
|
|
17
|
+
readonly headerCellLabelWrapper: "sg-header-cell-label-wrapper";
|
|
18
|
+
readonly headerCellLabel: "sg-header-cell-label";
|
|
19
|
+
readonly filterRow: "sg-filter-row";
|
|
20
|
+
readonly filterCell: "sg-filter-cell";
|
|
21
|
+
readonly filterInput: "sg-filter-input";
|
|
22
|
+
readonly filterSelect: "sg-filter-select";
|
|
23
|
+
readonly dateRange: "sg-date-range";
|
|
24
|
+
readonly tbody: "sg-tbody";
|
|
25
|
+
readonly row: "sg-row";
|
|
26
|
+
readonly rowEven: "sg-row-even";
|
|
27
|
+
readonly rowOdd: "sg-row-odd";
|
|
28
|
+
readonly rowSelected: "sg-row-selected";
|
|
29
|
+
readonly rowHover: "sg-row-hover";
|
|
30
|
+
readonly rowFocused: "sg-row-focused";
|
|
31
|
+
readonly summaryRow: "sg-summary-row";
|
|
32
|
+
readonly cell: "sg-cell";
|
|
33
|
+
readonly cellSelected: "sg-cell-selected";
|
|
34
|
+
readonly cellAlignLeft: "sg-cell-align-left";
|
|
35
|
+
readonly cellAlignCenter: "sg-cell-align-center";
|
|
36
|
+
readonly cellAlignRight: "sg-cell-align-right";
|
|
37
|
+
readonly detailRow: "sg-detail-row";
|
|
38
|
+
readonly detailCell: "sg-detail-cell";
|
|
39
|
+
readonly detailPanel: "sg-detail-panel";
|
|
40
|
+
readonly tfoot: "sg-tfoot";
|
|
41
|
+
readonly footerRow: "sg-footer-row";
|
|
42
|
+
readonly footerCell: "sg-footer-cell";
|
|
43
|
+
readonly footerWrapper: "sg-footer-wrapper";
|
|
44
|
+
readonly footerTable: "sg-footer-table";
|
|
45
|
+
readonly groupedPanel: "sg-grouped-panel";
|
|
46
|
+
readonly groupedPanelPlaceholder: "sg-grouped-panel-placeholder";
|
|
47
|
+
readonly groupedPanelLabel: "sg-grouped-panel-label";
|
|
48
|
+
readonly groupedPanelSeparator: "sg-grouped-panel-separator";
|
|
49
|
+
readonly groupedPanelHint: "sg-grouped-panel-hint";
|
|
50
|
+
readonly groupChip: "sg-group-chip";
|
|
51
|
+
readonly groupChipHandle: "sg-group-chip-handle";
|
|
52
|
+
readonly groupChipLabel: "sg-group-chip-label";
|
|
53
|
+
readonly groupChipRemove: "sg-group-chip-remove";
|
|
54
|
+
readonly filterStatus: "sg-filter-status";
|
|
55
|
+
readonly filterStatusPanel: "sg-filter-status-panel";
|
|
56
|
+
readonly filterStatusList: "sg-filter-status-list";
|
|
57
|
+
readonly filterStatusClear: "sg-filter-status-clear";
|
|
58
|
+
readonly selectionStatus: "sg-selection-status";
|
|
59
|
+
readonly checkbox: "sg-checkbox";
|
|
60
|
+
readonly expander: "sg-expander";
|
|
61
|
+
readonly expanderButton: "sg-expander-button";
|
|
62
|
+
readonly emptyState: "sg-empty-state";
|
|
63
|
+
readonly loader: "sg-loader";
|
|
64
|
+
readonly dragOverlay: "sg-drag-overlay";
|
|
65
|
+
readonly dragOverlayLabel: "sg-drag-overlay-label";
|
|
66
|
+
readonly facetedFilter: "sg-faceted-filter";
|
|
67
|
+
readonly facetedFilterBadge: "sg-faceted-filter-badge";
|
|
68
|
+
readonly facetedFilterPopover: "sg-faceted-filter-popover";
|
|
69
|
+
};
|
|
70
|
+
export type SmartGridClassName = (typeof sg)[keyof typeof sg];
|
|
71
|
+
export declare const cx: (...parts: Array<string | false | null | undefined>) => string;
|
|
72
|
+
export declare const getThemeClassName: (name: string, isDark?: boolean) => string;
|
|
73
|
+
export declare const getPinnedClassName: (block: typeof sg.headerCell | typeof sg.cell | typeof sg.filterCell | typeof sg.footerCell, pinned: "left" | "right" | false | null | undefined) => string;
|
|
74
|
+
export declare const getCellAlignClassName: (align?: "left" | "center" | "right") => string;
|
|
75
|
+
//# sourceMappingURL=classNames.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"classNames.d.ts","sourceRoot":"","sources":["../../../src/SmartGrid/themes/classNames.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoEL,CAAC;AAEX,MAAM,MAAM,kBAAkB,GAAG,CAAC,OAAO,EAAE,CAAC,CAAC,MAAM,OAAO,EAAE,CAAC,CAAC;AAE9D,eAAO,MAAM,EAAE,GACb,GAAG,OAAO,KAAK,CAAC,MAAM,GAAG,KAAK,GAAG,IAAI,GAAG,SAAS,CAAC,KACjD,MAAyC,CAAC;AAE7C,eAAO,MAAM,iBAAiB,GAAI,MAAM,MAAM,EAAE,gBAAc,KAAG,MACF,CAAC;AAEhE,eAAO,MAAM,kBAAkB,GAC7B,OACI,OAAO,EAAE,CAAC,UAAU,GACpB,OAAO,EAAE,CAAC,IAAI,GACd,OAAO,EAAE,CAAC,UAAU,GACpB,OAAO,EAAE,CAAC,UAAU,EACxB,QAAQ,MAAM,GAAG,OAAO,GAAG,KAAK,GAAG,IAAI,GAAG,SAAS,KAClD,MAMF,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAChC,QAAQ,MAAM,GAAG,QAAQ,GAAG,OAAO,KAClC,MAUF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createTheme.d.ts","sourceRoot":"","sources":["../../../src/SmartGrid/themes/createTheme.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAoCpE,eAAO,MAAM,oBAAoB,GAC/B,MAAM,MAAM,EACZ,QAAQ,oBAAoB,EAC5B,gBAAc,KACb,cA+BF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/SmartGrid/themes/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { SmartGridTheme } from "./types";
|
|
2
|
+
/**
|
|
3
|
+
* Modern Quartz Theme (Light)
|
|
4
|
+
*/
|
|
5
|
+
export declare const themeQuartz: SmartGridTheme;
|
|
6
|
+
/**
|
|
7
|
+
* Modern Quartz Theme (Dark) - Sleek high-contrast slate dark theme
|
|
8
|
+
*/
|
|
9
|
+
export declare const themeQuartzDark: SmartGridTheme;
|
|
10
|
+
/**
|
|
11
|
+
* Classic Alpine Theme (Light)
|
|
12
|
+
*/
|
|
13
|
+
export declare const themeAlpine: SmartGridTheme;
|
|
14
|
+
/**
|
|
15
|
+
* Classic Alpine Theme (Dark) - Rich enterprise dark theme
|
|
16
|
+
*/
|
|
17
|
+
export declare const themeAlpineDark: SmartGridTheme;
|
|
18
|
+
/**
|
|
19
|
+
* Compact High-Density Balham Theme
|
|
20
|
+
*/
|
|
21
|
+
export declare const themeBalham: SmartGridTheme;
|
|
22
|
+
/**
|
|
23
|
+
* Material Design Theme
|
|
24
|
+
*/
|
|
25
|
+
export declare const themeMaterial: SmartGridTheme;
|
|
26
|
+
export declare const builtinThemes: Record<string, SmartGridTheme>;
|
|
27
|
+
//# sourceMappingURL=presets.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"presets.d.ts","sourceRoot":"","sources":["../../../src/SmartGrid/themes/presets.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAE9C;;GAEG;AACH,eAAO,MAAM,WAAW,EAAE,cAgCzB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,eAAe,EAAE,cAgC7B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,WAAW,EAAE,cA+BzB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,eAAe,EAAE,cA+B7B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,WAAW,EAAE,cAgCzB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa,EAAE,cA+B3B,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAOxD,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import type { CSSProperties, ReactNode } from "react";
|
|
2
|
+
export type SmartGridDensity = "compact" | "normal" | "comfortable";
|
|
3
|
+
export type SmartGridThemeParams = {
|
|
4
|
+
accentColor?: string;
|
|
5
|
+
backgroundColor?: string;
|
|
6
|
+
foregroundColor?: string;
|
|
7
|
+
borderColor?: string;
|
|
8
|
+
headerBackgroundColor?: string;
|
|
9
|
+
headerTextColor?: string;
|
|
10
|
+
headerFontSize?: string;
|
|
11
|
+
headerFontWeight?: number | string;
|
|
12
|
+
headerHeight?: number | string;
|
|
13
|
+
rowBackgroundColor?: string;
|
|
14
|
+
rowHoverColor?: string;
|
|
15
|
+
rowSelectedColor?: string;
|
|
16
|
+
zebraStripeColor?: string;
|
|
17
|
+
summaryRowBackgroundColor?: string;
|
|
18
|
+
summaryRowTextColor?: string;
|
|
19
|
+
rowHeight?: number;
|
|
20
|
+
fontFamily?: string;
|
|
21
|
+
fontSize?: string;
|
|
22
|
+
lineHeight?: string;
|
|
23
|
+
cellPaddingHorizontal?: string;
|
|
24
|
+
cellPaddingVertical?: string;
|
|
25
|
+
borderRadius?: string;
|
|
26
|
+
borderWidth?: string;
|
|
27
|
+
cellBorderColor?: string;
|
|
28
|
+
activeCellBorderColor?: string;
|
|
29
|
+
selectionRangeBackgroundColor?: string;
|
|
30
|
+
[key: string]: string | number | undefined;
|
|
31
|
+
};
|
|
32
|
+
export type SmartGridTheme = {
|
|
33
|
+
name: string;
|
|
34
|
+
isDark?: boolean;
|
|
35
|
+
params: SmartGridThemeParams;
|
|
36
|
+
cssVariables: CSSProperties;
|
|
37
|
+
className: string;
|
|
38
|
+
withParams: (overrides: Partial<SmartGridThemeParams>) => SmartGridTheme;
|
|
39
|
+
};
|
|
40
|
+
export type SmartGridThemeProviderProps = {
|
|
41
|
+
children: ReactNode;
|
|
42
|
+
theme?: SmartGridTheme | string;
|
|
43
|
+
};
|
|
44
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/SmartGrid/themes/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEtD,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG,QAAQ,GAAG,aAAa,CAAC;AAEpE,MAAM,MAAM,oBAAoB,GAAG;IAEjC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;IAGrB,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,gBAAgB,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACnC,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAG/B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IAGpB,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;IAGzB,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,6BAA6B,CAAC,EAAE,MAAM,CAAC;IAGvC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;CAC5C,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,oBAAoB,CAAC;IAC7B,YAAY,EAAE,aAAa,CAAC;IAC5B,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,CAAC,SAAS,EAAE,OAAO,CAAC,oBAAoB,CAAC,KAAK,cAAc,CAAC;CAC1E,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG;IACxC,QAAQ,EAAE,SAAS,CAAC;IACpB,KAAK,CAAC,EAAE,cAAc,GAAG,MAAM,CAAC;CACjC,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { SmartGridTheme } from "./types";
|
|
2
|
+
export declare const useSmartGridTheme: (themeProp?: SmartGridTheme | string) => {
|
|
3
|
+
theme: SmartGridTheme | undefined;
|
|
4
|
+
className: string;
|
|
5
|
+
cssVariables: React.CSSProperties;
|
|
6
|
+
};
|
|
7
|
+
//# sourceMappingURL=useSmartGridTheme.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useSmartGridTheme.d.ts","sourceRoot":"","sources":["../../../src/SmartGrid/themes/useSmartGridTheme.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAE9C,eAAO,MAAM,iBAAiB,GAC5B,YAAY,cAAc,GAAG,MAAM,KAClC;IACD,KAAK,EAAE,cAAc,GAAG,SAAS,CAAC;IAClC,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,KAAK,CAAC,aAAa,CAAC;CA6BnC,CAAC"}
|