@ionic/angular-server 8.8.9-dev.11781013468.1ed93da9 → 8.8.9-dev.11781098612.122c6758
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -6,9 +6,9 @@ import { hydrateDocument } from '@ionic/core/hydrate';
|
|
|
6
6
|
|
|
7
7
|
// @dynamic
|
|
8
8
|
class IonicServerModule {
|
|
9
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10
|
-
/** @nocollapse */ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
11
|
-
/** @nocollapse */ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
9
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: IonicServerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10
|
+
/** @nocollapse */ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.0", ngImport: i0, type: IonicServerModule });
|
|
11
|
+
/** @nocollapse */ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: IonicServerModule, providers: [
|
|
12
12
|
{
|
|
13
13
|
provide: BEFORE_APP_SERIALIZED,
|
|
14
14
|
useFactory: hydrateIonicComponents,
|
|
@@ -17,7 +17,7 @@ class IonicServerModule {
|
|
|
17
17
|
},
|
|
18
18
|
] });
|
|
19
19
|
}
|
|
20
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: IonicServerModule, decorators: [{
|
|
21
21
|
type: NgModule,
|
|
22
22
|
args: [{
|
|
23
23
|
providers: [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ionic-angular-server.mjs","sources":["../../src/ionic-server-module.ts","../../src/ionic-angular-server.ts"],"sourcesContent":["import { DOCUMENT } from '@angular/common';\nimport { APP_ID, NgModule } from '@angular/core';\nimport { BEFORE_APP_SERIALIZED } from '@angular/platform-server';\nimport { hydrateDocument } from '@ionic/core/hydrate';\n\n// @dynamic\n@NgModule({\n providers: [\n {\n provide: BEFORE_APP_SERIALIZED,\n useFactory: hydrateIonicComponents,\n multi: true,\n deps: [DOCUMENT, APP_ID],\n },\n ],\n})\nexport class IonicServerModule {}\n\n// @dynamic\nexport function hydrateIonicComponents(doc: any, appId: any) {\n // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\n return () => {\n return hydrateDocument(doc, {\n clientHydrateAnnotations: false,\n excludeComponents: [\n // overlays\n 'ion-action-sheet',\n 'ion-alert',\n 'ion-loading',\n 'ion-modal',\n 'ion-popover',\n 'ion-toast',\n 'ion-toast',\n\n // navigation\n 'ion-router',\n 'ion-route',\n 'ion-route-redirect',\n 'ion-router-link',\n 'ion-router-outlet',\n\n // tabs\n 'ion-tabs',\n 'ion-tab',\n ],\n }).then((hydrateResults) => {\n hydrateResults.diagnostics.forEach((d) => {\n if (d.type === 'error') {\n console.error(d.messageText);\n } else if (d.type === 'debug') {\n console.debug(d.messageText);\n } else {\n console.log(d.messageText);\n }\n });\n\n if (doc.head != null) {\n const styleElms = doc.head.querySelectorAll('style[data-styles]') as NodeListOf<HTMLStyleElement>;\n // eslint-disable-next-line @typescript-eslint/prefer-for-of\n for (let i = 0; i < styleElms.length; i++) {\n styleElms[i].setAttribute('ng-transition', appId);\n }\n }\n\n if (doc.body != null) {\n const ionPages = doc.body.querySelectorAll('.ion-page.ion-page-invisible') as NodeListOf<HTMLElement>;\n // eslint-disable-next-line @typescript-eslint/prefer-for-of\n for (let i = 0; i < ionPages.length; i++) {\n ionPages[i].classList.remove('ion-page-invisible');\n }\n }\n });\n };\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;AAKA;MAWa,iBAAiB,CAAA;
|
|
1
|
+
{"version":3,"file":"ionic-angular-server.mjs","sources":["../../src/ionic-server-module.ts","../../src/ionic-angular-server.ts"],"sourcesContent":["import { DOCUMENT } from '@angular/common';\nimport { APP_ID, NgModule } from '@angular/core';\nimport { BEFORE_APP_SERIALIZED } from '@angular/platform-server';\nimport { hydrateDocument } from '@ionic/core/hydrate';\n\n// @dynamic\n@NgModule({\n providers: [\n {\n provide: BEFORE_APP_SERIALIZED,\n useFactory: hydrateIonicComponents,\n multi: true,\n deps: [DOCUMENT, APP_ID],\n },\n ],\n})\nexport class IonicServerModule {}\n\n// @dynamic\nexport function hydrateIonicComponents(doc: any, appId: any) {\n // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\n return () => {\n return hydrateDocument(doc, {\n clientHydrateAnnotations: false,\n excludeComponents: [\n // overlays\n 'ion-action-sheet',\n 'ion-alert',\n 'ion-loading',\n 'ion-modal',\n 'ion-popover',\n 'ion-toast',\n 'ion-toast',\n\n // navigation\n 'ion-router',\n 'ion-route',\n 'ion-route-redirect',\n 'ion-router-link',\n 'ion-router-outlet',\n\n // tabs\n 'ion-tabs',\n 'ion-tab',\n ],\n }).then((hydrateResults) => {\n hydrateResults.diagnostics.forEach((d) => {\n if (d.type === 'error') {\n console.error(d.messageText);\n } else if (d.type === 'debug') {\n console.debug(d.messageText);\n } else {\n console.log(d.messageText);\n }\n });\n\n if (doc.head != null) {\n const styleElms = doc.head.querySelectorAll('style[data-styles]') as NodeListOf<HTMLStyleElement>;\n // eslint-disable-next-line @typescript-eslint/prefer-for-of\n for (let i = 0; i < styleElms.length; i++) {\n styleElms[i].setAttribute('ng-transition', appId);\n }\n }\n\n if (doc.body != null) {\n const ionPages = doc.body.querySelectorAll('.ion-page.ion-page-invisible') as NodeListOf<HTMLElement>;\n // eslint-disable-next-line @typescript-eslint/prefer-for-of\n for (let i = 0; i < ionPages.length; i++) {\n ionPages[i].classList.remove('ion-page-invisible');\n }\n }\n });\n };\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;AAKA;MAWa,iBAAiB,CAAA;0HAAjB,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;2HAAjB,iBAAiB,EAAA,CAAA;AAAjB,uBAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,EAAA,SAAA,EATjB;AACT,YAAA;AACE,gBAAA,OAAO,EAAE,qBAAqB;AAC9B,gBAAA,UAAU,EAAE,sBAAsB;AAClC,gBAAA,KAAK,EAAE,IAAI;AACX,gBAAA,IAAI,EAAE,CAAC,QAAQ,EAAE,MAAM,CAAC;AACzB,aAAA;AACF,SAAA,EAAA,CAAA;;2FAEU,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAV7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,SAAS,EAAE;AACT,wBAAA;AACE,4BAAA,OAAO,EAAE,qBAAqB;AAC9B,4BAAA,UAAU,EAAE,sBAAsB;AAClC,4BAAA,KAAK,EAAE,IAAI;AACX,4BAAA,IAAI,EAAE,CAAC,QAAQ,EAAE,MAAM,CAAC;AACzB,yBAAA;AACF,qBAAA;AACF,iBAAA;;AAGD;AACM,SAAU,sBAAsB,CAAC,GAAQ,EAAE,KAAU,EAAA;;AAEzD,IAAA,OAAO,MAAK;QACV,OAAO,eAAe,CAAC,GAAG,EAAE;AAC1B,YAAA,wBAAwB,EAAE,KAAK;AAC/B,YAAA,iBAAiB,EAAE;;gBAEjB,kBAAkB;gBAClB,WAAW;gBACX,aAAa;gBACb,WAAW;gBACX,aAAa;gBACb,WAAW;gBACX,WAAW;;gB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AAA,CAAC,CAAC;AACJ,IAAA,CAAC;AACH;;ACzEA;;AAEG;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ionic/angular-server",
|
|
3
|
-
"version": "8.8.9-dev.
|
|
3
|
+
"version": "8.8.9-dev.11781098612.122c6758",
|
|
4
4
|
"description": "Angular SSR Module for Ionic",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ionic",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
}
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@ionic/core": "8.8.9-dev.
|
|
38
|
+
"@ionic/core": "8.8.9-dev.11781098612.122c6758",
|
|
39
39
|
"tslib": "^2.3.0"
|
|
40
40
|
},
|
|
41
41
|
"module": "fesm2022/ionic-angular-server.mjs",
|