survey-creator-react 1.9.6-beta.1 → 1.9.7-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 +139 -102
- package/survey-creator-react.d.ts +28 -20
- package/survey-creator-react.js +226 -123
- package/survey-creator-react.min.css +137 -100
- package/survey-creator-react.min.js +16 -16
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Type definition for Survey Creator library for React v1.9.
|
|
2
|
+
* Type definition for Survey Creator library for React v1.9.7-beta.1
|
|
3
3
|
* Copyright (c) 2015-2022 Devsoft Baltic OÜ - https://surveyjs.io/
|
|
4
4
|
* License: https://surveyjs.io/Licenses#SurveyCreator
|
|
5
5
|
*/
|
|
@@ -330,6 +330,7 @@ export declare class ActionContainerViewModel<T> extends Base {
|
|
|
330
330
|
actionContainer: any;
|
|
331
331
|
allowDragging: boolean;
|
|
332
332
|
selectedPropPageFunc: any;
|
|
333
|
+
sidebarFlyoutModeChangedFunc: any;
|
|
333
334
|
protected checkActionProperties(): void;
|
|
334
335
|
dispose(): void;
|
|
335
336
|
protected onElementSelectedChanged(isSelected: boolean): void;
|
|
@@ -354,7 +355,6 @@ export declare class CellQuestionDropdownAdornerComponent extends SurveyElementB
|
|
|
354
355
|
render(): any;
|
|
355
356
|
}
|
|
356
357
|
export declare class ConditionEditorItem {
|
|
357
|
-
constructor();
|
|
358
358
|
conjunction: string;
|
|
359
359
|
questionName: string;
|
|
360
360
|
operator: string;
|
|
@@ -920,7 +920,6 @@ export declare class CreatorBase<T extends SurveyModel = SurveyModel> {
|
|
|
920
920
|
* Change the active view/tab. It will return false if it can't change the current tab.
|
|
921
921
|
*/
|
|
922
922
|
makeNewViewActive(viewName: string): boolean;
|
|
923
|
-
static defaultNewSurveyText: string;
|
|
924
923
|
toolbox: QuestionToolbox;
|
|
925
924
|
get toolboxCategories(): any;
|
|
926
925
|
sideBar: SideBarModel;
|
|
@@ -1523,7 +1522,6 @@ export declare class QuestionAdornerComponent extends SurveyElementBase<Question
|
|
|
1523
1522
|
renderElementPlaceholder(): any;
|
|
1524
1523
|
}
|
|
1525
1524
|
export declare class QuestionConverter {
|
|
1526
|
-
constructor();
|
|
1527
1525
|
static convertInfo: any;
|
|
1528
1526
|
static addConvertInfo(className: string, convertToClassName: string): void;
|
|
1529
1527
|
static getConvertToClasses(className: string, availableTypes?: any, includeCurrent?: boolean): Array<any>;
|
|
@@ -1772,6 +1770,8 @@ export declare class SideBarModel extends Base {
|
|
|
1772
1770
|
tabs: any;
|
|
1773
1771
|
headerText: string;
|
|
1774
1772
|
visible: boolean;
|
|
1773
|
+
collapsedManually: boolean;
|
|
1774
|
+
expandedManually: boolean;
|
|
1775
1775
|
hasVisibleTabs: boolean;
|
|
1776
1776
|
flyoutMode: boolean;
|
|
1777
1777
|
activeTab: string;
|
|
@@ -1823,7 +1823,6 @@ export declare class StringEditorViewModelBase extends Base {
|
|
|
1823
1823
|
className(text: any): string;
|
|
1824
1824
|
}
|
|
1825
1825
|
export declare class StylesManager {
|
|
1826
|
-
constructor();
|
|
1827
1826
|
static get currentTheme(): string;
|
|
1828
1827
|
static set currentTheme(val: string);
|
|
1829
1828
|
static applyTheme(name?: string): void;
|
|
@@ -1867,7 +1866,6 @@ export declare class SurveyForTextWorker extends SurveyModel {
|
|
|
1867
1866
|
constructor(jsonObj: any);
|
|
1868
1867
|
}
|
|
1869
1868
|
export declare class SurveyHelper {
|
|
1870
|
-
constructor();
|
|
1871
1869
|
static getNewColumnName(objs: any, keyPropName: string, baseName: string): string | number;
|
|
1872
1870
|
}
|
|
1873
1871
|
export declare class SurveyJSON5 {
|
|
@@ -1898,9 +1896,11 @@ export declare class SurveyLocStringEditor extends SurveyElementBase<any, any> {
|
|
|
1898
1896
|
get errorText(): string;
|
|
1899
1897
|
componentDidMount(): void;
|
|
1900
1898
|
componentWillUnmount(): void;
|
|
1901
|
-
|
|
1899
|
+
onBlur: any;
|
|
1900
|
+
justFocused: boolean;
|
|
1902
1901
|
onFocus: any;
|
|
1903
1902
|
onKeyDown: any;
|
|
1903
|
+
onMouseUp: any;
|
|
1904
1904
|
done: any;
|
|
1905
1905
|
edit: any;
|
|
1906
1906
|
render(): any;
|
|
@@ -2074,7 +2074,6 @@ export declare class SurveyLogicType {
|
|
|
2074
2074
|
supportContext(context: Base): boolean;
|
|
2075
2075
|
}
|
|
2076
2076
|
export declare class SurveyLogicTypes {
|
|
2077
|
-
constructor();
|
|
2078
2077
|
static baseTypes: any;
|
|
2079
2078
|
static types: any;
|
|
2080
2079
|
}
|
|
@@ -2105,11 +2104,9 @@ export declare class SurveyPageNavigatorItem extends SurveyElementBase<any, any>
|
|
|
2105
2104
|
renderElement(): any;
|
|
2106
2105
|
}
|
|
2107
2106
|
export declare class SurveyQuestionEditorDefinition {
|
|
2108
|
-
constructor();
|
|
2109
2107
|
static definition: any;
|
|
2110
2108
|
}
|
|
2111
2109
|
export declare class SurveyQuestionEditorPropertyDefinition {
|
|
2112
|
-
constructor();
|
|
2113
2110
|
property: JsonObjectProperty;
|
|
2114
2111
|
title: string;
|
|
2115
2112
|
category: string;
|
|
@@ -2118,7 +2115,6 @@ export declare class SurveyQuestionEditorPropertyDefinition {
|
|
|
2118
2115
|
get name(): string;
|
|
2119
2116
|
}
|
|
2120
2117
|
export declare class SurveyQuestionEditorTabDefinition {
|
|
2121
|
-
constructor();
|
|
2122
2118
|
name: string;
|
|
2123
2119
|
title: string;
|
|
2124
2120
|
visible: boolean;
|
|
@@ -2153,12 +2149,16 @@ export declare class SurveyResults extends SurveyElementBase<ISurveyResultsProps
|
|
|
2153
2149
|
render(): any;
|
|
2154
2150
|
renderResultAsText(): any;
|
|
2155
2151
|
renderResultAsTable(): any;
|
|
2156
|
-
|
|
2157
|
-
|
|
2152
|
+
}
|
|
2153
|
+
export declare class SurveyResultsByRow extends SurveyElementBase<any, any> {
|
|
2154
|
+
constructor(props: any);
|
|
2155
|
+
protected getStateElement(): Base;
|
|
2156
|
+
render(): any;
|
|
2158
2157
|
}
|
|
2159
2158
|
export declare class SurveyResultsItemModel extends Base {
|
|
2160
|
-
constructor(_data: any);
|
|
2159
|
+
constructor(_data: any, _lvl: number);
|
|
2161
2160
|
collapsed: boolean;
|
|
2161
|
+
lvl: number;
|
|
2162
2162
|
items: any;
|
|
2163
2163
|
get data(): any;
|
|
2164
2164
|
toggle: any;
|
|
@@ -2168,6 +2168,9 @@ export declare class SurveyResultsItemModel extends Base {
|
|
|
2168
2168
|
get value(): any;
|
|
2169
2169
|
get displayValue(): string;
|
|
2170
2170
|
getString(data: any): string;
|
|
2171
|
+
markerWidth: number;
|
|
2172
|
+
get markerMargin(): string;
|
|
2173
|
+
get textMargin(): string;
|
|
2171
2174
|
}
|
|
2172
2175
|
export declare class SurveyResultsModel extends Base {
|
|
2173
2176
|
constructor(survey: SurveyModel);
|
|
@@ -2180,8 +2183,10 @@ export declare class SurveyResultsModel extends Base {
|
|
|
2180
2183
|
get resultsName(): any;
|
|
2181
2184
|
get resultsValue(): any;
|
|
2182
2185
|
get resultsDisplayValue(): any;
|
|
2183
|
-
|
|
2184
|
-
|
|
2186
|
+
get isTableSelected(): boolean;
|
|
2187
|
+
get isJsonSelected(): boolean;
|
|
2188
|
+
selectTableClick: any;
|
|
2189
|
+
selectJsonClick: any;
|
|
2185
2190
|
}
|
|
2186
2191
|
export declare class SurveySimulator extends SurveyElementBase<any, any> {
|
|
2187
2192
|
constructor(props: any);
|
|
@@ -2230,6 +2235,8 @@ export declare class TabDesignerComponent extends SurveyElementBase<ITabDesigner
|
|
|
2230
2235
|
protected renderPages(): Array<Element>;
|
|
2231
2236
|
protected renderPage(pageV: PageModel): any;
|
|
2232
2237
|
renderElement(): any;
|
|
2238
|
+
renderPlaceHolder(): any;
|
|
2239
|
+
renderTabContent(): any;
|
|
2233
2240
|
}
|
|
2234
2241
|
export declare class TabDesignerViewModel<T> extends Base {
|
|
2235
2242
|
constructor(creator: any);
|
|
@@ -2240,9 +2247,11 @@ export declare class TabDesignerViewModel<T> extends Base {
|
|
|
2240
2247
|
showNewPage: boolean;
|
|
2241
2248
|
pageCount: number;
|
|
2242
2249
|
withModifier: string;
|
|
2250
|
+
showPlaceholder: boolean;
|
|
2243
2251
|
creator: any;
|
|
2244
2252
|
get survey(): T;
|
|
2245
2253
|
get isToolboxVisible(): boolean;
|
|
2254
|
+
get placeholderText(): string;
|
|
2246
2255
|
initSurvey(): void;
|
|
2247
2256
|
onPagesChangedHandler: any;
|
|
2248
2257
|
dispose(): void;
|
|
@@ -2540,7 +2549,6 @@ export declare class AdaptiveToolbox extends Toolbox {
|
|
|
2540
2549
|
protected renderCategoryContent(category: any): Array<any>;
|
|
2541
2550
|
}
|
|
2542
2551
|
export declare class EmptySurveyCreatorOptions implements ISurveyCreatorOptions {
|
|
2543
|
-
constructor();
|
|
2544
2552
|
alwaySaveTextInPropertyEditors: boolean;
|
|
2545
2553
|
readOnly: boolean;
|
|
2546
2554
|
maxLogicItemsInCondition: number;
|
|
@@ -2598,6 +2606,7 @@ export declare class PageViewModel<T> extends ActionContainerViewModel<T> {
|
|
|
2598
2606
|
select(model: any, event: IPortableMouseEvent): void;
|
|
2599
2607
|
get css(): string;
|
|
2600
2608
|
hover(event: any, element: any): void;
|
|
2609
|
+
hoverStopper(event: any, element: any): void;
|
|
2601
2610
|
protected duplicate(): void;
|
|
2602
2611
|
get allowEdit(): boolean;
|
|
2603
2612
|
get addNewQuestionText(): string;
|
|
@@ -3392,9 +3401,7 @@ export declare var settings: {
|
|
|
3392
3401
|
greaterorequal: any,
|
|
3393
3402
|
lessorequal: any,
|
|
3394
3403
|
},
|
|
3395
|
-
defaultNewSurveyJSON:
|
|
3396
|
-
pages: any,
|
|
3397
|
-
},
|
|
3404
|
+
defaultNewSurveyJSON: any,
|
|
3398
3405
|
logic: {
|
|
3399
3406
|
visibleActions: any,
|
|
3400
3407
|
logicItemTitleMaxChars: number,
|
|
@@ -4561,6 +4568,7 @@ export declare var logicCss: {
|
|
|
4561
4568
|
mainRoot: string,
|
|
4562
4569
|
},
|
|
4563
4570
|
};
|
|
4571
|
+
export declare var initialSettingsAllowShowEmptyTitleInDesignMode: boolean;
|
|
4564
4572
|
export declare var svgBundle: string;
|
|
4565
4573
|
export declare var Version: string;
|
|
4566
4574
|
export declare var editableStringRendererName: any;
|