survey-creator-core 1.9.24 → 1.9.27
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 +59 -75
- package/survey-creator-core.d.ts +121 -68
- package/survey-creator-core.i18n.js +268 -141
- package/survey-creator-core.i18n.min.js +2 -2
- package/survey-creator-core.js +973 -646
- package/survey-creator-core.min.css +6 -6
- package/survey-creator-core.min.js +2 -2
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.27
|
|
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, ActionContainer, DragDropSurveyElements
|
|
8
|
-
import { Event, AdaptiveActionContainer, PageModel, IElement
|
|
9
|
-
import {
|
|
7
|
+
import { IAction, SurveyModel, Action, ActionContainer, DragDropSurveyElements } from "survey-core";
|
|
8
|
+
import { DragDropChoices, Event, AdaptiveActionContainer, PageModel, IElement } from "survey-core";
|
|
9
|
+
import { IPanel, ISurveyElement, 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";
|
|
@@ -217,7 +217,13 @@ export interface ICreatorPlugin {
|
|
|
217
217
|
dispose?: any;
|
|
218
218
|
model: Base;
|
|
219
219
|
}
|
|
220
|
-
export interface
|
|
220
|
+
export interface ICreatorAction extends IAction {
|
|
221
|
+
locTitleName?: string;
|
|
222
|
+
locTooltipName?: string;
|
|
223
|
+
onUpdateTitle?: any;
|
|
224
|
+
onUpdateTooltip?: any;
|
|
225
|
+
}
|
|
226
|
+
export interface ITabbedMenuItem extends ICreatorAction {
|
|
221
227
|
componentContent: string;
|
|
222
228
|
renderTab?: any;
|
|
223
229
|
}
|
|
@@ -245,6 +251,14 @@ export declare class ConditionEditorItemsBuilder {
|
|
|
245
251
|
constructor(hasValue?: any);
|
|
246
252
|
build(text: string): Array<ConditionEditorItem>;
|
|
247
253
|
}
|
|
254
|
+
export declare class CreatorAction extends Action implements ICreatorAction {
|
|
255
|
+
constructor(item: ICreatorAction);
|
|
256
|
+
locTitleName: string;
|
|
257
|
+
locTooltipName: string;
|
|
258
|
+
onUpdateTitle: any;
|
|
259
|
+
onUpdateTooltip: any;
|
|
260
|
+
updateTitle(): void;
|
|
261
|
+
}
|
|
248
262
|
/*
|
|
249
263
|
* Base class for Survey Creator.
|
|
250
264
|
*/
|
|
@@ -394,6 +408,18 @@ export declare class CreatorBase extends Base implements ISurveyCreatorOptions,
|
|
|
394
408
|
*/
|
|
395
409
|
onGetObjectDisplayName: Event<(sender: CreatorBase, options: any) => any, any>;
|
|
396
410
|
/*
|
|
411
|
+
* This event is raised after a user has edited a text value on the design surface. This value may include HTML markup. You can handle the `onHtmlToMarkdown` event to convert the HTML markup to Markdown.
|
|
412
|
+
*
|
|
413
|
+
* The event handler accepts the following arguments:
|
|
414
|
+
*
|
|
415
|
+
* - `sender` - A Survey Creator instance that raised the event.
|
|
416
|
+
* - `options.element` - The instance of a survey element (survey, page, panel, question) that the user configures.
|
|
417
|
+
* - `options.name` - The name of a property whose value has been edited.
|
|
418
|
+
* - `options.html` - HTML content. Pass this field's value to an HTML-to-Markdown converter.
|
|
419
|
+
* - `options.text` - A text string that may contain Markdown. Assign the result of the HTML-to-Markdown conversion to this field.
|
|
420
|
+
*/
|
|
421
|
+
onHtmlToMarkdown: Event<(sender: CreatorBase, options: any) => any, any>;
|
|
422
|
+
/*
|
|
397
423
|
* Use this event to disable user interactions with a question or panel on the design surface.
|
|
398
424
|
*
|
|
399
425
|
* The event handler accepts the following arguments:
|
|
@@ -508,8 +534,8 @@ export declare class CreatorBase extends Base implements ISurveyCreatorOptions,
|
|
|
508
534
|
* <br/> options.editorOptions options that can be changed.
|
|
509
535
|
* <br/> options.editorOptions.allowAddRemoveItems a boolean property, true by default. Set it false to disable add/remove items in array properties. For example 'choices', 'columns', 'rows'.
|
|
510
536
|
* <br/> options.editorOptions.allowRemoveAllItems a boolean property, true by default. Set it false to disable remove all items in array properties. For example 'choices', 'columns', 'rows'.
|
|
511
|
-
* <br/> options.editorOptions.showTextView a boolean property, true by default. Set it false to disable "
|
|
512
|
-
* <br/> options.editorOptions.itemsEntryType a string property, 'form' by default. Set it 'fast' to show "
|
|
537
|
+
* <br/> options.editorOptions.showTextView a boolean property, true by default. Set it false to disable "Manual Entry" tab for "choices" property.
|
|
538
|
+
* <br/> options.editorOptions.itemsEntryType a string property, 'form' by default. Set it 'fast' to show "Manual Entry" tab for "choices" property by default.
|
|
513
539
|
*/
|
|
514
540
|
onSetPropertyEditorOptions: Event<(sender: CreatorBase, options: any) => any, any>;
|
|
515
541
|
/*
|
|
@@ -801,13 +827,19 @@ export declare class CreatorBase extends Base implements ISurveyCreatorOptions,
|
|
|
801
827
|
/*
|
|
802
828
|
* Returns the localized string by its id
|
|
803
829
|
*/
|
|
804
|
-
getLocString(str: string):
|
|
830
|
+
getLocString(str: string): string;
|
|
805
831
|
/*
|
|
806
832
|
* Set it to false to suppress an alert message about error on saving the survey into database.
|
|
807
833
|
*/
|
|
808
834
|
showErrorOnFailedSave: boolean;
|
|
809
835
|
protected onSetReadOnly(newVal: boolean): void;
|
|
810
836
|
/*
|
|
837
|
+
* Gets or sets the survey locale. The default value it is empty, this means the 'en' locale is used.
|
|
838
|
+
* You can set it to 'de' - German, 'fr' - French and so on.
|
|
839
|
+
*/
|
|
840
|
+
get locale(): string;
|
|
841
|
+
set locale(val: string);
|
|
842
|
+
/*
|
|
811
843
|
* A boolean property, false by default. Set it to true to deny editing.
|
|
812
844
|
*/
|
|
813
845
|
get readOnly(): boolean;
|
|
@@ -1113,6 +1145,13 @@ export declare class CreatorResponsivityManager {
|
|
|
1113
1145
|
process(): void;
|
|
1114
1146
|
dispose(): void;
|
|
1115
1147
|
}
|
|
1148
|
+
export declare class DescriptionMardownParser {
|
|
1149
|
+
static boldRegEx: any;
|
|
1150
|
+
static italicRegEx: any;
|
|
1151
|
+
static codeRegEx: any;
|
|
1152
|
+
static linkRegEx: any;
|
|
1153
|
+
parse(text: string): string;
|
|
1154
|
+
}
|
|
1116
1155
|
export declare class DesignTimeSurveyModel extends SurveyModel {
|
|
1117
1156
|
constructor(creator: CreatorBase, jsonObj?: any);
|
|
1118
1157
|
creator: CreatorBase;
|
|
@@ -1143,6 +1182,29 @@ export declare class EditableObject {
|
|
|
1143
1182
|
applyAll(excludedProps?: any): void;
|
|
1144
1183
|
protected createEditableObj(): Base;
|
|
1145
1184
|
}
|
|
1185
|
+
export declare class EditorLocalization {
|
|
1186
|
+
camelCaseBreaking: boolean;
|
|
1187
|
+
currentLocale: string;
|
|
1188
|
+
locales: any;
|
|
1189
|
+
peByClass: any;
|
|
1190
|
+
peHelpByClass: any;
|
|
1191
|
+
reset(): void;
|
|
1192
|
+
getString(strName: string, locale?: string): string;
|
|
1193
|
+
hasString(strName: string, locale?: string): boolean;
|
|
1194
|
+
getLocaleName(loc: string, defaultLocale?: string): string;
|
|
1195
|
+
getPropertyName(strName: string, defaultName?: string): string;
|
|
1196
|
+
getPropertyTitle(strName: string): string;
|
|
1197
|
+
getPropertyNameInEditor(typeName: string, propName: string, defaultName?: string): string;
|
|
1198
|
+
getPropertyHelpInEditor(typeName: string, propName: string, propType?: string): string;
|
|
1199
|
+
getProperty(strName: string, defaultName?: string): string;
|
|
1200
|
+
convertToCamelCase(value: string, toLowCase?: boolean): string;
|
|
1201
|
+
getPropertyValueInEditor(propName: string, value: any): string;
|
|
1202
|
+
getPropertyValue(value: any, locale?: string): string;
|
|
1203
|
+
getValidatorName(name: string, locale?: string): string;
|
|
1204
|
+
getTriggerName(name: string, locale?: string): string;
|
|
1205
|
+
getLocale(locale?: string): any;
|
|
1206
|
+
getLocales(): Array<any>;
|
|
1207
|
+
}
|
|
1146
1208
|
export declare class EmbedModel extends Base {
|
|
1147
1209
|
constructor(creator: CreatorBase);
|
|
1148
1210
|
survey: SurveyModel;
|
|
@@ -1183,8 +1245,8 @@ export declare class ItemValueWrapperViewModel extends Base {
|
|
|
1183
1245
|
add(model: ItemValueWrapperViewModel): void;
|
|
1184
1246
|
remove(model: ItemValueWrapperViewModel): void;
|
|
1185
1247
|
get allowRemove(): boolean;
|
|
1186
|
-
get tooltip():
|
|
1187
|
-
get dragTooltip():
|
|
1248
|
+
get tooltip(): string;
|
|
1249
|
+
get dragTooltip(): string;
|
|
1188
1250
|
get allowAdd(): boolean;
|
|
1189
1251
|
select(model: ItemValueWrapperViewModel, event: any): void;
|
|
1190
1252
|
}
|
|
@@ -1225,7 +1287,7 @@ export declare class LogoImageViewModel extends Base {
|
|
|
1225
1287
|
get survey(): SurveyModel;
|
|
1226
1288
|
chooseFile(model: LogoImageViewModel): void;
|
|
1227
1289
|
remove(model: LogoImageViewModel): void;
|
|
1228
|
-
get chooseLogoPlaceholder():
|
|
1290
|
+
get chooseLogoPlaceholder(): string;
|
|
1229
1291
|
}
|
|
1230
1292
|
export declare class MatrixCellWrapperViewModel extends Base {
|
|
1231
1293
|
constructor(creator: CreatorBase, templateData: any, question: Question, row: any, column: any);
|
|
@@ -1293,7 +1355,7 @@ export declare class PageNavigatorViewModel extends Base {
|
|
|
1293
1355
|
isPopupOpened: boolean;
|
|
1294
1356
|
protected createActionBarCore(item: IAction): Action;
|
|
1295
1357
|
togglePageSelector: any;
|
|
1296
|
-
get pageSelectorCaption():
|
|
1358
|
+
get pageSelectorCaption(): string;
|
|
1297
1359
|
onContainerScroll(viewPort: any): any;
|
|
1298
1360
|
currentPage: PageModel;
|
|
1299
1361
|
}
|
|
@@ -1315,14 +1377,6 @@ export declare class PagesController extends Base {
|
|
|
1315
1377
|
onSurveyChanged(): void;
|
|
1316
1378
|
dispose(): void;
|
|
1317
1379
|
}
|
|
1318
|
-
export declare class PropertiesHelpTexts {
|
|
1319
|
-
constructor();
|
|
1320
|
-
static instanceValue: PropertiesHelpTexts;
|
|
1321
|
-
static get instance(): PropertiesHelpTexts;
|
|
1322
|
-
locsCache: any;
|
|
1323
|
-
reset(): void;
|
|
1324
|
-
getHelpText(obj: Base, prop: JsonObjectProperty): string;
|
|
1325
|
-
}
|
|
1326
1380
|
export declare class PropertyGridModel {
|
|
1327
1381
|
constructor(obj?: Base, options?: ISurveyCreatorOptions);
|
|
1328
1382
|
surveyValue: SurveyModel;
|
|
@@ -1506,6 +1560,7 @@ export declare class QuestionToolbox extends AdaptiveActionContainer<QuestionToo
|
|
|
1506
1560
|
*/
|
|
1507
1561
|
get keepAllCategoriesExpanded(): boolean;
|
|
1508
1562
|
set keepAllCategoriesExpanded(val: boolean);
|
|
1563
|
+
updateTitles(): void;
|
|
1509
1564
|
/*
|
|
1510
1565
|
* Change the category of the toolbox item
|
|
1511
1566
|
*/
|
|
@@ -1636,6 +1691,7 @@ export declare class StringEditorViewModelBase extends Base {
|
|
|
1636
1691
|
valueBeforeEdit: string;
|
|
1637
1692
|
errorText: string;
|
|
1638
1693
|
focused: boolean;
|
|
1694
|
+
editAsText: boolean;
|
|
1639
1695
|
setLocString(locString: LocalizableString): void;
|
|
1640
1696
|
checkConstraints(event: any): void;
|
|
1641
1697
|
blurEditor: any;
|
|
@@ -1777,7 +1833,7 @@ export declare class SurveyLogic extends Base implements ISurveyLogicItemOwner {
|
|
|
1777
1833
|
*/
|
|
1778
1834
|
get mode(): string;
|
|
1779
1835
|
set mode(val: string);
|
|
1780
|
-
getLocString(name: string):
|
|
1836
|
+
getLocString(name: string): string;
|
|
1781
1837
|
getTypeByName(name: string): SurveyLogicType;
|
|
1782
1838
|
update(survey?: SurveyModel, options?: ISurveyCreatorOptions): void;
|
|
1783
1839
|
get optionsReadOnly(): boolean;
|
|
@@ -1827,7 +1883,7 @@ export declare class SurveyLogicAction {
|
|
|
1827
1883
|
get logicTypeDescription(): string;
|
|
1828
1884
|
get text(): string;
|
|
1829
1885
|
get deleteActionText(): string;
|
|
1830
|
-
getLocString(name: string):
|
|
1886
|
+
getLocString(name: string): string;
|
|
1831
1887
|
isSuitableByQuestionName(questionName: string): boolean;
|
|
1832
1888
|
isSuitableByLogicType(logicTypeName: string): boolean;
|
|
1833
1889
|
addQuestionNames(names: any): void;
|
|
@@ -1847,7 +1903,7 @@ export declare class SurveyLogicItem {
|
|
|
1847
1903
|
get name(): string;
|
|
1848
1904
|
get survey(): SurveyModel;
|
|
1849
1905
|
getVisibleLogicTypes(): Array<SurveyLogicType>;
|
|
1850
|
-
get expressionText():
|
|
1906
|
+
get expressionText(): string;
|
|
1851
1907
|
get actionsText(): any;
|
|
1852
1908
|
getDisplayText(): any;
|
|
1853
1909
|
edit(): void;
|
|
@@ -1958,12 +2014,12 @@ export declare class SurveyResultsModel extends Base {
|
|
|
1958
2014
|
resultViewType: string;
|
|
1959
2015
|
resultText: string;
|
|
1960
2016
|
resultData: any;
|
|
1961
|
-
getLocString(name: string):
|
|
1962
|
-
get surveyResultsText():
|
|
1963
|
-
get resultsTitle():
|
|
1964
|
-
get resultsName():
|
|
1965
|
-
get resultsValue():
|
|
1966
|
-
get resultsDisplayValue():
|
|
2017
|
+
getLocString(name: string): string;
|
|
2018
|
+
get surveyResultsText(): string;
|
|
2019
|
+
get resultsTitle(): string;
|
|
2020
|
+
get resultsName(): string;
|
|
2021
|
+
get resultsValue(): string;
|
|
2022
|
+
get resultsDisplayValue(): string;
|
|
1967
2023
|
get isTableSelected(): boolean;
|
|
1968
2024
|
get isJsonSelected(): boolean;
|
|
1969
2025
|
selectTableClick: any;
|
|
@@ -1978,6 +2034,14 @@ export declare class SurveySimulatorModel extends Base {
|
|
|
1978
2034
|
considerDPI: boolean;
|
|
1979
2035
|
simulatorEnabled: boolean;
|
|
1980
2036
|
simulatorScaleEnabled: boolean;
|
|
2037
|
+
currZoomScale: number;
|
|
2038
|
+
get zoomScale(): number;
|
|
2039
|
+
activateZoom: any;
|
|
2040
|
+
deactivateZoom: any;
|
|
2041
|
+
listenTryToZoomWithWheel: any;
|
|
2042
|
+
listenTryToZoom: any;
|
|
2043
|
+
tryToZoom(data: any, event: any): boolean;
|
|
2044
|
+
resetZoomParameters(): void;
|
|
1981
2045
|
get activeDevice(): string;
|
|
1982
2046
|
set activeDevice(val: string);
|
|
1983
2047
|
get landscapeOrientation(): boolean;
|
|
@@ -2022,11 +2086,6 @@ export declare class TabDesignerViewModel extends Base {
|
|
|
2022
2086
|
export declare class TabbedMenuContainer extends AdaptiveActionContainer<TabbedMenuItem> {
|
|
2023
2087
|
constructor();
|
|
2024
2088
|
}
|
|
2025
|
-
export declare class TabbedMenuItem extends Action implements ITabbedMenuItem {
|
|
2026
|
-
constructor(item: ITabbedMenuItem);
|
|
2027
|
-
componentContent: string;
|
|
2028
|
-
renderTab: any;
|
|
2029
|
-
}
|
|
2030
2089
|
export declare class TestSurveyTabViewModel extends Base {
|
|
2031
2090
|
constructor(surveyProvider: CreatorBase, startTheme?: any);
|
|
2032
2091
|
json: any;
|
|
@@ -2437,11 +2496,9 @@ export declare class TabJsonEditorBasePlugin implements ICreatorPlugin {
|
|
|
2437
2496
|
}
|
|
2438
2497
|
export declare class TabLogicPlugin implements ICreatorPlugin {
|
|
2439
2498
|
constructor(creator: CreatorBase);
|
|
2440
|
-
filterQuestionAction:
|
|
2441
|
-
filterActionTypeAction:
|
|
2442
|
-
fastEntryAction:
|
|
2443
|
-
showAllQuestionsText: any;
|
|
2444
|
-
showAllActionTypesText: any;
|
|
2499
|
+
filterQuestionAction: CreatorAction;
|
|
2500
|
+
filterActionTypeAction: CreatorAction;
|
|
2501
|
+
fastEntryAction: CreatorAction;
|
|
2445
2502
|
model: SurveyLogicUI;
|
|
2446
2503
|
activate(): void;
|
|
2447
2504
|
update(): void;
|
|
@@ -2487,7 +2544,7 @@ export declare class TabTranslationPlugin implements ICreatorPlugin {
|
|
|
2487
2544
|
activate(): void;
|
|
2488
2545
|
update(): void;
|
|
2489
2546
|
deactivate(): boolean;
|
|
2490
|
-
get selectLanguageOptionsCaption():
|
|
2547
|
+
get selectLanguageOptionsCaption(): string;
|
|
2491
2548
|
get showAllStringsText(): string;
|
|
2492
2549
|
get showUsedStringsOnlyText(): string;
|
|
2493
2550
|
get showAllPagesText(): string;
|
|
@@ -2495,6 +2552,11 @@ export declare class TabTranslationPlugin implements ICreatorPlugin {
|
|
|
2495
2552
|
get importFromCSVText(): string;
|
|
2496
2553
|
createActions(): any;
|
|
2497
2554
|
}
|
|
2555
|
+
export declare class TabbedMenuItem extends CreatorAction implements ITabbedMenuItem {
|
|
2556
|
+
constructor(item: ITabbedMenuItem);
|
|
2557
|
+
componentContent: string;
|
|
2558
|
+
renderTab: any;
|
|
2559
|
+
}
|
|
2498
2560
|
export declare class TextareaJsonEditorModel extends JsonEditorBaseModel {
|
|
2499
2561
|
constructor(creator: CreatorBase);
|
|
2500
2562
|
protected _text: string;
|
|
@@ -2529,7 +2591,7 @@ export declare class TranslationGroup extends TranslationItemBase {
|
|
|
2529
2591
|
get groups(): any;
|
|
2530
2592
|
get isGroup(): boolean;
|
|
2531
2593
|
get locales(): any;
|
|
2532
|
-
get removeLocaleText():
|
|
2594
|
+
get removeLocaleText(): string;
|
|
2533
2595
|
get localeCount(): number;
|
|
2534
2596
|
get locWidth(): string;
|
|
2535
2597
|
getLocaleName(loc: string): string;
|
|
@@ -2738,7 +2800,7 @@ export declare class PropertyGridEditorMatrix extends PropertyGridEditor {
|
|
|
2738
2800
|
getJSON(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): any;
|
|
2739
2801
|
protected getMatrixJSON(obj: Base, prop: JsonObjectProperty, propNames: any, options: ISurveyCreatorOptions): any;
|
|
2740
2802
|
protected getHideColumnsEmpty(prop: JsonObjectProperty): boolean;
|
|
2741
|
-
protected getEmptyRowsText(props: any):
|
|
2803
|
+
protected getEmptyRowsText(props: any): string;
|
|
2742
2804
|
protected getMaximumRowCount(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): number;
|
|
2743
2805
|
protected getColumnsJSON(obj: Base, prop: JsonObjectProperty, propNames: any, options: ISurveyCreatorOptions): any;
|
|
2744
2806
|
protected getEditItemAsStandAlone(): boolean;
|
|
@@ -2786,8 +2848,8 @@ export declare class QuestionRatingAdornerViewModel extends QuestionAdornerViewM
|
|
|
2786
2848
|
removeItem(model: QuestionRatingAdornerViewModel): void;
|
|
2787
2849
|
get allowAdd(): boolean;
|
|
2788
2850
|
get allowRemove(): boolean;
|
|
2789
|
-
get addTooltip():
|
|
2790
|
-
get removeTooltip():
|
|
2851
|
+
get addTooltip(): string;
|
|
2852
|
+
get removeTooltip(): string;
|
|
2791
2853
|
}
|
|
2792
2854
|
export declare class TabJsonEditorAcePlugin extends TabJsonEditorBasePlugin implements ICreatorPlugin {
|
|
2793
2855
|
constructor(creator: CreatorBase);
|
|
@@ -2871,7 +2933,7 @@ export declare class PropertyGridEditorMatrixItemValues extends PropertyGridEdit
|
|
|
2871
2933
|
protected getDefaulColumnNames(): Array<any>;
|
|
2872
2934
|
protected getKeyValue(): string;
|
|
2873
2935
|
protected getHideColumnsEmpty(prop: JsonObjectProperty): boolean;
|
|
2874
|
-
protected getEmptyRowsText(prop: any):
|
|
2936
|
+
protected getEmptyRowsText(prop: any): string;
|
|
2875
2937
|
protected getMaximumRowCount(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): number;
|
|
2876
2938
|
}
|
|
2877
2939
|
export declare class PropertyGridEditorMatrixMultipleTypes extends PropertyGridEditorMatrix {
|
|
@@ -3006,7 +3068,7 @@ export declare class PropertyGridTriggerValueInLogicEditor extends PropertyGridT
|
|
|
3006
3068
|
fit(prop: JsonObjectProperty, context?: string): boolean;
|
|
3007
3069
|
getJSON(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): any;
|
|
3008
3070
|
}
|
|
3009
|
-
export declare function getLocString(strName: string, locale?: string):
|
|
3071
|
+
export declare function getLocString(strName: string, locale?: string): string;
|
|
3010
3072
|
export declare function getNextValue(prefix: string, values: any): string | number;
|
|
3011
3073
|
export declare function findParentNode(className: string, sourceNode: any): any;
|
|
3012
3074
|
export declare function focusFirstControl(renderedElements: any): void;
|
|
@@ -3021,38 +3083,20 @@ export declare function copyObject(dst: any, src: any): void;
|
|
|
3021
3083
|
export declare function copyCssClasses(dest: any, source: any): void;
|
|
3022
3084
|
export declare function assignDefaultV2Classes(destination: any, questionType: string): void;
|
|
3023
3085
|
export declare function wrapTextByCurlyBraces(text: string): string;
|
|
3024
|
-
export declare function getLogicString(name: string):
|
|
3086
|
+
export declare function getLogicString(name: string): string;
|
|
3087
|
+
export declare function parsePropertyDescription(text: string): string;
|
|
3088
|
+
export declare function setSurveyJSONForPropertyGrid(json: any, updateOnTyping?: boolean, titleLocationLeft?: boolean): void;
|
|
3025
3089
|
export declare function findAction(actions: any, id: string): IAction;
|
|
3026
3090
|
export declare function updateMatrixLogicExpandAction(question: QuestionMatrixDynamicModel, actions: any, row: MatrixDynamicRowModel): void;
|
|
3027
3091
|
export declare function updateMatrixLogicRemoveAction(question: QuestionMatrixDynamicModel, actions: any, row: MatrixDynamicRowModel): void;
|
|
3028
3092
|
export declare function updateMatrixRemoveAction(question: QuestionMatrixDynamicModel, actions: any, row: MatrixDynamicRowModel): void;
|
|
3029
|
-
export declare function setSurveyJSONForPropertyGrid(json: any, updateOnTyping?: boolean, titleLocationLeft?: boolean): void;
|
|
3030
3093
|
export declare function getElementWrapperComponentName(element: any, reason: string, isPopupEditorContent: boolean): string;
|
|
3031
3094
|
export declare function getQuestionContentWrapperComponentName(element: any): string;
|
|
3032
3095
|
export declare function getElementWrapperComponentData(element: any, reason: string, creator: CreatorBase): any;
|
|
3033
3096
|
export declare function getItemValueWrapperComponentName(item: ItemValue, question: QuestionSelectBase): string;
|
|
3034
3097
|
export declare function getItemValueWrapperComponentData(item: ItemValue, question: QuestionSelectBase, creator: CreatorBase): any;
|
|
3035
3098
|
export declare function isStringEditable(element: any, name: string): boolean;
|
|
3036
|
-
export declare var editorLocalization:
|
|
3037
|
-
camelCaseBreaking: boolean,
|
|
3038
|
-
currentLocale: string,
|
|
3039
|
-
locales: any,
|
|
3040
|
-
getString: any,
|
|
3041
|
-
hasString: any,
|
|
3042
|
-
getLocaleName: any,
|
|
3043
|
-
getPropertyName: any,
|
|
3044
|
-
getPropertyTitle: any,
|
|
3045
|
-
getPropertyNameInEditor: any,
|
|
3046
|
-
getProperty: any,
|
|
3047
|
-
convertToCamelCase: any,
|
|
3048
|
-
getAutoPropertyName: any,
|
|
3049
|
-
getPropertyValue: any,
|
|
3050
|
-
getValidatorName: any,
|
|
3051
|
-
getTriggerName: any,
|
|
3052
|
-
getLocale: any,
|
|
3053
|
-
getValueInternal: any,
|
|
3054
|
-
getLocales: any,
|
|
3055
|
-
};
|
|
3099
|
+
export declare var editorLocalization: EditorLocalization;
|
|
3056
3100
|
export declare var defaultStrings: any;
|
|
3057
3101
|
export declare var settings: {
|
|
3058
3102
|
translation: {
|
|
@@ -3431,6 +3475,14 @@ export declare var propertyGridCss: {
|
|
|
3431
3475
|
buttonCollapsed: string,
|
|
3432
3476
|
},
|
|
3433
3477
|
},
|
|
3478
|
+
actionBar: {
|
|
3479
|
+
root: string,
|
|
3480
|
+
item: string,
|
|
3481
|
+
itemPressed: string,
|
|
3482
|
+
itemAsIcon: string,
|
|
3483
|
+
itemIcon: string,
|
|
3484
|
+
itemTitle: string,
|
|
3485
|
+
},
|
|
3434
3486
|
};
|
|
3435
3487
|
export declare var json: {
|
|
3436
3488
|
name: string,
|
|
@@ -4246,6 +4298,7 @@ export declare var logicCss: {
|
|
|
4246
4298
|
embeddedsurvey: {
|
|
4247
4299
|
mainRoot: string,
|
|
4248
4300
|
},
|
|
4301
|
+
actionBar: any,
|
|
4249
4302
|
};
|
|
4250
4303
|
export declare var initialSettingsAllowShowEmptyTitleInDesignMode: boolean;
|
|
4251
4304
|
export declare var editableStringRendererName: any;
|