survey-react 1.9.45 → 1.9.46

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,5 +1,5 @@
1
1
  /*
2
- * Type definition for Survey JavaScript library for React v1.9.45
2
+ * Type definition for Survey JavaScript library for React v1.9.46
3
3
  * Copyright (c) 2015-2022 Devsoft Baltic OÜ - https://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -399,8 +399,9 @@ export interface ISurvey extends ITextProcessor, ISurveyErrorOwner {
399
399
  isValidateOnValueChanging: boolean;
400
400
  isValidateOnValueChanged: boolean;
401
401
  matrixCellValidate(question: IQuestion, options: any): SurveyError;
402
- dynamicPanelAdded(question: IQuestion, panelIndex?: number, panel?: IPanel): any;
403
- dynamicPanelRemoved(question: IQuestion, panelIndex: number, panel: IPanel): any;
402
+ dynamicPanelAdded(question: IQuestion, panelIndex?: number, panel?: IPanel): void;
403
+ dynamicPanelRemoved(question: IQuestion, panelIndex: number, panel: IPanel): void;
404
+ dynamicPanelRemoving(question: IQuestion, panelIndex: number, panel: IPanel): boolean;
404
405
  dynamicPanelItemValueChanged(question: IQuestion, options: any): any;
405
406
  dragAndDropAllow(options: any): boolean;
406
407
  scrollElementToTop(element: ISurveyElement, question: IQuestion, page: IPage, id: string): any;
@@ -609,7 +610,7 @@ export interface ICustomQuestionTypeConfiguration {
609
610
  */
610
611
  onCreated(question: Question): void;
611
612
  /*
612
- * A function that is called when JSON definitions are loaded.
613
+ * A function that is called when JSON schemas are loaded.
613
614
  *
614
615
  * Parameters:
615
616
  *
@@ -672,7 +673,7 @@ export interface ICustomQuestionTypeConfiguration {
672
673
  */
673
674
  getDisplayValue?: any;
674
675
  /*
675
- * JSON definitions of nested questions. Specify this property to create a [composite question type](https://surveyjs.io/Documentation/Survey-Creator?id=create-composite-question-types).
676
+ * JSON schemas of nested questions. Specify this property to create a [composite question type](https://surveyjs.io/Documentation/Survey-Creator?id=create-composite-question-types).
676
677
  */
677
678
  elementsJSON?: any;
678
679
  /*
@@ -680,7 +681,7 @@ export interface ICustomQuestionTypeConfiguration {
680
681
  */
681
682
  createElements?: any;
682
683
  /*
683
- * A JSON definition for a built-in question type on which the custom question type is based.
684
+ * A JSON schema for a built-in question type on which the custom question type is based.
684
685
  *
685
686
  * Refer to the [Create Specialized Question Types](https://surveyjs.io/Documentation/Survey-Creator?id=create-specialized-question-types) help topic for more information.
686
687
  */
