survey-creator-core 1.9.52 → 1.9.54
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 +2 -2
- package/survey-creator-core.css +30 -13
- package/survey-creator-core.d.ts +110 -46
- package/survey-creator-core.i18n.js +123 -123
- package/survey-creator-core.i18n.min.js +2 -2
- package/survey-creator-core.js +492 -115
- package/survey-creator-core.min.css +8 -8
- package/survey-creator-core.min.js +2 -2
package/survey-creator-core.d.ts
CHANGED
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Type definition for Survey Creatorlibrary. Platform independent (core) v1.9.
|
|
2
|
+
* Type definition for Survey Creatorlibrary. Platform independent (core) v1.9.54
|
|
3
3
|
* Copyright (c) 2015-2022 Devsoft Baltic OÜ - https://surveyjs.io/
|
|
4
4
|
* License: https://surveyjs.io/Licenses#SurveyCreator
|
|
5
5
|
*/
|
|
6
|
-
import { Base, JsonObjectProperty, Question, SurveyModel,
|
|
7
|
-
import { MatrixDropdownColumn, ILocalizableString, IAction, Action
|
|
8
|
-
import { LocalizableString, ActionContainer, DragDropSurveyElements, DragDropChoices
|
|
9
|
-
import { AdaptiveActionContainer, PageModel, IElement, IPanel
|
|
10
|
-
import {
|
|
6
|
+
import { Base, JsonObjectProperty, Question, SurveyModel, PopupBaseViewModel } from "survey-core";
|
|
7
|
+
import { ItemValue, MatrixDropdownColumn, ILocalizableString, IAction, Action } from "survey-core";
|
|
8
|
+
import { ILocalizableOwner, LocalizableString, ActionContainer, DragDropSurveyElements, DragDropChoices } from "survey-core";
|
|
9
|
+
import { Event, AdaptiveActionContainer, PageModel, IElement, IPanel } from "survey-core";
|
|
10
|
+
import { ISurveyElement, QuestionSelectBase, Operand, DragOrClickHelper, PanelModel } from "survey-core";
|
|
11
11
|
import { QuestionDropdownModel, ListModel, PopupModel, EventBase, PanelModelBase } from "survey-core";
|
|
12
|
-
import { QuestionNonValue, SurveyTemplateRendererTemplateData, QuestionRatingModel, QuestionRowModel
|
|
13
|
-
import { QuestionCheckboxModel, ArrayChanges, ImageItemValue, HashTable
|
|
14
|
-
import { QuestionMatrixModel, QuestionMatrixDropdownModel, QuestionPanelDynamicModel, QuestionCommentModel
|
|
12
|
+
import { QuestionNonValue, SurveyTemplateRendererTemplateData, SurveyElement, QuestionRatingModel, QuestionRowModel } from "survey-core";
|
|
13
|
+
import { ComputedUpdater, QuestionCheckboxModel, ArrayChanges, ImageItemValue, HashTable } from "survey-core";
|
|
14
|
+
import { QuestionMatrixDynamicModel, QuestionMatrixModel, QuestionMatrixDropdownModel, QuestionPanelDynamicModel, QuestionCommentModel } from "survey-core";
|
|
15
|
+
import { MatrixDynamicRowModel } from "survey-core";
|
|
15
16
|
|
|
16
17
|
export { editorLocalization as localization };
|
|
17
18
|
|
|
@@ -32,6 +33,7 @@ export interface ICollectionItemAllowOperations {
|
|
|
32
33
|
allowEdit: boolean;
|
|
33
34
|
}
|
|
34
35
|
export interface ISurveyCreatorOptions {
|
|
36
|
+
isMobileView: boolean;
|
|
35
37
|
alwaySaveTextInPropertyEditors: boolean;
|
|
36
38
|
readOnly: boolean;
|
|
37
39
|
maxLogicItemsInCondition: number;
|
|
@@ -47,6 +49,7 @@ export interface ISurveyCreatorOptions {
|
|
|
47
49
|
onPropertyEditorCreatedCallback(object: any, property: JsonObjectProperty, editor: Question): any;
|
|
48
50
|
onPropertyGridSurveyCreatedCallback(object: any, survey: SurveyModel): any;
|
|
49
51
|
onPropertyEditorUpdateTitleActionsCallback(object: any, property: JsonObjectProperty, editor: Question, titleActions: any): any;
|
|
52
|
+
onPropertyGridShowModalCallback(object: any, property: JsonObjectProperty, editor: Question, popupEditor: any, popupModel: PopupBaseViewModel): any;
|
|
50
53
|
onIsPropertyReadOnlyCallback(obj: Base, property: JsonObjectProperty, readOnly: boolean, parentObj: Base, parentProperty: JsonObjectProperty): boolean;
|
|
51
54
|
onCanDeleteItemCallback(object: any, item: Base, allowDelete: boolean): boolean;
|
|
52
55
|
onCollectionItemDeletingCallback(obj: Base, property: JsonObjectProperty, collection: any, item: Base): boolean;
|
|
@@ -398,7 +401,7 @@ export interface IPropertyGridEditor {
|
|
|
398
401
|
fit(prop: JsonObjectProperty, context?: string): boolean;
|
|
399
402
|
isDefault?: any;
|
|
400
403
|
getJSON(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): any;
|
|
401
|
-
showModalPropertyEditor?: (editor: IPropertyGridEditor, property: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions) =>
|
|
404
|
+
showModalPropertyEditor?: (editor: IPropertyGridEditor, property: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions) => IPropertyEditorSetup;
|
|
402
405
|
onCreated?: (obj: Base, question: Question, prop: JsonObjectProperty, options: ISurveyCreatorOptions) => void;
|
|
403
406
|
validateValue?: (obj: Base, question: Question, prop: JsonObjectProperty, val: any) => string;
|
|
404
407
|
onAfterRenderQuestion?: (obj: Base, prop: JsonObjectProperty, evtOptions: any) => void;
|
|
@@ -442,6 +445,20 @@ export interface IUndoRedoAction {
|
|
|
442
445
|
getChanges(): IUndoRedoChange;
|
|
443
446
|
tryMerge(sender: Base, propertyName: string, newValue: any): boolean;
|
|
444
447
|
}
|
|
448
|
+
export interface IPortableMouseEvent {
|
|
449
|
+
stopPropagation(): any;
|
|
450
|
+
preventDefault(): any;
|
|
451
|
+
cancelBubble: boolean;
|
|
452
|
+
target: any;
|
|
453
|
+
currentTarget: any;
|
|
454
|
+
clientX: number;
|
|
455
|
+
clientY: number;
|
|
456
|
+
offsetX: number;
|
|
457
|
+
offsetY: number;
|
|
458
|
+
}
|
|
459
|
+
export interface IPortableDragEvent extends IPortableMouseEvent {
|
|
460
|
+
dataTransfer: any;
|
|
461
|
+
}
|
|
445
462
|
export interface IKeyboardShortcut {
|
|
446
463
|
name?: string;
|
|
447
464
|
hotKey: any;
|
|
@@ -460,20 +477,6 @@ export interface ITabbedMenuItem extends IAction {
|
|
|
460
477
|
componentContent: string;
|
|
461
478
|
renderTab?: any;
|
|
462
479
|
}
|
|
463
|
-
export interface IPortableMouseEvent {
|
|
464
|
-
stopPropagation(): any;
|
|
465
|
-
preventDefault(): any;
|
|
466
|
-
cancelBubble: boolean;
|
|
467
|
-
target: any;
|
|
468
|
-
currentTarget: any;
|
|
469
|
-
clientX: number;
|
|
470
|
-
clientY: number;
|
|
471
|
-
offsetX: number;
|
|
472
|
-
offsetY: number;
|
|
473
|
-
}
|
|
474
|
-
export interface IPortableDragEvent extends IPortableMouseEvent {
|
|
475
|
-
dataTransfer: any;
|
|
476
|
-
}
|
|
477
480
|
export declare class ConditionEditorItem {
|
|
478
481
|
conjunction: string;
|
|
479
482
|
questionName: string;
|
|
@@ -755,6 +758,21 @@ export declare class CreatorBase extends Base implements ISurveyCreatorOptions,
|
|
|
755
758
|
*/
|
|
756
759
|
onPropertyEditorUpdateTitleActions: Event<(sender: CreatorBase, options: any) => any, any>;
|
|
757
760
|
/*
|
|
761
|
+
* An event that is raised before Survey Creator displays a pop-up window called from the Property Grid. This window allows users to edit choices, conditions, and so on.
|
|
762
|
+
*
|
|
763
|
+
* Use this event to customize the pop-up window, for example, add custom action buttons.
|
|
764
|
+
*
|
|
765
|
+
* Parameters:
|
|
766
|
+
*
|
|
767
|
+
* - `sender` - A Survey Creator instance that raised the event.
|
|
768
|
+
* - `options.obj` - An instance of a survey element (question or panel) that users are configuring in the Property Grid.
|
|
769
|
+
* - `options.property`- A `JsonObjectProperty` object with metadata about the property being edited.
|
|
770
|
+
* - `options.editor` - A property editor. It is an object of the [`Question`](https://surveyjs.io/form-library/documentation/question) type because the Property Grid is [built upon a regular survey](https://surveyjs.io/survey-creator/documentation/creator-v2-whats-new#survey-creator-ui-elements-are-surveys).
|
|
771
|
+
* - `options.popupEditor` - An editor inside the pop-up window.
|
|
772
|
+
* - `options.popupModel` - A `PopupBaseViewModel` object that describes the pop-up window model. Use `options.popupModel.footerToolbar` to access the actions at the bottom of the window.
|
|
773
|
+
*/
|
|
774
|
+
onPropertyGridShowModal: Event<(sender: CreatorBase, options: any) => any, any>;
|
|
775
|
+
/*
|
|
758
776
|
* The event is called before rendering a delete button in the Property Grid or in Question Editor.
|
|
759
777
|
* Obsolete, please use onCollectionItemAllowOperations
|
|
760
778
|
* - sender the survey creator object that fires the event
|
|
@@ -1443,7 +1461,7 @@ export declare class CreatorBase extends Base implements ISurveyCreatorOptions,
|
|
|
1443
1461
|
protected deleteObject(obj: any): void;
|
|
1444
1462
|
protected updateConditionsOnRemove(obj: any): void;
|
|
1445
1463
|
isElementSelected(element: Base): boolean;
|
|
1446
|
-
selectElement(element: any, propertyName?: string, focus?: boolean, startEdit?: boolean): void;
|
|
1464
|
+
selectElement(element: any, propertyName?: string, focus?: string | boolean, startEdit?: boolean): void;
|
|
1447
1465
|
protected get designerPropertyGrid(): any;
|
|
1448
1466
|
/*
|
|
1449
1467
|
* Collapse certain property editor tab (category) in properties panel/grid
|
|
@@ -1500,6 +1518,7 @@ export declare class CreatorBase extends Base implements ISurveyCreatorOptions,
|
|
|
1500
1518
|
onPropertyGridSurveyCreatedCallback(object: any, survey: SurveyModel): void;
|
|
1501
1519
|
onPropertyEditorCreatedCallback(object: any, property: JsonObjectProperty, editor: Question): void;
|
|
1502
1520
|
onPropertyEditorUpdateTitleActionsCallback(object: any, property: JsonObjectProperty, editor: Question, titleActions: any): void;
|
|
1521
|
+
onPropertyGridShowModalCallback(object: any, property: JsonObjectProperty, editor: Question, popupEditor: any, popupModel: PopupBaseViewModel): void;
|
|
1503
1522
|
onCanDeleteItemCallback(object: any, item: Base, allowDelete: boolean): boolean;
|
|
1504
1523
|
onCollectionItemDeletingCallback(obj: Base, property: JsonObjectProperty, collection: any, item: Base): boolean;
|
|
1505
1524
|
onCollectionItemAllowingCallback(obj: Base, property: JsonObjectProperty, collection: any, item: Base, itemOptions: ICollectionItemAllowOperations): void;
|
|
@@ -1535,7 +1554,7 @@ export declare class CreatorBase extends Base implements ISurveyCreatorOptions,
|
|
|
1535
1554
|
addNewQuestionInPage(beforeAdd: (string: any) => void, panel?: IPanel, type?: string): void;
|
|
1536
1555
|
createIActionBarItemByClass(className: string, title: string, iconName: string, needSeparator: boolean): Action;
|
|
1537
1556
|
onElementMenuItemsChanged(element: any, items: any): void;
|
|
1538
|
-
getElementAllowOperations(element:
|
|
1557
|
+
getElementAllowOperations(element: any): any;
|
|
1539
1558
|
getNextItemValue(question: QuestionSelectBase): string | number;
|
|
1540
1559
|
createNewItemValue(question: QuestionSelectBase): ItemValue;
|
|
1541
1560
|
protected onPropertyValueChanged(name: string, oldValue: any, newValue: any): void;
|
|
@@ -1641,6 +1660,7 @@ export declare class ItemValueWrapperViewModel extends Base {
|
|
|
1641
1660
|
dragOrClickHelper: DragOrClickHelper;
|
|
1642
1661
|
allowItemOperations: ICollectionItemAllowOperations;
|
|
1643
1662
|
canTouchItems: boolean;
|
|
1663
|
+
focusCameFromDown: boolean;
|
|
1644
1664
|
onPointerDown(pointerDownEvent: any): void;
|
|
1645
1665
|
startDragItemValue: (pointerDownEvent: any, currentTarget: any) => void;
|
|
1646
1666
|
dispose(): void;
|
|
@@ -1650,6 +1670,7 @@ export declare class ItemValueWrapperViewModel extends Base {
|
|
|
1650
1670
|
add(model: ItemValueWrapperViewModel): void;
|
|
1651
1671
|
addNewItem(item: ItemValue, question: QuestionSelectBase, creator: CreatorBase): void;
|
|
1652
1672
|
remove(model: ItemValueWrapperViewModel): void;
|
|
1673
|
+
onFocusOut(event: any): void;
|
|
1653
1674
|
get allowRemove(): boolean;
|
|
1654
1675
|
get tooltip(): string;
|
|
1655
1676
|
get dragTooltip(): string;
|
|
@@ -1755,6 +1776,7 @@ export declare class PageNavigatorViewModel extends Base {
|
|
|
1755
1776
|
popupModel: any;
|
|
1756
1777
|
pagesChangedFunc: (sender: PagesController, options: any) => void;
|
|
1757
1778
|
currentPagesChangedFunc: (sender: PagesController, options: any) => void;
|
|
1779
|
+
_resizeObserver: any;
|
|
1758
1780
|
dispose(): void;
|
|
1759
1781
|
items: any;
|
|
1760
1782
|
visible: boolean;
|
|
@@ -1764,6 +1786,15 @@ export declare class PageNavigatorViewModel extends Base {
|
|
|
1764
1786
|
get pageSelectorCaption(): string;
|
|
1765
1787
|
onContainerScroll(viewPort: any): any;
|
|
1766
1788
|
currentPage: PageModel;
|
|
1789
|
+
stopItemsContainerHeightObserver(): void;
|
|
1790
|
+
visibleItemsStartIndex: number;
|
|
1791
|
+
visibleItemsCount: number;
|
|
1792
|
+
_itemsContainer: any;
|
|
1793
|
+
setItemsContainer(itemsContainer: any): void;
|
|
1794
|
+
static PAGE_NAVIGATION_MENU_ITEM_HEIGHT: number;
|
|
1795
|
+
static PAGE_NAVIGATION_ITEM_HEIGHT: number;
|
|
1796
|
+
protected updateVisibleItems(allAvailableHeight: number): void;
|
|
1797
|
+
get visibleItems(): any;
|
|
1767
1798
|
}
|
|
1768
1799
|
export declare class PagesController extends Base {
|
|
1769
1800
|
constructor(creator: ICreatorSelectionOwner);
|
|
@@ -1869,9 +1900,9 @@ export declare class QuestionLinkValueModel extends Question {
|
|
|
1869
1900
|
doClearClick(): void;
|
|
1870
1901
|
}
|
|
1871
1902
|
export declare class QuestionRatingAdornerViewModel extends Base {
|
|
1872
|
-
constructor(creator: CreatorBase, surveyElement:
|
|
1903
|
+
constructor(creator: CreatorBase, surveyElement: any, templateData: SurveyTemplateRendererTemplateData);
|
|
1873
1904
|
creator: CreatorBase;
|
|
1874
|
-
surveyElement:
|
|
1905
|
+
surveyElement: any;
|
|
1875
1906
|
templateData: SurveyTemplateRendererTemplateData;
|
|
1876
1907
|
get element(): QuestionRatingModel;
|
|
1877
1908
|
addItem(model: QuestionRatingAdornerViewModel): void;
|
|
@@ -2134,9 +2165,10 @@ export declare class StringEditorConnector extends Base {
|
|
|
2134
2165
|
hasEditCompleteHandler: boolean;
|
|
2135
2166
|
focusOnEditor: boolean;
|
|
2136
2167
|
activateEditor(): void;
|
|
2137
|
-
setItemValue(item: ItemValueWrapperViewModel): void;
|
|
2138
2168
|
onDoActivate: Event<(sender: StringEditorViewModelBase, options: any) => any, any>;
|
|
2169
|
+
onTextChanging: Event<(sender: StringEditorViewModelBase, options: any) => any, any>;
|
|
2139
2170
|
onEditComplete: Event<(sender: StringEditorViewModelBase, options: any) => any, any>;
|
|
2171
|
+
onBackspaceEmptyString: Event<(sender: StringEditorViewModelBase, options: any) => any, any>;
|
|
2140
2172
|
}
|
|
2141
2173
|
export declare class StringEditorViewModelBase extends Base {
|
|
2142
2174
|
constructor(locString: LocalizableString, creator: CreatorBase);
|
|
@@ -2150,7 +2182,7 @@ export declare class StringEditorViewModelBase extends Base {
|
|
|
2150
2182
|
editAsText: boolean;
|
|
2151
2183
|
compostionInProgress: boolean;
|
|
2152
2184
|
afterRender(): void;
|
|
2153
|
-
activate():
|
|
2185
|
+
activate(): boolean;
|
|
2154
2186
|
setLocString(locString: LocalizableString): void;
|
|
2155
2187
|
checkConstraints(event: any): void;
|
|
2156
2188
|
blurEditor: any;
|
|
@@ -2172,6 +2204,15 @@ export declare class StringEditorViewModelBase extends Base {
|
|
|
2172
2204
|
get contentEditable(): boolean;
|
|
2173
2205
|
className(text: any): string;
|
|
2174
2206
|
}
|
|
2207
|
+
export declare class StringItemsNavigatorBase {
|
|
2208
|
+
constructor(question: any);
|
|
2209
|
+
protected getItemLocString(items: any, item: any): LocalizableString;
|
|
2210
|
+
protected getItemSets(): Array<any>;
|
|
2211
|
+
protected addNewItem(items: any, text?: string): void;
|
|
2212
|
+
protected getItemsPropertyName(items: any): string;
|
|
2213
|
+
protected addNewItems(items: any, startIndex: number, itemsToAdd: any): void;
|
|
2214
|
+
static setQuestion(questionAdorner: QuestionAdornerViewModel): void;
|
|
2215
|
+
}
|
|
2175
2216
|
export declare class StylesManager {
|
|
2176
2217
|
static get currentTheme(): string;
|
|
2177
2218
|
static set currentTheme(val: string);
|
|
@@ -2776,6 +2817,7 @@ export declare class AceJsonEditorModel extends JsonEditorBaseModel {
|
|
|
2776
2817
|
onEditorActivated(): void;
|
|
2777
2818
|
}
|
|
2778
2819
|
export declare class EmptySurveyCreatorOptions implements ISurveyCreatorOptions {
|
|
2820
|
+
isMobileView: boolean;
|
|
2779
2821
|
alwaySaveTextInPropertyEditors: boolean;
|
|
2780
2822
|
readOnly: boolean;
|
|
2781
2823
|
maxLogicItemsInCondition: number;
|
|
@@ -2791,6 +2833,7 @@ export declare class EmptySurveyCreatorOptions implements ISurveyCreatorOptions
|
|
|
2791
2833
|
onPropertyGridSurveyCreatedCallback(object: any, survey: SurveyModel): void;
|
|
2792
2834
|
onPropertyEditorCreatedCallback(object: any, property: JsonObjectProperty, editor: Question): void;
|
|
2793
2835
|
onPropertyEditorUpdateTitleActionsCallback(object: any, property: JsonObjectProperty, editor: Question, titleActions: any): void;
|
|
2836
|
+
onPropertyGridShowModalCallback(object: any, property: JsonObjectProperty, editor: Question, popupEditor: any, popupModel: PopupBaseViewModel): void;
|
|
2794
2837
|
onIsPropertyReadOnlyCallback(obj: Base, property: JsonObjectProperty, readOnly: boolean, parentObj: Base, parentProperty: JsonObjectProperty): boolean;
|
|
2795
2838
|
onCanDeleteItemCallback(object: any, item: Base, allowDelete: boolean): boolean;
|
|
2796
2839
|
onCollectionItemDeletingCallback(obj: Base, property: JsonObjectProperty, collection: any, item: Base): boolean;
|
|
@@ -2883,19 +2926,19 @@ export declare class PropertyGridEditor implements IPropertyGridEditor {
|
|
|
2883
2926
|
constructor();
|
|
2884
2927
|
fit(prop: JsonObjectProperty): boolean;
|
|
2885
2928
|
getJSON(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): any;
|
|
2886
|
-
showModalPropertyEditor(editor: IPropertyGridEditor, property: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions, onClose?: any):
|
|
2929
|
+
showModalPropertyEditor(editor: IPropertyGridEditor, property: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions, onClose?: any): IPropertyEditorSetup;
|
|
2887
2930
|
protected onModalPropertyEditorShown(editor: IPropertyGridEditor, property: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions): void;
|
|
2888
2931
|
protected onModalPropertyEditorClosed(editor: IPropertyGridEditor, property: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions, reason: "apply" | "cancel"): void;
|
|
2889
2932
|
isSupportGrouping(): boolean;
|
|
2890
2933
|
onUpdateQuestionCssClasses(obj: Base, options: any): void;
|
|
2891
2934
|
}
|
|
2892
2935
|
export declare class QuestionAdornerViewModel extends SurveyElementAdornerBase {
|
|
2893
|
-
constructor(creator: CreatorBase, surveyElement:
|
|
2936
|
+
constructor(creator: CreatorBase, surveyElement: any, templateData: SurveyTemplateRendererTemplateData);
|
|
2894
2937
|
templateData: SurveyTemplateRendererTemplateData;
|
|
2895
2938
|
isDragged: boolean;
|
|
2896
2939
|
currentAddQuestionType: string;
|
|
2897
2940
|
dragOrClickHelper: DragOrClickHelper;
|
|
2898
|
-
get element():
|
|
2941
|
+
get element(): any;
|
|
2899
2942
|
select(model: QuestionAdornerViewModel, event: IPortableMouseEvent): boolean;
|
|
2900
2943
|
rootCss(): "" | " svc-question__adorner--start-with-new-line";
|
|
2901
2944
|
css(): string;
|
|
@@ -2918,6 +2961,28 @@ export declare class QuestionAdornerViewModel extends SurveyElementAdornerBase {
|
|
|
2918
2961
|
questionTypeSelectorModel: any;
|
|
2919
2962
|
get addNewQuestionText(): string;
|
|
2920
2963
|
}
|
|
2964
|
+
export declare class StringItemsNavigatorMatrix extends StringItemsNavigatorBase {
|
|
2965
|
+
constructor(question: any);
|
|
2966
|
+
protected getItemLocString(items: any, item: any): any;
|
|
2967
|
+
protected getItemSets(): any;
|
|
2968
|
+
protected addNewItem(items: any, text?: string): void;
|
|
2969
|
+
protected getItemsPropertyName(items: any): "columns" | "rows";
|
|
2970
|
+
}
|
|
2971
|
+
export declare class StringItemsNavigatorMultipleText extends StringItemsNavigatorBase {
|
|
2972
|
+
constructor(question: any);
|
|
2973
|
+
protected getItemLocString(items: any, item: any): any;
|
|
2974
|
+
protected getItemSets(): any;
|
|
2975
|
+
protected addNewItem(items: any, text?: string): void;
|
|
2976
|
+
protected getItemsPropertyName(items: any): string;
|
|
2977
|
+
protected addNewItems(items: any, startIndex: number, itemsToAdd: any): void;
|
|
2978
|
+
}
|
|
2979
|
+
export declare class StringItemsNavigatorSelectBase extends StringItemsNavigatorBase {
|
|
2980
|
+
constructor(question: any);
|
|
2981
|
+
protected getItemLocString(items: any, item: any): any;
|
|
2982
|
+
protected getItemSets(): any;
|
|
2983
|
+
protected addNewItem(items: any, text?: string): void;
|
|
2984
|
+
protected getItemsPropertyName(items: any): string;
|
|
2985
|
+
}
|
|
2921
2986
|
export declare class SurveyConditionEditorItem extends ConditionEditorItem {
|
|
2922
2987
|
constructor(survey: SurveyModel);
|
|
2923
2988
|
survey: SurveyModel;
|
|
@@ -3336,10 +3401,11 @@ export declare class PropertyGridValueEditorBase extends PropertyGridEditor {
|
|
|
3336
3401
|
isSupportGrouping(): boolean;
|
|
3337
3402
|
}
|
|
3338
3403
|
export declare class QuestionDropdownAdornerViewModel extends QuestionAdornerViewModel {
|
|
3339
|
-
constructor(creator: CreatorBase, surveyElement:
|
|
3404
|
+
constructor(creator: CreatorBase, surveyElement: any, templateData: SurveyTemplateRendererTemplateData);
|
|
3340
3405
|
isCollapsed: boolean;
|
|
3341
3406
|
visibleCount: number;
|
|
3342
3407
|
get question(): QuestionDropdownModel;
|
|
3408
|
+
get itemComponent(): string;
|
|
3343
3409
|
get needToCollapse(): boolean;
|
|
3344
3410
|
get isCollapseView(): boolean;
|
|
3345
3411
|
leftFocus(): void;
|
|
@@ -3350,10 +3416,15 @@ export declare class QuestionDropdownAdornerViewModel extends QuestionAdornerVie
|
|
|
3350
3416
|
dispose(): void;
|
|
3351
3417
|
}
|
|
3352
3418
|
export declare class QuestionImageAdornerViewModel extends QuestionAdornerViewModel {
|
|
3353
|
-
constructor(creator: CreatorBase, surveyElement:
|
|
3419
|
+
constructor(creator: CreatorBase, surveyElement: any, templateData: SurveyTemplateRendererTemplateData, questionRoot: any);
|
|
3354
3420
|
questionRoot: any;
|
|
3355
3421
|
chooseFile(model: QuestionImageAdornerViewModel): void;
|
|
3356
3422
|
}
|
|
3423
|
+
export declare class StringItemsNavigatorMatrixDropdown extends StringItemsNavigatorMatrix {
|
|
3424
|
+
constructor(question: any);
|
|
3425
|
+
protected getItemLocString(items: any, item: any): any;
|
|
3426
|
+
protected addNewItems(items: any, startIndex: number, itemsToAdd: any): void;
|
|
3427
|
+
}
|
|
3357
3428
|
export declare class TabJsonEditorAcePlugin extends TabJsonEditorBasePlugin implements ICreatorPlugin {
|
|
3358
3429
|
constructor(creator: CreatorBase);
|
|
3359
3430
|
protected createModel(creator: CreatorBase): JsonEditorBaseModel;
|
|
@@ -3533,6 +3604,10 @@ export declare class PropertyGridValueEditor extends PropertyGridValueEditorBase
|
|
|
3533
3604
|
fit(prop: JsonObjectProperty): boolean;
|
|
3534
3605
|
createPropertyEditorSetup(obj: Base, prop: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions): IPropertyEditorSetup;
|
|
3535
3606
|
}
|
|
3607
|
+
export declare class StringItemsNavigatorMatrixDynamic extends StringItemsNavigatorMatrixDropdown {
|
|
3608
|
+
constructor(question: any);
|
|
3609
|
+
protected getItemSets(): any;
|
|
3610
|
+
}
|
|
3536
3611
|
export declare class TriggerValueEditor extends DefaultValueEditor {
|
|
3537
3612
|
constructor(editQuestion: Question, editObj: Base, propertyName: string, options?: ISurveyCreatorOptions);
|
|
3538
3613
|
editQuestion: Question;
|
|
@@ -4045,17 +4120,6 @@ export declare var simulatorDevices: {
|
|
|
4045
4120
|
deviceType: string,
|
|
4046
4121
|
title: string,
|
|
4047
4122
|
},
|
|
4048
|
-
iPhone5: {
|
|
4049
|
-
cssPixelRatio: number,
|
|
4050
|
-
ppi: number,
|
|
4051
|
-
width: number,
|
|
4052
|
-
height: number,
|
|
4053
|
-
frameWidth: number,
|
|
4054
|
-
frameHeight: number,
|
|
4055
|
-
deviceType: string,
|
|
4056
|
-
title: string,
|
|
4057
|
-
cssClass: string,
|
|
4058
|
-
},
|
|
4059
4123
|
iPhone6: {
|
|
4060
4124
|
cssPixelRatio: number,
|
|
4061
4125
|
ppi: number,
|