UNPKG

@limetech/lime-elements

Version:
69 lines (64 loc) 2.26 kB
'use strict'; var config = require('./config-dit--4m5.js'); var layout = require('./layout-CL_D-afg.js'); var types = require('./types-Bu6wcdI0.js'); var imageResize = require('./image-resize-FAwzj92q.js'); var dispatchResizeEvent = require('./dispatch-resize-event-DH5CaB3p.js'); /** * 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 = {})); exports.globalConfig = config.globalConfig; exports._mapLayout = layout._mapLayout; exports.EditorMenuTypes = types.EditorMenuTypes; exports.LevelMapping = types.LevelMapping; exports.MouseButtons = types.MouseButtons; exports.editorMenuTypesArray = types.editorMenuTypesArray; exports.resizeImage = imageResize.resizeImage; exports.redrawComponents = dispatchResizeEvent.redrawComponents;