survey-creator-angular 1.12.2 → 1.12.4
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/adorners/question-image.component.d.ts +1 -4
- package/angular-ui.d.ts +12 -9
- package/angular-ui.module.d.ts +68 -65
- package/bundles/survey-creator-angular.umd.js +132 -41
- package/bundles/survey-creator-angular.umd.js.map +1 -1
- package/components/surface-placeholder.component.d.ts +9 -0
- package/custom-questions/boolean-switch.component.d.ts +7 -0
- package/esm2015/adorners/question-dropdown.component.js +2 -2
- package/esm2015/adorners/question-image.component.js +5 -12
- package/esm2015/adorners/question-rating.component.js +2 -2
- package/esm2015/angular-ui.js +13 -10
- package/esm2015/angular-ui.module.js +24 -17
- package/esm2015/components/surface-placeholder.component.js +23 -0
- package/esm2015/custom-questions/boolean-switch.component.js +19 -0
- package/esm2015/page.component.js +16 -3
- package/esm2015/panel.component.js +2 -2
- package/esm2015/property-panel/object-selector.component.js +23 -23
- package/esm2015/property-panel/property-grid.component.js +28 -28
- package/esm2015/property-panel/search.component.js +24 -24
- package/esm2015/question-widget.component.js +2 -2
- package/esm2015/question.component.js +13 -3
- 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-property-grid-header.component.js +28 -0
- 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 +21 -21
- package/esm2015/tab-control/property-grid-placeholder.component.js +21 -21
- package/esm2015/tab-control/side-bar-property-grid-header.component.js +27 -27
- package/esm2015/tab-control/tab-button.component.js +22 -22
- package/esm2015/tab-control/tab-control.component.js +23 -23
- package/esm2015/tab-control/tabs.component.js +22 -22
- package/esm2015/tabs/designer/designer.component.js +6 -5
- package/esm2015/tabs/logic/logic.component.js +5 -4
- package/esm2015/tabs/preview/test.component.js +7 -6
- package/esm2015/tabs/theme/theme.component.js +7 -6
- package/esm2015/tabs/translation/translation.component.js +5 -4
- package/esm2015/toolbox/adaptive-toolbox.component.js +1 -1
- package/fesm2015/survey-creator-angular.js +110 -37
- package/fesm2015/survey-creator-angular.js.map +1 -1
- package/package.json +4 -4
- package/page.component.d.ts +3 -0
- 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/question.component.d.ts +3 -0
- 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-property-grid-header.component.d.ts +10 -0
- 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 -9
- package/tab-control/property-grid-placeholder.component.d.ts +7 -7
- package/tab-control/side-bar-property-grid-header.component.d.ts +10 -10
- package/tab-control/tab-button.component.d.ts +9 -9
- package/tab-control/tab-control.component.d.ts +9 -9
- package/tab-control/tabs.component.d.ts +10 -10
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { Component, Input } from "@angular/core";
|
|
2
2
|
import { AngularComponentFactory, BaseAngular } from "survey-angular-ui";
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "
|
|
5
|
-
import * as i2 from "
|
|
4
|
+
import * as i1 from "../../components/surface-placeholder.component";
|
|
5
|
+
import * as i2 from "survey-angular-ui";
|
|
6
|
+
import * as i3 from "@angular/common";
|
|
6
7
|
export class TranslationTabComponent extends BaseAngular {
|
|
7
8
|
getModel() {
|
|
8
9
|
return this.model;
|
|
9
10
|
}
|
|
10
11
|
}
|
|
11
12
|
TranslationTabComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TranslationTabComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
12
|
-
TranslationTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TranslationTabComponent, selector: "svc-tab-translation", inputs: { model: "model" }, usesInheritance: true, ngImport: i0, template: "<ng-template #template>\n <div class=\"svc-creator-tab__content svc-translation-tab\"
|
|
13
|
+
TranslationTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TranslationTabComponent, selector: "svc-tab-translation", inputs: { model: "model" }, usesInheritance: true, ngImport: i0, template: "<ng-template #template>\n <div class=\"svc-creator-tab__content svc-translation-tab\" [class]=\"model.isEmpty ? 'svc-translation-tab--empty' : ''\">\n <svc-surface-placeholder *ngIf=\"model.isEmpty\" [name]=\"'translation'\"\n [placeholderTitleText]=\"model.placeholderTitleText\"\n [placeholderDescriptionText]=\"model.placeholderDescriptionText\">\n </svc-surface-placeholder>\n <div *ngIf=\"!model.isEmpty\" class=\"st-content\">\n <div class=\"svc-flex-column st-strings-wrapper\">\n <div class=\"svc-flex-row st-strings-header\">\n <survey-content [model]=\"model.stringsHeaderSurvey\"></survey-content>\n </div>\n <div class=\"svc-flex-row svc-plugin-tab__content st-strings\">\n <survey-content [model]=\"model.stringsSurvey\"></survey-content>\n </div>\n </div>\n </div>\n </div>\n</ng-template>", styles: [":host { display: none; }"], components: [{ type: i1.SurfacePlaceholderComponent, selector: "svc-surface-placeholder", inputs: ["name", "placeholderTitleText", "placeholderDescriptionText"] }, { type: i2.SurveyContentComponent, selector: "survey-content", inputs: ["model"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
13
14
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TranslationTabComponent, decorators: [{
|
|
14
15
|
type: Component,
|
|
15
16
|
args: [{
|
|
@@ -21,4 +22,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
21
22
|
type: Input
|
|
22
23
|
}] } });
|
|
23
24
|
AngularComponentFactory.Instance.registerComponent("svc-tab-translation", TranslationTabComponent);
|
|
24
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
25
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNsYXRpb24uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL3RhYnMvdHJhbnNsYXRpb24vdHJhbnNsYXRpb24uY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vc3JjL3RhYnMvdHJhbnNsYXRpb24vdHJhbnNsYXRpb24uY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDakQsT0FBTyxFQUFFLHVCQUF1QixFQUFFLFdBQVcsRUFBRSxNQUFNLG1CQUFtQixDQUFDOzs7OztBQVF6RSxNQUFNLE9BQU8sdUJBQXdCLFNBQVEsV0FBd0I7SUFHekQsUUFBUTtRQUNoQixPQUFPLElBQUksQ0FBQyxLQUFLLENBQUM7SUFDcEIsQ0FBQzs7cUhBTFUsdUJBQXVCO3lHQUF2Qix1QkFBdUIsOEdDVHBDLHEzQkFpQmM7NEZEUkQsdUJBQXVCO2tCQUxuQyxTQUFTO21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J2ZXlcIj48L3N1cnZleS1jb250ZW50PlxuICAgICAgICA8L2Rpdj5cbiAgICAgIDwvZGl2PlxuICAgIDwvZGl2PlxuICA8L2Rpdj5cbjwvbmctdGVtcGxhdGU+Il19
|
|
@@ -3,7 +3,7 @@ import { VerticalResponsivityManager } from "survey-core";
|
|
|
3
3
|
import { BaseAngular } from "survey-angular-ui";
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
import * as i1 from "./toolbox-tool.component";
|
|
6
|
-
import * as i2 from "../
|
|
6
|
+
import * as i2 from "../side-bar/search.component";
|
|
7
7
|
import * as i3 from "./toolbox-category.component";
|
|
8
8
|
import * as i4 from "@angular/common";
|
|
9
9
|
export class AdaptiveToolboxComponent extends BaseAngular {
|