@razaman2/reactive-view 0.0.34-beta.7 → 0.0.34-beta.8

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/index.js CHANGED
@@ -168,7 +168,7 @@ var import_vue = require("vue");
168
168
 
169
169
  // package.json
170
170
  var name = "@razaman2/reactive-view";
171
- var version = "0.0.34-beta.7";
171
+ var version = "0.0.34-beta.8";
172
172
 
173
173
  // src/ReactiveView.ts
174
174
  var setup = {
@@ -324,13 +324,11 @@ var ReactiveView_default = {
324
324
  config2.callback(diff(import_object_manager.default.on(before), import_object_manager.default.on(after)), { component });
325
325
  }, config2.options);
326
326
  }
327
- if (isFunctionData || isPromiseData) {
328
- setTimeout(async () => {
329
- var _a2;
330
- const [data] = await Promise.all([isAsyncFunctionData ? props.data() : props.data, (_a2 = defer.value) != null ? _a2 : true]);
331
- watchDataProp(data);
332
- });
333
- }
327
+ setTimeout(async () => {
328
+ var _a2;
329
+ const [data] = await Promise.all([isAsyncFunctionData ? props.data() : props.data, (_a2 = defer.value) != null ? _a2 : true]);
330
+ watchDataProp(data);
331
+ });
334
332
  setTimeout(async () => {
335
333
  var _a2;
336
334
  isReady.value = (_a2 = await defer.value) != null ? _a2 : true;
package/dist/index.mjs CHANGED
@@ -125,7 +125,7 @@ import { ref, reactive, watch, isRef, isReactive, createVNode, getCurrentInstanc
125
125
 
126
126
  // package.json
127
127
  var name = "@razaman2/reactive-view";
128
- var version = "0.0.34-beta.7";
128
+ var version = "0.0.34-beta.8";
129
129
 
130
130
  // src/ReactiveView.ts
131
131
  var setup = {
@@ -281,13 +281,11 @@ var ReactiveView_default = {
281
281
  config2.callback(diff(ObjectManager.on(before), ObjectManager.on(after)), { component });
282
282
  }, config2.options);
283
283
  }
284
- if (isFunctionData || isPromiseData) {
285
- setTimeout(async () => {
286
- var _a2;
287
- const [data] = await Promise.all([isAsyncFunctionData ? props.data() : props.data, (_a2 = defer.value) != null ? _a2 : true]);
288
- watchDataProp(data);
289
- });
290
- }
284
+ setTimeout(async () => {
285
+ var _a2;
286
+ const [data] = await Promise.all([isAsyncFunctionData ? props.data() : props.data, (_a2 = defer.value) != null ? _a2 : true]);
287
+ watchDataProp(data);
288
+ });
291
289
  setTimeout(async () => {
292
290
  var _a2;
293
291
  isReady.value = (_a2 = await defer.value) != null ? _a2 : true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@razaman2/reactive-view",
3
- "version": "0.0.34-beta.7",
3
+ "version": "0.0.34-beta.8",
4
4
  "description": "This library enables you to build vue apps in an object oriented way. It provides a convenient approach to extend and override ui components. It provides a built in eventing system along with component data management.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",