survey-core 1.11.14 → 1.12.1
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 +157 -134
- package/defaultV2.css.map +1 -1
- package/defaultV2.fontless.css +157 -134
- 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 +1 -1
- package/i18n/english.min.js +1 -1
- 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/philippines.js +1 -1
- package/i18n/philippines.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 +27 -41
- package/modern.css.map +1 -1
- package/modern.fontless.css +27 -41
- 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/index.js +1 -1
- package/plugins/bootstrap-integration/index.min.js +1 -1
- package/plugins/bootstrap-material-integration/index.js +1 -1
- package/plugins/bootstrap-material-integration/index.min.js +1 -1
- package/survey.core.js +413 -208
- package/survey.core.js.map +1 -1
- package/survey.core.min.js +3 -3
- package/survey.css +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/packages/survey-core/src/choicesRestful.d.ts +1 -0
- package/ts3.4/typings/packages/survey-core/src/defaultCss/defaultV2Css.d.ts +28 -17
- package/ts3.4/typings/packages/survey-core/src/header.d.ts +2 -2
- package/ts3.4/typings/packages/survey-core/src/helpers.d.ts +1 -0
- package/ts3.4/typings/packages/survey-core/src/itemvalue.d.ts +3 -0
- package/ts3.4/typings/packages/survey-core/src/mask/mask_base.d.ts +1 -0
- package/ts3.4/typings/packages/survey-core/src/mask/mask_datetime.d.ts +1 -0
- package/ts3.4/typings/packages/survey-core/src/panel.d.ts +3 -0
- package/ts3.4/typings/packages/survey-core/src/question.d.ts +1 -1
- package/ts3.4/typings/packages/survey-core/src/question_baseselect.d.ts +9 -1
- package/ts3.4/typings/packages/survey-core/src/question_checkbox.d.ts +1 -1
- package/ts3.4/typings/packages/survey-core/src/question_custom.d.ts +1 -1
- package/ts3.4/typings/packages/survey-core/src/question_file.d.ts +1 -1
- package/ts3.4/typings/packages/survey-core/src/question_matrix.d.ts +1 -1
- package/ts3.4/typings/packages/survey-core/src/question_matrixdropdowncolumn.d.ts +2 -2
- package/ts3.4/typings/packages/survey-core/src/question_matrixdynamic.d.ts +1 -1
- package/ts3.4/typings/packages/survey-core/src/question_paneldynamic.d.ts +3 -0
- package/ts3.4/typings/packages/survey-core/src/question_text.d.ts +1 -1
- package/ts3.4/typings/packages/survey-core/src/survey.d.ts +1 -0
- package/ts3.4/typings/packages/survey-core/src/utils/animation.d.ts +1 -0
- package/ts3.4/typings/packages/survey-core/src/utils/responsivity-manager.d.ts +1 -2
- package/ts3.4/typings/packages/survey-core/src/utils/utils.d.ts +14 -0
- package/typings/packages/survey-core/src/choicesRestful.d.ts +1 -0
- package/typings/packages/survey-core/src/defaultCss/defaultV2Css.d.ts +28 -17
- package/typings/packages/survey-core/src/header.d.ts +2 -2
- package/typings/packages/survey-core/src/helpers.d.ts +1 -0
- package/typings/packages/survey-core/src/itemvalue.d.ts +3 -0
- package/typings/packages/survey-core/src/mask/mask_base.d.ts +1 -0
- package/typings/packages/survey-core/src/mask/mask_datetime.d.ts +1 -0
- package/typings/packages/survey-core/src/panel.d.ts +3 -0
- package/typings/packages/survey-core/src/question.d.ts +1 -1
- package/typings/packages/survey-core/src/question_baseselect.d.ts +10 -1
- package/typings/packages/survey-core/src/question_checkbox.d.ts +1 -1
- package/typings/packages/survey-core/src/question_custom.d.ts +1 -1
- package/typings/packages/survey-core/src/question_file.d.ts +1 -1
- package/typings/packages/survey-core/src/question_matrix.d.ts +1 -1
- package/typings/packages/survey-core/src/question_matrixdropdowncolumn.d.ts +2 -2
- package/typings/packages/survey-core/src/question_matrixdynamic.d.ts +1 -1
- package/typings/packages/survey-core/src/question_paneldynamic.d.ts +3 -0
- package/typings/packages/survey-core/src/question_text.d.ts +1 -1
- package/typings/packages/survey-core/src/survey.d.ts +1 -0
- package/typings/packages/survey-core/src/utils/animation.d.ts +1 -0
- package/typings/packages/survey-core/src/utils/responsivity-manager.d.ts +1 -2
- package/typings/packages/survey-core/src/utils/utils.d.ts +14 -0
|
@@ -61,6 +61,7 @@ export declare class InputMaskDateTime extends InputMaskPattern {
|
|
|
61
61
|
get hasTimePart(): boolean;
|
|
62
62
|
private get is12Hours();
|
|
63
63
|
getType(): string;
|
|
64
|
+
getTypeForExpressions(): string;
|
|
64
65
|
protected updateLiterals(): void;
|
|
65
66
|
private leaveOnlyNumbers;
|
|
66
67
|
private getMaskedStrFromISO;
|
|
@@ -345,6 +345,7 @@ export declare class PanelModelBase extends SurveyElement<Question> implements I
|
|
|
345
345
|
getDragDropInfo(): any;
|
|
346
346
|
private updateRowsOnElementRemoved;
|
|
347
347
|
updateRowsRemoveElementFromRow(element: IElement, row: QuestionRowModel): void;
|
|
348
|
+
disableLazyRenderingBeforeElement(el?: IElement): void;
|
|
348
349
|
findRowByElement(el: IElement): QuestionRowModel;
|
|
349
350
|
elementWidthChanged(el: IElement): void;
|
|
350
351
|
get processedTitle(): string;
|
|
@@ -587,6 +588,8 @@ export declare class PanelModel extends PanelModelBase implements IElement {
|
|
|
587
588
|
protected getHasFrameV2(): boolean;
|
|
588
589
|
protected getIsNested(): boolean;
|
|
589
590
|
get showPanelAsPage(): boolean;
|
|
591
|
+
private forcusFirstQuestionOnExpand;
|
|
592
|
+
expand(focusFirstQuestion?: boolean): void;
|
|
590
593
|
protected onElementExpanded(elementIsRendered: boolean): void;
|
|
591
594
|
protected getCssRoot(cssClasses: {
|
|
592
595
|
[index: string]: string;
|
|
@@ -806,7 +806,7 @@ export declare class Question extends SurveyElement<Question> implements IQuesti
|
|
|
806
806
|
private collectErrors;
|
|
807
807
|
protected canRunValidators(isOnValueChanged: boolean): boolean;
|
|
808
808
|
private fireSurveyValidation;
|
|
809
|
-
protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean): void;
|
|
809
|
+
protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean, fireCallback: boolean): void;
|
|
810
810
|
hasRequiredError(): boolean;
|
|
811
811
|
private validatorRunner;
|
|
812
812
|
private isRunningValidatorsValue;
|
|
@@ -11,6 +11,7 @@ import { HashTable } from "./helpers";
|
|
|
11
11
|
export declare class QuestionSelectBase extends Question {
|
|
12
12
|
visibleChoicesChangedCallback: () => void;
|
|
13
13
|
loadedChoicesFromServerCallback: () => void;
|
|
14
|
+
renderedChoicesChangedCallback: () => void;
|
|
14
15
|
private filteredChoicesValue;
|
|
15
16
|
private conditionChoicesVisibleIfRunner;
|
|
16
17
|
private conditionChoicesEnableIfRunner;
|
|
@@ -215,6 +216,7 @@ export declare class QuestionSelectBase extends Question {
|
|
|
215
216
|
protected hasUnknownValue(val: any, includeOther?: boolean, isFilteredChoices?: boolean, checkEmptyValue?: boolean): boolean;
|
|
216
217
|
protected hasUnknownValueItem(val: any, includeOther?: boolean, isFilteredChoices?: boolean, checkEmptyValue?: boolean): boolean;
|
|
217
218
|
protected isValueDisabled(val: any): boolean;
|
|
219
|
+
endLoadingFromJson(): void;
|
|
218
220
|
clearIncorrectValuesCallback: () => void;
|
|
219
221
|
/**
|
|
220
222
|
* Configures access to a RESTful service that returns choice items. Refer to the [`ChoicesRestful`](https://surveyjs.io/form-library/documentation/choicesrestful) class description for more information. You can also specify additional application-wide settings using the [`settings.web`](https://surveyjs.io/form-library/documentation/api-reference/settings#web) object.
|
|
@@ -417,7 +419,7 @@ export declare class QuestionSelectBase extends Question {
|
|
|
417
419
|
supportRefuse(): boolean;
|
|
418
420
|
supportDontKnow(): boolean;
|
|
419
421
|
protected isSupportProperty(propName: string): boolean;
|
|
420
|
-
protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean): void;
|
|
422
|
+
protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean, fireCallback: boolean): void;
|
|
421
423
|
setSurveyImpl(value: ISurveyImpl, isLight?: boolean): void;
|
|
422
424
|
protected setSurveyCore(value: ISurvey): void;
|
|
423
425
|
getStoreOthersAsComment(): boolean;
|
|
@@ -474,6 +476,13 @@ export declare class QuestionSelectBase extends Question {
|
|
|
474
476
|
protected getItemClassCore(item: any, options: any): string;
|
|
475
477
|
getLabelClass(item: ItemValue): string;
|
|
476
478
|
getControlLabelClass(item: ItemValue): string;
|
|
479
|
+
_renderedChoices: Array<ItemValue>;
|
|
480
|
+
onGetRenderedChoicesCallback?: (visibleChoices: Array<ItemValue>) => Array<ItemValue>;
|
|
481
|
+
private updateRenderedChoices;
|
|
482
|
+
private getRenderedChoicesAnimationOptions;
|
|
483
|
+
private renderedChoicesAnimation;
|
|
484
|
+
get renderedChoices(): Array<ItemValue>;
|
|
485
|
+
set renderedChoices(val: Array<ItemValue>);
|
|
477
486
|
private headItemsCount;
|
|
478
487
|
private footItemsCount;
|
|
479
488
|
get headItems(): ItemValue[];
|
|
@@ -100,7 +100,7 @@ export declare class QuestionCheckboxModel extends QuestionCheckboxBase {
|
|
|
100
100
|
protected getMultipleSelectedItems(): Array<ItemValue>;
|
|
101
101
|
protected validateItemValues(itemValues: Array<ItemValue>): Array<ItemValue>;
|
|
102
102
|
protected getAnswerCorrectIgnoreOrder(): boolean;
|
|
103
|
-
protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean): void;
|
|
103
|
+
protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean, fireCallback: boolean): void;
|
|
104
104
|
protected onVisibleChoicesChanged(): void;
|
|
105
105
|
protected onEnableItemCallBack(item: ItemValue): boolean;
|
|
106
106
|
protected onAfterRunItemsEnableCondition(): void;
|
|
@@ -323,7 +323,7 @@ export declare abstract class QuestionCustomModelBase extends Question implement
|
|
|
323
323
|
protected onUpdateQuestionCssClasses(element: Question, css: any): void;
|
|
324
324
|
protected setQuestionValue(newValue: any, updateIsAnswered?: boolean): void;
|
|
325
325
|
protected setNewValue(newValue: any): void;
|
|
326
|
-
protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean): void;
|
|
326
|
+
protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean, fireCallback: boolean): void;
|
|
327
327
|
getSurveyData(): ISurveyData;
|
|
328
328
|
getTextProcessor(): ITextProcessor;
|
|
329
329
|
getValue(name: string): any;
|
|
@@ -43,7 +43,7 @@ export declare class QuestionFileModelBase extends Question {
|
|
|
43
43
|
set waitForUpload(val: boolean);
|
|
44
44
|
clearValue(keepComment?: boolean): void;
|
|
45
45
|
clearOnDeletingContainer(): void;
|
|
46
|
-
protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean): void;
|
|
46
|
+
protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean, fireCallback: boolean): void;
|
|
47
47
|
protected uploadFiles(files: File[]): void;
|
|
48
48
|
protected loadPreview(newValue: any): void;
|
|
49
49
|
protected onChangeQuestionValue(newValue: any): void;
|
|
@@ -145,7 +145,7 @@ export declare class QuestionMatrixModel extends QuestionMatrixBaseModel<MatrixR
|
|
|
145
145
|
getCellDisplayLocText(row: any, column: any): LocalizableString;
|
|
146
146
|
supportGoNextPageAutomatic(): boolean;
|
|
147
147
|
private errorsInRow;
|
|
148
|
-
protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean): void;
|
|
148
|
+
protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean, fireCallback: boolean): void;
|
|
149
149
|
private hasValuesInAllRows;
|
|
150
150
|
private checkErrorsAllRows;
|
|
151
151
|
private addErrorIntoRow;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Question } from "./question";
|
|
2
|
-
import { Base } from "./base";
|
|
2
|
+
import { Base, ArrayChanges } from "./base";
|
|
3
3
|
import { ISurvey, IWrapperObject } from "./base-interfaces";
|
|
4
4
|
import { ItemValue } from "./itemvalue";
|
|
5
5
|
import { ILocalizableOwner, LocalizableString } from "./localizablestring";
|
|
@@ -334,7 +334,7 @@ export declare class MatrixDropdownColumn extends Base implements ILocalizableOw
|
|
|
334
334
|
private setParentQuestionToTemplate;
|
|
335
335
|
private previousChoicesId;
|
|
336
336
|
protected setQuestionProperties(question: Question, onUpdateJson?: (json: any) => any): void;
|
|
337
|
-
protected propertyValueChanged(name: string, oldValue: any, newValue: any): void;
|
|
337
|
+
protected propertyValueChanged(name: string, oldValue: any, newValue: any, arrayChanges?: ArrayChanges, target?: Base): void;
|
|
338
338
|
private doItemValuePropertyChanged;
|
|
339
339
|
private doShowInMultipleColumnsChanged;
|
|
340
340
|
private doColumnVisibilityChanged;
|
|
@@ -250,7 +250,7 @@ export declare class QuestionMatrixDynamicModel extends QuestionMatrixDropdownMo
|
|
|
250
250
|
protected getConditionObjectsRowIndeces(): Array<number>;
|
|
251
251
|
supportGoNextPageAutomatic(): boolean;
|
|
252
252
|
get hasRowText(): boolean;
|
|
253
|
-
protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean): void;
|
|
253
|
+
protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean, fireCallback: boolean): void;
|
|
254
254
|
private hasErrorInMinRows;
|
|
255
255
|
protected getUniqueColumnsNames(): Array<string>;
|
|
256
256
|
protected generateRows(): Array<MatrixDynamicRowModel>;
|
|
@@ -71,6 +71,7 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
|
|
|
71
71
|
get hasSingleInput(): boolean;
|
|
72
72
|
get isContainer(): boolean;
|
|
73
73
|
getFirstQuestionToFocus(withError: boolean): Question;
|
|
74
|
+
protected getFirstInputElementId(): string;
|
|
74
75
|
setSurveyImpl(value: ISurveyImpl, isLight?: boolean): void;
|
|
75
76
|
private assignOnPropertyChangedToTemplate;
|
|
76
77
|
private addOnPropertyChangedCallback;
|
|
@@ -362,6 +363,7 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
|
|
|
362
363
|
*/
|
|
363
364
|
get allowAddPanel(): boolean;
|
|
364
365
|
set allowAddPanel(val: boolean);
|
|
366
|
+
get addButtonId(): string;
|
|
365
367
|
/**
|
|
366
368
|
* Specifies the position of newly added panels.
|
|
367
369
|
*
|
|
@@ -590,6 +592,7 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
|
|
|
590
592
|
private hasPanelBuildFirstTime;
|
|
591
593
|
private isBuildingPanelsFirstTime;
|
|
592
594
|
private buildPanelsFirstTime;
|
|
595
|
+
private get showAddPanelButton();
|
|
593
596
|
private get wasNotRenderedInSurvey();
|
|
594
597
|
private get canBuildPanels();
|
|
595
598
|
onFirstRendering(): void;
|
|
@@ -151,7 +151,7 @@ export declare class QuestionTextModel extends QuestionTextBase {
|
|
|
151
151
|
protected valueForSurveyCore(val: any): any;
|
|
152
152
|
protected valueFromDataCore(val: any): any;
|
|
153
153
|
private dateValidationMessage;
|
|
154
|
-
protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean): void;
|
|
154
|
+
protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean, fireCallback: boolean): void;
|
|
155
155
|
protected canSetValueToSurvey(): boolean;
|
|
156
156
|
protected convertFuncValuetoQuestionValue(val: any): any;
|
|
157
157
|
private getMinMaxErrorText;
|
|
@@ -796,6 +796,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
|
|
|
796
796
|
lazyRenderingFirstBatchSizeValue: number;
|
|
797
797
|
get lazyRenderingFirstBatchSize(): number;
|
|
798
798
|
set lazyRenderingFirstBatchSize(val: number);
|
|
799
|
+
disableLazyRenderingBeforeElement(el: IElement): void;
|
|
799
800
|
private updateLazyRenderingRowsOnRemovingElements;
|
|
800
801
|
/**
|
|
801
802
|
* A list of triggers in the survey.
|
|
@@ -62,6 +62,7 @@ export declare abstract class AnimationProperty<T, S extends IAnimationConsumer<
|
|
|
62
62
|
sync(newValue: T): void;
|
|
63
63
|
private cancelCallback;
|
|
64
64
|
cancel(): void;
|
|
65
|
+
cancelAnimations(): void;
|
|
65
66
|
}
|
|
66
67
|
export declare class AnimationBoolean extends AnimationProperty<boolean> {
|
|
67
68
|
protected animation: AnimationPropertyUtils;
|
|
@@ -9,7 +9,7 @@ export declare class ResponsivityManager {
|
|
|
9
9
|
private model;
|
|
10
10
|
private itemsSelector;
|
|
11
11
|
private dotsItemSize;
|
|
12
|
-
private delayedUpdateFunction
|
|
12
|
+
private delayedUpdateFunction;
|
|
13
13
|
private resizeObserver;
|
|
14
14
|
private isInitialized;
|
|
15
15
|
protected minDimensionConst: number;
|
|
@@ -24,7 +24,6 @@ export declare class ResponsivityManager {
|
|
|
24
24
|
protected getAvailableSpace(): number;
|
|
25
25
|
protected calcItemSize(item: HTMLDivElement): number;
|
|
26
26
|
private calcMinDimension;
|
|
27
|
-
private getRenderedVisibleActionsCount;
|
|
28
27
|
private calcItemsSizes;
|
|
29
28
|
protected calcActionDimensions(currentAction: Action, item: HTMLDivElement): void;
|
|
30
29
|
private get isContainerVisible();
|
|
@@ -54,5 +54,19 @@ export declare function compareArrays<T>(oldValue: Array<T>, newValue: Array<T>,
|
|
|
54
54
|
}>;
|
|
55
55
|
mergedItems: Array<T>;
|
|
56
56
|
};
|
|
57
|
+
interface IVerticalDimensions {
|
|
58
|
+
paddingTop: string;
|
|
59
|
+
paddingBottom: string;
|
|
60
|
+
marginTop: string;
|
|
61
|
+
marginBottom: string;
|
|
62
|
+
heightTo: string;
|
|
63
|
+
borderTopWidth: string;
|
|
64
|
+
borderBottomWidth: string;
|
|
65
|
+
heightFrom: string;
|
|
66
|
+
}
|
|
67
|
+
export declare function getVerticalDimensions(el: HTMLElement): IVerticalDimensions;
|
|
68
|
+
export declare function setPropertiesOnElementForAnimation(el: HTMLElement, styles: any, prefix?: string): void;
|
|
69
|
+
export declare function prepareElementForVerticalAnimation(el: HTMLElement): void;
|
|
70
|
+
export declare function cleanHtmlElementAfterAnimation(el: HTMLElement): void;
|
|
57
71
|
export declare function roundTo2Decimals(number: number): number;
|
|
58
72
|
export { mergeValues, getElementWidth, isContainerVisible, classesToSelector, compareVersions, confirmAction, confirmActionAsync, detectIEOrEdge, detectIEBrowser, loadFileFromBase64, isMobile, isShadowDOM, getElement, isElementVisible, findScrollableParent, scrollElementByChildId, navigateToUrl, wrapUrlForBackgroundImage, createSvg, getIconNameFromProxy, increaseHeightByContent, getOriginalEvent, preventDefaults, findParentByClassNames, getFirstVisibleChild, chooseFiles };
|