survey-creator-angular 3.0.0-beta.7 → 3.0.0-beta.9

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
@@ -75,7 +75,6 @@ export * from "./custom-questions/color-item.component";
75
75
  export * from "./custom-questions/color.component";
76
76
  export * from "./custom-questions/file.component";
77
77
  export * from "./custom-questions/file-editor-button.component";
78
- export * from "./custom-questions/boolean-switch.component";
79
78
  export * from "./question-banner.component";
80
79
  export * from "./question-element-content.component";
81
80
  export * from "./page-element-content.component";
@@ -69,21 +69,20 @@ import * as i67 from "./custom-questions/file-editor-button.component";
69
69
  import * as i68 from "./add-question.component";
70
70
  import * as i69 from "./question-banner.component";
71
71
  import * as i70 from "./tabs/json/json-error-item.component";
72
- import * as i71 from "./custom-questions/boolean-switch.component";
73
- import * as i72 from "./tabs/translation/translate-from-action.component";
74
- import * as i73 from "./question-element-content.component";
75
- import * as i74 from "./page-element-content.component";
76
- import * as i75 from "./page-wrapper.component";
77
- import * as i76 from "./components/component-container.component";
78
- import * as i77 from "./components/icon-item.component";
79
- import * as i78 from "./side-bar/side-bar-launch-card.component";
80
- import * as i79 from "./tabs/container/container-tab.component";
81
- import * as i80 from "./adorners/image-item-drag-action.component";
82
- import * as i81 from "@angular/common";
83
- import * as i82 from "@angular/forms";
84
- import * as i83 from "survey-angular-ui";
72
+ import * as i71 from "./tabs/translation/translate-from-action.component";
73
+ import * as i72 from "./question-element-content.component";
74
+ import * as i73 from "./page-element-content.component";
75
+ import * as i74 from "./page-wrapper.component";
76
+ import * as i75 from "./components/component-container.component";
77
+ import * as i76 from "./components/icon-item.component";
78
+ import * as i77 from "./side-bar/side-bar-launch-card.component";
79
+ import * as i78 from "./tabs/container/container-tab.component";
80
+ import * as i79 from "./adorners/image-item-drag-action.component";
81
+ import * as i80 from "@angular/common";
82
+ import * as i81 from "@angular/forms";
83
+ import * as i82 from "survey-angular-ui";
85
84
  export declare class SurveyCreatorModule {
86
85
  static ɵfac: i0.ɵɵFactoryDeclaration<SurveyCreatorModule, never>;
87
- 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.SidebarPageComponent, typeof i11.SidebarDefaultHeaderComponent, typeof i12.ObjectSelectorComponent, typeof i13.SidebarPropertyGridHeaderComponent, typeof i14.PropertyGridPlaceholderComponent, typeof i15.SidebarHeaderComponent, typeof i16.TabControlComponent, typeof i17.TabsComponent, typeof i18.TabButtonComponent, typeof i19.PropertyGridComponent, typeof i20.SearchComponent, typeof i21.TextareaJsonEditorComponent, typeof i22.AceJsonEditorComponent, typeof i23.LogicTabComponent, typeof i24.ActionButtonComponent, typeof i25.QuestionPgErrorComponent, typeof i26.SurfacePlaceholderComponent, typeof i27.SwitcherComponent, typeof i28.LinkValueQuestionComponent, typeof i29.EmbeddedSurveyQuestionComponent, typeof i30.TranslationTabComponent, typeof i31.TranslationSkeletonComponent, typeof i32.SimulatorComponent, typeof i33.TestTabComponent, typeof i34.SurveyResultsComponent, typeof i35.SurveyResultsTableRowComponent, typeof i36.ThemeTabComponent, typeof i37.AdaptiveToolboxComponent, typeof i38.ToolboxToolComponent, typeof i39.ToolboxItemComponent, typeof i40.ToolboxItemGroupComponent, typeof i41.ToolboxListComponent, typeof i42.ToolboxCategoryComponent, typeof i43.StringEditorComponent, typeof i44.PageNavigatorComponent, typeof i45.PageNavigatorItemComponent, typeof i46.QuestionDropdownDesignerComponent, typeof i46.QuestionDropdownAdornerDesignerComponent, typeof i47.QuestionImageDesignerComponent, typeof i47.QuestionImageAdornerDesignerComponent, typeof i48.ItemValueDesignerComponent, typeof i49.ImageItemValueDesignerComponent, typeof i50.LogicOperatorComponent, typeof i51.MatrixCellComponent, typeof i52.QuestionEditorComponent, typeof i53.CellQuestionDropdownComponent, typeof i54.CreatorRowComponent, typeof i55.DesignerPagesComponent, typeof i56.DesignerSurveyComponent, typeof i57.CellQuestionComponent, typeof i58.QuestionWidgetDesignerComponent, typeof i59.CreatorLogoImageComponent, typeof i60.QuestionRatingAdornerDesignerComponent, typeof i60.QuestionRatingDesignerComponent, typeof i61.QuestionSpinEditorComponent, typeof i62.SpinEditorButtonComponent, typeof i63.ColorItemComponent, typeof i64.QuestionColorComponent, typeof i65.SwatchComponent, typeof i66.QuestionFileEditorComponent, typeof i67.FileEditorButtonComponent, typeof i68.AddQuestionButtonComponent, typeof i69.QuestionBannerComponent, typeof i70.JsonErrorItemComponent, typeof i71.BooleanSwitchComponent, typeof i72.TranslateFromAction, typeof i73.QuestionElementContentComponent, typeof i74.PageElementContentComponent, typeof i75.PageWrapperComponent, typeof i76.ComponentContainerComponent, typeof i77.IconItemComponent, typeof i78.SideBarLaunchCardComponent, typeof i79.ContainerTabComponent, typeof i80.ImageItemDragActionComponent], [typeof i81.CommonModule, typeof i82.FormsModule, typeof i83.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.SidebarPageComponent, typeof i11.SidebarDefaultHeaderComponent, typeof i13.SidebarPropertyGridHeaderComponent, typeof i14.PropertyGridPlaceholderComponent, typeof i15.SidebarHeaderComponent, typeof i16.TabControlComponent, typeof i17.TabsComponent, typeof i18.TabButtonComponent, typeof i12.ObjectSelectorComponent, typeof i19.PropertyGridComponent, typeof i20.SearchComponent, typeof i21.TextareaJsonEditorComponent, typeof i22.AceJsonEditorComponent, typeof i23.LogicTabComponent, typeof i24.ActionButtonComponent, typeof i25.QuestionPgErrorComponent, typeof i26.SurfacePlaceholderComponent, typeof i27.SwitcherComponent, typeof i28.LinkValueQuestionComponent, typeof i29.EmbeddedSurveyQuestionComponent, typeof i30.TranslationTabComponent, typeof i31.TranslationSkeletonComponent, typeof i32.SimulatorComponent, typeof i33.TestTabComponent, typeof i34.SurveyResultsComponent, typeof i35.SurveyResultsTableRowComponent, typeof i36.ThemeTabComponent, typeof i37.AdaptiveToolboxComponent, typeof i38.ToolboxToolComponent, typeof i39.ToolboxItemComponent, typeof i40.ToolboxItemGroupComponent, typeof i41.ToolboxListComponent, typeof i42.ToolboxCategoryComponent, typeof i43.StringEditorComponent, typeof i44.PageNavigatorComponent, typeof i45.PageNavigatorItemComponent, typeof i46.QuestionDropdownDesignerComponent, typeof i46.QuestionDropdownAdornerDesignerComponent, typeof i47.QuestionImageDesignerComponent, typeof i47.QuestionImageAdornerDesignerComponent, typeof i48.ItemValueDesignerComponent, typeof i49.ImageItemValueDesignerComponent, typeof i50.LogicOperatorComponent, typeof i51.MatrixCellComponent, typeof i52.QuestionEditorComponent, typeof i53.CellQuestionDropdownComponent, typeof i54.CreatorRowComponent, typeof i55.DesignerPagesComponent, typeof i56.DesignerSurveyComponent, typeof i57.CellQuestionComponent, typeof i58.QuestionWidgetDesignerComponent, typeof i59.CreatorLogoImageComponent, typeof i60.QuestionRatingAdornerDesignerComponent, typeof i60.QuestionRatingDesignerComponent, typeof i61.QuestionSpinEditorComponent, typeof i62.SpinEditorButtonComponent, typeof i63.ColorItemComponent, typeof i64.QuestionColorComponent, typeof i65.SwatchComponent, typeof i66.QuestionFileEditorComponent, typeof i67.FileEditorButtonComponent, typeof i68.AddQuestionButtonComponent, typeof i69.QuestionBannerComponent, typeof i70.JsonErrorItemComponent, typeof i71.BooleanSwitchComponent, typeof i72.TranslateFromAction, typeof i73.QuestionElementContentComponent, typeof i74.PageElementContentComponent, typeof i76.ComponentContainerComponent, typeof i77.IconItemComponent, typeof i78.SideBarLaunchCardComponent, typeof i79.ContainerTabComponent, typeof i80.ImageItemDragActionComponent]>;
86
+ 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.SidebarPageComponent, typeof i11.SidebarDefaultHeaderComponent, typeof i12.ObjectSelectorComponent, typeof i13.SidebarPropertyGridHeaderComponent, typeof i14.PropertyGridPlaceholderComponent, typeof i15.SidebarHeaderComponent, typeof i16.TabControlComponent, typeof i17.TabsComponent, typeof i18.TabButtonComponent, typeof i19.PropertyGridComponent, typeof i20.SearchComponent, typeof i21.TextareaJsonEditorComponent, typeof i22.AceJsonEditorComponent, typeof i23.LogicTabComponent, typeof i24.ActionButtonComponent, typeof i25.QuestionPgErrorComponent, typeof i26.SurfacePlaceholderComponent, typeof i27.SwitcherComponent, typeof i28.LinkValueQuestionComponent, typeof i29.EmbeddedSurveyQuestionComponent, typeof i30.TranslationTabComponent, typeof i31.TranslationSkeletonComponent, typeof i32.SimulatorComponent, typeof i33.TestTabComponent, typeof i34.SurveyResultsComponent, typeof i35.SurveyResultsTableRowComponent, typeof i36.ThemeTabComponent, typeof i37.AdaptiveToolboxComponent, typeof i38.ToolboxToolComponent, typeof i39.ToolboxItemComponent, typeof i40.ToolboxItemGroupComponent, typeof i41.ToolboxListComponent, typeof i42.ToolboxCategoryComponent, typeof i43.StringEditorComponent, typeof i44.PageNavigatorComponent, typeof i45.PageNavigatorItemComponent, typeof i46.QuestionDropdownDesignerComponent, typeof i46.QuestionDropdownAdornerDesignerComponent, typeof i47.QuestionImageDesignerComponent, typeof i47.QuestionImageAdornerDesignerComponent, typeof i48.ItemValueDesignerComponent, typeof i49.ImageItemValueDesignerComponent, typeof i50.LogicOperatorComponent, typeof i51.MatrixCellComponent, typeof i52.QuestionEditorComponent, typeof i53.CellQuestionDropdownComponent, typeof i54.CreatorRowComponent, typeof i55.DesignerPagesComponent, typeof i56.DesignerSurveyComponent, typeof i57.CellQuestionComponent, typeof i58.QuestionWidgetDesignerComponent, typeof i59.CreatorLogoImageComponent, typeof i60.QuestionRatingAdornerDesignerComponent, typeof i60.QuestionRatingDesignerComponent, typeof i61.QuestionSpinEditorComponent, typeof i62.SpinEditorButtonComponent, typeof i63.ColorItemComponent, typeof i64.QuestionColorComponent, typeof i65.SwatchComponent, typeof i66.QuestionFileEditorComponent, typeof i67.FileEditorButtonComponent, typeof i68.AddQuestionButtonComponent, typeof i69.QuestionBannerComponent, typeof i70.JsonErrorItemComponent, typeof i71.TranslateFromAction, typeof i72.QuestionElementContentComponent, typeof i73.PageElementContentComponent, typeof i74.PageWrapperComponent, typeof i75.ComponentContainerComponent, typeof i76.IconItemComponent, typeof i77.SideBarLaunchCardComponent, typeof i78.ContainerTabComponent, typeof i79.ImageItemDragActionComponent], [typeof i80.CommonModule, typeof i81.FormsModule, typeof i82.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.SidebarPageComponent, typeof i11.SidebarDefaultHeaderComponent, typeof i13.SidebarPropertyGridHeaderComponent, typeof i14.PropertyGridPlaceholderComponent, typeof i15.SidebarHeaderComponent, typeof i16.TabControlComponent, typeof i17.TabsComponent, typeof i18.TabButtonComponent, typeof i12.ObjectSelectorComponent, typeof i19.PropertyGridComponent, typeof i20.SearchComponent, typeof i21.TextareaJsonEditorComponent, typeof i22.AceJsonEditorComponent, typeof i23.LogicTabComponent, typeof i24.ActionButtonComponent, typeof i25.QuestionPgErrorComponent, typeof i26.SurfacePlaceholderComponent, typeof i27.SwitcherComponent, typeof i28.LinkValueQuestionComponent, typeof i29.EmbeddedSurveyQuestionComponent, typeof i30.TranslationTabComponent, typeof i31.TranslationSkeletonComponent, typeof i32.SimulatorComponent, typeof i33.TestTabComponent, typeof i34.SurveyResultsComponent, typeof i35.SurveyResultsTableRowComponent, typeof i36.ThemeTabComponent, typeof i37.AdaptiveToolboxComponent, typeof i38.ToolboxToolComponent, typeof i39.ToolboxItemComponent, typeof i40.ToolboxItemGroupComponent, typeof i41.ToolboxListComponent, typeof i42.ToolboxCategoryComponent, typeof i43.StringEditorComponent, typeof i44.PageNavigatorComponent, typeof i45.PageNavigatorItemComponent, typeof i46.QuestionDropdownDesignerComponent, typeof i46.QuestionDropdownAdornerDesignerComponent, typeof i47.QuestionImageDesignerComponent, typeof i47.QuestionImageAdornerDesignerComponent, typeof i48.ItemValueDesignerComponent, typeof i49.ImageItemValueDesignerComponent, typeof i50.LogicOperatorComponent, typeof i51.MatrixCellComponent, typeof i52.QuestionEditorComponent, typeof i53.CellQuestionDropdownComponent, typeof i54.CreatorRowComponent, typeof i55.DesignerPagesComponent, typeof i56.DesignerSurveyComponent, typeof i57.CellQuestionComponent, typeof i58.QuestionWidgetDesignerComponent, typeof i59.CreatorLogoImageComponent, typeof i60.QuestionRatingAdornerDesignerComponent, typeof i60.QuestionRatingDesignerComponent, typeof i61.QuestionSpinEditorComponent, typeof i62.SpinEditorButtonComponent, typeof i63.ColorItemComponent, typeof i64.QuestionColorComponent, typeof i65.SwatchComponent, typeof i66.QuestionFileEditorComponent, typeof i67.FileEditorButtonComponent, typeof i68.AddQuestionButtonComponent, typeof i69.QuestionBannerComponent, typeof i70.JsonErrorItemComponent, typeof i71.TranslateFromAction, typeof i72.QuestionElementContentComponent, typeof i73.PageElementContentComponent, typeof i75.ComponentContainerComponent, typeof i76.IconItemComponent, typeof i77.SideBarLaunchCardComponent, typeof i78.ContainerTabComponent, typeof i79.ImageItemDragActionComponent]>;
88
87
  static ɵinj: i0.ɵɵInjectorDeclaration<SurveyCreatorModule>;
