@ic3/reporting-api 8.1.1 → 8.2.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.
Files changed (74) hide show
  1. package/dist/ApiUtils.js +1 -1
  2. package/dist/INotification.d.ts +8 -2
  3. package/dist/IPluginDefinition.d.ts +7 -6
  4. package/dist/IReporting.d.ts +6 -0
  5. package/dist/IThemeManager.d.ts +5 -0
  6. package/dist/ITidyTableTransformation.d.ts +5 -0
  7. package/dist/ITypes.d.ts +6 -0
  8. package/dist/ITypes.js +8 -1
  9. package/dist/ITypes.js.map +1 -1
  10. package/dist/IcEvent.d.ts +4 -0
  11. package/dist/LazyTreeView.d.ts +17 -3
  12. package/dist/Loader.d.ts +30 -1
  13. package/dist/Loader.js +39 -21
  14. package/dist/Loader.js.map +1 -1
  15. package/dist/Logger.d.ts +13 -0
  16. package/dist/Logger.js +3 -0
  17. package/dist/Logger.js.map +1 -0
  18. package/dist/PublicAmchartsData.js +6 -3
  19. package/dist/PublicAmchartsData.js.map +1 -1
  20. package/dist/PublicContext.d.ts +11 -9
  21. package/dist/PublicContext.js.map +1 -1
  22. package/dist/PublicTemplate.d.ts +18 -3
  23. package/dist/PublicTemplate.js.map +1 -1
  24. package/dist/PublicTemplateForm.d.ts +169 -59
  25. package/dist/PublicTemplateForm.js +10 -1
  26. package/dist/PublicTemplateForm.js.map +1 -1
  27. package/dist/PublicTemplates.d.ts +1 -0
  28. package/dist/PublicTheme.d.ts +44 -10
  29. package/dist/PublicTheme.js +1 -0
  30. package/dist/PublicTheme.js.map +1 -1
  31. package/dist/PublicTidyColumn.d.ts +20 -5
  32. package/dist/PublicTidyColumn.js +4 -0
  33. package/dist/PublicTidyColumn.js.map +1 -1
  34. package/dist/PublicTidyTable.d.ts +9 -2
  35. package/dist/PublicTidyTableInteractions.d.ts +23 -2
  36. package/dist/PublicTidyTableTypeGuards.d.ts +5 -0
  37. package/dist/PublicTidyTableTypeGuards.js +22 -0
  38. package/dist/PublicTidyTableTypeGuards.js.map +1 -0
  39. package/dist/PublicTidyTableTypes.d.ts +26 -5
  40. package/dist/PublicTidyTableTypes.js +8 -2
  41. package/dist/PublicTidyTableTypes.js.map +1 -1
  42. package/dist/PublicTidyTree.d.ts +2 -4
  43. package/dist/PublicTidyTree.js +3 -4
  44. package/dist/PublicTidyTree.js.map +1 -1
  45. package/dist/RemoteContainerUtils.js +1 -1
  46. package/dist/RemoteContainerUtils.js.map +1 -1
  47. package/dist/index.d.ts +1 -0
  48. package/dist/index.js +1 -0
  49. package/dist/index.js.map +1 -1
  50. package/dist/theme/ThemeAmCharts4.d.ts +12 -1
  51. package/dist/theme/ThemeBaseTable.d.ts +6 -0
  52. package/dist/theme/ThemeEmbeddedReport.d.ts +3 -0
  53. package/dist/theme/ThemeFilterAutocomplete.d.ts +7 -0
  54. package/dist/theme/ThemeFilterAutocomplete.js +1 -0
  55. package/dist/theme/ThemeFilterAutocomplete.js.map +1 -1
  56. package/dist/theme/ThemeFilterPanel.d.ts +69 -8
  57. package/dist/theme/ThemeFilterPanel.js +50 -8
  58. package/dist/theme/ThemeFilterPanel.js.map +1 -1
  59. package/dist/theme/ThemeFilterSlider.d.ts +25 -3
  60. package/dist/theme/ThemeFilterSlider.js +12 -2
  61. package/dist/theme/ThemeFilterSlider.js.map +1 -1
  62. package/dist/theme/ThemeHtmlBox.d.ts +1 -1
  63. package/dist/theme/ThemeKpiBox.d.ts +0 -13
  64. package/dist/theme/ThemeKpiCard.d.ts +41 -5
  65. package/dist/theme/ThemeKpiCard.js +15 -0
  66. package/dist/theme/ThemeKpiCard.js.map +1 -1
  67. package/dist/theme/ThemeLazyTreeClasses.d.ts +6 -6
  68. package/dist/theme/ThemeLazyTreeClasses.js +6 -6
  69. package/dist/theme/ThemeLazyTreeClasses.js.map +1 -1
  70. package/dist/theme/ThemeRepetitionWidget.d.ts +6 -0
  71. package/dist/theme/ThemeReportAppLeftPanel.d.ts +4 -4
  72. package/dist/theme/ThemeReportAppLeftPanel.js +4 -4
  73. package/dist/theme/ThemeReportAppLeftPanel.js.map +1 -1
  74. package/package.json +6 -6
@@ -271,7 +271,15 @@ export declare function isTidyTableExprScale(type: FormFieldType): boolean;
271
271
  */
272
272
  export declare enum AutocompleteNoOptionsText {
273
273
  NO_OPTIONS = "NO_OPTIONS",
274
- NO_QUERY_RESULT = "NO_QUERY_RESULT"
274
+ NO_COLUMNS = "NO_COLUMNS",
275
+ NO_QUERY_RESULT = "NO_QUERY_RESULT",
276
+ QUERY_HAS_ERROR = "QUERY_HAS_ERROR"
277
+ }
278
+ /**
279
+ * Show an action button below the options
280
+ */
281
+ export declare enum AutocompleteActions {
282
+ ADD_COLOR = "ADD_COLOR"
275
283
  }
