survey-creator-core 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-core.css +137 -100
- package/survey-creator-core.d.ts +18 -10
- package/survey-creator-core.js +129 -30
- package/survey-creator-core.min.css +12 -12
- package/survey-creator-core.min.js +2 -2
package/survey-creator-core.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*Type definitions for SurveyJS Creator JavaScript library v1.9.
|
|
1
|
+
/*Type definitions for SurveyJS Creator JavaScript library v1.9.7-beta.1
|
|
2
2
|
(c) 2015-2022 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
3
3
|
Github: https://github.com/surveyjs/survey-creator
|
|
4
4
|
License: https://surveyjs.io/Licenses#SurveyCreator
|
|
@@ -212,6 +212,7 @@ export declare var enStrings: {
|
|
|
212
212
|
chooseElement: string;
|
|
213
213
|
htmlPlaceHolder: string;
|
|
214
214
|
panelPlaceHolder: string;
|
|
215
|
+
surveyPlaceHolder: string;
|
|
215
216
|
addNewQuestion: string;
|
|
216
217
|
addNewTypeQuestion: string;
|
|
217
218
|
chooseLogoPlaceholder: string;
|
|
@@ -1046,6 +1047,7 @@ export declare var defaultStrings: {
|
|
|
1046
1047
|
chooseElement: string;
|
|
1047
1048
|
htmlPlaceHolder: string;
|
|
1048
1049
|
panelPlaceHolder: string;
|
|
1050
|
+
surveyPlaceHolder: string;
|
|
1049
1051
|
addNewQuestion: string;
|
|
1050
1052
|
addNewTypeQuestion: string;
|
|
1051
1053
|
chooseLogoPlaceholder: string;
|
|
@@ -1758,11 +1760,7 @@ export declare var settings: {
|
|
|
1758
1760
|
greaterorequal: string[];
|
|
1759
1761
|
lessorequal: string[];
|
|
1760
1762
|
};
|
|
1761
|
-
defaultNewSurveyJSON: {
|
|
1762
|
-
pages: {
|
|
1763
|
-
name: string;
|
|
1764
|
-
}[];
|
|
1765
|
-
};
|
|
1763
|
+
defaultNewSurveyJSON: {};
|
|
1766
1764
|
logic: {
|
|
1767
1765
|
visibleActions: any[];
|
|
1768
1766
|
logicItemTitleMaxChars: number;
|
|
@@ -2500,7 +2498,6 @@ export declare class CreatorBase<T extends SurveyModel = SurveyModel> extends Su
|
|
|
2500
2498
|
* @param viewName name of new active view (tab). The following values are available: "designer", "editor", "test", "embed", "logic" and "translation".
|
|
2501
2499
|
*/
|
|
2502
2500
|
makeNewViewActive(viewName: string): boolean;
|
|
2503
|
-
static defaultNewSurveyText: string;
|
|
2504
2501
|
toolbox: QuestionToolbox;
|
|
2505
2502
|
get toolboxCategories(): Array<any>;
|
|
2506
2503
|
sideBar: SideBarModel;
|
|
@@ -3576,15 +3573,18 @@ export declare class TabTranslationPlugin implements ICreatorPlugin {
|
|
|
3576
3573
|
}
|
|
3577
3574
|
|
|
3578
3575
|
import "./designer.scss";
|
|
3576
|
+
export declare const initialSettingsAllowShowEmptyTitleInDesignMode: boolean;
|
|
3579
3577
|
export declare class TabDesignerViewModel<T extends SurveyModel> extends Base {
|
|
3580
3578
|
newPage: PageModel;
|
|
3581
3579
|
showNewPage: boolean;
|
|
3582
3580
|
pageCount: number;
|
|
3583
3581
|
withModifier: string;
|
|
3582
|
+
showPlaceholder: boolean;
|
|
3584
3583
|
creator: CreatorBase<T>;
|
|
3585
3584
|
constructor(creator: CreatorBase<T>);
|
|
3586
3585
|
get survey(): T;
|
|
3587
3586
|
get isToolboxVisible(): boolean;
|
|
3587
|
+
get placeholderText(): string;
|
|
3588
3588
|
initSurvey(): void;
|
|
3589
3589
|
dispose(): void;
|
|
3590
3590
|
clickDesigner(): void;
|
|
@@ -4008,6 +4008,7 @@ export declare class PageViewModel<T extends SurveyModel> extends ActionContaine
|
|
|
4008
4008
|
select(model: PageViewModel<T>, event: IPortableMouseEvent): void;
|
|
4009
4009
|
get css(): string;
|
|
4010
4010
|
hover(event: MouseEvent, element: HTMLElement): void;
|
|
4011
|
+
hoverStopper(event: MouseEvent, element: HTMLElement): void;
|
|
4011
4012
|
protected duplicate(): void;
|
|
4012
4013
|
get allowEdit(): boolean;
|
|
4013
4014
|
get addNewQuestionText(): string;
|
|
@@ -4336,8 +4337,9 @@ export declare var simulatorDevices: {
|
|
|
4336
4337
|
import "./results.scss";
|
|
4337
4338
|
export declare class SurveyResultsItemModel extends Base {
|
|
4338
4339
|
collapsed: boolean;
|
|
4340
|
+
lvl: number;
|
|
4339
4341
|
items: Array<any>;
|
|
4340
|
-
constructor(_data: any);
|
|
4342
|
+
constructor(_data: any, _lvl: number);
|
|
4341
4343
|
get data(): Array<any>;
|
|
4342
4344
|
toggle: () => void;
|
|
4343
4345
|
get isNode(): boolean;
|
|
@@ -4346,6 +4348,8 @@ export declare class SurveyResultsItemModel extends Base {
|
|
|
4346
4348
|
get value(): any;
|
|
4347
4349
|
get displayValue(): string;
|
|
4348
4350
|
getString(data: any): string;
|
|
4351
|
+
get markerMargin(): string;
|
|
4352
|
+
get textMargin(): string;
|
|
4349
4353
|
}
|
|
4350
4354
|
export declare class SurveyResultsModel extends Base {
|
|
4351
4355
|
constructor(survey: Survey.SurveyModel);
|
|
@@ -4358,8 +4362,10 @@ export declare class SurveyResultsModel extends Base {
|
|
|
4358
4362
|
get resultsName(): any;
|
|
4359
4363
|
get resultsValue(): any;
|
|
4360
4364
|
get resultsDisplayValue(): any;
|
|
4361
|
-
|
|
4362
|
-
|
|
4365
|
+
get isTableSelected(): boolean;
|
|
4366
|
+
get isJsonSelected(): boolean;
|
|
4367
|
+
selectTableClick: () => void;
|
|
4368
|
+
selectJsonClick: () => void;
|
|
4363
4369
|
}
|
|
4364
4370
|
|
|
4365
4371
|
import "./logo-image.scss";
|
|
@@ -5294,6 +5300,8 @@ export declare class SideBarModel extends Base {
|
|
|
5294
5300
|
tabs: Array<SideBarTabModel>;
|
|
5295
5301
|
headerText: string;
|
|
5296
5302
|
visible: boolean;
|
|
5303
|
+
collapsedManually: boolean;
|
|
5304
|
+
expandedManually: boolean;
|
|
5297
5305
|
hasVisibleTabs: boolean;
|
|
5298
5306
|
flyoutMode: boolean;
|
|
5299
5307
|
activeTab: string;
|