survey-creator-core 1.9.54 → 1.9.56
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 +2 -2
- package/survey-creator-core.css +19 -13
- package/survey-creator-core.d.ts +16 -7
- package/survey-creator-core.i18n.js +15 -15
- package/survey-creator-core.i18n.min.js +2 -2
- package/survey-creator-core.js +235 -157
- package/survey-creator-core.min.css +7 -7
- 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.56
|
|
3
3
|
* Copyright (c) 2015-2022 Devsoft Baltic OÜ - https://surveyjs.io/
|
|
4
4
|
* License: https://surveyjs.io/Licenses#SurveyCreator
|
|
5
5
|
*/
|
|
@@ -864,7 +864,6 @@ export declare class CreatorBase extends Base implements ISurveyCreatorOptions,
|
|
|
864
864
|
* - `options.propertyName` - The name of the property.
|
|
865
865
|
* - `options.value` - A property value entered by a user.
|
|
866
866
|
* - `options.newValue` - A corrected property value. Specify this field if you want to override the `options.value`.
|
|
867
|
-
* - `options.doValidation` - Enable this field to validate the property value while the user enters it.
|
|
868
867
|
*/
|
|
869
868
|
onPropertyValueChanging: Event<(sender: CreatorBase, options: any) => any, any>;
|
|
870
869
|
/*
|
|
@@ -1499,7 +1498,7 @@ export declare class CreatorBase extends Base implements ISurveyCreatorOptions,
|
|
|
1499
1498
|
/*
|
|
1500
1499
|
* Upload the files on a server
|
|
1501
1500
|
*/
|
|
1502
|
-
uploadFiles(files: any, uploadingCallback: (status: string, data: any) => any): void;
|
|
1501
|
+
uploadFiles(files: any, question: Question, uploadingCallback: (status: string, data: any) => any): void;
|
|
1503
1502
|
initKeyboardShortcuts(rootNode: any): void;
|
|
1504
1503
|
removeKeyboardShortcuts(rootNode: any): void;
|
|
1505
1504
|
protected onKeyDownHandler: (event: any) => void;
|
|
@@ -1717,6 +1716,12 @@ export declare class LogoImageViewModel extends Base {
|
|
|
1717
1716
|
remove(model: LogoImageViewModel): void;
|
|
1718
1717
|
get chooseLogoPlaceholder(): string;
|
|
1719
1718
|
}
|
|
1719
|
+
export declare class MatrixCellWrapperEditSurvey {
|
|
1720
|
+
constructor(creator: CreatorBase, cellQuestion: Question);
|
|
1721
|
+
surveyValue: SurveyModel;
|
|
1722
|
+
get survey(): SurveyModel;
|
|
1723
|
+
apply(): void;
|
|
1724
|
+
}
|
|
1720
1725
|
export declare class MatrixCellWrapperViewModel extends Base {
|
|
1721
1726
|
constructor(creator: CreatorBase, templateData: any, question: Question, row: any, column: any);
|
|
1722
1727
|
creator: CreatorBase;
|
|
@@ -2539,6 +2544,8 @@ export declare class SurveyResultsModel extends Base {
|
|
|
2539
2544
|
resultData: any;
|
|
2540
2545
|
getLocString(name: string): string;
|
|
2541
2546
|
get surveyResultsText(): string;
|
|
2547
|
+
get surveyResultsTableText(): string;
|
|
2548
|
+
get surveyResultsJsonText(): string;
|
|
2542
2549
|
get resultsTitle(): string;
|
|
2543
2550
|
get resultsName(): string;
|
|
2544
2551
|
get resultsValue(): string;
|
|
@@ -2586,12 +2593,12 @@ export declare class SurveyTextWorker {
|
|
|
2586
2593
|
}
|
|
2587
2594
|
export declare class TabDesignerViewModel extends Base {
|
|
2588
2595
|
constructor(creator: CreatorBase);
|
|
2589
|
-
|
|
2596
|
+
cssUpdater: any;
|
|
2590
2597
|
pagesControllerValue: PagesController;
|
|
2591
2598
|
newPage: PageModel;
|
|
2592
2599
|
showNewPage: boolean;
|
|
2593
2600
|
pageCount: number;
|
|
2594
|
-
|
|
2601
|
+
designerCss: string;
|
|
2595
2602
|
showPlaceholder: boolean;
|
|
2596
2603
|
creator: CreatorBase;
|
|
2597
2604
|
get survey(): SurveyModel;
|
|
@@ -2602,7 +2609,6 @@ export declare class TabDesignerViewModel extends Base {
|
|
|
2602
2609
|
onDesignerSurveyPropertyChanged(obj: Base, propName: string): void;
|
|
2603
2610
|
initSurvey(): void;
|
|
2604
2611
|
clickDesigner(): void;
|
|
2605
|
-
getDesignerCss(): string;
|
|
2606
2612
|
getRootCss(): string;
|
|
2607
2613
|
}
|
|
2608
2614
|
export declare class TabbedMenuContainer extends AdaptiveActionContainer<TabbedMenuItem> {
|
|
@@ -2992,6 +2998,9 @@ export declare class SurveyConditionEditorItem extends ConditionEditorItem {
|
|
|
2992
2998
|
get isReady(): boolean;
|
|
2993
2999
|
toExpression(): string;
|
|
2994
3000
|
}
|
|
3001
|
+
export declare class SurveyCreatorModel extends CreatorBase {
|
|
3002
|
+
constructor(options: ICreatorOptions, options2?: ICreatorOptions);
|
|
3003
|
+
}
|
|
2995
3004
|
export declare class SurveyLogicUI extends SurveyLogic {
|
|
2996
3005
|
constructor(survey: SurveyModel, options?: ISurveyCreatorOptions);
|
|
2997
3006
|
survey: SurveyModel;
|
|
@@ -3275,7 +3284,6 @@ export declare class FastEntryEditorBase extends PropertyEditorSetupValue {
|
|
|
3275
3284
|
protected convertTextToItemValues(text: string): Array<ItemValue>;
|
|
3276
3285
|
get comment(): QuestionCommentModel;
|
|
3277
3286
|
protected getChoicesCount(): number;
|
|
3278
|
-
protected getPlaceHolder(): string;
|
|
3279
3287
|
protected get isValueUnique(): boolean;
|
|
3280
3288
|
protected getFirstUniqueValue(): boolean;
|
|
3281
3289
|
setComment(): void;
|
|
@@ -3660,6 +3668,7 @@ export declare function copyCssClasses(dest: any, source: any): void;
|
|
|
3660
3668
|
export declare function assignDefaultV2Classes(destination: any, questionType: string): void;
|
|
3661
3669
|
export declare function wrapTextByCurlyBraces(text: string): string;
|
|
3662
3670
|
export declare function capitalize(str: string): string;
|
|
3671
|
+
export declare function notShortCircuitAnd(args: any): boolean;
|
|
3663
3672
|
export declare function getLocString(strName: string, locale?: string): string;
|
|
3664
3673
|
export declare function updateLogicExpression(expression: string, varName: string, oldValue: any, newValue: any): string;
|
|
3665
3674
|
export declare function getLogicString(name: string): string;
|