/*
 * Copyright 2015-2024 Ritense BV, the Netherlands.
 *
 * Licensed under EUPL, Version 1.2 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" basis,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
import { Component, Input } from '@angular/core';
import * as i0 from "@angular/core";
import * as i1 from "@angular/common";
import * as i2 from "ngx-skeleton-loader";
/**
 * @deprecated Migrate old design to Carbon
 */
export class ParagraphComponent {
    constructor() {
        this.center = false;
        this.fullWidth = false;
        this.margin = false;
        this.italic = false;
        this.loading = false;
    }
    static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ParagraphComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
    static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: ParagraphComponent, selector: "v-paragraph", inputs: { center: "center", fullWidth: "fullWidth", margin: "margin", italic: "italic", loading: "loading", dataTestId: "dataTestId" }, ngImport: i0, template: "<!--\n  ~ Copyright 2015-2024 Ritense BV, the Netherlands.\n  ~\n  ~ Licensed under EUPL, Version 1.2 (the \"License\");\n  ~ you may not use this file except in compliance with the License.\n  ~ You may obtain a copy of the License at\n  ~\n  ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n  ~\n  ~ Unless required by applicable law or agreed to in writing, software\n  ~ distributed under the License is distributed on an \"AS IS\" basis,\n  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  ~ See the License for the specific language governing permissions and\n  ~ limitations under the License.\n  -->\n\n<p\n  [attr.data-testid]=\"dataTestId\"\n  class=\"v-paragraph\"\n  [ngClass]=\"{\n    'v-paragraph--center': center,\n    'v-paragraph--full-width': fullWidth,\n    'v-paragraph--margin': margin,\n    'v-paragraph--italic': italic,\n  }\"\n>\n  <ng-container *ngIf=\"loading\">\n    <ngx-skeleton-loader\n      appearance=\"line\"\n      [theme]=\"{\n        width: 'var(--v-paragraph-skeleton-loading-width)',\n        height: 'var(--v-paragraph-font-size)',\n        margin: '0',\n        'background-color': 'var(--v-paragraph-loading-skeleton-bg-color)',\n      }\"\n    ></ngx-skeleton-loader>\n  </ng-container>\n  <ng-container *ngIf=\"!loading\">\n    <ng-content></ng-content>\n  </ng-container>\n</p>\n", styles: [".v-paragraph{margin:0;font-size:var(--v-paragraph-font-size);line-height:var(--v-paragraph-line-height);color:var(--v-paragraph-color);font-weight:var(--v-paragraph-font-weight)}.v-paragraph--center{text-align:center}.v-paragraph--full-width{width:100%}.v-paragraph--margin{margin-block-end:var(--v-paragraph-margin)}.v-paragraph--italic{font-style:italic}\n/*!\n * Copyright 2015-2024 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.NgxSkeletonLoaderComponent, selector: "ngx-skeleton-loader", inputs: ["count", "loadingText", "appearance", "animation", "ariaLabel", "theme"] }] }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ParagraphComponent, decorators: [{
            type: Component,
            args: [{ selector: 'v-paragraph', template: "<!--\n  ~ Copyright 2015-2024 Ritense BV, the Netherlands.\n  ~\n  ~ Licensed under EUPL, Version 1.2 (the \"License\");\n  ~ you may not use this file except in compliance with the License.\n  ~ You may obtain a copy of the License at\n  ~\n  ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n  ~\n  ~ Unless required by applicable law or agreed to in writing, software\n  ~ distributed under the License is distributed on an \"AS IS\" basis,\n  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  ~ See the License for the specific language governing permissions and\n  ~ limitations under the License.\n  -->\n\n<p\n  [attr.data-testid]=\"dataTestId\"\n  class=\"v-paragraph\"\n  [ngClass]=\"{\n    'v-paragraph--center': center,\n    'v-paragraph--full-width': fullWidth,\n    'v-paragraph--margin': margin,\n    'v-paragraph--italic': italic,\n  }\"\n>\n  <ng-container *ngIf=\"loading\">\n    <ngx-skeleton-loader\n      appearance=\"line\"\n      [theme]=\"{\n        width: 'var(--v-paragraph-skeleton-loading-width)',\n        height: 'var(--v-paragraph-font-size)',\n        margin: '0',\n        'background-color': 'var(--v-paragraph-loading-skeleton-bg-color)',\n      }\"\n    ></ngx-skeleton-loader>\n  </ng-container>\n  <ng-container *ngIf=\"!loading\">\n    <ng-content></ng-content>\n  </ng-container>\n</p>\n", styles: [".v-paragraph{margin:0;font-size:var(--v-paragraph-font-size);line-height:var(--v-paragraph-line-height);color:var(--v-paragraph-color);font-weight:var(--v-paragraph-font-weight)}.v-paragraph--center{text-align:center}.v-paragraph--full-width{width:100%}.v-paragraph--margin{margin-block-end:var(--v-paragraph-margin)}.v-paragraph--italic{font-style:italic}\n/*!\n * Copyright 2015-2024 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n"] }]
        }], propDecorators: { center: [{
                type: Input
            }], fullWidth: [{
                type: Input
            }], margin: [{
                type: Input
            }], italic: [{
                type: Input
            }], loading: [{
                type: Input
            }], dataTestId: [{
                type: Input
            }] } });
//# sourceMappingURL=data:application/json;base64, 