survey-creator-core 1.9.101 → 1.9.102
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 +2 -2
- package/survey-creator-core.css +12 -2
- package/survey-creator-core.fontless.css +11 -1
- package/survey-creator-core.fontless.css.map +1 -1
- package/survey-creator-core.fontless.min.css +3 -3
- package/survey-creator-core.i18n.js +25210 -8821
- package/survey-creator-core.i18n.js.map +1 -1
- package/survey-creator-core.i18n.min.js +2 -2
- package/survey-creator-core.js +69 -34
- package/survey-creator-core.js.map +1 -1
- package/survey-creator-core.min.css +4 -4
- package/survey-creator-core.min.js +2 -2
- package/typings/creator-base.d.ts +4 -1
- package/typings/creator-settings.d.ts +2 -2
- package/typings/editorLocalization.d.ts +15 -1
- package/typings/localization/english.d.ts +15 -1
- package/typings/survey-elements-dnd.d.ts +12 -0
|
@@ -513,6 +513,9 @@ export declare class CreatorBase extends Base implements ISurveyCreatorOptions,
|
|
|
513
513
|
* A Survey Creator instance that raised the event.
|
|
514
514
|
* - `options.questionName`: `String`\
|
|
515
515
|
* The name of a question for which conditions are displayed.
|
|
516
|
+
* - `options.questionName`: `String`\
|
|
517
|
+
* The type of a question for which conditions are displayed.
|
|
518
|
+
* The name of a question for which conditions are displayed.
|
|
516
519
|
* - `options.operator`: `"empty"` | `"notempty"` | `"equal"` | `"notequal"` | `"contains"` | `"notcontains"` | `"anyof"` | `"allof"` | `"greater"` | `"less"` | `"greaterorequal"` | `"lessorequal"`\
|
|
517
520
|
* A condition opeator for which the event is raised.
|
|
518
521
|
* - `options.show`: `Boolean`\
|
|
@@ -1379,7 +1382,7 @@ export declare class CreatorBase extends Base implements ISurveyCreatorOptions,
|
|
|
1379
1382
|
onGetElementEditorTitleCallback(obj: Base, title: string): string;
|
|
1380
1383
|
onConditionQuestionsGetListCallback(propertyName: string, obj: Base, editor: any, list: any[]): string;
|
|
1381
1384
|
onConditionGetTitleCallback(expression: string, title: string): string;
|
|
1382
|
-
isConditionOperatorEnabled(questionName: string, operator: string, isEnabled: boolean): boolean;
|
|
1385
|
+
isConditionOperatorEnabled(questionName: string, questionType: string, operator: string, isEnabled: boolean): boolean;
|
|
1383
1386
|
onLogicGetTitleCallback(expression: string, expressionText: string, text: string, logicItem: any): string;
|
|
1384
1387
|
getProcessedTranslationItemText(locale: string, locString: ILocalizableString, newText: string, obj: any): string;
|
|
1385
1388
|
getTranslationExportedText(obj: Base, name: string, locString: ILocalizableString, locale: string, text: string): string;
|
|
@@ -188,7 +188,7 @@ export interface ISurveyCreatorOptions {
|
|
|
188
188
|
createSurvey(json: any, reason: string, surveyType?: new (json: any) => SurveyModel): any;
|
|
189
189
|
onConditionQuestionsGetListCallback(propertyName: string, obj: Base, editor: any, list: any[]): string;
|
|
190
190
|
onConditionGetTitleCallback(expression: string, title: string): string;
|
|
191
|
-
isConditionOperatorEnabled(questionName: string, operator: string, isEnabled: boolean): boolean;
|
|
191
|
+
isConditionOperatorEnabled(questionName: string, questionType: string, operator: string, isEnabled: boolean): boolean;
|
|
192
192
|
onLogicGetTitleCallback(expression: string, displayExpression: string, text: string, logicItem: any): string;
|
|
193
193
|
getProcessedTranslationItemText(locale: string, locString: ILocalizableString, newText: string, obj: any): string;
|
|
194
194
|
getTranslationExportedText(obj: Base, name: string, locString: ILocalizableString, locale: string, text: string): string;
|
|
@@ -230,7 +230,7 @@ export declare class EmptySurveyCreatorOptions implements ISurveyCreatorOptions
|
|
|
230
230
|
createSurvey(json: any, reason: string, surveyType?: new (json: any) => SurveyModel): SurveyModel;
|
|
231
231
|
onConditionQuestionsGetListCallback(propertyName: string, obj: Base, editor: any, list: any[]): string;
|
|
232
232
|
onConditionGetTitleCallback(expression: string, title: string): string;
|
|
233
|
-
isConditionOperatorEnabled(questionName: string, operator: string, isEnabled: boolean): boolean;
|
|
233
|
+
isConditionOperatorEnabled(questionName: string, questionType: string, operator: string, isEnabled: boolean): boolean;
|
|
234
234
|
onLogicGetTitleCallback(expression: string, displayExpression: string, text: string, logicItem: any): string;
|
|
235
235
|
getTranslationExportedText(obj: Base, name: string, locString: ILocalizableString, locale: string, text: string): string;
|
|
236
236
|
uploadFiles(files: File[], question: Question, uploadingCallback: (status: string, data: any) => any): void;
|
|
@@ -524,7 +524,6 @@ export declare var defaultStrings: {
|
|
|
524
524
|
hideColumnsIfEmpty: string;
|
|
525
525
|
rateValues: string;
|
|
526
526
|
rateCount: string;
|
|
527
|
-
rateDisplayMode: string;
|
|
528
527
|
autoGenerate: string;
|
|
529
528
|
hideIfChoicesEmpty: string;
|
|
530
529
|
hideNumber: string;
|
|
@@ -659,6 +658,7 @@ export declare var defaultStrings: {
|
|
|
659
658
|
columnsVisibleIf: string;
|
|
660
659
|
rowsVisibleIf: string;
|
|
661
660
|
otherPlaceholder: string;
|
|
661
|
+
rateType: string;
|
|
662
662
|
};
|
|
663
663
|
pv: {
|
|
664
664
|
true: string;
|
|
@@ -974,6 +974,20 @@ export declare var defaultStrings: {
|
|
|
974
974
|
showCaption: string;
|
|
975
975
|
iconName: string;
|
|
976
976
|
iconSize: string;
|
|
977
|
+
precision: string;
|
|
978
|
+
matrixDragHandleArea: string;
|
|
979
|
+
backgroundImage: string;
|
|
980
|
+
backgroundImageFit: string;
|
|
981
|
+
backgroundImageAttachment: string;
|
|
982
|
+
backgroundOpacity: string;
|
|
983
|
+
selectToRankEnabled: string;
|
|
984
|
+
selectToRankAreasLayout: string;
|
|
985
|
+
allowCameraAccess: string;
|
|
986
|
+
scaleColorMode: string;
|
|
987
|
+
rateColorMode: string;
|
|
988
|
+
templateTabTitle: string;
|
|
989
|
+
templateVisibleIf: string;
|
|
990
|
+
copyDisplayValue: string;
|
|
977
991
|
};
|
|
978
992
|
theme: {
|
|
979
993
|
"--background": string;
|
|
@@ -495,7 +495,6 @@ export declare var enStrings: {
|
|
|
495
495
|
hideColumnsIfEmpty: string;
|
|
496
496
|
rateValues: string;
|
|
497
497
|
rateCount: string;
|
|
498
|
-
rateDisplayMode: string;
|
|
499
498
|
autoGenerate: string;
|
|
500
499
|
hideIfChoicesEmpty: string;
|
|
501
500
|
hideNumber: string;
|
|
@@ -630,6 +629,7 @@ export declare var enStrings: {
|
|
|
630
629
|
columnsVisibleIf: string;
|
|
631
630
|
rowsVisibleIf: string;
|
|
632
631
|
otherPlaceholder: string;
|
|
632
|
+
rateType: string;
|
|
633
633
|
};
|
|
634
634
|
pv: {
|
|
635
635
|
true: string;
|
|
@@ -945,6 +945,20 @@ export declare var enStrings: {
|
|
|
945
945
|
showCaption: string;
|
|
946
946
|
iconName: string;
|
|
947
947
|
iconSize: string;
|
|
948
|
+
precision: string;
|
|
949
|
+
matrixDragHandleArea: string;
|
|
950
|
+
backgroundImage: string;
|
|
951
|
+
backgroundImageFit: string;
|
|
952
|
+
backgroundImageAttachment: string;
|
|
953
|
+
backgroundOpacity: string;
|
|
954
|
+
selectToRankEnabled: string;
|
|
955
|
+
selectToRankAreasLayout: string;
|
|
956
|
+
allowCameraAccess: string;
|
|
957
|
+
scaleColorMode: string;
|
|
958
|
+
rateColorMode: string;
|
|
959
|
+
templateTabTitle: string;
|
|
960
|
+
templateVisibleIf: string;
|
|
961
|
+
copyDisplayValue: string;
|
|
948
962
|
};
|
|
949
963
|
theme: {
|
|
950
964
|
"--background": string;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IElement, IPanel } from "survey-core";
|
|
2
|
+
import { DragDropSurveyElements } from "./survey-elements";
|
|
3
|
+
export declare class DragDropSurveyElementsInCreator extends DragDropSurveyElements {
|
|
4
|
+
protected duringDragOver(dropTargetNode?: HTMLElement, event?: PointerEvent): void;
|
|
5
|
+
protected removeDragOverMarker(dropTarget: {
|
|
6
|
+
dragTypeOverMe: boolean;
|
|
7
|
+
}): void;
|
|
8
|
+
protected afterDragOver(dropTargetNode?: HTMLElement, event?: PointerEvent): void;
|
|
9
|
+
private getElementIndexInPanel;
|
|
10
|
+
moveElementInPanel(panel: IPanel, src: IElement, target: IElement, targetIndex: number): void;
|
|
11
|
+
protected doDrop: () => any;
|
|
12
|
+
}
|