@ic3/reporting-api 8.0.0-rc.4 → 8.1.0
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/ApiUtils.d.ts +46 -8
- package/dist/ApiUtils.js +37 -21
- package/dist/ApiUtils.js.map +1 -1
- package/dist/INotification.d.ts +26 -6
- package/dist/IOnNewEventJsContext.d.ts +66 -0
- package/dist/{theme/ThemeGoogleMapMarker.js → IOnNewEventJsContext.js} +1 -1
- package/dist/IOnNewEventJsContext.js.map +1 -0
- package/dist/IPluginDefinition.d.ts +9 -0
- package/dist/IReporting.d.ts +15 -5
- package/dist/IThemeManager.d.ts +12 -13
- package/dist/IThemeManager.js.map +1 -1
- package/dist/ITypes.d.ts +22 -0
- package/dist/ITypes.js +28 -0
- package/dist/ITypes.js.map +1 -1
- package/dist/IWidgetManager.d.ts +5 -2
- package/dist/LazyTreeView.d.ts +6 -24
- package/dist/LazyTreeView.js +0 -13
- package/dist/LazyTreeView.js.map +1 -1
- package/dist/Loader.d.ts +78 -0
- package/dist/Loader.js +160 -3
- package/dist/Loader.js.map +1 -1
- package/dist/PublicAmchartsData.d.ts +62 -0
- package/dist/PublicAmchartsData.js +126 -0
- package/dist/PublicAmchartsData.js.map +1 -0
- package/dist/PublicContext.d.ts +40 -3
- package/dist/PublicLayout.d.ts +5 -1
- package/dist/PublicTemplate.d.ts +90 -36
- package/dist/PublicTemplate.js +1 -10
- package/dist/PublicTemplate.js.map +1 -1
- package/dist/PublicTemplateForm.d.ts +66 -8
- package/dist/PublicTemplateForm.js +1 -9
- package/dist/PublicTemplateForm.js.map +1 -1
- package/dist/PublicTemplates.d.ts +61 -0
- package/dist/{theme/ThemeReportAppMenu.js → PublicTemplates.js} +1 -1
- package/dist/PublicTemplates.js.map +1 -0
- package/dist/PublicTheme.d.ts +157 -16
- package/dist/PublicTheme.js.map +1 -1
- package/dist/PublicTidyColumn.d.ts +76 -21
- package/dist/PublicTidyColumn.js +8 -0
- package/dist/PublicTidyColumn.js.map +1 -1
- package/dist/PublicTidyHistogram.d.ts +39 -1
- package/dist/PublicTidyHistogram.js +6 -1
- package/dist/PublicTidyHistogram.js.map +1 -1
- package/dist/PublicTidyMath.d.ts +26 -20
- package/dist/PublicTidyTable.d.ts +44 -19
- package/dist/PublicTidyTableInteractions.d.ts +80 -17
- package/dist/PublicTidyTableTypes.d.ts +109 -19
- package/dist/PublicTidyTableTypes.js +18 -1
- package/dist/PublicTidyTableTypes.js.map +1 -1
- package/dist/PublicTidyTree.d.ts +19 -12
- package/dist/PublicTidyTree.js +25 -16
- package/dist/PublicTidyTree.js.map +1 -1
- package/dist/index.d.ts +20 -3
- package/dist/index.js +25 -4
- package/dist/index.js.map +1 -1
- package/dist/theme/ThemeAmCharts4.d.ts +1358 -0
- package/dist/theme/ThemeAmCharts4.js +61 -0
- package/dist/theme/ThemeAmCharts4.js.map +1 -0
- package/dist/theme/ThemeApp.d.ts +26 -11
- package/dist/theme/ThemeApp.js +51 -0
- package/dist/theme/ThemeApp.js.map +1 -1
- package/dist/theme/ThemeAppMenuIcon.d.ts +7 -0
- package/dist/theme/ThemeAppMenuIcon.js +8 -0
- package/dist/theme/ThemeAppMenuIcon.js.map +1 -0
- package/dist/theme/ThemeBaseTable.d.ts +94 -0
- package/dist/theme/ThemeBaseTable.js +10 -0
- package/dist/theme/ThemeBaseTable.js.map +1 -0
- package/dist/theme/ThemeDatePicker.d.ts +118 -0
- package/dist/theme/ThemeDatePicker.js +11 -0
- package/dist/theme/ThemeDatePicker.js.map +1 -0
- package/dist/theme/ThemeEditorTopBar.d.ts +31 -0
- package/dist/theme/ThemeEditorTopBar.js +35 -0
- package/dist/theme/ThemeEditorTopBar.js.map +1 -0
- package/dist/theme/ThemeEmbeddedReport.d.ts +25 -0
- package/dist/theme/ThemeEmbeddedReport.js +3 -0
- package/dist/theme/ThemeEmbeddedReport.js.map +1 -0
- package/dist/theme/ThemeFilter.d.ts +28 -0
- package/dist/theme/ThemeFilter.js +3 -0
- package/dist/theme/ThemeFilter.js.map +1 -0
- package/dist/theme/ThemeFilterAutocomplete.d.ts +31 -15
- package/dist/theme/ThemeFilterAutocomplete.js.map +1 -1
- package/dist/theme/ThemeFilterButtons.d.ts +40 -23
- package/dist/theme/ThemeFilterButtons.js +1 -1
- package/dist/theme/ThemeFilterButtons.js.map +1 -1
- package/dist/theme/ThemeFilterCheckboxRadio.d.ts +48 -0
- package/dist/theme/ThemeFilterCheckboxRadio.js +23 -0
- package/dist/theme/ThemeFilterCheckboxRadio.js.map +1 -0
- package/dist/theme/ThemeFilterPanel.d.ts +94 -0
- package/dist/theme/ThemeFilterPanel.js +35 -0
- package/dist/theme/ThemeFilterPanel.js.map +1 -0
- package/dist/theme/ThemeFilterSlider.d.ts +42 -28
- package/dist/theme/ThemeFilterSlider.js +7 -7
- package/dist/theme/ThemeFilterSlider.js.map +1 -1
- package/dist/theme/ThemeFilterTree.d.ts +61 -30
- package/dist/theme/ThemeFilterTree.js +2 -1
- package/dist/theme/ThemeFilterTree.js.map +1 -1
- package/dist/theme/ThemeGlobal.d.ts +4 -0
- package/dist/theme/ThemeGlobal.js +9 -0
- package/dist/theme/ThemeGlobal.js.map +1 -0
- package/dist/theme/ThemeGoogle.d.ts +132 -0
- package/dist/theme/ThemeGoogle.js +64 -0
- package/dist/theme/ThemeGoogle.js.map +1 -0
- package/dist/theme/ThemeGoogleHeatMap.d.ts +58 -0
- package/dist/theme/ThemeGoogleHeatMap.js +3 -0
- package/dist/theme/ThemeGoogleHeatMap.js.map +1 -0
- package/dist/theme/ThemeGoogleKmlLayer.d.ts +40 -0
- package/dist/theme/ThemeGoogleKmlLayer.js +3 -0
- package/dist/theme/ThemeGoogleKmlLayer.js.map +1 -0
- package/dist/theme/ThemeGoogleMarker.d.ts +147 -0
- package/dist/theme/ThemeGoogleMarker.js +3 -0
- package/dist/theme/ThemeGoogleMarker.js.map +1 -0
- package/dist/theme/ThemeHtmlBox.d.ts +5 -1
- package/dist/theme/ThemeImage.d.ts +19 -0
- package/dist/theme/ThemeImage.js +3 -0
- package/dist/theme/ThemeImage.js.map +1 -0
- package/dist/theme/ThemeKpiBox.d.ts +46 -0
- package/dist/theme/ThemeKpiBox.js +3 -0
- package/dist/theme/ThemeKpiBox.js.map +1 -0
- package/dist/theme/ThemeKpiCard.d.ts +98 -0
- package/dist/theme/ThemeKpiCard.js +3 -0
- package/dist/theme/ThemeKpiCard.js.map +1 -0
- package/dist/theme/ThemeLazyTreeClasses.d.ts +14 -0
- package/dist/theme/ThemeLazyTreeClasses.js +19 -0
- package/dist/theme/ThemeLazyTreeClasses.js.map +1 -0
- package/dist/theme/ThemeMarkdownText.d.ts +27 -0
- package/dist/theme/ThemeMarkdownText.js +3 -0
- package/dist/theme/ThemeMarkdownText.js.map +1 -0
- package/dist/theme/ThemePivotTable.d.ts +63 -0
- package/dist/theme/ThemePivotTable.js +10 -1
- package/dist/theme/ThemePivotTable.js.map +1 -1
- package/dist/theme/ThemeQueryBuilderNode.d.ts +8 -0
- package/dist/theme/ThemeQueryBuilderNode.js +8 -0
- package/dist/theme/ThemeQueryBuilderNode.js.map +1 -0
- package/dist/theme/ThemeRepetitionWidget.d.ts +51 -0
- package/dist/theme/ThemeRepetitionWidget.js +3 -0
- package/dist/theme/ThemeRepetitionWidget.js.map +1 -0
- package/dist/theme/ThemeReportAppLeftPanel.d.ts +7 -0
- package/dist/theme/ThemeReportAppLeftPanel.js +11 -0
- package/dist/theme/ThemeReportAppLeftPanel.js.map +1 -0
- package/dist/theme/ThemeTable.d.ts +56 -1
- package/dist/theme/ThemeTable.js.map +1 -1
- package/dist/theme/ThemeWidgetBox.d.ts +77 -0
- package/dist/theme/ThemeWidgetBox.js +50 -14
- package/dist/theme/ThemeWidgetBox.js.map +1 -1
- package/package.json +6 -6
- package/dist/theme/ThemeFilterCheckboxes.d.ts +0 -18
- package/dist/theme/ThemeFilterCheckboxes.js +0 -11
- package/dist/theme/ThemeFilterCheckboxes.js.map +0 -1
- package/dist/theme/ThemeGoogleMapMarker.d.ts +0 -51
- package/dist/theme/ThemeGoogleMapMarker.js.map +0 -1
- package/dist/theme/ThemeReportAppMenu.d.ts +0 -18
- package/dist/theme/ThemeReportAppMenu.js.map +0 -1
package/dist/PublicTheme.d.ts
CHANGED
|
@@ -6,26 +6,33 @@ import { IPublicWidgetTemplateDefinition } from "./PublicTemplate";
|
|
|
6
6
|
import { IWidgetLayoutDefinition } from "./PublicLayout";
|
|
7
7
|
import { IThemeWidgetDefaults } from "./IThemeManager";
|
|
8
8
|
import { AlertDialogClassKey } from "./theme/ThemeAlertDialog";
|
|
9
|
-
import { AppClassKey } from "./theme/ThemeApp";
|
|
9
|
+
import { AppClassKey, AppDivProps } from "./theme/ThemeApp";
|
|
10
10
|
import { DrilldownUserSelectMenuClassKey } from "./theme/ThemeDrilldownUserSelectMenu";
|
|
11
11
|
import { ErrorRendererClassKey } from "./theme/ThemeErrorRenderer";
|
|
12
12
|
import { HtmlBoxClassKey, HtmlBoxProps } from "./theme/ThemeHtmlBox";
|
|
13
13
|
import { LayoutClassKey } from "./theme/ThemeLayout";
|
|
14
14
|
import { LayoutPageClassKey } from "./theme/ThemeLayoutPage";
|
|
15
15
|
import { ReportAppBarClassKey } from "./theme/ThemeReportAppBar";
|
|
16
|
-
import { ReportAppMenuClassKey } from "./theme/ThemeReportAppMenu";
|
|
17
16
|
import { WidgetBoxClassKey } from "./theme/ThemeWidgetBox";
|
|
18
17
|
import { WidgetBoxContentMessageClassKey } from "./theme/ThemeWidgetBoxContentMessage";
|
|
19
18
|
import { ReactElement } from "react";
|
|
20
19
|
import { TypographyStyleOptions } from "@mui/material/styles/createTypography";
|
|
21
20
|
import { Property } from "csstype";
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
21
|
+
import { FilterButtonsChartOptions, FilterButtonsClassKey } from "./theme/ThemeFilterButtons";
|
|
22
|
+
import { FilterSliderChartOptions, FilterSliderClassKey } from "./theme/ThemeFilterSlider";
|
|
23
|
+
import { GoogleMarkerVariantChartOptions } from "./theme/ThemeGoogleMarker";
|
|
25
24
|
import { IPublicContext } from "./PublicContext";
|
|
26
25
|
import { TableClassKey, TableProps } from "./theme/ThemeTable";
|
|
27
26
|
import { PivotTableClassKey, PivotTableProps } from "./theme/ThemePivotTable";
|
|
28
27
|
import { Components } from "@mui/material/styles/components";
|
|
28
|
+
import { FilterPanelClassesKey } from "./theme/ThemeFilterPanel";
|
|
29
|
+
import { FilterCheckboxRadioChartOptions, FilterCheckboxRadioClassKey } from "./theme/ThemeFilterCheckboxRadio";
|
|
30
|
+
import { ReportAppLeftPanelClassKey } from "./theme/ThemeReportAppLeftPanel";
|
|
31
|
+
import { FilterTreeChartOptions, FilterTreeClassKey } from "./theme/ThemeFilterTree";
|
|
32
|
+
import { DatePickerChartOptions, DatePickerClassKey } from "./theme/ThemeDatePicker";
|
|
33
|
+
import { FilterAutocompleteChartOptions, FilterAutocompleteClassesKey } from "./theme/ThemeFilterAutocomplete";
|
|
34
|
+
import { AppMenuIconProps, ThemeAppMenuIconClassKey } from "./theme/ThemeAppMenuIcon";
|
|
35
|
+
import { QueryBuilderNodeProps, ThemeQueryBuilderNodeClassKey } from "./theme/ThemeQueryBuilderNode";
|
|
29
36
|
export interface INoSchemaRendererOptions {
|
|
30
37
|
missingSchema: string;
|
|
31
38
|
}
|
|
@@ -96,6 +103,10 @@ export declare type ThemeFormattersOptions = {
|
|
|
96
103
|
amCharts4?: Amcharts4ThemeDateFormatterOptions;
|
|
97
104
|
};
|
|
98
105
|
export interface ic3Palette {
|
|
106
|
+
/**
|
|
107
|
+
* The color for the page background (can be overridden at layout level).
|
|
108
|
+
*/
|
|
109
|
+
pageBackgroundColor: Property.Color;
|
|
99
110
|
/**
|
|
100
111
|
* The color for a selected item
|
|
101
112
|
*/
|
|
@@ -191,6 +202,7 @@ interface MandatorySingleColors {
|
|
|
191
202
|
grey900: Property.Color;
|
|
192
203
|
}
|
|
193
204
|
export interface ic3PaletteOptions {
|
|
205
|
+
pageBackgroundColor: Property.Color;
|
|
194
206
|
selected?: Property.Color;
|
|
195
207
|
selectedText?: Property.Color;
|
|
196
208
|
selectedBackground?: Property.Color;
|
|
@@ -307,6 +319,27 @@ export interface ic3Theme {
|
|
|
307
319
|
};
|
|
308
320
|
};
|
|
309
321
|
noSchemaRenderer?: (context: IPublicContext, options: INoSchemaRendererOptions) => ReactElement;
|
|
322
|
+
/**
|
|
323
|
+
* Theme settings for the editor (application & report).
|
|
324
|
+
*/
|
|
325
|
+
editor: {
|
|
326
|
+
/**
|
|
327
|
+
* Editor logo. Defaults to icCubes logo.
|
|
328
|
+
*/
|
|
329
|
+
logo: string;
|
|
330
|
+
/**
|
|
331
|
+
* Alt text for the logo image. Default = icCube.
|
|
332
|
+
*/
|
|
333
|
+
logoAlt: string;
|
|
334
|
+
/**
|
|
335
|
+
* Top - Offset of dashboard page to the editor. Default 25.
|
|
336
|
+
*/
|
|
337
|
+
viewPortOffsetTop: number;
|
|
338
|
+
/**
|
|
339
|
+
* Left - Offset of dashboard page to the editor. Default 25.
|
|
340
|
+
*/
|
|
341
|
+
viewPortOffsetLeft: number;
|
|
342
|
+
};
|
|
310
343
|
}
|
|
311
344
|
export interface ic3ThemeOptions {
|
|
312
345
|
id: string;
|
|
@@ -333,7 +366,7 @@ export interface ic3ThemeOptions {
|
|
|
333
366
|
disableUserMenuEdition?: boolean;
|
|
334
367
|
userMenuFilter?: (options: string[], templateDef?: IPublicWidgetTemplateDefinition<any>) => string[];
|
|
335
368
|
};
|
|
336
|
-
widgetBox
|
|
369
|
+
widgetBox?: {
|
|
337
370
|
contentOffset: {
|
|
338
371
|
top: number;
|
|
339
372
|
left: number;
|
|
@@ -346,7 +379,7 @@ export interface ic3ThemeOptions {
|
|
|
346
379
|
/**
|
|
347
380
|
* The first defined layout is used as the default one.
|
|
348
381
|
*/
|
|
349
|
-
layouts
|
|
382
|
+
layouts?: IWidgetLayoutDefinition[];
|
|
350
383
|
/**
|
|
351
384
|
* Styling for the sparklines in the sparkline transformation and the KPI card
|
|
352
385
|
*/
|
|
@@ -371,6 +404,27 @@ export interface ic3ThemeOptions {
|
|
|
371
404
|
};
|
|
372
405
|
};
|
|
373
406
|
noSchemaRenderer?: (context: IPublicContext, options: INoSchemaRendererOptions) => ReactElement;
|
|
407
|
+
/**
|
|
408
|
+
* Theme settings for the editor (application & report).
|
|
409
|
+
*/
|
|
410
|
+
editor?: {
|
|
411
|
+
/**
|
|
412
|
+
* Editor logo. Defaults to icCubes logo.
|
|
413
|
+
*/
|
|
414
|
+
logo?: string;
|
|
415
|
+
/**
|
|
416
|
+
* Alt text for the logo image. Default = icCube.
|
|
417
|
+
*/
|
|
418
|
+
logoAlt?: string;
|
|
419
|
+
/**
|
|
420
|
+
* Top - Offset of dashboard page to the editor. Default 25.
|
|
421
|
+
*/
|
|
422
|
+
viewPortOffsetTop?: number;
|
|
423
|
+
/**
|
|
424
|
+
* Left - Offset of dashboard page to the editor. Default 25.
|
|
425
|
+
*/
|
|
426
|
+
viewPortOffsetLeft?: number;
|
|
427
|
+
};
|
|
374
428
|
}
|
|
375
429
|
interface ic3BaseComponents {
|
|
376
430
|
AlertDialog?: {
|
|
@@ -385,16 +439,36 @@ interface ic3BaseComponents {
|
|
|
385
439
|
ErrorRenderer?: {
|
|
386
440
|
styleOverrides?: ComponentsOverrides["ErrorRenderer"];
|
|
387
441
|
};
|
|
442
|
+
FilterCheckbox?: {
|
|
443
|
+
styleOverrides?: ComponentsOverrides["FilterCheckbox"];
|
|
444
|
+
variants?: ComponentsVariants["FilterCheckbox"];
|
|
445
|
+
};
|
|
388
446
|
FilterButtons?: {
|
|
389
447
|
styleOverrides?: ComponentsOverrides["FilterButtons"];
|
|
390
448
|
variants?: ComponentsVariants["FilterButtons"];
|
|
391
449
|
};
|
|
450
|
+
FilterPanel?: {
|
|
451
|
+
variants?: ComponentsVariants['FilterPanel'];
|
|
452
|
+
styleOverrides?: ComponentsOverrides["FilterPanel"];
|
|
453
|
+
};
|
|
392
454
|
FilterSlider?: {
|
|
393
455
|
styleOverrides?: ComponentsOverrides["FilterSlider"];
|
|
394
456
|
variants?: ComponentsVariants["FilterSlider"];
|
|
395
457
|
};
|
|
396
|
-
|
|
397
|
-
|
|
458
|
+
FilterTree?: {
|
|
459
|
+
styleOverrides?: ComponentsOverrides["FilterTree"];
|
|
460
|
+
variants?: ComponentsVariants["FilterTree"];
|
|
461
|
+
};
|
|
462
|
+
FilterDatePicker?: {
|
|
463
|
+
styleOverrides?: ComponentsOverrides["FilterDatePicker"];
|
|
464
|
+
variants?: ComponentsVariants["FilterDatePicker"];
|
|
465
|
+
};
|
|
466
|
+
FilterAutocomplete?: {
|
|
467
|
+
styleOverrides?: ComponentsOverrides["FilterAutocomplete"];
|
|
468
|
+
variants?: ComponentsVariants["FilterAutocomplete"];
|
|
469
|
+
};
|
|
470
|
+
GoogleMarker?: {
|
|
471
|
+
variants?: ComponentsVariants['GoogleMarker'];
|
|
398
472
|
};
|
|
399
473
|
HtmlBox?: {
|
|
400
474
|
styleOverrides?: ComponentsOverrides["HtmlBox"];
|
|
@@ -413,8 +487,8 @@ interface ic3BaseComponents {
|
|
|
413
487
|
ReportAppBar?: {
|
|
414
488
|
styleOverrides?: ComponentsOverrides["ReportAppBar"];
|
|
415
489
|
};
|
|
416
|
-
|
|
417
|
-
styleOverrides?: ComponentsOverrides["
|
|
490
|
+
ReportAppLeftPanel?: {
|
|
491
|
+
styleOverrides?: ComponentsOverrides["ReportAppLeftPanel"];
|
|
418
492
|
};
|
|
419
493
|
Table?: {
|
|
420
494
|
variants?: ComponentsVariants['Table'];
|
|
@@ -427,6 +501,12 @@ interface ic3BaseComponents {
|
|
|
427
501
|
WidgetBoxContentMessage?: {
|
|
428
502
|
styleOverrides?: ComponentsOverrides["WidgetBoxContentMessage"];
|
|
429
503
|
};
|
|
504
|
+
AppMenuIcon?: {
|
|
505
|
+
styleOverrides?: ComponentsOverrides["AppMenuIcon"];
|
|
506
|
+
};
|
|
507
|
+
QueryBuilderNode?: {
|
|
508
|
+
styleOverrides?: ComponentsOverrides["QueryBuilderNode"];
|
|
509
|
+
};
|
|
430
510
|
}
|
|
431
511
|
/**
|
|
432
512
|
* For Typing purpose extending MUI Theme with ic3 components
|
|
@@ -441,9 +521,55 @@ export interface ic3Components extends ic3BaseComponents, Components {
|
|
|
441
521
|
declare module "@mui/material/styles/createPalette" {
|
|
442
522
|
interface Palette {
|
|
443
523
|
ic3: ic3Palette;
|
|
524
|
+
mdx: {
|
|
525
|
+
annotation: string;
|
|
526
|
+
comment: string;
|
|
527
|
+
definitionKeyword: string;
|
|
528
|
+
keyword: string;
|
|
529
|
+
labelName: string;
|
|
530
|
+
number: string;
|
|
531
|
+
operator: string;
|
|
532
|
+
propertyName: string;
|
|
533
|
+
separator: string;
|
|
534
|
+
string: string;
|
|
535
|
+
variableName: string;
|
|
536
|
+
dimension: string;
|
|
537
|
+
hierarchy: string;
|
|
538
|
+
level: string;
|
|
539
|
+
member: string;
|
|
540
|
+
measureGroup: string;
|
|
541
|
+
measureFolder: string;
|
|
542
|
+
measure: string;
|
|
543
|
+
set: string;
|
|
544
|
+
calcMeasure: string;
|
|
545
|
+
event: string;
|
|
546
|
+
};
|
|
444
547
|
}
|
|
445
548
|
interface PaletteOptions {
|
|
446
549
|
ic3?: ic3PaletteOptions;
|
|
550
|
+
mdx?: {
|
|
551
|
+
annotation?: string;
|
|
552
|
+
comment?: string;
|
|
553
|
+
definitionKeyword?: string;
|
|
554
|
+
keyword?: string;
|
|
555
|
+
labelName?: string;
|
|
556
|
+
number?: string;
|
|
557
|
+
operator?: string;
|
|
558
|
+
propertyName?: string;
|
|
559
|
+
separator?: string;
|
|
560
|
+
string?: string;
|
|
561
|
+
variableName?: string;
|
|
562
|
+
dimension?: string;
|
|
563
|
+
hierarchy?: string;
|
|
564
|
+
level?: string;
|
|
565
|
+
member?: string;
|
|
566
|
+
measureGroup?: string;
|
|
567
|
+
measureFolder?: string;
|
|
568
|
+
measure?: string;
|
|
569
|
+
set?: string;
|
|
570
|
+
calcMeasure?: string;
|
|
571
|
+
event?: string;
|
|
572
|
+
};
|
|
447
573
|
}
|
|
448
574
|
}
|
|
449
575
|
declare module "@mui/material/styles/createTypography" {
|
|
@@ -478,28 +604,43 @@ declare module '@mui/material/styles/overrides' {
|
|
|
478
604
|
App: AppClassKey;
|
|
479
605
|
DrilldownUserSelectMenu: DrilldownUserSelectMenuClassKey;
|
|
480
606
|
ErrorRenderer: ErrorRendererClassKey;
|
|
607
|
+
FilterCheckbox: FilterCheckboxRadioClassKey;
|
|
481
608
|
FilterButtons: FilterButtonsClassKey;
|
|
609
|
+
FilterPanel: FilterPanelClassesKey;
|
|
482
610
|
FilterSlider: FilterSliderClassKey;
|
|
611
|
+
FilterTree: FilterTreeClassKey;
|
|
612
|
+
FilterDatePicker: DatePickerClassKey;
|
|
613
|
+
FilterAutocomplete: FilterAutocompleteClassesKey;
|
|
483
614
|
HtmlBox: HtmlBoxClassKey;
|
|
484
615
|
Layout: LayoutClassKey;
|
|
485
616
|
LayoutPage: LayoutPageClassKey;
|
|
486
617
|
PivotTable: PivotTableClassKey;
|
|
487
|
-
ReportAppBar: ReportAppBarClassKey;
|
|
488
|
-
ReportAppMenu: ReportAppMenuClassKey;
|
|
489
618
|
Table: TableClassKey;
|
|
619
|
+
ReportAppBar: ReportAppBarClassKey;
|
|
490
620
|
WidgetBox: WidgetBoxClassKey;
|
|
491
621
|
WidgetBoxContentMessage: WidgetBoxContentMessageClassKey;
|
|
622
|
+
ReportAppLeftPanel: ReportAppLeftPanelClassKey;
|
|
623
|
+
AppMenuIcon: ThemeAppMenuIconClassKey;
|
|
624
|
+
QueryBuilderNode: ThemeQueryBuilderNodeClassKey;
|
|
492
625
|
}
|
|
493
626
|
}
|
|
494
627
|
declare module '@mui/material/styles/props' {
|
|
495
628
|
interface ComponentsPropsList {
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
629
|
+
FilterCheckbox: FilterCheckboxRadioChartOptions;
|
|
630
|
+
FilterButtons: FilterButtonsChartOptions;
|
|
631
|
+
FilterPanel: Record<never, any>;
|
|
632
|
+
FilterSlider: FilterSliderChartOptions;
|
|
633
|
+
FilterTree: FilterTreeChartOptions;
|
|
634
|
+
FilterDatePicker: DatePickerChartOptions;
|
|
635
|
+
FilterAutocomplete: FilterAutocompleteChartOptions;
|
|
499
636
|
HtmlBox: HtmlBoxProps;
|
|
500
637
|
PivotTable: PivotTableProps;
|
|
501
638
|
Table: TableProps;
|
|
502
639
|
WidgetBox: Record<never, any>;
|
|
640
|
+
GoogleMarker: GoogleMarkerVariantChartOptions;
|
|
641
|
+
AppMenuIconStyled: AppMenuIconProps;
|
|
642
|
+
App: AppDivProps;
|
|
643
|
+
QueryBuilderNode: QueryBuilderNodeProps;
|
|
503
644
|
}
|
|
504
645
|
}
|
|
505
646
|
export {};
|
package/dist/PublicTheme.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PublicTheme.js","sourceRoot":"","sources":["../src/PublicTheme.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"PublicTheme.js","sourceRoot":"","sources":["../src/PublicTheme.ts"],"names":[],"mappings":";;;AAoRA,IAAY,qBAGX;AAHD,WAAY,qBAAqB;IAC7B,8CAAqB,CAAA;IACrB,4CAAmB,CAAA;AACvB,CAAC,EAHW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAGhC"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { AxisCoordinate, ConvertToTypeParseSettings, EntityItem, IMdxAxisSeriesInfo,
|
|
1
|
+
import { AxisCoordinate, ConvertToTypeParseSettings, EntityItem, GroupRowIndices, IMdxAxisSeriesInfo, ITidyColumnIndex, ITidyColumnsSource, MdxInfo, MdxMemberCoordinates, TidyCellError, TidyColumnsSubType, TidyColumnsType } from "./PublicTidyTableTypes";
|
|
2
2
|
import { TidyActionEvent } from "./IcEvent";
|
|
3
3
|
import { ReactElement } from "react";
|
|
4
4
|
import { ThemeTextFormatter } from "./PublicTheme";
|
|
5
5
|
import { Property } from "csstype";
|
|
6
6
|
import { AppNotification } from "./INotification";
|
|
7
|
+
import { MdxNodeIdentifier } from "./PublicTidyTable";
|
|
7
8
|
export interface ITidyColumnTypedValue {
|
|
8
9
|
value: any;
|
|
9
10
|
fValue?: string;
|
|
@@ -22,6 +23,10 @@ export interface ITidyColumnAddValueCopyRow {
|
|
|
22
23
|
* Properties with a special meaning
|
|
23
24
|
*/
|
|
24
25
|
export declare enum ITidyColumnNamedProperties {
|
|
26
|
+
/**
|
|
27
|
+
* The value of a cell.
|
|
28
|
+
*/
|
|
29
|
+
mdxCellValue = "value",
|
|
25
30
|
/**
|
|
26
31
|
* The formatted value of a cell. For example, 5003 in euros is formatted as €5,003
|
|
27
32
|
*/
|
|
@@ -82,7 +87,11 @@ export declare enum ITidyColumnNamedProperties {
|
|
|
82
87
|
/**
|
|
83
88
|
* Show this when hovering over the cell (or the visualisation representing the cell)
|
|
84
89
|
*/
|
|
85
|
-
tooltip = "tooltip"
|
|
90
|
+
tooltip = "tooltip",
|
|
91
|
+
/**
|
|
92
|
+
* Name for datetime properties for levels of type Year, Month, Day, Hour, etc..
|
|
93
|
+
*/
|
|
94
|
+
datetime = "datetime"
|
|
86
95
|
}
|
|
87
96
|
export declare const CharacterTidyColumnProperties: Set<string>;
|
|
88
97
|
/**
|
|
@@ -200,9 +209,12 @@ export interface ITidyBaseColumnReadonly<T> {
|
|
|
200
209
|
/**
|
|
201
210
|
* Apply a function to the groups of unique values in this column
|
|
202
211
|
*
|
|
203
|
-
* @
|
|
212
|
+
* @param useMdx If true, use MDX-unique names to construct groups. If false, use the columns values.
|
|
213
|
+
* Default = false.
|
|
214
|
+
*
|
|
215
|
+
* @returns a map with indexes for each group. Key -> row indeces
|
|
204
216
|
*/
|
|
205
|
-
groupBy(): Map<string,
|
|
217
|
+
groupBy(useMdx?: boolean): Map<string, GroupRowIndices>;
|
|
206
218
|
/**
|
|
207
219
|
* Same as reIndex but creating a new column leaving this column untouched.
|
|
208
220
|
*
|
|
@@ -214,6 +226,7 @@ export interface ITidyBaseColumnReadonly<T> {
|
|
|
214
226
|
* Base interface for nullable column.
|
|
215
227
|
*/
|
|
216
228
|
export interface ITidyBaseColumn<T> extends ITidyBaseColumnReadonly<T> {
|
|
229
|
+
isSameDimensionality(other: ITidyBaseColumn<any>): boolean;
|
|
217
230
|
getErrors(): (TidyCellError | undefined)[];
|
|
218
231
|
/**
|
|
219
232
|
* If an error occurred in the calculation of cells for a column, then the error can be
|
|
@@ -297,6 +310,7 @@ export interface ITidyBaseColumn<T> extends ITidyBaseColumnReadonly<T> {
|
|
|
297
310
|
* Return the properties of a column for a given cell index.
|
|
298
311
|
*
|
|
299
312
|
* @param idx row index of cell.
|
|
313
|
+
* @deprecated
|
|
300
314
|
*/
|
|
301
315
|
getPropertiesAt(idx: number): Record<string, any>;
|
|
302
316
|
/**
|
|
@@ -308,6 +322,12 @@ export interface ITidyBaseColumn<T> extends ITidyBaseColumnReadonly<T> {
|
|
|
308
322
|
* Create and return the entity item at position idx for generating events.
|
|
309
323
|
*/
|
|
310
324
|
getEntityItem(idx: number): EntityItem | undefined;
|
|
325
|
+
/**
|
|
326
|
+
* Get the entity item for the column. Used in column selection.
|
|
327
|
+
* Returns empty array if there are no entityItems.
|
|
328
|
+
* @param hierarchyIndeces only include these hierarchies for generating the EntityItem
|
|
329
|
+
*/
|
|
330
|
+
getColumnEntityItem(hierarchyIndeces?: number[]): EntityItem[];
|
|
311
331
|
/**
|
|
312
332
|
* Get the index of the parent. Returns -1 if the parent is the root.
|
|
313
333
|
* @param idx the index to find the parent of.
|
|
@@ -343,6 +363,12 @@ export interface ITidyBaseColumn<T> extends ITidyBaseColumnReadonly<T> {
|
|
|
343
363
|
* Returns the MDX info at a row index.
|
|
344
364
|
*/
|
|
345
365
|
getMdxInfo(idx: number): MdxInfo | undefined;
|
|
366
|
+
/**
|
|
367
|
+
* Returns the key from the model. Values with the same key are the same in the underlying model. Rows
|
|
368
|
+
* with the same value but with a different key, are treated as different values.
|
|
369
|
+
* @param rowIdx
|
|
370
|
+
*/
|
|
371
|
+
getUid(rowIdx: number): string;
|
|
346
372
|
/**
|
|
347
373
|
* Get extra information of the MDX axis used for this column, if available.
|
|
348
374
|
*/
|
|
@@ -382,6 +408,11 @@ export interface ITidyBaseColumn<T> extends ITidyBaseColumnReadonly<T> {
|
|
|
382
408
|
* @param caption set this as the caption of the column.
|
|
383
409
|
*/
|
|
384
410
|
setCaption(caption: string): void;
|
|
411
|
+
/**
|
|
412
|
+
* Returns true if and only if the column has a caption different from the default. The default caption is the
|
|
413
|
+
* columns name.
|
|
414
|
+
*/
|
|
415
|
+
hasCaption(): boolean;
|
|
385
416
|
/**
|
|
386
417
|
* Convert the column to another type. This modifies the values to be of that type.
|
|
387
418
|
*
|
|
@@ -411,11 +442,12 @@ export interface ITidyBaseColumn<T> extends ITidyBaseColumnReadonly<T> {
|
|
|
411
442
|
*/
|
|
412
443
|
apply<P>(fun: (value: T, index: number) => P, newType?: AllowedColumnType<P>): void;
|
|
413
444
|
/**
|
|
414
|
-
*
|
|
445
|
+
* Insert values at a row index.
|
|
446
|
+
* Structure: Map: row idx -> values to insert
|
|
415
447
|
*
|
|
416
448
|
* e.g., add totals.
|
|
417
449
|
*/
|
|
418
|
-
insertValues(inserts: Map<number, ITidyColumnAddValue>): void;
|
|
450
|
+
insertValues(inserts: Map<number, ITidyColumnAddValue[]>): void;
|
|
419
451
|
/**
|
|
420
452
|
* Repeat the values in the column.
|
|
421
453
|
*
|
|
@@ -507,12 +539,6 @@ export interface ITidyBaseColumn<T> extends ITidyBaseColumnReadonly<T> {
|
|
|
507
539
|
* The ITidyTableSelection row identifier for the row (uniqueName if it's an MDX like column)
|
|
508
540
|
*/
|
|
509
541
|
getSelectionRowIdentifier(idx: number): string;
|
|
510
|
-
/**
|
|
511
|
-
* @param sel the selection columns
|
|
512
|
-
* @param colIdx if multiple columns, the colIdx in the selectionColumn for the lookup
|
|
513
|
-
* @param startIdx if defined, start lookup at this position
|
|
514
|
-
*/
|
|
515
|
-
findRowIdxForSelection(sel: ITidyTableSelection, colIdx?: number, startIdx?: number): number | undefined;
|
|
516
542
|
/**
|
|
517
543
|
* Returns the row index of the first occurrence where the values of this column equals value.
|
|
518
544
|
* Returns undefined if it did not find the value.
|
|
@@ -549,16 +575,45 @@ export interface ITidyBaseColumn<T> extends ITidyBaseColumnReadonly<T> {
|
|
|
549
575
|
* Cell decoration
|
|
550
576
|
*/
|
|
551
577
|
setCellDecoration(decoration: PublicTidyColumnCellDecoration): void;
|
|
578
|
+
/**
|
|
579
|
+
* Return the index of the column.
|
|
580
|
+
*/
|
|
581
|
+
getIndex(): ITidyColumnIndex[];
|
|
582
|
+
/**
|
|
583
|
+
* undefined if it's not an Mdx member column
|
|
584
|
+
*/
|
|
585
|
+
getQueryNodeIdentifier(idx: number): MdxNodeIdentifier | undefined;
|
|
586
|
+
}
|
|
587
|
+
export interface PublicTidyColumnCellDecorationRenderedOptions {
|
|
588
|
+
cellWidth?: number;
|
|
589
|
+
cellHeight: number;
|
|
590
|
+
}
|
|
591
|
+
export interface BaseTidyColumnCellDecoration {
|
|
592
|
+
handlesCellsOnError?: boolean;
|
|
593
|
+
appliesToCell?: (rowIdx: number) => boolean;
|
|
594
|
+
/**
|
|
595
|
+
*
|
|
596
|
+
* If an object is returned the underlying code uses emotion css function to convert to a className so you can do className like css
|
|
597
|
+
*
|
|
598
|
+
* {
|
|
599
|
+
* fontSize: "0.7rem",
|
|
600
|
+
* ':hover': {
|
|
601
|
+
* fontSize: "1.4rem",
|
|
602
|
+
* }
|
|
603
|
+
* }
|
|
604
|
+
*
|
|
605
|
+
*/
|
|
606
|
+
cssStyles?: (rowIdx: number) => Record<string, any> | undefined;
|
|
607
|
+
}
|
|
608
|
+
export interface ReactTidyColumnCellDecoration extends BaseTidyColumnCellDecoration {
|
|
609
|
+
stringRenderer?: false;
|
|
610
|
+
renderer?: (rowIdx: number, options?: PublicTidyColumnCellDecorationRenderedOptions) => React.ReactElement;
|
|
611
|
+
}
|
|
612
|
+
export interface HtmlTidyColumnCellDecoration extends BaseTidyColumnCellDecoration {
|
|
613
|
+
stringRenderer: true;
|
|
614
|
+
renderer: (rowIdx: number, options?: PublicTidyColumnCellDecorationRenderedOptions) => string;
|
|
552
615
|
}
|
|
553
|
-
export declare type PublicTidyColumnCellDecoration =
|
|
554
|
-
handlesCellsOnError: boolean;
|
|
555
|
-
appliesToCell: (rowIdx: number) => boolean;
|
|
556
|
-
rendered: (rowIdx: number, sizing?: {
|
|
557
|
-
width: number;
|
|
558
|
-
height: number;
|
|
559
|
-
}) => React.ReactElement;
|
|
560
|
-
cssStyles: (rowIdx: number) => Record<string, any> | undefined;
|
|
561
|
-
}>;
|
|
616
|
+
export declare type PublicTidyColumnCellDecoration = ReactTidyColumnCellDecoration | HtmlTidyColumnCellDecoration;
|
|
562
617
|
export declare type ITidyColumn = ITidyBaseColumn<any>;
|
|
563
618
|
export declare type ITidyUnknownColumn = ITidyBaseColumn<unknown | null>;
|
|
564
619
|
export declare type ITidyNullColumn = ITidyBaseColumn<null>;
|
package/dist/PublicTidyColumn.js
CHANGED
|
@@ -6,6 +6,10 @@ exports.TidyTableNumberExprColumnMetas = exports.TidyTableTextExprColumnMetas =
|
|
|
6
6
|
*/
|
|
7
7
|
var ITidyColumnNamedProperties;
|
|
8
8
|
(function (ITidyColumnNamedProperties) {
|
|
9
|
+
/**
|
|
10
|
+
* The value of a cell.
|
|
11
|
+
*/
|
|
12
|
+
ITidyColumnNamedProperties["mdxCellValue"] = "value";
|
|
9
13
|
/**
|
|
10
14
|
* The formatted value of a cell. For example, 5003 in euros is formatted as €5,003
|
|
11
15
|
*/
|
|
@@ -67,6 +71,10 @@ var ITidyColumnNamedProperties;
|
|
|
67
71
|
* Show this when hovering over the cell (or the visualisation representing the cell)
|
|
68
72
|
*/
|
|
69
73
|
ITidyColumnNamedProperties["tooltip"] = "tooltip";
|
|
74
|
+
/**
|
|
75
|
+
* Name for datetime properties for levels of type Year, Month, Day, Hour, etc..
|
|
76
|
+
*/
|
|
77
|
+
ITidyColumnNamedProperties["datetime"] = "datetime";
|
|
70
78
|
})(ITidyColumnNamedProperties = exports.ITidyColumnNamedProperties || (exports.ITidyColumnNamedProperties = {}));
|
|
71
79
|
exports.CharacterTidyColumnProperties = new Set([
|
|
72
80
|
ITidyColumnNamedProperties.mdxCellFormattedValue,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PublicTidyColumn.js","sourceRoot":"","sources":["../src/PublicTidyColumn.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"PublicTidyColumn.js","sourceRoot":"","sources":["../src/PublicTidyColumn.ts"],"names":[],"mappings":";;;AA8CA;;GAEG;AACH,IAAY,0BAsFX;AAtFD,WAAY,0BAA0B;IAElC;;OAEG;IACH,oDAAsB,CAAA;IAEtB;;OAEG;IACH,sEAAwC,CAAA;IAExC;;OAEG;IACH,mEAAqC,CAAA;IAErC;;OAEG;IACH,mEAAqC,CAAA;IAErC;;;OAGG;IACH,yEAA2C,CAAA;IAE3C;;OAEG;IACH,oDAAsB,CAAA;IAEtB;;;;OAIG;IACH,yEAA2C,CAAA;IAE3C;;;;OAIG;IACH,+EAAiD,CAAA;IAEjD;;OAEG;IACH,qDAAuB,CAAA;IAEvB;;OAEG;IACH,uDAAyB,CAAA;IAEzB;;OAEG;IACH,6DAA+B,CAAA;IAE/B;;OAEG;IACH,uDAAyB,CAAA;IAEzB;;OAEG;IACH,iDAAmB,CAAA;IAEnB;;OAEG;IACH,gDAAkB,CAAA;IAElB;;OAEG;IACH,iDAAmB,CAAA;IAEnB;;OAEG;IACH,mDAAqB,CAAA;AACzB,CAAC,EAtFW,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QAsFrC;AAEY,QAAA,6BAA6B,GAAG,IAAI,GAAG,CAAS;IAEzD,0BAA0B,CAAC,qBAAqB;IAChD,0BAA0B,CAAC,UAAU;IAErC,0BAA0B,CAAC,mBAAmB;IAE9C,0BAA0B,CAAC,mBAAmB;IAC9C,0BAA0B,CAAC,SAAS;IAEpC,0BAA0B,CAAC,OAAO;IAClC,0BAA0B,CAAC,OAAO;CAErC,CAAC,CAAC;AAgrBU,QAAA,4BAA4B,GAA8B;IAEnE,EAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAC;IACjC,EAAC,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,EAAC;IACpC,EAAC,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAC;IACrC,EAAC,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAC;IAC/B,EAAC,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAC;IAC/B,EAAC,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,UAAU,EAAC;IACzC,EAAC,OAAO,EAAE,mBAAmB,EAAE,MAAM,EAAE,mBAAmB,EAAC;IAC3D,EAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAC;IAEnC,EAAC,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,IAAI,EAAC;IAErD,EAAC,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,YAAY,EAAC;CAE7C,CAAC;AAEW,QAAA,8BAA8B,GAA8B;IAErE,EAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAC;IACjC,EAAC,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,EAAC;IACpC,EAAC,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAC;IACrC,EAAC,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAC;IAC/B,EAAC,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAC;IAC/B,EAAC,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,UAAU,EAAC;IACzC,EAAC,OAAO,EAAE,mBAAmB,EAAE,MAAM,EAAE,mBAAmB,EAAC;IAC3D,EAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAC;IAEnC,EAAC,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,IAAI,EAAC;IAErD,8CAA8C;CAEjD,CAAC"}
|
|
@@ -12,13 +12,51 @@ export declare enum TidyHistogramBucketType {
|
|
|
12
12
|
RIGHT_CLOSED = "rightClosed"
|
|
13
13
|
}
|
|
14
14
|
export interface TidyHistogramOptions extends FormFieldObject {
|
|
15
|
+
/**
|
|
16
|
+
* Bucket Mode.
|
|
17
|
+
*
|
|
18
|
+
* Automatically create buckets or define them yourself.
|
|
19
|
+
*/
|
|
15
20
|
binType: "automatic" | "userDefined";
|
|
21
|
+
/**
|
|
22
|
+
* Bucket Count.
|
|
23
|
+
*
|
|
24
|
+
* The number of buckets to auto generate.
|
|
25
|
+
*/
|
|
16
26
|
numberOfBins: number;
|
|
27
|
+
/**
|
|
28
|
+
* Custom Buckets.
|
|
29
|
+
*
|
|
30
|
+
* A list of objects `{from,to,name}`. Each object describes the range `from < x <= to`. No `from` or `to`
|
|
31
|
+
* means that the range is unbounded on that side.
|
|
32
|
+
*/
|
|
17
33
|
customBins: string;
|
|
34
|
+
/**
|
|
35
|
+
* Sort Buckets.
|
|
36
|
+
*
|
|
37
|
+
* Sort the buckets in this order. The sort uses the `from` of each bucket.
|
|
38
|
+
*/
|
|
18
39
|
sortBins: SortingType;
|
|
40
|
+
/**
|
|
41
|
+
* Bucket Name Format.
|
|
42
|
+
*
|
|
43
|
+
* How to format the names for the bucket. If there is a name in the user defined specification,
|
|
44
|
+
* then the bucket takes that name.
|
|
45
|
+
*/
|
|
19
46
|
bucketFormat: TidyHistogramBucketFormat;
|
|
47
|
+
/**
|
|
48
|
+
* Bucket Type.
|
|
49
|
+
*
|
|
50
|
+
* Which side of the bucket is closed?
|
|
51
|
+
*/
|
|
20
52
|
intervalType: TidyHistogramBucketType;
|
|
53
|
+
/**
|
|
54
|
+
* Include row ids of the rows that are in the bucket. Added in the table as a column with array values. E.g.,
|
|
55
|
+
* value [0,4,5] means rows 0, 4 and 5 are in the bucket.
|
|
56
|
+
*/
|
|
57
|
+
includeRowIds?: boolean;
|
|
21
58
|
}
|
|
22
|
-
export declare const TidyHistogramMetaOptions: (group?: string
|
|
59
|
+
export declare const TidyHistogramMetaOptions: (group?: string, hideSort?: boolean) => FormFields<TidyHistogramOptions>;
|
|
23
60
|
export declare const TidyHistogramBucketColName = "bucket";
|
|
24
61
|
export declare const TidyHistogramCountColName = "count";
|
|
62
|
+
export declare const TidyHistogramRowIdsName = "rowIds";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TidyHistogramCountColName = exports.TidyHistogramBucketColName = exports.TidyHistogramMetaOptions = exports.TidyHistogramBucketType = exports.TidyHistogramBucketFormat = void 0;
|
|
3
|
+
exports.TidyHistogramRowIdsName = exports.TidyHistogramCountColName = exports.TidyHistogramBucketColName = exports.TidyHistogramMetaOptions = exports.TidyHistogramBucketType = exports.TidyHistogramBucketFormat = void 0;
|
|
4
4
|
const PublicTidyTableTypes_1 = require("./PublicTidyTableTypes");
|
|
5
5
|
var TidyHistogramBucketFormat;
|
|
6
6
|
(function (TidyHistogramBucketFormat) {
|
|
@@ -68,10 +68,15 @@ const TidyHistogramMetaOptions = (group, hideSort = false) => {
|
|
|
68
68
|
optionValues: Object.values(TidyHistogramBucketType),
|
|
69
69
|
optionName: "TidyHistogramBucketType"
|
|
70
70
|
}
|
|
71
|
+
},
|
|
72
|
+
"includeRowIds": {
|
|
73
|
+
fieldType: 'boolean',
|
|
74
|
+
visibility: false,
|
|
71
75
|
}
|
|
72
76
|
};
|
|
73
77
|
};
|
|
74
78
|
exports.TidyHistogramMetaOptions = TidyHistogramMetaOptions;
|
|
75
79
|
exports.TidyHistogramBucketColName = "bucket";
|
|
76
80
|
exports.TidyHistogramCountColName = "count";
|
|
81
|
+
exports.TidyHistogramRowIdsName = "rowIds";
|
|
77
82
|
//# sourceMappingURL=PublicTidyHistogram.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PublicTidyHistogram.js","sourceRoot":"","sources":["../src/PublicTidyHistogram.ts"],"names":[],"mappings":";;;AAAA,iEAAmD;AAGnD,IAAY,yBAMX;AAND,WAAY,yBAAyB;IACjC,kDAAqB,CAAA;IACrB,2DAA8B,CAAA;IAC9B,4EAA+C,CAAA;IAC/C,mDAAsB,CAAA;IACtB,+CAAkB,CAAA;AACtB,CAAC,EANW,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAMpC;AAED,IAAY,uBAGX;AAHD,WAAY,uBAAuB;IAC/B,qDAA0B,CAAA;IAC1B,uDAA4B,CAAA;AAChC,CAAC,EAHW,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAGlC;
|
|
1
|
+
{"version":3,"file":"PublicTidyHistogram.js","sourceRoot":"","sources":["../src/PublicTidyHistogram.ts"],"names":[],"mappings":";;;AAAA,iEAAmD;AAGnD,IAAY,yBAMX;AAND,WAAY,yBAAyB;IACjC,kDAAqB,CAAA;IACrB,2DAA8B,CAAA;IAC9B,4EAA+C,CAAA;IAC/C,mDAAsB,CAAA;IACtB,+CAAkB,CAAA;AACtB,CAAC,EANW,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAMpC;AAED,IAAY,uBAGX;AAHD,WAAY,uBAAuB;IAC/B,qDAA0B,CAAA;IAC1B,uDAA4B,CAAA;AAChC,CAAC,EAHW,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAGlC;AAuDM,MAAM,wBAAwB,GAAG,CAAC,KAAc,EAAE,QAAQ,GAAG,KAAK,EAAoC,EAAE;IAC3G,OAAO;QACH,SAAS,EAAE;YACP,KAAK;YACL,SAAS,EAAE,QAAQ;YACnB,UAAU,EAAE;gBACR,cAAc,EAAE,IAAI;gBACpB,YAAY,EAAE,CAAC,WAAW,EAAE,aAAa,CAAC;gBAC1C,UAAU,EAAE,kBAAkB;aACjC;YACD,YAAY,EAAE,WAAW;SAC5B;QACD,cAAc,EAAE;YACZ,KAAK;YACL,SAAS,EAAE,QAAQ;YACnB,YAAY,EAAE,EAAE;YAChB,SAAS,EAAE,SAAS;YACpB,mBAAmB,EAAE,cAAc,CAAC,EAAE,CAAC,cAAc,KAAK,WAAW;SACxE;QACD,YAAY,EAAE;YACV,KAAK;YACL,SAAS,EAAE,MAAM;YACjB,YAAY,EAAE,gDAAgD;YAC9D,SAAS,EAAE,SAAS;YACpB,mBAAmB,EAAE,cAAc,CAAC,EAAE,CAAC,cAAc,KAAK,aAAa;SAC1E;QACD,UAAU,EAAE;YACR,KAAK;YACL,SAAS,EAAE,QAAQ;YACnB,UAAU,EAAE;gBACR,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC,kCAAW,CAAC;gBACxC,UAAU,EAAE,aAAa;aAC5B;YACD,YAAY,EAAE,kCAAW,CAAC,SAAS;YACnC,UAAU,EAAE,CAAC,QAAQ;SACxB;QACD,cAAc,EAAE;YACZ,KAAK;YACL,SAAS,EAAE,QAAQ;YACnB,YAAY,EAAE,yBAAyB,CAAC,QAAQ;YAChD,UAAU,EAAE;gBACR,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC,yBAAyB,CAAC;gBACtD,UAAU,EAAE,2BAA2B;aAC1C;SACJ;QACD,cAAc,EAAE;YACZ,KAAK;YACL,SAAS,EAAE,QAAQ;YACnB,YAAY,EAAE,uBAAuB,CAAC,YAAY;YAClD,UAAU,EAAE;gBACR,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC,uBAAuB,CAAC;gBACpD,UAAU,EAAE,yBAAyB;aACxC;SACJ;QACD,eAAe,EAAE;YACb,SAAS,EAAE,SAAS;YACpB,UAAU,EAAE,KAAK;SACpB;KACJ,CAAA;AACL,CAAC,CAAA;AA3DY,QAAA,wBAAwB,4BA2DpC;AAEY,QAAA,0BAA0B,GAAG,QAAQ,CAAC;AACtC,QAAA,yBAAyB,GAAG,OAAO,CAAC;AACpC,QAAA,uBAAuB,GAAG,QAAQ,CAAC"}
|