UNPKG

@qn-pandora/pandora-visualization

Version:

Pandora 通用可视化库

44 lines (43 loc) 1.82 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.InitTitleFont = exports.FilterColumnKeys = exports.DEFAULT_AUTO_PLAY_SPEED = exports.columnKeys = exports.NORMAL_COLUMN_WIDTH = exports.RuleType = exports.DefaultColumnSuffix = exports.EProcessType = exports.ThresholdType = exports.ThresholdColorScope = void 0; var constants_1 = require("@qn-pandora/pandora-app-component/es/components/TableColFilter/constants"); Object.defineProperty(exports, "ThresholdColorScope", { enumerable: true, get: function () { return constants_1.ThresholdColorScope; } }); Object.defineProperty(exports, "ThresholdType", { enumerable: true, get: function () { return constants_1.ThresholdType; } }); Object.defineProperty(exports, "EProcessType", { enumerable: true, get: function () { return constants_1.EProcessType; } }); Object.defineProperty(exports, "DefaultColumnSuffix", { enumerable: true, get: function () { return constants_1.DefaultColumnSuffix; } }); var RuleType; (function (RuleType) { RuleType["None"] = "none"; RuleType["Equals"] = "equal"; RuleType["StartWith"] = "startWith"; RuleType["EndWith"] = "endWith"; RuleType["Contain"] = "contain"; RuleType["Regex"] = "regex"; })(RuleType = exports.RuleType || (exports.RuleType = {})); exports.NORMAL_COLUMN_WIDTH = 120; exports.columnKeys = []; exports.DEFAULT_AUTO_PLAY_SPEED = 3; // 默认table 滚动的速度为 3s exports.FilterColumnKeys = [ 'checked', 'showProgress', 'processType', 'processValue', 'unit', 'precision', 'width', 'showColor', 'splitter', 'thresholdType', 'thresholdColorScope', 'progressBgColor', 'title', 'isNumeric', 'showFilter', 'filters', 'fixed' ]; exports.InitTitleFont = { color: undefined, fontSize: 12 };