import { AXPValueWidgetComponent } from '@acorex/platform/layout/widget-core';
import * as i0 from '@angular/core';
import { ChangeDetectionStrategy, Component } from '@angular/core';
import { A as AXMQuestionnaireBuilderComponent } from './acorex-modules-assessment-management-questionnaire-builder.component-DHGcsvkT.mjs';

//#region ----   Imports   ----
//#endregion
//#region ----   Widget View Component   ----
/**
 * Questionnaire Builder Widget View Component
 * Read-only display of the questionnaire structure
 */
class AXMQuestionnaireBuilderWidgetViewComponent extends AXPValueWidgetComponent {
    static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: AXMQuestionnaireBuilderWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
    static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.19", type: AXMQuestionnaireBuilderWidgetViewComponent, isStandalone: true, selector: "axm-questionnaire-builder-widget-view", usesInheritance: true, ngImport: i0, template: `
        <axm-questionnaire-builder
            [value]="getValue()"
            [readonly]="true">
        </axm-questionnaire-builder>
    `, isInline: true, dependencies: [{ kind: "component", type: AXMQuestionnaireBuilderComponent, selector: "axm-questionnaire-builder", inputs: ["value", "readonly", "prePostConfig"], outputs: ["valueChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: AXMQuestionnaireBuilderWidgetViewComponent, decorators: [{
            type: Component,
            args: [{
                    selector: 'axm-questionnaire-builder-widget-view',
                    template: `
        <axm-questionnaire-builder
            [value]="getValue()"
            [readonly]="true">
        </axm-questionnaire-builder>
    `,
                    changeDetection: ChangeDetectionStrategy.OnPush,
                    imports: [AXMQuestionnaireBuilderComponent],
                }]
        }] });

export { AXMQuestionnaireBuilderWidgetViewComponent };
//# sourceMappingURL=acorex-modules-assessment-management-questionnaire-builder-view.component-Dzs8wQDL.mjs.map
