survey-creator-core 1.9.19 → 1.9.20
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 +49 -16
- package/survey-creator-core.d.ts +10 -8
- package/survey-creator-core.i18n.js +1 -1
- package/survey-creator-core.i18n.min.js +1 -1
- package/survey-creator-core.js +84 -50
- package/survey-creator-core.min.css +8 -8
- package/survey-creator-core.min.js +3 -3
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.20
|
|
3
3
|
* Copyright (c) 2015-2022 Devsoft Baltic OÜ - https://surveyjs.io/
|
|
4
4
|
* License: https://surveyjs.io/Licenses#SurveyCreator
|
|
5
5
|
*/
|
|
@@ -827,12 +827,13 @@ export declare class CreatorBase extends Base implements ISurveyCreatorOptions,
|
|
|
827
827
|
get showToolbox(): boolean;
|
|
828
828
|
set showToolbox(val: boolean);
|
|
829
829
|
showSidebarValue: boolean;
|
|
830
|
-
|
|
830
|
+
onShowSidebarVisibilityChanged: Event<(sender: CreatorBase, options: any) => any, any>;
|
|
831
831
|
/*
|
|
832
832
|
* Set this this property grid false to hide the property grid.
|
|
833
833
|
*/
|
|
834
834
|
get showSidebar(): boolean;
|
|
835
835
|
set showSidebar(val: boolean);
|
|
836
|
+
setShowSidebar(value: boolean, isManualMode?: boolean): void;
|
|
836
837
|
onShowPropertyGridVisiblityChanged: Event<(sender: CreatorBase, options: any) => any, any>;
|
|
837
838
|
get showPropertyGrid(): boolean;
|
|
838
839
|
set showPropertyGrid(val: boolean);
|
|
@@ -1087,7 +1088,6 @@ export declare class CreatorResponsivityManager {
|
|
|
1087
1088
|
resizeObserver: any;
|
|
1088
1089
|
currentWidth: any;
|
|
1089
1090
|
prevShowToolbox: any;
|
|
1090
|
-
prevToolboxIsCompact: any;
|
|
1091
1091
|
prevShowPageNavigator: any;
|
|
1092
1092
|
screenWidth: any;
|
|
1093
1093
|
devicePixelRatio: any;
|
|
@@ -1417,6 +1417,7 @@ export declare class QuestionToolbox extends AdaptiveActionContainer<QuestionToo
|
|
|
1417
1417
|
hasCategories: boolean;
|
|
1418
1418
|
canCollapseCategories: boolean;
|
|
1419
1419
|
isCompact: boolean;
|
|
1420
|
+
forceCompact: boolean;
|
|
1420
1421
|
setLocation(toolboxLocation: any): void;
|
|
1421
1422
|
/*
|
|
1422
1423
|
* The Array of Toolbox items as Text JSON.
|
|
@@ -1563,7 +1564,7 @@ export declare class SelectionHistory extends Base {
|
|
|
1563
1564
|
onObjSelected(obj: Base): void;
|
|
1564
1565
|
}
|
|
1565
1566
|
export declare class SidebarModel extends Base {
|
|
1566
|
-
constructor(creator: CreatorBase
|
|
1567
|
+
constructor(creator: CreatorBase);
|
|
1567
1568
|
toolbar: any;
|
|
1568
1569
|
_expandAction: Action;
|
|
1569
1570
|
_collapseAction: Action;
|
|
@@ -2663,7 +2664,7 @@ export declare class PropertyGridEditorMatrix extends PropertyGridEditor {
|
|
|
2663
2664
|
protected hasDetailPanel(): boolean;
|
|
2664
2665
|
hasPropertiesInDetail: boolean;
|
|
2665
2666
|
protected setupMatrixQuestion(obj: Base, matrix: QuestionMatrixDynamicModel, prop: JsonObjectProperty): void;
|
|
2666
|
-
protected getAllowRowDragDrop(): boolean;
|
|
2667
|
+
protected getAllowRowDragDrop(prop: JsonObjectProperty): boolean;
|
|
2667
2668
|
getJSON(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): any;
|
|
2668
2669
|
protected getMatrixJSON(obj: Base, prop: JsonObjectProperty, propNames: any, options: ISurveyCreatorOptions): any;
|
|
2669
2670
|
protected getHideColumnsEmpty(prop: JsonObjectProperty): boolean;
|
|
@@ -2768,7 +2769,7 @@ export declare class PropertyGridEditorMatrixColumns extends PropertyGridEditorM
|
|
|
2768
2769
|
protected getKeyValue(): string;
|
|
2769
2770
|
protected getBaseValue(prop: JsonObjectProperty): string;
|
|
2770
2771
|
protected getMaximumRowCount(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): number;
|
|
2771
|
-
protected getAllowRowDragDrop(): boolean;
|
|
2772
|
+
protected getAllowRowDragDrop(prop: JsonObjectProperty): boolean;
|
|
2772
2773
|
}
|
|
2773
2774
|
export declare class PropertyGridEditorMatrixHtmlConditions extends PropertyGridEditorMatrix {
|
|
2774
2775
|
constructor();
|
|
@@ -2780,7 +2781,7 @@ export declare class PropertyGridEditorMatrixItemValues extends PropertyGridEdit
|
|
|
2780
2781
|
constructor();
|
|
2781
2782
|
fit(prop: JsonObjectProperty): boolean;
|
|
2782
2783
|
isPropertyEditorSetupEnabled(obj: Base, prop: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions): boolean;
|
|
2783
|
-
protected getAllowRowDragDrop(): boolean;
|
|
2784
|
+
protected getAllowRowDragDrop(prop: JsonObjectProperty): boolean;
|
|
2784
2785
|
createPropertyEditorSetup(obj: Base, prop: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions): IPropertyEditorSetup;
|
|
2785
2786
|
canClearPropertyValue(obj: Base, prop: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions): boolean;
|
|
2786
2787
|
clearPropertyValue(obj: Base, prop: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions): void;
|
|
@@ -2816,7 +2817,7 @@ export declare class PropertyGridEditorMatrixPages extends PropertyGridEditorMat
|
|
|
2816
2817
|
protected hasDetailPanel(): boolean;
|
|
2817
2818
|
protected getKeyValue(): string;
|
|
2818
2819
|
protected getBaseValue(prop: JsonObjectProperty): string;
|
|
2819
|
-
protected getAllowRowDragDrop(): boolean;
|
|
2820
|
+
protected getAllowRowDragDrop(prop: JsonObjectProperty): boolean;
|
|
2820
2821
|
}
|
|
2821
2822
|
export declare class PropertyGridEditorMatrixUrlConditions extends PropertyGridEditorMatrix {
|
|
2822
2823
|
constructor();
|
|
@@ -2905,6 +2906,7 @@ export declare class PropertyGridEditorMatrixTriggers extends PropertyGridEditor
|
|
|
2905
2906
|
fit(prop: JsonObjectProperty): boolean;
|
|
2906
2907
|
protected getObjTypeName(): string;
|
|
2907
2908
|
protected getDefaultClassName(prop: JsonObjectProperty): string;
|
|
2909
|
+
protected getAllowRowDragDrop(prop: JsonObjectProperty): boolean;
|
|
2908
2910
|
protected getChoices(obj: Base): Array<any>;
|
|
2909
2911
|
}
|
|
2910
2912
|
export declare class PropertyGridEditorMatrixValidators extends PropertyGridEditorMatrixMultipleTypes {
|