@genesislcap/g2plot-chart 14.401.2 → 14.401.3-hide-status-pill.4

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 (2) hide show
  1. package/dist/custom-elements.json +1323 -1323
  2. package/package.json +14 -14
@@ -580,757 +580,973 @@
580
580
  },
581
581
  {
582
582
  "kind": "javascript-module",
583
- "path": "src/chart-datasource/chart-datasource.ts",
583
+ "path": "src/models/area-chart.ts",
584
584
  "declarations": [
585
585
  {
586
- "kind": "variable",
587
- "name": "defaultChartFields",
588
- "type": {
589
- "text": "string"
590
- },
591
- "default": "'groupBy value'",
592
- "description": "The first and second default chart fields when it's a dual axes chart.",
593
- "privacy": "public"
594
- },
595
- {
596
- "kind": "variable",
597
- "name": "defaultSeriesChartField",
598
- "type": {
599
- "text": "string"
600
- },
601
- "default": "'series'",
602
- "description": "The third default chart field when it's a triple axes chart.",
603
- "privacy": "public"
604
- },
605
- {
606
- "kind": "class",
607
- "description": "The Genesis Datasource for the `g2plot-chart` component.",
608
- "name": "ChartDatasource",
609
- "members": [
610
- {
611
- "kind": "field",
612
- "name": "chartFields",
613
- "type": {
614
- "text": "string"
615
- },
616
- "default": "'groupBy value'",
617
- "description": "Default value is 'groupBy value'. Can be customized but order matters.\n\n[Mandatory] First is always the xField/colorField\n[Mandatory] Second is always the yField/angleField\n[Optional] Third is always the seriesField",
618
- "privacy": "public"
619
- },
586
+ "kind": "function",
587
+ "name": "AreaChart",
588
+ "parameters": [
620
589
  {
621
- "kind": "field",
622
- "name": "serverFields",
590
+ "name": "container",
623
591
  "type": {
624
- "text": "string"
625
- },
626
- "description": "Can be customized but order matters.\n\n[Mandatory] First will be associated to the first value in 'chartFields' (xField/colorField)\n[Mandatory] Second will be associated to the second value in 'chartFields' (yField/angleField)\n[Optional] Third will be associated to the third value in 'chartFields' (seriesField)",
627
- "privacy": "public"
592
+ "text": "HTMLElement"
593
+ }
628
594
  },
629
595
  {
630
- "kind": "field",
631
- "name": "isStack",
596
+ "name": "config",
632
597
  "type": {
633
- "text": "boolean"
634
- },
635
- "default": "false",
636
- "description": "If true, will enable stacked chart to effectively portray comparisons of total values across several categories.",
637
- "privacy": "public"
638
- },
598
+ "text": "AreaOptions"
599
+ }
600
+ }
601
+ ]
602
+ }
603
+ ],
604
+ "exports": [
605
+ {
606
+ "kind": "js",
607
+ "name": "AreaChart",
608
+ "declaration": {
609
+ "name": "AreaChart",
610
+ "module": "src/models/area-chart.ts"
611
+ }
612
+ }
613
+ ]
614
+ },
615
+ {
616
+ "kind": "javascript-module",
617
+ "path": "src/models/bar-chart.ts",
618
+ "declarations": [
619
+ {
620
+ "kind": "function",
621
+ "name": "BarChart",
622
+ "parameters": [
639
623
  {
640
- "kind": "field",
641
- "name": "isGroup",
624
+ "name": "container",
642
625
  "type": {
643
- "text": "boolean"
644
- },
645
- "default": "false",
646
- "description": "If true, will enable grouped chart plotting numeric values for levels of two categorical variables instead of one.",
647
- "privacy": "public"
626
+ "text": "HTMLElement"
627
+ }
648
628
  },
649
629
  {
650
- "kind": "field",
651
- "name": "reduced",
630
+ "name": "config",
652
631
  "type": {
653
- "text": "boolean"
654
- },
655
- "privacy": "protected",
656
- "default": "true",
657
- "description": "Enabled by default, will not work if a custom charts-fields is used (requires [type, value]).",
658
- "inheritedFrom": {
659
- "name": "ConcreteDatasource",
660
- "module": "src/chart-datasource/chart-datasource.ts"
632
+ "text": "BarOptions"
661
633
  }
662
- },
634
+ }
635
+ ]
636
+ }
637
+ ],
638
+ "exports": [
639
+ {
640
+ "kind": "js",
641
+ "name": "BarChart",
642
+ "declaration": {
643
+ "name": "BarChart",
644
+ "module": "src/models/bar-chart.ts"
645
+ }
646
+ }
647
+ ]
648
+ },
649
+ {
650
+ "kind": "javascript-module",
651
+ "path": "src/models/column-chart.ts",
652
+ "declarations": [
653
+ {
654
+ "kind": "function",
655
+ "name": "ColumnChart",
656
+ "parameters": [
663
657
  {
664
- "kind": "field",
665
- "name": "showFormattedTime",
658
+ "name": "container",
666
659
  "type": {
667
- "text": "boolean"
668
- },
669
- "privacy": "protected",
670
- "default": "false",
671
- "description": "Only works if [withTimestampFormatting] is true.\n\nDisabled by default, will ignore the TIME portion in the Chart labels.\nOnly affects [DATETIME] fields.",
672
- "inheritedFrom": {
673
- "name": "ConcreteDatasource",
674
- "module": "src/chart-datasource/chart-datasource.ts"
660
+ "text": "HTMLElement"
675
661
  }
676
662
  },
677
663
  {
678
- "kind": "field",
679
- "name": "withTimestampFormatting",
664
+ "name": "config",
680
665
  "type": {
681
- "text": "boolean"
682
- },
683
- "default": "true",
684
- "description": "Enabled by default, will format UNIX timestamp fields to readable [DATE|DATETIME] values.",
685
- "privacy": "public",
686
- "inheritedFrom": {
687
- "name": "BaseDatasource",
688
- "module": "src/utils/base-datasource.ts"
666
+ "text": "ColumnOptions"
689
667
  }
690
- },
668
+ }
669
+ ]
670
+ }
671
+ ],
672
+ "exports": [
673
+ {
674
+ "kind": "js",
675
+ "name": "ColumnChart",
676
+ "declaration": {
677
+ "name": "ColumnChart",
678
+ "module": "src/models/column-chart.ts"
679
+ }
680
+ }
681
+ ]
682
+ },
683
+ {
684
+ "kind": "javascript-module",
685
+ "path": "src/models/donut-chart.ts",
686
+ "declarations": [
687
+ {
688
+ "kind": "function",
689
+ "name": "DonutChart",
690
+ "parameters": [
691
691
  {
692
- "kind": "field",
693
- "name": "resourceName",
692
+ "name": "container",
694
693
  "type": {
695
- "text": "string"
696
- },
697
- "default": "''",
698
- "inheritedFrom": {
699
- "name": "BaseDatasource",
700
- "module": "src/utils/base-datasource.ts"
701
- },
702
- "description": "Name of the backend resource which contain the data.",
703
- "privacy": "public"
694
+ "text": "HTMLElement"
695
+ }
704
696
  },
705
697
  {
706
- "kind": "field",
707
- "name": "criteria",
698
+ "name": "config",
708
699
  "type": {
709
- "text": "string"
710
- },
711
- "inheritedFrom": {
712
- "name": "BaseDatasource",
713
- "module": "src/utils/base-datasource.ts"
714
- },
715
- "description": "Clients can send a Groovy expression to perform filters on the query server,\nthese remain active for the life of the subscription.",
716
- "privacy": "public"
717
- },
700
+ "text": "PieOptions"
701
+ }
702
+ }
703
+ ]
704
+ }
705
+ ],
706
+ "exports": [
707
+ {
708
+ "kind": "js",
709
+ "name": "DonutChart",
710
+ "declaration": {
711
+ "name": "DonutChart",
712
+ "module": "src/models/donut-chart.ts"
713
+ }
714
+ }
715
+ ]
716
+ },
717
+ {
718
+ "kind": "javascript-module",
719
+ "path": "src/models/dual-axes-chart.ts",
720
+ "declarations": [
721
+ {
722
+ "kind": "function",
723
+ "name": "DualAxesChart",
724
+ "parameters": [
718
725
  {
719
- "kind": "field",
720
- "name": "data",
726
+ "name": "container",
721
727
  "type": {
722
- "text": "any[]"
723
- },
724
- "inheritedFrom": {
725
- "name": "BaseDatasource",
726
- "module": "src/utils/base-datasource.ts"
727
- },
728
- "description": "Optional attribute that can be used to pass the data that will be used in the component.",
729
- "privacy": "public"
728
+ "text": "HTMLElement"
729
+ }
730
730
  },
731
731
  {
732
- "kind": "field",
733
- "name": "isSnapshot",
732
+ "name": "config",
734
733
  "type": {
735
- "text": "boolean"
736
- },
737
- "default": "false",
738
- "inheritedFrom": {
739
- "name": "BaseDatasource",
740
- "module": "src/utils/base-datasource.ts"
741
- },
742
- "description": "Request a snapshot from the server.",
743
- "privacy": "public"
744
- },
745
- {
746
- "kind": "field",
747
- "name": "maxRows",
734
+ "text": "DualAxesOptions"
735
+ }
736
+ }
737
+ ]
738
+ }
739
+ ],
740
+ "exports": [
741
+ {
742
+ "kind": "js",
743
+ "name": "DualAxesChart",
744
+ "declaration": {
745
+ "name": "DualAxesChart",
746
+ "module": "src/models/dual-axes-chart.ts"
747
+ }
748
+ }
749
+ ]
750
+ },
751
+ {
752
+ "kind": "javascript-module",
753
+ "path": "src/models/index.ts",
754
+ "declarations": [],
755
+ "exports": [
756
+ {
757
+ "kind": "js",
758
+ "name": "*",
759
+ "declaration": {
760
+ "name": "*",
761
+ "package": "./area-chart"
762
+ }
763
+ },
764
+ {
765
+ "kind": "js",
766
+ "name": "*",
767
+ "declaration": {
768
+ "name": "*",
769
+ "package": "./bar-chart"
770
+ }
771
+ },
772
+ {
773
+ "kind": "js",
774
+ "name": "*",
775
+ "declaration": {
776
+ "name": "*",
777
+ "package": "./column-chart"
778
+ }
779
+ },
780
+ {
781
+ "kind": "js",
782
+ "name": "*",
783
+ "declaration": {
784
+ "name": "*",
785
+ "package": "./donut-chart"
786
+ }
787
+ },
788
+ {
789
+ "kind": "js",
790
+ "name": "*",
791
+ "declaration": {
792
+ "name": "*",
793
+ "package": "./dual-axes-chart"
794
+ }
795
+ },
796
+ {
797
+ "kind": "js",
798
+ "name": "*",
799
+ "declaration": {
800
+ "name": "*",
801
+ "package": "./line-chart"
802
+ }
803
+ },
804
+ {
805
+ "kind": "js",
806
+ "name": "*",
807
+ "declaration": {
808
+ "name": "*",
809
+ "package": "./mix-chart"
810
+ }
811
+ },
812
+ {
813
+ "kind": "js",
814
+ "name": "*",
815
+ "declaration": {
816
+ "name": "*",
817
+ "package": "./pie-chart"
818
+ }
819
+ },
820
+ {
821
+ "kind": "js",
822
+ "name": "*",
823
+ "declaration": {
824
+ "name": "*",
825
+ "package": "./rose-chart"
826
+ }
827
+ },
828
+ {
829
+ "kind": "js",
830
+ "name": "*",
831
+ "declaration": {
832
+ "name": "*",
833
+ "package": "./scatter-chart"
834
+ }
835
+ },
836
+ {
837
+ "kind": "js",
838
+ "name": "*",
839
+ "declaration": {
840
+ "name": "*",
841
+ "package": "./stock-chart"
842
+ }
843
+ }
844
+ ]
845
+ },
846
+ {
847
+ "kind": "javascript-module",
848
+ "path": "src/models/line-chart.ts",
849
+ "declarations": [
850
+ {
851
+ "kind": "function",
852
+ "name": "LineChart",
853
+ "parameters": [
854
+ {
855
+ "name": "container",
748
856
  "type": {
749
- "text": "number"
750
- },
751
- "inheritedFrom": {
752
- "name": "BaseDatasource",
753
- "module": "src/utils/base-datasource.ts"
754
- },
755
- "description": "Maximum number of rows to be returned as part of the initial message,\nand as part of any additional MORE_ROWS messages.\nThis will not affect the number of rows displayed.",
756
- "privacy": "public"
857
+ "text": "HTMLElement"
858
+ }
859
+ },
860
+ {
861
+ "name": "config",
862
+ "type": {
863
+ "text": "LineOptions"
864
+ }
865
+ }
866
+ ]
867
+ }
868
+ ],
869
+ "exports": [
870
+ {
871
+ "kind": "js",
872
+ "name": "LineChart",
873
+ "declaration": {
874
+ "name": "LineChart",
875
+ "module": "src/models/line-chart.ts"
876
+ }
877
+ }
878
+ ]
879
+ },
880
+ {
881
+ "kind": "javascript-module",
882
+ "path": "src/models/mix-chart.ts",
883
+ "declarations": [
884
+ {
885
+ "kind": "function",
886
+ "name": "MixChart",
887
+ "parameters": [
888
+ {
889
+ "name": "container",
890
+ "type": {
891
+ "text": "HTMLElement"
892
+ }
893
+ },
894
+ {
895
+ "name": "config",
896
+ "type": {
897
+ "text": "MixOptions"
898
+ }
899
+ }
900
+ ]
901
+ }
902
+ ],
903
+ "exports": [
904
+ {
905
+ "kind": "js",
906
+ "name": "MixChart",
907
+ "declaration": {
908
+ "name": "MixChart",
909
+ "module": "src/models/mix-chart.ts"
910
+ }
911
+ }
912
+ ]
913
+ },
914
+ {
915
+ "kind": "javascript-module",
916
+ "path": "src/models/pie-chart.ts",
917
+ "declarations": [
918
+ {
919
+ "kind": "function",
920
+ "name": "PieChart",
921
+ "parameters": [
922
+ {
923
+ "name": "container",
924
+ "type": {
925
+ "text": "HTMLElement"
926
+ }
927
+ },
928
+ {
929
+ "name": "config",
930
+ "type": {
931
+ "text": "PieOptions"
932
+ }
933
+ }
934
+ ]
935
+ }
936
+ ],
937
+ "exports": [
938
+ {
939
+ "kind": "js",
940
+ "name": "PieChart",
941
+ "declaration": {
942
+ "name": "PieChart",
943
+ "module": "src/models/pie-chart.ts"
944
+ }
945
+ }
946
+ ]
947
+ },
948
+ {
949
+ "kind": "javascript-module",
950
+ "path": "src/models/rose-chart.ts",
951
+ "declarations": [
952
+ {
953
+ "kind": "function",
954
+ "name": "RoseChart",
955
+ "parameters": [
956
+ {
957
+ "name": "container",
958
+ "type": {
959
+ "text": "HTMLElement"
960
+ }
757
961
  },
962
+ {
963
+ "name": "config",
964
+ "type": {
965
+ "text": "RoseOptions"
966
+ }
967
+ }
968
+ ]
969
+ }
970
+ ],
971
+ "exports": [
972
+ {
973
+ "kind": "js",
974
+ "name": "RoseChart",
975
+ "declaration": {
976
+ "name": "RoseChart",
977
+ "module": "src/models/rose-chart.ts"
978
+ }
979
+ }
980
+ ]
981
+ },
982
+ {
983
+ "kind": "javascript-module",
984
+ "path": "src/models/scatter-chart.ts",
985
+ "declarations": [
986
+ {
987
+ "kind": "function",
988
+ "name": "ScatterChart",
989
+ "parameters": [
990
+ {
991
+ "name": "container",
992
+ "type": {
993
+ "text": "HTMLElement"
994
+ }
995
+ },
996
+ {
997
+ "name": "config",
998
+ "type": {
999
+ "text": "ScatterOptions"
1000
+ }
1001
+ }
1002
+ ]
1003
+ }
1004
+ ],
1005
+ "exports": [
1006
+ {
1007
+ "kind": "js",
1008
+ "name": "ScatterChart",
1009
+ "declaration": {
1010
+ "name": "ScatterChart",
1011
+ "module": "src/models/scatter-chart.ts"
1012
+ }
1013
+ }
1014
+ ]
1015
+ },
1016
+ {
1017
+ "kind": "javascript-module",
1018
+ "path": "src/models/stock-chart.ts",
1019
+ "declarations": [
1020
+ {
1021
+ "kind": "function",
1022
+ "name": "StockChart",
1023
+ "parameters": [
1024
+ {
1025
+ "name": "container",
1026
+ "type": {
1027
+ "text": "HTMLElement"
1028
+ }
1029
+ },
1030
+ {
1031
+ "name": "config",
1032
+ "type": {
1033
+ "text": "StockOptions"
1034
+ }
1035
+ }
1036
+ ]
1037
+ }
1038
+ ],
1039
+ "exports": [
1040
+ {
1041
+ "kind": "js",
1042
+ "name": "StockChart",
1043
+ "declaration": {
1044
+ "name": "StockChart",
1045
+ "module": "src/models/stock-chart.ts"
1046
+ }
1047
+ }
1048
+ ]
1049
+ },
1050
+ {
1051
+ "kind": "javascript-module",
1052
+ "path": "src/settings/colors.ts",
1053
+ "declarations": [
1054
+ {
1055
+ "kind": "variable",
1056
+ "name": "chartsGradients",
1057
+ "type": {
1058
+ "text": "object"
1059
+ },
1060
+ "default": "{\n rapidBlue: `l(270) 0:${PrimaryRapidColorHEX.purple} 1:${PrimaryRapidColorHEX.blue}`,\n rapidGreen: `l(270) 0:${RapidColorHEX.green} 1:${RapidColorHEX.lightGreen}`,\n rapidRed: `l(300) 0:${RapidColorHEX.red} 1:${RapidColorHEX.lightRed}`,\n rapidPortage: `l(270) 0:${RapidColorHEX.portage} 1:${RapidColorHEX.lightPortage}`,\n rapidAlabaster: `l(270) 0:${RapidColorHEX.white} 1:${RapidColorHEX.silver}`,\n rapidSalomie: `l(270) 0:${RapidColorHEX.salomie} 1:${RapidColorHEX.lightSalomie}`,\n rapidMelon: `l(270) 0:${RapidColorHEX.melon} 1:${RapidColorHEX.lightMelon}`,\n rapidDodgerBlue: `l(270) 0:${RapidColorHEX.dodgerBlue} 1:${RapidColorHEX.lightDodgerBlue}`,\n rapidIce: `l(170) 0:${RapidColorHEX.ice} 1:${RapidColorHEX.lightIce}`,\n rapidViolet: `l(270) 0:${RapidColorHEX.violet} 1:${RapidColorHEX.lightViolet}`,\n}",
1061
+ "description": "G2Plot Chart gradient colors",
1062
+ "privacy": "public"
1063
+ }
1064
+ ],
1065
+ "exports": [
1066
+ {
1067
+ "kind": "js",
1068
+ "name": "chartsGradients",
1069
+ "declaration": {
1070
+ "name": "chartsGradients",
1071
+ "module": "src/settings/colors.ts"
1072
+ }
1073
+ }
1074
+ ]
1075
+ },
1076
+ {
1077
+ "kind": "javascript-module",
1078
+ "path": "src/settings/index.ts",
1079
+ "declarations": [],
1080
+ "exports": [
1081
+ {
1082
+ "kind": "js",
1083
+ "name": "*",
1084
+ "declaration": {
1085
+ "name": "*",
1086
+ "package": "./colors"
1087
+ }
1088
+ },
1089
+ {
1090
+ "kind": "js",
1091
+ "name": "*",
1092
+ "declaration": {
1093
+ "name": "*",
1094
+ "package": "./shapes"
1095
+ }
1096
+ }
1097
+ ]
1098
+ },
1099
+ {
1100
+ "kind": "javascript-module",
1101
+ "path": "src/settings/shapes.ts",
1102
+ "declarations": [],
1103
+ "exports": []
1104
+ },
1105
+ {
1106
+ "kind": "javascript-module",
1107
+ "path": "src/chart-datasource/chart-datasource.ts",
1108
+ "declarations": [
1109
+ {
1110
+ "kind": "variable",
1111
+ "name": "defaultChartFields",
1112
+ "type": {
1113
+ "text": "string"
1114
+ },
1115
+ "default": "'groupBy value'",
1116
+ "description": "The first and second default chart fields when it's a dual axes chart.",
1117
+ "privacy": "public"
1118
+ },
1119
+ {
1120
+ "kind": "variable",
1121
+ "name": "defaultSeriesChartField",
1122
+ "type": {
1123
+ "text": "string"
1124
+ },
1125
+ "default": "'series'",
1126
+ "description": "The third default chart field when it's a triple axes chart.",
1127
+ "privacy": "public"
1128
+ },
1129
+ {
1130
+ "kind": "class",
1131
+ "description": "The Genesis Datasource for the `g2plot-chart` component.",
1132
+ "name": "ChartDatasource",
1133
+ "members": [
758
1134
  {
759
1135
  "kind": "field",
760
- "name": "maxView",
1136
+ "name": "chartFields",
761
1137
  "type": {
762
- "text": "number"
763
- },
764
- "inheritedFrom": {
765
- "name": "BaseDatasource",
766
- "module": "src/utils/base-datasource.ts"
1138
+ "text": "string"
767
1139
  },
768
- "description": "Maximum number of rows to track as part of a client \"view\"."
1140
+ "default": "'groupBy value'",
1141
+ "description": "Default value is 'groupBy value'. Can be customized but order matters.\n\n[Mandatory] First is always the xField/colorField\n[Mandatory] Second is always the yField/angleField\n[Optional] Third is always the seriesField",
1142
+ "privacy": "public"
769
1143
  },
770
1144
  {
771
1145
  "kind": "field",
772
- "name": "orderBy",
1146
+ "name": "serverFields",
773
1147
  "type": {
774
1148
  "text": "string"
775
1149
  },
776
- "inheritedFrom": {
777
- "name": "BaseDatasource",
778
- "module": "src/utils/base-datasource.ts"
779
- },
780
- "description": "This option can be used to select a Data Server index (defined in the Data Server query),\nwhich is especially useful if you want the data to be sorted in a specific way. By default,\nData Server rows are returned in order of creation (from oldest database record to newest).",
1150
+ "description": "Can be customized but order matters.\n\n[Mandatory] First will be associated to the first value in 'chartFields' (xField/colorField)\n[Mandatory] Second will be associated to the second value in 'chartFields' (yField/angleField)\n[Optional] Third will be associated to the third value in 'chartFields' (seriesField)",
781
1151
  "privacy": "public"
782
1152
  },
783
1153
  {
784
1154
  "kind": "field",
785
- "name": "request",
1155
+ "name": "isStack",
786
1156
  "type": {
787
- "text": "any"
788
- },
789
- "inheritedFrom": {
790
- "name": "BaseDatasource",
791
- "module": "src/utils/base-datasource.ts"
1157
+ "text": "boolean"
792
1158
  },
793
- "description": "This optional parameter enables you to specify request fields, which can include wildcards.",
1159
+ "default": "false",
1160
+ "description": "If true, will enable stacked chart to effectively portray comparisons of total values across several categories.",
794
1161
  "privacy": "public"
795
1162
  },
796
1163
  {
797
1164
  "kind": "field",
798
- "name": "reverse",
1165
+ "name": "isGroup",
799
1166
  "type": {
800
1167
  "text": "boolean"
801
1168
  },
802
1169
  "default": "false",
803
- "inheritedFrom": {
804
- "name": "BaseDatasource",
805
- "module": "src/utils/base-datasource.ts"
806
- },
807
- "description": "This option changes the Data Server index iteration.\nFor example, if you are using the default index,\nthe query will return rows in order from the newest database records to the oldest.",
1170
+ "description": "If true, will enable grouped chart plotting numeric values for levels of two categorical variables instead of one.",
808
1171
  "privacy": "public"
809
1172
  },
810
1173
  {
811
1174
  "kind": "field",
812
- "name": "rowId",
1175
+ "name": "reduced",
813
1176
  "type": {
814
- "text": "string"
1177
+ "text": "boolean"
815
1178
  },
816
- "default": "'ROW_REF'",
1179
+ "privacy": "protected",
1180
+ "default": "true",
1181
+ "description": "Enabled by default, will not work if a custom charts-fields is used (requires [type, value]).",
817
1182
  "inheritedFrom": {
818
- "name": "BaseDatasource",
819
- "module": "src/utils/base-datasource.ts"
820
- },
821
- "description": "Attribute to set an unique identifier for the row.",
822
- "privacy": "public"
823
- },
824
- {
825
- "kind": "method",
826
- "name": "prepareSeriesField",
827
- "privacy": "private",
828
- "return": {
829
- "type": {
830
- "text": "void"
831
- }
832
- }
833
- },
834
- {
835
- "kind": "method",
836
- "name": "prepareValidServerFieldsMetadata",
837
- "privacy": "private",
838
- "return": {
839
- "type": {
840
- "text": "string[]"
841
- }
1183
+ "name": "ConcreteDatasource",
1184
+ "module": "src/chart-datasource/chart-datasource.ts"
842
1185
  }
843
1186
  },
844
1187
  {
845
- "kind": "method",
846
- "name": "hasValidFieldsStructure",
847
- "privacy": "private",
848
- "return": {
849
- "type": {
850
- "text": "boolean"
851
- }
852
- },
853
- "parameters": [
854
- {
855
- "name": "fieldsArray",
856
- "type": {
857
- "text": "string[]"
858
- }
859
- }
860
- ]
861
- },
862
- {
863
- "kind": "method",
864
- "name": "cloneNode",
865
- "return": {
866
- "type": {
867
- "text": "Node"
868
- }
1188
+ "kind": "field",
1189
+ "name": "showFormattedTime",
1190
+ "type": {
1191
+ "text": "boolean"
869
1192
  },
870
- "parameters": [
871
- {
872
- "name": "deep",
873
- "optional": true,
874
- "type": {
875
- "text": "boolean"
876
- }
877
- }
878
- ],
1193
+ "privacy": "protected",
1194
+ "default": "false",
1195
+ "description": "Only works if [withTimestampFormatting] is true.\n\nDisabled by default, will ignore the TIME portion in the Chart labels.\nOnly affects [DATETIME] fields.",
879
1196
  "inheritedFrom": {
880
- "name": "LifecycleMixin",
881
- "module": "src/mixins/lifecycle/lifecycle.ts"
1197
+ "name": "ConcreteDatasource",
1198
+ "module": "src/chart-datasource/chart-datasource.ts"
882
1199
  }
883
1200
  },
884
1201
  {
885
- "kind": "method",
886
- "name": "deepClone",
887
- "return": {
888
- "type": {
889
- "text": "Node"
890
- }
1202
+ "kind": "field",
1203
+ "name": "withTimestampFormatting",
1204
+ "type": {
1205
+ "text": "boolean"
891
1206
  },
1207
+ "default": "true",
1208
+ "description": "Enabled by default, will format UNIX timestamp fields to readable [DATE|DATETIME] values.",
1209
+ "privacy": "public",
892
1210
  "inheritedFrom": {
893
- "name": "LifecycleMixin",
894
- "module": "src/mixins/lifecycle/lifecycle.ts"
1211
+ "name": "BaseDatasource",
1212
+ "module": "src/utils/base-datasource.ts"
895
1213
  }
896
1214
  },
897
1215
  {
898
1216
  "kind": "field",
899
- "name": "shouldRunDisconnect",
900
- "return": {
901
- "type": {
902
- "text": ""
903
- }
1217
+ "name": "resourceName",
1218
+ "type": {
1219
+ "text": "string"
904
1220
  },
905
- "readonly": true,
1221
+ "default": "''",
906
1222
  "inheritedFrom": {
907
- "name": "LifecycleMixin",
908
- "module": "src/mixins/lifecycle/lifecycle.ts"
909
- }
1223
+ "name": "BaseDatasource",
1224
+ "module": "src/utils/base-datasource.ts"
1225
+ },
1226
+ "description": "Name of the backend resource which contain the data.",
1227
+ "privacy": "public"
910
1228
  },
911
1229
  {
912
1230
  "kind": "field",
913
- "name": "shouldRunConnect",
914
- "return": {
915
- "type": {
916
- "text": ""
917
- }
1231
+ "name": "criteria",
1232
+ "type": {
1233
+ "text": "string"
918
1234
  },
919
- "readonly": true,
920
1235
  "inheritedFrom": {
921
- "name": "LifecycleMixin",
922
- "module": "src/mixins/lifecycle/lifecycle.ts"
923
- }
1236
+ "name": "BaseDatasource",
1237
+ "module": "src/utils/base-datasource.ts"
1238
+ },
1239
+ "description": "Clients can send a Groovy expression to perform filters on the query server,\nthese remain active for the life of the subscription.",
1240
+ "privacy": "public"
924
1241
  },
925
1242
  {
926
- "kind": "method",
927
- "name": "#_blockLifecycleDueToTokenChange",
928
- "return": {
929
- "type": {
930
- "text": "boolean"
931
- }
932
- },
933
- "parameters": [
934
- {
935
- "name": "lifecycleType",
936
- "type": {
937
- "text": "Lifecycletype"
938
- }
939
- }
940
- ],
941
- "inheritedFrom": {
942
- "name": "LifecycleMixin",
943
- "module": "src/mixins/lifecycle/lifecycle.ts"
944
- }
1243
+ "kind": "field",
1244
+ "name": "data",
1245
+ "type": {
1246
+ "text": "any[]"
1247
+ },
1248
+ "inheritedFrom": {
1249
+ "name": "BaseDatasource",
1250
+ "module": "src/utils/base-datasource.ts"
1251
+ },
1252
+ "description": "Optional attribute that can be used to pass the data that will be used in the component.",
1253
+ "privacy": "public"
945
1254
  },
946
1255
  {
947
1256
  "kind": "field",
948
- "name": "chart",
1257
+ "name": "isSnapshot",
949
1258
  "type": {
950
- "text": "G2PlotChart"
1259
+ "text": "boolean"
951
1260
  },
952
- "privacy": "protected",
1261
+ "default": "false",
953
1262
  "inheritedFrom": {
954
- "name": "ConcreteDatasource",
955
- "module": "src/chart-datasource/chart-datasource.ts"
956
- }
1263
+ "name": "BaseDatasource",
1264
+ "module": "src/utils/base-datasource.ts"
1265
+ },
1266
+ "description": "Request a snapshot from the server.",
1267
+ "privacy": "public"
957
1268
  },
958
1269
  {
959
1270
  "kind": "field",
960
- "name": "extractedServerFields",
1271
+ "name": "maxRows",
961
1272
  "type": {
962
- "text": "string[]"
1273
+ "text": "number"
963
1274
  },
964
- "privacy": "protected",
965
1275
  "inheritedFrom": {
966
- "name": "ConcreteDatasource",
967
- "module": "src/chart-datasource/chart-datasource.ts"
968
- }
1276
+ "name": "BaseDatasource",
1277
+ "module": "src/utils/base-datasource.ts"
1278
+ },
1279
+ "description": "Maximum number of rows to be returned as part of the initial message,\nand as part of any additional MORE_ROWS messages.\nThis will not affect the number of rows displayed.",
1280
+ "privacy": "public"
969
1281
  },
970
1282
  {
971
1283
  "kind": "field",
972
- "name": "validServerFieldsMetadata",
1284
+ "name": "maxView",
973
1285
  "type": {
974
- "text": "Map<string, FieldMetadata>"
1286
+ "text": "number"
975
1287
  },
976
- "privacy": "protected",
977
1288
  "inheritedFrom": {
978
- "name": "ConcreteDatasource",
979
- "module": "src/chart-datasource/chart-datasource.ts"
980
- }
1289
+ "name": "BaseDatasource",
1290
+ "module": "src/utils/base-datasource.ts"
1291
+ },
1292
+ "description": "Maximum number of rows to track as part of a client \"view\"."
981
1293
  },
982
1294
  {
983
1295
  "kind": "field",
984
- "name": "seriesChartField",
1296
+ "name": "orderBy",
985
1297
  "type": {
986
1298
  "text": "string"
987
1299
  },
988
- "privacy": "protected",
989
1300
  "inheritedFrom": {
990
- "name": "ConcreteDatasource",
991
- "module": "src/chart-datasource/chart-datasource.ts"
992
- }
1301
+ "name": "BaseDatasource",
1302
+ "module": "src/utils/base-datasource.ts"
1303
+ },
1304
+ "description": "This option can be used to select a Data Server index (defined in the Data Server query),\nwhich is especially useful if you want the data to be sorted in a specific way. By default,\nData Server rows are returned in order of creation (from oldest database record to newest).",
1305
+ "privacy": "public"
993
1306
  },
994
1307
  {
995
1308
  "kind": "field",
996
- "name": "extractedChartsFields",
1309
+ "name": "request",
997
1310
  "type": {
998
- "text": "string[]"
1311
+ "text": "any"
999
1312
  },
1000
- "privacy": "protected",
1001
1313
  "inheritedFrom": {
1002
- "name": "ConcreteDatasource",
1003
- "module": "src/chart-datasource/chart-datasource.ts"
1004
- }
1314
+ "name": "BaseDatasource",
1315
+ "module": "src/utils/base-datasource.ts"
1316
+ },
1317
+ "description": "This optional parameter enables you to specify request fields, which can include wildcards.",
1318
+ "privacy": "public"
1005
1319
  },
1006
1320
  {
1007
1321
  "kind": "field",
1008
- "name": "groupByServerFieldName",
1322
+ "name": "reverse",
1009
1323
  "type": {
1010
- "text": "string"
1324
+ "text": "boolean"
1011
1325
  },
1012
- "readonly": true,
1326
+ "default": "false",
1013
1327
  "inheritedFrom": {
1014
- "name": "ConcreteDatasource",
1015
- "module": "src/chart-datasource/chart-datasource.ts"
1016
- }
1328
+ "name": "BaseDatasource",
1329
+ "module": "src/utils/base-datasource.ts"
1330
+ },
1331
+ "description": "This option changes the Data Server index iteration.\nFor example, if you are using the default index,\nthe query will return rows in order from the newest database records to the oldest.",
1332
+ "privacy": "public"
1017
1333
  },
