survey-core 2.3.4 → 2.3.5
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/fesm/i18n/arabic.mjs +1 -1
- package/fesm/i18n/basque.mjs +1 -1
- package/fesm/i18n/bulgarian.mjs +1 -1
- package/fesm/i18n/burmese.mjs +1 -1
- package/fesm/i18n/catalan.mjs +1 -1
- package/fesm/i18n/croatian.mjs +1 -1
- package/fesm/i18n/czech.mjs +1 -1
- package/fesm/i18n/danish.mjs +1 -1
- package/fesm/i18n/dutch.mjs +1 -1
- package/fesm/i18n/english.mjs +1 -1
- package/fesm/i18n/estonian.mjs +1 -1
- package/fesm/i18n/finnish.mjs +1 -1
- package/fesm/i18n/french.mjs +1 -1
- package/fesm/i18n/georgian.mjs +1 -1
- package/fesm/i18n/german.mjs +1 -1
- package/fesm/i18n/greek.mjs +1 -1
- package/fesm/i18n/haitian-creole.mjs +1 -1
- package/fesm/i18n/hebrew.mjs +1 -1
- package/fesm/i18n/hindi.mjs +1 -1
- package/fesm/i18n/hungarian.mjs +1 -1
- package/fesm/i18n/icelandic.mjs +1 -1
- package/fesm/i18n/index.mjs +1 -1
- package/fesm/i18n/indonesian.mjs +1 -1
- package/fesm/i18n/italian.mjs +1 -1
- package/fesm/i18n/japanese.mjs +1 -1
- package/fesm/i18n/kazakh.mjs +1 -1
- package/fesm/i18n/korean.mjs +1 -1
- package/fesm/i18n/latvian.mjs +1 -1
- package/fesm/i18n/lithuanian.mjs +1 -1
- package/fesm/i18n/macedonian.mjs +1 -1
- package/fesm/i18n/malay.mjs +1 -1
- package/fesm/i18n/nl-BE.mjs +1 -1
- package/fesm/i18n/norwegian.mjs +1 -1
- package/fesm/i18n/persian.mjs +1 -1
- package/fesm/i18n/philippines.mjs +1 -1
- package/fesm/i18n/polish.mjs +1 -1
- package/fesm/i18n/portuguese-br.mjs +1 -1
- package/fesm/i18n/portuguese.mjs +1 -1
- package/fesm/i18n/romanian.mjs +1 -1
- package/fesm/i18n/russian.mjs +1 -1
- package/fesm/i18n/serbian.mjs +1 -1
- package/fesm/i18n/simplified-chinese.mjs +1 -1
- package/fesm/i18n/slovak.mjs +1 -1
- package/fesm/i18n/slovenian.mjs +1 -1
- package/fesm/i18n/spanish.mjs +1 -1
- package/fesm/i18n/swahili.mjs +1 -1
- package/fesm/i18n/swedish.mjs +1 -1
- package/fesm/i18n/tajik.mjs +1 -1
- package/fesm/i18n/telugu.mjs +1 -1
- package/fesm/i18n/thai.mjs +1 -1
- package/fesm/i18n/traditional-chinese.mjs +1 -1
- package/fesm/i18n/turkish.mjs +1 -1
- package/fesm/i18n/ukrainian.mjs +1 -1
- package/fesm/i18n/urdu.mjs +1 -1
- package/fesm/i18n/vietnamese.mjs +1 -1
- package/fesm/i18n/welsh.mjs +1 -1
- package/fesm/icons/iconsV1.mjs +1 -1
- package/fesm/icons/iconsV2.mjs +1 -1
- package/fesm/survey-core.mjs +146 -61
- package/fesm/survey-core.mjs.map +1 -1
- package/fesm/survey.i18n.mjs +1 -1
- package/fesm/themes/index.mjs +1 -1
- package/i18n/arabic.js +1 -1
- package/i18n/arabic.min.js.LICENSE.txt +1 -1
- package/i18n/basque.js +1 -1
- package/i18n/basque.min.js.LICENSE.txt +1 -1
- package/i18n/bulgarian.js +1 -1
- package/i18n/bulgarian.min.js.LICENSE.txt +1 -1
- package/i18n/burmese.js +1 -1
- package/i18n/burmese.min.js.LICENSE.txt +1 -1
- package/i18n/catalan.js +1 -1
- package/i18n/catalan.min.js.LICENSE.txt +1 -1
- package/i18n/croatian.js +1 -1
- package/i18n/croatian.min.js.LICENSE.txt +1 -1
- package/i18n/czech.js +1 -1
- package/i18n/czech.min.js.LICENSE.txt +1 -1
- package/i18n/danish.js +1 -1
- package/i18n/danish.min.js.LICENSE.txt +1 -1
- package/i18n/dutch.js +1 -1
- package/i18n/dutch.min.js.LICENSE.txt +1 -1
- package/i18n/english.js +1 -1
- package/i18n/english.min.js.LICENSE.txt +1 -1
- package/i18n/estonian.js +1 -1
- package/i18n/estonian.min.js.LICENSE.txt +1 -1
- package/i18n/finnish.js +1 -1
- package/i18n/finnish.min.js.LICENSE.txt +1 -1
- package/i18n/french.js +1 -1
- package/i18n/french.min.js.LICENSE.txt +1 -1
- package/i18n/georgian.js +1 -1
- package/i18n/georgian.min.js.LICENSE.txt +1 -1
- package/i18n/german.js +1 -1
- package/i18n/german.min.js.LICENSE.txt +1 -1
- package/i18n/greek.js +1 -1
- package/i18n/greek.min.js.LICENSE.txt +1 -1
- package/i18n/haitian-creole.js +1 -1
- package/i18n/haitian-creole.min.js.LICENSE.txt +1 -1
- package/i18n/hebrew.js +1 -1
- package/i18n/hebrew.min.js.LICENSE.txt +1 -1
- package/i18n/hindi.js +1 -1
- package/i18n/hindi.min.js.LICENSE.txt +1 -1
- package/i18n/hungarian.js +1 -1
- package/i18n/hungarian.min.js.LICENSE.txt +1 -1
- package/i18n/icelandic.js +1 -1
- package/i18n/icelandic.min.js.LICENSE.txt +1 -1
- package/i18n/index.js +1 -1
- package/i18n/index.min.js.LICENSE.txt +1 -1
- package/i18n/indonesian.js +1 -1
- package/i18n/indonesian.min.js.LICENSE.txt +1 -1
- package/i18n/italian.js +1 -1
- package/i18n/italian.min.js.LICENSE.txt +1 -1
- package/i18n/japanese.js +1 -1
- package/i18n/japanese.min.js.LICENSE.txt +1 -1
- package/i18n/kazakh.js +1 -1
- package/i18n/kazakh.min.js.LICENSE.txt +1 -1
- package/i18n/korean.js +1 -1
- package/i18n/korean.min.js.LICENSE.txt +1 -1
- package/i18n/latvian.js +1 -1
- package/i18n/latvian.min.js.LICENSE.txt +1 -1
- package/i18n/lithuanian.js +1 -1
- package/i18n/lithuanian.min.js.LICENSE.txt +1 -1
- package/i18n/macedonian.js +1 -1
- package/i18n/macedonian.min.js.LICENSE.txt +1 -1
- package/i18n/malay.js +1 -1
- package/i18n/malay.min.js.LICENSE.txt +1 -1
- package/i18n/nl-BE.js +1 -1
- package/i18n/nl-BE.min.js.LICENSE.txt +1 -1
- package/i18n/norwegian.js +1 -1
- package/i18n/norwegian.min.js.LICENSE.txt +1 -1
- package/i18n/persian.js +1 -1
- package/i18n/persian.min.js.LICENSE.txt +1 -1
- package/i18n/philippines.js +1 -1
- package/i18n/philippines.min.js.LICENSE.txt +1 -1
- package/i18n/polish.js +1 -1
- package/i18n/polish.min.js.LICENSE.txt +1 -1
- package/i18n/portuguese-br.js +1 -1
- package/i18n/portuguese-br.min.js.LICENSE.txt +1 -1
- package/i18n/portuguese.js +1 -1
- package/i18n/portuguese.min.js.LICENSE.txt +1 -1
- package/i18n/romanian.js +1 -1
- package/i18n/romanian.min.js.LICENSE.txt +1 -1
- package/i18n/russian.js +1 -1
- package/i18n/russian.min.js.LICENSE.txt +1 -1
- package/i18n/serbian.js +1 -1
- package/i18n/serbian.min.js.LICENSE.txt +1 -1
- package/i18n/simplified-chinese.js +1 -1
- package/i18n/simplified-chinese.min.js.LICENSE.txt +1 -1
- package/i18n/slovak.js +1 -1
- package/i18n/slovak.min.js.LICENSE.txt +1 -1
- package/i18n/slovenian.js +1 -1
- package/i18n/slovenian.min.js.LICENSE.txt +1 -1
- package/i18n/spanish.js +1 -1
- package/i18n/spanish.min.js.LICENSE.txt +1 -1
- package/i18n/swahili.js +1 -1
- package/i18n/swahili.min.js.LICENSE.txt +1 -1
- package/i18n/swedish.js +1 -1
- package/i18n/swedish.min.js.LICENSE.txt +1 -1
- package/i18n/tajik.js +1 -1
- package/i18n/tajik.min.js.LICENSE.txt +1 -1
- package/i18n/telugu.js +1 -1
- package/i18n/telugu.min.js.LICENSE.txt +1 -1
- package/i18n/thai.js +1 -1
- package/i18n/thai.min.js.LICENSE.txt +1 -1
- package/i18n/traditional-chinese.js +1 -1
- package/i18n/traditional-chinese.min.js.LICENSE.txt +1 -1
- package/i18n/turkish.js +1 -1
- package/i18n/turkish.min.js.LICENSE.txt +1 -1
- package/i18n/ukrainian.js +1 -1
- package/i18n/ukrainian.min.js.LICENSE.txt +1 -1
- package/i18n/urdu.js +1 -1
- package/i18n/urdu.min.js.LICENSE.txt +1 -1
- package/i18n/vietnamese.js +1 -1
- package/i18n/vietnamese.min.js.LICENSE.txt +1 -1
- package/i18n/welsh.js +1 -1
- package/i18n/welsh.min.js.LICENSE.txt +1 -1
- package/icons/iconsV1.js +1 -1
- package/icons/iconsV1.min.js.LICENSE.txt +1 -1
- package/icons/iconsV2.js +1 -1
- package/icons/iconsV2.min.js.LICENSE.txt +1 -1
- package/package.json +1 -1
- package/survey-core.css +1 -1
- package/survey-core.fontless.css +1 -1
- package/survey-core.fontless.min.css +1 -1
- package/survey-core.min.css +1 -1
- package/survey.core.js +147 -60
- package/survey.core.js.map +1 -1
- package/survey.core.min.js +1 -1
- package/survey.core.min.js.LICENSE.txt +1 -1
- package/survey.i18n.js +1 -1
- package/survey.i18n.min.js.LICENSE.txt +1 -1
- package/themes/borderless-dark-panelless.js +1 -1
- package/themes/borderless-dark-panelless.min.js.LICENSE.txt +1 -1
- package/themes/borderless-dark.js +1 -1
- package/themes/borderless-dark.min.js.LICENSE.txt +1 -1
- package/themes/borderless-light-panelless.js +1 -1
- package/themes/borderless-light-panelless.min.js.LICENSE.txt +1 -1
- package/themes/borderless-light.js +1 -1
- package/themes/borderless-light.min.js.LICENSE.txt +1 -1
- package/themes/contrast-dark-panelless.js +1 -1
- package/themes/contrast-dark-panelless.min.js.LICENSE.txt +1 -1
- package/themes/contrast-dark.js +1 -1
- package/themes/contrast-dark.min.js.LICENSE.txt +1 -1
- package/themes/contrast-light-panelless.js +1 -1
- package/themes/contrast-light-panelless.min.js.LICENSE.txt +1 -1
- package/themes/contrast-light.js +1 -1
- package/themes/contrast-light.min.js.LICENSE.txt +1 -1
- package/themes/default-dark-panelless.js +1 -1
- package/themes/default-dark-panelless.min.js.LICENSE.txt +1 -1
- package/themes/default-dark.js +1 -1
- package/themes/default-dark.min.js.LICENSE.txt +1 -1
- package/themes/default-light-panelless.js +1 -1
- package/themes/default-light-panelless.min.js.LICENSE.txt +1 -1
- package/themes/default-light.js +1 -1
- package/themes/default-light.min.js.LICENSE.txt +1 -1
- package/themes/doubleborder-dark-panelless.js +1 -1
- package/themes/doubleborder-dark-panelless.min.js.LICENSE.txt +1 -1
- package/themes/doubleborder-dark.js +1 -1
- package/themes/doubleborder-dark.min.js.LICENSE.txt +1 -1
- package/themes/doubleborder-light-panelles.js +1 -1
- package/themes/doubleborder-light-panelles.min.js.LICENSE.txt +1 -1
- package/themes/doubleborder-light.js +1 -1
- package/themes/doubleborder-light.min.js.LICENSE.txt +1 -1
- package/themes/flat-dark-panelless.js +1 -1
- package/themes/flat-dark-panelless.min.js.LICENSE.txt +1 -1
- package/themes/flat-dark.js +1 -1
- package/themes/flat-dark.min.js.LICENSE.txt +1 -1
- package/themes/flat-light-panelless.js +1 -1
- package/themes/flat-light-panelless.min.js.LICENSE.txt +1 -1
- package/themes/flat-light.js +1 -1
- package/themes/flat-light.min.js.LICENSE.txt +1 -1
- package/themes/index.js +1 -1
- package/themes/index.min.js.LICENSE.txt +1 -1
- package/themes/layered-dark-panelless.js +1 -1
- package/themes/layered-dark-panelless.min.js.LICENSE.txt +1 -1
- package/themes/layered-dark.js +1 -1
- package/themes/layered-dark.min.js.LICENSE.txt +1 -1
- package/themes/layered-light-panelless.js +1 -1
- package/themes/layered-light-panelless.min.js.LICENSE.txt +1 -1
- package/themes/layered-light.js +1 -1
- package/themes/layered-light.min.js.LICENSE.txt +1 -1
- package/themes/plain-dark-panelless.js +1 -1
- package/themes/plain-dark-panelless.min.js.LICENSE.txt +1 -1
- package/themes/plain-dark.js +1 -1
- package/themes/plain-dark.min.js.LICENSE.txt +1 -1
- package/themes/plain-light-panelless.js +1 -1
- package/themes/plain-light-panelless.min.js.LICENSE.txt +1 -1
- package/themes/plain-light.js +1 -1
- package/themes/plain-light.min.js.LICENSE.txt +1 -1
- package/themes/sharp-dark-panelless.js +1 -1
- package/themes/sharp-dark-panelless.min.js.LICENSE.txt +1 -1
- package/themes/sharp-dark.js +1 -1
- package/themes/sharp-dark.min.js.LICENSE.txt +1 -1
- package/themes/sharp-light-panelless.js +1 -1
- package/themes/sharp-light-panelless.min.js.LICENSE.txt +1 -1
- package/themes/sharp-light.js +1 -1
- package/themes/sharp-light.min.js.LICENSE.txt +1 -1
- package/themes/solid-dark-panelless.js +1 -1
- package/themes/solid-dark-panelless.min.js.LICENSE.txt +1 -1
- package/themes/solid-dark.js +1 -1
- package/themes/solid-dark.min.js.LICENSE.txt +1 -1
- package/themes/solid-light-panelless.js +1 -1
- package/themes/solid-light-panelless.min.js.LICENSE.txt +1 -1
- package/themes/solid-light.js +1 -1
- package/themes/solid-light.min.js.LICENSE.txt +1 -1
- package/themes/three-dimensional-dark-panelless.js +1 -1
- package/themes/three-dimensional-dark-panelless.min.js.LICENSE.txt +1 -1
- package/themes/three-dimensional-dark.js +1 -1
- package/themes/three-dimensional-dark.min.js.LICENSE.txt +1 -1
- package/themes/three-dimensional-light-panelless.js +1 -1
- package/themes/three-dimensional-light-panelless.min.js.LICENSE.txt +1 -1
- package/themes/three-dimensional-light.js +1 -1
- package/themes/three-dimensional-light.min.js.LICENSE.txt +1 -1
- package/typings/src/base-interfaces.d.ts +2 -2
- package/typings/src/conditionProcessValue.d.ts +5 -0
- package/typings/src/conditions.d.ts +1 -1
- package/typings/src/question.d.ts +1 -0
- package/typings/src/question_matrixdropdownbase.d.ts +3 -0
- package/typings/src/question_matrixdropdowncolumn.d.ts +1 -0
- package/typings/src/question_matrixdynamic.d.ts +1 -0
- package/typings/src/question_paneldynamic.d.ts +2 -0
- package/typings/src/question_slider.d.ts +2 -1
- package/typings/src/survey.d.ts +2 -2
package/themes/solid-light.js
CHANGED
|
@@ -157,6 +157,8 @@ export interface ISurvey extends ITextProcessor, ISurveyErrorOwner {
|
|
|
157
157
|
values: Array<any>;
|
|
158
158
|
setItems: (displayValues: Array<string>, ...customValues: Array<IValueItemCustomPropValues>) => void;
|
|
159
159
|
}): void;
|
|
160
|
+
questionValueChanging(question: IQuestion, newValue: any): any;
|
|
161
|
+
questionValueChanged(question: IQuestion, oldValue: any): void;
|
|
160
162
|
matrixRowAdded(question: IQuestion, row: any): any;
|
|
161
163
|
matrixColumnAdded(question: IQuestion, column: any): void;
|
|
162
164
|
matrixBeforeRowAdded(options: {
|
|
@@ -180,8 +182,6 @@ export interface ISurvey extends ITextProcessor, ISurveyErrorOwner {
|
|
|
180
182
|
dynamicPanelAdded(question: IQuestion, panelIndex: number, panel: IPanel, updateIndexes: boolean): void;
|
|
181
183
|
dynamicPanelRemoved(question: IQuestion, panelIndex: number, panel: IPanel, updateIndexes: boolean): void;
|
|
182
184
|
dynamicPanelRemoving(question: IQuestion, panelIndex: number, panel: IPanel): boolean;
|
|
183
|
-
dynamicPanelItemValueChanged(question: IQuestion, options: any): void;
|
|
184
|
-
dynamicPanelItemValueChanging(question: IQuestion, options: any): void;
|
|
185
185
|
dynamicPanelGetTabTitle(question: IQuestion, options: any): any;
|
|
186
186
|
dynamicPanelCurrentIndexChanged(question: IQuestion, options: any): void;
|
|
187
187
|
dragAndDropAllow(options: DragDropAllowEvent): boolean;
|
|
@@ -65,6 +65,11 @@ export declare class VariableGetterContext extends ValueGetterContextCore {
|
|
|
65
65
|
protected updateItemByIndex(index: number, res: IValueGetterInfo): void;
|
|
66
66
|
private getValueByItemCore;
|
|
67
67
|
}
|
|
68
|
+
export declare class VariableGetterContextEx extends VariableGetterContext {
|
|
69
|
+
private second;
|
|
70
|
+
constructor(variables: HashTable<any>, second: IValueGetterContext);
|
|
71
|
+
getValue(path: Array<IValueGetterItem>, isRoot: boolean, index: number, createObjects: boolean): IValueGetterInfo;
|
|
72
|
+
}
|
|
68
73
|
export declare class ProcessValue {
|
|
69
74
|
private contextValue;
|
|
70
75
|
properties: HashTable<any>;
|
|
@@ -70,7 +70,7 @@ export declare class ExpressionExecutor implements IExpresionExecutor {
|
|
|
70
70
|
hasFunction(): boolean;
|
|
71
71
|
get isAsync(): boolean;
|
|
72
72
|
canRun(): boolean;
|
|
73
|
-
run(values: HashTable<any>, properties
|
|
73
|
+
run(values: HashTable<any>, properties?: HashTable<any>, id?: number): any;
|
|
74
74
|
runContext(context: IValueGetterContext, properties: HashTable<any>, id: number): any;
|
|
75
75
|
}
|
|
76
76
|
export declare class ExpressionRunnerBase {
|
|
@@ -936,6 +936,7 @@ export declare class Question extends SurveyElement<Question> implements IQuesti
|
|
|
936
936
|
private isSettingQuestionValue;
|
|
937
937
|
protected allowNotifyValueChanged: boolean;
|
|
938
938
|
protected setNewValue(newValue: any): void;
|
|
939
|
+
getValueChangingOptions(childQuestion: Question): any;
|
|
939
940
|
private checkIsValueCorrect;
|
|
940
941
|
protected isNewValueCorrect(val: any): boolean;
|
|
941
942
|
protected isNewValueEqualsToValue(newValue: any): boolean;
|
|
@@ -340,6 +340,7 @@ export declare class QuestionMatrixDropdownModelBase extends QuestionMatrixBaseM
|
|
|
340
340
|
canRemoveRow(row: MatrixDropdownRowModelBase): boolean;
|
|
341
341
|
onPointerDown(pointerDownEvent: PointerEvent, row: MatrixDropdownRowModelBase): void;
|
|
342
342
|
protected onRowsChanged(): void;
|
|
343
|
+
private updateRowsVisibleIndexes;
|
|
343
344
|
private lockResetRenderedTable;
|
|
344
345
|
protected onStartRowAddingRemoving(): void;
|
|
345
346
|
protected onEndRowAdding(): void;
|
|
@@ -368,6 +369,7 @@ export declare class QuestionMatrixDropdownModelBase extends QuestionMatrixBaseM
|
|
|
368
369
|
* - [`"boolean"`](https://surveyjs.io/form-library/documentation/api-reference/boolean-question-model)
|
|
369
370
|
* - [`"expression"`](https://surveyjs.io/form-library/documentation/api-reference/expression-model)
|
|
370
371
|
* - [`"rating"`](https://surveyjs.io/form-library/documentation/api-reference/rating-scale-question-model)
|
|
372
|
+
* - [`"slider"`](https://surveyjs.io/form-library/documentation/api-reference/questionslidermodel)
|
|
371
373
|
*
|
|
372
374
|
* Default value: `"dropdown"` (inherited from [`settings.matrix.defaultCellType`](https://surveyjs.io/form-library/documentation/settings#matrixDefaultCellType))
|
|
373
375
|
*
|
|
@@ -591,6 +593,7 @@ export declare class QuestionMatrixDropdownModelBase extends QuestionMatrixBaseM
|
|
|
591
593
|
getSharedQuestionFromArray(name: string, rowIndex: number): Question;
|
|
592
594
|
onRowChanged(row: MatrixDropdownRowModelBase, columnName: string, newRowValue: any, isDeletingValue: boolean): void;
|
|
593
595
|
private getNewValueOnRowChanged;
|
|
596
|
+
protected correctValueForMinMaxRows(newValue: any): any;
|
|
594
597
|
getRowIndex(row: MatrixDropdownRowModelBase): number;
|
|
595
598
|
getElementsInDesign(includeHidden?: boolean): Array<IElement>;
|
|
596
599
|
hasDetailPanel(row: MatrixDropdownRowModelBase): boolean;
|
|
@@ -66,6 +66,7 @@ export declare class MatrixDropdownColumn extends Base implements ILocalizableOw
|
|
|
66
66
|
* - [`"boolean"`](https://surveyjs.io/form-library/documentation/api-reference/boolean-question-model)
|
|
67
67
|
* - [`"expression"`](https://surveyjs.io/form-library/documentation/api-reference/expression-model)
|
|
68
68
|
* - [`"rating"`](https://surveyjs.io/form-library/documentation/api-reference/rating-scale-question-model)
|
|
69
|
+
* - [`"slider"`](https://surveyjs.io/form-library/documentation/api-reference/questionslidermodel)
|
|
69
70
|
* - `"default"` (default) - Inherits the input type from the [`cellType`](https://surveyjs.io/form-library/documentation/api-reference/matrix-table-with-dropdown-list#cellType) property specified for the parent matrix.
|
|
70
71
|
*
|
|
71
72
|
* The input types are based upon standalone question types. Depending on the selected input type, the matrix column can have additional configuration properties inherited from the corresponding question type. For instance, Dropdown, Checkboxes, Radio Button Group, and Tag Box columns can specify the [`choices`](https://surveyjs.io/form-library/documentation/api-reference/radio-button-question-model#choices) array, similar to the question types upon which they are based. Refer to the API Reference of these question types for a full list of available properties.
|
|
@@ -85,6 +85,7 @@ export declare class QuestionMatrixDynamicModel extends QuestionMatrixDropdownMo
|
|
|
85
85
|
set defaultValueFromLastRow(val: boolean);
|
|
86
86
|
protected isDefaultValueEmpty(): boolean;
|
|
87
87
|
protected valueFromData(val: any): any;
|
|
88
|
+
protected correctValueForMinMaxRows(val: any): any;
|
|
88
89
|
protected isNewValueCorrect(val: any): boolean;
|
|
89
90
|
protected setDefaultValue(): void;
|
|
90
91
|
moveRowByIndex(fromIndex: number, toIndex: number): void;
|
|
@@ -736,9 +736,11 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
|
|
|
736
736
|
private panelSurveyValueChanged;
|
|
737
737
|
protected onSetData(): void;
|
|
738
738
|
protected isNewValueCorrect(val: any): boolean;
|
|
739
|
+
getValueChangingOptions(childQuestion: Question): any;
|
|
739
740
|
getItemIndex(item: ISurveyData): number;
|
|
740
741
|
getVisibleItemIndex(item: ISurveyData): number;
|
|
741
742
|
getPanelItemData(item: ISurveyData): any;
|
|
743
|
+
private getPanelItemDataByIndex;
|
|
742
744
|
private isSetPanelItemData;
|
|
743
745
|
private static maxCheckCount;
|
|
744
746
|
setPanelItemData(item: ISurveyData, name: string, val: any): void;
|
|
@@ -235,7 +235,7 @@ export declare class QuestionSliderModel extends Question implements ISliderLabe
|
|
|
235
235
|
refreshInputRange: (inputRef?: HTMLElement) => void;
|
|
236
236
|
setSliderValue: (newValue: number | number[]) => void;
|
|
237
237
|
setValueByClickOnPath: (event: PointerEvent, rootNode: HTMLElement) => void;
|
|
238
|
-
setValueByClick: (newValue: number, inputNode
|
|
238
|
+
setValueByClick: (newValue: number, inputNode?: HTMLInputElement) => void;
|
|
239
239
|
handleOnChange: (event: InputEvent, inputNumber: number) => void;
|
|
240
240
|
handlePointerDown: (e: PointerEvent) => void;
|
|
241
241
|
handlePointerUp: (event: PointerEvent) => void;
|
|
@@ -264,5 +264,6 @@ export declare class QuestionSliderModel extends Question implements ISliderLabe
|
|
|
264
264
|
private calcGeneratedLabels;
|
|
265
265
|
private formatNumber;
|
|
266
266
|
private ensureValueRespectMinMax;
|
|
267
|
+
private isAllowToChange;
|
|
267
268
|
}
|
|
268
269
|
export {};
|
package/typings/src/survey.d.ts
CHANGED
|
@@ -2517,8 +2517,6 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
|
2517
2517
|
dynamicPanelAdded(question: QuestionPanelDynamicModel, panelIndex: number, panel: PanelModel, updateIndexes: boolean): void;
|
|
2518
2518
|
dynamicPanelRemoved(question: QuestionPanelDynamicModel, panelIndex: number, panel: PanelModel, updateIndexes: boolean): void;
|
|
2519
2519
|
dynamicPanelRemoving(question: QuestionPanelDynamicModel, panelIndex: number, panel: PanelModel): boolean;
|
|
2520
|
-
dynamicPanelItemValueChanged(question: IQuestion, options: any): void;
|
|
2521
|
-
dynamicPanelItemValueChanging(question: IQuestion, options: any): void;
|
|
2522
2520
|
dynamicPanelGetTabTitle(question: IQuestion, options: any): void;
|
|
2523
2521
|
dynamicPanelCurrentIndexChanged(question: IQuestion, options: any): void;
|
|
2524
2522
|
dragAndDropAllow(options: DragDropAllowEvent): boolean;
|
|
@@ -2827,6 +2825,8 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
|
2827
2825
|
* @see getValue
|
|
2828
2826
|
*/
|
|
2829
2827
|
setValue(name: string, newQuestionValue: any, locNotification?: any, allowNotifyValueChanged?: boolean, questionName?: string): void;
|
|
2828
|
+
questionValueChanging(question: IQuestion, newValue: any): any;
|
|
2829
|
+
questionValueChanged(question: IQuestion, oldValue: any): void;
|
|
2830
2830
|
private isValueEmpyOnSetValue;
|
|
2831
2831
|
private nofifyQuesitonHash;
|
|
2832
2832
|
private updateOnSetValue;
|