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) 621 B
"use strict";const e=require("./constants-Caz6vMlV.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,R)=>`${r} ${R}`)).replace(e.RX_FIRST_START_SPACE_WORD,((e,r,R)=>r+R.toUpperCase())),exports.titleCase=r=>r.replace(e.RX_UNDERSCORE," ").replace(e.RX_LOWER_UPPER,((e,r,R)=>`${r} ${R}`)).replace(e.RX_START_SPACE_WORD,((e,r,R)=>r+R.toUpperCase())),exports.upperFirst=e=>{const r=e.trim();return r.charAt(0).toUpperCase()+r.slice(1)}; //# sourceMappingURL=stringUtils-D2ajpVM0.js.map