UNPKG

golden-layout

Version:

A multi-screen javascript Layout manager

47 lines 1.69 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ResponsiveMode = exports.ItemType = exports.JsonValue = exports.Side = exports.WidthOrHeightPropertyName = void 0; /** @internal */ var WidthOrHeightPropertyName; (function (WidthOrHeightPropertyName) { WidthOrHeightPropertyName.width = 'width'; WidthOrHeightPropertyName.height = 'height'; })(WidthOrHeightPropertyName = exports.WidthOrHeightPropertyName || (exports.WidthOrHeightPropertyName = {})); /** @public */ var Side; (function (Side) { Side.top = 'top'; Side.left = 'left'; Side.right = 'right'; Side.bottom = 'bottom'; })(Side = exports.Side || (exports.Side = {})); /** @public */ var JsonValue; (function (JsonValue) { function isJson(value) { return isJsonObject(value); } JsonValue.isJson = isJson; // eslint-disable-next-line @typescript-eslint/ban-types function isJsonObject(value) { return !Array.isArray(value) && value !== null && typeof value === 'object'; } JsonValue.isJsonObject = isJsonObject; })(JsonValue = exports.JsonValue || (exports.JsonValue = {})); /** @public */ var ItemType; (function (ItemType) { ItemType.ground = 'ground'; ItemType.row = 'row'; ItemType.column = 'column'; ItemType.stack = 'stack'; ItemType.component = 'component'; })(ItemType = exports.ItemType || (exports.ItemType = {})); /** @public */ var ResponsiveMode; (function (ResponsiveMode) { ResponsiveMode.none = 'none'; ResponsiveMode.always = 'always'; ResponsiveMode.onload = 'onload'; })(ResponsiveMode = exports.ResponsiveMode || (exports.ResponsiveMode = {})); //# sourceMappingURL=types.js.map