intact-vue
Advanced tools
Comparing version 3.0.21 to 3.0.22
@@ -812,2 +812,10 @@ 'use strict'; | ||
} | ||
Object.defineProperty(Component, "options", { | ||
// Vue will read props from Constructor's options | ||
// static options = {...(Vue as any).options, inheritAttrs: false}; | ||
// Some libraries will extend Vue.options, so we have to use getter to get options | ||
get: function () { return tslib.__assign(tslib.__assign({}, Vue__default["default"].options), { inheritAttrs: false }); }, | ||
enumerable: false, | ||
configurable: true | ||
}); | ||
Component.prototype.$render = function (lastVNode, nextVNode, parentDom, anchor, mountedQueue) { | ||
@@ -863,4 +871,2 @@ var popInstance = pushInstance(this); | ||
Component.cid = 'IntactVue'; | ||
// Vue will read props from Constructor's options | ||
Component.options = tslib.__assign(tslib.__assign({}, Vue__default["default"].options), { inheritAttrs: false }); | ||
// Need by devtools | ||
@@ -867,0 +873,0 @@ Component.config = Vue__default["default"].config; |
@@ -806,2 +806,10 @@ 'use strict'; | ||
} | ||
Object.defineProperty(Component, "options", { | ||
// Vue will read props from Constructor's options | ||
// static options = {...(Vue as any).options, inheritAttrs: false}; | ||
// Some libraries will extend Vue.options, so we have to use getter to get options | ||
get: function () { return tslib.__assign(tslib.__assign({}, Vue__default["default"].options), { inheritAttrs: false }); }, | ||
enumerable: false, | ||
configurable: true | ||
}); | ||
Component.prototype.$render = function (lastVNode, nextVNode, parentDom, anchor, mountedQueue) { | ||
@@ -857,4 +865,2 @@ var popInstance = pushInstance(this); | ||
Component.cid = 'IntactVue'; | ||
// Vue will read props from Constructor's options | ||
Component.options = tslib.__assign(tslib.__assign({}, Vue__default["default"].options), { inheritAttrs: false }); | ||
// Need by devtools | ||
@@ -861,0 +867,0 @@ Component.config = Vue__default["default"].config; |
@@ -11,3 +11,3 @@ import { Component as IntactComponent, Props, ComponentClass, VNodeComponentClass, IntactDom } from 'intact'; | ||
static cid: string; | ||
static options: any; | ||
static get options(): any; | ||
static config: import("vue/types/vue").VueConfiguration; | ||
@@ -14,0 +14,0 @@ static $cid: string; |
@@ -805,2 +805,10 @@ import { __assign, __extends } from 'tslib'; | ||
} | ||
Object.defineProperty(Component, "options", { | ||
// Vue will read props from Constructor's options | ||
// static options = {...(Vue as any).options, inheritAttrs: false}; | ||
// Some libraries will extend Vue.options, so we have to use getter to get options | ||
get: function () { return __assign(__assign({}, Vue.options), { inheritAttrs: false }); }, | ||
enumerable: false, | ||
configurable: true | ||
}); | ||
Component.prototype.$render = function (lastVNode, nextVNode, parentDom, anchor, mountedQueue) { | ||
@@ -856,4 +864,2 @@ var popInstance = pushInstance(this); | ||
Component.cid = 'IntactVue'; | ||
// Vue will read props from Constructor's options | ||
Component.options = __assign(__assign({}, Vue.options), { inheritAttrs: false }); | ||
// Need by devtools | ||
@@ -860,0 +866,0 @@ Component.config = Vue.config; |
{ | ||
"name": "intact-vue", | ||
"version": "3.0.21", | ||
"version": "3.0.22", | ||
"description": "A compatibility layer for running intact component in vue2.0", | ||
@@ -33,6 +33,6 @@ "main": "index.js", | ||
"dependencies": { | ||
"intact": "^3.0.21", | ||
"intact-shared": "^3.0.21", | ||
"intact": "^3.0.22", | ||
"intact-shared": "^3.0.22", | ||
"tslib": "^2.3.1" | ||
} | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
962679
23467
Updatedintact@^3.0.22
Updatedintact-shared@^3.0.22