diff --git a/src-ui/package-lock.json b/src-ui/package-lock.json index 6a4c7e5f1..1ed0ac0a9 100644 --- a/src-ui/package-lock.json +++ b/src-ui/package-lock.json @@ -18,7 +18,7 @@ "@angular/router": "~13.3.1", "@ng-bootstrap/ng-bootstrap": "^12.0.1", "@ng-select/ng-select": "^8.1.1", - "@ngneat/dirty-check-forms": "^2.0.0", + "@ngneat/dirty-check-forms": "^3.0.2", "@popperjs/core": "^2.11.4", "bootstrap": "^5.1.3", "file-saver": "^2.0.5", @@ -26,7 +26,6 @@ "ngx-color": "^7.3.3", "ngx-cookie-service": "^13.1.2", "ngx-file-drop": "^13.0.0", - "ngx-infinite-scroll": "^10.0.1", "rxjs": "~7.5.5", "tslib": "^2.3.1", "uuid": "^8.3.1", @@ -44,7 +43,7 @@ "jest": "27.5.1", "ts-node": "~10.7.0", "tslint": "~6.1.3", - "typescript": "~4.5.5", + "typescript": "~4.6.3", "wait-on": "~6.0.1" }, "optionalDependencies": { @@ -3384,9 +3383,9 @@ } }, "node_modules/@ngneat/dirty-check-forms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@ngneat/dirty-check-forms/-/dirty-check-forms-2.0.0.tgz", - "integrity": "sha512-9i3lUA/g+CwZry+iOG/diiM4K14+3JBsuuDU007gx60kxHJQCVUKZckILZCXA5O092KzqdaAfli4DVrMS3LVoA==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@ngneat/dirty-check-forms/-/dirty-check-forms-3.0.2.tgz", + "integrity": "sha512-SKl3f/SqIdBMle7QorO4T90TqaWAjLe0xtJrTrzCsjC4uQlsk+old1DugUF16FJxAikPcBMoUABHa2iT3Uh75g==", "dependencies": { "tslib": ">=2.0.0" }, @@ -3539,12 +3538,6 @@ "url": "https://opencollective.com/popperjs" } }, - "node_modules/@scarf/scarf": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@scarf/scarf/-/scarf-1.1.1.tgz", - "integrity": "sha512-VGbKDbk1RFIaSmdVb0cNjjWJoRWRI/Weo23AjRCC2nryO0iAS8pzsToJfPVPtVs74WHw4L1UTADNdIYRLkirZQ==", - "hasInstallScript": true - }, "node_modules/@schematics/angular": { "version": "13.3.1", "resolved": "https://registry.npmjs.org/@schematics/angular/-/angular-13.3.1.tgz", @@ -12537,16 +12530,6 @@ "@angular/core": ">=13.0.0" } }, - "node_modules/ngx-infinite-scroll": { - "version": "10.0.1", - "resolved": "https://registry.npmjs.org/ngx-infinite-scroll/-/ngx-infinite-scroll-10.0.1.tgz", - "integrity": "sha512-7is0eJZ9kJPsaHohRmMhJ/QFHAW9jp9twO5HcHRvFM/Yl/R8QCiokgjwmH0/CR3MuxUanxfHZMfO3PbYTwlBEg==", - "hasInstallScript": true, - "dependencies": { - "@scarf/scarf": "^1.1.0", - "opencollective-postinstall": "^2.0.2" - } - }, "node_modules/nice-napi": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/nice-napi/-/nice-napi-1.0.2.tgz", @@ -13018,14 +13001,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/opencollective-postinstall": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/opencollective-postinstall/-/opencollective-postinstall-2.0.3.tgz", - "integrity": "sha512-8AV/sCtuzUeTo8gQK5qDZzARrulB3egtLzFgteqB2tcT4Mw7B8Kt7JcDHmltjz6FOAHsvTevk70gZEbhM4ZS9Q==", - "bin": { - "opencollective-postinstall": "index.js" - } - }, "node_modules/optionator": { "version": "0.8.3", "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.3.tgz", @@ -16047,9 +16022,9 @@ } }, "node_modules/typescript": { - "version": "4.5.5", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.5.5.tgz", - "integrity": "sha512-TCTIul70LyWe6IJWT8QSYeA54WQe8EjQFU4wY52Fasj5UKx88LNYKCgBEHcOMOrFF1rKGbD8v/xcNWVUq9SymA==", + "version": "4.6.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.6.3.tgz", + "integrity": "sha512-yNIatDa5iaofVozS/uQJEl3JRWLKKGJKh6Yaiv0GLGSuhpFJe7P3SbHZ8/yjAHRQwKRoA6YZqlfjXWmVzoVSMw==", "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -19274,9 +19249,9 @@ } }, "@ngneat/dirty-check-forms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@ngneat/dirty-check-forms/-/dirty-check-forms-2.0.0.tgz", - "integrity": "sha512-9i3lUA/g+CwZry+iOG/diiM4K14+3JBsuuDU007gx60kxHJQCVUKZckILZCXA5O092KzqdaAfli4DVrMS3LVoA==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@ngneat/dirty-check-forms/-/dirty-check-forms-3.0.2.tgz", + "integrity": "sha512-SKl3f/SqIdBMle7QorO4T90TqaWAjLe0xtJrTrzCsjC4uQlsk+old1DugUF16FJxAikPcBMoUABHa2iT3Uh75g==", "requires": { "tslib": ">=2.0.0" } @@ -19392,11 +19367,6 @@ "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.4.tgz", "integrity": "sha512-q/ytXxO5NKvyT37pmisQAItCFqA7FD/vNb8dgaJy3/630Fsc+Mz9/9f2SziBoIZ30TJooXyTwZmhi1zjXmObYg==" }, - "@scarf/scarf": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@scarf/scarf/-/scarf-1.1.1.tgz", - "integrity": "sha512-VGbKDbk1RFIaSmdVb0cNjjWJoRWRI/Weo23AjRCC2nryO0iAS8pzsToJfPVPtVs74WHw4L1UTADNdIYRLkirZQ==" - }, "@schematics/angular": { "version": "13.3.1", "resolved": "https://registry.npmjs.org/@schematics/angular/-/angular-13.3.1.tgz", @@ -26121,15 +26091,6 @@ "tslib": "^2.0.0" } }, - "ngx-infinite-scroll": { - "version": "10.0.1", - "resolved": "https://registry.npmjs.org/ngx-infinite-scroll/-/ngx-infinite-scroll-10.0.1.tgz", - "integrity": "sha512-7is0eJZ9kJPsaHohRmMhJ/QFHAW9jp9twO5HcHRvFM/Yl/R8QCiokgjwmH0/CR3MuxUanxfHZMfO3PbYTwlBEg==", - "requires": { - "@scarf/scarf": "^1.1.0", - "opencollective-postinstall": "^2.0.2" - } - }, "nice-napi": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/nice-napi/-/nice-napi-1.0.2.tgz", @@ -26495,11 +26456,6 @@ "is-wsl": "^2.2.0" } }, - "opencollective-postinstall": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/opencollective-postinstall/-/opencollective-postinstall-2.0.3.tgz", - "integrity": "sha512-8AV/sCtuzUeTo8gQK5qDZzARrulB3egtLzFgteqB2tcT4Mw7B8Kt7JcDHmltjz6FOAHsvTevk70gZEbhM4ZS9Q==" - }, "optionator": { "version": "0.8.3", "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.3.tgz", @@ -28717,9 +28673,9 @@ } }, "typescript": { - "version": "4.5.5", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.5.5.tgz", - "integrity": "sha512-TCTIul70LyWe6IJWT8QSYeA54WQe8EjQFU4wY52Fasj5UKx88LNYKCgBEHcOMOrFF1rKGbD8v/xcNWVUq9SymA==" + "version": "4.6.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.6.3.tgz", + "integrity": "sha512-yNIatDa5iaofVozS/uQJEl3JRWLKKGJKh6Yaiv0GLGSuhpFJe7P3SbHZ8/yjAHRQwKRoA6YZqlfjXWmVzoVSMw==" }, "unicode-canonical-property-names-ecmascript": { "version": "2.0.0", diff --git a/src-ui/package.json b/src-ui/package.json index 3da3f665e..e29b46275 100644 --- a/src-ui/package.json +++ b/src-ui/package.json @@ -23,7 +23,7 @@ "@angular/router": "~13.3.1", "@ng-bootstrap/ng-bootstrap": "^12.0.1", "@ng-select/ng-select": "^8.1.1", - "@ngneat/dirty-check-forms": "^2.0.0", + "@ngneat/dirty-check-forms": "^3.0.2", "@popperjs/core": "^2.11.4", "bootstrap": "^5.1.3", "file-saver": "^2.0.5", @@ -31,7 +31,6 @@ "ngx-color": "^7.3.3", "ngx-cookie-service": "^13.1.2", "ngx-file-drop": "^13.0.0", - "ngx-infinite-scroll": "^10.0.1", "rxjs": "~7.5.5", "tslib": "^2.3.1", "uuid": "^8.3.1", @@ -49,7 +48,7 @@ "jest": "27.5.1", "ts-node": "~10.7.0", "tslint": "~6.1.3", - "typescript": "~4.5.5", + "typescript": "~4.6.3", "wait-on": "~6.0.1" }, "optionalDependencies": { diff --git a/src-ui/src/app/app.module.ts b/src-ui/src/app/app.module.ts index 0d132800c..e891d217d 100644 --- a/src-ui/src/app/app.module.ts +++ b/src-ui/src/app/app.module.ts @@ -39,7 +39,6 @@ import { TextComponent } from './components/common/input/text/text.component' import { SelectComponent } from './components/common/input/select/select.component' import { CheckComponent } from './components/common/input/check/check.component' import { SaveViewConfigDialogComponent } from './components/document-list/save-view-config-dialog/save-view-config-dialog.component' -import { InfiniteScrollModule } from 'ngx-infinite-scroll' import { TagsComponent } from './components/common/input/tags/tags.component' import { SortableDirective } from './directives/sortable.directive' import { CookieService } from 'ngx-cookie-service' @@ -170,7 +169,6 @@ registerLocaleData(localeZh) FormsModule, ReactiveFormsModule, NgxFileDropModule, - InfiniteScrollModule, PdfViewerModule, NgSelectModule, ColorSliderModule,