@cocoar/vue-localization 1.12.2 → 1.13.0-beta.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +5 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -357,7 +357,11 @@ var y = class {
357
357
  }
358
358
  localeData;
359
359
  constructor(t = {}) {
360
- this.defaultLanguage = t.defaultLanguage ?? "en", this._language = n(this.defaultLanguage), this._loading = n(!1), this.l10nStore = new r(), this.i18nStore = new h(), this.timezoneService = new x(t.timezoneProviders), this.l10nSources = [new i()], this.i18nSources = [new y()], t.l10nUrl && this.l10nSources.push(new C(t.l10nUrl)), t.i18nUrl && this.i18nSources.push(new w(t.i18nUrl)), this.localeData = e(() => this.l10nStore.getLocaleData(this._language.value));
360
+ this.defaultLanguage = t.defaultLanguage ?? "en", this._language = n(this.defaultLanguage), this._loading = n(!1), this.l10nStore = new r(), this.i18nStore = new h(), this.timezoneService = new x(t.timezoneProviders);
361
+ let a = new i();
362
+ this.l10nSources = [a];
363
+ let o = new y();
364
+ this.i18nSources = [o], t.l10nUrl && this.l10nSources.push(new C(t.l10nUrl)), t.i18nUrl && this.i18nSources.push(new w(t.i18nUrl)), this.localeData = e(() => this.l10nStore.getLocaleData(this._language.value));
361
365
  }
362
366
  getDefaultLanguage() {
363
367
  return this.defaultLanguage;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocoar/vue-localization",
3
- "version": "1.12.2",
3
+ "version": "1.13.0-beta.6",
4
4
  "description": "Locale-aware formatting (l10n), translations (i18n), and timezone detection for Vue 3",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {