survey-creator-angular 1.9.125 → 1.9.127

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/angular-ui.d.ts CHANGED
@@ -15,6 +15,7 @@ export * from "./tabs/json/json-editor-ace.component";
15
15
  export * from "./tabs/logic/logic.component";
16
16
  export * from "./tabs/logic/logic-add-btn.component";
17
17
  export * from "./components/action-button.component";
18
+ export * from "./components/switcher.component";
18
19
  export * from "./questions/question-link-value.component";
19
20
  export * from "./questions/question-embedded-survey.component";
20
21
  export * from "./tabs/translation/translation.component";
@@ -17,52 +17,53 @@ import * as i15 from "./tabs/json/json-editor-ace.component";
17
17
  import * as i16 from "./tabs/logic/logic.component";
18
18
  import * as i17 from "./tabs/logic/logic-add-btn.component";
19
19
  import * as i18 from "./components/action-button.component";
20
- import * as i19 from "./questions/question-link-value.component";
21
- import * as i20 from "./questions/question-embedded-survey.component";
22
- import * as i21 from "./tabs/translation/translation.component";
23
- import * as i22 from "./tabs/translation/translation-line-skeleton.component";
24
- import * as i23 from "./tabs/preview/simulator.component";
25
- import * as i24 from "./tabs/preview/test.component";
26
- import * as i25 from "./tabs/preview/test-again.component";
27
- import * as i26 from "./tabs/preview/survey-results.component";
28
- import * as i27 from "./tabs/preview/survey-results-row.component";
29
- import * as i28 from "./tabs/theme/theme.component";
30
- import * as i29 from "./toolbox/adaptive-toolbox.component";
31
- import * as i30 from "./toolbox/toolbox-tool.component";
32
- import * as i31 from "./toolbox/toolbox-item.component";
33
- import * as i32 from "./toolbox/toolbox-category.component";
34
- import * as i33 from "./string-editor.component";
35
- import * as i34 from "./page-navigator/page-navigator.component";
36
- import * as i35 from "./page-navigator/page-navigator-item.component";
37
- import * as i36 from "./adorners/question-dropdown.component";
38
- import * as i37 from "./adorners/question-image.component";
39
- import * as i38 from "./adorners/item-value.component";
40
- import * as i39 from "./adorners/image-item-value.component";
41
- import * as i40 from "./questions/logic-operator.component";
42
- import * as i41 from "./adorners/matrix-cell.component";
43
- import * as i42 from "./question-editor.component";
44
- import * as i43 from "./adorners/cell-question-dropdown.component";
45
- import * as i44 from "./row.component";
46
- import * as i45 from "./tabs/designer/designer-pages.component";
47
- import * as i46 from "./tabs/designer/designer-survey.component";
48
- import * as i47 from "./adorners/cell-question.component";
49
- import * as i48 from "./question-widget.component";
50
- import * as i49 from "./toolbox/toolbox.component";
51
- import * as i50 from "./header/logo-image.component";
52
- import * as i51 from "./adorners/question-rating.component";
53
- import * as i52 from "./custom-questions/spin-editor.component";
54
- import * as i53 from "./custom-questions/color-item.component";
55
- import * as i54 from "./custom-questions/color.component";
56
- import * as i55 from "./custom-questions/file.component";
57
- import * as i56 from "./page-add-question.component";
58
- import * as i57 from "./question-banner.component";
59
- import * as i58 from "./tabs/json/json-error-item.component";
60
- import * as i59 from "./custom-questions/text-with-reset.component";
61
- import * as i60 from "@angular/common";
62
- import * as i61 from "@angular/forms";
63
- import * as i62 from "survey-angular-ui";
20
+ import * as i19 from "./components/switcher.component";
21
+ import * as i20 from "./questions/question-link-value.component";
22
+ import * as i21 from "./questions/question-embedded-survey.component";
23
+ import * as i22 from "./tabs/translation/translation.component";
24
+ import * as i23 from "./tabs/translation/translation-line-skeleton.component";
25
+ import * as i24 from "./tabs/preview/simulator.component";
26
+ import * as i25 from "./tabs/preview/test.component";
27
+ import * as i26 from "./tabs/preview/test-again.component";
28
+ import * as i27 from "./tabs/preview/survey-results.component";
29
+ import * as i28 from "./tabs/preview/survey-results-row.component";
30
+ import * as i29 from "./tabs/theme/theme.component";
31
+ import * as i30 from "./toolbox/adaptive-toolbox.component";
32
+ import * as i31 from "./toolbox/toolbox-tool.component";
33
+ import * as i32 from "./toolbox/toolbox-item.component";
34
+ import * as i33 from "./toolbox/toolbox-category.component";
35
+ import * as i34 from "./string-editor.component";
36
+ import * as i35 from "./page-navigator/page-navigator.component";
37
+ import * as i36 from "./page-navigator/page-navigator-item.component";
38
+ import * as i37 from "./adorners/question-dropdown.component";
39
+ import * as i38 from "./adorners/question-image.component";
40
+ import * as i39 from "./adorners/item-value.component";
41
+ import * as i40 from "./adorners/image-item-value.component";
42
+ import * as i41 from "./questions/logic-operator.component";
43
+ import * as i42 from "./adorners/matrix-cell.component";
44
+ import * as i43 from "./question-editor.component";
45
+ import * as i44 from "./adorners/cell-question-dropdown.component";
46
+ import * as i45 from "./row.component";
47
+ import * as i46 from "./tabs/designer/designer-pages.component";
48
+ import * as i47 from "./tabs/designer/designer-survey.component";
49
+ import * as i48 from "./adorners/cell-question.component";
50
+ import * as i49 from "./question-widget.component";
51
+ import * as i50 from "./toolbox/toolbox.component";
52
+ import * as i51 from "./header/logo-image.component";
53
+ import * as i52 from "./adorners/question-rating.component";
54
+ import * as i53 from "./custom-questions/spin-editor.component";
55
+ import * as i54 from "./custom-questions/color-item.component";
56
+ import * as i55 from "./custom-questions/color.component";
57
+ import * as i56 from "./custom-questions/file.component";
58
+ import * as i57 from "./page-add-question.component";
59
+ import * as i58 from "./question-banner.component";
60
+ import * as i59 from "./tabs/json/json-error-item.component";
61
+ import * as i60 from "./custom-questions/text-with-reset.component";
62
+ import * as i61 from "@angular/common";
63
+ import * as i62 from "@angular/forms";
64
+ import * as i63 from "survey-angular-ui";
64
65
  export declare class SurveyCreatorModule {
65
66
  static ɵfac: i0.ɵɵFactoryDeclaration<SurveyCreatorModule, never>;
66
- static ɵmod: i0.ɵɵNgModuleDeclaration<SurveyCreatorModule, [typeof i1.CreatorComponent, typeof i2.DesignerTabComponent, typeof i3.PageDesignerComponent, typeof i4.QuestionDesignerComponent, typeof i5.PanelDesignerComponent, typeof i6.TabbledMenuComponent, typeof i7.TabbedMenuItemComponent, typeof i8.TabbedMenuItemWrapperComponent, typeof i9.SidebarComponent, typeof i10.SidebarTabComponent, typeof i11.ObjectSelectorComponent, typeof i12.PropertyGridComponent, typeof i13.SearchComponent, typeof i14.TextareaJsonEditorComponent, typeof i15.AceJsonEditorComponent, typeof i16.LogicTabComponent, typeof i17.LogicAddButtonComponent, typeof i18.ActionButtonComponent, typeof i19.LinkValueQuestionComponent, typeof i20.EmbeddedSurveyQuestionComponent, typeof i21.TranslationTabComponent, typeof i22.TranslationSkeletonComponent, typeof i23.SimulatorComponent, typeof i24.TestTabComponent, typeof i25.TestAgainActionComponent, typeof i26.SurveyResultsComponent, typeof i27.SurveyResultsTableRowComponent, typeof i28.ThemeTabComponent, typeof i29.AdaptiveToolboxComponent, typeof i30.ToolboxToolComponent, typeof i31.ToolboxItemComponent, typeof i32.ToolboxCategoryComponent, typeof i33.StringEditorComponent, typeof i34.PageNavigatorComponent, typeof i35.PageNavigatorItemComponent, typeof i36.QuestionDropdownDesignerComponent, typeof i36.QuestionDropdownAdornerDesignerComponent, typeof i37.QuestionImageDesignerComponent, typeof i37.QuestionImageAdornerDesignerComponent, typeof i38.ItemValueDesignerComponent, typeof i39.ImageItemValueDesignerComponent, typeof i40.LogicOperatorComponent, typeof i41.MatrixCellComponent, typeof i42.QuestionEditorComponent, typeof i43.CellQuestionDropdownComponent, typeof i44.CreatorRowComponent, typeof i45.DesignerPagesComponent, typeof i46.DesignerSurveyComponent, typeof i47.CellQuestionComponent, typeof i48.QuestionWidgetDesignerComponent, typeof i49.ToolboxComponent, typeof i50.CreatorLogoImageComponent, typeof i51.QuestionRatingAdornerDesignerComponent, typeof i51.QuestionRatingDesignerComponent, typeof i52.QuestionSpinEditorComponent, typeof i53.ColorItemComponent, typeof i54.QuestionColorComponent, typeof i55.QuestionFileEditorComponent, typeof i56.AddQuestionButtonComponent, typeof i57.QuestionBannerComponent, typeof i58.JsonErrorItemComponent, typeof i59.QuestionTextWithResetComponent], [typeof i60.CommonModule, typeof i61.FormsModule, typeof i62.SurveyModule], [typeof i1.CreatorComponent, typeof i2.DesignerTabComponent, typeof i3.PageDesignerComponent, typeof i4.QuestionDesignerComponent, typeof i5.PanelDesignerComponent, typeof i6.TabbledMenuComponent, typeof i7.TabbedMenuItemComponent, typeof i8.TabbedMenuItemWrapperComponent, typeof i9.SidebarComponent, typeof i10.SidebarTabComponent, typeof i11.ObjectSelectorComponent, typeof i12.PropertyGridComponent, typeof i13.SearchComponent, typeof i14.TextareaJsonEditorComponent, typeof i15.AceJsonEditorComponent, typeof i16.LogicTabComponent, typeof i17.LogicAddButtonComponent, typeof i18.ActionButtonComponent, typeof i19.LinkValueQuestionComponent, typeof i20.EmbeddedSurveyQuestionComponent, typeof i21.TranslationTabComponent, typeof i22.TranslationSkeletonComponent, typeof i23.SimulatorComponent, typeof i24.TestTabComponent, typeof i25.TestAgainActionComponent, typeof i26.SurveyResultsComponent, typeof i27.SurveyResultsTableRowComponent, typeof i28.ThemeTabComponent, typeof i29.AdaptiveToolboxComponent, typeof i30.ToolboxToolComponent, typeof i31.ToolboxItemComponent, typeof i32.ToolboxCategoryComponent, typeof i33.StringEditorComponent, typeof i34.PageNavigatorComponent, typeof i35.PageNavigatorItemComponent, typeof i36.QuestionDropdownDesignerComponent, typeof i36.QuestionDropdownAdornerDesignerComponent, typeof i37.QuestionImageDesignerComponent, typeof i37.QuestionImageAdornerDesignerComponent, typeof i38.ItemValueDesignerComponent, typeof i39.ImageItemValueDesignerComponent, typeof i40.LogicOperatorComponent, typeof i41.MatrixCellComponent, typeof i42.QuestionEditorComponent, typeof i43.CellQuestionDropdownComponent, typeof i44.CreatorRowComponent, typeof i45.DesignerPagesComponent, typeof i46.DesignerSurveyComponent, typeof i47.CellQuestionComponent, typeof i48.QuestionWidgetDesignerComponent, typeof i49.ToolboxComponent, typeof i50.CreatorLogoImageComponent, typeof i51.QuestionRatingAdornerDesignerComponent, typeof i51.QuestionRatingDesignerComponent, typeof i52.QuestionSpinEditorComponent, typeof i53.ColorItemComponent, typeof i54.QuestionColorComponent, typeof i55.QuestionFileEditorComponent, typeof i56.AddQuestionButtonComponent, typeof i57.QuestionBannerComponent, typeof i58.JsonErrorItemComponent, typeof i59.QuestionTextWithResetComponent]>;
67
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SurveyCreatorModule, [typeof i1.CreatorComponent, typeof i2.DesignerTabComponent, typeof i3.PageDesignerComponent, typeof i4.QuestionDesignerComponent, typeof i5.PanelDesignerComponent, typeof i6.TabbledMenuComponent, typeof i7.TabbedMenuItemComponent, typeof i8.TabbedMenuItemWrapperComponent, typeof i9.SidebarComponent, typeof i10.SidebarTabComponent, typeof i11.ObjectSelectorComponent, typeof i12.PropertyGridComponent, typeof i13.SearchComponent, typeof i14.TextareaJsonEditorComponent, typeof i15.AceJsonEditorComponent, typeof i16.LogicTabComponent, typeof i17.LogicAddButtonComponent, typeof i18.ActionButtonComponent, typeof i19.SwitcherComponent, typeof i20.LinkValueQuestionComponent, typeof i21.EmbeddedSurveyQuestionComponent, typeof i22.TranslationTabComponent, typeof i23.TranslationSkeletonComponent, typeof i24.SimulatorComponent, typeof i25.TestTabComponent, typeof i26.TestAgainActionComponent, typeof i27.SurveyResultsComponent, typeof i28.SurveyResultsTableRowComponent, typeof i29.ThemeTabComponent, typeof i30.AdaptiveToolboxComponent, typeof i31.ToolboxToolComponent, typeof i32.ToolboxItemComponent, typeof i33.ToolboxCategoryComponent, typeof i34.StringEditorComponent, typeof i35.PageNavigatorComponent, typeof i36.PageNavigatorItemComponent, typeof i37.QuestionDropdownDesignerComponent, typeof i37.QuestionDropdownAdornerDesignerComponent, typeof i38.QuestionImageDesignerComponent, typeof i38.QuestionImageAdornerDesignerComponent, typeof i39.ItemValueDesignerComponent, typeof i40.ImageItemValueDesignerComponent, typeof i41.LogicOperatorComponent, typeof i42.MatrixCellComponent, typeof i43.QuestionEditorComponent, typeof i44.CellQuestionDropdownComponent, typeof i45.CreatorRowComponent, typeof i46.DesignerPagesComponent, typeof i47.DesignerSurveyComponent, typeof i48.CellQuestionComponent, typeof i49.QuestionWidgetDesignerComponent, typeof i50.ToolboxComponent, typeof i51.CreatorLogoImageComponent, typeof i52.QuestionRatingAdornerDesignerComponent, typeof i52.QuestionRatingDesignerComponent, typeof i53.QuestionSpinEditorComponent, typeof i54.ColorItemComponent, typeof i55.QuestionColorComponent, typeof i56.QuestionFileEditorComponent, typeof i57.AddQuestionButtonComponent, typeof i58.QuestionBannerComponent, typeof i59.JsonErrorItemComponent, typeof i60.QuestionTextWithResetComponent], [typeof i61.CommonModule, typeof i62.FormsModule, typeof i63.SurveyModule], [typeof i1.CreatorComponent, typeof i2.DesignerTabComponent, typeof i3.PageDesignerComponent, typeof i4.QuestionDesignerComponent, typeof i5.PanelDesignerComponent, typeof i6.TabbledMenuComponent, typeof i7.TabbedMenuItemComponent, typeof i8.TabbedMenuItemWrapperComponent, typeof i9.SidebarComponent, typeof i10.SidebarTabComponent, typeof i11.ObjectSelectorComponent, typeof i12.PropertyGridComponent, typeof i13.SearchComponent, typeof i14.TextareaJsonEditorComponent, typeof i15.AceJsonEditorComponent, typeof i16.LogicTabComponent, typeof i17.LogicAddButtonComponent, typeof i18.ActionButtonComponent, typeof i19.SwitcherComponent, typeof i20.LinkValueQuestionComponent, typeof i21.EmbeddedSurveyQuestionComponent, typeof i22.TranslationTabComponent, typeof i23.TranslationSkeletonComponent, typeof i24.SimulatorComponent, typeof i25.TestTabComponent, typeof i26.TestAgainActionComponent, typeof i27.SurveyResultsComponent, typeof i28.SurveyResultsTableRowComponent, typeof i29.ThemeTabComponent, typeof i30.AdaptiveToolboxComponent, typeof i31.ToolboxToolComponent, typeof i32.ToolboxItemComponent, typeof i33.ToolboxCategoryComponent, typeof i34.StringEditorComponent, typeof i35.PageNavigatorComponent, typeof i36.PageNavigatorItemComponent, typeof i37.QuestionDropdownDesignerComponent, typeof i37.QuestionDropdownAdornerDesignerComponent, typeof i38.QuestionImageDesignerComponent, typeof i38.QuestionImageAdornerDesignerComponent, typeof i39.ItemValueDesignerComponent, typeof i40.ImageItemValueDesignerComponent, typeof i41.LogicOperatorComponent, typeof i42.MatrixCellComponent, typeof i43.QuestionEditorComponent, typeof i44.CellQuestionDropdownComponent, typeof i45.CreatorRowComponent, typeof i46.DesignerPagesComponent, typeof i47.DesignerSurveyComponent, typeof i48.CellQuestionComponent, typeof i49.QuestionWidgetDesignerComponent, typeof i50.ToolboxComponent, typeof i51.CreatorLogoImageComponent, typeof i52.QuestionRatingAdornerDesignerComponent, typeof i52.QuestionRatingDesignerComponent, typeof i53.QuestionSpinEditorComponent, typeof i54.ColorItemComponent, typeof i55.QuestionColorComponent, typeof i56.QuestionFileEditorComponent, typeof i57.AddQuestionButtonComponent, typeof i58.QuestionBannerComponent, typeof i59.JsonErrorItemComponent, typeof i60.QuestionTextWithResetComponent]>;
67
68
  static ɵinj: i0.ɵɵInjectorDeclaration<SurveyCreatorModule>;
68
69
  }
