survey-creator-angular 1.9.83 → 1.9.85

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.
@@ -10,7 +10,10 @@ export declare class MatrixCellComponent extends CreatorModelComponent<MatrixCel
10
10
  adorner: MatrixCellWrapperViewModel;
11
11
  private get creator();
12
12
  get question(): QuestionSelectBase;
13
+ get isSupportCellEditor(): boolean;
13
14
  get column(): any;
15
+ get element(): any;
16
+ selectContext(event: MouseEvent): void;
14
17
  get row(): any;
15
18
  protected createModel(): void;
16
19
  protected getPropertiesToTrack(): string[];
package/angular-ui.d.ts CHANGED
@@ -52,3 +52,4 @@ export * from "./adorners/question-rating.component";
52
52
  export * from "./header/logo-image.component";
53
53
  export * from "./custom-questions/spin-editor.component";
54
54
  export * from "./custom-questions/color.component";
55
+ export * from "./custom-questions/file.component";
@@ -51,11 +51,12 @@ import * as i49 from "./header/logo-image.component";
51
51
  import * as i50 from "./adorners/question-rating.component";
52
52
  import * as i51 from "./custom-questions/spin-editor.component";
53
53
  import * as i52 from "./custom-questions/color.component";
54
- import * as i53 from "@angular/common";
55
- import * as i54 from "@angular/forms";
56
- import * as i55 from "survey-angular-ui";
54
+ import * as i53 from "./custom-questions/file.component";
55
+ import * as i54 from "@angular/common";
56
+ import * as i55 from "@angular/forms";
57
+ import * as i56 from "survey-angular-ui";
57
58
  export declare class SurveyCreatorModule {
58
59
  static ɵfac: i0.ɵɵFactoryDeclaration<SurveyCreatorModule, never>;
59
- static ɵmod: i0.ɵɵNgModuleDeclaration<SurveyCreatorModule, [typeof i1.CreatorComponent, typeof i2.DesignerTabComponent, typeof i3.PageDesignerComponent, typeof i4.QuestionDesignerComponent, typeof i5.PanelDesignerComponent, typeof i6.SvgBundleComponent, typeof i7.TabbledMenuComponent, typeof i8.TabbedMenuItemComponent, typeof i9.TabbedMenuItemWrapperComponent, typeof i10.SidebarComponent, typeof i11.SidebarTabComponent, typeof i12.ObjectSelectorComponent, typeof i13.PropertyGridComponent, typeof i14.TextareaJsonEditorComponent, typeof i15.AceJsonEditorComponent, typeof i16.LogicTabComponent, typeof i17.LogicAddButtonComponent, typeof i18.ActionButtonComponent, typeof i19.LinkValueQuestionComponent, typeof i20.EmbeddedSurveyQuestionComponent, typeof i21.TranslationTabComponent, typeof i22.TranslationSkeletonComponent, typeof i23.SimulatorComponent, typeof i24.TestTabComponent, typeof i25.TestAgainActionComponent, typeof i26.SurveyResultsComponent, typeof i27.SurveyResultsTableRowComponent, typeof i28.AdaptiveToolboxComponent, typeof i29.ToolboxToolComponent, typeof i30.ToolboxItemComponent, typeof i31.ToolboxCategoryComponent, typeof i32.StringEditorComponent, typeof i33.PageNavigatorComponent, typeof i34.PageNavigatorItemComponent, typeof i35.QuestionDropdownDesignerComponent, typeof i35.QuestionDropdownAdornerDesignerComponent, typeof i36.QuestionImageDesignerComponent, typeof i36.QuestionImageAdornerDesignerComponent, typeof i37.ItemValueDesignerComponent, typeof i38.ImageItemValueDesignerComponent, typeof i39.LogicOperatorComponent, typeof i40.MatrixCellComponent, typeof i41.QuestionEditorComponent, typeof i42.CellQuestionDropdownComponent, typeof i43.CreatorRowComponent, typeof i44.DesignerPagesComponent, typeof i45.DesignerSurveyComponent, typeof i46.CellQuestionComponent, typeof i47.QuestionWidgetDesignerComponent, typeof i48.ToolboxComponent, typeof i49.CreatorLogoImageComponent, typeof i50.QuestionRatingAdornerDesignerComponent, typeof i50.QuestionRatingDesignerComponent, typeof i51.QuestionSpinEditorComponent, typeof i52.QuestionColorComponent], [typeof i53.CommonModule, typeof i54.FormsModule, typeof i55.SurveyModule], [typeof i1.CreatorComponent, typeof i2.DesignerTabComponent, typeof i3.PageDesignerComponent, typeof i4.QuestionDesignerComponent, typeof i5.PanelDesignerComponent, typeof i6.SvgBundleComponent, typeof i7.TabbledMenuComponent, typeof i8.TabbedMenuItemComponent, typeof i9.TabbedMenuItemWrapperComponent, typeof i10.SidebarComponent, typeof i11.SidebarTabComponent, typeof i12.ObjectSelectorComponent, typeof i13.PropertyGridComponent, typeof i14.TextareaJsonEditorComponent, typeof i15.AceJsonEditorComponent, typeof i16.LogicTabComponent, typeof i17.LogicAddButtonComponent, typeof i18.ActionButtonComponent, typeof i19.LinkValueQuestionComponent, typeof i20.EmbeddedSurveyQuestionComponent, typeof i21.TranslationTabComponent, typeof i22.TranslationSkeletonComponent, typeof i23.SimulatorComponent, typeof i24.TestTabComponent, typeof i25.TestAgainActionComponent, typeof i26.SurveyResultsComponent, typeof i27.SurveyResultsTableRowComponent, typeof i28.AdaptiveToolboxComponent, typeof i29.ToolboxToolComponent, typeof i30.ToolboxItemComponent, typeof i31.ToolboxCategoryComponent, typeof i32.StringEditorComponent, typeof i33.PageNavigatorComponent, typeof i34.PageNavigatorItemComponent, typeof i35.QuestionDropdownDesignerComponent, typeof i35.QuestionDropdownAdornerDesignerComponent, typeof i36.QuestionImageDesignerComponent, typeof i36.QuestionImageAdornerDesignerComponent, typeof i37.ItemValueDesignerComponent, typeof i38.ImageItemValueDesignerComponent, typeof i39.LogicOperatorComponent, typeof i40.MatrixCellComponent, typeof i41.QuestionEditorComponent, typeof i42.CellQuestionDropdownComponent, typeof i43.CreatorRowComponent, typeof i44.DesignerPagesComponent, typeof i45.DesignerSurveyComponent, typeof i46.CellQuestionComponent, typeof i47.QuestionWidgetDesignerComponent, typeof i48.ToolboxComponent, typeof i49.CreatorLogoImageComponent, typeof i50.QuestionRatingAdornerDesignerComponent, typeof i50.QuestionRatingDesignerComponent, typeof i51.QuestionSpinEditorComponent, typeof i52.QuestionColorComponent]>;
60
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SurveyCreatorModule, [typeof i1.CreatorComponent, typeof i2.DesignerTabComponent, typeof i3.PageDesignerComponent, typeof i4.QuestionDesignerComponent, typeof i5.PanelDesignerComponent, typeof i6.SvgBundleComponent, typeof i7.TabbledMenuComponent, typeof i8.TabbedMenuItemComponent, typeof i9.TabbedMenuItemWrapperComponent, typeof i10.SidebarComponent, typeof i11.SidebarTabComponent, typeof i12.ObjectSelectorComponent, typeof i13.PropertyGridComponent, typeof i14.TextareaJsonEditorComponent, typeof i15.AceJsonEditorComponent, typeof i16.LogicTabComponent, typeof i17.LogicAddButtonComponent, typeof i18.ActionButtonComponent, typeof i19.LinkValueQuestionComponent, typeof i20.EmbeddedSurveyQuestionComponent, typeof i21.TranslationTabComponent, typeof i22.TranslationSkeletonComponent, typeof i23.SimulatorComponent, typeof i24.TestTabComponent, typeof i25.TestAgainActionComponent, typeof i26.SurveyResultsComponent, typeof i27.SurveyResultsTableRowComponent, typeof i28.AdaptiveToolboxComponent, typeof i29.ToolboxToolComponent, typeof i30.ToolboxItemComponent, typeof i31.ToolboxCategoryComponent, typeof i32.StringEditorComponent, typeof i33.PageNavigatorComponent, typeof i34.PageNavigatorItemComponent, typeof i35.QuestionDropdownDesignerComponent, typeof i35.QuestionDropdownAdornerDesignerComponent, typeof i36.QuestionImageDesignerComponent, typeof i36.QuestionImageAdornerDesignerComponent, typeof i37.ItemValueDesignerComponent, typeof i38.ImageItemValueDesignerComponent, typeof i39.LogicOperatorComponent, typeof i40.MatrixCellComponent, typeof i41.QuestionEditorComponent, typeof i42.CellQuestionDropdownComponent, typeof i43.CreatorRowComponent, typeof i44.DesignerPagesComponent, typeof i45.DesignerSurveyComponent, typeof i46.CellQuestionComponent, typeof i47.QuestionWidgetDesignerComponent, typeof i48.ToolboxComponent, typeof i49.CreatorLogoImageComponent, typeof i50.QuestionRatingAdornerDesignerComponent, typeof i50.QuestionRatingDesignerComponent, typeof i51.QuestionSpinEditorComponent, typeof i52.QuestionColorComponent, typeof i53.QuestionFileEditorComponent], [typeof i54.CommonModule, typeof i55.FormsModule, typeof i56.SurveyModule], [typeof i1.CreatorComponent, typeof i2.DesignerTabComponent, typeof i3.PageDesignerComponent, typeof i4.QuestionDesignerComponent, typeof i5.PanelDesignerComponent, typeof i6.SvgBundleComponent, typeof i7.TabbledMenuComponent, typeof i8.TabbedMenuItemComponent, typeof i9.TabbedMenuItemWrapperComponent, typeof i10.SidebarComponent, typeof i11.SidebarTabComponent, typeof i12.ObjectSelectorComponent, typeof i13.PropertyGridComponent, typeof i14.TextareaJsonEditorComponent, typeof i15.AceJsonEditorComponent, typeof i16.LogicTabComponent, typeof i17.LogicAddButtonComponent, typeof i18.ActionButtonComponent, typeof i19.LinkValueQuestionComponent, typeof i20.EmbeddedSurveyQuestionComponent, typeof i21.TranslationTabComponent, typeof i22.TranslationSkeletonComponent, typeof i23.SimulatorComponent, typeof i24.TestTabComponent, typeof i25.TestAgainActionComponent, typeof i26.SurveyResultsComponent, typeof i27.SurveyResultsTableRowComponent, typeof i28.AdaptiveToolboxComponent, typeof i29.ToolboxToolComponent, typeof i30.ToolboxItemComponent, typeof i31.ToolboxCategoryComponent, typeof i32.StringEditorComponent, typeof i33.PageNavigatorComponent, typeof i34.PageNavigatorItemComponent, typeof i35.QuestionDropdownDesignerComponent, typeof i35.QuestionDropdownAdornerDesignerComponent, typeof i36.QuestionImageDesignerComponent, typeof i36.QuestionImageAdornerDesignerComponent, typeof i37.ItemValueDesignerComponent, typeof i38.ImageItemValueDesignerComponent, typeof i39.LogicOperatorComponent, typeof i40.MatrixCellComponent, typeof i41.QuestionEditorComponent, typeof i42.CellQuestionDropdownComponent, typeof i43.CreatorRowComponent, typeof i44.DesignerPagesComponent, typeof i45.DesignerSurveyComponent, typeof i46.CellQuestionComponent, typeof i47.QuestionWidgetDesignerComponent, typeof i48.ToolboxComponent, typeof i49.CreatorLogoImageComponent, typeof i50.QuestionRatingAdornerDesignerComponent, typeof i50.QuestionRatingDesignerComponent, typeof i51.QuestionSpinEditorComponent, typeof i52.QuestionColorComponent, typeof i53.QuestionFileEditorComponent]>;
60
61
  static ɵinj: i0.ɵɵInjectorDeclaration<SurveyCreatorModule>;
61
62
  }
@@ -1040,7 +1040,7 @@
1040
1040
  return ObjectSelectorComponent;
1041
1041
  }(i1.BaseAngular));
1042
1042
  ObjectSelectorComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: ObjectSelectorComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
1043
- ObjectSelectorComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: ObjectSelectorComponent, selector: "svc-object-selector", inputs: { model: "model" }, usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #template>\n <div class=\"svc-object-selector\" *ngIf=\"model.isVisible\">\n <sv-ng-list [model]=\"model.list\"></sv-ng-list>\n </div>\n</ng-template>\n", styles: [":host { display: none; }"], components: [{ type: i1__namespace.ListComponent, selector: "sv-ng-list, '[sv-ng-list]'", inputs: ["model"] }], directives: [{ type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
1043
+ ObjectSelectorComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: ObjectSelectorComponent, selector: "svc-object-selector", inputs: { model: "model" }, usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #template>\n <ng-container *ngIf=\"model.isVisible\">\n <sv-ng-list [model]=\"model.list\"></sv-ng-list>\n </ng-container>\n</ng-template>", styles: [":host { display: none; }"], components: [{ type: i1__namespace.ListComponent, selector: "sv-ng-list, '[sv-ng-list]'", inputs: ["model"] }], directives: [{ type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
1044
1044
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: ObjectSelectorComponent, decorators: [{
1045
1045
  type: i0.Component,
1046
1046
  args: [{
@@ -1252,7 +1252,7 @@
1252
1252
  return LinkValueQuestionComponent;
1253
1253
  }(i1.QuestionAngular));
1254
1254
  LinkValueQuestionComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: LinkValueQuestionComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
1255
- LinkValueQuestionComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: LinkValueQuestionComponent, selector: "svc-link-value", usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #template>\n <svc-action-button [text]=\"model.linkValueText\" [click]=\"model.doLinkClick.bind(model)\" [selected]=\"model.isSelected\" [disabled]=\"model.isReadOnly\" [classes]=\"model.linkSetButtonCssClasses\" [title]=\"model.tooltip\">\n </svc-action-button>\n <ng-container *ngIf=\"!model.isReadOnly && model.showClear\">\n <svc-action-button\n [text]=\"clearCaption\" [click]=\"model.doClearClick.bind(model)\" [selected]=\"model.isSelected\" [disabled]=\"false\" [classes]=\"model.linkClearButtonCssClasses\">\n </svc-action-button>\n </ng-container>\n</ng-template>", styles: [":host { display: none; }"], components: [{ type: ActionButtonComponent, selector: "svc-action-button", inputs: ["classes", "click", "selected", "disabled", "text", "title", "allowBubble"] }], directives: [{ type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
1255
+ LinkValueQuestionComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: LinkValueQuestionComponent, selector: "svc-link-value", usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #template>\n <svc-action-button [text]=\"model.linkValueText\" [click]=\"model.doLinkClick.bind(model)\" [selected]=\"model.isSelected\"\n [disabled]=\"!model.isClickable\" [classes]=\"model.linkSetButtonCssClasses\" [title]=\"model.tooltip\">\n </svc-action-button>\n <ng-container *ngIf=\"!model.isReadOnly && model.showClear\">\n <svc-action-button [text]=\"clearCaption\" [click]=\"model.doClearClick.bind(model)\" [selected]=\"model.isSelected\"\n [disabled]=\"false\" [classes]=\"model.linkClearButtonCssClasses\">\n </svc-action-button>\n </ng-container>\n</ng-template>", styles: [":host { display: none; }"], components: [{ type: ActionButtonComponent, selector: "svc-action-button", inputs: ["classes", "click", "selected", "disabled", "text", "title", "allowBubble"] }], directives: [{ type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
1256
1256
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: LinkValueQuestionComponent, decorators: [{
1257
1257
  type: i0.Component,
1258
1258
  args: [{
@@ -2076,6 +2076,13 @@
2076
2076
  enumerable: false,
2077
2077
  configurable: true
2078
2078
  });
2079
+ Object.defineProperty(MatrixCellComponent.prototype, "isSupportCellEditor", {
2080
+ get: function () {
2081
+ return this.adorner.isSupportCellEditor;
2082
+ },
2083
+ enumerable: false,
2084
+ configurable: true
2085
+ });
2079
2086
  Object.defineProperty(MatrixCellComponent.prototype, "column", {
2080
2087
  get: function () {
2081
2088
  return this.componentData.column;
@@ -2083,6 +2090,16 @@
2083
2090
  enumerable: false,
2084
2091
  configurable: true
2085
2092
  });
2093
+ Object.defineProperty(MatrixCellComponent.prototype, "element", {
2094
+ get: function () {
2095
+ return this.componentData.element;
2096
+ },
2097
+ enumerable: false,
2098
+ configurable: true
2099
+ });
2100
+ MatrixCellComponent.prototype.selectContext = function (event) {
2101
+ this.adorner.selectContext(this.adorner, event);
2102
+ };
2086
2103
  Object.defineProperty(MatrixCellComponent.prototype, "row", {
2087
2104
  get: function () {
2088
2105
  return this.componentData.row;
@@ -2092,7 +2109,7 @@
2092
2109
  });
2093
2110
  MatrixCellComponent.prototype.createModel = function () {
2094
2111
  if (this.componentData) {
2095
- this.adorner = new surveyCreatorCore.MatrixCellWrapperViewModel(this.creator, null, this.question, this.row, this.column);
2112
+ this.adorner = new surveyCreatorCore.MatrixCellWrapperViewModel(this.creator, this.element, this.question, this.row, this.column);
2096
2113
  }
2097
2114
  };
2098
2115
  MatrixCellComponent.prototype.getPropertiesToTrack = function () {
@@ -2104,7 +2121,7 @@
2104
2121
  return MatrixCellComponent;
2105
2122
  }(CreatorModelComponent));
2106
2123
  MatrixCellComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MatrixCellComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
2107
- MatrixCellComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MatrixCellComponent, selector: "svc-matrix-cell", inputs: { componentName: "componentName", componentData: "componentData", contentTempl: "contentTempl" }, usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #template>\n <div tabindex=\"-1\" class=\"svc-matrix-cell\" (click)=\"adorner.selectContext(adorner, $event)\" (mouseover)=\"adorner.hover($event, $event.currentTarget)\" (mouseleave)=\"adorner.hover($event, $event.currentTarget)\">\n <div class=\"svc-matrix-cell--selected\" [class.svc-visible]=\"adorner.isSelected\"></div>\n <ng-container *ngTemplateOutlet=\"contentTempl\"></ng-container>\n <div *ngIf=\"question\" class=\"svc-matrix-cell__question-controls\">\n <span class=\"svc-matrix-cell__question-controls-button\" (click)=\"adorner.editQuestion(adorner)\" [key2click]>\n <svg [iconName]=\"'icon-edit'\" [size]=\"24\" [size]=\"24\" sv-ng-svg-icon></svg>\n </span>\n </div>\n </div>\n</ng-template>", styles: [":host { display: none; }"], components: [{ type: i1__namespace.SvgIconComponent, selector: "'[sv-ng-svg-icon]'", inputs: ["size", "width", "height", "iconName", "partCss", "css", "title"] }], directives: [{ type: i2__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace.Key2ClickDirective, selector: "[key2click]", inputs: ["key2click"] }] });
2124
+ MatrixCellComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MatrixCellComponent, selector: "svc-matrix-cell", inputs: { componentName: "componentName", componentData: "componentData", contentTempl: "contentTempl" }, usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #template>\n <div tabindex=\"-1\" class=\"svc-matrix-cell\" (click)=\"selectContext($event)\"\n (mouseover)=\"adorner.hover($event, $event.currentTarget)\"\n (mouseleave)=\"adorner.hover($event, $event.currentTarget)\">\n <div class=\"svc-matrix-cell--selected\" [class.svc-visible]=\"adorner.isSelected\"></div>\n <ng-container *ngTemplateOutlet=\"contentTempl\"></ng-container>\n <div *ngIf=\"isSupportCellEditor\" class=\"svc-matrix-cell__question-controls\">\n <span class=\"svc-matrix-cell__question-controls-button\" (click)=\"adorner.editQuestion(adorner)\" [key2click]>\n <svg [iconName]=\"'icon-edit'\" [size]=\"24\" [size]=\"24\" sv-ng-svg-icon></svg>\n </span>\n </div>\n </div>\n</ng-template>", styles: [":host { display: none; }"], components: [{ type: i1__namespace.SvgIconComponent, selector: "'[sv-ng-svg-icon]'", inputs: ["size", "width", "height", "iconName", "partCss", "css", "title"] }], directives: [{ type: i2__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace.Key2ClickDirective, selector: "[key2click]", inputs: ["key2click"] }] });
2108
2125
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MatrixCellComponent, decorators: [{
2109
2126
  type: i0.Component,
2110
2127
  args: [{
@@ -2490,6 +2507,24 @@
2490
2507
  }] });
2491
2508
  i1.AngularComponentFactory.Instance.registerComponent("color-question", QuestionColorComponent);
2492
2509
 
2510
+ var QuestionFileEditorComponent = /** @class */ (function (_super) {
2511
+ __extends(QuestionFileEditorComponent, _super);
2512
+ function QuestionFileEditorComponent() {
2513
+ return _super !== null && _super.apply(this, arguments) || this;
2514
+ }
2515
+ return QuestionFileEditorComponent;
2516
+ }(i1.QuestionAngular));
2517
+ QuestionFileEditorComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: QuestionFileEditorComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
2518
+ QuestionFileEditorComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: QuestionFileEditorComponent, selector: "svc-file-editor", usesInheritance: true, ngImport: i0__namespace, template: "<div [class]=\"model.cssClasses.root\" (dragenter)=\"model.onDragEnter($event)\" (dragover)=\"model.onDragOver($event)\"\n (drop)=\"model.onDrop($event)\" (dragleave)=\"model.onDragLeave($event)\">\n <input type=\"text\" [class]=\"model.cssClasses.control\" [value]=\"model.value ||''\"\n (change)=\"model.onInputChange($event)\" (blur)=\"model.onInputBlur($event)\" />\n <div [class]=\"model.cssClasses.buttonsContainer\">\n <button type=\"button\" [class]=\"model.cssClasses.clearButton\" [disabled]=\"model.getIsClearButtonDisabled()\"\n (click)=\"model.doClean($event)\">\n <svg [iconName]=\"model.cssClasses.clearButtonIcon\" size=\"'auto'\" [title]=\"model.clearButtonCaption\"\n sv-ng-svg-icon></svg>\n </button>\n <label tabindex=\"0\" role=\"button\" [class]=\"model.cssClasses.chooseButton\" [attr.for]=\"model.inputId\"\n [attr.aria-label]=\"model.chooseButtonCaption\">\n <svg [iconName]=\"model.cssClasses.chooseButtonIcon\" size=\"'auto'\" [title]=\"model.chooseButtonCaption\"\n sv-ng-svg-icon></svg>\n <input type=\"file\" tabindex=\"-1\" [class]=\"model.cssClasses.fileInput\" [attr.id]=\"model.inputId\"\n [attr.aria-required]=\"model.ariaRequired\" [attr.aria-label]=\"model.ariaLabel\"\n [attr.aria-invalid]=\"model.ariaInvalid\" [attr.aria-describedby]=\"model.ariaDescribedBy\" [attr.multiple]=\"false\"\n [title]=\"model.inputTitle\" [attr.accept]=\"model.acceptedTypes\" (change)=\"model.doChange($event)\">\n </label>\n </div>\n</div>", components: [{ type: i1__namespace.SvgIconComponent, selector: "'[sv-ng-svg-icon]'", inputs: ["size", "width", "height", "iconName", "partCss", "css", "title"] }] });
2519
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: QuestionFileEditorComponent, decorators: [{
2520
+ type: i0.Component,
2521
+ args: [{
2522
+ selector: "svc-file-editor",
2523
+ templateUrl: "./file.component.html"
2524
+ }]
2525
+ }] });
2526
+ i1.AngularComponentFactory.Instance.registerComponent("fileedit-question", QuestionFileEditorComponent);
2527
+
2493
2528
  var SurveyCreatorModule = /** @class */ (function () {
2494
2529
  function SurveyCreatorModule() {
2495
2530
  }
@@ -2500,11 +2535,11 @@
2500
2535
  AdaptiveToolboxComponent, ToolboxToolComponent, ToolboxItemComponent, ToolboxCategoryComponent, StringEditorComponent, PageNavigatorComponent, PageNavigatorItemComponent,
2501
2536
  QuestionDropdownDesignerComponent, QuestionDropdownAdornerDesignerComponent, QuestionImageDesignerComponent, QuestionImageAdornerDesignerComponent,
2502
2537
  ItemValueDesignerComponent, ImageItemValueDesignerComponent, LogicOperatorComponent, MatrixCellComponent, QuestionEditorComponent, CellQuestionDropdownComponent, CreatorRowComponent, DesignerPagesComponent, DesignerSurveyComponent, CellQuestionComponent, QuestionWidgetDesignerComponent, ToolboxComponent, CreatorLogoImageComponent,
2503
- QuestionRatingAdornerDesignerComponent, QuestionRatingDesignerComponent, QuestionSpinEditorComponent, QuestionColorComponent], imports: [i2.CommonModule, i1$1.FormsModule, i1.SurveyModule], exports: [CreatorComponent, DesignerTabComponent, PageDesignerComponent, QuestionDesignerComponent, PanelDesignerComponent, SvgBundleComponent, TabbledMenuComponent, TabbedMenuItemComponent, TabbedMenuItemWrapperComponent, SidebarComponent, SidebarTabComponent, ObjectSelectorComponent, PropertyGridComponent, TextareaJsonEditorComponent, AceJsonEditorComponent, LogicTabComponent, LogicAddButtonComponent, ActionButtonComponent, LinkValueQuestionComponent, EmbeddedSurveyQuestionComponent, TranslationTabComponent, TranslationSkeletonComponent, SimulatorComponent, TestTabComponent, TestAgainActionComponent, SurveyResultsComponent, SurveyResultsTableRowComponent,
2538
+ QuestionRatingAdornerDesignerComponent, QuestionRatingDesignerComponent, QuestionSpinEditorComponent, QuestionColorComponent, QuestionFileEditorComponent], imports: [i2.CommonModule, i1$1.FormsModule, i1.SurveyModule], exports: [CreatorComponent, DesignerTabComponent, PageDesignerComponent, QuestionDesignerComponent, PanelDesignerComponent, SvgBundleComponent, TabbledMenuComponent, TabbedMenuItemComponent, TabbedMenuItemWrapperComponent, SidebarComponent, SidebarTabComponent, ObjectSelectorComponent, PropertyGridComponent, TextareaJsonEditorComponent, AceJsonEditorComponent, LogicTabComponent, LogicAddButtonComponent, ActionButtonComponent, LinkValueQuestionComponent, EmbeddedSurveyQuestionComponent, TranslationTabComponent, TranslationSkeletonComponent, SimulatorComponent, TestTabComponent, TestAgainActionComponent, SurveyResultsComponent, SurveyResultsTableRowComponent,
2504
2539
  AdaptiveToolboxComponent, ToolboxToolComponent, ToolboxItemComponent, ToolboxCategoryComponent, StringEditorComponent, PageNavigatorComponent, PageNavigatorItemComponent,
2505
2540
  QuestionDropdownDesignerComponent, QuestionDropdownAdornerDesignerComponent, QuestionImageDesignerComponent, QuestionImageAdornerDesignerComponent,
2506
2541
  ItemValueDesignerComponent, ImageItemValueDesignerComponent, LogicOperatorComponent, MatrixCellComponent, QuestionEditorComponent, CellQuestionDropdownComponent, CreatorRowComponent, DesignerPagesComponent, DesignerSurveyComponent, CellQuestionComponent, QuestionWidgetDesignerComponent, ToolboxComponent, CreatorLogoImageComponent,
2507
- QuestionRatingAdornerDesignerComponent, QuestionRatingDesignerComponent, QuestionSpinEditorComponent, QuestionColorComponent] });
2542
+ QuestionRatingAdornerDesignerComponent, QuestionRatingDesignerComponent, QuestionSpinEditorComponent, QuestionColorComponent, QuestionFileEditorComponent] });
2508
2543
  SurveyCreatorModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: SurveyCreatorModule, providers: [], imports: [[
2509
2544
  i2.CommonModule, i1$1.FormsModule, i1.SurveyModule
2510
2545
  ]] });