@@ -792,28 +793,7 @@ export declare class Base {
792
793
  protected addEvent<T>(): EventBase<T>;
793
794
  protected onBaseCreating(): void;
794
795
  /*
795
- * Returns the question type.
796
- * Possible values:
797
- * - [*"boolean"*](https://surveyjs.io/Documentation/Library?id=questionbooleanmodel)
798
- * - [*"checkbox"*](https://surveyjs.io/Documentation/Library?id=questioncheckboxmodel)
799
- * - [*"comment"*](https://surveyjs.io/Documentation/Library?id=questioncommentmodel)
800
- * - [*"dropdown"*](https://surveyjs.io/Documentation/Library?id=questiondropdownmodel)
801
- * - [*"expression"*](https://surveyjs.io/Documentation/Library?id=questionexpressionmodel)
802
- * - [*"file"*](https://surveyjs.io/Documentation/Library?id=questionfilemodel)
803
- * - [*"html"*](https://surveyjs.io/Documentation/Library?id=questionhtmlmodel)
804
- * - [*"image"*](https://surveyjs.io/Documentation/Library?id=questionimagemodel)
805
- * - [*"imagepicker"*](https://surveyjs.io/Documentation/Library?id=questionimagepickermodel)
806
- * - [*"matrix"*](https://surveyjs.io/Documentation/Library?id=questionmatrixmodel)
807
- * - [*"matrixdropdown"*](https://surveyjs.io/Documentation/Library?id=questionmatrixdropdownmodel)
808
- * - [*"matrixdynamic"*](https://surveyjs.io/Documentation/Library?id=questionmatrixdynamicmodel)
809
- * - [*"multipletext"*](https://surveyjs.io/Documentation/Library?id=questionmultipletextmodel)
810
- * - [*"panel"*](https://surveyjs.io/Documentation/Library?id=panelmodel)
811
- * - [*"paneldynamic"*](https://surveyjs.io/Documentation/Library?id=questionpaneldynamicmodel)
812
- * - [*"radiogroup"*](https://surveyjs.io/Documentation/Library?id=questionradiogroupmodel)
813
- * - [*"rating"*](https://surveyjs.io/Documentation/Library?id=questionratingmodel)
814
- * - [*"ranking"*](https://surveyjs.io/Documentation/Library?id=questionrankingmodel)
815
- * - [*"signaturepad"*](https://surveyjs.io/Documentation/Library?id=questionsignaturepadmodel)
816
- * - [*"text"*](https://surveyjs.io/Documentation/Library?id=questiontextmodel)
796
+ * Returns the class type as it is used in the JSON schema.
817
797
  */
818
798
  getType(): string;
819
799
  /*
@@ -1038,6 +1018,7 @@ export declare class CustomPropertiesCollection {
1038
1018
  static parentClasses: any;
1039
1019
  static addProperty(className: string, property: any): void;
1040
1020
  static removeProperty(className: string, propertyName: string): void;
1021
+ static removeAllProperties(className: string): void;
1041
1022
  static addClass(className: string, parentClassName: string): void;
1042
1023
  static getProperties(className: string): Array<any>;
1043
1024
  static createProperties(obj: any): void;
@@ -1219,8 +1200,10 @@ export declare class JsonMetadataClass {
1219
1200
  static requiredSymbol: string;
1220
1201
  static typeSymbol: string;
1221
1202
  properties: any;
1203
+ isCustomValue: boolean;
1222
1204
  find(name: string): JsonObjectProperty;
1223
- createProperty(propInfo: any): JsonObjectProperty;
1205
+ get isCustom(): boolean;
1206
+ createProperty(propInfo: any, isCustom?: boolean): JsonObjectProperty;
1224
1207
  }
1225
1208
  export declare class JsonObject {
1226
1209
  static typePropertyName: string;
@@ -1355,6 +1338,7 @@ export declare class QuestionMatrixDropdownRenderedCell {
1355
1338
  question: Question;
1356
1339
  isRemoveRow: boolean;
1357
1340
  choiceIndex: number;
1341
+ isOtherChoice: boolean;
1358
1342
  matrix: QuestionMatrixDropdownModelBase;
1359
1343
  requiredText: string;
1360
1344
  isEmpty: boolean;
@@ -1373,8 +1357,10 @@ export declare class QuestionMatrixDropdownRenderedCell {
1373
1357
  get item(): ItemValue;
1374
1358
  set item(val: ItemValue);
1375
1359
  get isChoice(): boolean;
1360
+ get isItemChoice(): boolean;
1376
1361
  get choiceValue(): any;
1377
1362
  get isCheckbox(): boolean;
1363
+ get isRadio(): boolean;
1378
1364
  get isFirstChoice(): boolean;
1379
1365
  get className(): string;
1380
1366
  get headers(): string;
@@ -1868,7 +1854,7 @@ export declare class ChoicesRestful extends Base {
1868
1854
  * url: "https://surveyjs.io/api/CountriesExample?region={region}"
1869
1855
  * ```
1870
1856
  *
1871
- * [View Example](https://surveyjs.io/Examples/Library/?id=questiontype-dropdownrestfull)
1857
+ * [View Example](https://surveyjs.io/Examples/Library/?id=questiontype-dropdownrestfull (linkStyle))
1872
1858
  */
1873
1859
  get url(): string;
1874
1860
  set url(val: string);
@@ -1891,7 +1877,7 @@ export declare class ChoicesRestful extends Base {
1891
1877
  /*
1892
1878
  * Specifies which property in the obtained data object contains choice values.
1893
1879
  *
1894
- * [View Example](https://surveyjs.io/Examples/Library/?id=questiontype-dropdownrestfull)
1880
+ * [View Example](https://surveyjs.io/Examples/Library/?id=questiontype-dropdownrestfull (linkStyle))
1895
1881
  */
1896
1882
  get valueName(): string;
1897
1883
  set valueName(val: string);
@@ -1994,6 +1980,7 @@ export declare class DragDropCore<T> extends Base {
1994
1980
  export declare class DropdownListModel extends Base {
1995
1981
  constructor(question: Question, onSelectionChanged?: (item: IAction, ...params: any) => void);
1996
1982
  _popupModel: any;
1983
+ focusFirstInputSelector: string;
1997
1984
  protected listModel: ListModel;
1998
1985
  protected popupCssClasses: string;
1999
1986
  protected getAvailableItems(): Array<Action>;
@@ -2260,6 +2247,7 @@ export declare class List extends SurveyElementBase<IListProps, any> {
2260
2247
  renderElement(): JSX.Element;
2261
2248
  renderItems(): any;
2262
2249
  searchElementContent(): JSX.Element;
2250
+ emptyContent(): JSX.Element;
2263
2251
  }
2264
2252
  export declare class ListItem extends SurveyElementBase<IListItemProps, any> {
2265
2253
  constructor(props: any);
@@ -2743,6 +2731,7 @@ export declare class PopupContainer extends SurveyElementBase<any, any> {
2743
2731
  export declare class PopupModel<T = any> extends Base {
2744
2732
  constructor(contentComponentName: string, contentComponentData: T, verticalPosition?: any, horizontalPosition?: any, showPointer?: boolean, isModal?: boolean, onCancel?: any, onApply?: any, onHide?: any, onShow?: any, cssClass?: string, title?: string);
2745
2733
  width: number;
2734
+ focusFirstInputSelector: string;
2746
2735
  contentComponentName: string;
2747
2736
  contentComponentData: T;
2748
2737
  verticalPosition: any;
@@ -3285,7 +3274,8 @@ export declare class AdaptiveActionContainer<T extends Action = Action> extends
3285
3274
  minVisibleItemsCount: number;
3286
3275
  isResponsivenessDisabled: boolean;
3287
3276
  static ContainerID: number;
3288
- get invisibleItemsListModel(): ListModel;
3277
+ get hiddenItemsListModel(): ListModel;
3278
+ protected hiddenItemSelected(item: T): void;
3289
3279
  protected onSet(): void;
3290
3280
  protected onPush(item: T): void;
3291
3281
  protected getRenderedActions(): Array<T>;
@@ -3489,6 +3479,7 @@ export declare class ListModel extends ActionContainer {
3489
3479
  allowSelection: boolean;
3490
3480
  searchEnabled: boolean;
3491
3481
  needFilter: boolean;
3482
+ isEmpty: boolean;
3492
3483
  isExpanded: boolean;
3493
3484
  selectedItem: IAction;
3494
3485
  filteredText: string;
@@ -3503,6 +3494,7 @@ export declare class ListModel extends ActionContainer {
3503
3494
  getItemClass: (itemValue: Action) => string;
3504
3495
  getItemIndent: (itemValue: any) => string;
3505
3496
  get filteredTextPlaceholder(): string;
3497
+ get emptyMessage(): string;
3506
3498
  goToItems(event: any): void;
3507
3499
  onKeyDown(event: any): void;
3508
3500
  onPointerDown(event: any, item: any): void;
@@ -4396,6 +4388,15 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
4396
4388
  */
4397
4389
  onDynamicPanelRemoved: EventBase<SurveyModel>;
4398
4390
  /*
4391
+ * The event is fired before removing a panel from Panel Dynamic question. You can disable removing and optionally clear the data instead.
4392
+ * - `sender` - the survey object that fires the event.
4393
+ * - `options.question` - a panel question.
4394
+ * - `options.panelIndex` - a removed panel index.
4395
+ * - `options.panel` - a removed panel.
4396
+ * - `options.allow` - a boolean property. Set it to `false` to disable the panel removing.
4397
+ */
4398
+ onDynamicPanelRemoving: EventBase<SurveyModel>;
4399
+ /*
4399
4400
  * The event is fired every second if the method `startTimer` has been called.
4400
4401
  */
4401
4402
  onTimer: EventBase<SurveyModel>;
@@ -5366,6 +5367,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
5366
5367
  matrixCellValidate(question: IQuestion, options: any): SurveyError;
5367
5368
  dynamicPanelAdded(question: IQuestion, panelIndex?: number, panel?: IPanel): void;
5368
5369
  dynamicPanelRemoved(question: IQuestion, panelIndex: number, panel: IPanel): void;
5370
+ dynamicPanelRemoving(question: IQuestion, panelIndex: number, panel: IPanel): boolean;
5369
5371
  dynamicPanelItemValueChanged(question: IQuestion, options: any): void;
5370
5372
  dragAndDropAllow(options: any): boolean;
5371
5373
  elementContentVisibilityChanged(element: ISurveyElement): void;
@@ -5618,6 +5620,11 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
5618
5620
  set widthMode(val: string);
5619
5621
  calculatedWidthMode: string;
5620
5622
  calculateWidthMode(): string;
5623
+ /*
5624
+ * Gets or sets the width of the survey root element. It is empty by default. Use it to limit survey width to a particular value.
5625
+ */
5626
+ get width(): string;
5627
+ set width(val: string);
5621
5628
  get timerInfoText(): string;
5622
5629
  get timerModel(): SurveyTimerModel;
5623
5630
  /*
@@ -6127,28 +6134,7 @@ export declare class PanelModelBase extends SurveyElement implements IPanel, ICo
6127
6134
  removeElementCallback: (element: IElement) => void;
6128
6135
  onGetQuestionTitleLocation: any;
6129
6136
  /*
6130
- * Returns the question type.
6131
- * Possible values:
6132
- * - [*"boolean"*](https://surveyjs.io/Documentation/Library?id=questionbooleanmodel)
6133
- * - [*"checkbox"*](https://surveyjs.io/Documentation/Library?id=questioncheckboxmodel)
6134
- * - [*"comment"*](https://surveyjs.io/Documentation/Library?id=questioncommentmodel)
6135
- * - [*"dropdown"*](https://surveyjs.io/Documentation/Library?id=questiondropdownmodel)
6136
- * - [*"expression"*](https://surveyjs.io/Documentation/Library?id=questionexpressionmodel)
6137
- * - [*"file"*](https://surveyjs.io/Documentation/Library?id=questionfilemodel)
6138
- * - [*"html"*](https://surveyjs.io/Documentation/Library?id=questionhtmlmodel)
6139
- * - [*"image"*](https://surveyjs.io/Documentation/Library?id=questionimagemodel)
6140
- * - [*"imagepicker"*](https://surveyjs.io/Documentation/Library?id=questionimagepickermodel)
6141
- * - [*"matrix"*](https://surveyjs.io/Documentation/Library?id=questionmatrixmodel)
6142
- * - [*"matrixdropdown"*](https://surveyjs.io/Documentation/Library?id=questionmatrixdropdownmodel)
6143
- * - [*"matrixdynamic"*](https://surveyjs.io/Documentation/Library?id=questionmatrixdynamicmodel)
6144
- * - [*"multipletext"*](https://surveyjs.io/Documentation/Library?id=questionmultipletextmodel)
6145
- * - [*"panel"*](https://surveyjs.io/Documentation/Library?id=panelmodel)
6146
- * - [*"paneldynamic"*](https://surveyjs.io/Documentation/Library?id=questionpaneldynamicmodel)
6147
- * - [*"radiogroup"*](https://surveyjs.io/Documentation/Library?id=questionradiogroupmodel)
6148
- * - [*"rating"*](https://surveyjs.io/Documentation/Library?id=questionratingmodel)
6149
- * - [*"ranking"*](https://surveyjs.io/Documentation/Library?id=questionrankingmodel)
6150
- * - [*"signaturepad"*](https://surveyjs.io/Documentation/Library?id=questionsignaturepadmodel)
6151
- * - [*"text"*](https://surveyjs.io/Documentation/Library?id=questiontextmodel)
6137
+ * Returns the class type as it is used in the JSON schema.
6152
6138
  */
6153
6139
  getType(): string;
6154
6140
  setSurveyImpl(value: ISurveyImpl, isLight?: boolean): void;
@@ -6510,7 +6496,28 @@ export declare class Question extends SurveyElement implements IQuestion, ICondi
6510
6496
  */
6511
6497
  get isAllowTitleLeft(): boolean;
6512
6498
  /*
6513
- * Returns the type of the object as a string as it represents in the json.
6499
+ * Returns the question type.
6500
+ * Possible values:
6501
+ * - [*"boolean"*](https://surveyjs.io/Documentation/Library?id=questionbooleanmodel)
6502
+ * - [*"checkbox"*](https://surveyjs.io/Documentation/Library?id=questioncheckboxmodel)
6503
+ * - [*"comment"*](https://surveyjs.io/Documentation/Library?id=questioncommentmodel)
6504
+ * - [*"dropdown"*](https://surveyjs.io/Documentation/Library?id=questiondropdownmodel)
6505
+ * - [*"expression"*](https://surveyjs.io/Documentation/Library?id=questionexpressionmodel)
6506
+ * - [*"file"*](https://surveyjs.io/Documentation/Library?id=questionfilemodel)
6507
+ * - [*"html"*](https://surveyjs.io/Documentation/Library?id=questionhtmlmodel)
6508
+ * - [*"image"*](https://surveyjs.io/Documentation/Library?id=questionimagemodel)
6509
+ * - [*"imagepicker"*](https://surveyjs.io/Documentation/Library?id=questionimagepickermodel)
6510
+ * - [*"matrix"*](https://surveyjs.io/Documentation/Library?id=questionmatrixmodel)
6511
+ * - [*"matrixdropdown"*](https://surveyjs.io/Documentation/Library?id=questionmatrixdropdownmodel)
6512
+ * - [*"matrixdynamic"*](https://surveyjs.io/Documentation/Library?id=questionmatrixdynamicmodel)
6513
+ * - [*"multipletext"*](https://surveyjs.io/Documentation/Library?id=questionmultipletextmodel)
6514
+ * - [*"panel"*](https://surveyjs.io/Documentation/Library?id=panelmodel)
6515
+ * - [*"paneldynamic"*](https://surveyjs.io/Documentation/Library?id=questionpaneldynamicmodel)
6516
+ * - [*"radiogroup"*](https://surveyjs.io/Documentation/Library?id=questionradiogroupmodel)
6517
+ * - [*"rating"*](https://surveyjs.io/Documentation/Library?id=questionratingmodel)
6518
+ * - [*"ranking"*](https://surveyjs.io/Documentation/Library?id=questionrankingmodel)
6519
+ * - [*"signaturepad"*](https://surveyjs.io/Documentation/Library?id=questionsignaturepadmodel)
6520
+ * - [*"text"*](https://surveyjs.io/Documentation/Library?id=questiontextmodel)
6514
6521
  */
6515
6522
  getType(): string;
6516
6523
  get isQuestion(): boolean;
@@ -8281,7 +8288,10 @@ export declare class QuestionSelectBase extends Question {
8281
8288
  protected getHasOther(val: any): boolean;
8282
8289
  get validatedValue(): any;
8283
8290
  protected createRestful(): ChoicesRestful;
8291
+ get autoOtherMode(): boolean;
8292
+ set autoOtherMode(val: boolean);
8284
8293
  protected getQuestionComment(): string;
8294
+ protected selectOtherValueFromComment(val: boolean): void;
8285
8295
  isSettingComment: boolean;
8286
8296
  protected setQuestionComment(newValue: string): void;
8287
8297
  clearValue(): void;
@@ -8873,7 +8883,28 @@ export declare class QuestionMatrixDropdownModelBase extends QuestionMatrixBaseM
8873
8883
  onRemoveColumn: (column: MatrixDropdownColumn) => void;
8874
8884
  protected createColumnValues(): any;
8875
8885
  /*
8876
- * Returns the type of the object as a string as it represents in the json.
8886
+ * Returns the question type.
8887
+ * Possible values:
8888
+ * - [*"boolean"*](https://surveyjs.io/Documentation/Library?id=questionbooleanmodel)
8889
+ * - [*"checkbox"*](https://surveyjs.io/Documentation/Library?id=questioncheckboxmodel)
8890
+ * - [*"comment"*](https://surveyjs.io/Documentation/Library?id=questioncommentmodel)
8891
+ * - [*"dropdown"*](https://surveyjs.io/Documentation/Library?id=questiondropdownmodel)
8892
+ * - [*"expression"*](https://surveyjs.io/Documentation/Library?id=questionexpressionmodel)
8893
+ * - [*"file"*](https://surveyjs.io/Documentation/Library?id=questionfilemodel)
8894
+ * - [*"html"*](https://surveyjs.io/Documentation/Library?id=questionhtmlmodel)
8895
+ * - [*"image"*](https://surveyjs.io/Documentation/Library?id=questionimagemodel)
8896
+ * - [*"imagepicker"*](https://surveyjs.io/Documentation/Library?id=questionimagepickermodel)
8897
+ * - [*"matrix"*](https://surveyjs.io/Documentation/Library?id=questionmatrixmodel)
8898
+ * - [*"matrixdropdown"*](https://surveyjs.io/Documentation/Library?id=questionmatrixdropdownmodel)
8899
+ * - [*"matrixdynamic"*](https://surveyjs.io/Documentation/Library?id=questionmatrixdynamicmodel)
8900
+ * - [*"multipletext"*](https://surveyjs.io/Documentation/Library?id=questionmultipletextmodel)
8901
+ * - [*"panel"*](https://surveyjs.io/Documentation/Library?id=panelmodel)
8902
+ * - [*"paneldynamic"*](https://surveyjs.io/Documentation/Library?id=questionpaneldynamicmodel)
8903
+ * - [*"radiogroup"*](https://surveyjs.io/Documentation/Library?id=questionradiogroupmodel)
8904
+ * - [*"rating"*](https://surveyjs.io/Documentation/Library?id=questionratingmodel)
8905
+ * - [*"ranking"*](https://surveyjs.io/Documentation/Library?id=questionrankingmodel)
8906
+ * - [*"signaturepad"*](https://surveyjs.io/Documentation/Library?id=questionsignaturepadmodel)
8907
+ * - [*"text"*](https://surveyjs.io/Documentation/Library?id=questiontextmodel)
8877
8908
  */
8878
8909
  getType(): string;
8879
8910
  dispose(): void;
@@ -9362,6 +9393,7 @@ export declare class QuestionCheckboxModel extends QuestionCheckboxBase {
9362
9393
  protected convertValueToObject(val: any): any;
9363
9394
  protected renderedValueFromDataCore(val: any): any;
9364
9395
  protected rendredValueToDataCore(val: any): any;
9396
+ protected selectOtherValueFromComment(val: boolean): void;
9365
9397
  get checkBoxSvgPath(): string;
9366
9398
  }
9367
9399
  /*
@@ -9750,6 +9782,7 @@ export declare function doKey2ClickUp(evt: any, options?: IAttachKey2clickOption
9750
9782
  export declare function doKey2ClickDown(evt: any, options?: IAttachKey2clickOptions): void;
9751
9783
  export declare function sanitizeEditableContent(element: any): void;
9752
9784
  export declare function getCurrecyCodes(): Array<any>;
9785
+ export declare function checkLibraryVersion(ver: string, libraryName: string): void;
9753
9786
  export declare function showModal(componentName: string, data: any, onApply: any, onCancel?: any, cssClass?: string, title?: string, displayMode?: "popup" | "overlay"): void;
9754
9787
  export declare function showDialog(dialogOptions: any): void;
9755
9788
  export declare function attachKey2click(element: JSX.Element, viewModel?: any, options?: IAttachKey2clickOptions): JSX.Element;
@@ -9772,8 +9805,8 @@ export declare var settings: {
9772
9805
  */
9773
9806
  useLocalTimeZone: boolean,
9774
9807
  /*
9775
- * The prefix that uses to store the question comment, as {questionName} + {commentPrefix}.
9776
- * The default
9808
+ * The prefix that uses to store the question comment, as "questionName + commentPrefix".
9809
+ * The default value is "-Comment"
9777
9810
  */
9778
9811
  commentPrefix: string,
9779
9812
  /*