survey-creator-core 1.9.84 → 1.9.86
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 +46 -20
- package/survey-creator-core.fontless.css +45 -19
- package/survey-creator-core.fontless.css.map +1 -1
- package/survey-creator-core.fontless.min.css +7 -7
- package/survey-creator-core.i18n.js +2930 -166
- package/survey-creator-core.i18n.js.map +1 -1
- package/survey-creator-core.i18n.min.js +2 -2
- package/survey-creator-core.js +184 -52
- package/survey-creator-core.js.map +1 -1
- package/survey-creator-core.min.css +8 -8
- package/survey-creator-core.min.js +3 -3
- package/typings/components/question-rating.d.ts +7 -0
- package/typings/components/tabs/designer.d.ts +1 -0
- package/typings/creator-base.d.ts +1 -1
- package/typings/creator-settings.d.ts +8 -0
- package/typings/custom-questions/question-color.d.ts +3 -0
- package/typings/editorLocalization.d.ts +3 -0
- package/typings/localization/english.d.ts +3 -0
- package/typings/property-grid/condition-survey.d.ts +3 -0
- package/typings/property-grid/matrices.d.ts +3 -0
- package/typings/survey-helper.d.ts +1 -0
|
@@ -6,10 +6,17 @@ export declare class QuestionRatingAdornerViewModel extends Base {
|
|
|
6
6
|
templateData: SurveyTemplateRendererTemplateData;
|
|
7
7
|
constructor(creator: CreatorBase, surveyElement: SurveyElement, templateData: SurveyTemplateRendererTemplateData);
|
|
8
8
|
get element(): QuestionRatingModel;
|
|
9
|
+
static useRateValues(element: any): boolean;
|
|
9
10
|
addItem(model: QuestionRatingAdornerViewModel): void;
|
|
10
11
|
removeItem(model: QuestionRatingAdornerViewModel): void;
|
|
12
|
+
static allowAddForElement(element: QuestionRatingModel, maximumRateValues: number): boolean;
|
|
11
13
|
get allowAdd(): boolean;
|
|
14
|
+
get enableAdd(): boolean;
|
|
15
|
+
get addClassNames(): string;
|
|
16
|
+
static allowRemoveForElement(element: QuestionRatingModel): boolean;
|
|
12
17
|
get allowRemove(): boolean;
|
|
18
|
+
get enableRemove(): boolean;
|
|
19
|
+
get removeClassNames(): string;
|
|
13
20
|
get addTooltip(): string;
|
|
14
21
|
get removeTooltip(): string;
|
|
15
22
|
}
|
|
@@ -287,7 +287,7 @@ export declare class CreatorBase extends Base implements ISurveyCreatorOptions,
|
|
|
287
287
|
* - `options.allowAddToToolbox` - Allows users to save the current survey element configuration in the Toolbox.
|
|
288
288
|
* - `options.allowChangeRequired` - Allows users to make the survey element required.
|
|
289
289
|
* - `options.allowChangeType` - Allows users to change the survey element type.
|
|
290
|
-
* - `options.allowChangeInputType` - Allows users to change the text
|
|
290
|
+
* - `options.allowChangeInputType` - Allows users to change the [`inputType`](https://surveyjs.io/form-library/documentation/api-reference/text-entry-question-model#inputType) property of Single-Line Input questions.
|
|
291
291
|
* - `options.allowCopy` - Allows users to duplicate the survey element.
|
|
292
292
|
* - `options.allowDelete` - Allows users to delete the survey element.
|
|
293
293
|
* - `options.allowDragging` - Allows users to drag and drop the survey element.
|
|
@@ -46,6 +46,11 @@ export declare var settings: {
|
|
|
46
46
|
};
|
|
47
47
|
logic: {
|
|
48
48
|
defaultOperator: string;
|
|
49
|
+
defaultOperators: {
|
|
50
|
+
default: string;
|
|
51
|
+
checkbox: string;
|
|
52
|
+
tagbox: string;
|
|
53
|
+
};
|
|
49
54
|
visibleActions: any[];
|
|
50
55
|
logicItemTitleMaxChars: number;
|
|
51
56
|
openBracket: string;
|
|
@@ -102,6 +107,9 @@ export declare var settings: {
|
|
|
102
107
|
};
|
|
103
108
|
image: {
|
|
104
109
|
imageLink: string;
|
|
110
|
+
imageFit: string;
|
|
111
|
+
imageHeight: string;
|
|
112
|
+
imageWidth: string;
|
|
105
113
|
};
|
|
106
114
|
};
|
|
107
115
|
};
|
|
@@ -7,9 +7,12 @@ export declare class QuestionColorModel extends QuestionTextModel {
|
|
|
7
7
|
onColorInputChange(event: Event): void;
|
|
8
8
|
getType(): string;
|
|
9
9
|
_renderedValue: string;
|
|
10
|
+
private resetRenderedValue;
|
|
11
|
+
private updateRenderedValue;
|
|
10
12
|
get renderedValue(): string;
|
|
11
13
|
getSwatchStyle(): {
|
|
12
14
|
[index: string]: string;
|
|
13
15
|
};
|
|
14
16
|
get isInputTextUpdate(): boolean;
|
|
17
|
+
onSurveyValueChanged(newValue: any): void;
|
|
15
18
|
}
|
|
@@ -102,9 +102,12 @@ export declare class ConditionEditor extends PropertyEditorSetupValue {
|
|
|
102
102
|
private canShowQuestionValue;
|
|
103
103
|
private getConditionQuestion;
|
|
104
104
|
private getQuestionConditionJson;
|
|
105
|
+
private: any;
|
|
105
106
|
private updateOperatorEnables;
|
|
106
107
|
private updateQuestionsWidth;
|
|
107
108
|
private get defaultOperator();
|
|
109
|
+
private getDefaultOperatorByQuestionName;
|
|
110
|
+
private getDefaultOperatorByQuestion;
|
|
108
111
|
private getFirstEnabledOperator;
|
|
109
112
|
private onPanelAdded;
|
|
110
113
|
private onPanelValueChanged;
|
|
@@ -58,6 +58,9 @@ export declare class PropertyGridEditorMatrixItemValues extends PropertyGridEdit
|
|
|
58
58
|
}
|
|
59
59
|
export declare class PropertyGridEditorMatrixRateValues extends PropertyGridEditorMatrixItemValues {
|
|
60
60
|
fit(prop: JsonObjectProperty): boolean;
|
|
61
|
+
private updateAllowAddRemove;
|
|
62
|
+
onCreated(obj: Base, question: Question, prop: JsonObjectProperty): void;
|
|
63
|
+
onGetQuestionTitleActions(obj: Base, options: any): void;
|
|
61
64
|
protected filterPropertyNames(propNames: Array<string>): string[];
|
|
62
65
|
}
|
|
63
66
|
export declare class PropertyGridEditorMatrixColumns extends PropertyGridEditorMatrix {
|