survey-creator-core 1.9.86 → 1.9.88
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/fonts.fontless.css +1 -1
- package/fonts.fontless.min.css +1 -1
- package/package.json +3 -3
- package/survey-creator-core.css +36 -39
- package/survey-creator-core.fontless.css +35 -38
- package/survey-creator-core.fontless.css.map +1 -1
- package/survey-creator-core.fontless.min.css +5 -5
- package/survey-creator-core.i18n.js +13 -1832
- package/survey-creator-core.i18n.js.map +1 -1
- package/survey-creator-core.i18n.min.js +2 -2
- package/survey-creator-core.js +96 -8
- package/survey-creator-core.js.map +1 -1
- package/survey-creator-core.min.css +6 -6
- package/survey-creator-core.min.js +2 -2
- package/typings/components/question-image.d.ts +9 -1
- package/typings/components/question.d.ts +2 -0
- package/typings/creator-base.d.ts +18 -0
- package/typings/editorLocalization.d.ts +6 -0
- package/typings/localization/english.d.ts +6 -0
- package/typings/plugins/undo-redo/undo-redo-manager.d.ts +2 -0
- package/typings/questionconverter.d.ts +1 -0
- package/typings/toolbox.d.ts +1 -0
|
@@ -1,9 +1,17 @@
|
|
|
1
|
-
import { SurveyElement, SurveyTemplateRendererTemplateData } from "survey-core";
|
|
1
|
+
import { QuestionImageModel, SurveyElement, SurveyTemplateRendererTemplateData, QuestionFileModel } from "survey-core";
|
|
2
2
|
import { CreatorBase } from "../creator-base";
|
|
3
3
|
import { QuestionAdornerViewModel } from "./question";
|
|
4
4
|
export declare class QuestionImageAdornerViewModel extends QuestionAdornerViewModel {
|
|
5
5
|
questionRoot: HTMLElement;
|
|
6
|
+
filePresentationModel: QuestionFileModel;
|
|
7
|
+
private initFilePresentationModel;
|
|
6
8
|
constructor(creator: CreatorBase, surveyElement: SurveyElement, templateData: SurveyTemplateRendererTemplateData, questionRoot: HTMLElement);
|
|
7
9
|
isUploading: any;
|
|
10
|
+
isEmptyImageLink: any;
|
|
8
11
|
chooseFile(model: QuestionImageAdornerViewModel): void;
|
|
12
|
+
imageLinkValueChangedHandler(): void;
|
|
13
|
+
get isEmptyElement(): boolean;
|
|
14
|
+
get question(): QuestionImageModel;
|
|
15
|
+
get placeholderText(): string;
|
|
16
|
+
get chooseImageText(): string;
|
|
9
17
|
}
|
|
@@ -6,6 +6,8 @@ export declare class QuestionAdornerViewModel extends SurveyElementAdornerBase {
|
|
|
6
6
|
templateData: SurveyTemplateRendererTemplateData;
|
|
7
7
|
isDragged: boolean;
|
|
8
8
|
currentAddQuestionType: string;
|
|
9
|
+
placeholderComponent: string;
|
|
10
|
+
placeholderComponentData: any;
|
|
9
11
|
private dragOrClickHelper;
|
|
10
12
|
constructor(creator: CreatorBase, surveyElement: SurveyElement, templateData: SurveyTemplateRendererTemplateData);
|
|
11
13
|
get element(): SurveyElement<any>;
|
|
@@ -1349,7 +1349,25 @@ export declare class CreatorBase extends Base implements ISurveyCreatorOptions,
|
|
|
1349
1349
|
showToolbar: any;
|
|
1350
1350
|
allowCollapseSidebar: any;
|
|
1351
1351
|
isMobileView: any;
|
|
1352
|
+
/**
|
|
1353
|
+
* Specifies Toolbox location.
|
|
1354
|
+
*
|
|
1355
|
+
* Possible values:
|
|
1356
|
+
*
|
|
1357
|
+
* - `"left"` (default) - Displays Toolbox on the left side of the design surface.
|
|
1358
|
+
* - `"right"` - Displays Toolbox on the right side of the design surface.
|
|
1359
|
+
* - `"sidebar"` - Displays Toolbox as an overlay on top of Property Grid. Use the [`sidebarLocation`](https://surveyjs.io/survey-creator/documentation/api-reference/survey-creator#sidebarLocation) property to specify Property Grid position.
|
|
1360
|
+
*/
|
|
1352
1361
|
toolboxLocation: toolboxLocationType;
|
|
1362
|
+
/**
|
|
1363
|
+
* Specifies the position of the sidebar that displays Property Grid.
|
|
1364
|
+
*
|
|
1365
|
+
* Possible values:
|
|
1366
|
+
*
|
|
1367
|
+
* - `"right"` (default) - Displays the sidebar on the right side of the design surface.
|
|
1368
|
+
* - `"left"` - Displays the sidebar on the left side of the design surface.
|
|
1369
|
+
* @see toolboxLocation
|
|
1370
|
+
*/
|
|
1353
1371
|
sidebarLocation: "left" | "right";
|
|
1354
1372
|
selectFromStringEditor: boolean;
|
|
1355
1373
|
isCreatorDisposed: boolean;
|
|
@@ -166,6 +166,8 @@ export declare var defaultStrings: {
|
|
|
166
166
|
htmlPlaceHolder: string;
|
|
167
167
|
panelPlaceHolder: string;
|
|
168
168
|
surveyPlaceHolder: string;
|
|
169
|
+
imagePlaceHolder: string;
|
|
170
|
+
imageChooseImage: string;
|
|
169
171
|
addNewTypeQuestion: string;
|
|
170
172
|
chooseLogoPlaceholder: string;
|
|
171
173
|
auto: string;
|
|
@@ -794,6 +796,10 @@ export declare var defaultStrings: {
|
|
|
794
796
|
rateColorMode: {
|
|
795
797
|
default: string;
|
|
796
798
|
};
|
|
799
|
+
autoGenerate: {
|
|
800
|
+
true: string;
|
|
801
|
+
false: string;
|
|
802
|
+
};
|
|
797
803
|
};
|
|
798
804
|
op: {
|
|
799
805
|
empty: string;
|
|
@@ -137,6 +137,8 @@ export declare var enStrings: {
|
|
|
137
137
|
htmlPlaceHolder: string;
|
|
138
138
|
panelPlaceHolder: string;
|
|
139
139
|
surveyPlaceHolder: string;
|
|
140
|
+
imagePlaceHolder: string;
|
|
141
|
+
imageChooseImage: string;
|
|
140
142
|
addNewTypeQuestion: string;
|
|
141
143
|
chooseLogoPlaceholder: string;
|
|
142
144
|
auto: string;
|
|
@@ -765,6 +767,10 @@ export declare var enStrings: {
|
|
|
765
767
|
rateColorMode: {
|
|
766
768
|
default: string;
|
|
767
769
|
};
|
|
770
|
+
autoGenerate: {
|
|
771
|
+
true: string;
|
|
772
|
+
false: string;
|
|
773
|
+
};
|
|
768
774
|
};
|
|
769
775
|
op: {
|
|
770
776
|
empty: string;
|
|
@@ -58,6 +58,8 @@ export declare class UndoRedoAction implements IUndoRedoAction {
|
|
|
58
58
|
private _oldValue;
|
|
59
59
|
private _newValue;
|
|
60
60
|
private _sender;
|
|
61
|
+
static maximumMergeTime: number;
|
|
62
|
+
private tickCount;
|
|
61
63
|
constructor(_propertyName: string, _oldValue: any, _newValue: any, _sender: Base);
|
|
62
64
|
apply(): void;
|
|
63
65
|
rollback(): void;
|
package/typings/toolbox.d.ts
CHANGED
|
@@ -264,6 +264,7 @@ export declare class QuestionToolbox extends AdaptiveActionContainer<QuestionToo
|
|
|
264
264
|
private getComponentItems;
|
|
265
265
|
private addItemFromJSON;
|
|
266
266
|
private getQuestionJSON;
|
|
267
|
+
private isHiddenCustomWidget;
|
|
267
268
|
private getQuestionTypes;
|
|
268
269
|
dispose(): void;
|
|
269
270
|
}
|