@pinegrow/vite-plugin 3.0.0-beta.140 → 3.0.0-beta.142

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/dist/vue/index.js CHANGED
@@ -17,8 +17,7 @@ export function usePinegrow() {
17
17
 
18
18
  if (!(winObj?.process?.client && winObj.process.client !== true)) {
19
19
  if (!winObj.pinegrow) {
20
- // conditional
21
- // console.log('Cache initialized by Pinegrow Vue Plugin!')
20
+ // console.log('Cache initialized by Vue Plugin!')
22
21
  const elCache = reactive(new Map())
23
22
 
24
23
  const enrichWithComponentName = (elCacheObj, localFile) => {
@@ -31,15 +30,15 @@ export function usePinegrow() {
31
30
 
32
31
  winObj.pinegrow = {
33
32
  elCache,
34
- watchFromContext: watch,
33
+ // pgIdToElComputed,
34
+ // localComponentToElComputed,
35
+ // appTree,
36
+ refFromContext: ref,
35
37
  computedFromContext: computed,
38
+ watchFromContext: watch,
36
39
  // // Uncomment these two to test locally
37
40
  // elCacheErrHandlerFn,
38
41
  // elUpdateHanderFn,
39
- // rootFragmentToPgIdComputed,
40
- // pgIdToElComputed,
41
- // localComponentToElComputed,
42
- // appTree,
43
42
  }
44
43
  }
45
44
  }
@@ -272,6 +271,9 @@ export function usePinegrow() {
272
271
  } else {
273
272
  pinegrow.elCache.delete(el)
274
273
  }
274
+ if (pinegrow.elUpdateHanderFn) {
275
+ pinegrow.elUpdateHanderFn(el)
276
+ }
275
277
  }
276
278
  }
277
279
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pinegrow/vite-plugin",
3
- "version": "3.0.0-beta.140",
3
+ "version": "3.0.0-beta.142",
4
4
  "description": "Pinegrow Vite Plugin",
5
5
  "type": "module",
6
6
  "files": [