UNPKG

@visactor/vrender-components

Version:

components library for dp visualization

15 lines (12 loc) 471 B
"use strict"; function generateColField(index) { if (index < 26) return String.fromCharCode(65 + index); const title = []; for (index++; index > 0; ) index--, title.unshift(String.fromCharCode(65 + index % 26)), index = Math.floor(index / 26); return title.join(""); } Object.defineProperty(exports, "__esModule", { value: !0 }), exports.generateColField = void 0, exports.generateColField = generateColField; //# sourceMappingURL=tools.js.map