@skyservice-developers/vue-dev-kit 1.2.3 → 1.2.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyservice-developers/vue-dev-kit",
3
- "version": "1.2.3",
3
+ "version": "1.2.5",
4
4
  "description": "Vue 2 and Vue 3 developer toolkit - components and helpers",
5
5
  "type": "module",
6
6
  "main": "./dist/vue3/vue-dev-kit.cjs",
@@ -163,7 +163,15 @@ const closeDropdown = () => {
163
163
  }
164
164
 
165
165
  const selectItem = (item) => {
166
+ console.log('[Header] selectItem clicked, item:', item)
167
+ console.log('[Header] item.path:', item.path)
168
+ console.log('[Header] isInIframe:', isInIframe())
166
169
  emit('navigate', item.path)
170
+ if (isInIframe()) {
171
+ console.log('[Header] sending postMessage navigate to parent, path:', item.path)
172
+ window.parent.postMessage({ type: 'navigate', path: item.path }, '*')
173
+ console.log('[Header] postMessage sent')
174
+ }
167
175
  closeDropdown()
168
176
  }
169
177