@@ -2515,7 +2550,7 @@
2515
2550
  AdaptiveToolboxComponent, ToolboxToolComponent, ToolboxItemComponent, ToolboxCategoryComponent, StringEditorComponent, PageNavigatorComponent, PageNavigatorItemComponent,
2516
2551
  QuestionDropdownDesignerComponent, QuestionDropdownAdornerDesignerComponent, QuestionImageDesignerComponent, QuestionImageAdornerDesignerComponent,
2517
2552
  ItemValueDesignerComponent, ImageItemValueDesignerComponent, LogicOperatorComponent, MatrixCellComponent, QuestionEditorComponent, CellQuestionDropdownComponent, CreatorRowComponent, DesignerPagesComponent, DesignerSurveyComponent, CellQuestionComponent, QuestionWidgetDesignerComponent, ToolboxComponent, CreatorLogoImageComponent,
2518
- QuestionRatingAdornerDesignerComponent, QuestionRatingDesignerComponent, QuestionSpinEditorComponent, QuestionColorComponent],
2553
+ QuestionRatingAdornerDesignerComponent, QuestionRatingDesignerComponent, QuestionSpinEditorComponent, QuestionColorComponent, QuestionFileEditorComponent],
2519
2554
  imports: [
2520
2555
  i2.CommonModule, i1$1.FormsModule, i1.SurveyModule
2521
2556
  ],
