survey-creator-core 1.9.14-beta.1 → 1.9.17

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.
@@ -1,18 +1,20 @@
1
1
  /*
2
- * Type definition for Survey Creatorlibrary. Platform independent (core) v1.9.14-beta.1
2
+ * Type definition for Survey Creatorlibrary. Platform independent (core) v1.9.17
3
3
  * Copyright (c) 2015-2022 Devsoft Baltic OÜ - https://surveyjs.io/
4
4
  * License: https://surveyjs.io/Licenses#SurveyCreator
5
5
  */
6
6
  import { Base, JsonObjectProperty, Question, ItemValue, MatrixDropdownColumn } from "survey-core";
7
7
  import { IAction, SurveyModel, SurveyElement, AdaptiveActionContainer, Action } from "survey-core";
8
8
  import { ActionContainer, DragDropSurveyElements, DragDropChoices, Event, PageModel } from "survey-core";
9
- import { IElement, IPanel, ISurveyElement, QuestionSelectBase, DragOrClickHelper } from "survey-core";
10
- import { PanelModel, QuestionDropdownModel, ListModel, PopupModel, EventBase } from "survey-core";
11
- import { PanelModelBase, QuestionNonValue, QuestionRowModel, SurveyTemplateRendererTemplateData, LocalizableString } from "survey-core";
9
+ import { IElement, IPanel, ISurveyElement, QuestionSelectBase, QuestionRowModel } from "survey-core";
10
+ import { LocalizableString, DragOrClickHelper, PanelModel, QuestionDropdownModel, ListModel } from "survey-core";
11
+ import { PopupModel, EventBase, PanelModelBase, QuestionNonValue, SurveyTemplateRendererTemplateData } from "survey-core";
12
12
  import { ComputedUpdater, QuestionCheckboxModel, ILocalizableString, ArrayChanges, ImageItemValue } from "survey-core";
13
13
  import { HashTable, QuestionMatrixDynamicModel, QuestionMatrixModel, QuestionMatrixDropdownModel, QuestionPanelDynamicModel } from "survey-core";
14
14
  import { QuestionCommentModel, QuestionRatingModel, MatrixDynamicRowModel } from "survey-core";
15
15
 
