@genesislcap/g2plot-chart 14.341.0 → 14.342.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/custom-elements.json +1161 -1161
  2. package/package.json +14 -14
@@ -580,171 +580,695 @@
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",
856
+ "type": {
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
+ }
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": [
1134
+ {
1135
+ "kind": "field",
1136
+ "name": "chartFields",
1137
+ "type": {
1138
+ "text": "string"
1139
+ },
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"
1143
+ },
1144
+ {
1145
+ "kind": "field",
1146
+ "name": "serverFields",
1147
+ "type": {
1148
+ "text": "string"
1149
+ },
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)",
1151
+ "privacy": "public"
1152
+ },
1153
+ {
1154
+ "kind": "field",
1155
+ "name": "isStack",
1156
+ "type": {
1157
+ "text": "boolean"
1158
+ },
1159
+ "default": "false",
1160
+ "description": "If true, will enable stacked chart to effectively portray comparisons of total values across several categories.",
1161
+ "privacy": "public"
1162
+ },
1163
+ {
1164
+ "kind": "field",
1165
+ "name": "isGroup",
1166
+ "type": {
1167
+ "text": "boolean"
1168
+ },
1169
+ "default": "false",
1170
+ "description": "If true, will enable grouped chart plotting numeric values for levels of two categorical variables instead of one.",
1171
+ "privacy": "public"
1172
+ },
1173
+ {
1174
+ "kind": "field",
1175
+ "name": "reduced",
1176
+ "type": {
1177
+ "text": "boolean"
1178
+ },
1179
+ "privacy": "protected",
1180
+ "default": "true",
1181
+ "description": "Enabled by default, will not work if a custom charts-fields is used (requires [type, value]).",
1182
+ "inheritedFrom": {
1183
+ "name": "ConcreteDatasource",
1184
+ "module": "src/chart-datasource/chart-datasource.ts"
1185
+ }
1186
+ },
1187
+ {
1188
+ "kind": "field",
1189
+ "name": "showFormattedTime",
1190
+ "type": {
1191
+ "text": "boolean"
1192
+ },
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.",
1196
+ "inheritedFrom": {
1197
+ "name": "ConcreteDatasource",
1198
+ "module": "src/chart-datasource/chart-datasource.ts"
1199
+ }
1200
+ },
1201
+ {
1202
+ "kind": "field",
1203
+ "name": "withTimestampFormatting",
1204
+ "type": {
1205
+ "text": "boolean"
1206
+ },
1207
+ "default": "true",
1208
+ "description": "Enabled by default, will format UNIX timestamp fields to readable [DATE|DATETIME] values.",
1209
+ "privacy": "public",
1210
+ "inheritedFrom": {
1211
+ "name": "BaseDatasource",
1212
+ "module": "src/utils/base-datasource.ts"
1213
+ }
1214
+ },
1215
+ {
1216
+ "kind": "field",
1217
+ "name": "resourceName",
1218
+ "type": {
1219
+ "text": "string"
1220
+ },
1221
+ "default": "''",
1222
+ "inheritedFrom": {
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"
1228
+ },
1229
+ {
1230
+ "kind": "field",
1231
+ "name": "criteria",
1232
+ "type": {
1233
+ "text": "string"
1234
+ },
1235
+ "inheritedFrom": {
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"
1241
+ },
1242
+ {
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"
1254
+ },
1255
+ {
1256
+ "kind": "field",
1257
+ "name": "isSnapshot",
1258
+ "type": {
1259
+ "text": "boolean"
1260
+ },
1261
+ "default": "false",
1262
+ "inheritedFrom": {
1263
+ "name": "BaseDatasource",
1264
+ "module": "src/utils/base-datasource.ts"
1265
+ },
1266
+ "description": "Request a snapshot from the server.",
1267
+ "privacy": "public"
1268
+ },
1269
+ {
1270
+ "kind": "field",
1271
+ "name": "maxRows",
748
1272
  "type": {
749
1273
  "text": "number"
750
1274
  },
@@ -1194,313 +1718,33 @@
1194
1718
  }
1195
1719
  },
1196
1720
  {
1197
- "kind": "field",
1198
- "name": "datasourceConfig",
1199
- "inheritedFrom": {
1200
- "name": "BaseDatasource",
1201
- "module": "src/utils/base-datasource.ts"
1202
- }
1203
- },
1204
- {
1205
- "kind": "field",
1206
- "name": "requiresFullDataRefresh",
1207
- "type": {
1208
- "text": "boolean"
1209
- },
1210
- "privacy": "public",
1211
- "default": "true",
1212
- "inheritedFrom": {
1213
- "name": "BaseDatasource",
1214
- "module": "src/utils/base-datasource.ts"
1215
- }
1216
- },
1217
- {
1218
- "kind": "field",
1219
- "name": "dataSub",
1220
- "type": {
1221
- "text": "Subscription"
1222
- },
1223
- "privacy": "public",
1224
- "inheritedFrom": {
1225
- "name": "BaseDatasource",
1226
- "module": "src/utils/base-datasource.ts"
1227
- }
1228
- },
1229
- {
1230
- "kind": "field",
1231
- "name": "sourceRef",
1232
- "type": {
1233
- "text": "string"
1234
- },
1235
- "privacy": "private",
1236
- "inheritedFrom": {
1237
- "name": "BaseDatasource",
1238
- "module": "src/utils/base-datasource.ts"
1239
- }
1240
- },
1241
- {
1242
- "kind": "field",
1243
- "name": "rowsSyncedWithStream",
1244
- "type": {
1245
- "text": "Map<string, any>"
1246
- },
1247
- "privacy": "public",
1248
- "default": "new Map()",
1249
- "inheritedFrom": {
1250
- "name": "BaseDatasource",
1251
- "module": "src/utils/base-datasource.ts"
1252
- }
1253
- },
1254
- {
1255
- "kind": "field",
1256
- "name": "dataSubWasLoggedOff",
1257
- "type": {
1258
- "text": "boolean"
1259
- },
1260
- "privacy": "public",
1261
- "default": "false",
1262
- "inheritedFrom": {
1263
- "name": "BaseDatasource",
1264
- "module": "src/utils/base-datasource.ts"
1265
- }
1266
- },
1267
- {
1268
- "kind": "field",
1269
- "name": "criteriaFromFilters",
1270
- "type": {
1271
- "text": "Map<string, string>"
1272
- },
1273
- "privacy": "private",
1274
- "default": "new Map()",
1275
- "inheritedFrom": {
1276
- "name": "BaseDatasource",
1277
- "module": "src/utils/base-datasource.ts"
1278
- }
1279
- },
1280
- {
1281
- "kind": "field",
1282
- "name": "update",
1283
- "type": {
1284
- "text": "BehaviorSubject<Map<string, string>>"
1285
- },
1286
- "privacy": "public",
1287
- "default": "new BehaviorSubject(new Map())",
1288
- "inheritedFrom": {
1289
- "name": "BaseDatasource",
1290
- "module": "src/utils/base-datasource.ts"
1291
- }
1292
- },
1293
- {
1294
- "kind": "method",
1295
- "name": "reset",
1296
- "inheritedFrom": {
1297
- "name": "BaseDatasource",
1298
- "module": "src/utils/base-datasource.ts"
1299
- }
1300
- },
1301
- {
1302
- "kind": "method",
1303
- "name": "fetchGenesisData",
1304
- "privacy": "public",
1305
- "parameters": [
1306
- {
1307
- "name": "withFullInit",
1308
- "default": "true"
1309
- }
1310
- ],
1311
- "inheritedFrom": {
1312
- "name": "BaseDatasource",
1313
- "module": "src/utils/base-datasource.ts"
1314
- }
1315
- },
1316
- {
1317
- "kind": "method",
1318
- "name": "initDatasource",
1319
- "privacy": "public",
1320
- "inheritedFrom": {
1321
- "name": "BaseDatasource",
1322
- "module": "src/utils/base-datasource.ts"
1323
- }
1324
- },
1325
- {
1326
- "kind": "method",
1327
- "name": "datasourceOptions",
1328
- "privacy": "private",
1329
- "return": {
1330
- "type": {
1331
- "text": "DatasourceOptions"
1332
- }
1333
- },
1334
- "inheritedFrom": {
1335
- "name": "BaseDatasource",
1336
- "module": "src/utils/base-datasource.ts"
1337
- }
1338
- },
1339
- {
1340
- "kind": "method",
1341
- "name": "handleStreamUpdate",
1342
- "privacy": "private",
1343
- "parameters": [
1344
- {
1345
- "name": "result",
1346
- "type": {
1347
- "text": "FilteredDataServerResult | RequestServerResult"
1348
- }
1349
- }
1350
- ],
1351
- "inheritedFrom": {
1352
- "name": "BaseDatasource",
1353
- "module": "src/utils/base-datasource.ts"
1354
- }
1355
- },
1356
- {
1357
- "kind": "method",
1358
- "name": "applyRequestServerData",
1359
- "privacy": "public",
1360
- "parameters": [
1361
- {
1362
- "name": "requestServerResult",
1363
- "type": {
1364
- "text": "RequestServerResult"
1365
- }
1366
- }
1367
- ],
1368
- "inheritedFrom": {
1369
- "name": "BaseDatasource",
1370
- "module": "src/utils/base-datasource.ts"
1371
- }
1372
- },
1373
- {
1374
- "kind": "method",
1375
- "name": "applyDataserverData",
1376
- "privacy": "public",
1377
- "parameters": [
1378
- {
1379
- "name": "dataServerResult",
1380
- "type": {
1381
- "text": "FilteredDataServerResult"
1382
- }
1383
- }
1384
- ],
1385
- "inheritedFrom": {
1386
- "name": "BaseDatasource",
1387
- "module": "src/utils/base-datasource.ts"
1388
- }
1389
- },
1390
- {
1391
- "kind": "method",
1392
- "name": "buildCriteria",
1393
- "privacy": "private",
1394
- "return": {
1395
- "type": {
1396
- "text": "string"
1397
- }
1398
- },
1399
- "inheritedFrom": {
1400
- "name": "BaseDatasource",
1401
- "module": "src/utils/base-datasource.ts"
1402
- }
1403
- },
1404
- {
1405
- "kind": "method",
1406
- "name": "setFilter",
1407
- "privacy": "public",
1408
- "parameters": [
1409
- {
1410
- "name": "fieldName",
1411
- "type": {
1412
- "text": "string"
1413
- }
1414
- },
1415
- {
1416
- "name": "newFilter",
1417
- "type": {
1418
- "text": "string"
1419
- }
1420
- }
1421
- ],
1422
- "inheritedFrom": {
1423
- "name": "BaseDatasource",
1424
- "module": "src/utils/base-datasource.ts"
1425
- }
1426
- },
1427
- {
1428
- "kind": "method",
1429
- "name": "removeFilter",
1430
- "privacy": "public",
1431
- "parameters": [
1432
- {
1433
- "name": "fieldName",
1434
- "type": {
1435
- "text": "string"
1436
- }
1437
- }
1438
- ],
1439
- "inheritedFrom": {
1440
- "name": "BaseDatasource",
1441
- "module": "src/utils/base-datasource.ts"
1442
- }
1443
- },
1444
- {
1445
- "kind": "method",
1446
- "name": "handleError",
1447
- "return": {
1448
- "type": {
1449
- "text": "void"
1450
- }
1451
- },
1452
- "parameters": [
1453
- {
1454
- "name": "params",
1455
- "default": "{}",
1456
- "type": {
1457
- "text": "BaseDatasourceErrorHandlingOptions"
1458
- }
1459
- }
1460
- ],
1721
+ "kind": "field",
1722
+ "name": "datasourceConfig",
1461
1723
  "inheritedFrom": {
1462
1724
  "name": "BaseDatasource",
1463
1725
  "module": "src/utils/base-datasource.ts"
1464
1726
  }
1465
1727
  },
1466
1728
  {
1467
- "kind": "method",
1468
- "name": "getFieldMetadata",
1469
- "return": {
1470
- "type": {
1471
- "text": "FieldMetadata"
1472
- }
1729
+ "kind": "field",
1730
+ "name": "requiresFullDataRefresh",
1731
+ "type": {
1732
+ "text": "boolean"
1473
1733
  },
1474
- "parameters": [
1475
- {
1476
- "name": "fieldName",
1477
- "type": {
1478
- "text": "string"
1479
- }
1480
- }
1481
- ],
1734
+ "privacy": "public",
1735
+ "default": "true",
1482
1736
  "inheritedFrom": {
1483
1737
  "name": "BaseDatasource",
1484
1738
  "module": "src/utils/base-datasource.ts"
1485
1739
  }
1486
1740
  },
1487
1741
  {
1488
- "kind": "method",
1489
- "name": "getDefaultLabelFormat",
1490
- "parameters": [
1491
- {
1492
- "name": "field",
1493
- "type": {
1494
- "text": "any"
1495
- }
1496
- },
1497
- {
1498
- "name": "type",
1499
- "type": {
1500
- "text": "FieldTypeEnum"
1501
- }
1502
- }
1503
- ],
1742
+ "kind": "field",
1743
+ "name": "dataSub",
1744
+ "type": {
1745
+ "text": "Subscription"
1746
+ },
1747
+ "privacy": "public",
1504
1748
  "inheritedFrom": {
1505
1749
  "name": "BaseDatasource",
1506
1750
  "module": "src/utils/base-datasource.ts"
@@ -1508,940 +1752,704 @@
1508
1752
  },
1509
1753
  {
1510
1754
  "kind": "field",
1511
- "name": "_presentation",
1755
+ "name": "sourceRef",
1512
1756
  "type": {
1513
- "text": "ComponentPresentation | null | undefined"
1757
+ "text": "string"
1514
1758
  },
1515
1759
  "privacy": "private",
1516
- "default": "void 0",
1517
1760
  "inheritedFrom": {
1518
- "name": "FoundationElement",
1519
- "module": "src/foundation-element/foundation-element.ts"
1761
+ "name": "BaseDatasource",
1762
+ "module": "src/utils/base-datasource.ts"
1520
1763
  }
1521
1764
  },
1522
1765
  {
1523
1766
  "kind": "field",
1524
- "name": "$presentation",
1767
+ "name": "rowsSyncedWithStream",
1525
1768
  "type": {
1526
- "text": "ComponentPresentation | null"
1769
+ "text": "Map<string, any>"
1527
1770
  },
1528
1771
  "privacy": "public",
1529
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1772
+ "default": "new Map()",
1530
1773
  "inheritedFrom": {
1531
- "name": "FoundationElement",
1532
- "module": "src/foundation-element/foundation-element.ts"
1774
+ "name": "BaseDatasource",
1775
+ "module": "src/utils/base-datasource.ts"
1533
1776
  }
1534
1777
  },
1535
1778
  {
1536
1779
  "kind": "field",
1537
- "name": "template",
1780
+ "name": "dataSubWasLoggedOff",
1538
1781
  "type": {
1539
- "text": "ElementViewTemplate | void | null"
1782
+ "text": "boolean"
1540
1783
  },
1541
1784
  "privacy": "public",
1542
- "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.",
1785
+ "default": "false",
1543
1786
  "inheritedFrom": {
1544
- "name": "FoundationElement",
1545
- "module": "src/foundation-element/foundation-element.ts"
1787
+ "name": "BaseDatasource",
1788
+ "module": "src/utils/base-datasource.ts"
1546
1789
  }
1547
1790
  },
1548
1791
  {
1549
- "kind": "method",
1550
- "name": "templateChanged",
1551
- "privacy": "protected",
1552
- "return": {
1553
- "type": {
1554
- "text": "void"
1555
- }
1792
+ "kind": "field",
1793
+ "name": "criteriaFromFilters",
1794
+ "type": {
1795
+ "text": "Map<string, string>"
1556
1796
  },
1797
+ "privacy": "private",
1798
+ "default": "new Map()",
1557
1799
  "inheritedFrom": {
1558
- "name": "FoundationElement",
1559
- "module": "src/foundation-element/foundation-element.ts"
1800
+ "name": "BaseDatasource",
1801
+ "module": "src/utils/base-datasource.ts"
1560
1802
  }
1561
1803
  },
1562
1804
  {
1563
1805
  "kind": "field",
1564
- "name": "styles",
1806
+ "name": "update",
1565
1807
  "type": {
1566
- "text": "ElementStyles | void | null"
1808
+ "text": "BehaviorSubject<Map<string, string>>"
1567
1809
  },
1568
1810
  "privacy": "public",
1569
- "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.",
1811
+ "default": "new BehaviorSubject(new Map())",
1570
1812
  "inheritedFrom": {
1571
- "name": "FoundationElement",
1572
- "module": "src/foundation-element/foundation-element.ts"
1813
+ "name": "BaseDatasource",
1814
+ "module": "src/utils/base-datasource.ts"
1573
1815
  }
1574
1816
  },
1575
1817
  {
1576
1818
  "kind": "method",
1577
- "name": "stylesChanged",
1578
- "privacy": "protected",
1579
- "return": {
1580
- "type": {
1581
- "text": "void"
1582
- }
1583
- },
1819
+ "name": "reset",
1584
1820
  "inheritedFrom": {
1585
- "name": "FoundationElement",
1586
- "module": "src/foundation-element/foundation-element.ts"
1821
+ "name": "BaseDatasource",
1822
+ "module": "src/utils/base-datasource.ts"
1587
1823
  }
1588
1824
  },
1589
1825
  {
1590
1826
  "kind": "method",
1591
- "name": "compose",
1827
+ "name": "fetchGenesisData",
1592
1828
  "privacy": "public",
1593
- "static": true,
1594
- "return": {
1595
- "type": {
1596
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1597
- }
1598
- },
1599
1829
  "parameters": [
1600
1830
  {
1601
- "name": "this",
1602
- "type": {
1603
- "text": "K"
1604
- }
1605
- },
1606
- {
1607
- "name": "elementDefinition",
1608
- "type": {
1609
- "text": "T"
1610
- },
1611
- "description": "The definition of the element to create the registry\nfunction for."
1831
+ "name": "withFullInit",
1832
+ "default": "true"
1612
1833
  }
1613
1834
  ],
1614
- "description": "Defines an element registry function with a set of element definition defaults.",
1615
1835
  "inheritedFrom": {
1616
- "name": "FoundationElement",
1617
- "module": "src/foundation-element/foundation-element.ts"
1836
+ "name": "BaseDatasource",
1837
+ "module": "src/utils/base-datasource.ts"
1618
1838
  }
1619
- }
1620
- ],
1621
- "attributes": [
1622
- {
1623
- "name": "chart-fields",
1624
- "type": {
1625
- "text": "string"
1626
- },
1627
- "default": "defaultChartFields",
1628
- "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",
1629
- "resolveInitializer": {
1630
- "module": "src/chart-datasource/chart-datasource.ts"
1631
- },
1632
- "fieldName": "chartFields"
1633
- },
1634
- {
1635
- "name": "server-fields",
1636
- "type": {
1637
- "text": "string"
1638
- },
1639
- "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)",
1640
- "fieldName": "serverFields"
1641
1839
  },
1642
1840
  {
1643
- "name": "is-stack",
1644
- "type": {
1645
- "text": "boolean"
1646
- },
1647
- "default": "false",
1648
- "description": "If true, will enable stacked chart to effectively portray comparisons of total values across several categories.",
1649
- "fieldName": "isStack"
1841
+ "kind": "method",
1842
+ "name": "initDatasource",
1843
+ "privacy": "public",
1844
+ "inheritedFrom": {
1845
+ "name": "BaseDatasource",
1846
+ "module": "src/utils/base-datasource.ts"
1847
+ }
1650
1848
  },
1651
1849
  {
1652
- "name": "is-group",
1653
- "type": {
1654
- "text": "boolean"
1850
+ "kind": "method",
1851
+ "name": "datasourceOptions",
1852
+ "privacy": "private",
1853
+ "return": {
1854
+ "type": {
1855
+ "text": "DatasourceOptions"
1856
+ }
1655
1857
  },
1656
- "default": "false",
1657
- "description": "If true, will enable grouped chart plotting numeric values for levels of two categorical variables instead of one.",
1658
- "fieldName": "isGroup"
1858
+ "inheritedFrom": {
1859
+ "name": "BaseDatasource",
1860
+ "module": "src/utils/base-datasource.ts"
1861
+ }
1659
1862
  },
1660
1863
  {
1661
- "type": {
1662
- "text": "boolean"
1663
- },
1664
- "default": "true",
1665
- "fieldName": "reduced",
1864
+ "kind": "method",
1865
+ "name": "handleStreamUpdate",
1866
+ "privacy": "private",
1867
+ "parameters": [
1868
+ {
1869
+ "name": "result",
1870
+ "type": {
1871
+ "text": "FilteredDataServerResult | RequestServerResult"
1872
+ }
1873
+ }
1874
+ ],
1666
1875
  "inheritedFrom": {
1667
1876
  "name": "BaseDatasource",
1668
1877
  "module": "src/utils/base-datasource.ts"
1669
- },
1670
- "description": "Enabled by default, will not work if a custom charts-fields is used (requires [type, value])."
1878
+ }
1671
1879
  },
1672
1880
  {
1673
- "name": "show-formatted-time",
1674
- "type": {
1675
- "text": "boolean"
1676
- },
1677
- "default": "false",
1678
- "description": "Only works if [withTimestampFormatting] is true.\n\nDisabled by default, will ignore the TIME portion in the Chart labels.\nOnly affects [DATETIME] fields.",
1679
- "fieldName": "showFormattedTime"
1881
+ "kind": "method",
1882
+ "name": "applyRequestServerData",
1883
+ "privacy": "public",
1884
+ "parameters": [
1885
+ {
1886
+ "name": "requestServerResult",
1887
+ "type": {
1888
+ "text": "RequestServerResult"
1889
+ }
1890
+ }
1891
+ ],
1892
+ "inheritedFrom": {
1893
+ "name": "BaseDatasource",
1894
+ "module": "src/utils/base-datasource.ts"
1895
+ }
1680
1896
  },
1681
1897
  {
1682
- "name": "with-timestamp-formatting",
1683
- "type": {
1684
- "text": "boolean"
1685
- },
1686
- "default": "true",
1687
- "description": "Enabled by default, will format UNIX timestamp fields to readable [DATE|DATETIME] values.",
1688
- "fieldName": "withTimestampFormatting",
1898
+ "kind": "method",
1899
+ "name": "applyDataserverData",
1900
+ "privacy": "public",
1901
+ "parameters": [
1902
+ {
1903
+ "name": "dataServerResult",
1904
+ "type": {
1905
+ "text": "FilteredDataServerResult"
1906
+ }
1907
+ }
1908
+ ],
1689
1909
  "inheritedFrom": {
1690
1910
  "name": "BaseDatasource",
1691
1911
  "module": "src/utils/base-datasource.ts"
1692
1912
  }
1693
1913
  },
1694
1914
  {
1695
- "name": "resourceName",
1696
- "type": {
1697
- "text": "string"
1915
+ "kind": "method",
1916
+ "name": "buildCriteria",
1917
+ "privacy": "private",
1918
+ "return": {
1919
+ "type": {
1920
+ "text": "string"
1921
+ }
1698
1922
  },
1699
- "default": "''",
1700
- "fieldName": "resourceName",
1701
1923
  "inheritedFrom": {
1702
1924
  "name": "BaseDatasource",
1703
1925
  "module": "src/utils/base-datasource.ts"
1704
- },
1705
- "description": "Name of the backend resource which contain the data."
1926
+ }
1706
1927
  },
1707
1928
  {
1708
- "name": "criteria",
1709
- "type": {
1710
- "text": "string"
1711
- },
1712
- "fieldName": "criteria",
1929
+ "kind": "method",
1930
+ "name": "setFilter",
1931
+ "privacy": "public",
1932
+ "parameters": [
1933
+ {
1934
+ "name": "fieldName",
1935
+ "type": {
1936
+ "text": "string"
1937
+ }
1938
+ },
1939
+ {
1940
+ "name": "newFilter",
1941
+ "type": {
1942
+ "text": "string"
1943
+ }
1944
+ }
1945
+ ],
1713
1946
  "inheritedFrom": {
1714
1947
  "name": "BaseDatasource",
1715
1948
  "module": "src/utils/base-datasource.ts"
1716
- },
1717
- "description": "Clients can send a Groovy expression to perform filters on the query server,\nthese remain active for the life of the subscription."
1949
+ }
1718
1950
  },
1719
1951
  {
1720
- "type": {
1721
- "text": "boolean"
1722
- },
1723
- "default": "true",
1724
- "fieldName": "reduced",
1952
+ "kind": "method",
1953
+ "name": "removeFilter",
1954
+ "privacy": "public",
1955
+ "parameters": [
1956
+ {
1957
+ "name": "fieldName",
1958
+ "type": {
1959
+ "text": "string"
1960
+ }
1961
+ }
1962
+ ],
1725
1963
  "inheritedFrom": {
1726
1964
  "name": "BaseDatasource",
1727
1965
  "module": "src/utils/base-datasource.ts"
1728
- },
1729
- "description": "Enabled by default, will not work if a custom charts-fields is used (requires [type, value])."
1966
+ }
1730
1967
  },
1731
1968
  {
1732
- "name": "maxRows",
1733
- "type": {
1734
- "text": "number"
1969
+ "kind": "method",
1970
+ "name": "handleError",
1971
+ "return": {
1972
+ "type": {
1973
+ "text": "void"
1974
+ }
1735
1975
  },
1736
- "fieldName": "maxRows",
1976
+ "parameters": [
1977
+ {
1978
+ "name": "params",
1979
+ "default": "{}",
1980
+ "type": {
1981
+ "text": "BaseDatasourceErrorHandlingOptions"
1982
+ }
1983
+ }
1984
+ ],
1737
1985
  "inheritedFrom": {
1738
1986
  "name": "BaseDatasource",
1739
1987
  "module": "src/utils/base-datasource.ts"
1740
- },
1741
- "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."
1988
+ }
1742
1989
  },
1743
1990
  {
1744
- "name": "maxView",
1745
- "type": {
1746
- "text": "number"
1991
+ "kind": "method",
1992
+ "name": "getFieldMetadata",
1993
+ "return": {
1994
+ "type": {
1995
+ "text": "FieldMetadata"
1996
+ }
1747
1997
  },
1748
- "fieldName": "maxView",
1998
+ "parameters": [
1999
+ {
2000
+ "name": "fieldName",
2001
+ "type": {
2002
+ "text": "string"
2003
+ }
2004
+ }
2005
+ ],
1749
2006
  "inheritedFrom": {
1750
2007
  "name": "BaseDatasource",
1751
2008
  "module": "src/utils/base-datasource.ts"
1752
- },
1753
- "description": "Maximum number of rows to track as part of a client \"view\"."
2009
+ }
1754
2010
  },
1755
2011
  {
1756
- "name": "orderBy",
1757
- "type": {
1758
- "text": "string"
1759
- },
1760
- "fieldName": "orderBy",
2012
+ "kind": "method",
2013
+ "name": "getDefaultLabelFormat",
2014
+ "parameters": [
2015
+ {
2016
+ "name": "field",
2017
+ "type": {
2018
+ "text": "any"
2019
+ }
2020
+ },
2021
+ {
2022
+ "name": "type",
2023
+ "type": {
2024
+ "text": "FieldTypeEnum"
2025
+ }
2026
+ }
2027
+ ],
1761
2028
  "inheritedFrom": {
1762
2029
  "name": "BaseDatasource",
1763
2030
  "module": "src/utils/base-datasource.ts"
1764
- },
1765
- "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)."
2031
+ }
1766
2032
  },
1767
2033
  {
2034
+ "kind": "field",
2035
+ "name": "_presentation",
1768
2036
  "type": {
1769
- "text": "boolean"
2037
+ "text": "ComponentPresentation | null | undefined"
1770
2038
  },
1771
- "default": "true",
1772
- "fieldName": "reduced",
2039
+ "privacy": "private",
2040
+ "default": "void 0",
1773
2041
  "inheritedFrom": {
1774
- "name": "BaseDatasource",
1775
- "module": "src/utils/base-datasource.ts"
1776
- },
1777
- "description": "Enabled by default, will not work if a custom charts-fields is used (requires [type, value])."
2042
+ "name": "FoundationElement",
2043
+ "module": "src/foundation-element/foundation-element.ts"
2044
+ }
1778
2045
  },
