@deephaven/iris-grid 0.9.4-beta.0 → 0.9.4-updatestylelint.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/dist/AdvancedFilterCreator.d.ts +1 -2
  2. package/dist/ColumnStatistics.d.ts +1 -2
  3. package/dist/IrisGrid.d.ts +2 -3
  4. package/dist/IrisGridCopyHandler.d.ts +2 -3
  5. package/dist/IrisGridMetricCalculator.d.ts +10 -3
  6. package/dist/IrisGridMetricCalculator.d.ts.map +1 -1
  7. package/dist/IrisGridMetricCalculator.js.map +1 -1
  8. package/dist/IrisGridModel.d.ts +141 -113
  9. package/dist/IrisGridModel.d.ts.map +1 -1
  10. package/dist/IrisGridModel.js +45 -308
  11. package/dist/IrisGridModel.js.map +1 -1
  12. package/dist/IrisGridModelUpdater.d.ts +29 -3
  13. package/dist/IrisGridModelUpdater.d.ts.map +1 -1
  14. package/dist/IrisGridModelUpdater.js +13 -45
  15. package/dist/IrisGridModelUpdater.js.map +1 -1
  16. package/dist/IrisGridProxyModel.d.ts +1 -4
  17. package/dist/IrisGridProxyModel.d.ts.map +1 -1
  18. package/dist/IrisGridRenderer.d.ts +1 -1
  19. package/dist/IrisGridTableModel.d.ts +2 -3
  20. package/dist/IrisGridTableModel.d.ts.map +1 -1
  21. package/dist/PendingDataBottomBar.d.ts +0 -1
  22. package/dist/PendingDataBottomBar.d.ts.map +1 -1
  23. package/dist/TableUtils.d.ts +1 -0
  24. package/dist/TableUtils.d.ts.map +1 -1
  25. package/dist/TableUtils.js.map +1 -1
  26. package/dist/mousehandlers/IrisGridColumnSelectMouseHandler.d.ts +14 -8
  27. package/dist/mousehandlers/IrisGridColumnSelectMouseHandler.d.ts.map +1 -1
  28. package/dist/mousehandlers/IrisGridColumnSelectMouseHandler.js +6 -1
  29. package/dist/mousehandlers/IrisGridColumnSelectMouseHandler.js.map +1 -1
  30. package/dist/mousehandlers/IrisGridColumnTooltipMouseHandler.d.ts +11 -6
  31. package/dist/mousehandlers/IrisGridColumnTooltipMouseHandler.d.ts.map +1 -1
  32. package/dist/mousehandlers/IrisGridColumnTooltipMouseHandler.js +7 -1
  33. package/dist/mousehandlers/IrisGridColumnTooltipMouseHandler.js.map +1 -1
  34. package/dist/mousehandlers/IrisGridContextMenuHandler.d.ts +1 -1
  35. package/dist/mousehandlers/IrisGridDataSelectMouseHandler.d.ts +6 -4
  36. package/dist/mousehandlers/IrisGridDataSelectMouseHandler.d.ts.map +1 -1
  37. package/dist/mousehandlers/IrisGridDataSelectMouseHandler.js +6 -1
  38. package/dist/mousehandlers/IrisGridDataSelectMouseHandler.js.map +1 -1
  39. package/dist/mousehandlers/IrisGridFilterMouseHandler.d.ts +8 -4
  40. package/dist/mousehandlers/IrisGridFilterMouseHandler.d.ts.map +1 -1
  41. package/dist/mousehandlers/IrisGridFilterMouseHandler.js +8 -1
  42. package/dist/mousehandlers/IrisGridFilterMouseHandler.js.map +1 -1
  43. package/dist/mousehandlers/IrisGridSortMouseHandler.d.ts +9 -6
  44. package/dist/mousehandlers/IrisGridSortMouseHandler.d.ts.map +1 -1
  45. package/dist/mousehandlers/IrisGridSortMouseHandler.js +8 -1
  46. package/dist/mousehandlers/IrisGridSortMouseHandler.js.map +1 -1
  47. package/dist/mousehandlers/PendingMouseHandler.d.ts +1 -1
  48. package/dist/mousehandlers/index.d.ts +7 -7
  49. package/dist/mousehandlers/index.d.ts.map +1 -1
  50. package/dist/mousehandlers/index.js.map +1 -1
  51. package/dist/sidebar/AdvancedSettingsMenu.d.ts +0 -1
  52. package/dist/sidebar/AdvancedSettingsMenu.d.ts.map +1 -1
  53. package/dist/sidebar/ChartBuilder.d.ts +1 -2
  54. package/dist/sidebar/CustomColumnBuilder.d.ts +1 -2
  55. package/dist/sidebar/RollupRows.d.ts +1 -2
  56. package/dist/sidebar/SelectDistinctBuilder.d.ts +1 -2
  57. package/dist/sidebar/TableCsvExporter.d.ts +2 -3
  58. package/dist/sidebar/VisibilityOrderingBuilder.d.ts +1 -2
  59. package/dist/sidebar/aggregations/AggregationEdit.d.ts +0 -1
  60. package/dist/sidebar/aggregations/AggregationEdit.d.ts.map +1 -1
  61. package/dist/sidebar/aggregations/Aggregations.d.ts +0 -1
  62. package/dist/sidebar/aggregations/Aggregations.d.ts.map +1 -1
  63. package/package.json +15 -15
@@ -47,7 +47,7 @@ declare class AdvancedFilterCreator extends React.PureComponent<any, any, any> {
47
47
  }
