From eb5f8e4c83be67beeae2a362e99b3942e401d438 Mon Sep 17 00:00:00 2001 From: taiga-family-bot <140712314+taiga-family-bot@users.noreply.github.com> Date: Mon, 30 Sep 2024 14:30:44 +0300 Subject: [PATCH] chore(deps): update taiga-ui dev infra to v0.220.0 (#9267) Co-authored-by: taiga-family-bot Co-authored-by: splincode --- .github/workflows/auto-update-icons.yml | 2 + .github/workflows/lint.yml | 2 + package-lock.json | 325 ++++++++++++------ package.json | 14 +- .../arc-chart/arc-chart.component.ts | 3 +- .../line-chart/line-chart.component.ts | 8 +- .../input-card/input-card.component.ts | 2 +- .../components/api/api-item.component.ts | 5 +- .../components/code/tests/highlight.spec.ts | 4 +- projects/addon-doc/components/demo/index.ts | 3 +- .../test/mobile-dialog.component.spec.ts | 4 +- .../test/repeat-times.directive.spec.ts | 4 +- projects/cdk/observables/zone.ts | 9 +- projects/cdk/pipes/repeat-times/index.ts | 3 +- .../ng-update/v4/steps/migrate-editor.ts | 4 +- .../ng-update/v4/steps/migrate-root.ts | 2 +- .../button/test/button.directive.spec.ts | 3 +- .../test/calendar-sheet.component.spec.ts | 4 +- .../data-list/data-list.component.ts | 3 +- .../components/dialog/dialog.component.ts | 7 +- .../components/dialog/dialogs.component.ts | 3 +- .../link/test/link.directive.spec.ts | 3 +- .../textfield/textfield.directive.ts | 3 +- .../appearance/appearance.directive.ts | 3 +- .../dropdown/dropdown-options.directive.ts | 4 +- .../dropdown/test/dropdown.directive.spec.ts | 4 +- .../directives/hint/hint-options.directive.ts | 4 +- .../core/directives/hint/hint.component.ts | 4 +- .../hint/test/hint.directive.spec.ts | 4 +- projects/core/tokens/dark-mode.ts | 3 +- projects/core/utils/format/format-number.ts | 6 +- .../src/tests/input-phone-international.cy.ts | 12 +- .../tests/core/textfield/textfield.spec.ts | 3 +- .../kit/calendar-range/calendar-range.spec.ts | 3 +- .../input-phone-international.spec.ts | 4 +- .../utils/page-objects/calendar-range.po.ts | 3 +- .../demo/src/components/appearance/index.ts | 8 +- .../demo/src/components/dropdown/index.ts | 15 +- projects/demo/src/modules/app/abstract.app.ts | 3 +- projects/demo/src/modules/app/app.config.ts | 2 +- .../components/app-bar/examples/4/index.ts | 3 +- .../src/modules/components/block/index.ts | 3 +- .../src/modules/components/data-list/index.ts | 3 +- .../examples/2/actions-content/index.ts | 2 +- .../components/select/examples/7/index.ts | 4 +- .../components/tabs/examples/8/index.ts | 3 +- .../demo/src/modules/components/tabs/index.ts | 3 +- .../src/modules/components/tabs/routes.ts | 2 +- .../components/tree/examples/7/index.ts | 2 +- .../modules/directives/appearance/index.ts | 4 +- .../dropdown-open/examples/5/index.ts | 2 +- .../test/accordion.component.spec.ts | 4 +- .../test/breadcrumbs.component.spec.ts | 4 +- .../test/calendar-range.component.spec.ts | 10 +- .../components/confirm/confirm.component.ts | 3 +- .../test/input-inline.component.spec.ts | 4 +- .../input-phone-international.options.ts | 3 +- ...nput-phone-international.component.spec.ts | 4 +- .../kit/components/like/like.component.ts | 3 +- .../test/pdf-viewer.component.spec.ts | 4 +- .../push/test/push.component.spec.ts | 4 +- .../radio-list/radio-list.component.ts | 3 +- .../test/routable-dialog.component.spec.ts | 4 +- .../tabs/test/tabs.component.spec.ts | 4 +- projects/kit/components/tiles/tile.service.ts | 3 +- .../button-select/button-select.directive.ts | 6 +- .../components/navigation/drawer.component.ts | 5 +- .../search/search-filters.component.ts | 3 +- .../test/combo-box.component.spec.ts | 4 +- .../test/input-copy.component.spec.ts | 4 +- .../test/input-date-range.component.spec.ts | 4 +- .../test/input-date-time.component.spec.ts | 4 +- .../input-month-range.directive.ts | 9 +- .../test/input-number.component.spec.ts | 4 +- .../test/input-password.component.spec.ts | 4 +- ...nput-phone-international.component.spec.ts | 4 +- .../test/input-range.component.spec.ts | 4 +- .../test/input-slider.component.spec.ts | 4 +- .../textarea/test/textarea.component.spec.ts | 8 +- 79 files changed, 392 insertions(+), 268 deletions(-) diff --git a/.github/workflows/auto-update-icons.yml b/.github/workflows/auto-update-icons.yml index f367baeecef6..fd0112fbbeab 100644 --- a/.github/workflows/auto-update-icons.yml +++ b/.github/workflows/auto-update-icons.yml @@ -9,6 +9,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4.2.0 + with: + persist-credentials: false - uses: taiga-family/ci/actions/setup/variables@v1.87.6 - uses: taiga-family/ci/actions/setup/node@v1.87.6 - name: Lucide icons diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 43f77cee2a03..8795186437f7 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -11,6 +11,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4.2.0 + with: + persist-credentials: false - uses: taiga-family/ci/actions/setup/variables@v1.87.6 - uses: taiga-family/ci/actions/setup/node@v1.87.6 - run: npm run typecheck diff --git a/package-lock.json b/package-lock.json index 2da40fd1b269..a51e137a44fe 100644 --- a/package-lock.json +++ b/package-lock.json @@ -26,15 +26,15 @@ "@nx/jest": "19.8.2", "@nx/workspace": "19.8.2", "@schematics/angular": "16.2.16", - "@taiga-ui/browserslist-config": "0.219.0", - "@taiga-ui/commitlint-config": "0.219.0", - "@taiga-ui/cspell-config": "0.219.0", + "@taiga-ui/browserslist-config": "0.220.0", + "@taiga-ui/commitlint-config": "0.220.0", + "@taiga-ui/cspell-config": "0.220.0", "@taiga-ui/design-tokens": "0.139.0", - "@taiga-ui/eslint-plugin-experience": "0.219.0", + "@taiga-ui/eslint-plugin-experience": "0.220.0", "@taiga-ui/event-plugins": "4.2.4", - "@taiga-ui/prettier-config": "0.219.0", - "@taiga-ui/stylelint-config": "0.219.0", - "@taiga-ui/tsconfig": "0.219.0", + "@taiga-ui/prettier-config": "0.220.0", + "@taiga-ui/stylelint-config": "0.220.0", + "@taiga-ui/tsconfig": "0.220.0", "@types/glob": "8.1.0", "@types/loader-utils": "2.0.6", "@types/node": "22.7.4", @@ -7472,6 +7472,74 @@ "@angular-devkit/build-angular": "^16.0.0 || ^16.1.0-next.0" } }, + "node_modules/@nguniversal/builders/node_modules/@types/express": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/@types/express/-/express-4.17.21.tgz", + "integrity": "sha512-ejlPM315qwLpaQlQDTjPdsUFSc6ZsP4AN6AlWnogPjQ7CVi7PYF3YVz+CY3jE2pwYf7E/7HlDAN0rV2GxTG0HQ==", + "dev": true, + "license": "MIT", + "optional": true, + "peer": true, + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.33", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, + "node_modules/@nguniversal/builders/node_modules/@types/express-serve-static-core": { + "version": "4.19.6", + "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.19.6.tgz", + "integrity": "sha512-N4LZ2xG7DatVqhCZzOGb1Yi5lMbXSZcmdLDe9EzSndPV2HpWYWzRbaerl2n27irrm94EPpprqa8KpskPT085+A==", + "dev": true, + "license": "MIT", + "optional": true, + "peer": true, + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*", + "@types/send": "*" + } + }, + "node_modules/@nguniversal/builders/node_modules/http-proxy-middleware": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-2.0.6.tgz", + "integrity": "sha512-ya/UeJ6HVBYxrgYotAZo1KvPWlgB48kUJLDePFeneHsVujFaW5WNj2NgWCAE//B1Dl02BIfYlpNgBy8Kf8Rjmw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/http-proxy": "^1.17.8", + "http-proxy": "^1.18.1", + "is-glob": "^4.0.1", + "is-plain-obj": "^3.0.0", + "micromatch": "^4.0.2" + }, + "engines": { + "node": ">=12.0.0" + }, + "peerDependencies": { + "@types/express": "^4.17.13" + }, + "peerDependenciesMeta": { + "@types/express": { + "optional": true + } + } + }, + "node_modules/@nguniversal/builders/node_modules/is-plain-obj": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-3.0.0.tgz", + "integrity": "sha512-gwsOE28k+23GP1B6vFl1oVh/WOzmawBrKwo5Ev6wMKzPkaXaCDIQKzLnvsA42DRlbVTWorkgTKIviAKCWkfUwA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/@nguniversal/common": { "version": "16.2.0", "resolved": "https://registry.npmjs.org/@nguniversal/common/-/common-16.2.0.tgz", @@ -8847,6 +8915,32 @@ "webpack-subresource-integrity": "^5.1.0" } }, + "node_modules/@nx/webpack/node_modules/@types/express": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/@types/express/-/express-4.17.21.tgz", + "integrity": "sha512-ejlPM315qwLpaQlQDTjPdsUFSc6ZsP4AN6AlWnogPjQ7CVi7PYF3YVz+CY3jE2pwYf7E/7HlDAN0rV2GxTG0HQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.33", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, + "node_modules/@nx/webpack/node_modules/@types/express-serve-static-core": { + "version": "4.19.6", + "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.19.6.tgz", + "integrity": "sha512-N4LZ2xG7DatVqhCZzOGb1Yi5lMbXSZcmdLDe9EzSndPV2HpWYWzRbaerl2n27irrm94EPpprqa8KpskPT085+A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*", + "@types/send": "*" + } + }, "node_modules/@nx/webpack/node_modules/@types/retry": { "version": "0.12.2", "resolved": "https://registry.npmjs.org/@types/retry/-/retry-0.12.2.tgz", @@ -9067,24 +9161,6 @@ "node": ">=8" } }, - "node_modules/@nx/webpack/node_modules/http-proxy-middleware": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-3.0.2.tgz", - "integrity": "sha512-fBLFpmvDzlxdckwZRjM0wWtwDZ4KBtQ8NFqhrFKoEtK4myzuiumBuNTxD+F4cVbXfOZljIbrynmvByofDzT7Ag==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/http-proxy": "^1.17.15", - "debug": "^4.3.6", - "http-proxy": "^1.18.1", - "is-glob": "^4.0.3", - "is-plain-object": "^5.0.0", - "micromatch": "^4.0.8" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, "node_modules/@nx/webpack/node_modules/iconv-lite": { "version": "0.6.3", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", @@ -9108,6 +9184,19 @@ "node": ">= 10" } }, + "node_modules/@nx/webpack/node_modules/is-plain-obj": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-3.0.0.tgz", + "integrity": "sha512-gwsOE28k+23GP1B6vFl1oVh/WOzmawBrKwo5Ev6wMKzPkaXaCDIQKzLnvsA42DRlbVTWorkgTKIviAKCWkfUwA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/@nx/webpack/node_modules/is-wsl": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-3.1.0.tgz", @@ -10164,9 +10253,9 @@ "link": true }, "node_modules/@taiga-ui/browserslist-config": { - "version": "0.219.0", - "resolved": "https://registry.npmjs.org/@taiga-ui/browserslist-config/-/browserslist-config-0.219.0.tgz", - "integrity": "sha512-OFfISnsYHVNJdr0+i0G+eslvahrpZgLZjpLhOQZbPQrY/M/h9XbXe6h/jQ3yZJX81SnLwDo9989kU1hexduDOA==", + "version": "0.220.0", + "resolved": "https://registry.npmjs.org/@taiga-ui/browserslist-config/-/browserslist-config-0.220.0.tgz", + "integrity": "sha512-g+nmqUW9PG1ZT3bwNvS94Fr3FMrAx9VbYKj1YcH6lptUc4J+Pbr43TzJTira+RJDitM/uUhRbBBozy+6QbJWig==", "dev": true, "license": "Apache-2.0" }, @@ -10175,9 +10264,9 @@ "link": true }, "node_modules/@taiga-ui/commitlint-config": { - "version": "0.219.0", - "resolved": "https://registry.npmjs.org/@taiga-ui/commitlint-config/-/commitlint-config-0.219.0.tgz", - "integrity": "sha512-ChfL/UyszrIDuUlf+irkb+y8aAbvGqCgedbeSh0Hns44IJ3lxvFj14OY6xh2KzQvky03FjnHO6nI+52F3ZZa+g==", + "version": "0.220.0", + "resolved": "https://registry.npmjs.org/@taiga-ui/commitlint-config/-/commitlint-config-0.220.0.tgz", + "integrity": "sha512-9/hn7m1A0ouiH2DRI4VYDRnfXr9eS9I0QUEXB7kaP/nQDoJ55dygiZ94xAXj1ZoHES99Ms+RQVzt+mgu+Y2stg==", "dev": true, "license": "Apache-2.0", "peerDependencies": { @@ -10190,9 +10279,9 @@ "link": true }, "node_modules/@taiga-ui/cspell-config": { - "version": "0.219.0", - "resolved": "https://registry.npmjs.org/@taiga-ui/cspell-config/-/cspell-config-0.219.0.tgz", - "integrity": "sha512-uY7fgNV71tVT+ZNFsZKe9OzO/hyh5yZKF5jX2rhK+e/KQ3ovHPBuSVM6bUebVkJJTS9j3jjDDTftItBvrgDoHQ==", + "version": "0.220.0", + "resolved": "https://registry.npmjs.org/@taiga-ui/cspell-config/-/cspell-config-0.220.0.tgz", + "integrity": "sha512-etCkdeGGQ6V8BVMRsG+fBHr3YnfnsGCksgOCCUS6QcR4LqmadkdOacA3sOFDUfrykEJs38s3q7rUFp+3zYP4+g==", "dev": true, "license": "Apache-2.0", "peerDependencies": { @@ -10241,9 +10330,9 @@ } }, "node_modules/@taiga-ui/eslint-plugin-experience": { - "version": "0.219.0", - "resolved": "https://registry.npmjs.org/@taiga-ui/eslint-plugin-experience/-/eslint-plugin-experience-0.219.0.tgz", - "integrity": "sha512-fLSGvRUIRiDzuZW6ahXnSU1lcMHTCbMG04Ii8oerDQzommn9Nga4V+wba8PziFhXM8AklfDxGjkdZdsxTPGtcw==", + "version": "0.220.0", + "resolved": "https://registry.npmjs.org/@taiga-ui/eslint-plugin-experience/-/eslint-plugin-experience-0.220.0.tgz", + "integrity": "sha512-521cFssjz47TQsxONRKk5maGNraXoU7xBHcyL2sP8Ap/X4VqpT9TIw83xarifGaKcPzLivUBNCmhvVJv9Z7Unw==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -10432,9 +10521,9 @@ } }, "node_modules/@taiga-ui/prettier-config": { - "version": "0.219.0", - "resolved": "https://registry.npmjs.org/@taiga-ui/prettier-config/-/prettier-config-0.219.0.tgz", - "integrity": "sha512-BQVW7q/Bj7IVJrj4R12AB/wO8UbLuag1V243EgXBGr7msmlRkajHyVAKx6rMxnfxWKGcCZ/1b25jv4qJx5G3zw==", + "version": "0.220.0", + "resolved": "https://registry.npmjs.org/@taiga-ui/prettier-config/-/prettier-config-0.220.0.tgz", + "integrity": "sha512-pdErj3i1PSlD9pnewYx9binqOSbOals3ftnfWiRvhVhztiwK6GHglesiTpSqdYIe/58wZeXlJxm6peNTMm9wlg==", "dev": true, "license": "Apache-2.0", "peerDependencies": { @@ -10447,9 +10536,9 @@ } }, "node_modules/@taiga-ui/stylelint-config": { - "version": "0.219.0", - "resolved": "https://registry.npmjs.org/@taiga-ui/stylelint-config/-/stylelint-config-0.219.0.tgz", - "integrity": "sha512-Yfaya2lzKuGUaL6P6QAw/PU3D75E7BptpjQtAdtP3a9Xi/JLsEyBPnrxNoo5pr+HGQs9I7FV1jWYUyNgTa4gQw==", + "version": "0.220.0", + "resolved": "https://registry.npmjs.org/@taiga-ui/stylelint-config/-/stylelint-config-0.220.0.tgz", + "integrity": "sha512-oiesrpYH8NvRmScd9YpkwqMRFiXPuL5nyZJWG/j3OYxZPd7EUhbbKaNaCQreYuAcZeMWdhg05VCdyZm67gBfHw==", "dev": true, "license": "Apache-2.0", "peerDependencies": { @@ -10471,9 +10560,9 @@ "link": true }, "node_modules/@taiga-ui/tsconfig": { - "version": "0.219.0", - "resolved": "https://registry.npmjs.org/@taiga-ui/tsconfig/-/tsconfig-0.219.0.tgz", - "integrity": "sha512-8uGtnDKQK8JS6DDZkf/Es3JK/ST8/GwUX6nRaiN/LxTCc8TxpKBHmjiVmLB5TZsjV4nOCbODql4I918fk2dyTg==", + "version": "0.220.0", + "resolved": "https://registry.npmjs.org/@taiga-ui/tsconfig/-/tsconfig-0.220.0.tgz", + "integrity": "sha512-dTCwlVkz2zLKtJ/5cNFuftOH36kATdfpNsucCgrGPb5ZtnVlx1RVCqbHxv1UxfYjlUbDXkwlO3mM/ncEMUJgDw==", "dev": true, "license": "Apache-2.0" }, @@ -10753,14 +10842,14 @@ "license": "MIT" }, "node_modules/@types/express": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/@types/express/-/express-4.17.21.tgz", - "integrity": "sha512-ejlPM315qwLpaQlQDTjPdsUFSc6ZsP4AN6AlWnogPjQ7CVi7PYF3YVz+CY3jE2pwYf7E/7HlDAN0rV2GxTG0HQ==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/@types/express/-/express-5.0.0.tgz", + "integrity": "sha512-DvZriSMehGHL1ZNLzi6MidnsDhUZM/x2pRdDIKdwbUNqqwHxMlRdkxtn6/EPKyqKpHqTl/4nRZsRNLpZxZRpPQ==", "dev": true, "license": "MIT", "dependencies": { "@types/body-parser": "*", - "@types/express-serve-static-core": "^4.17.33", + "@types/express-serve-static-core": "^5.0.0", "@types/qs": "*", "@types/serve-static": "*" } @@ -10778,19 +10867,6 @@ "@types/send": "*" } }, - "node_modules/@types/express/node_modules/@types/express-serve-static-core": { - "version": "4.19.6", - "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.19.6.tgz", - "integrity": "sha512-N4LZ2xG7DatVqhCZzOGb1Yi5lMbXSZcmdLDe9EzSndPV2HpWYWzRbaerl2n27irrm94EPpprqa8KpskPT085+A==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/node": "*", - "@types/qs": "*", - "@types/range-parser": "*", - "@types/send": "*" - } - }, "node_modules/@types/glob": { "version": "8.1.0", "resolved": "https://registry.npmjs.org/@types/glob/-/glob-8.1.0.tgz", @@ -23866,28 +23942,21 @@ } }, "node_modules/http-proxy-middleware": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-2.0.6.tgz", - "integrity": "sha512-ya/UeJ6HVBYxrgYotAZo1KvPWlgB48kUJLDePFeneHsVujFaW5WNj2NgWCAE//B1Dl02BIfYlpNgBy8Kf8Rjmw==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-3.0.2.tgz", + "integrity": "sha512-fBLFpmvDzlxdckwZRjM0wWtwDZ4KBtQ8NFqhrFKoEtK4myzuiumBuNTxD+F4cVbXfOZljIbrynmvByofDzT7Ag==", "dev": true, "license": "MIT", "dependencies": { - "@types/http-proxy": "^1.17.8", + "@types/http-proxy": "^1.17.15", + "debug": "^4.3.6", "http-proxy": "^1.18.1", - "is-glob": "^4.0.1", - "is-plain-obj": "^3.0.0", - "micromatch": "^4.0.2" + "is-glob": "^4.0.3", + "is-plain-object": "^5.0.0", + "micromatch": "^4.0.8" }, "engines": { - "node": ">=12.0.0" - }, - "peerDependencies": { - "@types/express": "^4.17.13" - }, - "peerDependenciesMeta": { - "@types/express": { - "optional": true - } + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, "node_modules/http-server": { @@ -24980,13 +25049,14 @@ } }, "node_modules/is-plain-obj": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-3.0.0.tgz", - "integrity": "sha512-gwsOE28k+23GP1B6vFl1oVh/WOzmawBrKwo5Ev6wMKzPkaXaCDIQKzLnvsA42DRlbVTWorkgTKIviAKCWkfUwA==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz", + "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==", "dev": true, "license": "MIT", + "peer": true, "engines": { - "node": ">=10" + "node": ">=12" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" @@ -36142,20 +36212,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/sort-package-json/node_modules/is-plain-obj": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz", - "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==", - "dev": true, - "license": "MIT", - "peer": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/sort-package-json/node_modules/semver": { "version": "7.6.3", "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", @@ -39644,6 +39700,32 @@ } } }, + "node_modules/webpack-dev-server/node_modules/@types/express": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/@types/express/-/express-4.17.21.tgz", + "integrity": "sha512-ejlPM315qwLpaQlQDTjPdsUFSc6ZsP4AN6AlWnogPjQ7CVi7PYF3YVz+CY3jE2pwYf7E/7HlDAN0rV2GxTG0HQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.33", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, + "node_modules/webpack-dev-server/node_modules/@types/express-serve-static-core": { + "version": "4.19.6", + "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.19.6.tgz", + "integrity": "sha512-N4LZ2xG7DatVqhCZzOGb1Yi5lMbXSZcmdLDe9EzSndPV2HpWYWzRbaerl2n27irrm94EPpprqa8KpskPT085+A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*", + "@types/send": "*" + } + }, "node_modules/webpack-dev-server/node_modules/connect-history-api-fallback": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/connect-history-api-fallback/-/connect-history-api-fallback-2.0.0.tgz", @@ -39654,6 +39736,31 @@ "node": ">=0.8" } }, + "node_modules/webpack-dev-server/node_modules/http-proxy-middleware": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-2.0.6.tgz", + "integrity": "sha512-ya/UeJ6HVBYxrgYotAZo1KvPWlgB48kUJLDePFeneHsVujFaW5WNj2NgWCAE//B1Dl02BIfYlpNgBy8Kf8Rjmw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/http-proxy": "^1.17.8", + "http-proxy": "^1.18.1", + "is-glob": "^4.0.1", + "is-plain-obj": "^3.0.0", + "micromatch": "^4.0.2" + }, + "engines": { + "node": ">=12.0.0" + }, + "peerDependencies": { + "@types/express": "^4.17.13" + }, + "peerDependenciesMeta": { + "@types/express": { + "optional": true + } + } + }, "node_modules/webpack-dev-server/node_modules/ipaddr.js": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-2.2.0.tgz", @@ -39664,6 +39771,19 @@ "node": ">= 10" } }, + "node_modules/webpack-dev-server/node_modules/is-plain-obj": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-3.0.0.tgz", + "integrity": "sha512-gwsOE28k+23GP1B6vFl1oVh/WOzmawBrKwo5Ev6wMKzPkaXaCDIQKzLnvsA42DRlbVTWorkgTKIviAKCWkfUwA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/webpack-dev-server/node_modules/webpack-dev-middleware": { "version": "5.3.4", "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-5.3.4.tgz", @@ -40542,17 +40662,6 @@ "@playwright/test": "1.47.2" } }, - "projects/demo/node_modules/@types/express": { - "version": "5.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/body-parser": "*", - "@types/express-serve-static-core": "^5.0.0", - "@types/qs": "*", - "@types/serve-static": "*" - } - }, "projects/experimental": { "name": "@taiga-ui/experimental", "version": "4.8.1", diff --git a/package.json b/package.json index a6a216b84b9c..fc6fd2056652 100644 --- a/package.json +++ b/package.json @@ -136,15 +136,15 @@ "@nx/jest": "19.8.2", "@nx/workspace": "19.8.2", "@schematics/angular": "16.2.16", - "@taiga-ui/browserslist-config": "0.219.0", - "@taiga-ui/commitlint-config": "0.219.0", - "@taiga-ui/cspell-config": "0.219.0", + "@taiga-ui/browserslist-config": "0.220.0", + "@taiga-ui/commitlint-config": "0.220.0", + "@taiga-ui/cspell-config": "0.220.0", "@taiga-ui/design-tokens": "0.139.0", - "@taiga-ui/eslint-plugin-experience": "0.219.0", + "@taiga-ui/eslint-plugin-experience": "0.220.0", "@taiga-ui/event-plugins": "4.2.4", - "@taiga-ui/prettier-config": "0.219.0", - "@taiga-ui/stylelint-config": "0.219.0", - "@taiga-ui/tsconfig": "0.219.0", + "@taiga-ui/prettier-config": "0.220.0", + "@taiga-ui/stylelint-config": "0.220.0", + "@taiga-ui/tsconfig": "0.220.0", "@types/glob": "8.1.0", "@types/loader-utils": "2.0.6", "@types/node": "22.7.4", diff --git a/projects/addon-charts/components/arc-chart/arc-chart.component.ts b/projects/addon-charts/components/arc-chart/arc-chart.component.ts index 6c6cffce785b..f2275add50c2 100644 --- a/projects/addon-charts/components/arc-chart/arc-chart.component.ts +++ b/projects/addon-charts/components/arc-chart/arc-chart.component.ts @@ -1,9 +1,10 @@ -import {type ElementRef, type QueryList, signal} from '@angular/core'; +import type {ElementRef, QueryList} from '@angular/core'; import { ChangeDetectionStrategy, Component, Input, Output, + signal, ViewChildren, } from '@angular/core'; import {takeUntilDestroyed} from '@angular/core/rxjs-interop'; diff --git a/projects/addon-charts/components/line-chart/line-chart.component.ts b/projects/addon-charts/components/line-chart/line-chart.component.ts index b77f32eb3c50..a9b159a30c66 100644 --- a/projects/addon-charts/components/line-chart/line-chart.component.ts +++ b/projects/addon-charts/components/line-chart/line-chart.component.ts @@ -1,11 +1,13 @@ import {AsyncPipe, NgForOf, NgIf} from '@angular/common'; -import {computed, type OnChanges, type QueryList, signal} from '@angular/core'; +import type {OnChanges, QueryList} from '@angular/core'; import { ChangeDetectionStrategy, Component, + computed, inject, Input, NgZone, + signal, ViewChildren, } from '@angular/core'; import {toSignal} from '@angular/core/rxjs-interop'; @@ -26,8 +28,8 @@ import { } from '@taiga-ui/core/directives/hint'; import type {TuiPoint} from '@taiga-ui/core/types'; import type {PolymorpheusContent} from '@taiga-ui/polymorpheus'; -import {map, type Observable} from 'rxjs'; -import {distinctUntilChanged, Subject} from 'rxjs'; +import type {Observable} from 'rxjs'; +import {distinctUntilChanged, map, Subject} from 'rxjs'; import {TUI_LINE_CHART_OPTIONS} from './line-chart.options'; import {TuiLineChartHint} from './line-chart-hint.directive'; diff --git a/projects/addon-commerce/components/input-card/input-card.component.ts b/projects/addon-commerce/components/input-card/input-card.component.ts index f8e2bcd9ca53..97ad5e5ec954 100644 --- a/projects/addon-commerce/components/input-card/input-card.component.ts +++ b/projects/addon-commerce/components/input-card/input-card.component.ts @@ -1,10 +1,10 @@ +import type {OnInit} from '@angular/core'; import { ChangeDetectionStrategy, Component, computed, inject, Input, - type OnInit, Output, ViewEncapsulation, } from '@angular/core'; diff --git a/projects/addon-doc/components/api/api-item.component.ts b/projects/addon-doc/components/api/api-item.component.ts index c88011668237..7838ce591cac 100644 --- a/projects/addon-doc/components/api/api-item.component.ts +++ b/projects/addon-doc/components/api/api-item.component.ts @@ -1,15 +1,16 @@ import {Location, NgForOf, NgIf, NgSwitch, NgSwitchCase} from '@angular/common'; +import type {OnInit} from '@angular/core'; import { ChangeDetectionStrategy, Component, EventEmitter, inject, Input, - type OnInit, Output, } from '@angular/core'; import {FormsModule} from '@angular/forms'; -import {ActivatedRoute, type Params, UrlSerializer} from '@angular/router'; +import type {Params} from '@angular/router'; +import {ActivatedRoute, UrlSerializer} from '@angular/router'; import {TUI_DOC_URL_STATE_HANDLER} from '@taiga-ui/addon-doc/tokens'; import {tuiCoerceValue} from '@taiga-ui/addon-doc/utils'; import {tuiIsNumber} from '@taiga-ui/cdk/utils/miscellaneous'; diff --git a/projects/addon-doc/components/code/tests/highlight.spec.ts b/projects/addon-doc/components/code/tests/highlight.spec.ts index ff615bb5cea4..662babefa2cd 100644 --- a/projects/addon-doc/components/code/tests/highlight.spec.ts +++ b/projects/addon-doc/components/code/tests/highlight.spec.ts @@ -1,5 +1,5 @@ -import {ChangeDetectionStrategy, type DebugElement, signal} from '@angular/core'; -import {Component, Input} from '@angular/core'; +import type {DebugElement} from '@angular/core'; +import {ChangeDetectionStrategy, Component, Input, signal} from '@angular/core'; import type {ComponentFixture} from '@angular/core/testing'; import {fakeAsync, TestBed, tick, waitForAsync} from '@angular/core/testing'; import {By} from '@angular/platform-browser'; diff --git a/projects/addon-doc/components/demo/index.ts b/projects/addon-doc/components/demo/index.ts index 465435f721ad..2469774c71fc 100644 --- a/projects/addon-doc/components/demo/index.ts +++ b/projects/addon-doc/components/demo/index.ts @@ -1,13 +1,12 @@ import {JsonPipe, Location, NgIf, NgTemplateOutlet} from '@angular/common'; +import type {ElementRef, OnInit} from '@angular/core'; import { ChangeDetectionStrategy, Component, computed, ContentChild, - type ElementRef, inject, Input, - type OnInit, signal, TemplateRef, ViewChild, diff --git a/projects/addon-mobile/components/mobile-dialog/test/mobile-dialog.component.spec.ts b/projects/addon-mobile/components/mobile-dialog/test/mobile-dialog.component.spec.ts index 4ba099333fae..490fdd06b2dc 100644 --- a/projects/addon-mobile/components/mobile-dialog/test/mobile-dialog.component.spec.ts +++ b/projects/addon-mobile/components/mobile-dialog/test/mobile-dialog.component.spec.ts @@ -1,5 +1,5 @@ -import {ChangeDetectionStrategy, type DebugElement} from '@angular/core'; -import {Component} from '@angular/core'; +import type {DebugElement} from '@angular/core'; +import {ChangeDetectionStrategy, Component} from '@angular/core'; import type {ComponentFixture} from '@angular/core/testing'; import {TestBed} from '@angular/core/testing'; import { diff --git a/projects/cdk/directives/repeat-times/test/repeat-times.directive.spec.ts b/projects/cdk/directives/repeat-times/test/repeat-times.directive.spec.ts index ae852155df4c..a07d16593000 100644 --- a/projects/cdk/directives/repeat-times/test/repeat-times.directive.spec.ts +++ b/projects/cdk/directives/repeat-times/test/repeat-times.directive.spec.ts @@ -1,5 +1,5 @@ -import {ChangeDetectionStrategy, type DebugElement} from '@angular/core'; -import {Component} from '@angular/core'; +import type {DebugElement} from '@angular/core'; +import {ChangeDetectionStrategy, Component} from '@angular/core'; import type {ComponentFixture} from '@angular/core/testing'; import {TestBed} from '@angular/core/testing'; import {By} from '@angular/platform-browser'; diff --git a/projects/cdk/observables/zone.ts b/projects/cdk/observables/zone.ts index 6f6637a89173..fbb0a9919b05 100644 --- a/projects/cdk/observables/zone.ts +++ b/projects/cdk/observables/zone.ts @@ -1,11 +1,6 @@ import {inject, NgZone} from '@angular/core'; -import { - asyncScheduler, - type MonoTypeOperatorFunction, - type SchedulerLike, - type Subscription, -} from 'rxjs'; -import {Observable, pipe} from 'rxjs'; +import type {MonoTypeOperatorFunction, SchedulerLike, Subscription} from 'rxjs'; +import {asyncScheduler, Observable, pipe} from 'rxjs'; export function tuiZonefull(zone = inject(NgZone)): MonoTypeOperatorFunction { return (source) => diff --git a/projects/cdk/pipes/repeat-times/index.ts b/projects/cdk/pipes/repeat-times/index.ts index 7023a8d4cd82..14753b188ea1 100644 --- a/projects/cdk/pipes/repeat-times/index.ts +++ b/projects/cdk/pipes/repeat-times/index.ts @@ -1,4 +1,5 @@ -import {Pipe, type PipeTransform} from '@angular/core'; +import type {PipeTransform} from '@angular/core'; +import {Pipe} from '@angular/core'; import {tuiClamp} from '@taiga-ui/cdk/utils'; @Pipe({ diff --git a/projects/cdk/schematics/ng-update/v4/steps/migrate-editor.ts b/projects/cdk/schematics/ng-update/v4/steps/migrate-editor.ts index e6f3aecbc0f8..e81cbecee883 100644 --- a/projects/cdk/schematics/ng-update/v4/steps/migrate-editor.ts +++ b/projects/cdk/schematics/ng-update/v4/steps/migrate-editor.ts @@ -1,6 +1,6 @@ /// -import {type DevkitFileSystem, getPackageJsonDependency} from 'ng-morph'; -import {getSourceFiles, saveActiveProject} from 'ng-morph'; +import type {DevkitFileSystem} from 'ng-morph'; +import {getPackageJsonDependency, getSourceFiles, saveActiveProject} from 'ng-morph'; import {ALL_TS_FILES} from '../../../constants/file-globs'; import type {TuiSchema} from '../../../ng-add/schema'; diff --git a/projects/cdk/schematics/ng-update/v4/steps/migrate-root.ts b/projects/cdk/schematics/ng-update/v4/steps/migrate-root.ts index c3652a9382c1..4abe495ba974 100644 --- a/projects/cdk/schematics/ng-update/v4/steps/migrate-root.ts +++ b/projects/cdk/schematics/ng-update/v4/steps/migrate-root.ts @@ -1,6 +1,6 @@ +import type {DevkitFileSystem} from 'ng-morph'; import { addProviderToNgModule, - type DevkitFileSystem, getActiveProject, getNgModules, getPackageJsonDependency, diff --git a/projects/core/components/button/test/button.directive.spec.ts b/projects/core/components/button/test/button.directive.spec.ts index b575f24ea623..f92b7c9593b9 100644 --- a/projects/core/components/button/test/button.directive.spec.ts +++ b/projects/core/components/button/test/button.directive.spec.ts @@ -1,7 +1,8 @@ import type {HarnessLoader} from '@angular/cdk/testing'; import {TestbedHarnessEnvironment} from '@angular/cdk/testing/testbed'; import {ChangeDetectionStrategy, Component} from '@angular/core'; -import {type ComponentFixture, TestBed} from '@angular/core/testing'; +import type {ComponentFixture} from '@angular/core/testing'; +import {TestBed} from '@angular/core/testing'; import {TuiButtonHarness} from '@taiga-ui/testing'; import {TuiButton} from '../button.directive'; diff --git a/projects/core/components/calendar/test/calendar-sheet.component.spec.ts b/projects/core/components/calendar/test/calendar-sheet.component.spec.ts index 3424a3ebde4a..822b42fca4fe 100644 --- a/projects/core/components/calendar/test/calendar-sheet.component.spec.ts +++ b/projects/core/components/calendar/test/calendar-sheet.component.spec.ts @@ -1,5 +1,5 @@ -import {ChangeDetectionStrategy, type DebugElement} from '@angular/core'; -import {Component, ViewChild} from '@angular/core'; +import type {DebugElement} from '@angular/core'; +import {ChangeDetectionStrategy, Component, ViewChild} from '@angular/core'; import type {ComponentFixture} from '@angular/core/testing'; import {TestBed} from '@angular/core/testing'; import {By} from '@angular/platform-browser'; diff --git a/projects/core/components/data-list/data-list.component.ts b/projects/core/components/data-list/data-list.component.ts index 5c8ba2480d2e..50a10fedfdc8 100644 --- a/projects/core/components/data-list/data-list.component.ts +++ b/projects/core/components/data-list/data-list.component.ts @@ -1,7 +1,8 @@ import {NgIf} from '@angular/common'; -import {type AfterContentChecked, ChangeDetectorRef, type QueryList} from '@angular/core'; +import type {AfterContentChecked, QueryList} from '@angular/core'; import { ChangeDetectionStrategy, + ChangeDetectorRef, Component, ContentChildren, DestroyRef, diff --git a/projects/core/components/dialog/dialog.component.ts b/projects/core/components/dialog/dialog.component.ts index ed720662d1fe..bbe61f975c5b 100644 --- a/projects/core/components/dialog/dialog.component.ts +++ b/projects/core/components/dialog/dialog.component.ts @@ -13,11 +13,8 @@ import { TUI_COMMON_ICONS, } from '@taiga-ui/core/tokens'; import {tuiGetDuration} from '@taiga-ui/core/utils'; -import { - injectContext, - type PolymorpheusContent, - PolymorpheusOutlet, -} from '@taiga-ui/polymorpheus'; +import type {PolymorpheusContent} from '@taiga-ui/polymorpheus'; +import {injectContext, PolymorpheusOutlet} from '@taiga-ui/polymorpheus'; import type {Observable} from 'rxjs'; import {filter, isObservable, map, merge, of, Subject, switchMap} from 'rxjs'; diff --git a/projects/core/components/dialog/dialogs.component.ts b/projects/core/components/dialog/dialogs.component.ts index d121ab1a5d03..f0be853c2f91 100644 --- a/projects/core/components/dialog/dialogs.component.ts +++ b/projects/core/components/dialog/dialogs.component.ts @@ -1,5 +1,6 @@ import {NgForOf} from '@angular/common'; -import {ChangeDetectionStrategy, Component, inject, type Signal} from '@angular/core'; +import type {Signal} from '@angular/core'; +import {ChangeDetectionStrategy, Component, inject} from '@angular/core'; import {toSignal} from '@angular/core/rxjs-interop'; import {TuiFocusTrap} from '@taiga-ui/cdk/directives/focus-trap'; import type {TuiPopover} from '@taiga-ui/cdk/services'; diff --git a/projects/core/components/link/test/link.directive.spec.ts b/projects/core/components/link/test/link.directive.spec.ts index 8e42bd31fa47..31eabab06cc9 100644 --- a/projects/core/components/link/test/link.directive.spec.ts +++ b/projects/core/components/link/test/link.directive.spec.ts @@ -1,7 +1,8 @@ import type {HarnessLoader} from '@angular/cdk/testing'; import {TestbedHarnessEnvironment} from '@angular/cdk/testing/testbed'; import {ChangeDetectionStrategy, Component} from '@angular/core'; -import {type ComponentFixture, TestBed} from '@angular/core/testing'; +import type {ComponentFixture} from '@angular/core/testing'; +import {TestBed} from '@angular/core/testing'; import {TuiLinkHarness} from '@taiga-ui/testing'; import {TuiLink} from '../link.directive'; diff --git a/projects/core/components/textfield/textfield.directive.ts b/projects/core/components/textfield/textfield.directive.ts index 175b0ffc72ee..e595c909e918 100644 --- a/projects/core/components/textfield/textfield.directive.ts +++ b/projects/core/components/textfield/textfield.directive.ts @@ -1,4 +1,5 @@ -import {computed, Directive, inject, Input, type OnChanges, signal} from '@angular/core'; +import type {OnChanges} from '@angular/core'; +import {computed, Directive, inject, Input, signal} from '@angular/core'; import {toSignal} from '@angular/core/rxjs-interop'; import {TuiNativeValidator} from '@taiga-ui/cdk/directives/native-validator'; import {tuiInjectElement} from '@taiga-ui/cdk/utils/dom'; diff --git a/projects/core/directives/appearance/appearance.directive.ts b/projects/core/directives/appearance/appearance.directive.ts index 140f8b1b3e3a..b9100853d8d4 100644 --- a/projects/core/directives/appearance/appearance.directive.ts +++ b/projects/core/directives/appearance/appearance.directive.ts @@ -13,7 +13,8 @@ import {tuiInjectElement} from '@taiga-ui/cdk/utils/dom'; import {tuiIsString, tuiWithStyles} from '@taiga-ui/cdk/utils/miscellaneous'; import type {TuiInteractiveState} from '@taiga-ui/core/types'; -import {TUI_APPEARANCE_OPTIONS, type TuiAppearanceOptions} from './appearance.options'; +import type {TuiAppearanceOptions} from './appearance.options'; +import {TUI_APPEARANCE_OPTIONS} from './appearance.options'; @Component({ standalone: true, diff --git a/projects/core/directives/dropdown/dropdown-options.directive.ts b/projects/core/directives/dropdown/dropdown-options.directive.ts index 960131c2abaa..8e86bce1bdbe 100644 --- a/projects/core/directives/dropdown/dropdown-options.directive.ts +++ b/projects/core/directives/dropdown/dropdown-options.directive.ts @@ -1,5 +1,5 @@ -import {type FactoryProvider, Self} from '@angular/core'; -import {Directive, inject, Input, Optional, SkipSelf} from '@angular/core'; +import type {FactoryProvider} from '@angular/core'; +import {Directive, inject, Input, Optional, Self, SkipSelf} from '@angular/core'; import {tuiCreateToken, tuiProvide} from '@taiga-ui/cdk/utils/miscellaneous'; import type {TuiVerticalDirection} from '@taiga-ui/core/types'; import {tuiOverrideOptions} from '@taiga-ui/core/utils'; diff --git a/projects/core/directives/dropdown/test/dropdown.directive.spec.ts b/projects/core/directives/dropdown/test/dropdown.directive.spec.ts index e3e55dad754d..f68a70232a2f 100644 --- a/projects/core/directives/dropdown/test/dropdown.directive.spec.ts +++ b/projects/core/directives/dropdown/test/dropdown.directive.spec.ts @@ -1,5 +1,5 @@ -import {ChangeDetectionStrategy, type ElementRef} from '@angular/core'; -import {Component} from '@angular/core'; +import type {ElementRef} from '@angular/core'; +import {ChangeDetectionStrategy, Component} from '@angular/core'; import type {ComponentFixture} from '@angular/core/testing'; import {TestBed} from '@angular/core/testing'; import {TuiDropdownDirective, TuiDropdownManual, TuiRoot} from '@taiga-ui/core'; diff --git a/projects/core/directives/hint/hint-options.directive.ts b/projects/core/directives/hint/hint-options.directive.ts index d2072a30ef18..ce7594a4113d 100644 --- a/projects/core/directives/hint/hint-options.directive.ts +++ b/projects/core/directives/hint/hint-options.directive.ts @@ -1,5 +1,5 @@ -import {type FactoryProvider, type OnChanges, Self} from '@angular/core'; -import {Directive, inject, Input, Optional, SkipSelf} from '@angular/core'; +import type {FactoryProvider, OnChanges} from '@angular/core'; +import {Directive, inject, Input, Optional, Self, SkipSelf} from '@angular/core'; import {tuiCreateToken, tuiProvide} from '@taiga-ui/cdk/utils/miscellaneous'; import {tuiOverrideOptions} from '@taiga-ui/core/utils'; import type {PolymorpheusContent} from '@taiga-ui/polymorpheus'; diff --git a/projects/core/directives/hint/hint.component.ts b/projects/core/directives/hint/hint.component.ts index f3fb27e95a4e..21a5d801d9d6 100644 --- a/projects/core/directives/hint/hint.component.ts +++ b/projects/core/directives/hint/hint.component.ts @@ -15,8 +15,8 @@ import { import {TuiPositionService, TuiVisualViewportService} from '@taiga-ui/core/services'; import {TUI_ANIMATIONS_SPEED, TUI_VIEWPORT} from '@taiga-ui/core/tokens'; import {tuiIsObscured, tuiToAnimationOptions} from '@taiga-ui/core/utils'; -import {injectContext, type PolymorpheusContent} from '@taiga-ui/polymorpheus'; -import {PolymorpheusOutlet} from '@taiga-ui/polymorpheus'; +import type {PolymorpheusContent} from '@taiga-ui/polymorpheus'; +import {injectContext, PolymorpheusOutlet} from '@taiga-ui/polymorpheus'; import {map, takeWhile} from 'rxjs'; import {TuiHintDirective} from './hint.directive'; diff --git a/projects/core/directives/hint/test/hint.directive.spec.ts b/projects/core/directives/hint/test/hint.directive.spec.ts index f7da5b42acdc..8be18f6060b1 100644 --- a/projects/core/directives/hint/test/hint.directive.spec.ts +++ b/projects/core/directives/hint/test/hint.directive.spec.ts @@ -1,5 +1,5 @@ -import {ChangeDetectionStrategy, type TemplateRef} from '@angular/core'; -import {Component} from '@angular/core'; +import type {TemplateRef} from '@angular/core'; +import {ChangeDetectionStrategy, Component} from '@angular/core'; import type {ComponentFixture} from '@angular/core/testing'; import {discardPeriodicTasks, fakeAsync, TestBed, tick} from '@angular/core/testing'; import {TuiHint, TuiRoot} from '@taiga-ui/core'; diff --git a/projects/core/tokens/dark-mode.ts b/projects/core/tokens/dark-mode.ts index bb48e8295f93..10adc39d8d0a 100644 --- a/projects/core/tokens/dark-mode.ts +++ b/projects/core/tokens/dark-mode.ts @@ -1,4 +1,5 @@ -import {effect, inject, signal, type WritableSignal} from '@angular/core'; +import type {WritableSignal} from '@angular/core'; +import {effect, inject, signal} from '@angular/core'; import {takeUntilDestroyed} from '@angular/core/rxjs-interop'; import {WA_LOCAL_STORAGE, WA_WINDOW} from '@ng-web-apis/common'; import { diff --git a/projects/core/utils/format/format-number.ts b/projects/core/utils/format/format-number.ts index b4f3e7a29608..77a3acfeaa6f 100644 --- a/projects/core/utils/format/format-number.ts +++ b/projects/core/utils/format/format-number.ts @@ -1,9 +1,7 @@ import {CHAR_HYPHEN} from '@taiga-ui/cdk/constants'; import {tuiRoundWith} from '@taiga-ui/cdk/utils/math'; -import { - TUI_DEFAULT_NUMBER_FORMAT, - type TuiNumberFormatSettings, -} from '@taiga-ui/core/tokens'; +import type {TuiNumberFormatSettings} from '@taiga-ui/core/tokens'; +import {TUI_DEFAULT_NUMBER_FORMAT} from '@taiga-ui/core/tokens'; import {tuiGetFractionPartPadded} from './get-fractional-part-padded'; diff --git a/projects/demo-cypress/src/tests/input-phone-international.cy.ts b/projects/demo-cypress/src/tests/input-phone-international.cy.ts index dbf4a6ecba42..ca28b5258d85 100644 --- a/projects/demo-cypress/src/tests/input-phone-international.cy.ts +++ b/projects/demo-cypress/src/tests/input-phone-international.cy.ts @@ -1,5 +1,13 @@ -import {ChangeDetectionStrategy, type OnInit} from '@angular/core'; -import {Component, DestroyRef, EventEmitter, inject, Input, Output} from '@angular/core'; +import type {OnInit} from '@angular/core'; +import { + ChangeDetectionStrategy, + Component, + DestroyRef, + EventEmitter, + inject, + Input, + Output, +} from '@angular/core'; import {takeUntilDestroyed} from '@angular/core/rxjs-interop'; import {FormControl, ReactiveFormsModule} from '@angular/forms'; import {provideAnimations} from '@angular/platform-browser/animations'; diff --git a/projects/demo-playwright/tests/core/textfield/textfield.spec.ts b/projects/demo-playwright/tests/core/textfield/textfield.spec.ts index ac7a6d1c1b5b..aa39670af07d 100644 --- a/projects/demo-playwright/tests/core/textfield/textfield.spec.ts +++ b/projects/demo-playwright/tests/core/textfield/textfield.spec.ts @@ -1,6 +1,7 @@ import {DemoRoute} from '@demo/routes'; import {TuiDocumentationPagePO, tuiGoto} from '@demo-playwright/utils'; -import {expect, type Locator, test} from '@playwright/test'; +import type {Locator} from '@playwright/test'; +import {expect, test} from '@playwright/test'; test.describe('Textfield', () => { test.describe('interactivity on hover', () => { diff --git a/projects/demo-playwright/tests/kit/calendar-range/calendar-range.spec.ts b/projects/demo-playwright/tests/kit/calendar-range/calendar-range.spec.ts index f72b2b67f987..33e80a1f6cb5 100644 --- a/projects/demo-playwright/tests/kit/calendar-range/calendar-range.spec.ts +++ b/projects/demo-playwright/tests/kit/calendar-range/calendar-range.spec.ts @@ -4,7 +4,8 @@ import { TuiDocumentationPagePO, tuiGoto, } from '@demo-playwright/utils'; -import {expect, type Locator, test} from '@playwright/test'; +import type {Locator} from '@playwright/test'; +import {expect, test} from '@playwright/test'; test.describe('CalendarRange', () => { let example!: Locator; diff --git a/projects/demo-playwright/tests/kit/input-phone-international/input-phone-international.spec.ts b/projects/demo-playwright/tests/kit/input-phone-international/input-phone-international.spec.ts index 6357c54b4450..20aefaef2602 100644 --- a/projects/demo-playwright/tests/kit/input-phone-international/input-phone-international.spec.ts +++ b/projects/demo-playwright/tests/kit/input-phone-international/input-phone-international.spec.ts @@ -1,7 +1,7 @@ import {DemoRoute} from '@demo/routes'; import {TuiDocumentationPagePO, tuiGoto} from '@demo-playwright/utils'; -import {expect, type Locator} from '@playwright/test'; -import {test} from '@playwright/test'; +import type {Locator} from '@playwright/test'; +import {expect, test} from '@playwright/test'; test.describe('InputPhoneInternational', () => { test.describe('API page', () => { diff --git a/projects/demo-playwright/utils/page-objects/calendar-range.po.ts b/projects/demo-playwright/utils/page-objects/calendar-range.po.ts index ed0fbe636942..e3be75cf15af 100644 --- a/projects/demo-playwright/utils/page-objects/calendar-range.po.ts +++ b/projects/demo-playwright/utils/page-objects/calendar-range.po.ts @@ -1,4 +1,5 @@ -import {expect, type Locator} from '@playwright/test'; +import type {Locator} from '@playwright/test'; +import {expect} from '@playwright/test'; export class TuiCalendarRangePO { constructor(private readonly host: Locator) {} diff --git a/projects/demo/src/components/appearance/index.ts b/projects/demo/src/components/appearance/index.ts index 6c5c976694d9..b7f0103cad42 100644 --- a/projects/demo/src/components/appearance/index.ts +++ b/projects/demo/src/components/appearance/index.ts @@ -4,12 +4,8 @@ import {RouterLink} from '@angular/router'; import {DemoRoute} from '@demo/routes'; import {TuiDocAPIItem} from '@taiga-ui/addon-doc'; import type {TuiLooseUnion} from '@taiga-ui/cdk'; -import { - type TuiAppearanceOptions, - type TuiInteractiveState, - TuiLink, - TuiTitle, -} from '@taiga-ui/core'; +import type {TuiAppearanceOptions, TuiInteractiveState} from '@taiga-ui/core'; +import {TuiLink, TuiTitle} from '@taiga-ui/core'; @Component({ standalone: true, diff --git a/projects/demo/src/components/dropdown/index.ts b/projects/demo/src/components/dropdown/index.ts index d49e9f53d750..8b83da6f7515 100644 --- a/projects/demo/src/components/dropdown/index.ts +++ b/projects/demo/src/components/dropdown/index.ts @@ -4,16 +4,13 @@ import {RouterLink} from '@angular/router'; import {DemoRoute} from '@demo/routes'; import {TuiDocAPIItem} from '@taiga-ui/addon-doc'; import type {TuiLooseUnion} from '@taiga-ui/cdk'; -import { - TUI_DROPDOWN_OPTIONS, - TuiDropdown, - type TuiDropdownAlign, - type TuiDropdownOptions, - type TuiDropdownWidth, - TuiLink, - TuiTitle, - type TuiVerticalDirection, +import type { + TuiDropdownAlign, + TuiDropdownOptions, + TuiDropdownWidth, + TuiVerticalDirection, } from '@taiga-ui/core'; +import {TUI_DROPDOWN_OPTIONS, TuiDropdown, TuiLink, TuiTitle} from '@taiga-ui/core'; @Component({ standalone: true, diff --git a/projects/demo/src/modules/app/abstract.app.ts b/projects/demo/src/modules/app/abstract.app.ts index 1c6e0ca9d780..4edf1027cfb8 100644 --- a/projects/demo/src/modules/app/abstract.app.ts +++ b/projects/demo/src/modules/app/abstract.app.ts @@ -5,7 +5,8 @@ import type {Router} from '@angular/router'; import {ResizeObserverService} from '@ng-web-apis/resize-observer'; import {TUI_DOC_PAGE_LOADED} from '@taiga-ui/addon-doc'; import {tuiInjectElement, tuiPure, tuiZonefreeScheduler} from '@taiga-ui/cdk'; -import {debounceTime, map, type Observable, startWith} from 'rxjs'; +import type {Observable} from 'rxjs'; +import {debounceTime, map, startWith} from 'rxjs'; export const DEMO_PAGE_LOADED_PROVIDER = { provide: TUI_DOC_PAGE_LOADED, diff --git a/projects/demo/src/modules/app/app.config.ts b/projects/demo/src/modules/app/app.config.ts index 127ea72f43cf..e58617227b6f 100644 --- a/projects/demo/src/modules/app/app.config.ts +++ b/projects/demo/src/modules/app/app.config.ts @@ -6,6 +6,7 @@ import type {UrlTree} from '@angular/router'; import {provideRouter, withInMemoryScrolling} from '@angular/router'; import {environment} from '@demo/environments/environment'; import {WA_SESSION_STORAGE} from '@ng-web-apis/common'; +import type {TuiDocSourceCodePathOptions} from '@taiga-ui/addon-doc'; import { TUI_DOC_CODE_EDITOR, TUI_DOC_DEFAULT_TABS, @@ -20,7 +21,6 @@ import { TUI_DOC_TYPE_REFERENCE_HANDLER, TUI_DOC_URL_STATE_HANDLER, tuiDocExampleOptionsProvider, - type TuiDocSourceCodePathOptions, tuiSortPages, } from '@taiga-ui/addon-doc'; import {TUI_IS_E2E, TUI_IS_PLAYWRIGHT, TUI_PLATFORM} from '@taiga-ui/cdk'; diff --git a/projects/demo/src/modules/components/app-bar/examples/4/index.ts b/projects/demo/src/modules/components/app-bar/examples/4/index.ts index 5e740b329c0d..8f9f9f062bdb 100644 --- a/projects/demo/src/modules/components/app-bar/examples/4/index.ts +++ b/projects/demo/src/modules/components/app-bar/examples/4/index.ts @@ -1,4 +1,5 @@ -import {Component, inject, type TemplateRef} from '@angular/core'; +import type {TemplateRef} from '@angular/core'; +import {Component, inject} from '@angular/core'; import {changeDetection} from '@demo/emulate/change-detection'; import {encapsulation} from '@demo/emulate/encapsulation'; import {TuiAppearance, TuiButton, TuiDialogService, TuiTitle} from '@taiga-ui/core'; diff --git a/projects/demo/src/modules/components/block/index.ts b/projects/demo/src/modules/components/block/index.ts index ed791805f9f4..5a83b10e2ae1 100644 --- a/projects/demo/src/modules/components/block/index.ts +++ b/projects/demo/src/modules/components/block/index.ts @@ -4,7 +4,8 @@ import {TuiDocAppearance} from '@demo/components/appearance'; import {TuiDocIcons} from '@demo/components/icons'; import {changeDetection} from '@demo/emulate/change-detection'; import {TuiDemo} from '@demo/utils'; -import {type TuiSizeL, type TuiSizeS, TuiTitle} from '@taiga-ui/core'; +import type {TuiSizeL, TuiSizeS} from '@taiga-ui/core'; +import {TuiTitle} from '@taiga-ui/core'; import {TuiBlock, TuiSwitch} from '@taiga-ui/kit'; @Component({ diff --git a/projects/demo/src/modules/components/data-list/index.ts b/projects/demo/src/modules/components/data-list/index.ts index 34abf3c6052f..b4733cd766e3 100644 --- a/projects/demo/src/modules/components/data-list/index.ts +++ b/projects/demo/src/modules/components/data-list/index.ts @@ -2,7 +2,8 @@ import {Component, inject} from '@angular/core'; import {changeDetection} from '@demo/emulate/change-detection'; import {TuiDemo} from '@demo/utils'; import {TUI_IS_E2E} from '@taiga-ui/cdk'; -import {TuiDataList, type TuiSizeL, type TuiSizeS} from '@taiga-ui/core'; +import type {TuiSizeL, TuiSizeS} from '@taiga-ui/core'; +import {TuiDataList} from '@taiga-ui/core'; import {delay, of} from 'rxjs'; @Component({ diff --git a/projects/demo/src/modules/components/pdf-viewer/examples/2/actions-content/index.ts b/projects/demo/src/modules/components/pdf-viewer/examples/2/actions-content/index.ts index b0a450524d15..93e66b7fe9e0 100644 --- a/projects/demo/src/modules/components/pdf-viewer/examples/2/actions-content/index.ts +++ b/projects/demo/src/modules/components/pdf-viewer/examples/2/actions-content/index.ts @@ -5,7 +5,7 @@ import {TuiButton} from '@taiga-ui/core'; import type {TuiPdfViewerOptions} from '@taiga-ui/kit'; import {injectContext} from '@taiga-ui/polymorpheus'; -import type {Buttons} from '../index'; +import type {Buttons} from '..'; @Component({ standalone: true, diff --git a/projects/demo/src/modules/components/select/examples/7/index.ts b/projects/demo/src/modules/components/select/examples/7/index.ts index 3b6bd2181be4..ad1817565511 100644 --- a/projects/demo/src/modules/components/select/examples/7/index.ts +++ b/projects/demo/src/modules/components/select/examples/7/index.ts @@ -5,8 +5,8 @@ import {changeDetection} from '@demo/emulate/change-detection'; import {encapsulation} from '@demo/emulate/encapsulation'; import type {TuiStringHandler} from '@taiga-ui/cdk'; import {EMPTY_ARRAY} from '@taiga-ui/cdk'; -import {TuiButton, type TuiValueContentContext} from '@taiga-ui/core'; -import {TuiDataList, TuiTitle} from '@taiga-ui/core'; +import type {TuiValueContentContext} from '@taiga-ui/core'; +import {TuiButton, TuiDataList, TuiTitle} from '@taiga-ui/core'; import {TuiMultiSelectModule, TuiSelectModule} from '@taiga-ui/legacy'; interface Account { diff --git a/projects/demo/src/modules/components/tabs/examples/8/index.ts b/projects/demo/src/modules/components/tabs/examples/8/index.ts index 00bfe6d94f78..1775e902c294 100644 --- a/projects/demo/src/modules/components/tabs/examples/8/index.ts +++ b/projects/demo/src/modules/components/tabs/examples/8/index.ts @@ -1,6 +1,7 @@ import {NgForOf} from '@angular/common'; import {ChangeDetectionStrategy, Component} from '@angular/core'; -import {RouterLink, RouterLinkActive, RouterOutlet, type Routes} from '@angular/router'; +import type {Routes} from '@angular/router'; +import {RouterLink, RouterLinkActive, RouterOutlet} from '@angular/router'; import {changeDetection} from '@demo/emulate/change-detection'; import {encapsulation} from '@demo/emulate/encapsulation'; import {TuiTabs} from '@taiga-ui/kit'; diff --git a/projects/demo/src/modules/components/tabs/index.ts b/projects/demo/src/modules/components/tabs/index.ts index 321d10f5e030..33ea604f68c2 100644 --- a/projects/demo/src/modules/components/tabs/index.ts +++ b/projects/demo/src/modules/components/tabs/index.ts @@ -2,7 +2,8 @@ import {Component} from '@angular/core'; import {changeDetection} from '@demo/emulate/change-detection'; import {TuiDemo} from '@demo/utils'; import {tuiDocExampleOptionsProvider} from '@taiga-ui/addon-doc'; -import {TuiOption, type TuiSizeL} from '@taiga-ui/core'; +import type {TuiSizeL} from '@taiga-ui/core'; +import {TuiOption} from '@taiga-ui/core'; import {TuiTabs} from '@taiga-ui/kit'; @Component({ diff --git a/projects/demo/src/modules/components/tabs/routes.ts b/projects/demo/src/modules/components/tabs/routes.ts index 741507290a3a..f8c5dc9b1774 100644 --- a/projects/demo/src/modules/components/tabs/routes.ts +++ b/projects/demo/src/modules/components/tabs/routes.ts @@ -1,7 +1,7 @@ import type {Routes} from '@angular/router'; +import Page from '.'; import {routes as children} from './examples/8'; -import Page from './index'; export default [ { diff --git a/projects/demo/src/modules/components/tree/examples/7/index.ts b/projects/demo/src/modules/components/tree/examples/7/index.ts index 96d4ad5f08a9..2806caecb54d 100644 --- a/projects/demo/src/modules/components/tree/examples/7/index.ts +++ b/projects/demo/src/modules/components/tree/examples/7/index.ts @@ -4,12 +4,12 @@ import {changeDetection} from '@demo/emulate/change-detection'; import {encapsulation} from '@demo/emulate/encapsulation'; import type {TuiHandler} from '@taiga-ui/cdk'; import {TuiLoader} from '@taiga-ui/core'; +import type {TuiTreeLoader} from '@taiga-ui/kit'; import { TUI_TREE_LOADER, TUI_TREE_LOADING, TUI_TREE_START, TuiTree, - type TuiTreeLoader, TuiTreeService, } from '@taiga-ui/kit'; import type {Observable} from 'rxjs'; diff --git a/projects/demo/src/modules/directives/appearance/index.ts b/projects/demo/src/modules/directives/appearance/index.ts index e835caf79358..e15005e761f2 100644 --- a/projects/demo/src/modules/directives/appearance/index.ts +++ b/projects/demo/src/modules/directives/appearance/index.ts @@ -1,8 +1,8 @@ import {Component} from '@angular/core'; import {changeDetection} from '@demo/emulate/change-detection'; import {TuiDemo} from '@demo/utils'; -import {type TuiInteractiveState, TuiOption} from '@taiga-ui/core'; -import {TuiButton} from '@taiga-ui/core'; +import type {TuiInteractiveState} from '@taiga-ui/core'; +import {TuiButton, TuiOption} from '@taiga-ui/core'; @Component({ standalone: true, diff --git a/projects/demo/src/modules/directives/dropdown-open/examples/5/index.ts b/projects/demo/src/modules/directives/dropdown-open/examples/5/index.ts index 4a0b9505639c..b127da456a46 100644 --- a/projects/demo/src/modules/directives/dropdown-open/examples/5/index.ts +++ b/projects/demo/src/modules/directives/dropdown-open/examples/5/index.ts @@ -2,13 +2,13 @@ import {Component, Directive} from '@angular/core'; import {changeDetection} from '@demo/emulate/change-detection'; import {encapsulation} from '@demo/emulate/encapsulation'; import {tuiInjectElement} from '@taiga-ui/cdk'; +import type {TuiPoint} from '@taiga-ui/core'; import { tuiAsPositionAccessor, TuiButton, TuiDropdown, TuiDropdownOpen, TuiOption, - type TuiPoint, TuiPositionAccessor, } from '@taiga-ui/core'; diff --git a/projects/kit/components/accordion/test/accordion.component.spec.ts b/projects/kit/components/accordion/test/accordion.component.spec.ts index 4a774c97111c..fe657a598899 100644 --- a/projects/kit/components/accordion/test/accordion.component.spec.ts +++ b/projects/kit/components/accordion/test/accordion.component.spec.ts @@ -1,8 +1,8 @@ import type {HarnessLoader} from '@angular/cdk/testing'; import {parallel} from '@angular/cdk/testing'; import {TestbedHarnessEnvironment} from '@angular/cdk/testing/testbed'; -import {ChangeDetectionStrategy, type QueryList} from '@angular/core'; -import {Component, ViewChild, ViewChildren} from '@angular/core'; +import type {QueryList} from '@angular/core'; +import {ChangeDetectionStrategy, Component, ViewChild, ViewChildren} from '@angular/core'; import type {ComponentFixture} from '@angular/core/testing'; import {TestBed} from '@angular/core/testing'; import {FormControl, FormGroup, ReactiveFormsModule} from '@angular/forms'; diff --git a/projects/kit/components/breadcrumbs/test/breadcrumbs.component.spec.ts b/projects/kit/components/breadcrumbs/test/breadcrumbs.component.spec.ts index 429bc8cbe436..d50397009054 100644 --- a/projects/kit/components/breadcrumbs/test/breadcrumbs.component.spec.ts +++ b/projects/kit/components/breadcrumbs/test/breadcrumbs.component.spec.ts @@ -1,6 +1,6 @@ import {NgFor} from '@angular/common'; -import {ChangeDetectionStrategy, type DebugElement} from '@angular/core'; -import {Component, ViewChild} from '@angular/core'; +import type {DebugElement} from '@angular/core'; +import {ChangeDetectionStrategy, Component, ViewChild} from '@angular/core'; import type {ComponentFixture} from '@angular/core/testing'; import {TestBed} from '@angular/core/testing'; import {By} from '@angular/platform-browser'; diff --git a/projects/kit/components/calendar-range/test/calendar-range.component.spec.ts b/projects/kit/components/calendar-range/test/calendar-range.component.spec.ts index b245dc0151a5..5e683b3b14c5 100644 --- a/projects/kit/components/calendar-range/test/calendar-range.component.spec.ts +++ b/projects/kit/components/calendar-range/test/calendar-range.component.spec.ts @@ -1,5 +1,11 @@ -import {ChangeDetectionStrategy, type DebugElement} from '@angular/core'; -import {Component, Optional, Self, ViewChild} from '@angular/core'; +import type {DebugElement} from '@angular/core'; +import { + ChangeDetectionStrategy, + Component, + Optional, + Self, + ViewChild, +} from '@angular/core'; import type {ComponentFixture} from '@angular/core/testing'; import {TestBed} from '@angular/core/testing'; import {FormControl, NgControl} from '@angular/forms'; diff --git a/projects/kit/components/confirm/confirm.component.ts b/projects/kit/components/confirm/confirm.component.ts index 6f224dba95e6..e7804f96989c 100644 --- a/projects/kit/components/confirm/confirm.component.ts +++ b/projects/kit/components/confirm/confirm.component.ts @@ -5,8 +5,9 @@ import {TUI_IS_MOBILE} from '@taiga-ui/cdk/tokens'; import {TuiButton} from '@taiga-ui/core/components/button'; import type {TuiDialogContext} from '@taiga-ui/core/components/dialog'; import {TUI_CONFIRM_WORDS} from '@taiga-ui/kit/tokens'; -import {injectContext, type PolymorpheusContent} from '@taiga-ui/polymorpheus'; +import type {PolymorpheusContent} from '@taiga-ui/polymorpheus'; import { + injectContext, PolymorpheusComponent, PolymorpheusOutlet, PolymorpheusTemplate, diff --git a/projects/kit/components/input-inline/test/input-inline.component.spec.ts b/projects/kit/components/input-inline/test/input-inline.component.spec.ts index 74f6eae36458..703bd18b0071 100644 --- a/projects/kit/components/input-inline/test/input-inline.component.spec.ts +++ b/projects/kit/components/input-inline/test/input-inline.component.spec.ts @@ -1,5 +1,5 @@ -import {ChangeDetectionStrategy, type DebugElement} from '@angular/core'; -import {Component, ViewChild} from '@angular/core'; +import type {DebugElement} from '@angular/core'; +import {ChangeDetectionStrategy, Component, ViewChild} from '@angular/core'; import type {ComponentFixture} from '@angular/core/testing'; import {TestBed} from '@angular/core/testing'; import {FormControl, ReactiveFormsModule} from '@angular/forms'; diff --git a/projects/kit/components/input-phone-international/input-phone-international.options.ts b/projects/kit/components/input-phone-international/input-phone-international.options.ts index ed916e56d23b..daa18f605172 100644 --- a/projects/kit/components/input-phone-international/input-phone-international.options.ts +++ b/projects/kit/components/input-phone-international/input-phone-international.options.ts @@ -2,7 +2,8 @@ import type {Provider} from '@angular/core'; import {tuiCreateToken, tuiProvideOptions} from '@taiga-ui/cdk/utils/miscellaneous'; import type {TuiCountryIsoCode} from '@taiga-ui/i18n/types'; import type {MetadataJson} from 'libphonenumber-js/core'; -import {type Observable, of} from 'rxjs'; +import type {Observable} from 'rxjs'; +import {of} from 'rxjs'; export interface TuiInputPhoneInternationalOptions { readonly countries: readonly TuiCountryIsoCode[]; diff --git a/projects/kit/components/input-phone-international/test/input-phone-international.component.spec.ts b/projects/kit/components/input-phone-international/test/input-phone-international.component.spec.ts index bf65dde33847..b35e92ff6403 100644 --- a/projects/kit/components/input-phone-international/test/input-phone-international.component.spec.ts +++ b/projects/kit/components/input-phone-international/test/input-phone-international.component.spec.ts @@ -1,5 +1,5 @@ -import {ChangeDetectionStrategy, type DebugElement} from '@angular/core'; -import {Component, ViewChild} from '@angular/core'; +import type {DebugElement} from '@angular/core'; +import {ChangeDetectionStrategy, Component, ViewChild} from '@angular/core'; import type {ComponentFixture} from '@angular/core/testing'; import {TestBed} from '@angular/core/testing'; import {FormControl, ReactiveFormsModule} from '@angular/forms'; diff --git a/projects/kit/components/like/like.component.ts b/projects/kit/components/like/like.component.ts index fea57a5da42a..4f0f2e65bef2 100644 --- a/projects/kit/components/like/like.component.ts +++ b/projects/kit/components/like/like.component.ts @@ -14,7 +14,8 @@ import { import {tuiInjectIconResolver} from '@taiga-ui/core/tokens'; import type {TuiSizeS} from '@taiga-ui/core/types'; -import {TUI_LIKE_OPTIONS, type TuiLikeOptions} from './like.options'; +import type {TuiLikeOptions} from './like.options'; +import {TUI_LIKE_OPTIONS} from './like.options'; @Component({ standalone: true, diff --git a/projects/kit/components/pdf-viewer/test/pdf-viewer.component.spec.ts b/projects/kit/components/pdf-viewer/test/pdf-viewer.component.spec.ts index bea901ad00be..021c397b5eef 100644 --- a/projects/kit/components/pdf-viewer/test/pdf-viewer.component.spec.ts +++ b/projects/kit/components/pdf-viewer/test/pdf-viewer.component.spec.ts @@ -1,5 +1,5 @@ -import {ChangeDetectionStrategy, type DebugElement} from '@angular/core'; -import {Component} from '@angular/core'; +import type {DebugElement} from '@angular/core'; +import {ChangeDetectionStrategy, Component} from '@angular/core'; import type {ComponentFixture} from '@angular/core/testing'; import {TestBed} from '@angular/core/testing'; import {DomSanitizer} from '@angular/platform-browser'; diff --git a/projects/kit/components/push/test/push.component.spec.ts b/projects/kit/components/push/test/push.component.spec.ts index 9e0155f37b3b..e246f6d8e066 100644 --- a/projects/kit/components/push/test/push.component.spec.ts +++ b/projects/kit/components/push/test/push.component.spec.ts @@ -1,5 +1,5 @@ -import {ChangeDetectionStrategy, type DebugElement} from '@angular/core'; -import {Component} from '@angular/core'; +import type {DebugElement} from '@angular/core'; +import {ChangeDetectionStrategy, Component} from '@angular/core'; import type {ComponentFixture} from '@angular/core/testing'; import {TestBed} from '@angular/core/testing'; import {TuiRoot} from '@taiga-ui/core'; diff --git a/projects/kit/components/radio-list/radio-list.component.ts b/projects/kit/components/radio-list/radio-list.component.ts index 3f49af4fbf85..5cba8cceb7cd 100644 --- a/projects/kit/components/radio-list/radio-list.component.ts +++ b/projects/kit/components/radio-list/radio-list.component.ts @@ -1,9 +1,10 @@ import {NgForOf} from '@angular/common'; -import {inject, type QueryList} from '@angular/core'; +import type {QueryList} from '@angular/core'; import { ChangeDetectionStrategy, Component, computed, + inject, Input, ViewChildren, ViewEncapsulation, diff --git a/projects/kit/components/routable-dialog/test/routable-dialog.component.spec.ts b/projects/kit/components/routable-dialog/test/routable-dialog.component.spec.ts index 981fe639ce67..9a7e5e386cdc 100644 --- a/projects/kit/components/routable-dialog/test/routable-dialog.component.spec.ts +++ b/projects/kit/components/routable-dialog/test/routable-dialog.component.spec.ts @@ -1,5 +1,5 @@ -import {ChangeDetectionStrategy, type Provider} from '@angular/core'; -import {Component} from '@angular/core'; +import type {Provider} from '@angular/core'; +import {ChangeDetectionStrategy, Component} from '@angular/core'; import type {ComponentFixture} from '@angular/core/testing'; import {fakeAsync, TestBed} from '@angular/core/testing'; import type { diff --git a/projects/kit/components/tabs/test/tabs.component.spec.ts b/projects/kit/components/tabs/test/tabs.component.spec.ts index 797c8383cd5a..f715454a8c1b 100644 --- a/projects/kit/components/tabs/test/tabs.component.spec.ts +++ b/projects/kit/components/tabs/test/tabs.component.spec.ts @@ -1,6 +1,6 @@ import {AsyncPipe, CommonModule} from '@angular/common'; -import {ChangeDetectionStrategy, type DebugElement} from '@angular/core'; -import {Component, Input, ViewChild} from '@angular/core'; +import type {DebugElement} from '@angular/core'; +import {ChangeDetectionStrategy, Component, Input, ViewChild} from '@angular/core'; import type {ComponentFixture} from '@angular/core/testing'; import {TestBed} from '@angular/core/testing'; import {By} from '@angular/platform-browser'; diff --git a/projects/kit/components/tiles/tile.service.ts b/projects/kit/components/tiles/tile.service.ts index fbf5f2ff84a3..1d8e7f08fd59 100644 --- a/projects/kit/components/tiles/tile.service.ts +++ b/projects/kit/components/tiles/tile.service.ts @@ -1,5 +1,6 @@ import {isPlatformBrowser} from '@angular/common'; -import {inject, Injectable, type OnDestroy, PLATFORM_ID} from '@angular/core'; +import type {OnDestroy} from '@angular/core'; +import {inject, Injectable, PLATFORM_ID} from '@angular/core'; import {MutationObserverService} from '@ng-web-apis/mutation-observer'; import {ResizeObserverService} from '@ng-web-apis/resize-observer'; import {tuiZonefreeScheduler} from '@taiga-ui/cdk/observables'; diff --git a/projects/kit/directives/button-select/button-select.directive.ts b/projects/kit/directives/button-select/button-select.directive.ts index 5cd487d355cb..56ccf7c73b78 100644 --- a/projects/kit/directives/button-select/button-select.directive.ts +++ b/projects/kit/directives/button-select/button-select.directive.ts @@ -1,10 +1,8 @@ import {Directive} from '@angular/core'; import {TuiControl} from '@taiga-ui/cdk/classes'; import {tuiProvide} from '@taiga-ui/cdk/utils/miscellaneous'; -import { - TUI_DATA_LIST_HOST, - type TuiDataListHost, -} from '@taiga-ui/core/components/data-list'; +import type {TuiDataListHost} from '@taiga-ui/core/components/data-list'; +import {TUI_DATA_LIST_HOST} from '@taiga-ui/core/components/data-list'; import {TuiWithTextfieldDropdown} from '@taiga-ui/core/components/textfield'; import { TuiDropdownDirective, diff --git a/projects/layout/components/navigation/drawer.component.ts b/projects/layout/components/navigation/drawer.component.ts index 6310eb22761a..d546c778c1f0 100644 --- a/projects/layout/components/navigation/drawer.component.ts +++ b/projects/layout/components/navigation/drawer.component.ts @@ -1,7 +1,7 @@ +import type {DoCheck} from '@angular/core'; import { ChangeDetectionStrategy, Component, - type DoCheck, inject, TemplateRef, ViewChild, @@ -25,7 +25,8 @@ import { } from '@taiga-ui/core/tokens'; import {tuiToAnimationOptions} from '@taiga-ui/core/utils/miscellaneous'; import {TUI_LAYOUT_ICONS} from '@taiga-ui/layout/tokens'; -import {type PolymorpheusContent, PolymorpheusOutlet} from '@taiga-ui/polymorpheus'; +import type {PolymorpheusContent} from '@taiga-ui/polymorpheus'; +import {PolymorpheusOutlet} from '@taiga-ui/polymorpheus'; @Component({ standalone: true, diff --git a/projects/layout/components/search/search-filters.component.ts b/projects/layout/components/search/search-filters.component.ts index 38f4bc280a28..4ae642dd2703 100644 --- a/projects/layout/components/search/search-filters.component.ts +++ b/projects/layout/components/search/search-filters.component.ts @@ -1,6 +1,6 @@ import {NgForOf, NgIf, NgTemplateOutlet} from '@angular/common'; +import type {AfterContentInit, QueryList} from '@angular/core'; import { - type AfterContentInit, ChangeDetectionStrategy, Component, computed, @@ -8,7 +8,6 @@ import { ElementRef, inject, Input, - type QueryList, signal, TemplateRef, ViewChild, diff --git a/projects/legacy/components/combo-box/test/combo-box.component.spec.ts b/projects/legacy/components/combo-box/test/combo-box.component.spec.ts index d2a38427bedf..5abff5576ed2 100644 --- a/projects/legacy/components/combo-box/test/combo-box.component.spec.ts +++ b/projects/legacy/components/combo-box/test/combo-box.component.spec.ts @@ -1,5 +1,5 @@ -import {ChangeDetectionStrategy, type DebugElement} from '@angular/core'; -import {Component, ViewChild} from '@angular/core'; +import type {DebugElement} from '@angular/core'; +import {ChangeDetectionStrategy, Component, ViewChild} from '@angular/core'; import type {ComponentFixture} from '@angular/core/testing'; import {TestBed} from '@angular/core/testing'; import {FormControl, ReactiveFormsModule} from '@angular/forms'; diff --git a/projects/legacy/components/input-copy/test/input-copy.component.spec.ts b/projects/legacy/components/input-copy/test/input-copy.component.spec.ts index f59e79ee8cb0..f8413894a9ce 100644 --- a/projects/legacy/components/input-copy/test/input-copy.component.spec.ts +++ b/projects/legacy/components/input-copy/test/input-copy.component.spec.ts @@ -1,5 +1,5 @@ -import {ChangeDetectionStrategy, type DebugElement} from '@angular/core'; -import {Component, ViewChild} from '@angular/core'; +import type {DebugElement} from '@angular/core'; +import {ChangeDetectionStrategy, Component, ViewChild} from '@angular/core'; import type {ComponentFixture} from '@angular/core/testing'; import {TestBed} from '@angular/core/testing'; import {FormControl, ReactiveFormsModule} from '@angular/forms'; diff --git a/projects/legacy/components/input-date-range/test/input-date-range.component.spec.ts b/projects/legacy/components/input-date-range/test/input-date-range.component.spec.ts index c1c7401afdac..e2025b27396c 100644 --- a/projects/legacy/components/input-date-range/test/input-date-range.component.spec.ts +++ b/projects/legacy/components/input-date-range/test/input-date-range.component.spec.ts @@ -1,5 +1,5 @@ -import {ChangeDetectionStrategy, type DebugElement, type Type} from '@angular/core'; -import {Component, Optional, ViewChild} from '@angular/core'; +import type {DebugElement, Type} from '@angular/core'; +import {ChangeDetectionStrategy, Component, Optional, ViewChild} from '@angular/core'; import type {ComponentFixture} from '@angular/core/testing'; import {TestBed} from '@angular/core/testing'; import {FormControl, ReactiveFormsModule} from '@angular/forms'; diff --git a/projects/legacy/components/input-date-time/test/input-date-time.component.spec.ts b/projects/legacy/components/input-date-time/test/input-date-time.component.spec.ts index e7bea4f057cf..ad6908ab82b5 100644 --- a/projects/legacy/components/input-date-time/test/input-date-time.component.spec.ts +++ b/projects/legacy/components/input-date-time/test/input-date-time.component.spec.ts @@ -1,5 +1,5 @@ -import {ChangeDetectionStrategy, type DebugElement, type Type} from '@angular/core'; -import {Component, ViewChild} from '@angular/core'; +import type {DebugElement, Type} from '@angular/core'; +import {ChangeDetectionStrategy, Component, ViewChild} from '@angular/core'; import type {ComponentFixture} from '@angular/core/testing'; import {TestBed} from '@angular/core/testing'; import {FormControl, ReactiveFormsModule} from '@angular/forms'; diff --git a/projects/legacy/components/input-month-range/input-month-range.directive.ts b/projects/legacy/components/input-month-range/input-month-range.directive.ts index 59d6fe5163e2..d886ddda890b 100644 --- a/projects/legacy/components/input-month-range/input-month-range.directive.ts +++ b/projects/legacy/components/input-month-range/input-month-range.directive.ts @@ -5,13 +5,8 @@ import type {TuiMonth, TuiMonthRange} from '@taiga-ui/cdk/date-time'; import type {TuiHandler} from '@taiga-ui/cdk/types'; import {AbstractTuiTextfieldHost} from '@taiga-ui/legacy/classes'; import {TUI_MONTH_FORMATTER, tuiAsTextfieldHost} from '@taiga-ui/legacy/tokens'; -import { - combineLatest, - distinctUntilChanged, - type Observable, - Subject, - switchMap, -} from 'rxjs'; +import type {Observable} from 'rxjs'; +import {combineLatest, distinctUntilChanged, Subject, switchMap} from 'rxjs'; import type {TuiInputMonthRangeComponent} from './input-month-range.component'; diff --git a/projects/legacy/components/input-number/test/input-number.component.spec.ts b/projects/legacy/components/input-number/test/input-number.component.spec.ts index 021ff91e692b..c2a513bab990 100644 --- a/projects/legacy/components/input-number/test/input-number.component.spec.ts +++ b/projects/legacy/components/input-number/test/input-number.component.spec.ts @@ -1,6 +1,6 @@ import {NgIf} from '@angular/common'; -import {ChangeDetectionStrategy, type DebugElement} from '@angular/core'; -import {Component, ViewChild} from '@angular/core'; +import type {DebugElement} from '@angular/core'; +import {ChangeDetectionStrategy, Component, ViewChild} from '@angular/core'; import type {ComponentFixture} from '@angular/core/testing'; import {TestBed} from '@angular/core/testing'; import {FormControl, FormGroup, ReactiveFormsModule} from '@angular/forms'; diff --git a/projects/legacy/components/input-password/test/input-password.component.spec.ts b/projects/legacy/components/input-password/test/input-password.component.spec.ts index 21f1df2a219f..6e16505f6d71 100644 --- a/projects/legacy/components/input-password/test/input-password.component.spec.ts +++ b/projects/legacy/components/input-password/test/input-password.component.spec.ts @@ -1,5 +1,5 @@ -import {ChangeDetectionStrategy, type DebugElement} from '@angular/core'; -import {Component, ViewChild} from '@angular/core'; +import type {DebugElement} from '@angular/core'; +import {ChangeDetectionStrategy, Component, ViewChild} from '@angular/core'; import type {ComponentFixture} from '@angular/core/testing'; import {TestBed} from '@angular/core/testing'; import {FormControl, ReactiveFormsModule} from '@angular/forms'; diff --git a/projects/legacy/components/input-phone-international/test/input-phone-international.component.spec.ts b/projects/legacy/components/input-phone-international/test/input-phone-international.component.spec.ts index 6e39720b38b3..8fcf48178ebd 100644 --- a/projects/legacy/components/input-phone-international/test/input-phone-international.component.spec.ts +++ b/projects/legacy/components/input-phone-international/test/input-phone-international.component.spec.ts @@ -1,5 +1,5 @@ -import {ChangeDetectionStrategy, type DebugElement} from '@angular/core'; -import {Component, ViewChild} from '@angular/core'; +import type {DebugElement} from '@angular/core'; +import {ChangeDetectionStrategy, Component, ViewChild} from '@angular/core'; import type {ComponentFixture} from '@angular/core/testing'; import {TestBed} from '@angular/core/testing'; import {FormControl, ReactiveFormsModule} from '@angular/forms'; diff --git a/projects/legacy/components/input-range/test/input-range.component.spec.ts b/projects/legacy/components/input-range/test/input-range.component.spec.ts index 87a14bdaf33f..a63208fc7430 100644 --- a/projects/legacy/components/input-range/test/input-range.component.spec.ts +++ b/projects/legacy/components/input-range/test/input-range.component.spec.ts @@ -1,6 +1,6 @@ import {NgIf} from '@angular/common'; -import {ChangeDetectionStrategy, type DebugElement} from '@angular/core'; -import {Component, ViewChild} from '@angular/core'; +import type {DebugElement} from '@angular/core'; +import {ChangeDetectionStrategy, Component, ViewChild} from '@angular/core'; import type {ComponentFixture} from '@angular/core/testing'; import {TestBed} from '@angular/core/testing'; import {FormControl, ReactiveFormsModule} from '@angular/forms'; diff --git a/projects/legacy/components/input-slider/test/input-slider.component.spec.ts b/projects/legacy/components/input-slider/test/input-slider.component.spec.ts index 525c1d1ed85a..6eeca0ee9a02 100644 --- a/projects/legacy/components/input-slider/test/input-slider.component.spec.ts +++ b/projects/legacy/components/input-slider/test/input-slider.component.spec.ts @@ -1,5 +1,5 @@ -import {ChangeDetectionStrategy, type TemplateRef} from '@angular/core'; -import {Component, ViewChild} from '@angular/core'; +import type {TemplateRef} from '@angular/core'; +import {ChangeDetectionStrategy, Component, ViewChild} from '@angular/core'; import type {ComponentFixture} from '@angular/core/testing'; import {TestBed} from '@angular/core/testing'; import {FormControl, ReactiveFormsModule} from '@angular/forms'; diff --git a/projects/legacy/components/textarea/test/textarea.component.spec.ts b/projects/legacy/components/textarea/test/textarea.component.spec.ts index ad67e39c65d3..a84201f20972 100644 --- a/projects/legacy/components/textarea/test/textarea.component.spec.ts +++ b/projects/legacy/components/textarea/test/textarea.component.spec.ts @@ -1,9 +1,5 @@ -import { - ChangeDetectionStrategy, - Component, - type DebugElement, - ViewChild, -} from '@angular/core'; +import type {DebugElement} from '@angular/core'; +import {ChangeDetectionStrategy, Component, ViewChild} from '@angular/core'; import type {ComponentFixture} from '@angular/core/testing'; import {TestBed} from '@angular/core/testing'; import {FormControl, ReactiveFormsModule} from '@angular/forms';