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,
174 lines (173 loc) • 4.46 kB
JavaScript
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
/**
* @record
*/
export function ConditionalOptions() { }
if (false) {
/** @type {?|undefined} */
ConditionalOptions.prototype.show;
/** @type {?|undefined} */
ConditionalOptions.prototype.when;
/** @type {?|undefined} */
ConditionalOptions.prototype.eq;
}
/**
* @record
*/
export function ValidateOptions() { }
if (false) {
/** @type {?|undefined} */
ValidateOptions.prototype.required;
/** @type {?|undefined} */
ValidateOptions.prototype.custom;
/** @type {?|undefined} */
ValidateOptions.prototype.customPrivate;
}
/**
* @record
* @template T, V
*/
export function ComponentOptions() { }
if (false) {
/** @type {?|undefined} */
ComponentOptions.prototype.defaultValue;
/** @type {?|undefined} */
ComponentOptions.prototype.type;
/** @type {?|undefined} */
ComponentOptions.prototype.key;
/** @type {?|undefined} */
ComponentOptions.prototype.label;
/** @type {?|undefined} */
ComponentOptions.prototype.input;
/** @type {?|undefined} */
ComponentOptions.prototype.required;
/** @type {?|undefined} */
ComponentOptions.prototype.multiple;
/** @type {?|undefined} */
ComponentOptions.prototype.protected;
/** @type {?|undefined} */
ComponentOptions.prototype.unique;
/** @type {?|undefined} */
ComponentOptions.prototype.persistent;
/** @type {?|undefined} */
ComponentOptions.prototype.tableView;
/** @type {?|undefined} */
ComponentOptions.prototype.lockKey;
/** @type {?|undefined} */
ComponentOptions.prototype.validate;
/** @type {?|undefined} */
ComponentOptions.prototype.conditional;
/** @type {?|undefined} */
ComponentOptions.prototype.customConditional;
}
/**
* @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 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) {
this.message = message;
this.component = component;
}
return FormioError;
}());
export { FormioError };
if (false) {
/** @type {?} */
FormioError.prototype.message;
/** @type {?} */
FormioError.prototype.component;
}
/**
* @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.disableAlerts;
/** @type {?|undefined} */
FormioOptions.prototype.i18n;
/** @type {?|undefined} */
FormioOptions.prototype.fileService;
/** @type {?|undefined} */
FormioOptions.prototype.hooks;
}