276
284
  export declare type CodeMirrorMode = "plain" | "mdx" | "sql" | "js" | "json" | "csv" | "md" | FormFieldTidyTableExprType;
277
285
  export declare function isCodeMirrorModeExpr(mode: CodeMirrorMode): boolean;
@@ -315,6 +323,10 @@ export interface IFormAutocompleteFieldDef<OPTION> extends IFormFieldDef<OPTION>
315
323
  optionValuesObsolete?: boolean;
316
324
  optionValuesObsoleteMessage?: string;
317
325
  noOptionsText?: AutocompleteNoOptionsText;
326
+ /**
327
+ * Show an action button below the options
328
+ */
329
+ action?: AutocompleteActions;
318
330
  renderInput?: (params: AutocompleteRenderInputParams) => React.ReactNode;
319
331
  renderOption?: (props: React.HTMLAttributes<HTMLLIElement>, option: OPTION, state: AutocompleteRenderOptionState, onClose: () => void) => React.ReactNode;
320
332
  disableClearable?: boolean;
@@ -347,13 +359,15 @@ export interface IFormColorEditorFieldDef extends IFormFieldDef<IColorDef> {
347
359
  *
348
360
  */
349
361
  export declare type IFormColumnChooserFieldDef = IFormColumnChooserSingleFieldDef | IFormColumnChooserMultipleFieldDef;
350
- interface IFormColumnChooserSingleFieldDef extends IFormFieldDef<TidyTableColumnSelector> {
362
+ export declare type IFormColumnChooserSingleFieldDef = IFormColumnChooserBaseDef<TidyTableColumnSelector>;
363
+ export declare type IFormColumnChooserMultipleFieldDef = IFormColumnChooserBaseDef<TidyTableColumnSelector[]>;
364
+ interface IFormColumnChooserBaseDef<T extends TidyTableColumnSelector | TidyTableColumnSelector[]> extends IFormFieldDef<T> {
351
365
  fieldType: "columnsChooser";
352
366
  editorConf?: {
353
367
  /**
354
368
  * The user can select multiple columns / selectors
355
369
  */
356
- multiple?: false;
370
+ multiple?: boolean;
357
371
  /**
358
372
  * The user can select the same column more than once
359
373
  */
@@ -361,7 +375,7 @@ interface IFormColumnChooserSingleFieldDef extends IFormFieldDef<TidyTableColumn
361
375
  /**
362
376
  * Only columns of this/these type(s) are allowed.
363
377
  */
364
- allowedTypes?: TidyColumnsType[] | ((column: ITidyColumn) => boolean);
378
+ allowedTypes?: TidyColumnsType[];
365
379
  /**
366
380
  * The user can select properties of columns
367
381
  */
@@ -371,56 +385,26 @@ interface IFormColumnChooserSingleFieldDef extends IFormFieldDef<TidyTableColumn
371
385
  */
372
386
  includeSelectors?: boolean;
373
387
  /**
374
- * Fallback to a column that has a type that is allowed. Note, properties of columns are not considered.
375
- *
376
- * It finds the column to fallback on by
377
- * 1. role equal to fieldPath and type is allowed,
378
- * 2. role equal to editorConfig.alias and type is allowed,
379
- * 3. type is allowed.
380
- *
381
- * Already mapped columns are skipped.
382
- */
383
- fallback?: boolean;
384
- /**
385
- * In the expression editor, use the alias to reference the column. Use the alias in table.getColumnByAlias(...).
386
- */
387
- alias?: string;
388
- };
389
- }
390
- interface IFormColumnChooserMultipleFieldDef extends IFormFieldDef<TidyTableColumnSelector[]> {
391
- fieldType: "columnsChooser";
392
- editorConf?: {
393
- /**
394
- * The user can select multiple columns / selectors
388
+ * The user can select columns based on their role
395
389
  */
396
- multiple: true;
390
+ includeRoles?: boolean;
397
391
  /**
398
- * The user can select the same column more than once
399
- */
400
- allowDuplicate?: boolean;
401
- /**
402
- * Only columns of this/these type(s) are allowed.
403
- */
404
- allowedTypes?: TidyColumnsType[] | ((column: ITidyColumn) => boolean);
405
- /**
406
- * The user can select properties of columns
407
- */
408
- includeProperties?: boolean;
409
- /**
410
- * The user can choose a selector, see TidyTableMappingColumnSelectorOptions
411
- */
412
- includeSelectors?: boolean;
413
- /**
414
- * Fallback to a column that has a type that is allowed. Note, properties of columns are not considered.
392
+ * Search the table for a default column.
415
393
  *
416
- * It finds the column to fallback on by
417
- * 1. role equal to fieldPath and type is allowed,
418
- * 2. role equal to editorConfig.alias and type is allowed,
419
- * 3. type is allowed.
394
+ * Set to true to use the default fallback logic:
420
395
  *
421
- * Already mapped columns are skipped.
396
+ * Fallback to a column that has a type that is allowed. Note, properties of columns are not considered.
397
+ *
398
+ * It finds the column to fallback on by
399
+ * 1. role equal to fieldPath and type is allowed,
400
+ * 2. role equal to editorConfig.alias and type is allowed,
401
+ * 3. type is allowed.
402
+ *
403
+ * Already mapped columns are skipped.
404
+ *
405
+ * You can also use your own fallback logic.
422
406
  */
423
- fallback?: boolean;
407
+ fallback?: boolean | ((table: ITidyTable) => ITidyColumn[] | undefined);
424
408
  /**
425
409
  * In the expression editor, use the alias to reference the column. Use the alias in table.getColumnByAlias(...).
426
410
  */
@@ -634,7 +618,21 @@ export interface IFormStringFieldDef extends IFormFieldDef<string> {
634
618
  export interface IFormTidyTableHtmlExprFieldDef extends IFormFieldDef<string> {
635
619
  fieldType: "tidyTableHtmlExpr";
636
620
  editorConf?: {
637
- defaultColumn?: boolean;
621
+ /**
622
+ * If true, user can use select a column in the dialog editor. This column then is the _currentColumn in the
623
+ * expression when evaluating in the dialog editor.
624
+ */
625
+ userSelectsCurrentColumn?: boolean;
626
+ /**
627
+ * If true, user can use _currentColumn in the expression.
628
+ * The default current column comes from the first dependsOn option.
629
+ */
630
+ useCurrentColumn?: boolean;
631
+ /**
632
+ * If true, user can use _selectedColumns in the expression.
633
+ * The default selected columns come from the second dependsOn option.
634
+ */
635
+ useSelectedColumns?: boolean;
638
636
  };
639
637
  }
640
638
  /**
@@ -646,9 +644,23 @@ export interface IFormTidyTableHtmlExprFieldDef extends IFormFieldDef<string> {
646
644
  export interface IFormTidyTableHtmlRowExprFieldDef extends IFormFieldDef<string> {
647
645
  fieldType: "tidyTableHtmlRowExpr";
648
646
  editorConf?: {
649
- defaultColumn?: boolean;
650
647
  /**
651
- * Default = available columns + roles. Set here to override.
648
+ * If true, user can use select a column in the dialog editor. This column then is the _currentColumn in the
649
+ * expression when evaluating in the dialog editor.
650
+ */
651
+ userSelectsCurrentColumn?: boolean;
652
+ /**
653
+ * If true, user can use _currentColumn in the expression.
654
+ * The default current column comes from the first dependsOn option.
655
+ */
656
+ useCurrentColumn?: boolean;
657
+ /**
658
+ * If true, user can use _selectedColumns in the expression.
659
+ * The default selected columns come from the second dependsOn option.
660
+ */
661
+ useSelectedColumns?: boolean;
662
+ /**
663
+ * Set here to override the available columns and roles in the completion meta.
652
664
  */
653
665
  completionMeta?: string[];
654
666
  };
@@ -662,7 +674,21 @@ export interface IFormTidyTableHtmlRowExprFieldDef extends IFormFieldDef<string>
662
674
  export interface IFormTidyTableNumericExprFieldDef extends IFormFieldDef<string> {
663
675
  fieldType: "tidyTableNumericExpr";
664
676
  editorConf?: {
665
- defaultColumn?: boolean;
677
+ /**
678
+ * If true, user can use select a column in the dialog editor. This column then is the _currentColumn in the
679
+ * expression when evaluating in the dialog editor.
680
+ */
681
+ userSelectsCurrentColumn?: boolean;
682
+ /**
683
+ * If true, user can use _currentColumn in the expression.
684
+ * The default current column comes from the first dependsOn option.
685
+ */
686
+ useCurrentColumn?: boolean;
687
+ /**
688
+ * If true, user can use _selectedColumns in the expression.
689
+ * The default selected columns come from the second dependsOn option.
690
+ */
691
+ useSelectedColumns?: boolean;
666
692
  };
667
693
  }
668
694
  /**
@@ -674,7 +700,21 @@ export interface IFormTidyTableNumericExprFieldDef extends IFormFieldDef<string>
674
700
  export interface IFormTidyTableStringRowExprFieldDef extends IFormFieldDef<string> {
675
701
  fieldType: "tidyTableStringRowExpr";
676
702
  editorConf?: {
677
- defaultColumn?: boolean;
703
+ /**
704
+ * If true, user can use select a column in the dialog editor. This column then is the _currentColumn in the
705
+ * expression when evaluating in the dialog editor.
706
+ */
707
+ userSelectsCurrentColumn?: boolean;
708
+ /**
709
+ * If true, user can use _currentColumn in the expression.
710
+ * The default current column comes from the first dependsOn option.
711
+ */
712
+ useCurrentColumn?: boolean;
713
+ /**
714
+ * If true, user can use _selectedColumns in the expression.
715
+ * The default selected columns come from the second dependsOn option.
716
+ */
717
+ useSelectedColumns?: boolean;
678
718
  };
679
719
  }
680
720
  /**
@@ -686,7 +726,21 @@ export interface IFormTidyTableStringRowExprFieldDef extends IFormFieldDef<strin
686
726
  export interface IFormTidyTableColorRowExprFieldDef extends IFormFieldDef<string> {
687
727
  fieldType: "tidyTableColorRowExpr";
688
728
  editorConf?: {
689
- defaultColumn?: boolean;
729
+ /**
730
+ * If true, user can use select a column in the dialog editor. This column then is the _currentColumn in the
731
+ * expression when evaluating in the dialog editor.
732
+ */
733
+ userSelectsCurrentColumn?: boolean;
734
+ /**
735
+ * If true, user can use _currentColumn in the expression.
736
+ * The default current column comes from the first dependsOn option.
737
+ */
738
+ useCurrentColumn?: boolean;
739
+ /**
740
+ * If true, user can use _selectedColumns in the expression.
741
+ * The default selected columns come from the second dependsOn option.
742
+ */
743
+ useSelectedColumns?: boolean;
690
744
  };
691
745
  }
