survey-creator-angular 1.12.1 → 1.12.3
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/add-question-type-selector.component.d.ts +13 -0
- package/add-question.component.d.ts +15 -0
- package/angular-ui.d.ts +14 -5
- package/angular-ui.module.d.ts +68 -59
- package/bundles/survey-creator-angular.umd.js +281 -33
- package/bundles/survey-creator-angular.umd.js.map +1 -1
- package/custom-questions/boolean-switch.component.d.ts +7 -0
- package/esm2015/add-question-type-selector.component.js +40 -0
- package/esm2015/add-question.component.js +46 -0
- package/esm2015/adorners/question-dropdown.component.js +2 -2
- package/esm2015/adorners/question-image.component.js +2 -2
- package/esm2015/adorners/question-rating.component.js +2 -2
- package/esm2015/angular-ui.js +15 -6
- package/esm2015/angular-ui.module.js +26 -13
- package/esm2015/custom-questions/boolean-switch.component.js +19 -0
- package/esm2015/page-add-question.component.js +29 -29
- package/esm2015/panel.component.js +2 -2
- package/esm2015/property-panel/object-selector.component.js +24 -24
- package/esm2015/property-panel/property-grid.component.js +28 -28
- package/esm2015/property-panel/search.component.js +24 -24
- package/esm2015/question.component.js +2 -2
- package/esm2015/side-bar/object-selector.component.js +24 -0
- package/esm2015/side-bar/property-grid-placeholder.component.js +22 -0
- package/esm2015/side-bar/property-grid.component.js +29 -0
- package/esm2015/side-bar/search.component.js +25 -0
- package/esm2015/side-bar/side-bar-default-header.component.js +24 -0
- package/esm2015/side-bar/side-bar-header.component.js +23 -0
- package/esm2015/side-bar/side-bar-page.component.js +23 -0
- package/esm2015/side-bar/side-bar-property-grid-header.component.js +28 -0
- package/esm2015/side-bar/side-bar-tab.component.js +22 -22
- package/esm2015/side-bar/side-bar.component.js +4 -4
- package/esm2015/side-bar/tab-button.component.js +23 -0
- package/esm2015/side-bar/tab-control.component.js +24 -0
- package/esm2015/side-bar/tabs.component.js +23 -0
- package/esm2015/tab-control/property-grid-placeholder-header.component.js +22 -0
- package/esm2015/tab-control/property-grid-placeholder.component.js +22 -0
- package/esm2015/tab-control/side-bar-property-grid-header.component.js +28 -0
- package/esm2015/tab-control/tab-button.component.js +23 -0
- package/esm2015/tab-control/tab-control.component.js +24 -0
- package/esm2015/tab-control/tabs.component.js +23 -0
- package/esm2015/toolbox/adaptive-toolbox.component.js +1 -1
- package/fesm2015/survey-creator-angular.js +232 -30
- package/fesm2015/survey-creator-angular.js.map +1 -1
- package/package.json +4 -4
- package/page-add-question.component.d.ts +9 -9
- package/property-panel/object-selector.component.d.ts +9 -9
- package/property-panel/property-grid.component.d.ts +10 -10
- package/property-panel/search.component.d.ts +9 -9
- package/side-bar/object-selector.component.d.ts +9 -0
- package/side-bar/property-grid-placeholder.component.d.ts +7 -0
- package/side-bar/property-grid.component.d.ts +10 -0
- package/side-bar/search.component.d.ts +9 -0
- package/side-bar/side-bar-default-header.component.d.ts +9 -0
- package/side-bar/side-bar-header.component.d.ts +9 -0
- package/side-bar/side-bar-page.component.d.ts +9 -0
- package/side-bar/side-bar-property-grid-header.component.d.ts +10 -0
- package/side-bar/side-bar-tab.component.d.ts +9 -9
- package/side-bar/tab-button.component.d.ts +9 -0
- package/side-bar/tab-control.component.d.ts +9 -0
- package/side-bar/tabs.component.d.ts +10 -0
- package/tab-control/property-grid-placeholder-header.component.d.ts +9 -0
- package/tab-control/property-grid-placeholder.component.d.ts +7 -0
- package/tab-control/side-bar-property-grid-header.component.d.ts +10 -0
- package/tab-control/tab-button.component.d.ts +9 -0
- package/tab-control/tab-control.component.d.ts +9 -0
- package/tab-control/tabs.component.d.ts +10 -0
|
@@ -569,23 +569,23 @@
|
|
|
569
569
|
}] } });
|
|
570
570
|
i1.AngularComponentFactory.Instance.registerComponent("svc-tabbed-menu", TabbledMenuComponent);
|
|
571
571
|
|
|
572
|
-
var
|
|
573
|
-
__extends(
|
|
574
|
-
function
|
|
572
|
+
var SidebarPageComponent = /** @class */ (function (_super) {
|
|
573
|
+
__extends(SidebarPageComponent, _super);
|
|
574
|
+
function SidebarPageComponent() {
|
|
575
575
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
576
576
|
}
|
|
577
|
-
|
|
577
|
+
SidebarPageComponent.prototype.getModel = function () {
|
|
578
578
|
return this.model;
|
|
579
579
|
};
|
|
580
|
-
return
|
|
580
|
+
return SidebarPageComponent;
|
|
581
581
|
}(i1.BaseAngular));
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type:
|
|
582
|
+
SidebarPageComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: SidebarPageComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
583
|
+
SidebarPageComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: SidebarPageComponent, selector: "svc-side-bar-page", inputs: { model: "model" }, usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #template>\n <ng-container *ngIf=\"model.visible\">\n <ng-template [component]=\"{ name: model.componentName, data: { model: model.componentData } }\"></ng-template>\n </ng-container>\n</ng-template>", styles: [":host { display: none; }"], directives: [{ type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace.DynamicComponentDirective, selector: "[component]", inputs: ["component"] }] });
|
|
584
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: SidebarPageComponent, decorators: [{
|
|
585
585
|
type: i0.Component,
|
|
586
586
|
args: [{
|
|
587
|
-
selector: "svc-side-bar-
|
|
588
|
-
templateUrl: "./side-bar-
|
|
587
|
+
selector: "svc-side-bar-page",
|
|
588
|
+
templateUrl: "./side-bar-page.component.html",
|
|
589
589
|
styles: [":host { display: none; }"]
|
|
590
590
|
}]
|
|
591
591
|
}], propDecorators: { model: [{
|
|
@@ -610,7 +610,7 @@
|
|
|
610
610
|
return SidebarComponent;
|
|
611
611
|
}(i1.BaseAngular));
|
|
612
612
|
SidebarComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: SidebarComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
613
|
-
SidebarComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: SidebarComponent, selector: "svc-side-bar", inputs: { model: "model" }, viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #template>\n <div class=\"svc-side-bar\" [class.svc-flyout-side-bar]=\"model.flyoutPanelMode\" [visible]=\"model.
|
|
613
|
+
SidebarComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: SidebarComponent, selector: "svc-side-bar", inputs: { model: "model" }, viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #template>\n <div class=\"svc-side-bar\" [class.svc-flyout-side-bar]=\"model.flyoutPanelMode\" [visible]=\"model.hasVisiblePages\">\n <div class=\"svc-side-bar__shadow\" (click)=\"model.collapseSidebar()\"></div>\n <div class=\"svc-flex-row svc-side-bar__wrapper\">\n <div class=\"svc-side-bar__container\" [visible]=\"model.renderedIsVisible\" #container>\n <ng-template\n [component]=\"{ name: model.header.component, data: { model: model.header.componentModel } }\"></ng-template>\n <div class=\"svc-side-bar__container-content\">\n <ng-container *ngFor=\"let page of model.pages\">\n <svc-side-bar-page [model]=\"page\"></svc-side-bar-page>\n </ng-container>\n </div>\n </div>\n <ng-container *ngIf=\"model.sideAreaComponentName\">\n <ng-template\n [component]=\"{ name: model.sideAreaComponentName, data: { model: model.sideAreaComponentData } }\"></ng-template>\n </ng-container>\n </div>\n </div>\n</ng-template>", styles: [":host { display: none; }"], components: [{ type: SidebarPageComponent, selector: "svc-side-bar-page", inputs: ["model"] }], directives: [{ type: i1__namespace.VisibleDirective, selector: "[visible]", inputs: ["visible"] }, { type: i1__namespace.DynamicComponentDirective, selector: "[component]", inputs: ["component"] }, { type: i2__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
614
614
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: SidebarComponent, decorators: [{
|
|
615
615
|
type: i0.Component,
|
|
616
616
|
args: [{
|
|
@@ -1146,6 +1146,172 @@
|
|
|
1146
1146
|
}] } });
|
|
1147
1147
|
i1.AngularComponentFactory.Instance.registerComponent("svc-tabbed-menu-item", TabbedMenuItemComponent);
|
|
1148
1148
|
|
|
1149
|
+
var SidebarDefaultHeaderComponent = /** @class */ (function (_super) {
|
|
1150
|
+
__extends(SidebarDefaultHeaderComponent, _super);
|
|
1151
|
+
function SidebarDefaultHeaderComponent() {
|
|
1152
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
1153
|
+
}
|
|
1154
|
+
SidebarDefaultHeaderComponent.prototype.getModel = function () {
|
|
1155
|
+
return this.model;
|
|
1156
|
+
};
|
|
1157
|
+
return SidebarDefaultHeaderComponent;
|
|
1158
|
+
}(i1.BaseAngular));
|
|
1159
|
+
SidebarDefaultHeaderComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: SidebarDefaultHeaderComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1160
|
+
SidebarDefaultHeaderComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: SidebarDefaultHeaderComponent, selector: "svc-side-bar-default-header", inputs: { model: "model" }, usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #template>\n <div class=\"svc-side-bar__container-header\">\n <div class=\"svc-side-bar__container-actions\">\n <sv-action-bar [model]=\"model.toolbar\"></sv-action-bar>\n </div>\n <div *ngIf=\"!!model.title\" class=\"svc-side-bar__container-title\">{{model.title}}</div>\n </div>\n</ng-template>", styles: [":host { display: none; }"], components: [{ 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"] }] });
|
|
1161
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: SidebarDefaultHeaderComponent, decorators: [{
|
|
1162
|
+
type: i0.Component,
|
|
1163
|
+
args: [{
|
|
1164
|
+
selector: "svc-side-bar-default-header",
|
|
1165
|
+
templateUrl: "./side-bar-default-header.component.html",
|
|
1166
|
+
styles: [":host { display: none; }"]
|
|
1167
|
+
}]
|
|
1168
|
+
}], propDecorators: { model: [{
|
|
1169
|
+
type: i0.Input
|
|
1170
|
+
}] } });
|
|
1171
|
+
i1.AngularComponentFactory.Instance.registerComponent("svc-side-bar-default-header", SidebarDefaultHeaderComponent);
|
|
1172
|
+
|
|
1173
|
+
var TabButtonComponent = /** @class */ (function (_super) {
|
|
1174
|
+
__extends(TabButtonComponent, _super);
|
|
1175
|
+
function TabButtonComponent() {
|
|
1176
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
1177
|
+
}
|
|
1178
|
+
TabButtonComponent.prototype.getModel = function () {
|
|
1179
|
+
return this.model;
|
|
1180
|
+
};
|
|
1181
|
+
return TabButtonComponent;
|
|
1182
|
+
}(i1.BaseAngular));
|
|
1183
|
+
TabButtonComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TabButtonComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1184
|
+
TabButtonComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TabButtonComponent, selector: "svc-tab-button", inputs: { model: "model" }, usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #template>\n <div class=\"svc-menu-action\">\n <div [class]=\"model.buttonClassName\" [attr.title]=\"model.tooltip\" (click)=\"model.action()\">\n <div class=\"svc-menu-action__icon\">\n <div class=\"svc-menu-action__icon-container\">\n <svg [iconName]=\"model.iconName\" [size]=\"24\" sv-ng-svg-icon></svg>\n </div>\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"] }] });
|
|
1185
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TabButtonComponent, decorators: [{
|
|
1186
|
+
type: i0.Component,
|
|
1187
|
+
args: [{
|
|
1188
|
+
selector: "svc-tab-button",
|
|
1189
|
+
templateUrl: "./tab-button.component.html",
|
|
1190
|
+
styles: [":host { display: none; }"]
|
|
1191
|
+
}]
|
|
1192
|
+
}], propDecorators: { model: [{
|
|
1193
|
+
type: i0.Input
|
|
1194
|
+
}] } });
|
|
1195
|
+
i1.AngularComponentFactory.Instance.registerComponent("svc-tab-button", TabButtonComponent);
|
|
1196
|
+
|
|
1197
|
+
var TabsComponent = /** @class */ (function (_super) {
|
|
1198
|
+
__extends(TabsComponent, _super);
|
|
1199
|
+
function TabsComponent() {
|
|
1200
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
1201
|
+
}
|
|
1202
|
+
TabsComponent.prototype.getModel = function () {
|
|
1203
|
+
return this.model;
|
|
1204
|
+
};
|
|
1205
|
+
return TabsComponent;
|
|
1206
|
+
}(i1.BaseAngular));
|
|
1207
|
+
TabsComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TabsComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1208
|
+
TabsComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TabsComponent, selector: "svc-tabs", inputs: { model: "model" }, usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #template>\n <ng-container *ngFor=\"let action of model.actions\">\n <svc-tab-button [model]=\"action\"></svc-tab-button>\n </ng-container>\n</ng-template>", styles: [":host { display: none; }"], components: [{ type: TabButtonComponent, selector: "svc-tab-button", inputs: ["model"] }], directives: [{ type: i2__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
1209
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TabsComponent, decorators: [{
|
|
1210
|
+
type: i0.Component,
|
|
1211
|
+
args: [{
|
|
1212
|
+
selector: "svc-tabs",
|
|
1213
|
+
templateUrl: "./tabs.component.html",
|
|
1214
|
+
styles: [":host { display: none; }"]
|
|
1215
|
+
}]
|
|
1216
|
+
}], propDecorators: { model: [{
|
|
1217
|
+
type: i0.Input
|
|
1218
|
+
}] } });
|
|
1219
|
+
|
|
1220
|
+
var TabControlComponent = /** @class */ (function (_super) {
|
|
1221
|
+
__extends(TabControlComponent, _super);
|
|
1222
|
+
function TabControlComponent() {
|
|
1223
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
1224
|
+
}
|
|
1225
|
+
TabControlComponent.prototype.getModel = function () {
|
|
1226
|
+
return this.model;
|
|
1227
|
+
};
|
|
1228
|
+
return TabControlComponent;
|
|
1229
|
+
}(i1.BaseAngular));
|
|
1230
|
+
TabControlComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TabControlComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1231
|
+
TabControlComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TabControlComponent, selector: "svc-tab-control", inputs: { model: "model" }, usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #template>\n <div [class]=\"model.sideBarClassName\">\n <div class=\"svc-sidebar-tabs__top-container\">\n <div class=\"svc-sidebar-tabs__collapse-button\">\n <svc-tab-button [model]=\"model.expandCollapseAction\"></svc-tab-button>\n </div>\n <div class=\"svc-sidebar-tabs__separator\">\n <div></div>\n </div>\n <div class=\"svc-sidebar-tabs__items\">\n <svc-tabs [model]=\"model.topToolbar\"></svc-tabs>\n </div>\n </div>\n <div class=\"svc-sidebar-tabs__bottom-container\">\n <div class=\"svc-sidebar-tabs__items\">\n <svc-tabs [model]=\"model.bottomToolbar\"></svc-tabs>\n </div>\n </div>\n </div>\n</ng-template>", styles: [":host { display: none; }"], components: [{ type: TabButtonComponent, selector: "svc-tab-button", inputs: ["model"] }, { type: TabsComponent, selector: "svc-tabs", inputs: ["model"] }] });
|
|
1232
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TabControlComponent, decorators: [{
|
|
1233
|
+
type: i0.Component,
|
|
1234
|
+
args: [{
|
|
1235
|
+
selector: "svc-tab-control",
|
|
1236
|
+
templateUrl: "./tab-control.component.html",
|
|
1237
|
+
styles: [":host { display: none; }"]
|
|
1238
|
+
}]
|
|
1239
|
+
}], propDecorators: { model: [{
|
|
1240
|
+
type: i0.Input
|
|
1241
|
+
}] } });
|
|
1242
|
+
i1.AngularComponentFactory.Instance.registerComponent("svc-tab-control", TabControlComponent);
|
|
1243
|
+
|
|
1244
|
+
var SidebarPropertyGridHeaderComponent = /** @class */ (function (_super) {
|
|
1245
|
+
__extends(SidebarPropertyGridHeaderComponent, _super);
|
|
1246
|
+
function SidebarPropertyGridHeaderComponent() {
|
|
1247
|
+
var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
|
|
1248
|
+
_this.getTarget = surveyCore.getActionDropdownButtonTarget;
|
|
1249
|
+
return _this;
|
|
1250
|
+
}
|
|
1251
|
+
SidebarPropertyGridHeaderComponent.prototype.getModel = function () {
|
|
1252
|
+
return this.model;
|
|
1253
|
+
};
|
|
1254
|
+
return SidebarPropertyGridHeaderComponent;
|
|
1255
|
+
}(i1.BaseAngular));
|
|
1256
|
+
SidebarPropertyGridHeaderComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: SidebarPropertyGridHeaderComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1257
|
+
SidebarPropertyGridHeaderComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: SidebarPropertyGridHeaderComponent, selector: "svc-side-bar-property-grid-header", inputs: { model: "model" }, usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #template>\n <div class=\"svc-sidebar__header svc-sidebar__header--tabbed\">\n <div class=\"svc-sidebar__header-container svc-sidebar__header-container--with-subtitle\">\n <div class=\"svc-sidebar__header-content\" (click)=\"model.action()\">\n <div [class]=\"model.buttonClassName\">\n <div class=\"svc-sidebar__header-caption\">\n <span class=\"svc-sidebar__header-title\">{{model.title}}</span>\n <span class=\"svc-sidebar__header-subtitle\">{{model.tooltip}}</span>\n </div>\n </div>\n <sv-ng-popup [popupModel]=\"model.popupModel\" [getTarget]=\"getTarget\"></sv-ng-popup>\n </div>\n </div>\n </div>\n</ng-template>", styles: [":host { display: none; }"], components: [{ type: i1__namespace.PopupComponent, selector: "sv-ng-popup, '[sv-ng-popup]'", inputs: ["popupModel", "getTarget", "getArea"] }] });
|
|
1258
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: SidebarPropertyGridHeaderComponent, decorators: [{
|
|
1259
|
+
type: i0.Component,
|
|
1260
|
+
args: [{
|
|
1261
|
+
selector: "svc-side-bar-property-grid-header",
|
|
1262
|
+
templateUrl: "./side-bar-property-grid-header.component.html",
|
|
1263
|
+
styles: [":host { display: none; }"]
|
|
1264
|
+
}]
|
|
1265
|
+
}], propDecorators: { model: [{
|
|
1266
|
+
type: i0.Input
|
|
1267
|
+
}] } });
|
|
1268
|
+
i1.AngularComponentFactory.Instance.registerComponent("svc-side-bar-property-grid-header", SidebarPropertyGridHeaderComponent);
|
|
1269
|
+
|
|
1270
|
+
var PropertyGridPlaceholderComponent = /** @class */ (function (_super) {
|
|
1271
|
+
__extends(PropertyGridPlaceholderComponent, _super);
|
|
1272
|
+
function PropertyGridPlaceholderComponent() {
|
|
1273
|
+
var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
|
|
1274
|
+
_this.editorLocalization = surveyCreatorCore.editorLocalization;
|
|
1275
|
+
return _this;
|
|
1276
|
+
}
|
|
1277
|
+
return PropertyGridPlaceholderComponent;
|
|
1278
|
+
}(i1.EmbeddedViewContentComponent));
|
|
1279
|
+
PropertyGridPlaceholderComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: PropertyGridPlaceholderComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1280
|
+
PropertyGridPlaceholderComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: PropertyGridPlaceholderComponent, selector: "svc-property-grid-placeholder", usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #template>\n <div class=\"svc-property-grid-placeholder\">\n <div class=\"svc-property-grid-placeholder__header\">\n <span\n class=\"svc-property-grid-placeholder__title\">{{editorLocalization.getString(\"ed.propertyGridPlaceholderTitle\")}}</span>\n <span\n class=\"svc-property-grid-placeholder__description\">{{editorLocalization.getString(\"ed.propertyGridPlaceholderDescription\")}}</span>\n </div>\n <div class=\"svc-property-grid-placeholder__content\">\n <div class=\"svc-property-grid-placeholder__gap\"></div>\n <div class=\"svc-property-grid-placeholder__image\"></div>\n </div>\n </div>\n</ng-template>", styles: [":host { display: none; }"] });
|
|
1281
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: PropertyGridPlaceholderComponent, decorators: [{
|
|
1282
|
+
type: i0.Component,
|
|
1283
|
+
args: [{
|
|
1284
|
+
selector: "svc-property-grid-placeholder",
|
|
1285
|
+
templateUrl: "./property-grid-placeholder.component.html",
|
|
1286
|
+
styles: [":host { display: none; }"]
|
|
1287
|
+
}]
|
|
1288
|
+
}] });
|
|
1289
|
+
i1.AngularComponentFactory.Instance.registerComponent("svc-property-grid-placeholder", PropertyGridPlaceholderComponent);
|
|
1290
|
+
|
|
1291
|
+
var SidebarHeaderComponent = /** @class */ (function (_super) {
|
|
1292
|
+
__extends(SidebarHeaderComponent, _super);
|
|
1293
|
+
function SidebarHeaderComponent() {
|
|
1294
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
1295
|
+
}
|
|
1296
|
+
SidebarHeaderComponent.prototype.getModel = function () {
|
|
1297
|
+
return this.model;
|
|
1298
|
+
};
|
|
1299
|
+
return SidebarHeaderComponent;
|
|
1300
|
+
}(i1.BaseAngular));
|
|
1301
|
+
SidebarHeaderComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: SidebarHeaderComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1302
|
+
SidebarHeaderComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: SidebarHeaderComponent, selector: "svc-side-bar-header", inputs: { model: "model" }, usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #template>\n <div class=\"svc-side-bar__container-header svc-sidebar__header-container\">\n <ng-container *ngIf=\"!model.subTitle\">\n <div class=\"svc-side-bar__container-title\">{{model.title}}</div>\n </ng-container>\n <ng-container *ngIf=\"!!model.subTitle\">\n <div class=\"svc-sidebar__header-caption\">\n <span class=\"svc-sidebar__header-title\">{{model.title}}</span>\n <span class=\"svc-sidebar__header-subtitle\">{{model.subTitle}}</span>\n </div>\n </ng-container>\n </div>\n</ng-template>", styles: [":host { display: none; }"], directives: [{ type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
1303
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: SidebarHeaderComponent, decorators: [{
|
|
1304
|
+
type: i0.Component,
|
|
1305
|
+
args: [{
|
|
1306
|
+
selector: "svc-side-bar-header",
|
|
1307
|
+
templateUrl: "./side-bar-header.component.html",
|
|
1308
|
+
styles: [":host { display: none; }"]
|
|
1309
|
+
}]
|
|
1310
|
+
}], propDecorators: { model: [{
|
|
1311
|
+
type: i0.Input
|
|
1312
|
+
}] } });
|
|
1313
|
+
i1.AngularComponentFactory.Instance.registerComponent("svc-side-bar-header", SidebarHeaderComponent);
|
|
1314
|
+
|
|
1149
1315
|
var ObjectSelectorComponent = /** @class */ (function (_super) {
|
|
1150
1316
|
__extends(ObjectSelectorComponent, _super);
|
|
1151
1317
|
function ObjectSelectorComponent() {
|
|
@@ -1686,8 +1852,19 @@
|
|
|
1686
1852
|
var AddQuestionButtonComponent = /** @class */ (function (_super) {
|
|
1687
1853
|
__extends(AddQuestionButtonComponent, _super);
|
|
1688
1854
|
function AddQuestionButtonComponent() {
|
|
1689
|
-
|
|
1855
|
+
var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
|
|
1856
|
+
_this.buttonClass = "svc-btn";
|
|
1857
|
+
_this.renderPopup = true;
|
|
1858
|
+
return _this;
|
|
1690
1859
|
}
|
|
1860
|
+
AddQuestionButtonComponent.prototype.getPropertiesToTrack = function () {
|
|
1861
|
+
return [];
|
|
1862
|
+
};
|
|
1863
|
+
AddQuestionButtonComponent.prototype.createModel = function () {
|
|
1864
|
+
};
|
|
1865
|
+
AddQuestionButtonComponent.prototype.getModel = function () {
|
|
1866
|
+
return this.model.data;
|
|
1867
|
+
};
|
|
1691
1868
|
Object.defineProperty(AddQuestionButtonComponent.prototype, "adorner", {
|
|
1692
1869
|
get: function () {
|
|
1693
1870
|
return this.model.data;
|
|
@@ -1699,24 +1876,63 @@
|
|
|
1699
1876
|
event.stopPropagation();
|
|
1700
1877
|
this.adorner.addNewQuestion(this.adorner, event);
|
|
1701
1878
|
};
|
|
1702
|
-
AddQuestionButtonComponent.prototype.selectQuestionType = function (event) {
|
|
1703
|
-
event.stopPropagation();
|
|
1704
|
-
this.adorner.questionTypeSelectorModel.action();
|
|
1705
|
-
};
|
|
1706
1879
|
return AddQuestionButtonComponent;
|
|
1707
|
-
}(
|
|
1880
|
+
}(CreatorModelComponent));
|
|
1708
1881
|
AddQuestionButtonComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: AddQuestionButtonComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1709
|
-
AddQuestionButtonComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: AddQuestionButtonComponent, selector: "svc-add-new-question-btn", usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #template>\n <div *ngIf=\"adorner.showAddQuestionButton\" class=\"svc-
|
|
1882
|
+
AddQuestionButtonComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: AddQuestionButtonComponent, selector: "svc-add-new-question-btn", inputs: { model: "model", buttonClass: "buttonClass", renderPopup: "renderPopup" }, usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #template>\n <div *ngIf=\"adorner.showAddQuestionButton\" [class]=\"'svc-element__add-new-question ' + buttonClass\" [key2click]\n (click)=\"addNewQuestion($event)\"\n (mouseover)=\"adorner.hoverStopper && adorner.hoverStopper($event, $event.currentTarget)\"\n data-bind=\"clickBubble: false\">\n <svg class=\"svc-panel__add-new-question-icon\" [iconName]=\"('icon-add_24x24')\" [size]=\"24\" sv-ng-svg-icon></svg>\n <span class=\"svc-text svc-text--normal svc-text--bold\">\n {{ adorner.addNewQuestionText }}\n </span>\n <ng-template *ngIf=\"renderPopup\"\n [component]=\"{ name: 'svc-add-question-type-selector', data: { questionTypeSelectorModel: adorner.questionTypeSelectorModel, renderPopup: renderPopup } }\">\n </ng-template>\n </div>\n <ng-template *ngIf=\"!renderPopup\"\n [component]=\"{ name: 'svc-add-question-type-selector', data: { questionTypeSelectorModel: adorner.questionTypeSelectorModel, renderPopup: renderPopup } }\">\n </ng-template>\n</ng-template>", styles: [":host { display: none; }"], components: [{ type: i1__namespace.SvgIconComponent, selector: "'[sv-ng-svg-icon]'", inputs: ["size", "width", "height", "iconName", "partCss", "css", "title"] }], directives: [{ type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace.Key2ClickDirective, selector: "[key2click]", inputs: ["key2click"] }, { type: i1__namespace.DynamicComponentDirective, selector: "[component]", inputs: ["component"] }] });
|
|
1710
1883
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: AddQuestionButtonComponent, decorators: [{
|
|
1711
1884
|
type: i0.Component,
|
|
1712
1885
|
args: [{
|
|
1713
1886
|
selector: "svc-add-new-question-btn",
|
|
1714
|
-
templateUrl: "./
|
|
1887
|
+
templateUrl: "./add-question.component.html",
|
|
1715
1888
|
styles: [":host { display: none; }"]
|
|
1716
1889
|
}]
|
|
1717
|
-
}]
|
|
1890
|
+
}], propDecorators: { model: [{
|
|
1891
|
+
type: i0.Input
|
|
1892
|
+
}], buttonClass: [{
|
|
1893
|
+
type: i0.Input
|
|
1894
|
+
}], renderPopup: [{
|
|
1895
|
+
type: i0.Input
|
|
1896
|
+
}] } });
|
|
1718
1897
|
i1.AngularComponentFactory.Instance.registerComponent("svc-add-new-question-btn", AddQuestionButtonComponent);
|
|
1719
1898
|
|
|
1899
|
+
var AddQuestionTypeSelectorComponent = /** @class */ (function (_super) {
|
|
1900
|
+
__extends(AddQuestionTypeSelectorComponent, _super);
|
|
1901
|
+
function AddQuestionTypeSelectorComponent() {
|
|
1902
|
+
var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
|
|
1903
|
+
_this.renderPopup = true;
|
|
1904
|
+
return _this;
|
|
1905
|
+
}
|
|
1906
|
+
AddQuestionTypeSelectorComponent.prototype.getPropertiesToTrack = function () {
|
|
1907
|
+
return [];
|
|
1908
|
+
};
|
|
1909
|
+
AddQuestionTypeSelectorComponent.prototype.createModel = function () {
|
|
1910
|
+
};
|
|
1911
|
+
AddQuestionTypeSelectorComponent.prototype.getModel = function () {
|
|
1912
|
+
return this.questionTypeSelectorModel;
|
|
1913
|
+
};
|
|
1914
|
+
AddQuestionTypeSelectorComponent.prototype.selectQuestionType = function (event) {
|
|
1915
|
+
event.stopPropagation();
|
|
1916
|
+
this.questionTypeSelectorModel.action();
|
|
1917
|
+
};
|
|
1918
|
+
return AddQuestionTypeSelectorComponent;
|
|
1919
|
+
}(CreatorModelComponent));
|
|
1920
|
+
AddQuestionTypeSelectorComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: AddQuestionTypeSelectorComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1921
|
+
AddQuestionTypeSelectorComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: AddQuestionTypeSelectorComponent, selector: "svc-add-question-type-selector", inputs: { questionTypeSelectorModel: "questionTypeSelectorModel", renderPopup: "renderPopup" }, usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #template>\n <button type=\"button\" [key2click] (click)=\"selectQuestionType($event)\" [attr.title]=\"questionTypeSelectorModel.title\"\n [attr.aria-label]=\"questionTypeSelectorModel.title\" class=\"svc-element__question-type-selector\">\n <svg class=\"svc-element__question-type-selector-icon\" [iconName]=\"questionTypeSelectorModel.iconName\" [size]=\"24\"\n sv-ng-svg-icon></svg>\n <sv-ng-popup *ngIf=\"renderPopup\" [popupModel]=\"questionTypeSelectorModel.popupModel\"></sv-ng-popup>\n </button>\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: i1__namespace.PopupComponent, selector: "sv-ng-popup, '[sv-ng-popup]'", inputs: ["popupModel", "getTarget", "getArea"] }], directives: [{ type: i1__namespace.Key2ClickDirective, selector: "[key2click]", inputs: ["key2click"] }, { type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
1922
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: AddQuestionTypeSelectorComponent, decorators: [{
|
|
1923
|
+
type: i0.Component,
|
|
1924
|
+
args: [{
|
|
1925
|
+
selector: "svc-add-question-type-selector",
|
|
1926
|
+
templateUrl: "./add-question-type-selector.component.html",
|
|
1927
|
+
styles: [":host { display: none; }"]
|
|
1928
|
+
}]
|
|
1929
|
+
}], propDecorators: { questionTypeSelectorModel: [{
|
|
1930
|
+
type: i0.Input
|
|
1931
|
+
}], renderPopup: [{
|
|
1932
|
+
type: i0.Input
|
|
1933
|
+
}] } });
|
|
1934
|
+
i1.AngularComponentFactory.Instance.registerComponent("svc-add-question-type-selector", AddQuestionTypeSelectorComponent);
|
|
1935
|
+
|
|
1720
1936
|
var QuestionBannerComponent = /** @class */ (function (_super) {
|
|
1721
1937
|
__extends(QuestionBannerComponent, _super);
|
|
1722
1938
|
function QuestionBannerComponent() {
|
|
@@ -1807,7 +2023,7 @@
|
|
|
1807
2023
|
return QuestionDesignerComponent;
|
|
1808
2024
|
}(CreatorModelComponent));
|
|
1809
2025
|
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 });
|
|
1810
|
-
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 (dblclick)=\"adorner.dblclick($event)\"\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]=\"{ disableTabStop: true }\" (click)=\"adorner.select(adorner, $event)\">\n <div class=\"svc-question__drop-indicator svc-question__drop-indicator--left\"></div>\n <div class=\"svc-question__drop-indicator svc-question__drop-indicator--right\"></div>\n <div class=\"svc-question__drop-indicator svc-question__drop-indicator--top\"></div>\n <div class=\"svc-question__drop-indicator svc-question__drop-indicator--bottom\"></div>\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 class=\"svc-question__top-actions\">\n <sv-action-bar [model]=\"adorner.topActionContainer\" [handleClick]=\"false\"></sv-action-bar>\n </div>\n </div>\n <div *ngIf=\"
|
|
2026
|
+
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 (dblclick)=\"adorner.dblclick($event)\"\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]=\"{ disableTabStop: true }\" (click)=\"adorner.select(adorner, $event)\">\n <div class=\"svc-question__drop-indicator svc-question__drop-indicator--left\"></div>\n <div class=\"svc-question__drop-indicator svc-question__drop-indicator--right\"></div>\n <div class=\"svc-question__drop-indicator svc-question__drop-indicator--top\"></div>\n <div class=\"svc-question__drop-indicator svc-question__drop-indicator--bottom\"></div>\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 class=\"svc-question__top-actions\">\n <sv-action-bar [model]=\"adorner.topActionContainer\" [handleClick]=\"false\"></sv-action-bar>\n </div>\n </div>\n <div *ngIf=\"adorner.showHiddenTitle\" [class]=\"adorner.cssCollapsedHiddenHeader\">\n <div [class]=\"adorner.cssCollapsedHiddenTitle\">\n <sv-ng-string [model]=\"model.locTitle\"></sv-ng-string>\n </div>\n </div>\n <ng-template [component]=\"{ name: componentName, data: componentData }\"></ng-template>\n <div *ngIf=\"adorner.isEmptyElement && !showPlaceholderComponent\" class=\"svc-panel__placeholder_frame-wrapper\">\n <div class=\"svc-panel__placeholder_frame\">\n <div class=\"svc-panel__placeholder\">{{ adorner.placeholderText }}</div>\n </div>\n </div>\n <ng-template *ngIf=\"adorner.isEmptyElement && !!showPlaceholderComponent\"\n [component]=\"{ name: placeholderComponent, data: placeholderComponentData }\">\n </ng-template>\n <ng-template *ngIf=\"adornerComponent\"\n [component]=\"{ name: adornerComponent, data: { adorner: adorner, question: model } }\">\n </ng-template>\n <svc-question-banner *ngIf=\"adorner.isBannerShowing\" [model]=\"adorner.createBannerParams()\">\n </svc-question-banner>\n <div class=\"svc-question__content-actions\" (focusin)=\"adorner.select(adorner, $event)\">\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: i1__namespace.ActionBarComponent, selector: "sv-action-bar, sv-ng-action-bar", inputs: ["model", "handleClick"] }, { type: i1__namespace.SurveyStringComponent, selector: "sv-ng-string, '[sv-ng-string]'", inputs: ["model"] }, { type: QuestionBannerComponent, selector: "svc-question-banner", inputs: ["model"] }], 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"] }] });
|
|
1811
2027
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: QuestionDesignerComponent, decorators: [{
|
|
1812
2028
|
type: i0.Component,
|
|
1813
2029
|
args: [{
|
|
@@ -2004,7 +2220,7 @@
|
|
|
2004
2220
|
return QuestionDropdownDesignerComponent;
|
|
2005
2221
|
}(QuestionDesignerComponent));
|
|
2006
2222
|
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 });
|
|
2007
|
-
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 (dblclick)=\"adorner.dblclick($event)\"\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]=\"{ disableTabStop: true }\" (click)=\"adorner.select(adorner, $event)\">\n <div class=\"svc-question__drop-indicator svc-question__drop-indicator--left\"></div>\n <div class=\"svc-question__drop-indicator svc-question__drop-indicator--right\"></div>\n <div class=\"svc-question__drop-indicator svc-question__drop-indicator--top\"></div>\n <div class=\"svc-question__drop-indicator svc-question__drop-indicator--bottom\"></div>\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 class=\"svc-question__top-actions\">\n <sv-action-bar [model]=\"adorner.topActionContainer\" [handleClick]=\"false\"></sv-action-bar>\n </div>\n </div>\n <div *ngIf=\"
|
|
2223
|
+
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 (dblclick)=\"adorner.dblclick($event)\"\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]=\"{ disableTabStop: true }\" (click)=\"adorner.select(adorner, $event)\">\n <div class=\"svc-question__drop-indicator svc-question__drop-indicator--left\"></div>\n <div class=\"svc-question__drop-indicator svc-question__drop-indicator--right\"></div>\n <div class=\"svc-question__drop-indicator svc-question__drop-indicator--top\"></div>\n <div class=\"svc-question__drop-indicator svc-question__drop-indicator--bottom\"></div>\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 class=\"svc-question__top-actions\">\n <sv-action-bar [model]=\"adorner.topActionContainer\" [handleClick]=\"false\"></sv-action-bar>\n </div>\n </div>\n <div *ngIf=\"adorner.showHiddenTitle\" [class]=\"adorner.cssCollapsedHiddenHeader\">\n <div [class]=\"adorner.cssCollapsedHiddenTitle\">\n <sv-ng-string [model]=\"model.locTitle\"></sv-ng-string>\n </div>\n </div>\n <ng-template [component]=\"{ name: componentName, data: componentData }\"></ng-template>\n <div *ngIf=\"adorner.isEmptyElement && !showPlaceholderComponent\" class=\"svc-panel__placeholder_frame-wrapper\">\n <div class=\"svc-panel__placeholder_frame\">\n <div class=\"svc-panel__placeholder\">{{ adorner.placeholderText }}</div>\n </div>\n </div>\n <ng-template *ngIf=\"adorner.isEmptyElement && !!showPlaceholderComponent\"\n [component]=\"{ name: placeholderComponent, data: placeholderComponentData }\">\n </ng-template>\n <ng-template *ngIf=\"adornerComponent\"\n [component]=\"{ name: adornerComponent, data: { adorner: adorner, question: model } }\">\n </ng-template>\n <svc-question-banner *ngIf=\"adorner.isBannerShowing\" [model]=\"adorner.createBannerParams()\">\n </svc-question-banner>\n <div class=\"svc-question__content-actions\" (focusin)=\"adorner.select(adorner, $event)\">\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: i1__namespace.ActionBarComponent, selector: "sv-action-bar, sv-ng-action-bar", inputs: ["model", "handleClick"] }, { type: i1__namespace.SurveyStringComponent, selector: "sv-ng-string, '[sv-ng-string]'", inputs: ["model"] }, { type: QuestionBannerComponent, selector: "svc-question-banner", inputs: ["model"] }], 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"] }] });
|
|
2008
2224
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: QuestionDropdownDesignerComponent, decorators: [{
|
|
2009
2225
|
type: i0.Component,
|
|
2010
2226
|
args: [{
|
|
@@ -2091,7 +2307,7 @@
|
|
|
2091
2307
|
return QuestionImageDesignerComponent;
|
|
2092
2308
|
}(QuestionDesignerComponent));
|
|
2093
2309
|
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 });
|
|
2094
|
-
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 (dblclick)=\"adorner.dblclick($event)\"\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]=\"{ disableTabStop: true }\" (click)=\"adorner.select(adorner, $event)\">\n <div class=\"svc-question__drop-indicator svc-question__drop-indicator--left\"></div>\n <div class=\"svc-question__drop-indicator svc-question__drop-indicator--right\"></div>\n <div class=\"svc-question__drop-indicator svc-question__drop-indicator--top\"></div>\n <div class=\"svc-question__drop-indicator svc-question__drop-indicator--bottom\"></div>\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 class=\"svc-question__top-actions\">\n <sv-action-bar [model]=\"adorner.topActionContainer\" [handleClick]=\"false\"></sv-action-bar>\n </div>\n </div>\n <div *ngIf=\"
|
|
2310
|
+
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 (dblclick)=\"adorner.dblclick($event)\"\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]=\"{ disableTabStop: true }\" (click)=\"adorner.select(adorner, $event)\">\n <div class=\"svc-question__drop-indicator svc-question__drop-indicator--left\"></div>\n <div class=\"svc-question__drop-indicator svc-question__drop-indicator--right\"></div>\n <div class=\"svc-question__drop-indicator svc-question__drop-indicator--top\"></div>\n <div class=\"svc-question__drop-indicator svc-question__drop-indicator--bottom\"></div>\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 class=\"svc-question__top-actions\">\n <sv-action-bar [model]=\"adorner.topActionContainer\" [handleClick]=\"false\"></sv-action-bar>\n </div>\n </div>\n <div *ngIf=\"adorner.showHiddenTitle\" [class]=\"adorner.cssCollapsedHiddenHeader\">\n <div [class]=\"adorner.cssCollapsedHiddenTitle\">\n <sv-ng-string [model]=\"model.locTitle\"></sv-ng-string>\n </div>\n </div>\n <ng-template [component]=\"{ name: componentName, data: componentData }\"></ng-template>\n <div *ngIf=\"adorner.isEmptyElement && !showPlaceholderComponent\" class=\"svc-panel__placeholder_frame-wrapper\">\n <div class=\"svc-panel__placeholder_frame\">\n <div class=\"svc-panel__placeholder\">{{ adorner.placeholderText }}</div>\n </div>\n </div>\n <ng-template *ngIf=\"adorner.isEmptyElement && !!showPlaceholderComponent\"\n [component]=\"{ name: placeholderComponent, data: placeholderComponentData }\">\n </ng-template>\n <ng-template *ngIf=\"adornerComponent\"\n [component]=\"{ name: adornerComponent, data: { adorner: adorner, question: model } }\">\n </ng-template>\n <svc-question-banner *ngIf=\"adorner.isBannerShowing\" [model]=\"adorner.createBannerParams()\">\n </svc-question-banner>\n <div class=\"svc-question__content-actions\" (focusin)=\"adorner.select(adorner, $event)\">\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: i1__namespace.ActionBarComponent, selector: "sv-action-bar, sv-ng-action-bar", inputs: ["model", "handleClick"] }, { type: i1__namespace.SurveyStringComponent, selector: "sv-ng-string, '[sv-ng-string]'", inputs: ["model"] }, { type: QuestionBannerComponent, selector: "svc-question-banner", inputs: ["model"] }], 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"] }] });
|
|
2095
2311
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: QuestionImageDesignerComponent, decorators: [{
|
|
2096
2312
|
type: i0.Component,
|
|
2097
2313
|
args: [{
|
|
@@ -2135,7 +2351,7 @@
|
|
|
2135
2351
|
return PanelDesignerComponent;
|
|
2136
2352
|
}(QuestionDesignerComponent));
|
|
2137
2353
|
PanelDesignerComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: PanelDesignerComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
2138
|
-
PanelDesignerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: PanelDesignerComponent, selector: "svc-panel", usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #template>\n <div *ngIf=\"adorner\" class=\"svc-question__adorner\" [class]=\"adorner.rootCss()\"
|
|
2354
|
+
PanelDesignerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: PanelDesignerComponent, selector: "svc-panel", usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #template>\n <div *ngIf=\"adorner\" class=\"svc-question__adorner\" [class]=\"adorner.rootCss()\" (dblclick)=\"adorner.dblclick($event)\"\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]=\"{ disableTabStop: true }\"\n (click)=\"adorner.element.isInteractiveDesignElement ? adorner.select(adorner, $event) : null\">\n <div class=\"svc-question__drop-indicator svc-question__drop-indicator--left\"></div>\n <div class=\"svc-question__drop-indicator svc-question__drop-indicator--right\"></div>\n <div class=\"svc-question__drop-indicator svc-question__drop-indicator--top\"></div>\n <div class=\"svc-question__drop-indicator svc-question__drop-indicator--bottom\"></div>\n <div *ngIf=\"adorner.allowDragging && adorner.element.isInteractiveDesignElement\" class=\"svc-question__drag-area\"\n (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 class=\"svc-question__top-actions\">\n <sv-action-bar [model]=\"adorner.topActionContainer\" [handleClick]=\"false\"></sv-action-bar>\n </div>\n </div>\n <div *ngIf=\"adorner.showHiddenTitle\" [class]=\"adorner.cssCollapsedHiddenHeader\">\n <div [class]=\"adorner.cssCollapsedHiddenTitle\">\n <sv-ng-string *ngIf=\"!!model.title\" [model]=\"model.locTitle\"></sv-ng-string>\n <span *ngIf=\"!model.title\" class=\"svc-fake-title\">{{model.name}}</span>\n </div>\n </div>\n <ng-template [component]=\"{ name: componentName, data: componentData }\"></ng-template>\n\n <div *ngIf=\"adorner.isEmptyElement\" class=\"svc-panel__placeholder_frame-wrapper\">\n <div class=\"svc-panel__placeholder_frame\">\n <div class=\"svc-panel__placeholder\">{{ adorner.placeholderText }}</div>\n <div *ngIf=\"adorner.showAddQuestionButton\" class=\"svc-panel__add-new-question svc-action-button\" [key2click]\n (click)=\"addNewQuestion($event)\">\n <svg class=\"svc-panel__add-new-question-icon\" [iconName]=\"('icon-add_24x24')\" [size]=\"24\"\n sv-ng-svg-icon></svg>\n <span class=\"svc-text svc-text--normal svc-text--bold\">\n {{ adorner.addNewQuestionText }}\n </span>\n </div>\n </div>\n </div>\n\n <ng-template *ngIf=\"adornerComponent && adorner.element.isInteractiveDesignElement\"\n [component]=\"{ name: adornerComponent, data: { adorner: adorner, question: model } }\">\n </ng-template>\n\n <div *ngIf=\"!adorner.isEmptyElement && adorner.showAddQuestionButton\"\n class=\"svc-panel__add-new-question-container\">\n <div class=\"svc-panel__question-type-selector-popup\"> <sv-ng-popup\n [popupModel]=\"adorner.questionTypeSelectorModel.popupModel\"></sv-ng-popup>\n </div>\n\n <div class=\"svc-panel__add-new-question-wrapper\">\n <ng-template\n [component]=\"{ name: 'svc-add-new-question-btn', data: { model: { data: adorner }, buttonClass: 'svc-action-button', renderPopup: false } }\">\n </ng-template>\n </div>\n </div>\n\n <div *ngIf=\"adorner.element.isInteractiveDesignElement\" class=\"svc-question__content-actions\"\n (focusin)=\"adorner.select(adorner, $event)\">\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: i1__namespace.ActionBarComponent, selector: "sv-action-bar, sv-ng-action-bar", inputs: ["model", "handleClick"] }, { type: i1__namespace.SurveyStringComponent, selector: "sv-ng-string, '[sv-ng-string]'", inputs: ["model"] }, { type: i1__namespace.PopupComponent, selector: "sv-ng-popup, '[sv-ng-popup]'", inputs: ["popupModel", "getTarget", "getArea"] }], 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"] }] });
|
|
2139
2355
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: PanelDesignerComponent, decorators: [{
|
|
2140
2356
|
type: i0.Component,
|
|
2141
2357
|
args: [{
|
|
@@ -2777,7 +2993,7 @@
|
|
|
2777
2993
|
return QuestionRatingDesignerComponent;
|
|
2778
2994
|
}(QuestionDesignerComponent));
|
|
2779
2995
|
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 });
|
|
2780
|
-
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 (dblclick)=\"adorner.dblclick($event)\"\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]=\"{ disableTabStop: true }\" (click)=\"adorner.select(adorner, $event)\">\n <div class=\"svc-question__drop-indicator svc-question__drop-indicator--left\"></div>\n <div class=\"svc-question__drop-indicator svc-question__drop-indicator--right\"></div>\n <div class=\"svc-question__drop-indicator svc-question__drop-indicator--top\"></div>\n <div class=\"svc-question__drop-indicator svc-question__drop-indicator--bottom\"></div>\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 class=\"svc-question__top-actions\">\n <sv-action-bar [model]=\"adorner.topActionContainer\" [handleClick]=\"false\"></sv-action-bar>\n </div>\n </div>\n <div *ngIf=\"
|
|
2996
|
+
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 (dblclick)=\"adorner.dblclick($event)\"\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]=\"{ disableTabStop: true }\" (click)=\"adorner.select(adorner, $event)\">\n <div class=\"svc-question__drop-indicator svc-question__drop-indicator--left\"></div>\n <div class=\"svc-question__drop-indicator svc-question__drop-indicator--right\"></div>\n <div class=\"svc-question__drop-indicator svc-question__drop-indicator--top\"></div>\n <div class=\"svc-question__drop-indicator svc-question__drop-indicator--bottom\"></div>\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 class=\"svc-question__top-actions\">\n <sv-action-bar [model]=\"adorner.topActionContainer\" [handleClick]=\"false\"></sv-action-bar>\n </div>\n </div>\n <div *ngIf=\"adorner.showHiddenTitle\" [class]=\"adorner.cssCollapsedHiddenHeader\">\n <div [class]=\"adorner.cssCollapsedHiddenTitle\">\n <sv-ng-string [model]=\"model.locTitle\"></sv-ng-string>\n </div>\n </div>\n <ng-template [component]=\"{ name: componentName, data: componentData }\"></ng-template>\n <div *ngIf=\"adorner.isEmptyElement && !showPlaceholderComponent\" class=\"svc-panel__placeholder_frame-wrapper\">\n <div class=\"svc-panel__placeholder_frame\">\n <div class=\"svc-panel__placeholder\">{{ adorner.placeholderText }}</div>\n </div>\n </div>\n <ng-template *ngIf=\"adorner.isEmptyElement && !!showPlaceholderComponent\"\n [component]=\"{ name: placeholderComponent, data: placeholderComponentData }\">\n </ng-template>\n <ng-template *ngIf=\"adornerComponent\"\n [component]=\"{ name: adornerComponent, data: { adorner: adorner, question: model } }\">\n </ng-template>\n <svc-question-banner *ngIf=\"adorner.isBannerShowing\" [model]=\"adorner.createBannerParams()\">\n </svc-question-banner>\n <div class=\"svc-question__content-actions\" (focusin)=\"adorner.select(adorner, $event)\">\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: i1__namespace.ActionBarComponent, selector: "sv-action-bar, sv-ng-action-bar", inputs: ["model", "handleClick"] }, { type: i1__namespace.SurveyStringComponent, selector: "sv-ng-string, '[sv-ng-string]'", inputs: ["model"] }, { type: QuestionBannerComponent, selector: "svc-question-banner", inputs: ["model"] }], 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"] }] });
|
|
2781
2997
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: QuestionRatingDesignerComponent, decorators: [{
|
|
2782
2998
|
type: i0.Component,
|
|
2783
2999
|
args: [{
|
|
@@ -2979,6 +3195,25 @@
|
|
|
2979
3195
|
i1.AngularComponentFactory.Instance.registerComponent("textwithreset-question", QuestionTextWithResetComponent);
|
|
2980
3196
|
i1.AngularComponentFactory.Instance.registerComponent("commentwithreset-question", QuestionTextWithResetComponent);
|
|
2981
3197
|
|
|
3198
|
+
var BooleanSwitchComponent = /** @class */ (function (_super) {
|
|
3199
|
+
__extends(BooleanSwitchComponent, _super);
|
|
3200
|
+
function BooleanSwitchComponent() {
|
|
3201
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
3202
|
+
}
|
|
3203
|
+
return BooleanSwitchComponent;
|
|
3204
|
+
}(i1.QuestionAngular));
|
|
3205
|
+
BooleanSwitchComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: BooleanSwitchComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
3206
|
+
BooleanSwitchComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: BooleanSwitchComponent, selector: "sv-ng-boolean-switch", usesInheritance: true, ngImport: i0__namespace, template: "<div class=\"spg-boolean-switch\" role=\"checkbox\" [attr.aria-required]=\"model.a11y_input_ariaRequired\"\n [attr.aria-label]=\"model.a11y_input_ariaLabel\" [attr.aria-labelledby]=\"model.a11y_input_ariaLabelledBy\"\n [attr.aria-describedby]=\"model.a11y_input_ariaDescribedBy\" [attr.aria-invalid]=\"model.a11y_input_ariaInvalid\"\n [attr.aria-errormessage]=\"model.a11y_input_ariaErrormessage\" (click)=\"model.value = !model.value\">\n <div class=\"spg-boolean-switch__button\" tabindex=\"0\"\n [class]=\"model.value ? 'spg-boolean-switch__button--checked' : ''\">\n <div class=\"spg-boolean-switch__thumb\">\n <div class=\"spg-boolean-switch__thumb-circle spg-boolean-switch__thumb--left\"></div>\n </div>\n <div class=\"spg-boolean-switch__thumb\">\n <div class=\"spg-boolean-switch__thumb-circle spg-boolean-switch__thumb--right\"></div>\n </div>\n </div>\n <div class=\"spg-boolean-switch__caption\">\n <div class=\"spg-boolean-switch__title\">\n <span [model]=\"model.locTitle\" sv-ng-string></span>\n </div>\n </div>\n</div>", components: [{ type: i1__namespace.SurveyStringComponent, selector: "sv-ng-string, '[sv-ng-string]'", inputs: ["model"] }] });
|
|
3207
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: BooleanSwitchComponent, decorators: [{
|
|
3208
|
+
type: i0.Component,
|
|
3209
|
+
args: [{
|
|
3210
|
+
selector: "sv-ng-boolean-switch",
|
|
3211
|
+
templateUrl: "./boolean-switch.component.html"
|
|
3212
|
+
}]
|
|
3213
|
+
}] });
|
|
3214
|
+
i1.AngularComponentFactory.Instance.registerComponent("sv-boolean-switch", BooleanSwitchComponent);
|
|
3215
|
+
surveyCore.RendererFactory.Instance.registerRenderer("boolean", "switch", "sv-boolean-switch");
|
|
3216
|
+
|
|
2982
3217
|
var JsonErrorItemComponent = /** @class */ (function (_super) {
|
|
2983
3218
|
__extends(JsonErrorItemComponent, _super);
|
|
2984
3219
|
function JsonErrorItemComponent() {
|
|
@@ -3037,35 +3272,39 @@
|
|
|
3037
3272
|
return SurveyCreatorModule;
|
|
3038
3273
|
}());
|
|
3039
3274
|
SurveyCreatorModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: SurveyCreatorModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
3040
|
-
SurveyCreatorModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: SurveyCreatorModule, declarations: [CreatorComponent, DesignerTabComponent, PageDesignerComponent, QuestionDesignerComponent, PanelDesignerComponent, TabbledMenuComponent, TabbedMenuItemComponent, TabbedMenuItemWrapperComponent, SidebarComponent,
|
|
3275
|
+
SurveyCreatorModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: SurveyCreatorModule, declarations: [CreatorComponent, DesignerTabComponent, PageDesignerComponent, QuestionDesignerComponent, PanelDesignerComponent, TabbledMenuComponent, TabbedMenuItemComponent, TabbedMenuItemWrapperComponent, SidebarComponent, SidebarPageComponent, SidebarDefaultHeaderComponent, ObjectSelectorComponent, SidebarPropertyGridHeaderComponent, PropertyGridPlaceholderComponent, SidebarHeaderComponent, TabControlComponent, TabsComponent, TabButtonComponent, PropertyGridComponent, SearchComponent, TextareaJsonEditorComponent, AceJsonEditorComponent, LogicTabComponent, LogicAddButtonComponent, ActionButtonComponent, QuestionPgErrorComponent, SwitcherComponent, LinkValueQuestionComponent, EmbeddedSurveyQuestionComponent, TranslationTabComponent, TranslationSkeletonComponent, SimulatorComponent, TestTabComponent, TestAgainActionComponent, SurveyResultsComponent, SurveyResultsTableRowComponent, ThemeTabComponent,
|
|
3041
3276
|
AdaptiveToolboxComponent, ToolboxToolComponent, ToolboxItemComponent, ToolboxItemGroupComponent, ToolboxListComponent, ToolboxCategoryComponent, StringEditorComponent, PageNavigatorComponent, PageNavigatorItemComponent,
|
|
3042
3277
|
QuestionDropdownDesignerComponent, QuestionDropdownAdornerDesignerComponent, QuestionImageDesignerComponent, QuestionImageAdornerDesignerComponent,
|
|
3043
3278
|
ItemValueDesignerComponent, ImageItemValueDesignerComponent, LogicOperatorComponent, MatrixCellComponent, QuestionEditorComponent, CellQuestionDropdownComponent, CreatorRowComponent, DesignerPagesComponent, DesignerSurveyComponent, CellQuestionComponent, QuestionWidgetDesignerComponent, ToolboxComponent, CreatorLogoImageComponent,
|
|
3044
|
-
QuestionRatingAdornerDesignerComponent, QuestionRatingDesignerComponent, QuestionSpinEditorComponent, ColorItemComponent, QuestionColorComponent, QuestionFileEditorComponent, AddQuestionButtonComponent, QuestionBannerComponent, JsonErrorItemComponent, QuestionTextWithResetComponent,
|
|
3279
|
+
QuestionRatingAdornerDesignerComponent, QuestionRatingDesignerComponent, QuestionSpinEditorComponent, ColorItemComponent, QuestionColorComponent, QuestionFileEditorComponent, AddQuestionButtonComponent, QuestionBannerComponent, JsonErrorItemComponent, QuestionTextWithResetComponent,
|
|
3280
|
+
BooleanSwitchComponent, TranslateFromAction, AddQuestionTypeSelectorComponent], imports: [i2.CommonModule, i3.FormsModule, i1.SurveyModule], exports: [CreatorComponent, DesignerTabComponent, PageDesignerComponent, QuestionDesignerComponent, PanelDesignerComponent, TabbledMenuComponent, TabbedMenuItemComponent, TabbedMenuItemWrapperComponent, SidebarComponent, SidebarPageComponent, SidebarDefaultHeaderComponent, SidebarPropertyGridHeaderComponent, PropertyGridPlaceholderComponent, SidebarHeaderComponent, TabControlComponent, TabsComponent, TabButtonComponent, ObjectSelectorComponent, PropertyGridComponent, SearchComponent, TextareaJsonEditorComponent, AceJsonEditorComponent, LogicTabComponent, LogicAddButtonComponent, ActionButtonComponent, QuestionPgErrorComponent, SwitcherComponent, LinkValueQuestionComponent, EmbeddedSurveyQuestionComponent, TranslationTabComponent, TranslationSkeletonComponent, SimulatorComponent, TestTabComponent, TestAgainActionComponent, SurveyResultsComponent, SurveyResultsTableRowComponent, ThemeTabComponent,
|
|
3045
3281
|
AdaptiveToolboxComponent, ToolboxToolComponent, ToolboxItemComponent, ToolboxItemGroupComponent, ToolboxListComponent, ToolboxCategoryComponent, StringEditorComponent, PageNavigatorComponent, PageNavigatorItemComponent,
|
|
3046
3282
|
QuestionDropdownDesignerComponent, QuestionDropdownAdornerDesignerComponent, QuestionImageDesignerComponent, QuestionImageAdornerDesignerComponent,
|
|
3047
3283
|
ItemValueDesignerComponent, ImageItemValueDesignerComponent, LogicOperatorComponent, MatrixCellComponent, QuestionEditorComponent, CellQuestionDropdownComponent, CreatorRowComponent, DesignerPagesComponent, DesignerSurveyComponent, CellQuestionComponent, QuestionWidgetDesignerComponent, ToolboxComponent, CreatorLogoImageComponent,
|
|
3048
|
-
QuestionRatingAdornerDesignerComponent, QuestionRatingDesignerComponent, QuestionSpinEditorComponent, ColorItemComponent, QuestionColorComponent, QuestionFileEditorComponent, AddQuestionButtonComponent, QuestionBannerComponent, JsonErrorItemComponent, QuestionTextWithResetComponent, TranslateFromAction
|
|
3284
|
+
QuestionRatingAdornerDesignerComponent, QuestionRatingDesignerComponent, QuestionSpinEditorComponent, ColorItemComponent, QuestionColorComponent, QuestionFileEditorComponent, AddQuestionButtonComponent, QuestionBannerComponent, JsonErrorItemComponent, QuestionTextWithResetComponent, BooleanSwitchComponent, TranslateFromAction,
|
|
3285
|
+
AddQuestionTypeSelectorComponent] });
|
|
3049
3286
|
SurveyCreatorModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: SurveyCreatorModule, providers: [], imports: [[
|
|
3050
3287
|
i2.CommonModule, i3.FormsModule, i1.SurveyModule
|
|
3051
3288
|
]] });
|
|
3052
3289
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: SurveyCreatorModule, decorators: [{
|
|
3053
3290
|
type: i0.NgModule,
|
|
3054
3291
|
args: [{
|
|
3055
|
-
declarations: [CreatorComponent, DesignerTabComponent, PageDesignerComponent, QuestionDesignerComponent, PanelDesignerComponent, TabbledMenuComponent, TabbedMenuItemComponent, TabbedMenuItemWrapperComponent, SidebarComponent,
|
|
3292
|
+
declarations: [CreatorComponent, DesignerTabComponent, PageDesignerComponent, QuestionDesignerComponent, PanelDesignerComponent, TabbledMenuComponent, TabbedMenuItemComponent, TabbedMenuItemWrapperComponent, SidebarComponent, SidebarPageComponent, SidebarDefaultHeaderComponent, ObjectSelectorComponent, SidebarPropertyGridHeaderComponent, PropertyGridPlaceholderComponent, SidebarHeaderComponent, TabControlComponent, TabsComponent, TabButtonComponent, PropertyGridComponent, SearchComponent, TextareaJsonEditorComponent, AceJsonEditorComponent, LogicTabComponent, LogicAddButtonComponent, ActionButtonComponent, QuestionPgErrorComponent, SwitcherComponent, LinkValueQuestionComponent, EmbeddedSurveyQuestionComponent, TranslationTabComponent, TranslationSkeletonComponent, SimulatorComponent, TestTabComponent, TestAgainActionComponent, SurveyResultsComponent, SurveyResultsTableRowComponent, ThemeTabComponent,
|
|
3056
3293
|
AdaptiveToolboxComponent, ToolboxToolComponent, ToolboxItemComponent, ToolboxItemGroupComponent, ToolboxListComponent, ToolboxCategoryComponent, StringEditorComponent, PageNavigatorComponent, PageNavigatorItemComponent,
|
|
3057
3294
|
QuestionDropdownDesignerComponent, QuestionDropdownAdornerDesignerComponent, QuestionImageDesignerComponent, QuestionImageAdornerDesignerComponent,
|
|
3058
3295
|
ItemValueDesignerComponent, ImageItemValueDesignerComponent, LogicOperatorComponent, MatrixCellComponent, QuestionEditorComponent, CellQuestionDropdownComponent, CreatorRowComponent, DesignerPagesComponent, DesignerSurveyComponent, CellQuestionComponent, QuestionWidgetDesignerComponent, ToolboxComponent, CreatorLogoImageComponent,
|
|
3059
|
-
QuestionRatingAdornerDesignerComponent, QuestionRatingDesignerComponent, QuestionSpinEditorComponent, ColorItemComponent, QuestionColorComponent, QuestionFileEditorComponent, AddQuestionButtonComponent, QuestionBannerComponent, JsonErrorItemComponent, QuestionTextWithResetComponent,
|
|
3296
|
+
QuestionRatingAdornerDesignerComponent, QuestionRatingDesignerComponent, QuestionSpinEditorComponent, ColorItemComponent, QuestionColorComponent, QuestionFileEditorComponent, AddQuestionButtonComponent, QuestionBannerComponent, JsonErrorItemComponent, QuestionTextWithResetComponent,
|
|
3297
|
+
BooleanSwitchComponent, TranslateFromAction, AddQuestionTypeSelectorComponent],
|
|
3060
3298
|
imports: [
|
|
3061
3299
|
i2.CommonModule, i3.FormsModule, i1.SurveyModule
|
|
3062
3300
|
],
|
|
3063
3301
|
exports: [
|
|
3064
|
-
CreatorComponent, DesignerTabComponent, PageDesignerComponent, QuestionDesignerComponent, PanelDesignerComponent, TabbledMenuComponent, TabbedMenuItemComponent, TabbedMenuItemWrapperComponent, SidebarComponent,
|
|
3302
|
+
CreatorComponent, DesignerTabComponent, PageDesignerComponent, QuestionDesignerComponent, PanelDesignerComponent, TabbledMenuComponent, TabbedMenuItemComponent, TabbedMenuItemWrapperComponent, SidebarComponent, SidebarPageComponent, SidebarDefaultHeaderComponent, SidebarPropertyGridHeaderComponent, PropertyGridPlaceholderComponent, SidebarHeaderComponent, TabControlComponent, TabsComponent, TabButtonComponent, ObjectSelectorComponent, PropertyGridComponent, SearchComponent, TextareaJsonEditorComponent, AceJsonEditorComponent, LogicTabComponent, LogicAddButtonComponent, ActionButtonComponent, QuestionPgErrorComponent, SwitcherComponent, LinkValueQuestionComponent, EmbeddedSurveyQuestionComponent, TranslationTabComponent, TranslationSkeletonComponent, SimulatorComponent, TestTabComponent, TestAgainActionComponent, SurveyResultsComponent, SurveyResultsTableRowComponent, ThemeTabComponent,
|
|
3065
3303
|
AdaptiveToolboxComponent, ToolboxToolComponent, ToolboxItemComponent, ToolboxItemGroupComponent, ToolboxListComponent, ToolboxCategoryComponent, StringEditorComponent, PageNavigatorComponent, PageNavigatorItemComponent,
|
|
3066
3304
|
QuestionDropdownDesignerComponent, QuestionDropdownAdornerDesignerComponent, QuestionImageDesignerComponent, QuestionImageAdornerDesignerComponent,
|
|
3067
3305
|
ItemValueDesignerComponent, ImageItemValueDesignerComponent, LogicOperatorComponent, MatrixCellComponent, QuestionEditorComponent, CellQuestionDropdownComponent, CreatorRowComponent, DesignerPagesComponent, DesignerSurveyComponent, CellQuestionComponent, QuestionWidgetDesignerComponent, ToolboxComponent, CreatorLogoImageComponent,
|
|
3068
|
-
QuestionRatingAdornerDesignerComponent, QuestionRatingDesignerComponent, QuestionSpinEditorComponent, ColorItemComponent, QuestionColorComponent, QuestionFileEditorComponent, AddQuestionButtonComponent, QuestionBannerComponent, JsonErrorItemComponent, QuestionTextWithResetComponent, TranslateFromAction
|
|
3306
|
+
QuestionRatingAdornerDesignerComponent, QuestionRatingDesignerComponent, QuestionSpinEditorComponent, ColorItemComponent, QuestionColorComponent, QuestionFileEditorComponent, AddQuestionButtonComponent, QuestionBannerComponent, JsonErrorItemComponent, QuestionTextWithResetComponent, BooleanSwitchComponent, TranslateFromAction,
|
|
3307
|
+
AddQuestionTypeSelectorComponent
|
|
3069
3308
|
],
|
|
3070
3309
|
providers: [],
|
|
3071
3310
|
}]
|
|
@@ -3079,6 +3318,8 @@
|
|
|
3079
3318
|
exports.ActionButtonComponent = ActionButtonComponent;
|
|
3080
3319
|
exports.AdaptiveToolboxComponent = AdaptiveToolboxComponent;
|
|
3081
3320
|
exports.AddQuestionButtonComponent = AddQuestionButtonComponent;
|
|
3321
|
+
exports.AddQuestionTypeSelectorComponent = AddQuestionTypeSelectorComponent;
|
|
3322
|
+
exports.BooleanSwitchComponent = BooleanSwitchComponent;
|
|
3082
3323
|
exports.CellQuestionComponent = CellQuestionComponent;
|
|
3083
3324
|
exports.CellQuestionDropdownComponent = CellQuestionDropdownComponent;
|
|
3084
3325
|
exports.ColorItemComponent = ColorItemComponent;
|
|
@@ -3103,6 +3344,7 @@
|
|
|
3103
3344
|
exports.PageNavigatorItemComponent = PageNavigatorItemComponent;
|
|
3104
3345
|
exports.PanelDesignerComponent = PanelDesignerComponent;
|
|
3105
3346
|
exports.PropertyGridComponent = PropertyGridComponent;
|
|
3347
|
+
exports.PropertyGridPlaceholderComponent = PropertyGridPlaceholderComponent;
|
|
3106
3348
|
exports.QuestionBannerComponent = QuestionBannerComponent;
|
|
3107
3349
|
exports.QuestionColorComponent = QuestionColorComponent;
|
|
3108
3350
|
exports.QuestionDesignerComponent = QuestionDesignerComponent;
|
|
@@ -3120,16 +3362,22 @@
|
|
|
3120
3362
|
exports.QuestionWidgetDesignerComponent = QuestionWidgetDesignerComponent;
|
|
3121
3363
|
exports.SearchComponent = SearchComponent;
|
|
3122
3364
|
exports.SidebarComponent = SidebarComponent;
|
|
3123
|
-
exports.
|
|
3365
|
+
exports.SidebarDefaultHeaderComponent = SidebarDefaultHeaderComponent;
|
|
3366
|
+
exports.SidebarHeaderComponent = SidebarHeaderComponent;
|
|
3367
|
+
exports.SidebarPageComponent = SidebarPageComponent;
|
|
3368
|
+
exports.SidebarPropertyGridHeaderComponent = SidebarPropertyGridHeaderComponent;
|
|
3124
3369
|
exports.SimulatorComponent = SimulatorComponent;
|
|
3125
3370
|
exports.StringEditorComponent = StringEditorComponent;
|
|
3126
3371
|
exports.SurveyCreatorModule = SurveyCreatorModule;
|
|
3127
3372
|
exports.SurveyResultsComponent = SurveyResultsComponent;
|
|
3128
3373
|
exports.SurveyResultsTableRowComponent = SurveyResultsTableRowComponent;
|
|
3129
3374
|
exports.SwitcherComponent = SwitcherComponent;
|
|
3375
|
+
exports.TabButtonComponent = TabButtonComponent;
|
|
3376
|
+
exports.TabControlComponent = TabControlComponent;
|
|
3130
3377
|
exports.TabbedMenuItemComponent = TabbedMenuItemComponent;
|
|
3131
3378
|
exports.TabbedMenuItemWrapperComponent = TabbedMenuItemWrapperComponent;
|
|
3132
3379
|
exports.TabbledMenuComponent = TabbledMenuComponent;
|
|
3380
|
+
exports.TabsComponent = TabsComponent;
|
|
3133
3381
|
exports.TestAgainActionComponent = TestAgainActionComponent;
|
|
3134
3382
|
exports.TestTabComponent = TestTabComponent;
|
|
3135
3383
|
exports.TextareaJsonEditorComponent = TextareaJsonEditorComponent;
|