@ic3/reporting-api 8.4.12 → 8.4.14

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.
Files changed (36) hide show
  1. package/dist/ApiUtils.js +1 -1
  2. package/dist/Logger.d.ts +1 -1
  3. package/dist/PublicContext.d.ts +1 -0
  4. package/dist/PublicContext.js.map +1 -1
  5. package/dist/PublicLayout.d.ts +3 -0
  6. package/dist/PublicTemplate.d.ts +12 -0
  7. package/dist/PublicTemplate.js.map +1 -1
  8. package/dist/PublicTemplateForm.d.ts +16 -2
  9. package/dist/PublicTemplateForm.js.map +1 -1
  10. package/dist/PublicTemplates.d.ts +2 -0
  11. package/dist/PublicTheme.d.ts +24 -2
  12. package/dist/PublicTheme.js.map +1 -1
  13. package/dist/PublicTidyColumn.d.ts +4 -0
  14. package/dist/PublicTidyTable.d.ts +4 -0
  15. package/dist/PublicTidyTableInteractions.d.ts +6 -0
  16. package/dist/PublicTidyTableTypes.d.ts +2 -2
  17. package/dist/theme/ThemeAIWidgetChatBot.d.ts +48 -0
  18. package/dist/theme/ThemeAIWidgetChatBot.js +19 -0
  19. package/dist/theme/ThemeAIWidgetChatBot.js.map +1 -0
  20. package/dist/theme/ThemeAmCharts4.d.ts +1 -1
  21. package/dist/theme/ThemeBaseTable.d.ts +4 -0
  22. package/dist/theme/ThemeFilterPanel.d.ts +37 -4
  23. package/dist/theme/ThemeFilterPanel.js +29 -4
  24. package/dist/theme/ThemeFilterPanel.js.map +1 -1
  25. package/dist/theme/ThemeFilterPanelViewsMenu.d.ts +6 -0
  26. package/dist/theme/ThemeFilterPanelViewsMenu.js +10 -0
  27. package/dist/theme/ThemeFilterPanelViewsMenu.js.map +1 -0
  28. package/dist/theme/ThemeIc3TableCellDrilldown.d.ts +12 -0
  29. package/dist/theme/ThemeIc3TableCellDrilldown.js +11 -0
  30. package/dist/theme/ThemeIc3TableCellDrilldown.js.map +1 -0
  31. package/dist/theme/ThemeKpiCard.d.ts +6 -0
  32. package/dist/theme/ThemeSinglePanelFilter.d.ts +1 -1
  33. package/dist/theme/ThemeWidgetBox.d.ts +24 -0
  34. package/dist/theme/ThemeWidgetBox.js +24 -0
  35. package/dist/theme/ThemeWidgetBox.js.map +1 -1
  36. package/package.json +6 -6
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.4.12" || "-", "Mon, 03 Jun 2024 08:22:54 GMT" || "-") }, definition);
11
+ return Object.assign({ apiVersion: new ReportingVersion_1.default("8.4.14" || "-", "Wed, 28 Aug 2024 07:55:59 GMT" || "-") }, definition);
12
12
  };
13
13
  }
14
14
  /**
package/dist/Logger.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export type LoggerComponent = "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" | "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;
@@ -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
  /**
@@ -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;AA4X7C,CAAC"}
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;AA8X7C,CAAC"}
@@ -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
@@ -276,6 +276,13 @@ export interface IPublicWidgetJsTemplateDefinition<OPTIONS extends FormFieldObje
276
276
  * Definition - static - of a widget template
277
277
  */
278
278
  interface IPublicCommonWidgetTemplateDefinition<OPTIONS extends FormFieldObject> {
279
+ /**
280
+ * [BETA]
281
+ *
282
+ * Introduced to tag a template as part of the AI [BETA] features.
283
+ * Currently used to filter out the template when AI not enabled.
284
+ */
285
+ ai?: true;
279
286
  /**
280
287
  * Used for finding the right documentation of `typeForHelp` is not defined.
281
288
  * Determine the widget icon in the widget infos.
@@ -583,6 +590,11 @@ export interface ITemplateEventActionDef {
583
590
  * The actions subscribing to the 'selection' channel
584
591
  */
585
592
  selectionSubscribe?: string;
593
+ /**
594
+ * Return true if the widget fires the event on its first render. This forces other widgets that use this event
595
+ * to wait before rendering.
596
+ */
597
+ isEventFiredAtStart?: (roleName: string, options: any) => boolean;
586
598
  }