1018
1334
  {
1019
- "kind": "method",
1020
- "name": "clearData",
1021
- "return": {
1022
- "type": {
1023
- "text": "void"
1024
- }
1335
+ "kind": "field",
1336
+ "name": "rowId",
1337
+ "type": {
1338
+ "text": "string"
1025
1339
  },
1340
+ "default": "'ROW_REF'",
1026
1341
  "inheritedFrom": {
1027
1342
  "name": "BaseDatasource",
1028
1343
  "module": "src/utils/base-datasource.ts"
1029
- }
1344
+ },
1345
+ "description": "Attribute to set an unique identifier for the row.",
1346
+ "privacy": "public"
1030
1347
  },
1031
1348
  {
1032
1349
  "kind": "method",
1033
- "name": "syncComponentData",
1350
+ "name": "prepareSeriesField",
1351
+ "privacy": "private",
1034
1352
  "return": {
1035
1353
  "type": {
1036
1354
  "text": "void"
1037
1355
  }
1038
- },
1039
- "parameters": [
1040
- {
1041
- "name": "snapshotData",
1042
- "optional": true,
1043
- "type": {
1044
- "text": "any[]"
1045
- }
1046
- }
1047
- ],
1048
- "inheritedFrom": {
1049
- "name": "BaseDatasource",
1050
- "module": "src/utils/base-datasource.ts"
1051
1356
  }
1052
1357
  },
