@empathyco/x-archetype-utils 1.0.3-alpha.1 → 1.1.0-alpha.0
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.
|
@@ -1,15 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
3
|
var xUtils = require('@empathyco/x-utils');
|
|
6
4
|
var VueI18n = require('vue-i18n');
|
|
7
5
|
var xDeepMerge = require('@empathyco/x-deep-merge');
|
|
8
6
|
|
|
9
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
10
|
-
|
|
11
|
-
var VueI18n__default = /*#__PURE__*/_interopDefaultLegacy(VueI18n);
|
|
12
|
-
|
|
13
7
|
/**
|
|
14
8
|
* I18n settings manager.
|
|
15
9
|
*
|
|
@@ -45,8 +39,8 @@ class I18n {
|
|
|
45
39
|
* @param vue - The Vue instance.
|
|
46
40
|
*/
|
|
47
41
|
install(vue) {
|
|
48
|
-
vue.use(
|
|
49
|
-
this.vueI18n = new
|
|
42
|
+
vue.use(VueI18n);
|
|
43
|
+
this.vueI18n = new VueI18n({
|
|
50
44
|
locale: this.locale,
|
|
51
45
|
messages: this.currentMessages ? { [this.locale]: this.currentMessages } : {},
|
|
52
46
|
silentFallbackWarn: true,
|
package/dist/cjs/index.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
3
|
var i18n_plugin = require('./i18n/i18n.plugin.js');
|
|
6
4
|
var webpack_config = require('./build/webpack/webpack.config.js');
|
|
7
5
|
var rollup_config = require('./build/rollup/rollup.config.js');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@empathyco/x-archetype-utils",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0-alpha.0",
|
|
4
4
|
"description": "Utilities for x-archetype",
|
|
5
5
|
"author": "Empathy Systems Corporation S.L.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -37,17 +37,17 @@
|
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@empathyco/x-deep-merge": "^2.0.3-alpha.0",
|
|
40
|
+
"@empathyco/x-utils": "^1.0.3-alpha.0",
|
|
40
41
|
"tslib": "~2.6.0",
|
|
41
42
|
"vue-i18n": "~8.28.2"
|
|
42
43
|
},
|
|
43
44
|
"devDependencies": {
|
|
44
|
-
"@empathyco/x-utils": "^1.0.3-alpha.0",
|
|
45
45
|
"@types/jest": "~27.5.0",
|
|
46
46
|
"@types/node": "~18.19.0",
|
|
47
47
|
"@vue/test-utils": "~1.0.3",
|
|
48
48
|
"jest": "~27.5.0",
|
|
49
49
|
"rimraf": "~3.0.2",
|
|
50
|
-
"rollup": "~
|
|
50
|
+
"rollup": "~4.9.1",
|
|
51
51
|
"rollup-plugin-copy": "~3.5.0",
|
|
52
52
|
"rollup-plugin-delete": "~2.0.0",
|
|
53
53
|
"rollup-plugin-typescript2": "~0.36.0",
|
|
@@ -62,5 +62,5 @@
|
|
|
62
62
|
"publishConfig": {
|
|
63
63
|
"access": "public"
|
|
64
64
|
},
|
|
65
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "f8e8dc93933b2ea9347a13781df95f9e7c05b782"
|
|
66
66
|
}
|