survey-core 1.9.137 → 1.9.139
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/defaultV2.css +394 -37
- package/defaultV2.css.map +1 -1
- package/defaultV2.fontless.css +394 -37
- package/defaultV2.fontless.css.map +1 -1
- package/defaultV2.fontless.min.css +2 -2
- package/defaultV2.min.css +2 -2
- package/i18n/arabic.js +1 -1
- package/i18n/arabic.min.js +1 -1
- package/i18n/basque.js +1 -1
- package/i18n/basque.min.js +1 -1
- package/i18n/bulgarian.js +1 -1
- package/i18n/bulgarian.min.js +1 -1
- package/i18n/catalan.js +1 -1
- package/i18n/catalan.min.js +1 -1
- package/i18n/croatian.js +1 -1
- package/i18n/croatian.min.js +1 -1
- package/i18n/czech.js +1 -1
- package/i18n/czech.min.js +1 -1
- package/i18n/danish.js +1 -1
- package/i18n/danish.min.js +1 -1
- package/i18n/dutch.js +1 -1
- package/i18n/dutch.min.js +1 -1
- package/i18n/english.js +4 -3
- package/i18n/english.js.map +1 -1
- package/i18n/english.min.js +2 -2
- package/i18n/estonian.js +1 -1
- package/i18n/estonian.min.js +1 -1
- package/i18n/finnish.js +1 -1
- package/i18n/finnish.min.js +1 -1
- package/i18n/french.js +1 -1
- package/i18n/french.min.js +1 -1
- package/i18n/georgian.js +1 -1
- package/i18n/georgian.min.js +1 -1
- package/i18n/german.js +1 -1
- package/i18n/german.min.js +1 -1
- package/i18n/greek.js +1 -1
- package/i18n/greek.min.js +1 -1
- package/i18n/hebrew.js +1 -1
- package/i18n/hebrew.min.js +1 -1
- package/i18n/hindi.js +1 -1
- package/i18n/hindi.min.js +1 -1
- package/i18n/hungarian.js +1 -1
- package/i18n/hungarian.min.js +1 -1
- package/i18n/icelandic.js +1 -1
- package/i18n/icelandic.min.js +1 -1
- package/i18n/index.js +1 -1
- package/i18n/index.min.js +1 -1
- package/i18n/indonesian.js +1 -1
- package/i18n/indonesian.min.js +1 -1
- package/i18n/italian.js +1 -1
- package/i18n/italian.min.js +1 -1
- package/i18n/japanese.js +1 -1
- package/i18n/japanese.min.js +1 -1
- package/i18n/kazakh.js +1 -1
- package/i18n/kazakh.min.js +1 -1
- package/i18n/korean.js +1 -1
- package/i18n/korean.min.js +1 -1
- package/i18n/latvian.js +1 -1
- package/i18n/latvian.min.js +1 -1
- package/i18n/lithuanian.js +1 -1
- package/i18n/lithuanian.min.js +1 -1
- package/i18n/macedonian.js +1 -1
- package/i18n/macedonian.min.js +1 -1
- package/i18n/malay.js +1 -1
- package/i18n/malay.min.js +1 -1
- package/i18n/nl-BE.js +1 -1
- package/i18n/nl-BE.min.js +1 -1
- package/i18n/norwegian.js +1 -1
- package/i18n/norwegian.min.js +1 -1
- package/i18n/persian.js +1 -1
- package/i18n/persian.min.js +1 -1
- package/i18n/polish.js +1 -1
- package/i18n/polish.min.js +1 -1
- package/i18n/portuguese-br.js +1 -1
- package/i18n/portuguese-br.min.js +1 -1
- package/i18n/portuguese.js +1 -1
- package/i18n/portuguese.min.js +1 -1
- package/i18n/romanian.js +1 -1
- package/i18n/romanian.min.js +1 -1
- package/i18n/russian.js +1 -1
- package/i18n/russian.min.js +1 -1
- package/i18n/serbian.js +1 -1
- package/i18n/serbian.min.js +1 -1
- package/i18n/simplified-chinese.js +1 -1
- package/i18n/simplified-chinese.min.js +1 -1
- package/i18n/slovak.js +1 -1
- package/i18n/slovak.min.js +1 -1
- package/i18n/spanish.js +1 -1
- package/i18n/spanish.min.js +1 -1
- package/i18n/swahili.js +1 -1
- package/i18n/swahili.min.js +1 -1
- package/i18n/swedish.js +1 -1
- package/i18n/swedish.min.js +1 -1
- package/i18n/tajik.js +1 -1
- package/i18n/tajik.min.js +1 -1
- package/i18n/telugu.js +1 -1
- package/i18n/telugu.min.js +1 -1
- package/i18n/thai.js +1 -1
- package/i18n/thai.min.js +1 -1
- package/i18n/traditional-chinese.js +1 -1
- package/i18n/traditional-chinese.min.js +1 -1
- package/i18n/turkish.js +1 -1
- package/i18n/turkish.min.js +1 -1
- package/i18n/ukrainian.js +1 -1
- package/i18n/ukrainian.min.js +1 -1
- package/i18n/urdu.js +1 -1
- package/i18n/urdu.min.js +1 -1
- package/i18n/vietnamese.js +1 -1
- package/i18n/vietnamese.min.js +1 -1
- package/i18n/welsh.js +1 -1
- package/i18n/welsh.min.js +1 -1
- package/modern.css +19 -3
- package/modern.css.map +1 -1
- package/modern.fontless.css +19 -3
- package/modern.fontless.css.map +1 -1
- package/modern.fontless.min.css +2 -2
- package/modern.min.css +2 -2
- package/package.json +1 -1
- package/plugins/bootstrap-integration.js +1 -1
- package/plugins/bootstrap-integration.min.js +1 -1
- package/plugins/bootstrap-material-integration.js +1 -1
- package/plugins/bootstrap-material-integration.min.js +1 -1
- package/survey.core.js +661 -134
- package/survey.core.js.map +1 -1
- package/survey.core.min.js +3 -3
- package/survey.css +1 -1
- package/survey.css.map +1 -1
- package/survey.i18n.js +1 -1
- package/survey.i18n.min.js +1 -1
- package/survey.min.css +1 -1
- package/themes/borderless-dark-panelless.js +1 -1
- package/themes/borderless-dark-panelless.min.js +1 -1
- package/themes/borderless-dark.js +1 -1
- package/themes/borderless-dark.min.js +1 -1
- package/themes/borderless-light-panelless..js +1 -1
- package/themes/borderless-light-panelless..min.js +1 -1
- package/themes/borderless-light.js +1 -1
- package/themes/borderless-light.min.js +1 -1
- package/themes/contrast-dark-panelless.js +1 -1
- package/themes/contrast-dark-panelless.min.js +1 -1
- package/themes/contrast-dark.js +1 -1
- package/themes/contrast-dark.min.js +1 -1
- package/themes/contrast-light-panelless.js +1 -1
- package/themes/contrast-light-panelless.min.js +1 -1
- package/themes/contrast-light.js +1 -1
- package/themes/contrast-light.min.js +1 -1
- package/themes/default-dark-panelless.js +1 -1
- package/themes/default-dark-panelless.min.js +1 -1
- package/themes/default-dark.js +1 -1
- package/themes/default-dark.min.js +1 -1
- package/themes/default-light-panelless.js +1 -1
- package/themes/default-light-panelless.min.js +1 -1
- package/themes/default-light.js +1 -1
- package/themes/default-light.min.js +1 -1
- package/themes/doubleborder-dark-panelless.js +1 -1
- package/themes/doubleborder-dark-panelless.min.js +1 -1
- package/themes/doubleborder-dark.js +1 -1
- package/themes/doubleborder-dark.min.js +1 -1
- package/themes/doubleborder-light-panelles.js +1 -1
- package/themes/doubleborder-light-panelles.min.js +1 -1
- package/themes/doubleborder-light.js +1 -1
- package/themes/doubleborder-light.min.js +1 -1
- package/themes/flat-dark-panelless.js +1 -1
- package/themes/flat-dark-panelless.min.js +1 -1
- package/themes/flat-dark.js +1 -1
- package/themes/flat-dark.min.js +1 -1
- package/themes/flat-light-panelless.js +1 -1
- package/themes/flat-light-panelless.min.js +1 -1
- package/themes/flat-light.js +1 -1
- package/themes/flat-light.min.js +1 -1
- package/themes/index.js +1 -1
- package/themes/index.min.js +1 -1
- package/themes/layered-dark-panelless.js +1 -1
- package/themes/layered-dark-panelless.min.js +1 -1
- package/themes/layered-dark.js +1 -1
- package/themes/layered-dark.min.js +1 -1
- package/themes/layered-light-panelless.js +1 -1
- package/themes/layered-light-panelless.min.js +1 -1
- package/themes/layered-light.js +1 -1
- package/themes/layered-light.min.js +1 -1
- package/themes/plain-dark-panelless.js +1 -1
- package/themes/plain-dark-panelless.min.js +1 -1
- package/themes/plain-dark.js +1 -1
- package/themes/plain-dark.min.js +1 -1
- package/themes/plain-light-panelless.js +1 -1
- package/themes/plain-light-panelless.min.js +1 -1
- package/themes/plain-light.js +1 -1
- package/themes/plain-light.min.js +1 -1
- package/themes/sharp-dark-panelless.js +1 -1
- package/themes/sharp-dark-panelless.min.js +1 -1
- package/themes/sharp-dark.js +1 -1
- package/themes/sharp-dark.min.js +1 -1
- package/themes/sharp-light-panelless.js +1 -1
- package/themes/sharp-light-panelless.min.js +1 -1
- package/themes/sharp-light.js +1 -1
- package/themes/sharp-light.min.js +1 -1
- package/themes/solid-dark-panelless.js +1 -1
- package/themes/solid-dark-panelless.min.js +1 -1
- package/themes/solid-dark.js +1 -1
- package/themes/solid-dark.min.js +1 -1
- package/themes/solid-light-panelless.js +1 -1
- package/themes/solid-light-panelless.min.js +1 -1
- package/themes/solid-light.js +1 -1
- package/themes/solid-light.min.js +1 -1
- package/themes/three-dimensional-dark-panelless.js +1 -1
- package/themes/three-dimensional-dark-panelless.min.js +1 -1
- package/themes/three-dimensional-dark.js +1 -1
- package/themes/three-dimensional-dark.min.js +1 -1
- package/themes/three-dimensional-light-panelless.js +1 -1
- package/themes/three-dimensional-light-panelless.min.js +1 -1
- package/themes/three-dimensional-light.js +1 -1
- package/themes/three-dimensional-light.min.js +1 -1
- package/ts3.4/typings/actions/action.d.ts +6 -1
- package/ts3.4/typings/base-interfaces.d.ts +1 -1
- package/ts3.4/typings/defaultCss/cssmodern.d.ts +1 -1
- package/ts3.4/typings/defaultCss/cssstandard.d.ts +1 -1
- package/ts3.4/typings/defaultCss/defaultV2Css.d.ts +52 -1
- package/ts3.4/typings/dragdrop/matrix-rows.d.ts +2 -1
- package/ts3.4/typings/knockout/kobase.d.ts +8 -0
- package/ts3.4/typings/knockout/kopage.d.ts +37 -0
- package/ts3.4/typings/localization/english.d.ts +1 -0
- package/ts3.4/typings/mask/input_element_adapter.d.ts +2 -1
- package/ts3.4/typings/mask/mask_datetime.d.ts +28 -3
- package/ts3.4/typings/mask/mask_numeric.d.ts +1 -1
- package/ts3.4/typings/mask/mask_pattern.d.ts +9 -1
- package/ts3.4/typings/panel.d.ts +1 -1
- package/ts3.4/typings/popup.d.ts +1 -0
- package/ts3.4/typings/question.d.ts +1 -0
- package/ts3.4/typings/question_boolean.d.ts +8 -0
- package/ts3.4/typings/question_custom.d.ts +3 -0
- package/ts3.4/typings/question_imagepicker.d.ts +36 -6
- package/ts3.4/typings/question_matrix.d.ts +1 -0
- package/ts3.4/typings/question_matrixdynamic.d.ts +1 -0
- package/ts3.4/typings/question_paneldynamic.d.ts +1 -0
- package/ts3.4/typings/question_ranking.d.ts +1 -0
- package/ts3.4/typings/question_signaturepad.d.ts +9 -2
- package/ts3.4/typings/survey-element.d.ts +4 -0
- package/ts3.4/typings/survey.d.ts +1 -1
- package/ts3.4/typings/surveyStrings.d.ts +1 -0
- package/typings/actions/action.d.ts +7 -1
- package/typings/base-interfaces.d.ts +1 -1
- package/typings/defaultCss/cssmodern.d.ts +1 -1
- package/typings/defaultCss/cssstandard.d.ts +1 -1
- package/typings/defaultCss/defaultV2Css.d.ts +52 -1
- package/typings/dragdrop/matrix-rows.d.ts +2 -1
- package/typings/knockout/kobase.d.ts +8 -0
- package/typings/knockout/kopage.d.ts +37 -0
- package/typings/localization/english.d.ts +1 -0
- package/typings/mask/input_element_adapter.d.ts +2 -1
- package/typings/mask/mask_datetime.d.ts +28 -3
- package/typings/mask/mask_numeric.d.ts +1 -1
- package/typings/mask/mask_pattern.d.ts +9 -1
- package/typings/panel.d.ts +1 -1
- package/typings/popup.d.ts +1 -0
- package/typings/question.d.ts +1 -0
- package/typings/question_boolean.d.ts +8 -0
- package/typings/question_custom.d.ts +3 -0
- package/typings/question_imagepicker.d.ts +36 -6
- package/typings/question_matrix.d.ts +1 -0
- package/typings/question_matrixdynamic.d.ts +2 -0
- package/typings/question_paneldynamic.d.ts +1 -0
- package/typings/question_ranking.d.ts +1 -0
- package/typings/question_signaturepad.d.ts +9 -2
- package/typings/survey-element.d.ts +4 -0
- package/typings/survey.d.ts +1 -1
- package/typings/surveyStrings.d.ts +1 -0
|
@@ -46,6 +46,13 @@ export declare class QuestionBooleanModel extends Question {
|
|
|
46
46
|
set labelTrue(val: string);
|
|
47
47
|
get locLabelTrue(): LocalizableString;
|
|
48
48
|
get isDeterminated(): boolean;
|
|
49
|
+
/**
|
|
50
|
+
* Specifies whether to swap the order of the Yes and No answers.
|
|
51
|
+
*
|
|
52
|
+
* Default value: `false`
|
|
53
|
+
*
|
|
54
|
+
* By default, the order is [ "No", "Yes"]. Enable this property to reorder the answers as follows: [ "Yes", "No" ].
|
|
55
|
+
*/
|
|
49
56
|
swapOrder: boolean;
|
|
50
57
|
get locLabelLeft(): LocalizableString;
|
|
51
58
|
get locLabelRight(): LocalizableString;
|
|
@@ -85,6 +92,7 @@ export declare class QuestionBooleanModel extends Question {
|
|
|
85
92
|
getCheckboxItemCss(): string;
|
|
86
93
|
getLabelCss(checked: boolean): string;
|
|
87
94
|
get svgIcon(): string;
|
|
95
|
+
get itemSvgIcon(): string;
|
|
88
96
|
get allowClick(): boolean;
|
|
89
97
|
getCheckedLabel(): LocalizableString;
|
|
90
98
|
protected setQuestionValue(newValue: any, updateIsAnswered?: boolean): void;
|
|
@@ -231,6 +231,7 @@ export interface ICustomQuestionTypeConfiguration {
|
|
|
231
231
|
* @returns An error text.
|
|
232
232
|
*/
|
|
233
233
|
getErrorText?: (question: Question) => string;
|
|
234
|
+
onSetQuestionValue?: (question: Question, newValue: any) => void;
|
|
234
235
|
valueToQuestion?: (val: any) => any;
|
|
235
236
|
valueFromQuestion?: (val: any) => any;
|
|
236
237
|
getValue?: (val: any) => any;
|
|
@@ -247,6 +248,7 @@ export declare class ComponentQuestionJSON {
|
|
|
247
248
|
onAfterRender(question: Question, htmlElement: any): void;
|
|
248
249
|
onAfterRenderContentElement(question: Question, element: Question, htmlElement: any): void;
|
|
249
250
|
onUpdateQuestionCssClasses(question: Question, element: Question, css: any): void;
|
|
251
|
+
onSetQuestionValue(question: Question, newValue: any): void;
|
|
250
252
|
onPropertyChanged(question: Question, propertyName: string, newValue: any): void;
|
|
251
253
|
onValueChanged(question: Question, name: string, newValue: any): void;
|
|
252
254
|
onValueChanging(question: Question, name: string, newValue: any): any;
|
|
@@ -353,6 +355,7 @@ export declare class QuestionCustomModel extends QuestionCustomModelBase {
|
|
|
353
355
|
afterRenderCore(el: any): void;
|
|
354
356
|
get contentQuestion(): Question;
|
|
355
357
|
protected createQuestion(): Question;
|
|
358
|
+
private checkCreatedQuestion;
|
|
356
359
|
onSurveyLoad(): void;
|
|
357
360
|
runCondition(values: HashTable<any>, properties: HashTable<any>): void;
|
|
358
361
|
protected convertDataName(name: string): string;
|
|
@@ -65,11 +65,12 @@ export declare class QuestionImagePickerModel extends QuestionCheckboxBase {
|
|
|
65
65
|
/**
|
|
66
66
|
* Specifies the height of containers for images or videos. Accepts positive numbers and CSS values.
|
|
67
67
|
*
|
|
68
|
-
* Default value:
|
|
68
|
+
* Default value: `auto`
|
|
69
69
|
*
|
|
70
|
-
*
|
|
70
|
+
* This property allows you to specify the exact image height. If you do not set it, the height will be calculated automatically based on the [`minImageHeight`](#minImageHeight) and [`maxImageHeight`](#maxImageHeight) values and available screen height.
|
|
71
|
+
*
|
|
72
|
+
* Use the [`imageFit`](#imageFit) property to specify how to fit the images or videos into their containers.
|
|
71
73
|
* @see imageWidth
|
|
72
|
-
* @see imageFit
|
|
73
74
|
*/
|
|
74
75
|
get imageHeight(): number;
|
|
75
76
|
set imageHeight(val: number);
|
|
@@ -78,11 +79,12 @@ export declare class QuestionImagePickerModel extends QuestionCheckboxBase {
|
|
|
78
79
|
/**
|
|
79
80
|
* Specifies the width of containers for images or videos. Accepts positive numbers and CSS values.
|
|
80
81
|
*
|
|
81
|
-
* Default value:
|
|
82
|
+
* Default value: `auto`
|
|
83
|
+
*
|
|
84
|
+
* This property allows you to specify the exact image width. If you do not set it, the width will be calculated automatically based on the [`minImageWidth`](#minImageWidth) and [`maxImageWidth`](#maxImageWidth) values and available screen width.
|
|
82
85
|
*
|
|
83
|
-
* Use the `imageFit` property to specify how to fit the images or videos into their containers.
|
|
86
|
+
* Use the [`imageFit`](#imageFit) property to specify how to fit the images or videos into their containers.
|
|
84
87
|
* @see imageHeight
|
|
85
|
-
* @see imageFit
|
|
86
88
|
*/
|
|
87
89
|
get imageWidth(): number;
|
|
88
90
|
set imageWidth(val: number);
|
|
@@ -113,9 +115,37 @@ export declare class QuestionImagePickerModel extends QuestionCheckboxBase {
|
|
|
113
115
|
protected addToVisibleChoices(items: Array<ItemValue>, isAddAll: boolean): void;
|
|
114
116
|
getSelectBaseRootCss(): string;
|
|
115
117
|
private isResponsiveValue;
|
|
118
|
+
/**
|
|
119
|
+
* Specifies a maximum width for image or video containers. Accepts positive numbers and CSS values.
|
|
120
|
+
*
|
|
121
|
+
* Default value: 400
|
|
122
|
+
*
|
|
123
|
+
* The `minImageWidth`, `maxImageWidth`, `minImageHeight`, and `maxImageHeight` properties specify boundary values for container sizes. The resulting sizes are selected depending on the available screen space. If you want to specify the exact width and height, use the [`imageWidth`](#imageWidth) and [`imageHeight`](#imageHeight) properties.
|
|
124
|
+
*/
|
|
116
125
|
maxImageWidth: number;
|
|
126
|
+
/**
|
|
127
|
+
* Specifies a minimum width for image or video containers. Accepts positive numbers and CSS values.
|
|
128
|
+
*
|
|
129
|
+
* Default value: 200
|
|
130
|
+
*
|
|
131
|
+
* The `minImageWidth`, `maxImageWidth`, `minImageHeight`, and `maxImageHeight` properties specify boundary values for container sizes. The resulting sizes are selected depending on the available screen space. If you want to specify the exact width and height, use the [`imageWidth`](#imageWidth) and [`imageHeight`](#imageHeight) properties.
|
|
132
|
+
*/
|
|
117
133
|
minImageWidth: number;
|
|
134
|
+
/**
|
|
135
|
+
* Specifies a maximum height for image or video containers. Accepts positive numbers and CSS values.
|
|
136
|
+
*
|
|
137
|
+
* Default value: 266
|
|
138
|
+
*
|
|
139
|
+
* The `minImageWidth`, `maxImageWidth`, `minImageHeight`, and `maxImageHeight` properties specify boundary values for container sizes. The resulting sizes are selected depending on the available screen space. If you want to specify the exact width and height, use the [`imageWidth`](#imageWidth) and [`imageHeight`](#imageHeight) properties.
|
|
140
|
+
*/
|
|
118
141
|
maxImageHeight: number;
|
|
142
|
+
/**
|
|
143
|
+
* Specifies a minimum height for image or video containers. Accepts positive numbers and CSS values.
|
|
144
|
+
*
|
|
145
|
+
* Default value: 133
|
|
146
|
+
*
|
|
147
|
+
* The `minImageWidth`, `maxImageWidth`, `minImageHeight`, and `maxImageHeight` properties specify boundary values for container sizes. The resulting sizes are selected depending on the available screen space. If you want to specify the exact width and height, use the [`imageWidth`](#imageWidth) and [`imageHeight`](#imageHeight) properties.
|
|
148
|
+
*/
|
|
119
149
|
minImageHeight: number;
|
|
120
150
|
private get isResponsive();
|
|
121
151
|
private get exactSizesAreEmpty();
|
|
@@ -91,6 +91,8 @@ export declare class QuestionMatrixDynamicModel extends QuestionMatrixDropdownMo
|
|
|
91
91
|
get allowRowsDragAndDrop(): boolean;
|
|
92
92
|
set allowRowsDragAndDrop(val: boolean);
|
|
93
93
|
get isRowsDragAndDrop(): boolean;
|
|
94
|
+
get lockedRowCount(): number;
|
|
95
|
+
set lockedRowCount(val: number);
|
|
94
96
|
get iconDragElement(): string;
|
|
95
97
|
protected createRenderedTable(): QuestionMatrixDropdownRenderedTable;
|
|
96
98
|
private get rowCountValue();
|
|
@@ -398,6 +398,7 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
|
|
|
398
398
|
*/
|
|
399
399
|
get showQuestionNumbers(): string;
|
|
400
400
|
set showQuestionNumbers(val: string);
|
|
401
|
+
protected notifySurveyOnChildrenVisibilityChanged(): boolean;
|
|
401
402
|
/**
|
|
402
403
|
* Specifies the location of the Delete Panel button relative to panel content.
|
|
403
404
|
*
|
|
@@ -17,6 +17,7 @@ export declare class QuestionRankingModel extends QuestionCheckboxModel {
|
|
|
17
17
|
getItemTabIndex(item: ItemValue): number;
|
|
18
18
|
protected supportContainerQueries(): boolean;
|
|
19
19
|
get rootClass(): string;
|
|
20
|
+
protected isItemSelectedCore(item: ItemValue): boolean;
|
|
20
21
|
protected getItemClassCore(item: ItemValue, options: any): string;
|
|
21
22
|
getContainerClasses(containerType?: string): string;
|
|
22
23
|
protected isItemCurrentDropTarget(item: ItemValue): boolean;
|
|
@@ -119,17 +119,24 @@ export declare class QuestionSignaturePadModel extends QuestionFileModelBase {
|
|
|
119
119
|
set backgroundImage(val: string);
|
|
120
120
|
get clearButtonCaption(): string;
|
|
121
121
|
/**
|
|
122
|
-
* A Boolean value that specifies whether to show the
|
|
122
|
+
* A Boolean value that specifies whether to show the placeholder text in the signature area.
|
|
123
123
|
*
|
|
124
124
|
* Default value: `true`
|
|
125
|
+
*
|
|
126
|
+
* Use the [`placeholder`](#placeholder) and [`placeholderReadOnly`](#placeholderReadOnly) properties to specify placeholder texts for the signature area in edit mode and in read-only or preview mode.
|
|
125
127
|
*/
|
|
126
128
|
showPlaceholder: boolean;
|
|
129
|
+
get locRenderedPlaceholder(): any;
|
|
127
130
|
nothingIsDrawn(): boolean;
|
|
128
131
|
needShowPlaceholder(): boolean;
|
|
129
132
|
/**
|
|
130
|
-
* A placeholder for the signature area. Applies when the [`showPlaceholder`](#showPlaceholder) property is `true`.
|
|
133
|
+
* A placeholder text for the signature area. Applies when the [`showPlaceholder`](#showPlaceholder) property is `true`.
|
|
131
134
|
*/
|
|
132
135
|
placeholder: string;
|
|
136
|
+
/**
|
|
137
|
+
* A placeholder text for the signature area in read-only or preview mode. Applies when the [`showPlaceholder`](#showPlaceholder) property is `true`.
|
|
138
|
+
*/
|
|
139
|
+
placeholderReadOnly: string;
|
|
133
140
|
onBlur: (event: any) => void;
|
|
134
141
|
protected uploadResultItemToValue(r: any): any;
|
|
135
142
|
protected setValueFromResult(arg: any): void;
|
|
@@ -328,6 +328,7 @@ export declare class SurveyElement<E = any> extends SurveyElementCore implements
|
|
|
328
328
|
isSingleInRow: boolean;
|
|
329
329
|
private shouldAddRunnerStyles;
|
|
330
330
|
protected get isCompact(): boolean;
|
|
331
|
+
private canHaveFrameStyles;
|
|
331
332
|
protected getHasFrameV2(): boolean;
|
|
332
333
|
protected getIsNested(): boolean;
|
|
333
334
|
protected getCssRoot(cssClasses: {
|
|
@@ -398,6 +399,9 @@ export declare class SurveyElement<E = any> extends SurveyElementCore implements
|
|
|
398
399
|
get additionalTitleToolbar(): ActionContainer;
|
|
399
400
|
protected getAdditionalTitleToolbar(): ActionContainer | null;
|
|
400
401
|
protected getCssTitle(cssClasses: any): string;
|
|
402
|
+
get isDisabledStyle(): boolean;
|
|
403
|
+
get isReadOnlyStyle(): boolean;
|
|
404
|
+
get isPreviewStyle(): boolean;
|
|
401
405
|
localeChanged(): void;
|
|
402
406
|
private wrapperElement?;
|
|
403
407
|
setWrapperElement(element?: HTMLElement): void;
|
package/typings/survey.d.ts
CHANGED
|
@@ -2557,7 +2557,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
|
2557
2557
|
get clearValueOnDisableItems(): boolean;
|
|
2558
2558
|
set clearValueOnDisableItems(val: boolean);
|
|
2559
2559
|
getQuestionClearIfInvisible(questionClearIf: string): string;
|
|
2560
|
-
questionVisibilityChanged(question: Question, newValue: boolean): void;
|
|
2560
|
+
questionVisibilityChanged(question: Question, newValue: boolean, resetIndexes: boolean): void;
|
|
2561
2561
|
pageVisibilityChanged(page: PageModel, newValue: boolean): void;
|
|
2562
2562
|
panelVisibilityChanged(panel: PanelModel, newValue: boolean): void;
|
|
2563
2563
|
questionCreated(question: Question): any;
|