1053
1358
  {
1054
1359
  "kind": "method",
1055
- "name": "handleStreamInserts",
1360
+ "name": "prepareValidServerFieldsMetadata",
1361
+ "privacy": "private",
1056
1362
  "return": {
1057
1363
  "type": {
1058
- "text": "void"
1059
- }
1060
- },
1061
- "parameters": [
1062
- {
1063
- "name": "insertedRows",
1064
- "type": {
1065
- "text": "any[]"
1066
- }
1364
+ "text": "string[]"
1067
1365
  }
1068
- ],
1069
- "inheritedFrom": {
1070
- "name": "BaseDatasource",
1071
- "module": "src/utils/base-datasource.ts"
1072
1366
  }
1073
1367
  },
1074
1368
  {
1075
1369
  "kind": "method",
1076
- "name": "handleStreamDeletes",
1370
+ "name": "hasValidFieldsStructure",
1371
+ "privacy": "private",
1077
1372
  "return": {
1078
1373
  "type": {
1079
- "text": "void"
1374
+ "text": "boolean"
1080
1375
  }
1081
1376
  },
1082
1377
  "parameters": [
1083
1378
  {
1084
- "name": "deletedRows",
1379
+ "name": "fieldsArray",
1085
1380
  "type": {
1086
- "text": "any[]"
1381
+ "text": "string[]"
1087
1382
  }
1088
1383
  }
1089
- ],
1090
- "inheritedFrom": {
1091
- "name": "BaseDatasource",
1092
- "module": "src/utils/base-datasource.ts"
1093
- }
1384
+ ]
1094
1385
  },
1095
1386
  {
1096
1387
  "kind": "method",
1097
- "name": "handleStreamUpdates",
1388
+ "name": "cloneNode",
1098
1389
  "return": {
1099
1390
  "type": {
1100
- "text": "void"
1391
+ "text": "Node"
1101
1392
  }
1102
1393
  },
1103
1394
  "parameters": [
1104
1395
  {
1105
- "name": "updatedRows",
1396
+ "name": "deep",
1397
+ "optional": true,
1106
1398
  "type": {
1107
- "text": "any[]"
1399
+ "text": "boolean"
1108
1400
  }
1109
1401
  }
1110
1402
  ],
1111
1403
  "inheritedFrom": {
1112
- "name": "BaseDatasource",
1113
- "module": "src/utils/base-datasource.ts"
1404
+ "name": "LifecycleMixin",
1405
+ "module": "src/mixins/lifecycle/lifecycle.ts"
1114
1406
  }
1115
1407
  },
