@ic3/reporting-api 8.4.13 → 8.5.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 +1 -1
- package/dist/ApiUtils.js.map +1 -1
- package/dist/IOnNewEventJsContext.d.ts +4 -0
- package/dist/IThemeManager.d.ts +12 -0
- package/dist/IcEvent.d.ts +2 -0
- package/dist/IcEvent.js +2 -0
- package/dist/IcEvent.js.map +1 -1
- package/dist/Logger.d.ts +1 -1
- package/dist/PublicContext.d.ts +6 -0
- package/dist/PublicContext.js.map +1 -1
- package/dist/PublicLayout.d.ts +3 -0
- package/dist/PublicTemplate.d.ts +19 -0
- package/dist/PublicTemplate.js.map +1 -1
- package/dist/PublicTemplateForm.d.ts +1 -1
- package/dist/PublicTemplateForm.js.map +1 -1
- package/dist/PublicTemplates.d.ts +2 -0
- package/dist/PublicTheme.d.ts +14 -0
- package/dist/PublicTheme.js.map +1 -1
- package/dist/PublicTidyColumn.d.ts +10 -5
- package/dist/PublicTidyTable.d.ts +4 -0
- package/dist/PublicTidyTableInteractions.d.ts +6 -0
- package/dist/PublicTidyTableTypes.d.ts +3 -3
- package/dist/PublicTidyTableTypes.js.map +1 -1
- package/dist/theme/ThemeBaseTable.d.ts +4 -0
- package/dist/theme/ThemeFilterAutocomplete.d.ts +4 -0
- package/dist/theme/ThemeFilterPanel.d.ts +4 -0
- package/dist/theme/ThemeFilterPanelViewsMenu.d.ts +1 -0
- package/dist/theme/ThemeFilterPanelViewsMenu.js +1 -0
- package/dist/theme/ThemeFilterPanelViewsMenu.js.map +1 -1
- package/dist/theme/ThemeFilterSwitch.d.ts +41 -0
- package/dist/theme/ThemeFilterSwitch.js +15 -0
- package/dist/theme/ThemeFilterSwitch.js.map +1 -0
- package/dist/theme/ThemeIc3TableCellDrilldown.d.ts +12 -0
- package/dist/theme/ThemeIc3TableCellDrilldown.js +11 -0
- package/dist/theme/ThemeIc3TableCellDrilldown.js.map +1 -0
- package/package.json +8 -8
package/dist/ApiUtils.js
CHANGED
|
@@ -8,7 +8,7 @@ const ReportingVersion_1 = __importDefault(require("./ReportingVersion"));
|
|
|
8
8
|
class ApiUtils {
|
|
9
9
|
static makePlugin(definition) {
|
|
10
10
|
return () => {
|
|
11
|
-
return Object.assign({ apiVersion: new ReportingVersion_1.default("8.
|
|
11
|
+
return Object.assign({ apiVersion: new ReportingVersion_1.default("8.5.0" || "-", "Wed, 06 Nov 2024 06:01:15 GMT" || "-") }, definition);
|
|
12
12
|
};
|
|
13
13
|
}
|
|
14
14
|
/**
|
package/dist/ApiUtils.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApiUtils.js","sourceRoot":"","sources":["../src/ApiUtils.ts"],"names":[],"mappings":";;;;;;AAEA,0EAAkD;AAiDlD,MAAa,QAAQ;IAOV,MAAM,CAAC,UAAU,CAAC,UAA6B;QAElD,OAAO,GAA+B,EAAE;YAEpC,uBAEI,UAAU,EAAE,IAAI,0BAAgB,CAC5B,
|
|
1
|
+
{"version":3,"file":"ApiUtils.js","sourceRoot":"","sources":["../src/ApiUtils.ts"],"names":[],"mappings":";;;;;;AAEA,0EAAkD;AAiDlD,MAAa,QAAQ;IAOV,MAAM,CAAC,UAAU,CAAC,UAA6B;QAElD,OAAO,GAA+B,EAAE;YAEpC,uBAEI,UAAU,EAAE,IAAI,0BAAgB,CAC5B,OAAO,IAAI,GAAG,EACd,+BAA+B,IAAI,GAAG,CACzC,IAEE,UAAU,EAEhB;QAEL,CAAC,CAAA;IACL,CAAC;IAED;;;;;OAKG;IACI,MAAM,CAAC,oCAAoC,CAAkC,UAAsE;QAEtJ,uCAEO,UAAU,KAEb,MAAM,EAAE,CAAC,OAA6B,EAAE,SAAyB,EAAE,EAAE;gBACjE,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;YAC1D,CAAC,EAED,cAAc,EAAE,KAAK,EAErB,6BAA6B,EAAE,KAAK,IAEvC;IA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the DOM directly.
|
|
70
70
|
*/
|
|
71
71
|
getWidgetHeaderTitle$(widgetId: string): any;
|
|
72
|
+
/**
|
|
73
|
+
* Localize the tag using the content localization files.
|
|
74
|
+
*/
|
|
75
|
+
localize(tag: string, ...args: any[]): string;
|
|
72
76
|
}
|
package/dist/IThemeManager.d.ts
CHANGED
|
@@ -61,7 +61,19 @@ export type IThemeWidgetVariant = {
|
|
|
61
61
|
} & Record<string, string>;
|
|
62
62
|
defaultProps: Record<string, any>;
|
|
63
63
|
};
|
|
64
|
+
/**
|
|
65
|
+
* Examples:
|
|
66
|
+
* - Change the primary color of the theme to red: `theme.palette.primary.main = "#ff0000";`
|
|
67
|
+
* - Change default chart color: `theme.palette.ic3.chartSingleColors.default = "#ff0000";`
|
|
68
|
+
* - Change background: `theme.palette.ic3.pageBackgroundColor = "#ff0000";`
|
|
69
|
+
* - Change selected color: `theme.palette.ic3.selected = "#ff0000";`
|
|
70
|
+
*/
|
|
71
|
+
export type IThemeProcessor = (theme: any, params?: any) => void;
|
|
64
72
|
export interface IThemeManager {
|
|
73
|
+
/**
|
|
74
|
+
* Used by IReportDefinition.setThemeProcessorCall().
|
|
75
|
+
*/
|
|
76
|
+
registerThemeProcessor(name: string, processor: IThemeProcessor): void;
|
|
65
77
|
/**
|
|
66
78
|
* The theme decorator allows to setup the Theme.components and Theme.ic3 using the theme
|
|
67
79
|
* created from its partial options (e.g., using palette, typography, spacing, etc...)
|
package/dist/IcEvent.d.ts
CHANGED
|
@@ -41,6 +41,8 @@ export interface TidyActionEvent extends PublicIcEvent {
|
|
|
41
41
|
}
|
|
42
42
|
export declare enum WidgetNotificationType {
|
|
43
43
|
doAllEvents = "ic3doAllEvents",
|
|
44
|
+
doCustomAction = "ic3doCustomAction",
|
|
45
|
+
doExportWidgetData = "ic3exportWidgetData",
|
|
44
46
|
doExportToExcel = "ic3exportToExcel",
|
|
45
47
|
doExportToPNG = "ic3exportToPNG",
|
|
46
48
|
doExportToSVG = "ic3exportToSVG",
|
package/dist/IcEvent.js
CHANGED
|
@@ -12,6 +12,8 @@ var IcEventType;
|
|
|
12
12
|
var WidgetNotificationType;
|
|
13
13
|
(function (WidgetNotificationType) {
|
|
14
14
|
WidgetNotificationType["doAllEvents"] = "ic3doAllEvents";
|
|
15
|
+
WidgetNotificationType["doCustomAction"] = "ic3doCustomAction";
|
|
16
|
+
WidgetNotificationType["doExportWidgetData"] = "ic3exportWidgetData";
|
|
15
17
|
WidgetNotificationType["doExportToExcel"] = "ic3exportToExcel";
|
|
16
18
|
WidgetNotificationType["doExportToPNG"] = "ic3exportToPNG";
|
|
17
19
|
WidgetNotificationType["doExportToSVG"] = "ic3exportToSVG";
|
package/dist/IcEvent.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IcEvent.js","sourceRoot":"","sources":["../src/IcEvent.ts"],"names":[],"mappings":";;;AAAa,QAAA,QAAQ,GAAG,GAAG,CAAA;AAE3B,IAAY,WAKX;AALD,WAAY,WAAW;IACnB,iEAAc,CAAA;IACd,uDAAS,CAAA;IACT,2DAAW,CAAA;IACX,2CAAG,CAAA;AACP,CAAC,EALW,WAAW,2BAAX,WAAW,QAKtB;AA+CD,IAAY,
|
|
1
|
+
{"version":3,"file":"IcEvent.js","sourceRoot":"","sources":["../src/IcEvent.ts"],"names":[],"mappings":";;;AAAa,QAAA,QAAQ,GAAG,GAAG,CAAA;AAE3B,IAAY,WAKX;AALD,WAAY,WAAW;IACnB,iEAAc,CAAA;IACd,uDAAS,CAAA;IACT,2DAAW,CAAA;IACX,2CAAG,CAAA;AACP,CAAC,EALW,WAAW,2BAAX,WAAW,QAKtB;AA+CD,IAAY,sBAiBX;AAjBD,WAAY,sBAAsB;IAE9B,wDAA8B,CAAA;IAE9B,8DAAoC,CAAA;IAEpC,oEAA0C,CAAA;IAE1C,8DAAoC,CAAA;IACpC,0DAAgC,CAAA;IAChC,0DAAgC,CAAA;IAEhC,sEAA4C,CAAA;IAE5C,8DAAoC,CAAA;IAEpC,kFAAwD,CAAA;AAC5D,CAAC,EAjBW,sBAAsB,sCAAtB,sBAAsB,QAiBjC"}
|
package/dist/Logger.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type LoggerComponent = "AI" | "AlertDialog" | "AmCharts4" | "AmCharts4GeoMap" | "AmCharts5" | "App" | "AppCustomHeaders" | "AppStarter" | "AppStatus" | "ChartTemplateWidget" | "Demo" | "EmbeddedReport" | "ErrorRenderer" | "Font" | "General" | "GoogleMap" | "Help" | "History" | "Keyboard" | "Layout" | "LayoutConverter" | "LayoutPage" | "LayoutRender" | "Loader" | "Localization" | "Operation" | "Other" | "PivotTable" | "PivotTablePagingView" | "Plugin" | "Profiler" | "ReportAppBar" | "ReportAppMenu" | "ReportInitializer" | "ReportStarter" | "RepetitionWidget" | "Request" | "SchemaDataUpdate" | "Storage" | "Table" | "WidgetBox" | "WidgetBoxWrapper" | "WidgetTemplateLibrary";
|
|
1
|
+
export type LoggerComponent = "AI" | "AlertDialog" | "AmCharts4" | "AmCharts4GeoMap" | "AmCharts5" | "App" | "AppCustomHeaders" | "AppStarter" | "AppStatus" | "ChartTemplateWidget" | "Demo" | "EmbeddedReport" | "ErrorRenderer" | "Font" | "General" | "GoogleMap" | "Help" | "History" | "Keyboard" | "Layout" | "LayoutConverter" | "LayoutPage" | "LayoutRender" | "Loader" | "Localization" | "MdxConsole" | "Operation" | "Other" | "PivotTable" | "PivotTablePagingView" | "Plugin" | "Profiler" | "ReportAppBar" | "ReportAppMenu" | "ReportInitializer" | "ReportStarter" | "RepetitionWidget" | "Request" | "SchemaDataUpdate" | "Storage" | "Table" | "WidgetBox" | "WidgetBoxWrapper" | "WidgetTemplateLibrary";
|
|
2
2
|
export interface ILogger {
|
|
3
3
|
resetTime(): void;
|
|
4
4
|
disable(component: LoggerComponent): void;
|
package/dist/PublicContext.d.ts
CHANGED
|
@@ -42,6 +42,7 @@ export interface IPublicContext {
|
|
|
42
42
|
getThemeFormatter(): ThemeFormatters;
|
|
43
43
|
getUserName(): string;
|
|
44
44
|
getReportName(): string;
|
|
45
|
+
getReportPath(): string;
|
|
45
46
|
getReportFolderName(): string;
|
|
46
47
|
getReportLocale(): string;
|
|
47
48
|
/**
|
|
@@ -219,6 +220,11 @@ export interface IWidgetPublicContext extends IPublicContext {
|
|
|
219
220
|
* actionName if the action is bound to a channel, send an Mdx Event (value,mdx)
|
|
220
221
|
*/
|
|
221
222
|
fireMdxEvent(actionName: string, value: string, mdx: string): void;
|
|
223
|
+
fireMdxEvents(events: {
|
|
224
|
+
actionName: string;
|
|
225
|
+
value: string;
|
|
226
|
+
mdx: string;
|
|
227
|
+
}[]): void;
|
|
222
228
|
/**
|
|
223
229
|
* Cypress testing purpose, after a rendering of the chart
|
|
224
230
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PublicContext.js","sourceRoot":"","sources":["../src/PublicContext.ts"],"names":[],"mappings":";;;AAaA,IAAY,wBAGX;AAHD,WAAY,wBAAwB;IAChC,mDAAuB,CAAA;IACvB,iDAAqB,CAAA;AACzB,CAAC,EAHW,wBAAwB,wCAAxB,wBAAwB,QAGnC;AAED,IAAY,qBAGX;AAHD,WAAY,qBAAqB;IAC7B,uEAAO,CAAA;IACP,mEAAK,CAAA;AACT,CAAC,EAHW,qBAAqB,qCAArB,qBAAqB,QAGhC;AAED,IAAY,mBAAkC;AAA9C,WAAY,mBAAmB;IAAG,6DAAI,CAAA;IAAE,+DAAK,CAAA;AAAA,CAAC,EAAlC,mBAAmB,mCAAnB,mBAAmB,QAAe;
|
|
1
|
+
{"version":3,"file":"PublicContext.js","sourceRoot":"","sources":["../src/PublicContext.ts"],"names":[],"mappings":";;;AAaA,IAAY,wBAGX;AAHD,WAAY,wBAAwB;IAChC,mDAAuB,CAAA;IACvB,iDAAqB,CAAA;AACzB,CAAC,EAHW,wBAAwB,wCAAxB,wBAAwB,QAGnC;AAED,IAAY,qBAGX;AAHD,WAAY,qBAAqB;IAC7B,uEAAO,CAAA;IACP,mEAAK,CAAA;AACT,CAAC,EAHW,qBAAqB,qCAArB,qBAAqB,QAGhC;AAED,IAAY,mBAAkC;AAA9C,WAAY,mBAAmB;IAAG,6DAAI,CAAA;IAAE,+DAAK,CAAA;AAAA,CAAC,EAAlC,mBAAmB,mCAAnB,mBAAmB,QAAe;AAgY7C,CAAC"}
|
package/dist/PublicLayout.d.ts
CHANGED
|
@@ -182,6 +182,9 @@ export interface IWidgetLayoutDefinition {
|
|
|
182
182
|
layoutConfigId: string;
|
|
183
183
|
layoutGroup: string;
|
|
184
184
|
layoutName: string;
|
|
185
|
+
/**
|
|
186
|
+
* CSS class of the layout.
|
|
187
|
+
*/
|
|
185
188
|
cssClass?: string;
|
|
186
189
|
/**
|
|
187
190
|
* The theme is defining a scale (widgetContentPrintScale) applied to the widget content
|
package/dist/PublicTemplate.d.ts
CHANGED
|
@@ -222,6 +222,18 @@ export interface IPublicWidgetReactProps<OPTIONS> {
|
|
|
222
222
|
options: OPTIONS;
|
|
223
223
|
widgetHeader: string;
|
|
224
224
|
}
|
|
225
|
+
export interface IPublicErrorDefinition {
|
|
226
|
+
/**
|
|
227
|
+
* e.g. a user defined javascript error vs a programming error
|
|
228
|
+
*/
|
|
229
|
+
expected?: boolean;
|
|
230
|
+
name: string;
|
|
231
|
+
args?: any[];
|
|
232
|
+
cause?: any;
|
|
233
|
+
}
|
|
234
|
+
export interface IPublicWidgetReactMdxResultOnErrorProps {
|
|
235
|
+
error: IPublicErrorDefinition;
|
|
236
|
+
}
|
|
225
237
|
/**
|
|
226
238
|
*
|
|
227
239
|
*
|
|
@@ -237,6 +249,7 @@ export interface IPublicWidgetReactTemplateDefinition<OPTIONS extends FormFieldO
|
|
|
237
249
|
* The React Hook component (function with props as parameter)
|
|
238
250
|
*/
|
|
239
251
|
reactEl?: React.FunctionComponent<IPublicWidgetReactProps<OPTIONS>>;
|
|
252
|
+
reactElMdxResultOnError?: React.FunctionComponent<IPublicWidgetReactMdxResultOnErrorProps>;
|
|
240
253
|
reactComponent: true;
|
|
241
254
|
/**
|
|
242
255
|
* Only the widget template meta information is required when starting the application.
|
|
@@ -372,6 +385,7 @@ interface IPublicCommonWidgetTemplateDefinition<OPTIONS extends FormFieldObject>
|
|
|
372
385
|
*/
|
|
373
386
|
withoutQuery?: boolean;
|
|
374
387
|
withoutSelection?: boolean;
|
|
388
|
+
withoutInitialSelection?: boolean;
|
|
375
389
|
withoutDrilldown?: boolean;
|
|
376
390
|
withoutEvents?: boolean;
|
|
377
391
|
withoutUserMenu?: boolean;
|
|
@@ -590,6 +604,11 @@ export interface ITemplateEventActionDef {
|
|
|
590
604
|
* The actions subscribing to the 'selection' channel
|
|
591
605
|
*/
|
|
592
606
|
selectionSubscribe?: string;
|
|
607
|
+
/**
|
|
608
|
+
* Return true if the widget fires the event on its first render. This forces other widgets that use this event
|
|
609
|
+
* to wait before rendering.
|
|
610
|
+
*/
|
|
611
|
+
isEventFiredAtStart?: (roleName: string, options: any) => boolean;
|
|
593
612
|
}
|
|
594
613
|
export interface IWrappedWidgetTemplateDefinition<WIDGET extends WidgetTemplateIDs> {
|
|
595
614
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PublicTemplate.js","sourceRoot":"","sources":["../src/PublicTemplate.ts"],"names":[],"mappings":";;;AAuIA,IAAY,4CAIX;AAJD,WAAY,4CAA4C;IACpD,qEAAqB,CAAA;IACrB,yEAAyB,CAAA;IACzB,2EAA2B,CAAA;AAC/B,CAAC,EAJW,4CAA4C,4DAA5C,4CAA4C,QAIvD;
|
|
1
|
+
{"version":3,"file":"PublicTemplate.js","sourceRoot":"","sources":["../src/PublicTemplate.ts"],"names":[],"mappings":";;;AAuIA,IAAY,4CAIX;AAJD,WAAY,4CAA4C;IACpD,qEAAqB,CAAA;IACrB,yEAAyB,CAAA;IACzB,2EAA2B,CAAA;AAC/B,CAAC,EAJW,4CAA4C,4DAA5C,4CAA4C,QAIvD;AAshBD;;;;GAIG;AACH,IAAY,4BAKX;AALD,WAAY,4BAA4B;IACpC,+CAAe,CAAA;IACf,iDAAiB,CAAA;IACjB,2CAAW,CAAA;IACX,6CAAa,CAAA;AACjB,CAAC,EALW,4BAA4B,4CAA5B,4BAA4B,QAKvC;AA6BD;;GAEG;AACH,IAAY,wBAOX;AAPD,WAAY,wBAAwB;IAChC,mDAAuB,CAAA;IACvB,mDAAuB,CAAA;IAEvB,gBAAgB;IAChB,0DAA8B,CAAA;IAC9B,iEAAqC,CAAA;AACzC,CAAC,EAPW,wBAAwB,wCAAxB,wBAAwB,QAOnC"}
|
|
@@ -79,6 +79,7 @@ export interface IFormFieldDef<DEFAULT_VALUE_TYPE> {
|
|
|
79
79
|
* Allow for group of fields, disabled help in form wrapper
|
|
80
80
|
*/
|
|
81
81
|
disableHelpInWrapper?: boolean;
|
|
82
|
+
onValueSet?: (value: any) => void;
|
|
82
83
|
}
|
|
83
84
|
/**
|
|
84
85
|
* The options (possibly edited and/or from the theme) of a widget.
|
|
@@ -497,7 +498,6 @@ export interface IFormGranularitySelectionFieldDef extends IFormFieldDef<IFormFi
|
|
|
497
498
|
export interface IFormColumnSelectionFieldDef extends IFormFieldDef<any> {
|
|
498
499
|
fieldType: "columnSelection";
|
|
499
500
|
editorConf: {
|
|
500
|
-
columnAlias: string;
|
|
501
501
|
multiple?: boolean;
|
|
502
502
|
};
|
|
503
503
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PublicTemplateForm.js","sourceRoot":"","sources":["../src/PublicTemplateForm.ts"],"names":[],"mappings":";;;AAuBA,SAAgB,oBAAoB,CAAC,KAAyB;IAC1D,OAAO,KAAK,CAAC,KAAK,KAAK,oBAAoB,CAAC,SAAS,CAAC;AAC1D,CAAC;AAFD,oDAEC;
|
|
1
|
+
{"version":3,"file":"PublicTemplateForm.js","sourceRoot":"","sources":["../src/PublicTemplateForm.ts"],"names":[],"mappings":";;;AAuBA,SAAgB,oBAAoB,CAAC,KAAyB;IAC1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,mBAAmB,mCAAnB,mBAAmB,QAE9B;AA+9BD;;GAEG;AAEH,IAAY,wBAMX;AAND,WAAY,wBAAwB;IAChC,6CAAiB,CAAA;IACjB,yDAA6B,CAAA;IAC7B,qEAAyC,CAAA;IACzC,yDAA6B,CAAA;IAC7B,qEAAyC,CAAA;AAC7C,CAAC,EANW,wBAAwB,wCAAxB,wBAAwB,QAMnC"}
|
|
@@ -20,6 +20,7 @@ import { FilterTreeChartOptions } from "./theme/ThemeFilterTree";
|
|
|
20
20
|
import { AmCharts4BubbleChartOptions, AmCharts4ComboChartOptions, AmCharts4DonutChartOptions, 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
|
+
import { FilterSwitchChartOptions } from "./theme/ThemeFilterSwitch";
|
|
23
24
|
interface IWidgetTemplateChartOptions {
|
|
24
25
|
"ic3.AIChatBox": AIWidgetChatBotOptions;
|
|
25
26
|
"ic3.DatePicker": DatePickerChartOptions;
|
|
@@ -31,6 +32,7 @@ interface IWidgetTemplateChartOptions {
|
|
|
31
32
|
"ic3.FilterPanel": FilterPanelChartOptions;
|
|
32
33
|
"ic3.FilterSlider": FilterSliderChartOptions;
|
|
33
34
|
"ic3.FilterTree": FilterTreeChartOptions;
|
|
35
|
+
"ic3.FilterSwitch": FilterSwitchChartOptions;
|
|
34
36
|
"ic3.GoogleHeatMap": GoogleHeatMapChartOptions;
|
|
35
37
|
"ic3.GoogleKmlLayer": GoogleKmlLayerChartOptions;
|
|
36
38
|
"ic3.GoogleMarker": GoogleMarkerChartOptions;
|
package/dist/PublicTheme.d.ts
CHANGED
|
@@ -44,6 +44,8 @@ import { Ic3TableCellProps, ThemeIc3TableCellClassesKey } from "./theme/ThemeIc3
|
|
|
44
44
|
import { RegexFilterClassesKey, RegexFilterProps } from "./theme/ThemeRegexFilter";
|
|
45
45
|
import { AIWidgetChatBotClassKey, AIWidgetChatBotStyleProps } from "./theme/ThemeAIWidgetChatBot";
|
|
46
46
|
import { FilterPanelViewsMenuClassesKey } from "./theme/ThemeFilterPanelViewsMenu";
|
|
47
|
+
import { Ic3TableCellDrilldownProps, ThemeIc3TableCellDrilldownClassesKey } from "./theme/ThemeIc3TableCellDrilldown";
|
|
48
|
+
import { FilterSwitchClassKey, FilterSwitchProps } from "./theme/ThemeFilterSwitch";
|
|
47
49
|
export type Ic3ChartVariants = {
|
|
48
50
|
[Name in keyof WidgetTemplateChartOptions]?: Array<{
|
|
49
51
|
props: {
|
|
@@ -423,6 +425,7 @@ export interface ic3Theme {
|
|
|
423
425
|
checkIndeterminate: React.ReactNode | undefined;
|
|
424
426
|
radioUnselected: React.ReactNode | undefined;
|
|
425
427
|
radioSelected: React.ReactNode | undefined;
|
|
428
|
+
hasDescendantsIndicatorIcon: React.ReactNode | undefined;
|
|
426
429
|
};
|
|
427
430
|
palette: {
|
|
428
431
|
darken: (color: string, factor: number) => string;
|
|
@@ -844,9 +847,16 @@ interface ic3BaseComponents {
|
|
|
844
847
|
Ic3TableCell?: {
|
|
845
848
|
styleOverrides?: ComponentsOverrides["Ic3TableCell"];
|
|
846
849
|
};
|
|
850
|
+
Ic3TableCellDrilldown?: {
|
|
851
|
+
styleOverrides?: ComponentsOverrides["Ic3TableCellDrilldown"];
|
|
852
|
+
};
|
|
847
853
|
Ic3TableCellError?: {
|
|
848
854
|
styleOverrides?: ComponentsOverrides["Ic3TableCellError"];
|
|
849
855
|
};
|
|
856
|
+
Ic3FilterSwitch?: {
|
|
857
|
+
styleOverrides?: ComponentsOverrides["Ic3FilterSwitch"];
|
|
858
|
+
variants?: ComponentsVariants["Ic3FilterSwitch"];
|
|
859
|
+
};
|
|
850
860
|
"amCharts4.AmCharts4BubbleChart"?: {
|
|
851
861
|
variants?: Ic3ChartVariants["amCharts4.AmCharts4BubbleChart"];
|
|
852
862
|
};
|
|
@@ -956,6 +966,7 @@ declare module '@mui/material/styles/overrides' {
|
|
|
956
966
|
FilterSlider: FilterSliderClassKey;
|
|
957
967
|
ListCounter: ListCounterClassKey;
|
|
958
968
|
FilterTree: FilterTreeClassKey;
|
|
969
|
+
Ic3FilterSwitch: FilterSwitchClassKey;
|
|
959
970
|
FilterTreePopOver: FilterTreePopOverClassKey;
|
|
960
971
|
FilterDatePicker: DatePickerClassKey;
|
|
961
972
|
FilterAutocomplete: FilterAutocompleteClassesKey;
|
|
@@ -975,6 +986,7 @@ declare module '@mui/material/styles/overrides' {
|
|
|
975
986
|
CodeMirror: CodeMirrorClassesKey;
|
|
976
987
|
WidgetBoxFilteredByTooltip: WidgetFilteredByClassesKey;
|
|
977
988
|
Ic3TableCell: ThemeIc3TableCellClassesKey;
|
|
989
|
+
Ic3TableCellDrilldown: ThemeIc3TableCellDrilldownClassesKey;
|
|
978
990
|
Ic3TableCellError: ThemeIc3TableCellClassesKey;
|
|
979
991
|
}
|
|
980
992
|
}
|
|
@@ -989,6 +1001,7 @@ declare module '@mui/material/styles/props' {
|
|
|
989
1001
|
FilterSlider: FilterSliderProps;
|
|
990
1002
|
ListCounter: ListCounterProps;
|
|
991
1003
|
FilterTree: FilterTreeProps;
|
|
1004
|
+
Ic3FilterSwitch: FilterSwitchProps;
|
|
992
1005
|
FilterTreePopOver: FilterTreePopOverProps;
|
|
993
1006
|
FilterDatePicker: FilterDatePickerProps;
|
|
994
1007
|
FilterAutocomplete: FilterAutocompleteProps;
|
|
@@ -1003,6 +1016,7 @@ declare module '@mui/material/styles/props' {
|
|
|
1003
1016
|
QueryBuilderNode: QueryBuilderNodeProps;
|
|
1004
1017
|
PrintButton: StyledPrintButtonDivProps;
|
|
1005
1018
|
Ic3TableCell: Ic3TableCellProps;
|
|
1019
|
+
Ic3TableCellDrilldown: Ic3TableCellDrilldownProps;
|
|
1006
1020
|
Ic3TableCellError: Ic3TableCellProps;
|
|
1007
1021
|
}
|
|
1008
1022
|
}
|
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":";;;AA8JA,SAAgB,yBAAyB,CAAC,CAAqE;IAC3G,OAAO,CAAA,CAAC,aAAD,CAAC,uBAAD,CAAC,CAAG,SAAS,CAAC,KAAI,IAAI,CAAC;AAClC,CAAC;AAFD,8DAEC;AA6RD,IAAY,qBAIX;AAJD,WAAY,qBAAqB;IAC7B,8CAAqB,CAAA;IACrB,4CAAmB,CAAA;IACnB,wCAAe,CAAA;AACnB,CAAC,EAJW,qBAAqB,qCAArB,qBAAqB,QAIhC"}
|
|
@@ -537,6 +537,10 @@ export interface ITidyBaseColumn<T> extends ITidyBaseColumnReadonly<T> {
|
|
|
537
537
|
* @see ITidyColumn.reIndexN
|
|
538
538
|
*/
|
|
539
539
|
reIndex(index: number[]): void;
|
|
540
|
+
/**
|
|
541
|
+
* Reset the index set using `reIndex`.
|
|
542
|
+
*/
|
|
543
|
+
resetIndex(): void;
|
|
540
544
|
/**
|
|
541
545
|
* Set the formatted values. Use this if you have the formatted values pre-calculated,
|
|
542
546
|
* or a function to calculate the formatted values.
|
|
@@ -596,11 +600,6 @@ export interface ITidyBaseColumn<T> extends ITidyBaseColumnReadonly<T> {
|
|
|
596
600
|
* Delete a property on the column
|
|
597
601
|
*/
|
|
598
602
|
deleteProperty(propertyName: ITidyColumn | string): void;
|
|
599
|
-
/**
|
|
600
|
-
* @param column the initial selection as a column
|
|
601
|
-
* @param items the initial selection (name, ...)
|
|
602
|
-
*/
|
|
603
|
-
getInitialSelectionRowIndices(column: ITidyColumn | undefined, items: any[]): number[];
|
|
604
603
|
/**
|
|
605
604
|
* The ITidyTableSelection row identifier for the row (uniqueName if it is an MDX like column).
|
|
606
605
|
*/
|
|
@@ -675,6 +674,12 @@ export interface ITidyBaseColumn<T> extends ITidyBaseColumnReadonly<T> {
|
|
|
675
674
|
* component).
|
|
676
675
|
*/
|
|
677
676
|
hasOnlyDates(): boolean;
|
|
677
|
+
/**
|
|
678
|
+
* Returns the level depth of the column.
|
|
679
|
+
*
|
|
680
|
+
* E.g., if you have a table with `2018`, `2018 Q1` as columns, then the level depths are 0 and 1.
|
|
681
|
+
*/
|
|
682
|
+
getColumnLevelDepth(): number;
|
|
678
683
|
}
|
|
679
684
|
export interface BaseTidyColumnCellDecoration {
|
|
680
685
|
/**
|
|
@@ -173,6 +173,7 @@ export interface ITidyTableDrilldown {
|
|
|
173
173
|
handleDrilldown(rowIdx: number, event: TidyEvent | undefined, stopDrillDownDepth?: number): void;
|
|
174
174
|
hasDrilldown(): boolean;
|
|
175
175
|
hasNodeDrilldown(nodeInfo: MdxNodeIdentifier, stopDrillDownDepth?: number): boolean;
|
|
176
|
+
hasPivotLikeDrilldown(): boolean;
|
|
176
177
|
}
|
|
177
178
|
export interface ITidyTableInteractionEvent {
|
|
178
179
|
/**
|
|
@@ -304,4 +305,9 @@ export interface ITidyTableInteraction extends ITidyTableInteractionSelection, I
|
|
|
304
305
|
* Use for publishing app notifications, e.g., print the report.
|
|
305
306
|
*/
|
|
306
307
|
publishAppNotification(notification: AppNotification): void;
|
|
308
|
+
/**
|
|
309
|
+
* Get a column from the underlying tidy table.
|
|
310
|
+
* @param columnIdx
|
|
311
|
+
*/
|
|
312
|
+
getDrilldownColumn(columnIdx: number): ITidyColumn;
|
|
307
313
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Tidy Column Types
|
|
3
3
|
*/
|
|
4
4
|
import { TidyHistogramBucketType } from "./PublicTidyHistogram";
|
|
5
|
-
import { ITidyColumn, ITidyColumnAddValueInsert } from "./PublicTidyColumn";
|
|
5
|
+
import { ITidyColumn, ITidyColumnAddValueCopyRow, ITidyColumnAddValueInsert } from "./PublicTidyColumn";
|
|
6
6
|
import { MdxNodeIdentifier } from "./PublicTidyTable";
|
|
7
7
|
import { SelectionMode } from "./PublicTidyTableInteractions";
|
|
8
8
|
export declare enum TidyColumnsType {
|
|
@@ -394,7 +394,7 @@ export interface ITotalRowValues {
|
|
|
394
394
|
/**
|
|
395
395
|
* Keys as column names.
|
|
396
396
|
*/
|
|
397
|
-
totalTexts: Record<string, ITidyColumnAddValueInsert>;
|
|
397
|
+
totalTexts: Record<string, ITidyColumnAddValueInsert | ITidyColumnAddValueCopyRow>;
|
|
398
398
|
}
|
|
399
399
|
/**
|
|
400
400
|
* If we have (date)times available, then
|
|
@@ -449,7 +449,7 @@ export interface WidgetTidySelectionOptions {
|
|
|
449
449
|
/**
|
|
450
450
|
* List with items in the initial selection.
|
|
451
451
|
*/
|
|
452
|
-
initSelectionUserDefined?: string[];
|
|
452
|
+
initSelectionUserDefined?: string[] | string;
|
|
453
453
|
/**
|
|
454
454
|
* Column with items in the initial selection. The column has a truthy value for items that are in the initial
|
|
455
455
|
* selection.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PublicTidyTableTypes.js","sourceRoot":"","sources":["../src/PublicTidyTableTypes.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAOH,IAAY,eA0DX;AA1DD,WAAY,eAAe;IACvB;;OAEG;IACH,kCAAe,CAAA;IAEf,0CAAuB,CAAA;IACvB,wCAAqB,CAAA;IAErB;;OAEG;IACH,sDAAmC,CAAA;IAEnC;;OAEG;IACH,wCAAqB,CAAA;IAErB;;OAEG;IACH,sCAAmB,CAAA;IAEnB;;OAEG;IACH,0CAAuB,CAAA;IAEvB;;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,gCAAW,CAAA;IACX,gCAAW,CAAA;IACX,gCAAW,CAAA;AACf,CAAC,EANW,iBAAiB,iCAAjB,iBAAiB,QAM5B;AAED,IAAY,sBAIX;AAJD,WAAY,sBAAsB;IAC9B,6CAAmB,CAAA;IACnB,uCAAa,CAAA;IACb,yCAAe,CAAA;AACnB,CAAC,EAJW,sBAAsB,sCAAtB,sBAAsB,QAIjC;AAED,IAAY,aAGX;AAHD,WAAY,aAAa;IACrB,8BAAa,CAAA;IACb,kCAAiB,CAAA;AACrB,CAAC,EAHW,aAAa,6BAAb,aAAa,QAGxB;AAyBD;;;;;GAKG;AACH,IAAY,eAIX;AAJD,WAAY,eAAe;IACvB,8BAAW,CAAA;IACX,4BAAS,CAAA;IACT,gCAAa,CAAA;AACjB,CAAC,EAJW,eAAe,+BAAf,eAAe,QAI1B"}
|
|
@@ -14,6 +14,10 @@ export interface BaseTableChartOptions extends FormFieldObject {
|
|
|
14
14
|
* If enabled, show tooltips on every cell in the table (excluding renderers). Default = true.
|
|
15
15
|
*/
|
|
16
16
|
cellTooltips: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Save the state of the table in the users browsers local storage.
|
|
19
|
+
*/
|
|
20
|
+
saveTableStateLocally?: boolean;
|
|
17
21
|
/**
|
|
18
22
|
* Row Height.
|
|
19
23
|
*/
|
|
@@ -38,6 +38,10 @@ export interface FilterAutocompleteChartOptions extends FilterTidyTableChartOpti
|
|
|
38
38
|
* Maximum number of chips that will be visible
|
|
39
39
|
*/
|
|
40
40
|
limitChips: number;
|
|
41
|
+
/**
|
|
42
|
+
* Maximum items that allowed in the selection.
|
|
43
|
+
*/
|
|
44
|
+
limitSelection?: number;
|
|
41
45
|
/**
|
|
42
46
|
* Text to show when the filter is empty.
|
|
43
47
|
*/
|
|
@@ -186,6 +186,10 @@ export interface FilterPanelChartOptions extends FormFieldObject {
|
|
|
186
186
|
* Allow users to save and load filters. Filters are stored in the users' browser.
|
|
187
187
|
*/
|
|
188
188
|
enableViews?: boolean;
|
|
189
|
+
/**
|
|
190
|
+
* Max number of views a user can have. Empty means unlimited.
|
|
191
|
+
*/
|
|
192
|
+
maxNumberOfViews?: number;
|
|
189
193
|
/**
|
|
190
194
|
* If true, grow filter in row direction. If false, grow in column direction.
|
|
191
195
|
*/
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export declare class FilterPanelViewsMenuClasses {
|
|
2
2
|
static readonly save = "ic3FilterPanelViewsMenu-save";
|
|
3
3
|
static readonly view = "ic3FilterPanelViewsMenu-view";
|
|
4
|
+
static readonly maxViewsReachedText = "ic3FilterPanelViewsMenu-maxViewsReachedText";
|
|
4
5
|
}
|
|
5
6
|
export declare type FilterPanelViewsMenuClassesKey = keyof FilterPanelViewsMenuClasses;
|
|
@@ -6,4 +6,5 @@ class FilterPanelViewsMenuClasses {
|
|
|
6
6
|
exports.FilterPanelViewsMenuClasses = FilterPanelViewsMenuClasses;
|
|
7
7
|
FilterPanelViewsMenuClasses.save = "ic3FilterPanelViewsMenu-save";
|
|
8
8
|
FilterPanelViewsMenuClasses.view = "ic3FilterPanelViewsMenu-view";
|
|
9
|
+
FilterPanelViewsMenuClasses.maxViewsReachedText = "ic3FilterPanelViewsMenu-maxViewsReachedText";
|
|
9
10
|
//# sourceMappingURL=ThemeFilterPanelViewsMenu.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThemeFilterPanelViewsMenu.js","sourceRoot":"","sources":["../../src/theme/ThemeFilterPanelViewsMenu.ts"],"names":[],"mappings":";;;AAAA,MAAa,2BAA2B;;AAAxC,
|
|
1
|
+
{"version":3,"file":"ThemeFilterPanelViewsMenu.js","sourceRoot":"","sources":["../../src/theme/ThemeFilterPanelViewsMenu.ts"],"names":[],"mappings":";;;AAAA,MAAa,2BAA2B;;AAAxC,kEAQC;AANmB,gCAAI,GAAG,8BAA8B,CAAC;AAEtC,gCAAI,GAAG,8BAA8B,CAAC;AAEtC,+CAAmB,GAAG,6CAA6C,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { FilterTidyTableChartOptions } from "./ThemeFilter";
|
|
2
|
+
export declare class FilterSwitchClasses {
|
|
3
|
+
/**
|
|
4
|
+
* Style applied to the root element.
|
|
5
|
+
*/
|
|
6
|
+
static readonly root = "ic3SwitchFilter-root";
|
|
7
|
+
/**
|
|
8
|
+
* Added class when switch has two options.
|
|
9
|
+
*/
|
|
10
|
+
static readonly twoOptions = "ic3SwitchFilter-twoOptions";
|
|
11
|
+
}
|
|
12
|
+
export declare type FilterSwitchClassKey = keyof FilterSwitchClasses;
|
|
13
|
+
/**
|
|
14
|
+
* Filter Switch Options (fields of the "Chart" tab in the widget editor).
|
|
15
|
+
*
|
|
16
|
+
* <pre>
|
|
17
|
+
* Plugin ID : ic3
|
|
18
|
+
* Widget/Template ID: FilterSwitch
|
|
19
|
+
* </pre>
|
|
20
|
+
*
|
|
21
|
+
* @see WidgetTemplateChartOptions
|
|
22
|
+
*/
|
|
23
|
+
export interface FilterSwitchChartOptions extends FilterTidyTableChartOptions {
|
|
24
|
+
/**
|
|
25
|
+
* Variant.
|
|
26
|
+
*
|
|
27
|
+
* Allows for selecting a set of preset options. Note that a variant is possibly overriding defined options.
|
|
28
|
+
*/
|
|
29
|
+
variant?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Text to show on the right of the switch.
|
|
32
|
+
*/
|
|
33
|
+
labelRight: string;
|
|
34
|
+
/**
|
|
35
|
+
* Text to show on the left of the switch.
|
|
36
|
+
*/
|
|
37
|
+
labelLeft: string;
|
|
38
|
+
}
|
|
39
|
+
export interface FilterSwitchProps {
|
|
40
|
+
variant?: string;
|
|
41
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FilterSwitchClasses = void 0;
|
|
4
|
+
class FilterSwitchClasses {
|
|
5
|
+
}
|
|
6
|
+
exports.FilterSwitchClasses = FilterSwitchClasses;
|
|
7
|
+
/**
|
|
8
|
+
* Style applied to the root element.
|
|
9
|
+
*/
|
|
10
|
+
FilterSwitchClasses.root = "ic3SwitchFilter-root";
|
|
11
|
+
/**
|
|
12
|
+
* Added class when switch has two options.
|
|
13
|
+
*/
|
|
14
|
+
FilterSwitchClasses.twoOptions = "ic3SwitchFilter-twoOptions";
|
|
15
|
+
//# sourceMappingURL=ThemeFilterSwitch.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThemeFilterSwitch.js","sourceRoot":"","sources":["../../src/theme/ThemeFilterSwitch.ts"],"names":[],"mappings":";;;AAEA,MAAa,mBAAmB;;AAAhC,kDAYC;AAVG;;GAEG;AACa,wBAAI,GAAG,sBAAsB,CAAC;AAE9C;;GAEG;AACa,8BAAU,GAAG,4BAA4B,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare class ThemeIc3TableCellDrilldownClasses {
|
|
2
|
+
static loading: string;
|
|
3
|
+
static normal: string;
|
|
4
|
+
static expanded: string;
|
|
5
|
+
static iconDiv: string;
|
|
6
|
+
}
|
|
7
|
+
export declare type ThemeIc3TableCellDrilldownClassesKey = keyof ThemeIc3TableCellDrilldownClasses;
|
|
8
|
+
export interface Ic3TableCellDrilldownProps {
|
|
9
|
+
levelDepth: number;
|
|
10
|
+
hasRender: boolean;
|
|
11
|
+
hasChildren: boolean;
|
|
12
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ThemeIc3TableCellDrilldownClasses = void 0;
|
|
4
|
+
class ThemeIc3TableCellDrilldownClasses {
|
|
5
|
+
}
|
|
6
|
+
exports.ThemeIc3TableCellDrilldownClasses = ThemeIc3TableCellDrilldownClasses;
|
|
7
|
+
ThemeIc3TableCellDrilldownClasses.loading = "Ic3TableCellDrilldown-loading";
|
|
8
|
+
ThemeIc3TableCellDrilldownClasses.normal = "Ic3TableCellDrilldown-normal";
|
|
9
|
+
ThemeIc3TableCellDrilldownClasses.expanded = "Ic3TableCellDrilldown-expanded";
|
|
10
|
+
ThemeIc3TableCellDrilldownClasses.iconDiv = "Ic3TableCellDrilldown-iconDiv";
|
|
11
|
+
//# sourceMappingURL=ThemeIc3TableCellDrilldown.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThemeIc3TableCellDrilldown.js","sourceRoot":"","sources":["../../src/theme/ThemeIc3TableCellDrilldown.ts"],"names":[],"mappings":";;;AAAA,MAAa,iCAAiC;;AAA9C,8EAQC;AALiB,yCAAO,GAAG,+BAA+B,CAAC;AAC1C,wCAAM,GAAG,8BAA8B,CAAC;AACxC,0CAAQ,GAAG,gCAAgC,CAAC;AAC5C,yCAAO,GAAG,+BAA+B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ic3/reporting-api",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.5.0",
|
|
4
4
|
"description": "icCube dashboards API",
|
|
5
5
|
"homepage": "https://github.com/ic3-software/ic3-reporting-api",
|
|
6
6
|
"repository": "https://github.com/ic3-software/ic3-reporting-api",
|
|
@@ -11,16 +11,16 @@
|
|
|
11
11
|
"access": "public"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@mui/material": "5.16.
|
|
15
|
-
"@mui/system": "5.16.
|
|
16
|
-
"@emotion/react": "11.
|
|
17
|
-
"@emotion/styled": "11.
|
|
14
|
+
"@mui/material": "5.16.7",
|
|
15
|
+
"@mui/system": "5.16.7",
|
|
16
|
+
"@emotion/react": "11.13.3",
|
|
17
|
+
"@emotion/styled": "11.13.0"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@types/markerclustererplus": "2.1.33",
|
|
21
|
-
"@types/node": "
|
|
22
|
-
"@types/react": "18.3.
|
|
23
|
-
"del-cli": "
|
|
21
|
+
"@types/node": "22.7.8",
|
|
22
|
+
"@types/react": "18.3.11",
|
|
23
|
+
"del-cli": "6.0.0",
|
|
24
24
|
"typescript": "5.4.5"
|
|
25
25
|
},
|
|
26
26
|
"scripts": {
|