fundamental-ngx
Version:
SAP Fundamentals, implemented in Angular
36 lines • 2.58 kB
JavaScript
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
import { Component, Input, ViewEncapsulation } from '@angular/core';
/**
* Form message. Intended to be displayed under a form control for validation purposes.
*/
var FormMessageComponent = /** @class */ (function () {
function FormMessageComponent() {
/**
* Type of the message. Can be `text`, `help`, `error` and `warning`.
*/
this.type = '';
}
FormMessageComponent.decorators = [
{ type: Component, args: [{
selector: 'fd-form-message',
template: "<span class=\"fd-form__message\" [ngClass]=\"[type ? ' fd-form__message--' + type : '']\">\n <ng-content></ng-content>\n</span>\n",
encapsulation: ViewEncapsulation.None
}] }
];
FormMessageComponent.propDecorators = {
type: [{ type: Input }]
};
return FormMessageComponent;
}());
export { FormMessageComponent };
if (false) {
/**
* Type of the message. Can be `text`, `help`, `error` and `warning`.
* @type {?}
*/
FormMessageComponent.prototype.type;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS1tZXNzYWdlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL2Z1bmRhbWVudGFsLW5neC8iLCJzb3VyY2VzIjpbImxpYi9mb3JtL2Zvcm0tbWVzc2FnZS9mb3JtLW1lc3NhZ2UuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBRSxpQkFBaUIsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7OztBQUtwRTtJQUFBOzs7O1FBU0ksU0FBSSxHQUFXLEVBQUUsQ0FBQztJQUN0QixDQUFDOztnQkFWQSxTQUFTLFNBQUM7b0JBQ1AsUUFBUSxFQUFFLGlCQUFpQjtvQkFDM0IsOElBQTRDO29CQUM1QyxhQUFhLEVBQUUsaUJBQWlCLENBQU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