survey-creator-core 1.9.47 → 1.9.49
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 +16 -16
- package/survey-creator-core.d.ts +75 -59
- package/survey-creator-core.i18n.js +1 -1
- package/survey-creator-core.i18n.min.js +1 -1
- package/survey-creator-core.js +280 -152
- package/survey-creator-core.min.css +4 -4
- package/survey-creator-core.min.js +2 -2
package/survey-creator-core.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Type definition for Survey Creatorlibrary. Platform independent (core) v1.9.
|
|
2
|
+
* Type definition for Survey Creatorlibrary. Platform independent (core) v1.9.49
|
|
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, SurveyModel, ItemValue } from "survey-core";
|
|
7
7
|
import { MatrixDropdownColumn, IAction, Action, ActionContainer, DragDropSurveyElements } from "survey-core";
|
|
8
8
|
import { DragDropChoices, Event, AdaptiveActionContainer, PageModel, IElement } from "survey-core";
|
|
9
|
-
import { IPanel, ISurveyElement, SurveyElement, QuestionSelectBase,
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
9
|
+
import { IPanel, ISurveyElement, SurveyElement, QuestionSelectBase, Operand } from "survey-core";
|
|
10
|
+
import { DragOrClickHelper, PanelModel, QuestionDropdownModel, ListModel, PopupModel } from "survey-core";
|
|
11
|
+
import { EventBase, PanelModelBase, QuestionNonValue, SurveyTemplateRendererTemplateData, QuestionRatingModel } from "survey-core";
|
|
12
|
+
import { QuestionRowModel, LocalizableString, ComputedUpdater, QuestionCheckboxModel, ILocalizableString } from "survey-core";
|
|
13
13
|
import { ArrayChanges, ImageItemValue, HashTable, QuestionMatrixDynamicModel, QuestionMatrixModel } from "survey-core";
|
|
14
14
|
import { QuestionMatrixDropdownModel, QuestionPanelDynamicModel, QuestionCommentModel, MatrixDynamicRowModel } from "survey-core";
|
|
15
15
|
|
|
@@ -42,7 +42,7 @@ export interface ISurveyCreatorOptions {
|
|
|
42
42
|
maximumChoicesCount: number;
|
|
43
43
|
maximumRowsCount: number;
|
|
44
44
|
maximumRateValues: number;
|
|
45
|
-
getObjectDisplayName(obj: Base, reason: string, displayName: string): string;
|
|
45
|
+
getObjectDisplayName(obj: Base, area: string, reason: string, displayName: string): string;
|
|
46
46
|
onCanShowPropertyCallback(object: any, property: JsonObjectProperty, showMode: string, parentObj: any, parentProperty: JsonObjectProperty): boolean;
|
|
47
47
|
onPropertyEditorCreatedCallback(object: any, property: JsonObjectProperty, editor: Question): any;
|
|
48
48
|
onPropertyGridSurveyCreatedCallback(object: any, survey: SurveyModel): any;
|
|
@@ -60,7 +60,7 @@ export interface ISurveyCreatorOptions {
|
|
|
60
60
|
startUndoRedoTransaction(): any;
|
|
61
61
|
stopUndoRedoTransaction(): any;
|
|
62
62
|
createSurvey(json: any, reason: string, surveyType?: any): any;
|
|
63
|
-
onConditionQuestionsGetListCallback(propertyName: string, obj: Base, editor: any, list: any):
|
|
63
|
+
onConditionQuestionsGetListCallback(propertyName: string, obj: Base, editor: any, list: any): string;
|
|
64
64
|
onConditionGetTitleCallback(expression: string, title: string): string;
|
|
65
65
|
onLogicGetTitleCallback(expression: string, displayExpression: string, text: string, logicItem: any): string;
|
|
66
66
|
}
|
|
@@ -340,7 +340,7 @@ export interface ICreatorSelectionOwner {
|
|
|
340
340
|
survey: SurveyModel;
|
|
341
341
|
selectElement(el: Base, propertyName?: string): any;
|
|
342
342
|
selectedElement: Base;
|
|
343
|
-
getObjectDisplayName(el: Base): string;
|
|
343
|
+
getObjectDisplayName(el: Base, area: string): string;
|
|
344
344
|
}
|
|
345
345
|
export interface ISelectionHistoryItem {
|
|
346
346
|
obj: Base;
|
|
@@ -399,6 +399,7 @@ export interface IPropertyGridEditor {
|
|
|
399
399
|
getJSON(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): any;
|
|
400
400
|
showModalPropertyEditor?: (editor: IPropertyGridEditor, property: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions) => any;
|
|
401
401
|
onCreated?: (obj: Base, question: Question, prop: JsonObjectProperty, options: ISurveyCreatorOptions) => void;
|
|
402
|
+
validateValue?: (obj: Base, question: Question, prop: JsonObjectProperty, val: any) => string;
|
|
402
403
|
onAfterRenderQuestion?: (obj: Base, prop: JsonObjectProperty, evtOptions: any) => void;
|
|
403
404
|
createPropertyEditorSetup?: (obj: Base, prop: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions) => IPropertyEditorSetup;
|
|
404
405
|
isPropertyEditorSetupEnabled?: (obj: Base, prop: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions) => boolean;
|
|
@@ -457,8 +458,6 @@ export interface ICreatorPlugin {
|
|
|
457
458
|
export interface ICreatorAction extends IAction {
|
|
458
459
|
locTitleName?: string;
|
|
459
460
|
locTooltipName?: string;
|
|
460
|
-
onUpdateTitle?: any;
|
|
461
|
-
onUpdateTooltip?: any;
|
|
462
461
|
}
|
|
463
462
|
export interface ITabbedMenuItem extends ICreatorAction {
|
|
464
463
|
componentContent: string;
|
|
@@ -492,8 +491,6 @@ export declare class CreatorAction extends Action implements ICreatorAction {
|
|
|
492
491
|
constructor(item: ICreatorAction);
|
|
493
492
|
locTitleName: string;
|
|
494
493
|
locTooltipName: string;
|
|
495
|
-
onUpdateTitle: any;
|
|
496
|
-
onUpdateTooltip: any;
|
|
497
494
|
updateTitle(): void;
|
|
498
495
|
}
|
|
499
496
|
/*
|
|
@@ -653,21 +650,35 @@ export declare class CreatorBase extends Base implements ISurveyCreatorOptions,
|
|
|
653
650
|
*/
|
|
654
651
|
onSurveyInstanceCreated: Event<(sender: CreatorBase, options: any) => any, any>;
|
|
655
652
|
/*
|
|
656
|
-
*
|
|
657
|
-
*
|
|
658
|
-
*
|
|
659
|
-
*
|
|
660
|
-
* - options.reason the name of the UI that requests the object display name.
|
|
661
|
-
* - options.displayName change this property to show your custom display name for the object
|
|
653
|
+
* An event that is raised when Survey Creator obtains a survey element name to display it in the UI.
|
|
654
|
+
*
|
|
655
|
+
* Handle this event to replace survey element names in the UI with custom display texts.
|
|
656
|
+
* If you only want to replace the names with survey element titles, enable the [`showObjectTitles`](https://surveyjs.io/survey-creator/documentation/surveycreator#showObjectTitles) property instead of handling this event.
|
|
662
657
|
*
|
|
663
|
-
* The
|
|
664
|
-
*
|
|
665
|
-
* -
|
|
666
|
-
* -
|
|
667
|
-
* -
|
|
668
|
-
*
|
|
669
|
-
*
|
|
670
|
-
*
|
|
658
|
+
* The event handler accepts the following arguments:
|
|
659
|
+
*
|
|
660
|
+
* - `sender`- A Survey Creator instance that raised the event.
|
|
661
|
+
* - `options.obj` - The instance of a survey element (survey, page, question, or panel) whose name has been requested.
|
|
662
|
+
* - `options.area` - A Survey Creator UI element that requests the display name.
|
|
663
|
+
* - `"page-selector"` - Page selector on the design surface
|
|
664
|
+
* - `"condition-editor"` - Condition pop-up window or drop-down menus that allow users to select questions in the Logic tab
|
|
665
|
+
* - `"logic-tab:question-filter"` - Question filter in the Logic tab
|
|
666
|
+
* - `"logic-tab:question-selector"` - Question selector on editing actions in the Logic tab
|
|
667
|
+
* - `"preview-tab:page-list"` - Page list in the Preview tab
|
|
668
|
+
* - `"preview-tab:selected-page"` - Selected page name in the Preview tab
|
|
669
|
+
* - `"property-grid:property-editor"` - Property editors in the Property Grid
|
|
670
|
+
* - `"property-grid-header:element-list"` - Survey element list in the header of the Property Grid
|
|
671
|
+
* - `"property-grid-header:selected-element"` - Selected survey element in the header of the Property Grid
|
|
672
|
+
* - `"translation-tab"` - Translation tab
|
|
673
|
+
* - `options.displayName` - Modify this property to set a custom display text for the survey element.
|
|
674
|
+
* - `options.reason` - Obsolete. Use the `options.area` property instead.
|
|
675
|
+
* - `"condition"` - Use the `"condition-editor"` value of `options.area` instead.
|
|
676
|
+
* - `"survey-tester"` - Use the `"preview-tab:page-list"` value of `options.area` instead.
|
|
677
|
+
* - `"survey-tester-selected"` - Use the `"preview-tab:selected-page"` value of `options.area` instead.
|
|
678
|
+
* - `"survey-translation"` - Use the `"translation-tab"` value of `options.area` instead.
|
|
679
|
+
* - `"property-editor"` - Use the `"property-grid:property-editor"` value of `options.area` instead.
|
|
680
|
+
* - `"property-grid"` - Use the `"property-grid-header:element-list"` value of `options.area` instead.
|
|
681
|
+
* - `"property-grid-title"` - Use the `"property-grid-header:selected-element"` value of `options.area` instead.
|
|
671
682
|
*/
|
|
672
683
|
onGetObjectDisplayName: Event<(sender: CreatorBase, options: any) => any, any>;
|
|
673
684
|
/*
|
|
@@ -855,6 +866,7 @@ export declare class CreatorBase extends Base implements ISurveyCreatorOptions,
|
|
|
855
866
|
* - options.propertyName the name of the edited property.
|
|
856
867
|
* - options.editor the instance of Property Editor.
|
|
857
868
|
* - options.list the list of the questions available for condition
|
|
869
|
+
* - options.sortOrder "asc" (default) | "none". Change it to "none", if you don't want to sort your condition list
|
|
858
870
|
*/
|
|
859
871
|
onConditionQuestionsGetList: Event<(sender: CreatorBase, options: any) => any, any>;
|
|
860
872
|
/*
|
|
@@ -929,6 +941,7 @@ export declare class CreatorBase extends Base implements ISurveyCreatorOptions,
|
|
|
929
941
|
* - sender the survey creator object that fires the event
|
|
930
942
|
* - options.question a new added survey question. Survey.Question object
|
|
931
943
|
* - options.page the survey Page object where question has been added.
|
|
944
|
+
* - options.reason how question has been added via UI: ADDED_FROM_TOOLBOX, ADDED_FROM_PAGEBUTTON, ELEMENT_COPIED.
|
|
932
945
|
*/
|
|
933
946
|
onQuestionAdded: Event<(sender: CreatorBase, options: any) => any, any>;
|
|
934
947
|
/*
|
|
@@ -1237,6 +1250,7 @@ export declare class CreatorBase extends Base implements ISurveyCreatorOptions,
|
|
|
1237
1250
|
* The event is called when creator active tab is changed.
|
|
1238
1251
|
* - sender the survey creator object that fires the event
|
|
1239
1252
|
* - options.tabName the name of new active tab
|
|
1253
|
+
* - options.model the instance of the model of the new active tab
|
|
1240
1254
|
*/
|
|
1241
1255
|
onActiveTabChanged: Event<(sender: CreatorBase, options: any) => any, any>;
|
|
1242
1256
|
/*
|
|
@@ -1326,6 +1340,11 @@ export declare class CreatorBase extends Base implements ISurveyCreatorOptions,
|
|
|
1326
1340
|
*/
|
|
1327
1341
|
get survey(): SurveyModel;
|
|
1328
1342
|
existingPages: any;
|
|
1343
|
+
isInitialSurveyEmptyValue: boolean;
|
|
1344
|
+
/*
|
|
1345
|
+
* Returns true if initial survey was empty. It was not set via JSON property and default new survey is empty as well.
|
|
1346
|
+
*/
|
|
1347
|
+
get isInitialSurveyEmpty(): boolean;
|
|
1329
1348
|
protected initSurveyWithJSON(json: any, clearState: boolean): void;
|
|
1330
1349
|
protected initDragDrop(): void;
|
|
1331
1350
|
onBeforeDrop: Event<() => any, any>;
|
|
@@ -1337,6 +1356,7 @@ export declare class CreatorBase extends Base implements ISurveyCreatorOptions,
|
|
|
1337
1356
|
protected createSurveyLogicForUpdate(): SurveyLogic;
|
|
1338
1357
|
isObjQuestion(obj: Base): boolean;
|
|
1339
1358
|
isObjPage(obj: Base): boolean;
|
|
1359
|
+
addNewElementReason: string;
|
|
1340
1360
|
protected setSurvey(survey: SurveyModel): void;
|
|
1341
1361
|
protected setTextValue(value: string): void;
|
|
1342
1362
|
/*
|
|
@@ -1349,7 +1369,7 @@ export declare class CreatorBase extends Base implements ISurveyCreatorOptions,
|
|
|
1349
1369
|
get text(): string;
|
|
1350
1370
|
set text(val: string);
|
|
1351
1371
|
getSurveyJSON(): any;
|
|
1352
|
-
getObjectDisplayName(obj: Base, reason?: string, displayName?: string): string;
|
|
1372
|
+
getObjectDisplayName(obj: Base, area: string, reason?: string, displayName?: string): string;
|
|
1353
1373
|
createSurvey(json?: any, reason?: string): SurveyModel;
|
|
1354
1374
|
protected createSurveyCore(json: any, reason: string): SurveyModel;
|
|
1355
1375
|
_stateValue: string;
|
|
@@ -1439,7 +1459,7 @@ export declare class CreatorBase extends Base implements ISurveyCreatorOptions,
|
|
|
1439
1459
|
* Returns true if selected element is null or there is no errors.
|
|
1440
1460
|
*/
|
|
1441
1461
|
validateSelectedElement(): boolean;
|
|
1442
|
-
clickToolboxItem(newElement: any, panel?: IPanel): void;
|
|
1462
|
+
clickToolboxItem(newElement: any, panel?: IPanel, modifiedType?: string): void;
|
|
1443
1463
|
getJSONForNewElement(json: any): any;
|
|
1444
1464
|
/*
|
|
1445
1465
|
* Open file chooser dialog
|
|
@@ -1476,7 +1496,7 @@ export declare class CreatorBase extends Base implements ISurveyCreatorOptions,
|
|
|
1476
1496
|
onGetErrorTextOnValidationCallback(propertyName: string, obj: Base, value: any): string;
|
|
1477
1497
|
onValueChangingCallback(options: any): void;
|
|
1478
1498
|
onGetElementEditorTitleCallback(obj: Base, title: string): string;
|
|
1479
|
-
onConditionQuestionsGetListCallback(propertyName: string, obj: Base, editor: any, list: any):
|
|
1499
|
+
onConditionQuestionsGetListCallback(propertyName: string, obj: Base, editor: any, list: any): string;
|
|
1480
1500
|
onConditionGetTitleCallback(expression: string, title: string): string;
|
|
1481
1501
|
onLogicGetTitleCallback(expression: string, expressionText: string, text: string, logicItem: any): string;
|
|
1482
1502
|
/*
|
|
@@ -1536,20 +1556,6 @@ export declare class DescriptionMardownParser {
|
|
|
1536
1556
|
static linkRegEx: any;
|
|
1537
1557
|
parse(text: string): string;
|
|
1538
1558
|
}
|
|
1539
|
-
export declare class DesignTimeSurveyModel extends SurveyModel {
|
|
1540
|
-
constructor(creator: CreatorBase, jsonObj?: any);
|
|
1541
|
-
creator: CreatorBase;
|
|
1542
|
-
isPopupEditorContent: boolean;
|
|
1543
|
-
getElementWrapperComponentName(element: any, reason?: string): string;
|
|
1544
|
-
getQuestionContentWrapperComponentName(element: any, reason?: string): string;
|
|
1545
|
-
getElementWrapperComponentData(element: any, reason?: string): any;
|
|
1546
|
-
getRowWrapperComponentName(row: QuestionRowModel): string;
|
|
1547
|
-
getRowWrapperComponentData(row: QuestionRowModel): any;
|
|
1548
|
-
getItemValueWrapperComponentName(item: ItemValue, question: QuestionSelectBase): string;
|
|
1549
|
-
getItemValueWrapperComponentData(item: ItemValue, question: QuestionSelectBase): any;
|
|
1550
|
-
getRendererForString(element: Base, name: string): string;
|
|
1551
|
-
getRendererContextForString(element: Base, locStr: LocalizableString): any;
|
|
1552
|
-
}
|
|
1553
1559
|
export declare class EditableObject {
|
|
1554
1560
|
constructor(obj: Base);
|
|
1555
1561
|
static isCopyObject(obj: any): boolean;
|
|
@@ -1700,7 +1706,7 @@ export declare class Notifier extends Base {
|
|
|
1700
1706
|
notify(message: string, type?: "info" | "error"): void;
|
|
1701
1707
|
}
|
|
1702
1708
|
export declare class ObjectSelector {
|
|
1703
|
-
constructor(creator: CreatorBase, survey: SurveyModel, getObjectDisplayName?: (obj: Base, reason: string, displayName: string) => string);
|
|
1709
|
+
constructor(creator: CreatorBase, survey: SurveyModel, getObjectDisplayName?: (obj: Base, area: string, reason: string, displayName: string) => string);
|
|
1704
1710
|
surveyValue: SurveyModel;
|
|
1705
1711
|
deepestLevel: number;
|
|
1706
1712
|
filteredTextInLow: string;
|
|
@@ -1719,7 +1725,7 @@ export declare class ObjectSelectorItem extends Action {
|
|
|
1719
1725
|
hasText(filteredTextInLow: string): boolean;
|
|
1720
1726
|
}
|
|
1721
1727
|
export declare class ObjectSelectorModel extends Base {
|
|
1722
|
-
constructor(creator: CreatorBase, getObjectDisplayName?: (obj: Base, reason: string, displayName: string) => string);
|
|
1728
|
+
constructor(creator: CreatorBase, getObjectDisplayName?: (obj: Base, area: string, reason: string, displayName: string) => string);
|
|
1723
1729
|
selector: ObjectSelector;
|
|
1724
1730
|
listModelValue: ListModel;
|
|
1725
1731
|
isVisible: boolean;
|
|
@@ -1824,7 +1830,9 @@ export declare class QuestionConverter {
|
|
|
1824
1830
|
}
|
|
1825
1831
|
export declare class QuestionEmbeddedSurveyModel extends QuestionNonValue {
|
|
1826
1832
|
constructor(name: string);
|
|
1827
|
-
|
|
1833
|
+
embeddedSurveyValue: SurveyModel;
|
|
1834
|
+
onEmbeddedSurveyValueChanged: any;
|
|
1835
|
+
get embeddedSurvey(): SurveyModel;
|
|
1828
1836
|
getType(): string;
|
|
1829
1837
|
}
|
|
1830
1838
|
export declare class QuestionLinkValueModel extends Question {
|
|
@@ -2098,12 +2106,15 @@ export declare class StringEditorViewModelBase extends Base {
|
|
|
2098
2106
|
errorText: string;
|
|
2099
2107
|
focused: boolean;
|
|
2100
2108
|
editAsText: boolean;
|
|
2109
|
+
compostionInProgress: boolean;
|
|
2101
2110
|
setLocString(locString: LocalizableString): void;
|
|
2102
2111
|
checkConstraints(event: any): void;
|
|
2103
2112
|
blurEditor: any;
|
|
2104
2113
|
onClick(event: any): void;
|
|
2105
2114
|
onFocus(event: any): void;
|
|
2115
|
+
onCompositionStart(event: any): void;
|
|
2106
2116
|
onInput(event: any): void;
|
|
2117
|
+
onCompositionEnd(event: any): void;
|
|
2107
2118
|
onBlur(event: any): void;
|
|
2108
2119
|
done(event: any): void;
|
|
2109
2120
|
onKeyDown(event: any): boolean;
|
|
@@ -2604,7 +2615,7 @@ export declare class Translation extends Base implements ITranslationLocales {
|
|
|
2604
2615
|
protected onPropertyValueChanged(name: string, oldValue: any, newValue: any): void;
|
|
2605
2616
|
get survey(): SurveyModel;
|
|
2606
2617
|
set survey(val: SurveyModel);
|
|
2607
|
-
reset(): void;
|
|
2618
|
+
reset(resetSelectedLocales?: boolean): void;
|
|
2608
2619
|
canShowProperty(obj: Base, prop: JsonObjectProperty, isEmpty: boolean): boolean;
|
|
2609
2620
|
get defaultLocale(): string;
|
|
2610
2621
|
getLocaleName(loc: string): string;
|
|
@@ -2726,7 +2737,7 @@ export declare class EmptySurveyCreatorOptions implements ISurveyCreatorOptions
|
|
|
2726
2737
|
maximumChoicesCount: number;
|
|
2727
2738
|
maximumRowsCount: number;
|
|
2728
2739
|
maximumRateValues: number;
|
|
2729
|
-
getObjectDisplayName(obj: Base, reason: string, displayName: string): string;
|
|
2740
|
+
getObjectDisplayName(obj: Base, area: string, reason: string, displayName: string): string;
|
|
2730
2741
|
onCanShowPropertyCallback(object: any, property: JsonObjectProperty, showMode: string, parentObj: any, parentProperty: JsonObjectProperty): boolean;
|
|
2731
2742
|
onPropertyGridSurveyCreatedCallback(object: any, survey: SurveyModel): void;
|
|
2732
2743
|
onPropertyEditorCreatedCallback(object: any, property: JsonObjectProperty, editor: Question): void;
|
|
@@ -2744,7 +2755,7 @@ export declare class EmptySurveyCreatorOptions implements ISurveyCreatorOptions
|
|
|
2744
2755
|
startUndoRedoTransaction(): void;
|
|
2745
2756
|
stopUndoRedoTransaction(): void;
|
|
2746
2757
|
createSurvey(json: any, reason: string, surveyType?: any): SurveyModel;
|
|
2747
|
-
onConditionQuestionsGetListCallback(propertyName: string, obj: Base, editor: any, list: any):
|
|
2758
|
+
onConditionQuestionsGetListCallback(propertyName: string, obj: Base, editor: any, list: any): string;
|
|
2748
2759
|
onConditionGetTitleCallback(expression: string, title: string): string;
|
|
2749
2760
|
onLogicGetTitleCallback(expression: string, displayExpression: string, text: string, logicItem: any): string;
|
|
2750
2761
|
}
|
|
@@ -2987,7 +2998,7 @@ export declare class TabTranslationPlugin implements ICreatorPlugin {
|
|
|
2987
2998
|
get showAllPagesText(): string;
|
|
2988
2999
|
get exportToCSVText(): string;
|
|
2989
3000
|
get importFromCSVText(): string;
|
|
2990
|
-
createActions():
|
|
3001
|
+
createActions(): Array<Action>;
|
|
2991
3002
|
}
|
|
2992
3003
|
export declare class TabbedMenuItem extends CreatorAction implements ITabbedMenuItem {
|
|
2993
3004
|
constructor(item: ITabbedMenuItem);
|
|
@@ -3528,12 +3539,14 @@ export declare function capitalize(str: string): string;
|
|
|
3528
3539
|
export declare function getLocString(strName: string, locale?: string): string;
|
|
3529
3540
|
export declare function updateLogicExpression(expression: string, varName: string, oldValue: any, newValue: any): string;
|
|
3530
3541
|
export declare function getLogicString(name: string): string;
|
|
3542
|
+
export declare function initLogicOperator(question: QuestionDropdownModel): void;
|
|
3531
3543
|
export declare function parsePropertyDescription(text: string): string;
|
|
3532
3544
|
export declare function setSurveyJSONForPropertyGrid(json: any, updateOnTyping?: boolean, titleLocationLeft?: boolean): void;
|
|
3533
3545
|
export declare function findAction(actions: any, id: string): IAction;
|
|
3534
3546
|
export declare function updateMatrixLogicExpandAction(question: QuestionMatrixDynamicModel, actions: any, row: MatrixDynamicRowModel): void;
|
|
3535
3547
|
export declare function updateMatrixLogicRemoveAction(question: QuestionMatrixDynamicModel, actions: any, row: MatrixDynamicRowModel): void;
|
|
3536
3548
|
export declare function updateMatrixRemoveAction(question: QuestionMatrixDynamicModel, actions: any, row: MatrixDynamicRowModel): void;
|
|
3549
|
+
export declare function initializeDesignTimeSurveyModel(model: any, creator: CreatorBase): void;
|
|
3537
3550
|
export declare function getElementWrapperComponentName(element: any, reason: string, isPopupEditorContent: boolean): string;
|
|
3538
3551
|
export declare function getQuestionContentWrapperComponentName(element: any): string;
|
|
3539
3552
|
export declare function getElementWrapperComponentData(element: any, reason: string, creator: CreatorBase): any;
|
|
@@ -3608,6 +3621,7 @@ export declare var settings: {
|
|
|
3608
3621
|
maximumRowsCount: number,
|
|
3609
3622
|
maximumRateValues: number,
|
|
3610
3623
|
generalTabName: string,
|
|
3624
|
+
defaultExpandedTabName: string,
|
|
3611
3625
|
},
|
|
3612
3626
|
toolbox: {
|
|
3613
3627
|
/*
|
|
@@ -3809,17 +3823,17 @@ export declare var propertyGridCss: {
|
|
|
3809
3823
|
},
|
|
3810
3824
|
boolean: {
|
|
3811
3825
|
mainRoot: string,
|
|
3812
|
-
|
|
3813
|
-
|
|
3814
|
-
|
|
3815
|
-
|
|
3816
|
-
|
|
3826
|
+
rootCheckbox: string,
|
|
3827
|
+
checkboxItem: string,
|
|
3828
|
+
checkboxItemChecked: string,
|
|
3829
|
+
checkboxitemIndeterminate: string,
|
|
3830
|
+
checkboxItemDisabled: string,
|
|
3817
3831
|
svgIconId: string,
|
|
3832
|
+
checkboxLabel: string,
|
|
3818
3833
|
controlCheckbox: string,
|
|
3819
|
-
|
|
3820
|
-
|
|
3821
|
-
|
|
3822
|
-
materialDecorator: string,
|
|
3834
|
+
checkboxControlLabel: string,
|
|
3835
|
+
checkboxItemDecorator: string,
|
|
3836
|
+
checkboxMaterialDecorator: string,
|
|
3823
3837
|
},
|
|
3824
3838
|
text: {
|
|
3825
3839
|
root: string,
|
|
@@ -3837,6 +3851,7 @@ export declare var propertyGridCss: {
|
|
|
3837
3851
|
root: string,
|
|
3838
3852
|
small: string,
|
|
3839
3853
|
control: string,
|
|
3854
|
+
filterStringInput: string,
|
|
3840
3855
|
selectWrapper: string,
|
|
3841
3856
|
other: string,
|
|
3842
3857
|
onError: string,
|
|
@@ -4162,6 +4177,7 @@ export declare var PropertyGridEditorCollection: {
|
|
|
4162
4177
|
isEditorFit: (prop: JsonObjectProperty, asDefault?: boolean) => IPropertyGridEditor,
|
|
4163
4178
|
getJSON: (obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions, context?: string) => any,
|
|
4164
4179
|
onCreated: (obj: Base, question: Question, prop: JsonObjectProperty, options: ISurveyCreatorOptions) => any,
|
|
4180
|
+
validateValue: (obj: Base, question: Question, prop: JsonObjectProperty, value: any) => string,
|
|
4165
4181
|
onAfterRenderQuestion: (obj: Base, prop: JsonObjectProperty, evtOptions: any) => void,
|
|
4166
4182
|
onMatrixCellCreated: (obj: Base, prop: JsonObjectProperty, options: any) => void,
|
|
4167
4183
|
onMatrixCellValueChanged: (obj: Base, prop: JsonObjectProperty, options: any) => void,
|