survey-react 1.11.4 → 1.11.6

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
@@ -191,6 +191,9 @@ declare module "surveyStrings" {
191
191
  localeNames: {
192
192
  [index: string]: any;
193
193
  };
194
+ localeDirections: {
195
+ [index: string]: any;
196
+ };
194
197
  supportedLocales: any[];
195
198
  currentLocale: string;
196
199
  defaultLocale: string;
@@ -989,6 +992,7 @@ declare module "list" {
989
992
  searchClearButtonIcon: string;
990
993
  loadingIndicator: string;
991
994
  itemSelected: string;
995
+ itemGroup: string;
992
996
  itemWithIcon: string;
993
997
  itemDisabled: string;
994
998
  itemFocused: string;
@@ -1059,6 +1063,7 @@ declare module "list" {
1059
1063
  searchClearButtonIcon: string;
1060
1064
  loadingIndicator: string;
1061
1065
  itemSelected: string;
1066
+ itemGroup: string;
1062
1067
  itemWithIcon: string;
1063
1068
  itemDisabled: string;
1064
1069
  itemFocused: string;
@@ -1174,6 +1179,7 @@ declare module "actions/action" {
1174
1179
  * [View Demo](https://surveyjs.io/form-library/examples/add-custom-navigation-button/ (linkStyle))
1175
1180
  */
1176
1181
  action?: (context?: any) => void;
1182
+ onFocus?: (isMouse: boolean, event: any) => void;
1177
1183
  /**
1178
1184
  * One or several CSS classes that you want to apply to the outer `<div>` element.
1179
1185
  *
@@ -1328,6 +1334,7 @@ declare module "actions/action" {
1328
1334
  get disabled(): boolean;
1329
1335
  get canShrink(): boolean;
1330
1336
  get hasTitle(): boolean;
1337
+ get hasSubItems(): boolean;
1331
1338
  getActionBarItemTitleCss(): string;
1332
1339
  getActionBarItemCss(): string;
1333
1340
  getActionRootCss(): string;
@@ -1360,13 +1367,14 @@ declare module "actions/action" {
1360
1367
  private raiseUpdate;
1361
1368
  constructor(innerItem: IAction);
1362
1369
  private createLocTitle;
1363
- setItems(items: Array<IAction>, onSelectionChanged?: (item: Action, ...params: any[]) => void): void;
1370
+ setSubItems(options: IListModel): void;
1364
1371
  location?: string;
1365
1372
  id: string;
1366
1373
  private _visible;
1367
1374
  locTooltipName?: string;
1368
1375
  private _enabled;
1369
1376
  action: (context?: any, isUserAction?: boolean) => void;
1377
+ onFocus: (isMouse: boolean, event: any) => void;
1370
1378
  _component: string;
1371
1379
  items: any;
1372
1380
  _title: string;
@@ -1377,6 +1385,10 @@ declare module "actions/action" {
1377
1385
  get locTitleName(): string;
1378
1386
  set locTitleName(val: string);
1379
1387
  locStrsChanged(): void;
1388
+ doAction(args: any): boolean;
1389
+ private isMouseDown;
1390
+ doMouseDown(): void;
1391
+ doFocus(args: any): void;
1380
1392
  private locStrChangedInPopupModel;
1381
1393
  private locTitleChanged;
1382
1394
  private locTooltipChanged;
@@ -1555,6 +1567,7 @@ declare module "defaultCss/defaultV2Css" {
1555
1567
  titleExpanded: string;
1556
1568
  titleCollapsed: string;
1557
1569
  titleDisabled: string;
1570
+ titleHidden: string;
1558
1571
  titleOnExpand: string;
1559
1572
  titleOnError: string;
1560
1573
  titleBar: string;
@@ -2837,7 +2850,7 @@ declare module "question_custom" {
2837
2850
  */
2838
2851
  onPropertyChanged?(question: Question, propertyName: string, newValue: any): void;
2839
2852
  /**
2840
- * A function that is called after the question value is changed.
2853
+ * A function that is called after the question value is changed in the UI.
2841
2854
  *
2842
2855
  * Parameters:
2843
2856
  *
@@ -2847,10 +2860,12 @@ declare module "question_custom" {
2847
2860
  * The question's [name](https://surveyjs.io/Documentation/Library?id=Question#name).
2848
2861
  * - `newValue`: `any`\
2849
2862
  * A new value for the question.
2863
+ *
2864
+ * If you want to perform some actions when the value is changed in code as well as in the UI, implement the [`onValueSet`](https://surveyjs.io/form-library/documentation/api-reference/icustomquestiontypeconfiguration#onValueSet) function.
2850
2865
  */
2851
2866
  onValueChanged?(question: Question, name: string, newValue: any): void;
2852
2867
  /**
2853
- * A function that is called before a question value is changed.
2868
+ * A function that is called before a question value is changed in the UI.
2854
2869
  *
2855
2870
  * This function should return the value you want to save: `newValue`, a custom value, or `undefined` if you want to clear the question value.
2856
2871
  *
@@ -2918,6 +2933,21 @@ declare module "question_custom" {
2918
2933
  * @returns An error text.
2919
2934
  */
2920
2935
  getErrorText?: (question: Question) => string;
2936
+ /**
2937
+ * A function that is called after the question value is set.
2938
+ *
2939
+ * Parameters:
2940
+ *
2941
+ * - `question`: [Question](https://surveyjs.io/Documentation/Library?id=Question)\
2942
+ * A custom question.
2943
+ * - `newValue`: `any`\
2944
+ * A new value for the question.
2945
+ *
2946
+ * Unlike the [`onValueChanged`](https://surveyjs.io/form-library/documentation/api-reference/icustomquestiontypeconfiguration#onValueChanged) function, which is called only when the question value is changed in the UI, `onValueSet` is called when the value is changed in code as well.
2947
+ *
2948
+ * [View Demo](https://surveyjs.io/survey-creator/examples/smart-search-input/ (linkStyle))
2949
+ */
2950
+ onValueSet?: (question: Question, newValue: any) => void;
2921
2951
  onSetQuestionValue?: (question: Question, newValue: any) => void;
2922
2952
  valueToQuestion?: (val: any) => any;
2923
2953
  valueFromQuestion?: (val: any) => any;
@@ -3459,6 +3489,8 @@ declare module "panel" {
3459
3489
  get questionTitleLocation(): string;
3460
3490
  set questionTitleLocation(value: string);
3461
3491
  getQuestionTitleLocation(): string;
3492
+ availableQuestionTitleWidth(): boolean;
3493
+ hasElementWithTitleLocationLeft(): boolean;
3462
3494
  /**
3463
3495
  * Sets consistent width for question titles in CSS values. Applies only when [`questionTitleLocation`](#questionTitleLocation) evaluates to `"left"`.
3464
3496
  *
@@ -4720,6 +4752,11 @@ declare module "question_baseselect" {
4720
4752
  get hasHeadItems(): boolean;
4721
4753
  get hasFootItems(): boolean;
4722
4754
  get columns(): any[];
4755
+ protected getObservedElementSelector(): string;
4756
+ protected supportResponsiveness(): boolean;
4757
+ allowMultiColumns: boolean;
4758
+ protected onBeforeSetCompactRenderer(): void;
4759
+ protected onBeforeSetDesktopRenderer(): void;
4723
4760
  get hasColumns(): boolean;
4724
4761
  get rowLayout(): boolean;
4725
4762
  get blockedRow(): boolean;
@@ -4744,6 +4781,10 @@ declare module "question_baseselect" {
4744
4781
  protected getDefaultItemComponent(): string;
4745
4782
  /**
4746
4783
  * The name of a component used to render items.
4784
+ *
4785
+ * [View Dropdown Demo](https://surveyjs.io/form-library/examples/dropdown-box-with-custom-items/ (linkStyle))
4786
+ *
4787
+ * [View Ranking Demo](https://surveyjs.io/form-library/examples/dropdown-box-with-custom-items/ (linkStyle))
4747
4788
  */
4748
4789
  get itemComponent(): string;
4749
4790
  set itemComponent(value: string);
@@ -4963,7 +5004,7 @@ declare module "question_expression" {
4963
5004
  unlocCalculation(): void;
4964
5005
  runCondition(values: HashTable<any>, properties: HashTable<any>): void;
4965
5006
  protected canCollectErrors(): boolean;
4966
- protected hasRequiredError(): boolean;
5007
+ hasRequiredError(): boolean;
4967
5008
  private createRunner;
4968
5009
  /**
4969
5010
  * The maximum number of fraction digits. Applies only if the `displayStyle` property is not `"none"`. Accepts values in the range from -1 to 20, where -1 disables the property.
@@ -6779,7 +6820,7 @@ declare module "question_paneldynamic" {
6779
6820
  private removedPanelIndex;
6780
6821
  removePanel(value: any): void;
6781
6822
  private getVisualPanelIndex;
6782
- private getPanelIndexById;
6823
+ private getPanelVisibleIndexById;
6783
6824
  locStrsChanged(): void;
6784
6825
  clearIncorrectValues(): void;
6785
6826
  clearErrors(): void;
@@ -7978,6 +8019,7 @@ declare module "survey-events-api" {
7978
8019
  * A Boolean property that you can set to `false` if you want to cancel the drag and drop operation.
7979
8020
  */
7980
8021
  allow: boolean;
8022
+ allowDropNextToAnother?: boolean;
7981
8023
  /**
7982
8024
  * Obsolete. Use `options.draggedElement` instead.
7983
8025
  */
@@ -10355,6 +10397,7 @@ declare module "survey" {
10355
10397
  *
10356
10398
  * You can override this property for individual Long Text questions: [`autoGrow`](https://surveyjs.io/form-library/documentation/api-reference/comment-field-model#autoGrow).
10357
10399
  * @see allowResizeComment
10400
+ * @see commentAreaRows
10358
10401
  */
10359
10402
  get autoGrowComment(): boolean;
10360
10403
  set autoGrowComment(val: boolean);
@@ -10365,9 +10408,21 @@ declare module "survey" {
10365
10408
  *
10366
10409
  * You can override this property for individual Long Text questions: [`allowResize`](https://surveyjs.io/form-library/documentation/api-reference/comment-field-model#allowResize).
10367
10410
  * @see autoGrowComment
10411
+ * @see commentAreaRows
10368
10412
  */
10369
10413
  get allowResizeComment(): boolean;
10370
10414
  set allowResizeComment(val: boolean);
10415
+ /**
10416
+ * Specifies the visible height of comment areas, measured in lines. Applies to the questions with the [`showCommentArea`](https://surveyjs.io/form-library/documentation/api-reference/question#showCommentArea) or [`showOtherItem`](https://surveyjs.io/form-library/documentation/api-reference/question#showOtherItem) property enabled.
10417
+ *
10418
+ * Default value: 2
10419
+ *
10420
+ * The value of this property is passed on to the `rows` attribute of the underlying `<textarea>` element.
10421
+ * @see autoGrowComment
10422
+ * @see allowResizeComment
10423
+ */
10424
+ get commentAreaRows(): number;
10425
+ set commentAreaRows(val: number);
10371
10426
  /**
10372
10427
  * Specifies when to update the question value in questions with a text input field.
10373
10428
  *
@@ -10428,6 +10483,7 @@ declare module "survey" {
10428
10483
  get locale(): string;
10429
10484
  set locale(value: string);
10430
10485
  private onSurveyLocaleChanged;
10486
+ get localeDir(): string;
10431
10487
  /**
10432
10488
  * Returns an array of locales whose translations are used in the survey.
10433
10489
  *
@@ -10871,6 +10927,24 @@ declare module "survey" {
10871
10927
  */
10872
10928
  mergeData(data: any): void;
10873
10929
  setDataCore(data: any, clearData?: boolean): void;
10930
+ get isSurvey(): boolean;
10931
+ /**
10932
+ * Returns an object with survey results.
10933
+ *
10934
+ * If you want to get a survey results object that mirrors the survey structure, call the `getData()` method with an object that has the `includePages` and `includePanels` properties enabled. Without this object, the `getData()` method returns the [`data`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#data) property value.
10935
+ *
10936
+ * ```js
10937
+ * import { Model } from "survey-core";
10938
+ *
10939
+ * const surveyJson = { ... };
10940
+ * const survey = new Model(surveyJson);
10941
+ * survey.getData({ includePages: true, includePanels: true });
10942
+ * ```
10943
+ */
10944
+ getData(options?: {
10945
+ includePages?: boolean;
10946
+ includePanels?: boolean;
10947
+ }): any;
10874
10948
  getStructuredData(includePages?: boolean, level?: number): any;
10875
10949
  setStructuredData(data: any, doMerge?: boolean): void;
10876
10950
  private collectDataFromPanel;
@@ -12132,55 +12206,6 @@ declare module "survey" {
12132
12206
  questionErrorComponent: string;
12133
12207
  }
12134
12208
  }
12135
- declare module "knockout/kobase" {
12136
- import { Base } from "entries/core";
12137
- export class ImplementorBase {
12138
- element: Base;
12139
- private static doIterateProperties;
12140
- readonly implementedMark = "__surveyImplementedKo";
12141
- constructor(element: Base);
12142
- dispose(): void;
12143
- }
12144
- }
12145
- declare module "knockout/kopage" {
12146
- import { PageModel } from "entries/core";
12147
- import { PanelModelBase, PanelModel, QuestionRowModel } from "entries/core";
12148
- import { SurveyElement } from "entries/core";
12149
- import { ImplementorBase } from "knockout/kobase";
12150
- export class QuestionRow extends QuestionRowModel {
12151
- panel: PanelModelBase;
12152
- koElementAfterRender: any;
12153
- constructor(panel: PanelModelBase);
12154
- getElementType(el: any): "survey-panel" | "survey-question";
12155
- koAfterRender(htmlElements: any, element: SurveyElement): void;
12156
- private elementAfterRender;
12157
- rowAfterRender(elements: HTMLElement[], model: QuestionRow): void;
12158
- dispose(): void;
12159
- }
12160
- export class PanelImplementorBase extends ImplementorBase {
12161
- panel: PanelModelBase;
12162
- constructor(panel: PanelModelBase);
12163
- }
12164
- export class Panel extends PanelModel {
12165
- private _implementor;
12166
- koElementType: any;
12167
- constructor(name?: string);
12168
- protected onBaseCreating(): void;
12169
- createRow(): QuestionRowModel;
12170
- protected onCreating(): void;
12171
- protected onNumChanged(value: number): void;
12172
- dispose(): void;
12173
- }
12174
- export class Page extends PageModel {
12175
- private _implementor;
12176
- constructor(name?: string);
12177
- protected onBaseCreating(): void;
12178
- createRow(): QuestionRowModel;
12179
- protected onCreating(): void;
12180
- protected onNumChanged(value: number): void;
12181
- dispose(): void;
12182
- }
12183
- }
12184
12209
  declare module "survey-element" {
12185
12210
  import { Base } from "base";
12186
12211
  import { IAction } from "actions/action";
@@ -12195,6 +12220,26 @@ declare module "survey-element" {
12195
12220
  export abstract class SurveyElementCore extends Base implements ILocalizableOwner {
12196
12221
  constructor();
12197
12222
  protected createLocTitleProperty(): LocalizableString;
12223
+ /**
12224
+ * Returns `true` if the survey element is a page.
12225
+ * @see Base.getType
12226
+ */
12227
+ get isPage(): boolean;
12228
+ /**
12229
+ * Returns `true` if the survey element is a panel.
12230
+ * @see Base.getType
12231
+ */
12232
+ get isPanel(): boolean;
12233
+ /**
12234
+ * Returns `true` if the survey element is a question.
12235
+ * @see Base.getType
12236
+ */
12237
+ get isQuestion(): boolean;
12238
+ /**
12239
+ * Returns `true` if the element is a survey.
12240
+ * @see Base.getType
12241
+ */
12242
+ get isSurvey(): boolean;
12198
12243
  /**
12199
12244
  * A title for the survey element. If `title` is undefined, the `name` property value is displayed instead.
12200
12245
  *
@@ -12462,21 +12507,6 @@ declare module "survey-element" {
12462
12507
  onFirstRendering(): void;
12463
12508
  endLoadingFromJson(): void;
12464
12509
  setVisibleIndex(index: number): number;
12465
- /**
12466
- * Returns `true` if the survey element is a page.
12467
- * @see Base.getType
12468
- */
12469
- get isPage(): boolean;
12470
- /**
12471
- * Returns `true` if the survey element is a panel.
12472
- * @see Base.getType
12473
- */
12474
- get isPanel(): boolean;
12475
- /**
12476
- * Returns `true` if the survey element is a question.
12477
- * @see Base.getType
12478
- */
12479
- get isQuestion(): boolean;
12480
12510
  delete(doDispose: boolean): void;
12481
12511
  locOwner: ILocalizableOwner;
12482
12512
  /**
@@ -13160,6 +13190,7 @@ declare module "question" {
13160
13190
  set hasOther(val: boolean);
13161
13191
  protected hasOtherChanged(): void;
13162
13192
  get requireUpdateCommentValue(): boolean;
13193
+ readOnlyCallback: () => boolean;
13163
13194
  get isReadOnly(): boolean;
13164
13195
  get isInputReadOnly(): boolean;
13165
13196
  get renderedInputReadOnly(): string;
@@ -13197,6 +13228,7 @@ declare module "question" {
13197
13228
  protected initDataFromSurvey(): void;
13198
13229
  protected initCommentFromSurvey(): void;
13199
13230
  protected runExpression(expression: string): any;
13231
+ get commentAreaRows(): number;
13200
13232
  private get autoGrowComment();
13201
13233
  private get allowResizeComment();
13202
13234
  private get questionValue();
@@ -13397,6 +13429,7 @@ declare module "question" {
13397
13429
  protected isValueExpression(val: any): boolean;
13398
13430
  protected setValueAndRunExpression(runner: ExpressionRunner, defaultValue: any, setFunc: (val: any) => void, values?: HashTable<any>, properties?: HashTable<any>): void;
13399
13431
  protected convertFuncValuetoQuestionValue(val: any): any;
13432
+ private runExpressionSetValueCore;
13400
13433
  private runExpressionSetValue;
13401
13434
  private runDefaultValueExpression;
13402
13435
  /**
@@ -13458,7 +13491,7 @@ declare module "question" {
13458
13491
  protected canRunValidators(isOnValueChanged: boolean): boolean;
13459
13492
  private fireSurveyValidation;
13460
13493
  protected onCheckForErrors(errors: Array<SurveyError>, isOnValueChanged: boolean): void;
13461
- protected hasRequiredError(): boolean;
13494
+ hasRequiredError(): boolean;
13462
13495
  private validatorRunner;
13463
13496
  private isRunningValidatorsValue;
13464
13497
  onCompletedAsyncValidators: (hasErrors: boolean) => void;
@@ -13751,6 +13784,7 @@ declare module "martixBase" {
13751
13784
  protected onColumnsChanged(): void;
13752
13785
  protected onRowsChanged(): void;
13753
13786
  protected updateVisibilityBasedOnRows(): void;
13787
+ protected isVisibleCore(): boolean;
13754
13788
  protected shouldRunColumnExpression(): boolean;
13755
13789
  protected hasRowsAsItems(): boolean;
13756
13790
  protected runItemsCondition(values: HashTable<any>, properties: HashTable<any>): boolean;
@@ -13824,6 +13858,7 @@ declare module "question_matrixdropdownbase" {
13824
13858
  onTotalValueChanged(): any;
13825
13859
  getSurvey(): ISurvey;
13826
13860
  getDataFilteredValues(): any;
13861
+ isMatrixReadOnly(): boolean;
13827
13862
  }
13828
13863
  export class MatrixDropdownCell {
13829
13864
  column: MatrixDropdownColumn;
@@ -13871,6 +13906,8 @@ declare module "question_matrixdropdownbase" {
13871
13906
  get rowName(): any;
13872
13907
  get dataName(): string;
13873
13908
  get text(): any;
13909
+ isRowEnabled(): boolean;
13910
+ protected isRowHasEnabledCondition(): boolean;
13874
13911
  get value(): any;
13875
13912
  set value(value: any);
13876
13913
  get locText(): LocalizableString;
@@ -13923,7 +13960,7 @@ declare module "question_matrixdropdownbase" {
13923
13960
  locStrsChanged(): void;
13924
13961
  updateCellQuestionOnColumnChanged(column: MatrixDropdownColumn, name: string, newValue: any): void;
13925
13962
  updateCellQuestionOnColumnItemValueChanged(column: MatrixDropdownColumn, propertyName: string, obj: ItemValue, name: string, newValue: any, oldValue: any): void;
13926
- onQuestionReadOnlyChanged(parentIsReadOnly: boolean): void;
13963
+ onQuestionReadOnlyChanged(): void;
13927
13964
  private validationValues;
13928
13965
  hasErrors(fireCallback: boolean, rec: any, raiseOnCompletedAsyncValidators: () => void): boolean;
13929
13966
  protected updateCellOnColumnChanged(cell: MatrixDropdownCell, name: string, newValue: any): void;
@@ -14302,6 +14339,7 @@ declare module "question_matrixdropdownbase" {
14302
14339
  onTotalValueChanged(): any;
14303
14340
  getDataFilteredValues(): any;
14304
14341
  getParentTextProcessor(): ITextProcessor;
14342
+ isMatrixReadOnly(): boolean;
14305
14343
  getQuestionFromArray(name: string, index: number): IQuestion;
14306
14344
  private isMatrixValueEmpty;
14307
14345
  private get SurveyModel();
@@ -14391,6 +14429,7 @@ declare module "base-interfaces" {
14391
14429
  isUpdateValueTextOnTyping: boolean;
14392
14430
  autoGrowComment: boolean;
14393
14431
  allowResizeComment: boolean;
14432
+ commentAreaRows: number;
14394
14433
  state: string;
14395
14434
  isLazyRendering: boolean;
14396
14435
  lazyRenderingFirstBatchSize: number;
@@ -15919,11 +15958,18 @@ declare module "settings" {
15919
15958
  */
15920
15959
  ratingMaximumRateValueCount: number;
15921
15960
  /**
15922
- * Specifies whether to close the drop-down menu of a [TagBox](https://surveyjs.io/form-library/examples/how-to-create-multiselect-tag-box/) question after a user selects a value.
15961
+ * Specifies whether to close the drop-down menu of a [Multi-Select Dropdown (Tag Box)](https://surveyjs.io/form-library/examples/how-to-create-multiselect-tag-box/) question after a user selects a value.
15923
15962
  *
15924
- * This setting applies to all TagBox questions on a page. You can use the [closeOnSelect](https://surveyjs.io/form-library/documentation/api-reference/dropdown-tag-box-model#closeOnSelect) property to specify the same setting for an individual TagBox question.
15963
+ * This setting applies to all Multi-Select Dropdown questions on a web page. You can use the [`closeOnSelect`](https://surveyjs.io/form-library/documentation/api-reference/dropdown-tag-box-model#closeOnSelect) property to specify the same setting for an individual Multi-Select Dropdown question.
15925
15964
  */
15926
15965
  tagboxCloseOnSelect: boolean;
15966
+ /**
15967
+ * A time interval in milliseconds between the last entered character and the beginning of search in [Single-](https://surveyjs.io/form-library/examples/create-dropdown-menu-in-javascript/) and [Multi-Select Dropdown](https://surveyjs.io/form-library/examples/how-to-create-multiselect-tag-box/) questions. Applies only to questions with the [`choicesLazyLoadEnabled`](https://surveyjs.io/form-library/documentation/api-reference/dropdown-menu-model#choicesLazyLoadEnabled) property set to `true`.
15968
+ *
15969
+ * Default value: 500
15970
+ *
15971
+ * [View Demo](https://surveyjs.io/form-library/examples/lazy-loading-dropdown/ (linkStyle))
15972
+ */
15927
15973
  dropdownSearchDelay: number;
15928
15974
  /**
15929
15975
  * A function that activates a browser confirm dialog.
@@ -16179,6 +16225,8 @@ declare module "question_matrixdropdown" {
16179
16225
  get rowName(): string;
16180
16226
  get text(): string;
16181
16227
  get locText(): LocalizableString;
16228
+ isRowEnabled(): boolean;
16229
+ protected isRowHasEnabledCondition(): boolean;
16182
16230
  }
16183
16231
  /**
16184
16232
  * A class that describes the Multi-Select Matrix question type. Multi-Select Matrix allows you to use the [Dropdown](https://surveyjs.io/form-library/documentation/questiondropdownmodel), [Checkbox](https://surveyjs.io/form-library/documentation/questioncheckboxmodel), [Radiogroup](https://surveyjs.io/form-library/documentation/questionradiogroupmodel), [Text](https://surveyjs.io/form-library/documentation/questiontextmodel), and [Comment](https://surveyjs.io/form-library/documentation/questioncommentmodel) question types as cell editors.
@@ -16243,7 +16291,6 @@ declare module "dropdownListModel" {
16243
16291
  protected readonly itemSelector = ".sv-list__item";
16244
16292
  protected getFocusFirstInputSelector(): string;
16245
16293
  private itemsSettings;
16246
- private isRunningLoadQuestionChoices;
16247
16294
  protected listModel: ListModel<ItemValue>;
16248
16295
  protected popupCssClasses: string;
16249
16296
  protected listModelFilterStringChanged: (newValue: string) => void;
@@ -16883,6 +16930,7 @@ declare module "question_checkbox" {
16883
16930
  get checkBoxSvgPath(): string;
16884
16931
  get isNewA11yStructure(): boolean;
16885
16932
  get a11y_input_ariaRole(): string;
16933
+ get a11y_input_ariaRequired(): "true" | "false";
16886
16934
  }
16887
16935
  }
16888
16936
  declare module "multiSelectListModel" {
@@ -17213,6 +17261,7 @@ declare module "dragdrop/choices" {
17213
17261
  private imagepickerControlsNode;
17214
17262
  protected get draggedElementType(): string;
17215
17263
  protected createDraggedElementShortcut(text: string, draggedElementNode: HTMLElement, event: PointerEvent): HTMLElement;
17264
+ onShortcutCreated: (node: HTMLElement) => void;
17216
17265
  private createImagePickerShortcut;
17217
17266
  protected getDropTargetByDataAttributeValue(dataAttributeValue: string): ItemValue;
17218
17267
  private getVisibleChoices;
@@ -17241,7 +17290,7 @@ declare module "dragdrop/ranking-choices" {
17241
17290
  protected isDropTargetValid(dropTarget: ItemValue, dropTargetNode?: HTMLElement): boolean;
17242
17291
  protected calculateIsBottom(clientY: number, dropTargetNode?: HTMLElement): boolean;
17243
17292
  protected doDragOver: () => any;
17244
- getIndixies(model: any, fromChoicesArray: Array<ItemValue>, toChoicesArray: Array<ItemValue>): {
17293
+ getIndices(model: any, fromChoicesArray: Array<ItemValue>, toChoicesArray: Array<ItemValue>): {
17245
17294
  fromIndex: number;
17246
17295
  toIndex: number;
17247
17296
  };
@@ -17332,7 +17381,7 @@ declare module "question_ranking" {
17332
17381
  endLoadingFromJson(): void;
17333
17382
  private setDragDropRankingChoices;
17334
17383
  protected createDragDropRankingChoices(): DragDropRankingChoices;
17335
- private draggedChoise;
17384
+ private draggedChoiceValue;
17336
17385
  private draggedTargetNode;
17337
17386
  handlePointerDown: (event: PointerEvent, choice: ItemValue, node: HTMLElement) => void;
17338
17387
  startDrag: (event: PointerEvent) => void;
@@ -17366,9 +17415,6 @@ declare module "question_ranking" {
17366
17415
  */
17367
17416
  get longTap(): boolean;
17368
17417
  set longTap(val: boolean);
17369
- /**
17370
- * The name of a component used to render items.
17371
- */
17372
17418
  protected getDefaultItemComponent(): string;
17373
17419
  /**
17374
17420
  * Specifies whether users can select choices they want to rank.
@@ -17786,9 +17832,14 @@ declare module "question_rating" {
17786
17832
  getItemClassByText(item: ItemValue, text: string): string;
17787
17833
  private getRenderedItemColor;
17788
17834
  getItemStyle(item: ItemValue, highlight?: "none" | "highlighted" | "unhighlighted"): {
17789
- borderColor: string;
17790
- fill: string;
17791
- backgroundColor: string;
17835
+ "--sd-rating-item-color"?: undefined;
17836
+ "--sd-rating-item-color-light"?: undefined;
17837
+ } | {
17838
+ "--sd-rating-item-color": string;
17839
+ "--sd-rating-item-color-light": string;
17840
+ } | {
17841
+ "--sd-rating-item-color": string;
17842
+ "--sd-rating-item-color-light"?: undefined;
17792
17843
  };
17793
17844
  getItemClass(item: ItemValue, highlight?: "none" | "highlighted" | "unhighlighted"): string;
17794
17845
  getControlClass(): string;