survey-react 1.9.53 → 1.9.54

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.53
2
+ * Type definition for Survey JavaScript library for React v1.9.54
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
  */
@@ -891,11 +891,11 @@ export declare class Base {
891
891
  protected runConditionCore(values: any, properties: any): void;
892
892
  protected canRunConditions(): boolean;
893
893
  /*
894
- * Register a function that will be called on a property value changed from the propertyNames list.
894
+ * Registers a function to call when a property value changes.
895
895
  */
896
896
  registerPropertyChangedHandlers(propertyNames: any, handler: any, key?: string): void;
897
897
  /*
898
- * Unregister notification on property value changed for all properties in the propetyNames list.
898
+ * Unregisters value change event handlers for the specified properties.
899
899
  */
900
900
  unregisterPropertyChangedHandlers(propertyNames: any, key?: string): void;
901
901
  registerFunctionOnPropertyValueChanged(name: string, func: any, key?: string): void;
@@ -3725,7 +3725,7 @@ export declare class SurveyCustomWidget extends SurveyQuestionElementBase {
3725
3725
  /*
3726
3726
  * A base class for all survey elements.
3727
3727
  */
3728
- export declare class SurveyElement extends SurveyElementCore implements ISurveyElement {
3728
+ export declare class SurveyElement<E = any> extends SurveyElementCore implements ISurveyElement {
3729
3729
  constructor(name: string);
3730
3730
  stateChangedCallback: any;
3731
3731
  static getProgressInfoByElements(children: any, isRequired: boolean): IProgressInfo;
@@ -3733,7 +3733,7 @@ export declare class SurveyElement extends SurveyElementCore implements ISurveyE
3733
3733
  surveyDataValue: ISurveyData;
3734
3734
  surveyValue: ISurvey;
3735
3735
  textProcessorValue: ITextProcessor;
3736
- selectedElementInDesignValue: SurveyElement;
3736
+ selectedElementInDesignValue: any;
3737
3737
  dragTypeOverMe: DragTypeOverMeEnum;
3738
3738
  isDragMe: boolean;
3739
3739
  readOnlyChangedCallback: any;
@@ -3744,6 +3744,15 @@ export declare class SurveyElement extends SurveyElementCore implements ISurveyE
3744
3744
  disableDesignActions: boolean;
3745
3745
  protected onPropertyValueChanged(name: string, oldValue: any, newValue: any): void;
3746
3746
  protected getSkeletonComponentNameCore(): string;
3747
+ parentQuestionValue: any;
3748
+ /*
3749
+ * A Dynamic Panel, Dynamic Matrix, or Dropdown Matrix that includes the current question.
3750
+ *
3751
+ * This property is `null` for standalone questions.
3752
+ */
3753
+ get parentQuestion(): any;
3754
+ setParentQuestion(val: any): void;
3755
+ protected onParentQuestionChanged(): void;
3747
3756
  get skeletonComponentName(): string;
3748
3757
  /*
3749
3758
  * Gets and sets the survey element's expand state.
@@ -3863,8 +3872,8 @@ export declare class SurveyElement extends SurveyElementCore implements ISurveyE
3863
3872
  get containsErrors(): boolean;
3864
3873
  updateContainsErrors(): void;
3865
3874
  protected getContainsErrors(): boolean;
3866
- get selectedElementInDesign(): SurveyElement;
3867
- set selectedElementInDesign(val: SurveyElement);
3875
+ get selectedElementInDesign(): any;
3876
+ set selectedElementInDesign(val: any);
3868
3877
  updateCustomWidgets(): void;
3869
3878
  onSurveyLoad(): void;
3870
3879
  onFirstRendering(): void;
@@ -3913,6 +3922,8 @@ export declare class SurveyElement extends SurveyElementCore implements ISurveyE
3913
3922
  protected get isDefaultV2Theme(): boolean;
3914
3923
  get isErrorsModeTooltip(): boolean;
3915
3924
  protected getIsErrorsModeTooltip(): boolean;
3925
+ protected getIsTooltipErrorSupportedByParent(): boolean;
3926
+ protected getIsTooltipErrorInsideSupported(): boolean;
3916
3927
  get hasParent(): boolean;
3917
3928
  isSingleInRow: boolean;
3918
3929
  protected get hasFrameV2(): boolean;
@@ -6287,7 +6298,7 @@ export declare class MultiSelectListModel extends ListModel {
6287
6298
  /*
6288
6299
  * A base class for a Panel and Page objects.
6289
6300
  */
6290
- export declare class PanelModelBase extends SurveyElement implements IPanel, IConditionRunner, ISurveyErrorOwner, ITitleOwner {
6301
+ export declare class PanelModelBase extends SurveyElement<Question> implements IPanel, IConditionRunner, ISurveyErrorOwner, ITitleOwner {
6291
6302
  constructor(name?: string);
6292
6303
  static panelCounter: number;
6293
6304
  elementsValue: any;
@@ -6419,7 +6430,7 @@ export declare class PanelModelBase extends SurveyElement implements IPanel, ICo
6419
6430
  protected hasErrorsCore(rec: any): void;
6420
6431
  protected getContainsErrors(): boolean;
6421
6432
  updateElementVisibility(): void;
6422
- getFirstQuestionToFocus(withError?: boolean): Question;
6433
+ getFirstQuestionToFocus(withError?: boolean, ignoreCollapseState?: boolean): Question;
6423
6434
  /*
6424
6435
  * Call it to focus the input on the first question
6425
6436
  */
@@ -6549,7 +6560,7 @@ export declare class PanelModelBase extends SurveyElement implements IPanel, ICo
6549
6560
  /*
6550
6561
  * A base class for all questions.
6551
6562
  */
6552
- export declare class Question extends SurveyElement implements IQuestion, IConditionRunner, IValidatorOwner, ITitleOwner {
6563
+ export declare class Question extends SurveyElement<Question> implements IQuestion, IConditionRunner, IValidatorOwner, ITitleOwner {
6553
6564
  constructor(name: string);
6554
6565
  static TextPreprocessorValuesMap: any;
6555
6566
  static questionCounter: number;
@@ -6696,15 +6707,6 @@ export declare class Question extends SurveyElement implements IQuestion, ICondi
6696
6707
  */
6697
6708
  get parent(): IPanel;
6698
6709
  set parent(val: IPanel);
6699
- parentQuestionValue: Question;
6700
- /*
6701
- * A Dynamic Panel, Dynamic Matrix, or Dropdown Matrix that includes the current question.
6702
- *
6703
- * This property is `null` for standalone questions.
6704
- */
6705
- get parentQuestion(): Question;
6706
- setParentQuestion(val: Question): void;
6707
- protected onParentQuestionChanged(): void;
6708
6710
  protected onParentChanged(): void;
6709
6711
  /*
6710
6712
  * Returns `false` if the `titleLocation` property is set to `"hidden"` or if the question cannot have a title (for example, an [HTML](https://surveyjs.io/form-library/documentation/questionhtmlmodel) question).
@@ -6771,13 +6773,13 @@ export declare class Question extends SurveyElement implements IQuestion, ICondi
6771
6773
  set requiredErrorText(val: string);
6772
6774
  get locRequiredErrorText(): LocalizableString;
6773
6775
  /*
6774
- * Specifies a caption displayed above the comment area. Applies when the `hasComment` property is `true`.
6776
+ * Specifies a caption displayed above the comment area. Applies when the `showCommentArea` property is `true`.
6775
6777
  */
6776
6778
  get commentText(): string;
6777
6779
  set commentText(val: string);
6778
6780
  get locCommentText(): LocalizableString;
6779
6781
  /*
6780
- * A placeholder for the comment area. Applies when the `hasComment` property is `true`.
6782
+ * A placeholder for the comment area. Applies when the `showCommentArea` property is `true`.
6781
6783
  */
6782
6784
  get commentPlaceholder(): string;
6783
6785
  set commentPlaceholder(val: string);
@@ -6828,6 +6830,7 @@ export declare class Question extends SurveyElement implements IQuestion, ICondi
6828
6830
  showErrorOnCore(location: string): boolean;
6829
6831
  get showErrorOnTop(): boolean;
6830
6832
  get showErrorOnBottom(): boolean;
6833
+ protected getIsTooltipErrorSupportedByParent(): boolean;
6831
6834
  get showErrorsAboveQuestion(): boolean;
6832
6835
  get showErrorsBelowQuestion(): boolean;
6833
6836
  get cssError(): string;
@@ -6883,7 +6886,7 @@ export declare class Question extends SurveyElement implements IQuestion, ICondi
6883
6886
  get ariaTitleId(): string;
6884
6887
  get ariaRole(): string;
6885
6888
  /*
6886
- * Specifies whether to display the "Other" choice item. Incompatible with the `hasComment` property.
6889
+ * Specifies whether to display the "Other" choice item. Incompatible with the `showCommentArea` property.
6887
6890
  */
6888
6891
  get showOtherItem(): boolean;
6889
6892
  set showOtherItem(val: boolean);
@@ -7017,7 +7020,7 @@ export declare class Question extends SurveyElement implements IQuestion, ICondi
7017
7020
  protected isValueExpression(val: any): boolean;
7018
7021
  protected setValueAndRunExpression(runner: ExpressionRunner, defaultValue: any, setFunc: (val: any) => void, values?: any, properties?: any): void;
7019
7022
  /*
7020
- * A comment to the selected question value. Enable the `hasComment` property to allow users to leave comments.
7023
+ * A comment to the selected question value. Enable the `showCommentArea` property to allow users to leave comments.
7021
7024
  */
7022
7025
  get comment(): string;
7023
7026
  set comment(val: string);
@@ -7256,6 +7259,7 @@ export declare class SurveyTriggerComplete extends SurveyTrigger {
7256
7259
  */
7257
7260
  export declare class SurveyTriggerCopyValue extends SurveyTrigger {
7258
7261
  constructor();
7262
+ protected canBeExecuted(isOnNextPage: boolean): boolean;
7259
7263
  get setToName(): string;
7260
7264
  set setToName(val: string);
7261
7265
  get fromName(): string;
@@ -7281,6 +7285,7 @@ export declare class SurveyTriggerRunExpression extends SurveyTrigger {
7281
7285
  export declare class SurveyTriggerSetValue extends SurveyTrigger {
7282
7286
  constructor();
7283
7287
  getType(): string;
7288
+ protected canBeExecuted(isOnNextPage: boolean): boolean;
7284
7289
  protected onPropertyValueChanged(name: string, oldValue: any, newValue: any): void;
7285
7290
  get setToName(): string;
7286
7291
  set setToName(val: string);
@@ -7511,9 +7516,6 @@ export declare class QuestionBooleanModel extends Question {
7511
7516
  */
7512
7517
  get booleanValue(): any;
7513
7518
  set booleanValue(val: any);
7514
- /*
7515
- * Obsolete, please use booleanValue property
7516
- */
7517
7519
  get checkedValue(): any;
7518
7520
  set checkedValue(val: any);
7519
7521
  get defaultValue(): any;
@@ -7580,7 +7582,7 @@ export declare class QuestionCustomModelBase extends Question implements ISurvey
7580
7582
  itemValuePropertyChanged(item: ItemValue, name: string, oldValue: any, newValue: any): void;
7581
7583
  onFirstRendering(): void;
7582
7584
  protected getElement(): SurveyElement;
7583
- protected initElement(el: SurveyElement): void;
7585
+ protected initElement(el: any): void;
7584
7586
  setSurveyImpl(value: ISurveyImpl, isLight?: boolean): void;
7585
7587
  onSurveyLoad(): void;
7586
7588
  afterRenderQuestionElement(el: any): void;
@@ -7701,16 +7703,21 @@ export declare class QuestionExpressionModel extends Question {
7701
7703
  protected getValueAsStr(val: any): string;
7702
7704
  }
7703
7705
  /*
7704
- * A Model for a file question
7706
+ * A class that describes the File question type.
7707
+ *
7708
+ * [View Demo](https://surveyjs.io/form-library/examples/questiontype-file/ (linkStyle))
7705
7709
  */
7706
7710
  export declare class QuestionFileModel extends Question {
7707
7711
  constructor(name: string);
7708
7712
  isUploading: boolean;
7709
7713
  isDragging: boolean;
7710
7714
  /*
7711
- * The event is fired after question state has been changed.
7712
- * sender the question object that fires the event
7713
- * options.state new question state value.
7715
+ * An event that is raised after the upload state has changed.
7716
+ *
7717
+ * Parameters:
7718
+ *
7719
+ * - `sender` - A question instance that raised the event.
7720
+ * - `options.state` - Current upload state: `"empty"`, `"loading"`, `"loaded"`, or `"error"`.
7714
7721
  */
7715
7722
  onStateChanged: EventBase<QuestionFileModel>;
7716
7723
  previewValue: any;
@@ -7718,21 +7725,25 @@ export declare class QuestionFileModel extends Question {
7718
7725
  indexToShow: number;
7719
7726
  containsMultiplyFiles: boolean;
7720
7727
  mobileFileNavigator: any;
7721
- prevFileAction: Action;
7722
- nextFileAction: Action;
7723
- fileIndexAction: Action;
7728
+ protected prevFileAction: Action;
7729
+ protected nextFileAction: Action;
7730
+ protected fileIndexAction: Action;
7724
7731
  get mobileFileNavigatorVisible(): boolean;
7725
7732
  protected updateElementCssCore(cssClasses: any): void;
7726
7733
  isPreviewVisible(index: number): boolean;
7727
7734
  getType(): string;
7728
7735
  clearOnDeletingContainer(): void;
7729
7736
  /*
7730
- * Set it to true, to show the preview for the image files.
7737
+ * Disable this property only to implement a custom preview.
7738
+ *
7739
+ * [View "Custom Preview" Demo](https://surveyjs.io/form-library/examples/file-custom-preview/ (linkStyle))
7731
7740
  */
7732
7741
  get showPreview(): boolean;
7733
7742
  set showPreview(val: boolean);
7734
7743
  /*
7735
- * Set it to true, to allow select multiple files.
7744
+ * Specifies whether users can upload multiple files.
7745
+ *
7746
+ * Default value: `false`
7736
7747
  */
7737
7748
  get allowMultiple(): boolean;
7738
7749
  set allowMultiple(val: boolean);
@@ -7747,98 +7758,72 @@ export declare class QuestionFileModel extends Question {
7747
7758
  get imageWidth(): string;
7748
7759
  set imageWidth(val: string);
7749
7760
  /*
7750
- * Accepted file types. Passed to the 'accept' attribute of the file input tag. See https://www.w3schools.com/tags/att_input_accept.asp for more details.
7761
+ * An [accept](https://www.w3schools.com/tags/att_input_accept.asp) attribute value for the underlying `<input>` element.
7751
7762
  */
7752
7763
  get acceptedTypes(): string;
7753
7764
  set acceptedTypes(val: string);
7754
7765
  /*
7755
- * Set it to false if you do not want to serialize file content as text in the survey.data.
7756
- * In this case, you have to write the code onUploadFiles event to store the file content.
7766
+ * Specifies whether to store file content as text in `SurveyModel`'s [`data`](https://surveyjs.io/form-library/documentation/surveymodel#data) property.
7767
+ *
7768
+ * If you disable this property, implement `SurveyModel`'s [`onUploadFiles`](https://surveyjs.io/form-library/documentation/surveymodel#onUploadFiles) event handler to specify how to store file content.
7757
7769
  */
7758
7770
  get storeDataAsText(): boolean;
7759
7771
  set storeDataAsText(val: boolean);
7760
7772
  /*
7761
- * Set it to true if you want to wait until files will be uploaded to your server.
7773
+ * Enable this property if you want to wait until files are uploaded to complete the survey.
7774
+ *
7775
+ * Default value: `false`
7762
7776
  */
7763
7777
  get waitForUpload(): boolean;
7764
7778
  set waitForUpload(val: boolean);
7765
7779
  /*
7766
- * Set it to false if you want to disable images preview.
7780
+ * Specifies whether to show a preview of image files.
7767
7781
  */
7768
7782
  get allowImagesPreview(): boolean;
7769
7783
  set allowImagesPreview(val: boolean);
7770
7784
  /*
7771
- * Use this property to setup the maximum allowed file size.
7785
+ * Maximum allowed file size, measured in bytes.
7786
+ *
7787
+ * Default value: 0 (unlimited)
7772
7788
  */
7773
7789
  get maxSize(): number;
7774
7790
  set maxSize(val: number);
7775
7791
  /*
7776
- * Use this property to setup confirmation to remove file.
7792
+ * Specifies whether users should confirm file deletion.
7793
+ *
7794
+ * Default value: `false`
7777
7795
  */
7778
7796
  get needConfirmRemoveFile(): boolean;
7779
7797
  set needConfirmRemoveFile(val: boolean);
7780
- /*
7781
- * The remove file confirmation message.
7782
- */
7783
7798
  getConfirmRemoveMessage(fileName: string): string;
7784
- /*
7785
- * The remove file confirmation message template.
7786
- */
7787
7799
  get confirmRemoveMessage(): string;
7788
7800
  set confirmRemoveMessage(val: string);
7789
7801
  get locConfirmRemoveMessage(): LocalizableString;
7790
- /*
7791
- * The remove all files confirmation message.
7792
- */
7793
7802
  get confirmRemoveAllMessage(): string;
7794
7803
  set confirmRemoveAllMessage(val: string);
7795
7804
  get locConfirmRemoveAllMessage(): LocalizableString;
7796
- /*
7797
- * The no file chosen caption for modern theme.
7798
- */
7799
7805
  get noFileChosenCaption(): string;
7800
7806
  set noFileChosenCaption(val: string);
7801
7807
  get locNoFileChosenCaption(): LocalizableString;
7802
- /*
7803
- * The choose files button caption for modern theme.
7804
- */
7805
7808
  get chooseButtonCaption(): string;
7806
7809
  set chooseButtonCaption(val: string);
7807
7810
  get locChooseButtonCaption(): LocalizableString;
7808
- /*
7809
- * The clean files button caption.
7810
- */
7811
- get cleanButtonCaption(): string;
7812
- set cleanButtonCaption(val: string);
7813
- get locCleanButtonCaption(): LocalizableString;
7814
- /*
7815
- * The remove file button caption.
7816
- */
7811
+ get clearButtonCaption(): string;
7812
+ set clearButtonCaption(val: string);
7813
+ get locClearButtonCaption(): LocalizableString;
7817
7814
  get removeFileCaption(): string;
7818
7815
  set removeFileCaption(val: string);
7819
7816
  get locRemoveFileCaption(): LocalizableString;
7820
- /*
7821
- * The loading file input title.
7822
- */
7823
7817
  get loadingFileTitle(): string;
7824
7818
  set loadingFileTitle(val: string);
7825
7819
  get locLoadingFileTitle(): LocalizableString;
7826
- /*
7827
- * The choose file input title.
7828
- */
7829
7820
  get chooseFileTitle(): string;
7830
7821
  set chooseFileTitle(val: string);
7831
7822
  get locChooseFileTitle(): LocalizableString;
7832
7823
  get dragAreaPlaceholder(): string;
7833
7824
  set dragAreaPlaceholder(val: string);
7834
7825
  get locDragAreaPlaceholder(): LocalizableString;
7835
- /*
7836
- * The input title value.
7837
- */
7838
7826
  get inputTitle(): string;
7839
- /*
7840
- * Clear value programmatically.
7841
- */
7842
7827
  clear(doneCallback?: any): void;
7843
7828
  get multipleRendered(): string;
7844
7829
  get showRemoveButton(): any;
@@ -7846,12 +7831,12 @@ export declare class QuestionFileModel extends Question {
7846
7831
  defaultImage(data: any): boolean;
7847
7832
  get imageWidthRendered(): string;
7848
7833
  /*
7849
- * Remove file item programmatically.
7834
+ * Removes a file with a specified name.
7850
7835
  */
7851
7836
  removeFile(name: string): void;
7852
7837
  protected removeFileByContent(content: any): void;
7853
7838
  /*
7854
- * Load multiple files programmatically.
7839
+ * Loads multiple files into the question.
7855
7840
  */
7856
7841
  loadFiles(files: any): void;
7857
7842
  canPreviewImage(fileItem: any): boolean;
@@ -7865,6 +7850,10 @@ export declare class QuestionFileModel extends Question {
7865
7850
  getReadOnlyFileCss(): string;
7866
7851
  get fileRootCss(): string;
7867
7852
  getFileDecoratorCss(): string;
7853
+ rootElement: any;
7854
+ afterRender(el: any): void;
7855
+ dragCounter: number;
7856
+ onDragEnter: (event: any) => void;
7868
7857
  onDragOver: (event: any) => boolean;
7869
7858
  onDrop: (event: any) => void;
7870
7859
  onDragLeave: (event: any) => void;
@@ -8013,9 +8002,12 @@ export declare class QuestionMultipleTextModel extends Question implements IMult
8013
8002
  getItemLabelCss(item: MultipleTextItemModel): string;
8014
8003
  getItemCss(): string;
8015
8004
  getItemTitleCss(): string;
8005
+ protected getIsTooltipErrorInsideSupported(): boolean;
8016
8006
  }
8017
8007
  /*
8018
- * A Model for non value question. This question doesn't add any new functionality. It hides some properties, including the value.
8008
+ * A base class for question types that cannot have a value ([Html](https://surveyjs.io/form-library/documentation/questionhtmlmodel), [Image](https://surveyjs.io/form-library/documentation/questionimagemodel)).
8009
+ *
8010
+ * This class does not implement new functionality&mdash;it only redefines default values of certain properties inherited from the [`Question`](https://surveyjs.io/form-library/documentation/question) class.
8019
8011
  */
8020
8012
  export declare class QuestionNonValue extends Question {
8021
8013
  constructor(name: string);
@@ -8618,7 +8610,7 @@ export declare class QuestionSelectBase extends Question {
8618
8610
  */
8619
8611
  separateSpecialChoices: boolean;
8620
8612
  /*
8621
- * A placeholder for the comment area. Applies when the `hasOther` or `hasComment` property is `true`.
8613
+ * A placeholder for the comment area. Applies when the `showOtherItem` or `showCommentArea` property is `true`.
8622
8614
  */
8623
8615
  get otherPlaceholder(): string;
8624
8616
  set otherPlaceholder(val: string);
@@ -8998,7 +8990,7 @@ export declare class QuestionCustomModel extends QuestionCustomModelBase {
8998
8990
  protected setQuestionValue(newValue: any, updateIsAnswered?: boolean): void;
8999
8991
  onSurveyValueChanged(newValue: any): void;
9000
8992
  protected getValueCore(): any;
9001
- protected initElement(el: SurveyElement): void;
8993
+ protected initElement(el: any): void;
9002
8994
  updateElementCss(reNew?: boolean): void;
9003
8995
  protected updateElementCssCore(cssClasses: any): void;
9004
8996
  protected getDisplayValueCore(keyAsText: boolean, value: any): any;
@@ -9023,9 +9015,9 @@ export declare class QuestionDropdownModel extends QuestionSelectBase {
9023
9015
  get placeholder(): string;
9024
9016
  set placeholder(val: string);
9025
9017
  get locPlaceholder(): LocalizableString;
9026
- get cleanCaption(): string;
9027
- set cleanCaption(val: string);
9028
- get locCleanCaption(): LocalizableString;
9018
+ get clearCaption(): string;
9019
+ set clearCaption(val: string);
9020
+ get locClearCaption(): LocalizableString;
9029
9021
  getType(): string;
9030
9022
  get selectedItem(): ItemValue;
9031
9023
  supportGoNextPageAutomatic(): boolean;
@@ -9129,9 +9121,9 @@ export declare class QuestionImageModel extends QuestionNonValue {
9129
9121
  /*
9130
9122
  * The image alt text.
9131
9123
  */
9132
- get text(): string;
9133
- set text(val: string);
9134
- get locText(): LocalizableString;
9124
+ get altText(): string;
9125
+ set altText(val: string);
9126
+ get locAltText(): LocalizableString;
9135
9127
  /*
9136
9128
  * The image height.
9137
9129
  */
@@ -9420,6 +9412,7 @@ export declare class QuestionMatrixDropdownModelBase extends QuestionMatrixBaseM
9420
9412
  getRowHeaderWrapperComponentData(cell: MatrixDropdownCell): any;
9421
9413
  get showHorizontalScroll(): boolean;
9422
9414
  getRootCss(): string;
9415
+ protected getIsTooltipErrorInsideSupported(): boolean;
9423
9416
  }
9424
9417
  /*
9425
9418
  * A Model for a simple matrix question.
@@ -10078,9 +10071,9 @@ export declare class QuestionTagboxModel extends QuestionCheckboxModel {
10078
10071
  get placeholder(): string;
10079
10072
  set placeholder(val: string);
10080
10073
  get locPlaceholder(): LocalizableString;
10081
- get cleanCaption(): string;
10082
- set cleanCaption(val: string);
10083
- get locCleanCaption(): LocalizableString;
10074
+ get clearCaption(): string;
10075
+ set clearCaption(val: string);
10076
+ get locClearCaption(): LocalizableString;
10084
10077
  getType(): string;
10085
10078
  get popupModel(): any;
10086
10079
  getControlClass(): string;
@@ -10105,8 +10098,8 @@ export declare function getCurrecyCodes(): Array<any>;
10105
10098
  export declare function createPopupModalViewModel(options: IDialogOptions): PopupBaseViewModel;
10106
10099
  export declare function createPopupViewModel(model: any, targetElement: any): PopupBaseViewModel;
10107
10100
  export declare function checkLibraryVersion(ver: string, libraryName: string): void;
10108
- export declare function showModal(componentName: string, data: any, onApply: any, onCancel?: any, cssClass?: string, title?: string, displayMode?: "popup" | "overlay"): void;
10109
- export declare function showDialog(dialogOptions: any): void;
10101
+ export declare function showModal(componentName: string, data: any, onApply: any, onCancel?: any, cssClass?: string, title?: string, displayMode?: "popup" | "overlay"): PopupBaseViewModel;
10102
+ export declare function showDialog(dialogOptions: any): PopupBaseViewModel;
10110
10103
  export declare function attachKey2click(element: JSX.Element, viewModel?: any, options?: IAttachKey2clickOptions): JSX.Element;
10111
10104
  /*
10112
10105
  * Global survey settings
@@ -10835,6 +10828,7 @@ export declare var defaultBootstrapCss: {
10835
10828
  hasError: string,
10836
10829
  indent: number,
10837
10830
  formGroup: string,
10831
+ disabled: string,
10838
10832
  },
10839
10833
  panel: {
10840
10834
  title: string,
@@ -11172,6 +11166,7 @@ export declare var defaultBootstrapMaterialCss: {
11172
11166
  hasError: string,
11173
11167
  indent: number,
11174
11168
  formGroup: string,
11169
+ disabled: string,
11175
11170
  },
11176
11171
  panel: {
11177
11172
  title: string,
@@ -11450,6 +11445,7 @@ export declare var defaultBootstrapMaterialCss: {
11450
11445
  export declare var defaultV2Css: {
11451
11446
  root: string,
11452
11447
  rootMobile: string,
11448
+ rootReadOnly: string,
11453
11449
  container: string,
11454
11450
  header: string,
11455
11451
  body: string,
@@ -11478,6 +11474,7 @@ export declare var defaultV2Css: {
11478
11474
  titleExpandable: string,
11479
11475
  titleExpanded: string,
11480
11476
  titleCollapsed: string,
11477
+ titleDisabled: string,
11481
11478
  titleOnExpand: string,
11482
11479
  titleOnError: string,
11483
11480
  titleBar: string,
@@ -11567,6 +11564,7 @@ export declare var defaultV2Css: {
11567
11564
  titleExpandable: string,
11568
11565
  titleExpanded: string,
11569
11566
  titleCollapsed: string,
11567
+ titleDisabled: string,
11570
11568
  titleBar: string,
11571
11569
  requiredText: string,
11572
11570
  number: string,
@@ -11585,6 +11583,7 @@ export declare var defaultV2Css: {
11585
11583
  nested: string,
11586
11584
  invisible: string,
11587
11585
  composite: string,
11586
+ disabled: string,
11588
11587
  },
11589
11588
  image: {
11590
11589
  mainRoot: string,
@@ -11865,6 +11864,8 @@ export declare var defaultV2Css: {
11865
11864
  fileSign: string,
11866
11865
  fileList: string,
11867
11866
  fileSignBottom: string,
11867
+ dragArea: string,
11868
+ dragAreaActive: string,
11868
11869
  fileDecorator: string,
11869
11870
  onError: string,
11870
11871
  fileDecoratorDrag: string,