@deephaven/jsapi-utils 0.67.0 → 0.67.1-beta.1

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 (38) hide show
  1. package/dist/ConnectionUtils.d.ts +2 -2
  2. package/dist/ConnectionUtils.d.ts.map +1 -1
  3. package/dist/ConnectionUtils.js.map +1 -1
  4. package/dist/DateUtils.d.ts +5 -5
  5. package/dist/DateUtils.d.ts.map +1 -1
  6. package/dist/DateUtils.js.map +1 -1
  7. package/dist/FilterUtils.d.ts +5 -5
  8. package/dist/FilterUtils.d.ts.map +1 -1
  9. package/dist/FilterUtils.js.map +1 -1
  10. package/dist/Formatter.d.ts +1 -1
  11. package/dist/Formatter.d.ts.map +1 -1
  12. package/dist/Formatter.js.map +1 -1
  13. package/dist/SessionUtils.d.ts +8 -8
  14. package/dist/SessionUtils.d.ts.map +1 -1
  15. package/dist/SessionUtils.js.map +1 -1
  16. package/dist/TableUtils.d.ts +41 -40
  17. package/dist/TableUtils.d.ts.map +1 -1
  18. package/dist/TableUtils.js +4 -0
  19. package/dist/TableUtils.js.map +1 -1
  20. package/dist/ViewportDataUtils.d.ts +7 -7
  21. package/dist/ViewportDataUtils.d.ts.map +1 -1
  22. package/dist/ViewportDataUtils.js.map +1 -1
  23. package/dist/formatters/DateTimeColumnFormatter.d.ts +7 -7
  24. package/dist/formatters/DateTimeColumnFormatter.d.ts.map +1 -1
  25. package/dist/formatters/DateTimeColumnFormatter.js +3 -0
  26. package/dist/formatters/DateTimeColumnFormatter.js.map +1 -1
  27. package/dist/formatters/DecimalColumnFormatter.d.ts +3 -3
  28. package/dist/formatters/DecimalColumnFormatter.d.ts.map +1 -1
  29. package/dist/formatters/DecimalColumnFormatter.js +3 -0
  30. package/dist/formatters/DecimalColumnFormatter.js.map +1 -1
  31. package/dist/formatters/IntegerColumnFormatter.d.ts +3 -3
  32. package/dist/formatters/IntegerColumnFormatter.d.ts.map +1 -1
  33. package/dist/formatters/IntegerColumnFormatter.js +3 -0
  34. package/dist/formatters/IntegerColumnFormatter.js.map +1 -1
  35. package/dist/formatters/TableColumnFormatter.d.ts +2 -2
  36. package/dist/formatters/TableColumnFormatter.d.ts.map +1 -1
  37. package/dist/formatters/TableColumnFormatter.js.map +1 -1
  38. package/package.json +7 -7
@@ -1,5 +1,5 @@
1
1
  import { TypeValue as FilterTypeValue, OperatorValue as FilterOperatorValue } from '@deephaven/filters';
2
- import type { Column, CustomColumn, dh as DhType, FilterCondition, FilterValue, LongWrapper, PartitionedTable, Sort, Table, TreeTable } from '@deephaven/jsapi-types';
2
+ import type { dh as DhType } from '@deephaven/jsapi-types';
3
3
  import { CancelablePromise } from '@deephaven/utils';
4
4
  import { ColumnName } from './Formatter';
5
5
  import { FilterConditionFactory } from './FilterUtils';
@@ -30,6 +30,7 @@ export type RowDataMapValue = {
30
30
  visibleIndex: number;
31
31
  };
32
32
  export type RowDataMap = Record<ColumnName, RowDataMapValue>;
33
+ export declare function isSortDirection(value: string | null): value is SortDirection;
33
34
  /** Utility class to provide some functions for working with tables */
