survey-creator-core 1.9.22 → 1.9.23
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 +22 -11
- package/survey-creator-core.d.ts +42 -9
- package/survey-creator-core.i18n.js +1 -1
- package/survey-creator-core.i18n.min.js +1 -1
- package/survey-creator-core.js +179 -60
- package/survey-creator-core.min.css +2 -2
- package/survey-creator-core.min.js +2 -2
package/survey-creator-core.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Type definition for Survey Creatorlibrary. Platform independent (core) v1.9.
|
|
2
|
+
* Type definition for Survey Creatorlibrary. Platform independent (core) v1.9.23
|
|
3
3
|
* Copyright (c) 2015-2022 Devsoft Baltic OÜ - https://surveyjs.io/
|
|
4
4
|
* License: https://surveyjs.io/Licenses#SurveyCreator
|
|
5
5
|
*/
|
|
@@ -279,6 +279,7 @@ export declare class CreatorBase extends Base implements ISurveyCreatorOptions,
|
|
|
279
279
|
* Set it to true to show "Logic" tab and to false to hide the tab
|
|
280
280
|
*/
|
|
281
281
|
showLogicTab: boolean;
|
|
282
|
+
useTableViewInLogicTab: boolean;
|
|
282
283
|
/*
|
|
283
284
|
* Set delay for page hover
|
|
284
285
|
*/
|
|
@@ -393,14 +394,21 @@ export declare class CreatorBase extends Base implements ISurveyCreatorOptions,
|
|
|
393
394
|
*/
|
|
394
395
|
onGetObjectDisplayName: Event<(sender: CreatorBase, options: any) => any, any>;
|
|
395
396
|
/*
|
|
396
|
-
* Use this event to disable
|
|
397
|
-
*
|
|
398
|
-
*
|
|
399
|
-
*
|
|
400
|
-
*
|
|
401
|
-
*
|
|
402
|
-
*
|
|
403
|
-
*
|
|
397
|
+
* Use this event to disable user interactions with a question or panel on the design surface.
|
|
398
|
+
*
|
|
399
|
+
* The event handler accepts the following arguments:
|
|
400
|
+
*
|
|
401
|
+
* - `sender`- A Survey Creator instance that raised the event.
|
|
402
|
+
* - `options.obj` - A survey element instance (question or panel) for which you can disable user interactions.
|
|
403
|
+
* - `options.allowAddToToolbox` - Allows users to save the current survey element configuration in the Toolbox.
|
|
404
|
+
* - `options.allowChangeRequired` - Allows users to make the survey element required.
|
|
405
|
+
* - `options.allowChangeType` - Allows users to change the survey element type.
|
|
406
|
+
* - `options.allowCopy` - Allows users to duplicate the survey element.
|
|
407
|
+
* - `options.allowDelete` - Allows users to delete the survey element.
|
|
408
|
+
* - `options.allowDragging` - Allows users to drag and drop the survey element.
|
|
409
|
+
* - `options.allowEdit` - Allows users to edit survey element properties on the design surface. If you disable this property, users can edit the properties only in the Property Grid.
|
|
410
|
+
*
|
|
411
|
+
* To disable a user interaction, set the correponding `allow...` property to `false`.
|
|
404
412
|
*/
|
|
405
413
|
onElementAllowOperations: Event<(sender: CreatorBase, options: any) => any, any>;
|
|
406
414
|
/*
|
|
@@ -684,6 +692,18 @@ export declare class CreatorBase extends Base implements ISurveyCreatorOptions,
|
|
|
684
692
|
*/
|
|
685
693
|
onTranslationLocaleInitiallySelected: Event<(sender: CreatorBase, options: any) => any, any>;
|
|
686
694
|
/*
|
|
695
|
+
* Use this event to control drag&drop operations.
|
|
696
|
+
* <br/> sender the survey creator object that fires the event.
|
|
697
|
+
* <br/> options.survey the editing survey object.
|
|
698
|
+
* <br/> options.allow set it to false to disable dragging.
|
|
699
|
+
* <br/> options.target a target element that is dragging.
|
|
700
|
+
* <br/> options.source a source element. It can be null, if it is a new element, dragging from toolbox.
|
|
701
|
+
* <br/> options.parent a page or panel where target element is dragging.
|
|
702
|
+
* <br/> options.insertBefore an element before the target element is dragging. It can be null if parent container (page or panel) is empty or dragging an element under the last element of the container.
|
|
703
|
+
* <br/> options.insertAfter an element after the target element is dragging. It can be null if parent container (page or panel) is empty or dragging element to the top of the parent container.
|
|
704
|
+
*/
|
|
705
|
+
onDragDropAllow: Event<(sender: CreatorBase, options: any) => any, any>;
|
|
706
|
+
/*
|
|
687
707
|
* This callback is used internally for providing survey JSON text.
|
|
688
708
|
*/
|
|
689
709
|
getSurveyJSONTextCallback: any;
|
|
@@ -797,6 +817,17 @@ export declare class CreatorBase extends Base implements ISurveyCreatorOptions,
|
|
|
797
817
|
*/
|
|
798
818
|
get isRTL(): boolean;
|
|
799
819
|
set isRTL(val: boolean);
|
|
820
|
+
/*
|
|
821
|
+
* The event is called when creator is going to change the active tab.
|
|
822
|
+
* <br/> sender the survey creator object that fires the event
|
|
823
|
+
* <br/> options.tabName the name of new active tab
|
|
824
|
+
*/
|
|
825
|
+
onActiveTabChanging: Event<(sender: CreatorBase, options: any) => any, any>;
|
|
826
|
+
/*
|
|
827
|
+
* The event is called when creator active tab is changed.
|
|
828
|
+
* <br/> sender the survey creator object that fires the event
|
|
829
|
+
* <br/> options.tabName the name of new active tab
|
|
830
|
+
*/
|
|
800
831
|
onActiveTabChanged: Event<(sender: CreatorBase, options: any) => any, any>;
|
|
801
832
|
/*
|
|
802
833
|
* Get/set the active tab.
|
|
@@ -1815,6 +1846,8 @@ export declare class SurveyLogicItem {
|
|
|
1815
1846
|
get name(): string;
|
|
1816
1847
|
get survey(): SurveyModel;
|
|
1817
1848
|
getVisibleLogicTypes(): Array<SurveyLogicType>;
|
|
1849
|
+
get expressionText(): any;
|
|
1850
|
+
get actionsText(): any;
|
|
1818
1851
|
getDisplayText(): any;
|
|
1819
1852
|
edit(): void;
|
|
1820
1853
|
remove(): void;
|