survey-creator-core 1.9.6-beta.1 → 1.9.10-beta.1

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.
@@ -1,4 +1,4 @@
1
- /*Type definitions for SurveyJS Creator JavaScript library v1.9.6-beta.1
1
+ /*Type definitions for SurveyJS Creator JavaScript library v1.9.10-beta.1
2
2
  (c) 2015-2022 Devsoft Baltic OÜ - http://surveyjs.io/
3
3
  Github: https://github.com/surveyjs/survey-creator
4
4
  License: https://surveyjs.io/Licenses#SurveyCreator
@@ -49,6 +49,7 @@ import { SurveyModel, Base, Question, SurveyElement } from "survey-core";
49
49
  import { SurveyModel, QuestionPanelDynamicModel, ItemValue, PanelModel, Base, Question, QuestionCommentModel } from "survey-core";
50
50
  import { SurveyModel, QuestionPanelDynamicModel, PanelModel, Question } from "survey-core";
51
51
  import { Base, AdaptiveActionContainer, Action, SurveyModel, SurveyElement } from "survey-core";
52
+ import { Base, ItemValue, PanelModel, QuestionDropdownModel, SurveyModel } from "survey-core";
52
53
 
53
54
 
54
55
  import "../components/property-panel/property-panel-item.scss";
@@ -62,28 +63,6 @@ import "../components/side-bar/side-bar.scss";
62
63
  import "../property-grid-theme/property-grid.scss";
63
64
  import "../utils/design.scss";
64
65
  import "../utils/layout.scss";
65
- import "../localization/arabic";
66
- import "../localization/danish";
67
- import "../localization/french";
68
- import "../localization/german";
69
- import "../localization/finnish";
70
- import "../localization/italian";
71
- import "../localization/indonesian";
72
- import "../localization/korean";
73
- import "../localization/persian";
74
- import "../localization/polish";
75
- import "../localization/portuguese";
76
- import "../localization/simplified-chinese";
77
- import "../localization/spanish";
78
- import "../localization/swedish";
79
- import "../localization/traditional-chinese";
80
- import "../localization/turkish";
81
- import "../localization/norwegian";
82
- import "../localization/hungarian";
83
- import "../localization/russian";
84
- import "../localization/tajik";
85
- import "../localization/dutch";
86
- import "../localization/croatian";
87
66
 
88
67
  export declare var enStrings: {
89
68
  survey: {
@@ -198,6 +177,7 @@ export declare var enStrings: {
198
177
  translationLanguages: string;
199
178
  translationAddLanguage: string;
200
179
  translationShowAllStrings: string;
180
+ translationShowUsedStringsOnly: string;
201
181
  translationShowAllPages: string;
202
182
  translationNoStrings: string;
203
183
  translationExportToSCVButton: string;
@@ -212,6 +192,7 @@ export declare var enStrings: {
212
192
  chooseElement: string;
213
193
  htmlPlaceHolder: string;
214
194
  panelPlaceHolder: string;
195
+ surveyPlaceHolder: string;
215
196
  addNewQuestion: string;
216
197
  addNewTypeQuestion: string;
217
198
  chooseLogoPlaceholder: string;
@@ -1032,6 +1013,7 @@ export declare var defaultStrings: {
1032
1013
  translationLanguages: string;
1033
1014
  translationAddLanguage: string;
1034
1015
  translationShowAllStrings: string;
1016
+ translationShowUsedStringsOnly: string;
1035
1017
  translationShowAllPages: string;
1036
1018
  translationNoStrings: string;
1037
1019
  translationExportToSCVButton: string;
@@ -1046,6 +1028,7 @@ export declare var defaultStrings: {
1046
1028
  chooseElement: string;
1047
1029
  htmlPlaceHolder: string;
1048
1030
  panelPlaceHolder: string;
1031
+ surveyPlaceHolder: string;
1049
1032
  addNewQuestion: string;
1050
1033
  addNewTypeQuestion: string;
1051
1034
  chooseLogoPlaceholder: string;
@@ -1740,9 +1723,13 @@ export declare enum QuestionConvertMode {
1740
1723
  CompatibleTypes = 1
1741
1724
  }
1742
1725
  export declare var settings: {
1743
- traslation: {
1726
+ translation: {
1744
1727
  sortByName: boolean;
1745
1728
  exportPrefix: string;
1729
+ /**
1730
+ * The maximum number of locales that user can select at once for translation
1731
+ */
1732
+ maximumSelectedLocales: number;
1746
1733
  };
