@limetech/lime-elements
Version:
60 lines (56 loc) • 1.96 kB
JavaScript
export { g as globalConfig } from './config-Dnt5w_Bp.js';
export { _ as _mapLayout } from './layout-C4zsCPOF.js';
export { E as EditorMenuTypes, L as LevelMapping, M as MouseButtons, e as editorMenuTypesArray } from './types-BWYo6dLf.js';
export { r as resizeImage } from './image-resize-DPcww8rE.js';
export { r as redrawComponents } from './dispatch-resize-event-z_E3sq3p.js';
/**
* Represents the layout types for a form.
* @public
*/
var FormLayoutType;
(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";
})(FormLayoutType || (FormLayoutType = {}));
/**
* The built-in aggregators available for columns
* @public
*/
var ColumnAggregatorType;
(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";
})(ColumnAggregatorType || (ColumnAggregatorType = {}));
export { ColumnAggregatorType, FormLayoutType };