mapomodule 1.0.0-alpha.3 → 1.0.0-alpha.31

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,244 @@
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.31](https://github.com/lotrekagency/mapo/compare/v1.0.0-alpha.30...v1.0.0-alpha.31) (2022-09-14)
7
+
8
+ **Note:** Version bump only for package mapomodule
9
+
10
+
11
+
12
+
13
+
14
+ # [1.0.0-alpha.30](https://github.com/lotrekagency/mapo/compare/v1.0.0-alpha.29...v1.0.0-alpha.30) (2022-09-13)
15
+
16
+ **Note:** Version bump only for package mapomodule
17
+
18
+
19
+
20
+
21
+
22
+ # [1.0.0-alpha.29](https://github.com/lotrekagency/mapo/compare/v1.0.0-alpha.28...v1.0.0-alpha.29) (2022-09-03)
23
+
24
+ **Note:** Version bump only for package mapomodule
25
+
26
+
27
+
28
+
29
+
30
+ # [1.0.0-alpha.28](https://github.com/lotrekagency/mapo/compare/v1.0.0-alpha.27...v1.0.0-alpha.28) (2022-09-01)
31
+
32
+ **Note:** Version bump only for package mapomodule
33
+
34
+
35
+
36
+
37
+
38
+ # [1.0.0-alpha.27](https://github.com/lotrekagency/mapo/compare/v1.0.0-alpha.26...v1.0.0-alpha.27) (2022-08-25)
39
+
40
+ **Note:** Version bump only for package mapomodule
41
+
42
+
43
+
44
+
45
+
46
+ # [1.0.0-alpha.26](https://github.com/lotrekagency/mapo/compare/v1.0.0-alpha.25...v1.0.0-alpha.26) (2022-08-11)
47
+
48
+ **Note:** Version bump only for package mapomodule
49
+
50
+
51
+
52
+
53
+
54
+ # [1.0.0-alpha.25](https://github.com/lotrekagency/mapo/compare/v1.0.0-alpha.24...v1.0.0-alpha.25) (2022-08-02)
55
+
56
+
57
+ ### Features
58
+
59
+ * **i18n:** move i18n config to mapo defaults to enable mixed merges of user and mapo options. ([2190aa9](https://github.com/lotrekagency/mapo/commit/2190aa9ebf106d811a64e27502d3a45b75a3e9af))
60
+
61
+
62
+
63
+
64
+
65
+ # [1.0.0-alpha.24](https://github.com/lotrekagency/mapo/compare/v1.0.0-alpha.23...v1.0.0-alpha.24) (2022-07-22)
66
+
67
+
68
+ ### Features
69
+
70
+ * refactored translations, added vuetify translations ([bd37682](https://github.com/lotrekagency/mapo/commit/bd376820ad05a00f49088b9585b7bb26371e09f8))
71
+
72
+
73
+
74
+
75
+
76
+ # [1.0.0-alpha.23](https://github.com/lotrekagency/mapo/compare/v1.0.0-alpha.22...v1.0.0-alpha.23) (2022-05-04)
77
+
78
+ **Note:** Version bump only for package mapomodule
79
+
80
+
81
+
82
+
83
+
84
+ # [1.0.0-alpha.22](https://github.com/lotrekagency/mapo/compare/v1.0.0-alpha.21...v1.0.0-alpha.22) (2022-05-01)
85
+
86
+ **Note:** Version bump only for package mapomodule
87
+
88
+
89
+
90
+
91
+
92
+ # [1.0.0-alpha.21](https://github.com/lotrekagency/mapo/compare/v1.0.0-alpha.20...v1.0.0-alpha.21) (2022-04-25)
93
+
94
+ **Note:** Version bump only for package mapomodule
95
+
96
+
97
+
98
+
99
+
100
+ # [1.0.0-alpha.20](https://github.com/lotrekagency/mapo/compare/v1.0.0-alpha.19...v1.0.0-alpha.20) (2022-04-25)
101
+
102
+ **Note:** Version bump only for package mapomodule
103
+
104
+
105
+
106
+
107
+
108
+ # [1.0.0-alpha.19](https://github.com/lotrekagency/mapo/compare/v1.0.0-alpha.18...v1.0.0-alpha.19) (2022-04-06)
109
+
110
+ **Note:** Version bump only for package mapomodule
111
+
112
+
113
+
114
+
115
+
116
+ # [1.0.0-alpha.18](https://github.com/lotrekagency/mapo/compare/v1.0.0-alpha.17...v1.0.0-alpha.18) (2022-04-04)
117
+
118
+ **Note:** Version bump only for package mapomodule
119
+
120
+
121
+
122
+
123
+
124
+ # [1.0.0-alpha.17](https://github.com/lotrekagency/mapo/compare/v1.0.0-alpha.16...v1.0.0-alpha.17) (2022-04-03)
125
+
126
+ **Note:** Version bump only for package mapomodule
127
+
128
+
129
+
130
+
131
+
132
+ # [1.0.0-alpha.16](https://github.com/lotrekagency/mapo/compare/v1.0.0-alpha.15...v1.0.0-alpha.16) (2022-04-03)
133
+
134
+
135
+ ### Features
136
+
137
+ * Added mapo integrations module! 🎉 ([76d2c80](https://github.com/lotrekagency/mapo/commit/76d2c805245b4cf49a33696339da52e4c17f4053))
138
+
139
+
140
+ ### BREAKING CHANGES
141
+
142
+ * This change removes all the camomilla cms references moving the compatibility layer in a detached package [mapo-integrations-camomilla](https://github.com/lotrekagency/mapo-integrations-camomilla). The guidelines to make mapo work with camomilla will be provided in the package readme.
143
+
144
+
145
+
146
+
147
+
148
+ # [1.0.0-alpha.15](https://github.com/lotrekagency/mapo/compare/v1.0.0-alpha.14...v1.0.0-alpha.15) (2022-03-11)
149
+
150
+ **Note:** Version bump only for package mapomodule
151
+
152
+
153
+
154
+
155
+
156
+ # [1.0.0-alpha.14](https://github.com/lotrekagency/mapo/compare/v1.0.0-alpha.13...v1.0.0-alpha.14) (2022-03-01)
157
+
158
+ **Note:** Version bump only for package mapomodule
159
+
160
+
161
+
162
+
163
+
164
+ # [1.0.0-alpha.13](https://github.com/lotrekagency/mapo/compare/v1.0.0-alpha.12...v1.0.0-alpha.13) (2022-03-01)
165
+
166
+ **Note:** Version bump only for package mapomodule
167
+
168
+
169
+
170
+
171
+
172
+ # [1.0.0-alpha.12](https://github.com/lotrekagency/mapo/compare/v1.0.0-alpha.11...v1.0.0-alpha.12) (2022-02-16)
173
+
174
+ **Note:** Version bump only for package mapomodule
175
+
176
+
177
+
178
+
179
+
180
+ # [1.0.0-alpha.11](https://github.com/lotrekagency/mapo/compare/v1.0.0-alpha.10...v1.0.0-alpha.11) (2022-02-12)
181
+
182
+ **Note:** Version bump only for package mapomodule
183
+
184
+
185
+
186
+
187
+
188
+ # [1.0.0-alpha.10](https://github.com/lotrekagency/mapo/compare/v1.0.0-alpha.9...v1.0.0-alpha.10) (2022-02-11)
189
+
190
+ **Note:** Version bump only for package mapomodule
191
+
192
+
193
+
194
+
195
+
196
+ # [1.0.0-alpha.9](https://github.com/lotrekagency/mapo/compare/v1.0.0-alpha.8...v1.0.0-alpha.9) (2022-02-08)
197
+
198
+ **Note:** Version bump only for package mapomodule
199
+
200
+
201
+
202
+
203
+
204
+ # [1.0.0-alpha.8](https://github.com/lotrekagency/mapo/compare/v1.0.0-alpha.7...v1.0.0-alpha.8) (2022-01-23)
205
+
206
+ **Note:** Version bump only for package mapomodule
207
+
208
+
209
+
210
+
211
+
212
+ # [1.0.0-alpha.7](https://github.com/lotrekagency/mapo/compare/v1.0.0-alpha.6...v1.0.0-alpha.7) (2022-01-13)
213
+
214
+ **Note:** Version bump only for package mapomodule
215
+
216
+
217
+
218
+
219
+
220
+ # [1.0.0-alpha.6](https://github.com/lotrekagency/mapo/compare/v1.0.0-alpha.5...v1.0.0-alpha.6) (2021-12-26)
221
+
222
+ **Note:** Version bump only for package mapomodule
223
+
224
+
225
+
226
+
227
+
228
+ # [1.0.0-alpha.5](https://github.com/lotrekagency/mapo/compare/v1.0.0-alpha.4...v1.0.0-alpha.5) (2021-12-20)
229
+
230
+ **Note:** Version bump only for package mapomodule
231
+
232
+
233
+
234
+
235
+
236
+ # [1.0.0-alpha.4](https://github.com/lotrekagency/mapo/compare/v1.0.0-alpha.3...v1.0.0-alpha.4) (2021-10-25)
237
+
238
+ **Note:** Version bump only for package mapomodule
239
+
240
+
241
+
242
+
243
+
6
244
  # [1.0.0-alpha.3](https://github.com/lotrekagency/mapo/compare/v1.0.0-alpha.2...v1.0.0-alpha.3) (2021-10-25)
7
245
 
8
246
 
package/README.md CHANGED
@@ -5,10 +5,10 @@ Add `mapomodule` dependency to your project
5
5
  ```sh
6
6
  yarn add --dev mapomodule # or npm install --save-dev mapomodule
7
7
  ```
8
- Add mapomodule to the buildModules section of nuxt.config.js
8
+ Add mapomodule to the modules section of nuxt.config.js
9
9
  ```js
10
10
  {
11
- buildModules: [
11
+ modules: [
12
12
  // Simple usage
13
13
  'mapomodule',
14
14
 
@@ -22,7 +22,7 @@ Add mapomodule to the buildModules section of nuxt.config.js
22
22
 
23
23
  ```js
24
24
  {
25
- buildModules: [
25
+ modules: [
26
26
  'mapomodule'
27
27
  ],
28
28
  mapo: {
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,10 +22,10 @@ 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
- baseURL: 'http://localhost:8000',
24
- browserBaseURL: 'http://localhost:8000',
28
+ withCredentials: true,
25
29
  },
26
30
 
27
31
  extendPlugins(plugins) {
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
  }
@@ -21,11 +24,12 @@ export default async function MapoModule(moduleOptions) {
21
24
  this.options = _mergeWith(this.options, mapoDefaults, customMerger)
22
25
 
23
26
  this.requireModule(['@nuxtjs/axios', (this.options && this.options.axios) || userModuleOptions.axios || mapoDefaults.axios || {}])
24
- this.requireModule(['@mapomodule/store'], userModuleOptions.store)
25
- this.requireModule(['@mapomodule/core'], userModuleOptions)
27
+ this.requireModule(['@mapomodule/store', userModuleOptions.store])
28
+ this.requireModule(['@mapomodule/core', userModuleOptions])
29
+ this.requireModule(['@mapomodule/integrations', userModuleOptions.integrations])
26
30
  /* Await prevents to load routemeta before mapo pages. Also needed to correclty load mapo components */
27
- await this.requireModule(['@mapomodule/uikit'], userModuleOptions.ui)
28
- this.requireModule(['@mapomodule/routemeta'], userModuleOptions.routemeta)
31
+ await this.requireModule(['@mapomodule/uikit', userModuleOptions.ui])
32
+ this.requireModule(['@mapomodule/routemeta', userModuleOptions.routemeta])
29
33
 
30
34
  }
31
35
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mapomodule",
3
- "version": "1.0.0-alpha.3",
3
+ "version": "1.0.0-alpha.31",
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,15 +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.1",
17
- "@mapomodule/routemeta": "^1.0.0-alpha.1",
18
- "@mapomodule/store": "^1.0.0-alpha.1",
19
- "@mapomodule/uikit": "^1.0.0-alpha.2",
16
+ "@mapomodule/core": "^1.0.0-alpha.31",
17
+ "@mapomodule/integrations": "^1.0.0-alpha.16",
18
+ "@mapomodule/routemeta": "^1.0.0-alpha.8",
19
+ "@mapomodule/store": "^1.0.0-alpha.30",
20
+ "@mapomodule/uikit": "^1.0.0-alpha.30",
20
21
  "@nuxtjs/axios": "^5.13.6",
21
22
  "lodash.mergewith": "^4.6.2"
22
23
  },
23
24
  "publishConfig": {
24
25
  "access": "public"
25
26
  },
26
- "gitHead": "b1dee653b3d88e0d8a5d380bc8deab18110a8c5c"
27
+ "gitHead": "fe25f51c0ef03764bca9d9b2b123f0729d71d13e"
27
28
  }