survey-creator-core 2.0.0 → 2.0.2
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/fesm/i18n/arabic.js +1 -1
- package/fesm/i18n/bulgarian.js +1 -1
- package/fesm/i18n/burmese.js +1 -1
- package/fesm/i18n/croatian.js +1 -1
- package/fesm/i18n/czech.js +1 -1
- package/fesm/i18n/danish.js +1 -1
- package/fesm/i18n/dutch.js +1 -1
- package/fesm/i18n/english.js +1 -1
- package/fesm/i18n/finnish.js +1 -1
- package/fesm/i18n/french.js +1 -1
- package/fesm/i18n/german.js +1 -1
- package/fesm/i18n/hebrew.js +1 -1
- package/fesm/i18n/hungarian.js +1 -1
- package/fesm/i18n/index.js +1 -1
- package/fesm/i18n/indonesian.js +1 -1
- package/fesm/i18n/italian.js +1 -1
- package/fesm/i18n/japanese.js +1 -1
- package/fesm/i18n/korean.js +1 -1
- package/fesm/i18n/malay.js +1 -1
- package/fesm/i18n/mongolian.js +1 -1
- package/fesm/i18n/norwegian.js +1 -1
- package/fesm/i18n/persian.js +1 -1
- package/fesm/i18n/polish.js +1 -1
- package/fesm/i18n/portuguese.js +1 -1
- package/fesm/i18n/romanian.js +1 -1
- package/fesm/i18n/russian.js +1 -1
- package/fesm/i18n/simplified-chinese.js +1 -1
- package/fesm/i18n/slovak.js +1 -1
- package/fesm/i18n/slovenian.js +1 -1
- package/fesm/i18n/spanish.js +1 -1
- package/fesm/i18n/swedish.js +1 -1
- package/fesm/i18n/tajik.js +1 -1
- package/fesm/i18n/thai.js +1 -1
- package/fesm/i18n/traditional-chinese.js +1 -1
- package/fesm/i18n/turkish.js +1 -1
- package/fesm/survey-creator-core.i18n.js +1 -1
- package/fesm/survey-creator-core.js +1680 -1374
- package/fesm/survey-creator-core.js.map +1 -1
- package/fesm/themes/index.js +34 -1
- package/fesm/themes/index.js.map +1 -1
- package/fonts.fontless.css +1 -1
- package/fonts.fontless.min.css +1 -1
- package/i18n/arabic.js +1 -1
- package/i18n/arabic.min.js.LICENSE.txt +1 -1
- package/i18n/bulgarian.js +1 -1
- package/i18n/bulgarian.min.js.LICENSE.txt +1 -1
- package/i18n/burmese.js +1 -1
- package/i18n/burmese.min.js.LICENSE.txt +1 -1
- package/i18n/croatian.js +1 -1
- package/i18n/croatian.min.js.LICENSE.txt +1 -1
- package/i18n/czech.js +1 -1
- package/i18n/czech.min.js.LICENSE.txt +1 -1
- package/i18n/danish.js +1 -1
- package/i18n/danish.min.js.LICENSE.txt +1 -1
- package/i18n/dutch.js +1 -1
- package/i18n/dutch.min.js.LICENSE.txt +1 -1
- package/i18n/english.js +1 -1
- package/i18n/english.min.js.LICENSE.txt +1 -1
- package/i18n/finnish.js +1 -1
- package/i18n/finnish.min.js.LICENSE.txt +1 -1
- package/i18n/french.js +1 -1
- package/i18n/french.min.js.LICENSE.txt +1 -1
- package/i18n/german.js +1 -1
- package/i18n/german.min.js.LICENSE.txt +1 -1
- package/i18n/hebrew.js +1 -1
- package/i18n/hebrew.min.js.LICENSE.txt +1 -1
- package/i18n/hungarian.js +1 -1
- package/i18n/hungarian.min.js.LICENSE.txt +1 -1
- package/i18n/index.js +1 -1
- package/i18n/index.min.js.LICENSE.txt +1 -1
- package/i18n/indonesian.js +1 -1
- package/i18n/indonesian.min.js.LICENSE.txt +1 -1
- package/i18n/italian.js +1 -1
- package/i18n/italian.min.js.LICENSE.txt +1 -1
- package/i18n/japanese.js +1 -1
- package/i18n/japanese.min.js.LICENSE.txt +1 -1
- package/i18n/korean.js +1 -1
- package/i18n/korean.min.js.LICENSE.txt +1 -1
- package/i18n/malay.js +1 -1
- package/i18n/malay.min.js.LICENSE.txt +1 -1
- package/i18n/mongolian.js +1 -1
- package/i18n/mongolian.min.js.LICENSE.txt +1 -1
- package/i18n/norwegian.js +1 -1
- package/i18n/norwegian.min.js.LICENSE.txt +1 -1
- package/i18n/persian.js +1 -1
- package/i18n/persian.min.js.LICENSE.txt +1 -1
- package/i18n/polish.js +1 -1
- package/i18n/polish.min.js.LICENSE.txt +1 -1
- package/i18n/portuguese.js +1 -1
- package/i18n/portuguese.min.js.LICENSE.txt +1 -1
- package/i18n/romanian.js +1 -1
- package/i18n/romanian.min.js.LICENSE.txt +1 -1
- package/i18n/russian.js +1 -1
- package/i18n/russian.min.js.LICENSE.txt +1 -1
- package/i18n/simplified-chinese.js +1 -1
- package/i18n/simplified-chinese.min.js.LICENSE.txt +1 -1
- package/i18n/slovak.js +1 -1
- package/i18n/slovak.min.js.LICENSE.txt +1 -1
- package/i18n/slovenian.js +1 -1
- package/i18n/slovenian.min.js.LICENSE.txt +1 -1
- package/i18n/spanish.js +1 -1
- package/i18n/spanish.min.js.LICENSE.txt +1 -1
- package/i18n/swedish.js +1 -1
- package/i18n/swedish.min.js.LICENSE.txt +1 -1
- package/i18n/tajik.js +1 -1
- package/i18n/tajik.min.js.LICENSE.txt +1 -1
- package/i18n/thai.js +1 -1
- package/i18n/thai.min.js.LICENSE.txt +1 -1
- package/i18n/traditional-chinese.js +1 -1
- package/i18n/traditional-chinese.min.js.LICENSE.txt +1 -1
- package/i18n/turkish.js +1 -1
- package/i18n/turkish.min.js.LICENSE.txt +1 -1
- package/package.json +2 -2
- package/survey-creator-core.css +260 -246
- package/survey-creator-core.fontless.css +259 -245
- package/survey-creator-core.fontless.css.map +1 -1
- package/survey-creator-core.fontless.min.css +22 -22
- package/survey-creator-core.i18n.js +1 -1
- package/survey-creator-core.i18n.min.js.LICENSE.txt +1 -1
- package/survey-creator-core.js +6372 -6002
- package/survey-creator-core.js.map +1 -1
- package/survey-creator-core.min.css +23 -23
- package/survey-creator-core.min.js +1 -1
- package/survey-creator-core.min.js.LICENSE.txt +1 -1
- package/themes/default-contrast.js +1 -1
- package/themes/default-contrast.min.js.LICENSE.txt +1 -1
- package/themes/default-dark.js +1 -1
- package/themes/default-dark.min.js.LICENSE.txt +1 -1
- package/themes/index.d.ts +33 -0
- package/themes/index.js +34 -1
- package/themes/index.js.map +1 -1
- package/themes/index.min.js +1 -1
- package/themes/index.min.js.LICENSE.txt +1 -1
- package/themes/sc2020.d.ts +33 -0
- package/themes/sc2020.js +34 -1
- package/themes/sc2020.js.map +1 -1
- package/themes/sc2020.min.js +1 -1
- package/themes/sc2020.min.js.LICENSE.txt +1 -1
- package/typings/components/action-container-view-model.d.ts +1 -85
- package/typings/components/page.d.ts +3 -7
- package/typings/components/question.d.ts +3 -4
- package/typings/components/row.d.ts +3 -3
- package/typings/components/scroll.d.ts +0 -1
- package/typings/components/string-editor.d.ts +3 -0
- package/typings/components/survey-element-adorner-base.d.ts +88 -0
- package/typings/components/tabs/designer-state-manager.d.ts +3 -1
- package/typings/components/tabs/logic-theme.d.ts +1 -13
- package/typings/creator-base.d.ts +42 -6
- package/typings/creator-events-api.d.ts +7 -0
- package/typings/creator-options.d.ts +12 -0
- package/typings/drag-drop-enums.d.ts +14 -0
- package/typings/{survey-elements.d.ts → dragdrop-survey-elements.d.ts} +14 -8
- package/typings/editorLocalization.d.ts +1 -0
- package/typings/entries/index.d.ts +2 -2
- package/typings/expand-collapse-manager.d.ts +1 -5
- package/typings/plugins/undo-redo/undo-redo-controller.d.ts +1 -0
- package/typings/property-grid/index.d.ts +1 -1
- package/typings/property-grid/matrices.d.ts +0 -1
- package/typings/question-editor/properties.d.ts +1 -0
- package/typings/survey-helper.d.ts +1 -1
- package/typings/utils/creator-locstrings.d.ts +9 -0
- package/typings/utils/creator-utils.d.ts +0 -2
|
@@ -70,6 +70,7 @@ export declare class PropertyGridTitleActionsCreator {
|
|
|
70
70
|
private options;
|
|
71
71
|
constructor(obj: Base, options: ISurveyCreatorOptions);
|
|
72
72
|
onGetQuestionTitleActions(options: any): void;
|
|
73
|
+
onValueChanged(obj: any, property: JsonObjectProperty, question: Question): void;
|
|
73
74
|
private createClearValueAction;
|
|
74
75
|
private showModalPropertyEditor;
|
|
75
76
|
private createEditorSetupAction;
|
|
@@ -101,7 +102,6 @@ export declare class PropertyJSONGenerator {
|
|
|
101
102
|
private createPanelJSON;
|
|
102
103
|
private createQuestionJSON;
|
|
103
104
|
private getColumnPropertyJSON;
|
|
104
|
-
private isPropertyVisible;
|
|
105
105
|
private getPanelTitle;
|
|
106
106
|
private getQuestionTitle;
|
|
107
107
|
private isQuestionTitleHidden;
|
|
@@ -23,7 +23,6 @@ export declare abstract class PropertyGridEditorMatrix extends PropertyGridEdito
|
|
|
23
23
|
protected getDefinedListProperties(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions, propGridDefinition: ISurveyPropertyGridDefinition): Array<any>;
|
|
24
24
|
protected getDefaultListProperties(prop: JsonObjectProperty): Array<string>;
|
|
25
25
|
protected getDefaulColumnNames(): Array<string>;
|
|
26
|
-
private isPropertyShownInList;
|
|
27
26
|
protected getObjTypeName(): string;
|
|
28
27
|
protected hasDetailPanel(): boolean;
|
|
29
28
|
private hasPropertiesInDetail;
|
|
@@ -24,7 +24,7 @@ export declare class SurveyHelper {
|
|
|
24
24
|
static getElements(element: any, includeHidden?: boolean): Array<any>;
|
|
25
25
|
static addElements(elements: Array<any>, isPanel: boolean, result: Array<any>): void;
|
|
26
26
|
static getAllElements(survey: SurveyModel, isPanel: boolean): Array<any>;
|
|
27
|
-
static isPropertyVisible(obj: any,
|
|
27
|
+
static isPropertyVisible(obj: any, prop: JsonObjectProperty, options?: ISurveyCreatorOptions, showMode?: string, parentObj?: any, parentProperty?: JsonObjectProperty): boolean;
|
|
28
28
|
static isNeedScrollIntoView(el: HTMLElement, scrollIfElementBiggerThanContainer?: boolean): undefined | "top" | "bottom";
|
|
29
29
|
static scrollIntoViewIfNeeded(el: HTMLElement, getOptions?: (overTop: boolean) => ScrollIntoViewOptions, scrollIfElementBiggerThanContainer?: boolean): void;
|
|
30
30
|
static getScrollableDiv(el: HTMLElement): HTMLElement;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { LocalizableString, SurveyModel, Base, JsonObjectProperty } from "survey-core";
|
|
2
|
+
import { ISurveyCreatorOptions } from "../creator-settings";
|
|
3
|
+
export declare function doMachineStringsTranslation(survey: SurveyModel, creatorOptions: ISurveyCreatorOptions, locales: Array<string>): void;
|
|
4
|
+
export interface ICollectLocalizableStringsOptions {
|
|
5
|
+
canShowProperty(reason: string, obj: Base, property: JsonObjectProperty, locStr: LocalizableString, isShowing: boolean, defaultValue?: any): boolean;
|
|
6
|
+
onAddLocalizedString(obj: Base, property: JsonObjectProperty, locStr: LocalizableString, translatedObj: any): void;
|
|
7
|
+
onCreateNewTranslateObj(obj: Base, property: JsonObjectProperty, translateObj: any): any;
|
|
8
|
+
}
|
|
9
|
+
export declare function collectLocalizableStrings(survey: SurveyModel, options: ICollectLocalizableStringsOptions, translateObj?: any): void;
|
|
@@ -2,8 +2,6 @@ import { ItemValue, Question, SurveyElement } from "survey-core";
|
|
|
2
2
|
export declare function getNextItemValue(prefix: string, choices: ItemValue[]): string | number;
|
|
3
3
|
export declare function getNextItemText(choices: ItemValue[]): string;
|
|
4
4
|
export declare function getNextValue(prefix: string, values: any[], isText?: boolean): string | number;
|
|
5
|
-
export declare function propertyExists(obj: any, propertyName: string): boolean;
|
|
6
|
-
export declare function isPropertyVisible(obj: any, propertyName: string): boolean;
|
|
7
5
|
export declare function getQuestionFromObj(obj: SurveyElement): Question;
|
|
8
6
|
export declare function scrollElementIntoView(elementId: string): void;
|
|
9
7
|
export declare function assignDefaultClasses(destination: any, questionType: string): void;
|