autoql-fe-utils 1.7.13 → 1.7.15
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.
- package/dist/index.d.mts +4209 -0
- package/dist/index.d.ts +7 -1
- package/dist/index.global.js +92 -5
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +94 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +93 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,4209 @@
|
|
|
1
|
+
import dayjs from 'dayjs'
|
|
2
|
+
export { default as dayjs } from 'dayjs'
|
|
3
|
+
import axios from 'axios'
|
|
4
|
+
|
|
5
|
+
declare const capitalizeFirstChar: (string: any) => any
|
|
6
|
+
declare const isNumber: (str: any) => boolean
|
|
7
|
+
declare const getTitleCase: (str: any) => any
|
|
8
|
+
declare function titlelizeString(str: any): any
|
|
9
|
+
|
|
10
|
+
declare enum PrecisionTypes {
|
|
11
|
+
DAY = 'DAY',
|
|
12
|
+
MONTH = 'MONTH',
|
|
13
|
+
YEAR = 'YEAR',
|
|
14
|
+
WEEK = 'WEEK',
|
|
15
|
+
QUARTER = 'QUARTER',
|
|
16
|
+
DATE_HOUR = 'DATE_HOUR',
|
|
17
|
+
DATE_MINUTE = 'DATE_MINUTE',
|
|
18
|
+
DATE_SECOND = 'DATE_SECOND',
|
|
19
|
+
HOUR = 'HOUR',
|
|
20
|
+
MINUTE = 'MINUTE',
|
|
21
|
+
SECOND = 'SECOND',
|
|
22
|
+
}
|
|
23
|
+
declare enum DateStringPrecisionTypes {
|
|
24
|
+
DOW = 'DOW',
|
|
25
|
+
MONTHONLY = 'MONTHONLY',
|
|
26
|
+
WEEKONLY = 'WEEKONLY',
|
|
27
|
+
QUARTERONLY = 'QUARTERONLY',
|
|
28
|
+
HOUR = 'HOUR',
|
|
29
|
+
MINUTE = 'MINUTE',
|
|
30
|
+
SECOND = 'SECOND',
|
|
31
|
+
}
|
|
32
|
+
declare enum AggTypes {
|
|
33
|
+
SUM = 'SUM',
|
|
34
|
+
AVG = 'AVG',
|
|
35
|
+
MIN = 'MIN',
|
|
36
|
+
MAX = 'MAX',
|
|
37
|
+
COUNT = 'COUNT',
|
|
38
|
+
COUNT_DISTINCT = 'COUNT_DISTINCT',
|
|
39
|
+
MEDIAN = 'MEDIAN',
|
|
40
|
+
STD_DEV = 'STD_DEV',
|
|
41
|
+
VARIANCE = 'VARIANCE',
|
|
42
|
+
}
|
|
43
|
+
declare enum ColumnTypes {
|
|
44
|
+
DOLLAR_AMT = 'DOLLAR_AMT',
|
|
45
|
+
QUANTITY = 'QUANTITY',
|
|
46
|
+
RATIO = 'RATIO',
|
|
47
|
+
PERCENT = 'PERCENT',
|
|
48
|
+
STRING = 'STRING',
|
|
49
|
+
DATE = 'DATE',
|
|
50
|
+
DATE_STRING = 'DATE_STRING',
|
|
51
|
+
}
|
|
52
|
+
declare enum DataExplorerTypes {
|
|
53
|
+
SUBJECT_TYPE = 'SUBJECT',
|
|
54
|
+
VL_TYPE = 'VL',
|
|
55
|
+
TEXT_TYPE = 'TEXT',
|
|
56
|
+
}
|
|
57
|
+
declare enum SampleQueryReplacementTypes {
|
|
58
|
+
SAMPLE_QUERY_TEXT_TYPE = 'TEXT',
|
|
59
|
+
SAMPLE_QUERY_VL_TYPE = 'VL',
|
|
60
|
+
SAMPLE_QUERY_TIME_TYPE = 'DUCKLING_TIME',
|
|
61
|
+
SAMPLE_QUERY_AMOUNT_TYPE = 'DUCKLING_AMOUNT',
|
|
62
|
+
}
|
|
63
|
+
declare enum DisplayTypes {
|
|
64
|
+
TABLE = 'table',
|
|
65
|
+
PIVOT_TABLE = 'pivot_table',
|
|
66
|
+
BAR = 'bar',
|
|
67
|
+
COLUMN = 'column',
|
|
68
|
+
LINE = 'line',
|
|
69
|
+
STACKED_COLUMN = 'stacked_column',
|
|
70
|
+
STACKED_BAR = 'stacked_bar',
|
|
71
|
+
STACKED_LINE = 'stacked_line',
|
|
72
|
+
BUBBLE = 'bubble',
|
|
73
|
+
HEATMAP = 'heatmap',
|
|
74
|
+
PIE = 'pie',
|
|
75
|
+
HISTOGRAM = 'histogram',
|
|
76
|
+
SCATTERPLOT = 'scatterplot',
|
|
77
|
+
COLUMN_LINE = 'column_line',
|
|
78
|
+
}
|
|
79
|
+
declare enum QueryErrorTypes {
|
|
80
|
+
UNAUTHENTICATED = 'Unauthenticated',
|
|
81
|
+
PARSE_ERROR = 'Parse error',
|
|
82
|
+
NO_QUERY_SUPPLIED = 'No query supplied',
|
|
83
|
+
NO_QUERY_ID_SUPPLIED = 'No query ID supplied',
|
|
84
|
+
}
|
|
85
|
+
declare enum Operators {
|
|
86
|
+
ADDITION = 'ADDITION',
|
|
87
|
+
MULTIPLICATION = 'MULTIPLICATION',
|
|
88
|
+
SUBTRACTION = 'SUBTRACTION',
|
|
89
|
+
DIVISION = 'DIVISION',
|
|
90
|
+
}
|
|
91
|
+
declare enum CustomColumnValues {
|
|
92
|
+
LEFT_BRACKET = 'LEFT_BRACKET',
|
|
93
|
+
RIGHT_BRACKET = 'RIGHT_BRACKET',
|
|
94
|
+
PERCENT_OF_TOTAL = 'PERCENT_OF_TOTAL',
|
|
95
|
+
RANK = 'RANK',
|
|
96
|
+
MOVING_AVG = 'MOVING_AVG',
|
|
97
|
+
CUMULATIVE_SUM = 'CUMULATIVE_SUM',
|
|
98
|
+
CUMULATIVE_PERCENT = 'CUMULATIVE_PERCENT',
|
|
99
|
+
CHANGE = 'CHANGE',
|
|
100
|
+
FUNCTION = 'FUNCTION',
|
|
101
|
+
}
|
|
102
|
+
declare enum CustomColumnTypes {
|
|
103
|
+
COLUMN = 'column',
|
|
104
|
+
NUMBER = 'number',
|
|
105
|
+
OPERATOR = 'operator',
|
|
106
|
+
CURRENCY = 'currency',
|
|
107
|
+
FUNCTION = 'function',
|
|
108
|
+
SUM = 'sum',
|
|
109
|
+
}
|
|
110
|
+
declare enum CustomColumnRowRangeTypes {
|
|
111
|
+
PRECEEDING = 'PRECEDING',
|
|
112
|
+
FOLLOWING = 'FOLLOWING',
|
|
113
|
+
}
|
|
114
|
+
declare enum GeneralErrorTypes {
|
|
115
|
+
UNAUTHORIZED = 'UNAUTHORIZED',
|
|
116
|
+
NO_PROJECT_ID_SUPPLIED = 'No project id supplied',
|
|
117
|
+
}
|
|
118
|
+
declare enum TranslationTypes {
|
|
119
|
+
INCLUDE = 'include',
|
|
120
|
+
EXCLUDE = 'exclude',
|
|
121
|
+
ONLY = 'only',
|
|
122
|
+
REVERSE_ONLY = 'reverse_only',
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
type ColumnTypeParams = {
|
|
126
|
+
type: string
|
|
127
|
+
description: string
|
|
128
|
+
continuous?: boolean
|
|
129
|
+
ordinal?: boolean
|
|
130
|
+
aggOptions?: string[]
|
|
131
|
+
aggregable?: boolean
|
|
132
|
+
isNumber?: boolean
|
|
133
|
+
icon?: string
|
|
134
|
+
unit?: string
|
|
135
|
+
supportedOperators?: string[]
|
|
136
|
+
}
|
|
137
|
+
declare class ColumnType {
|
|
138
|
+
type: string
|
|
139
|
+
description: string
|
|
140
|
+
continuous?: boolean
|
|
141
|
+
ordinal?: boolean
|
|
142
|
+
aggOptions?: string[]
|
|
143
|
+
aggregable?: boolean
|
|
144
|
+
isNumber?: boolean
|
|
145
|
+
icon?: string
|
|
146
|
+
unit?: string
|
|
147
|
+
supportedOperators?: string[]
|
|
148
|
+
constructor({
|
|
149
|
+
type,
|
|
150
|
+
description,
|
|
151
|
+
continuous,
|
|
152
|
+
ordinal,
|
|
153
|
+
aggOptions,
|
|
154
|
+
aggregable,
|
|
155
|
+
isNumber,
|
|
156
|
+
icon,
|
|
157
|
+
unit,
|
|
158
|
+
supportedOperators,
|
|
159
|
+
}: ColumnTypeParams)
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
declare class Column$1 {
|
|
163
|
+
type: ColumnTypes
|
|
164
|
+
isNumberType: boolean
|
|
165
|
+
isStringType: boolean
|
|
166
|
+
isDateType: boolean
|
|
167
|
+
drilldownGroupby: any
|
|
168
|
+
getTooltip: Function
|
|
169
|
+
constructor(options: Column)
|
|
170
|
+
}
|
|
171
|
+
interface Column$1 extends Column {}
|
|
172
|
+
|
|
173
|
+
declare class AggType {
|
|
174
|
+
type: string
|
|
175
|
+
displayName?: string
|
|
176
|
+
tooltip?: string
|
|
177
|
+
unit?: string
|
|
178
|
+
supportsStrings?: boolean
|
|
179
|
+
symbol?: string
|
|
180
|
+
fn?: Function
|
|
181
|
+
icon?: string
|
|
182
|
+
sqlFn?: Function
|
|
183
|
+
constructor({ type, displayName, tooltip, unit, icon, supportsStrings, symbol, sqlFn, fn }: AggTypeParams)
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
declare class DataExplorerSubject {
|
|
187
|
+
id: string
|
|
188
|
+
type: DataExplorerTypes
|
|
189
|
+
filters?: DataExplorerSubjectFilter[]
|
|
190
|
+
groups?: DataExplorerSubjectGroups[]
|
|
191
|
+
displayName: string
|
|
192
|
+
formattedType?: string
|
|
193
|
+
text?: string
|
|
194
|
+
query?: string
|
|
195
|
+
context?: string
|
|
196
|
+
valueLabel?: ValueLabelSuggestion
|
|
197
|
+
isSubject: Function
|
|
198
|
+
isValueLabel: Function
|
|
199
|
+
isPlainText: Function
|
|
200
|
+
isAggSeed: Function
|
|
201
|
+
constructor(obj: SubjectSuggestion | ValueLabelSuggestion)
|
|
202
|
+
}
|
|
203
|
+
interface DataExplorerSubject extends DataExplorerSubjectInterface {}
|
|
204
|
+
|
|
205
|
+
declare const TABLE_TYPES: DisplayTypes[]
|
|
206
|
+
declare const CHART_TYPES: DisplayTypes[]
|
|
207
|
+
declare const CHARTS_WITHOUT_LEGENDS: DisplayTypes[]
|
|
208
|
+
declare const CHARTS_WITHOUT_AGGREGATED_DATA: DisplayTypes[]
|
|
209
|
+
declare const DATE_ONLY_CHART_TYPES: DisplayTypes[]
|
|
210
|
+
declare const DOUBLE_AXIS_CHART_TYPES: DisplayTypes[]
|
|
211
|
+
declare const CHARTS_WITHOUT_AXES: DisplayTypes[]
|
|
212
|
+
declare const DEFAULT_CHART_CONFIG: {
|
|
213
|
+
isScaled: boolean
|
|
214
|
+
}
|
|
215
|
+
declare const MONTH_NAMES: string[]
|
|
216
|
+
declare const DEFAULT_DATA_PAGE_SIZE = 50000
|
|
217
|
+
declare const MAX_DATA_PAGE_SIZE = 50000
|
|
218
|
+
declare const MAX_CHART_ELEMENTS = 500
|
|
219
|
+
declare const WEEKDAY_NAMES_MON: string[]
|
|
220
|
+
declare const WEEKDAY_NAMES_SUN: string[]
|
|
221
|
+
declare const DOW_STYLES: string[]
|
|
222
|
+
declare const SEASON_NAMES: string[]
|
|
223
|
+
declare const DAYJS_PRECISION_FORMATS: {
|
|
224
|
+
DAY: string
|
|
225
|
+
MONTH: string
|
|
226
|
+
YEAR: string
|
|
227
|
+
DATE_HOUR: string
|
|
228
|
+
DATE_MINUTE: string
|
|
229
|
+
DATE_SECOND: string
|
|
230
|
+
}
|
|
231
|
+
declare const MAX_LEGEND_LABELS = 22
|
|
232
|
+
declare const MIN_HISTOGRAM_SAMPLE = 20
|
|
233
|
+
declare const DEFAULT_AGG_TYPE = AggTypes.SUM
|
|
234
|
+
declare const AGG_TYPES: {
|
|
235
|
+
SUM: AggType
|
|
236
|
+
AVG: AggType
|
|
237
|
+
MIN: AggType
|
|
238
|
+
MAX: AggType
|
|
239
|
+
COUNT: AggType
|
|
240
|
+
COUNT_DISTINCT: AggType
|
|
241
|
+
MEDIAN: AggType
|
|
242
|
+
STD_DEV: AggType
|
|
243
|
+
VARIANCE: AggType
|
|
244
|
+
}
|
|
245
|
+
declare const DISPLAY_TYPES: {
|
|
246
|
+
TABLE: {
|
|
247
|
+
type: DisplayTypes
|
|
248
|
+
isTableType: boolean
|
|
249
|
+
}
|
|
250
|
+
PIVOT_TABLE: {
|
|
251
|
+
type: DisplayTypes
|
|
252
|
+
isTableType: boolean
|
|
253
|
+
}
|
|
254
|
+
BAR: {
|
|
255
|
+
type: DisplayTypes
|
|
256
|
+
isChartType: boolean
|
|
257
|
+
allowLegend: boolean
|
|
258
|
+
allowAgg: boolean
|
|
259
|
+
hasAxes: boolean
|
|
260
|
+
datesOnly: boolean
|
|
261
|
+
multiAxis: boolean
|
|
262
|
+
}
|
|
263
|
+
COLUMN: {
|
|
264
|
+
type: DisplayTypes
|
|
265
|
+
isChartType: boolean
|
|
266
|
+
allowLegend: boolean
|
|
267
|
+
allowAgg: boolean
|
|
268
|
+
hasAxes: boolean
|
|
269
|
+
datesOnly: boolean
|
|
270
|
+
multiAxis: boolean
|
|
271
|
+
}
|
|
272
|
+
LINE: {
|
|
273
|
+
type: DisplayTypes
|
|
274
|
+
isChartType: boolean
|
|
275
|
+
allowLegend: boolean
|
|
276
|
+
allowAgg: boolean
|
|
277
|
+
hasAxes: boolean
|
|
278
|
+
datesOnly: boolean
|
|
279
|
+
multiAxis: boolean
|
|
280
|
+
}
|
|
281
|
+
STACKED_COLUMN: {
|
|
282
|
+
type: DisplayTypes
|
|
283
|
+
isChartType: boolean
|
|
284
|
+
allowLegend: boolean
|
|
285
|
+
allowAgg: boolean
|
|
286
|
+
hasAxes: boolean
|
|
287
|
+
dateOnly: boolean
|
|
288
|
+
multiAxis: boolean
|
|
289
|
+
}
|
|
290
|
+
STACKED_BAR: {
|
|
291
|
+
type: DisplayTypes
|
|
292
|
+
isChartType: boolean
|
|
293
|
+
allowLegend: boolean
|
|
294
|
+
allowAgg: boolean
|
|
295
|
+
hasAxes: boolean
|
|
296
|
+
dateOnly: boolean
|
|
297
|
+
multiAxis: boolean
|
|
298
|
+
}
|
|
299
|
+
STACKED_LINE: {
|
|
300
|
+
type: DisplayTypes
|
|
301
|
+
isChartType: boolean
|
|
302
|
+
allowLegend: boolean
|
|
303
|
+
allowAgg: boolean
|
|
304
|
+
hasAxes: boolean
|
|
305
|
+
dateOnly: boolean
|
|
306
|
+
multiAxis: boolean
|
|
307
|
+
}
|
|
308
|
+
BUBBLE: {
|
|
309
|
+
type: DisplayTypes
|
|
310
|
+
isChartType: boolean
|
|
311
|
+
allowLegend: boolean
|
|
312
|
+
allowAgg: boolean
|
|
313
|
+
hasAxes: boolean
|
|
314
|
+
dateOnly: boolean
|
|
315
|
+
multiAxis: boolean
|
|
316
|
+
}
|
|
317
|
+
HEATMAP: {
|
|
318
|
+
type: DisplayTypes
|
|
319
|
+
isChartType: boolean
|
|
320
|
+
allowLegend: boolean
|
|
321
|
+
allowAgg: boolean
|
|
322
|
+
hasAxes: boolean
|
|
323
|
+
dateOnly: boolean
|
|
324
|
+
multiAxis: boolean
|
|
325
|
+
}
|
|
326
|
+
PIE: {
|
|
327
|
+
type: DisplayTypes
|
|
328
|
+
isChartType: boolean
|
|
329
|
+
allowLegend: boolean
|
|
330
|
+
allowAgg: boolean
|
|
331
|
+
hasAxes: boolean
|
|
332
|
+
dateOnly: boolean
|
|
333
|
+
multiAxis: boolean
|
|
334
|
+
}
|
|
335
|
+
HISTOGRAM: {
|
|
336
|
+
type: DisplayTypes
|
|
337
|
+
isChartType: boolean
|
|
338
|
+
allowLegend: boolean
|
|
339
|
+
allowAgg: boolean
|
|
340
|
+
hasAxes: boolean
|
|
341
|
+
dateOnly: boolean
|
|
342
|
+
multiAxis: boolean
|
|
343
|
+
}
|
|
344
|
+
SCATTERPLOT: {
|
|
345
|
+
type: DisplayTypes
|
|
346
|
+
isChartType: boolean
|
|
347
|
+
allowLegend: boolean
|
|
348
|
+
allowAgg: boolean
|
|
349
|
+
hasAxes: boolean
|
|
350
|
+
dateOnly: boolean
|
|
351
|
+
multiAxis: boolean
|
|
352
|
+
}
|
|
353
|
+
COLUMN_LINE: {
|
|
354
|
+
type: DisplayTypes
|
|
355
|
+
isChartType: boolean
|
|
356
|
+
allowLegend: boolean
|
|
357
|
+
allowAgg: boolean
|
|
358
|
+
hasAxes: boolean
|
|
359
|
+
dateOnly: boolean
|
|
360
|
+
multiAxis: boolean
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
declare const getDayLocalStartDate: ({
|
|
365
|
+
timeObj,
|
|
366
|
+
timezone,
|
|
367
|
+
daysToAdd,
|
|
368
|
+
}: {
|
|
369
|
+
timeObj: any
|
|
370
|
+
timezone: any
|
|
371
|
+
daysToAdd?: number
|
|
372
|
+
}) => string
|
|
373
|
+
declare const getWeekLocalStartDate: ({
|
|
374
|
+
weekDay,
|
|
375
|
+
timeObj,
|
|
376
|
+
timezone,
|
|
377
|
+
}: {
|
|
378
|
+
weekDay: any
|
|
379
|
+
timeObj: any
|
|
380
|
+
timezone: any
|
|
381
|
+
}) => string
|
|
382
|
+
declare const getMonthLocalStartDate: ({
|
|
383
|
+
monthDay,
|
|
384
|
+
timeObj,
|
|
385
|
+
timezone,
|
|
386
|
+
}: {
|
|
387
|
+
monthDay: any
|
|
388
|
+
timeObj: any
|
|
389
|
+
timezone: any
|
|
390
|
+
}) => string
|
|
391
|
+
declare const CUSTOM_TYPE = 'CUSTOM'
|
|
392
|
+
declare const PROJECT_TYPE = 'PROJECT'
|
|
393
|
+
declare const PERIODIC_TYPE = 'PERIODIC'
|
|
394
|
+
declare const CONTINUOUS_TYPE = 'CONTINUOUS'
|
|
395
|
+
declare const SCHEDULED_TYPE = 'SCHEDULED'
|
|
396
|
+
declare const COMPARE_TYPE = 'COMPARE'
|
|
397
|
+
declare const EXISTS_TYPE = 'EXISTS'
|
|
398
|
+
declare const NUMBER_TERM_TYPE = 'CONSTANT'
|
|
399
|
+
declare const QUERY_TERM_TYPE = 'QUERY'
|
|
400
|
+
declare const GROUP_TERM_TYPE = 'GROUP'
|
|
401
|
+
declare const DEFAULT_EVALUATION_FREQUENCY = 5
|
|
402
|
+
declare const DATA_ALERT_STATUSES: {
|
|
403
|
+
ACTIVE: string
|
|
404
|
+
RETRY: string
|
|
405
|
+
WAITING: string
|
|
406
|
+
INACTIVE: string
|
|
407
|
+
UNRECOVERABLE: string
|
|
408
|
+
EVALUATION_ERROR: string
|
|
409
|
+
DATA_RETURN_ERROR: string
|
|
410
|
+
GENERAL_ERROR: string
|
|
411
|
+
}
|
|
412
|
+
declare const DATA_ALERT_ENABLED_STATUSES: string[]
|
|
413
|
+
declare const DATA_ALERT_OPERATORS: {
|
|
414
|
+
GREATER_THAN: {
|
|
415
|
+
displayName: string
|
|
416
|
+
symbol: string
|
|
417
|
+
conditionText: string
|
|
418
|
+
conditionTextPast: string
|
|
419
|
+
}
|
|
420
|
+
GREATER_THAN_EQUAL_TO: {
|
|
421
|
+
displayName: string
|
|
422
|
+
symbol: string
|
|
423
|
+
conditionText: string
|
|
424
|
+
conditionTextPast: string
|
|
425
|
+
}
|
|
426
|
+
LESS_THAN: {
|
|
427
|
+
displayName: string
|
|
428
|
+
symbol: string
|
|
429
|
+
conditionText: string
|
|
430
|
+
conditionTextPast: string
|
|
431
|
+
}
|
|
432
|
+
LESS_THAN_EQUAL_TO: {
|
|
433
|
+
displayName: string
|
|
434
|
+
symbol: string
|
|
435
|
+
conditionText: string
|
|
436
|
+
conditionTextPast: string
|
|
437
|
+
}
|
|
438
|
+
EQUAL_TO: {
|
|
439
|
+
displayName: string
|
|
440
|
+
symbol: string
|
|
441
|
+
conditionText: string
|
|
442
|
+
conditionTextPast: string
|
|
443
|
+
}
|
|
444
|
+
NOT_EQUAL_TO: {
|
|
445
|
+
displayName: string
|
|
446
|
+
symbol: string
|
|
447
|
+
conditionText: string
|
|
448
|
+
conditionTextPast: string
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
declare const DATA_ALERT_CONDITION_TYPES: {
|
|
452
|
+
COMPARE: {
|
|
453
|
+
displayName: string
|
|
454
|
+
}
|
|
455
|
+
EXISTS: {
|
|
456
|
+
displayName: string
|
|
457
|
+
}
|
|
458
|
+
}
|
|
459
|
+
declare const DATA_ALERT_FREQUENCY_TYPE_OPTIONS: {
|
|
460
|
+
SCHEDULED: {
|
|
461
|
+
label: string
|
|
462
|
+
listLabel: string
|
|
463
|
+
}
|
|
464
|
+
CONTINUOUS: {
|
|
465
|
+
label: string
|
|
466
|
+
listLabel: string
|
|
467
|
+
}
|
|
468
|
+
}
|
|
469
|
+
declare const SCHEDULE_INTERVAL_OPTIONS: {
|
|
470
|
+
DAY: {
|
|
471
|
+
displayName: string
|
|
472
|
+
getLocalStartDate: ({ timeObj, timezone, daysToAdd }: { timeObj: any; timezone: any; daysToAdd?: number }) => string
|
|
473
|
+
}
|
|
474
|
+
WEEK: {
|
|
475
|
+
displayName: string
|
|
476
|
+
getLocalStartDate: ({ weekDay, timeObj, timezone }: { weekDay: any; timeObj: any; timezone: any }) => string
|
|
477
|
+
}
|
|
478
|
+
MONTH: {
|
|
479
|
+
displayName: string
|
|
480
|
+
getLocalStartDate: ({ monthDay, timeObj, timezone }: { monthDay: any; timeObj: any; timezone: any }) => string
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
declare const SCHEDULE_FREQUENCY_OPTIONS: {
|
|
484
|
+
DAY: {
|
|
485
|
+
displayText: string
|
|
486
|
+
}
|
|
487
|
+
WEEK: {
|
|
488
|
+
displayText: string
|
|
489
|
+
}
|
|
490
|
+
MONTH: {
|
|
491
|
+
displayText: string
|
|
492
|
+
}
|
|
493
|
+
MONTH_LAST_DAY: {
|
|
494
|
+
displayText: string
|
|
495
|
+
}
|
|
496
|
+
YEAR: {
|
|
497
|
+
displayText: string
|
|
498
|
+
}
|
|
499
|
+
}
|
|
500
|
+
declare const RESET_PERIOD_OPTIONS: {
|
|
501
|
+
DAY: {
|
|
502
|
+
displayName: string
|
|
503
|
+
displayText: string
|
|
504
|
+
}
|
|
505
|
+
WEEK: {
|
|
506
|
+
displayName: string
|
|
507
|
+
displayText: string
|
|
508
|
+
}
|
|
509
|
+
MONTH: {
|
|
510
|
+
displayName: string
|
|
511
|
+
displayText: string
|
|
512
|
+
}
|
|
513
|
+
NONE: {
|
|
514
|
+
displayName: string
|
|
515
|
+
displayText: string
|
|
516
|
+
}
|
|
517
|
+
}
|
|
518
|
+
declare const MONTH_DAY_SELECT_OPTIONS: {
|
|
519
|
+
LAST: string
|
|
520
|
+
}
|
|
521
|
+
declare const EVALUATION_FREQUENCY_OPTIONS: {
|
|
522
|
+
1: {
|
|
523
|
+
value: number
|
|
524
|
+
label: string
|
|
525
|
+
}
|
|
526
|
+
2: {
|
|
527
|
+
value: number
|
|
528
|
+
label: string
|
|
529
|
+
}
|
|
530
|
+
3: {
|
|
531
|
+
value: number
|
|
532
|
+
label: string
|
|
533
|
+
}
|
|
534
|
+
5: {
|
|
535
|
+
value: number
|
|
536
|
+
label: string
|
|
537
|
+
listLabel: string
|
|
538
|
+
}
|
|
539
|
+
10: {
|
|
540
|
+
value: number
|
|
541
|
+
label: string
|
|
542
|
+
}
|
|
543
|
+
30: {
|
|
544
|
+
value: number
|
|
545
|
+
label: string
|
|
546
|
+
}
|
|
547
|
+
60: {
|
|
548
|
+
value: number
|
|
549
|
+
label: string
|
|
550
|
+
}
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
declare const COLUMN_TYPES: {
|
|
554
|
+
DOLLAR_AMT: ColumnType
|
|
555
|
+
QUANTITY: ColumnType
|
|
556
|
+
RATIO: ColumnType
|
|
557
|
+
PERCENT: ColumnType
|
|
558
|
+
STRING: ColumnType
|
|
559
|
+
DATE: ColumnType
|
|
560
|
+
DATE_STRING: ColumnType
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
declare const DEFAULT_SOURCE = 'widgets'
|
|
564
|
+
|
|
565
|
+
interface RawColumn {
|
|
566
|
+
type: ColumnTypes
|
|
567
|
+
precision?: string
|
|
568
|
+
dow_style?: string
|
|
569
|
+
groupable?: boolean
|
|
570
|
+
name?: string
|
|
571
|
+
display_name?: string
|
|
572
|
+
is_visible?: boolean
|
|
573
|
+
multi_series?: boolean
|
|
574
|
+
drill_down?: string
|
|
575
|
+
alt_name?: string
|
|
576
|
+
has_window_func?: boolean
|
|
577
|
+
}
|
|
578
|
+
interface Column extends RawColumn {
|
|
579
|
+
aggType?: string
|
|
580
|
+
title?: string
|
|
581
|
+
origColumn?: Column
|
|
582
|
+
origPivotColumn?: Column
|
|
583
|
+
origValues?: any
|
|
584
|
+
headerFilter?: boolean | string
|
|
585
|
+
headerSort?: boolean | string
|
|
586
|
+
frozen?: boolean
|
|
587
|
+
visible?: boolean
|
|
588
|
+
field?: string
|
|
589
|
+
index?: number
|
|
590
|
+
cssClass?: string
|
|
591
|
+
pivot?: boolean
|
|
592
|
+
formatter?: Function
|
|
593
|
+
drilldownGroupby?: any
|
|
594
|
+
additional?: boolean
|
|
595
|
+
custom?: boolean
|
|
596
|
+
id?: string
|
|
597
|
+
}
|
|
598
|
+
interface AvailableSelect {
|
|
599
|
+
table_column: string
|
|
600
|
+
column_type: string
|
|
601
|
+
display_name: string
|
|
602
|
+
}
|
|
603
|
+
interface AdditionalSelect {
|
|
604
|
+
insertion: string
|
|
605
|
+
columns: string[]
|
|
606
|
+
}
|
|
607
|
+
interface DisplayOverride {
|
|
608
|
+
english: string
|
|
609
|
+
table_column: string
|
|
610
|
+
}
|
|
611
|
+
interface FilterLock {
|
|
612
|
+
filter_type: string
|
|
613
|
+
key: string
|
|
614
|
+
value: string
|
|
615
|
+
show_message: string
|
|
616
|
+
}
|
|
617
|
+
interface FrontendReq {
|
|
618
|
+
additional_selects?: any[]
|
|
619
|
+
session_locked_conditions: Object
|
|
620
|
+
page_size: number
|
|
621
|
+
disambiguation: any[]
|
|
622
|
+
chart_images: string
|
|
623
|
+
orders: any[]
|
|
624
|
+
filters: any[]
|
|
625
|
+
translation: string
|
|
626
|
+
text: string
|
|
627
|
+
date_format: string
|
|
628
|
+
scope: string
|
|
629
|
+
source: string
|
|
630
|
+
test: boolean
|
|
631
|
+
session_filter_locks: any[]
|
|
632
|
+
v2_dates: number
|
|
633
|
+
persistent_filter_locks: FilterLock[]
|
|
634
|
+
columns?: Column[]
|
|
635
|
+
}
|
|
636
|
+
type Rows = Array<Array<string | number>>
|
|
637
|
+
type ParsedInterpretationChunk = {
|
|
638
|
+
eng: string
|
|
639
|
+
c_type?: string
|
|
640
|
+
for?: string
|
|
641
|
+
dateArray?: string[]
|
|
642
|
+
operator?: string
|
|
643
|
+
type?: string
|
|
644
|
+
causes_gen2?: string[]
|
|
645
|
+
causes?: string[]
|
|
646
|
+
clean_causes?: string[]
|
|
647
|
+
}
|
|
648
|
+
type ParsedInterpretation = ParsedInterpretationChunk[]
|
|
649
|
+
interface QueryData {
|
|
650
|
+
session_locked_conditions: any[]
|
|
651
|
+
count_rows: number
|
|
652
|
+
fe_req: FrontendReq
|
|
653
|
+
query_id: string
|
|
654
|
+
row_limit: number
|
|
655
|
+
rows: Rows
|
|
656
|
+
chart_images: null
|
|
657
|
+
display_type: string
|
|
658
|
+
columns: RawColumn[]
|
|
659
|
+
interpretation: string
|
|
660
|
+
text: string
|
|
661
|
+
parsed_interpretation: ParsedInterpretation
|
|
662
|
+
persistent_locked_conditions: any[]
|
|
663
|
+
condition_filter: any[]
|
|
664
|
+
sql: any[]
|
|
665
|
+
}
|
|
666
|
+
interface QueryResponse {
|
|
667
|
+
data: QueryData
|
|
668
|
+
message: string
|
|
669
|
+
reference_id: string
|
|
670
|
+
}
|
|
671
|
+
interface AxiosResponse {
|
|
672
|
+
data: QueryResponse
|
|
673
|
+
}
|
|
674
|
+
interface TransformedAxiosResponse {
|
|
675
|
+
data: TransformedQueryResponse
|
|
676
|
+
}
|
|
677
|
+
interface TransformedQueryResponse extends QueryResponse {
|
|
678
|
+
originalQueryID?: string
|
|
679
|
+
isDrilldown?: boolean
|
|
680
|
+
queryFn?: Function
|
|
681
|
+
}
|
|
682
|
+
interface DataFormatting {
|
|
683
|
+
currencyCode: string
|
|
684
|
+
languageCode: string
|
|
685
|
+
currencyDecimals: number
|
|
686
|
+
quantityDecimals: number
|
|
687
|
+
ratioDecimals: number
|
|
688
|
+
comparisonDisplay: string
|
|
689
|
+
monthYearFormat: string
|
|
690
|
+
dayMonthYearFormat: string
|
|
691
|
+
}
|
|
692
|
+
interface Scale {}
|
|
693
|
+
interface ValueLabel {
|
|
694
|
+
keyword: string
|
|
695
|
+
show_message: string
|
|
696
|
+
format_txt?: string
|
|
697
|
+
canonical?: string
|
|
698
|
+
column_name?: string
|
|
699
|
+
}
|
|
700
|
+
interface DataExplorerSuggestion {
|
|
701
|
+
name: string
|
|
702
|
+
alias_name: string
|
|
703
|
+
column_name: string
|
|
704
|
+
}
|
|
705
|
+
type AggTypeParams = {
|
|
706
|
+
type: string
|
|
707
|
+
displayName?: string
|
|
708
|
+
tooltip?: string
|
|
709
|
+
unit?: string
|
|
710
|
+
supportsStrings?: boolean
|
|
711
|
+
symbol?: string
|
|
712
|
+
fn?: Function
|
|
713
|
+
icon?: string
|
|
714
|
+
sqlFn?: Function
|
|
715
|
+
}
|
|
716
|
+
interface SubjectSuggestion {
|
|
717
|
+
name: string
|
|
718
|
+
display_name: string
|
|
719
|
+
query: string
|
|
720
|
+
filters: DataExplorerSubjectFilter[]
|
|
721
|
+
groups: DataExplorerSubjectGroups[]
|
|
722
|
+
}
|
|
723
|
+
interface ValueLabelSuggestion {
|
|
724
|
+
canonical: string
|
|
725
|
+
keyword: string
|
|
726
|
+
show_message: string
|
|
727
|
+
format_txt: string
|
|
728
|
+
}
|
|
729
|
+
interface DataExplorerSubjectInterface {
|
|
730
|
+
type: DataExplorerTypes
|
|
731
|
+
id: string
|
|
732
|
+
original_obj: SubjectSuggestion | ValueLabelSuggestion
|
|
733
|
+
}
|
|
734
|
+
type tableFilterParams = {
|
|
735
|
+
name: string
|
|
736
|
+
columnName: string
|
|
737
|
+
value: string | number
|
|
738
|
+
operator: string
|
|
739
|
+
displayValue?: string
|
|
740
|
+
id: string
|
|
741
|
+
}
|
|
742
|
+
type TableConfig = {
|
|
743
|
+
stringColumnIndex: number
|
|
744
|
+
numberColumnIndex: number
|
|
745
|
+
numberColumnIndex2: number
|
|
746
|
+
legendColumnIndex: number
|
|
747
|
+
stringColumnIndices: number[]
|
|
748
|
+
numberColumnIndices: number[]
|
|
749
|
+
numberColumnIndices2: number[]
|
|
750
|
+
}
|
|
751
|
+
type Authentication = {
|
|
752
|
+
domain: string
|
|
753
|
+
token: string
|
|
754
|
+
apiKey: string
|
|
755
|
+
}
|
|
756
|
+
type AutoQLJWT = {
|
|
757
|
+
sub: string
|
|
758
|
+
resource_access: string[]
|
|
759
|
+
iss: string
|
|
760
|
+
groups: string[]
|
|
761
|
+
display_name: string
|
|
762
|
+
aud: string
|
|
763
|
+
user_id: string
|
|
764
|
+
project_id: string
|
|
765
|
+
client_app: string
|
|
766
|
+
exp: number
|
|
767
|
+
iat: number
|
|
768
|
+
email: string
|
|
769
|
+
access_control_id: string[]
|
|
770
|
+
}
|
|
771
|
+
interface DataExplorerSubjectFilter {
|
|
772
|
+
column_type: string
|
|
773
|
+
display_name: string
|
|
774
|
+
table_column: string
|
|
775
|
+
token_string: string
|
|
776
|
+
}
|
|
777
|
+
interface DataExplorerSubjectGroups {
|
|
778
|
+
column_type: string
|
|
779
|
+
display_name: string
|
|
780
|
+
table_column: string
|
|
781
|
+
}
|
|
782
|
+
type ApiSorter = {
|
|
783
|
+
name: string
|
|
784
|
+
sort: 'ASC' | 'DESC'
|
|
785
|
+
id?: string
|
|
786
|
+
}
|
|
787
|
+
type TabulatorSorter = {
|
|
788
|
+
field: string
|
|
789
|
+
dir: 'asc' | 'desc'
|
|
790
|
+
}
|
|
791
|
+
type ApiFilter = {
|
|
792
|
+
name: string
|
|
793
|
+
value: string
|
|
794
|
+
operator: string
|
|
795
|
+
column_type?: string | null
|
|
796
|
+
}
|
|
797
|
+
type TabulatorFilter = {
|
|
798
|
+
field: string
|
|
799
|
+
type: 'function'
|
|
800
|
+
value: string
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
declare const DEFAULT_CSS_PREFIX = 'react-autoql'
|
|
804
|
+
declare const authenticationDefault: {
|
|
805
|
+
token: any
|
|
806
|
+
apiKey: any
|
|
807
|
+
domain: any
|
|
808
|
+
dprKey: any
|
|
809
|
+
dprDomain: any
|
|
810
|
+
}
|
|
811
|
+
declare const dataFormattingDefault: {
|
|
812
|
+
currencyCode: string
|
|
813
|
+
languageCode: string
|
|
814
|
+
currencyDecimals: number
|
|
815
|
+
quantityDecimals: number
|
|
816
|
+
ratioDecimals: number
|
|
817
|
+
comparisonDisplay: string
|
|
818
|
+
monthYearFormat: string
|
|
819
|
+
dayMonthYearFormat: string
|
|
820
|
+
}
|
|
821
|
+
declare const autoQLConfigDefault: {
|
|
822
|
+
translation: TranslationTypes
|
|
823
|
+
test: boolean
|
|
824
|
+
enableAutocomplete: boolean
|
|
825
|
+
enableQueryInterpretation: boolean
|
|
826
|
+
enableQueryValidation: boolean
|
|
827
|
+
enableQuerySuggestions: boolean
|
|
828
|
+
enableColumnVisibilityManager: boolean
|
|
829
|
+
enableDrilldowns: boolean
|
|
830
|
+
enableNotifications: boolean
|
|
831
|
+
enableCSVDownload: boolean
|
|
832
|
+
enableReportProblem: boolean
|
|
833
|
+
projectId: string
|
|
834
|
+
enableProjectSelect: boolean
|
|
835
|
+
enableEditReverseTranslation: boolean
|
|
836
|
+
}
|
|
837
|
+
declare const dataConfigDefault: {
|
|
838
|
+
stringColumnIndices: any[]
|
|
839
|
+
numberColumnIndices: any[]
|
|
840
|
+
stringColumnIndex: number
|
|
841
|
+
legendColumnIndex: any
|
|
842
|
+
numberColumnIndex: number
|
|
843
|
+
}
|
|
844
|
+
declare const getAuthentication: (prop?: {}) => {
|
|
845
|
+
token: any
|
|
846
|
+
apiKey: any
|
|
847
|
+
domain: any
|
|
848
|
+
dprKey: any
|
|
849
|
+
dprDomain: any
|
|
850
|
+
}
|
|
851
|
+
declare const getDataFormatting: (prop?: {}) => DataFormatting
|
|
852
|
+
declare const getAutoQLConfig: (prop?: {}) => {
|
|
853
|
+
translation: TranslationTypes
|
|
854
|
+
test: boolean
|
|
855
|
+
enableAutocomplete: boolean
|
|
856
|
+
enableQueryInterpretation: boolean
|
|
857
|
+
enableQueryValidation: boolean
|
|
858
|
+
enableQuerySuggestions: boolean
|
|
859
|
+
enableColumnVisibilityManager: boolean
|
|
860
|
+
enableDrilldowns: boolean
|
|
861
|
+
enableNotifications: boolean
|
|
862
|
+
enableCSVDownload: boolean
|
|
863
|
+
enableReportProblem: boolean
|
|
864
|
+
projectId: string
|
|
865
|
+
enableProjectSelect: boolean
|
|
866
|
+
enableEditReverseTranslation: boolean
|
|
867
|
+
}
|
|
868
|
+
declare const getDataConfig: (prop?: {}) => {
|
|
869
|
+
stringColumnIndices: any[]
|
|
870
|
+
numberColumnIndices: any[]
|
|
871
|
+
stringColumnIndex: number
|
|
872
|
+
legendColumnIndex: any
|
|
873
|
+
numberColumnIndex: number
|
|
874
|
+
}
|
|
875
|
+
|
|
876
|
+
declare const CHART_PADDING = 0
|
|
877
|
+
declare const BUTTON_PADDING = 5
|
|
878
|
+
declare const AXIS_TITLE_PADDING_TOP = 20
|
|
879
|
+
declare const AXIS_TITLE_PADDING_BOTTOM = 0
|
|
880
|
+
declare const AXIS_TITLE_BORDER_PADDING_LEFT = 5
|
|
881
|
+
declare const AXIS_TITLE_BORDER_PADDING_TOP = 3
|
|
882
|
+
declare const LOAD_MORE_DROPDOWN_PADDING_BOTTOM = 10
|
|
883
|
+
declare const MINIMUM_TITLE_LENGTH = 10
|
|
884
|
+
declare const MINIMUM_INNER_WIDTH = 50
|
|
885
|
+
declare const MINIMUM_INNER_HEIGHT = 50
|
|
886
|
+
declare const LABEL_FONT_SIZE = 10
|
|
887
|
+
declare const TITLE_FONT_SIZE = 12
|
|
888
|
+
declare const LEGEND_BORDER_PADDING = 15
|
|
889
|
+
declare const LEGEND_BORDER_THICKNESS = 1
|
|
890
|
+
declare const HORIZONTAL_LEGEND_SPACING = 20
|
|
891
|
+
declare const VERTICAL_LEGEND_SPACING = 25
|
|
892
|
+
declare const LEGEND_SHAPE_SIZE = 75
|
|
893
|
+
declare const LEGEND_TOP_ADJUSTMENT = 15
|
|
894
|
+
declare const DEFAULT_MAX_LEGEND_WIDTH = 140
|
|
895
|
+
declare const DEFAULT_LEGEND_PADDING_LEFT = 10
|
|
896
|
+
declare const DEFAULT_LEGEND_PADDING_RIGHT = 10
|
|
897
|
+
declare const DEFAULT_LEGEND_PADDING_TOP = 10
|
|
898
|
+
declare const DEFAULT_LEGEND_PADDING_BOTTOM = 10
|
|
899
|
+
declare const PATH_SMOOTHING = 0.2
|
|
900
|
+
declare const MAX_ROWS_FOR_PIE_CHART = 10
|
|
901
|
+
|
|
902
|
+
declare const constructRTArray: (interpretation: ParsedInterpretation) => ParsedInterpretationChunk[] | undefined
|
|
903
|
+
declare const getDatesFromRT: (queryResponse: AxiosResponse) => any
|
|
904
|
+
declare const getTimeRangeFromDateArray: (dates: any) => 'DAY' | 'MONTH' | 'WEEK'
|
|
905
|
+
declare const getTimeRangeFromRT: (queryResponse: any) => 'DAY' | 'MONTH' | 'WEEK'
|
|
906
|
+
declare const getTimeFrameTextFromChunk: (chunk: any) => string
|
|
907
|
+
|
|
908
|
+
declare const getStringFromSource: (source: string | number | Array<string>) => string | null
|
|
909
|
+
declare const mergeSources: (
|
|
910
|
+
source: string | number | Array<string>,
|
|
911
|
+
newSource: string | number | Array<string>,
|
|
912
|
+
) => string | null
|
|
913
|
+
|
|
914
|
+
interface DrilldownColumn {
|
|
915
|
+
name: string
|
|
916
|
+
value: string | number
|
|
917
|
+
drill_down?: string
|
|
918
|
+
operator?: string
|
|
919
|
+
}
|
|
920
|
+
declare const nameValueObject: (name: any, value: any, drill_down?: any, operator?: any) => DrilldownColumn
|
|
921
|
+
declare const getKeyByValue: (object: any, value: any) => string
|
|
922
|
+
declare const cloneObject: (from: any, to: any) => any
|
|
923
|
+
|
|
924
|
+
declare const roundToNearestMultiple: (value: any, multiple?: number) => number
|
|
925
|
+
declare const roundDownToNearestMultiple: (value: any, multiple?: number) => number
|
|
926
|
+
declare const roundUpToNearestMultiple: (value: any, multiple?: number) => number
|
|
927
|
+
declare const roundToNearestLog10: (number: any) => number
|
|
928
|
+
|
|
929
|
+
declare const currentEventLoopEnd: () => Promise<unknown>
|
|
930
|
+
declare const animateInputText: ({
|
|
931
|
+
text,
|
|
932
|
+
inputRef,
|
|
933
|
+
callback,
|
|
934
|
+
totalAnimationTime,
|
|
935
|
+
}: {
|
|
936
|
+
text?: string
|
|
937
|
+
inputRef: any
|
|
938
|
+
callback?: () => void
|
|
939
|
+
totalAnimationTime?: number
|
|
940
|
+
}) => Promise<void>
|
|
941
|
+
declare const handleTooltipBoundaryCollision: (e: any, self: any) => void
|
|
942
|
+
declare const removeFromDOM: (elem: any) => void
|
|
943
|
+
declare const setCaretPosition: (elem: any, caretPos: any) => void
|
|
944
|
+
declare const getPadding: (element: any) => {
|
|
945
|
+
left: number
|
|
946
|
+
right: number
|
|
947
|
+
top: number
|
|
948
|
+
bottom: number
|
|
949
|
+
}
|
|
950
|
+
declare const getQueryParams: (url: any) => {}
|
|
951
|
+
declare const getSVGBase64: (svgElement: any) => string
|
|
952
|
+
/**
|
|
953
|
+
* converts an svg string to base64 png using the domUrl
|
|
954
|
+
* @param {string} svgElement the svgElement
|
|
955
|
+
* @param {number} [margin=0] the width of the border - the image size will be height+margin by width+margin
|
|
956
|
+
* @param {string} [fill] optionally backgrund canvas fill
|
|
957
|
+
* @return {Promise} a promise to the bas64 png image
|
|
958
|
+
*/
|
|
959
|
+
declare const svgToPng: (svgElement: SVGElement, scale: number, CSS_PREFIX: string) => Promise<string>
|
|
960
|
+
declare const getBBoxFromRef: (ref: any) => any
|
|
961
|
+
|
|
962
|
+
interface getSupportedDisplayTypesParams {
|
|
963
|
+
response?: AxiosResponse
|
|
964
|
+
columns?: Column[]
|
|
965
|
+
dataLength?: number
|
|
966
|
+
pivotDataLength?: number
|
|
967
|
+
isDataLimited?: boolean
|
|
968
|
+
allowNumericStringColumns?: boolean
|
|
969
|
+
}
|
|
970
|
+
declare const isChartType: (type: any) => boolean
|
|
971
|
+
declare const isTableType: (type: any) => boolean
|
|
972
|
+
declare const isDisplayTypeValid: (
|
|
973
|
+
response: AxiosResponse,
|
|
974
|
+
displayType: string,
|
|
975
|
+
dataLength: number,
|
|
976
|
+
pivotDataLength: number,
|
|
977
|
+
columns: Column[],
|
|
978
|
+
isDataLimited: boolean,
|
|
979
|
+
) => boolean
|
|
980
|
+
declare const shouldPlotMultiSeries: (columns: any) => boolean
|
|
981
|
+
declare const supportsPieChart: (columns: any, chartData: any) => boolean
|
|
982
|
+
declare const getPotentialDisplayTypes: (response: AxiosResponse) => string[]
|
|
983
|
+
declare const potentiallySupportsPivot: (response: AxiosResponse) => boolean
|
|
984
|
+
declare const potentiallySupportsDatePivot: (response: any) => boolean
|
|
985
|
+
declare const usePivotDataForChart: (response: any) => boolean
|
|
986
|
+
declare const supportsRegularPivotTable: (columns: any, data?: any, dataLength?: any) => boolean
|
|
987
|
+
declare const supportsDatePivotTable: (columns: any) => boolean
|
|
988
|
+
declare const isSingleValueResponse: (response: any) => boolean
|
|
989
|
+
declare const getUniqueYearsForColumn: (data: any, columns: any, index: any) => any
|
|
990
|
+
declare const getSupportedDisplayTypes: ({
|
|
991
|
+
response,
|
|
992
|
+
columns,
|
|
993
|
+
dataLength,
|
|
994
|
+
pivotDataLength,
|
|
995
|
+
isDataLimited,
|
|
996
|
+
allowNumericStringColumns,
|
|
997
|
+
}?: getSupportedDisplayTypesParams) => string[]
|
|
998
|
+
declare const getFirstChartDisplayType: (supportedDisplayTypes: any, fallback: any) => any
|
|
999
|
+
declare const getDefaultDisplayType: (
|
|
1000
|
+
response?: AxiosResponse,
|
|
1001
|
+
defaultToChart?: boolean,
|
|
1002
|
+
columns?: Column[],
|
|
1003
|
+
dataLength?: number,
|
|
1004
|
+
pivotDataLength?: number,
|
|
1005
|
+
preferredDisplayType?: string,
|
|
1006
|
+
isDataLimited?: boolean,
|
|
1007
|
+
) => string
|
|
1008
|
+
declare const hasData: (response: any) => any
|
|
1009
|
+
declare const hasMoreData: (response: any, currentNumRows: any) => boolean
|
|
1010
|
+
declare const isDataLimited: (queryResponse: any, rows?: any) => boolean
|
|
1011
|
+
declare const isDrilldown: (queryResponse: any) => boolean
|
|
1012
|
+
|
|
1013
|
+
declare const getDateNoQuotes: (date: any) => any
|
|
1014
|
+
declare const isISODate: (str: any) => boolean
|
|
1015
|
+
declare const getDateRangeIntersection: (
|
|
1016
|
+
aRange: any,
|
|
1017
|
+
bRange: any,
|
|
1018
|
+
) => {
|
|
1019
|
+
startDate: any
|
|
1020
|
+
endDate: any
|
|
1021
|
+
}
|
|
1022
|
+
declare const getColumnNameForDateRange: (chunkEng: any) => any
|
|
1023
|
+
declare const getFilterPrecision: (col: Column) => PrecisionTypes.DAY | PrecisionTypes.MONTH | PrecisionTypes.YEAR
|
|
1024
|
+
declare const getPrecisionForDayJS: (
|
|
1025
|
+
colPrecision: any,
|
|
1026
|
+
) => 'second' | 'minute' | 'hour' | 'day' | 'month' | 'year' | 'quarter' | 'week'
|
|
1027
|
+
declare const getStartAndEndDateFromDateStrs: (
|
|
1028
|
+
dateRangeStrs: any,
|
|
1029
|
+
isStartDateUnbounded: any,
|
|
1030
|
+
isEndDateUnbounded: any,
|
|
1031
|
+
) => {
|
|
1032
|
+
startDate: Date
|
|
1033
|
+
endDate: Date
|
|
1034
|
+
}
|
|
1035
|
+
declare const getDateRangesFromInterpretation: (parsedInterpretation: any) => any
|
|
1036
|
+
declare const getColumnDateRanges: (response: any) => any
|
|
1037
|
+
declare const getEpochFromDate: (date: any, precision?: any, precisionFrame?: any) => any
|
|
1038
|
+
declare const getDayjsObjForStringType: (value: any, col: any) => dayjs.Dayjs
|
|
1039
|
+
declare const getDayJSObj: ({ value, column }: { value: number | string; column: Column }) => dayjs.Dayjs
|
|
1040
|
+
|
|
1041
|
+
declare const formatStringDateWithPrecision: (value: any, col: any) => any
|
|
1042
|
+
declare const formatStringDate: (value: any, config?: DataFormatting) => any
|
|
1043
|
+
declare const formatDateType: (element: any, column: Column, config?: DataFormatting) => any
|
|
1044
|
+
declare const formatDateStringType: (element: any, column: Column, config?: DataFormatting) => any
|
|
1045
|
+
declare const applyPrecisionToDate: (
|
|
1046
|
+
date: any,
|
|
1047
|
+
precision: any,
|
|
1048
|
+
dateDayJS: any,
|
|
1049
|
+
monthYearFormat: any,
|
|
1050
|
+
dayMonthYearFormat: any,
|
|
1051
|
+
) => any
|
|
1052
|
+
declare const formatISODateWithPrecision: (value: any, col: Column, config?: DataFormatting) => any
|
|
1053
|
+
declare const formatEpochDate: (value: any, col: Column, config?: DataFormatting) => any
|
|
1054
|
+
declare const dateStringSortFn: (a: any, b: any, col: Column) => number
|
|
1055
|
+
declare const numberSortFn: (a: any, b: any) => number
|
|
1056
|
+
declare const dateSortFn: (a: any, b: any, col: Column, isTable: any) => number
|
|
1057
|
+
declare const filterDataByColumn: (
|
|
1058
|
+
data: any,
|
|
1059
|
+
columns: any,
|
|
1060
|
+
columnIndex: any,
|
|
1061
|
+
value: any,
|
|
1062
|
+
operator?: string,
|
|
1063
|
+
dataFormatting?: {
|
|
1064
|
+
currencyCode: string
|
|
1065
|
+
languageCode: string
|
|
1066
|
+
currencyDecimals: number
|
|
1067
|
+
quantityDecimals: number
|
|
1068
|
+
ratioDecimals: number
|
|
1069
|
+
comparisonDisplay: string
|
|
1070
|
+
monthYearFormat: string
|
|
1071
|
+
dayMonthYearFormat: string
|
|
1072
|
+
},
|
|
1073
|
+
) => any
|
|
1074
|
+
declare const sortDataByColumn: (data: any, columns: any, columnIndex: any, sortDirection?: string) => any
|
|
1075
|
+
declare const sortDataByDate: (data: any, tableColumns: any, sortDirection: string, reverse: any) => any
|
|
1076
|
+
declare const sortDataByAlphabet: (data: any, tableColumns: any, sortDirection: string, isTable: any) => any
|
|
1077
|
+
interface formatElementParams {
|
|
1078
|
+
element: string | number
|
|
1079
|
+
column: Column
|
|
1080
|
+
config?: DataFormatting
|
|
1081
|
+
htmlElement?: HTMLElement
|
|
1082
|
+
isChart?: boolean
|
|
1083
|
+
}
|
|
1084
|
+
declare const formatElement: ({ element, column, config, htmlElement, isChart }: formatElementParams) => string | number
|
|
1085
|
+
declare const getNumberFormatConfig: (
|
|
1086
|
+
d: number | string,
|
|
1087
|
+
scale: any,
|
|
1088
|
+
) => {
|
|
1089
|
+
minimumFractionDigits: number
|
|
1090
|
+
maximumFractionDigits: number
|
|
1091
|
+
notation: any
|
|
1092
|
+
}
|
|
1093
|
+
declare const countDecimals: (number: any) => any
|
|
1094
|
+
declare const formatChartLabel: ({
|
|
1095
|
+
d,
|
|
1096
|
+
scale,
|
|
1097
|
+
column,
|
|
1098
|
+
dataFormatting,
|
|
1099
|
+
maxLabelWidth,
|
|
1100
|
+
sigDigits,
|
|
1101
|
+
}: {
|
|
1102
|
+
d: number | string
|
|
1103
|
+
scale?: any
|
|
1104
|
+
column?: Column
|
|
1105
|
+
dataFormatting?: DataFormatting
|
|
1106
|
+
maxLabelWidth?: number
|
|
1107
|
+
sigDigits?: number
|
|
1108
|
+
}) => {
|
|
1109
|
+
fullWidthLabel: string | number
|
|
1110
|
+
formattedLabel: string | number
|
|
1111
|
+
}
|
|
1112
|
+
declare const getCurrencySymbol: (dataFormatting?: {
|
|
1113
|
+
currencyCode: string
|
|
1114
|
+
languageCode: string
|
|
1115
|
+
currencyDecimals: number
|
|
1116
|
+
quantityDecimals: number
|
|
1117
|
+
ratioDecimals: number
|
|
1118
|
+
comparisonDisplay: string
|
|
1119
|
+
monthYearFormat: string
|
|
1120
|
+
dayMonthYearFormat: string
|
|
1121
|
+
}) => string
|
|
1122
|
+
|
|
1123
|
+
declare const getScheduleFrequencyObject: (dataAlert: any) => any
|
|
1124
|
+
declare const getSupportedConditionTypes: (expression: any, queryResponse: any) => string[]
|
|
1125
|
+
declare const showEvaluationFrequencySetting: (notificationType: any) => boolean
|
|
1126
|
+
declare const resetDateIsFuture: (dataAlert: any) => boolean
|
|
1127
|
+
declare const formatResetDate: (dataAlert: any, short: any) => string
|
|
1128
|
+
declare const formatNextScheduleDate: (schedules: any, short: any) => string
|
|
1129
|
+
declare const getTimeObjFromTimeStamp: (
|
|
1130
|
+
timestamp: any,
|
|
1131
|
+
timezone: any,
|
|
1132
|
+
) => {
|
|
1133
|
+
ampm: string
|
|
1134
|
+
value: string
|
|
1135
|
+
value24hr: string
|
|
1136
|
+
minute: number
|
|
1137
|
+
second: number
|
|
1138
|
+
hour24: number
|
|
1139
|
+
hour: number
|
|
1140
|
+
}
|
|
1141
|
+
declare const getWeekdayFromTimeStamp: (timestamp: any, timezone: any) => string
|
|
1142
|
+
declare const getDayOfTheMonthFromTimestamp: (timestamp: any, timezone: any) => number
|
|
1143
|
+
declare const getTodaysDayOfTheMonth: () => number
|
|
1144
|
+
declare const getDayOfTheMonthSuffix: (day: any) => 'st' | 'nd' | 'rd' | 'th'
|
|
1145
|
+
declare const getFormattedTimestamp: () => string
|
|
1146
|
+
|
|
1147
|
+
interface JoinColumnsResult {
|
|
1148
|
+
firstJoinColumns: string[]
|
|
1149
|
+
secondJoinColumns?: string[]
|
|
1150
|
+
firstJoinColumnsDisplayName: string[]
|
|
1151
|
+
secondJoinColumnsDisplayName?: string[]
|
|
1152
|
+
firstJoinColumnsIndices: number[]
|
|
1153
|
+
secondJoinColumnsIndices?: number[]
|
|
1154
|
+
}
|
|
1155
|
+
declare const isColumnNumberType: (col: any) => boolean
|
|
1156
|
+
declare const isColumnStringType: (col: any) => boolean
|
|
1157
|
+
declare const isColumnDateType: (col: any) => boolean
|
|
1158
|
+
declare const hasNumberColumn: (columns: any) => boolean
|
|
1159
|
+
declare const hasStringColumn: (columns: any) => boolean
|
|
1160
|
+
declare const hasDateColumn: (columns: any) => boolean
|
|
1161
|
+
declare const getVisibleColumns: (columns: any) => Column[]
|
|
1162
|
+
declare const getHiddenColumns: (columns: Column[]) => Column[]
|
|
1163
|
+
declare const areSomeColumnsHidden: (columns: Column[]) => boolean
|
|
1164
|
+
declare const areAllColumnsHidden: (columns: Column[]) => boolean
|
|
1165
|
+
declare const getGroupableColumns: (columns: any) => any
|
|
1166
|
+
declare const getGroupBys: (
|
|
1167
|
+
row: any,
|
|
1168
|
+
columns: any,
|
|
1169
|
+
) => {
|
|
1170
|
+
groupBys: any
|
|
1171
|
+
supportedByAPI: boolean
|
|
1172
|
+
}
|
|
1173
|
+
declare const getGroupBysFromTable: (cell: any, tableColumns: any) => any
|
|
1174
|
+
declare const getGroupBysFromPivotTable: ({
|
|
1175
|
+
cell,
|
|
1176
|
+
rowHeaders,
|
|
1177
|
+
columnHeaders,
|
|
1178
|
+
rowHeaderDefinition,
|
|
1179
|
+
columnHeaderDefinition,
|
|
1180
|
+
}: {
|
|
1181
|
+
cell: any
|
|
1182
|
+
rowHeaders: any
|
|
1183
|
+
columnHeaders: any
|
|
1184
|
+
rowHeaderDefinition: any
|
|
1185
|
+
columnHeaderDefinition: any
|
|
1186
|
+
}) => {
|
|
1187
|
+
name: any
|
|
1188
|
+
value: string
|
|
1189
|
+
operator: string
|
|
1190
|
+
drill_down: any
|
|
1191
|
+
}[]
|
|
1192
|
+
declare const isAggregation: (columns: any) => boolean
|
|
1193
|
+
declare const getColumnTypeAmounts: (columns: any) => {
|
|
1194
|
+
amountOfNumberColumns: number
|
|
1195
|
+
amountOfStringColumns: number
|
|
1196
|
+
}
|
|
1197
|
+
declare const getDateColumnIndex: (columns: any) => any
|
|
1198
|
+
declare const getNumberOfGroupables: (columns: any) => number
|
|
1199
|
+
declare const isListQuery: (columns: any) => boolean
|
|
1200
|
+
declare const setFilterFunction: ({
|
|
1201
|
+
column,
|
|
1202
|
+
dataFormatting,
|
|
1203
|
+
}: {
|
|
1204
|
+
column: Column
|
|
1205
|
+
dataFormatting: DataFormatting
|
|
1206
|
+
}) => (headerValue: any, rowValue: any) => boolean
|
|
1207
|
+
declare const setSorterFunction: (col: any) => ((a: any, b: any) => number) | 'alphanum'
|
|
1208
|
+
declare const setHeaderFilterPlaceholder: (col: any) => 'Pick range' | 'Filter'
|
|
1209
|
+
declare const getAggConfig: (columns: any) => {}
|
|
1210
|
+
declare const getDrilldownGroupby: (queryResponse: any, newCol: any) => any
|
|
1211
|
+
declare const formatQueryColumns: ({
|
|
1212
|
+
columns,
|
|
1213
|
+
aggConfig,
|
|
1214
|
+
queryResponse,
|
|
1215
|
+
onTableHeaderClick,
|
|
1216
|
+
enableTableSorting,
|
|
1217
|
+
dataFormatting,
|
|
1218
|
+
}: {
|
|
1219
|
+
columns: Column[]
|
|
1220
|
+
aggConfig?: Object
|
|
1221
|
+
queryResponse?: AxiosResponse
|
|
1222
|
+
onTableHeaderClick?: Function
|
|
1223
|
+
enableTableSorting?: boolean
|
|
1224
|
+
dataFormatting?: DataFormatting
|
|
1225
|
+
}) => Column[] | undefined
|
|
1226
|
+
declare const getStringColumnIndices: (
|
|
1227
|
+
columns: any,
|
|
1228
|
+
supportsPivot?: boolean,
|
|
1229
|
+
includeNumerics?: boolean,
|
|
1230
|
+
) =>
|
|
1231
|
+
| {
|
|
1232
|
+
stringColumnIndices: any
|
|
1233
|
+
stringColumnIndex: any
|
|
1234
|
+
legendColumnIndex?: undefined
|
|
1235
|
+
}
|
|
1236
|
+
| {
|
|
1237
|
+
stringColumnIndex: any
|
|
1238
|
+
stringColumnIndices: any
|
|
1239
|
+
legendColumnIndex: any
|
|
1240
|
+
}
|
|
1241
|
+
declare const getNumberColumnIndices: (
|
|
1242
|
+
columns: any,
|
|
1243
|
+
isPivot?: any,
|
|
1244
|
+
) => {
|
|
1245
|
+
numberColumnIndex: any
|
|
1246
|
+
numberColumnIndices: any
|
|
1247
|
+
numberColumnIndices2: any
|
|
1248
|
+
numberColumnIndex2: any
|
|
1249
|
+
currencyColumnIndices: any
|
|
1250
|
+
quantityColumnIndices: any
|
|
1251
|
+
ratioColumnIndices: any
|
|
1252
|
+
currencyColumnIndex: any
|
|
1253
|
+
quantityColumnIndex: any
|
|
1254
|
+
ratioColumnIndex: any
|
|
1255
|
+
countColumnIndex: any
|
|
1256
|
+
allNumberColumnIndices: any[]
|
|
1257
|
+
}
|
|
1258
|
+
declare const getMultiSeriesColumnIndex: (columns: any) => any
|
|
1259
|
+
declare const isColumnIndexValid: (index: any, columns: any) => boolean
|
|
1260
|
+
declare const isColumnIndicesValid: (indices: any, columns: any) => any
|
|
1261
|
+
declare const numberIndicesArraysOverlap: (columnIndexConfig: any) => any
|
|
1262
|
+
declare const hasColumnIndex: (indices: any, index: any) => boolean
|
|
1263
|
+
declare const getPivotColumnIndexConfig: ({
|
|
1264
|
+
pivotTableColumns,
|
|
1265
|
+
columnIndexConfig,
|
|
1266
|
+
isFirstGeneration,
|
|
1267
|
+
response,
|
|
1268
|
+
}: {
|
|
1269
|
+
pivotTableColumns: any
|
|
1270
|
+
columnIndexConfig: any
|
|
1271
|
+
isFirstGeneration: any
|
|
1272
|
+
response: any
|
|
1273
|
+
}) => any
|
|
1274
|
+
declare const getColumnIndexConfig: ({
|
|
1275
|
+
response,
|
|
1276
|
+
columns,
|
|
1277
|
+
currentTableConfig,
|
|
1278
|
+
allowNumericalOrdinalAxis,
|
|
1279
|
+
}?: {
|
|
1280
|
+
response?: AxiosResponse
|
|
1281
|
+
columns?: Column[]
|
|
1282
|
+
currentTableConfig?: TableConfig
|
|
1283
|
+
allowNumericalOrdinalAxis?: boolean
|
|
1284
|
+
}) => any
|
|
1285
|
+
declare const isColumnIndexConfigValid: ({
|
|
1286
|
+
response,
|
|
1287
|
+
columnIndexConfig,
|
|
1288
|
+
columns,
|
|
1289
|
+
displayType,
|
|
1290
|
+
}: {
|
|
1291
|
+
response: any
|
|
1292
|
+
columnIndexConfig: any
|
|
1293
|
+
columns: any
|
|
1294
|
+
displayType: any
|
|
1295
|
+
}) => boolean
|
|
1296
|
+
declare const getQuerySelectableJoinColumns: (columns: any) => any
|
|
1297
|
+
declare const getDefaultJoinColumnAndDisplayNameAndJoinColumnsIndices: (queryResponse: any) => {
|
|
1298
|
+
defaultJoinColumn: any[]
|
|
1299
|
+
defaultDisplayName: string
|
|
1300
|
+
defaultJoinColumnsIndices: any[]
|
|
1301
|
+
}
|
|
1302
|
+
declare const getDefaultJoinColumns: (firstQueryResult: any, secondQueryResult: any) => JoinColumnsResult
|
|
1303
|
+
|
|
1304
|
+
declare const functionsEqual: (a: Function, b: Function) => boolean
|
|
1305
|
+
declare const isObject: (obj: any) => boolean
|
|
1306
|
+
declare const deepEqual: (objA: Object, objB: Object) => boolean
|
|
1307
|
+
declare const difference: (objA: Object, objB: Object) => any[]
|
|
1308
|
+
declare const rotateArray: (array: any, n?: number) => any[]
|
|
1309
|
+
declare const onlyUnique: (value: any, index: any, self: any) => boolean
|
|
1310
|
+
declare const makeEmptyArray: (w: any, h: any, value?: string) => any[]
|
|
1311
|
+
declare const removeElementAtIndex: (array: any, index: any) => any
|
|
1312
|
+
|
|
1313
|
+
declare const aggregateOtherCategory: (data: any, columnIndexConfig: any, maxElements?: number) => any
|
|
1314
|
+
declare const aggregateData: ({
|
|
1315
|
+
data,
|
|
1316
|
+
aggColIndex,
|
|
1317
|
+
columns,
|
|
1318
|
+
numberIndices,
|
|
1319
|
+
dataFormatting,
|
|
1320
|
+
columnIndexConfig,
|
|
1321
|
+
maxElements,
|
|
1322
|
+
useBuckets,
|
|
1323
|
+
}: {
|
|
1324
|
+
data: any
|
|
1325
|
+
aggColIndex: any
|
|
1326
|
+
columns: any
|
|
1327
|
+
numberIndices: any
|
|
1328
|
+
dataFormatting: any
|
|
1329
|
+
columnIndexConfig: any
|
|
1330
|
+
maxElements: any
|
|
1331
|
+
useBuckets?: boolean
|
|
1332
|
+
}) => any
|
|
1333
|
+
type CreatePivotDataParams = {
|
|
1334
|
+
rows?: (string | number)[][]
|
|
1335
|
+
columns?: Column[]
|
|
1336
|
+
tableConfig?: TableConfig
|
|
1337
|
+
dataFormatting?: DataFormatting
|
|
1338
|
+
isFirstGeneration?: boolean
|
|
1339
|
+
}
|
|
1340
|
+
declare const generatePivotTableData: ({
|
|
1341
|
+
isFirstGeneration,
|
|
1342
|
+
rows,
|
|
1343
|
+
columns,
|
|
1344
|
+
tableConfig,
|
|
1345
|
+
dataFormatting,
|
|
1346
|
+
}?: CreatePivotDataParams) => {}
|
|
1347
|
+
declare const formatDatePivotYear: ({ dateValue, dateColumn }: { dateValue: any; dateColumn: any }) => string
|
|
1348
|
+
declare const formatDatePivotMonth: ({ dateValue, dateColumn }: { dateValue: any; dateColumn: any }) => string
|
|
1349
|
+
declare const generateDatePivotData: ({ rows, columns, tableConfig, dataFormatting }?: CreatePivotDataParams) => {}
|
|
1350
|
+
declare const generatePivotData: (params?: CreatePivotDataParams) => {}
|
|
1351
|
+
declare const generateFilterDrilldownResponse: ({
|
|
1352
|
+
response,
|
|
1353
|
+
rows,
|
|
1354
|
+
index,
|
|
1355
|
+
value,
|
|
1356
|
+
}: {
|
|
1357
|
+
response: any
|
|
1358
|
+
rows: any
|
|
1359
|
+
index: any
|
|
1360
|
+
value: any
|
|
1361
|
+
}) => any
|
|
1362
|
+
declare const uuidv4: () => string
|
|
1363
|
+
declare const parseJwt: (token: any) => AutoQLJWT
|
|
1364
|
+
|
|
1365
|
+
declare const formatTableParams: (
|
|
1366
|
+
params: any,
|
|
1367
|
+
columns: Column[],
|
|
1368
|
+
) => {
|
|
1369
|
+
sorters: any
|
|
1370
|
+
filters: tableFilterParams[]
|
|
1371
|
+
page: any
|
|
1372
|
+
}
|
|
1373
|
+
declare const formatSortersForAPI: (params: any, columns: Column[]) => any
|
|
1374
|
+
declare const formatNumberFilterValue: (headerValue?: string) => {
|
|
1375
|
+
value: string
|
|
1376
|
+
operator: string
|
|
1377
|
+
}
|
|
1378
|
+
declare const formatFiltersForAPI: (params: any, columns: Column[]) => tableFilterParams[]
|
|
1379
|
+
declare const formatSortersForTabulator: (apiSorters: ApiSorter[], columns: Column[]) => TabulatorSorter[]
|
|
1380
|
+
declare const formatFiltersForTabulator: (apiFilters: ApiFilter[], columns: Column[]) => TabulatorFilter[]
|
|
1381
|
+
declare const onTableCellClick: ({
|
|
1382
|
+
cell,
|
|
1383
|
+
columns,
|
|
1384
|
+
tableConfig,
|
|
1385
|
+
pivotData,
|
|
1386
|
+
}: {
|
|
1387
|
+
cell: any
|
|
1388
|
+
columns: any
|
|
1389
|
+
tableConfig: any
|
|
1390
|
+
pivotData: any
|
|
1391
|
+
}) => {
|
|
1392
|
+
groupBys: {}
|
|
1393
|
+
supportedByAPI: boolean
|
|
1394
|
+
}
|
|
1395
|
+
|
|
1396
|
+
declare const MAX_RECENT_SEARCHES = 3
|
|
1397
|
+
declare const getRecentSelectionID: (authentication: Authentication) => string
|
|
1398
|
+
declare const getRecentSearchesFromLocalStorage: (authentication: any) => any[]
|
|
1399
|
+
declare const setRecentSearchesInLocalStorage: (recentSearches: any, authentication: any) => void
|
|
1400
|
+
declare const addSubjectToRecentSearches: (subject: any, authentication: any) => void
|
|
1401
|
+
|
|
1402
|
+
declare const getSuggestionLists: (query: any, replacements: any) => any[]
|
|
1403
|
+
declare const getPlainTextList: (query: any, fullSuggestions: any) => any[]
|
|
1404
|
+
declare const isInitialSelectionValid: ({
|
|
1405
|
+
initialSelections,
|
|
1406
|
+
suggestionLists,
|
|
1407
|
+
}: {
|
|
1408
|
+
initialSelections: any
|
|
1409
|
+
suggestionLists: any
|
|
1410
|
+
}) => boolean
|
|
1411
|
+
declare const updateStartAndEndIndexes: ({
|
|
1412
|
+
selectedSuggestions,
|
|
1413
|
+
plainTextList,
|
|
1414
|
+
}: {
|
|
1415
|
+
selectedSuggestions: any
|
|
1416
|
+
plainTextList: any
|
|
1417
|
+
}) => any
|
|
1418
|
+
declare const getInitialSelections: ({
|
|
1419
|
+
suggestionLists,
|
|
1420
|
+
plainTextList,
|
|
1421
|
+
initialSelections,
|
|
1422
|
+
autoSelectSuggestion,
|
|
1423
|
+
}: {
|
|
1424
|
+
suggestionLists: any
|
|
1425
|
+
plainTextList: any
|
|
1426
|
+
initialSelections: any
|
|
1427
|
+
autoSelectSuggestion: any
|
|
1428
|
+
}) => any
|
|
1429
|
+
declare const initializeQueryValidationOptions: ({
|
|
1430
|
+
responseBody,
|
|
1431
|
+
initialSelections,
|
|
1432
|
+
autoSelectSuggestion,
|
|
1433
|
+
}: {
|
|
1434
|
+
responseBody: any
|
|
1435
|
+
initialSelections: any
|
|
1436
|
+
autoSelectSuggestion?: boolean
|
|
1437
|
+
}) => {
|
|
1438
|
+
selections: any
|
|
1439
|
+
plainTextList: any[]
|
|
1440
|
+
suggestionLists: any[]
|
|
1441
|
+
}
|
|
1442
|
+
declare const getQueryValidationQueryText: (newSelectedSuggestions: any, plainTextList: any) => string
|
|
1443
|
+
|
|
1444
|
+
declare const isError500Type: (referenceId: any) => boolean
|
|
1445
|
+
declare const getCurrentTimezone: () => any
|
|
1446
|
+
declare const fetchSuggestions: ({
|
|
1447
|
+
query,
|
|
1448
|
+
queryId,
|
|
1449
|
+
domain,
|
|
1450
|
+
apiKey,
|
|
1451
|
+
token,
|
|
1452
|
+
cancelToken,
|
|
1453
|
+
}?: {
|
|
1454
|
+
query?: string
|
|
1455
|
+
queryId?: string
|
|
1456
|
+
domain?: string
|
|
1457
|
+
apiKey?: string
|
|
1458
|
+
token?: string
|
|
1459
|
+
cancelToken?: any
|
|
1460
|
+
}) => Promise<axios.AxiosResponse<any, any>>
|
|
1461
|
+
declare const runQueryNewPage: ({
|
|
1462
|
+
queryId,
|
|
1463
|
+
domain,
|
|
1464
|
+
apiKey,
|
|
1465
|
+
token,
|
|
1466
|
+
page,
|
|
1467
|
+
cancelToken,
|
|
1468
|
+
}?: {
|
|
1469
|
+
queryId?: string
|
|
1470
|
+
domain?: string
|
|
1471
|
+
apiKey?: string
|
|
1472
|
+
token?: string
|
|
1473
|
+
page?: number
|
|
1474
|
+
cancelToken?: any
|
|
1475
|
+
}) => Promise<any>
|
|
1476
|
+
interface QueryParams {
|
|
1477
|
+
query?: string
|
|
1478
|
+
userSelection?: Object[]
|
|
1479
|
+
userSelectionFinal?: Object[]
|
|
1480
|
+
translation?: string
|
|
1481
|
+
test?: boolean
|
|
1482
|
+
domain?: string
|
|
1483
|
+
apiKey?: string
|
|
1484
|
+
token?: string
|
|
1485
|
+
source?: string
|
|
1486
|
+
filters?: Object[]
|
|
1487
|
+
orders?: Object[]
|
|
1488
|
+
tableFilters?: Object[]
|
|
1489
|
+
pageSize?: number
|
|
1490
|
+
allowSuggestions?: boolean
|
|
1491
|
+
cancelToken?: any
|
|
1492
|
+
scope?: string
|
|
1493
|
+
enableQueryValidation?: boolean
|
|
1494
|
+
skipQueryValidation?: boolean
|
|
1495
|
+
newColumns?: AdditionalSelect[]
|
|
1496
|
+
displayOverrides?: DisplayOverride[]
|
|
1497
|
+
}
|
|
1498
|
+
interface ColumnSelect {
|
|
1499
|
+
display_name: string
|
|
1500
|
+
column_type: string
|
|
1501
|
+
table_column: string
|
|
1502
|
+
}
|
|
1503
|
+
declare const runQueryOnly: ({
|
|
1504
|
+
query,
|
|
1505
|
+
userSelection,
|
|
1506
|
+
userSelectionFinal,
|
|
1507
|
+
translation,
|
|
1508
|
+
test,
|
|
1509
|
+
domain,
|
|
1510
|
+
apiKey,
|
|
1511
|
+
token,
|
|
1512
|
+
source,
|
|
1513
|
+
filters,
|
|
1514
|
+
orders,
|
|
1515
|
+
tableFilters,
|
|
1516
|
+
pageSize,
|
|
1517
|
+
allowSuggestions,
|
|
1518
|
+
cancelToken,
|
|
1519
|
+
scope,
|
|
1520
|
+
newColumns,
|
|
1521
|
+
displayOverrides,
|
|
1522
|
+
}: QueryParams) => Promise<TransformedAxiosResponse | axios.AxiosResponse<any, any>>
|
|
1523
|
+
declare const runQueryValidation: ({
|
|
1524
|
+
text,
|
|
1525
|
+
domain,
|
|
1526
|
+
apiKey,
|
|
1527
|
+
token,
|
|
1528
|
+
cancelToken,
|
|
1529
|
+
}?: {
|
|
1530
|
+
text?: string
|
|
1531
|
+
domain?: string
|
|
1532
|
+
apiKey?: string
|
|
1533
|
+
token?: string
|
|
1534
|
+
cancelToken?: any
|
|
1535
|
+
}) => Promise<axios.AxiosResponse<any, any>>
|
|
1536
|
+
declare const runQuery: ({
|
|
1537
|
+
query,
|
|
1538
|
+
userSelection,
|
|
1539
|
+
userSelectionFinal,
|
|
1540
|
+
translation,
|
|
1541
|
+
test,
|
|
1542
|
+
domain,
|
|
1543
|
+
apiKey,
|
|
1544
|
+
token,
|
|
1545
|
+
source,
|
|
1546
|
+
filters,
|
|
1547
|
+
orders,
|
|
1548
|
+
tableFilters,
|
|
1549
|
+
pageSize,
|
|
1550
|
+
allowSuggestions,
|
|
1551
|
+
cancelToken,
|
|
1552
|
+
enableQueryValidation,
|
|
1553
|
+
skipQueryValidation,
|
|
1554
|
+
scope,
|
|
1555
|
+
newColumns,
|
|
1556
|
+
displayOverrides,
|
|
1557
|
+
}?: QueryParams) => Promise<TransformedAxiosResponse | axios.AxiosResponse<any, any>>
|
|
1558
|
+
declare const exportCSV: ({
|
|
1559
|
+
queryId,
|
|
1560
|
+
domain,
|
|
1561
|
+
apiKey,
|
|
1562
|
+
token,
|
|
1563
|
+
csvProgressCallback,
|
|
1564
|
+
}?: {
|
|
1565
|
+
queryId?: string
|
|
1566
|
+
domain?: string
|
|
1567
|
+
apiKey?: string
|
|
1568
|
+
token?: string
|
|
1569
|
+
csvProgressCallback?: Function
|
|
1570
|
+
}) => Promise<axios.AxiosResponse<any, any>>
|
|
1571
|
+
declare const runDrilldown: ({
|
|
1572
|
+
queryID,
|
|
1573
|
+
groupBys,
|
|
1574
|
+
translation,
|
|
1575
|
+
test,
|
|
1576
|
+
domain,
|
|
1577
|
+
apiKey,
|
|
1578
|
+
token,
|
|
1579
|
+
orders,
|
|
1580
|
+
source,
|
|
1581
|
+
tableFilters,
|
|
1582
|
+
cancelToken,
|
|
1583
|
+
pageSize,
|
|
1584
|
+
newColumns,
|
|
1585
|
+
}?: {
|
|
1586
|
+
queryID?: string
|
|
1587
|
+
groupBys?: Object[]
|
|
1588
|
+
translation?: string
|
|
1589
|
+
test?: boolean
|
|
1590
|
+
domain?: string
|
|
1591
|
+
apiKey?: string
|
|
1592
|
+
token?: string
|
|
1593
|
+
orders?: Object[]
|
|
1594
|
+
source?: string
|
|
1595
|
+
tableFilters?: Object[]
|
|
1596
|
+
cancelToken?: any
|
|
1597
|
+
pageSize?: number
|
|
1598
|
+
newColumns?: AdditionalSelect[]
|
|
1599
|
+
}) => Promise<TransformedAxiosResponse>
|
|
1600
|
+
declare const fetchTopics: ({
|
|
1601
|
+
domain,
|
|
1602
|
+
token,
|
|
1603
|
+
apiKey,
|
|
1604
|
+
}?: {
|
|
1605
|
+
domain?: string
|
|
1606
|
+
apiKey?: string
|
|
1607
|
+
token?: string
|
|
1608
|
+
}) => Promise<axios.AxiosResponse<any, any>>
|
|
1609
|
+
declare const fetchAutocomplete: ({
|
|
1610
|
+
suggestion,
|
|
1611
|
+
domain,
|
|
1612
|
+
apiKey,
|
|
1613
|
+
token,
|
|
1614
|
+
}?: {
|
|
1615
|
+
suggestion?: string
|
|
1616
|
+
domain?: string
|
|
1617
|
+
apiKey?: string
|
|
1618
|
+
token?: string
|
|
1619
|
+
}) => Promise<axios.AxiosResponse<any, any>>
|
|
1620
|
+
declare const fetchVLAutocomplete: ({
|
|
1621
|
+
suggestion,
|
|
1622
|
+
domain,
|
|
1623
|
+
token,
|
|
1624
|
+
apiKey,
|
|
1625
|
+
context,
|
|
1626
|
+
filter,
|
|
1627
|
+
cancelToken,
|
|
1628
|
+
}?: {
|
|
1629
|
+
suggestion?: string
|
|
1630
|
+
domain?: string
|
|
1631
|
+
apiKey?: string
|
|
1632
|
+
token?: string
|
|
1633
|
+
context?: string
|
|
1634
|
+
filter?: string
|
|
1635
|
+
cancelToken?: any
|
|
1636
|
+
}) => Promise<axios.AxiosResponse<any, any>>
|
|
1637
|
+
declare const fetchFilters: ({
|
|
1638
|
+
apiKey,
|
|
1639
|
+
token,
|
|
1640
|
+
domain,
|
|
1641
|
+
}?: {
|
|
1642
|
+
domain?: string
|
|
1643
|
+
apiKey?: string
|
|
1644
|
+
token?: string
|
|
1645
|
+
}) => Promise<axios.AxiosResponse<any, any>>
|
|
1646
|
+
declare const setFilters: ({
|
|
1647
|
+
apiKey,
|
|
1648
|
+
token,
|
|
1649
|
+
domain,
|
|
1650
|
+
filters,
|
|
1651
|
+
}?: {
|
|
1652
|
+
domain?: string
|
|
1653
|
+
apiKey?: string
|
|
1654
|
+
token?: string
|
|
1655
|
+
filters?: Object[]
|
|
1656
|
+
}) => Promise<axios.AxiosResponse<any, any>>
|
|
1657
|
+
declare const unsetFilterFromAPI: ({
|
|
1658
|
+
apiKey,
|
|
1659
|
+
token,
|
|
1660
|
+
domain,
|
|
1661
|
+
filter,
|
|
1662
|
+
}?: {
|
|
1663
|
+
domain?: string
|
|
1664
|
+
apiKey?: string
|
|
1665
|
+
token?: string
|
|
1666
|
+
filter?: {
|
|
1667
|
+
id: string
|
|
1668
|
+
}
|
|
1669
|
+
}) => Promise<axios.AxiosResponse<any, any>>
|
|
1670
|
+
declare const setColumnVisibility: ({
|
|
1671
|
+
apiKey,
|
|
1672
|
+
token,
|
|
1673
|
+
domain,
|
|
1674
|
+
columns,
|
|
1675
|
+
}?: {
|
|
1676
|
+
domain?: string
|
|
1677
|
+
apiKey?: string
|
|
1678
|
+
token?: string
|
|
1679
|
+
columns?: any[]
|
|
1680
|
+
}) => Promise<axios.AxiosResponse<any, any>>
|
|
1681
|
+
declare const sendSuggestion: ({
|
|
1682
|
+
queryId,
|
|
1683
|
+
suggestion,
|
|
1684
|
+
apiKey,
|
|
1685
|
+
domain,
|
|
1686
|
+
token,
|
|
1687
|
+
}?: {
|
|
1688
|
+
queryId?: string
|
|
1689
|
+
suggestion?: boolean
|
|
1690
|
+
domain?: string
|
|
1691
|
+
apiKey?: string
|
|
1692
|
+
token?: string
|
|
1693
|
+
}) => Promise<axios.AxiosResponse<any, any>>
|
|
1694
|
+
declare const fetchExploreQueries: ({
|
|
1695
|
+
keywords,
|
|
1696
|
+
pageSize,
|
|
1697
|
+
pageNumber,
|
|
1698
|
+
domain,
|
|
1699
|
+
apiKey,
|
|
1700
|
+
token,
|
|
1701
|
+
skipQueryValidation,
|
|
1702
|
+
}?: {
|
|
1703
|
+
keywords?: string
|
|
1704
|
+
pageSize?: number
|
|
1705
|
+
pageNumber?: number
|
|
1706
|
+
domain?: string
|
|
1707
|
+
apiKey?: string
|
|
1708
|
+
token?: string
|
|
1709
|
+
skipQueryValidation?: boolean
|
|
1710
|
+
}) => Promise<axios.AxiosResponse<any, any>>
|
|
1711
|
+
declare const reportProblem: ({
|
|
1712
|
+
message,
|
|
1713
|
+
queryId,
|
|
1714
|
+
domain,
|
|
1715
|
+
apiKey,
|
|
1716
|
+
token,
|
|
1717
|
+
}?: {
|
|
1718
|
+
message?: string
|
|
1719
|
+
queryId?: string
|
|
1720
|
+
domain?: string
|
|
1721
|
+
apiKey?: string
|
|
1722
|
+
token?: string
|
|
1723
|
+
}) => Promise<axios.AxiosResponse<any, any>>
|
|
1724
|
+
|
|
1725
|
+
declare const formatAdditionalSelectColumn: (
|
|
1726
|
+
column: ColumnSelect,
|
|
1727
|
+
sqlFn?: Function,
|
|
1728
|
+
) => {
|
|
1729
|
+
insertion: string
|
|
1730
|
+
columns: string[]
|
|
1731
|
+
}
|
|
1732
|
+
|
|
1733
|
+
declare const GLOBAL_OPERATORS: string[]
|
|
1734
|
+
declare const FUNCTION_OPERATORS: string[]
|
|
1735
|
+
declare const HIGHLIGHTED_CLASS = 'highlighted-column'
|
|
1736
|
+
declare const DISABLED_CLASS = 'disabled-column'
|
|
1737
|
+
declare const FORMULA_CLASS = 'formula-column'
|
|
1738
|
+
declare const DEFAULT_COLUMN_NAME = 'New Column'
|
|
1739
|
+
declare const OPERATORS: {
|
|
1740
|
+
CONCAT: {
|
|
1741
|
+
value: string
|
|
1742
|
+
label: string
|
|
1743
|
+
js: string
|
|
1744
|
+
}
|
|
1745
|
+
ADDITION: {
|
|
1746
|
+
value: string
|
|
1747
|
+
icon: string
|
|
1748
|
+
fn: (a: any, b: any) => any
|
|
1749
|
+
js: string
|
|
1750
|
+
}
|
|
1751
|
+
SUBTRACTION: {
|
|
1752
|
+
value: string
|
|
1753
|
+
icon: string
|
|
1754
|
+
fn: (a: any, b: any) => number
|
|
1755
|
+
js: string
|
|
1756
|
+
}
|
|
1757
|
+
MULTIPLICATION: {
|
|
1758
|
+
value: string
|
|
1759
|
+
icon: string
|
|
1760
|
+
fn: (a: any, b: any) => number
|
|
1761
|
+
js: string
|
|
1762
|
+
}
|
|
1763
|
+
DIVISION: {
|
|
1764
|
+
value: string
|
|
1765
|
+
icon: string
|
|
1766
|
+
fn: (a: any, b: any) => number
|
|
1767
|
+
js: string
|
|
1768
|
+
}
|
|
1769
|
+
LEFT_BRACKET: {
|
|
1770
|
+
value: string
|
|
1771
|
+
label: string
|
|
1772
|
+
js: string
|
|
1773
|
+
}
|
|
1774
|
+
RIGHT_BRACKET: {
|
|
1775
|
+
value: string
|
|
1776
|
+
label: string
|
|
1777
|
+
js: string
|
|
1778
|
+
}
|
|
1779
|
+
PERCENT_OF_TOTAL: {
|
|
1780
|
+
value: string
|
|
1781
|
+
label: string
|
|
1782
|
+
js: any
|
|
1783
|
+
}
|
|
1784
|
+
RANK: {
|
|
1785
|
+
value: string
|
|
1786
|
+
label: string
|
|
1787
|
+
js: any
|
|
1788
|
+
}
|
|
1789
|
+
MOVING_AVG: {
|
|
1790
|
+
value: string
|
|
1791
|
+
label: string
|
|
1792
|
+
js: any
|
|
1793
|
+
}
|
|
1794
|
+
CUMULATIVE_SUM: {
|
|
1795
|
+
value: string
|
|
1796
|
+
label: string
|
|
1797
|
+
js: any
|
|
1798
|
+
}
|
|
1799
|
+
CUMULATIVE_PERCENT: {
|
|
1800
|
+
value: string
|
|
1801
|
+
label: string
|
|
1802
|
+
js: any
|
|
1803
|
+
}
|
|
1804
|
+
CHANGE: {
|
|
1805
|
+
value: string
|
|
1806
|
+
label: string
|
|
1807
|
+
js: any
|
|
1808
|
+
}
|
|
1809
|
+
FUNCTION: {
|
|
1810
|
+
value: string
|
|
1811
|
+
label: string
|
|
1812
|
+
js: any
|
|
1813
|
+
}
|
|
1814
|
+
}
|
|
1815
|
+
declare const getOperators: (enableWindowFns: any) => any
|
|
1816
|
+
declare const isOperatorJs: (op: string) => boolean
|
|
1817
|
+
declare const ORDERBY_DIRECTIONS: {
|
|
1818
|
+
value: string
|
|
1819
|
+
label: string
|
|
1820
|
+
}[]
|
|
1821
|
+
declare const ROWS_RANGE: {
|
|
1822
|
+
value: string
|
|
1823
|
+
label: string
|
|
1824
|
+
}[]
|
|
1825
|
+
declare const ROWS_RANGE_OPTIONS: (
|
|
1826
|
+
| {
|
|
1827
|
+
value: string
|
|
1828
|
+
label: string
|
|
1829
|
+
canPrecedeWith: string[]
|
|
1830
|
+
canFollowWith: string[]
|
|
1831
|
+
hasNValue: boolean
|
|
1832
|
+
canStartWith: boolean
|
|
1833
|
+
canEndWith: boolean
|
|
1834
|
+
canUseBefore?: undefined
|
|
1835
|
+
canUseAfter?: undefined
|
|
1836
|
+
}
|
|
1837
|
+
| {
|
|
1838
|
+
value: string
|
|
1839
|
+
label: string
|
|
1840
|
+
canUseBefore: any[]
|
|
1841
|
+
canUseAfter: string[]
|
|
1842
|
+
hasNValue: boolean
|
|
1843
|
+
canStartWith: boolean
|
|
1844
|
+
canEndWith: boolean
|
|
1845
|
+
canPrecedeWith?: undefined
|
|
1846
|
+
canFollowWith?: undefined
|
|
1847
|
+
}
|
|
1848
|
+
| {
|
|
1849
|
+
value: string
|
|
1850
|
+
label: string
|
|
1851
|
+
canUseBefore: string[]
|
|
1852
|
+
canUseAfter: any[]
|
|
1853
|
+
hasNValue: boolean
|
|
1854
|
+
canStartWith: boolean
|
|
1855
|
+
canEndWith: boolean
|
|
1856
|
+
canPrecedeWith?: undefined
|
|
1857
|
+
canFollowWith?: undefined
|
|
1858
|
+
}
|
|
1859
|
+
)[]
|
|
1860
|
+
declare const WINDOW_FUNCTIONS: {
|
|
1861
|
+
AVG: {
|
|
1862
|
+
value: string
|
|
1863
|
+
label: string
|
|
1864
|
+
nextSelector: string
|
|
1865
|
+
orderable: boolean
|
|
1866
|
+
requiredCols: string[]
|
|
1867
|
+
rowsOrRange: boolean
|
|
1868
|
+
}
|
|
1869
|
+
COUNT: {
|
|
1870
|
+
value: string
|
|
1871
|
+
label: string
|
|
1872
|
+
nextSelector: string
|
|
1873
|
+
orderable: boolean
|
|
1874
|
+
requiredCols: string[]
|
|
1875
|
+
rowsOrRange: boolean
|
|
1876
|
+
}
|
|
1877
|
+
CUME_DIST: {
|
|
1878
|
+
value: string
|
|
1879
|
+
label: string
|
|
1880
|
+
nextSelector: any
|
|
1881
|
+
orderable: boolean
|
|
1882
|
+
requiredCols: string[]
|
|
1883
|
+
rowsOrRange: boolean
|
|
1884
|
+
}
|
|
1885
|
+
DENSE_RANK: {
|
|
1886
|
+
value: string
|
|
1887
|
+
label: string
|
|
1888
|
+
nextSelector: any
|
|
1889
|
+
orderable: boolean
|
|
1890
|
+
requiredCols: string[]
|
|
1891
|
+
rowsOrRange: boolean
|
|
1892
|
+
}
|
|
1893
|
+
FIRST_VALUE: {
|
|
1894
|
+
value: string
|
|
1895
|
+
label: string
|
|
1896
|
+
nextSelector: string
|
|
1897
|
+
orderable: boolean
|
|
1898
|
+
requiredCols: string[]
|
|
1899
|
+
rowsOrRange: boolean
|
|
1900
|
+
}
|
|
1901
|
+
LAG: {
|
|
1902
|
+
value: string
|
|
1903
|
+
label: string
|
|
1904
|
+
nextSelector: string
|
|
1905
|
+
orderable: boolean
|
|
1906
|
+
requiredCols: string[]
|
|
1907
|
+
rowsOrRange: boolean
|
|
1908
|
+
}
|
|
1909
|
+
LAST_VALUE: {
|
|
1910
|
+
value: string
|
|
1911
|
+
label: string
|
|
1912
|
+
nextSelector: string
|
|
1913
|
+
orderable: boolean
|
|
1914
|
+
requiredCols: string[]
|
|
1915
|
+
rowsOrRange: boolean
|
|
1916
|
+
}
|
|
1917
|
+
LEAD: {
|
|
1918
|
+
value: string
|
|
1919
|
+
label: string
|
|
1920
|
+
nextSelector: string
|
|
1921
|
+
orderable: boolean
|
|
1922
|
+
requiredCols: string[]
|
|
1923
|
+
rowsOrRange: boolean
|
|
1924
|
+
}
|
|
1925
|
+
MAX: {
|
|
1926
|
+
value: string
|
|
1927
|
+
label: string
|
|
1928
|
+
nextSelector: string
|
|
1929
|
+
orderable: boolean
|
|
1930
|
+
requiredCols: string[]
|
|
1931
|
+
rowsOrRange: boolean
|
|
1932
|
+
}
|
|
1933
|
+
MIN: {
|
|
1934
|
+
value: string
|
|
1935
|
+
label: string
|
|
1936
|
+
nextSelector: string
|
|
1937
|
+
orderable: boolean
|
|
1938
|
+
requiredCols: string[]
|
|
1939
|
+
rowsOrRange: boolean
|
|
1940
|
+
}
|
|
1941
|
+
NTILE: {
|
|
1942
|
+
value: string
|
|
1943
|
+
label: string
|
|
1944
|
+
nextSelector: string
|
|
1945
|
+
orderable: boolean
|
|
1946
|
+
requiredCols: string[]
|
|
1947
|
+
rowsOrRange: boolean
|
|
1948
|
+
}
|
|
1949
|
+
PERCENT_RANK: {
|
|
1950
|
+
value: string
|
|
1951
|
+
label: string
|
|
1952
|
+
nextSelector: any
|
|
1953
|
+
orderable: boolean
|
|
1954
|
+
requiredCols: string[]
|
|
1955
|
+
rowsOrRange: boolean
|
|
1956
|
+
}
|
|
1957
|
+
RANK: {
|
|
1958
|
+
value: string
|
|
1959
|
+
label: string
|
|
1960
|
+
nextSelector: any
|
|
1961
|
+
orderable: boolean
|
|
1962
|
+
requiredCols: string[]
|
|
1963
|
+
rowsOrRange: boolean
|
|
1964
|
+
}
|
|
1965
|
+
ROW_NUMBER: {
|
|
1966
|
+
value: string
|
|
1967
|
+
label: string
|
|
1968
|
+
nextSelector: any
|
|
1969
|
+
orderable: boolean
|
|
1970
|
+
requiredCols: string[]
|
|
1971
|
+
rowsOrRange: boolean
|
|
1972
|
+
}
|
|
1973
|
+
SUM: {
|
|
1974
|
+
value: string
|
|
1975
|
+
label: string
|
|
1976
|
+
nextSelector: string
|
|
1977
|
+
orderable: boolean
|
|
1978
|
+
requiredCols: string[]
|
|
1979
|
+
rowsOrRange: boolean
|
|
1980
|
+
}
|
|
1981
|
+
}
|
|
1982
|
+
declare const isValueEmpty: (value: any) => boolean
|
|
1983
|
+
declare const convertToFunctionStr: (origColumnFnArray: any) =>
|
|
1984
|
+
| {
|
|
1985
|
+
fn: Function
|
|
1986
|
+
error?: undefined
|
|
1987
|
+
}
|
|
1988
|
+
| {
|
|
1989
|
+
error: any
|
|
1990
|
+
fn?: undefined
|
|
1991
|
+
}
|
|
1992
|
+
declare const createMutatorFn: (columnFnArray: any) =>
|
|
1993
|
+
| {
|
|
1994
|
+
fn: Function
|
|
1995
|
+
error?: undefined
|
|
1996
|
+
}
|
|
1997
|
+
| {
|
|
1998
|
+
error: any
|
|
1999
|
+
fn?: undefined
|
|
2000
|
+
}
|
|
2001
|
+
| ((val: any, data: any, type: any, params: any, component: any) => any)
|
|
2002
|
+
declare const getFnSummary: (columnFnArray: any) => string
|
|
2003
|
+
declare const getSelectableColumns: (columns: any) => Column[]
|
|
2004
|
+
declare const getNumericalColumns: (columns: any) => Column[]
|
|
2005
|
+
declare const getStringColumns: (columns: any) => Column[]
|
|
2006
|
+
declare const getDateColumns: (columns: any) => Column[]
|
|
2007
|
+
declare const getCleanColumnName: (colName: string) => string
|
|
2008
|
+
declare const buildPlainColumnArrayFn: (columnName: string) => string[]
|
|
2009
|
+
|
|
2010
|
+
declare const dataStructureChanged: (props: any, prevProps: any) => boolean
|
|
2011
|
+
declare const onlySeriesVisibilityChanged: (props: any, prevProps: any) => boolean
|
|
2012
|
+
declare const scaleZero: (scale: any) => any
|
|
2013
|
+
declare const getKey: (rowIndex: any, cellIndex: any, extraIndex?: number) => string
|
|
2014
|
+
declare const shouldLabelsRotate: (axisElement: any) => boolean
|
|
2015
|
+
declare const transformLabels: (
|
|
2016
|
+
orient: string,
|
|
2017
|
+
axisElement: any,
|
|
2018
|
+
innerHeight: number,
|
|
2019
|
+
rotateLabels?: boolean,
|
|
2020
|
+
) => boolean
|
|
2021
|
+
declare const getDrilldownData: ({
|
|
2022
|
+
pivotOriginalColumnData,
|
|
2023
|
+
row,
|
|
2024
|
+
columns,
|
|
2025
|
+
colIndex,
|
|
2026
|
+
legendColumn,
|
|
2027
|
+
columnIndexConfig,
|
|
2028
|
+
activeKey,
|
|
2029
|
+
}: {
|
|
2030
|
+
pivotOriginalColumnData?: {}
|
|
2031
|
+
row: any
|
|
2032
|
+
columns: any
|
|
2033
|
+
colIndex: any
|
|
2034
|
+
legendColumn: any
|
|
2035
|
+
columnIndexConfig: any
|
|
2036
|
+
activeKey: any
|
|
2037
|
+
}) => {
|
|
2038
|
+
groupBys: any
|
|
2039
|
+
supportedByAPI: boolean
|
|
2040
|
+
row: any
|
|
2041
|
+
activeKey: any
|
|
2042
|
+
stringColumnIndex: any
|
|
2043
|
+
column: any
|
|
2044
|
+
}
|
|
2045
|
+
declare const getTooltipContent: ({
|
|
2046
|
+
row,
|
|
2047
|
+
columns,
|
|
2048
|
+
colIndex,
|
|
2049
|
+
colIndex2,
|
|
2050
|
+
legendColumn,
|
|
2051
|
+
dataFormatting,
|
|
2052
|
+
aggregated,
|
|
2053
|
+
}: {
|
|
2054
|
+
row: any
|
|
2055
|
+
columns: any
|
|
2056
|
+
colIndex: any
|
|
2057
|
+
colIndex2: any
|
|
2058
|
+
legendColumn: any
|
|
2059
|
+
dataFormatting: any
|
|
2060
|
+
aggregated?: boolean
|
|
2061
|
+
}) => any
|
|
2062
|
+
declare const getFilterDrilldown: ({
|
|
2063
|
+
stringColumnIndex,
|
|
2064
|
+
row,
|
|
2065
|
+
json,
|
|
2066
|
+
}: {
|
|
2067
|
+
stringColumnIndex: any
|
|
2068
|
+
row: any
|
|
2069
|
+
json: any
|
|
2070
|
+
}) => any
|
|
2071
|
+
declare const constructFilter: ({ column, value }: { column: any; value: any }) => {
|
|
2072
|
+
name: any
|
|
2073
|
+
operator: string
|
|
2074
|
+
value: any
|
|
2075
|
+
column_type: any
|
|
2076
|
+
}
|
|
2077
|
+
declare const getCombinedFilters: (newFilter: any, response: any, formattedTableParams: any) => any[]
|
|
2078
|
+
declare const getLegendLabelsForGroupbyQuery: () => {
|
|
2079
|
+
labels: any[]
|
|
2080
|
+
labels2: any[]
|
|
2081
|
+
}
|
|
2082
|
+
declare const getLegendLabelsForSingleColumn: ({
|
|
2083
|
+
data,
|
|
2084
|
+
columns,
|
|
2085
|
+
colorScale,
|
|
2086
|
+
columnIndexConfig,
|
|
2087
|
+
dataFormatting,
|
|
2088
|
+
}: {
|
|
2089
|
+
data: any
|
|
2090
|
+
columns: any
|
|
2091
|
+
colorScale: any
|
|
2092
|
+
columnIndexConfig: any
|
|
2093
|
+
dataFormatting: any
|
|
2094
|
+
}) => any
|
|
2095
|
+
declare const getLegendLabelsForMultiSeries: (columns: any, colorScale: any, numberColumnIndices?: any) => any
|
|
2096
|
+
declare const getLegendLabels: ({
|
|
2097
|
+
isDataAggregated,
|
|
2098
|
+
columns,
|
|
2099
|
+
colorScales,
|
|
2100
|
+
columnIndexConfig,
|
|
2101
|
+
type,
|
|
2102
|
+
data,
|
|
2103
|
+
dataFormatting,
|
|
2104
|
+
}: {
|
|
2105
|
+
isDataAggregated: any
|
|
2106
|
+
columns: any
|
|
2107
|
+
colorScales: any
|
|
2108
|
+
columnIndexConfig: any
|
|
2109
|
+
type: any
|
|
2110
|
+
data: any
|
|
2111
|
+
dataFormatting: any
|
|
2112
|
+
}) =>
|
|
2113
|
+
| {
|
|
2114
|
+
labels: any
|
|
2115
|
+
labels2?: undefined
|
|
2116
|
+
}
|
|
2117
|
+
| {
|
|
2118
|
+
labels: any
|
|
2119
|
+
labels2: any
|
|
2120
|
+
}
|
|
2121
|
+
declare const getNumberOfSeries: (data: any) => any
|
|
2122
|
+
declare const convertToNumber: (value: any) => number
|
|
2123
|
+
declare const calculateMinAndMaxSums: (
|
|
2124
|
+
data: any,
|
|
2125
|
+
stringColumnIndex: any,
|
|
2126
|
+
numberColumnIndices: any,
|
|
2127
|
+
isScaled: any,
|
|
2128
|
+
) => {
|
|
2129
|
+
maxValue: number
|
|
2130
|
+
minValue: number
|
|
2131
|
+
disableChartScale: boolean
|
|
2132
|
+
}
|
|
2133
|
+
declare const getObjSize: (obj: any) => number
|
|
2134
|
+
declare const getMaxValueFromKeyValueObj: (obj: any) => number
|
|
2135
|
+
declare const getMinValueFromKeyValueObj: (obj: any) => number
|
|
2136
|
+
declare const getChartScaleRatio: (minValue: number, maxValue: number) => number
|
|
2137
|
+
declare const shouldDisableChartScale: (minValue: number, maxValue: number) => boolean
|
|
2138
|
+
declare const adjustMinAndMaxForScaleRatio: (
|
|
2139
|
+
minValue: number,
|
|
2140
|
+
maxValue: number,
|
|
2141
|
+
isScaled?: boolean,
|
|
2142
|
+
) => {
|
|
2143
|
+
newMinValue: number
|
|
2144
|
+
newMaxValue: number
|
|
2145
|
+
}
|
|
2146
|
+
declare const getMinAndMaxValues: (
|
|
2147
|
+
data: any,
|
|
2148
|
+
numberColumnIndices: any,
|
|
2149
|
+
isScaled: any,
|
|
2150
|
+
sum: any,
|
|
2151
|
+
stringColumnIndex: any,
|
|
2152
|
+
adjustRange?: boolean,
|
|
2153
|
+
) => {
|
|
2154
|
+
minValue: number
|
|
2155
|
+
maxValue: number
|
|
2156
|
+
}
|
|
2157
|
+
declare const getLegendLocation: (seriesArray: any, displayType: any, preferredLocation?: string) => string
|
|
2158
|
+
declare const getRangeForAxis: ({ axis, height, width }: { axis: any; height: any; width: any }) => any[]
|
|
2159
|
+
declare const getTimeScale: ({
|
|
2160
|
+
data,
|
|
2161
|
+
columns,
|
|
2162
|
+
columnIndex,
|
|
2163
|
+
axis,
|
|
2164
|
+
domain,
|
|
2165
|
+
dataFormatting,
|
|
2166
|
+
outerPadding,
|
|
2167
|
+
innerPadding,
|
|
2168
|
+
height,
|
|
2169
|
+
width,
|
|
2170
|
+
stringColumnIndex,
|
|
2171
|
+
stringColumnIndices,
|
|
2172
|
+
enableAxisDropdown,
|
|
2173
|
+
changeStringColumnIndices,
|
|
2174
|
+
}: {
|
|
2175
|
+
data: Rows
|
|
2176
|
+
columns: Column[]
|
|
2177
|
+
columnIndex: number
|
|
2178
|
+
axis: string
|
|
2179
|
+
domain: number[]
|
|
2180
|
+
dataFormatting: DataFormatting
|
|
2181
|
+
outerPadding: number
|
|
2182
|
+
innerPadding: number
|
|
2183
|
+
height: number
|
|
2184
|
+
width: number
|
|
2185
|
+
stringColumnIndex: number
|
|
2186
|
+
stringColumnIndices: number[]
|
|
2187
|
+
enableAxisDropdown: boolean
|
|
2188
|
+
changeStringColumnIndices: Function
|
|
2189
|
+
}) => any
|
|
2190
|
+
declare const getBandScale: ({
|
|
2191
|
+
data,
|
|
2192
|
+
column,
|
|
2193
|
+
columns,
|
|
2194
|
+
columnIndex,
|
|
2195
|
+
axis,
|
|
2196
|
+
domain,
|
|
2197
|
+
dataFormatting,
|
|
2198
|
+
outerPadding,
|
|
2199
|
+
innerPadding,
|
|
2200
|
+
height,
|
|
2201
|
+
width,
|
|
2202
|
+
stringColumnIndex,
|
|
2203
|
+
stringColumnIndices,
|
|
2204
|
+
enableAxisDropdown,
|
|
2205
|
+
changeStringColumnIndices,
|
|
2206
|
+
}: {
|
|
2207
|
+
data: Rows
|
|
2208
|
+
column?: Column
|
|
2209
|
+
columns: Column[]
|
|
2210
|
+
columnIndex: number
|
|
2211
|
+
axis: string
|
|
2212
|
+
domain: number[]
|
|
2213
|
+
dataFormatting: DataFormatting
|
|
2214
|
+
outerPadding: number
|
|
2215
|
+
innerPadding: number
|
|
2216
|
+
height: number
|
|
2217
|
+
width: number
|
|
2218
|
+
stringColumnIndex: number
|
|
2219
|
+
stringColumnIndices: number[]
|
|
2220
|
+
enableAxisDropdown: boolean
|
|
2221
|
+
changeStringColumnIndices: Function
|
|
2222
|
+
}) => any
|
|
2223
|
+
declare const getOpacityScale: (data: any, columnIndices: any) => any
|
|
2224
|
+
declare const getRadiusScale: (data: any, columnIndices: any, xScale: any, yScale: any) => any
|
|
2225
|
+
declare const getColorScale: (values: string[], colors: any) => any
|
|
2226
|
+
declare const getColorScales: ({
|
|
2227
|
+
numberColumnIndices,
|
|
2228
|
+
numberColumnIndices2,
|
|
2229
|
+
CSS_PREFIX,
|
|
2230
|
+
data,
|
|
2231
|
+
type,
|
|
2232
|
+
}: {
|
|
2233
|
+
numberColumnIndices: any
|
|
2234
|
+
numberColumnIndices2: any
|
|
2235
|
+
CSS_PREFIX: any
|
|
2236
|
+
data: any
|
|
2237
|
+
type: any
|
|
2238
|
+
}) => {
|
|
2239
|
+
colorScale: any
|
|
2240
|
+
colorScale2: any
|
|
2241
|
+
}
|
|
2242
|
+
declare const getUnitsForColumn: (column: any, useAgg?: boolean) => any
|
|
2243
|
+
declare const getUnitSymbol: ({ column, dataFormatting }: { column: Column; dataFormatting: DataFormatting }) => string
|
|
2244
|
+
declare const getLinearAxisTitle: ({
|
|
2245
|
+
numberColumns,
|
|
2246
|
+
aggregated,
|
|
2247
|
+
}: {
|
|
2248
|
+
numberColumns: Column[]
|
|
2249
|
+
aggregated: boolean
|
|
2250
|
+
}) => string
|
|
2251
|
+
declare const getNumberAxisUnits: (numberColumns: any) => any
|
|
2252
|
+
declare const getBinLinearScale: ({
|
|
2253
|
+
columns,
|
|
2254
|
+
columnIndex,
|
|
2255
|
+
axis,
|
|
2256
|
+
buckets,
|
|
2257
|
+
bins,
|
|
2258
|
+
enableAxisDropdown,
|
|
2259
|
+
innerHeight,
|
|
2260
|
+
innerWidth,
|
|
2261
|
+
height,
|
|
2262
|
+
width,
|
|
2263
|
+
dataFormatting,
|
|
2264
|
+
changeNumberColumnIndices,
|
|
2265
|
+
}: {
|
|
2266
|
+
columns: Column[]
|
|
2267
|
+
columnIndex: number
|
|
2268
|
+
axis: string
|
|
2269
|
+
buckets: any[]
|
|
2270
|
+
bins: (string | number)[]
|
|
2271
|
+
enableAxisDropdown: boolean
|
|
2272
|
+
innerHeight: number
|
|
2273
|
+
innerWidth: number
|
|
2274
|
+
height: number
|
|
2275
|
+
width: number
|
|
2276
|
+
dataFormatting: DataFormatting
|
|
2277
|
+
changeNumberColumnIndices: Function
|
|
2278
|
+
}) => any
|
|
2279
|
+
declare const getHistogramScale: ({
|
|
2280
|
+
axis,
|
|
2281
|
+
buckets,
|
|
2282
|
+
columnIndex,
|
|
2283
|
+
height,
|
|
2284
|
+
width,
|
|
2285
|
+
minValue,
|
|
2286
|
+
maxValue,
|
|
2287
|
+
tickValues,
|
|
2288
|
+
numTicks,
|
|
2289
|
+
stacked,
|
|
2290
|
+
isScaled,
|
|
2291
|
+
columns,
|
|
2292
|
+
originalColumns,
|
|
2293
|
+
columnIndices,
|
|
2294
|
+
dataFormatting,
|
|
2295
|
+
changeNumberColumnIndices,
|
|
2296
|
+
enableAxisDropdown,
|
|
2297
|
+
aggregated,
|
|
2298
|
+
}: {
|
|
2299
|
+
buckets: any[]
|
|
2300
|
+
minValue: number
|
|
2301
|
+
maxValue: number
|
|
2302
|
+
axis: string
|
|
2303
|
+
range: number[]
|
|
2304
|
+
domain: number[]
|
|
2305
|
+
tickValues: number[]
|
|
2306
|
+
numTicks: number
|
|
2307
|
+
stacked: boolean
|
|
2308
|
+
isScaled: boolean
|
|
2309
|
+
columns: Column[]
|
|
2310
|
+
originalColumns?: Column[]
|
|
2311
|
+
units: string
|
|
2312
|
+
title: string
|
|
2313
|
+
columnIndex: number
|
|
2314
|
+
columnIndices: number[]
|
|
2315
|
+
hasDropdown: boolean
|
|
2316
|
+
allowMultipleSeries: boolean
|
|
2317
|
+
disableAutoScale: boolean
|
|
2318
|
+
dataFormatting: DataFormatting
|
|
2319
|
+
changeNumberColumnIndices: Function
|
|
2320
|
+
enableAxisDropdown: boolean
|
|
2321
|
+
height: number
|
|
2322
|
+
width: number
|
|
2323
|
+
aggregated: boolean
|
|
2324
|
+
}) => any
|
|
2325
|
+
declare const getLinearScale: ({
|
|
2326
|
+
minValue,
|
|
2327
|
+
maxValue,
|
|
2328
|
+
axis,
|
|
2329
|
+
range,
|
|
2330
|
+
domain,
|
|
2331
|
+
tickValues,
|
|
2332
|
+
numTicks,
|
|
2333
|
+
stacked,
|
|
2334
|
+
isScaled,
|
|
2335
|
+
columns,
|
|
2336
|
+
units,
|
|
2337
|
+
title,
|
|
2338
|
+
columnIndex,
|
|
2339
|
+
columnIndices,
|
|
2340
|
+
hasDropdown,
|
|
2341
|
+
allowMultipleSeries,
|
|
2342
|
+
disableAutoScale,
|
|
2343
|
+
dataFormatting,
|
|
2344
|
+
changeNumberColumnIndices,
|
|
2345
|
+
changeColumnIndices,
|
|
2346
|
+
changeAggConfig,
|
|
2347
|
+
enableAxisDropdown,
|
|
2348
|
+
height,
|
|
2349
|
+
width,
|
|
2350
|
+
aggregated,
|
|
2351
|
+
colorScale,
|
|
2352
|
+
adjustRange,
|
|
2353
|
+
originalColumns,
|
|
2354
|
+
}: {
|
|
2355
|
+
axis: string
|
|
2356
|
+
columns: Column[]
|
|
2357
|
+
originalColumns?: Column[]
|
|
2358
|
+
columnIndex: number
|
|
2359
|
+
columnIndices: number[]
|
|
2360
|
+
height: number
|
|
2361
|
+
width: number
|
|
2362
|
+
units?: string
|
|
2363
|
+
dataFormatting?: DataFormatting
|
|
2364
|
+
changeNumberColumnIndices?: Function
|
|
2365
|
+
changeColumnIndices?: Function
|
|
2366
|
+
changeAggConfig?: Function
|
|
2367
|
+
enableAxisDropdown?: boolean
|
|
2368
|
+
stacked?: boolean
|
|
2369
|
+
isScaled?: boolean
|
|
2370
|
+
minValue?: number
|
|
2371
|
+
maxValue?: number
|
|
2372
|
+
aggregated?: boolean
|
|
2373
|
+
numTicks?: number
|
|
2374
|
+
range?: number[]
|
|
2375
|
+
tickValues?: number[]
|
|
2376
|
+
allowMultipleSeries?: boolean
|
|
2377
|
+
disableAutoScale?: boolean
|
|
2378
|
+
hasDropdown?: boolean
|
|
2379
|
+
domain?: number[]
|
|
2380
|
+
title?: string
|
|
2381
|
+
colorScale?: any
|
|
2382
|
+
adjustRange?: boolean
|
|
2383
|
+
}) => any
|
|
2384
|
+
declare const getLinearScales: ({
|
|
2385
|
+
data,
|
|
2386
|
+
columnIndices1,
|
|
2387
|
+
columnIndices2,
|
|
2388
|
+
axis,
|
|
2389
|
+
stacked,
|
|
2390
|
+
isScaled,
|
|
2391
|
+
columns,
|
|
2392
|
+
originalColumns,
|
|
2393
|
+
hasDropdown,
|
|
2394
|
+
allowMultipleSeries,
|
|
2395
|
+
disableAutoScale,
|
|
2396
|
+
dataFormatting,
|
|
2397
|
+
changeNumberColumnIndices,
|
|
2398
|
+
changeAggConfig,
|
|
2399
|
+
enableAxisDropdown,
|
|
2400
|
+
stringColumnIndex,
|
|
2401
|
+
height,
|
|
2402
|
+
width,
|
|
2403
|
+
aggregated,
|
|
2404
|
+
colorScales,
|
|
2405
|
+
}: {
|
|
2406
|
+
data: Rows
|
|
2407
|
+
columnIndices1: number[]
|
|
2408
|
+
columnIndices2: number[]
|
|
2409
|
+
axis: string
|
|
2410
|
+
stacked: boolean
|
|
2411
|
+
isScaled: boolean
|
|
2412
|
+
columns: Column[]
|
|
2413
|
+
originalColumns?: Column[]
|
|
2414
|
+
hasDropdown: boolean
|
|
2415
|
+
allowMultipleSeries: boolean
|
|
2416
|
+
disableAutoScale: boolean
|
|
2417
|
+
dataFormatting: DataFormatting
|
|
2418
|
+
changeNumberColumnIndices: Function
|
|
2419
|
+
changeAggConfig: Function
|
|
2420
|
+
enableAxisDropdown: boolean
|
|
2421
|
+
stringColumnIndex: number
|
|
2422
|
+
height: number
|
|
2423
|
+
width: number
|
|
2424
|
+
aggregated: boolean
|
|
2425
|
+
colorScales: any
|
|
2426
|
+
}) =>
|
|
2427
|
+
| {
|
|
2428
|
+
scale: any
|
|
2429
|
+
scale2?: undefined
|
|
2430
|
+
}
|
|
2431
|
+
| {
|
|
2432
|
+
scale: any
|
|
2433
|
+
scale2: any
|
|
2434
|
+
}
|
|
2435
|
+
declare const doesElementOverflowContainer: (element: any, container: any) => boolean
|
|
2436
|
+
declare const DateUTC: (d: any) => Date
|
|
2437
|
+
declare const getNiceDateTickValues: ({ tickValues, scale }: { tickValues: any; scale: any }) => any
|
|
2438
|
+
declare const getNiceTickValues: ({ tickValues, scale }: { tickValues: any; scale: any }) => any
|
|
2439
|
+
declare const getTickSizeFromNumTicks: ({
|
|
2440
|
+
scale,
|
|
2441
|
+
numTicks,
|
|
2442
|
+
innerPadding,
|
|
2443
|
+
outerPadding,
|
|
2444
|
+
}: {
|
|
2445
|
+
scale: any
|
|
2446
|
+
numTicks: any
|
|
2447
|
+
innerPadding?: number
|
|
2448
|
+
outerPadding?: number
|
|
2449
|
+
}) => number
|
|
2450
|
+
declare const getTickValues: ({
|
|
2451
|
+
scale,
|
|
2452
|
+
initialTicks,
|
|
2453
|
+
numTicks,
|
|
2454
|
+
innerPadding,
|
|
2455
|
+
outerPadding,
|
|
2456
|
+
}: {
|
|
2457
|
+
scale: any
|
|
2458
|
+
initialTicks?: (string | number)[]
|
|
2459
|
+
numTicks?: number
|
|
2460
|
+
innerPadding?: number
|
|
2461
|
+
outerPadding?: number
|
|
2462
|
+
}) => any[]
|
|
2463
|
+
declare const mergeBoundingClientRects: (boundingBoxes: any) => {
|
|
2464
|
+
x: any
|
|
2465
|
+
y: any
|
|
2466
|
+
height: number
|
|
2467
|
+
width: number
|
|
2468
|
+
}
|
|
2469
|
+
declare const mergeBboxes: (bboxes: any) => {
|
|
2470
|
+
x: any
|
|
2471
|
+
y: any
|
|
2472
|
+
height: number
|
|
2473
|
+
width: number
|
|
2474
|
+
}
|
|
2475
|
+
declare const getRowNumberListForPopover: (initialPageSize: any, totalRows: any) => any
|
|
2476
|
+
declare const getAxisLabelsBbox: (axisElement: any) => {
|
|
2477
|
+
x: any
|
|
2478
|
+
y: any
|
|
2479
|
+
height: number
|
|
2480
|
+
width: number
|
|
2481
|
+
}
|
|
2482
|
+
declare const getTotalLeftPadding: (legendPadding?: any) => any
|
|
2483
|
+
declare const getTotalRightPadding: (legendPadding?: any) => any
|
|
2484
|
+
declare const getTotalHorizontalPadding: (legendPadding?: any) => any
|
|
2485
|
+
declare const getTotalBottomPadding: (legendPadding?: any) => any
|
|
2486
|
+
declare const getTotalTopPadding: (legendPadding?: any) => any
|
|
2487
|
+
declare const getTotalVerticalPadding: (legendPadding?: any) => any
|
|
2488
|
+
declare const getMaxLegendHeight: ({
|
|
2489
|
+
orientation,
|
|
2490
|
+
outerHeight,
|
|
2491
|
+
height,
|
|
2492
|
+
legendPadding,
|
|
2493
|
+
}: {
|
|
2494
|
+
orientation: any
|
|
2495
|
+
outerHeight: any
|
|
2496
|
+
height: any
|
|
2497
|
+
legendPadding: any
|
|
2498
|
+
}) => number
|
|
2499
|
+
declare const getMaxLegendSectionWidth: ({
|
|
2500
|
+
orientation,
|
|
2501
|
+
outerWidth,
|
|
2502
|
+
legendPadding,
|
|
2503
|
+
}: {
|
|
2504
|
+
orientation: any
|
|
2505
|
+
outerWidth: any
|
|
2506
|
+
legendPadding: any
|
|
2507
|
+
}) => number
|
|
2508
|
+
declare const getTotalPossibleLegendSections: ({
|
|
2509
|
+
orientation,
|
|
2510
|
+
outerWidth,
|
|
2511
|
+
hasSecondAxis,
|
|
2512
|
+
legendPadding,
|
|
2513
|
+
}: {
|
|
2514
|
+
orientation: any
|
|
2515
|
+
outerWidth: any
|
|
2516
|
+
hasSecondAxis: any
|
|
2517
|
+
legendPadding: any
|
|
2518
|
+
}) => any
|
|
2519
|
+
declare const distributeListsEvenly: (list1Orig: any, list2Orig: any, numSections: any) => any[][]
|
|
2520
|
+
declare const getlegendLabelSections: ({
|
|
2521
|
+
orientation,
|
|
2522
|
+
outerWidth,
|
|
2523
|
+
hasSecondAxis,
|
|
2524
|
+
labels,
|
|
2525
|
+
labels2,
|
|
2526
|
+
legendPadding,
|
|
2527
|
+
}: {
|
|
2528
|
+
orientation: any
|
|
2529
|
+
outerWidth: any
|
|
2530
|
+
hasSecondAxis: any
|
|
2531
|
+
labels: any
|
|
2532
|
+
labels2: any
|
|
2533
|
+
legendPadding: any
|
|
2534
|
+
}) => any[][]
|
|
2535
|
+
declare const getLegendScale: (legendLabels: any) => any
|
|
2536
|
+
declare const applyLegendTitleStyles: ({
|
|
2537
|
+
legendElement,
|
|
2538
|
+
title,
|
|
2539
|
+
isFirstSection,
|
|
2540
|
+
onLegendTitleClick,
|
|
2541
|
+
}: {
|
|
2542
|
+
legendElement: any
|
|
2543
|
+
title: any
|
|
2544
|
+
isFirstSection: any
|
|
2545
|
+
onLegendTitleClick: any
|
|
2546
|
+
}) => any
|
|
2547
|
+
declare const removeHiddenLegendLabels: ({
|
|
2548
|
+
legendElement,
|
|
2549
|
+
legendBorder,
|
|
2550
|
+
chartTooltipID,
|
|
2551
|
+
}: {
|
|
2552
|
+
legendElement: any
|
|
2553
|
+
legendBorder: any
|
|
2554
|
+
chartTooltipID: any
|
|
2555
|
+
}) => void
|
|
2556
|
+
declare const applyStylesForHiddenSeries: ({
|
|
2557
|
+
legendElement,
|
|
2558
|
+
legendLabels,
|
|
2559
|
+
}: {
|
|
2560
|
+
legendElement: any
|
|
2561
|
+
legendLabels: any
|
|
2562
|
+
}) => void
|
|
2563
|
+
declare const getPieChartData: ({
|
|
2564
|
+
data,
|
|
2565
|
+
numberColumnIndex,
|
|
2566
|
+
legendLabels,
|
|
2567
|
+
}: {
|
|
2568
|
+
data: any
|
|
2569
|
+
numberColumnIndex: any
|
|
2570
|
+
legendLabels: any
|
|
2571
|
+
}) => {
|
|
2572
|
+
pieChartFn: any
|
|
2573
|
+
legendScale: any
|
|
2574
|
+
}
|
|
2575
|
+
declare const getDefaultBucketConfig: (
|
|
2576
|
+
data: any,
|
|
2577
|
+
bucketSize: any,
|
|
2578
|
+
) => {
|
|
2579
|
+
bucketSize: any
|
|
2580
|
+
minBucketSize: any
|
|
2581
|
+
maxBucketSize: any
|
|
2582
|
+
minNumBuckets: number
|
|
2583
|
+
maxNumBuckets: number
|
|
2584
|
+
bucketStepSize: number
|
|
2585
|
+
}
|
|
2586
|
+
declare const getInitialBucketSize: (minValue: any, maxValue: any, data: any, bucketConfig: any) => number
|
|
2587
|
+
declare const getBinData: ({
|
|
2588
|
+
newBucketSize,
|
|
2589
|
+
bucketConfig,
|
|
2590
|
+
data,
|
|
2591
|
+
numberColumnIndex,
|
|
2592
|
+
}: {
|
|
2593
|
+
newBucketSize: any
|
|
2594
|
+
bucketConfig: any
|
|
2595
|
+
data: any
|
|
2596
|
+
numberColumnIndex: any
|
|
2597
|
+
}) => {
|
|
2598
|
+
buckets: any
|
|
2599
|
+
bins: number[]
|
|
2600
|
+
}
|
|
2601
|
+
|
|
2602
|
+
declare const getMaxTickLabelWidth: ({
|
|
2603
|
+
orient,
|
|
2604
|
+
outerHeight,
|
|
2605
|
+
outerWidth,
|
|
2606
|
+
rotateLabels,
|
|
2607
|
+
prevLabelWidth,
|
|
2608
|
+
}?: {
|
|
2609
|
+
orient?: string
|
|
2610
|
+
outerHeight?: number
|
|
2611
|
+
outerWidth?: number
|
|
2612
|
+
rotateLabels?: boolean
|
|
2613
|
+
prevLabelWidth?: number
|
|
2614
|
+
}) => number
|
|
2615
|
+
declare const setTickSize: ({
|
|
2616
|
+
axis,
|
|
2617
|
+
innerWidth,
|
|
2618
|
+
innerHeight,
|
|
2619
|
+
}?: {
|
|
2620
|
+
axis?: any
|
|
2621
|
+
innerWidth?: number
|
|
2622
|
+
innerHeight?: number
|
|
2623
|
+
}) => void
|
|
2624
|
+
declare const setTickValues: ({
|
|
2625
|
+
axis,
|
|
2626
|
+
innerWidth,
|
|
2627
|
+
innerHeight,
|
|
2628
|
+
maxLabelWidth,
|
|
2629
|
+
}?: {
|
|
2630
|
+
axis?: any
|
|
2631
|
+
innerWidth?: number
|
|
2632
|
+
innerHeight?: number
|
|
2633
|
+
maxLabelWidth?: number
|
|
2634
|
+
}) => void
|
|
2635
|
+
declare const getAxis: ({
|
|
2636
|
+
orient,
|
|
2637
|
+
scale,
|
|
2638
|
+
innerWidth,
|
|
2639
|
+
innerHeight,
|
|
2640
|
+
maxLabelWidth,
|
|
2641
|
+
}?: {
|
|
2642
|
+
orient?: string
|
|
2643
|
+
scale?: any
|
|
2644
|
+
innerWidth?: number
|
|
2645
|
+
innerHeight?: number
|
|
2646
|
+
maxLabelWidth?: number
|
|
2647
|
+
}) => any
|
|
2648
|
+
declare const getLabelsBBox: (axisElement: any) => {}
|
|
2649
|
+
declare const adjustBottomTitleToFit: (
|
|
2650
|
+
titleElement: any,
|
|
2651
|
+
{
|
|
2652
|
+
labelsBBox,
|
|
2653
|
+
innerWidth,
|
|
2654
|
+
outerWidth,
|
|
2655
|
+
deltaX,
|
|
2656
|
+
chartPadding,
|
|
2657
|
+
}?: {
|
|
2658
|
+
labelsBBox?: any
|
|
2659
|
+
innerWidth?: number
|
|
2660
|
+
outerWidth?: number
|
|
2661
|
+
deltaX?: number
|
|
2662
|
+
chartPadding?: number
|
|
2663
|
+
CSS_PREFIX?: string
|
|
2664
|
+
},
|
|
2665
|
+
CSS_PREFIX?: string,
|
|
2666
|
+
) => void
|
|
2667
|
+
declare const adjustTopTitleToFit: (
|
|
2668
|
+
titleElement: any,
|
|
2669
|
+
{
|
|
2670
|
+
labelsBBox,
|
|
2671
|
+
innerWidth,
|
|
2672
|
+
}?: {
|
|
2673
|
+
labelsBBox?: any
|
|
2674
|
+
innerWidth?: number
|
|
2675
|
+
},
|
|
2676
|
+
) => void
|
|
2677
|
+
declare const adjustVerticalTitleToFit: (
|
|
2678
|
+
titleElement: any,
|
|
2679
|
+
{
|
|
2680
|
+
deltaY,
|
|
2681
|
+
chartPadding,
|
|
2682
|
+
}?: {
|
|
2683
|
+
deltaY?: number
|
|
2684
|
+
chartPadding?: number
|
|
2685
|
+
},
|
|
2686
|
+
CSS_PREFIX?: string,
|
|
2687
|
+
) => void
|
|
2688
|
+
declare const adjustTitleToFit: (
|
|
2689
|
+
titleElement: any,
|
|
2690
|
+
orient: string,
|
|
2691
|
+
options: {
|
|
2692
|
+
labelsBBox?: any
|
|
2693
|
+
innerWidth?: number
|
|
2694
|
+
outerWidth?: number
|
|
2695
|
+
deltaX?: number
|
|
2696
|
+
deltaY?: number
|
|
2697
|
+
chartPadding?: number
|
|
2698
|
+
},
|
|
2699
|
+
CSS_PREFIX: any,
|
|
2700
|
+
) => void
|
|
2701
|
+
|
|
2702
|
+
declare const getHistogramColumnObj: ({
|
|
2703
|
+
xScale,
|
|
2704
|
+
yScale,
|
|
2705
|
+
index,
|
|
2706
|
+
d,
|
|
2707
|
+
activeKey,
|
|
2708
|
+
}: {
|
|
2709
|
+
xScale: any
|
|
2710
|
+
yScale: any
|
|
2711
|
+
index: any
|
|
2712
|
+
d: any
|
|
2713
|
+
activeKey: any
|
|
2714
|
+
}) => {
|
|
2715
|
+
class: string
|
|
2716
|
+
key: string
|
|
2717
|
+
x: any
|
|
2718
|
+
y: any
|
|
2719
|
+
height: number
|
|
2720
|
+
width: number
|
|
2721
|
+
onClickData: {
|
|
2722
|
+
x0: any
|
|
2723
|
+
x1: any
|
|
2724
|
+
index: any
|
|
2725
|
+
}
|
|
2726
|
+
drilldownData: {
|
|
2727
|
+
activeKey: string
|
|
2728
|
+
filter: {
|
|
2729
|
+
name: any
|
|
2730
|
+
value: string
|
|
2731
|
+
operator: string
|
|
2732
|
+
column_type: string
|
|
2733
|
+
}
|
|
2734
|
+
}
|
|
2735
|
+
tooltip: string
|
|
2736
|
+
}
|
|
2737
|
+
declare const getPointObj: ({
|
|
2738
|
+
columns,
|
|
2739
|
+
yScale,
|
|
2740
|
+
xScale,
|
|
2741
|
+
columnIndexConfig,
|
|
2742
|
+
activeKey,
|
|
2743
|
+
dataFormatting,
|
|
2744
|
+
d,
|
|
2745
|
+
index,
|
|
2746
|
+
legendColumn,
|
|
2747
|
+
chartColors,
|
|
2748
|
+
}: {
|
|
2749
|
+
columns: any
|
|
2750
|
+
yScale: any
|
|
2751
|
+
xScale: any
|
|
2752
|
+
columnIndexConfig: any
|
|
2753
|
+
activeKey: any
|
|
2754
|
+
dataFormatting: any
|
|
2755
|
+
d: any
|
|
2756
|
+
index: any
|
|
2757
|
+
legendColumn: any
|
|
2758
|
+
chartColors: any
|
|
2759
|
+
}) => {
|
|
2760
|
+
key: string
|
|
2761
|
+
class: string
|
|
2762
|
+
cx: any
|
|
2763
|
+
cy: any
|
|
2764
|
+
r: number
|
|
2765
|
+
style: {
|
|
2766
|
+
fill: any
|
|
2767
|
+
}
|
|
2768
|
+
drilldownData: {
|
|
2769
|
+
groupBys: any
|
|
2770
|
+
supportedByAPI: boolean
|
|
2771
|
+
row: any
|
|
2772
|
+
activeKey: any
|
|
2773
|
+
stringColumnIndex: any
|
|
2774
|
+
column: any
|
|
2775
|
+
}
|
|
2776
|
+
tooltip: any
|
|
2777
|
+
}
|
|
2778
|
+
declare const getBubbleObj: ({
|
|
2779
|
+
columns,
|
|
2780
|
+
yScale,
|
|
2781
|
+
xScale,
|
|
2782
|
+
columnIndexConfig,
|
|
2783
|
+
activeKey,
|
|
2784
|
+
dataFormatting,
|
|
2785
|
+
colIndex,
|
|
2786
|
+
radiusScale,
|
|
2787
|
+
i,
|
|
2788
|
+
d,
|
|
2789
|
+
index,
|
|
2790
|
+
legendLabels,
|
|
2791
|
+
legendColumn,
|
|
2792
|
+
chartColors,
|
|
2793
|
+
}: {
|
|
2794
|
+
columns: any
|
|
2795
|
+
yScale: any
|
|
2796
|
+
xScale: any
|
|
2797
|
+
columnIndexConfig: any
|
|
2798
|
+
activeKey: any
|
|
2799
|
+
dataFormatting: any
|
|
2800
|
+
colIndex: any
|
|
2801
|
+
radiusScale: any
|
|
2802
|
+
i: any
|
|
2803
|
+
d: any
|
|
2804
|
+
index: any
|
|
2805
|
+
legendLabels: any
|
|
2806
|
+
legendColumn: any
|
|
2807
|
+
chartColors: any
|
|
2808
|
+
}) => {
|
|
2809
|
+
key: string
|
|
2810
|
+
class: string
|
|
2811
|
+
cx: any
|
|
2812
|
+
cy: any
|
|
2813
|
+
r: number
|
|
2814
|
+
width: any
|
|
2815
|
+
height: any
|
|
2816
|
+
style: {
|
|
2817
|
+
fill: any
|
|
2818
|
+
}
|
|
2819
|
+
drilldownData: {
|
|
2820
|
+
groupBys: any
|
|
2821
|
+
supportedByAPI: boolean
|
|
2822
|
+
row: any
|
|
2823
|
+
activeKey: any
|
|
2824
|
+
stringColumnIndex: any
|
|
2825
|
+
column: any
|
|
2826
|
+
}
|
|
2827
|
+
tooltip: any
|
|
2828
|
+
}
|
|
2829
|
+
declare const getHeatmapRectObj: ({
|
|
2830
|
+
columns,
|
|
2831
|
+
yScale,
|
|
2832
|
+
xScale,
|
|
2833
|
+
activeKey,
|
|
2834
|
+
dataFormatting,
|
|
2835
|
+
colIndex,
|
|
2836
|
+
opacityScale,
|
|
2837
|
+
i,
|
|
2838
|
+
d,
|
|
2839
|
+
index,
|
|
2840
|
+
legendLabels,
|
|
2841
|
+
legendColumn,
|
|
2842
|
+
chartColors,
|
|
2843
|
+
columnIndexConfig,
|
|
2844
|
+
}: {
|
|
2845
|
+
columns: any
|
|
2846
|
+
yScale: any
|
|
2847
|
+
xScale: any
|
|
2848
|
+
activeKey: any
|
|
2849
|
+
dataFormatting: any
|
|
2850
|
+
colIndex: any
|
|
2851
|
+
opacityScale: any
|
|
2852
|
+
i: any
|
|
2853
|
+
d: any
|
|
2854
|
+
index: any
|
|
2855
|
+
legendLabels: any
|
|
2856
|
+
legendColumn: any
|
|
2857
|
+
chartColors: any
|
|
2858
|
+
columnIndexConfig: any
|
|
2859
|
+
}) => {
|
|
2860
|
+
key: string
|
|
2861
|
+
class: string
|
|
2862
|
+
x: any
|
|
2863
|
+
y: any
|
|
2864
|
+
width: any
|
|
2865
|
+
height: any
|
|
2866
|
+
style: {
|
|
2867
|
+
color: any
|
|
2868
|
+
fill: any
|
|
2869
|
+
fillOpacity: any
|
|
2870
|
+
}
|
|
2871
|
+
drilldownData: {
|
|
2872
|
+
groupBys: any
|
|
2873
|
+
supportedByAPI: boolean
|
|
2874
|
+
row: any
|
|
2875
|
+
activeKey: any
|
|
2876
|
+
stringColumnIndex: any
|
|
2877
|
+
column: any
|
|
2878
|
+
}
|
|
2879
|
+
tooltip: any
|
|
2880
|
+
}
|
|
2881
|
+
declare const getLineVertexObj: ({
|
|
2882
|
+
columns,
|
|
2883
|
+
yScale,
|
|
2884
|
+
xScale,
|
|
2885
|
+
columnIndexConfig,
|
|
2886
|
+
legendColumn,
|
|
2887
|
+
activeKey,
|
|
2888
|
+
dataFormatting,
|
|
2889
|
+
colIndex,
|
|
2890
|
+
backgroundColor,
|
|
2891
|
+
cumulativeValues,
|
|
2892
|
+
d,
|
|
2893
|
+
index,
|
|
2894
|
+
color,
|
|
2895
|
+
stacked,
|
|
2896
|
+
}: {
|
|
2897
|
+
columns: any
|
|
2898
|
+
yScale: any
|
|
2899
|
+
xScale: any
|
|
2900
|
+
columnIndexConfig: any
|
|
2901
|
+
legendColumn: any
|
|
2902
|
+
activeKey: any
|
|
2903
|
+
dataFormatting: any
|
|
2904
|
+
colIndex: any
|
|
2905
|
+
backgroundColor: any
|
|
2906
|
+
cumulativeValues: any
|
|
2907
|
+
d: any
|
|
2908
|
+
index: any
|
|
2909
|
+
color: any
|
|
2910
|
+
stacked: any
|
|
2911
|
+
}) => {
|
|
2912
|
+
className: string
|
|
2913
|
+
key: string
|
|
2914
|
+
cx: any
|
|
2915
|
+
cy: any
|
|
2916
|
+
r: number
|
|
2917
|
+
value: any
|
|
2918
|
+
style: {
|
|
2919
|
+
pointerEvents: string
|
|
2920
|
+
stroke: any
|
|
2921
|
+
strokeWidth: number
|
|
2922
|
+
paintOrder: string
|
|
2923
|
+
color: any
|
|
2924
|
+
fill: any
|
|
2925
|
+
}
|
|
2926
|
+
drilldownData: {
|
|
2927
|
+
groupBys: any
|
|
2928
|
+
supportedByAPI: boolean
|
|
2929
|
+
row: any
|
|
2930
|
+
activeKey: any
|
|
2931
|
+
stringColumnIndex: any
|
|
2932
|
+
column: any
|
|
2933
|
+
}
|
|
2934
|
+
tooltip: any
|
|
2935
|
+
}
|
|
2936
|
+
declare const getColumnRectObj: ({
|
|
2937
|
+
columns,
|
|
2938
|
+
yScale,
|
|
2939
|
+
xScale,
|
|
2940
|
+
columnIndexConfig,
|
|
2941
|
+
chartTooltipID,
|
|
2942
|
+
activeKey,
|
|
2943
|
+
legendColumn,
|
|
2944
|
+
dataFormatting,
|
|
2945
|
+
colIndex,
|
|
2946
|
+
visibleIndex,
|
|
2947
|
+
barWidth,
|
|
2948
|
+
i,
|
|
2949
|
+
d,
|
|
2950
|
+
index,
|
|
2951
|
+
stacked,
|
|
2952
|
+
prevY,
|
|
2953
|
+
prevHeight,
|
|
2954
|
+
}: {
|
|
2955
|
+
columns: any
|
|
2956
|
+
yScale: any
|
|
2957
|
+
xScale: any
|
|
2958
|
+
columnIndexConfig: any
|
|
2959
|
+
chartTooltipID: any
|
|
2960
|
+
activeKey: any
|
|
2961
|
+
legendColumn: any
|
|
2962
|
+
dataFormatting: any
|
|
2963
|
+
colIndex: any
|
|
2964
|
+
visibleIndex: any
|
|
2965
|
+
barWidth: any
|
|
2966
|
+
i: any
|
|
2967
|
+
d: any
|
|
2968
|
+
index: any
|
|
2969
|
+
stacked: any
|
|
2970
|
+
prevY: any
|
|
2971
|
+
prevHeight?: number
|
|
2972
|
+
}) => {
|
|
2973
|
+
key: string
|
|
2974
|
+
className: string
|
|
2975
|
+
dataTest: string
|
|
2976
|
+
x: any
|
|
2977
|
+
y: any
|
|
2978
|
+
width: any
|
|
2979
|
+
height: number
|
|
2980
|
+
value: any
|
|
2981
|
+
colIndex: any
|
|
2982
|
+
dataFor: any
|
|
2983
|
+
style: {
|
|
2984
|
+
fill: any
|
|
2985
|
+
fillOpacity: number
|
|
2986
|
+
}
|
|
2987
|
+
drilldownData: {
|
|
2988
|
+
groupBys: any
|
|
2989
|
+
supportedByAPI: boolean
|
|
2990
|
+
row: any
|
|
2991
|
+
activeKey: any
|
|
2992
|
+
stringColumnIndex: any
|
|
2993
|
+
column: any
|
|
2994
|
+
}
|
|
2995
|
+
tooltip: any
|
|
2996
|
+
}
|
|
2997
|
+
declare const getBarRectObj: ({
|
|
2998
|
+
columnIndexConfig,
|
|
2999
|
+
columns,
|
|
3000
|
+
yScale,
|
|
3001
|
+
xScale,
|
|
3002
|
+
activeKey,
|
|
3003
|
+
dataFormatting,
|
|
3004
|
+
colIndex,
|
|
3005
|
+
visibleIndex,
|
|
3006
|
+
barHeight,
|
|
3007
|
+
legendColumn,
|
|
3008
|
+
i,
|
|
3009
|
+
d,
|
|
3010
|
+
index,
|
|
3011
|
+
stacked,
|
|
3012
|
+
prevX,
|
|
3013
|
+
prevWidth,
|
|
3014
|
+
}: {
|
|
3015
|
+
columnIndexConfig: any
|
|
3016
|
+
columns: any
|
|
3017
|
+
yScale: any
|
|
3018
|
+
xScale: any
|
|
3019
|
+
activeKey: any
|
|
3020
|
+
dataFormatting: any
|
|
3021
|
+
colIndex: any
|
|
3022
|
+
visibleIndex: any
|
|
3023
|
+
barHeight: any
|
|
3024
|
+
legendColumn: any
|
|
3025
|
+
i: any
|
|
3026
|
+
d: any
|
|
3027
|
+
index: any
|
|
3028
|
+
stacked: any
|
|
3029
|
+
prevX: any
|
|
3030
|
+
prevWidth?: number
|
|
3031
|
+
}) => {
|
|
3032
|
+
key: string
|
|
3033
|
+
className: string
|
|
3034
|
+
dataTest: string
|
|
3035
|
+
y: any
|
|
3036
|
+
x: any
|
|
3037
|
+
width: number
|
|
3038
|
+
height: any
|
|
3039
|
+
style: {
|
|
3040
|
+
fill: any
|
|
3041
|
+
fillOpacity: number
|
|
3042
|
+
}
|
|
3043
|
+
drilldownData: {
|
|
3044
|
+
groupBys: any
|
|
3045
|
+
supportedByAPI: boolean
|
|
3046
|
+
row: any
|
|
3047
|
+
activeKey: any
|
|
3048
|
+
stringColumnIndex: any
|
|
3049
|
+
column: any
|
|
3050
|
+
}
|
|
3051
|
+
tooltip: any
|
|
3052
|
+
}
|
|
3053
|
+
declare const getLegendTitleFromColumns: ({
|
|
3054
|
+
columnIndices,
|
|
3055
|
+
isDataAggregated,
|
|
3056
|
+
legendColumn,
|
|
3057
|
+
columns,
|
|
3058
|
+
hasSecondAxis,
|
|
3059
|
+
}: {
|
|
3060
|
+
columnIndices: any
|
|
3061
|
+
isDataAggregated: any
|
|
3062
|
+
legendColumn: any
|
|
3063
|
+
columns: any
|
|
3064
|
+
hasSecondAxis: any
|
|
3065
|
+
}) => any
|
|
3066
|
+
|
|
3067
|
+
declare const bezierCommand: (xy: any, i: any, a: any, smoothing: any) => string
|
|
3068
|
+
declare const lineCommand: (xy: any) => string
|
|
3069
|
+
declare const svgPathD: (points: any, command: any, smoothing?: any) => any
|
|
3070
|
+
declare const createSVGPath: (points: any, smoothing: any) => any
|
|
3071
|
+
|
|
3072
|
+
declare const GENERAL_ERROR =
|
|
3073
|
+
"Uh oh, Our system is experiencing an unexpected error. We're aware of this issue and are working to fix it as soon as possible."
|
|
3074
|
+
declare const GENERAL_QUERY_ERROR =
|
|
3075
|
+
"Internal Service Error: Our system is experiencing an unexpected error. We're aware of this issue and are working to fix it as soon as possible."
|
|
3076
|
+
declare const GENERAL_HTML_ERROR =
|
|
3077
|
+
"Internal Service Error: Our system is experiencing an unexpected error. We're aware of this issue and are working to fix it as soon as possible."
|
|
3078
|
+
declare const UNAUTHENTICATED_ERROR =
|
|
3079
|
+
"Uh oh.. It looks like you don't have access to this resource. Please double check that all required authentication fields are correct."
|
|
3080
|
+
declare const REQUEST_CANCELLED_ERROR = 'Request cancelled'
|
|
3081
|
+
declare const QUERY_TIMEOUT_ERROR =
|
|
3082
|
+
'Database Timeout Error: Your query has exceeded the time limit. To receive a response, try narrowing your query down to a specific time range (e.g., today, this week, this month), or contact your database administrator.'
|
|
3083
|
+
|
|
3084
|
+
declare const isAggSeed: (subject: any) => any
|
|
3085
|
+
declare const getSampleQueryRegex: (suggestionValues: any) => RegExp
|
|
3086
|
+
declare const getSampleQueryText: (query: any, values?: {}) => any
|
|
3087
|
+
declare const fetchTopicsForVL: () => void
|
|
3088
|
+
declare const getQueryRequestParams: (
|
|
3089
|
+
chunk: any,
|
|
3090
|
+
values: any,
|
|
3091
|
+
) => {
|
|
3092
|
+
query: any
|
|
3093
|
+
userSelection: any[]
|
|
3094
|
+
}
|
|
3095
|
+
declare const fetchDataExplorerAutocomplete: ({
|
|
3096
|
+
suggestion,
|
|
3097
|
+
domain,
|
|
3098
|
+
token,
|
|
3099
|
+
apiKey,
|
|
3100
|
+
cancelToken,
|
|
3101
|
+
}?: {
|
|
3102
|
+
suggestion?: string
|
|
3103
|
+
domain?: string
|
|
3104
|
+
apiKey?: string
|
|
3105
|
+
token?: string
|
|
3106
|
+
cancelToken?: any
|
|
3107
|
+
}) => Promise<any[]>
|
|
3108
|
+
declare const fetchDataExplorerSampleQueries: ({
|
|
3109
|
+
domain,
|
|
3110
|
+
apiKey,
|
|
3111
|
+
token,
|
|
3112
|
+
text,
|
|
3113
|
+
context,
|
|
3114
|
+
columns,
|
|
3115
|
+
}?: {
|
|
3116
|
+
domain?: string
|
|
3117
|
+
apiKey?: string
|
|
3118
|
+
token?: string
|
|
3119
|
+
text?: string
|
|
3120
|
+
context?: string
|
|
3121
|
+
columns?: object
|
|
3122
|
+
}) => Promise<axios.AxiosResponse<any, any>>
|
|
3123
|
+
declare const fetchDataExplorerSuggestions: ({
|
|
3124
|
+
pageSize,
|
|
3125
|
+
pageNumber,
|
|
3126
|
+
domain,
|
|
3127
|
+
apiKey,
|
|
3128
|
+
token,
|
|
3129
|
+
text,
|
|
3130
|
+
context,
|
|
3131
|
+
selectedVL,
|
|
3132
|
+
userVLSelection,
|
|
3133
|
+
skipQueryValidation,
|
|
3134
|
+
}?: {
|
|
3135
|
+
pageSize?: number
|
|
3136
|
+
pageNumber?: number
|
|
3137
|
+
domain?: string
|
|
3138
|
+
apiKey?: string
|
|
3139
|
+
token?: string
|
|
3140
|
+
text?: string
|
|
3141
|
+
context?: string
|
|
3142
|
+
selectedVL?: ValueLabel
|
|
3143
|
+
userVLSelection?: ValueLabel[]
|
|
3144
|
+
skipQueryValidation?: boolean
|
|
3145
|
+
}) => Promise<axios.AxiosResponse<any, any>>
|
|
3146
|
+
declare const fetchSubjectListV2: ({
|
|
3147
|
+
domain,
|
|
3148
|
+
apiKey,
|
|
3149
|
+
token,
|
|
3150
|
+
valueLabel,
|
|
3151
|
+
}: {
|
|
3152
|
+
domain: any
|
|
3153
|
+
apiKey: any
|
|
3154
|
+
token: any
|
|
3155
|
+
valueLabel: any
|
|
3156
|
+
}) => Promise<any[]>
|
|
3157
|
+
declare const fetchSubjectList: ({
|
|
3158
|
+
domain,
|
|
3159
|
+
apiKey,
|
|
3160
|
+
token,
|
|
3161
|
+
valueLabel,
|
|
3162
|
+
}: {
|
|
3163
|
+
domain: any
|
|
3164
|
+
apiKey: any
|
|
3165
|
+
token: any
|
|
3166
|
+
valueLabel: any
|
|
3167
|
+
}) => Promise<any[]>
|
|
3168
|
+
declare const fetchDataPreview: ({
|
|
3169
|
+
subject,
|
|
3170
|
+
domain,
|
|
3171
|
+
apiKey,
|
|
3172
|
+
token,
|
|
3173
|
+
source,
|
|
3174
|
+
numRows,
|
|
3175
|
+
cancelToken,
|
|
3176
|
+
}?: {
|
|
3177
|
+
subject?: string
|
|
3178
|
+
domain?: string
|
|
3179
|
+
apiKey?: string
|
|
3180
|
+
token?: string
|
|
3181
|
+
source?: string
|
|
3182
|
+
numRows?: number
|
|
3183
|
+
cancelToken?: any
|
|
3184
|
+
}) => Promise<axios.AxiosResponse<any, any>>
|
|
3185
|
+
|
|
3186
|
+
declare const fetchNotificationData: ({
|
|
3187
|
+
id,
|
|
3188
|
+
domain,
|
|
3189
|
+
apiKey,
|
|
3190
|
+
token,
|
|
3191
|
+
}: {
|
|
3192
|
+
id: any
|
|
3193
|
+
domain: any
|
|
3194
|
+
apiKey: any
|
|
3195
|
+
token: any
|
|
3196
|
+
}) => Promise<TransformedAxiosResponse>
|
|
3197
|
+
declare const fetchNotification: ({
|
|
3198
|
+
id,
|
|
3199
|
+
domain,
|
|
3200
|
+
apiKey,
|
|
3201
|
+
token,
|
|
3202
|
+
}: {
|
|
3203
|
+
id: any
|
|
3204
|
+
domain: any
|
|
3205
|
+
apiKey: any
|
|
3206
|
+
token: any
|
|
3207
|
+
}) => Promise<any>
|
|
3208
|
+
declare const isExpressionQueryValid: ({
|
|
3209
|
+
query,
|
|
3210
|
+
domain,
|
|
3211
|
+
apiKey,
|
|
3212
|
+
token,
|
|
3213
|
+
}: {
|
|
3214
|
+
query: any
|
|
3215
|
+
domain: any
|
|
3216
|
+
apiKey: any
|
|
3217
|
+
token: any
|
|
3218
|
+
}) => Promise<axios.AxiosResponse<any, any>>
|
|
3219
|
+
declare const fetchNotificationCount: ({
|
|
3220
|
+
domain,
|
|
3221
|
+
apiKey,
|
|
3222
|
+
token,
|
|
3223
|
+
unacknowledged,
|
|
3224
|
+
enableFetchNotificationCountAcrossProjects,
|
|
3225
|
+
}: {
|
|
3226
|
+
domain: any
|
|
3227
|
+
apiKey: any
|
|
3228
|
+
token: any
|
|
3229
|
+
unacknowledged?: number
|
|
3230
|
+
enableFetchNotificationCountAcrossProjects?: boolean
|
|
3231
|
+
}) => Promise<axios.AxiosResponse<any, any>>
|
|
3232
|
+
declare const fetchNotificationFeed: ({
|
|
3233
|
+
domain,
|
|
3234
|
+
apiKey,
|
|
3235
|
+
token,
|
|
3236
|
+
offset,
|
|
3237
|
+
limit,
|
|
3238
|
+
enableFetchAllNotificationFeedAcrossProjects,
|
|
3239
|
+
selectedProjectId,
|
|
3240
|
+
notificationTitle,
|
|
3241
|
+
}: {
|
|
3242
|
+
domain: any
|
|
3243
|
+
apiKey: any
|
|
3244
|
+
token: any
|
|
3245
|
+
offset: any
|
|
3246
|
+
limit: any
|
|
3247
|
+
enableFetchAllNotificationFeedAcrossProjects?: boolean
|
|
3248
|
+
selectedProjectId?: string
|
|
3249
|
+
notificationTitle?: string
|
|
3250
|
+
}) => Promise<any>
|
|
3251
|
+
declare const fetchNotificationChannels: ({
|
|
3252
|
+
domain,
|
|
3253
|
+
apiKey,
|
|
3254
|
+
token,
|
|
3255
|
+
channelType,
|
|
3256
|
+
}: {
|
|
3257
|
+
domain: any
|
|
3258
|
+
apiKey: any
|
|
3259
|
+
token: any
|
|
3260
|
+
channelType: any
|
|
3261
|
+
}) => Promise<any>
|
|
3262
|
+
declare const fetchDataAlerts: ({ domain, apiKey, token }: { domain: any; apiKey: any; token: any }) => Promise<any>
|
|
3263
|
+
declare const getDataAlertsByLabel: ({
|
|
3264
|
+
domain,
|
|
3265
|
+
apiKey,
|
|
3266
|
+
token,
|
|
3267
|
+
lableId,
|
|
3268
|
+
}: {
|
|
3269
|
+
domain: any
|
|
3270
|
+
apiKey: any
|
|
3271
|
+
token: any
|
|
3272
|
+
lableId: any
|
|
3273
|
+
}) => Promise<axios.AxiosResponse<any, any>>
|
|
3274
|
+
declare const getNotLabeledDataAlerts: ({
|
|
3275
|
+
domain,
|
|
3276
|
+
apiKey,
|
|
3277
|
+
token,
|
|
3278
|
+
}: {
|
|
3279
|
+
domain: any
|
|
3280
|
+
apiKey: any
|
|
3281
|
+
token: any
|
|
3282
|
+
}) => Promise<axios.AxiosResponse<any, any>>
|
|
3283
|
+
declare const fetchSubscribedDataAlerts: ({
|
|
3284
|
+
domain,
|
|
3285
|
+
apiKey,
|
|
3286
|
+
token,
|
|
3287
|
+
}: {
|
|
3288
|
+
domain: any
|
|
3289
|
+
apiKey: any
|
|
3290
|
+
token: any
|
|
3291
|
+
}) => Promise<any>
|
|
3292
|
+
declare const fetchRule: ({
|
|
3293
|
+
domain,
|
|
3294
|
+
apiKey,
|
|
3295
|
+
token,
|
|
3296
|
+
dataAlertId,
|
|
3297
|
+
}: {
|
|
3298
|
+
domain: any
|
|
3299
|
+
apiKey: any
|
|
3300
|
+
token: any
|
|
3301
|
+
dataAlertId: any
|
|
3302
|
+
}) => Promise<any>
|
|
3303
|
+
declare const resetNotificationCount: ({
|
|
3304
|
+
domain,
|
|
3305
|
+
apiKey,
|
|
3306
|
+
token,
|
|
3307
|
+
}: {
|
|
3308
|
+
domain: any
|
|
3309
|
+
apiKey: any
|
|
3310
|
+
token: any
|
|
3311
|
+
}) => Promise<any>
|
|
3312
|
+
declare const initializeAlert: ({
|
|
3313
|
+
id,
|
|
3314
|
+
domain,
|
|
3315
|
+
apiKey,
|
|
3316
|
+
token,
|
|
3317
|
+
}: {
|
|
3318
|
+
id: any
|
|
3319
|
+
domain: any
|
|
3320
|
+
apiKey: any
|
|
3321
|
+
token: any
|
|
3322
|
+
}) => Promise<any>
|
|
3323
|
+
declare const deleteNotification: ({
|
|
3324
|
+
notificationId,
|
|
3325
|
+
domain,
|
|
3326
|
+
apiKey,
|
|
3327
|
+
token,
|
|
3328
|
+
}: {
|
|
3329
|
+
notificationId: any
|
|
3330
|
+
domain: any
|
|
3331
|
+
apiKey: any
|
|
3332
|
+
token: any
|
|
3333
|
+
}) => Promise<axios.AxiosResponse<any, any>>
|
|
3334
|
+
declare const deleteMultipleNotifications: ({
|
|
3335
|
+
notificationList,
|
|
3336
|
+
domain,
|
|
3337
|
+
apiKey,
|
|
3338
|
+
token,
|
|
3339
|
+
}: {
|
|
3340
|
+
notificationList: any
|
|
3341
|
+
domain: any
|
|
3342
|
+
apiKey: any
|
|
3343
|
+
token: any
|
|
3344
|
+
}) => Promise<axios.AxiosResponse<any, any>>
|
|
3345
|
+
declare const deleteAllNotifications: ({
|
|
3346
|
+
domain,
|
|
3347
|
+
apiKey,
|
|
3348
|
+
token,
|
|
3349
|
+
projectId,
|
|
3350
|
+
}: {
|
|
3351
|
+
domain: any
|
|
3352
|
+
apiKey: any
|
|
3353
|
+
token: any
|
|
3354
|
+
projectId: any
|
|
3355
|
+
}) => Promise<axios.AxiosResponse<any, any>>
|
|
3356
|
+
declare const dismissAllNotifications: ({
|
|
3357
|
+
domain,
|
|
3358
|
+
apiKey,
|
|
3359
|
+
token,
|
|
3360
|
+
}: {
|
|
3361
|
+
domain: any
|
|
3362
|
+
apiKey: any
|
|
3363
|
+
token: any
|
|
3364
|
+
}) => Promise<axios.AxiosResponse<any, any>>
|
|
3365
|
+
declare const markNotificationAsUnread: ({
|
|
3366
|
+
notificationId,
|
|
3367
|
+
domain,
|
|
3368
|
+
apiKey,
|
|
3369
|
+
token,
|
|
3370
|
+
}: {
|
|
3371
|
+
notificationId: any
|
|
3372
|
+
domain: any
|
|
3373
|
+
apiKey: any
|
|
3374
|
+
token: any
|
|
3375
|
+
}) => Promise<axios.AxiosResponse<any, any>>
|
|
3376
|
+
declare const dismissNotification: ({
|
|
3377
|
+
notificationId,
|
|
3378
|
+
domain,
|
|
3379
|
+
apiKey,
|
|
3380
|
+
token,
|
|
3381
|
+
}: {
|
|
3382
|
+
notificationId: any
|
|
3383
|
+
domain: any
|
|
3384
|
+
apiKey: any
|
|
3385
|
+
token: any
|
|
3386
|
+
}) => Promise<axios.AxiosResponse<any, any>>
|
|
3387
|
+
declare const removeUserFromProjectRule: ({
|
|
3388
|
+
dataAlertId,
|
|
3389
|
+
token,
|
|
3390
|
+
domain,
|
|
3391
|
+
apiKey,
|
|
3392
|
+
}: {
|
|
3393
|
+
dataAlertId: any
|
|
3394
|
+
token: any
|
|
3395
|
+
domain: any
|
|
3396
|
+
apiKey: any
|
|
3397
|
+
}) => Promise<axios.AxiosResponse<any, any>>
|
|
3398
|
+
declare const addUserToProjectRule: ({
|
|
3399
|
+
dataAlertId,
|
|
3400
|
+
token,
|
|
3401
|
+
domain,
|
|
3402
|
+
apiKey,
|
|
3403
|
+
}: {
|
|
3404
|
+
dataAlertId: any
|
|
3405
|
+
token: any
|
|
3406
|
+
domain: any
|
|
3407
|
+
apiKey: any
|
|
3408
|
+
}) => Promise<axios.AxiosResponse<any, any>>
|
|
3409
|
+
declare const toggleProjectDataAlertStatus: ({
|
|
3410
|
+
dataAlertId,
|
|
3411
|
+
status,
|
|
3412
|
+
token,
|
|
3413
|
+
domain,
|
|
3414
|
+
apiKey,
|
|
3415
|
+
}: {
|
|
3416
|
+
dataAlertId: any
|
|
3417
|
+
status: any
|
|
3418
|
+
token: any
|
|
3419
|
+
domain: any
|
|
3420
|
+
apiKey: any
|
|
3421
|
+
}) => Promise<axios.AxiosResponse<any, any>>
|
|
3422
|
+
declare const toggleCustomDataAlertStatus: ({
|
|
3423
|
+
dataAlertId,
|
|
3424
|
+
status,
|
|
3425
|
+
token,
|
|
3426
|
+
domain,
|
|
3427
|
+
apiKey,
|
|
3428
|
+
}: {
|
|
3429
|
+
dataAlertId: any
|
|
3430
|
+
status: any
|
|
3431
|
+
token: any
|
|
3432
|
+
domain: any
|
|
3433
|
+
apiKey: any
|
|
3434
|
+
}) => Promise<axios.AxiosResponse<any, any>>
|
|
3435
|
+
declare const updateDataAlertStatus: ({
|
|
3436
|
+
dataAlertId,
|
|
3437
|
+
status,
|
|
3438
|
+
type,
|
|
3439
|
+
domain,
|
|
3440
|
+
apiKey,
|
|
3441
|
+
token,
|
|
3442
|
+
}: {
|
|
3443
|
+
dataAlertId: any
|
|
3444
|
+
status: any
|
|
3445
|
+
type: any
|
|
3446
|
+
domain: any
|
|
3447
|
+
apiKey: any
|
|
3448
|
+
token: any
|
|
3449
|
+
}) => Promise<axios.AxiosResponse<any, any>>
|
|
3450
|
+
declare const createNotificationChannel: ({
|
|
3451
|
+
token,
|
|
3452
|
+
domain,
|
|
3453
|
+
apiKey,
|
|
3454
|
+
channelType,
|
|
3455
|
+
channelName,
|
|
3456
|
+
channelEmail,
|
|
3457
|
+
userName,
|
|
3458
|
+
userEmail,
|
|
3459
|
+
}: {
|
|
3460
|
+
token: any
|
|
3461
|
+
domain: any
|
|
3462
|
+
apiKey: any
|
|
3463
|
+
channelType: any
|
|
3464
|
+
channelName: any
|
|
3465
|
+
channelEmail: any
|
|
3466
|
+
userName: any
|
|
3467
|
+
userEmail: any
|
|
3468
|
+
}) => Promise<axios.AxiosResponse<any, any>>
|
|
3469
|
+
declare const sendDataToChannel: ({
|
|
3470
|
+
token,
|
|
3471
|
+
domain,
|
|
3472
|
+
apiKey,
|
|
3473
|
+
channelId,
|
|
3474
|
+
fileName,
|
|
3475
|
+
base64Data,
|
|
3476
|
+
}: {
|
|
3477
|
+
token: any
|
|
3478
|
+
domain: any
|
|
3479
|
+
apiKey: any
|
|
3480
|
+
channelId: any
|
|
3481
|
+
fileName: any
|
|
3482
|
+
base64Data: any
|
|
3483
|
+
}) => Promise<axios.AxiosResponse<any, any>>
|
|
3484
|
+
declare const updateDataAlert: ({
|
|
3485
|
+
dataAlert,
|
|
3486
|
+
domain,
|
|
3487
|
+
apiKey,
|
|
3488
|
+
token,
|
|
3489
|
+
}: {
|
|
3490
|
+
dataAlert: any
|
|
3491
|
+
domain: any
|
|
3492
|
+
apiKey: any
|
|
3493
|
+
token: any
|
|
3494
|
+
}) => Promise<axios.AxiosResponse<any, any>>
|
|
3495
|
+
declare const createDataAlert: ({
|
|
3496
|
+
dataAlert,
|
|
3497
|
+
domain,
|
|
3498
|
+
apiKey,
|
|
3499
|
+
token,
|
|
3500
|
+
}: {
|
|
3501
|
+
dataAlert?: {}
|
|
3502
|
+
domain: any
|
|
3503
|
+
apiKey: any
|
|
3504
|
+
token: any
|
|
3505
|
+
}) => Promise<axios.AxiosResponse<any, any>>
|
|
3506
|
+
declare const createManagementDataAlert: ({
|
|
3507
|
+
dataAlert,
|
|
3508
|
+
domain,
|
|
3509
|
+
apiKey,
|
|
3510
|
+
token,
|
|
3511
|
+
projectId,
|
|
3512
|
+
evaluationMode,
|
|
3513
|
+
}: {
|
|
3514
|
+
dataAlert?: {}
|
|
3515
|
+
domain: any
|
|
3516
|
+
apiKey: any
|
|
3517
|
+
token: any
|
|
3518
|
+
projectId: any
|
|
3519
|
+
evaluationMode: any
|
|
3520
|
+
}) => Promise<axios.AxiosResponse<any, any>>
|
|
3521
|
+
declare const updateManagementDataAlert: ({
|
|
3522
|
+
dataAlert,
|
|
3523
|
+
domain,
|
|
3524
|
+
apiKey,
|
|
3525
|
+
token,
|
|
3526
|
+
projectId,
|
|
3527
|
+
}: {
|
|
3528
|
+
dataAlert: any
|
|
3529
|
+
domain: any
|
|
3530
|
+
apiKey: any
|
|
3531
|
+
token: any
|
|
3532
|
+
projectId: any
|
|
3533
|
+
}) => Promise<axios.AxiosResponse<any, any>>
|
|
3534
|
+
declare const previewDataAlert: ({
|
|
3535
|
+
dataAlertId,
|
|
3536
|
+
domain,
|
|
3537
|
+
apiKey,
|
|
3538
|
+
token,
|
|
3539
|
+
}: {
|
|
3540
|
+
dataAlertId: any
|
|
3541
|
+
domain: any
|
|
3542
|
+
apiKey: any
|
|
3543
|
+
token: any
|
|
3544
|
+
}) => Promise<axios.AxiosResponse<any, any>>
|
|
3545
|
+
declare const previewManagementDataAlert: ({
|
|
3546
|
+
dataAlertId,
|
|
3547
|
+
domain,
|
|
3548
|
+
apiKey,
|
|
3549
|
+
token,
|
|
3550
|
+
projectId,
|
|
3551
|
+
}: {
|
|
3552
|
+
dataAlertId: any
|
|
3553
|
+
domain: any
|
|
3554
|
+
apiKey: any
|
|
3555
|
+
token: any
|
|
3556
|
+
projectId: any
|
|
3557
|
+
}) => Promise<axios.AxiosResponse<any, any>>
|
|
3558
|
+
declare const assignLabelToManagementDataAlert: ({
|
|
3559
|
+
dataAlertId,
|
|
3560
|
+
domain,
|
|
3561
|
+
apiKey,
|
|
3562
|
+
token,
|
|
3563
|
+
categoryId,
|
|
3564
|
+
}: {
|
|
3565
|
+
dataAlertId: any
|
|
3566
|
+
domain: any
|
|
3567
|
+
apiKey: any
|
|
3568
|
+
token: any
|
|
3569
|
+
categoryId: any
|
|
3570
|
+
}) => Promise<axios.AxiosResponse<any, any>>
|
|
3571
|
+
declare const validateExpression: ({
|
|
3572
|
+
expression,
|
|
3573
|
+
domain,
|
|
3574
|
+
apiKey,
|
|
3575
|
+
token,
|
|
3576
|
+
}: {
|
|
3577
|
+
expression: any
|
|
3578
|
+
domain: any
|
|
3579
|
+
apiKey: any
|
|
3580
|
+
token: any
|
|
3581
|
+
}) => Promise<axios.AxiosResponse<any, any>>
|
|
3582
|
+
declare const deleteDataAlert: (dataAlertId: any, authObject: any) => Promise<axios.AxiosResponse<any, any>>
|
|
3583
|
+
declare const getAllDataAlertsLabelsByProject: ({
|
|
3584
|
+
domain,
|
|
3585
|
+
apiKey,
|
|
3586
|
+
token,
|
|
3587
|
+
}: {
|
|
3588
|
+
domain: any
|
|
3589
|
+
apiKey: any
|
|
3590
|
+
token: any
|
|
3591
|
+
}) => Promise<axios.AxiosResponse<any, any>>
|
|
3592
|
+
declare const getAllDataAlertsLabels: ({
|
|
3593
|
+
domain,
|
|
3594
|
+
apiKey,
|
|
3595
|
+
token,
|
|
3596
|
+
}: {
|
|
3597
|
+
domain: any
|
|
3598
|
+
apiKey: any
|
|
3599
|
+
token: any
|
|
3600
|
+
}) => Promise<axios.AxiosResponse<any, any>>
|
|
3601
|
+
declare const removeNotificationChannel: ({
|
|
3602
|
+
channelId,
|
|
3603
|
+
domain,
|
|
3604
|
+
apiKey,
|
|
3605
|
+
token,
|
|
3606
|
+
}: {
|
|
3607
|
+
channelId: any
|
|
3608
|
+
domain: any
|
|
3609
|
+
apiKey: any
|
|
3610
|
+
token: any
|
|
3611
|
+
}) => Promise<axios.AxiosResponse<any, any>>
|
|
3612
|
+
|
|
3613
|
+
declare const getQueryFn: (
|
|
3614
|
+
response: TransformedAxiosResponse | undefined,
|
|
3615
|
+
) => ({
|
|
3616
|
+
authentication,
|
|
3617
|
+
autoQLConfig,
|
|
3618
|
+
originalQueryID,
|
|
3619
|
+
formattedTableParams,
|
|
3620
|
+
clickedFilter,
|
|
3621
|
+
...args
|
|
3622
|
+
}: {
|
|
3623
|
+
[x: string]: any
|
|
3624
|
+
authentication?: {}
|
|
3625
|
+
autoQLConfig?: {}
|
|
3626
|
+
originalQueryID: any
|
|
3627
|
+
formattedTableParams: any
|
|
3628
|
+
clickedFilter: any
|
|
3629
|
+
}) => any
|
|
3630
|
+
declare const transformQueryResponse: (
|
|
3631
|
+
response: AxiosResponse | undefined,
|
|
3632
|
+
originalQueryID?: string,
|
|
3633
|
+
isDrilldown?: boolean,
|
|
3634
|
+
newColumns?: AdditionalSelect[],
|
|
3635
|
+
) => TransformedAxiosResponse
|
|
3636
|
+
declare const transformQueryResponseColumns: (response: AxiosResponse, addedColumns?: AdditionalSelect[]) => Column[]
|
|
3637
|
+
|
|
3638
|
+
declare const sendTrainingData: ({
|
|
3639
|
+
trainingData,
|
|
3640
|
+
apiKey,
|
|
3641
|
+
domain,
|
|
3642
|
+
token,
|
|
3643
|
+
}?: {
|
|
3644
|
+
trainingData?: object
|
|
3645
|
+
domain?: string
|
|
3646
|
+
apiKey?: string
|
|
3647
|
+
token?: string
|
|
3648
|
+
}) => Promise<axios.AxiosResponse<any, any>>
|
|
3649
|
+
|
|
3650
|
+
declare enum ThemeType {
|
|
3651
|
+
LIGHT = 'light',
|
|
3652
|
+
DARK = 'dark',
|
|
3653
|
+
}
|
|
3654
|
+
type Theme = {
|
|
3655
|
+
theme?: ThemeType
|
|
3656
|
+
chartColors?: string[]
|
|
3657
|
+
accentColor?: string
|
|
3658
|
+
fontFamily?: string
|
|
3659
|
+
textColor?: string
|
|
3660
|
+
textColorSecondary?: string
|
|
3661
|
+
accentTextColor?: string
|
|
3662
|
+
dashboardTitleColor?: string
|
|
3663
|
+
backgroundColorPrimary?: string
|
|
3664
|
+
backgroundColorSecondary?: string
|
|
3665
|
+
}
|
|
3666
|
+
declare const getThemeValue: (property: string, prefix?: string) => string
|
|
3667
|
+
declare const getThemeType: () => ThemeType
|
|
3668
|
+
type chartColorVarsResponse = {
|
|
3669
|
+
chartColors: string[]
|
|
3670
|
+
chartColorsDark: string[]
|
|
3671
|
+
}
|
|
3672
|
+
declare const getChartColorVars: (prefix: any) => chartColorVarsResponse
|
|
3673
|
+
declare const configureTheme: (customThemeConfig?: Theme, prefix?: string) => void
|
|
3674
|
+
|
|
3675
|
+
declare function color(): {
|
|
3676
|
+
(svg: any): void
|
|
3677
|
+
scale(_: any): any
|
|
3678
|
+
cells(_: any): number[] | any
|
|
3679
|
+
cellFilter(_: any): any
|
|
3680
|
+
shape(_: any): string | any
|
|
3681
|
+
path(_: any): any
|
|
3682
|
+
shapeWidth(_: any): number | any
|
|
3683
|
+
shapeHeight(_: any): number | any
|
|
3684
|
+
shapeRadius(_: any): number | any
|
|
3685
|
+
shapePadding(_: any): number | any
|
|
3686
|
+
labels(_: any): any[] | any
|
|
3687
|
+
labelAlign(_: any): string | any
|
|
3688
|
+
locale(_?: any):
|
|
3689
|
+
| {
|
|
3690
|
+
format: any
|
|
3691
|
+
formatPrefix: any
|
|
3692
|
+
}
|
|
3693
|
+
| any
|
|
3694
|
+
labelFormat(_: any): any
|
|
3695
|
+
labelOffset(_: any): number | any
|
|
3696
|
+
labelDelimiter(_: any): string | any
|
|
3697
|
+
labelWrap(_: any): any
|
|
3698
|
+
useClass(_: any): boolean | any
|
|
3699
|
+
orient(_: any): string | any
|
|
3700
|
+
ascending(_: any): boolean | any
|
|
3701
|
+
classPrefix(_: any): string | any
|
|
3702
|
+
title(_: any): string | any
|
|
3703
|
+
titleWidth(_: any): any
|
|
3704
|
+
textWrap(_: any): any
|
|
3705
|
+
on(): any
|
|
3706
|
+
}
|
|
3707
|
+
|
|
3708
|
+
export {
|
|
3709
|
+
AGG_TYPES,
|
|
3710
|
+
AXIS_TITLE_BORDER_PADDING_LEFT,
|
|
3711
|
+
AXIS_TITLE_BORDER_PADDING_TOP,
|
|
3712
|
+
AXIS_TITLE_PADDING_BOTTOM,
|
|
3713
|
+
AXIS_TITLE_PADDING_TOP,
|
|
3714
|
+
type AdditionalSelect,
|
|
3715
|
+
AggType,
|
|
3716
|
+
type AggTypeParams,
|
|
3717
|
+
AggTypes,
|
|
3718
|
+
type ApiFilter,
|
|
3719
|
+
type ApiSorter,
|
|
3720
|
+
type Authentication,
|
|
3721
|
+
type AutoQLJWT,
|
|
3722
|
+
type AvailableSelect,
|
|
3723
|
+
type AxiosResponse,
|
|
3724
|
+
BUTTON_PADDING,
|
|
3725
|
+
CHARTS_WITHOUT_AGGREGATED_DATA,
|
|
3726
|
+
CHARTS_WITHOUT_AXES,
|
|
3727
|
+
CHARTS_WITHOUT_LEGENDS,
|
|
3728
|
+
CHART_PADDING,
|
|
3729
|
+
CHART_TYPES,
|
|
3730
|
+
COLUMN_TYPES,
|
|
3731
|
+
COMPARE_TYPE,
|
|
3732
|
+
CONTINUOUS_TYPE,
|
|
3733
|
+
CUSTOM_TYPE,
|
|
3734
|
+
type Column,
|
|
3735
|
+
Column$1 as ColumnObj,
|
|
3736
|
+
type ColumnSelect,
|
|
3737
|
+
ColumnType,
|
|
3738
|
+
ColumnTypes,
|
|
3739
|
+
CustomColumnRowRangeTypes,
|
|
3740
|
+
CustomColumnTypes,
|
|
3741
|
+
CustomColumnValues,
|
|
3742
|
+
DATA_ALERT_CONDITION_TYPES,
|
|
3743
|
+
DATA_ALERT_ENABLED_STATUSES,
|
|
3744
|
+
DATA_ALERT_FREQUENCY_TYPE_OPTIONS,
|
|
3745
|
+
DATA_ALERT_OPERATORS,
|
|
3746
|
+
DATA_ALERT_STATUSES,
|
|
3747
|
+
DATE_ONLY_CHART_TYPES,
|
|
3748
|
+
DAYJS_PRECISION_FORMATS,
|
|
3749
|
+
DEFAULT_AGG_TYPE,
|
|
3750
|
+
DEFAULT_CHART_CONFIG,
|
|
3751
|
+
DEFAULT_COLUMN_NAME,
|
|
3752
|
+
DEFAULT_CSS_PREFIX,
|
|
3753
|
+
DEFAULT_DATA_PAGE_SIZE,
|
|
3754
|
+
DEFAULT_EVALUATION_FREQUENCY,
|
|
3755
|
+
DEFAULT_LEGEND_PADDING_BOTTOM,
|
|
3756
|
+
DEFAULT_LEGEND_PADDING_LEFT,
|
|
3757
|
+
DEFAULT_LEGEND_PADDING_RIGHT,
|
|
3758
|
+
DEFAULT_LEGEND_PADDING_TOP,
|
|
3759
|
+
DEFAULT_MAX_LEGEND_WIDTH,
|
|
3760
|
+
DEFAULT_SOURCE,
|
|
3761
|
+
DISABLED_CLASS,
|
|
3762
|
+
DISPLAY_TYPES,
|
|
3763
|
+
DOUBLE_AXIS_CHART_TYPES,
|
|
3764
|
+
DOW_STYLES,
|
|
3765
|
+
DataExplorerSubject,
|
|
3766
|
+
type DataExplorerSubjectFilter,
|
|
3767
|
+
type DataExplorerSubjectGroups,
|
|
3768
|
+
type DataExplorerSubjectInterface,
|
|
3769
|
+
type DataExplorerSuggestion,
|
|
3770
|
+
DataExplorerTypes,
|
|
3771
|
+
type DataFormatting,
|
|
3772
|
+
DateStringPrecisionTypes,
|
|
3773
|
+
DateUTC,
|
|
3774
|
+
type DisplayOverride,
|
|
3775
|
+
DisplayTypes,
|
|
3776
|
+
EVALUATION_FREQUENCY_OPTIONS,
|
|
3777
|
+
EXISTS_TYPE,
|
|
3778
|
+
FORMULA_CLASS,
|
|
3779
|
+
FUNCTION_OPERATORS,
|
|
3780
|
+
type FilterLock,
|
|
3781
|
+
type FrontendReq,
|
|
3782
|
+
GENERAL_ERROR,
|
|
3783
|
+
GENERAL_HTML_ERROR,
|
|
3784
|
+
GENERAL_QUERY_ERROR,
|
|
3785
|
+
GLOBAL_OPERATORS,
|
|
3786
|
+
GROUP_TERM_TYPE,
|
|
3787
|
+
GeneralErrorTypes,
|
|
3788
|
+
HIGHLIGHTED_CLASS,
|
|
3789
|
+
HORIZONTAL_LEGEND_SPACING,
|
|
3790
|
+
LABEL_FONT_SIZE,
|
|
3791
|
+
LEGEND_BORDER_PADDING,
|
|
3792
|
+
LEGEND_BORDER_THICKNESS,
|
|
3793
|
+
LEGEND_SHAPE_SIZE,
|
|
3794
|
+
LEGEND_TOP_ADJUSTMENT,
|
|
3795
|
+
LOAD_MORE_DROPDOWN_PADDING_BOTTOM,
|
|
3796
|
+
MAX_CHART_ELEMENTS,
|
|
3797
|
+
MAX_DATA_PAGE_SIZE,
|
|
3798
|
+
MAX_LEGEND_LABELS,
|
|
3799
|
+
MAX_RECENT_SEARCHES,
|
|
3800
|
+
MAX_ROWS_FOR_PIE_CHART,
|
|
3801
|
+
MINIMUM_INNER_HEIGHT,
|
|
3802
|
+
MINIMUM_INNER_WIDTH,
|
|
3803
|
+
MINIMUM_TITLE_LENGTH,
|
|
3804
|
+
MIN_HISTOGRAM_SAMPLE,
|
|
3805
|
+
MONTH_DAY_SELECT_OPTIONS,
|
|
3806
|
+
MONTH_NAMES,
|
|
3807
|
+
NUMBER_TERM_TYPE,
|
|
3808
|
+
OPERATORS,
|
|
3809
|
+
ORDERBY_DIRECTIONS,
|
|
3810
|
+
Operators,
|
|
3811
|
+
PATH_SMOOTHING,
|
|
3812
|
+
PERIODIC_TYPE,
|
|
3813
|
+
PROJECT_TYPE,
|
|
3814
|
+
type ParsedInterpretation,
|
|
3815
|
+
type ParsedInterpretationChunk,
|
|
3816
|
+
PrecisionTypes,
|
|
3817
|
+
QUERY_TERM_TYPE,
|
|
3818
|
+
QUERY_TIMEOUT_ERROR,
|
|
3819
|
+
type QueryData,
|
|
3820
|
+
QueryErrorTypes,
|
|
3821
|
+
type QueryResponse,
|
|
3822
|
+
REQUEST_CANCELLED_ERROR,
|
|
3823
|
+
RESET_PERIOD_OPTIONS,
|
|
3824
|
+
ROWS_RANGE,
|
|
3825
|
+
ROWS_RANGE_OPTIONS,
|
|
3826
|
+
type RawColumn,
|
|
3827
|
+
type Rows,
|
|
3828
|
+
SCHEDULED_TYPE,
|
|
3829
|
+
SCHEDULE_FREQUENCY_OPTIONS,
|
|
3830
|
+
SCHEDULE_INTERVAL_OPTIONS,
|
|
3831
|
+
SEASON_NAMES,
|
|
3832
|
+
SampleQueryReplacementTypes,
|
|
3833
|
+
type Scale,
|
|
3834
|
+
type SubjectSuggestion,
|
|
3835
|
+
TABLE_TYPES,
|
|
3836
|
+
TITLE_FONT_SIZE,
|
|
3837
|
+
type TableConfig,
|
|
3838
|
+
type TabulatorFilter,
|
|
3839
|
+
type TabulatorSorter,
|
|
3840
|
+
type Theme,
|
|
3841
|
+
ThemeType,
|
|
3842
|
+
type TransformedAxiosResponse,
|
|
3843
|
+
type TransformedQueryResponse,
|
|
3844
|
+
TranslationTypes,
|
|
3845
|
+
UNAUTHENTICATED_ERROR,
|
|
3846
|
+
VERTICAL_LEGEND_SPACING,
|
|
3847
|
+
type ValueLabel,
|
|
3848
|
+
type ValueLabelSuggestion,
|
|
3849
|
+
WEEKDAY_NAMES_MON,
|
|
3850
|
+
WEEKDAY_NAMES_SUN,
|
|
3851
|
+
WINDOW_FUNCTIONS,
|
|
3852
|
+
addSubjectToRecentSearches,
|
|
3853
|
+
addUserToProjectRule,
|
|
3854
|
+
adjustBottomTitleToFit,
|
|
3855
|
+
adjustMinAndMaxForScaleRatio,
|
|
3856
|
+
adjustTitleToFit,
|
|
3857
|
+
adjustTopTitleToFit,
|
|
3858
|
+
adjustVerticalTitleToFit,
|
|
3859
|
+
aggregateData,
|
|
3860
|
+
aggregateOtherCategory,
|
|
3861
|
+
animateInputText,
|
|
3862
|
+
applyLegendTitleStyles,
|
|
3863
|
+
applyPrecisionToDate,
|
|
3864
|
+
applyStylesForHiddenSeries,
|
|
3865
|
+
areAllColumnsHidden,
|
|
3866
|
+
areSomeColumnsHidden,
|
|
3867
|
+
assignLabelToManagementDataAlert,
|
|
3868
|
+
authenticationDefault,
|
|
3869
|
+
autoQLConfigDefault,
|
|
3870
|
+
bezierCommand,
|
|
3871
|
+
buildPlainColumnArrayFn,
|
|
3872
|
+
calculateMinAndMaxSums,
|
|
3873
|
+
capitalizeFirstChar,
|
|
3874
|
+
cloneObject,
|
|
3875
|
+
configureTheme,
|
|
3876
|
+
constructFilter,
|
|
3877
|
+
constructRTArray,
|
|
3878
|
+
convertToFunctionStr,
|
|
3879
|
+
convertToNumber,
|
|
3880
|
+
countDecimals,
|
|
3881
|
+
createDataAlert,
|
|
3882
|
+
createManagementDataAlert,
|
|
3883
|
+
createMutatorFn,
|
|
3884
|
+
createNotificationChannel,
|
|
3885
|
+
createSVGPath,
|
|
3886
|
+
currentEventLoopEnd,
|
|
3887
|
+
dataConfigDefault,
|
|
3888
|
+
dataFormattingDefault,
|
|
3889
|
+
dataStructureChanged,
|
|
3890
|
+
dateSortFn,
|
|
3891
|
+
dateStringSortFn,
|
|
3892
|
+
deepEqual,
|
|
3893
|
+
deleteAllNotifications,
|
|
3894
|
+
deleteDataAlert,
|
|
3895
|
+
deleteMultipleNotifications,
|
|
3896
|
+
deleteNotification,
|
|
3897
|
+
difference,
|
|
3898
|
+
dismissAllNotifications,
|
|
3899
|
+
dismissNotification,
|
|
3900
|
+
distributeListsEvenly,
|
|
3901
|
+
doesElementOverflowContainer,
|
|
3902
|
+
exportCSV,
|
|
3903
|
+
fetchAutocomplete,
|
|
3904
|
+
fetchDataAlerts,
|
|
3905
|
+
fetchDataExplorerAutocomplete,
|
|
3906
|
+
fetchDataExplorerSampleQueries,
|
|
3907
|
+
fetchDataExplorerSuggestions,
|
|
3908
|
+
fetchDataPreview,
|
|
3909
|
+
fetchExploreQueries,
|
|
3910
|
+
fetchFilters,
|
|
3911
|
+
fetchNotification,
|
|
3912
|
+
fetchNotificationChannels,
|
|
3913
|
+
fetchNotificationCount,
|
|
3914
|
+
fetchNotificationData,
|
|
3915
|
+
fetchNotificationFeed,
|
|
3916
|
+
fetchRule,
|
|
3917
|
+
fetchSubjectList,
|
|
3918
|
+
fetchSubjectListV2,
|
|
3919
|
+
fetchSubscribedDataAlerts,
|
|
3920
|
+
fetchSuggestions,
|
|
3921
|
+
fetchTopics,
|
|
3922
|
+
fetchTopicsForVL,
|
|
3923
|
+
fetchVLAutocomplete,
|
|
3924
|
+
filterDataByColumn,
|
|
3925
|
+
formatAdditionalSelectColumn,
|
|
3926
|
+
formatChartLabel,
|
|
3927
|
+
formatDatePivotMonth,
|
|
3928
|
+
formatDatePivotYear,
|
|
3929
|
+
formatDateStringType,
|
|
3930
|
+
formatDateType,
|
|
3931
|
+
formatElement,
|
|
3932
|
+
formatEpochDate,
|
|
3933
|
+
formatFiltersForAPI,
|
|
3934
|
+
formatFiltersForTabulator,
|
|
3935
|
+
formatISODateWithPrecision,
|
|
3936
|
+
formatNextScheduleDate,
|
|
3937
|
+
formatNumberFilterValue,
|
|
3938
|
+
formatQueryColumns,
|
|
3939
|
+
formatResetDate,
|
|
3940
|
+
formatSortersForAPI,
|
|
3941
|
+
formatSortersForTabulator,
|
|
3942
|
+
formatStringDate,
|
|
3943
|
+
formatStringDateWithPrecision,
|
|
3944
|
+
formatTableParams,
|
|
3945
|
+
functionsEqual,
|
|
3946
|
+
generateDatePivotData,
|
|
3947
|
+
generateFilterDrilldownResponse,
|
|
3948
|
+
generatePivotData,
|
|
3949
|
+
generatePivotTableData,
|
|
3950
|
+
getAggConfig,
|
|
3951
|
+
getAllDataAlertsLabels,
|
|
3952
|
+
getAllDataAlertsLabelsByProject,
|
|
3953
|
+
getAuthentication,
|
|
3954
|
+
getAutoQLConfig,
|
|
3955
|
+
getAxis,
|
|
3956
|
+
getAxisLabelsBbox,
|
|
3957
|
+
getBBoxFromRef,
|
|
3958
|
+
getBandScale,
|
|
3959
|
+
getBarRectObj,
|
|
3960
|
+
getBinData,
|
|
3961
|
+
getBinLinearScale,
|
|
3962
|
+
getBubbleObj,
|
|
3963
|
+
getChartColorVars,
|
|
3964
|
+
getChartScaleRatio,
|
|
3965
|
+
getCleanColumnName,
|
|
3966
|
+
getColorScale,
|
|
3967
|
+
getColorScales,
|
|
3968
|
+
getColumnDateRanges,
|
|
3969
|
+
getColumnIndexConfig,
|
|
3970
|
+
getColumnNameForDateRange,
|
|
3971
|
+
getColumnRectObj,
|
|
3972
|
+
getColumnTypeAmounts,
|
|
3973
|
+
getCombinedFilters,
|
|
3974
|
+
getCurrencySymbol,
|
|
3975
|
+
getCurrentTimezone,
|
|
3976
|
+
getDataAlertsByLabel,
|
|
3977
|
+
getDataConfig,
|
|
3978
|
+
getDataFormatting,
|
|
3979
|
+
getDateColumnIndex,
|
|
3980
|
+
getDateColumns,
|
|
3981
|
+
getDateNoQuotes,
|
|
3982
|
+
getDateRangeIntersection,
|
|
3983
|
+
getDateRangesFromInterpretation,
|
|
3984
|
+
getDatesFromRT,
|
|
3985
|
+
getDayJSObj,
|
|
3986
|
+
getDayLocalStartDate,
|
|
3987
|
+
getDayOfTheMonthFromTimestamp,
|
|
3988
|
+
getDayOfTheMonthSuffix,
|
|
3989
|
+
getDayjsObjForStringType,
|
|
3990
|
+
getDefaultBucketConfig,
|
|
3991
|
+
getDefaultDisplayType,
|
|
3992
|
+
getDefaultJoinColumnAndDisplayNameAndJoinColumnsIndices,
|
|
3993
|
+
getDefaultJoinColumns,
|
|
3994
|
+
getDrilldownData,
|
|
3995
|
+
getDrilldownGroupby,
|
|
3996
|
+
getEpochFromDate,
|
|
3997
|
+
getFilterDrilldown,
|
|
3998
|
+
getFilterPrecision,
|
|
3999
|
+
getFirstChartDisplayType,
|
|
4000
|
+
getFnSummary,
|
|
4001
|
+
getFormattedTimestamp,
|
|
4002
|
+
getGroupBys,
|
|
4003
|
+
getGroupBysFromPivotTable,
|
|
4004
|
+
getGroupBysFromTable,
|
|
4005
|
+
getGroupableColumns,
|
|
4006
|
+
getHeatmapRectObj,
|
|
4007
|
+
getHiddenColumns,
|
|
4008
|
+
getHistogramColumnObj,
|
|
4009
|
+
getHistogramScale,
|
|
4010
|
+
getInitialBucketSize,
|
|
4011
|
+
getInitialSelections,
|
|
4012
|
+
getKey,
|
|
4013
|
+
getKeyByValue,
|
|
4014
|
+
getLabelsBBox,
|
|
4015
|
+
getLegendLabels,
|
|
4016
|
+
getLegendLabelsForGroupbyQuery,
|
|
4017
|
+
getLegendLabelsForMultiSeries,
|
|
4018
|
+
getLegendLabelsForSingleColumn,
|
|
4019
|
+
getLegendLocation,
|
|
4020
|
+
getLegendScale,
|
|
4021
|
+
getLegendTitleFromColumns,
|
|
4022
|
+
getLineVertexObj,
|
|
4023
|
+
getLinearAxisTitle,
|
|
4024
|
+
getLinearScale,
|
|
4025
|
+
getLinearScales,
|
|
4026
|
+
getMaxLegendHeight,
|
|
4027
|
+
getMaxLegendSectionWidth,
|
|
4028
|
+
getMaxTickLabelWidth,
|
|
4029
|
+
getMaxValueFromKeyValueObj,
|
|
4030
|
+
getMinAndMaxValues,
|
|
4031
|
+
getMinValueFromKeyValueObj,
|
|
4032
|
+
getMonthLocalStartDate,
|
|
4033
|
+
getMultiSeriesColumnIndex,
|
|
4034
|
+
getNiceDateTickValues,
|
|
4035
|
+
getNiceTickValues,
|
|
4036
|
+
getNotLabeledDataAlerts,
|
|
4037
|
+
getNumberAxisUnits,
|
|
4038
|
+
getNumberColumnIndices,
|
|
4039
|
+
getNumberFormatConfig,
|
|
4040
|
+
getNumberOfGroupables,
|
|
4041
|
+
getNumberOfSeries,
|
|
4042
|
+
getNumericalColumns,
|
|
4043
|
+
getObjSize,
|
|
4044
|
+
getOpacityScale,
|
|
4045
|
+
getOperators,
|
|
4046
|
+
getPadding,
|
|
4047
|
+
getPieChartData,
|
|
4048
|
+
getPivotColumnIndexConfig,
|
|
4049
|
+
getPlainTextList,
|
|
4050
|
+
getPointObj,
|
|
4051
|
+
getPotentialDisplayTypes,
|
|
4052
|
+
getPrecisionForDayJS,
|
|
4053
|
+
getQueryFn,
|
|
4054
|
+
getQueryParams,
|
|
4055
|
+
getQueryRequestParams,
|
|
4056
|
+
getQuerySelectableJoinColumns,
|
|
4057
|
+
getQueryValidationQueryText,
|
|
4058
|
+
getRadiusScale,
|
|
4059
|
+
getRangeForAxis,
|
|
4060
|
+
getRecentSearchesFromLocalStorage,
|
|
4061
|
+
getRecentSelectionID,
|
|
4062
|
+
getRowNumberListForPopover,
|
|
4063
|
+
getSVGBase64,
|
|
4064
|
+
getSampleQueryRegex,
|
|
4065
|
+
getSampleQueryText,
|
|
4066
|
+
getScheduleFrequencyObject,
|
|
4067
|
+
getSelectableColumns,
|
|
4068
|
+
getStartAndEndDateFromDateStrs,
|
|
4069
|
+
getStringColumnIndices,
|
|
4070
|
+
getStringColumns,
|
|
4071
|
+
getStringFromSource,
|
|
4072
|
+
getSuggestionLists,
|
|
4073
|
+
getSupportedConditionTypes,
|
|
4074
|
+
getSupportedDisplayTypes,
|
|
4075
|
+
getThemeType,
|
|
4076
|
+
getThemeValue,
|
|
4077
|
+
getTickSizeFromNumTicks,
|
|
4078
|
+
getTickValues,
|
|
4079
|
+
getTimeFrameTextFromChunk,
|
|
4080
|
+
getTimeObjFromTimeStamp,
|
|
4081
|
+
getTimeRangeFromDateArray,
|
|
4082
|
+
getTimeRangeFromRT,
|
|
4083
|
+
getTimeScale,
|
|
4084
|
+
getTitleCase,
|
|
4085
|
+
getTodaysDayOfTheMonth,
|
|
4086
|
+
getTooltipContent,
|
|
4087
|
+
getTotalBottomPadding,
|
|
4088
|
+
getTotalHorizontalPadding,
|
|
4089
|
+
getTotalLeftPadding,
|
|
4090
|
+
getTotalPossibleLegendSections,
|
|
4091
|
+
getTotalRightPadding,
|
|
4092
|
+
getTotalTopPadding,
|
|
4093
|
+
getTotalVerticalPadding,
|
|
4094
|
+
getUniqueYearsForColumn,
|
|
4095
|
+
getUnitSymbol,
|
|
4096
|
+
getUnitsForColumn,
|
|
4097
|
+
getVisibleColumns,
|
|
4098
|
+
getWeekLocalStartDate,
|
|
4099
|
+
getWeekdayFromTimeStamp,
|
|
4100
|
+
getlegendLabelSections,
|
|
4101
|
+
handleTooltipBoundaryCollision,
|
|
4102
|
+
hasColumnIndex,
|
|
4103
|
+
hasData,
|
|
4104
|
+
hasDateColumn,
|
|
4105
|
+
hasMoreData,
|
|
4106
|
+
hasNumberColumn,
|
|
4107
|
+
hasStringColumn,
|
|
4108
|
+
initializeAlert,
|
|
4109
|
+
initializeQueryValidationOptions,
|
|
4110
|
+
isAggSeed,
|
|
4111
|
+
isAggregation,
|
|
4112
|
+
isChartType,
|
|
4113
|
+
isColumnDateType,
|
|
4114
|
+
isColumnIndexConfigValid,
|
|
4115
|
+
isColumnIndexValid,
|
|
4116
|
+
isColumnIndicesValid,
|
|
4117
|
+
isColumnNumberType,
|
|
4118
|
+
isColumnStringType,
|
|
4119
|
+
isDataLimited,
|
|
4120
|
+
isDisplayTypeValid,
|
|
4121
|
+
isDrilldown,
|
|
4122
|
+
isError500Type,
|
|
4123
|
+
isExpressionQueryValid,
|
|
4124
|
+
isISODate,
|
|
4125
|
+
isInitialSelectionValid,
|
|
4126
|
+
isListQuery,
|
|
4127
|
+
isNumber,
|
|
4128
|
+
isObject,
|
|
4129
|
+
isOperatorJs,
|
|
4130
|
+
isSingleValueResponse,
|
|
4131
|
+
isTableType,
|
|
4132
|
+
isValueEmpty,
|
|
4133
|
+
color as legendColor,
|
|
4134
|
+
lineCommand,
|
|
4135
|
+
makeEmptyArray,
|
|
4136
|
+
markNotificationAsUnread,
|
|
4137
|
+
mergeBboxes,
|
|
4138
|
+
mergeBoundingClientRects,
|
|
4139
|
+
mergeSources,
|
|
4140
|
+
nameValueObject,
|
|
4141
|
+
numberIndicesArraysOverlap,
|
|
4142
|
+
numberSortFn,
|
|
4143
|
+
onTableCellClick,
|
|
4144
|
+
onlySeriesVisibilityChanged,
|
|
4145
|
+
onlyUnique,
|
|
4146
|
+
parseJwt,
|
|
4147
|
+
potentiallySupportsDatePivot,
|
|
4148
|
+
potentiallySupportsPivot,
|
|
4149
|
+
previewDataAlert,
|
|
4150
|
+
previewManagementDataAlert,
|
|
4151
|
+
removeElementAtIndex,
|
|
4152
|
+
removeFromDOM,
|
|
4153
|
+
removeHiddenLegendLabels,
|
|
4154
|
+
removeNotificationChannel,
|
|
4155
|
+
removeUserFromProjectRule,
|
|
4156
|
+
reportProblem,
|
|
4157
|
+
resetDateIsFuture,
|
|
4158
|
+
resetNotificationCount,
|
|
4159
|
+
rotateArray,
|
|
4160
|
+
roundDownToNearestMultiple,
|
|
4161
|
+
roundToNearestLog10,
|
|
4162
|
+
roundToNearestMultiple,
|
|
4163
|
+
roundUpToNearestMultiple,
|
|
4164
|
+
runDrilldown,
|
|
4165
|
+
runQuery,
|
|
4166
|
+
runQueryNewPage,
|
|
4167
|
+
runQueryOnly,
|
|
4168
|
+
runQueryValidation,
|
|
4169
|
+
scaleZero,
|
|
4170
|
+
sendDataToChannel,
|
|
4171
|
+
sendSuggestion,
|
|
4172
|
+
sendTrainingData,
|
|
4173
|
+
setCaretPosition,
|
|
4174
|
+
setColumnVisibility,
|
|
4175
|
+
setFilterFunction,
|
|
4176
|
+
setFilters,
|
|
4177
|
+
setHeaderFilterPlaceholder,
|
|
4178
|
+
setRecentSearchesInLocalStorage,
|
|
4179
|
+
setSorterFunction,
|
|
4180
|
+
setTickSize,
|
|
4181
|
+
setTickValues,
|
|
4182
|
+
shouldDisableChartScale,
|
|
4183
|
+
shouldLabelsRotate,
|
|
4184
|
+
shouldPlotMultiSeries,
|
|
4185
|
+
showEvaluationFrequencySetting,
|
|
4186
|
+
sortDataByAlphabet,
|
|
4187
|
+
sortDataByColumn,
|
|
4188
|
+
sortDataByDate,
|
|
4189
|
+
supportsDatePivotTable,
|
|
4190
|
+
supportsPieChart,
|
|
4191
|
+
supportsRegularPivotTable,
|
|
4192
|
+
svgPathD,
|
|
4193
|
+
svgToPng,
|
|
4194
|
+
type tableFilterParams,
|
|
4195
|
+
titlelizeString,
|
|
4196
|
+
toggleCustomDataAlertStatus,
|
|
4197
|
+
toggleProjectDataAlertStatus,
|
|
4198
|
+
transformLabels,
|
|
4199
|
+
transformQueryResponse,
|
|
4200
|
+
transformQueryResponseColumns,
|
|
4201
|
+
unsetFilterFromAPI,
|
|
4202
|
+
updateDataAlert,
|
|
4203
|
+
updateDataAlertStatus,
|
|
4204
|
+
updateManagementDataAlert,
|
|
4205
|
+
updateStartAndEndIndexes,
|
|
4206
|
+
usePivotDataForChart,
|
|
4207
|
+
uuidv4,
|
|
4208
|
+
validateExpression,
|
|
4209
|
+
}
|