survey-creator-core 1.9.121 → 1.9.122
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/README.md +5 -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 +1 -1
- package/i18n/bulgarian.js +1 -1
- package/i18n/bulgarian.min.js +1 -1
- package/i18n/croatian.js +1 -1
- package/i18n/croatian.min.js +1 -1
- package/i18n/czech.js +1 -1
- package/i18n/czech.min.js +1 -1
- package/i18n/danish.js +1 -1
- package/i18n/danish.min.js +1 -1
- package/i18n/dutch.js +1 -1
- package/i18n/dutch.min.js +1 -1
- package/i18n/english.js +2 -1
- package/i18n/english.js.map +1 -1
- package/i18n/english.min.js +2 -2
- package/i18n/finnish.js +1 -1
- package/i18n/finnish.min.js +1 -1
- package/i18n/french.js +1 -1
- package/i18n/french.min.js +1 -1
- package/i18n/german.js +1 -1
- package/i18n/german.min.js +1 -1
- package/i18n/hungarian.js +1 -1
- package/i18n/hungarian.min.js +1 -1
- package/i18n/index.js +1 -1
- package/i18n/index.min.js +1 -1
- package/i18n/indonesian.js +1 -1
- package/i18n/indonesian.min.js +1 -1
- package/i18n/italian.js +1 -1
- package/i18n/italian.min.js +1 -1
- package/i18n/japanese.js +1 -1
- package/i18n/japanese.min.js +1 -1
- package/i18n/korean.js +1 -1
- package/i18n/korean.min.js +1 -1
- package/i18n/malay.js +1 -1
- package/i18n/malay.min.js +1 -1
- package/i18n/mongolian.js +1 -1
- package/i18n/mongolian.min.js +1 -1
- package/i18n/norwegian.js +1 -1
- package/i18n/norwegian.min.js +1 -1
- package/i18n/persian.js +1 -1
- package/i18n/persian.min.js +1 -1
- package/i18n/polish.js +1 -1
- package/i18n/polish.min.js +1 -1
- package/i18n/portuguese.js +1 -1
- package/i18n/portuguese.min.js +1 -1
- package/i18n/russian.js +1 -1
- package/i18n/russian.min.js +1 -1
- package/i18n/simplified-chinese.js +1 -1
- package/i18n/simplified-chinese.min.js +1 -1
- package/i18n/slovak.js +1 -1
- package/i18n/slovak.min.js +1 -1
- package/i18n/spanish.js +1 -1
- package/i18n/spanish.min.js +1 -1
- package/i18n/swedish.js +1 -1
- package/i18n/swedish.min.js +1 -1
- package/i18n/tajik.js +1 -1
- package/i18n/tajik.min.js +1 -1
- package/i18n/traditional-chinese.js +1 -1
- package/i18n/traditional-chinese.min.js +1 -1
- package/i18n/turkish.js +1 -1
- package/i18n/turkish.min.js +1 -1
- package/package.json +2 -2
- package/survey-creator-core.css +18 -4
- package/survey-creator-core.fontless.css +17 -3
- package/survey-creator-core.fontless.css.map +1 -1
- package/survey-creator-core.fontless.min.css +6 -6
- package/survey-creator-core.i18n.js +1 -1
- package/survey-creator-core.i18n.min.js +1 -1
- package/survey-creator-core.js +227 -155
- package/survey-creator-core.js.map +1 -1
- package/survey-creator-core.min.css +7 -7
- package/survey-creator-core.min.js +5 -5
- package/typings/components/page-navigator/page-navigator.d.ts +3 -0
- package/typings/components/question-rating.d.ts +1 -0
- package/typings/components/tabs/theme-builder.d.ts +4 -0
- package/typings/components/tabs/theme-plugin.d.ts +2 -1
- package/typings/components/tabs/themes.d.ts +0 -2
- package/typings/custom-questions/question-color.d.ts +1 -0
- package/typings/editorLocalization.d.ts +1 -0
- package/typings/localization/english.d.ts +1 -0
- package/typings/property-grid/matrices.d.ts +1 -2
- package/typings/survey-elements.d.ts +2 -1
|
@@ -12,6 +12,7 @@ export declare class PageNavigatorViewModel extends Base {
|
|
|
12
12
|
private pcPropertyChangedHandler;
|
|
13
13
|
constructor(pagesController: PagesController, pageEditMode: string);
|
|
14
14
|
dispose(): void;
|
|
15
|
+
hasScrolling: boolean;
|
|
15
16
|
items: Array<IAction>;
|
|
16
17
|
visible: boolean;
|
|
17
18
|
isPopupOpened: boolean;
|
|
@@ -36,5 +37,7 @@ export declare class PageNavigatorViewModel extends Base {
|
|
|
36
37
|
static PAGE_NAVIGATION_MENU_ITEM_HEIGHT: number;
|
|
37
38
|
static PAGE_NAVIGATION_ITEM_HEIGHT: number;
|
|
38
39
|
protected updateVisibleItems(allAvailableHeight: number): void;
|
|
40
|
+
private _updateVisibility;
|
|
41
|
+
private updateVisibility;
|
|
39
42
|
get visibleItems(): IAction[];
|
|
40
43
|
}
|
|
@@ -18,6 +18,7 @@ export declare class QuestionRatingAdornerViewModel extends Base {
|
|
|
18
18
|
get allowRemove(): boolean;
|
|
19
19
|
get enableRemove(): boolean;
|
|
20
20
|
get removeClassNames(): string;
|
|
21
|
+
get controlsClassNames(): string;
|
|
21
22
|
get addTooltip(): string;
|
|
22
23
|
get removeTooltip(): string;
|
|
23
24
|
}
|
|
@@ -2,6 +2,10 @@ import { SurveySimulatorModel } from "../simulator";
|
|
|
2
2
|
import { Base, PageModel, SurveyModel, Action, IAction, ActionContainer, ITheme, EventBase } from "survey-core";
|
|
3
3
|
import { CreatorBase } from "../../creator-base";
|
|
4
4
|
import { UndoRedoManager } from "../../plugins/undo-redo/undo-redo-manager";
|
|
5
|
+
export declare function getThemeFullName(theme: ITheme): string;
|
|
6
|
+
export declare function getObjectDiffs(obj1: any, obj2?: any): any;
|
|
7
|
+
export declare function getThemeChanges(fullTheme: ITheme, baseTheme?: ITheme): ITheme;
|
|
8
|
+
export declare function findSuitableTheme(themeName: string, themePalette: string, themeMode: string, probeThemeFullName: string): ITheme;
|
|
5
9
|
export declare class ThemeBuilder extends Base {
|
|
6
10
|
private surveyProvider;
|
|
7
11
|
private startThemeClasses;
|
|
@@ -20,6 +20,7 @@ import { saveToFileHandler } from "../../utils/utils";
|
|
|
20
20
|
*/
|
|
21
21
|
export declare class ThemeTabPlugin implements ICreatorPlugin {
|
|
22
22
|
private creator;
|
|
23
|
+
static DefaultTheme: ITheme;
|
|
23
24
|
private previewAction;
|
|
24
25
|
private invisibleToggleAction;
|
|
25
26
|
private testAgainAction;
|
|
@@ -34,7 +35,7 @@ export declare class ThemeTabPlugin implements ICreatorPlugin {
|
|
|
34
35
|
private undoAction;
|
|
35
36
|
private redoAction;
|
|
36
37
|
private inputFileElement;
|
|
37
|
-
private
|
|
38
|
+
private simulatorCssClasses;
|
|
38
39
|
private sidebarTab;
|
|
39
40
|
private _availableThemes;
|
|
40
41
|
model: ThemeBuilder;
|
|
@@ -3,7 +3,6 @@ export declare const Themes: {
|
|
|
3
3
|
[index: string]: ITheme;
|
|
4
4
|
};
|
|
5
5
|
export declare const PredefinedThemes: string[];
|
|
6
|
-
export declare function getThemeFullName(theme: ITheme): string;
|
|
7
6
|
export declare const PredefinedColors: {
|
|
8
7
|
light: {
|
|
9
8
|
teal: string;
|
|
@@ -24,4 +23,3 @@ export declare const PredefinedColors: {
|
|
|
24
23
|
green: string;
|
|
25
24
|
};
|
|
26
25
|
};
|
|
27
|
-
export declare function findSuitableTheme(themeName: string, themePalette: string, themeMode: string, probeThemeFullName: string): ITheme;
|
|
@@ -3,6 +3,7 @@ export declare class QuestionColorModel extends QuestionTextModel {
|
|
|
3
3
|
allowEmptyValue: boolean;
|
|
4
4
|
constructor(name: string);
|
|
5
5
|
private getCorrectedValue;
|
|
6
|
+
protected isNewValueEqualsToValue(newValue: any): boolean;
|
|
6
7
|
protected setNewValue(newValue: string): void;
|
|
7
8
|
onBeforeInput(event: InputEvent): void;
|
|
8
9
|
onColorInputChange(event: Event): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Base, JsonObjectProperty,
|
|
1
|
+
import { Base, JsonObjectProperty, Question, QuestionMatrixDynamicModel } from "survey-core";
|
|
2
2
|
import { ISurveyCreatorOptions } from "../creator-settings";
|
|
3
3
|
import { IPropertyEditorSetup, PropertyGridEditor } from "./index";
|
|
4
4
|
export declare abstract class PropertyGridEditorMatrix extends PropertyGridEditor {
|
|
@@ -78,7 +78,6 @@ export declare class PropertyGridEditorMatrixColumns extends PropertyGridEditorM
|
|
|
78
78
|
}
|
|
79
79
|
export declare class PropertyGridEditorMatrixPages extends PropertyGridEditorMatrix {
|
|
80
80
|
fit(prop: JsonObjectProperty): boolean;
|
|
81
|
-
onMatrixAllowRemoveRow(obj: Base, row: MatrixDynamicRowModel): boolean;
|
|
82
81
|
protected getColumnClassName(obj: Base, prop: JsonObjectProperty): string;
|
|
83
82
|
protected getDefaulColumnNames(): Array<string>;
|
|
84
83
|
protected hasDetailPanel(): boolean;
|
|
@@ -16,7 +16,8 @@ export declare class DragDropSurveyElements extends DragDropCore<any> {
|
|
|
16
16
|
protected dragOverLocation: DragTypeOverMeEnum;
|
|
17
17
|
protected get draggedElementType(): string;
|
|
18
18
|
protected isDraggedElementSelected: boolean;
|
|
19
|
-
|
|
19
|
+
onGetMaxNestedPanels: () => number;
|
|
20
|
+
get maxNestedPanels(): number;
|
|
20
21
|
startDragToolboxItem(event: PointerEvent, draggedElementJson: JsonObject, toolboxItemModel: IQuestionToolboxItem): void;
|
|
21
22
|
startDragSurveyElement(event: PointerEvent, draggedElement: any, isElementSelected?: boolean): void;
|
|
22
23
|
protected getShortcutText(draggedElement: IShortcutText): string;
|