16
+ export { editorLocalization as localization };
17
+
16
18
  export enum QuestionConvertMode {
17
19
  AllTypes,
18
20
  CompatibleTypes
@@ -221,9 +223,9 @@ export interface IPortableMouseEvent {
221
223
  export interface IPortableDragEvent extends IPortableMouseEvent {
222
224
  dataTransfer: any;
223
225
  }
224
- export declare class ActionContainerViewModel<T> extends Base {
225
- constructor(creator: any, surveyElement: SurveyElement);
226
- creator: any;
226
+ export declare class ActionContainerViewModel extends Base {
227
+ constructor(creator: CreatorBase, surveyElement: SurveyElement);
228
+ creator: CreatorBase;
227
229
  surveyElement: SurveyElement;
228
230
  actionContainer: any;
229
231
  allowDragging: boolean;
@@ -253,7 +255,7 @@ export declare class ConditionEditorItemsBuilder {
253
255
  /*
254
256
  * Base class for Survey Creator.
255
257
  */
256
- export declare class CreatorBase<T extends SurveyModel = SurveyModel> extends Base implements ISurveyCreatorOptions, ICreatorSelectionOwner {
258
+ export declare class CreatorBase extends Base implements ISurveyCreatorOptions, ICreatorSelectionOwner {
257
259
  constructor(options: ICreatorOptions, options2?: ICreatorOptions);
258
260
  /*
259
261
  * Set it to true to show "Designer" tab and to false to hide the tab
@@ -324,7 +326,7 @@ export declare class CreatorBase<T extends SurveyModel = SurveyModel> extends Ba
324
326
  * You can set this option in creator constructor only
325
327
  */
326
328
  get pageEditMode(): "standard" | "single";
327
- surveyValue: T;
329
+ surveyValue: SurveyModel;
328
330
  get toolbarItems(): any;
329
331
  get toolbar(): any;
330
332
  dragDropSurveyElements: DragDropSurveyElements;
@@ -365,7 +367,7 @@ export declare class CreatorBase<T extends SurveyModel = SurveyModel> extends Ba
365
367
  * <br/> options.elementType the type of the element: 'question', 'panel' or 'page'.
366
368
  * <br/> options.allowing set it to false to cancel the element deleting
367
369
  */
368
- onElementDeleting: Event<(sender: CreatorBase<T>, options: any) => any, any>;
370
+ onElementDeleting: Event<(sender: CreatorBase, options: any) => any, any>;
369
371
  /*
370
372
  * The event is called on setting a readOnly property of the property editor. By default the property.readOnly property is used.
371
373
  * You may changed it and make the property editor read only or enabled for a particular object.
@@ -376,14 +378,14 @@ export declare class CreatorBase<T extends SurveyModel = SurveyModel> extends Ba
376
378
  * <br/> options.parentObj the parent object. It is null for non-nested properties. It is not null for itemvalue or column objects. The parent object is a question (dropdown, radigroup, checkbox, matrices and so on).
377
379
  * <br/> options.parentProperty the parent property (Survey.JsonObjectProperty object). It is null for non-nested properties. It is not null for itemvalue or column objects. The parent object is choices, columns, rows, triggers and so on.
378
380
  */
379
- onGetPropertyReadOnly: Event<(sender: CreatorBase<T>, options: any) => any, any>;
381
+ onGetPropertyReadOnly: Event<(sender: CreatorBase, options: any) => any, any>;
380
382
  /*
381
383
  * The event is fired when the survey creator creates a survey object (Survey.Survey).
382
384
  * <br/> sender the survey creator object that fires the event
383
385
  * <br/> options.survey the survey object showing in the creator.
384
386
  * <br/> options.reason indicates what component of the creator requests the survey. There are several reason types: "designer" - survey for designer survey, "test" - survey for "Preview" tab and "conditionEditor", "defaultValueEditor", "restfulEditor" - surveys for different property editors.
385
387
  */
386
- onSurveyInstanceCreated: Event<(sender: CreatorBase<T>, options: any) => any, any>;
388
+ onSurveyInstanceCreated: Event<(sender: CreatorBase, options: any) => any, any>;
387
389
  /*
388
390
  * The event allows to display the custom name for objects: questions, pages and panels. By default the object name is using. You may show object title by setting showObjectTitles property to true.
389
391
  * Use this event, if you want custom display name for objects.
@@ -398,7 +400,7 @@ export declare class CreatorBase<T extends SurveyModel = SurveyModel> extends Ba
398
400
  * <br/> "survey-translation" - raised from translation tab
399
401
  * <br/> "property-grid" - raised from showing object selector for property grid in "Designer" tab.
400
402
  */
401
- onGetObjectDisplayName: Event<(sender: CreatorBase<T>, options: any) => any, any>;
403
+ onGetObjectDisplayName: Event<(sender: CreatorBase, options: any) => any, any>;
402
404
  /*
403
405
  * Use this event to disable some operations for an element (question/panel).
404
406
  * <br/> sender the survey creator object that fires the event
@@ -409,14 +411,14 @@ export declare class CreatorBase<T extends SurveyModel = SurveyModel> extends Ba
409
411
  * <br/> options.allowChangeType set it to false to disable changing element type
410
412
  * <br/> options.allowChangeRequired set it to false to disable changing isRequired property
411
413
  */
412
- onElementAllowOperations: Event<(sender: CreatorBase<T>, options: any) => any, any>;
414
+ onElementAllowOperations: Event<(sender: CreatorBase, options: any) => any, any>;
413
415
  /*
414
416
  * Use this event to add/remove/modify the element (question/panel) menu items.
415
417
  * <br/> sender the survey creator object that fires the event
416
418
  * <br/> options.obj the survey object which property is edited in the Property Editor.
417
419
  * <br/> options.items the list of menu items. It has two required fields: text and onClick: function(obj: Survey.Base) {} and optional name field.
418
420
  */
419
- onDefineElementMenuItems: Event<(sender: CreatorBase<T>, options: any) => any, any>;
421
+ onDefineElementMenuItems: Event<(sender: CreatorBase, options: any) => any, any>;
420
422
  /*
421
423
  * The event is called before showing a property in the Properties Grid or in the Question Editor.
422
424
  * <br/> sender the survey creator object that fires the event
@@ -428,8 +430,8 @@ export declare class CreatorBase<T extends SurveyModel = SurveyModel> extends Ba
428
430
  * <br/>
429
431
  * <br/> [Example: Hide a category in the Properties Grid](https://surveyjs.io/Examples/Survey-Creator?id=hidecategoryinpropertiesgrid)
430
432
  */
431
- onShowingProperty: Event<(sender: CreatorBase<T>, options: any) => any, any>;
432
- onCanShowProperty: Event<(sender: CreatorBase<T>, options: any) => any, any>;
433
+ onShowingProperty: Event<(sender: CreatorBase, options: any) => any, any>;
434
+ onCanShowProperty: Event<(sender: CreatorBase, options: any) => any, any>;
433
435
  /*
434
436
  * The event is called after a property editor (in fact a survey question) has been created and all it's properties have been assign.
435
437
  * You can use this event to modify the property editor properties or set event handlers to customize it's behavior
@@ -437,7 +439,7 @@ export declare class CreatorBase<T extends SurveyModel = SurveyModel> extends Ba
437
439
  * <br/> options.property the property that the current property editor is editing
438
440
  * <br/> options.editor the property editor. In fact it is a survey question. We are using a heavily customizable survey as a property grid in Creator V2. It means that every property editor is a question.
439
441
  */
440
- onPropertyEditorCreated: Event<(sender: CreatorBase<T>, options: any) => any, any>;
442
+ onPropertyEditorCreated: Event<(sender: CreatorBase, options: any) => any, any>;
441
443
  /*
442
444
  * The event is called after a property editor setups its title actions.
443
445
  * You can use this event to modify the property editor title actions
@@ -446,7 +448,7 @@ export declare class CreatorBase<T extends SurveyModel = SurveyModel> extends Ba
446
448
  * <br/> options.editor the property editor. In fact it is a survey question. We are using a heavily customizable survey as a property grid in Creator V2. It means that every property editor is a question.
447
449
  * <br/> options.titleActions the list of title actions.
448
450
  */
449
- onPropertyEditorUpdateTitleActions: Event<(sender: CreatorBase<T>, options: any) => any, any>;
451
+ onPropertyEditorUpdateTitleActions: Event<(sender: CreatorBase, options: any) => any, any>;
450
452
  /*
451
453
  * The event is called before rendering a delete button in the Property Grid or in Question Editor.
452
454
  * Obsolete, please use onCollectionItemAllowOperations
@@ -455,7 +457,7 @@ export declare class CreatorBase<T extends SurveyModel = SurveyModel> extends Ba
455
457
  * <br/> options.item the object property (Survey.JsonObjectProperty object). It has name, className, type, visible, readOnly and other properties
456
458
  * <br/> options.canDelete a boolean value. It is true by default. Set it false to remove delete button from the Property Grid or in Question Editor
457
459
  */
458
- onCanDeleteItem: Event<(sender: CreatorBase<T>, options: any) => any, any>;
460
+ onCanDeleteItem: Event<(sender: CreatorBase, options: any) => any, any>;
459
461
  /*
460
462
  * The event is called on deleting a collection item from the Property Editor. For example: column in columns editor or item in choices and so on.
461
463
  * Obsolete, please use onCollectionItemAllowOperations
@@ -467,7 +469,7 @@ export declare class CreatorBase<T extends SurveyModel = SurveyModel> extends Ba
467
469
  * <br/> options.item the collection item that we are going to delete
468
470
  * <br/> options.allowDelete a boolean value. It is true by default. Set it false to abondome the element removing from the collection
469
471
  */
470
- onCollectionItemDeleting: Event<(sender: CreatorBase<T>, options: any) => any, any>;
472
+ onCollectionItemDeleting: Event<(sender: CreatorBase, options: any) => any, any>;
471
473
  /*
472
474
  * The event is called before rendering a collection item from the Property Editor. For example: column in columns editor or item in choices and so on.
473
475
  * You can make detail/edit and remove buttons invsible and/or disable editing.
@@ -480,7 +482,7 @@ export declare class CreatorBase<T extends SurveyModel = SurveyModel> extends Ba
480
482
  * <br/> options.allowDelete a boolean value. It is true by default. Set it false to abondome the element removing from the collection
481
483
  * <br/> options.allowEdit a boolean value. It is true by default. Set it false to disable editing.
482
484
  */
483
- onCollectionItemAllowOperations: Event<(sender: CreatorBase<T>, options: any) => any, any>;
485
+ onCollectionItemAllowOperations: Event<(sender: CreatorBase, options: any) => any, any>;
484
486
  /*
485
487
  * The event is called on adding a new Survey.ItemValue object. It uses as an element in choices array in Radiogroup, checkbox and dropdown questions or Matrix columns and rows properties.
486
488
  * Use this event, to set ItemValue.value and ItemValue.text properties by default or set a value to the custom property.
@@ -490,7 +492,7 @@ export declare class CreatorBase<T extends SurveyModel = SurveyModel> extends Ba
490
492
  * <br/> options.newItem a new created Survey.ItemValue object.
491
493
  * <br/> options.itemValues an editing Survey.ItemValue array. newItem object is not added yet into this array.
492
494
  */
493
- onItemValueAdded: Event<(sender: CreatorBase<T>, options: any) => any, any>;
495
+ onItemValueAdded: Event<(sender: CreatorBase, options: any) => any, any>;
494
496
  /*
495
497
  * The event is called when a user adds a new column into MatrixDropdown or MatrixDynamic questions. Use it to set some properties of Survey.MatrixDropdownColumn by default, for example name or a custom property.
496
498
  * <br/> sender the survey creator object that fires the event
@@ -498,7 +500,7 @@ export declare class CreatorBase<T extends SurveyModel = SurveyModel> extends Ba
498
500
  * <br/> options.newColumn a new created Survey.MatrixDropdownColumn object.
499
501
  * <br/> options.columns editable columns objects. They can be different from options.matrix.columns. options.columns and options.matrix.columns are equal after user press Apply or Cancel and options.columns will be set to options.matrix.columns or reset to initial state.
500
502
  */
501
- onMatrixColumnAdded: Event<(sender: CreatorBase<T>, options: any) => any, any>;
503
+ onMatrixColumnAdded: Event<(sender: CreatorBase, options: any) => any, any>;
502
504
  /*
503
505
  * Use this event to control Property Editors UI.
504
506
  * <br/> sender the survey creator object that fires the event
@@ -510,7 +512,7 @@ export declare class CreatorBase<T extends SurveyModel = SurveyModel> extends Ba
510
512
  * <br/> options.editorOptions.showTextView a boolean property, true by default. Set it false to disable "Fast Entry" tab for "choices" property.
511
513
  * <br/> options.editorOptions.itemsEntryType a string property, 'form' by default. Set it 'fast' to show "Fast Entry" tab for "choices" property by default.
512
514
  */
513
- onSetPropertyEditorOptions: Event<(sender: CreatorBase<T>, options: any) => any, any>;
515
+ onSetPropertyEditorOptions: Event<(sender: CreatorBase, options: any) => any, any>;
514
516
  /*
515
517
  * The event is called on generation a new name for a new created element.
516
518
  * <br/> sender the survey creator object that fires the event
@@ -518,7 +520,7 @@ export declare class CreatorBase<T extends SurveyModel = SurveyModel> extends Ba
518
520
  * <br/> options.name a new suggested name, that is unique for the current survey. You can suggest your own name. If it is unique, creator will assign it to the element.
519
521
  * <br/> options.isUnique a boolean property, set this property to false, if you want to ask Creator to generate another name
520
522
  */
521
- onGenerateNewName: Event<(sender: CreatorBase<T>, options: any) => any, any>;
523
+ onGenerateNewName: Event<(sender: CreatorBase, options: any) => any, any>;
522
524
  /*
523
525
  * Use this event to show a custom error in the Question Editor on pressing Apply or OK buttons, if the values are not set correctly. The error will be displayed under the property editor.
524
526
  * <br/> sender the survey creator object that fires the event
@@ -527,7 +529,7 @@ export declare class CreatorBase<T extends SurveyModel = SurveyModel> extends Ba
527
529
  * <br/> options.value the property value.
528
530
  * <br/> options.error the error you want to display. Set the empty string (the default value) or null if there is no errors.
529
531
  */
530
- onPropertyValidationCustomError: Event<(sender: CreatorBase<T>, options: any) => any, any>;
532
+ onPropertyValidationCustomError: Event<(sender: CreatorBase, options: any) => any, any>;
531
533
  /*
532
534
  * Use this event to change the value entered in the property editor. You may call a validation, so an end user sees the error immediately
533
535
  * <br/> sender the survey creator object that fires the event
@@ -537,7 +539,7 @@ export declare class CreatorBase<T extends SurveyModel = SurveyModel> extends Ba
537
539
  * <br/> options.newValue set the corrected value into this property. Leave it null if you are ok with the entered value.
538
540
  * <br/> options.doValidation set the value to true to call the property validation. If there is an error, the user sees it immediately.
539
541
  */
540
- onPropertyValueChanging: Event<(sender: CreatorBase<T>, options: any) => any, any>;
542
+ onPropertyValueChanging: Event<(sender: CreatorBase, options: any) => any, any>;
541
543
  /*
542
544
  * Use this event to modify the list (name and titles) of the questions available in a condition editor.
543
545
  * <br/> sender the survey creator object that fires the event
@@ -546,14 +548,14 @@ export declare class CreatorBase<T extends SurveyModel = SurveyModel> extends Ba
546
548
  * <br/> options.editor the instance of Property Editor.
547
549
  * <br/> options.list the list of the questions available for condition
548
550
  */
549
- onConditionQuestionsGetList: Event<(sender: CreatorBase<T>, options: any) => any, any>;
551
+ onConditionQuestionsGetList: Event<(sender: CreatorBase, options: any) => any, any>;
550
552
  /*
551
553
  * Use this event to modify the title in a condition editor. The title is changing during editing. In case of empty or incorrect expression it tells that expression is incorrect
552
554
  * <br/> sender the survey creator object that fires the event.
553
555
  * <br/> options.expression the current expression. If the expression is empty or incorrect then the value is empty.
554
556
  * <br/> options.title the default value of the title. You can change the default value.
555
557
  */
556
- onConditionGetTitle: Event<(sender: CreatorBase<T>, options: any) => any, any>;
558
+ onConditionGetTitle: Event<(sender: CreatorBase, options: any) => any, any>;
557
559
  /*
558
560
  * The event is called when a survey is changed in the designer. A new page/question/page is added or existing is removed, a property is changed and so on.
559
561
  * <br/> sender the survey creator object that fires the event
@@ -601,66 +603,66 @@ export declare class CreatorBase<T extends SurveyModel = SurveyModel> extends Ba
601
603
  * <br/> options.type: "TRANSLATIONS_CHANGED"
602
604
  * <br/> options.type: "JSON_EDITOR"
603
605
  */
604
- onModified: Event<(sender: CreatorBase<T>, options: any) => any, any>;
606
+ onModified: Event<(sender: CreatorBase, options: any) => any, any>;
605
607
  /*
606
608
  * The event is called on adding a new question into the survey. Typically, when a user dropped a Question from the Question Toolbox into designer Survey area.
607
609
  * <br/> sender the survey creator object that fires the event
608
610
  * <br/> options.question a new added survey question. Survey.Question object
609
611
  * <br/> options.page the survey Page object where question has been added.
610
612
  */
611
- onQuestionAdded: Event<(sender: CreatorBase<T>, options: any) => any, any>;
613
+ onQuestionAdded: Event<(sender: CreatorBase, options: any) => any, any>;
612
614
  /*
613
615
  * The event is called on adding a new panel into the survey. Typically, when a user dropped a Panel from the Question Toolbox into designer Survey area.
614
616
  * <br/> sender the survey creator object that fires the event
615
617
  * <br/> options.panel a new added survey panel. Survey.Panel object
616
618
  * <br/> options.page the survey Page object where question has been added.
617
619
  */
618
- onPanelAdded: Event<(sender: CreatorBase<T>, options: any) => any, any>;
620
+ onPanelAdded: Event<(sender: CreatorBase, options: any) => any, any>;
619
621
  /*
620
622
  * The event is called on adding a new page into the survey.
621
623
  * <br/> sender the survey creator object that fires the event
622
624
  * <br/> options.page the new survey Page object.
623
625
  */
624
- onPageAdded: Event<(sender: CreatorBase<T>, options: any) => any, any>;
626
+ onPageAdded: Event<(sender: CreatorBase, options: any) => any, any>;
625
627
  /*
626
628
  * The event is fired when the survey creator is initialized and a survey object (Survey.Survey) is created.
627
629
  * <br/> sender the survey creator object that fires the event
628
630
  * <br/> options.survey the survey object showing in the creator.
629
631
  */
630
- onDesignerSurveyCreated: Event<(sender: CreatorBase<T>, options: any) => any, any>;
632
+ onDesignerSurveyCreated: Event<(sender: CreatorBase, options: any) => any, any>;
631
633
  /*
632
634
  * The event is fired when the survey creator creates survey in Preview tab for testing.
633
635
  * <br/> sender the survey creator object that fires the event
634
636
  * <br/> options.survey the survey object showing in the "Preview" tab.
635
637
  */
636
- onPreviewSurveyCreated: Event<(sender: CreatorBase<T>, options: any) => any, any>;
638
+ onPreviewSurveyCreated: Event<(sender: CreatorBase, options: any) => any, any>;
637
639
  /*
638
640
  * Obsolete. Please use onPreviewSurveyCreated event.
639
641
  */
640
- onTestSurveyCreated: Event<(sender: CreatorBase<T>, options: any) => any, any>;
642
+ onTestSurveyCreated: Event<(sender: CreatorBase, options: any) => any, any>;
641
643
  /*
642
644
  * The event is called in case of UI notifications. By default all notifications are done via built-in alert () function.
643
645
  * In case of any subscriptions to this event all notifications will be redirected into the event handler.
644
646
  * <br/> options.message is a message to show.
645
647
  */
646
- onNotify: Event<(sender: CreatorBase<T>, options: any) => any, any>;
648
+ onNotify: Event<(sender: CreatorBase, options: any) => any, any>;
647
649
  /*
648
650
  * The event is called on changing the selected element. You may change the new selected element by changing the property options.newSelectedElement to your own
649
651
  * <br/> options.newSelectedElement the element that is going to be selected in the survey desiger: question, panel, page or survey.
650
652
  */
651
- onSelectedElementChanging: Event<(sender: CreatorBase<T>, options: any) => any, any>;
653
+ onSelectedElementChanging: Event<(sender: CreatorBase, options: any) => any, any>;
652
654
  /*
653
655
  * The event is called after the selected element is changed.
654
656
  * <br/> options.newSelectedElement the new selected element in the survey desiger: question, panel, page or survey.
655
657
  */
656
- onSelectedElementChanged: Event<(sender: CreatorBase<T>, options: any) => any, any>;
658
+ onSelectedElementChanged: Event<(sender: CreatorBase, options: any) => any, any>;
657
659
  /*
658
660
  * The event is fired then one need to choose files.
659
661
  * <br/> sender the survey creator object that fires the event
660
662
  * <br/> input file input HTML element
661
663
  * <br/> callback need to be called after files has been chosen
662
664
  */
663
- onOpenFileChooser: Event<(sender: CreatorBase<T>, options: any) => any, any>;
665
+ onOpenFileChooser: Event<(sender: CreatorBase, options: any) => any, any>;
664
666
  /*
665
667
  * The event is fired on uploading the files.
666
668
  * <br/> sender the survey creator object that fires the event
@@ -668,7 +670,7 @@ export declare class CreatorBase<T extends SurveyModel = SurveyModel> extends Ba
668
670
  * <br/> files the Javascript File objects array
669
671
  * <br/> callback called on upload complete
670
672
  */
671
- onUploadFile: Event<(sender: CreatorBase<T>, options: any) => any, any>;
673
+ onUploadFile: Event<(sender: CreatorBase, options: any) => any, any>;
672
674
  /*
673
675
  * Use this event to modify the list of the strings available in the Translation tab.
674
676
  *
@@ -679,7 +681,7 @@ export declare class CreatorBase<T extends SurveyModel = SurveyModel> extends Ba
679
681
  * - `options.propertyName` - The name of a property being translated.
680
682
  * - `options.visible` - A Boolean value that specifies the property visibility. Set it to `false` to hide the property.
681
683
  */
682
- onTranslationStringVisibility: Event<(sender: CreatorBase<T>, options: any) => any, any>;
684
+ onTranslationStringVisibility: Event<(sender: CreatorBase, options: any) => any, any>;
683
685
  /*
684
686
  * Use this event to define is the locale initially selected (default value) and ready for translaion or it is unselected.
685
687
  *
@@ -689,7 +691,7 @@ export declare class CreatorBase<T extends SurveyModel = SurveyModel> extends Ba
689
691
  * - `options.locale` - the locale name, like 'en', 'de' and so on.
690
692
  * - `options.isSelected` - it is true by default. Set it to false to make the translation unselected.
691
693
  */
692
- onTranslationLocaleInitiallySelected: Event<(sender: CreatorBase<T>, options: any) => any, any>;
694
+ onTranslationLocaleInitiallySelected: Event<(sender: CreatorBase, options: any) => any, any>;
693
695
  /*
694
696
  * This callback is used internally for providing survey JSON text.
695
697
  */
@@ -804,7 +806,7 @@ export declare class CreatorBase<T extends SurveyModel = SurveyModel> extends Ba
804
806
  */
805
807
  get isRTL(): boolean;
806
808
  set isRTL(val: boolean);
807
- onActiveTabChanged: Event<(sender: CreatorBase<T>, options: any) => any, any>;
809
+ onActiveTabChanged: Event<(sender: CreatorBase, options: any) => any, any>;
808
810
  /*
809
811
  * Get/set the active tab.
810
812
  * The following values are available: "designer", "editor", "test", "embed", "logic" and "translation".
@@ -825,13 +827,13 @@ export declare class CreatorBase<T extends SurveyModel = SurveyModel> extends Ba
825
827
  get showToolbox(): boolean;
826
828
  set showToolbox(val: boolean);
827
829
  showSidebarValue: boolean;
828
- onShowSidebarVisiblityChanged: Event<(sender: CreatorBase<T>, options: any) => any, any>;
830
+ onShowSidebarVisiblityChanged: Event<(sender: CreatorBase, options: any) => any, any>;
829
831
  /*
830
832
  * Set this this property grid false to hide the property grid.
831
833
  */
832
834
  get showSidebar(): boolean;
833
835
  set showSidebar(val: boolean);
834
- onShowPropertyGridVisiblityChanged: Event<(sender: CreatorBase<T>, options: any) => any, any>;
836
+ onShowPropertyGridVisiblityChanged: Event<(sender: CreatorBase, options: any) => any, any>;
835
837
  get showPropertyGrid(): boolean;
836
838
  set showPropertyGrid(val: boolean);
837
839
  rightContainerActiveItem(name: string): void;
@@ -840,24 +842,24 @@ export declare class CreatorBase<T extends SurveyModel = SurveyModel> extends Ba
840
842
  * The event is called before undo happens.
841
843
  * <br/> options.canUndo a boolean value. It is true by default. Set it false to hide prevent undo operation.
842
844
  */
843
- onBeforeUndo: Event<(sender: CreatorBase<T>, options: any) => any, any>;
845
+ onBeforeUndo: Event<(sender: CreatorBase, options: any) => any, any>;
844
846
  /*
845
847
  * The event is called before redo happens.
846
848
  * <br/> options.canRedo a boolean value. It is true by default. Set it false to hide prevent redo operation.
847
849
  */
848
- onBeforeRedo: Event<(sender: CreatorBase<T>, options: any) => any, any>;
850
+ onBeforeRedo: Event<(sender: CreatorBase, options: any) => any, any>;
849
851
  /*
850
852
  * The event is called after undo happens.
851
853
  * <br/> options.state is an undo/redo item.
852
854
  */
853
- onAfterUndo: Event<(sender: CreatorBase<T>, options: any) => any, any>;
855
+ onAfterUndo: Event<(sender: CreatorBase, options: any) => any, any>;
854
856
  /*
855
857
  * The event is called after redo happens.
856
858
  * <br/> options.state is an undo/redo item.
857
859
  */
858
- onAfterRedo: Event<(sender: CreatorBase<T>, options: any) => any, any>;
860
+ onAfterRedo: Event<(sender: CreatorBase, options: any) => any, any>;
859
861
  get undoRedoManager(): UndoRedoManager;
860
- get undoRedoController(): any;
862
+ get undoRedoController(): UndoRedoController;
861
863
  /*
862
864
  * This method starts undo/redo transaction: all changes will be stored as one undo/redo item.
863
865
  */
@@ -891,7 +893,7 @@ export declare class CreatorBase<T extends SurveyModel = SurveyModel> extends Ba
891
893
  /*
892
894
  * The editing survey object (Survey.Survey)
893
895
  */
894
- get survey(): T;
896
+ get survey(): SurveyModel;
895
897
  existingPages: any;
896
898
  protected initSurveyWithJSON(json: any, clearState: boolean): void;
897
899
  protected initDragDrop(): void;
@@ -900,7 +902,7 @@ export declare class CreatorBase<T extends SurveyModel = SurveyModel> extends Ba
900
902
  updatePagesController(sender: Base, name: string): void;
901
903
  isObjQuestion(obj: Base): boolean;
902
904
  isObjPage(obj: Base): boolean;
903
- protected setSurvey(survey: T): void;
905
+ protected setSurvey(survey: SurveyModel): void;
904
906
  protected setTextValue(value: string): void;
905
907
  /*
906
908
  * Set JSON as text into survey. Clear undo/redo states optionally.
@@ -913,15 +915,15 @@ export declare class CreatorBase<T extends SurveyModel = SurveyModel> extends Ba
913
915
  set text(val: string);
914
916
  getSurveyJSON(): any;
915
917
  getObjectDisplayName(obj: Base, reason?: string, displayName?: string): string;
916
- createSurvey(json?: any, reason?: string): T;
917
- protected createSurveyCore(json: any, reason: string): T;
918
+ createSurvey(json?: any, reason?: string): SurveyModel;
919
+ protected createSurveyCore(json: any, reason: string): SurveyModel;
918
920
  _stateValue: string;
919
921
  /*
920
922
  * Returns the creator state. It may return empty string or "saving" and "saved".
921
923
  */
922
924
  get state(): string;
923
925
  protected setState(value: string): void;
924
- onStateChanged: Event<(sender: CreatorBase<T>, options: any) => any, any>;
926
+ onStateChanged: Event<(sender: CreatorBase, options: any) => any, any>;
925
927
  notifier: Notifier;
926
928
  setModified(options?: any): void;
927
929
  /*
@@ -1079,7 +1081,7 @@ export declare class CreatorBase<T extends SurveyModel = SurveyModel> extends Ba
1079
1081
  dispose(): void;
1080
1082
  }
1081
1083
  export declare class CreatorResponsivityManager {
1082
- constructor(container: any, creator: any);
1084
+ constructor(container: any, creator: CreatorBase);
1083
1085
  resizeObserver: any;
1084
1086
  currentWidth: any;
1085
1087
  prevShowToolbox: any;
@@ -1090,6 +1092,19 @@ export declare class CreatorResponsivityManager {
1090
1092
  process(): void;
1091
1093
  dispose(): void;
1092
1094
  }
1095
+ export declare class DesignTimeSurveyModel extends SurveyModel {
1096
+ constructor(creator: CreatorBase, jsonObj?: any);
1097
+ creator: CreatorBase;
1098
+ isPopupEditorContent: boolean;
1099
+ getElementWrapperComponentName(element: any, reason?: string): string;
1100
+ getElementWrapperComponentData(element: any, reason?: string): any;
1101
+ getRowWrapperComponentName(row: QuestionRowModel): string;
1102
+ getRowWrapperComponentData(row: QuestionRowModel): any;
1103
+ getItemValueWrapperComponentName(item: ItemValue, question: QuestionSelectBase): string;
1104
+ getItemValueWrapperComponentData(item: ItemValue, question: QuestionSelectBase): any;
1105
+ getRendererForString(element: Base, name: string): string;
1106
+ getRendererContextForString(element: Base, locStr: LocalizableString): any;
1107
+ }
1093
1108
  export declare class EditableObject {
1094
1109
  constructor(obj: Base);
1095
1110
  static isCopyObject(obj: any): boolean;
@@ -1107,7 +1122,7 @@ export declare class EditableObject {
1107
1122
  protected createEditableObj(): Base;
1108
1123
  }
1109
1124
  export declare class EmbedModel extends Base {
1110
- constructor(creator: any);
1125
+ constructor(creator: CreatorBase);
1111
1126
  survey: SurveyModel;
1112
1127
  }
1113
1128
  export declare class ExpressionRemoveVariable {
@@ -1124,8 +1139,8 @@ export declare class ExpressionToDisplayText {
1124
1139
  static operatorText: any;
1125
1140
  }
1126
1141
  export declare class ItemValueWrapperViewModel extends Base {
1127
- constructor(creator: any, question: QuestionSelectBase, item: ItemValue);
1128
- creator: any;
1142
+ constructor(creator: CreatorBase, question: QuestionSelectBase, item: ItemValue);
1143
+ creator: CreatorBase;
1129
1144
  question: QuestionSelectBase;
1130
1145
  item: ItemValue;
1131
1146
  isNew: boolean;
@@ -1152,7 +1167,7 @@ export declare class ItemValueWrapperViewModel extends Base {
1152
1167
  select(model: ItemValueWrapperViewModel, event: any): void;
1153
1168
  }
1154
1169
  export declare class JsonEditorBaseModel extends Base {
1155
- constructor(creator: any);
1170
+ constructor(creator: CreatorBase);
1156
1171
  isJSONChanged: boolean;
1157
1172
  isProcessingImmediately: boolean;
1158
1173
  static updateTextTimeout: number;
@@ -1182,7 +1197,7 @@ export declare class LogicActionModelBase {
1182
1197
  setInitialElementValue(question: QuestionDropdownModel, action: SurveyLogicAction, selectedQuestion: string): void;
1183
1198
  }
1184
1199
  export declare class LogoImageViewModel extends Base {
1185
- constructor(creator: any, root: any);
1200
+ constructor(creator: CreatorBase, root: any);
1186
1201
  root: any;
1187
1202
  get allowEdit(): boolean;
1188
1203
  get survey(): SurveyModel;
@@ -1191,8 +1206,8 @@ export declare class LogoImageViewModel extends Base {
1191
1206
  get chooseLogoPlaceholder(): any;
1192
1207
  }
1193
1208
  export declare class MatrixCellWrapperViewModel extends Base {
1194
- constructor(creator: any, templateData: any, question: Question, row: any, column: any);
1195
- creator: any;
1209
+ constructor(creator: CreatorBase, templateData: any, question: Question, row: any, column: any);
1210
+ creator: CreatorBase;
1196
1211
  templateData: any;
1197
1212
  question: Question;
1198
1213
  row: any;
@@ -1215,7 +1230,7 @@ export declare class Notifier extends Base {
1215
1230
  notify(message: string, type?: "info" | "error"): void;
1216
1231
  }
1217
1232
  export declare class ObjectSelector {
1218
- constructor(survey: SurveyModel, getObjectDisplayName?: any);
1233
+ constructor(creator: CreatorBase, survey: SurveyModel, getObjectDisplayName?: any);
1219
1234
  surveyValue: SurveyModel;
1220
1235
  deepestLevel: number;
1221
1236
  filteredTextInLow: string;
@@ -1235,7 +1250,7 @@ export declare class ObjectSelectorItem extends Action {
1235
1250
  hasText(filteredTextInLow: string): boolean;
1236
1251
  }
1237
1252
  export declare class ObjectSelectorModel extends Base {
1238
- constructor(getObjectDisplayName?: any);
1253
+ constructor(creator: CreatorBase, getObjectDisplayName?: any);
1239
1254
  selector: ObjectSelector;
1240
1255
  listModelValue: ListModel;
1241
1256
  isVisible: boolean;
@@ -1243,7 +1258,7 @@ export declare class ObjectSelectorModel extends Base {
1243
1258
  show(survey: SurveyModel, selectedObj: Base, onClose: any): void;
1244
1259
  refresh(): void;
1245
1260
  }
1246
- export declare class PageNavigatorViewModel<T> extends Base {
1261
+ export declare class PageNavigatorViewModel extends Base {
1247
1262
  constructor(pagesController: PagesController);
1248
1263
  icon: string;
1249
1264
  pageListModel: ListModel;
@@ -1320,8 +1335,8 @@ export declare class PropertyGridTitleActionsCreator {
1320
1335
  obj: Base;
1321
1336
  onGetQuestionTitleActions(options: any): void;
1322
1337
  }
1323
- export declare class PropertyGridViewModel<T> extends Base {
1324
- constructor(propertyGridModel: PropertyGridModel, creator: any);
1338
+ export declare class PropertyGridViewModel extends Base {
1339
+ constructor(propertyGridModel: PropertyGridModel, creator: CreatorBase);
1325
1340
  nextSelectionAction: Action;
1326
1341
  prevSelectionAction: Action;
1327
1342
  objectSelectionAction: Action;
@@ -1374,8 +1389,8 @@ export declare class QuestionLinkValueModel extends Question {
1374
1389
  * The list of Toolbox items.
1375
1390
  */
1376
1391
  export declare class QuestionToolbox extends AdaptiveActionContainer<QuestionToolboxItem> implements IQuestionToolbox {
1377
- constructor(supportedQuestions?: any, creator?: any);
1378
- creator: any;
1392
+ constructor(supportedQuestions?: any, creator?: CreatorBase);
1393
+ creator: CreatorBase;
1379
1394
  static hiddenTypes: any;
1380
1395
  _orderedQuestions: any;
1381
1396
  _questionDefaultSettings: any;
@@ -1524,8 +1539,8 @@ export declare class ResizeManager {
1524
1539
  dispose(): void;
1525
1540
  }
1526
1541
  export declare class RowViewModel extends Base {
1527
- constructor(creator: any, row: QuestionRowModel, templateData: SurveyTemplateRendererTemplateData);
1528
- creator: any;
1542
+ constructor(creator: CreatorBase, row: QuestionRowModel, templateData: SurveyTemplateRendererTemplateData);
1543
+ creator: CreatorBase;
1529
1544
  row: QuestionRowModel;
1530
1545
  templateData: SurveyTemplateRendererTemplateData;
1531
1546
  get cssClasses(): string;
@@ -1545,7 +1560,7 @@ export declare class SelectionHistory extends Base {
1545
1560
  onObjSelected(obj: Base): void;
1546
1561
  }
1547
1562
  export declare class SidebarModel extends Base {
1548
- constructor(creator: any, collapseAction?: any, expandAction?: any);
1563
+ constructor(creator: CreatorBase, collapseAction?: any, expandAction?: any);
1549
1564
  toolbar: any;
1550
1565
  _expandAction: Action;
1551
1566
  _collapseAction: Action;
@@ -1582,7 +1597,7 @@ export declare class SidebarTabModel extends Base {
1582
1597
  componentName: string;
1583
1598
  }
1584
1599
  export declare class StringEditorViewModelBase extends Base {
1585
- constructor(locString: LocalizableString, creator: any);
1600
+ constructor(locString: LocalizableString, creator: CreatorBase);
1586
1601
  blurredByEscape: boolean;
1587
1602
  focusedProgram: boolean;
1588
1603
  valueBeforeEdit: string;
@@ -1926,8 +1941,8 @@ export declare class SurveyTextWorker {
1926
1941
  get isJsonCorrect(): boolean;
1927
1942
  protected process(): void;
1928
1943
  }
1929
- export declare class TabDesignerViewModel<T> extends Base {
1930
- constructor(creator: any);
1944
+ export declare class TabDesignerViewModel extends Base {
1945
+ constructor(creator: CreatorBase);
1931
1946
  widthUpdater: any;
1932
1947
  checkNewPageHandler: any;
1933
1948
  surveyOnPropertyChanged: any;
@@ -1936,8 +1951,8 @@ export declare class TabDesignerViewModel<T> extends Base {
1936
1951
  pageCount: number;
1937
1952
  withModifier: string;
1938
1953
  showPlaceholder: boolean;
1939
- creator: any;
1940
- get survey(): T;
1954
+ creator: CreatorBase;
1955
+ get survey(): SurveyModel;
1941
1956
  get isToolboxVisible(): boolean;
1942
1957
  get placeholderText(): string;
1943
1958
  initSurvey(): void;
@@ -1956,7 +1971,7 @@ export declare class TabbedMenuItem extends Action implements ITabbedMenuItem {
1956
1971
  renderTab: any;
1957
1972
  }
1958
1973
  export declare class TestSurveyTabViewModel extends Base {
1959
- constructor(surveyProvider: any);
1974
+ constructor(surveyProvider: CreatorBase);
1960
1975
  json: any;
1961
1976
  pages: any;
1962
1977
  prevPageAction: Action;
@@ -1984,11 +1999,11 @@ export declare class TestSurveyTabViewModel extends Base {
1984
1999
  protected onPropertyValueChanged(name: string, oldValue: any, newValue: any): void;
1985
2000
  }
1986
2001
  export declare class ToolbarActionContainer extends ActionContainer {
1987
- constructor(creator: any);
2002
+ constructor(creator: CreatorBase);
1988
2003
  protected getRenderedActions(): Array<Action>;
1989
2004
  }
1990
2005
  export declare class ToolboxToolViewModel extends Base {
1991
- constructor(item: IQuestionToolboxItem, creator: any);
2006
+ constructor(item: IQuestionToolboxItem, creator: CreatorBase);
1992
2007
  dragOrClickHelper: DragOrClickHelper;
1993
2008
  click: any;
1994
2009
  get allowAdd(): boolean;
@@ -2080,8 +2095,8 @@ export declare class TranslationItemString extends Base {
2080
2095
  protected onPropertyValueChanged(name: string, oldValue: any, newValue: any): void;
2081
2096
  getType(): string;
2082
2097
  }
2083
- export declare class UndoRedoController<T extends SurveyModel = SurveyModel> extends Base {
2084
- constructor(creator: any);
2098
+ export declare class UndoRedoController extends Base {
2099
+ constructor(creator: CreatorBase);
2085
2100
  undoAction: Action;
2086
2101
  redoAction: Action;
2087
2102
  undoRedoManager: UndoRedoManager;
@@ -2094,22 +2109,22 @@ export declare class UndoRedoController<T extends SurveyModel = SurveyModel> ext
2094
2109
  * The event is called before undo happens.
2095
2110
  * <br/> options.canUndo a boolean value. It is true by default. Set it false to hide prevent undo operation.
2096
2111
  */
2097
- onBeforeUndo: Event<(sender: CreatorBase<T>, options: any) => any, any>;
2112
+ onBeforeUndo: Event<(sender: CreatorBase, options: any) => any, any>;
2098
2113
  /*
2099
2114
  * The event is called before redo happens.
2100
2115
  * <br/> options.canRedo a boolean value. It is true by default. Set it false to hide prevent redo operation.
2101
2116
  */
2102
- onBeforeRedo: Event<(sender: CreatorBase<T>, options: any) => any, any>;
2117
+ onBeforeRedo: Event<(sender: CreatorBase, options: any) => any, any>;
2103
2118
  /*
2104
2119
  * The event is called after undo happens.
2105
2120
  * <br/> options.state is an undo/redo item.
2106
2121
  */
2107
- onAfterUndo: Event<(sender: CreatorBase<T>, options: any) => any, any>;
2122
+ onAfterUndo: Event<(sender: CreatorBase, options: any) => any, any>;
2108
2123
  /*
2109
2124
  * The event is called after redo happens.
2110
2125
  * <br/> options.state is an undo/redo item.
2111
2126
  */
2112
- onAfterRedo: Event<(sender: CreatorBase<T>, options: any) => any, any>;
2127
+ onAfterRedo: Event<(sender: CreatorBase, options: any) => any, any>;
2113
2128
  }
2114
2129
  export declare class UndoRedoManager {
2115
2130
  constructor();
@@ -2136,7 +2151,7 @@ export declare class UndoRedoManager {
2136
2151
  changesFinishedCallback: any;
2137
2152
  }
2138
2153
  export declare class AceJsonEditorModel extends JsonEditorBaseModel {
2139
- constructor(creator: any);
2154
+ constructor(creator: CreatorBase);
2140
2155
  static aceBasePath: string;
2141
2156
  aceEditor: any;
2142
2157
  aceCanUndo: boolean;
@@ -2180,7 +2195,7 @@ export declare class EmptySurveyCreatorOptions implements ISurveyCreatorOptions
2180
2195
  onConditionGetTitleCallback(expression: string, title: string): string;
2181
2196
  }
2182
2197
  export declare class ImageItemValueWrapperViewModel extends ItemValueWrapperViewModel {
2183
- constructor(creator: any, question: QuestionSelectBase, item: ImageItemValue, templateData: any, itemsRoot: any);
2198
+ constructor(creator: CreatorBase, question: QuestionSelectBase, item: ImageItemValue, templateData: any, itemsRoot: any);
2184
2199
  question: QuestionSelectBase;
2185
2200
  item: ImageItemValue;
2186
2201
  templateData: any;
@@ -2207,8 +2222,8 @@ export declare class LogicActionTriggerModel extends LogicActionModelBase {
2207
2222
  updatePanelElements(selectedElement: string, options?: ISurveyCreatorOptions): void;
2208
2223
  getSelectedElement(): string;
2209
2224
  }
2210
- export declare class PageViewModel<T> extends ActionContainerViewModel<T> {
2211
- constructor(creator: any, page: PageModel);
2225
+ export declare class PageViewModel extends ActionContainerViewModel {
2226
+ constructor(creator: CreatorBase, page: PageModel);
2212
2227
  isSelected: boolean;
2213
2228
  isPageLive: boolean;
2214
2229
  onPageSelectedCallback: any;
@@ -2221,8 +2236,8 @@ export declare class PageViewModel<T> extends ActionContainerViewModel<T> {
2221
2236
  protected isOperationsAllow(): boolean;
2222
2237
  get page(): PageModel;
2223
2238
  addGhostPage: any;
2224
- addNewQuestion(model: any, event: IPortableMouseEvent): void;
2225
- select(model: any, event: IPortableMouseEvent): void;
2239
+ addNewQuestion(model: PageViewModel, event: IPortableMouseEvent): void;
2240
+ select(model: PageViewModel, event: IPortableMouseEvent): void;
2226
2241
  get css(): string;
2227
2242
  hover(event: any, element: any): void;
2228
2243
  hoverStopper(event: any, element: any): void;
@@ -2252,8 +2267,8 @@ export declare class PropertyGridEditor implements IPropertyGridEditor {
2252
2267
  isSupportGrouping(): boolean;
2253
2268
  onUpdateQuestionCssClasses(obj: Base, options: any): void;
2254
2269
  }
2255
- export declare class QuestionAdornerViewModel extends ActionContainerViewModel<SurveyModel> {
2256
- constructor(creator: any, surveyElement: SurveyElement, templateData: SurveyTemplateRendererTemplateData);
2270
+ export declare class QuestionAdornerViewModel extends ActionContainerViewModel {
2271
+ constructor(creator: CreatorBase, surveyElement: SurveyElement, templateData: SurveyTemplateRendererTemplateData);
2257
2272
  templateData: SurveyTemplateRendererTemplateData;
2258
2273
  isDragged: boolean;
2259
2274
  currentAddQuestionType: string;
@@ -2329,10 +2344,10 @@ export declare class SurveyLogicUI extends SurveyLogic {
2329
2344
  get addNewText(): string;
2330
2345
  get emptyTabPlaceHolder(): string;
2331
2346
  }
2332
- export declare class TabDesignerPlugin<T> implements ICreatorPlugin {
2333
- constructor(creator: any);
2334
- model: any;
2335
- propertyGrid: any;
2347
+ export declare class TabDesignerPlugin implements ICreatorPlugin {
2348
+ constructor(creator: CreatorBase);
2349
+ model: TabDesignerViewModel;
2350
+ propertyGrid: PropertyGridViewModel;
2336
2351
  propertyGridTab: SidebarTabModel;
2337
2352
  toolboxTab: SidebarTabModel;
2338
2353
  surveySettingsAction: Action;
@@ -2346,20 +2361,20 @@ export declare class TabDesignerPlugin<T> implements ICreatorPlugin {
2346
2361
  addFooterActions(): void;
2347
2362
  }
2348
2363
  export declare class TabEmbedPlugin implements ICreatorPlugin {
2349
- constructor(creator: any);
2364
+ constructor(creator: CreatorBase);
2350
2365
  model: EmbedModel;
2351
2366
  activate(): void;
2352
2367
  deactivate(): boolean;
2353
2368
  }
2354
2369
  export declare class TabJsonEditorBasePlugin implements ICreatorPlugin {
2355
- constructor(creator: any);
2370
+ constructor(creator: CreatorBase);
2356
2371
  model: JsonEditorBaseModel;
2357
2372
  activate(): void;
2358
2373
  deactivate(): boolean;
2359
- protected createModel(creator: any): JsonEditorBaseModel;
2374
+ protected createModel(creator: CreatorBase): JsonEditorBaseModel;
2360
2375
  }
2361
2376
  export declare class TabLogicPlugin implements ICreatorPlugin {
2362
- constructor(creator: any);
2377
+ constructor(creator: CreatorBase);
2363
2378
  filterQuestionAction: Action;
2364
2379
  filterActionTypeAction: Action;
2365
2380
  fastEntryAction: Action;
@@ -2372,7 +2387,7 @@ export declare class TabLogicPlugin implements ICreatorPlugin {
2372
2387
  createActions(): any;
2373
2388
  }
2374
2389
  export declare class TabTestPlugin implements ICreatorPlugin {
2375
- constructor(creator: any);
2390
+ constructor(creator: CreatorBase);
2376
2391
  languageSelectorAction: Action;
2377
2392
  languagePopupModel: any;
2378
2393
  languageListModel: ListModel;
@@ -2392,7 +2407,7 @@ export declare class TabTestPlugin implements ICreatorPlugin {
2392
2407
  addFooterActions(): void;
2393
2408
  }
2394
2409
  export declare class TabTranslationPlugin implements ICreatorPlugin {
2395
- constructor(creator: any);
2410
+ constructor(creator: CreatorBase);
2396
2411
  filterStringsAction: Action;
2397
2412
  filterPageAction: Action;
2398
2413
  mergeLocaleWithDefaultAction: Action;
@@ -2415,7 +2430,7 @@ export declare class TabTranslationPlugin implements ICreatorPlugin {
2415
2430
  createActions(): any;
2416
2431
  }
2417
2432
  export declare class TextareaJsonEditorModel extends JsonEditorBaseModel {
2418
- constructor(creator: any);
2433
+ constructor(creator: CreatorBase);
2419
2434
  protected _text: string;
2420
2435
  _errors: any;
2421
2436
  ariaLabel: string;
@@ -2686,12 +2701,12 @@ export declare class PropertyGridValueEditorBase extends PropertyGridEditor {
2686
2701
  isSupportGrouping(): boolean;
2687
2702
  }
2688
2703
  export declare class QuestionImageAdornerViewModel extends QuestionAdornerViewModel {
2689
- constructor(creator: any, surveyElement: SurveyElement, templateData: SurveyTemplateRendererTemplateData, questionRoot: any);
2704
+ constructor(creator: CreatorBase, surveyElement: SurveyElement, templateData: SurveyTemplateRendererTemplateData, questionRoot: any);
2690
2705
  questionRoot: any;
2691
2706
  chooseFile(model: QuestionImageAdornerViewModel): void;
2692
2707
  }
2693
2708
  export declare class QuestionRatingAdornerViewModel extends QuestionAdornerViewModel {
2694
- constructor(creator: any, surveyElement: SurveyElement, templateData: SurveyTemplateRendererTemplateData);
2709
+ constructor(creator: CreatorBase, surveyElement: SurveyElement, templateData: SurveyTemplateRendererTemplateData);
2695
2710
  get question(): QuestionRatingModel;
2696
2711
  addItem(model: QuestionRatingAdornerViewModel): void;
2697
2712
  removeItem(model: QuestionRatingAdornerViewModel): void;
@@ -2701,13 +2716,13 @@ export declare class QuestionRatingAdornerViewModel extends QuestionAdornerViewM
2701
2716
  get removeTooltip(): any;
2702
2717
  }
2703
2718
  export declare class TabJsonEditorAcePlugin extends TabJsonEditorBasePlugin implements ICreatorPlugin {
2704
- constructor(creator: any);
2705
- protected createModel(creator: any): JsonEditorBaseModel;
2719
+ constructor(creator: CreatorBase);
2720
+ protected createModel(creator: CreatorBase): JsonEditorBaseModel;
2706
2721
  static hasAceEditor(): boolean;
2707
2722
  }
2708
2723
  export declare class TabJsonEditorTextareaPlugin extends TabJsonEditorBasePlugin implements ICreatorPlugin {
2709
- constructor(creator: any);
2710
- protected createModel(creator: any): JsonEditorBaseModel;
2724
+ constructor(creator: CreatorBase);
2725
+ protected createModel(creator: CreatorBase): JsonEditorBaseModel;
2711
2726
  }
2712
2727
  export declare class DefaultArrayValueEditor extends DefaultValueEditor {
2713
2728
  constructor(editQuestion: Question, propertyName: string, options?: ISurveyCreatorOptions);
@@ -2922,9 +2937,9 @@ export declare function updateMatrixLogicExpandAction(question: QuestionMatrixDy
2922
2937
  export declare function updateMatrixRemoveAction(question: QuestionMatrixDynamicModel, actions: any, row: MatrixDynamicRowModel): void;
2923
2938
  export declare function setSurveyJSONForPropertyGrid(json: any, updateOnTyping?: boolean, titleLocationLeft?: boolean): void;
2924
2939
  export declare function getElementWrapperComponentName(element: any, reason: string, isPopupEditorContent: boolean): string;
2925
- export declare function getElementWrapperComponentData(element: any, reason: string, creator: any): any;
2940
+ export declare function getElementWrapperComponentData(element: any, reason: string, creator: CreatorBase): any;
2926
2941
  export declare function getItemValueWrapperComponentName(item: ItemValue, question: QuestionSelectBase): string;
2927
- export declare function getItemValueWrapperComponentData(item: ItemValue, question: QuestionSelectBase, creator: any): any;
2942
+ export declare function getItemValueWrapperComponentData(item: ItemValue, question: QuestionSelectBase, creator: CreatorBase): any;
2928
2943
  export declare function isStringEditable(element: any, name: string): boolean;
2929
2944
  export declare var editorLocalization: {
2930
2945
  camelCaseBreaking: boolean,
@@ -4137,5 +4152,6 @@ export declare var logicCss: {
4137
4152
  },
4138
4153
  };
4139
4154
  export declare var initialSettingsAllowShowEmptyTitleInDesignMode: boolean;
4155
+ export declare var editableStringRendererName: any;
4140
4156
  export declare var svgBundle: string;
4141
4157
  export declare var Version: string;