diff --git a/.eslintrc.json b/.eslintrc.json index 82afaf9936..e6c8b02522 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -33,7 +33,10 @@ "semi": "off", "@typescript-eslint/semi": ["error"], "@typescript-eslint/no-extra-semi": "error", - "no-extra-semi": "off" + "no-extra-semi": "off", + "@angular-eslint/prefer-standalone": [ + "off" + ] } }, { diff --git a/.github/workflows/on-push-or-pull.yml b/.github/workflows/on-push-or-pull.yml index 2d94839761..ca571f4400 100644 --- a/.github/workflows/on-push-or-pull.yml +++ b/.github/workflows/on-push-or-pull.yml @@ -61,9 +61,12 @@ jobs: with: path: ${{ env.CACHE_DIST_PATH }} key: dist-${{ github.run_id }} +# - run: | +# npx nx build ngx-bootstrap --runner=cloud --configuration=production +# npx nx build --runner=cloud --configuration=production - run: | - npx nx build ngx-bootstrap --runner=cloud --configuration=production - npx nx build --runner=cloud --configuration=production + npx nx build ngx-bootstrap --configuration=production + npx nx build --configuration=production # run unit tests @@ -80,7 +83,8 @@ jobs: with: path: ${{ env.CACHE_DIST_PATH }} key: dist-${{ github.run_id }} - - run: npm test -- --runner=cloud --codeCoverage +# - run: npm test -- --runner=cloud --codeCoverage + - run: npm test -- --codeCoverage - run: npx codecov ./coverage/ continue-on-error: true @@ -94,7 +98,8 @@ jobs: with: path: ${{ env.CACHE_NODE_MODULES_PATH }} key: node_modules-${{ hashFiles('**/package-lock.json') }} - - run: npm run lint -- --runner=cloud +# - run: npm run lint -- --runner=cloud + - run: npm run lint -- # firebase deploy preview firebase_preview: diff --git a/.gitignore b/.gitignore index 79b0c90dea..ebf053049e 100644 --- a/.gitignore +++ b/.gitignore @@ -42,6 +42,7 @@ Thumbs.db firebase-debug.log .nx-cache +.nx scully.log /.angular /.scully @@ -59,4 +60,4 @@ scully.log migration.json -.nx/cache \ No newline at end of file +.nx/cache diff --git a/apps/ngx-bootstrap-docs/.eslintrc.json b/apps/ngx-bootstrap-docs/.eslintrc.json index bb1d306564..53c9a19a9b 100644 --- a/apps/ngx-bootstrap-docs/.eslintrc.json +++ b/apps/ngx-bootstrap-docs/.eslintrc.json @@ -37,6 +37,9 @@ "style": "kebab-case" } ], + "@angular-eslint/prefer-standalone": [ + "off" + ], "@typescript-eslint/no-explicit-any": 0, "@angular-eslint/component-class-suffix": 0, "@angular-eslint/no-output-on-prefix": 0 diff --git a/apps/ngx-bootstrap-docs/src/app/app.component.ts b/apps/ngx-bootstrap-docs/src/app/app.component.ts index 8844d1375d..be57918975 100644 --- a/apps/ngx-bootstrap-docs/src/app/app.component.ts +++ b/apps/ngx-bootstrap-docs/src/app/app.component.ts @@ -7,7 +7,8 @@ import { filter } from 'rxjs/operators'; @Component({ selector: 'bs-demo', - templateUrl: './app.component.html' + templateUrl: './app.component.html', + standalone: false }) export class AppComponent implements AfterContentInit { showSidebar = false; diff --git a/apps/ngx-bootstrap-docs/src/assets/json/current-version.json b/apps/ngx-bootstrap-docs/src/assets/json/current-version.json index d22dda2541..4792ab3751 100644 --- a/apps/ngx-bootstrap-docs/src/assets/json/current-version.json +++ b/apps/ngx-bootstrap-docs/src/assets/json/current-version.json @@ -1,3 +1,3 @@ { - "version": "18.1.3" + "version": "19.0.0" } diff --git a/libs/common-docs/.eslintrc.json b/libs/common-docs/.eslintrc.json index 606fd346f4..5090541317 100644 --- a/libs/common-docs/.eslintrc.json +++ b/libs/common-docs/.eslintrc.json @@ -35,6 +35,9 @@ "prefix": "ngx-bootstrap-base", "style": "kebab-case" } + ], + "@angular-eslint/prefer-standalone": [ + "off" ] } }, diff --git a/libs/common-docs/src/lib/api-docs/api-doc-class/api-doc-class.component.ts b/libs/common-docs/src/lib/api-docs/api-doc-class/api-doc-class.component.ts index f90a3a6141..2177119b65 100644 --- a/libs/common-docs/src/lib/api-docs/api-doc-class/api-doc-class.component.ts +++ b/libs/common-docs/src/lib/api-docs/api-doc-class/api-doc-class.component.ts @@ -16,7 +16,8 @@ import { ComponentApi } from '../../models/components-api.model'; // eslint-disable-next-line @angular-eslint/component-selector selector: 'ng-api-doc-class', changeDetection: ChangeDetectionStrategy.OnPush, - templateUrl: './api-doc-class.component.html' + templateUrl: './api-doc-class.component.html', + standalone: false }) export class NgApiDocClassComponent { headerAnchor?: string; diff --git a/libs/common-docs/src/lib/api-docs/api-doc-config/api-doc-config.component.ts b/libs/common-docs/src/lib/api-docs/api-doc-config/api-doc-config.component.ts index cd2a2f0394..73c264d180 100644 --- a/libs/common-docs/src/lib/api-docs/api-doc-config/api-doc-config.component.ts +++ b/libs/common-docs/src/lib/api-docs/api-doc-config/api-doc-config.component.ts @@ -21,7 +21,8 @@ const CONFIG_SUFFIX_LENGTH = 'Config'.length; // eslint-disable-next-line @angular-eslint/component-selector selector: 'ng-api-doc-config', changeDetection: ChangeDetectionStrategy.OnPush, - templateUrl: './api-doc-config.component.html' + templateUrl: './api-doc-config.component.html', + standalone: false }) export class NgApiDocConfigComponent { apiDocs?: ClassDesc; diff --git a/libs/common-docs/src/lib/api-docs/api-doc/api-doc.component.ts b/libs/common-docs/src/lib/api-docs/api-doc/api-doc.component.ts index 8666fa969c..ecf0dc5961 100644 --- a/libs/common-docs/src/lib/api-docs/api-doc/api-doc.component.ts +++ b/libs/common-docs/src/lib/api-docs/api-doc/api-doc.component.ts @@ -21,7 +21,8 @@ import { DomSanitizer } from '@angular/platform-browser'; // eslint-disable-next-line @angular-eslint/component-selector selector: 'ng-api-doc', changeDetection: ChangeDetectionStrategy.OnPush, - templateUrl: './api-doc.component.html' + templateUrl: './api-doc.component.html', + standalone: false }) export class NgApiDocComponent { apiDocs?: DirectiveDesc; diff --git a/libs/common-docs/src/lib/api-docs/index.ts b/libs/common-docs/src/lib/api-docs/index.ts index 6a659b7ecb..055dbac1ee 100644 --- a/libs/common-docs/src/lib/api-docs/index.ts +++ b/libs/common-docs/src/lib/api-docs/index.ts @@ -12,10 +12,6 @@ import { SampleBoxComponent } from './sample-box/sample-box.component'; import { TabsModule } from 'ngx-bootstrap/tabs'; export { NgApiDoc } from './api-docs.model'; export { Analytics } from './analytics/analytics'; -export { NgApiDocComponent } from './api-doc/api-doc.component'; -export { NgApiDocClassComponent } from './api-doc-class/api-doc-class.component'; -export { NgApiDocConfigComponent } from './api-doc-config/api-doc-config.component'; -export { SampleBoxComponent } from './sample-box/sample-box.component'; @NgModule({ imports: [CommonModule, TabsModule], diff --git a/libs/common-docs/src/lib/api-docs/sample-box/sample-box.component.ts b/libs/common-docs/src/lib/api-docs/sample-box/sample-box.component.ts index 0da9be5213..9a61f0cc6c 100644 --- a/libs/common-docs/src/lib/api-docs/sample-box/sample-box.component.ts +++ b/libs/common-docs/src/lib/api-docs/sample-box/sample-box.component.ts @@ -3,7 +3,8 @@ import { Component, Input } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'ng-sample-box', - templateUrl: './sample-box.component.html' + templateUrl: './sample-box.component.html', + standalone: false }) export class SampleBoxComponent { @Input() ts?: string; diff --git a/libs/common-docs/src/lib/common/add-nav/add-nav.component.ts b/libs/common-docs/src/lib/common/add-nav/add-nav.component.ts index 7d39af1821..52ae3585cf 100644 --- a/libs/common-docs/src/lib/common/add-nav/add-nav.component.ts +++ b/libs/common-docs/src/lib/common/add-nav/add-nav.component.ts @@ -21,7 +21,8 @@ interface IComponentContent { @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'add-nav', - templateUrl: './add-nav.component.html' + templateUrl: './add-nav.component.html', + standalone: false }) export class AddNavComponent implements OnChanges, AfterViewChecked, AfterViewInit { @Input() componentContent?: ContentSection; diff --git a/libs/common-docs/src/lib/common/app-footer/app-footer.component.ts b/libs/common-docs/src/lib/common/app-footer/app-footer.component.ts index 0a1934095f..1d5173807a 100644 --- a/libs/common-docs/src/lib/common/app-footer/app-footer.component.ts +++ b/libs/common-docs/src/lib/common/app-footer/app-footer.component.ts @@ -3,6 +3,7 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'app-footer', - templateUrl: './app-footer.component.html' + templateUrl: './app-footer.component.html', + standalone: false }) export class AppFooterComponent {} diff --git a/libs/common-docs/src/lib/common/breadCrumbs/breadCrumbs.component.ts b/libs/common-docs/src/lib/common/breadCrumbs/breadCrumbs.component.ts index 9dab428bce..7a3a4bad86 100644 --- a/libs/common-docs/src/lib/common/breadCrumbs/breadCrumbs.component.ts +++ b/libs/common-docs/src/lib/common/breadCrumbs/breadCrumbs.component.ts @@ -5,7 +5,8 @@ import { Subscription } from 'rxjs'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'bread-crumbs', - templateUrl: 'breadCrumbs.component.html' + templateUrl: 'breadCrumbs.component.html', + standalone: false }) export class BreadCrumbsComponent implements OnDestroy { routeSubscription: Subscription; diff --git a/libs/common-docs/src/lib/common/components-page/components-page.component.ts b/libs/common-docs/src/lib/common/components-page/components-page.component.ts index 6505990c65..af0bd21e40 100644 --- a/libs/common-docs/src/lib/common/components-page/components-page.component.ts +++ b/libs/common-docs/src/lib/common/components-page/components-page.component.ts @@ -5,7 +5,8 @@ import { Routes } from "@angular/router"; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'components', - templateUrl: './components-page.component.html' + templateUrl: './components-page.component.html', + standalone: false }) export class ComponentsPageComponent { componentsArray?:Routes; diff --git a/libs/common-docs/src/lib/common/construction-page/construction-page.component.ts b/libs/common-docs/src/lib/common/construction-page/construction-page.component.ts index 83333f3307..27d9f06b55 100644 --- a/libs/common-docs/src/lib/common/construction-page/construction-page.component.ts +++ b/libs/common-docs/src/lib/common/construction-page/construction-page.component.ts @@ -3,6 +3,7 @@ import { Component } from "@angular/core"; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'construction', - templateUrl: './construction-page.component.html' + templateUrl: './construction-page.component.html', + standalone: false }) export class ConstructionPageComponent {} diff --git a/libs/common-docs/src/lib/common/discover/discover.component.ts b/libs/common-docs/src/lib/common/discover/discover.component.ts index 67fc443260..1282f9c010 100644 --- a/libs/common-docs/src/lib/common/discover/discover.component.ts +++ b/libs/common-docs/src/lib/common/discover/discover.component.ts @@ -12,7 +12,8 @@ interface ICompany { // eslint-disable-next-line @angular-eslint/component-selector selector: 'discover', templateUrl: './discover.component.html', - styleUrls: ['discover.component.scss'] + styleUrls: ['discover.component.scss'], + standalone: false }) export class DiscoverComponent { diff --git a/libs/common-docs/src/lib/common/documentation/documentation.component.ts b/libs/common-docs/src/lib/common/documentation/documentation.component.ts index 0076a71774..a08a1f0488 100644 --- a/libs/common-docs/src/lib/common/documentation/documentation.component.ts +++ b/libs/common-docs/src/lib/common/documentation/documentation.component.ts @@ -3,7 +3,8 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'documentation', - templateUrl: './documentation.component.html' + templateUrl: './documentation.component.html', + standalone: false }) export class DocumentationComponent { name = `Native Angular widgets for Bootstrap 5 and Bootstrap 4`; diff --git a/libs/common-docs/src/lib/common/landing/landing.component.ts b/libs/common-docs/src/lib/common/landing/landing.component.ts index 07543fec72..90815aa72e 100644 --- a/libs/common-docs/src/lib/common/landing/landing.component.ts +++ b/libs/common-docs/src/lib/common/landing/landing.component.ts @@ -6,7 +6,8 @@ import { Router } from '@angular/router'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'landing', - templateUrl: './landing.component.html' + templateUrl: './landing.component.html', + standalone: false }) export class LandingComponent implements AfterViewInit { currentVersion?: string; diff --git a/libs/common-docs/src/lib/common/schematics/schematics.component.ts b/libs/common-docs/src/lib/common/schematics/schematics.component.ts index 84b4bb882f..06dea24d11 100644 --- a/libs/common-docs/src/lib/common/schematics/schematics.component.ts +++ b/libs/common-docs/src/lib/common/schematics/schematics.component.ts @@ -3,7 +3,8 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'schematics', - templateUrl: './schematics.component.html' + templateUrl: './schematics.component.html', + standalone: false }) export class SchematicsComponent { name = `Schematics of ngx-bootstrap`; diff --git a/libs/common-docs/src/lib/common/search-input/search-filter.pipe.ts b/libs/common-docs/src/lib/common/search-input/search-filter.pipe.ts index fbf188e343..4446408b90 100644 --- a/libs/common-docs/src/lib/common/search-input/search-filter.pipe.ts +++ b/libs/common-docs/src/lib/common/search-input/search-filter.pipe.ts @@ -1,7 +1,10 @@ import { Pipe, PipeTransform } from '@angular/core'; import { Route, Routes } from '@angular/router'; -@Pipe({ name: 'SearchFilter' }) +@Pipe({ + name: 'SearchFilter', + standalone: false +}) export class SearchFilterPipe implements PipeTransform { transform(value: Routes, text?: string): Routes { if (!text) { diff --git a/libs/common-docs/src/lib/common/search-input/search-input.component.ts b/libs/common-docs/src/lib/common/search-input/search-input.component.ts index d330e6890a..cc7b8cc55e 100644 --- a/libs/common-docs/src/lib/common/search-input/search-input.component.ts +++ b/libs/common-docs/src/lib/common/search-input/search-input.component.ts @@ -5,7 +5,8 @@ import { DOCS_TOKENS } from '../../tokens/docs-routes-token'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'search-input', - templateUrl: './search-input.component.html' + templateUrl: './search-input.component.html', + standalone: false }) export class SearchInputComponent { @Input() showInput = true; diff --git a/libs/common-docs/src/lib/common/sidebar/sidebar.component.ts b/libs/common-docs/src/lib/common/sidebar/sidebar.component.ts index 79c236ca9b..79d322563a 100644 --- a/libs/common-docs/src/lib/common/sidebar/sidebar.component.ts +++ b/libs/common-docs/src/lib/common/sidebar/sidebar.component.ts @@ -16,7 +16,8 @@ const _bs5Css = 'assets/css/bootstrap-5.2.3/css/bootstrap.min.css'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'sidebar', - templateUrl: './sidebar.component.html' + templateUrl: './sidebar.component.html', + standalone: false }) export class SidebarComponent { isShown = false; diff --git a/libs/common-docs/src/lib/common/themes/themes.component.ts b/libs/common-docs/src/lib/common/themes/themes.component.ts index 9d873e2081..a6a215c5f6 100644 --- a/libs/common-docs/src/lib/common/themes/themes.component.ts +++ b/libs/common-docs/src/lib/common/themes/themes.component.ts @@ -3,7 +3,8 @@ import { Component } from "@angular/core"; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'themes', - templateUrl: './themes.component.html' + templateUrl: './themes.component.html', + standalone: false }) export class ThemesComponent {} diff --git a/libs/common-docs/src/lib/common/top-menu/top-menu.component.ts b/libs/common-docs/src/lib/common/top-menu/top-menu.component.ts index b21e45da08..b528c16035 100644 --- a/libs/common-docs/src/lib/common/top-menu/top-menu.component.ts +++ b/libs/common-docs/src/lib/common/top-menu/top-menu.component.ts @@ -7,7 +7,8 @@ import { takeUntilDestroyed } from '@angular/core/rxjs-interop'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'top-menu', - templateUrl: './top-menu.component.html' + templateUrl: './top-menu.component.html', + standalone: false }) export class TopMenuComponent implements AfterViewInit { shadowRoutes = ['/documentation', '/discover', '/schematics', '/']; diff --git a/libs/common-docs/src/lib/demo-section-components/demo-api-section/api-sections.component.ts b/libs/common-docs/src/lib/demo-section-components/demo-api-section/api-sections.component.ts index 2fc8382ed7..9dd40eb90b 100644 --- a/libs/common-docs/src/lib/demo-section-components/demo-api-section/api-sections.component.ts +++ b/libs/common-docs/src/lib/demo-section-components/demo-api-section/api-sections.component.ts @@ -7,7 +7,8 @@ import { ComponentApi } from '../../models/components-api.model'; // eslint-disable-next-line @angular-eslint/component-selector selector: 'api-sections', templateUrl: './api-sections.component.html', - changeDetection: ChangeDetectionStrategy.OnPush + changeDetection: ChangeDetectionStrategy.OnPush, + standalone: false }) export class ApiSectionsComponent { apiSectionsContent: ComponentApi[]; diff --git a/libs/common-docs/src/lib/demo-section-components/demo-examples-section/examples.component.ts b/libs/common-docs/src/lib/demo-section-components/demo-examples-section/examples.component.ts index 7b64848d99..755a994584 100644 --- a/libs/common-docs/src/lib/demo-section-components/demo-examples-section/examples.component.ts +++ b/libs/common-docs/src/lib/demo-section-components/demo-examples-section/examples.component.ts @@ -21,7 +21,8 @@ import { takeUntilDestroyed } from '@angular/core/rxjs-interop'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'examples', - templateUrl: './examples.component.html' + templateUrl: './examples.component.html', + standalone: false }) export class ExamplesComponent { examples: ComponentExample[]; diff --git a/libs/common-docs/src/lib/demo-section/demo-section.component.ts b/libs/common-docs/src/lib/demo-section/demo-section.component.ts index 2dd6f58c5d..70cc30062c 100644 --- a/libs/common-docs/src/lib/demo-section/demo-section.component.ts +++ b/libs/common-docs/src/lib/demo-section/demo-section.component.ts @@ -14,7 +14,8 @@ interface IContentSection { @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-section', - templateUrl: './demo-section.component.html' + templateUrl: './demo-section.component.html', + standalone: false }) export class DemoSectionComponent { @Input() name?: string; diff --git a/libs/common-docs/src/lib/docs-section/docs-section.component.ts b/libs/common-docs/src/lib/docs-section/docs-section.component.ts index 78ae826137..21b0678db4 100644 --- a/libs/common-docs/src/lib/docs-section/docs-section.component.ts +++ b/libs/common-docs/src/lib/docs-section/docs-section.component.ts @@ -9,6 +9,7 @@ type AvailableTabsPathsType = typeof availableTabsPaths[number]; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'docs-section', + template: ` @@ -24,7 +25,8 @@ type AvailableTabsPathsType = typeof availableTabsPaths[number]; - ` + `, + standalone: false }) export class DocsSectionComponent implements OnDestroy { @Input() content: ContentSection[] | undefined; diff --git a/libs/common-docs/src/lib/docs.module.ts b/libs/common-docs/src/lib/docs.module.ts index 63d909c472..84f40e6297 100644 --- a/libs/common-docs/src/lib/docs.module.ts +++ b/libs/common-docs/src/lib/docs.module.ts @@ -27,7 +27,10 @@ import { TopMenuComponent } from './common/top-menu/top-menu.component'; import { RouterModule } from '@angular/router'; /* export */ -export { NgApiDocModule, NgApiDocComponent, NgApiDocClassComponent, NgApiDocConfigComponent } from './api-docs/index'; +export { NgApiDocModule } from './api-docs/index'; +export { NgApiDocComponent } from './api-docs/api-doc/api-doc.component'; +export { NgApiDocClassComponent } from './api-docs/api-doc-class/api-doc-class.component'; +export { NgApiDocConfigComponent } from './api-docs/api-doc-config/api-doc-config.component'; export { ExamplesComponent, ExamplesComponentModule } from './demo-section-components/demo-examples-section/index'; export { ApiSectionsComponent, ApiSectionsComponentModule } from './demo-section-components/demo-api-section/index'; export { DemoSectionComponent } from './demo-section/demo-section.component'; diff --git a/libs/doc-pages/accordion/.eslintrc.json b/libs/doc-pages/accordion/.eslintrc.json index 52547b4fed..2ec9728a81 100644 --- a/libs/doc-pages/accordion/.eslintrc.json +++ b/libs/doc-pages/accordion/.eslintrc.json @@ -35,6 +35,9 @@ "prefix": "ngx-bootstrap-base", "style": "kebab-case" } + ], + "@angular-eslint/prefer-standalone": [ + "off" ] } }, diff --git a/libs/doc-pages/accordion/src/lib/accordion-section.component.ts b/libs/doc-pages/accordion/src/lib/accordion-section.component.ts index f552ffacb9..caa9e7420b 100644 --- a/libs/doc-pages/accordion/src/lib/accordion-section.component.ts +++ b/libs/doc-pages/accordion/src/lib/accordion-section.component.ts @@ -10,7 +10,8 @@ import { ContentSection } from '@ngx-bootstrap-doc/docs'; // eslint-disable-next-line @angular-eslint/component-selector selector: 'accordion-section', templateUrl: './accordion-section.components.html', - changeDetection: ChangeDetectionStrategy.OnPush + changeDetection: ChangeDetectionStrategy.OnPush, + standalone: false }) export class AccordionSectionComponent { name = 'Accordion'; diff --git a/libs/doc-pages/accordion/src/lib/demos/animated/animated.ts b/libs/doc-pages/accordion/src/lib/demos/animated/animated.ts index 6af8cdcb03..934530e234 100644 --- a/libs/doc-pages/accordion/src/lib/demos/animated/animated.ts +++ b/libs/doc-pages/accordion/src/lib/demos/animated/animated.ts @@ -3,6 +3,7 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-accordion-animation', - templateUrl: './animated.html' + templateUrl: './animated.html', + standalone: false }) export class DemoAccordionAnimatedComponent {} diff --git a/libs/doc-pages/accordion/src/lib/demos/basic/basic.ts b/libs/doc-pages/accordion/src/lib/demos/basic/basic.ts index 1de8fc30e8..dd66bb9943 100644 --- a/libs/doc-pages/accordion/src/lib/demos/basic/basic.ts +++ b/libs/doc-pages/accordion/src/lib/demos/basic/basic.ts @@ -3,6 +3,7 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-accordion-basic', - templateUrl: './basic.html' + templateUrl: './basic.html', + standalone: false }) export class DemoAccordionBasicComponent {} diff --git a/libs/doc-pages/accordion/src/lib/demos/config/config.ts b/libs/doc-pages/accordion/src/lib/demos/config/config.ts index 3fc737610b..1f282c48ee 100644 --- a/libs/doc-pages/accordion/src/lib/demos/config/config.ts +++ b/libs/doc-pages/accordion/src/lib/demos/config/config.ts @@ -11,6 +11,7 @@ export function getAccordionConfig(): AccordionConfig { // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-accordion-config', templateUrl: './config.html', - providers: [{ provide: AccordionConfig, useFactory: getAccordionConfig }] + providers: [{ provide: AccordionConfig, useFactory: getAccordionConfig }], + standalone: false }) export class DemoAccordionConfigComponent {} diff --git a/libs/doc-pages/accordion/src/lib/demos/custom-html/custom-html.ts b/libs/doc-pages/accordion/src/lib/demos/custom-html/custom-html.ts index 3c68038d3a..46423d718a 100644 --- a/libs/doc-pages/accordion/src/lib/demos/custom-html/custom-html.ts +++ b/libs/doc-pages/accordion/src/lib/demos/custom-html/custom-html.ts @@ -4,7 +4,8 @@ import { getBsVer, IBsVersion } from 'ngx-bootstrap/utils'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-accordion-custom-html', - templateUrl: './custom-html.html' + templateUrl: './custom-html.html', + standalone: false }) export class DemoAccordionCustomHTMLComponent { get _getBsVer(): IBsVersion { diff --git a/libs/doc-pages/accordion/src/lib/demos/disabled/disabled.ts b/libs/doc-pages/accordion/src/lib/demos/disabled/disabled.ts index 781a5003d3..811afb3bcd 100644 --- a/libs/doc-pages/accordion/src/lib/demos/disabled/disabled.ts +++ b/libs/doc-pages/accordion/src/lib/demos/disabled/disabled.ts @@ -3,7 +3,8 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-accordion-disabled', - templateUrl: './disabled.html' + templateUrl: './disabled.html', + standalone: false }) export class DemoAccordionDisabledComponent { isFirstDisabled = false; diff --git a/libs/doc-pages/accordion/src/lib/demos/dymanic/dynamic.ts b/libs/doc-pages/accordion/src/lib/demos/dymanic/dynamic.ts index 823aa83ceb..a33d9c1de0 100644 --- a/libs/doc-pages/accordion/src/lib/demos/dymanic/dynamic.ts +++ b/libs/doc-pages/accordion/src/lib/demos/dymanic/dynamic.ts @@ -3,7 +3,8 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-accordion-dynamic', - templateUrl: './dynamic.html' + templateUrl: './dynamic.html', + standalone: false }) export class DemoAccordionDynamicComponent { groups = [ diff --git a/libs/doc-pages/accordion/src/lib/demos/dynamic-body/dynamic-body.ts b/libs/doc-pages/accordion/src/lib/demos/dynamic-body/dynamic-body.ts index e00c018be2..7d86c7ee8f 100644 --- a/libs/doc-pages/accordion/src/lib/demos/dynamic-body/dynamic-body.ts +++ b/libs/doc-pages/accordion/src/lib/demos/dynamic-body/dynamic-body.ts @@ -3,7 +3,8 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-accordion-dynamic-body', - templateUrl: './dynamic-body.html' + templateUrl: './dynamic-body.html', + standalone: false }) export class DemoAccordionDynamicBodyComponent { items = ['Item 1', 'Item 2', 'Item 3']; diff --git a/libs/doc-pages/accordion/src/lib/demos/manual-toggle/manual-toggle.ts b/libs/doc-pages/accordion/src/lib/demos/manual-toggle/manual-toggle.ts index 84240ebc36..e0f348ac2e 100644 --- a/libs/doc-pages/accordion/src/lib/demos/manual-toggle/manual-toggle.ts +++ b/libs/doc-pages/accordion/src/lib/demos/manual-toggle/manual-toggle.ts @@ -3,7 +3,8 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-accordion-manual-toggle', - templateUrl: './manual-toggle.html' + templateUrl: './manual-toggle.html', + standalone: false }) export class DemoAccordionManualToggleComponent { isOpen = true; diff --git a/libs/doc-pages/accordion/src/lib/demos/one-at-a-time/one-at-a-time.ts b/libs/doc-pages/accordion/src/lib/demos/one-at-a-time/one-at-a-time.ts index e85baa8e65..82a6655f5d 100644 --- a/libs/doc-pages/accordion/src/lib/demos/one-at-a-time/one-at-a-time.ts +++ b/libs/doc-pages/accordion/src/lib/demos/one-at-a-time/one-at-a-time.ts @@ -3,7 +3,8 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-accordion-one-time', - templateUrl: './one-at-a-time.html' + templateUrl: './one-at-a-time.html', + standalone: false }) export class DemoAccordionOneAtATimeComponent { oneAtATime = true; diff --git a/libs/doc-pages/accordion/src/lib/demos/open-event/open-event.ts b/libs/doc-pages/accordion/src/lib/demos/open-event/open-event.ts index 58d417d16a..46b391e5c1 100644 --- a/libs/doc-pages/accordion/src/lib/demos/open-event/open-event.ts +++ b/libs/doc-pages/accordion/src/lib/demos/open-event/open-event.ts @@ -3,7 +3,8 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-accordion-open-event', - templateUrl: './open-event.html' + templateUrl: './open-event.html', + standalone: false }) export class DemoAccordionOpenEventComponent { log(event: boolean) { diff --git a/libs/doc-pages/accordion/src/lib/demos/opened/opened.ts b/libs/doc-pages/accordion/src/lib/demos/opened/opened.ts index eb8ac119c4..6cfd9c6411 100644 --- a/libs/doc-pages/accordion/src/lib/demos/opened/opened.ts +++ b/libs/doc-pages/accordion/src/lib/demos/opened/opened.ts @@ -3,7 +3,8 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-accordion-opened', - templateUrl: './opened.html' + templateUrl: './opened.html', + standalone: false }) export class DemoAccordionOpenedComponent { isFirstOpen = true; diff --git a/libs/doc-pages/accordion/src/lib/demos/styling/styling.ts b/libs/doc-pages/accordion/src/lib/demos/styling/styling.ts index b7b997944c..b7b468b5ae 100644 --- a/libs/doc-pages/accordion/src/lib/demos/styling/styling.ts +++ b/libs/doc-pages/accordion/src/lib/demos/styling/styling.ts @@ -3,7 +3,8 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-accordion-styling', - templateUrl: './styling.html' + templateUrl: './styling.html', + standalone: false }) export class DemoAccordionStylingComponent { customClass = 'customClass'; diff --git a/libs/doc-pages/alerts/.eslintrc.json b/libs/doc-pages/alerts/.eslintrc.json index bd058c58c3..8ed2553216 100644 --- a/libs/doc-pages/alerts/.eslintrc.json +++ b/libs/doc-pages/alerts/.eslintrc.json @@ -35,6 +35,9 @@ "prefix": "ngx-bootstrap-base", "style": "kebab-case" } + ], + "@angular-eslint/prefer-standalone": [ + "off" ] } }, diff --git a/libs/doc-pages/alerts/src/lib/alerts-section.component.ts b/libs/doc-pages/alerts/src/lib/alerts-section.component.ts index 6b602ab6d9..b0b2309983 100644 --- a/libs/doc-pages/alerts/src/lib/alerts-section.component.ts +++ b/libs/doc-pages/alerts/src/lib/alerts-section.component.ts @@ -7,7 +7,8 @@ import { ContentSection } from '@ngx-bootstrap-doc/docs'; // eslint-disable-next-line @angular-eslint/component-selector selector: 'alert-section', templateUrl: './alerts-section.component.html', - changeDetection: ChangeDetectionStrategy.OnPush + changeDetection: ChangeDetectionStrategy.OnPush, + standalone: false }) export class AlertsSectionComponent { name = 'Alerts'; diff --git a/libs/doc-pages/alerts/src/lib/demos/basic/basic.ts b/libs/doc-pages/alerts/src/lib/demos/basic/basic.ts index 4c3419737d..31d64c9d3f 100644 --- a/libs/doc-pages/alerts/src/lib/demos/basic/basic.ts +++ b/libs/doc-pages/alerts/src/lib/demos/basic/basic.ts @@ -3,6 +3,7 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-alert-basic', - templateUrl: './basic.html' + templateUrl: './basic.html', + standalone: false }) export class DemoAlertBasicComponent {} diff --git a/libs/doc-pages/alerts/src/lib/demos/config/config.ts b/libs/doc-pages/alerts/src/lib/demos/config/config.ts index 03b9dd22eb..95625a82fe 100644 --- a/libs/doc-pages/alerts/src/lib/demos/config/config.ts +++ b/libs/doc-pages/alerts/src/lib/demos/config/config.ts @@ -11,6 +11,7 @@ export function getAlertConfig(): AlertConfig { // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-alert-config', templateUrl: './config.html', - providers: [{ provide: AlertConfig, useFactory: getAlertConfig }] + providers: [{ provide: AlertConfig, useFactory: getAlertConfig }], + standalone: false }) export class DemoAlertConfigComponent {} diff --git a/libs/doc-pages/alerts/src/lib/demos/content/content.ts b/libs/doc-pages/alerts/src/lib/demos/content/content.ts index 55effffe9b..d7954ebaee 100644 --- a/libs/doc-pages/alerts/src/lib/demos/content/content.ts +++ b/libs/doc-pages/alerts/src/lib/demos/content/content.ts @@ -3,6 +3,7 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-alert-content', - templateUrl: './content.html' + templateUrl: './content.html', + standalone: false }) export class DemoAlertContentComponent {} diff --git a/libs/doc-pages/alerts/src/lib/demos/dismiss-on-timeout/dismiss-on-timeout.ts b/libs/doc-pages/alerts/src/lib/demos/dismiss-on-timeout/dismiss-on-timeout.ts index 17767a7d67..a84fa5d9e5 100644 --- a/libs/doc-pages/alerts/src/lib/demos/dismiss-on-timeout/dismiss-on-timeout.ts +++ b/libs/doc-pages/alerts/src/lib/demos/dismiss-on-timeout/dismiss-on-timeout.ts @@ -5,7 +5,8 @@ type ExampleAlertType = { type: string; msg: string; timeout: number }; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-alert-timeout', - templateUrl: './dismiss-on-timeout.html' + templateUrl: './dismiss-on-timeout.html', + standalone: false }) export class DemoAlertTimeoutComponent { alerts: ExampleAlertType[] = [ diff --git a/libs/doc-pages/alerts/src/lib/demos/dismiss/dismiss.ts b/libs/doc-pages/alerts/src/lib/demos/dismiss/dismiss.ts index 45ab83afa1..1165699350 100644 --- a/libs/doc-pages/alerts/src/lib/demos/dismiss/dismiss.ts +++ b/libs/doc-pages/alerts/src/lib/demos/dismiss/dismiss.ts @@ -5,7 +5,8 @@ type ExampleAlertType = { type: string; msg: string }; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-alert-dismiss', - templateUrl: './dismiss.html' + templateUrl: './dismiss.html', + standalone: false }) export class DemoAlertDismissComponent { dismissible = true; diff --git a/libs/doc-pages/alerts/src/lib/demos/dynamic-content/dynamic-content.ts b/libs/doc-pages/alerts/src/lib/demos/dynamic-content/dynamic-content.ts index 7e15e5b52d..fa330bb53b 100644 --- a/libs/doc-pages/alerts/src/lib/demos/dynamic-content/dynamic-content.ts +++ b/libs/doc-pages/alerts/src/lib/demos/dynamic-content/dynamic-content.ts @@ -3,7 +3,8 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-alert-content-html', - templateUrl: './dynamic-content.html' + templateUrl: './dynamic-content.html', + standalone: false }) export class DemoAlertDynamicContentComponent { index = 0; diff --git a/libs/doc-pages/alerts/src/lib/demos/dynamic-html/dynamic-html.ts b/libs/doc-pages/alerts/src/lib/demos/dynamic-html/dynamic-html.ts index df985cb8a2..e02fc5fbb4 100644 --- a/libs/doc-pages/alerts/src/lib/demos/dynamic-html/dynamic-html.ts +++ b/libs/doc-pages/alerts/src/lib/demos/dynamic-html/dynamic-html.ts @@ -6,7 +6,8 @@ type ExampleAlertType = { type: string; msg: SafeHtml }; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-alert-dynamic-html', - templateUrl: './dynamic-html.html' + templateUrl: './dynamic-html.html', + standalone: false }) export class DemoAlertDynamicHtmlComponent { alerts: ExampleAlertType[]; diff --git a/libs/doc-pages/alerts/src/lib/demos/link/link.ts b/libs/doc-pages/alerts/src/lib/demos/link/link.ts index 85d0f0cb28..552aec0801 100644 --- a/libs/doc-pages/alerts/src/lib/demos/link/link.ts +++ b/libs/doc-pages/alerts/src/lib/demos/link/link.ts @@ -3,6 +3,7 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-alert-link', - templateUrl: './link.html' + templateUrl: './link.html', + standalone: false }) export class DemoAlertLinkComponent {} diff --git a/libs/doc-pages/alerts/src/lib/demos/styling-global/styling-global.ts b/libs/doc-pages/alerts/src/lib/demos/styling-global/styling-global.ts index f064783d5c..aec8749383 100644 --- a/libs/doc-pages/alerts/src/lib/demos/styling-global/styling-global.ts +++ b/libs/doc-pages/alerts/src/lib/demos/styling-global/styling-global.ts @@ -4,6 +4,7 @@ import { Component, ViewEncapsulation } from '@angular/core'; // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-alert-styling-global', templateUrl: './styling-global.html', - encapsulation: ViewEncapsulation.None + encapsulation: ViewEncapsulation.None, + standalone: false }) export class DemoAlertStylingGlobalComponent {} diff --git a/libs/doc-pages/alerts/src/lib/demos/styling-local/styling-local.ts b/libs/doc-pages/alerts/src/lib/demos/styling-local/styling-local.ts index 94c9aaa212..dcff39e673 100644 --- a/libs/doc-pages/alerts/src/lib/demos/styling-local/styling-local.ts +++ b/libs/doc-pages/alerts/src/lib/demos/styling-local/styling-local.ts @@ -12,6 +12,7 @@ import { Component } from '@angular/core'; color: #fff; } ` - ] + ], + standalone: false }) export class DemoAlertStylingLocalComponent {} diff --git a/libs/doc-pages/buttons/.eslintrc.json b/libs/doc-pages/buttons/.eslintrc.json index 3cc2c6ac50..a7a81504c2 100644 --- a/libs/doc-pages/buttons/.eslintrc.json +++ b/libs/doc-pages/buttons/.eslintrc.json @@ -35,6 +35,9 @@ "prefix": "ngx-bootstrap-base", "style": "kebab-case" } + ], + "@angular-eslint/prefer-standalone": [ + "off" ] } }, diff --git a/libs/doc-pages/buttons/src/lib/buttons-section.component.ts b/libs/doc-pages/buttons/src/lib/buttons-section.component.ts index 829f6aecc9..58d6931e1b 100644 --- a/libs/doc-pages/buttons/src/lib/buttons-section.component.ts +++ b/libs/doc-pages/buttons/src/lib/buttons-section.component.ts @@ -7,7 +7,8 @@ import { ContentSection } from '@ngx-bootstrap-doc/docs'; // eslint-disable-next-line @angular-eslint/component-selector selector: 'buttons-section', templateUrl: './buttons-section.component.html', - changeDetection: ChangeDetectionStrategy.OnPush + changeDetection: ChangeDetectionStrategy.OnPush, + standalone: false }) export class ButtonsSectionComponent { name = 'Buttons'; diff --git a/libs/doc-pages/buttons/src/lib/demos/basic/basic.ts b/libs/doc-pages/buttons/src/lib/demos/basic/basic.ts index bb090298f7..140d72d161 100644 --- a/libs/doc-pages/buttons/src/lib/demos/basic/basic.ts +++ b/libs/doc-pages/buttons/src/lib/demos/basic/basic.ts @@ -3,6 +3,7 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-buttons-basic', - templateUrl: './basic.html' + templateUrl: './basic.html', + standalone: false }) export class DemoButtonsBasicComponent {} diff --git a/libs/doc-pages/buttons/src/lib/demos/checkbox-reactiveforms/checkbox-reactiveforms.ts b/libs/doc-pages/buttons/src/lib/demos/checkbox-reactiveforms/checkbox-reactiveforms.ts index 910e7e4488..2aad3143b2 100644 --- a/libs/doc-pages/buttons/src/lib/demos/checkbox-reactiveforms/checkbox-reactiveforms.ts +++ b/libs/doc-pages/buttons/src/lib/demos/checkbox-reactiveforms/checkbox-reactiveforms.ts @@ -4,7 +4,8 @@ import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-buttons-checkbox-reactiveforms', - templateUrl: './checkbox-reactiveforms.html' + templateUrl: './checkbox-reactiveforms.html', + standalone: false }) export class DemoButtonsCheckboxReactiveFormsComponent implements OnInit { myForm?: UntypedFormGroup; diff --git a/libs/doc-pages/buttons/src/lib/demos/checkbox/checkbox.ts b/libs/doc-pages/buttons/src/lib/demos/checkbox/checkbox.ts index 7b4e6417d4..3288d5f456 100644 --- a/libs/doc-pages/buttons/src/lib/demos/checkbox/checkbox.ts +++ b/libs/doc-pages/buttons/src/lib/demos/checkbox/checkbox.ts @@ -3,7 +3,8 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-buttons-checkbox', - templateUrl: './checkbox.html' + templateUrl: './checkbox.html', + standalone: false }) export class DemoButtonsCheckboxComponent { checkModel: { left?: boolean; middle?: boolean; right?: boolean } = { left: false, middle: true, right: false }; diff --git a/libs/doc-pages/buttons/src/lib/demos/custom-checkbox-value/custom-checkbox-value.ts b/libs/doc-pages/buttons/src/lib/demos/custom-checkbox-value/custom-checkbox-value.ts index 7b2f6f9039..4c2b6cf42a 100644 --- a/libs/doc-pages/buttons/src/lib/demos/custom-checkbox-value/custom-checkbox-value.ts +++ b/libs/doc-pages/buttons/src/lib/demos/custom-checkbox-value/custom-checkbox-value.ts @@ -3,7 +3,8 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-custom-checkbox-value', - templateUrl: './custom-checkbox-value.html' + templateUrl: './custom-checkbox-value.html', + standalone: false }) export class DemoButtonsCustomCheckboxValueComponent { singleModel = '1'; diff --git a/libs/doc-pages/buttons/src/lib/demos/disabled/disabled.ts b/libs/doc-pages/buttons/src/lib/demos/disabled/disabled.ts index 2ab03a89c1..c2915f4e06 100644 --- a/libs/doc-pages/buttons/src/lib/demos/disabled/disabled.ts +++ b/libs/doc-pages/buttons/src/lib/demos/disabled/disabled.ts @@ -3,7 +3,8 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-buttons-disabled', - templateUrl: './disabled.html' + templateUrl: './disabled.html', + standalone: false }) export class DemoButtonsDisabledComponent { disabled = false; diff --git a/libs/doc-pages/buttons/src/lib/demos/radio-reactiveforms/radio-reactiveforms.ts b/libs/doc-pages/buttons/src/lib/demos/radio-reactiveforms/radio-reactiveforms.ts index 2e4c62e025..370dd9cdae 100644 --- a/libs/doc-pages/buttons/src/lib/demos/radio-reactiveforms/radio-reactiveforms.ts +++ b/libs/doc-pages/buttons/src/lib/demos/radio-reactiveforms/radio-reactiveforms.ts @@ -4,7 +4,8 @@ import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-buttons-radio-reactiveforms', - templateUrl: './radio-reactiveforms.html' + templateUrl: './radio-reactiveforms.html', + standalone: false }) export class DemoButtonsRadioReactiveFormsComponent implements OnInit { myForm?: UntypedFormGroup; diff --git a/libs/doc-pages/buttons/src/lib/demos/radio-with-group/radio-with-group.ts b/libs/doc-pages/buttons/src/lib/demos/radio-with-group/radio-with-group.ts index 42514c401e..c836ed8262 100644 --- a/libs/doc-pages/buttons/src/lib/demos/radio-with-group/radio-with-group.ts +++ b/libs/doc-pages/buttons/src/lib/demos/radio-with-group/radio-with-group.ts @@ -3,7 +3,8 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-buttons-radio-with-group', - templateUrl: './radio-with-group.html' + templateUrl: './radio-with-group.html', + standalone: false }) export class DemoButtonsRadioWithGroupComponent { radioModel = 'Middle'; diff --git a/libs/doc-pages/buttons/src/lib/demos/radio/radio.ts b/libs/doc-pages/buttons/src/lib/demos/radio/radio.ts index 140adb3a99..f746fbdd04 100644 --- a/libs/doc-pages/buttons/src/lib/demos/radio/radio.ts +++ b/libs/doc-pages/buttons/src/lib/demos/radio/radio.ts @@ -3,7 +3,8 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-buttons-radio', - templateUrl: './radio.html' + templateUrl: './radio.html', + standalone: false }) export class DemoButtonsRadioComponent { radioModel = 'Middle'; diff --git a/libs/doc-pages/buttons/src/lib/demos/uncheckable-radio/uncheckable-radio.ts b/libs/doc-pages/buttons/src/lib/demos/uncheckable-radio/uncheckable-radio.ts index c94ba384fc..b3edebd783 100644 --- a/libs/doc-pages/buttons/src/lib/demos/uncheckable-radio/uncheckable-radio.ts +++ b/libs/doc-pages/buttons/src/lib/demos/uncheckable-radio/uncheckable-radio.ts @@ -3,7 +3,8 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-buttons-radio-uncheckable', - templateUrl: './uncheckable-radio.html' + templateUrl: './uncheckable-radio.html', + standalone: false }) export class DemoButtonsUncheckableRadioComponent { uncheckableRadioModel = 'Middle'; diff --git a/libs/doc-pages/carousel/.eslintrc.json b/libs/doc-pages/carousel/.eslintrc.json index 985e7d0386..35e94445f4 100644 --- a/libs/doc-pages/carousel/.eslintrc.json +++ b/libs/doc-pages/carousel/.eslintrc.json @@ -35,6 +35,9 @@ "prefix": "ngx-bootstrap-base", "style": "kebab-case" } + ], + "@angular-eslint/prefer-standalone": [ + "off" ] } }, diff --git a/libs/doc-pages/carousel/src/lib/carousel-section.component.ts b/libs/doc-pages/carousel/src/lib/carousel-section.component.ts index d0824ea3ea..1dfc5810c4 100644 --- a/libs/doc-pages/carousel/src/lib/carousel-section.component.ts +++ b/libs/doc-pages/carousel/src/lib/carousel-section.component.ts @@ -6,7 +6,8 @@ import { ContentSection } from '@ngx-bootstrap-doc/docs'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'carousel-section', - templateUrl: './carousel-section.component.html' + templateUrl: './carousel-section.component.html', + standalone: false }) export class CarouselSectionComponent { name = 'Carousel'; diff --git a/libs/doc-pages/carousel/src/lib/demos/accessibility/accessibility.ts b/libs/doc-pages/carousel/src/lib/demos/accessibility/accessibility.ts index 920088fc66..b456a1bdcd 100644 --- a/libs/doc-pages/carousel/src/lib/demos/accessibility/accessibility.ts +++ b/libs/doc-pages/carousel/src/lib/demos/accessibility/accessibility.ts @@ -3,6 +3,7 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-accessibility', - templateUrl: './accessibility.html' + templateUrl: './accessibility.html', + standalone: false }) export class DemoAccessibilityComponent {} diff --git a/libs/doc-pages/carousel/src/lib/demos/animated/animated.ts b/libs/doc-pages/carousel/src/lib/demos/animated/animated.ts index 25bd2b6037..d81e35120d 100644 --- a/libs/doc-pages/carousel/src/lib/demos/animated/animated.ts +++ b/libs/doc-pages/carousel/src/lib/demos/animated/animated.ts @@ -3,6 +3,7 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-carousel-animated', - templateUrl: './animated.html' + templateUrl: './animated.html', + standalone: false }) export class DemoCarouseAnimatedComponent {} diff --git a/libs/doc-pages/carousel/src/lib/demos/basic/basic.ts b/libs/doc-pages/carousel/src/lib/demos/basic/basic.ts index 9355a6c5b7..139af65bfd 100644 --- a/libs/doc-pages/carousel/src/lib/demos/basic/basic.ts +++ b/libs/doc-pages/carousel/src/lib/demos/basic/basic.ts @@ -3,6 +3,7 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-carousel-basic', - templateUrl: './basic.html' + templateUrl: './basic.html', + standalone: false }) export class DemoCarouseBasicComponent {} diff --git a/libs/doc-pages/carousel/src/lib/demos/captions/captions.ts b/libs/doc-pages/carousel/src/lib/demos/captions/captions.ts index a5bf5bd388..ae867a2968 100644 --- a/libs/doc-pages/carousel/src/lib/demos/captions/captions.ts +++ b/libs/doc-pages/carousel/src/lib/demos/captions/captions.ts @@ -3,6 +3,7 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-carousel-captions', - templateUrl: './captions.html' + templateUrl: './captions.html', + standalone: false }) export class DemoCarouselCaptionsComponent {} diff --git a/libs/doc-pages/carousel/src/lib/demos/config/config.ts b/libs/doc-pages/carousel/src/lib/demos/config/config.ts index b39d339a02..3108cc9353 100644 --- a/libs/doc-pages/carousel/src/lib/demos/config/config.ts +++ b/libs/doc-pages/carousel/src/lib/demos/config/config.ts @@ -7,6 +7,7 @@ import { CarouselConfig } from 'ngx-bootstrap/carousel'; templateUrl: './config.html', providers: [ { provide: CarouselConfig, useValue: { interval: 1500, noPause: true, showIndicators: true } } - ] + ], + standalone: false }) export class DemoCarouselConfigComponent {} diff --git a/libs/doc-pages/carousel/src/lib/demos/custom-content/custom-content.ts b/libs/doc-pages/carousel/src/lib/demos/custom-content/custom-content.ts index cf2e95ebae..8d302f1a4c 100644 --- a/libs/doc-pages/carousel/src/lib/demos/custom-content/custom-content.ts +++ b/libs/doc-pages/carousel/src/lib/demos/custom-content/custom-content.ts @@ -3,6 +3,7 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-carousel-custom-content', - templateUrl: './custom-content.html' + templateUrl: './custom-content.html', + standalone: false }) export class DemoCarouselCustomContentComponent {} diff --git a/libs/doc-pages/carousel/src/lib/demos/disable-indicator/disable-indicator.ts b/libs/doc-pages/carousel/src/lib/demos/disable-indicator/disable-indicator.ts index 8a6212d0ba..b2fd47b01c 100644 --- a/libs/doc-pages/carousel/src/lib/demos/disable-indicator/disable-indicator.ts +++ b/libs/doc-pages/carousel/src/lib/demos/disable-indicator/disable-indicator.ts @@ -3,7 +3,8 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-carousel-disable-indicator', - templateUrl: './disable-indicator.html' + templateUrl: './disable-indicator.html', + standalone: false }) export class DemoCarouselDisableIndicatorComponent { slides: {image: string; text?: string}[] = [ diff --git a/libs/doc-pages/carousel/src/lib/demos/disable-looping/disable-looping.ts b/libs/doc-pages/carousel/src/lib/demos/disable-looping/disable-looping.ts index 7356fa5fe4..27f3f7a481 100644 --- a/libs/doc-pages/carousel/src/lib/demos/disable-looping/disable-looping.ts +++ b/libs/doc-pages/carousel/src/lib/demos/disable-looping/disable-looping.ts @@ -3,7 +3,8 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-carousel-disable-looping', - templateUrl: './disable-looping.html' + templateUrl: './disable-looping.html', + standalone: false }) export class DemoCarouselDisableLoopingComponent { slides: {image: string; text?: string}[] = [ diff --git a/libs/doc-pages/carousel/src/lib/demos/dynamic/dynamic.ts b/libs/doc-pages/carousel/src/lib/demos/dynamic/dynamic.ts index 563b7d4ef8..01058bf621 100644 --- a/libs/doc-pages/carousel/src/lib/demos/dynamic/dynamic.ts +++ b/libs/doc-pages/carousel/src/lib/demos/dynamic/dynamic.ts @@ -3,7 +3,8 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-carousel-dynamic', - templateUrl: './dynamic.html' + templateUrl: './dynamic.html', + standalone: false }) export class DemoCarouselDynamicComponent { slides: { image: string; text?: string }[] = []; diff --git a/libs/doc-pages/carousel/src/lib/demos/index.ts b/libs/doc-pages/carousel/src/lib/demos/index.ts index d6a7f882f1..08a4cbbcde 100644 --- a/libs/doc-pages/carousel/src/lib/demos/index.ts +++ b/libs/doc-pages/carousel/src/lib/demos/index.ts @@ -25,7 +25,6 @@ export const DEMO_COMPONENTS = [ DemoCarouseBasicComponent, DemoCarouselCaptionsComponent, DemoCarouselConfigComponent, - DemoCarouselConfigComponent, DemoCarouselCustomContentComponent, DemoCarouselDisableIndicatorComponent, DemoCarouselDisableLoopingComponent, diff --git a/libs/doc-pages/carousel/src/lib/demos/interval/interval.ts b/libs/doc-pages/carousel/src/lib/demos/interval/interval.ts index 4b12f1e7e3..ccebe34ea6 100644 --- a/libs/doc-pages/carousel/src/lib/demos/interval/interval.ts +++ b/libs/doc-pages/carousel/src/lib/demos/interval/interval.ts @@ -3,7 +3,8 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-carousel-interval', - templateUrl: './interval.html' + templateUrl: './interval.html', + standalone: false }) export class DemoCarouselIntervalComponent { myInterval = 1500; diff --git a/libs/doc-pages/carousel/src/lib/demos/multilist-from-index/multilist-from-index.ts b/libs/doc-pages/carousel/src/lib/demos/multilist-from-index/multilist-from-index.ts index 8313104e31..80c3a3bbff 100644 --- a/libs/doc-pages/carousel/src/lib/demos/multilist-from-index/multilist-from-index.ts +++ b/libs/doc-pages/carousel/src/lib/demos/multilist-from-index/multilist-from-index.ts @@ -3,7 +3,8 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-carousel-multilist-from-index', - templateUrl: './multilist-from-index.html' + templateUrl: './multilist-from-index.html', + standalone: false }) export class DemoCarouselMultilistFromIndexComponent { itemsPerSlide = 5; diff --git a/libs/doc-pages/carousel/src/lib/demos/multilist-indicators-by-chunk/multilist-indicators-by-chunk.ts b/libs/doc-pages/carousel/src/lib/demos/multilist-indicators-by-chunk/multilist-indicators-by-chunk.ts index ca34b8afa7..016a4f5699 100644 --- a/libs/doc-pages/carousel/src/lib/demos/multilist-indicators-by-chunk/multilist-indicators-by-chunk.ts +++ b/libs/doc-pages/carousel/src/lib/demos/multilist-indicators-by-chunk/multilist-indicators-by-chunk.ts @@ -3,7 +3,8 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-carousel-multilist-indicators-by-chunk', - templateUrl: './multilist-indicators-by-chunk.html' + templateUrl: './multilist-indicators-by-chunk.html', + standalone: false }) export class DemoCarouselMultilistIndicatorsByChunkComponent { itemsPerSlide = 3; diff --git a/libs/doc-pages/carousel/src/lib/demos/multilist-single-offset/multilist-single-offset.ts b/libs/doc-pages/carousel/src/lib/demos/multilist-single-offset/multilist-single-offset.ts index a469381c33..afbd9e5782 100644 --- a/libs/doc-pages/carousel/src/lib/demos/multilist-single-offset/multilist-single-offset.ts +++ b/libs/doc-pages/carousel/src/lib/demos/multilist-single-offset/multilist-single-offset.ts @@ -3,7 +3,8 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-carousel-multilist-single-offset', - templateUrl: './multilist-single-offset.html' + templateUrl: './multilist-single-offset.html', + standalone: false }) export class DemoCarouselMultilistSingleOffsetComponent { itemsPerSlide = 5; diff --git a/libs/doc-pages/carousel/src/lib/demos/multilist/multilist.ts b/libs/doc-pages/carousel/src/lib/demos/multilist/multilist.ts index 2d9375b59f..05e806134e 100644 --- a/libs/doc-pages/carousel/src/lib/demos/multilist/multilist.ts +++ b/libs/doc-pages/carousel/src/lib/demos/multilist/multilist.ts @@ -3,7 +3,8 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-carousel-multilist', - templateUrl: './multilist.html' + templateUrl: './multilist.html', + standalone: false }) export class DemoCarouselMultilistComponent { itemsPerSlide = 3; diff --git a/libs/doc-pages/carousel/src/lib/demos/pause-on-focus/pause-on-focus.ts b/libs/doc-pages/carousel/src/lib/demos/pause-on-focus/pause-on-focus.ts index b0060865f6..848b3b474f 100644 --- a/libs/doc-pages/carousel/src/lib/demos/pause-on-focus/pause-on-focus.ts +++ b/libs/doc-pages/carousel/src/lib/demos/pause-on-focus/pause-on-focus.ts @@ -3,6 +3,7 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-carousel-pause-on-focus', - templateUrl: './pause-on-focus.html' + templateUrl: './pause-on-focus.html', + standalone: false }) export class DemoCarouselPauseOnFocusComponent {} diff --git a/libs/doc-pages/carousel/src/lib/demos/pause-on-hover/pause-on-hover.ts b/libs/doc-pages/carousel/src/lib/demos/pause-on-hover/pause-on-hover.ts index 8ffdc0e26b..9f7b764b17 100644 --- a/libs/doc-pages/carousel/src/lib/demos/pause-on-hover/pause-on-hover.ts +++ b/libs/doc-pages/carousel/src/lib/demos/pause-on-hover/pause-on-hover.ts @@ -3,6 +3,7 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-carousel-pause-on-hover', - templateUrl: './pause-on-hover.html' + templateUrl: './pause-on-hover.html', + standalone: false }) export class DemoCarouselPauseOnHoverComponent {} diff --git a/libs/doc-pages/carousel/src/lib/demos/slide-changed-event/slide-changed-event.ts b/libs/doc-pages/carousel/src/lib/demos/slide-changed-event/slide-changed-event.ts index 2c5772ee2c..af048c9c40 100644 --- a/libs/doc-pages/carousel/src/lib/demos/slide-changed-event/slide-changed-event.ts +++ b/libs/doc-pages/carousel/src/lib/demos/slide-changed-event/slide-changed-event.ts @@ -3,7 +3,8 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-carousel-slide-changed-event', - templateUrl: './slide-changed-event.html' + templateUrl: './slide-changed-event.html', + standalone: false }) export class DemoCarouselSlideChangedEventComponent { slideChangeMessage = ''; diff --git a/libs/doc-pages/collapse/.eslintrc.json b/libs/doc-pages/collapse/.eslintrc.json index ad4227d3bc..fbe3452942 100644 --- a/libs/doc-pages/collapse/.eslintrc.json +++ b/libs/doc-pages/collapse/.eslintrc.json @@ -35,6 +35,9 @@ "prefix": "ngx-bootstrap-base", "style": "kebab-case" } + ], + "@angular-eslint/prefer-standalone": [ + "off" ] } }, diff --git a/libs/doc-pages/collapse/src/lib/collapse-section.component.ts b/libs/doc-pages/collapse/src/lib/collapse-section.component.ts index b4fd6fb04f..a0b86b762d 100644 --- a/libs/doc-pages/collapse/src/lib/collapse-section.component.ts +++ b/libs/doc-pages/collapse/src/lib/collapse-section.component.ts @@ -7,7 +7,8 @@ import { ContentSection } from '@ngx-bootstrap-doc/docs'; // eslint-disable-next-line @angular-eslint/component-selector selector: 'collapse-section', templateUrl: './collapse-section.component.html', - changeDetection: ChangeDetectionStrategy.OnPush + changeDetection: ChangeDetectionStrategy.OnPush, + standalone: false }) export class CollapseSectionComponent { name = 'Collapse'; diff --git a/libs/doc-pages/collapse/src/lib/demos/accessibility/accessibility.ts b/libs/doc-pages/collapse/src/lib/demos/accessibility/accessibility.ts index 920088fc66..b456a1bdcd 100644 --- a/libs/doc-pages/collapse/src/lib/demos/accessibility/accessibility.ts +++ b/libs/doc-pages/collapse/src/lib/demos/accessibility/accessibility.ts @@ -3,6 +3,7 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-accessibility', - templateUrl: './accessibility.html' + templateUrl: './accessibility.html', + standalone: false }) export class DemoAccessibilityComponent {} diff --git a/libs/doc-pages/collapse/src/lib/demos/animated/animated.ts b/libs/doc-pages/collapse/src/lib/demos/animated/animated.ts index 7525417da9..0fd9da9ace 100644 --- a/libs/doc-pages/collapse/src/lib/demos/animated/animated.ts +++ b/libs/doc-pages/collapse/src/lib/demos/animated/animated.ts @@ -3,7 +3,8 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'collapse-demo-animation', - templateUrl: './animated.html' + templateUrl: './animated.html', + standalone: false }) export class CollapseDemoAnimatedComponent { isCollapsed = false; diff --git a/libs/doc-pages/collapse/src/lib/demos/basic/basic.ts b/libs/doc-pages/collapse/src/lib/demos/basic/basic.ts index 1ce2c3a350..17206536a8 100644 --- a/libs/doc-pages/collapse/src/lib/demos/basic/basic.ts +++ b/libs/doc-pages/collapse/src/lib/demos/basic/basic.ts @@ -3,7 +3,8 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'collapse-demo', - templateUrl: './basic.html' + templateUrl: './basic.html', + standalone: false }) export class CollapseDemoComponent { isCollapsed = false; diff --git a/libs/doc-pages/collapse/src/lib/demos/events/events.ts b/libs/doc-pages/collapse/src/lib/demos/events/events.ts index a36f071079..cd3f249ed0 100644 --- a/libs/doc-pages/collapse/src/lib/demos/events/events.ts +++ b/libs/doc-pages/collapse/src/lib/demos/events/events.ts @@ -3,7 +3,8 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'collapse-demo-events', - templateUrl: './events.html' + templateUrl: './events.html', + standalone: false }) export class CollapseDemoEventsComponent { isCollapsed = false; diff --git a/libs/doc-pages/collapse/src/lib/demos/inline-display/inline-display.ts b/libs/doc-pages/collapse/src/lib/demos/inline-display/inline-display.ts index 0f3a5a83ca..73ce027ae1 100644 --- a/libs/doc-pages/collapse/src/lib/demos/inline-display/inline-display.ts +++ b/libs/doc-pages/collapse/src/lib/demos/inline-display/inline-display.ts @@ -3,7 +3,8 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'inline-display-demo', - templateUrl: './inline-display.html' + templateUrl: './inline-display.html', + standalone: false }) export class InlineDisplayDemoComponent { isCollapsed = false; diff --git a/libs/doc-pages/collapse/src/lib/demos/toggle-manual/toggle-manual.ts b/libs/doc-pages/collapse/src/lib/demos/toggle-manual/toggle-manual.ts index 22092e3125..6792ebe1b9 100644 --- a/libs/doc-pages/collapse/src/lib/demos/toggle-manual/toggle-manual.ts +++ b/libs/doc-pages/collapse/src/lib/demos/toggle-manual/toggle-manual.ts @@ -3,7 +3,8 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'toggle-manual-demo', - templateUrl: './toggle-manual.html' + templateUrl: './toggle-manual.html', + standalone: false }) export class ToggleManualDemoComponent { isOpen = false; diff --git a/libs/doc-pages/datepicker/.eslintrc.json b/libs/doc-pages/datepicker/.eslintrc.json index 908e320c15..2d58d05d18 100644 --- a/libs/doc-pages/datepicker/.eslintrc.json +++ b/libs/doc-pages/datepicker/.eslintrc.json @@ -35,6 +35,9 @@ "prefix": "ngx-bootstrap-base", "style": "kebab-case" } + ], + "@angular-eslint/prefer-standalone": [ + "off" ] } }, diff --git a/libs/doc-pages/datepicker/src/lib/datepicker-section.component.ts b/libs/doc-pages/datepicker/src/lib/datepicker-section.component.ts index daf29af512..151a209137 100644 --- a/libs/doc-pages/datepicker/src/lib/datepicker-section.component.ts +++ b/libs/doc-pages/datepicker/src/lib/datepicker-section.component.ts @@ -9,7 +9,8 @@ import { ContentSection } from '@ngx-bootstrap-doc/docs'; // eslint-disable-next-line @angular-eslint/component-selector selector: 'datepicker-section', templateUrl: './datepicker-section.component.html', - changeDetection: ChangeDetectionStrategy.OnPush + changeDetection: ChangeDetectionStrategy.OnPush, + standalone: false }) export class DatepickerSectionComponent { name = 'Datepicker'; diff --git a/libs/doc-pages/datepicker/src/lib/demos/adaptive-position/adaptive-position.ts b/libs/doc-pages/datepicker/src/lib/demos/adaptive-position/adaptive-position.ts index f90e97c526..e9260c5556 100644 --- a/libs/doc-pages/datepicker/src/lib/demos/adaptive-position/adaptive-position.ts +++ b/libs/doc-pages/datepicker/src/lib/demos/adaptive-position/adaptive-position.ts @@ -3,6 +3,7 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-datepicker-adaptive-position', - templateUrl: './adaptive-position.html' + templateUrl: './adaptive-position.html', + standalone: false }) export class DemoDatePickerAdaptivePositionComponent {} diff --git a/libs/doc-pages/datepicker/src/lib/demos/animated/animated.ts b/libs/doc-pages/datepicker/src/lib/demos/animated/animated.ts index 0b5f1c1e7f..ca7864847d 100644 --- a/libs/doc-pages/datepicker/src/lib/demos/animated/animated.ts +++ b/libs/doc-pages/datepicker/src/lib/demos/animated/animated.ts @@ -3,6 +3,7 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-datepicker-animated', - templateUrl: './animated.html' + templateUrl: './animated.html', + standalone: false }) export class DemoDatePickerAnimatedComponent {} diff --git a/libs/doc-pages/datepicker/src/lib/demos/basic/basic.ts b/libs/doc-pages/datepicker/src/lib/demos/basic/basic.ts index 82220f23da..6e69d9f399 100644 --- a/libs/doc-pages/datepicker/src/lib/demos/basic/basic.ts +++ b/libs/doc-pages/datepicker/src/lib/demos/basic/basic.ts @@ -3,6 +3,7 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-datepicker-basic', - templateUrl: './basic.html' + templateUrl: './basic.html', + standalone: false }) export class DemoDatepickerBasicComponent {} diff --git a/libs/doc-pages/datepicker/src/lib/demos/change-locale/change-locale.ts b/libs/doc-pages/datepicker/src/lib/demos/change-locale/change-locale.ts index b693d0831c..d523860264 100644 --- a/libs/doc-pages/datepicker/src/lib/demos/change-locale/change-locale.ts +++ b/libs/doc-pages/datepicker/src/lib/demos/change-locale/change-locale.ts @@ -5,7 +5,8 @@ import { listLocales } from 'ngx-bootstrap/chronos'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-datepicker-change-locale', - templateUrl: './change-locale.html' + templateUrl: './change-locale.html', + standalone: false }) export class DemoDatepickerChangeLocaleComponent { locale = 'en'; diff --git a/libs/doc-pages/datepicker/src/lib/demos/clear-button/clear-button.ts b/libs/doc-pages/datepicker/src/lib/demos/clear-button/clear-button.ts index 445fddf64a..1d4721ac5c 100644 --- a/libs/doc-pages/datepicker/src/lib/demos/clear-button/clear-button.ts +++ b/libs/doc-pages/datepicker/src/lib/demos/clear-button/clear-button.ts @@ -3,6 +3,7 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-datepicker-clear-button', - templateUrl: './clear-button.html' + templateUrl: './clear-button.html', + standalone: false }) export class DemoDatepickerClearButtonComponent {} diff --git a/libs/doc-pages/datepicker/src/lib/demos/closeBehaviour/datepicker-close-behavior.ts b/libs/doc-pages/datepicker/src/lib/demos/closeBehaviour/datepicker-close-behavior.ts index 5bf8337e99..1ef384d45b 100644 --- a/libs/doc-pages/datepicker/src/lib/demos/closeBehaviour/datepicker-close-behavior.ts +++ b/libs/doc-pages/datepicker/src/lib/demos/closeBehaviour/datepicker-close-behavior.ts @@ -3,7 +3,8 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'datepicker-close-behavior', - templateUrl: './datepicker-close-behavior.html' + templateUrl: './datepicker-close-behavior.html', + standalone: false }) export class DatepickerCloseBehaviorComponent { } diff --git a/libs/doc-pages/datepicker/src/lib/demos/color-theming/color-theming.ts b/libs/doc-pages/datepicker/src/lib/demos/color-theming/color-theming.ts index f7d499fe16..c5922685a8 100644 --- a/libs/doc-pages/datepicker/src/lib/demos/color-theming/color-theming.ts +++ b/libs/doc-pages/datepicker/src/lib/demos/color-theming/color-theming.ts @@ -4,7 +4,8 @@ import { BsDatepickerConfig, BsDatepickerDirective } from 'ngx-bootstrap/datepic @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-datepicker-color-theming', - templateUrl: './color-theming.html' + templateUrl: './color-theming.html', + standalone: false }) export class DemoDatepickerColorThemingComponent { colorTheme = 'theme-green'; diff --git a/libs/doc-pages/datepicker/src/lib/demos/config-method/config-method.ts b/libs/doc-pages/datepicker/src/lib/demos/config-method/config-method.ts index 27243684d6..5b7c52fc26 100644 --- a/libs/doc-pages/datepicker/src/lib/demos/config-method/config-method.ts +++ b/libs/doc-pages/datepicker/src/lib/demos/config-method/config-method.ts @@ -4,7 +4,8 @@ import { BsDaterangepickerDirective, BsDatepickerConfig } from 'ngx-bootstrap/da @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-datepicker-config-method', - templateUrl: './config-method.html' + templateUrl: './config-method.html', + standalone: false }) export class DemoDatepickerConfigMethodComponent { @ViewChild('dp', { static: false }) datepicker?: BsDaterangepickerDirective; diff --git a/libs/doc-pages/datepicker/src/lib/demos/config-object/config-object.ts b/libs/doc-pages/datepicker/src/lib/demos/config-object/config-object.ts index fe0997f204..872cb78dd0 100644 --- a/libs/doc-pages/datepicker/src/lib/demos/config-object/config-object.ts +++ b/libs/doc-pages/datepicker/src/lib/demos/config-object/config-object.ts @@ -3,6 +3,7 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-datepicker-config-object', - templateUrl: './config-object.html' + templateUrl: './config-object.html', + standalone: false }) export class DemoDatePickerConfigObjectComponent {} diff --git a/libs/doc-pages/datepicker/src/lib/demos/custom-format/custom-format.ts b/libs/doc-pages/datepicker/src/lib/demos/custom-format/custom-format.ts index 56bbde0ab7..c1c7b47646 100644 --- a/libs/doc-pages/datepicker/src/lib/demos/custom-format/custom-format.ts +++ b/libs/doc-pages/datepicker/src/lib/demos/custom-format/custom-format.ts @@ -4,7 +4,8 @@ import { UntypedFormControl, UntypedFormGroup } from '@angular/forms'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-date-picker-custom-format', - templateUrl: './custom-format.html' + templateUrl: './custom-format.html', + standalone: false }) export class DemoDatePickerCustomFormatComponent { currentDate = new Date(); diff --git a/libs/doc-pages/datepicker/src/lib/demos/custom-today-class/custom-today-class.component.ts b/libs/doc-pages/datepicker/src/lib/demos/custom-today-class/custom-today-class.component.ts index 58bb4d579b..0e64de34bc 100644 --- a/libs/doc-pages/datepicker/src/lib/demos/custom-today-class/custom-today-class.component.ts +++ b/libs/doc-pages/datepicker/src/lib/demos/custom-today-class/custom-today-class.component.ts @@ -3,6 +3,7 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-datepicker-custom-today-class', - templateUrl: './custom-today-class.component.html' + templateUrl: './custom-today-class.component.html', + standalone: false }) export class DemoDatepickerCustomTodayClassComponent { } diff --git a/libs/doc-pages/datepicker/src/lib/demos/date-custom-classes/date-custom-classes.ts b/libs/doc-pages/datepicker/src/lib/demos/date-custom-classes/date-custom-classes.ts index 17b55aa4d2..b14f49a82b 100644 --- a/libs/doc-pages/datepicker/src/lib/demos/date-custom-classes/date-custom-classes.ts +++ b/libs/doc-pages/datepicker/src/lib/demos/date-custom-classes/date-custom-classes.ts @@ -5,7 +5,8 @@ import { DatepickerDateCustomClasses } from 'ngx-bootstrap/datepicker'; // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-datepicker-date-custom-classes', templateUrl: './date-custom-classes.html', - styleUrls: ['./date-custom-classes.scss'] + styleUrls: ['./date-custom-classes.scss'], + standalone: false }) export class DemoDatepickerDateCustomClassesComponent { dateCustomClasses: DatepickerDateCustomClasses[]; diff --git a/libs/doc-pages/datepicker/src/lib/demos/date-initial-state/date-initial-state.ts b/libs/doc-pages/datepicker/src/lib/demos/date-initial-state/date-initial-state.ts index 022694fcc0..be2c2f8efc 100644 --- a/libs/doc-pages/datepicker/src/lib/demos/date-initial-state/date-initial-state.ts +++ b/libs/doc-pages/datepicker/src/lib/demos/date-initial-state/date-initial-state.ts @@ -3,7 +3,8 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-datepicker-date-initial-state', - templateUrl: './date-initial-state.html' + templateUrl: './date-initial-state.html', + standalone: false }) export class DemoDatepickerDateInitialStateComponent { bsValue = new Date(); diff --git a/libs/doc-pages/datepicker/src/lib/demos/daterangepicker-display-one-month/display-one-month.ts b/libs/doc-pages/datepicker/src/lib/demos/daterangepicker-display-one-month/display-one-month.ts index 1571735837..1d12989785 100644 --- a/libs/doc-pages/datepicker/src/lib/demos/daterangepicker-display-one-month/display-one-month.ts +++ b/libs/doc-pages/datepicker/src/lib/demos/daterangepicker-display-one-month/display-one-month.ts @@ -3,7 +3,8 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-daterangepicker-display-one-month', - templateUrl: './display-one-month.html' + templateUrl: './display-one-month.html', + standalone: false }) // eslint-disable-next-line @angular-eslint/component-class-suffix export class DemoDateRangePickerDisplayOneMonth { diff --git a/libs/doc-pages/datepicker/src/lib/demos/daterangepicker-show-previous-month/show-previous-month.ts b/libs/doc-pages/datepicker/src/lib/demos/daterangepicker-show-previous-month/show-previous-month.ts index 76dd90bd84..cc0e68403f 100644 --- a/libs/doc-pages/datepicker/src/lib/demos/daterangepicker-show-previous-month/show-previous-month.ts +++ b/libs/doc-pages/datepicker/src/lib/demos/daterangepicker-show-previous-month/show-previous-month.ts @@ -3,7 +3,8 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-daterangepicker-show-previous-month', - templateUrl: './show-previous-month.html' + templateUrl: './show-previous-month.html', + standalone: false }) // eslint-disable-next-line @angular-eslint/component-class-suffix export class DemoDateRangePickerShowPreviousMonth {} diff --git a/libs/doc-pages/datepicker/src/lib/demos/disable-dates/disable-dates.ts b/libs/doc-pages/datepicker/src/lib/demos/disable-dates/disable-dates.ts index 350b38458f..af60c0cc09 100644 --- a/libs/doc-pages/datepicker/src/lib/demos/disable-dates/disable-dates.ts +++ b/libs/doc-pages/datepicker/src/lib/demos/disable-dates/disable-dates.ts @@ -3,7 +3,8 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-datepicker-datesdisabled', - templateUrl: './disable-dates.html' + templateUrl: './disable-dates.html', + standalone: false }) export class DemoDatepickerDatesDisabledComponent { disabledDates = [ diff --git a/libs/doc-pages/datepicker/src/lib/demos/disable-days/disable-days.ts b/libs/doc-pages/datepicker/src/lib/demos/disable-days/disable-days.ts index b79fcb8de9..f94d17941a 100644 --- a/libs/doc-pages/datepicker/src/lib/demos/disable-days/disable-days.ts +++ b/libs/doc-pages/datepicker/src/lib/demos/disable-days/disable-days.ts @@ -3,6 +3,7 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-datepicker-daysdisabled', - templateUrl: './disable-days.html' + templateUrl: './disable-days.html', + standalone: false }) export class DemoDatepickerDaysDisabledComponent {} diff --git a/libs/doc-pages/datepicker/src/lib/demos/disabled/disabled.component.ts b/libs/doc-pages/datepicker/src/lib/demos/disabled/disabled.component.ts index e1681da861..1519cb3711 100644 --- a/libs/doc-pages/datepicker/src/lib/demos/disabled/disabled.component.ts +++ b/libs/doc-pages/datepicker/src/lib/demos/disabled/disabled.component.ts @@ -3,7 +3,8 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-datepicker-disabled', - templateUrl: './disabled.component.html' + templateUrl: './disabled.component.html', + standalone: false }) export class DemoDatepickerDisabledComponent { isDisabled = false; diff --git a/libs/doc-pages/datepicker/src/lib/demos/enable-dates/enable-dates.ts b/libs/doc-pages/datepicker/src/lib/demos/enable-dates/enable-dates.ts index 4f94794139..8c48cdbdd1 100644 --- a/libs/doc-pages/datepicker/src/lib/demos/enable-dates/enable-dates.ts +++ b/libs/doc-pages/datepicker/src/lib/demos/enable-dates/enable-dates.ts @@ -3,7 +3,8 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-datepicker-datesenabled', - templateUrl: './enable-dates.html' + templateUrl: './enable-dates.html', + standalone: false }) export class DemoDatepickerDatesEnabledComponent { enabledDates = [ diff --git a/libs/doc-pages/datepicker/src/lib/demos/forms/forms.component.ts b/libs/doc-pages/datepicker/src/lib/demos/forms/forms.component.ts index 53b8489c5c..e4857e8a79 100644 --- a/libs/doc-pages/datepicker/src/lib/demos/forms/forms.component.ts +++ b/libs/doc-pages/datepicker/src/lib/demos/forms/forms.component.ts @@ -3,7 +3,8 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-datepicker-forms', - templateUrl: './forms.component.html' + templateUrl: './forms.component.html', + standalone: false }) export class DemoDatepickerFormsComponent { datepickerModel?: Date; diff --git a/libs/doc-pages/datepicker/src/lib/demos/hide-on-scroll/hide-on-scroll.ts b/libs/doc-pages/datepicker/src/lib/demos/hide-on-scroll/hide-on-scroll.ts index a6f388d99a..0b017f48f3 100644 --- a/libs/doc-pages/datepicker/src/lib/demos/hide-on-scroll/hide-on-scroll.ts +++ b/libs/doc-pages/datepicker/src/lib/demos/hide-on-scroll/hide-on-scroll.ts @@ -4,7 +4,8 @@ import { BsDatepickerDirective } from 'ngx-bootstrap/datepicker'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-date-picker-hide-on-scroll', - templateUrl: './hide-on-scroll.html' + templateUrl: './hide-on-scroll.html', + standalone: false }) export class DemoDatepickerHideOnScrollComponent { @ViewChild(BsDatepickerDirective, { static: false }) datepicker?: BsDatepickerDirective; diff --git a/libs/doc-pages/datepicker/src/lib/demos/index.ts b/libs/doc-pages/datepicker/src/lib/demos/index.ts index 7d7932d522..f79d2fbabb 100644 --- a/libs/doc-pages/datepicker/src/lib/demos/index.ts +++ b/libs/doc-pages/datepicker/src/lib/demos/index.ts @@ -84,7 +84,6 @@ export const DEMO_COMPONENTS = [ DemoDatePickerVisibilityEventsComponent, DemoDatepickerTodayButtonComponent, DemoDatepickerClearButtonComponent, - DemoDateRangePickerShowPreviousMonth, DemoDateRangePickerMaxDateRangeComponent, DemoDatepickerPreventChangeToNextMonthComponent, DemoDatePickerQuickSelectRangesComponent, diff --git a/libs/doc-pages/datepicker/src/lib/demos/inline-datepicker/inline-datepicker.component.ts b/libs/doc-pages/datepicker/src/lib/demos/inline-datepicker/inline-datepicker.component.ts index 38ecfb3aa4..1e1d064e10 100644 --- a/libs/doc-pages/datepicker/src/lib/demos/inline-datepicker/inline-datepicker.component.ts +++ b/libs/doc-pages/datepicker/src/lib/demos/inline-datepicker/inline-datepicker.component.ts @@ -3,7 +3,8 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-datepicker-inline', - templateUrl: './inline-datepicker.component.html' + templateUrl: './inline-datepicker.component.html', + standalone: false }) export class DemoDatepickerInlineComponent { bsInlineValue = new Date(); diff --git a/libs/doc-pages/datepicker/src/lib/demos/keep-dates-out-of-rules/keep-dates-out-of-rules.component.ts b/libs/doc-pages/datepicker/src/lib/demos/keep-dates-out-of-rules/keep-dates-out-of-rules.component.ts index 8b308a9c61..da882bb854 100644 --- a/libs/doc-pages/datepicker/src/lib/demos/keep-dates-out-of-rules/keep-dates-out-of-rules.component.ts +++ b/libs/doc-pages/datepicker/src/lib/demos/keep-dates-out-of-rules/keep-dates-out-of-rules.component.ts @@ -3,7 +3,8 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'keep-dates-out-of-rules', - templateUrl: './keep-dates-out-of-rules.component.html' + templateUrl: './keep-dates-out-of-rules.component.html', + standalone: false }) export class KeepDatesOutOfRulesComponent { minDate = new Date(); diff --git a/libs/doc-pages/datepicker/src/lib/demos/max-date-range/max-date-range.ts b/libs/doc-pages/datepicker/src/lib/demos/max-date-range/max-date-range.ts index 1452df347d..dd67ea7c7f 100644 --- a/libs/doc-pages/datepicker/src/lib/demos/max-date-range/max-date-range.ts +++ b/libs/doc-pages/datepicker/src/lib/demos/max-date-range/max-date-range.ts @@ -3,7 +3,8 @@ import {Component} from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-datepicker-max-date-range', - templateUrl: './max-date-range.html' + templateUrl: './max-date-range.html', + standalone: false }) export class DemoDateRangePickerMaxDateRangeComponent { maxDate: Date; diff --git a/libs/doc-pages/datepicker/src/lib/demos/min-max/min-max.component.ts b/libs/doc-pages/datepicker/src/lib/demos/min-max/min-max.component.ts index cb9cc4f6d8..839dde08d8 100644 --- a/libs/doc-pages/datepicker/src/lib/demos/min-max/min-max.component.ts +++ b/libs/doc-pages/datepicker/src/lib/demos/min-max/min-max.component.ts @@ -3,7 +3,8 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-datepicker-min-max', - templateUrl: './min-max.component.html' + templateUrl: './min-max.component.html', + standalone: false }) export class DemoDatepickerMinMaxComponent { minDate: Date; diff --git a/libs/doc-pages/datepicker/src/lib/demos/min-mode/min-mode.component.ts b/libs/doc-pages/datepicker/src/lib/demos/min-mode/min-mode.component.ts index 37f9821558..37bfd714a9 100644 --- a/libs/doc-pages/datepicker/src/lib/demos/min-mode/min-mode.component.ts +++ b/libs/doc-pages/datepicker/src/lib/demos/min-mode/min-mode.component.ts @@ -5,7 +5,8 @@ import { BsDatepickerConfig, BsDatepickerViewMode } from 'ngx-bootstrap/datepick @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-datepicker-min-mode', - templateUrl: './min-mode.component.html' + templateUrl: './min-mode.component.html', + standalone: false }) export class DemoDatepickerMinModeComponent implements OnInit { datePickerValue: Date = new Date(2020, 7); diff --git a/libs/doc-pages/datepicker/src/lib/demos/outside-click/outside-click.ts b/libs/doc-pages/datepicker/src/lib/demos/outside-click/outside-click.ts index abe0a96fb5..db2860e3cc 100644 --- a/libs/doc-pages/datepicker/src/lib/demos/outside-click/outside-click.ts +++ b/libs/doc-pages/datepicker/src/lib/demos/outside-click/outside-click.ts @@ -3,6 +3,7 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-datepicker-outside-click', - templateUrl: './outside-click.html' + templateUrl: './outside-click.html', + standalone: false }) export class DemoDatepickerOutsideClickComponent {} diff --git a/libs/doc-pages/datepicker/src/lib/demos/placement/placement.ts b/libs/doc-pages/datepicker/src/lib/demos/placement/placement.ts index 4b89bb5bfc..9a6fc0a83b 100644 --- a/libs/doc-pages/datepicker/src/lib/demos/placement/placement.ts +++ b/libs/doc-pages/datepicker/src/lib/demos/placement/placement.ts @@ -3,6 +3,7 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-datepicker-placement', - templateUrl: './placement.html' + templateUrl: './placement.html', + standalone: false }) export class DemoDatepickerPlacementComponent {} diff --git a/libs/doc-pages/datepicker/src/lib/demos/prevent-change-to-next-month/prevent-change-to-next-month.component.ts b/libs/doc-pages/datepicker/src/lib/demos/prevent-change-to-next-month/prevent-change-to-next-month.component.ts index a890fa1657..d32f4de556 100644 --- a/libs/doc-pages/datepicker/src/lib/demos/prevent-change-to-next-month/prevent-change-to-next-month.component.ts +++ b/libs/doc-pages/datepicker/src/lib/demos/prevent-change-to-next-month/prevent-change-to-next-month.component.ts @@ -3,7 +3,8 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-prevent-change-to-next-month', - templateUrl: './prevent-change-to-next-month.component.html' + templateUrl: './prevent-change-to-next-month.component.html', + standalone: false }) export class DemoDatepickerPreventChangeToNextMonthComponent { maxDate = new Date(); diff --git a/libs/doc-pages/datepicker/src/lib/demos/quick-select-ranges/quick-select-ranges.ts b/libs/doc-pages/datepicker/src/lib/demos/quick-select-ranges/quick-select-ranges.ts index 8104c1b38b..7ecd12df79 100644 --- a/libs/doc-pages/datepicker/src/lib/demos/quick-select-ranges/quick-select-ranges.ts +++ b/libs/doc-pages/datepicker/src/lib/demos/quick-select-ranges/quick-select-ranges.ts @@ -8,7 +8,8 @@ interface IRange { @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-datepicker-quick-select-ranges', - templateUrl: './quick-select-ranges.html' + templateUrl: './quick-select-ranges.html', + standalone: false }) export class DemoDatePickerQuickSelectRangesComponent { ranges: IRange[] = [{ diff --git a/libs/doc-pages/datepicker/src/lib/demos/reactive-forms/reactive-forms.component.ts b/libs/doc-pages/datepicker/src/lib/demos/reactive-forms/reactive-forms.component.ts index ee52e1a5ac..7f7eac70a3 100644 --- a/libs/doc-pages/datepicker/src/lib/demos/reactive-forms/reactive-forms.component.ts +++ b/libs/doc-pages/datepicker/src/lib/demos/reactive-forms/reactive-forms.component.ts @@ -4,7 +4,8 @@ import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-datepicker-reactive-forms', - templateUrl: './reactive-forms.component.html' + templateUrl: './reactive-forms.component.html', + standalone: false }) export class DemoDatepickerReactiveFormsComponent implements OnInit { myForm?: UntypedFormGroup; diff --git a/libs/doc-pages/datepicker/src/lib/demos/return-focus-to-input/return-focus-to-input.component.ts b/libs/doc-pages/datepicker/src/lib/demos/return-focus-to-input/return-focus-to-input.component.ts index d823076567..1b488a0d36 100644 --- a/libs/doc-pages/datepicker/src/lib/demos/return-focus-to-input/return-focus-to-input.component.ts +++ b/libs/doc-pages/datepicker/src/lib/demos/return-focus-to-input/return-focus-to-input.component.ts @@ -3,6 +3,7 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-datepicker-return-focus-to-input', - templateUrl: './return-focus-to-input.component.html' + templateUrl: './return-focus-to-input.component.html', + standalone: false }) export class DemoDatePickerReturnFocusToInputComponent {} diff --git a/libs/doc-pages/datepicker/src/lib/demos/select-dates-from-other-months/select-dates-from-other-months.ts b/libs/doc-pages/datepicker/src/lib/demos/select-dates-from-other-months/select-dates-from-other-months.ts index 84d79e08f9..4767ad5b88 100644 --- a/libs/doc-pages/datepicker/src/lib/demos/select-dates-from-other-months/select-dates-from-other-months.ts +++ b/libs/doc-pages/datepicker/src/lib/demos/select-dates-from-other-months/select-dates-from-other-months.ts @@ -3,6 +3,7 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-datepicker-select-dates-from-other-months', - templateUrl: './select-dates-from-other-months.html' + templateUrl: './select-dates-from-other-months.html', + standalone: false }) export class DemoDatePickerSelectDatesFromOtherMonthsComponent {} diff --git a/libs/doc-pages/datepicker/src/lib/demos/select-week-range/select-week-range.ts b/libs/doc-pages/datepicker/src/lib/demos/select-week-range/select-week-range.ts index e1eccf7c3a..feab0c955d 100644 --- a/libs/doc-pages/datepicker/src/lib/demos/select-week-range/select-week-range.ts +++ b/libs/doc-pages/datepicker/src/lib/demos/select-week-range/select-week-range.ts @@ -3,6 +3,7 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-datepicker-select-week-range', - templateUrl: './select-week-range.html' + templateUrl: './select-week-range.html', + standalone: false }) export class DemoDatePickerSelectWeekRangeComponent {} diff --git a/libs/doc-pages/datepicker/src/lib/demos/select-week/select-week.ts b/libs/doc-pages/datepicker/src/lib/demos/select-week/select-week.ts index cde3b114b0..8034e2e654 100644 --- a/libs/doc-pages/datepicker/src/lib/demos/select-week/select-week.ts +++ b/libs/doc-pages/datepicker/src/lib/demos/select-week/select-week.ts @@ -3,6 +3,7 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-datepicker-select-week', - templateUrl: './select-week.html' + templateUrl: './select-week.html', + standalone: false }) export class DemoDatePickerSelectWeekComponent {} diff --git a/libs/doc-pages/datepicker/src/lib/demos/start-view/start-view.ts b/libs/doc-pages/datepicker/src/lib/demos/start-view/start-view.ts index 0cc11ca872..2bc001a180 100644 --- a/libs/doc-pages/datepicker/src/lib/demos/start-view/start-view.ts +++ b/libs/doc-pages/datepicker/src/lib/demos/start-view/start-view.ts @@ -3,6 +3,7 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-datepicker-start-view', - templateUrl: './start-view.html' + templateUrl: './start-view.html', + standalone: false }) export class DemoDatepickerStartViewComponent {} diff --git a/libs/doc-pages/datepicker/src/lib/demos/today-button/today-button.ts b/libs/doc-pages/datepicker/src/lib/demos/today-button/today-button.ts index 2905217105..adcac695e3 100644 --- a/libs/doc-pages/datepicker/src/lib/demos/today-button/today-button.ts +++ b/libs/doc-pages/datepicker/src/lib/demos/today-button/today-button.ts @@ -3,6 +3,7 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-datepicker-today-button', - templateUrl: './today-button.html' + templateUrl: './today-button.html', + standalone: false }) export class DemoDatepickerTodayButtonComponent {} diff --git a/libs/doc-pages/datepicker/src/lib/demos/tooltip-to-selected-dates/tooltip-to-selected-dates.ts b/libs/doc-pages/datepicker/src/lib/demos/tooltip-to-selected-dates/tooltip-to-selected-dates.ts index 7e5fdd5af1..4998a35079 100644 --- a/libs/doc-pages/datepicker/src/lib/demos/tooltip-to-selected-dates/tooltip-to-selected-dates.ts +++ b/libs/doc-pages/datepicker/src/lib/demos/tooltip-to-selected-dates/tooltip-to-selected-dates.ts @@ -4,7 +4,8 @@ import { DatepickerDateTooltipText } from 'ngx-bootstrap/datepicker'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-datepicker-tooltip-to-selected-dates', - templateUrl: './tooltip-to-selected-dates.html' + templateUrl: './tooltip-to-selected-dates.html', + standalone: false }) // eslint-disable-next-line @angular-eslint/component-class-suffix export class DemoDatePickerTooltipToSelectedDates { diff --git a/libs/doc-pages/datepicker/src/lib/demos/trigger-by-isopen-property/trigger-by-isopen-property.ts b/libs/doc-pages/datepicker/src/lib/demos/trigger-by-isopen-property/trigger-by-isopen-property.ts index b611944100..181902d9f7 100644 --- a/libs/doc-pages/datepicker/src/lib/demos/trigger-by-isopen-property/trigger-by-isopen-property.ts +++ b/libs/doc-pages/datepicker/src/lib/demos/trigger-by-isopen-property/trigger-by-isopen-property.ts @@ -3,7 +3,8 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-datepicker-trigger-by-isopen', - templateUrl: './trigger-by-isopen-property.html' + templateUrl: './trigger-by-isopen-property.html', + standalone: false }) export class DemoDatepickerByIsOpenPropComponent { isOpen = false; diff --git a/libs/doc-pages/datepicker/src/lib/demos/triggers-custom/triggers-custom.ts b/libs/doc-pages/datepicker/src/lib/demos/triggers-custom/triggers-custom.ts index e540d8073f..81cb456e40 100644 --- a/libs/doc-pages/datepicker/src/lib/demos/triggers-custom/triggers-custom.ts +++ b/libs/doc-pages/datepicker/src/lib/demos/triggers-custom/triggers-custom.ts @@ -3,6 +3,7 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-datepicker-triggers-custom', - templateUrl: './triggers-custom.html' + templateUrl: './triggers-custom.html', + standalone: false }) export class DemoDatepickerTriggersCustomComponent {} diff --git a/libs/doc-pages/datepicker/src/lib/demos/triggers-manual/triggers-manual.ts b/libs/doc-pages/datepicker/src/lib/demos/triggers-manual/triggers-manual.ts index 51722a711c..62a2c14c0c 100644 --- a/libs/doc-pages/datepicker/src/lib/demos/triggers-manual/triggers-manual.ts +++ b/libs/doc-pages/datepicker/src/lib/demos/triggers-manual/triggers-manual.ts @@ -3,6 +3,7 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-datepicker-triggers-manual', - templateUrl: './triggers-manual.html' + templateUrl: './triggers-manual.html', + standalone: false }) export class DemoDatepickerTriggersManualComponent {} diff --git a/libs/doc-pages/datepicker/src/lib/demos/value-change-event/value-change-event.ts b/libs/doc-pages/datepicker/src/lib/demos/value-change-event/value-change-event.ts index ce931e939d..567faeed9d 100644 --- a/libs/doc-pages/datepicker/src/lib/demos/value-change-event/value-change-event.ts +++ b/libs/doc-pages/datepicker/src/lib/demos/value-change-event/value-change-event.ts @@ -3,7 +3,8 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-datepicker-value-change-event', - templateUrl: './value-change-event.html' + templateUrl: './value-change-event.html', + standalone: false }) export class DemoDatepickerValueChangeEventComponent { data?: Date; diff --git a/libs/doc-pages/datepicker/src/lib/demos/visibility-events/visibility-events.ts b/libs/doc-pages/datepicker/src/lib/demos/visibility-events/visibility-events.ts index 1450a2fdef..2a1ce89165 100644 --- a/libs/doc-pages/datepicker/src/lib/demos/visibility-events/visibility-events.ts +++ b/libs/doc-pages/datepicker/src/lib/demos/visibility-events/visibility-events.ts @@ -3,7 +3,8 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-datepicker-visibility-events', - templateUrl: './visibility-events.html' + templateUrl: './visibility-events.html', + standalone: false }) export class DemoDatePickerVisibilityEventsComponent { diff --git a/libs/doc-pages/datepicker/src/lib/demos/with-timepicker/with-timepicker.ts b/libs/doc-pages/datepicker/src/lib/demos/with-timepicker/with-timepicker.ts index dd63da1db6..fda34e4cf1 100644 --- a/libs/doc-pages/datepicker/src/lib/demos/with-timepicker/with-timepicker.ts +++ b/libs/doc-pages/datepicker/src/lib/demos/with-timepicker/with-timepicker.ts @@ -3,7 +3,8 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-datepicker-with-timepicker', - templateUrl: './with-timepicker.html' + templateUrl: './with-timepicker.html', + standalone: false }) export class DemoDatepickerWithTimepickerComponent { diff --git a/libs/doc-pages/dropdown/.eslintrc.json b/libs/doc-pages/dropdown/.eslintrc.json index 83415481f3..dc651767fd 100644 --- a/libs/doc-pages/dropdown/.eslintrc.json +++ b/libs/doc-pages/dropdown/.eslintrc.json @@ -35,6 +35,9 @@ "prefix": "ngx-bootstrap-base", "style": "kebab-case" } + ], + "@angular-eslint/prefer-standalone": [ + "off" ] } }, diff --git a/libs/doc-pages/dropdown/src/lib/demos/accessibility/accessibility.ts b/libs/doc-pages/dropdown/src/lib/demos/accessibility/accessibility.ts index 920088fc66..b456a1bdcd 100644 --- a/libs/doc-pages/dropdown/src/lib/demos/accessibility/accessibility.ts +++ b/libs/doc-pages/dropdown/src/lib/demos/accessibility/accessibility.ts @@ -3,6 +3,7 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-accessibility', - templateUrl: './accessibility.html' + templateUrl: './accessibility.html', + standalone: false }) export class DemoAccessibilityComponent {} diff --git a/libs/doc-pages/dropdown/src/lib/demos/alignment/menu-alignment.ts b/libs/doc-pages/dropdown/src/lib/demos/alignment/menu-alignment.ts index e36b494623..399f405622 100644 --- a/libs/doc-pages/dropdown/src/lib/demos/alignment/menu-alignment.ts +++ b/libs/doc-pages/dropdown/src/lib/demos/alignment/menu-alignment.ts @@ -3,6 +3,7 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-dropdown-alignment', - templateUrl: './menu-alignment.html' + templateUrl: './menu-alignment.html', + standalone: false }) export class DemoDropdownAlignmentComponent {} diff --git a/libs/doc-pages/dropdown/src/lib/demos/anchor-trigger/anchor-trigger.ts b/libs/doc-pages/dropdown/src/lib/demos/anchor-trigger/anchor-trigger.ts index 1865d0d6b1..bb9d825d82 100644 --- a/libs/doc-pages/dropdown/src/lib/demos/anchor-trigger/anchor-trigger.ts +++ b/libs/doc-pages/dropdown/src/lib/demos/anchor-trigger/anchor-trigger.ts @@ -3,7 +3,8 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-dropdown-anchor-trigger', - templateUrl: './anchor-trigger.html' + templateUrl: './anchor-trigger.html', + standalone: false }) export class DemoDropdownAnchorTriggerComponent { items: string[] = [ diff --git a/libs/doc-pages/dropdown/src/lib/demos/animated/animated.ts b/libs/doc-pages/dropdown/src/lib/demos/animated/animated.ts index fb6945150c..421cc8bf15 100644 --- a/libs/doc-pages/dropdown/src/lib/demos/animated/animated.ts +++ b/libs/doc-pages/dropdown/src/lib/demos/animated/animated.ts @@ -5,6 +5,7 @@ import { BsDropdownConfig } from 'ngx-bootstrap/dropdown'; // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-dropdown-animation', templateUrl: './animated.html', - providers: [{ provide: BsDropdownConfig, useValue: { isAnimated: true, autoClose: true } }] + providers: [{ provide: BsDropdownConfig, useValue: { isAnimated: true, autoClose: true } }], + standalone: false }) export class DemoDropdownAnimatedComponent {} diff --git a/libs/doc-pages/dropdown/src/lib/demos/autoclose/autoclose.ts b/libs/doc-pages/dropdown/src/lib/demos/autoclose/autoclose.ts index 09f41959c6..36ffb84d45 100644 --- a/libs/doc-pages/dropdown/src/lib/demos/autoclose/autoclose.ts +++ b/libs/doc-pages/dropdown/src/lib/demos/autoclose/autoclose.ts @@ -3,6 +3,7 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-dropdown-autoclose', - templateUrl: './autoclose.html' + templateUrl: './autoclose.html', + standalone: false }) export class DemoDropdownAutoCloseComponent {} diff --git a/libs/doc-pages/dropdown/src/lib/demos/basic/basic.ts b/libs/doc-pages/dropdown/src/lib/demos/basic/basic.ts index 6708bbe348..5491d3b313 100644 --- a/libs/doc-pages/dropdown/src/lib/demos/basic/basic.ts +++ b/libs/doc-pages/dropdown/src/lib/demos/basic/basic.ts @@ -3,6 +3,7 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-dropdown-basic', - templateUrl: './basic.html' + templateUrl: './basic.html', + standalone: false }) export class DemoDropdownBasicComponent {} diff --git a/libs/doc-pages/dropdown/src/lib/demos/config/config.ts b/libs/doc-pages/dropdown/src/lib/demos/config/config.ts index 793caff321..7aa9dd7118 100644 --- a/libs/doc-pages/dropdown/src/lib/demos/config/config.ts +++ b/libs/doc-pages/dropdown/src/lib/demos/config/config.ts @@ -5,6 +5,7 @@ import { BsDropdownConfig } from 'ngx-bootstrap/dropdown'; // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-dropdown-config', templateUrl: './config.html', - providers: [{ provide: BsDropdownConfig, useValue: { autoClose: false } }] + providers: [{ provide: BsDropdownConfig, useValue: { autoClose: false } }], + standalone: false }) export class DemoDropdownConfigComponent {} diff --git a/libs/doc-pages/dropdown/src/lib/demos/container/container.ts b/libs/doc-pages/dropdown/src/lib/demos/container/container.ts index aecb291436..c776ea0253 100644 --- a/libs/doc-pages/dropdown/src/lib/demos/container/container.ts +++ b/libs/doc-pages/dropdown/src/lib/demos/container/container.ts @@ -3,6 +3,7 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-dropdown-container', - templateUrl: './container.html' + templateUrl: './container.html', + standalone: false }) export class DemoDropdownContainerComponent {} diff --git a/libs/doc-pages/dropdown/src/lib/demos/custom-html/custom-html.ts b/libs/doc-pages/dropdown/src/lib/demos/custom-html/custom-html.ts index a2aa0d2a9d..9e77161e86 100644 --- a/libs/doc-pages/dropdown/src/lib/demos/custom-html/custom-html.ts +++ b/libs/doc-pages/dropdown/src/lib/demos/custom-html/custom-html.ts @@ -3,6 +3,7 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-dropdown-custom-html', - templateUrl: './custom-html.html' + templateUrl: './custom-html.html', + standalone: false }) export class DemoDropdownCustomHtmlComponent {} diff --git a/libs/doc-pages/dropdown/src/lib/demos/disabled-item/disabled-item.ts b/libs/doc-pages/dropdown/src/lib/demos/disabled-item/disabled-item.ts index aee444f17c..d65512d9f1 100644 --- a/libs/doc-pages/dropdown/src/lib/demos/disabled-item/disabled-item.ts +++ b/libs/doc-pages/dropdown/src/lib/demos/disabled-item/disabled-item.ts @@ -3,6 +3,7 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-dropdown-disabled-item', - templateUrl: './disabled-item.html' + templateUrl: './disabled-item.html', + standalone: false }) export class DemoDropdownDisabledItemComponent {} diff --git a/libs/doc-pages/dropdown/src/lib/demos/disabled-menu/disabled-menu.ts b/libs/doc-pages/dropdown/src/lib/demos/disabled-menu/disabled-menu.ts index 9a517fd33c..d7474bbbae 100644 --- a/libs/doc-pages/dropdown/src/lib/demos/disabled-menu/disabled-menu.ts +++ b/libs/doc-pages/dropdown/src/lib/demos/disabled-menu/disabled-menu.ts @@ -3,7 +3,8 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-dropdown-disabled', - templateUrl: './disabled-menu.html' + templateUrl: './disabled-menu.html', + standalone: false }) export class DemoDropdownDisabledComponent { disabled = false; diff --git a/libs/doc-pages/dropdown/src/lib/demos/dropup/dropup.ts b/libs/doc-pages/dropdown/src/lib/demos/dropup/dropup.ts index 7cecf7a34c..0524cb424d 100644 --- a/libs/doc-pages/dropdown/src/lib/demos/dropup/dropup.ts +++ b/libs/doc-pages/dropdown/src/lib/demos/dropup/dropup.ts @@ -3,7 +3,8 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-dropdown-dropup', - templateUrl: './dropup.html' + templateUrl: './dropup.html', + standalone: false }) export class DemoDropdownDropupComponent { isDropup = true; diff --git a/libs/doc-pages/dropdown/src/lib/demos/inside-click/inside-click.ts b/libs/doc-pages/dropdown/src/lib/demos/inside-click/inside-click.ts index e0863e4282..52ba847887 100644 --- a/libs/doc-pages/dropdown/src/lib/demos/inside-click/inside-click.ts +++ b/libs/doc-pages/dropdown/src/lib/demos/inside-click/inside-click.ts @@ -3,6 +3,7 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-dropdown-inside-click', - templateUrl: './inside-click.html' + templateUrl: './inside-click.html', + standalone: false }) export class DemoDropdownInsideClickComponent {} diff --git a/libs/doc-pages/dropdown/src/lib/demos/keyboard/keyboard.ts b/libs/doc-pages/dropdown/src/lib/demos/keyboard/keyboard.ts index a7d8b79738..651953e662 100644 --- a/libs/doc-pages/dropdown/src/lib/demos/keyboard/keyboard.ts +++ b/libs/doc-pages/dropdown/src/lib/demos/keyboard/keyboard.ts @@ -3,6 +3,7 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-dropdown-keyboard', - templateUrl: './keyboard.html' + templateUrl: './keyboard.html', + standalone: false }) export class DemoDropdownKeyboardComponent {} diff --git a/libs/doc-pages/dropdown/src/lib/demos/menu-dividers/menu-dividers.ts b/libs/doc-pages/dropdown/src/lib/demos/menu-dividers/menu-dividers.ts index 330a743e96..97bdb6b312 100644 --- a/libs/doc-pages/dropdown/src/lib/demos/menu-dividers/menu-dividers.ts +++ b/libs/doc-pages/dropdown/src/lib/demos/menu-dividers/menu-dividers.ts @@ -3,6 +3,7 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-dropdown-menu-dividers', - templateUrl: './menu-dividers.html' + templateUrl: './menu-dividers.html', + standalone: false }) export class DemoDropdownMenuDividersComponent {} diff --git a/libs/doc-pages/dropdown/src/lib/demos/nested-dropdowns/nested-dropdowns.ts b/libs/doc-pages/dropdown/src/lib/demos/nested-dropdowns/nested-dropdowns.ts index 30f36acd85..1b0556a8a9 100644 --- a/libs/doc-pages/dropdown/src/lib/demos/nested-dropdowns/nested-dropdowns.ts +++ b/libs/doc-pages/dropdown/src/lib/demos/nested-dropdowns/nested-dropdowns.ts @@ -3,6 +3,7 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-nested-dropdowns', - templateUrl: './nested-dropdowns.html' + templateUrl: './nested-dropdowns.html', + standalone: false }) export class DemoNestedDropdownsComponent {} diff --git a/libs/doc-pages/dropdown/src/lib/demos/split/split.ts b/libs/doc-pages/dropdown/src/lib/demos/split/split.ts index dc73b1ecb0..28ea6ffa29 100644 --- a/libs/doc-pages/dropdown/src/lib/demos/split/split.ts +++ b/libs/doc-pages/dropdown/src/lib/demos/split/split.ts @@ -3,6 +3,7 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-dropdown-split', - templateUrl: './split.html' + templateUrl: './split.html', + standalone: false }) export class DemoDropdownSplitComponent {} diff --git a/libs/doc-pages/dropdown/src/lib/demos/state-change-event/state-change-event.ts b/libs/doc-pages/dropdown/src/lib/demos/state-change-event/state-change-event.ts index bdb087039a..3a6b96713e 100644 --- a/libs/doc-pages/dropdown/src/lib/demos/state-change-event/state-change-event.ts +++ b/libs/doc-pages/dropdown/src/lib/demos/state-change-event/state-change-event.ts @@ -3,7 +3,8 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-dropdown-state-change-event', - templateUrl: './state-change-event.html' + templateUrl: './state-change-event.html', + standalone: false }) export class DemoDropdownStateChangeEventComponent { text?: string; diff --git a/libs/doc-pages/dropdown/src/lib/demos/trigger-by-isopen-property/trigger-by-isopen-property.ts b/libs/doc-pages/dropdown/src/lib/demos/trigger-by-isopen-property/trigger-by-isopen-property.ts index e116e08d4a..76901c7166 100644 --- a/libs/doc-pages/dropdown/src/lib/demos/trigger-by-isopen-property/trigger-by-isopen-property.ts +++ b/libs/doc-pages/dropdown/src/lib/demos/trigger-by-isopen-property/trigger-by-isopen-property.ts @@ -3,7 +3,8 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-dropdown-trigger-by-isopen', - templateUrl: './trigger-by-isopen-property.html' + templateUrl: './trigger-by-isopen-property.html', + standalone: false }) export class DemoDropdownByIsOpenPropComponent { } diff --git a/libs/doc-pages/dropdown/src/lib/demos/triggers-manual/triggers-manual.ts b/libs/doc-pages/dropdown/src/lib/demos/triggers-manual/triggers-manual.ts index cede0dbdd3..a2ebb02659 100644 --- a/libs/doc-pages/dropdown/src/lib/demos/triggers-manual/triggers-manual.ts +++ b/libs/doc-pages/dropdown/src/lib/demos/triggers-manual/triggers-manual.ts @@ -3,7 +3,8 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-dropdown-triggers-manual', - templateUrl: './triggers-manual.html' + templateUrl: './triggers-manual.html', + standalone: false }) export class DemoDropdownTriggersManualComponent { } diff --git a/libs/doc-pages/dropdown/src/lib/demos/visibility-events/visibility-events.ts b/libs/doc-pages/dropdown/src/lib/demos/visibility-events/visibility-events.ts index eb138d609d..95798eed6c 100644 --- a/libs/doc-pages/dropdown/src/lib/demos/visibility-events/visibility-events.ts +++ b/libs/doc-pages/dropdown/src/lib/demos/visibility-events/visibility-events.ts @@ -3,7 +3,8 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-dropdown-visibility-events', - templateUrl: './visibility-events.html' + templateUrl: './visibility-events.html', + standalone: false }) export class DemoDropdownVisibilityEventsComponent { messages: string[] = []; diff --git a/libs/doc-pages/dropdown/src/lib/dropdown-section.component.ts b/libs/doc-pages/dropdown/src/lib/dropdown-section.component.ts index d4edc9350a..fa44a01d10 100644 --- a/libs/doc-pages/dropdown/src/lib/dropdown-section.component.ts +++ b/libs/doc-pages/dropdown/src/lib/dropdown-section.component.ts @@ -7,7 +7,8 @@ import { ContentSection } from '@ngx-bootstrap-doc/docs'; // eslint-disable-next-line @angular-eslint/component-selector selector: 'dropdown-section', templateUrl: './dropdown-section.component.html', - changeDetection: ChangeDetectionStrategy.OnPush + changeDetection: ChangeDetectionStrategy.OnPush, + standalone: false }) export class DropdownSectionComponent { name = 'Dropdowns'; diff --git a/libs/doc-pages/modal/.eslintrc.json b/libs/doc-pages/modal/.eslintrc.json index 944657b7ab..9734945f03 100644 --- a/libs/doc-pages/modal/.eslintrc.json +++ b/libs/doc-pages/modal/.eslintrc.json @@ -35,6 +35,9 @@ "prefix": "ngx-bootstrap-base", "style": "kebab-case" } + ], + "@angular-eslint/prefer-standalone": [ + "off" ] } }, diff --git a/libs/doc-pages/modal/src/lib/demos/accessibility/accessibility.ts b/libs/doc-pages/modal/src/lib/demos/accessibility/accessibility.ts index c0c0a58f41..0a88c736d1 100644 --- a/libs/doc-pages/modal/src/lib/demos/accessibility/accessibility.ts +++ b/libs/doc-pages/modal/src/lib/demos/accessibility/accessibility.ts @@ -4,7 +4,8 @@ import { BsModalRef, BsModalService } from 'ngx-bootstrap/modal'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-accessibility', - templateUrl: './accessibility.html' + templateUrl: './accessibility.html', + standalone: false }) export class DemoAccessibilityComponent { modalRef?: BsModalRef; diff --git a/libs/doc-pages/modal/src/lib/demos/auto-shown/auto-shown.ts b/libs/doc-pages/modal/src/lib/demos/auto-shown/auto-shown.ts index bc277ffd4f..ad529bbab0 100644 --- a/libs/doc-pages/modal/src/lib/demos/auto-shown/auto-shown.ts +++ b/libs/doc-pages/modal/src/lib/demos/auto-shown/auto-shown.ts @@ -4,7 +4,8 @@ import { ModalDirective } from 'ngx-bootstrap/modal'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-modal-auto-shown', - templateUrl: './auto-shown.html' + templateUrl: './auto-shown.html', + standalone: false }) export class DemoAutoShownModalComponent { @ViewChild('autoShownModal', { static: false }) autoShownModal?: ModalDirective; diff --git a/libs/doc-pages/modal/src/lib/demos/child/child.ts b/libs/doc-pages/modal/src/lib/demos/child/child.ts index ef45da64bd..964bcd4afe 100644 --- a/libs/doc-pages/modal/src/lib/demos/child/child.ts +++ b/libs/doc-pages/modal/src/lib/demos/child/child.ts @@ -4,7 +4,8 @@ import { ModalDirective } from 'ngx-bootstrap/modal'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-modal-child', - templateUrl: './child.html' + templateUrl: './child.html', + standalone: false }) export class DemoModalChildComponent { @ViewChild('childModal', { static: false }) childModal?: ModalDirective; diff --git a/libs/doc-pages/modal/src/lib/demos/events/events.ts b/libs/doc-pages/modal/src/lib/demos/events/events.ts index 6ca9a7c211..e176c989e8 100644 --- a/libs/doc-pages/modal/src/lib/demos/events/events.ts +++ b/libs/doc-pages/modal/src/lib/demos/events/events.ts @@ -10,7 +10,8 @@ import { ModalDirective } from 'ngx-bootstrap/modal'; margin-bottom: 0.75rem; padding: 8px; } - `] + `], + standalone: false }) export class DemoModalEventsComponent { @ViewChild(ModalDirective, { static: false }) modal?: ModalDirective; diff --git a/libs/doc-pages/modal/src/lib/demos/modal-ref-events/modal-ref-events.ts b/libs/doc-pages/modal/src/lib/demos/modal-ref-events/modal-ref-events.ts index bc92f0ea00..8fcdc4b44f 100644 --- a/libs/doc-pages/modal/src/lib/demos/modal-ref-events/modal-ref-events.ts +++ b/libs/doc-pages/modal/src/lib/demos/modal-ref-events/modal-ref-events.ts @@ -15,7 +15,8 @@ import { combineLatest, Subscription } from 'rxjs'; padding: 8px; } ` - ] + ], + standalone: false }) export class DemoModalRefEventsComponent { modalRef?: BsModalRef; diff --git a/libs/doc-pages/modal/src/lib/demos/modal-with-popups/modal-with-popups.ts b/libs/doc-pages/modal/src/lib/demos/modal-with-popups/modal-with-popups.ts index c796e6d07f..d0ea2233e4 100644 --- a/libs/doc-pages/modal/src/lib/demos/modal-with-popups/modal-with-popups.ts +++ b/libs/doc-pages/modal/src/lib/demos/modal-with-popups/modal-with-popups.ts @@ -4,7 +4,8 @@ import { BsModalRef, BsModalService } from 'ngx-bootstrap/modal'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-modal-with-popups', - templateUrl: './modal-with-popups.html' + templateUrl: './modal-with-popups.html', + standalone: false }) export class DemoModalWithPopupsComponent { modalRef?: BsModalRef; diff --git a/libs/doc-pages/modal/src/lib/demos/nested/nested.ts b/libs/doc-pages/modal/src/lib/demos/nested/nested.ts index c8e43b8c53..9020b97234 100644 --- a/libs/doc-pages/modal/src/lib/demos/nested/nested.ts +++ b/libs/doc-pages/modal/src/lib/demos/nested/nested.ts @@ -3,6 +3,7 @@ import { Component } from '@angular/core'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-modal-nested', - templateUrl: './nested.html' + templateUrl: './nested.html', + standalone: false }) export class DemoModalNestedComponent {} diff --git a/libs/doc-pages/modal/src/lib/demos/scrolling-long-content/scrolling-long-content.ts b/libs/doc-pages/modal/src/lib/demos/scrolling-long-content/scrolling-long-content.ts index faff802af2..04ffc3fb0e 100644 --- a/libs/doc-pages/modal/src/lib/demos/scrolling-long-content/scrolling-long-content.ts +++ b/libs/doc-pages/modal/src/lib/demos/scrolling-long-content/scrolling-long-content.ts @@ -4,7 +4,8 @@ import { BsModalRef, BsModalService } from 'ngx-bootstrap/modal'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-modal-scrolling-long-content', - templateUrl: './scrolling-long-content.html' + templateUrl: './scrolling-long-content.html', + standalone: false }) export class DemoModalScrollingLongContentComponent { modalRef?: BsModalRef; diff --git a/libs/doc-pages/modal/src/lib/demos/service-component/service-component.ts b/libs/doc-pages/modal/src/lib/demos/service-component/service-component.ts index 02e68dc8b7..917eae0546 100644 --- a/libs/doc-pages/modal/src/lib/demos/service-component/service-component.ts +++ b/libs/doc-pages/modal/src/lib/demos/service-component/service-component.ts @@ -4,7 +4,8 @@ import { BsModalRef, BsModalService, ModalOptions } from 'ngx-bootstrap/modal'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'demo-modal-service-component', - templateUrl: './service-component.html' + templateUrl: './service-component.html', + standalone: false }) export class DemoModalServiceFromComponent { bsModalRef?: BsModalRef; @@ -27,6 +28,7 @@ export class DemoModalServiceFromComponent { @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'modal-content', + template: ` `, - // eslint-disable-next-line @angular-eslint/no-host-metadata-property host: { '[attr.aria-hidden]': '!active', '[class.multilist-margin]': 'multilist' diff --git a/src/chronos/package.json b/src/chronos/package.json index 7cdc6d3bdd..4e746340b6 100644 --- a/src/chronos/package.json +++ b/src/chronos/package.json @@ -1,6 +1,6 @@ { "name": "ngx-bootstrap/chronos", - "version": "18.1.3", + "version": "19.0.0", "author": "Dmitriy Shekhovtsov ", "license": "MIT" } diff --git a/src/collapse/collapse.directive.ts b/src/collapse/collapse.directive.ts index c69338234a..71e689d36f 100644 --- a/src/collapse/collapse.directive.ts +++ b/src/collapse/collapse.directive.ts @@ -23,7 +23,6 @@ import { @Directive({ selector: '[collapse]', exportAs: 'bs-collapse', - // eslint-disable-next-line @angular-eslint/no-host-metadata-property host: { '[class.collapse]': 'true' }, diff --git a/src/collapse/package.json b/src/collapse/package.json index f7820732e4..d07936f587 100644 --- a/src/collapse/package.json +++ b/src/collapse/package.json @@ -1,6 +1,6 @@ { "name": "ngx-bootstrap/collapse", - "version": "18.1.3", + "version": "19.0.0", "author": "Dmitriy Shekhovtsov ", "license": "MIT" } diff --git a/src/component-loader/package.json b/src/component-loader/package.json index 91f48c36e2..b09e190bee 100644 --- a/src/component-loader/package.json +++ b/src/component-loader/package.json @@ -1,6 +1,6 @@ { "name": "ngx-bootstrap/component-loader", - "version": "18.1.3", + "version": "19.0.0", "author": "Dmitriy Shekhovtsov ", "license": "MIT" } diff --git a/src/datepicker/.eslintrc.json b/src/datepicker/.eslintrc.json index 688aaa44b9..b57509c6b7 100644 --- a/src/datepicker/.eslintrc.json +++ b/src/datepicker/.eslintrc.json @@ -21,7 +21,10 @@ }, "rules": { "@angular-eslint/no-output-on-prefix": 0, - "@angular-eslint/no-host-metadata-property": 0 + "@angular-eslint/no-host-metadata-property": 0, + "@angular-eslint/prefer-standalone": [ + "off" + ] } }, { diff --git a/src/datepicker/bs-daterangepicker-input.directive.ts b/src/datepicker/bs-daterangepicker-input.directive.ts index 72c20badcb..c96a5efdf4 100644 --- a/src/datepicker/bs-daterangepicker-input.directive.ts +++ b/src/datepicker/bs-daterangepicker-input.directive.ts @@ -50,7 +50,6 @@ const BS_DATERANGEPICKER_VALIDATOR: Provider = { @Directive({ selector: `input[bsDaterangepicker]`, - // eslint-disable-next-line @angular-eslint/no-host-metadata-property host: { '(change)': 'onChange($event)', '(keyup.esc)': 'hide()', diff --git a/src/datepicker/package.json b/src/datepicker/package.json index b77d165e04..704b50aa77 100644 --- a/src/datepicker/package.json +++ b/src/datepicker/package.json @@ -1,6 +1,6 @@ { "name": "ngx-bootstrap/datepicker", - "version": "18.1.3", + "version": "19.0.0", "author": "Dmitriy Shekhovtsov ", "license": "MIT" } diff --git a/src/datepicker/testing/bs-datepicker-day-decorator.spec.ts b/src/datepicker/testing/bs-datepicker-day-decorator.spec.ts index d18f46b7cb..69133580fc 100644 --- a/src/datepicker/testing/bs-datepicker-day-decorator.spec.ts +++ b/src/datepicker/testing/bs-datepicker-day-decorator.spec.ts @@ -10,6 +10,7 @@ import '../../../scripts/jest/toHaveCssClass'; @Component({ selector: 'test-cmp', template: `{{ day.label }}`, + standalone: false }) class TestComponent { day: DayViewModel = { date: new Date(), label: '' }; diff --git a/src/datepicker/testing/bs-datepicker-navigation-view.spec.ts b/src/datepicker/testing/bs-datepicker-navigation-view.spec.ts index 20cf6f7b5c..4647ff1762 100644 --- a/src/datepicker/testing/bs-datepicker-navigation-view.spec.ts +++ b/src/datepicker/testing/bs-datepicker-navigation-view.spec.ts @@ -11,6 +11,7 @@ import { BsDatepickerNavigationViewComponent } from '../themes/bs/bs-datepicker- [calendar]="month" (onNavigate)="navTo($event)" >`, + standalone: false }) class TestComponent { month!: DaysCalendarViewModel; diff --git a/src/datepicker/testing/bs-datepicker.spec.ts b/src/datepicker/testing/bs-datepicker.spec.ts index b9bb957a2e..aa39b4e8a5 100644 --- a/src/datepicker/testing/bs-datepicker.spec.ts +++ b/src/datepicker/testing/bs-datepicker.spec.ts @@ -15,6 +15,7 @@ import { BsDatepickerContainerComponent } from '../themes/bs/bs-datepicker-conta template: ``, + standalone: false }) class TestComponent { @ViewChild(BsDatepickerDirective, { static: false }) datepicker: BsDatepickerDirective; diff --git a/src/datepicker/testing/bs-daterangepicker.spec.ts b/src/datepicker/testing/bs-daterangepicker.spec.ts index 9fa64bcb8f..cb19f867e1 100644 --- a/src/datepicker/testing/bs-daterangepicker.spec.ts +++ b/src/datepicker/testing/bs-daterangepicker.spec.ts @@ -14,6 +14,7 @@ import { firstValueFrom } from 'rxjs'; template: ``, + standalone: false }) class TestComponent { @ViewChild(BsDaterangepickerDirective, { static: false }) daterangepicker: BsDaterangepickerDirective; diff --git a/src/datepicker/testing/bs-inline-datepicker.spec.ts b/src/datepicker/testing/bs-inline-datepicker.spec.ts index 87909cd339..7fa771bd87 100644 --- a/src/datepicker/testing/bs-inline-datepicker.spec.ts +++ b/src/datepicker/testing/bs-inline-datepicker.spec.ts @@ -13,7 +13,8 @@ import { getYearsCalendarInitialDate } from '../utils/bs-calendar-utils'; @Component({ selector: 'test-cmp', - template: `>` + template: `>`, + standalone: false }) class TestComponent { @ViewChild(BsDatepickerInlineDirective, { static: false }) datepicker: BsDatepickerInlineDirective; diff --git a/src/datepicker/testing/bs-inline-daterangepicker.spec.ts b/src/datepicker/testing/bs-inline-daterangepicker.spec.ts index 1a9651a946..6c8d4ab5f0 100644 --- a/src/datepicker/testing/bs-inline-daterangepicker.spec.ts +++ b/src/datepicker/testing/bs-inline-daterangepicker.spec.ts @@ -13,7 +13,8 @@ import { initialYearShift } from '../engine/format-years-calendar'; @Component({ selector: 'test-cmp', template: ` - ` + `, + standalone: false }) class TestComponent { @ViewChild(BsDaterangepickerInlineDirective, { static: false }) datepicker: BsDaterangepickerInlineDirective; diff --git a/src/dropdown/.eslintrc.json b/src/dropdown/.eslintrc.json index 3497a0b69d..81f00f6cfb 100644 --- a/src/dropdown/.eslintrc.json +++ b/src/dropdown/.eslintrc.json @@ -20,7 +20,10 @@ ] }, "rules": { - "@angular-eslint/no-output-on-prefix": 0 + "@angular-eslint/no-output-on-prefix": 0, + "@angular-eslint/prefer-standalone": [ + "off" + ] } }, { diff --git a/src/dropdown/bs-dropdown-container.component.ts b/src/dropdown/bs-dropdown-container.component.ts index 981cd0e6ff..967d2dbdee 100644 --- a/src/dropdown/bs-dropdown-container.component.ts +++ b/src/dropdown/bs-dropdown-container.component.ts @@ -21,7 +21,6 @@ import { NgClass } from '@angular/common'; changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [NgClass], - // eslint-disable-next-line @angular-eslint/no-host-metadata-property host: { style: 'display:block;position: absolute;z-index: 1040' }, diff --git a/src/dropdown/bs-dropdown-toggle.directive.ts b/src/dropdown/bs-dropdown-toggle.directive.ts index 68566d0e95..afeaf79727 100644 --- a/src/dropdown/bs-dropdown-toggle.directive.ts +++ b/src/dropdown/bs-dropdown-toggle.directive.ts @@ -15,7 +15,6 @@ import { BsDropdownDirective } from './bs-dropdown.directive'; @Directive({ selector: '[bsDropdownToggle],[dropdownToggle]', exportAs: 'bs-dropdown-toggle', - // eslint-disable-next-line @angular-eslint/no-host-metadata-property host: { '[attr.aria-haspopup]': 'true' }, diff --git a/src/dropdown/bs-dropdown.directive.ts b/src/dropdown/bs-dropdown.directive.ts index dd6f4f3578..4cffe4c717 100644 --- a/src/dropdown/bs-dropdown.directive.ts +++ b/src/dropdown/bs-dropdown.directive.ts @@ -27,7 +27,6 @@ import { dropdownAnimation } from './dropdown-animations'; exportAs: 'bs-dropdown', providers: [BsDropdownState, ComponentLoaderFactory, BsDropdownConfig], standalone: true, - // eslint-disable-next-line @angular-eslint/no-host-metadata-property host: { '[class.dropup]': 'dropup', '[class.open]': 'isOpen', diff --git a/src/dropdown/package.json b/src/dropdown/package.json index b5ef8b7876..db822cc383 100644 --- a/src/dropdown/package.json +++ b/src/dropdown/package.json @@ -1,6 +1,6 @@ { "name": "ngx-bootstrap/dropdown", - "version": "18.1.3", + "version": "19.0.0", "author": "Dmitriy Shekhovtsov ", "license": "MIT" } diff --git a/src/dropdown/testing/bs-dropdown.directive.spec.ts b/src/dropdown/testing/bs-dropdown.directive.spec.ts index 173ed3fdff..877e87e1be 100644 --- a/src/dropdown/testing/bs-dropdown.directive.spec.ts +++ b/src/dropdown/testing/bs-dropdown.directive.spec.ts @@ -7,7 +7,8 @@ import { BsDropdownConfig, BsDropdownDirective, BsDropdownModule } from '../inde @Component({ selector: 'dropdown-test', - template: '' + template: '', + standalone: false }) class TestDropdownComponent { isOpen = false; diff --git a/src/focus-trap/package.json b/src/focus-trap/package.json index 0b7737d3da..a6b8659d92 100644 --- a/src/focus-trap/package.json +++ b/src/focus-trap/package.json @@ -1,6 +1,6 @@ { "name": "ngx-bootstrap/focus-trap", - "version": "18.1.3", + "version": "19.0.0", "author": "Dmitriy Shekhovtsov ", "license": "MIT" } diff --git a/src/locale/package.json b/src/locale/package.json index f57ed1f904..6d7a6a3a7d 100644 --- a/src/locale/package.json +++ b/src/locale/package.json @@ -1,6 +1,6 @@ { "name": "ngx-bootstrap/locale", - "version": "18.1.3", + "version": "19.0.0", "author": "Dmitriy Shekhovtsov ", "license": "MIT" } diff --git a/src/mini-ngrx/package.json b/src/mini-ngrx/package.json index daa18cdb1a..0e46d4bf5f 100644 --- a/src/mini-ngrx/package.json +++ b/src/mini-ngrx/package.json @@ -1,6 +1,6 @@ { "name": "ngx-bootstrap/mini-ngrx", - "version": "18.1.3", + "version": "19.0.0", "author": "Dmitriy Shekhovtsov ", "license": "MIT" } diff --git a/src/modal/.eslintrc.json b/src/modal/.eslintrc.json index 53480057bf..7386d41802 100644 --- a/src/modal/.eslintrc.json +++ b/src/modal/.eslintrc.json @@ -20,7 +20,10 @@ ] }, "rules": { - "@angular-eslint/no-output-on-prefix": 0 + "@angular-eslint/no-output-on-prefix": 0, + "@angular-eslint/prefer-standalone": [ + "off" + ] } }, { diff --git a/src/modal/modal-backdrop.component.ts b/src/modal/modal-backdrop.component.ts index 4271a25cf8..8a7437bae7 100644 --- a/src/modal/modal-backdrop.component.ts +++ b/src/modal/modal-backdrop.component.ts @@ -8,7 +8,6 @@ import { Utils } from 'ngx-bootstrap/utils'; @Component({ selector: 'bs-modal-backdrop', template: ' ', - // eslint-disable-next-line @angular-eslint/no-host-metadata-property host: { class: CLASS_NAME.BACKDROP }, standalone: true }) diff --git a/src/modal/modal-container.component.ts b/src/modal/modal-container.component.ts index 9c43fc6f5e..8d88524336 100644 --- a/src/modal/modal-container.component.ts +++ b/src/modal/modal-container.component.ts @@ -27,7 +27,6 @@ import { FocusTrapDirective } from 'ngx-bootstrap/focus-trap'; `, - // eslint-disable-next-line @angular-eslint/no-host-metadata-property host: { class: 'modal', role: 'dialog', diff --git a/src/modal/package.json b/src/modal/package.json index 8b4c81f548..5f96e23458 100644 --- a/src/modal/package.json +++ b/src/modal/package.json @@ -1,6 +1,6 @@ { "name": "ngx-bootstrap/modal", - "version": "18.1.3", + "version": "19.0.0", "author": "Dmitriy Shekhovtsov ", "license": "MIT" } diff --git a/src/modal/testing/modal.default-setting.spec.ts b/src/modal/testing/modal.default-setting.spec.ts index 5ec395d1f5..711a301ecb 100644 --- a/src/modal/testing/modal.default-setting.spec.ts +++ b/src/modal/testing/modal.default-setting.spec.ts @@ -4,14 +4,15 @@ import { TestBed, ComponentFixture } from '@angular/core/testing'; import { BsModalService, ModalModule } from '../index'; import { MODAL_CONFIG_DEFAULT_OVERRIDE } from '../modal-options.class'; -@Component({ template: '
Dummy Component
' }) +@Component({ template: '
Dummy Component
', standalone: false }) class DummyComponent { // eslint-disable-next-line @typescript-eslint/no-empty-function,@typescript-eslint/no-unused-vars constructor(modalService: BsModalService) {} } @Component({ - template: '
Test Component
' + template: '
Test Component
', + standalone: false }) class TestModalComponent {} diff --git a/src/modal/testing/modal.service.spec.ts b/src/modal/testing/modal.service.spec.ts index c40b8f3e1f..f799ad8efc 100644 --- a/src/modal/testing/modal.service.spec.ts +++ b/src/modal/testing/modal.service.spec.ts @@ -4,14 +4,15 @@ import { pairwise, tap } from 'rxjs/operators'; import { BsModalService, ModalModule } from '../index'; -@Component({ template: '
Dummy Component
' }) +@Component({ template: '
Dummy Component
', standalone: false }) class DummyComponent { // eslint-disable-next-line @typescript-eslint/no-empty-function,@typescript-eslint/no-unused-vars constructor(modalService: BsModalService) { } } @Component({ - template: '
Test Component
' + template: '
Test Component
', + standalone: false }) export class TestModalComponent { } diff --git a/src/pagination/package.json b/src/pagination/package.json index 78360c713f..8bedf727dd 100644 --- a/src/pagination/package.json +++ b/src/pagination/package.json @@ -1,6 +1,6 @@ { "name": "ngx-bootstrap/pagination", - "version": "18.1.3", + "version": "19.0.0", "author": "Dmitriy Shekhovtsov ", "license": "MIT" } diff --git a/src/popover/package.json b/src/popover/package.json index 5a9a81e99b..3df8e39281 100644 --- a/src/popover/package.json +++ b/src/popover/package.json @@ -1,6 +1,6 @@ { "name": "ngx-bootstrap/popover", - "version": "18.1.3", + "version": "19.0.0", "author": "Dmitriy Shekhovtsov ", "license": "MIT" } diff --git a/src/popover/popover-container.component.ts b/src/popover/popover-container.component.ts index 44fe02989c..07d3c00346 100644 --- a/src/popover/popover-container.component.ts +++ b/src/popover/popover-container.component.ts @@ -7,7 +7,6 @@ import { NgIf } from '@angular/common'; @Component({ selector: 'popover-container', changeDetection: ChangeDetectionStrategy.OnPush, - // eslint-disable-next-line @angular-eslint/no-host-metadata-property host: { '[attr.id]': 'popoverId', '[class]': '"popover in popover-" + _placement + " " + "bs-popover-" + _placement + " " + _placement + " " + containerClass + " " + checkMarginNecessity()', diff --git a/src/positioning/.eslintrc.json b/src/positioning/.eslintrc.json index ebf5719996..33a660eca9 100644 --- a/src/positioning/.eslintrc.json +++ b/src/positioning/.eslintrc.json @@ -19,7 +19,11 @@ "src/positioning/tsconfig.*?.json" ] }, - "rules": {} + "rules": { + "@angular-eslint/prefer-standalone": [ + "off" + ] + } }, { "files": [ diff --git a/src/positioning/package.json b/src/positioning/package.json index 6704c9889f..828583b771 100644 --- a/src/positioning/package.json +++ b/src/positioning/package.json @@ -1,6 +1,6 @@ { "name": "ngx-bootstrap/positioning", - "version": "18.1.3", + "version": "19.0.0", "author": "Dmitriy Shekhovtsov ", "license": "MIT" } diff --git a/src/positioning/testing/computeAutoPlacement.spec.ts b/src/positioning/testing/computeAutoPlacement.spec.ts index d676eefb10..a0d94bc3e5 100644 --- a/src/positioning/testing/computeAutoPlacement.spec.ts +++ b/src/positioning/testing/computeAutoPlacement.spec.ts @@ -6,7 +6,8 @@ import { Offsets } from '../models'; @Component({ selector: 'test-cmp', - template: `Popover demo` + template: `Popover demo`, + standalone: false }) class TestComponent {} diff --git a/src/positioning/testing/getBoundingClientRect.spec.ts b/src/positioning/testing/getBoundingClientRect.spec.ts index 684894ac2f..2766d49382 100644 --- a/src/positioning/testing/getBoundingClientRect.spec.ts +++ b/src/positioning/testing/getBoundingClientRect.spec.ts @@ -4,7 +4,8 @@ import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; @Component({ selector: 'test-cmp', - template: `Popover demo` + template: `Popover demo`, + standalone: false }) class TestComponent {} diff --git a/src/progressbar/.eslintrc.json b/src/progressbar/.eslintrc.json index e72e6993ec..183aeb0075 100644 --- a/src/progressbar/.eslintrc.json +++ b/src/progressbar/.eslintrc.json @@ -19,7 +19,11 @@ "src/progressbar/tsconfig.*?.json" ] }, - "rules": {} + "rules": { + "@angular-eslint/prefer-standalone": [ + "off" + ] + } }, { "files": [ diff --git a/src/progressbar/bar.component.ts b/src/progressbar/bar.component.ts index 23fd07a5dc..8c1533bf23 100644 --- a/src/progressbar/bar.component.ts +++ b/src/progressbar/bar.component.ts @@ -14,7 +14,6 @@ import { ProgressbarType } from './progressbar-type.interface'; selector: 'bar', templateUrl: './bar.component.html', changeDetection: ChangeDetectionStrategy.OnPush, - // eslint-disable-next-line @angular-eslint/no-host-metadata-property host: { role: 'progressbar', 'aria-valuemin': '0', diff --git a/src/progressbar/package.json b/src/progressbar/package.json index fcdfbf6efc..68b90e374b 100644 --- a/src/progressbar/package.json +++ b/src/progressbar/package.json @@ -1,6 +1,6 @@ { "name": "ngx-bootstrap/progressbar", - "version": "18.1.3", + "version": "19.0.0", "author": "Dmitriy Shekhovtsov ", "license": "MIT" } diff --git a/src/progressbar/progressbar.component.ts b/src/progressbar/progressbar.component.ts index b8967f9ae7..6acd1a168a 100644 --- a/src/progressbar/progressbar.component.ts +++ b/src/progressbar/progressbar.component.ts @@ -8,7 +8,6 @@ import { NgIf, NgFor } from '@angular/common'; selector: 'progressbar', templateUrl: './progressbar.component.html', changeDetection: ChangeDetectionStrategy.OnPush, - // eslint-disable-next-line @angular-eslint/no-host-metadata-property host: { '[class.progress]': 'true', '[attr.max]': 'max' diff --git a/src/progressbar/testing/progressbar.component.spec.ts b/src/progressbar/testing/progressbar.component.spec.ts index 7028dbe435..2593f4af6d 100644 --- a/src/progressbar/testing/progressbar.component.spec.ts +++ b/src/progressbar/testing/progressbar.component.spec.ts @@ -4,7 +4,8 @@ import { ProgressbarComponent, ProgressbarModule } from '../index'; @Component({ selector: 'progressbar-test', - template: '' + template: '', + standalone: false }) class TestProgressbarComponent extends ProgressbarComponent {} diff --git a/src/rating/.eslintrc.json b/src/rating/.eslintrc.json index e4d647d357..7d9ef66304 100644 --- a/src/rating/.eslintrc.json +++ b/src/rating/.eslintrc.json @@ -20,7 +20,10 @@ ] }, "rules": { - "@angular-eslint/no-output-on-prefix": 0 + "@angular-eslint/no-output-on-prefix": 0, + "@angular-eslint/prefer-standalone": [ + "off" + ] } }, { diff --git a/src/rating/package.json b/src/rating/package.json index 3bd04941cb..369f0db999 100644 --- a/src/rating/package.json +++ b/src/rating/package.json @@ -1,6 +1,6 @@ { "name": "ngx-bootstrap/rating", - "version": "18.1.3", + "version": "19.0.0", "author": "Dmitriy Shekhovtsov ", "license": "MIT" } diff --git a/src/rating/testing/rating.component.spec.ts b/src/rating/testing/rating.component.spec.ts index 21cc76245a..947a6883ea 100644 --- a/src/rating/testing/rating.component.spec.ts +++ b/src/rating/testing/rating.component.spec.ts @@ -6,7 +6,8 @@ import { RatingComponent, RatingConfig, RatingModule } from '../index'; @Component({ selector: 'rating-test', - template: '' + template: '', + standalone: false }) class TestRatingComponent { max = 5; diff --git a/src/root/package.json b/src/root/package.json index d81e19fda6..1d3e153a17 100644 --- a/src/root/package.json +++ b/src/root/package.json @@ -1,6 +1,6 @@ { "name": "ngx-bootstrap", - "version": "18.1.3", + "version": "19.0.0", "description": "Angular Bootstrap", "author": "Dmitriy Shekhovtsov ", "license": "MIT", diff --git a/src/schematics/package.json b/src/schematics/package.json index ff93ad2706..83d0744435 100644 --- a/src/schematics/package.json +++ b/src/schematics/package.json @@ -1,6 +1,6 @@ { "name": "schematics", - "version": "18.1.3", + "version": "19.0.0", "schematics": "./collection.json", "author": "Dmitriy Shekhovtsov ", "license": "MIT" diff --git a/src/schematics/src/utils/current_dependency_versions.json b/src/schematics/src/utils/current_dependency_versions.json index 672b154068..b8e77432b6 100644 --- a/src/schematics/src/utils/current_dependency_versions.json +++ b/src/schematics/src/utils/current_dependency_versions.json @@ -1,4 +1,4 @@ { - "NGX_BOOTSTRAP_VERSION": "18.1.3", + "NGX_BOOTSTRAP_VERSION": "19.0.0", "BOOTSTRAP_VERSION": "^5.2.3" } diff --git a/src/sortable/package.json b/src/sortable/package.json index 556f7df61a..345909288f 100644 --- a/src/sortable/package.json +++ b/src/sortable/package.json @@ -1,6 +1,6 @@ { "name": "ngx-bootstrap/sortable", - "version": "18.1.3", + "version": "19.0.0", "author": "Dmitriy Shekhovtsov ", "license": "MIT" } diff --git a/src/tabs/.eslintrc.json b/src/tabs/.eslintrc.json index 8ed22c78bc..21e4574af0 100644 --- a/src/tabs/.eslintrc.json +++ b/src/tabs/.eslintrc.json @@ -19,7 +19,11 @@ "src/tabs/tsconfig.*?.json" ] }, - "rules": {} + "rules": { + "@angular-eslint/prefer-standalone": [ + "off" + ] + } }, { "files": [ diff --git a/src/tabs/package.json b/src/tabs/package.json index b009994f59..8e47fc8d06 100644 --- a/src/tabs/package.json +++ b/src/tabs/package.json @@ -1,6 +1,6 @@ { "name": "ngx-bootstrap/tabs", - "version": "18.1.3", + "version": "19.0.0", "author": "Dmitriy Shekhovtsov ", "license": "MIT" } diff --git a/src/tabs/testing/tabset.component.spec.ts b/src/tabs/testing/tabset.component.spec.ts index 1e6f2afeb3..4c6297ef56 100644 --- a/src/tabs/testing/tabset.component.spec.ts +++ b/src/tabs/testing/tabset.component.spec.ts @@ -4,7 +4,8 @@ import { TabsetConfig, TabsModule, TabsetComponent } from '../index'; @Component({ selector: 'tabs-test', - template: '' + template: '', + standalone: false }) class TestTabsetComponent { isVertical = false; diff --git a/src/timepicker/package.json b/src/timepicker/package.json index 17ab0fb7e1..f6d18cb663 100644 --- a/src/timepicker/package.json +++ b/src/timepicker/package.json @@ -1,6 +1,6 @@ { "name": "ngx-bootstrap/timepicker", - "version": "18.1.3", + "version": "19.0.0", "author": "Dmitriy Shekhovtsov ", "license": "MIT" } diff --git a/src/tooltip/.eslintrc.json b/src/tooltip/.eslintrc.json index 5d408c08f3..cef7b54d39 100644 --- a/src/tooltip/.eslintrc.json +++ b/src/tooltip/.eslintrc.json @@ -20,7 +20,10 @@ ] }, "rules": { - "@angular-eslint/no-output-on-prefix": 0 + "@angular-eslint/no-output-on-prefix": 0, + "@angular-eslint/prefer-standalone": [ + "off" + ] } }, { diff --git a/src/tooltip/package.json b/src/tooltip/package.json index 09e8d0263a..3388d2c0c1 100644 --- a/src/tooltip/package.json +++ b/src/tooltip/package.json @@ -1,6 +1,6 @@ { "name": "ngx-bootstrap/tooltip", - "version": "18.1.3", + "version": "19.0.0", "author": "Dmitriy Shekhovtsov ", "license": "MIT" } diff --git a/src/tooltip/testing/tooltip.directive.spec.ts b/src/tooltip/testing/tooltip.directive.spec.ts index eb9b1c5762..236cfa8527 100644 --- a/src/tooltip/testing/tooltip.directive.spec.ts +++ b/src/tooltip/testing/tooltip.directive.spec.ts @@ -6,7 +6,8 @@ import { TooltipModule } from '../index'; @Component({ selector: 'test-tooltip', - template: '' + template: '', + standalone: false }) class TestTooltipComponent { delay = 0; diff --git a/src/tooltip/tooltip-container.component.ts b/src/tooltip/tooltip-container.component.ts index e907f4fd53..e6aaa36c45 100644 --- a/src/tooltip/tooltip-container.component.ts +++ b/src/tooltip/tooltip-container.component.ts @@ -10,7 +10,6 @@ import { PlacementForBs5 } from 'ngx-bootstrap/positioning'; @Component({ selector: 'bs-tooltip-container', changeDetection: ChangeDetectionStrategy.OnPush, - // eslint-disable-next-line @angular-eslint/no-host-metadata-property host: { '[class]': '"show tooltip in tooltip-" + placement + " " + "bs-tooltip-" + placement + " " + placement + " " + containerClass', '[attr.id]': 'this.id', diff --git a/src/typeahead/.eslintrc.json b/src/typeahead/.eslintrc.json index 2ab5673aa8..942d448012 100644 --- a/src/typeahead/.eslintrc.json +++ b/src/typeahead/.eslintrc.json @@ -19,7 +19,11 @@ "src/typeahead/tsconfig.*?.json" ] }, - "rules": {} + "rules": { + "@angular-eslint/prefer-standalone": [ + "off" + ] + } }, { "files": [ diff --git a/src/typeahead/package.json b/src/typeahead/package.json index 946ed095e1..89cd09cce3 100644 --- a/src/typeahead/package.json +++ b/src/typeahead/package.json @@ -1,6 +1,6 @@ { "name": "ngx-bootstrap/typeahead", - "version": "18.1.3", + "version": "19.0.0", "author": "Dmitriy Shekhovtsov ", "license": "MIT" } diff --git a/src/typeahead/testing/typeahead.directive.spec.ts b/src/typeahead/testing/typeahead.directive.spec.ts index 203265ae0a..0a29feef2a 100644 --- a/src/typeahead/testing/typeahead.directive.spec.ts +++ b/src/typeahead/testing/typeahead.directive.spec.ts @@ -22,7 +22,8 @@ interface State { [typeaheadOptionField]="'name'" [adaptivePosition]="false" (typeaheadOnBlur)="onBlurEvent($event)" - />` + />`, + standalone: false }) class TestTypeaheadComponent { selectedState?: string; diff --git a/src/typeahead/typeahead-container.component.ts b/src/typeahead/typeahead-container.component.ts index 032fe11a72..5a64493bdd 100644 --- a/src/typeahead/typeahead-container.component.ts +++ b/src/typeahead/typeahead-container.component.ts @@ -29,7 +29,6 @@ let nextWindowId = 0; @Component({ selector: 'typeahead-container', templateUrl: './typeahead-container.component.html', - // eslint-disable-next-line @angular-eslint/no-host-metadata-property host: { class: 'dropdown open bottom dropdown-menu', '[style.height]': `needScrollbar ? guiHeight: 'auto'`, diff --git a/src/typeahead/typeahead.directive.ts b/src/typeahead/typeahead.directive.ts index 2296e55ce6..4a074a05c2 100644 --- a/src/typeahead/typeahead.directive.ts +++ b/src/typeahead/typeahead.directive.ts @@ -33,7 +33,6 @@ type TypeaheadOptionArr = TypeaheadOption[] | Observable; @Directive({ selector: '[typeahead]', exportAs: 'bs-typeahead', - // eslint-disable-next-line @angular-eslint/no-host-metadata-property host: { '[attr.aria-activedescendant]': 'activeDescendant', '[attr.aria-owns]': 'isOpen ? this._container.popupId : null', diff --git a/src/utils/package.json b/src/utils/package.json index ff6985e301..e612c836a2 100644 --- a/src/utils/package.json +++ b/src/utils/package.json @@ -1,6 +1,6 @@ { "name": "ngx-bootstrap/utils", - "version": "18.1.3", + "version": "19.0.0", "author": "Dmitriy Shekhovtsov ", "license": "MIT" }