UNPKG

2.82 kBJavaScriptView Raw
1!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?o(exports,require("@angular/common"),require("@angular/core"),require("@angular/platform-server"),require("@ionic/core/hydrate")):"function"==typeof define&&define.amd?define("@ionic/angular-server",["exports","@angular/common","@angular/core","@angular/platform-server","@ionic/core/hydrate"],o):o(((e=e||self).ionic=e.ionic||{},e.ionic["angular-server"]={}),e.ng.common,e.ng.core,e.ng["platform-server"],e.hydrate)}(this,(function(e,o,r,n,t){"use strict";
2/*! *****************************************************************************
3 Copyright (c) Microsoft Corporation. All rights reserved.
4 Licensed under the Apache License, Version 2.0 (the "License"); you may not use
5 this file except in compliance with the License. You may obtain a copy of the
6 License at http://www.apache.org/licenses/LICENSE-2.0
7
8 THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
9 KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
10 WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
11 MERCHANTABLITY OR NON-INFRINGEMENT.
12
13 See the Apache Version 2.0 License for specific language governing permissions
14 and limitations under the License.
15 ***************************************************************************** */var i=function(){function e(){}return e=function(e,o,r,n){var t,i=arguments.length,a=i<3?o:null===n?n=Object.getOwnPropertyDescriptor(o,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,o,r,n);else for(var l=e.length-1;l>=0;l--)(t=e[l])&&(a=(i<3?t(a):i>3?t(o,r,a):t(o,r))||a);return i>3&&a&&Object.defineProperty(o,r,a),a}([r.NgModule({providers:[{provide:n.BEFORE_APP_SERIALIZED,useFactory:a,multi:!0,deps:[o.DOCUMENT,r.APP_ID]}]})],e)}();function a(e,o){return function(){return t.hydrateDocument(e,{clientHydrateAnnotations:!1,excludeComponents:["ion-action-sheet","ion-alert","ion-loading","ion-modal","ion-picker","ion-popover","ion-toast","ion-toast","ion-router","ion-route","ion-route-redirect","ion-router-link","ion-router-outlet","ion-tabs","ion-tab","ion-picker-column","ion-virtual-scroll"]}).then((function(r){if(r.diagnostics.forEach((function(e){"error"===e.type?console.error(e.messageText):"debug"===e.type?console.debug(e.messageText):console.log(e.messageText)})),null!=e.head)for(var n=e.head.querySelectorAll("style[data-styles]"),t=0;t<n.length;t++)n[t].setAttribute("ng-transition",o);if(null!=e.body){var i=e.body.querySelectorAll(".ion-page.ion-page-invisible");for(t=0;t<i.length;t++)i[t].classList.remove("ion-page-invisible")}}))}}e.IonicServerModule=i,e.ɵa=a,Object.defineProperty(e,"__esModule",{value:!0})}));
16//# sourceMappingURL=ionic-angular-server.umd.min.js.map
\No newline at end of file