survey-knockout
Advanced tools
Comparing version 0.10.1 to 0.10.2
@@ -1,2 +0,2 @@ | ||
// Type definitions for Survey JavaScript library v0.10.1 | ||
// Type definitions for Survey JavaScript library v0.10.2 | ||
// Project: http://surveyjs.org/ | ||
@@ -49,2 +49,5 @@ // Definitions by: Andrew Telnov <https://github.com/andrewtelnov/> | ||
static getData(items: Array<ItemValue>): any; | ||
static getItemByValue(items: Array<ItemValue>, val: any): ItemValue; | ||
private static itemValueProp; | ||
private static copyAttributes(src, dest, exceptons); | ||
private itemValue; | ||
@@ -64,2 +67,6 @@ private itemText; | ||
} | ||
export declare const SurveyPageId: string; | ||
export declare class SurveyElement { | ||
static ScrollElementToTop(elementId: string): boolean; | ||
} | ||
export declare class Event<T extends Function, Options> { | ||
@@ -66,0 +73,0 @@ private callbacks; |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Survey JavaScript library v0.10.1 | ||
// Type definitions for Survey JavaScript library v0.10.2 | ||
// Project: http://surveyjs.org/ | ||
@@ -3,0 +3,0 @@ // Definitions by: Andrew Telnov <https://github.com/andrewtelnov/> |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Survey JavaScript library v0.10.1 | ||
// Type definitions for Survey JavaScript library v0.10.2 | ||
// Project: http://surveyjs.org/ | ||
@@ -3,0 +3,0 @@ // Definitions by: Andrew Telnov <https://github.com/andrewtelnov/> |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Survey JavaScript library v0.10.1 | ||
// Type definitions for Survey JavaScript library v0.10.2 | ||
// Project: http://surveyjs.org/ | ||
@@ -3,0 +3,0 @@ // Definitions by: Andrew Telnov <https://github.com/andrewtelnov/> |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Survey JavaScript library v0.10.1 | ||
// Type definitions for Survey JavaScript library v0.10.2 | ||
// Project: http://surveyjs.org/ | ||
@@ -3,0 +3,0 @@ // Definitions by: Andrew Telnov <https://github.com/andrewtelnov/> |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Survey JavaScript library v0.10.1 | ||
// Type definitions for Survey JavaScript library v0.10.2 | ||
// Project: http://surveyjs.org/ | ||
@@ -3,0 +3,0 @@ // Definitions by: Andrew Telnov <https://github.com/andrewtelnov/> |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Survey JavaScript library v0.10.1 | ||
// Type definitions for Survey JavaScript library v0.10.2 | ||
// Project: http://surveyjs.org/ | ||
@@ -3,0 +3,0 @@ // Definitions by: Andrew Telnov <https://github.com/andrewtelnov/> |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Survey JavaScript library v0.10.1 | ||
// Type definitions for Survey JavaScript library v0.10.2 | ||
// Project: http://surveyjs.org/ | ||
@@ -3,0 +3,0 @@ // Definitions by: Andrew Telnov <https://github.com/andrewtelnov/> |
@@ -1,8 +0,12 @@ | ||
// Type definitions for Survey JavaScript library v0.10.1 | ||
// Type definitions for Survey JavaScript library v0.10.2 | ||
// Project: http://surveyjs.org/ | ||
// Definitions by: Andrew Telnov <https://github.com/andrewtelnov/> | ||
import '../../localization/russian'; | ||
import '../../localization/danish'; | ||
import '../../localization/dutch'; | ||
import '../../localization/finnish'; | ||
import '../../localization/french'; | ||
import '../../localization/finnish'; | ||
import '../../localization/german'; | ||
import '../../localization/polish'; | ||
import '../../localization/russian'; | ||
import '../../localization/turkish'; |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Survey JavaScript library v0.10.1 | ||
// Type definitions for Survey JavaScript library v0.10.2 | ||
// Project: http://surveyjs.org/ | ||
@@ -3,0 +3,0 @@ // Definitions by: Andrew Telnov <https://github.com/andrewtelnov/> |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Survey JavaScript library v0.10.1 | ||
// Type definitions for Survey JavaScript library v0.10.2 | ||
// Project: http://surveyjs.org/ | ||
@@ -3,0 +3,0 @@ // Definitions by: Andrew Telnov <https://github.com/andrewtelnov/> |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Survey JavaScript library v0.10.1 | ||
// Type definitions for Survey JavaScript library v0.10.2 | ||
// Project: http://surveyjs.org/ | ||
@@ -3,0 +3,0 @@ // Definitions by: Andrew Telnov <https://github.com/andrewtelnov/> |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Survey JavaScript library v0.10.1 | ||
// Type definitions for Survey JavaScript library v0.10.2 | ||
// Project: http://surveyjs.org/ | ||
@@ -3,0 +3,0 @@ // Definitions by: Andrew Telnov <https://github.com/andrewtelnov/> |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Survey JavaScript library v0.10.1 | ||
// Type definitions for Survey JavaScript library v0.10.2 | ||
// Project: http://surveyjs.org/ | ||
@@ -38,3 +38,3 @@ // Definitions by: Andrew Telnov <https://github.com/andrewtelnov/> | ||
find(name: string): JsonObjectProperty; | ||
private createProperty(propInfo); | ||
createProperty(propInfo: any): JsonObjectProperty; | ||
private getPropertyName(propertyName); | ||
@@ -54,6 +54,11 @@ private makePropertyRequired(propertyName); | ||
getRequiredProperties(name: string): Array<string>; | ||
addProperty(className: string, propertyInfo: any): void; | ||
removeProperty(className: string, propertyName: string): boolean; | ||
private addPropertyToClass(metaDataClass, property); | ||
private removePropertyFromClass(metaDataClass, property); | ||
private emptyClassPropertiesHash(metaDataClass); | ||
private fillChildrenClasses(name, canBeCreated, result); | ||
private findClass(name); | ||
private fillProperties(name, list); | ||
private addProperty(property, list, endIndex); | ||
private addPropertyCore(property, list, endIndex); | ||
private fillRequiredProperties(name, list); | ||
@@ -60,0 +65,0 @@ } |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Survey JavaScript library v0.10.1 | ||
// Type definitions for Survey JavaScript library v0.10.2 | ||
// Project: http://surveyjs.org/ | ||
@@ -3,0 +3,0 @@ // Definitions by: Andrew Telnov <https://github.com/andrewtelnov/> |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Survey JavaScript library v0.10.1 | ||
// Type definitions for Survey JavaScript library v0.10.2 | ||
// Project: http://surveyjs.org/ | ||
@@ -3,0 +3,0 @@ // Definitions by: Andrew Telnov <https://github.com/andrewtelnov/> |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Survey JavaScript library v0.10.1 | ||
// Type definitions for Survey JavaScript library v0.10.2 | ||
// Project: http://surveyjs.org/ | ||
@@ -3,0 +3,0 @@ // Definitions by: Andrew Telnov <https://github.com/andrewtelnov/> |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Survey JavaScript library v0.10.1 | ||
// Type definitions for Survey JavaScript library v0.10.2 | ||
// Project: http://surveyjs.org/ | ||
@@ -3,0 +3,0 @@ // Definitions by: Andrew Telnov <https://github.com/andrewtelnov/> |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Survey JavaScript library v0.10.1 | ||
// Type definitions for Survey JavaScript library v0.10.2 | ||
// Project: http://surveyjs.org/ | ||
@@ -3,0 +3,0 @@ // Definitions by: Andrew Telnov <https://github.com/andrewtelnov/> |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Survey JavaScript library v0.10.1 | ||
// Type definitions for Survey JavaScript library v0.10.2 | ||
// Project: http://surveyjs.org/ | ||
@@ -3,0 +3,0 @@ // Definitions by: Andrew Telnov <https://github.com/andrewtelnov/> |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Survey JavaScript library v0.10.1 | ||
// Type definitions for Survey JavaScript library v0.10.2 | ||
// Project: http://surveyjs.org/ | ||
@@ -3,0 +3,0 @@ // Definitions by: Andrew Telnov <https://github.com/andrewtelnov/> |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Survey JavaScript library v0.10.1 | ||
// Type definitions for Survey JavaScript library v0.10.2 | ||
// Project: http://surveyjs.org/ | ||
@@ -3,0 +3,0 @@ // Definitions by: Andrew Telnov <https://github.com/andrewtelnov/> |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Survey JavaScript library v0.10.1 | ||
// Type definitions for Survey JavaScript library v0.10.2 | ||
// Project: http://surveyjs.org/ | ||
@@ -3,0 +3,0 @@ // Definitions by: Andrew Telnov <https://github.com/andrewtelnov/> |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Survey JavaScript library v0.10.1 | ||
// Type definitions for Survey JavaScript library v0.10.2 | ||
// Project: http://surveyjs.org/ | ||
@@ -3,0 +3,0 @@ // Definitions by: Andrew Telnov <https://github.com/andrewtelnov/> |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Survey JavaScript library v0.10.1 | ||
// Type definitions for Survey JavaScript library v0.10.2 | ||
// Project: http://surveyjs.org/ | ||
@@ -3,0 +3,0 @@ // Definitions by: Andrew Telnov <https://github.com/andrewtelnov/> |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Survey JavaScript library v0.10.1 | ||
// Type definitions for Survey JavaScript library v0.10.2 | ||
// Project: http://surveyjs.org/ | ||
@@ -3,0 +3,0 @@ // Definitions by: Andrew Telnov <https://github.com/andrewtelnov/> |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Survey JavaScript library v0.10.1 | ||
// Type definitions for Survey JavaScript library v0.10.2 | ||
// Project: http://surveyjs.org/ | ||
@@ -3,0 +3,0 @@ // Definitions by: Andrew Telnov <https://github.com/andrewtelnov/> |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Survey JavaScript library v0.10.1 | ||
// Type definitions for Survey JavaScript library v0.10.2 | ||
// Project: http://surveyjs.org/ | ||
@@ -6,2 +6,9 @@ // Definitions by: Andrew Telnov <https://github.com/andrewtelnov/> | ||
import { QuestionTextModel } from "../question_text"; | ||
import { QuestionImplementor } from "./koquestion"; | ||
import { Question } from "../question"; | ||
export declare class QuestionTextImplementor extends QuestionImplementor { | ||
question: Question; | ||
constructor(question: Question); | ||
protected updateValue(newValue: any): void; | ||
} | ||
export declare class QuestionText extends QuestionTextModel { | ||
@@ -8,0 +15,0 @@ name: string; |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Survey JavaScript library v0.10.1 | ||
// Type definitions for Survey JavaScript library v0.10.2 | ||
// Project: http://surveyjs.org/ | ||
@@ -15,2 +15,3 @@ // Definitions by: Andrew Telnov <https://github.com/andrewtelnov/> | ||
constructor(question: Question); | ||
protected updateQuestion(): void; | ||
protected onValueChanged(): void; | ||
@@ -17,0 +18,0 @@ protected onCommentChanged(): void; |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Survey JavaScript library v0.10.1 | ||
// Type definitions for Survey JavaScript library v0.10.2 | ||
// Project: http://surveyjs.org/ | ||
@@ -14,2 +14,3 @@ // Definitions by: Andrew Telnov <https://github.com/andrewtelnov/> | ||
constructor(question: QuestionBase); | ||
protected updateQuestion(): void; | ||
protected onVisibilityChanged(): void; | ||
@@ -16,0 +17,0 @@ protected onRenderWidthChanged(): void; |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Survey JavaScript library v0.10.1 | ||
// Type definitions for Survey JavaScript library v0.10.2 | ||
// Project: http://surveyjs.org/ | ||
@@ -13,2 +13,3 @@ // Definitions by: Andrew Telnov <https://github.com/andrewtelnov/> | ||
onRendered: Event<(sender: SurveyModel) => any, any>; | ||
private isFirstRender; | ||
koCurrentPage: any; | ||
@@ -39,2 +40,3 @@ koIsFirstPage: any; | ||
private updateKoCurrentPage(); | ||
private updateCurrentPageQuestions(); | ||
} |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Survey JavaScript library v0.10.1 | ||
// Type definitions for Survey JavaScript library v0.10.2 | ||
// Project: http://surveyjs.org/ | ||
@@ -3,0 +3,0 @@ // Definitions by: Andrew Telnov <https://github.com/andrewtelnov/> |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Survey JavaScript library v0.10.1 | ||
// Type definitions for Survey JavaScript library v0.10.2 | ||
// Project: http://surveyjs.org/ | ||
@@ -3,0 +3,0 @@ // Definitions by: Andrew Telnov <https://github.com/andrewtelnov/> |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Survey JavaScript library v0.10.1 | ||
// Type definitions for Survey JavaScript library v0.10.2 | ||
// Project: http://surveyjs.org/ | ||
@@ -3,0 +3,0 @@ // Definitions by: Andrew Telnov <https://github.com/andrewtelnov/> |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Survey JavaScript library v0.10.1 | ||
// Type definitions for Survey JavaScript library v0.10.2 | ||
// Project: http://surveyjs.org/ | ||
@@ -3,0 +3,0 @@ // Definitions by: Andrew Telnov <https://github.com/andrewtelnov/> |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Survey JavaScript library v0.10.1 | ||
// Type definitions for Survey JavaScript library v0.10.2 | ||
// Project: http://surveyjs.org/ | ||
@@ -3,0 +3,0 @@ // Definitions by: Andrew Telnov <https://github.com/andrewtelnov/> |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Survey JavaScript library v0.10.1 | ||
// Type definitions for Survey JavaScript library v0.10.2 | ||
// Project: http://surveyjs.org/ | ||
@@ -3,0 +3,0 @@ // Definitions by: Andrew Telnov <https://github.com/andrewtelnov/> |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Survey JavaScript library v0.10.1 | ||
// Type definitions for Survey JavaScript library v0.10.2 | ||
// Project: http://surveyjs.org/ | ||
@@ -3,0 +3,0 @@ // Definitions by: Andrew Telnov <https://github.com/andrewtelnov/> |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Survey JavaScript library v0.10.1 | ||
// Type definitions for Survey JavaScript library v0.10.2 | ||
// Project: http://surveyjs.org/ | ||
@@ -3,0 +3,0 @@ // Definitions by: Andrew Telnov <https://github.com/andrewtelnov/> |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Survey JavaScript library v0.10.1 | ||
// Type definitions for Survey JavaScript library v0.10.2 | ||
// Project: http://surveyjs.org/ | ||
@@ -3,0 +3,0 @@ // Definitions by: Andrew Telnov <https://github.com/andrewtelnov/> |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Survey JavaScript library v0.10.1 | ||
// Type definitions for Survey JavaScript library v0.10.2 | ||
// Project: http://surveyjs.org/ | ||
@@ -3,0 +3,0 @@ // Definitions by: Andrew Telnov <https://github.com/andrewtelnov/> |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Survey JavaScript library v0.10.1 | ||
// Type definitions for Survey JavaScript library v0.10.2 | ||
// Project: http://surveyjs.org/ | ||
@@ -26,2 +26,5 @@ // Definitions by: Andrew Telnov <https://github.com/andrewtelnov/> | ||
name: string; | ||
private static pageCounter; | ||
private static getPageId(); | ||
private idValue; | ||
private rowValues; | ||
@@ -37,2 +40,3 @@ private conditionRunner; | ||
constructor(name?: string); | ||
id: string; | ||
rows: Array<QuestionRowModel>; | ||
@@ -50,2 +54,3 @@ isActive: boolean; | ||
isVisible: boolean; | ||
getIsPageVisible(exceptionQuestion: IQuestion): boolean; | ||
addQuestion(question: QuestionBase, index?: number): void; | ||
@@ -55,2 +60,3 @@ addNewQuestion(questionType: string, name: string): QuestionBase; | ||
scrollToFirstQuestion(): void; | ||
scrollToTop(): void; | ||
hasErrors(fireCallback?: boolean, focuseOnFirstError?: boolean): boolean; | ||
@@ -57,0 +63,0 @@ addQuestionsToList(list: Array<IQuestion>, visibleOnly?: boolean): void; |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Survey JavaScript library v0.10.1 | ||
// Type definitions for Survey JavaScript library v0.10.2 | ||
// Project: http://surveyjs.org/ | ||
@@ -3,0 +3,0 @@ // Definitions by: Andrew Telnov <https://github.com/andrewtelnov/> |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Survey JavaScript library v0.10.1 | ||
// Type definitions for Survey JavaScript library v0.10.2 | ||
// Project: http://surveyjs.org/ | ||
@@ -3,0 +3,0 @@ // Definitions by: Andrew Telnov <https://github.com/andrewtelnov/> |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Survey JavaScript library v0.10.1 | ||
// Type definitions for Survey JavaScript library v0.10.2 | ||
// Project: http://surveyjs.org/ | ||
@@ -9,2 +9,3 @@ // Definitions by: Andrew Telnov <https://github.com/andrewtelnov/> | ||
export declare class QuestionSelectBase extends Question { | ||
private visibleChoicesCache; | ||
private commentValue; | ||
@@ -14,2 +15,3 @@ protected cachedValue: any; | ||
private choicesFromUrl; | ||
private cachedValueForUrlRequestion; | ||
private choicesValues; | ||
@@ -28,2 +30,3 @@ choicesByUrl: ChoicesRestfull; | ||
protected setComment(newValue: string): void; | ||
protected setNewValue(newValue: any): void; | ||
protected valueFromData(val: any): any; | ||
@@ -46,2 +49,3 @@ protected valueToData(val: any): any; | ||
private onLoadChoicesFromUrl(array); | ||
private onVisibleChoicesChanged(); | ||
private sortVisibleChoices(array); | ||
@@ -48,0 +52,0 @@ private sortArray(array, mult); |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Survey JavaScript library v0.10.1 | ||
// Type definitions for Survey JavaScript library v0.10.2 | ||
// Project: http://surveyjs.org/ | ||
@@ -3,0 +3,0 @@ // Definitions by: Andrew Telnov <https://github.com/andrewtelnov/> |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Survey JavaScript library v0.10.1 | ||
// Type definitions for Survey JavaScript library v0.10.2 | ||
// Project: http://surveyjs.org/ | ||
@@ -3,0 +3,0 @@ // Definitions by: Andrew Telnov <https://github.com/andrewtelnov/> |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Survey JavaScript library v0.10.1 | ||
// Type definitions for Survey JavaScript library v0.10.2 | ||
// Project: http://surveyjs.org/ | ||
@@ -3,0 +3,0 @@ // Definitions by: Andrew Telnov <https://github.com/andrewtelnov/> |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Survey JavaScript library v0.10.1 | ||
// Type definitions for Survey JavaScript library v0.10.2 | ||
// Project: http://surveyjs.org/ | ||
@@ -3,0 +3,0 @@ // Definitions by: Andrew Telnov <https://github.com/andrewtelnov/> |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Survey JavaScript library v0.10.1 | ||
// Type definitions for Survey JavaScript library v0.10.2 | ||
// Project: http://surveyjs.org/ | ||
@@ -3,0 +3,0 @@ // Definitions by: Andrew Telnov <https://github.com/andrewtelnov/> |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Survey JavaScript library v0.10.1 | ||
// Type definitions for Survey JavaScript library v0.10.2 | ||
// Project: http://surveyjs.org/ | ||
@@ -3,0 +3,0 @@ // Definitions by: Andrew Telnov <https://github.com/andrewtelnov/> |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Survey JavaScript library v0.10.1 | ||
// Type definitions for Survey JavaScript library v0.10.2 | ||
// Project: http://surveyjs.org/ | ||
@@ -3,0 +3,0 @@ // Definitions by: Andrew Telnov <https://github.com/andrewtelnov/> |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Survey JavaScript library v0.10.1 | ||
// Type definitions for Survey JavaScript library v0.10.2 | ||
// Project: http://surveyjs.org/ | ||
@@ -3,0 +3,0 @@ // Definitions by: Andrew Telnov <https://github.com/andrewtelnov/> |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Survey JavaScript library v0.10.1 | ||
// Type definitions for Survey JavaScript library v0.10.2 | ||
// Project: http://surveyjs.org/ | ||
@@ -3,0 +3,0 @@ // Definitions by: Andrew Telnov <https://github.com/andrewtelnov/> |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Survey JavaScript library v0.10.1 | ||
// Type definitions for Survey JavaScript library v0.10.2 | ||
// Project: http://surveyjs.org/ | ||
@@ -3,0 +3,0 @@ // Definitions by: Andrew Telnov <https://github.com/andrewtelnov/> |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Survey JavaScript library v0.10.1 | ||
// Type definitions for Survey JavaScript library v0.10.2 | ||
// Project: http://surveyjs.org/ | ||
@@ -3,0 +3,0 @@ // Definitions by: Andrew Telnov <https://github.com/andrewtelnov/> |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Survey JavaScript library v0.10.1 | ||
// Type definitions for Survey JavaScript library v0.10.2 | ||
// Project: http://surveyjs.org/ | ||
@@ -3,0 +3,0 @@ // Definitions by: Andrew Telnov <https://github.com/andrewtelnov/> |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Survey JavaScript library v0.10.1 | ||
// Type definitions for Survey JavaScript library v0.10.2 | ||
// Project: http://surveyjs.org/ | ||
@@ -9,2 +9,3 @@ // Definitions by: Andrew Telnov <https://github.com/andrewtelnov/> | ||
size: number; | ||
inputType: string; | ||
constructor(name: string); | ||
@@ -14,2 +15,5 @@ getType(): string; | ||
supportGoNextPageAutomatic(): boolean; | ||
protected setNewValue(newValue: any): void; | ||
protected correctValueType(newValue: any): any; | ||
private isNumber(value); | ||
} |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Survey JavaScript library v0.10.1 | ||
// Type definitions for Survey JavaScript library v0.10.2 | ||
// Project: http://surveyjs.org/ | ||
@@ -47,2 +47,3 @@ // Definitions by: Andrew Telnov <https://github.com/andrewtelnov/> | ||
requiredText: string; | ||
addError(error: SurveyError): void; | ||
private checkForErrors(fireCallback); | ||
@@ -49,0 +50,0 @@ protected onCheckForErrors(errors: Array<SurveyError>): void; |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Survey JavaScript library v0.10.1 | ||
// Type definitions for Survey JavaScript library v0.10.2 | ||
// Project: http://surveyjs.org/ | ||
@@ -3,0 +3,0 @@ // Definitions by: Andrew Telnov <https://github.com/andrewtelnov/> |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Survey JavaScript library v0.10.1 | ||
// Type definitions for Survey JavaScript library v0.10.2 | ||
// Project: http://surveyjs.org/ | ||
@@ -3,0 +3,0 @@ // Definitions by: Andrew Telnov <https://github.com/andrewtelnov/> |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Survey JavaScript library v0.10.1 | ||
// Type definitions for Survey JavaScript library v0.10.2 | ||
// Project: http://surveyjs.org/ | ||
@@ -44,2 +44,3 @@ // Definitions by: Andrew Telnov <https://github.com/andrewtelnov/> | ||
private textPreProcessor; | ||
private isValidatingOnServerValue; | ||
onComplete: Event<(sender: SurveyModel) => any, any>; | ||
@@ -53,2 +54,3 @@ onCurrentPageChanged: Event<(sender: SurveyModel, options: any) => any, any>; | ||
onValidateQuestion: Event<(sender: SurveyModel, options: any) => any, any>; | ||
onServerValidateQuestions: (sender: SurveyModel, options: any) => any; | ||
onProcessHtml: Event<(sender: SurveyModel, options: any) => any, any>; | ||
@@ -94,2 +96,8 @@ onSendResult: Event<(sender: SurveyModel, options: any) => any, any>; | ||
doComplete(): void; | ||
isValidatingOnServer: boolean; | ||
private setIsValidatingOnServer(val); | ||
protected onIsValidatingOnServerChanged(): void; | ||
protected doServerValidation(): boolean; | ||
private completeServerValidation(options); | ||
protected doNextPage(): void; | ||
protected setCompleted(): void; | ||
@@ -126,2 +134,3 @@ processedCompletedHtml: string; | ||
protected onLoadSurveyFromService(): void; | ||
private checkPageVisibility(question, oldQuestionVisible); | ||
private updateVisibleIndexes(); | ||
@@ -128,0 +137,0 @@ private updatePageVisibleIndexes(showIndex); |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Survey JavaScript library v0.10.1 | ||
// Type definitions for Survey JavaScript library v0.10.2 | ||
// Project: http://surveyjs.org/ | ||
@@ -3,0 +3,0 @@ // Definitions by: Andrew Telnov <https://github.com/andrewtelnov/> |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Survey JavaScript library v0.10.1 | ||
// Type definitions for Survey JavaScript library v0.10.2 | ||
// Project: http://surveyjs.org/ | ||
@@ -3,0 +3,0 @@ // Definitions by: Andrew Telnov <https://github.com/andrewtelnov/> |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Survey JavaScript library v0.10.1 | ||
// Type definitions for Survey JavaScript library v0.10.2 | ||
// Project: http://surveyjs.org/ | ||
@@ -3,0 +3,0 @@ // Definitions by: Andrew Telnov <https://github.com/andrewtelnov/> |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Survey JavaScript library v0.10.1 | ||
// Type definitions for Survey JavaScript library v0.10.2 | ||
// Project: http://surveyjs.org/ | ||
@@ -3,0 +3,0 @@ // Definitions by: Andrew Telnov <https://github.com/andrewtelnov/> |
@@ -1,2 +0,2 @@ | ||
// Type definitions for Survey JavaScript library v0.10.1 | ||
// Type definitions for Survey JavaScript library v0.10.2 | ||
// Project: http://surveyjs.org/ | ||
@@ -3,0 +3,0 @@ // Definitions by: Andrew Telnov <https://github.com/andrewtelnov/> |
{ | ||
"name": "survey-knockout", | ||
"version": "0.10.1", | ||
"version": "0.10.2", | ||
"description": "survey.js is a JavaScript Survey Library. It is a modern way to add a survey to your website. It uses JSON for survey metadata and results.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
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 too big to display
Sorry, the diff of this file is too big to display
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
1242760
77
10958