survey-jquery
Advanced tools
Comparing version 0.12.6 to 0.12.7
{ | ||
"name": "survey-jquery", | ||
"version": "0.12.6", | ||
"version": "0.12.7", | ||
"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.", | ||
@@ -29,4 +29,4 @@ "keywords": [ | ||
"jquery": ">=1.12.4", | ||
"@types/react": "0.0.0" | ||
"@types/react": "15.0.21" | ||
} | ||
} |
@@ -1,4 +0,4 @@ | ||
/*Type definitions for Survey JavaScript library v0.12.6 | ||
/*Type definitions for Survey JavaScript library v0.12.7 | ||
Project: http://surveyjs.org/ | ||
Definitions by: Devsoft Baltic O� <https://github.com/surveyjs/> | ||
Definitions by: Devsoft Baltic OÜ <https://github.com/surveyjs/> | ||
*/ | ||
@@ -571,2 +571,3 @@ // Dependencies for this module: | ||
onSurveyLoad(): any; | ||
onLocaleChanged(): any; | ||
} | ||
@@ -587,13 +588,2 @@ export interface IQuestion extends IElement { | ||
} | ||
export declare class ItemValue { | ||
static Separator: string; | ||
static setData(items: Array<ItemValue>, values: Array<any>): void; | ||
static getData(items: Array<ItemValue>): any; | ||
static getItemByValue(items: Array<ItemValue>, val: any): ItemValue; | ||
constructor(value: any, text?: string); | ||
getType(): string; | ||
value: any; | ||
readonly hasText: boolean; | ||
text: string; | ||
} | ||
export declare class Base { | ||
@@ -619,2 +609,34 @@ getType(): string; | ||
export declare class ItemValue { | ||
static Separator: string; | ||
static createArray(locOwner: ILocalizableOwner): Array<ItemValue>; | ||
static setupArray(items: Array<ItemValue>, locOwner: ILocalizableOwner): void; | ||
static setData(items: Array<ItemValue>, values: Array<any>): void; | ||
static getData(items: Array<ItemValue>): any; | ||
static getItemByValue(items: Array<ItemValue>, val: any): ItemValue; | ||
constructor(value: any, text?: string); | ||
getType(): string; | ||
readonly locText: LocalizableString; | ||
locOwner: ILocalizableOwner; | ||
value: any; | ||
readonly hasText: boolean; | ||
text: string; | ||
setData(value: any): void; | ||
} | ||
export interface ILocalizableOwner { | ||
getLocale(): string; | ||
} | ||
export declare class LocalizableString { | ||
owner: ILocalizableOwner; | ||
static defaultLocale: string; | ||
constructor(owner: ILocalizableOwner); | ||
readonly locale: string; | ||
text: string; | ||
getLocaleText(loc: string): string; | ||
setLocaleText(loc: string, value: string): void; | ||
getJson(): any; | ||
setJson(value: any): void; | ||
} | ||
export declare class ChoicesRestfull extends Base { | ||
@@ -695,2 +717,4 @@ url: string; | ||
visible: boolean; | ||
isLocalizable: boolean; | ||
serializationProperty: string; | ||
onGetValue: (obj: any) => any; | ||
@@ -700,6 +724,7 @@ onSetValue: (obj: any, value: any, jsonConv: JsonObject) => any; | ||
type: string; | ||
readonly hasToUseGetValue: (obj: any) => any; | ||
readonly hasToUseGetValue: string | ((obj: any) => any); | ||
isDefaultValue(value: any): boolean; | ||
getValue(obj: any): any; | ||
readonly hasToUseSetValue: (obj: any, value: any, jsonConv: JsonObject) => any; | ||
getPropertyValue(obj: any): any; | ||
readonly hasToUseSetValue: string | ((obj: any, value: any, jsonConv: JsonObject) => any); | ||
setValue(obj: any, value: any, jsonConv: JsonObject): void; | ||
@@ -783,6 +808,6 @@ getObjType(objType: string): string; | ||
createQuestion(row: MatrixDropdownRowModelBase, column: MatrixDropdownColumn): Question; | ||
getLocale(): string; | ||
} | ||
export declare class MatrixDropdownColumn extends Base { | ||
export declare class MatrixDropdownColumn extends Base implements ILocalizableOwner { | ||
name: string; | ||
optionsCaption: string; | ||
isRequired: boolean; | ||
@@ -793,10 +818,16 @@ hasOther: boolean; | ||
inputType: string; | ||
placeHolder: string; | ||
choicesOrder: string; | ||
choicesByUrl: ChoicesRestfull; | ||
locOwner: ILocalizableOwner; | ||
constructor(name: string, title?: string); | ||
getType(): string; | ||
title: string; | ||
readonly locTitle: LocalizableString; | ||
optionsCaption: string; | ||
readonly locOptionsCaption: LocalizableString; | ||
placeHolder: string; | ||
readonly locPlaceHolder: LocalizableString; | ||
choices: Array<any>; | ||
colCount: number; | ||
getLocale(): string; | ||
} | ||
@@ -810,3 +841,3 @@ export declare class MatrixDropdownCell { | ||
} | ||
export declare class MatrixDropdownRowModelBase implements ISurveyData { | ||
export declare class MatrixDropdownRowModelBase implements ISurveyData, ILocalizableOwner { | ||
protected data: IMatrixDropdownData; | ||
@@ -823,2 +854,3 @@ cells: Array<MatrixDropdownCell>; | ||
readonly isEmpty: boolean; | ||
getLocale(): string; | ||
protected createCell(column: MatrixDropdownColumn): MatrixDropdownCell; | ||
@@ -828,2 +860,3 @@ } | ||
name: string; | ||
static addDefaultColumns(matrix: QuestionMatrixDropdownModelBase): void; | ||
protected generatedVisibleRows: Array<MatrixDropdownRowModelBase>; | ||
@@ -843,2 +876,3 @@ columnMinWidth: string; | ||
optionsCaption: string; | ||
readonly locOptionsCaption: LocalizableString; | ||
addColumn(name: string, title?: string): MatrixDropdownColumn; | ||
@@ -904,3 +938,5 @@ readonly visibleRows: Array<MatrixDropdownRowModelBase>; | ||
addRowText: string; | ||
readonly locAddRowText: LocalizableString; | ||
removeRowText: string; | ||
readonly locRemoveRowText: LocalizableString; | ||
supportGoNextPageAutomatic(): boolean; | ||
@@ -949,7 +985,7 @@ readonly cachedVisibleRows: Array<MatrixDropdownRowModelBase>; | ||
getIsRequiredText(): string; | ||
getLocale(): string; | ||
} | ||
export declare class MultipleTextItemModel extends Base implements IValidatorOwner { | ||
export declare class MultipleTextItemModel extends Base implements IValidatorOwner, ILocalizableOwner { | ||
name: any; | ||
isRequired: boolean; | ||
placeHolder: string; | ||
validators: Array<SurveyValidator>; | ||
@@ -960,6 +996,10 @@ constructor(name?: any, title?: string); | ||
title: string; | ||
readonly locTitle: LocalizableString; | ||
readonly fullTitle: string; | ||
placeHolder: string; | ||
readonly locPlaceHolder: LocalizableString; | ||
value: any; | ||
onValueChanged(newValue: any): void; | ||
getValidatorTitle(): string; | ||
getLocale(): string; | ||
} | ||
@@ -999,3 +1039,3 @@ export declare class QuestionMultipleTextModel extends Question implements IMultipleTextData { | ||
} | ||
export declare class PanelModelBase extends Base implements IConditionRunner { | ||
export declare class PanelModelBase extends Base implements IConditionRunner, ILocalizableOwner { | ||
name: string; | ||
@@ -1005,7 +1045,10 @@ parent: PanelModelBase; | ||
rowsChangedCallback: () => void; | ||
title: string; | ||
visibleIndex: number; | ||
constructor(name?: string); | ||
data: ISurvey; | ||
title: string; | ||
readonly locTitle: LocalizableString; | ||
getLocale(): string; | ||
readonly id: string; | ||
readonly isPanel: boolean; | ||
readonly questions: Array<QuestionBase>; | ||
@@ -1032,5 +1075,6 @@ readonly elements: Array<IElement>; | ||
protected createNewPanel(name: string): PanelModel; | ||
removeElement(element: IElement): void; | ||
removeElement(element: IElement): boolean; | ||
removeQuestion(question: QuestionBase): void; | ||
runCondition(values: HashTable<any>): void; | ||
onLocaleChanged(): void; | ||
} | ||
@@ -1082,2 +1126,4 @@ export declare class PanelModel extends PanelModelBase implements IElement { | ||
title: string; | ||
readonly locTitle: LocalizableString; | ||
readonly locCommentText: LocalizableString; | ||
readonly processedTitle: string; | ||
@@ -1121,3 +1167,3 @@ readonly fullTitle: string; | ||
export declare class QuestionBase extends Base implements IQuestion, IConditionRunner { | ||
export declare class QuestionBase extends Base implements IQuestion, IConditionRunner, ILocalizableOwner { | ||
name: string; | ||
@@ -1161,2 +1207,4 @@ protected data: ISurveyData; | ||
clearUnusedValues(): void; | ||
onLocaleChanged(): void; | ||
getLocale(): string; | ||
} | ||
@@ -1166,8 +1214,7 @@ | ||
protected cachedValue: any; | ||
otherItem: ItemValue; | ||
choicesByUrl: ChoicesRestfull; | ||
otherErrorText: string; | ||
storeOthersAsComment: boolean; | ||
choicesChangedCallback: () => void; | ||
constructor(name: string); | ||
readonly otherItem: ItemValue; | ||
readonly isOtherSelected: boolean; | ||
@@ -1188,2 +1235,5 @@ protected getHasOther(val: any): boolean; | ||
otherText: string; | ||
otherErrorText: string; | ||
readonly locOtherText: LocalizableString; | ||
readonly locOtherErrorText: LocalizableString; | ||
readonly visibleChoices: Array<ItemValue>; | ||
@@ -1193,2 +1243,3 @@ supportComment(): boolean; | ||
protected onCheckForErrors(errors: Array<SurveyError>): void; | ||
onLocaleChanged(): void; | ||
protected getStoreOthersAsComment(): boolean; | ||
@@ -1218,4 +1269,5 @@ onSurveyLoad(): void; | ||
cols: number; | ||
constructor(name: string); | ||
placeHolder: string; | ||
constructor(name: string); | ||
readonly locPlaceHolder: LocalizableString; | ||
getType(): string; | ||
@@ -1229,2 +1281,3 @@ isEmpty(): boolean; | ||
optionsCaption: string; | ||
readonly locOptionsCaption: LocalizableString; | ||
getType(): string; | ||
@@ -1236,3 +1289,5 @@ supportGoNextPageAutomatic(): boolean; | ||
static Instance: QuestionFactory; | ||
static DefaultChoices: string[]; | ||
static readonly DefaultChoices: string[]; | ||
static readonly DefaultColums: string[]; | ||
static readonly DefaultRows: string[]; | ||
registerQuestion(questionType: string, questionCreator: (name: string) => QuestionBase): void; | ||
@@ -1272,2 +1327,3 @@ clear(): void; | ||
html: string; | ||
readonly locHtml: LocalizableString; | ||
readonly processedHtml: string; | ||
@@ -1286,4 +1342,2 @@ } | ||
static defaultRateValues: ItemValue[]; | ||
minRateDescription: string; | ||
maxRateDescription: string; | ||
rateValuesChangedCallback: () => void; | ||
@@ -1294,5 +1348,9 @@ constructor(name: string); | ||
getType(): string; | ||
supportGoNextPageAutomatic(): boolean; | ||
supportComment(): boolean; | ||
supportOther(): boolean; | ||
supportGoNextPageAutomatic(): boolean; | ||
minRateDescription: string; | ||
readonly locMinRateDescription: LocalizableString; | ||
maxRateDescription: string; | ||
readonly locMaxRateDescription: LocalizableString; | ||
} | ||
@@ -1304,3 +1362,2 @@ | ||
inputType: string; | ||
placeHolder: string; | ||
constructor(name: string); | ||
@@ -1310,2 +1367,4 @@ getType(): string; | ||
supportGoNextPageAutomatic(): boolean; | ||
placeHolder: string; | ||
readonly locPlaceHolder: LocalizableString; | ||
protected setNewValue(newValue: any): void; | ||
@@ -1315,3 +1374,3 @@ protected correctValueType(newValue: any): any; | ||
export declare class SurveyModel extends Base implements ISurvey, ISurveyTriggerOwner { | ||
export declare class SurveyModel extends Base implements ISurvey, ISurveyTriggerOwner, ILocalizableOwner { | ||
surveyId: string; | ||
@@ -1323,3 +1382,2 @@ surveyPostId: string; | ||
commentPrefix: string; | ||
title: string; | ||
focusFirstQuestionAutomatic: boolean; | ||
@@ -1330,6 +1388,4 @@ showNavigationButtons: boolean; | ||
showCompletedPage: boolean; | ||
completedHtml: string; | ||
requiredText: string; | ||
questionStartIndex: string; | ||
questionTitleTemplate: string; | ||
showProgressBar: string; | ||
@@ -1365,7 +1421,17 @@ storeOthersAsComment: boolean; | ||
locale: string; | ||
getLocale(): string; | ||
getLocString(str: string): any; | ||
readonly emptySurveyText: string; | ||
title: string; | ||
readonly locTitle: LocalizableString; | ||
completedHtml: string; | ||
readonly locCompletedHtml: LocalizableString; | ||
pagePrevText: string; | ||
readonly locPagePrevText: LocalizableString; | ||
pageNextText: string; | ||
readonly locPageNextText: LocalizableString; | ||
completeText: string; | ||
readonly locCompleteText: LocalizableString; | ||
questionTitleTemplate: string; | ||
readonly locQuestionTitleTemplate: LocalizableString; | ||
showPageNumbers: boolean; | ||
@@ -1588,2 +1654,7 @@ showQuestionNumbers: string; | ||
removeRow: string; | ||
choices_firstItem: string; | ||
choices_secondItem: string; | ||
choices_thirdItem: string; | ||
matrix_column: string; | ||
matrix_row: string; | ||
}; | ||
@@ -1590,0 +1661,0 @@ |
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
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
1806012
12683
+ Added@types/react@15.0.21(transitive)
- Removed@types/react@0.0.0(transitive)
Updated@types/react@15.0.21