587
599
  export interface IWrappedWidgetTemplateDefinition<WIDGET extends WidgetTemplateIDs> {
588
600
  /**
@@ -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;AAufD;;;;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"}
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;AA+fD;;;;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"}
@@ -36,7 +36,7 @@ export interface IFormFieldDef<DEFAULT_VALUE_TYPE> {
36
36
  */
37
37
  group?: string;
38
38
  /**
39
- * When defined, the value is added as a prefix to the fieldPath to defined the localization tag.
39
+ * When defined, the value is added as a prefix to the fieldPath to define the localization tag.
40
40
  */
41
41
  fieldPrefixTag?: IFormFieldGroupTypes | string;
42
42
  /**
@@ -220,6 +220,10 @@ export type FormFieldType =
220
220
  * @see IFormStringFieldDef
221
221
  */
222
222
  "string" |
223
+ /**
224
+ * @see IFormTextFieldDef
225
+ */
226
+ "text" |
223
227
  /**
224
228
  * @see IFormTidyTableHtmlExprFieldDef
225
229
  */
@@ -567,6 +571,9 @@ export interface IFormJsFieldDef extends IFormFieldDef<string> {
567
571
  */
568
572
  export interface IFormJsonFieldDef extends IFormFieldDef<string> {
569
573
  fieldType: "json";
574
+ editorConf?: {
575
+ helpMdFile: string;
576
+ };
570
577
  }
571
578
  /**
572
579
  * @see FormFieldDef
@@ -707,15 +714,22 @@ export interface IFormReportPermaLinkFieldDef extends IFormFieldDef<string> {
707
714
  * @see FormFieldDef
708
715
  */
709
716
  export interface IFormStringFieldDef extends IFormFieldDef<string> {
710
- fieldType: "string" | "url";
717
+ fieldType: "string" | "url" | "text";
711
718
  editorConf?: {
712
719
  /**
713
720
  * A list of possible strings...
714
721
  */
715
722
  suggestions?: string[] | ((callback: ((candidates: string[]) => void), dependsOnValue?: any) => void);
716
723
  copyToClipboard?: boolean;
724
+ /**
725
+ * Show an error if the value is not valid. Return an empty string if the value is valid.
726
+ */
727
+ valueValidator?: (value: any) => string;
717
728
  };
718
729
  }
730
+ export interface IFormTextFieldDef extends IFormFieldDef<string> {
731
+ fieldType: "text";
732
+ }
719
733
  /**
720
734
  * An HTML (markdown) text expression containing tidy table value accessor (e.g., Donut's center text).
721
735
  * The evaluation context is the table.
@@ -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;AAyKD,IAAY,oBAIX;AAJD,WAAY,oBAAoB;IAC5B,oDAA4B,CAAA;IAC5B,yEAAiD,CAAA;IACjD,sDAA8B,CAAA;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zB,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;AAg+BD;;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"}
@@ -19,7 +19,9 @@ import { FilterAutocompleteChartOptions } from "./theme/ThemeFilterAutocomplete"
19
19
  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
+ import { AIWidgetChatBotOptions } from "./theme/ThemeAIWidgetChatBot";
22
23
  interface IWidgetTemplateChartOptions {
24
+ "ic3.AIChatBox": AIWidgetChatBotOptions;
23
25
  "ic3.DatePicker": DatePickerChartOptions;
24
26
  "ic3.EmbeddedReport": EmbeddedReportChartOptions;
25
27
  "ic3.FilterAutocomplete": FilterAutocompleteChartOptions;
@@ -42,6 +42,9 @@ import { WidgetFilteredByClassesKey } from "./theme/ThemeWidgetFilteredBy";
42
42
  import { IUserMenuOptions, IWidgetBoxIconsDefinition } from "./ITypes";
43
43
  import { Ic3TableCellProps, ThemeIc3TableCellClassesKey } from "./theme/ThemeIc3TableCell";
44
44
  import { RegexFilterClassesKey, RegexFilterProps } from "./theme/ThemeRegexFilter";
45
+ import { AIWidgetChatBotClassKey, AIWidgetChatBotStyleProps } from "./theme/ThemeAIWidgetChatBot";
46
+ import { FilterPanelViewsMenuClassesKey } from "./theme/ThemeFilterPanelViewsMenu";
47
+ import { Ic3TableCellDrilldownProps, ThemeIc3TableCellDrilldownClassesKey } from "./theme/ThemeIc3TableCellDrilldown";
45
48
  export type Ic3ChartVariants = {
46
49
  [Name in keyof WidgetTemplateChartOptions]?: Array<{
47
50
  props: {
@@ -437,6 +440,9 @@ export interface ic3Theme {
437
440
  options?: google.maps.MapOptions;
438
441
  markerClustererOptions?: MarkerClustererOptions;
439
442
  };
443
+ drilldown?: {
444
+ disableDrilldownInTitle?: boolean;
445
+ };
440
446
  userMenu: {
441
447
  disableUserMenuEdition: boolean;
442
448
  userMenuFilter?: (options: IUserMenuOptions[], templateDef?: IPublicWidgetTemplateDefinition<any>) => IUserMenuOptions[];
@@ -543,13 +549,17 @@ export interface ic3Theme {
543
549
  */
544
550
  filterState?: {
545
551
  /**
546
- * Set to true to disable auto save for all dashboards and make the option inactive.
552
+ * Set to true to disable auto save for all dashboards/apps and make the option inactive.
547
553
  */
548
554
  disableFilterStateOption?: boolean;
549
555
  /**
550
- * The default value for auto-saving filter setting.
556
+ * The default value for auto-saving filter setting in the dashboards.
551
557
  */
552
558
  autosaveFilterStateToSessionStorage?: boolean;
559
+ /**
560
+ * The default value for auto-saving filter setting in the application filter panel.
561
+ */
562
+ autosaveReportAppFilterStateToSessionStorage?: boolean;
553
563
  };
554
564
  }
555
565
  export interface ic3ThemeOptions {
@@ -717,6 +727,10 @@ interface IWidgetIcons extends IWidgetBoxIconsDefinition {
717
727
  disableWidgetIconsEdition?: boolean;
718
728
  }
719
729
  interface ic3BaseComponents {
730
+ AIWidgetChatBot?: {
731
+ styleOverrides?: ComponentsOverrides["AIWidgetChatBot"];
732
+ variants?: ComponentsVariants["AIWidgetChatBot"];
733
+ };
720
734
  AlertDialog?: {
721
735
  styleOverrides?: ComponentsOverrides["AlertDialog"];
722
736
  };
@@ -831,6 +845,9 @@ interface ic3BaseComponents {
831
845
  Ic3TableCell?: {
832
846
  styleOverrides?: ComponentsOverrides["Ic3TableCell"];
833
847
  };
848
+ Ic3TableCellDrilldown?: {
849
+ styleOverrides?: ComponentsOverrides["Ic3TableCellDrilldown"];
850
+ };
834
851
  Ic3TableCellError?: {
835
852
  styleOverrides?: ComponentsOverrides["Ic3TableCellError"];
836
853
  };
@@ -930,6 +947,7 @@ declare module '@mui/material/styles/components' {
930
947
  }
931
948
  declare module '@mui/material/styles/overrides' {
932
949
  interface ComponentNameToClassKey {
950
+ AIWidgetChatBot: AIWidgetChatBotClassKey;
933
951
  AlertDialog: AlertDialogClassKey;
934
952
  App: AppClassKey;
935
953
  ErrorRenderer: ErrorRendererClassKey;
@@ -937,6 +955,7 @@ declare module '@mui/material/styles/overrides' {
937
955
  FilterButtons: FilterButtonsClassKey;
938
956
  LazyTreeViewStyled: LazyTreeClassesClassKey;
939
957
  FilterPanel: FilterPanelClassesKey;
958
+ FilterPanelViewsMenu: FilterPanelViewsMenuClassesKey;
940
959
  RegexFilter: RegexFilterClassesKey;
941
960
  FilterSlider: FilterSliderClassKey;
942
961
  ListCounter: ListCounterClassKey;
@@ -960,11 +979,13 @@ declare module '@mui/material/styles/overrides' {
960
979
  CodeMirror: CodeMirrorClassesKey;
961
980
  WidgetBoxFilteredByTooltip: WidgetFilteredByClassesKey;
962
981
  Ic3TableCell: ThemeIc3TableCellClassesKey;
982
+ Ic3TableCellDrilldown: ThemeIc3TableCellDrilldownClassesKey;
963
983
  Ic3TableCellError: ThemeIc3TableCellClassesKey;
964
984
  }
965
985
  }
966
986
  declare module '@mui/material/styles/props' {
967
987
  interface ComponentsPropsList {
988
+ AIWidgetChatBot: AIWidgetChatBotStyleProps;
968
989
  FilterCheckbox: FilterCheckboxProps;
969
990
  FilterButtons: FilterButtonsProps;
970
991
  LazyTreeViewStyled: LazyTreeProps;
@@ -987,6 +1008,7 @@ declare module '@mui/material/styles/props' {
987
1008
  QueryBuilderNode: QueryBuilderNodeProps;
988
1009
  PrintButton: StyledPrintButtonDivProps;
989
1010
  Ic3TableCell: Ic3TableCellProps;
1011
+ Ic3TableCellDrilldown: Ic3TableCellDrilldownProps;
990
1012
  Ic3TableCellError: Ic3TableCellProps;
991
1013
  }
992
1014
  }
@@ -1 +1 @@
1
- {"version":3,"file":"PublicTheme.js","sourceRoot":"","sources":["../src/PublicTheme.ts"],"names":[],"mappings":";;;AA0JA,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"}
1
+ {"version":3,"file":"PublicTheme.js","sourceRoot":"","sources":["../src/PublicTheme.ts"],"names":[],"mappings":";;;AA6JA,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.
@@ -527,4 +527,8 @@ export interface ITidyTable {
527
527
  *
528
528
  */
529
529
  getTopHeaderHierarchyCount(): number;
530
+ /**
531
+ * Clear the index. Use for resetting sorting / filtering.
532
+ */
533
+ resetIndex(): void;
530
534
  }
@@ -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
@@ -0,0 +1,48 @@
1
+ import { FormFieldObject } from "../PublicTemplateForm";
2
+ export declare class AIWidgetChatBotClasses {
3
+ static root: string;
4
+ static messages: string;
5
+ static message: string;
6
+ static messageIcon: string;
7
+ static messageContent: string;
8
+ static messageOngoing: string;
9
+ static input: string;
10
+ static inputText: string;
11
+ static inputClick: string;
12
+ static footer: string;
13
+ static warning: string;
14
+ static reset: string;
15
+ }
16
+ export declare type AIWidgetChatBotClassKey = keyof AIWidgetChatBotClasses;
17
+ /**
18
+ * AI ChatBox Options (fields of the "Chart" tab in the widget editor).
19
+ *
20
+ * <pre>
21
+ * Plugin ID : ic3
22
+ * Widget/Template ID: AIWidgetChatBot
23
+ * </pre>
24
+ *
25
+ * @see WidgetTemplateChartOptions
26
+ */
27
+ export interface AIWidgetChatBotOptions extends FormFieldObject {
28
+ variant: AIWidgetChatBotVariant;
29
+ /**
30
+ * The widget this chatbot is talking about.
31
+ */
32
+ targetWidgetId: string;
33
+ initialQuestion?: string;
34
+ /**
35
+ * In this mode, only the initial question is being sent.
36
+ */
37
+ frozen?: true;
38
+ tableDataMaxRow?: number;
39
+ tableDataCaptionPage0?: string;
40
+ model?: string;
41
+ systemPrompt?: string;
42
+ initialPrompt?: string;
43
+ initialPromptPage0?: string;
44
+ }
45
+ export type AIWidgetChatBotVariant = "plain";
46
+ export interface AIWidgetChatBotStyleProps {
47
+ variant: AIWidgetChatBotVariant;
48
+ }
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AIWidgetChatBotClasses = void 0;
4
+ class AIWidgetChatBotClasses {
5
+ }
6
+ exports.AIWidgetChatBotClasses = AIWidgetChatBotClasses;
7
+ AIWidgetChatBotClasses.root = "ic3AIWidgetChatBot-root";
8
+ AIWidgetChatBotClasses.messages = "ic3AIWidgetChatBot-messages";
9
+ AIWidgetChatBotClasses.message = "ic3AIWidgetChatBot-message";
10
+ AIWidgetChatBotClasses.messageIcon = "ic3AIWidgetChatBot-messageIcon";
11
+ AIWidgetChatBotClasses.messageContent = "ic3AIWidgetChatBot-messageContent";
12
+ AIWidgetChatBotClasses.messageOngoing = "ic3AIWidgetChatBot-messageOngoing";
13
+ AIWidgetChatBotClasses.input = "ic3AIWidgetChatBot-input";
14
+ AIWidgetChatBotClasses.inputText = "ic3AIWidgetChatBot-inputText";
15
+ AIWidgetChatBotClasses.inputClick = "ic3AIWidgetChatBot-inputClick";
16
+ AIWidgetChatBotClasses.footer = "ic3AIWidgetChatBot-footer";
17
+ AIWidgetChatBotClasses.warning = "ic3AIWidgetChatBot-warning";
18
+ AIWidgetChatBotClasses.reset = "ic3AIWidgetChatBot-reset";
19
+ //# sourceMappingURL=ThemeAIWidgetChatBot.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ThemeAIWidgetChatBot.js","sourceRoot":"","sources":["../../src/theme/ThemeAIWidgetChatBot.ts"],"names":[],"mappings":";;;AAEA,MAAa,sBAAsB;;AAAnC,wDA0BC;AAxBiB,2BAAI,GAAG,yBAAyB,CAAC;AAEjC,+BAAQ,GAAG,6BAA6B,CAAC;AAEzC,8BAAO,GAAG,4BAA4B,CAAC;AAEvC,kCAAW,GAAG,gCAAgC,CAAC;AAE/C,qCAAc,GAAG,mCAAmC,CAAC;AAErD,qCAAc,GAAG,mCAAmC,CAAC;AAErD,4BAAK,GAAG,0BAA0B,CAAC;AAEnC,gCAAS,GAAG,8BAA8B,CAAC;AAE3C,iCAAU,GAAG,+BAA+B,CAAC;AAE7C,6BAAM,GAAG,2BAA2B,CAAC;AAErC,8BAAO,GAAG,4BAA4B,CAAC;AAEvC,4BAAK,GAAG,0BAA0B,CAAC"}
@@ -1578,7 +1578,7 @@ export type AmCharts4BubbleChartOptions = Am4SecondValueAxisOptions & Am4ValueAx
1578
1578
  /**
1579
1579
  * The corresponding AmCharts 4 chart class is XYChart.
1580
1580
  */
1581
- export type AmCharts4ComboChartOptions = Am4CategoryDateAxisOptions & Am4ValueAxisOptions & Am4SecondValueAxisOptions & Am4ComboSeriesOptions & Am4LegendOptions & Am4ChartCursorOptions & Am4ScrollbarOptions & Am4ChartOptions & Am4ValueLabelOptions & Am4SecondValueLabelOptions;
1581
+ export type AmCharts4ComboChartOptions = Am4CategoryDateAxisOptions & Am4ValueAxisOptions & Am4SecondValueAxisOptions & Am4ComboSeriesOptions & Am4LegendOptions & Am4ChartCursorOptions & Am4ScrollbarOptions & Am4ChartOptions & Am4ValueLabelOptions & Am4SecondValueLabelOptions & Am4ValueAxisRangeOptions;
1582
1582
  export type AmCharts4CoordinateChartOptions = Am4TrendLineOptions;
1583
1583
  /**
1584
1584
  * The corresponding AmCharts 4 chart class is XYChart.
@@ -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
  */
@@ -20,10 +20,30 @@ export declare class FilterPanelClasses {
20
20
  * Div containing the 'Filters' text
21
21
  */
22
22
  static readonly titleDivText = "ic3FilterPanel-title-text";
23
+ /**
24
+ * The help button next to the filter panel title
25
+ */
26
+ static readonly titleDivButtons = "ic3FilterPanel-title-buttons";
27
+ /**
28
+ * Icon to make the filter panel collapsed (only available on App Left Panel)
29
+ */
30
+ static readonly collapsibleIcon = "ic3FilterPanel-collapsibleIcon";
31
+ /**
32
+ * Help icon
33
+ */
34
+ static readonly helpIcon = "ic3FilterPanel-helpIcon";
35
+ /**
36
+ * Menu icon for filter panel views.
37
+ */
38
+ static readonly menuIcon = "ic3FilterPanel-menuIcon";
23
39
  /**
24
40
  * Div containing the add and remove all buttons
25
41
  */
26
42
  static readonly headerDivButtons = "ic3FilterPanel-header-buttons";
43
+ /**
44
+ * alert
45
+ */
46
+ static readonly alert = "ic3FilterPanel-alert";
27
47
  /**
28
48
  * Add button
29
49
  */
@@ -65,6 +85,10 @@ export declare class FilterPanelClasses {
65
85
  * Classname for the TextField component
66
86
  */
67
87
  static readonly inputField = "ic3FilterPanel-filterInputfield";
88
+ /**
89
+ * Classname for the checkmark 'set' button.
90
+ */
91
+ static readonly inputFieldSetValueButton = "ic3FilterPanel-inputFieldSetValueButton";
68
92
  static readonly dateTimePicker = "ic3FilterPanel-dateTimePicker";
69
93
  /**
70
94
  * A div with the displayed values for the value selector in preview mode
@@ -75,13 +99,14 @@ export declare class FilterPanelClasses {
75
99
  */
76
100
  static readonly fieldName = "ic3FilterPanel-fieldName";
77
101
  /**
78
- * Div with selectable items for filters with few items
102
+
103
+ * Classname for the field label
79
104
  */
80
- static readonly selectableContent = "ic3FilterPanel-selectableContent";
105
+ static readonly fieldNameExtra = "ic3FilterPanel-fieldName-extra";
81
106
  /**
82
- * Icon to make the filter panel collapsed (only available on App Left Panel)
107
+ * Div with selectable items for filters with few items
83
108
  */
84
- static readonly collapsibleIcon = "ic3FilterPanel-collapsibleIcon";
109
+ static readonly selectableContent = "ic3FilterPanel-selectableContent";
85
110
  /**
86
111
  * Div when it is collapsed
87
112
  */
@@ -157,6 +182,14 @@ export interface FilterPanelChartOptions extends FormFieldObject {
157
182
  * Easily change by clicking 'Set Default Filters' in the user menu of the widget header.
158
183
  */
159
184
  initialFilterConfig?: string;
185
+ /**
186
+ * Allow users to save and load filters. Filters are stored in the users' browser.
187
+ */
188
+ enableViews?: boolean;
189
+ /**
190
+ * Max number of views a user can have. Empty means unlimited.
191
+ */
192
+ maxNumberOfViews?: number;
160
193
  /**
161
194
  * If true, grow filter in row direction. If false, grow in column direction.
162
195
  */
@@ -24,10 +24,30 @@ FilterPanelClasses.titleDiv = "ic3FilterPanel-title";
24
24
  * Div containing the 'Filters' text
25
25
  */
26
26
  FilterPanelClasses.titleDivText = "ic3FilterPanel-title-text";
27
+ /**
28
+ * The help button next to the filter panel title
29
+ */
30
+ FilterPanelClasses.titleDivButtons = "ic3FilterPanel-title-buttons";
31
+ /**
32
+ * Icon to make the filter panel collapsed (only available on App Left Panel)
33
+ */
34
+ FilterPanelClasses.collapsibleIcon = "ic3FilterPanel-collapsibleIcon";
35
+ /**
36
+ * Help icon
37
+ */
38
+ FilterPanelClasses.helpIcon = "ic3FilterPanel-helpIcon";
39
+ /**
40
+ * Menu icon for filter panel views.
41
+ */
42
+ FilterPanelClasses.menuIcon = "ic3FilterPanel-menuIcon";
27
43
  /**
28
44
  * Div containing the add and remove all buttons
29
45
  */
30
46
  FilterPanelClasses.headerDivButtons = "ic3FilterPanel-header-buttons";
47
+ /**
48
+ * alert
49
+ */
50
+ FilterPanelClasses.alert = "ic3FilterPanel-alert";
31
51
  /**
32
52
  * Add button
33
53
  */
@@ -69,6 +89,10 @@ FilterPanelClasses.filterItemRemoveButton = "ic3FilterPanel-ItemRemoveButton";
69
89
  * Classname for the TextField component
70
90
  */
71
91
  FilterPanelClasses.inputField = "ic3FilterPanel-filterInputfield";
92
+ /**
93
+ * Classname for the checkmark 'set' button.
94
+ */
95
+ FilterPanelClasses.inputFieldSetValueButton = "ic3FilterPanel-inputFieldSetValueButton";
72
96
  FilterPanelClasses.dateTimePicker = "ic3FilterPanel-dateTimePicker";
73
97
  /**
74
98
  * A div with the displayed values for the value selector in preview mode
@@ -79,13 +103,14 @@ FilterPanelClasses.inputFieldPreviewValues = "ic3FilterPanel-PreviewValue";
79
103
  */
80
104
  FilterPanelClasses.fieldName = "ic3FilterPanel-fieldName";
81
105
  /**
82
- * Div with selectable items for filters with few items
106
+
107
+ * Classname for the field label
83
108
  */
84
- FilterPanelClasses.selectableContent = "ic3FilterPanel-selectableContent";
109
+ FilterPanelClasses.fieldNameExtra = "ic3FilterPanel-fieldName-extra";
85
110
  /**
86
- * Icon to make the filter panel collapsed (only available on App Left Panel)
111
+ * Div with selectable items for filters with few items
87
112
  */
88
- FilterPanelClasses.collapsibleIcon = "ic3FilterPanel-collapsibleIcon";
113
+ FilterPanelClasses.selectableContent = "ic3FilterPanel-selectableContent";
89
114
  /**
90
115
  * Div when it is collapsed
91
116
  */
@@ -1 +1 @@
1
- {"version":3,"file":"ThemeFilterPanel.js","sourceRoot":"","sources":["../../src/theme/ThemeFilterPanel.ts"],"names":[],"mappings":";;;AAEA,MAAa,kBAAkB;;AAA/B,gDA8GC;AA7GG;;GAEG;AACa,0BAAO,GAAG,qBAAqB,CAAC;AAEhD;;GAEG;AACa,6BAAU,GAAG,wBAAwB,CAAC;AAEtD;;GAEG;AACa,4BAAS,GAAG,uBAAuB,CAAC;AAEpD;;GAEG;AACa,2BAAQ,GAAG,sBAAsB,CAAC;AAElD;;GAEG;AACa,+BAAY,GAAG,2BAA2B,CAAC;AAE3D;;GAEG;AACa,mCAAgB,GAAG,+BAA+B,CAAC;AAEnE;;GAEG;AACa,qCAAkB,GAAG,mCAAmC,CAAC;AAEzE;;GAEG;AACa,uCAAoB,GAAG,qCAAqC,CAAC;AAE7E;;GAEG;AACa,iCAAc,GAAG,6BAA6B,CAAC;AAE/D;;GAEG;AACa,6BAAU,GAAG,wBAAwB,CAAC;AAEtD;;GAEG;AACa,mCAAgB,GAAG,0BAA0B,CAAC;AAE9D;;GAEG;AACa,gCAAa,GAAG,2BAA2B,CAAC;AAE5D;;GAEG;AACa,sCAAmB,GAAG,iCAAiC,CAAC;AAExE;;GAEG;AACa,iDAA8B,GAAG,yCAAyC,CAAC;AAE3F;;GAEG;AACa,wCAAqB,GAAG,gCAAgC,CAAC;AAEzD,yCAAsB,GAAG,iCAAiC,CAAC;AAE3E;;GAEG;AACa,6BAAU,GAAG,iCAAiC,CAAC;AAE/C,iCAAc,GAAG,+BAA+B,CAAC;AAEjE;;GAEG;AACa,0CAAuB,GAAG,6BAA6B,CAAC;AAExE;;GAEG;AACa,4BAAS,GAAG,0BAA0B,CAAC;AAEvD;;GAEG;AACa,oCAAiB,GAAG,kCAAkC,CAAC;AAEvE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iCAAiC,CAAC;AAE/D;;GAEG;AACa,2CAAwB,GAAG,yCAAyC,CAAC;AAErE,iCAAc,GAAG,+BAA+B,CAAC;AAEjE;;GAEG;AACa,0CAAuB,GAAG,6BAA6B,CAAC;AAExE;;GAEG;AACa,4BAAS,GAAG,0BAA0B,CAAC;AACvD;;;GAGG;AACa,iCAAc,GAAG,gCAAgC,CAAC;AAElE;;GAEG;AACa,oCAAiB,GAAG,kCAAkC,CAAC;AAEvE;;GAEG;AACa,+BAAY,GAAG,6BAA6B,CAAC"}
@@ -0,0 +1,6 @@
1
+ export declare class FilterPanelViewsMenuClasses {
2
+ static readonly save = "ic3FilterPanelViewsMenu-save";
3
+ static readonly view = "ic3FilterPanelViewsMenu-view";
4
+ static readonly maxViewsReachedText = "ic3FilterPanelViewsMenu-maxViewsReachedText";
5
+ }
6
+ export declare type FilterPanelViewsMenuClassesKey = keyof FilterPanelViewsMenuClasses;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FilterPanelViewsMenuClasses = void 0;
4
+ class FilterPanelViewsMenuClasses {
5
+ }
6
+ exports.FilterPanelViewsMenuClasses = FilterPanelViewsMenuClasses;
7
+ FilterPanelViewsMenuClasses.save = "ic3FilterPanelViewsMenu-save";
8
+ FilterPanelViewsMenuClasses.view = "ic3FilterPanelViewsMenu-view";
9
+ FilterPanelViewsMenuClasses.maxViewsReachedText = "ic3FilterPanelViewsMenu-maxViewsReachedText";
10
+ //# sourceMappingURL=ThemeFilterPanelViewsMenu.js.map
@@ -0,0 +1 @@
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,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"}
@@ -94,6 +94,12 @@ export interface KpiCartChartOptions extends SparkChartOptionsMeta {
94
94
  * Display the trend icon?
95
95
  */
96
96
  includeTrendIcon: boolean;
97
+ /**
98
+ * Delta for zero value
99
+ *
100
+ * If the target value is below this delta value it is considered as a delta value (rounding issue)
101
+ */
102
+ deltaZero?: number;
97
103
  /**
98
104
  * Icon.
99
105
  *
@@ -12,7 +12,7 @@ import { FilterPanelChartOptions } from "./ThemeFilterPanel";
12
12
  */
13
13
  export interface SinglePanelFilterChartOptions extends FormFieldObject, Pick<FilterPanelChartOptions, "variant" | "initialFilterConfig" | "measureMdx" | "useSimpleFilterCutoff" | "useSimpleFilterCutoff" | "allowedOperatorsConfig" | "datePickerShortcuts"> {
14
14
  /**
15
- * The ID of the level / hierarchy that is used in the filter.
15
+ * The ID of the level / hierarchy that is used in the filter. Equal to `IPGFilterItem.fieldId`.
16
16
  */
17
17
  levelId: string;
18
18
  }
@@ -47,10 +47,34 @@ export declare class WidgetBoxClasses {
47
47
  * Styles applied to the widgetBox header element
48
48
  */
49
49
  static readonly header: string;
50
+ /**
51
+ * Styles applied to the widgetBox header left element ( title and drilldown )
52
+ */
53
+ static readonly headerLeft: string;
54
+ /**
55
+ * Styles applied to the widgetBox header right element ( user menu )
56
+ */
57
+ static readonly headerRight: string;
58
+ /**
59
+ * Styles applied to the header element has no title
60
+ */
61
+ static readonly headerNoTitle: string;
62
+ /**
63
+ * Styles applied to the header element container has no title
64
+ */
65
+ static readonly headerNoTitleContainer: string;
50
66
  /**
51
67
  * Styles applied to the widgetBox header Title element
52
68
  */
53
69
  static readonly headerTitle: string;
70
+ /**
71
+ * Styles applied to the widgetBox header Drilldown element
72
+ */
73
+ static readonly headerLeftSeparator: string;
74
+ /**
75
+ * Styles applied to the widgetBox header Drilldown element
76
+ */
77
+ static readonly headerDrilldown: string;
54
78
  /**
55
79
  * Root Styles applied to the widgetBox root element when the box is with header
56
80
  */
@@ -52,10 +52,34 @@ WidgetBoxClasses.userMenu = "ic3WidgetBox-userMenu";
52
52
  * Styles applied to the widgetBox header element
53
53
  */
54
54
  WidgetBoxClasses.header = "ic3WidgetBox-header";
55
+ /**
56
+ * Styles applied to the widgetBox header left element ( title and drilldown )
57
+ */
58
+ WidgetBoxClasses.headerLeft = "ic3WidgetBox-headerLeft";
59
+ /**
60
+ * Styles applied to the widgetBox header right element ( user menu )
61
+ */
62
+ WidgetBoxClasses.headerRight = "ic3WidgetBox-headerRight";
63
+ /**
64
+ * Styles applied to the header element has no title
65
+ */
66
+ WidgetBoxClasses.headerNoTitle = "ic3WidgetBox-headerNoTitle";
67
+ /**
68
+ * Styles applied to the header element container has no title
69
+ */
70
+ WidgetBoxClasses.headerNoTitleContainer = "ic3WidgetBox-headerNoTitleContainer";
55
71
  /**
56
72
  * Styles applied to the widgetBox header Title element
57
73
  */
58
74
  WidgetBoxClasses.headerTitle = "ic3WidgetBox-headerTitle";
75
+ /**
76
+ * Styles applied to the widgetBox header Drilldown element
77
+ */
78
+ WidgetBoxClasses.headerLeftSeparator = "ic3WidgetBox-headerLeftSeparator";
79
+ /**
80
+ * Styles applied to the widgetBox header Drilldown element
81
+ */
82
+ WidgetBoxClasses.headerDrilldown = "ic3WidgetBox-headerDrilldown";
59
83
  /**
60
84
  * Root Styles applied to the widgetBox root element when the box is with header
61
85
  */
@@ -1 +1 @@
1
- {"version":3,"file":"ThemeWidgetBox.js","sourceRoot":"","sources":["../../src/theme/ThemeWidgetBox.ts"],"names":[],"mappings":";;;AAAA,MAAa,gBAAgB;;AAA7B,4CA8FC;AA5FG;;GAEG;AACa,qBAAI,GAAW,cAAc,CAAC;AAG9C;;GAEG;AACa,yBAAQ,GAAW,uBAAuB,CAAC;AAE3D;;GAEG;AACa,yBAAQ,GAAW,uBAAuB,CAAC;AAE3D;;GAEG;AACa,qBAAI,GAAW,mBAAmB,CAAC;AAEnD;;GAEG;AACa,6BAAY,GAAW,2BAA2B,CAAC;AAEnE;;GAEG;AACa,0BAAS,GAAW,wBAAwB,CAAC;AAE7D;;GAEG;AACa,kCAAiB,GAAW,iCAAiC,CAAC;AAE9E;;GAEG;AACa,qCAAoB,GAAW,oCAAoC,CAAC;AAEpF;;GAEG;AACa,wBAAO,GAAW,sBAAsB,CAAC;AAEzD;;GAEG;AACa,4BAAW,GAAW,2BAA2B,CAA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C/C,CAAC,EAJW,uBAAuB,uCAAvB,uBAAuB,QAIlC;AAED,IAAY,yBAGX;AAHD,WAAY,yBAAyB;IACjC,4EAA+C,CAAA;IAC/C,8EAAiD,CAAA;AACrD,CAAC,EAHW,yBAAyB,yCAAzB,yBAAyB,QAGpC;AAED,IAAY,mBAEX;AAFD,WAAY,mBAAmB;IAC3B,sCAAe,CAAA;AACnB,CAAC,EAFW,mBAAmB,mCAAnB,mBAAmB,QAE9B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ic3/reporting-api",
3
- "version": "8.4.12",
3
+ "version": "8.4.14",
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,14 +11,14 @@
11
11
  "access": "public"
12
12
  },
13
13
  "dependencies": {
14
- "@mui/material": "5.15.18",
15
- "@mui/system": "5.15.15",
16
- "@emotion/react": "11.11.4",
17
- "@emotion/styled": "11.11.5"
14
+ "@mui/material": "5.16.7",
15
+ "@mui/system": "5.16.7",
16
+ "@emotion/react": "11.13.0",
17
+ "@emotion/styled": "11.13.0"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@types/markerclustererplus": "2.1.33",
21
- "@types/node": "20.12.12",
21
+ "@types/node": "22.3.0",
22
22
  "@types/react": "18.3.3",
23
23
  "del-cli": "5.1.0",
24
24
  "typescript": "5.4.5"