89
88
  }
@@ -1670,10 +1670,16 @@
1670
1670
  TranslationTabComponent.prototype.getModel = function () {
1671
1671
  return this.model;
1672
1672
  };
1673
+ // The strings survey is fully recreated on reset(). Its elements keep deterministic ids across
1674
+ // instances, so *ngFor's element trackBy would reuse the disposed survey's (lazy-skeleton) rows.
1675
+ // Keying the survey-content by the per-instance elementIdPrefix forces Angular to recreate it.
1676
+ TranslationTabComponent.prototype.trackStringsSurveyBy = function (_, survey) {
1677
+ return (survey === null || survey === void 0 ? void 0 : survey.elementIdPrefix) || "";
1678
+ };
1673
1679
  return TranslationTabComponent;
1674
1680
  }(i1.BaseAngular));
1675
1681
  TranslationTabComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TranslationTabComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
1676
- TranslationTabComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TranslationTabComponent, selector: "svc-tab-translation", inputs: { model: "model" }, usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #template>\n <div class=\"svc-creator-tab__content svc-translation-tab\" [class]=\"model.isEmpty ? 'svc-translation-tab--empty' : ''\">\n <svc-surface-placeholder *ngIf=\"model.isEmpty\" [name]=\"'translation'\"\n [placeholderTitleText]=\"model.placeholderTitleText\"\n [placeholderDescriptionText]=\"model.placeholderDescriptionText\">\n </svc-surface-placeholder>\n <div *ngIf=\"!model.isEmpty\" class=\"st-content\">\n <div class=\"svc-flex-column st-strings-wrapper\">\n <div class=\"svc-flex-row st-strings-header\">\n <survey-content [model]=\"model.stringsHeaderSurvey\"></survey-content>\n </div>\n <div class=\"svc-flex-row svc-plugin-tab__content st-strings\">\n <survey-content [model]=\"model.stringsSurvey\"></survey-content>\n </div>\n </div>\n </div>\n </div>\n</ng-template>", styles: [":host { display: none; }"], components: [{ type: SurfacePlaceholderComponent, selector: "svc-surface-placeholder", inputs: ["name", "placeholderTitleText", "placeholderDescriptionText"] }, { type: i1__namespace.SurveyContentComponent, selector: "survey-content", inputs: ["model"] }], directives: [{ type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
1682
+ TranslationTabComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TranslationTabComponent, selector: "svc-tab-translation", inputs: { model: "model" }, usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #template>\n <div class=\"svc-creator-tab__content svc-translation-tab\" [class]=\"model.isEmpty ? 'svc-translation-tab--empty' : ''\">\n <svc-surface-placeholder *ngIf=\"model.isEmpty\" [name]=\"'translation'\"\n [placeholderTitleText]=\"model.placeholderTitleText\"\n [placeholderDescriptionText]=\"model.placeholderDescriptionText\">\n </svc-surface-placeholder>\n <div *ngIf=\"!model.isEmpty\" class=\"st-content\">\n <div class=\"svc-flex-column st-strings-wrapper\">\n <div class=\"svc-flex-row st-strings-header\">\n <ng-container *ngFor=\"let s of [model.stringsHeaderSurvey]; trackBy: trackStringsSurveyBy\">\n <survey-content [model]=\"s\"></survey-content>\n </ng-container>\n </div>\n <div class=\"svc-flex-row svc-plugin-tab__content st-strings\">\n <ng-container *ngFor=\"let s of [model.stringsSurvey]; trackBy: trackStringsSurveyBy\">\n <survey-content [model]=\"s\"></survey-content>\n </ng-container>\n </div>\n </div>\n </div>\n </div>\n</ng-template>", styles: [":host { display: none; }"], components: [{ type: SurfacePlaceholderComponent, selector: "svc-surface-placeholder", inputs: ["name", "placeholderTitleText", "placeholderDescriptionText"] }, { type: i1__namespace.SurveyContentComponent, selector: "survey-content", inputs: ["model"] }], directives: [{ type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
1677
1683
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TranslationTabComponent, decorators: [{
1678
1684
  type: i0.Component,
1679
1685
  args: [{
@@ -3220,12 +3226,13 @@
3220
3226
  return CreatorRowComponent;
3221
3227
  }(CreatorModelComponent));
3222
3228
  CreatorRowComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: CreatorRowComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
3223
- CreatorRowComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: CreatorRowComponent, selector: "svc-row", inputs: { componentData: "componentData" }, usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #template>\n <div [class]=\"model.cssClasses\">\n <div class=\"svc-row__drop-indicator svc-row__drop-indicator--top\"></div>\n <div class=\"svc-row__drop-indicator svc-row__drop-indicator--bottom\"></div>\n <sv-ng-row [row]=\"row\"></sv-ng-row>\n </div>\n</ng-template>", components: [{ type: i1__namespace.RowComponent, selector: "sv-ng-row", inputs: ["row"] }] });
3229
+ CreatorRowComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: CreatorRowComponent, selector: "svc-row", inputs: { componentData: "componentData" }, usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #template>\n <div [class]=\"model.cssClasses\">\n <div class=\"svc-row__drop-indicator svc-row__drop-indicator--top\"></div>\n <div class=\"svc-row__drop-indicator svc-row__drop-indicator--bottom\"></div>\n <sv-ng-row [row]=\"row\"></sv-ng-row>\n </div>\n</ng-template>", styles: [":host { display: none; }"], components: [{ type: i1__namespace.RowComponent, selector: "sv-ng-row", inputs: ["row"] }] });
3224
3230
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: CreatorRowComponent, decorators: [{
3225
3231
  type: i0.Component,
3226
3232
  args: [{
3227
3233
  selector: "svc-row",
3228
- templateUrl: "./row.component.html"
3234
+ templateUrl: "./row.component.html",
3235
+ styles: [":host { display: none; }"]
3229
3236
  }]
3230
3237
  }], propDecorators: { componentData: [{
3231
3238
  type: i0.Input
@@ -3598,25 +3605,6 @@
3598
3605
  }] } });
3599
3606
  i1.AngularComponentFactory.Instance.registerComponent("sv-fileedit-button", FileEditorButtonComponent);
3600
3607
 
3601
- var BooleanSwitchComponent = /** @class */ (function (_super) {
3602
- __extends(BooleanSwitchComponent, _super);
3603
- function BooleanSwitchComponent() {
3604
- return _super !== null && _super.apply(this, arguments) || this;
3605
- }
3606
- return BooleanSwitchComponent;
3607
- }(i1.QuestionAngular));
3608
- BooleanSwitchComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: BooleanSwitchComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
3609
- BooleanSwitchComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: BooleanSwitchComponent, selector: "sv-ng-boolean-switch", usesInheritance: true, ngImport: i0__namespace, template: "<div class=\"spg-boolean-switch\" role=\"checkbox\" [attr.aria-checked]=\"model.booleanValue || false\"\n [attr.aria-required]=\"model.a11y_input_ariaRequired\" [attr.aria-label]=\"model.a11y_input_ariaLabel\"\n [attr.aria-labelledby]=\"model.a11y_input_ariaLabelledBy\" [attr.aria-invalid]=\"model.a11y_input_ariaInvalid\"\n [attr.aria-errormessage]=\"model.a11y_input_ariaErrormessage\" (click)=\"model.value = !model.value\">\n <div class=\"spg-boolean-switch__button\" tabindex=\"0\" [key2click]\n [class]=\"model.value ? 'spg-boolean-switch__button--checked' : ''\">\n <div class=\"spg-boolean-switch__thumb\">\n <div class=\"spg-boolean-switch__thumb-circle spg-boolean-switch__thumb--left\"></div>\n </div>\n <div class=\"spg-boolean-switch__thumb\">\n <div class=\"spg-boolean-switch__thumb-circle spg-boolean-switch__thumb--right\"></div>\n </div>\n </div>\n <div class=\"spg-boolean-switch__caption\">\n <div class=\"spg-boolean-switch__title\" [id]=\"model.labelRenderedAriaID\">\n <span [model]=\"model.locTitle\" sv-ng-string></span>\n </div>\n </div>\n</div>", components: [{ type: i1__namespace.SurveyStringComponent, selector: "sv-ng-string, '[sv-ng-string]'", inputs: ["model"] }], directives: [{ type: i1__namespace.Key2ClickDirective, selector: "[key2click]", inputs: ["key2click"] }] });
3610
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: BooleanSwitchComponent, decorators: [{
3611
- type: i0.Component,
3612
- args: [{
3613
- selector: "sv-ng-boolean-switch",
3614
- templateUrl: "./boolean-switch.component.html"
3615
- }]
3616
- }] });
3617
- i1.AngularComponentFactory.Instance.registerComponent("sv-boolean-switch", BooleanSwitchComponent);
3618
- surveyCore.RendererFactory.Instance.registerRenderer("boolean", "switch", "sv-boolean-switch");
3619
-
3620
3608
  var JsonErrorItemComponent = /** @class */ (function (_super) {
3621
3609
  __extends(JsonErrorItemComponent, _super);
3622
3610
  function JsonErrorItemComponent() {
@@ -3728,12 +3716,12 @@
3728
3716
  QuestionDropdownDesignerComponent, QuestionDropdownAdornerDesignerComponent, QuestionImageDesignerComponent, QuestionImageAdornerDesignerComponent,
3729
3717
  ItemValueDesignerComponent, ImageItemValueDesignerComponent, LogicOperatorComponent, MatrixCellComponent, QuestionEditorComponent, CellQuestionDropdownComponent, CreatorRowComponent, DesignerPagesComponent, DesignerSurveyComponent, CellQuestionComponent, QuestionWidgetDesignerComponent, CreatorLogoImageComponent,
3730
3718
  QuestionRatingAdornerDesignerComponent, QuestionRatingDesignerComponent, QuestionSpinEditorComponent, SpinEditorButtonComponent, ColorItemComponent, QuestionColorComponent, SwatchComponent, QuestionFileEditorComponent, FileEditorButtonComponent, AddQuestionButtonComponent, QuestionBannerComponent, JsonErrorItemComponent,
3731
- BooleanSwitchComponent, TranslateFromAction, QuestionElementContentComponent, PageElementContentComponent, PageWrapperComponent, ComponentContainerComponent,
3719
+ TranslateFromAction, QuestionElementContentComponent, PageElementContentComponent, PageWrapperComponent, ComponentContainerComponent,
3732
3720
  IconItemComponent, SideBarLaunchCardComponent, ContainerTabComponent, ImageItemDragActionComponent], imports: [i2.CommonModule, i3.FormsModule, i1.SurveyModule], exports: [CreatorComponent, DesignerTabComponent, PageDesignerComponent, QuestionDesignerComponent, PanelDesignerComponent, TabbledMenuComponent, TabbedMenuItemComponent, TabbedMenuItemWrapperComponent, SidebarComponent, SidebarPageComponent, SidebarDefaultHeaderComponent, SidebarPropertyGridHeaderComponent, PropertyGridPlaceholderComponent, SidebarHeaderComponent, TabControlComponent, TabsComponent, TabButtonComponent, ObjectSelectorComponent, PropertyGridComponent, SearchComponent, TextareaJsonEditorComponent, AceJsonEditorComponent, LogicTabComponent, ActionButtonComponent, QuestionPgErrorComponent, SurfacePlaceholderComponent, SwitcherComponent, LinkValueQuestionComponent, EmbeddedSurveyQuestionComponent, TranslationTabComponent, TranslationSkeletonComponent, SimulatorComponent, TestTabComponent, SurveyResultsComponent, SurveyResultsTableRowComponent, ThemeTabComponent,
3733
3721
  AdaptiveToolboxComponent, ToolboxToolComponent, ToolboxItemComponent, ToolboxItemGroupComponent, ToolboxListComponent, ToolboxCategoryComponent, StringEditorComponent, PageNavigatorComponent, PageNavigatorItemComponent,
3734
3722
  QuestionDropdownDesignerComponent, QuestionDropdownAdornerDesignerComponent, QuestionImageDesignerComponent, QuestionImageAdornerDesignerComponent,
3735
3723
  ItemValueDesignerComponent, ImageItemValueDesignerComponent, LogicOperatorComponent, MatrixCellComponent, QuestionEditorComponent, CellQuestionDropdownComponent, CreatorRowComponent, DesignerPagesComponent, DesignerSurveyComponent, CellQuestionComponent, QuestionWidgetDesignerComponent, CreatorLogoImageComponent,
3736
- QuestionRatingAdornerDesignerComponent, QuestionRatingDesignerComponent, QuestionSpinEditorComponent, SpinEditorButtonComponent, ColorItemComponent, QuestionColorComponent, SwatchComponent, QuestionFileEditorComponent, FileEditorButtonComponent, AddQuestionButtonComponent, QuestionBannerComponent, JsonErrorItemComponent, BooleanSwitchComponent, TranslateFromAction, QuestionElementContentComponent, PageElementContentComponent, ComponentContainerComponent,
3724
+ QuestionRatingAdornerDesignerComponent, QuestionRatingDesignerComponent, QuestionSpinEditorComponent, SpinEditorButtonComponent, ColorItemComponent, QuestionColorComponent, SwatchComponent, QuestionFileEditorComponent, FileEditorButtonComponent, AddQuestionButtonComponent, QuestionBannerComponent, JsonErrorItemComponent, TranslateFromAction, QuestionElementContentComponent, PageElementContentComponent, ComponentContainerComponent,
3737
3725
  IconItemComponent, SideBarLaunchCardComponent, ContainerTabComponent, ImageItemDragActionComponent] });
3738
3726
  SurveyCreatorModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: SurveyCreatorModule, providers: [], imports: [[
3739
3727
  i2.CommonModule, i3.FormsModule, i1.SurveyModule
@@ -3746,7 +3734,7 @@
3746
3734
  QuestionDropdownDesignerComponent, QuestionDropdownAdornerDesignerComponent, QuestionImageDesignerComponent, QuestionImageAdornerDesignerComponent,
3747
3735
  ItemValueDesignerComponent, ImageItemValueDesignerComponent, LogicOperatorComponent, MatrixCellComponent, QuestionEditorComponent, CellQuestionDropdownComponent, CreatorRowComponent, DesignerPagesComponent, DesignerSurveyComponent, CellQuestionComponent, QuestionWidgetDesignerComponent, CreatorLogoImageComponent,
3748
3736
  QuestionRatingAdornerDesignerComponent, QuestionRatingDesignerComponent, QuestionSpinEditorComponent, SpinEditorButtonComponent, ColorItemComponent, QuestionColorComponent, SwatchComponent, QuestionFileEditorComponent, FileEditorButtonComponent, AddQuestionButtonComponent, QuestionBannerComponent, JsonErrorItemComponent,
3749
- BooleanSwitchComponent, TranslateFromAction, QuestionElementContentComponent, PageElementContentComponent, PageWrapperComponent, ComponentContainerComponent,
3737
+ TranslateFromAction, QuestionElementContentComponent, PageElementContentComponent, PageWrapperComponent, ComponentContainerComponent,
3750
3738
  IconItemComponent, SideBarLaunchCardComponent, ContainerTabComponent, ImageItemDragActionComponent],
3751
3739
  imports: [
3752
3740
  i2.CommonModule, i3.FormsModule, i1.SurveyModule
@@ -3756,7 +3744,7 @@
3756
3744
  AdaptiveToolboxComponent, ToolboxToolComponent, ToolboxItemComponent, ToolboxItemGroupComponent, ToolboxListComponent, ToolboxCategoryComponent, StringEditorComponent, PageNavigatorComponent, PageNavigatorItemComponent,
3757
3745
  QuestionDropdownDesignerComponent, QuestionDropdownAdornerDesignerComponent, QuestionImageDesignerComponent, QuestionImageAdornerDesignerComponent,
3758
3746
  ItemValueDesignerComponent, ImageItemValueDesignerComponent, LogicOperatorComponent, MatrixCellComponent, QuestionEditorComponent, CellQuestionDropdownComponent, CreatorRowComponent, DesignerPagesComponent, DesignerSurveyComponent, CellQuestionComponent, QuestionWidgetDesignerComponent, CreatorLogoImageComponent,
3759
- QuestionRatingAdornerDesignerComponent, QuestionRatingDesignerComponent, QuestionSpinEditorComponent, SpinEditorButtonComponent, ColorItemComponent, QuestionColorComponent, SwatchComponent, QuestionFileEditorComponent, FileEditorButtonComponent, AddQuestionButtonComponent, QuestionBannerComponent, JsonErrorItemComponent, BooleanSwitchComponent, TranslateFromAction, QuestionElementContentComponent, PageElementContentComponent, ComponentContainerComponent,
3747
+ QuestionRatingAdornerDesignerComponent, QuestionRatingDesignerComponent, QuestionSpinEditorComponent, SpinEditorButtonComponent, ColorItemComponent, QuestionColorComponent, SwatchComponent, QuestionFileEditorComponent, FileEditorButtonComponent, AddQuestionButtonComponent, QuestionBannerComponent, JsonErrorItemComponent, TranslateFromAction, QuestionElementContentComponent, PageElementContentComponent, ComponentContainerComponent,
3760
3748
  IconItemComponent, SideBarLaunchCardComponent, ContainerTabComponent, ImageItemDragActionComponent
3761
3749
  ],
3762
3750
  providers: [],
@@ -3771,7 +3759,6 @@
3771
3759
  exports.ActionButtonComponent = ActionButtonComponent;
3772
3760
  exports.AdaptiveToolboxComponent = AdaptiveToolboxComponent;
3773
3761
  exports.AddQuestionButtonComponent = AddQuestionButtonComponent;
3774
- exports.BooleanSwitchComponent = BooleanSwitchComponent;
3775
3762
  exports.CellQuestionComponent = CellQuestionComponent;
3776
3763
  exports.CellQuestionDropdownComponent = CellQuestionDropdownComponent;
3777
3764
  exports.ColorItemComponent = ColorItemComponent;