@@ -638,7 +638,7 @@
638
638
  return CreatorComponent;
639
639
  }(i1.BaseAngular));
640
640
  CreatorComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: CreatorComponent, deps: [{ token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
641
- CreatorComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: CreatorComponent, selector: "survey-creator", inputs: { model: "model" }, viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true, read: i0.ElementRef }], usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngIf=\"!creator.isCreatorDisposed\">\n <sv-ng-modal-container></sv-ng-modal-container>\n <div class=\"svc-creator\" [class.svc-creator--mobile]=\"creator.isMobileView\"\n [class.svc-creator--touch]=\"creator.isTouch\" #container>\n <div>\n <sv-svg-bundle></sv-svg-bundle>\n </div>\n <div class=\"svc-full-container svc-creator__area svc-flex-column\"\n [class.svc-creator__area--with-banner]=\"!creator.haveCommercialLicense\">\n <div class=\"svc-flex-row svc-full-container\"\n [class.svc-creator__side-bar--left]=\"creator.sidebarLocation == 'left'\">\n <div class=\"svc-flex-column svc-flex-row__element svc-flex-row__element--growing\">\n <div class=\"svc-top-bar\">\n <div class=\"svc-tabbed-menu-wrapper\" [visible]=\"creator.showTabs\">\n <svc-tabbed-menu [model]=\"creator.tabbedMenu\"></svc-tabbed-menu>\n </div>\n <div *ngIf=\"creator.showToolbar\" class=\"svc-toolbar-wrapper\" [visible]=\"creator.showToolbar\">\n <sv-action-bar [model]=\"creator.toolbar\"></sv-action-bar>\n </div>\n </div>\n <div class=\"svc-creator__content-wrapper svc-flex-row\"\n [class.svc-creator__content-wrapper--footer-toolbar]=\"creator.isMobileView\">\n <div class=\"svc-creator__content-holder svc-flex-column\">\n <ng-container *ngFor=\"let tab of creator.tabs\">\n <div class=\"svc-creator-tab\" *ngIf=\"creator.viewType == tab.id && tab.visible\"\n [attr.id]=\"'scrollableDiv-' + tab.id\" [class.svc-creator__toolbox--right]=\"creator.toolboxLocation == 'right'\">\n <ng-template [component]=\"{ name: tab.componentContent, data: { model: tab.data.model } }\"></ng-template>\n </div>\n </ng-container>\n </div>\n </div>\n <div *ngIf=\"creator.isMobileView\" class=\"svc-footer-bar\">\n <div class=\"svc-toolbar-wrapper\" [visible]=\"creator.isMobileView\">\n <sv-action-bar [model]=\"creator.footerToolbar\"></sv-action-bar>\n </div>\n </div>\n </div>\n <div *ngIf=\"creator.sidebar\" [class.sv-mobile-side-bar]=\"creator.isMobileView\">\n <svc-side-bar [model]=\"creator.sidebar\"></svc-side-bar>\n </div>\n </div>\n <div class=\"svc-creator__banner\" *ngIf=\"!creator.haveCommercialLicense\">\n <span class=\"svc-creator__non-commercial-text\">\n <a href=\"https://surveyjs.io/buy\">\n {{creator.licenseText}}\n </a>\n </span>\n </div>\n <sv-notifier [notifier]=\"creator.notifier\"></sv-notifier>\n </div>\n </div>\n</ng-container>", components: [{ type: i1__namespace.ModalComponent, selector: "sv-ng-modal-container" }, { type: i1__namespace.SvgBundleComponent, selector: "sv-svg-bundle" }, { type: TabbledMenuComponent, selector: "svc-tabbed-menu", inputs: ["model"] }, { type: i1__namespace.ActionBarComponent, selector: "sv-action-bar, sv-ng-action-bar", inputs: ["model", "handleClick"] }, { type: SidebarComponent, selector: "svc-side-bar", inputs: ["model"] }, { type: i1__namespace.NotifierComponent, selector: "sv-notifier", inputs: ["notifier"] }], directives: [{ type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace.VisibleDirective, selector: "[visible]", inputs: ["visible"] }, { type: i2__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1__namespace.DynamicComponentDirective, selector: "[component]", inputs: ["component"] }] });
641
+ CreatorComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: CreatorComponent, selector: "survey-creator", inputs: { model: "model" }, viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true, read: i0.ElementRef }], usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngIf=\"!creator.isCreatorDisposed\">\n <sv-ng-modal-container></sv-ng-modal-container>\n <div class=\"svc-creator\" [class.svc-creator--mobile]=\"creator.isMobileView\"\n [class.svc-creator--touch]=\"creator.isTouch\" #container>\n <div>\n <sv-svg-bundle></sv-svg-bundle>\n </div>\n <div class=\"svc-full-container svc-creator__area svc-flex-column\"\n [class.svc-creator__area--with-banner]=\"!creator.haveCommercialLicense\">\n <div class=\"svc-flex-row svc-full-container\"\n [class.svc-creator__side-bar--left]=\"creator.sidebarLocation == 'left'\">\n <div class=\"svc-flex-column svc-flex-row__element svc-flex-row__element--growing\">\n <div class=\"svc-top-bar\">\n <div class=\"svc-tabbed-menu-wrapper\" [visible]=\"creator.showTabs\">\n <svc-tabbed-menu [model]=\"creator.tabbedMenu\"></svc-tabbed-menu>\n </div>\n <div *ngIf=\"creator.showToolbar\" class=\"svc-toolbar-wrapper\" [visible]=\"creator.showToolbar\">\n <sv-action-bar [model]=\"creator.toolbar\"></sv-action-bar>\n </div>\n </div>\n <div class=\"svc-creator__content-wrapper svc-flex-row\"\n [class.svc-creator__content-wrapper--footer-toolbar]=\"creator.isMobileView\">\n <div class=\"svc-creator__content-holder svc-flex-column\">\n <ng-container *ngFor=\"let tab of creator.tabs\">\n <div class=\"svc-creator-tab\" *ngIf=\"creator.viewType == tab.id && tab.visible\"\n [attr.id]=\"'scrollableDiv-' + tab.id\"\n [class.svc-creator__toolbox--right]=\"creator.toolboxLocation == 'right'\">\n <ng-template\n [component]=\"{ name: tab.componentContent, data: { model: tab.data.model } }\"></ng-template>\n </div>\n </ng-container>\n </div>\n </div>\n <div *ngIf=\"creator.isMobileView\" class=\"svc-footer-bar\">\n <div class=\"svc-toolbar-wrapper\" [visible]=\"creator.isMobileView\">\n <sv-action-bar [model]=\"creator.footerToolbar\"></sv-action-bar>\n </div>\n </div>\n </div>\n <div *ngIf=\"creator.sidebar\" [class.sv-mobile-side-bar]=\"creator.isMobileView\">\n <svc-side-bar [model]=\"creator.sidebar\"></svc-side-bar>\n </div>\n </div>\n <div class=\"svc-creator__banner\" *ngIf=\"!creator.haveCommercialLicense\">\n <span class=\"svc-creator__non-commercial-text\" [innerHTML]=\"creator.licenseText | safeHtml\"></span>\n </div>\n <sv-notifier [notifier]=\"creator.notifier\"></sv-notifier>\n </div>\n </div>\n</ng-container>", components: [{ type: i1__namespace.ModalComponent, selector: "sv-ng-modal-container" }, { type: i1__namespace.SvgBundleComponent, selector: "sv-svg-bundle" }, { type: TabbledMenuComponent, selector: "svc-tabbed-menu", inputs: ["model"] }, { type: i1__namespace.ActionBarComponent, selector: "sv-action-bar, sv-ng-action-bar", inputs: ["model", "handleClick"] }, { type: SidebarComponent, selector: "svc-side-bar", inputs: ["model"] }, { type: i1__namespace.NotifierComponent, selector: "sv-notifier", inputs: ["notifier"] }], directives: [{ type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace.VisibleDirective, selector: "[visible]", inputs: ["visible"] }, { type: i2__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1__namespace.DynamicComponentDirective, selector: "[component]", inputs: ["component"] }], pipes: { "safeHtml": i1__namespace.SafeHtmlPipe } });
642
642
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: CreatorComponent, decorators: [{
643
643
  type: i0.Component,
644
644
  args: [{
@@ -1316,6 +1316,30 @@
1316
1316
  }] } });