1747
1734
  operators: {
1748
1735
  empty: any[];
@@ -1758,11 +1745,7 @@ export declare var settings: {
1758
1745
  greaterorequal: string[];
1759
1746
  lessorequal: string[];
1760
1747
  };
1761
- defaultNewSurveyJSON: {
1762
- pages: {
1763
- name: string;
1764
- }[];
1765
- };
1748
+ defaultNewSurveyJSON: {};
1766
1749
  logic: {
1767
1750
  visibleActions: any[];
1768
1751
  logicItemTitleMaxChars: number;
@@ -1772,7 +1755,6 @@ export declare var settings: {
1772
1755
  */
1773
1756
  questionConvertMode: QuestionConvertMode;
1774
1757
  propertyGrid: {
1775
- allowCollapse: boolean;
1776
1758
  useButtonGroup: boolean;
1777
1759
  maxCharsInButtonGroup: number;
1778
1760
  showNavigationButtons: boolean;
@@ -1806,6 +1788,7 @@ export declare var settings: {
1806
1788
  layout: {
1807
1789
  showTabs: boolean;
1808
1790
  showToolbar: boolean;
1791
+ allowCollapseSidebar: boolean;
1809
1792
  };
1810
1793
  jsonEditor: {
1811
1794
  indentation: number;
@@ -1918,7 +1901,7 @@ export declare class ToolbarActionContainer extends ActionContainer {
1918
1901
  constructor(creator: CreatorBase);
1919
1902
  protected getRenderedActions(): Array<Action>;
1920
1903
  }
1921
- export declare type toolBoxLocationType = "left" | "right" | "insideSideBar" | "hidden";
1904
+ export declare type toolboxLocationType = "left" | "right" | "sidebar";
1922
1905
  /**
1923
1906
  * Base class for Survey Creator.
1924
1907
  */
@@ -2366,6 +2349,16 @@ export declare class CreatorBase<T extends SurveyModel = SurveyModel> extends Su
2366
2349
  * - `options.visible` - A Boolean value that specifies the property visibility. Set it to `false` to hide the property.
2367
2350
  */
2368
2351
  onTranslationStringVisibility: Survey.Event<(sender: CreatorBase<T>, options: any) => any, any>;
2352
+ /**
2353
+ * Use this event to define is the locale initially selected (default value) and ready for translaion or it is unselected.
2354
+ *
2355
+ * The event handler accepts the following arguments:
2356
+ *
2357
+ * - `sender` - A Survey Creator instance that raised the event.
2358
+ * - `options.locale` - the locale name, like 'en', 'de' and so on.
2359
+ * - `options.isSelected` - it is true by default. Set it to false to make the translation unselected.
2360
+ */
2361
+ onTranslationLocaleInitiallySelected: Survey.Event<(sender: CreatorBase<T>, options: any) => any, any>;
2369
2362
  /**
2370
2363
  * This callback is used internally for providing survey JSON text.
2371
2364
  */
@@ -2500,19 +2493,22 @@ export declare class CreatorBase<T extends SurveyModel = SurveyModel> extends Su
2500
2493
  * @param viewName name of new active view (tab). The following values are available: "designer", "editor", "test", "embed", "logic" and "translation".
2501
2494
  */
2502
2495
  makeNewViewActive(viewName: string): boolean;
2503
- static defaultNewSurveyText: string;
2504
2496
  toolbox: QuestionToolbox;
2505
2497
  get toolboxCategories(): Array<any>;
2506
- sideBar: SideBarModel;
2498
+ sidebar: SidebarModel;
2507
2499
  constructor(options: ICreatorOptions, options2?: ICreatorOptions);
2508
2500
  updateToolboxIsCompact(newVal?: boolean): void;
2509
2501
  onSurveyElementPropertyValueChanged(property: Survey.JsonObjectProperty, obj: any, newValue: any): void;
2510
- get showToolbox(): "left" | "right" | "top" | "none" | boolean;
2511
- set showToolbox(val: "left" | "right" | "top" | "none" | boolean);
2512
- onShowPropertyGridVisiblityChanged: Survey.Event<(sender: CreatorBase<T>, options: any) => any, any>;
2502
+ showToolboxValue: boolean;
2503
+ get showToolbox(): boolean;
2504
+ set showToolbox(val: boolean);
2505
+ onShowSidebarVisiblityChanged: Survey.Event<(sender: CreatorBase<T>, options: any) => any, any>;
2513
2506
  /**
2514
2507
  * Set this this property grid false to hide the property grid.
2515
2508
  */
2509
+ get showSidebar(): boolean;
2510
+ set showSidebar(val: boolean);
2511
+ onShowPropertyGridVisiblityChanged: Survey.Event<(sender: CreatorBase<T>, options: any) => any, any>;
2516
2512
  get showPropertyGrid(): boolean;
2517
2513
  set showPropertyGrid(val: boolean);
2518
2514
  rightContainerActiveItem(name: string): void;
@@ -2547,6 +2543,10 @@ export declare class CreatorBase<T extends SurveyModel = SurveyModel> extends Su
2547
2543
  * This method stops undo/redo transaction.
2548
2544
  */
2549
2545
  stopUndoRedoTransaction(): void;
2546
+ /**
2547
+ * Returns true if Creator is currently doing undo or redo opertaions
2548
+ */
2549
+ get isProcessingUndoRedo(): boolean;
2550
2550
  /**
2551
2551
  * This method performs undo uperation if possible.
2552
2552
  */
@@ -2799,9 +2799,10 @@ export declare class CreatorBase<T extends SurveyModel = SurveyModel> extends Su
2799
2799
  showPageNavigator: any;
2800
2800
  showTabs: any;
2801
2801
  showToolbar: any;
2802
+ allowCollapseSidebar: any;
2802
2803
  isMobileView: any;
2803
- toolboxLocation: toolBoxLocationType;
2804
- sideBarLocation: "left" | "right";
2804
+ toolboxLocation: toolboxLocationType;
2805
+ sidebarLocation: "left" | "right";
2805
2806
  selectFromStringEditor: boolean;
2806
2807
  }
2807
2808
  export declare class StylesManager {
@@ -3111,6 +3112,7 @@ export declare class SurveyLogic extends Base implements ISurveyLogicItemOwner {
3111
3112
  protected hasErrorInUI(): boolean;
3112
3113
  protected getExpressionText(): string;
3113
3114
  protected getEditingActions(): Array<SurveyLogicAction>;
3115
+ protected onReadOnlyChanged(): void;
3114
3116
  addNew(): void;
3115
3117
  editItem(item: SurveyLogicItem): void;
3116
3118
  protected onStartEditing(): void;
@@ -3217,6 +3219,7 @@ export declare class Translation extends Base implements ITranslationLocales {
3217
3219
  availableTranlationsChangedCallback: () => void;
3218
3220
  tranlationChangedCallback: (locale: string, name: string, value: string, context: any) => void;
3219
3221
  translationStringVisibilityCallback: (obj: Base, propertyName: string, visible: boolean) => boolean;
3222
+ localeInitialVisibleCallback: (locale: string) => boolean;
3220
3223
  chooseLanguageActions: Array<IAction>;
3221
3224
  constructor(survey: SurveyModel, options?: ISurveyCreatorOptions, hasUI?: boolean);
3222
3225
  getType(): string;
@@ -3569,6 +3572,7 @@ export declare class TabTranslationPlugin implements ICreatorPlugin {
3569
3572
  deactivate(): boolean;
3570
3573
  get selectLanguageOptionsCaption(): any;
3571
3574
  get showAllStringsText(): string;
3575
+ get showUsedStringsOnlyText(): string;
3572
3576
  get showAllPagesText(): string;
3573
3577
  get exportToCSVText(): string;
3574
3578
  get importFromCSVText(): string;
@@ -3576,15 +3580,18 @@ export declare class TabTranslationPlugin implements ICreatorPlugin {
3576
3580
  }
3577
3581
 
3578
3582
  import "./designer.scss";
3583
+ export declare const initialSettingsAllowShowEmptyTitleInDesignMode: boolean;
3579
3584
  export declare class TabDesignerViewModel<T extends SurveyModel> extends Base {
3580
3585
  newPage: PageModel;
3581
3586
  showNewPage: boolean;
3582
3587
  pageCount: number;
3583
3588
  withModifier: string;
3589
+ showPlaceholder: boolean;
3584
3590
  creator: CreatorBase<T>;
3585
3591
  constructor(creator: CreatorBase<T>);
3586
3592
  get survey(): T;
3587
3593
  get isToolboxVisible(): boolean;
3594
+ get placeholderText(): string;
3588
3595
  initSurvey(): void;
3589
3596
  dispose(): void;
3590
3597
  clickDesigner(): void;
@@ -3621,6 +3628,7 @@ export declare class SurveyLogicUI extends SurveyLogic {
3621
3628
  addNewUI(): void;
3622
3629
  toggleExpressionEditorIsFastEntry(): void;
3623
3630
  protected onPropertyValueChanged(name: string, oldValue: any, newValue: any): void;
3631
+ protected onReadOnlyChanged(): void;
3624
3632
  get expressionEditor(): ConditionEditor;
3625
3633
  get itemEditor(): LogicItemEditor;
3626
3634
  getExpressionEditor(item: SurveyLogicItem): ConditionEditor;
@@ -4008,6 +4016,7 @@ export declare class PageViewModel<T extends SurveyModel> extends ActionContaine
4008
4016
  select(model: PageViewModel<T>, event: IPortableMouseEvent): void;
4009
4017
  get css(): string;
4010
4018
  hover(event: MouseEvent, element: HTMLElement): void;
4019
+ hoverStopper(event: MouseEvent, element: HTMLElement): void;
4011
4020
  protected duplicate(): void;
4012
4021
  get allowEdit(): boolean;
4013
4022
  get addNewQuestionText(): string;
@@ -4336,8 +4345,9 @@ export declare var simulatorDevices: {
4336
4345
  import "./results.scss";
4337
4346
  export declare class SurveyResultsItemModel extends Base {
4338
4347
  collapsed: boolean;
4348
+ lvl: number;
4339
4349
  items: Array<any>;
4340
- constructor(_data: any);
4350
+ constructor(_data: any, _lvl: number);
4341
4351
  get data(): Array<any>;
4342
4352
  toggle: () => void;
4343
4353
  get isNode(): boolean;
@@ -4346,6 +4356,8 @@ export declare class SurveyResultsItemModel extends Base {
4346
4356
  get value(): any;
4347
4357
  get displayValue(): string;
4348
4358
  getString(data: any): string;
4359
+ get markerMargin(): string;
4360
+ get textMargin(): string;
4349
4361
  }
4350
4362
  export declare class SurveyResultsModel extends Base {
4351
4363
  constructor(survey: Survey.SurveyModel);
@@ -4358,8 +4370,10 @@ export declare class SurveyResultsModel extends Base {
4358
4370
  get resultsName(): any;
4359
4371
  get resultsValue(): any;
4360
4372
  get resultsDisplayValue(): any;
4361
- selectTableClick(model: SurveyResultsModel): void;
4362
- selectJsonClick(model: SurveyResultsModel): void;
4373
+ get isTableSelected(): boolean;
4374
+ get isJsonSelected(): boolean;
4375
+ selectTableClick: () => void;
4376
+ selectJsonClick: () => void;
4363
4377
  }
4364
4378
 
4365
4379
  import "./logo-image.scss";
@@ -4375,6 +4389,7 @@ export declare class LogoImageViewModel extends Base {
4375
4389
 
4376
4390
  export declare class StringEditorViewModelBase extends Base {
4377
4391
  errorText: string;
4392
+ focused: boolean;
4378
4393
  constructor(locString: LocalizableString, creator: CreatorBase);
4379
4394
  setLocString(locString: LocalizableString): void;
4380
4395
  checkConstraints(event: any): void;
@@ -4446,7 +4461,7 @@ export interface IPropertyGridEditor {
4446
4461
  fit(prop: JsonObjectProperty, context?: string): boolean;
4447
4462
  isDefault?: () => boolean;
4448
4463
  getJSON(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): any;
4449
- showModalPropertyEditor(editor: IPropertyGridEditor, property: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions): any;
4464
+ showModalPropertyEditor?: (editor: IPropertyGridEditor, property: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions) => any;
4450
4465
  onCreated?: (obj: Base, question: Question, prop: JsonObjectProperty, options: ISurveyCreatorOptions) => void;
4451
4466
  onAfterRenderQuestion?: (obj: Base, prop: JsonObjectProperty, evtOptions: any) => void;
4452
4467
  createPropertyEditorSetup?: (obj: Base, prop: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions) => IPropertyEditorSetup;
@@ -4713,7 +4728,7 @@ export declare class PropertyGridEditorBindings extends PropertyGridEditor {
4713
4728
  fit(prop: JsonObjectProperty): boolean;
4714
4729
  getJSON(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): any;
4715
4730
  onMatrixCellCreated(obj: Base, options: any): void;
4716
- onMatrixCellValueChanged(obj: Base, options: any): void;
4731
+ onCreated(obj: Base, question: Question, prop: JsonObjectProperty): void;
4717
4732
  }
4718
4733
 
4719
4734
  export declare class PropertyGridViewModel<T extends SurveyModel> extends Base {
@@ -4906,7 +4921,6 @@ export declare var propertyGridCss: {
4906
4921
  itemSvgIconId: string;
4907
4922
  labelChecked: string;
4908
4923
  itemControl: string;
4909
- itemDecorator: string;
4910
4924
  controlLabel: string;
4911
4925
  materialDecorator: string;
4912
4926
  other: string;
@@ -4940,7 +4954,6 @@ export declare var propertyGridCss: {
4940
4954
  svgIconId: string;
4941
4955
  label: string;
4942
4956
  disabledLabel: string;
4943
- itemDecorator: string;
4944
4957
  materialDecorator: string;
4945
4958
  };
4946
4959
  text: {
@@ -5179,7 +5192,7 @@ export declare class QuestionToolbox extends AdaptiveActionContainer<QuestionToo
5179
5192
  canCollapseCategories: boolean;
5180
5193
  isCompact: boolean;
5181
5194
  constructor(supportedQuestions?: Array<string>, creator?: CreatorBase<SurveyModel>);
5182
- setLocation(toolboxLocation: toolBoxLocationType): void;
5195
+ setLocation(toolboxLocation: toolboxLocationType): void;
5183
5196
  /**
5184
5197
  * The Array of Toolbox items as Text JSON.
5185
5198
  */
@@ -5289,36 +5302,38 @@ export declare class QuestionToolbox extends AdaptiveActionContainer<QuestionToo
5289
5302
  dispose(): void;
5290
5303
  }
5291
5304
 
5292
- export declare class SideBarModel extends Base {
5305
+ export declare class SidebarModel extends Base {
5293
5306
  toolbar: AdaptiveActionContainer;
5294
- tabs: Array<SideBarTabModel>;
5307
+ tabs: Array<SidebarTabModel>;
5295
5308
  headerText: string;
5296
5309
  visible: boolean;
5310
+ collapsedManually: boolean;
5311
+ expandedManually: boolean;
5297
5312
  hasVisibleTabs: boolean;
5298
5313
  flyoutMode: boolean;
5299
5314
  activeTab: string;
5300
5315
  get flyoutPanelMode(): boolean;
5301
5316
  get closeText(): string;
5302
- getTabById(id: string): SideBarTabModel;
5317
+ getTabById(id: string): SidebarTabModel;
5303
5318
  constructor(creator: CreatorBase, collapseAction?: () => void, expandAction?: () => void);
5304
5319
  getExpandAction(): Action;
5305
- collapseSideBar(): void;
5306
- expandSideBar(): void;
5307
- addTab(id: string, componentName?: string, model?: any, buildActions?: () => Array<Action>): SideBarTabModel;
5320
+ collapseSidebar(): void;
5321
+ expandSidebar(): void;
5322
+ addTab(id: string, componentName?: string, model?: any, buildActions?: () => Array<Action>): SidebarTabModel;
5308
5323
  updateHasVisibleTabs(): void;
5309
5324
  dispose(): void;
5310
5325
  initResizeManager(container: HTMLDivElement): void;
5311
5326
  resetResizeManager(): void;
5312
5327
  }
5313
5328
 
5314
- export declare class SideBarTabModel extends Base {
5329
+ export declare class SidebarTabModel extends Base {
5315
5330
  id: string;
5316
- sidePanel: SideBarModel;
5331
+ sidePanel: SidebarModel;
5317
5332
  caption: string;
5318
5333
  visible: boolean;
5319
5334
  model: any;
5320
5335
  componentName: string;
5321
- constructor(id: string, sidePanel: SideBarModel, componentName?: string, model?: any);
5336
+ constructor(id: string, sidePanel: SidebarModel, componentName?: string, model?: any);
5322
5337
  }
5323
5338
 
5324
5339
  export interface IPortableMouseEvent {
@@ -5452,6 +5467,7 @@ export declare class UndoRedoManager {
5452
5467
  canUndoRedoCallback(): void;
5453
5468
  startTransaction(name: string): void;
5454
5469
  stopTransaction(): void;
5470
+ get isProcessingUndoRedo(): boolean;
5455
5471
  canUndo(): boolean;
5456
5472
  undo(): void;
5457
5473
  canRedo(): boolean;
@@ -5855,8 +5871,8 @@ export declare class LogicItemEditor extends PropertyEditorSetupValue {
5855
5871
  get isModified(): boolean;
5856
5872
  get panel(): QuestionPanelDynamicModel;
5857
5873
  get panels(): Array<PanelModel>;
5858
- getPanelByAction(action: SurveyLogicAction): PanelModel;
5859
- getActionByPanel(panel: PanelModel): SurveyLogicAction;
5874
+ getActionModelByPanel(panel: PanelModel): LogicActionModelBase;
5875
+ setActionModelByPanel(panel: PanelModel, actionModel: LogicActionModelBase): void;
5860
5876
  get context(): Question;
5861
5877
  set context(val: Question);
5862
5878
  protected getSurveyJSON(): any;
@@ -5906,7 +5922,7 @@ export interface IPropertyGridEditor {
5906
5922
  fit(prop: JsonObjectProperty, context?: string): boolean;
5907
5923
  isDefault?: () => boolean;
5908
5924
  getJSON(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): any;
5909
- showModalPropertyEditor(editor: IPropertyGridEditor, property: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions): any;
5925
+ showModalPropertyEditor?: (editor: IPropertyGridEditor, property: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions) => any;
5910
5926
  onCreated?: (obj: Base, question: Question, prop: JsonObjectProperty, options: ISurveyCreatorOptions) => void;
5911
5927
  onAfterRenderQuestion?: (obj: Base, prop: JsonObjectProperty, evtOptions: any) => void;
5912
5928
  createPropertyEditorSetup?: (obj: Base, prop: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions) => IPropertyEditorSetup;
@@ -6051,3 +6067,37 @@ export declare class PropertyGridEditorQuestionValue extends PropertyGridEditorQ
6051
6067
  protected getItemValue(question: Question): any;
6052
6068
  }
6053
6069
 
6070
+ export declare class LogicActionModelBase {
6071
+ protected panel: PanelModel;
6072
+ initialLogicAction: SurveyLogicAction;
6073
+ logicType: SurveyLogicType;
6074
+ isTrigger: boolean;
6075
+ currentLogicAction: SurveyLogicAction;
6076
+ static createActionModel(panel: PanelModel, logicAction: SurveyLogicAction, logicType: SurveyLogicType, selectorElementsHash: any): LogicActionModelBase;
6077
+ constructor(panel: PanelModel, initialLogicAction: SurveyLogicAction, logicType: SurveyLogicType);
6078
+ updateCurrentLogicAction(survey: SurveyModel): boolean;
6079
+ afterUpdateInitialLogicAction(): void;
6080
+ resetElements(): void;
6081
+ getSelectedElement(): string;
6082
+ updateInitialLogicAction(): void;
6083
+ setInitialElementValue(question: QuestionDropdownModel, action: SurveyLogicAction, selectedQuestion: string): void;
6084
+ }
6085
+ export declare class LogicActionModel extends LogicActionModelBase {
6086
+ constructor(panel: PanelModel, logicAction: SurveyLogicAction, logicType: SurveyLogicType, selectorElementsHash: any);
6087
+ updateCurrentLogicAction(survey: SurveyModel): boolean;
6088
+ resetElements(): void;
6089
+ updatePanelElements(selectedElement: string, choices: Array<ItemValue>): void;
6090
+ getSelectedElement(): string;
6091
+ }
6092
+ export declare class LogicActionTriggerModel extends LogicActionModelBase {
6093
+ isTrigger: boolean;
6094
+ constructor(panel: PanelModel, logicAction: SurveyLogicAction, logicType: SurveyLogicType);
6095
+ afterUpdateInitialLogicAction(): void;
6096
+ updateCurrentLogicAction(survey: SurveyModel): boolean;
6097
+ updatePanel(propertyName: string, newValue: any, options: ISurveyCreatorOptions, survey: SurveyModel): void;
6098
+ setPanelObj(obj: Base): void;
6099
+ resetElements(): void;
6100
+ updatePanelElements(selectedElement: string, options?: ISurveyCreatorOptions): void;
6101
+ getSelectedElement(): string;
6102
+ }
6103
+