mapomodule 1.0.0-alpha.22 → 1.0.0-alpha.25

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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,36 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [1.0.0-alpha.25](https://github.com/lotrekagency/mapo/compare/v1.0.0-alpha.24...v1.0.0-alpha.25) (2022-08-02)
7
+
8
+
9
+ ### Features
10
+
11
+ * **i18n:** move i18n config to mapo defaults to enable mixed merges of user and mapo options. ([2190aa9](https://github.com/lotrekagency/mapo/commit/2190aa9ebf106d811a64e27502d3a45b75a3e9af))
12
+
13
+
14
+
15
+
16
+
17
+ # [1.0.0-alpha.24](https://github.com/lotrekagency/mapo/compare/v1.0.0-alpha.23...v1.0.0-alpha.24) (2022-07-22)
18
+
19
+
20
+ ### Features
21
+
22
+ * refactored translations, added vuetify translations ([bd37682](https://github.com/lotrekagency/mapo/commit/bd376820ad05a00f49088b9585b7bb26371e09f8))
23
+
24
+
25
+
26
+
27
+
28
+ # [1.0.0-alpha.23](https://github.com/lotrekagency/mapo/compare/v1.0.0-alpha.22...v1.0.0-alpha.23) (2022-05-04)
29
+
30
+ **Note:** Version bump only for package mapomodule
31
+
32
+
33
+
34
+
35
+
6
36
  # [1.0.0-alpha.22](https://github.com/lotrekagency/mapo/compare/v1.0.0-alpha.21...v1.0.0-alpha.22) (2022-05-01)
7
37
 
8
38
  **Note:** Version bump only for package mapomodule
package/defaults.js CHANGED
@@ -1,4 +1,5 @@
1
- import vuetify from '@mapomodule/uikit/defaults'
1
+ import vuetify from '@mapomodule/uikit/defaults/vuetify'
2
+ import i18n from '@mapomodule/uikit/defaults/i18n'
2
3
 
3
4
  export default {
4
5
  store: true,
@@ -6,6 +7,9 @@ export default {
6
7
  router: {
7
8
  base: process.env.PANEL_URL || '/',
8
9
  },
10
+ build: {
11
+ transpile: ["mapomodule"],
12
+ },
9
13
  head: {
10
14
  titleTemplate: '%s - mapo',
11
15
  title: '🥭 mapo',
@@ -18,6 +22,7 @@ export default {
18
22
  { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }
19
23
  ]
20
24
  },
25
+ i18n,
21
26
  vuetify,
22
27
  axios: {
23
28
  withCredentials: true,
package/module.js CHANGED
@@ -9,6 +9,9 @@ function customMerger(objValue, srcValue, key) {
9
9
  if (key == 'extendPlugins' && isFunction(objValue) && isFunction(srcValue)) {
10
10
  return plugins => objValue(srcValue(plugins))
11
11
  }
12
+ if (key == 'onBeforeLanguageSwitch' && isFunction(objValue) && isFunction(srcValue)) {
13
+ return async (...args) => {await objValue(...args); await srcValue(...args);}
14
+ }
12
15
  if (typeof objValue !== 'object') {
13
16
  return objValue
14
17
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mapomodule",
3
- "version": "1.0.0-alpha.22",
3
+ "version": "1.0.0-alpha.25",
4
4
  "description": "Mapo is a nuxt module that helps in the creation of Administration Panels.",
5
5
  "author": "bnznamco <gabriele.baldi.01@gmail.com>",
6
6
  "keywords": [
@@ -13,16 +13,16 @@
13
13
  "repository": "https://github.com/lotrekagency/mapo",
14
14
  "main": "./module.js",
15
15
  "dependencies": {
16
- "@mapomodule/core": "^1.0.0-alpha.22",
16
+ "@mapomodule/core": "^1.0.0-alpha.23",
17
17
  "@mapomodule/integrations": "^1.0.0-alpha.16",
18
18
  "@mapomodule/routemeta": "^1.0.0-alpha.8",
19
- "@mapomodule/store": "^1.0.0-alpha.22",
20
- "@mapomodule/uikit": "^1.0.0-alpha.22",
19
+ "@mapomodule/store": "^1.0.0-alpha.23",
20
+ "@mapomodule/uikit": "^1.0.0-alpha.25",
21
21
  "@nuxtjs/axios": "^5.13.6",
22
22
  "lodash.mergewith": "^4.6.2"
23
23
  },
24
24
  "publishConfig": {
25
25
  "access": "public"
26
26
  },
27
- "gitHead": "49f5a6c1ed148cfdaf80a6b610ffc4233aa177cb"
27
+ "gitHead": "eadf1c2835aa6aba84870dc8d98308f10b257527"
28
28
  }