@ngxs/store
Version:
2 lines • 1.86 kB
JavaScript
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("rxjs")):"function"==typeof define&&define.amd?define("@ngxs/store/internals",["exports","@angular/core","rxjs"],t):t(((e=e||self).ngxs=e.ngxs||{},e.ngxs.store=e.ngxs.store||{},e.ngxs.store.internals={}),e.ng.core,e.rxjs)}(this,(function(e,t,n){"use strict";function r(e,t){return e===t}function o(e,t){void 0===t&&(t=r);var n=null,o=null;function u(){return function(e,t,n){if(null===t||null===n||t.length!==n.length)return!1;for(var r=t.length,o=0;o<r;o++)if(!e(t[o],n[o]))return!1;return!0}(t,n,arguments)||(o=e.apply(null,arguments)),n=arguments,o}return u.reset=function(){n=null,o=null},u}var u=o((function(){var e=t.getPlatform();if(!e)return!1;var n=e.injector.get(t.COMPILER_OPTIONS,null);return!!n&&n.some((function(e){return(e&&e.providers||[]).some((function(e){return e&&e.provide&&"MockNgModuleResolver"===e.provide.name||!1}))}))})),i=function(){function e(){this.bootstrap$=new n.ReplaySubject(1)}return Object.defineProperty(e.prototype,"appBootstrapped$",{get:function(){return this.bootstrap$.asObservable()},enumerable:!0,configurable:!0}),e.prototype.bootstrap=function(){this.bootstrap$.next(!0),this.bootstrap$.complete()},e.decorators=[{type:t.Injectable}],e}();var s=new t.InjectionToken("INITIAL_STATE_TOKEN"),a=function(){function e(){}return e.set=function(e){this.value=e},e.pop=function(){var e=this.value;return this.value={},e},e.value={},e}();var l=new t.InjectionToken("Internals.StateContextFactory"),c=new t.InjectionToken("Internals.StateFactory");e.INITIAL_STATE_TOKEN=s,e.InitialState=a,e.NGXS_STATE_CONTEXT_FACTORY=l,e.NGXS_STATE_FACTORY=c,e.NgxsBootstrapper=i,e.isAngularInTestMode=u,e.memoize=o,Object.defineProperty(e,"__esModule",{value:!0})}));
//# sourceMappingURL=ngxs-store-internals.umd.min.js.map