1779
2046
  {
1780
- "name": "rowId",
2047
+ "kind": "field",
2048
+ "name": "$presentation",
1781
2049
  "type": {
1782
- "text": "string"
2050
+ "text": "ComponentPresentation | null"
1783
2051
  },
1784
- "default": "'ROW_REF'",
1785
- "fieldName": "rowId",
2052
+ "privacy": "public",
2053
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1786
2054
  "inheritedFrom": {
1787
- "name": "BaseDatasource",
1788
- "module": "src/utils/base-datasource.ts"
1789
- },
1790
- "description": "Attribute to set an unique identifier for the row."
2055
+ "name": "FoundationElement",
2056
+ "module": "src/foundation-element/foundation-element.ts"
2057
+ }
1791
2058
  },
1792
2059
  {
1793
- "name": "fields",
2060
+ "kind": "field",
2061
+ "name": "template",
1794
2062
  "type": {
1795
- "text": "string"
2063
+ "text": "ElementViewTemplate | void | null"
1796
2064
  },
1797
- "fieldName": "fields",
2065
+ "privacy": "public",
2066
+ "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.",
1798
2067
  "inheritedFrom": {
1799
- "name": "BaseDatasource",
1800
- "module": "src/utils/base-datasource.ts"
2068
+ "name": "FoundationElement",
2069
+ "module": "src/foundation-element/foundation-element.ts"
1801
2070
  }
1802
- }
1803
- ],
1804
- "mixins": [
1805
- {
1806
- "name": "LifecycleMixin",
1807
- "package": "@genesislcap/foundation-utils"
1808
- }
1809
- ],
1810
- "superclass": {
1811
- "name": "ConcreteDatasource",
1812
- "module": "src/chart-datasource/chart-datasource.ts"
1813
- },
1814
- "tagName": "chart-datasource",
1815
- "customElement": true
1816
- }
1817
- ],
1818
- "exports": [
1819
- {
1820
- "kind": "js",
1821
- "name": "defaultChartFields",
1822
- "declaration": {
1823
- "name": "defaultChartFields",
1824
- "module": "src/chart-datasource/chart-datasource.ts"
1825
- }
1826
- },
1827
- {
1828
- "kind": "js",
1829
- "name": "defaultSeriesChartField",
1830
- "declaration": {
1831
- "name": "defaultSeriesChartField",
1832
- "module": "src/chart-datasource/chart-datasource.ts"
1833
- }
1834
- },
1835
- {
1836
- "kind": "js",
1837
- "name": "ChartDatasource",
1838
- "declaration": {
1839
- "name": "ChartDatasource",
1840
- "module": "src/chart-datasource/chart-datasource.ts"
1841
- }
1842
- },
1843
- {
1844
- "kind": "custom-element-definition",
1845
- "name": "chart-datasource",
1846
- "declaration": {
1847
- "name": "ChartDatasource",
1848
- "module": "src/chart-datasource/chart-datasource.ts"
1849
- }
1850
- }
1851
- ]
1852
- },
1853
- {
1854
- "kind": "javascript-module",
1855
- "path": "src/chart-datasource/chart-datasource.types.ts",
1856
- "declarations": [],
1857
- "exports": []
1858
- },
1859
- {
1860
- "kind": "javascript-module",
1861
- "path": "src/chart-datasource/chart-datasource.utils.ts",
1862
- "declarations": [
1863
- {
1864
- "kind": "function",
1865
- "name": "extractFields",
1866
- "parameters": [
2071
+ },
1867
2072
  {
1868
- "name": "fields"
1869
- }
1870
- ]
1871
- },
1872
- {
1873
- "kind": "function",
1874
- "name": "getFormattedDateGroupBy",
1875
- "parameters": [
2073
+ "kind": "method",
2074
+ "name": "templateChanged",
2075
+ "privacy": "protected",
2076
+ "return": {
2077
+ "type": {
2078
+ "text": "void"
2079
+ }
2080
+ },
2081
+ "inheritedFrom": {
2082
+ "name": "FoundationElement",
2083
+ "module": "src/foundation-element/foundation-element.ts"
2084
+ }
2085
+ },
1876
2086
  {
1877
- "name": "groupByFieldValue",
2087
+ "kind": "field",
2088
+ "name": "styles",
1878
2089
  "type": {
1879
- "text": "any"
2090
+ "text": "ElementStyles | void | null"
2091
+ },
2092
+ "privacy": "public",
2093
+ "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.",
2094
+ "inheritedFrom": {
2095
+ "name": "FoundationElement",
2096
+ "module": "src/foundation-element/foundation-element.ts"
1880
2097
  }
1881
2098
  },
1882
2099
  {
1883
- "name": "fieldType",
1884
- "type": {
1885
- "text": "FieldTypeEnum"
2100
+ "kind": "method",
2101
+ "name": "stylesChanged",
2102
+ "privacy": "protected",
2103
+ "return": {
2104
+ "type": {
2105
+ "text": "void"
2106
+ }
2107
+ },
2108
+ "inheritedFrom": {
2109
+ "name": "FoundationElement",
2110
+ "module": "src/foundation-element/foundation-element.ts"
1886
2111
  }
1887
2112
  },
1888
2113
  {
1889
- "name": "showTime",
1890
- "optional": true,
1891
- "type": {
1892
- "text": "boolean"
2114
+ "kind": "method",
2115
+ "name": "compose",
2116
+ "privacy": "public",
2117
+ "static": true,
2118
+ "return": {
2119
+ "type": {
2120
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
2121
+ }
2122
+ },
2123
+ "parameters": [
2124
+ {
2125
+ "name": "this",
2126
+ "type": {
2127
+ "text": "K"
2128
+ }
2129
+ },
2130
+ {
2131
+ "name": "elementDefinition",
2132
+ "type": {
2133
+ "text": "T"
2134
+ },
2135
+ "description": "The definition of the element to create the registry\nfunction for."
2136
+ }
2137
+ ],
2138
+ "description": "Defines an element registry function with a set of element definition defaults.",
2139
+ "inheritedFrom": {
2140
+ "name": "FoundationElement",
2141
+ "module": "src/foundation-element/foundation-element.ts"
1893
2142
  }
1894
2143
  }
1895
- ]
1896
- },
1897
- {
1898
- "kind": "function",
1899
- "name": "getReduced",
1900
- "return": {
1901
- "type": {
1902
- "text": "any[]"
1903
- }
1904
- },
1905
- "parameters": [
2144
+ ],
2145
+ "attributes": [
1906
2146
  {
1907
- "name": "allRows",
2147
+ "name": "chart-fields",
1908
2148
  "type": {
1909
- "text": "any[]"
1910
- }
2149
+ "text": "string"
2150
+ },
2151
+ "default": "defaultChartFields",
2152
+ "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",
2153
+ "resolveInitializer": {
2154
+ "module": "src/chart-datasource/chart-datasource.ts"
2155
+ },
2156
+ "fieldName": "chartFields"
1911
2157
  },
1912
2158
  {
1913
- "name": "groupByField",
2159
+ "name": "server-fields",
1914
2160
  "type": {
1915
2161
  "text": "string"
1916
- }
2162
+ },
2163
+ "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)",
2164
+ "fieldName": "serverFields"
1917
2165
  },
1918
2166
  {
1919
- "name": "valueField",
2167
+ "name": "is-stack",
1920
2168
  "type": {
1921
- "text": "string"
1922
- }
2169
+ "text": "boolean"
2170
+ },
2171
+ "default": "false",
2172
+ "description": "If true, will enable stacked chart to effectively portray comparisons of total values across several categories.",
2173
+ "fieldName": "isStack"
1923
2174
  },
1924
2175
  {
1925
- "name": "seriesField",
1926
- "optional": true,
2176
+ "name": "is-group",
1927
2177
  "type": {
1928
- "text": "string"
1929
- }
1930
- }
1931
- ]
1932
- }
1933
- ],
1934
- "exports": [
1935
- {
1936
- "kind": "js",
1937
- "name": "extractFields",
1938
- "declaration": {
1939
- "name": "extractFields",
1940
- "module": "src/chart-datasource/chart-datasource.utils.ts"
1941
- }
1942
- },
1943
- {
1944
- "kind": "js",
1945
- "name": "getFormattedDateGroupBy",
1946
- "declaration": {
1947
- "name": "getFormattedDateGroupBy",
1948
- "module": "src/chart-datasource/chart-datasource.utils.ts"
1949
- }
1950
- },
1951
- {
1952
- "kind": "js",
1953
- "name": "getReduced",
1954
- "declaration": {
1955
- "name": "getReduced",
1956
- "module": "src/chart-datasource/chart-datasource.utils.ts"
1957
- }
1958
- }
1959
- ]
1960
- },
1961
- {
1962
- "kind": "javascript-module",
1963
- "path": "src/chart-datasource/index.ts",
1964
- "declarations": [],
1965
- "exports": [
1966
- {
1967
- "kind": "js",
1968
- "name": "*",
1969
- "declaration": {
1970
- "name": "*",
1971
- "package": "./chart-datasource.config"
1972
- }
1973
- },
1974
- {
1975
- "kind": "js",
1976
- "name": "*",
1977
- "declaration": {
1978
- "name": "*",
1979
- "package": "./chart-datasource.types"
1980
- }
1981
- },
1982
- {
1983
- "kind": "js",
1984
- "name": "*",
1985
- "declaration": {
1986
- "name": "*",
1987
- "package": "./chart-datasource"
1988
- }
1989
- }
1990
- ]
1991
- },
1992
- {
1993
- "kind": "javascript-module",
1994
- "path": "src/models/area-chart.ts",
1995
- "declarations": [
1996
- {
1997
- "kind": "function",
1998
- "name": "AreaChart",
1999
- "parameters": [
2178
+ "text": "boolean"
2179
+ },
2180
+ "default": "false",
2181
+ "description": "If true, will enable grouped chart plotting numeric values for levels of two categorical variables instead of one.",
2182
+ "fieldName": "isGroup"
2183
+ },
2000
2184
  {
2001
- "name": "container",
2002
2185
  "type": {
2003
- "text": "HTMLElement"
2004
- }
2186
+ "text": "boolean"
2187
+ },
2188
+ "default": "true",
2189
+ "fieldName": "reduced",
2190
+ "inheritedFrom": {
2191
+ "name": "BaseDatasource",
2192
+ "module": "src/utils/base-datasource.ts"
2193
+ },
2194
+ "description": "Enabled by default, will not work if a custom charts-fields is used (requires [type, value])."
2005
2195
  },
2006
2196
  {
2007
- "name": "config",
2197
+ "name": "show-formatted-time",
2008
2198
  "type": {
2009
- "text": "AreaOptions"
2199
+ "text": "boolean"
2200
+ },
2201
+ "default": "false",
2202
+ "description": "Only works if [withTimestampFormatting] is true.\n\nDisabled by default, will ignore the TIME portion in the Chart labels.\nOnly affects [DATETIME] fields.",
2203
+ "fieldName": "showFormattedTime"
2204
+ },
2205
+ {
2206
+ "name": "with-timestamp-formatting",
2207
+ "type": {
2208
+ "text": "boolean"
2209
+ },
2210
+ "default": "true",
2211
+ "description": "Enabled by default, will format UNIX timestamp fields to readable [DATE|DATETIME] values.",
2212
+ "fieldName": "withTimestampFormatting",
2213
+ "inheritedFrom": {
2214
+ "name": "BaseDatasource",
2215
+ "module": "src/utils/base-datasource.ts"
2010
2216
  }
2011
- }
2012
- ]
2013
- }
2014
- ],
2015
- "exports": [
2016
- {
2017
- "kind": "js",
2018
- "name": "AreaChart",
2019
- "declaration": {
2020
- "name": "AreaChart",
2021
- "module": "src/models/area-chart.ts"
2022
- }
2023
- }
2024
- ]
2025
- },
2026
- {
2027
- "kind": "javascript-module",
2028
- "path": "src/models/bar-chart.ts",
2029
- "declarations": [
2030
- {
2031
- "kind": "function",
2032
- "name": "BarChart",
2033
- "parameters": [
2217
+ },
2218
+ {
2219
+ "name": "resourceName",
2220
+ "type": {
2221
+ "text": "string"
2222
+ },
2223
+ "default": "''",
2224
+ "fieldName": "resourceName",
2225
+ "inheritedFrom": {
2226
+ "name": "BaseDatasource",
2227
+ "module": "src/utils/base-datasource.ts"
2228
+ },
2229
+ "description": "Name of the backend resource which contain the data."
2230
+ },
2034
2231
  {
2035
- "name": "container",
2232
+ "name": "criteria",
2036
2233
  "type": {
2037
- "text": "HTMLElement"
2038
- }
2234
+ "text": "string"
2235
+ },
2236
+ "fieldName": "criteria",
2237
+ "inheritedFrom": {
2238
+ "name": "BaseDatasource",
2239
+ "module": "src/utils/base-datasource.ts"
2240
+ },
2241
+ "description": "Clients can send a Groovy expression to perform filters on the query server,\nthese remain active for the life of the subscription."
2039
2242
  },
2040
2243
  {
2041
- "name": "config",
2042
2244
  "type": {
2043
- "text": "BarOptions"
2044
- }
2045
- }
2046
- ]
2047
- }
2048
- ],
2049
- "exports": [
2050
- {
2051
- "kind": "js",
2052
- "name": "BarChart",
2053
- "declaration": {
2054
- "name": "BarChart",
2055
- "module": "src/models/bar-chart.ts"
2056
- }
2057
- }
2058
- ]
2059
- },
2060
- {
2061
- "kind": "javascript-module",
2062
- "path": "src/models/column-chart.ts",
2063
- "declarations": [
2064
- {
2065
- "kind": "function",
2066
- "name": "ColumnChart",
2067
- "parameters": [
2245
+ "text": "boolean"
2246
+ },
2247
+ "default": "true",
2248
+ "fieldName": "reduced",
2249
+ "inheritedFrom": {
2250
+ "name": "BaseDatasource",
2251
+ "module": "src/utils/base-datasource.ts"
2252
+ },
2253
+ "description": "Enabled by default, will not work if a custom charts-fields is used (requires [type, value])."
2254
+ },
2068
2255
  {
2069
- "name": "container",
2256
+ "name": "maxRows",
2070
2257
  "type": {
2071
- "text": "HTMLElement"
2072
- }
2258
+ "text": "number"
2259
+ },
2260
+ "fieldName": "maxRows",
2261
+ "inheritedFrom": {
2262
+ "name": "BaseDatasource",
2263
+ "module": "src/utils/base-datasource.ts"
2264
+ },
2265
+ "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."
2073
2266
  },
2074
2267
  {
2075
- "name": "config",
2268
+ "name": "maxView",
2076
2269
  "type": {
2077
- "text": "ColumnOptions"
2078
- }
2079
- }
2080
- ]
2081
- }
2082
- ],
2083
- "exports": [
2084
- {
2085
- "kind": "js",
2086
- "name": "ColumnChart",
2087
- "declaration": {
2088
- "name": "ColumnChart",
2089
- "module": "src/models/column-chart.ts"
2090
- }
2091
- }
2092
- ]
2093
- },
2094
- {
2095
- "kind": "javascript-module",
2096
- "path": "src/models/donut-chart.ts",
2097
- "declarations": [
2098
- {
2099
- "kind": "function",
2100
- "name": "DonutChart",
2101
- "parameters": [
2270
+ "text": "number"
2271
+ },
2272
+ "fieldName": "maxView",
2273
+ "inheritedFrom": {
2274
+ "name": "BaseDatasource",
2275
+ "module": "src/utils/base-datasource.ts"
2276
+ },
2277
+ "description": "Maximum number of rows to track as part of a client \"view\"."
2278
+ },
2102
2279
  {
2103
- "name": "container",
2280
+ "name": "orderBy",
2104
2281
  "type": {
2105
- "text": "HTMLElement"
2106
- }
2282
+ "text": "string"
2283
+ },
2284
+ "fieldName": "orderBy",
2285
+ "inheritedFrom": {
2286
+ "name": "BaseDatasource",
2287
+ "module": "src/utils/base-datasource.ts"
2288
+ },
2289
+ "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)."
2107
2290
  },
2108
2291
  {
2109
- "name": "config",
2110
2292
  "type": {
2111
- "text": "PieOptions"
2112
- }
2113
- }
2114
- ]
2115
- }
2116
- ],
2117
- "exports": [
2118
- {
2119
- "kind": "js",
2120
- "name": "DonutChart",
2121
- "declaration": {
2122
- "name": "DonutChart",
2123
- "module": "src/models/donut-chart.ts"
2124
- }
2125
- }
2126
- ]
2127
- },
2128
- {
2129
- "kind": "javascript-module",
2130
- "path": "src/models/dual-axes-chart.ts",
2131
- "declarations": [
2132
- {
2133
- "kind": "function",
2134
- "name": "DualAxesChart",
2135
- "parameters": [
2293
+ "text": "boolean"
2294
+ },
2295
+ "default": "true",
2296
+ "fieldName": "reduced",
2297
+ "inheritedFrom": {
2298
+ "name": "BaseDatasource",
2299
+ "module": "src/utils/base-datasource.ts"
2300
+ },
2301
+ "description": "Enabled by default, will not work if a custom charts-fields is used (requires [type, value])."
2302
+ },
2136
2303
  {
2137
- "name": "container",
2304
+ "name": "rowId",
2138
2305
  "type": {
2139
- "text": "HTMLElement"
2140
- }
2306
+ "text": "string"
2307
+ },
2308
+ "default": "'ROW_REF'",
2309
+ "fieldName": "rowId",
2310
+ "inheritedFrom": {
2311
+ "name": "BaseDatasource",
2312
+ "module": "src/utils/base-datasource.ts"
2313
+ },
2314
+ "description": "Attribute to set an unique identifier for the row."
2141
2315
  },
2142
2316
  {
2143
- "name": "config",
2317
+ "name": "fields",
2144
2318
  "type": {
2145
- "text": "DualAxesOptions"
2319
+ "text": "string"
2320
+ },
2321
+ "fieldName": "fields",
2322
+ "inheritedFrom": {
2323
+ "name": "BaseDatasource",
2324
+ "module": "src/utils/base-datasource.ts"
2146
2325
  }
2147
2326
  }
2148
- ]
2327
+ ],
2328
+ "mixins": [
2329
+ {
2330
+ "name": "LifecycleMixin",
2331
+ "package": "@genesislcap/foundation-utils"
2332
+ }
2333
+ ],
2334
+ "superclass": {
2335
+ "name": "ConcreteDatasource",
2336
+ "module": "src/chart-datasource/chart-datasource.ts"
2337
+ },
2338
+ "tagName": "chart-datasource",
2339
+ "customElement": true
2149
2340
  }
