survey-creator-core 1.8.75-beta.1 → 1.8.79-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.8.75-beta.1
1
+ /*Type definitions for SurveyJS Creator JavaScript library v1.8.79-beta.1
2
2
  (c) 2015-2021 Devsoft Baltic OÜ - http://surveyjs.io/
3
3
  Github: https://github.com/surveyjs/survey-creator
4
4
  License: https://surveyjs.io/Licenses#SurveyCreator
@@ -12,17 +12,17 @@ import { Base, SurveyModel, Question, PageModel, IElement, ActionContainer, Adap
12
12
  import { DragDropSurveyElements, DragDropChoices } from "survey-core";
13
13
  import { Base, SurveyModel } from "survey-core";
14
14
  import { SurveyModel } from "survey-core";
15
- import { Base, PageModel, SurveyModel, Action, AdaptiveActionContainer, IAction } from "survey-core";
15
+ import { Base, PageModel, SurveyModel, Action, IAction, ActionContainer } from "survey-core";
16
16
  import { Action, SurveyModel } from "survey-core";
17
17
  import { SurveyModel, Base, Event, Question } from "survey-core";
18
18
  import { Base, SurveyModel, JsonObjectProperty, PageModel, ILocalizableString, QuestionCheckboxModel, IAction } from "survey-core";
19
19
  import { SurveyModel, Action } from "survey-core";
20
- import { Base, PageModel, SurveyModel, Action } from "survey-core";
20
+ import { Base, PageModel, SurveyModel } from "survey-core";
21
21
  import { SurveyModel, Action, QuestionMatrixDynamicModel } from "survey-core";
22
22
  import { PopupModel, ListModel, Base, SurveyModel, IAction, Action } from "survey-core";
23
23
  import { PageModel, SurveyModel } from "survey-core";
24
24
  import { Base, SurveyModel, SurveyTemplateRendererTemplateData, QuestionRowModel } from "survey-core";
25
- import { SurveyElement, SurveyModel, SurveyTemplateRendererTemplateData, Action } from "survey-core";
25
+ import { SurveyElement, SurveyModel, SurveyTemplateRendererTemplateData, Action, DragTypeOverMeEnum } from "survey-core";
26
26
  import { SurveyElement, SurveyTemplateRendererTemplateData, SurveyModel } from "survey-core";
27
27
  import { SurveyElement, SurveyTemplateRendererTemplateData, SurveyModel, QuestionRatingModel } from "survey-core";
28
28
  import { Base, ItemValue, QuestionSelectBase, SurveyModel } from "survey-core";
@@ -31,13 +31,14 @@ import { SurveyModel, Base, Question } from "survey-core";
31
31
  import { Base } from "survey-core";
32
32
  import { Base, LocalizableString, JsonObjectProperty } from "survey-core";
33
33
  import { SurveyModel, QuestionNonValue } from "survey-core";
34
- import { Base, JsonObjectProperty, PanelModelBase, Question, SurveyModel, MatrixDynamicRowModel } from "survey-core";
34
+ import { Base, JsonObjectProperty, PanelModel, PanelModelBase, Question, SurveyModel, MatrixDynamicRowModel } from "survey-core";
35
35
  import { Base, JsonObjectProperty, Question } from "survey-core";
36
36
  import { Base, JsonObjectProperty, MatrixDynamicRowModel, Question, QuestionMatrixDynamicModel } from "survey-core";
37
- import { Base, SurveyModel, AdaptiveActionContainer, Action } from "survey-core";
37
+ import { Base, SurveyModel, Action } from "survey-core";
38
38
  import { Base, SurveyModel, ListModel, IAction, Action } from "survey-core";
39
39
  import { Base, JsonObjectProperty } from "survey-core";
40
40
  import { Action, AdaptiveActionContainer, Base, IAction, Question, SurveyModel } from "survey-core";
41
+ import { Base, AdaptiveActionContainer, Action } from "survey-core";
41
42
  import { Base, ItemValue, JsonObjectProperty } from "survey-core";
42
43
  import { ArrayChanges, Base } from "survey-core";
43
44
  import { Base, SurveyModel, EventBase, PageModel } from "survey-core";
@@ -55,8 +56,8 @@ import "../components/tabbed-menu/tabbed-menu.scss";
55
56
  import "../components/toolbox/toolbox-tool.scss";
56
57
  import "../components/question-dropdown.scss";
57
58
  import "../components/toolbox/toolbox.scss";
59
+ import "../components/side-bar/side-bar.scss";
58
60
  import "../property-grid-theme/property-grid.scss";
59
- import "../survey-designer-theme/survey-designer.scss";
60
61
  import "../utils/design.scss";
61
62
  import "../utils/layout.scss";
62
63
  import "../localization/danish";
@@ -90,6 +91,7 @@ export declare var enStrings: {
90
91
  addLogicItem: string;
91
92
  copy: string;
92
93
  duplicate: string;
94
+ settings: string;
93
95
  addToToolbox: string;
94
96
  deletePanel: string;
95
97
  deleteQuestion: string;
@@ -279,6 +281,7 @@ export declare var enStrings: {
279
281
  reset: string;
280
282
  change: string;
281
283
  refresh: string;
284
+ close: string;
282
285
  delete: string;
283
286
  add: string;
284
287
  addNew: string;
@@ -795,6 +798,91 @@ export declare var enStrings: {
795
798
  hasNone: string;
796
799
  noneText: string;
797
800
  text: string;
801
+ multiSelect: string;
802
+ showLabel: string;
803
+ logo: string;
804
+ logoWidth: string;
805
+ logoHeight: string;
806
+ logoFit: string;
807
+ focusOnFirstError: string;
808
+ completedHtmlOnCondition: string;
809
+ pages: string;
810
+ calculatedValues: string;
811
+ navigateToUrl: string;
812
+ navigateToUrlOnCondition: string;
813
+ questionDescriptionLocation: string;
814
+ progressBarType: string;
815
+ maxTextLength: string;
816
+ maxOthersLength: string;
817
+ textUpdateMode: string;
818
+ autoGrowComment: string;
819
+ questionTitlePattern: string;
820
+ questionsOnPageMode: string;
821
+ showPreviewBeforeComplete: string;
822
+ widthMode: string;
823
+ showNumber: string;
824
+ navigationTitle: string;
825
+ navigationDescription: string;
826
+ useDisplayValuesInTitle: string;
827
+ minWidth: string;
828
+ maxWidth: string;
829
+ descriptionLocation: string;
830
+ hideNumber: string;
831
+ defaultValueExpression: string;
832
+ bindings: string;
833
+ columnsVisibleIf: string;
834
+ rowsVisibleIf: string;
835
+ showHeader: string;
836
+ detailPanelMode: string;
837
+ rowTitleWidth: string;
838
+ allowAddRows: string;
839
+ allowRemoveRows: string;
840
+ defaultValueFromLastRow: string;
841
+ hideColumnsIfEmpty: string;
842
+ emptyRowsText: string;
843
+ detailPanelShowOnAdding: string;
844
+ allowRowsDragAndDrop: string;
845
+ rowsOrder: string;
846
+ hideIfRowsEmpty: string;
847
+ maximumFractionDigits: string;
848
+ minimumFractionDigits: string;
849
+ choicesFromQuestion: string;
850
+ choicesFromQuestionMode: string;
851
+ hideIfChoicesEmpty: string;
852
+ choicesVisibleIf: string;
853
+ choicesEnableIf: string;
854
+ otherPlaceHolder: string;
855
+ maxSelectedChoices: string;
856
+ showClearButton: string;
857
+ contentMode: string;
858
+ imageFit: string;
859
+ autoComplete: string;
860
+ min: string;
861
+ max: string;
862
+ minValueExpression: string;
863
+ maxValueExpression: string;
864
+ minErrorText: string;
865
+ maxErrorText: string;
866
+ step: string;
867
+ dataList: string;
868
+ autoGrow: string;
869
+ multiLine: string;
870
+ allowImagesPreview: string;
871
+ acceptedTypes: string;
872
+ waitForUpload: string;
873
+ needConfirmRemoveFile: string;
874
+ labelTrue: string;
875
+ labelFalse: string;
876
+ height: string;
877
+ allowClear: string;
878
+ penColor: string;
879
+ backgroundColor: string;
880
+ dataFormat: string;
881
+ defaultValueFromLastPanel: string;
882
+ panelRemoveButtonLocation: string;
883
+ showCaption: string;
884
+ iconName: string;
885
+ iconSize: string;
798
886
  };
799
887
  };
800
888
 
@@ -828,6 +916,7 @@ export declare var defaultStrings: {
828
916
  addLogicItem: string;
829
917
  copy: string;
830
918
  duplicate: string;
919
+ settings: string;
831
920
  addToToolbox: string;
832
921
  deletePanel: string;
833
922
  deleteQuestion: string;
@@ -1017,6 +1106,7 @@ export declare var defaultStrings: {
1017
1106
  reset: string;
1018
1107
  change: string;
1019
1108
  refresh: string;
1109
+ close: string;
1020
1110
  delete: string;
1021
1111
  add: string;
1022
1112
  addNew: string;
@@ -1533,6 +1623,91 @@ export declare var defaultStrings: {
1533
1623
  hasNone: string;
1534
1624
  noneText: string;
1535
1625
  text: string;
1626
+ multiSelect: string;
1627
+ showLabel: string;
1628
+ logo: string;
1629
+ logoWidth: string;
1630
+ logoHeight: string;
1631
+ logoFit: string;
1632
+ focusOnFirstError: string;
1633
+ completedHtmlOnCondition: string;
1634
+ pages: string;
1635
+ calculatedValues: string;
1636
+ navigateToUrl: string;
1637
+ navigateToUrlOnCondition: string;
1638
+ questionDescriptionLocation: string;
1639
+ progressBarType: string;
1640
+ maxTextLength: string;
1641
+ maxOthersLength: string;
1642
+ textUpdateMode: string;
1643
+ autoGrowComment: string;
1644
+ questionTitlePattern: string;
1645
+ questionsOnPageMode: string;
1646
+ showPreviewBeforeComplete: string;
1647
+ widthMode: string;
1648
+ showNumber: string;
1649
+ navigationTitle: string;
1650
+ navigationDescription: string;
1651
+ useDisplayValuesInTitle: string;
1652
+ minWidth: string;
1653
+ maxWidth: string;
1654
+ descriptionLocation: string;
1655
+ hideNumber: string;
1656
+ defaultValueExpression: string;
1657
+ bindings: string;
1658
+ columnsVisibleIf: string;
1659
+ rowsVisibleIf: string;
1660
+ showHeader: string;
1661
+ detailPanelMode: string;
1662
+ rowTitleWidth: string;
1663
+ allowAddRows: string;
1664
+ allowRemoveRows: string;
1665
+ defaultValueFromLastRow: string;
1666
+ hideColumnsIfEmpty: string;
1667
+ emptyRowsText: string;
1668
+ detailPanelShowOnAdding: string;
1669
+ allowRowsDragAndDrop: string;
1670
+ rowsOrder: string;
1671
+ hideIfRowsEmpty: string;
1672
+ maximumFractionDigits: string;
1673
+ minimumFractionDigits: string;
1674
+ choicesFromQuestion: string;
1675
+ choicesFromQuestionMode: string;
1676
+ hideIfChoicesEmpty: string;
1677
+ choicesVisibleIf: string;
1678
+ choicesEnableIf: string;
1679
+ otherPlaceHolder: string;
1680
+ maxSelectedChoices: string;
1681
+ showClearButton: string;
1682
+ contentMode: string;
1683
+ imageFit: string;
1684
+ autoComplete: string;
1685
+ min: string;
1686
+ max: string;
1687
+ minValueExpression: string;
1688
+ maxValueExpression: string;
1689
+ minErrorText: string;
1690
+ maxErrorText: string;
1691
+ step: string;
1692
+ dataList: string;
1693
+ autoGrow: string;
1694
+ multiLine: string;
1695
+ allowImagesPreview: string;
1696
+ acceptedTypes: string;
1697
+ waitForUpload: string;
1698
+ needConfirmRemoveFile: string;
1699
+ labelTrue: string;
1700
+ labelFalse: string;
1701
+ height: string;
1702
+ allowClear: string;
1703
+ penColor: string;
1704
+ backgroundColor: string;
1705
+ dataFormat: string;
1706
+ defaultValueFromLastPanel: string;
1707
+ panelRemoveButtonLocation: string;
1708
+ showCaption: string;
1709
+ iconName: string;
1710
+ iconSize: string;
1536
1711
  };
1537
1712
  };
1538
1713
 
@@ -1699,7 +1874,6 @@ export interface ICreatorPlugin {
1699
1874
  update?: () => void;
1700
1875
  deactivate?: () => boolean;
1701
1876
  model: Base;
1702
- propertyGrid?: PropertyGridViewModelBase;
1703
1877
  }
1704
1878
  export interface ITabbedMenuItem extends IAction {
1705
1879
  componentContent: string;
@@ -1713,6 +1887,7 @@ export declare class TabbedMenuItem extends Action implements ITabbedMenuItem {
1713
1887
  export declare class TabbedMenuContainer extends AdaptiveActionContainer<TabbedMenuItem> {
1714
1888
  constructor();
1715
1889
  }
1890
+ export declare type toolBoxLocationType = "left" | "right" | "insideSideBar" | "hidden";
1716
1891
  /**
1717
1892
  * Base class for Survey Creator.
1718
1893
  */
