@egjs/vue-flicking
Advanced tools
Comparing version 4.10.1 to 4.10.2
@@ -7,3 +7,3 @@ /* | ||
repository: https://github.com/naver/egjs-flicking/tree/master/packages/vue-flicking | ||
version: 4.10.1 | ||
version: 4.10.2 | ||
*/ | ||
@@ -67,2 +67,12 @@ 'use strict'; | ||
}; | ||
function __rest(s, e) { | ||
var t = {}; | ||
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; | ||
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { | ||
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; | ||
} | ||
return t; | ||
} | ||
function __awaiter(thisArg, _arguments, P, generator) { | ||
@@ -618,6 +628,26 @@ function adopt(value) { | ||
} | ||
}, | ||
watch: { | ||
options: { | ||
handler: function (newOptions) { | ||
var flicking = this.vanillaFlicking; | ||
if (!flicking) return; // Omit 'virtual', as it can't have any setter | ||
var virtual = newOptions.virtual, | ||
options = __rest(newOptions, ["virtual"]); // eslint-disable-line @typescript-eslint/no-unused-vars | ||
for (var key in options) { | ||
if (key in flicking && flicking[key] !== options[key]) { | ||
flicking[key] = options[key]; | ||
} | ||
} | ||
}, | ||
deep: true, | ||
immediate: true | ||
} | ||
} | ||
}); | ||
var version = "4.10.1"; | ||
var version = "4.10.2"; | ||
@@ -624,0 +654,0 @@ var install = function (Vue) { |
@@ -7,3 +7,3 @@ /* | ||
repository: https://github.com/naver/egjs-flicking/tree/master/packages/vue-flicking | ||
version: 4.10.1 | ||
version: 4.10.2 | ||
*/ | ||
@@ -66,2 +66,12 @@ import ListDiffer from '@egjs/list-differ'; | ||
}; | ||
function __rest(s, e) { | ||
var t = {}; | ||
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; | ||
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { | ||
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; | ||
} | ||
return t; | ||
} | ||
function __awaiter(thisArg, _arguments, P, generator) { | ||
@@ -617,6 +627,26 @@ function adopt(value) { | ||
} | ||
}, | ||
watch: { | ||
options: { | ||
handler: function (newOptions) { | ||
var flicking = this.vanillaFlicking; | ||
if (!flicking) return; // Omit 'virtual', as it can't have any setter | ||
var virtual = newOptions.virtual, | ||
options = __rest(newOptions, ["virtual"]); // eslint-disable-line @typescript-eslint/no-unused-vars | ||
for (var key in options) { | ||
if (key in flicking && flicking[key] !== options[key]) { | ||
flicking[key] = options[key]; | ||
} | ||
} | ||
}, | ||
deep: true, | ||
immediate: true | ||
} | ||
} | ||
}); | ||
var version = "4.10.1"; | ||
var version = "4.10.2"; | ||
@@ -623,0 +653,0 @@ var install = function (Vue) { |
{ | ||
"name": "@egjs/vue-flicking", | ||
"version": "4.10.1", | ||
"version": "4.10.2", | ||
"description": "Everyday 30 million people experience. It's reliable, flexible and extendable carousel.", | ||
@@ -39,3 +39,3 @@ "main": "dist/flicking.cjs.js", | ||
"dependencies": { | ||
"@egjs/flicking": "~4.10.1", | ||
"@egjs/flicking": "~4.10.2", | ||
"@egjs/list-differ": "^1.0.0" | ||
@@ -42,0 +42,0 @@ }, |
@@ -208,2 +208,21 @@ /* | ||
} | ||
}, | ||
watch: { | ||
options: { | ||
handler(newOptions) { | ||
const flicking = this.vanillaFlicking; | ||
if (!flicking) return; | ||
// Omit 'virtual', as it can't have any setter | ||
const { virtual, ...options } = newOptions; // eslint-disable-line @typescript-eslint/no-unused-vars | ||
for (const key in options) { | ||
if (key in flicking && flicking[key] !== options[key]) { | ||
flicking[key] = options[key]; | ||
} | ||
} | ||
}, | ||
deep: true, | ||
immediate: true | ||
} | ||
} | ||
@@ -210,0 +229,0 @@ }); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
120009
1892
Updated@egjs/flicking@~4.10.2