survey-creator-angular 1.9.91 → 1.9.93
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/README.md +34 -0
- package/angular-ui.d.ts +1 -0
- package/angular-ui.module.d.ts +5 -4
- package/bundles/survey-creator-angular.umd.js +30 -8
- package/bundles/survey-creator-angular.umd.js.map +1 -1
- package/esm2015/adorners/question-dropdown.component.js +6 -5
- package/esm2015/adorners/question-image.component.js +5 -4
- package/esm2015/adorners/question-rating.component.js +5 -4
- package/esm2015/angular-ui.js +2 -1
- package/esm2015/angular-ui.module.js +6 -5
- package/esm2015/question-carryforward.component.js +20 -0
- package/esm2015/question.component.js +4 -3
- package/fesm2015/survey-creator-angular.js +25 -9
- package/fesm2015/survey-creator-angular.js.map +1 -1
- package/package.json +1 -1
- package/question-carryforward.component.d.ts +8 -0
package/README.md
CHANGED
|
@@ -18,6 +18,40 @@ To get started with Survey Creator / Form Builder for Angular, refer to the foll
|
|
|
18
18
|
- [Live Examples](https://surveyjs.io/survey-creator/examples/free-nps-survey-template/angular)
|
|
19
19
|
- [What's New](https://surveyjs.io/WhatsNew)
|
|
20
20
|
|
|
21
|
+
## Build Survey Creator / Form Builder for Angular from Sources
|
|
22
|
+
|
|
23
|
+
If you want to build the library yourself, do the following:
|
|
24
|
+
|
|
25
|
+
1. **Build `survey-library` and `survey-creator-core`**\
|
|
26
|
+
Refer to the following instructions:
|
|
27
|
+
|
|
28
|
+
- [Build the SurveyJS Form Library from Sources](https://github.com/surveyjs/survey-library#build-the-surveyjs-form-library-from-sources)
|
|
29
|
+
- [Build the Survey Creator Model from Sources](https://github.com/surveyjs/survey-creator/tree/master/packages/survey-creator-core#build-the-survey-creator-model-from-sources)
|
|
30
|
+
|
|
31
|
+
> NOTE: Make sure that folders with cloned `survey-library` and `survey-creator` repositories are in the same directory.
|
|
32
|
+
|
|
33
|
+
2. **Install build dependencies for Survey Creator / Form Builder for Angular**
|
|
34
|
+
|
|
35
|
+
```
|
|
36
|
+
cd survey-creator/packages/survey-creator-angular
|
|
37
|
+
npm install
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
3. **Build the library**
|
|
41
|
+
|
|
42
|
+
```
|
|
43
|
+
npm run build
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
You can find the built library in the "build" directory.
|
|
47
|
+
|
|
48
|
+
4. **Run unit tests**
|
|
49
|
+
|
|
50
|
+
```
|
|
51
|
+
npm test
|
|
52
|
+
```
|
|
53
|
+
This command runs unit tests using [Karma](https://karma-runner.github.io/0.13/index.html).
|
|
54
|
+
|
|
21
55
|
## Licensing
|
|
22
56
|
|
|
23
57
|
Survey Creator is **not available for free commercial usage**. If you want to integrate it into your application, you must purchase a [commercial license](https://surveyjs.io/licensing). However, you can [use Survey Creator online](https://surveyjs.io/create-survey) to produce survey JSON configurations and run them with [SurveyJS Form Library](https://surveyjs.io/form-library/documentation/overview) in your application free of charge.
|
package/angular-ui.d.ts
CHANGED
|
@@ -56,3 +56,4 @@ export * from "./custom-questions/spin-editor.component";
|
|
|
56
56
|
export * from "./custom-questions/color-item.component";
|
|
57
57
|
export * from "./custom-questions/color.component";
|
|
58
58
|
export * from "./custom-questions/file.component";
|
|
59
|
+
export * from "./question-carryforward.component";
|
package/angular-ui.module.d.ts
CHANGED
|
@@ -55,11 +55,12 @@ import * as i53 from "./custom-questions/color-item.component";
|
|
|
55
55
|
import * as i54 from "./custom-questions/color.component";
|
|
56
56
|
import * as i55 from "./custom-questions/file.component";
|
|
57
57
|
import * as i56 from "./page-add-question.component";
|
|
58
|
-
import * as i57 from "
|
|
59
|
-
import * as i58 from "@angular/
|
|
60
|
-
import * as i59 from "
|
|
58
|
+
import * as i57 from "./question-carryforward.component";
|
|
59
|
+
import * as i58 from "@angular/common";
|
|
60
|
+
import * as i59 from "@angular/forms";
|
|
61
|
+
import * as i60 from "survey-angular-ui";
|
|
61
62
|
export declare class SurveyCreatorModule {
|
|
62
63
|
static ɵfac: i0.ɵɵFactoryDeclaration<SurveyCreatorModule, never>;
|
|
63
|
-
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.ThemeTabComponent, typeof i29.AdaptiveToolboxComponent, typeof i30.ToolboxToolComponent, typeof i31.ToolboxItemComponent, typeof i32.ToolboxCategoryComponent, typeof i33.StringEditorComponent, typeof i34.PageNavigatorComponent, typeof i35.PageNavigatorItemComponent, typeof i36.QuestionDropdownDesignerComponent, typeof i36.QuestionDropdownAdornerDesignerComponent, typeof i37.QuestionImageDesignerComponent, typeof i37.QuestionImageAdornerDesignerComponent, typeof i38.ItemValueDesignerComponent, typeof i39.ImageItemValueDesignerComponent, typeof i40.LogicOperatorComponent, typeof i41.MatrixCellComponent, typeof i42.QuestionEditorComponent, typeof i43.CellQuestionDropdownComponent, typeof i44.CreatorRowComponent, typeof i45.DesignerPagesComponent, typeof i46.DesignerSurveyComponent, typeof i47.CellQuestionComponent, typeof i48.QuestionWidgetDesignerComponent, typeof i49.ToolboxComponent, typeof i50.CreatorLogoImageComponent, typeof i51.QuestionRatingAdornerDesignerComponent, typeof i51.QuestionRatingDesignerComponent, typeof i52.QuestionSpinEditorComponent, typeof i53.ColorItemComponent, typeof i54.QuestionColorComponent, typeof i55.QuestionFileEditorComponent, typeof i56.AddQuestionButtonComponent], [typeof
|
|
64
|
+
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.ThemeTabComponent, typeof i29.AdaptiveToolboxComponent, typeof i30.ToolboxToolComponent, typeof i31.ToolboxItemComponent, typeof i32.ToolboxCategoryComponent, typeof i33.StringEditorComponent, typeof i34.PageNavigatorComponent, typeof i35.PageNavigatorItemComponent, typeof i36.QuestionDropdownDesignerComponent, typeof i36.QuestionDropdownAdornerDesignerComponent, typeof i37.QuestionImageDesignerComponent, typeof i37.QuestionImageAdornerDesignerComponent, typeof i38.ItemValueDesignerComponent, typeof i39.ImageItemValueDesignerComponent, typeof i40.LogicOperatorComponent, typeof i41.MatrixCellComponent, typeof i42.QuestionEditorComponent, typeof i43.CellQuestionDropdownComponent, typeof i44.CreatorRowComponent, typeof i45.DesignerPagesComponent, typeof i46.DesignerSurveyComponent, typeof i47.CellQuestionComponent, typeof i48.QuestionWidgetDesignerComponent, typeof i49.ToolboxComponent, typeof i50.CreatorLogoImageComponent, typeof i51.QuestionRatingAdornerDesignerComponent, typeof i51.QuestionRatingDesignerComponent, typeof i52.QuestionSpinEditorComponent, typeof i53.ColorItemComponent, typeof i54.QuestionColorComponent, typeof i55.QuestionFileEditorComponent, typeof i56.AddQuestionButtonComponent, typeof i57.QuestionCarryForwardComponent], [typeof i58.CommonModule, typeof i59.FormsModule, typeof i60.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.ThemeTabComponent, typeof i29.AdaptiveToolboxComponent, typeof i30.ToolboxToolComponent, typeof i31.ToolboxItemComponent, typeof i32.ToolboxCategoryComponent, typeof i33.StringEditorComponent, typeof i34.PageNavigatorComponent, typeof i35.PageNavigatorItemComponent, typeof i36.QuestionDropdownDesignerComponent, typeof i36.QuestionDropdownAdornerDesignerComponent, typeof i37.QuestionImageDesignerComponent, typeof i37.QuestionImageAdornerDesignerComponent, typeof i38.ItemValueDesignerComponent, typeof i39.ImageItemValueDesignerComponent, typeof i40.LogicOperatorComponent, typeof i41.MatrixCellComponent, typeof i42.QuestionEditorComponent, typeof i43.CellQuestionDropdownComponent, typeof i44.CreatorRowComponent, typeof i45.DesignerPagesComponent, typeof i46.DesignerSurveyComponent, typeof i47.CellQuestionComponent, typeof i48.QuestionWidgetDesignerComponent, typeof i49.ToolboxComponent, typeof i50.CreatorLogoImageComponent, typeof i51.QuestionRatingAdornerDesignerComponent, typeof i51.QuestionRatingDesignerComponent, typeof i52.QuestionSpinEditorComponent, typeof i53.ColorItemComponent, typeof i54.QuestionColorComponent, typeof i55.QuestionFileEditorComponent, typeof i56.AddQuestionButtonComponent, typeof i57.QuestionCarryForwardComponent]>;
|
|
64
65
|
static ɵinj: i0.ɵɵInjectorDeclaration<SurveyCreatorModule>;
|
|
65
66
|
}
|
|
@@ -1559,6 +1559,27 @@
|
|
|
1559
1559
|
}] });
|
|
1560
1560
|
i1.AngularComponentFactory.Instance.registerComponent("svc-add-new-question-btn", AddQuestionButtonComponent);
|
|
1561
1561
|
|
|
1562
|
+
var QuestionCarryForwardComponent = /** @class */ (function (_super) {
|
|
1563
|
+
__extends(QuestionCarryForwardComponent, _super);
|
|
1564
|
+
function QuestionCarryForwardComponent() {
|
|
1565
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
1566
|
+
}
|
|
1567
|
+
return QuestionCarryForwardComponent;
|
|
1568
|
+
}(i1.EmbeddedViewContentComponent));
|
|
1569
|
+
QuestionCarryForwardComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: QuestionCarryForwardComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1570
|
+
QuestionCarryForwardComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: QuestionCarryForwardComponent, selector: "svc-question-carryforward", inputs: { model: "model" }, usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #template>\n <div class=\"svc-carry-forward-panel\">\n <span>{{model.text}} </span>\n <span class=\"svc-carry-forward-panel__link\">\n <svc-action-button [text]=\"model.question.name\" [click]=\"model.onClick.bind(model)\">\n </svc-action-button>\n </span>\n </div>\n<ng-template>", styles: [":host { display: none }"], components: [{ type: ActionButtonComponent, selector: "svc-action-button", inputs: ["classes", "click", "selected", "disabled", "text", "title", "allowBubble"] }] });
|
|
1571
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: QuestionCarryForwardComponent, decorators: [{
|
|
1572
|
+
type: i0.Component,
|
|
1573
|
+
args: [{
|
|
1574
|
+
selector: "svc-question-carryforward",
|
|
1575
|
+
templateUrl: "./question-carryforward.component.html",
|
|
1576
|
+
styles: [":host { display: none }"]
|
|
1577
|
+
}]
|
|
1578
|
+
}], propDecorators: { model: [{
|
|
1579
|
+
type: i0.Input
|
|
1580
|
+
}] } });
|
|
1581
|
+
i1.AngularComponentFactory.Instance.registerComponent("svc-question-carryforward", QuestionCarryForwardComponent);
|
|
1582
|
+
|
|
1562
1583
|
var QuestionDesignerComponent = /** @class */ (function (_super) {
|
|
1563
1584
|
__extends(QuestionDesignerComponent, _super);
|
|
1564
1585
|
function QuestionDesignerComponent() {
|
|
@@ -1624,7 +1645,7 @@
|
|
|
1624
1645
|
return QuestionDesignerComponent;
|
|
1625
1646
|
}(CreatorModelComponent));
|
|
1626
1647
|
QuestionDesignerComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: QuestionDesignerComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1627
|
-
QuestionDesignerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: QuestionDesignerComponent, selector: "svc-question", inputs: { componentName: "componentName", componentData: "componentData" }, usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #template>\n <div *ngIf=\"adorner\" class=\"svc-question__adorner\" [class]=\"adorner.rootCss()\"\n (mouseover)=\"adorner.hover($event, $event.currentTarget)\" (mouseleave)=\"adorner.hover($event, $event.currentTarget)\"\n [attr.data-sv-drop-target-survey-element]=\"adorner.element.name || null\" #container>\n\n <div [class]=\"adorner.css()\" [key2click] (click)=\"adorner.select(adorner, $event)\">\n <div *ngIf=\"adorner.allowDragging\" class=\"svc-question__drag-area\" (pointerdown)=\"adorner.onPointerDown($event)\">\n <svg class=\"svc-question__drag-element\" [iconName]=\"'icon-drag-area-indicator_24x16'\" [size]=\"24\"\n sv-ng-svg-icon></svg>\n </div>\n\n <ng-template [component]=\"{ name: componentName, data: componentData }\"></ng-template>\n
|
|
1648
|
+
QuestionDesignerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: QuestionDesignerComponent, selector: "svc-question", inputs: { componentName: "componentName", componentData: "componentData" }, usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #template>\n <div *ngIf=\"adorner\" class=\"svc-question__adorner\" [class]=\"adorner.rootCss()\"\n (mouseover)=\"adorner.hover($event, $event.currentTarget)\" (mouseleave)=\"adorner.hover($event, $event.currentTarget)\"\n [attr.data-sv-drop-target-survey-element]=\"adorner.element.name || null\" #container>\n\n <div [class]=\"adorner.css()\" [key2click] (click)=\"adorner.select(adorner, $event)\">\n <div *ngIf=\"adorner.allowDragging\" class=\"svc-question__drag-area\" (pointerdown)=\"adorner.onPointerDown($event)\">\n <svg class=\"svc-question__drag-element\" [iconName]=\"'icon-drag-area-indicator_24x16'\" [size]=\"24\"\n sv-ng-svg-icon></svg>\n </div>\n\n <ng-template [component]=\"{ name: componentName, data: componentData }\"></ng-template>\n <div *ngIf=\"adorner.isEmptyElement && !showPlaceholderComponent\" class=\"svc-panel__placeholder_frame\">\n <div class=\"svc-panel__placeholder\">{{ adorner.placeholderText }}</div>\n </div>\n <ng-template *ngIf=\"adorner.isEmptyElement && !!showPlaceholderComponent\"\n [component]=\"{ name: placeholderComponent, data: placeholderComponentData }\">\n </ng-template>\n <svc-question-carryforward *ngIf=\"adorner.isUsingCarryForward\" [model]=\"adorner.createCarryForwardParams()\">\n </svc-question-carryforward>\n\n <ng-template *ngIf=\"adornerComponent\"\n [component]=\"{ name: adornerComponent, data: { adorner: adorner, question: model } }\">\n </ng-template>\n\n <div class=\"svc-question__content-actions\">\n <sv-action-bar [model]=\"adorner.actionContainer\" [handleClick]=\"false\"></sv-action-bar>\n </div>\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"] }, { type: QuestionCarryForwardComponent, selector: "svc-question-carryforward", inputs: ["model"] }, { type: i1__namespace.ActionBarComponent, selector: "sv-action-bar, sv-ng-action-bar", inputs: ["model", "handleClick"] }], directives: [{ type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace.Key2ClickDirective, selector: "[key2click]", inputs: ["key2click"] }, { type: i1__namespace.DynamicComponentDirective, selector: "[component]", inputs: ["component"] }] });
|
|
1628
1649
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: QuestionDesignerComponent, decorators: [{
|
|
1629
1650
|
type: i0.Component,
|
|
1630
1651
|
args: [{
|
|
@@ -1794,7 +1815,7 @@
|
|
|
1794
1815
|
return QuestionDropdownDesignerComponent;
|
|
1795
1816
|
}(QuestionDesignerComponent));
|
|
1796
1817
|
QuestionDropdownDesignerComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: QuestionDropdownDesignerComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1797
|
-
QuestionDropdownDesignerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: QuestionDropdownDesignerComponent, selector: "svc-dropdown-question", usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #template>\n <div *ngIf=\"adorner\" class=\"svc-question__adorner\" [class]=\"adorner.rootCss()\"\n (mouseover)=\"adorner.hover($event, $event.currentTarget)\" (mouseleave)=\"adorner.hover($event, $event.currentTarget)\"\n [attr.data-sv-drop-target-survey-element]=\"adorner.element.name || null\" #container>\n\n <div [class]=\"adorner.css()\" [key2click] (click)=\"adorner.select(adorner, $event)\">\n <div *ngIf=\"adorner.allowDragging\" class=\"svc-question__drag-area\" (pointerdown)=\"adorner.onPointerDown($event)\">\n <svg class=\"svc-question__drag-element\" [iconName]=\"'icon-drag-area-indicator_24x16'\" [size]=\"24\"\n sv-ng-svg-icon></svg>\n </div>\n\n <ng-template [component]=\"{ name: componentName, data: componentData }\"></ng-template>\n
|
|
1818
|
+
QuestionDropdownDesignerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: QuestionDropdownDesignerComponent, selector: "svc-dropdown-question", usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #template>\n <div *ngIf=\"adorner\" class=\"svc-question__adorner\" [class]=\"adorner.rootCss()\"\n (mouseover)=\"adorner.hover($event, $event.currentTarget)\" (mouseleave)=\"adorner.hover($event, $event.currentTarget)\"\n [attr.data-sv-drop-target-survey-element]=\"adorner.element.name || null\" #container>\n\n <div [class]=\"adorner.css()\" [key2click] (click)=\"adorner.select(adorner, $event)\">\n <div *ngIf=\"adorner.allowDragging\" class=\"svc-question__drag-area\" (pointerdown)=\"adorner.onPointerDown($event)\">\n <svg class=\"svc-question__drag-element\" [iconName]=\"'icon-drag-area-indicator_24x16'\" [size]=\"24\"\n sv-ng-svg-icon></svg>\n </div>\n\n <ng-template [component]=\"{ name: componentName, data: componentData }\"></ng-template>\n <div *ngIf=\"adorner.isEmptyElement && !showPlaceholderComponent\" class=\"svc-panel__placeholder_frame\">\n <div class=\"svc-panel__placeholder\">{{ adorner.placeholderText }}</div>\n </div>\n <ng-template *ngIf=\"adorner.isEmptyElement && !!showPlaceholderComponent\"\n [component]=\"{ name: placeholderComponent, data: placeholderComponentData }\">\n </ng-template>\n <svc-question-carryforward *ngIf=\"adorner.isUsingCarryForward\" [model]=\"adorner.createCarryForwardParams()\">\n </svc-question-carryforward>\n\n <ng-template *ngIf=\"adornerComponent\"\n [component]=\"{ name: adornerComponent, data: { adorner: adorner, question: model } }\">\n </ng-template>\n\n <div class=\"svc-question__content-actions\">\n <sv-action-bar [model]=\"adorner.actionContainer\" [handleClick]=\"false\"></sv-action-bar>\n </div>\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"] }, { type: QuestionCarryForwardComponent, selector: "svc-question-carryforward", inputs: ["model"] }, { type: i1__namespace.ActionBarComponent, selector: "sv-action-bar, sv-ng-action-bar", inputs: ["model", "handleClick"] }], directives: [{ type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace.Key2ClickDirective, selector: "[key2click]", inputs: ["key2click"] }, { type: i1__namespace.DynamicComponentDirective, selector: "[component]", inputs: ["component"] }] });
|
|
1798
1819
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: QuestionDropdownDesignerComponent, decorators: [{
|
|
1799
1820
|
type: i0.Component,
|
|
1800
1821
|
args: [{
|
|
@@ -1881,7 +1902,7 @@
|
|
|
1881
1902
|
return QuestionImageDesignerComponent;
|
|
1882
1903
|
}(QuestionDesignerComponent));
|
|
1883
1904
|
QuestionImageDesignerComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: QuestionImageDesignerComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1884
|
-
QuestionImageDesignerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: QuestionImageDesignerComponent, selector: "svc-image-question", viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true, read: i0.ElementRef }], usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #template>\n <div *ngIf=\"adorner\" class=\"svc-question__adorner\" [class]=\"adorner.rootCss()\"\n (mouseover)=\"adorner.hover($event, $event.currentTarget)\" (mouseleave)=\"adorner.hover($event, $event.currentTarget)\"\n [attr.data-sv-drop-target-survey-element]=\"adorner.element.name || null\" #container>\n\n <div [class]=\"adorner.css()\" [key2click] (click)=\"adorner.select(adorner, $event)\">\n <div *ngIf=\"adorner.allowDragging\" class=\"svc-question__drag-area\" (pointerdown)=\"adorner.onPointerDown($event)\">\n <svg class=\"svc-question__drag-element\" [iconName]=\"'icon-drag-area-indicator_24x16'\" [size]=\"24\"\n sv-ng-svg-icon></svg>\n </div>\n\n <ng-template [component]=\"{ name: componentName, data: componentData }\"></ng-template>\n
|
|
1905
|
+
QuestionImageDesignerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: QuestionImageDesignerComponent, selector: "svc-image-question", viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true, read: i0.ElementRef }], usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #template>\n <div *ngIf=\"adorner\" class=\"svc-question__adorner\" [class]=\"adorner.rootCss()\"\n (mouseover)=\"adorner.hover($event, $event.currentTarget)\" (mouseleave)=\"adorner.hover($event, $event.currentTarget)\"\n [attr.data-sv-drop-target-survey-element]=\"adorner.element.name || null\" #container>\n\n <div [class]=\"adorner.css()\" [key2click] (click)=\"adorner.select(adorner, $event)\">\n <div *ngIf=\"adorner.allowDragging\" class=\"svc-question__drag-area\" (pointerdown)=\"adorner.onPointerDown($event)\">\n <svg class=\"svc-question__drag-element\" [iconName]=\"'icon-drag-area-indicator_24x16'\" [size]=\"24\"\n sv-ng-svg-icon></svg>\n </div>\n\n <ng-template [component]=\"{ name: componentName, data: componentData }\"></ng-template>\n <div *ngIf=\"adorner.isEmptyElement && !showPlaceholderComponent\" class=\"svc-panel__placeholder_frame\">\n <div class=\"svc-panel__placeholder\">{{ adorner.placeholderText }}</div>\n </div>\n <ng-template *ngIf=\"adorner.isEmptyElement && !!showPlaceholderComponent\"\n [component]=\"{ name: placeholderComponent, data: placeholderComponentData }\">\n </ng-template>\n <svc-question-carryforward *ngIf=\"adorner.isUsingCarryForward\" [model]=\"adorner.createCarryForwardParams()\">\n </svc-question-carryforward>\n\n <ng-template *ngIf=\"adornerComponent\"\n [component]=\"{ name: adornerComponent, data: { adorner: adorner, question: model } }\">\n </ng-template>\n\n <div class=\"svc-question__content-actions\">\n <sv-action-bar [model]=\"adorner.actionContainer\" [handleClick]=\"false\"></sv-action-bar>\n </div>\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"] }, { type: QuestionCarryForwardComponent, selector: "svc-question-carryforward", inputs: ["model"] }, { type: i1__namespace.ActionBarComponent, selector: "sv-action-bar, sv-ng-action-bar", inputs: ["model", "handleClick"] }], directives: [{ type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace.Key2ClickDirective, selector: "[key2click]", inputs: ["key2click"] }, { type: i1__namespace.DynamicComponentDirective, selector: "[component]", inputs: ["component"] }] });
|
|
1885
1906
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: QuestionImageDesignerComponent, decorators: [{
|
|
1886
1907
|
type: i0.Component,
|
|
1887
1908
|
args: [{
|
|
@@ -2501,7 +2522,7 @@
|
|
|
2501
2522
|
return QuestionRatingDesignerComponent;
|
|
2502
2523
|
}(QuestionDesignerComponent));
|
|
2503
2524
|
QuestionRatingDesignerComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: QuestionRatingDesignerComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
2504
|
-
QuestionRatingDesignerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: QuestionRatingDesignerComponent, selector: "svc-rating-question", usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #template>\n <div *ngIf=\"adorner\" class=\"svc-question__adorner\" [class]=\"adorner.rootCss()\"\n (mouseover)=\"adorner.hover($event, $event.currentTarget)\" (mouseleave)=\"adorner.hover($event, $event.currentTarget)\"\n [attr.data-sv-drop-target-survey-element]=\"adorner.element.name || null\" #container>\n\n <div [class]=\"adorner.css()\" [key2click] (click)=\"adorner.select(adorner, $event)\">\n <div *ngIf=\"adorner.allowDragging\" class=\"svc-question__drag-area\" (pointerdown)=\"adorner.onPointerDown($event)\">\n <svg class=\"svc-question__drag-element\" [iconName]=\"'icon-drag-area-indicator_24x16'\" [size]=\"24\"\n sv-ng-svg-icon></svg>\n </div>\n\n <ng-template [component]=\"{ name: componentName, data: componentData }\"></ng-template>\n
|
|
2525
|
+
QuestionRatingDesignerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: QuestionRatingDesignerComponent, selector: "svc-rating-question", usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #template>\n <div *ngIf=\"adorner\" class=\"svc-question__adorner\" [class]=\"adorner.rootCss()\"\n (mouseover)=\"adorner.hover($event, $event.currentTarget)\" (mouseleave)=\"adorner.hover($event, $event.currentTarget)\"\n [attr.data-sv-drop-target-survey-element]=\"adorner.element.name || null\" #container>\n\n <div [class]=\"adorner.css()\" [key2click] (click)=\"adorner.select(adorner, $event)\">\n <div *ngIf=\"adorner.allowDragging\" class=\"svc-question__drag-area\" (pointerdown)=\"adorner.onPointerDown($event)\">\n <svg class=\"svc-question__drag-element\" [iconName]=\"'icon-drag-area-indicator_24x16'\" [size]=\"24\"\n sv-ng-svg-icon></svg>\n </div>\n\n <ng-template [component]=\"{ name: componentName, data: componentData }\"></ng-template>\n <div *ngIf=\"adorner.isEmptyElement && !showPlaceholderComponent\" class=\"svc-panel__placeholder_frame\">\n <div class=\"svc-panel__placeholder\">{{ adorner.placeholderText }}</div>\n </div>\n <ng-template *ngIf=\"adorner.isEmptyElement && !!showPlaceholderComponent\"\n [component]=\"{ name: placeholderComponent, data: placeholderComponentData }\">\n </ng-template>\n <svc-question-carryforward *ngIf=\"adorner.isUsingCarryForward\" [model]=\"adorner.createCarryForwardParams()\">\n </svc-question-carryforward>\n\n <ng-template *ngIf=\"adornerComponent\"\n [component]=\"{ name: adornerComponent, data: { adorner: adorner, question: model } }\">\n </ng-template>\n\n <div class=\"svc-question__content-actions\">\n <sv-action-bar [model]=\"adorner.actionContainer\" [handleClick]=\"false\"></sv-action-bar>\n </div>\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"] }, { type: QuestionCarryForwardComponent, selector: "svc-question-carryforward", inputs: ["model"] }, { type: i1__namespace.ActionBarComponent, selector: "sv-action-bar, sv-ng-action-bar", inputs: ["model", "handleClick"] }], directives: [{ type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace.Key2ClickDirective, selector: "[key2click]", inputs: ["key2click"] }, { type: i1__namespace.DynamicComponentDirective, selector: "[component]", inputs: ["component"] }] });
|
|
2505
2526
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: QuestionRatingDesignerComponent, decorators: [{
|
|
2506
2527
|
type: i0.Component,
|
|
2507
2528
|
args: [{
|
|
@@ -2685,11 +2706,11 @@
|
|
|
2685
2706
|
AdaptiveToolboxComponent, ToolboxToolComponent, ToolboxItemComponent, ToolboxCategoryComponent, StringEditorComponent, PageNavigatorComponent, PageNavigatorItemComponent,
|
|
2686
2707
|
QuestionDropdownDesignerComponent, QuestionDropdownAdornerDesignerComponent, QuestionImageDesignerComponent, QuestionImageAdornerDesignerComponent,
|
|
2687
2708
|
ItemValueDesignerComponent, ImageItemValueDesignerComponent, LogicOperatorComponent, MatrixCellComponent, QuestionEditorComponent, CellQuestionDropdownComponent, CreatorRowComponent, DesignerPagesComponent, DesignerSurveyComponent, CellQuestionComponent, QuestionWidgetDesignerComponent, ToolboxComponent, CreatorLogoImageComponent,
|
|
2688
|
-
QuestionRatingAdornerDesignerComponent, QuestionRatingDesignerComponent, QuestionSpinEditorComponent, ColorItemComponent, QuestionColorComponent, QuestionFileEditorComponent, AddQuestionButtonComponent], 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, ThemeTabComponent,
|
|
2709
|
+
QuestionRatingAdornerDesignerComponent, QuestionRatingDesignerComponent, QuestionSpinEditorComponent, ColorItemComponent, QuestionColorComponent, QuestionFileEditorComponent, AddQuestionButtonComponent, QuestionCarryForwardComponent], 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, ThemeTabComponent,
|
|
2689
2710
|
AdaptiveToolboxComponent, ToolboxToolComponent, ToolboxItemComponent, ToolboxCategoryComponent, StringEditorComponent, PageNavigatorComponent, PageNavigatorItemComponent,
|
|
2690
2711
|
QuestionDropdownDesignerComponent, QuestionDropdownAdornerDesignerComponent, QuestionImageDesignerComponent, QuestionImageAdornerDesignerComponent,
|
|
2691
2712
|
ItemValueDesignerComponent, ImageItemValueDesignerComponent, LogicOperatorComponent, MatrixCellComponent, QuestionEditorComponent, CellQuestionDropdownComponent, CreatorRowComponent, DesignerPagesComponent, DesignerSurveyComponent, CellQuestionComponent, QuestionWidgetDesignerComponent, ToolboxComponent, CreatorLogoImageComponent,
|
|
2692
|
-
QuestionRatingAdornerDesignerComponent, QuestionRatingDesignerComponent, QuestionSpinEditorComponent, ColorItemComponent, QuestionColorComponent, QuestionFileEditorComponent, AddQuestionButtonComponent] });
|
|
2713
|
+
QuestionRatingAdornerDesignerComponent, QuestionRatingDesignerComponent, QuestionSpinEditorComponent, ColorItemComponent, QuestionColorComponent, QuestionFileEditorComponent, AddQuestionButtonComponent, QuestionCarryForwardComponent] });
|
|
2693
2714
|
SurveyCreatorModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: SurveyCreatorModule, providers: [], imports: [[
|
|
2694
2715
|
i2.CommonModule, i1$1.FormsModule, i1.SurveyModule
|
|
2695
2716
|
]] });
|
|
@@ -2700,7 +2721,7 @@
|
|
|
2700
2721
|
AdaptiveToolboxComponent, ToolboxToolComponent, ToolboxItemComponent, ToolboxCategoryComponent, StringEditorComponent, PageNavigatorComponent, PageNavigatorItemComponent,
|
|
2701
2722
|
QuestionDropdownDesignerComponent, QuestionDropdownAdornerDesignerComponent, QuestionImageDesignerComponent, QuestionImageAdornerDesignerComponent,
|
|
2702
2723
|
ItemValueDesignerComponent, ImageItemValueDesignerComponent, LogicOperatorComponent, MatrixCellComponent, QuestionEditorComponent, CellQuestionDropdownComponent, CreatorRowComponent, DesignerPagesComponent, DesignerSurveyComponent, CellQuestionComponent, QuestionWidgetDesignerComponent, ToolboxComponent, CreatorLogoImageComponent,
|
|
2703
|
-
QuestionRatingAdornerDesignerComponent, QuestionRatingDesignerComponent, QuestionSpinEditorComponent, ColorItemComponent, QuestionColorComponent, QuestionFileEditorComponent, AddQuestionButtonComponent],
|
|
2724
|
+
QuestionRatingAdornerDesignerComponent, QuestionRatingDesignerComponent, QuestionSpinEditorComponent, ColorItemComponent, QuestionColorComponent, QuestionFileEditorComponent, AddQuestionButtonComponent, QuestionCarryForwardComponent],
|
|
2704
2725
|
imports: [
|
|
2705
2726
|
i2.CommonModule, i1$1.FormsModule, i1.SurveyModule
|
|
2706
2727
|
],
|
|
@@ -2709,7 +2730,7 @@
|
|
|
2709
2730
|
AdaptiveToolboxComponent, ToolboxToolComponent, ToolboxItemComponent, ToolboxCategoryComponent, StringEditorComponent, PageNavigatorComponent, PageNavigatorItemComponent,
|
|
2710
2731
|
QuestionDropdownDesignerComponent, QuestionDropdownAdornerDesignerComponent, QuestionImageDesignerComponent, QuestionImageAdornerDesignerComponent,
|
|
2711
2732
|
ItemValueDesignerComponent, ImageItemValueDesignerComponent, LogicOperatorComponent, MatrixCellComponent, QuestionEditorComponent, CellQuestionDropdownComponent, CreatorRowComponent, DesignerPagesComponent, DesignerSurveyComponent, CellQuestionComponent, QuestionWidgetDesignerComponent, ToolboxComponent, CreatorLogoImageComponent,
|
|
2712
|
-
QuestionRatingAdornerDesignerComponent, QuestionRatingDesignerComponent, QuestionSpinEditorComponent, ColorItemComponent, QuestionColorComponent, QuestionFileEditorComponent, AddQuestionButtonComponent
|
|
2733
|
+
QuestionRatingAdornerDesignerComponent, QuestionRatingDesignerComponent, QuestionSpinEditorComponent, ColorItemComponent, QuestionColorComponent, QuestionFileEditorComponent, AddQuestionButtonComponent, QuestionCarryForwardComponent
|
|
2713
2734
|
],
|
|
2714
2735
|
providers: [],
|
|
2715
2736
|
}]
|
|
@@ -2746,6 +2767,7 @@
|
|
|
2746
2767
|
exports.PageNavigatorItemComponent = PageNavigatorItemComponent;
|
|
2747
2768
|
exports.PanelDesignerComponent = PanelDesignerComponent;
|
|
2748
2769
|
exports.PropertyGridComponent = PropertyGridComponent;
|
|
2770
|
+
exports.QuestionCarryForwardComponent = QuestionCarryForwardComponent;
|
|
2749
2771
|
exports.QuestionColorComponent = QuestionColorComponent;
|
|
2750
2772
|
exports.QuestionDesignerComponent = QuestionDesignerComponent;
|
|
2751
2773
|
exports.QuestionDropdownAdornerDesignerComponent = QuestionDropdownAdornerDesignerComponent;
|