survey-creator-core 1.12.10 → 1.12.12
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 +3 -2
- 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 +12120 -424
- package/survey-creator-core.fontless.css +12119 -423
- package/survey-creator-core.fontless.css.map +1 -1
- package/survey-creator-core.fontless.min.css +46 -45
- package/survey-creator-core.i18n.js +1 -1
- package/survey-creator-core.i18n.min.js.LICENSE.txt +1 -1
- package/survey-creator-core.js +795 -467
- package/survey-creator-core.js.map +1 -1
- package/survey-creator-core.min.css +47 -46
- package/survey-creator-core.min.js +1 -1
- package/survey-creator-core.min.js.LICENSE.txt +1 -1
- package/themes/default-contrast.js +127 -62
- package/themes/default-contrast.js.map +1 -1
- package/themes/default-contrast.min.js +1 -1
- package/themes/default-contrast.min.js.LICENSE.txt +1 -1
- package/themes/default-dark.js +127 -62
- package/themes/default-dark.js.map +1 -1
- package/themes/default-dark.min.js +1 -1
- package/themes/default-dark.min.js.LICENSE.txt +1 -1
- package/themes/default-light.js +127 -62
- package/themes/default-light.js.map +1 -1
- package/themes/default-light.min.js +1 -1
- package/themes/default-light.min.js.LICENSE.txt +1 -1
- package/themes/index.js +129 -62
- 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/themes/default-contrast.d.ts +2 -0
- package/themes/themes/default-dark.d.ts +2 -0
- package/themes/themes/default-light.d.ts +2 -0
- package/themes/themes/default.d.ts +142 -14
- package/themes/themes/index.d.ts +3 -0
- package/typings/components/action-container-view-model.d.ts +2 -1
- package/typings/components/question-dropdown.d.ts +2 -1
- package/typings/components/question.d.ts +3 -4
- package/typings/components/row.d.ts +4 -0
- package/typings/components/scroll.d.ts +13 -0
- package/typings/components/tabs/designer.d.ts +1 -1
- package/typings/components/tabs/logic-types.d.ts +1 -1
- package/typings/components/tabs/logic.d.ts +3 -2
- package/typings/components/tabs/test-plugin.d.ts +3 -0
- package/typings/components/tabs/theme-plugin.d.ts +1 -0
- package/typings/components/tabs/translation-plugin.d.ts +7 -0
- package/typings/creator-base.d.ts +26 -5
- package/typings/creator-events-api.d.ts +15 -0
- package/typings/creator-options.d.ts +16 -0
- package/typings/creator-settings.d.ts +8 -6
- package/typings/creator-theme/creator-theme-model.d.ts +1 -0
- package/typings/creator-theme/creator-themes.d.ts +1 -0
- package/typings/editorLocalization.d.ts +1 -0
- package/typings/entries/index.d.ts +1 -0
- package/typings/expand-collapse-manager.d.ts +3 -0
- package/typings/localization/english.d.ts +1 -0
- package/typings/property-grid/condition-survey.d.ts +4 -0
- package/typings/property-grid/matrices.d.ts +1 -0
- package/typings/property-grid-theme/property-grid.d.ts +1 -0
- package/typings/survey-elements.d.ts +1 -0
- package/typings/svgbundle.d.ts +6 -0
- package/typings/themes/default-contrast.d.ts +2 -0
- package/typings/themes/default-dark.d.ts +2 -0
- package/typings/themes/default-light.d.ts +2 -0
- package/typings/themes/default.d.ts +142 -14
- package/typings/themes/index.d.ts +3 -0
- package/typings/toolbox.d.ts +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Base, SurveyModel, Question, PageModel, IElement, JsonObjectProperty, ActionContainer, IAction, Action, IPanel, SurveyElement, ItemValue, QuestionSelectBase, LocalizableString, ILocalizableString, ILocalizableOwner, PopupBaseViewModel, EventBase, MatrixDropdownColumn, ISurveyElement, ITheme } from "survey-core";
|
|
1
|
+
import { Base, SurveyModel, Question, PanelModel, PageModel, IElement, JsonObjectProperty, ActionContainer, IAction, Action, IPanel, SurveyElement, ItemValue, QuestionSelectBase, LocalizableString, ILocalizableString, ILocalizableOwner, PopupBaseViewModel, EventBase, MatrixDropdownColumn, ISurveyElement, ITheme } from "survey-core";
|
|
2
2
|
import { ICreatorPlugin, ISurveyCreatorOptions, ICollectionItemAllowOperations } from "./creator-settings";
|
|
3
3
|
import { DragDropChoices } from "survey-core";
|
|
4
4
|
import { QuestionToolbox, QuestionToolboxItem } from "./toolbox";
|
|
@@ -14,7 +14,7 @@ import { ICreatorOptions } from "./creator-options";
|
|
|
14
14
|
import { ThemeTabPlugin } from "./components/tabs/theme-plugin";
|
|
15
15
|
import { DragDropSurveyElements } from "./survey-elements";
|
|
16
16
|
import { PageAdorner } from "./components/page";
|
|
17
|
-
import { ElementDeletingEvent, PropertyGetReadOnlyEvent, ElementGetDisplayNameEvent, HtmlToMarkdownEvent, ElementAllowOperationsEvent, ElementGetActionsEvent, PropertyAddingEvent, PropertyGridSurveyCreatedEvent, PropertyEditorCreatedEvent, PropertyEditorUpdateTitleActionsEvent, PropertyGridShowPopupEvent, CollectionItemAllowOperationsEvent, CollectionItemAddedEvent, FastEntryItemsEvent as FastEntryFinishedEvent, MatrixColumnAddedEvent, ConfigureTablePropertyEditorEvent, PropertyDisplayCustomErrorEvent, PropertyValueChangingEvent, PropertyValueChangedEvent, ConditionGetQuestionListEvent, GetConditionOperatorEvent, LogicRuleGetDisplayTextEvent, ModifiedEvent, QuestionAddedEvent, PanelAddedEvent, PageAddedEvent, QuestionConvertingEvent, PageGetFooterActionsEvent, SurveyInstanceCreatedEvent, DesignerSurveyCreatedEvent, PreviewSurveyCreatedEvent, NotifyEvent, ElementFocusingEvent, ElementFocusedEvent, OpenFileChooserEvent, UploadFileEvent, TranslationStringVisibilityEvent, TranslationImportItemEvent, TranslationImportedEvent, TranslationExportItemEvent, MachineTranslateEvent, TranslationItemChangingEvent, DragDropAllowEvent, CreateCustomMessagePanelEvent, ActiveTabChangingEvent, ActiveTabChangedEvent, BeforeUndoEvent, BeforeRedoEvent, PageAddingEvent, DragStartEndEvent } from "./creator-events-api";
|
|
17
|
+
import { ElementDeletingEvent, PropertyGetReadOnlyEvent, ElementGetDisplayNameEvent, HtmlToMarkdownEvent, ElementAllowOperationsEvent, ElementGetActionsEvent, PropertyAddingEvent, PropertyGridSurveyCreatedEvent, PropertyEditorCreatedEvent, PropertyEditorUpdateTitleActionsEvent, PropertyGridShowPopupEvent, CollectionItemAllowOperationsEvent, CollectionItemAddedEvent, FastEntryItemsEvent as FastEntryFinishedEvent, MatrixColumnAddedEvent, ConfigureTablePropertyEditorEvent, PropertyDisplayCustomErrorEvent, PropertyValueChangingEvent, PropertyValueChangedEvent, ConditionGetQuestionListEvent, GetConditionOperatorEvent, LogicRuleGetDisplayTextEvent, ModifiedEvent, QuestionAddedEvent, PanelAddedEvent, PageAddedEvent, QuestionConvertingEvent, PageGetFooterActionsEvent, SurveyInstanceCreatedEvent, DesignerSurveyCreatedEvent, PreviewSurveyCreatedEvent, NotifyEvent, ElementFocusingEvent, ElementFocusedEvent, OpenFileChooserEvent, UploadFileEvent, TranslationStringVisibilityEvent, TranslationImportItemEvent, TranslationImportedEvent, TranslationExportItemEvent, MachineTranslateEvent, TranslationItemChangingEvent, DragDropAllowEvent, CreateCustomMessagePanelEvent, ActiveTabChangingEvent, ActiveTabChangedEvent, BeforeUndoEvent, BeforeRedoEvent, PageAddingEvent, DragStartEndEvent, ElementGetExpandCollapseStateEvent, ElementGetExpandCollapseStateEventReason } from "./creator-events-api";
|
|
18
18
|
import { ExpandCollapseManager } from "./expand-collapse-manager";
|
|
19
19
|
import { ICreatorTheme } from "./creator-theme/creator-themes";
|
|
20
20
|
import { TabbedMenuContainer, TabbedMenuItem } from "./tabbed-menu";
|
|
@@ -148,10 +148,27 @@ export declare class SurveyCreatorModel extends Base implements ISurveyCreatorOp
|
|
|
148
148
|
showSearch: boolean;
|
|
149
149
|
generateValidJSON: boolean;
|
|
150
150
|
currentAddQuestionType: string;
|
|
151
|
+
/**
|
|
152
|
+
* Specifies a default device for survey preview in the Preview tab.
|
|
153
|
+
*
|
|
154
|
+
* Possible values:
|
|
155
|
+
*
|
|
156
|
+
* - `"desktop"` (default)
|
|
157
|
+
* - `"iPhoneSE"`
|
|
158
|
+
* - `"iPhone15"`
|
|
159
|
+
* - `"iPhone15Plus"`
|
|
160
|
+
* - `"iPad"`
|
|
161
|
+
* - `"iPadMini"`
|
|
162
|
+
* - `"androidPhone"`
|
|
163
|
+
* - `"androidTablet"`
|
|
164
|
+
* - `"microsoftSurface"`
|
|
165
|
+
*/
|
|
166
|
+
previewDevice: string;
|
|
151
167
|
/**
|
|
152
168
|
* Specifies the orientation of the selected device in the Preview tab.
|
|
153
169
|
*
|
|
154
170
|
* Possible values:
|
|
171
|
+
*
|
|
155
172
|
* - `"landscape"` (default)
|
|
156
173
|
* - `"portrait"`
|
|
157
174
|
*/
|
|
@@ -253,6 +270,7 @@ export declare class SurveyCreatorModel extends Base implements ISurveyCreatorOp
|
|
|
253
270
|
* An event that is raised after a user has edited a text value on the design surface. This value may include HTML markup. You can handle the `onHtmlToMarkdown` event to convert the HTML markup to Markdown.
|
|
254
271
|
*/
|
|
255
272
|
onHtmlToMarkdown: EventBase<SurveyCreatorModel, HtmlToMarkdownEvent>;
|
|
273
|
+
onElementGetExpandCollapseState: EventBase<SurveyCreatorModel, ElementGetExpandCollapseStateEvent>;
|
|
256
274
|
/**
|
|
257
275
|
* An event that is raised when Survey Creator obtains permitted operations for a survey element. Use this event to disable user interactions with a question, panel, or page on the design surface.
|
|
258
276
|
*
|
|
@@ -953,7 +971,6 @@ export declare class SurveyCreatorModel extends Base implements ISurveyCreatorOp
|
|
|
953
971
|
private initPlugins;
|
|
954
972
|
private initFooterToolbar;
|
|
955
973
|
getOptions(): ICreatorOptions;
|
|
956
|
-
protected registerIcons(): void;
|
|
957
974
|
protected setOptions(options: ICreatorOptions): void;
|
|
958
975
|
private setPropertyPlaceHolder;
|
|
959
976
|
private setPropertyVisibility;
|
|
@@ -1020,8 +1037,11 @@ export declare class SurveyCreatorModel extends Base implements ISurveyCreatorOp
|
|
|
1020
1037
|
onAfterDrop: EventBase<any, DragStartEndEvent>;
|
|
1021
1038
|
private initDragDropSurveyElements;
|
|
1022
1039
|
get designerStateManager(): import("./components/tabs/designer-state-manager").DesignerStateManager;
|
|
1023
|
-
|
|
1024
|
-
|
|
1040
|
+
private getCollapsableElements;
|
|
1041
|
+
collapseAllElements(): void;
|
|
1042
|
+
getElementExpandCollapseState(element: Question | PageModel | PanelModel, reason: ElementGetExpandCollapseStateEventReason, defaultValue: boolean): boolean;
|
|
1043
|
+
private restoreState;
|
|
1044
|
+
restoreElementsState(): void;
|
|
1025
1045
|
private initDragDropChoices;
|
|
1026
1046
|
updateElementsOnLocaleChanged(obj: Base, propertyName: string): void;
|
|
1027
1047
|
updateConditionsOnNameChanged(obj: Base, propertyName: string, oldValue: any): void;
|
|
@@ -1087,6 +1107,7 @@ export declare class SurveyCreatorModel extends Base implements ISurveyCreatorOp
|
|
|
1087
1107
|
setModified(options?: any): void;
|
|
1088
1108
|
notifySurveyPropertyChanged(options: any): void;
|
|
1089
1109
|
notifySurveyItemMoved(options: any): void;
|
|
1110
|
+
notifySurveyItemConverted(newElement: Base, oldElement: Base): void;
|
|
1090
1111
|
/**
|
|
1091
1112
|
* Displays a toast notification with a specified message.
|
|
1092
1113
|
*
|
|
@@ -79,6 +79,21 @@ export interface HtmlToMarkdownEvent {
|
|
|
79
79
|
*/
|
|
80
80
|
text: string;
|
|
81
81
|
}
|
|
82
|
+
export type ElementGetExpandCollapseStateEventReason = "loading" | "collapse-all" | "expand-all" | "drag-start" | "drag-end";
|
|
83
|
+
export interface ElementGetExpandCollapseStateEvent {
|
|
84
|
+
/**
|
|
85
|
+
* A survey element (question, panel, or page) whose expand/collapse state you can switch.
|
|
86
|
+
*/
|
|
87
|
+
element: Question | PanelModel | PageModel;
|
|
88
|
+
/**
|
|
89
|
+
* Indicates whether the element is currently collapsed or expanded. Set this parameter to `true` if you want to collapse the element or `false` to expand it.
|
|
90
|
+
*/
|
|
91
|
+
collapsed: boolean;
|
|
92
|
+
/**
|
|
93
|
+
* A value that indicates what caused the event to raise: the loading of a survey JSON schema, a click on the Expand All or Collapse All button, or the beginning or end of a drag and drop operation.
|
|
94
|
+
*/
|
|
95
|
+
reason: ElementGetExpandCollapseStateEventReason;
|
|
96
|
+
}
|
|
82
97
|
export interface ElementAllowOperationsEvent {
|
|
83
98
|
/**
|
|
84
99
|
* A survey element (question or panel) for which you can disable user interactions.
|
|
@@ -229,6 +229,22 @@ export interface ICreatorOptions {
|
|
|
229
229
|
* [View Demo](https://surveyjs.io/Examples/Creator?id=theme-switcher (linkStyle))
|
|
230
230
|
*/
|
|
231
231
|
allowChangeThemeInPreview?: boolean;
|
|
232
|
+
/**
|
|
233
|
+
* Specifies a default device for survey preview in the Preview tab.
|
|
234
|
+
*
|
|
235
|
+
* Possible values:
|
|
236
|
+
*
|
|
237
|
+
* - `"desktop"` (default)
|
|
238
|
+
* - `"iPhoneSE"`
|
|
239
|
+
* - `"iPhone15"`
|
|
240
|
+
* - `"iPhone15Plus"`
|
|
241
|
+
* - `"iPad"`
|
|
242
|
+
* - `"iPadMini"`
|
|
243
|
+
* - `"androidPhone"`
|
|
244
|
+
* - `"androidTablet"`
|
|
245
|
+
* - `"microsoftSurface"`
|
|
246
|
+
*/
|
|
247
|
+
previewDevice?: string;
|
|
232
248
|
/**
|
|
233
249
|
* Specifies the orientation of the selected device in the Preview tab.
|
|
234
250
|
*
|
|
@@ -56,7 +56,9 @@ export declare var settings: {
|
|
|
56
56
|
checkbox: string;
|
|
57
57
|
tagbox: string;
|
|
58
58
|
};
|
|
59
|
-
|
|
59
|
+
includeComplexQuestions: boolean;
|
|
60
|
+
visibleActions: string[];
|
|
61
|
+
invisibleTriggers: string[];
|
|
60
62
|
logicItemTitleMaxChars: number;
|
|
61
63
|
openBracket: string;
|
|
62
64
|
closeBracket: string;
|
|
@@ -211,11 +213,11 @@ export interface ISurveyCreatorOptions {
|
|
|
211
213
|
onMatrixDropdownColumnAddedCallback(matrix: Question, column: MatrixDropdownColumn, columns: Array<MatrixDropdownColumn>): any;
|
|
212
214
|
onSetPropertyEditorOptionsCallback(propertyName: string, obj: Base, editorOptions: any): any;
|
|
213
215
|
onGetErrorTextOnValidationCallback(propertyName: string, obj: Base, value: any): string;
|
|
214
|
-
onValueChangingCallback(options: any):
|
|
216
|
+
onValueChangingCallback(options: any): void;
|
|
215
217
|
onGetElementEditorTitleCallback(obj: Base, title: string): string;
|
|
216
|
-
startUndoRedoTransaction():
|
|
217
|
-
stopUndoRedoTransaction():
|
|
218
|
-
createSurvey(json: any, reason: string, model?: any, callback?: (survey: SurveyModel) => void, area?: string):
|
|
218
|
+
startUndoRedoTransaction(name?: string): void;
|
|
219
|
+
stopUndoRedoTransaction(): void;
|
|
220
|
+
createSurvey(json: any, reason: string, model?: any, callback?: (survey: SurveyModel) => void, area?: string): SurveyModel;
|
|
219
221
|
onConditionQuestionsGetListCallback(propertyName: string, obj: Base, editor: any, list: any[], variables: string[]): string;
|
|
220
222
|
onConditionGetTitleCallback(expression: string, title: string): string;
|
|
221
223
|
isConditionOperatorEnabled(questionName: string, question: Question, operator: string, isEnabled: boolean): boolean;
|
|
@@ -277,7 +279,7 @@ export declare class EmptySurveyCreatorOptions implements ISurveyCreatorOptions
|
|
|
277
279
|
onGetErrorTextOnValidationCallback(propertyName: string, obj: Base, value: any): string;
|
|
278
280
|
onValueChangingCallback(options: any): void;
|
|
279
281
|
onGetElementEditorTitleCallback(obj: Base, title: string): string;
|
|
280
|
-
startUndoRedoTransaction(): void;
|
|
282
|
+
startUndoRedoTransaction(name?: string): void;
|
|
281
283
|
stopUndoRedoTransaction(): void;
|
|
282
284
|
createSurvey(json: any, reason: string, model?: any, callback?: (survey: SurveyModel) => void, area?: string): SurveyModel;
|
|
283
285
|
onConditionQuestionsGetListCallback(propertyName: string, obj: Base, editor: any, list: any[], variables: string[]): string;
|
|
@@ -36,6 +36,7 @@ export declare class CreatorThemeModel extends Base implements ICreatorTheme {
|
|
|
36
36
|
};
|
|
37
37
|
private cssVariableChangedHandler;
|
|
38
38
|
private setThemeCssVariablesChanges;
|
|
39
|
+
private resetColorThemeCssVariablesChanges;
|
|
39
40
|
private onThemePropertyValueChangedCallback;
|
|
40
41
|
private scalePropertiesChanged;
|
|
41
42
|
private scalingProperties;
|
|
@@ -49,6 +49,7 @@ export * from "../components/string-editor";
|
|
|
49
49
|
export * from "../components/embedded-survey";
|
|
50
50
|
export * from "../components/link-value";
|
|
51
51
|
export * from "../components/search-manager";
|
|
52
|
+
export * from "../components/scroll";
|
|
52
53
|
export * from "../editorLocalization";
|
|
53
54
|
export * from "../json5";
|
|
54
55
|
export * from "../custom-questions/question-spin-editor";
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { CreatorBase } from "./creator-base";
|
|
2
2
|
import { SurveyElementAdornerBase } from "./components/action-container-view-model";
|
|
3
3
|
export declare class ExpandCollapseManager {
|
|
4
|
+
private creator;
|
|
5
|
+
private lockQuestions;
|
|
4
6
|
constructor(creator: CreatorBase);
|
|
5
7
|
private adorners;
|
|
6
8
|
updateCollapsed(isCollapsed: boolean): void;
|
|
7
9
|
add(adorner: SurveyElementAdornerBase): void;
|
|
8
10
|
remove(adorner: SurveyElementAdornerBase): void;
|
|
11
|
+
clear(): void;
|
|
9
12
|
}
|
|
@@ -76,7 +76,10 @@ export declare class ConditionEditor extends PropertyEditorSetupValue {
|
|
|
76
76
|
setIsFastEntry(showTextEdit: boolean): void;
|
|
77
77
|
private buildPanels;
|
|
78
78
|
private isSettingPanelValues;
|
|
79
|
+
private getIsOperatorEnabled;
|
|
80
|
+
private isContainerQuestion;
|
|
79
81
|
private setupConditionOperator;
|
|
82
|
+
private updateConditionChoices;
|
|
80
83
|
private setupConditionQuestionName;
|
|
81
84
|
private setupRemoveQuestion;
|
|
82
85
|
private setItemToPanel;
|
|
@@ -91,6 +94,7 @@ export declare class ConditionEditor extends PropertyEditorSetupValue {
|
|
|
91
94
|
private getContextFromPanels;
|
|
92
95
|
private updateNamesOnContextChanged;
|
|
93
96
|
private getContextByQuestionName;
|
|
97
|
+
private getConditionQuestionText;
|
|
94
98
|
private createAllConditionQuestions;
|
|
95
99
|
private getContextObject;
|
|
96
100
|
private addValuesIntoConditionQuestions;
|
|
@@ -142,6 +142,7 @@ export declare class PropertyGridEditorMatrixValidators extends PropertyGridEdit
|
|
|
142
142
|
}
|
|
143
143
|
export declare class PropertyGridEditorMatrixTriggers extends PropertyGridEditorMatrixMultipleTypes {
|
|
144
144
|
private getAvailableTriggers;
|
|
145
|
+
private isTriggerVisible;
|
|
145
146
|
fit(prop: JsonObjectProperty): boolean;
|
|
146
147
|
protected getObjTypeName(): string;
|
|
147
148
|
protected getDefaultClassName(obj: Base, prop: JsonObjectProperty): string;
|
|
@@ -30,6 +30,7 @@ export declare class DragDropSurveyElements extends DragDropCore<any> {
|
|
|
30
30
|
protected findDropTargetNodeByDragOverNode(dragOverNode: HTMLElement): HTMLElement;
|
|
31
31
|
protected getDropTargetByDataAttributeValue(dataAttributeValue: string, dropTargetNode: HTMLElement, event: PointerEvent): any;
|
|
32
32
|
protected isDropTargetValid(dropTarget: any, dropTargetNode?: HTMLElement, dragOverLocation?: DragTypeOverMeEnum): boolean;
|
|
33
|
+
private getMaximumNestedPanelCount;
|
|
33
34
|
protected doBanDropHere: () => void;
|
|
34
35
|
private shouldRestricDragQuestionBetweenPages;
|
|
35
36
|
protected findDeepestDropTargetChild(parent: HTMLElement): HTMLElement;
|
package/typings/svgbundle.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
declare const Theme: {
|
|
2
2
|
themeName: string;
|
|
3
|
+
iconsSet: string;
|
|
3
4
|
isLight: boolean;
|
|
4
5
|
cssVariables: {
|
|
5
6
|
"--sjs-layer-1-background-500": string;
|
|
@@ -60,6 +61,7 @@ declare const Theme: {
|
|
|
60
61
|
export default Theme;
|
|
61
62
|
export declare const DefaultContrast: {
|
|
62
63
|
themeName: string;
|
|
64
|
+
iconsSet: string;
|
|
63
65
|
isLight: boolean;
|
|
64
66
|
cssVariables: {
|
|
65
67
|
"--sjs-layer-1-background-500": string;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
declare const Theme: {
|
|
2
2
|
themeName: string;
|
|
3
|
+
iconsSet: string;
|
|
3
4
|
isLight: boolean;
|
|
4
5
|
cssVariables: {
|
|
5
6
|
"--sjs-layer-1-background-500": string;
|
|
@@ -60,6 +61,7 @@ declare const Theme: {
|
|
|
60
61
|
export default Theme;
|
|
61
62
|
export declare const DefaultDark: {
|
|
62
63
|
themeName: string;
|
|
64
|
+
iconsSet: string;
|
|
63
65
|
isLight: boolean;
|
|
64
66
|
cssVariables: {
|
|
65
67
|
"--sjs-layer-1-background-500": string;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
declare const Theme: {
|
|
2
2
|
themeName: string;
|
|
3
|
+
iconsSet: string;
|
|
3
4
|
isLight: boolean;
|
|
4
5
|
cssVariables: {
|
|
5
6
|
"--sjs-layer-1-background-500": string;
|
|
@@ -60,6 +61,7 @@ declare const Theme: {
|
|
|
60
61
|
export default Theme;
|
|
61
62
|
export declare const DefaultLight: {
|
|
62
63
|
themeName: string;
|
|
64
|
+
iconsSet: string;
|
|
63
65
|
isLight: boolean;
|
|
64
66
|
cssVariables: {
|
|
65
67
|
"--sjs-layer-1-background-500": string;
|