UNPKG

angular-formio-gp

Version:

A fork of Form.io Angular JSON Form Renderer ========================== This library serves as a Dynamic JSON Powered Form rendering library for [Angular](https://angular.io). This works by providing a JSON schema to a ```<formio>``` Angular component,

52 lines (51 loc) 1.5 kB
/** * @fileoverview added by tsickle * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ import { Output, EventEmitter, ViewChild, TemplateRef, Input } from '@angular/core'; var GridHeaderComponent = /** @class */ (function () { function GridHeaderComponent() { this.headers = []; this.sort = new EventEmitter(); } Object.defineProperty(GridHeaderComponent.prototype, "numHeaders", { get: /** * @return {?} */ function () { return this.headers.length; }, enumerable: true, configurable: true }); /** * @param {?} formio * @param {?=} query * @return {?} */ GridHeaderComponent.prototype.load = /** * @param {?} formio * @param {?=} query * @return {?} */ function (formio, query) { return Promise.resolve([]); }; GridHeaderComponent.propDecorators = { actionAllowed: [{ type: Input }], sort: [{ type: Output }], template: [{ type: ViewChild, args: [TemplateRef, { static: true },] }] }; return GridHeaderComponent; }()); export { GridHeaderComponent }; if (false) { /** @type {?} */ GridHeaderComponent.prototype.actionAllowed; /** @type {?} */ GridHeaderComponent.prototype.sort; /** @type {?} */ GridHeaderComponent.prototype.template; /** @type {?} */ GridHeaderComponent.prototype.headers; }