survey-react 1.8.75 → 1.8.76

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/survey.react.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- /*Type definitions for Survey JavaScript library v1.8.75
1
+ /*Type definitions for Survey JavaScript library v1.8.76
2
2
  Copyright (c) 2015-2021 Devsoft Baltic OÜ - http://surveyjs.io/
3
3
  Definitions by: Devsoft Baltic OÜ <https://github.com/surveyjs/>
4
4
  */
@@ -233,6 +233,8 @@ export declare var defaultStandardCss: {
233
233
  progressText: string;
234
234
  panelWrapper: string;
235
235
  panelWrapperInRow: string;
236
+ separatorV2: string;
237
+ footer: string;
236
238
  };
237
239
  multipletext: {
238
240
  root: string;
@@ -545,6 +547,8 @@ export declare var defaultBootstrapCss: {
545
547
  progressText: string;
546
548
  panelWrapper: string;
547
549
  panelWrapperInRow: string;
550
+ separatorV2: string;
551
+ footer: string;
548
552
  };
549
553
  multipletext: {
550
554
  root: string;
@@ -861,6 +865,8 @@ export declare var defaultBootstrapMaterialCss: {
861
865
  progressText: string;
862
866
  panelWrapper: string;
863
867
  panelWrapperInRow: string;
868
+ separatorV2: string;
869
+ footer: string;
864
870
  };
865
871
  multipletext: {
866
872
  root: string;
@@ -957,6 +963,322 @@ export declare var defaultBootstrapMaterialCss: {
957
963
  };
958
964
  };
959
965
 
966
+ export declare var defaultV2Css: {
967
+ root: string;
968
+ container: string;
969
+ header: string;
970
+ body: string;
971
+ bodyEmpty: string;
972
+ footer: string;
973
+ title: string;
974
+ description: string;
975
+ logo: string;
976
+ logoImage: string;
977
+ headerText: string;
978
+ navigationButton: string;
979
+ completedPage: string;
980
+ navigation: {
981
+ complete: string;
982
+ prev: string;
983
+ next: string;
984
+ start: string;
985
+ preview: string;
986
+ edit: string;
987
+ };
988
+ panel: {
989
+ title: string;
990
+ titleExpandable: string;
991
+ titleOnExpand: string;
992
+ titleOnError: string;
993
+ description: string;
994
+ container: string;
995
+ content: string;
996
+ icon: string;
997
+ iconExpanded: string;
998
+ footer: string;
999
+ requiredText: string;
1000
+ };
1001
+ paneldynamic: {
1002
+ mainRoot: string;
1003
+ root: string;
1004
+ navigation: string;
1005
+ title: string;
1006
+ button: string;
1007
+ buttonRemove: string;
1008
+ buttonAdd: string;
1009
+ progressTop: string;
1010
+ progressBottom: string;
1011
+ buttonPrev: string;
1012
+ buttonNext: string;
1013
+ progressContainer: string;
1014
+ progress: string;
1015
+ progressBar: string;
1016
+ progressText: string;
1017
+ separator: string;
1018
+ separatorV2: string;
1019
+ panelWrapper: string;
1020
+ footer: string;
1021
+ footerButtonsContainer: string;
1022
+ panelWrapperInRow: string;
1023
+ };
1024
+ progress: string;
1025
+ progressBar: string;
1026
+ progressText: string;
1027
+ progressTextInBar: string;
1028
+ page: {
1029
+ root: string;
1030
+ title: string;
1031
+ description: string;
1032
+ };
1033
+ pageTitle: string;
1034
+ pageDescription: string;
1035
+ row: string;
1036
+ rowMultiple: string;
1037
+ question: {
1038
+ mainRoot: string;
1039
+ flowRoot: string;
1040
+ asCell: string;
1041
+ answered: string;
1042
+ header: string;
1043
+ headerLeft: string;
1044
+ headerTop: string;
1045
+ headerBottom: string;
1046
+ content: string;
1047
+ contentLeft: string;
1048
+ titleLeftRoot: string;
1049
+ titleOnAnswer: string;
1050
+ titleOnError: string;
1051
+ title: string;
1052
+ requiredText: string;
1053
+ number: string;
1054
+ description: string;
1055
+ descriptionUnderInput: string;
1056
+ comment: string;
1057
+ other: string;
1058
+ required: string;
1059
+ titleRequired: string;
1060
+ indent: number;
1061
+ footer: string;
1062
+ formGroup: string;
1063
+ hasError: string;
1064
+ disabled: string;
1065
+ };
1066
+ image: {
1067
+ root: string;
1068
+ image: string;
1069
+ };
1070
+ error: {
1071
+ root: string;
1072
+ icon: string;
1073
+ item: string;
1074
+ locationTop: string;
1075
+ locationBottom: string;
1076
+ };
1077
+ checkbox: {
1078
+ root: string;
1079
+ item: string;
1080
+ itemSelectAll: string;
1081
+ itemNone: string;
1082
+ itemDisabled: string;
1083
+ itemChecked: string;
1084
+ itemHover: string;
1085
+ itemInline: string;
1086
+ label: string;
1087
+ labelChecked: string;
1088
+ itemControl: string;
1089
+ itemDecorator: string;
1090
+ controlLabel: string;
1091
+ materialDecorator: string;
1092
+ other: string;
1093
+ column: string;
1094
+ };
1095
+ radiogroup: {
1096
+ root: string;
1097
+ item: string;
1098
+ itemInline: string;
1099
+ label: string;
1100
+ labelChecked: string;
1101
+ itemDisabled: string;
1102
+ itemChecked: string;
1103
+ itemHover: string;
1104
+ itemControl: string;
1105
+ itemDecorator: string;
1106
+ controlLabel: string;
1107
+ materialDecorator: string;
1108
+ other: string;
1109
+ clearButton: string;
1110
+ column: string;
1111
+ };
1112
+ boolean: {
1113
+ mainRoot: string;
1114
+ root: string;
1115
+ item: string;
1116
+ control: string;
1117
+ itemChecked: string;
1118
+ itemIndeterminate: string;
1119
+ itemDisabled: string;
1120
+ label: string;
1121
+ switch: string;
1122
+ disabledLabel: string;
1123
+ itemDecorator: string;
1124
+ materialDecorator: string;
1125
+ sliderText: string;
1126
+ slider: string;
1127
+ };
1128
+ text: {
1129
+ root: string;
1130
+ small: string;
1131
+ controlDisabled: string;
1132
+ onError: string;
1133
+ };
1134
+ multipletext: {
1135
+ root: string;
1136
+ item: string;
1137
+ itemTitle: string;
1138
+ row: string;
1139
+ cell: string;
1140
+ };
1141
+ dropdown: {
1142
+ root: string;
1143
+ small: string;
1144
+ control: string;
1145
+ selectWrapper: string;
1146
+ other: string;
1147
+ onError: string;
1148
+ label: string;
1149
+ item: string;
1150
+ itemDisabled: string;
1151
+ itemChecked: string;
1152
+ itemHover: string;
1153
+ itemControl: string;
1154
+ itemDecorator: string;
1155
+ controlDisabled: string;
1156
+ controlLabel: string;
1157
+ materialDecorator: string;
1158
+ };
1159
+ imagepicker: {
1160
+ mainRoot: string;
1161
+ root: string;
1162
+ item: string;
1163
+ itemInline: string;
1164
+ itemChecked: string;
1165
+ itemDisabled: string;
1166
+ itemHover: string;
1167
+ label: string;
1168
+ itemControl: string;
1169
+ image: string;
1170
+ itemText: string;
1171
+ clearButton: string;
1172
+ other: string;
1173
+ };
1174
+ matrix: {
1175
+ mainRoot: string;
1176
+ tableWrapper: string;
1177
+ root: string;
1178
+ rowError: string;
1179
+ cell: string;
1180
+ headerCell: string;
1181
+ label: string;
1182
+ itemValue: string;
1183
+ itemChecked: string;
1184
+ itemDisabled: string;
1185
+ itemHover: string;
1186
+ materialDecorator: string;
1187
+ itemDecorator: string;
1188
+ cellText: string;
1189
+ cellTextSelected: string;
1190
+ cellTextDisabled: string;
1191
+ };
1192
+ matrixdropdown: {
1193
+ mainRoot: string;
1194
+ root: string;
1195
+ cell: string;
1196
+ headerCell: string;
1197
+ };
1198
+ matrixdynamic: {
1199
+ mainRoot: string;
1200
+ root: string;
1201
+ cell: string;
1202
+ headerCell: string;
1203
+ button: string;
1204
+ detailRow: string;
1205
+ detailButton: string;
1206
+ detailButtonExpanded: string;
1207
+ detailIcon: string;
1208
+ detailIconExpanded: string;
1209
+ detailPanelCell: string;
1210
+ actionsCell: string;
1211
+ buttonAdd: string;
1212
+ buttonRemove: string;
1213
+ iconAdd: string;
1214
+ iconRemove: string;
1215
+ };
1216
+ rating: {
1217
+ root: string;
1218
+ item: string;
1219
+ itemHover: string;
1220
+ selected: string;
1221
+ minText: string;
1222
+ itemText: string;
1223
+ maxText: string;
1224
+ itemDisabled: string;
1225
+ };
1226
+ comment: {
1227
+ root: string;
1228
+ small: string;
1229
+ controlDisabled: string;
1230
+ };
1231
+ expression: string;
1232
+ file: {
1233
+ root: string;
1234
+ other: string;
1235
+ placeholderInput: string;
1236
+ preview: string;
1237
+ fileSign: string;
1238
+ fileList: string;
1239
+ fileSignBottom: string;
1240
+ fileDecorator: string;
1241
+ fileDecoratorDrag: string;
1242
+ fileInput: string;
1243
+ noFileChosen: string;
1244
+ chooseFile: string;
1245
+ disabled: string;
1246
+ removeButton: string;
1247
+ removeButtonBottom: string;
1248
+ removeFile: string;
1249
+ removeFileSvg: string;
1250
+ wrapper: string;
1251
+ defaultImage: string;
1252
+ removeFileButton: string;
1253
+ dragAreaPlaceholder: string;
1254
+ };
1255
+ signaturepad: {
1256
+ root: string;
1257
+ small: string;
1258
+ controls: string;
1259
+ placeholder: string;
1260
+ clearButton: string;
1261
+ };
1262
+ saveData: {
1263
+ root: string;
1264
+ saving: string;
1265
+ error: string;
1266
+ success: string;
1267
+ saveAgainButton: string;
1268
+ };
1269
+ window: {
1270
+ root: string;
1271
+ body: string;
1272
+ header: {
1273
+ root: string;
1274
+ title: string;
1275
+ button: string;
1276
+ buttonExpanded: string;
1277
+ buttonCollapsed: string;
1278
+ };
1279
+ };
1280
+ };
1281
+
960
1282
  export declare var modernCss: {
961
1283
  root: string;
962
1284
  container: string;
@@ -1011,6 +1333,8 @@ export declare var modernCss: {
1011
1333
  separator: string;
1012
1334
  panelWrapper: string;
1013
1335
  panelWrapperInRow: string;
1336
+ separatorV2: string;
1337
+ footer: string;
1014
1338
  };
1015
1339
  progress: string;
1016
1340
  progressBar: string;
@@ -1975,10 +2299,11 @@ export declare class SurveyQuestionPanelDynamic extends SurveyQuestionElementBas
1975
2299
  handleOnRangeChange(event: any): void;
1976
2300
  protected renderElement(): JSX.Element;
1977
2301
  protected renderNavigator(): JSX.Element;
1978
- protected rendrerPrevButton(): JSX.Element;
1979
- protected rendrerNextButton(): JSX.Element;
2302
+ protected rendrerPrevButton(viewBox?: string, icon?: JSX.Element): JSX.Element;
2303
+ protected rendrerNextButton(viewBox?: string, icon?: JSX.Element): JSX.Element;
1980
2304
  protected renderRange(): JSX.Element;
1981
2305
  protected renderAddRowButton(): JSX.Element;
2306
+ protected renderNavigatorV2(): JSX.Element;
1982
2307
  }
1983
2308
  export declare class SurveyQuestionPanelDynamicItem extends SurveyPanel {
1984
2309
  constructor(props: any);
@@ -2361,11 +2686,17 @@ export declare var settings: {
2361
2686
  */
2362
2687
  executeSkipTriggerOnValueChanged: boolean;
2363
2688
  /**
2364
- * Set this property to change readOnlyCommentRenderMode: "textarea" (default) or "div"
2689
+ * Specifies how the input field of [Comment](https://surveyjs.io/Documentation/Library?id=questioncommentmodel) questions is rendered in the read-only mode.
2690
+ * Available values:
2691
+ * "textarea" (default) - A 'textarea' element is used to render a Comment question's input field.
2692
+ * "div" - A 'div' element is used to render a Comment question's input field.
2365
2693
  */
2366
2694
  readOnlyCommentRenderMode: string;
2367
2695
  /**
2368
- * Set this property to change readOnlyTextRenderMode: "input" (default) or "div"
2696
+ * Specifies how the input field of [Text](https://surveyjs.io/Documentation/Library?id=questiontextmodel) questions is rendered in the read-only mode.
2697
+ * Available values:
2698
+ * "input" (default) - An 'input' element is used to render a Text question's input field.
2699
+ * "div" - A 'div' element is used to render a Text question's input field.
2369
2700
  */
2370
2701
  readOnlyTextRenderMode: string;
2371
2702
  /**
@@ -3017,7 +3348,7 @@ export interface ISurveyElement {
3017
3348
  containsErrors: boolean;
3018
3349
  parent: IPanel;
3019
3350
  skeletonComponentName: string;
3020
- setSurveyImpl(value: ISurveyImpl): any;
3351
+ setSurveyImpl(value: ISurveyImpl, isLight?: boolean): any;
3021
3352
  onSurveyLoad(): any;
3022
3353
  onFirstRendering(): any;
3023
3354
  getType(): string;
@@ -3165,13 +3496,18 @@ export declare abstract class SurveyElementCore extends Base implements ILocaliz
3165
3496
  abstract getRendererContext(locStr: LocalizableString): any;
3166
3497
  abstract getProcessedText(text: string): string;
3167
3498
  }
3499
+ export declare enum DragTypeOverMeEnum {
3500
+ InsideEmptyPanel = 1,
3501
+ MultilineRight = 2,
3502
+ MultilineLeft = 3
3503
+ }
3168
3504
  /**
3169
3505
  * Base class of SurveyJS Elements.
3170
3506
  */
3171
3507
  export declare class SurveyElement extends SurveyElementCore implements ISurveyElement {
3172
3508
  stateChangedCallback: () => void;
3173
3509
  static getProgressInfoByElements(children: Array<SurveyElement>, isRequired: boolean): IProgressInfo;
3174
- isDragOverMe: boolean;
3510
+ dragTypeOverMe: DragTypeOverMeEnum;
3175
3511
  readOnlyChangedCallback: () => void;
3176
3512
  static ScrollElementToTop(elementId: string): boolean;
3177
3513
  static GetFirstNonTextElement(elements: any, removeSpaces?: boolean): any;
@@ -3225,7 +3561,7 @@ export declare class SurveyElement extends SurveyElementCore implements ISurveyE
3225
3561
  getTitleComponentName(): string;
3226
3562
  get titleTabIndex(): number;
3227
3563
  get titleAriaExpanded(): boolean;
3228
- setSurveyImpl(value: ISurveyImpl): void;
3564
+ setSurveyImpl(value: ISurveyImpl, isLight?: boolean): void;
3229
3565
  protected get surveyImpl(): ISurveyImpl;
3230
3566
  get data(): ISurveyData;
3231
3567
  /**
@@ -4655,7 +4991,7 @@ export declare class QuestionMatrixDynamicModel extends QuestionMatrixDropdownMo
4655
4991
  onGetValueForNewRowCallBack: (sender: QuestionMatrixDynamicModel) => any;
4656
4992
  constructor(name: string);
4657
4993
  dragDropMatrixRows: DragDropMatrixRows;
4658
- setSurveyImpl(value: ISurveyImpl): void;
4994
+ setSurveyImpl(value: ISurveyImpl, isLight?: boolean): void;
4659
4995
  startDragMatrixRow(event: PointerEvent, row: MatrixDropdownRowModelBase): void;
4660
4996
  getType(): string;
4661
4997
  get isRowsDynamic(): boolean;
@@ -5058,7 +5394,7 @@ export declare class QuestionMultipleTextModel extends Question implements IMult
5058
5394
  colCountChangedCallback: () => void;
5059
5395
  constructor(name: string);
5060
5396
  getType(): string;
5061
- setSurveyImpl(value: ISurveyImpl): void;
5397
+ setSurveyImpl(value: ISurveyImpl, isLight?: boolean): void;
5062
5398
  get isAllowTitleLeft(): boolean;
5063
5399
  get hasSingleInput(): boolean;
5064
5400
  onSurveyLoad(): void;
@@ -5166,7 +5502,7 @@ export declare class PanelModelBase extends SurveyElement implements IPanel, ICo
5166
5502
  onGetQuestionTitleLocation: () => string;
5167
5503
  constructor(name?: string);
5168
5504
  getType(): string;
5169
- setSurveyImpl(value: ISurveyImpl): void;
5505
+ setSurveyImpl(value: ISurveyImpl, isLight?: boolean): void;
5170
5506
  endLoadingFromJson(): void;
5171
5507
  get hasTitle(): boolean;
5172
5508
  protected canShowTitle(): boolean;
@@ -5568,6 +5904,7 @@ export declare class PanelModel extends PanelModelBase implements IElement {
5568
5904
  protected getCssError(cssClasses: any): string;
5569
5905
  protected onVisibleChanged(): void;
5570
5906
  needResponsiveWidth(): boolean;
5907
+ focusIn: () => void;
5571
5908
  }
5572
5909
 
5573
5910
  /**
@@ -5825,7 +6162,7 @@ export declare class Question extends SurveyElement implements IQuestion, ICondi
5825
6162
  */
5826
6163
  moveTo(container: IPanel, insertBefore?: any): boolean;
5827
6164
  getProgressInfo(): IProgressInfo;
5828
- setSurveyImpl(value: ISurveyImpl): void;
6165
+ setSurveyImpl(value: ISurveyImpl, isLight?: boolean): void;
5829
6166
  getDataFilteredValues(): any;
5830
6167
  getDataFilteredProperties(): any;
5831
6168
  /**
@@ -6000,6 +6337,7 @@ export declare class Question extends SurveyElement implements IQuestion, ICondi
6000
6337
  * @param onError set this parameter to true, to focus the input with the first error, other wise the first input will be focused.
6001
6338
  */
6002
6339
  focus(onError?: boolean): void;
6340
+ focusIn: () => void;
6003
6341
  protected fireCallback(callback: () => void): void;
6004
6342
  getOthersMaxLength(): any;
6005
6343
  protected onCreating(): void;
@@ -6478,7 +6816,7 @@ export declare class QuestionSelectBase extends Question {
6478
6816
  supportNone(): boolean;
6479
6817
  protected isSupportProperty(propName: string): boolean;
6480
6818
  protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean): void;
6481
- setSurveyImpl(value: ISurveyImpl): void;
6819
+ setSurveyImpl(value: ISurveyImpl, isLight?: boolean): void;
6482
6820
  protected setSurveyCore(value: ISurvey): void;
6483
6821
  protected getStoreOthersAsComment(): boolean;
6484
6822
  onSurveyLoad(): void;
@@ -6627,7 +6965,7 @@ export declare class QuestionRankingModel extends QuestionCheckboxModel {
6627
6965
  protected isItemCurrentDropTarget(item: ItemValue): boolean;
6628
6966
  get ghostPositionCssClass(): string;
6629
6967
  getNumberByIndex(index: number): string;
6630
- setSurveyImpl: (value: ISurveyImpl) => void;
6968
+ setSurveyImpl(value: ISurveyImpl, isLight?: boolean): void;
6631
6969
  onSurveyValueChanged(newValue: any): void;
6632
6970
  protected onVisibleChoicesChanged: () => void;
6633
6971
  localeChanged: () => void;
@@ -7443,7 +7781,7 @@ export declare class QuestionPanelDynamicModel extends Question implements IQues
7443
7781
  currentIndexChangedCallback: () => void;
7444
7782
  constructor(name: string);
7445
7783
  get hasSingleInput(): boolean;
7446
- setSurveyImpl(value: ISurveyImpl): void;
7784
+ setSurveyImpl(value: ISurveyImpl, isLight?: boolean): void;
7447
7785
  getType(): string;
7448
7786
  get isCompositeQuestion(): boolean;
7449
7787
  clearOnDeletingContainer(): void;
@@ -8310,6 +8648,20 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
8310
8648
  * <br/> `options.htmlElement` - an HTML element bound to the panel object
8311
8649
  */
8312
8650
  onAfterRenderPanel: EventBase<SurveyModel>;
8651
+ /**
8652
+ * The event occurs when an element within a question gets focus.
8653
+ * <br/> `sender` - A [survey](https://surveyjs.io/Documentation/Library?id=surveymodel) object that fires the event.
8654
+ * <br/> `options.question` - A [question](https://surveyjs.io/Documentation/Library?id=Question) whose child element gets focus.
8655
+ * @see onFocusInPanel
8656
+ */
8657
+ onFocusInQuestion: EventBase<SurveyModel>;
8658
+ /**
8659
+ * The event occurs when an element within a panel gets focus.
8660
+ * <br/> `sender` - A [survey](https://surveyjs.io/Documentation/Library?id=surveymodel) object that fires the event.
8661
+ * <br/> `options.panel` - A [panel](https://surveyjs.io/Documentation/Library?id=PanelModelBase) whose child element gets focus.
8662
+ * @see onFocusInQuestion
8663
+ */
8664
+ onFocusInPanel: EventBase<SurveyModel>;
8313
8665
  /**
8314
8666
  * The event is fired on adding a new row in Matrix Dynamic question.
8315
8667
  * <br/> `sender` - the survey object that fires the event
@@ -9491,11 +9843,12 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
9491
9843
  * Gets whether the current page is the first one.
9492
9844
  */
9493
9845
  get isFirstPage(): boolean;
9494
- get isShowPrevButton(): boolean;
9495
9846
  /**
9496
9847
  * Gets whether the current page is the last one.
9497
9848
  */
9498
9849
  get isLastPage(): boolean;
9850
+ get isShowPrevButton(): boolean;
9851
+ get isShowNextButton(): boolean;
9499
9852
  /**
9500
9853
  * Completes the survey.
9501
9854
  *
@@ -9567,6 +9920,8 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
9567
9920
  afterRenderQuestion(question: IQuestion, htmlElement: HTMLElement): void;
9568
9921
  afterRenderQuestionInput(question: IQuestion, htmlElement: HTMLElement): void;
9569
9922
  afterRenderPanel(panel: IElement, htmlElement: HTMLElement): void;
9923
+ whenQuestionFocusIn(question: IQuestion): void;
9924
+ whenPanelFocusIn(panel: IPanel): void;
9570
9925
  matrixBeforeRowAdded(options: any): void;
9571
9926
  matrixRowAdded(question: IQuestion, row: any): void;
9572
9927
  getQuestionByValueNameFromArray(valueName: string, name: string, index: number): IQuestion;
@@ -10455,7 +10810,7 @@ export declare abstract class QuestionCustomModelBase extends Question implement
10455
10810
  onFirstRendering(): void;
10456
10811
  protected abstract getElement(): SurveyElement;
10457
10812
  protected initElement(el: SurveyElement): void;
10458
- setSurveyImpl(value: ISurveyImpl): void;
10813
+ setSurveyImpl(value: ISurveyImpl, isLight?: boolean): void;
10459
10814
  onSurveyLoad(): void;
10460
10815
  afterRenderQuestionElement(el: HTMLElement): void;
10461
10816
  afterRender(el: any): void;
@@ -10711,7 +11066,8 @@ export declare class DragDropSurveyElements extends DragDropCore<any> {
10711
11066
  protected createElementFromJson(json: object): HTMLElement;
10712
11067
  protected getShortcutText(draggedElement: any): string;
10713
11068
  protected getDropTargetByDataAttributeValue(dataAttributeValue: string, dropTargetNode: HTMLElement, event: PointerEvent): any;
10714
- protected isDropTargetValid(dropTarget: SurveyElement, isBottom: boolean): boolean;
11069
+ protected isDropTargetValid(dropTarget: SurveyElement): boolean;
11070
+ protected calculateIsBottom(clientY: number, dropTargetNode?: HTMLElement): boolean;
10715
11071
  protected isDropTargetDoesntChanged(newIsBottom: boolean): boolean;
10716
11072
  protected findDeepestDropTargetChild(parent: HTMLElement): HTMLElement;
10717
11073
  protected afterDragOver(): void;
@@ -10729,7 +11085,7 @@ export declare class DragDropChoices extends DragDropCore<QuestionSelectBase> {
10729
11085
  protected createDraggedElementShortcut(text: string, draggedElementNode: HTMLElement): HTMLElement;
10730
11086
  protected findDropTargetNodeByDragOverNode(dragOverNode: HTMLElement): HTMLElement;
10731
11087
  protected getDropTargetByDataAttributeValue(dataAttributeValue: string): ItemValue;
10732
- protected isDropTargetValid(dropTarget: ItemValue, isBottom: boolean, dropTargetNode?: HTMLElement): boolean;
11088
+ protected isDropTargetValid(dropTarget: ItemValue): boolean;
10733
11089
  protected calculateIsBottom(clientY: number): boolean;
10734
11090
  protected afterDragOver(dropTargetNode: HTMLElement): void;
10735
11091
  protected doDrop(): any;
@@ -10841,7 +11197,7 @@ export declare class DragDropRankingChoices extends DragDropChoices {
10841
11197
  protected get draggedElementType(): string;
10842
11198
  protected createDraggedElementShortcut(text: string, draggedElementNode: HTMLElement): HTMLElement;
10843
11199
  protected getDropTargetByDataAttributeValue(dataAttributeValue: string): ItemValue;
10844
- protected isDropTargetValid(dropTarget: ItemValue, isBottom: boolean, dropTargetNode?: HTMLElement): boolean;
11200
+ protected isDropTargetValid(dropTarget: ItemValue, dropTargetNode?: HTMLElement): boolean;
10845
11201
  protected calculateIsBottom(clientY: number): boolean;
10846
11202
  protected afterDragOver(dropTargetNode: HTMLElement): void;
10847
11203
  protected ghostPositionChanged(): void;
@@ -10944,7 +11300,7 @@ export declare abstract class DragDropCore<T> extends Base {
10944
11300
  protected doDragOver(dropTargetNode?: HTMLElement): void;
10945
11301
  protected afterDragOver(dropTargetNode?: HTMLElement): void;
10946
11302
  getGhostPosition(item: any): string;
10947
- protected abstract isDropTargetValid(dropTarget: any, isBottom: boolean, dropTargetNode?: HTMLElement): boolean;
11303
+ protected abstract isDropTargetValid(dropTarget: any, dropTargetNode?: HTMLElement): boolean;
10948
11304
  protected handleEscapeButton: (event: KeyboardEvent) => void;
10949
11305
  protected banDropHere: () => void;
10950
11306
  protected doBanDropHere: () => void;
@@ -10952,7 +11308,7 @@ export declare abstract class DragDropCore<T> extends Base {
10952
11308
  protected getDropTargetByNode(dropTargetNode: HTMLElement, event: PointerEvent): any;
10953
11309
  protected abstract getDropTargetByDataAttributeValue(dataAttributeValue: string, dropTargetNode?: HTMLElement, event?: PointerEvent): any;
10954
11310
  protected calculateMiddleOfHTMLElement(HTMLElement: HTMLElement): number;
10955
- protected calculateIsBottom(clientY: number, dropTargetNode?: HTMLElement): boolean;
11311
+ protected abstract calculateIsBottom(clientY: number, dropTargetNode?: HTMLElement): boolean;
10956
11312
  protected findDropTargetNodeByDragOverNode(dragOverNode: HTMLElement): HTMLElement;
10957
11313
  protected abstract doDrop(): any;
10958
11314
  protected clear: () => void;