survey-react 1.9.41 → 1.9.44

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.41
2
+ * Type definition for Survey JavaScript library for React v1.9.44
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
  */
@@ -92,6 +92,47 @@ export interface IExpresionExecutor {
92
92
  */
93
93
  onComplete: (res: any) => void;
94
94
  }
95
+ export interface IListModel {
96
+ items: any;
97
+ onSelectionChanged: (item: Action, ...params: any) => void;
98
+ allowSelection?: boolean;
99
+ selectedItem?: IAction;
100
+ onFilteredTextChangedCallback?: (text: string) => void;
101
+ }
102
+ export interface IPosition {
103
+ left?: string | number;
104
+ top?: string | number;
105
+ }
106
+ export interface INumberPosition extends IPosition {
107
+ left?: number;
108
+ top?: number;
109
+ }
110
+ export interface ISize {
111
+ width: number;
112
+ height: number;
113
+ }
114
+ export interface IPopupOptionsBase {
115
+ onHide?: any;
116
+ onShow?: any;
117
+ onApply?: any;
118
+ onCancel?: any;
119
+ cssClass?: string;
120
+ title?: string;
121
+ verticalPosition?: any;
122
+ horizontalPosition?: any;
123
+ showPointer?: boolean;
124
+ isModal?: boolean;
125
+ displayMode?: "popup" | "overlay";
126
+ }
127
+ export interface IDialogOptions extends IPopupOptionsBase {
128
+ componentName: string;
129
+ data: any;
130
+ onApply: any;
131
+ }
132
+ export interface IPopupModel<T = any> extends IDialogOptions {
133
+ contentComponentName: string;
134
+ contentComponentData: T;
135
+ }
95
136
  /*
96
137
  * An action item.
97
138
  * Action items are used in the Toolbar, matrix rows, titles of pages, panels, questions, and other survey elements.
@@ -189,6 +230,8 @@ export interface IAction {
189
230
  visibleIndex?: number;
190
231
  needSpace?: boolean;
191
232
  }
233
+ export interface IActionDropdownPopupOptions extends IListModel, IPopupOptionsBase {
234
+ }
192
235
  export interface IAttachKey2clickOptions {
193
236
  processEsc?: boolean;
194
237
  disableTabStop?: boolean;
@@ -197,21 +240,10 @@ export interface IDimensions {
197
240
  scroll: number;
198
241
  offset: number;
199
242
  }
200
- export interface IPosition {
201
- left?: string | number;
202
- top?: string | number;
203
- }
204
- export interface INumberPosition extends IPosition {
205
- left?: number;
206
- top?: number;
207
- }
208
- export interface ISize {
209
- width: number;
210
- height: number;
211
- }
212
243
  export interface ISurveyTriggerOwner {
213
244
  getObjects(pages: any, questions: any): Array<any>;
214
- setCompleted(): any;
245
+ setCompleted(): void;
246
+ canBeCompleted(): void;
215
247
  triggerExecuted(trigger: Trigger): void;
216
248
  setTriggerValue(name: string, value: any, isVariable: boolean): any;
217
249
  copyTriggerValue(name: string, fromName: string): any;
@@ -1461,6 +1493,8 @@ export declare class SurveyError {
1461
1493
  protected getDefaultText(): string;
1462
1494
  protected getLocale(): string;
1463
1495
  protected getLocalizationString(locStrName: string): string;
1496
+ onUpdateErrorTextCallback: (error: SurveyError) => void;
1497
+ updateText(): void;
1464
1498
  }
1465
1499
  export declare class SurveyHeader extends React.Component<ISurveyHeaderProps, any> {
1466
1500
  constructor(props: ISurveyHeaderProps);
@@ -1478,10 +1512,12 @@ export declare class SurveyLocStringEditor extends React.Component<any, any> {
1478
1512
  }
1479
1513
  export declare class SurveyLocStringViewer extends React.Component<any, any> {
1480
1514
  constructor(props: any);
1515
+ rootRef: any;
1481
1516
  componentDidMount(): void;
1482
1517
  componentWillUnmount(): void;
1483
1518
  componentDidUpdate(prevProps: any, prevState: any): void;
1484
1519
  isRendering: boolean;
1520
+ onChangedHandler: (sender: any, options: any) => void;
1485
1521
  render(): JSX.Element;
1486
1522
  protected renderString(): JSX.Element;
1487
1523
  }
@@ -1668,6 +1704,7 @@ export declare class ActionContainer<T extends Action = Action> extends Base {
1668
1704
  updateCallback: (isResetInitialized: boolean) => void;
1669
1705
  containerCss: string;
1670
1706
  sizeMode: "default" | "small";
1707
+ isEmpty: boolean;
1671
1708
  protected raiseUpdate(isResetInitialized: boolean): void;
1672
1709
  protected onSet(): void;
1673
1710
  protected onPush(item: T): void;
@@ -1915,9 +1952,14 @@ export declare class DragDropCore<T> extends Base {
1915
1952
  protected doClear(): void;
1916
1953
  }
1917
1954
  export declare class DropdownListModel extends Base {
1918
- constructor(question: Question);
1955
+ constructor(question: Question, onSelectionChanged?: (item: IAction, ...params: any) => void);
1919
1956
  _popupModel: any;
1957
+ protected listModel: ListModel;
1958
+ protected popupCssClasses: string;
1959
+ protected getAvailableItems(): Array<Action>;
1960
+ protected createListModel(): ListModel;
1920
1961
  get popupModel(): any;
1962
+ setSearchEnabled(newValue: boolean): void;
1921
1963
  updateItems(): void;
1922
1964
  onClick(event: any): void;
1923
1965
  onClear(event: any): void;
@@ -2019,7 +2061,6 @@ export declare class ItemValue extends Base implements ILocalizableOwner, IShort
2019
2061
  static runEnabledConditionsForItems(items: any, runner: ConditionRunner, values: any, properties: any, onItemCallBack?: (item: ItemValue, val: boolean) => boolean): boolean;
2020
2062
  ownerPropertyName: string;
2021
2063
  locTextValue: LocalizableString;
2022
- isVisibleValue: boolean;
2023
2064
  visibleConditionRunner: ConditionRunner;
2024
2065
  enableConditionRunner: ConditionRunner;
2025
2066
  onCreating(): any;
@@ -2047,7 +2088,7 @@ export declare class ItemValue extends Base implements ILocalizableOwner, IShort
2047
2088
  set visibleIf(val: string);
2048
2089
  get enableIf(): string;
2049
2090
  set enableIf(val: string);
2050
- get isVisible(): boolean;
2091
+ get isVisible(): any;
2051
2092
  setIsVisible(val: boolean): void;
2052
2093
  get isEnabled(): any;
2053
2094
  setIsEnabled(val: boolean): void;
@@ -2240,6 +2281,7 @@ export declare class LocalizableString implements ILocalizableString {
2240
2281
  searchableText: string;
2241
2282
  setFindText(text: string): boolean;
2242
2283
  onChanged(): void;
2284
+ onStringChanged: EventBase<LocalizableString>;
2243
2285
  protected onCreating(): void;
2244
2286
  getHtmlValue(): string;
2245
2287
  }
@@ -2532,6 +2574,9 @@ export declare class MultipleTextItemModel extends Base implements IValidatorOwn
2532
2574
  /*
2533
2575
  * The input place holder.
2534
2576
  */
