@servicetitan/table 27.0.0 → 27.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (98) hide show
  1. package/dist/demo/column-hiding/table.js +2 -2
  2. package/dist/demo/column-hiding/table.js.map +1 -1
  3. package/dist/demo/column-hiding/table.store.js.map +1 -1
  4. package/dist/demo/filters/async-select-filter.js +1 -1
  5. package/dist/demo/filters/async-select-filter.js.map +1 -1
  6. package/dist/demo/filters/multiselect-filter.js +1 -1
  7. package/dist/demo/filters/multiselect-filter.js.map +1 -1
  8. package/dist/demo/filters/range-filter.js +3 -3
  9. package/dist/demo/filters/range-filter.js.map +1 -1
  10. package/dist/demo/filters/select-filter.js +2 -2
  11. package/dist/demo/filters/select-filter.js.map +1 -1
  12. package/dist/demo/filters/single-select-filter.js +3 -3
  13. package/dist/demo/filters/single-select-filter.js.map +1 -1
  14. package/dist/demo/filters/table.store.js.map +1 -1
  15. package/dist/demo/footer-page-size/table.js +2 -2
  16. package/dist/demo/footer-page-size/table.js.map +1 -1
  17. package/dist/demo/master-detail/detail-table.js +1 -1
  18. package/dist/demo/master-detail/detail-table.js.map +1 -1
  19. package/dist/demo/master-detail/detail-table.store.js +4 -4
  20. package/dist/demo/master-detail/detail-table.store.js.map +1 -1
  21. package/dist/demo/master-detail/master-table.store.js +3 -3
  22. package/dist/demo/master-detail/master-table.store.js.map +1 -1
  23. package/dist/demo/master-detail/table-master-detail.js +2 -2
  24. package/dist/demo/master-detail/table-master-detail.js.map +1 -1
  25. package/dist/demo/overview/actions-cell.js +2 -2
  26. package/dist/demo/overview/actions-cell.js.map +1 -1
  27. package/dist/demo/overview/table.js +3 -3
  28. package/dist/demo/overview/table.js.map +1 -1
  29. package/dist/demo/overview/table.store.js.map +1 -1
  30. package/dist/demo/row-details/row-details-table.js +2 -2
  31. package/dist/demo/row-details/row-details-table.js.map +1 -1
  32. package/dist/demo/row-details/row-details-table.store.js.map +1 -1
  33. package/dist/demo/state-caching/state-caching-table.js +1 -1
  34. package/dist/demo/state-caching/state-caching-table.js.map +1 -1
  35. package/dist/demo/state-caching/state-caching-table.store.js.map +1 -1
  36. package/dist/details/expand-column.js +1 -1
  37. package/dist/details/expand-column.js.map +1 -1
  38. package/dist/editable-cell/boolean-editable-cell.js +1 -1
  39. package/dist/editable-cell/boolean-editable-cell.js.map +1 -1
  40. package/dist/editable-cell/get-action-cell.js.map +1 -1
  41. package/dist/editable-cell/get-editable-cell.js.map +1 -1
  42. package/dist/editable-cell/get-select-editable-cell.js +1 -1
  43. package/dist/editable-cell/get-select-editable-cell.js.map +1 -1
  44. package/dist/editable-cell/text-editable-cell.js +1 -1
  45. package/dist/editable-cell/text-editable-cell.js.map +1 -1
  46. package/dist/export/export.js +1 -1
  47. package/dist/export/export.js.map +1 -1
  48. package/dist/filters/async-select/async-select-filter.d.ts +1 -1
  49. package/dist/filters/async-select/async-select-filter.d.ts.map +1 -1
  50. package/dist/filters/async-select/async-select-filter.js +2 -2
  51. package/dist/filters/async-select/async-select-filter.js.map +1 -1
  52. package/dist/filters/column-menu-filters.d.ts +1 -1
  53. package/dist/filters/column-menu-filters.d.ts.map +1 -1
  54. package/dist/filters/column-menu-filters.js +1 -1
  55. package/dist/filters/column-menu-filters.js.map +1 -1
  56. package/dist/filters/datetime-filter/datetime-filter.js.map +1 -1
  57. package/dist/filters/field-values-filter.js +23 -23
  58. package/dist/filters/field-values-filter.js.map +1 -1
  59. package/dist/filters/multiselect-filter/multiselect-filter.js +1 -1
  60. package/dist/filters/multiselect-filter/multiselect-filter.js.map +1 -1
  61. package/dist/filters/range-filter/range-filter.js +1 -1
  62. package/dist/filters/range-filter/range-filter.js.map +1 -1
  63. package/dist/filters/select-filter/object-search.js.map +1 -1
  64. package/dist/filters/select-filter/operators.d.ts +1 -1
  65. package/dist/filters/select-filter/operators.d.ts.map +1 -1
  66. package/dist/filters/select-filter/select-filter.d.ts +1 -1
  67. package/dist/filters/select-filter/select-filter.d.ts.map +1 -1
  68. package/dist/filters/select-filter/select-filter.js +3 -3
  69. package/dist/filters/select-filter/select-filter.js.map +1 -1
  70. package/dist/filters/select-filter/value-getter.js.map +1 -1
  71. package/dist/filters/single-select/single-select-filter.js +1 -1
  72. package/dist/filters/single-select/single-select-filter.js.map +1 -1
  73. package/dist/filters/standard-filter-with-multiselect/filter-cell-ext.js +3 -3
  74. package/dist/filters/standard-filter-with-multiselect/filter-cell-ext.js.map +1 -1
  75. package/dist/filters/standard-filter-with-multiselect/standard-filter-with-multiselect.d.ts +1 -1
  76. package/dist/filters/standard-filter-with-multiselect/standard-filter-with-multiselect.d.ts.map +1 -1
  77. package/dist/filters/standard-filter-with-multiselect/standard-filter-with-multiselect.js.map +1 -1
  78. package/dist/filters/standard-filter-with-multiselect/table-column-menu-filter-ext.js.map +1 -1
  79. package/dist/filters/time-filter/time-filter.js.map +1 -1
  80. package/dist/select-cell/select-cell.d.ts +1 -1
  81. package/dist/select-cell/select-cell.d.ts.map +1 -1
  82. package/dist/select-cell/select-cell.js +2 -2
  83. package/dist/select-cell/select-cell.js.map +1 -1
  84. package/dist/table-state.d.ts +6 -6
  85. package/dist/table-state.d.ts.map +1 -1
  86. package/dist/table-state.js +67 -67
  87. package/dist/table-state.js.map +1 -1
  88. package/dist/table.d.ts +2 -2
  89. package/dist/table.d.ts.map +1 -1
  90. package/dist/table.js +2 -2
  91. package/dist/table.js.map +1 -1
  92. package/dist/use-observing-table-state/demo/components/use-observing-table-state-demo.js +1 -1
  93. package/dist/use-observing-table-state/demo/components/use-observing-table-state-demo.js.map +1 -1
  94. package/dist/use-observing-table-state/demo/stores/use-observing-table-state-demo.store.js.map +1 -1
  95. package/dist/use-observing-table-state/use-observing-table-state.d.ts.map +1 -1
  96. package/dist/use-observing-table-state/use-observing-table-state.js.map +1 -1
  97. package/dist/utils/filters.js.map +1 -1
  98. package/package.json +9 -9
@@ -54,10 +54,10 @@ export const TableColumnHidingExample = provide({
54
54
  const handleHiddenColumnsChange = useCallback((columns) => {
55
55
  setHiddenColumns(new Set([...columns]));
56
56
  }, []);
57
- return (_jsxs(Fragment, { children: [_jsx(HiddenColumns, { checkedColumns: hiddenColumns, onChange: handleHiddenColumnsChange }), _jsx(Table, Object.assign({ tableState: tableState, striped: false }, { children: columns
57
+ return (_jsxs(Fragment, { children: [_jsx(HiddenColumns, { checkedColumns: hiddenColumns, onChange: handleHiddenColumnsChange }), _jsx(Table, { tableState: tableState, striped: false, children: columns
58
58
  .filter(col => !hiddenColumns.has(col.field))
59
59
  .map(column => {
60
60
  return (_jsx(TableColumn, { field: column.field, title: column.title, id: column.field, cell: CellProvider }, column.field));
61
- }) }))] }));
61
+ }) })] }));
62
62
  }));
63
63
  //# sourceMappingURL=table.js.map
@@ -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;AAC/E,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,OAAO,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AACrC,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAExD,MAAM,YAAY,GAAuB,KAAK,CAAC,EAAE;IAC7C,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IAElC,OAAO,uBAAK,QAAQ,CAAC,QAAQ,CAAC,KAAM,CAAC,CAAC,GAAM,CAAC;AACjD,CAAC,CAAC;AAEF,MAAM,OAAO,GAAG;IACZ,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE;IACjD,EAAE,KAAK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IACD,CACd,CAAC;AACN,CAAC,CAAC,CACL,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"table.store.js","sourceRoot":"","sources":["../../../src/demo/column-hiding/table.store.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAU,kBAAkB,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAC/D,OAAO,EAAW,QAAQ,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AACxD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAGtC,IAAa,UAAU,GAAvB,MAAa,UAAU;IAAvB;QACI;;;;mBAA0B,WAAW;WAAC;QAEtC;;;;mBAAa,IAAI,UAAU,CAAC;gBACxB,UAAU,EAAE,IAAI,CAAC,aAAa,EAAE;gBAChC,QAAQ,EAAE,CAAC;gBACX,QAAQ,EAAE,IAAI,CAAC,QAAQ;aAC1B,CAAC;WAAC;IAYP,CAAC;IAVW,aAAa;QACjB,OAAO,IAAI,kBAAkB,CAAC,QAAQ,EAAE,IAAI,CAAC,UAAU,EAAE;YACrD,QAAQ,EAAE,CAAC,KAAe,EAAE,EAAE,CAAC,QAAQ,CAAC,KAAK,CAAC;YAC9C,YAAY,EAAE,CAAC,KAA2B,EAAE,EAAE,CAAC,KAAK,IAAI,QAAQ,CAAC,KAAK,CAAC;SAC1E,CAAC,CAAC;IACP,CAAC;IAEO,UAAU,CAAC,GAAY;QAC3B,OAAO,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAW,CAAC;IACxC,CAAC;CACJ,CAAA;AAnBY,UAAU;IADtB,UAAU,EAAE;GACA,UAAU,CAmBtB;SAnBY,UAAU"}
1
+ {"version":3,"file":"table.store.js","sourceRoot":"","sources":["../../../src/demo/column-hiding/table.store.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAU,kBAAkB,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAC/D,OAAO,EAAW,QAAQ,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AACxD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAG/B,IAAM,UAAU,GAAhB,MAAM,UAAU;IAAhB;QACH;;;;mBAA0B,WAAW;WAAC;QAEtC;;;;mBAAa,IAAI,UAAU,CAAC;gBACxB,UAAU,EAAE,IAAI,CAAC,aAAa,EAAE;gBAChC,QAAQ,EAAE,CAAC;gBACX,QAAQ,EAAE,IAAI,CAAC,QAAQ;aAC1B,CAAC;WAAC;IAYP,CAAC;IAVW,aAAa;QACjB,OAAO,IAAI,kBAAkB,CAAC,QAAQ,EAAE,IAAI,CAAC,UAAU,EAAE;YACrD,QAAQ,EAAE,CAAC,KAAe,EAAE,EAAE,CAAC,QAAQ,CAAC,KAAK,CAAC;YAC9C,YAAY,EAAE,CAAC,KAA2B,EAAE,EAAE,CAAC,KAAK,IAAI,QAAQ,CAAC,KAAK,CAAC;SAC1E,CAAC,CAAC;IACP,CAAC;IAEO,UAAU,CAAC,GAAY;QAC3B,OAAO,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAW,CAAC;IACxC,CAAC;CACJ,CAAA;AAnBY,UAAU;IADtB,UAAU,EAAE;GACA,UAAU,CAmBtB"}
@@ -19,6 +19,6 @@ export const AsyncSelectDefaultExample = provide({
19
19
  multiple: true,
20
20
  contentMaxHeight: '250px',
21
21
  }), [categoryFetcher]);
22
- return (_jsxs(Fragment, { children: [_jsxs(Banner, Object.assign({ title: "Default filter with async select", className: "m-b-2" }, { children: ["Async select filter allows to choose one or several option from the list that will be fetched from BE. The list size is not limited, so you can also use search to find desired option.", _jsx("br", {}), "Use it when there can be greater than 20 possible options"] })), _jsxs(Table, Object.assign({ tableState: tableState, striped: false }, { children: [_jsx(TableColumn, { field: "ProductID", title: "ID", editable: false, width: "100px" }), _jsx(TableColumn, { field: "ProductName", title: "Product Name", width: "240px" }), _jsx(TableColumn, { field: "MadeIn", title: "Made In (async single-select filter)", columnMenu: madeInColumnMenu }), _jsx(TableColumn, { field: "CategoryID", title: "Category (async multi-select filter)", columnMenu: categoryColumnMenu, cell: CategoryCell })] }))] }));
22
+ return (_jsxs(Fragment, { children: [_jsxs(Banner, { title: "Default filter with async select", className: "m-b-2", children: ["Async select filter allows to choose one or several option from the list that will be fetched from BE. The list size is not limited, so you can also use search to find desired option.", _jsx("br", {}), "Use it when there can be greater than 20 possible options"] }), _jsxs(Table, { tableState: tableState, striped: false, children: [_jsx(TableColumn, { field: "ProductID", title: "ID", editable: false, width: "100px" }), _jsx(TableColumn, { field: "ProductName", title: "Product Name", width: "240px" }), _jsx(TableColumn, { field: "MadeIn", title: "Made In (async single-select filter)", columnMenu: madeInColumnMenu }), _jsx(TableColumn, { field: "CategoryID", title: "Category (async multi-select filter)", columnMenu: categoryColumnMenu, cell: CategoryCell })] })] }));
23
23
  }));
24
24
  //# sourceMappingURL=async-select-filter.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"async-select-filter.js","sourceRoot":"","sources":["../../../src/demo/filters/async-select-filter.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,OAAO,EAAM,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAEnE,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,2BAA2B,EAAE,MAAM,OAAO,CAAC;AAExE,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAErD,MAAM,CAAC,MAAM,yBAAyB,GAAO,OAAO,CAAC;IACjD,UAAU,EAAE,CAAC,UAAU,CAAC;CAC3B,CAAC,CACE,QAAQ,CAA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AW,EAAC,KAAK,EAAC,IAAI,EAAC,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAC,OAAO,GAAG,EAC3E,KAAC,WAAW,IAAC,KAAK,EAAC,aAAa,EAAC,KAAK,EAAC,cAAc,EAAC,KAAK,EAAC,OAAO,GAAG,EACtE,KAAC,WAAW,IACR,KAAK,EAAC,QAAQ,EACd,KAAK,EAAC,sCAAsC,EAC5C,UAAU,EAAE,gBAAgB,GAC9B,EACF,KAAC,WAAW,IACR,KAAK,EAAC,YAAY,EAClB,KAAK,EAAC,sCAAsC,EAC5C,UAAU,EAAE,kBAAkB,EAC9B,IAAI,EAAE,YAAY,GACpB,IACE,IACD,CACd,CAAC;AACN,CAAC,CAAC,CACL,CAAC"}
@@ -10,6 +10,6 @@ export const MultiSelectDefaultExample = provide({
10
10
  const [{ tableState, madeInOptions }] = useDependencies(TableStore);
11
11
  const madeInColumnMenu = useMemo(() => multiSelectColumnMenuFilter(madeInOptions), [madeInOptions]);
12
12
  const categoryColumnMenu = useMemo(() => multiSelectColumnMenuFilter(new Array(20).fill(0).map((_, index) => index), undefined, { contentMaxHeight: '250px' }), []);
13
- return (_jsxs(Table, Object.assign({ tableState: tableState }, { children: [_jsx(TableColumn, { field: "ProductID", title: "ID", editable: false, width: "100px" }), _jsx(TableColumn, { field: "ProductName", title: "Product Name", width: "240px" }), _jsx(TableColumn, { field: "MadeIn", title: "Made In", columnMenu: madeInColumnMenu }), _jsx(TableColumn, { field: "CategoryID", title: "CategoryID", columnMenu: categoryColumnMenu })] })));
13
+ return (_jsxs(Table, { tableState: tableState, children: [_jsx(TableColumn, { field: "ProductID", title: "ID", editable: false, width: "100px" }), _jsx(TableColumn, { field: "ProductName", title: "Product Name", width: "240px" }), _jsx(TableColumn, { field: "MadeIn", title: "Made In", columnMenu: madeInColumnMenu }), _jsx(TableColumn, { field: "CategoryID", title: "CategoryID", columnMenu: categoryColumnMenu })] }));
14
14
  }));
15
15
  //# sourceMappingURL=multiselect-filter.js.map
@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EAAE,gBAAgB,EAAE,OAAO,EAAE,CAChC,EACL,EAAE,CACL,CAAC;IAEF,OAAO,CACH,MAAC,KAAK,IAAC,UAAU,EAAE,UAAU,aACzB,KAAC,WAAW,IAAC,KAAK,EAAC,WAAW,EAAC,KAAK,EAAC,IAAI,EAAC,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAC,OAAO,GAAG,EAE3E,KAAC,WAAW,IAAC,KAAK,EAAC,aAAa,EAAC,KAAK,EAAC,cAAc,EAAC,KAAK,EAAC,OAAO,GAAG,EAEtE,KAAC,WAAW,IAAC,KAAK,EAAC,QAAQ,EAAC,KAAK,EAAC,SAAS,EAAC,UAAU,EAAE,gBAAgB,GAAI,EAC5E,KAAC,WAAW,IACR,KAAK,EAAC,YAAY,EAClB,KAAK,EAAC,YAAY,EAClB,UAAU,EAAE,kBAAkB,GAChC,IACE,CACX,CAAC;AACN,CAAC,CAAC,CACL,CAAC"}
@@ -9,18 +9,18 @@ export const RangeSelectDateExample = provide({
9
9
  singletons: [TableStore],
10
10
  })(observer(() => {
11
11
  const [{ tableState }] = useDependencies(TableStore);
12
- return (_jsxs(Fragment, { children: [_jsx(Banner, Object.assign({ title: "Date range filter", className: "m-b-2" }, { children: "Allows to choose date range" })), _jsxs(Table, Object.assign({ tableState: tableState }, { children: [_jsx(TableColumn, { field: "ProductID", title: "ID", editable: false, width: "100px" }), _jsx(TableColumn, { field: "ProductName", title: "Product Name", width: "240px" }), _jsx(TableColumn, { field: "UnitsOnOrder", title: "Units On Order", columnMenu: DateRangeColumnMenuFilter })] }))] }));
12
+ return (_jsxs(Fragment, { children: [_jsx(Banner, { title: "Date range filter", className: "m-b-2", children: "Allows to choose date range" }), _jsxs(Table, { tableState: tableState, children: [_jsx(TableColumn, { field: "ProductID", title: "ID", editable: false, width: "100px" }), _jsx(TableColumn, { field: "ProductName", title: "Product Name", width: "240px" }), _jsx(TableColumn, { field: "UnitsOnOrder", title: "Units On Order", columnMenu: DateRangeColumnMenuFilter })] })] }));
13
13
  }));
