@servicetitan/table 26.3.0 → 27.1.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/demo/column-hiding/table.js +2 -2
- package/dist/demo/column-hiding/table.js.map +1 -1
- package/dist/demo/column-hiding/table.store.js.map +1 -1
- package/dist/demo/filters/async-select-filter.js +1 -1
- package/dist/demo/filters/async-select-filter.js.map +1 -1
- package/dist/demo/filters/multiselect-filter.js +1 -1
- package/dist/demo/filters/multiselect-filter.js.map +1 -1
- package/dist/demo/filters/range-filter.js +3 -3
- package/dist/demo/filters/range-filter.js.map +1 -1
- package/dist/demo/filters/select-filter.js +2 -2
- package/dist/demo/filters/select-filter.js.map +1 -1
- package/dist/demo/filters/single-select-filter.js +3 -3
- package/dist/demo/filters/single-select-filter.js.map +1 -1
- package/dist/demo/filters/table.store.js.map +1 -1
- package/dist/demo/footer-page-size/table.js +2 -2
- package/dist/demo/footer-page-size/table.js.map +1 -1
- package/dist/demo/master-detail/detail-table.js +1 -1
- package/dist/demo/master-detail/detail-table.js.map +1 -1
- package/dist/demo/master-detail/detail-table.store.js +4 -4
- package/dist/demo/master-detail/detail-table.store.js.map +1 -1
- package/dist/demo/master-detail/master-table.store.js +3 -3
- package/dist/demo/master-detail/master-table.store.js.map +1 -1
- package/dist/demo/master-detail/table-master-detail.js +2 -2
- package/dist/demo/master-detail/table-master-detail.js.map +1 -1
- package/dist/demo/overview/actions-cell.js +2 -2
- package/dist/demo/overview/actions-cell.js.map +1 -1
- package/dist/demo/overview/table.js +3 -3
- package/dist/demo/overview/table.js.map +1 -1
- package/dist/demo/overview/table.store.js.map +1 -1
- package/dist/demo/row-details/row-details-table.js +2 -2
- package/dist/demo/row-details/row-details-table.js.map +1 -1
- package/dist/demo/row-details/row-details-table.store.js.map +1 -1
- package/dist/demo/state-caching/state-caching-table.js +1 -1
- package/dist/demo/state-caching/state-caching-table.js.map +1 -1
- package/dist/demo/state-caching/state-caching-table.store.js.map +1 -1
- package/dist/details/expand-column.js +1 -1
- package/dist/details/expand-column.js.map +1 -1
- package/dist/editable-cell/boolean-editable-cell.js +1 -1
- package/dist/editable-cell/boolean-editable-cell.js.map +1 -1
- package/dist/editable-cell/get-action-cell.js.map +1 -1
- package/dist/editable-cell/get-editable-cell.js.map +1 -1
- package/dist/editable-cell/get-select-editable-cell.js +1 -1
- package/dist/editable-cell/get-select-editable-cell.js.map +1 -1
- package/dist/editable-cell/text-editable-cell.js +1 -1
- package/dist/editable-cell/text-editable-cell.js.map +1 -1
- package/dist/export/export.js +1 -1
- package/dist/export/export.js.map +1 -1
- package/dist/filters/async-select/async-select-filter.d.ts +1 -1
- package/dist/filters/async-select/async-select-filter.d.ts.map +1 -1
- package/dist/filters/async-select/async-select-filter.js +2 -2
- package/dist/filters/async-select/async-select-filter.js.map +1 -1
- package/dist/filters/column-menu-filters.d.ts +1 -1
- package/dist/filters/column-menu-filters.d.ts.map +1 -1
- package/dist/filters/column-menu-filters.js +1 -1
- package/dist/filters/column-menu-filters.js.map +1 -1
- package/dist/filters/datetime-filter/datetime-filter.js.map +1 -1
- package/dist/filters/field-values-filter.js +23 -23
- package/dist/filters/field-values-filter.js.map +1 -1
- package/dist/filters/multiselect-filter/multiselect-filter.js +1 -1
- package/dist/filters/multiselect-filter/multiselect-filter.js.map +1 -1
- package/dist/filters/range-filter/range-filter.js +1 -1
- package/dist/filters/range-filter/range-filter.js.map +1 -1
- package/dist/filters/select-filter/object-search.js.map +1 -1
- package/dist/filters/select-filter/operators.d.ts +1 -1
- package/dist/filters/select-filter/operators.d.ts.map +1 -1
- package/dist/filters/select-filter/select-filter.d.ts +1 -1
- package/dist/filters/select-filter/select-filter.d.ts.map +1 -1
- package/dist/filters/select-filter/select-filter.js +3 -3
- package/dist/filters/select-filter/select-filter.js.map +1 -1
- package/dist/filters/select-filter/value-getter.js.map +1 -1
- package/dist/filters/single-select/single-select-filter.js +1 -1
- package/dist/filters/single-select/single-select-filter.js.map +1 -1
- package/dist/filters/standard-filter-with-multiselect/filter-cell-ext.js +3 -3
- package/dist/filters/standard-filter-with-multiselect/filter-cell-ext.js.map +1 -1
- package/dist/filters/standard-filter-with-multiselect/standard-filter-with-multiselect.d.ts +1 -1
- package/dist/filters/standard-filter-with-multiselect/standard-filter-with-multiselect.d.ts.map +1 -1
- package/dist/filters/standard-filter-with-multiselect/standard-filter-with-multiselect.js.map +1 -1
- package/dist/filters/standard-filter-with-multiselect/table-column-menu-filter-ext.js.map +1 -1
- package/dist/filters/time-filter/time-filter.js.map +1 -1
- package/dist/select-cell/select-cell.d.ts +1 -1
- package/dist/select-cell/select-cell.d.ts.map +1 -1
- package/dist/select-cell/select-cell.js +2 -2
- package/dist/select-cell/select-cell.js.map +1 -1
- package/dist/table-state.d.ts +6 -6
- package/dist/table-state.d.ts.map +1 -1
- package/dist/table-state.js +74 -68
- package/dist/table-state.js.map +1 -1
- package/dist/table.d.ts +2 -2
- package/dist/table.d.ts.map +1 -1
- package/dist/table.js +2 -2
- package/dist/table.js.map +1 -1
- package/dist/use-observing-table-state/demo/components/use-observing-table-state-demo.js +1 -1
- package/dist/use-observing-table-state/demo/components/use-observing-table-state-demo.js.map +1 -1
- package/dist/use-observing-table-state/demo/stores/use-observing-table-state-demo.store.js.map +1 -1
- package/dist/use-observing-table-state/use-observing-table-state.d.ts.map +1 -1
- package/dist/use-observing-table-state/use-observing-table-state.js.map +1 -1
- package/dist/utils/filters.js.map +1 -1
- package/package.json +9 -9
- package/src/table-state.ts +6 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"filter-cell-ext.js","sourceRoot":"","sources":["../../../src/filters/standard-filter-with-multiselect/filter-cell-ext.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AACrD,OAAO,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAEtF,OAAO,EACH,YAAY,EAEZ,WAAW,GAKd,MAAM,iC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SAAS,EAAC,MAAM,EAChB,WAAW,EAAC,OAAO,EACnB,SAAS,EAAE,UAAU,CAAC,OAAO,EAAE,MAAM,CAAC,WAAW,CAAC,EAClD,MAAM,EAAE,cAAc,IAAI,cAAK,SAAS,EAAE,MAAM,CAAC,mBAAmB,GAAI,EACxE,MAAM,EACF,cAAc,CAAC,CAAC,CAAC,CACb,eAAK,SAAS,EAAE,MAAM,CAAC,WAAW,aAC9B,KAAC,IAAI,IAAC,IAAI,EAAC,iBAAiB,GAAG,wBAE7B,CACT,CAAC,CAAC,CAAC,CACA,KAAK,CAAC,eAAe,IAAI,CACrB,eAAK,SAAS,EAAE,MAAM,CAAC,WAAW,uBACvB,KAAK,CAAC,eAAe,yBAAoB,cAAM,wCAEpD,CACT,CACJ,EAEL,UAAU,EAAE,qBAAqB,EACjC,SAAS,EAAE,oBAAoB,aAApB,oBAAoB,cAApB,oBAAoB,GAAI,2BAA2B,EAC9D,gBAAgB,EAAE,2BAA2B,GAC/C,CACL,CAAC,CAAC,CAAC,CACA,gBACI,SAAS,EAAC,qDAAqD,EAC/D,KAAK,EAAE,KAAK,CAAC,KAAK,EAClB,QAAQ,EAAE,iBAAiB,GAC7B,CACL,CAAC,IACJ,CACT,CAAC;AACN,CAAC,CAAC,CAAC;AAEH,MAAM,2BAA2B,GAAG,CAChC,OAA2B,EAC3B,EAA+B,EACJ,EAAE;IAC7B,OAAO,CACH,KAAC,OAAO,IACJ,MAAM,QACN,IAAI,EAAE,OAAO,CAAC,IAAI,EAClB,SAAS,EAAE,MAAM,CAAC,4BAA4B,EAC9C,eAAe,EAAE,MAAM,CAAC,qBAAqB,YAE5C,EAAE,GACG,CACb,CAAC;AACN,CAAC,CAAC"}
|
@@ -2,7 +2,7 @@ import { TableColumnMenuProps } from '@servicetitan/design-system';
|
|
2
2
|
import { IdType } from '@servicetitan/data-query';
|
3
3
|
import { TableState } from '../../table-state';
|
4
4
|
import { FilterCellExtProps } from './filter-cell-ext';
|
5
|
-
|
5
|
+
type AcceptableOption = string | number | {
|
6
6
|
value: any;
|
7
7
|
text: string;
|
8
8
|
};
|
package/dist/filters/standard-filter-with-multiselect/standard-filter-with-multiselect.d.ts.map
CHANGED
@@ -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,
|
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,KAAK,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"}
|
package/dist/filters/standard-filter-with-multiselect/standard-filter-with-multiselect.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"standard-filter-with-multiselect.js","sourceRoot":"","sources":["../../../src/filters/standard-filter-with-multiselect/standard-filter-with-multiselect.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAEzC,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAO/D,OAAO,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAC1E,OAAO,EAAE,aAAa,EAAsB,MAAM,mBAAmB,CAAC;AA+BtE;;;GAGG;AAEH,MAAM,UAAU,6BAA6B,CACzC,gBAAuC,EAAE,EACzC,mBAAqC,EAAE;IAEvC,MAAM,iBAAiB,mBACnB,kBAAkB,EAAE,EAAE,EACtB,OAAO,EAAE,EAAc,IACpB,aAAa,CACnB,CAAC;IAEF,MAAM,oBAAoB,mBACtB,iBAAiB,EAAE,IAAI,EACvB,cAAc,EAAE,IAAI,IACjB,gBAAgB,CACtB,CAAC;IAEF,8BAA8B;IAC9B,MAAM,kBAAkB,GAAqC,QAAQ,CAAC,KAAK,CAAC,EAAE;QAC1E,MAAM,KAAK,GAAG,aAAa,CACvB,MAAM,CAAC,EAAE,CAAC,CAAC;YACP,IAAI,KAAK;gBACL,OAAO,MAAM,CAAC,gBAAgB,CAAC,KAAgB,CAAC;YACpD,CAAC;YACD,IAAI,mBAAmB;;gBACnB,MAAM,UAAU,GAAG,MAAA,iBAAiB,CAAC,UAAU,0CAAE,UAAU,CAAC;gBAC5D,OAAO,UAAU,IAAI,IAAI,CAAC,KAAK,IAAI,WAAW,CAAC,UAAU,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC;YAC3E,CAAC;YACD,IAAI,oBAAoB;gBACpB,IACI,CAAC,IAAI,CAAC,mBAAmB;oBACzB,CAAC,CAAC,IAAI,CAAC,mBAAmB,CAAC,KAAK,KAAK,WAAW,CAAC,EACnD;
|
1
|
+
{"version":3,"file":"standard-filter-with-multiselect.js","sourceRoot":"","sources":["../../../src/filters/standard-filter-with-multiselect/standard-filter-with-multiselect.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAEzC,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAO/D,OAAO,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAC1E,OAAO,EAAE,aAAa,EAAsB,MAAM,mBAAmB,CAAC;AA+BtE;;;GAGG;AAEH,MAAM,UAAU,6BAA6B,CACzC,gBAAuC,EAAE,EACzC,mBAAqC,EAAE;IAEvC,MAAM,iBAAiB,mBACnB,kBAAkB,EAAE,EAAE,EACtB,OAAO,EAAE,EAAc,IACpB,aAAa,CACnB,CAAC;IAEF,MAAM,oBAAoB,mBACtB,iBAAiB,EAAE,IAAI,EACvB,cAAc,EAAE,IAAI,IACjB,gBAAgB,CACtB,CAAC;IAEF,8BAA8B;IAC9B,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|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"table-column-menu-filter-ext.js","sourceRoot":"","sources":["../../../src/filters/standard-filter-with-multiselect/table-column-menu-filter-ext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAEhC,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAEpE,OAAO,EAAE,kBAAkB,EAAE,MAAM,kDAAkD,CAAC;AAEtF,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAE/D,sGAAsG;AACtG,MAAM,OAAO,wBAAyB,SAAQ,qBAAqB;IAC/D,YAAY,KAAiC;;QACzC,KAAK,CAAC,KAAK,CAAC,CAAC;QAEb,MAAM,eAAe,GAAG,kBAAkB,CACtC,KAAK,CAAC,eAAe,EACrB,MAAA,KAAK,CAAC,MAAM,CAAC,MAAM,mCAAI,MAAM,CAChC,CAAC;QACF,iIAAiI;QACjI,IACI,QAAQ,CAAC,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,WAAW,EAAE;YACxC,KAAK,EAAE,KAAK;YACZ,OAAO,EAAE;gBACL,EAAE,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,KAAK,EAAE,QAAQ,EAAE,eAAe,EAAE;gBACxD,EAAE,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,KAAK,EAAE,QAAQ,EAAE,eAAe,EAAE;aAC3D;SACJ,CAAC,EACJ;
|
1
|
+
{"version":3,"file":"table-column-menu-filter-ext.js","sourceRoot":"","sources":["../../../src/filters/standard-filter-with-multiselect/table-column-menu-filter-ext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAEhC,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAEpE,OAAO,EAAE,kBAAkB,EAAE,MAAM,kDAAkD,CAAC;AAEtF,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB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GACH,cAAc,CA+CnB;AAED,MAAM,CAAC,MAAM,oBAAoB,GAAG,4BAA4B,CAAC,cAAc,EAAE,IAAI,CAAC,CAAC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ComponentType, SyntheticEvent, FC } from 'react';
|
2
2
|
import { TableCellProps, TableHeaderCellProps, CheckboxProps } from '@servicetitan/design-system';
|
3
|
-
export
|
3
|
+
export type SelectionControlType = ComponentType<CheckboxProps<never>>;
|
4
4
|
interface SelectColumnCellProps extends TableCellProps {
|
5
5
|
isRowSelectable?: boolean;
|
6
6
|
control?: SelectionControlType;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"select-cell.d.ts","sourceRoot":"","sources":["../../src/select-cell/select-cell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,EAAE,EAAc,MAAM,OAAO,CAAC;AACtE,OAAO,EACH,cAAc,EACd,oBAAoB,EAEpB,aAAa,EAChB,MAAM,6BAA6B,CAAC;AAIrC,
|
1
|
+
{"version":3,"file":"select-cell.d.ts","sourceRoot":"","sources":["../../src/select-cell/select-cell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,EAAE,EAAc,MAAM,OAAO,CAAC;AACtE,OAAO,EACH,cAAc,EACd,oBAAoB,EAEpB,aAAa,EAChB,MAAM,6BAA6B,CAAC;AAIrC,MAAM,MAAM,oBAAoB,GAAG,aAAa,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,CAAC;AAEvE,UAAU,qBAAsB,SAAQ,cAAc;IAClD,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,OAAO,CAAC,EAAE,oBAAoB,CAAC;CAClC;AAED,UAAU,qBAAsB,SAAQ,oBAAoB;IACxD,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,OAAO,CAAC,EAAE,oBAAoB,CAAC;CAClC;AAED,UAAU,eAAe;IACrB,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,cAAc,EAAE,cAAc,CAAC,GAAG,CAAC,CAAA;KAAE,KAAK,IAAI,CAAC;IAC3E,OAAO,CAAC,EAAE,oBAAoB,CAAC;CAClC;AAED,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CAa1C,CAAC;AAGF,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,qBAAqB,CAyBtD,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,qBAAqB,CAOtD,CAAC"}
|
@@ -31,9 +31,9 @@ export const SelectColumnCell = (props) => {
|
|
31
31
|
if (props.rowType === 'groupFooter') {
|
32
32
|
return _jsx("td", {});
|
33
33
|
}
|
34
|
-
return (_jsx("td",
|
34
|
+
return (_jsx("td", { style: props.style,
|
35
35
|
// prevent onRowClick when user misses row selection
|
36
|
-
onClick: stopPropagation, className: classNames(props.className, 'cursor-default-i')
|
36
|
+
onClick: stopPropagation, className: classNames(props.className, 'cursor-default-i'), children: _jsx(SelectCell, { checked: props.dataItem.selected, disabled: !props.isRowSelectable, selectionChange: props.selectionChange, indeterminate: props.dataItem.indeterminate, control: props.control }) }));
|
37
37
|
};
|
38
38
|
export const SelectHeaderCell = (props) => (_jsx(SelectCell, { checked: props.selectionValue, indeterminate: props.isSomeRowsSelected, selectionChange: props.selectionChange, control: props.control }));
|
39
39
|
//# sourceMappingURL=select-cell.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"select-cell.js","sourceRoot":"","sources":["../../src/select-cell/select-cell.tsx"],"names":[],"mappings":";;;;;;;;;;;;AACA,OAAO,EAGH,QAAQ,GAEX,MAAM,6BAA6B,CAAC;AACrC,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,MAAM,MAAM,0BAA0B,CAAC;AAsBnD,MAAM,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AK,CAAC,OAAO,KAAK,aAAa,EAAE,CAAC;QAClC,OAAO,cAAM,CAAC;IAClB,CAAC;IAED,OAAO,CACH,aACI,KAAK,EAAE,KAAK,CAAC,KAAK;QAClB,oDAAoD;QACpD,OAAO,EAAE,eAAe,EACxB,SAAS,EAAE,UAAU,CAAC,KAAK,CAAC,SAAS,EAAE,kBAAkB,CAAC,YAE1D,KAAC,UAAU,IACP,OAAO,EAAE,KAAK,CAAC,QAAQ,CAAC,QAAQ,EAChC,QAAQ,EAAE,CAAC,KAAK,CAAC,eAAe,EAChC,eAAe,EAAE,KAAK,CAAC,eAAe,EACtC,aAAa,EAAE,KAAK,CAAC,QAAQ,CAAC,aAAa,EAC3C,OAAO,EAAE,KAAK,CAAC,OAAO,GACxB,GACD,CACR,CAAC;AACN,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAA8B,CAAC,KAA4B,EAAE,EAAE,CAAC,CACzF,KAAC,UAAU,IACP,OAAO,EAAE,KAAK,CAAC,cAAc,EAC7B,aAAa,EAAE,KAAK,CAAC,kBAAkB,EACvC,eAAe,EAAE,KAAK,CAAC,eAAe,EACtC,OAAO,EAAE,KAAK,CAAC,OAAO,GACxB,CACL,CAAC"}
|
package/dist/table-state.d.ts
CHANGED
@@ -5,21 +5,21 @@ import { TableExpandChangeEvent, TableFilterChangeEvent, TableGroupChangeEvent,
|
|
5
5
|
import { GridPDFExport as TablePDFExport } from '@progress/kendo-react-pdf';
|
6
6
|
import { WorkbookOptions } from '@progress/kendo-ooxml';
|
7
7
|
import { FormState, FieldState } from 'formstate';
|
8
|
-
export
|
8
|
+
export type Selectable<T> = {
|
9
9
|
readonly selected: boolean | undefined;
|
10
10
|
} & T;
|
11
|
-
export
|
11
|
+
export type Editable<T> = {
|
12
12
|
readonly inEdit: boolean | undefined;
|
13
13
|
} & T;
|
14
|
-
export
|
14
|
+
export type Expandable<T> = {
|
15
15
|
readonly expanded: boolean | undefined;
|
16
16
|
} & T;
|
17
|
-
export
|
17
|
+
export type Materialized<T> = {
|
18
18
|
readonly materializedPath: string;
|
19
19
|
} & T;
|
20
|
-
|
20
|
+
type Data<T> = DataResult<T>['data'];
|
21
21
|
export declare function isGroupItem<T>(item: T | GroupResult<T>, groups: GroupDescriptor[]): item is GroupResult<T>;
|
22
|
-
export
|
22
|
+
export type PossibleFormState<T> = FormState<{
|
23
23
|
[P in keyof T]-?: FieldState<T[P]>;
|
24
24
|
}>;
|
25
25
|
export interface TableStateModel<TId extends IdType = never> {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"table-state.d.ts","sourceRoot":"","sources":["../src/table-state.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAGrC,OAAO,EACH,mBAAmB,EACnB,yBAAyB,EACzB,eAAe,EACf,cAAc,EACd,UAAU,EACV,WAAW,EACX,UAAU,EACV,MAAM,EACT,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACH,WAAW,EACX,eAAe,EACf,sBAAsB,EACzB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACH,sBAAsB,EACtB,sBAAsB,EACtB,qBAAqB,EACrB,oBAAoB,EACpB,oBAAoB,EACvB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,aAAa,IAAI,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC5E,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAGlD,
|
1
|
+
{"version":3,"file":"table-state.d.ts","sourceRoot":"","sources":["../src/table-state.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAGrC,OAAO,EACH,mBAAmB,EACnB,yBAAyB,EACzB,eAAe,EACf,cAAc,EACd,UAAU,EACV,WAAW,EACX,UAAU,EACV,MAAM,EACT,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACH,WAAW,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AG,EAAE,GAAG,eAAe,GAAG,eAAe,YACtC,sBAAsB,EAAE,GAAG,aAAa,sBAAsB,CAAC,EAAE,mBAQ7E;IAEF,6BAA6B,+BAS3B;IAEF,cAAc,UAAW,WAAW,CAAC,CAAC,OAAO,WAAW,CAAC,CAAC,qBA6BxD;IAEF,WAAW,IAAI,eAAe,CAAC,GAAG,CAAC;IAcnC,WAAW,CAAC,IAAI,EAAE,eAAe,CAAC,GAAG,CAAC;IAW9B,OAAO,CAAC,iBAAiB;CAWpC"}
|
package/dist/table-state.js
CHANGED
@@ -27,6 +27,70 @@ function addAggregatesToGroups(groups, aggregates) {
|
|
27
27
|
return groups.map(group => (Object.assign(Object.assign({}, group), { aggregates })));
|
28
28
|
}
|
29
29
|
export class TableState {
|
30
|
+
get dataSource() {
|
31
|
+
return this.innerDataSource;
|
32
|
+
}
|
33
|
+
traverse(items, itemCallback, groupCallback, materializedPath = '') {
|
34
|
+
if (!items) {
|
35
|
+
return;
|
36
|
+
}
|
37
|
+
for (const item of items) {
|
38
|
+
if (isGroupItem(item, this.group)) {
|
39
|
+
const groupMaterializedPath = materializedPath + `/${item.value}`;
|
40
|
+
if (groupCallback) {
|
41
|
+
groupCallback(item, groupMaterializedPath);
|
42
|
+
}
|
43
|
+
this.traverse(item.items, itemCallback, groupCallback, groupMaterializedPath);
|
44
|
+
}
|
45
|
+
else {
|
46
|
+
itemCallback(item);
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
get originalData() {
|
51
|
+
const result = [];
|
52
|
+
this.traverse(this.data, item => {
|
53
|
+
result.push(item);
|
54
|
+
});
|
55
|
+
return result;
|
56
|
+
}
|
57
|
+
get unselectedCount() {
|
58
|
+
return this.totalCount - this.selectedCount;
|
59
|
+
}
|
60
|
+
get selectableCount() {
|
61
|
+
return this.totalCount - this.unselectableCount;
|
62
|
+
}
|
63
|
+
get filteredUnselectableCount() {
|
64
|
+
return this.originalData.filter(this.isRowUnselectable).length;
|
65
|
+
}
|
66
|
+
get filteredSelectableCount() {
|
67
|
+
return this.originalData.length - this.filteredUnselectableCount;
|
68
|
+
}
|
69
|
+
get totalFilteredSelectableCountPromise() {
|
70
|
+
return fromPromise(new Promise((resolve, reject) => {
|
71
|
+
if (!this.dataSource) {
|
72
|
+
return reject();
|
73
|
+
}
|
74
|
+
this.dataSource
|
75
|
+
.getData({
|
76
|
+
filter: this.filter,
|
77
|
+
})
|
78
|
+
.then(filteredData => {
|
79
|
+
resolve(filteredData.data.filter(row => !this.isRowUnselectable(row))
|
80
|
+
.length);
|
81
|
+
})
|
82
|
+
.catch(reject);
|
83
|
+
}));
|
84
|
+
}
|
85
|
+
get totalFilteredSelectableCount() {
|
86
|
+
return this.totalFilteredSelectableCountPromise.value || 0;
|
87
|
+
}
|
88
|
+
get group() {
|
89
|
+
return addAggregatesToGroups(this.innerGroup, this.aggregates);
|
90
|
+
}
|
91
|
+
set group(value) {
|
92
|
+
this.innerGroup = value;
|
93
|
+
}
|
30
94
|
constructor({ dataSource = null, rowIdKey, pageSize, isRowUnselectable = () => false, rowDetailsExpandState = 'collapsed', selectionLimit = Infinity, getFormState, parent, getDetailTableState, initialState, alwaysEditable = false, } = {}) {
|
31
95
|
Object.defineProperty(this, "innerDataSource", {
|
32
96
|
enumerable: true,
|
@@ -296,7 +360,7 @@ export class TableState {
|
|
296
360
|
enumerable: true,
|
297
361
|
configurable: true,
|
298
362
|
writable: true,
|
299
|
-
value: ({ newSkip, newSort, newFilter, newAggregates, newGroup, } = {})
|
363
|
+
value: (...args_1) => __awaiter(this, [...args_1], void 0, function* ({ newSkip, newSort, newFilter, newAggregates, newGroup, } = {}) {
|
300
364
|
const sort = newSort !== null && newSort !== void 0 ? newSort : [...this.sort];
|
301
365
|
const filter = newFilter === null ? undefined : newFilter !== null && newFilter !== void 0 ? newFilter : this.filter;
|
302
366
|
const aggregates = newAggregates !== null && newAggregates !== void 0 ? newAggregates : this.aggregates;
|
@@ -467,70 +531,6 @@ export class TableState {
|
|
467
531
|
this.editAll();
|
468
532
|
}
|
469
533
|
}
|
470
|
-
get dataSource() {
|
471
|
-
return this.innerDataSource;
|
472
|
-
}
|
473
|
-
traverse(items, itemCallback, groupCallback, materializedPath = '') {
|
474
|
-
if (!items) {
|
475
|
-
return;
|
476
|
-
}
|
477
|
-
for (const item of items) {
|
478
|
-
if (isGroupItem(item, this.group)) {
|
479
|
-
const groupMaterializedPath = materializedPath + `/${item.value}`;
|
480
|
-
if (groupCallback) {
|
481
|
-
groupCallback(item, groupMaterializedPath);
|
482
|
-
}
|
483
|
-
this.traverse(item.items, itemCallback, groupCallback, groupMaterializedPath);
|
484
|
-
}
|
485
|
-
else {
|
486
|
-
itemCallback(item);
|
487
|
-
}
|
488
|
-
}
|
489
|
-
}
|
490
|
-
get originalData() {
|
491
|
-
const result = [];
|
492
|
-
this.traverse(this.data, item => {
|
493
|
-
result.push(item);
|
494
|
-
});
|
495
|
-
return result;
|
496
|
-
}
|
497
|
-
get unselectedCount() {
|
498
|
-
return this.totalCount - this.selectedCount;
|
499
|
-
}
|
500
|
-
get selectableCount() {
|
501
|
-
return this.totalCount - this.unselectableCount;
|
502
|
-
}
|
503
|
-
get filteredUnselectableCount() {
|
504
|
-
return this.originalData.filter(this.isRowUnselectable).length;
|
505
|
-
}
|
506
|
-
get filteredSelectableCount() {
|
507
|
-
return this.originalData.length - this.filteredUnselectableCount;
|
508
|
-
}
|
509
|
-
get totalFilteredSelectableCountPromise() {
|
510
|
-
return fromPromise(new Promise((resolve, reject) => {
|
511
|
-
if (!this.dataSource) {
|
512
|
-
return reject();
|
513
|
-
}
|
514
|
-
this.dataSource
|
515
|
-
.getData({
|
516
|
-
filter: this.filter,
|
517
|
-
})
|
518
|
-
.then(filteredData => {
|
519
|
-
resolve(filteredData.data.filter(row => !this.isRowUnselectable(row))
|
520
|
-
.length);
|
521
|
-
})
|
522
|
-
.catch(reject);
|
523
|
-
}));
|
524
|
-
}
|
525
|
-
get totalFilteredSelectableCount() {
|
526
|
-
return this.totalFilteredSelectableCountPromise.value || 0;
|
527
|
-
}
|
528
|
-
get group() {
|
529
|
-
return addAggregatesToGroups(this.innerGroup, this.aggregates);
|
530
|
-
}
|
531
|
-
set group(value) {
|
532
|
-
this.innerGroup = value;
|
533
|
-
}
|
534
534
|
addToDataSource(row, select, index) {
|
535
535
|
return __awaiter(this, void 0, void 0, function* () {
|
536
536
|
if (!this.dataSource) {
|
@@ -581,12 +581,18 @@ export class TableState {
|
|
581
581
|
this.expandedIds.delete(id);
|
582
582
|
}
|
583
583
|
});
|
584
|
-
|
584
|
+
// If the current page has only one row and it's removed, fetch the previous page if it exists
|
585
|
+
if (this.data.length === 1 && this.pageSize && this.skip >= this.pageSize) {
|
586
|
+
yield this.fetchData({ newSkip: this.skip - this.pageSize });
|
587
|
+
}
|
588
|
+
else {
|
589
|
+
yield this.fetchData();
|
590
|
+
}
|
585
591
|
return row;
|
586
592
|
});
|
587
593
|
}
|
588
|
-
setRowsSelection(
|
589
|
-
return __awaiter(this,
|
594
|
+
setRowsSelection(rows_1, value_1) {
|
595
|
+
return __awaiter(this, arguments, void 0, function* (rows, value, { ignoreUnselectable = true, recursive = true } = {}) {
|
590
596
|
if (!this.dataSource) {
|
591
597
|
return;
|
592
598
|
}
|
package/dist/table-state.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"table-state.js","sourceRoot":"","sources":["../src/table-state.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAEA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,MAAM,CAAC;AACjF,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AA0BzC,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AASnD,MAAM,UAAU,WAAW,CACvB,IAAwB,EACxB,MAAyB;IAEzB,MAAM,KAAK,GAAwB,IAAuB,CAAC,KAAK,CAAC;IAEjE,OAAO,CAAC,CAAC,KA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 +10,7 @@ interface TableColumnProps<T = never, TId extends IdType = any, P = never, PId e
|
|
10
10
|
cell?: ComponentType<TableCellProps<T, TId, P, PId>>;
|
11
11
|
children?: ReactElement<TableColumnProps<T, TId, P, PId>>[];
|
12
12
|
}
|
13
|
-
|
13
|
+
type ExcludedTableProps = 'data' | 'dataItemKey' | 'editField' | 'filter' | 'onFilterChange' | 'group' | 'onGroupChange' | 'onExpandChange' | 'expandField' | 'sort' | 'onSortChange' | 'onHeaderSelectionChange' | 'onSelectionChange' | 'selectedField' | 'pageable' | 'pageSize' | 'skip' | 'onPageChange' | 'total' | 'selectable' | 'pager';
|
14
14
|
export interface TableProps<T, TId extends IdType = any, P = never, PId extends IdType = never> extends Omit<AnvilTableProps, ExcludedTableProps> {
|
15
15
|
selectable?: boolean;
|
16
16
|
exportable?: boolean;
|
@@ -34,7 +34,7 @@ export declare class Table<T, TId extends IdType = any, P = never, PId extends I
|
|
34
34
|
private withCellTableState;
|
35
35
|
constructor(props: TableProps<T, TId, P, PId>);
|
36
36
|
componentDidUpdate(): void;
|
37
|
-
rowRender: (row: ReactElement, rowProps: TableRowProps) =>
|
37
|
+
rowRender: (row: ReactElement, rowProps: TableRowProps) => ReactNode;
|
38
38
|
applyToColumns(children: ReactNode, transformer: (column: ReactElement<TableColumnProps<T, TId, P, PId>>) => ReactElement<TableColumnProps<T, TId, P, PId>>): ReactNode;
|
39
39
|
handleHeaderSelectionChange: (ev: TableHeaderSelectionChangeEvent) => void;
|
40
40
|
handleSelectionChange: (ev: TableSelectionChangeEvent) => void;
|
package/dist/table.d.ts.map
CHANGED
@@ -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,gBAAgB,IAAI,qBA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AAC,kBAAkB,CAQxB;gBAEU,KAAK,EAAE,UAAU,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,CAAC;IAW7C,kBAAkB;IAMlB,SAAS,QAAS,YAAY,YAAY,aAAa,eAcrD;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/dist/table.js
CHANGED
@@ -221,7 +221,7 @@ let Table = class Table extends Component {
|
|
221
221
|
writable: true,
|
222
222
|
value: () => {
|
223
223
|
const _a = this.props, { className, filterOperators, selectable, pager } = _a, props = __rest(_a, ["className", "filterOperators", "selectable", "pager"]);
|
224
|
-
return (_jsxs(AnvilTable, Object.assign({ ref: this.ref }, props, { dataItemKey: this.tableState.rowIdKey, data: [...this.tableState.data], rowRender: this.rowRender, editField: "inEdit", filter: this.tableState.filter, filterOperators: filterOperators !== null && filterOperators !== void 0 ? filterOperators : operators, onFilterChange: this.tableState.handleFilterChange, group: [...this.tableState.group], onGroupChange: this.tableState.handleGroupChange, onExpandChange: this.tableState.handleExpandChange, expandField: "expanded", sort: [...this.tableState.sort], onSortChange: this.tableState.handleSortChange, onHeaderSelectionChange: this.handleHeaderSelectionChange, onSelectionChange: this.handleSelectionChange, selectedField: "selected", pageable: this.getPageable(), pageSize: this.tableState.pageSize, skip: this.tableState.skip, onPageChange: this.tableState.handlePageChange, total: this.tableState.filteredCount, className: classNames(Styles.table, className), selectable: { enabled: selectable, mode: 'multiple' }
|
224
|
+
return (_jsxs(AnvilTable, Object.assign({ ref: this.ref }, props, { dataItemKey: this.tableState.rowIdKey, data: [...this.tableState.data], rowRender: this.rowRender, editField: "inEdit", filter: this.tableState.filter, filterOperators: filterOperators !== null && filterOperators !== void 0 ? filterOperators : operators, onFilterChange: this.tableState.handleFilterChange, group: [...this.tableState.group], onGroupChange: this.tableState.handleGroupChange, onExpandChange: this.tableState.handleExpandChange, expandField: "expanded", sort: [...this.tableState.sort], onSortChange: this.tableState.handleSortChange, onHeaderSelectionChange: this.handleHeaderSelectionChange, onSelectionChange: this.handleSelectionChange, selectedField: "selected", pageable: this.getPageable(), pageSize: this.tableState.pageSize, skip: this.tableState.skip, onPageChange: this.tableState.handlePageChange, total: this.tableState.filteredCount, className: classNames(Styles.table, className), selectable: { enabled: selectable, mode: 'multiple' }, children: [selectable && (_jsx(TableColumn, { locked: true, field: "selected", id: "selected", width: "50px", filterable: false, resizable: false, headerSelectionValue: props.scrollable !== 'virtual'
|
225
225
|
? this.tableState.isAllPageRowsSelected
|
226
226
|
: this.tableState.isAllRowsSelected, headerCell: this.selectHeaderCell, cell: this.selectColumnCell, headerClassName: "lh-1-i ta-center-i", className: classNames(Styles.unselectable, 'lh-1-i', 'ta-center-i') })), this.withCellTableState(props.children)] })));
|
227
227
|
}
|
@@ -274,7 +274,7 @@ let Table = class Table extends Component {
|
|
274
274
|
return (_jsx(Announcement, { status: "critical", title: "AsyncDataSource doesn't support virtual scroll with selection." }));
|
275
275
|
}
|
276
276
|
const table = this.table();
|
277
|
-
return (_jsxs(Fragment, { children: [table, this.props.exportable && (_jsxs(Fragment, { children: [_jsxs(TablePDFExport,
|
277
|
+
return (_jsxs(Fragment, { children: [table, this.props.exportable && (_jsxs(Fragment, { children: [_jsxs(TablePDFExport, { ref: this.tableState.setTablePdfExportRef, fileName: sanitizeExportFileName(this.props.exportFileName), children: [this.props.children, table] }), _jsx(ExcelExport, { ref: this.tableState.setTableExcelExportRef, fileName: sanitizeExportFileName(this.props.exportFileName), children: this.props.children })] }))] }));
|
278
278
|
}
|
279
279
|
getPageable() {
|
280
280
|
var _a;
|
package/dist/table.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"table.js","sourceRoot":"","sources":["../src/table.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EACH,cAAc,EACd,SAAS,EACT,SAAS,EACT,YAAY,EACZ,QAAQ,EACR,QAAQ,GAKX,MAAM,OAAO,CAAC;AACf,OAAO,EACH,YAAY,EACZ,KAAK,IAAI,UAAU,EAGnB,WAAW,GAOd,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,SAAS,IAAI,cAAc,EAAE,MAAM,kDAAkD,CAAC;AAC/F,OAAO,EAAE,aAAa,IAAI,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC5E,OAAO,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,OAAO,EAAE,eAAe,EAAU,MAAM,0BAA0B,CAAC;AAEnE,OAAO,EAEH,gBAAgB,EAChB,gBAAgB,GACnB,MAAM,2BAA2B,CAAC;AACnC,OAAO,UAAU,MAAM,aAAa,CAAC;AAErC,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAE1D,MAAM,EAAE,IAAI,EAAE,aAAa,KAAmB,cAAc,EAA5B,SAAS,UAAK,cAAc,EAAtD,QAAqC,CAAiB,CAAC;AAC7D,SAAS,CAAC,IAAI,GAAG;IACb,GAAG,aAAa,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ,KAAK,QAAQ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jB;;AAED,MAAM,sBAAsB,GAAG,UAAU,CAAC,CAAC,QAA4B,EAAE,EAAE,CACvE,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,OAAO,CAAC,MAAM,EAAE,GAAG,CAAC,CACjC,CAAC"}
|
@@ -10,6 +10,6 @@ export const TableUseTableStateExample = provide({
|
|
10
10
|
})(observer(({ resetPaginationMode }) => {
|
11
11
|
const [{ data, updateDataKeepRoot, updateDataChangeRoot, add5RowsWithKeepDataRoot, remove5RowsWithKeepDataRoot, add5RowsWithUpdateDataRoot, remove5RowsWithUpdateDataRoot, },] = useDependencies(UseObservingTableStateDemoStore);
|
12
12
|
const tableState = useObservingTableState(data, { pageSize: 5 }, { idSelector: p => p.ProductID }, resetPaginationMode);
|
13
|
-
return (_jsxs(Fragment, { children: [_jsxs("table",
|
13
|
+
return (_jsxs(Fragment, { children: [_jsxs("table", { className: "m-b-2", cellPadding: 4, children: [_jsxs("tr", { children: [_jsx("td", { children: _jsx(BodyText, { children: "Keep data root:" }) }), _jsx("td", { children: _jsx(Button, { onClick: updateDataKeepRoot, children: "Update prices" }) }), _jsx("td", { children: _jsx(Button, { onClick: add5RowsWithKeepDataRoot, children: "Add 5 rows" }) }), _jsx("td", { children: _jsx(Button, { onClick: remove5RowsWithKeepDataRoot, children: "Remove 5 rows" }) })] }), _jsxs("tr", { children: [_jsx("td", { children: _jsx(BodyText, { children: "Update data root:" }) }), _jsx("td", { children: _jsx(Button, { onClick: updateDataChangeRoot, children: "Update prices" }) }), _jsx("td", { children: _jsx(Button, { onClick: add5RowsWithUpdateDataRoot, children: "Add 5 rows" }) }), _jsx("td", { children: _jsx(Button, { onClick: remove5RowsWithUpdateDataRoot, children: "Remove 5 rows" }) })] })] }), _jsxs(Table, { tableState: tableState, sortable: true, groupable: true, children: [_jsx(TableColumn, { field: "ProductID", title: "ID", width: "100px" }), _jsx(TableColumn, { field: "ProductName", title: "Product Name" }), _jsx(TableColumn, { field: "UnitPrice", title: "Unit Price", format: "{0:c}", width: "125px" })] })] }));
|
14
14
|
}));
|
15
15
|
//# sourceMappingURL=use-observing-table-state-demo.js.map
|