UNPKG

hrw-certificate-editor

Version:

Design Editor Tools with React.js + ant.design + fabric.js

41 lines 1.2 kB
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.DESCRIPTIONS = exports.OUT_PORT_TYPE = exports.NODE_COLORS = void 0; const i18next_1 = __importDefault(require("i18next")); const NODE_COLORS = { TRIGGER: { fill: '#48C9B0', border: '#1ABC9C', }, LOGIC: { fill: '#AF7AC5', border: '#9B59B6', }, DATA: { fill: '#5DADE2', border: '#3498DB', }, ACTION: { fill: '#F5B041', border: 'rgb(243, 156, 18)', }, }; exports.NODE_COLORS = NODE_COLORS; const OUT_PORT_TYPE = { SINGLE: 'SINGLE', STATIC: 'STATIC', DYNAMIC: 'DYNAMIC', BROADCAST: 'BROADCAST', }; exports.OUT_PORT_TYPE = OUT_PORT_TYPE; const DESCRIPTIONS = { script: i18next_1.default.t('common.name'), template: i18next_1.default.t('common.name'), json: i18next_1.default.t('common.name'), cron: i18next_1.default.t('common.name'), }; exports.DESCRIPTIONS = DESCRIPTIONS; //# sourceMappingURL=constants.js.map