survey-creator-knockout
Advanced tools
Comparing version 1.9.83 to 1.9.84
{ | ||
"name": "survey-creator-knockout", | ||
"version": "1.9.83", | ||
"version": "1.9.84", | ||
"description": "Use SurveyJS Creator to create or edit JSON for SurveyJS Library.", | ||
@@ -32,5 +32,5 @@ "keywords": [ | ||
"dependencies": { | ||
"survey-core": "1.9.83", | ||
"survey-knockout-ui": "1.9.83", | ||
"survey-creator-core": "1.9.83", | ||
"survey-core": "1.9.84", | ||
"survey-knockout-ui": "1.9.84", | ||
"survey-creator-core": "1.9.84", | ||
"knockout": "^3.5.0" | ||
@@ -37,0 +37,0 @@ }, |
@@ -1,332 +0,2 @@ | ||
declare module "creator" { | ||
import { ICreatorOptions, CreatorBase } from "survey-creator-core"; | ||
import { SurveyModel } from "survey-core"; | ||
export class SurveyCreator extends CreatorBase { | ||
constructor(options?: ICreatorOptions, options2?: ICreatorOptions); | ||
protected createSurveyCore(json: any, reason: string): SurveyModel; | ||
protected onViewTypeChanged(newType: string): void; | ||
render(target: string | HTMLElement): void; | ||
} | ||
} | ||
declare module "survey-creator" { | ||
import { SurveyCreator } from "creator"; | ||
export class CreatorViewModel { | ||
creator: SurveyCreator; | ||
private rootNode; | ||
constructor(creator: SurveyCreator, rootNode: HTMLElement); | ||
dispose(): void; | ||
} | ||
} | ||
declare module "tabs/designer" { } | ||
declare module "tabs/embed" { } | ||
declare module "tabs/json-editor-ace" { } | ||
declare module "tabs/json-editor-textarea" { } | ||
declare module "tabs/logic" { } | ||
declare module "tabs/logic-operator" { | ||
export var LogicOperatorViewModel: any; | ||
} | ||
declare module "tabs/translation" { } | ||
declare module "page" { | ||
import * as ko from "knockout"; | ||
import { CreatorBase, PageAdorner } from "survey-creator-core"; | ||
import { PageModel } from "survey-core"; | ||
export class CreatorSurveyPageComponent extends PageAdorner { | ||
private pageUpdater; | ||
private _page; | ||
constructor(creator: CreatorBase, page: PageModel | ko.Observable<PageModel>); | ||
protected getPage(): PageModel; | ||
dispose(): void; | ||
} | ||
} | ||
declare module "row" { } | ||
declare module "string-editor" { | ||
import * as ko from "knockout"; | ||
import { CreatorBase } from "survey-creator-core"; | ||
import { LocalizableString } from "survey-core"; | ||
export class StringEditorViewModel { | ||
locString: any; | ||
private creator; | ||
private implementor; | ||
private baseModel; | ||
getEditorElement: (element: any) => any; | ||
constructor(locString: any, creator: CreatorBase, element: any); | ||
setLocString(locString: LocalizableString): LocalizableString; | ||
afterRender: () => void; | ||
get koHasHtml(): boolean; | ||
get editValue(): string; | ||
get className(): string; | ||
get placeholder(): string; | ||
get contentEditable(): string; | ||
get characterCounter(): any; | ||
get showCharacterCounter(): boolean; | ||
get getCharacterCounterClass(): string; | ||
errorText: ko.Observable<string>; | ||
onClick(sender: StringEditorViewModel, event: any): void; | ||
onCompositionStart(sender: StringEditorViewModel, event: any): void; | ||
onCompositionEnd(sender: StringEditorViewModel, event: any): void; | ||
onInput(sender: StringEditorViewModel, event: any): void; | ||
onBlur(sender: StringEditorViewModel, event: any): void; | ||
onFocus(sender: StringEditorViewModel, event: any): void; | ||
onKeyUp(sender: StringEditorViewModel, event: KeyboardEvent): boolean; | ||
onKeyDown(sender: StringEditorViewModel, event: KeyboardEvent): boolean; | ||
onMouseUp(sender: StringEditorViewModel, event: MouseEvent): boolean; | ||
edit(model: StringEditorViewModel, _: MouseEvent): void; | ||
done(_: StringEditorViewModel, event: Event): void; | ||
focusEditor: () => void; | ||
dispose(): void; | ||
} | ||
} | ||
declare module "events" { | ||
import { IPortableDragEvent, IPortableMouseEvent } from "survey-creator-core"; | ||
export class KnockoutMouseEvent implements IPortableMouseEvent { | ||
event: MouseEvent; | ||
constructor(event: MouseEvent); | ||
stopPropagation(): void; | ||
preventDefault(): void; | ||
get cancelBubble(): boolean; | ||
set cancelBubble(value: boolean); | ||
get target(): EventTarget | null; | ||
get currentTarget(): EventTarget | null; | ||
get clientX(): number; | ||
get clientY(): number; | ||
get offsetX(): number; | ||
get offsetY(): number; | ||
} | ||
export class KnockoutDragEvent extends KnockoutMouseEvent implements IPortableDragEvent { | ||
event: DragEvent; | ||
constructor(event: DragEvent); | ||
get dataTransfer(): DataTransfer; | ||
} | ||
} | ||
declare module "adorners/question" { | ||
import { SurveyTemplateRendererViewModel } from "survey-core"; | ||
import { QuestionAdornerViewModel } from "survey-creator-core"; | ||
export function createQuestionViewModel(params: SurveyTemplateRendererViewModel, componentInfo: any, model?: QuestionAdornerViewModel): QuestionAdornerViewModel; | ||
} | ||
declare module "adorners/question-dropdown" { } | ||
declare module "question-link-value" { | ||
import { QuestionLinkValueModel } from "survey-creator-core"; | ||
export class QuestionLinkValue extends QuestionLinkValueModel { | ||
private _implementor; | ||
koClickLink: (model: QuestionLinkValue, event: MouseEvent) => void; | ||
koClearLink: (model: QuestionLinkValue, event: MouseEvent) => void; | ||
constructor(name: string, json?: any); | ||
clearCaption: string; | ||
protected onBaseCreating(): void; | ||
dispose(): void; | ||
} | ||
} | ||
declare module "question-embedded-survey" { | ||
import { QuestionEmbeddedSurveyModel } from "survey-creator-core"; | ||
export class QuestionEmbeddedSurvey extends QuestionEmbeddedSurveyModel { | ||
private _implementor; | ||
constructor(name: string); | ||
get currentPageId(): string; | ||
protected onBaseCreating(): void; | ||
dispose(): void; | ||
} | ||
} | ||
declare module "adorners/question-image" { } | ||
declare module "adorners/question-rating" { } | ||
declare module "question-widget" { } | ||
declare module "adorners/item-value" { } | ||
declare module "adorners/image-item-value" { } | ||
declare module "panel" { } | ||
declare module "adorners/matrix-cell" { } | ||
declare module "question-editor-content" { } | ||
declare module "adorners/cell-question" { } | ||
declare module "adorners/cell-question-dropdown" { } | ||
declare module "action-button" { | ||
export class ActionButtonViewModel { | ||
data: any; | ||
constructor(data: any); | ||
onClick: (_: any, event: any) => boolean; | ||
} | ||
} | ||
declare module "custom-questions/question-color" { | ||
import { QuestionColorModel } from "survey-creator-core"; | ||
import { QuestionImplementor } from "survey-knockout-ui"; | ||
export class QuestionColorImplementor extends QuestionImplementor { | ||
constructor(question: QuestionColor); | ||
} | ||
export class QuestionColor extends QuestionColorModel { | ||
private _implementor; | ||
constructor(name: string); | ||
protected onBaseCreating(): void; | ||
dispose(): void; | ||
} | ||
} | ||
declare module "page-navigator/page-navigator" { | ||
import { PageNavigatorViewModel, PagesController } from "survey-creator-core"; | ||
import { IAction, Action } from "survey-core"; | ||
export class PageNavigatorView extends PageNavigatorViewModel { | ||
constructor(pagesController: PagesController, pageEditMode: string); | ||
protected createActionBarCore(item: IAction): Action; | ||
} | ||
} | ||
declare module "page-navigator/page-navigator-item" { | ||
import { IAction } from "survey-core"; | ||
export class PageNavigatorItemViewModel { | ||
private item; | ||
constructor(item: IAction); | ||
get text(): string; | ||
action: (data: any, event: any) => void; | ||
private unwrap; | ||
get active(): boolean; | ||
get disabled(): boolean; | ||
} | ||
} | ||
declare module "property-panel/object-selector" { } | ||
declare module "property-panel/property-grid" { } | ||
declare module "side-bar/side-bar" { } | ||
declare module "side-bar/side-bar-tab" { } | ||
declare module "results" { } | ||
declare module "simulator" { } | ||
declare module "svg-bundle" { } | ||
declare module "survey-renderers/dropdown/index" { | ||
import * as ko from "knockout"; | ||
import { ItemValue } from "survey-core"; | ||
export class DropdownEditorViewModel { | ||
question: any; | ||
hasValue: ko.Computed<boolean>; | ||
koValue: ko.Observable<any>; | ||
isExpanded: ko.Observable<boolean>; | ||
isFocused: ko.Observable<boolean>; | ||
constructor(question: any); | ||
selectItem: (itemValue: ItemValue) => void; | ||
toggle(): void; | ||
onBlur(): void; | ||
} | ||
} | ||
declare module "tabs/test" { } | ||
declare module "tabbed-menu/tabbed-menu" { | ||
export let TabbedMenuViewModel: any; | ||
} | ||
declare module "tabbed-menu/tabbed-menu-item" { } | ||
declare module "toolbox/toolbox" { | ||
import * as ko from "knockout"; | ||
import { SurveyCreator } from "creator"; | ||
import { Base } from "survey-core"; | ||
import { QuestionToolbox } from "survey-creator-core"; | ||
export class ToolboxViewModel extends Base { | ||
private _categoriesSubscription; | ||
categories: ko.ObservableArray<any>; | ||
creator: SurveyCreator; | ||
constructor(creator: SurveyCreator); | ||
get toolbox(): QuestionToolbox; | ||
dispose(): void; | ||
} | ||
} | ||
declare module "toolbox/adaptive-toolbox" { } | ||
declare module "toolbox/toolbox-item" { | ||
import * as ko from "knockout"; | ||
import { SurveyCreator } from "creator"; | ||
import { IQuestionToolboxItem } from "survey-creator-core"; | ||
export class KnockoutToolboxItemViewModel { | ||
protected item: IQuestionToolboxItem; | ||
protected creator: SurveyCreator; | ||
isCompact: boolean; | ||
title: ko.Observable<string>; | ||
iconName: ko.Observable<string>; | ||
constructor(item: IQuestionToolboxItem, creator: SurveyCreator, isCompact?: boolean); | ||
get ariaLabel(): string; | ||
} | ||
} | ||
declare module "toolbox/toolbox-tool" { | ||
import * as ko from "knockout"; | ||
import { ToolboxToolViewModel } from "survey-creator-core"; | ||
import { SurveyCreator } from "creator"; | ||
import { IQuestionToolboxItem } from "survey-creator-core"; | ||
export class KnockoutToolboxToolViewModel extends ToolboxToolViewModel { | ||
protected item: IQuestionToolboxItem; | ||
protected creator: SurveyCreator; | ||
isCompact: boolean; | ||
title: ko.Observable<string>; | ||
iconName: ko.Observable<string>; | ||
constructor(item: IQuestionToolboxItem, creator: SurveyCreator, isCompact?: boolean); | ||
} | ||
} | ||
declare module "header/logo-image" { } | ||
declare module "tabs/translation-line-skeleton" { | ||
export var Skeleton: any; | ||
} | ||
declare module "utils/survey-widget" { | ||
export var SurveyWidgetBinding: any; | ||
} | ||
declare module "utils/utils" { } | ||
declare module "custom-questions/spin-editor" { | ||
import { QuestionSpinEditorModel } from "survey-creator-core"; | ||
import { QuestionImplementor } from "survey-knockout-ui"; | ||
export class QuestionSpinEditorImplementor extends QuestionImplementor { | ||
constructor(question: QuestionSpinEditor); | ||
} | ||
export class QuestionSpinEditor extends QuestionSpinEditorModel { | ||
private _implementor; | ||
constructor(name: string); | ||
protected onBaseCreating(): void; | ||
dispose(): void; | ||
} | ||
} | ||
declare module "entries/index" { | ||
export let Version: string; | ||
export * from "survey-creator"; | ||
export * from "tabs/designer"; | ||
export * from "tabs/embed"; | ||
export * from "tabs/json-editor-ace"; | ||
export * from "tabs/json-editor-textarea"; | ||
export * from "tabs/logic"; | ||
export * from "tabs/logic-operator"; | ||
export * from "tabs/translation"; | ||
export * from "page"; | ||
export * from "row"; | ||
export * from "string-editor"; | ||
export * from "adorners/question"; | ||
export * from "adorners/question-dropdown"; | ||
export * from "question-link-value"; | ||
export * from "question-embedded-survey"; | ||
export * from "adorners/question-image"; | ||
export * from "adorners/question-rating"; | ||
export * from "question-widget"; | ||
export * from "adorners/item-value"; | ||
export * from "adorners/image-item-value"; | ||
export * from "panel"; | ||
export * from "adorners/matrix-cell"; | ||
export * from "question-editor-content"; | ||
export * from "adorners/cell-question"; | ||
export * from "adorners/cell-question-dropdown"; | ||
export * from "action-button"; | ||
export * from "custom-questions/question-color"; | ||
export * from "page-navigator/page-navigator"; | ||
export * from "page-navigator/page-navigator-item"; | ||
export * from "property-panel/object-selector"; | ||
export * from "property-panel/property-grid"; | ||
export * from "side-bar/side-bar"; | ||
export * from "side-bar/side-bar-tab"; | ||
export * from "results"; | ||
export * from "simulator"; | ||
export * from "svg-bundle"; | ||
export * from "survey-renderers/dropdown/index"; | ||
export * from "tabs/test"; | ||
export * from "tabbed-menu/tabbed-menu"; | ||
export * from "tabbed-menu/tabbed-menu-item"; | ||
export * from "toolbox/toolbox"; | ||
export * from "toolbox/adaptive-toolbox"; | ||
export * from "toolbox/toolbox-item"; | ||
export * from "toolbox/toolbox-tool"; | ||
export * from "header/logo-image"; | ||
export * from "tabs/translation-line-skeleton"; | ||
export * from "utils/survey-widget"; | ||
export * from "utils/utils"; | ||
export * from "creator"; | ||
export * from "custom-questions/spin-editor"; | ||
export { editorLocalization, localization } from "survey-creator-core"; | ||
export { settings } from "survey-creator-core"; | ||
export { svgBundle } from "survey-creator-core"; | ||
export { SurveyLogic, SurveyLogicUI } from "survey-creator-core"; | ||
export { SurveyQuestionEditorDefinition } from "survey-creator-core"; | ||
export { ISurveyCreatorOptions, IPropertyGridEditor } from "survey-creator-core"; | ||
export { ToolboxToolViewModel, PropertyGridEditorCollection } from "survey-creator-core"; | ||
export { StylesManager } from "survey-creator-core"; | ||
} | ||
declare module "survey-creator-knockout" { import main = require("entries/index"); export = main; } | ||
export * from "./typings/entries/index"; |
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
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
511377
3075
60
3409
5
34
+ Addedace-builds@1.37.0(transitive)
+ Addedsurvey-core@1.9.84(transitive)
+ Addedsurvey-creator-core@1.9.84(transitive)
+ Addedsurvey-knockout-ui@1.9.84(transitive)
- Removedace-builds@1.37.1(transitive)
- Removedsurvey-core@1.9.83(transitive)
- Removedsurvey-creator-core@1.9.83(transitive)
- Removedsurvey-knockout-ui@1.9.83(transitive)
Updatedsurvey-core@1.9.84
Updatedsurvey-creator-core@1.9.84
Updatedsurvey-knockout-ui@1.9.84