survey-creator-core 1.9.2-beta.1 → 1.9.3-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 +70 -22
- package/survey-creator-core.d.ts +11 -3
- package/survey-creator-core.js +145 -89
- package/survey-creator-core.min.css +7 -7
- 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.3-beta.1
|
|
2
2
|
(c) 2015-2021 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
3
3
|
Github: https://github.com/surveyjs/survey-creator
|
|
4
4
|
License: https://surveyjs.io/Licenses#SurveyCreator
|
|
@@ -3136,7 +3136,8 @@ export declare class TranslationGroup extends TranslationItemBase {
|
|
|
3136
3136
|
name: any;
|
|
3137
3137
|
obj: any;
|
|
3138
3138
|
text: string;
|
|
3139
|
-
|
|
3139
|
+
hasIndent: boolean;
|
|
3140
|
+
constructor(name: any, obj: any, translation?: ITranslationLocales, text?: string, hasIndent?: boolean);
|
|
3140
3141
|
getType(): string;
|
|
3141
3142
|
showHeader: boolean;
|
|
3142
3143
|
get items(): Array<TranslationItemBase>;
|
|
@@ -4387,6 +4388,7 @@ export interface IPropertyGridEditor {
|
|
|
4387
4388
|
onMatrixCellValueChanged?: (obj: Base, options: any) => void;
|
|
4388
4389
|
onMatrixAllowRemoveRow?: (obj: Base, row: any) => boolean;
|
|
4389
4390
|
onGetQuestionTitleActions?: (obj: Base, options: any) => void;
|
|
4391
|
+
onUpdateQuestionCssClasses?: (obj: Base, options: any) => void;
|
|
4390
4392
|
}
|
|
4391
4393
|
export declare var PropertyGridEditorCollection: {
|
|
4392
4394
|
editors: IPropertyGridEditor[];
|
|
@@ -4402,6 +4404,7 @@ export declare var PropertyGridEditorCollection: {
|
|
|
4402
4404
|
onMatrixCellValueChanged(obj: Base, prop: JsonObjectProperty, options: any): void;
|
|
4403
4405
|
onMatrixAllowRemoveRow(obj: Base, prop: JsonObjectProperty, row: MatrixDynamicRowModel): boolean;
|
|
4404
4406
|
onGetMatrixRowAction(obj: Base, prop: JsonObjectProperty, options: any, setObjFunc: (obj: Base) => void): void;
|
|
4407
|
+
onUpdateQuestionCssClasses(obj: Base, prop: JsonObjectProperty, options: any): void;
|
|
4405
4408
|
onGetQuestionTitleActions(obj: Base, prop: JsonObjectProperty, options: any): void;
|
|
4406
4409
|
onValueChanged(obj: Base, prop: JsonObjectProperty, question: Question): void;
|
|
4407
4410
|
onMasterValueChanged(obj: Base, prop: JsonObjectProperty, question: Question): void;
|
|
@@ -4693,6 +4696,7 @@ export declare abstract class PropertyGridValueEditorBase extends PropertyGridEd
|
|
|
4693
4696
|
getJSON(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): any;
|
|
4694
4697
|
onCreated: (obj: Base, question: Question, prop: JsonObjectProperty, options: ISurveyCreatorOptions) => void;
|
|
4695
4698
|
clearPropertyValue(obj: Base, prop: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions): void;
|
|
4699
|
+
onUpdateQuestionCssClasses(obj: Base, options: any): void;
|
|
4696
4700
|
protected isValueEmpty(val: any): boolean;
|
|
4697
4701
|
}
|
|
4698
4702
|
export declare class PropertyGridCellsEditor extends PropertyGridValueEditorBase {
|
|
@@ -4787,6 +4791,7 @@ export declare var propertyGridCss: {
|
|
|
4787
4791
|
pageTitle: string;
|
|
4788
4792
|
pageDescription: string;
|
|
4789
4793
|
row: string;
|
|
4794
|
+
rowMultiple: string;
|
|
4790
4795
|
question: {
|
|
4791
4796
|
mainRoot: string;
|
|
4792
4797
|
flowRoot: string;
|
|
@@ -5229,7 +5234,8 @@ export declare class SideBarModel extends Base {
|
|
|
5229
5234
|
getTabById(id: string): SideBarTabModel;
|
|
5230
5235
|
constructor(creator: CreatorBase, collapseAction?: () => void, expandAction?: () => void);
|
|
5231
5236
|
getExpandAction(): Action;
|
|
5232
|
-
|
|
5237
|
+
collapseSideBar(): void;
|
|
5238
|
+
expandSideBar(): void;
|
|
5233
5239
|
addTab(id: string, componentName?: string, model?: any, buildActions?: () => Array<Action>): SideBarTabModel;
|
|
5234
5240
|
updateHasVisibleTabs(): void;
|
|
5235
5241
|
dispose(): void;
|
|
@@ -5793,6 +5799,7 @@ export interface IPropertyGridEditor {
|
|
|
5793
5799
|
onMatrixCellValueChanged?: (obj: Base, options: any) => void;
|
|
5794
5800
|
onMatrixAllowRemoveRow?: (obj: Base, row: any) => boolean;
|
|
5795
5801
|
onGetQuestionTitleActions?: (obj: Base, options: any) => void;
|
|
5802
|
+
onUpdateQuestionCssClasses?: (obj: Base, options: any) => void;
|
|
5796
5803
|
}
|
|
5797
5804
|
export declare var PropertyGridEditorCollection: {
|
|
5798
5805
|
editors: IPropertyGridEditor[];
|
|
@@ -5808,6 +5815,7 @@ export declare var PropertyGridEditorCollection: {
|
|
|
5808
5815
|
onMatrixCellValueChanged(obj: Base, prop: JsonObjectProperty, options: any): void;
|
|
5809
5816
|
onMatrixAllowRemoveRow(obj: Base, prop: JsonObjectProperty, row: MatrixDynamicRowModel): boolean;
|
|
5810
5817
|
onGetMatrixRowAction(obj: Base, prop: JsonObjectProperty, options: any, setObjFunc: (obj: Base) => void): void;
|
|
5818
|
+
onUpdateQuestionCssClasses(obj: Base, prop: JsonObjectProperty, options: any): void;
|
|
5811
5819
|
onGetQuestionTitleActions(obj: Base, prop: JsonObjectProperty, options: any): void;
|
|
5812
5820
|
onValueChanged(obj: Base, prop: JsonObjectProperty, question: Question): void;
|
|
5813
5821
|
onMasterValueChanged(obj: Base, prop: JsonObjectProperty, question: Question): void;
|