@acoustic-content-sdk/redux-store
Advanced tools
Comparing version 9.0.384 to 9.0.407
@@ -259,3 +259,3 @@ (function (global, factory) { | ||
*/ | ||
var VERSION = { version: { major: '9', minor: '0', patch: '384', branch: 'master' }, build: new Date(1582623497680) }; | ||
var VERSION = { version: { major: '9', minor: '0', patch: '407', branch: 'master' }, build: new Date(1582907290955) }; | ||
/** | ||
@@ -262,0 +262,0 @@ * Module name |
@@ -15,3 +15,3 @@ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@acoustic-content-sdk/utils"),require("rxjs"),require("rxjs/operators"),require("redux-actions"),require("@acoustic-content-sdk/api"),require("redux"),require("redux-devtools-extension"),require("redux-observable")):"function"==typeof define&&define.amd?define("@acoustic-content-sdk/redux-store",["exports","@acoustic-content-sdk/utils","rxjs","rxjs/operators","redux-actions","@acoustic-content-sdk/api","redux","redux-devtools-extension","redux-observable"],t):t(((e=e||self)["acoustic-content-sdk"]=e["acoustic-content-sdk"]||{},e["acoustic-content-sdk"]["redux-store"]={}),e["acoustic-content-sdk"].utils,e.rxjs,e.rxjs.operators,e.ReduxActions,e["acoustic-content-sdk"].api,e.Redux,e.ReduxDevtoolsExtension,e.ReduxObservable)}(this,(function(e,t,r,n,i,o,u,c,a){"use strict"; | ||
and limitations under the License. | ||
***************************************************************************** */var s=function(){return(s=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};var d=t.pluckProperty("payload"),p={version:{major:"9",minor:"0",patch:"384",branch:"master"},build:new Date(1582623497680)},f="@acoustic-content-sdk/redux-store",l="ACTION_INIT_FEATURE ["+f+"@"+p.version.major+"."+p.version.minor+"."+p.version.patch+"]";var x=i.createAction(l);function v(e){return new r.Observable((function(t){t.next(e.getState());var r=e.subscribe((function(){return t.next(e.getState())}));return(function(){r(),t.complete()})}))}var b=function(e,r){return void 0===r&&(r=t.isEqual),t.rxMemoize(n.map(e),r)},h=t.pluckProperty("id"),m=t.pluckProperty("reducer"),S=t.pluckProperty("epic"),g=function(e){return t.isNotNil(m(e))},R=function(e){return t.isNotNil(S(e))};function y(e,r,n,i){return{id:t.isString(e)?e:t.isNotNil(e)?e.id:t.hashRandomIdentifier(),reducer:r,epic:n,dependencies:i}}function k(e){return t.isString(e)?e:e.id}var P=function(e,r){return function(n){var i=k(e);return t.getProperty(n,i,r)}};e.STORE_ID=f,e.VERSION=p,e.createIdentifier=function(e,r){return void 0===r&&(r=t.hashRandomIdentifier()),"["+k(e)+"]"+r},e.createReduxFeatureModule=y,e.createReduxMetaModule=function(e){return y(void 0,void 0,void 0,e)},e.createReduxRootStore=function(e,i){var d=t.getProperty(e,"logSvc",t.NOOP_LOGGER_SERVICE),f=d.get("createReduxRootStore"),l=t.rxNext(f),v=new r.Subject,b={},y=new r.Subject,k=t.rxPipe(y,n.distinct(h),l("module"),n.shareReplay(),n.takeUntil(v)),P=t.rxPipe(k,n.filter(g),n.scan((function(e,t){var r;return s(s({},e),((r={})[h(t)]=m(t),r))}),{}),n.map(u.combineReducers)),j=t.rxPipe(k,n.filter(R),n.map(S)),N=s({},e),O=a.createEpicMiddleware({dependencies:N}),I=t.constGenerator({}),M=c.composeWithDevTools(u.applyMiddleware(O,(function(e){return function(e){return function(t){try{return e(t)}catch(e){throw f.error("Caught an exception!",e),e}}}}),(function(e){return function(t){return function(r){f.info("dispatch action",r);var n=e.getState(),i=t(r);return n!==e.getState()&&f.info("state changed: ",e.getState()),i}}}))),E=t.isNotNil(i)?u.createStore(I,i,M):u.createStore(I,M);O.run((function(e,r,i){return t.rxPipe(j,n.mergeMap((function(t){return t(e,r,i)})),n.takeUntil(v))}));var q=function(e){return E.dispatch(e)},w=r.noop,F=t.rxPipe(P,n.map(t.bindMember(E,"replaceReducer"))),_=t.rxPipe(k,n.map(h),n.map(x),n.observeOn(r.queueScheduler),l("initFeatureAction"),n.map(q));r.merge(F,_).subscribe();var T=s(s({},E),{addFeatureModule:function e(r){var n=h(r),i=b[n];return t.isNil(i)&&(b[n]=r,t.forEach(r.dependencies,e),y.next(r)),this},getState:function(){return E.getState()},subscribe:function(e){return E.subscribe(e)},replaceReducer:w,dispatch:q}),A={logSvc:d,rootStore:T};return t.assignObject(N,A),f.info("initialized",o.createVersionString(p)),T},e.featureModuleId=function(e){return void 0===e&&(e=t.hashRandomIdentifier()),{id:e}},e.ofInitFeature=function(e){var t=k(e);return r.pipe(n.filter((function(e){return(r=e)&&r.type===l&&d(e)===t;var r})),n.take(1),n.mapTo(t))},e.rxDispatch=function(e){return t.bindMember(e,"dispatch")},e.rxSelect=b,e.rxSelectFeature=function(e){return function(r){return t.rxPipe(v(r),b(P(e)))}},e.rxStore=v,e.selectFeature=P,e.selectPayload=d,Object.defineProperty(e,"__esModule",{value:!0})})); | ||
***************************************************************************** */var s=function(){return(s=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};var d=t.pluckProperty("payload"),p={version:{major:"9",minor:"0",patch:"407",branch:"master"},build:new Date(1582907290955)},f="@acoustic-content-sdk/redux-store",l="ACTION_INIT_FEATURE ["+f+"@"+p.version.major+"."+p.version.minor+"."+p.version.patch+"]";var x=i.createAction(l);function v(e){return new r.Observable((function(t){t.next(e.getState());var r=e.subscribe((function(){return t.next(e.getState())}));return(function(){r(),t.complete()})}))}var b=function(e,r){return void 0===r&&(r=t.isEqual),t.rxMemoize(n.map(e),r)},h=t.pluckProperty("id"),m=t.pluckProperty("reducer"),S=t.pluckProperty("epic"),g=function(e){return t.isNotNil(m(e))},R=function(e){return t.isNotNil(S(e))};function y(e,r,n,i){return{id:t.isString(e)?e:t.isNotNil(e)?e.id:t.hashRandomIdentifier(),reducer:r,epic:n,dependencies:i}}function k(e){return t.isString(e)?e:e.id}var P=function(e,r){return function(n){var i=k(e);return t.getProperty(n,i,r)}};e.STORE_ID=f,e.VERSION=p,e.createIdentifier=function(e,r){return void 0===r&&(r=t.hashRandomIdentifier()),"["+k(e)+"]"+r},e.createReduxFeatureModule=y,e.createReduxMetaModule=function(e){return y(void 0,void 0,void 0,e)},e.createReduxRootStore=function(e,i){var d=t.getProperty(e,"logSvc",t.NOOP_LOGGER_SERVICE),f=d.get("createReduxRootStore"),l=t.rxNext(f),v=new r.Subject,b={},y=new r.Subject,k=t.rxPipe(y,n.distinct(h),l("module"),n.shareReplay(),n.takeUntil(v)),P=t.rxPipe(k,n.filter(g),n.scan((function(e,t){var r;return s(s({},e),((r={})[h(t)]=m(t),r))}),{}),n.map(u.combineReducers)),j=t.rxPipe(k,n.filter(R),n.map(S)),N=s({},e),O=a.createEpicMiddleware({dependencies:N}),I=t.constGenerator({}),M=c.composeWithDevTools(u.applyMiddleware(O,(function(e){return function(e){return function(t){try{return e(t)}catch(e){throw f.error("Caught an exception!",e),e}}}}),(function(e){return function(t){return function(r){f.info("dispatch action",r);var n=e.getState(),i=t(r);return n!==e.getState()&&f.info("state changed: ",e.getState()),i}}}))),E=t.isNotNil(i)?u.createStore(I,i,M):u.createStore(I,M);O.run((function(e,r,i){return t.rxPipe(j,n.mergeMap((function(t){return t(e,r,i)})),n.takeUntil(v))}));var q=function(e){return E.dispatch(e)},w=r.noop,F=t.rxPipe(P,n.map(t.bindMember(E,"replaceReducer"))),_=t.rxPipe(k,n.map(h),n.map(x),n.observeOn(r.queueScheduler),l("initFeatureAction"),n.map(q));r.merge(F,_).subscribe();var T=s(s({},E),{addFeatureModule:function e(r){var n=h(r),i=b[n];return t.isNil(i)&&(b[n]=r,t.forEach(r.dependencies,e),y.next(r)),this},getState:function(){return E.getState()},subscribe:function(e){return E.subscribe(e)},replaceReducer:w,dispatch:q}),A={logSvc:d,rootStore:T};return t.assignObject(N,A),f.info("initialized",o.createVersionString(p)),T},e.featureModuleId=function(e){return void 0===e&&(e=t.hashRandomIdentifier()),{id:e}},e.ofInitFeature=function(e){var t=k(e);return r.pipe(n.filter((function(e){return(r=e)&&r.type===l&&d(e)===t;var r})),n.take(1),n.mapTo(t))},e.rxDispatch=function(e){return t.bindMember(e,"dispatch")},e.rxSelect=b,e.rxSelectFeature=function(e){return function(r){return t.rxPipe(v(r),b(P(e)))}},e.rxStore=v,e.selectFeature=P,e.selectPayload=d,Object.defineProperty(e,"__esModule",{value:!0})})); | ||
//# sourceMappingURL=acoustic-content-sdk-redux-store.umd.min.js.map |
@@ -10,3 +10,3 @@ /** | ||
*/ | ||
export const VERSION = { version: { major: '9', minor: '0', patch: '384', branch: 'master' }, build: new Date(1582623497680) }; | ||
export const VERSION = { version: { major: '9', minor: '0', patch: '407', branch: 'master' }, build: new Date(1582907290955) }; | ||
/** | ||
@@ -17,2 +17,2 @@ * Module name | ||
export const MODULE = '@acoustic-content-sdk/redux-store'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhY291c3RpYy1jb250ZW50LXNkay9yZWR1eC1zdG9yZS8iLCJzb3VyY2VzIjpbInZlcnNpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7O0FBQ0EsTUFBTSxPQUFPLE9BQU8sR0FBRyxFQUFDLE9BQU8sRUFBRSxFQUFDLEtBQUssRUFBRSxHQUFHLEVBQUUsS0FBSyxFQUFFLEdBQUcsRUFBRSxLQUFLLEVBQUUsS0FBSyxFQUFFLE1BQU0sRUFBRSxRQUFRLEVBQUMsRUFBRSxLQUFLLEVBQUUsSUFBSSxJQUFJLENBQUMsYUFBYSxDQUFDLEVBQUM7Ozs7O0FBRTFILE1BQU0sT0FBTyxNQUFNLEdBQUcsbUNBQW1DIiwic291cmNlc0NvbnRlbnQiOlsiLyoqIFZlcnNpb24gYW5kIGJ1aWxkIG51bWJlciBvZiB0aGUgcGFja2FnZSAqL1xuZXhwb3J0IGNvbnN0IFZFUlNJ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TEUgPSAnQGFjb3VzdGljLWNvbnRlbnQtc2RrL3JlZHV4LXN0b3JlJztcbiJdfQ== |
@@ -10,3 +10,3 @@ /** | ||
*/ | ||
export var VERSION = { version: { major: '9', minor: '0', patch: '384', branch: 'master' }, build: new Date(1582623497680) }; | ||
export var VERSION = { version: { major: '9', minor: '0', patch: '407', branch: 'master' }, build: new Date(1582907290955) }; | ||
/** | ||
@@ -17,2 +17,2 @@ * Module name | ||
export var MODULE = '@acoustic-content-sdk/redux-store'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhY291c3RpYy1jb250ZW50LXNkay9yZWR1eC1zdG9yZS8iLCJzb3VyY2VzIjpbInZlcnNpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7O0FBQ0EsTUFBTSxLQUFPLE9BQU8sR0FBRyxFQUFDLE9BQU8sRUFBRSxFQUFDLEtBQUssRUFBRSxHQUFHLEVBQUUsS0FBSyxFQUFFLEdBQUcsRUFBRSxLQUFLLEVBQUUsS0FBSyxFQUFFLE1BQU0sRUFBRSxRQUFRLEVBQUMsRUFBRSxLQUFLLEVBQUUsSUFBSSxJQUFJLENBQUMsYUFBYSxDQUFDLEVBQUM7Ozs7O0FBRTFILE1BQU0sS0FBTyxNQUFNLEdBQUcsbUNBQW1DIiwic291cmNlc0NvbnRlbnQiOlsiLyoqIFZlcnNpb24gYW5kIGJ1aWxkIG51bWJlciBvZiB0aGUgcGFja2FnZSAqL1xuZXhwb3J0IGNvbnN0IFZFUlNJT04gPSB7dmVyc2lvbjoge21ham9yOiAnOScsIG1pbm9yOiAnMCcsIHBhdGNoOiAnMzg0JywgYnJhbmNoOiAnbWFzdGVyJ30sIGJ1aWxkOiBuZXcgRGF0ZSgxNTgyNjIzNDk3NjgwKX07XG4vKiogTW9kdWxlIG5hbWUgKi9cbmV4cG9ydCBjb25zdCBNT0RVTEUgPSAnQGFjb3VzdGljLWNvbnRlbnQtc2RrL3JlZHV4LXN0b3JlJztcbiJdfQ== | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhY291c3RpYy1jb250ZW50LXNkay9yZWR1eC1zdG9yZS8iLCJzb3VyY2VzIjpbInZlcnNpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7O0FBQ0EsTUFBTSxLQUFPLE9BQU8sR0FBRyxFQUFDLE9BQU8sRUFBRSxFQUFDLEtBQUssRUFBRSxHQUFHLEVBQUUsS0FBSyxFQUFFLEdBQUcsRUFBRSxLQUFLLEVBQUUsS0FBSyxFQUFFLE1BQU0sRUFBRSxRQUFRLEVBQUMsRUFBRSxLQUFLLEVBQUUsSUFBSSxJQUFJLENBQUMsYUFBYSxDQUFDLEVBQUM7Ozs7O0FBRTFILE1BQU0sS0FBTyxNQUFNLEdBQUcsbUNBQW1DIiwic291cmNlc0NvbnRlbnQiOlsiLyoqIFZlcnNpb24gYW5kIGJ1aWxkIG51bWJlciBvZiB0aGUgcGFja2FnZSAqL1xuZXhwb3J0IGNvbnN0IFZFUlNJT04gPSB7dmVyc2lvbjoge21ham9yOiAnOScsIG1pbm9yOiAnMCcsIHBhdGNoOiAnNDA3JywgYnJhbmNoOiAnbWFzdGVyJ30sIGJ1aWxkOiBuZXcgRGF0ZSgxNTgyOTA3MjkwOTU1KX07XG4vKiogTW9kdWxlIG5hbWUgKi9cbmV4cG9ydCBjb25zdCBNT0RVTEUgPSAnQGFjb3VzdGljLWNvbnRlbnQtc2RrL3JlZHV4LXN0b3JlJztcbiJdfQ== |
@@ -48,3 +48,3 @@ import { pluckProperty, hashRandomIdentifier, isEqual, rxMemoize, bindMember, isNotNil, getProperty, NOOP_LOGGER_SERVICE, rxNext, rxPipe, constGenerator, isNil, forEach, assignObject, isString } from '@acoustic-content-sdk/utils'; | ||
*/ | ||
const VERSION = { version: { major: '9', minor: '0', patch: '384', branch: 'master' }, build: new Date(1582623497680) }; | ||
const VERSION = { version: { major: '9', minor: '0', patch: '407', branch: 'master' }, build: new Date(1582907290955) }; | ||
/** | ||
@@ -51,0 +51,0 @@ * Module name |
@@ -49,3 +49,3 @@ import { pluckProperty, hashRandomIdentifier, isEqual, rxMemoize, bindMember, isNotNil, getProperty, NOOP_LOGGER_SERVICE, rxNext, rxPipe, constGenerator, isNil, forEach, assignObject, isString } from '@acoustic-content-sdk/utils'; | ||
*/ | ||
var VERSION = { version: { major: '9', minor: '0', patch: '384', branch: 'master' }, build: new Date(1582623497680) }; | ||
var VERSION = { version: { major: '9', minor: '0', patch: '407', branch: 'master' }, build: new Date(1582907290955) }; | ||
/** | ||
@@ -52,0 +52,0 @@ * Module name |
@@ -1,1 +0,1 @@ | ||
{"name":"@acoustic-content-sdk/redux-store","version":"9.0.384","description":"Implementation of a Redux store with support for adding feature modules, dynamically.","keywords":["acoustic","acoustic-content","redux","sdk"],"bugs":{"web":"https://developer.ibm.com/answers/smartspace/wch/index.html"},"license":"MIT","author":"Carsten Leue <carsten.leue@de.ibm.com>","sideEffects":false,"main":"bundles/acoustic-content-sdk-redux-store.umd.js","module":"esm5/acoustic-content-sdk-redux-store.js","typings":"acoustic-content-sdk-redux-store.d.ts","dependencies":{"@acoustic-content-sdk/api":"9.0.384","@acoustic-content-sdk/utils":"9.0.384"},"peerDependencies":{"redux":"^4","redux-actions":"^2","redux-devtools-extension":"^2","redux-observable":"^1","rxjs":"^6"},"es2015":"fesm2015/acoustic-content-sdk-redux-store.js","esm2015":"esm2015/acoustic-content-sdk-redux-store.js","esm5":"esm5/acoustic-content-sdk-redux-store.js","fesm2015":"fesm2015/acoustic-content-sdk-redux-store.js","fesm5":"fesm5/acoustic-content-sdk-redux-store.js","tsdoc":{"tsdocFlavor":"AEDoc"},"publishConfig":{"registry":"https://registry.npmjs.org/","access":"public"}} | ||
{"name":"@acoustic-content-sdk/redux-store","version":"9.0.407","description":"Implementation of a Redux store with support for adding feature modules, dynamically.","keywords":["acoustic","acoustic-content","redux","sdk"],"bugs":{"web":"https://developer.ibm.com/answers/smartspace/wch/index.html"},"license":"MIT","author":"Carsten Leue <carsten.leue@de.ibm.com>","sideEffects":false,"main":"bundles/acoustic-content-sdk-redux-store.umd.js","module":"esm5/acoustic-content-sdk-redux-store.js","typings":"acoustic-content-sdk-redux-store.d.ts","dependencies":{"@acoustic-content-sdk/api":"9.0.407","@acoustic-content-sdk/utils":"9.0.407"},"peerDependencies":{"redux":"^4","redux-actions":"^2","redux-devtools-extension":"^2","redux-observable":"^1","rxjs":"^6"},"es2015":"fesm2015/acoustic-content-sdk-redux-store.js","esm2015":"esm2015/acoustic-content-sdk-redux-store.js","esm5":"esm5/acoustic-content-sdk-redux-store.js","fesm2015":"fesm2015/acoustic-content-sdk-redux-store.js","fesm5":"fesm5/acoustic-content-sdk-redux-store.js","tsdoc":{"tsdocFlavor":"AEDoc"},"publishConfig":{"registry":"https://registry.npmjs.org/","access":"public"}} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
+ Added@acoustic-content-sdk/api@9.0.407(transitive)
+ Added@acoustic-content-sdk/diff@9.0.407(transitive)
+ Added@acoustic-content-sdk/utils@9.0.407(transitive)
- Removed@acoustic-content-sdk/api@9.0.384(transitive)
- Removed@acoustic-content-sdk/diff@9.0.384(transitive)
- Removed@acoustic-content-sdk/utils@9.0.384(transitive)