survey-creator-react 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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "survey-creator-react",
3
- "version": "1.9.6-beta.1",
3
+ "version": "1.9.10-beta.1",
4
4
  "description": "Use SurveyJS Creator to create or edit JSON for SurveyJS Library.",
5
5
  "keywords": [
6
6
  "Survey",
@@ -14,8 +14,6 @@
14
14
  "homepage": "https://surveyjs.io/Overview/Survey-Creator",
15
15
  "license": "https://surveyjs.io/Licenses#SurveyCreator",
16
16
  "files": [
17
- "survey-creator-react.css",
18
- "survey-creator-react.min.css",
19
17
  "survey-creator-react.js",
20
18
  "survey-creator-react.d.ts",
21
19
  "survey-creator-react.min.js"
@@ -33,8 +31,9 @@
33
31
  "ace-builds": "^1.4.12"
34
32
  },
35
33
  "dependencies": {
36
- "survey-core": "^1.8.0",
37
- "survey-react-ui": "^1.8.0",
34
+ "survey-core": "^1.9.9",
35
+ "survey-react-ui": "^1.9.9",
36
+ "survey-creator-core": "^1.9.9-beta.1",
38
37
  "react": "^17.0.1",
39
38
  "react-dom": "^17.0.1"
40
39
  },
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Type definition for Survey Creator library for React v1.9.6-beta.1
2
+ * Type definition for Survey Creator library for React v1.9.10-beta.1
3
3
  * Copyright (c) 2015-2022 Devsoft Baltic OÜ - https://surveyjs.io/
4
4
  * License: https://surveyjs.io/Licenses#SurveyCreator
5
5
  */
@@ -7,11 +7,12 @@ import { Base, JsonObjectProperty, Question, ItemValue, MatrixDropdownColumn } f
7
7
  import { IAction, SurveyModel, Action, QuestionRowModel, PageModel } from "survey-core";
8
8
  import { QuestionSelectBase, ImageItemValue, SurveyElement, AdaptiveActionContainer, ActionContainer } from "survey-core";
9
9
  import { DragDropSurveyElements, DragDropChoices, Event, IElement, IPanel } from "survey-core";
10
- import { ISurveyElement, LocalizableString, ListModel, PopupModel, EventBase } from "survey-core";
11
- import { PanelModel, PanelModelBase, SurveyError, QuestionNonValue, SurveyTemplateRendererTemplateData } from "survey-core";
12
- import { ComputedUpdater, ResponsivityManager, QuestionCheckboxModel, ILocalizableString, ArrayChanges } from "survey-core";
13
- import { VerticalResponsivityManager, HashTable, QuestionMatrixDynamicModel, QuestionMatrixModel, QuestionMatrixDropdownModel } from "survey-core";
14
- import { QuestionPanelDynamicModel, QuestionCommentModel, QuestionRatingModel, MatrixDynamicRowModel } from "survey-core";
10
+ import { ISurveyElement, LocalizableString, DragOrClickHelper, PanelModel, QuestionDropdownModel } from "survey-core";
11
+ import { ListModel, PopupModel, EventBase, PanelModelBase, SurveyError } from "survey-core";
12
+ import { QuestionNonValue, SurveyTemplateRendererTemplateData, ComputedUpdater, ResponsivityManager, QuestionCheckboxModel } from "survey-core";
13
+ import { ILocalizableString, ArrayChanges, VerticalResponsivityManager, HashTable, QuestionMatrixDynamicModel } from "survey-core";
14
+ import { QuestionMatrixModel, QuestionMatrixDropdownModel, QuestionPanelDynamicModel, QuestionCommentModel, QuestionRatingModel } from "survey-core";
15
+ import { MatrixDynamicRowModel } from "survey-core";
15
16
  import { SurveyElementBase, ReactSurveyModel, ISurveyCreator, SurveyQuestionElementBase } from "survey-react-ui";
16
17
  import * as React from "react";
17
18
 
@@ -147,7 +148,7 @@ export interface IPropertyGridEditor {
147
148
  fit(prop: JsonObjectProperty, context?: string): boolean;
148
149
  isDefault?: any;
149
150
  getJSON(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): any;
150
- showModalPropertyEditor(editor: IPropertyGridEditor, property: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions): any;
151
+ showModalPropertyEditor?: any;
151
152
  onCreated?: any;
152
153
  onAfterRenderQuestion?: any;
153
154
  createPropertyEditorSetup?: any;
@@ -294,7 +295,7 @@ export interface ISurveyCreatorToolboxItemProps {
294
295
  export interface ISurveyCreatorToolboxProps {
295
296
  model: any;
296
297
  }
297
- export interface ISideBarComponentProps {
298
+ export interface ISidebarComponentProps {
298
299
  model: any;
299
300
  }
300
301
  export interface ISurveyPageNavigatorProps {
@@ -330,6 +331,7 @@ export declare class ActionContainerViewModel<T> extends Base {
330
331
  actionContainer: any;
331
332
  allowDragging: boolean;
332
333
  selectedPropPageFunc: any;
334
+ sidebarFlyoutModeChangedFunc: any;
333
335
  protected checkActionProperties(): void;
334
336
  dispose(): void;
335
337
  protected onElementSelectedChanged(isSelected: boolean): void;
@@ -354,7 +356,6 @@ export declare class CellQuestionDropdownAdornerComponent extends SurveyElementB
354
356
  render(): any;
355
357
  }
356
358
  export declare class ConditionEditorItem {
357
- constructor();
358
359
  conjunction: string;
359
360
  questionName: string;
360
361
  operator: string;
@@ -795,6 +796,16 @@ export declare class CreatorBase<T extends SurveyModel = SurveyModel> {
795
796
  */
796
797
  onTranslationStringVisibility: Event<(sender: CreatorBase<T>, options: any) => any, any>;
797
798
  /*
799
+ * Use this event to define is the locale initially selected (default value) and ready for translaion or it is unselected.
800
+ *
801
+ * The event handler accepts the following arguments:
802
+ *
803
+ * - `sender` - A Survey Creator instance that raised the event.
804
+ * - `options.locale` - the locale name, like 'en', 'de' and so on.
805
+ * - `options.isSelected` - it is true by default. Set it to false to make the translation unselected.
806
+ */
807
+ onTranslationLocaleInitiallySelected: Event<(sender: CreatorBase<T>, options: any) => any, any>;
808
+ /*
798
809
  * This callback is used internally for providing survey JSON text.
799
810
  */
800
811
  getSurveyJSONTextCallback: any;
@@ -920,19 +931,22 @@ export declare class CreatorBase<T extends SurveyModel = SurveyModel> {
920
931
  * Change the active view/tab. It will return false if it can't change the current tab.
921
932
  */
922
933
  makeNewViewActive(viewName: string): boolean;
923
- static defaultNewSurveyText: string;
924
934
  toolbox: QuestionToolbox;
925
935
  get toolboxCategories(): any;
926
- sideBar: SideBarModel;
936
+ sidebar: SidebarModel;
927
937
  updateToolboxIsCompact(newVal?: boolean): void;
928
938
  onSurveyElementPropertyValueChanged(property: JsonObjectProperty, obj: any, newValue: any): void;
929
- get showToolbox(): boolean | "none" | "top" | "left" | "right";
930
- set showToolbox(val: boolean | "none" | "top" | "left" | "right");
931
- showPropertyGridValue: boolean;
932
- onShowPropertyGridVisiblityChanged: Event<(sender: CreatorBase<T>, options: any) => any, any>;
939
+ showToolboxValue: boolean;
940
+ get showToolbox(): boolean;
941
+ set showToolbox(val: boolean);
942
+ showSidebarValue: boolean;
943
+ onShowSidebarVisiblityChanged: Event<(sender: CreatorBase<T>, options: any) => any, any>;
933
944
  /*
934
945
  * Set this this property grid false to hide the property grid.
935
946
  */
947
+ get showSidebar(): boolean;
948
+ set showSidebar(val: boolean);
949
+ onShowPropertyGridVisiblityChanged: Event<(sender: CreatorBase<T>, options: any) => any, any>;
936
950
  get showPropertyGrid(): boolean;
937
951
  set showPropertyGrid(val: boolean);
938
952
  rightContainerActiveItem(name: string): void;
@@ -968,6 +982,10 @@ export declare class CreatorBase<T extends SurveyModel = SurveyModel> {
968
982
  */
969
983
  stopUndoRedoTransaction(): void;
970
984
  /*
985
+ * Returns true if Creator is currently doing undo or redo opertaions
986
+ */
987
+ get isProcessingUndoRedo(): boolean;
988
+ /*
971
989
  * This method performs undo uperation if possible.
972
990
  */
973
991
  undo(): void;
@@ -1167,17 +1185,21 @@ export declare class CreatorBase<T extends SurveyModel = SurveyModel> {
1167
1185
  showPageNavigator: any;
1168
1186
  showTabs: any;
1169
1187
  showToolbar: any;
1188
+ allowCollapseSidebar: any;
1170
1189
  isMobileView: any;
1171
1190
  toolboxLocation: any;
1172
- sideBarLocation: "left" | "right";
1191
+ sidebarLocation: "left" | "right";
1173
1192
  selectFromStringEditor: boolean;
1174
1193
  }
1175
1194
  export declare class CreatorResponsivityManager {
1176
1195
  constructor(container: any, creator: any);
1177
1196
  resizeObserver: any;
1178
1197
  currentWidth: any;
1179
- prevToolboxLocation: any;
1198
+ prevShowToolbox: any;
1199
+ prevToolboxIsCompact: any;
1200
+ prevShowPageNavigator: any;
1180
1201
  screenWidth: any;
1202
+ devicePixelRatio: any;
1181
1203
  process(): void;
1182
1204
  dispose(): void;
1183
1205
  }
@@ -1207,19 +1229,6 @@ export declare class DesignTimeSurveyModel extends ReactSurveyModel {
1207
1229
  getRendererForString(element: Base, name: string): string;
1208
1230
  getRendererContextForString(element: Base, locStr: LocalizableString): any;
1209
1231
  }
1210
- export declare class DragOrClickHelper {
1211
- constructor(dragHandler: any);
1212
- pointerDownEvent: any;
1213
- currentTarget: any;
1214
- startX: any;
1215
- startY: any;
1216
- currentX: any;
1217
- currentY: any;
1218
- itemModel: any;
1219
- onPointerDown(pointerDownEvent: any, itemModel?: any): void;
1220
- onPointerUp: any;
1221
- tryToStartDrag: any;
1222
- }
1223
1232
  export declare class EditableObject {
1224
1233
  constructor(obj: Base);
1225
1234
  static isCopyObject(obj: any): boolean;
@@ -1313,6 +1322,19 @@ export declare class JsonEditorBaseModel extends Base {
1313
1322
  processErrors(text: string): void;
1314
1323
  get readOnly(): boolean;
1315
1324
  }
1325
+ export declare class LogicActionModelBase {
1326
+ constructor(panel: PanelModel, initialLogicAction: SurveyLogicAction, logicType: SurveyLogicType);
1327
+ initialLogicAction: SurveyLogicAction;
1328
+ logicType: SurveyLogicType;
1329
+ isTrigger: boolean;
1330
+ currentLogicAction: SurveyLogicAction;
1331
+ updateCurrentLogicAction(survey: SurveyModel): boolean;
1332
+ afterUpdateInitialLogicAction(): void;
1333
+ resetElements(): void;
1334
+ getSelectedElement(): string;
1335
+ updateInitialLogicAction(): void;
1336
+ setInitialElementValue(question: QuestionDropdownModel, action: SurveyLogicAction, selectedQuestion: string): void;
1337
+ }
1316
1338
  export declare class LogoImageComponent extends SurveyElementBase<ILogoImageComponentProps, any> {
1317
1339
  constructor(props: ILogoImageComponentProps);
1318
1340
  model: any;
@@ -1523,7 +1545,6 @@ export declare class QuestionAdornerComponent extends SurveyElementBase<Question
1523
1545
  renderElementPlaceholder(): any;
1524
1546
  }
1525
1547
  export declare class QuestionConverter {
1526
- constructor();
1527
1548
  static convertInfo: any;
1528
1549
  static addConvertInfo(className: string, convertToClassName: string): void;
1529
1550
  static getConvertToClasses(className: string, availableTypes?: any, includeCurrent?: boolean): Array<any>;
@@ -1751,8 +1772,8 @@ export declare class SelectionHistory extends Base {
1751
1772
  selectFromAction(obj: Base, propertyName: string): void;
1752
1773
  onObjSelected(obj: Base): void;
1753
1774
  }
1754
- export declare class SideBarComponent extends SurveyElementBase<ISideBarComponentProps, any> {
1755
- constructor(props: ISideBarComponentProps);
1775
+ export declare class SidebarComponent extends SurveyElementBase<ISidebarComponentProps, any> {
1776
+ constructor(props: ISidebarComponentProps);
1756
1777
  containerRef: any;
1757
1778
  get model(): any;
1758
1779
  protected getStateElement(): Base;
@@ -1761,17 +1782,19 @@ export declare class SideBarComponent extends SurveyElementBase<ISideBarComponen
1761
1782
  canRender(): boolean;
1762
1783
  renderElement(): any;
1763
1784
  }
1764
- export declare class SideBarModel extends Base {
1785
+ export declare class SidebarModel extends Base {
1765
1786
  constructor(creator: any, collapseAction?: any, expandAction?: any);
1766
1787
  toolbar: any;
1767
1788
  _expandAction: Action;
1768
1789
  _collapseAction: Action;
1769
- _activeTab: SideBarTabModel;
1770
- onPropertyGridVisibilityChanged: any;
1790
+ _activeTab: SidebarTabModel;
1791
+ onSidebarVisibilityChanged: any;
1771
1792
  resizeManager: ResizeManager;
1772
1793
  tabs: any;
1773
1794
  headerText: string;
1774
1795
  visible: boolean;
1796
+ collapsedManually: boolean;
1797
+ expandedManually: boolean;
1775
1798
  hasVisibleTabs: boolean;
1776
1799
  flyoutMode: boolean;
1777
1800
  activeTab: string;
@@ -1779,23 +1802,23 @@ export declare class SideBarModel extends Base {
1779
1802
  get closeText(): string;
1780
1803
  getTabById(id: string): any;
1781
1804
  getExpandAction(): Action;
1782
- collapseSideBar(): void;
1783
- expandSideBar(): void;
1784
- addTab(id: string, componentName?: string, model?: any, buildActions?: any): SideBarTabModel;
1805
+ collapseSidebar(): void;
1806
+ expandSidebar(): void;
1807
+ addTab(id: string, componentName?: string, model?: any, buildActions?: any): SidebarTabModel;
1785
1808
  updateHasVisibleTabs(): void;
1786
1809
  dispose(): void;
1787
1810
  initResizeManager(container: any): void;
1788
1811
  resetResizeManager(): void;
1789
1812
  }
1790
- export declare class SideBarTab extends SurveyElementBase<any, any> {
1813
+ export declare class SidebarTab extends SurveyElementBase<any, any> {
1791
1814
  constructor(props: any);
1792
1815
  protected getStateElement(): Base;
1793
1816
  renderElement(): any;
1794
1817
  }
1795
- export declare class SideBarTabModel extends Base {
1796
- constructor(id: string, sidePanel: SideBarModel, componentName?: string, model?: any);
1818
+ export declare class SidebarTabModel extends Base {
1819
+ constructor(id: string, sidePanel: SidebarModel, componentName?: string, model?: any);
1797
1820
  id: string;
1798
- sidePanel: SideBarModel;
1821
+ sidePanel: SidebarModel;
1799
1822
  caption: string;
1800
1823
  visible: boolean;
1801
1824
  model: any;
@@ -1807,6 +1830,7 @@ export declare class StringEditorViewModelBase extends Base {
1807
1830
  focusedProgram: boolean;
1808
1831
  valueBeforeEdit: string;
1809
1832
  errorText: string;
1833
+ focused: boolean;
1810
1834
  setLocString(locString: LocalizableString): void;
1811
1835
  checkConstraints(event: any): void;
1812
1836
  blurEditor: any;
@@ -1823,7 +1847,6 @@ export declare class StringEditorViewModelBase extends Base {
1823
1847
  className(text: any): string;
1824
1848
  }
1825
1849
  export declare class StylesManager {
1826
- constructor();
1827
1850
  static get currentTheme(): string;
1828
1851
  static set currentTheme(val: string);
1829
1852
  static applyTheme(name?: string): void;
@@ -1838,7 +1861,7 @@ export declare class SurveyCreatorComponent extends SurveyElementBase<ISurveyCre
1838
1861
  renderElement(): any;
1839
1862
  renderActiveTab(): any;
1840
1863
  renderCreatorTab(tab: any): any;
1841
- renderSideBar(): any;
1864
+ renderSidebar(): any;
1842
1865
  }
1843
1866
  export declare class SurveyCreatorToolboxItem extends SurveyElementBase<ISurveyCreatorToolboxItemProps, any> {
1844
1867
  constructor(props: any);
@@ -1867,7 +1890,6 @@ export declare class SurveyForTextWorker extends SurveyModel {
1867
1890
  constructor(jsonObj: any);
1868
1891
  }
1869
1892
  export declare class SurveyHelper {
1870
- constructor();
1871
1893
  static getNewColumnName(objs: any, keyPropName: string, baseName: string): string | number;
1872
1894
  }
1873
1895
  export declare class SurveyJSON5 {
@@ -1898,9 +1920,11 @@ export declare class SurveyLocStringEditor extends SurveyElementBase<any, any> {
1898
1920
  get errorText(): string;
1899
1921
  componentDidMount(): void;
1900
1922
  componentWillUnmount(): void;
1901
- onInput: any;
1923
+ onBlur: any;
1924
+ justFocused: boolean;
1902
1925
  onFocus: any;
1903
1926
  onKeyDown: any;
1927
+ onMouseUp: any;
1904
1928
  done: any;
1905
1929
  edit: any;
1906
1930
  render(): any;
@@ -1970,6 +1994,7 @@ export declare class SurveyLogic extends Base implements ISurveyLogicItemOwner {
1970
1994
  protected hasErrorInUI(): boolean;
1971
1995
  protected getExpressionText(): string;
1972
1996
  protected getEditingActions(): Array<SurveyLogicAction>;
1997
+ protected onReadOnlyChanged(): void;
1973
1998
  addNew(): void;
1974
1999
  editItem(item: SurveyLogicItem): void;
1975
2000
  protected onStartEditing(): void;
@@ -2074,7 +2099,6 @@ export declare class SurveyLogicType {
2074
2099
  supportContext(context: Base): boolean;
2075
2100
  }
2076
2101
  export declare class SurveyLogicTypes {
2077
- constructor();
2078
2102
  static baseTypes: any;
2079
2103
  static types: any;
2080
2104
  }
@@ -2105,11 +2129,9 @@ export declare class SurveyPageNavigatorItem extends SurveyElementBase<any, any>
2105
2129
  renderElement(): any;
2106
2130
  }
2107
2131
  export declare class SurveyQuestionEditorDefinition {
2108
- constructor();
2109
2132
  static definition: any;
2110
2133
  }
2111
2134
  export declare class SurveyQuestionEditorPropertyDefinition {
2112
- constructor();
2113
2135
  property: JsonObjectProperty;
2114
2136
  title: string;
2115
2137
  category: string;
@@ -2118,7 +2140,6 @@ export declare class SurveyQuestionEditorPropertyDefinition {
2118
2140
  get name(): string;
2119
2141
  }
2120
2142
  export declare class SurveyQuestionEditorTabDefinition {
2121
- constructor();
2122
2143
  name: string;
2123
2144
  title: string;
2124
2145
  visible: boolean;
@@ -2153,12 +2174,16 @@ export declare class SurveyResults extends SurveyElementBase<ISurveyResultsProps
2153
2174
  render(): any;
2154
2175
  renderResultAsText(): any;
2155
2176
  renderResultAsTable(): any;
2156
- renderRows(data: any): Array<Element>;
2157
- renderRow(row: any): any;
2177
+ }
2178
+ export declare class SurveyResultsByRow extends SurveyElementBase<any, any> {
2179
+ constructor(props: any);
2180
+ protected getStateElement(): Base;
2181
+ render(): any;
2158
2182
  }
2159
2183
  export declare class SurveyResultsItemModel extends Base {
2160
- constructor(_data: any);
2184
+ constructor(_data: any, _lvl: number);
2161
2185
  collapsed: boolean;
2186
+ lvl: number;
2162
2187
  items: any;
2163
2188
  get data(): any;
2164
2189
  toggle: any;
@@ -2168,6 +2193,9 @@ export declare class SurveyResultsItemModel extends Base {
2168
2193
  get value(): any;
2169
2194
  get displayValue(): string;
2170
2195
  getString(data: any): string;
2196
+ markerWidth: number;
2197
+ get markerMargin(): string;
2198
+ get textMargin(): string;
2171
2199
  }
2172
2200
  export declare class SurveyResultsModel extends Base {
2173
2201
  constructor(survey: SurveyModel);
@@ -2180,8 +2208,10 @@ export declare class SurveyResultsModel extends Base {
2180
2208
  get resultsName(): any;
2181
2209
  get resultsValue(): any;
2182
2210
  get resultsDisplayValue(): any;
2183
- selectTableClick(model: SurveyResultsModel): void;
2184
- selectJsonClick(model: SurveyResultsModel): void;
2211
+ get isTableSelected(): boolean;
2212
+ get isJsonSelected(): boolean;
2213
+ selectTableClick: any;
2214
+ selectJsonClick: any;
2185
2215
  }
2186
2216
  export declare class SurveySimulator extends SurveyElementBase<any, any> {
2187
2217
  constructor(props: any);
@@ -2230,6 +2260,8 @@ export declare class TabDesignerComponent extends SurveyElementBase<ITabDesigner
2230
2260
  protected renderPages(): Array<Element>;
2231
2261
  protected renderPage(pageV: PageModel): any;
2232
2262
  renderElement(): any;
2263
+ renderPlaceHolder(): any;
2264
+ renderTabContent(): any;
2233
2265
  }
2234
2266
  export declare class TabDesignerViewModel<T> extends Base {
2235
2267
  constructor(creator: any);
@@ -2240,9 +2272,11 @@ export declare class TabDesignerViewModel<T> extends Base {
2240
2272
  showNewPage: boolean;
2241
2273
  pageCount: number;
2242
2274
  withModifier: string;
2275
+ showPlaceholder: boolean;
2243
2276
  creator: any;
2244
2277
  get survey(): T;
2245
2278
  get isToolboxVisible(): boolean;
2279
+ get placeholderText(): string;
2246
2280
  initSurvey(): void;
2247
2281
  onPagesChangedHandler: any;
2248
2282
  dispose(): void;
@@ -2395,6 +2429,7 @@ export declare class Translation extends Base implements ITranslationLocales {
2395
2429
  availableTranlationsChangedCallback: any;
2396
2430
  tranlationChangedCallback: any;
2397
2431
  translationStringVisibilityCallback: any;
2432
+ localeInitialVisibleCallback: any;
2398
2433
  surveyValue: SurveyModel;
2399
2434
  settingsSurveyValue: SurveyModel;
2400
2435
  onBaseObjCreatingCallback: any;
@@ -2508,6 +2543,7 @@ export declare class UndoRedoManager {
2508
2543
  transactionCounter: number;
2509
2544
  startTransaction(name: string): void;
2510
2545
  stopTransaction(): void;
2546
+ get isProcessingUndoRedo(): boolean;
2511
2547
  canUndo(): boolean;
2512
2548
  undo(): void;
2513
2549
  canRedo(): boolean;
@@ -2540,7 +2576,6 @@ export declare class AdaptiveToolbox extends Toolbox {
2540
2576
  protected renderCategoryContent(category: any): Array<any>;
2541
2577
  }
2542
2578
  export declare class EmptySurveyCreatorOptions implements ISurveyCreatorOptions {
2543
- constructor();
2544
2579
  alwaySaveTextInPropertyEditors: boolean;
2545
2580
  readOnly: boolean;
2546
2581
  maxLogicItemsInCondition: number;
@@ -2580,6 +2615,25 @@ export declare class ImageItemValueWrapperViewModel extends ItemValueWrapperView
2580
2615
  chooseFile(model: ImageItemValueWrapperViewModel): void;
2581
2616
  chooseNewFile(model: ImageItemValueWrapperViewModel): void;
2582
2617
  }
2618
+ export declare class LogicActionModel extends LogicActionModelBase {
2619
+ constructor(panel: PanelModel, logicAction: SurveyLogicAction, logicType: SurveyLogicType, selectorElementsHash: any);
2620
+ updateCurrentLogicAction(survey: SurveyModel): boolean;
2621
+ resetElements(): void;
2622
+ updatePanelElements(selectedElement: string, choices: any): void;
2623
+ getSelectedElement(): string;
2624
+ }
2625
+ export declare class LogicActionTriggerModel extends LogicActionModelBase {
2626
+ constructor(panel: PanelModel, logicAction: SurveyLogicAction, logicType: SurveyLogicType);
2627
+ panelObj: Base;
2628
+ isTrigger: boolean;
2629
+ afterUpdateInitialLogicAction(): void;
2630
+ updateCurrentLogicAction(survey: SurveyModel): boolean;
2631
+ updatePanel(propertyName: string, newValue: any, options: ISurveyCreatorOptions, survey: SurveyModel): void;
2632
+ setPanelObj(obj: Base): void;
2633
+ resetElements(): void;
2634
+ updatePanelElements(selectedElement: string, options?: ISurveyCreatorOptions): void;
2635
+ getSelectedElement(): string;
2636
+ }
2583
2637
  export declare class PageViewModel<T> extends ActionContainerViewModel<T> {
2584
2638
  constructor(creator: any, page: PageModel);
2585
2639
  isSelected: boolean;
@@ -2598,6 +2652,7 @@ export declare class PageViewModel<T> extends ActionContainerViewModel<T> {
2598
2652
  select(model: any, event: IPortableMouseEvent): void;
2599
2653
  get css(): string;
2600
2654
  hover(event: any, element: any): void;
2655
+ hoverStopper(event: any, element: any): void;
2601
2656
  protected duplicate(): void;
2602
2657
  get allowEdit(): boolean;
2603
2658
  get addNewQuestionText(): string;
@@ -2733,6 +2788,7 @@ export declare class SurveyLogicUI extends SurveyLogic {
2733
2788
  addNewUI(): void;
2734
2789
  toggleExpressionEditorIsFastEntry(): void;
2735
2790
  protected onPropertyValueChanged(name: string, oldValue: any, newValue: any): void;
2791
+ protected onReadOnlyChanged(): void;
2736
2792
  get expressionEditor(): ConditionEditor;
2737
2793
  get itemEditor(): LogicItemEditor;
2738
2794
  getExpressionEditor(item: SurveyLogicItem): ConditionEditor;
@@ -2756,8 +2812,8 @@ export declare class TabDesignerPlugin<T> implements ICreatorPlugin {
2756
2812
  constructor(creator: any);
2757
2813
  model: any;
2758
2814
  propertyGrid: any;
2759
- propertyGridTab: SideBarTabModel;
2760
- toolboxTab: SideBarTabModel;
2815
+ propertyGridTab: SidebarTabModel;
2816
+ toolboxTab: SidebarTabModel;
2761
2817
  surveySettingsAction: Action;
2762
2818
  saveSurveyAction: Action;
2763
2819
  previewAction: Action;
@@ -2816,20 +2872,22 @@ export declare class TabTestPlugin implements ICreatorPlugin {
2816
2872
  }
2817
2873
  export declare class TabTranslationPlugin implements ICreatorPlugin {
2818
2874
  constructor(creator: any);
2819
- showAllStringsAction: Action;
2875
+ filterStringsAction: Action;
2820
2876
  filterPageAction: Action;
2821
2877
  mergeLocaleWithDefaultAction: Action;
2822
2878
  importCsvAction: Action;
2823
2879
  exportCsvAction: Action;
2824
2880
  inputFileElement: any;
2825
2881
  pagePopupModel: any;
2826
- sideBarTab: SideBarTabModel;
2882
+ stringsPopupModel: any;
2883
+ sidebarTab: SidebarTabModel;
2827
2884
  model: Translation;
2828
2885
  activate(): void;
2829
2886
  update(): void;
2830
2887
  deactivate(): boolean;
2831
2888
  get selectLanguageOptionsCaption(): any;
2832
2889
  get showAllStringsText(): string;
2890
+ get showUsedStringsOnlyText(): string;
2833
2891
  get showAllPagesText(): string;
2834
2892
  get exportToCSVText(): string;
2835
2893
  get importFromCSVText(): string;
@@ -2990,18 +3048,18 @@ export declare class LogicItemEditor extends PropertyEditorSetupValue {
2990
3048
  logicTypeChoices: any;
2991
3049
  editableItemValue: SurveyLogicItem;
2992
3050
  isBuildingPanels: boolean;
2993
- titleActionsCreator: PropertyGridTitleActionsCreator;
2994
3051
  initialSelectedElements: any;
2995
3052
  isModifiedValue: boolean;
2996
3053
  contextValue: Question;
3054
+ selectorElementsHash: any;
2997
3055
  get editableItem(): SurveyLogicItem;
2998
3056
  setEditableItem(val: SurveyLogicItem): void;
2999
3057
  get survey(): SurveyModel;
3000
3058
  get isModified(): boolean;
3001
3059
  get panel(): QuestionPanelDynamicModel;
3002
3060
  get panels(): any;
3003
- getPanelByAction(action: SurveyLogicAction): PanelModel;
3004
- getActionByPanel(panel: PanelModel): SurveyLogicAction;
3061
+ getActionModelByPanel(panel: PanelModel): LogicActionModelBase;
3062
+ setActionModelByPanel(panel: PanelModel, actionModel: LogicActionModelBase): void;
3005
3063
  get context(): Question;
3006
3064
  set context(val: Question);
3007
3065
  protected getSurveyJSON(): any;
@@ -3010,14 +3068,13 @@ export declare class LogicItemEditor extends PropertyEditorSetupValue {
3010
3068
  apply(): boolean;
3011
3069
  getEditingActions(): Array<SurveyLogicAction>;
3012
3070
  getLocString(name: string): string;
3013
- selectorElementsHash: any;
3014
3071
  }
3015
3072
  export declare class PropertyGridEditorBindings extends PropertyGridEditor {
3016
3073
  constructor();
3017
3074
  fit(prop: JsonObjectProperty): boolean;
3018
3075
  getJSON(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): any;
3019
3076
  onMatrixCellCreated(obj: Base, options: any): void;
3020
- onMatrixCellValueChanged(obj: Base, options: any): void;
3077
+ onCreated(obj: Base, question: Question, prop: JsonObjectProperty): void;
3021
3078
  }
3022
3079
  export declare class PropertyGridEditorBoolean extends PropertyGridEditor {
3023
3080
  constructor();
@@ -3374,9 +3431,13 @@ export declare var editorLocalization: {
3374
3431
  };
3375
3432
  export declare var defaultStrings: any;
3376
3433
  export declare var settings: {
3377
- traslation: {
3434
+ translation: {
3378
3435
  sortByName: boolean,
3379
3436
  exportPrefix: string,
3437
+ /*
3438
+ * The maximum number of locales that user can select at once for translation
3439
+ */
3440
+ maximumSelectedLocales: number,
3380
3441
  },
3381
3442
  operators: {
3382
3443
  empty: any,
@@ -3392,9 +3453,7 @@ export declare var settings: {
3392
3453
  greaterorequal: any,
3393
3454
  lessorequal: any,
3394
3455
  },
3395
- defaultNewSurveyJSON: {
3396
- pages: any,
3397
- },
3456
+ defaultNewSurveyJSON: any,
3398
3457
  logic: {
3399
3458
  visibleActions: any,
3400
3459
  logicItemTitleMaxChars: number,
@@ -3404,7 +3463,6 @@ export declare var settings: {
3404
3463
  */
3405
3464
  questionConvertMode: QuestionConvertMode,
3406
3465
  propertyGrid: {
3407
- allowCollapse: boolean,
3408
3466
  useButtonGroup: boolean,
3409
3467
  maxCharsInButtonGroup: number,
3410
3468
  showNavigationButtons: boolean,
@@ -3438,6 +3496,7 @@ export declare var settings: {
3438
3496
  layout: {
3439
3497
  showTabs: boolean,
3440
3498
  showToolbar: boolean,
3499
+ allowCollapseSidebar: boolean,
3441
3500
  },
3442
3501
  jsonEditor: {
3443
3502
  indentation: number,
@@ -3573,7 +3632,6 @@ export declare var propertyGridCss: {
3573
3632
  itemSvgIconId: string,
3574
3633
  labelChecked: string,
3575
3634
  itemControl: string,
3576
- itemDecorator: string,
3577
3635
  controlLabel: string,
3578
3636
  materialDecorator: string,
3579
3637
  other: string,
@@ -3607,7 +3665,6 @@ export declare var propertyGridCss: {
3607
3665
  svgIconId: string,
3608
3666
  label: string,
3609
3667
  disabledLabel: string,
3610
- itemDecorator: string,
3611
3668
  materialDecorator: string,
3612
3669
  },
3613
3670
  text: {
@@ -4561,6 +4618,7 @@ export declare var logicCss: {
4561
4618
  mainRoot: string,
4562
4619
  },
4563
4620
  };
4621
+ export declare var initialSettingsAllowShowEmptyTitleInDesignMode: boolean;
4564
4622
  export declare var svgBundle: string;
4565
4623
  export declare var Version: string;
4566
4624
  export declare var editableStringRendererName: any;