@limetech/lime-elements
Version:
57 lines (53 loc) • 1.63 kB
JavaScript
;
Object.defineProperty(exports, '__esModule', { value: true });
/**
* Represents the layout types for a form.
* @public
*/
exports.FormLayoutType = void 0;
(function (FormLayoutType) {
/**
* The default layout
*/
FormLayoutType["Default"] = "default";
/**
* Render the form fields using a responsive grid layout
*/
FormLayoutType["Grid"] = "grid";
/**
* Render the form fields in full-width rows.
* Each row can have a leading `icon`, and a field.
* `title` and `description` provided by the schema will be placed
* on the row itself, and not on the field.
* This layout is good for creating UIs for user settings pages.
*/
FormLayoutType["Row"] = "row";
})(exports.FormLayoutType || (exports.FormLayoutType = {}));
/**
* The built-in aggregators available for columns
* @public
*/
exports.ColumnAggregatorType = void 0;
(function (ColumnAggregatorType) {
/**
* Calculates the average value of all numerical cells in the column
*/
ColumnAggregatorType["Average"] = "avg";
/**
* Displays the maximum value from all numerical cells in the column
*/
ColumnAggregatorType["Maximum"] = "max";
/**
* Displays the minimum value from all numerical cells in the column
*/
ColumnAggregatorType["Minimum"] = "min";
/**
* Displays the sum of all numerical cells in the column
*/
ColumnAggregatorType["Sum"] = "sum";
/**
* Counts the number of non empty cells in the column
*/
ColumnAggregatorType["Count"] = "count";
})(exports.ColumnAggregatorType || (exports.ColumnAggregatorType = {}));
//# sourceMappingURL=index.cjs.js.map