intact-vue
Advanced tools
Comparing version 3.0.0-beta.20 to 3.0.0-beta.21
@@ -325,6 +325,6 @@ 'use strict'; | ||
else if (key.startsWith('update:')) { | ||
// delegate update:prop(sync modifier) to $change:prop | ||
// propName has been camelized by Vue, don't do this again | ||
// delegate update:prop(sync modifier) to $change:prop. | ||
// propName has been camelized by Vue, don't do it again | ||
// key = `$change:${camelize(key.substr(7))}`; | ||
var propName = key.substr(7); | ||
var propName = key.substring(7); | ||
// if (name.indexOf('-') > -1) continue; | ||
@@ -335,6 +335,17 @@ name_1 = "$model:" + propName; | ||
if (key.startsWith('change:')) { | ||
name_1 = "$change:" + camelize(key.substr(7)); | ||
name_1 = "$change:" + camelize(key.substring(7)); | ||
} | ||
else { | ||
name_1 = camelize(key); | ||
if (key === 'change') { | ||
name_1 = key; | ||
} | ||
else if (key.startsWith('change')) { | ||
// e.g. @changeValue -> ev-$change:value | ||
// e.g. @changePropName -> ev-$change:propName | ||
// e.g. @change-prop-name -> ev-$change:propName | ||
name_1 = "$change:" + lowerFirst(camelize(key.substring(6))); | ||
} | ||
else { | ||
name_1 = camelize(key); | ||
} | ||
} | ||
@@ -521,4 +532,3 @@ } | ||
return function (str) { | ||
var hit = cache[str]; | ||
return hit || (cache[str] = fn(str)); | ||
return cache[str] || (cache[str] = fn(str)); | ||
}; | ||
@@ -533,2 +543,5 @@ } | ||
}); | ||
var lowerFirst = cached(function (str) { | ||
return str.charAt(0).toLowerCase() + str.slice(1); | ||
}); | ||
function isBoolean(o) { | ||
@@ -535,0 +548,0 @@ return o === true || o === false; |
@@ -322,6 +322,6 @@ 'use strict'; | ||
else if (key.startsWith('update:')) { | ||
// delegate update:prop(sync modifier) to $change:prop | ||
// propName has been camelized by Vue, don't do this again | ||
// delegate update:prop(sync modifier) to $change:prop. | ||
// propName has been camelized by Vue, don't do it again | ||
// key = `$change:${camelize(key.substr(7))}`; | ||
var propName = key.substr(7); | ||
var propName = key.substring(7); | ||
// if (name.indexOf('-') > -1) continue; | ||
@@ -332,6 +332,17 @@ name_1 = "$model:" + propName; | ||
if (key.startsWith('change:')) { | ||
name_1 = "$change:" + camelize(key.substr(7)); | ||
name_1 = "$change:" + camelize(key.substring(7)); | ||
} | ||
else { | ||
name_1 = camelize(key); | ||
if (key === 'change') { | ||
name_1 = key; | ||
} | ||
else if (key.startsWith('change')) { | ||
// e.g. @changeValue -> ev-$change:value | ||
// e.g. @changePropName -> ev-$change:propName | ||
// e.g. @change-prop-name -> ev-$change:propName | ||
name_1 = "$change:" + lowerFirst(camelize(key.substring(6))); | ||
} | ||
else { | ||
name_1 = camelize(key); | ||
} | ||
} | ||
@@ -518,4 +529,3 @@ } | ||
return function (str) { | ||
var hit = cache[str]; | ||
return hit || (cache[str] = fn(str)); | ||
return cache[str] || (cache[str] = fn(str)); | ||
}; | ||
@@ -530,2 +540,5 @@ } | ||
}); | ||
var lowerFirst = cached(function (str) { | ||
return str.charAt(0).toLowerCase() + str.slice(1); | ||
}); | ||
function isBoolean(o) { | ||
@@ -532,0 +545,0 @@ return o === true || o === false; |
@@ -318,6 +318,6 @@ import { __assign, __extends } from 'tslib'; | ||
else if (key.startsWith('update:')) { | ||
// delegate update:prop(sync modifier) to $change:prop | ||
// propName has been camelized by Vue, don't do this again | ||
// delegate update:prop(sync modifier) to $change:prop. | ||
// propName has been camelized by Vue, don't do it again | ||
// key = `$change:${camelize(key.substr(7))}`; | ||
var propName = key.substr(7); | ||
var propName = key.substring(7); | ||
// if (name.indexOf('-') > -1) continue; | ||
@@ -328,6 +328,17 @@ name_1 = "$model:" + propName; | ||
if (key.startsWith('change:')) { | ||
name_1 = "$change:" + camelize(key.substr(7)); | ||
name_1 = "$change:" + camelize(key.substring(7)); | ||
} | ||
else { | ||
name_1 = camelize(key); | ||
if (key === 'change') { | ||
name_1 = key; | ||
} | ||
else if (key.startsWith('change')) { | ||
// e.g. @changeValue -> ev-$change:value | ||
// e.g. @changePropName -> ev-$change:propName | ||
// e.g. @change-prop-name -> ev-$change:propName | ||
name_1 = "$change:" + lowerFirst(camelize(key.substring(6))); | ||
} | ||
else { | ||
name_1 = camelize(key); | ||
} | ||
} | ||
@@ -514,4 +525,3 @@ } | ||
return function (str) { | ||
var hit = cache[str]; | ||
return hit || (cache[str] = fn(str)); | ||
return cache[str] || (cache[str] = fn(str)); | ||
}; | ||
@@ -526,2 +536,5 @@ } | ||
}); | ||
var lowerFirst = cached(function (str) { | ||
return str.charAt(0).toLowerCase() + str.slice(1); | ||
}); | ||
function isBoolean(o) { | ||
@@ -528,0 +541,0 @@ return o === true || o === false; |
@@ -31,4 +31,4 @@ import { Component } from '../core/component'; | ||
} | ||
export declare function resolveTransitionHooks(vNode: VNode, props: Props<BaseTransitionProps, BaseTransition>, component: BaseTransition): TransitionHooks; | ||
export declare function resolveTransitionHooks(vNode: VNode, props: Props<BaseTransitionProps, BaseTransition>, component: BaseTransition, isTransitionGroup: boolean): TransitionHooks; | ||
export declare function setTransitionHooks(vNode: VNode, hooks: TransitionHooks): void; | ||
export declare function isInvalidTranstionChild(vNode: NormalizedChildren): number | true; |
{ | ||
"name": "intact-vue", | ||
"version": "3.0.0-beta.20", | ||
"version": "3.0.0-beta.21", | ||
"description": "A compatibility layer for running intact component in vue2.0", | ||
@@ -33,5 +33,5 @@ "main": "index.js", | ||
"dependencies": { | ||
"intact": "^3.0.0-beta.20", | ||
"intact": "^3.0.0-beta.21", | ||
"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
978981
23631
Updatedintact@^3.0.0-beta.21