2577
+ get placeholder(): string;
2578
+ set placeholder(val: string);
2579
+ get locPlaceholder(): LocalizableString;
2535
2580
  get placeHolder(): string;
2536
2581
  set placeHolder(val: string);
2537
2582
  get locPlaceHolder(): LocalizableString;
@@ -2884,7 +2929,7 @@ export declare class SurveyButtonGroupItem extends SurveyElementBase<any, any> {
2884
2929
  get question(): any;
2885
2930
  get item(): any;
2886
2931
  getStateElement(): any;
2887
- render(): JSX.Element;
2932
+ renderElement(): JSX.Element;
2888
2933
  protected renderIcon(): JSX.Element;
2889
2934
  protected renderInput(): JSX.Element;
2890
2935
  protected renderCaption(): JSX.Element;
@@ -3147,7 +3192,9 @@ export declare class Trigger extends Base {
3147
3192
  set name(val: string);
3148
3193
  get expression(): string;
3149
3194
  set expression(val: string);
3150
- checkExpression(keys: any, values: any, properties?: any): void;
3195
+ protected canBeExecuted(isOnNextPage: boolean): boolean;
3196
+ protected isExecutingOnNextPage: boolean;
3197
+ checkExpression(isOnNextPage: boolean, keys: any, values: any, properties?: any): void;
3151
3198
  check(value: any): void;
3152
3199
  protected onSuccess(values: any, properties: any): void;
3153
3200
  protected onFailure(): void;
@@ -3194,12 +3241,11 @@ export declare class WebRequestError extends SurveyError {
3194
3241
  export declare class AdaptiveActionContainer<T extends Action = Action> extends ActionContainer<T> {
3195
3242
  constructor();
3196
3243
  protected dotsItem: Action;
3197
- protected dotsItemPopupModel: any;
3198
3244
  responsivityManager: ResponsivityManager;
3199
3245
  minVisibleItemsCount: number;
3200
3246
  isResponsivenessDisabled: boolean;
3201
- protected invisibleItemsListModel: ListModel;
3202
3247
  static ContainerID: number;
3248
+ get invisibleItemsListModel(): ListModel;
3203
3249
  protected onSet(): void;
3204
3250
  protected onPush(item: T): void;
3205
3251
  protected getRenderedActions(): Array<T>;
@@ -3210,6 +3256,9 @@ export declare class AdaptiveActionContainer<T extends Action = Action> extends
3210
3256
  setActionsMode(mode: any): void;
3211
3257
  dispose(): void;
3212
3258
  }
3259
+ /*
3260
+ * Validates the number of answers.
3261
+ */
3213
3262
  export declare class AnswerCountValidator extends SurveyValidator {
3214
3263
  constructor(minCount?: number, maxCount?: number);
3215
3264
  getType(): string;
@@ -3312,6 +3361,17 @@ export declare class DragDropSurveyElements extends DragDropCore<any> {
3312
3361
  protected insertGhostElementIntoSurvey(): boolean;
3313
3362
  protected removeGhostElementFromSurvey(): void;
3314
3363
  }
3364
+ export declare class DropdownMultiSelectListModel extends DropdownListModel {
3365
+ constructor(question: Question, onSelectionChanged?: (item: IAction, ...params: any) => void);
3366
+ protected override: any;
3367
+ createListModel(): MultiSelectListModel;
3368
+ selectAllItems(): void;
3369
+ selectNoneItem(): void;
3370
+ selectItem(id: string): void;
3371
+ deselectItem(id: string): void;
3372
+ onClear(event: any): void;
3373
+ setHideSelectedItems(newValue: boolean): void;
3374
+ }
3315
3375
  /*
3316
3376
  * Validate e-mail address in the text input
3317
3377
  */
@@ -3384,10 +3444,10 @@ export declare class JsonMissingTypeError extends JsonMissingTypeErrorBase {
3384
3444
  baseClassName: string;
3385
3445
  }
3386
3446
  export declare class ListModel extends ActionContainer {
3387
- constructor(items: any, onItemSelect: (item: Action) => void, allowSelection: boolean, selectedItem?: IAction, onFilteredTextChangedCallback?: (text: string) => void);
3388
- onItemSelect: (item: Action) => void;
3447
+ constructor(items: any, onSelectionChanged: (item: Action, ...params: any) => void, allowSelection: boolean, selectedItem?: IAction, onFilteredTextChangedCallback?: (text: string) => void);
3448
+ onSelectionChanged: (item: Action, ...params: any) => void;
3389
3449
  allowSelection: boolean;
3390
- denySearch: boolean;
3450
+ searchEnabled: boolean;
3391
3451
  needFilter: boolean;
3392
3452
  isExpanded: boolean;
3393
3453
  selectedItem: IAction;
@@ -3396,7 +3456,8 @@ export declare class ListModel extends ActionContainer {
3396
3456
  static MINELEMENTCOUNT: number;
3397
3457
  isItemVisible(item: Action): boolean;
3398
3458
  protected onSet(): void;
3399
- selectItem: (itemValue: Action) => void;
3459
+ protected updateItemActiveState(): void;
3460
+ onItemClick: (itemValue: Action) => void;
3400
3461
  isItemDisabled: (itemValue: Action) => boolean;
3401
3462
  isItemSelected: (itemValue: Action) => boolean;
3402
3463
  getItemClass: (itemValue: Action) => string;
@@ -3668,6 +3729,7 @@ export declare class SurveyElement extends SurveyElementCore implements ISurveyE
3668
3729
  get isErrorsModeTooltip(): boolean;
3669
3730
  protected getIsErrorsModeTooltip(): boolean;
3670
3731
  get hasParent(): boolean;
3732
+ isSingleInRow: boolean;
3671
3733
  protected get hasFrameV2(): boolean;
3672
3734
  /*
3673
3735
  * Use it to set the specific width to the survey element like css style (%, px, em etc).
@@ -3708,6 +3770,7 @@ export declare class SurveyElement extends SurveyElementCore implements ISurveyE
3708
3770
  get clickTitleFunction(): any;
3709
3771
  protected needClickTitleFunction(): boolean;
3710
3772
  protected processTitleClick(): void;
3773
+ localeChanged(): void;
3711
3774
  }
3712
3775
  export declare class SurveyElementErrors extends ReactSurveyElement {
3713
3776
  constructor(props: any);
@@ -4403,6 +4466,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
4403
4466
  cssValue: any;
4404
4467
  get css(): any;
4405
4468
  set css(val: any);
4469
+ setCss(value: any, needMerge?: boolean): void;
4406
4470
  get cssTitle(): string;
4407
4471
  get cssNavigationComplete(): string;
4408
4472
  get cssNavigationPreview(): string;
@@ -5206,6 +5270,7 @@ export declare class SurveyModel extends SurveyElementCore implements ISurvey, I
5206
5270
  protected doServerValidation(doComplete: boolean, isPreview?: boolean): boolean;
5207
5271
  protected doNextPage(): void;
5208
5272
  setCompleted(): void;
5273
+ canBeCompleted(): void;
5209
5274
  /*
5210
5275
  * Returns the HTML content for the complete page.
5211
5276
  */
@@ -5641,7 +5706,7 @@ export declare class SurveyQuestionButtonGroup extends SurveyQuestionElementBase
5641
5706
  constructor(props: any);
5642
5707
  protected get question(): any;
5643
5708
  getStateElement(): any;
5644
- render(): JSX.Element;
5709
+ renderElement(): JSX.Element;
5645
5710
  renderItems(): any;
5646
5711
  }
5647
5712
  export declare class SurveyQuestionCheckbox extends SurveyQuestionElementBase {
@@ -5888,6 +5953,14 @@ export declare class SurveyQuestionSignaturePad extends SurveyQuestionElementBas
5888
5953
  protected renderElement(): JSX.Element;
5889
5954
  renderCleanButton(): JSX.Element;
5890
5955
  }
5956
+ export declare class SurveyQuestionTagboxItem extends ReactSurveyElement {
5957
+ constructor(props: any);
5958
+ protected getStateElement(): Base;
5959
+ protected get question(): any;
5960
+ protected get item(): ItemValue;
5961
+ protected canRender(): boolean;
5962
+ protected renderElement(): JSX.Element;
5963
+ }
5891
5964
  export declare class SurveyQuestionUncontrolledElement<T> extends SurveyQuestionElementBase {
5892
5965
  constructor(props: any);
5893
5966
  protected get question(): T;
@@ -5911,7 +5984,7 @@ export declare class SurveyTrigger extends Trigger {
5911
5984
  get owner(): ISurveyTriggerOwner;
5912
5985
  setOwner(owner: ISurveyTriggerOwner): void;
5913
5986
  getSurvey(live?: boolean): ISurvey;
5914
- get isOnNextPage(): boolean;
5987
+ protected isRealExecution(): boolean;
5915
5988
  protected onSuccessExecuted(): void;
5916
5989
  }
5917
5990
  export declare class SurveyWindow extends Survey {
@@ -5992,6 +6065,15 @@ export declare class DragDropRankingChoices extends DragDropChoices {
5992
6065
  protected doDrop: any;
5993
6066
  protected doClear: any;
5994
6067
  }
6068
+ export declare class MultiSelectListModel extends ListModel {
6069
+ constructor(items: any, onSelectionChanged: (item: Action, status: string) => void, allowSelection: boolean, selectedItems?: any, onFilteredTextChangedCallback?: (text: string) => void);
6070
+ selectedItems: any;
6071
+ hideSelectedItems: boolean;
6072
+ onItemClick: (item: Action) => void;
6073
+ isItemDisabled: (itemValue: Action) => boolean;
6074
+ isItemSelected: (itemValue: Action) => boolean;
6075
+ setSelectedItems(newItems: any): void;
6076
+ }
5995
6077
  /*
5996
6078
  * A base class for a Panel and Page objects.
5997
6079
  */
@@ -6886,7 +6968,9 @@ export declare class SurveyQuestionDropdownBase<T> extends SurveyQuestionUncontr
6886
6968
  protected setValueCore(newValue: any): void;
6887
6969
  protected getValueCore(): any;
6888
6970
  protected renderSelect(cssClasses: any): JSX.Element;
6971
+ protected renderInput(): JSX.Element;
6889
6972
  createClearButton(): JSX.Element;
6973
+ protected renderOther(cssClasses: any): JSX.Element;
6890
6974
  }
6891
6975
  export declare class SurveyQuestionMatrixDropdown extends SurveyQuestionMatrixDropdownBase {
6892
6976
  constructor(props: any);
@@ -6944,7 +7028,7 @@ export declare class SurveyQuestionText extends SurveyQuestionUncontrolledElemen
6944
7028
  export declare class SurveyTriggerComplete extends SurveyTrigger {
6945
7029
  constructor();
6946
7030
  getType(): string;
6947
- get isOnNextPage(): boolean;
7031
+ protected isRealExecution(): boolean;
6948
7032
  protected onSuccess(values: any, properties: any): void;
6949
7033
  }
6950
7034
  /*
@@ -6994,7 +7078,7 @@ export declare class SurveyTriggerSkip extends SurveyTrigger {
6994
7078
  getType(): string;
6995
7079
  get gotoName(): string;
6996
7080
  set gotoName(val: string);
6997
- get isOnNextPage(): boolean;
7081
+ protected canBeExecuted(isOnNextPage: boolean): boolean;
6998
7082
  protected onSuccess(values: any, properties: any): void;
6999
7083
  }
7000
7084
  /*
@@ -8407,6 +8491,9 @@ export declare class QuestionTextBase extends Question {
8407
8491
  /*
8408
8492
  * Use this property to set the input place holder.
8409
8493
  */
8494
+ get placeholder(): string;
8495
+ set placeholder(val: string);
8496
+ get locPlaceholder(): LocalizableString;
8410
8497
  get placeHolder(): string;
8411
8498
  set placeHolder(val: string);
8412
8499
  get locPlaceHolder(): LocalizableString;
@@ -8425,12 +8512,12 @@ export declare class QuestionTextBase extends Question {
8425
8512
  get textUpdateMode(): string;
8426
8513
  set textUpdateMode(val: string);
8427
8514
  get isSurveyInputTextUpdate(): boolean;
8428
- get renderedPlaceHolder(): string;
8429
- protected setRenderedPlaceHolder(val: string): void;
8515
+ get renderedPlaceholder(): string;
8516
+ protected setRenderedPlaceholder(val: string): void;
8430
8517
  protected onReadOnlyChanged(): void;
8431
8518
  onSurveyLoad(): void;
8432
8519
  localeChanged(): void;
8433
- protected calcRenderedPlaceHolder(): void;
8520
+ protected calcRenderedPlaceholder(): void;
8434
8521
  protected hasPlaceHolder(): boolean;
8435
8522
  getControlClass(): string;
8436
8523
  get ariaRole(): string;
@@ -8438,10 +8525,10 @@ export declare class QuestionTextBase extends Question {
8438
8525
  export declare class SurveyQuestionDropdown extends SurveyQuestionDropdownBase<Question> {
8439
8526
  constructor(props: any);
8440
8527
  protected renderElement(): JSX.Element;
8441
- protected renderOther(cssClasses: any): JSX.Element;
8442
8528
  }
8443
8529
  export declare class SurveyQuestionMatrixDropdownCell extends SurveyQuestionAndErrorsCell {
8444
8530
  constructor(props: any);
8531
+ protected get itemCss(): string;
8445
8532
  protected getQuestion(): Question;
8446
8533
  protected doAfterRender(): void;
8447
8534
  protected getShowErrors(): boolean;
@@ -8453,6 +8540,12 @@ export declare class SurveyQuestionRatingDropdown extends SurveyQuestionDropdown
8453
8540
  constructor(props: any);
8454
8541
  protected renderElement(): JSX.Element;
8455
8542
  }
8543
+ export declare class SurveyQuestionTagbox extends SurveyQuestionDropdownBase<QuestionTagboxModel> {
8544
+ constructor(props: any);
8545
+ protected renderItem(key: string, item: any): JSX.Element;
8546
+ protected renderInput(): JSX.Element;
8547
+ protected renderElement(): JSX.Element;
8548
+ }
8456
8549
  /*
8457
8550
  * The flow panel object. It is a container with flow layout where you can mix questions with markdown text.
8458
8551
  */
@@ -8596,7 +8689,7 @@ export declare class QuestionDropdownModel extends QuestionSelectBase {
8596
8689
  get optionsCaption(): string;
8597
8690
  set optionsCaption(val: string);
8598
8691
  /*
8599
- * The input place holder.
8692
+ * A text displayed in the input field when it doesn't have a value.
8600
8693
  */
8601
8694
  get placeholder(): string;
8602
8695
  set placeholder(val: string);
@@ -8628,11 +8721,17 @@ export declare class QuestionDropdownModel extends QuestionSelectBase {
8628
8721
  get autoComplete(): string;
8629
8722
  set autoComplete(val: string);
8630
8723
  /*
8631
- * Use it to clear the question value.
8724
+ * Specifies whether to display a button that clears the selected value.
8632
8725
  */
8633
8726
  allowClear: boolean;
8727
+ /*
8728
+ * The name of a component used to render drop-down menu items.
8729
+ */
8634
8730
  itemComponent: string;
8635
- denySearch: boolean;
8731
+ /*
8732
+ * Specifies whether to display a search bar in the drop-down menu.
8733
+ */
8734
+ searchEnabled: boolean;
8636
8735
  getControlClass(): string;
8637
8736
  get readOnlyText(): any;
8638
8737
  get popupModel(): any;
@@ -9564,14 +9663,51 @@ export declare class QuestionRankingModel extends QuestionCheckboxModel {
9564
9663
  get longTap(): boolean;
9565
9664
  set longTap(val: boolean);
9566
9665
  }
9666
+ /*
9667
+ * A Model for a tagbox question
9668
+ */
9669
+ export declare class QuestionTagboxModel extends QuestionCheckboxModel {
9670
+ constructor(name: string);
9671
+ dropdownListModel: DropdownMultiSelectListModel;
9672
+ get readOnlyText(): string;
9673
+ onSurveyLoad(): void;
9674
+ /*
9675
+ * Specifies whether to display a button that clears the selected value.
9676
+ */
9677
+ allowClear: boolean;
9678
+ /*
9679
+ * Specifies whether to display a search bar in the drop-down menu.
9680
+ */
9681
+ searchEnabled: boolean;
9682
+ hideSelectedItems: boolean;
9683
+ /*
9684
+ * A text displayed in the input field when it doesn't have a value.
9685
+ */
9686
+ get placeholder(): string;
9687
+ set placeholder(val: string);
9688
+ get locPlaceholder(): LocalizableString;
9689
+ getType(): string;
9690
+ get popupModel(): any;
9691
+ getControlClass(): string;
9692
+ onOpened: EventBase<QuestionTagboxModel>;
9693
+ onOpenedCallBack(): void;
9694
+ protected onVisibleChoicesChanged(): void;
9695
+ }
9567
9696
  export declare function property(options?: any): (target: any, key: string) => void;
9568
9697
  export declare function propertyArray(options?: IArrayPropertyDecoratorOptions): (target: any, key: string) => void;
9698
+ export declare function createDialogOptions(componentName: string, data: any, onApply: any, onCancel?: any, onHide?: any, onShow?: any, cssClass?: string, title?: string, displayMode?: "popup" | "overlay"): IDialogOptions;
9699
+ export declare function createPopupModalViewModel(options: IDialogOptions): PopupBaseViewModel;
9700
+ export declare function createDropdownActionModel(actionOptions: IAction, dropdownOptions: IActionDropdownPopupOptions): Action;
9701
+ export declare function createDropdownActionModelAdvanced(actionOptions: IAction, listOptions: IListModel, popupOptions?: IPopupOptionsBase): Action;
9569
9702
  export declare function unwrap<T>(value: any): T;
9570
9703
  export declare function getSize(value: any): any;
9704
+ export declare function doKey2ClickBlur(evt: any): void;
9705
+ export declare function doKey2ClickUp(evt: any, options?: IAttachKey2clickOptions): void;
9706
+ export declare function doKey2ClickDown(evt: any, options?: IAttachKey2clickOptions): void;
9571
9707
  export declare function sanitizeEditableContent(element: any): void;
9572
- export declare function createPopupModalViewModel(componentName: string, data: any, onApply: any, onCancel?: any, onHide?: any, onShow?: any, cssClass?: string, title?: string, displayMode?: "popup" | "overlay"): PopupBaseViewModel;
9573
9708
  export declare function getCurrecyCodes(): Array<any>;
9574
9709
  export declare function showModal(componentName: string, data: any, onApply: any, onCancel?: any, cssClass?: string, title?: string, displayMode?: "popup" | "overlay"): void;
9710
+ export declare function showDialog(dialogOptions: any): void;
9575
9711
  export declare function attachKey2click(element: JSX.Element, viewModel?: any, options?: IAttachKey2clickOptions): JSX.Element;
9576
9712
  /*
9577
9713
  * Global survey settings
@@ -9789,6 +9925,7 @@ export declare var surveyLocalization: {
9789
9925
  getCurrentStrings: (locale?: string) => any,
9790
9926
  getString: (strName: string, locale?: string) => any,
9791
9927
  getLocales: (removeDefaultLoc?: boolean) => any,
9928
+ onGetExternalString: (name: string, locale: string) => string,
9792
9929
  };
9793
9930
  export declare var surveyStrings: any;
9794
9931
  /*
@@ -9809,8 +9946,8 @@ export declare var defaultActionBarCss: {
9809
9946
  itemTitle: string,
9810
9947
  itemTitleWithIcon: string,
9811
9948
  };
9812
- export declare var keyFocusedClassName: any;
9813
9949
  export declare var FOCUS_INPUT_SELECTOR: any;
9950
+ export declare var keyFocusedClassName: any;
9814
9951
  export declare var surveyCss: {
9815
9952
  currentType: string,
9816
9953
  getCss: any,
@@ -10146,6 +10283,21 @@ export declare var defaultStandardCss: {
10146
10283
  variables: {
10147
10284
  themeMark: string,
10148
10285
  },
10286
+ tagbox: {
10287
+ root: string,
10288
+ small: string,
10289
+ selectWrapper: string,
10290
+ other: string,
10291
+ cleanButton: string,
10292
+ cleanButtonSvg: string,
10293
+ cleanButtonIconId: string,
10294
+ cleanItemButton: string,
10295
+ cleanItemButtonSvg: string,
10296
+ cleanItemButtonIconId: string,
10297
+ control: string,
10298
+ controlValue: string,
10299
+ controlEmpty: string,
10300
+ },
10149
10301
  };
10150
10302
  export declare var surveyTimerFunctions: {
10151
10303
  setTimeout: (func: any) => any,
@@ -10929,6 +11081,7 @@ export declare var defaultV2Css: {
10929
11081
  pageDescription: string,
10930
11082
  row: string,
10931
11083
  rowMultiple: string,
11084
+ pageRow: string,
10932
11085
  question: {
10933
11086
  mainRoot: string,
10934
11087
  flowRoot: string,
@@ -11333,6 +11486,32 @@ export declare var defaultV2Css: {
11333
11486
  imagepickerGapBetweenItems: string,
11334
11487
  themeMark: string,
11335
11488
  },
11489
+ tagbox: {
11490
+ root: string,
11491
+ small: string,
11492
+ selectWrapper: string,
11493
+ other: string,
11494
+ onError: string,
11495
+ label: string,
11496
+ item: string,
11497
+ itemDisabled: string,
11498
+ itemChecked: string,
11499
+ itemHover: string,
11500
+ itemControl: string,
11501
+ itemDecorator: string,
11502
+ cleanButton: string,
11503
+ cleanButtonSvg: string,
11504
+ cleanButtonIconId: string,
11505
+ cleanItemButton: string,
11506
+ cleanItemButtonSvg: string,
11507
+ cleanItemButtonIconId: string,
11508
+ control: string,
11509
+ controlValue: string,
11510
+ controlDisabled: string,
11511
+ controlEmpty: string,
11512
+ controlLabel: string,
11513
+ materialDecorator: string,
11514
+ },
11336
11515
  };
11337
11516
  export declare var modernCss: {
11338
11517
  root: string,