@@ -2524,7 +2559,7 @@
2524
2559
  AdaptiveToolboxComponent, ToolboxToolComponent, ToolboxItemComponent, ToolboxCategoryComponent, StringEditorComponent, PageNavigatorComponent, PageNavigatorItemComponent,
2525
2560
  QuestionDropdownDesignerComponent, QuestionDropdownAdornerDesignerComponent, QuestionImageDesignerComponent, QuestionImageAdornerDesignerComponent,
2526
2561
  ItemValueDesignerComponent, ImageItemValueDesignerComponent, LogicOperatorComponent, MatrixCellComponent, QuestionEditorComponent, CellQuestionDropdownComponent, CreatorRowComponent, DesignerPagesComponent, DesignerSurveyComponent, CellQuestionComponent, QuestionWidgetDesignerComponent, ToolboxComponent, CreatorLogoImageComponent,
2527
- QuestionRatingAdornerDesignerComponent, QuestionRatingDesignerComponent, QuestionSpinEditorComponent, QuestionColorComponent
2562
+ QuestionRatingAdornerDesignerComponent, QuestionRatingDesignerComponent, QuestionSpinEditorComponent, QuestionColorComponent, QuestionFileEditorComponent
2528
2563
  ],
2529
2564
  providers: [],
2530
2565
  }]
@@ -2564,6 +2599,7 @@
2564
2599
  exports.QuestionDropdownAdornerDesignerComponent = QuestionDropdownAdornerDesignerComponent;
2565
2600
  exports.QuestionDropdownDesignerComponent = QuestionDropdownDesignerComponent;
2566
2601
  exports.QuestionEditorComponent = QuestionEditorComponent;
2602
+ exports.QuestionFileEditorComponent = QuestionFileEditorComponent;
2567
2603
  exports.QuestionImageAdornerDesignerComponent = QuestionImageAdornerDesignerComponent;
2568
2604
  exports.QuestionImageDesignerComponent = QuestionImageDesignerComponent;
2569
2605
  exports.QuestionRatingAdornerDesignerComponent = QuestionRatingAdornerDesignerComponent;