survey-angular-ui 1.12.4 → 1.12.6
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 +2 -0
- package/angular-ui.module.d.ts +5 -3
- package/bundles/survey-angular-ui.umd.js +61 -12
- package/bundles/survey-angular-ui.umd.js.map +1 -1
- package/components/file/file-item.component.d.ts +9 -0
- package/components/file/file-page.component.d.ts +10 -0
- package/components/file/file-preview.component.d.ts +2 -1
- package/components/text-area/text-area.component.d.ts +0 -1
- package/esm2015/angular-ui.js +3 -1
- package/esm2015/angular-ui.module.js +7 -5
- package/esm2015/base-angular.js +3 -3
- package/esm2015/components/file/file-item.component.js +23 -0
- package/esm2015/components/file/file-page.component.js +25 -0
- package/esm2015/components/file/file-preview.component.js +8 -6
- package/esm2015/components/text-area/text-area.component.js +1 -4
- package/esm2015/panel.component.js +3 -3
- package/fesm2015/survey-angular-ui.js +50 -13
- package/fesm2015/survey-angular-ui.js.map +1 -1
- package/package.json +2 -2
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";
|
package/angular-ui.module.d.ts
CHANGED
|
@@ -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 "
|
|
124
|
-
import * as i123 from "
|
|
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
|
|
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.
|
|
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.
|
|
616
|
+
stateElement.disableOnElementRerenderedEvent();
|
|
617
617
|
}
|
|
618
618
|
};
|
|
619
619
|
BaseAngular.prototype.update = function (key) {
|
|
@@ -1934,9 +1934,6 @@
|
|
|
1934
1934
|
this.model.setElement(element);
|
|
1935
1935
|
}
|
|
1936
1936
|
};
|
|
1937
|
-
TextAreaComponent.prototype.ngOnDestroy = function () {
|
|
1938
|
-
this.model.dispose();
|
|
1939
|
-
};
|
|
1940
1937
|
return TextAreaComponent;
|
|
1941
1938
|
}(EmbeddedViewContentComponent));
|
|
1942
1939
|
TextAreaComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TextAreaComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
@@ -3674,9 +3671,9 @@
|
|
|
3674
3671
|
return this.model;
|
|
3675
3672
|
};
|
|
3676
3673
|
PanelComponent.prototype.ngAfterViewInit = function () {
|
|
3677
|
-
var _a
|
|
3674
|
+
var _a;
|
|
3678
3675
|
if (!!((_a = this.panelContainerRef) === null || _a === void 0 ? void 0 : _a.nativeElement)) {
|
|
3679
|
-
|
|
3676
|
+
this.model.afterRender(this.panelContainerRef.nativeElement);
|
|
3680
3677
|
}
|
|
3681
3678
|
};
|
|
3682
3679
|
Object.defineProperty(PanelComponent.prototype, "canRender", {
|
|
@@ -3729,6 +3726,53 @@
|
|
|
3729
3726
|
}] } });
|
|
3730
3727
|
AngularComponentFactory.Instance.registerComponent("sv-nav-btn", SurveyNavigationButton);
|
|
3731
3728
|
|
|
3729
|
+
var FileItemComponent = /** @class */ (function (_super) {
|
|
3730
|
+
__extends(FileItemComponent, _super);
|
|
3731
|
+
function FileItemComponent() {
|
|
3732
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
3733
|
+
}
|
|
3734
|
+
return FileItemComponent;
|
|
3735
|
+
}(EmbeddedViewContentComponent));
|
|
3736
|
+
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 });
|
|
3737
|
+
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 } });
|
|
3738
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: FileItemComponent, decorators: [{
|
|
3739
|
+
type: i0.Component,
|
|
3740
|
+
args: [{
|
|
3741
|
+
templateUrl: "./file-item.component.html",
|
|
3742
|
+
selector: "sv-ng-file-item",
|
|
3743
|
+
styleUrls: ["../../hide-host.scss"]
|
|
3744
|
+
}]
|
|
3745
|
+
}], propDecorators: { item: [{
|
|
3746
|
+
type: i0.Input
|
|
3747
|
+
}], question: [{
|
|
3748
|
+
type: i0.Input
|
|
3749
|
+
}] } });
|
|
3750
|
+
|
|
3751
|
+
var FilePageComponent = /** @class */ (function (_super) {
|
|
3752
|
+
__extends(FilePageComponent, _super);
|
|
3753
|
+
function FilePageComponent() {
|
|
3754
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
3755
|
+
}
|
|
3756
|
+
FilePageComponent.prototype.getModel = function () {
|
|
3757
|
+
return this.page;
|
|
3758
|
+
};
|
|
3759
|
+
return FilePageComponent;
|
|
3760
|
+
}(BaseAngular));
|
|
3761
|
+
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 });
|
|
3762
|
+
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"] }] });
|
|
3763
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: FilePageComponent, decorators: [{
|
|
3764
|
+
type: i0.Component,
|
|
3765
|
+
args: [{
|
|
3766
|
+
templateUrl: "./file-page.component.html",
|
|
3767
|
+
selector: "sv-ng-file-page",
|
|
3768
|
+
styleUrls: ["../../hide-host.scss"]
|
|
3769
|
+
}]
|
|
3770
|
+
}], propDecorators: { page: [{
|
|
3771
|
+
type: i0.Input
|
|
3772
|
+
}], question: [{
|
|
3773
|
+
type: i0.Input
|
|
3774
|
+
}] } });
|
|
3775
|
+
|
|
3732
3776
|
var FilePreviewComponent = /** @class */ (function (_super) {
|
|
3733
3777
|
__extends(FilePreviewComponent, _super);
|
|
3734
3778
|
function FilePreviewComponent() {
|
|
@@ -3738,10 +3782,13 @@
|
|
|
3738
3782
|
};
|
|
3739
3783
|
return _this;
|
|
3740
3784
|
}
|
|
3785
|
+
FilePreviewComponent.prototype.trackPagesFn = function (_, page) {
|
|
3786
|
+
return page.id;
|
|
3787
|
+
};
|
|
3741
3788
|
return FilePreviewComponent;
|
|
3742
3789
|
}(EmbeddedViewContentComponent));
|
|
3743
3790
|
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 <
|
|
3791
|
+
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
3792
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: FilePreviewComponent, decorators: [{
|
|
3746
3793
|
type: i0.Component,
|
|
3747
3794
|
args: [{
|
|
@@ -5049,7 +5096,7 @@
|
|
|
5049
5096
|
MatrixCellComponent, MatrixDropdownCellComponent, MatrixTableComponent, MatrixDropdownComponent,
|
|
5050
5097
|
MatrixDynamicComponent, MatrixDetailButtonComponent, MatrixDynamicRemoveButtonComponent, MatrixDynamicDragDropIconComponent, MatrixRequiredHeader, ExpressionComponent, SafeResourceUrlPipe, BrandInfoComponent, QuestionErrorComponent,
|
|
5051
5098
|
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,
|
|
5099
|
+
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
5100
|
SurveyComponent, SurveyContentComponent, PopupSurveyComponent, PageComponent, PanelComponent, QuestionComponent, StringViewerComponent, SurveyStringComponent, StringEditorComponent,
|
|
5054
5101
|
TextAreaComponent,
|
|
5055
5102
|
QuestionSkeletonComponent, TextQuestionComponent, RadiogroupComponent, RadiogroupItemComponent, CheckboxComponent, CheckboxItemComponent,
|
|
@@ -5066,7 +5113,7 @@
|
|
|
5066
5113
|
MatrixCellComponent, MatrixDropdownCellComponent, MatrixTableComponent, MatrixDropdownComponent,
|
|
5067
5114
|
MatrixDynamicComponent, MatrixDetailButtonComponent, MatrixDynamicRemoveButtonComponent, MatrixDynamicDragDropIconComponent, MatrixRequiredHeader, ExpressionComponent, SafeResourceUrlPipe,
|
|
5068
5115
|
CustomQuestionComponent, CompositeQuestionComponent, ButtonGroupQuestionComponent, ModalComponent, LogoImageComponent, SkeletonComponent, TimerPanelComponent, PaneldynamicRemoveButtonComponent,
|
|
5069
|
-
NotifierComponent, ComponentsContainerComponent, MultipleTextRowComponent, LoadingIndicatorComponent, HeaderComponent, HeaderCellComponent, HeaderMobileComponent, FilePreviewComponent, SvgBundleComponent] });
|
|
5116
|
+
NotifierComponent, ComponentsContainerComponent, MultipleTextRowComponent, LoadingIndicatorComponent, HeaderComponent, HeaderCellComponent, HeaderMobileComponent, FilePreviewComponent, SvgBundleComponent, FileItemComponent, FilePageComponent] });
|
|
5070
5117
|
SurveyModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: SurveyModule, providers: [PopupService], imports: [[
|
|
5071
5118
|
i2.CommonModule, i2$1.FormsModule
|
|
5072
5119
|
]] });
|
|
@@ -5090,7 +5137,7 @@
|
|
|
5090
5137
|
MatrixCellComponent, MatrixDropdownCellComponent, MatrixTableComponent, MatrixDropdownComponent,
|
|
5091
5138
|
MatrixDynamicComponent, MatrixDetailButtonComponent, MatrixDynamicRemoveButtonComponent, MatrixDynamicDragDropIconComponent, MatrixRequiredHeader, ExpressionComponent, SafeResourceUrlPipe, BrandInfoComponent, QuestionErrorComponent,
|
|
5092
5139
|
CustomQuestionComponent, CompositeQuestionComponent, ButtonGroupItemComponent, ButtonGroupQuestionComponent, MatrixRowComponent, ModalComponent, LogoImageComponent, SkeletonComponent, TimerPanelComponent, PaneldynamicRemoveButtonComponent,
|
|
5093
|
-
NotifierComponent, ComponentsContainerComponent, MultipleTextRowComponent, LoadingIndicatorComponent, HeaderComponent, HeaderCellComponent, HeaderMobileComponent, ChooseFileBtn, FilePreviewComponent, SvgBundleComponent
|
|
5140
|
+
NotifierComponent, ComponentsContainerComponent, MultipleTextRowComponent, LoadingIndicatorComponent, HeaderComponent, HeaderCellComponent, HeaderMobileComponent, ChooseFileBtn, FilePreviewComponent, SvgBundleComponent, FileItemComponent, FilePageComponent
|
|
5094
5141
|
],
|
|
5095
5142
|
imports: [
|
|
5096
5143
|
i2.CommonModule, i2$1.FormsModule
|
|
@@ -5113,7 +5160,7 @@
|
|
|
5113
5160
|
MatrixCellComponent, MatrixDropdownCellComponent, MatrixTableComponent, MatrixDropdownComponent,
|
|
5114
5161
|
MatrixDynamicComponent, MatrixDetailButtonComponent, MatrixDynamicRemoveButtonComponent, MatrixDynamicDragDropIconComponent, MatrixRequiredHeader, ExpressionComponent, SafeResourceUrlPipe,
|
|
5115
5162
|
CustomQuestionComponent, CompositeQuestionComponent, ButtonGroupQuestionComponent, ModalComponent, LogoImageComponent, SkeletonComponent, TimerPanelComponent, PaneldynamicRemoveButtonComponent,
|
|
5116
|
-
NotifierComponent, ComponentsContainerComponent, MultipleTextRowComponent, LoadingIndicatorComponent, HeaderComponent, HeaderCellComponent, HeaderMobileComponent, FilePreviewComponent, SvgBundleComponent
|
|
5163
|
+
NotifierComponent, ComponentsContainerComponent, MultipleTextRowComponent, LoadingIndicatorComponent, HeaderComponent, HeaderCellComponent, HeaderMobileComponent, FilePreviewComponent, SvgBundleComponent, FileItemComponent, FilePageComponent
|
|
5117
5164
|
],
|
|
5118
5165
|
providers: [PopupService],
|
|
5119
5166
|
}]
|
|
@@ -5155,6 +5202,8 @@
|
|
|
5155
5202
|
exports.EmbeddedViewContentComponent = EmbeddedViewContentComponent;
|
|
5156
5203
|
exports.ErrorsComponent = ErrorsComponent;
|
|
5157
5204
|
exports.ExpressionComponent = ExpressionComponent;
|
|
5205
|
+
exports.FileItemComponent = FileItemComponent;
|
|
5206
|
+
exports.FilePageComponent = FilePageComponent;
|
|
5158
5207
|
exports.FilePreviewComponent = FilePreviewComponent;
|
|
5159
5208
|
exports.FileQuestionComponent = FileQuestionComponent;
|
|
5160
5209
|
exports.HeaderCellComponent = HeaderCellComponent;
|