@servicetitan/table 25.9.0 → 26.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. package/dist/demo/column-hiding/table.d.ts.map +1 -1
  2. package/dist/demo/column-hiding/table.js +2 -2
  3. package/dist/demo/column-hiding/table.js.map +1 -1
  4. package/dist/demo/overview/actions-cell.d.ts +1 -2
  5. package/dist/demo/overview/actions-cell.d.ts.map +1 -1
  6. package/dist/demo/overview/table.d.ts +1 -1
  7. package/dist/demo/overview/table.d.ts.map +1 -1
  8. package/dist/details/expand-column.d.ts +2 -2
  9. package/dist/details/expand-column.d.ts.map +1 -1
  10. package/dist/editable-cell/boolean-editable-cell.d.ts +1 -2
  11. package/dist/editable-cell/boolean-editable-cell.d.ts.map +1 -1
  12. package/dist/editable-cell/get-action-cell.d.ts +1 -1
  13. package/dist/editable-cell/get-action-cell.d.ts.map +1 -1
  14. package/dist/editable-cell/get-editable-cell.d.ts +1 -1
  15. package/dist/editable-cell/get-editable-cell.d.ts.map +1 -1
  16. package/dist/editable-cell/get-select-editable-cell.d.ts +1 -1
  17. package/dist/editable-cell/get-select-editable-cell.d.ts.map +1 -1
  18. package/dist/editable-cell/text-editable-cell.d.ts +2 -3
  19. package/dist/editable-cell/text-editable-cell.d.ts.map +1 -1
  20. package/dist/filters/async-select/async-select-filter.d.ts +1 -1
  21. package/dist/filters/async-select/async-select-filter.d.ts.map +1 -1
  22. package/dist/filters/async-select/async-select-filter.stories.d.ts +1 -2
  23. package/dist/filters/async-select/async-select-filter.stories.d.ts.map +1 -1
  24. package/dist/filters/column-menu-filters.d.ts +2 -2
  25. package/dist/filters/column-menu-filters.d.ts.map +1 -1
  26. package/dist/filters/datetime-filter/datetime-filter.d.ts +1 -2
  27. package/dist/filters/datetime-filter/datetime-filter.d.ts.map +1 -1
  28. package/dist/filters/field-values-filter.d.ts +1 -2
  29. package/dist/filters/field-values-filter.d.ts.map +1 -1
  30. package/dist/filters/multiselect-filter/multiselect-filter.d.ts +3 -3
  31. package/dist/filters/multiselect-filter/multiselect-filter.d.ts.map +1 -1
  32. package/dist/filters/multiselect-filter/multiselect-filter.stories.d.ts +1 -2
  33. package/dist/filters/multiselect-filter/multiselect-filter.stories.d.ts.map +1 -1
  34. package/dist/filters/numeric-filter-extended/numeric-filter-extended.d.ts +2 -3
  35. package/dist/filters/numeric-filter-extended/numeric-filter-extended.d.ts.map +1 -1
  36. package/dist/filters/range-filter/range-filter.d.ts +4 -5
  37. package/dist/filters/range-filter/range-filter.d.ts.map +1 -1
  38. package/dist/filters/range-filter/range-filter.stories.d.ts +3 -4
  39. package/dist/filters/range-filter/range-filter.stories.d.ts.map +1 -1
  40. package/dist/filters/select-filter/select-filter.d.ts +1 -1
  41. package/dist/filters/select-filter/select-filter.d.ts.map +1 -1
  42. package/dist/filters/select-filter/select-filter.stories.d.ts +2 -3
  43. package/dist/filters/select-filter/select-filter.stories.d.ts.map +1 -1
  44. package/dist/filters/single-select/single-select-filter.d.ts +1 -1
  45. package/dist/filters/single-select/single-select-filter.d.ts.map +1 -1
  46. package/dist/filters/single-select/single-select-filter.stories.d.ts +2 -3
  47. package/dist/filters/single-select/single-select-filter.stories.d.ts.map +1 -1
  48. package/dist/filters/standard-filter-with-multiselect/standard-filter-with-multiselect.d.ts +1 -2
  49. package/dist/filters/standard-filter-with-multiselect/standard-filter-with-multiselect.d.ts.map +1 -1
  50. package/dist/filters/time-filter/time-filter.d.ts +1 -2
  51. package/dist/filters/time-filter/time-filter.d.ts.map +1 -1
  52. package/dist/table.d.ts +2 -2
  53. package/dist/table.d.ts.map +1 -1
  54. package/package.json +15 -15
  55. package/src/demo/column-hiding/table.tsx +18 -6
  56. package/src/filters/standard-filter-with-multiselect/filter-cell-ext.module.css.d.ts +2 -2
  57. package/src/table.module.css.d.ts +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../../src/demo/column-hiding/table.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,EAAE,EAA+B,MAAM,OAAO,CAAC;AAkFlE,eAAO,MAAM,wBAAwB,EAAE,EAmCtC,CAAC"}
1
+ {"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../../src/demo/column-hiding/table.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,EAAE,EAA4C,MAAM,OAAO,CAAC;AA8F/E,eAAO,MAAM,wBAAwB,EAAE,EAmCtC,CAAC"}
@@ -22,7 +22,7 @@ const columns = [
22
22
  { field: 'Discontinued', title: 'Discontinued', minWidth: 100 },
23
23
  ];
