@ic3/reporting-api 8.6.2 → 9.0.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.js +27 -8
- package/dist/ApiUtils.js.map +1 -1
- package/dist/ITypes.d.ts +1 -2
- package/dist/IcEvent.d.ts +3 -1
- package/dist/IcEvent.js +2 -0
- package/dist/IcEvent.js.map +1 -1
- package/dist/Logger.d.ts +1 -1
- package/dist/PublicAmchartsData.js +1 -2
- package/dist/PublicAmchartsData.js.map +1 -1
- package/dist/PublicContext.d.ts +47 -304
- package/dist/PublicContext.js.map +1 -1
- package/dist/PublicTemplate.d.ts +5 -5
- package/dist/PublicTemplateExprForm.d.ts +30 -0
- package/dist/PublicTemplateExprForm.js +3 -0
- package/dist/PublicTemplateExprForm.js.map +1 -0
- package/dist/PublicTemplateForm.d.ts +73 -310
- package/dist/PublicTemplateForm.js +9 -5
- package/dist/PublicTemplateForm.js.map +1 -1
- package/dist/PublicTemplates.d.ts +3 -1
- package/dist/PublicTheme.d.ts +131 -154
- package/dist/PublicTheme.js +1 -1
- package/dist/PublicTheme.js.map +1 -1
- package/dist/PublicTidyColumn.d.ts +6 -13
- package/dist/PublicTidyTree.js +6 -3
- package/dist/PublicTidyTree.js.map +1 -1
- package/dist/RemoteContainerUtils.js +5 -14
- package/dist/RemoteContainerUtils.js.map +1 -1
- package/dist/ReportingVersion.js +2 -2
- package/dist/ReportingVersion.js.map +1 -1
- package/dist/ThemeAugmentation.d.ts +35 -0
- package/dist/ThemeAugmentation.js +3 -0
- package/dist/ThemeAugmentation.js.map +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/theme/ThemeAIWidgetChatBot.d.ts +1 -0
- package/dist/theme/ThemeAmCharts4.d.ts +13 -1
- package/dist/theme/ThemeFilterPanel.d.ts +14 -1
- package/dist/theme/ThemeFilterPanel.js +6 -1
- package/dist/theme/ThemeFilterPanel.js.map +1 -1
- package/dist/theme/ThemeIc3CustomDrilldownMenu.d.ts +7 -0
- package/dist/theme/ThemeIc3CustomDrilldownMenu.js +11 -0
- package/dist/theme/ThemeIc3CustomDrilldownMenu.js.map +1 -0
- package/dist/theme/ThemeIc3TableCellDrilldown.js.map +1 -1
- package/dist/theme/ThemeIc3WidgetBoxSpinner.d.ts +15 -0
- package/dist/theme/ThemeIc3WidgetBoxSpinner.js +13 -0
- package/dist/theme/ThemeIc3WidgetBoxSpinner.js.map +1 -0
- package/dist/theme/ThemeKpiCard.d.ts +0 -8
- package/dist/theme/ThemeListCounter.d.ts +6 -0
- package/dist/theme/ThemeListCounter.js +6 -0
- package/dist/theme/ThemeListCounter.js.map +1 -1
- package/dist/theme/ThemeSinglePanelFilter.d.ts +1 -1
- package/dist/theme/ThemeWidgetBox.d.ts +1 -0
- package/package.json +7 -7
|
@@ -26,7 +26,6 @@ function isTidyTableExpr(type) {
|
|
|
26
26
|
return type === "tidyTableColorRowExpr"
|
|
27
27
|
|| type === "tidyTableHtmlExpr"
|
|
28
28
|
|| type === "tidyTableHtmlRowExpr"
|
|
29
|
-
|| type === "tidyTableNumericColumnExpr"
|
|
30
29
|
|| type === "tidyTableNumericExpr"
|
|
31
30
|
|| type === "tidyTableNumericJSColumnExpr"
|
|
32
31
|
|| type === "tidyTableNumericRowExpr"
|
|
@@ -41,7 +40,6 @@ function isTidyTableExprJS(type) {
|
|
|
41
40
|
|| type === "tidyTableStringRowExpr"
|
|
42
41
|
|| type === "tidyTableScaleRowExpr"
|
|
43
42
|
|| type === "tidyTableNumericExpr"
|
|
44
|
-
|| type === "tidyTableNumericColumnExpr"
|
|
45
43
|
|| type === "tidyTableNumericStringColumnExpr"
|
|
46
44
|
|| type === "tidyTableNumericJSColumnExpr"
|
|
47
45
|
|| type === "tidyTableNumericRowExpr";
|
|
@@ -52,8 +50,7 @@ function isTidyTableExprTable(type) {
|
|
|
52
50
|
|| type === "tidyTableNumericExpr";
|
|
53
51
|
}
|
|
54
52
|
function isTidyTableExprColumn(type) {
|
|
55
|
-
return type === "
|
|
56
|
-
|| type === "tidyTableNumericStringColumnExpr"
|
|
53
|
+
return type === "tidyTableNumericStringColumnExpr"
|
|
57
54
|
|| type === "tidyTableNumericJSColumnExpr";
|
|
58
55
|
}
|
|
59
56
|
function isTidyTableExprRow(type) {
|
|
@@ -80,7 +77,6 @@ function isTidyTableExprTextHtml(type) {
|
|
|
80
77
|
}
|
|
81
78
|
function isTidyTableExprNumeric(type) {
|
|
82
79
|
return type === "tidyTableNumericExpr"
|
|
83
|
-
|| type === "tidyTableNumericColumnExpr"
|
|
84
80
|
|| type === "tidyTableNumericRowExpr";
|
|
85
81
|
}
|
|
86
82
|
function isTidyTableExprScale(type) {
|
|
@@ -96,6 +92,8 @@ var AutocompleteNoOptionsText;
|
|
|
96
92
|
AutocompleteNoOptionsText["NO_COLUMNS"] = "NO_COLUMNS";
|
|
97
93
|
AutocompleteNoOptionsText["NO_QUERY_RESULT"] = "NO_QUERY_RESULT";
|
|
98
94
|
AutocompleteNoOptionsText["QUERY_HAS_ERROR"] = "QUERY_HAS_ERROR";
|
|
95
|
+
AutocompleteNoOptionsText["TRANSFORMATION_HAS_ERROR"] = "TRANSFORMATION_HAS_ERROR";
|
|
96
|
+
AutocompleteNoOptionsText["QUERY_OUTDATED"] = "QUERY_OUTDATED";
|
|
99
97
|
})(AutocompleteNoOptionsText || (exports.AutocompleteNoOptionsText = AutocompleteNoOptionsText = {}));
|
|
100
98
|
/**
|
|
101
99
|
* Show an action button below the options
|
|
@@ -103,6 +101,7 @@ var AutocompleteNoOptionsText;
|
|
|
103
101
|
var AutocompleteActions;
|
|
104
102
|
(function (AutocompleteActions) {
|
|
105
103
|
AutocompleteActions["ADD_COLOR"] = "ADD_COLOR";
|
|
104
|
+
AutocompleteActions["REFRESH_QUERY"] = "REFRESH_QUERY";
|
|
106
105
|
})(AutocompleteActions || (exports.AutocompleteActions = AutocompleteActions = {}));
|
|
107
106
|
/**
|
|
108
107
|
* @see FormFieldDef
|
|
@@ -110,9 +109,14 @@ var AutocompleteActions;
|
|
|
110
109
|
var ConditionalRuleOperators;
|
|
111
110
|
(function (ConditionalRuleOperators) {
|
|
112
111
|
ConditionalRuleOperators["EQUALS"] = "EQUALS";
|
|
112
|
+
ConditionalRuleOperators["NOT_EQUALS"] = "NOT_EQUALS";
|
|
113
113
|
ConditionalRuleOperators["GREATER_THAN"] = "GREATER_THAN";
|
|
114
114
|
ConditionalRuleOperators["GREATER_EQUAL_THAN"] = "GREATER_EQUAL_THAN";
|
|
115
115
|
ConditionalRuleOperators["SMALLER_THAN"] = "SMALLER_THAN";
|
|
116
116
|
ConditionalRuleOperators["SMALLER_EQUAL_THAN"] = "SMALLER_EQUAL_THAN";
|
|
117
|
+
ConditionalRuleOperators["CONTAINS"] = "CONTAINS";
|
|
118
|
+
ConditionalRuleOperators["NOT_CONTAINS"] = "NOT_CONTAINS";
|
|
119
|
+
ConditionalRuleOperators["STARTS_WITH"] = "STARTS_WITH";
|
|
120
|
+
ConditionalRuleOperators["ENDS_WITH"] = "ENDS_WITH";
|
|
117
121
|
})(ConditionalRuleOperators || (exports.ConditionalRuleOperators = ConditionalRuleOperators = {}));
|
|
118
122
|
//# sourceMappingURL=PublicTemplateForm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PublicTemplateForm.js","sourceRoot":"","sources":["../src/PublicTemplateForm.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"PublicTemplateForm.js","sourceRoot":"","sources":["../src/PublicTemplateForm.ts"],"names":[],"mappings":";;;AAwBA,oDAEC;AA+XD,0CAaC;AAED,8CASC;AAED,oDAKC;AAED,sDAIC;AAED,gDAQC;AAED,oEAEC;AAED,4DAEC;AAED,kDAIC;AAED,0DAIC;AAED,wDAIC;AAED,oDAGC;AA/cD,SAAgB,oBAAoB,CAAC,KAAyB;IAC1D,OAAO,KAAK,CAAC,KAAK,KAAK,oBAAoB,CA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DAA6B,CAAA;IAC7B,uDAA2B,CAAA;IAC3B,mDAAuB,CAAA;AAC3B,CAAC,EAXW,wBAAwB,wCAAxB,wBAAwB,QAWnC"}
|
|
@@ -17,7 +17,7 @@ import { FilterCheckboxRadioChartOptions } from "./theme/ThemeFilterCheckboxRadi
|
|
|
17
17
|
import { FilterSliderChartOptions } from "./theme/ThemeFilterSlider";
|
|
18
18
|
import { FilterAutocompleteChartOptions } from "./theme/ThemeFilterAutocomplete";
|
|
19
19
|
import { FilterTreeChartOptions } from "./theme/ThemeFilterTree";
|
|
20
|
-
import { AmCharts4BubbleChartOptions, AmCharts4ComboChartOptions, AmCharts4DonutChartOptions, AmCharts4GaugeChartOptions, AmCharts4HistogramOptions, AmCharts4RegularAreaChartOptions, AmCharts4RegularBarChartOptions, AmCharts4RegularColumnChartOptions, AmCharts4RegularLineChartOptions, AmCharts4SankeyDiagramOptions, AmCharts4ScatterPlotOptions, AmCharts4StackedAreaChartOptions, AmCharts4StackedBarChartOptions, AmCharts4StackedColumnChartOptions, AmCharts4TreemapOptions, GeoMapChartOptions } from "./theme/ThemeAmCharts4";
|
|
20
|
+
import { AmCharts4BubbleChartOptions, AmCharts4ComboChartOptions, AmCharts4DivergentBarChartOptions, AmCharts4DonutChartOptions, AmCharts4GanttChartOptions, AmCharts4GaugeChartOptions, AmCharts4HistogramOptions, AmCharts4RegularAreaChartOptions, AmCharts4RegularBarChartOptions, AmCharts4RegularColumnChartOptions, AmCharts4RegularLineChartOptions, AmCharts4SankeyDiagramOptions, AmCharts4ScatterPlotOptions, AmCharts4StackedAreaChartOptions, AmCharts4StackedBarChartOptions, AmCharts4StackedColumnChartOptions, AmCharts4TreemapOptions, GeoMapChartOptions } from "./theme/ThemeAmCharts4";
|
|
21
21
|
import { PrintButtonChartOptions } from "./theme/ThemePrintButton";
|
|
22
22
|
import { AIWidgetChatBotOptions } from "./theme/ThemeAIWidgetChatBot";
|
|
23
23
|
import { FilterSwitchChartOptions } from "./theme/ThemeFilterSwitch";
|
|
@@ -59,6 +59,8 @@ interface IWidgetTemplateChartOptions {
|
|
|
59
59
|
"amCharts4.AmCharts4Histogram": AmCharts4HistogramOptions;
|
|
60
60
|
"amCharts4.AmCharts4SankeyDiagram": AmCharts4SankeyDiagramOptions;
|
|
61
61
|
"amCharts4.AmCharts4TreeMap": AmCharts4TreemapOptions;
|
|
62
|
+
"amCharts4.AmCharts4GanttChart": AmCharts4GanttChartOptions;
|
|
63
|
+
"amCharts4.AmCharts4DivergentBarChart": AmCharts4DivergentBarChartOptions;
|
|
62
64
|
"amCharts4.AmCharts4GeoMap": GeoMapChartOptions;
|
|
63
65
|
}
|
|
64
66
|
export type WidgetTemplateChartOptions = IWidgetTemplateChartOptions & {
|
package/dist/PublicTheme.d.ts
CHANGED
|
@@ -2,50 +2,51 @@ import { ComponentsOverrides, ComponentsVariants, Interpolation, Theme } from "@
|
|
|
2
2
|
import { IPublicWidgetTemplateDefinition } from "./PublicTemplate";
|
|
3
3
|
import { IWidgetLayoutDefinition } from "./PublicLayout";
|
|
4
4
|
import { IThemeWidgetDefaults } from "./IThemeManager";
|
|
5
|
+
import * as React from "react";
|
|
6
|
+
import { ReactElement } from "react";
|
|
7
|
+
import { TypographyStyle } from "@mui/material/styles";
|
|
8
|
+
import { Property } from "csstype";
|
|
9
|
+
import { IPublicContext } from "./PublicContext";
|
|
10
|
+
import { DatePickerClassKey, DatePickerShortcut, DateRangePickerShortcut, FilterDatePickerProps } from "./theme/ThemeDatePicker";
|
|
11
|
+
import { WidgetTemplateChartOptions } from "./PublicTemplates";
|
|
12
|
+
import { IUserMenuOptions, IWidgetBoxIconsDefinition } from "./ITypes";
|
|
13
|
+
import { AIWidgetChatBotClassKey, AIWidgetChatBotStyleProps } from "./theme/ThemeAIWidgetChatBot";
|
|
5
14
|
import { AlertDialogClassKey } from "./theme/ThemeAlertDialog";
|
|
6
15
|
import { AppClassKey, AppDivProps } from "./theme/ThemeApp";
|
|
7
16
|
import { ErrorRendererClassKey } from "./theme/ThemeErrorRenderer";
|
|
17
|
+
import { FilterCheckboxProps, FilterCheckboxRadioClassKey } from "./theme/ThemeFilterCheckboxRadio";
|
|
18
|
+
import { FilterButtonsClassKey, FilterButtonsProps } from "./theme/ThemeFilterButtons";
|
|
19
|
+
import { LazyTreeClassesClassKey, LazyTreeProps } from "./theme/ThemeLazyTreeClasses";
|
|
20
|
+
import { FilterPanelClassesKey, FilterPanelProps } from "./theme/ThemeFilterPanel";
|
|
21
|
+
import { FilterPanelViewsMenuClassesKey } from "./theme/ThemeFilterPanelViewsMenu";
|
|
22
|
+
import { RegexFilterClassesKey, RegexFilterProps } from "./theme/ThemeRegexFilter";
|
|
23
|
+
import { FilterSliderClassKey, FilterSliderProps } from "./theme/ThemeFilterSlider";
|
|
24
|
+
import { ListCounterClassKey, ListCounterProps } from "./theme/ThemeListCounter";
|
|
25
|
+
import { FilterTreeClassKey, FilterTreePopOverClassKey, FilterTreePopOverProps, FilterTreeProps } from "./theme/ThemeFilterTree";
|
|
26
|
+
import { FilterSwitchClassKey, FilterSwitchProps } from "./theme/ThemeFilterSwitch";
|
|
27
|
+
import { FilterAutocompleteClassesKey, FilterAutocompleteProps } from "./theme/ThemeFilterAutocomplete";
|
|
8
28
|
import { HtmlBoxClassKey, StyledHtmlBoxProps } from "./theme/ThemeHtmlBox";
|
|
29
|
+
import { KpiCardClassKey, KpiCardProps } from "./theme/ThemeKpiCard";
|
|
9
30
|
import { LayoutClassKey } from "./theme/ThemeLayout";
|
|
10
31
|
import { LayoutPageClassKey } from "./theme/ThemeLayoutPage";
|
|
32
|
+
import { PivotTableClassKey, PivotTableProps } from "./theme/ThemePivotTable";
|
|
33
|
+
import { TableClassKey, TableProps } from "./theme/ThemeTable";
|
|
11
34
|
import { ReportAppBarClassKey } from "./theme/ThemeReportAppBar";
|
|
12
35
|
import { WidgetBoxClassKey, WidgetBoxDivProps } from "./theme/ThemeWidgetBox";
|
|
13
36
|
import { WidgetBoxContentMessageClassKey } from "./theme/ThemeWidgetBoxContentMessage";
|
|
14
|
-
import * as React from "react";
|
|
15
|
-
import { ReactElement } from "react";
|
|
16
|
-
import { TypographyStyleOptions } from "@mui/material/styles/createTypography";
|
|
17
|
-
import { Property } from "csstype";
|
|
18
|
-
import { FilterButtonsClassKey, FilterButtonsProps } from "./theme/ThemeFilterButtons";
|
|
19
|
-
import { FilterSliderClassKey, FilterSliderProps } from "./theme/ThemeFilterSlider";
|
|
20
|
-
import { GoogleMarkerVariantChartOptions } from "./theme/ThemeGoogleMarker";
|
|
21
|
-
import { IPublicContext } from "./PublicContext";
|
|
22
|
-
import { TableClassKey, TableProps } from "./theme/ThemeTable";
|
|
23
|
-
import { PivotTableClassKey, PivotTableProps } from "./theme/ThemePivotTable";
|
|
24
|
-
import { Components } from "@mui/material/styles/components";
|
|
25
|
-
import { FilterPanelClassesKey, FilterPanelProps } from "./theme/ThemeFilterPanel";
|
|
26
|
-
import { FilterCheckboxProps, FilterCheckboxRadioClassKey } from "./theme/ThemeFilterCheckboxRadio";
|
|
27
37
|
import { ReportAppLeftPanelClassKey } from "./theme/ThemeReportAppLeftPanel";
|
|
28
|
-
import { FilterTreeClassKey, FilterTreePopOverClassKey, FilterTreePopOverProps, FilterTreeProps } from "./theme/ThemeFilterTree";
|
|
29
|
-
import { DatePickerClassKey, DatePickerShortcut, DateRangePickerShortcut, FilterDatePickerProps } from "./theme/ThemeDatePicker";
|
|
30
|
-
import { FilterAutocompleteClassesKey, FilterAutocompleteProps } from "./theme/ThemeFilterAutocomplete";
|
|
31
38
|
import { AppMenuIconClassKey, AppMenuIconProps } from "./theme/ThemeAppMenuIcon";
|
|
32
39
|
import { QueryBuilderNodeClassKey, QueryBuilderNodeProps } from "./theme/ThemeQueryBuilderNode";
|
|
33
|
-
import { KpiCardClassKey, KpiCardProps } from "./theme/ThemeKpiCard";
|
|
34
|
-
import { ListCounterClassKey, ListCounterProps } from "./theme/ThemeListCounter";
|
|
35
|
-
import { LazyTreeClassesClassKey, LazyTreeProps } from "./theme/ThemeLazyTreeClasses";
|
|
36
40
|
import { PrintButtonClassKey, StyledPrintButtonDivProps } from "./theme/ThemePrintButton";
|
|
37
41
|
import { CodeMirrorClassesKey } from "./theme/ThemeCodeMirror";
|
|
38
|
-
import { WidgetTemplateChartOptions } from "./PublicTemplates";
|
|
39
42
|
import { WidgetFilteredByClassesKey } from "./theme/ThemeWidgetFilteredBy";
|
|
40
|
-
import { IUserMenuOptions, IWidgetBoxIconsDefinition } from "./ITypes";
|
|
41
43
|
import { Ic3TableCellProps, ThemeIc3TableCellClassesKey } from "./theme/ThemeIc3TableCell";
|
|
42
|
-
import { RegexFilterClassesKey, RegexFilterProps } from "./theme/ThemeRegexFilter";
|
|
43
|
-
import { AIWidgetChatBotClassKey, AIWidgetChatBotStyleProps } from "./theme/ThemeAIWidgetChatBot";
|
|
44
|
-
import { FilterPanelViewsMenuClassesKey } from "./theme/ThemeFilterPanelViewsMenu";
|
|
45
44
|
import { Ic3TableCellDrilldownProps, ThemeIc3TableCellDrilldownClassesKey } from "./theme/ThemeIc3TableCellDrilldown";
|
|
46
|
-
import { FilterSwitchClassKey, FilterSwitchProps } from "./theme/ThemeFilterSwitch";
|
|
47
45
|
import { HomeCardClassKey } from "./theme/ThemeHomeCard";
|
|
48
46
|
import { HomeConsoleClassKey } from "./theme/ThemeHomeConsole";
|
|
47
|
+
import { GoogleMarkerVariantChartOptions } from "./theme/ThemeGoogleMarker";
|
|
48
|
+
import { Ic3CustomDrilldownMenuClassesKey } from "./theme/ThemeIc3CustomDrilldownMenu";
|
|
49
|
+
import { Ic3WidgetBoxSpinnerProps, ThemeIc3WidgetBoxSpinnerClassesKey } from "./theme/ThemeIc3WidgetBoxSpinner";
|
|
49
50
|
export type Ic3ChartVariants = {
|
|
50
51
|
[Name in keyof WidgetTemplateChartOptions]?: Array<{
|
|
51
52
|
props: {
|
|
@@ -373,13 +374,13 @@ export interface ic3PaletteOptions {
|
|
|
373
374
|
mdx?: Partial<ic3Palette['mdx']>;
|
|
374
375
|
}
|
|
375
376
|
export interface ic3Typography {
|
|
376
|
-
amCharts4:
|
|
377
|
+
amCharts4: TypographyStyle;
|
|
377
378
|
}
|
|
378
379
|
export interface ic3TypographyOptions {
|
|
379
380
|
/**
|
|
380
381
|
* Typography for the amCharts plugin.
|
|
381
382
|
*/
|
|
382
|
-
amCharts4?:
|
|
383
|
+
amCharts4?: TypographyStyle;
|
|
383
384
|
}
|
|
384
385
|
export declare enum TableRowHeightOptions {
|
|
385
386
|
standard = "standard",
|
|
@@ -492,26 +493,44 @@ export interface ic3Theme {
|
|
|
492
493
|
*/
|
|
493
494
|
widgetDefaults?: IThemeWidgetDefaults;
|
|
494
495
|
/**
|
|
495
|
-
* Styling for the sparklines in the sparkline transformation and the KPI card
|
|
496
|
+
* Styling for the sparklines in the sparkline transformation and the KPI card.
|
|
496
497
|
*/
|
|
497
498
|
sparklineSettings: {
|
|
498
499
|
/**
|
|
499
|
-
*
|
|
500
|
+
* Line sparkline settings.
|
|
500
501
|
*/
|
|
501
|
-
|
|
502
|
+
line: {
|
|
503
|
+
/**
|
|
504
|
+
* The width of the line in the sparkline
|
|
505
|
+
*/
|
|
506
|
+
lineWidth: number;
|
|
507
|
+
/**
|
|
508
|
+
* The cursor when the user hovers over the sparkline
|
|
509
|
+
*/
|
|
510
|
+
cursor: {
|
|
511
|
+
color: Property.Color;
|
|
512
|
+
/**
|
|
513
|
+
* the width of the cursor dot when hovering.
|
|
514
|
+
*/
|
|
515
|
+
spotRadius: number;
|
|
516
|
+
/**
|
|
517
|
+
* The width of the stroke when hovering
|
|
518
|
+
*/
|
|
519
|
+
width: number;
|
|
520
|
+
};
|
|
521
|
+
};
|
|
502
522
|
/**
|
|
503
|
-
*
|
|
523
|
+
* Column sparkline settings.
|
|
504
524
|
*/
|
|
505
|
-
|
|
506
|
-
color: Property.Color;
|
|
525
|
+
column: {
|
|
507
526
|
/**
|
|
508
|
-
*
|
|
527
|
+
* Radius of the columns rounded corners.
|
|
509
528
|
*/
|
|
510
|
-
|
|
529
|
+
cornerRadius: number;
|
|
511
530
|
/**
|
|
512
|
-
*
|
|
531
|
+
* Space between columns.
|
|
513
532
|
*/
|
|
514
|
-
|
|
533
|
+
columnSpacing: number;
|
|
515
534
|
};
|
|
516
535
|
};
|
|
517
536
|
noSchemaRenderer?: (context: IPublicContext, options: INoSchemaRendererOptions) => ReactElement;
|
|
@@ -733,7 +752,77 @@ interface IWidgetIcons extends IWidgetBoxIconsDefinition, Record<string, any> {
|
|
|
733
752
|
*/
|
|
734
753
|
disableWidgetIconsEdition?: boolean;
|
|
735
754
|
}
|
|
736
|
-
interface
|
|
755
|
+
export interface ic3ComponentNameToClassKey {
|
|
756
|
+
AIWidgetChatBot: AIWidgetChatBotClassKey;
|
|
757
|
+
AlertDialog: AlertDialogClassKey;
|
|
758
|
+
App: AppClassKey;
|
|
759
|
+
ErrorRenderer: ErrorRendererClassKey;
|
|
760
|
+
FilterCheckbox: FilterCheckboxRadioClassKey;
|
|
761
|
+
FilterButtons: FilterButtonsClassKey;
|
|
762
|
+
LazyTreeViewStyled: LazyTreeClassesClassKey;
|
|
763
|
+
FilterPanel: FilterPanelClassesKey;
|
|
764
|
+
FilterPanelViewsMenu: FilterPanelViewsMenuClassesKey;
|
|
765
|
+
Ic3CustomDrilldownMenu: Ic3CustomDrilldownMenuClassesKey;
|
|
766
|
+
RegexFilter: RegexFilterClassesKey;
|
|
767
|
+
FilterSlider: FilterSliderClassKey;
|
|
768
|
+
ListCounter: ListCounterClassKey;
|
|
769
|
+
FilterTree: FilterTreeClassKey;
|
|
770
|
+
Ic3FilterSwitch: FilterSwitchClassKey;
|
|
771
|
+
FilterTreePopOver: FilterTreePopOverClassKey;
|
|
772
|
+
FilterDatePicker: DatePickerClassKey;
|
|
773
|
+
FilterAutocomplete: FilterAutocompleteClassesKey;
|
|
774
|
+
HtmlBox: HtmlBoxClassKey;
|
|
775
|
+
KpiCard: KpiCardClassKey;
|
|
776
|
+
Layout: LayoutClassKey;
|
|
777
|
+
LayoutPage: LayoutPageClassKey;
|
|
778
|
+
PivotTable: PivotTableClassKey;
|
|
779
|
+
Table: TableClassKey;
|
|
780
|
+
ReportAppBar: ReportAppBarClassKey;
|
|
781
|
+
WidgetBox: WidgetBoxClassKey;
|
|
782
|
+
WidgetBoxContentMessage: WidgetBoxContentMessageClassKey;
|
|
783
|
+
ReportAppLeftPanel: ReportAppLeftPanelClassKey;
|
|
784
|
+
AppMenuIcon: AppMenuIconClassKey;
|
|
785
|
+
QueryBuilderNode: QueryBuilderNodeClassKey;
|
|
786
|
+
PrintButton: PrintButtonClassKey;
|
|
787
|
+
CodeMirror: CodeMirrorClassesKey;
|
|
788
|
+
WidgetBoxFilteredByTooltip: WidgetFilteredByClassesKey;
|
|
789
|
+
Ic3TableCell: ThemeIc3TableCellClassesKey;
|
|
790
|
+
Ic3TableCellDrilldown: ThemeIc3TableCellDrilldownClassesKey;
|
|
791
|
+
Ic3TableCellError: ThemeIc3TableCellClassesKey;
|
|
792
|
+
Ic3WidgetBoxSpinner: ThemeIc3WidgetBoxSpinnerClassesKey;
|
|
793
|
+
HomeCard: HomeCardClassKey;
|
|
794
|
+
HomeConsole: HomeConsoleClassKey;
|
|
795
|
+
}
|
|
796
|
+
export interface ic3ComponentsPropsList {
|
|
797
|
+
AIWidgetChatBot: AIWidgetChatBotStyleProps;
|
|
798
|
+
FilterCheckbox: FilterCheckboxProps;
|
|
799
|
+
FilterButtons: FilterButtonsProps;
|
|
800
|
+
LazyTreeViewStyled: LazyTreeProps;
|
|
801
|
+
FilterPanel: FilterPanelProps;
|
|
802
|
+
RegexFilter: RegexFilterProps;
|
|
803
|
+
FilterSlider: FilterSliderProps;
|
|
804
|
+
ListCounter: ListCounterProps;
|
|
805
|
+
FilterTree: FilterTreeProps;
|
|
806
|
+
Ic3FilterSwitch: FilterSwitchProps;
|
|
807
|
+
FilterTreePopOver: FilterTreePopOverProps;
|
|
808
|
+
FilterDatePicker: FilterDatePickerProps;
|
|
809
|
+
FilterAutocomplete: FilterAutocompleteProps;
|
|
810
|
+
HtmlBox: StyledHtmlBoxProps;
|
|
811
|
+
KpiCard: KpiCardProps;
|
|
812
|
+
PivotTable: PivotTableProps;
|
|
813
|
+
Table: TableProps;
|
|
814
|
+
WidgetBox: WidgetBoxDivProps;
|
|
815
|
+
GoogleMarker: GoogleMarkerVariantChartOptions;
|
|
816
|
+
AppMenuIconStyled: AppMenuIconProps;
|
|
817
|
+
App: AppDivProps;
|
|
818
|
+
QueryBuilderNode: QueryBuilderNodeProps;
|
|
819
|
+
PrintButton: StyledPrintButtonDivProps;
|
|
820
|
+
Ic3TableCell: Ic3TableCellProps;
|
|
821
|
+
Ic3TableCellDrilldown: Ic3TableCellDrilldownProps;
|
|
822
|
+
Ic3TableCellError: Ic3TableCellProps;
|
|
823
|
+
Ic3WidgetBoxSpinner: Ic3WidgetBoxSpinnerProps;
|
|
824
|
+
}
|
|
825
|
+
export interface ic3BaseComponents {
|
|
737
826
|
AIWidgetChatBot?: {
|
|
738
827
|
styleOverrides?: ComponentsOverrides["AIWidgetChatBot"];
|
|
739
828
|
variants?: ComponentsVariants["AIWidgetChatBot"];
|
|
@@ -858,6 +947,10 @@ interface ic3BaseComponents {
|
|
|
858
947
|
Ic3TableCellError?: {
|
|
859
948
|
styleOverrides?: ComponentsOverrides["Ic3TableCellError"];
|
|
860
949
|
};
|
|
950
|
+
Ic3WidgetBoxSpinner?: {
|
|
951
|
+
defaultProps?: Partial<Ic3WidgetBoxSpinnerProps>;
|
|
952
|
+
styleOverrides?: ComponentsOverrides["Ic3WidgetBoxSpinner"];
|
|
953
|
+
};
|
|
861
954
|
Ic3FilterSwitch?: {
|
|
862
955
|
styleOverrides?: ComponentsOverrides["Ic3FilterSwitch"];
|
|
863
956
|
variants?: ComponentsVariants["Ic3FilterSwitch"];
|
|
@@ -917,120 +1010,4 @@ interface ic3BaseComponents {
|
|
|
917
1010
|
styleOverrides?: ComponentsOverrides["HomeConsole"];
|
|
918
1011
|
};
|
|
919
1012
|
}
|
|
920
|
-
/**
|
|
921
|
-
* For Typing purpose extending MUI Theme with ic3 components.
|
|
922
|
-
* @deprecated Please use `Components` with `import { Components } from "@mui/material/styles";`.
|
|
923
|
-
*/
|
|
924
|
-
export interface ic3Components extends ic3BaseComponents, Components {
|
|
925
|
-
}
|
|
926
|
-
/**
|
|
927
|
-
*
|
|
928
|
-
* MUI Module augmentation
|
|
929
|
-
*
|
|
930
|
-
*/
|
|
931
|
-
declare module "@mui/material/styles/createPalette" {
|
|
932
|
-
interface Palette {
|
|
933
|
-
ic3: ic3Palette;
|
|
934
|
-
}
|
|
935
|
-
interface PaletteOptions {
|
|
936
|
-
ic3?: ic3PaletteOptions;
|
|
937
|
-
}
|
|
938
|
-
}
|
|
939
|
-
declare module "@mui/material/styles/createTypography" {
|
|
940
|
-
interface Typography {
|
|
941
|
-
ic3: ic3Typography;
|
|
942
|
-
}
|
|
943
|
-
interface TypographyOptions {
|
|
944
|
-
ic3?: ic3TypographyOptions;
|
|
945
|
-
}
|
|
946
|
-
}
|
|
947
|
-
declare module '@mui/material/styles/createTheme' {
|
|
948
|
-
interface Theme {
|
|
949
|
-
ic3: ic3Theme;
|
|
950
|
-
}
|
|
951
|
-
/**
|
|
952
|
-
* Input of createMuiTheme( {...} )
|
|
953
|
-
*/
|
|
954
|
-
interface ThemeOptions {
|
|
955
|
-
ic3: ic3ThemeOptions;
|
|
956
|
-
}
|
|
957
|
-
}
|
|
958
|
-
/**
|
|
959
|
-
* All Components using Material-UI like variants (using styled)
|
|
960
|
-
*/
|
|
961
|
-
declare module '@mui/material/styles/components' {
|
|
962
|
-
interface Components extends ic3BaseComponents {
|
|
963
|
-
}
|
|
964
|
-
}
|
|
965
|
-
declare module '@mui/material/styles/overrides' {
|
|
966
|
-
interface ComponentNameToClassKey {
|
|
967
|
-
AIWidgetChatBot: AIWidgetChatBotClassKey;
|
|
968
|
-
AlertDialog: AlertDialogClassKey;
|
|
969
|
-
App: AppClassKey;
|
|
970
|
-
ErrorRenderer: ErrorRendererClassKey;
|
|
971
|
-
FilterCheckbox: FilterCheckboxRadioClassKey;
|
|
972
|
-
FilterButtons: FilterButtonsClassKey;
|
|
973
|
-
LazyTreeViewStyled: LazyTreeClassesClassKey;
|
|
974
|
-
FilterPanel: FilterPanelClassesKey;
|
|
975
|
-
FilterPanelViewsMenu: FilterPanelViewsMenuClassesKey;
|
|
976
|
-
RegexFilter: RegexFilterClassesKey;
|
|
977
|
-
FilterSlider: FilterSliderClassKey;
|
|
978
|
-
ListCounter: ListCounterClassKey;
|
|
979
|
-
FilterTree: FilterTreeClassKey;
|
|
980
|
-
Ic3FilterSwitch: FilterSwitchClassKey;
|
|
981
|
-
FilterTreePopOver: FilterTreePopOverClassKey;
|
|
982
|
-
FilterDatePicker: DatePickerClassKey;
|
|
983
|
-
FilterAutocomplete: FilterAutocompleteClassesKey;
|
|
984
|
-
HtmlBox: HtmlBoxClassKey;
|
|
985
|
-
KpiCard: KpiCardClassKey;
|
|
986
|
-
Layout: LayoutClassKey;
|
|
987
|
-
LayoutPage: LayoutPageClassKey;
|
|
988
|
-
PivotTable: PivotTableClassKey;
|
|
989
|
-
Table: TableClassKey;
|
|
990
|
-
ReportAppBar: ReportAppBarClassKey;
|
|
991
|
-
WidgetBox: WidgetBoxClassKey;
|
|
992
|
-
WidgetBoxContentMessage: WidgetBoxContentMessageClassKey;
|
|
993
|
-
ReportAppLeftPanel: ReportAppLeftPanelClassKey;
|
|
994
|
-
AppMenuIcon: AppMenuIconClassKey;
|
|
995
|
-
QueryBuilderNode: QueryBuilderNodeClassKey;
|
|
996
|
-
PrintButton: PrintButtonClassKey;
|
|
997
|
-
CodeMirror: CodeMirrorClassesKey;
|
|
998
|
-
WidgetBoxFilteredByTooltip: WidgetFilteredByClassesKey;
|
|
999
|
-
Ic3TableCell: ThemeIc3TableCellClassesKey;
|
|
1000
|
-
Ic3TableCellDrilldown: ThemeIc3TableCellDrilldownClassesKey;
|
|
1001
|
-
Ic3TableCellError: ThemeIc3TableCellClassesKey;
|
|
1002
|
-
HomeCard: HomeCardClassKey;
|
|
1003
|
-
HomeConsole: HomeConsoleClassKey;
|
|
1004
|
-
}
|
|
1005
|
-
}
|
|
1006
|
-
declare module '@mui/material/styles/props' {
|
|
1007
|
-
interface ComponentsPropsList {
|
|
1008
|
-
AIWidgetChatBot: AIWidgetChatBotStyleProps;
|
|
1009
|
-
FilterCheckbox: FilterCheckboxProps;
|
|
1010
|
-
FilterButtons: FilterButtonsProps;
|
|
1011
|
-
LazyTreeViewStyled: LazyTreeProps;
|
|
1012
|
-
FilterPanel: FilterPanelProps;
|
|
1013
|
-
RegexFilter: RegexFilterProps;
|
|
1014
|
-
FilterSlider: FilterSliderProps;
|
|
1015
|
-
ListCounter: ListCounterProps;
|
|
1016
|
-
FilterTree: FilterTreeProps;
|
|
1017
|
-
Ic3FilterSwitch: FilterSwitchProps;
|
|
1018
|
-
FilterTreePopOver: FilterTreePopOverProps;
|
|
1019
|
-
FilterDatePicker: FilterDatePickerProps;
|
|
1020
|
-
FilterAutocomplete: FilterAutocompleteProps;
|
|
1021
|
-
HtmlBox: StyledHtmlBoxProps;
|
|
1022
|
-
KpiCard: KpiCardProps;
|
|
1023
|
-
PivotTable: PivotTableProps;
|
|
1024
|
-
Table: TableProps;
|
|
1025
|
-
WidgetBox: WidgetBoxDivProps;
|
|
1026
|
-
GoogleMarker: GoogleMarkerVariantChartOptions;
|
|
1027
|
-
AppMenuIconStyled: AppMenuIconProps;
|
|
1028
|
-
App: AppDivProps;
|
|
1029
|
-
QueryBuilderNode: QueryBuilderNodeProps;
|
|
1030
|
-
PrintButton: StyledPrintButtonDivProps;
|
|
1031
|
-
Ic3TableCell: Ic3TableCellProps;
|
|
1032
|
-
Ic3TableCellDrilldown: Ic3TableCellDrilldownProps;
|
|
1033
|
-
Ic3TableCellError: Ic3TableCellProps;
|
|
1034
|
-
}
|
|
1035
|
-
}
|
|
1036
1013
|
export {};
|
package/dist/PublicTheme.js
CHANGED
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.TableRowHeightOptions = void 0;
|
|
4
4
|
exports.isThemeFormatterPerLocale = isThemeFormatterPerLocale;
|
|
5
5
|
function isThemeFormatterPerLocale(x) {
|
|
6
|
-
return
|
|
6
|
+
return x?.['default'] != null;
|
|
7
7
|
}
|
|
8
8
|
var TableRowHeightOptions;
|
|
9
9
|
(function (TableRowHeightOptions) {
|
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":";;;AAiKA,8DAEC;AAFD,SAAgB,yBAAyB,CAAC,CAAqE;IAC3G,OAAQ,CAA6B,EAAE,CAAC,SAAS,CAAC,IAAI,IAAI,CAAC;AAC/D,CAAC;AA6RD,IAAY,qBAIX;AAJD,WAAY,qBAAqB;IAC7B,8CAAqB,CAAA;IACrB,4CAAmB,CAAA;IACnB,wCAAe,CAAA;AACnB,CAAC,EAJW,qBAAqB,qCAArB,qBAAqB,QAIhC"}
|
|
@@ -313,22 +313,22 @@ export interface ITidyBaseColumn<T> extends ITidyBaseColumnReadonly<T> {
|
|
|
313
313
|
* Returns true if the column has a property of requested name.
|
|
314
314
|
*/
|
|
315
315
|
hasProperty(name: ITidyColumnNamedProperties | string): boolean;
|
|
316
|
-
/**
|
|
317
|
-
* Returns true if the column has color property or is a color column.
|
|
318
|
-
*/
|
|
319
|
-
hasColorProperty(): boolean;
|
|
320
316
|
/**
|
|
321
317
|
* Returns the color column (if defined).
|
|
322
318
|
*
|
|
323
319
|
* If the column has type 'color', then it returns itself. Else it returns the
|
|
324
|
-
* column of the first property with type 'color'.
|
|
320
|
+
* column of the first property(1) with type 'color' (if it is defined).
|
|
321
|
+
*
|
|
322
|
+
* (1) the fore color property is excluded.
|
|
325
323
|
*/
|
|
326
324
|
getColorColumn(): ITidyColorColumn | undefined;
|
|
327
325
|
/**
|
|
328
326
|
* Returns the color of a cell (if defined).
|
|
329
327
|
*
|
|
330
328
|
* If the column has type 'color', then it returns the cell value. Else it returns the
|
|
331
|
-
* value at rowIdx of the first property with type 'color' (if it is defined).
|
|
329
|
+
* value at rowIdx of the first property(1) with type 'color' (if it is defined).
|
|
330
|
+
*
|
|
331
|
+
* (1) the fore color property is excluded.
|
|
332
332
|
*/
|
|
333
333
|
getColor(rowIdx: number): Property.Color | undefined;
|
|
334
334
|
/**
|
|
@@ -348,13 +348,6 @@ export interface ITidyBaseColumn<T> extends ITidyBaseColumnReadonly<T> {
|
|
|
348
348
|
* @param rowIdx row index for the value to return.
|
|
349
349
|
*/
|
|
350
350
|
getPropertyAt(name: ITidyColumnNamedProperties | string, rowIdx: number): any;
|
|
351
|
-
/**
|
|
352
|
-
* Return the properties of a column for a given cell index.
|
|
353
|
-
*
|
|
354
|
-
* @param idx row index of cell.
|
|
355
|
-
* @deprecated
|
|
356
|
-
*/
|
|
357
|
-
getPropertiesAt(idx: number): Record<string, any>;
|
|
358
351
|
/**
|
|
359
352
|
* Return available properties for this column as a list of columns.
|
|
360
353
|
*/
|
package/dist/PublicTidyTree.js
CHANGED
|
@@ -26,7 +26,11 @@ exports.TidyTree = void 0;
|
|
|
26
26
|
*/
|
|
27
27
|
class TidyTree {
|
|
28
28
|
constructor(root) {
|
|
29
|
-
this.root =
|
|
29
|
+
this.root = {
|
|
30
|
+
nodeLabel: 'root',
|
|
31
|
+
children: [],
|
|
32
|
+
...root
|
|
33
|
+
};
|
|
30
34
|
}
|
|
31
35
|
/**
|
|
32
36
|
* A unique id for each node of the tree
|
|
@@ -64,11 +68,10 @@ class TidyTree {
|
|
|
64
68
|
* aggrfn is sum by default
|
|
65
69
|
*/
|
|
66
70
|
getNodeValue(node, measure) {
|
|
67
|
-
var _a;
|
|
68
71
|
if (node.rowIds == null) {
|
|
69
72
|
return [...measure.getValues()].reduce(sumAggregation);
|
|
70
73
|
}
|
|
71
|
-
if (
|
|
74
|
+
if (node.originalColumn?.isHierarchy()) {
|
|
72
75
|
return measure.getValue(node.rowIds[0]);
|
|
73
76
|
}
|
|
74
77
|
const values = node.rowIds.map(i => measure.getValue(i));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PublicTidyTree.js","sourceRoot":"","sources":["../src/PublicTidyTree.ts"],"names":[],"mappings":";;;AA6BA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAa,QAAQ;IAIjB,YAAY,IAAmB;QAC3B,IAAI,CAAC,IAAI,
|
|
1
|
+
{"version":3,"file":"PublicTidyTree.js","sourceRoot":"","sources":["../src/PublicTidyTree.ts"],"names":[],"mappings":";;;AA6BA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAa,QAAQ;IAIjB,YAAY,IAAmB;QAC3B,IAAI,CAAC,IAAI,GAAG;YACR,SAAS,EAAE,MAAM;YACjB,QAAQ,EAAE,EAAE;YACZ,GAAG,IAAI;SACV,CAAC;IACN,CAAC;IAED;;;OAGG;IACH,MAAM,CAAC,WAAW,CAAC,IAAkB,EAAE,UAAkB;QACrD,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,EAAE,CAAC;YACtB,OAAO,MAAM,CAAC;QAClB,CAAC;QACD,OAAO,UAAU,GAAG,IAAI,GAAG,IAAI,CAAC,SAAS,GAAG,IAAI,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;IACxE,CAAC;IAED;;;;;OAKG;IACH,OAAO,CAAI,UAAoC,EAAE,gBAAqD;QAElG,SAAS,aAAa,CAAC,QAAwB,EAAE,UAAkB,EAAE,MAAoB,EAAE,UAAoC,EAAE,aAAiB;YAC9I,QAAQ,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,GAAG,EAAE,EAAE;gBAC3B,IAAI,UAAU,CAAC,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OAAO,MAAM,CAAC,MAAM,CAAC,cAAc,CAAC,CAAC;IACzC,CAAC;CACJ;AA9DD,4BA8DC;AAED,SAAS,cAAc,CAAC,CAAgB,EAAE,CAAgB;IACtD,IAAI,CAAC,IAAI,IAAI;QACT,OAAO,CAAC,CAAC;IACb,IAAI,CAAC,IAAI,IAAI;QACT,OAAO,CAAC,CAAC;IACb,OAAO,CAAC,GAAG,CAAC,CAAC;AACjB,CAAC"}
|
|
@@ -1,14 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/* eslint @typescript-eslint/ban-ts-comment: 0 */ // --> OFF
|
|
3
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
4
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
5
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
6
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
7
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
8
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
9
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
10
|
-
});
|
|
11
|
-
};
|
|
12
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
4
|
exports.RemoteContainerUtils = void 0;
|
|
14
5
|
class RemoteContainerUtils {
|
|
@@ -38,20 +29,20 @@ class RemoteContainerUtils {
|
|
|
38
29
|
// of the await keyword being used to invoke asynchronous code.
|
|
39
30
|
// So the async keyword is added to functions to tell them to return a promise
|
|
40
31
|
// rather than directly returning the value.
|
|
41
|
-
return () =>
|
|
32
|
+
return async () => {
|
|
42
33
|
// Initializes the share scope. This fills it with known provided modules
|
|
43
34
|
// from this build and all remotes.
|
|
44
35
|
// @ts-ignore
|
|
45
|
-
|
|
36
|
+
await __webpack_init_sharing__("default");
|
|
46
37
|
// or get the container somewhere else
|
|
47
38
|
const container = window[scope];
|
|
48
39
|
// Initialize the container, it may provide shared modules
|
|
49
40
|
// @ts-ignore
|
|
50
|
-
|
|
51
|
-
const factory =
|
|
41
|
+
await container.init(__webpack_share_scopes__.default);
|
|
42
|
+
const factory = await window[scope].get(module);
|
|
52
43
|
const Module = factory();
|
|
53
44
|
return Module;
|
|
54
|
-
}
|
|
45
|
+
};
|
|
55
46
|
}
|
|
56
47
|
}
|
|
57
48
|
exports.RemoteContainerUtils = RemoteContainerUtils;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RemoteContainerUtils.js","sourceRoot":"","sources":["../src/RemoteContainerUtils.ts"],"names":[],"mappings":";AAAA,iDAAiD,CAAE,UAAU
|
|
1
|
+
{"version":3,"file":"RemoteContainerUtils.js","sourceRoot":"","sources":["../src/RemoteContainerUtils.ts"],"names":[],"mappings":";AAAA,iDAAiD,CAAE,UAAU;;;AAS7D,MAAa,oBAAoB;IAEtB,MAAM,CAAC,UAAU,CAAC,MAAqB,EAAE,GAAW,EAAE,QAAyB;QAElF,IAAI,MAAM,EAAE,CAAC;YACT,MAAM,GAAG,kBAAkB,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC;QAC9C,CAAC;aAAM,CAAC;YACJ,MAAM,GAAG,EAAE,CAAC;QAChB,CAAC;QAED,GAAG,GAAG,GAAG,GAAG,CAAC,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,IAAI,GAAG,MAAM,GAAG,IAAI,IAAI,EAAE,CAAC,OAAO,EAAE,CAAC,mBAAmB,CAAC;QAE7G,OAAO,CAAC,GAAG,CAAC,8CAA8C,GAAG,GAAG,GAAG,GAAG,CAAC,CAAC;QAExE,MAAM,OAAO,GAAG,QAAQ,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;QAEjD,OAAO,CAAC,GAAG,GAAG,GAAG,CAAC;QAClB,OAAO,CAAC,IAAI,GAAG,iBAAiB,CAAC;QACjC,OAAO,CAAC,KAAK,GAAG,IAAI,CAAC;QAErB,OAAO,CAAC,MAAM,GAAG,GAAG,EAAE;YAClB,QAAQ,CAAC,SAAS,EAAE,CAAC;QACzB,CAAC,CAAC;QAEF,OAAO,CAAC,OAAO,GAAG,CAAC,KAAqB,EAAE,MAAe,EAAE,MAAe,EAAE,KAAc,EAAE,KAAa,EAAE,EAAE;YACzG,QAAQ,CAAC,OAAO,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;QAC1D,CAAC,CAAC;QAEF,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;IACvC,CAAC;IAEM,MAAM,CAAC,UAAU,CAAC,KAAa,EAAE,MAAc;QAElD,2EAA2E;QAC3E,+DAA+D;QAE/D,8EAA8E;QAC9E,4CAA4C;QAE5C,OAAO,KAAK,IAAkB,EAAE;YAE5B,yEAAyE;YACzE,mCAAmC;YAEnC,aAAa;YACb,MAAM,wBAAwB,CAAC,SAAS,CAAC,CAAC;YAE1C,sCAAsC;YACtC,MAAM,SAAS,GAAI,MAAc,CAAC,KAAK,CAAC,CAAC;YAEzC,0DAA0D;YAE1D,aAAa;YACb,MAAM,SAAS,CAAC,IAAI,CAAC,wBAAwB,CAAC,OAAO,CAAC,CAAC;YACvD,MAAM,OAAO,GAAG,MAAO,MAAc,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;YAEzD,MAAM,MAAM,GAAG,OAAO,EAAE,CAAC;YACzB,OAAO,MAAM,CAAC;QAClB,CAAC,CAAC;IACN,CAAC;CAGJ;AA9DD,oDA8DC"}
|
package/dist/ReportingVersion.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
class ReportingVersion {
|
|
4
4
|
constructor(version, timestamp) {
|
|
5
|
-
this.version = version
|
|
6
|
-
this.timestamp = timestamp
|
|
5
|
+
this.version = version ?? "-";
|
|
6
|
+
this.timestamp = timestamp ?? "-";
|
|
7
7
|
}
|
|
8
8
|
getInfo() {
|
|
9
9
|
return this.version + " (" + this.timestamp + ")";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReportingVersion.js","sourceRoot":"","sources":["../src/ReportingVersion.ts"],"names":[],"mappings":";;AAAA,MAAqB,gBAAgB;IASjC,YAAY,OAA2B,EAAE,SAA6B;QAElE,IAAI,CAAC,OAAO,GAAG,OAAO,
|
|
1
|
+
{"version":3,"file":"ReportingVersion.js","sourceRoot":"","sources":["../src/ReportingVersion.ts"],"names":[],"mappings":";;AAAA,MAAqB,gBAAgB;IASjC,YAAY,OAA2B,EAAE,SAA6B;QAElE,IAAI,CAAC,OAAO,GAAG,OAAO,IAAI,GAAG,CAAC;QAC9B,IAAI,CAAC,SAAS,GAAG,SAAS,IAAI,GAAG,CAAC;IACtC,CAAC;IAEM,OAAO;QACV,OAAO,IAAI,CAAC,OAAO,GAAG,IAAI,GAAG,IAAI,CAAC,SAAS,GAAG,GAAG,CAAC;IACtD,CAAC;CAEJ;AAnBD,mCAmBC"}
|