@hpcc-js/other 2.16.2 → 3.1.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.
- package/dist/index.js +785 -6346
- package/dist/index.js.map +7 -1
- package/package.json +31 -34
- package/src/Audio.ts +6 -3
- package/src/AutoCompleteText.ts +22 -14
- package/src/CalendarHeatMap.ts +24 -17
- package/src/ESP.ts +1 -1
- package/src/HeatMap.ts +41 -26
- package/src/Html.ts +11 -7
- package/src/IconList.ts +1 -1
- package/src/Legend.ts +16 -9
- package/src/MorphText.ts +16 -9
- package/src/NestedTable.ts +1 -1
- package/src/Opportunity.ts +32 -20
- package/src/Paginator.ts +21 -13
- package/src/PropertyEditor.ts +28 -16
- package/src/RadioCheckbox.ts +18 -11
- package/src/Select.ts +24 -14
- package/src/Table.ts +109 -60
- package/src/ThemeEditor.ts +40 -26
- package/src/__package__.ts +2 -2
- package/src/index.ts +21 -21
- package/types/Audio.d.ts +6 -7
- package/types/AutoCompleteText.d.ts +20 -31
- package/types/CalendarHeatMap.d.ts +20 -33
- package/types/Comms.d.ts +0 -1
- package/types/ESP.d.ts +0 -1
- package/types/HPCCBadge.d.ts +0 -1
- package/types/HeatMap.d.ts +39 -62
- package/types/Html.d.ts +10 -16
- package/types/IconList.d.ts +0 -1
- package/types/Legend.d.ts +16 -23
- package/types/MorphText.d.ts +14 -18
- package/types/NestedTable.d.ts +1 -2
- package/types/Opportunity.d.ts +29 -47
- package/types/Paginator.d.ts +20 -31
- package/types/Persist.d.ts +0 -1
- package/types/PropertyEditor.d.ts +22 -38
- package/types/RadioCheckbox.d.ts +17 -26
- package/types/Select.d.ts +23 -36
- package/types/Table.d.ts +96 -187
- package/types/ThemeEditor.d.ts +38 -61
- package/types/__package__.d.ts +2 -3
- package/types/index.d.ts +21 -22
- package/dist/index.es6.js +0 -6313
- package/dist/index.es6.js.map +0 -1
- package/dist/index.min.js +0 -2
- package/dist/index.min.js.map +0 -1
- package/types/Audio.d.ts.map +0 -1
- package/types/AutoCompleteText.d.ts.map +0 -1
- package/types/CalendarHeatMap.d.ts.map +0 -1
- package/types/Comms.d.ts.map +0 -1
- package/types/ESP.d.ts.map +0 -1
- package/types/HPCCBadge.d.ts.map +0 -1
- package/types/HeatMap.d.ts.map +0 -1
- package/types/Html.d.ts.map +0 -1
- package/types/IconList.d.ts.map +0 -1
- package/types/Legend.d.ts.map +0 -1
- package/types/MorphText.d.ts.map +0 -1
- package/types/NestedTable.d.ts.map +0 -1
- package/types/Opportunity.d.ts.map +0 -1
- package/types/Paginator.d.ts.map +0 -1
- package/types/Persist.d.ts.map +0 -1
- package/types/PropertyEditor.d.ts.map +0 -1
- package/types/RadioCheckbox.d.ts.map +0 -1
- package/types/Select.d.ts.map +0 -1
- package/types/Table.d.ts.map +0 -1
- package/types/ThemeEditor.d.ts.map +0 -1
- package/types/__package__.d.ts.map +0 -1
- package/types/index.d.ts.map +0 -1
- package/types-3.4/Audio.d.ts +0 -19
- package/types-3.4/AutoCompleteText.d.ts +0 -46
- package/types-3.4/CalendarHeatMap.d.ts +0 -61
- package/types-3.4/Comms.d.ts +0 -112
- package/types-3.4/ESP.d.ts +0 -9
- package/types-3.4/HPCCBadge.d.ts +0 -30
- package/types-3.4/HeatMap.d.ts +0 -72
- package/types-3.4/Html.d.ts +0 -23
- package/types-3.4/IconList.d.ts +0 -26
- package/types-3.4/Legend.d.ts +0 -40
- package/types-3.4/MorphText.d.ts +0 -28
- package/types-3.4/NestedTable.d.ts +0 -5
- package/types-3.4/Opportunity.d.ts +0 -99
- package/types-3.4/Paginator.d.ts +0 -45
- package/types-3.4/Persist.d.ts +0 -10
- package/types-3.4/PropertyEditor.d.ts +0 -85
- package/types-3.4/RadioCheckbox.d.ts +0 -40
- package/types-3.4/Select.d.ts +0 -49
- package/types-3.4/Table.d.ts +0 -257
- package/types-3.4/ThemeEditor.d.ts +0 -97
- package/types-3.4/__package__.d.ts +0 -4
- package/types-3.4/index.d.ts +0 -24
package/src/Select.ts
CHANGED
|
@@ -94,23 +94,33 @@ export class Select extends HTMLWidget {
|
|
|
94
94
|
|
|
95
95
|
click(row, column, selected) {
|
|
96
96
|
}
|
|
97
|
-
label: { (): string; (_: string): Select };
|
|
98
|
-
label_exists: () => boolean;
|
|
99
|
-
valueColumn: { (): string; (_: string): Select };
|
|
100
|
-
valueColumn_exists: () => boolean;
|
|
101
|
-
textColumn: { (): string; (_: string): Select };
|
|
102
|
-
textColumn_exists: () => boolean;
|
|
103
|
-
optional: { (): boolean; (_: boolean): Select };
|
|
104
|
-
optional_exists: () => boolean;
|
|
105
|
-
sort: { (): string; (_: string): Select };
|
|
106
|
-
sort_exists: () => boolean;
|
|
107
|
-
multiple: { (): boolean; (_: boolean): Select };
|
|
108
|
-
multiple_exists: () => boolean;
|
|
109
|
-
selectSize: { (): number; (_: number): Select };
|
|
110
|
-
selectSize_exists: () => boolean;
|
|
111
97
|
}
|
|
112
98
|
Select.prototype._class += " other_Select";
|
|
113
99
|
|
|
100
|
+
export interface Select {
|
|
101
|
+
label(): string;
|
|
102
|
+
label(_: string): this;
|
|
103
|
+
label_exists(): boolean;
|
|
104
|
+
valueColumn(): string;
|
|
105
|
+
valueColumn(_: string): this;
|
|
106
|
+
valueColumn_exists(): boolean;
|
|
107
|
+
textColumn(): string;
|
|
108
|
+
textColumn(_: string): this;
|
|
109
|
+
textColumn_exists(): boolean;
|
|
110
|
+
optional(): boolean;
|
|
111
|
+
optional(_: boolean): this;
|
|
112
|
+
optional_exists(): boolean;
|
|
113
|
+
sort(): string;
|
|
114
|
+
sort(_: string): this;
|
|
115
|
+
sort_exists(): boolean;
|
|
116
|
+
multiple(): boolean;
|
|
117
|
+
multiple(_: boolean): this;
|
|
118
|
+
multiple_exists(): boolean;
|
|
119
|
+
selectSize(): number;
|
|
120
|
+
selectSize(_: number): this;
|
|
121
|
+
selectSize_exists(): boolean;
|
|
122
|
+
}
|
|
123
|
+
|
|
114
124
|
Select.prototype.publish("label", null, "string", "Label for select");
|
|
115
125
|
Select.prototype.publish("valueColumn", null, "set", "Select display value", function () { return this.columns(); }, { optional: true });
|
|
116
126
|
Select.prototype.publish("textColumn", null, "set", "Select value(s)", function () { return this.columns(); }, { optional: true });
|
package/src/Table.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { d3Event, HTMLWidget, Platform, select as d3Select, selectAll as d3SelectAll, Utility, Widget } from "@hpcc-js/common";
|
|
2
|
-
import { Paginator } from "./Paginator";
|
|
2
|
+
import { Paginator } from "./Paginator.ts";
|
|
3
3
|
|
|
4
4
|
import "../src/Table.css";
|
|
5
5
|
|
|
@@ -929,68 +929,117 @@ export class Table extends HTMLWidget {
|
|
|
929
929
|
.render()
|
|
930
930
|
;
|
|
931
931
|
}
|
|
932
|
-
renderHtmlDataCells: { (): boolean; (_: boolean): Table; };
|
|
933
|
-
pagination: { (): boolean; (_: boolean): Table; };
|
|
934
|
-
paginationLimit: { (): any; (_: any): Table; };
|
|
935
|
-
itemsPerPage: { (): any; (_: any): Table; };
|
|
936
|
-
pageNumber: { (): number; (_: number): Table; };
|
|
937
|
-
adjacentPages: { (): number; (_: number): Table; };
|
|
938
|
-
topN: { (): number; (_: number): Table; };
|
|
939
|
-
pivot: { (): boolean; (_: boolean): Table; };
|
|
940
|
-
showHeader: { (): boolean; (_: boolean): Table; };
|
|
941
|
-
fixedHeader: { (): boolean; (_: boolean): Table; };
|
|
942
|
-
fixedColumn: { (): boolean; (_: boolean): Table; };
|
|
943
|
-
multiSelect: { (): boolean; (_: boolean): Table; };
|
|
944
|
-
|
|
945
|
-
fixedSize: { (): boolean; (_: boolean): Table; };
|
|
946
|
-
|
|
947
|
-
hideEmptyColumns: { (): boolean; (_: boolean): Table; };
|
|
948
|
-
|
|
949
|
-
theadFontSize: { (): string; (_: string): Table; };
|
|
950
|
-
tbodyFontSize: { (): string; (_: string): Table; };
|
|
951
|
-
tfootFontSize: { (): string; (_: string): Table; };
|
|
952
|
-
theadFontColor: { (): string; (_: string): Table; };
|
|
953
|
-
tbodyFontColor: { (): string; (_: string): Table; };
|
|
954
|
-
tfootFontColor: { (): string; (_: string): Table; };
|
|
955
|
-
theadFontFamily: { (): string; (_: string): Table; };
|
|
956
|
-
tbodyFontFamily: { (): string; (_: string): Table; };
|
|
957
|
-
tfootFontFamily: { (): string; (_: string): Table; };
|
|
958
|
-
|
|
959
|
-
theadCellBorderColor: { (): string; (_: string): Table; };
|
|
960
|
-
tfootCellBorderColor: { (): string; (_: string): Table; };
|
|
961
|
-
theadRowBackgroundColor: { (): string; (_: string): Table; };
|
|
962
|
-
tfootRowBackgroundColor: { (): string; (_: string): Table; };
|
|
963
|
-
|
|
964
|
-
tbodyCellBorderColor: { (): string; (_: string): Table; };
|
|
965
|
-
|
|
966
|
-
tbodyRowBackgroundColor: { (): string; (_: string): Table; };
|
|
967
|
-
tbodyFirstColFontColor: { (): string; (_: string): Table; };
|
|
968
|
-
tbodyFirstColBackgroundColor: { (): string; (_: string): Table; };
|
|
969
|
-
|
|
970
|
-
tbodyHoverRowFontColor: { (): string; (_: string): Table; };
|
|
971
|
-
tbodyHoverRowBackgroundColor: { (): string; (_: string): Table; };
|
|
972
|
-
|
|
973
|
-
tbodySelectedRowFontColor: { (): string; (_: string): Table; };
|
|
974
|
-
tbodySelectedRowBackgroundColor: { (): string; (_: string): Table; };
|
|
975
|
-
tableZebraColor: { (): string; (_: string): Table; };
|
|
976
|
-
tableZebraColor_exists: () => boolean;
|
|
977
|
-
totalledColumns: { (): any[]; (_: any[]): Table; };
|
|
978
|
-
totalledLabel: { (): string; (_: string): Table; };
|
|
979
|
-
hiddenColumns: { (): any[]; (_: any[]): Table; };
|
|
980
|
-
|
|
981
|
-
stringAlign: { (): string; (_: string): Table; };
|
|
982
|
-
numberAlign: { (): string; (_: string): Table; };
|
|
983
|
-
verticalAlign: { (): string; (_: string): Table; };
|
|
984
|
-
|
|
985
|
-
minWidgetWidth: { (): number; (_: number): Table; };
|
|
986
|
-
minWidgetHeight: { (): number; (_: number): Table; };
|
|
987
|
-
|
|
988
|
-
sortByFieldIndex: { (): number; (_: number): Table; };
|
|
989
|
-
sortByFieldIndex_exists: () => boolean;
|
|
990
|
-
descending: { (): boolean; (_: boolean): Table; };
|
|
991
932
|
}
|
|
992
933
|
Table.prototype._class += " other_Table";
|
|
993
934
|
|
|
935
|
+
export interface Table {
|
|
936
|
+
renderHtmlDataCells(): boolean;
|
|
937
|
+
renderHtmlDataCells(_: boolean): this;
|
|
938
|
+
pagination(): boolean;
|
|
939
|
+
pagination(_: boolean): this;
|
|
940
|
+
paginationLimit(): any;
|
|
941
|
+
paginationLimit(_: any): this;
|
|
942
|
+
itemsPerPage(): any;
|
|
943
|
+
itemsPerPage(_: any): this;
|
|
944
|
+
pageNumber(): number;
|
|
945
|
+
pageNumber(_: number): this;
|
|
946
|
+
adjacentPages(): number;
|
|
947
|
+
adjacentPages(_: number): this;
|
|
948
|
+
topN(): number;
|
|
949
|
+
topN(_: number): this;
|
|
950
|
+
pivot(): boolean;
|
|
951
|
+
pivot(_: boolean): this;
|
|
952
|
+
showHeader(): boolean;
|
|
953
|
+
showHeader(_: boolean): this;
|
|
954
|
+
fixedHeader(): boolean;
|
|
955
|
+
fixedHeader(_: boolean): this;
|
|
956
|
+
fixedColumn(): boolean;
|
|
957
|
+
fixedColumn(_: boolean): this;
|
|
958
|
+
multiSelect(): boolean;
|
|
959
|
+
multiSelect(_: boolean): this;
|
|
960
|
+
|
|
961
|
+
fixedSize(): boolean;
|
|
962
|
+
fixedSize(_: boolean): this;
|
|
963
|
+
|
|
964
|
+
hideEmptyColumns(): boolean;
|
|
965
|
+
hideEmptyColumns(_: boolean): this;
|
|
966
|
+
|
|
967
|
+
theadFontSize(): string;
|
|
968
|
+
theadFontSize(_: string): this;
|
|
969
|
+
tbodyFontSize(): string;
|
|
970
|
+
tbodyFontSize(_: string): this;
|
|
971
|
+
tfootFontSize(): string;
|
|
972
|
+
tfootFontSize(_: string): this;
|
|
973
|
+
theadFontColor(): string;
|
|
974
|
+
theadFontColor(_: string): this;
|
|
975
|
+
tbodyFontColor(): string;
|
|
976
|
+
tbodyFontColor(_: string): this;
|
|
977
|
+
tfootFontColor(): string;
|
|
978
|
+
tfootFontColor(_: string): this;
|
|
979
|
+
theadFontFamily(): string;
|
|
980
|
+
theadFontFamily(_: string): this;
|
|
981
|
+
tbodyFontFamily(): string;
|
|
982
|
+
tbodyFontFamily(_: string): this;
|
|
983
|
+
tfootFontFamily(): string;
|
|
984
|
+
tfootFontFamily(_: string): this;
|
|
985
|
+
|
|
986
|
+
theadCellBorderColor(): string;
|
|
987
|
+
theadCellBorderColor(_: string): this;
|
|
988
|
+
tfootCellBorderColor(): string;
|
|
989
|
+
tfootCellBorderColor(_: string): this;
|
|
990
|
+
theadRowBackgroundColor(): string;
|
|
991
|
+
theadRowBackgroundColor(_: string): this;
|
|
992
|
+
tfootRowBackgroundColor(): string;
|
|
993
|
+
tfootRowBackgroundColor(_: string): this;
|
|
994
|
+
|
|
995
|
+
tbodyCellBorderColor(): string;
|
|
996
|
+
tbodyCellBorderColor(_: string): this;
|
|
997
|
+
|
|
998
|
+
tbodyRowBackgroundColor(): string;
|
|
999
|
+
tbodyRowBackgroundColor(_: string): this;
|
|
1000
|
+
tbodyFirstColFontColor(): string;
|
|
1001
|
+
tbodyFirstColFontColor(_: string): this;
|
|
1002
|
+
tbodyFirstColBackgroundColor(): string;
|
|
1003
|
+
tbodyFirstColBackgroundColor(_: string): this;
|
|
1004
|
+
|
|
1005
|
+
tbodyHoverRowFontColor(): string;
|
|
1006
|
+
tbodyHoverRowFontColor(_: string): this;
|
|
1007
|
+
tbodyHoverRowBackgroundColor(): string;
|
|
1008
|
+
tbodyHoverRowBackgroundColor(_: string): this;
|
|
1009
|
+
|
|
1010
|
+
tbodySelectedRowFontColor(): string;
|
|
1011
|
+
tbodySelectedRowFontColor(_: string): this;
|
|
1012
|
+
tbodySelectedRowBackgroundColor(): string;
|
|
1013
|
+
tbodySelectedRowBackgroundColor(_: string): this;
|
|
1014
|
+
tableZebraColor(): string;
|
|
1015
|
+
tableZebraColor(_: string): this;
|
|
1016
|
+
tableZebraColor_exists(): boolean;
|
|
1017
|
+
totalledColumns(): any[];
|
|
1018
|
+
totalledColumns(_: any[]): this;
|
|
1019
|
+
totalledLabel(): string;
|
|
1020
|
+
totalledLabel(_: string): this;
|
|
1021
|
+
hiddenColumns(): any[];
|
|
1022
|
+
hiddenColumns(_: any[]): this;
|
|
1023
|
+
|
|
1024
|
+
stringAlign(): string;
|
|
1025
|
+
stringAlign(_: string): this;
|
|
1026
|
+
numberAlign(): string;
|
|
1027
|
+
numberAlign(_: string): this;
|
|
1028
|
+
verticalAlign(): string;
|
|
1029
|
+
verticalAlign(_: string): this;
|
|
1030
|
+
|
|
1031
|
+
minWidgetWidth(): number;
|
|
1032
|
+
minWidgetWidth(_: number): this;
|
|
1033
|
+
minWidgetHeight(): number;
|
|
1034
|
+
minWidgetHeight(_: number): this;
|
|
1035
|
+
|
|
1036
|
+
sortByFieldIndex(): number;
|
|
1037
|
+
sortByFieldIndex(_: number): this;
|
|
1038
|
+
sortByFieldIndex_exists(): boolean;
|
|
1039
|
+
descending(): boolean;
|
|
1040
|
+
descending(_: boolean): this;
|
|
1041
|
+
}
|
|
1042
|
+
|
|
994
1043
|
Table.prototype.publish("renderHtmlDataCells", false, "boolean", "enable or disable HTML within cells", null, { tags: ["Private"] });
|
|
995
1044
|
Table.prototype.publish("pagination", true, "boolean", "Enable or disable pagination", null, { tags: ["Private"] });
|
|
996
1045
|
Table.prototype.publish("paginationLimit", null, "number", "Maximum number of rows allowed before pagination defaults to on", null, { tags: ["Private"] });
|
package/src/ThemeEditor.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HTMLWidget } from "@hpcc-js/common";
|
|
2
|
-
import * as Persist from "./Persist";
|
|
2
|
+
import * as Persist from "./Persist.ts";
|
|
3
3
|
|
|
4
4
|
import "../src/ThemeEditor.css";
|
|
5
5
|
|
|
@@ -697,34 +697,48 @@ export class ThemeEditor extends HTMLWidget {
|
|
|
697
697
|
return retArr;
|
|
698
698
|
}
|
|
699
699
|
}
|
|
700
|
-
|
|
701
|
-
themeMode: { (): boolean; (_: boolean): ThemeEditor };
|
|
702
|
-
themeMode_exists: () => boolean;
|
|
703
|
-
saveTheme: { (): string; (_: string): ThemeEditor };
|
|
704
|
-
saveTheme_exists: () => boolean;
|
|
705
|
-
loadedTheme: { (): string; (_: string): ThemeEditor };
|
|
706
|
-
loadedTheme_exists: () => boolean;
|
|
707
|
-
saveSerial: { (): string; (_: string): ThemeEditor };
|
|
708
|
-
saveSerial_exists: () => boolean;
|
|
709
|
-
loadedSerial: { (): string; (_: string): ThemeEditor };
|
|
710
|
-
loadedSerial_exists: () => boolean;
|
|
711
|
-
showColumns: { (): boolean; (_: boolean): ThemeEditor };
|
|
712
|
-
showColumns_exists: () => boolean;
|
|
713
|
-
showData: { (): boolean; (_: boolean): ThemeEditor };
|
|
714
|
-
showData_exists: () => boolean;
|
|
715
|
-
shareCountMin: { (): number; (_: number): ThemeEditor };
|
|
716
|
-
shareCountMin_exists: () => boolean;
|
|
717
|
-
paramGrouping: { (): string; (_: string): ThemeEditor };
|
|
718
|
-
paramGrouping_exists: () => boolean;
|
|
719
|
-
editorComplexity: { (): string; (_: string): ThemeEditor };
|
|
720
|
-
editorComplexity_exists: () => boolean;
|
|
721
|
-
sectionTitle: { (): string; (_: string): ThemeEditor };
|
|
722
|
-
sectionTitle_exists: () => boolean;
|
|
723
|
-
collapsibleSections: { (): boolean; (_: boolean): ThemeEditor };
|
|
724
|
-
collapsibleSections_exists: () => boolean;
|
|
725
700
|
}
|
|
726
701
|
ThemeEditor.prototype._class += " other_ThemeEditor";
|
|
727
702
|
|
|
703
|
+
export interface ThemeEditor {
|
|
704
|
+
themeMode(): boolean;
|
|
705
|
+
themeMode(_: boolean): this;
|
|
706
|
+
themeMode_exists(): boolean;
|
|
707
|
+
saveTheme(): string;
|
|
708
|
+
saveTheme(_: string): this;
|
|
709
|
+
saveTheme_exists(): boolean;
|
|
710
|
+
loadedTheme(): string;
|
|
711
|
+
loadedTheme(_: string): this;
|
|
712
|
+
loadedTheme_exists(): boolean;
|
|
713
|
+
saveSerial(): string;
|
|
714
|
+
saveSerial(_: string): this;
|
|
715
|
+
saveSerial_exists(): boolean;
|
|
716
|
+
loadedSerial(): string;
|
|
717
|
+
loadedSerial(_: string): this;
|
|
718
|
+
loadedSerial_exists(): boolean;
|
|
719
|
+
showColumns(): boolean;
|
|
720
|
+
showColumns(_: boolean): this;
|
|
721
|
+
showColumns_exists(): boolean;
|
|
722
|
+
showData(): boolean;
|
|
723
|
+
showData(_: boolean): this;
|
|
724
|
+
showData_exists(): boolean;
|
|
725
|
+
shareCountMin(): number;
|
|
726
|
+
shareCountMin(_: number): this;
|
|
727
|
+
shareCountMin_exists(): boolean;
|
|
728
|
+
paramGrouping(): string;
|
|
729
|
+
paramGrouping(_: string): this;
|
|
730
|
+
paramGrouping_exists(): boolean
|
|
731
|
+
editorComplexity(): string;
|
|
732
|
+
editorComplexity(_: string): this;
|
|
733
|
+
editorComplexity_exists(): boolean;
|
|
734
|
+
sectionTitle(): string;
|
|
735
|
+
sectionTitle(_: string): this;
|
|
736
|
+
sectionTitle_exists(): boolean;
|
|
737
|
+
collapsibleSections(): boolean;
|
|
738
|
+
collapsibleSections(_: boolean): this;
|
|
739
|
+
collapsibleSections_exists(): boolean;
|
|
740
|
+
}
|
|
741
|
+
|
|
728
742
|
ThemeEditor.prototype.publish("themeMode", true, "boolean", "Edit default values", null, { tags: ["Basic"] });
|
|
729
743
|
ThemeEditor.prototype.publish("saveTheme", "", "string", "Save Theme", null, { tags: ["Basic", "Theme"], saveButton: "Save", saveButtonID: "te-save-button" });
|
|
730
744
|
ThemeEditor.prototype.publish("loadedTheme", getThemeNames(1), "set", "Loaded Theme", getThemeNames(), { tags: ["Basic", "Theme"] });
|
package/src/__package__.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export const PKG_NAME = "@hpcc-js/other";
|
|
2
|
-
export const PKG_VERSION = "
|
|
3
|
-
export const BUILD_VERSION = "2.
|
|
2
|
+
export const PKG_VERSION = "3.1.0";
|
|
3
|
+
export const BUILD_VERSION = "3.2.0";
|
package/src/index.ts
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
export * from "./__package__";
|
|
2
|
-
export * from "./Audio";
|
|
3
|
-
export * from "./AutoCompleteText";
|
|
4
|
-
export * from "./CalendarHeatMap";
|
|
5
|
-
import * as Comms from "./Comms";
|
|
1
|
+
export * from "./__package__.ts";
|
|
2
|
+
export * from "./Audio.ts";
|
|
3
|
+
export * from "./AutoCompleteText.ts";
|
|
4
|
+
export * from "./CalendarHeatMap.ts";
|
|
5
|
+
import * as Comms from "./Comms.ts";
|
|
6
6
|
export { Comms };
|
|
7
|
-
export * from "./ESP";
|
|
8
|
-
export * from "./HeatMap";
|
|
9
|
-
export * from "./HPCCBadge";
|
|
10
|
-
export * from "./Html";
|
|
11
|
-
export * from "./IconList";
|
|
12
|
-
export * from "./Legend";
|
|
13
|
-
export * from "./MorphText";
|
|
14
|
-
export * from "./NestedTable";
|
|
15
|
-
export * from "./Opportunity";
|
|
16
|
-
export * from "./Paginator";
|
|
17
|
-
import * as Persist from "./Persist";
|
|
7
|
+
export * from "./ESP.ts";
|
|
8
|
+
export * from "./HeatMap.ts";
|
|
9
|
+
export * from "./HPCCBadge.ts";
|
|
10
|
+
export * from "./Html.ts";
|
|
11
|
+
export * from "./IconList.ts";
|
|
12
|
+
export * from "./Legend.ts";
|
|
13
|
+
export * from "./MorphText.ts";
|
|
14
|
+
export * from "./NestedTable.ts";
|
|
15
|
+
export * from "./Opportunity.ts";
|
|
16
|
+
export * from "./Paginator.ts";
|
|
17
|
+
import * as Persist from "./Persist.ts";
|
|
18
18
|
export { Persist };
|
|
19
|
-
export * from "./PropertyEditor";
|
|
20
|
-
export * from "./RadioCheckbox";
|
|
21
|
-
export * from "./Select";
|
|
22
|
-
export * from "./Table";
|
|
23
|
-
export * from "./ThemeEditor";
|
|
19
|
+
export * from "./PropertyEditor.ts";
|
|
20
|
+
export * from "./RadioCheckbox.ts";
|
|
21
|
+
export * from "./Select.ts";
|
|
22
|
+
export * from "./Table.ts";
|
|
23
|
+
export * from "./ThemeEditor.ts";
|
package/types/Audio.d.ts
CHANGED
|
@@ -3,17 +3,16 @@ export declare class Audio extends HTMLWidget {
|
|
|
3
3
|
_sections: any;
|
|
4
4
|
constructor();
|
|
5
5
|
section(label: any, offset: any, beatLength: any, beatCount: any): any;
|
|
6
|
-
getType(fileExt: any): "
|
|
6
|
+
getType(fileExt: any): "audio/mpeg; codecs='mp3'" | "audio/ogg; codecs='vorbis'" | "";
|
|
7
7
|
enter(domNode: any, element: any): void;
|
|
8
8
|
update(domNode: any, element: any): void;
|
|
9
9
|
createTimer(params: any, startTime: any, beat: any): void;
|
|
10
10
|
onTick(label: any, beat: any, params: any): void;
|
|
11
11
|
onPlay(d: any): void;
|
|
12
12
|
play(d: any): void;
|
|
13
|
-
source: {
|
|
14
|
-
(): string;
|
|
15
|
-
(_: string): Audio;
|
|
16
|
-
};
|
|
17
|
-
source_exists: () => boolean;
|
|
18
13
|
}
|
|
19
|
-
|
|
14
|
+
export interface Audio {
|
|
15
|
+
source(): string;
|
|
16
|
+
source(_: string): this;
|
|
17
|
+
source_exists(): boolean;
|
|
18
|
+
}
|
|
@@ -12,35 +12,24 @@ export declare class AutoCompleteText extends HTMLWidget {
|
|
|
12
12
|
update(domNode: any, element: any): void;
|
|
13
13
|
exit(domNode: any, element: any): void;
|
|
14
14
|
click(row: any, column: any, selected: any): void;
|
|
15
|
-
label: {
|
|
16
|
-
(): string;
|
|
17
|
-
(_: string): AutoCompleteText;
|
|
18
|
-
};
|
|
19
|
-
label_exists: () => boolean;
|
|
20
|
-
textboxWidth: {
|
|
21
|
-
(): number;
|
|
22
|
-
(_: number): AutoCompleteText;
|
|
23
|
-
};
|
|
24
|
-
textboxWidth_exists: () => boolean;
|
|
25
|
-
placeholder: {
|
|
26
|
-
(): string;
|
|
27
|
-
(_: string): AutoCompleteText;
|
|
28
|
-
};
|
|
29
|
-
placeholder_exists: () => boolean;
|
|
30
|
-
valueColumn: {
|
|
31
|
-
(): string;
|
|
32
|
-
(_: string): AutoCompleteText;
|
|
33
|
-
};
|
|
34
|
-
valueColumn_exists: () => boolean;
|
|
35
|
-
textColumn: {
|
|
36
|
-
(): string;
|
|
37
|
-
(_: string): AutoCompleteText;
|
|
38
|
-
};
|
|
39
|
-
textColumn_exists: () => boolean;
|
|
40
|
-
minCharsText: {
|
|
41
|
-
(): number;
|
|
42
|
-
(_: number): AutoCompleteText;
|
|
43
|
-
};
|
|
44
|
-
minCharsText_exists: () => boolean;
|
|
45
15
|
}
|
|
46
|
-
|
|
16
|
+
export interface AutoCompleteText {
|
|
17
|
+
label(): string;
|
|
18
|
+
label(_: string): this;
|
|
19
|
+
label_exists(): boolean;
|
|
20
|
+
textboxWidth(): number;
|
|
21
|
+
textboxWidth(_: number): this;
|
|
22
|
+
textboxWidth_exists(): boolean;
|
|
23
|
+
placeholder(): string;
|
|
24
|
+
placeholder(_: string): this;
|
|
25
|
+
placeholder_exists(): boolean;
|
|
26
|
+
valueColumn(): string;
|
|
27
|
+
valueColumn(_: string): this;
|
|
28
|
+
valueColumn_exists(): boolean;
|
|
29
|
+
textColumn(): string;
|
|
30
|
+
textColumn(_: string): this;
|
|
31
|
+
textColumn_exists(): boolean;
|
|
32
|
+
minCharsText(): number;
|
|
33
|
+
minCharsText(_: number): this;
|
|
34
|
+
minCharsText_exists(): boolean;
|
|
35
|
+
}
|
|
@@ -15,40 +15,16 @@ export declare class CalendarHeatMap extends HTMLWidget {
|
|
|
15
15
|
exit(domNode: any, element: any): void;
|
|
16
16
|
click(row: any, column: any, selected: any): void;
|
|
17
17
|
dblclick(row: any, column: any, selected: any): void;
|
|
18
|
-
_palette: any;
|
|
19
|
-
paletteID: {
|
|
20
|
-
(): string;
|
|
21
|
-
(_: string): CalendarHeatMap;
|
|
22
|
-
};
|
|
23
|
-
paletteID_exists: () => boolean;
|
|
24
|
-
dateColumn: {
|
|
25
|
-
(): string;
|
|
26
|
-
(_: string): CalendarHeatMap;
|
|
27
|
-
};
|
|
28
|
-
dateColumn_exists: () => boolean;
|
|
29
|
-
datePattern: {
|
|
30
|
-
(): string;
|
|
31
|
-
(_: string): CalendarHeatMap;
|
|
32
|
-
};
|
|
33
|
-
datePattern_exists: () => boolean;
|
|
34
|
-
aggrType: {
|
|
35
|
-
(): string;
|
|
36
|
-
(_: string): CalendarHeatMap;
|
|
37
|
-
};
|
|
38
|
-
aggrType_exists: () => boolean;
|
|
39
|
-
aggrColumn: {
|
|
40
|
-
(): string;
|
|
41
|
-
(_: string): CalendarHeatMap;
|
|
42
|
-
};
|
|
43
|
-
aggrColumn_exists: () => boolean;
|
|
44
|
-
aggrDeltaColumn: {
|
|
45
|
-
(): string;
|
|
46
|
-
(_: string): CalendarHeatMap;
|
|
47
|
-
};
|
|
48
|
-
aggrDeltaColumn_exists: () => boolean;
|
|
49
|
-
_selection: any;
|
|
50
18
|
}
|
|
51
19
|
export interface CalendarHeatMap {
|
|
20
|
+
_palette: any;
|
|
21
|
+
_selection: any;
|
|
22
|
+
paletteID(): string;
|
|
23
|
+
paletteID(_: string): this;
|
|
24
|
+
paletteID_exists(): boolean;
|
|
25
|
+
datePattern(): string;
|
|
26
|
+
datePattern(_: string): this;
|
|
27
|
+
datePattern_exists(): boolean;
|
|
52
28
|
dayStrokeColor(): string;
|
|
53
29
|
dayStrokeColor(_: string): this;
|
|
54
30
|
monthStrokeColor(): string;
|
|
@@ -57,5 +33,16 @@ export interface CalendarHeatMap {
|
|
|
57
33
|
dayStrokeWidth(_: number): this;
|
|
58
34
|
monthStrokeWidth(): number;
|
|
59
35
|
monthStrokeWidth(_: number): this;
|
|
36
|
+
dateColumn(): string;
|
|
37
|
+
dateColumn(_: string): this;
|
|
38
|
+
dateColumn_exists(): boolean;
|
|
39
|
+
aggrType(): string;
|
|
40
|
+
aggrType(_: string): this;
|
|
41
|
+
aggrType_exists(): boolean;
|
|
42
|
+
aggrColumn(): string;
|
|
43
|
+
aggrColumn(_: string): this;
|
|
44
|
+
aggrColumn_exists(): boolean;
|
|
45
|
+
aggrDeltaColumn(): string;
|
|
46
|
+
aggrDeltaColumn(_: string): this;
|
|
47
|
+
aggrDeltaColumn_exists(): boolean;
|
|
60
48
|
}
|
|
61
|
-
//# sourceMappingURL=CalendarHeatMap.d.ts.map
|
package/types/Comms.d.ts
CHANGED
package/types/ESP.d.ts
CHANGED
package/types/HPCCBadge.d.ts
CHANGED
package/types/HeatMap.d.ts
CHANGED
|
@@ -1,72 +1,49 @@
|
|
|
1
1
|
import { CanvasWidget } from "@hpcc-js/common";
|
|
2
2
|
export declare class HeatMap extends CanvasWidget {
|
|
3
3
|
_heat: any;
|
|
4
|
-
_palette: any;
|
|
5
4
|
constructor();
|
|
6
5
|
enter(domNode: any, element: any): void;
|
|
7
6
|
update(domNode: any, element: any): void;
|
|
8
7
|
exit(domNode: any, element: any): void;
|
|
9
8
|
resize(size: any): this;
|
|
10
9
|
skewedData(): any[];
|
|
11
|
-
radius: {
|
|
12
|
-
(): number;
|
|
13
|
-
(_: number): HeatMap;
|
|
14
|
-
};
|
|
15
|
-
radius_exists: () => boolean;
|
|
16
|
-
blur: {
|
|
17
|
-
(): number;
|
|
18
|
-
(_: number): HeatMap;
|
|
19
|
-
};
|
|
20
|
-
blur_exists: () => boolean;
|
|
21
|
-
max: {
|
|
22
|
-
(): number;
|
|
23
|
-
(_: number): HeatMap;
|
|
24
|
-
};
|
|
25
|
-
max_exists: () => boolean;
|
|
26
|
-
gradient: {
|
|
27
|
-
(): object;
|
|
28
|
-
(_: object): HeatMap;
|
|
29
|
-
};
|
|
30
|
-
gradient_exists: () => boolean;
|
|
31
|
-
usePalette: {
|
|
32
|
-
(): boolean;
|
|
33
|
-
(_: boolean): HeatMap;
|
|
34
|
-
};
|
|
35
|
-
usePalette_exists: () => boolean;
|
|
36
|
-
colorCount: {
|
|
37
|
-
(): number;
|
|
38
|
-
(_: number): HeatMap;
|
|
39
|
-
};
|
|
40
|
-
colorCount_exists: () => boolean;
|
|
41
|
-
paletteID: {
|
|
42
|
-
(): string;
|
|
43
|
-
(_: string): HeatMap;
|
|
44
|
-
};
|
|
45
|
-
paletteID_exists: () => boolean;
|
|
46
|
-
useClonedPalette: {
|
|
47
|
-
(): boolean;
|
|
48
|
-
(_: boolean): HeatMap;
|
|
49
|
-
};
|
|
50
|
-
useClonedPalette_exists: () => boolean;
|
|
51
|
-
topLeftX: {
|
|
52
|
-
(): number;
|
|
53
|
-
(_: number): HeatMap;
|
|
54
|
-
};
|
|
55
|
-
topLeftX_exists: () => boolean;
|
|
56
|
-
topLeftY: {
|
|
57
|
-
(): number;
|
|
58
|
-
(_: number): HeatMap;
|
|
59
|
-
};
|
|
60
|
-
topLeftY_exists: () => boolean;
|
|
61
|
-
bottomRightX: {
|
|
62
|
-
(): number;
|
|
63
|
-
(_: number): HeatMap;
|
|
64
|
-
};
|
|
65
|
-
bottomRightX_exists: () => boolean;
|
|
66
|
-
bottomRightY: {
|
|
67
|
-
(): number;
|
|
68
|
-
(_: number): HeatMap;
|
|
69
|
-
};
|
|
70
|
-
bottomRightY_exists: () => boolean;
|
|
71
10
|
}
|
|
72
|
-
|
|
11
|
+
export interface HeatMap {
|
|
12
|
+
_palette: any;
|
|
13
|
+
radius(): number;
|
|
14
|
+
radius(_: number): this;
|
|
15
|
+
radius_exists(): boolean;
|
|
16
|
+
blur(): number;
|
|
17
|
+
blur(_: number): this;
|
|
18
|
+
blur_exists(): boolean;
|
|
19
|
+
max(): number;
|
|
20
|
+
max(_: number): this;
|
|
21
|
+
max_exists(): boolean;
|
|
22
|
+
gradient(): object;
|
|
23
|
+
gradient(_: object): this;
|
|
24
|
+
gradient_exists(): boolean;
|
|
25
|
+
usePalette(): boolean;
|
|
26
|
+
usePalette(_: boolean): this;
|
|
27
|
+
usePalette_exists(): boolean;
|
|
28
|
+
colorCount(): number;
|
|
29
|
+
colorCount(_: number): this;
|
|
30
|
+
colorCount_exists(): boolean;
|
|
31
|
+
paletteID(): string;
|
|
32
|
+
paletteID(_: string): this;
|
|
33
|
+
paletteID_exists(): boolean;
|
|
34
|
+
useClonedPalette(): boolean;
|
|
35
|
+
useClonedPalette(_: boolean): this;
|
|
36
|
+
useClonedPalette_exists(): boolean;
|
|
37
|
+
topLeftX(): number;
|
|
38
|
+
topLeftX(_: number): this;
|
|
39
|
+
topLeftX_exists(): boolean;
|
|
40
|
+
topLeftY(): number;
|
|
41
|
+
topLeftY(_: number): this;
|
|
42
|
+
topLeftY_exists(): boolean;
|
|
43
|
+
bottomRightX(): number;
|
|
44
|
+
bottomRightX(_: number): this;
|
|
45
|
+
bottomRightX_exists(): boolean;
|
|
46
|
+
bottomRightY(): number;
|
|
47
|
+
bottomRightY(_: number): this;
|
|
48
|
+
bottomRightY_exists(): boolean;
|
|
49
|
+
}
|
package/types/Html.d.ts
CHANGED
|
@@ -4,20 +4,14 @@ export declare class Html extends HTMLWidget {
|
|
|
4
4
|
constructor();
|
|
5
5
|
enter(domNode: any, element: any): void;
|
|
6
6
|
update(domNode: any, element: any): void;
|
|
7
|
-
html: {
|
|
8
|
-
(): string;
|
|
9
|
-
(_: string): Html;
|
|
10
|
-
};
|
|
11
|
-
html_exists: () => boolean;
|
|
12
|
-
overflowX: {
|
|
13
|
-
(): string;
|
|
14
|
-
(_: string): Html;
|
|
15
|
-
};
|
|
16
|
-
overflowX_exists: () => boolean;
|
|
17
|
-
overflowY: {
|
|
18
|
-
(): string;
|
|
19
|
-
(_: string): Html;
|
|
20
|
-
};
|
|
21
|
-
overflowY_exists: () => boolean;
|
|
22
7
|
}
|
|
23
|
-
|
|
8
|
+
export interface Html {
|
|
9
|
+
html(): string;
|
|
10
|
+
html(_: string): Html;
|
|
11
|
+
overflowX(): string;
|
|
12
|
+
overflowX(_: string): Html;
|
|
13
|
+
overflowX_exists(): boolean;
|
|
14
|
+
overflowY(): string;
|
|
15
|
+
overflowY(_: string): Html;
|
|
16
|
+
overflowY_exists(): boolean;
|
|
17
|
+
}
|
package/types/IconList.d.ts
CHANGED