1116
1408
  {
1117
- "kind": "field",
1118
- "name": "connect",
1119
- "type": {
1120
- "text": "Connect"
1409
+ "kind": "method",
1410
+ "name": "deepClone",
1411
+ "return": {
1412
+ "type": {
1413
+ "text": "Node"
1414
+ }
1121
1415
  },
1122
1416
  "inheritedFrom": {
1123
- "name": "BaseDatasource",
1124
- "module": "src/utils/base-datasource.ts"
1417
+ "name": "LifecycleMixin",
1418
+ "module": "src/mixins/lifecycle/lifecycle.ts"
1125
1419
  }
1126
1420
  },
1127
1421
  {
1128
1422
  "kind": "field",
1129
- "name": "datasource",
1130
- "type": {
1131
- "text": "Datasource"
1423
+ "name": "shouldRunDisconnect",
1424
+ "return": {
1425
+ "type": {
1426
+ "text": ""
1427
+ }
1132
1428
  },
1429
+ "readonly": true,
1133
1430
  "inheritedFrom": {
1134
- "name": "BaseDatasource",
1135
- "module": "src/utils/base-datasource.ts"
1431
+ "name": "LifecycleMixin",
1432
+ "module": "src/mixins/lifecycle/lifecycle.ts"
1136
1433
  }
1137
1434
  },
1138
1435
  {
1139
1436
  "kind": "field",
1140
- "name": "withGridInit",
1141
- "type": {
1142
- "text": "boolean"
1143
- },
1144
- "default": "true",
1145
- "inheritedFrom": {
1146
- "name": "BaseDatasource",
1147
- "module": "src/utils/base-datasource.ts"
1148
- }
1149
- },
1150
- {
1151
- "kind": "method",
1152
- "name": "criteriaChanged",
1153
- "parameters": [
1154
- {
1155
- "name": "oldCriteria",
1156
- "type": {
1157
- "text": "string"
1158
- }
1159
- },
1160
- {
1161
- "name": "newCriteria",
1162
- "type": {
1163
- "text": "string"
1164
- }
1165
- }
1166
- ],
1167
- "inheritedFrom": {
1168
- "name": "BaseDatasource",
1169
- "module": "src/utils/base-datasource.ts"
1170
- }
1171
- },
1172
- {
1173
- "kind": "method",
1174
- "name": "dataChanged",
1175
- "parameters": [
1176
- {
1177
- "name": "oldValue"
1437
+ "name": "shouldRunConnect",
1438
+ "return": {
1439
+ "type": {
1440
+ "text": ""
1178
1441
  }
1179
- ],
1180
- "inheritedFrom": {
1181
- "name": "BaseDatasource",
1182
- "module": "src/utils/base-datasource.ts"
1183
- }
1184
- },
1185
- {
1186
- "kind": "field",
1187
- "name": "fields",
1188
- "type": {
1189
- "text": "string"
1190
1442
  },
1443
+ "readonly": true,
1191
1444
  "inheritedFrom": {
1192
- "name": "BaseDatasource",
1193
- "module": "src/utils/base-datasource.ts"
1194
- }
1195
- },
1196
- {
1197
- "kind": "method",
1198
- "name": "requestChanged",
1199
- "parameters": [
1200
- {
1201
- "name": "oldValue"
1202
- },
1203
- {
1204
- "name": "newValue"
1205
- }
1206
- ],
1207
- "inheritedFrom": {
1208
- "name": "BaseDatasource",
1209
- "module": "src/utils/base-datasource.ts"
1445
+ "name": "LifecycleMixin",
1446
+ "module": "src/mixins/lifecycle/lifecycle.ts"
1210
1447
  }
1211
1448
  },
1212
1449
  {
1213
1450
  "kind": "method",
1214
- "name": "refetchIfInitializedAndChanged",
1215
- "privacy": "private",
1451
+ "name": "#_blockLifecycleDueToTokenChange",
1216
1452
  "return": {
1217
1453
  "type": {
1218
- "text": "void"
1454
+ "text": "boolean"
1219
1455
  }
1220
1456
  },
1221
1457
  "parameters": [
1222
1458
  {
1223
- "name": "hasChanged",
1459
+ "name": "lifecycleType",
1224
1460
  "type": {
1225
- "text": "boolean"
1461
+ "text": "Lifecycletype"
1226
1462
  }
1227
1463
  }
1228
1464
  ],
1229
1465
  "inheritedFrom": {
1230
- "name": "BaseDatasource",
1231
- "module": "src/utils/base-datasource.ts"
1232
- }
1233
- },
1234
- {
1235
- "kind": "field",
1236
- "name": "datasourceConfig",
1237
- "inheritedFrom": {
1238
- "name": "BaseDatasource",
1239
- "module": "src/utils/base-datasource.ts"
1240
- }
1241
- },
1242
- {
1243
- "kind": "field",
1244
- "name": "requiresFullDataRefresh",
1245
- "type": {
1246
- "text": "boolean"
1247
- },
1248
- "privacy": "public",
1249
- "default": "true",
1250
- "inheritedFrom": {
1251
- "name": "BaseDatasource",
1252
- "module": "src/utils/base-datasource.ts"
1466
+ "name": "LifecycleMixin",
1467
+ "module": "src/mixins/lifecycle/lifecycle.ts"
1253
1468
  }
1254
1469
  },
1255
1470
  {
1256
1471
  "kind": "field",
1257
- "name": "dataSub",
1472
+ "name": "chart",
1258
1473
  "type": {
1259
- "text": "Subscription"
1474
+ "text": "G2PlotChart"
1260
1475
  },
1261
- "privacy": "public",
1476
+ "privacy": "protected",
1262
1477
  "inheritedFrom": {
1263
- "name": "BaseDatasource",
1264
- "module": "src/utils/base-datasource.ts"
1478
+ "name": "ConcreteDatasource",
1479
+ "module": "src/chart-datasource/chart-datasource.ts"
1265
1480
  }
1266
1481
  },
1267
1482
  {
1268
1483
  "kind": "field",
1269
- "name": "sourceRef",
1484
+ "name": "extractedServerFields",
1270
1485
  "type": {
1271
- "text": "string"
1486
+ "text": "string[]"
1272
1487
  },
1273
- "privacy": "private",
1488
+ "privacy": "protected",
1274
1489
  "inheritedFrom": {
1275
- "name": "BaseDatasource",
1276
- "module": "src/utils/base-datasource.ts"
1490
+ "name": "ConcreteDatasource",
1491
+ "module": "src/chart-datasource/chart-datasource.ts"
1277
1492
  }
1278
1493
  },
1279
1494
  {
1280
1495
  "kind": "field",
1281
- "name": "rowsSyncedWithStream",
1496
+ "name": "validServerFieldsMetadata",
1282
1497
  "type": {
1283
- "text": "Map<string, any>"
1498
+ "text": "Map<string, FieldMetadata>"
1284
1499
  },
1285
- "privacy": "public",
1286
- "default": "new Map()",
1500
+ "privacy": "protected",
1287
1501
  "inheritedFrom": {
1288
- "name": "BaseDatasource",
1289
- "module": "src/utils/base-datasource.ts"
1502
+ "name": "ConcreteDatasource",
1503
+ "module": "src/chart-datasource/chart-datasource.ts"
1290
1504
  }
1291
1505
  },
1292
1506
  {
1293
1507
  "kind": "field",
1294
- "name": "dataSubWasLoggedOff",
1508
+ "name": "seriesChartField",
1295
1509
  "type": {
1296
- "text": "boolean"
1510
+ "text": "string"
1297
1511
  },
1298
- "privacy": "public",
1299
- "default": "false",
1512
+ "privacy": "protected",
1300
1513
  "inheritedFrom": {
1301
- "name": "BaseDatasource",
1302
- "module": "src/utils/base-datasource.ts"
1514
+ "name": "ConcreteDatasource",
1515
+ "module": "src/chart-datasource/chart-datasource.ts"
1303
1516
  }
1304
1517
  },
1305
1518
  {
1306
1519
  "kind": "field",
1307
- "name": "criteriaFromFilters",
1520
+ "name": "extractedChartsFields",
1308
1521
  "type": {
1309
- "text": "Map<string, string>"
1522
+ "text": "string[]"
1310
1523
  },
1311
- "privacy": "private",
1312
- "default": "new Map()",
1524
+ "privacy": "protected",
1313
1525
  "inheritedFrom": {
1314
- "name": "BaseDatasource",
1315
- "module": "src/utils/base-datasource.ts"
1526
+ "name": "ConcreteDatasource",
1527
+ "module": "src/chart-datasource/chart-datasource.ts"
1316
1528
  }
1317
1529
  },
1318
1530
  {
1319
1531
  "kind": "field",
1320
- "name": "update",
1532
+ "name": "groupByServerFieldName",
1321
1533
  "type": {
1322
- "text": "BehaviorSubject<Map<string, string>>"
1534
+ "text": "string"
1323
1535
  },
1324
- "privacy": "public",
1325
- "default": "new BehaviorSubject(new Map())",
1536
+ "readonly": true,
1326
1537
  "inheritedFrom": {
1327
- "name": "BaseDatasource",
1328
- "module": "src/utils/base-datasource.ts"
1538
+ "name": "ConcreteDatasource",
1539
+ "module": "src/chart-datasource/chart-datasource.ts"
1329
1540
  }
1330
1541
  },
1331
1542
  {
1332
1543
  "kind": "method",
1333
- "name": "reset",
1544
+ "name": "clearData",
1545
+ "return": {
1546
+ "type": {
1547
+ "text": "void"
1548
+ }
1549
+ },
1334
1550
  "inheritedFrom": {
1335
1551
  "name": "BaseDatasource",
1336
1552
  "module": "src/utils/base-datasource.ts"
@@ -1338,12 +1554,19 @@
1338
1554
  },
1339
1555
  {
1340
1556
  "kind": "method",
1341
- "name": "fetchGenesisData",
1342
- "privacy": "public",
1557
+ "name": "syncComponentData",
1558
+ "return": {
1559
+ "type": {
1560
+ "text": "void"
1561
+ }
1562
+ },
1343
1563
  "parameters": [
1344
1564
  {
1345
- "name": "withFullInit",
1346
- "default": "true"
1565
+ "name": "snapshotData",
1566
+ "optional": true,
1567
+ "type": {
1568
+ "text": "any[]"
1569
+ }
1347
1570
  }
1348
1571
  ],
1349
1572
  "inheritedFrom": {
@@ -1353,36 +1576,17 @@
1353
1576
  },
1354
1577
  {
1355
1578
  "kind": "method",
1356
- "name": "initDatasource",
1357
- "privacy": "public",
1358
- "inheritedFrom": {
1359
- "name": "BaseDatasource",
1360
- "module": "src/utils/base-datasource.ts"
1361
- }
1362
- },
1363
- {
1364
- "kind": "method",
1365
- "name": "datasourceOptions",
1366
- "privacy": "private",
1579
+ "name": "handleStreamInserts",
1367
1580
  "return": {
1368
1581
  "type": {
1369
- "text": "DatasourceOptions"
1582
+ "text": "void"
1370
1583
  }
1371
1584
  },
1372
- "inheritedFrom": {
1373
- "name": "BaseDatasource",
1374
- "module": "src/utils/base-datasource.ts"
1375
- }
1376
- },
1377
- {
1378
- "kind": "method",
1379
- "name": "handleStreamUpdate",
1380
- "privacy": "private",
1381
1585
  "parameters": [
1382
1586
  {
1383
- "name": "result",
1587
+ "name": "insertedRows",
1384
1588
  "type": {
1385
- "text": "FilteredDataServerResult | RequestServerResult"
1589
+ "text": "any[]"
1386
1590
  }
1387
1591
  }
1388
1592
  ],
@@ -1393,13 +1597,17 @@
1393
1597
  },
1394
1598
  {
1395
1599
  "kind": "method",
1396
- "name": "applyRequestServerData",
1397
- "privacy": "public",
1600
+ "name": "handleStreamDeletes",
1601
+ "return": {
1602
+ "type": {
1603
+ "text": "void"
1604
+ }
1605
+ },
1398
1606
  "parameters": [
1399
1607
  {
1400
- "name": "requestServerResult",
1608
+ "name": "deletedRows",
1401
1609
  "type": {
1402
- "text": "RequestServerResult"
1610
+ "text": "any[]"
1403
1611
  }
1404
1612
  }
1405
1613
  ],
@@ -1410,13 +1618,17 @@
1410
1618
  },
1411
1619
  {
1412
1620
  "kind": "method",
1413
- "name": "applyDataserverData",
1414
- "privacy": "public",
1621
+ "name": "handleStreamUpdates",
1622
+ "return": {
1623
+ "type": {
1624
+ "text": "void"
1625
+ }
1626
+ },
1415
1627
  "parameters": [
1416
1628
  {
1417
- "name": "dataServerResult",
1629
+ "name": "updatedRows",
1418
1630
  "type": {
1419
- "text": "FilteredDataServerResult"
1631
+ "text": "any[]"
1420
1632
  }
1421
1633
  }
1422
1634
  ],
@@ -1426,14 +1638,34 @@
1426
1638
  }
1427
1639
  },
1428
1640
  {
1429
- "kind": "method",
1430
- "name": "buildCriteria",
1431
- "privacy": "private",
1432
- "return": {
1433
- "type": {
1434
- "text": "string"
1435
- }
1641
+ "kind": "field",
1642
+ "name": "connect",
1643
+ "type": {
1644
+ "text": "Connect"
1645
+ },
1646
+ "inheritedFrom": {
1647
+ "name": "BaseDatasource",
1648
+ "module": "src/utils/base-datasource.ts"
1649
+ }
1650
+ },
1651
+ {
1652
+ "kind": "field",
1653
+ "name": "datasource",
1654
+ "type": {
1655
+ "text": "Datasource"
1656
+ },
1657
+ "inheritedFrom": {
1658
+ "name": "BaseDatasource",
1659
+ "module": "src/utils/base-datasource.ts"
1660
+ }
1661
+ },
1662
+ {
1663
+ "kind": "field",
1664
+ "name": "withGridInit",
1665
+ "type": {
1666
+ "text": "boolean"
1436
1667
  },
1668
+ "default": "true",
1437
1669
  "inheritedFrom": {
1438
1670
  "name": "BaseDatasource",
1439
1671
  "module": "src/utils/base-datasource.ts"
@@ -1441,17 +1673,16 @@
1441
1673
  },
1442
1674
  {
1443
1675
  "kind": "method",
1444
- "name": "setFilter",
1445
- "privacy": "public",
1676
+ "name": "criteriaChanged",
1446
1677
  "parameters": [
1447
1678
  {
1448
- "name": "fieldName",
1679
+ "name": "oldCriteria",
1449
1680
  "type": {
1450
1681
  "text": "string"
1451
1682
  }
1452
1683
  },
1453
1684
  {
1454
- "name": "newFilter",
1685
+ "name": "newCriteria",
1455
1686
  "type": {
1456
1687
  "text": "string"
1457
1688
  }
@@ -1464,14 +1695,10 @@
1464
1695
  },
1465
1696
  {
1466
1697
  "kind": "method",
1467
- "name": "removeFilter",
1468
- "privacy": "public",
1698
+ "name": "dataChanged",
1469
1699
  "parameters": [
1470
1700
  {
1471
- "name": "fieldName",
1472
- "type": {
1473
- "text": "string"
1474
- }
1701
+ "name": "oldValue"
1475
1702
  }
1476
1703
  ],
1477
1704
  "inheritedFrom": {
@@ -1480,20 +1707,25 @@
1480
1707
  }
1481
1708
  },
1482
1709
  {
1483
- "kind": "method",
1484
- "name": "handleError",
1485
- "return": {
1486
- "type": {
1487
- "text": "void"
1488
- }
1710
+ "kind": "field",
1711
+ "name": "fields",
1712
+ "type": {
1713
+ "text": "string"
1489
1714
  },
1715
+ "inheritedFrom": {
1716
+ "name": "BaseDatasource",
1717
+ "module": "src/utils/base-datasource.ts"
1718
+ }
1719
+ },
1720
+ {
1721
+ "kind": "method",
1722
+ "name": "requestChanged",
1490
1723
  "parameters": [
1491
1724
  {
1492
- "name": "params",
1493
- "default": "{}",
1494
- "type": {
1495
- "text": "BaseDatasourceErrorHandlingOptions"
1496
- }
1725
+ "name": "oldValue"
1726
+ },
1727
+ {
1728
+ "name": "newValue"
1497
1729
  }
1498
1730
  ],
1499
1731
  "inheritedFrom": {
@@ -1503,17 +1735,18 @@
1503
1735
  },
1504
1736
  {
1505
1737
  "kind": "method",
1506
- "name": "getFieldMetadata",
1738
+ "name": "refetchIfInitializedAndChanged",
1739
+ "privacy": "private",
1507
1740
  "return": {
1508
1741
  "type": {
1509
- "text": "FieldMetadata"
1742
+ "text": "void"
1510
1743
  }
1511
1744
  },
1512
1745
  "parameters": [
1513
1746
  {
1514
- "name": "fieldName",
1747
+ "name": "hasChanged",
1515
1748
  "type": {
1516
- "text": "string"
1749
+ "text": "boolean"
1517
1750
  }
1518
1751
  }
1519
1752
  ],
@@ -1523,22 +1756,8 @@
1523
1756
  }
1524
1757
  },
1525
1758
  {
1526
- "kind": "method",
1527
- "name": "getDefaultLabelFormat",
1528
- "parameters": [
1529
- {
1530
- "name": "field",
1531
- "type": {
1532
- "text": "any"
1533
- }
1534
- },
1535
- {
1536
- "name": "type",
1537
- "type": {
1538
- "text": "FieldTypeEnum"
1539
- }
1540
- }
1541
- ],
1759
+ "kind": "field",
1760
+ "name": "datasourceConfig",
1542
1761
  "inheritedFrom": {
1543
1762
  "name": "BaseDatasource",
1544
1763
  "module": "src/utils/base-datasource.ts"
@@ -1546,951 +1765,740 @@
1546
1765
  },
1547
1766
  {
1548
1767
  "kind": "field",
1549
- "name": "_presentation",
1768
+ "name": "requiresFullDataRefresh",
1550
1769
  "type": {
1551
- "text": "ComponentPresentation | null | undefined"
1770
+ "text": "boolean"
1771
+ },
1772
+ "privacy": "public",
1773
+ "default": "true",
1774
+ "inheritedFrom": {
1775
+ "name": "BaseDatasource",
1776
+ "module": "src/utils/base-datasource.ts"
1777
+ }
1778
+ },
1779
+ {
1780
+ "kind": "field",
1781
+ "name": "dataSub",
1782
+ "type": {
1783
+ "text": "Subscription"
1784
+ },
1785
+ "privacy": "public",
1786
+ "inheritedFrom": {
1787
+ "name": "BaseDatasource",
1788
+ "module": "src/utils/base-datasource.ts"
1789
+ }
1790
+ },
1791
+ {
1792
+ "kind": "field",
1793
+ "name": "sourceRef",
1794
+ "type": {
1795
+ "text": "string"
1552
1796
  },
1553
1797
  "privacy": "private",
1554
- "default": "void 0",
1555
1798
  "inheritedFrom": {
1556
- "name": "FoundationElement",
1557
- "module": "src/foundation-element/foundation-element.ts"
1799
+ "name": "BaseDatasource",
1800
+ "module": "src/utils/base-datasource.ts"
1558
1801
  }
1559
1802
  },
1560
1803
  {
1561
1804
  "kind": "field",
1562
- "name": "$presentation",
1805
+ "name": "rowsSyncedWithStream",
1563
1806
  "type": {
1564
- "text": "ComponentPresentation | null"
1807
+ "text": "Map<string, any>"
1565
1808
  },
1566
1809
  "privacy": "public",
1567
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1810
+ "default": "new Map()",
1568
1811
  "inheritedFrom": {
1569
- "name": "FoundationElement",
1570
- "module": "src/foundation-element/foundation-element.ts"
1812
+ "name": "BaseDatasource",
1813
+ "module": "src/utils/base-datasource.ts"
1571
1814
  }
1572
1815
  },
1573
1816
  {
1574
1817
  "kind": "field",
1575
- "name": "template",
1818
+ "name": "dataSubWasLoggedOff",
1576
1819
  "type": {
1577
- "text": "ElementViewTemplate | void | null"
1820
+ "text": "boolean"
1578
1821
  },
1579
1822
  "privacy": "public",
1580
- "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
1823
+ "default": "false",
1581
1824
  "inheritedFrom": {
1582
- "name": "FoundationElement",
1583
- "module": "src/foundation-element/foundation-element.ts"
1825
+ "name": "BaseDatasource",
1826
+ "module": "src/utils/base-datasource.ts"
1584
1827
  }
1585
1828
  },
1586
1829
  {
1587
- "kind": "method",
1588
- "name": "templateChanged",
1589
- "privacy": "protected",
1590
- "return": {
1591
- "type": {
1592
- "text": "void"
1593
- }
1830
+ "kind": "field",
1831
+ "name": "criteriaFromFilters",
1832
+ "type": {
1833
+ "text": "Map<string, string>"
1594
1834
  },
1835
+ "privacy": "private",
1836
+ "default": "new Map()",
1595
1837
  "inheritedFrom": {
1596
- "name": "FoundationElement",
1597
- "module": "src/foundation-element/foundation-element.ts"
1838
+ "name": "BaseDatasource",
1839
+ "module": "src/utils/base-datasource.ts"
1598
1840
  }
1599
1841
  },
1600
1842
  {
1601
1843
  "kind": "field",
1602
- "name": "styles",
1844
+ "name": "update",
1603
1845
  "type": {
1604
- "text": "ElementStyles | void | null"
1846
+ "text": "BehaviorSubject<Map<string, string>>"
1605
1847
  },
1606
1848
  "privacy": "public",
1607
- "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
1849
+ "default": "new BehaviorSubject(new Map())",
1608
1850
  "inheritedFrom": {
1609
- "name": "FoundationElement",
1610
- "module": "src/foundation-element/foundation-element.ts"
1851
+ "name": "BaseDatasource",
1852
+ "module": "src/utils/base-datasource.ts"
1611
1853
  }
1612
1854
  },
1613
1855
  {
1614
1856
  "kind": "method",
1615
- "name": "stylesChanged",
1616
- "privacy": "protected",
1617
- "return": {
1618
- "type": {
1619
- "text": "void"
1620
- }
1621
- },
1857
+ "name": "reset",
1622
1858
  "inheritedFrom": {
1623
- "name": "FoundationElement",
1624
- "module": "src/foundation-element/foundation-element.ts"
1859
+ "name": "BaseDatasource",
1860
+ "module": "src/utils/base-datasource.ts"
1625
1861
  }
1626
1862
  },
1627
1863
  {
1628
1864
  "kind": "method",
1629
- "name": "compose",
1865
+ "name": "fetchGenesisData",
1630
1866
  "privacy": "public",
1631
- "static": true,
1632
- "return": {
1633
- "type": {
1634
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1635
- }
1636
- },
1637
1867
  "parameters": [
1638
1868
  {
1639
- "name": "this",
1640
- "type": {
1641
- "text": "K"
1642
- }
1643
- },
1644
- {
1645
- "name": "elementDefinition",
1646
- "type": {
1647
- "text": "T"
1648
- },
1649
- "description": "The definition of the element to create the registry\nfunction for."
1869
+ "name": "withFullInit",
1870
+ "default": "true"
1650
1871
  }
1651
1872
  ],
1652
- "description": "Defines an element registry function with a set of element definition defaults.",
1653
1873
  "inheritedFrom": {
1654
- "name": "FoundationElement",
1655
- "module": "src/foundation-element/foundation-element.ts"
1874
+ "name": "BaseDatasource",
1875
+ "module": "src/utils/base-datasource.ts"
1656
1876
  }
1657
- }
1658
- ],
1659
- "attributes": [
1660
- {
1661
- "name": "chart-fields",
1662
- "type": {
1663
- "text": "string"
1664
- },
1665
- "default": "defaultChartFields",
1666
- "description": "Default value is 'groupBy value'. Can be customized but order matters.\n\n[Mandatory] First is always the xField/colorField\n[Mandatory] Second is always the yField/angleField\n[Optional] Third is always the seriesField",
1667
- "resolveInitializer": {
1668
- "module": "src/chart-datasource/chart-datasource.ts"
1669
- },
1670
- "fieldName": "chartFields"
1671
- },
1672
- {
1673
- "name": "server-fields",
1674
- "type": {
1675
- "text": "string"
1676
- },
1677
- "description": "Can be customized but order matters.\n\n[Mandatory] First will be associated to the first value in 'chartFields' (xField/colorField)\n[Mandatory] Second will be associated to the second value in 'chartFields' (yField/angleField)\n[Optional] Third will be associated to the third value in 'chartFields' (seriesField)",
1678
- "fieldName": "serverFields"
1679
- },
1680
- {
1681
- "name": "is-stack",
1682
- "type": {
1683
- "text": "boolean"
1684
- },
1685
- "default": "false",
1686
- "description": "If true, will enable stacked chart to effectively portray comparisons of total values across several categories.",
1687
- "fieldName": "isStack"
1688
1877
  },
1689
1878
  {
1690
- "name": "is-group",
1691
- "type": {
1692
- "text": "boolean"
1693
- },
1694
- "default": "false",
1695
- "description": "If true, will enable grouped chart plotting numeric values for levels of two categorical variables instead of one.",
1696
- "fieldName": "isGroup"
1879
+ "kind": "method",
1880
+ "name": "initDatasource",
1881
+ "privacy": "public",
1882
+ "inheritedFrom": {
1883
+ "name": "BaseDatasource",
1884
+ "module": "src/utils/base-datasource.ts"
1885
+ }
1697
1886
  },
1698
1887
  {
1699
- "type": {
1700
- "text": "boolean"
1888
+ "kind": "method",
1889
+ "name": "datasourceOptions",
1890
+ "privacy": "private",
1891
+ "return": {
1892
+ "type": {
1893
+ "text": "DatasourceOptions"
1894
+ }
1701
1895
  },
1702
- "default": "true",
1703
- "fieldName": "reduced",
1704
1896
  "inheritedFrom": {
1705
1897
  "name": "BaseDatasource",
1706
1898
  "module": "src/utils/base-datasource.ts"
1707
- },
1708
- "description": "Enabled by default, will not work if a custom charts-fields is used (requires [type, value])."
1899
+ }
1709
1900
  },
1710
1901
  {
1711
- "name": "show-formatted-time",
1712
- "type": {
1713
- "text": "boolean"
1714
- },
1715
- "default": "false",
1716
- "description": "Only works if [withTimestampFormatting] is true.\n\nDisabled by default, will ignore the TIME portion in the Chart labels.\nOnly affects [DATETIME] fields.",
1717
- "fieldName": "showFormattedTime"
1902
+ "kind": "method",
1903
+ "name": "handleStreamUpdate",
1904
+ "privacy": "private",
1905
+ "parameters": [
1906
+ {
1907
+ "name": "result",
1908
+ "type": {
1909
+ "text": "FilteredDataServerResult | RequestServerResult"
1910
+ }
1911
+ }
1912
+ ],
1913
+ "inheritedFrom": {
1914
+ "name": "BaseDatasource",
1915
+ "module": "src/utils/base-datasource.ts"
1916
+ }
1718
1917
  },
1719
1918
  {
1720
- "name": "with-timestamp-formatting",
1721
- "type": {
1722
- "text": "boolean"
1723
- },
1724
- "default": "true",
1725
- "description": "Enabled by default, will format UNIX timestamp fields to readable [DATE|DATETIME] values.",
1726
- "fieldName": "withTimestampFormatting",
1919
+ "kind": "method",
1920
+ "name": "applyRequestServerData",
1921
+ "privacy": "public",
1922
+ "parameters": [
1923
+ {
1924
+ "name": "requestServerResult",
1925
+ "type": {
1926
+ "text": "RequestServerResult"
1927
+ }
1928
+ }
1929
+ ],
1727
1930
  "inheritedFrom": {
1728
1931
  "name": "BaseDatasource",
1729
1932
  "module": "src/utils/base-datasource.ts"
1730
1933
  }
1731
1934
  },
1732
1935
  {
1733
- "name": "resourceName",
1734
- "type": {
1735
- "text": "string"
1736
- },
1737
- "default": "''",
1738
- "fieldName": "resourceName",
1936
+ "kind": "method",
1937
+ "name": "applyDataserverData",
1938
+ "privacy": "public",
1939
+ "parameters": [
1940
+ {
1941
+ "name": "dataServerResult",
1942
+ "type": {
1943
+ "text": "FilteredDataServerResult"
1944
+ }
1945
+ }
1946
+ ],
1739
1947
  "inheritedFrom": {
1740
1948
  "name": "BaseDatasource",
1741
1949
  "module": "src/utils/base-datasource.ts"
1742
- },
1743
- "description": "Name of the backend resource which contain the data."
1950
+ }
1744
1951
  },
1745
1952
  {
1746
- "name": "criteria",
1747
- "type": {
1748
- "text": "string"
1953
+ "kind": "method",
1954
+ "name": "buildCriteria",
1955
+ "privacy": "private",
1956
+ "return": {
1957
+ "type": {
1958
+ "text": "string"
1959
+ }
1749
1960
  },
1750
- "fieldName": "criteria",
1751
1961
  "inheritedFrom": {
1752
1962
  "name": "BaseDatasource",
1753
1963
  "module": "src/utils/base-datasource.ts"
1754
- },
1755
- "description": "Clients can send a Groovy expression to perform filters on the query server,\nthese remain active for the life of the subscription."
1964
+ }
1756
1965
  },
1757
1966
  {
1758
- "type": {
1759
- "text": "boolean"
1760
- },
1761
- "default": "true",
1762
- "fieldName": "reduced",
1967
+ "kind": "method",
1968
+ "name": "setFilter",
1969
+ "privacy": "public",
1970
+ "parameters": [
1971
+ {
1972
+ "name": "fieldName",
1973
+ "type": {
1974
+ "text": "string"
1975
+ }
1976
+ },
1977
+ {
1978
+ "name": "newFilter",
1979
+ "type": {
1980
+ "text": "string"
1981
+ }
1982
+ }
1983
+ ],
1763
1984
  "inheritedFrom": {
1764
1985
  "name": "BaseDatasource",
1765
1986
  "module": "src/utils/base-datasource.ts"
1766
- },
1767
- "description": "Enabled by default, will not work if a custom charts-fields is used (requires [type, value])."
1987
+ }
1768
1988
  },
1769
1989
  {
1770
- "name": "maxRows",
1771
- "type": {
1772
- "text": "number"
1773
- },
1774
- "fieldName": "maxRows",
1990
+ "kind": "method",
1991
+ "name": "removeFilter",
1992
+ "privacy": "public",
1993
+ "parameters": [
1994
+ {
1995
+ "name": "fieldName",
1996
+ "type": {
1997
+ "text": "string"
1998
+ }
1999
+ }
2000
+ ],
1775
2001
  "inheritedFrom": {
1776
2002
  "name": "BaseDatasource",
1777
2003
  "module": "src/utils/base-datasource.ts"
1778
- },
1779
- "description": "Maximum number of rows to be returned as part of the initial message,\nand as part of any additional MORE_ROWS messages.\nThis will not affect the number of rows displayed."
2004
+ }
1780
2005
  },
1781
2006
  {
1782
- "name": "maxView",
1783
- "type": {
1784
- "text": "number"
2007
+ "kind": "method",
2008
+ "name": "handleError",
2009
+ "return": {
2010
+ "type": {
2011
+ "text": "void"
2012
+ }
1785
2013
  },
1786
- "fieldName": "maxView",
2014
+ "parameters": [
2015
+ {
2016
+ "name": "params",
2017
+ "default": "{}",
2018
+ "type": {
2019
+ "text": "BaseDatasourceErrorHandlingOptions"
2020
+ }
2021
+ }
2022
+ ],
1787
2023
  "inheritedFrom": {
1788
2024
  "name": "BaseDatasource",
1789
2025
  "module": "src/utils/base-datasource.ts"
1790
- },
1791
- "description": "Maximum number of rows to track as part of a client \"view\"."
2026
+ }
1792
2027
  },
1793
2028
  {
1794
- "name": "orderBy",
1795
- "type": {
1796
- "text": "string"
2029
+ "kind": "method",
2030
+ "name": "getFieldMetadata",
2031
+ "return": {
2032
+ "type": {
2033
+ "text": "FieldMetadata"
2034
+ }
1797
2035
  },
1798
- "fieldName": "orderBy",
2036
+ "parameters": [
2037
+ {
2038
+ "name": "fieldName",
2039
+ "type": {
2040
+ "text": "string"
2041
+ }
2042
+ }
2043
+ ],
1799
2044
  "inheritedFrom": {
1800
2045
  "name": "BaseDatasource",
1801
2046
  "module": "src/utils/base-datasource.ts"
1802
- },
1803
- "description": "This option can be used to select a Data Server index (defined in the Data Server query),\nwhich is especially useful if you want the data to be sorted in a specific way. By default,\nData Server rows are returned in order of creation (from oldest database record to newest)."
2047
+ }
1804
2048
  },
1805
2049
  {
1806
- "type": {
1807
- "text": "boolean"
1808
- },
1809
- "default": "true",
1810
- "fieldName": "reduced",
2050
+ "kind": "method",
2051
+ "name": "getDefaultLabelFormat",
2052
+ "parameters": [
2053
+ {
2054
+ "name": "field",
2055
+ "type": {
2056
+ "text": "any"
2057
+ }
2058
+ },
2059
+ {
2060
+ "name": "type",
2061
+ "type": {
2062
+ "text": "FieldTypeEnum"
2063
+ }
2064
+ }
2065
+ ],
1811
2066
  "inheritedFrom": {
1812
2067
  "name": "BaseDatasource",
1813
2068
  "module": "src/utils/base-datasource.ts"
1814
- },
1815
- "description": "Enabled by default, will not work if a custom charts-fields is used (requires [type, value])."
2069
+ }
1816
2070
  },
1817
2071
  {
1818
- "name": "rowId",
2072
+ "kind": "field",
2073
+ "name": "_presentation",
1819
2074
  "type": {
1820
- "text": "string"
2075
+ "text": "ComponentPresentation | null | undefined"
1821
2076
  },
1822
- "default": "'ROW_REF'",
1823
- "fieldName": "rowId",
2077
+ "privacy": "private",
2078
+ "default": "void 0",
1824
2079
  "inheritedFrom": {
1825
- "name": "BaseDatasource",
1826
- "module": "src/utils/base-datasource.ts"
1827
- },
1828
- "description": "Attribute to set an unique identifier for the row."
2080
+ "name": "FoundationElement",
2081
+ "module": "src/foundation-element/foundation-element.ts"
2082
+ }
1829
2083
  },
1830
2084
  {
1831
- "name": "fields",
2085
+ "kind": "field",
2086
+ "name": "$presentation",
1832
2087
  "type": {
1833
- "text": "string"
2088
+ "text": "ComponentPresentation | null"
1834
2089
  },
1835
- "fieldName": "fields",
2090
+ "privacy": "public",
2091
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1836
2092
  "inheritedFrom": {
1837
- "name": "BaseDatasource",
1838
- "module": "src/utils/base-datasource.ts"
2093
+ "name": "FoundationElement",
2094
+ "module": "src/foundation-element/foundation-element.ts"
1839
2095
  }
1840
2096
  },
1841
2097
  {
1842
- "name": "request",
2098
+ "kind": "field",
2099
+ "name": "template",
1843
2100
  "type": {
1844
- "text": "any"
2101
+ "text": "ElementViewTemplate | void | null"
1845
2102
  },
1846
- "fieldName": "request",
2103
+ "privacy": "public",
2104
+ "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
1847
2105
  "inheritedFrom": {
1848
- "name": "BaseDatasource",
1849
- "module": "src/utils/base-datasource.ts"
2106
+ "name": "FoundationElement",
2107
+ "module": "src/foundation-element/foundation-element.ts"
1850
2108
  }
1851
- }
1852
- ],
1853
- "mixins": [
1854
- {
1855
- "name": "LifecycleMixin",
1856
- "package": "@genesislcap/foundation-utils"
1857
- }
1858
- ],
1859
- "superclass": {
1860
- "name": "ConcreteDatasource",
1861
- "module": "src/chart-datasource/chart-datasource.ts"
1862
- },
1863
- "tagName": "chart-datasource",
1864
- "customElement": true
1865
- }
1866
- ],
1867
- "exports": [
1868
- {
1869
- "kind": "js",
1870
- "name": "defaultChartFields",
1871
- "declaration": {
1872
- "name": "defaultChartFields",
1873
- "module": "src/chart-datasource/chart-datasource.ts"
1874
- }
1875
- },
1876
- {
1877
- "kind": "js",
1878
- "name": "defaultSeriesChartField",
1879
- "declaration": {
1880
- "name": "defaultSeriesChartField",
1881
- "module": "src/chart-datasource/chart-datasource.ts"
1882
- }
1883
- },
1884
- {
1885
- "kind": "js",
1886
- "name": "ChartDatasource",
1887
- "declaration": {
1888
- "name": "ChartDatasource",
1889
- "module": "src/chart-datasource/chart-datasource.ts"
1890
- }
1891
- },
1892
- {
1893
- "kind": "custom-element-definition",
1894
- "name": "chart-datasource",
1895
- "declaration": {
1896
- "name": "ChartDatasource",
1897
- "module": "src/chart-datasource/chart-datasource.ts"
1898
- }
1899
- }
1900
- ]
1901
- },
1902
- {
1903
- "kind": "javascript-module",
1904
- "path": "src/chart-datasource/chart-datasource.types.ts",
1905
- "declarations": [],
1906
- "exports": []
1907
- },
1908
- {
1909
- "kind": "javascript-module",
1910
- "path": "src/chart-datasource/chart-datasource.utils.ts",
1911
- "declarations": [
1912
- {
1913
- "kind": "function",
1914
- "name": "extractFields",
1915
- "parameters": [
2109
+ },
1916
2110
  {
1917
- "name": "fields"
1918
- }
1919
- ]
1920
- },
1921
- {
1922
- "kind": "function",
1923
- "name": "getFormattedDateGroupBy",
1924
- "parameters": [
2111
+ "kind": "method",
2112
+ "name": "templateChanged",
2113
+ "privacy": "protected",
2114
+ "return": {
2115
+ "type": {
2116
+ "text": "void"
2117
+ }
2118
+ },
2119
+ "inheritedFrom": {
2120
+ "name": "FoundationElement",
2121
+ "module": "src/foundation-element/foundation-element.ts"
2122
+ }
2123
+ },
1925
2124
  {
1926
- "name": "groupByFieldValue",
2125
+ "kind": "field",
2126
+ "name": "styles",
1927
2127
  "type": {
1928
- "text": "any"
2128
+ "text": "ElementStyles | void | null"
2129
+ },
2130
+ "privacy": "public",
2131
+ "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
2132
+ "inheritedFrom": {
2133
+ "name": "FoundationElement",
2134
+ "module": "src/foundation-element/foundation-element.ts"
1929
2135
  }
1930
2136
  },
1931
2137
  {
1932
- "name": "fieldType",
1933
- "type": {
1934
- "text": "FieldTypeEnum"
2138
+ "kind": "method",
2139
+ "name": "stylesChanged",
2140
+ "privacy": "protected",
2141
+ "return": {
2142
+ "type": {
2143
+ "text": "void"
2144
+ }
2145
+ },
2146
+ "inheritedFrom": {
2147
+ "name": "FoundationElement",
2148
+ "module": "src/foundation-element/foundation-element.ts"
1935
2149
  }
1936
2150
  },
1937
2151
  {
1938
- "name": "showTime",
1939
- "optional": true,
1940
- "type": {
1941
- "text": "boolean"
2152
+ "kind": "method",
2153
+ "name": "compose",
2154
+ "privacy": "public",
2155
+ "static": true,
2156
+ "return": {
2157
+ "type": {
2158
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
2159
+ }
2160
+ },
2161
+ "parameters": [
2162
+ {
2163
+ "name": "this",
2164
+ "type": {
2165
+ "text": "K"
2166
+ }
2167
+ },
2168
+ {
2169
+ "name": "elementDefinition",
2170
+ "type": {
2171
+ "text": "T"
2172
+ },
2173
+ "description": "The definition of the element to create the registry\nfunction for."
2174
+ }
2175
+ ],
2176
+ "description": "Defines an element registry function with a set of element definition defaults.",
2177
+ "inheritedFrom": {
2178
+ "name": "FoundationElement",
2179
+ "module": "src/foundation-element/foundation-element.ts"
1942
2180
  }
1943
2181
  }
1944
- ]
1945
- },
1946
- {
1947
- "kind": "function",
1948
- "name": "getReduced",
1949
- "return": {
1950
- "type": {
1951
- "text": "any[]"
1952
- }
1953
- },
1954
- "parameters": [
2182
+ ],
2183
+ "attributes": [
1955
2184
  {
1956
- "name": "allRows",
2185
+ "name": "chart-fields",
1957
2186
  "type": {
1958
- "text": "any[]"
1959
- }
2187
+ "text": "string"
2188
+ },
2189
+ "default": "defaultChartFields",
2190
+ "description": "Default value is 'groupBy value'. Can be customized but order matters.\n\n[Mandatory] First is always the xField/colorField\n[Mandatory] Second is always the yField/angleField\n[Optional] Third is always the seriesField",
2191
+ "resolveInitializer": {
2192
+ "module": "src/chart-datasource/chart-datasource.ts"
2193
+ },
2194
+ "fieldName": "chartFields"
1960
2195
  },
1961
2196
  {
1962
- "name": "groupByField",
2197
+ "name": "server-fields",
1963
2198
  "type": {
1964
2199
  "text": "string"
1965
- }
2200
+ },
2201
+ "description": "Can be customized but order matters.\n\n[Mandatory] First will be associated to the first value in 'chartFields' (xField/colorField)\n[Mandatory] Second will be associated to the second value in 'chartFields' (yField/angleField)\n[Optional] Third will be associated to the third value in 'chartFields' (seriesField)",
2202
+ "fieldName": "serverFields"
1966
2203
  },
1967
2204
  {
1968
- "name": "valueField",
2205
+ "name": "is-stack",
1969
2206
  "type": {
1970
- "text": "string"
1971
- }
2207
+ "text": "boolean"
2208
+ },
2209
+ "default": "false",
2210
+ "description": "If true, will enable stacked chart to effectively portray comparisons of total values across several categories.",
2211
+ "fieldName": "isStack"
1972
2212
  },
1973
2213
  {
1974
- "name": "seriesField",
1975
- "optional": true,
2214
+ "name": "is-group",
1976
2215
  "type": {
1977
- "text": "string"
1978
- }
1979
- }
1980
- ]
1981
- }
1982
- ],
1983
- "exports": [
1984
- {
1985
- "kind": "js",
1986
- "name": "extractFields",
1987
- "declaration": {
1988
- "name": "extractFields",
1989
- "module": "src/chart-datasource/chart-datasource.utils.ts"
1990
- }
1991
- },
1992
- {
1993
- "kind": "js",
1994
- "name": "getFormattedDateGroupBy",
1995
- "declaration": {
1996
- "name": "getFormattedDateGroupBy",
1997
- "module": "src/chart-datasource/chart-datasource.utils.ts"
1998
- }
1999
- },
2000
- {
2001
- "kind": "js",
2002
- "name": "getReduced",
2003
- "declaration": {
2004
- "name": "getReduced",
2005
- "module": "src/chart-datasource/chart-datasource.utils.ts"
2006
- }
2007
- }
2008
- ]
2009
- },
2010
- {
2011
- "kind": "javascript-module",
2012
- "path": "src/chart-datasource/index.ts",
2013
- "declarations": [],
2014
- "exports": [
2015
- {
2016
- "kind": "js",
2017
- "name": "*",
2018
- "declaration": {
2019
- "name": "*",
2020
- "package": "./chart-datasource.config"
2021
- }
2022
- },
2023
- {
2024
- "kind": "js",
2025
- "name": "*",
2026
- "declaration": {
2027
- "name": "*",
2028
- "package": "./chart-datasource.types"
2029
- }
2030
- },
2031
- {
2032
- "kind": "js",
2033
- "name": "*",
2034
- "declaration": {
2035
- "name": "*",
2036
- "package": "./chart-datasource"
2037
- }
2038
- }
2039
- ]
2040
- },
2041
- {
2042
- "kind": "javascript-module",
2043
- "path": "src/models/area-chart.ts",
2044
- "declarations": [
2045
- {
2046
- "kind": "function",
2047
- "name": "AreaChart",
2048
- "parameters": [
2216
+ "text": "boolean"
2217
+ },
2218
+ "default": "false",
2219
+ "description": "If true, will enable grouped chart plotting numeric values for levels of two categorical variables instead of one.",
2220
+ "fieldName": "isGroup"
2221
+ },
2049
2222
  {
2050
- "name": "container",
2051
2223
  "type": {
2052
- "text": "HTMLElement"
2053
- }
2224
+ "text": "boolean"
2225
+ },
2226
+ "default": "true",
2227
+ "fieldName": "reduced",
2228
+ "inheritedFrom": {
2229
+ "name": "BaseDatasource",
2230
+ "module": "src/utils/base-datasource.ts"
2231
+ },
2232
+ "description": "Enabled by default, will not work if a custom charts-fields is used (requires [type, value])."
2054
2233
  },
2055
2234
  {
2056
- "name": "config",
2235
+ "name": "show-formatted-time",
2057
2236
  "type": {
2058
- "text": "AreaOptions"
2237
+ "text": "boolean"
2238
+ },
2239
+ "default": "false",
2240
+ "description": "Only works if [withTimestampFormatting] is true.\n\nDisabled by default, will ignore the TIME portion in the Chart labels.\nOnly affects [DATETIME] fields.",
2241
+ "fieldName": "showFormattedTime"
2242
+ },
2243
+ {
2244
+ "name": "with-timestamp-formatting",
2245
+ "type": {
2246
+ "text": "boolean"
2247
+ },
2248
+ "default": "true",
2249
+ "description": "Enabled by default, will format UNIX timestamp fields to readable [DATE|DATETIME] values.",
2250
+ "fieldName": "withTimestampFormatting",
2251
+ "inheritedFrom": {
2252
+ "name": "BaseDatasource",
2253
+ "module": "src/utils/base-datasource.ts"
2059
2254
  }
2060
- }
2061
- ]
2062
- }
2063
- ],
2064
- "exports": [
2065
- {
2066
- "kind": "js",
2067
- "name": "AreaChart",
2068
- "declaration": {
2069
- "name": "AreaChart",
2070
- "module": "src/models/area-chart.ts"
2071
- }
2072
- }
2073
- ]
2074
- },
2075
- {
2076
- "kind": "javascript-module",
2077
- "path": "src/models/bar-chart.ts",
2078
- "declarations": [
2079
- {
2080
- "kind": "function",
2081
- "name": "BarChart",
2082
- "parameters": [
2255
+ },
2256
+ {
2257
+ "name": "resourceName",
2258
+ "type": {
2259
+ "text": "string"
2260
+ },
2261
+ "default": "''",
2262
+ "fieldName": "resourceName",
2263
+ "inheritedFrom": {
2264
+ "name": "BaseDatasource",
2265
+ "module": "src/utils/base-datasource.ts"
2266
+ },
2267
+ "description": "Name of the backend resource which contain the data."
2268
+ },
2269
+ {
2270
+ "name": "criteria",
2271
+ "type": {
2272
+ "text": "string"
2273
+ },
2274
+ "fieldName": "criteria",
2275
+ "inheritedFrom": {
2276
+ "name": "BaseDatasource",
2277
+ "module": "src/utils/base-datasource.ts"
2278
+ },
2279
+ "description": "Clients can send a Groovy expression to perform filters on the query server,\nthese remain active for the life of the subscription."
2280
+ },
2083
2281
  {
2084
- "name": "container",
2085
2282
  "type": {
2086
- "text": "HTMLElement"
2087
- }
2283
+ "text": "boolean"
2284
+ },
2285
+ "default": "true",
2286
+ "fieldName": "reduced",
2287
+ "inheritedFrom": {
2288
+ "name": "BaseDatasource",
2289
+ "module": "src/utils/base-datasource.ts"
2290
+ },
2291
+ "description": "Enabled by default, will not work if a custom charts-fields is used (requires [type, value])."
2088
2292
  },
2089
2293
  {
2090
- "name": "config",
2294
+ "name": "maxRows",
2091
2295
  "type": {
2092
- "text": "BarOptions"
2093
- }
2094
- }
2095
- ]
2096
- }
2097
- ],
2098
- "exports": [
2099
- {
2100
- "kind": "js",
2101
- "name": "BarChart",
2102
- "declaration": {
2103
- "name": "BarChart",
2104
- "module": "src/models/bar-chart.ts"
2105
- }
2106
- }
2107
- ]
2108
- },
2109
- {
2110
- "kind": "javascript-module",
2111
- "path": "src/models/column-chart.ts",
2112
- "declarations": [
2113
- {
2114
- "kind": "function",
2115
- "name": "ColumnChart",
2116
- "parameters": [
2296
+ "text": "number"
2297
+ },
2298
+ "fieldName": "maxRows",
2299
+ "inheritedFrom": {
2300
+ "name": "BaseDatasource",
2301
+ "module": "src/utils/base-datasource.ts"
2302
+ },
2303
+ "description": "Maximum number of rows to be returned as part of the initial message,\nand as part of any additional MORE_ROWS messages.\nThis will not affect the number of rows displayed."
2304
+ },
2117
2305
  {
2118
- "name": "container",
2306
+ "name": "maxView",
2119
2307
  "type": {
2120
- "text": "HTMLElement"
2121
- }
2308
+ "text": "number"
2309
+ },
2310
+ "fieldName": "maxView",
2311
+ "inheritedFrom": {
2312
+ "name": "BaseDatasource",
2313
+ "module": "src/utils/base-datasource.ts"
2314
+ },
2315
+ "description": "Maximum number of rows to track as part of a client \"view\"."
2122
2316
  },
2123
2317
  {
2124
- "name": "config",
2318
+ "name": "orderBy",
2125
2319
  "type": {
2126
- "text": "ColumnOptions"
2127
- }
2128
- }
2129
- ]
2130
- }
2131
- ],
2132
- "exports": [
2133
- {
2134
- "kind": "js",
2135
- "name": "ColumnChart",
2136
- "declaration": {
2137
- "name": "ColumnChart",
2138
- "module": "src/models/column-chart.ts"
2139
- }
2140
- }
2141
- ]
2142
- },
2143
- {
2144
- "kind": "javascript-module",
2145
- "path": "src/models/donut-chart.ts",
2146
- "declarations": [
2147
- {
2148
- "kind": "function",
2149
- "name": "DonutChart",
2150
- "parameters": [
2320
+ "text": "string"
2321
+ },
2322
+ "fieldName": "orderBy",
2323
+ "inheritedFrom": {
2324
+ "name": "BaseDatasource",
2325
+ "module": "src/utils/base-datasource.ts"
2326
+ },
2327
+ "description": "This option can be used to select a Data Server index (defined in the Data Server query),\nwhich is especially useful if you want the data to be sorted in a specific way. By default,\nData Server rows are returned in order of creation (from oldest database record to newest)."
2328
+ },
2151
2329
  {
2152
- "name": "container",
2153
2330
  "type": {
2154
- "text": "HTMLElement"
2155
- }
2331
+ "text": "boolean"
2332
+ },
2333
+ "default": "true",
2334
+ "fieldName": "reduced",
2335
+ "inheritedFrom": {
2336
+ "name": "BaseDatasource",
2337
+ "module": "src/utils/base-datasource.ts"
2338
+ },
2339
+ "description": "Enabled by default, will not work if a custom charts-fields is used (requires [type, value])."
2156
2340
  },
2157
2341
  {
2158
- "name": "config",
2342
+ "name": "rowId",
2159
2343
  "type": {
2160
- "text": "PieOptions"
2161
- }
2162
- }
2163
- ]
2164
- }
2165
- ],
2166
- "exports": [
2167
- {
2168
- "kind": "js",
2169
- "name": "DonutChart",
2170
- "declaration": {
2171
- "name": "DonutChart",
2172
- "module": "src/models/donut-chart.ts"
2173
- }
2174
- }
2175
- ]
2176
- },
2177
- {
2178
- "kind": "javascript-module",
2179
- "path": "src/models/dual-axes-chart.ts",
2180
- "declarations": [
2181
- {
2182
- "kind": "function",
2183
- "name": "DualAxesChart",
2184
- "parameters": [
2344
+ "text": "string"
2345
+ },
2346
+ "default": "'ROW_REF'",
2347
+ "fieldName": "rowId",
2348
+ "inheritedFrom": {
2349
+ "name": "BaseDatasource",
2350
+ "module": "src/utils/base-datasource.ts"
2351
+ },
2352
+ "description": "Attribute to set an unique identifier for the row."
2353
+ },
2185
2354
  {
2186
- "name": "container",
2355
+ "name": "fields",
2187
2356
  "type": {
2188
- "text": "HTMLElement"
2357
+ "text": "string"
2358
+ },
2359
+ "fieldName": "fields",
2360
+ "inheritedFrom": {
2361
+ "name": "BaseDatasource",
2362
+ "module": "src/utils/base-datasource.ts"
2189
2363
  }
2190
2364
  },
2191
2365
  {
2192
- "name": "config",
2366
+ "name": "request",
2193
2367
  "type": {
2194
- "text": "DualAxesOptions"
2368
+ "text": "any"
2369
+ },
2370
+ "fieldName": "request",
2371
+ "inheritedFrom": {
2372
+ "name": "BaseDatasource",
2373
+ "module": "src/utils/base-datasource.ts"
2195
2374
  }
2196
2375
  }
2197
- ]
2376
+ ],
2377
+ "mixins": [
2378
+ {
2379
+ "name": "LifecycleMixin",
2380
+ "package": "@genesislcap/foundation-utils"
2381
+ }
2382
+ ],
2383
+ "superclass": {
2384
+ "name": "ConcreteDatasource",
2385
+ "module": "src/chart-datasource/chart-datasource.ts"
2386
+ },
2387
+ "tagName": "chart-datasource",
2388
+ "customElement": true
2198
2389
  }