14
14
  export const RangeSelectNumberExample = provide({
15
15
  singletons: [TableStore],
16
16
  })(observer(() => {
17
17
  const [{ tableState }] = useDependencies(TableStore);
18
- return (_jsxs(Fragment, { children: [_jsx(Banner, Object.assign({ title: "Numeric range filter", className: "m-b-2" }, { children: "Allows to choose numeric range" })), _jsxs(Table, Object.assign({ tableState: tableState }, { children: [_jsx(TableColumn, { field: "ProductID", title: "ID", editable: false, width: "100px" }), _jsx(TableColumn, { field: "ProductName", title: "Product Name", width: "240px" }), _jsx(TableColumn, { field: "UnitsInStock", title: "Units In Stock", columnMenu: NumericRangeColumnMenuFilter })] }))] }));
18
+ return (_jsxs(Fragment, { children: [_jsx(Banner, { title: "Numeric range filter", className: "m-b-2", children: "Allows to choose numeric range" }), _jsxs(Table, { tableState: tableState, children: [_jsx(TableColumn, { field: "ProductID", title: "ID", editable: false, width: "100px" }), _jsx(TableColumn, { field: "ProductName", title: "Product Name", width: "240px" }), _jsx(TableColumn, { field: "UnitsInStock", title: "Units In Stock", columnMenu: NumericRangeColumnMenuFilter })] })] }));
19
19
  }));
20
20
  export const RangeSelectCurrencyExample = provide({
21
21
  singletons: [TableStore],
22
22
  })(observer(() => {
23
23
  const [{ tableState }] = useDependencies(TableStore);
24
- return (_jsxs(Fragment, { children: [_jsx(Banner, Object.assign({ title: "Currency range filter", className: "m-b-2" }, { children: "Allows to choose currency range" })), _jsxs(Table, Object.assign({ tableState: tableState }, { children: [_jsx(TableColumn, { field: "ProductID", title: "ID", editable: false, width: "100px" }), _jsx(TableColumn, { field: "ProductName", title: "Product Name", width: "240px" }), _jsx(TableColumn, { field: "UnitPrice", title: "Unit Price", columnMenu: CurrencyRangeColumnMenuFilter })] }))] }));
24
+ return (_jsxs(Fragment, { children: [_jsx(Banner, { title: "Currency range filter", className: "m-b-2", children: "Allows to choose currency range" }), _jsxs(Table, { tableState: tableState, children: [_jsx(TableColumn, { field: "ProductID", title: "ID", editable: false, width: "100px" }), _jsx(TableColumn, { field: "ProductName", title: "Product Name", width: "240px" }), _jsx(TableColumn, { field: "UnitPrice", title: "Unit Price", columnMenu: CurrencyRangeColumnMenuFilter })] })] }));
25
25
  }));
26
26
  //# sourceMappingURL=range-filter.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"range-filter.js","sourceRoot":"","sources":["../../../src/demo/filters/range-filter.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAM,QAAQ,EAAE,MAAM,OAAO,CAAC;AACrC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAEnE,OAAO,EACH,KAAK,EACL,WAAW,EACX,yBAAyB,EACzB,4BAA4B,EAC5B,6BAA6B,GAChC,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAErD,MAAM,CAAC,MAAM,sBAAsB,GAAO,OAAO,CAAC;IAC9C,UAAU,EAAE,CAAC,UAAU,CAAC;CAC3B,CAAC,CACE,QAAQ,CAAC,GAAG,EAAE;IACV,MAAM,CAAC,EAAE,UAAU,EAAE,CAAC,GAAG,eAAe,CAAC,UAAU,CAAC,CAAC;IAErD,OAAO,CACH,MAAC,QAAQ,eACL,KAAC,MAAM,kBAAC,KAAK,EAAC,mBAAmB,EAAC,SAAS,EAAC,OAAO,iDAE1C,EACT,MAAC,KAAK,kBAAC,UAAU,EAAE,UAAU,iBACzB,KAAC,WAAW,IAAC,KAAK,EAAC,WAAW,EAAC,KAAK,EAAC,IAAI,EAAC,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAC,OAAO,GAAG,EAC3E,KAAC,WAAW,IAAC,KAAK,EAAC,aAAa,EAAC,KAAK,EAAC,cAAc,EAAC,KAAK,EAAC,OAAO,GAAG,EACtE,KAAC,WAAW,IACR,KAAK,EAAC,cAAc,EACpB,KAAK,EAAC,g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uBAAuB,EAAC,SAAS,EAAC,OAAO,gDAE9C,EACT,MAAC,KAAK,IAAC,UAAU,EAAE,UAAU,aACzB,KAAC,WAAW,IAAC,KAAK,EAAC,WAAW,EAAC,KAAK,EAAC,IAAI,EAAC,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAC,OAAO,GAAG,EAC3E,KAAC,WAAW,IAAC,KAAK,EAAC,aAAa,EAAC,KAAK,EAAC,cAAc,EAAC,KAAK,EAAC,OAAO,GAAG,EACtE,KAAC,WAAW,IACR,KAAK,EAAC,WAAW,EACjB,KAAK,EAAC,YAAY,EAClB,UAAU,EAAE,6BAA6B,GAC3C,IACE,IACD,CACd,CAAC;AACN,CAAC,CAAC,CACL,CAAC"}
@@ -25,7 +25,7 @@ export const SelectAsyncExample = provide({
25
25
  contentMaxHeight: '250px',
26
26
  valueSelector: item => item.CategoryID,
27
27
  }), [categoryFetcherClean]);
28
- return (_jsxs(Fragment, { children: [_jsxs(Banner, Object.assign({ title: "Default filter with async select", className: "m-b-2" }, { children: ["Async select filter allows to choose one or several option from the list that will be fetched from BE. The list size is not limited, so you can also use search to find desired option.", _jsx("br", {}), "Use it when there can be greater than 20 possible options"] })), _jsxs(Table, Object.assign({ tableState: tableState, striped: false }, { children: [_jsx(TableColumn, { field: "ProductID", title: "ID", editable: false, width: "100px" }), _jsx(TableColumn, { field: "ProductName", title: "Product Name", width: "240px" }), _jsx(TableColumn, { field: "MadeIn", title: "Made In (async single-select filter)", columnMenu: madeInColumnMenu }), _jsx(TableColumn, { field: "CategoryID", title: "Category (async multi-select filter)", columnMenu: categoryColumnMenu, cell: CategoryCell })] }))] }));
28
+ return (_jsxs(Fragment, { children: [_jsxs(Banner, { title: "Default filter with async select", className: "m-b-2", children: ["Async select filter allows to choose one or several option from the list that will be fetched from BE. The list size is not limited, so you can also use search to find desired option.", _jsx("br", {}), "Use it when there can be greater than 20 possible options"] }), _jsxs(Table, { tableState: tableState, striped: false, children: [_jsx(TableColumn, { field: "ProductID", title: "ID", editable: false, width: "100px" }), _jsx(TableColumn, { field: "ProductName", title: "Product Name", width: "240px" }), _jsx(TableColumn, { field: "MadeIn", title: "Made In (async single-select filter)", columnMenu: madeInColumnMenu }), _jsx(TableColumn, { field: "CategoryID", title: "Category (async multi-select filter)", columnMenu: categoryColumnMenu, cell: CategoryCell })] })] }));
29
29
  }));
30
30
  export const SelectSyncExample = provide({
31
31
  singletons: [TableStore],
@@ -53,6 +53,6 @@ export const SelectSyncExample = provide({
53
53
  renderItem: item => item.Name,
54
54
  rowValueSelector: (item) => item === null || item === void 0 ? void 0 : item.PackageId,
55
55
  }), [packageOptions]);
56
- return (_jsxs(Fragment, { children: [_jsx(Banner, Object.assign({ title: "Default filter with sync select", className: "m-b-2" }, { children: "Select filter allows to choose one or multiple option(s) from the provided list. You can pass simple options (string or number) or complex objects" })), _jsxs(Table, Object.assign({ tableState: tableState, striped: false }, { children: [_jsx(TableColumn, { field: "ProductID", title: "ID", editable: false, width: "100px" }), _jsx(TableColumn, { field: "ProductName", title: "Product Name", width: "240px" }), _jsx(TableColumn, { field: "MadeIn", title: "Made In (sync single-select filter)", columnMenu: madeInColumnMenu }), _jsx(TableColumn, { field: "CategoryID", title: "Category (sync multi-select filter)", columnMenu: categoryColumnMenu, cell: CategoryCell }), _jsx(TableColumn, { field: "Package", title: "Package (sync single-select filter)", columnMenu: packageColumnMenu, cell: PackageCell })] }))] }));
56
+ return (_jsxs(Fragment, { children: [_jsx(Banner, { title: "Default filter with sync select", className: "m-b-2", children: "Select filter allows to choose one or multiple option(s) from the provided list. You can pass simple options (string or number) or complex objects" }), _jsxs(Table, { tableState: tableState, striped: false, children: [_jsx(TableColumn, { field: "ProductID", title: "ID", editable: false, width: "100px" }), _jsx(TableColumn, { field: "ProductName", title: "Product Name", width: "240px" }), _jsx(TableColumn, { field: "MadeIn", title: "Made In (sync single-select filter)", columnMenu: madeInColumnMenu }), _jsx(TableColumn, { field: "CategoryID", title: "Category (sync multi-select filter)", columnMenu: categoryColumnMenu, cell: CategoryCell }), _jsx(TableColumn, { field: "Package", title: "Package (sync single-select filter)", columnMenu: packageColumnMenu, cell: PackageCell })] })] }));
57
57
  }));
