Skip to content

Commit

Permalink
fix(vue): state provider change event
Browse files Browse the repository at this point in the history
  • Loading branch information
bietkul committed Nov 16, 2021
1 parent 6bc4b32 commit c494112
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/vue/src/components/basic/StateProvider.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ const StateProvider = {
watch: {
searchState(newVal, oldVal) {
if (this.isStateChanged(newVal, oldVal)) {
this.$emit('change', newVal, oldVal);
this.$emit('change', oldVal, newVal);
}
},
selectedValues(newVal, oldVal) {
Expand Down
36 changes: 35 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,28 @@
react-responsive-modal "^4.0.1"
tocbot "4.5.0"

"@appbaseio/[email protected]":
version "1.16.0-alpha.22"
resolved "https://registry.yarnpkg.com/@appbaseio/reactivesearch-vue/-/reactivesearch-vue-1.16.0-alpha.22.tgz#f5423c1d3224c99bcf9a7437e0bc3df5ff1b8141"
integrity sha512-HY2wKKvpCYYXgKM2WljMOXdxipiw1uUUbonXRRb3ScqMZ2jU7i55pQTmGIE47OACtQXpijYlXp89VpP41VAEVA==
dependencies:
"@appbaseio/reactivecore" "9.12.7"
"@appbaseio/vue-emotion" "0.4.4"
"@vue/babel-helper-vue-jsx-merge-props" "^1.0.0"
appbase-js "^4.4.1"
compute-scroll-into-view "^1.0.11"
emotion "9.2.12"
gmap-vue "^1.5.0"
hotkeys-js "^3.8.7"
ngeohash "^0.6.3"
polished "^2.2.0"
redux "^4.0.0"
url-search-params-polyfill "^7.0.0"
vue-highlight-words "^1.2.0"
vue-no-ssr "^1.1.0"
vue-slider-component "^2.8.16"
vue-types "^1.7.0"

"@appbaseio/[email protected]":
version "0.4.4"
resolved "https://registry.yarnpkg.com/@appbaseio/vue-emotion/-/vue-emotion-0.4.4.tgz#a2187691a5dce090a8571250c1a7911d2ceee58a"
Expand Down Expand Up @@ -1973,6 +1995,11 @@
resolved "https://registry.yarnpkg.com/@gar/promisify/-/promisify-1.1.2.tgz#30aa825f11d438671d585bd44e7fd564535fc210"
integrity sha512-82cpyJyKRoQoRi+14ibCeGPu0CwypgtBAdBhq1WfvagpCZNKqwXbKwXllYSMG91DhmG4jt9gN8eP6lGOtozuaw==

"@google/markerclustererplus@^5.1.0":
version "5.1.3"
resolved "https://registry.yarnpkg.com/@google/markerclustererplus/-/markerclustererplus-5.1.3.tgz#dd7ddbb2a17c977e0b0252c3d8e61fcf502b1bf2"
integrity sha512-2wQGO6GGbKPC2tNmTz8ei1zBa64zV3QBBvgLHiPvYqUA63230qNqfQpN+nzsrl1RM40NJtty4Y1CEQKxq6MBGg==

"@graphql-tools/batch-execute@^7.1.2":
version "7.1.2"
resolved "https://registry.yarnpkg.com/@graphql-tools/batch-execute/-/batch-execute-7.1.2.tgz#35ba09a1e0f80f34f1ce111d23c40f039d4403a0"
Expand Down Expand Up @@ -16157,6 +16184,13 @@ globule@^1.0.0:
lodash "~4.17.10"
minimatch "~3.0.2"

gmap-vue@^1.5.0:
version "1.5.0"
resolved "https://registry.yarnpkg.com/gmap-vue/-/gmap-vue-1.5.0.tgz#43de7cba85c61280bfa65e6450b9d55657e9a82f"
integrity sha512-WE0VnSM1EsaTFVsnq53WGnre9cP1Q9DPCr0IiPmaoqsQioAKtTNBNyomrEvg0NIsVuxrdC2qvbgZPXCa8v/mBA==
dependencies:
"@google/markerclustererplus" "^5.1.0"

good-listener@^1.2.2:
version "1.2.2"
resolved "https://registry.yarnpkg.com/good-listener/-/good-listener-1.2.2.tgz#d53b30cdf9313dffb7dc9a0d477096aa6d145c50"
Expand Down Expand Up @@ -31446,7 +31480,7 @@ vue-template-es2015-compiler@^1.9.0:
resolved "https://registry.yarnpkg.com/vue-template-es2015-compiler/-/vue-template-es2015-compiler-1.9.1.tgz#1ee3bc9a16ecbf5118be334bb15f9c46f82f5825"
integrity sha512-4gDntzrifFnCEvyoO8PqyJDmguXgVPxKiIxrBKjIowvL9l+N66196+72XVYR8BBf1Uv1Fgt3bGevJ+sEmxfZzw==

vue-types@^1.3.3:
vue-types@^1.3.3, vue-types@^1.7.0:
version "1.7.0"
resolved "https://registry.yarnpkg.com/vue-types/-/vue-types-1.7.0.tgz#07b273342aba7cc43d9460d9c4f4a4cf5eeb00b1"
integrity sha512-MbhuWukmcBJHdfXAdLerbP29i3j2HAJoKwEv7No2Jh/YNl9dOKsNBfvMOkf0SS8VCuWd1/JBX4NnGaGUojbkUA==
Expand Down

0 comments on commit c494112

Please sign in to comment.