UNPKG

bootstrap-vue-next

Version:

BootstrapVueNext is an early and lovely component library for Vue 3 & Nuxt 3 based on Bootstrap 5 and Typescript.

3 lines (2 loc) 738 B
"use strict";const e=require("./constants-B1zBgSOo.js");exports.escapeRegExpChars=r=>(r=>r.replace(e.RX_REGEXP_REPLACE,"\\$&"))(r).replace(e.RX_SPACES,"\\s"),exports.startCase=r=>r.replace(e.RX_UNDERSCORE," ").replace(e.RX_LOWER_UPPER,(e,r,p)=>`${r} ${p}`).replace(e.RX_FIRST_START_SPACE_WORD,(e,r,p)=>r+p.toUpperCase()),exports.titleCase=r=>r.replace(e.RX_UNDERSCORE," ").replace(e.RX_LOWER_UPPER,(e,r,p)=>`${r} ${p}`).replace(e.RX_START_SPACE_WORD,(e,r,p)=>r+p.toUpperCase()),exports.toPascalCase=e=>e.replace(/-./g,e=>e.charAt(1).toUpperCase()).replace(/\b\w/g,e=>e.toUpperCase()).replace(/\s+/g,""),exports.upperFirst=e=>{const r=e.trim();return r.charAt(0).toUpperCase()+r.slice(1)}; //# sourceMappingURL=stringUtils-Bz1j95i5.js.map