survey-analytics
Advanced tools
Comparing version 1.1.15 to 1.1.16
@@ -12,3 +12,3 @@ { | ||
}, | ||
"version": "1.1.15", | ||
"version": "1.1.16", | ||
"name": "survey-analytics", | ||
@@ -53,2 +53,3 @@ "description": "SurveyJS analytics Library.", | ||
"jquery": "3.4.1", | ||
"muuri": "^0.8.0", | ||
"plotly.js-dist": "^1.49.5", | ||
@@ -63,3 +64,2 @@ "survey-core": "^1.1.14", | ||
"@types/lodash": "4.14.121", | ||
"@types/masonry-layout": "^4.2.1", | ||
"@types/node": "7.0.4", | ||
@@ -78,3 +78,2 @@ "@types/plotly.js": "^1.44.11", | ||
"live-server": "1.2.0", | ||
"masonry-layout": "^4.2.2", | ||
"node-sass": "4.9.2", | ||
@@ -81,0 +80,0 @@ "node-uuid": "1.4.7", |
@@ -1,2 +0,2 @@ | ||
/*Type definitions for SurveyJS Analytics library v1.1.15 | ||
/*Type definitions for SurveyJS Analytics library v1.1.16 | ||
Copyright (c) 2015-2019 Devsoft Baltic OÜ - http://surveyjs.io/ | ||
@@ -9,5 +9,7 @@ Definitions by: Devsoft Baltic OÜ <https://github.com/surveyjs/> | ||
import { Question } from "survey-core"; | ||
import { Question, Event } from "survey-core"; | ||
import { SurveyModel, Event } from "survey-core"; | ||
import { Question, QuestionBooleanModel } from "survey-core"; | ||
import { ItemValue } from "survey-core"; | ||
import { Question, QuestionBooleanModel } from "survey-core"; | ||
import { Question, ItemValue } from "survey-core"; | ||
@@ -44,2 +46,6 @@ export var localization: { | ||
chartType_bullet: string; | ||
hideButton: string; | ||
resetFilter: string; | ||
clearButton: string; | ||
addElement: string; | ||
}; | ||
@@ -54,5 +60,9 @@ | ||
protected options?: Object; | ||
toolbarItemCreators: { | ||
[name: string]: (toolbar: HTMLDivElement) => HTMLElement; | ||
}; | ||
constructor(targetElement: HTMLElement, question: Question, data: Array<{ | ||
[index: string]: any; | ||
}>, options?: Object); | ||
registerToolbarItem(name: string, creator: (toolbar: HTMLDivElement) => HTMLElement): void; | ||
readonly name: string; | ||
@@ -104,11 +114,22 @@ update(data: Array<{ | ||
[index: string]: any; | ||
}>, options?: Object); | ||
}>, options?: Object, _elements?: Array<IVisualizerPanelElement>, isTrustedAccess?: boolean); | ||
protected buildElements(questions: any[]): IVisualizerPanelElement[]; | ||
isVisible(visibility: ElementVisibility): boolean; | ||
protected readonly visibleElements: IVisualizerPanelElement[]; | ||
protected readonly hiddenElements: IVisualizerPanelElement[]; | ||
protected getElement(name: string): IVisualizerPanelElement; | ||
onVisibleElementsCnahged: Event<(sender: VisualizationPanel, options: any) => any, any>; | ||
visibleElementsCnahged(): void; | ||
destroyVisualizer(visualizer: VisualizerBase): void; | ||
renderVisualizer(element: IVisualizerPanelElement): HTMLDivElement; | ||
render(): void; | ||
protected createToolbarItems(toolbar: HTMLDivElement): void; | ||
destroy(): void; | ||
update(hard?: boolean): void; | ||
layout(): void; | ||
applyFilter(questionName: string, selectedValue: any, clearSelection?: boolean): void; | ||
renderQuestion(vizualizerElement: HTMLElement, question: Question, data: Array<{ | ||
applyFilter(questionName: string, selectedValue: any): void; | ||
createVizualizer(vizualizerElement: HTMLElement, question: Question, data: Array<{ | ||
[index: string]: any; | ||
}>): any; | ||
}>): VisualizerBase; | ||
showHeader: boolean; | ||
} | ||
@@ -207,2 +228,14 @@ | ||
export enum ElementVisibility { | ||
Visible = "Visible", | ||
Invisible = "Invisible", | ||
PublicInvisible = "PublicInvisible" | ||
} | ||
export interface IVisualizerPanelElement { | ||
name: string; | ||
displayName: string; | ||
visibility: ElementVisibility; | ||
type?: string; | ||
} | ||
export enum ColumnVisibility { | ||
@@ -242,5 +275,2 @@ Visible = "Visible", | ||
createChart(): void; | ||
setSelection(item: ItemValue, clearSelection?: boolean): void; | ||
updateFilter(): void; | ||
protected createToolbarItems(toolbar: HTMLDivElement): void; | ||
protected getSelectedItemByText(itemText: string): any; | ||
@@ -303,3 +333,5 @@ } | ||
createChart(): void; | ||
onDataItemSelected: (selectedValue: any, clearSelection: boolean) => void; | ||
setSelection(item: ItemValue): void; | ||
readonly selection: ItemValue; | ||
onDataItemSelected: (selectedValue: any, selectedText: string) => void; | ||
protected renderContent(container: HTMLDivElement): void; | ||
@@ -306,0 +338,0 @@ protected createToolbarItems(toolbar: HTMLDivElement): void; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
936066
30
8508
17
+ Addedmuuri@^0.8.0
+ Addedmuuri@0.8.0(transitive)