@razaman2/reactive-view 0.0.25 → 0.0.26
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.d.mts +1 -3
- package/dist/index.d.ts +1 -3
- package/dist/index.js +5 -5
- package/dist/index.mjs +5 -5
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -159,7 +159,7 @@ var import_vue = require("vue");
|
|
|
159
159
|
|
|
160
160
|
// package.json
|
|
161
161
|
var name = "@razaman2/reactive-view";
|
|
162
|
-
var version = "0.0.
|
|
162
|
+
var version = "0.0.26";
|
|
163
163
|
|
|
164
164
|
// src/ReactiveView.ts
|
|
165
165
|
var setup = {
|
|
@@ -172,9 +172,7 @@ var ReactiveView_default = {
|
|
|
172
172
|
ReactiveView: {
|
|
173
173
|
default: true
|
|
174
174
|
},
|
|
175
|
-
instance: {
|
|
176
|
-
default: (0, import_vue.ref)()
|
|
177
|
-
},
|
|
175
|
+
instance: {},
|
|
178
176
|
notifications: Object,
|
|
179
177
|
subscriptions: Object,
|
|
180
178
|
beforeSetData: Function,
|
|
@@ -317,7 +315,9 @@ var ReactiveView_default = {
|
|
|
317
315
|
return options;
|
|
318
316
|
}, component.value);
|
|
319
317
|
}
|
|
320
|
-
props.instance
|
|
318
|
+
if (props.instance) {
|
|
319
|
+
props.instance.value = component.value;
|
|
320
|
+
}
|
|
321
321
|
return (vue) => {
|
|
322
322
|
if (ready.value) {
|
|
323
323
|
return access(component).template(component, vue);
|
package/dist/index.mjs
CHANGED
|
@@ -119,7 +119,7 @@ import { ref, reactive, watch, isRef, isReactive, createVNode, getCurrentInstanc
|
|
|
119
119
|
|
|
120
120
|
// package.json
|
|
121
121
|
var name = "@razaman2/reactive-view";
|
|
122
|
-
var version = "0.0.
|
|
122
|
+
var version = "0.0.26";
|
|
123
123
|
|
|
124
124
|
// src/ReactiveView.ts
|
|
125
125
|
var setup = {
|
|
@@ -132,9 +132,7 @@ var ReactiveView_default = {
|
|
|
132
132
|
ReactiveView: {
|
|
133
133
|
default: true
|
|
134
134
|
},
|
|
135
|
-
instance: {
|
|
136
|
-
default: ref()
|
|
137
|
-
},
|
|
135
|
+
instance: {},
|
|
138
136
|
notifications: Object,
|
|
139
137
|
subscriptions: Object,
|
|
140
138
|
beforeSetData: Function,
|
|
@@ -277,7 +275,9 @@ var ReactiveView_default = {
|
|
|
277
275
|
return options;
|
|
278
276
|
}, component.value);
|
|
279
277
|
}
|
|
280
|
-
props.instance
|
|
278
|
+
if (props.instance) {
|
|
279
|
+
props.instance.value = component.value;
|
|
280
|
+
}
|
|
281
281
|
return (vue) => {
|
|
282
282
|
if (ready.value) {
|
|
283
283
|
return access(component).template(component, vue);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@razaman2/reactive-view",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.26",
|
|
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",
|