flexmonster 2.9.16 → 2.9.17
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/flexmonster.css +1 -1
- package/flexmonster.es5.full.js +2838 -2829
- package/flexmonster.es5.js +2577 -2571
- package/flexmonster.full.js +2315 -2308
- package/flexmonster.js +2376 -2372
- package/flexmonster.min.css +1 -1
- package/package.json +1 -1
- package/theme/accessible/flexmonster.css +1 -1
- package/theme/accessible/flexmonster.min.css +1 -1
- package/theme/blackorange/flexmonster.css +1 -1
- package/theme/blackorange/flexmonster.min.css +1 -1
- package/theme/brightorange/flexmonster.css +1 -1
- package/theme/brightorange/flexmonster.min.css +1 -1
- package/theme/dark/flexmonster.css +1 -1
- package/theme/dark/flexmonster.min.css +1 -1
- package/theme/flexmonster-base.less +1 -1
- package/theme/green/flexmonster.css +1 -1
- package/theme/green/flexmonster.min.css +1 -1
- package/theme/lightblue/flexmonster.css +1 -1
- package/theme/lightblue/flexmonster.min.css +1 -1
- package/theme/macos/flexmonster.css +1 -1
- package/theme/macos/flexmonster.min.css +1 -1
- package/theme/midnight/flexmonster.css +1 -1
- package/theme/midnight/flexmonster.min.css +1 -1
- package/theme/old/flexmonster.css +1 -1
- package/theme/old/flexmonster.min.css +1 -1
- package/theme/orange/flexmonster.css +1 -1
- package/theme/orange/flexmonster.min.css +1 -1
- package/theme/purple/flexmonster.css +1 -1
- package/theme/purple/flexmonster.min.css +1 -1
- package/theme/softdefault/flexmonster.css +1 -1
- package/theme/softdefault/flexmonster.min.css +1 -1
- package/theme/stripedblue/flexmonster.css +1 -1
- package/theme/stripedblue/flexmonster.min.css +1 -1
- package/theme/stripedteal/flexmonster.css +1 -1
- package/theme/stripedteal/flexmonster.min.css +1 -1
- package/theme/teal/flexmonster.css +1 -1
- package/theme/teal/flexmonster.min.css +1 -1
- package/theme/yellow/flexmonster.css +1 -1
- package/theme/yellow/flexmonster.min.css +1 -1
- package/toolbar/flexmonster.toolbar.js +562 -468
- package/types/flexmonster.d.ts +14 -2
package/types/flexmonster.d.ts
CHANGED
|
@@ -36,6 +36,7 @@ declare namespace Flexmonster {
|
|
|
36
36
|
customizeCell?: (cell: CellBuilder, data: CellData) => void;
|
|
37
37
|
customizeChartElement?: (element: Element, data: ChartData | ChartLegendItemData) => void;
|
|
38
38
|
customizeContextMenu?: (items: ContextMenuItem[], data: CellData | ChartData, viewType: string) => ContextMenuItem[];
|
|
39
|
+
sortFieldsList?: (first: FieldsListSortingItem, second: FieldsListSortingItem, fieldsListType: string) => number;
|
|
39
40
|
// events
|
|
40
41
|
afterchartdraw?: () => void;
|
|
41
42
|
aftergriddraw?: (param: object) => void;
|
|
@@ -116,7 +117,7 @@ declare namespace Flexmonster {
|
|
|
116
117
|
getData(options: { slice?: Slice }, callbackHandler: ((rawData: GetDataValueObject, error?: GetDataErrorObject) => void) | string,
|
|
117
118
|
updateHandler?: ((rawData: GetDataValueObject, error?: GetDataErrorObject) => void) | string): void;
|
|
118
119
|
getFilter(hierarchyName: string): Filter;
|
|
119
|
-
getFormat(measureName: string): Format;
|
|
120
|
+
getFormat(measureName: string, aggregation?: string): Format;
|
|
120
121
|
getMeasures(): Measure[];
|
|
121
122
|
getMeasuresAsync(): Promise<Measure[]>;
|
|
122
123
|
getMembers(hierarchyName: string, memberName: string, callbackHandler: ((members: Member[]) => void) | string): Member[];
|
|
@@ -161,7 +162,7 @@ declare namespace Flexmonster {
|
|
|
161
162
|
scrollToRow(rowIndex: number): void;
|
|
162
163
|
scrollToColumn(columnIndex: number): void;
|
|
163
164
|
setFilter(hierarchyName: string, filter: Filter): void;
|
|
164
|
-
setFormat(format: Format, measureName: string): void;
|
|
165
|
+
setFormat(format: Format, measureName: string, aggregation?: string): void;
|
|
165
166
|
setOptions(options: Options): void;
|
|
166
167
|
setReport(report: Report): void;
|
|
167
168
|
setSort(hierarchyName: string, sortName: string, customSorting?: string[]): void;
|
|
@@ -171,6 +172,7 @@ declare namespace Flexmonster {
|
|
|
171
172
|
showCharts(type?: string, multiple?: boolean): void;
|
|
172
173
|
showGrid(): void;
|
|
173
174
|
showGridAndCharts(type?: string, position?: string, multiple?: boolean): void;
|
|
175
|
+
sortFieldsList(sortingFunc: (first: FieldsListSortingItem, second: FieldsListSortingItem, fieldsListType: string) => number): void;
|
|
174
176
|
sortingMethod(hierarchyName: string, compareFunction: (a: string, b: string) => number): void;
|
|
175
177
|
sortValues(axisName: string, type: string, tuple?: number[], measure?: MeasureObject): void;
|
|
176
178
|
toolbar: Toolbar;
|
|
@@ -593,6 +595,7 @@ declare namespace Flexmonster {
|
|
|
593
595
|
row?: number;
|
|
594
596
|
column?: number;
|
|
595
597
|
measure?: string;
|
|
598
|
+
aggregation?: string;
|
|
596
599
|
hierarchy?: string;
|
|
597
600
|
member?: string;
|
|
598
601
|
isTotal?: boolean;
|
|
@@ -700,6 +703,15 @@ declare namespace Flexmonster {
|
|
|
700
703
|
uniqueName: string;
|
|
701
704
|
}
|
|
702
705
|
|
|
706
|
+
interface FieldsListSortingItem {
|
|
707
|
+
caption: string,
|
|
708
|
+
isFolder: boolean,
|
|
709
|
+
isCalculated?: boolean,
|
|
710
|
+
isMeasureFolder?: boolean,
|
|
711
|
+
isKPI?: boolean,
|
|
712
|
+
folder?: string
|
|
713
|
+
}
|
|
714
|
+
|
|
703
715
|
interface Toolbar {
|
|
704
716
|
getTabs: () => ToolbarTab[];
|
|
705
717
|
// Connect tab
|