@ic3/reporting-api 8.6.1 → 8.6.2
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 +10 -1
- package/dist/Logger.d.ts +1 -1
- package/dist/PublicContext.d.ts +322 -12
- package/dist/PublicContext.js +0 -1
- package/dist/PublicContext.js.map +1 -1
- package/dist/PublicLayout.d.ts +3 -0
- package/dist/PublicTemplate.d.ts +4 -1
- package/dist/PublicTemplate.js.map +1 -1
- package/dist/PublicTemplateForm.d.ts +1 -1
- package/dist/PublicTemplateForm.js +13 -13
- package/dist/PublicTemplateForm.js.map +1 -1
- package/dist/PublicTheme.d.ts +13 -3
- package/dist/PublicTheme.js +2 -2
- package/dist/PublicTheme.js.map +1 -1
- package/dist/PublicTidyColumn.d.ts +0 -1
- package/dist/PublicTidyMath.d.ts +1 -1
- package/dist/PublicTidyTableInteractions.d.ts +4 -0
- package/dist/PublicTidyTableTypeGuards.d.ts +2 -2
- package/dist/PublicTidyTableTypeGuards.js +5 -6
- package/dist/PublicTidyTableTypeGuards.js.map +1 -1
- package/dist/ReportingVersion.d.ts +1 -1
- package/dist/ReportingVersion.js +2 -2
- package/dist/ReportingVersion.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/theme/ThemeApp.d.ts +1 -0
- package/dist/theme/ThemeApp.js.map +1 -1
- package/dist/theme/ThemeFilterPanel.d.ts +4 -0
- package/dist/theme/ThemeFilterPanel.js +4 -0
- package/dist/theme/ThemeFilterPanel.js.map +1 -1
- package/dist/theme/ThemeFilterPanelViewsMenu.d.ts +2 -0
- package/dist/theme/ThemeFilterPanelViewsMenu.js +2 -0
- package/dist/theme/ThemeFilterPanelViewsMenu.js.map +1 -1
- package/dist/theme/ThemeHomeCard.d.ts +9 -0
- package/dist/theme/ThemeHomeCard.js +10 -0
- package/dist/theme/ThemeHomeCard.js.map +1 -0
- package/dist/theme/ThemeHomeConsole.d.ts +16 -0
- package/dist/theme/ThemeHomeConsole.js +20 -0
- package/dist/theme/ThemeHomeConsole.js.map +1 -0
- package/dist/theme/ThemeTable.d.ts +4 -0
- package/package.json +7 -7
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.6.
|
|
11
|
+
return Object.assign({ apiVersion: new ReportingVersion_1.default("8.6.2", "Mon, 28 Apr 2025 07:51:49 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,OAAO,
|
|
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,EACP,+BAA+B,CAClC,IAEE,UAAU,EAEhB;QAEL,CAAC,CAAA;IACL,CAAC;IAED;;;;;OAKG;IACI,MAAM,CAAC,oCAAoC,CAAkC,UAAsE;QAEtJ,uCAEO,UAAU,KAEb,MAAM,EAAE,CAAC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EwC,CAAC;IAElD,CAAC;;AA/GL,4BAiHC;AA/GG;;GAEG;AACoB,uBAAc,GAAG,OAAO,CAAC"}
|
|
@@ -49,12 +49,21 @@ export interface IOnNewEventJsContext {
|
|
|
49
49
|
*/
|
|
50
50
|
getEventWidgetId(event: IEventPayLoad): string | undefined;
|
|
51
51
|
/**
|
|
52
|
-
* Returns the widget jQuery object
|
|
52
|
+
* Returns the widget, jQuery object
|
|
53
53
|
*
|
|
54
54
|
* Using JQuery might conflict with React's state.
|
|
55
55
|
* Use with care as you will modify the DOM directly.
|
|
56
56
|
*/
|
|
57
57
|
getWidget$(widgetId: string): any;
|
|
58
|
+
/**
|
|
59
|
+
* Returns a list of widgets, jQuery object
|
|
60
|
+
*
|
|
61
|
+
* selector : can be a list of class names .class1.class2
|
|
62
|
+
*
|
|
63
|
+
* Using JQuery might conflict with React's state.
|
|
64
|
+
* Use with care as you will modify the DOM directly.
|
|
65
|
+
*/
|
|
66
|
+
getWidgets$(selector: string): any;
|
|
58
67
|
/**
|
|
59
68
|
* Returns the widget header jQuery object.
|
|
60
69
|
*
|
package/dist/Logger.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type LoggerComponent = "AI" | "AlertDialog" | "AmCharts4" | "AmCharts4GeoMap" | "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";
|
|
1
|
+
export type LoggerComponent = "AI" | "AlertDialog" | "AmCharts4" | "AmCharts4GeoMap" | "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" | "FilterPanel" | "FilterPanelViews";
|
|
2
2
|
export interface ILogger {
|
|
3
3
|
resetTime(): void;
|
|
4
4
|
disable(component: LoggerComponent): void;
|
package/dist/PublicContext.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { LazyTreeViewProps } from "./LazyTreeView";
|
|
3
2
|
import { ITidyTable } from "./PublicTidyTable";
|
|
4
3
|
import { ITidyTableTransformation } from "./ITidyTableTransformation";
|
|
@@ -185,18 +184,10 @@ export interface IPublicContext {
|
|
|
185
184
|
*/
|
|
186
185
|
formatPercent(value: number | string | undefined | null, locale?: string): string;
|
|
187
186
|
}
|
|
188
|
-
export interface
|
|
189
|
-
|
|
190
|
-
* Get the width of the widget box in pixels.
|
|
191
|
-
*/
|
|
192
|
-
getWidgetWidth(): number | undefined;
|
|
193
|
-
/**
|
|
194
|
-
* Get the height of the widget box in pixels.
|
|
195
|
-
*/
|
|
196
|
-
getWidgetHeight(): number | undefined;
|
|
187
|
+
export interface IWidgetStableContext extends IPublicContext {
|
|
188
|
+
getTemplateId(): string;
|
|
197
189
|
getNsId(): string;
|
|
198
190
|
getWidgetId(): string;
|
|
199
|
-
getWidgetPageNb(): number;
|
|
200
191
|
getTemplateId(): string;
|
|
201
192
|
isPrintingMode(): boolean;
|
|
202
193
|
renderWidgetContentMessage(type: IContentMessageType, message: string): any;
|
|
@@ -307,7 +298,7 @@ export interface IWidgetPublicContext extends IPublicContext {
|
|
|
307
298
|
*
|
|
308
299
|
* disabled === true, the doExport function is not used
|
|
309
300
|
*/
|
|
310
|
-
onExportToExcel(doExport: undefined | ((fileName: string | undefined) => ITidyTable | undefined), disabled?: boolean): void;
|
|
301
|
+
onExportToExcel(doExport: undefined | ((fileName: string | undefined) => ITidyTable | undefined | null), disabled?: boolean): void;
|
|
311
302
|
exportToExcel(table: ITidyTable, asPivotForExcel: boolean, rows: number[] | undefined): void;
|
|
312
303
|
useUserMenuWidth(): number | undefined;
|
|
313
304
|
/**
|
|
@@ -317,11 +308,330 @@ export interface IWidgetPublicContext extends IPublicContext {
|
|
|
317
308
|
* @param defaultFileName
|
|
318
309
|
*/
|
|
319
310
|
getExportFileName(defaultFileName?: string): string;
|
|
311
|
+
}
|
|
312
|
+
export interface IWidgetPublicContext extends IPublicContext {
|
|
313
|
+
/**
|
|
314
|
+
* Context unlikely to change during the lifecycle of a widget
|
|
315
|
+
* more appropriate to use in a React hook context.
|
|
316
|
+
*/
|
|
317
|
+
getStableContext(): IWidgetStableContext;
|
|
318
|
+
/**
|
|
319
|
+
* Get the width of the widget box in pixels.
|
|
320
|
+
*/
|
|
321
|
+
getWidgetWidth(): number | undefined;
|
|
322
|
+
/**
|
|
323
|
+
* Get the height of the widget box in pixels.
|
|
324
|
+
*/
|
|
325
|
+
getWidgetHeight(): number | undefined;
|
|
326
|
+
getWidgetPageNb(): number;
|
|
320
327
|
/**
|
|
321
328
|
* Returns true if and only if the widgets has a header (from the chart box settings).
|
|
322
329
|
*/
|
|
323
330
|
widgetHasHeader(): boolean;
|
|
324
331
|
getBoxSettings(): IPublicWidgetBoxSettings | undefined;
|
|
332
|
+
/**
|
|
333
|
+
* @deprecated use the method in this.getStableContext()
|
|
334
|
+
*/
|
|
335
|
+
getTemplateId(): string;
|
|
336
|
+
/**
|
|
337
|
+
* @deprecated use the method in this.getStableContext()
|
|
338
|
+
*/
|
|
339
|
+
getNsId(): string;
|
|
340
|
+
/**
|
|
341
|
+
* @deprecated use the method in this.getStableContext()
|
|
342
|
+
*/
|
|
343
|
+
getWidgetId(): string;
|
|
344
|
+
/**
|
|
345
|
+
* @deprecated use the method in this.getStableContext()
|
|
346
|
+
*/
|
|
347
|
+
getTemplateId(): string;
|
|
348
|
+
/**
|
|
349
|
+
* @deprecated use the method in this.getStableContext()
|
|
350
|
+
*/
|
|
351
|
+
isPrintingMode(): boolean;
|
|
352
|
+
/**
|
|
353
|
+
* @deprecated use the method in this.getStableContext()
|
|
354
|
+
*/
|
|
355
|
+
renderWidgetContentMessage(type: IContentMessageType, message: string): any;
|
|
356
|
+
/**
|
|
357
|
+
* @deprecated use the method in this.getStableContext()
|
|
358
|
+
*/
|
|
359
|
+
renderLazyTreeView<T>(props: LazyTreeViewProps): T;
|
|
360
|
+
/**
|
|
361
|
+
* @deprecated use the method in this.getStableContext()
|
|
362
|
+
*/
|
|
363
|
+
wrapWithTooltip(tooltip: string | undefined, wrappedElement: React.ReactElement): React.ReactElement;
|
|
364
|
+
/**
|
|
365
|
+
* @deprecated use the method in this.getStableContext()
|
|
366
|
+
*/
|
|
367
|
+
onWidgetRenderStatusChange(status: WidgetRenderLayoutStatus): void;
|
|
368
|
+
/**
|
|
369
|
+
* @deprecated use the method in this.getStableContext()
|
|
370
|
+
*/
|
|
371
|
+
firesEvent(actionName: string): boolean;
|
|
372
|
+
/**
|
|
373
|
+
* @deprecated use the method in this.getStableContext()
|
|
374
|
+
*/
|
|
375
|
+
fireClearEvent(actionName: string): void;
|
|
376
|
+
/**
|
|
377
|
+
* @deprecated use the method in this.getStableContext()
|
|
378
|
+
*/
|
|
379
|
+
fireMdxEvent(actionName: string, value: string, mdx: string): void;
|
|
380
|
+
/**
|
|
381
|
+
* @deprecated use the method in this.getStableContext()
|
|
382
|
+
*/
|
|
383
|
+
fireMdxEvents(events: {
|
|
384
|
+
actionName: string;
|
|
385
|
+
value: string;
|
|
386
|
+
mdx: string;
|
|
387
|
+
}[]): void;
|
|
388
|
+
/**
|
|
389
|
+
* @deprecated use the method in this.getStableContext()
|
|
390
|
+
*/
|
|
391
|
+
incrementWidgetContentRendering(): void;
|
|
392
|
+
/**
|
|
393
|
+
* @deprecated use the method in this.getStableContext()
|
|
394
|
+
*/
|
|
395
|
+
getWidgetTemplateDefinition(qualifiedId: string): IPublicWidgetTemplateDefinition<any>;
|
|
396
|
+
/**
|
|
397
|
+
* @deprecated use the method in this.getStableContext()
|
|
398
|
+
*/
|
|
399
|
+
resolveWidgetTemplateDefinition(definition: IPublicWidgetTemplateDefinition<any>): Promise<IPublicWidgetTemplateDefinition<any>>;
|
|
400
|
+
/**
|
|
401
|
+
* @deprecated use the method in this.getStableContext()
|
|
402
|
+
*/
|
|
403
|
+
useReduxOwnPropsState<T>(fieldName: string, valueIfUndefined?: T): [T, (newValue: T | undefined) => void];
|
|
404
|
+
/**
|
|
405
|
+
* @deprecated use the method in this.getStableContext()
|
|
406
|
+
*/
|
|
407
|
+
useReduxOwnProps<T>(fieldName: string): T;
|
|
408
|
+
/**
|
|
409
|
+
* @deprecated use the method in this.getStableContext()
|
|
410
|
+
*/
|
|
411
|
+
setReduxOwnProps(fieldName: string, value: any): void;
|
|
412
|
+
/**
|
|
413
|
+
* @deprecated use the method in this.getStableContext()
|
|
414
|
+
*/
|
|
415
|
+
reactUseGoogleMap(): boolean | Error;
|
|
416
|
+
/**
|
|
417
|
+
* @deprecated use the method in this.getStableContext()
|
|
418
|
+
*/
|
|
419
|
+
reactUseGoogleMapPlus(mapOptions: any, ref: any): undefined | {
|
|
420
|
+
map?: any;
|
|
421
|
+
error?: Error;
|
|
422
|
+
};
|
|
423
|
+
/**
|
|
424
|
+
* @deprecated use the method in this.getStableContext()
|
|
425
|
+
*/
|
|
426
|
+
getMapCoordinates(table: ITidyTable): [ITidyNumericColumn, ITidyNumericColumn] | [];
|
|
427
|
+
/**
|
|
428
|
+
* @deprecated use the method in this.getStableContext()
|
|
429
|
+
*/
|
|
430
|
+
getGoogleMapRenderedDelayMS(): number;
|
|
431
|
+
/**
|
|
432
|
+
* @deprecated use the method in this.getStableContext()
|
|
433
|
+
*/
|
|
434
|
+
addWidgetWarning(warning: string, severity?: WidgetWarningSeverity): void;
|
|
435
|
+
/**
|
|
436
|
+
* @deprecated use the method in this.getStableContext()
|
|
437
|
+
*/
|
|
438
|
+
widgetClearWarnings(): void;
|
|
439
|
+
/**
|
|
440
|
+
* @deprecated use the method in this.getStableContext()
|
|
441
|
+
*/
|
|
442
|
+
useNotification(notifications: WidgetNotificationHandler | WidgetNotificationHandler[], deps: ReadonlyArray<unknown> | undefined): void;
|
|
443
|
+
/**
|
|
444
|
+
* @deprecated use the method in this.getStableContext()
|
|
445
|
+
*/
|
|
446
|
+
useUserMenu(handler: (userMenu: string) => any | void, deps: ReadonlyArray<unknown> | undefined): void;
|
|
447
|
+
/**
|
|
448
|
+
* @deprecated use the method in this.getStableContext()
|
|
449
|
+
*/
|
|
450
|
+
onExportToExcel(doExport: undefined | ((fileName: string | undefined) => ITidyTable | undefined | null), disabled?: boolean): void;
|
|
451
|
+
/**
|
|
452
|
+
* @deprecated use the method in this.getStableContext()
|
|
453
|
+
*/
|
|
454
|
+
exportToExcel(table: ITidyTable, asPivotForExcel: boolean, rows: number[] | undefined): void;
|
|
455
|
+
/**
|
|
456
|
+
* @deprecated use the method in this.getStableContext()
|
|
457
|
+
*/
|
|
458
|
+
useUserMenuWidth(): number | undefined;
|
|
459
|
+
/**
|
|
460
|
+
* @deprecated use the method in this.getStableContext()
|
|
461
|
+
*/
|
|
462
|
+
getExportFileName(defaultFileName?: string): string;
|
|
463
|
+
/**
|
|
464
|
+
* @deprecated use the method in this.getStableContext()
|
|
465
|
+
*/
|
|
466
|
+
logger(): ILogger;
|
|
467
|
+
/**
|
|
468
|
+
* @deprecated use the method in this.getStableContext()
|
|
469
|
+
*/
|
|
470
|
+
isAppConsole(): boolean;
|
|
471
|
+
/**
|
|
472
|
+
* @deprecated use the method in this.getStableContext()
|
|
473
|
+
*/
|
|
474
|
+
isAppReportViewer(): boolean;
|
|
475
|
+
/**
|
|
476
|
+
* @deprecated use the method in this.getStableContext()
|
|
477
|
+
*/
|
|
478
|
+
isAppReportEditor(): boolean;
|
|
479
|
+
/**
|
|
480
|
+
* @deprecated use the method in this.getStableContext()
|
|
481
|
+
*/
|
|
482
|
+
isAppReportEditorPreview(): boolean;
|
|
483
|
+
/**
|
|
484
|
+
* @deprecated use the method in this.getStableContext()
|
|
485
|
+
*/
|
|
486
|
+
isAppReportAppEditor(): boolean;
|
|
487
|
+
/**
|
|
488
|
+
* @deprecated use the method in this.getStableContext()
|
|
489
|
+
*/
|
|
490
|
+
isAppGadgetEditor(): boolean;
|
|
491
|
+
/**
|
|
492
|
+
* @deprecated use the method in this.getStableContext()
|
|
493
|
+
*/
|
|
494
|
+
useGoogleMapHook(): boolean | Error;
|
|
495
|
+
/**
|
|
496
|
+
* @deprecated use the method in this.getStableContext()
|
|
497
|
+
*/
|
|
498
|
+
getTheme(): Theme;
|
|
499
|
+
/**
|
|
500
|
+
* @deprecated use the method in this.getStableContext()
|
|
501
|
+
*/
|
|
502
|
+
getThemeFormatter(): ThemeFormatters;
|
|
503
|
+
/**
|
|
504
|
+
* @deprecated use the method in this.getStableContext()
|
|
505
|
+
*/
|
|
506
|
+
getUserName(): string;
|
|
507
|
+
/**
|
|
508
|
+
* @deprecated use the method in this.getStableContext()
|
|
509
|
+
*/
|
|
510
|
+
getReportName(): string;
|
|
511
|
+
/**
|
|
512
|
+
* @deprecated use the method in this.getStableContext()
|
|
513
|
+
*/
|
|
514
|
+
getReportPath(): string;
|
|
515
|
+
/**
|
|
516
|
+
* @deprecated use the method in this.getStableContext()
|
|
517
|
+
*/
|
|
518
|
+
getReportFolderName(): string;
|
|
519
|
+
/**
|
|
520
|
+
* @deprecated use the method in this.getStableContext()
|
|
521
|
+
*/
|
|
522
|
+
getReportLocale(): string;
|
|
523
|
+
/**
|
|
524
|
+
* @deprecated use the method in this.getStableContext()
|
|
525
|
+
*/
|
|
526
|
+
getNumberFormatter(format: ThemeTextFormatter | null | undefined): (value: any | undefined) => string;
|
|
527
|
+
/**
|
|
528
|
+
* @deprecated use the method in this.getStableContext()
|
|
529
|
+
*/
|
|
530
|
+
getDateFormatter(format: ThemeTextFormatter | null | undefined): (value: any | undefined) => string;
|
|
531
|
+
/**
|
|
532
|
+
* @deprecated use the method in this.getStableContext()
|
|
533
|
+
*/
|
|
534
|
+
translateContent(content: string, ...args: any[]): string;
|
|
535
|
+
/**
|
|
536
|
+
* @deprecated use the method in this.getStableContext()
|
|
537
|
+
*/
|
|
538
|
+
localize(name: string, ...args: any[]): string;
|
|
539
|
+
/**
|
|
540
|
+
* @deprecated use the method in this.getStableContext()
|
|
541
|
+
*/
|
|
542
|
+
localizeError(name: string, ...args: any[]): string;
|
|
543
|
+
/**
|
|
544
|
+
* @deprecated use the method in this.getStableContext()
|
|
545
|
+
*/
|
|
546
|
+
localizeTransformationCaption(template: ITidyTableTransformation<any>): {
|
|
547
|
+
info: string;
|
|
548
|
+
description?: string;
|
|
549
|
+
};
|
|
550
|
+
/**
|
|
551
|
+
* @deprecated use the method in this.getStableContext()
|
|
552
|
+
*/
|
|
553
|
+
localizeFormField(pluginId: string, widgetTemplateId: string, name: string, ...args: any[]): [string, string | undefined, string | undefined];
|
|
554
|
+
/**
|
|
555
|
+
* @deprecated use the method in this.getStableContext()
|
|
556
|
+
*/
|
|
557
|
+
markdownToHtml(markDown: string): string;
|
|
558
|
+
/**
|
|
559
|
+
* @deprecated use the method in this.getStableContext()
|
|
560
|
+
*/
|
|
561
|
+
tidyMath(): ITidyMath;
|
|
562
|
+
/**
|
|
563
|
+
* @deprecated use the method in this.getStableContext()
|
|
564
|
+
*/
|
|
565
|
+
createTableRowTextExpr(field: string, table: ITidyTable, currentColumn: ITidyColumn | undefined, expression: string | undefined, selectedColumns: ITidyColumn[] | undefined, isRowSelected?: TidyRowFilter): ((rowIdx: number) => string) | undefined;
|
|
566
|
+
/**
|
|
567
|
+
* @deprecated use the method in this.getStableContext()
|
|
568
|
+
*/
|
|
569
|
+
createTableTextExpr(field: string, table: ITidyTable, currentColumn: ITidyColumn | undefined, expression: string | undefined, isRowSelected?: TidyRowFilter): (() => string) | undefined;
|
|
570
|
+
/**
|
|
571
|
+
* @deprecated use the method in this.getStableContext()
|
|
572
|
+
*/
|
|
573
|
+
createTableRowMarkdownExpr(field: string, table: ITidyTable, currentColumn: ITidyColumn | undefined, expression: string | undefined, selectedColumns: ITidyColumn[] | undefined, isRowSelected?: TidyRowFilter): ((rowIdx: number) => string) | undefined;
|
|
574
|
+
/**
|
|
575
|
+
* @deprecated use the method in this.getStableContext()
|
|
576
|
+
*/
|
|
577
|
+
createTableMarkdownExpr(field: string, table: ITidyTable, currentColumn: ITidyColumn | undefined, expression: string | undefined, selectedColumns: ITidyColumn[] | undefined, isRowSelected?: TidyRowFilter): (() => string) | undefined;
|
|
578
|
+
/**
|
|
579
|
+
* @deprecated use the method in this.getStableContext()
|
|
580
|
+
*/
|
|
581
|
+
createTableRowNumericExpr(field: string, table: ITidyTable, currentColumn: ITidyColumn | undefined, expression: string | undefined, selectedColumns: ITidyColumn[] | undefined, isRowSelected?: TidyRowFilter): ((rowIdx: number) => number | undefined) | undefined;
|
|
582
|
+
/**
|
|
583
|
+
* @deprecated use the method in this.getStableContext()
|
|
584
|
+
*/
|
|
585
|
+
createTableRowNumericStringExpr(field: string, table: ITidyTable, currentColumn: ITidyColumn | undefined, expression: string | undefined, selectedColumns: ITidyColumn[] | undefined, isRowSelected?: TidyRowFilter): ((rowIdx: number) => string | undefined) | undefined;
|
|
586
|
+
/**
|
|
587
|
+
* @deprecated use the method in this.getStableContext()
|
|
588
|
+
*/
|
|
589
|
+
createTableScaleRowNumericExpr(field: string, table: ITidyTable, currentColumn: ITidyColumn | undefined, expression: string | undefined, selectedColumns: ITidyColumn[] | undefined, isRowSelected?: TidyRowFilter): ((rowIdx: number) => number | undefined) | undefined;
|
|
590
|
+
/**
|
|
591
|
+
* @deprecated use the method in this.getStableContext()
|
|
592
|
+
*/
|
|
593
|
+
createTableNumericExpr(field: string, table: ITidyTable, currentColumn: ITidyColumn | undefined, expression: string | undefined, selectedColumns: ITidyColumn[] | undefined, isRowSelected?: TidyRowFilter): (() => number | undefined) | undefined;
|
|
594
|
+
/**
|
|
595
|
+
* @deprecated use the method in this.getStableContext()
|
|
596
|
+
*/
|
|
597
|
+
createTableNumericStringExpr(field: string, table: ITidyTable, currentColumn: ITidyColumn | undefined, expression: string | undefined, selectedColumns: ITidyColumn[] | undefined, isRowSelected?: TidyRowFilter): (() => any | undefined) | undefined;
|
|
598
|
+
/**
|
|
599
|
+
* @deprecated use the method in this.getStableContext()
|
|
600
|
+
*/
|
|
601
|
+
createTableNumericJSExpr(field: string, table: ITidyTable, currentColumn: ITidyColumn | undefined, expression: string | undefined, selectedColumns: ITidyColumn[] | undefined, isRowSelected?: TidyRowFilter): (() => any | undefined) | undefined;
|
|
602
|
+
/**
|
|
603
|
+
* Event methods that do not depend on a Table
|
|
604
|
+
*
|
|
605
|
+
* @see ITidyTableInteractionEvent for more
|
|
606
|
+
*/
|
|
607
|
+
/**
|
|
608
|
+
* @deprecated use the method in this.getStableContext()
|
|
609
|
+
*/
|
|
610
|
+
fireClearEventName(actionName: string): void;
|
|
611
|
+
/**
|
|
612
|
+
* @deprecated use the method in this.getStableContext()
|
|
613
|
+
*/
|
|
614
|
+
fireMdxEventName(actionName: string, value: string, mdx: string): void;
|
|
615
|
+
/**
|
|
616
|
+
* @deprecated use the method in this.getStableContext()
|
|
617
|
+
*/
|
|
618
|
+
fireAppNotification(notification: AppNotification): void;
|
|
619
|
+
/**
|
|
620
|
+
* @deprecated use the method in this.getStableContext()
|
|
621
|
+
*/
|
|
622
|
+
formatDate(value: Date | string | undefined | null, format: ThemeTextFormatter | null | undefined, locale?: string): string;
|
|
623
|
+
/**
|
|
624
|
+
* @deprecated use the method in this.getStableContext()
|
|
625
|
+
*/
|
|
626
|
+
formatNumber(value: number | string | undefined | null, format: ThemeTextFormatter | null | undefined, locale?: string): string;
|
|
627
|
+
/**
|
|
628
|
+
* @deprecated use the method in this.getStableContext()
|
|
629
|
+
*/
|
|
630
|
+
formatAmount(value: number | string | undefined | null, locale?: string): string;
|
|
631
|
+
/**
|
|
632
|
+
* @deprecated use the method in this.getStableContext()
|
|
633
|
+
*/
|
|
634
|
+
formatPercent(value: number | string | undefined | null, locale?: string): string;
|
|
325
635
|
}
|
|
326
636
|
export interface IPublicWidgetBoxSettings {
|
|
327
637
|
widgetId: string;
|
package/dist/PublicContext.js
CHANGED
|
@@ -16,5 +16,4 @@ var IContentMessageType;
|
|
|
16
16
|
IContentMessageType[IContentMessageType["info"] = 0] = "info";
|
|
17
17
|
IContentMessageType[IContentMessageType["error"] = 1] = "error";
|
|
18
18
|
})(IContentMessageType || (exports.IContentMessageType = IContentMessageType = {}));
|
|
19
|
-
;
|
|
20
19
|
//# sourceMappingURL=PublicContext.js.map
|
|
@@ -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"}
|
package/dist/PublicLayout.d.ts
CHANGED
|
@@ -15,9 +15,11 @@ export interface IPageSize {
|
|
|
15
15
|
* From icCube server print component configuration.
|
|
16
16
|
*/
|
|
17
17
|
export interface IKnownPageSize extends IPageSize {
|
|
18
|
+
type: "known";
|
|
18
19
|
name: string;
|
|
19
20
|
}
|
|
20
21
|
export interface IManualPageSize extends IPageSize {
|
|
22
|
+
type: "manual";
|
|
21
23
|
pageSizeUnits: PaperSizeUnits;
|
|
22
24
|
pageWidth: number;
|
|
23
25
|
pageHeight: number;
|
|
@@ -26,6 +28,7 @@ export interface IManualPageSize extends IPageSize {
|
|
|
26
28
|
* Unlimited in height.
|
|
27
29
|
*/
|
|
28
30
|
export interface IUnlimitedPageSize extends IPageSize {
|
|
31
|
+
type: "unlimited";
|
|
29
32
|
pageSizeUnits: PaperSizeUnits;
|
|
30
33
|
pageWidth: number;
|
|
31
34
|
}
|
package/dist/PublicTemplate.d.ts
CHANGED
|
@@ -434,9 +434,12 @@ interface IPublicCommonWidgetTemplateDefinition<OPTIONS extends FormFieldObject>
|
|
|
434
434
|
withoutTidyTable?: boolean;
|
|
435
435
|
/**
|
|
436
436
|
* This widget knows how to render a result without any data.
|
|
437
|
-
* (e.g., data picker)
|
|
438
437
|
*/
|
|
439
438
|
handlesNoData?: boolean;
|
|
439
|
+
/**
|
|
440
|
+
* This widget knows how to render when it has no query.
|
|
441
|
+
*/
|
|
442
|
+
handlesEmptyQuery?: boolean;
|
|
440
443
|
/**
|
|
441
444
|
* This widget is responsible to notify its rendered status. Required with asynchronous rendering
|
|
442
445
|
* (e.g., Google maps).
|
|
@@ -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;AA0hBD;;;;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"}
|
|
@@ -315,7 +315,7 @@ export type FormFieldType =
|
|
|
315
315
|
export type FormFieldTidyTableExprType = "tidyTableColorRowExpr" | "tidyTableHtmlExpr" | "tidyTableHtmlRowExpr" | "tidyTableNumericColumnExpr" | "tidyTableNumericExpr" | "tidyTableNumericJSColumnExpr" | "tidyTableNumericRowExpr" | "tidyTableNumericStringColumnExpr" | "tidyTableScaleRowExpr" | "tidyTableTextExpr" | "tidyTableTextRowExpr" | "tidyTableStringRowExpr";
|
|
316
316
|
export declare function isTidyTableExpr(type: FormFieldType): type is FormFieldTidyTableExprType;
|
|
317
317
|
export declare function isTidyTableExprJS(type: FormFieldType): boolean;
|
|
318
|
-
export declare function isTidyTableExprTable(type: FormFieldType):
|
|
318
|
+
export declare function isTidyTableExprTable(type: FormFieldType): type is "tidyTableHtmlExpr" | "tidyTableNumericExpr" | "tidyTableTextExpr";
|
|
319
319
|
export declare function isTidyTableExprColumn(type: FormFieldType): boolean;
|
|
320
320
|
export declare function isTidyTableExprRow(type: FormFieldType): boolean;
|
|
321
321
|
export declare function isTidyTableExprNumericString(type: FormFieldType): type is "tidyTableColorRowExpr" | "tidyTableStringRowExpr" | "tidyTableNumericStringColumnExpr";
|
|
@@ -1,10 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ConditionalRuleOperators = exports.AutocompleteActions = exports.AutocompleteNoOptionsText = exports.
|
|
3
|
+
exports.ConditionalRuleOperators = exports.AutocompleteActions = exports.AutocompleteNoOptionsText = exports.IFormFieldGroupTypes = void 0;
|
|
4
|
+
exports.formFieldIsSelection = formFieldIsSelection;
|
|
5
|
+
exports.isTidyTableExpr = isTidyTableExpr;
|
|
6
|
+
exports.isTidyTableExprJS = isTidyTableExprJS;
|
|
7
|
+
exports.isTidyTableExprTable = isTidyTableExprTable;
|
|
8
|
+
exports.isTidyTableExprColumn = isTidyTableExprColumn;
|
|
9
|
+
exports.isTidyTableExprRow = isTidyTableExprRow;
|
|
10
|
+
exports.isTidyTableExprNumericString = isTidyTableExprNumericString;
|
|
11
|
+
exports.isTidyTableExprNumericJS = isTidyTableExprNumericJS;
|
|
12
|
+
exports.isTidyTableExprText = isTidyTableExprText;
|
|
13
|
+
exports.isTidyTableExprTextHtml = isTidyTableExprTextHtml;
|
|
14
|
+
exports.isTidyTableExprNumeric = isTidyTableExprNumeric;
|
|
15
|
+
exports.isTidyTableExprScale = isTidyTableExprScale;
|
|
4
16
|
function formFieldIsSelection(field) {
|
|
5
17
|
return field.group === IFormFieldGroupTypes.Selection;
|
|
6
18
|
}
|
|
7
|
-
exports.formFieldIsSelection = formFieldIsSelection;
|
|
8
19
|
var IFormFieldGroupTypes;
|
|
9
20
|
(function (IFormFieldGroupTypes) {
|
|
10
21
|
IFormFieldGroupTypes["Selection"] = "groupSelection";
|
|
@@ -25,7 +36,6 @@ function isTidyTableExpr(type) {
|
|
|
25
36
|
|| type === "tidyTableTextRowExpr"
|
|
26
37
|
|| type === "tidyTableStringRowExpr";
|
|
27
38
|
}
|
|
28
|
-
exports.isTidyTableExpr = isTidyTableExpr;
|
|
29
39
|
function isTidyTableExprJS(type) {
|
|
30
40
|
return type === "tidyTableColorRowExpr"
|
|
31
41
|
|| type === "tidyTableStringRowExpr"
|
|
@@ -36,19 +46,16 @@ function isTidyTableExprJS(type) {
|
|
|
36
46
|
|| type === "tidyTableNumericJSColumnExpr"
|
|
37
47
|
|| type === "tidyTableNumericRowExpr";
|
|
38
48
|
}
|
|
39
|
-
exports.isTidyTableExprJS = isTidyTableExprJS;
|
|
40
49
|
function isTidyTableExprTable(type) {
|
|
41
50
|
return type === "tidyTableHtmlExpr"
|
|
42
51
|
|| type === "tidyTableTextExpr"
|
|
43
52
|
|| type === "tidyTableNumericExpr";
|
|
44
53
|
}
|
|
45
|
-
exports.isTidyTableExprTable = isTidyTableExprTable;
|
|
46
54
|
function isTidyTableExprColumn(type) {
|
|
47
55
|
return type === "tidyTableNumericColumnExpr"
|
|
48
56
|
|| type === "tidyTableNumericStringColumnExpr"
|
|
49
57
|
|| type === "tidyTableNumericJSColumnExpr";
|
|
50
58
|
}
|
|
51
|
-
exports.isTidyTableExprColumn = isTidyTableExprColumn;
|
|
52
59
|
function isTidyTableExprRow(type) {
|
|
53
60
|
return type === "tidyTableHtmlRowExpr"
|
|
54
61
|
|| type === "tidyTableTextRowExpr"
|
|
@@ -57,35 +64,28 @@ function isTidyTableExprRow(type) {
|
|
|
57
64
|
|| type === "tidyTableColorRowExpr"
|
|
58
65
|
|| type === "tidyTableScaleRowExpr";
|
|
59
66
|
}
|
|
60
|
-
exports.isTidyTableExprRow = isTidyTableExprRow;
|
|
61
67
|
function isTidyTableExprNumericString(type) {
|
|
62
68
|
return type === "tidyTableColorRowExpr" || type === "tidyTableStringRowExpr" || type === "tidyTableNumericStringColumnExpr";
|
|
63
69
|
}
|
|
64
|
-
exports.isTidyTableExprNumericString = isTidyTableExprNumericString;
|
|
65
70
|
function isTidyTableExprNumericJS(type) {
|
|
66
71
|
return type === "tidyTableNumericJSColumnExpr";
|
|
67
72
|
}
|
|
68
|
-
exports.isTidyTableExprNumericJS = isTidyTableExprNumericJS;
|
|
69
73
|
function isTidyTableExprText(type) {
|
|
70
74
|
return type === "tidyTableTextExpr"
|
|
71
75
|
|| type === "tidyTableTextRowExpr";
|
|
72
76
|
}
|
|
73
|
-
exports.isTidyTableExprText = isTidyTableExprText;
|
|
74
77
|
function isTidyTableExprTextHtml(type) {
|
|
75
78
|
return type === "tidyTableHtmlExpr"
|
|
76
79
|
|| type === "tidyTableHtmlRowExpr";
|
|
77
80
|
}
|
|
78
|
-
exports.isTidyTableExprTextHtml = isTidyTableExprTextHtml;
|
|
79
81
|
function isTidyTableExprNumeric(type) {
|
|
80
82
|
return type === "tidyTableNumericExpr"
|
|
81
83
|
|| type === "tidyTableNumericColumnExpr"
|
|
82
84
|
|| type === "tidyTableNumericRowExpr";
|
|
83
85
|
}
|
|
84
|
-
exports.isTidyTableExprNumeric = isTidyTableExprNumeric;
|
|
85
86
|
function isTidyTableExprScale(type) {
|
|
86
87
|
return type === "tidyTableScaleRowExpr";
|
|
87
88
|
}
|
|
88
|
-
exports.isTidyTableExprScale = isTidyTableExprScale;
|
|
89
89
|
/**
|
|
90
90
|
* Error messages for field suggestions and value candidates.
|
|
91
91
|
* Put translations in ReportLocalization.csv.
|
|
@@ -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;
|
|
1
|
+
{"version":3,"file":"PublicTemplateForm.js","sourceRoot":"","sources":["../src/PublicTemplateForm.ts"],"names":[],"mappings":";;;AAuBA,oDAEC;AA8YD,0CAcC;AAED,8CAUC;AAED,oDAKC;AAED,sDAKC;AAED,gDAQC;AAED,oEAEC;AAED,4DAEC;AAED,kDAIC;AAED,0DAIC;AAED,wDAKC;AAED,oDAGC;AAleD,SAAgB,oBAAoB,CAAC,KAAyB;IAC1D,OAAO,KAAK,CAAC,KAAK,KAAK,oBAAoB,CAAC,SAAS,CAAC;AAC1D,CAAC;AA8KD,IAAY,oBAIX;AAJD,WAAY,oBAAoB;IAC5B,oDAA4B,CAAA;IAC5B,yEAAiD,CAAA;IACjD,sDAA8B,CAAA;AAClC,CAAC,EAJW,oBAAoB,oCAApB,oBAAoB,QAI/B;AA4ND,SAAgB,eAAe,CAAC,IAAmB;IAC/C,OAAO,IAAI,KAAK,uBAAuB;WAChC,IAAI,KAAK,mBAAmB;WAC5B,IAAI,KAAK,sBAAsB;WAC/B,IAAI,KAAK,4BAA4B;WACrC,IAAI,KAAK,sBAAsB;WAC/B,IAAI,KAAK,8BAA8B;WACvC,IAAI,KAAK,yBAAyB;WAClC,IAAI,KAAK,kCAAkC;WAC3C,IAAI,KAAK,uBAAuB;WAChC,IAAI,KAAK,mBAAmB;WAC5B,IAAI,KAAK,sBAAsB;WAC/B,IAAI,KAAK,wBAAwB,CACnC;AACT,CAAC;AAED,SAAgB,iBAAiB,CAAC,IAAmB;IACjD,OAAO,IAAI,KAAK,uBAAuB;WAChC,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ACrC,IAAI,KAAK,yBAAyB,CACpC;AACT,CAAC;AAED,SAAgB,oBAAoB,CAAC,IAAmB;IACpD,OAAO,IAAI,KAAK,uBAAuB,CAClC;AACT,CAAC;AAED;;;GAGG;AACH,IAAY,yBAKX;AALD,WAAY,yBAAyB;IACjC,sDAAyB,CAAA;IACzB,sDAAyB,CAAA;IACzB,gEAAmC,CAAA;IACnC,gEAAmC,CAAA;AACvC,CAAC,EALW,yBAAyB,yCAAzB,yBAAyB,QAKpC;AAED;;GAEG;AACH,IAAY,mBAEX;AAFD,WAAY,mBAAmB;IAC3B,8CAAuB,CAAA;AAC3B,CAAC,EAFW,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"}
|
package/dist/PublicTheme.d.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
/// <reference types="googlemaps" />
|
|
2
|
-
/// <reference types="markerclustererplus" />
|
|
3
1
|
import { ComponentsOverrides, ComponentsVariants, Interpolation, Theme } from "@mui/material";
|
|
4
2
|
import { IPublicWidgetTemplateDefinition } from "./PublicTemplate";
|
|
5
3
|
import { IWidgetLayoutDefinition } from "./PublicLayout";
|
|
@@ -46,6 +44,8 @@ import { AIWidgetChatBotClassKey, AIWidgetChatBotStyleProps } from "./theme/Them
|
|
|
46
44
|
import { FilterPanelViewsMenuClassesKey } from "./theme/ThemeFilterPanelViewsMenu";
|
|
47
45
|
import { Ic3TableCellDrilldownProps, ThemeIc3TableCellDrilldownClassesKey } from "./theme/ThemeIc3TableCellDrilldown";
|
|
48
46
|
import { FilterSwitchClassKey, FilterSwitchProps } from "./theme/ThemeFilterSwitch";
|
|
47
|
+
import { HomeCardClassKey } from "./theme/ThemeHomeCard";
|
|
48
|
+
import { HomeConsoleClassKey } from "./theme/ThemeHomeConsole";
|
|
49
49
|
export type Ic3ChartVariants = {
|
|
50
50
|
[Name in keyof WidgetTemplateChartOptions]?: Array<{
|
|
51
51
|
props: {
|
|
@@ -412,6 +412,7 @@ export interface ic3Theme {
|
|
|
412
412
|
queryError: JSX.Element;
|
|
413
413
|
queryWarning: JSX.Element;
|
|
414
414
|
helpIcon: JSX.Element;
|
|
415
|
+
helpIconOutlined: JSX.Element;
|
|
415
416
|
closeQueryIcon: JSX.Element;
|
|
416
417
|
interactionModeSelection: JSX.Element;
|
|
417
418
|
interactionModeDrilldown: JSX.Element;
|
|
@@ -426,6 +427,7 @@ export interface ic3Theme {
|
|
|
426
427
|
radioUnselected: React.ReactNode | undefined;
|
|
427
428
|
radioSelected: React.ReactNode | undefined;
|
|
428
429
|
hasDescendantsIndicatorIcon: React.ReactNode | undefined;
|
|
430
|
+
getViewsMenuCustomButtonIcon: (name: string | undefined) => React.ReactNode | undefined;
|
|
429
431
|
};
|
|
430
432
|
palette: {
|
|
431
433
|
darken: (color: string, factor: number) => string;
|
|
@@ -722,7 +724,7 @@ export interface ic3ThemeOptions {
|
|
|
722
724
|
};
|
|
723
725
|
datePicker?: DeepPartial<ic3Theme['datePicker']>;
|
|
724
726
|
}
|
|
725
|
-
interface IWidgetIcons extends IWidgetBoxIconsDefinition {
|
|
727
|
+
interface IWidgetIcons extends IWidgetBoxIconsDefinition, Record<string, any> {
|
|
726
728
|
/**
|
|
727
729
|
* Set to true to make the widget icon options readonly (non-editable) for all widgets. Also, this enforces to
|
|
728
730
|
* always use the default values set in the theme.
|
|
@@ -908,6 +910,12 @@ interface ic3BaseComponents {
|
|
|
908
910
|
"amCharts4.AmCharts4GeoMap"?: {
|
|
909
911
|
variants?: Ic3ChartVariants["amCharts4.AmCharts4GeoMap"];
|
|
910
912
|
};
|
|
913
|
+
HomeCard?: {
|
|
914
|
+
styleOverrides?: ComponentsOverrides["HomeCard"];
|
|
915
|
+
};
|
|
916
|
+
HomeConsole?: {
|
|
917
|
+
styleOverrides?: ComponentsOverrides["HomeConsole"];
|
|
918
|
+
};
|
|
911
919
|
}
|
|
912
920
|
/**
|
|
913
921
|
* For Typing purpose extending MUI Theme with ic3 components.
|
|
@@ -991,6 +999,8 @@ declare module '@mui/material/styles/overrides' {
|
|
|
991
999
|
Ic3TableCell: ThemeIc3TableCellClassesKey;
|
|
992
1000
|
Ic3TableCellDrilldown: ThemeIc3TableCellDrilldownClassesKey;
|
|
993
1001
|
Ic3TableCellError: ThemeIc3TableCellClassesKey;
|
|
1002
|
+
HomeCard: HomeCardClassKey;
|
|
1003
|
+
HomeConsole: HomeConsoleClassKey;
|
|
994
1004
|
}
|
|
995
1005
|
}
|
|
996
1006
|
declare module '@mui/material/styles/props' {
|
package/dist/PublicTheme.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TableRowHeightOptions =
|
|
3
|
+
exports.TableRowHeightOptions = void 0;
|
|
4
|
+
exports.isThemeFormatterPerLocale = isThemeFormatterPerLocale;
|
|
4
5
|
function isThemeFormatterPerLocale(x) {
|
|
5
6
|
return (x === null || x === void 0 ? void 0 : x['default']) != null;
|
|
6
7
|
}
|
|
7
|
-
exports.isThemeFormatterPerLocale = isThemeFormatterPerLocale;
|
|
8
8
|
var TableRowHeightOptions;
|
|
9
9
|
(function (TableRowHeightOptions) {
|
|
10
10
|
TableRowHeightOptions["standard"] = "standard";
|
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":";;;AAgKA,8DAEC;AAFD,SAAgB,yBAAyB,CAAC,CAAqE;IAC3G,OAAO,CAAC,CAA6B,aAA7B,CAAC,uBAAD,CAAC,CAA+B,SAAS,CAAC,KAAI,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"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { AxisCoordinate, ConvertToTypeParseSettings, EntityItem, GroupRowIndices, IMdxAxisSeriesInfo, ITidyColumnIndex, ITidyColumnsSource, MdxInfo, TidyCellError, TidyColumnsSubType, TidyColumnsType } from "./PublicTidyTableTypes";
|
|
3
2
|
import { TidyActionEvent } from "./IcEvent";
|
|
4
3
|
import { ThemeTextFormatter } from "./PublicTheme";
|
package/dist/PublicTidyMath.d.ts
CHANGED
|
@@ -142,7 +142,7 @@ export interface ITidyMath {
|
|
|
142
142
|
* @param column
|
|
143
143
|
* @param idx row index of the cell to calculate the percentage of.
|
|
144
144
|
*/
|
|
145
|
-
percentRow(table: ITidyTable, column: ITidyBaseColumnReadonly<number | null>, idx: number): number | undefined;
|
|
145
|
+
percentRow(table: ITidyTable, column: ITidyBaseColumnReadonly<number | null>, idx: number): number | undefined | null;
|
|
146
146
|
/**
|
|
147
147
|
* Count the values in the column. For example: [a, b, b] -> {a: 1, b: 2}.
|
|
148
148
|
*/
|
|
@@ -310,4 +310,8 @@ export interface ITidyTableInteraction extends ITidyTableInteractionSelection, I
|
|
|
310
310
|
* @param columnIdx
|
|
311
311
|
*/
|
|
312
312
|
getDrilldownColumn(columnIdx: number): ITidyColumn;
|
|
313
|
+
/**
|
|
314
|
+
* Return the selection behaviour when the selection is empty.
|
|
315
|
+
*/
|
|
316
|
+
getEmptyMode(): SelectionBehaviour | undefined;
|
|
313
317
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TidyTableColumnIdentifier, TidyTableColumnSelector, TidyTableMappingColumnSelectorOptions, TidyTableRoleSelector } from "./PublicTidyTableTypes";
|
|
2
2
|
export declare function isTidyTableMappingColumnSelectorOptions(v: unknown): v is TidyTableMappingColumnSelectorOptions;
|
|
3
|
-
export declare function isTidyTableColumnIdentifier(v:
|
|
4
|
-
export declare function isTidyTableRoleSelector(v:
|
|
3
|
+
export declare function isTidyTableColumnIdentifier(v: any): v is TidyTableColumnIdentifier;
|
|
4
|
+
export declare function isTidyTableRoleSelector(v: any): v is TidyTableRoleSelector;
|
|
5
5
|
export declare function isTidyTableColumnSelector(v: unknown): v is TidyTableColumnSelector;
|
|
6
6
|
export declare function isTidyTableColumnsChooser(columnChooserValue: unknown): columnChooserValue is (TidyTableColumnSelector | TidyTableColumnSelector[]);
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.isTidyTableMappingColumnSelectorOptions = isTidyTableMappingColumnSelectorOptions;
|
|
4
|
+
exports.isTidyTableColumnIdentifier = isTidyTableColumnIdentifier;
|
|
5
|
+
exports.isTidyTableRoleSelector = isTidyTableRoleSelector;
|
|
6
|
+
exports.isTidyTableColumnSelector = isTidyTableColumnSelector;
|
|
7
|
+
exports.isTidyTableColumnsChooser = isTidyTableColumnsChooser;
|
|
4
8
|
function isTidyTableMappingColumnSelectorOptions(v) {
|
|
5
9
|
return typeof v === "string" && v.startsWith('@IC3_');
|
|
6
10
|
}
|
|
7
|
-
exports.isTidyTableMappingColumnSelectorOptions = isTidyTableMappingColumnSelectorOptions;
|
|
8
11
|
function isTidyTableColumnIdentifier(v) {
|
|
9
12
|
return typeof v === "object" && v != null && typeof v["name"] === "string";
|
|
10
13
|
}
|
|
11
|
-
exports.isTidyTableColumnIdentifier = isTidyTableColumnIdentifier;
|
|
12
14
|
function isTidyTableRoleSelector(v) {
|
|
13
15
|
return typeof v === "object" && v != null && typeof v["role"] === "string";
|
|
14
16
|
}
|
|
15
|
-
exports.isTidyTableRoleSelector = isTidyTableRoleSelector;
|
|
16
17
|
function isTidyTableColumnSelector(v) {
|
|
17
18
|
return isTidyTableMappingColumnSelectorOptions(v)
|
|
18
19
|
|| isTidyTableColumnIdentifier(v)
|
|
19
20
|
|| isTidyTableRoleSelector(v);
|
|
20
21
|
}
|
|
21
|
-
exports.isTidyTableColumnSelector = isTidyTableColumnSelector;
|
|
22
22
|
function isTidyTableColumnsChooser(columnChooserValue) {
|
|
23
23
|
// Type guarding
|
|
24
24
|
if (Array.isArray(columnChooserValue)) {
|
|
@@ -33,5 +33,4 @@ function isTidyTableColumnsChooser(columnChooserValue) {
|
|
|
33
33
|
}
|
|
34
34
|
return false;
|
|
35
35
|
}
|
|
36
|
-
exports.isTidyTableColumnsChooser = isTidyTableColumnsChooser;
|
|
37
36
|
//# sourceMappingURL=PublicTidyTableTypeGuards.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PublicTidyTableTypeGuards.js","sourceRoot":"","sources":["../src/PublicTidyTableTypeGuards.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PublicTidyTableTypeGuards.js","sourceRoot":"","sources":["../src/PublicTidyTableTypeGuards.ts"],"names":[],"mappings":";;AAQA,0FAEC;AAED,kEAEC;AAED,0DAEC;AAED,8DAKC;AAED,8DAYC;AA/BD,SAAgB,uCAAuC,CAAC,CAAU;IAC9D,OAAO,OAAO,CAAC,KAAK,QAAQ,IAAI,CAAC,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;AAC1D,CAAC;AAED,SAAgB,2BAA2B,CAAC,CAAM;IAC9C,OAAO,OAAO,CAAC,KAAK,QAAQ,IAAI,CAAC,IAAI,IAAI,IAAI,OAAO,CAAC,CAAC,MAAM,CAAC,KAAK,QAAQ,CAAC;AAC/E,CAAC;AAED,SAAgB,uBAAuB,CAAC,CAAM;IAC1C,OAAO,OAAO,CAAC,KAAK,QAAQ,IAAI,CAAC,IAAI,IAAI,IAAI,OAAO,CAAC,CAAC,MAAM,CAAC,KAAK,QAAQ,CAAC;AAC/E,CAAC;AAED,SAAgB,yBAAyB,CAAC,CAAU;IAChD,OAAO,uCAAuC,CAAC,CAAC,CAAC;WAC1C,2BAA2B,CAAC,CAAC,CAAC;WAC9B,uBAAuB,CAAC,CAAC,CAAC,CAC5B;AACT,CAAC;AAED,SAAgB,yBAAyB,CAAC,kBAA2B;IACjE,gBAAgB;IAChB,IAAI,KAAK,CAAC,OAAO,CAAC,kBAAkB,CAAC,EAAE,CAAC;QACpC,IAAI,kBAAkB,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,yBAAyB,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;YAC9D,OAAO,IAAI,CAAC;QAChB,CAAC;IACL,CAAC;SAAM,CAAC;QACJ,IAAI,yBAAyB,CAAC,kBAAkB,CAAC,EAAE,CAAC;YAChD,OAAO,IAAI,CAAC;QAChB,CAAC;IACL,CAAC;IACD,OAAO,KAAK,CAAC;AACjB,CAAC"}
|
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 !== null && version !== void 0 ? version : "-";
|
|
6
|
+
this.timestamp = timestamp !== null && timestamp !== void 0 ? 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,
|
|
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,aAAP,OAAO,cAAP,OAAO,GAAI,GAAG,CAAC;QAC9B,IAAI,CAAC,SAAS,GAAG,SAAS,aAAT,SAAS,cAAT,SAAS,GAAI,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"}
|
package/dist/index.d.ts
CHANGED
|
@@ -73,3 +73,5 @@ export * from "./theme/ThemeReportAppLeftPanel";
|
|
|
73
73
|
export * from "./theme/ThemeWidgetBox";
|
|
74
74
|
export * from "./theme/ThemeWidgetBoxContentMessage";
|
|
75
75
|
export * from "./theme/ThemeIc3TableCell";
|
|
76
|
+
export * from "./theme/ThemeHomeCard";
|
|
77
|
+
export * from "./theme/ThemeHomeConsole";
|
package/dist/index.js
CHANGED
|
@@ -89,4 +89,6 @@ __exportStar(require("./theme/ThemeReportAppLeftPanel"), exports);
|
|
|
89
89
|
__exportStar(require("./theme/ThemeWidgetBox"), exports);
|
|
90
90
|
__exportStar(require("./theme/ThemeWidgetBoxContentMessage"), exports);
|
|
91
91
|
__exportStar(require("./theme/ThemeIc3TableCell"), exports);
|
|
92
|
+
__exportStar(require("./theme/ThemeHomeCard"), exports);
|
|
93
|
+
__exportStar(require("./theme/ThemeHomeConsole"), exports);
|
|
92
94
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,4CAA0B;AAC1B,yDAAuC;AACvC,sDAAoC;AACpC,kDAAgC;AAChC,sDAAoC;AACpC,sDAAoC;AACpC,kDAAgC;AAChC,2DAAyC;AACzC,uDAAqC;AACrC,4DAA0C;AAC1C,wDAAsC;AACtC,6DAA0C;AAC1C,oEAAiD;AACjD,2CAAwB;AACxB,+DAA6C;AAC7C,2DAAyC;AACzC,0DAAwC;AACxC,mDAAiC;AACjC,iDAA+B;AAC/B,2CAAyB;AACzB,iDAA+B;AAC/B,kDAAgC;AAChC,+CAA6B;AAC7B,iDAA+B;AAC/B,mDAAiC;AACjC,uDAAqC;AACrC,oDAAkC;AAClC,gDAA8B;AAC9B,qDAAmC;AACnC,mDAAiC;AACjC,oDAAkC;AAClC,gEAA8C;AAC9C,yDAAuC;AACvC,mDAAiC;AACjC,wDAAsC;AACtC,yDAAuC;AACvC,qDAAmC;AAEnC,2DAAyC;AACzC,yDAAuC;AACvC,mDAAiC;AACjC,yDAAuC;AACvC,0DAAwC;AACxC,8DAA4C;AAC5C,6DAA2C;AAC3C,kEAAgD;AAChD,6DAA2C;AAC3C,mEAAiD;AACjD,2DAAyC;AACzC,2DAAyC;AACzC,iEAA+C;AAC/C,4DAA0C;AAC1C,0DAAwC;AACxC,sDAAoC;AACpC,sDAAoC;AACpC,6DAA2C;AAC3C,8DAA4C;AAC5C,4DAA0C;AAC1C,uDAAqC;AACrC,qDAAmC;AACnC,sDAAoC;AACpC,uDAAqC;AACrC,sDAAoC;AACpC,0DAAwC;AACxC,+DAA6C;AAC7C,4DAA0C;AAC1C,0DAAwC;AACxC,2DAAyC;AACzC,gEAA8C;AAC9C,4DAA0C;AAC1C,qDAAmC;AACnC,kEAAgD;AAChD,yDAAuC;AACvC,uEAAqD;AACrD,4DAA0C"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,4CAA0B;AAC1B,yDAAuC;AACvC,sDAAoC;AACpC,kDAAgC;AAChC,sDAAoC;AACpC,sDAAoC;AACpC,kDAAgC;AAChC,2DAAyC;AACzC,uDAAqC;AACrC,4DAA0C;AAC1C,wDAAsC;AACtC,6DAA0C;AAC1C,oEAAiD;AACjD,2CAAwB;AACxB,+DAA6C;AAC7C,2DAAyC;AACzC,0DAAwC;AACxC,mDAAiC;AACjC,iDAA+B;AAC/B,2CAAyB;AACzB,iDAA+B;AAC/B,kDAAgC;AAChC,+CAA6B;AAC7B,iDAA+B;AAC/B,mDAAiC;AACjC,uDAAqC;AACrC,oDAAkC;AAClC,gDAA8B;AAC9B,qDAAmC;AACnC,mDAAiC;AACjC,oDAAkC;AAClC,gEAA8C;AAC9C,yDAAuC;AACvC,mDAAiC;AACjC,wDAAsC;AACtC,yDAAuC;AACvC,qDAAmC;AAEnC,2DAAyC;AACzC,yDAAuC;AACvC,mDAAiC;AACjC,yDAAuC;AACvC,0DAAwC;AACxC,8DAA4C;AAC5C,6DAA2C;AAC3C,kEAAgD;AAChD,6DAA2C;AAC3C,mEAAiD;AACjD,2DAAyC;AACzC,2DAAyC;AACzC,iEAA+C;AAC/C,4DAA0C;AAC1C,0DAAwC;AACxC,sDAAoC;AACpC,sDAAoC;AACpC,6DAA2C;AAC3C,8DAA4C;AAC5C,4DAA0C;AAC1C,uDAAqC;AACrC,qDAAmC;AACnC,sDAAoC;AACpC,uDAAqC;AACrC,sDAAoC;AACpC,0DAAwC;AACxC,+DAA6C;AAC7C,4DAA0C;AAC1C,0DAAwC;AACxC,2DAAyC;AACzC,gEAA8C;AAC9C,4DAA0C;AAC1C,qDAAmC;AACnC,kEAAgD;AAChD,yDAAuC;AACvC,uEAAqD;AACrD,4DAA0C;AAC1C,wDAAsC;AACtC,2DAAyC"}
|
package/dist/theme/ThemeApp.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThemeApp.js","sourceRoot":"","sources":["../../src/theme/ThemeApp.ts"],"names":[],"mappings":";;;AACA,MAAa,UAAU;;AAAvB,gCA+CC;AA9CG;;GAEG;AACa,eAAI,G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CAAA;IACR,qDAAM,CAAA;AACV,CAAC,EAJW,aAAa,6BAAb,aAAa,QAIxB;AAED,IAAY,cAIX;AAJD,WAAY,cAAc;IACtB,mDAAI,CAAA;IACJ,2DAAQ,CAAA;IACR,uDAAM,CAAA;AACV,CAAC,EAJW,cAAc,8BAAd,cAAc,QAIzB"}
|
|
@@ -28,6 +28,10 @@ export declare class FilterPanelClasses {
|
|
|
28
28
|
* Icon to make the filter panel collapsed (only available on App Left Panel)
|
|
29
29
|
*/
|
|
30
30
|
static readonly collapsibleIcon = "ic3FilterPanel-collapsibleIcon";
|
|
31
|
+
/**
|
|
32
|
+
* Icon showing how many filters you have
|
|
33
|
+
*/
|
|
34
|
+
static readonly collapsedNumberOfFiltersIcon = "ic3FilterPanel-collapsedNumberOfFiltersIcon";
|
|
31
35
|
/**
|
|
32
36
|
* Help icon
|
|
33
37
|
*/
|
|
@@ -32,6 +32,10 @@ FilterPanelClasses.titleDivButtons = "ic3FilterPanel-title-buttons";
|
|
|
32
32
|
* Icon to make the filter panel collapsed (only available on App Left Panel)
|
|
33
33
|
*/
|
|
34
34
|
FilterPanelClasses.collapsibleIcon = "ic3FilterPanel-collapsibleIcon";
|
|
35
|
+
/**
|
|
36
|
+
* Icon showing how many filters you have
|
|
37
|
+
*/
|
|
38
|
+
FilterPanelClasses.collapsedNumberOfFiltersIcon = "ic3FilterPanel-collapsedNumberOfFiltersIcon";
|
|
35
39
|
/**
|
|
36
40
|
* Help icon
|
|
37
41
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThemeFilterPanel.js","sourceRoot":"","sources":["../../src/theme/ThemeFilterPanel.ts"],"names":[],"mappings":";;;AAEA,MAAa,kBAAkB;;AAA/B,
|
|
1
|
+
{"version":3,"file":"ThemeFilterPanel.js","sourceRoot":"","sources":["../../src/theme/ThemeFilterPanel.ts"],"names":[],"mappings":";;;AAEA,MAAa,kBAAkB;;AAA/B,gDAiJC;AAhJG;;GAEG;AACa,0BAA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D;;;GAGG;AACa,iCAAc,GAAG,gCAAgC,CAAC;AAElE;;GAEG;AACa,oCAAiB,GAAG,kCAAkC,CAAC;AAEvE;;GAEG;AACa,+BAAY,GAAG,6BAA6B,CAAC"}
|
|
@@ -2,5 +2,7 @@ export declare class FilterPanelViewsMenuClasses {
|
|
|
2
2
|
static readonly save = "ic3FilterPanelViewsMenu-save";
|
|
3
3
|
static readonly view = "ic3FilterPanelViewsMenu-view";
|
|
4
4
|
static readonly maxViewsReachedText = "ic3FilterPanelViewsMenu-maxViewsReachedText";
|
|
5
|
+
static readonly viewsText = "ic3FilterPanelViewsMenu-viewsText";
|
|
6
|
+
static readonly errorText = "ic3FilterPanelViewsMenu-errorText";
|
|
5
7
|
}
|
|
6
8
|
export declare type FilterPanelViewsMenuClassesKey = keyof FilterPanelViewsMenuClasses;
|
|
@@ -7,4 +7,6 @@ exports.FilterPanelViewsMenuClasses = FilterPanelViewsMenuClasses;
|
|
|
7
7
|
FilterPanelViewsMenuClasses.save = "ic3FilterPanelViewsMenu-save";
|
|
8
8
|
FilterPanelViewsMenuClasses.view = "ic3FilterPanelViewsMenu-view";
|
|
9
9
|
FilterPanelViewsMenuClasses.maxViewsReachedText = "ic3FilterPanelViewsMenu-maxViewsReachedText";
|
|
10
|
+
FilterPanelViewsMenuClasses.viewsText = "ic3FilterPanelViewsMenu-viewsText";
|
|
11
|
+
FilterPanelViewsMenuClasses.errorText = "ic3FilterPanelViewsMenu-errorText";
|
|
10
12
|
//# 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,kEAYC;AAVmB,gCAAI,GAAG,8BAA8B,CAAC;AAEtC,gCAAI,GAAG,8BAA8B,CAAC;AAEtC,+CAAmB,GAAG,6CAA6C,CAAC;AAEpE,qCAAS,GAAG,mCAAmC,CAAC;AAEhD,qCAAS,GAAG,mCAAmC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare class HomeCardClasses {
|
|
2
|
+
static readonly background = "ic3HomeCard-background";
|
|
3
|
+
static readonly card = "ic3HomeCard-card";
|
|
4
|
+
static readonly menuIcon = "ic3HomeCard-menuIcon";
|
|
5
|
+
}
|
|
6
|
+
export declare type HomeCardClassKey = keyof HomeCardClasses;
|
|
7
|
+
export interface HomeCardProps {
|
|
8
|
+
appId: string;
|
|
9
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.HomeCardClasses = void 0;
|
|
4
|
+
class HomeCardClasses {
|
|
5
|
+
}
|
|
6
|
+
exports.HomeCardClasses = HomeCardClasses;
|
|
7
|
+
HomeCardClasses.background = "ic3HomeCard-background";
|
|
8
|
+
HomeCardClasses.card = "ic3HomeCard-card";
|
|
9
|
+
HomeCardClasses.menuIcon = "ic3HomeCard-menuIcon";
|
|
10
|
+
//# sourceMappingURL=ThemeHomeCard.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThemeHomeCard.js","sourceRoot":"","sources":["../../src/theme/ThemeHomeCard.ts"],"names":[],"mappings":";;;AACA,MAAa,eAAe;;AAA5B,0CAQC;AANmB,0BAAU,GAAG,wBAAwB,CAAC;AAEtC,oBAAI,GAAG,kBAAkB,CAAC;AAE1B,wBAAQ,GAAG,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare class HomeConsoleClasses {
|
|
2
|
+
static readonly logoBg = "ic3HomeConsole-logoBg";
|
|
3
|
+
static readonly logoFg = "ic3HomeConsole-logoFg";
|
|
4
|
+
static readonly logoBgSvg = "ic3HomeConsole-logoBgSvg";
|
|
5
|
+
static readonly logoFgSvg = "ic3HomeConsole-logoFgSvg";
|
|
6
|
+
static readonly cardTextureAdmin = "ic3HomeConsole-cardTextureAdmin";
|
|
7
|
+
static readonly backgroundOthers = "ic3HomeConsole-backgroundOthers";
|
|
8
|
+
static readonly textureLeft = "ic3HomeConsole-textureLeft";
|
|
9
|
+
static readonly textureRight = "ic3HomeConsole-textureRight";
|
|
10
|
+
static readonly customLayout = "ic3HomeConsole-customLayout";
|
|
11
|
+
static readonly caption = "ic3HomeConsole-caption";
|
|
12
|
+
static readonly appName = "ic3HomeConsole-appName";
|
|
13
|
+
static readonly appNameRecent = "ic3HomeConsole-appName-recent";
|
|
14
|
+
static readonly slogan = "ic3HomeConsole-slogan";
|
|
15
|
+
}
|
|
16
|
+
export declare type HomeConsoleClassKey = keyof HomeConsoleClasses;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.HomeConsoleClasses = void 0;
|
|
4
|
+
class HomeConsoleClasses {
|
|
5
|
+
}
|
|
6
|
+
exports.HomeConsoleClasses = HomeConsoleClasses;
|
|
7
|
+
HomeConsoleClasses.logoBg = "ic3HomeConsole-logoBg";
|
|
8
|
+
HomeConsoleClasses.logoFg = "ic3HomeConsole-logoFg";
|
|
9
|
+
HomeConsoleClasses.logoBgSvg = "ic3HomeConsole-logoBgSvg";
|
|
10
|
+
HomeConsoleClasses.logoFgSvg = "ic3HomeConsole-logoFgSvg";
|
|
11
|
+
HomeConsoleClasses.cardTextureAdmin = "ic3HomeConsole-cardTextureAdmin";
|
|
12
|
+
HomeConsoleClasses.backgroundOthers = "ic3HomeConsole-backgroundOthers";
|
|
13
|
+
HomeConsoleClasses.textureLeft = "ic3HomeConsole-textureLeft";
|
|
14
|
+
HomeConsoleClasses.textureRight = "ic3HomeConsole-textureRight";
|
|
15
|
+
HomeConsoleClasses.customLayout = "ic3HomeConsole-customLayout";
|
|
16
|
+
HomeConsoleClasses.caption = "ic3HomeConsole-caption";
|
|
17
|
+
HomeConsoleClasses.appName = "ic3HomeConsole-appName";
|
|
18
|
+
HomeConsoleClasses.appNameRecent = "ic3HomeConsole-appName-recent";
|
|
19
|
+
HomeConsoleClasses.slogan = "ic3HomeConsole-slogan";
|
|
20
|
+
//# sourceMappingURL=ThemeHomeConsole.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThemeHomeConsole.js","sourceRoot":"","sources":["../../src/theme/ThemeHomeConsole.ts"],"names":[],"mappings":";;;AACA,MAAa,kBAAkB;;AAA/B,gDA4BC;AA1BmB,yBAAM,GAAG,uBAAuB,CAAC;AAEjC,yBAAM,GAAG,uBAAuB,CAAC;AAEjC,4BAAS,GAAG,0BAA0B,CAAC;AAEvC,4BAAS,GAAG,0BAA0B,CAAC;AAEvC,mCAAgB,GAAG,iCAAiC,CAAC;AAErD,mCAAgB,GAAG,iCAAiC,CAAC;AAErD,8BAAW,GAAG,4BAA4B,CAAC;AAE3C,+BAAY,GAAG,6BAA6B,CAAC;AAE7C,+BAAY,GAAG,6BAA6B,CAAC;AAE7C,0BAAO,GAAG,wBAAwB,CAAC;AAEnC,0BAAO,GAAG,wBAAwB,CAAC;AAEnC,gCAAa,GAAG,+BAA+B,CAAC;AAEhD,yBAAM,GAAG,uBAAuB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ic3/reporting-api",
|
|
3
|
-
"version": "8.6.
|
|
3
|
+
"version": "8.6.2",
|
|
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",
|
|
@@ -13,17 +13,17 @@
|
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"@emotion/react": "11.14.0",
|
|
15
15
|
"@emotion/styled": "11.14.0",
|
|
16
|
-
"@mui/material": "6.
|
|
17
|
-
"@mui/system": "6.
|
|
16
|
+
"@mui/material": "6.4.11",
|
|
17
|
+
"@mui/system": "6.4.11",
|
|
18
18
|
"react-dom": "18.3.1"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"@types/markerclustererplus": "2.1.33",
|
|
22
|
-
"@types/node": "22.
|
|
23
|
-
"@types/react": "18.3.
|
|
24
|
-
"@types/react-dom": "18.3.
|
|
22
|
+
"@types/node": "22.13.17",
|
|
23
|
+
"@types/react": "18.3.20",
|
|
24
|
+
"@types/react-dom": "18.3.6",
|
|
25
25
|
"del-cli": "6.0.0",
|
|
26
|
-
"typescript": "5.
|
|
26
|
+
"typescript": "5.7.3"
|
|
27
27
|
},
|
|
28
28
|
"scripts": {
|
|
29
29
|
"build": "del-cli dist && npx tsc",
|