survey-creator-core 1.9.91 → 1.9.93

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.
@@ -5,6 +5,7 @@ export declare class SurveyElementAdornerBase<T extends SurveyElement = SurveyEl
5
5
  protected surveyElement: T;
6
6
  actionContainer: AdaptiveActionContainer;
7
7
  allowDragging: boolean;
8
+ private allowEditOption;
8
9
  private selectedPropPageFunc;
9
10
  private sidebarFlyoutModeChangedFunc;
10
11
  constructor(creator: CreatorBase, surveyElement: T);
@@ -1,7 +1,12 @@
1
- import { SurveyElement, SurveyTemplateRendererTemplateData, Action, DragTypeOverMeEnum, IAction } from "survey-core";
1
+ import { SurveyElement, SurveyTemplateRendererTemplateData, Action, Question, DragTypeOverMeEnum, IAction } from "survey-core";
2
2
  import { CreatorBase } from "../creator-base";
3
3
  import { IPortableMouseEvent } from "../utils/events";
4
4
  import { SurveyElementAdornerBase } from "./action-container-view-model";
5
+ export interface QuestionCarryForwardParams {
6
+ question: Question;
7
+ text: string;
8
+ onClick: () => void;
9
+ }
5
10
  export declare class QuestionAdornerViewModel extends SurveyElementAdornerBase {
6
11
  templateData: SurveyTemplateRendererTemplateData;
7
12
  isDragged: boolean;
@@ -16,6 +21,8 @@ export declare class QuestionAdornerViewModel extends SurveyElementAdornerBase {
16
21
  css(): string;
17
22
  get isDragMe(): boolean;
18
23
  get dragTypeOverMe(): DragTypeOverMeEnum;
24
+ get isUsingCarryForward(): boolean;
25
+ createCarryForwardParams(): QuestionCarryForwardParams;
19
26
  dispose(): void;
20
27
  get isDraggable(): boolean;
21
28
  hover(event: MouseEvent, element: HTMLElement | any): void;
@@ -10,6 +10,7 @@ export declare class TabThemePlugin implements ICreatorPlugin {
10
10
  private designerAction;
11
11
  private prevPageAction;
12
12
  private nextPageAction;
13
+ private resetTheme;
13
14
  private importAction;
14
15
  private exportAction;
15
16
  private inputFileElement;
@@ -35,6 +35,7 @@ export declare class ThemeSurveyTabViewModel extends Base {
35
35
  get isPageToolbarVisible(): boolean;
36
36
  get themeEditorSurvey(): SurveyModel;
37
37
  get currentTheme(): ITheme;
38
+ applySelectedTheme(saveChanges?: boolean): void;
38
39
  constructor(surveyProvider: CreatorBase, startTheme?: any);
39
40
  private loadTheme;
40
41
  updateSimulatorSurvey(json: any, theme: any): void;
@@ -645,6 +645,8 @@ export declare class CreatorBase extends Base implements ISurveyCreatorOptions,
645
645
  * - `sender` - the survey creator object that fires the event
646
646
  * - `options.files` - the Javascript File objects array
647
647
  * - `options.callback(status, imageLink)` - called on upload complete
648
+ *
649
+ * [View Demo](https://surveyjs.io/survey-creator/examples/file-upload/ (linkStyle))
648
650
  * @see uploadFiles
649
651
  */
650
652
  onUploadFile: CreatorEvent;
@@ -149,7 +149,7 @@ export declare var defaultStrings: {
149
149
  propertyEditorError: string;
150
150
  saveError: string;
151
151
  translationPropertyGridTitle: string;
152
- previewPropertyGridTitle: string;
152
+ themePropertyGridTitle: string;
153
153
  translationLanguages: string;
154
154
  translationAddLanguage: string;
155
155
  translationShowAllStrings: string;
@@ -167,6 +167,7 @@ export declare var defaultStrings: {
167
167
  underline: string;
168
168
  addNewQuestion: string;
169
169
  selectPage: string;
170
+ carryForwardChoicesCopied: string;
170
171
  htmlPlaceHolder: string;
171
172
  panelPlaceHolder: string;
172
173
  surveyPlaceHolder: string;
@@ -299,6 +300,7 @@ export declare var defaultStrings: {
299
300
  assistantTitle: string;
300
301
  cellsEmptyRowsColumns: string;
301
302
  showPreviewBeforeComplete: string;
303
+ overridingPropertyPrefix: string;
302
304
  propertyIsEmpty: string;
303
305
  propertyIsNoUnique: string;
304
306
  propertyNameIsNotUnique: string;
@@ -1027,6 +1029,7 @@ export declare var defaultStrings: {
1027
1029
  pageDescription: string;
1028
1030
  boxShadowX: string;
1029
1031
  boxShadowY: string;
1032
+ boxShadowAddRule: string;
1030
1033
  opacity: string;
1031
1034
  boxShadowBlur: string;
1032
1035
  boxShadowSpread: string;
@@ -120,7 +120,7 @@ export declare var enStrings: {
120
120
  propertyEditorError: string;
121
121
  saveError: string;
122
122
  translationPropertyGridTitle: string;
123
- previewPropertyGridTitle: string;
123
+ themePropertyGridTitle: string;
124
124
  translationLanguages: string;
125
125
  translationAddLanguage: string;
126
126
  translationShowAllStrings: string;
@@ -138,6 +138,7 @@ export declare var enStrings: {
138
138
  underline: string;
139
139
  addNewQuestion: string;
140
140
  selectPage: string;
141
+ carryForwardChoicesCopied: string;
141
142
  htmlPlaceHolder: string;
142
143
  panelPlaceHolder: string;
143
144
  surveyPlaceHolder: string;
@@ -270,6 +271,7 @@ export declare var enStrings: {
270
271
  assistantTitle: string;
271
272
  cellsEmptyRowsColumns: string;
272
273
  showPreviewBeforeComplete: string;
274
+ overridingPropertyPrefix: string;
273
275
  propertyIsEmpty: string;
274
276
  propertyIsNoUnique: string;
275
277
  propertyNameIsNotUnique: string;
@@ -998,6 +1000,7 @@ export declare var enStrings: {
998
1000
  pageDescription: string;
999
1001
  boxShadowX: string;
1000
1002
  boxShadowY: string;
1003
+ boxShadowAddRule: string;
1001
1004
  opacity: string;
1002
1005
  boxShadowBlur: string;
1003
1006
  boxShadowSpread: string;
@@ -34,7 +34,7 @@ export declare class UndoRedoManager {
34
34
  redo(): void;
35
35
  suspend(): void;
36
36
  resume(): void;
37
- changesFinishedCallback: (changes: IUndoRedoChange) => void;
37
+ changesFinishedCallback: (changes: UndoRedoAction[], isUndo: boolean) => void;
38
38
  }
39
39
  export declare class Transaction {
40
40
  private _name;
@@ -102,7 +102,7 @@ export declare class ConditionEditor extends PropertyEditorSetupValue {
102
102
  private canShowQuestionValue;
103
103
  private getConditionQuestion;
104
104
  private getQuestionConditionJson;
105
- private: any;
105
+ private updateChoicesFromQuestion;
106
106
  private updateOperatorEnables;
107
107
  private updateQuestionsWidth;
108
108
  private get defaultOperator();
@@ -85,6 +85,7 @@ export declare class PropertyJSONGenerator {
85
85
  private onQuestionsCreated;
86
86
  private getVisibilityOnEvent;
87
87
  private isPropertyReadOnly;
88
+ private createOverridingQuestion;
88
89
  private getClasPropName;
89
90
  private createJSON;
90
91
  private createPanelProps;
@@ -156,6 +157,7 @@ export declare abstract class PropertyGridEditor implements IPropertyGridEditor
156
157
  protected onModalPropertyEditorShown(editor: IPropertyGridEditor, property: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions): void;
157
158
  protected onModalPropertyEditorClosed(editor: IPropertyGridEditor, property: JsonObjectProperty, question: Question, options: ISurveyCreatorOptions, reason: "apply" | "cancel"): void;
158
159
  isSupportGrouping(): boolean;
160
+ private hasPreviousElementForGrouping;
159
161
  onUpdateQuestionCssClasses(obj: Base, options: any): void;
160
162
  }
161
163
  export declare class PropertyGridEditorBoolean extends PropertyGridEditor {
@@ -48,6 +48,7 @@ export declare var propertyGridCss: {
48
48
  progress: string;
49
49
  progressBar: string;
50
50
  progressText: string;
51
+ panelFooter: string;
51
52
  separator: string;
52
53
  };
53
54
  progress: string;
@@ -10,4 +10,5 @@ export declare class QuestionConverter {
10
10
  private static updateJSONForRating;
11
11
  private static updateJSONForBarrating;
12
12
  private static updateJSONForPanels;
13
+ private static removeValidators;
13
14
  }