2199
2390
  ],
2200
2391
  "exports": [
2201
2392
  {
2202
2393
  "kind": "js",
2203
- "name": "DualAxesChart",
2204
- "declaration": {
2205
- "name": "DualAxesChart",
2206
- "module": "src/models/dual-axes-chart.ts"
2207
- }
2208
- }
2209
- ]
2210
- },
2211
- {
2212
- "kind": "javascript-module",
2213
- "path": "src/models/index.ts",
2214
- "declarations": [],
2215
- "exports": [
2216
- {
2217
- "kind": "js",
2218
- "name": "*",
2219
- "declaration": {
2220
- "name": "*",
2221
- "package": "./area-chart"
2222
- }
2223
- },
2224
- {
2225
- "kind": "js",
2226
- "name": "*",
2227
- "declaration": {
2228
- "name": "*",
2229
- "package": "./bar-chart"
2230
- }
2231
- },
2232
- {
2233
- "kind": "js",
2234
- "name": "*",
2235
- "declaration": {
2236
- "name": "*",
2237
- "package": "./column-chart"
2238
- }
2239
- },
2240
- {
2241
- "kind": "js",
2242
- "name": "*",
2243
- "declaration": {
2244
- "name": "*",
2245
- "package": "./donut-chart"
2246
- }
2247
- },
2248
- {
2249
- "kind": "js",
2250
- "name": "*",
2251
- "declaration": {
2252
- "name": "*",
2253
- "package": "./dual-axes-chart"
2254
- }
2255
- },
2256
- {
2257
- "kind": "js",
2258
- "name": "*",
2259
- "declaration": {
2260
- "name": "*",
2261
- "package": "./line-chart"
2262
- }
2263
- },
2264
- {
2265
- "kind": "js",
2266
- "name": "*",
2267
- "declaration": {
2268
- "name": "*",
2269
- "package": "./mix-chart"
2270
- }
2271
- },
2272
- {
2273
- "kind": "js",
2274
- "name": "*",
2394
+ "name": "defaultChartFields",
2275
2395
  "declaration": {
2276
- "name": "*",
2277
- "package": "./pie-chart"
2396
+ "name": "defaultChartFields",
2397
+ "module": "src/chart-datasource/chart-datasource.ts"
2278
2398
  }
2279
2399
  },
2280
2400
  {
2281
2401
  "kind": "js",
2282
- "name": "*",
2402
+ "name": "defaultSeriesChartField",
2283
2403
  "declaration": {
2284
- "name": "*",
2285
- "package": "./rose-chart"
2404
+ "name": "defaultSeriesChartField",
2405
+ "module": "src/chart-datasource/chart-datasource.ts"
2286
2406
  }
2287
2407
  },
2288
2408
  {
2289
2409
  "kind": "js",
2290
- "name": "*",
2410
+ "name": "ChartDatasource",
2291
2411
  "declaration": {
2292
- "name": "*",
2293
- "package": "./scatter-chart"
2412
+ "name": "ChartDatasource",
2413
+ "module": "src/chart-datasource/chart-datasource.ts"
2294
2414
  }
2295
2415
  },
2296
2416
  {
2297
- "kind": "js",
2298
- "name": "*",
2417
+ "kind": "custom-element-definition",
2418
+ "name": "chart-datasource",
2299
2419
  "declaration": {
2300
- "name": "*",
2301
- "package": "./stock-chart"
2420
+ "name": "ChartDatasource",
2421
+ "module": "src/chart-datasource/chart-datasource.ts"
2302
2422
  }
2303
2423
  }
2304
2424
  ]
2305
2425
  },