@@ -1764,6 +1939,7 @@ export declare class CreatorBase<T extends SurveyModel = SurveyModel> extends Su
1764
1939
  showSearch: boolean;
1765
1940
  generateValidJSON: boolean;
1766
1941
  currentAddQuestionType: string;
1942
+ footerToolbar: ActionContainer;
1767
1943
  /**
1768
1944
  * Set pageEditMode option to "single" to use creator in a single page mode. By default value is "standard".
1769
1945
  * You can set this option in creator constructor only
@@ -2112,6 +2288,14 @@ export declare class CreatorBase<T extends SurveyModel = SurveyModel> extends Su
2112
2288
  * @see uploadFile
2113
2289
  */
2114
2290
  onUploadFile: Survey.Event<(sender: CreatorBase<T>, options: any) => any, any>;
2291
+ /**
2292
+ * Use this event to modify the list of the strings available in a translation tab.
2293
+ * <br/> sender - the survey creator object that fires the event
2294
+ * <br/> options.obj - the survey object which property translations are edited in the translation tab.
2295
+ * <br/> options.propertyName - the name of the property.
2296
+ * <br/> options.visible - a boolean value. You can change it to hide the property.
2297
+ */
2298
+ onTranslationStringVisibility: Survey.Event<(sender: CreatorBase<T>, options: any) => any, any>;
2115
2299
  /**
2116
2300
  * This callback is used internally for providing survey JSON text.
2117
2301
  */
@@ -2227,9 +2411,9 @@ export declare class CreatorBase<T extends SurveyModel = SurveyModel> extends Su
2227
2411
  static defaultNewSurveyText: string;
2228
2412
  toolbox: QuestionToolbox;
2229
2413
  get toolboxCategories(): Array<any>;
2230
- get currentTabPropertyGrid(): PropertyGridViewModelBase;
2231
- getTabPropertyGrid(id: string): PropertyGridViewModelBase;
2414
+ sideBar: SideBarModel;
2232
2415
  constructor(options: ICreatorOptions, options2?: ICreatorOptions);
2416
+ updateToolboxIsCompact(newVal?: boolean): void;
2233
2417
  onSurveyElementPropertyValueChanged(property: Survey.JsonObjectProperty, obj: any, newValue: any): void;
2234
2418
  get showToolbox(): string;
2235
2419
  set showToolbox(val: string);
@@ -2510,7 +2694,7 @@ export declare class CreatorBase<T extends SurveyModel = SurveyModel> extends Su
2510
2694
  }>;
2511
2695
  };
2512
2696
  addNewQuestionInPage(beforeAdd: () => void): void;
2513
- createIActionBarItemByClass(className: string): Action;
2697
+ createIActionBarItemByClass(className: string, title?: string): Action;
2514
2698
  onElementMenuItemsChanged(element: any, items: Action[]): void;
2515
2699
  getElementAllowOperations(element: SurveyElement): any;
2516
2700
  getNextItemValue(question: Survey.QuestionSelectBase): string | number;
@@ -2518,8 +2702,13 @@ export declare class CreatorBase<T extends SurveyModel = SurveyModel> extends Su
2518
2702
  protected onPropertyValueChanged(name: string, oldValue: any, newValue: any): void;
2519
2703
  initResponsivityManager(container: HTMLDivElement): void;
2520
2704
  resetResponsivityManager(): void;
2705
+ showPageNavigator: any;
2521
2706
  showTabs: any;
2522
2707
  showToolbar: any;
2708
+ isMobileView: any;
2709
+ toolboxLocation: toolBoxLocationType;
2710
+ sideBarLocation: "left" | "right";
2711
+ selectFromStringEditor: boolean;
2523
2712
  }
2524
2713
  export declare class StylesManager {
2525
2714
  static get currentTheme(): string;
@@ -2532,6 +2721,7 @@ export declare function getItemValueWrapperComponentName(item: ItemValue, questi
2532
2721
  export declare function getItemValueWrapperComponentData(item: ItemValue, question: QuestionSelectBase, creator: CreatorBase<SurveyModel>): any;
2533
2722
  export declare function isStringEditable(element: any, name: string): boolean;
2534
2723
 
2724
+ import "./responsivity.scss";
2535
2725
  export declare class CreatorResponsivityManager {
2536
2726
  protected container: HTMLDivElement;
2537
2727
  constructor(container: HTMLDivElement, creator: CreatorBase);
@@ -2612,7 +2802,9 @@ export declare class TabJsonEditorTextareaPlugin extends TabJsonEditorBasePlugin
2612
2802
 
2613
2803
  import "./test.scss";
2614
2804
  export declare class TestSurveyTabViewModel extends Base {
2615
- pages: AdaptiveActionContainer;
2805
+ pages: ActionContainer;
2806
+ prevPageAction: Action;
2807
+ nextPageAction: Action;
2616
2808
  onSurveyCreatedCallback: (survey: SurveyModel) => any;
2617
2809
  simulator: SurveySimulatorModel;
2618
2810
  showInvisibleElements: any;
@@ -2624,6 +2816,7 @@ export declare class TestSurveyTabViewModel extends Base {
2624
2816
  set activeLanguage(val: string);
2625
2817
  get survey(): SurveyModel;
2626
2818
  get pageActions(): Array<Action>;
2819
+ get isPageToolbarVisible(): boolean;
2627
2820
  constructor(surveyProvider: CreatorBase<SurveyModel>);
2628
2821
  setJSON(json: any): void;
2629
2822
  initialize(json: any, options: any): void;
@@ -2640,6 +2833,7 @@ export declare class TabTestPlugin implements ICreatorPlugin {
2640
2833
  update(): void;
2641
2834
  deactivate(): boolean;
2642
2835
  createActions(): Action[];
2836
+ addFooterActions(): void;
2643
2837
  }
2644
2838
 
2645
2839
  import "./logic.scss";
@@ -2870,7 +3064,7 @@ export interface ITranslationLocales {
2870
3064
  translateItemAfterRender(item: TranslationItem, el: any, locale: string): any;
2871
3065
  fireOnObjCreating(obj: Base): any;
2872
3066
  removeLocale(loc: string): void;
2873
- canShowProperty(obj: Base, prop: JsonObjectProperty): boolean;
3067
+ canShowProperty(obj: Base, prop: JsonObjectProperty, isEmpty: boolean): boolean;
2874
3068
  }
2875
3069
  export declare class TranslationGroup extends TranslationItemBase {
2876
3070
  name: any;
@@ -2908,6 +3102,7 @@ export declare class Translation extends Base implements ITranslationLocales {
2908
3102
  translateItemAfterRenderCallback: (item: TranslationItem, el: any, locale: string) => void;
2909
3103
  availableTranlationsChangedCallback: () => void;
2910
3104
  tranlationChangedCallback: (locale: string, name: string, value: string, context: any) => void;
3105
+ translationStringVisibilityCallback: (obj: Base, propertyName: string, visible: boolean) => boolean;
2911
3106
  chooseLanguageActions: Array<IAction>;
2912
3107
  constructor(survey: SurveyModel, options?: ISurveyCreatorOptions, hasUI?: boolean);
2913
3108
  getType(): string;
@@ -2931,7 +3126,7 @@ export declare class Translation extends Base implements ITranslationLocales {
2931
3126
  get survey(): SurveyModel;
2932
3127
  set survey(val: SurveyModel);
2933
3128
  reset(): void;
2934
- canShowProperty(obj: Base, prop: JsonObjectProperty): boolean;
3129
+ canShowProperty(obj: Base, prop: JsonObjectProperty, isEmpty: boolean): boolean;
2935
3130
  get defaultLocale(): string;
2936
3131
  getLocaleName(loc: string): string;
2937
3132
  removeLocale(locale: string): void;
@@ -3254,7 +3449,6 @@ export declare var translationCss: {
3254
3449
 
3255
3450
  export declare class TabTranslationPlugin implements ICreatorPlugin {
3256
3451
  model: Translation;
3257
- propertyGrid: PropertyGridViewModelBase;
3258
3452
  constructor(creator: CreatorBase<SurveyModel>);
3259
3453
  activate(): void;
3260
3454
  update(): void;
@@ -3272,22 +3466,26 @@ export declare class TabDesignerViewModel<T extends SurveyModel> extends Base {
3272
3466
  newPage: PageModel;
3273
3467
  showNewPage: boolean;
3274
3468
  pageCount: number;
3469
+ withModifier: string;
3275
3470
  creator: CreatorBase<T>;
3276
3471
  constructor(creator: CreatorBase<T>);
3277
3472
  get survey(): T;
3473
+ get isToolboxVisible(): boolean;
3278
3474
  initSurvey(): void;
3279
3475
  dispose(): void;
3280
- withModifier: string;
3281
3476
  getDesignerCss(): string;
3282
3477
  }
3478
+
3283
3479
  export declare class TabDesignerPlugin<T extends SurveyModel> implements ICreatorPlugin {
3284
3480
  model: TabDesignerViewModel<T>;
3285
- propertyGrid: PropertyGridViewModelBase;
3481
+ propertyGrid: PropertyGridViewModel<T>;
3482
+ previewAction: Action;
3286
3483
  constructor(creator: CreatorBase<T>);
3287
3484
  activate(): void;
3288
3485
  deactivate(): boolean;
3289
3486
  update(): void;
3290
3487
  createActions(): Action[];
3488
+ addFooterActions(): void;
3291
3489
  }
3292
3490
 
3293
3491
  import "./logic-ui.scss";
@@ -3647,9 +3845,9 @@ export declare class ToolboxToolViewModel extends Base {
3647
3845
  protected item: IQuestionToolboxItem;
3648
3846
  protected creator: CreatorBase<SurveyModel>;
3649
3847
  constructor(item: IQuestionToolboxItem, creator: CreatorBase<SurveyModel>);
3848
+ click: (event: any) => boolean;
3650
3849
  get allowAdd(): boolean;
3651
3850
  onPointerDown(pointerDownEvent: any): boolean;
3652
- click: (event: any) => boolean;
3653
3851
  }
3654
3852
 
3655
3853
  import "./page-navigator.scss";
@@ -3686,6 +3884,7 @@ export declare class PageViewModel<T extends SurveyModel> extends ActionContaine
3686
3884
  hover(event: MouseEvent, element: HTMLElement): void;
3687
3885
  protected duplicate(): void;
3688
3886
  get allowEdit(): boolean;
3887
+ get addNewQuestionText(): string;
3689
3888
  }
3690
3889
 
3691
3890
  import "./row.scss";
@@ -3705,7 +3904,8 @@ export declare class QuestionAdornerViewModel extends ActionContainerViewModel<S
3705
3904
  select(model: QuestionAdornerViewModel, event: IPortableMouseEvent): boolean;
3706
3905
  rootCss(): "" | " svc-question__adorner--start-with-new-line";
3707
3906
  css(): string;
3708
- get isDragOverMe(): boolean;
3907
+ get isDragMe(): boolean;
3908
+ get dragTypeOverMe(): DragTypeOverMeEnum;
3709
3909
  dispose(): void;
3710
3910
  get isDraggable(): boolean;
3711
3911
  hover(event: MouseEvent, element: HTMLElement): void;
@@ -3749,7 +3949,8 @@ export declare class ItemValueWrapperViewModel extends Base {
3749
3949
  isDragDropMoveUp: boolean;
3750
3950
  ghostPosition: string;
3751
3951
  constructor(creator: CreatorBase<SurveyModel>, question: QuestionSelectBase, item: ItemValue);
3752
- startDragItemValue(event: PointerEvent): void;
3952
+ onPointerDown(pointerDownEvent: PointerEvent): void;
3953
+ startDragItemValue: (pointerDownEvent: PointerEvent, currentTarget: any) => void;
3753
3954
  dispose(): void;
3754
3955
  get isDraggable(): boolean;
3755
3956
  isDraggableItem(item: ItemValue): boolean;
@@ -4038,6 +4239,7 @@ export declare class StringEditorViewModelBase extends Base {
4038
4239
  setLocString(locString: LocalizableString): void;
4039
4240
  checkConstraints(event: any): void;
4040
4241
  blurEditor: () => void;
4242
+ onClick(event: any): void;
4041
4243
  onFocus(event: any): void;
4042
4244
  onInput(event: any): void;
4043
4245
  done(event: Event): void;
@@ -4130,6 +4332,8 @@ export declare class PropertyJSONGenerator {
4130
4332
  setupObjPanel(panel: PanelModelBase, isNestedObj?: boolean, context?: string): void;
4131
4333
  }
4132
4334
  export declare class PropertyGridModel {
4335
+ currentlySelectedProperty: string;
4336
+ currentlySelectedPanel: PanelModel;
4133
4337
  objValueChangedCallback: () => void;
4134
4338
  changedFromActionCallback: (obj: Base, propertyName: string) => void;
4135
4339
  refresh(): void;
@@ -4232,6 +4436,7 @@ export declare class PropertyGridEditorCondition extends PropertyGridEditorExpre
4232
4436
 
4233
4437
  export declare abstract class PropertyGridEditorMatrix extends PropertyGridEditor {
4234
4438
  onCreated(obj: Base, question: Question, prop: JsonObjectProperty): void;
4439
+ onMatrixCellCreated(obj: Base, options: any): void;
4235
4440
  onGetMatrixRowAction(obj: Base, options: any, setObjFunc: (obj: Base) => void): void;
4236
4441
  onGetQuestionTitleActions(obj: Base, options: any): void;
4237
4442
  onValueChanged(obj: Base, prop: JsonObjectProperty, question: Question): void;
@@ -4340,23 +4545,16 @@ export declare class PropertyGridEditorBindings extends PropertyGridEditor {
4340
4545
  onMatrixCellValueChanged(obj: Base, options: any): void;
4341
4546
  }
4342
4547
 
4343
- export declare class PropertyGridViewModelBase extends Base {
4344
- model?: Base;
4345
- toolbar: AdaptiveActionContainer;
4346
- survey: SurveyModel;
4347
- headerText: string;
4348
- visible: boolean;
4349
- constructor(model?: Base, collapseAction?: () => void, expandAction?: () => void);
4350
- createExpandAction(visible: boolean): Action;
4351
- }
4352
- export declare class PropertyGridViewModel<T extends SurveyModel> extends PropertyGridViewModelBase {
4353
- title: string;
4548
+ export declare class PropertyGridViewModel<T extends SurveyModel> extends Base {
4549
+ nextSelectionAction: Action;
4550
+ prevSelectionAction: Action;
4551
+ objectSelectionAction: Action;
4354
4552
  hasPrev: boolean;
4355
4553
  hasNext: boolean;
4356
- get toolbarItems(): Array<Action>;
4357
- constructor(propertyGridModel: PropertyGridModel, creator: CreatorBase<T>, collapseAction?: () => void, expandAction?: () => void);
4554
+ survey: SurveyModel;
4555
+ selectedElementName: string;
4556
+ constructor(propertyGridModel: PropertyGridModel, creator: CreatorBase<T>);
4358
4557
  protected onPropertyValueChanged(name: string, oldValue: any, newValue: any): void;
4359
- dispose(): void;
4360
4558
  }
4361
4559
 
4362
4560
  export declare class ObjectSelectorItem extends Action {
@@ -4814,8 +5012,8 @@ export declare class QuestionToolbox extends AdaptiveActionContainer<QuestionToo
4814
5012
  hasCategories: boolean;
4815
5013
  canCollapseCategories: boolean;
4816
5014
  isCompact: boolean;
4817
- visible: boolean;
4818
5015
  constructor(supportedQuestions?: Array<string>, creator?: CreatorBase<SurveyModel>);
5016
+ setLocation(toolboxLocation: toolBoxLocationType): void;
4819
5017
  /**
4820
5018
  * The Array of Toolbox items as Text JSON.
4821
5019
  */
@@ -4925,6 +5123,35 @@ export declare class QuestionToolbox extends AdaptiveActionContainer<QuestionToo
4925
5123
  dispose(): void;
4926
5124
  }
4927
5125
 
5126
+ export declare class SideBarModel extends Base {
5127
+ toolbar: AdaptiveActionContainer;
5128
+ tabs: Array<SideBarTabModel>;
5129
+ headerText: string;
5130
+ visible: boolean;
5131
+ hasVisibleTabs: boolean;
5132
+ flyoutMode: boolean;
5133
+ activeTab: string;
5134
+ get flyoutPanelMode(): boolean;
5135
+ get closeText(): string;
5136
+ getTabById(id: string): SideBarTabModel;
5137
+ constructor(creator: CreatorBase, collapseAction?: () => void, expandAction?: () => void);
5138
+ getExpandAction(): Action;
5139
+ closePropertyGrid(): void;
5140
+ addTab(id: string, componentName?: string, model?: any, buildActions?: () => Array<Action>): SideBarTabModel;
5141
+ updateHasVisibleTabs(): void;
5142
+ dispose(): void;
5143
+ }
5144
+
5145
+ export declare class SideBarTabModel extends Base {
5146
+ id: string;
5147
+ sidePanel: SideBarModel;
5148
+ caption: string;
5149
+ visible: boolean;
5150
+ model: any;
5151
+ componentName: string;
5152
+ constructor(id: string, sidePanel: SideBarModel, componentName?: string, model?: any);
5153
+ }
5154
+
4928
5155
  export interface IPortableMouseEvent {
4929
5156
  stopPropagation(): any;
4930
5157
  preventDefault(): any;
@@ -5027,6 +5254,7 @@ export declare class UndoRedoPlugin<T extends SurveyModel = SurveyModel> impleme
5027
5254
  activate(): void;
5028
5255
  deactivate(): boolean;
5029
5256
  update(): void;
5257
+ addFooterActions(): void;
5030
5258
  }
5031
5259
  export declare function undoRedoTransaction(transactionName?: string, undoRedoManagerProperty?: string): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor;
5032
5260
  export declare function ignoreUndoRedo(undoRedoManagerProperty?: string): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor;
@@ -5500,6 +5728,8 @@ export declare class PropertyJSONGenerator {
5500
5728
  setupObjPanel(panel: PanelModelBase, isNestedObj?: boolean, context?: string): void;
5501
5729
  }
5502
5730
  export declare class PropertyGridModel {
5731
+ currentlySelectedProperty: string;
5732
+ currentlySelectedPanel: PanelModel;
5503
5733
  objValueChangedCallback: () => void;
5504
5734
  changedFromActionCallback: (obj: Base, propertyName: string) => void;
5505
5735
  refresh(): void;