survey-creator-core 1.12.2 → 1.12.3
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/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/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 +4 -1
- package/i18n/english.js.map +1 -1
- package/i18n/english.min.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/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 +177 -38
- package/survey-creator-core.fontless.css +176 -37
- package/survey-creator-core.fontless.css.map +1 -1
- package/survey-creator-core.fontless.min.css +8 -7
- package/survey-creator-core.i18n.js +1 -1
- package/survey-creator-core.i18n.min.js.LICENSE.txt +1 -1
- package/survey-creator-core.js +372 -220
- package/survey-creator-core.js.map +1 -1
- package/survey-creator-core.min.css +9 -8
- package/survey-creator-core.min.js +1 -1
- package/survey-creator-core.min.js.LICENSE.txt +1 -1
- package/typings/components/question.d.ts +1 -0
- package/typings/components/side-bar/side-bar-header-model.d.ts +11 -0
- package/typings/components/side-bar/side-bar-model.d.ts +3 -6
- package/typings/components/tabs/header-model.d.ts +1 -0
- package/typings/components/tabs/theme-plugin.d.ts +2 -0
- package/typings/editorLocalization.d.ts +3 -0
- package/typings/entries/index.d.ts +1 -0
- package/typings/localization/english.d.ts +3 -0
- package/typings/property-grid/index.d.ts +4 -0
|
@@ -42,6 +42,7 @@ export declare class QuestionAdornerViewModel extends SurveyElementAdornerBase {
|
|
|
42
42
|
private updateActionVisibilityByProp;
|
|
43
43
|
get isEmptyElement(): boolean;
|
|
44
44
|
get isEmptyTemplate(): boolean;
|
|
45
|
+
get showHiddenTitle(): boolean;
|
|
45
46
|
get placeholderText(): string;
|
|
46
47
|
private get dragDropHelper();
|
|
47
48
|
get isRequired(): any;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AdaptiveActionContainer, Base } from "survey-core";
|
|
2
|
+
export declare class SidebarHeaderModel extends Base {
|
|
3
|
+
toolbar: AdaptiveActionContainer;
|
|
4
|
+
title: string;
|
|
5
|
+
subTitle: string;
|
|
6
|
+
componentData: any;
|
|
7
|
+
componentName: string;
|
|
8
|
+
get component(): string;
|
|
9
|
+
get componentModel(): string;
|
|
10
|
+
reset(): void;
|
|
11
|
+
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { Base,
|
|
1
|
+
import { Base, Action, AnimationBoolean } from "survey-core";
|
|
2
2
|
import { SurveyCreatorModel } from "../../creator-base";
|
|
3
3
|
import { SidebarPageModel } from "./side-bar-page-model";
|
|
4
|
+
import { SidebarHeaderModel } from "./side-bar-header-model";
|
|
4
5
|
export declare class SidebarModel extends Base {
|
|
5
6
|
private creator;
|
|
6
|
-
|
|
7
|
+
header: SidebarHeaderModel;
|
|
7
8
|
private _expandAction;
|
|
8
9
|
private _collapseAction;
|
|
9
10
|
private _activePage;
|
|
10
11
|
private onSidebarVisibilityChanged;
|
|
11
12
|
private resizeManager;
|
|
12
13
|
pages: Array<SidebarPageModel>;
|
|
13
|
-
headerText: string;
|
|
14
14
|
_visible: boolean;
|
|
15
15
|
renderedIsVisible: boolean;
|
|
16
16
|
collapsedManually: boolean;
|
|
@@ -21,9 +21,6 @@ export declare class SidebarModel extends Base {
|
|
|
21
21
|
hideSideBarVisibilityControlActions: boolean;
|
|
22
22
|
sideAreaComponentName: string;
|
|
23
23
|
sideAreaComponentData: any;
|
|
24
|
-
headerComponentName: string;
|
|
25
|
-
headerComponentData: any;
|
|
26
|
-
get activePageModel(): SidebarPageModel;
|
|
27
24
|
private rootElement;
|
|
28
25
|
private getAnimationOptions;
|
|
29
26
|
private allowFlyoutMode;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Base, IHeader, ILoadFromJSONOptions, ISaveToJSONOptions, ISurvey, ITheme, HorizontalAlignment, VerticalAlignment } from "survey-core";
|
|
2
2
|
export declare class HeaderModel extends Base implements IHeader {
|
|
3
3
|
height: number;
|
|
4
|
+
mobileHeight: number;
|
|
4
5
|
inheritWidthFrom: "survey" | "container";
|
|
5
6
|
textAreaWidth: number;
|
|
6
7
|
overlapEnabled: boolean;
|
|
@@ -45,6 +45,7 @@ export declare class ThemeTabPlugin implements ICreatorPlugin {
|
|
|
45
45
|
private simulatorCssClasses;
|
|
46
46
|
private _availableThemes;
|
|
47
47
|
private _showOneCategoryInPropertyGrid;
|
|
48
|
+
private _advancedModeValue;
|
|
48
49
|
private tabControlModel;
|
|
49
50
|
propertyGrid: PropertyGridModel;
|
|
50
51
|
private propertyGridTab;
|
|
@@ -52,6 +53,7 @@ export declare class ThemeTabPlugin implements ICreatorPlugin {
|
|
|
52
53
|
themeModel: ThemeModel;
|
|
53
54
|
get showOneCategoryInPropertyGrid(): boolean;
|
|
54
55
|
set showOneCategoryInPropertyGrid(newValue: boolean);
|
|
56
|
+
private updateAdvancedModeQuestion;
|
|
55
57
|
private createVisibleUpdater;
|
|
56
58
|
private createAppearanceAdvancedModeAction;
|
|
57
59
|
private addSubGroupTitle;
|
|
@@ -915,6 +915,7 @@ export declare var defaultStrings: {
|
|
|
915
915
|
fontSize: string;
|
|
916
916
|
scale: string;
|
|
917
917
|
cornerRadius: string;
|
|
918
|
+
advancedMode: string;
|
|
918
919
|
pageTitle: string;
|
|
919
920
|
pageDescription: string;
|
|
920
921
|
questionTitle: string;
|
|
@@ -1542,6 +1543,7 @@ export declare var defaultStrings: {
|
|
|
1542
1543
|
inheritWidthFrom: string;
|
|
1543
1544
|
textAreaWidth: string;
|
|
1544
1545
|
overlapEnabled: string;
|
|
1546
|
+
mobileHeight: string;
|
|
1545
1547
|
};
|
|
1546
1548
|
panellayoutcolumn: {
|
|
1547
1549
|
effectiveWidth: string;
|
|
@@ -1628,6 +1630,7 @@ export declare var defaultStrings: {
|
|
|
1628
1630
|
imageFit: string;
|
|
1629
1631
|
altText: string;
|
|
1630
1632
|
height: string;
|
|
1633
|
+
mobileHeight: string;
|
|
1631
1634
|
penColor: string;
|
|
1632
1635
|
backgroundColor: string;
|
|
1633
1636
|
templateElements: string;
|
|
@@ -70,6 +70,7 @@ export * from "../svgbundle";
|
|
|
70
70
|
export * from "../textWorker";
|
|
71
71
|
export * from "../toolbox";
|
|
72
72
|
export * from "../components/side-bar/side-bar-model";
|
|
73
|
+
export * from "../components/side-bar/side-bar-header-model";
|
|
73
74
|
export * from "../components/side-bar/side-bar-page-model";
|
|
74
75
|
export * from "../components/side-bar/tab-control-model";
|
|
75
76
|
export * from "../components/switcher/switcher";
|
|
@@ -867,6 +867,7 @@ export declare var enStrings: {
|
|
|
867
867
|
fontSize: string;
|
|
868
868
|
scale: string;
|
|
869
869
|
cornerRadius: string;
|
|
870
|
+
advancedMode: string;
|
|
870
871
|
pageTitle: string;
|
|
871
872
|
pageDescription: string;
|
|
872
873
|
questionTitle: string;
|
|
@@ -1494,6 +1495,7 @@ export declare var enStrings: {
|
|
|
1494
1495
|
inheritWidthFrom: string;
|
|
1495
1496
|
textAreaWidth: string;
|
|
1496
1497
|
overlapEnabled: string;
|
|
1498
|
+
mobileHeight: string;
|
|
1497
1499
|
};
|
|
1498
1500
|
panellayoutcolumn: {
|
|
1499
1501
|
effectiveWidth: string;
|
|
@@ -1580,6 +1582,7 @@ export declare var enStrings: {
|
|
|
1580
1582
|
imageFit: string;
|
|
1581
1583
|
altText: string;
|
|
1582
1584
|
height: string;
|
|
1585
|
+
mobileHeight: string;
|
|
1583
1586
|
penColor: string;
|
|
1584
1587
|
backgroundColor: string;
|
|
1585
1588
|
templateElements: string;
|
|
@@ -185,6 +185,10 @@ export declare class PropertyGridEditorBoolean extends PropertyGridEditor {
|
|
|
185
185
|
getJSON(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): any;
|
|
186
186
|
isSupportGrouping(): boolean;
|
|
187
187
|
}
|
|
188
|
+
export declare class PropertyGridEditorSwitchToggle extends PropertyGridEditor {
|
|
189
|
+
fit(prop: JsonObjectProperty, context?: string): boolean;
|
|
190
|
+
getJSON(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): any;
|
|
191
|
+
}
|
|
188
192
|
export declare class PropertyGridEditorUndefinedBoolean extends PropertyGridEditor {
|
|
189
193
|
fit(prop: JsonObjectProperty, context?: string): boolean;
|
|
190
194
|
getJSON(obj: Base, prop: JsonObjectProperty, options: ISurveyCreatorOptions): any;
|