58
58
  //# sourceMappingURL=select-filter.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"select-filter.js","sourceRoot":"","sources":["../../../src/demo/filters/select-filter.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,OAAO,EAAM,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AACrD,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAEnE,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,sBAAsB,EAAkB,MAAM,OAAO,CAAC;AAEnF,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAGxD,MAAM,CAAC,MAAM,WAAW,GAAuB,KAAK,CAAC,EAAE;;IACnD,MAAM,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IAE3B,OAAO,uBAAK,MAAA,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,OAAO,0CAAE,WAAW,GAAM,CAAC;AACrD,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAO,OAAO,CAAC;IAC1C,UAAU,EAAE,CAAC,UAAU,CAAC;CAC3B,CAAC,CACE,QAAQ,CAAC,GAAG,EAAE;IACV,MAAM,CAAC,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,UAAU,EAAE,CAAC,GAC5D,eAAe,CAAC,UAAU,CAAC,CAAC;IAEhC,MAAM,gBAAgB,GAAG,OAAO,CAC5B,GAAG,EAAE,CACD,sBAAsB,CAAC;QACnB,WAAW,EAAE,kBAAkB;QAC/B,MAAM,EAAE,IAAI;KACf,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IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI;QAC7B,gBAAgB,EAAE,CAAC,IAAwB,EAAE,EAAE,CAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,SAAS;KAClE,CAAC,EACN,CAAC,cAAc,CAAC,CACnB,CAAC;IAEF,OAAO,CACH,MAAC,QAAQ,eACL,KAAC,MAAM,IAAC,KAAK,EAAC,iCAAiC,EAAC,SAAS,EAAC,OAAO,mKAGxD,EACT,MAAC,KAAK,IAAC,UAAU,EAAE,UAAU,EAAE,OAAO,EAAE,KAAK,aACzC,KAAC,WAAW,IAAC,KAAK,EAAC,WAAW,EAAC,KAAK,EAAC,IAAI,EAAC,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAC,OAAO,GAAG,EAC3E,KAAC,WAAW,IAAC,KAAK,EAAC,aAAa,EAAC,KAAK,EAAC,cAAc,EAAC,KAAK,EAAC,OAAO,GAAG,EACtE,KAAC,WAAW,IACR,KAAK,EAAC,QAAQ,EACd,KAAK,EAAC,qCAAqC,EAC3C,UAAU,EAAE,gBAAgB,GAC9B,EACF,KAAC,WAAW,IACR,KAAK,EAAC,YAAY,EAClB,KAAK,EAAC,qCAAqC,EAC3C,UAAU,EAAE,kBAAkB,EAC9B,IAAI,EAAE,YAAY,GACpB,EACF,KAAC,WAAW,IACR,KAAK,EAAC,SAAS,EACf,KAAK,EAAC,qCAAqC,EAC3C,UAAU,EAAE,iBAAiB,EAC7B,IAAI,EAAE,WAAW,GACnB,IACE,IACD,CACd,CAAC;AACN,CAAC,CAAC,CACL,CAAC"}
@@ -13,11 +13,11 @@ export const SingleSelectDefaultExample = provide({
13
13
  const madeInColumnMenu = useMemo(() => singleSelectColumnMenuFilter({ options: madeInOptions }), [madeInOptions]);
14
14
  const categoryColumnMenu = useMemo(() => singleSelectColumnMenuFilter({
15
15
  options: categories,
16
- renderItem: cat => (_jsxs(BodyText, { children: [_jsx("span", Object.assign({ className: "fw-bold" }, { children: cat.CategoryName })), " (#", cat.CategoryID, ")"] })),
16
+ renderItem: cat => (_jsxs(BodyText, { children: [_jsx("span", { className: "fw-bold", children: cat.CategoryName }), " (#", cat.CategoryID, ")"] })),
17
17
  valueSelector: cat => cat.CategoryID,
18
18
  contentMaxHeight: '200px',
19
19
  }), []);
20
- return (_jsxs(Fragment, { children: [_jsxs(Banner, Object.assign({ title: "Default filter with single select", className: "m-b-2" }, { children: ["Single select filter allows to choose one option from the provided list. You can pass simple options (string or number) or complex objects", _jsx("br", {}), "Use it when options list is fixed and less than 20 items"] })), _jsxs(Table, Object.assign({ tableState: tableState, striped: false }, { children: [_jsx(TableColumn, { field: "ProductID", title: "ID", editable: false, width: "100px" }), _jsx(TableColumn, { field: "ProductName", title: "Product Name", width: "240px" }), _jsx(TableColumn, { field: "MadeIn", title: "Made In (simple single-select filter)", columnMenu: madeInColumnMenu }), _jsx(TableColumn, { field: "CategoryID", title: "Category (simple single-select filter)", columnMenu: categoryColumnMenu, cell: CategoryCell })] }))] }));
20
+ return (_jsxs(Fragment, { children: [_jsxs(Banner, { title: "Default filter with single select", className: "m-b-2", children: ["Single select filter allows to choose one option from the provided list. You can pass simple options (string or number) or complex objects", _jsx("br", {}), "Use it when options list is fixed and less than 20 items"] }), _jsxs(Table, { tableState: tableState, striped: false, children: [_jsx(TableColumn, { field: "ProductID", title: "ID", editable: false, width: "100px" }), _jsx(TableColumn, { field: "ProductName", title: "Product Name", width: "240px" }), _jsx(TableColumn, { field: "MadeIn", title: "Made In (simple single-select filter)", columnMenu: madeInColumnMenu }), _jsx(TableColumn, { field: "CategoryID", title: "Category (simple single-select filter)", columnMenu: categoryColumnMenu, cell: CategoryCell })] })] }));
21
21
  }));
22
22
  export const SingleSelectCustomFilterExample = provide({
23
23
  singletons: [TableStore],
@@ -31,6 +31,6 @@ export const SingleSelectCustomFilterExample = provide({
31
31
  filterOperator: (madeIn, value) => madeIn ? (value ? isVowel(madeIn) : !isVowel(madeIn)) : false,
32
32
  });
33
33
  }, []);
34
- return (_jsxs(Fragment, { children: [_jsxs(Banner, Object.assign({ title: "Default filter with single select", className: "m-b-2" }, { children: ["Single select filter allows to choose one option from the provided list. You can pass simple options (string or number) or complex objects", _jsx("br", {}), "Custom filter allows you to provide custom filtering options"] })), _jsxs(Table, Object.assign({ tableState: tableState, striped: false }, { children: [_jsx(TableColumn, { field: "ProductID", title: "ID", editable: false, width: "100px" }), _jsx(TableColumn, { field: "ProductName", title: "Product Name (custom single-select filter)", columnMenu: productNameCustomFilter })] }))] }));
34
+ return (_jsxs(Fragment, { children: [_jsxs(Banner, { title: "Default filter with single select", className: "m-b-2", children: ["Single select filter allows to choose one option from the provided list. You can pass simple options (string or number) or complex objects", _jsx("br", {}), "Custom filter allows you to provide custom filtering options"] }), _jsxs(Table, { tableState: tableState, striped: false, children: [_jsx(TableColumn, { field: "ProductID", title: "ID", editable: false, width: "100px" }), _jsx(TableColumn, { field: "ProductName", title: "Product Name (custom single-select filter)", columnMenu: productNameCustomFilter })] })] }));
35
35
  }));
36
36
  //# sourceMappingURL=single-select-filter.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"single-select-filter.js","sourceRoot":"","sources":["../../../src/demo/filters/single-select-filter.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,OAAO,EAAM,QAAQ,EAAE,MAAM,OAAO,CAAC;AAE9C,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAEnE,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,4BAA4B,EAAE,MAAM,OAAO,CAAC;AAEzE,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAE/D,MAAM,CAAC,MAAM,0BAA0B,GAAO,OAAO,CAAC;I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IAED,IAAI,cAAc;QACd,MAAM,GAAG,GAAG,QAAQ,CAAC,MAAM,CACvB,CAAC,GAAG,EAAE,OAAO,EAAE,EAAE,CAAC,iCACX,GAAG,GACH,CAAC,OAAO,CAAC,OAAO;YACf,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,SAAS,CAAC,EAAE,OAAO,CAAC,OAAO,CAAC,WAAW,EAAE;YAC9D,CAAC,CAAC,EAAE,CAAC,EACX,EACF,EAA4B,CAC/B,CAAC;QAEF,OAAO,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC;aAClB,GAAG,CAAC,MAAM,CAAC;aACX,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;IAChD,CAAC;IAgDO,aAAa;QACjB,OAAO,IAAI,kBAAkB,CAAC,QAAQ,EAAE,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAClE,CAAC;CACJ,CAAA;AA3EY,UAAU;IADtB,UAAU,EAAE;GACA,UAAU,CA2EtB"}
@@ -7,12 +7,12 @@ import { getEnumKeys } from '@servicetitan/form';
7
7
  import { Table, TableColumn, BooleanEditableCell, DateRangeColumnMenuFilter, StandardColumnMenuFilter, standardFilterWithMultiselect, multiSelectColumnMenuFilter, CurrencyRangeColumnMenuFilter, } from '../..';
8
8
  import { TableStore } from '../overview/table.store';
9
9
  import { UserRole } from '../overview/product';