2150
2341
  ],
2151
2342
  "exports": [
2152
2343
  {
2153
2344
  "kind": "js",
2154
- "name": "DualAxesChart",
2155
- "declaration": {
2156
- "name": "DualAxesChart",
2157
- "module": "src/models/dual-axes-chart.ts"
2158
- }
2159
- }
2160
- ]
2161
- },
2162
- {
2163
- "kind": "javascript-module",
2164
- "path": "src/models/index.ts",
2165
- "declarations": [],
2166
- "exports": [
2167
- {
2168
- "kind": "js",
2169
- "name": "*",
2170
- "declaration": {
2171
- "name": "*",
2172
- "package": "./area-chart"
2173
- }
2174
- },
2175
- {
2176
- "kind": "js",
2177
- "name": "*",
2178
- "declaration": {
2179
- "name": "*",
2180
- "package": "./bar-chart"
2181
- }
2182
- },
2183
- {
2184
- "kind": "js",
2185
- "name": "*",
2186
- "declaration": {
2187
- "name": "*",
2188
- "package": "./column-chart"
2189
- }
2190
- },
2191
- {
2192
- "kind": "js",
2193
- "name": "*",
2194
- "declaration": {
2195
- "name": "*",
2196
- "package": "./donut-chart"
2197
- }
2198
- },
2199
- {
2200
- "kind": "js",
2201
- "name": "*",
2202
- "declaration": {
2203
- "name": "*",
2204
- "package": "./dual-axes-chart"
2205
- }
2206
- },
2207
- {
2208
- "kind": "js",
2209
- "name": "*",
2210
- "declaration": {
2211
- "name": "*",
2212
- "package": "./line-chart"
2213
- }
2214
- },
2215
- {
2216
- "kind": "js",
2217
- "name": "*",
2218
- "declaration": {
2219
- "name": "*",
2220
- "package": "./mix-chart"
2221
- }
2222
- },
2223
- {
2224
- "kind": "js",
2225
- "name": "*",
2345
+ "name": "defaultChartFields",
2226
2346
  "declaration": {
2227
- "name": "*",
2228
- "package": "./pie-chart"
2347
+ "name": "defaultChartFields",
2348
+ "module": "src/chart-datasource/chart-datasource.ts"
2229
2349
  }
2230
2350
  },
2231
2351
  {
2232
2352
  "kind": "js",
2233
- "name": "*",
2353
+ "name": "defaultSeriesChartField",
2234
2354
  "declaration": {
2235
- "name": "*",
2236
- "package": "./rose-chart"
2355
+ "name": "defaultSeriesChartField",
2356
+ "module": "src/chart-datasource/chart-datasource.ts"
2237
2357
  }
2238
2358
  },
2239
2359
  {
2240
2360
  "kind": "js",
2241
- "name": "*",
2361
+ "name": "ChartDatasource",
2242
2362
  "declaration": {
2243
- "name": "*",
2244
- "package": "./scatter-chart"
2363
+ "name": "ChartDatasource",
2364
+ "module": "src/chart-datasource/chart-datasource.ts"
2245
2365
  }
2246
2366
  },
2247
2367
  {
2248
- "kind": "js",
2249
- "name": "*",
2368
+ "kind": "custom-element-definition",
2369
+ "name": "chart-datasource",
2250
2370
  "declaration": {
2251
- "name": "*",
2252
- "package": "./stock-chart"
2371
+ "name": "ChartDatasource",
2372
+ "module": "src/chart-datasource/chart-datasource.ts"
2253
2373
  }
2254
2374
  }
2255
2375
  ]
2256
2376
  },
