survey-creator-core 1.9.91 → 1.9.92

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;
@@ -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;
@@ -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;
@@ -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;