1317
1317
  i1.AngularComponentFactory.Instance.registerComponent("svc-action-button", ActionButtonComponent);
1318
1318
 
1319
+ var SwitcherComponent = /** @class */ (function (_super) {
1320
+ __extends(SwitcherComponent, _super);
1321
+ function SwitcherComponent() {
1322
+ return _super !== null && _super.apply(this, arguments) || this;
1323
+ }
1324
+ SwitcherComponent.prototype.getModel = function () {
1325
+ return this.model;
1326
+ };
1327
+ return SwitcherComponent;
1328
+ }(i1.BaseAngular));
1329
+ SwitcherComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: SwitcherComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
1330
+ SwitcherComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: SwitcherComponent, selector: "svc-switcher", inputs: { model: "model" }, usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #template>\n <button type=\"button\" (click)=\"model.action(model, model.getIsTrusted($event))\"\n [key2click]=\"{ processEsc: false, disableTabStop: model.disableTabStop }\" [class]=\"model.getActionBarItemCss()\"\n [disabled]=\"model.disabled\" [attr.title]=\"model.tooltip || model.title\" [attr.aria-checked]=\"model.ariaChecked\"\n [attr.aria-expanded]=\"model.ariaExpanded\" [attr.role]=\"model.ariaRole\">\n <div [class]=\"model.getSwitcherIconCss()\">\n <div class=\"svc-switcher__icon-thumb\"></div>\n </div>\n <span *ngIf=\"model.hasTitle\" class=\"svc-switcher__title\">{{ model.title }}</span>\n </button>\n <ng-template>", styles: [":host { display: none; }"], directives: [{ type: i1__namespace.Key2ClickDirective, selector: "[key2click]", inputs: ["key2click"] }, { type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
1331
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: SwitcherComponent, decorators: [{
1332
+ type: i0.Component,
1333
+ args: [{
1334
+ selector: "svc-switcher",
1335
+ templateUrl: "./switcher.component.html",
1336
+ styles: [":host { display: none; }"]
1337
+ }]
1338
+ }], propDecorators: { model: [{
1339
+ type: i0.Input
1340
+ }] } });
1341
+ i1.AngularComponentFactory.Instance.registerComponent("svc-switcher", SwitcherComponent);
1342
+
1319
1343
  var LinkValueQuestionComponent = /** @class */ (function (_super) {
1320
1344
  __extends(LinkValueQuestionComponent, _super);
1321
1345
  function LinkValueQuestionComponent() {
@@ -1858,7 +1882,7 @@
1858
1882
  return ImageItemValueDesignerComponent;
1859
1883
  }(CreatorModelComponent));
1860
1884
  ImageItemValueDesignerComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: ImageItemValueDesignerComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
1861
- ImageItemValueDesignerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: ImageItemValueDesignerComponent, selector: "svc-image-item-value", inputs: { componentName: "componentName", componentData: "componentData" }, viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true, read: i0.ElementRef }], usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #template>\n <div (pointerdown)=\"adorner.onPointerDown($event)\" [class]=\"adorner.getRootCss()\"\n [attr.data-sv-drop-target-item-value]=\"adorner.isDraggable ? this.item.value : null\" #container>\n <div class=\"svc-image-item-value-wrapper__ghost\" [style]=\"getNewItemStyle()\"></div>\n\n <div class=\"svc-image-item-value-wrapper__content\">\n <input type=\"file\" aria-hidden=\"true\" tabindex=\"-1\" [accept]=\"adorner.acceptedTypes\"\n class=\"svc-choose-file-input\" />\n\n <ng-container *ngIf=\"!adorner.isNew && !adorner.isUploading\">\n <div *ngIf=\"!adorner.isNew\" class=\"svc-image-item-value__item\">\n <ng-template [component]=\"{ name: componentName, data: componentData }\"></ng-template>\n </div>\n <span *ngIf=\"adorner.isDraggable\" class=\"svc-context-button svc-image-item-value-controls__drag-area-indicator\"\n (pointerdown)=\"adorner.onPointerDown($event)\" [attr.title]=\"undefined\" [attr.aria-label]=\"undefined\">\n <svg [iconName]=\"'icon-drag-area-indicator'\" [size]=\"24\" sv-ng-svg-icon></svg>\n </span>\n <div class=\"svc-context-container svc-image-item-value-controls\">\n <ng-container *ngIf=\"adorner.allowRemove && !adorner.isUploading\">\n <span class=\"svc-context-button\" (click)=\"adorner.chooseFile(adorner)\" [key2click] [attr.title]=\"undefined\"\n [attr.aria-label]=\"undefined\">\n <svg [iconName]=\"'icon-file'\" [size]=\"24\" sv-ng-svg-icon></svg>\n </span>\n <span class=\"svc-context-button svc-context-button--danger\" (click)=\"adorner.remove(adorner)\" [key2click]\n [attr.title]=\"undefined\" [attr.aria-label]=\"undefined\">\n <svg [iconName]=\"'icon-delete'\" [size]=\"24\" sv-ng-svg-icon></svg>\n </span>\n </ng-container>\n </div>\n </ng-container>\n\n <ng-container *ngIf=\"adorner.isNew || adorner.isUploading\">\n <div class=\"svc-image-item-value__item\"\n data-bind=\"event: { dragover: dragover, drop: drop, dragleave: dragleave }\">\n <div class=\"sd-imagepicker__item sd-imagepicker__item--inline\">\n <label class=\"sd-imagepicker__label\">\n <div [style]=\"getNewItemStyle()\" class=\"sd-imagepicker__image\">\n <div class=\"svc-image-item-value__loading\" *ngIf=\"adorner.isUploading\">\n <sv-ng-loading-indicator></sv-ng-loading-indicator>\n </div>\n </div>\n </label>\n </div>\n </div>\n\n <div class=\"svc-image-item-value-controls\" data-bind=\"event: { pointerdown: blockEvent }\">\n <span class=\"svc-context-button svc-image-item-value-controls__add\"\n *ngIf=\"adorner.allowAdd && !adorner.isUploading\" [key2click] (click)=\"adorner.chooseNewFile(adorner)\"\n [attr.title]=\"undefined\" [attr.aria-label]=\"undefined\">\n <svg [iconName]=\"'icon-add-lg'\" [size]=\"24\" sv-ng-svg-icon></svg>\n </span>\n </div>\n </ng-container>\n </div>\n </div>\n</ng-template>", styles: [":host { display: none; }"], components: [{ type: i1__namespace.SvgIconComponent, selector: "'[sv-ng-svg-icon]'", inputs: ["size", "width", "height", "iconName", "partCss", "css", "title"] }, { type: i1__namespace.LoadingIndicatorComponent, selector: "sv-ng-loading-indicator" }], directives: [{ type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace.DynamicComponentDirective, selector: "[component]", inputs: ["component"] }, { type: i1__namespace.Key2ClickDirective, selector: "[key2click]", inputs: ["key2click"] }] });
1885
+ ImageItemValueDesignerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: ImageItemValueDesignerComponent, selector: "svc-image-item-value", inputs: { componentName: "componentName", componentData: "componentData" }, viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true, read: i0.ElementRef }], usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #template>\n <div (pointerdown)=\"adorner.onPointerDown($event)\" [class]=\"adorner.getRootCss()\"\n [attr.data-sv-drop-target-item-value]=\"adorner.isDraggable ? this.item.value : null\" #container>\n <div class=\"svc-image-item-value-wrapper__ghost\" [style]=\"getNewItemStyle()\"></div>\n\n <div class=\"svc-image-item-value-wrapper__content\">\n <input type=\"file\" aria-hidden=\"true\" tabindex=\"-1\" [accept]=\"adorner.acceptedTypes\"\n class=\"svc-choose-file-input\" />\n\n <ng-container *ngIf=\"!adorner.isNew && !adorner.isUploading\">\n <div *ngIf=\"!adorner.isNew\" class=\"svc-image-item-value__item\">\n <ng-template [component]=\"{ name: componentName, data: componentData }\"></ng-template>\n </div>\n <span *ngIf=\"adorner.isDraggable && adorner.canRenderControls\"\n class=\"svc-context-button svc-image-item-value-controls__drag-area-indicator\"\n (pointerdown)=\"adorner.onPointerDown($event)\" [attr.title]=\"undefined\" [attr.aria-label]=\"undefined\">\n <svg [iconName]=\"'icon-drag-area-indicator'\" [size]=\"24\" sv-ng-svg-icon></svg>\n </span>\n <div *ngIf=\"adorner.canRenderControls\" class=\"svc-context-container svc-image-item-value-controls\">\n <ng-container *ngIf=\"adorner.allowRemove && !adorner.isUploading\">\n <span class=\"svc-context-button\" (click)=\"adorner.chooseFile(adorner)\" [key2click] [attr.title]=\"undefined\"\n [attr.aria-label]=\"undefined\">\n <svg [iconName]=\"'icon-file'\" [size]=\"24\" sv-ng-svg-icon></svg>\n </span>\n <span class=\"svc-context-button svc-context-button--danger\" (click)=\"adorner.remove(adorner)\" [key2click]\n [attr.title]=\"undefined\" [attr.aria-label]=\"undefined\">\n <svg [iconName]=\"'icon-delete'\" [size]=\"24\" sv-ng-svg-icon></svg>\n </span>\n </ng-container>\n </div>\n </ng-container>\n\n <ng-container *ngIf=\"adorner.isNew || adorner.isUploading\">\n <div class=\"svc-image-item-value__item\"\n data-bind=\"event: { dragover: dragover, drop: drop, dragleave: dragleave }\">\n <div class=\"sd-imagepicker__item sd-imagepicker__item--inline\">\n <label class=\"sd-imagepicker__label\">\n <div [style]=\"getNewItemStyle()\" class=\"sd-imagepicker__image\">\n <div class=\"svc-image-item-value__loading\" *ngIf=\"adorner.isUploading\">\n <sv-ng-loading-indicator></sv-ng-loading-indicator>\n </div>\n </div>\n </label>\n </div>\n </div>\n\n <div class=\"svc-image-item-value-controls\" data-bind=\"event: { pointerdown: blockEvent }\">\n <span class=\"svc-context-button svc-image-item-value-controls__add\"\n *ngIf=\"adorner.allowAdd && !adorner.isUploading\" [key2click] (click)=\"adorner.chooseNewFile(adorner)\"\n [attr.title]=\"undefined\" [attr.aria-label]=\"undefined\">\n <svg [iconName]=\"'icon-add-lg'\" [size]=\"24\" sv-ng-svg-icon></svg>\n </span>\n </div>\n </ng-container>\n </div>\n </div>\n</ng-template>", styles: [":host { display: none; }"], components: [{ type: i1__namespace.SvgIconComponent, selector: "'[sv-ng-svg-icon]'", inputs: ["size", "width", "height", "iconName", "partCss", "css", "title"] }, { type: i1__namespace.LoadingIndicatorComponent, selector: "sv-ng-loading-indicator" }], directives: [{ type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace.DynamicComponentDirective, selector: "[component]", inputs: ["component"] }, { type: i1__namespace.Key2ClickDirective, selector: "[key2click]", inputs: ["key2click"] }] });
1862
1886
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: ImageItemValueDesignerComponent, decorators: [{
1863
1887
  type: i0.Component,
1864
1888
  args: [{
@@ -1923,7 +1947,7 @@
1923
1947
  return QuestionDropdownAdornerDesignerComponent;
1924
1948
  }(i1.EmbeddedViewContentComponent));
1925
1949
  QuestionDropdownAdornerDesignerComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: QuestionDropdownAdornerDesignerComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
1926
- QuestionDropdownAdornerDesignerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: QuestionDropdownAdornerDesignerComponent, selector: "svc-dropdown-question-adorner", inputs: { adorner: "adorner", question: "question" }, usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #template>\n <div class=\"svc-question__dropdown-choices--wrapper\">\n <div class=\"svc-question__dropdown-choices\">\n <div *ngFor=\"let item of adorner.getRenderedItems()\" [class]=\"adorner.getChoiceCss()\"\n data-bind=\"css: $parent.getChoiceCss()\">\n <ng-template [component]=\"{ name: getItemValueComponentName(item), data: getItemValueComponentData(item) }\">\n </ng-template>\n </div>\n </div>\n <svc-action-button *ngIf=\"adorner.needToCollapse\" [text]=\"adorner.getButtonText()\"\n [click]=\"adorner.switchCollapse.bind(adorner)\" [allowBubble]=\"true\"> \n </svc-action-button>\n <!-- ko if: needToCollapse -->\n <!-- <svc-action-button params=\"text: getButtonText(), click: switchCollapse, allowBubble: true\">\n </svc-action-button> -->\n <!-- /ko -->\n </div>\n</ng-template>", styles: [":host { display: none; }"], components: [{ type: ActionButtonComponent, selector: "svc-action-button", inputs: ["classes", "click", "selected", "disabled", "text", "title", "allowBubble"] }], directives: [{ type: i2__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1__namespace.DynamicComponentDirective, selector: "[component]", inputs: ["component"] }, { type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
1950
+ QuestionDropdownAdornerDesignerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: QuestionDropdownAdornerDesignerComponent, selector: "svc-dropdown-question-adorner", inputs: { adorner: "adorner", question: "question" }, usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #template>\n <div class=\"svc-question__dropdown-choices--wrapper\">\n <div>\n <div class=\"svc-question__dropdown-choices\">\n <div *ngFor=\"let item of adorner.getRenderedItems()\" [class]=\"adorner.getChoiceCss()\"\n data-bind=\"css: $parent.getChoiceCss()\">\n <ng-template [component]=\"{ name: getItemValueComponentName(item), data: getItemValueComponentData(item) }\">\n </ng-template>\n </div>\n </div>\n <svc-action-button *ngIf=\"adorner.needToCollapse\" [text]=\"adorner.getButtonText()\"\n [click]=\"adorner.switchCollapse.bind(adorner)\" [allowBubble]=\"true\">\n </svc-action-button>\n </div>\n </div>\n</ng-template>", styles: [":host { display: none; }"], components: [{ type: ActionButtonComponent, selector: "svc-action-button", inputs: ["classes", "click", "selected", "disabled", "text", "title", "allowBubble"] }], directives: [{ type: i2__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1__namespace.DynamicComponentDirective, selector: "[component]", inputs: ["component"] }, { type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
1927
1951
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: QuestionDropdownAdornerDesignerComponent, decorators: [{
1928
1952
  type: i0.Component,
1929
1953
  args: [{
@@ -2022,7 +2046,7 @@
2022
2046
  return PanelDesignerComponent;
2023
2047
  }(QuestionDesignerComponent));
2024
2048
  PanelDesignerComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: PanelDesignerComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
2025
- PanelDesignerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: PanelDesignerComponent, selector: "svc-panel", usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #template>\n <div *ngIf=\"adorner\" class=\"svc-question__adorner\" [class]=\"adorner.rootCss()\"\n (mouseover)=\"adorner.hover($event, $event.currentTarget)\" (mouseleave)=\"adorner.hover($event, $event.currentTarget)\"\n [attr.data-sv-drop-target-survey-element]=\"adorner.element.name || null\" #container>\n\n <div [class]=\"adorner.css()\" [key2click]=\"{ disableTabStop: true }\"\n (click)=\"adorner.element.isInteractiveDesignElement ? adorner.select(adorner, $event) : null\">\n <div *ngIf=\"adorner.allowDragging && adorner.element.isInteractiveDesignElement\" class=\"svc-question__drag-area\"\n (pointerdown)=\"adorner.onPointerDown($event)\">\n <svg class=\"svc-question__drag-element\" [iconName]=\"'icon-drag-area-indicator_24x16'\" [size]=\"24\"\n sv-ng-svg-icon></svg>\n </div>\n\n <ng-template [component]=\"{ name: componentName, data: componentData }\"></ng-template>\n\n <div *ngIf=\"adorner.isEmptyElement\" class=\"svc-panel__placeholder_frame-wrapper\">\n <div class=\"svc-panel__placeholder_frame\">\n <div class=\"svc-panel__placeholder\">{{ adorner.placeholderText }}</div>\n <div *ngIf=\"adorner.showAddQuestionButton\" class=\"svc-panel__add-new-question svc-action-button\" [key2click]\n (click)=\"addNewQuestion($event)\">\n <svg class=\"svc-panel__add-new-question-icon\" [iconName]=\"('icon-add_24x24')\"\n [size]=\"24\" sv-ng-svg-icon></svg>\n <span class=\"svc-text svc-text--normal svc-text--bold\">\n {{ adorner.addNewQuestionText }}\n </span>\n </div>\n </div>\n </div>\n\n <ng-template *ngIf=\"adornerComponent && adorner.element.isInteractiveDesignElement\"\n [component]=\"{ name: adornerComponent, data: { adorner: adorner, question: model } }\">\n </ng-template>\n\n <div *ngIf=\"!adorner.isEmptyElement && adorner.showAddQuestionButton\"\n class=\"svc-panel__add-new-question-container\">\n <div class=\"svc-panel__add-new-question svc-action-button\" [key2click] (click)=\"addNewQuestion($event)\">\n <svg class=\"svc-panel__add-new-question-icon\" [iconName]=\"('icon-add_24x24')\"\n [size]=\"24\" sv-ng-svg-icon></svg>\n <span class=\"svc-text svc-text--normal svc-text--bold\">\n {{ adorner.addNewQuestionText }}\n </span>\n </div>\n <button type=\"button\" [attr.title]=\"adorner.addNewQuestionText\" [key2click] (click)=\"selectQuestionType($event)\"\n class=\"svc-panel__question-type-selector\">\n <svg class=\"svc-panel__question-type-selector-icon\" [iconName]=\"adorner.questionTypeSelectorModel.iconName\"\n [size]=\"24\" sv-ng-svg-icon></svg>\n <sv-ng-popup [popupModel]=\"adorner.questionTypeSelectorModel.popupModel\"></sv-ng-popup>\n </button>\n </div>\n\n <div *ngIf=\"adorner.element.isInteractiveDesignElement\" class=\"svc-question__content-actions\" (focusin)=\"adorner.select(adorner, $event)\">\n <sv-action-bar [model]=\"adorner.actionContainer\" [handleClick]=\"false\"></sv-action-bar>\n </div>\n </div>\n </div>\n</ng-template>", styles: [":host { display: none; }"], components: [{ type: i1__namespace.SvgIconComponent, selector: "'[sv-ng-svg-icon]'", inputs: ["size", "width", "height", "iconName", "partCss", "css", "title"] }, { type: i1__namespace.PopupComponent, selector: "sv-ng-popup, '[sv-ng-popup]'", inputs: ["popupModel", "getTarget"] }, { type: i1__namespace.ActionBarComponent, selector: "sv-action-bar, sv-ng-action-bar", inputs: ["model", "handleClick"] }], directives: [{ type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace.Key2ClickDirective, selector: "[key2click]", inputs: ["key2click"] }, { type: i1__namespace.DynamicComponentDirective, selector: "[component]", inputs: ["component"] }] });
2049
+ PanelDesignerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: PanelDesignerComponent, selector: "svc-panel", usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #template>\n <div *ngIf=\"adorner\" class=\"svc-question__adorner\" [class]=\"adorner.rootCss()\"\n (mouseover)=\"adorner.hover($event, $event.currentTarget)\" (mouseleave)=\"adorner.hover($event, $event.currentTarget)\"\n [attr.data-sv-drop-target-survey-element]=\"adorner.element.name || null\" #container>\n\n <div [class]=\"adorner.css()\" [key2click]=\"{ disableTabStop: true }\"\n (click)=\"adorner.element.isInteractiveDesignElement ? adorner.select(adorner, $event) : null\">\n <div *ngIf=\"adorner.allowDragging && adorner.element.isInteractiveDesignElement\" class=\"svc-question__drag-area\"\n (pointerdown)=\"adorner.onPointerDown($event)\">\n <svg class=\"svc-question__drag-element\" [iconName]=\"'icon-drag-area-indicator_24x16'\" [size]=\"24\"\n sv-ng-svg-icon></svg>\n </div>\n\n <ng-template [component]=\"{ name: componentName, data: componentData }\"></ng-template>\n\n <div *ngIf=\"adorner.isEmptyElement\" class=\"svc-panel__placeholder_frame-wrapper\">\n <div class=\"svc-panel__placeholder_frame\">\n <div class=\"svc-panel__placeholder\">{{ adorner.placeholderText }}</div>\n <div *ngIf=\"adorner.showAddQuestionButton\" class=\"svc-panel__add-new-question svc-action-button\" [key2click]\n (click)=\"addNewQuestion($event)\">\n <svg class=\"svc-panel__add-new-question-icon\" [iconName]=\"('icon-add_24x24')\"\n [size]=\"24\" sv-ng-svg-icon></svg>\n <span class=\"svc-text svc-text--normal svc-text--bold\">\n {{ adorner.addNewQuestionText }}\n </span>\n </div>\n </div>\n </div>\n\n <ng-template *ngIf=\"adornerComponent && adorner.element.isInteractiveDesignElement\"\n [component]=\"{ name: adornerComponent, data: { adorner: adorner, question: model } }\">\n </ng-template>\n\n <div *ngIf=\"!adorner.isEmptyElement && adorner.showAddQuestionButton\"\n class=\"svc-panel__add-new-question-container\">\n <div class=\"svc-panel__question-type-selector-popup\"> <sv-ng-popup\n [popupModel]=\"adorner.questionTypeSelectorModel.popupModel\"></sv-ng-popup>\n </div>\n <div class=\"svc-panel__add-new-question-wrapper\">\n <div class=\"svc-panel__add-new-question svc-action-button\" [key2click] (click)=\"addNewQuestion($event)\">\n <svg class=\"svc-panel__add-new-question-icon\" [iconName]=\"('icon-add_24x24')\" [size]=\"24\" sv-ng-svg-icon></svg>\n <span class=\"svc-text svc-text--normal svc-text--bold\">\n {{ adorner.addNewQuestionText }}\n </span>\n </div>\n <button type=\"button\" [attr.title]=\"adorner.addNewQuestionText\" [key2click] (click)=\"selectQuestionType($event)\"\n class=\"svc-panel__question-type-selector\">\n <svg class=\"svc-panel__question-type-selector-icon\" [iconName]=\"adorner.questionTypeSelectorModel.iconName\"\n [size]=\"24\" sv-ng-svg-icon></svg>\n </button>\n </div>\n </div>\n\n <div *ngIf=\"adorner.element.isInteractiveDesignElement\" class=\"svc-question__content-actions\" (focusin)=\"adorner.select(adorner, $event)\">\n <sv-action-bar [model]=\"adorner.actionContainer\" [handleClick]=\"false\"></sv-action-bar>\n </div>\n </div>\n </div>\n</ng-template>", styles: [":host { display: none; }"], components: [{ type: i1__namespace.SvgIconComponent, selector: "'[sv-ng-svg-icon]'", inputs: ["size", "width", "height", "iconName", "partCss", "css", "title"] }, { type: i1__namespace.PopupComponent, selector: "sv-ng-popup, '[sv-ng-popup]'", inputs: ["popupModel", "getTarget"] }, { type: i1__namespace.ActionBarComponent, selector: "sv-action-bar, sv-ng-action-bar", inputs: ["model", "handleClick"] }], directives: [{ type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace.Key2ClickDirective, selector: "[key2click]", inputs: ["key2click"] }, { type: i1__namespace.DynamicComponentDirective, selector: "[component]", inputs: ["component"] }] });
2026
2050
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: PanelDesignerComponent, decorators: [{
2027
2051
  type: i0.Component,
2028
2052
  args: [{
@@ -2842,11 +2866,11 @@
2842
2866
  return SurveyCreatorModule;
2843
2867
  }());
2844
2868
  SurveyCreatorModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: SurveyCreatorModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
2845
- SurveyCreatorModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: SurveyCreatorModule, declarations: [CreatorComponent, DesignerTabComponent, PageDesignerComponent, QuestionDesignerComponent, PanelDesignerComponent, TabbledMenuComponent, TabbedMenuItemComponent, TabbedMenuItemWrapperComponent, SidebarComponent, SidebarTabComponent, ObjectSelectorComponent, PropertyGridComponent, SearchComponent, TextareaJsonEditorComponent, AceJsonEditorComponent, LogicTabComponent, LogicAddButtonComponent, ActionButtonComponent, LinkValueQuestionComponent, EmbeddedSurveyQuestionComponent, TranslationTabComponent, TranslationSkeletonComponent, SimulatorComponent, TestTabComponent, TestAgainActionComponent, SurveyResultsComponent, SurveyResultsTableRowComponent, ThemeTabComponent,
2869
+ SurveyCreatorModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: SurveyCreatorModule, declarations: [CreatorComponent, DesignerTabComponent, PageDesignerComponent, QuestionDesignerComponent, PanelDesignerComponent, TabbledMenuComponent, TabbedMenuItemComponent, TabbedMenuItemWrapperComponent, SidebarComponent, SidebarTabComponent, ObjectSelectorComponent, PropertyGridComponent, SearchComponent, TextareaJsonEditorComponent, AceJsonEditorComponent, LogicTabComponent, LogicAddButtonComponent, ActionButtonComponent, SwitcherComponent, LinkValueQuestionComponent, EmbeddedSurveyQuestionComponent, TranslationTabComponent, TranslationSkeletonComponent, SimulatorComponent, TestTabComponent, TestAgainActionComponent, SurveyResultsComponent, SurveyResultsTableRowComponent, ThemeTabComponent,
2846
2870
  AdaptiveToolboxComponent, ToolboxToolComponent, ToolboxItemComponent, ToolboxCategoryComponent, StringEditorComponent, PageNavigatorComponent, PageNavigatorItemComponent,
2847
2871
  QuestionDropdownDesignerComponent, QuestionDropdownAdornerDesignerComponent, QuestionImageDesignerComponent, QuestionImageAdornerDesignerComponent,
2848
2872
  ItemValueDesignerComponent, ImageItemValueDesignerComponent, LogicOperatorComponent, MatrixCellComponent, QuestionEditorComponent, CellQuestionDropdownComponent, CreatorRowComponent, DesignerPagesComponent, DesignerSurveyComponent, CellQuestionComponent, QuestionWidgetDesignerComponent, ToolboxComponent, CreatorLogoImageComponent,
2849
- QuestionRatingAdornerDesignerComponent, QuestionRatingDesignerComponent, QuestionSpinEditorComponent, ColorItemComponent, QuestionColorComponent, QuestionFileEditorComponent, AddQuestionButtonComponent, QuestionBannerComponent, JsonErrorItemComponent, QuestionTextWithResetComponent], imports: [i2.CommonModule, i3.FormsModule, i1.SurveyModule], exports: [CreatorComponent, DesignerTabComponent, PageDesignerComponent, QuestionDesignerComponent, PanelDesignerComponent, TabbledMenuComponent, TabbedMenuItemComponent, TabbedMenuItemWrapperComponent, SidebarComponent, SidebarTabComponent, ObjectSelectorComponent, PropertyGridComponent, SearchComponent, TextareaJsonEditorComponent, AceJsonEditorComponent, LogicTabComponent, LogicAddButtonComponent, ActionButtonComponent, LinkValueQuestionComponent, EmbeddedSurveyQuestionComponent, TranslationTabComponent, TranslationSkeletonComponent, SimulatorComponent, TestTabComponent, TestAgainActionComponent, SurveyResultsComponent, SurveyResultsTableRowComponent, ThemeTabComponent,
2873
+ QuestionRatingAdornerDesignerComponent, QuestionRatingDesignerComponent, QuestionSpinEditorComponent, ColorItemComponent, QuestionColorComponent, QuestionFileEditorComponent, AddQuestionButtonComponent, QuestionBannerComponent, JsonErrorItemComponent, QuestionTextWithResetComponent], imports: [i2.CommonModule, i3.FormsModule, i1.SurveyModule], exports: [CreatorComponent, DesignerTabComponent, PageDesignerComponent, QuestionDesignerComponent, PanelDesignerComponent, TabbledMenuComponent, TabbedMenuItemComponent, TabbedMenuItemWrapperComponent, SidebarComponent, SidebarTabComponent, ObjectSelectorComponent, PropertyGridComponent, SearchComponent, TextareaJsonEditorComponent, AceJsonEditorComponent, LogicTabComponent, LogicAddButtonComponent, ActionButtonComponent, SwitcherComponent, LinkValueQuestionComponent, EmbeddedSurveyQuestionComponent, TranslationTabComponent, TranslationSkeletonComponent, SimulatorComponent, TestTabComponent, TestAgainActionComponent, SurveyResultsComponent, SurveyResultsTableRowComponent, ThemeTabComponent,
2850
2874
  AdaptiveToolboxComponent, ToolboxToolComponent, ToolboxItemComponent, ToolboxCategoryComponent, StringEditorComponent, PageNavigatorComponent, PageNavigatorItemComponent,
2851
2875
  QuestionDropdownDesignerComponent, QuestionDropdownAdornerDesignerComponent, QuestionImageDesignerComponent, QuestionImageAdornerDesignerComponent,
2852
2876
  ItemValueDesignerComponent, ImageItemValueDesignerComponent, LogicOperatorComponent, MatrixCellComponent, QuestionEditorComponent, CellQuestionDropdownComponent, CreatorRowComponent, DesignerPagesComponent, DesignerSurveyComponent, CellQuestionComponent, QuestionWidgetDesignerComponent, ToolboxComponent, CreatorLogoImageComponent,
@@ -2857,7 +2881,7 @@
2857
2881
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: SurveyCreatorModule, decorators: [{
2858
2882
  type: i0.NgModule,
2859
2883
  args: [{
2860
- declarations: [CreatorComponent, DesignerTabComponent, PageDesignerComponent, QuestionDesignerComponent, PanelDesignerComponent, TabbledMenuComponent, TabbedMenuItemComponent, TabbedMenuItemWrapperComponent, SidebarComponent, SidebarTabComponent, ObjectSelectorComponent, PropertyGridComponent, SearchComponent, TextareaJsonEditorComponent, AceJsonEditorComponent, LogicTabComponent, LogicAddButtonComponent, ActionButtonComponent, LinkValueQuestionComponent, EmbeddedSurveyQuestionComponent, TranslationTabComponent, TranslationSkeletonComponent, SimulatorComponent, TestTabComponent, TestAgainActionComponent, SurveyResultsComponent, SurveyResultsTableRowComponent, ThemeTabComponent,
2884
+ declarations: [CreatorComponent, DesignerTabComponent, PageDesignerComponent, QuestionDesignerComponent, PanelDesignerComponent, TabbledMenuComponent, TabbedMenuItemComponent, TabbedMenuItemWrapperComponent, SidebarComponent, SidebarTabComponent, ObjectSelectorComponent, PropertyGridComponent, SearchComponent, TextareaJsonEditorComponent, AceJsonEditorComponent, LogicTabComponent, LogicAddButtonComponent, ActionButtonComponent, SwitcherComponent, LinkValueQuestionComponent, EmbeddedSurveyQuestionComponent, TranslationTabComponent, TranslationSkeletonComponent, SimulatorComponent, TestTabComponent, TestAgainActionComponent, SurveyResultsComponent, SurveyResultsTableRowComponent, ThemeTabComponent,
2861
2885
  AdaptiveToolboxComponent, ToolboxToolComponent, ToolboxItemComponent, ToolboxCategoryComponent, StringEditorComponent, PageNavigatorComponent, PageNavigatorItemComponent,
2862
2886
  QuestionDropdownDesignerComponent, QuestionDropdownAdornerDesignerComponent, QuestionImageDesignerComponent, QuestionImageAdornerDesignerComponent,
2863
2887
  ItemValueDesignerComponent, ImageItemValueDesignerComponent, LogicOperatorComponent, MatrixCellComponent, QuestionEditorComponent, CellQuestionDropdownComponent, CreatorRowComponent, DesignerPagesComponent, DesignerSurveyComponent, CellQuestionComponent, QuestionWidgetDesignerComponent, ToolboxComponent, CreatorLogoImageComponent,
@@ -2866,7 +2890,7 @@
2866
2890
  i2.CommonModule, i3.FormsModule, i1.SurveyModule
2867
2891
  ],
2868
2892
  exports: [
2869
- CreatorComponent, DesignerTabComponent, PageDesignerComponent, QuestionDesignerComponent, PanelDesignerComponent, TabbledMenuComponent, TabbedMenuItemComponent, TabbedMenuItemWrapperComponent, SidebarComponent, SidebarTabComponent, ObjectSelectorComponent, PropertyGridComponent, SearchComponent, TextareaJsonEditorComponent, AceJsonEditorComponent, LogicTabComponent, LogicAddButtonComponent, ActionButtonComponent, LinkValueQuestionComponent, EmbeddedSurveyQuestionComponent, TranslationTabComponent, TranslationSkeletonComponent, SimulatorComponent, TestTabComponent, TestAgainActionComponent, SurveyResultsComponent, SurveyResultsTableRowComponent, ThemeTabComponent,
2893
+ CreatorComponent, DesignerTabComponent, PageDesignerComponent, QuestionDesignerComponent, PanelDesignerComponent, TabbledMenuComponent, TabbedMenuItemComponent, TabbedMenuItemWrapperComponent, SidebarComponent, SidebarTabComponent, ObjectSelectorComponent, PropertyGridComponent, SearchComponent, TextareaJsonEditorComponent, AceJsonEditorComponent, LogicTabComponent, LogicAddButtonComponent, ActionButtonComponent, SwitcherComponent, LinkValueQuestionComponent, EmbeddedSurveyQuestionComponent, TranslationTabComponent, TranslationSkeletonComponent, SimulatorComponent, TestTabComponent, TestAgainActionComponent, SurveyResultsComponent, SurveyResultsTableRowComponent, ThemeTabComponent,
2870
2894
  AdaptiveToolboxComponent, ToolboxToolComponent, ToolboxItemComponent, ToolboxCategoryComponent, StringEditorComponent, PageNavigatorComponent, PageNavigatorItemComponent,
2871
2895
  QuestionDropdownDesignerComponent, QuestionDropdownAdornerDesignerComponent, QuestionImageDesignerComponent, QuestionImageAdornerDesignerComponent,
2872
2896
  ItemValueDesignerComponent, ImageItemValueDesignerComponent, LogicOperatorComponent, MatrixCellComponent, QuestionEditorComponent, CellQuestionDropdownComponent, CreatorRowComponent, DesignerPagesComponent, DesignerSurveyComponent, CellQuestionComponent, QuestionWidgetDesignerComponent, ToolboxComponent, CreatorLogoImageComponent,
@@ -2930,6 +2954,7 @@
2930
2954
  exports.SurveyCreatorModule = SurveyCreatorModule;
2931
2955
  exports.SurveyResultsComponent = SurveyResultsComponent;
2932
2956
  exports.SurveyResultsTableRowComponent = SurveyResultsTableRowComponent;
2957
+ exports.SwitcherComponent = SwitcherComponent;
2933
2958
  exports.TabbedMenuItemComponent = TabbedMenuItemComponent;
2934
2959
  exports.TabbedMenuItemWrapperComponent = TabbedMenuItemWrapperComponent;
2935
2960
  exports.TabbledMenuComponent = TabbledMenuComponent;