48
48
  declare namespace AdvancedFilterCreator {
49
49
  namespace propTypes {
50
- const model: PropTypes.Validator<IrisGridModel>;
50
+ const model: PropTypes.Validator<any>;
51
51
  const column: PropTypes.Validator<PropTypes.InferProps<{
52
52
  name: PropTypes.Requireable<string>;
53
53
  type: PropTypes.Requireable<string>;
@@ -77,7 +77,6 @@ declare namespace AdvancedFilterCreator {
77
77
  }
78
78
  }
79
79
  import React from "react";
80
- import IrisGridModel from "./IrisGridModel";
81
80
  import PropTypes from "prop-types";
82
81
  import Formatter from "./Formatter";
83
82
  //# sourceMappingURL=AdvancedFilterCreator.d.ts.map
@@ -13,7 +13,7 @@ declare class ColumnStatistics extends React.Component<any, any, any> {
13
13
  }
14
14
  declare namespace ColumnStatistics {
15
15
  namespace propTypes {
16
- const model: PropTypes.Validator<IrisGridModel>;
16
+ const model: PropTypes.Validator<any>;
17
17
  const column: PropTypes.Validator<PropTypes.InferProps<{
18
18
  name: PropTypes.Validator<string>;
19
19
  type: PropTypes.Validator<string>;
@@ -24,6 +24,5 @@ declare namespace ColumnStatistics {
24
24
  }
25
25
  }
26
26
  import React from "react";
27
- import IrisGridModel from "./IrisGridModel";
28
27
  import PropTypes from "prop-types";
29
28
  //# sourceMappingURL=ColumnStatistics.d.ts.map
@@ -310,7 +310,7 @@ export namespace IrisGrid {
310
310
  value: PropTypes.Validator<string>;
311
311
  }> | null | undefined)[]>;
312
312
  const customFilters: PropTypes.Requireable<(PropTypes.InferProps<{}> | null | undefined)[]>;
313
- const model: PropTypes.Validator<IrisGridModel>;
313
+ const model: PropTypes.Validator<any>;
314
314
  const onCreateChart: PropTypes.Requireable<(...args: any[]) => any>;
315
315
  const onColumnSelected: PropTypes.Requireable<(...args: any[]) => any>;
316
316
  const onError: PropTypes.Requireable<(...args: any[]) => any>;
@@ -506,7 +506,6 @@ import IrisGridRenderer from "./IrisGridRenderer";
506
506
  import { TableSaver } from "./sidebar";
507
507
  import memoize from "memoizee";
508
508
  import { OptionType } from "./sidebar";
509
- import { GridRange } from "@deephaven/grid";
509
+ import { GridRange } from "packages/grid/src/GridRange";
510
510
  import PropTypes from "prop-types";
511
- import IrisGridModel from "./IrisGridModel";
512
511
  //# sourceMappingURL=IrisGrid.d.ts.map
@@ -44,7 +44,7 @@ declare class IrisGridCopyHandler extends React.Component<any, any, any> {
44
44
  }
45
45
  declare namespace IrisGridCopyHandler {
46
46
  namespace propTypes {
47
- const model: PropTypes.Validator<IrisGridModel>;
47
+ const model: PropTypes.Validator<any>;
48
48
  const copyOperation: PropTypes.Requireable<PropTypes.InferProps<{
49
49
  ranges: PropTypes.Validator<(GridRange | null | undefined)[]>;
50
50
  movedColumns: PropTypes.Validator<(PropTypes.InferProps<{
@@ -75,7 +75,6 @@ declare namespace IrisGridCopyHandler {
75
75
  }
76
76
  }
77
77
  import React from "react";
78
- import IrisGridModel from "./IrisGridModel";
79
78
  import PropTypes from "prop-types";
80
- import { GridRange } from "@deephaven/grid";
79
+ import { GridRange } from "packages/grid/src/GridRange";
81
80
  //# sourceMappingURL=IrisGridCopyHandler.d.ts.map
@@ -1,14 +1,21 @@
1
1
  import { GridMetricCalculator } from '@deephaven/grid';
2
2
  import type { VisibleIndex, GridMetricState, GridTheme } from '@deephaven/grid';
3
+ import type { FilterCondition, Sort } from '@deephaven/jsapi-shim';
3
4
  import type IrisGridModel from './IrisGridModel';
4
5
  import type IrisGridTheme from './IrisGridTheme';
5
6
  export interface IrisGridMetricState extends GridMetricState {
6
7
  model: IrisGridModel;
7
8
  theme: typeof IrisGridTheme & typeof GridTheme;
8
9
  isFilterBarShown: boolean;
9
- advancedFilters: Map<string, unknown>;
10
- quickFilters: Map<string, unknown>;
11
- sorts: unknown[];
10
+ advancedFilters: Map<string, {
11
+ options: unknown;
12
+ filter: FilterCondition | null;
13
+ }>;
14
+ quickFilters: Map<string, {
15
+ text: string;
16
+ filter: FilterCondition | null;
17
+ }>;
18
+ sorts: Sort[];
12
19
  reverseType: string;
13
20
  }
14
21
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"IrisGridMetricCalculator.d.ts","sourceRoot":"","sources":["../src/IrisGridMetricCalculator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAEhF,OAAO,KAAK,aAAa,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,aAAa,MAAM,iBAAiB,CAAC;AAEjD,MAAM,WAAW,mBAAoB,SAAQ,eAAe;IAC1D,KAAK,EAAE,aAAa,CAAC;IACrB,KAAK,EAAE,OAAO,aAAa,GAAG,OAAO,SAAS,CAAC;IAC/C,gBAAgB,EAAE,OAAO,CAAC;IAC1B,eAAe,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACtC,YAAY,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnC,KAAK,EAAE,OAAO,EAAE,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;CACrB;AAID;;;GAGG;AACH,cAAM,wBAAyB,SAAQ,oBAAoB;IACzD,qBAAqB,CACnB,MAAM,EAAE,YAAY,EACpB,KAAK,EAAE,mBAAmB,EAC1B,WAAW,GAAE,YAAyC,EACtD,YAAY,SAAoC,GAC/C,MAAM;IAoBT,QAAQ,CAAC,KAAK,EAAE,mBAAmB,GAAG,MAAM;CAwB7C;AAED,eAAe,wBAAwB,CAAC"}
1
+ {"version":3,"file":"IrisGridMetricCalculator.d.ts","sourceRoot":"","sources":["../src/IrisGridMetricCalculator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAChF,OAAO,KAAK,EAAE,eAAe,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAEnE,OAAO,KAAK,aAAa,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,aAAa,MAAM,iBAAiB,CAAC;AAEjD,MAAM,WAAW,mBAAoB,SAAQ,eAAe;IAC1D,KAAK,EAAE,aAAa,CAAC;IACrB,KAAK,EAAE,OAAO,aAAa,GAAG,OAAO,SAAS,CAAC;IAC/C,gBAAgB,EAAE,OAAO,CAAC;IAC1B,eAAe,EAAE,GAAG,CAClB,MAAM,EACN;QAAE,OAAO,EAAE,OAAO,CAAC;QAAC,MAAM,EAAE,eAAe,GAAG,IAAI,CAAA;KAAE,CACrD,CAAC;IACF,YAAY,EAAE,GAAG,CAAC,MAAM,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,eAAe,GAAG,IAAI,CAAA;KAAE,CAAC,CAAC;IAC5E,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;CACrB;AAID;;;GAGG;AACH,cAAM,wBAAyB,SAAQ,oBAAoB;IACzD,qBAAqB,CACnB,MAAM,EAAE,YAAY,EACpB,KAAK,EAAE,mBAAmB,EAC1B,WAAW,GAAE,YAAyC,EACtD,YAAY,SAAoC,GAC/C,MAAM;IAoBT,QAAQ,CAAC,KAAK,EAAE,mBAAmB,GAAG,MAAM;CAwB7C;AAED,eAAe,wBAAwB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/IrisGridMetricCalculator.ts"],"names":["GridMetricCalculator","TableUtils","IrisGridMetricCalculator","getVisibleColumnWidth","column","state","firstColumn","getFirstColumn","treePaddingX","calculateTreePaddingX","model","hiddenColumns","layoutHints","modelColumn","getModelColumn","existingWidth","userColumnWidths","get","undefined","includes","columns","name","getGridY","gridY","isFilterBarShown","theme","advancedFilters","quickFilters","sorts","reverseType","filterBarHeight","size","filterBarCollapsedHeight","REVERSE_TYPE","NONE","length","reverseHeaderBarHeight"],"mappings":"AAAA,SAASA,oBAAT,QAAqC,iBAArC;OAEOC,U;;AAcP;;AACA;;AACA;AACA;AACA;AACA;AACA,MAAMC,wBAAN,SAAuCF,oBAAvC,CAA4D;AAC1DG,EAAAA,qBAAqB,CACnBC,MADmB,EAEnBC,KAFmB,EAKX;AAAA;;AAAA,QAFRC,WAEQ,uEAFoB,KAAKC,cAAL,CAAoBF,KAApB,CAEpB;AAAA,QADRG,YACQ,uEADO,KAAKC,qBAAL,CAA2BJ,KAA3B,CACP;AACR,QAAM;AAAEK,MAAAA;AAAF,QAAYL,KAAlB;AACA,QAAMM,aAAa,kDAAGD,KAAK,CAACE,WAAT,uDAAG,mBAAmBD,aAAtB,yEAAuC,EAA1D;AACA,QAAME,WAAW,GAAG,KAAKC,cAAL,CAAoBV,MAApB,EAA4BC,KAA5B,CAApB;AAEA,QAAMU,aAAa,GAAG,KAAKC,gBAAL,CAAsBC,GAAtB,CAA0BJ,WAA1B,CAAtB;;AACA,QAAIE,aAAa,KAAKG,SAAtB,EAAiC;AAC/B,aAAOH,aAAP;AACD;;AACD,QAAIJ,aAAa,CAACQ,QAAd,CAAuBT,KAAK,CAACU,OAAN,CAAcP,WAAd,EAA2BQ,IAAlD,CAAJ,EAA6D;AAC3D,aAAO,CAAP;AACD;;AACD,WAAO,MAAMlB,qBAAN,CACLC,MADK,EAELC,KAFK,EAGLC,WAHK,EAILE,YAJK,CAAP;AAMD;;AAEDc,EAAAA,QAAQ,CAACjB,KAAD,EAAqC;AAC3C,QAAIkB,KAAK,GAAG,MAAMD,QAAN,CAAejB,KAAf,CAAZ;AACA,QAAM;AACJmB,MAAAA,gBADI;AAEJC,MAAAA,KAFI;AAGJC,MAAAA,eAHI;AAIJC,MAAAA,YAJI;AAKJC,MAAAA,KALI;AAMJC,MAAAA;AANI,QAOFxB,KAPJ;;AAQA,QAAImB,gBAAJ,EAAsB;AACpBD,MAAAA,KAAK,IAAIE,KAAK,CAACK,eAAf;AACD,KAFD,MAEO,IACJH,YAAY,IAAIA,YAAY,CAACI,IAAb,GAAoB,CAArC,IACCL,eAAe,IAAIA,eAAe,CAACK,IAAhB,GAAuB,CAFtC,EAGL;AACAR,MAAAA,KAAK,IAAIE,KAAK,CAACO,wBAAf;AACD;;AACD,QAAIH,WAAW,KAAK5B,UAAU,CAACgC,YAAX,CAAwBC,IAAxC,IAAgDN,KAAK,CAACO,MAAN,GAAe,CAAnE,EAAsE;AACpEZ,MAAAA,KAAK,IAAIE,KAAK,CAACW,sBAAf;AACD;;AAED,WAAOb,KAAP;AACD;;AAjDyD;;AAoD5D,eAAerB,wBAAf","sourcesContent":["import { GridMetricCalculator } from '@deephaven/grid';\nimport type { VisibleIndex, GridMetricState, GridTheme } from '@deephaven/grid';\nimport TableUtils from './TableUtils';\nimport type IrisGridModel from './IrisGridModel';\nimport type IrisGridTheme from './IrisGridTheme';\n\nexport interface IrisGridMetricState extends GridMetricState {\n model: IrisGridModel;\n theme: typeof IrisGridTheme & typeof GridTheme;\n isFilterBarShown: boolean;\n advancedFilters: Map<string, unknown>;\n quickFilters: Map<string, unknown>;\n sorts: unknown[];\n reverseType: string;\n}\n\n/* eslint class-methods-use-this: \"off\" */\n/* eslint react/destructuring-assignment: \"off\" */\n/**\n * Class to calculate all the metrics for a grid.\n * Call getMetrics() with the state to get metrics\n */\nclass IrisGridMetricCalculator extends GridMetricCalculator {\n getVisibleColumnWidth(\n column: VisibleIndex,\n state: IrisGridMetricState,\n firstColumn: VisibleIndex = this.getFirstColumn(state),\n treePaddingX = this.calculateTreePaddingX(state)\n ): number {\n const { model } = state;\n const hiddenColumns = model.layoutHints?.hiddenColumns ?? [];\n const modelColumn = this.getModelColumn(column, state);\n\n const existingWidth = this.userColumnWidths.get(modelColumn);\n if (existingWidth !== undefined) {\n return existingWidth;\n }\n if (hiddenColumns.includes(model.columns[modelColumn].name)) {\n return 0;\n }\n return super.getVisibleColumnWidth(\n column,\n state,\n firstColumn,\n treePaddingX\n );\n }\n\n getGridY(state: IrisGridMetricState): number {\n let gridY = super.getGridY(state);\n const {\n isFilterBarShown,\n theme,\n advancedFilters,\n quickFilters,\n sorts,\n reverseType,\n } = state;\n if (isFilterBarShown) {\n gridY += theme.filterBarHeight;\n } else if (\n (quickFilters && quickFilters.size > 0) ||\n (advancedFilters && advancedFilters.size > 0)\n ) {\n gridY += theme.filterBarCollapsedHeight;\n }\n if (reverseType !== TableUtils.REVERSE_TYPE.NONE && sorts.length > 0) {\n gridY += theme.reverseHeaderBarHeight;\n }\n\n return gridY;\n }\n}\n\nexport default IrisGridMetricCalculator;\n"],"file":"IrisGridMetricCalculator.js"}
1
+ {"version":3,"sources":["../src/IrisGridMetricCalculator.ts"],"names":["GridMetricCalculator","TableUtils","IrisGridMetricCalculator","getVisibleColumnWidth","column","state","firstColumn","getFirstColumn","treePaddingX","calculateTreePaddingX","model","hiddenColumns","layoutHints","modelColumn","getModelColumn","existingWidth","userColumnWidths","get","undefined","includes","columns","name","getGridY","gridY","isFilterBarShown","theme","advancedFilters","quickFilters","sorts","reverseType","filterBarHeight","size","filterBarCollapsedHeight","REVERSE_TYPE","NONE","length","reverseHeaderBarHeight"],"mappings":"AAAA,SAASA,oBAAT,QAAqC,iBAArC;OAGOC,U;;AAiBP;;AACA;;AACA;AACA;AACA;AACA;AACA,MAAMC,wBAAN,SAAuCF,oBAAvC,CAA4D;AAC1DG,EAAAA,qBAAqB,CACnBC,MADmB,EAEnBC,KAFmB,EAKX;AAAA;;AAAA,QAFRC,WAEQ,uEAFoB,KAAKC,cAAL,CAAoBF,KAApB,CAEpB;AAAA,QADRG,YACQ,uEADO,KAAKC,qBAA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AAK,CAACW,sBAAf;AACD;;AAED,WAAOb,KAAP;AACD;;AAjDyD;;AAoD5D,eAAerB,wBAAf","sourcesContent":["import { GridMetricCalculator } from '@deephaven/grid';\nimport type { VisibleIndex, GridMetricState, GridTheme } from '@deephaven/grid';\nimport type { FilterCondition, Sort } from '@deephaven/jsapi-shim';\nimport TableUtils from './TableUtils';\nimport type IrisGridModel from './IrisGridModel';\nimport type IrisGridTheme from './IrisGridTheme';\n\nexport interface IrisGridMetricState extends GridMetricState {\n model: IrisGridModel;\n theme: typeof IrisGridTheme & typeof GridTheme;\n isFilterBarShown: boolean;\n advancedFilters: Map<\n string,\n { options: unknown; filter: FilterCondition | null }\n >;\n quickFilters: Map<string, { text: string; filter: FilterCondition | null }>;\n sorts: Sort[];\n reverseType: string;\n}\n\n/* eslint class-methods-use-this: \"off\" */\n/* eslint react/destructuring-assignment: \"off\" */\n/**\n * Class to calculate all the metrics for a grid.\n * Call getMetrics() with the state to get metrics\n */\nclass IrisGridMetricCalculator extends GridMetricCalculator {\n getVisibleColumnWidth(\n column: VisibleIndex,\n state: IrisGridMetricState,\n firstColumn: VisibleIndex = this.getFirstColumn(state),\n treePaddingX = this.calculateTreePaddingX(state)\n ): number {\n const { model } = state;\n const hiddenColumns = model.layoutHints?.hiddenColumns ?? [];\n const modelColumn = this.getModelColumn(column, state);\n\n const existingWidth = this.userColumnWidths.get(modelColumn);\n if (existingWidth !== undefined) {\n return existingWidth;\n }\n if (hiddenColumns.includes(model.columns[modelColumn].name)) {\n return 0;\n }\n return super.getVisibleColumnWidth(\n column,\n state,\n firstColumn,\n treePaddingX\n );\n }\n\n getGridY(state: IrisGridMetricState): number {\n let gridY = super.getGridY(state);\n const {\n isFilterBarShown,\n theme,\n advancedFilters,\n quickFilters,\n sorts,\n reverseType,\n } = state;\n if (isFilterBarShown) {\n gridY += theme.filterBarHeight;\n } else if (\n (quickFilters && quickFilters.size > 0) ||\n (advancedFilters && advancedFilters.size > 0)\n ) {\n gridY += theme.filterBarCollapsedHeight;\n }\n if (reverseType !== TableUtils.REVERSE_TYPE.NONE && sorts.length > 0) {\n gridY += theme.reverseHeaderBarHeight;\n }\n\n return gridY;\n }\n}\n\nexport default IrisGridMetricCalculator;\n"],"file":"IrisGridMetricCalculator.js"}
@@ -1,4 +1,12 @@
1
- export default IrisGridModel;
1
+ import { GridModel, GridRange, ModelIndex, VisibleIndex } from '@deephaven/grid';
2
+ import type { Column, ColumnStatistics, FilterCondition, Format, LayoutHints, RollupConfig, Row, Sort, Table, TotalsTableConfig } from '@deephaven/jsapi-shim';
3
+ import type { Event, EventTarget } from 'event-target-shim';
4
+ import type Formatter from './Formatter';
5
+ declare type RowIndex = ModelIndex;
6
+ declare type IrisGridModelEventNames = typeof IrisGridModel.EVENT[keyof typeof IrisGridModel.EVENT];
7
+ declare type IrisGridModelEventMap = {
8
+ [E in IrisGridModelEventNames]: Event<E>;
9
+ };
2
10
  /**
3
11
  * Abstract class that extends the GridModel to have more functionality, like filtering and sorting.
4
12
  * For use from IrisGrid.
@@ -6,21 +14,24 @@ export default IrisGridModel;
6
14
  * Note that it still uses dh.Column, dh.FilterCondition, dh.Sort, etc., still. Theoretically should abstract
7
15
  * those out as well, so there's no dependency on IrisAPI at all, but it's a lot of work for no real gain at this time.
8
16
  */
9
- declare class IrisGridModel extends GridModel {
17
+ declare abstract class IrisGridModel<TEventMap extends Record<string, Event<string>> = Record<string, Event<string>>, TMode extends 'standard' | 'strict' = 'standard'> extends GridModel<TEventMap & IrisGridModelEventMap, TMode> {
10
18
  static EVENT: Readonly<{
11
- UPDATED: string;
12
- FORMATTER_UPDATED: string;
13
- REQUEST_FAILED: string;
14
- COLUMNS_CHANGED: string;
15
- TABLE_CHANGED: string;
16
- FILTERS_CHANGED: string;
17
- SORTS_CHANGED: string;
18
- DISCONNECT: string;
19
- RECONNECT: string;
20
- TOTALS_UPDATED: string;
21
- PENDING_DATA_UPDATED: string;
19
+ readonly UPDATED: "UPDATED";
20
+ readonly FORMATTER_UPDATED: "FORMATTER_UPDATED";
21
+ readonly REQUEST_FAILED: "REQUEST_FAILED";
22
+ readonly COLUMNS_CHANGED: "COLUMNS_CHANGED";
23
+ readonly TABLE_CHANGED: "TABLE_CHANGED";
24
+ readonly FILTERS_CHANGED: "FILTERS_CHANGED";
25
+ readonly SORTS_CHANGED: "SORTS_CHANGED";
26
+ readonly DISCONNECT: "DISCONNECT";
27
+ readonly RECONNECT: "RECONNECT";
28
+ readonly TOTALS_UPDATED: "TOTALS_UPDATED";
29
+ readonly PENDING_DATA_UPDATED: "PENDING_DATA_UPDATED";
22
30
  }>;
31
+ constructor();
23
32
  listenerCount: number;
33
+ addEventListener<T extends string & keyof TEventMap>(type0: T, callback0?: EventTarget.EventListener<this, TEventMap[T]> | null, options0?: boolean | EventTarget.AddOptions): void;
34
+ removeEventListener<T extends string & keyof TEventMap>(type0: T, callback0?: EventTarget.EventListener<this, TEventMap[T]> | null, options0?: boolean | EventTarget.Options): void;
24
35
  /**
25
36
  * Function called when first listener is added.
26
37
  * Override for implementation specific behaviour.
@@ -33,215 +44,232 @@ declare class IrisGridModel extends GridModel {
33
44
  stopListening(): void;
34
45
  /**
35
46
  * Gets the columns for this model
36
- * @returns {dh.Column[]} All columns in the model
47
+ * @returns All columns in the model
37
48
  */
38
- get columns(): dh.Column[];
49
+ abstract get columns(): Column[];
39
50
  /**
40
51
  * Gets the column index for this model
41
- * @param {String} name The model column name.
42
- * @returns {Number} The numeric index of the requested column.
52
+ * @param name The model column name.
53
+ * @returns The numeric index of the requested column.
43
54
  */
44
- getColumnIndexByName(name: string): number;
55
+ abstract getColumnIndexByName(name: string): ModelIndex;
45
56
  /**
46
57
  * Gets the columns for the model before any transformations (such as rollups) are applied.
47
- * @returns {dh.Column[]} All original columns in the model.
58
+ * @returns All original columns in the model.
48
59
  */
49
- get originalColumns(): dh.Column[];
60
+ get originalColumns(): Column[];
50
61
  /**
51
62
  * Retrieve the grouped columns for this model
52
- * @returns {dh.Column[]} The columns that are grouped
63
+ * @returns The columns that are grouped
53
64
  */
54
- get groupedColumns(): dh.Column[];
65
+ abstract get groupedColumns(): Column[];
55
66
  /**
56
67
  * The description for this model.
57
- * @returns {String} The description of the model
68
+ * @returns The description of the model
58
69
  */
59
- get description(): string;
70
+ abstract get description(): string;
60
71
  /**
61
- * @param {Number} x The model column index
62
- * @param {Number} y The model row index
63
- * @returns {dh.Format} The format stored for that cell
72
+ * @param column The model column index
73
+ * @param row The model row index
74
+ * @returns The format stored for that cell
64
75
  */
65
- formatForCell(x: number, y: number): dh.Format;
76
+ abstract formatForCell(column: ModelIndex, row: ModelIndex): Format | undefined;
66
77
  /**
67
- * @param {Number} x The model column index
68
- * @param {Number} y The model row index
69
- * @returns {Any} The value stored for that cell
78
+ * @param column The model column index
79
+ * @param row The model row index
80
+ * @returns The value stored for that cell
70
81
  */
71
- valueForCell(x: number, y: number): Any;
82
+ abstract valueForCell(column: ModelIndex, row: ModelIndex): unknown;
72
83
  /**
73
- * @param {FilterCondition[]} filter The filters to set
84
+ * @returns The filters set on this model
74
85
  */
75
- set filter(arg: FilterCondition[]);
86
+ abstract get filter(): FilterCondition[];
76
87
  /**
77
- * @returns {FilterCondition[]} The filters set on this model
88
+ * @param filter The filters to set
78
89
  */
79
- get filter(): FilterCondition[];
90
+ abstract set filter(filter: FilterCondition[]);
80
91
  /**
81
- * @param {Formatter} formatter The formatter to set
92
+ * @returns {Formatter} The formatter used when formatting data
82
93
  */
83
- set formatter(arg: Formatter);
94
+ abstract get formatter(): Formatter;
84
95
  /**
85
- * @returns {Formatter} The formatter used when formatting data
96
+ * @param {Formatter} formatter The formatter to set
86
97
  */
87
- get formatter(): Formatter;
98
+ abstract set formatter(formatter: Formatter);
88
99
  /**
89
- * @param {Any} value The value to format
90
- * @param {String} columnType The column type to format
91
- * @param {String} columnName The column name to format
100
+ * @param value The value to format
101
+ * @param columnType The column type to format
102
+ * @param columnName The column name to format
92
103
  */
93
- displayString(value: Any, columnType: string, columnName?: string): void;
104
+ abstract displayString(value: unknown, columnType: string, columnName?: string): string;
94
105
  /**
95
- * @param {dh.Sort[]} sort The sorts to use on this model
106
+ * @returns The sorts used on this model
96
107
  */
97
- set sort(arg: dh.Sort[]);
108
+ abstract get sort(): Sort[];
98
109
  /**
99
- * @returns {dh.Sort[]} The sorts used on this model
110
+ * @param sort The sorts to use on this model
100
111
  */
101
- get sort(): dh.Sort[];
112
+ abstract set sort(sort: Sort[]);
102
113
  /**
103
- * @param {String[]} customColumns The custom columns to use
114
+ * @returns The custom columns on this model
104
115
  */
105
- set customColumns(arg: string[]);
116
+ abstract get customColumns(): string[];
106
117
  /**
107
- * @returns {String[]} The custom columns on this model
118
+ * @param customColumns The custom columns to use
108
119
  */
109
- get customColumns(): string[];
120
+ abstract set customColumns(customColumns: string[]);
110
121
  /**
111
- * @param {String[]} columns The columns to treat as frozen
122
+ * @param columns The columns to treat as frozen
112
123
  */
113
- updateFrozenColumns(columns: string[]): void;
114
- set rollupConfig(arg: dh.RollupTableConfig);
124
+ abstract updateFrozenColumns(columns: string[]): void;
115
125
  /**
116
- * @returns {dh.RollupTableConfig} The config to use for rolling up this table
126
+ * @returns The config to use for rolling up this table
117
127
  */
118
- get rollupConfig(): dh.RollupTableConfig;
119
- set totalsConfig(arg: dh.TotalsTableConfig);
128
+ abstract get rollupConfig(): RollupConfig;
129
+ abstract set rollupConfig(rollupConfig: RollupConfig);
120
130
  /**
121
- * @returns {dh.TotalsTableConfig} The config to use for the totals table of this model
131
+ * @returns The config to use for the totals table of this model
122
132
  */
123
- get totalsConfig(): dh.TotalsTableConfig;
133
+ abstract get totalsConfig(): TotalsTableConfig;
134
+ abstract set totalsConfig(totalsConfig: TotalsTableConfig);
124
135
  /**
125
- * @returns {dh.LayoutHints|null} The LayoutHints to use for the columns of this table model
136
+ * @returns The LayoutHints to use for the columns of this table model
126
137
  */
127
- get layoutHints(): any;
138
+ get layoutHints(): LayoutHints | null;
128
139
  /**
129
- * @param {Number} index The column index to check
130
- * @returns {Boolean} Whether the column is one of LayoutHints' frozen columns
140
+ * @param index The column index to check
141
+ * @returns Whether the column is one of LayoutHints' frozen columns
131
142
  */
132
- isColumnFrozen(index: number): boolean;
143
+ isColumnFrozen(index: ModelIndex): boolean;
133
144
  /**
134
- * @returns {boolean} True if this model requires a filter to be set
145
+ * @returns True if this model requires a filter to be set
135
146
  */
136
147
  get isFilterRequired(): boolean;
137
148
  get isReversible(): boolean;
138
149
  /**
139
- * @returns {boolean} True if this model supports the columnStatistics(column) function
150
+ * @returns True if this model supports the columnStatistics(column) function
140
151
  */
141
152
  get isColumnStatisticsAvailable(): boolean;
142
153
  /**
143
- * @returns {boolean} True if this model supports customColumns
154
+ * @returns True if this model supports customColumns
144
155
  */
145
156
  get isCustomColumnsAvailable(): boolean;
146
157
  /**
147
- * @returns {boolean} True if this model supports the export() function
158
+ * @returns True if this model supports the export() function
148
159
  */
149
160
  get isExportAvailable(): boolean;
150
161
  /**
151
- * @returns {boolean} True if this model supports the valuesTable(column) function
162
+ * @returns True if this model supports the valuesTable(column) function
152
163
  */
153
164
  get isValuesTableAvailable(): boolean;
154
165
  /**
155
- * @returns {boolean} True if this model should allow the chart builder
166
+ * @returns True if this model should allow the chart builder
156
167
  */
157
168
  get isChartBuilderAvailable(): boolean;
158
169
  /**
159
- * @returns {boolean} True if the rollup rows functionality is available
170
+ * @returns True if the rollup rows functionality is available
160
171
  */
161
172
  get isRollupAvailable(): boolean;
162
173
  /**
163
- * @returns {boolean} True if the totals functionality is available
174
+ * @return True if select distinct functionality is available
175
+ */
176
+ get isSelectDistinctAvailable(): boolean;
177
+ /**
178
+ * @returns True if the totals functionality is available
164
179
  */
165
180
  get isTotalsAvailable(): boolean;
166
181
  /**
167
- * Set the pending data for this model
168
- * @param {Map<number, Map<string, value>>} A map of row index to a map of column name/value pairs
182
+ * The names of columns with select distinct enabled
183
+ * @returns An array of column names
184
+ */
185
+ abstract get selectDistinctColumns(): string[];
186
+ /**
187
+ * Set the columns with select distinct enabled
188
+ * @param names The array of column names to enable select distinct on
169
189
  */
170
- set pendingDataMap(arg: Map<number, Map<string, value>>);
190
+ abstract set selectDistinctColumns(names: string[]);
171
191
  /**
172
192
  * The pending data for this model
173
- * @returns {Map<number, Map<string, value>>} A map of row index to a map of column name/value pairs
193
+ * @returns A map of row index to a map of column name/value pairs
174
194
  */
175
- get pendingDataMap(): Map<number, Map<string, value>>;
195
+ abstract get pendingDataMap(): Map<RowIndex, Map<string, unknown>>;
176
196
  /**
177
- * Set the count of pending rows to show
178
- * @param {number} count The count of pending rows to show
197
+ * Set the pending data for this model
198
+ * @param A map of row index to a map of column name/value pairs
179
199
  */
180
- set pendingRowCount(arg: number);
200
+ abstract set pendingDataMap(map: Map<RowIndex, Map<string, unknown>>);
181
201
  /**
182
- * @returns {number} The count of pending rows to show
202
+ * @returns The count of pending rows to show
183
203
  */
184
- get pendingRowCount(): number;
204
+ abstract get pendingRowCount(): number;
205
+ /**
206
+ * Set the count of pending rows to show
207
+ * @param count The count of pending rows to show
208
+ */
209
+ abstract set pendingRowCount(count: number);
185
210
  /**
186
211
  * Errors for the pending data
187
- * @returns {Map<number, Error>} Map from row number to the error
212
+ * @returns Map from row number to the error
188
213
  */
189
- get pendingDataErrors(): Map<number, Error>;
214
+ abstract get pendingDataErrors(): Map<RowIndex, Error>;
190
215
  /**
191
216
  * Commit pending data and save all data to the table
192
217
  */
193
- commitPending(): Promise<void>;
218
+ abstract commitPending(): Promise<void>;
194
219
  /**
195
220
  * Check if a column is filterable
196
- * @param columnIndex {number} The column index to check for filterability
197
- * @returns {boolean} True if the current provided column index is filterable, false otherwise
221
+ * @param columnIndex The column index to check for filterability
222
+ * @returns True if the current provided column index is filterable, false otherwise
198
223
  */
199
- isFilterable(columnIndex: number): boolean;
224
+ isFilterable(columnIndex: ModelIndex): boolean;
200
225
  /**
201
226
  * Set the indices of the viewport
202
- * @param {number} top Top of viewport
203
- * @param {number} bottom Bottom of viewport
204
- * @param {Iris.Column[]} columns The columns in the viewport. `null` for all columns
227
+ * @param top Top of viewport
228
+ * @param bottom Bottom of viewport
229
+ * @param columns The columns in the viewport. `null` for all columns
205
230
  */
206
- setViewport(top: number, bottom: number, columns: Iris.Column[]): void;
231
+ abstract setViewport(top: VisibleIndex, bottom: VisibleIndex, columns: Column[] | null): void;
207
232
  /**
208
233
  * Takes a snapshot of the provided ranges
209
- * @param {GridRange[]} ranges The model ranges to take the snapshot of
210
- * @returns {unknown[][]} Returns the data in a row/column matrix
234
+ * @param ranges The model ranges to take the snapshot of
235
+ * @returns Returns the data in a row/column matrix
211
236
  */
212
- snapshot(ranges: GridRange[]): unknown[][];
237
+ abstract snapshot(ranges: GridRange[]): Promise<unknown[][]>;
213
238
  /**
214
- * @param {GridRange[]} ranges The ranges to take a snapshot of
215
- * @param {boolean} includeHeaders Whether to include the headers in the snapshot or not
239
+ * @param ranges The ranges to take a snapshot of
240
+ * @param includeHeaders Whether to include the headers in the snapshot or not
216
241
  * @param {(unknown, dh.Column, dh.Row) => string} formatValue A function to format a value for a cell. Defaults to model format value.
217
- * @returns {Promise<string>} A text formatted snapshot of the data for the specified range set
242
+ * @returns A text formatted snapshot of the data for the specified range set
218
243
  */
219
- textSnapshot(ranges: GridRange[], includeHeaders: boolean, formatValue: (unknown: any, dh: any, Column: any, dh: any, Row: any) => string): Promise<string>;
244
+ abstract textSnapshot(ranges: GridRange[], includeHeaders?: boolean, formatValue?: (value: unknown, column: Column, row: Row) => string): Promise<string>;
220
245
  /**
221
- * @returns {Promise<dh.Table>} Returns a raw table that is frozen and can be used for exporting data
246
+ * @returns Returns a raw table that is frozen and can be used for exporting data
222
247
  */
223
- export(): Promise<dh.Table>;
248
+ abstract export(): Promise<Table>;
224
249
  /**
225
- * @param {dh.Column} column The column to get the distinct values for
226
- * @returns {Promise<dh.Table>} A table partitioned on the column specified
250
+ * @param column The column to get the distinct values for
251
+ * @returns A table partitioned on the column specified
227
252
  */
228
- valuesTable(column: dh.Column): Promise<dh.Table>;
253
+ abstract valuesTable(column: Column): Promise<Table>;
229
254
  /**
230
- * @param {dh.Column} column The column to get statistics for
231
- * @returns {Promise<dh.ColumnStatistics>} The column statistics
255
+ * @param column The column to get statistics for
256
+ * @returns The column statistics
232
257
  */
233
- columnStatistics(column: dh.Column): Promise<dh.ColumnStatistics>;
258
+ abstract columnStatistics(column: Column): Promise<ColumnStatistics>;
234
259
  /**
235
260
  * Close this model. It can no longer be used after being closed
236
261
  */
237
262
  close(): void;
263
+ /**
264
+ * Don't allow any rows to be movable in any IrisGrids by default. Just columns.
265
+ */
266
+ isRowMovable(): boolean;
238
267
  /**
239
268
  * Delete ranges from an input grid. Will delete the entire row, causing data to shift up
240
- * @param {GridRange[]} ranges The ranges to delete
241
- * @returns {Promise<void>} A promise that resolves successfully when the operation is complete or rejects if there's an error
269
+ * @param ranges The ranges to delete
270
+ * @returns A promise that resolves successfully when the operation is complete or rejects if there's an error
242
271
  */
243
- delete(ranges: GridRange[]): Promise<void>;
272
+ abstract delete(ranges: GridRange[]): Promise<void>;
244
273
  }
245
- import { GridModel } from "@deephaven/grid";
246
- import Formatter from "./Formatter";
274
+ export default IrisGridModel;
247
275
  //# sourceMappingURL=IrisGridModel.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IrisGridModel.d.ts","sourceRoot":"","sources":["../src/IrisGridModel.js"],"names":[],"mappings":";AAMA;;;;;;GAMG;AACH;IACE;;;;;;;;;;;;OAYG;IAKD,sBAAsB;IAqBxB;;;OAGG;IACH,uBAAmB;IAEnB;;;OAGG;IACH,sBAAkB;IAElB;;;OAGG;IACH,2BAEC;IAED;;;;OAIG;IACH,2CAEC;IAED;;;OAGG;IACH,mCAEC;IAED;;;OAGG;IACH,kCAEC;IAED;;;OAGG;IACH,0BAEC;IAED;;;;OAIG;IACH,+CAEC;IAED;;;;OAIG;IACH,wCAEC;IASD;;OAEG;IACH,mCAEC;IAZD;;OAEG;IACH,gCAEC;IAgBD;;OAEG;IACH,8BAEC;IAZD;;OAEG;IACH,2BAEC;IASD;;;;OAIG;IACH,yEAEC;IASD;;OAEG;IACH,yBAEC;IAZD;;OAEG;IACH,sBAEC;IAgBD;;OAEG;IACH,iCAEC;IAZD;;OAEG;IACH,8BAEC;IASD;;OAEG;IACH,6BAFW,QAAQ,QAIlB;IASD,4CAEC;IATD;;OAEG;IACH,yCAEC;IAaD,4CAEC;IATD;;OAEG;IACH,yCAEC;IAMD;;OAEG;IACH,uBAEC;IAED;;;OAGG;IACH,uCAEC;IAED;;OAEG;IACH,gCAEC;IAED,4BAEC;IAED;;OAEG;IACH,2CAEC;IAED;;OAEG;IACH,wCAEC;IAED;;OAEG;IACH,iCAEC;IAED;;OAEG;IACH,sCAEC;IAED;;OAEG;IACH,uCAEC;IAED;;OAEG;IACH,iCAEC;IAED;;OAEG;IACH,iCAEC;IAUD;;;OAGG;IACH,yDAEC;IAdD;;;OAGG;IACH,sDAEC;IAiBD;;;OAGG;IACH,iCAEC;IAbD;;OAEG;IACH,8BAEC;IAUD;;;OAGG;IACH,4CAEC;IAED;;OAEG;IACH,+BAEC;IAED;;;;OAIG;IACH,0BAHuB,MAAM,GAChB,OAAO,CAInB;IAED;;;;;OAKG;IACH,iBAJW,MAAM,UACN,MAAM,WACN,aAAa,QAIvB;IAED;;;;OAIG;IACH,iBAHW,WAAW,GACT,OAAO,EAAE,EAAE,CAIvB;IAED;;;;;OAKG;IACH,qBALW,WAAW,kBACX,OAAO,0EACyB,MAAM,GACpC,QAAQ,MAAM,CAAC,CAI3B;IAED;;OAEG;IACH,UAFa,iBAAiB,CAI7B;IAED;;;OAGG;IACH,gCAFa,iBAAiB,CAI7B;IAED;;;OAGG;IACH,qCAFa,4BAA4B,CAIxC;IAED;;OAEG;IACH,cAAU;IASV;;;;OAIG;IACH,eAHW,WAAW,GACT,QAAQ,IAAI,CAAC,CAIzB;CACF"}
1
+ {"version":3,"file":"IrisGridModel.d.ts","sourceRoot":"","sources":["../src/IrisGridModel.ts"],"names":[],"mappings":"AACA,OAAO,EACL,SAAS,EACT,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