survey-creator-core 1.9.19 → 1.9.22
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 +88 -34
- package/survey-creator-core.d.ts +106 -57
- package/survey-creator-core.i18n.js +6 -6
- package/survey-creator-core.i18n.min.js +2 -2
- package/survey-creator-core.js +1732 -519
- package/survey-creator-core.min.css +14 -14
- package/survey-creator-core.min.js +4 -4
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.22
|
|
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;
|
|
@@ -311,7 +304,6 @@ export declare class CreatorBase extends Base implements ISurveyCreatorOptions,
|
|
|
311
304
|
*/
|
|
312
305
|
isAutoSave: boolean;
|
|
313
306
|
showOptions: boolean;
|
|
314
|
-
showState: boolean;
|
|
315
307
|
showSearch: boolean;
|
|
316
308
|
generateValidJSON: boolean;
|
|
317
309
|
currentAddQuestionType: string;
|
|
@@ -320,12 +312,12 @@ export declare class CreatorBase extends Base implements ISurveyCreatorOptions,
|
|
|
320
312
|
toolbarValue: any;
|
|
321
313
|
responsivityManager: CreatorResponsivityManager;
|
|
322
314
|
footerToolbar: any;
|
|
323
|
-
pageEditModeValue: "standard" | "single";
|
|
315
|
+
pageEditModeValue: "standard" | "single" | "bypage";
|
|
324
316
|
/*
|
|
325
317
|
* Set pageEditMode option to "single" to use creator in a single page mode. By default value is "standard".
|
|
326
318
|
* You can set this option in creator constructor only
|
|
327
319
|
*/
|
|
328
|
-
get pageEditMode(): "standard" | "single";
|
|
320
|
+
get pageEditMode(): "standard" | "single" | "bypage";
|
|
329
321
|
surveyValue: SurveyModel;
|
|
330
322
|
get toolbarItems(): any;
|
|
331
323
|
get toolbar(): any;
|
|
@@ -335,7 +327,6 @@ export declare class CreatorBase extends Base implements ISurveyCreatorOptions,
|
|
|
335
327
|
newQuestions: any;
|
|
336
328
|
newPanels: any;
|
|
337
329
|
newQuestionChangedNames: any;
|
|
338
|
-
pagesControllerValue: PagesController;
|
|
339
330
|
selectionHistoryControllerValue: SelectionHistory;
|
|
340
331
|
saveSurveyFuncValue: any;
|
|
341
332
|
viewType: string;
|
|
@@ -822,17 +813,17 @@ export declare class CreatorBase extends Base implements ISurveyCreatorOptions,
|
|
|
822
813
|
get toolboxCategories(): any;
|
|
823
814
|
sidebar: SidebarModel;
|
|
824
815
|
updateToolboxIsCompact(newVal?: boolean): void;
|
|
825
|
-
onSurveyElementPropertyValueChanged(property: JsonObjectProperty, obj: any, newValue: any): void;
|
|
826
816
|
showToolboxValue: boolean;
|
|
827
817
|
get showToolbox(): boolean;
|
|
828
818
|
set showToolbox(val: boolean);
|
|
829
819
|
showSidebarValue: boolean;
|
|
830
|
-
|
|
820
|
+
onShowSidebarVisibilityChanged: Event<(sender: CreatorBase, options: any) => any, any>;
|
|
831
821
|
/*
|
|
832
822
|
* Set this this property grid false to hide the property grid.
|
|
833
823
|
*/
|
|
834
824
|
get showSidebar(): boolean;
|
|
835
825
|
set showSidebar(val: boolean);
|
|
826
|
+
setShowSidebar(value: boolean, isManualMode?: boolean): void;
|
|
836
827
|
onShowPropertyGridVisiblityChanged: Event<(sender: CreatorBase, options: any) => any, any>;
|
|
837
828
|
get showPropertyGrid(): boolean;
|
|
838
829
|
set showPropertyGrid(val: boolean);
|
|
@@ -880,7 +871,6 @@ export declare class CreatorBase extends Base implements ISurveyCreatorOptions,
|
|
|
880
871
|
* This method performs redo uperation if possible.
|
|
881
872
|
*/
|
|
882
873
|
redo(): void;
|
|
883
|
-
get pagesController(): PagesController;
|
|
884
874
|
get selectionHistoryController(): SelectionHistory;
|
|
885
875
|
get currentPage(): PageModel;
|
|
886
876
|
set currentPage(val: PageModel);
|
|
@@ -901,7 +891,6 @@ export declare class CreatorBase extends Base implements ISurveyCreatorOptions,
|
|
|
901
891
|
onAfterDrop: Event<() => any, any>;
|
|
902
892
|
updateElementsOnLocaleChanged(obj: Base, propertyName: string): void;
|
|
903
893
|
updateConditionsOnQuestionNameChanged(obj: Base, propertyName: string, oldValue: any): void;
|
|
904
|
-
updatePagesController(sender: Base, name: string): void;
|
|
905
894
|
isObjQuestion(obj: Base): boolean;
|
|
906
895
|
isObjPage(obj: Base): boolean;
|
|
907
896
|
protected setSurvey(survey: SurveyModel): void;
|
|
@@ -1063,7 +1052,7 @@ export declare class CreatorBase extends Base implements ISurveyCreatorOptions,
|
|
|
1063
1052
|
get addNewQuestionText(): any;
|
|
1064
1053
|
getQuestionTypeSelectorModel(beforeAdd: any, panel?: IPanel): any;
|
|
1065
1054
|
addNewQuestionInPage(beforeAdd: any, panel?: IPanel, type?: string): void;
|
|
1066
|
-
createIActionBarItemByClass(className: string, title
|
|
1055
|
+
createIActionBarItemByClass(className: string, title: string, iconName: string): Action;
|
|
1067
1056
|
onElementMenuItemsChanged(element: any, items: any): void;
|
|
1068
1057
|
getElementAllowOperations(element: SurveyElement): any;
|
|
1069
1058
|
getNextItemValue(question: QuestionSelectBase): string | number;
|
|
@@ -1087,7 +1076,6 @@ export declare class CreatorResponsivityManager {
|
|
|
1087
1076
|
resizeObserver: any;
|
|
1088
1077
|
currentWidth: any;
|
|
1089
1078
|
prevShowToolbox: any;
|
|
1090
|
-
prevToolboxIsCompact: any;
|
|
1091
1079
|
prevShowPageNavigator: any;
|
|
1092
1080
|
screenWidth: any;
|
|
1093
1081
|
devicePixelRatio: any;
|
|
@@ -1262,12 +1250,12 @@ export declare class ObjectSelectorModel extends Base {
|
|
|
1262
1250
|
refresh(): void;
|
|
1263
1251
|
}
|
|
1264
1252
|
export declare class PageNavigatorViewModel extends Base {
|
|
1265
|
-
constructor(pagesController: PagesController);
|
|
1253
|
+
constructor(pagesController: PagesController, pageEditMode: string);
|
|
1266
1254
|
icon: string;
|
|
1267
1255
|
pageListModel: ListModel;
|
|
1268
1256
|
popupModel: any;
|
|
1269
1257
|
pagesChangedFunc: any;
|
|
1270
|
-
|
|
1258
|
+
currentPagesChangedFunc: any;
|
|
1271
1259
|
dispose(): void;
|
|
1272
1260
|
items: any;
|
|
1273
1261
|
visible: boolean;
|
|
@@ -1282,19 +1270,18 @@ export declare class PagesController extends Base {
|
|
|
1282
1270
|
constructor(creator: ICreatorSelectionOwner);
|
|
1283
1271
|
creator: ICreatorSelectionOwner;
|
|
1284
1272
|
onPagesChanged: EventBase<PagesController>;
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
pagesChangedFunc: any;
|
|
1288
|
-
currentpagedChangedFunc: any;
|
|
1273
|
+
onCurrentPageChanged: EventBase<PagesController>;
|
|
1274
|
+
currentPageChangedFunc: any;
|
|
1289
1275
|
surveyValue: SurveyModel;
|
|
1276
|
+
page2Display: PageModel;
|
|
1290
1277
|
get survey(): SurveyModel;
|
|
1291
1278
|
get pages(): any;
|
|
1292
1279
|
get currentPage(): PageModel;
|
|
1293
1280
|
set currentPage(val: PageModel);
|
|
1294
1281
|
selectPage(value: PageModel): void;
|
|
1295
1282
|
getDisplayName(page: PageModel): string;
|
|
1283
|
+
raisePagesChanged(): void;
|
|
1296
1284
|
onSurveyChanged(): void;
|
|
1297
|
-
pageNameChanged(page: PageModel): void;
|
|
1298
1285
|
dispose(): void;
|
|
1299
1286
|
}
|
|
1300
1287
|
export declare class PropertiesHelpTexts {
|
|
@@ -1416,7 +1403,18 @@ export declare class QuestionToolbox extends AdaptiveActionContainer<QuestionToo
|
|
|
1416
1403
|
activeCategory: string;
|
|
1417
1404
|
hasCategories: boolean;
|
|
1418
1405
|
canCollapseCategories: boolean;
|
|
1406
|
+
/*
|
|
1407
|
+
* Indicates whether the toolbox is currently in compact mode.
|
|
1408
|
+
*/
|
|
1419
1409
|
isCompact: boolean;
|
|
1410
|
+
/*
|
|
1411
|
+
* Specifies whether the toolbox should be in compact or full mode.
|
|
1412
|
+
* Accepts the following values:
|
|
1413
|
+
* - `true` - Toolbox is always in compact mode.
|
|
1414
|
+
* - `false` - Toolbox is always in full mode.
|
|
1415
|
+
* - `undefined` - Toolbox switches between the full and compact modes automatically based on available width.
|
|
1416
|
+
*/
|
|
1417
|
+
forceCompact: boolean;
|
|
1420
1418
|
setLocation(toolboxLocation: any): void;
|
|
1421
1419
|
/*
|
|
1422
1420
|
* The Array of Toolbox items as Text JSON.
|
|
@@ -1563,7 +1561,7 @@ export declare class SelectionHistory extends Base {
|
|
|
1563
1561
|
onObjSelected(obj: Base): void;
|
|
1564
1562
|
}
|
|
1565
1563
|
export declare class SidebarModel extends Base {
|
|
1566
|
-
constructor(creator: CreatorBase
|
|
1564
|
+
constructor(creator: CreatorBase);
|
|
1567
1565
|
toolbar: any;
|
|
1568
1566
|
_expandAction: Action;
|
|
1569
1567
|
_collapseAction: Action;
|
|
@@ -1628,6 +1626,27 @@ export declare class StylesManager {
|
|
|
1628
1626
|
static set currentTheme(val: string);
|
|
1629
1627
|
static applyTheme(name?: string): void;
|
|
1630
1628
|
}
|
|
1629
|
+
export declare class SurveyElementAdornerBase<T extends SurveyElement = SurveyElement> extends Base {
|
|
1630
|
+
constructor(creator: CreatorBase, surveyElement: T);
|
|
1631
|
+
creator: CreatorBase;
|
|
1632
|
+
actionContainer: any;
|
|
1633
|
+
allowDragging: boolean;
|
|
1634
|
+
selectedPropPageFunc: any;
|
|
1635
|
+
sidebarFlyoutModeChangedFunc: any;
|
|
1636
|
+
protected detachElement(surveyElement: T): void;
|
|
1637
|
+
protected attachElement(surveyElement: T): void;
|
|
1638
|
+
protected setSurveyElement(surveyElement: T): void;
|
|
1639
|
+
protected checkActionProperties(): void;
|
|
1640
|
+
dispose(): void;
|
|
1641
|
+
protected onElementSelectedChanged(isSelected: boolean): void;
|
|
1642
|
+
protected updateActionsProperties(): void;
|
|
1643
|
+
protected updateElementAllowOptions(options: any, operationsAllow: boolean): void;
|
|
1644
|
+
protected isOperationsAllow(): boolean;
|
|
1645
|
+
protected updateActionVisibility(id: string, isVisible: boolean): void;
|
|
1646
|
+
getActionById(id: string): Action;
|
|
1647
|
+
protected buildActions(items: any): void;
|
|
1648
|
+
protected duplicate(): void;
|
|
1649
|
+
}
|
|
1631
1650
|
export declare class SurveyForTextWorker extends SurveyModel {
|
|
1632
1651
|
constructor(jsonObj: any);
|
|
1633
1652
|
}
|
|
@@ -1949,6 +1968,7 @@ export declare class TabDesignerViewModel extends Base {
|
|
|
1949
1968
|
widthUpdater: any;
|
|
1950
1969
|
checkNewPageHandler: any;
|
|
1951
1970
|
surveyOnPropertyChanged: any;
|
|
1971
|
+
pagesControllerValue: PagesController;
|
|
1952
1972
|
newPage: PageModel;
|
|
1953
1973
|
showNewPage: boolean;
|
|
1954
1974
|
pageCount: number;
|
|
@@ -1956,10 +1976,10 @@ export declare class TabDesignerViewModel extends Base {
|
|
|
1956
1976
|
showPlaceholder: boolean;
|
|
1957
1977
|
creator: CreatorBase;
|
|
1958
1978
|
get survey(): SurveyModel;
|
|
1979
|
+
get pagesController(): PagesController;
|
|
1959
1980
|
get isToolboxVisible(): boolean;
|
|
1960
1981
|
get placeholderText(): string;
|
|
1961
1982
|
initSurvey(): void;
|
|
1962
|
-
onPagesChangedHandler: any;
|
|
1963
1983
|
dispose(): void;
|
|
1964
1984
|
clickDesigner(): void;
|
|
1965
1985
|
getDesignerCss(): string;
|
|
@@ -2225,22 +2245,23 @@ export declare class LogicActionTriggerModel extends LogicActionModelBase {
|
|
|
2225
2245
|
updatePanelElements(selectedElement: string, options?: ISurveyCreatorOptions): void;
|
|
2226
2246
|
getSelectedElement(): string;
|
|
2227
2247
|
}
|
|
2228
|
-
export declare class
|
|
2248
|
+
export declare class PageAdorner extends SurveyElementAdornerBase<PageModel> {
|
|
2229
2249
|
constructor(creator: CreatorBase, page: PageModel);
|
|
2230
2250
|
isSelected: boolean;
|
|
2231
2251
|
isPageLive: boolean;
|
|
2232
2252
|
onPageSelectedCallback: any;
|
|
2233
2253
|
questionTypeSelectorModel: any;
|
|
2234
2254
|
currentAddQuestionType: string;
|
|
2235
|
-
|
|
2255
|
+
protected attachElement(surveyElement: PageModel): void;
|
|
2236
2256
|
protected onElementSelectedChanged(isSelected: boolean): void;
|
|
2237
2257
|
dispose(): void;
|
|
2238
2258
|
get isGhost(): boolean;
|
|
2239
2259
|
protected isOperationsAllow(): boolean;
|
|
2260
|
+
protected getPage(): PageModel;
|
|
2240
2261
|
get page(): PageModel;
|
|
2241
2262
|
addGhostPage: any;
|
|
2242
|
-
addNewQuestion(model:
|
|
2243
|
-
select(model:
|
|
2263
|
+
addNewQuestion(model: PageAdorner, event: IPortableMouseEvent): void;
|
|
2264
|
+
select(model: PageAdorner, event: IPortableMouseEvent): void;
|
|
2244
2265
|
get css(): string;
|
|
2245
2266
|
hover(event: any, element: any): void;
|
|
2246
2267
|
hoverStopper(event: any, element: any): void;
|
|
@@ -2270,12 +2291,13 @@ export declare class PropertyGridEditor implements IPropertyGridEditor {
|
|
|
2270
2291
|
isSupportGrouping(): boolean;
|
|
2271
2292
|
onUpdateQuestionCssClasses(obj: Base, options: any): void;
|
|
2272
2293
|
}
|
|
2273
|
-
export declare class QuestionAdornerViewModel extends
|
|
2294
|
+
export declare class QuestionAdornerViewModel extends SurveyElementAdornerBase {
|
|
2274
2295
|
constructor(creator: CreatorBase, surveyElement: SurveyElement, templateData: SurveyTemplateRendererTemplateData);
|
|
2275
2296
|
templateData: SurveyTemplateRendererTemplateData;
|
|
2276
2297
|
isDragged: boolean;
|
|
2277
2298
|
currentAddQuestionType: string;
|
|
2278
2299
|
dragOrClickHelper: DragOrClickHelper;
|
|
2300
|
+
get element(): SurveyElement;
|
|
2279
2301
|
select(model: QuestionAdornerViewModel, event: IPortableMouseEvent): boolean;
|
|
2280
2302
|
rootCss(): "" | " svc-question__adorner--start-with-new-line";
|
|
2281
2303
|
css(): string;
|
|
@@ -2571,16 +2593,24 @@ export declare class DefaultValueEditor extends PropertyEditorSetupValue {
|
|
|
2571
2593
|
protected getSurveyCreationReason(): string;
|
|
2572
2594
|
apply(): boolean;
|
|
2573
2595
|
}
|
|
2574
|
-
export declare class
|
|
2596
|
+
export declare class FastEntryEditorBase extends PropertyEditorSetupValue {
|
|
2575
2597
|
constructor(choices: any, options?: ISurveyCreatorOptions, className?: string, names?: any);
|
|
2576
2598
|
choices: any;
|
|
2577
|
-
|
|
2578
|
-
|
|
2599
|
+
protected commentValue: QuestionCommentModel;
|
|
2600
|
+
protected static calcBeforeApplyItemsArray(dest: any, src: any, names: any): void;
|
|
2601
|
+
static applyItemsArray(dest: any, src: any, names?: any): void;
|
|
2579
2602
|
protected getSurveyJSON(): any;
|
|
2580
2603
|
protected getSurveyCreationReason(): string;
|
|
2581
|
-
get comment(): QuestionCommentModel;
|
|
2582
2604
|
apply(): boolean;
|
|
2605
|
+
protected convertTextToItemValues(text: string): Array<ItemValue>;
|
|
2606
|
+
get comment(): QuestionCommentModel;
|
|
2607
|
+
protected getChoicesCount(): number;
|
|
2608
|
+
protected getPlaceHolder(): string;
|
|
2609
|
+
protected get isValueUnique(): boolean;
|
|
2610
|
+
protected getFirstUniqueValue(): boolean;
|
|
2583
2611
|
setComment(): void;
|
|
2612
|
+
protected collectNames(item: any, type: string, separatorCounter: number): string;
|
|
2613
|
+
protected convertItemValuesToText(): string;
|
|
2584
2614
|
}
|
|
2585
2615
|
export declare class LogicItemEditor extends PropertyEditorSetupValue {
|
|
2586
2616
|
constructor(editableItem: SurveyLogicItem, options?: ISurveyCreatorOptions);
|
|
@@ -2663,7 +2693,7 @@ export declare class PropertyGridEditorMatrix extends PropertyGridEditor {
|
|
|
2663
2693
|
protected hasDetailPanel(): boolean;
|
|
2664
2694
|
hasPropertiesInDetail: boolean;
|
|
2665
2695
|
protected setupMatrixQuestion(obj: Base, matrix: QuestionMatrixDynamicModel, prop: JsonObjectProperty): void;
|
|
2666
|
-
protected getAllowRowDragDrop(): boolean;
|
|
2696
|
+
protected getAllowRowDragDrop(prop: JsonObjectProperty): boolean;
|
|
2667
2697
|
getJSON(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): any;
|
|
2668
2698
|
protected getMatrixJSON(obj: Base, prop: JsonObjectProperty, propNames: any, options: ISurveyCreatorOptions): any;
|
|
2669
2699
|
protected getHideColumnsEmpty(prop: JsonObjectProperty): boolean;
|
|
@@ -2710,7 +2740,7 @@ export declare class QuestionImageAdornerViewModel extends QuestionAdornerViewMo
|
|
|
2710
2740
|
}
|
|
2711
2741
|
export declare class QuestionRatingAdornerViewModel extends QuestionAdornerViewModel {
|
|
2712
2742
|
constructor(creator: CreatorBase, surveyElement: SurveyElement, templateData: SurveyTemplateRendererTemplateData);
|
|
2713
|
-
get
|
|
2743
|
+
get element(): QuestionRatingModel;
|
|
2714
2744
|
addItem(model: QuestionRatingAdornerViewModel): void;
|
|
2715
2745
|
removeItem(model: QuestionRatingAdornerViewModel): void;
|
|
2716
2746
|
get allowAdd(): boolean;
|
|
@@ -2733,6 +2763,13 @@ export declare class DefaultArrayValueEditor extends DefaultValueEditor {
|
|
|
2733
2763
|
protected getQuestionValue(): any;
|
|
2734
2764
|
protected getEditValue(): any;
|
|
2735
2765
|
}
|
|
2766
|
+
export declare class FastEntryEditor extends FastEntryEditorBase {
|
|
2767
|
+
constructor(choices: any, options?: ISurveyCreatorOptions, className?: string, names?: any);
|
|
2768
|
+
choices: any;
|
|
2769
|
+
static applyItemValueArray(dest: any, src: any, names?: any): void;
|
|
2770
|
+
apply(): boolean;
|
|
2771
|
+
protected convertItemValuesToText(): string;
|
|
2772
|
+
}
|
|
2736
2773
|
export declare class PropertyGridCellsEditor extends PropertyGridValueEditorBase {
|
|
2737
2774
|
constructor();
|
|
2738
2775
|
fit(prop: JsonObjectProperty): boolean;
|
|
@@ -2751,6 +2788,11 @@ export declare class PropertyGridEditorHtml extends PropertyGridEditorStringBase
|
|
|
2751
2788
|
fit(prop: JsonObjectProperty): boolean;
|
|
2752
2789
|
getJSON(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): any;
|
|
2753
2790
|
}
|
|
2791
|
+
export declare class PropertyGridEditorImageSize extends PropertyGridEditorNumber {
|
|
2792
|
+
constructor();
|
|
2793
|
+
fit(prop: JsonObjectProperty): boolean;
|
|
2794
|
+
onCreated(obj: Base, question: Question, prop: JsonObjectProperty): void;
|
|
2795
|
+
}
|
|
2754
2796
|
export declare class PropertyGridEditorMatrixCalculatedValues extends PropertyGridEditorMatrix {
|
|
2755
2797
|
constructor();
|
|
2756
2798
|
fit(prop: JsonObjectProperty): boolean;
|
|
@@ -2768,7 +2810,7 @@ export declare class PropertyGridEditorMatrixColumns extends PropertyGridEditorM
|
|
|
2768
2810
|
protected getKeyValue(): string;
|
|
2769
2811
|
protected getBaseValue(prop: JsonObjectProperty): string;
|
|
2770
2812
|
protected getMaximumRowCount(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): number;
|
|
2771
|
-
protected getAllowRowDragDrop(): boolean;
|
|
2813
|
+
protected getAllowRowDragDrop(prop: JsonObjectProperty): boolean;
|
|
2772
2814
|
}
|
|
2773
2815
|
export declare class PropertyGridEditorMatrixHtmlConditions extends PropertyGridEditorMatrix {
|
|
2774
2816
|
constructor();
|
|
@@ -2780,7 +2822,7 @@ export declare class PropertyGridEditorMatrixItemValues extends PropertyGridEdit
|
|
|
2780
2822
|
constructor();
|
|
2781
2823
|
fit(prop: JsonObjectProperty): boolean;
|
|
2782
2824
|
isPropertyEditorSetupEnabled(obj: Base, prop: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions): boolean;
|
|
2783
|
-
protected getAllowRowDragDrop(): boolean;
|
|
2825
|
+
protected getAllowRowDragDrop(prop: JsonObjectProperty): boolean;
|
|
2784
2826
|
createPropertyEditorSetup(obj: Base, prop: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions): IPropertyEditorSetup;
|
|
2785
2827
|
canClearPropertyValue(obj: Base, prop: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions): boolean;
|
|
2786
2828
|
clearPropertyValue(obj: Base, prop: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions): void;
|
|
@@ -2806,6 +2848,9 @@ export declare class PropertyGridEditorMatrixMutlipleTextItems extends PropertyG
|
|
|
2806
2848
|
protected getDefaulColumnNames(): Array<any>;
|
|
2807
2849
|
protected getKeyValue(): string;
|
|
2808
2850
|
protected getBaseValue(prop: JsonObjectProperty): string;
|
|
2851
|
+
protected getAllowRowDragDrop(): boolean;
|
|
2852
|
+
createPropertyEditorSetup(obj: Base, prop: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions): IPropertyEditorSetup;
|
|
2853
|
+
onMatrixCellCreated(obj: Base, options: any): void;
|
|
2809
2854
|
}
|
|
2810
2855
|
export declare class PropertyGridEditorMatrixPages extends PropertyGridEditorMatrix {
|
|
2811
2856
|
constructor();
|
|
@@ -2816,7 +2861,7 @@ export declare class PropertyGridEditorMatrixPages extends PropertyGridEditorMat
|
|
|
2816
2861
|
protected hasDetailPanel(): boolean;
|
|
2817
2862
|
protected getKeyValue(): string;
|
|
2818
2863
|
protected getBaseValue(prop: JsonObjectProperty): string;
|
|
2819
|
-
protected getAllowRowDragDrop(): boolean;
|
|
2864
|
+
protected getAllowRowDragDrop(prop: JsonObjectProperty): boolean;
|
|
2820
2865
|
}
|
|
2821
2866
|
export declare class PropertyGridEditorMatrixUrlConditions extends PropertyGridEditorMatrix {
|
|
2822
2867
|
constructor();
|
|
@@ -2905,6 +2950,7 @@ export declare class PropertyGridEditorMatrixTriggers extends PropertyGridEditor
|
|
|
2905
2950
|
fit(prop: JsonObjectProperty): boolean;
|
|
2906
2951
|
protected getObjTypeName(): string;
|
|
2907
2952
|
protected getDefaultClassName(prop: JsonObjectProperty): string;
|
|
2953
|
+
protected getAllowRowDragDrop(prop: JsonObjectProperty): boolean;
|
|
2908
2954
|
protected getChoices(obj: Base): Array<any>;
|
|
2909
2955
|
}
|
|
2910
2956
|
export declare class PropertyGridEditorMatrixValidators extends PropertyGridEditorMatrixMultipleTypes {
|
|
@@ -2994,6 +3040,8 @@ export declare var settings: {
|
|
|
2994
3040
|
logic: {
|
|
2995
3041
|
visibleActions: any,
|
|
2996
3042
|
logicItemTitleMaxChars: number,
|
|
3043
|
+
openBracket: string,
|
|
3044
|
+
closeBracket: string,
|
|
2997
3045
|
},
|
|
2998
3046
|
/*
|
|
2999
3047
|
* Determines which types of questions the conversion will be available for.
|
|
@@ -4158,5 +4206,6 @@ export declare var logicCss: {
|
|
|
4158
4206
|
};
|
|
4159
4207
|
export declare var initialSettingsAllowShowEmptyTitleInDesignMode: boolean;
|
|
4160
4208
|
export declare var editableStringRendererName: any;
|
|
4161
|
-
export declare var svgBundle:
|
|
4209
|
+
export declare var svgBundle: any;
|
|
4210
|
+
export declare var path: any;
|
|
4162
4211
|
export declare var Version: string;
|