24
24
  const CheckboxRow = memo(({ field, label, checked, onChange }) => {
25
- const handleChange = useCallback(event => {
25
+ const handleChange = useCallback((event) => {
26
26
  onChange(field, event.target.checked);
27
27
  }, [field, onChange]);
28
28
  return (_jsx("div", { children: _jsxs("label", { children: [_jsx("input", { type: "checkbox", checked: checked, onChange: handleChange }), " ", label] }) }));
@@ -51,7 +51,7 @@ export const TableColumnHidingExample = provide({
51
51
  })(observer(() => {
52
52
  const [{ tableState }] = useDependencies(TableStore);
53
53
  const [hiddenColumns, setHiddenColumns] = useState(new Set());
54
- const handleHiddenColumnsChange = useCallback(columns => {
54
+ const handleHiddenColumnsChange = useCallback((columns) => {
55
55
  setHiddenColumns(new Set([...columns]));
56
56
  }, []);
57
57
  return (_jsxs(Fragment, { children: [_jsx(HiddenColumns, { checkedColumns: hiddenColumns, onChange: handleHiddenColumnsChange }), _jsx(Table, Object.assign({ tableState: tableState, striped: false }, { children: columns
@@ -1 +1 @@
1
- {"version":3,"file":"table.js","sourceRoot":"","sources":["../../../src/demo/column-hiding/table.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAM,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAClE,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,OAAO,EAAE,KAAK,EAAE,WAAW,EAAkB,MAAM,O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KAAK,kBAAC,UAAU,EAAE,UAAU,EAAE,OAAO,EAAE,KAAK,gBACxC,OAAO;qBACH,MAAM,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,aAAa,CAAC,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;qBAC5C,GAAG,CAAC,MAAM,CAAC,EAAE;oBACV,OAAO,CACH,KAAC,WAAW,IACR,KAAK,EAAE,MAAM,CAAC,KAAK,EACnB,KAAK,EAAE,MAAM,CAAC,KAAK,EAEnB,EAAE,EAAE,MAAM,CAAC,KAAK,EAChB,IAAI,EAAE,YAAY,IAFb,MAAM,CAAC,KAAK,CAGnB,CACL,CAAC;gBACN,CAAC,CAAC,IACF,IACD,CACd,CAAC;AACN,CAAC,CAAC,CACL,CAAC"}
@@ -1,5 +1,4 @@
1
- /// <reference types="react" />
2
1
  import { TableCellProps } from '../..';
3
2
  import { Product } from './product';
4
- export declare const ActionsCell: (props: TableCellProps<Product, any, never, never>) => JSX.Element;
3
+ export declare const ActionsCell: (props: TableCellProps<Product, any, never, never>) => import("react/jsx-runtime").JSX.Element;
5
4
  //# sourceMappingURL=actions-cell.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"actions-cell.d.ts","sourceRoot":"","sources":["../../../src/demo/overview/actions-cell.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,cAAc,EAAkC,MAAM,OAAO,CAAC;AAEvE,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAiDpC,eAAO,MAAM,WAAW,oEAGtB,CAAC"}
1
+ {"version":3,"file":"actions-cell.d.ts","sourceRoot":"","sources":["../../../src/demo/overview/actions-cell.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,cAAc,EAAkC,MAAM,OAAO,CAAC;AAEvE,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAiDpC,eAAO,MAAM,WAAW,gGAGtB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
2
  import { TableCellProps } from '../..';
3
- export declare const DateEditableCell: (props: TableCellProps<any, any, never, never>) => JSX.Element;
3
+ export declare const DateEditableCell: (props: TableCellProps<any, any, never, never>) => import("react/jsx-runtime").JSX.Element;
4
4
  export declare const TableExample: FC;
5
5
  //# sourceMappingURL=table.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../../src/demo/overview/table.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAmC,EAAE,EAAgB,MAAM,OAAO,CAAC;AAQ1E,OAAO,EAIH,cAAc,EAWjB,MAAM,OAAO,CAAC;AA6Cf,eAAO,MAAM,gBAAgB,gEAE3B,CAAC;AA0BH,eAAO,MAAM,YAAY,EAAE,EA2H1B,CAAC"}
1
+ {"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../../src/demo/overview/table.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAmC,EAAE,EAAgB,MAAM,OAAO,CAAC;AAQ1E,OAAO,EAIH,cAAc,EAWjB,MAAM,OAAO,CAAC;AA6Cf,eAAO,MAAM,gBAAgB,4FAE3B,CAAC;AA0BH,eAAO,MAAM,YAAY,EAAE,EA2H1B,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { FC } from 'react';
2
2
  import { TableCellProps } from '../index';
3
3
  export declare const RowExpandCell: FC<TableCellProps>;
4
- export declare const getRowExpandColumn: () => JSX.Element;
5
- export declare const useRowExpandColumn: () => JSX.Element;
4
+ export declare const getRowExpandColumn: () => import("react/jsx-runtime").JSX.Element;
5
+ export declare const useRowExpandColumn: () => import("react/jsx-runtime").JSX.Element;
6
6
  //# sourceMappingURL=expand-column.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"expand-column.d.ts","sourceRoot":"","sources":["../../src/details/expand-column.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAwC,MAAM,OAAO,CAAC;AACjE,OAAO,EAAE,cAAc,EAAe,MAAM,UAAU,CAAC;AAEvD,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,cAAc,CAiC5C,CAAC;AAEF,eAAO,MAAM,kBAAkB,mBAU9B,CAAC;AAEF,eAAO,MAAM,kBAAkB,mBAE9B,CAAC"}
1
+ {"version":3,"file":"expand-column.d.ts","sourceRoot":"","sources":["../../src/details/expand-column.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAwC,MAAM,OAAO,CAAC;AACjE,OAAO,EAAE,cAAc,EAAe,MAAM,UAAU,CAAC;AAEvD,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,cAAc,CAiC5C,CAAC;AAEF,eAAO,MAAM,kBAAkB,+CAU9B,CAAC;AAEF,eAAO,MAAM,kBAAkB,+CAE9B,CAAC"}
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
- export declare const BooleanEditableCell: (props: import("..").TableCellProps<any, any, never, never>) => JSX.Element;
1
+ export declare const BooleanEditableCell: (props: import("..").TableCellProps<any, any, never, never>) => import("react/jsx-runtime").JSX.Element;
3
2
  //# sourceMappingURL=boolean-editable-cell.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"boolean-editable-cell.d.ts","sourceRoot":"","sources":["../../src/editable-cell/boolean-editable-cell.tsx"],"names":[],"mappings":";AAqBA,eAAO,MAAM,mBAAmB,6EAE9B,CAAC"}
1
+ {"version":3,"file":"boolean-editable-cell.d.ts","sourceRoot":"","sources":["../../src/editable-cell/boolean-editable-cell.tsx"],"names":[],"mappings":"AAqBA,eAAO,MAAM,mBAAmB,yGAE9B,CAAC"}
@@ -8,6 +8,6 @@ interface GetActionCellParams<T> {
8
8
  view: ComponentType<TableCellProps<T>>;
9
9
  edit: ComponentType<EditActionProps<T>>;
10
10
  }
11
- export declare function getActionCell<T>({ view: ViewAction, edit: EditAction }: GetActionCellParams<T>): (props: TableCellProps<T>) => JSX.Element;
11
+ export declare function getActionCell<T>({ view: ViewAction, edit: EditAction }: GetActionCellParams<T>): (props: TableCellProps<T>) => import("react/jsx-runtime").JSX.Element;
12
12
  export {};
13
13
  //# sourceMappingURL=get-action-cell.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-action-cell.d.ts","sourceRoot":"","sources":["../../src/editable-cell/get-action-cell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAGtC,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAEnD,MAAM,WAAW,eAAe,CAAC,CAAC,CAAE,SAAQ,cAAc,CAAC,CAAC,CAAC;IACzD,SAAS,EAAE,iBAAiB,CAAC,CAAC,CAAC,CAAC;CACnC;AAED,UAAU,mBAAmB,CAAC,CAAC;IAC3B,IAAI,EAAE,aAAa,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;IACvC,IAAI,EAAE,aAAa,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,CAAC;CAC3C;AAED,wBAAgB,aAAa,CAAC,CAAC,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,mBAAmB,CAAC,CAAC,CAAC,WAC5E,eAAe,CAAC,CAAC,iBAiBnC"}
1
+ {"version":3,"file":"get-action-cell.d.ts","sourceRoot":"","sources":["../../src/editable-cell/get-action-cell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAGtC,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAEnD,MAAM,WAAW,eAAe,CAAC,CAAC,CAAE,SAAQ,cAAc,CAAC,CAAC,CAAC;IACzD,SAAS,EAAE,iBAAiB,CAAC,CAAC,CAAC,CAAC;CACnC;AAED,UAAU,mBAAmB,CAAC,CAAC;IAC3B,IAAI,EAAE,aAAa,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;IACvC,IAAI,EAAE,aAAa,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,CAAC;CAC3C;AAED,wBAAgB,aAAa,CAAC,CAAC,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,mBAAmB,CAAC,CAAC,CAAC,WAC5E,eAAe,CAAC,CAAC,6CAiBnC"}
@@ -8,6 +8,6 @@ interface GetEditableCellParams<T> {
8
8
  viewer?: ComponentType<TableCellProps<any>>;
9
9
  editor: ComponentType<EditorProps<T>>;
10
10
  }
11
- export declare function getEditableCell<T>({ viewer: Viewer, editor: Editor, }: GetEditableCellParams<T>): (props: TableCellProps<any>) => JSX.Element;
11
+ export declare function getEditableCell<T>({ viewer: Viewer, editor: Editor, }: GetEditableCellParams<T>): (props: TableCellProps<any>) => import("react/jsx-runtime").JSX.Element;
12
12
  export {};
13
13
  //# sourceMappingURL=get-editable-cell.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-editable-cell.d.ts","sourceRoot":"","sources":["../../src/editable-cell/get-editable-cell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAGvC,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE1C,MAAM,WAAW,WAAW,CAAC,CAAC,CAAE,SAAQ,cAAc,CAAC,GAAG,CAAC;IACvD,UAAU,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC;CAC7B;AAED,UAAU,qBAAqB,CAAC,CAAC;IAC7B,MAAM,CAAC,EAAE,aAAa,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC,CAAC;IAC5C,MAAM,EAAE,aAAa,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC;CACzC;AAED,wBAAgB,eAAe,CAAC,CAAC,EAAE,EAC/B,MAAM,EAAE,MAAkB,EAC1B,MAAM,EAAE,MAAM,GACjB,EAAE,qBAAqB,CAAC,CAAC,CAAC,WACR,eAAe,GAAG,CAAC,iBAiBrC"}
1
+ {"version":3,"file":"get-editable-cell.d.ts","sourceRoot":"","sources":["../../src/editable-cell/get-editable-cell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAGvC,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE1C,MAAM,WAAW,WAAW,CAAC,CAAC,CAAE,SAAQ,cAAc,CAAC,GAAG,CAAC;IACvD,UAAU,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC;CAC7B;AAED,UAAU,qBAAqB,CAAC,CAAC;IAC7B,MAAM,CAAC,EAAE,aAAa,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC,CAAC;IAC5C,MAAM,EAAE,aAAa,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC;CACzC;AAED,wBAAgB,eAAe,CAAC,CAAC,EAAE,EAC/B,MAAM,EAAE,MAAkB,EAC1B,MAAM,EAAE,MAAM,GACjB,EAAE,qBAAqB,CAAC,CAAC,CAAC,WACR,eAAe,GAAG,CAAC,6CAiBrC"}
@@ -5,6 +5,6 @@ interface GetSelectEditableCellParams<T> {
5
5
  options: Option<T>[];
6
6
  viewer?: ComponentType<TableCellProps<any>>;
7
7
  }
8
- export declare function getSelectEditableCell<T>({ options, viewer }: GetSelectEditableCellParams<T>): (props: TableCellProps<any, any, never, never>) => JSX.Element;
8
+ export declare function getSelectEditableCell<T>({ options, viewer }: GetSelectEditableCellParams<T>): (props: TableCellProps<any, any, never, never>) => import("react/jsx-runtime").JSX.Element;
9
9
  export {};
10
10
  //# sourceMappingURL=get-select-editable-cell.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-select-editable-cell.d.ts","sourceRoot":"","sources":["../../src/editable-cell/get-select-editable-cell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAM,MAAM,OAAO,CAAC;AAM1C,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAG1C,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAI5C,UAAU,2BAA2B,CAAC,CAAC;IACnC,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC;IACrB,MAAM,CAAC,EAAE,aAAa,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC,CAAC;CAC/C;AAED,wBAAgB,qBAAqB,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,2BAA2B,CAAC,CAAC,CAAC,kEA8B3F"}
1
+ {"version":3,"file":"get-select-editable-cell.d.ts","sourceRoot":"","sources":["../../src/editable-cell/get-select-editable-cell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAM,MAAM,OAAO,CAAC;AAM1C,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAG1C,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAI5C,UAAU,2BAA2B,CAAC,CAAC;IACnC,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC;IACrB,MAAM,CAAC,EAAE,aAAa,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC,CAAC;CAC/C;AAED,wBAAgB,qBAAqB,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,2BAA2B,CAAC,CAAC,CAAC,8FA8B3F"}
@@ -1,9 +1,8 @@
1
- /// <reference types="react" />
2
1
  interface GetTextEditableCellParams<T> {
3
2
  placeholder?: string;
4
3
  isDisabled?(dataItem: T): boolean;
5
4
  }
6
- export declare function getTextEditableCell<T>({ placeholder, isDisabled, }?: GetTextEditableCellParams<T>): (props: import("..").TableCellProps<any, any, never, never>) => JSX.Element;
7
- export declare const TextEditableCell: (props: import("..").TableCellProps<any, any, never, never>) => JSX.Element;
5
+ export declare function getTextEditableCell<T>({ placeholder, isDisabled, }?: GetTextEditableCellParams<T>): (props: import("..").TableCellProps<any, any, never, never>) => import("react/jsx-runtime").JSX.Element;
6
+ export declare const TextEditableCell: (props: import("..").TableCellProps<any, any, never, never>) => import("react/jsx-runtime").JSX.Element;
8
7
  export {};
9
8
  //# sourceMappingURL=text-editable-cell.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"text-editable-cell.d.ts","sourceRoot":"","sources":["../../src/editable-cell/text-editable-cell.tsx"],"names":[],"mappings":";AAUA,UAAU,yBAAyB,CAAC,CAAC;IACjC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,CAAC,QAAQ,EAAE,CAAC,GAAG,OAAO,CAAC;CACrC;AAED,wBAAgB,mBAAmB,CAAC,CAAC,EAAE,EACnC,WAAW,EACX,UAAU,GACb,GAAE,yBAAyB,CAAC,CAAC,CAAM,+EA2BnC;AAED,eAAO,MAAM,gBAAgB,6EAAwB,CAAC"}
1
+ {"version":3,"file":"text-editable-cell.d.ts","sourceRoot":"","sources":["../../src/editable-cell/text-editable-cell.tsx"],"names":[],"mappings":"AAUA,UAAU,yBAAyB,CAAC,CAAC;IACjC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,CAAC,QAAQ,EAAE,CAAC,GAAG,OAAO,CAAC;CACrC;AAED,wBAAgB,mBAAmB,CAAC,CAAC,EAAE,EACnC,WAAW,EACX,UAAU,GACb,GAAE,yBAAyB,CAAC,CAAC,CAAM,2GA2BnC;AAED,eAAO,MAAM,gBAAgB,yGAAwB,CAAC"}
@@ -19,5 +19,5 @@ export interface AsyncSelectFilterOptions<TID extends IdType, TO extends AsyncSe
19
19
  /**
20
20
  * @deprecated use selectColumnMenuFilter instead
21
21
  */
22
- export declare function asyncSelectColumnMenuFilter<TID extends IdType, TO extends AsyncSelectItem<TID>>({ dataFetcher, placeholder, multiple, renderItem, ...opts }: AsyncSelectFilterOptions<TID, TO>): (props: import("@servicetitan/design-system").TableColumnMenuProps) => JSX.Element;
22
+ export declare function asyncSelectColumnMenuFilter<TID extends IdType, TO extends AsyncSelectItem<TID>>({ dataFetcher, placeholder, multiple, renderItem, ...opts }: AsyncSelectFilterOptions<TID, TO>): (props: import("@servicetitan/design-system").TableColumnMenuProps) => import("react/jsx-runtime").JSX.Element;
23
23
  //# sourceMappingURL=async-select-filter.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"async-select-filter.d.ts","sourceRoot":"","sources":["../../../src/filters/async-select/async-select-filter.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA6B,SAAS,EAA+B,MAAM,OAAO,CAAC;AAU1F,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAElD,OAAO,EACH,gCAAgC,EAEnC,MAAM,wBAAwB,CAAC;AAIhC,oBAAY,4BAA4B,CACpC,EAAE,SAAS,MAAM,GAAG,MAAM,EAC1B,EAAE,SAAS,eAAe,CAAC,EAAE,CAAC,GAAG,eAAe,CAAC,EAAE,CAAC,IACpD,CAAC,IAAI,EAAE;IAAE,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,KAAK,OAAO,CAAC;IAAE,IAAI,EAAE,EAAE,EAAE,CAAA;CAAE,CAAC,CAAC;AAE3D,MAAM,WAAW,eAAe,CAAC,EAAE,SAAS,MAAM,GAAG,MAAM;IACvD,KAAK,EAAE,EAAE,CAAC;IACV,IAAI,EAAE,MAAM,CAAC;CAChB;AAwJD,MAAM,WAAW,wBAAwB,CAAC,GAAG,SAAS,MAAM,EAAE,EAAE,SAAS,eAAe,CAAC,GAAG,CAAC,CACzF,SAAQ,gCAAgC;IACxC,WAAW,EAAE,4BAA4B,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC;IACnD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,EAAE,KAAK,SAAS,CAAC;CACxC;AAMD;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,GAAG,SAAS,MAAM,EAAE,EAAE,SAAS,eAAe,CAAC,GAAG,CAAC,EAAE,EAC7F,WAAW,EACX,WAAW,EACX,QAAQ,EACR,UAAU,EACV,GAAG,IAAI,EACV,EAAE,wBAAwB,CAAC,GAAG,EAAE,EAAE,CAAC,sFA2DnC"}
1
+ {"version":3,"file":"async-select-filter.d.ts","sourceRoot":"","sources":["../../../src/filters/async-select/async-select-filter.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA6B,SAAS,EAA+B,MAAM,OAAO,CAAC;AAU1F,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAElD,OAAO,EACH,gCAAgC,EAEnC,MAAM,wBAAwB,CAAC;AAIhC,oBAAY,4BAA4B,CACpC,EAAE,SAAS,MAAM,GAAG,MAAM,EAC1B,EAAE,SAAS,eAAe,CAAC,EAAE,CAAC,GAAG,eAAe,CAAC,EAAE,CAAC,IACpD,CAAC,IAAI,EAAE;IAAE,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,KAAK,OAAO,CAAC;IAAE,IAAI,EAAE,EAAE,EAAE,CAAA;CAAE,CAAC,CAAC;AAE3D,MAAM,WAAW,eAAe,CAAC,EAAE,SAAS,MAAM,GAAG,MAAM;IACvD,KAAK,EAAE,EAAE,CAAC;IACV,IAAI,EAAE,MAAM,CAAC;CAChB;AAwJD,MAAM,WAAW,wBAAwB,CAAC,GAAG,SAAS,MAAM,EAAE,EAAE,SAAS,eAAe,CAAC,GAAG,CAAC,CACzF,SAAQ,gCAAgC;IACxC,WAAW,EAAE,4BAA4B,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC;IACnD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,EAAE,KAAK,SAAS,CAAC;CACxC;AAMD;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,GAAG,SAAS,MAAM,EAAE,EAAE,SAAS,eAAe,CAAC,GAAG,CAAC,EAAE,EAC7F,WAAW,EACX,WAAW,EACX,QAAQ,EACR,UAAU,EACV,GAAG,IAAI,EACV,EAAE,wBAAwB,CAAC,GAAG,EAAE,EAAE,CAAC,kHA2DnC"}
@@ -1,7 +1,6 @@
1
- /// <reference types="react" />
2
1
  declare const _default: {
3
2
  title: string;
4
3
  };
5
4
  export default _default;
6
- export declare const AsyncSelect: () => JSX.Element;
5
+ export declare const AsyncSelect: () => import("react/jsx-runtime").JSX.Element;
7
6
  //# sourceMappingURL=async-select-filter.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"async-select-filter.stories.d.ts","sourceRoot":"","sources":["../../../src/filters/async-select/async-select-filter.stories.tsx"],"names":[],"mappings":";;;;AAEA,wBAEE;AAEF,eAAO,MAAM,WAAW,mBAAsC,CAAC"}
1
+ {"version":3,"file":"async-select-filter.stories.d.ts","sourceRoot":"","sources":["../../../src/filters/async-select/async-select-filter.stories.tsx"],"names":[],"mappings":";;;AAEA,wBAEE;AAEF,eAAO,MAAM,WAAW,+CAAsC,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { ComponentType } from 'react';
2
2
  import { TableColumnMenuProps, TableFilterCellProps } from '@servicetitan/design-system';
3
- export declare const StandardColumnMenuFilter: (props: TableColumnMenuProps) => JSX.Element;
3
+ export declare const StandardColumnMenuFilter: (props: TableColumnMenuProps) => import("react/jsx-runtime").JSX.Element;
4
4
  export interface CustomColumnMenuFilterSingleOpts {
5
5
  contentMaxHeight?: string;
6
6
  contentClassName?: string;
@@ -10,5 +10,5 @@ export interface CustomColumnMenuFilterDoubleOpts {
10
10
  doubleContentClassName?: string;
11
11
  }
12
12
  export declare type CustomColumnMenuFilterOpts = CustomColumnMenuFilterSingleOpts & CustomColumnMenuFilterDoubleOpts;
13
- export declare function renderCustomColumnMenuFilter(FilterCell: ComponentType<TableFilterCellProps>, doubleOrOptions?: boolean | CustomColumnMenuFilterOpts): (props: TableColumnMenuProps) => JSX.Element;
13
+ export declare function renderCustomColumnMenuFilter(FilterCell: ComponentType<TableFilterCellProps>, doubleOrOptions?: boolean | CustomColumnMenuFilterOpts): (props: TableColumnMenuProps) => import("react/jsx-runtime").JSX.Element;
14
14
  //# sourceMappingURL=column-menu-filters.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"column-menu-filters.d.ts","sourceRoot":"","sources":["../../src/filters/column-menu-filters.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAqB,MAAM,OAAO,CAAC;AACzD,OAAO,EAEH,oBAAoB,EACpB,oBAAoB,EACvB,MAAM,6BAA6B,CAAC;AAIrC,eAAO,MAAM,wBAAwB,UAAW,oBAAoB,gBAEnE,CAAC;AAEF,MAAM,WAAW,gCAAgC;IAC7C,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC7B;AACD,MAAM,WAAW,gCAAgC;IAC7C,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,sBAAsB,CAAC,EAAE,MAAM,CAAC;CACnC;AAED,oBAAY,0BAA0B,GAAG,gCAAgC,GACrE,gCAAgC,CAAC;AAErC,wBAAgB,4BAA4B,CACxC,UAAU,EAAE,aAAa,CAAC,oBAAoB,CAAC,EAC/C,eAAe,CAAC,EAAE,OAAO,GAAG,0BAA0B,WAqCvC,oBAAoB,iBAGtC"}
1
+ {"version":3,"file":"column-menu-filters.d.ts","sourceRoot":"","sources":["../../src/filters/column-menu-filters.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAqB,MAAM,OAAO,CAAC;AACzD,OAAO,EAEH,oBAAoB,EACpB,oBAAoB,EACvB,MAAM,6BAA6B,CAAC;AAIrC,eAAO,MAAM,wBAAwB,UAAW,oBAAoB,4CAEnE,CAAC;AAEF,MAAM,WAAW,gCAAgC;IAC7C,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC7B;AACD,MAAM,WAAW,gCAAgC;IAC7C,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,sBAAsB,CAAC,EAAE,MAAM,CAAC;CACnC;AAED,oBAAY,0BAA0B,GAAG,gCAAgC,GACrE,gCAAgC,CAAC;AAErC,wBAAgB,4BAA4B,CACxC,UAAU,EAAE,aAAa,CAAC,oBAAoB,CAAC,EAC/C,eAAe,CAAC,EAAE,OAAO,GAAG,0BAA0B,WAqCvC,oBAAoB,6CAGtC"}
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
- export declare const DateTimeColumnMenuFilter: (props: import("@servicetitan/design-system").TableColumnMenuProps) => JSX.Element;
1
+ export declare const DateTimeColumnMenuFilter: (props: import("@servicetitan/design-system").TableColumnMenuProps) => import("react/jsx-runtime").JSX.Element;
3
2
  //# sourceMappingURL=datetime-filter.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"datetime-filter.d.ts","sourceRoot":"","sources":["../../../src/filters/datetime-filter/datetime-filter.tsx"],"names":[],"mappings":";AA+EA,eAAO,MAAM,wBAAwB,oFAAyD,CAAC"}
1
+ {"version":3,"file":"datetime-filter.d.ts","sourceRoot":"","sources":["../../../src/filters/datetime-filter/datetime-filter.tsx"],"names":[],"mappings":"AA+EA,eAAO,MAAM,wBAAwB,gHAAyD,CAAC"}
@@ -1,6 +1,5 @@
1
- /// <reference types="react" />
2
1
  import { IdType } from '@servicetitan/data-query';
3
2
  import { TableState } from '../table-state';
4
3
  export declare function operator<T>(item: T, value: T[]): boolean;
5
- export declare function fieldValuesColumnMenuFilter<T, TId extends IdType = never>(tableState: TableState<T, TId>, renderItem?: (value: T[keyof T]) => string): (props: import("@servicetitan/design-system").TableColumnMenuProps) => JSX.Element;
4
+ export declare function fieldValuesColumnMenuFilter<T, TId extends IdType = never>(tableState: TableState<T, TId>, renderItem?: (value: T[keyof T]) => string): (props: import("@servicetitan/design-system").TableColumnMenuProps) => import("react/jsx-runtime").JSX.Element;
6
5
  //# sourceMappingURL=field-values-filter.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"field-values-filter.d.ts","sourceRoot":"","sources":["../../src/filters/field-values-filter.tsx"],"names":[],"mappings":";AAQA,OAAO,EAAc,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAG5C,wBAAgB,QAAQ,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,WAE9C;AAED,wBAAgB,2BAA2B,CAAC,CAAC,EAAE,GAAG,SAAS,MAAM,GAAG,KAAK,EACrE,UAAU,EAAE,UAAU,CAAC,CAAC,EAAE,GAAG,CAAC,EAC9B,UAAU,GAAE,CAAC,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,MAA0B,sFAkHhE"}
1
+ {"version":3,"file":"field-values-filter.d.ts","sourceRoot":"","sources":["../../src/filters/field-values-filter.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAc,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAG5C,wBAAgB,QAAQ,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,WAE9C;AAED,wBAAgB,2BAA2B,CAAC,CAAC,EAAE,GAAG,SAAS,MAAM,GAAG,KAAK,EACrE,UAAU,EAAE,UAAU,CAAC,CAAC,EAAE,GAAG,CAAC,EAC9B,UAAU,GAAE,CAAC,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,MAA0B,kHAkHhE"}
@@ -1,6 +1,6 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { CustomColumnMenuFilterSingleOpts } from '../column-menu-filters';
3
- export declare function multiSelectColumnMenuFilter<T>(data: T[], renderItem?: (item: T) => ReactNode, opts?: CustomColumnMenuFilterSingleOpts): (props: import("@servicetitan/design-system").TableColumnMenuProps) => JSX.Element;
4
- export declare function complexItemMultiSelectColumnMenuFilter<T>(data: T[], renderItem?: (item: T) => ReactNode, opts?: CustomColumnMenuFilterSingleOpts): (props: import("@servicetitan/design-system").TableColumnMenuProps) => JSX.Element;
5
- export declare function multiItemMultiSelectColumnMenuFilter<T>(data: T[], renderItem?: (item: T) => ReactNode, opts?: CustomColumnMenuFilterSingleOpts): (props: import("@servicetitan/design-system").TableColumnMenuProps) => JSX.Element;
3
+ export declare function multiSelectColumnMenuFilter<T>(data: T[], renderItem?: (item: T) => ReactNode, opts?: CustomColumnMenuFilterSingleOpts): (props: import("@servicetitan/design-system").TableColumnMenuProps) => import("react/jsx-runtime").JSX.Element;
4
+ export declare function complexItemMultiSelectColumnMenuFilter<T>(data: T[], renderItem?: (item: T) => ReactNode, opts?: CustomColumnMenuFilterSingleOpts): (props: import("@servicetitan/design-system").TableColumnMenuProps) => import("react/jsx-runtime").JSX.Element;
5
+ export declare function multiItemMultiSelectColumnMenuFilter<T>(data: T[], renderItem?: (item: T) => ReactNode, opts?: CustomColumnMenuFilterSingleOpts): (props: import("@servicetitan/design-system").TableColumnMenuProps) => import("react/jsx-runtime").JSX.Element;
6
6
  //# sourceMappingURL=multiselect-filter.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"multiselect-filter.d.ts","sourceRoot":"","sources":["../../../src/filters/multiselect-filter/multiselect-filter.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA6B,SAAS,EAAM,MAAM,OAAO,CAAC;AAIjE,OAAO,EACH,gCAAgC,EAEnC,MAAM,wBAAwB,CAAC;AAmChC,wBAAgB,2BAA2B,CAAC,CAAC,EACzC,IAAI,EAAE,CAAC,EAAE,EACT,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,SAAS,EACnC,IAAI,CAAC,EAAE,gCAAgC,sFAsB1C;AAED,wBAAgB,sCAAsC,CAAC,CAAC,EACpD,IAAI,EAAE,CAAC,EAAE,EACT,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,SAAS,EACnC,IAAI,CAAC,EAAE,gCAAgC,sFAgC1C;AAED,wBAAgB,oCAAoC,CAAC,CAAC,EAClD,IAAI,EAAE,CAAC,EAAE,EACT,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,SAAS,EACnC,IAAI,CAAC,EAAE,gCAAgC,sFAgC1C"}
1
+ {"version":3,"file":"multiselect-filter.d.ts","sourceRoot":"","sources":["../../../src/filters/multiselect-filter/multiselect-filter.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA6B,SAAS,EAAM,MAAM,OAAO,CAAC;AAIjE,OAAO,EACH,gCAAgC,EAEnC,MAAM,wBAAwB,CAAC;AAmChC,wBAAgB,2BAA2B,CAAC,CAAC,EACzC,IAAI,EAAE,CAAC,EAAE,EACT,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,SAAS,EACnC,IAAI,CAAC,EAAE,gCAAgC,kHAsB1C;AAED,wBAAgB,sCAAsC,CAAC,CAAC,EACpD,IAAI,EAAE,CAAC,EAAE,EACT,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,SAAS,EACnC,IAAI,CAAC,EAAE,gCAAgC,kHAgC1C;AAED,wBAAgB,oCAAoC,CAAC,CAAC,EAClD,IAAI,EAAE,CAAC,EAAE,EACT,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,SAAS,EACnC,IAAI,CAAC,EAAE,gCAAgC,kHAgC1C"}
@@ -1,7 +1,6 @@
1
- /// <reference types="react" />
2
1
  declare const _default: {
3
2
  title: string;
4
3
  };
5
4
  export default _default;
6
- export declare const DefaultMultiSelect: () => JSX.Element;
5
+ export declare const DefaultMultiSelect: () => import("react/jsx-runtime").JSX.Element;
7
6
  //# sourceMappingURL=multiselect-filter.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"multiselect-filter.stories.d.ts","sourceRoot":"","sources":["../../../src/filters/multiselect-filter/multiselect-filter.stories.tsx"],"names":[],"mappings":";;;;AAEA,wBAEE;AAEF,eAAO,MAAM,kBAAkB,mBAAsC,CAAC"}
1
+ {"version":3,"file":"multiselect-filter.stories.d.ts","sourceRoot":"","sources":["../../../src/filters/multiselect-filter/multiselect-filter.stories.tsx"],"names":[],"mappings":";;;AAEA,wBAEE;AAEF,eAAO,MAAM,kBAAkB,+CAAsC,CAAC"}
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
- export declare const NumericFilterExtended: (props: import("@progress/kendo-react-grid").GridColumnMenuProps) => JSX.Element;
3
- export declare const PercentageFilterExtended: (props: import("@progress/kendo-react-grid").GridColumnMenuProps) => JSX.Element;
1
+ export declare const NumericFilterExtended: (props: import("@progress/kendo-react-grid").GridColumnMenuProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const PercentageFilterExtended: (props: import("@progress/kendo-react-grid").GridColumnMenuProps) => import("react/jsx-runtime").JSX.Element;
4
3
  //# sourceMappingURL=numeric-filter-extended.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"numeric-filter-extended.d.ts","sourceRoot":"","sources":["../../../src/filters/numeric-filter-extended/numeric-filter-extended.tsx"],"names":[],"mappings":";AAkFA,eAAO,MAAM,qBAAqB,kFAA2D,CAAC;AAE9F,eAAO,MAAM,wBAAwB,kFAA8D,CAAC"}
1
+ {"version":3,"file":"numeric-filter-extended.d.ts","sourceRoot":"","sources":["../../../src/filters/numeric-filter-extended/numeric-filter-extended.tsx"],"names":[],"mappings":"AAkFA,eAAO,MAAM,qBAAqB,8GAA2D,CAAC;AAE9F,eAAO,MAAM,wBAAwB,8GAA8D,CAAC"}
@@ -1,6 +1,5 @@
1
- /// <reference types="react" />
2
- export declare const NumericRangeColumnMenuFilter: (props: import("@servicetitan/design-system").TableColumnMenuProps) => JSX.Element;
3
- export declare const CurrencyRangeColumnMenuFilter: (props: import("@servicetitan/design-system").TableColumnMenuProps) => JSX.Element;
4
- export declare const DateRangeColumnMenuFilter: (props: import("@servicetitan/design-system").TableColumnMenuProps) => JSX.Element;
5
- export declare const TimeRangeColumnMenuFilter: (props: import("@servicetitan/design-system").TableColumnMenuProps) => JSX.Element;
1
+ export declare const NumericRangeColumnMenuFilter: (props: import("@servicetitan/design-system").TableColumnMenuProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const CurrencyRangeColumnMenuFilter: (props: import("@servicetitan/design-system").TableColumnMenuProps) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const DateRangeColumnMenuFilter: (props: import("@servicetitan/design-system").TableColumnMenuProps) => import("react/jsx-runtime").JSX.Element;
4
+ export declare const TimeRangeColumnMenuFilter: (props: import("@servicetitan/design-system").TableColumnMenuProps) => import("react/jsx-runtime").JSX.Element;
6
5
  //# sourceMappingURL=range-filter.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"range-filter.d.ts","sourceRoot":"","sources":["../../../src/filters/range-filter/range-filter.tsx"],"names":[],"mappings":";AAoJA,eAAO,MAAM,4BAA4B,oFAAuD,CAAC;AACjG,eAAO,MAAM,6BAA6B,oFAAwD,CAAC;AACnG,eAAO,MAAM,yBAAyB,oFAAoD,CAAC;AAC3F,eAAO,MAAM,yBAAyB,oFAAoD,CAAC"}
1
+ {"version":3,"file":"range-filter.d.ts","sourceRoot":"","sources":["../../../src/filters/range-filter/range-filter.tsx"],"names":[],"mappings":"AAoJA,eAAO,MAAM,4BAA4B,gHAAuD,CAAC;AACjG,eAAO,MAAM,6BAA6B,gHAAwD,CAAC;AACnG,eAAO,MAAM,yBAAyB,gHAAoD,CAAC;AAC3F,eAAO,MAAM,yBAAyB,gHAAoD,CAAC"}
@@ -1,9 +1,8 @@
1
- /// <reference types="react" />
2
1
  declare const _default: {
3
2
  title: string;
4
3
  };
5
4
  export default _default;
6
- export declare const DateRange: () => JSX.Element;
7
- export declare const NumericRange: () => JSX.Element;
8
- export declare const CurrencyRange: () => JSX.Element;
5
+ export declare const DateRange: () => import("react/jsx-runtime").JSX.Element;
6
+ export declare const NumericRange: () => import("react/jsx-runtime").JSX.Element;
7
+ export declare const CurrencyRange: () => import("react/jsx-runtime").JSX.Element;
9
8
  //# sourceMappingURL=range-filter.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"range-filter.stories.d.ts","sourceRoot":"","sources":["../../../src/filters/range-filter/range-filter.stories.tsx"],"names":[],"mappings":";;;;AAMA,wBAEE;AAEF,eAAO,MAAM,SAAS,mBAAmC,CAAC;AAC1D,eAAO,MAAM,YAAY,mBAAqC,CAAC;AAC/D,eAAO,MAAM,aAAa,mBAAuC,CAAC"}
1
+ {"version":3,"file":"range-filter.stories.d.ts","sourceRoot":"","sources":["../../../src/filters/range-filter/range-filter.stories.tsx"],"names":[],"mappings":";;;AAMA,wBAEE;AAEF,eAAO,MAAM,SAAS,+CAAmC,CAAC;AAC1D,eAAO,MAAM,YAAY,+CAAqC,CAAC;AAC/D,eAAO,MAAM,aAAa,+CAAuC,CAAC"}
@@ -29,6 +29,6 @@ export interface SelectFilterOptions<TO> extends CustomColumnMenuFilterSingleOpt
29
29
  /** Render option label */
30
30
  renderItem?(item: TO): ReactNode;
31
31
  }
32
- export declare function selectColumnMenuFilter<TO>({ dataFetcher, data, search, multiple, valueSelector, rowValueSelector, renderItem, operator, ...opts }: SelectFilterOptions<TO>): (props: import("@servicetitan/design-system").TableColumnMenuProps) => JSX.Element;
32
+ export declare function selectColumnMenuFilter<TO>({ dataFetcher, data, search, multiple, valueSelector, rowValueSelector, renderItem, operator, ...opts }: SelectFilterOptions<TO>): (props: import("@servicetitan/design-system").TableColumnMenuProps) => import("react/jsx-runtime").JSX.Element;
33
33
  export { selectColumnMenuFilterOperators };
34
34
  //# sourceMappingURL=select-filter.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"select-filter.d.ts","sourceRoot":"","sources":["../../../src/filters/select-filter/select-filter.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA6B,SAAS,E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,CAAC,EAAE,EAAE,EAAE,CAAC;IACZ,oDAAoD;IACpD,WAAW,CAAC,EAAE,uBAAuB,CAAC,EAAE,CAAC,CAAC;IAC1C,4CAA4C;IAC5C,QAAQ,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE,EAAE,EAAE,KAAK,OAAO,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE,EAAE,KAAK,OAAO,CAAC,CAAC;IAC/F,kDAAkD;IAClD,aAAa,CAAC,CAAC,IAAI,EAAE,EAAE,GAAG,MAAM,CAAC;IACjC,4EAA4E;IAC5E,gBAAgB,CAAC,CAAC,IAAI,EAAE,GAAG,GAAG,MAAM,GAAG,SAAS,CAAC;IACjD,0BAA0B;IAC1B,UAAU,CAAC,CAAC,IAAI,EAAE,EAAE,GAAG,SAAS,CAAC;CACpC;AAMD,wBAAgB,sBAAsB,CAAC,EAAE,EAAE,EACvC,WAAW,EACX,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,aAA8B,EAC9B,gBAAiC,EACjC,UAAU,EACV,QAAQ,EACR,GAAG,IAAI,EACV,EAAE,mBAAmB,CAAC,EAAE,CAAC,kHAiFzB;AAED,OAAO,EAAE,+BAA+B,EAAE,CAAC"}
@@ -1,8 +1,7 @@
1
- /// <reference types="react" />
2
1
  declare const _default: {
3
2
  title: string;
4
3
  };
5
4
  export default _default;
6
- export declare const AsyncSelect: () => JSX.Element;
7
- export declare const SyncSelect: () => JSX.Element;
5
+ export declare const AsyncSelect: () => import("react/jsx-runtime").JSX.Element;
6
+ export declare const SyncSelect: () => import("react/jsx-runtime").JSX.Element;
8
7
  //# sourceMappingURL=select-filter.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"select-filter.stories.d.ts","sourceRoot":"","sources":["../../../src/filters/select-filter/select-filter.stories.tsx"],"names":[],"mappings":";;;;AAEA,wBAEE;AAEF,eAAO,MAAM,WAAW,mBAA+B,CAAC;AACxD,eAAO,MAAM,UAAU,mBAA8B,CAAC"}
1
+ {"version":3,"file":"select-filter.stories.d.ts","sourceRoot":"","sources":["../../../src/filters/select-filter/select-filter.stories.tsx"],"names":[],"mappings":";;;AAEA,wBAEE;AAEF,eAAO,MAAM,WAAW,+CAA+B,CAAC;AACxD,eAAO,MAAM,UAAU,+CAA8B,CAAC"}
@@ -7,5 +7,5 @@ export interface SingleSelectColumnMenuOptions<TV, TO = TV> extends CustomColumn
7
7
  renderItem?: (item: TO) => ReactNode | string;
8
8
  filterOperator?: (listItem: any, value: TV) => boolean;
9
9
  }
10
- export declare function singleSelectColumnMenuFilter<TV extends IdType, TO = TV>({ options, valueSelector, renderItem, filterOperator, ...opts }: SingleSelectColumnMenuOptions<TV, TO>): (props: import("@servicetitan/design-system").TableColumnMenuProps) => JSX.Element;
10
+ export declare function singleSelectColumnMenuFilter<TV extends IdType, TO = TV>({ options, valueSelector, renderItem, filterOperator, ...opts }: SingleSelectColumnMenuOptions<TV, TO>): (props: import("@servicetitan/design-system").TableColumnMenuProps) => import("react/jsx-runtime").JSX.Element;
11
11
  //# sourceMappingURL=single-select-filter.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"single-select-filter.d.ts","sourceRoot":"","sources":["../../../src/filters/single-select/single-select-filter.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA6B,SAAS,EAAM,MAAM,OAAO,CAAC;AAEjE,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAGlD,OAAO,EACH,gCAAgC,EAEnC,MAAM,wBAAwB,CAAC;AA8BhC,MAAM,WAAW,6BAA6B,CAAC,EAAE,EAAE,EAAE,GAAG,EAAE,CACtD,SAAQ,gCAAgC;IACxC,OAAO,EAAE,EAAE,EAAE,CAAC;IACd,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,EAAE,KAAK,EAAE,CAAC;IACjC,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,EAAE,KAAK,SAAS,GAAG,MAAM,CAAC;IAC9C,cAAc,CAAC,EAAE,CAAC,QAAQ,EAAE,GAAG,EAAE,KAAK,EAAE,EAAE,KAAK,OAAO,CAAC;CAC1D;AAED,wBAAgB,4BAA4B,CAAC,EAAE,SAAS,MAAM,EAAE,EAAE,GAAG,EAAE,EAAE,EACrE,OAAO,EACP,aAAa,EACb,UAAU,EACV,cAAc,EACd,GAAG,IAAI,EACV,EAAE,6BAA6B,CAAC,EAAE,EAAE,EAAE,CAAC,sFA6BvC"}
1
+ {"version":3,"file":"single-select-filter.d.ts","sourceRoot":"","sources":["../../../src/filters/single-select/single-select-filter.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA6B,SAAS,EAAM,MAAM,OAAO,CAAC;AAEjE,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAGlD,OAAO,EACH,gCAAgC,EAEnC,MAAM,wBAAwB,CAAC;AA8BhC,MAAM,WAAW,6BAA6B,CAAC,EAAE,EAAE,EAAE,GAAG,EAAE,CACtD,SAAQ,gCAAgC;IACxC,OAAO,EAAE,EAAE,EAAE,CAAC;IACd,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,EAAE,KAAK,EAAE,CAAC;IACjC,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,EAAE,KAAK,SAAS,GAAG,MAAM,CAAC;IAC9C,cAAc,CAAC,EAAE,CAAC,QAAQ,EAAE,GAAG,EAAE,KAAK,EAAE,EAAE,KAAK,OAAO,CAAC;CAC1D;AAED,wBAAgB,4BAA4B,CAAC,EAAE,SAAS,MAAM,EAAE,EAAE,GAAG,EAAE,EAAE,EACrE,OAAO,EACP,aAAa,EACb,UAAU,EACV,cAAc,EACd,GAAG,IAAI,EACV,EAAE,6BAA6B,CAAC,EAAE,EAAE,EAAE,CAAC,kHA6BvC"}
@@ -1,8 +1,7 @@
1
- /// <reference types="react" />
2
1
  declare const _default: {
3
2
  title: string;
4
3
  };
5
4
  export default _default;
6
- export declare const DefaultSingleSelect: () => JSX.Element;
7
- export declare const CustomFilterSingleSelect: () => JSX.Element;
5
+ export declare const DefaultSingleSelect: () => import("react/jsx-runtime").JSX.Element;
6
+ export declare const CustomFilterSingleSelect: () => import("react/jsx-runtime").JSX.Element;
8
7
  //# sourceMappingURL=single-select-filter.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"single-select-filter.stories.d.ts","sourceRoot":"","sources":["../../../src/filters/single-select/single-select-filter.stories.tsx"],"names":[],"mappings":";;;;AAKA,wBAEE;AAEF,eAAO,MAAM,mBAAmB,mBAAuC,CAAC;AACxE,eAAO,MAAM,wBAAwB,mBAA4C,CAAC"}
1
+ {"version":3,"file":"single-select-filter.stories.d.ts","sourceRoot":"","sources":["../../../src/filters/single-select/single-select-filter.stories.tsx"],"names":[],"mappings":";;;AAKA,wBAEE;AAEF,eAAO,MAAM,mBAAmB,+CAAuC,CAAC;AACxE,eAAO,MAAM,wBAAwB,+CAA4C,CAAC"}
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { TableColumnMenuProps } from '@servicetitan/design-system';
3
2
  import { IdType } from '@servicetitan/data-query';
4
3
  import { TableState } from '../../table-state';
@@ -21,6 +20,6 @@ interface FilterCellConfig {
21
20
  multiselectTagRender?: FilterCellExtProps['multiselectTagRender'];
22
21
  multiselectListNoDataRender?: FilterCellExtProps['multiselectListNoDataRender'];
23
22
  }
24
- export declare function standardFilterWithMultiselect<T, TId extends IdType = never>(optionsConfig?: OptionsConfig<T, TId>, filterCellConfig?: FilterCellConfig): (props: TableColumnMenuProps) => JSX.Element;
23
+ export declare function standardFilterWithMultiselect<T, TId extends IdType = never>(optionsConfig?: OptionsConfig<T, TId>, filterCellConfig?: FilterCellConfig): (props: TableColumnMenuProps) => import("react/jsx-runtime").JSX.Element;
25
24
  export {};
26
25
  //# sourceMappingURL=standard-filter-with-multiselect.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"standard-filter-with-multiselect.d.ts","sourceRoot":"","sources":["../../../src/filters/standard-filter-with-multiselect/standard-filter-with-multiselect.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEnE,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAG/C,OAAO,EAAiB,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAGtE,aAAK,gBAAgB,GAAG,MAAM,GAAG,MAAM,GAAG;IAAE,KAAK,EAAE,GAAG,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;AAEvE,UAAU,aAAa,CAAC,CAAC,EAAE,GAAG,SAAS,MAAM,GAAG,KAAK;IAEjD,UAAU,CAAC,EAAE,UAAU,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC;IAEhC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAE5B,OAAO,CAAC,EAAE,gBAAgB,EAAE,CAAC;CAChC;AAED,UAAU,gBAAgB;IAEtB,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAE5B,0BAA0B,CAAC,EAAE,OAAO,CAAC;IAErC,gCAAgC,CAAC,EAAE,OAAO,CAAC;IAE3C,qBAAqB,CAAC,EAAE,kBAAkB,CAAC,uBAAuB,CAAC,CAAC;IAEpE,oBAAoB,CAAC,EAAE,kBAAkB,CAAC,sBAAsB,CAAC,CAAC;IAElE,2BAA2B,CAAC,EAAE,kBAAkB,CAAC,6BAA6B,CAAC,CAAC;CACnF;AAOD,wBAAgB,6BAA6B,CAAC,CAAC,EAAE,GAAG,SAAS,MAAM,GAAG,KAAK,EACvE,aAAa,GAAE,aAAa,CAAC,CAAC,EAAE,GAAG,CAAM,EACzC,gBAAgB,GAAE,gBAAqB,WA8GxB,oBAAoB,iBAGtC"}
1
+ {"version":3,"file":"standard-filter-with-multiselect.d.ts","sourceRoot":"","sources":["../../../src/filters/standard-filter-with-multiselect/standard-filter-with-multiselect.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEnE,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAG/C,OAAO,EAAiB,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAGtE,aAAK,gBAAgB,GAAG,MAAM,GAAG,MAAM,GAAG;IAAE,KAAK,EAAE,GAAG,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;AAEvE,UAAU,aAAa,CAAC,CAAC,EAAE,GAAG,SAAS,MAAM,GAAG,KAAK;IAEjD,UAAU,CAAC,EAAE,UAAU,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC;IAEhC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAE5B,OAAO,CAAC,EAAE,gBAAgB,EAAE,CAAC;CAChC;AAED,UAAU,gBAAgB;IAEtB,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAE5B,0BAA0B,CAAC,EAAE,OAAO,CAAC;IAErC,gCAAgC,CAAC,EAAE,OAAO,CAAC;IAE3C,qBAAqB,CAAC,EAAE,kBAAkB,CAAC,uBAAuB,CAAC,CAAC;IAEpE,oBAAoB,CAAC,EAAE,kBAAkB,CAAC,sBAAsB,CAAC,CAAC;IAElE,2BAA2B,CAAC,EAAE,kBAAkB,CAAC,6BAA6B,CAAC,CAAC;CACnF;AAOD,wBAAgB,6BAA6B,CAAC,CAAC,EAAE,GAAG,SAAS,MAAM,GAAG,KAAK,EACvE,aAAa,GAAE,aAAa,CAAC,CAAC,EAAE,GAAG,CAAM,EACzC,gBAAgB,GAAE,gBAAqB,WA8GxB,oBAAoB,6CAGtC"}
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
- export declare const TimeColumnMenuFilter: (props: import("@servicetitan/design-system").TableColumnMenuProps) => JSX.Element;
1
+ export declare const TimeColumnMenuFilter: (props: import("@servicetitan/design-system").TableColumnMenuProps) => import("react/jsx-runtime").JSX.Element;
3
2
  //# sourceMappingURL=time-filter.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"time-filter.d.ts","sourceRoot":"","sources":["../../../src/filters/time-filter/time-filter.tsx"],"names":[],"mappings":";AAmEA,eAAO,MAAM,oBAAoB,oFAAqD,CAAC"}
1
+ {"version":3,"file":"time-filter.d.ts","sourceRoot":"","sources":["../../../src/filters/time-filter/time-filter.tsx"],"names":[],"mappings":"AAmEA,eAAO,MAAM,oBAAoB,gHAAqD,CAAC"}
package/dist/table.d.ts CHANGED
@@ -28,12 +28,12 @@ export declare class Table<T, TId extends IdType = any, P = never, PId extends I
28
28
  private customCellMap;
29
29
  private selectHeaderCell;
30
30
  private withCellTableState;
31
- rowRender: (row: ReactElement, rowProps: TableRowProps) => ReactNode;
31
+ rowRender: (row: ReactElement, rowProps: TableRowProps) => string | number | boolean | ReactElement<any, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined;
32
32
  applyToColumns(children: ReactNode, transformer: (column: ReactElement<TableColumnProps<T, TId, P, PId>>) => ReactElement<TableColumnProps<T, TId, P, PId>>): ReactNode;
33
33
  handleHeaderSelectionChange: (ev: TableHeaderSelectionChangeEvent) => void;
34
34
  handleSelectionChange: (ev: TableSelectionChangeEvent) => void;
35
35
  scrollToBottom: () => void;
36
- render(): JSX.Element;
36
+ render(): import("react/jsx-runtime").JSX.Element;
37
37
  private getPageable;
38
38
  private table;
39
39
  private getOrCreateCellComponentWithTableState;
@@ -1 +1 @@
1
- {"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../src/table.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEH,SAAS,EAKT,SAAS,EACT,YAAY,EACZ,aAAa,EAEhB,MAAM,OAAO,CAAC;AACf,OAAO,EAGH,UAAU,IAAI,eAAe,EAC7B,aAAa,EAEb,g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EH,OAAO,CAAC,aAAa,CAAyD;IAE9E,OAAO,CAAC,gBAAgB,CAgBrB;IAGH,OAAO,CAAC,kBAAkB,CAQxB;IAEF,SAAS,QAAS,YAAY,YAAY,aAAa,iJAcrD;IAEF,cAAc,CACV,QAAQ,EAAE,SAAS,EACnB,WAAW,EAAE,CACT,MAAM,EAAE,YAAY,CAAC,gBAAgB,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,CAAC,CAAC,KACrD,YAAY,CAAC,gBAAgB,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,CAAC,CAAC,GACpD,SAAS;IAiBZ,2BAA2B,OAAQ,+BAA+B,UAgBhE;IAEF,qBAAqB,OAAQ,yBAAyB,UAuCpD;IAEF,cAAc,aAQZ;IAEF,MAAM;IAuCN,OAAO,CAAC,WAAW;IAQnB,OAAO,CAAC,KAAK,CAqDX;IAEF,OAAO,CAAC,sCAAsC,CAoB5C;CACL"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@servicetitan/table",
3
- "version": "25.9.0",
3
+ "version": "26.1.0",
4
4
  "description": "",
5
5
  "homepage": "https://docs.st.dev/docs/frontend/table",
6
6
  "repository": {
@@ -32,39 +32,39 @@
32
32
  "@progress/kendo-react-pdf": "^5.5.0",
33
33
  "@progress/kendo-react-popup": "^5.5.0",
34
34
  "@progress/kendo-react-treeview": "^5.5.0",
35
- "@servicetitan/react-hooks": "^3.0.0",
35
+ "@servicetitan/react-hooks": "^4.1.0",
36
36
  "classnames": "~2.3.1",
37
37
  "memoize-one": "~6.0.0"
38
38
  },
39
39
  "devDependencies": {
40
- "@servicetitan/data-query": "^25.9.0",
41
- "@servicetitan/design-system": ">=12.4.1",
42
- "@servicetitan/form": "^25.9.0",
43
- "@servicetitan/react-ioc": "^21.6.0",
44
- "@servicetitan/suppress-warnings": "^21.6.0",
40
+ "@servicetitan/data-query": "^26.1.0",
41
+ "@servicetitan/design-system": "~13.4.5",
42
+ "@servicetitan/form": "^26.1.0",
43
+ "@servicetitan/react-ioc": "^23.2.1",
44
+ "@servicetitan/suppress-warnings": "^23.2.1",
45
45
  "@types/accounting": "~0.4.2",
46
- "@types/react": "~17.0.38",
46
+ "@types/react": "~18.2.55",
47
47
  "accounting": "~0.4.1",
48
48
  "formstate": "~2.1.0",
49
49
  "mobx": "~6.6.0",
50
- "mobx-react": "~7.5.0",
50
+ "mobx-react": "~7.5.1",
51
51
  "mobx-utils": "~6.0.5",
52
52
  "moment": "~2.29.3",
53
- "react": "~17.0.2"
53
+ "react": "~18.2.0"
54
54
  },
55
55
  "peerDependencies": {
56
- "@servicetitan/data-query": "^25.9.0",
56
+ "@servicetitan/data-query": "^26.1.0",
57
57
  "@servicetitan/design-system": ">=12.4.1",
58
- "@servicetitan/form": "^25.9.0",
58
+ "@servicetitan/form": "^26.1.0",
59
59
  "@servicetitan/react-ioc": ">21.0.0",
60
60
  "@servicetitan/suppress-warnings": ">21.0.0",
61
61
  "accounting": "~0.4.1",
62
62
  "formstate": "~2.1.0",
63
63
  "mobx": "~6.6.0",
64
- "mobx-react": "~7.5.0",
64
+ "mobx-react": ">=7.5.1",
65
65
  "mobx-utils": "~6.0.5",
66
66
  "moment": "~2.29.3",
67
- "react": "~17.0.2"
67
+ "react": ">=17.0.2"
68
68
  },
69
69
  "publishConfig": {
70
70
  "access": "public"
@@ -72,5 +72,5 @@
72
72
  "cli": {
73
73
  "webpack": false
74
74
  },
75
- "gitHead": "72d081af4ab3deb72dab7d4fc93a4c2e473b726f"
75
+ "gitHead": "a859628bb29f8f17153e2a4e23bb38f14f447b10"
76
76
  }
@@ -1,4 +1,4 @@
1
- import { Fragment, FC, memo, useCallback, useState } from 'react';
1
+ import { Fragment, FC, memo, useCallback, useState, ChangeEvent } from 'react';
2
2
  import { provide, useDependencies } from '@servicetitan/react-ioc';
3
3
  import { observer } from 'mobx-react';
4
4
 
@@ -25,9 +25,16 @@ const columns = [
25
25
  { field: 'Discontinued', title: 'Discontinued', minWidth: 100 },
26
26
  ];
27
27
 
28
- const CheckboxRow = memo(({ field, label, checked, onChange }: any) => {
28
+ interface CheckboxRowProps {
29
+ field: string;
30
+ label: string;
31
+ checked: boolean;
32
+ onChange: (field: string, checked: boolean) => void;
33
+ }
34
+
35
+ const CheckboxRow = memo(({ field, label, checked, onChange }: CheckboxRowProps) => {
29
36
  const handleChange = useCallback(
30
- event => {
37
+ (event: ChangeEvent<HTMLInputElement>) => {
31
38
  onChange(field, event.target.checked);
32
39
  },
33
40
  [field, onChange]
@@ -42,7 +49,12 @@ const CheckboxRow = memo(({ field, label, checked, onChange }: any) => {
42
49
  );
43
50
  });
44
51
 
45
- const HiddenColumns = ({ onChange, checkedColumns }: any) => {
52
+ interface HiddenColumnsProps {
53
+ onChange: (columns: Set<string>) => void;
54
+ checkedColumns: Set<string>;
55
+ }
56
+
57
+ const HiddenColumns = ({ onChange, checkedColumns }: HiddenColumnsProps) => {
46
58
  const handleChange = useCallback(
47
59
  (field: string, checked: boolean) => {
48
60
  const newState = new Set(Array.from(checkedColumns));
@@ -85,9 +97,9 @@ export const TableColumnHidingExample: FC = provide({
85
97
  })(
86
98
  observer(() => {
87
99
  const [{ tableState }] = useDependencies(TableStore);
88
- const [hiddenColumns, setHiddenColumns] = useState(new Set());
100
+ const [hiddenColumns, setHiddenColumns] = useState(new Set<string>());
89
101
 
90
- const handleHiddenColumnsChange = useCallback(columns => {
102
+ const handleHiddenColumnsChange = useCallback((columns: Set<string>) => {
91
103
  setHiddenColumns(new Set([...columns]));
92
104
  }, []);
93
105
 
@@ -1,7 +1,7 @@
1
1
  export const __esModule: true;
2
- export const returnToUse: string;
3
2
  export const customItemAddMarker: string;
4
3
  export const multiSelect: string;
5
- export const multiSelectTagTooltipWrapper: string;
6
4
  export const multiSelectTagTooltip: string;
5
+ export const multiSelectTagTooltipWrapper: string;
6
+ export const returnToUse: string;
7
7
 
@@ -1,5 +1,5 @@
1
1
  export const __esModule: true;
2
- export const table: string;
3
2
  export const disabled: string;
3
+ export const table: string;
4
4
  export const unselectable: string;
5
5