2306
2426
  {
2307
2427
  "kind": "javascript-module",
2308
- "path": "src/models/line-chart.ts",
2309
- "declarations": [
2310
- {
2311
- "kind": "function",
2312
- "name": "LineChart",
2313
- "parameters": [
2314
- {
2315
- "name": "container",
2316
- "type": {
2317
- "text": "HTMLElement"
2318
- }
2319
- },
2320
- {
2321
- "name": "config",
2322
- "type": {
2323
- "text": "LineOptions"
2324
- }
2325
- }
2326
- ]
2327
- }
2328
- ],
2329
- "exports": [
2330
- {
2331
- "kind": "js",
2332
- "name": "LineChart",
2333
- "declaration": {
2334
- "name": "LineChart",
2335
- "module": "src/models/line-chart.ts"
2336
- }
2337
- }
2338
- ]
2428
+ "path": "src/chart-datasource/chart-datasource.types.ts",
2429
+ "declarations": [],
2430
+ "exports": []
2339
2431
  },
2340
2432
  {
2341
2433
  "kind": "javascript-module",
2342
- "path": "src/models/mix-chart.ts",
2434
+ "path": "src/chart-datasource/chart-datasource.utils.ts",
2343
2435
  "declarations": [
2344
2436
  {
2345
2437
  "kind": "function",
2346
- "name": "MixChart",
2438
+ "name": "extractFields",
2347
2439
  "parameters": [
2348
2440
  {
2349
- "name": "container",
2350
- "type": {
2351
- "text": "HTMLElement"
2352
- }
2353
- },
2354
- {
2355
- "name": "config",
2356
- "type": {
2357
- "text": "MixOptions"
2358
- }
2441
+ "name": "fields"
2359
2442
  }
2360
2443
  ]
2361
- }
2362
- ],
2363
- "exports": [
2364
- {
2365
- "kind": "js",
2366
- "name": "MixChart",
2367
- "declaration": {
2368
- "name": "MixChart",
2369
- "module": "src/models/mix-chart.ts"
2370
- }
2371
- }
2372
- ]
2373
- },
2374
- {
2375
- "kind": "javascript-module",
2376
- "path": "src/models/pie-chart.ts",
2377
- "declarations": [
2444
+ },
2378
2445
  {
2379
2446
  "kind": "function",
2380
- "name": "PieChart",
2447
+ "name": "getFormattedDateGroupBy",
2381
2448
  "parameters": [
2382
2449
  {
2383
- "name": "container",
2450
+ "name": "groupByFieldValue",
2384
2451
  "type": {
2385
- "text": "HTMLElement"
2452
+ "text": "any"
2386
2453
  }
2387
2454
  },
2388
2455
  {
2389
- "name": "config",
2390
- "type": {
2391
- "text": "PieOptions"
2392
- }
2393
- }
2394
- ]
2395
- }
2396
- ],
2397
- "exports": [
2398
- {
2399
- "kind": "js",
2400
- "name": "PieChart",
2401
- "declaration": {
2402
- "name": "PieChart",
2403
- "module": "src/models/pie-chart.ts"
2404
- }
2405
- }
2406
- ]
2407
- },
2408
- {
2409
- "kind": "javascript-module",
2410
- "path": "src/models/rose-chart.ts",
2411
- "declarations": [
2412
- {
2413
- "kind": "function",
2414
- "name": "RoseChart",
2415
- "parameters": [
2416
- {
2417
- "name": "container",
2456
+ "name": "fieldType",
2418
2457
  "type": {
2419
- "text": "HTMLElement"
2458
+ "text": "FieldTypeEnum"
2420
2459
  }
2421
2460
  },
2422
2461
  {
2423
- "name": "config",
2462
+ "name": "showTime",
2463
+ "optional": true,
2424
2464
  "type": {
2425
- "text": "RoseOptions"
2465
+ "text": "boolean"
2426
2466
  }
2427
2467
  }
2428
2468
  ]
2429
- }
2430
- ],
2431
- "exports": [
2432
- {
2433
- "kind": "js",
2434
- "name": "RoseChart",
2435
- "declaration": {
2436
- "name": "RoseChart",
2437
- "module": "src/models/rose-chart.ts"
2438
- }
2439
- }
2440
- ]
2441
- },
2442
- {
2443
- "kind": "javascript-module",
2444
- "path": "src/models/scatter-chart.ts",
2445
- "declarations": [
2469
+ },
2446
2470
  {
2447
2471
  "kind": "function",
2448
- "name": "ScatterChart",
2472
+ "name": "getReduced",
2473
+ "return": {
2474
+ "type": {
2475
+ "text": "any[]"
2476
+ }
2477
+ },
2449
2478
  "parameters": [
2450
2479
  {
2451
- "name": "container",
2480
+ "name": "allRows",
2452
2481
  "type": {
2453
- "text": "HTMLElement"
2482
+ "text": "any[]"
2454
2483
  }
2455
2484
  },
2456
2485
  {
2457
- "name": "config",
2486
+ "name": "groupByField",
2458
2487
  "type": {
2459
- "text": "ScatterOptions"
2488
+ "text": "string"
2460
2489
  }
2461
- }
2462
- ]
2463
- }
2464
- ],
2465
- "exports": [
2466
- {
2467
- "kind": "js",
2468
- "name": "ScatterChart",
2469
- "declaration": {
2470
- "name": "ScatterChart",
2471
- "module": "src/models/scatter-chart.ts"
2472
- }
2473
- }
2474
- ]
2475
- },
2476
- {
2477
- "kind": "javascript-module",
2478
- "path": "src/models/stock-chart.ts",
2479
- "declarations": [
2480
- {
2481
- "kind": "function",
2482
- "name": "StockChart",
2483
- "parameters": [
2490
+ },
2484
2491
  {
2485
- "name": "container",
2492
+ "name": "valueField",
2486
2493
  "type": {
2487
- "text": "HTMLElement"
2494
+ "text": "string"
2488
2495
  }
2489
2496
  },
2490
2497
  {
2491
- "name": "config",
2498
+ "name": "seriesField",
2499
+ "optional": true,
2492
2500
  "type": {
2493
- "text": "StockOptions"
2501
+ "text": "string"
2494
2502
  }
2495
2503
  }
2496
2504
  ]
@@ -2499,43 +2507,33 @@
2499
2507
  "exports": [
2500
2508
  {
2501
2509
  "kind": "js",
2502
- "name": "StockChart",
2510
+ "name": "extractFields",
2503
2511
  "declaration": {
2504
- "name": "StockChart",
2505
- "module": "src/models/stock-chart.ts"
2512
+ "name": "extractFields",
2513
+ "module": "src/chart-datasource/chart-datasource.utils.ts"
2506
2514
  }
2507
- }
2508
- ]
2509
- },
2510
- {
2511
- "kind": "javascript-module",
2512
- "path": "src/settings/colors.ts",
2513
- "declarations": [
2515
+ },
2514
2516
  {
2515
- "kind": "variable",
2516
- "name": "chartsGradients",
2517
- "type": {
2518
- "text": "object"
2519
- },
2520
- "default": "{\n rapidBlue: `l(270) 0:${PrimaryRapidColorHEX.purple} 1:${PrimaryRapidColorHEX.blue}`,\n rapidGreen: `l(270) 0:${RapidColorHEX.green} 1:${RapidColorHEX.lightGreen}`,\n rapidRed: `l(300) 0:${RapidColorHEX.red} 1:${RapidColorHEX.lightRed}`,\n rapidPortage: `l(270) 0:${RapidColorHEX.portage} 1:${RapidColorHEX.lightPortage}`,\n rapidAlabaster: `l(270) 0:${RapidColorHEX.white} 1:${RapidColorHEX.silver}`,\n rapidSalomie: `l(270) 0:${RapidColorHEX.salomie} 1:${RapidColorHEX.lightSalomie}`,\n rapidMelon: `l(270) 0:${RapidColorHEX.melon} 1:${RapidColorHEX.lightMelon}`,\n rapidDodgerBlue: `l(270) 0:${RapidColorHEX.dodgerBlue} 1:${RapidColorHEX.lightDodgerBlue}`,\n rapidIce: `l(170) 0:${RapidColorHEX.ice} 1:${RapidColorHEX.lightIce}`,\n rapidViolet: `l(270) 0:${RapidColorHEX.violet} 1:${RapidColorHEX.lightViolet}`,\n}",
2521
- "description": "G2Plot Chart gradient colors",
2522
- "privacy": "public"
2523
- }
2524
- ],
2525
- "exports": [
2517
+ "kind": "js",
2518
+ "name": "getFormattedDateGroupBy",
2519
+ "declaration": {
2520
+ "name": "getFormattedDateGroupBy",
2521
+ "module": "src/chart-datasource/chart-datasource.utils.ts"
2522
+ }
2523
+ },
2526
2524
  {
2527
2525
  "kind": "js",
2528
- "name": "chartsGradients",
2526
+ "name": "getReduced",
2529
2527
  "declaration": {
2530
- "name": "chartsGradients",
2531
- "module": "src/settings/colors.ts"
2528
+ "name": "getReduced",
2529
+ "module": "src/chart-datasource/chart-datasource.utils.ts"
2532
2530
  }
2533
2531
  }
2534
2532
  ]
