-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deploying to gh-pages from @ 31e6295 🚀
- Loading branch information
Showing
756 changed files
with
110,708 additions
and
98,034 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,126 @@ | ||
"use strict"; | ||
(self["webpackChunkdemo"] = self["webpackChunkdemo"] || []).push([[117],{ | ||
|
||
/***/ 7117: | ||
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { | ||
|
||
// ESM COMPAT FLAG | ||
__webpack_require__.r(__webpack_exports__); | ||
|
||
// EXPORTS | ||
__webpack_require__.d(__webpack_exports__, { | ||
AngularChildModule: () => (/* binding */ AngularChildModule) | ||
}); | ||
|
||
// EXTERNAL MODULE: consume shared module (default) @angular/router@=16.2.8 (strict) (singleton) (fallback: ./node_modules/@angular/router/fesm2022/router.mjs) | ||
var router_mjs_ = __webpack_require__(3042); | ||
// EXTERNAL MODULE: ./node_modules/@taiga-ui/addon-doc/fesm2015/taiga-ui-addon-doc.js | ||
var taiga_ui_addon_doc = __webpack_require__(5322); | ||
// EXTERNAL MODULE: ./node_modules/@taiga-ui/addon-doc/fesm2015/taiga-ui-addon-doc-utils.js | ||
var taiga_ui_addon_doc_utils = __webpack_require__(8836); | ||
// EXTERNAL MODULE: ./node_modules/@taiga-ui/core/fesm2015/taiga-ui-core-components-link.js | ||
var taiga_ui_core_components_link = __webpack_require__(2114); | ||
// EXTERNAL MODULE: consume shared module (default) @angular/core@=16.2.8 (strict) (singleton) (fallback: ./node_modules/@angular/core/fesm2022/core.mjs) | ||
var core_mjs_ = __webpack_require__(6609); | ||
// EXTERNAL MODULE: ./node_modules/@taiga-ui/addon-doc/fesm2015/taiga-ui-addon-doc-components.js + 112 modules | ||
var taiga_ui_addon_doc_components = __webpack_require__(1909); | ||
;// CONCATENATED MODULE: ./apps/demo/src/app/modules/angular-child/angular-child.component.ts | ||
|
||
|
||
|
||
|
||
const CODE = `import {createApp} from '@microzord/angular/child'; | ||
import {platformBrowserDynamic} from '@angular/platform-browser-dynamic'; | ||
import {AppModule} from './app.module'; | ||
export const myRemoteApp = createApp( | ||
opts => platformBrowserDynamic().bootstrapModule(AppModule, opts), | ||
'my-remote-app', | ||
); | ||
`; | ||
let AngularChildComponent = /*#__PURE__*/(() => { | ||
class AngularChildComponent { | ||
constructor() { | ||
this.code = CODE; | ||
} | ||
static #_ = this.ɵfac = function AngularChildComponent_Factory(t) { | ||
return new (t || AngularChildComponent)(); | ||
}; | ||
static #_2 = this.ɵcmp = /*@__PURE__*/core_mjs_["ɵɵdefineComponent"]({ | ||
type: AngularChildComponent, | ||
selectors: [["angular-child"]], | ||
decls: 27, | ||
vars: 1, | ||
consts: [["header", "Angular Child"], ["tuiLink", "", "routerLink", "/angular-host"], ["tuiLink", "", "routerLink", "/angular-installation"], ["filename", "my-remote-app.ts", 3, "code"]], | ||
template: function AngularChildComponent_Template(rf, ctx) { | ||
if (rf & 1) { | ||
core_mjs_["ɵɵelementStart"](0, "tui-doc-page", 0)(1, "p"); | ||
core_mjs_["ɵɵtext"](2, "Here you can read how to setup your application to be inserted into another app."); | ||
core_mjs_["ɵɵelementEnd"](); | ||
core_mjs_["ɵɵelementStart"](3, "p"); | ||
core_mjs_["ɵɵtext"](4, " If you want to make your Angular application a host of other applications, see "); | ||
core_mjs_["ɵɵelementStart"](5, "a", 1); | ||
core_mjs_["ɵɵtext"](6, "Angular as a host"); | ||
core_mjs_["ɵɵelementEnd"]()(); | ||
core_mjs_["ɵɵelementStart"](7, "section")(8, "h2"); | ||
core_mjs_["ɵɵtext"](9, "Installation"); | ||
core_mjs_["ɵɵelementEnd"](); | ||
core_mjs_["ɵɵtext"](10, " See "); | ||
core_mjs_["ɵɵelementStart"](11, "a", 2); | ||
core_mjs_["ɵɵtext"](12, "Angular package installation"); | ||
core_mjs_["ɵɵelementEnd"]()(); | ||
core_mjs_["ɵɵelementStart"](13, "section")(14, "h2"); | ||
core_mjs_["ɵɵtext"](15, "Replace the platform"); | ||
core_mjs_["ɵɵelementEnd"](); | ||
core_mjs_["ɵɵelementStart"](16, "p"); | ||
core_mjs_["ɵɵtext"](17, " You should create file with an application and expose it via module federation. Microzord provides "); | ||
core_mjs_["ɵɵelementStart"](18, "code"); | ||
core_mjs_["ɵɵtext"](19, "createApp"); | ||
core_mjs_["ɵɵelementEnd"](); | ||
core_mjs_["ɵɵtext"](20, " helper to convert your application to microzord child application. "); | ||
core_mjs_["ɵɵelementEnd"](); | ||
core_mjs_["ɵɵelement"](21, "tui-doc-code", 3); | ||
core_mjs_["ɵɵelementStart"](22, "p"); | ||
core_mjs_["ɵɵtext"](23, " Now you can build your application as usual and dist folder of your app will contain "); | ||
core_mjs_["ɵɵelementStart"](24, "strong"); | ||
core_mjs_["ɵɵtext"](25, "microzord.json"); | ||
core_mjs_["ɵɵelementEnd"](); | ||
core_mjs_["ɵɵtext"](26, " assets map. "); | ||
core_mjs_["ɵɵelementEnd"]()()(); | ||
} | ||
if (rf & 2) { | ||
core_mjs_["ɵɵadvance"](21); | ||
core_mjs_["ɵɵproperty"]("code", ctx.code); | ||
} | ||
}, | ||
dependencies: [taiga_ui_core_components_link/* TuiLinkComponent */.V, taiga_ui_addon_doc_components/* TuiDocCodeComponent */.c0, taiga_ui_addon_doc_components/* TuiDocPageComponent */.qo, router_mjs_.RouterLink], | ||
changeDetection: 0 | ||
}); | ||
} | ||
return AngularChildComponent; | ||
})(); | ||
;// CONCATENATED MODULE: ./apps/demo/src/app/modules/angular-child/angular-child.module.ts | ||
|
||
|
||
|
||
|
||
|
||
|
||
let AngularChildModule = /*#__PURE__*/(() => { | ||
class AngularChildModule { | ||
static #_ = this.ɵfac = function AngularChildModule_Factory(t) { | ||
return new (t || AngularChildModule)(); | ||
}; | ||
static #_2 = this.ɵmod = /*@__PURE__*/core_mjs_["ɵɵdefineNgModule"]({ | ||
type: AngularChildModule | ||
}); | ||
static #_3 = this.ɵinj = /*@__PURE__*/core_mjs_["ɵɵdefineInjector"]({ | ||
imports: [taiga_ui_core_components_link/* TuiLinkModule */.j, taiga_ui_addon_doc.TuiAddonDocModule, router_mjs_.RouterModule.forChild((0,taiga_ui_addon_doc_utils/* tuiGenerateRoutes */.Ve)(AngularChildComponent))] | ||
}); | ||
} | ||
return AngularChildModule; | ||
})(); | ||
|
||
/***/ }) | ||
|
||
}]); |
Oops, something went wrong.