@gsb-core/core
Version:
GSB core services and classes for platform-independent web applications
32 lines • 833 B
JavaScript
;
/**
* GSB Form Models
*
* Defines interfaces for form components and form-related functionality
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.GsbEditableForm = exports.GsbForm = void 0;
/**
* Base class for all GSB forms
* @template T The type of entity the form handles
*/
class GsbForm {
constructor(obj) {
Object.assign(this, obj);
this._entDefName = "GsbForm";
}
}
exports.GsbForm = GsbForm;
/**
* Class for forms that can be used in edit mode
* @template T The type of entity the form handles
*/
class GsbEditableForm extends GsbForm {
constructor(obj) {
super(obj);
Object.assign(this, obj);
this._entDefName = "GsbEditableForm";
}
}
exports.GsbEditableForm = GsbEditableForm;
//# sourceMappingURL=gsb-form.model.js.map