@razaman2/reactive-view 0.0.4 → 0.0.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/dist/index.js +3 -3
- package/dist/index.mjs +3 -3
- package/package.json +1 -1
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.
|
|
194
|
+
var version = "0.0.5";
|
|
195
195
|
|
|
196
196
|
// src/ReactiveView.ts
|
|
197
197
|
var props = {
|
|
@@ -233,7 +233,7 @@ var setup = {
|
|
|
233
233
|
var ReactiveView_default = {
|
|
234
234
|
props: __spreadValues(__spreadValues({}, setup), props),
|
|
235
235
|
setup(props2, context) {
|
|
236
|
-
var _a, _b, _c, _d;
|
|
236
|
+
var _a, _b, _c, _d, _f;
|
|
237
237
|
const template = (vue, options2) => {
|
|
238
238
|
var _a2, _b2, _c2;
|
|
239
239
|
const vnode = context.slots.default ? (0, import_vue.h)(
|
|
@@ -286,7 +286,7 @@ var ReactiveView_default = {
|
|
|
286
286
|
}, config2.options);
|
|
287
287
|
}
|
|
288
288
|
if (context.attrs["onUpdate:propsState"] || props2.sync) {
|
|
289
|
-
const config2 = typeof context.attrs["onUpdate:propsState"] === "function" ? { callback: context.attrs["onUpdate:propsState"] } : context.attrs["onUpdate:propsState"];
|
|
289
|
+
const config2 = (_f = typeof context.attrs["onUpdate:propsState"] === "function" ? { callback: context.attrs["onUpdate:propsState"] } : context.attrs["onUpdate:propsState"]) != null ? _f : {};
|
|
290
290
|
const subscription = (0, import_vue.watch)(() => props2.state, (after, before) => {
|
|
291
291
|
if (props2.sync && typeof config2.callback !== "function") {
|
|
292
292
|
getState.replaceData(after);
|
package/dist/index.mjs
CHANGED
|
@@ -148,7 +148,7 @@ import { h, ref, watch } from "vue";
|
|
|
148
148
|
|
|
149
149
|
// package.json
|
|
150
150
|
var name = "@razaman2/reactive-view";
|
|
151
|
-
var version = "0.0.
|
|
151
|
+
var version = "0.0.5";
|
|
152
152
|
|
|
153
153
|
// src/ReactiveView.ts
|
|
154
154
|
var props = {
|
|
@@ -190,7 +190,7 @@ var setup = {
|
|
|
190
190
|
var ReactiveView_default = {
|
|
191
191
|
props: __spreadValues(__spreadValues({}, setup), props),
|
|
192
192
|
setup(props2, context) {
|
|
193
|
-
var _a, _b, _c, _d;
|
|
193
|
+
var _a, _b, _c, _d, _f;
|
|
194
194
|
const template = (vue, options2) => {
|
|
195
195
|
var _a2, _b2, _c2;
|
|
196
196
|
const vnode = context.slots.default ? h(
|
|
@@ -243,7 +243,7 @@ var ReactiveView_default = {
|
|
|
243
243
|
}, config2.options);
|
|
244
244
|
}
|
|
245
245
|
if (context.attrs["onUpdate:propsState"] || props2.sync) {
|
|
246
|
-
const config2 = typeof context.attrs["onUpdate:propsState"] === "function" ? { callback: context.attrs["onUpdate:propsState"] } : context.attrs["onUpdate:propsState"];
|
|
246
|
+
const config2 = (_f = typeof context.attrs["onUpdate:propsState"] === "function" ? { callback: context.attrs["onUpdate:propsState"] } : context.attrs["onUpdate:propsState"]) != null ? _f : {};
|
|
247
247
|
const subscription = watch(() => props2.state, (after, before) => {
|
|
248
248
|
if (props2.sync && typeof config2.callback !== "function") {
|
|
249
249
|
getState.replaceData(after);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@razaman2/reactive-view",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.5",
|
|
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",
|