survey-creator-react 1.9.4-beta.1 → 1.9.5-beta.1
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-react.css +62 -67
- package/survey-creator-react.d.ts +59 -57
- package/survey-creator-react.js +1049 -135
- package/survey-creator-react.min.css +60 -65
- package/survey-creator-react.min.js +29 -25
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Type definition for Survey Creator library for React v1.9.
|
|
3
|
-
* Copyright (c) 2015-
|
|
2
|
+
* Type definition for Survey Creator library for React v1.9.5-beta.1
|
|
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";
|
|
@@ -129,7 +129,7 @@ export interface ISurveyLogicItemOwner {
|
|
|
129
129
|
editItem(item: SurveyLogicItem): any;
|
|
130
130
|
removeItem(item: SurveyLogicItem): any;
|
|
131
131
|
getExpressionAsDisplayText(expression: string): string;
|
|
132
|
-
getVisibleLogicTypes():
|
|
132
|
+
getVisibleLogicTypes(): Array<SurveyLogicType>;
|
|
133
133
|
}
|
|
134
134
|
export interface ISurveyQuestionEditorDefinition {
|
|
135
135
|
title?: string;
|
|
@@ -359,7 +359,7 @@ export declare class ConditionEditorItem {
|
|
|
359
359
|
}
|
|
360
360
|
export declare class ConditionEditorItemsBuilder {
|
|
361
361
|
constructor(hasValue?: any);
|
|
362
|
-
build(text: string):
|
|
362
|
+
build(text: string): Array<ConditionEditorItem>;
|
|
363
363
|
}
|
|
364
364
|
/*
|
|
365
365
|
* Base class for Survey Creator.
|
|
@@ -414,7 +414,7 @@ export declare class CreatorBase<T extends SurveyModel = SurveyModel> {
|
|
|
414
414
|
* Setting this property true without having a commercial licence is illegal.
|
|
415
415
|
*/
|
|
416
416
|
haveCommercialLicense: boolean;
|
|
417
|
-
get licenseText():
|
|
417
|
+
get licenseText(): string;
|
|
418
418
|
/*
|
|
419
419
|
* A boolean property, false by default. Set it to true to call protected doSave method automatically on survey changing.
|
|
420
420
|
*/
|
|
@@ -1028,8 +1028,8 @@ export declare class CreatorBase<T extends SurveyModel = SurveyModel> {
|
|
|
1028
1028
|
loadSurvey(surveyId: string): void;
|
|
1029
1029
|
protected doClickQuestionCore(element: IElement, modifiedType?: string, index?: number, panel?: IPanel): void;
|
|
1030
1030
|
setNewNames(element: ISurveyElement): void;
|
|
1031
|
-
protected getAllQuestions(): any
|
|
1032
|
-
protected getAllPanels(): any
|
|
1031
|
+
protected getAllQuestions(): Array<any>;
|
|
1032
|
+
protected getAllPanels(): Array<any>;
|
|
1033
1033
|
protected addElements(elements: any, isPanel: boolean, result: any): void;
|
|
1034
1034
|
protected getNewName(type: string, isPanel?: boolean): string;
|
|
1035
1035
|
protected getNewQuestionName(): string;
|
|
@@ -1505,7 +1505,7 @@ export declare class QuestionAdornerComponent extends SurveyElementBase<Question
|
|
|
1505
1505
|
constructor(props: QuestionAdornerComponentProps);
|
|
1506
1506
|
modelValue: any;
|
|
1507
1507
|
protected rootRef: any;
|
|
1508
|
-
protected createQuestionViewModel():
|
|
1508
|
+
protected createQuestionViewModel(): QuestionAdornerViewModel;
|
|
1509
1509
|
get model(): any;
|
|
1510
1510
|
protected getStateElement(): Base;
|
|
1511
1511
|
protected canRender(): boolean;
|
|
@@ -1520,7 +1520,7 @@ export declare class QuestionConverter {
|
|
|
1520
1520
|
constructor();
|
|
1521
1521
|
static convertInfo: any;
|
|
1522
1522
|
static addConvertInfo(className: string, convertToClassName: string): void;
|
|
1523
|
-
static getConvertToClasses(className: string, availableTypes?: any, includeCurrent?: boolean): any
|
|
1523
|
+
static getConvertToClasses(className: string, availableTypes?: any, includeCurrent?: boolean): Array<any>;
|
|
1524
1524
|
static convertObject(obj: Question, convertToClass: string): Question;
|
|
1525
1525
|
}
|
|
1526
1526
|
export declare class QuestionEditorContentComponent extends React.Component<IQuestionEditorContentComponentProps, any> implements ISurveyCreator {
|
|
@@ -1548,7 +1548,9 @@ export declare class QuestionLinkValueModel extends Question {
|
|
|
1548
1548
|
showClear: boolean;
|
|
1549
1549
|
allowClear: boolean;
|
|
1550
1550
|
showValueInLink: boolean;
|
|
1551
|
+
showTooltip: boolean;
|
|
1551
1552
|
protected onPropertyValueChanged(name: string, oldValue: any, newValue: any): void;
|
|
1553
|
+
get tooltip(): string;
|
|
1552
1554
|
getType(): string;
|
|
1553
1555
|
doLinkClick(): void;
|
|
1554
1556
|
doClearClick(): void;
|
|
@@ -1956,11 +1958,11 @@ export declare class SurveyLogic extends Base implements ISurveyLogicItemOwner {
|
|
|
1956
1958
|
renameQuestion(oldName: string, newName: string): void;
|
|
1957
1959
|
removeQuestion(name: string): void;
|
|
1958
1960
|
hasError(): boolean;
|
|
1959
|
-
getUsedQuestions():
|
|
1960
|
-
getUsedActionTypes():
|
|
1961
|
+
getUsedQuestions(): Array<Question>;
|
|
1962
|
+
getUsedActionTypes(): Array<SurveyLogicType>;
|
|
1961
1963
|
protected hasErrorInUI(): boolean;
|
|
1962
1964
|
protected getExpressionText(): string;
|
|
1963
|
-
protected getEditingActions():
|
|
1965
|
+
protected getEditingActions(): Array<SurveyLogicAction>;
|
|
1964
1966
|
addNew(): void;
|
|
1965
1967
|
editItem(item: SurveyLogicItem): void;
|
|
1966
1968
|
protected onStartEditing(): void;
|
|
@@ -1969,12 +1971,12 @@ export declare class SurveyLogic extends Base implements ISurveyLogicItemOwner {
|
|
|
1969
1971
|
removeItem(item: SurveyLogicItem, checkCanRemove?: boolean): void;
|
|
1970
1972
|
addAction(lt: SurveyLogicType, element?: Base): SurveyLogicAction;
|
|
1971
1973
|
addNewAction(): SurveyLogicAction;
|
|
1972
|
-
getVisibleLogicTypes():
|
|
1974
|
+
getVisibleLogicTypes(): Array<SurveyLogicType>;
|
|
1973
1975
|
removeAction(action: SurveyLogicAction): void;
|
|
1974
1976
|
getExpressionAsDisplayText(expression: string): string;
|
|
1975
|
-
protected buildItems(showInUI: boolean):
|
|
1976
|
-
protected getAllElements():
|
|
1977
|
-
protected createLogicTypes():
|
|
1977
|
+
protected buildItems(showInUI: boolean): Array<SurveyLogicItem>;
|
|
1978
|
+
protected getAllElements(): Array<Base>;
|
|
1979
|
+
protected createLogicTypes(): Array<SurveyLogicType>;
|
|
1978
1980
|
}
|
|
1979
1981
|
export declare class SurveyLogicAction {
|
|
1980
1982
|
constructor(logicType: SurveyLogicType, element: Base, survey: SurveyModel);
|
|
@@ -2011,9 +2013,8 @@ export declare class SurveyLogicItem {
|
|
|
2011
2013
|
get id(): number;
|
|
2012
2014
|
get name(): string;
|
|
2013
2015
|
get survey(): SurveyModel;
|
|
2014
|
-
getVisibleLogicTypes():
|
|
2015
|
-
|
|
2016
|
-
get actionsText(): string;
|
|
2016
|
+
getVisibleLogicTypes(): Array<SurveyLogicType>;
|
|
2017
|
+
getDisplayText(): any;
|
|
2017
2018
|
edit(): void;
|
|
2018
2019
|
remove(): void;
|
|
2019
2020
|
get isReadOnly(): boolean;
|
|
@@ -2025,11 +2026,11 @@ export declare class SurveyLogicItem {
|
|
|
2025
2026
|
apply(expression: string): void;
|
|
2026
2027
|
renameQuestion(oldName: string, newName: string): void;
|
|
2027
2028
|
removeQuestion(name: string): void;
|
|
2028
|
-
getQuestionNames(): any
|
|
2029
|
-
getActionTypes(): any
|
|
2030
|
-
get expressionText(): string;
|
|
2029
|
+
getQuestionNames(): Array<any>;
|
|
2030
|
+
getActionTypes(): Array<any>;
|
|
2031
2031
|
get editText(): string;
|
|
2032
2032
|
get deleteText(): string;
|
|
2033
|
+
get ifText(): string;
|
|
2033
2034
|
isSuitable(filteredName: string, logicTypeName?: string): boolean;
|
|
2034
2035
|
}
|
|
2035
2036
|
export declare class SurveyLogicType {
|
|
@@ -2127,8 +2128,8 @@ export declare class SurveyQuestionProperties {
|
|
|
2127
2128
|
get showMode(): string;
|
|
2128
2129
|
get isEmpty(): boolean;
|
|
2129
2130
|
getTabByName(tabName: string): SurveyQuestionEditorTabDefinition;
|
|
2130
|
-
getTabs():
|
|
2131
|
-
getProperties(tab: SurveyQuestionEditorTabDefinition):
|
|
2131
|
+
getTabs(): Array<SurveyQuestionEditorTabDefinition>;
|
|
2132
|
+
getProperties(tab: SurveyQuestionEditorTabDefinition): Array<JsonObjectProperty>;
|
|
2132
2133
|
}
|
|
2133
2134
|
export declare class SurveyResults extends SurveyElementBase<ISurveyResultsProps, any> {
|
|
2134
2135
|
constructor(props: ISurveyResultsProps);
|
|
@@ -2137,7 +2138,7 @@ export declare class SurveyResults extends SurveyElementBase<ISurveyResultsProps
|
|
|
2137
2138
|
render(): any;
|
|
2138
2139
|
renderResultAsText(): any;
|
|
2139
2140
|
renderResultAsTable(): any;
|
|
2140
|
-
renderRows(data: any):
|
|
2141
|
+
renderRows(data: any): Array<Element>;
|
|
2141
2142
|
renderRow(row: any): any;
|
|
2142
2143
|
}
|
|
2143
2144
|
export declare class SurveyResultsItemModel extends Base {
|
|
@@ -2210,8 +2211,8 @@ export declare class SvgBundleComponent extends React.Component {
|
|
|
2210
2211
|
export declare class TabDesignerComponent extends SurveyElementBase<ITabDesignerComponentProps, any> {
|
|
2211
2212
|
constructor(props: any);
|
|
2212
2213
|
protected get creator(): any;
|
|
2213
|
-
protected getStateElements():
|
|
2214
|
-
protected renderPages():
|
|
2214
|
+
protected getStateElements(): Array<Base>;
|
|
2215
|
+
protected renderPages(): Array<Element>;
|
|
2215
2216
|
protected renderPage(pageV: PageModel): any;
|
|
2216
2217
|
renderElement(): any;
|
|
2217
2218
|
}
|
|
@@ -2335,7 +2336,7 @@ export declare class TestSurveyTabViewModel extends Base {
|
|
|
2335
2336
|
}
|
|
2336
2337
|
export declare class ToolbarActionContainer extends ActionContainer {
|
|
2337
2338
|
constructor(creator: any);
|
|
2338
|
-
protected getRenderedActions():
|
|
2339
|
+
protected getRenderedActions(): Array<Action>;
|
|
2339
2340
|
}
|
|
2340
2341
|
export declare class Toolbox extends SurveyElementBase<ISurveyCreatorToolboxProps, any> {
|
|
2341
2342
|
constructor(props: ISurveyCreatorToolboxProps);
|
|
@@ -2346,7 +2347,7 @@ export declare class Toolbox extends SurveyElementBase<ISurveyCreatorToolboxProp
|
|
|
2346
2347
|
renderItems(items: any): any;
|
|
2347
2348
|
renderCategories(): any;
|
|
2348
2349
|
renderCategoryHeader(category: any): any;
|
|
2349
|
-
protected renderCategoryContent(category: any): any
|
|
2350
|
+
protected renderCategoryContent(category: any): Array<any>;
|
|
2350
2351
|
}
|
|
2351
2352
|
export declare class ToolboxToolViewModel extends Base {
|
|
2352
2353
|
constructor(item: IQuestionToolboxItem, creator: any);
|
|
@@ -2411,7 +2412,7 @@ export declare class Translation extends Base implements ITranslationLocales {
|
|
|
2411
2412
|
hasLocale(locale: string): boolean;
|
|
2412
2413
|
addLocale(locale: string): void;
|
|
2413
2414
|
resetLocales(): void;
|
|
2414
|
-
getSelectedLocales(): any
|
|
2415
|
+
getSelectedLocales(): Array<any>;
|
|
2415
2416
|
setSelectedLocales(selectedLocales: any): void;
|
|
2416
2417
|
get noStringsText(): string;
|
|
2417
2418
|
exportToCSV(): string;
|
|
@@ -2520,7 +2521,7 @@ export declare class AdaptiveToolbox extends Toolbox {
|
|
|
2520
2521
|
componentWillUnmount(): void;
|
|
2521
2522
|
render(): any;
|
|
2522
2523
|
renderItems(items: any, isCompact?: boolean): any;
|
|
2523
|
-
protected renderCategoryContent(category: any): any
|
|
2524
|
+
protected renderCategoryContent(category: any): Array<any>;
|
|
2524
2525
|
}
|
|
2525
2526
|
export declare class EmptySurveyCreatorOptions implements ISurveyCreatorOptions {
|
|
2526
2527
|
constructor();
|
|
@@ -2609,7 +2610,7 @@ export declare class PropertyGridEditor implements IPropertyGridEditor {
|
|
|
2609
2610
|
showModalPropertyEditor(editor: IPropertyGridEditor, property: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions, onClose?: any): any;
|
|
2610
2611
|
protected onModalPropertyEditorShown(editor: IPropertyGridEditor, property: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions): void;
|
|
2611
2612
|
protected onModalPropertyEditorClosed(editor: IPropertyGridEditor, property: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions, reason: "apply" | "cancel"): void;
|
|
2612
|
-
|
|
2613
|
+
isSupportGrouping(): boolean;
|
|
2613
2614
|
onUpdateQuestionCssClasses(obj: Base, options: any): void;
|
|
2614
2615
|
}
|
|
2615
2616
|
export declare class QuestionAdornerViewModel extends ActionContainerViewModel<SurveyModel> {
|
|
@@ -2634,7 +2635,7 @@ export declare class QuestionAdornerViewModel extends ActionContainerViewModel<S
|
|
|
2634
2635
|
onPointerDown(pointerDownEvent: any): void;
|
|
2635
2636
|
startDragSurveyElement: any;
|
|
2636
2637
|
get allowEdit(): boolean;
|
|
2637
|
-
getConvertToTypesActions():
|
|
2638
|
+
getConvertToTypesActions(): Array<IAction>;
|
|
2638
2639
|
protected buildActions(items: any): void;
|
|
2639
2640
|
protected duplicate(): void;
|
|
2640
2641
|
addNewQuestion(): void;
|
|
@@ -2647,7 +2648,7 @@ export declare class QuestionDropdownAdornerComponent extends QuestionAdornerCom
|
|
|
2647
2648
|
}
|
|
2648
2649
|
export declare class QuestionImageAdornerComponent extends QuestionAdornerComponent {
|
|
2649
2650
|
constructor(props: QuestionAdornerComponentProps);
|
|
2650
|
-
protected createQuestionViewModel():
|
|
2651
|
+
protected createQuestionViewModel(): QuestionAdornerViewModel;
|
|
2651
2652
|
get imageModel(): any;
|
|
2652
2653
|
componentDidMount(): void;
|
|
2653
2654
|
protected renderHeader(): any;
|
|
@@ -2655,13 +2656,13 @@ export declare class QuestionImageAdornerComponent extends QuestionAdornerCompon
|
|
|
2655
2656
|
}
|
|
2656
2657
|
export declare class QuestionRatingAdornerComponent extends QuestionAdornerComponent {
|
|
2657
2658
|
constructor(props: QuestionAdornerComponentProps);
|
|
2658
|
-
protected createQuestionViewModel():
|
|
2659
|
+
protected createQuestionViewModel(): QuestionAdornerViewModel;
|
|
2659
2660
|
get ratingModel(): any;
|
|
2660
2661
|
protected renderFooter(): any;
|
|
2661
2662
|
}
|
|
2662
2663
|
export declare class QuestionWidgetAdornerComponent extends QuestionAdornerComponent {
|
|
2663
2664
|
constructor(props: QuestionAdornerComponentProps);
|
|
2664
|
-
protected createQuestionViewModel():
|
|
2665
|
+
protected createQuestionViewModel(): QuestionAdornerViewModel;
|
|
2665
2666
|
get widgetModel(): any;
|
|
2666
2667
|
protected renderElementContent(): any;
|
|
2667
2668
|
}
|
|
@@ -2730,7 +2731,7 @@ export declare class SurveyLogicUI extends SurveyLogic {
|
|
|
2730
2731
|
protected onEditableItemApply(): void;
|
|
2731
2732
|
protected hasErrorInUI(): boolean;
|
|
2732
2733
|
protected getExpressionText(): string;
|
|
2733
|
-
protected getEditingActions():
|
|
2734
|
+
protected getEditingActions(): Array<SurveyLogicAction>;
|
|
2734
2735
|
protected getLogicItemSurveyJSON(): any;
|
|
2735
2736
|
get addNewText(): string;
|
|
2736
2737
|
get emptyTabPlaceHolder(): string;
|
|
@@ -2984,7 +2985,7 @@ export declare class LogicItemEditor extends PropertyEditorSetupValue {
|
|
|
2984
2985
|
protected getSurveyCreationReason(): string;
|
|
2985
2986
|
resetModified(): void;
|
|
2986
2987
|
apply(): boolean;
|
|
2987
|
-
getEditingActions():
|
|
2988
|
+
getEditingActions(): Array<SurveyLogicAction>;
|
|
2988
2989
|
static elementSelectorTypes: any;
|
|
2989
2990
|
getLocString(name: string): string;
|
|
2990
2991
|
}
|
|
@@ -2999,7 +3000,7 @@ export declare class PropertyGridEditorBoolean extends PropertyGridEditor {
|
|
|
2999
3000
|
constructor();
|
|
3000
3001
|
fit(prop: JsonObjectProperty, context?: string): boolean;
|
|
3001
3002
|
getJSON(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): any;
|
|
3002
|
-
|
|
3003
|
+
isSupportGrouping(): boolean;
|
|
3003
3004
|
}
|
|
3004
3005
|
export declare class PropertyGridEditorColor extends PropertyGridEditor {
|
|
3005
3006
|
constructor();
|
|
@@ -3033,12 +3034,12 @@ export declare class PropertyGridEditorMatrix extends PropertyGridEditor {
|
|
|
3033
3034
|
protected getDefaultClassName(prop: JsonObjectProperty): string;
|
|
3034
3035
|
protected getBaseValue(prop: JsonObjectProperty): string;
|
|
3035
3036
|
protected getKeyValue(): string;
|
|
3036
|
-
protected getColumnNames(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): any
|
|
3037
|
+
protected getColumnNames(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): Array<any>;
|
|
3037
3038
|
protected getColumnClassName(obj: Base, prop: JsonObjectProperty): string;
|
|
3038
|
-
protected getPropertiesNames(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): any
|
|
3039
|
-
protected getDefinedListProperties(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): any
|
|
3040
|
-
protected getDefaultListProperties(prop: JsonObjectProperty): any
|
|
3041
|
-
protected getDefaulColumnNames(): any
|
|
3039
|
+
protected getPropertiesNames(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): Array<any>;
|
|
3040
|
+
protected getDefinedListProperties(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): Array<any>;
|
|
3041
|
+
protected getDefaultListProperties(prop: JsonObjectProperty): Array<any>;
|
|
3042
|
+
protected getDefaulColumnNames(): Array<any>;
|
|
3042
3043
|
protected getObjTypeName(): string;
|
|
3043
3044
|
protected hasDetailPanel(): boolean;
|
|
3044
3045
|
hasPropertiesInDetail: boolean;
|
|
@@ -3062,7 +3063,7 @@ export declare class PropertyGridEditorQuestion extends PropertyGridEditor {
|
|
|
3062
3063
|
constructor();
|
|
3063
3064
|
fit(prop: JsonObjectProperty): boolean;
|
|
3064
3065
|
getJSON(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): any;
|
|
3065
|
-
protected getQuestions(survey: SurveyModel, obj: Base):
|
|
3066
|
+
protected getQuestions(survey: SurveyModel, obj: Base): Array<Question>;
|
|
3066
3067
|
protected getItemValue(question: Question): any;
|
|
3067
3068
|
}
|
|
3068
3069
|
export declare class PropertyGridEditorStringArray extends PropertyGridEditor {
|
|
@@ -3081,7 +3082,7 @@ export declare class PropertyGridValueEditorBase extends PropertyGridEditor {
|
|
|
3081
3082
|
onCreated: any;
|
|
3082
3083
|
clearPropertyValue(obj: Base, prop: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions): void;
|
|
3083
3084
|
protected isValueEmpty(val: any): boolean;
|
|
3084
|
-
|
|
3085
|
+
isSupportGrouping(): boolean;
|
|
3085
3086
|
}
|
|
3086
3087
|
export declare class QuestionImageAdornerViewModel extends QuestionAdornerViewModel {
|
|
3087
3088
|
constructor(creator: any, surveyElement: SurveyElement, templateData: SurveyTemplateRendererTemplateData, questionRoot: any);
|
|
@@ -3140,7 +3141,7 @@ export declare class PropertyGridEditorMatrixCalculatedValues extends PropertyGr
|
|
|
3140
3141
|
constructor();
|
|
3141
3142
|
fit(prop: JsonObjectProperty): boolean;
|
|
3142
3143
|
protected getColumnClassName(obj: Base, prop: JsonObjectProperty): string;
|
|
3143
|
-
protected getDefaulColumnNames(): any
|
|
3144
|
+
protected getDefaulColumnNames(): Array<any>;
|
|
3144
3145
|
protected getKeyValue(): string;
|
|
3145
3146
|
protected getBaseValue(prop: JsonObjectProperty): string;
|
|
3146
3147
|
protected getShowDetailPanelOnAdding(): boolean;
|
|
@@ -3149,7 +3150,7 @@ export declare class PropertyGridEditorMatrixColumns extends PropertyGridEditorM
|
|
|
3149
3150
|
constructor();
|
|
3150
3151
|
fit(prop: JsonObjectProperty): boolean;
|
|
3151
3152
|
protected getEditItemAsStandAlone(): boolean;
|
|
3152
|
-
protected getDefaulColumnNames(): any
|
|
3153
|
+
protected getDefaulColumnNames(): Array<any>;
|
|
3153
3154
|
protected getKeyValue(): string;
|
|
3154
3155
|
protected getBaseValue(prop: JsonObjectProperty): string;
|
|
3155
3156
|
protected getMaximumRowCount(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): number;
|
|
@@ -3158,7 +3159,7 @@ export declare class PropertyGridEditorMatrixColumns extends PropertyGridEditorM
|
|
|
3158
3159
|
export declare class PropertyGridEditorMatrixHtmlConditions extends PropertyGridEditorMatrix {
|
|
3159
3160
|
constructor();
|
|
3160
3161
|
fit(prop: JsonObjectProperty): boolean;
|
|
3161
|
-
protected getDefaulColumnNames(): any
|
|
3162
|
+
protected getDefaulColumnNames(): Array<any>;
|
|
3162
3163
|
protected getShowDetailPanelOnAdding(): boolean;
|
|
3163
3164
|
}
|
|
3164
3165
|
export declare class PropertyGridEditorMatrixItemValues extends PropertyGridEditorMatrix {
|
|
@@ -3171,7 +3172,7 @@ export declare class PropertyGridEditorMatrixItemValues extends PropertyGridEdit
|
|
|
3171
3172
|
canClearPropertyValue(obj: Base, prop: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions): boolean;
|
|
3172
3173
|
clearPropertyValue(obj: Base, prop: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions): void;
|
|
3173
3174
|
protected getColumnClassName(obj: Base, prop: JsonObjectProperty): string;
|
|
3174
|
-
protected getDefaulColumnNames(): any
|
|
3175
|
+
protected getDefaulColumnNames(): Array<any>;
|
|
3175
3176
|
protected getKeyValue(): string;
|
|
3176
3177
|
protected getHideColumnsEmpty(prop: JsonObjectProperty): boolean;
|
|
3177
3178
|
protected getEmptyRowsText(prop: any): any;
|
|
@@ -3179,7 +3180,7 @@ export declare class PropertyGridEditorMatrixItemValues extends PropertyGridEdit
|
|
|
3179
3180
|
}
|
|
3180
3181
|
export declare class PropertyGridEditorMatrixMultipleTypes extends PropertyGridEditorMatrix {
|
|
3181
3182
|
constructor();
|
|
3182
|
-
protected getChoices(obj: Base): any
|
|
3183
|
+
protected getChoices(obj: Base): Array<any>;
|
|
3183
3184
|
protected getColumnsJSON(obj: Base, prop: JsonObjectProperty, propNames: any, options: ISurveyCreatorOptions): any;
|
|
3184
3185
|
onMatrixCellCreated(obj: Base, options: any): void;
|
|
3185
3186
|
onMatrixCellValueChanged(obj: Base, options: any): void;
|
|
@@ -3189,7 +3190,7 @@ export declare class PropertyGridEditorMatrixMutlipleTextItems extends PropertyG
|
|
|
3189
3190
|
constructor();
|
|
3190
3191
|
fit(prop: JsonObjectProperty): boolean;
|
|
3191
3192
|
protected getColumnClassName(obj: Base, prop: JsonObjectProperty): string;
|
|
3192
|
-
protected getDefaulColumnNames(): any
|
|
3193
|
+
protected getDefaulColumnNames(): Array<any>;
|
|
3193
3194
|
protected getKeyValue(): string;
|
|
3194
3195
|
protected getBaseValue(prop: JsonObjectProperty): string;
|
|
3195
3196
|
}
|
|
@@ -3198,7 +3199,7 @@ export declare class PropertyGridEditorMatrixPages extends PropertyGridEditorMat
|
|
|
3198
3199
|
fit(prop: JsonObjectProperty): boolean;
|
|
3199
3200
|
onMatrixAllowRemoveRow(obj: Base, row: MatrixDynamicRowModel): boolean;
|
|
3200
3201
|
protected getColumnClassName(obj: Base, prop: JsonObjectProperty): string;
|
|
3201
|
-
protected getDefaulColumnNames(): any
|
|
3202
|
+
protected getDefaulColumnNames(): Array<any>;
|
|
3202
3203
|
protected hasDetailPanel(): boolean;
|
|
3203
3204
|
protected getKeyValue(): string;
|
|
3204
3205
|
protected getBaseValue(prop: JsonObjectProperty): string;
|
|
@@ -3207,7 +3208,7 @@ export declare class PropertyGridEditorMatrixPages extends PropertyGridEditorMat
|
|
|
3207
3208
|
export declare class PropertyGridEditorMatrixUrlConditions extends PropertyGridEditorMatrix {
|
|
3208
3209
|
constructor();
|
|
3209
3210
|
fit(prop: JsonObjectProperty): boolean;
|
|
3210
|
-
protected getDefaulColumnNames(): any
|
|
3211
|
+
protected getDefaulColumnNames(): Array<any>;
|
|
3211
3212
|
protected getShowDetailPanelOnAdding(): boolean;
|
|
3212
3213
|
}
|
|
3213
3214
|
export declare class PropertyGridEditorPage extends PropertyGridEditorDropdown {
|
|
@@ -3224,7 +3225,7 @@ export declare class PropertyGridEditorQuestionRestfull extends PropertyGridEdit
|
|
|
3224
3225
|
export declare class PropertyGridEditorQuestionSelectBase extends PropertyGridEditorQuestion {
|
|
3225
3226
|
constructor();
|
|
3226
3227
|
fit(prop: JsonObjectProperty): boolean;
|
|
3227
|
-
protected getQuestions(survey: SurveyModel, obj: Base):
|
|
3228
|
+
protected getQuestions(survey: SurveyModel, obj: Base): Array<Question>;
|
|
3228
3229
|
}
|
|
3229
3230
|
export declare class PropertyGridEditorQuestionValue extends PropertyGridEditorQuestion {
|
|
3230
3231
|
constructor();
|
|
@@ -3290,14 +3291,14 @@ export declare class PropertyGridEditorMatrixTriggers extends PropertyGridEditor
|
|
|
3290
3291
|
fit(prop: JsonObjectProperty): boolean;
|
|
3291
3292
|
protected getObjTypeName(): string;
|
|
3292
3293
|
protected getDefaultClassName(prop: JsonObjectProperty): string;
|
|
3293
|
-
protected getChoices(obj: Base): any
|
|
3294
|
+
protected getChoices(obj: Base): Array<any>;
|
|
3294
3295
|
}
|
|
3295
3296
|
export declare class PropertyGridEditorMatrixValidators extends PropertyGridEditorMatrixMultipleTypes {
|
|
3296
3297
|
constructor();
|
|
3297
3298
|
fit(prop: JsonObjectProperty): boolean;
|
|
3298
3299
|
protected getObjTypeName(): string;
|
|
3299
3300
|
protected getDefaultClassName(prop: JsonObjectProperty): string;
|
|
3300
|
-
protected getChoices(obj: Base): any
|
|
3301
|
+
protected getChoices(obj: Base): Array<any>;
|
|
3301
3302
|
}
|
|
3302
3303
|
export declare class PropertyGridTriggerValueInLogicEditor extends PropertyGridTriggerValueEditor {
|
|
3303
3304
|
constructor();
|
|
@@ -3318,6 +3319,7 @@ export declare function select(element: any): void;
|
|
|
3318
3319
|
export declare function copyObject(dst: any, src: any): void;
|
|
3319
3320
|
export declare function copyCssClasses(dest: any, source: any): void;
|
|
3320
3321
|
export declare function assignDefaultV2Classes(destination: any, questionType: string): void;
|
|
3322
|
+
export declare function wrapTextByCurlyBraces(text: string): string;
|
|
3321
3323
|
export declare function getLogicString(name: string): any;
|
|
3322
3324
|
export declare function findAction(actions: any, id: string): IAction;
|
|
3323
3325
|
export declare function updateMatrixLogicExpandAction(question: QuestionMatrixDynamicModel, actions: any, row: MatrixDynamicRowModel): void;
|