survey-creator-core 1.9.20 → 1.9.23
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 +61 -29
- package/survey-creator-core.d.ts +138 -58
- package/survey-creator-core.i18n.js +6 -6
- package/survey-creator-core.i18n.min.js +2 -2
- package/survey-creator-core.js +1757 -459
- package/survey-creator-core.min.css +11 -11
- package/survey-creator-core.min.js +3 -3
package/survey-creator-core.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Type definition for Survey Creatorlibrary. Platform independent (core) v1.9.
|
|
2
|
+
* Type definition for Survey Creatorlibrary. Platform independent (core) v1.9.23
|
|
3
3
|
* Copyright (c) 2015-2022 Devsoft Baltic OÜ - https://surveyjs.io/
|
|
4
4
|
* License: https://surveyjs.io/Licenses#SurveyCreator
|
|
5
5
|
*/
|
|
6
6
|
import { Base, JsonObjectProperty, Question, ItemValue, MatrixDropdownColumn } from "survey-core";
|
|
7
|
-
import { IAction, SurveyModel,
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
7
|
+
import { IAction, SurveyModel, ActionContainer, DragDropSurveyElements, DragDropChoices } from "survey-core";
|
|
8
|
+
import { Event, AdaptiveActionContainer, PageModel, IElement, IPanel } from "survey-core";
|
|
9
|
+
import { ISurveyElement, Action, SurveyElement, QuestionSelectBase, QuestionRowModel } from "survey-core";
|
|
10
10
|
import { LocalizableString, DragOrClickHelper, PanelModel, QuestionDropdownModel, ListModel } from "survey-core";
|
|
11
11
|
import { PopupModel, EventBase, PanelModelBase, QuestionNonValue, SurveyTemplateRendererTemplateData } from "survey-core";
|
|
12
12
|
import { ComputedUpdater, QuestionCheckboxModel, ILocalizableString, ArrayChanges, ImageItemValue } from "survey-core";
|
|
@@ -139,6 +139,18 @@ export interface ISurveyQuestionEditorDefinition {
|
|
|
139
139
|
properties?: any;
|
|
140
140
|
tabs?: any;
|
|
141
141
|
}
|
|
142
|
+
export interface IPropertyEditorInfo {
|
|
143
|
+
name: string;
|
|
144
|
+
title?: string;
|
|
145
|
+
tab?: string;
|
|
146
|
+
placeholder?: string;
|
|
147
|
+
}
|
|
148
|
+
export interface IPropertyTabInfo {
|
|
149
|
+
name: string;
|
|
150
|
+
index?: number;
|
|
151
|
+
title?: string;
|
|
152
|
+
visible?: boolean;
|
|
153
|
+
}
|
|
142
154
|
export interface IPropertyEditorSetup {
|
|
143
155
|
editSurvey: SurveyModel;
|
|
144
156
|
apply(): boolean;
|
|
@@ -223,25 +235,6 @@ export interface IPortableMouseEvent {
|
|
|
223
235
|
export interface IPortableDragEvent extends IPortableMouseEvent {
|
|
224
236
|
dataTransfer: any;
|
|
225
237
|
}
|
|
226
|
-
export declare class ActionContainerViewModel extends Base {
|
|
227
|
-
constructor(creator: CreatorBase, surveyElement: SurveyElement);
|
|
228
|
-
creator: CreatorBase;
|
|
229
|
-
surveyElement: SurveyElement;
|
|
230
|
-
actionContainer: any;
|
|
231
|
-
allowDragging: boolean;
|
|
232
|
-
selectedPropPageFunc: any;
|
|
233
|
-
sidebarFlyoutModeChangedFunc: any;
|
|
234
|
-
protected checkActionProperties(): void;
|
|
235
|
-
dispose(): void;
|
|
236
|
-
protected onElementSelectedChanged(isSelected: boolean): void;
|
|
237
|
-
protected updateActionsProperties(): void;
|
|
238
|
-
protected updateElementAllowOptions(options: any, operationsAllow: boolean): void;
|
|
239
|
-
protected isOperationsAllow(): boolean;
|
|
240
|
-
protected updateActionVisibility(id: string, isVisible: boolean): void;
|
|
241
|
-
getActionById(id: string): Action;
|
|
242
|
-
protected buildActions(items: any): void;
|
|
243
|
-
protected duplicate(): void;
|
|
244
|
-
}
|
|
245
238
|
export declare class ConditionEditorItem {
|
|
246
239
|
conjunction: string;
|
|
247
240
|
questionName: string;
|
|
@@ -286,6 +279,7 @@ export declare class CreatorBase extends Base implements ISurveyCreatorOptions,
|
|
|
286
279
|
* Set it to true to show "Logic" tab and to false to hide the tab
|
|
287
280
|
*/
|
|
288
281
|
showLogicTab: boolean;
|
|
282
|
+
useTableViewInLogicTab: boolean;
|
|
289
283
|
/*
|
|
290
284
|
* Set delay for page hover
|
|
291
285
|
*/
|
|
@@ -311,7 +305,6 @@ export declare class CreatorBase extends Base implements ISurveyCreatorOptions,
|
|
|
311
305
|
*/
|
|
312
306
|
isAutoSave: boolean;
|
|
313
307
|
showOptions: boolean;
|
|
314
|
-
showState: boolean;
|
|
315
308
|
showSearch: boolean;
|
|
316
309
|
generateValidJSON: boolean;
|
|
317
310
|
currentAddQuestionType: string;
|
|
@@ -320,12 +313,12 @@ export declare class CreatorBase extends Base implements ISurveyCreatorOptions,
|
|
|
320
313
|
toolbarValue: any;
|
|
321
314
|
responsivityManager: CreatorResponsivityManager;
|
|
322
315
|
footerToolbar: any;
|
|
323
|
-
pageEditModeValue: "standard" | "single";
|
|
316
|
+
pageEditModeValue: "standard" | "single" | "bypage";
|
|
324
317
|
/*
|
|
325
318
|
* Set pageEditMode option to "single" to use creator in a single page mode. By default value is "standard".
|
|
326
319
|
* You can set this option in creator constructor only
|
|
327
320
|
*/
|
|
328
|
-
get pageEditMode(): "standard" | "single";
|
|
321
|
+
get pageEditMode(): "standard" | "single" | "bypage";
|
|
329
322
|
surveyValue: SurveyModel;
|
|
330
323
|
get toolbarItems(): any;
|
|
331
324
|
get toolbar(): any;
|
|
@@ -335,7 +328,6 @@ export declare class CreatorBase extends Base implements ISurveyCreatorOptions,
|
|
|
335
328
|
newQuestions: any;
|
|
336
329
|
newPanels: any;
|
|
337
330
|
newQuestionChangedNames: any;
|
|
338
|
-
pagesControllerValue: PagesController;
|
|
339
331
|
selectionHistoryControllerValue: SelectionHistory;
|
|
340
332
|
saveSurveyFuncValue: any;
|
|
341
333
|
viewType: string;
|
|
@@ -402,14 +394,21 @@ export declare class CreatorBase extends Base implements ISurveyCreatorOptions,
|
|
|
402
394
|
*/
|
|
403
395
|
onGetObjectDisplayName: Event<(sender: CreatorBase, options: any) => any, any>;
|
|
404
396
|
/*
|
|
405
|
-
* Use this event to disable
|
|
406
|
-
*
|
|
407
|
-
*
|
|
408
|
-
*
|
|
409
|
-
*
|
|
410
|
-
*
|
|
411
|
-
*
|
|
412
|
-
*
|
|
397
|
+
* Use this event to disable user interactions with a question or panel on the design surface.
|
|
398
|
+
*
|
|
399
|
+
* The event handler accepts the following arguments:
|
|
400
|
+
*
|
|
401
|
+
* - `sender`- A Survey Creator instance that raised the event.
|
|
402
|
+
* - `options.obj` - A survey element instance (question or panel) for which you can disable user interactions.
|
|
403
|
+
* - `options.allowAddToToolbox` - Allows users to save the current survey element configuration in the Toolbox.
|
|
404
|
+
* - `options.allowChangeRequired` - Allows users to make the survey element required.
|
|
405
|
+
* - `options.allowChangeType` - Allows users to change the survey element type.
|
|
406
|
+
* - `options.allowCopy` - Allows users to duplicate the survey element.
|
|
407
|
+
* - `options.allowDelete` - Allows users to delete the survey element.
|
|
408
|
+
* - `options.allowDragging` - Allows users to drag and drop the survey element.
|
|
409
|
+
* - `options.allowEdit` - Allows users to edit survey element properties on the design surface. If you disable this property, users can edit the properties only in the Property Grid.
|
|
410
|
+
*
|
|
411
|
+
* To disable a user interaction, set the correponding `allow...` property to `false`.
|
|
413
412
|
*/
|
|
414
413
|
onElementAllowOperations: Event<(sender: CreatorBase, options: any) => any, any>;
|
|
415
414
|
/*
|
|
@@ -693,6 +692,18 @@ export declare class CreatorBase extends Base implements ISurveyCreatorOptions,
|
|
|
693
692
|
*/
|
|
694
693
|
onTranslationLocaleInitiallySelected: Event<(sender: CreatorBase, options: any) => any, any>;
|
|
695
694
|
/*
|
|
695
|
+
* Use this event to control drag&drop operations.
|
|
696
|
+
* <br/> sender the survey creator object that fires the event.
|
|
697
|
+
* <br/> options.survey the editing survey object.
|
|
698
|
+
* <br/> options.allow set it to false to disable dragging.
|
|
699
|
+
* <br/> options.target a target element that is dragging.
|
|
700
|
+
* <br/> options.source a source element. It can be null, if it is a new element, dragging from toolbox.
|
|
701
|
+
* <br/> options.parent a page or panel where target element is dragging.
|
|
702
|
+
* <br/> options.insertBefore an element before the target element is dragging. It can be null if parent container (page or panel) is empty or dragging an element under the last element of the container.
|
|
703
|
+
* <br/> options.insertAfter an element after the target element is dragging. It can be null if parent container (page or panel) is empty or dragging element to the top of the parent container.
|
|
704
|
+
*/
|
|
705
|
+
onDragDropAllow: Event<(sender: CreatorBase, options: any) => any, any>;
|
|
706
|
+
/*
|
|
696
707
|
* This callback is used internally for providing survey JSON text.
|
|
697
708
|
*/
|
|
698
709
|
getSurveyJSONTextCallback: any;
|
|
@@ -806,6 +817,17 @@ export declare class CreatorBase extends Base implements ISurveyCreatorOptions,
|
|
|
806
817
|
*/
|
|
807
818
|
get isRTL(): boolean;
|
|
808
819
|
set isRTL(val: boolean);
|
|
820
|
+
/*
|
|
821
|
+
* The event is called when creator is going to change the active tab.
|
|
822
|
+
* <br/> sender the survey creator object that fires the event
|
|
823
|
+
* <br/> options.tabName the name of new active tab
|
|
824
|
+
*/
|
|
825
|
+
onActiveTabChanging: Event<(sender: CreatorBase, options: any) => any, any>;
|
|
826
|
+
/*
|
|
827
|
+
* The event is called when creator active tab is changed.
|
|
828
|
+
* <br/> sender the survey creator object that fires the event
|
|
829
|
+
* <br/> options.tabName the name of new active tab
|
|
830
|
+
*/
|
|
809
831
|
onActiveTabChanged: Event<(sender: CreatorBase, options: any) => any, any>;
|
|
810
832
|
/*
|
|
811
833
|
* Get/set the active tab.
|
|
@@ -822,7 +844,6 @@ export declare class CreatorBase extends Base implements ISurveyCreatorOptions,
|
|
|
822
844
|
get toolboxCategories(): any;
|
|
823
845
|
sidebar: SidebarModel;
|
|
824
846
|
updateToolboxIsCompact(newVal?: boolean): void;
|
|
825
|
-
onSurveyElementPropertyValueChanged(property: JsonObjectProperty, obj: any, newValue: any): void;
|
|
826
847
|
showToolboxValue: boolean;
|
|
827
848
|
get showToolbox(): boolean;
|
|
828
849
|
set showToolbox(val: boolean);
|
|
@@ -881,7 +902,6 @@ export declare class CreatorBase extends Base implements ISurveyCreatorOptions,
|
|
|
881
902
|
* This method performs redo uperation if possible.
|
|
882
903
|
*/
|
|
883
904
|
redo(): void;
|
|
884
|
-
get pagesController(): PagesController;
|
|
885
905
|
get selectionHistoryController(): SelectionHistory;
|
|
886
906
|
get currentPage(): PageModel;
|
|
887
907
|
set currentPage(val: PageModel);
|
|
@@ -902,7 +922,6 @@ export declare class CreatorBase extends Base implements ISurveyCreatorOptions,
|
|
|
902
922
|
onAfterDrop: Event<() => any, any>;
|
|
903
923
|
updateElementsOnLocaleChanged(obj: Base, propertyName: string): void;
|
|
904
924
|
updateConditionsOnQuestionNameChanged(obj: Base, propertyName: string, oldValue: any): void;
|
|
905
|
-
updatePagesController(sender: Base, name: string): void;
|
|
906
925
|
isObjQuestion(obj: Base): boolean;
|
|
907
926
|
isObjPage(obj: Base): boolean;
|
|
908
927
|
protected setSurvey(survey: SurveyModel): void;
|
|
@@ -1064,7 +1083,7 @@ export declare class CreatorBase extends Base implements ISurveyCreatorOptions,
|
|
|
1064
1083
|
get addNewQuestionText(): any;
|
|
1065
1084
|
getQuestionTypeSelectorModel(beforeAdd: any, panel?: IPanel): any;
|
|
1066
1085
|
addNewQuestionInPage(beforeAdd: any, panel?: IPanel, type?: string): void;
|
|
1067
|
-
createIActionBarItemByClass(className: string, title
|
|
1086
|
+
createIActionBarItemByClass(className: string, title: string, iconName: string): Action;
|
|
1068
1087
|
onElementMenuItemsChanged(element: any, items: any): void;
|
|
1069
1088
|
getElementAllowOperations(element: SurveyElement): any;
|
|
1070
1089
|
getNextItemValue(question: QuestionSelectBase): string | number;
|
|
@@ -1262,12 +1281,12 @@ export declare class ObjectSelectorModel extends Base {
|
|
|
1262
1281
|
refresh(): void;
|
|
1263
1282
|
}
|
|
1264
1283
|
export declare class PageNavigatorViewModel extends Base {
|
|
1265
|
-
constructor(pagesController: PagesController);
|
|
1284
|
+
constructor(pagesController: PagesController, pageEditMode: string);
|
|
1266
1285
|
icon: string;
|
|
1267
1286
|
pageListModel: ListModel;
|
|
1268
1287
|
popupModel: any;
|
|
1269
1288
|
pagesChangedFunc: any;
|
|
1270
|
-
|
|
1289
|
+
currentPagesChangedFunc: any;
|
|
1271
1290
|
dispose(): void;
|
|
1272
1291
|
items: any;
|
|
1273
1292
|
visible: boolean;
|
|
@@ -1282,19 +1301,18 @@ export declare class PagesController extends Base {
|
|
|
1282
1301
|
constructor(creator: ICreatorSelectionOwner);
|
|
1283
1302
|
creator: ICreatorSelectionOwner;
|
|
1284
1303
|
onPagesChanged: EventBase<PagesController>;
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
pagesChangedFunc: any;
|
|
1288
|
-
currentpagedChangedFunc: any;
|
|
1304
|
+
onCurrentPageChanged: EventBase<PagesController>;
|
|
1305
|
+
currentPageChangedFunc: any;
|
|
1289
1306
|
surveyValue: SurveyModel;
|
|
1307
|
+
page2Display: PageModel;
|
|
1290
1308
|
get survey(): SurveyModel;
|
|
1291
1309
|
get pages(): any;
|
|
1292
1310
|
get currentPage(): PageModel;
|
|
1293
1311
|
set currentPage(val: PageModel);
|
|
1294
1312
|
selectPage(value: PageModel): void;
|
|
1295
1313
|
getDisplayName(page: PageModel): string;
|
|
1314
|
+
raisePagesChanged(): void;
|
|
1296
1315
|
onSurveyChanged(): void;
|
|
1297
|
-
pageNameChanged(page: PageModel): void;
|
|
1298
1316
|
dispose(): void;
|
|
1299
1317
|
}
|
|
1300
1318
|
export declare class PropertiesHelpTexts {
|
|
@@ -1416,7 +1434,17 @@ export declare class QuestionToolbox extends AdaptiveActionContainer<QuestionToo
|
|
|
1416
1434
|
activeCategory: string;
|
|
1417
1435
|
hasCategories: boolean;
|
|
1418
1436
|
canCollapseCategories: boolean;
|
|
1437
|
+
/*
|
|
1438
|
+
* Indicates whether the toolbox is currently in compact mode.
|
|
1439
|
+
*/
|
|
1419
1440
|
isCompact: boolean;
|
|
1441
|
+
/*
|
|
1442
|
+
* Specifies whether the toolbox should be in compact or full mode.
|
|
1443
|
+
* Accepts the following values:
|
|
1444
|
+
* - `true` - Toolbox is always in compact mode.
|
|
1445
|
+
* - `false` - Toolbox is always in full mode.
|
|
1446
|
+
* - `undefined` - Toolbox switches between the full and compact modes automatically based on available width.
|
|
1447
|
+
*/
|
|
1420
1448
|
forceCompact: boolean;
|
|
1421
1449
|
setLocation(toolboxLocation: any): void;
|
|
1422
1450
|
/*
|
|
@@ -1629,6 +1657,27 @@ export declare class StylesManager {
|
|
|
1629
1657
|
static set currentTheme(val: string);
|
|
1630
1658
|
static applyTheme(name?: string): void;
|
|
1631
1659
|
}
|
|
1660
|
+
export declare class SurveyElementAdornerBase<T extends SurveyElement = SurveyElement> extends Base {
|
|
1661
|
+
constructor(creator: CreatorBase, surveyElement: T);
|
|
1662
|
+
creator: CreatorBase;
|
|
1663
|
+
actionContainer: any;
|
|
1664
|
+
allowDragging: boolean;
|
|
1665
|
+
selectedPropPageFunc: any;
|
|
1666
|
+
sidebarFlyoutModeChangedFunc: any;
|
|
1667
|
+
protected detachElement(surveyElement: T): void;
|
|
1668
|
+
protected attachElement(surveyElement: T): void;
|
|
1669
|
+
protected setSurveyElement(surveyElement: T): void;
|
|
1670
|
+
protected checkActionProperties(): void;
|
|
1671
|
+
dispose(): void;
|
|
1672
|
+
protected onElementSelectedChanged(isSelected: boolean): void;
|
|
1673
|
+
protected updateActionsProperties(): void;
|
|
1674
|
+
protected updateElementAllowOptions(options: any, operationsAllow: boolean): void;
|
|
1675
|
+
protected isOperationsAllow(): boolean;
|
|
1676
|
+
protected updateActionVisibility(id: string, isVisible: boolean): void;
|
|
1677
|
+
getActionById(id: string): Action;
|
|
1678
|
+
protected buildActions(items: any): void;
|
|
1679
|
+
protected duplicate(): void;
|
|
1680
|
+
}
|
|
1632
1681
|
export declare class SurveyForTextWorker extends SurveyModel {
|
|
1633
1682
|
constructor(jsonObj: any);
|
|
1634
1683
|
}
|
|
@@ -1797,6 +1846,8 @@ export declare class SurveyLogicItem {
|
|
|
1797
1846
|
get name(): string;
|
|
1798
1847
|
get survey(): SurveyModel;
|
|
1799
1848
|
getVisibleLogicTypes(): Array<SurveyLogicType>;
|
|
1849
|
+
get expressionText(): any;
|
|
1850
|
+
get actionsText(): any;
|
|
1800
1851
|
getDisplayText(): any;
|
|
1801
1852
|
edit(): void;
|
|
1802
1853
|
remove(): void;
|
|
@@ -1950,6 +2001,7 @@ export declare class TabDesignerViewModel extends Base {
|
|
|
1950
2001
|
widthUpdater: any;
|
|
1951
2002
|
checkNewPageHandler: any;
|
|
1952
2003
|
surveyOnPropertyChanged: any;
|
|
2004
|
+
pagesControllerValue: PagesController;
|
|
1953
2005
|
newPage: PageModel;
|
|
1954
2006
|
showNewPage: boolean;
|
|
1955
2007
|
pageCount: number;
|
|
@@ -1957,10 +2009,10 @@ export declare class TabDesignerViewModel extends Base {
|
|
|
1957
2009
|
showPlaceholder: boolean;
|
|
1958
2010
|
creator: CreatorBase;
|
|
1959
2011
|
get survey(): SurveyModel;
|
|
2012
|
+
get pagesController(): PagesController;
|
|
1960
2013
|
get isToolboxVisible(): boolean;
|
|
1961
2014
|
get placeholderText(): string;
|
|
1962
2015
|
initSurvey(): void;
|
|
1963
|
-
onPagesChangedHandler: any;
|
|
1964
2016
|
dispose(): void;
|
|
1965
2017
|
clickDesigner(): void;
|
|
1966
2018
|
getDesignerCss(): string;
|
|
@@ -2226,22 +2278,23 @@ export declare class LogicActionTriggerModel extends LogicActionModelBase {
|
|
|
2226
2278
|
updatePanelElements(selectedElement: string, options?: ISurveyCreatorOptions): void;
|
|
2227
2279
|
getSelectedElement(): string;
|
|
2228
2280
|
}
|
|
2229
|
-
export declare class
|
|
2281
|
+
export declare class PageAdorner extends SurveyElementAdornerBase<PageModel> {
|
|
2230
2282
|
constructor(creator: CreatorBase, page: PageModel);
|
|
2231
2283
|
isSelected: boolean;
|
|
2232
2284
|
isPageLive: boolean;
|
|
2233
2285
|
onPageSelectedCallback: any;
|
|
2234
2286
|
questionTypeSelectorModel: any;
|
|
2235
2287
|
currentAddQuestionType: string;
|
|
2236
|
-
|
|
2288
|
+
protected attachElement(surveyElement: PageModel): void;
|
|
2237
2289
|
protected onElementSelectedChanged(isSelected: boolean): void;
|
|
2238
2290
|
dispose(): void;
|
|
2239
2291
|
get isGhost(): boolean;
|
|
2240
2292
|
protected isOperationsAllow(): boolean;
|
|
2293
|
+
protected getPage(): PageModel;
|
|
2241
2294
|
get page(): PageModel;
|
|
2242
2295
|
addGhostPage: any;
|
|
2243
|
-
addNewQuestion(model:
|
|
2244
|
-
select(model:
|
|
2296
|
+
addNewQuestion(model: PageAdorner, event: IPortableMouseEvent): void;
|
|
2297
|
+
select(model: PageAdorner, event: IPortableMouseEvent): void;
|
|
2245
2298
|
get css(): string;
|
|
2246
2299
|
hover(event: any, element: any): void;
|
|
2247
2300
|
hoverStopper(event: any, element: any): void;
|
|
@@ -2271,12 +2324,13 @@ export declare class PropertyGridEditor implements IPropertyGridEditor {
|
|
|
2271
2324
|
isSupportGrouping(): boolean;
|
|
2272
2325
|
onUpdateQuestionCssClasses(obj: Base, options: any): void;
|
|
2273
2326
|
}
|
|
2274
|
-
export declare class QuestionAdornerViewModel extends
|
|
2327
|
+
export declare class QuestionAdornerViewModel extends SurveyElementAdornerBase {
|
|
2275
2328
|
constructor(creator: CreatorBase, surveyElement: SurveyElement, templateData: SurveyTemplateRendererTemplateData);
|
|
2276
2329
|
templateData: SurveyTemplateRendererTemplateData;
|
|
2277
2330
|
isDragged: boolean;
|
|
2278
2331
|
currentAddQuestionType: string;
|
|
2279
2332
|
dragOrClickHelper: DragOrClickHelper;
|
|
2333
|
+
get element(): SurveyElement;
|
|
2280
2334
|
select(model: QuestionAdornerViewModel, event: IPortableMouseEvent): boolean;
|
|
2281
2335
|
rootCss(): "" | " svc-question__adorner--start-with-new-line";
|
|
2282
2336
|
css(): string;
|
|
@@ -2572,16 +2626,24 @@ export declare class DefaultValueEditor extends PropertyEditorSetupValue {
|
|
|
2572
2626
|
protected getSurveyCreationReason(): string;
|
|
2573
2627
|
apply(): boolean;
|
|
2574
2628
|
}
|
|
2575
|
-
export declare class
|
|
2629
|
+
export declare class FastEntryEditorBase extends PropertyEditorSetupValue {
|
|
2576
2630
|
constructor(choices: any, options?: ISurveyCreatorOptions, className?: string, names?: any);
|
|
2577
2631
|
choices: any;
|
|
2578
|
-
|
|
2579
|
-
|
|
2632
|
+
protected commentValue: QuestionCommentModel;
|
|
2633
|
+
protected static calcBeforeApplyItemsArray(dest: any, src: any, names: any): void;
|
|
2634
|
+
static applyItemsArray(dest: any, src: any, names?: any): void;
|
|
2580
2635
|
protected getSurveyJSON(): any;
|
|
2581
2636
|
protected getSurveyCreationReason(): string;
|
|
2582
|
-
get comment(): QuestionCommentModel;
|
|
2583
2637
|
apply(): boolean;
|
|
2638
|
+
protected convertTextToItemValues(text: string): Array<ItemValue>;
|
|
2639
|
+
get comment(): QuestionCommentModel;
|
|
2640
|
+
protected getChoicesCount(): number;
|
|
2641
|
+
protected getPlaceHolder(): string;
|
|
2642
|
+
protected get isValueUnique(): boolean;
|
|
2643
|
+
protected getFirstUniqueValue(): boolean;
|
|
2584
2644
|
setComment(): void;
|
|
2645
|
+
protected collectNames(item: any, type: string, separatorCounter: number): string;
|
|
2646
|
+
protected convertItemValuesToText(): string;
|
|
2585
2647
|
}
|
|
2586
2648
|
export declare class LogicItemEditor extends PropertyEditorSetupValue {
|
|
2587
2649
|
constructor(editableItem: SurveyLogicItem, options?: ISurveyCreatorOptions);
|
|
@@ -2711,7 +2773,7 @@ export declare class QuestionImageAdornerViewModel extends QuestionAdornerViewMo
|
|
|
2711
2773
|
}
|
|
2712
2774
|
export declare class QuestionRatingAdornerViewModel extends QuestionAdornerViewModel {
|
|
2713
2775
|
constructor(creator: CreatorBase, surveyElement: SurveyElement, templateData: SurveyTemplateRendererTemplateData);
|
|
2714
|
-
get
|
|
2776
|
+
get element(): QuestionRatingModel;
|
|
2715
2777
|
addItem(model: QuestionRatingAdornerViewModel): void;
|
|
2716
2778
|
removeItem(model: QuestionRatingAdornerViewModel): void;
|
|
2717
2779
|
get allowAdd(): boolean;
|
|
@@ -2734,6 +2796,13 @@ export declare class DefaultArrayValueEditor extends DefaultValueEditor {
|
|
|
2734
2796
|
protected getQuestionValue(): any;
|
|
2735
2797
|
protected getEditValue(): any;
|
|
2736
2798
|
}
|
|
2799
|
+
export declare class FastEntryEditor extends FastEntryEditorBase {
|
|
2800
|
+
constructor(choices: any, options?: ISurveyCreatorOptions, className?: string, names?: any);
|
|
2801
|
+
choices: any;
|
|
2802
|
+
static applyItemValueArray(dest: any, src: any, names?: any): void;
|
|
2803
|
+
apply(): boolean;
|
|
2804
|
+
protected convertItemValuesToText(): string;
|
|
2805
|
+
}
|
|
2737
2806
|
export declare class PropertyGridCellsEditor extends PropertyGridValueEditorBase {
|
|
2738
2807
|
constructor();
|
|
2739
2808
|
fit(prop: JsonObjectProperty): boolean;
|
|
@@ -2752,6 +2821,11 @@ export declare class PropertyGridEditorHtml extends PropertyGridEditorStringBase
|
|
|
2752
2821
|
fit(prop: JsonObjectProperty): boolean;
|
|
2753
2822
|
getJSON(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): any;
|
|
2754
2823
|
}
|
|
2824
|
+
export declare class PropertyGridEditorImageSize extends PropertyGridEditorNumber {
|
|
2825
|
+
constructor();
|
|
2826
|
+
fit(prop: JsonObjectProperty): boolean;
|
|
2827
|
+
onCreated(obj: Base, question: Question, prop: JsonObjectProperty): void;
|
|
2828
|
+
}
|
|
2755
2829
|
export declare class PropertyGridEditorMatrixCalculatedValues extends PropertyGridEditorMatrix {
|
|
2756
2830
|
constructor();
|
|
2757
2831
|
fit(prop: JsonObjectProperty): boolean;
|
|
@@ -2807,6 +2881,9 @@ export declare class PropertyGridEditorMatrixMutlipleTextItems extends PropertyG
|
|
|
2807
2881
|
protected getDefaulColumnNames(): Array<any>;
|
|
2808
2882
|
protected getKeyValue(): string;
|
|
2809
2883
|
protected getBaseValue(prop: JsonObjectProperty): string;
|
|
2884
|
+
protected getAllowRowDragDrop(): boolean;
|
|
2885
|
+
createPropertyEditorSetup(obj: Base, prop: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions): IPropertyEditorSetup;
|
|
2886
|
+
onMatrixCellCreated(obj: Base, options: any): void;
|
|
2810
2887
|
}
|
|
2811
2888
|
export declare class PropertyGridEditorMatrixPages extends PropertyGridEditorMatrix {
|
|
2812
2889
|
constructor();
|
|
@@ -2996,6 +3073,8 @@ export declare var settings: {
|
|
|
2996
3073
|
logic: {
|
|
2997
3074
|
visibleActions: any,
|
|
2998
3075
|
logicItemTitleMaxChars: number,
|
|
3076
|
+
openBracket: string,
|
|
3077
|
+
closeBracket: string,
|
|
2999
3078
|
},
|
|
3000
3079
|
/*
|
|
3001
3080
|
* Determines which types of questions the conversion will be available for.
|
|
@@ -4160,5 +4239,6 @@ export declare var logicCss: {
|
|
|
4160
4239
|
};
|
|
4161
4240
|
export declare var initialSettingsAllowShowEmptyTitleInDesignMode: boolean;
|
|
4162
4241
|
export declare var editableStringRendererName: any;
|
|
4163
|
-
export declare var svgBundle:
|
|
4242
|
+
export declare var svgBundle: any;
|
|
4243
|
+
export declare var path: any;
|
|
4164
4244
|
export declare var Version: string;
|