10
- const UserRoleColumnMenuFilter = multiSelectColumnMenuFilter(getEnumKeys(UserRole), userRole => (_jsx(Tag, Object.assign({ compact: true, color: UserRole[userRole] === UserRole.Owner ? 'success' : 'default' }, { children: userRole }))));
10
+ const UserRoleColumnMenuFilter = multiSelectColumnMenuFilter(getEnumKeys(UserRole), userRole => (_jsx(Tag, { compact: true, color: UserRole[userRole] === UserRole.Owner ? 'success' : 'default', children: userRole })));
11
11
  export const TableFooterPageSizeExample = provide({
12
12
  singletons: [TableStore],
13
13
  })(observer(() => {
14
14
  const [{ tableState }] = useDependencies(TableStore);
15
15
  const madeInColumnMenu = useMemo(() => standardFilterWithMultiselect({ tableState }), [tableState]);
16
- return (_jsxs(Table, Object.assign({ tableState: tableState, striped: false, sortable: true, pager: { pageSizes: [3, 5, 7, 10] } }, { children: [_jsx(TableColumn, { field: "ProductID", title: "ID", editable: false, width: "100px" }), _jsx(TableColumn, { field: "ProductName", title: "Product Name", columnMenu: StandardColumnMenuFilter, width: "240px" }), _jsx(TableColumn, { field: "Supplier", title: "Supplier", columnMenu: StandardColumnMenuFilter, width: "150px" }), _jsx(TableColumn, { field: "MadeIn", title: "Made In", columnMenu: madeInColumnMenu, width: "175px" }), _jsx(TableColumn, { field: "UnitsOnOrder", title: "First Ordered On", columnMenu: DateRangeColumnMenuFilter, format: "{0:MM/dd/yyyy}", width: "240px" }), _jsx(TableColumn, { field: "UnitPrice", title: "Unit Price", columnMenu: CurrencyRangeColumnMenuFilter, format: "{0:c}", width: "125px" }), _jsx(TableColumn, { field: "Discontinued", title: "Discontinued", cell: BooleanEditableCell, sortable: false, width: "125px" }), _jsx(TableColumn, { field: "AvailableFor", title: "Available For", columnMenu: UserRoleColumnMenuFilter, width: "240px" })] })));
16
+ return (_jsxs(Table, { tableState: tableState, striped: false, sortable: true, pager: { pageSizes: [3, 5, 7, 10] }, children: [_jsx(TableColumn, { field: "ProductID", title: "ID", editable: false, width: "100px" }), _jsx(TableColumn, { field: "ProductName", title: "Product Name", columnMenu: StandardColumnMenuFilter, width: "240px" }), _jsx(TableColumn, { field: "Supplier", title: "Supplier", columnMenu: StandardColumnMenuFilter, width: "150px" }), _jsx(TableColumn, { field: "MadeIn", title: "Made In", columnMenu: madeInColumnMenu, width: "175px" }), _jsx(TableColumn, { field: "UnitsOnOrder", title: "First Ordered On", columnMenu: DateRangeColumnMenuFilter, format: "{0:MM/dd/yyyy}", width: "240px" }), _jsx(TableColumn, { field: "UnitPrice", title: "Unit Price", columnMenu: CurrencyRangeColumnMenuFilter, format: "{0:c}", width: "125px" }), _jsx(TableColumn, { field: "Discontinued", title: "Discontinued", cell: BooleanEditableCell, sortable: false, width: "125px" }), _jsx(TableColumn, { field: "AvailableFor", title: "Available For", columnMenu: UserRoleColumnMenuFilter, width: "240px" })] }));
17
17
  }));
18
18
  //# sourceMappingURL=table.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"table.js","sourceRoot":"","sources":["../../../src/demo/footer-page-size/table.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,OAAO,EAAM,MAAM,OAAO,CAAC;AAEpC,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAEnE,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,OAAO,EAAE,GAAG,EAAE,MAAM,6BAA6B,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,OAAO,EACH,KAAK,EACL,WAAW,EACX,mBAAmB,EACnB,yBAAyB,EACzB,wBAAwB,EACxB,6BAA6B,EAC7B,2BAA2B,EAC3B,6BAA6B,GAChC,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAE/C,MAAM,wBAAwB,GAAG,2BAA2B,CAAC,WAAW,CAAC,QAAQ,CAAC,EAAE,QAAQ,CAAC,EAAE,CAAC,CAC5F,KAAC,GAAG,kBAAC,OAAO,QAAC,KAAK,EAAE,QAAQ,CAAC,QAAQ,CAAC,KAAK,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,gBAC5E,QAAQ,IACP,CACT,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,0BAA0B,GAAO,OAAO,CAAC;IAClD,UAAU,EAAE,CAAC,UAAU,CAAC;C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EAEF,KAAC,WAAW,IACR,KAAK,EAAC,cAAc,EACpB,KAAK,EAAC,cAAc,EACpB,IAAI,EAAE,mBAAmB,EACzB,QAAQ,EAAE,KAAK,EACf,KAAK,EAAC,OAAO,GACf,EAEF,KAAC,WAAW,IACR,KAAK,EAAC,cAAc,EACpB,KAAK,EAAC,eAAe,EACrB,UAAU,EAAE,wBAAwB,EACpC,KAAK,EAAC,OAAO,GACf,IACE,CACX,CAAC;AACN,CAAC,CAAC,CACL,CAAC"}
@@ -16,7 +16,7 @@ export const DetailTable = provide({
16
16
  if (!store.tableState) {
17
17
  return null;
18
18
  }
19
- return (_jsxs(Table, Object.assign({ selectable: true, hideSelectAll: true, tableState: store.tableState, selectionControl: LockFieldIcon }, { children: [_jsx(TableColumn, { field: "Field" }), _jsx(TableColumn, { field: "OldValue" }), _jsx(TableColumn, { field: "NewValue" })] })));
19
+ return (_jsxs(Table, { selectable: true, hideSelectAll: true, tableState: store.tableState, selectionControl: LockFieldIcon, children: [_jsx(TableColumn, { field: "Field" }), _jsx(TableColumn, { field: "OldValue" }), _jsx(TableColumn, { field: "NewValue" })] }));
20
20
  }));
