index.js 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. "use strict";
  2. var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
  3. Object.defineProperty(exports, "__esModule", {
  4. value: true
  5. });
  6. exports.default = void 0;
  7. var _index = _interopRequireDefault(require("./_lib/formatDistance/index.js"));
  8. var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js"));
  9. var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js"));
  10. var _index4 = _interopRequireDefault(require("./_lib/localize/index.js"));
  11. var _index5 = _interopRequireDefault(require("./_lib/match/index.js"));
  12. /**
  13. * @type {Locale}
  14. * @category Locales
  15. * @summary Catalan locale.
  16. * @language Catalan
  17. * @iso-639-2 cat
  18. * @author Guillermo Grau [@guigrpa]{@link https://github.com/guigrpa}
  19. * @author Alex Vizcaino [@avizcaino]{@link https://github.com/avizcaino}
  20. */
  21. var locale = {
  22. code: 'ca',
  23. formatDistance: _index.default,
  24. formatLong: _index2.default,
  25. formatRelative: _index3.default,
  26. localize: _index4.default,
  27. match: _index5.default,
  28. options: {
  29. weekStartsOn: 1 /* Monday */,
  30. firstWeekContainsDate: 4
  31. }
  32. };
  33. var _default = locale; // throw new Error('ca locale is currently unavailable. Please check the progress of converting this locale to v2.0.0 in this issue on Github: TBA')
  34. exports.default = _default;
  35. module.exports = exports.default;