@razaman2/reactive-view 0.0.1 → 0.0.3

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
@@ -191,7 +191,7 @@ var import_vue = require("vue");
191
191
 
192
192
  // package.json
193
193
  var name = "@razaman2/reactive-view";
194
- var version = "0.0.1";
194
+ var version = "0.0.3";
195
195
 
196
196
  // src/ReactiveView.ts
197
197
  var import_uuid = require("uuid");
@@ -285,8 +285,6 @@ ${(0, import_uuid.v4)()}`;
285
285
  config2.callback(transform ? transform(diff) : diff, getState);
286
286
  }
287
287
  }, config2.options);
288
- props2.subscriptions.addSubscription(subscriptionName, subscription);
289
- (0, import_vue.onBeforeUnmount)(() => props2.subscriptions.removeSubscription(subscriptionName, false));
290
288
  }
291
289
  if (context.attrs["onUpdate:propsState"]) {
292
290
  const config2 = typeof context.attrs["onUpdate:propsState"] === "function" ? { callback: context.attrs["onUpdate:propsState"] } : context.attrs["onUpdate:propsState"];
@@ -298,8 +296,6 @@ ${(0, import_uuid.v4)()}`;
298
296
  config2.callback({ before, after }, getState);
299
297
  sync = true;
300
298
  }, config2.options);
301
- props2.subscriptions.addSubscription(subscriptionName, subscription);
302
- (0, import_vue.onBeforeUnmount)(() => props2.subscriptions.removeSubscription(subscriptionName, false));
303
299
  }
304
300
  return ($vue) => {
305
301
  const setup3 = { $vue, options: parent };
package/dist/index.mjs CHANGED
@@ -144,11 +144,11 @@ var Subscriptions = _Subscriptions;
144
144
  // src/ReactiveView.ts
145
145
  import ObjectManager from "@razaman2/object-manager";
146
146
  import DataManager from "@razaman2/data-manager";
147
- import { h, ref, watch, onBeforeUnmount } from "vue";
147
+ import { h, ref, watch } from "vue";
148
148
 
149
149
  // package.json
150
150
  var name = "@razaman2/reactive-view";
151
- var version = "0.0.1";
151
+ var version = "0.0.3";
152
152
 
153
153
  // src/ReactiveView.ts
154
154
  import { v4 as uuid } from "uuid";
@@ -242,8 +242,6 @@ ${uuid()}`;
242
242
  config2.callback(transform ? transform(diff) : diff, getState);
243
243
  }
244
244
  }, config2.options);
245
- props2.subscriptions.addSubscription(subscriptionName, subscription);
246
- onBeforeUnmount(() => props2.subscriptions.removeSubscription(subscriptionName, false));
247
245
  }
248
246
  if (context.attrs["onUpdate:propsState"]) {
249
247
  const config2 = typeof context.attrs["onUpdate:propsState"] === "function" ? { callback: context.attrs["onUpdate:propsState"] } : context.attrs["onUpdate:propsState"];
@@ -255,8 +253,6 @@ ${uuid()}`;
255
253
  config2.callback({ before, after }, getState);
256
254
  sync = true;
257
255
  }, config2.options);
258
- props2.subscriptions.addSubscription(subscriptionName, subscription);
259
- onBeforeUnmount(() => props2.subscriptions.removeSubscription(subscriptionName, false));
260
256
  }
261
257
  return ($vue) => {
262
258
  const setup3 = { $vue, options: parent };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@razaman2/reactive-view",
3
- "version": "0.0.1",
3
+ "version": "0.0.3",
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",