survey-creator-angular 2.5.11 → 2.5.13
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/bundles/survey-creator-angular-ui-preset-editor.umd.js +1 -1
- package/bundles/survey-creator-angular-ui-preset-editor.umd.js.map +1 -1
- package/bundles/survey-creator-angular.umd.js +1 -1
- package/bundles/survey-creator-angular.umd.js.map +1 -1
- package/esm2015/components/component-container.component.js +2 -2
- package/esm2015/ui-preset-editor/presets.component.js +2 -2
- package/fesm2015/survey-creator-angular-ui-preset-editor.js +1 -1
- package/fesm2015/survey-creator-angular-ui-preset-editor.js.map +1 -1
- package/fesm2015/survey-creator-angular.js +1 -1
- package/fesm2015/survey-creator-angular.js.map +1 -1
- package/package.json +4 -4
|
@@ -6,7 +6,7 @@ import * as i2 from "survey-angular-ui";
|
|
|
6
6
|
export class ComponentContainerComponent extends EmbeddedViewContentComponent {
|
|
7
7
|
}
|
|
8
8
|
ComponentContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ComponentContainerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
9
|
-
ComponentContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: ComponentContainerComponent, selector: "svc-component-container", inputs: { model: "model" }, usesInheritance: true, ngImport: i0, template: "<ng-template #template>\n <div class=\"
|
|
9
|
+
ComponentContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: ComponentContainerComponent, selector: "svc-component-container", inputs: { model: "model" }, usesInheritance: true, ngImport: i0, template: "<ng-template #template>\n <div [class]=\"model.cssClass\" >\n <ng-template *ngFor=\"let element of model.elements\" [component]=\"{ name: element.componentName, data: element.componentData }\"></ng-template>\n </div>\n</ng-template>", styles: [":host { display: none; }"], directives: [{ type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2.DynamicComponentDirective, selector: "[component]", inputs: ["component"] }] });
|
|
10
10
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ComponentContainerComponent, decorators: [{
|
|
11
11
|
type: Component,
|
|
12
12
|
args: [{
|
|
@@ -18,4 +18,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
18
18
|
type: Input
|
|
19
19
|
}] } });
|
|
20
20
|
AngularComponentFactory.Instance.registerComponent("svc-component-container", ComponentContainerComponent);
|
|
21
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
21
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcG9uZW50LWNvbnRhaW5lci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvY29tcG9uZW50cy9jb21wb25lbnQtY29udGFpbmVyLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL2NvbXBvbmVudC1jb250YWluZXIuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDakQsT0FBTyxFQUFFLHVCQUF1QixFQUFFLDRCQUE0QixFQUFFLE1BQU0sbUJBQW1CLENBQUM7Ozs7QUFRMUYsTUFBTSxPQUFPLDJCQUE0QixTQUFRLDRCQUE0Qjs7eUhBQWhFLDJCQUEyQjs2R0FBM0IsMkJBQTJCLGtIQ1R4QywrT0FJYzs0RkRLRCwyQkFBMkI7a0JBTHZDLFNBQVM7bUJBQUM7b0JBQ1QsUUFBUSxFQUFFLHlCQUF5QjtvQkFDbkMsV0FBVyxFQUFFLHNDQUFzQztvQkFDbkQsTUFBTSx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8bmctdGVtcGxhdGUgKm5nRm9yPVwibGV0IGVsZW1lbnQgb2YgbW9kZWwuZWxlbWVudHNcIiBbY29tcG9uZW50XT1cInsgbmFtZTogZWxlbWVudC5jb21wb25lbnROYW1lLCBkYXRhOiBlbGVtZW50LmNvbXBvbmVudERhdGEgfVwiPjwvbmctdGVtcGxhdGU+XG4gIDwvZGl2PlxuPC9uZy10ZW1wbGF0ZT4iXX0=
|
|
@@ -22,7 +22,7 @@ export class TabPresetsComponent extends BaseAngular {
|
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
TabPresetsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TabPresetsComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
25
|
-
TabPresetsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TabPresetsComponent, selector: "svc-tab-presets", inputs: { model: "model" }, usesInheritance: true, ngImport: i0, template: "<ng-template #template>\n <div class=\"svc-flex-column\">\n <ng-template *ngIf=\"creator?.showToolbox\" [component]=\"{ name: 'svc-toolbox', data: {model: creator} }\">\n </ng-template>\n </div>\n <div class=\"svc-tab-designer svc-tab-designer--presets\">\n <sv-action-bar [model]=\"navigationBar\" [handleClick]=\"false\"></sv-action-bar>\n
|
|
25
|
+
TabPresetsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TabPresetsComponent, selector: "svc-tab-presets", inputs: { model: "model" }, usesInheritance: true, ngImport: i0, template: "<ng-template #template>\n <div class=\"svc-flex-column\">\n <ng-template *ngIf=\"creator?.showToolbox\" [component]=\"{ name: 'svc-toolbox', data: {model: creator} }\">\n </ng-template>\n </div>\n <div class=\"svc-tab-designer svc-tab-designer--presets\">\n <sv-scroll>\n <sv-action-bar [model]=\"navigationBar\" [handleClick]=\"false\"></sv-action-bar>\n <ng-template [component]=\"{ name: 'survey', data: {model: survey} }\">\n </ng-template>\n </sv-scroll>\n </div>\n</ng-template>\n", styles: [":host { display: none; }"], components: [{ type: i1.ScrollComponent, selector: "sv-scroll", inputs: ["disabled", "onInnerHeightChanged"] }, { type: i1.ActionBarComponent, selector: "sv-action-bar, sv-ng-action-bar", inputs: ["model", "handleClick"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.DynamicComponentDirective, selector: "[component]", inputs: ["component"] }] });
|
|
26
26
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TabPresetsComponent, decorators: [{
|
|
27
27
|
type: Component,
|
|
28
28
|
args: [{
|
|
@@ -34,4 +34,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
34
34
|
type: Input
|
|
35
35
|
}] } });
|
|
36
36
|
AngularComponentFactory.Instance.registerComponent("svc-tab-presets", TabPresetsComponent);
|
|
37
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
37
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJlc2V0cy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi91aS1wcmVzZXQtZWRpdG9yL3NyYy9wcmVzZXRzLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uL3VpLXByZXNldC1lZGl0b3Ivc3JjL3ByZXNldHMuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDakQsT0FBTyxFQUFFLHVCQUF1QixFQUFFLFdBQVcsRUFBRSxNQUFNLG1CQUFtQixDQUFDOzs7O0FBUXpFLE1BQU0sT0FBTyxtQkFBb0IsU0FBUSxXQUFnQjtJQUx6RDs7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XG4gICAgPHN2LXNjcm9sbD5cbiAgICAgIDxzdi1hY3Rpb24tYmFyIFttb2RlbF09XCJuYXZpZ2F0aW9uQmFyXCIgW2hhbmRsZUNsaWNrXT1cImZhbHNlXCI+PC9zdi1hY3Rpb24tYmFyPlxuICAgICAgPG5nLXRlbXBsYXRlIFtjb21wb25lbnRdPVwieyBuYW1lOiAnc3VydmV5JywgZGF0YToge21vZGVsOiBzdXJ2ZXl9IH1cIj5cbiAgICAgIDwvbmctdGVtcGxhdGU+XG4gICAgPC9zdi1zY3JvbGw+XG4gIDwvZGl2PlxuPC9uZy10ZW1wbGF0ZT5cbiJdfQ==
|
|
@@ -26,7 +26,7 @@ class TabPresetsComponent extends BaseAngular {
|
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
TabPresetsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TabPresetsComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
29
|
-
TabPresetsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TabPresetsComponent, selector: "svc-tab-presets", inputs: { model: "model" }, usesInheritance: true, ngImport: i0, template: "<ng-template #template>\n <div class=\"svc-flex-column\">\n <ng-template *ngIf=\"creator?.showToolbox\" [component]=\"{ name: 'svc-toolbox', data: {model: creator} }\">\n </ng-template>\n </div>\n <div class=\"svc-tab-designer svc-tab-designer--presets\">\n <sv-action-bar [model]=\"navigationBar\" [handleClick]=\"false\"></sv-action-bar>\n
|
|
29
|
+
TabPresetsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TabPresetsComponent, selector: "svc-tab-presets", inputs: { model: "model" }, usesInheritance: true, ngImport: i0, template: "<ng-template #template>\n <div class=\"svc-flex-column\">\n <ng-template *ngIf=\"creator?.showToolbox\" [component]=\"{ name: 'svc-toolbox', data: {model: creator} }\">\n </ng-template>\n </div>\n <div class=\"svc-tab-designer svc-tab-designer--presets\">\n <sv-scroll>\n <sv-action-bar [model]=\"navigationBar\" [handleClick]=\"false\"></sv-action-bar>\n <ng-template [component]=\"{ name: 'survey', data: {model: survey} }\">\n </ng-template>\n </sv-scroll>\n </div>\n</ng-template>\n", styles: [":host { display: none; }"], components: [{ type: i1.ScrollComponent, selector: "sv-scroll", inputs: ["disabled", "onInnerHeightChanged"] }, { type: i1.ActionBarComponent, selector: "sv-action-bar, sv-ng-action-bar", inputs: ["model", "handleClick"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.DynamicComponentDirective, selector: "[component]", inputs: ["component"] }] });
|
|
30
30
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TabPresetsComponent, decorators: [{
|
|
31
31
|
type: Component,
|
|
32
32
|
args: [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"survey-creator-angular-ui-preset-editor.js","sources":["../../ui-preset-editor/src/presets.component.ts","../../ui-preset-editor/src/presets.component.html","../../ui-preset-editor/src/presets-property-grid.component.ts","../../ui-preset-editor/src/presets-property-grid.component.html","../../ui-preset-editor/src/presets-icon-item.component.ts","../../ui-preset-editor/src/presets-icon-item.component.html","../../ui-preset-editor/src/presets.module.ts","../../ui-preset-editor/src/survey-creator-angular-ui-preset-editor.ts"],"sourcesContent":["import { Component, Input } from \"@angular/core\";\nimport { AngularComponentFactory, BaseAngular } from \"survey-angular-ui\";\nimport { SurveyCreatorModel } from \"survey-creator-core\";\n\n@Component({\n selector: \"svc-tab-presets\",\n templateUrl: \"./presets.component.html\",\n styles: [\":host { display: none; }\"]\n})\nexport class TabPresetsComponent extends BaseAngular<any> {\n @Input() model: any = undefined;\n public get survey() {\n return this.model.model;\n }\n public get navigationBar() {\n return this.model.navigationBar;\n }\n public get creator() {\n return this.model.creator;\n }\n protected getModel() {\n return this.model;\n }\n}\n\nAngularComponentFactory.Instance.registerComponent(\"svc-tab-presets\", TabPresetsComponent);\n","<ng-template #template>\n <div class=\"svc-flex-column\">\n <ng-template *ngIf=\"creator?.showToolbox\" [component]=\"{ name: 'svc-toolbox', data: {model: creator} }\">\n </ng-template>\n </div>\n <div class=\"svc-tab-designer svc-tab-designer--presets\">\n <sv-action-bar [model]=\"navigationBar\" [handleClick]=\"false\"></sv-action-bar>\n
|
|
1
|
+
{"version":3,"file":"survey-creator-angular-ui-preset-editor.js","sources":["../../ui-preset-editor/src/presets.component.ts","../../ui-preset-editor/src/presets.component.html","../../ui-preset-editor/src/presets-property-grid.component.ts","../../ui-preset-editor/src/presets-property-grid.component.html","../../ui-preset-editor/src/presets-icon-item.component.ts","../../ui-preset-editor/src/presets-icon-item.component.html","../../ui-preset-editor/src/presets.module.ts","../../ui-preset-editor/src/survey-creator-angular-ui-preset-editor.ts"],"sourcesContent":["import { Component, Input } from \"@angular/core\";\nimport { AngularComponentFactory, BaseAngular } from \"survey-angular-ui\";\nimport { SurveyCreatorModel } from \"survey-creator-core\";\n\n@Component({\n selector: \"svc-tab-presets\",\n templateUrl: \"./presets.component.html\",\n styles: [\":host { display: none; }\"]\n})\nexport class TabPresetsComponent extends BaseAngular<any> {\n @Input() model: any = undefined;\n public get survey() {\n return this.model.model;\n }\n public get navigationBar() {\n return this.model.navigationBar;\n }\n public get creator() {\n return this.model.creator;\n }\n protected getModel() {\n return this.model;\n }\n}\n\nAngularComponentFactory.Instance.registerComponent(\"svc-tab-presets\", TabPresetsComponent);\n","<ng-template #template>\n <div class=\"svc-flex-column\">\n <ng-template *ngIf=\"creator?.showToolbox\" [component]=\"{ name: 'svc-toolbox', data: {model: creator} }\">\n </ng-template>\n </div>\n <div class=\"svc-tab-designer svc-tab-designer--presets\">\n <sv-scroll>\n <sv-action-bar [model]=\"navigationBar\" [handleClick]=\"false\"></sv-action-bar>\n <ng-template [component]=\"{ name: 'survey', data: {model: survey} }\">\n </ng-template>\n </sv-scroll>\n </div>\n</ng-template>\n","import { Component, Input } from \"@angular/core\";\nimport { getLocString, PropertyGridViewModel } from \"survey-creator-core\";\nimport { AngularComponentFactory, BaseAngular } from \"survey-angular-ui\";\n\n@Component({\n selector: \"svc-presets-property-grid\",\n templateUrl: \"./presets-property-grid.component.html\",\n styles: [\":host { display: none; }\"]\n})\nexport class PresetsPropertyGridWrapperComponent extends BaseAngular<PropertyGridViewModel> {\n @Input() model?: PropertyGridViewModel;\n\n showPresets() {\n (this.model as any)[\"showPresets\"]?.();\n }\n\n buttonTitle = getLocString(\"presets.plugin.buttonTitle\");\n buttonDescription = getLocString(\"presets.plugin.buttonDescription\");\n\n protected getModel(): PropertyGridViewModel {\n return this.model!;\n }\n}\n\nAngularComponentFactory.Instance.registerComponent(\"svc-presets-property-grid\", PresetsPropertyGridWrapperComponent);","<ng-template #template>\n <div class=\"sps-launch\">\n <button class=\"sps-launch__card\" (click)=\"showPresets()\">\n <div class=\"sps-launch__container\">\n <div class=\"sps-launch__text\">{{buttonTitle}}</div>\n <div class=\"sps-launch__text2\">{{buttonDescription}}</div>\n </div>\n <div class=\"sps-launch__icon\">\n <div class=\"sps-launch__chevron-right-16-x-16\">\n <div class=\"sps-launch__icon2\">\n <svg size=\"auto\" iconName=\"chevrondown-24x24\" sv-ng-svg-icon></svg>\n </div>\n </div>\n </div>\n </button>\n </div>\n <ng-template [component]=\"{ name: 'svc-property-grid', data: {model: model} }\">\n </ng-template>\n</ng-template>\n","import { Component, Input } from \"@angular/core\";\nimport { ItemValue } from \"survey-core\";\nimport { AngularComponentFactory, EmbeddedViewContentComponent } from \"survey-angular-ui\";\n\n@Component({\n selector: \"svc-presets-icon-item\",\n templateUrl: \"./presets-icon-item.component.html\",\n styles: [\":host { display: none; }\"]\n})\nexport class PresetsIconItemComponent extends EmbeddedViewContentComponent {\n @Input() model!: ItemValue;\n}\n\nAngularComponentFactory.Instance.registerComponent(\"svc-presets-icon-item\", PresetsIconItemComponent);\n","<ng-template #template>\n<div *ngIf=\"model\" class=\"sps-icon-item\" style=\"display: flex\">\n <svg [iconName]=\"model.value\" class=\"sps-icon-item__icon\" size=\"auto\" sv-ng-svg-icon></svg>\n <span class=\"sps-icon-item__text\">{{ model.title }}</span>\n</div>\n</ng-template>\n","import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from \"@angular/core\";\nimport { CommonModule } from \"@angular/common\";\nimport { FormsModule } from \"@angular/forms\";\nimport { SurveyModule } from \"survey-angular-ui\";\n\n// Import presets components\nimport { TabPresetsComponent } from \"./presets.component\";\nimport { PresetsIconItemComponent } from \"./presets-icon-item.component\";\nimport { PresetsPropertyGridWrapperComponent } from \"./presets-property-grid.component\";\n\n@NgModule({\n declarations: [\n TabPresetsComponent,\n PresetsIconItemComponent,\n PresetsPropertyGridWrapperComponent\n ],\n imports: [\n CommonModule,\n FormsModule,\n SurveyModule\n ],\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n exports: [\n TabPresetsComponent,\n PresetsIconItemComponent,\n PresetsPropertyGridWrapperComponent\n ]\n})\nexport class PresetsModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AASM,MAAO,mBAAoB,SAAQ,WAAgB,CAAA;AALzD,IAAA,WAAA,GAAA;;QAMW,IAAK,CAAA,KAAA,GAAQ,SAAS,CAAC;AAajC,KAAA;AAZC,IAAA,IAAW,MAAM,GAAA;AACf,QAAA,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC;KACzB;AACD,IAAA,IAAW,aAAa,GAAA;AACtB,QAAA,OAAO,IAAI,CAAC,KAAK,CAAC,aAAa,CAAC;KACjC;AACD,IAAA,IAAW,OAAO,GAAA;AAChB,QAAA,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC;KAC3B;IACS,QAAQ,GAAA;QAChB,OAAO,IAAI,CAAC,KAAK,CAAC;KACnB;;iHAbU,mBAAmB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EA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,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,aAAa,iBAhBtB,mBAAmB;QACnB,wBAAwB;AACxB,QAAA,mCAAmC,aAGnC,YAAY;QACZ,WAAW;AACX,QAAA,YAAY,aAIZ,mBAAmB;QACnB,wBAAwB;QACxB,mCAAmC,CAAA,EAAA,CAAA,CAAA;AAG1B,aAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,aAAa,EAZf,OAAA,EAAA,CAAA;YACP,YAAY;YACZ,WAAW;YACX,YAAY;AACb,SAAA,CAAA,EAAA,CAAA,CAAA;4FAQU,aAAa,EAAA,UAAA,EAAA,CAAA;kBAlBzB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,mBAAmB;wBACnB,wBAAwB;wBACxB,mCAAmC;AACpC,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,WAAW;wBACX,YAAY;AACb,qBAAA;oBACD,OAAO,EAAE,CAAC,sBAAsB,CAAC;AACjC,oBAAA,OAAO,EAAE;wBACP,mBAAmB;wBACnB,wBAAwB;wBACxB,mCAAmC;AACpC,qBAAA;AACF,iBAAA,CAAA;;;AC3BD;;AAEG;;;;"}
|
|
@@ -604,7 +604,7 @@ AngularComponentFactory.Instance.registerComponent("svc-side-bar-header", Sideba
|
|
|
604
604
|
class ComponentContainerComponent extends EmbeddedViewContentComponent {
|
|
605
605
|
}
|
|
606
606
|
ComponentContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ComponentContainerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
607
|
-
ComponentContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: ComponentContainerComponent, selector: "svc-component-container", inputs: { model: "model" }, usesInheritance: true, ngImport: i0, template: "<ng-template #template>\n <div class=\"
|
|
607
|
+
ComponentContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: ComponentContainerComponent, selector: "svc-component-container", inputs: { model: "model" }, usesInheritance: true, ngImport: i0, template: "<ng-template #template>\n <div [class]=\"model.cssClass\" >\n <ng-template *ngFor=\"let element of model.elements\" [component]=\"{ name: element.componentName, data: element.componentData }\"></ng-template>\n </div>\n</ng-template>", styles: [":host { display: none; }"], directives: [{ type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.DynamicComponentDirective, selector: "[component]", inputs: ["component"] }] });
|
|
608
608
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ComponentContainerComponent, decorators: [{
|
|
609
609
|
type: Component,
|
|
610
610
|
args: [{
|