@mapomodule/uikit 1.0.0-alpha.47 → 1.0.0-alpha.48

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,17 @@
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.48](https://github.com/lotrekagency/mapo/compare/v1.0.0-alpha.47...v1.0.0-alpha.48) (2023-07-14)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * fix repeater not emitting internal values to form field ([c118eb3](https://github.com/lotrekagency/mapo/commit/c118eb3f4814fc203aaa33bd9232aaa9f76a428b))
12
+
13
+
14
+
15
+
16
+
6
17
  # [1.0.0-alpha.47](https://github.com/lotrekagency/mapo/compare/v1.0.0-alpha.46...v1.0.0-alpha.47) (2023-06-24)
7
18
 
8
19
 
@@ -326,8 +326,11 @@ export default {
326
326
  if (val.length != this.collapsedStack.length)
327
327
  this.collapsedStack = (val || []).map(() => !!this.collapsable);
328
328
  },
329
- items(val) {
330
- this.$emit("input", deepClone(val));
329
+ items: {
330
+ handler(val) {
331
+ this.$emit("input", deepClone(val));
332
+ },
333
+ deep: true
331
334
  },
332
335
  tModalOpen(val) {
333
336
  !val && this.tModalCallback();
@@ -198,7 +198,7 @@ export default {
198
198
  synci18n: true,
199
199
  },
200
200
  {
201
- value: "link.relational.content_type",
201
+ value: "link.content_type",
202
202
  label: this.$t("mapo.menuNodeEditor.relContentTypeLabel"),
203
203
  vShow: ({ model }) => model.link.link_type == "RE",
204
204
  onChange: this.loadPages,
@@ -213,7 +213,7 @@ export default {
213
213
  },
214
214
  },
215
215
  {
216
- value: "link.relational.page_id",
216
+ value: "link.page_id",
217
217
  label: this.$t("mapo.menuNodeEditor.relPageIdLabel"),
218
218
  vShow: ({ model }) => model.link.link_type == "RE",
219
219
  class: "col-md-6",
@@ -240,7 +240,7 @@ export default {
240
240
  },
241
241
  methods: {
242
242
  async loadPages() {
243
- const { content_type } = this.model?.link?.relational || {};
243
+ const { content_type } = this.model?.link || {};
244
244
  if (content_type) {
245
245
  const options = { params: { language_code: this.lang } };
246
246
  this.availablePages = await this.$mapo.$api
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mapomodule/uikit",
3
- "version": "1.0.0-alpha.47",
3
+ "version": "1.0.0-alpha.48",
4
4
  "license": "MIT",
5
5
  "description": "This is part of Mapo nuxt module. Injects Mapo ui components in the nuxt component discovery system.",
6
6
  "author": "bnznamco <gabriele.baldi.01@gmail.com>",
@@ -15,5 +15,5 @@
15
15
  "publishConfig": {
16
16
  "access": "public"
17
17
  },
18
- "gitHead": "40ab5eb6bb2508c9e3a0e8f7cef850cf809a472e"
18
+ "gitHead": "f6b486d9f3533cf24df29c092d521496c32c9625"
19
19
  }