21
21
  const LockFieldIcon = props => {
22
22
  const { checked, disabled } = props;
@@ -1 +1 @@
1
- {"version":3,"file":"detail-table.js","sourceRoot":"","sources":["../../../src/demo/master-detail/detail-table.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAM,MAAM,OAAO,CAAC;AAEtC,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAEnE,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAiB,MAAM,6BAA6B,CAAC;AAE5E,OAAO,EAAE,KAAK,EAAE,WAAW,EAAuB,MAAM,OAAO,CAAC;AAEhE,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAExD,MAAM,CAAC,MAAM,WAAW,GAA4B,OAA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M,aAAa,GAA6B,KAAK,CAAC,EAAE;IACpD,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IAEpC,IAAI,CAAC,QAAQ,EAAE,CAAC;QACZ,OAAO,KAAC,QAAQ,oBAAK,KAAK,EAAI,CAAC;IACnC,CAAC;IAED,OAAO,CACH,wBACK,OAAO,CAAC,CAAC,CAAC,CACP,KAAC,IAAI,IAAC,IAAI,EAAC,OAAO,EAAC,SAAS,EAAC,YAAY,GAAG,CAC/C,CAAC,CAAC,CAAC,CACA,KAAC,IAAI,IAAC,IAAI,EAAC,QAAQ,EAAC,SAAS,EAAC,cAAc,GAAG,CAClD,GACC,CACT,CAAC;AACN,CAAC,CAAC"}
@@ -21,6 +21,10 @@ import { observable, action, observe, computed, makeObservable } from 'mobx';
21
21
  import { TableState } from '../..';
22
22
  import { MasterTableStore } from './master-table.store';
23
23
  let DetailTableStore = class DetailTableStore {
24
+ get selected() {
25
+ var _a, _b;
26
+ return (_b = (_a = this.tableState) === null || _a === void 0 ? void 0 : _a.selectedIds.size) !== null && _b !== void 0 ? _b : 0;
27
+ }
24
28
  constructor() {
25
29
  Object.defineProperty(this, "tableState", {
26
30
  enumerable: true,
@@ -51,10 +55,6 @@ let DetailTableStore = class DetailTableStore {
51
55
  }
52
56
  });
53
57
  }
54
- get selected() {
55
- var _a, _b;
56
- return (_b = (_a = this.tableState) === null || _a === void 0 ? void 0 : _a.selectedIds.size) !== null && _b !== void 0 ? _b : 0;
57
- }
58
58
  initialize(row) {
59
59
  this.tableState = this.masterTableStore.tableState.getDetailTableState(row);
60
60
  }
@@ -1 +1 @@
1
- {"version":3,"file":"detail-table.store.js","sourceRoot":"","sources":["../../../src/demo/master-detail/detail-table.store.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAE7D,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,OAAO,EAA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+13,9 @@ import { InMemoryDataSource, TableState } from '../..';
13
13
  import { products } from './products';
14
14
  import { productDetails } from './product-details';
15
15
  let MasterTableStore = class MasterTableStore {
16
+ get selectedIds() {
17
+ return Array.from(this.tableState.selectedIds);
18
+ }
16
19
  constructor() {
17
20
  Object.defineProperty(this, "tableState", {
18
21
  enumerable: true,
@@ -52,9 +55,6 @@ let MasterTableStore = class MasterTableStore {
52
55
  }
53
56
  });
54
57
  }
55
- get selectedIds() {
56
- return Array.from(this.tableState.selectedIds);
57
- }
58
58
  dispose() {
59
59
  this.disposeSelectedIdsObserve();
60
60
  }
@@ -1 +1 @@
1
- {"version":3,"file":"master-table.store.js","sourceRoot":"","sources":["../../../src/demo/master-detail/master-table.store.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAErD,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAU,cAAc,EAAE,MAAM,MAAM,CAAC;AAEjE,OAAO,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAGvD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAGtC,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAGnD,IAAa,gBAAgB,GAA7B,MAAa,gBAAgB;IAczB;QAbA;;;;mBAA0C,IAAI,UAAU,CAAC;gBACrD,UAAU,EAAE,IAAI,kBAAkB,CAAC,QAAQ,EAAE,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,SAAS,CAAC;gBAClE,mBAAmB,EAAE,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,mBAAmB,CAAC,GAAG,CAAC;aAC5D,CAAC;WAAC;QAEH;;;;mBAAU,IAAI,GAAG,EAA8D;WAAC;QAMhF;;;;;WAA0C;QAGtC,cAAc,CAAC,IAAI,CAAC,CAAC;QAErB,IAAI,CAAC,yBAAyB,GAAG,OAAO,CAAC,IAAI,EAAE,aAAa,EAAE,MAAM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C,GAAG,CAAC,KAAK,CACnB;YACD,iBAAiB,EAAE,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,QAAQ;YACxC,MAAM,EAAE;gBACJ,GAAG;gBACH,UAAU,EAAE,IAAI,CAAC,UAAU;aAC9B;SACJ,CAAC,CAAC;QAEH,IAAI,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE;YACrC,gBAAgB,CAAC,SAAS,EAAE,CAAC;SAChC;QAED,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE,EAAE,gBAAgB,CAAC,CAAC;QAEvC,OAAO,gBAAgB,CAAC;IAC5B,CAAC;IAEO,kBAAkB,CAAC,EAAU,EAAE,KAAc;QACjD,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,CAAC,mBAAoB,CAAC,EAAE,SAAS,EAAE,EAAE,EAAa,CAAC,CAAC;QAElF,IAAI,CAAC,CAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,UAAU,CAAA,EAAE;YACrB,OAAO;SACV;QAED,IAAI,KAAK,EAAE;YACP,MAAM,CAAC,SAAS,CAAC,EAAE,kBAAkB,EAAE,KAAK,EAAE,CAAC,CAAC;SACnD;aAAM,IAAI,CAAC,MAAM,CAAC,sBAAsB,EAAE;YACvC,MAAM,CAAC,WAAW,CAAC,EAAE,kBAAkB,EAAE,KAAK,EAAE,CAAC,CAAC;SACrD;IACL,CAAC;CACJ,CAAA;AA7Ea;IAAT,QAAQ;;;mDAER;AAVQ,gBAAgB;IAD5B,UAAU,EAAE;;GACA,gBAAgB,CAqF5B;SArFY,gBAAgB"}
1
+ {"version":3,"file":"master-table.store.js","sourceRoot":"","sources":["../../../src/demo/master-detail/master-table.store.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAErD,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAU,cAAc,EAAE,MAAM,MA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AC,EAAE,SAAS,EAAE,EAAE,EAAa,CAAC,CAAC;QAElF,IAAI,CAAC,CAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,UAAU,CAAA,EAAE,CAAC;YACtB,OAAO;QACX,CAAC;QAED,IAAI,KAAK,EAAE,CAAC;YACR,MAAM,CAAC,SAAS,CAAC,EAAE,kBAAkB,EAAE,KAAK,EAAE,CAAC,CAAC;QACpD,CAAC;aAAM,IAAI,CAAC,MAAM,CAAC,sBAAsB,EAAE,CAAC;YACxC,MAAM,CAAC,WAAW,CAAC,EAAE,kBAAkB,EAAE,KAAK,EAAE,CAAC,CAAC;QACtD,CAAC;IACL,CAAC;CACJ,CAAA;AA7EG;IAAC,QAAQ;;;mDAER;AAVQ,gBAAgB;IAD5B,UAAU,EAAE;;GACA,gBAAgB,CAqF5B"}
@@ -12,13 +12,13 @@ const ExpandCell = ({ tableState, dataItem }) => {
12
12
  value: !dataItem.expanded,
13
13
  });
14
14
  };
15
- return (_jsx("td", { children: _jsx(Button, Object.assign({ full: true, text: true, primary: true, onClick: handleExpandChange }, { children: "Show / Hide" })) }));
15
+ return (_jsx("td", { children: _jsx(Button, { full: true, text: true, primary: true, onClick: handleExpandChange, children: "Show / Hide" }) }));
16
16
  };
17
17
  export const TableMasterDetailExample = provide({
18
18
  singletons: [MasterTableStore],
19
19
  })(() => {
20
20
  const [store] = useDependencies(MasterTableStore);
21
21
  useEffect(() => () => store.dispose());
22
- return (_jsxs(Table, Object.assign({ tableState: store.tableState, selectable: true, detail: DetailTable }, { children: [_jsx(TableColumn, { field: "ProductID", title: "ID", width: "100px" }), _jsx(TableColumn, { field: "ProductName", title: "Product Name" }), _jsx(TableColumn, { cell: ExpandCell, width: "150px" })] })));
22
+ return (_jsxs(Table, { tableState: store.tableState, selectable: true, detail: DetailTable, children: [_jsx(TableColumn, { field: "ProductID", title: "ID", width: "100px" }), _jsx(TableColumn, { field: "ProductName", title: "Product Name" }), _jsx(TableColumn, { cell: ExpandCell, width: "150px" })] }));
23
23
  });
24
24
  //# sourceMappingURL=table-master-detail.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"table-master-detail.js","sourceRoot":"","sources":["../../../src/demo/master-detail/table-master-detail.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAM,MAAM,OAAO,CAAC;AAEtC,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAEnE,OAAO,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAErD,OAAO,EAAE,KAAK,EAAE,WAAW,EAA0C,MAAM,OAAO,CAAC;AAEnF,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAExD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,MAAM,UAAU,GAAuB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,EAAE,EAAE;IAChE,MAAM,kBAAkB,GAAG,GAAG,EAAE;QAC5B,UAAW,CAAC,kBAAkB,CAAC;YAC3B,QAAQ;YACR,KAAK,EAAE,CAAC,QAAQ,CAAC,QAAQ;SACF,CAAC,CAAC;IACjC,CAAC,CAAC;IAEF,OAAO,CACH,uBACI,KAAC,MAAM,kBAAC,IAAI,QAAC,IAAI,QAAC,OAAO,QAAC,OAAO,EAAE,kBAAkB,iCAE5C,GACR,CACR,CAAC;AACN,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,wBAAwB,GAAO,OAAO,CAAC;IAChD,UAAU,EAAE,CAAC,gBAAgB,CAAC;CACjC,CAAC,CAAC,GAAG,EAAE;IACJ,MAAM,CAAC,KAAK,CAAC,GAAG,eAAe,CAAC,gBAAgB,CAAC,CAAC;IAElD,SAAS,CAAC,GAAG,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC,CAAC;IAEvC,OAAO,CACH,MAAC,KAAK,kBAAC,UAAU,EAAE,KAAK,CAAC,UAAU,EAAE,UAAU,QAAC,MAAM,E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AAK,CAAC,GAAG,eAAe,CAAC,gBAAgB,CAAC,CAAC;IAElD,SAAS,CAAC,GAAG,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC,CAAC;IAEvC,OAAO,CACH,MAAC,KAAK,IAAC,UAAU,EAAE,KAAK,CAAC,UAAU,EAAE,UAAU,QAAC,MAAM,EAAE,WAAW,aAC/D,KAAC,WAAW,IAAC,KAAK,EAAC,WAAW,EAAC,KAAK,EAAC,IAAI,EAAC,KAAK,EAAC,OAAO,GAAG,EAE1D,KAAC,WAAW,IAAC,KAAK,EAAC,aAAa,EAAC,KAAK,EAAC,cAAc,GAAG,EAExD,KAAC,WAAW,IAAC,IAAI,EAAE,UAAU,EAAE,KAAK,EAAC,OAAO,GAAG,IAC3C,CACX,CAAC;AACN,CAAC,CAAC,CAAC"}
@@ -15,7 +15,7 @@ const ViewAction = ({ tableState, dataItem }) => {
15
15
  return _jsx("td", {});
16
16
  }
17
17
  const edit = () => tableState.edit(dataItem);
18
- return (_jsx("td", { children: _jsx(Button, Object.assign({ text: true, primary: true, onClick: edit }, { children: _jsx(Icon, { name: "edit" }) })) }));
18
+ return (_jsx("td", { children: _jsx(Button, { text: true, primary: true, onClick: edit, children: _jsx(Icon, { name: "edit" }) }) }));
19
19
  };
20
20
  const EditAction = ({ tableState, formState, dataItem }) => {
21
21
  if (!tableState) {
@@ -29,7 +29,7 @@ const EditAction = ({ tableState, formState, dataItem }) => {
29
29
  yield tableState.saveEdit(dataItem);
30
30
  });
31
31
  const cancel = () => tableState.cancelEdit(dataItem);
32
- return (_jsx("td", { children: _jsxs(Stack, Object.assign({ justifyContent: "space-between" }, { children: [_jsx(Button, Object.assign({ text: true, onClick: cancel }, { children: _jsx(Icon, { name: "do_not_disturb" }) })), _jsx(Button, Object.assign({ text: true, primary: true, onClick: save }, { children: _jsx(Icon, { name: "done" }) }))] })) }));
32
+ return (_jsx("td", { children: _jsxs(Stack, { justifyContent: "space-between", children: [_jsx(Button, { text: true, onClick: cancel, children: _jsx(Icon, { name: "do_not_disturb" }) }), _jsx(Button, { text: true, primary: true, onClick: save, children: _jsx(Icon, { name: "done" }) })] }) }));
33
33
  };
34
34
  export const ActionsCell = getActionCell({
35
35
  view: ViewAction,
@@ -1 +1 @@
1
- {"version":3,"file":"actions-cell.js","sourceRoot":"","sources":["../../../src/demo/overview/actions-cell.tsx"],"names":[],"mappings":";;;;;;;;;;AAEA,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AAElE,OAAO,EAAkB,aAAa,EAAmB,MAAM,OAAO,CAAC;AAIvE,MAAM,UAAU,GAAgC,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,EAAE,EAAE;IACzE,IAAI,CAAC,UAAU,EAAE;QACb,OAAO,cAAM,CAAC;KACjB;IAED,MAAM,IAAI,GAAG,GAAG,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IAE7C,OAAO,CACH,uBACI,KAAC,MAAM,kBAAC,IAAI,QAAC,OAAO,QAAC,OAAO,EAAE,IAAI,gBAC9B,KAAC,IAAI,IAAC,IAAI,EAAC,MAAM,GAAG,IACf,GACR,CACR,CAAC;AACN,CAAC,CAAC;AAEF,MAAM,UAAU,GAAiC,CAAC,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,EAAE;IACrF,IAAI,CAAC,UAAU,EAAE;QACb,OAAO,cAAM,CAAC;KACjB;IAED,MAAM,IAAI,GAAG,GAAS,EAAE;QACpB,MAAM,EAAE,QAAQ,EAAE,GAAG,MAAM,SAAS,CAAC,QAAQ,EAAE,CAAC;QAChD,IAAI,QAAQ,EAAE;YACV,OAAO;SACV;QAED,MAAM,UAAU,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;IACxC,CAAC,CAAA,CAAC;IAEF,MAAM,MAAM,GAAG,GAAG,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC,QAA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AClB,CAAC;IAED,MAAM,IAAI,GAAG,GAAS,EAAE;QACpB,MAAM,EAAE,QAAQ,EAAE,GAAG,MAAM,SAAS,CAAC,QAAQ,EAAE,CAAC;QAChD,IAAI,QAAQ,EAAE,CAAC;YACX,OAAO;QACX,CAAC;QAED,MAAM,UAAU,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;IACxC,CAAC,CAAA,CAAC;IAEF,MAAM,MAAM,GAAG,GAAG,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC;IAErD,OAAO,CACH,uBACI,MAAC,KAAK,IAAC,cAAc,EAAC,eAAe,aACjC,KAAC,MAAM,IAAC,IAAI,QAAC,OAAO,EAAE,MAAM,YACxB,KAAC,IAAI,IAAC,IAAI,EAAC,gBAAgB,GAAG,GACzB,EAET,KAAC,MAAM,IAAC,IAAI,QAAC,OAAO,QAAC,OAAO,EAAE,IAAI,YAC9B,KAAC,IAAI,IAAC,IAAI,EAAC,MAAM,GAAG,GACf,IACL,GACP,CACR,CAAC;AACN,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAG,aAAa,CAAC;IACrC,IAAI,EAAE,UAAU;IAChB,IAAI,EAAE,UAAU;CACnB,CAAC,CAAC"}
@@ -9,7 +9,7 @@ import { TableStore } from './table.store';
9
9
  import { ActionsCell } from './actions-cell';
10
10
  import { NumberInput, enumToOptions, getEnumKeys } from '@servicetitan/form';
11
11
  import { UserRole, Supplier } from './product';
12
- const UserRoleColumnMenuFilter = multiSelectColumnMenuFilter(getEnumKeys(UserRole), userRole => (_jsx(Tag, Object.assign({ compact: true, color: UserRole[userRole] === UserRole.Owner ? 'success' : 'default' }, { children: userRole }))));
12
+ const UserRoleColumnMenuFilter = multiSelectColumnMenuFilter(getEnumKeys(UserRole), userRole => (_jsx(Tag, { compact: true, color: UserRole[userRole] === UserRole.Owner ? 'success' : 'default', children: userRole })));
13
13
  const AvailableForEditableCell = getSelectEditableCell({
14
14
  options: enumToOptions(UserRole),
15
15
  viewer: ({ dataItem, field }) => {
@@ -26,7 +26,7 @@ const SupplierCell = props => {
26
26
  };
27
27
  // Implementation of a date editable cell utilizing getEditableCell
28
28
  const DateEditor = observer(({ fieldState: { value, onChange, hasError }, className }) => {
29
- return (_jsx("td", Object.assign({ className: className }, { children: _jsx(DatePicker, { value: value, onChange: onChange, error: hasError }) })));
29
+ return (_jsx("td", { className: className, children: _jsx(DatePicker, { value: value, onChange: onChange, error: hasError }) }));
30
30
  });
31
31
  export const DateEditableCell = getEditableCell({
32
32
  editor: DateEditor,
@@ -51,6 +51,6 @@ export const TableExample = provide({
51
51
  },
52
52
  });
53
53
  };
54
- return (_jsxs(Fragment, { children: [_jsxs(Stack, Object.assign({ justifyContent: "space-between", alignContent: "center", className: "m-b-2" }, { children: [_jsx(Export, { totalCount: tableState.totalCount, exportPdf: tableState.exportPdf, exportExcel: tableState.exportExcel }), inEdit ? (_jsxs(ButtonGroup, { children: [_jsx(Button, Object.assign({ small: true, onClick: cancelAll, className: "m-r-2" }, { children: "Cancel All" })), _jsx(Button, Object.assign({ small: true, primary: true, onClick: saveAll }, { children: "Save All" }))] })) : (_jsx(Button, Object.assign({ small: true, primary: true, onClick: editAll }, { children: "Edit All" })))] })), _jsxs(Table, Object.assign({ tableState: tableState, striped: false, selectable: true, groupable: true, sortable: true, exportable: true, exportFileName: "Table.Export.Test...File.Name.01.01.2020..~!@#$%^(*_+';", cellRender: cellRender }, { children: [_jsx(TableColumn, { field: "ProductID", title: "ID", editable: false, width: "100px" }), _jsx(TableColumn, { field: "ProductName", title: "Product Name", cell: TextEditableCell, columnMenu: StandardColumnMenuFilter, width: "240px" }), _jsx(TableColumn, { field: "Supplier", title: "Supplier", cell: SupplierCell, columnMenu: StandardColumnMenuFilter, width: "150px" }), _jsx(TableColumn, { field: "MadeIn", title: "Made In", cell: TextEditableCell, columnMenu: madeInColumnMenu, width: "175px" }), _jsx(TableColumn, { field: "UnitsOnOrder", title: "First Ordered On", cell: DateEditableCell, columnMenu: DateRangeColumnMenuFilter, format: "{0:MM/dd/yyyy}", width: "240px" }), _jsx(TableColumn, { field: "UnitPrice", title: "Unit Price", cell: NumericEditableCell, columnMenu: CurrencyRangeColumnMenuFilter, format: "{0:c}", width: "125px" }), _jsx(TableColumn, { field: "Discontinued", title: "Discontinued", cell: BooleanEditableCell, sortable: false, width: "125px" }), _jsx(TableColumn, { field: "AvailableFor", title: "Available For", cell: AvailableForEditableCell, columnMenu: UserRoleColumnMenuFilter, width: "240px" }), _jsx(TableColumn, { cell: ActionsCell, sortable: false, width: "125px" })] }))] }));
54
+ return (_jsxs(Fragment, { children: [_jsxs(Stack, { justifyContent: "space-between", alignContent: "center", className: "m-b-2", children: [_jsx(Export, { totalCount: tableState.totalCount, exportPdf: tableState.exportPdf, exportExcel: tableState.exportExcel }), inEdit ? (_jsxs(ButtonGroup, { children: [_jsx(Button, { small: true, onClick: cancelAll, className: "m-r-2", children: "Cancel All" }), _jsx(Button, { small: true, primary: true, onClick: saveAll, children: "Save All" })] })) : (_jsx(Button, { small: true, primary: true, onClick: editAll, children: "Edit All" }))] }), _jsxs(Table, { tableState: tableState, striped: false, selectable: true, groupable: true, sortable: true, exportable: true, exportFileName: "Table.Export.Test...File.Name.01.01.2020..~!@#$%^(*_+';", cellRender: cellRender, children: [_jsx(TableColumn, { field: "ProductID", title: "ID", editable: false, width: "100px" }), _jsx(TableColumn, { field: "ProductName", title: "Product Name", cell: TextEditableCell, columnMenu: StandardColumnMenuFilter, width: "240px" }), _jsx(TableColumn, { field: "Supplier", title: "Supplier", cell: SupplierCell, columnMenu: StandardColumnMenuFilter, width: "150px" }), _jsx(TableColumn, { field: "MadeIn", title: "Made In", cell: TextEditableCell, columnMenu: madeInColumnMenu, width: "175px" }), _jsx(TableColumn, { field: "UnitsOnOrder", title: "First Ordered On", cell: DateEditableCell, columnMenu: DateRangeColumnMenuFilter, format: "{0:MM/dd/yyyy}", width: "240px" }), _jsx(TableColumn, { field: "UnitPrice", title: "Unit Price", cell: NumericEditableCell, columnMenu: CurrencyRangeColumnMenuFilter, format: "{0:c}", width: "125px" }), _jsx(TableColumn, { field: "Discontinued", title: "Discontinued", cell: BooleanEditableCell, sortable: false, width: "125px" }), _jsx(TableColumn, { field: "AvailableFor", title: "Available For", cell: AvailableForEditableCell, columnMenu: UserRoleColumnMenuFilter, width: "240px" }), _jsx(TableColumn, { cell: ActionsCell, sortable: false, width: "125px" })] })] }));
55
55
  }));
56
56
  //# sourceMappingURL=table.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"table.js","sourceRoot":"","sources":["../../../src/demo/overview/table.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAoB,MAAM,OAAO,CAAC;AAE1E,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAEnE,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAE1F,OAAO,EACH,KAAK,EACL,WAAW,EACX,SAAS,EAET,gBAAgB,EAChB,mBAAmB,EACnB,qBAAqB,EACrB,yBAAyB,EACzB,wBAAwB,EACxB,6BAA6B,EAC7B,2BAA2B,EAC3B,6BAA6B,EAC7B,eAAe,GAElB,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAEtC,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAC7E,OAAO,EAAW,QAAQ,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAExD,MAAM,wBAAwB,GAAG,2BAA2B,CAAC,WAAW,CAAC,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;YACnC,SAAS,EAAE,IAAI,UAAU,CAAC,CAAC,CAAC,CAAC,UAAU,CACnC,KAAK,CAAC,EAAE,CAAC,KAAK,IAAI,CAAC,IAAI,wBAAwB,CAClD;YACD,YAAY,EAAE,IAAI,UAAU,CAAC,CAAC,CAAC;YAC/B,YAAY,EAAE,IAAI,UAAU,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC,UAAU,CAC/C,KAAK,CAAC,EAAE,CAAC,KAAK,GAAG,IAAI,IAAI,EAAE,IAAI,cAAc,CAChD;YACD,YAAY,EAAE,IAAI,UAAU,CAAC,KAAK,CAAC;YACnC,YAAY,EAAE,IAAI,UAAU,CAAuB,SAAS,CAAC;YAC7D,OAAO,EAAE,IAAI,UAAU,CAAiC,SAAS,CAAC;SACrE,CAAC,EACF,GAAG,CACN,CAAC;IACN,CAAC;CACJ,CAAA;AA9CG;IAAC,QAAQ;;;wCAER;AAfQ,UAAU;IADtB,UAAU,EAAE;;GACA,UAAU,CA2DtB"}
@@ -6,13 +6,13 @@ import { Table, TableColumn, useRowExpandColumn } from '../..';
6
6
  import { RowDetailsTableStore } from './row-details-table.store';
7
7
  const DetailsRow = ({ dataItem }) => {
8
8
  const product = dataItem;
9
- return (_jsxs(Stack, { children: [_jsx("div", { style: { width: '38px' } }), _jsxs(Stack.Item, Object.assign({ className: "m-l-1", fill: true }, { children: ["details for product ", product.ProductName] }))] }));
9
+ return (_jsxs(Stack, { children: [_jsx("div", { style: { width: '38px' } }), _jsxs(Stack.Item, { className: "m-l-1", fill: true, children: ["details for product ", product.ProductName] })] }));
10
10
  };
11
11
  export const TableDetailedRowExample = provide({
12
12
  singletons: [RowDetailsTableStore],
13
13
  })(observer(() => {
14
14
  const [{ tableState }] = useDependencies(RowDetailsTableStore);
15
15
  const expandColumn = useRowExpandColumn();
16
- return (_jsxs(Table, Object.assign({ tableState: tableState, striped: false, sortable: false, detail: DetailsRow }, { children: [expandColumn, _jsx(TableColumn, { field: "ProductID", title: "ID", width: "50px" }), _jsx(TableColumn, { field: "ProductName", title: "Product Name" }), _jsx(TableColumn, { field: "MadeIn", title: "Made In", width: "175px" }), _jsx(TableColumn, { field: "UnitPrice", title: "Unit Price", format: "{0:c}", width: "125px" })] })));
16
+ return (_jsxs(Table, { tableState: tableState, striped: false, sortable: false, detail: DetailsRow, children: [expandColumn, _jsx(TableColumn, { field: "ProductID", title: "ID", width: "50px" }), _jsx(TableColumn, { field: "ProductName", title: "Product Name" }), _jsx(TableColumn, { field: "MadeIn", title: "Made In", width: "175px" }), _jsx(TableColumn, { field: "UnitPrice", title: "Unit Price", format: "{0:c}", width: "125px" })] }));
17
17
  }));
18
18
  //# sourceMappingURL=row-details-table.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"row-details-table.js","sourceRoot":"","sources":["../../../src/demo/row-details/row-details-table.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAGtC,OAAO,EAAE,KAAK,EAAE,WAAW,EAAuB,kBAAkB,EAAE,MAAM,OAAO,CAAC;AAGpF,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEjE,MAAM,UAAU,GAA4B,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE;IACzD,MAAM,OAAO,GAAG,QAAmB,CAAC;IAEpC,OAAO,CACH,MAAC,KAAK,eACF,cAAK,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,GAAI,EACjC,MAAC,KAAK,CAAC,IAAI,kBAAC,SAAS,EAAC,OAAO,EAAC,IAAI,+CACT,OAAO,CAAC,WAAW,KAC/B,IACT,CACX,CAAC;AACN,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAAO,OAAO,CAAC;IAC/C,UAAU,EAAE,CAAC,oBAAoB,CAAC;C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AO,CACH,MAAC,KAAK,eACF,cAAK,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,GAAI,EACjC,MAAC,KAAK,CAAC,IAAI,IAAC,SAAS,EAAC,OAAO,EAAC,IAAI,2CACT,OAAO,CAAC,WAAW,IAC/B,IACT,CACX,CAAC;AACN,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAAO,OAAO,CAAC;IAC/C,UAAU,EAAE,CAAC,oBAAoB,CAAC;CACrC,CAAC,CACE,QAAQ,CAAC,GAAG,EAAE;IACV,MAAM,CAAC,EAAE,UAAU,EAAE,CAAC,GAAG,eAAe,CAAC,oBAAoB,CAAC,CAAC;IAC/D,MAAM,YAAY,GAAG,kBAAkB,EAAE,CAAC;IAE1C,OAAO,CACH,MAAC,KAAK,IAAC,UAAU,EAAE,UAAU,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,UAAU,aAC7E,YAAY,EACb,KAAC,WAAW,IAAC,KAAK,EAAC,WAAW,EAAC,KAAK,EAAC,IAAI,EAAC,KAAK,EAAC,MAAM,GAAG,EAEzD,KAAC,WAAW,IAAC,KAAK,EAAC,aAAa,EAAC,KAAK,EAAC,cAAc,GAAG,EAExD,KAAC,WAAW,IAAC,KAAK,EAAC,QAAQ,EAAC,KAAK,EAAC,SAAS,EAAC,KAAK,EAAC,OAAO,GAAG,EAE5D,KAAC,WAAW,IAAC,KAAK,EAAC,WAAW,EAAC,KAAK,EAAC,YAAY,EAAC,MAAM,EAAC,OAAO,EAAC,KAAK,EAAC,OAAO,GAAG,IAC7E,CACX,CAAC;AACN,CAAC,CAAC,CACL,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"row-details-table.store.js","sourceRoot":"","sources":["../../../src/demo/row-details/row-details-table.store.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAErD,OAAO,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAGvD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAGhD,IAAa,oBAAoB,GAAjC,MAAa,oBAAoB;IAAjC;QACI;;;;mBAAa,IAAI,UAAU,CAAC;gBACxB,UAAU,EAAE,IAAI,CAAC,aAAa,EAAE;gBAChC,qBAAqB,EAAE,UAAU;gBACjC,QAAQ,EAAE,CAAC;aACd,CAAC;WAAC;IASP,CAAC;IAPW,aAAa;QACjB,OAAO,IAAI,kBAAkB,CAAC,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;IAC7D,CAAC;IAEO,UAAU,CAAC,GAAY;QAC3B,OAAO,GAAG,CAAC,SAAS,CAAC;IACzB,CAAC;CACJ,CAAA;AAdY,oBAAoB;IADhC,UAAU,EAAE;GACA,oBAAoB,CAchC;SAdY,oBAAoB"}
1
+ {"version":3,"file":"row-details-table.store.js","sourceRoot":"","sources":["../../../src/demo/row-details/row-details-table.store.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAErD,OAAO,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAGvD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAGzC,IAAM,oBAAoB,GAA1B,MAAM,oBAAoB;IAA1B;QACH;;;;mBAAa,IAAI,UAAU,CAAC;gBACxB,UAAU,EAAE,IAAI,CAAC,aAAa,EAAE;gBAChC,qBAAqB,EAAE,UAAU;gBACjC,QAAQ,EAAE,CAAC;aACd,CAAC;WAAC;IASP,CAAC;IAPW,aAAa;QACjB,OAAO,IAAI,kBAAkB,CAAC,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;IAC7D,CAAC;IAEO,UAAU,CAAC,GAAY;QAC3B,OAAO,GAAG,CAAC,SAAS,CAAC;IACzB,CAAC;CACJ,CAAA;AAdY,oBAAoB;IADhC,UAAU,EAAE;GACA,oBAAoB,CAchC"}
@@ -9,6 +9,6 @@ export const TableStateCachingExample = provide({
9
9
  singletons: [TableStore],
10
10
  })(observer(() => {
11
11
  const [{ tableState, showProducts, showBeverages }] = useDependencies(TableStore);
12
- return (_jsxs(Fragment, { children: [_jsxs(ButtonGroup, Object.assign({ className: "m-b-2" }, { children: [_jsx(Button, Object.assign({ small: true, onClick: showProducts }, { children: "Show Products" })), _jsx(Button, Object.assign({ small: true, onClick: showBeverages }, { children: "Show Beverages" }))] })), _jsxs(Table, Object.assign({ tableState: tableState, striped: true, sortable: true }, { children: [_jsx(TableColumn, { field: "ProductID", title: "ID", width: "100px" }), _jsx(TableColumn, { field: "ProductName", title: "Product Name" }), _jsx(TableColumn, { field: "Description", title: "Product Description" })] }))] }));
12
+ return (_jsxs(Fragment, { children: [_jsxs(ButtonGroup, { className: "m-b-2", children: [_jsx(Button, { small: true, onClick: showProducts, children: "Show Products" }), _jsx(Button, { small: true, onClick: showBeverages, children: "Show Beverages" })] }), _jsxs(Table, { tableState: tableState, striped: true, sortable: true, children: [_jsx(TableColumn, { field: "ProductID", title: "ID", width: "100px" }), _jsx(TableColumn, { field: "ProductName", title: "Product Name" }), _jsx(TableColumn, { field: "Description", title: "Product Description" })] })] }));
13
13
  }));
14
14
  //# sourceMappingURL=state-caching-table.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"state-caching-table.js","sourceRoot":"","sources":["../../../src/demo/state-caching/state-caching-table.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAM,MAAM,OAAO,CAAC;AACrC,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,EAAE,UAAU,EAA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