ngneat / overview Goto Github PK
View Code? Open in Web Editor NEW🤖 A collection of tools to make your Angular views more modular, scalable, and maintainable
License: MIT License
🤖 A collection of tools to make your Angular views more modular, scalable, and maintainable
License: MIT License
[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request
[ ] Other... Please describe:
Currently, when using multiple outlets, only the last one will update on router navigation
All the outlet should update. Proposed fix here main...MichaelLhommeTransdev:ngneat-overview:main
Create two outlets, and use them on child components when navigating
I'm using teleport to control the AppBar title and also AppBar actions from the child pages.
Angular version: 15
Browser:
- [x] Chrome (desktop) version XX
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX
For Tooling issues:
- Node version: 18
- Platform: Windows
Others:
[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[ ] Performance issue
[x] Feature request
[ ] Documentation issue or request
[ ] Support request
[ ] Other... Please describe:
Currently there is no way of passing custom injector as a part of TemplateViewOptions
when calling ViewService.createTemplate
.
I would expect optional injector
to be a part of the TemplateViewOptions
.
Motivation is the same as for injector to be a part of the CompViewOptions
My issue below:
Before this update my package.json look like this:
{
"name": "myapp-lib",
"version": "0.0.20",
"peerDependencies": {
[...]
"@angular/core": "^13.1.0",
"@angular/forms": "^13.1.0",
[..]
"@ngneat/helipopper": "^5.1.4",
"@ngneat/overview": "^3.0.4",
},
"dependencies": {
[...]
},
[..]
}
with dependant app:
{
"name": "myapp",
"version": "0.0.20",
"scripts": {
[...]
},
"engines": {
"node": ">=16.13.2",
"npm": ">=8.1.2"
},
"private": true,
"dependencies": {
[...]
"myapp-lib" : "0.0.20",
[..]
},
"devDependencies": {
"@angular-devkit/build-angular": "^13.1.3",
"@angular/cli": "^13.1.3",
"@angular/compiler-cli": "^13.1.0",
[..],
"typescript": "~4.5.2"
}
}
After this update @ngneat/overview
is resolved as version 4.x.x, no matter do I set here:
"@ngneat/overview": "<4.0.0",
or:
"@ngneat/overview": "3.x.x",
Given error occurs. Do you know how could I fix this issue?
Originally posted by @InYourHead in #14 (comment)
[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[x ] Support request
[ ] Other... Please describe:
No error to be generated when @ngneat/overview is installed with pnpm
Install the library and run the application
[ERROR] No matching export in "node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@ngneat/overview/fesm2022/ngneat-overview.mjs" for import "DynamicViewModule"
node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]/node_modules/@ngneat/hot-toast/fesm2022/ngneat-hot-toast.mjs:6:37:
6 │ import { isTemplateRef, isComponent, DynamicViewModule } from '@ngneat/overview';
╵ ~~~~~~~~~~~~~~~~~
/home/stclair/workspace/nx/mf/new/med-soft/node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:1649
let error = new Error(`${text}${summary}`);
^
Error: Build failed with 1 error:
node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]/node_modules/@ngneat/hot-toast/fesm2022/ngneat-hot-toast.mjs:6:37: ERROR: No matching export in "node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@ngneat/overview/fesm2022/ngneat-overview.mjs" for import "DynamicViewModule"
at failureErrorWithLog (/home/stclair/workspace/nx/mf/new/med-soft/node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:1649:15)
at /home/stclair/workspace/nx/mf/new/med-soft/node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:1058:25
at /home/stclair/workspace/nx/mf/new/med-soft/node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:1525:9
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
errors: [
{
detail: undefined,
id: '',
location: {
column: 37,
file: 'node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]/node_modules/@ngneat/hot-toast/fesm2022/ngneat-hot-toast.mjs',
length: 17,
line: 6,
lineText: "import { isTemplateRef, isComponent, DynamicViewModule } from '@ngneat/overview';",
namespace: '',
suggestion: ''
},
notes: [],
pluginName: '',
text: 'No matching export in "node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@ngneat/overview/fesm2022/ngneat-overview.mjs" for import "DynamicViewModule"'
}
],
warnings: []
}
Node.js v20.9.0
Angular version: X.Y.Z
Browser:
- [x ] Chrome (desktop) version XX
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [x ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX
For Tooling issues:
- Node version: XX v20.9.0
- Platform: Linux
Others:
IDE: Webstorm and Visual studio
[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request
[ ] Other... Please describe:
upgrading from @ngneat/overview 2.1 - 3.x.x results in the following error
Uncaught Error: Type HotToastModule does not have 'ɵmod' property.
at getNgModuleDef (core.mjs:1130)
at recurse (core.mjs:22110)
at recurse (core.mjs:22121)
at registerNgModuleType (core.mjs:22106)
at new NgModuleFactory (core.mjs:22232)
at compileNgModuleFactory__POST_R3__ (core.mjs:26275)
at PlatformRef.bootstrapModule (core.mjs:26528)
at Module.14720 (main.ts:51)
at webpack_require (bootstrap:19)
at webpack_exec (request.model.ts:135)
getNgModuleDef @ core.mjs:1130
recurse @ core.mjs:22110
recurse @ core.mjs:22121
registerNgModuleType @ core.mjs:22106
NgModuleFactory @ core.mjs:22232
compileNgModuleFactory__POST_R3__ @ core.mjs:26275
bootstrapModule @ core.mjs:26528
14720 @ main.ts:51
webpack_require @ bootstrap:19
webpack_exec @ request.model.ts:135
(anonymous) @ request.model.ts:135
webpack_require.O @ chunk loaded:23
(anonymous) @ request.model.ts:135
webpackJsonpCallback @ jsonp chunk loading:71
(anonymous) @ main.js:2
The application does not run.
The program should run without such an error.
Error related package.json modules:
"@ngneat/hot-toast": "^3.4.3"
"@ngneat/overview": "^3.0.0",
Modules that run without errors:
"@ngneat/hot-toast": "^3.4.3"
"@ngneat/overview": "^2.1.0",
Angular version: "@angular/cli": "^13.0.2",
Browser:
- [ x] Chrome (desktop) version 95.0.4638.54 (Official Build) (64-bit)
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ x] Firefox version 94
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX
For Tooling issues:
- Node version: XX
Node v16.13.0
- Platform:
Kernel Name| Linux
Kernel Release| 5.4.0-90-generic
Kernel Version| #101-Ubuntu SMP Fri Oct 15 20:00:55 UTC 2021
Host Name| scscwrk
Machine Hardware Name| x86_64
OS| GNU/Linux
Code Name| Linux
Processor| x86_64
Platform| x86_64
Others:
[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request
[ ] Other... Please describe:
I have try to build, i get this error:
No matching export in "node_modules/@ngneat/overview/fesm2022/ngneat-overview.mjs" for import "DynamicViewModule"
node_modules/@ngneat/hot-toast/fesm2022/ngneat-hot-toast.mjs:6:37:
6 │ ...mplateRef, isComponent, DynamicViewModule } from '@ngneat/overvi...
Angular version: 17.0.5
For Tooling issues:
- Node version: v18
- Platform: Mac
Packages:
"@angular/animations": "^17.0.5",
"@angular/common": "^17.0.5",
"@angular/compiler": "^17.0.5",
"@angular/core": "^17.0.5",
"@angular/forms": "^17.0.5",
"@angular/platform-browser": "^17.0.5",
"@angular/platform-browser-dynamic": "^17.0.5",
"@angular/router": "^17.0.5",
"@ngneat/dialog": "^5.0.0",
"@ngneat/hot-toast": "^6.0.1",
"@ngneat/overview": "^6.0.0",
"rxjs": "~7.8.1",
"tslib": "^2.6.2",
"zone.js": "~0.14.2"
[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request
[ ] Other... Please describe:
When I use TeleportModule and a formGroup binding inside teleportTo
template, there's an ExpressionChangedAfterItHasBeenCheckedError.
No error
Error appears every time you navigate to Route 1. If you comment out ng-cotnainer with formGroup, error is gone.
Angular version: 12.2.4
main.ts:47 Error: NG0200: Circular dependency in DI detected for ApplicationRef. Find more at https://angular.io/errors/NG0200
at throwCyclicDependencyError (core.mjs:240:11)
at R3Injector.hydrate (core.mjs:6883:13)
at R3Injector.get (core.mjs:6775:33)
at injectInjectorOnly (core.mjs:4782:33)
at Module.ɵɵinject (core.mjs:4786:60)
at Object.ViewService_Factory [as factory] (ngneat-overview.mjs:19:101)
at R3Injector.hydrate (core.mjs:6887:35)
at R3Injector.get (core.mjs:6775:33)
at injectInjectorOnly (core.mjs:4782:33)
at Module.ɵɵinject (core.mjs:4786:60)
[ ] Regression (a behavior that used to work and stopped working in a new release)
[X] Bug report
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request
[ ] Other... Please describe:
Angular version: X.Y.Z
Browser:
- [X] Chrome (desktop) version XX
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX
For Tooling issues:
- Node version: XX
- Platform:
Others:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.