692
746
  /**
@@ -698,7 +752,21 @@ export interface IFormTidyTableColorRowExprFieldDef extends IFormFieldDef<string
698
752
  export interface IFormTidyTableNumericRowExprFieldDef extends IFormFieldDef<string> {
699
753
  fieldType: "tidyTableNumericRowExpr";
700
754
  editorConf?: {
701
- defaultColumn?: boolean;
755
+ /**
756
+ * If true, user can use select a column in the dialog editor. This column then is the _currentColumn in the
757
+ * expression when evaluating in the dialog editor.
758
+ */
759
+ userSelectsCurrentColumn?: boolean;
760
+ /**
761
+ * If true, user can use _currentColumn in the expression.
762
+ * The default current column comes from the first dependsOn option.
763
+ */
764
+ useCurrentColumn?: boolean;
765
+ /**
766
+ * If true, user can use _selectedColumns in the expression.
767
+ * The default selected columns come from the second dependsOn option.
768
+ */
769
+ useSelectedColumns?: boolean;
702
770
  };
703
771
  }
704
772
  /**
@@ -710,7 +778,21 @@ export interface IFormTidyTableNumericRowExprFieldDef extends IFormFieldDef<stri
710
778
  export interface IFormTidyTableScaleRowExprFieldDef extends IFormFieldDef<string> {
711
779
  fieldType: "tidyTableScaleRowExpr";
712
780
  editorConf: {
713
- defaultColumn: true;
781
+ /**
782
+ * If true, user can use select a column in the dialog editor. This column then is the _currentColumn in the
783
+ * expression when evaluating in the dialog editor.
784
+ */
785
+ userSelectsCurrentColumn?: boolean;
786
+ /**
787
+ * If true, user can use _currentColumn in the expression.
788
+ * The default current column comes from the first dependsOn option.
789
+ */
790
+ useCurrentColumn?: boolean;
791
+ /**
792
+ * If true, user can use _selectedColumns in the expression.
793
+ * The default selected columns come from the second dependsOn option.
794
+ */
795
+ useSelectedColumns?: boolean;
714
796
  };
