Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@appbaseio/reactivecore

Package Overview
Dependencies
Maintainers
7
Versions
289
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@appbaseio/reactivecore - npm Package Compare versions

Comparing version 9.15.1 to 9.15.2

2

lib/actions/misc.js

@@ -1,1 +0,1 @@

Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source){if(Object.prototype.hasOwnProperty.call(source,key)){target[key]=source[key];}}}return target;};exports.setRawData=setRawData;exports.setLoading=setLoading;exports.setError=setError;exports.setTimestamp=setTimestamp;exports.setSearchId=setSearchId;exports.setSuggestionsSearchId=setSuggestionsSearchId;exports.setQuery=setQuery;exports.setCustomQuery=setCustomQuery;exports.setDefaultQuery=setDefaultQuery;exports.setCustomHighlightOptions=setCustomHighlightOptions;exports.updateQueryOptions=updateQueryOptions;exports.logQuery=logQuery;exports.logCombinedQuery=logCombinedQuery;exports.setHeaders=setHeaders;exports.setPromotedResults=setPromotedResults;exports.setPopularSuggestions=setPopularSuggestions;exports.setDefaultPopularSuggestions=setDefaultPopularSuggestions;exports.setCustomData=setCustomData;exports.setAppliedSettings=setAppliedSettings;exports.setQueryListener=setQueryListener;exports.setGoogleMapScriptLoading=setGoogleMapScriptLoading;exports.setGoogleMapScriptLoaded=setGoogleMapScriptLoaded;exports.setGoogleMapScriptError=setGoogleMapScriptError;exports.resetStoreForComponent=resetStoreForComponent;exports.setLastUsedAppbaseQuery=setLastUsedAppbaseQuery;exports.setSearchState=setSearchState;var _constants=require('../constants');var _transform=require('../utils/transform');var _hits=require('./hits');var _value=require('./value');function setRawData(component,response){return{type:_constants.SET_RAW_DATA,component:component,response:response};}function setLoading(component,isLoading){return{type:_constants.SET_LOADING,component:component,isLoading:isLoading};}function setError(component,error){return{type:_constants.SET_ERROR,component:component,error:error};}function setTimestamp(component,timestamp){return{type:_constants.SET_TIMESTAMP,component:component,timestamp:timestamp};}function setSearchId(){var searchId=arguments.length>0&&arguments[0]!==undefined?arguments[0]:null;return{type:_constants.SET_SEARCH_ID,searchId:searchId};}function setSuggestionsSearchId(){var searchId=arguments.length>0&&arguments[0]!==undefined?arguments[0]:null;return{type:_constants.SET_SUGGESTIONS_SEARCH_ID,searchId:searchId};}function setQuery(component,query){return{type:_constants.SET_QUERY,component:component,query:query};}function setCustomQuery(component,query){return{type:_constants.SET_CUSTOM_QUERY,component:component,query:query};}function setDefaultQuery(component,query){return{type:_constants.SET_DEFAULT_QUERY,component:component,query:query};}function setCustomHighlightOptions(component,data){return{type:_constants.SET_CUSTOM_HIGHLIGHT_OPTIONS,component:component,data:data};}function updateQueryOptions(component,options){return{type:_constants.SET_QUERY_OPTIONS,component:component,options:options};}function logQuery(component,query){return{type:_constants.LOG_QUERY,component:component,query:query};}function logCombinedQuery(component,query){return{type:_constants.LOG_COMBINED_QUERY,component:component,query:query};}function setHeaders(headers){return{type:_constants.SET_HEADERS,headers:headers};}function setPromotedResults(){var results=arguments.length>0&&arguments[0]!==undefined?arguments[0]:[];var component=arguments[1];return{type:_constants.SET_PROMOTED_RESULTS,results:results,component:component};}function setPopularSuggestions(){var suggestions=arguments.length>0&&arguments[0]!==undefined?arguments[0]:[];var component=arguments[1];return{type:_constants.SET_POPULAR_SUGGESTIONS,suggestions:suggestions,component:component};}function setDefaultPopularSuggestions(){var suggestions=arguments.length>0&&arguments[0]!==undefined?arguments[0]:[];var component=arguments[1];return{type:_constants.SET_DEFAULT_POPULAR_SUGGESTIONS,suggestions:suggestions,component:component};}function setCustomData(){var data=arguments.length>0&&arguments[0]!==undefined?arguments[0]:null;var component=arguments[1];return{type:_constants.SET_CUSTOM_DATA,data:data,component:component};}function setAppliedSettings(){var data=arguments.length>0&&arguments[0]!==undefined?arguments[0]:null;var component=arguments[1];return{type:_constants.SET_APPLIED_SETTINGS,data:data,component:component};}function setQueryListener(component,onQueryChange,onError){return{type:_constants.SET_QUERY_LISTENER,component:component,onQueryChange:onQueryChange,onError:onError};}function setGoogleMapScriptLoading(bool){return{type:_constants.SET_GOOGLE_MAP_SCRIPT_LOADING,loading:bool};}function setGoogleMapScriptLoaded(bool){return{type:_constants.SET_GOOGLE_MAP_SCRIPT_LOADED,loaded:bool};}function setGoogleMapScriptError(error){return{type:_constants.SET_GOOGLE_MAP_SCRIPT_ERROR,error:error};}function resetStoreForComponent(componentId){return function(dispatch){dispatch(setRawData(componentId,null));dispatch(setCustomData(null,componentId));dispatch(setPromotedResults([],componentId));dispatch(setPopularSuggestions([],componentId));dispatch(setDefaultPopularSuggestions([],componentId));dispatch((0,_hits.updateAggs)(componentId,null));dispatch((0,_hits.updateCompositeAggs)(componentId,{}));dispatch((0,_hits.updateHits)(componentId,{hits:[],total:0},0));};}function setLastUsedAppbaseQuery(query){return{type:_constants.SET_APPBASE_QUERY,query:query};}function setSearchState(){var componentsValueAndTypeMap=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};return function(dispatch){var componentValues={};Object.keys(componentsValueAndTypeMap).forEach(function(componentId){var _componentsValueAndTy=componentsValueAndTypeMap[componentId],value=_componentsValueAndTy.value,componentProps=_componentsValueAndTy.componentProps;var _transformValueToComp=(0,_transform.transformValueToComponentStateFormat)(value,componentProps),transformedValue=_transformValueToComp.value,_transformValueToComp2=_transformValueToComp.meta,meta=_transformValueToComp2===undefined?{}:_transformValueToComp2;componentValues[componentId]=_extends({value:transformedValue},meta);});dispatch((0,_value.setValues)(componentValues));};}
Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source){if(Object.prototype.hasOwnProperty.call(source,key)){target[key]=source[key];}}}return target;};exports.setRawData=setRawData;exports.setLoading=setLoading;exports.setError=setError;exports.setTimestamp=setTimestamp;exports.setSearchId=setSearchId;exports.setSuggestionsSearchId=setSuggestionsSearchId;exports.setQuery=setQuery;exports.setCustomQuery=setCustomQuery;exports.setDefaultQuery=setDefaultQuery;exports.setCustomHighlightOptions=setCustomHighlightOptions;exports.updateQueryOptions=updateQueryOptions;exports.logQuery=logQuery;exports.logCombinedQuery=logCombinedQuery;exports.setHeaders=setHeaders;exports.setPromotedResults=setPromotedResults;exports.setPopularSuggestions=setPopularSuggestions;exports.setDefaultPopularSuggestions=setDefaultPopularSuggestions;exports.setCustomData=setCustomData;exports.setAppliedSettings=setAppliedSettings;exports.setQueryListener=setQueryListener;exports.setGoogleMapScriptLoading=setGoogleMapScriptLoading;exports.setGoogleMapScriptLoaded=setGoogleMapScriptLoaded;exports.setGoogleMapScriptError=setGoogleMapScriptError;exports.resetStoreForComponent=resetStoreForComponent;exports.setLastUsedAppbaseQuery=setLastUsedAppbaseQuery;exports.setSearchState=setSearchState;var _constants=require('../constants');var _transform=require('../utils/transform');var _hits=require('./hits');var _value=require('./value');function setRawData(component,response){return{type:_constants.SET_RAW_DATA,component:component,response:response};}function setLoading(component,isLoading){return{type:_constants.SET_LOADING,component:component,isLoading:isLoading};}function setError(component,error){return{type:_constants.SET_ERROR,component:component,error:error};}function setTimestamp(component,timestamp){return{type:_constants.SET_TIMESTAMP,component:component,timestamp:timestamp};}function setSearchId(){var searchId=arguments.length>0&&arguments[0]!==undefined?arguments[0]:null;return{type:_constants.SET_SEARCH_ID,searchId:searchId};}function setSuggestionsSearchId(){var searchId=arguments.length>0&&arguments[0]!==undefined?arguments[0]:null;return{type:_constants.SET_SUGGESTIONS_SEARCH_ID,searchId:searchId};}function setQuery(component,query){return{type:_constants.SET_QUERY,component:component,query:query};}function setCustomQuery(component,query){return{type:_constants.SET_CUSTOM_QUERY,component:component,query:query};}function setDefaultQuery(component,query){return{type:_constants.SET_DEFAULT_QUERY,component:component,query:query};}function setCustomHighlightOptions(component,data){return{type:_constants.SET_CUSTOM_HIGHLIGHT_OPTIONS,component:component,data:data};}function updateQueryOptions(component,options){return{type:_constants.SET_QUERY_OPTIONS,component:component,options:options};}function logQuery(component,query){return{type:_constants.LOG_QUERY,component:component,query:query};}function logCombinedQuery(component,query){return{type:_constants.LOG_COMBINED_QUERY,component:component,query:query};}function setHeaders(headers){return{type:_constants.SET_HEADERS,headers:headers};}function setPromotedResults(){var results=arguments.length>0&&arguments[0]!==undefined?arguments[0]:[];var component=arguments[1];return{type:_constants.SET_PROMOTED_RESULTS,results:results,component:component};}function setPopularSuggestions(){var suggestions=arguments.length>0&&arguments[0]!==undefined?arguments[0]:[];var component=arguments[1];return{type:_constants.SET_POPULAR_SUGGESTIONS,suggestions:suggestions,component:component};}function setDefaultPopularSuggestions(){var suggestions=arguments.length>0&&arguments[0]!==undefined?arguments[0]:[];var component=arguments[1];return{type:_constants.SET_DEFAULT_POPULAR_SUGGESTIONS,suggestions:suggestions,component:component};}function setCustomData(){var data=arguments.length>0&&arguments[0]!==undefined?arguments[0]:null;var component=arguments[1];return{type:_constants.SET_CUSTOM_DATA,data:data,component:component};}function setAppliedSettings(){var data=arguments.length>0&&arguments[0]!==undefined?arguments[0]:null;var component=arguments[1];return{type:_constants.SET_APPLIED_SETTINGS,data:data,component:component};}function setQueryListener(component,onQueryChange,onError){return{type:_constants.SET_QUERY_LISTENER,component:component,onQueryChange:onQueryChange,onError:onError};}function setGoogleMapScriptLoading(bool){return{type:_constants.SET_GOOGLE_MAP_SCRIPT_LOADING,loading:bool};}function setGoogleMapScriptLoaded(bool){return{type:_constants.SET_GOOGLE_MAP_SCRIPT_LOADED,loaded:bool};}function setGoogleMapScriptError(error){return{type:_constants.SET_GOOGLE_MAP_SCRIPT_ERROR,error:error};}function resetStoreForComponent(componentId){return function(dispatch){dispatch(setRawData(componentId,null));dispatch(setCustomData(null,componentId));dispatch((0,_hits.updateAggs)(componentId,null));dispatch((0,_hits.updateCompositeAggs)(componentId,{}));dispatch((0,_hits.updateHits)(componentId,{hits:[],total:0},0));dispatch(logQuery(componentId,null));};}function setLastUsedAppbaseQuery(query){return{type:_constants.SET_APPBASE_QUERY,query:query};}function setSearchState(){var componentsValueAndTypeMap=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};return function(dispatch){var componentValues={};Object.keys(componentsValueAndTypeMap).forEach(function(componentId){var _componentsValueAndTy=componentsValueAndTypeMap[componentId],value=_componentsValueAndTy.value,componentProps=_componentsValueAndTy.componentProps;var _transformValueToComp=(0,_transform.transformValueToComponentStateFormat)(value,componentProps),transformedValue=_transformValueToComp.value,_transformValueToComp2=_transformValueToComp.meta,meta=_transformValueToComp2===undefined?{}:_transformValueToComp2;componentValues[componentId]=_extends({value:transformedValue},meta);});dispatch((0,_value.setValues)(componentValues));};}
{
"name": "@appbaseio/reactivecore",
"version": "9.15.1",
"version": "9.15.2",
"description": "Core architecture of reactive UI libraries",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc