survey-creator-core 1.8.76-beta.1 → 1.9.0-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 +1 -1
- package/survey-creator-core.css +785 -3489
- package/survey-creator-core.d.ts +94 -34
- package/survey-creator-core.js +1255 -651
- package/survey-creator-core.min.css +37 -1578
- package/survey-creator-core.min.js +3 -3
package/survey-creator-core.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*Type definitions for SurveyJS Creator JavaScript library v1.
|
|
1
|
+
/*Type definitions for SurveyJS Creator JavaScript library v1.9.0-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,12 +12,12 @@ 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,
|
|
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
|
|
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";
|
|
@@ -34,10 +34,11 @@ import { SurveyModel, QuestionNonValue } from "survey-core";
|
|
|
34
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,
|
|
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,6 +56,7 @@ 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
61
|
import "../utils/design.scss";
|
|
60
62
|
import "../utils/layout.scss";
|
|
@@ -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;
|
|
@@ -1103,6 +1106,7 @@ export declare var defaultStrings: {
|
|
|
1103
1106
|
reset: string;
|
|
1104
1107
|
change: string;
|
|
1105
1108
|
refresh: string;
|
|
1109
|
+
close: string;
|
|
1106
1110
|
delete: string;
|
|
1107
1111
|
add: string;
|
|
1108
1112
|
addNew: string;
|
|
@@ -1782,6 +1786,9 @@ export declare var settings: {
|
|
|
1782
1786
|
showTabs: boolean;
|
|
1783
1787
|
showToolbar: boolean;
|
|
1784
1788
|
};
|
|
1789
|
+
jsonEditor: {
|
|
1790
|
+
indentation: number;
|
|
1791
|
+
};
|
|
1785
1792
|
};
|
|
1786
1793
|
export interface ICollectionItemAllowOperations {
|
|
1787
1794
|
allowDelete: boolean;
|
|
@@ -1870,7 +1877,6 @@ export interface ICreatorPlugin {
|
|
|
1870
1877
|
update?: () => void;
|
|
1871
1878
|
deactivate?: () => boolean;
|
|
1872
1879
|
model: Base;
|
|
1873
|
-
propertyGrid?: PropertyGridViewModelBase;
|
|
1874
1880
|
}
|
|
1875
1881
|
export interface ITabbedMenuItem extends IAction {
|
|
1876
1882
|
componentContent: string;
|
|
@@ -1884,6 +1890,11 @@ export declare class TabbedMenuItem extends Action implements ITabbedMenuItem {
|
|
|
1884
1890
|
export declare class TabbedMenuContainer extends AdaptiveActionContainer<TabbedMenuItem> {
|
|
1885
1891
|
constructor();
|
|
1886
1892
|
}
|
|
1893
|
+
export declare class ToolbarActionContainer extends ActionContainer {
|
|
1894
|
+
constructor(creator: CreatorBase);
|
|
1895
|
+
protected getRenderedActions(): Array<Action>;
|
|
1896
|
+
}
|
|
1897
|
+
export declare type toolBoxLocationType = "left" | "right" | "insideSideBar" | "hidden";
|
|
1887
1898
|
/**
|
|
1888
1899
|
* Base class for Survey Creator.
|
|
1889
1900
|
*/
|
|
@@ -1935,6 +1946,7 @@ export declare class CreatorBase<T extends SurveyModel = SurveyModel> extends Su
|
|
|
1935
1946
|
showSearch: boolean;
|
|
1936
1947
|
generateValidJSON: boolean;
|
|
1937
1948
|
currentAddQuestionType: string;
|
|
1949
|
+
footerToolbar: ActionContainer;
|
|
1938
1950
|
/**
|
|
1939
1951
|
* Set pageEditMode option to "single" to use creator in a single page mode. By default value is "standard".
|
|
1940
1952
|
* You can set this option in creator constructor only
|
|
@@ -2283,6 +2295,14 @@ export declare class CreatorBase<T extends SurveyModel = SurveyModel> extends Su
|
|
|
2283
2295
|
* @see uploadFile
|
|
2284
2296
|
*/
|
|
2285
2297
|
onUploadFile: Survey.Event<(sender: CreatorBase<T>, options: any) => any, any>;
|
|
2298
|
+
/**
|
|
2299
|
+
* Use this event to modify the list of the strings available in a translation tab.
|
|
2300
|
+
* <br/> sender - the survey creator object that fires the event
|
|
2301
|
+
* <br/> options.obj - the survey object which property translations are edited in the translation tab.
|
|
2302
|
+
* <br/> options.propertyName - the name of the property.
|
|
2303
|
+
* <br/> options.visible - a boolean value. You can change it to hide the property.
|
|
2304
|
+
*/
|
|
2305
|
+
onTranslationStringVisibility: Survey.Event<(sender: CreatorBase<T>, options: any) => any, any>;
|
|
2286
2306
|
/**
|
|
2287
2307
|
* This callback is used internally for providing survey JSON text.
|
|
2288
2308
|
*/
|
|
@@ -2398,9 +2418,9 @@ export declare class CreatorBase<T extends SurveyModel = SurveyModel> extends Su
|
|
|
2398
2418
|
static defaultNewSurveyText: string;
|
|
2399
2419
|
toolbox: QuestionToolbox;
|
|
2400
2420
|
get toolboxCategories(): Array<any>;
|
|
2401
|
-
|
|
2402
|
-
getTabPropertyGrid(id: string): PropertyGridViewModelBase;
|
|
2421
|
+
sideBar: SideBarModel;
|
|
2403
2422
|
constructor(options: ICreatorOptions, options2?: ICreatorOptions);
|
|
2423
|
+
updateToolboxIsCompact(newVal?: boolean): void;
|
|
2404
2424
|
onSurveyElementPropertyValueChanged(property: Survey.JsonObjectProperty, obj: any, newValue: any): void;
|
|
2405
2425
|
get showToolbox(): string;
|
|
2406
2426
|
set showToolbox(val: string);
|
|
@@ -2692,6 +2712,9 @@ export declare class CreatorBase<T extends SurveyModel = SurveyModel> extends Su
|
|
|
2692
2712
|
showPageNavigator: any;
|
|
2693
2713
|
showTabs: any;
|
|
2694
2714
|
showToolbar: any;
|
|
2715
|
+
isMobileView: any;
|
|
2716
|
+
toolboxLocation: toolBoxLocationType;
|
|
2717
|
+
sideBarLocation: "left" | "right";
|
|
2695
2718
|
selectFromStringEditor: boolean;
|
|
2696
2719
|
}
|
|
2697
2720
|
export declare class StylesManager {
|
|
@@ -2705,6 +2728,7 @@ export declare function getItemValueWrapperComponentName(item: ItemValue, questi
|
|
|
2705
2728
|
export declare function getItemValueWrapperComponentData(item: ItemValue, question: QuestionSelectBase, creator: CreatorBase<SurveyModel>): any;
|
|
2706
2729
|
export declare function isStringEditable(element: any, name: string): boolean;
|
|
2707
2730
|
|
|
2731
|
+
import "./responsivity.scss";
|
|
2708
2732
|
export declare class CreatorResponsivityManager {
|
|
2709
2733
|
protected container: HTMLDivElement;
|
|
2710
2734
|
constructor(container: HTMLDivElement, creator: CreatorBase);
|
|
@@ -2785,7 +2809,9 @@ export declare class TabJsonEditorTextareaPlugin extends TabJsonEditorBasePlugin
|
|
|
2785
2809
|
|
|
2786
2810
|
import "./test.scss";
|
|
2787
2811
|
export declare class TestSurveyTabViewModel extends Base {
|
|
2788
|
-
pages:
|
|
2812
|
+
pages: ActionContainer;
|
|
2813
|
+
prevPageAction: Action;
|
|
2814
|
+
nextPageAction: Action;
|
|
2789
2815
|
onSurveyCreatedCallback: (survey: SurveyModel) => any;
|
|
2790
2816
|
simulator: SurveySimulatorModel;
|
|
2791
2817
|
showInvisibleElements: any;
|
|
@@ -2797,6 +2823,7 @@ export declare class TestSurveyTabViewModel extends Base {
|
|
|
2797
2823
|
set activeLanguage(val: string);
|
|
2798
2824
|
get survey(): SurveyModel;
|
|
2799
2825
|
get pageActions(): Array<Action>;
|
|
2826
|
+
get isPageToolbarVisible(): boolean;
|
|
2800
2827
|
constructor(surveyProvider: CreatorBase<SurveyModel>);
|
|
2801
2828
|
setJSON(json: any): void;
|
|
2802
2829
|
initialize(json: any, options: any): void;
|
|
@@ -2813,6 +2840,7 @@ export declare class TabTestPlugin implements ICreatorPlugin {
|
|
|
2813
2840
|
update(): void;
|
|
2814
2841
|
deactivate(): boolean;
|
|
2815
2842
|
createActions(): Action[];
|
|
2843
|
+
addFooterActions(): void;
|
|
2816
2844
|
}
|
|
2817
2845
|
|
|
2818
2846
|
import "./logic.scss";
|
|
@@ -3043,7 +3071,7 @@ export interface ITranslationLocales {
|
|
|
3043
3071
|
translateItemAfterRender(item: TranslationItem, el: any, locale: string): any;
|
|
3044
3072
|
fireOnObjCreating(obj: Base): any;
|
|
3045
3073
|
removeLocale(loc: string): void;
|
|
3046
|
-
canShowProperty(obj: Base, prop: JsonObjectProperty): boolean;
|
|
3074
|
+
canShowProperty(obj: Base, prop: JsonObjectProperty, isEmpty: boolean): boolean;
|
|
3047
3075
|
}
|
|
3048
3076
|
export declare class TranslationGroup extends TranslationItemBase {
|
|
3049
3077
|
name: any;
|
|
@@ -3081,6 +3109,7 @@ export declare class Translation extends Base implements ITranslationLocales {
|
|
|
3081
3109
|
translateItemAfterRenderCallback: (item: TranslationItem, el: any, locale: string) => void;
|
|
3082
3110
|
availableTranlationsChangedCallback: () => void;
|
|
3083
3111
|
tranlationChangedCallback: (locale: string, name: string, value: string, context: any) => void;
|
|
3112
|
+
translationStringVisibilityCallback: (obj: Base, propertyName: string, visible: boolean) => boolean;
|
|
3084
3113
|
chooseLanguageActions: Array<IAction>;
|
|
3085
3114
|
constructor(survey: SurveyModel, options?: ISurveyCreatorOptions, hasUI?: boolean);
|
|
3086
3115
|
getType(): string;
|
|
@@ -3104,7 +3133,7 @@ export declare class Translation extends Base implements ITranslationLocales {
|
|
|
3104
3133
|
get survey(): SurveyModel;
|
|
3105
3134
|
set survey(val: SurveyModel);
|
|
3106
3135
|
reset(): void;
|
|
3107
|
-
canShowProperty(obj: Base, prop: JsonObjectProperty): boolean;
|
|
3136
|
+
canShowProperty(obj: Base, prop: JsonObjectProperty, isEmpty: boolean): boolean;
|
|
3108
3137
|
get defaultLocale(): string;
|
|
3109
3138
|
getLocaleName(loc: string): string;
|
|
3110
3139
|
removeLocale(locale: string): void;
|
|
@@ -3427,7 +3456,6 @@ export declare var translationCss: {
|
|
|
3427
3456
|
|
|
3428
3457
|
export declare class TabTranslationPlugin implements ICreatorPlugin {
|
|
3429
3458
|
model: Translation;
|
|
3430
|
-
propertyGrid: PropertyGridViewModelBase;
|
|
3431
3459
|
constructor(creator: CreatorBase<SurveyModel>);
|
|
3432
3460
|
activate(): void;
|
|
3433
3461
|
update(): void;
|
|
@@ -3445,22 +3473,26 @@ export declare class TabDesignerViewModel<T extends SurveyModel> extends Base {
|
|
|
3445
3473
|
newPage: PageModel;
|
|
3446
3474
|
showNewPage: boolean;
|
|
3447
3475
|
pageCount: number;
|
|
3476
|
+
withModifier: string;
|
|
3448
3477
|
creator: CreatorBase<T>;
|
|
3449
3478
|
constructor(creator: CreatorBase<T>);
|
|
3450
3479
|
get survey(): T;
|
|
3480
|
+
get isToolboxVisible(): boolean;
|
|
3451
3481
|
initSurvey(): void;
|
|
3452
3482
|
dispose(): void;
|
|
3453
|
-
withModifier: string;
|
|
3454
3483
|
getDesignerCss(): string;
|
|
3455
3484
|
}
|
|
3485
|
+
|
|
3456
3486
|
export declare class TabDesignerPlugin<T extends SurveyModel> implements ICreatorPlugin {
|
|
3457
3487
|
model: TabDesignerViewModel<T>;
|
|
3458
|
-
propertyGrid:
|
|
3488
|
+
propertyGrid: PropertyGridViewModel<T>;
|
|
3489
|
+
previewAction: Action;
|
|
3459
3490
|
constructor(creator: CreatorBase<T>);
|
|
3460
3491
|
activate(): void;
|
|
3461
3492
|
deactivate(): boolean;
|
|
3462
3493
|
update(): void;
|
|
3463
3494
|
createActions(): Action[];
|
|
3495
|
+
addFooterActions(): void;
|
|
3464
3496
|
}
|
|
3465
3497
|
|
|
3466
3498
|
import "./logic-ui.scss";
|
|
@@ -3820,9 +3852,9 @@ export declare class ToolboxToolViewModel extends Base {
|
|
|
3820
3852
|
protected item: IQuestionToolboxItem;
|
|
3821
3853
|
protected creator: CreatorBase<SurveyModel>;
|
|
3822
3854
|
constructor(item: IQuestionToolboxItem, creator: CreatorBase<SurveyModel>);
|
|
3855
|
+
click: (event: any) => boolean;
|
|
3823
3856
|
get allowAdd(): boolean;
|
|
3824
3857
|
onPointerDown(pointerDownEvent: any): boolean;
|
|
3825
|
-
click: (event: any) => boolean;
|
|
3826
3858
|
}
|
|
3827
3859
|
|
|
3828
3860
|
import "./page-navigator.scss";
|
|
@@ -3859,6 +3891,7 @@ export declare class PageViewModel<T extends SurveyModel> extends ActionContaine
|
|
|
3859
3891
|
hover(event: MouseEvent, element: HTMLElement): void;
|
|
3860
3892
|
protected duplicate(): void;
|
|
3861
3893
|
get allowEdit(): boolean;
|
|
3894
|
+
get addNewQuestionText(): string;
|
|
3862
3895
|
}
|
|
3863
3896
|
|
|
3864
3897
|
import "./row.scss";
|
|
@@ -3878,6 +3911,7 @@ export declare class QuestionAdornerViewModel extends ActionContainerViewModel<S
|
|
|
3878
3911
|
select(model: QuestionAdornerViewModel, event: IPortableMouseEvent): boolean;
|
|
3879
3912
|
rootCss(): "" | " svc-question__adorner--start-with-new-line";
|
|
3880
3913
|
css(): string;
|
|
3914
|
+
get isDragMe(): boolean;
|
|
3881
3915
|
get dragTypeOverMe(): DragTypeOverMeEnum;
|
|
3882
3916
|
dispose(): void;
|
|
3883
3917
|
get isDraggable(): boolean;
|
|
@@ -3922,7 +3956,8 @@ export declare class ItemValueWrapperViewModel extends Base {
|
|
|
3922
3956
|
isDragDropMoveUp: boolean;
|
|
3923
3957
|
ghostPosition: string;
|
|
3924
3958
|
constructor(creator: CreatorBase<SurveyModel>, question: QuestionSelectBase, item: ItemValue);
|
|
3925
|
-
|
|
3959
|
+
onPointerDown(pointerDownEvent: PointerEvent): void;
|
|
3960
|
+
startDragItemValue: (pointerDownEvent: PointerEvent, currentTarget: any) => void;
|
|
3926
3961
|
dispose(): void;
|
|
3927
3962
|
get isDraggable(): boolean;
|
|
3928
3963
|
isDraggableItem(item: ItemValue): boolean;
|
|
@@ -4408,6 +4443,7 @@ export declare class PropertyGridEditorCondition extends PropertyGridEditorExpre
|
|
|
4408
4443
|
|
|
4409
4444
|
export declare abstract class PropertyGridEditorMatrix extends PropertyGridEditor {
|
|
4410
4445
|
onCreated(obj: Base, question: Question, prop: JsonObjectProperty): void;
|
|
4446
|
+
onMatrixCellCreated(obj: Base, options: any): void;
|
|
4411
4447
|
onGetMatrixRowAction(obj: Base, options: any, setObjFunc: (obj: Base) => void): void;
|
|
4412
4448
|
onGetQuestionTitleActions(obj: Base, options: any): void;
|
|
4413
4449
|
onValueChanged(obj: Base, prop: JsonObjectProperty, question: Question): void;
|
|
@@ -4516,25 +4552,16 @@ export declare class PropertyGridEditorBindings extends PropertyGridEditor {
|
|
|
4516
4552
|
onMatrixCellValueChanged(obj: Base, options: any): void;
|
|
4517
4553
|
}
|
|
4518
4554
|
|
|
4519
|
-
export declare class
|
|
4520
|
-
|
|
4521
|
-
|
|
4522
|
-
|
|
4523
|
-
headerText: string;
|
|
4524
|
-
visible: boolean;
|
|
4525
|
-
flyoutMode: boolean;
|
|
4526
|
-
get flyoutPanelMode(): boolean;
|
|
4527
|
-
constructor(model?: Base, collapseAction?: () => void, expandAction?: () => void);
|
|
4528
|
-
createExpandAction(visible: boolean): Action;
|
|
4529
|
-
}
|
|
4530
|
-
export declare class PropertyGridViewModel<T extends SurveyModel> extends PropertyGridViewModelBase {
|
|
4531
|
-
title: string;
|
|
4555
|
+
export declare class PropertyGridViewModel<T extends SurveyModel> extends Base {
|
|
4556
|
+
nextSelectionAction: Action;
|
|
4557
|
+
prevSelectionAction: Action;
|
|
4558
|
+
objectSelectionAction: Action;
|
|
4532
4559
|
hasPrev: boolean;
|
|
4533
4560
|
hasNext: boolean;
|
|
4534
|
-
|
|
4535
|
-
|
|
4561
|
+
survey: SurveyModel;
|
|
4562
|
+
selectedElementName: string;
|
|
4563
|
+
constructor(propertyGridModel: PropertyGridModel, creator: CreatorBase<T>);
|
|
4536
4564
|
protected onPropertyValueChanged(name: string, oldValue: any, newValue: any): void;
|
|
4537
|
-
dispose(): void;
|
|
4538
4565
|
}
|
|
4539
4566
|
|
|
4540
4567
|
export declare class ObjectSelectorItem extends Action {
|
|
@@ -4901,7 +4928,7 @@ export declare class QuestionConverter {
|
|
|
4901
4928
|
static convertObject(obj: Survey.Question, convertToClass: string): Survey.Question;
|
|
4902
4929
|
}
|
|
4903
4930
|
|
|
4904
|
-
export declare var
|
|
4931
|
+
export declare var svgBundle: string;
|
|
4905
4932
|
|
|
4906
4933
|
export declare class SurveyTextWorker {
|
|
4907
4934
|
text: string;
|
|
@@ -4992,8 +5019,8 @@ export declare class QuestionToolbox extends AdaptiveActionContainer<QuestionToo
|
|
|
4992
5019
|
hasCategories: boolean;
|
|
4993
5020
|
canCollapseCategories: boolean;
|
|
4994
5021
|
isCompact: boolean;
|
|
4995
|
-
visible: boolean;
|
|
4996
5022
|
constructor(supportedQuestions?: Array<string>, creator?: CreatorBase<SurveyModel>);
|
|
5023
|
+
setLocation(toolboxLocation: toolBoxLocationType): void;
|
|
4997
5024
|
/**
|
|
4998
5025
|
* The Array of Toolbox items as Text JSON.
|
|
4999
5026
|
*/
|
|
@@ -5103,6 +5130,37 @@ export declare class QuestionToolbox extends AdaptiveActionContainer<QuestionToo
|
|
|
5103
5130
|
dispose(): void;
|
|
5104
5131
|
}
|
|
5105
5132
|
|
|
5133
|
+
export declare class SideBarModel extends Base {
|
|
5134
|
+
toolbar: AdaptiveActionContainer;
|
|
5135
|
+
tabs: Array<SideBarTabModel>;
|
|
5136
|
+
headerText: string;
|
|
5137
|
+
visible: boolean;
|
|
5138
|
+
hasVisibleTabs: boolean;
|
|
5139
|
+
flyoutMode: boolean;
|
|
5140
|
+
activeTab: string;
|
|
5141
|
+
get flyoutPanelMode(): boolean;
|
|
5142
|
+
get closeText(): string;
|
|
5143
|
+
getTabById(id: string): SideBarTabModel;
|
|
5144
|
+
constructor(creator: CreatorBase, collapseAction?: () => void, expandAction?: () => void);
|
|
5145
|
+
getExpandAction(): Action;
|
|
5146
|
+
closePropertyGrid(): void;
|
|
5147
|
+
addTab(id: string, componentName?: string, model?: any, buildActions?: () => Array<Action>): SideBarTabModel;
|
|
5148
|
+
updateHasVisibleTabs(): void;
|
|
5149
|
+
dispose(): void;
|
|
5150
|
+
initResizeManager(container: HTMLDivElement): void;
|
|
5151
|
+
resetResizeManager(): void;
|
|
5152
|
+
}
|
|
5153
|
+
|
|
5154
|
+
export declare class SideBarTabModel extends Base {
|
|
5155
|
+
id: string;
|
|
5156
|
+
sidePanel: SideBarModel;
|
|
5157
|
+
caption: string;
|
|
5158
|
+
visible: boolean;
|
|
5159
|
+
model: any;
|
|
5160
|
+
componentName: string;
|
|
5161
|
+
constructor(id: string, sidePanel: SideBarModel, componentName?: string, model?: any);
|
|
5162
|
+
}
|
|
5163
|
+
|
|
5106
5164
|
export interface IPortableMouseEvent {
|
|
5107
5165
|
stopPropagation(): any;
|
|
5108
5166
|
preventDefault(): any;
|
|
@@ -5195,7 +5253,8 @@ export declare class Notifier extends Base {
|
|
|
5195
5253
|
}
|
|
5196
5254
|
|
|
5197
5255
|
export declare class ResizeManager {
|
|
5198
|
-
constructor(container: HTMLElement);
|
|
5256
|
+
constructor(container: HTMLElement, handles: string);
|
|
5257
|
+
setHandles(newVal: string): void;
|
|
5199
5258
|
dispose(): void;
|
|
5200
5259
|
}
|
|
5201
5260
|
|
|
@@ -5205,6 +5264,7 @@ export declare class UndoRedoPlugin<T extends SurveyModel = SurveyModel> impleme
|
|
|
5205
5264
|
activate(): void;
|
|
5206
5265
|
deactivate(): boolean;
|
|
5207
5266
|
update(): void;
|
|
5267
|
+
addFooterActions(): void;
|
|
5208
5268
|
}
|
|
5209
5269
|
export declare function undoRedoTransaction(transactionName?: string, undoRedoManagerProperty?: string): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor;
|
|
5210
5270
|
export declare function ignoreUndoRedo(undoRedoManagerProperty?: string): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor;
|