715
797
  }
716
798
  /**
@@ -722,7 +804,21 @@ export interface IFormTidyTableScaleRowExprFieldDef extends IFormFieldDef<string
722
804
  export interface IFormTidyTableTextExprFieldDef extends IFormFieldDef<string> {
723
805
  fieldType: "tidyTableTextExpr";
724
806
  editorConf?: {
725
- defaultColumn?: boolean;
807
+ /**
808
+ * If true, user can use select a column in the dialog editor. This column then is the _currentColumn in the
809
+ * expression when evaluating in the dialog editor.
810
+ */
811
+ userSelectsCurrentColumn?: boolean;
812
+ /**
813
+ * If true, user can use _currentColumn in the expression.
814
+ * The default current column comes from the first dependsOn option.
815
+ */
816
+ useCurrentColumn?: boolean;
817
+ /**
818
+ * If true, user can use _selectedColumns in the expression.
819
+ * The default selected columns come from the second dependsOn option.
820
+ */
821
+ useSelectedColumns?: boolean;
726
822
  };
727
823
  }
728
824
  /**
@@ -734,7 +830,21 @@ export interface IFormTidyTableTextExprFieldDef extends IFormFieldDef<string> {
734
830
  export interface IFormTidyTableTextRowExprFieldDef extends IFormFieldDef<string> {
735
831
  fieldType: "tidyTableTextRowExpr";
736
832
  editorConf?: {
737
- defaultColumn?: boolean;
833
+ /**
834
+ * If true, user can use select a column in the dialog editor. This column then is the _currentColumn in the
835
+ * expression when evaluating in the dialog editor.
836
+ */
837
+ userSelectsCurrentColumn?: boolean;
838
+ /**
839
+ * If true, user can use _currentColumn in the expression.
840
+ * The default current column comes from the first dependsOn option.
841
+ */
842
+ useCurrentColumn?: boolean;
843
+ /**
844
+ * If true, user can use _selectedColumns in the expression.
845
+ * The default selected columns come from the second dependsOn option.
846
+ */
847
+ useSelectedColumns?: boolean;
738
848
  };
739
849
  }
