Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

survey-knockout-ui

Package Overview
Dependencies
Maintainers
1
Versions
207
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

survey-knockout-ui - npm Package Compare versions

Comparing version 1.9.60 to 1.9.61

2

package.json
{
"name": "survey-knockout-ui",
"version": "1.9.60",
"version": "1.9.61",
"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": [

@@ -1,464 +0,695 @@

/*
* Type definition for Survey JavaScript library for Knockout (without core) v1.9.60
* Copyright (c) 2015-2022 Devsoft Baltic OÜ - https://surveyjs.io/
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
*/
import { ButtonGroupItemModel, Base, PanelModel, PopupBaseViewModel, SurveyModel } from "survey-core";
import { SurveyProgressButtonsModel, Question, TooltipManager, PanelModelBase, PopupSurveyModel } from "survey-core";
import { QuestionMatrixDropdownRenderedTable, QuestionMatrixDropdownModelBase, QuestionMatrixDropdownRenderedRow, MultipleTextItemModel, QuestionTextModel } from "survey-core";
import { QuestionMatrixDropdownModel, MatrixDropdownRowModelBase, QuestionRowModel, MatrixDynamicRowModel, PageModel } from "survey-core";
import { QuestionBooleanModel, QuestionEmptyModel, QuestionExpressionModel, QuestionFileModel, QuestionMultipleTextModel } from "survey-core";
import { QuestionPanelDynamicModel, QuestionRatingModel, QuestionSignaturePadModel, FlowPanelModel, QuestionCommentModel } from "survey-core";
import { QuestionCompositeModel, ComponentQuestionJSON, QuestionCustomModel, QuestionDropdownModel, QuestionHtmlModel } from "survey-core";
import { QuestionImageModel, QuestionMatrixModel, MatrixRowModel, QuestionButtonGroupModel, QuestionCheckboxModel } from "survey-core";
import { QuestionImagePickerModel, QuestionMatrixDynamicModel, QuestionRadiogroupModel, QuestionRankingModel, ItemValue } from "survey-core";
import { QuestionTagboxModel, IArrayPropertyDecoratorOptions, IDialogOptions } from "survey-core";
export { Survey as Model };
export { SurveyModel } from "survey-core";
export { SurveyWindowModel } from "survey-core";
export { settings } from "survey-core";
export { surveyLocalization } from "survey-core";
export { surveyStrings } from "survey-core";
export enum DragTypeOverMeEnum {
InsideEmptyPanel = 1,
MultilineRight,
MultilineLeft
declare module "knockout/templateText" {
export var koTemplate: any;
export class SurveyTemplateText {
constructor();
addText(newText: string, id: string, name: string): void;
replaceText(replaceText: string, id: string, questionType?: string): void;
protected getId(id: string, questionType: string): string;
protected get text(): string;
protected set text(value: string);
}
}
export declare class ButtonGroupItemViewModel {
constructor(model: ButtonGroupItemModel);
model: ButtonGroupItemModel;
declare module "knockout/kobase" {
import { Base } from "survey-core";
export class ImplementorBase {
element: Base;
private static doIterateProperties;
readonly implementedMark = "__surveyImplementedKo";
constructor(element: Base);
dispose(): void;
}
}
export declare class ImplementorBase {
constructor(element: Base);
element: Base;
implementedMark: any;
dispose(): void;
declare module "knockout/kosurvey" {
import { Base, SurveyModel } from "survey-core";
import { ImplementorBase } from "knockout/kobase";
export class SurveyImplementor extends ImplementorBase {
survey: SurveyModel;
private renderedElement;
constructor(survey: SurveyModel);
render(element?: any): void;
private applyBinding;
koEventAfterRender(element: any, survey: any): void;
dispose(): void;
}
export class Survey extends SurveyModel {
implementor: SurveyImplementor;
constructor(jsonObj?: any, renderedElement?: any);
render(element?: any): void;
getHtmlTemplate(): string;
makeReactive(obj: Base): void;
}
export var registerTemplateEngine: (ko: any, platform: string) => void;
}
export declare class PanelViewModel {
constructor(question: PanelModel, targetElement: any);
question: PanelModel;
targetElement: any;
declare module "knockout/koPopupSurvey" {
import { SurveyModel, PopupSurveyModel } from "survey-core";
import { ImplementorBase } from "knockout/kobase";
export class PopupSurveyImplementor extends ImplementorBase {
window: PopupSurveyModel;
constructor(window: PopupSurveyModel);
private doShowingChanged;
private get template();
}
export class PopupSurvey extends PopupSurveyModel {
constructor(jsonObj: any, initialModel?: SurveyModel);
}
export class SurveyWindow extends PopupSurvey {
}
}
export declare class PopupViewModel {
constructor(popupViewModel: PopupBaseViewModel);
popupViewModel: PopupBaseViewModel;
dispose(): void;
declare module "knockout/kopage" {
import { PageModel } from "survey-core";
import { PanelModelBase, PanelModel, QuestionRowModel } from "survey-core";
import { ImplementorBase } from "knockout/kobase";
export class QuestionRow extends QuestionRowModel {
panel: PanelModelBase;
koElementAfterRender: any;
constructor(panel: PanelModelBase);
getElementType(el: any): "survey-panel" | "survey-question";
koAfterRender(el: any, con: any): void;
private elementAfterRender;
rowAfterRender(elements: HTMLElement[], model: QuestionRow): void;
dispose(): void;
}
export class PanelImplementorBase extends ImplementorBase {
panel: PanelModelBase;
constructor(panel: PanelModelBase);
}
export class Panel extends PanelModel {
private _implementor;
koElementType: any;
koCss: any;
koErrorClass: any;
constructor(name?: string);
protected onBaseCreating(): void;
protected createRow(): QuestionRowModel;
protected onCreating(): void;
protected onNumChanged(value: number): void;
dispose(): void;
}
export class Page extends PageModel {
private _implementor;
constructor(name?: string);
protected onBaseCreating(): void;
protected createRow(): QuestionRowModel;
protected onCreating(): void;
protected onNumChanged(value: number): void;
dispose(): void;
}
}
export declare class ProgressButtonsViewModel {
constructor(survey: SurveyModel, element: any);
progressButtonsModel: SurveyProgressButtonsModel;
scrollButtonCssKo: any;
hasScroller: any;
updateScroller: any;
isListElementClickable(index: any): boolean;
getListElementCss(index: any): string;
clickListElement(index: any): void;
getScrollButtonCss(isLeftScroll: boolean): any;
clickScrollButton(listContainerElement: any, isLeftScroll: boolean): void;
dispose(): void;
declare module "knockout/koflowpanel" {
import { FlowPanelModel } from "survey-core";
import { Question } from "survey-core";
export class FlowPanel extends FlowPanelModel {
koElementType: any;
koElementAfterRender: any;
placeHolder: string;
constructor(name?: string);
protected onCreating(): void;
protected getHtmlForQuestion(question: Question): string;
private elementAfterRender;
}
}
export declare class ProgressViewModel {
constructor(model: any);
model: any;
getProgressTextInBarCss(css: any): string;
getProgressTextUnderBarCss(css: any): string;
declare module "knockout/koquestion" {
import { Question } from "survey-core";
import { ImplementorBase } from "knockout/kobase";
export class QuestionImplementor extends ImplementorBase {
question: Question;
private disposedObjects;
private callBackFunctions;
private koDummy;
koElementType: any;
private _koValue;
constructor(question: Question);
protected setObservaleObj(name: string, obj: any, addToQuestion?: boolean): any;
protected setCallbackFunc(name: string, func: any): void;
protected getKoValue(): any;
protected setKoValue(val: any): void;
protected onSurveyLoad(): void;
protected getQuestionTemplate(): string;
private getTemplateName;
protected getNo(): string;
protected updateKoDummy(): void;
protected koQuestionAfterRender(elements: any, con: any): void;
dispose(): void;
}
}
export declare class StringEditorViewModel {
constructor(locString: any);
locString: any;
get koHasHtml(): any;
get editValue(): any;
set editValue(val: any);
onInput(sender: StringEditorViewModel, event: any): void;
onClick(sender: StringEditorViewModel, event: any): void;
dispose(): void;
declare module "knockout/koquestion_baseselect" {
import { QuestionImplementor } from "knockout/koquestion";
import { Question } from "survey-core";
export class QuestionSelectBaseImplementor extends QuestionImplementor {
protected onCreated(): void;
constructor(question: Question);
protected get isOtherSelected(): boolean;
}
export class QuestionCheckboxBaseImplementor extends QuestionSelectBaseImplementor {
constructor(question: Question);
private koAfterRender;
}
}
export declare class SurveyTemplateText {
constructor();
addText(newText: string, id: string, name: string): void;
replaceText(replaceText: string, id: string, questionType?: string): void;
protected getId(id: string, questionType: string): string;
protected get text(): string;
protected set text(val: string);
declare module "knockout/koquestion_checkbox" {
import { QuestionCheckboxBaseImplementor } from "knockout/koquestion_baseselect";
import { QuestionCheckboxModel } from "survey-core";
import { Question } from "survey-core";
export class QuestionCheckboxImplementor extends QuestionCheckboxBaseImplementor {
constructor(question: Question);
protected getKoValue(): any;
protected setKoValue(val: any): void;
}
export class QuestionCheckbox extends QuestionCheckboxModel {
koAllSelected: any;
private isAllSelectedUpdating;
private _implementor;
constructor(name: string);
protected onBaseCreating(): void;
onSurveyValueChanged(newValue: any): void;
protected onVisibleChoicesChanged(): void;
protected updateAllSelected(): void;
dispose(): void;
}
}
export declare class TooltipErrorViewModel {
constructor(question: Question);
question: Question;
tooltipManager: TooltipManager;
afterRender: (elements: any) => void;
declare module "knockout/koquestion_tagbox" {
import { QuestionTagboxModel } from "survey-core";
export class QuestionTagbox extends QuestionTagboxModel {
koAllSelected: any;
private isAllSelectedUpdating;
private _implementor;
constructor(name: string);
protected onBaseCreating(): void;
onSurveyValueChanged(newValue: any): void;
protected onVisibleChoicesChanged(): void;
protected updateAllSelected(): void;
dispose(): void;
}
}
export declare class ActionContainerImplementor extends ImplementorBase {
constructor(model: any, handleClick?: boolean);
handleClick: boolean;
itemsSubscription: any;
dispose(): void;
declare module "knockout/koquestion_ranking" {
import { QuestionRankingModel, ItemValue } from "survey-core";
export class QuestionRanking extends QuestionRankingModel {
private _implementor;
protected onBaseCreating(): void;
dispose(): void;
koHandleKeydown: (data: ItemValue, event: KeyboardEvent) => boolean;
koHandlePointerDown: (data: ItemValue, event: PointerEvent) => boolean;
}
}
export declare class PanelImplementorBase extends ImplementorBase {
constructor(panel: PanelModelBase);
panel: PanelModelBase;
declare module "knockout/koquestion_comment" {
import { QuestionCommentModel } from "survey-core";
export class QuestionComment extends QuestionCommentModel {
private _implementor;
constructor(name: string);
protected onBaseCreating(): void;
dispose(): void;
}
}
export declare class PopupSurveyImplementor extends ImplementorBase {
constructor(window: PopupSurveyModel);
window: PopupSurveyModel;
declare module "knockout/koquestion_dropdown" {
import { QuestionDropdownModel } from "survey-core";
export class QuestionDropdown extends QuestionDropdownModel {
private _implementor;
koDisableOption: any;
constructor(name: string);
protected onBaseCreating(): void;
dispose(): void;
}
}
export declare class QuestionImplementor extends ImplementorBase {
constructor(question: Question);
question: Question;
disposedObjects: any;
callBackFunctions: any;
koDummy: any;
koElementType: any;
_koValue: any;
protected setObservaleObj(name: string, obj: any, addToQuestion?: boolean): any;
protected setCallbackFunc(name: string, func: any): void;
protected getKoValue(): any;
protected setKoValue(val: any): void;
protected onSurveyLoad(): void;
protected getQuestionTemplate(): string;
protected getNo(): string;
protected updateKoDummy(): void;
protected koQuestionAfterRender(elements: any, con: any): void;
dispose(): void;
declare module "knockout/koquestion_file" {
import { QuestionFileModel } from "survey-core";
export class QuestionFile extends QuestionFileModel {
private _implementor;
private updateState;
constructor(name: string);
protected onBaseCreating(): void;
dispose(): void;
}
}
export declare class SurveyImplementor extends ImplementorBase {
constructor(survey: SurveyModel);
survey: SurveyModel;
renderedElement: any;
render(element?: any): void;
koEventAfterRender(element: any, survey: any): void;
dispose(): void;
declare module "knockout/koquestion_html" {
import { QuestionHtmlModel } from "survey-core";
export class QuestionHtml extends QuestionHtmlModel {
private _implementor;
constructor(name: string);
protected onBaseCreating(): void;
dispose(): void;
}
}
export declare class KoQuestionMatrixDropdownRenderedTable extends QuestionMatrixDropdownRenderedTable {
constructor(matrix: QuestionMatrixDropdownModelBase);
protected createRenderedRow(cssClasses: any, isDetailRow?: boolean): QuestionMatrixDropdownRenderedRow;
declare module "knockout/koquestion_matrix" {
import { QuestionMatrixModel, MatrixRowModel } from "survey-core";
export class QuestionMatrix extends QuestionMatrixModel {
private _implementor;
koVisibleRows: any;
koVisibleColumns: any;
constructor(name: string);
protected onBaseCreating(): void;
protected onColumnsChanged(): void;
protected onRowsChanged(): void;
onSurveyLoad(): void;
protected onMatrixRowCreated(row: MatrixRowModel): void;
protected getVisibleRows(): Array<MatrixRowModel>;
dispose(): void;
}
}
export declare class MultipleTextItem extends MultipleTextItemModel {
constructor(name?: any, title?: string);
protected createEditor(name: string): QuestionTextModel;
declare module "knockout/koquestion_matrixdropdown" {
import { QuestionMatrixDropdownRenderedRow } from "survey-core";
import { QuestionMatrixDropdownModel } from "survey-core";
import { MatrixDropdownRowModelBase, QuestionMatrixDropdownRenderedTable } from "survey-core";
import { Question } from "survey-core";
import { QuestionImplementor } from "knockout/koquestion";
export class QuestionMatrixBaseImplementor extends QuestionImplementor {
private _tableImplementor;
koRecalc: any;
constructor(question: Question);
get matrix(): QuestionMatrixDropdownModel;
protected getQuestionTemplate(): string;
private cellAfterRender;
private cellQuestionAfterRender;
protected isAddRowTop(): boolean;
protected isAddRowBottom(): boolean;
protected addRow(): void;
protected removeRow(row: MatrixDropdownRowModelBase): void;
private panelAfterRender;
dispose(): void;
}
export class QuestionMatrixDropdown extends QuestionMatrixDropdownModel {
private _implementor;
constructor(name: string);
protected createRenderedTable(): QuestionMatrixDropdownRenderedTable;
protected onBaseCreating(): void;
dispose(): void;
}
export class KoQuestionMatrixDropdownRenderedTable extends QuestionMatrixDropdownRenderedTable {
protected createRenderedRow(cssClasses: any, isDetailRow?: boolean): QuestionMatrixDropdownRenderedRow;
}
}
export declare class PopupSurvey extends PopupSurveyModel {
constructor(jsonObj: any, initialModel?: SurveyModel);
declare module "knockout/koquestion_matrixdynamic" {
import { QuestionMatrixDropdownRenderedTable } from "survey-core";
import { QuestionMatrixBaseImplementor } from "knockout/koquestion_matrixdropdown";
import { QuestionMatrixDynamicModel } from "survey-core";
import { Question } from "survey-core";
import { MatrixDropdownRowModelBase } from "survey-core";
import { MatrixDynamicRowModel } from "survey-core";
export class QuestionMatrixDynamicImplementor extends QuestionMatrixBaseImplementor {
constructor(question: Question);
protected addRow(): void;
protected removeRow(row: MatrixDynamicRowModel): void;
getKoPopupIsVisible(row: MatrixDropdownRowModelBase): any;
dispose(): void;
}
export class QuestionMatrixDynamic extends QuestionMatrixDynamicModel {
private _implementor;
constructor(name: string);
protected createRenderedTable(): QuestionMatrixDropdownRenderedTable;
protected onBaseCreating(): void;
dispose(): void;
}
}
export declare class QuestionFileImplementor extends QuestionImplementor {
constructor(question: QuestionFile);
declare module "knockout/koquestion_paneldynamic" {
import { QuestionPanelDynamicModel } from "survey-core";
import { QuestionImplementor } from "knockout/koquestion";
export class QuestionPanelDynamicImplementor extends QuestionImplementor {
koRecalc: any;
constructor(question: QuestionPanelDynamic);
protected onPanelCountChanged(): void;
protected onRenderModeChanged(): void;
protected onCurrentIndexChanged(): void;
protected addPanel(): void;
protected removePanel(val: any): void;
private panelAfterRender;
dispose(): void;
}
export class QuestionPanelDynamic extends QuestionPanelDynamicModel {
private _implementor;
constructor(name: string);
protected onBaseCreating(): void;
dispose(): void;
}
}
export declare class QuestionMatrixBaseImplementor extends QuestionImplementor {
constructor(question: Question);
_tableImplementor: ImplementorBase;
koRecalc: any;
get matrix(): QuestionMatrixDropdownModel;
protected getQuestionTemplate(): string;
protected isAddRowTop(): boolean;
protected isAddRowBottom(): boolean;
protected addRow(): void;
protected removeRow(row: MatrixDropdownRowModelBase): void;
dispose(): void;
declare module "knockout/koquestion_text" {
import { QuestionTextModel } from "survey-core";
import { QuestionImplementor } from "knockout/koquestion";
export class QuestionTextImplementor extends QuestionImplementor {
constructor(question: QuestionTextModel);
}
export class QuestionText extends QuestionTextModel {
private _implementor;
constructor(name: string);
protected onBaseCreating(): void;
dispose(): void;
}
}
export declare class QuestionMultipleTextImplementor extends QuestionImplementor {
constructor(question: QuestionMultipleText);
koRecalc: any;
declare module "knockout/koquestion_multipletext" {
import { QuestionMultipleTextModel, MultipleTextItemModel } from "survey-core";
import { QuestionTextModel } from "survey-core";
import { QuestionImplementor } from "knockout/koquestion";
export class MultipleTextItem extends MultipleTextItemModel {
constructor(name?: any, title?: string);
protected createEditor(name: string): QuestionTextModel;
}
export class QuestionMultipleTextImplementor extends QuestionImplementor {
koRecalc: any;
constructor(question: QuestionMultipleText);
}
export class QuestionMultipleText extends QuestionMultipleTextModel {
private _implementor;
koRows: any;
constructor(name: string);
protected onBaseCreating(): void;
protected onColCountChanged(): void;
protected createTextItem(name: string, title: string): MultipleTextItemModel;
dispose(): void;
}
}
export declare class QuestionPanelDynamicImplementor extends QuestionImplementor {
constructor(question: QuestionPanelDynamic);
koRecalc: any;
protected onPanelCountChanged(): void;
protected onRenderModeChanged(): void;
protected onCurrentIndexChanged(): void;
protected addPanel(): void;
protected removePanel(val: any): void;
dispose(): void;
declare module "knockout/koquestion_radiogroup" {
import { QuestionRadiogroupModel } from "survey-core";
export class QuestionRadiogroup extends QuestionRadiogroupModel {
private _implementor;
constructor(name: string);
protected onBaseCreating(): void;
dispose(): void;
}
}
export declare class QuestionRatingImplementor extends QuestionImplementor {
constructor(question: Question);
protected onCreated(): void;
declare module "knockout/koquestion_rating" {
import { QuestionImplementor } from "knockout/koquestion";
import { QuestionRatingModel, Question } from "survey-core";
export class QuestionRatingImplementor extends QuestionImplementor {
protected onCreated(): void;
constructor(question: Question);
}
export class QuestionRating extends QuestionRatingModel {
private _implementor;
constructor(name: string);
protected onBaseCreating(): void;
dispose(): void;
}
}
export declare class QuestionRow extends QuestionRowModel {
constructor(panel: PanelModelBase);
panel: PanelModelBase;
koElementAfterRender: any;
getElementType(el: any): "survey-panel" | "survey-question";
koAfterRender(el: any, con: any): void;
rowAfterRender(elements: any, model: QuestionRow): void;
dispose(): void;
declare module "knockout/koquestion_boolean" {
import { QuestionBooleanModel } from "survey-core";
export class QuestionBoolean extends QuestionBooleanModel {
private _implementor;
constructor(name: string);
protected onBaseCreating(): void;
onSwitchClick(data: any, event: any): boolean;
onTrueLabelClick(data: any, event: any): boolean;
onFalseLabelClick(data: any, event: any): boolean;
onKeyDown(data: any, event: any): boolean;
dispose(): void;
}
}
export declare class QuestionSelectBaseImplementor extends QuestionImplementor {
constructor(question: Question);
protected onCreated(): void;
protected get isOtherSelected(): boolean;
declare module "knockout/koquestion_empty" {
import { QuestionEmptyModel } from "survey-core";
export class QuestionEmpty extends QuestionEmptyModel {
private _implementor;
constructor(name: string);
protected onBaseCreating(): void;
dispose(): void;
}
}
export declare class QuestionCheckboxBaseImplementor extends QuestionSelectBaseImplementor {
constructor(question: Question);
declare module "knockout/koquestion_expression" {
import { QuestionExpressionModel } from "survey-core";
export class QuestionExpression extends QuestionExpressionModel {
private _implementor;
constructor(name: string);
protected onBaseCreating(): void;
dispose(): void;
}
}
export declare class QuestionDropdownImplementor extends QuestionSelectBaseImplementor {
constructor(question: Question);
declare module "knockout/koquestion_imagepicker" {
import { QuestionImagePickerModel } from "survey-core";
export class QuestionImagePicker extends QuestionImagePickerModel {
private _implementor;
constructor(name: string);
protected onBaseCreating(): void;
dispose(): void;
}
}
export declare class QuestionMatrixDynamicImplementor extends QuestionMatrixBaseImplementor {
constructor(question: Question);
protected addRow(): void;
protected removeRow(row: MatrixDynamicRowModel): void;
getKoPopupIsVisible(row: MatrixDropdownRowModelBase): any;
dispose(): void;
declare module "knockout/koquestion_image" {
import { QuestionImageModel } from "survey-core";
export class QuestionImage extends QuestionImageModel {
private _implementor;
constructor(name: string);
protected onBaseCreating(): void;
dispose(): void;
}
}
export declare class Survey extends SurveyModel {
constructor(jsonObj?: any, renderedElement?: any);
implementor: SurveyImplementor;
render(element?: any): void;
getHtmlTemplate(): string;
makeReactive(obj: Base): void;
declare module "knockout/koquestion_signaturepad" {
import { QuestionSignaturePadModel } from "survey-core";
export class QuestionSignaturePad extends QuestionSignaturePadModel {
private _implementor;
constructor(name: string);
protected onBaseCreating(): void;
dispose(): void;
}
}
export declare class SurveyWindow extends PopupSurvey {
constructor(jsonObj: any, initialModel?: SurveyModel);
declare module "knockout/koquestion_custom" {
import { QuestionCustomModel, QuestionCompositeModel, ComponentQuestionJSON } from "survey-core";
export class QuestionCustom extends QuestionCustomModel {
private _implementor;
constructor(name: string, questionJSON: ComponentQuestionJSON);
protected onBaseCreating(): void;
dispose(): void;
}
export class QuestionComposite extends QuestionCompositeModel {
private _implementor;
constructor(name: string, questionJSON: ComponentQuestionJSON);
protected onBaseCreating(): void;
dispose(): void;
}
}
export declare class QuestionCheckboxImplementor extends QuestionCheckboxBaseImplementor {
constructor(question: Question);
protected getKoValue(): any;
protected setKoValue(val: any): void;
declare module "knockout/koquestion_buttongroup" {
import { QuestionButtonGroupModel } from "survey-core";
export class QuestionButtonGroup extends QuestionButtonGroupModel {
private _implementor;
constructor(name: string);
protected onBaseCreating(): void;
dispose(): void;
}
}
export declare class QuestionImagePickerImplementor extends QuestionCheckboxBaseImplementor {
constructor(question: Question);
protected getKoValue(): any;
declare module "knockout/components/action-bar/action" { }
declare module "knockout/components/action-bar/action-bar-item" {
export let ActionBarItemViewModel: any;
}
export declare class Page extends PageModel {
constructor(name?: string);
_implementor: ImplementorBase;
protected onBaseCreating(): void;
protected createRow(): QuestionRowModel;
protected onCreating(): void;
protected onNumChanged(value: number): void;
dispose(): void;
declare module "knockout/components/action-bar/action-bar-item-dropdown" {
export let ActionBarItemDropdownViewModel: any;
}
export declare class Panel extends PanelModel {
constructor(name?: string);
_implementor: ImplementorBase;
koElementType: any;
koCss: any;
koErrorClass: any;
protected onBaseCreating(): void;
protected createRow(): QuestionRowModel;
protected onCreating(): void;
protected onNumChanged(value: number): void;
dispose(): void;
declare module "knockout/components/action-bar/action-bar-separator" {
export var ActionBarSeparatorViewModel: any;
}
export declare class QuestionBoolean extends QuestionBooleanModel {
constructor(name: string);
_implementor: QuestionImplementor;
protected onBaseCreating(): void;
onSwitchClick(data: any, event: any): boolean;
onTrueLabelClick(data: any, event: any): boolean;
onFalseLabelClick(data: any, event: any): boolean;
onKeyDown(data: any, event: any): boolean;
dispose(): void;
declare module "knockout/components/action-bar/action-bar" {
import { ActionContainer } from "survey-core";
import { ImplementorBase } from "knockout/kobase";
export * from "knockout/components/action-bar/action";
export * from "knockout/components/action-bar/action-bar-item";
export * from "knockout/components/action-bar/action-bar-item-dropdown";
export * from "knockout/components/action-bar/action-bar-separator";
export class ActionContainerImplementor extends ImplementorBase {
private model;
handleClick: boolean;
private itemsSubscription;
constructor(model: ActionContainer, handleClick?: boolean);
dispose(): void;
}
}
export declare class QuestionEmpty extends QuestionEmptyModel {
constructor(name: string);
_implementor: QuestionImplementor;
protected onBaseCreating(): void;
dispose(): void;
declare module "knockout/components/boolean-checkbox/boolean-checkbox" {
export var CheckboxViewModel: any;
}
export declare class QuestionExpression extends QuestionExpressionModel {
constructor(name: string);
_implementor: QuestionImplementor;
protected onBaseCreating(): void;
dispose(): void;
declare module "knockout/components/boolean-radio/boolean-radio-item" {
export var BooleanRadioItemViewModel: any;
}
export declare class QuestionFile extends QuestionFileModel {
constructor(name: string);
_implementor: QuestionFileImplementor;
updateState: (sender: QuestionFileModel, options: any) => void;
protected onBaseCreating(): void;
dispose(): void;
declare module "knockout/components/boolean-radio/boolean-radio" {
export * from "knockout/components/boolean-radio/boolean-radio-item";
export var BooleanRadioViewModel: any;
}
export declare class QuestionMultipleText extends QuestionMultipleTextModel {
constructor(name: string);
_implementor: QuestionMultipleTextImplementor;
koRows: any;
protected onBaseCreating(): void;
protected onColCountChanged(): void;
protected createTextItem(name: string, title: string): MultipleTextItemModel;
dispose(): void;
declare module "knockout/components/panel/panel" {
import { PanelModel } from "survey-core";
export class PanelViewModel {
question: PanelModel;
targetElement: HTMLElement;
constructor(question: PanelModel, targetElement: HTMLElement);
}
}
export declare class QuestionPanelDynamic extends QuestionPanelDynamicModel {
constructor(name: string);
_implementor: QuestionPanelDynamicImplementor;
protected onBaseCreating(): void;
dispose(): void;
declare module "knockout/components/popup/popup" {
import { PopupBaseViewModel, IDialogOptions } from "survey-core";
export class PopupViewModel {
popupViewModel: PopupBaseViewModel;
constructor(popupViewModel: PopupBaseViewModel);
dispose(): void;
}
export function showModal(componentName: string, data: any, onApply: () => boolean, onCancel?: () => void, cssClass?: string, title?: string, displayMode?: "popup" | "overlay"): PopupBaseViewModel;
export function showDialog(dialogOptions: IDialogOptions): PopupBaseViewModel;
}
export declare class QuestionRating extends QuestionRatingModel {
constructor(name: string);
_implementor: QuestionRatingImplementor;
protected onBaseCreating(): void;
dispose(): void;
declare module "knockout/components/progress/buttons" {
import { SurveyModel } from "survey-core";
export class ProgressButtonsViewModel {
private survey;
private progressButtonsModel;
private scrollButtonCssKo;
private hasScroller;
private updateScroller;
constructor(survey: SurveyModel, element: any);
isListElementClickable(index: any): boolean;
getListElementCss(index: any): string;
clickListElement(index: any): void;
getScrollButtonCss(isLeftScroll: boolean): any;
clickScrollButton(listContainerElement: Element, isLeftScroll: boolean): void;
dispose(): void;
}
}
export declare class QuestionSignaturePad extends QuestionSignaturePadModel {
constructor(name: string);
_implementor: QuestionImplementor;
protected onBaseCreating(): void;
dispose(): void;
declare module "knockout/components/progress/progress" {
export class ProgressViewModel {
model: any;
constructor(model: any);
getProgressTextInBarCss(css: any): string;
getProgressTextUnderBarCss(css: any): string;
}
}
export declare class FlowPanel extends FlowPanelModel {
constructor(name?: string);
koElementType: any;
koElementAfterRender: any;
placeHolder: string;
protected onCreating(): void;
protected getHtmlForQuestion(question: Question): string;
declare module "knockout/components/template-renderer/template-renderer" { }
declare module "knockout/components/title/title-element" {
export var TitleElementViewModel: any;
}
export declare class QuestionComment extends QuestionCommentModel {
constructor(name: string);
_implementor: QuestionImplementor;
protected onBaseCreating(): void;
dispose(): void;
declare module "knockout/components/title/title-content" {
export var TitleContentViewModel: any;
}
export declare class QuestionComposite extends QuestionCompositeModel {
constructor(name: string, questionJSON: ComponentQuestionJSON);
_implementor: QuestionImplementor;
protected onBaseCreating(): void;
dispose(): void;
declare module "knockout/components/title/title-actions" {
export var TitleActionViewModel: any;
}
export declare class QuestionCustom extends QuestionCustomModel {
constructor(name: string, questionJSON: ComponentQuestionJSON);
_implementor: QuestionImplementor;
protected onBaseCreating(): void;
dispose(): void;
declare module "knockout/components/string-editor/string-editor" {
export class StringEditorViewModel {
locString: any;
constructor(locString: any);
get koHasHtml(): any;
get editValue(): any;
set editValue(value: any);
onInput(sender: StringEditorViewModel, event: any): void;
onClick(sender: StringEditorViewModel, event: any): void;
dispose(): void;
}
}
export declare class QuestionDropdown extends QuestionDropdownModel {
constructor(name: string);
_implementor: QuestionDropdownImplementor;
koDisableOption: any;
protected onBaseCreating(): void;
dispose(): void;
declare module "knockout/components/string-viewer/string-viewer" {
export var StringViewerViewModel: any;
}
export declare class QuestionHtml extends QuestionHtmlModel {
constructor(name: string);
_implementor: QuestionImplementor;
protected onBaseCreating(): void;
dispose(): void;
declare module "knockout/components/logo-image/logo-image" {
export let LogoImageViewModel: any;
}
export declare class QuestionImage extends QuestionImageModel {
constructor(name: string);
_implementor: QuestionImplementor;
protected onBaseCreating(): void;
dispose(): void;
declare module "knockout/components/skeleton/skeleton" {
export var Skeleton: any;
}
export declare class QuestionMatrix extends QuestionMatrixModel {
constructor(name: string);
_implementor: QuestionImplementor;
koVisibleRows: any;
koVisibleColumns: any;
protected onBaseCreating(): void;
protected onColumnsChanged(): void;
protected onRowsChanged(): void;
onSurveyLoad(): void;
protected onMatrixRowCreated(row: MatrixRowModel): void;
protected getVisibleRows(): Array<MatrixRowModel>;
dispose(): void;
declare module "knockout/components/rating-dropdown/rating-dropdown" {
export var RatingDropdownViewModel: any;
}
export declare class QuestionText extends QuestionTextModel {
constructor(name: string);
_implementor: QuestionImplementor;
protected onBaseCreating(): void;
dispose(): void;
declare module "knockout/components/dropdown/dropdown" {
export var DropdownViewModel: any;
}
export declare class QuestionButtonGroup extends QuestionButtonGroupModel {
constructor(name: string);
_implementor: QuestionCheckboxBaseImplementor;
protected onBaseCreating(): void;
dispose(): void;
declare module "knockout/components/dropdown-select/dropdown-select" {
export var DropdownSelectViewModel: any;
}
export declare class QuestionCheckbox extends QuestionCheckboxModel {
constructor(name: string);
koAllSelected: any;
isAllSelectedUpdating: boolean;
_implementor: QuestionCheckboxImplementor;
protected onBaseCreating(): void;
onSurveyValueChanged(newValue: any): void;
protected onVisibleChoicesChanged(): void;
protected updateAllSelected(): void;
dispose(): void;
declare module "knockout/components/tagbox/tagbox-item" {
export var TagboxViewComponent: any;
}
export declare class QuestionImagePicker extends QuestionImagePickerModel {
constructor(name: string);
_implementor: QuestionImagePickerImplementor;
protected onBaseCreating(): void;
dispose(): void;
declare module "knockout/components/tagbox/tagbox" {
export var TagboxViewModel: any;
}
export declare class QuestionMatrixDropdown extends QuestionMatrixDropdownModel {
constructor(name: string);
_implementor: QuestionImplementor;
protected createRenderedTable(): QuestionMatrixDropdownRenderedTable;
protected onBaseCreating(): void;
dispose(): void;
declare module "knockout/components/list/list-item" {
export var ListItemViewComponent: any;
}
export declare class QuestionMatrixDynamic extends QuestionMatrixDynamicModel {
constructor(name: string);
_implementor: QuestionMatrixDynamicImplementor;
protected createRenderedTable(): QuestionMatrixDropdownRenderedTable;
protected onBaseCreating(): void;
dispose(): void;
declare module "knockout/components/list/list" {
export * from "knockout/components/list/list-item";
export var ListViewComponent: any;
}
export declare class QuestionRadiogroup extends QuestionRadiogroupModel {
constructor(name: string);
_implementor: QuestionCheckboxBaseImplementor;
protected onBaseCreating(): void;
dispose(): void;
declare module "knockout/components/svg-icon/svg-icon" {
export var SvgIconViewModel: any;
}
export declare class QuestionRanking extends QuestionRankingModel {
constructor(name: string);
_implementor: QuestionImplementor;
protected onBaseCreating(): void;
dispose(): void;
koHandleKeydown: (data: ItemValue, event: any) => boolean;
koHandlePointerDown: (data: ItemValue, event: any) => boolean;
declare module "knockout/components/matrix-actions/remove-button/remove-button" {
export let SurveyQuestionMatrixDynamicRemoveButton: any;
}
export declare class QuestionTagbox extends QuestionTagboxModel {
constructor(name: string);
koAllSelected: any;
isAllSelectedUpdating: boolean;
_implementor: QuestionCheckboxBaseImplementor;
protected onBaseCreating(): void;
onSurveyValueChanged(newValue: any): void;
protected onVisibleChoicesChanged(): void;
protected updateAllSelected(): void;
dispose(): void;
declare module "knockout/components/matrix-actions/detail-button/detail-button" {
export var SurveyQuestionMatrixDetailButton: any;
}
export declare function property(options?: any): (target: any, key: string) => void;
export declare function propertyArray(options?: IArrayPropertyDecoratorOptions): (target: any, key: string) => void;
export declare function showModal(componentName: string, data: any, onApply: any, onCancel?: any, cssClass?: string, title?: string, displayMode?: "popup" | "overlay"): PopupBaseViewModel;
export declare function showDialog(dialogOptions: IDialogOptions): PopupBaseViewModel;
export declare var registerFunction: (name: string, func: any) => any;
export declare var koTemplate: any;
export declare var registerTemplateEngine: (ko: any, platform: string) => void;
export declare var template: any;
export declare var ActionBarItemViewModel: any;
export declare var ActionBarItemDropdownViewModel: any;
export declare var ActionBarSeparatorViewModel: any;
export declare var CheckboxViewModel: any;
export declare var BooleanRadioItemViewModel: any;
export declare var BooleanRadioViewModel: any;
export declare var templateBridge: any;
export declare var TitleElementViewModel: any;
export declare var TitleContentViewModel: any;
export declare var TitleActionViewModel: any;
export declare var StringViewerViewModel: any;
export declare var LogoImageViewModel: any;
export declare var Skeleton: any;
export declare var RatingDropdownViewModel: any;
export declare var DropdownViewModel: any;
export declare var DropdownSelectViewModel: any;
export declare var TagboxViewComponent: any;
export declare var TagboxViewModel: any;
export declare var ListItemViewComponent: any;
export declare var ListViewComponent: any;
export declare var SvgIconViewModel: any;
export declare var SurveyQuestionMatrixDynamicRemoveButton: any;
export declare var SurveyQuestionMatrixDetailButton: any;
export declare var SurveyQuestionMatrixDynamicDragDropIcon: any;
export declare var SurveyNavigationButton: any;
export declare var addBtnTemplate: any;
export declare var nextBtnTemplate: any;
export declare var prevBtnTemplate: any;
export declare var progressTextTemplate: any;
export declare var SurveyQuestionPaneldynamicActioons: any;
export declare var BrandInfoComponent: any;
declare module "knockout/components/matrix-actions/drag-drop-icon/drag-drop-icon" {
export var SurveyQuestionMatrixDynamicDragDropIcon: any;
}
declare module "knockout/components/button-group/button-group-item" {
import { ButtonGroupItemModel } from "survey-core";
export class ButtonGroupItemViewModel {
model: ButtonGroupItemModel;
constructor(model: ButtonGroupItemModel);
}
}
declare module "knockout/components/tooltip-error/tooltip-error" {
import { Question } from "survey-core";
export class TooltipErrorViewModel {
question: Question;
private tooltipManager;
constructor(question: Question);
afterRender: (elements: HTMLElement[]) => void;
}
}
declare module "knockout/components/survey-actions/survey-nav-button" {
export var SurveyNavigationButton: any;
}
declare module "knockout/components/paneldynamic-actions/paneldynamic-actions" {
export var SurveyQuestionPaneldynamicActioons: any;
}
declare module "knockout/components/brand-info/brand-info" {
export var BrandInfoComponent: any;
}
declare module "entries/knockout-ui-model" {
export { Survey, Survey as Model } from "knockout/kosurvey";
export { PopupSurvey, SurveyWindow } from "knockout/koPopupSurvey";
export { ImplementorBase } from "knockout/kobase";
export { QuestionRow, Page, Panel } from "knockout/kopage";
export { FlowPanel } from "knockout/koflowpanel";
export { QuestionImplementor } from "knockout/koquestion";
export { QuestionSelectBaseImplementor } from "knockout/koquestion_baseselect";
export { QuestionCheckboxBaseImplementor } from "knockout/koquestion_baseselect";
export { QuestionCheckbox } from "knockout/koquestion_checkbox";
export { QuestionTagbox } from "knockout/koquestion_tagbox";
export { QuestionRanking } from "knockout/koquestion_ranking";
export { QuestionComment } from "knockout/koquestion_comment";
export { QuestionDropdown } from "knockout/koquestion_dropdown";
export { QuestionFile } from "knockout/koquestion_file";
export { QuestionHtml } from "knockout/koquestion_html";
export { QuestionMatrix } from "knockout/koquestion_matrix";
export { QuestionMatrixDropdown } from "knockout/koquestion_matrixdropdown";
export { QuestionMatrixDynamicImplementor, QuestionMatrixDynamic, } from "knockout/koquestion_matrixdynamic";
export { QuestionPanelDynamic } from "knockout/koquestion_paneldynamic";
export { MultipleTextItem, QuestionMultipleText, } from "knockout/koquestion_multipletext";
export { QuestionRadiogroup } from "knockout/koquestion_radiogroup";
export { QuestionRating, QuestionRatingImplementor, } from "knockout/koquestion_rating";
export { QuestionText } from "knockout/koquestion_text";
export { QuestionBoolean } from "knockout/koquestion_boolean";
export { QuestionEmpty } from "knockout/koquestion_empty";
export { QuestionExpression } from "knockout/koquestion_expression";
export { QuestionImagePicker } from "knockout/koquestion_imagepicker";
export { PopupSurveyImplementor } from "knockout/koPopupSurvey";
export { SurveyTemplateText } from "knockout/templateText";
export { QuestionImage } from "knockout/koquestion_image";
export { QuestionSignaturePad } from "knockout/koquestion_signaturepad";
export { QuestionCustom } from "knockout/koquestion_custom";
export { QuestionButtonGroup } from "knockout/koquestion_buttongroup";
export * from "knockout/components/action-bar/action-bar";
export * from "knockout/components/boolean-checkbox/boolean-checkbox";
export * from "knockout/components/boolean-radio/boolean-radio";
export * from "knockout/components/panel/panel";
export * from "knockout/components/popup/popup";
export * from "knockout/components/progress/buttons";
export * from "knockout/components/progress/progress";
export * from "knockout/components/template-renderer/template-renderer";
export * from "knockout/components/title/title-element";
export * from "knockout/components/title/title-content";
export * from "knockout/components/title/title-actions";
export * from "knockout/components/string-editor/string-editor";
export * from "knockout/components/string-viewer/string-viewer";
export * from "knockout/components/logo-image/logo-image";
export * from "knockout/components/skeleton/skeleton";
export * from "knockout/components/rating-dropdown/rating-dropdown";
export * from "knockout/components/dropdown/dropdown";
export * from "knockout/components/dropdown-select/dropdown-select";
export * from "knockout/components/tagbox/tagbox-item";
export * from "knockout/components/tagbox/tagbox";
export * from "knockout/components/list/list";
export * from "knockout/components/svg-icon/svg-icon";
export { SurveyQuestionMatrixDynamicRemoveButton } from "knockout/components/matrix-actions/remove-button/remove-button";
export { SurveyQuestionMatrixDetailButton } from "knockout/components/matrix-actions/detail-button/detail-button";
export { SurveyQuestionMatrixDynamicDragDropIcon } from "knockout/components/matrix-actions/drag-drop-icon/drag-drop-icon";
export { ButtonGroupItemViewModel } from "knockout/components/button-group/button-group-item";
export { TooltipErrorViewModel } from "knockout/components/tooltip-error/tooltip-error";
export { SurveyNavigationButton } from "knockout/components/survey-actions/survey-nav-button";
export * from "knockout/components/paneldynamic-actions/paneldynamic-actions";
export * from "knockout/components/brand-info/brand-info";
}
declare module 'survey-knockout-ui' { import main = require('entries/knockout-ui-model'); export = main; }

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc