survey-angular-ui 1.12.3 → 1.12.5

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
@@ -67,6 +67,8 @@ export * from "./panel.component";
67
67
  export * from "./components/popup/modal-container.component";
68
68
  export * from "./components/popup/popup.service";
69
69
  export * from "./components/survey-actions/survey-nav-btn.component";
70
+ export * from "./components/file/file-page.component";
71
+ export * from "./components/file/file-item.component";
70
72
  export * from "./components/file/file-preview.component";
71
73
  export * from "./questions/matrix.component";
72
74
  export * from "./components/svg-icon/svg-icon.component";
@@ -120,10 +120,12 @@ import * as i118 from "./components/header/header-mobile.component";
120
120
  import * as i119 from "./components/file/choose-file.component";
121
121
  import * as i120 from "./components/file/file-preview.component";
122
122
  import * as i121 from "./svgbundle.component";
123
- import * as i122 from "@angular/common";
124
- import * as i123 from "@angular/forms";
123
+ import * as i122 from "./components/file/file-item.component";
124
+ import * as i123 from "./components/file/file-page.component";
125
+ import * as i124 from "@angular/common";
126
+ import * as i125 from "@angular/forms";
125
127
  export declare class SurveyModule {
126
128
  static ɵfac: i0.ɵɵFactoryDeclaration<SurveyModule, never>;
127
- static ɵmod: i0.ɵɵNgModuleDeclaration<SurveyModule, [typeof i1.VisibleDirective, typeof i2.Key2ClickDirective, typeof i3.PanelDynamicAddBtn, typeof i4.PanelDynamicNextBtn, typeof i5.PanelDynamicPrevBtn, typeof i6.PanelDynamicProgressText, typeof i7.ElementComponent, typeof i8.TemplateRendererComponent, typeof i9.SurveyComponent, typeof i10.SurveyContentComponent, typeof i11.PopupSurveyComponent, typeof i12.PageComponent, typeof i13.PanelComponent, typeof i14.QuestionComponent, typeof i15.StringViewerComponent, typeof i16.SurveyStringComponent, typeof i17.StringEditorComponent, typeof i18.TextAreaComponent, typeof i19.QuestionSkeletonComponent, typeof i20.TextQuestionComponent, typeof i21.RadiogroupComponent, typeof i22.RadiogroupItemComponent, typeof i23.CheckboxComponent, typeof i24.CheckboxItemComponent, typeof i25.DropdownComponent, typeof i26.DropdownQuestionComponent, typeof i27.DropdownSelectComponent, typeof i28.DropdownOptionItemComponent, typeof i29.PopupComponent, typeof i30.PopupBaseContainerComponent, typeof i31.PopupPointerComponent, typeof i32.CharacterCounterComponent, typeof i33.ListComponent, typeof i34.ListItemComponent, typeof i35.ListItemContentComponent, typeof i36.ListItemGroupComponent, typeof i37.RatingItemComponent, typeof i38.RatingItemStarComponent, typeof i39.RatingItemSmileyComponent, typeof i40.TagboxFilterComponent, typeof i41.TagboxComponent, typeof i42.TagboxQuestionComponent, typeof i43.TagboxItemComponent, typeof i44.ActionBarComponent, typeof i45.ActionComponent, typeof i46.ActionBarItemComponent, typeof i47.ActionBarItemDropdownComponent, typeof i48.HtmlQuestionComponent, typeof i49.SelectBaseItemComponent, typeof i50.SelectBaseComponent, typeof i51.SurveyCommentComponent, typeof i52.SurveyCommentOtherComponent, typeof i53.ElementHeaderComponent, typeof i54.ElementTitleActionsComponent, typeof i55.ElementTitleComponent, typeof i56.DynamicHeadComponent, typeof i57.RowComponent, typeof i58.RatingQuestionComponent, typeof i59.RatingDropdownItemComponent, typeof i60.RatingDropdownComponent, typeof i61.BooleanQuestionComponent, typeof i62.BooleanCheckboxComponent, typeof i63.BooleanRadioComponent, typeof i64.BooleanRadioItemComponent, typeof i65.ImagePickerItemComponent, typeof i66.ImagePickerQuestionComponent, typeof i67.ImageQuestionComponent, typeof i68.SurveyHeaderComponent, typeof i69.ProgressDefaultComponent, typeof i70.ProgressButtonsComponent, typeof i71.ProgressTocComponent, typeof i72.SurveyNavigationButton, typeof i73.MatrixQuestionComponent, typeof i74.SvgIconComponent, typeof i75.FileQuestionComponent, typeof i76.SafeUrlPipe, typeof i77.SafeHtmlPipe, typeof i78.CommentQuestionComponent, typeof i79.SignaturePadQuestionComponent, typeof i80.ErrorsComponent, typeof i81.MultipleTextComponent, typeof i82.MultipleTextItemComponent, typeof i83.DynamicComponentDirective, typeof i84.RankingQuestionComponent, typeof i85.RankingItemComponent, typeof i86.RankingItemContentComponent, typeof i87.PanelDynamicQuestionComponent, typeof i88.EmbeddedViewContentComponent, typeof i89.CustomWidgetComponent, typeof i90.MatrixCellComponent, typeof i91.MatrixDropdownCellComponent, typeof i92.MatrixTableComponent, typeof i93.MatrixDropdownComponent, typeof i94.MatrixDynamicComponent, typeof i95.MatrixDetailButtonComponent, typeof i96.MatrixDynamicRemoveButtonComponent, typeof i97.MatrixDynamicDragDropIconComponent, typeof i98.MatrixRequiredHeader, typeof i99.ExpressionComponent, typeof i76.SafeResourceUrlPipe, typeof i100.BrandInfoComponent, typeof i101.QuestionErrorComponent, typeof i102.CustomQuestionComponent, typeof i103.CompositeQuestionComponent, typeof i104.ButtonGroupItemComponent, typeof i105.ButtonGroupQuestionComponent, typeof i106.MatrixRowComponent, typeof i107.ModalComponent, typeof i108.LogoImageComponent, typeof i109.SkeletonComponent, typeof i110.TimerPanelComponent, typeof i111.PaneldynamicRemoveButtonComponent, typeof i112.NotifierComponent, typeof i113.ComponentsContainerComponent, typeof i114.MultipleTextRowComponent, typeof i115.LoadingIndicatorComponent, typeof i116.HeaderComponent, typeof i117.HeaderCellComponent, typeof i118.HeaderMobileComponent, typeof i119.ChooseFileBtn, typeof i120.FilePreviewComponent, typeof i121.SvgBundleComponent], [typeof i122.CommonModule, typeof i123.FormsModule], [typeof i1.VisibleDirective, typeof i2.Key2ClickDirective, typeof i3.PanelDynamicAddBtn, typeof i4.PanelDynamicNextBtn, typeof i5.PanelDynamicPrevBtn, typeof i6.PanelDynamicProgressText, typeof i7.ElementComponent, typeof i8.TemplateRendererComponent, typeof i9.SurveyComponent, typeof i10.SurveyContentComponent, typeof i11.PopupSurveyComponent, typeof i12.PageComponent, typeof i13.PanelComponent, typeof i14.QuestionComponent, typeof i15.StringViewerComponent, typeof i16.SurveyStringComponent, typeof i17.StringEditorComponent, typeof i18.TextAreaComponent, typeof i19.QuestionSkeletonComponent, typeof i20.TextQuestionComponent, typeof i21.RadiogroupComponent, typeof i22.RadiogroupItemComponent, typeof i23.CheckboxComponent, typeof i24.CheckboxItemComponent, typeof i32.CharacterCounterComponent, typeof i25.DropdownComponent, typeof i26.DropdownQuestionComponent, typeof i27.DropdownSelectComponent, typeof i28.DropdownOptionItemComponent, typeof i29.PopupComponent, typeof i30.PopupBaseContainerComponent, typeof i31.PopupPointerComponent, typeof i32.CharacterCounterComponent, typeof i33.ListComponent, typeof i34.ListItemComponent, typeof i35.ListItemContentComponent, typeof i36.ListItemGroupComponent, typeof i37.RatingItemComponent, typeof i38.RatingItemStarComponent, typeof i39.RatingItemSmileyComponent, typeof i40.TagboxFilterComponent, typeof i41.TagboxComponent, typeof i42.TagboxQuestionComponent, typeof i43.TagboxItemComponent, typeof i44.ActionBarComponent, typeof i45.ActionComponent, typeof i46.ActionBarItemComponent, typeof i47.ActionBarItemDropdownComponent, typeof i48.HtmlQuestionComponent, typeof i49.SelectBaseItemComponent, typeof i50.SelectBaseComponent, typeof i51.SurveyCommentComponent, typeof i52.SurveyCommentOtherComponent, typeof i53.ElementHeaderComponent, typeof i55.ElementTitleComponent, typeof i56.DynamicHeadComponent, typeof i57.RowComponent, typeof i58.RatingQuestionComponent, typeof i59.RatingDropdownItemComponent, typeof i60.RatingDropdownComponent, typeof i61.BooleanQuestionComponent, typeof i62.BooleanCheckboxComponent, typeof i63.BooleanRadioComponent, typeof i64.BooleanRadioItemComponent, typeof i65.ImagePickerItemComponent, typeof i66.ImagePickerQuestionComponent, typeof i67.ImageQuestionComponent, typeof i68.SurveyHeaderComponent, typeof i69.ProgressDefaultComponent, typeof i70.ProgressButtonsComponent, typeof i72.SurveyNavigationButton, typeof i73.MatrixQuestionComponent, typeof i74.SvgIconComponent, typeof i75.FileQuestionComponent, typeof i76.SafeUrlPipe, typeof i77.SafeHtmlPipe, typeof i78.CommentQuestionComponent, typeof i79.SignaturePadQuestionComponent, typeof i80.ErrorsComponent, typeof i81.MultipleTextComponent, typeof i82.MultipleTextItemComponent, typeof i83.DynamicComponentDirective, typeof i84.RankingQuestionComponent, typeof i85.RankingItemComponent, typeof i86.RankingItemContentComponent, typeof i87.PanelDynamicQuestionComponent, typeof i88.EmbeddedViewContentComponent, typeof i89.CustomWidgetComponent, typeof i90.MatrixCellComponent, typeof i91.MatrixDropdownCellComponent, typeof i92.MatrixTableComponent, typeof i93.MatrixDropdownComponent, typeof i94.MatrixDynamicComponent, typeof i95.MatrixDetailButtonComponent, typeof i96.MatrixDynamicRemoveButtonComponent, typeof i97.MatrixDynamicDragDropIconComponent, typeof i98.MatrixRequiredHeader, typeof i99.ExpressionComponent, typeof i76.SafeResourceUrlPipe, typeof i102.CustomQuestionComponent, typeof i103.CompositeQuestionComponent, typeof i105.ButtonGroupQuestionComponent, typeof i107.ModalComponent, typeof i108.LogoImageComponent, typeof i109.SkeletonComponent, typeof i110.TimerPanelComponent, typeof i111.PaneldynamicRemoveButtonComponent, typeof i112.NotifierComponent, typeof i113.ComponentsContainerComponent, typeof i114.MultipleTextRowComponent, typeof i115.LoadingIndicatorComponent, typeof i116.HeaderComponent, typeof i117.HeaderCellComponent, typeof i118.HeaderMobileComponent, typeof i120.FilePreviewComponent, typeof i121.SvgBundleComponent]>;
129
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SurveyModule, [typeof i1.VisibleDirective, typeof i2.Key2ClickDirective, typeof i3.PanelDynamicAddBtn, typeof i4.PanelDynamicNextBtn, typeof i5.PanelDynamicPrevBtn, typeof i6.PanelDynamicProgressText, typeof i7.ElementComponent, typeof i8.TemplateRendererComponent, typeof i9.SurveyComponent, typeof i10.SurveyContentComponent, typeof i11.PopupSurveyComponent, typeof i12.PageComponent, typeof i13.PanelComponent, typeof i14.QuestionComponent, typeof i15.StringViewerComponent, typeof i16.SurveyStringComponent, typeof i17.StringEditorComponent, typeof i18.TextAreaComponent, typeof i19.QuestionSkeletonComponent, typeof i20.TextQuestionComponent, typeof i21.RadiogroupComponent, typeof i22.RadiogroupItemComponent, typeof i23.CheckboxComponent, typeof i24.CheckboxItemComponent, typeof i25.DropdownComponent, typeof i26.DropdownQuestionComponent, typeof i27.DropdownSelectComponent, typeof i28.DropdownOptionItemComponent, typeof i29.PopupComponent, typeof i30.PopupBaseContainerComponent, typeof i31.PopupPointerComponent, typeof i32.CharacterCounterComponent, typeof i33.ListComponent, typeof i34.ListItemComponent, typeof i35.ListItemContentComponent, typeof i36.ListItemGroupComponent, typeof i37.RatingItemComponent, typeof i38.RatingItemStarComponent, typeof i39.RatingItemSmileyComponent, typeof i40.TagboxFilterComponent, typeof i41.TagboxComponent, typeof i42.TagboxQuestionComponent, typeof i43.TagboxItemComponent, typeof i44.ActionBarComponent, typeof i45.ActionComponent, typeof i46.ActionBarItemComponent, typeof i47.ActionBarItemDropdownComponent, typeof i48.HtmlQuestionComponent, typeof i49.SelectBaseItemComponent, typeof i50.SelectBaseComponent, typeof i51.SurveyCommentComponent, typeof i52.SurveyCommentOtherComponent, typeof i53.ElementHeaderComponent, typeof i54.ElementTitleActionsComponent, typeof i55.ElementTitleComponent, typeof i56.DynamicHeadComponent, typeof i57.RowComponent, typeof i58.RatingQuestionComponent, typeof i59.RatingDropdownItemComponent, typeof i60.RatingDropdownComponent, typeof i61.BooleanQuestionComponent, typeof i62.BooleanCheckboxComponent, typeof i63.BooleanRadioComponent, typeof i64.BooleanRadioItemComponent, typeof i65.ImagePickerItemComponent, typeof i66.ImagePickerQuestionComponent, typeof i67.ImageQuestionComponent, typeof i68.SurveyHeaderComponent, typeof i69.ProgressDefaultComponent, typeof i70.ProgressButtonsComponent, typeof i71.ProgressTocComponent, typeof i72.SurveyNavigationButton, typeof i73.MatrixQuestionComponent, typeof i74.SvgIconComponent, typeof i75.FileQuestionComponent, typeof i76.SafeUrlPipe, typeof i77.SafeHtmlPipe, typeof i78.CommentQuestionComponent, typeof i79.SignaturePadQuestionComponent, typeof i80.ErrorsComponent, typeof i81.MultipleTextComponent, typeof i82.MultipleTextItemComponent, typeof i83.DynamicComponentDirective, typeof i84.RankingQuestionComponent, typeof i85.RankingItemComponent, typeof i86.RankingItemContentComponent, typeof i87.PanelDynamicQuestionComponent, typeof i88.EmbeddedViewContentComponent, typeof i89.CustomWidgetComponent, typeof i90.MatrixCellComponent, typeof i91.MatrixDropdownCellComponent, typeof i92.MatrixTableComponent, typeof i93.MatrixDropdownComponent, typeof i94.MatrixDynamicComponent, typeof i95.MatrixDetailButtonComponent, typeof i96.MatrixDynamicRemoveButtonComponent, typeof i97.MatrixDynamicDragDropIconComponent, typeof i98.MatrixRequiredHeader, typeof i99.ExpressionComponent, typeof i76.SafeResourceUrlPipe, typeof i100.BrandInfoComponent, typeof i101.QuestionErrorComponent, typeof i102.CustomQuestionComponent, typeof i103.CompositeQuestionComponent, typeof i104.ButtonGroupItemComponent, typeof i105.ButtonGroupQuestionComponent, typeof i106.MatrixRowComponent, typeof i107.ModalComponent, typeof i108.LogoImageComponent, typeof i109.SkeletonComponent, typeof i110.TimerPanelComponent, typeof i111.PaneldynamicRemoveButtonComponent, typeof i112.NotifierComponent, typeof i113.ComponentsContainerComponent, typeof i114.MultipleTextRowComponent, typeof i115.LoadingIndicatorComponent, typeof i116.HeaderComponent, typeof i117.HeaderCellComponent, typeof i118.HeaderMobileComponent, typeof i119.ChooseFileBtn, typeof i120.FilePreviewComponent, typeof i121.SvgBundleComponent, typeof i122.FileItemComponent, typeof i123.FilePageComponent], [typeof i124.CommonModule, typeof i125.FormsModule], [typeof i1.VisibleDirective, typeof i2.Key2ClickDirective, typeof i3.PanelDynamicAddBtn, typeof i4.PanelDynamicNextBtn, typeof i5.PanelDynamicPrevBtn, typeof i6.PanelDynamicProgressText, typeof i7.ElementComponent, typeof i8.TemplateRendererComponent, typeof i9.SurveyComponent, typeof i10.SurveyContentComponent, typeof i11.PopupSurveyComponent, typeof i12.PageComponent, typeof i13.PanelComponent, typeof i14.QuestionComponent, typeof i15.StringViewerComponent, typeof i16.SurveyStringComponent, typeof i17.StringEditorComponent, typeof i18.TextAreaComponent, typeof i19.QuestionSkeletonComponent, typeof i20.TextQuestionComponent, typeof i21.RadiogroupComponent, typeof i22.RadiogroupItemComponent, typeof i23.CheckboxComponent, typeof i24.CheckboxItemComponent, typeof i32.CharacterCounterComponent, typeof i25.DropdownComponent, typeof i26.DropdownQuestionComponent, typeof i27.DropdownSelectComponent, typeof i28.DropdownOptionItemComponent, typeof i29.PopupComponent, typeof i30.PopupBaseContainerComponent, typeof i31.PopupPointerComponent, typeof i32.CharacterCounterComponent, typeof i33.ListComponent, typeof i34.ListItemComponent, typeof i35.ListItemContentComponent, typeof i36.ListItemGroupComponent, typeof i37.RatingItemComponent, typeof i38.RatingItemStarComponent, typeof i39.RatingItemSmileyComponent, typeof i40.TagboxFilterComponent, typeof i41.TagboxComponent, typeof i42.TagboxQuestionComponent, typeof i43.TagboxItemComponent, typeof i44.ActionBarComponent, typeof i45.ActionComponent, typeof i46.ActionBarItemComponent, typeof i47.ActionBarItemDropdownComponent, typeof i48.HtmlQuestionComponent, typeof i49.SelectBaseItemComponent, typeof i50.SelectBaseComponent, typeof i51.SurveyCommentComponent, typeof i52.SurveyCommentOtherComponent, typeof i53.ElementHeaderComponent, typeof i55.ElementTitleComponent, typeof i56.DynamicHeadComponent, typeof i57.RowComponent, typeof i58.RatingQuestionComponent, typeof i59.RatingDropdownItemComponent, typeof i60.RatingDropdownComponent, typeof i61.BooleanQuestionComponent, typeof i62.BooleanCheckboxComponent, typeof i63.BooleanRadioComponent, typeof i64.BooleanRadioItemComponent, typeof i65.ImagePickerItemComponent, typeof i66.ImagePickerQuestionComponent, typeof i67.ImageQuestionComponent, typeof i68.SurveyHeaderComponent, typeof i69.ProgressDefaultComponent, typeof i70.ProgressButtonsComponent, typeof i72.SurveyNavigationButton, typeof i73.MatrixQuestionComponent, typeof i74.SvgIconComponent, typeof i75.FileQuestionComponent, typeof i76.SafeUrlPipe, typeof i77.SafeHtmlPipe, typeof i78.CommentQuestionComponent, typeof i79.SignaturePadQuestionComponent, typeof i80.ErrorsComponent, typeof i81.MultipleTextComponent, typeof i82.MultipleTextItemComponent, typeof i83.DynamicComponentDirective, typeof i84.RankingQuestionComponent, typeof i85.RankingItemComponent, typeof i86.RankingItemContentComponent, typeof i87.PanelDynamicQuestionComponent, typeof i88.EmbeddedViewContentComponent, typeof i89.CustomWidgetComponent, typeof i90.MatrixCellComponent, typeof i91.MatrixDropdownCellComponent, typeof i92.MatrixTableComponent, typeof i93.MatrixDropdownComponent, typeof i94.MatrixDynamicComponent, typeof i95.MatrixDetailButtonComponent, typeof i96.MatrixDynamicRemoveButtonComponent, typeof i97.MatrixDynamicDragDropIconComponent, typeof i98.MatrixRequiredHeader, typeof i99.ExpressionComponent, typeof i76.SafeResourceUrlPipe, typeof i102.CustomQuestionComponent, typeof i103.CompositeQuestionComponent, typeof i105.ButtonGroupQuestionComponent, typeof i107.ModalComponent, typeof i108.LogoImageComponent, typeof i109.SkeletonComponent, typeof i110.TimerPanelComponent, typeof i111.PaneldynamicRemoveButtonComponent, typeof i112.NotifierComponent, typeof i113.ComponentsContainerComponent, typeof i114.MultipleTextRowComponent, typeof i115.LoadingIndicatorComponent, typeof i116.HeaderComponent, typeof i117.HeaderCellComponent, typeof i118.HeaderMobileComponent, typeof i120.FilePreviewComponent, typeof i121.SvgBundleComponent, typeof i122.FileItemComponent, typeof i123.FilePageComponent]>;
128
130
  static ɵinj: i0.ɵɵInjectorDeclaration<SurveyModule>;
129
131
  }
@@ -598,7 +598,7 @@
598
598
  _this.update(key);
599
599
  }
600
600
  };
601
- stateElement.enableOnElementRenderedEvent();
601
+ stateElement.enableOnElementRerenderedEvent();
602
602
  }
603
603
  };
604
604
  BaseAngular.prototype.unMakeBaseElementAngular = function (stateElement) {
@@ -613,7 +613,7 @@
613
613
  val["onArrayChanged"] = function () { };
614
614
  }
615
615
  });
616
- stateElement.disableOnElementRenderedEvent();
616
+ stateElement.disableOnElementRerenderedEvent();
617
617
  }
618
618
  };
619
619
  BaseAngular.prototype.update = function (key) {
@@ -923,7 +923,7 @@
923
923
  return PopupBaseContainerComponent;
924
924
  }(BaseAngular));
925
925
  PopupBaseContainerComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: PopupBaseContainerComponent, deps: [{ token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
926
- PopupBaseContainerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: PopupBaseContainerComponent, selector: "sv-ng-popup-container, '[sv-ng-popup-container]'", inputs: { model: "model" }, usesInheritance: true, ngImport: i0__namespace, template: "<div class=\"sv-popup\" tabindex=\"-1\" [class]=\"model.styleClass\" [visible]=\"model.isVisible\" (click)=\"model.clickOutside($event)\" (keydown)=\"model.onKeyDown($event)\">\n <div class=\"sv-popup__container\" [style]=\"{ left: model.left, top: model.top, height: model.height, minWidth: model.minWidth, width: model.width }\" (click)=\"clickInside($event)\">\n <div class=\"sv-popup__shadow\">\n <ng-container *ngIf=\"model.showHeader\">\n <ng-template [component]=\"{ name: model.popupHeaderTemplate, data: { model: model } }\"></ng-template>\n </ng-container>\n <div class=\"sv-popup__body-content\">\n <div *ngIf=\"model.title\" class=\"sv-popup__body-header\">{{ model.title }}</div>\n <div class=\"sv-popup__scrolling-content\">\n <div class=\"sv-popup__content\">\n <ng-template [component]=\"{ name: model.contentComponentName, data: model.contentComponentData }\"></ng-template>\n </div>\n </div>\n <div *ngIf=\"model.showFooter\" class=\"sv-popup__body-footer\">\n <sv-ng-action-bar [model]=\"model.footerToolbar\"></sv-ng-action-bar>\n </div>\n </div>\n </div>\n </div>\n</div>", components: [{ type: ActionBarComponent, selector: "sv-action-bar, sv-ng-action-bar", inputs: ["model", "handleClick"] }], directives: [{ type: VisibleDirective, selector: "[visible]", inputs: ["visible"] }, { type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: DynamicComponentDirective, selector: "[component]", inputs: ["component"] }] });
926
+ PopupBaseContainerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: PopupBaseContainerComponent, selector: "sv-ng-popup-container, '[sv-ng-popup-container]'", inputs: { model: "model" }, usesInheritance: true, ngImport: i0__namespace, template: "<div class=\"sv-popup\" tabindex=\"-1\" [class]=\"model.styleClass\" [visible]=\"model.isVisible\" (click)=\"model.clickOutside($event)\" (keydown)=\"model.onKeyDown($event)\">\n <div class=\"sv-popup__container\" [style]=\"{ left: model.left, top: model.top, height: model.height, minWidth: model.minWidth, width: model.width }\" (click)=\"clickInside($event)\">\n <ng-container *ngIf=\"model.showHeader\">\n <ng-template [component]=\"{ name: model.popupHeaderTemplate, data: { model: model } }\"></ng-template>\n </ng-container>\n <div class=\"sv-popup__body-content\">\n <div *ngIf=\"model.title\" class=\"sv-popup__body-header\">{{ model.title }}</div>\n <div class=\"sv-popup__scrolling-content\">\n <div class=\"sv-popup__content\">\n <ng-template [component]=\"{ name: model.contentComponentName, data: model.contentComponentData }\"></ng-template>\n </div>\n </div>\n <div *ngIf=\"model.showFooter\" class=\"sv-popup__body-footer\">\n <sv-ng-action-bar [model]=\"model.footerToolbar\"></sv-ng-action-bar>\n </div>\n </div>\n </div>\n</div>", components: [{ type: ActionBarComponent, selector: "sv-action-bar, sv-ng-action-bar", inputs: ["model", "handleClick"] }], directives: [{ type: VisibleDirective, selector: "[visible]", inputs: ["visible"] }, { type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: DynamicComponentDirective, selector: "[component]", inputs: ["component"] }] });
927
927
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: PopupBaseContainerComponent, decorators: [{
928
928
  type: i0.Component,
929
929
  args: [{
@@ -3092,7 +3092,7 @@
3092
3092
  return SkeletonComponent;
3093
3093
  }(EmbeddedViewContentComponent));
3094
3094
  SkeletonComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: SkeletonComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
3095
- SkeletonComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: SkeletonComponent, selector: "sv-skeleton", inputs: { element: "element" }, usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #template>\n <div class=\"sv-skeleton-element\" [id]=\"element.id\"></div>\n</ng-template>", styles: [":host{display:none}\n"] });
3095
+ SkeletonComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: SkeletonComponent, selector: "sv-skeleton", inputs: { element: "element" }, usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #template>\n <div class=\"sv-skeleton-element\" [id]=\"element.id\" [style.height]=\"element.skeletonHeight\"></div>\n</ng-template>", styles: [":host{display:none}\n"] });
3096
3096
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: SkeletonComponent, decorators: [{
3097
3097
  type: i0.Component,
3098
3098
  args: [{
@@ -3674,9 +3674,9 @@
3674
3674
  return this.model;
3675
3675
  };
3676
3676
  PanelComponent.prototype.ngAfterViewInit = function () {
3677
- var _a, _b;
3677
+ var _a;
3678
3678
  if (!!((_a = this.panelContainerRef) === null || _a === void 0 ? void 0 : _a.nativeElement)) {
3679
- (_b = this.model.survey) === null || _b === void 0 ? void 0 : _b.afterRenderPanel(this.model, this.panelContainerRef.nativeElement);
3679
+ this.model.afterRender(this.panelContainerRef.nativeElement);
3680
3680
  }
3681
3681
  };
3682
3682
  Object.defineProperty(PanelComponent.prototype, "canRender", {
@@ -3729,6 +3729,53 @@
3729
3729
  }] } });
3730
3730
  AngularComponentFactory.Instance.registerComponent("sv-nav-btn", SurveyNavigationButton);
3731
3731
 
3732
+ var FileItemComponent = /** @class */ (function (_super) {
3733
+ __extends(FileItemComponent, _super);
3734
+ function FileItemComponent() {
3735
+ return _super !== null && _super.apply(this, arguments) || this;
3736
+ }
3737
+ return FileItemComponent;
3738
+ }(EmbeddedViewContentComponent));
3739
+ FileItemComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: FileItemComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
3740
+ FileItemComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: FileItemComponent, selector: "sv-ng-file-item", inputs: { item: "item", question: "question" }, usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #template>\n <span [class]=\"question.cssClasses.previewItem\" (click)=\"question.doDownloadFileFromContainer($event)\">\n <div *ngIf=\"item.name && question.cssClasses.fileSign\" [class]=\"question.cssClasses.fileSign\">\n <a (click)=\"question.doDownloadFile($event, item)\" [attr.href]=\"item.content | safeUrl\"\n [attr.title]=\"item.name\" [attr.download]=\"item.name\" [style.width]=\"question.imageWidth\">{{\n item.name\n }}</a>\n </div>\n <div [class]=\"question.getImageWrapperCss(item)\">\n <img *ngIf=\"question.canPreviewImage(item)\" [attr.src]=\"item.content | safeUrl\"\n [style.height]=\"question.imageHeight\" [style.width]=\"question.imageWidth\" alt=\"File preview\" />\n <svg *ngIf=\"question.defaultImage(item)\" [iconName]=\"question.cssClasses.defaultImageIconId\"\n [partCss]=\"question.cssClasses.defaultImage\" [size]=\"'auto'\" sv-ng-svg-icon></svg>\n <div *ngIf=\"item.name && !question.isReadOnly\" [class]=\"question.getRemoveButtonCss()\"\n (click)=\"question.doRemoveFile(item, $event)\">\n <span [class]=\"question.cssClasses.removeFile\">{{ question.removeFileCaption }}</span>\n <svg *ngIf=\"question.cssClasses.removeFileSvgIconId\" [title]=\"question.removeFileCaption\"\n [partCss]=\"question.cssClasses.removeFileSvg\" [iconName]=\"question.cssClasses.removeFileSvgIconId\"\n [size]=\"'auto'\" sv-ng-svg-icon></svg>\n </div>\n </div>\n <div *ngIf=\"item.name && question.cssClasses.fileSignBottom\" [class]=\"question.cssClasses.fileSignBottom\">\n <a (click)=\"question.doDownloadFile($event, item)\" [attr.href]=\"item.content | safeUrl\"\n [attr.title]=\"item.name\" [attr.download]=\"item.name\" [style.width]=\"question.imageWidth\">{{\n item.name\n }}</a>\n </div>\n </span>\n</ng-template>", styles: [":host{display:none}\n"], components: [{ type: SvgIconComponent, selector: "'[sv-ng-svg-icon]'", inputs: ["size", "width", "height", "iconName", "partCss", "css", "title"] }], directives: [{ type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "safeUrl": SafeUrlPipe } });
3741
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: FileItemComponent, decorators: [{
3742
+ type: i0.Component,
3743
+ args: [{
3744
+ templateUrl: "./file-item.component.html",
3745
+ selector: "sv-ng-file-item",
3746
+ styleUrls: ["../../hide-host.scss"]
3747
+ }]
3748
+ }], propDecorators: { item: [{
3749
+ type: i0.Input
3750
+ }], question: [{
3751
+ type: i0.Input
3752
+ }] } });
3753
+
3754
+ var FilePageComponent = /** @class */ (function (_super) {
3755
+ __extends(FilePageComponent, _super);
3756
+ function FilePageComponent() {
3757
+ return _super !== null && _super.apply(this, arguments) || this;
3758
+ }
3759
+ FilePageComponent.prototype.getModel = function () {
3760
+ return this.page;
3761
+ };
3762
+ return FilePageComponent;
3763
+ }(BaseAngular));
3764
+ FilePageComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: FilePageComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
3765
+ FilePageComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: FilePageComponent, selector: "sv-ng-file-page", inputs: { page: "page", question: "question" }, usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #template>\n <div [class]=\"page.css\" [attr.id]=\"page.id\">\n <ng-container *ngFor=\"let item of page.items\">\n <sv-ng-file-item [item]=\"item\" [question]=\"question\"></sv-ng-file-item>\n </ng-container>\n </div>\n</ng-template>", styles: [":host{display:none}\n"], components: [{ type: FileItemComponent, selector: "sv-ng-file-item", inputs: ["item", "question"] }], directives: [{ type: i2__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
3766
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: FilePageComponent, decorators: [{
3767
+ type: i0.Component,
3768
+ args: [{
3769
+ templateUrl: "./file-page.component.html",
3770
+ selector: "sv-ng-file-page",
3771
+ styleUrls: ["../../hide-host.scss"]
3772
+ }]
3773
+ }], propDecorators: { page: [{
3774
+ type: i0.Input
3775
+ }], question: [{
3776
+ type: i0.Input
3777
+ }] } });
3778
+
3732
3779
  var FilePreviewComponent = /** @class */ (function (_super) {
3733
3780
  __extends(FilePreviewComponent, _super);
3734
3781
  function FilePreviewComponent() {
@@ -3738,10 +3785,13 @@
3738
3785
  };
3739
3786
  return _this;
3740
3787
  }
3788
+ FilePreviewComponent.prototype.trackPagesFn = function (_, page) {
3789
+ return page.id;
3790
+ };
3741
3791
  return FilePreviewComponent;
3742
3792
  }(EmbeddedViewContentComponent));
3743
3793
  FilePreviewComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: FilePreviewComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
3744
- FilePreviewComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: FilePreviewComponent, selector: "sv-ng-file-preview", inputs: { question: "question" }, usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #template>\n <ng-container *ngIf=\"question.showPreviewContainer\">\n <div [class]=\"question.cssClasses.fileList || undefined\">\n <span *ngFor=\"let val of question.previewValue; index as index; trackBy: trackFilesFn\"\n [visible]=\"val && question.isPreviewVisible(index)\" [class]=\"question.cssClasses.previewItem\"\n (click)=\"question.doDownloadFileFromContainer($event)\">\n <div *ngIf=\"val.name && question.cssClasses.fileSign\" [class]=\"question.cssClasses.fileSign\">\n <a (click)=\"question.doDownloadFile($event, val)\" [attr.href]=\"val.content | safeUrl\"\n [attr.title]=\"val.name\" [attr.download]=\"val.name\" [style.width]=\"question.imageWidth\">{{\n val.name\n }}</a>\n </div>\n <div [class]=\"question.getImageWrapperCss(val)\">\n <img *ngIf=\"question.canPreviewImage(val)\" [attr.src]=\"val.content | safeUrl\"\n [style.height]=\"question.imageHeight\" [style.width]=\"question.imageWidth\" alt=\"File preview\" />\n <svg *ngIf=\"question.defaultImage(val)\" [iconName]=\"question.cssClasses.defaultImageIconId\"\n [partCss]=\"question.cssClasses.defaultImage\" [size]=\"'auto'\" sv-ng-svg-icon></svg>\n <div *ngIf=\"val.name && !question.isReadOnly\" [class]=\"question.getRemoveButtonCss()\"\n (click)=\"question.doRemoveFile(val, $event)\">\n <span [class]=\"question.cssClasses.removeFile\">{{ question.removeFileCaption }}</span>\n <svg *ngIf=\"question.cssClasses.removeFileSvgIconId\" [title]=\"question.removeFileCaption\"\n [partCss]=\"question.cssClasses.removeFileSvg\"\n [iconName]=\"question.cssClasses.removeFileSvgIconId\" [size]=\"'auto'\" sv-ng-svg-icon></svg>\n </div>\n </div>\n <div *ngIf=\"val.name && question.cssClasses.fileSignBottom\"\n [class]=\"question.cssClasses.fileSignBottom\">\n <a (click)=\"question.doDownloadFile($event, val)\" [attr.href]=\"val.content | safeUrl\"\n [attr.title]=\"val.name\" [attr.download]=\"val.name\" [style.width]=\"question.imageWidth\">{{\n val.name\n }}</a>\n </div>\n </span>\n </div>\n </ng-container>\n</ng-template>", components: [{ type: SvgIconComponent, selector: "'[sv-ng-svg-icon]'", inputs: ["size", "width", "height", "iconName", "partCss", "css", "title"] }], directives: [{ type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: VisibleDirective, selector: "[visible]", inputs: ["visible"] }], pipes: { "safeUrl": SafeUrlPipe } });
3794
+ FilePreviewComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: FilePreviewComponent, selector: "sv-ng-file-preview", inputs: { question: "question" }, usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #template>\n <ng-container *ngIf=\"question.showPreviewContainer\">\n <div [class]=\"question.cssClasses.fileList || undefined\">\n <ng-container *ngIf=\"question.supportFileNavigator\">\n <sv-ng-file-page *ngFor=\"let page of question.renderedPages; trackBy: trackPagesFn\" [page]=\"page\" [question]=\"question\"></sv-ng-file-page>\n </ng-container>\n <ng-container *ngIf=\"!question.supportFileNavigator\">\n <sv-ng-file-item *ngFor=\"let item of question.previewValue\" [item]=\"item\" [question]=\"question\"></sv-ng-file-item>\n </ng-container>\n </div>\n </ng-container>\n</ng-template>", components: [{ type: FilePageComponent, selector: "sv-ng-file-page", inputs: ["page", "question"] }, { type: FileItemComponent, selector: "sv-ng-file-item", inputs: ["item", "question"] }], directives: [{ type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
3745
3795
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: FilePreviewComponent, decorators: [{
3746
3796
  type: i0.Component,
3747
3797
  args: [{
@@ -5049,7 +5099,7 @@
5049
5099
  MatrixCellComponent, MatrixDropdownCellComponent, MatrixTableComponent, MatrixDropdownComponent,
5050
5100
  MatrixDynamicComponent, MatrixDetailButtonComponent, MatrixDynamicRemoveButtonComponent, MatrixDynamicDragDropIconComponent, MatrixRequiredHeader, ExpressionComponent, SafeResourceUrlPipe, BrandInfoComponent, QuestionErrorComponent,
5051
5101
  CustomQuestionComponent, CompositeQuestionComponent, ButtonGroupItemComponent, ButtonGroupQuestionComponent, MatrixRowComponent, ModalComponent, LogoImageComponent, SkeletonComponent, TimerPanelComponent, PaneldynamicRemoveButtonComponent,
5052
- NotifierComponent, ComponentsContainerComponent, MultipleTextRowComponent, LoadingIndicatorComponent, HeaderComponent, HeaderCellComponent, HeaderMobileComponent, ChooseFileBtn, FilePreviewComponent, SvgBundleComponent], imports: [i2.CommonModule, i2$1.FormsModule], exports: [VisibleDirective, Key2ClickDirective, PanelDynamicAddBtn, PanelDynamicNextBtn, PanelDynamicPrevBtn, PanelDynamicProgressText, ElementComponent, TemplateRendererComponent,
5102
+ NotifierComponent, ComponentsContainerComponent, MultipleTextRowComponent, LoadingIndicatorComponent, HeaderComponent, HeaderCellComponent, HeaderMobileComponent, ChooseFileBtn, FilePreviewComponent, SvgBundleComponent, FileItemComponent, FilePageComponent], imports: [i2.CommonModule, i2$1.FormsModule], exports: [VisibleDirective, Key2ClickDirective, PanelDynamicAddBtn, PanelDynamicNextBtn, PanelDynamicPrevBtn, PanelDynamicProgressText, ElementComponent, TemplateRendererComponent,
5053
5103
  SurveyComponent, SurveyContentComponent, PopupSurveyComponent, PageComponent, PanelComponent, QuestionComponent, StringViewerComponent, SurveyStringComponent, StringEditorComponent,
5054
5104
  TextAreaComponent,
5055
5105
  QuestionSkeletonComponent, TextQuestionComponent, RadiogroupComponent, RadiogroupItemComponent, CheckboxComponent, CheckboxItemComponent,
@@ -5066,7 +5116,7 @@
5066
5116
  MatrixCellComponent, MatrixDropdownCellComponent, MatrixTableComponent, MatrixDropdownComponent,
5067
5117
  MatrixDynamicComponent, MatrixDetailButtonComponent, MatrixDynamicRemoveButtonComponent, MatrixDynamicDragDropIconComponent, MatrixRequiredHeader, ExpressionComponent, SafeResourceUrlPipe,
5068
5118
  CustomQuestionComponent, CompositeQuestionComponent, ButtonGroupQuestionComponent, ModalComponent, LogoImageComponent, SkeletonComponent, TimerPanelComponent, PaneldynamicRemoveButtonComponent,
5069
- NotifierComponent, ComponentsContainerComponent, MultipleTextRowComponent, LoadingIndicatorComponent, HeaderComponent, HeaderCellComponent, HeaderMobileComponent, FilePreviewComponent, SvgBundleComponent] });
5119
+ NotifierComponent, ComponentsContainerComponent, MultipleTextRowComponent, LoadingIndicatorComponent, HeaderComponent, HeaderCellComponent, HeaderMobileComponent, FilePreviewComponent, SvgBundleComponent, FileItemComponent, FilePageComponent] });
5070
5120
  SurveyModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: SurveyModule, providers: [PopupService], imports: [[
5071
5121
  i2.CommonModule, i2$1.FormsModule
5072
5122
  ]] });
@@ -5090,7 +5140,7 @@
5090
5140
  MatrixCellComponent, MatrixDropdownCellComponent, MatrixTableComponent, MatrixDropdownComponent,
5091
5141
  MatrixDynamicComponent, MatrixDetailButtonComponent, MatrixDynamicRemoveButtonComponent, MatrixDynamicDragDropIconComponent, MatrixRequiredHeader, ExpressionComponent, SafeResourceUrlPipe, BrandInfoComponent, QuestionErrorComponent,
5092
5142
  CustomQuestionComponent, CompositeQuestionComponent, ButtonGroupItemComponent, ButtonGroupQuestionComponent, MatrixRowComponent, ModalComponent, LogoImageComponent, SkeletonComponent, TimerPanelComponent, PaneldynamicRemoveButtonComponent,
5093
- NotifierComponent, ComponentsContainerComponent, MultipleTextRowComponent, LoadingIndicatorComponent, HeaderComponent, HeaderCellComponent, HeaderMobileComponent, ChooseFileBtn, FilePreviewComponent, SvgBundleComponent
5143
+ NotifierComponent, ComponentsContainerComponent, MultipleTextRowComponent, LoadingIndicatorComponent, HeaderComponent, HeaderCellComponent, HeaderMobileComponent, ChooseFileBtn, FilePreviewComponent, SvgBundleComponent, FileItemComponent, FilePageComponent
5094
5144
  ],