740
850
  /**
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isCodeMirrorModeExpr = exports.AutocompleteNoOptionsText = exports.isTidyTableExprScale = exports.isTidyTableExprNumeric = exports.isTidyTableExprTextHtml = exports.isTidyTableExprText = exports.isTidyTableExprRow = exports.isTidyTableExprTable = exports.isTidyTableExpr = exports.IFormFieldGroupTypes = exports.formFieldIsSelection = void 0;
3
+ exports.isCodeMirrorModeExpr = exports.AutocompleteActions = exports.AutocompleteNoOptionsText = exports.isTidyTableExprScale = exports.isTidyTableExprNumeric = exports.isTidyTableExprTextHtml = exports.isTidyTableExprText = exports.isTidyTableExprRow = exports.isTidyTableExprTable = exports.isTidyTableExpr = exports.IFormFieldGroupTypes = exports.formFieldIsSelection = void 0;
4
4
  function formFieldIsSelection(field) {
5
5
  return field.group === IFormFieldGroupTypes.Selection;
6
6
  }
@@ -66,8 +66,17 @@ exports.isTidyTableExprScale = isTidyTableExprScale;
66
66
  var AutocompleteNoOptionsText;
67
67
  (function (AutocompleteNoOptionsText) {
68
68
  AutocompleteNoOptionsText["NO_OPTIONS"] = "NO_OPTIONS";
69
+ AutocompleteNoOptionsText["NO_COLUMNS"] = "NO_COLUMNS";
69
70
  AutocompleteNoOptionsText["NO_QUERY_RESULT"] = "NO_QUERY_RESULT";
71
+ AutocompleteNoOptionsText["QUERY_HAS_ERROR"] = "QUERY_HAS_ERROR";
70
72
  })(AutocompleteNoOptionsText = exports.AutocompleteNoOptionsText || (exports.AutocompleteNoOptionsText = {}));
73
+ /**
74
+ * Show an action button below the options
75
+ */
76
+ var AutocompleteActions;
77
+ (function (AutocompleteActions) {
78
+ AutocompleteActions["ADD_COLOR"] = "ADD_COLOR";
79
+ })(AutocompleteActions = exports.AutocompleteActions || (exports.AutocompleteActions = {}));
71
80
  function isCodeMirrorModeExpr(mode) {
72
81
  return mode === "tidyTableHtmlExpr"
73
82
  || mode === "tidyTableHtmlRowExpr"
@@ -1 +1 @@
1
- {"version":3,"file":"PublicTemplateForm.js","sourceRoot":"","sources":["../src/PublicTemplateForm.ts"],"names":[],"mappings":";;;AAaA,SAAgB,oBAAoB,CAAC,KAAyB;IAC1D,OAAO,KAAK,CAAC,KAAK,KAAK,oBAAoB,CAAC,SAAS,CAAC;AAC1D,CAAC;AAFD,oDAEC;AAmJD,IAAY,oBAIX;AAJD,WAAY,oBAAoB;IAC5B,+CAAuB,CAAA;IACvB,yEAAiD,CAAA;IACjD,sDAA8B,CAAA;AAClC,CAAC,EAJW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAI/B;AA0KD,SAAgB,eAAe,CAAC,IAAmB;IAC/C,OAAO,IAAI,KAAK,mBAAmB;WAC5B,IAAI,KAAK,sBAAsB;WAC/B,IAAI,KAAK,mBAAmB;WAC5B,IAAI,KAAK,sBAAsB;WAC/B,IAAI,KAAK,sBAAsB;WAC/B,IAAI,KAAK,yBAAyB;WAClC,IAAI,KAAK,wBAAwB;WACjC,IAAI,KAAK,uBAAuB;WAChC,IAAI,KAAK,uBAAuB,CAClC;AACT,CAAC;AAXD,0CAWC;AAED,SAAgB,oBAAoB,CAAC,IAAmB;IACpD,OAAO,IAAI,KAAK,mBAAmB;WAC5B,IAAI,KAAK,mBAAmB;WAC5B,IAAI,KAAK,sBAAsB,CACjC;AACT,CAAC;AALD,oDAKC;AAED,SAAgB,kBAAkB,CAAC,IAAm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CAAC,IAAmB;IACvD,OAAO,IAAI,KAAK,mBAAmB;WAC5B,IAAI,KAAK,sBAAsB,CACjC;AACT,CAAC;AAJD,0DAIC;AAED,SAAgB,sBAAsB,CAAC,IAAmB;IACtD,OAAO,IAAI,KAAK,sBAAsB;WAC/B,IAAI,KAAK,yBAAyB,CACpC;AACT,CAAC;AAJD,wDAIC;AAED,SAAgB,oBAAoB,CAAC,IAAmB;IACpD,OAAO,IAAI,KAAK,uBAAuB,CAClC;AACT,CAAC;AAHD,oDAGC;AAED;;;GAGG;AACH,IAAY,yBAKX;AALD,WAAY,yBAAyB;IACjC,sDAAyB,CAAA;IACzB,sDAAyB,CAAA;IACzB,gEAAmC,CAAA;IACnC,gEAAmC,CAAA;AACvC,CAAC,EALW,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAKpC;AAED;;GAEG;AACH,IAAY,mBAEX;AAFD,WAAY,mBAAmB;IAC3B,8CAAuB,CAAA;AAC3B,CAAC,EAFW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAE9B;AAaD,SAAgB,oBAAoB,CAAC,IAAoB;IACrD,OAAO,IAAI,KAAK,mBAAmB;WAC5B,IAAI,KAAK,sBAAsB;WAC/B,IAAI,KAAK,mBAAmB;WAC5B,IAAI,KAAK,sBAAsB;WAC/B,IAAI,KAAK,sBAAsB;WAC/B,IAAI,KAAK,yBAAyB;WAClC,IAAI,KAAK,uBAAuB;WAChC,IAAI,KAAK,wBAAwB;WACjC,IAAI,KAAK,uBAAuB,CAClC;AACT,CAAC;AAXD,oDAWC"}
@@ -22,6 +22,7 @@ interface IWidgetTemplateChartOptions {
22
22
  "ic3.DatePicker": DatePickerChartOptions;
23
23
  "ic3.EmbeddedReport": EmbeddedReportChartOptions;
24
24
  "ic3.FilterAutocomplete": FilterAutocompleteChartOptions;
25
+ "ic3.FilterAutocompleteLazy": FilterAutocompleteChartOptions;
25
26
  "ic3.FilterButtons": FilterButtonsChartOptions;
26
27
  "ic3.FilterCheckboxRadio": FilterCheckboxRadioChartOptions;
27
28
  "ic3.FilterPanel": FilterPanelChartOptions;
@@ -25,7 +25,7 @@ import { IPublicContext } from "./PublicContext";
25
25
  import { TableClassKey, TableProps } from "./theme/ThemeTable";
26
26
  import { PivotTableClassKey, PivotTableProps } from "./theme/ThemePivotTable";
27
27
  import { Components } from "@mui/material/styles/components";
28
- import { FilterPanelClassesKey } from "./theme/ThemeFilterPanel";
28
+ import { FilterPanelClassesKey, FilterPanelProps } from "./theme/ThemeFilterPanel";
29
29
  import { FilterCheckboxRadioChartOptions, FilterCheckboxRadioClassKey } from "./theme/ThemeFilterCheckboxRadio";
30
30
  import { ReportAppLeftPanelClassKey } from "./theme/ThemeReportAppLeftPanel";
31
31
  import { FilterTreeChartOptions, FilterTreeClassKey } from "./theme/ThemeFilterTree";
@@ -33,6 +33,7 @@ import { DatePickerChartOptions, DatePickerClassKey } from "./theme/ThemeDatePic
33
33
  import { FilterAutocompleteChartOptions, FilterAutocompleteClassesKey } from "./theme/ThemeFilterAutocomplete";
34
34
  import { AppMenuIconProps, ThemeAppMenuIconClassKey } from "./theme/ThemeAppMenuIcon";
35
35
  import { QueryBuilderNodeProps, ThemeQueryBuilderNodeClassKey } from "./theme/ThemeQueryBuilderNode";
36
+ import { KpiCardClassKey, KpiCardProps } from "./theme/ThemeKpiCard";
36
37
  export interface INoSchemaRendererOptions {
37
38
  missingSchema: string;
38
39
  }
@@ -58,6 +59,11 @@ export declare type ThemeTextFormattersOptions = Record<string, ThemeTextFormatt
58
59
  defaultPercentage?: ThemeTextFormatter;
59
60
  };
60
61
  declare type Amcharts4ThemeDateFormatter = {
62
+ /**
63
+ * Amcharts date formatter.
64
+ * Read more about the format codes here: https://www.amcharts.com/docs/v4/concepts/formatters/formatting-date-time/#Format_codes
65
+ * Read more about how these settings are used here: https://www.amcharts.com/docs/v4/concepts/axes/date-axis/#Setting_date_formats
66
+ */
61
67
  dateFormatter: {
62
68
  millisecond: {
63
69
  dateFormat: string;
@@ -136,6 +142,12 @@ export interface ic3Palette {
136
142
  * Report Application Menu
137
143
  */
138
144
  reportAppMenu: string;
145
+ /**
146
+ * List of named colors for ic3 applications ( MDX IDE, Admin ... )
147
+ */
148
+ appColors?: {
149
+ 'default'?: Property.Color;
150
+ } & Record<string, Property.Color>;
139
151
  /**
140
152
  * Darkens a color for an onhover effect
141
153
  *
@@ -213,10 +225,10 @@ export interface ic3PaletteOptions {
213
225
  'default': Property.Color[];
214
226
  } & Record<string, Property.Color[]>;
215
227
  chartSingleColors?: Partial<MandatorySingleColors> & Record<string, Property.Color>;
216
- /**
217
- * Report Application Menu
218
- */
219
228
  reportAppMenu?: Property.Color;
229
+ appColors?: {
230
+ 'default'?: Property.Color;
231
+ } & Record<string, Property.Color>;
220
232
  onHover?: (color: Property.Color) => Property.Color;
221
233
  }
222
234
  export interface ic3Typography {
@@ -230,7 +242,8 @@ export interface ic3TypographyOptions {
230
242
  }
231
243
  export declare enum TableRowHeightOptions {
232
244
  standard = "standard",
233
- compact = "compact"
245
+ compact = "compact",
246
+ small = "small"
234
247
  }
235
248
  export interface ic3Theme {
236
249
  id: string;
@@ -342,6 +355,13 @@ export interface ic3Theme {
342
355
  };
343
356
  }
344
357
  export interface ic3ThemeOptions {
358
+ /**
359
+ * For editor theme, the id to use in your app-local/ic3report-config.js:
360
+ *
361
+ * <pre>
362
+ * options.defaultEditorThemeId = ...
363
+ * </pre>
364
+ */
345
365
  id: string;
346
366
  caption: string;
347
367
  cssClass?: string;
@@ -409,19 +429,27 @@ export interface ic3ThemeOptions {
409
429
  */
410
430
  editor?: {
411
431
  /**
412
- * Editor logo. Defaults to icCubes logo.
432
+ * Editor logo.
433
+ *
434
+ * Default: icCube logo.
413
435
  */
414
436
  logo?: string;
415
437
  /**
416
- * Alt text for the logo image. Default = icCube.
438
+ * Alt text for the logo image.
439
+ *
440
+ * Default: "icCube".
417
441
  */
418
442
  logoAlt?: string;
419
443
  /**
420
- * Top - Offset of dashboard page to the editor. Default 25.
444
+ * Top offset of the edited dashboard page in the editor.
445
+ *
446
+ * Default: 25.
421
447
  */
422
448
  viewPortOffsetTop?: number;
423
449
  /**
424
- * Left - Offset of dashboard page to the editor. Default 25.
450
+ * Left offset of the edited dashboard page in the editor.
451
+ *
452
+ * Default: 25.
425
453
  */
426
454
  viewPortOffsetLeft?: number;
427
455
  };
@@ -474,6 +502,10 @@ interface ic3BaseComponents {
474
502
  styleOverrides?: ComponentsOverrides["HtmlBox"];
475
503
  variants?: ComponentsVariants["HtmlBox"];
476
504
  };
505
+ KpiCard?: {
506
+ styleOverrides?: ComponentsOverrides["KpiCard"];
507
+ variants?: ComponentsVariants["KpiCard"];
508
+ };
477
509
  Layout?: {
478
510
  styleOverrides?: ComponentsOverrides["Layout"];
479
511
  };
@@ -612,6 +644,7 @@ declare module '@mui/material/styles/overrides' {
612
644
  FilterDatePicker: DatePickerClassKey;
613
645
  FilterAutocomplete: FilterAutocompleteClassesKey;
614
646
  HtmlBox: HtmlBoxClassKey;
647
+ KpiCard: KpiCardClassKey;
615
648
  Layout: LayoutClassKey;
616
649
  LayoutPage: LayoutPageClassKey;
617
650
  PivotTable: PivotTableClassKey;
@@ -628,12 +661,13 @@ declare module '@mui/material/styles/props' {
628
661
  interface ComponentsPropsList {
629
662
  FilterCheckbox: FilterCheckboxRadioChartOptions;
630
663
  FilterButtons: FilterButtonsChartOptions;
631
- FilterPanel: Record<never, any>;
664
+ FilterPanel: FilterPanelProps;
632
665
  FilterSlider: FilterSliderChartOptions;
633
666
  FilterTree: FilterTreeChartOptions;
634
667
  FilterDatePicker: DatePickerChartOptions;
635
668
  FilterAutocomplete: FilterAutocompleteChartOptions;
636
669
  HtmlBox: HtmlBoxProps;
670
+ KpiCard: KpiCardProps;
637
671
  PivotTable: PivotTableProps;
638
672
  Table: TableProps;
639
673
  WidgetBox: Record<never, any>;
@@ -5,5 +5,6 @@ var TableRowHeightOptions;
5
5
  (function (TableRowHeightOptions) {
6
6
  TableRowHeightOptions["standard"] = "standard";
7
7
  TableRowHeightOptions["compact"] = "compact";
8
+ TableRowHeightOptions["small"] = "small";
8
9
  })(TableRowHeightOptions = exports.TableRowHeightOptions || (exports.TableRowHeightOptions = {}));
9
10
  //# sourceMappingURL=PublicTheme.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PublicTheme.js","sourceRoot":"","sources":["../src/PublicTheme.ts"],"names":[],"mappings":";;;AAoRA,IAAY,qBAGX;AAHD,WAAY,qBAAqB;IAC7B,8CAAqB,CAAA;IACrB,4CAAmB,CAAA;AACvB,CAAC,EAHW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAGhC"}
1
+ {"version":3,"file":"PublicTheme.js","sourceRoot":"","sources":["../src/PublicTheme.ts"],"names":[],"mappings":";;;AA8RA,IAAY,qBAIX;AAJD,WAAY,qBAAqB;IAC7B,8CAAqB,CAAA;IACrB,4CAAmB,CAAA;IACnB,wCAAe,CAAA;AACnB,CAAC,EAJW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAIhC"}
@@ -1,6 +1,6 @@
1
+ /// <reference types="react" />
1
2
  import { AxisCoordinate, ConvertToTypeParseSettings, EntityItem, GroupRowIndices, IMdxAxisSeriesInfo, ITidyColumnIndex, ITidyColumnsSource, MdxInfo, MdxMemberCoordinates, TidyCellError, TidyColumnsSubType, TidyColumnsType } from "./PublicTidyTableTypes";
2
3
  import { TidyActionEvent } from "./IcEvent";
3
- import { ReactElement } from "react";
4
4
  import { ThemeTextFormatter } from "./PublicTheme";
5
5
  import { Property } from "csstype";
6
6
  import { AppNotification } from "./INotification";
@@ -340,6 +340,10 @@ export interface ITidyBaseColumn<T> extends ITidyBaseColumnReadonly<T> {
340
340
  * @param index
341
341
  */
342
342
  getDescendants(index: number): number[];
343
+ /**
344
+ * Returns true if and only if the node in the hierarchy has children.
345
+ */
346
+ hasChildren(index: number): boolean;
343
347
  /**
344
348
  * Return the siblings of the node in the hierarchy at the index.
345
349
  * Including the node itself.
@@ -400,7 +404,7 @@ export interface ITidyBaseColumn<T> extends ITidyBaseColumnReadonly<T> {
400
404
  */
401
405
  setName(name: string): void;
402
406
  /**
403
- * Set the number formatter of the column, calculating and adding the 'formattedValue' property.
407
+ * Set the number/date formatter of the column, calculating and adding the 'formattedValue' property.
404
408
  */
405
409
  setNumberFormat(format: ThemeTextFormatter | undefined): void;
406
410
  /**
@@ -493,8 +497,14 @@ export interface ITidyBaseColumn<T> extends ITidyBaseColumnReadonly<T> {
493
497
  /**
494
498
  * Set the formatted values. Use this if you have the formatted values pre-calculated
495
499
  * or a function to calculate the formatted values.
500
+ * @param caption the caption for the added property
501
+ */
502
+ setFormattedValues(formattedValues: (string | null)[] | ((value: T | undefined) => string), caption?: string): void;
503
+ /**
504
+ * Set the colors for the column.
505
+ * @param caption the caption for the added property
496
506
  */
497
- setFormattedValues(formattedValues: (string | null)[] | ((value: T | undefined) => string)): void;
507
+ setColors(colors: (Property.Color | null)[], caption?: string): void;
498
508
  /**
499
509
  * Return a new column with transformed values.
500
510
  * @param fun function with one parameter. Describes the transformation.
@@ -521,7 +531,12 @@ export interface ITidyBaseColumn<T> extends ITidyBaseColumnReadonly<T> {
521
531
  * @param fun function to apply
522
532
  */
523
533
  mapVisibleRows<P>(expanded: (rowIdx: number) => boolean, fun: (index: number) => P): P[];
524
- mapTreeVisibleRows<P extends ReactElement>(expanded: (rowIdx: number) => boolean, fun: (index: number) => P, filter?: (info: MdxInfo) => boolean): P[];
534
+ /**
535
+ * Apply a function to all visible nodes in the column. A nodes' children are visible if expanded evaluates to
536
+ * true for that node.
537
+ * @param filter Possibly filter the nodes.
538
+ */
539
+ mapTreeVisibleRows<P>(expanded: (rowIdx: number) => boolean, fun: (index: number, isCollapsed: boolean) => P, filter?: (info: MdxInfo) => boolean): P[];
525
540
  /**
526
541
  * Set a property on the column. If the property already exists, it is overwritten.
527
542
  * @param property the column to set as a property. Ensure that the lengths are the same.
@@ -616,7 +631,7 @@ export interface HtmlTidyColumnCellDecoration extends BaseTidyColumnCellDecorati
616
631
  }
617
632
  export declare type PublicTidyColumnCellDecoration = ReactTidyColumnCellDecoration | HtmlTidyColumnCellDecoration;
618
633
  export declare type ITidyColumn = ITidyBaseColumn<any>;
619
- export declare type ITidyUnknownColumn = ITidyBaseColumn<unknown | null>;
634
+ export declare type ITidyUnknownColumn = ITidyBaseColumn<unknown>;
620
635
  export declare type ITidyNullColumn = ITidyBaseColumn<null>;
621
636
  export declare type ITidyNumericColumn = ITidyBaseColumn<number | null>;
622
637
  export declare type ITidyCharacterColumn = ITidyBaseColumn<string | null>;
@@ -96,6 +96,10 @@ exports.TidyTableTextExprColumnMetas = [
96
96
  { caption: "count", method: "count" },
97
97
  { caption: "percent", method: "percent", argRow: true },
98
98
  { caption: "caption", method: "getCaption" },
99
+ { caption: "mdxName", method: "mdxName", argRow: true },
100
+ { caption: "mdxCaption", method: "mdxName", argRow: true },
101
+ { caption: "mdxUniqueName", method: "mdxUniqueName", argRow: true },
102
+ { caption: "mdxKey", method: "mdxKey", argRow: true },
99
103
  ];
100
104
  exports.TidyTableNumberExprColumnMetas = [
101
105
  { caption: "total", method: "sum" },
@@ -1 +1 @@
1
- {"version":3,"file":"PublicTidyColumn.js","sourceRoot":"","sources":["../src/PublicTidyColumn.ts"],"names":[],"mappings":";;;AA8CA;;GAEG;AACH,IAAY,0BAsFX;AAtFD,WAAY,0BAA0B;IAElC;;OAEG;IACH,oDAAsB,CAAA;IAEtB;;OAEG;IACH,sEAAwC,CAAA;IAExC;;OAEG;IACH,mEAAqC,CAAA;IAErC;;OAEG;IACH,mEAAqC,CAAA;IAErC;;;OAGG;IACH,yEAA2C,CAAA;IAE3C;;OAEG;IACH,oDAAsB,CAAA;IAEtB;;;;OAIG;IACH,yEAA2C,CAAA;IAE3C;;;;OAIG;IACH,+EAAiD,CAAA;IAEjD;;OAEG;IACH,qDAAuB,CAAA;IAEvB;;OAEG;IACH,uDAAyB,CAAA;IAEzB;;OAEG;IACH,6DAA+B,CAAA;IAE/B;;OAE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AAE,MAAM,EAAE,IAAI,EAAC;IACjE,EAAC,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAC;CAEtD,CAAC;AAEW,QAAA,8BAA8B,GAA8B;IAErE,EAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAC;IACjC,EAAC,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,EAAC;IACpC,EAAC,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAC;IACrC,EAAC,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAC;IAC/B,EAAC,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAC;IAC/B,EAAC,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,UAAU,EAAC;IACzC,EAAC,OAAO,EAAE,mBAAmB,EAAE,MAAM,EAAE,mBAAmB,EAAC;IAC3D,EAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAC;IAEnC,EAAC,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,IAAI,EAAC;IAErD,8CAA8C;CAEjD,CAAC"}
@@ -445,7 +445,10 @@ export interface ITidyTable {
445
445
  * Add a new index to the existing index, overwriting what already exists.
446
446
  */
447
447
  addColumnIndex(index: TidyColumnIndex): void;
448
- getQueryLimit(): number | undefined;
448
+ /**
449
+ * The limit used when lazy search is enabled.
450
+ */
451
+ getLazySearchLimit(): number | undefined;
449
452
  isTotalRow(rowIdx: number): boolean;
450
453
  /**
451
454
  * Transform the table to a table where each row is a bucket in the histogram for that group.
@@ -471,7 +474,7 @@ export interface ITidyTable {
471
474
  */
472
475
  getLevelDepthR(nodeInfo: MdxNodeIdentifier): any;
473
476
  hasMdxChildren(nodeInfo: MdxNodeIdentifier): boolean;
474
- isLeaf(nodeInfo: MdxNodeIdentifier): any;
477
+ isLeaf(nodeInfo: MdxNodeIdentifier): boolean;
475
478
  /**
476
479
  * Sort the tidy table pivot style
477
480
  */
@@ -486,4 +489,8 @@ export interface ITidyTable {
486
489
  * Utility class for doing maths on columns
487
490
  */
488
491
  getMath(): ITidyMath;
492
+ /**
493
+ * Returns true if and only if the table is truncated by the server (too many rows otherwise).
494
+ */
495
+ reachedMaxTidyRowCount(): boolean;
489
496
  }