survey-creator-core 1.9.27 → 1.9.28
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 +1 -1
- package/survey-creator-core.css +1 -1
- package/survey-creator-core.d.ts +17 -2
- package/survey-creator-core.i18n.js +1 -1
- package/survey-creator-core.i18n.min.js +1 -1
- package/survey-creator-core.js +65 -37
- package/survey-creator-core.min.css +1 -1
- package/survey-creator-core.min.js +3 -3
package/package.json
CHANGED
package/survey-creator-core.css
CHANGED
package/survey-creator-core.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Type definition for Survey Creatorlibrary. Platform independent (core) v1.9.
|
|
2
|
+
* Type definition for Survey Creatorlibrary. Platform independent (core) v1.9.28
|
|
3
3
|
* Copyright (c) 2015-2022 Devsoft Baltic OÜ - https://surveyjs.io/
|
|
4
4
|
* License: https://surveyjs.io/Licenses#SurveyCreator
|
|
5
5
|
*/
|
|
@@ -693,7 +693,9 @@ export declare class CreatorBase extends Base implements ISurveyCreatorOptions,
|
|
|
693
693
|
* <br/> sender the survey creator object that fires the event
|
|
694
694
|
* <br/> There are two properties in options:
|
|
695
695
|
* <br/> files the Javascript File objects array
|
|
696
|
-
* <br/> callback called on upload complete
|
|
696
|
+
* <br/> callback called on upload complete,
|
|
697
|
+
* <br/> which takes two string arguments:
|
|
698
|
+
* <br/> a status and an image link
|
|
697
699
|
*/
|
|
698
700
|
onUploadFile: Event<(sender: CreatorBase, options: any) => any, any>;
|
|
699
701
|
/*
|
|
@@ -1467,6 +1469,7 @@ export declare class QuestionToolbox extends AdaptiveActionContainer<QuestionToo
|
|
|
1467
1469
|
constructor(supportedQuestions?: any, creator?: CreatorBase);
|
|
1468
1470
|
creator: CreatorBase;
|
|
1469
1471
|
static hiddenTypes: any;
|
|
1472
|
+
static defaultIconName: string;
|
|
1470
1473
|
_orderedQuestions: any;
|
|
1471
1474
|
static getQuestionDefaultSettings(questionType: string): any;
|
|
1472
1475
|
static _questionDefaultSettings: any;
|
|
@@ -2363,6 +2366,7 @@ export declare class PageAdorner extends SurveyElementAdornerBase<PageModel> {
|
|
|
2363
2366
|
hoverStopper(event: any, element: any): void;
|
|
2364
2367
|
protected duplicate(): void;
|
|
2365
2368
|
get allowEdit(): boolean;
|
|
2369
|
+
get showAddQuestionButton(): boolean;
|
|
2366
2370
|
get addNewQuestionText(): string;
|
|
2367
2371
|
}
|
|
2368
2372
|
export declare class PropertyEditorSetupValue implements IPropertyEditorSetup {
|
|
@@ -2410,6 +2414,7 @@ export declare class QuestionAdornerViewModel extends SurveyElementAdornerBase {
|
|
|
2410
2414
|
onPointerDown(pointerDownEvent: any): void;
|
|
2411
2415
|
startDragSurveyElement: any;
|
|
2412
2416
|
get allowEdit(): boolean;
|
|
2417
|
+
get showAddQuestionButton(): boolean;
|
|
2413
2418
|
getConvertToTypesActions(): Array<IAction>;
|
|
2414
2419
|
protected buildActions(items: any): void;
|
|
2415
2420
|
protected duplicate(): void;
|
|
@@ -3122,6 +3127,16 @@ export declare var settings: {
|
|
|
3122
3127
|
lessorequal: any,
|
|
3123
3128
|
},
|
|
3124
3129
|
defaultNewSurveyJSON: any,
|
|
3130
|
+
designer: {
|
|
3131
|
+
/*
|
|
3132
|
+
* The default question type on clicking Add Question button.
|
|
3133
|
+
*/
|
|
3134
|
+
defaultAddQuestionType: string,
|
|
3135
|
+
/*
|
|
3136
|
+
* Set this property to false, to hide "Add Question" button on designer surface
|
|
3137
|
+
*/
|
|
3138
|
+
showAddQuestionButton: boolean,
|
|
3139
|
+
},
|
|
3125
3140
|
logic: {
|
|
3126
3141
|
visibleActions: any,
|
|
3127
3142
|
logicItemTitleMaxChars: number,
|