34
35
  export declare class TableUtils {
35
36
  static dataType: {
@@ -60,7 +61,7 @@ export declare class TableUtils {
60
61
  * @param filterFactories Filter condition factories to apply
61
62
  * @returns A derived, filtered table
62
63
  */
63
- static copyTableAndApplyFilters<T extends Table | null | undefined, R extends T extends Table ? T : null>(maybeTable: T, ...filterFactories: FilterConditionFactory[]): Promise<R>;
64
+ static copyTableAndApplyFilters<T extends DhType.Table | null | undefined, R extends T extends DhType.Table ? T : null>(maybeTable: T, ...filterFactories: FilterConditionFactory[]): Promise<R>;
64
65
  /**
65
66
  * Executes a callback on a given table and returns a Promise that will resolve
66
67
  * the next time a particular event type fires on the table.
@@ -73,19 +74,19 @@ export declare class TableUtils {
73
74
  * @returns a Promise to the original table that resolves on next `eventType`
74
75
  * event
75
76
  */
76
- static executeAndWaitForEvent: <T extends Table | TreeTable>(exec: (maybeTable: T | null | undefined) => void, table: T | null | undefined, eventType: string, timeout?: number) => Promise<T | null>;
77
- static getSortIndex(sort: readonly Sort[], columnName: ColumnName): number | null;
77
+ static executeAndWaitForEvent: <T extends DhType.Table | DhType.TreeTable>(exec: (maybeTable: T | null | undefined) => void, table: T | null | undefined, eventType: string, timeout?: number) => Promise<T | null>;
78
+ static getSortIndex(sort: readonly DhType.Sort[], columnName: ColumnName): number | null;
78
79
  /**
79
80
  * @param tableSort The sorts from the table to get the sort from
80
81
  * @param columnName The name of the column to get the sort for
81
82
  * @returns The sort for the column, or null if it's not sorted
82
83
  */
83
- static getSortForColumn(tableSort: readonly Sort[], columnName: ColumnName): Sort | null;
84
- static getFilterText(filter?: FilterCondition | null): string | null;
84
+ static getSortForColumn(tableSort: readonly DhType.Sort[], columnName: ColumnName): DhType.Sort | null;
85
+ static getFilterText(filter?: DhType.FilterCondition | null): string | null;
85
86
  /** Return the valid filter types for the column */
86
87
  static getFilterTypes(columnType: string): FilterTypeValue[];
87
- static getNextSort(columns: readonly Column[], sorts: readonly Sort[], columnIndex: number): Sort | null;
88
- static makeColumnSort(columns: readonly Column[], columnIndex: number, direction: SortDirection, isAbs: boolean): Sort | null;
88
+ static getNextSort(columns: readonly DhType.Column[], sorts: readonly DhType.Sort[], columnIndex: number): DhType.Sort | null;
89
+ static makeColumnSort(columns: readonly DhType.Column[], columnIndex: number, direction: SortDirection, isAbs: boolean): DhType.Sort | null;
89
90
  /**
90
91
  * Toggles the sort for the specified column
91
92
  * @param sorts The current sorts from IrisGrid.state
@@ -93,8 +94,8 @@ export declare class TableUtils {
93
94
  * @param columnIndex The column index to apply the sort to
94
95
  * @param addToExisting Add this sort to the existing sort
95
96
  */
96
- static toggleSortForColumn(sorts: readonly Sort[], columns: readonly Column[], columnIndex: number, addToExisting?: boolean): Sort[];
97
- static sortColumn(sorts: readonly Sort[], columns: readonly Column[], modelColumn: number, direction: SortDirection, isAbs: boolean, addToExisting: boolean): Sort[];
97
+ static toggleSortForColumn(sorts: readonly DhType.Sort[], columns: readonly DhType.Column[], columnIndex: number, addToExisting?: boolean): DhType.Sort[];
98
+ static sortColumn(sorts: readonly DhType.Sort[], columns: readonly DhType.Column[], modelColumn: number, direction: SortDirection, isAbs: boolean, addToExisting: boolean): DhType.Sort[];
98
99
  /**
99
100
  * Sets the sort for the given column *and* removes any reverses
100
101
  * @param tableSort The current sorts from IrisGrid.state
@@ -103,7 +104,7 @@ export declare class TableUtils {
103
104
  * @param addToExisting Add this sort to the existing sort
104
105
  * @returns Returns the modified array of sorts - removing reverses
105
106
  */
106
- static setSortForColumn(tableSort: readonly Sort[], columnName: ColumnName, sort: Sort | null, addToExisting?: boolean): Sort[];
107
+ static setSortForColumn(tableSort: readonly DhType.Sort[], columnName: ColumnName, sort: DhType.Sort | null, addToExisting?: boolean): DhType.Sort[];
107
108
  static getNormalizedType(columnType?: string | null): DataType;
108
109
  static isLongType(columnType: string): boolean;
109
110
  static isDateType(columnType: string): boolean;
@@ -141,13 +142,13 @@ export declare class TableUtils {
141
142
  * @param value The value to use for the operation
142
143
  * @returns The condition with the specified operation
143
144
  */
144
- static makeRangeFilterWithOperation(filter: FilterValue, operation: string, value: FilterValue): FilterCondition | null;
145
+ static makeRangeFilterWithOperation(filter: DhType.FilterValue, operation: string, value: DhType.FilterValue): DhType.FilterCondition | null;
145
146
  /**
146
147
  * Wraps a table promise in a cancelable promise that will close the table if the promise is cancelled.
147
148
  * Use in a component that loads a table, and call cancel when unmounting.
148
149
  * @param table The table promise to wrap
149
150
  */
150
- static makeCancelableTablePromise(table: Promise<Table> | Table): CancelablePromise<Table>;
151
+ static makeCancelableTablePromise(table: Promise<DhType.Table> | DhType.Table): CancelablePromise<DhType.Table>;
151
152
  /**
152
153
  * Make a cancelable promise for a one-shot table event with a timeout.
153
154
  * @param table Table to listen for events on
@@ -156,21 +157,21 @@ export declare class TableUtils {
156
157
  * @param matcher Optional function to determine if the promise can be resolved or stays pending
157
158
  * @returns Resolves with the event data
158
159
  */
159
- static makeCancelableTableEventPromise(table: Table | TreeTable, eventName: string, timeout?: number, matcher?: ((event: CustomEvent) => boolean) | null): CancelablePromise<CustomEvent>;
160
+ static makeCancelableTableEventPromise(table: DhType.Table | DhType.TreeTable, eventName: string, timeout?: number, matcher?: ((event: CustomEvent) => boolean) | null): CancelablePromise<CustomEvent>;
160
161
  static removeCommas(value: string): string;
161
162
  static makeBooleanValue(text: string, allowEmpty?: boolean): boolean | null;
162
163
  static makeNumberValue(text: string): number | null;
163
164
  static getFilterOperatorString(operation: FilterTypeValue): string;
164
- static isPartitionedTable(table: unknown): table is PartitionedTable;
165
- static isTreeTable(table: unknown): table is TreeTable;
165
+ static isPartitionedTable(table: unknown): table is DhType.PartitionedTable;
166
+ static isTreeTable(table: unknown): table is DhType.TreeTable;
166
167
  /**
167
168
  * Copies the provided array, sorts by column name case insensitive, and returns the sorted array.
168
169
  * @param columns The columns to sort
169
170
  * @param isAscending Whether to sort ascending
170
171
  */
171
- static sortColumns(columns: readonly Column[], isAscending?: boolean): Column[];
172
- dh: DhType;
173
- constructor(dh: DhType);
172
+ static sortColumns(columns: readonly DhType.Column[], isAscending?: boolean): DhType.Column[];
173
+ dh: typeof DhType;
174
+ constructor(dh: typeof DhType);
174
175
  /**
175
176
  * Create a table containing a distinct list of values for given column name and
176
177
  * applies the given sort direction.
@@ -181,7 +182,7 @@ export declare class TableUtils {
181
182
  * will be applied before the `selectCall` in case we need to base the filtering
182
183
  * on columns other than the distinct value column
183
184
  */
184
- createDistinctSortedColumnTable(table: Table | null | undefined, columnName: string, sortDirection: 'asc' | 'desc', ...filterConditionFactories: FilterConditionFactory[]): Promise<Table | null>;
185
+ createDistinctSortedColumnTable(table: DhType.Table | null | undefined, columnName: string, sortDirection: 'asc' | 'desc', ...filterConditionFactories: FilterConditionFactory[]): Promise<DhType.Table | null>;
185
186
  /**
186
187
  * Check if any columns contain a given value.
187
188
  * @param table Table to search for values
@@ -189,7 +190,7 @@ export declare class TableUtils {
189
190
  * @param value Value to search for
190
191
  * @param isCaseSensitive Whether the value check is case sensitive
191
192
  */
192
- doesColumnValueExist(table: Table | null | undefined, columnNames: string | string[], value: string, isCaseSensitive: boolean): Promise<boolean | null>;
193
+ doesColumnValueExist(table: DhType.Table | null | undefined, columnNames: string | string[], value: string, isCaseSensitive: boolean): Promise<boolean | null>;
193
194
  /**
194
195
  * Create filter with the provided column and text. Handles multiple filters joined with && or ||
195
196
  * @param column The column to set the filter on
@@ -197,7 +198,7 @@ export declare class TableUtils {
197
198
  * @param timeZone The time zone to make this value in if it is a date type. E.g. America/New_York
198
199
  * @returns Returns the created filter, null if text could not be parsed
199
200
  */
200
- makeQuickFilter(column: Column, text: string, timeZone?: string): FilterCondition | null;
201
+ makeQuickFilter(column: DhType.Column, text: string, timeZone?: string): DhType.FilterCondition | null;
201
202
  /**
202
203
  * Create filter with the provided column and text of one component (no multiple conditions)
203
204
  * @param column The column to set the filter on
@@ -205,8 +206,8 @@ export declare class TableUtils {
205
206
  * @param timeZone The time zone to make this filter in if it is a date type. E.g. America/New_York
206
207
  * @returns Returns the created filter, null if text could not be parsed
207
208
  */
208
- makeQuickFilterFromComponent(column: Column, text: string, timeZone?: string): FilterCondition | null;
209
- makeQuickNumberFilter(column: Column, text: string): FilterCondition | null;
209
+ makeQuickFilterFromComponent(column: DhType.Column, text: string, timeZone?: string): DhType.FilterCondition | null;
210
+ makeQuickNumberFilter(column: DhType.Column, text: string): DhType.FilterCondition | null;
210
211
  /**
211
212
  * Given a text string from a table, escape quick filter operators in string with \
212
213
  * ex. =test returns \=test, null returns \null
@@ -221,15 +222,15 @@ export declare class TableUtils {
221
222
  * @returns escaped string
222
223
  */
223
224
  static unescapeQuickTextFilter(quickFilterText: string): string;
224
- makeQuickTextFilter(column: Column, text: string): FilterCondition | null;
225
- makeQuickBooleanFilter(column: Column, text: string | number): FilterCondition | null;
225
+ makeQuickTextFilter(column: DhType.Column, text: string): DhType.FilterCondition | null;
226
+ makeQuickBooleanFilter(column: DhType.Column, text: string | number): DhType.FilterCondition | null;
226
227
  /**
227
228
  * Builds a date filter parsed from the text string which may or may not include an operator.
228
229
  * @param column The column to build the filter from, with or without a leading operator.
229
230
  * @param text The date string text to parse.
230
231
  * @param timeZone The time zone to make this filter in if it is a date type. E.g. America/New_York
231
232
  */
232
- makeQuickDateFilter(column: Column, text: string, timeZone: string): FilterCondition;
233
+ makeQuickDateFilter(column: DhType.Column, text: string, timeZone: string): DhType.FilterCondition;
233
234
  /**
234
235
  * Builds a date filter parsed from the text string with the provided filter.
235
236
  * @param column The column to build the filter from.
@@ -237,10 +238,10 @@ export declare class TableUtils {
237
238
  * @param operation The filter operation to use.
238
239
  * @param timeZone The time zone to make this filter with. E.g. America/New_York
239
240
  */
240
- makeQuickDateFilterWithOperation(column: Column, text: string, operation: FilterTypeValue, timeZone: string): FilterCondition;
241
- makeQuickCharFilter(column: Column, text: string): FilterCondition | null;
242
- makeAdvancedFilter(column: Column, options: AdvancedFilterOptions, timeZone: string): FilterCondition | null;
243
- makeAdvancedValueFilter(column: Column, operation: FilterTypeValue, value: string, timeZone: string): FilterCondition | null;
241
+ makeQuickDateFilterWithOperation(column: DhType.Column, text: string, operation: FilterTypeValue, timeZone: string): DhType.FilterCondition;
242
+ makeQuickCharFilter(column: DhType.Column, text: string): DhType.FilterCondition | null;
243
+ makeAdvancedFilter(column: DhType.Column, options: AdvancedFilterOptions, timeZone: string): DhType.FilterCondition | null;
244
+ makeAdvancedValueFilter(column: DhType.Column, operation: FilterTypeValue, value: string, timeZone: string): DhType.FilterCondition | null;
244
245
  /**
245
246
  * Apply a filter to a table that won't match anything.
246
247
  * @table The table to apply the filter to
@@ -250,7 +251,7 @@ export declare class TableUtils {
250
251
  * @returns a Promise to the Table that resolves after the next
251
252
  * dh.Table.EVENT_FILTERCHANGED event
252
253
  */
253
- applyNeverFilter<T extends Table | TreeTable>(table: T | null | undefined, columnName: string, timeout?: number): Promise<T | null>;
254
+ applyNeverFilter<T extends DhType.Table | DhType.TreeTable>(table: T | null | undefined, columnName: string, timeout?: number): Promise<T | null>;
254
255
  /**
255
256
  * Apply custom columns to a given table. Return a Promise that resolves with
256
257
  * the table once the dh.Table.EVENT_CUSTOMCOLUMNSCHANGED event has fired.
@@ -259,7 +260,7 @@ export declare class TableUtils {
259
260
  * @returns A Promise that will be resolved with the given table after the
260
261
  * columns are applied.
261
262
  */
262
- applyCustomColumns(table: Table | null | undefined, columns: (string | CustomColumn)[], timeout?: number): Promise<Table | null>;
263
+ applyCustomColumns(table: DhType.Table | null | undefined, columns: (string | DhType.CustomColumn)[], timeout?: number): Promise<DhType.Table | null>;
263
264
  /**
264
265
  * Apply filters to a given table.
265
266
  * @param table Table to apply filters to
@@ -269,7 +270,7 @@ export declare class TableUtils {
269
270
  * @returns a Promise to the Table that resolves after the next
270
271
  * dh.Table.EVENT_FILTERCHANGED event
271
272
  */
272
- applyFilter<T extends Table | TreeTable>(table: T | null | undefined, filters: FilterCondition[], timeout?: number): Promise<T | null>;
273
+ applyFilter<T extends DhType.Table | DhType.TreeTable>(table: T | null | undefined, filters: DhType.FilterCondition[], timeout?: number): Promise<T | null>;
273
274
  /**
274
275
  * Apply sorts to a given Table.
275
276
  * @param table The table to apply sorts to
@@ -279,18 +280,18 @@ export declare class TableUtils {
279
280
  * @returns a Promise to the Table that resolves after the next
280
281
  * dh.Table.EVENT_SORTCHANGED event
281
282
  */
282
- applySort<T extends Table | TreeTable>(table: T | null | undefined, sorts: Sort[], timeout?: number): Promise<T | null>;
283
+ applySort<T extends DhType.Table | DhType.TreeTable>(table: T | null | undefined, sorts: DhType.Sort[], timeout?: number): Promise<T | null>;
283
284
  /**
284
285
  * Create a filter condition that results in zero results for a given column
285
286
  * @param column
286
287
  */
287
- makeNeverFilter(column: Column): FilterCondition;
288
+ makeNeverFilter(column: DhType.Column): DhType.FilterCondition;
288
289
  /**
289
290
  * @param columnType The column type to make the filter value from.
290
291
  * @param value The value to make the filter value from.
291
292
  * @returns The FilterValue item for this column/value combination
292
293
  */
293
- makeFilterValue(columnType: string, value: string): FilterValue;
294
+ makeFilterValue(columnType: string, value: string): DhType.FilterValue;
294
295
  /**
295
296
  * Takes a value and converts it to an `dh.FilterValue`
296
297
  *
@@ -298,14 +299,14 @@ export declare class TableUtils {
298
299
  * @param value The value to actually set
299
300
  * @returns The FilterValue item for this column/value combination
300
301
  */
301
- makeFilterRawValue(columnType: string, rawValue: unknown): FilterValue;
302
+ makeFilterRawValue(columnType: string, rawValue: unknown): DhType.FilterValue;
302
303
  /**
303
304
  * Converts a string value to a value appropriate for the column
304
305
  * @param columnType The column type to make the value for
305
306
  * @param text The string value to make a type for
306
307
  * @param timeZone The time zone to make this value in if it is a date type. E.g. America/New_York
307
308
  */
308
- makeValue(columnType: string, text: string, timeZone: string): string | number | boolean | LongWrapper | null;
309
+ makeValue(columnType: string, text: string, timeZone: string): string | number | boolean | DhType.LongWrapper | null;
309
310
  /**
310
311
  * Create a filter using the selected items
311
312
  * Has a flag for invertSelection as we start from a "Select All" state and a user just deselects items.
@@ -315,7 +316,7 @@ export declare class TableUtils {
315
316
  * @param invertSelection Invert the selection (eg. All items are selected, then you deselect items)
316
317
  * @returns Returns a `in` or `notIn` FilterCondition as necessary, or null if no filtering should be applied (everything selected)
317
318
  */
318
- makeSelectValueFilter<TInvert extends boolean>(column: Column, selectedValues: unknown[], invertSelection: TInvert): TInvert extends true ? FilterCondition | null : FilterCondition;
319
+ makeSelectValueFilter<TInvert extends boolean>(column: DhType.Column, selectedValues: unknown[], invertSelection: TInvert): TInvert extends true ? DhType.FilterCondition | null : DhType.FilterCondition;
319
320
  }
320
321
  export default TableUtils;
321
322
  //# sourceMappingURL=TableUtils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TableUtils.d.ts","sourceRoot":"","sources":["../src/TableUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,SAAS,IAAI,eAAe,EAC5B,aAAa,IAAI,mBAAmB,EACrC,MAAM,oBAAoB,CAAC;AAE5B,OAAO,KAAK,EACV,MAAM,EACN,YAAY,EACZ,EA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G;IACG,SAAS,CAAC,CAAC,SAAS,MAAM,CAAC,KAAK,GAAG,MAAM,CAAC,SAAS,EACvD,KAAK,EAAE,CAAC,GAAG,IAAI,GAAG,SAAS,EAC3B,KAAK,EAAE,MAAM,CAAC,IAAI,EAAE,EACpB,OAAO,SAA2C,GACjD,OAAO,CAAC,CAAC,GAAG,IAAI,CAAC;IAUpB;;;OAGG;IACH,eAAe,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,GAAG,MAAM,CAAC,eAAe;IAqB9D;;;;OAIG;IACH,eAAe,CAAC,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC,WAAW;IAiBtE;;;;;;OAMG;IACH,kBAAkB,CAChB,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,OAAO,GAChB,MAAM,CAAC,WAAW;IAkBrB;;;;;OAKG;IACH,SAAS,CACP,UAAU,EAAE,MAAM,EAClB,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,MAAM,GACf,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,CAAC,WAAW,GAAG,IAAI;IA2BxD;;;;;;;;OAQG;IACH,qBAAqB,CAAC,OAAO,SAAS,OAAO,EAC3C,MAAM,EAAE,MAAM,CAAC,MAAM,EACrB,cAAc,EAAE,OAAO,EAAE,EACzB,eAAe,EAAE,OAAO,GACvB,OAAO,SAAS,IAAI,GACnB,MAAM,CAAC,eAAe,GAAG,IAAI,GAC7B,MAAM,CAAC,eAAe;CA2D3B;AAED,eAAe,UAAU,CAAC"}
@@ -10,6 +10,10 @@ import DateUtils from "./DateUtils.js";
10
10
  import { createValueFilter } from "./FilterUtils.js";
11
11
  import { getSize } from "./ViewportDataUtils.js";
12
12
  var log = Log.module('TableUtils');
13
+ export function isSortDirection(value) {
14
+ return value === TableUtils.sortDirection.ascending || value === TableUtils.sortDirection.descending || value === TableUtils.sortDirection.reverse || value === TableUtils.sortDirection.none;
15
+ }
16
+
13
17
  /** Utility class to provide some functions for working with tables */
14
18
  export class TableUtils {
15
19
  // Regex looking for a negative or positive integer or decimal number