angular-formio
Version:
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, where that f
152 lines (151 loc) • 3.68 kB
JavaScript
/**
* @fileoverview added by tsickle
* Generated from: formio.common.ts
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
/**
* @record
* @template T, V
*/
export function ComponentOptions() { }
if (false) {
/** @type {?|undefined} */
ComponentOptions.prototype.validate;
}
/**
* @record
*/
export function FormioRefreshValue() { }
if (false) {
/** @type {?|undefined} */
FormioRefreshValue.prototype.property;
/** @type {?|undefined} */
FormioRefreshValue.prototype.value;
/** @type {?|undefined} */
FormioRefreshValue.prototype.form;
/** @type {?|undefined} */
FormioRefreshValue.prototype.submission;
}
/**
* @record
*/
export function AccessSetting() { }
if (false) {
/** @type {?} */
AccessSetting.prototype.type;
/** @type {?} */
AccessSetting.prototype.roles;
}
/**
* @record
*/
export function FormioForm() { }
if (false) {
/** @type {?|undefined} */
FormioForm.prototype.title;
/** @type {?|undefined} */
FormioForm.prototype.display;
/** @type {?|undefined} */
FormioForm.prototype.name;
/** @type {?|undefined} */
FormioForm.prototype.path;
/** @type {?|undefined} */
FormioForm.prototype.type;
/** @type {?|undefined} */
FormioForm.prototype.project;
/** @type {?|undefined} */
FormioForm.prototype.template;
/** @type {?|undefined} */
FormioForm.prototype.components;
/** @type {?|undefined} */
FormioForm.prototype.tags;
/** @type {?|undefined} */
FormioForm.prototype.access;
/** @type {?|undefined} */
FormioForm.prototype.submissionAccess;
}
/**
* @record
*/
export function ComponentInstance() { }
if (false) {
/** @type {?} */
ComponentInstance.prototype.component;
/** @type {?} */
ComponentInstance.prototype.id;
/** @type {?} */
ComponentInstance.prototype.type;
/**
* @param {?} value
* @return {?}
*/
ComponentInstance.prototype.asString = function (value) { };
/**
* @param {?} value
* @return {?}
*/
ComponentInstance.prototype.getView = function (value) { };
}
/**
* @record
*/
export function AlertsOptions() { }
if (false) {
/** @type {?} */
AlertsOptions.prototype.submitMessage;
}
/**
* @record
*/
export function ErrorsOptions() { }
if (false) {
/** @type {?} */
ErrorsOptions.prototype.message;
}
var FormioError = /** @class */ (function () {
function FormioError(message, component, silent) {
this.message = message;
this.component = component;
this.silent = silent;
}
return FormioError;
}());
export { FormioError };
if (false) {
/** @type {?} */
FormioError.prototype.message;
/** @type {?} */
FormioError.prototype.component;
/** @type {?} */
FormioError.prototype.silent;
}
/**
* @record
*/
export function FormioHookOptions() { }
if (false) {
/** @type {?} */
FormioHookOptions.prototype.beforeSubmit;
}
/**
* @record
*/
export function FormioOptions() { }
if (false) {
/** @type {?|undefined} */
FormioOptions.prototype.errors;
/** @type {?|undefined} */
FormioOptions.prototype.alerts;
/** @type {?|undefined} */
FormioOptions.prototype.alertsPosition;
/** @type {?|undefined} */
FormioOptions.prototype.disableAlerts;
/** @type {?|undefined} */
FormioOptions.prototype.i18n;
/** @type {?|undefined} */
FormioOptions.prototype.fileService;
/** @type {?|undefined} */
FormioOptions.prototype.hooks;
/** @type {?|undefined} */
FormioOptions.prototype.sanitizeConfig;
}