survey-angular-ui 1.9.123 → 1.9.124
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 +1 -0
- package/angular-ui.module.d.ts +33 -32
- package/bundles/survey-angular-ui.umd.js +73 -30
- package/bundles/survey-angular-ui.umd.js.map +1 -1
- package/esm2015/angular-ui.js +2 -1
- package/esm2015/angular-ui.module.js +10 -5
- package/esm2015/question.component.js +5 -6
- package/esm2015/questions/matrix-row.component.js +3 -3
- package/esm2015/questions/matrix.component.js +3 -3
- package/esm2015/questions/matrixcell.component.js +22 -97
- package/esm2015/questions/matrixdropdowncell.component.js +114 -0
- package/esm2015/questions/matrixtable.component.js +3 -3
- package/fesm2015/survey-angular-ui.js +55 -18
- package/fesm2015/survey-angular-ui.js.map +1 -1
- package/package.json +1 -1
- package/questions/matrix.component.d.ts +1 -1
- package/questions/matrixcell.component.d.ts +13 -21
- package/questions/matrixdropdowncell.component.d.ts +25 -0
package/angular-ui.d.ts
CHANGED
|
@@ -94,6 +94,7 @@ export * from "./element.component";
|
|
|
94
94
|
export * from "./template-renderer.component";
|
|
95
95
|
export * from "./questions/customwidget.component";
|
|
96
96
|
export * from "./questions/matrixcell.component";
|
|
97
|
+
export * from "./questions/matrixdropdowncell.component";
|
|
97
98
|
export * from "./questions/matrixtable.component";
|
|
98
99
|
export * from "./questions/matrixdropdown.component";
|
|
99
100
|
export * from "./questions/matrixdynamic.component";
|
package/angular-ui.module.d.ts
CHANGED
|
@@ -85,39 +85,40 @@ import * as i83 from "./questions/paneldynamic.component";
|
|
|
85
85
|
import * as i84 from "./embedded-view-content.component";
|
|
86
86
|
import * as i85 from "./questions/customwidget.component";
|
|
87
87
|
import * as i86 from "./questions/matrixcell.component";
|
|
88
|
-
import * as i87 from "./questions/
|
|
89
|
-
import * as i88 from "./questions/
|
|
90
|
-
import * as i89 from "./questions/
|
|
91
|
-
import * as i90 from "./
|
|
92
|
-
import * as i91 from "./components/matrix-actions/
|
|
93
|
-
import * as i92 from "./components/matrix-actions/
|
|
94
|
-
import * as i93 from "./
|
|
95
|
-
import * as i94 from "./questions/
|
|
96
|
-
import * as i95 from "./
|
|
97
|
-
import * as i96 from "./
|
|
98
|
-
import * as i97 from "./questions/
|
|
99
|
-
import * as i98 from "./questions/
|
|
100
|
-
import * as i99 from "./questions/button-group/button-group.component";
|
|
101
|
-
import * as i100 from "./questions/
|
|
102
|
-
import * as i101 from "./
|
|
103
|
-
import * as i102 from "./components/
|
|
104
|
-
import * as i103 from "./components/
|
|
105
|
-
import * as i104 from "./components/
|
|
106
|
-
import * as i105 from "./components/
|
|
107
|
-
import * as i106 from "./components/
|
|
108
|
-
import * as i107 from "./components
|
|
109
|
-
import * as i108 from "./
|
|
110
|
-
import * as i109 from "./
|
|
111
|
-
import * as i110 from "./components/
|
|
112
|
-
import * as i111 from "./components/header/header
|
|
113
|
-
import * as i112 from "./components/header/header-
|
|
114
|
-
import * as i113 from "./components/
|
|
115
|
-
import * as i114 from "./components/file/file
|
|
116
|
-
import * as i115 from "./
|
|
117
|
-
import * as i116 from "
|
|
118
|
-
import * as i117 from "@angular/
|
|
88
|
+
import * as i87 from "./questions/matrixdropdowncell.component";
|
|
89
|
+
import * as i88 from "./questions/matrixtable.component";
|
|
90
|
+
import * as i89 from "./questions/matrixdropdown.component";
|
|
91
|
+
import * as i90 from "./questions/matrixdynamic.component";
|
|
92
|
+
import * as i91 from "./components/matrix-actions/detail-button/detail-button.component";
|
|
93
|
+
import * as i92 from "./components/matrix-actions/remove-button/remove-button.component";
|
|
94
|
+
import * as i93 from "./components/matrix-actions/drag-drop-icon/drag-drop-icon";
|
|
95
|
+
import * as i94 from "./questions/matrixrequiredheader.component";
|
|
96
|
+
import * as i95 from "./questions/expression.component";
|
|
97
|
+
import * as i96 from "./components/brand-info/brand-info.component";
|
|
98
|
+
import * as i97 from "./questions/custom.component";
|
|
99
|
+
import * as i98 from "./questions/composite.component";
|
|
100
|
+
import * as i99 from "./questions/button-group/button-group-item.component";
|
|
101
|
+
import * as i100 from "./questions/button-group/button-group.component";
|
|
102
|
+
import * as i101 from "./questions/matrix-row.component";
|
|
103
|
+
import * as i102 from "./components/popup/modal-container.component";
|
|
104
|
+
import * as i103 from "./components/survey-header/logo-image.component";
|
|
105
|
+
import * as i104 from "./components/skeleton/skeleton.component";
|
|
106
|
+
import * as i105 from "./components/timer-panel/timer-panel.component";
|
|
107
|
+
import * as i106 from "./components/paneldynamic-actions/paneldynamic-remove-btn.component";
|
|
108
|
+
import * as i107 from "./components/notifier/notifier.component";
|
|
109
|
+
import * as i108 from "./components-container.component";
|
|
110
|
+
import * as i109 from "./questions/multipletextrow.component";
|
|
111
|
+
import * as i110 from "./components/loading-indicator/loading-indicator.component";
|
|
112
|
+
import * as i111 from "./components/header/header.component";
|
|
113
|
+
import * as i112 from "./components/header/header-cell.component";
|
|
114
|
+
import * as i113 from "./components/header/header-mobile.component";
|
|
115
|
+
import * as i114 from "./components/file/choose-file.component";
|
|
116
|
+
import * as i115 from "./components/file/file-preview.component";
|
|
117
|
+
import * as i116 from "./svgbundle.component";
|
|
118
|
+
import * as i117 from "@angular/common";
|
|
119
|
+
import * as i118 from "@angular/forms";
|
|
119
120
|
export declare class SurveyModule {
|
|
120
121
|
static ɵfac: i0.ɵɵFactoryDeclaration<SurveyModule, never>;
|
|
121
|
-
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.QuestionSkeletonComponent, typeof i19.TextQuestionComponent, typeof i20.RadiogroupComponent, typeof i21.RadiogroupItemComponent, typeof i22.CheckboxComponent, typeof i23.CheckboxItemComponent, typeof i24.DropdownComponent, typeof i25.DropdownQuestionComponent, typeof i26.DropdownSelectComponent, typeof i27.DropdownOptionItemComponent, typeof i28.PopupComponent, typeof i29.PopupBaseContainerComponent, typeof i30.PopupPointerComponent, typeof i31.CharacterCounterComponent, typeof i32.ListComponent, typeof i33.ListItemComponent, typeof i34.RatingItemComponent, typeof i35.RatingItemStarComponent, typeof i36.RatingItemSmileyComponent, typeof i37.TagboxFilterComponent, typeof i38.TagboxComponent, typeof i39.TagboxQuestionComponent, typeof i40.TagboxItemComponent, typeof i41.ActionBarComponent, typeof i42.ActionComponent, typeof i43.ActionBarItemComponent, typeof i44.ActionBarItemDropdownComponent, typeof i45.HtmlQuestionComponent, typeof i46.SelectBaseItemComponent, typeof i47.SelectBaseComponent, typeof i48.SurveyCommentComponent, typeof i49.SurveyCommentOtherComponent, typeof i50.ElementHeaderComponent, typeof i51.ElementTitleActionsComponent, typeof i52.ElementTitleComponent, typeof i53.DynamicHeadComponent, typeof i54.RowComponent, typeof i55.RatingQuestionComponent, typeof i56.RatingDropdownItemComponent, typeof i57.RatingDropdownComponent, typeof i58.BooleanQuestionComponent, typeof i59.BooleanCheckboxComponent, typeof i60.BooleanRadioComponent, typeof i61.BooleanRadioItemComponent, typeof i62.ImagePickerItemComponent, typeof i63.ImagePickerQuestionComponent, typeof i64.ImageQuestionComponent, typeof i65.SurveyHeaderComponent, typeof i66.ProgressDefaultComponent, typeof i67.ProgressButtonsComponent, typeof i68.ProgressTocComponent, typeof i69.SurveyNavigationButton, typeof i70.MatrixQuestionComponent, typeof i71.SvgIconComponent, typeof i72.FileQuestionComponent, typeof i73.SafeUrlPipe, typeof i74.SafeHtmlPipe, typeof i75.CommentQuestionComponent, typeof i76.SignaturePadQuestionComponent, typeof i77.ErrorsComponent, typeof i78.MultipleTextComponent, typeof i79.MultipleTextItemComponent, typeof i80.DynamicComponentDirective, typeof i81.RankingQuestionComponent, typeof i82.RankingItemComponent, typeof i83.PanelDynamicQuestionComponent, typeof i84.EmbeddedViewContentComponent, typeof i85.CustomWidgetComponent, typeof i86.MatrixCellComponent, typeof i87.
|
|
122
|
+
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.QuestionSkeletonComponent, typeof i19.TextQuestionComponent, typeof i20.RadiogroupComponent, typeof i21.RadiogroupItemComponent, typeof i22.CheckboxComponent, typeof i23.CheckboxItemComponent, typeof i24.DropdownComponent, typeof i25.DropdownQuestionComponent, typeof i26.DropdownSelectComponent, typeof i27.DropdownOptionItemComponent, typeof i28.PopupComponent, typeof i29.PopupBaseContainerComponent, typeof i30.PopupPointerComponent, typeof i31.CharacterCounterComponent, typeof i32.ListComponent, typeof i33.ListItemComponent, typeof i34.RatingItemComponent, typeof i35.RatingItemStarComponent, typeof i36.RatingItemSmileyComponent, typeof i37.TagboxFilterComponent, typeof i38.TagboxComponent, typeof i39.TagboxQuestionComponent, typeof i40.TagboxItemComponent, typeof i41.ActionBarComponent, typeof i42.ActionComponent, typeof i43.ActionBarItemComponent, typeof i44.ActionBarItemDropdownComponent, typeof i45.HtmlQuestionComponent, typeof i46.SelectBaseItemComponent, typeof i47.SelectBaseComponent, typeof i48.SurveyCommentComponent, typeof i49.SurveyCommentOtherComponent, typeof i50.ElementHeaderComponent, typeof i51.ElementTitleActionsComponent, typeof i52.ElementTitleComponent, typeof i53.DynamicHeadComponent, typeof i54.RowComponent, typeof i55.RatingQuestionComponent, typeof i56.RatingDropdownItemComponent, typeof i57.RatingDropdownComponent, typeof i58.BooleanQuestionComponent, typeof i59.BooleanCheckboxComponent, typeof i60.BooleanRadioComponent, typeof i61.BooleanRadioItemComponent, typeof i62.ImagePickerItemComponent, typeof i63.ImagePickerQuestionComponent, typeof i64.ImageQuestionComponent, typeof i65.SurveyHeaderComponent, typeof i66.ProgressDefaultComponent, typeof i67.ProgressButtonsComponent, typeof i68.ProgressTocComponent, typeof i69.SurveyNavigationButton, typeof i70.MatrixQuestionComponent, typeof i71.SvgIconComponent, typeof i72.FileQuestionComponent, typeof i73.SafeUrlPipe, typeof i74.SafeHtmlPipe, typeof i75.CommentQuestionComponent, typeof i76.SignaturePadQuestionComponent, typeof i77.ErrorsComponent, typeof i78.MultipleTextComponent, typeof i79.MultipleTextItemComponent, typeof i80.DynamicComponentDirective, typeof i81.RankingQuestionComponent, typeof i82.RankingItemComponent, typeof i83.PanelDynamicQuestionComponent, typeof i84.EmbeddedViewContentComponent, typeof i85.CustomWidgetComponent, typeof i86.MatrixCellComponent, typeof i87.MatrixDropdownCellComponent, typeof i88.MatrixTableComponent, typeof i89.MatrixDropdownComponent, typeof i90.MatrixDynamicComponent, typeof i91.MatrixDetailButtonComponent, typeof i92.MatrixDynamicRemoveButtonComponent, typeof i93.MatrixDynamicDragDropIconComponent, typeof i94.MatrixRequiredHeader, typeof i95.ExpressionComponent, typeof i73.SafeResourceUrlPipe, typeof i96.BrandInfoComponent, typeof i97.CustomQuestionComponent, typeof i98.CompositeQuestionComponent, typeof i99.ButtonGroupItemComponent, typeof i100.ButtonGroupQuestionComponent, typeof i101.MatrixRowComponent, typeof i102.ModalComponent, typeof i103.LogoImageComponent, typeof i104.SkeletonComponent, typeof i105.TimerPanelComponent, typeof i106.PaneldynamicRemoveButtonComponent, typeof i107.NotifierComponent, typeof i108.ComponentsContainerComponent, typeof i109.MultipleTextRowComponent, typeof i110.LoadingIndicatorComponent, typeof i111.HeaderComponent, typeof i112.HeaderCellComponent, typeof i113.HeaderMobileComponent, typeof i114.ChooseFileBtn, typeof i115.FilePreviewComponent, typeof i116.SvgBundleComponent], [typeof i117.CommonModule, typeof i118.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.QuestionSkeletonComponent, typeof i19.TextQuestionComponent, typeof i20.RadiogroupComponent, typeof i21.RadiogroupItemComponent, typeof i22.CheckboxComponent, typeof i23.CheckboxItemComponent, typeof i31.CharacterCounterComponent, typeof i24.DropdownComponent, typeof i25.DropdownQuestionComponent, typeof i26.DropdownSelectComponent, typeof i27.DropdownOptionItemComponent, typeof i28.PopupComponent, typeof i29.PopupBaseContainerComponent, typeof i30.PopupPointerComponent, typeof i31.CharacterCounterComponent, typeof i32.ListComponent, typeof i33.ListItemComponent, typeof i34.RatingItemComponent, typeof i35.RatingItemStarComponent, typeof i36.RatingItemSmileyComponent, typeof i37.TagboxFilterComponent, typeof i38.TagboxComponent, typeof i39.TagboxQuestionComponent, typeof i40.TagboxItemComponent, typeof i41.ActionBarComponent, typeof i42.ActionComponent, typeof i43.ActionBarItemComponent, typeof i44.ActionBarItemDropdownComponent, typeof i45.HtmlQuestionComponent, typeof i46.SelectBaseItemComponent, typeof i47.SelectBaseComponent, typeof i48.SurveyCommentComponent, typeof i49.SurveyCommentOtherComponent, typeof i50.ElementHeaderComponent, typeof i52.ElementTitleComponent, typeof i53.DynamicHeadComponent, typeof i54.RowComponent, typeof i55.RatingQuestionComponent, typeof i56.RatingDropdownItemComponent, typeof i57.RatingDropdownComponent, typeof i58.BooleanQuestionComponent, typeof i59.BooleanCheckboxComponent, typeof i60.BooleanRadioComponent, typeof i61.BooleanRadioItemComponent, typeof i62.ImagePickerItemComponent, typeof i63.ImagePickerQuestionComponent, typeof i64.ImageQuestionComponent, typeof i65.SurveyHeaderComponent, typeof i66.ProgressDefaultComponent, typeof i67.ProgressButtonsComponent, typeof i69.SurveyNavigationButton, typeof i70.MatrixQuestionComponent, typeof i71.SvgIconComponent, typeof i72.FileQuestionComponent, typeof i73.SafeUrlPipe, typeof i74.SafeHtmlPipe, typeof i75.CommentQuestionComponent, typeof i76.SignaturePadQuestionComponent, typeof i77.ErrorsComponent, typeof i78.MultipleTextComponent, typeof i79.MultipleTextItemComponent, typeof i80.DynamicComponentDirective, typeof i81.RankingQuestionComponent, typeof i82.RankingItemComponent, typeof i83.PanelDynamicQuestionComponent, typeof i84.EmbeddedViewContentComponent, typeof i85.CustomWidgetComponent, typeof i86.MatrixCellComponent, typeof i87.MatrixDropdownCellComponent, typeof i88.MatrixTableComponent, typeof i89.MatrixDropdownComponent, typeof i90.MatrixDynamicComponent, typeof i91.MatrixDetailButtonComponent, typeof i92.MatrixDynamicRemoveButtonComponent, typeof i93.MatrixDynamicDragDropIconComponent, typeof i94.MatrixRequiredHeader, typeof i95.ExpressionComponent, typeof i73.SafeResourceUrlPipe, typeof i97.CustomQuestionComponent, typeof i98.CompositeQuestionComponent, typeof i100.ButtonGroupQuestionComponent, typeof i102.ModalComponent, typeof i103.LogoImageComponent, typeof i104.SkeletonComponent, typeof i105.TimerPanelComponent, typeof i106.PaneldynamicRemoveButtonComponent, typeof i107.NotifierComponent, typeof i108.ComponentsContainerComponent, typeof i109.MultipleTextRowComponent, typeof i110.LoadingIndicatorComponent, typeof i111.HeaderComponent, typeof i112.HeaderCellComponent, typeof i113.HeaderMobileComponent, typeof i115.FilePreviewComponent, typeof i116.SvgBundleComponent]>;
|
|
122
123
|
static ɵinj: i0.ɵɵInjectorDeclaration<SurveyModule>;
|
|
123
124
|
}
|
|
@@ -1750,11 +1750,10 @@
|
|
|
1750
1750
|
};
|
|
1751
1751
|
QuestionComponent.prototype.getComponentName = function () { return getComponentName(this.model); };
|
|
1752
1752
|
QuestionComponent.prototype.getQuestionContentWrapperComponentName = function () {
|
|
1753
|
-
return this.model.survey.getQuestionContentWrapperComponentName(this.model)
|
|
1753
|
+
return this.model.survey.getQuestionContentWrapperComponentName(this.model);
|
|
1754
1754
|
};
|
|
1755
1755
|
QuestionComponent.prototype.getQuestionContentWrapperComponentData = function () {
|
|
1756
1756
|
return {
|
|
1757
|
-
componentName: this.getComponentName(),
|
|
1758
1757
|
componentData: {
|
|
1759
1758
|
model: this.model,
|
|
1760
1759
|
data: this.model.survey.getElementWrapperComponentData(this.model)
|
|
@@ -1764,7 +1763,7 @@
|
|
|
1764
1763
|
return QuestionComponent;
|
|
1765
1764
|
}(EmbeddedViewContentComponent));
|
|
1766
1765
|
QuestionComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: QuestionComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1767
|
-
QuestionComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: QuestionComponent, selector: "sv-ng-question", inputs: { model: "model" }, viewQueries: [{ propertyName: "rootEl", first: true, predicate: ["elementContainer"], descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #template>\n <div *ngIf=\"!!model\" #elementContainer [class]=\"model.getRootCss()\" [style]=\"model.getRootStyle()\" [id]=\"model.id\" [attr.data-name]=\"model.name\" [attr.role]=\"model.ariaRole\" [attr.aria-required]=\"model.ariaRequired\" [attr.aria-invalid]=\"model.ariaInvalid\" [attr.aria-labelledby]=\"model.ariaLabelledBy\" [attr.aria-expanded]=\"model.ariaExpanded\">\n <div *ngIf=\"model.showErrorsAboveQuestion && model.hasVisibleErrors\" [element]=\"model\" sv-ng-errors></div>\n <div [element]=\"model\" *ngIf=\"model.hasTitleOnLeftTop\" sv-ng-element-header></div>\n <div [class]=\"model.cssContent\" role=\"presentation\" [visible]=\"!model.isCollapsed\">\n
|
|
1766
|
+
QuestionComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: QuestionComponent, selector: "sv-ng-question", inputs: { model: "model" }, viewQueries: [{ propertyName: "rootEl", first: true, predicate: ["elementContainer"], descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #template>\n <div *ngIf=\"!!model\" #elementContainer [class]=\"model.getRootCss()\" [style]=\"model.getRootStyle()\" [id]=\"model.id\" [attr.data-name]=\"model.name\" [attr.role]=\"model.ariaRole\" [attr.aria-required]=\"model.ariaRequired\" [attr.aria-invalid]=\"model.ariaInvalid\" [attr.aria-labelledby]=\"model.ariaLabelledBy\" [attr.aria-expanded]=\"model.ariaExpanded\">\n <div *ngIf=\"model.showErrorsAboveQuestion && model.hasVisibleErrors\" [element]=\"model\" sv-ng-errors></div>\n <div [element]=\"model\" *ngIf=\"model.hasTitleOnLeftTop\" sv-ng-element-header></div>\n <ng-template [component]=\"{ name: getQuestionContentWrapperComponentName(), data: getQuestionContentWrapperComponentData() }\">\n <div [class]=\"model.cssContent\" role=\"presentation\" [visible]=\"!model.isCollapsed\">\n <div *ngIf=\"model.showErrorOnTop && model.hasVisibleErrors\" [element]=\"model\" sv-ng-errors></div>\n <ng-template [component]=\"{ name: getComponentName(), data: { model: model }, default: 'skeleton-question' }\"></ng-template>\n <div *ngIf=\"model.hasComment\" [class]=\"model.getCommentAreaCss(false)\">\n <div [model]=\"model.locCommentText\" sv-ng-string></div>\n <sv-ng-comment [question]=\"model\"></sv-ng-comment>\n </div>\n <div *ngIf=\"model.showErrorOnBottom && model.hasVisibleErrors\" [element]=\"model\" sv-ng-errors></div>\n <div *ngIf=\"model.hasDescriptionUnderInput\" [class]=\"model.cssDescription\" [model]=\"model.locDescription\" sv-ng-string></div>\n </div>\n </ng-template>\n <div [element]=\"model\" *ngIf=\"model.hasTitleOnBottom\" sv-ng-element-header></div>\n <div *ngIf=\"model.showErrorsBelowQuestion && model.hasVisibleErrors\" [element]=\"model\" sv-ng-errors></div>\n </div>\n</ng-template>", components: [{ type: ErrorsComponent, selector: "'[sv-ng-errors]'", inputs: ["element", "location"] }, { type: ElementHeaderComponent, selector: "'[sv-ng-element-header]'", inputs: ["element"] }, { type: SurveyStringComponent, selector: "sv-ng-string, '[sv-ng-string]'", inputs: ["model"] }, { type: SurveyCommentComponent, selector: "sv-ng-comment, '[sv-ng-comment]'", inputs: ["question"] }], directives: [{ type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: DynamicComponentDirective, selector: "[component]", inputs: ["component"] }, { type: VisibleDirective, selector: "[visible]", inputs: ["visible"] }] });
|
|
1768
1767
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: QuestionComponent, decorators: [{
|
|
1769
1768
|
type: i0.Component,
|
|
1770
1769
|
args: [{
|
|
@@ -3528,7 +3527,7 @@
|
|
|
3528
3527
|
};
|
|
3529
3528
|
_super.prototype.ngOnInit.call(this);
|
|
3530
3529
|
};
|
|
3531
|
-
MatrixQuestionComponent.prototype.
|
|
3530
|
+
MatrixQuestionComponent.prototype.onCellChanged = function (row, column) {
|
|
3532
3531
|
if (this.model.isInputReadOnly)
|
|
3533
3532
|
return;
|
|
3534
3533
|
row.value = column.value;
|
|
@@ -3543,7 +3542,7 @@
|
|
|
3543
3542
|
return MatrixQuestionComponent;
|
|
3544
3543
|
}(QuestionAngular));
|
|
3545
3544
|
MatrixQuestionComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MatrixQuestionComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
3546
|
-
MatrixQuestionComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MatrixQuestionComponent, selector: "sv-ng-matrix-question", usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #template>\n <div [class]=\"model.cssClasses.tableWrapper\" #contentElement>\n <fieldset>\n <legend class=\"sv-hidden\">{{model.locTitle.renderedHtml}}</legend>\n <table [class]=\"model.getTableCss()\">\n <thead *ngIf=\"model.showHeader\">\n <tr>\n <td *ngIf=\"model.hasRows\"></td>\n <th\n *ngFor=\"let column of model.visibleColumns\" [style]=\"{ minWidth: model.columnMinWidth, width: model.columnMinWidth }\" [class]=\"model.cssClasses.headerCell\">\n <ng-template [component]=\"{ name: model.getColumnHeaderWrapperComponentName(column), data: { componentData: model.getColumnHeaderWrapperComponentData(column) } }\">\n <sv-ng-string [model]=\"column.locText\"></sv-ng-string>\n </ng-template>\n </th>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let row of model.visibleRows; trackBy: trackRowByFn \" [class]=\"row.rowClasses || undefined\">\n <td [class]=\"model.cssClasses.rowTextCell\" [style]=\"{ minWidth: model.rowTitleWidth, width: model.rowTitleWidth }\" *ngIf=\"model.hasRows\">\n <ng-template [component]=\"{ name: model.getRowHeaderWrapperComponentName($any(row)), data: { componentData: model.getRowHeaderWrapperComponentData($any(row)) } }\">\n <sv-ng-string [model]=\"row.locText\"></sv-ng-string>\n </ng-template>\n </td>\n <ng-container *ngIf=\"model.hasCellText\">\n <td *ngFor=\"let column of model.visibleColumns\"\n [class]=\"model.getItemClass(row, column)\"\n (click)=\"
|
|
3545
|
+
MatrixQuestionComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MatrixQuestionComponent, selector: "sv-ng-matrix-question", usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #template>\n <div [class]=\"model.cssClasses.tableWrapper\" #contentElement>\n <fieldset>\n <legend class=\"sv-hidden\">{{model.locTitle.renderedHtml}}</legend>\n <table [class]=\"model.getTableCss()\">\n <thead *ngIf=\"model.showHeader\">\n <tr>\n <td *ngIf=\"model.hasRows\"></td>\n <th\n *ngFor=\"let column of model.visibleColumns\" [style]=\"{ minWidth: model.columnMinWidth, width: model.columnMinWidth }\" [class]=\"model.cssClasses.headerCell\">\n <ng-template [component]=\"{ name: model.getColumnHeaderWrapperComponentName(column), data: { componentData: model.getColumnHeaderWrapperComponentData(column) } }\">\n <sv-ng-string [model]=\"column.locText\"></sv-ng-string>\n </ng-template>\n </th>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let row of model.visibleRows; trackBy: trackRowByFn \" [class]=\"row.rowClasses || undefined\">\n <td [class]=\"model.cssClasses.rowTextCell\" [style]=\"{ minWidth: model.rowTitleWidth, width: model.rowTitleWidth }\" *ngIf=\"model.hasRows\">\n <ng-template [component]=\"{ name: model.getRowHeaderWrapperComponentName($any(row)), data: { componentData: model.getRowHeaderWrapperComponentData($any(row)) } }\">\n <sv-ng-string [model]=\"row.locText\"></sv-ng-string>\n </ng-template>\n </td>\n <ng-container *ngIf=\"model.hasCellText\">\n <td *ngFor=\"let column of model.visibleColumns\"\n [class]=\"model.getItemClass(row, column)\"\n (click)=\"onCellChanged(row, column)\" [model]=\"model.getCellDisplayLocText(row.name, column)\" sv-ng-string>\n </td>\n </ng-container>\n <ng-container *ngIf=\"!model.hasCellText\">\n <td\n *ngFor=\"let column of model.visibleColumns; index as columnIndex; trackBy: trackColumnByFn\"\n [attr.data-responsive-title]=\"column.locText.renderedHtml\"\n [class]=\"model.cssClasses.cell\">\n <ng-template [component]=\"{ name: model.cellComponent, data: { cellChangedOwner: this, question: model, row: row, column: column, columnIndex: columnIndex } }\"></ng-template>\n </td>\n </ng-container>\n </tr>\n </tbody>\n </table>\n </fieldset>\n </div>\n</ng-template>", styles: [":host{display:none}\n"], components: [{ type: SurveyStringComponent, selector: "sv-ng-string, '[sv-ng-string]'", inputs: ["model"] }], directives: [{ type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: DynamicComponentDirective, selector: "[component]", inputs: ["component"] }] });
|
|
3547
3546
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MatrixQuestionComponent, decorators: [{
|
|
3548
3547
|
type: i0.Component,
|
|
3549
3548
|
args: [{
|
|
@@ -4162,6 +4161,35 @@
|
|
|
4162
4161
|
}] } });
|
|
4163
4162
|
AngularComponentFactory.Instance.registerComponent("survey-customwidget", CustomWidgetComponent);
|
|
4164
4163
|
|
|
4164
|
+
var MatrixCellComponent = /** @class */ (function () {
|
|
4165
|
+
function MatrixCellComponent() {
|
|
4166
|
+
}
|
|
4167
|
+
MatrixCellComponent.prototype.onChange = function () {
|
|
4168
|
+
this.cellChangedOwner.onCellChanged(this.row, this.column);
|
|
4169
|
+
};
|
|
4170
|
+
return MatrixCellComponent;
|
|
4171
|
+
}());
|
|
4172
|
+
MatrixCellComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MatrixCellComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
4173
|
+
MatrixCellComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MatrixCellComponent, selector: "sv-ng-matrix-cell, '[sv-ng-matrix-cell]'", inputs: { question: "question", column: "column", row: "row", columnIndex: "columnIndex", cellChangedOwner: "cellChangedOwner" }, ngImport: i0__namespace, template: "<label (mousedown)=\"question.onMouseDown()\" [class]=\"question.getItemClass(row, column)\">\n <input\n type=\"radio\"\n [class]=\"question.cssClasses.itemValue\"\n [name]=\"row.fullName\"\n [value]=\"column.value\"\n [checked]=\"row.value === column.value\"\n [disabled]=\"question.isInputReadOnly\"\n [attr.id]=\"question.inputId + '_' + row.name + '_' + columnIndex\"\n (change)=\"onChange()\"\n [attr.aria-required]=\"question.a11y_input_ariaRequired\"\n [attr.aria-label]=\"question.getCellAriaLabel(row.locText.renderedHtml, column.locText.renderedHtml)\"\n [attr.aria-invalid]=\"question.a11y_input_ariaInvalid\"\n [attr.aria-describedby]=\"question.a11y_input_ariaDescribedBy\"\n />\n <span [class]=\"question.cssClasses.materialDecorator\">\n <svg *ngIf=\"question.itemSvgIcon\" [class]=\"question.cssClasses.itemDecorator\">\n <use [attr.xlink:href]=\"question.itemSvgIcon\"></use>\n </svg> \n </span>\n <span *ngIf=\"question.isMobile\" [class]=\"question.cssClasses.cellResponsiveTitle\" [model]=\"column.locText\" sv-ng-string></span>\n</label>\n<ng-content></ng-content>", components: [{ type: SurveyStringComponent, selector: "sv-ng-string, '[sv-ng-string]'", inputs: ["model"] }], directives: [{ type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
4174
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MatrixCellComponent, decorators: [{
|
|
4175
|
+
type: i0.Component,
|
|
4176
|
+
args: [{
|
|
4177
|
+
selector: "sv-ng-matrix-cell, '[sv-ng-matrix-cell]'",
|
|
4178
|
+
templateUrl: "./matrixcell.component.html"
|
|
4179
|
+
}]
|
|
4180
|
+
}], ctorParameters: function () { return []; }, propDecorators: { question: [{
|
|
4181
|
+
type: i0.Input
|
|
4182
|
+
}], column: [{
|
|
4183
|
+
type: i0.Input
|
|
4184
|
+
}], row: [{
|
|
4185
|
+
type: i0.Input
|
|
4186
|
+
}], columnIndex: [{
|
|
4187
|
+
type: i0.Input
|
|
4188
|
+
}], cellChangedOwner: [{
|
|
4189
|
+
type: i0.Input
|
|
4190
|
+
}] } });
|
|
4191
|
+
AngularComponentFactory.Instance.registerComponent("survey-matrix-cell", MatrixCellComponent);
|
|
4192
|
+
|
|
4165
4193
|
var MatrixDynamicDragDropIconComponent = /** @class */ (function (_super) {
|
|
4166
4194
|
__extends(MatrixDynamicDragDropIconComponent, _super);
|
|
4167
4195
|
function MatrixDynamicDragDropIconComponent() {
|
|
@@ -4190,25 +4218,28 @@
|
|
|
4190
4218
|
}] } });
|
|
4191
4219
|
AngularComponentFactory.Instance.registerComponent("sv-matrix-drag-drop-icon", MatrixDynamicDragDropIconComponent);
|
|
4192
4220
|
|
|
4193
|
-
var
|
|
4194
|
-
__extends(
|
|
4195
|
-
function
|
|
4221
|
+
var MatrixDropdownCellComponent = /** @class */ (function (_super) {
|
|
4222
|
+
__extends(MatrixDropdownCellComponent, _super);
|
|
4223
|
+
function MatrixDropdownCellComponent() {
|
|
4196
4224
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
4197
4225
|
}
|
|
4198
|
-
|
|
4226
|
+
MatrixDropdownCellComponent.prototype.getModel = function () {
|
|
4199
4227
|
if (this.cell.hasQuestion) {
|
|
4200
4228
|
return this.cell.question;
|
|
4201
4229
|
}
|
|
4230
|
+
if (!!this.cell.column) {
|
|
4231
|
+
return this.cell.column;
|
|
4232
|
+
}
|
|
4202
4233
|
return null;
|
|
4203
4234
|
};
|
|
4204
|
-
Object.defineProperty(
|
|
4235
|
+
Object.defineProperty(MatrixDropdownCellComponent.prototype, "row", {
|
|
4205
4236
|
get: function () {
|
|
4206
4237
|
return this.cell.row;
|
|
4207
4238
|
},
|
|
4208
4239
|
enumerable: false,
|
|
4209
4240
|
configurable: true
|
|
4210
4241
|
});
|
|
4211
|
-
|
|
4242
|
+
MatrixDropdownCellComponent.prototype.ngDoCheck = function () {
|
|
4212
4243
|
var _this = this;
|
|
4213
4244
|
var _a;
|
|
4214
4245
|
_super.prototype.ngDoCheck.call(this);
|
|
@@ -4218,7 +4249,7 @@
|
|
|
4218
4249
|
}, "__ngSubscription");
|
|
4219
4250
|
}
|
|
4220
4251
|
};
|
|
4221
|
-
Object.defineProperty(
|
|
4252
|
+
Object.defineProperty(MatrixDropdownCellComponent.prototype, "panelComponentName", {
|
|
4222
4253
|
get: function () {
|
|
4223
4254
|
var panel = this.cell.panel;
|
|
4224
4255
|
var survey = panel.survey;
|
|
@@ -4233,7 +4264,7 @@
|
|
|
4233
4264
|
enumerable: false,
|
|
4234
4265
|
configurable: true
|
|
4235
4266
|
});
|
|
4236
|
-
Object.defineProperty(
|
|
4267
|
+
Object.defineProperty(MatrixDropdownCellComponent.prototype, "panelComponentData", {
|
|
4237
4268
|
get: function () {
|
|
4238
4269
|
var panel = this.cell.panel;
|
|
4239
4270
|
var survey = panel.survey;
|
|
@@ -4252,16 +4283,23 @@
|
|
|
4252
4283
|
enumerable: false,
|
|
4253
4284
|
configurable: true
|
|
4254
4285
|
});
|
|
4255
|
-
|
|
4256
|
-
|
|
4286
|
+
MatrixDropdownCellComponent.prototype.getComponentName = function (element) { return getComponentName(element); };
|
|
4287
|
+
MatrixDropdownCellComponent.prototype.getHeaders = function () {
|
|
4257
4288
|
return this.cell.headers;
|
|
4258
4289
|
};
|
|
4259
|
-
|
|
4290
|
+
MatrixDropdownCellComponent.prototype.getCellStyle = function () {
|
|
4260
4291
|
if (!!this.cell.width || !!this.cell.minWidth)
|
|
4261
4292
|
return { width: this.cell.width, minWidth: this.cell.minWidth };
|
|
4262
4293
|
return null;
|
|
4263
4294
|
};
|
|
4264
|
-
|
|
4295
|
+
Object.defineProperty(MatrixDropdownCellComponent.prototype, "isRequiredCell", {
|
|
4296
|
+
get: function () {
|
|
4297
|
+
return !!this.cell.column && this.cell.column.isRenderedRequired;
|
|
4298
|
+
},
|
|
4299
|
+
enumerable: false,
|
|
4300
|
+
configurable: true
|
|
4301
|
+
});
|
|
4302
|
+
MatrixDropdownCellComponent.prototype.ngAfterViewInit = function () {
|
|
4265
4303
|
if (!this.cell.hasQuestion || !this.question || !this.question.survey)
|
|
4266
4304
|
return;
|
|
4267
4305
|
var el = this.cellContainer.nativeElement;
|
|
@@ -4276,22 +4314,22 @@
|
|
|
4276
4314
|
this.question.survey.matrixAfterCellRender(this.question, options);
|
|
4277
4315
|
cellQ.afterRenderCore(el);
|
|
4278
4316
|
};
|
|
4279
|
-
|
|
4317
|
+
MatrixDropdownCellComponent.prototype.ngOnDestroy = function () {
|
|
4280
4318
|
var _a;
|
|
4281
4319
|
_super.prototype.ngOnDestroy.call(this);
|
|
4282
4320
|
if (this.cell.isErrorsCell && ((_a = this.cell) === null || _a === void 0 ? void 0 : _a.question)) {
|
|
4283
4321
|
this.cell.question.unRegisterFunctionOnPropertyValueChanged("errors", "__ngSubscription");
|
|
4284
4322
|
}
|
|
4285
4323
|
};
|
|
4286
|
-
return
|
|
4324
|
+
return MatrixDropdownCellComponent;
|
|
4287
4325
|
}(BaseAngular));
|
|
4288
|
-
|
|
4289
|
-
|
|
4290
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type:
|
|
4326
|
+
MatrixDropdownCellComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MatrixDropdownCellComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
4327
|
+
MatrixDropdownCellComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MatrixDropdownCellComponent, selector: "sv-ng-matrixdropdown-cell", inputs: { question: "question", cell: "cell" }, viewQueries: [{ propertyName: "cellContainer", first: true, predicate: ["cellContainer"], descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #template>\n <td [class]=\"cell.className\" [attr.data-responsive-title]=\"getHeaders()\" [title]=\"cell.getTitle()\"\n [style]=\"getCellStyle()\" [attr.colspan]=\"cell.colSpans\" (focusin)=\"cell.focusIn()\" #cellContainer>\n <sv-ng-matrix-drag-drop-icon *ngIf=\"cell.isDragHandlerCell\"\n [model]=\"$any({ data: { row: row, question: question } })\"></sv-ng-matrix-drag-drop-icon>\n <sv-action-bar *ngIf=\"cell.isActionsCell\" [model]=\"cell.item.getData()\" [handleClick]=\"false\"></sv-action-bar>\n <ng-container *ngIf=\"cell.hasPanel\">\n <ng-template [component]=\"{ name: panelComponentName, data: panelComponentData }\"></ng-template>\n </ng-container>\n <div *ngIf=\"cell.isErrorsCell && cell.question?.hasVisibleErrors\" [element]=\"cell.question\" sv-ng-errors></div>\n <div *ngIf=\"cell.hasQuestion\" [class]=\"question.cssClasses.cellQuestionWrapper\"\n [visible]=\"cell.question.isVisible\">\n <ng-container *ngIf=\"!cell.isChoice && cell.question.isDefaultRendering()\">\n <ng-template\n [component]=\"{ name: question.getCellWrapperComponentName(cell.cell), data: { componentData: question.getCellWrapperComponentData(cell.cell)} }\">\n <ng-template\n [component]=\"{ name: getComponentName(cell.question), data: { model: cell.question } }\"></ng-template>\n </ng-template>\n </ng-container>\n <ng-template *ngIf=\"!cell.isChoice && !cell.question.isDefaultRendering()\"\n [component]=\"{ name: cell.question.getComponentName(), data: { model: cell.question } }\">\n </ng-template>\n <ng-container *ngIf=\"cell.isItemChoice\">\n <ng-template\n [component]=\"{ name: question.getCellWrapperComponentName(cell.cell), data: { componentData: question.getCellWrapperComponentData(cell.cell)} }\">\n <sv-ng-selebase-item [showLabel]=\"false\" [inputType]=\"cell.isCheckbox ? 'checkbox': 'radio'\"\n [question]=\"cell.question\" [model]=\"cell.item\"></sv-ng-selebase-item>\n </ng-template>\n </ng-container>\n <div *ngIf=\"cell.isOtherChoice\" [class]=\"cell.question.getCommentAreaCss(true)\" [question]=\"cell.question\"\n sv-ng-comment-other></div>\n </div>\n <ng-container *ngIf=\"cell.hasTitle\">\n <ng-template\n [component]=\"{ name: question.getCellWrapperComponentName($any(cell)), data: { componentData: question.getCellWrapperComponentData($any(cell))} }\">\n <sv-ng-string [model]=\"cell.locTitle\"></sv-ng-string>\n <span *ngIf=\"isRequiredCell\" [class]=\"question.cssClasses.cellRequiredText\">{{ cell.requiredText }}</span>\n </ng-template>\n </ng-container>\n </td>\n</ng-template>", styles: [":host { display: none; }"], components: [{ type: MatrixDynamicDragDropIconComponent, selector: "sv-ng-matrix-drag-drop-icon", inputs: ["model"] }, { type: ActionBarComponent, selector: "sv-action-bar, sv-ng-action-bar", inputs: ["model", "handleClick"] }, { type: ErrorsComponent, selector: "'[sv-ng-errors]'", inputs: ["element", "location"] }, { type: SelectBaseItemComponent, selector: "['sv-ng-selectbase-item'], sv-ng-selebase-item", inputs: ["question", "model", "inputType", "showLabel"] }, { type: SurveyCommentOtherComponent, selector: "sv-ng-comment-other, '[sv-ng-comment-other]'", inputs: ["question"] }, { type: SurveyStringComponent, selector: "sv-ng-string, '[sv-ng-string]'", inputs: ["model"] }], directives: [{ type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: DynamicComponentDirective, selector: "[component]", inputs: ["component"] }, { type: VisibleDirective, selector: "[visible]", inputs: ["visible"] }] });
|
|
4328
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MatrixDropdownCellComponent, decorators: [{
|
|
4291
4329
|
type: i0.Component,
|
|
4292
4330
|
args: [{
|
|
4293
|
-
selector: "sv-ng-
|
|
4294
|
-
templateUrl: "./
|
|
4331
|
+
selector: "sv-ng-matrixdropdown-cell",
|
|
4332
|
+
templateUrl: "./matrixdropdowncell.component.html",
|
|
4295
4333
|
styles: [":host { display: none; }"]
|
|
4296
4334
|
}]
|
|
4297
4335
|
}], propDecorators: { question: [{
|
|
@@ -4349,7 +4387,7 @@
|
|
|
4349
4387
|
return MatrixRowComponent;
|
|
4350
4388
|
}(BaseAngular));
|
|
4351
4389
|
MatrixRowComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MatrixRowComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
4352
|
-
MatrixRowComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MatrixRowComponent, selector: "sv-ng-matrix-row", inputs: { model: "model", question: "question" }, usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #template>\n <tr *ngIf=\"model.visible\" [class]=\"model.className\" (pointerdown)=\"question.onPointerDown($event, row)\"\n [attr.data-sv-drop-target-matrix-row]=\"row && row.id\">\n <sv-ng-
|
|
4390
|
+
MatrixRowComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MatrixRowComponent, selector: "sv-ng-matrix-row", inputs: { model: "model", question: "question" }, usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #template>\n <tr *ngIf=\"model.visible\" [class]=\"model.className\" (pointerdown)=\"question.onPointerDown($event, row)\"\n [attr.data-sv-drop-target-matrix-row]=\"row && row.id\">\n <sv-ng-matrixdropdown-cell [cell]=\"cell\" [question]=\"question\"\n *ngFor=\"let cell of model.cells; trackBy: trackCellBy\"></sv-ng-matrixdropdown-cell>\n </tr>\n</ng-template>", styles: [":host { display: none; }"], components: [{ type: MatrixDropdownCellComponent, selector: "sv-ng-matrixdropdown-cell", inputs: ["question", "cell"] }], directives: [{ type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
4353
4391
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MatrixRowComponent, decorators: [{
|
|
4354
4392
|
type: i0.Component,
|
|
4355
4393
|
args: [{
|
|
@@ -4380,7 +4418,7 @@
|
|
|
4380
4418
|
return MatrixTableComponent;
|
|
4381
4419
|
}(BaseAngular));
|
|
4382
4420
|
MatrixTableComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MatrixTableComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
4383
|
-
MatrixTableComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MatrixTableComponent, selector: "sv-ng-matrix-table", inputs: { question: "question", table: "table" }, usesInheritance: true, ngImport: i0__namespace, template: "<div [style]=\"{ overflowX: question.showHorizontalScroll ? 'scroll' : '' }\" #contentElement [class]=\"question.cssClasses.tableWrapper\">\n <table [class]=\"question.getTableCss()\">\n <thead *ngIf=\"table.showHeader\">\n <tr>\n <ng-container\n *ngFor=\"let cell of table.headerRow.cells; trackBy: trackCellBy\"\n >\n <th *ngIf=\"cell.hasTitle\" [class]=\"cell.className\" [style]=\"{ minWidth: cell.minWidth, width: cell.width }\">\n <ng-template [component]=\"{ name: question.getColumnHeaderWrapperComponentName($any(cell)), data: { componentData: question.getColumnHeaderWrapperComponentData($any(cell)) } }\">\n <sv-ng-string [model]=\"cell.locTitle\"></sv-ng-string>\n <sv-ng-matrixheaderrequired *ngIf=\"!!cell.column\" [column]=\"cell.column\" [question]=\"question\">\n </sv-ng-matrixheaderrequired>\n </ng-template>\n </th>\n \n <td *ngIf=\"!cell.hasTitle\" [class]=\"cell.className\" [style]=\"{ minWidth: cell.minWidth, width: cell.width }\"></td>\n </ng-container>\n </tr>\n </thead>\n <tbody>\n <ng-container *ngFor=\"let row of table.rows; trackBy: trackRowBy\">\n <sv-ng-matrix-row [model]=\"row\" [question]=\"question\"></sv-ng-matrix-row>\n </ng-container>\n </tbody>\n <tfoot *ngIf=\"table.showFooter\">\n <tr>\n <sv-ng-
|
|
4421
|
+
MatrixTableComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MatrixTableComponent, selector: "sv-ng-matrix-table", inputs: { question: "question", table: "table" }, usesInheritance: true, ngImport: i0__namespace, template: "<div [style]=\"{ overflowX: question.showHorizontalScroll ? 'scroll' : '' }\" #contentElement [class]=\"question.cssClasses.tableWrapper\">\n <table [class]=\"question.getTableCss()\">\n <thead *ngIf=\"table.showHeader\">\n <tr>\n <ng-container\n *ngFor=\"let cell of table.headerRow.cells; trackBy: trackCellBy\"\n >\n <th *ngIf=\"cell.hasTitle\" [class]=\"cell.className\" [style]=\"{ minWidth: cell.minWidth, width: cell.width }\">\n <ng-template [component]=\"{ name: question.getColumnHeaderWrapperComponentName($any(cell)), data: { componentData: question.getColumnHeaderWrapperComponentData($any(cell)) } }\">\n <sv-ng-string [model]=\"cell.locTitle\"></sv-ng-string>\n <sv-ng-matrixheaderrequired *ngIf=\"!!cell.column\" [column]=\"cell.column\" [question]=\"question\">\n </sv-ng-matrixheaderrequired>\n </ng-template>\n </th>\n \n <td *ngIf=\"!cell.hasTitle\" [class]=\"cell.className\" [style]=\"{ minWidth: cell.minWidth, width: cell.width }\"></td>\n </ng-container>\n </tr>\n </thead>\n <tbody>\n <ng-container *ngFor=\"let row of table.rows; trackBy: trackRowBy\">\n <sv-ng-matrix-row [model]=\"row\" [question]=\"question\"></sv-ng-matrix-row>\n </ng-container>\n </tbody>\n <tfoot *ngIf=\"table.showFooter\">\n <tr>\n <sv-ng-matrixdropdown-cell [cell]=\"cell\" [question]=\"question\" *ngFor=\"let cell of table.footerRow.cells; trackBy: trackCellBy\">\n </sv-ng-matrixdropdown-cell>\n </tr>\n </tfoot>\n </table>\n</div>", components: [{ type: SurveyStringComponent, selector: "sv-ng-string, '[sv-ng-string]'", inputs: ["model"] }, { type: MatrixRequiredHeader, selector: "sv-ng-matrixheaderrequired", inputs: ["column", "question"] }, { type: MatrixRowComponent, selector: "sv-ng-matrix-row", inputs: ["model", "question"] }, { type: MatrixDropdownCellComponent, selector: "sv-ng-matrixdropdown-cell", inputs: ["question", "cell"] }], directives: [{ type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: DynamicComponentDirective, selector: "[component]", inputs: ["component"] }] });
|
|
4384
4422
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MatrixTableComponent, decorators: [{
|
|
4385
4423
|
type: i0.Component,
|
|
4386
4424
|
args: [{
|
|
@@ -4692,7 +4730,8 @@
|
|
|
4692
4730
|
SelectBaseItemComponent, SelectBaseComponent, SurveyCommentComponent, SurveyCommentOtherComponent, ElementHeaderComponent, ElementTitleActionsComponent, ElementTitleComponent, DynamicHeadComponent, RowComponent,
|
|
4693
4731
|
RatingQuestionComponent, RatingDropdownItemComponent, RatingDropdownComponent, BooleanQuestionComponent, BooleanCheckboxComponent, BooleanRadioComponent, BooleanRadioItemComponent, ImagePickerItemComponent, ImagePickerQuestionComponent, ImageQuestionComponent,
|
|
4694
4732
|
SurveyHeaderComponent, ProgressDefaultComponent, ProgressButtonsComponent, ProgressTocComponent, SurveyNavigationButton, MatrixQuestionComponent, SvgIconComponent, FileQuestionComponent, SafeUrlPipe, SafeHtmlPipe, CommentQuestionComponent, SignaturePadQuestionComponent, ErrorsComponent,
|
|
4695
|
-
MultipleTextComponent, MultipleTextItemComponent, DynamicComponentDirective, RankingQuestionComponent, RankingItemComponent, PanelDynamicQuestionComponent, EmbeddedViewContentComponent, CustomWidgetComponent,
|
|
4733
|
+
MultipleTextComponent, MultipleTextItemComponent, DynamicComponentDirective, RankingQuestionComponent, RankingItemComponent, PanelDynamicQuestionComponent, EmbeddedViewContentComponent, CustomWidgetComponent,
|
|
4734
|
+
MatrixCellComponent, MatrixDropdownCellComponent, MatrixTableComponent, MatrixDropdownComponent,
|
|
4696
4735
|
MatrixDynamicComponent, MatrixDetailButtonComponent, MatrixDynamicRemoveButtonComponent, MatrixDynamicDragDropIconComponent, MatrixRequiredHeader, ExpressionComponent, SafeResourceUrlPipe, BrandInfoComponent,
|
|
4697
4736
|
CustomQuestionComponent, CompositeQuestionComponent, ButtonGroupItemComponent, ButtonGroupQuestionComponent, MatrixRowComponent, ModalComponent, LogoImageComponent, SkeletonComponent, TimerPanelComponent, PaneldynamicRemoveButtonComponent,
|
|
4698
4737
|
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,
|
|
@@ -4707,7 +4746,8 @@
|
|
|
4707
4746
|
SelectBaseItemComponent, SelectBaseComponent, SurveyCommentComponent, SurveyCommentOtherComponent, ElementHeaderComponent, ElementTitleComponent, DynamicHeadComponent, RowComponent,
|
|
4708
4747
|
RatingQuestionComponent, RatingDropdownItemComponent, RatingDropdownComponent, BooleanQuestionComponent, BooleanCheckboxComponent, BooleanRadioComponent, BooleanRadioItemComponent, ImagePickerItemComponent, ImagePickerQuestionComponent, ImageQuestionComponent,
|
|
4709
4748
|
SurveyHeaderComponent, ProgressDefaultComponent, ProgressButtonsComponent, SurveyNavigationButton, MatrixQuestionComponent, SvgIconComponent, FileQuestionComponent, SafeUrlPipe, SafeHtmlPipe, CommentQuestionComponent, SignaturePadQuestionComponent, ErrorsComponent,
|
|
4710
|
-
MultipleTextComponent, MultipleTextItemComponent, DynamicComponentDirective, RankingQuestionComponent, RankingItemComponent, PanelDynamicQuestionComponent, EmbeddedViewContentComponent, CustomWidgetComponent,
|
|
4749
|
+
MultipleTextComponent, MultipleTextItemComponent, DynamicComponentDirective, RankingQuestionComponent, RankingItemComponent, PanelDynamicQuestionComponent, EmbeddedViewContentComponent, CustomWidgetComponent,
|
|
4750
|
+
MatrixCellComponent, MatrixDropdownCellComponent, MatrixTableComponent, MatrixDropdownComponent,
|
|
4711
4751
|
MatrixDynamicComponent, MatrixDetailButtonComponent, MatrixDynamicRemoveButtonComponent, MatrixDynamicDragDropIconComponent, MatrixRequiredHeader, ExpressionComponent, SafeResourceUrlPipe,
|
|
4712
4752
|
CustomQuestionComponent, CompositeQuestionComponent, ButtonGroupQuestionComponent, ModalComponent, LogoImageComponent, SkeletonComponent, TimerPanelComponent, PaneldynamicRemoveButtonComponent,
|
|
4713
4753
|
NotifierComponent, ComponentsContainerComponent, MultipleTextRowComponent, LoadingIndicatorComponent, HeaderComponent, HeaderCellComponent, HeaderMobileComponent, FilePreviewComponent, SvgBundleComponent] });
|
|
@@ -4729,7 +4769,8 @@
|
|
|
4729
4769
|
SelectBaseItemComponent, SelectBaseComponent, SurveyCommentComponent, SurveyCommentOtherComponent, ElementHeaderComponent, ElementTitleActionsComponent, ElementTitleComponent, DynamicHeadComponent, RowComponent,
|
|
4730
4770
|
RatingQuestionComponent, RatingDropdownItemComponent, RatingDropdownComponent, BooleanQuestionComponent, BooleanCheckboxComponent, BooleanRadioComponent, BooleanRadioItemComponent, ImagePickerItemComponent, ImagePickerQuestionComponent, ImageQuestionComponent,
|
|
4731
4771
|
SurveyHeaderComponent, ProgressDefaultComponent, ProgressButtonsComponent, ProgressTocComponent, SurveyNavigationButton, MatrixQuestionComponent, SvgIconComponent, FileQuestionComponent, SafeUrlPipe, SafeHtmlPipe, CommentQuestionComponent, SignaturePadQuestionComponent, ErrorsComponent,
|
|
4732
|
-
MultipleTextComponent, MultipleTextItemComponent, DynamicComponentDirective, RankingQuestionComponent, RankingItemComponent, PanelDynamicQuestionComponent, EmbeddedViewContentComponent, CustomWidgetComponent,
|
|
4772
|
+
MultipleTextComponent, MultipleTextItemComponent, DynamicComponentDirective, RankingQuestionComponent, RankingItemComponent, PanelDynamicQuestionComponent, EmbeddedViewContentComponent, CustomWidgetComponent,
|
|
4773
|
+
MatrixCellComponent, MatrixDropdownCellComponent, MatrixTableComponent, MatrixDropdownComponent,
|
|
4733
4774
|
MatrixDynamicComponent, MatrixDetailButtonComponent, MatrixDynamicRemoveButtonComponent, MatrixDynamicDragDropIconComponent, MatrixRequiredHeader, ExpressionComponent, SafeResourceUrlPipe, BrandInfoComponent,
|
|
4734
4775
|
CustomQuestionComponent, CompositeQuestionComponent, ButtonGroupItemComponent, ButtonGroupQuestionComponent, MatrixRowComponent, ModalComponent, LogoImageComponent, SkeletonComponent, TimerPanelComponent, PaneldynamicRemoveButtonComponent,
|
|
4735
4776
|
NotifierComponent, ComponentsContainerComponent, MultipleTextRowComponent, LoadingIndicatorComponent, HeaderComponent, HeaderCellComponent, HeaderMobileComponent, ChooseFileBtn, FilePreviewComponent, SvgBundleComponent
|
|
@@ -4750,7 +4791,8 @@
|
|
|
4750
4791
|
SelectBaseItemComponent, SelectBaseComponent, SurveyCommentComponent, SurveyCommentOtherComponent, ElementHeaderComponent, ElementTitleComponent, DynamicHeadComponent, RowComponent,
|
|
4751
4792
|
RatingQuestionComponent, RatingDropdownItemComponent, RatingDropdownComponent, BooleanQuestionComponent, BooleanCheckboxComponent, BooleanRadioComponent, BooleanRadioItemComponent, ImagePickerItemComponent, ImagePickerQuestionComponent, ImageQuestionComponent,
|
|
4752
4793
|
SurveyHeaderComponent, ProgressDefaultComponent, ProgressButtonsComponent, SurveyNavigationButton, MatrixQuestionComponent, SvgIconComponent, FileQuestionComponent, SafeUrlPipe, SafeHtmlPipe, CommentQuestionComponent, SignaturePadQuestionComponent, ErrorsComponent,
|
|
4753
|
-
MultipleTextComponent, MultipleTextItemComponent, DynamicComponentDirective, RankingQuestionComponent, RankingItemComponent, PanelDynamicQuestionComponent, EmbeddedViewContentComponent, CustomWidgetComponent,
|
|
4794
|
+
MultipleTextComponent, MultipleTextItemComponent, DynamicComponentDirective, RankingQuestionComponent, RankingItemComponent, PanelDynamicQuestionComponent, EmbeddedViewContentComponent, CustomWidgetComponent,
|
|
4795
|
+
MatrixCellComponent, MatrixDropdownCellComponent, MatrixTableComponent, MatrixDropdownComponent,
|
|
4754
4796
|
MatrixDynamicComponent, MatrixDetailButtonComponent, MatrixDynamicRemoveButtonComponent, MatrixDynamicDragDropIconComponent, MatrixRequiredHeader, ExpressionComponent, SafeResourceUrlPipe,
|
|
4755
4797
|
CustomQuestionComponent, CompositeQuestionComponent, ButtonGroupQuestionComponent, ModalComponent, LogoImageComponent, SkeletonComponent, TimerPanelComponent, PaneldynamicRemoveButtonComponent,
|
|
4756
4798
|
NotifierComponent, ComponentsContainerComponent, MultipleTextRowComponent, LoadingIndicatorComponent, HeaderComponent, HeaderCellComponent, HeaderMobileComponent, FilePreviewComponent, SvgBundleComponent
|
|
@@ -4811,6 +4853,7 @@
|
|
|
4811
4853
|
exports.LogoImageComponent = LogoImageComponent;
|
|
4812
4854
|
exports.MatrixCellComponent = MatrixCellComponent;
|
|
4813
4855
|
exports.MatrixDetailButtonComponent = MatrixDetailButtonComponent;
|
|
4856
|
+
exports.MatrixDropdownCellComponent = MatrixDropdownCellComponent;
|
|
4814
4857
|
exports.MatrixDropdownComponent = MatrixDropdownComponent;
|
|
4815
4858
|
exports.MatrixDynamicComponent = MatrixDynamicComponent;
|
|
4816
4859
|
exports.MatrixDynamicDragDropIconComponent = MatrixDynamicDragDropIconComponent;
|