survey-creator-core 1.9.33 → 1.9.34
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 +2 -6
- package/survey-creator-core.d.ts +20 -4
- package/survey-creator-core.i18n.js +1 -1
- package/survey-creator-core.i18n.min.js +1 -1
- package/survey-creator-core.js +58 -22
- 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.34
|
|
3
3
|
* Copyright (c) 2015-2022 Devsoft Baltic OÜ - https://surveyjs.io/
|
|
4
4
|
* License: https://surveyjs.io/Licenses#SurveyCreator
|
|
5
5
|
*/
|
|
@@ -789,6 +789,22 @@ export declare class CreatorBase extends Base implements ISurveyCreatorOptions,
|
|
|
789
789
|
*/
|
|
790
790
|
onDragDropAllow: Event<(sender: CreatorBase, options: any) => any, any>;
|
|
791
791
|
/*
|
|
792
|
+
* Use this event to override/disable element adorners - wrapping component name.
|
|
793
|
+
* <br/> sender the survey creator object that fires the event.
|
|
794
|
+
* <br/> options.element a survey object to be wrapped.
|
|
795
|
+
* <br/> options.reason why we need to wrap an element.
|
|
796
|
+
* <br/> options.conponentName component wrapper name.
|
|
797
|
+
*/
|
|
798
|
+
onGetElementWrapperComponentName: Event<(sender: CreatorBase, options: any) => any, any>;
|
|
799
|
+
/*
|
|
800
|
+
* Use this event to override/disable element adorners - wrapping component data.
|
|
801
|
+
* <br/> sender the survey creator object that fires the event.
|
|
802
|
+
* <br/> options.element a survey object to be wrapped.
|
|
803
|
+
* <br/> options.reason why we need to wrap an element.
|
|
804
|
+
* <br/> options.conponentData component wrapper data.
|
|
805
|
+
*/
|
|
806
|
+
onGetElementWrapperComponentData: Event<(sender: CreatorBase, options: any) => any, any>;
|
|
807
|
+
/*
|
|
792
808
|
* This callback is used internally for providing survey JSON text.
|
|
793
809
|
*/
|
|
794
810
|
getSurveyJSONTextCallback: any;
|
|
@@ -2871,8 +2887,6 @@ export declare class PropertyGridEditorMatrix extends PropertyGridEditor {
|
|
|
2871
2887
|
onMatrixCellCreated(obj: Base, options: any): void;
|
|
2872
2888
|
onGetMatrixRowAction(obj: Base, options: any, setObjFunc: (obj: Base) => void): void;
|
|
2873
2889
|
onGetQuestionTitleActions(obj: Base, options: any): void;
|
|
2874
|
-
onValueChanged(obj: Base, prop: JsonObjectProperty, question: Question): void;
|
|
2875
|
-
protected updateTitleActions(question: Question): void;
|
|
2876
2890
|
protected createNewItem(matrix: QuestionMatrixDynamicModel, prop: JsonObjectProperty): Base;
|
|
2877
2891
|
protected getDefaultClassName(prop: JsonObjectProperty): string;
|
|
2878
2892
|
protected getBaseValue(prop: JsonObjectProperty): string;
|
|
@@ -3179,6 +3193,8 @@ export declare function getItemValueWrapperComponentName(item: ItemValue, questi
|
|
|
3179
3193
|
export declare function getItemValueWrapperComponentData(item: ItemValue, question: QuestionSelectBase, creator: CreatorBase): any;
|
|
3180
3194
|
export declare function isStringEditable(element: any, name: string): boolean;
|
|
3181
3195
|
export declare function isTextInput(target: any): boolean;
|
|
3196
|
+
export declare function registerAdorner(name: any, adorner: any): void;
|
|
3197
|
+
export declare function removeAdorners(names?: any): void;
|
|
3182
3198
|
export declare var settings: {
|
|
3183
3199
|
translation: {
|
|
3184
3200
|
sortByName: boolean,
|
|
@@ -3435,11 +3451,11 @@ export declare var propertyGridCss: {
|
|
|
3435
3451
|
mainRoot: string,
|
|
3436
3452
|
root: string,
|
|
3437
3453
|
item: string,
|
|
3438
|
-
control: string,
|
|
3439
3454
|
itemChecked: string,
|
|
3440
3455
|
itemIndeterminate: string,
|
|
3441
3456
|
itemDisabled: string,
|
|
3442
3457
|
svgIconId: string,
|
|
3458
|
+
controlCheckbox: string,
|
|
3443
3459
|
label: string,
|
|
3444
3460
|
disabledLabel: string,
|
|
3445
3461
|
itemDecorator: string,
|