From 8687c6fd2605ffc1e7fa142c0c655c3ce7fcc077 Mon Sep 17 00:00:00 2001 From: Emil Petrov Date: Mon, 29 Jan 2024 17:14:52 +0200 Subject: [PATCH] chore(html): add grid with filter row template --- packages/html/src/grid/index.ts | 1 + .../grid/templates/grid-with-filter-row.tsx | 149 ++++++++++++++++++ 2 files changed, 150 insertions(+) create mode 100644 packages/html/src/grid/templates/grid-with-filter-row.tsx diff --git a/packages/html/src/grid/index.ts b/packages/html/src/grid/index.ts index 6c2b1ac9ffa..c81843f6ff1 100644 --- a/packages/html/src/grid/index.ts +++ b/packages/html/src/grid/index.ts @@ -13,3 +13,4 @@ export * from './grid-toolbar.spec'; export * from './templates/grid-normal'; export * from './templates/grid-with-column-menu'; export * from './templates/grid-with-filter-menu'; +export * from './templates/grid-with-filter-row'; diff --git a/packages/html/src/grid/templates/grid-with-filter-row.tsx b/packages/html/src/grid/templates/grid-with-filter-row.tsx new file mode 100644 index 00000000000..21f2d0ac7d8 --- /dev/null +++ b/packages/html/src/grid/templates/grid-with-filter-row.tsx @@ -0,0 +1,149 @@ +import { Grid, GridHeader, GridContainer, GridContent, GridHeaderTable, GridHeaderCell, GridTable, GridPager } from '../../grid'; +import { TableTh, TableTd, TableThead, TableRow, TableTbody } from '../../table'; +import { Button } from '../../button'; +import { DropdownList } from '../../dropdownlist'; +import { NumericTextbox } from '../../numerictextbox'; +import { Textbox } from '../../textbox'; + +export const GridWithFilterRow = (props) => ( + )} + children={( + <> + +
+ + + + + + + + + + + + + + + + + + +
+
+ +
+ + {' '} + +
+
+
+
+ +
+
+ +
+ + {' '} + +
+
+
+
+ +
+
+ +
+ + {' '} + +
+
+
+
+ +
+
+ +
+ + {' '} + +
+
+
+
+ +
+
+ +
+ +
+
+
+
+
+
+
+
+
+ + + + + + + + + + + + + 1 + Chai + 10 boxes x 20 bags + 18 + false + + + 2 + Chang + 24 - 12 oz bottles + 19 + false + + + 3 + Aniseed Syrup + 12 - 550 ml bottles + 10 + false + + + 4 + Chef Anton's Cajun Seasoning + 48 - 6 oz jars + 22 + false + + + 5 + Grandma's Boysenberry Spread + 12 - 8 oz jars + 25 + false + + + + + + + )} + {...props} + >
+);