strings.js 754 B

123456789101112131415161718192021222324
  1. 'use strict';
  2. Object.defineProperty(exports, '__esModule', { value: true });
  3. var shared = require('@vue/shared');
  4. const escapeStringRegexp = (string = "") => string.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
  5. const capitalize = (str) => shared.capitalize(str);
  6. Object.defineProperty(exports, 'camelize', {
  7. enumerable: true,
  8. get: function () { return shared.camelize; }
  9. });
  10. Object.defineProperty(exports, 'hyphenate', {
  11. enumerable: true,
  12. get: function () { return shared.hyphenate; }
  13. });
  14. Object.defineProperty(exports, 'kebabCase', {
  15. enumerable: true,
  16. get: function () { return shared.hyphenate; }
  17. });
  18. exports.capitalize = capitalize;
  19. exports.escapeStringRegexp = escapeStringRegexp;
  20. //# sourceMappingURL=strings.js.map