5095
5145
  imports: [
5096
5146
  i2.CommonModule, i2$1.FormsModule
@@ -5113,7 +5163,7 @@
5113
5163
  MatrixCellComponent, MatrixDropdownCellComponent, MatrixTableComponent, MatrixDropdownComponent,
5114
5164
  MatrixDynamicComponent, MatrixDetailButtonComponent, MatrixDynamicRemoveButtonComponent, MatrixDynamicDragDropIconComponent, MatrixRequiredHeader, ExpressionComponent, SafeResourceUrlPipe,
5115
5165
  CustomQuestionComponent, CompositeQuestionComponent, ButtonGroupQuestionComponent, ModalComponent, LogoImageComponent, SkeletonComponent, TimerPanelComponent, PaneldynamicRemoveButtonComponent,
5116
- NotifierComponent, ComponentsContainerComponent, MultipleTextRowComponent, LoadingIndicatorComponent, HeaderComponent, HeaderCellComponent, HeaderMobileComponent, FilePreviewComponent, SvgBundleComponent
5166
+ NotifierComponent, ComponentsContainerComponent, MultipleTextRowComponent, LoadingIndicatorComponent, HeaderComponent, HeaderCellComponent, HeaderMobileComponent, FilePreviewComponent, SvgBundleComponent, FileItemComponent, FilePageComponent
5117
5167
  ],
5118
5168
  providers: [PopupService],
5119
5169
  }]
@@ -5155,6 +5205,8 @@
5155
5205
  exports.EmbeddedViewContentComponent = EmbeddedViewContentComponent;
5156
5206
  exports.ErrorsComponent = ErrorsComponent;
5157
5207
  exports.ExpressionComponent = ExpressionComponent;
5208
+ exports.FileItemComponent = FileItemComponent;
5209
+ exports.FilePageComponent = FilePageComponent;
5158
5210
  exports.FilePreviewComponent = FilePreviewComponent;
5159
5211
  exports.FileQuestionComponent = FileQuestionComponent;
5160
5212
  exports.HeaderCellComponent = HeaderCellComponent;