survey-creator-core 1.9.68 → 1.9.70
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/survey-creator-core.css +40 -39
- package/survey-creator-core.d.ts +15 -19
- package/survey-creator-core.fontless.css +39 -38
- package/survey-creator-core.fontless.min.css +3 -5
- package/survey-creator-core.i18n.js +1 -1
- package/survey-creator-core.i18n.min.js +1 -1
- package/survey-creator-core.js +126 -152
- package/survey-creator-core.min.css +4 -6
- package/survey-creator-core.min.js +3 -3
package/survey-creator-core.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ declare module "localization/english" {
|
|
|
13
13
|
deleteQuestion: string;
|
|
14
14
|
convertTo: string;
|
|
15
15
|
drag: string;
|
|
16
|
+
license: string;
|
|
16
17
|
};
|
|
17
18
|
qt: {
|
|
18
19
|
default: string;
|
|
@@ -598,6 +599,7 @@ declare module "localization/english" {
|
|
|
598
599
|
valuePropertyName: string;
|
|
599
600
|
searchEnabled: string;
|
|
600
601
|
hideSelectedItems: string;
|
|
602
|
+
closeOnSelect: string;
|
|
601
603
|
signatureWidth: string;
|
|
602
604
|
signatureHeight: string;
|
|
603
605
|
verticalAlign: string;
|
|
@@ -1093,6 +1095,7 @@ declare module "editorLocalization" {
|
|
|
1093
1095
|
deleteQuestion: string;
|
|
1094
1096
|
convertTo: string;
|
|
1095
1097
|
drag: string;
|
|
1098
|
+
license: string;
|
|
1096
1099
|
};
|
|
1097
1100
|
qt: {
|
|
1098
1101
|
default: string;
|
|
@@ -1678,6 +1681,7 @@ declare module "editorLocalization" {
|
|
|
1678
1681
|
valuePropertyName: string;
|
|
1679
1682
|
searchEnabled: string;
|
|
1680
1683
|
hideSelectedItems: string;
|
|
1684
|
+
closeOnSelect: string;
|
|
1681
1685
|
signatureWidth: string;
|
|
1682
1686
|
signatureHeight: string;
|
|
1683
1687
|
verticalAlign: string;
|
|
@@ -2462,13 +2466,17 @@ declare module "toolbox" {
|
|
|
2462
2466
|
}
|
|
2463
2467
|
}
|
|
2464
2468
|
declare module "questionconverter" {
|
|
2465
|
-
import
|
|
2469
|
+
import { Question } from "survey-core";
|
|
2466
2470
|
export class QuestionConverter {
|
|
2467
2471
|
static convertInfo: {};
|
|
2468
2472
|
static addConvertInfo(className: string, convertToClassName: string): void;
|
|
2469
2473
|
static getConvertToClasses(className: string, availableTypes?: Array<string>, includeCurrent?: boolean): Array<string>;
|
|
2470
|
-
static convertObject(obj:
|
|
2474
|
+
static convertObject(obj: Question, convertToClass: string, defaultJSON?: any): Question;
|
|
2471
2475
|
private static updateJSON;
|
|
2476
|
+
private static updateJSONFromQuestionDefaultSettings;
|
|
2477
|
+
private static updateJSONForMatrices;
|
|
2478
|
+
private static updateJSONForRating;
|
|
2479
|
+
private static updateJSONForPanels;
|
|
2472
2480
|
}
|
|
2473
2481
|
}
|
|
2474
2482
|
declare module "textWorker" {
|
|
@@ -5250,17 +5258,6 @@ declare module "components/tabs/logic-plugin" {
|
|
|
5250
5258
|
private get showAllActionTypesText();
|
|
5251
5259
|
}
|
|
5252
5260
|
}
|
|
5253
|
-
declare module "components/notifier" {
|
|
5254
|
-
import { Base } from "survey-core";
|
|
5255
|
-
export class Notifier extends Base {
|
|
5256
|
-
active: any;
|
|
5257
|
-
message: string;
|
|
5258
|
-
css: string;
|
|
5259
|
-
timeout: number;
|
|
5260
|
-
timer: any;
|
|
5261
|
-
notify(message: string, type?: "info" | "error"): void;
|
|
5262
|
-
}
|
|
5263
|
-
}
|
|
5264
5261
|
declare module "plugins/undo-redo/undo-redo-manager" {
|
|
5265
5262
|
import { ArrayChanges, Base } from "survey-core";
|
|
5266
5263
|
export interface IUndoRedoChange {
|
|
@@ -5592,7 +5589,7 @@ declare module "components/item-value" {
|
|
|
5592
5589
|
private focusCameFromDown;
|
|
5593
5590
|
private isBanStartDrag;
|
|
5594
5591
|
private updateNewItemValue;
|
|
5595
|
-
onPointerDown(pointerDownEvent: PointerEvent):
|
|
5592
|
+
onPointerDown(pointerDownEvent: PointerEvent): boolean;
|
|
5596
5593
|
startDragItemValue: (pointerDownEvent: PointerEvent, currentTarget: any) => void;
|
|
5597
5594
|
private get dragDropHelper();
|
|
5598
5595
|
dispose(): void;
|
|
@@ -5728,7 +5725,7 @@ declare module "components/string-editor" {
|
|
|
5728
5725
|
private static createItemsNavigator;
|
|
5729
5726
|
protected addNewItems(items: any, startIndex: number, itemsToAdd: string[]): void;
|
|
5730
5727
|
private setEventsForItem;
|
|
5731
|
-
static setQuestion(questionAdorner: QuestionAdornerViewModel):
|
|
5728
|
+
static setQuestion(questionAdorner: QuestionAdornerViewModel): boolean;
|
|
5732
5729
|
}
|
|
5733
5730
|
export class StringEditorConnector extends Base {
|
|
5734
5731
|
private locString;
|
|
@@ -5791,7 +5788,6 @@ declare module "creator-base" {
|
|
|
5791
5788
|
import { ICreatorSelectionOwner } from "selection-owner";
|
|
5792
5789
|
import { SelectionHistory } from "selection-history";
|
|
5793
5790
|
import { SurveyLogic } from "components/tabs/logic";
|
|
5794
|
-
import { Notifier } from "components/notifier";
|
|
5795
5791
|
import { UndoRedoManager } from "plugins/undo-redo/undo-redo-manager";
|
|
5796
5792
|
import { UndoRedoController } from "plugins/undo-redo/undo-redo-controller";
|
|
5797
5793
|
import { SidebarModel } from "components/side-bar/side-bar-model";
|
|
@@ -6873,7 +6869,7 @@ declare module "creator-base" {
|
|
|
6873
6869
|
get state(): string;
|
|
6874
6870
|
protected setState(value: string): void;
|
|
6875
6871
|
onStateChanged: CreatorEvent;
|
|
6876
|
-
notifier: Notifier;
|
|
6872
|
+
notifier: Survey.Notifier;
|
|
6877
6873
|
setModified(options?: any): void;
|
|
6878
6874
|
notifySurveyPropertyChanged(options: any): void;
|
|
6879
6875
|
/**
|
|
@@ -6881,7 +6877,7 @@ declare module "creator-base" {
|
|
|
6881
6877
|
* @see onNotify
|
|
6882
6878
|
*/
|
|
6883
6879
|
notify(msg: string, type?: "info" | "error"): void;
|
|
6884
|
-
protected convertQuestion(obj:
|
|
6880
|
+
protected convertQuestion(obj: Question, className: string): Question;
|
|
6885
6881
|
private getDefaultElementJSON;
|
|
6886
6882
|
private singlePageJSON;
|
|
6887
6883
|
/**
|
|
@@ -7252,6 +7248,7 @@ declare module "components/image-item-value" {
|
|
|
7252
7248
|
item: ImageItemValue;
|
|
7253
7249
|
templateData: any;
|
|
7254
7250
|
itemsRoot: HTMLElement;
|
|
7251
|
+
private isChoosingNewFile;
|
|
7255
7252
|
isFileDragging: boolean;
|
|
7256
7253
|
constructor(creator: CreatorBase, question: QuestionSelectBase, item: ImageItemValue, templateData: any, itemsRoot: HTMLElement);
|
|
7257
7254
|
getRootCss(): string;
|
|
@@ -7702,7 +7699,6 @@ declare module "entries/index" {
|
|
|
7702
7699
|
export * from "utils/utils";
|
|
7703
7700
|
export * from "question-editor/definition";
|
|
7704
7701
|
export * from "survey-helper";
|
|
7705
|
-
export * from "components/notifier";
|
|
7706
7702
|
export * from "utils/resizer";
|
|
7707
7703
|
export * from "plugins/undo-redo/index";
|
|
7708
7704
|
export * from "plugins/undo-redo/undo-redo-manager";
|