2257
2377
  {
2258
2378
  "kind": "javascript-module",
2259
- "path": "src/models/line-chart.ts",
2260
- "declarations": [
2261
- {
2262
- "kind": "function",
2263
- "name": "LineChart",
2264
- "parameters": [
2265
- {
2266
- "name": "container",
2267
- "type": {
2268
- "text": "HTMLElement"
2269
- }
2270
- },
2271
- {
2272
- "name": "config",
2273
- "type": {
2274
- "text": "LineOptions"
2275
- }
2276
- }
2277
- ]
2278
- }
2279
- ],
2280
- "exports": [
2281
- {
2282
- "kind": "js",
2283
- "name": "LineChart",
2284
- "declaration": {
2285
- "name": "LineChart",
2286
- "module": "src/models/line-chart.ts"
2287
- }
2288
- }
2289
- ]
2379
+ "path": "src/chart-datasource/chart-datasource.types.ts",
2380
+ "declarations": [],
2381
+ "exports": []
2290
2382
  },
2291
2383
  {
2292
2384
  "kind": "javascript-module",
2293
- "path": "src/models/mix-chart.ts",
2385
+ "path": "src/chart-datasource/chart-datasource.utils.ts",
2294
2386
  "declarations": [
2295
2387
  {
2296
2388
  "kind": "function",
2297
- "name": "MixChart",
2389
+ "name": "extractFields",
2298
2390
  "parameters": [
2299
2391
  {
2300
- "name": "container",
2301
- "type": {
2302
- "text": "HTMLElement"
2303
- }
2304
- },
2305
- {
2306
- "name": "config",
2307
- "type": {
2308
- "text": "MixOptions"
2309
- }
2392
+ "name": "fields"
2310
2393
  }
2311
2394
  ]
2312
- }
2313
- ],
2314
- "exports": [
2315
- {
2316
- "kind": "js",
2317
- "name": "MixChart",
2318
- "declaration": {
2319
- "name": "MixChart",
2320
- "module": "src/models/mix-chart.ts"
2321
- }
2322
- }
2323
- ]
2324
- },
2325
- {
2326
- "kind": "javascript-module",
2327
- "path": "src/models/pie-chart.ts",
2328
- "declarations": [
2395
+ },
2329
2396
  {
2330
2397
  "kind": "function",
2331
- "name": "PieChart",
2398
+ "name": "getFormattedDateGroupBy",
2332
2399
  "parameters": [
2333
2400
  {
2334
- "name": "container",
2401
+ "name": "groupByFieldValue",
2335
2402
  "type": {
2336
- "text": "HTMLElement"
2403
+ "text": "any"
2337
2404
  }
2338
2405
  },
2339
2406
  {
2340
- "name": "config",
2341
- "type": {
2342
- "text": "PieOptions"
2343
- }
2344
- }
2345
- ]
2346
- }
2347
- ],
2348
- "exports": [
2349
- {
2350
- "kind": "js",
2351
- "name": "PieChart",
2352
- "declaration": {
2353
- "name": "PieChart",
2354
- "module": "src/models/pie-chart.ts"
2355
- }
2356
- }
2357
- ]
2358
- },
2359
- {
2360
- "kind": "javascript-module",
2361
- "path": "src/models/rose-chart.ts",
2362
- "declarations": [
2363
- {
2364
- "kind": "function",
2365
- "name": "RoseChart",
2366
- "parameters": [
2367
- {
2368
- "name": "container",
2407
+ "name": "fieldType",
2369
2408
  "type": {
2370
- "text": "HTMLElement"
2409
+ "text": "FieldTypeEnum"
2371
2410
  }
2372
2411
  },
2373
2412
  {
2374
- "name": "config",
2413
+ "name": "showTime",
2414
+ "optional": true,
2375
2415
  "type": {
2376
- "text": "RoseOptions"
2416
+ "text": "boolean"
2377
2417
  }
2378
2418
  }
2379
2419
  ]
2380
- }
2381
- ],
2382
- "exports": [
2383
- {
2384
- "kind": "js",
2385
- "name": "RoseChart",
2386
- "declaration": {
2387
- "name": "RoseChart",
2388
- "module": "src/models/rose-chart.ts"
2389
- }
2390
- }
2391
- ]
2392
- },
2393
- {
2394
- "kind": "javascript-module",
2395
- "path": "src/models/scatter-chart.ts",
2396
- "declarations": [
2420
+ },
2397
2421
  {
2398
2422
  "kind": "function",
2399
- "name": "ScatterChart",
2423
+ "name": "getReduced",
2424
+ "return": {
2425
+ "type": {
2426
+ "text": "any[]"
2427
+ }
2428
+ },
2400
2429
  "parameters": [
2401
2430
  {
2402
- "name": "container",
2431
+ "name": "allRows",
2403
2432
  "type": {
2404
- "text": "HTMLElement"
2433
+ "text": "any[]"
2405
2434
  }
2406
2435
  },
2407
2436
  {
2408
- "name": "config",
2437
+ "name": "groupByField",
2409
2438
  "type": {
2410
- "text": "ScatterOptions"
2439
+ "text": "string"
2411
2440
  }
2412
- }
2413
- ]
2414
- }
2415
- ],
2416
- "exports": [
2417
- {
2418
- "kind": "js",
2419
- "name": "ScatterChart",
2420
- "declaration": {
2421
- "name": "ScatterChart",
2422
- "module": "src/models/scatter-chart.ts"
2423
- }
2424
- }
2425
- ]
2426
- },
2427
- {
2428
- "kind": "javascript-module",
2429
- "path": "src/models/stock-chart.ts",
2430
- "declarations": [
2431
- {
2432
- "kind": "function",
2433
- "name": "StockChart",
2434
- "parameters": [
2441
+ },
2435
2442
  {
2436
- "name": "container",
2443
+ "name": "valueField",
2437
2444
  "type": {
2438
- "text": "HTMLElement"
2445
+ "text": "string"
2439
2446
  }
2440
2447
  },
2441
2448
  {
2442
- "name": "config",
2449
+ "name": "seriesField",
2450
+ "optional": true,
2443
2451
  "type": {
2444
- "text": "StockOptions"
2452
+ "text": "string"
2445
2453
  }
2446
2454
  }
2447
2455
  ]
@@ -2450,43 +2458,33 @@
2450
2458
  "exports": [
2451
2459
  {
2452
2460
  "kind": "js",
2453
- "name": "StockChart",
2461
+ "name": "extractFields",
2454
2462
  "declaration": {
2455
- "name": "StockChart",
2456
- "module": "src/models/stock-chart.ts"
2463
+ "name": "extractFields",
2464
+ "module": "src/chart-datasource/chart-datasource.utils.ts"
2457
2465
  }
2458
- }
2459
- ]
2460
- },
2461
- {
2462
- "kind": "javascript-module",
2463
- "path": "src/settings/colors.ts",
2464
- "declarations": [
2466
+ },
2465
2467
  {
2466
- "kind": "variable",
2467
- "name": "chartsGradients",
2468
- "type": {
2469
- "text": "object"
2470
- },
2471
- "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}",
2472
- "description": "G2Plot Chart gradient colors",
2473
- "privacy": "public"
2474
- }
2475
- ],
2476
- "exports": [
2468
+ "kind": "js",
2469
+ "name": "getFormattedDateGroupBy",
2470
+ "declaration": {
2471
+ "name": "getFormattedDateGroupBy",
2472
+ "module": "src/chart-datasource/chart-datasource.utils.ts"
2473
+ }
2474
+ },
2477
2475
  {
2478
2476
  "kind": "js",
2479
- "name": "chartsGradients",
2477
+ "name": "getReduced",
2480
2478
  "declaration": {
2481
- "name": "chartsGradients",
2482
- "module": "src/settings/colors.ts"
2479
+ "name": "getReduced",
2480
+ "module": "src/chart-datasource/chart-datasource.utils.ts"
2483
2481
  }
2484
2482
  }
2485
2483
  ]
2486
2484
  },
2487
2485
  {
2488
2486
  "kind": "javascript-module",
2489
- "path": "src/settings/index.ts",
2487
+ "path": "src/chart-datasource/index.ts",
2490
2488
  "declarations": [],
2491
2489
  "exports": [
2492
2490
  {
@@ -2494,7 +2492,7 @@
2494
2492
  "name": "*",
2495
2493
  "declaration": {
2496
2494
  "name": "*",
2497
- "package": "./colors"
2495
+ "package": "./chart-datasource.config"
2498
2496
  }
2499
2497
  },
2500
2498
  {
@@ -2502,16 +2500,18 @@
2502
2500
  "name": "*",
2503
2501
  "declaration": {
2504
2502
  "name": "*",
2505
- "package": "./shapes"
2503
+ "package": "./chart-datasource.types"
2504
+ }
2505
+ },
2506
+ {
2507
+ "kind": "js",
2508
+ "name": "*",
2509
+ "declaration": {
2510
+ "name": "*",
2511
+ "package": "./chart-datasource"
2506
2512
  }
2507
2513
  }
2508
2514
  ]
2509
- },
2510
- {
2511
- "kind": "javascript-module",
2512
- "path": "src/settings/shapes.ts",
2513
- "declarations": [],
2514
- "exports": []
2515
2515
  }
2516
2516
  ]
2517
2517
  }