2535
2533
  },
2536
2534
  {
2537
2535
  "kind": "javascript-module",
2538
- "path": "src/settings/index.ts",
2536
+ "path": "src/chart-datasource/index.ts",
2539
2537
  "declarations": [],
2540
2538
  "exports": [
2541
2539
  {
@@ -2543,7 +2541,7 @@
2543
2541
  "name": "*",
2544
2542
  "declaration": {
2545
2543
  "name": "*",
2546
- "package": "./colors"
2544
+ "package": "./chart-datasource.config"
2547
2545
  }
2548
2546
  },
2549
2547
  {
@@ -2551,16 +2549,18 @@
2551
2549
  "name": "*",
2552
2550
  "declaration": {
2553
2551
  "name": "*",
2554
- "package": "./shapes"
2552
+ "package": "./chart-datasource.types"
2553
+ }
2554
+ },
2555
+ {
2556
+ "kind": "js",
2557
+ "name": "*",
2558
+ "declaration": {
2559
+ "name": "*",
2560
+ "package": "./chart-datasource"
2555
2561
  }
2556
2562
  }
2557
2563
  ]
2558
- },
2559
- {
2560
- "kind": "javascript-module",
2561
- "path": "src/settings/shapes.ts",
2562
- "declarations": [],
2563
- "exports": []
2564
2564
  }
2565
2565
  ]
2566
2566
  }