diff --git a/angular.json b/angular.json index 9e16775b2b..d61a186fe2 100644 --- a/angular.json +++ b/angular.json @@ -45,12 +45,13 @@ "prefix": "app", "architect": { "build": { - "builder": "@angular-devkit/build-angular:browser", + "builder": "@angular-devkit/build-angular:application", "options": { - "outputPath": "dist/app", + "outputPath": { + "base": "dist/app" + }, "index": "projects/app/src/index.html", - "main": "projects/app/src/main.ts", - "polyfills": "projects/app/src/polyfills.ts", + "polyfills": ["projects/app/src/polyfills.ts"], "tsConfig": "projects/app/tsconfig.app.json", "assets": [ "projects/app/src/favicon.ico", @@ -68,12 +69,11 @@ ], "styles": ["./node_modules/@po-ui/style/css/po-theme-default.min.css", "projects/app/src/styles.css"], "scripts": [], - "vendorChunk": true, "extractLicenses": false, - "buildOptimizer": false, "sourceMap": true, "optimization": false, - "namedChunks": true + "namedChunks": true, + "browser": "projects/app/src/main.ts" }, "configurations": { "production": { @@ -88,8 +88,6 @@ "sourceMap": false, "namedChunks": false, "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true, "budgets": [ { "type": "initial", @@ -288,12 +286,13 @@ "prefix": "app", "architect": { "build": { - "builder": "@angular-devkit/build-angular:browser", + "builder": "@angular-devkit/build-angular:application", "options": { - "outputPath": "dist/portal", + "outputPath": { + "base": "dist/portal" + }, "index": "projects/portal/src/index.html", - "main": "projects/portal/src/main.ts", - "polyfills": "projects/portal/src/polyfills.ts", + "polyfills": ["projects/portal/src/polyfills.ts"], "tsConfig": "projects/portal/tsconfig.app.json", "assets": [ "projects/portal/src/favicon.ico", @@ -316,12 +315,11 @@ "projects/portal/src/styles.css" ], "scripts": [], - "vendorChunk": true, "extractLicenses": false, - "buildOptimizer": false, "sourceMap": true, "optimization": false, - "namedChunks": true + "namedChunks": true, + "browser": "projects/portal/src/main.ts" }, "configurations": { "production": { @@ -336,8 +334,6 @@ "sourceMap": false, "namedChunks": false, "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true, "budgets": [ { "type": "initial", diff --git a/package.json b/package.json index 18867cc6d7..3bc4b6d1f9 100644 --- a/package.json +++ b/package.json @@ -64,15 +64,15 @@ }, "private": true, "dependencies": { - "@angular/animations": "~18.0.1", + "@angular/animations": "~19.0.3", "@angular/cdk": "~18.0.1", - "@angular/common": "~18.0.1", - "@angular/compiler": "~18.0.1", - "@angular/core": "~18.0.1", - "@angular/forms": "~18.0.1", - "@angular/platform-browser": "~18.0.1", - "@angular/platform-browser-dynamic": "~18.0.1", - "@angular/router": "~18.0.1", + "@angular/common": "~19.0.3", + "@angular/compiler": "~19.0.3", + "@angular/core": "~19.0.3", + "@angular/forms": "~19.0.3", + "@angular/platform-browser": "~19.0.3", + "@angular/platform-browser-dynamic": "~19.0.3", + "@angular/router": "~19.0.3", "@capacitor/core": "5.7.2", "@capacitor/network": "^5.0.7", "@po-ui/style": "18.18.0", @@ -88,23 +88,23 @@ "localforage": "1.10.0", "lokijs": "1.5.12", "monaco-editor": "0.44.0", - "ngx-markdown": "~18.0.0", + "ngx-markdown": "^19.0.0", "run-sequence": "^2.2.1", "rxjs": "~7.8.1", "rxjs-compat": "~6.6.7", "tslib": "^2.6.2", - "zone.js": "~0.14.4" + "zone.js": "~0.15.0" }, "devDependencies": { - "@angular-devkit/build-angular": "~18.0.2", + "@angular-devkit/build-angular": "~19.0.4", "@angular-eslint/builder": "^18.0.1", "@angular-eslint/eslint-plugin": "^18.0.1", "@angular-eslint/eslint-plugin-template": "^18.0.1", "@angular-eslint/schematics": "^18.0.1", "@angular-eslint/template-parser": "^18.0.1", - "@angular/cli": "~18.0.2", - "@angular/compiler-cli": "~18.0.1", - "@angular/language-service": "~18.0.1", + "@angular/cli": "~19.0.4", + "@angular/compiler-cli": "~19.0.3", + "@angular/language-service": "~19.0.3", "@animaliads/animalia-icon": "1.0.2", "@commitlint/cli": "^18.4.3", "@commitlint/config-angular": "^18.4.3", @@ -136,7 +136,7 @@ "karma-jasmine-html-reporter": "2.1.0", "lint-staged": "^15.1.0", "mkdirp": "3.0.1", - "ng-packagr": "~18.0.0", + "ng-packagr": "~19.0.1", "prettier": "^3.1.0", "protractor": "~7.0.0", "rollup": "4.24.4", @@ -145,7 +145,7 @@ "standard-version": "^9.5.0", "ts-node": "~10.9.1", "typemoq": "^2.1.0", - "typescript": "~5.4.5" + "typescript": "~5.6.3" }, "standard-version": { "skip": { diff --git a/projects/app/src/app/app.component.ts b/projects/app/src/app/app.component.ts index f45969e5cd..bda8a32cd9 100644 --- a/projects/app/src/app/app.component.ts +++ b/projects/app/src/app/app.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'app-root', - templateUrl: './app.component.html' + selector: 'app-root', + templateUrl: './app.component.html', + standalone: false }) export class AppComponent {} diff --git a/projects/code-editor/src/lib/components/po-code-editor/samples/sample-po-code-editor-basic/sample-po-code-editor-basic.component.ts b/projects/code-editor/src/lib/components/po-code-editor/samples/sample-po-code-editor-basic/sample-po-code-editor-basic.component.ts index 01f22f6e46..1420be11db 100644 --- a/projects/code-editor/src/lib/components/po-code-editor/samples/sample-po-code-editor-basic/sample-po-code-editor-basic.component.ts +++ b/projects/code-editor/src/lib/components/po-code-editor/samples/sample-po-code-editor-basic/sample-po-code-editor-basic.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-code-editor-basic', - templateUrl: './sample-po-code-editor-basic.component.html' + selector: 'sample-po-code-editor-basic', + templateUrl: './sample-po-code-editor-basic.component.html', + standalone: false }) export class SamplePoCodeEditorBasicComponent {} diff --git a/projects/code-editor/src/lib/components/po-code-editor/samples/sample-po-code-editor-diff/sample-po-code-editor-diff.component.ts b/projects/code-editor/src/lib/components/po-code-editor/samples/sample-po-code-editor-diff/sample-po-code-editor-diff.component.ts index 68df657a11..2b1f525df1 100644 --- a/projects/code-editor/src/lib/components/po-code-editor/samples/sample-po-code-editor-diff/sample-po-code-editor-diff.component.ts +++ b/projects/code-editor/src/lib/components/po-code-editor/samples/sample-po-code-editor-diff/sample-po-code-editor-diff.component.ts @@ -1,8 +1,9 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-code-editor-diff', - templateUrl: './sample-po-code-editor-diff.component.html' + selector: 'sample-po-code-editor-diff', + templateUrl: './sample-po-code-editor-diff.component.html', + standalone: false }) export class SamplePoCodeEditorDiffComponent { code = [ diff --git a/projects/code-editor/src/lib/components/po-code-editor/samples/sample-po-code-editor-labs/sample-po-code-editor-labs.component.ts b/projects/code-editor/src/lib/components/po-code-editor/samples/sample-po-code-editor-labs/sample-po-code-editor-labs.component.ts index 0e720e0980..fa4c9df517 100644 --- a/projects/code-editor/src/lib/components/po-code-editor/samples/sample-po-code-editor-labs/sample-po-code-editor-labs.component.ts +++ b/projects/code-editor/src/lib/components/po-code-editor/samples/sample-po-code-editor-labs/sample-po-code-editor-labs.component.ts @@ -3,8 +3,9 @@ import { Component, OnInit } from '@angular/core'; import { PoCheckboxGroupOption, PoSelectOption } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-code-editor-labs', - templateUrl: './sample-po-code-editor-labs.component.html' + selector: 'sample-po-code-editor-labs', + templateUrl: './sample-po-code-editor-labs.component.html', + standalone: false }) export class SamplePoCodeEditorLabsComponent implements OnInit { codeEditor: string; diff --git a/projects/code-editor/src/lib/components/po-code-editor/samples/sample-po-code-editor-suggestion/sample-po-code-editor-suggestion.component.ts b/projects/code-editor/src/lib/components/po-code-editor/samples/sample-po-code-editor-suggestion/sample-po-code-editor-suggestion.component.ts index c7e7ad1062..ef374404ab 100644 --- a/projects/code-editor/src/lib/components/po-code-editor/samples/sample-po-code-editor-suggestion/sample-po-code-editor-suggestion.component.ts +++ b/projects/code-editor/src/lib/components/po-code-editor/samples/sample-po-code-editor-suggestion/sample-po-code-editor-suggestion.component.ts @@ -1,8 +1,9 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-code-editor-suggestion', - templateUrl: './sample-po-code-editor-suggestion.component.html' + selector: 'sample-po-code-editor-suggestion', + templateUrl: './sample-po-code-editor-suggestion.component.html', + standalone: false }) export class SamplePoCodeEditorSuggestionComponent { language = 'html'; diff --git a/projects/code-editor/src/lib/components/po-code-editor/samples/sample-po-code-editor-terraform/sample-po-code-editor-terraform.component.ts b/projects/code-editor/src/lib/components/po-code-editor/samples/sample-po-code-editor-terraform/sample-po-code-editor-terraform.component.ts index 1d01567ab5..e56c6e90f0 100644 --- a/projects/code-editor/src/lib/components/po-code-editor/samples/sample-po-code-editor-terraform/sample-po-code-editor-terraform.component.ts +++ b/projects/code-editor/src/lib/components/po-code-editor/samples/sample-po-code-editor-terraform/sample-po-code-editor-terraform.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-code-editor-terraform', - templateUrl: './sample-po-code-editor-terraform.component.html' + selector: 'sample-po-code-editor-terraform', + templateUrl: './sample-po-code-editor-terraform.component.html', + standalone: false }) export class SamplePoCodeEditorTerraformComponent {} diff --git a/projects/portal/src/app/app.component.ts b/projects/portal/src/app/app.component.ts index ea41214cd8..0ad5312745 100644 --- a/projects/portal/src/app/app.component.ts +++ b/projects/portal/src/app/app.component.ts @@ -10,8 +10,9 @@ import { VersionService } from './shared/version.service'; const KEY_STORAGE_REVIEW_SURVEY = 'review_survey_po_ui'; @Component({ - selector: 'app-root', - templateUrl: './app.component.html' + selector: 'app-root', + templateUrl: './app.component.html', + standalone: false }) export class AppComponent implements OnInit, OnDestroy { menus: Array = []; diff --git a/projects/portal/src/app/documentation/documentation-code.directive.ts b/projects/portal/src/app/documentation/documentation-code.directive.ts index e68b91e7de..a5043cc96d 100644 --- a/projects/portal/src/app/documentation/documentation-code.directive.ts +++ b/projects/portal/src/app/documentation/documentation-code.directive.ts @@ -4,7 +4,8 @@ import { AfterViewInit } from '@angular/core'; declare const hljs: any; @Directive({ - selector: '[appCodeHighlight]' + selector: '[appCodeHighlight]', + standalone: false }) export class HighlightCodeDirective implements AfterViewInit { constructor(private element: ElementRef) {} diff --git a/projects/portal/src/app/documentation/documentation-list.component.ts b/projects/portal/src/app/documentation/documentation-list.component.ts index cc5aef7e6f..c69b1a6961 100644 --- a/projects/portal/src/app/documentation/documentation-list.component.ts +++ b/projects/portal/src/app/documentation/documentation-list.component.ts @@ -7,7 +7,8 @@ import { Documentation } from './documentation.class'; import { DocumentationService } from '../documentation/documentation.service'; @Component({ - templateUrl: './documentation-list.component.html' + templateUrl: './documentation-list.component.html', + standalone: false }) export class DocumentationListComponent implements OnInit { public filteredItems; diff --git a/projects/portal/src/app/documentation/documentation.component.ts b/projects/portal/src/app/documentation/documentation.component.ts index eff7528df4..825573de03 100644 --- a/projects/portal/src/app/documentation/documentation.component.ts +++ b/projects/portal/src/app/documentation/documentation.component.ts @@ -4,8 +4,9 @@ import { HttpClient } from '@angular/common/http'; import { MenuComponentsService } from './menu-components.service'; @Component({ - templateUrl: './documentation.component.html', - providers: [MenuComponentsService] + templateUrl: './documentation.component.html', + providers: [MenuComponentsService], + standalone: false }) export class DocumentationComponent implements OnInit { menus = []; diff --git a/projects/portal/src/app/guide/guides.components.ts b/projects/portal/src/app/guide/guides.components.ts index 1cd903bf5d..b1d2fd57a7 100644 --- a/projects/portal/src/app/guide/guides.components.ts +++ b/projects/portal/src/app/guide/guides.components.ts @@ -4,8 +4,9 @@ import { HttpClient } from '@angular/common/http'; import { MenuGuidesService } from './menu-guides.service'; @Component({ - templateUrl: './guides.component.html', - providers: [MenuGuidesService] + templateUrl: './guides.component.html', + providers: [MenuGuidesService], + standalone: false }) export class GuidesComponent implements OnInit { menus = []; diff --git a/projects/portal/src/app/home/home-colorful/home-colorful.component.ts b/projects/portal/src/app/home/home-colorful/home-colorful.component.ts index 3fa9029804..866a178641 100644 --- a/projects/portal/src/app/home/home-colorful/home-colorful.component.ts +++ b/projects/portal/src/app/home/home-colorful/home-colorful.component.ts @@ -3,9 +3,10 @@ import { pluck } from 'rxjs/operators'; import { HomeColorfulService } from './home-colorful.service'; @Component({ - selector: 'app-home-colorful', - templateUrl: './home-colorful.component.html', - styleUrls: ['./home-colorful.component.css'] + selector: 'app-home-colorful', + templateUrl: './home-colorful.component.html', + styleUrls: ['./home-colorful.component.css'], + standalone: false }) export class HomeColorfulComponent implements OnInit { public stargazers_count: number; diff --git a/projects/portal/src/app/home/home.component.ts b/projects/portal/src/app/home/home.component.ts index 341123d487..b4b4f38515 100644 --- a/projects/portal/src/app/home/home.component.ts +++ b/projects/portal/src/app/home/home.component.ts @@ -2,9 +2,10 @@ import { Component } from '@angular/core'; import { Router } from '@angular/router'; @Component({ - selector: 'app-home', - templateUrl: 'home.component.html', - styleUrls: ['home.component.css'] + selector: 'app-home', + templateUrl: 'home.component.html', + styleUrls: ['home.component.css'], + standalone: false }) export class HomeComponent { constructor(private router: Router) {} diff --git a/projects/portal/src/app/icons/icons.component.ts b/projects/portal/src/app/icons/icons.component.ts index 5eec972393..5bd976237c 100644 --- a/projects/portal/src/app/icons/icons.component.ts +++ b/projects/portal/src/app/icons/icons.component.ts @@ -3,9 +3,10 @@ import { Component, ViewChild } from '@angular/core'; import { PoComboOption, PoNotificationService, PoSearchComponent, PoSearchFilterMode } from '../../../../ui/src/lib'; @Component({ - selector: 'app-icons', - templateUrl: './icons.component.html', - styleUrls: ['icons.component.css'] + selector: 'app-icons', + templateUrl: './icons.component.html', + styleUrls: ['icons.component.css'], + standalone: false }) export class IconsComponent { @ViewChild('poSearch', { static: true }) PoSearch: PoSearchComponent; diff --git a/projects/portal/src/app/theme-builder/theme-builder.component.ts b/projects/portal/src/app/theme-builder/theme-builder.component.ts index 310368d051..808642bbdf 100644 --- a/projects/portal/src/app/theme-builder/theme-builder.component.ts +++ b/projects/portal/src/app/theme-builder/theme-builder.component.ts @@ -31,10 +31,11 @@ import { } from '../../../../ui/src/lib'; @Component({ - selector: 'app-theme-builder', - templateUrl: './theme-builder.component.html', - styleUrls: ['theme-builder.component.css'], - encapsulation: ViewEncapsulation.None + selector: 'app-theme-builder', + templateUrl: './theme-builder.component.html', + styleUrls: ['theme-builder.component.css'], + encapsulation: ViewEncapsulation.None, + standalone: false }) export class ThemeBuilderComponent implements AfterViewInit, OnInit { @ViewChild('viewCSSModal') viewCSSModal: PoModalComponent; diff --git a/projects/portal/src/app/tools/tools-dynamic-form/tools-dynamic-form.component.ts b/projects/portal/src/app/tools/tools-dynamic-form/tools-dynamic-form.component.ts index 0ecb8ef5df..11548aa83c 100644 --- a/projects/portal/src/app/tools/tools-dynamic-form/tools-dynamic-form.component.ts +++ b/projects/portal/src/app/tools/tools-dynamic-form/tools-dynamic-form.component.ts @@ -13,9 +13,10 @@ import { } from '@po-ui/ng-components'; @Component({ - selector: 'app-tools-dynamic-form', - templateUrl: 'tools-dynamic-form.component.html', - styleUrls: ['tools-dynamic-form.component.css'] + selector: 'app-tools-dynamic-form', + templateUrl: 'tools-dynamic-form.component.html', + styleUrls: ['tools-dynamic-form.component.css'], + standalone: false }) export class ToolsDynamicFormComponent { @ViewChild('generatorForm') generatorForm: NgForm; diff --git a/projects/portal/src/app/tools/tools-dynamic-view/tools-dynamic-view.component.ts b/projects/portal/src/app/tools/tools-dynamic-view/tools-dynamic-view.component.ts index 393570fed5..fad5858d52 100644 --- a/projects/portal/src/app/tools/tools-dynamic-view/tools-dynamic-view.component.ts +++ b/projects/portal/src/app/tools/tools-dynamic-view/tools-dynamic-view.component.ts @@ -15,9 +15,10 @@ import { } from '@po-ui/ng-components'; @Component({ - selector: 'app-tools-dynamic-view', - templateUrl: 'tools-dynamic-view.component.html', - styleUrls: ['tools-dynamic-view.component.css'] + selector: 'app-tools-dynamic-view', + templateUrl: 'tools-dynamic-view.component.html', + styleUrls: ['tools-dynamic-view.component.css'], + standalone: false }) export class ToolsDynamicViewComponent { @ViewChild('generatorForm') generatorForm: NgForm; diff --git a/projects/templates/src/lib/components/po-modal-password-recovery/po-modal-password-recovery-error-message/po-modal-password-recovery-error-message.component.ts b/projects/templates/src/lib/components/po-modal-password-recovery/po-modal-password-recovery-error-message/po-modal-password-recovery-error-message.component.ts index 53192e4554..179b0dac1b 100644 --- a/projects/templates/src/lib/components/po-modal-password-recovery/po-modal-password-recovery-error-message/po-modal-password-recovery-error-message.component.ts +++ b/projects/templates/src/lib/components/po-modal-password-recovery/po-modal-password-recovery-error-message/po-modal-password-recovery-error-message.component.ts @@ -8,8 +8,9 @@ import { Component, Input } from '@angular/core'; * Componente utilizado para exibição da mensagem customizada de erro em um campo de formulário. */ @Component({ - selector: 'po-modal-password-recovery-error-message', - templateUrl: './po-modal-password-recovery-error-message.component.html' + selector: 'po-modal-password-recovery-error-message', + templateUrl: './po-modal-password-recovery-error-message.component.html', + standalone: false }) export class PoModalPasswordRecoveryErrorMessageComponent { /** Texto exibido na mensagem de erro. */ diff --git a/projects/templates/src/lib/components/po-modal-password-recovery/po-modal-password-recovery.component.ts b/projects/templates/src/lib/components/po-modal-password-recovery/po-modal-password-recovery.component.ts index a682399adc..12fe970f3a 100644 --- a/projects/templates/src/lib/components/po-modal-password-recovery/po-modal-password-recovery.component.ts +++ b/projects/templates/src/lib/components/po-modal-password-recovery/po-modal-password-recovery.component.ts @@ -41,8 +41,9 @@ import { PoModalPasswordRecoveryType } from './enums/po-modal-password-recovery- */ @Component({ - selector: 'po-modal-password-recovery', - templateUrl: './po-modal-password-recovery.component.html' + selector: 'po-modal-password-recovery', + templateUrl: './po-modal-password-recovery.component.html', + standalone: false }) export class PoModalPasswordRecoveryComponent extends PoModalPasswordRecoveryBaseComponent implements OnDestroy { @ViewChild('emailForm') emailForm: NgForm; diff --git a/projects/templates/src/lib/components/po-modal-password-recovery/samples/sample-po-modal-password-recovery-basic/sample-po-modal-password-recovery-basic.component.ts b/projects/templates/src/lib/components/po-modal-password-recovery/samples/sample-po-modal-password-recovery-basic/sample-po-modal-password-recovery-basic.component.ts index fcebe63dc2..47c75d2fcb 100644 --- a/projects/templates/src/lib/components/po-modal-password-recovery/samples/sample-po-modal-password-recovery-basic/sample-po-modal-password-recovery-basic.component.ts +++ b/projects/templates/src/lib/components/po-modal-password-recovery/samples/sample-po-modal-password-recovery-basic/sample-po-modal-password-recovery-basic.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-modal-password-recovery-basic', - templateUrl: './sample-po-modal-password-recovery-basic.component.html' + selector: 'sample-po-modal-password-recovery-basic', + templateUrl: './sample-po-modal-password-recovery-basic.component.html', + standalone: false }) export class SamplePoModalPasswordRecoveryBasicComponent {} diff --git a/projects/templates/src/lib/components/po-modal-password-recovery/samples/sample-po-modal-password-recovery-labs/sample-po-modal-password-recovery-labs.component.ts b/projects/templates/src/lib/components/po-modal-password-recovery/samples/sample-po-modal-password-recovery-labs/sample-po-modal-password-recovery-labs.component.ts index d1cd8c87fc..c896a96e9f 100644 --- a/projects/templates/src/lib/components/po-modal-password-recovery/samples/sample-po-modal-password-recovery-labs/sample-po-modal-password-recovery-labs.component.ts +++ b/projects/templates/src/lib/components/po-modal-password-recovery/samples/sample-po-modal-password-recovery-labs/sample-po-modal-password-recovery-labs.component.ts @@ -8,8 +8,9 @@ import { } from '@po-ui/ng-templates'; @Component({ - selector: 'sample-po-modal-password-recovery-labs', - templateUrl: './sample-po-modal-password-recovery-labs.component.html' + selector: 'sample-po-modal-password-recovery-labs', + templateUrl: './sample-po-modal-password-recovery-labs.component.html', + standalone: false }) export class SamplePoModalPasswordRecoveryLabsComponent implements OnInit { @ViewChild(PoModalPasswordRecoveryComponent) poModalPasswordRecovery: PoModalPasswordRecoveryComponent; diff --git a/projects/templates/src/lib/components/po-modal-password-recovery/samples/sample-po-modal-password-recovery-request/sample-po-modal-password-recovery-request.component.ts b/projects/templates/src/lib/components/po-modal-password-recovery/samples/sample-po-modal-password-recovery-request/sample-po-modal-password-recovery-request.component.ts index edb0c1b513..483bb82d37 100644 --- a/projects/templates/src/lib/components/po-modal-password-recovery/samples/sample-po-modal-password-recovery-request/sample-po-modal-password-recovery-request.component.ts +++ b/projects/templates/src/lib/components/po-modal-password-recovery/samples/sample-po-modal-password-recovery-request/sample-po-modal-password-recovery-request.component.ts @@ -3,8 +3,9 @@ import { Component, ViewChild } from '@angular/core'; import { PoModalPasswordRecoveryComponent, PoModalPasswordRecoveryType } from '@po-ui/ng-templates'; @Component({ - selector: 'sample-po-modal-password-recovery-request', - templateUrl: './sample-po-modal-password-recovery-request.component.html' + selector: 'sample-po-modal-password-recovery-request', + templateUrl: './sample-po-modal-password-recovery-request.component.html', + standalone: false }) export class SamplePoModalPasswordRecoveryRequestComponent { @ViewChild(PoModalPasswordRecoveryComponent) poModalPasswordRecovery: PoModalPasswordRecoveryComponent; diff --git a/projects/templates/src/lib/components/po-page-background/po-page-background.component.ts b/projects/templates/src/lib/components/po-page-background/po-page-background.component.ts index e19e8e0370..a0b84f03b7 100644 --- a/projects/templates/src/lib/components/po-page-background/po-page-background.component.ts +++ b/projects/templates/src/lib/components/po-page-background/po-page-background.component.ts @@ -5,8 +5,9 @@ import { PoLanguage, poLanguageDefault, PoLanguageService, PoSelectOption } from import { convertToBoolean } from './../../utils/util'; @Component({ - selector: 'po-page-background', - templateUrl: './po-page-background.component.html' + selector: 'po-page-background', + templateUrl: './po-page-background.component.html', + standalone: false }) /** diff --git a/projects/templates/src/lib/components/po-page-blocked-user/po-page-blocked-user-contacts/po-page-blocked-user-contacts.component.ts b/projects/templates/src/lib/components/po-page-blocked-user/po-page-blocked-user-contacts/po-page-blocked-user-contacts.component.ts index 4aa55a49b8..c3dd9ecbbf 100644 --- a/projects/templates/src/lib/components/po-page-blocked-user/po-page-blocked-user-contacts/po-page-blocked-user-contacts.component.ts +++ b/projects/templates/src/lib/components/po-page-blocked-user/po-page-blocked-user-contacts/po-page-blocked-user-contacts.component.ts @@ -3,9 +3,10 @@ import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, Inpu const poPageBlockedUserContactItemMargin = 16; @Component({ - selector: 'po-page-blocked-user-contacts', - templateUrl: './po-page-blocked-user-contacts.component.html', - changeDetection: ChangeDetectionStrategy.OnPush + selector: 'po-page-blocked-user-contacts', + templateUrl: './po-page-blocked-user-contacts.component.html', + changeDetection: ChangeDetectionStrategy.OnPush, + standalone: false }) export class PoPageBlockedUserContactsComponent { @ViewChild('contactGroup', { static: true }) contactGroup: ElementRef; diff --git a/projects/templates/src/lib/components/po-page-blocked-user/po-page-blocked-user-reason/po-page-blocked-user-reason.component.ts b/projects/templates/src/lib/components/po-page-blocked-user/po-page-blocked-user-reason/po-page-blocked-user-reason.component.ts index 4c1a85588d..9c26695489 100644 --- a/projects/templates/src/lib/components/po-page-blocked-user/po-page-blocked-user-reason/po-page-blocked-user-reason.component.ts +++ b/projects/templates/src/lib/components/po-page-blocked-user/po-page-blocked-user-reason/po-page-blocked-user-reason.component.ts @@ -7,8 +7,9 @@ import { PoPageBlockedUserReason } from '../enums/po-page-blocked-user-reason.en import { PoPageBlockedUserReasonParams } from '../interfaces/po-page-blocked-user-reason-params.interface'; @Component({ - selector: 'po-page-blocked-user-reason', - templateUrl: './po-page-blocked-user-reason.component.html' + selector: 'po-page-blocked-user-reason', + templateUrl: './po-page-blocked-user-reason.component.html', + standalone: false }) export class PoPageBlockedUserReasonComponent implements OnChanges, OnInit { @Input('p-params') params: PoPageBlockedUserReasonParams; diff --git a/projects/templates/src/lib/components/po-page-blocked-user/po-page-blocked-user.component.ts b/projects/templates/src/lib/components/po-page-blocked-user/po-page-blocked-user.component.ts index f2220e1997..01a00db8b1 100644 --- a/projects/templates/src/lib/components/po-page-blocked-user/po-page-blocked-user.component.ts +++ b/projects/templates/src/lib/components/po-page-blocked-user/po-page-blocked-user.component.ts @@ -49,8 +49,9 @@ export const poPageBlockedUserButtonLiterals: Object = { */ @Component({ - selector: 'po-page-blocked-user', - templateUrl: './po-page-blocked-user.component.html' + selector: 'po-page-blocked-user', + templateUrl: './po-page-blocked-user.component.html', + standalone: false }) export class PoPageBlockedUserComponent extends PoPageBlockedUserBaseComponent implements OnInit { literals; diff --git a/projects/templates/src/lib/components/po-page-blocked-user/samples/sample-po-page-blocked-user-basic/sample-po-page-blocked-user-basic.component.ts b/projects/templates/src/lib/components/po-page-blocked-user/samples/sample-po-page-blocked-user-basic/sample-po-page-blocked-user-basic.component.ts index a84f090462..7ba53fadd3 100644 --- a/projects/templates/src/lib/components/po-page-blocked-user/samples/sample-po-page-blocked-user-basic/sample-po-page-blocked-user-basic.component.ts +++ b/projects/templates/src/lib/components/po-page-blocked-user/samples/sample-po-page-blocked-user-basic/sample-po-page-blocked-user-basic.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-page-blocked-user-basic', - templateUrl: './sample-po-page-blocked-user-basic.component.html' + selector: 'sample-po-page-blocked-user-basic', + templateUrl: './sample-po-page-blocked-user-basic.component.html', + standalone: false }) export class SamplePoPageBlockedUserBasicComponent {} diff --git a/projects/templates/src/lib/components/po-page-blocked-user/samples/sample-po-page-blocked-user-exceeded-attempts/sample-po-page-blocked-user-exceeded-attempts.component.ts b/projects/templates/src/lib/components/po-page-blocked-user/samples/sample-po-page-blocked-user-exceeded-attempts/sample-po-page-blocked-user-exceeded-attempts.component.ts index e78729461d..d27b2b1a3a 100644 --- a/projects/templates/src/lib/components/po-page-blocked-user/samples/sample-po-page-blocked-user-exceeded-attempts/sample-po-page-blocked-user-exceeded-attempts.component.ts +++ b/projects/templates/src/lib/components/po-page-blocked-user/samples/sample-po-page-blocked-user-exceeded-attempts/sample-po-page-blocked-user-exceeded-attempts.component.ts @@ -3,8 +3,9 @@ import { Component } from '@angular/core'; import { PoPageBlockedUserReasonParams } from '@po-ui/ng-templates'; @Component({ - selector: 'sample-po-page-blocked-user-exceeded-attempts', - templateUrl: './sample-po-page-blocked-user-exceeded-attempts.component.html' + selector: 'sample-po-page-blocked-user-exceeded-attempts', + templateUrl: './sample-po-page-blocked-user-exceeded-attempts.component.html', + standalone: false }) export class SamplePoPageBlockedUserExceededAttemptsComponent { blocked = false; diff --git a/projects/templates/src/lib/components/po-page-blocked-user/samples/sample-po-page-blocked-user-expired-password/sample-po-page-blocked-user-expired-password.component.ts b/projects/templates/src/lib/components/po-page-blocked-user/samples/sample-po-page-blocked-user-expired-password/sample-po-page-blocked-user-expired-password.component.ts index 3e63f4180d..a5d0a0a9d6 100644 --- a/projects/templates/src/lib/components/po-page-blocked-user/samples/sample-po-page-blocked-user-expired-password/sample-po-page-blocked-user-expired-password.component.ts +++ b/projects/templates/src/lib/components/po-page-blocked-user/samples/sample-po-page-blocked-user-expired-password/sample-po-page-blocked-user-expired-password.component.ts @@ -1,8 +1,9 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-page-blocked-user-expired-password', - templateUrl: './sample-po-page-blocked-user-expired-password.component.html' + selector: 'sample-po-page-blocked-user-expired-password', + templateUrl: './sample-po-page-blocked-user-expired-password.component.html', + standalone: false }) export class SamplePoPageBlockedUserExpiredPasswordComponent { blocked = false; diff --git a/projects/templates/src/lib/components/po-page-blocked-user/samples/sample-po-page-blocked-user-labs/sample-po-page-blocked-user-labs.component.ts b/projects/templates/src/lib/components/po-page-blocked-user/samples/sample-po-page-blocked-user-labs/sample-po-page-blocked-user-labs.component.ts index 5472407b6b..e4109ec0f7 100644 --- a/projects/templates/src/lib/components/po-page-blocked-user/samples/sample-po-page-blocked-user-labs/sample-po-page-blocked-user-labs.component.ts +++ b/projects/templates/src/lib/components/po-page-blocked-user/samples/sample-po-page-blocked-user-labs/sample-po-page-blocked-user-labs.component.ts @@ -4,8 +4,9 @@ import { PoPageBlockedUserReason, PoPageBlockedUserReasonParams } from '@po-ui/n import { PoRadioGroupOption } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-page-blocked-user-labs', - templateUrl: './sample-po-page-blocked-user-labs.component.html' + selector: 'sample-po-page-blocked-user-labs', + templateUrl: './sample-po-page-blocked-user-labs.component.html', + standalone: false }) export class SamplePoPageBlockedUserLabsComponent implements OnInit { contactMail: string; diff --git a/projects/templates/src/lib/components/po-page-change-password/po-page-change-password.component.ts b/projects/templates/src/lib/components/po-page-change-password/po-page-change-password.component.ts index 863a97ab2b..ec4f5fb0c7 100644 --- a/projects/templates/src/lib/components/po-page-change-password/po-page-change-password.component.ts +++ b/projects/templates/src/lib/components/po-page-change-password/po-page-change-password.component.ts @@ -54,8 +54,9 @@ import { PoPageChangePasswordService } from './po-page-change-password.service'; * */ @Component({ - selector: 'po-page-change-password', - templateUrl: './po-page-change-password.component.html' + selector: 'po-page-change-password', + templateUrl: './po-page-change-password.component.html', + standalone: false }) export class PoPageChangePasswordComponent extends PoPageChangePasswordBaseComponent diff --git a/projects/templates/src/lib/components/po-page-change-password/samples/sample-po-page-change-password-basic/sample-po-page-change-password-basic.component.ts b/projects/templates/src/lib/components/po-page-change-password/samples/sample-po-page-change-password-basic/sample-po-page-change-password-basic.component.ts index ef53c91025..91667e8264 100644 --- a/projects/templates/src/lib/components/po-page-change-password/samples/sample-po-page-change-password-basic/sample-po-page-change-password-basic.component.ts +++ b/projects/templates/src/lib/components/po-page-change-password/samples/sample-po-page-change-password-basic/sample-po-page-change-password-basic.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-page-change-password-basic', - templateUrl: './sample-po-page-change-password-basic.component.html' + selector: 'sample-po-page-change-password-basic', + templateUrl: './sample-po-page-change-password-basic.component.html', + standalone: false }) export class SamplePoPageChangePasswordBasicComponent {} diff --git a/projects/templates/src/lib/components/po-page-change-password/samples/sample-po-page-change-password-create/sample-po-page-change-password-create.component.ts b/projects/templates/src/lib/components/po-page-change-password/samples/sample-po-page-change-password-create/sample-po-page-change-password-create.component.ts index a7d57a53f1..13569cf3cf 100644 --- a/projects/templates/src/lib/components/po-page-change-password/samples/sample-po-page-change-password-create/sample-po-page-change-password-create.component.ts +++ b/projects/templates/src/lib/components/po-page-change-password/samples/sample-po-page-change-password-create/sample-po-page-change-password-create.component.ts @@ -2,8 +2,9 @@ import { Component, ViewChild } from '@angular/core'; import { PoPageChangePasswordComponent, PoPageChangePasswordRequirement } from '@po-ui/ng-templates'; @Component({ - selector: 'sample-po-page-change-password-create', - templateUrl: './sample-po-page-change-password-create.component.html' + selector: 'sample-po-page-change-password-create', + templateUrl: './sample-po-page-change-password-create.component.html', + standalone: false }) export class SamplePoPageChangePasswordCreateComponent { @ViewChild(PoPageChangePasswordComponent, { static: true }) changePassword: PoPageChangePasswordComponent; diff --git a/projects/templates/src/lib/components/po-page-change-password/samples/sample-po-page-change-password-labs/sample-po-page-change-password-labs.component.ts b/projects/templates/src/lib/components/po-page-change-password/samples/sample-po-page-change-password-labs/sample-po-page-change-password-labs.component.ts index adc756869a..99d91374ba 100644 --- a/projects/templates/src/lib/components/po-page-change-password/samples/sample-po-page-change-password-labs/sample-po-page-change-password-labs.component.ts +++ b/projects/templates/src/lib/components/po-page-change-password/samples/sample-po-page-change-password-labs/sample-po-page-change-password-labs.component.ts @@ -8,8 +8,9 @@ import { } from '@po-ui/ng-templates'; @Component({ - selector: 'sample-po-page-change-password-labs', - templateUrl: './sample-po-page-change-password-labs.component.html' + selector: 'sample-po-page-change-password-labs', + templateUrl: './sample-po-page-change-password-labs.component.html', + standalone: false }) export class SamplePoPageChangePasswordLabsComponent implements OnInit { @ViewChild(PoPageChangePasswordComponent, { static: true }) changePassword: PoPageChangePasswordComponent; diff --git a/projects/templates/src/lib/components/po-page-change-password/samples/sample-po-page-change-password-modify/sample-po-page-change-password-modify.component.ts b/projects/templates/src/lib/components/po-page-change-password/samples/sample-po-page-change-password-modify/sample-po-page-change-password-modify.component.ts index ef8d784414..698488545e 100644 --- a/projects/templates/src/lib/components/po-page-change-password/samples/sample-po-page-change-password-modify/sample-po-page-change-password-modify.component.ts +++ b/projects/templates/src/lib/components/po-page-change-password/samples/sample-po-page-change-password-modify/sample-po-page-change-password-modify.component.ts @@ -5,8 +5,9 @@ import { PoPageChangePasswordComponent } from '@po-ui/ng-templates'; import { PoBreadcrumb, PoSelectOption } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-page-change-password-modify', - templateUrl: './sample-po-page-change-password-modify.component.html' + selector: 'sample-po-page-change-password-modify', + templateUrl: './sample-po-page-change-password-modify.component.html', + standalone: false }) export class SamplePoPageChangePasswordModifyComponent implements OnInit { @ViewChild(PoPageChangePasswordComponent) changePassword: PoPageChangePasswordComponent; diff --git a/projects/templates/src/lib/components/po-page-change-password/samples/sample-po-page-change-password-request/sample-po-page-change-password-request.component.ts b/projects/templates/src/lib/components/po-page-change-password/samples/sample-po-page-change-password-request/sample-po-page-change-password-request.component.ts index b3070fbaf7..c101dddc71 100644 --- a/projects/templates/src/lib/components/po-page-change-password/samples/sample-po-page-change-password-request/sample-po-page-change-password-request.component.ts +++ b/projects/templates/src/lib/components/po-page-change-password/samples/sample-po-page-change-password-request/sample-po-page-change-password-request.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-page-change-password-request', - templateUrl: './sample-po-page-change-password-request.component.html' + selector: 'sample-po-page-change-password-request', + templateUrl: './sample-po-page-change-password-request.component.html', + standalone: false }) export class SamplePoPageChangePasswordRequestComponent {} diff --git a/projects/templates/src/lib/components/po-page-dynamic-detail/po-page-dynamic-detail.component.ts b/projects/templates/src/lib/components/po-page-dynamic-detail/po-page-dynamic-detail.component.ts index c7ed3f49b5..86954322e4 100644 --- a/projects/templates/src/lib/components/po-page-dynamic-detail/po-page-dynamic-detail.component.ts +++ b/projects/templates/src/lib/components/po-page-dynamic-detail/po-page-dynamic-detail.component.ts @@ -144,9 +144,10 @@ export const poPageDynamicDetailLiteralsDefault = { * */ @Component({ - selector: 'po-page-dynamic-detail', - templateUrl: './po-page-dynamic-detail.component.html', - providers: [PoPageDynamicService, PoPageDynamicDetailActionsService] + selector: 'po-page-dynamic-detail', + templateUrl: './po-page-dynamic-detail.component.html', + providers: [PoPageDynamicService, PoPageDynamicDetailActionsService], + standalone: false }) export class PoPageDynamicDetailComponent implements OnInit, OnDestroy { /** Objeto com propriedades do breadcrumb. */ diff --git a/projects/templates/src/lib/components/po-page-dynamic-detail/samples/sample-po-page-dynamic-detail-user/sample-po-page-dynamic-detail-user.component.ts b/projects/templates/src/lib/components/po-page-dynamic-detail/samples/sample-po-page-dynamic-detail-user/sample-po-page-dynamic-detail-user.component.ts index dd41324eec..37991a2dbe 100644 --- a/projects/templates/src/lib/components/po-page-dynamic-detail/samples/sample-po-page-dynamic-detail-user/sample-po-page-dynamic-detail-user.component.ts +++ b/projects/templates/src/lib/components/po-page-dynamic-detail/samples/sample-po-page-dynamic-detail-user/sample-po-page-dynamic-detail-user.component.ts @@ -4,8 +4,9 @@ import { PoBreadcrumb } from '@po-ui/ng-components'; import { PoPageDynamicDetailActions, PoPageDynamicDetailField } from '@po-ui/ng-templates'; @Component({ - selector: 'sample-po-page-dynamic-detail-user', - templateUrl: './sample-po-page-dynamic-detail-user.component.html' + selector: 'sample-po-page-dynamic-detail-user', + templateUrl: './sample-po-page-dynamic-detail-user.component.html', + standalone: false }) export class SamplePoPageDynamicDetailUserComponent { public readonly serviceApi = 'https://po-sample-api.onrender.com/v1/people'; diff --git a/projects/templates/src/lib/components/po-page-dynamic-edit/po-page-dynamic-edit.component.ts b/projects/templates/src/lib/components/po-page-dynamic-edit/po-page-dynamic-edit.component.ts index d6fed130b2..8c978d8e04 100644 --- a/projects/templates/src/lib/components/po-page-dynamic-edit/po-page-dynamic-edit.component.ts +++ b/projects/templates/src/lib/components/po-page-dynamic-edit/po-page-dynamic-edit.component.ts @@ -182,9 +182,10 @@ export const poPageDynamicEditLiteralsDefault = { * */ @Component({ - selector: 'po-page-dynamic-edit', - templateUrl: './po-page-dynamic-edit.component.html', - providers: [PoPageDynamicService] + selector: 'po-page-dynamic-edit', + templateUrl: './po-page-dynamic-edit.component.html', + providers: [PoPageDynamicService], + standalone: false }) export class PoPageDynamicEditComponent implements OnInit, OnDestroy { @ViewChild('dynamicForm') dynamicForm: PoDynamicFormComponent; diff --git a/projects/templates/src/lib/components/po-page-dynamic-edit/samples/sample-po-page-dynamic-edit-basic/sample-po-page-dynamic-edit-basic.component.ts b/projects/templates/src/lib/components/po-page-dynamic-edit/samples/sample-po-page-dynamic-edit-basic/sample-po-page-dynamic-edit-basic.component.ts index 450c4e1bae..a69a8f0d4a 100644 --- a/projects/templates/src/lib/components/po-page-dynamic-edit/samples/sample-po-page-dynamic-edit-basic/sample-po-page-dynamic-edit-basic.component.ts +++ b/projects/templates/src/lib/components/po-page-dynamic-edit/samples/sample-po-page-dynamic-edit-basic/sample-po-page-dynamic-edit-basic.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-page-dynamic-edit-basic', - templateUrl: './sample-po-page-dynamic-edit-basic.component.html' + selector: 'sample-po-page-dynamic-edit-basic', + templateUrl: './sample-po-page-dynamic-edit-basic.component.html', + standalone: false }) export class SamplePoPageDynamicEditBasicComponent {} diff --git a/projects/templates/src/lib/components/po-page-dynamic-edit/samples/sample-po-page-dynamic-edit-user/sample-po-page-dynamic-edit-user.component.ts b/projects/templates/src/lib/components/po-page-dynamic-edit/samples/sample-po-page-dynamic-edit-user/sample-po-page-dynamic-edit-user.component.ts index 04c579c6f7..8cda246940 100644 --- a/projects/templates/src/lib/components/po-page-dynamic-edit/samples/sample-po-page-dynamic-edit-user/sample-po-page-dynamic-edit-user.component.ts +++ b/projects/templates/src/lib/components/po-page-dynamic-edit/samples/sample-po-page-dynamic-edit-user/sample-po-page-dynamic-edit-user.component.ts @@ -5,8 +5,9 @@ import { PoBreadcrumb, PoDynamicFormField } from '@po-ui/ng-components'; import { PoPageDynamicEditActions, PoPageDynamicEditLiterals } from '@po-ui/ng-templates'; @Component({ - selector: 'sample-po-page-dynamic-edit-user', - templateUrl: './sample-po-page-dynamic-edit-user.component.html' + selector: 'sample-po-page-dynamic-edit-user', + templateUrl: './sample-po-page-dynamic-edit-user.component.html', + standalone: false }) export class SamplePoPageDynamicEditUserComponent { public readonly serviceApi = 'https://po-sample-api.onrender.com/v1/people'; diff --git a/projects/templates/src/lib/components/po-page-dynamic-edit/test/po-dynamic-form-stub-component.ts b/projects/templates/src/lib/components/po-page-dynamic-edit/test/po-dynamic-form-stub-component.ts index 52e7e3eb5f..f20687e3b5 100644 --- a/projects/templates/src/lib/components/po-page-dynamic-edit/test/po-dynamic-form-stub-component.ts +++ b/projects/templates/src/lib/components/po-page-dynamic-edit/test/po-dynamic-form-stub-component.ts @@ -3,14 +3,15 @@ import { NgForm } from '@angular/forms'; import { PoDynamicFormComponent } from '@po-ui/ng-components'; @Component({ - selector: 'po-dynamic-form', - template: '', - providers: [ - { - provide: PoDynamicFormComponent, - useClass: PoDynamicFormStubComponent - } - ] + selector: 'po-dynamic-form', + template: '', + providers: [ + { + provide: PoDynamicFormComponent, + useClass: PoDynamicFormStubComponent + } + ], + standalone: false }) export class PoDynamicFormStubComponent { private _form: NgForm; diff --git a/projects/templates/src/lib/components/po-page-dynamic-search/po-advanced-filter/po-advanced-filter.component.ts b/projects/templates/src/lib/components/po-page-dynamic-search/po-advanced-filter/po-advanced-filter.component.ts index 6f143c97df..e4b26da0fe 100644 --- a/projects/templates/src/lib/components/po-page-dynamic-search/po-advanced-filter/po-advanced-filter.component.ts +++ b/projects/templates/src/lib/components/po-page-dynamic-search/po-advanced-filter/po-advanced-filter.component.ts @@ -19,8 +19,9 @@ import { PoPageDynamicSearchFilters } from '../po-page-dynamic-search-filters.in * */ @Component({ - selector: 'po-advanced-filter', - templateUrl: './po-advanced-filter.component.html' + selector: 'po-advanced-filter', + templateUrl: './po-advanced-filter.component.html', + standalone: false }) export class PoAdvancedFilterComponent extends PoAdvancedFilterBaseComponent implements OnDestroy, OnInit { @ViewChild(PoDynamicFormComponent, { static: true }) poDynamicForm: PoDynamicFormComponent; diff --git a/projects/templates/src/lib/components/po-page-dynamic-search/po-page-dynamic-search-base.component.spec.ts b/projects/templates/src/lib/components/po-page-dynamic-search/po-page-dynamic-search-base.component.spec.ts index e40457f077..27cd6ea3a0 100644 --- a/projects/templates/src/lib/components/po-page-dynamic-search/po-page-dynamic-search-base.component.spec.ts +++ b/projects/templates/src/lib/components/po-page-dynamic-search/po-page-dynamic-search-base.component.spec.ts @@ -13,8 +13,9 @@ import { PoPageDynamicSearchLiterals } from './po-page-dynamic-search-literals.i import { convertToBoolean } from '../../utils/util'; @Component({ - selector: 'mock-component', - template: '' + selector: 'mock-component', + template: '', + standalone: false }) class MockComponent extends PoPageDynamicSearchBaseComponent { onChangeFilters(filters: Array) {} diff --git a/projects/templates/src/lib/components/po-page-dynamic-search/po-page-dynamic-search.component.ts b/projects/templates/src/lib/components/po-page-dynamic-search/po-page-dynamic-search.component.ts index 58a267189f..6e054c2c69 100644 --- a/projects/templates/src/lib/components/po-page-dynamic-search/po-page-dynamic-search.component.ts +++ b/projects/templates/src/lib/components/po-page-dynamic-search/po-page-dynamic-search.component.ts @@ -40,8 +40,9 @@ type UrlOrPoCustomizationFunction = string | (() => PoPageDynamicSearchOptions); * */ @Component({ - selector: 'po-page-dynamic-search', - templateUrl: './po-page-dynamic-search.component.html' + selector: 'po-page-dynamic-search', + templateUrl: './po-page-dynamic-search.component.html', + standalone: false }) export class PoPageDynamicSearchComponent extends PoPageDynamicSearchBaseComponent implements OnInit, OnDestroy { @ViewChild(PoAdvancedFilterComponent, { static: true }) poAdvancedFilter: PoAdvancedFilterComponent; diff --git a/projects/templates/src/lib/components/po-page-dynamic-search/samples/sample-po-page-dynamic-search-basic/sample-po-page-dynamic-search-basic.component.ts b/projects/templates/src/lib/components/po-page-dynamic-search/samples/sample-po-page-dynamic-search-basic/sample-po-page-dynamic-search-basic.component.ts index fa8ad3e659..6122195758 100644 --- a/projects/templates/src/lib/components/po-page-dynamic-search/samples/sample-po-page-dynamic-search-basic/sample-po-page-dynamic-search-basic.component.ts +++ b/projects/templates/src/lib/components/po-page-dynamic-search/samples/sample-po-page-dynamic-search-basic/sample-po-page-dynamic-search-basic.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-page-dynamic-search-basic', - templateUrl: './sample-po-page-dynamic-search-basic.component.html' + selector: 'sample-po-page-dynamic-search-basic', + templateUrl: './sample-po-page-dynamic-search-basic.component.html', + standalone: false }) export class SamplePoPageDynamicSearchBasicComponent {} diff --git a/projects/templates/src/lib/components/po-page-dynamic-search/samples/sample-po-page-dynamic-search-hiring-processes/sample-po-page-dynamic-search-hiring-processes.component.ts b/projects/templates/src/lib/components/po-page-dynamic-search/samples/sample-po-page-dynamic-search-hiring-processes/sample-po-page-dynamic-search-hiring-processes.component.ts index e9aa934330..28cc47c96e 100644 --- a/projects/templates/src/lib/components/po-page-dynamic-search/samples/sample-po-page-dynamic-search-hiring-processes/sample-po-page-dynamic-search-hiring-processes.component.ts +++ b/projects/templates/src/lib/components/po-page-dynamic-search/samples/sample-po-page-dynamic-search-hiring-processes/sample-po-page-dynamic-search-hiring-processes.component.ts @@ -15,9 +15,10 @@ import { import { SamplePoPageDynamicSearchHiringProcessesService } from './sample-po-page-dynamic-search-hiring-processes.service'; @Component({ - selector: 'sample-po-page-dynamic-search-hiring-processes', - templateUrl: './sample-po-page-dynamic-search-hiring-processes.component.html', - providers: [SamplePoPageDynamicSearchHiringProcessesService] + selector: 'sample-po-page-dynamic-search-hiring-processes', + templateUrl: './sample-po-page-dynamic-search-hiring-processes.component.html', + providers: [SamplePoPageDynamicSearchHiringProcessesService], + standalone: false }) export class SamplePoPageDynamicSearchHiringProcessesComponent implements OnInit { hiringProcesses: Array; diff --git a/projects/templates/src/lib/components/po-page-dynamic-table/po-page-dynamic-table.component.ts b/projects/templates/src/lib/components/po-page-dynamic-table/po-page-dynamic-table.component.ts index a890c1531a..0a97de8434 100644 --- a/projects/templates/src/lib/components/po-page-dynamic-table/po-page-dynamic-table.component.ts +++ b/projects/templates/src/lib/components/po-page-dynamic-table/po-page-dynamic-table.component.ts @@ -144,9 +144,10 @@ type UrlOrPoCustomizationFunction = string | (() => PoPageDynamicTableOptions); * */ @Component({ - selector: 'po-page-dynamic-table', - templateUrl: './po-page-dynamic-table.component.html', - providers: [PoPageDynamicService] + selector: 'po-page-dynamic-table', + templateUrl: './po-page-dynamic-table.component.html', + providers: [PoPageDynamicService], + standalone: false }) export class PoPageDynamicTableComponent extends PoPageDynamicListBaseComponent implements OnInit, OnDestroy { /** diff --git a/projects/templates/src/lib/components/po-page-dynamic-table/samples/sample-po-page-dynamic-table-basic/sample-po-page-dynamic-table-basic.component.ts b/projects/templates/src/lib/components/po-page-dynamic-table/samples/sample-po-page-dynamic-table-basic/sample-po-page-dynamic-table-basic.component.ts index 71f64e4cc2..b667ef8536 100644 --- a/projects/templates/src/lib/components/po-page-dynamic-table/samples/sample-po-page-dynamic-table-basic/sample-po-page-dynamic-table-basic.component.ts +++ b/projects/templates/src/lib/components/po-page-dynamic-table/samples/sample-po-page-dynamic-table-basic/sample-po-page-dynamic-table-basic.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-page-dynamic-table-basic', - templateUrl: './sample-po-page-dynamic-table-basic.component.html' + selector: 'sample-po-page-dynamic-table-basic', + templateUrl: './sample-po-page-dynamic-table-basic.component.html', + standalone: false }) export class SamplePoPageDynamicTableBasicComponent {} diff --git a/projects/templates/src/lib/components/po-page-dynamic-table/samples/sample-po-page-dynamic-table-drag-and-drop/sample-po-page-dynamic-table-drag-and-drop.component.ts b/projects/templates/src/lib/components/po-page-dynamic-table/samples/sample-po-page-dynamic-table-drag-and-drop/sample-po-page-dynamic-table-drag-and-drop.component.ts index 055a44b448..517efb1e84 100644 --- a/projects/templates/src/lib/components/po-page-dynamic-table/samples/sample-po-page-dynamic-table-drag-and-drop/sample-po-page-dynamic-table-drag-and-drop.component.ts +++ b/projects/templates/src/lib/components/po-page-dynamic-table/samples/sample-po-page-dynamic-table-drag-and-drop/sample-po-page-dynamic-table-drag-and-drop.component.ts @@ -1,8 +1,9 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-page-dynamic-table-drag-and-drop', - templateUrl: './sample-po-page-dynamic-table-drag-and-drop.component.html' + selector: 'sample-po-page-dynamic-table-drag-and-drop', + templateUrl: './sample-po-page-dynamic-table-drag-and-drop.component.html', + standalone: false }) export class SamplePoPageDynamicTableDragAndDropComponent { readonly serviceApi = 'https://po-sample-api.onrender.com/v1/people'; diff --git a/projects/templates/src/lib/components/po-page-dynamic-table/samples/sample-po-page-dynamic-table-hotels/sample-po-page-dynamic-table-hotels.component.ts b/projects/templates/src/lib/components/po-page-dynamic-table/samples/sample-po-page-dynamic-table-hotels/sample-po-page-dynamic-table-hotels.component.ts index 5de821eb15..41a01f63ef 100644 --- a/projects/templates/src/lib/components/po-page-dynamic-table/samples/sample-po-page-dynamic-table-hotels/sample-po-page-dynamic-table-hotels.component.ts +++ b/projects/templates/src/lib/components/po-page-dynamic-table/samples/sample-po-page-dynamic-table-hotels/sample-po-page-dynamic-table-hotels.component.ts @@ -8,8 +8,9 @@ import { } from '@po-ui/ng-templates'; @Component({ - selector: 'sample-po-page-dynamic-table-hotels', - templateUrl: './sample-po-page-dynamic-table-hotels.component.html' + selector: 'sample-po-page-dynamic-table-hotels', + templateUrl: './sample-po-page-dynamic-table-hotels.component.html', + standalone: false }) export class SamplePoPageDynamicTableHotelsComponent { @ViewChild('hotelDetailModal') hotelDetailModal!: PoModalComponent; diff --git a/projects/templates/src/lib/components/po-page-dynamic-table/samples/sample-po-page-dynamic-table-people/sample-po-page-dynamic-table-people.component.ts b/projects/templates/src/lib/components/po-page-dynamic-table/samples/sample-po-page-dynamic-table-people/sample-po-page-dynamic-table-people.component.ts index c25181d25c..53b309d253 100644 --- a/projects/templates/src/lib/components/po-page-dynamic-table/samples/sample-po-page-dynamic-table-people/sample-po-page-dynamic-table-people.component.ts +++ b/projects/templates/src/lib/components/po-page-dynamic-table/samples/sample-po-page-dynamic-table-people/sample-po-page-dynamic-table-people.component.ts @@ -1,8 +1,9 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-page-dynamic-table-people', - templateUrl: './sample-po-page-dynamic-table-people.component.html' + selector: 'sample-po-page-dynamic-table-people', + templateUrl: './sample-po-page-dynamic-table-people.component.html', + standalone: false }) export class SamplePoPageDynamicTablePeopleComponent { readonly serviceApi = 'https://po-sample-api.onrender.com/v1/people'; diff --git a/projects/templates/src/lib/components/po-page-dynamic-table/samples/sample-po-page-dynamic-table-users/sample-po-page-dynamic-table-users.component.ts b/projects/templates/src/lib/components/po-page-dynamic-table/samples/sample-po-page-dynamic-table-users/sample-po-page-dynamic-table-users.component.ts index 4a96cc6383..696bf66b71 100644 --- a/projects/templates/src/lib/components/po-page-dynamic-table/samples/sample-po-page-dynamic-table-users/sample-po-page-dynamic-table-users.component.ts +++ b/projects/templates/src/lib/components/po-page-dynamic-table/samples/sample-po-page-dynamic-table-users/sample-po-page-dynamic-table-users.component.ts @@ -12,9 +12,10 @@ import { import { SamplePoPageDynamicTableUsersService } from './sample-po-page-dynamic-table-users.service'; @Component({ - selector: 'sample-po-page-dynamic-table-users', - templateUrl: './sample-po-page-dynamic-table-users.component.html', - providers: [SamplePoPageDynamicTableUsersService] + selector: 'sample-po-page-dynamic-table-users', + templateUrl: './sample-po-page-dynamic-table-users.component.html', + providers: [SamplePoPageDynamicTableUsersService], + standalone: false }) export class SamplePoPageDynamicTableUsersComponent implements OnInit { @ViewChild('userDetailModal') userDetailModal!: PoModalComponent; diff --git a/projects/templates/src/lib/components/po-page-job-scheduler/po-page-job-scheduler-execution/po-page-job-scheduler-execution.component.ts b/projects/templates/src/lib/components/po-page-job-scheduler/po-page-job-scheduler-execution/po-page-job-scheduler-execution.component.ts index 3ba106d487..748de8e816 100644 --- a/projects/templates/src/lib/components/po-page-job-scheduler/po-page-job-scheduler-execution/po-page-job-scheduler-execution.component.ts +++ b/projects/templates/src/lib/components/po-page-job-scheduler/po-page-job-scheduler-execution/po-page-job-scheduler-execution.component.ts @@ -9,8 +9,9 @@ import { PoPageJobSchedulerLookupService } from '../po-page-job-scheduler-lookup import { PoPageJobSchedulerService } from '../po-page-job-scheduler.service'; @Component({ - selector: 'po-page-job-scheduler-execution', - templateUrl: 'po-page-job-scheduler-execution.component.html' + selector: 'po-page-job-scheduler-execution', + templateUrl: 'po-page-job-scheduler-execution.component.html', + standalone: false }) export class PoPageJobSchedulerExecutionComponent implements OnInit, AfterViewInit { @ViewChild('formExecution', { static: true }) form: NgForm; diff --git a/projects/templates/src/lib/components/po-page-job-scheduler/po-page-job-scheduler-parameters/po-job-scheduler-parameters-template/po-job-scheduler-parameters-template.directive.ts b/projects/templates/src/lib/components/po-page-job-scheduler/po-page-job-scheduler-parameters/po-job-scheduler-parameters-template/po-job-scheduler-parameters-template.directive.ts index 5b3fa38091..917bcd723e 100644 --- a/projects/templates/src/lib/components/po-page-job-scheduler/po-page-job-scheduler-parameters/po-job-scheduler-parameters-template/po-job-scheduler-parameters-template.directive.ts +++ b/projects/templates/src/lib/components/po-page-job-scheduler/po-page-job-scheduler-parameters/po-job-scheduler-parameters-template/po-job-scheduler-parameters-template.directive.ts @@ -35,7 +35,8 @@ import { Directive, Input, TemplateRef } from '@angular/core'; * */ @Directive({ - selector: '[p-job-scheduler-parameters-template]' + selector: '[p-job-scheduler-parameters-template]', + standalone: false }) export class PoJobSchedulerParametersTemplateDirective { /** diff --git a/projects/templates/src/lib/components/po-page-job-scheduler/po-page-job-scheduler-parameters/po-page-job-scheduler-parameters.component.ts b/projects/templates/src/lib/components/po-page-job-scheduler/po-page-job-scheduler-parameters/po-page-job-scheduler-parameters.component.ts index 7cb63649f2..99294871ad 100644 --- a/projects/templates/src/lib/components/po-page-job-scheduler/po-page-job-scheduler-parameters/po-page-job-scheduler-parameters.component.ts +++ b/projects/templates/src/lib/components/po-page-job-scheduler/po-page-job-scheduler-parameters/po-page-job-scheduler-parameters.component.ts @@ -4,8 +4,9 @@ import { NgForm } from '@angular/forms'; import { PoDynamicFormField } from '@po-ui/ng-components'; @Component({ - selector: 'po-page-job-scheduler-parameters', - templateUrl: 'po-page-job-scheduler-parameters.component.html' + selector: 'po-page-job-scheduler-parameters', + templateUrl: 'po-page-job-scheduler-parameters.component.html', + standalone: false }) export class PoPageJobSchedulerParametersComponent implements AfterViewInit { @ViewChild('parametersForm') form: NgForm; diff --git a/projects/templates/src/lib/components/po-page-job-scheduler/po-page-job-scheduler-summary/po-job-scheduler-summary-template/po-job-scheduler-summary-template.directive.ts b/projects/templates/src/lib/components/po-page-job-scheduler/po-page-job-scheduler-summary/po-job-scheduler-summary-template/po-job-scheduler-summary-template.directive.ts index 01ba10e91f..c79e9bb26e 100644 --- a/projects/templates/src/lib/components/po-page-job-scheduler/po-page-job-scheduler-summary/po-job-scheduler-summary-template/po-job-scheduler-summary-template.directive.ts +++ b/projects/templates/src/lib/components/po-page-job-scheduler/po-page-job-scheduler-summary/po-job-scheduler-summary-template/po-job-scheduler-summary-template.directive.ts @@ -27,7 +27,8 @@ import { Directive, TemplateRef } from '@angular/core'; * */ @Directive({ - selector: '[p-job-scheduler-summary-template]' + selector: '[p-job-scheduler-summary-template]', + standalone: false }) export class PoJobSchedulerSummaryTemplateDirective { // Necessário manter templateRef para o funcionamento do row template. diff --git a/projects/templates/src/lib/components/po-page-job-scheduler/po-page-job-scheduler-summary/po-page-job-scheduler-summary.component.ts b/projects/templates/src/lib/components/po-page-job-scheduler/po-page-job-scheduler-summary/po-page-job-scheduler-summary.component.ts index cfa159cecb..e74b9ad404 100644 --- a/projects/templates/src/lib/components/po-page-job-scheduler/po-page-job-scheduler-summary/po-page-job-scheduler-summary.component.ts +++ b/projects/templates/src/lib/components/po-page-job-scheduler/po-page-job-scheduler-summary/po-page-job-scheduler-summary.component.ts @@ -6,8 +6,9 @@ import { PoDynamicViewField, PoInfoOrientation } from '@po-ui/ng-components'; import { PoJobSchedulerInternal } from '../interfaces/po-job-scheduler-internal.interface'; @Component({ - selector: 'po-page-job-scheduler-summary', - templateUrl: 'po-page-job-scheduler-summary.component.html' + selector: 'po-page-job-scheduler-summary', + templateUrl: 'po-page-job-scheduler-summary.component.html', + standalone: false }) export class PoPageJobSchedulerSummaryComponent implements OnInit { @Input('p-literals') literals = {}; diff --git a/projects/templates/src/lib/components/po-page-job-scheduler/po-page-job-scheduler.component.ts b/projects/templates/src/lib/components/po-page-job-scheduler/po-page-job-scheduler.component.ts index b57ee3af66..602bcd5585 100644 --- a/projects/templates/src/lib/components/po-page-job-scheduler/po-page-job-scheduler.component.ts +++ b/projects/templates/src/lib/components/po-page-job-scheduler/po-page-job-scheduler.component.ts @@ -50,16 +50,17 @@ import { PoPageJobSchedulerService } from './po-page-job-scheduler.service'; * */ @Component({ - selector: 'po-page-job-scheduler', - templateUrl: './po-page-job-scheduler.component.html', - encapsulation: ViewEncapsulation.None, - styles: [ - ` + selector: 'po-page-job-scheduler', + templateUrl: './po-page-job-scheduler.component.html', + encapsulation: ViewEncapsulation.None, + styles: [ + ` po-container .po-container { overflow-y: unset; } ` - ] + ], + standalone: false }) export class PoPageJobSchedulerComponent extends PoPageJobSchedulerBaseComponent implements OnInit, AfterContentInit { @ViewChild('schedulerExecution', { static: true }) schedulerExecution: { form: NgForm }; diff --git a/projects/templates/src/lib/components/po-page-job-scheduler/samples/sample-po-page-job-scheduler-background-process/sample-po-page-job-scheduler-background-process.component.ts b/projects/templates/src/lib/components/po-page-job-scheduler/samples/sample-po-page-job-scheduler-background-process/sample-po-page-job-scheduler-background-process.component.ts index 7c53ff401c..36c4b15875 100644 --- a/projects/templates/src/lib/components/po-page-job-scheduler/samples/sample-po-page-job-scheduler-background-process/sample-po-page-job-scheduler-background-process.component.ts +++ b/projects/templates/src/lib/components/po-page-job-scheduler/samples/sample-po-page-job-scheduler-background-process/sample-po-page-job-scheduler-background-process.component.ts @@ -3,8 +3,9 @@ import { Component } from '@angular/core'; import { PoBreadcrumb } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-page-job-scheduler-background-process', - templateUrl: './sample-po-page-job-scheduler-background-process.component.html' + selector: 'sample-po-page-job-scheduler-background-process', + templateUrl: './sample-po-page-job-scheduler-background-process.component.html', + standalone: false }) export class SamplePoPageJobSchedulerBackgroundProcessComponent { breadcrumb: PoBreadcrumb = { diff --git a/projects/templates/src/lib/components/po-page-job-scheduler/samples/sample-po-page-job-scheduler-directives/sample-po-page-job-scheduler-directives.component.ts b/projects/templates/src/lib/components/po-page-job-scheduler/samples/sample-po-page-job-scheduler-directives/sample-po-page-job-scheduler-directives.component.ts index 48504d77a3..2089f19cec 100644 --- a/projects/templates/src/lib/components/po-page-job-scheduler/samples/sample-po-page-job-scheduler-directives/sample-po-page-job-scheduler-directives.component.ts +++ b/projects/templates/src/lib/components/po-page-job-scheduler/samples/sample-po-page-job-scheduler-directives/sample-po-page-job-scheduler-directives.component.ts @@ -3,8 +3,9 @@ import { NgForm } from '@angular/forms'; import { PoDynamicFormField, PoDynamicViewField } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-page-job-scheduler-directives', - templateUrl: './sample-po-page-job-scheduler-directives.component.html' + selector: 'sample-po-page-job-scheduler-directives', + templateUrl: './sample-po-page-job-scheduler-directives.component.html', + standalone: false }) export class SamplePoPageJobSchedulerDirectivesComponent { dynamicForm!: NgForm; diff --git a/projects/templates/src/lib/components/po-page-login/po-page-login-popover/po-page-login-popover.component.ts b/projects/templates/src/lib/components/po-page-login/po-page-login-popover/po-page-login-popover.component.ts index 95704cb40e..80fe5b8fa8 100644 --- a/projects/templates/src/lib/components/po-page-login/po-page-login-popover/po-page-login-popover.component.ts +++ b/projects/templates/src/lib/components/po-page-login/po-page-login-popover/po-page-login-popover.component.ts @@ -6,8 +6,9 @@ import { PoPageLoginLiterals } from '../interfaces/po-page-login-literals.interf import { PoPageLoginRecovery } from '../interfaces/po-page-login-recovery.interface'; @Component({ - selector: 'po-page-login-popover', - templateUrl: './po-page-login-popover.component.html' + selector: 'po-page-login-popover', + templateUrl: './po-page-login-popover.component.html', + standalone: false }) /** diff --git a/projects/templates/src/lib/components/po-page-login/po-page-login.component.ts b/projects/templates/src/lib/components/po-page-login/po-page-login.component.ts index 0aaacc6fc1..4b290babf3 100644 --- a/projects/templates/src/lib/components/po-page-login/po-page-login.component.ts +++ b/projects/templates/src/lib/components/po-page-login/po-page-login.component.ts @@ -54,8 +54,9 @@ import { PoPageLoginService } from './po-page-login.service'; */ @Component({ - selector: 'po-page-login', - templateUrl: './po-page-login.component.html' + selector: 'po-page-login', + templateUrl: './po-page-login.component.html', + standalone: false }) export class PoPageLoginComponent extends PoPageLoginBaseComponent implements AfterViewChecked, OnInit { @ViewChild('loginForm', { read: NgForm, static: true }) loginForm: NgForm; diff --git a/projects/templates/src/lib/components/po-page-login/samples/sample-po-page-login-automatic-service/sample-po-page-login-automatic-service.component.ts b/projects/templates/src/lib/components/po-page-login/samples/sample-po-page-login-automatic-service/sample-po-page-login-automatic-service.component.ts index e1688bfddd..bf85053718 100644 --- a/projects/templates/src/lib/components/po-page-login/samples/sample-po-page-login-automatic-service/sample-po-page-login-automatic-service.component.ts +++ b/projects/templates/src/lib/components/po-page-login/samples/sample-po-page-login-automatic-service/sample-po-page-login-automatic-service.component.ts @@ -3,8 +3,9 @@ import { PoLanguage } from '@po-ui/ng-components'; import { PoPageLoginLiterals } from '@po-ui/ng-templates'; @Component({ - selector: 'sample-po-page-login-automatic-service', - templateUrl: './sample-po-page-login-automatic-service.component.html' + selector: 'sample-po-page-login-automatic-service', + templateUrl: './sample-po-page-login-automatic-service.component.html', + standalone: false }) export class SamplePoPageLoginAutomaticServiceComponent { literals: PoPageLoginLiterals; diff --git a/projects/templates/src/lib/components/po-page-login/samples/sample-po-page-login-basic/sample-po-page-login-basic.component.ts b/projects/templates/src/lib/components/po-page-login/samples/sample-po-page-login-basic/sample-po-page-login-basic.component.ts index 97a11c6596..04eb21869d 100644 --- a/projects/templates/src/lib/components/po-page-login/samples/sample-po-page-login-basic/sample-po-page-login-basic.component.ts +++ b/projects/templates/src/lib/components/po-page-login/samples/sample-po-page-login-basic/sample-po-page-login-basic.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-page-login-basic', - templateUrl: './sample-po-page-login-basic.component.html' + selector: 'sample-po-page-login-basic', + templateUrl: './sample-po-page-login-basic.component.html', + standalone: false }) export class SamplePoPageLoginBasicComponent {} diff --git a/projects/templates/src/lib/components/po-page-login/samples/sample-po-page-login-human-resources/sample-po-page-login-human-resources.component.ts b/projects/templates/src/lib/components/po-page-login/samples/sample-po-page-login-human-resources/sample-po-page-login-human-resources.component.ts index b6563751a4..3f09488d9a 100644 --- a/projects/templates/src/lib/components/po-page-login/samples/sample-po-page-login-human-resources/sample-po-page-login-human-resources.component.ts +++ b/projects/templates/src/lib/components/po-page-login/samples/sample-po-page-login-human-resources/sample-po-page-login-human-resources.component.ts @@ -12,8 +12,9 @@ import { } from '@po-ui/ng-templates'; @Component({ - selector: 'sample-po-page-login-human-resources', - templateUrl: './sample-po-page-login-human-resources.component.html' + selector: 'sample-po-page-login-human-resources', + templateUrl: './sample-po-page-login-human-resources.component.html', + standalone: false }) export class SamplePoPageLoginHumanResourcesComponent implements OnDestroy, OnInit { customField: PoPageLoginCustomField = { diff --git a/projects/templates/src/lib/components/po-page-login/samples/sample-po-page-login-labs/sample-po-page-login-labs.component.ts b/projects/templates/src/lib/components/po-page-login/samples/sample-po-page-login-labs/sample-po-page-login-labs.component.ts index a8cb440861..c1fc04181e 100644 --- a/projects/templates/src/lib/components/po-page-login/samples/sample-po-page-login-labs/sample-po-page-login-labs.component.ts +++ b/projects/templates/src/lib/components/po-page-login/samples/sample-po-page-login-labs/sample-po-page-login-labs.component.ts @@ -5,8 +5,9 @@ import { PoCheckboxGroupOption, PoSelectOption, PoDialogService } from '@po-ui/n import { PoPageLogin, PoPageLoginCustomField, PoPageLoginLiterals } from '@po-ui/ng-templates'; @Component({ - selector: 'sample-po-page-login-labs', - templateUrl: './sample-po-page-login-labs.component.html' + selector: 'sample-po-page-login-labs', + templateUrl: './sample-po-page-login-labs.component.html', + standalone: false }) export class SamplePoPageLoginLabsComponent implements OnInit { background: string; diff --git a/projects/ui/src/lib/components/po-accordion/po-accordion-item-body/po-accordion-item-body.component.ts b/projects/ui/src/lib/components/po-accordion/po-accordion-item-body/po-accordion-item-body.component.ts index 1a2a4f4db2..f8e86d2d64 100644 --- a/projects/ui/src/lib/components/po-accordion/po-accordion-item-body/po-accordion-item-body.component.ts +++ b/projects/ui/src/lib/components/po-accordion/po-accordion-item-body/po-accordion-item-body.component.ts @@ -2,14 +2,15 @@ import { Component, Input } from '@angular/core'; import { animate, style, transition, trigger } from '@angular/animations'; @Component({ - selector: 'po-accordion-item-body', - templateUrl: 'po-accordion-item-body.component.html', - animations: [ - trigger('toggleBody', [ - transition('* => void', [style({ height: '*' }), animate(200, style({ height: 0 }))]), - transition('void => *', [style({ height: '0' }), animate(200, style({ height: '*' }))]) - ]) - ] + selector: 'po-accordion-item-body', + templateUrl: 'po-accordion-item-body.component.html', + animations: [ + trigger('toggleBody', [ + transition('* => void', [style({ height: '*' }), animate(200, style({ height: 0 }))]), + transition('void => *', [style({ height: '0' }), animate(200, style({ height: '*' }))]) + ]) + ], + standalone: false }) export class PoAccordionItemBodyComponent { @Input('p-expanded') expanded: boolean = false; diff --git a/projects/ui/src/lib/components/po-accordion/po-accordion-item-header/po-accordion-item-header.component.ts b/projects/ui/src/lib/components/po-accordion/po-accordion-item-header/po-accordion-item-header.component.ts index 395f3cf7b3..b8c87fb7aa 100644 --- a/projects/ui/src/lib/components/po-accordion/po-accordion-item-header/po-accordion-item-header.component.ts +++ b/projects/ui/src/lib/components/po-accordion/po-accordion-item-header/po-accordion-item-header.component.ts @@ -3,9 +3,10 @@ import { PoLanguageService } from '../../../services/po-language'; import { poLocaleDefault } from '../../../services/po-language/po-language.constant'; @Component({ - selector: 'po-accordion-item-header', - templateUrl: 'po-accordion-item-header.component.html', - changeDetection: ChangeDetectionStrategy.OnPush + selector: 'po-accordion-item-header', + templateUrl: 'po-accordion-item-header.component.html', + changeDetection: ChangeDetectionStrategy.OnPush, + standalone: false }) export class PoAccordionItemHeaderComponent { private language: string = poLocaleDefault; diff --git a/projects/ui/src/lib/components/po-accordion/po-accordion-item/po-accordion-item.component.ts b/projects/ui/src/lib/components/po-accordion/po-accordion-item/po-accordion-item.component.ts index 306f69afed..0224446f3d 100644 --- a/projects/ui/src/lib/components/po-accordion/po-accordion-item/po-accordion-item.component.ts +++ b/projects/ui/src/lib/components/po-accordion/po-accordion-item/po-accordion-item.component.ts @@ -37,8 +37,9 @@ import { PoAccordionService } from '../services/po-accordion.service'; * ``` */ @Component({ - selector: 'po-accordion-item', - templateUrl: 'po-accordion-item.component.html' + selector: 'po-accordion-item', + templateUrl: 'po-accordion-item.component.html', + standalone: false }) export class PoAccordionItemComponent implements OnDestroy { private _type?: PoTagType; diff --git a/projects/ui/src/lib/components/po-accordion/po-accordion-manager/po-accordion-manager.component.ts b/projects/ui/src/lib/components/po-accordion/po-accordion-manager/po-accordion-manager.component.ts index e5e6227a72..b5bf9c3932 100644 --- a/projects/ui/src/lib/components/po-accordion/po-accordion-manager/po-accordion-manager.component.ts +++ b/projects/ui/src/lib/components/po-accordion/po-accordion-manager/po-accordion-manager.component.ts @@ -13,8 +13,9 @@ import { import { PoAccordionLiterals } from '../interfaces/po-accordion-literals.interface'; @Component({ - selector: 'po-accordion-manager', - templateUrl: 'po-accordion-manager.component.html' + selector: 'po-accordion-manager', + templateUrl: 'po-accordion-manager.component.html', + standalone: false }) export class PoAccordionManagerComponent implements OnChanges { labelValue: string = ''; diff --git a/projects/ui/src/lib/components/po-accordion/po-accordion.component.spec.ts b/projects/ui/src/lib/components/po-accordion/po-accordion.component.spec.ts index 5708ffd0c1..359b915210 100644 --- a/projects/ui/src/lib/components/po-accordion/po-accordion.component.spec.ts +++ b/projects/ui/src/lib/components/po-accordion/po-accordion.component.spec.ts @@ -7,12 +7,13 @@ import { PoAccordionModule } from './po-accordion.module'; import { PoAccordionService } from './services/po-accordion.service'; @Component({ - template: ` + template: ` Item 1 Item 2 - ` + `, + standalone: false }) class PoAccordionMockComponent {} diff --git a/projects/ui/src/lib/components/po-accordion/po-accordion.component.ts b/projects/ui/src/lib/components/po-accordion/po-accordion.component.ts index 4ca23b7c46..ada920269a 100644 --- a/projects/ui/src/lib/components/po-accordion/po-accordion.component.ts +++ b/projects/ui/src/lib/components/po-accordion/po-accordion.component.ts @@ -31,9 +31,10 @@ import { PoAccordionService } from './services/po-accordion.service'; * */ @Component({ - selector: 'po-accordion', - templateUrl: 'po-accordion.component.html', - providers: [PoAccordionService] + selector: 'po-accordion', + templateUrl: 'po-accordion.component.html', + providers: [PoAccordionService], + standalone: false }) export class PoAccordionComponent extends PoAccordionBaseComponent implements OnDestroy { @ViewChildren(PoAccordionItemHeaderComponent) accordionsHeader: QueryList; diff --git a/projects/ui/src/lib/components/po-accordion/samples/sample-po-accordion-basic/sample-po-accordion-basic.component.ts b/projects/ui/src/lib/components/po-accordion/samples/sample-po-accordion-basic/sample-po-accordion-basic.component.ts index 0592041e95..20e32c3ab6 100644 --- a/projects/ui/src/lib/components/po-accordion/samples/sample-po-accordion-basic/sample-po-accordion-basic.component.ts +++ b/projects/ui/src/lib/components/po-accordion/samples/sample-po-accordion-basic/sample-po-accordion-basic.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-accordion-basic', - templateUrl: './sample-po-accordion-basic.component.html' + selector: 'sample-po-accordion-basic', + templateUrl: './sample-po-accordion-basic.component.html', + standalone: false }) export class SamplePoAccordionBasicComponent {} diff --git a/projects/ui/src/lib/components/po-accordion/samples/sample-po-accordion-faq/sample-po-accordion-faq.component.ts b/projects/ui/src/lib/components/po-accordion/samples/sample-po-accordion-faq/sample-po-accordion-faq.component.ts index 6c7d1f1dbc..d2a237de60 100644 --- a/projects/ui/src/lib/components/po-accordion/samples/sample-po-accordion-faq/sample-po-accordion-faq.component.ts +++ b/projects/ui/src/lib/components/po-accordion/samples/sample-po-accordion-faq/sample-po-accordion-faq.component.ts @@ -3,8 +3,9 @@ import { AfterContentInit, Component, ViewChild } from '@angular/core'; import { PoAccordionItemComponent } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-accordion-faq', - templateUrl: './sample-po-accordion-faq.component.html' + selector: 'sample-po-accordion-faq', + templateUrl: './sample-po-accordion-faq.component.html', + standalone: false }) export class SamplePoAccordionFaqComponent implements AfterContentInit { @ViewChild(PoAccordionItemComponent, { static: true }) questionOne: PoAccordionItemComponent; diff --git a/projects/ui/src/lib/components/po-accordion/samples/sample-po-accordion-labs/sample-po-accordion-labs.component.ts b/projects/ui/src/lib/components/po-accordion/samples/sample-po-accordion-labs/sample-po-accordion-labs.component.ts index 8de8da067c..6a6cbd26a4 100644 --- a/projects/ui/src/lib/components/po-accordion/samples/sample-po-accordion-labs/sample-po-accordion-labs.component.ts +++ b/projects/ui/src/lib/components/po-accordion/samples/sample-po-accordion-labs/sample-po-accordion-labs.component.ts @@ -10,8 +10,9 @@ import { } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-accordion-labs', - templateUrl: './sample-po-accordion-labs.component.html' + selector: 'sample-po-accordion-labs', + templateUrl: './sample-po-accordion-labs.component.html', + standalone: false }) export class SamplePoAccordionLabsComponent implements OnInit { accordionFieldsForm: Array = [ diff --git a/projects/ui/src/lib/components/po-avatar/po-avatar.component.ts b/projects/ui/src/lib/components/po-avatar/po-avatar.component.ts index 15e7280326..fc18a80c8a 100644 --- a/projects/ui/src/lib/components/po-avatar/po-avatar.component.ts +++ b/projects/ui/src/lib/components/po-avatar/po-avatar.component.ts @@ -25,9 +25,10 @@ import { PoAvatarBaseComponent } from './po-avatar-base.component'; * */ @Component({ - selector: 'po-avatar', - templateUrl: './po-avatar.component.html', - changeDetection: ChangeDetectionStrategy.OnPush + selector: 'po-avatar', + templateUrl: './po-avatar.component.html', + changeDetection: ChangeDetectionStrategy.OnPush, + standalone: false }) export class PoAvatarComponent extends PoAvatarBaseComponent implements OnInit { ngOnInit(): void { diff --git a/projects/ui/src/lib/components/po-avatar/samples/sample-po-avatar-basic/sample-po-avatar-basic.component.ts b/projects/ui/src/lib/components/po-avatar/samples/sample-po-avatar-basic/sample-po-avatar-basic.component.ts index 4df3df8f9a..40aada73fa 100644 --- a/projects/ui/src/lib/components/po-avatar/samples/sample-po-avatar-basic/sample-po-avatar-basic.component.ts +++ b/projects/ui/src/lib/components/po-avatar/samples/sample-po-avatar-basic/sample-po-avatar-basic.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-avatar-basic', - templateUrl: './sample-po-avatar-basic.component.html' + selector: 'sample-po-avatar-basic', + templateUrl: './sample-po-avatar-basic.component.html', + standalone: false }) export class SamplePoAvatarBasicComponent {} diff --git a/projects/ui/src/lib/components/po-avatar/samples/sample-po-avatar-business-card/sample-po-avatar-business-card.component.ts b/projects/ui/src/lib/components/po-avatar/samples/sample-po-avatar-business-card/sample-po-avatar-business-card.component.ts index 67fecad8fe..06c44cff2c 100644 --- a/projects/ui/src/lib/components/po-avatar/samples/sample-po-avatar-business-card/sample-po-avatar-business-card.component.ts +++ b/projects/ui/src/lib/components/po-avatar/samples/sample-po-avatar-business-card/sample-po-avatar-business-card.component.ts @@ -1,16 +1,17 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-avatar-business-card', - styles: [ - ` + selector: 'sample-po-avatar-business-card', + styles: [ + ` .sample-center-image { display: block; margin: 0 auto; } ` - ], - templateUrl: './sample-po-avatar-business-card.component.html' + ], + templateUrl: './sample-po-avatar-business-card.component.html', + standalone: false }) export class SamplePoAvatarBusinessCardComponent { avatar = 'http://lorempixel.com/300/300/cats/'; diff --git a/projects/ui/src/lib/components/po-avatar/samples/sample-po-avatar-labs/sample-po-avatar-labs.component.ts b/projects/ui/src/lib/components/po-avatar/samples/sample-po-avatar-labs/sample-po-avatar-labs.component.ts index e8613b2d4c..b2d896b764 100644 --- a/projects/ui/src/lib/components/po-avatar/samples/sample-po-avatar-labs/sample-po-avatar-labs.component.ts +++ b/projects/ui/src/lib/components/po-avatar/samples/sample-po-avatar-labs/sample-po-avatar-labs.component.ts @@ -3,8 +3,9 @@ import { Component, OnInit } from '@angular/core'; import { PoCheckboxGroupOption } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-avatar-labs', - templateUrl: './sample-po-avatar-labs.component.html' + selector: 'sample-po-avatar-labs', + templateUrl: './sample-po-avatar-labs.component.html', + standalone: false }) export class SamplePoAvatarLabsComponent implements OnInit { src: string; diff --git a/projects/ui/src/lib/components/po-badge/po-badge.component.ts b/projects/ui/src/lib/components/po-badge/po-badge.component.ts index cf877eaef6..fb9ba4e130 100644 --- a/projects/ui/src/lib/components/po-badge/po-badge.component.ts +++ b/projects/ui/src/lib/components/po-badge/po-badge.component.ts @@ -29,9 +29,10 @@ const PO_BADGE_MAX_NOTIFICATIONS = 9; * */ @Component({ - selector: 'po-badge', - templateUrl: './po-badge.component.html', - styles: [':host { display: inline-block; vertical-align: middle; }'] + selector: 'po-badge', + templateUrl: './po-badge.component.html', + styles: [':host { display: inline-block; vertical-align: middle; }'], + standalone: false }) export class PoBadgeComponent extends PoBadgeBaseComponent implements OnInit, OnChanges { isNotification: boolean = false; diff --git a/projects/ui/src/lib/components/po-badge/samples/sample-po-badge-basic/sample-po-badge-basic.component.ts b/projects/ui/src/lib/components/po-badge/samples/sample-po-badge-basic/sample-po-badge-basic.component.ts index c8ff9622d7..99d6245dc8 100644 --- a/projects/ui/src/lib/components/po-badge/samples/sample-po-badge-basic/sample-po-badge-basic.component.ts +++ b/projects/ui/src/lib/components/po-badge/samples/sample-po-badge-basic/sample-po-badge-basic.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-badge-basic', - templateUrl: './sample-po-badge-basic.component.html' + selector: 'sample-po-badge-basic', + templateUrl: './sample-po-badge-basic.component.html', + standalone: false }) export class SamplePoBadgeBasicComponent {} diff --git a/projects/ui/src/lib/components/po-badge/samples/sample-po-badge-labs/sample-po-badge-labs.component.ts b/projects/ui/src/lib/components/po-badge/samples/sample-po-badge-labs/sample-po-badge-labs.component.ts index 47f203de7a..a04292f824 100644 --- a/projects/ui/src/lib/components/po-badge/samples/sample-po-badge-labs/sample-po-badge-labs.component.ts +++ b/projects/ui/src/lib/components/po-badge/samples/sample-po-badge-labs/sample-po-badge-labs.component.ts @@ -2,8 +2,9 @@ import { Component, OnInit } from '@angular/core'; import { PoCheckboxGroupOption, PoRadioGroupOption } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-badge-labs', - templateUrl: './sample-po-badge-labs.component.html' + selector: 'sample-po-badge-labs', + templateUrl: './sample-po-badge-labs.component.html', + standalone: false }) export class SamplePoBadgeLabsComponent implements OnInit { value: number; diff --git a/projects/ui/src/lib/components/po-badge/samples/sample-po-badge-message/sample-po-badge-message.component.ts b/projects/ui/src/lib/components/po-badge/samples/sample-po-badge-message/sample-po-badge-message.component.ts index 74e28d0c24..ce8ec11718 100644 --- a/projects/ui/src/lib/components/po-badge/samples/sample-po-badge-message/sample-po-badge-message.component.ts +++ b/projects/ui/src/lib/components/po-badge/samples/sample-po-badge-message/sample-po-badge-message.component.ts @@ -1,9 +1,10 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-badge-message', - templateUrl: './sample-po-badge-message.component.html', - styleUrls: ['./sample-po-badge-message.component.css'] + selector: 'sample-po-badge-message', + templateUrl: './sample-po-badge-message.component.html', + styleUrls: ['./sample-po-badge-message.component.css'], + standalone: false }) export class SamplePoBadgeMessageComponent { users: Array = [ diff --git a/projects/ui/src/lib/components/po-breadcrumb/po-breadcrumb-favorite/po-breadcrumb-favorite.component.ts b/projects/ui/src/lib/components/po-breadcrumb/po-breadcrumb-favorite/po-breadcrumb-favorite.component.ts index 92b45ee9bb..9a8c04c62f 100644 --- a/projects/ui/src/lib/components/po-breadcrumb/po-breadcrumb-favorite/po-breadcrumb-favorite.component.ts +++ b/projects/ui/src/lib/components/po-breadcrumb/po-breadcrumb-favorite/po-breadcrumb-favorite.component.ts @@ -34,9 +34,10 @@ export const PoBreadcrumbLiterals: Object = { */ @Component({ - selector: 'po-breadcrumb-favorite', - templateUrl: './po-breadcrumb-favorite.component.html', - providers: [PoBreadcrumbFavoriteService] + selector: 'po-breadcrumb-favorite', + templateUrl: './po-breadcrumb-favorite.component.html', + providers: [PoBreadcrumbFavoriteService], + standalone: false }) export class PoBreadcrumbFavoriteComponent implements OnInit, OnDestroy { // URL do serviço. diff --git a/projects/ui/src/lib/components/po-breadcrumb/po-breadcrumb.component.spec.ts b/projects/ui/src/lib/components/po-breadcrumb/po-breadcrumb.component.spec.ts index 442fcb7400..1e75db1b0f 100644 --- a/projects/ui/src/lib/components/po-breadcrumb/po-breadcrumb.component.spec.ts +++ b/projects/ui/src/lib/components/po-breadcrumb/po-breadcrumb.component.spec.ts @@ -8,10 +8,16 @@ import { PoBreadcrumbComponent } from './po-breadcrumb.component'; import { PoBreadcrumbFavoriteComponent } from './po-breadcrumb-favorite/po-breadcrumb-favorite.component'; import { PoBreadcrumbItem } from './po-breadcrumb-item.interface'; -@Component({ template: 'Documentation' }) +@Component({ + template: 'Documentation', + standalone: false +}) export class DocumentationComponent {} -@Component({ template: 'Guides' }) +@Component({ + template: 'Guides', + standalone: false +}) export class GuidesComponent {} export const routes: Routes = [ diff --git a/projects/ui/src/lib/components/po-breadcrumb/po-breadcrumb.component.ts b/projects/ui/src/lib/components/po-breadcrumb/po-breadcrumb.component.ts index 20bd60b7fa..5a3f469a63 100644 --- a/projects/ui/src/lib/components/po-breadcrumb/po-breadcrumb.component.ts +++ b/projects/ui/src/lib/components/po-breadcrumb/po-breadcrumb.component.ts @@ -45,8 +45,9 @@ export const poBreadcrumbLiterals: Object = { * */ @Component({ - selector: 'po-breadcrumb', - templateUrl: './po-breadcrumb.component.html' + selector: 'po-breadcrumb', + templateUrl: './po-breadcrumb.component.html', + standalone: false }) export class PoBreadcrumbComponent extends PoBreadcrumbBaseComponent implements AfterViewInit, DoCheck, OnDestroy { @ViewChild('breadcrumb', { read: ElementRef, static: true }) breadcrumbElement: ElementRef; diff --git a/projects/ui/src/lib/components/po-breadcrumb/samples/sample-po-breadcrumb-basic/sample-po-breadcrumb-basic.component.ts b/projects/ui/src/lib/components/po-breadcrumb/samples/sample-po-breadcrumb-basic/sample-po-breadcrumb-basic.component.ts index 7b8045f54a..a2b0c58085 100644 --- a/projects/ui/src/lib/components/po-breadcrumb/samples/sample-po-breadcrumb-basic/sample-po-breadcrumb-basic.component.ts +++ b/projects/ui/src/lib/components/po-breadcrumb/samples/sample-po-breadcrumb-basic/sample-po-breadcrumb-basic.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-breadcrumb-basic', - templateUrl: './sample-po-breadcrumb-basic.component.html' + selector: 'sample-po-breadcrumb-basic', + templateUrl: './sample-po-breadcrumb-basic.component.html', + standalone: false }) export class SamplePoBreadcrumbBasicComponent {} diff --git a/projects/ui/src/lib/components/po-breadcrumb/samples/sample-po-breadcrumb-labs/sample-po-breadcrumb-labs.component.ts b/projects/ui/src/lib/components/po-breadcrumb/samples/sample-po-breadcrumb-labs/sample-po-breadcrumb-labs.component.ts index ffcc447ece..a23b98e69d 100644 --- a/projects/ui/src/lib/components/po-breadcrumb/samples/sample-po-breadcrumb-labs/sample-po-breadcrumb-labs.component.ts +++ b/projects/ui/src/lib/components/po-breadcrumb/samples/sample-po-breadcrumb-labs/sample-po-breadcrumb-labs.component.ts @@ -3,8 +3,9 @@ import { Component, OnInit } from '@angular/core'; import { PoBreadcrumbItem, PoNotificationService } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-breadcrumb-labs', - templateUrl: './sample-po-breadcrumb-labs.component.html' + selector: 'sample-po-breadcrumb-labs', + templateUrl: './sample-po-breadcrumb-labs.component.html', + standalone: false }) export class SamplePoBreadcrumbLabsComponent implements OnInit { breadcrumbItem: PoBreadcrumbItem; diff --git a/projects/ui/src/lib/components/po-button-group/po-button-group.component.ts b/projects/ui/src/lib/components/po-button-group/po-button-group.component.ts index aa545ea6ec..2a0c167edb 100644 --- a/projects/ui/src/lib/components/po-button-group/po-button-group.component.ts +++ b/projects/ui/src/lib/components/po-button-group/po-button-group.component.ts @@ -29,8 +29,9 @@ import { PoButtonGroupBaseComponent } from './po-button-group-base.component'; * */ @Component({ - selector: 'po-button-group', - templateUrl: './po-button-group.component.html' + selector: 'po-button-group', + templateUrl: './po-button-group.component.html', + standalone: false }) export class PoButtonGroupComponent extends PoButtonGroupBaseComponent { constructor(viewRef: ViewContainerRef) { diff --git a/projects/ui/src/lib/components/po-button-group/samples/sample-po-button-group-attendance/sample-po-button-group-attendance.component.ts b/projects/ui/src/lib/components/po-button-group/samples/sample-po-button-group-attendance/sample-po-button-group-attendance.component.ts index d2c3a6a35b..798871357d 100644 --- a/projects/ui/src/lib/components/po-button-group/samples/sample-po-button-group-attendance/sample-po-button-group-attendance.component.ts +++ b/projects/ui/src/lib/components/po-button-group/samples/sample-po-button-group-attendance/sample-po-button-group-attendance.component.ts @@ -3,8 +3,9 @@ import { Component } from '@angular/core'; import { PoButtonGroupItem, PoNotificationService } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-button-group-attendance', - templateUrl: './sample-po-button-group-attendance.component.html' + selector: 'sample-po-button-group-attendance', + templateUrl: './sample-po-button-group-attendance.component.html', + standalone: false }) export class SamplePoButtonGroupAttendanceComponent { attendances: Array = [ diff --git a/projects/ui/src/lib/components/po-button-group/samples/sample-po-button-group-basic/sample-po-button-group-basic.component.ts b/projects/ui/src/lib/components/po-button-group/samples/sample-po-button-group-basic/sample-po-button-group-basic.component.ts index 7553929a8d..de18c75b68 100644 --- a/projects/ui/src/lib/components/po-button-group/samples/sample-po-button-group-basic/sample-po-button-group-basic.component.ts +++ b/projects/ui/src/lib/components/po-button-group/samples/sample-po-button-group-basic/sample-po-button-group-basic.component.ts @@ -3,8 +3,9 @@ import { Component } from '@angular/core'; import { PoButtonGroupItem } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-button-group-basic', - templateUrl: './sample-po-button-group-basic.component.html' + selector: 'sample-po-button-group-basic', + templateUrl: './sample-po-button-group-basic.component.html', + standalone: false }) export class SamplePoButtonGroupBasicComponent { buttons: Array = [ diff --git a/projects/ui/src/lib/components/po-button-group/samples/sample-po-button-group-labs/sample-po-button-group-labs.component.ts b/projects/ui/src/lib/components/po-button-group/samples/sample-po-button-group-labs/sample-po-button-group-labs.component.ts index 6fde52f000..e7297dbaa2 100644 --- a/projects/ui/src/lib/components/po-button-group/samples/sample-po-button-group-labs/sample-po-button-group-labs.component.ts +++ b/projects/ui/src/lib/components/po-button-group/samples/sample-po-button-group-labs/sample-po-button-group-labs.component.ts @@ -9,8 +9,9 @@ import { } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-button-group-labs', - templateUrl: './sample-po-button-group-labs.component.html' + selector: 'sample-po-button-group-labs', + templateUrl: './sample-po-button-group-labs.component.html', + standalone: false }) export class SamplePoButtonGroupLabsComponent implements OnInit { button: any; diff --git a/projects/ui/src/lib/components/po-button-group/samples/sample-po-button-group-post/sample-po-button-group-post.component.ts b/projects/ui/src/lib/components/po-button-group/samples/sample-po-button-group-post/sample-po-button-group-post.component.ts index eb28b63849..7001d35c6f 100644 --- a/projects/ui/src/lib/components/po-button-group/samples/sample-po-button-group-post/sample-po-button-group-post.component.ts +++ b/projects/ui/src/lib/components/po-button-group/samples/sample-po-button-group-post/sample-po-button-group-post.component.ts @@ -3,8 +3,9 @@ import { Component } from '@angular/core'; import { PoButtonGroupItem } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-button-group-post', - templateUrl: './sample-po-button-group-post.component.html' + selector: 'sample-po-button-group-post', + templateUrl: './sample-po-button-group-post.component.html', + standalone: false }) export class SamplePoButtonGroupPostComponent { setBold: boolean; diff --git a/projects/ui/src/lib/components/po-button/po-button.component.ts b/projects/ui/src/lib/components/po-button/po-button.component.ts index 70963687c4..fda907abb9 100644 --- a/projects/ui/src/lib/components/po-button/po-button.component.ts +++ b/projects/ui/src/lib/components/po-button/po-button.component.ts @@ -27,9 +27,10 @@ import { PoButtonBaseComponent } from './po-button-base.component'; * */ @Component({ - selector: 'po-button', - templateUrl: './po-button.component.html', - changeDetection: ChangeDetectionStrategy.OnPush + selector: 'po-button', + templateUrl: './po-button.component.html', + changeDetection: ChangeDetectionStrategy.OnPush, + standalone: false }) export class PoButtonComponent extends PoButtonBaseComponent { @ViewChild('button', { static: true }) buttonElement: ElementRef; diff --git a/projects/ui/src/lib/components/po-button/samples/sample-po-button-basic/sample-po-button-basic.component.ts b/projects/ui/src/lib/components/po-button/samples/sample-po-button-basic/sample-po-button-basic.component.ts index e117b93888..1564e2f02c 100644 --- a/projects/ui/src/lib/components/po-button/samples/sample-po-button-basic/sample-po-button-basic.component.ts +++ b/projects/ui/src/lib/components/po-button/samples/sample-po-button-basic/sample-po-button-basic.component.ts @@ -1,8 +1,9 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-button-basic', - templateUrl: './sample-po-button-basic.component.html' + selector: 'sample-po-button-basic', + templateUrl: './sample-po-button-basic.component.html', + standalone: false }) export class SamplePoButtonBasicComponent { onClick() { diff --git a/projects/ui/src/lib/components/po-button/samples/sample-po-button-labs/sample-po-button-labs.component.ts b/projects/ui/src/lib/components/po-button/samples/sample-po-button-labs/sample-po-button-labs.component.ts index e1bc19a99a..c1a680e51e 100644 --- a/projects/ui/src/lib/components/po-button/samples/sample-po-button-labs/sample-po-button-labs.component.ts +++ b/projects/ui/src/lib/components/po-button/samples/sample-po-button-labs/sample-po-button-labs.component.ts @@ -3,8 +3,9 @@ import { Component, OnInit } from '@angular/core'; import { PoCheckboxGroupOption, PoRadioGroupOption, PoDialogService, PoButtonType } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-button-labs', - templateUrl: './sample-po-button-labs.component.html' + selector: 'sample-po-button-labs', + templateUrl: './sample-po-button-labs.component.html', + standalone: false }) export class SamplePoButtonLabsComponent implements OnInit { label: string; diff --git a/projects/ui/src/lib/components/po-button/samples/sample-po-button-social-network/sample-po-button-social-network.component.ts b/projects/ui/src/lib/components/po-button/samples/sample-po-button-social-network/sample-po-button-social-network.component.ts index 272ac6b25e..fa234663da 100644 --- a/projects/ui/src/lib/components/po-button/samples/sample-po-button-social-network/sample-po-button-social-network.component.ts +++ b/projects/ui/src/lib/components/po-button/samples/sample-po-button-social-network/sample-po-button-social-network.component.ts @@ -3,8 +3,9 @@ import { Component, OnInit } from '@angular/core'; import { PoNotificationService } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-button-social-network', - templateUrl: './sample-po-button-social-network.component.html' + selector: 'sample-po-button-social-network', + templateUrl: './sample-po-button-social-network.component.html', + standalone: false }) export class SamplePoButtonSocialNetworkComponent implements OnInit { currentFriend: object; diff --git a/projects/ui/src/lib/components/po-calendar/po-calendar-header/po-calendar-header.component.ts b/projects/ui/src/lib/components/po-calendar/po-calendar-header/po-calendar-header.component.ts index 3293cfb8ce..05a25e67ec 100644 --- a/projects/ui/src/lib/components/po-calendar/po-calendar-header/po-calendar-header.component.ts +++ b/projects/ui/src/lib/components/po-calendar/po-calendar-header/po-calendar-header.component.ts @@ -1,9 +1,10 @@ import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core'; @Component({ - selector: 'po-calendar-header', - templateUrl: './po-calendar-header.component.html', - changeDetection: ChangeDetectionStrategy.OnPush + selector: 'po-calendar-header', + templateUrl: './po-calendar-header.component.html', + changeDetection: ChangeDetectionStrategy.OnPush, + standalone: false }) export class PoCalendarHeaderComponent { @Input('p-hide-previous') hidePrevious = false; diff --git a/projects/ui/src/lib/components/po-calendar/po-calendar-wrapper/po-calendar-wrapper.component.ts b/projects/ui/src/lib/components/po-calendar/po-calendar-wrapper/po-calendar-wrapper.component.ts index 56159d971a..d05a656ba2 100644 --- a/projects/ui/src/lib/components/po-calendar/po-calendar-wrapper/po-calendar-wrapper.component.ts +++ b/projects/ui/src/lib/components/po-calendar/po-calendar-wrapper/po-calendar-wrapper.component.ts @@ -8,10 +8,11 @@ import { PoCalendarService } from '../services/po-calendar.service'; import { PoDateService } from '../../../services/po-date/po-date.service'; @Component({ - selector: 'po-calendar-wrapper', - templateUrl: './po-calendar-wrapper.component.html', - providers: [PoCalendarService], - changeDetection: ChangeDetectionStrategy.OnPush + selector: 'po-calendar-wrapper', + templateUrl: './po-calendar-wrapper.component.html', + providers: [PoCalendarService], + changeDetection: ChangeDetectionStrategy.OnPush, + standalone: false }) export class PoCalendarWrapperComponent implements OnInit, OnChanges { @Input('p-value') value; diff --git a/projects/ui/src/lib/components/po-calendar/samples/sample-po-calendar-basic/sample-po-calendar-basic.component.ts b/projects/ui/src/lib/components/po-calendar/samples/sample-po-calendar-basic/sample-po-calendar-basic.component.ts index 346ff13489..d07f2bc8b1 100644 --- a/projects/ui/src/lib/components/po-calendar/samples/sample-po-calendar-basic/sample-po-calendar-basic.component.ts +++ b/projects/ui/src/lib/components/po-calendar/samples/sample-po-calendar-basic/sample-po-calendar-basic.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-calendar-basic', - templateUrl: './sample-po-calendar-basic.component.html' + selector: 'sample-po-calendar-basic', + templateUrl: './sample-po-calendar-basic.component.html', + standalone: false }) export class SamplePoCalendarBasicComponent {} diff --git a/projects/ui/src/lib/components/po-calendar/samples/sample-po-calendar-labs/sample-po-calendar-labs.component.ts b/projects/ui/src/lib/components/po-calendar/samples/sample-po-calendar-labs/sample-po-calendar-labs.component.ts index d86f8ba240..b5e104bb52 100644 --- a/projects/ui/src/lib/components/po-calendar/samples/sample-po-calendar-labs/sample-po-calendar-labs.component.ts +++ b/projects/ui/src/lib/components/po-calendar/samples/sample-po-calendar-labs/sample-po-calendar-labs.component.ts @@ -3,8 +3,9 @@ import { Component, OnInit } from '@angular/core'; import { PoRadioGroupOption, PoCalendarMode } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-calendar-labs', - templateUrl: './sample-po-calendar-labs.component.html' + selector: 'sample-po-calendar-labs', + templateUrl: './sample-po-calendar-labs.component.html', + standalone: false }) export class SamplePoCalendarLabsComponent implements OnInit { calendar; diff --git a/projects/ui/src/lib/components/po-calendar/samples/sample-po-calendar-ticket-sales/sample-po-calendar-ticket-sales.component.ts b/projects/ui/src/lib/components/po-calendar/samples/sample-po-calendar-ticket-sales/sample-po-calendar-ticket-sales.component.ts index 7ae7600754..4e672366c1 100644 --- a/projects/ui/src/lib/components/po-calendar/samples/sample-po-calendar-ticket-sales/sample-po-calendar-ticket-sales.component.ts +++ b/projects/ui/src/lib/components/po-calendar/samples/sample-po-calendar-ticket-sales/sample-po-calendar-ticket-sales.component.ts @@ -3,8 +3,9 @@ import { Component } from '@angular/core'; import { PoNotificationService, PoPageAction, PoSelectOption } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-calendar-ticket-sales', - templateUrl: './sample-po-calendar-ticket-sales.component.html' + selector: 'sample-po-calendar-ticket-sales', + templateUrl: './sample-po-calendar-ticket-sales.component.html', + standalone: false }) export class SamplePoCalendarTicketSalesComponent { date: string; diff --git a/projects/ui/src/lib/components/po-chart/directives/po-resize-observer.directive.spec.ts b/projects/ui/src/lib/components/po-chart/directives/po-resize-observer.directive.spec.ts index 9bd0ef9c82..caa628184c 100644 --- a/projects/ui/src/lib/components/po-chart/directives/po-resize-observer.directive.spec.ts +++ b/projects/ui/src/lib/components/po-chart/directives/po-resize-observer.directive.spec.ts @@ -5,7 +5,7 @@ import { PoChartModule } from '../po-chart.module'; import { PoResizeObserverDirective } from './po-resize-observer.directive'; @Component({ - template: ` + template: `
- ` + `, + standalone: false }) export class TestComponent { testResize() {} diff --git a/projects/ui/src/lib/components/po-chart/directives/po-resize-observer.directive.ts b/projects/ui/src/lib/components/po-chart/directives/po-resize-observer.directive.ts index 5387fccab8..e6b7cab270 100644 --- a/projects/ui/src/lib/components/po-chart/directives/po-resize-observer.directive.ts +++ b/projects/ui/src/lib/components/po-chart/directives/po-resize-observer.directive.ts @@ -5,7 +5,8 @@ import { Subject, Subscription } from 'rxjs'; import { debounceTime } from 'rxjs/operators'; @Directive({ - selector: '[p-resize-observer]' + selector: '[p-resize-observer]', + standalone: false }) export class PoResizeObserverDirective implements OnDestroy, OnInit { @Output('p-resize-observer') resize = new EventEmitter(); diff --git a/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-axis/po-chart-axis-label/po-chart-axis-label.component.ts b/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-axis/po-chart-axis-label/po-chart-axis-label.component.ts index a6e6e5fc09..772b58814e 100644 --- a/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-axis/po-chart-axis-label/po-chart-axis-label.component.ts +++ b/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-axis/po-chart-axis-label/po-chart-axis-label.component.ts @@ -4,8 +4,9 @@ import { PoChartType } from '../../../enums/po-chart-type.enum'; import { PoChartLabelCoordinates } from '../../../interfaces/po-chart-label-coordinates.interface'; @Component({ - selector: '[po-chart-axis-label]', - templateUrl: './po-chart-axis-label.component.svg' + selector: '[po-chart-axis-label]', + templateUrl: './po-chart-axis-label.component.svg', + standalone: false }) export class PoChartAxisLabelComponent { @Input('p-align-by-the-corners') alignByTheCorners: boolean = false; diff --git a/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-axis/po-chart-axis-path/po-chart-axis-path.component.ts b/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-axis/po-chart-axis-path/po-chart-axis-path.component.ts index 7b13a06a00..fd6fb3f8de 100644 --- a/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-axis/po-chart-axis-path/po-chart-axis-path.component.ts +++ b/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-axis/po-chart-axis-path/po-chart-axis-path.component.ts @@ -3,8 +3,9 @@ import { Component, Input } from '@angular/core'; import { PoChartPathCoordinates } from '../../../interfaces/po-chart-path-coordinates.interface'; @Component({ - selector: '[po-chart-axis-path]', - templateUrl: './po-chart-axis-path.component.svg' + selector: '[po-chart-axis-path]', + templateUrl: './po-chart-axis-path.component.svg', + standalone: false }) export class PoChartAxisPathComponent { @Input('p-axis-x-coordinates') axisXCoordinates: Array; diff --git a/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-axis/po-chart-axis.component.ts b/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-axis/po-chart-axis.component.ts index 4307972661..aac72042c1 100644 --- a/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-axis/po-chart-axis.component.ts +++ b/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-axis/po-chart-axis.component.ts @@ -15,8 +15,9 @@ import { PoChartAxisOptions } from '../../interfaces/po-chart-axis-options.inter import { PoChartType } from '../../enums/po-chart-type.enum'; @Component({ - selector: '[po-chart-axis]', - templateUrl: './po-chart-axis.component.svg' + selector: '[po-chart-axis]', + templateUrl: './po-chart-axis.component.svg', + standalone: false }) export class PoChartAxisComponent { @Input('p-align-by-the-corners') alignByTheCorners: boolean = false; diff --git a/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-bar/po-chart-bar-path/po-chart-bar-path.component.ts b/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-bar/po-chart-bar-path/po-chart-bar-path.component.ts index e1036baa7a..55fbd0924a 100644 --- a/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-bar/po-chart-bar-path/po-chart-bar-path.component.ts +++ b/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-bar/po-chart-bar-path/po-chart-bar-path.component.ts @@ -3,8 +3,9 @@ import { Component, EventEmitter, Input, Output } from '@angular/core'; import { PoChartBarCoordinates } from '../../../interfaces/po-chart-bar-coordinates.interface'; @Component({ - selector: '[po-chart-bar-path]', - templateUrl: './po-chart-bar-path.component.svg' + selector: '[po-chart-bar-path]', + templateUrl: './po-chart-bar-path.component.svg', + standalone: false }) export class PoChartBarPathComponent { @Input('p-color') color?: string; diff --git a/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-bar/po-chart-bar.component.ts b/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-bar/po-chart-bar.component.ts index b18a09b0c7..b1736243f5 100644 --- a/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-bar/po-chart-bar.component.ts +++ b/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-bar/po-chart-bar.component.ts @@ -9,8 +9,9 @@ import { PoChartContainerSize } from './../../interfaces/po-chart-container-size import { PoChartMinMaxValues } from './../../interfaces/po-chart-min-max-values.interface'; @Component({ - selector: '[po-chart-bar]', - templateUrl: './po-chart-bar.component.svg' + selector: '[po-chart-bar]', + templateUrl: './po-chart-bar.component.svg', + standalone: false }) export class PoChartBarComponent extends PoChartBarBaseComponent { readonly tooltipPosition = 'right'; diff --git a/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-bar/po-chart-column/po-chart-column.component.ts b/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-bar/po-chart-column/po-chart-column.component.ts index c0f980c8ae..39477e8e47 100644 --- a/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-bar/po-chart-column/po-chart-column.component.ts +++ b/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-bar/po-chart-column/po-chart-column.component.ts @@ -9,8 +9,9 @@ import { PoChartContainerSize } from '../../../interfaces/po-chart-container-siz import { PoChartMinMaxValues } from '../../../interfaces/po-chart-min-max-values.interface'; @Component({ - selector: '[po-chart-column]', - templateUrl: '../po-chart-bar.component.svg' + selector: '[po-chart-column]', + templateUrl: '../po-chart-bar.component.svg', + standalone: false }) export class PoChartColumnComponent extends PoChartBarBaseComponent { readonly tooltipPosition = 'top'; diff --git a/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-circular/po-chart-circular-label/po-chart-circular-label.component.ts b/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-circular/po-chart-circular-label/po-chart-circular-label.component.ts index f79642c170..97c48aa7d8 100644 --- a/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-circular/po-chart-circular-label/po-chart-circular-label.component.ts +++ b/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-circular/po-chart-circular-label/po-chart-circular-label.component.ts @@ -3,8 +3,9 @@ import { ChangeDetectorRef, Component, ElementRef, Input, Renderer2, ViewChild } import { PoChartLabelCoordinates } from '../../../interfaces/po-chart-label-coordinates.interface'; @Component({ - selector: '[po-chart-circular-label]', - templateUrl: './po-chart-circular-label.component.svg' + selector: '[po-chart-circular-label]', + templateUrl: './po-chart-circular-label.component.svg', + standalone: false }) export class PoChartCircularLabelComponent { @Input('p-serie') serie: PoChartLabelCoordinates; diff --git a/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-circular/po-chart-circular-path/po-chart-circular-path.component.ts b/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-circular/po-chart-circular-path/po-chart-circular-path.component.ts index 59e36762d9..ea5cd9dd9e 100644 --- a/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-circular/po-chart-circular-path/po-chart-circular-path.component.ts +++ b/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-circular/po-chart-circular-path/po-chart-circular-path.component.ts @@ -3,8 +3,9 @@ import { Component, ElementRef, EventEmitter, Input, Output, Renderer2, ViewChil import { PoChartPathCoordinates } from '../../../interfaces/po-chart-path-coordinates.interface'; @Component({ - selector: '[po-chart-circular-path]', - templateUrl: './po-chart-circular-path.component.svg' + selector: '[po-chart-circular-path]', + templateUrl: './po-chart-circular-path.component.svg', + standalone: false }) export class PoChartCircularPathComponent { @Input('p-serie') serie: PoChartPathCoordinates; diff --git a/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-circular/po-chart-circular-path/po-chart-tooltip.directive.spec.ts b/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-circular/po-chart-circular-path/po-chart-tooltip.directive.spec.ts index c71a78fb17..e007dc1f83 100644 --- a/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-circular/po-chart-circular-path/po-chart-tooltip.directive.spec.ts +++ b/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-circular/po-chart-circular-path/po-chart-tooltip.directive.spec.ts @@ -8,7 +8,7 @@ import { PoChartModule } from '../../../po-chart.module'; import { PoChartTooltipDirective } from './po-chart-tooltip.directive'; @Component({ - template: ` + template: `
- ` + `, + standalone: false }) export class TestComponent {} diff --git a/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-circular/po-chart-circular-path/po-chart-tooltip.directive.ts b/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-circular/po-chart-circular-path/po-chart-tooltip.directive.ts index f055a6a8b1..b71e792e84 100644 --- a/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-circular/po-chart-circular-path/po-chart-tooltip.directive.ts +++ b/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-circular/po-chart-circular-path/po-chart-tooltip.directive.ts @@ -1,7 +1,8 @@ import { Directive, ElementRef, HostListener, Input, Renderer2 } from '@angular/core'; @Directive({ - selector: '[p-chart-tooltip]' + selector: '[p-chart-tooltip]', + standalone: false }) export class PoChartTooltipDirective { @Input('p-chart-tooltip') tooltip: string; diff --git a/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-circular/po-chart-circular.component.spec.ts b/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-circular/po-chart-circular.component.spec.ts index ff5b09b5ff..b78d8d77dd 100644 --- a/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-circular/po-chart-circular.component.spec.ts +++ b/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-circular/po-chart-circular.component.spec.ts @@ -12,8 +12,9 @@ import { PoChartModule } from '../../po-chart.module'; import { expectPropertiesValues } from 'projects/templates/src/lib/util-test/util-expect.spec'; @Component({ - selector: 'po-chart-circular-test', - template: ` ` + selector: 'po-chart-circular-test', + template: ` `, + standalone: false }) class PoChartPieComponent extends PoChartCircularComponent { constructor(ngZone: NgZone, changeDetector: ChangeDetectorRef) { diff --git a/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-circular/po-chart-donut/po-chart-donut.component.ts b/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-circular/po-chart-donut/po-chart-donut.component.ts index 08882214b3..94532e2260 100644 --- a/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-circular/po-chart-donut/po-chart-donut.component.ts +++ b/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-circular/po-chart-donut/po-chart-donut.component.ts @@ -7,8 +7,9 @@ import { PoChartDonutDefaultThickness, PoChartStartAngle } from '../../../helper import { PoChartCircularComponent } from '../po-chart-circular.component'; @Component({ - selector: '[po-chart-donut]', - templateUrl: '../po-chart-circular.component.svg' + selector: '[po-chart-donut]', + templateUrl: '../po-chart-circular.component.svg', + standalone: false }) export class PoChartDonutComponent extends PoChartCircularComponent implements OnChanges { private readonly poChartBlackColor = '#000000'; diff --git a/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-circular/po-chart-pie/po-chart-pie.component.ts b/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-circular/po-chart-pie/po-chart-pie.component.ts index a89b703ed7..03b49a96b7 100644 --- a/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-circular/po-chart-pie/po-chart-pie.component.ts +++ b/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-circular/po-chart-pie/po-chart-pie.component.ts @@ -3,8 +3,9 @@ import { ChangeDetectorRef, Component, NgZone, OnChanges, SimpleChanges } from ' import { PoChartCircularComponent } from '../po-chart-circular.component'; @Component({ - selector: '[po-chart-pie]', - templateUrl: '../po-chart-circular.component.svg' + selector: '[po-chart-pie]', + templateUrl: '../po-chart-circular.component.svg', + standalone: false }) export class PoChartPieComponent extends PoChartCircularComponent implements OnChanges { /* istanbul ignore next */ diff --git a/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-container.component.ts b/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-container.component.ts index 0659267796..59231f89b5 100644 --- a/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-container.component.ts +++ b/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-container.component.ts @@ -10,8 +10,9 @@ import { PoChartSerie } from '../interfaces/po-chart-serie.interface'; import { PoChartDataLabel } from '../interfaces/po-chart-serie-data-label.interface'; @Component({ - selector: 'po-chart-container', - templateUrl: './po-chart-container.component.html' + selector: 'po-chart-container', + templateUrl: './po-chart-container.component.html', + standalone: false }) export class PoChartContainerComponent implements OnChanges { @Input('p-categories') categories: Array; diff --git a/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-line/po-chart-area/po-chart-area.component.ts b/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-line/po-chart-area/po-chart-area.component.ts index 0a3ba5f9bf..2fdc35a659 100644 --- a/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-line/po-chart-area/po-chart-area.component.ts +++ b/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-line/po-chart-area/po-chart-area.component.ts @@ -9,8 +9,9 @@ import { PoChartPathCoordinates } from '../../../interfaces/po-chart-path-coordi import { PoChartPointsCoordinates } from '../../../interfaces/po-chart-points-coordinates.interface'; @Component({ - selector: '[po-chart-area]', - templateUrl: '../po-chart-line.component.svg' + selector: '[po-chart-area]', + templateUrl: '../po-chart-line.component.svg', + standalone: false }) export class PoChartAreaComponent extends PoChartLineBaseComponent { private currentActiveSerieIndex: number; diff --git a/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-line/po-chart-line-base.component.spec.ts b/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-line/po-chart-line-base.component.spec.ts index 3efe7134f4..0fcf3dc81f 100644 --- a/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-line/po-chart-line-base.component.spec.ts +++ b/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-line/po-chart-line-base.component.spec.ts @@ -11,8 +11,9 @@ import { PoChartType } from '../../enums/po-chart-type.enum'; import { expectPropertiesValues } from 'projects/ui/src/lib/util-test/util-expect.spec'; @Component({ - selector: 'po-chart-line-test', - template: ` ` + selector: 'po-chart-line-test', + template: ` `, + standalone: false }) class PoChartLineComponent extends PoChartLineBaseComponent { constructor(mathsService: PoChartMathsService, renderer: Renderer2, elementRef: ElementRef) { diff --git a/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-line/po-chart-line.component.ts b/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-line/po-chart-line.component.ts index 79e21d0c4b..6634212cf0 100644 --- a/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-line/po-chart-line.component.ts +++ b/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-line/po-chart-line.component.ts @@ -5,8 +5,9 @@ import { PoChartMathsService } from '../../services/po-chart-maths.service'; import { PoChartPathCoordinates } from '../../interfaces/po-chart-path-coordinates.interface'; @Component({ - selector: '[po-chart-line]', - templateUrl: './po-chart-line.component.svg' + selector: '[po-chart-line]', + templateUrl: './po-chart-line.component.svg', + standalone: false }) export class PoChartLineComponent extends PoChartLineBaseComponent implements OnChanges { selectedPath: PoChartPathCoordinates; diff --git a/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-line/po-chart-path/po-chart-path.component.ts b/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-line/po-chart-path/po-chart-path.component.ts index 7486ee2ee1..2c86c80104 100644 --- a/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-line/po-chart-path/po-chart-path.component.ts +++ b/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-line/po-chart-path/po-chart-path.component.ts @@ -5,8 +5,9 @@ import { convertToBoolean, isIE } from '../../../../../utils/util'; const pathDashoffsetDefaultWidth = 0; @Component({ - selector: '[po-chart-path]', - templateUrl: './po-chart-path.component.svg' + selector: '[po-chart-path]', + templateUrl: './po-chart-path.component.svg', + standalone: false }) export class PoChartPathComponent implements AfterViewInit { @Input({ alias: 'p-is-active', transform: convertToBoolean }) isActive: boolean = true; diff --git a/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-line/po-chart-series-point/po-chart-series-point.component.ts b/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-line/po-chart-series-point/po-chart-series-point.component.ts index 03baadded8..e6770635d7 100644 --- a/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-line/po-chart-series-point/po-chart-series-point.component.ts +++ b/projects/ui/src/lib/components/po-chart/po-chart-container/po-chart-line/po-chart-series-point/po-chart-series-point.component.ts @@ -11,8 +11,9 @@ const RADIUS_HOVER_SIZE = 10; const ANIMATION_DURATION_TIME = 700; @Component({ - selector: '[po-chart-series-point]', - templateUrl: './po-chart-series-point.component.svg' + selector: '[po-chart-series-point]', + templateUrl: './po-chart-series-point.component.svg', + standalone: false }) export class PoChartSeriesPointComponent { @Input('p-animate') animate: boolean; diff --git a/projects/ui/src/lib/components/po-chart/po-chart-legend/po-chart-legend.component.ts b/projects/ui/src/lib/components/po-chart/po-chart-legend/po-chart-legend.component.ts index c1eebd89f5..7765ddb1e0 100644 --- a/projects/ui/src/lib/components/po-chart/po-chart-legend/po-chart-legend.component.ts +++ b/projects/ui/src/lib/components/po-chart/po-chart-legend/po-chart-legend.component.ts @@ -3,9 +3,10 @@ import { ChangeDetectionStrategy, Component, Input } from '@angular/core'; import { PoChartType } from '../enums/po-chart-type.enum'; @Component({ - selector: 'po-chart-legend', - templateUrl: './po-chart-legend.component.html', - changeDetection: ChangeDetectionStrategy.OnPush + selector: 'po-chart-legend', + templateUrl: './po-chart-legend.component.html', + changeDetection: ChangeDetectionStrategy.OnPush, + standalone: false }) export class PoChartLegendComponent { @Input('p-type') type: PoChartType; diff --git a/projects/ui/src/lib/components/po-chart/po-chart-types/po-chart-circular/po-chart-circular.spec.ts b/projects/ui/src/lib/components/po-chart/po-chart-types/po-chart-circular/po-chart-circular.spec.ts index 7f31f454de..e7bc43d9e8 100644 --- a/projects/ui/src/lib/components/po-chart/po-chart-types/po-chart-circular/po-chart-circular.spec.ts +++ b/projects/ui/src/lib/components/po-chart/po-chart-types/po-chart-circular/po-chart-circular.spec.ts @@ -9,8 +9,9 @@ import { PoChartDynamicTypeComponent } from '../po-chart-dynamic-type.component' import { PoChartType } from '../../enums/po-chart-type.enum'; @Component({ - selector: 'po-chart-circular-test', - templateUrl: '../po-chart-dynamic-type.component.html' + selector: 'po-chart-circular-test', + templateUrl: '../po-chart-dynamic-type.component.html', + standalone: false }) class PoChartCircularComponent extends PoChartCircular { constructor(el: ElementRef, ngZone: NgZone, renderer: Renderer2) { diff --git a/projects/ui/src/lib/components/po-chart/po-chart.component.ts b/projects/ui/src/lib/components/po-chart/po-chart.component.ts index 3b0495fa06..b6ba224b52 100644 --- a/projects/ui/src/lib/components/po-chart/po-chart.component.ts +++ b/projects/ui/src/lib/components/po-chart/po-chart.component.ts @@ -52,8 +52,9 @@ import { PoChartMathsService } from './services/po-chart-maths.service'; * */ @Component({ - selector: 'po-chart', - templateUrl: './po-chart.component.html' + selector: 'po-chart', + templateUrl: './po-chart.component.html', + standalone: false }) export class PoChartComponent extends PoChartBaseComponent implements AfterViewInit, DoCheck, OnDestroy, OnInit { @ViewChild('chartContainer', { read: ViewContainerRef, static: true }) chartContainer: ViewContainerRef; diff --git a/projects/ui/src/lib/components/po-chart/samples/sample-po-chart-basic/sample-po-chart-basic.component.ts b/projects/ui/src/lib/components/po-chart/samples/sample-po-chart-basic/sample-po-chart-basic.component.ts index 2a57fb96d4..694d437448 100644 --- a/projects/ui/src/lib/components/po-chart/samples/sample-po-chart-basic/sample-po-chart-basic.component.ts +++ b/projects/ui/src/lib/components/po-chart/samples/sample-po-chart-basic/sample-po-chart-basic.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-chart-basic', - templateUrl: './sample-po-chart-basic.component.html' + selector: 'sample-po-chart-basic', + templateUrl: './sample-po-chart-basic.component.html', + standalone: false }) export class SamplePoChartBasicComponent {} diff --git a/projects/ui/src/lib/components/po-chart/samples/sample-po-chart-coffee-ranking/sample-po-chart-coffee-ranking.component.ts b/projects/ui/src/lib/components/po-chart/samples/sample-po-chart-coffee-ranking/sample-po-chart-coffee-ranking.component.ts index 34b42ef001..ed203554f0 100644 --- a/projects/ui/src/lib/components/po-chart/samples/sample-po-chart-coffee-ranking/sample-po-chart-coffee-ranking.component.ts +++ b/projects/ui/src/lib/components/po-chart/samples/sample-po-chart-coffee-ranking/sample-po-chart-coffee-ranking.component.ts @@ -3,9 +3,10 @@ import { Component } from '@angular/core'; import { PoChartType, PoChartOptions, PoChartSerie, PoDialogService } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-chart-coffee-ranking', - templateUrl: './sample-po-chart-coffee-ranking.component.html', - providers: [PoDialogService] + selector: 'sample-po-chart-coffee-ranking', + templateUrl: './sample-po-chart-coffee-ranking.component.html', + providers: [PoDialogService], + standalone: false }) export class SamplePoChartCoffeeRankingComponent { participationByCountryInWorldExportsType: PoChartType = PoChartType.Line; diff --git a/projects/ui/src/lib/components/po-chart/samples/sample-po-chart-labs/sample-po-chart-labs.component.ts b/projects/ui/src/lib/components/po-chart/samples/sample-po-chart-labs/sample-po-chart-labs.component.ts index 8f20eb44d6..3510dcf0e6 100644 --- a/projects/ui/src/lib/components/po-chart/samples/sample-po-chart-labs/sample-po-chart-labs.component.ts +++ b/projects/ui/src/lib/components/po-chart/samples/sample-po-chart-labs/sample-po-chart-labs.component.ts @@ -10,8 +10,9 @@ import { } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-chart-labs', - templateUrl: './sample-po-chart-labs.component.html' + selector: 'sample-po-chart-labs', + templateUrl: './sample-po-chart-labs.component.html', + standalone: false }) export class SamplePoChartLabsComponent implements OnInit { allCategories: Array = []; diff --git a/projects/ui/src/lib/components/po-chart/samples/sample-po-chart-world-exports/sample-po-chart-world-exports.component.ts b/projects/ui/src/lib/components/po-chart/samples/sample-po-chart-world-exports/sample-po-chart-world-exports.component.ts index 6bb5049933..33551e89a1 100644 --- a/projects/ui/src/lib/components/po-chart/samples/sample-po-chart-world-exports/sample-po-chart-world-exports.component.ts +++ b/projects/ui/src/lib/components/po-chart/samples/sample-po-chart-world-exports/sample-po-chart-world-exports.component.ts @@ -3,8 +3,9 @@ import { Component } from '@angular/core'; import { PoChartOptions, PoChartSerie, PoChartType } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-chart-world-exports', - templateUrl: './sample-po-chart-world-exports.component.html' + selector: 'sample-po-chart-world-exports', + templateUrl: './sample-po-chart-world-exports.component.html', + standalone: false }) export class SamplePoChartWorldExportsComponent { participationByCountryInWorldExportsType: PoChartType = PoChartType.Line; diff --git a/projects/ui/src/lib/components/po-container/po-container.component.ts b/projects/ui/src/lib/components/po-container/po-container.component.ts index 62c3fc83a3..5a120f7624 100644 --- a/projects/ui/src/lib/components/po-container/po-container.component.ts +++ b/projects/ui/src/lib/components/po-container/po-container.component.ts @@ -24,7 +24,8 @@ import { PoContainerBaseComponent } from './po-container-base.component'; * */ @Component({ - selector: 'po-container', - templateUrl: './po-container.component.html' + selector: 'po-container', + templateUrl: './po-container.component.html', + standalone: false }) export class PoContainerComponent extends PoContainerBaseComponent {} diff --git a/projects/ui/src/lib/components/po-container/samples/sample-po-container-basic/sample-po-container-basic.component.ts b/projects/ui/src/lib/components/po-container/samples/sample-po-container-basic/sample-po-container-basic.component.ts index 3683e2e48b..f718246b47 100644 --- a/projects/ui/src/lib/components/po-container/samples/sample-po-container-basic/sample-po-container-basic.component.ts +++ b/projects/ui/src/lib/components/po-container/samples/sample-po-container-basic/sample-po-container-basic.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-container-basic', - templateUrl: './sample-po-container-basic.component.html' + selector: 'sample-po-container-basic', + templateUrl: './sample-po-container-basic.component.html', + standalone: false }) export class SamplePoContainerBasicComponent {} diff --git a/projects/ui/src/lib/components/po-container/samples/sample-po-container-dashboard/sample-po-container-dashboard.component.ts b/projects/ui/src/lib/components/po-container/samples/sample-po-container-dashboard/sample-po-container-dashboard.component.ts index bfee1be773..149612895c 100644 --- a/projects/ui/src/lib/components/po-container/samples/sample-po-container-dashboard/sample-po-container-dashboard.component.ts +++ b/projects/ui/src/lib/components/po-container/samples/sample-po-container-dashboard/sample-po-container-dashboard.component.ts @@ -13,18 +13,19 @@ import { } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-container-dashboard', - templateUrl: './sample-po-container-dashboard.component.html', - styles: [ - ` + selector: 'sample-po-container-dashboard', + templateUrl: './sample-po-container-dashboard.component.html', + styles: [ + ` .sample-container-dashboard { color: #9da7a9; font-family: NunitoSans; font-size: 14px; } ` - ], - providers: [SampleDashboardService] + ], + providers: [SampleDashboardService], + standalone: false }) export class SamplePoContainerDashboardComponent implements AfterContentChecked, OnInit { @ViewChild('formShare', { static: true }) formShare: NgForm; diff --git a/projects/ui/src/lib/components/po-container/samples/sample-po-container-labs/sample-po-container-labs.component.ts b/projects/ui/src/lib/components/po-container/samples/sample-po-container-labs/sample-po-container-labs.component.ts index 8f7569c373..a52deb8133 100644 --- a/projects/ui/src/lib/components/po-container/samples/sample-po-container-labs/sample-po-container-labs.component.ts +++ b/projects/ui/src/lib/components/po-container/samples/sample-po-container-labs/sample-po-container-labs.component.ts @@ -3,8 +3,9 @@ import { Component, OnInit } from '@angular/core'; import { PoCheckboxGroupOption } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-container-labs', - templateUrl: './sample-po-container-labs.component.html' + selector: 'sample-po-container-labs', + templateUrl: './sample-po-container-labs.component.html', + standalone: false }) export class SamplePoContainerLabsComponent implements OnInit { content: string; diff --git a/projects/ui/src/lib/components/po-disclaimer-group/po-disclaimer-group.component.ts b/projects/ui/src/lib/components/po-disclaimer-group/po-disclaimer-group.component.ts index c4037f3277..ac4e36a84a 100644 --- a/projects/ui/src/lib/components/po-disclaimer-group/po-disclaimer-group.component.ts +++ b/projects/ui/src/lib/components/po-disclaimer-group/po-disclaimer-group.component.ts @@ -39,9 +39,10 @@ import { PoDisclaimer } from '../po-disclaimer/po-disclaimer.interface'; * */ @Component({ - selector: 'po-disclaimer-group', - templateUrl: './po-disclaimer-group.component.html', - changeDetection: ChangeDetectionStrategy.OnPush + selector: 'po-disclaimer-group', + templateUrl: './po-disclaimer-group.component.html', + changeDetection: ChangeDetectionStrategy.OnPush, + standalone: false }) export class PoDisclaimerGroupComponent extends PoDisclaimerGroupBaseComponent implements AfterViewInit, OnChanges { private subscription: Subscription = new Subscription(); diff --git a/projects/ui/src/lib/components/po-disclaimer-group/po-disclaimer-remove/po-disclaimer-remove.component.ts b/projects/ui/src/lib/components/po-disclaimer-group/po-disclaimer-remove/po-disclaimer-remove.component.ts index 600621b50b..43c87fc726 100644 --- a/projects/ui/src/lib/components/po-disclaimer-group/po-disclaimer-remove/po-disclaimer-remove.component.ts +++ b/projects/ui/src/lib/components/po-disclaimer-group/po-disclaimer-remove/po-disclaimer-remove.component.ts @@ -8,8 +8,9 @@ import { Component, EventEmitter, Input, Output } from '@angular/core'; * po-disclaimers do grupo. */ @Component({ - selector: 'po-disclaimer-remove', - templateUrl: './po-disclaimer-remove.component.html' + selector: 'po-disclaimer-remove', + templateUrl: './po-disclaimer-remove.component.html', + standalone: false }) export class PoDisclaimerRemoveComponent { /** Texto exibido. */ diff --git a/projects/ui/src/lib/components/po-disclaimer-group/samples/sample-po-disclaimer-group-basic/sample-po-disclaimer-group-basic.component.ts b/projects/ui/src/lib/components/po-disclaimer-group/samples/sample-po-disclaimer-group-basic/sample-po-disclaimer-group-basic.component.ts index 62a765aec0..ee2e6fad4c 100644 --- a/projects/ui/src/lib/components/po-disclaimer-group/samples/sample-po-disclaimer-group-basic/sample-po-disclaimer-group-basic.component.ts +++ b/projects/ui/src/lib/components/po-disclaimer-group/samples/sample-po-disclaimer-group-basic/sample-po-disclaimer-group-basic.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-disclaimer-group-basic', - templateUrl: './sample-po-disclaimer-group-basic.component.html' + selector: 'sample-po-disclaimer-group-basic', + templateUrl: './sample-po-disclaimer-group-basic.component.html', + standalone: false }) export class SamplePoDisclaimerGroupBasicComponent {} diff --git a/projects/ui/src/lib/components/po-disclaimer-group/samples/sample-po-disclaimer-group-labs/sample-po-disclaimer-group-labs.component.ts b/projects/ui/src/lib/components/po-disclaimer-group/samples/sample-po-disclaimer-group-labs/sample-po-disclaimer-group-labs.component.ts index ec6d858996..ac910b4c91 100644 --- a/projects/ui/src/lib/components/po-disclaimer-group/samples/sample-po-disclaimer-group-labs/sample-po-disclaimer-group-labs.component.ts +++ b/projects/ui/src/lib/components/po-disclaimer-group/samples/sample-po-disclaimer-group-labs/sample-po-disclaimer-group-labs.component.ts @@ -3,8 +3,9 @@ import { Component, OnInit } from '@angular/core'; import { PoCheckboxGroupOption, PoDisclaimer } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-disclaimer-group-labs', - templateUrl: './sample-po-disclaimer-group-labs.component.html' + selector: 'sample-po-disclaimer-group-labs', + templateUrl: './sample-po-disclaimer-group-labs.component.html', + standalone: false }) export class SamplePoDisclaimerGroupLabsComponent implements OnInit { disclaimer: PoDisclaimer; diff --git a/projects/ui/src/lib/components/po-disclaimer-group/samples/sample-po-disclaimer-group-sw-planets/sample-po-disclaimer-group-sw-planets.component.ts b/projects/ui/src/lib/components/po-disclaimer-group/samples/sample-po-disclaimer-group-sw-planets/sample-po-disclaimer-group-sw-planets.component.ts index 52d4c2d19f..9339e35046 100644 --- a/projects/ui/src/lib/components/po-disclaimer-group/samples/sample-po-disclaimer-group-sw-planets/sample-po-disclaimer-group-sw-planets.component.ts +++ b/projects/ui/src/lib/components/po-disclaimer-group/samples/sample-po-disclaimer-group-sw-planets/sample-po-disclaimer-group-sw-planets.component.ts @@ -5,9 +5,10 @@ import { PoComboOption, PoDisclaimer, PoTableColumn } from '@po-ui/ng-components import { SamplePoDisclaimerGroupSwPlanetsService } from './sample-po-disclaimer-group-sw-planets.service'; @Component({ - selector: 'sample-po-disclaimer-group-sw-planets', - templateUrl: './sample-po-disclaimer-group-sw-planets.component.html', - providers: [SamplePoDisclaimerGroupSwPlanetsService] + selector: 'sample-po-disclaimer-group-sw-planets', + templateUrl: './sample-po-disclaimer-group-sw-planets.component.html', + providers: [SamplePoDisclaimerGroupSwPlanetsService], + standalone: false }) export class SamplePoDisclaimerGroupSwPlanetsComponent implements OnInit { climate: string; diff --git a/projects/ui/src/lib/components/po-disclaimer/po-disclaimer.component.ts b/projects/ui/src/lib/components/po-disclaimer/po-disclaimer.component.ts index 9b6685583a..51008d6e81 100644 --- a/projects/ui/src/lib/components/po-disclaimer/po-disclaimer.component.ts +++ b/projects/ui/src/lib/components/po-disclaimer/po-disclaimer.component.ts @@ -17,8 +17,9 @@ import { PoDisclaimerBaseComponent } from './po-disclaimer-base.component'; * */ @Component({ - selector: 'po-disclaimer', - templateUrl: './po-disclaimer.component.html' + selector: 'po-disclaimer', + templateUrl: './po-disclaimer.component.html', + standalone: false }) export class PoDisclaimerComponent extends PoDisclaimerBaseComponent { @ViewChild('disclaimerContainer', { static: true }) disclaimerContainer: ElementRef; diff --git a/projects/ui/src/lib/components/po-disclaimer/samples/sample-po-disclaimer.component.ts b/projects/ui/src/lib/components/po-disclaimer/samples/sample-po-disclaimer.component.ts index fe9cb471be..6bfb7ea272 100644 --- a/projects/ui/src/lib/components/po-disclaimer/samples/sample-po-disclaimer.component.ts +++ b/projects/ui/src/lib/components/po-disclaimer/samples/sample-po-disclaimer.component.ts @@ -1,8 +1,9 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-disclaimer', - templateUrl: './sample-po-disclaimer.component.html' + selector: 'sample-po-disclaimer', + templateUrl: './sample-po-disclaimer.component.html', + standalone: false }) export class SamplePoDisclaimerComponent { exclude; diff --git a/projects/ui/src/lib/components/po-divider/po-divider.component.ts b/projects/ui/src/lib/components/po-divider/po-divider.component.ts index b296be38d4..fa314fcabb 100644 --- a/projects/ui/src/lib/components/po-divider/po-divider.component.ts +++ b/projects/ui/src/lib/components/po-divider/po-divider.component.ts @@ -23,8 +23,9 @@ import { PoDividerBaseComponent } from './po-divider-base.component'; * */ @Component({ - selector: 'po-divider', - templateUrl: './po-divider.component.html', - changeDetection: ChangeDetectionStrategy.OnPush + selector: 'po-divider', + templateUrl: './po-divider.component.html', + changeDetection: ChangeDetectionStrategy.OnPush, + standalone: false }) export class PoDividerComponent extends PoDividerBaseComponent {} diff --git a/projects/ui/src/lib/components/po-divider/samples/sample-po-divider-basic/sample-po-divider-basic.component.ts b/projects/ui/src/lib/components/po-divider/samples/sample-po-divider-basic/sample-po-divider-basic.component.ts index 538f80ce0b..d3487f4f87 100644 --- a/projects/ui/src/lib/components/po-divider/samples/sample-po-divider-basic/sample-po-divider-basic.component.ts +++ b/projects/ui/src/lib/components/po-divider/samples/sample-po-divider-basic/sample-po-divider-basic.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-divider-basic', - templateUrl: './sample-po-divider-basic.component.html' + selector: 'sample-po-divider-basic', + templateUrl: './sample-po-divider-basic.component.html', + standalone: false }) export class SamplePoDividerBasicComponent {} diff --git a/projects/ui/src/lib/components/po-divider/samples/sample-po-divider-labs/sample-po-divider-labs.component.ts b/projects/ui/src/lib/components/po-divider/samples/sample-po-divider-labs/sample-po-divider-labs.component.ts index aea16f590a..9862c7a2fa 100644 --- a/projects/ui/src/lib/components/po-divider/samples/sample-po-divider-labs/sample-po-divider-labs.component.ts +++ b/projects/ui/src/lib/components/po-divider/samples/sample-po-divider-labs/sample-po-divider-labs.component.ts @@ -3,8 +3,9 @@ import { Component, OnInit } from '@angular/core'; import { PoSelectOption } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-divider-labs', - templateUrl: './sample-po-divider-labs.component.html' + selector: 'sample-po-divider-labs', + templateUrl: './sample-po-divider-labs.component.html', + standalone: false }) export class SamplePoDividerLabsComponent implements OnInit { borderWidth: string; diff --git a/projects/ui/src/lib/components/po-divider/samples/sample-po-divider-user-detail/sample-po-divider-user-detail.component.ts b/projects/ui/src/lib/components/po-divider/samples/sample-po-divider-user-detail/sample-po-divider-user-detail.component.ts index ed7faaa346..355ed9dea6 100644 --- a/projects/ui/src/lib/components/po-divider/samples/sample-po-divider-user-detail/sample-po-divider-user-detail.component.ts +++ b/projects/ui/src/lib/components/po-divider/samples/sample-po-divider-user-detail/sample-po-divider-user-detail.component.ts @@ -4,8 +4,9 @@ import { Router } from '@angular/router'; import { PoBreadcrumb } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-divider-user-detail', - templateUrl: './sample-po-divider-user-detail.component.html' + selector: 'sample-po-divider-user-detail', + templateUrl: './sample-po-divider-user-detail.component.html', + standalone: false }) export class SamplePoDividerUserDetailComponent { birthDate: string = '26/12/1978'; diff --git a/projects/ui/src/lib/components/po-dropdown/po-dropdown.component.ts b/projects/ui/src/lib/components/po-dropdown/po-dropdown.component.ts index 047d1ea467..25fdbab946 100644 --- a/projects/ui/src/lib/components/po-dropdown/po-dropdown.component.ts +++ b/projects/ui/src/lib/components/po-dropdown/po-dropdown.component.ts @@ -27,9 +27,10 @@ import { PoDropdownBaseComponent } from './po-dropdown-base.component'; * */ @Component({ - selector: 'po-dropdown', - templateUrl: './po-dropdown.component.html', - changeDetection: ChangeDetectionStrategy.OnPush + selector: 'po-dropdown', + templateUrl: './po-dropdown.component.html', + changeDetection: ChangeDetectionStrategy.OnPush, + standalone: false }) export class PoDropdownComponent extends PoDropdownBaseComponent { @ViewChild('dropdownRef', { read: ElementRef, static: true }) dropdownRef: ElementRef; diff --git a/projects/ui/src/lib/components/po-dropdown/samples/sample-po-dropdown-basic/sample-po-dropdown-basic.component.ts b/projects/ui/src/lib/components/po-dropdown/samples/sample-po-dropdown-basic/sample-po-dropdown-basic.component.ts index 751a71c687..d84a5c87a6 100644 --- a/projects/ui/src/lib/components/po-dropdown/samples/sample-po-dropdown-basic/sample-po-dropdown-basic.component.ts +++ b/projects/ui/src/lib/components/po-dropdown/samples/sample-po-dropdown-basic/sample-po-dropdown-basic.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-dropdown-basic', - templateUrl: './sample-po-dropdown-basic.component.html' + selector: 'sample-po-dropdown-basic', + templateUrl: './sample-po-dropdown-basic.component.html', + standalone: false }) export class SamplePoDropdownBasicComponent {} diff --git a/projects/ui/src/lib/components/po-dropdown/samples/sample-po-dropdown-labs/sample-po-dropdown-labs.component.ts b/projects/ui/src/lib/components/po-dropdown/samples/sample-po-dropdown-labs/sample-po-dropdown-labs.component.ts index e0352c5c1c..c75b5d5dbc 100644 --- a/projects/ui/src/lib/components/po-dropdown/samples/sample-po-dropdown-labs/sample-po-dropdown-labs.component.ts +++ b/projects/ui/src/lib/components/po-dropdown/samples/sample-po-dropdown-labs/sample-po-dropdown-labs.component.ts @@ -3,8 +3,9 @@ import { Component, OnInit } from '@angular/core'; import { PoCheckboxGroupOption, PoSelectOption, PoDropdownAction, PoNotificationService } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-dropdown-labs', - templateUrl: './sample-po-dropdown-labs.component.html' + selector: 'sample-po-dropdown-labs', + templateUrl: './sample-po-dropdown-labs.component.html', + standalone: false }) export class SamplePoDropdownLabsComponent implements OnInit { action: PoDropdownAction; diff --git a/projects/ui/src/lib/components/po-dropdown/samples/sample-po-dropdown-social-network/sample-po-dropdown-social-network.component.ts b/projects/ui/src/lib/components/po-dropdown/samples/sample-po-dropdown-social-network/sample-po-dropdown-social-network.component.ts index 5897f511ca..f3f2d430bd 100644 --- a/projects/ui/src/lib/components/po-dropdown/samples/sample-po-dropdown-social-network/sample-po-dropdown-social-network.component.ts +++ b/projects/ui/src/lib/components/po-dropdown/samples/sample-po-dropdown-social-network/sample-po-dropdown-social-network.component.ts @@ -3,8 +3,9 @@ import { Component, OnInit } from '@angular/core'; import { PoNotificationService } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-dropdown-social-network', - templateUrl: './sample-po-dropdown-social-network.component.html' + selector: 'sample-po-dropdown-social-network', + templateUrl: './sample-po-dropdown-social-network.component.html', + standalone: false }) export class SamplePoDropdownSocialNetworkComponent implements OnInit { currentFriend: object; diff --git a/projects/ui/src/lib/components/po-dynamic/po-dynamic-container/po-dynamic-container.component.ts b/projects/ui/src/lib/components/po-dynamic/po-dynamic-container/po-dynamic-container.component.ts index 4392bad140..98b2ddf5dc 100644 --- a/projects/ui/src/lib/components/po-dynamic/po-dynamic-container/po-dynamic-container.component.ts +++ b/projects/ui/src/lib/components/po-dynamic/po-dynamic-container/po-dynamic-container.component.ts @@ -1,8 +1,9 @@ import { Component, Input, TemplateRef } from '@angular/core'; @Component({ - selector: 'po-dynamic-container', - templateUrl: './po-dynamic-container.component.html' + selector: 'po-dynamic-container', + templateUrl: './po-dynamic-container.component.html', + standalone: false }) export class PoDynamicContainerComponent { @Input('p-content') content: TemplateRef | any; diff --git a/projects/ui/src/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-fields/po-dynamic-form-fields.component.ts b/projects/ui/src/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-fields/po-dynamic-form-fields.component.ts index 1a638ee295..e3e88135da 100644 --- a/projects/ui/src/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-fields/po-dynamic-form-fields.component.ts +++ b/projects/ui/src/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-fields/po-dynamic-form-fields.component.ts @@ -15,10 +15,11 @@ import { PoDynamicFormFieldsBaseComponent } from './po-dynamic-form-fields-base. * Componente de criação dos campos dinâmicos. */ @Component({ - selector: 'po-dynamic-form-fields', - templateUrl: 'po-dynamic-form-fields.component.html', - viewProviders: [{ provide: ControlContainer, useExisting: NgForm }], - providers: [PoDynamicFormValidationService] + selector: 'po-dynamic-form-fields', + templateUrl: 'po-dynamic-form-fields.component.html', + viewProviders: [{ provide: ControlContainer, useExisting: NgForm }], + providers: [PoDynamicFormValidationService], + standalone: false }) export class PoDynamicFormFieldsComponent extends PoDynamicFormFieldsBaseComponent implements OnChanges { @ViewChildren('component') components: QueryList<{ name: string; focus: () => void }>; diff --git a/projects/ui/src/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form.component.ts b/projects/ui/src/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form.component.ts index a553e38876..3b9f31a72e 100644 --- a/projects/ui/src/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form.component.ts +++ b/projects/ui/src/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form.component.ts @@ -35,8 +35,9 @@ import { PoDynamicFormValidationService } from './po-dynamic-form-validation/po- */ @Component({ - selector: 'po-dynamic-form', - templateUrl: './po-dynamic-form.component.html' + selector: 'po-dynamic-form', + templateUrl: './po-dynamic-form.component.html', + standalone: false }) export class PoDynamicFormComponent extends PoDynamicFormBaseComponent implements OnInit, OnDestroy { @ViewChild('fieldsComponent') fieldsComponent: { focus: (property: string) => void; updatePreviousValue: () => void }; diff --git a/projects/ui/src/lib/components/po-dynamic/po-dynamic-form/samples/sample-po-dynamic-form-basic/sample-po-dynamic-form-basic.component.ts b/projects/ui/src/lib/components/po-dynamic/po-dynamic-form/samples/sample-po-dynamic-form-basic/sample-po-dynamic-form-basic.component.ts index dd11365cf3..0f52eb0e36 100644 --- a/projects/ui/src/lib/components/po-dynamic/po-dynamic-form/samples/sample-po-dynamic-form-basic/sample-po-dynamic-form-basic.component.ts +++ b/projects/ui/src/lib/components/po-dynamic/po-dynamic-form/samples/sample-po-dynamic-form-basic/sample-po-dynamic-form-basic.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-dynamic-form-basic', - templateUrl: './sample-po-dynamic-form-basic.component.html' + selector: 'sample-po-dynamic-form-basic', + templateUrl: './sample-po-dynamic-form-basic.component.html', + standalone: false }) export class SamplePoDynamicFormBasicComponent {} diff --git a/projects/ui/src/lib/components/po-dynamic/po-dynamic-form/samples/sample-po-dynamic-form-container/sample-po-dynamic-form-container.component.ts b/projects/ui/src/lib/components/po-dynamic/po-dynamic-form/samples/sample-po-dynamic-form-container/sample-po-dynamic-form-container.component.ts index d48427a140..bc7b2401b8 100644 --- a/projects/ui/src/lib/components/po-dynamic/po-dynamic-form/samples/sample-po-dynamic-form-container/sample-po-dynamic-form-container.component.ts +++ b/projects/ui/src/lib/components/po-dynamic/po-dynamic-form/samples/sample-po-dynamic-form-container/sample-po-dynamic-form-container.component.ts @@ -10,9 +10,10 @@ import { import { PoDynamicFormContainerService } from './sample-po-dynamic-form-container.service'; @Component({ - selector: 'sample-po-dynamic-form-container', - templateUrl: './sample-po-dynamic-form-container.component.html', - providers: [PoDynamicFormContainerService] + selector: 'sample-po-dynamic-form-container', + templateUrl: './sample-po-dynamic-form-container.component.html', + providers: [PoDynamicFormContainerService], + standalone: false }) export class SamplePoDynamicFormContainerComponent implements OnInit { person = {}; diff --git a/projects/ui/src/lib/components/po-dynamic/po-dynamic-form/samples/sample-po-dynamic-form-register/sample-po-dynamic-form-register.component.ts b/projects/ui/src/lib/components/po-dynamic/po-dynamic-form/samples/sample-po-dynamic-form-register/sample-po-dynamic-form-register.component.ts index 8135fd4e26..a01deaa877 100644 --- a/projects/ui/src/lib/components/po-dynamic/po-dynamic-form/samples/sample-po-dynamic-form-register/sample-po-dynamic-form-register.component.ts +++ b/projects/ui/src/lib/components/po-dynamic/po-dynamic-form/samples/sample-po-dynamic-form-register/sample-po-dynamic-form-register.component.ts @@ -10,9 +10,10 @@ import { import { PoDynamicFormRegisterService } from './sample-po-dynamic-form-register.service'; @Component({ - selector: 'sample-po-dynamic-form-register', - templateUrl: './sample-po-dynamic-form-register.component.html', - providers: [PoDynamicFormRegisterService] + selector: 'sample-po-dynamic-form-register', + templateUrl: './sample-po-dynamic-form-register.component.html', + providers: [PoDynamicFormRegisterService], + standalone: false }) export class SamplePoDynamicFormRegisterComponent implements OnInit { person = {}; diff --git a/projects/ui/src/lib/components/po-dynamic/po-dynamic-view/po-dynamic-view.component.ts b/projects/ui/src/lib/components/po-dynamic/po-dynamic-view/po-dynamic-view.component.ts index 731d884a79..6d5636ba97 100644 --- a/projects/ui/src/lib/components/po-dynamic/po-dynamic-view/po-dynamic-view.component.ts +++ b/projects/ui/src/lib/components/po-dynamic/po-dynamic-view/po-dynamic-view.component.ts @@ -36,8 +36,9 @@ import { PoMultiselectFilterService } from '../../po-field/po-multiselect/po-mul * */ @Component({ - selector: 'po-dynamic-view', - templateUrl: './po-dynamic-view.component.html' + selector: 'po-dynamic-view', + templateUrl: './po-dynamic-view.component.html', + standalone: false }) export class PoDynamicViewComponent extends PoDynamicViewBaseComponent implements OnChanges, OnInit { initChanges; diff --git a/projects/ui/src/lib/components/po-dynamic/po-dynamic-view/samples/sample-po-dynamic-view-basic/sample-po-dynamic-view-basic.component.ts b/projects/ui/src/lib/components/po-dynamic/po-dynamic-view/samples/sample-po-dynamic-view-basic/sample-po-dynamic-view-basic.component.ts index d4226b6528..2058ad53fa 100644 --- a/projects/ui/src/lib/components/po-dynamic/po-dynamic-view/samples/sample-po-dynamic-view-basic/sample-po-dynamic-view-basic.component.ts +++ b/projects/ui/src/lib/components/po-dynamic/po-dynamic-view/samples/sample-po-dynamic-view-basic/sample-po-dynamic-view-basic.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-dynamic-view-basic', - templateUrl: './sample-po-dynamic-view-basic.component.html' + selector: 'sample-po-dynamic-view-basic', + templateUrl: './sample-po-dynamic-view-basic.component.html', + standalone: false }) export class SamplePoDynamicViewBasicComponent {} diff --git a/projects/ui/src/lib/components/po-dynamic/po-dynamic-view/samples/sample-po-dynamic-view-container/sample-po-dynamic-view-container.component.ts b/projects/ui/src/lib/components/po-dynamic/po-dynamic-view/samples/sample-po-dynamic-view-container/sample-po-dynamic-view-container.component.ts index 7ea3928cfd..4daa25b368 100644 --- a/projects/ui/src/lib/components/po-dynamic/po-dynamic-view/samples/sample-po-dynamic-view-container/sample-po-dynamic-view-container.component.ts +++ b/projects/ui/src/lib/components/po-dynamic/po-dynamic-view/samples/sample-po-dynamic-view-container/sample-po-dynamic-view-container.component.ts @@ -2,8 +2,9 @@ import { Component } from '@angular/core'; import { PoDynamicViewField } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-dynamic-view-container', - templateUrl: './sample-po-dynamic-view-container.component.html' + selector: 'sample-po-dynamic-view-container', + templateUrl: './sample-po-dynamic-view-container.component.html', + standalone: false }) export class SamplePoDynamicViewContainerComponent { fields: Array = [ diff --git a/projects/ui/src/lib/components/po-dynamic/po-dynamic-view/samples/sample-po-dynamic-view-employee-on-load/sample-po-dynamic-view-employee-on-load.component.ts b/projects/ui/src/lib/components/po-dynamic/po-dynamic-view/samples/sample-po-dynamic-view-employee-on-load/sample-po-dynamic-view-employee-on-load.component.ts index a142832c28..0109098bd4 100644 --- a/projects/ui/src/lib/components/po-dynamic/po-dynamic-view/samples/sample-po-dynamic-view-employee-on-load/sample-po-dynamic-view-employee-on-load.component.ts +++ b/projects/ui/src/lib/components/po-dynamic/po-dynamic-view/samples/sample-po-dynamic-view-employee-on-load/sample-po-dynamic-view-employee-on-load.component.ts @@ -4,9 +4,10 @@ import { PoDynamicViewField } from '@po-ui/ng-components'; import { SamplePoDynamicViewEmployeeOnLoadService } from './sample-po-dynamic-view-employee-on-load.service'; @Component({ - selector: 'sample-po-dynamic-view-employee-on-load', - templateUrl: './sample-po-dynamic-view-employee-on-load.component.html', - providers: [SamplePoDynamicViewEmployeeOnLoadService] + selector: 'sample-po-dynamic-view-employee-on-load', + templateUrl: './sample-po-dynamic-view-employee-on-load.component.html', + providers: [SamplePoDynamicViewEmployeeOnLoadService], + standalone: false }) export class SamplePoDynamicViewEmployeeOnLoadComponent implements OnInit { employee = { diff --git a/projects/ui/src/lib/components/po-dynamic/po-dynamic-view/samples/sample-po-dynamic-view-employee/sample-po-dynamic-view-employee.component.ts b/projects/ui/src/lib/components/po-dynamic/po-dynamic-view/samples/sample-po-dynamic-view-employee/sample-po-dynamic-view-employee.component.ts index 6b0e4cf397..d04604d543 100644 --- a/projects/ui/src/lib/components/po-dynamic/po-dynamic-view/samples/sample-po-dynamic-view-employee/sample-po-dynamic-view-employee.component.ts +++ b/projects/ui/src/lib/components/po-dynamic/po-dynamic-view/samples/sample-po-dynamic-view-employee/sample-po-dynamic-view-employee.component.ts @@ -3,8 +3,9 @@ import { Component } from '@angular/core'; import { PoDynamicViewField } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-dynamic-view-employee', - templateUrl: './sample-po-dynamic-view-employee.component.html' + selector: 'sample-po-dynamic-view-employee', + templateUrl: './sample-po-dynamic-view-employee.component.html', + standalone: false }) export class SamplePoDynamicViewEmployeeComponent { fields: Array = [ diff --git a/projects/ui/src/lib/components/po-field/po-checkbox-group/po-checkbox-group.component.ts b/projects/ui/src/lib/components/po-field/po-checkbox-group/po-checkbox-group.component.ts index 1f4b560a5f..203e497d2b 100644 --- a/projects/ui/src/lib/components/po-field/po-checkbox-group/po-checkbox-group.component.ts +++ b/projects/ui/src/lib/components/po-field/po-checkbox-group/po-checkbox-group.component.ts @@ -37,21 +37,22 @@ import { PoCheckboxGroupBaseComponent } from './po-checkbox-group-base.component * */ @Component({ - selector: 'po-checkbox-group', - templateUrl: './po-checkbox-group.component.html', - changeDetection: ChangeDetectionStrategy.OnPush, - providers: [ - { - provide: NG_VALUE_ACCESSOR, - useExisting: forwardRef(() => PoCheckboxGroupComponent), - multi: true - }, - { - provide: NG_VALIDATORS, - useExisting: forwardRef(() => PoCheckboxGroupComponent), - multi: true - } - ] + selector: 'po-checkbox-group', + templateUrl: './po-checkbox-group.component.html', + changeDetection: ChangeDetectionStrategy.OnPush, + providers: [ + { + provide: NG_VALUE_ACCESSOR, + useExisting: forwardRef(() => PoCheckboxGroupComponent), + multi: true + }, + { + provide: NG_VALIDATORS, + useExisting: forwardRef(() => PoCheckboxGroupComponent), + multi: true + } + ], + standalone: false }) export class PoCheckboxGroupComponent extends PoCheckboxGroupBaseComponent implements AfterViewChecked, AfterViewInit { @ViewChildren('checkboxLabel') checkboxLabels: QueryList; diff --git a/projects/ui/src/lib/components/po-field/po-checkbox-group/samples/sample-po-checkbox-group-basic/sample-po-checkbox-group-basic.component.ts b/projects/ui/src/lib/components/po-field/po-checkbox-group/samples/sample-po-checkbox-group-basic/sample-po-checkbox-group-basic.component.ts index ee14525f26..fe6540af29 100644 --- a/projects/ui/src/lib/components/po-field/po-checkbox-group/samples/sample-po-checkbox-group-basic/sample-po-checkbox-group-basic.component.ts +++ b/projects/ui/src/lib/components/po-field/po-checkbox-group/samples/sample-po-checkbox-group-basic/sample-po-checkbox-group-basic.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-checkbox-group-basic', - templateUrl: './sample-po-checkbox-group-basic.component.html' + selector: 'sample-po-checkbox-group-basic', + templateUrl: './sample-po-checkbox-group-basic.component.html', + standalone: false }) export class SamplePoCheckboxGroupBasicComponent {} diff --git a/projects/ui/src/lib/components/po-field/po-checkbox-group/samples/sample-po-checkbox-group-labs/sample-po-checkbox-group-labs.component.ts b/projects/ui/src/lib/components/po-field/po-checkbox-group/samples/sample-po-checkbox-group-labs/sample-po-checkbox-group-labs.component.ts index d04ffd3eb6..46c8969835 100644 --- a/projects/ui/src/lib/components/po-field/po-checkbox-group/samples/sample-po-checkbox-group-labs/sample-po-checkbox-group-labs.component.ts +++ b/projects/ui/src/lib/components/po-field/po-checkbox-group/samples/sample-po-checkbox-group-labs/sample-po-checkbox-group-labs.component.ts @@ -3,8 +3,9 @@ import { Component, OnInit } from '@angular/core'; import { PoCheckboxGroupOption, PoRadioGroupOption } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-checkbox-group-labs', - templateUrl: './sample-po-checkbox-group-labs.component.html' + selector: 'sample-po-checkbox-group-labs', + templateUrl: './sample-po-checkbox-group-labs.component.html', + standalone: false }) export class SamplePoCheckboxGroupLabsComponent implements OnInit { checkboxGroup: object; diff --git a/projects/ui/src/lib/components/po-field/po-checkbox-group/samples/sample-po-checkbox-group-password-policy/sample-po-checkbox-group-password-policy.component.ts b/projects/ui/src/lib/components/po-field/po-checkbox-group/samples/sample-po-checkbox-group-password-policy/sample-po-checkbox-group-password-policy.component.ts index 820d96f0f4..723d527e49 100644 --- a/projects/ui/src/lib/components/po-field/po-checkbox-group/samples/sample-po-checkbox-group-password-policy/sample-po-checkbox-group-password-policy.component.ts +++ b/projects/ui/src/lib/components/po-field/po-checkbox-group/samples/sample-po-checkbox-group-password-policy/sample-po-checkbox-group-password-policy.component.ts @@ -5,8 +5,9 @@ import { PoCheckboxGroupOption } from '@po-ui/ng-components'; import { PoNotificationService } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-checkbox-group-password-policy', - templateUrl: './sample-po-checkbox-group-password-policy.component.html' + selector: 'sample-po-checkbox-group-password-policy', + templateUrl: './sample-po-checkbox-group-password-policy.component.html', + standalone: false }) export class SamplePoCheckboxGroupPasswordPolicyComponent { attempts: number; diff --git a/projects/ui/src/lib/components/po-field/po-checkbox/po-checkbox.component.ts b/projects/ui/src/lib/components/po-field/po-checkbox/po-checkbox.component.ts index dad77ad814..cf3f747418 100644 --- a/projects/ui/src/lib/components/po-field/po-checkbox/po-checkbox.component.ts +++ b/projects/ui/src/lib/components/po-field/po-checkbox/po-checkbox.component.ts @@ -37,16 +37,17 @@ import { PoCheckboxBaseComponent } from './po-checkbox-base.component'; * */ @Component({ - selector: 'po-checkbox', - templateUrl: './po-checkbox.component.html', - changeDetection: ChangeDetectionStrategy.OnPush, - providers: [ - { - provide: NG_VALUE_ACCESSOR, - useExisting: forwardRef(() => PoCheckboxComponent), - multi: true - } - ] + selector: 'po-checkbox', + templateUrl: './po-checkbox.component.html', + changeDetection: ChangeDetectionStrategy.OnPush, + providers: [ + { + provide: NG_VALUE_ACCESSOR, + useExisting: forwardRef(() => PoCheckboxComponent), + multi: true + } + ], + standalone: false }) export class PoCheckboxComponent extends PoCheckboxBaseComponent implements AfterViewInit { private _iconToken: { [key: string]: string }; diff --git a/projects/ui/src/lib/components/po-field/po-checkbox/samples/sample-po-checkbox-acceptance-term/sample-po-checkbox-acceptance-term.component.ts b/projects/ui/src/lib/components/po-field/po-checkbox/samples/sample-po-checkbox-acceptance-term/sample-po-checkbox-acceptance-term.component.ts index e69e3a5dbf..22ba16ea1e 100644 --- a/projects/ui/src/lib/components/po-field/po-checkbox/samples/sample-po-checkbox-acceptance-term/sample-po-checkbox-acceptance-term.component.ts +++ b/projects/ui/src/lib/components/po-field/po-checkbox/samples/sample-po-checkbox-acceptance-term/sample-po-checkbox-acceptance-term.component.ts @@ -3,8 +3,9 @@ import { Component, ViewChild } from '@angular/core'; import { PoModalAction, PoModalComponent } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-checkbox-acceptance-term', - templateUrl: './sample-po-checkbox-acceptance-term.component.html' + selector: 'sample-po-checkbox-acceptance-term', + templateUrl: './sample-po-checkbox-acceptance-term.component.html', + standalone: false }) export class SamplePoCheckboxAcceptanceTermComponent { @ViewChild(PoModalComponent, { static: true }) modalTerm: PoModalComponent; diff --git a/projects/ui/src/lib/components/po-field/po-checkbox/samples/sample-po-checkbox-basic/sample-po-checkbox-basic.component.ts b/projects/ui/src/lib/components/po-field/po-checkbox/samples/sample-po-checkbox-basic/sample-po-checkbox-basic.component.ts index d3db09866e..f6ea5f43d2 100644 --- a/projects/ui/src/lib/components/po-field/po-checkbox/samples/sample-po-checkbox-basic/sample-po-checkbox-basic.component.ts +++ b/projects/ui/src/lib/components/po-field/po-checkbox/samples/sample-po-checkbox-basic/sample-po-checkbox-basic.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-checkbox-basic', - templateUrl: './sample-po-checkbox-basic.component.html' + selector: 'sample-po-checkbox-basic', + templateUrl: './sample-po-checkbox-basic.component.html', + standalone: false }) export class SamplePoCheckboxBasicComponent {} diff --git a/projects/ui/src/lib/components/po-field/po-checkbox/samples/sample-po-checkbox-labs/sample-po-checkbox-labs.component.ts b/projects/ui/src/lib/components/po-field/po-checkbox/samples/sample-po-checkbox-labs/sample-po-checkbox-labs.component.ts index 8bfd1c9f22..3a01f11c34 100644 --- a/projects/ui/src/lib/components/po-field/po-checkbox/samples/sample-po-checkbox-labs/sample-po-checkbox-labs.component.ts +++ b/projects/ui/src/lib/components/po-field/po-checkbox/samples/sample-po-checkbox-labs/sample-po-checkbox-labs.component.ts @@ -1,8 +1,9 @@ import { Component, OnInit } from '@angular/core'; @Component({ - selector: 'sample-po-checkbox-labs', - templateUrl: './sample-po-checkbox-labs.component.html' + selector: 'sample-po-checkbox-labs', + templateUrl: './sample-po-checkbox-labs.component.html', + standalone: false }) export class SamplePoCheckboxLabsComponent implements OnInit { checkbox: boolean | null; diff --git a/projects/ui/src/lib/components/po-field/po-clean/po-clean.component.ts b/projects/ui/src/lib/components/po-field/po-clean/po-clean.component.ts index a5ee3dbd0a..fecd5a6d1b 100644 --- a/projects/ui/src/lib/components/po-field/po-clean/po-clean.component.ts +++ b/projects/ui/src/lib/components/po-field/po-clean/po-clean.component.ts @@ -15,8 +15,9 @@ import { PoCleanBaseComponent } from './po-clean-base.component'; * */ @Component({ - selector: 'po-clean', - templateUrl: './po-clean.component.html' + selector: 'po-clean', + templateUrl: './po-clean.component.html', + standalone: false }) export class PoCleanComponent extends PoCleanBaseComponent { setInputValue(value?: string) { diff --git a/projects/ui/src/lib/components/po-field/po-clean/samples/sample-po-clean-labs.component.ts b/projects/ui/src/lib/components/po-field/po-clean/samples/sample-po-clean-labs.component.ts index 0f32dbcb40..a09bb77414 100644 --- a/projects/ui/src/lib/components/po-field/po-clean/samples/sample-po-clean-labs.component.ts +++ b/projects/ui/src/lib/components/po-field/po-clean/samples/sample-po-clean-labs.component.ts @@ -1,8 +1,9 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-clean-labs', - templateUrl: './sample-po-clean-labs.component.html' + selector: 'sample-po-clean-labs', + templateUrl: './sample-po-clean-labs.component.html', + standalone: false }) export class SamplePoCleanLabsComponent { fieldValue: string; diff --git a/projects/ui/src/lib/components/po-field/po-combo/po-combo-option-template/po-combo-option-template.directive.ts b/projects/ui/src/lib/components/po-field/po-combo/po-combo-option-template/po-combo-option-template.directive.ts index e826d0eafc..76f49529a5 100644 --- a/projects/ui/src/lib/components/po-field/po-combo/po-combo-option-template/po-combo-option-template.directive.ts +++ b/projects/ui/src/lib/components/po-field/po-combo/po-combo-option-template/po-combo-option-template.directive.ts @@ -66,7 +66,8 @@ import { Directive, TemplateRef } from '@angular/core'; * ``` */ @Directive({ - selector: '[p-combo-option-template]' + selector: '[p-combo-option-template]', + standalone: false }) export class PoComboOptionTemplateDirective { // Necessário manter templateRef para o funcionamento do row template. diff --git a/projects/ui/src/lib/components/po-field/po-combo/po-combo.component.ts b/projects/ui/src/lib/components/po-field/po-combo/po-combo.component.ts index 49ff698f51..4ba4be1034 100644 --- a/projects/ui/src/lib/components/po-field/po-combo/po-combo.component.ts +++ b/projects/ui/src/lib/components/po-field/po-combo/po-combo.component.ts @@ -81,23 +81,24 @@ const poComboContainerPositionDefault = 'bottom'; * */ @Component({ - selector: 'po-combo', - templateUrl: './po-combo.component.html', - changeDetection: ChangeDetectionStrategy.OnPush, - providers: [ - PoComboFilterService, - PoControlPositionService, - { - provide: NG_VALUE_ACCESSOR, - useExisting: forwardRef(() => PoComboComponent), - multi: true - }, - { - provide: NG_VALIDATORS, - useExisting: forwardRef(() => PoComboComponent), - multi: true - } - ] + selector: 'po-combo', + templateUrl: './po-combo.component.html', + changeDetection: ChangeDetectionStrategy.OnPush, + providers: [ + PoComboFilterService, + PoControlPositionService, + { + provide: NG_VALUE_ACCESSOR, + useExisting: forwardRef(() => PoComboComponent), + multi: true + }, + { + provide: NG_VALIDATORS, + useExisting: forwardRef(() => PoComboComponent), + multi: true + } + ], + standalone: false }) export class PoComboComponent extends PoComboBaseComponent implements AfterViewInit, OnChanges, OnDestroy { @ContentChild(PoComboOptionTemplateDirective, { static: true }) comboOptionTemplate: PoComboOptionTemplateDirective; diff --git a/projects/ui/src/lib/components/po-field/po-combo/samples/sample-po-combo-basic/sample-po-combo-basic.component.ts b/projects/ui/src/lib/components/po-field/po-combo/samples/sample-po-combo-basic/sample-po-combo-basic.component.ts index b30b79f4cf..48e1f8a024 100644 --- a/projects/ui/src/lib/components/po-field/po-combo/samples/sample-po-combo-basic/sample-po-combo-basic.component.ts +++ b/projects/ui/src/lib/components/po-field/po-combo/samples/sample-po-combo-basic/sample-po-combo-basic.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-combo-basic', - templateUrl: './sample-po-combo-basic.component.html' + selector: 'sample-po-combo-basic', + templateUrl: './sample-po-combo-basic.component.html', + standalone: false }) export class SamplePoComboBasicComponent {} diff --git a/projects/ui/src/lib/components/po-field/po-combo/samples/sample-po-combo-heroes-reactive-form/sample-po-combo-heroes-reactive-form.component.ts b/projects/ui/src/lib/components/po-field/po-combo/samples/sample-po-combo-heroes-reactive-form/sample-po-combo-heroes-reactive-form.component.ts index 16b7e4a363..0b4bb3f9fe 100644 --- a/projects/ui/src/lib/components/po-field/po-combo/samples/sample-po-combo-heroes-reactive-form/sample-po-combo-heroes-reactive-form.component.ts +++ b/projects/ui/src/lib/components/po-field/po-combo/samples/sample-po-combo-heroes-reactive-form/sample-po-combo-heroes-reactive-form.component.ts @@ -5,8 +5,9 @@ import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms import { Observable } from 'rxjs'; @Component({ - selector: 'sample-po-combo-heroes-reactive-form', - templateUrl: './sample-po-combo-heroes-reactive-form.component.html' + selector: 'sample-po-combo-heroes-reactive-form', + templateUrl: './sample-po-combo-heroes-reactive-form.component.html', + standalone: false }) export class SamplePoComboHeroesReactiveFormComponent implements OnInit { form: UntypedFormGroup; diff --git a/projects/ui/src/lib/components/po-field/po-combo/samples/sample-po-combo-heroes/sample-po-combo-heroes.component.ts b/projects/ui/src/lib/components/po-field/po-combo/samples/sample-po-combo-heroes/sample-po-combo-heroes.component.ts index 92c07f8f56..3cb8975d26 100644 --- a/projects/ui/src/lib/components/po-field/po-combo/samples/sample-po-combo-heroes/sample-po-combo-heroes.component.ts +++ b/projects/ui/src/lib/components/po-field/po-combo/samples/sample-po-combo-heroes/sample-po-combo-heroes.component.ts @@ -4,8 +4,9 @@ import { Component } from '@angular/core'; import { Observable } from 'rxjs'; @Component({ - selector: 'sample-po-combo-heroes', - templateUrl: './sample-po-combo-heroes.component.html' + selector: 'sample-po-combo-heroes', + templateUrl: './sample-po-combo-heroes.component.html', + standalone: false }) export class SamplePoComboHeroesComponent { hero$: Observable; diff --git a/projects/ui/src/lib/components/po-field/po-combo/samples/sample-po-combo-hotels/sample-po-combo-hotels.component.ts b/projects/ui/src/lib/components/po-field/po-combo/samples/sample-po-combo-hotels/sample-po-combo-hotels.component.ts index 94d097a23d..5f7693299d 100644 --- a/projects/ui/src/lib/components/po-field/po-combo/samples/sample-po-combo-hotels/sample-po-combo-hotels.component.ts +++ b/projects/ui/src/lib/components/po-field/po-combo/samples/sample-po-combo-hotels/sample-po-combo-hotels.component.ts @@ -4,8 +4,9 @@ import { NgForm } from '@angular/forms'; import { PoDatepickerComponent, PoNotificationService, PoSelectOption } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-combo-hotels', - templateUrl: './sample-po-combo-hotels.component.html' + selector: 'sample-po-combo-hotels', + templateUrl: './sample-po-combo-hotels.component.html', + standalone: false }) export class SamplePoComboHotelsComponent { @ViewChild('bookingForm', { static: true }) form: NgForm; diff --git a/projects/ui/src/lib/components/po-field/po-combo/samples/sample-po-combo-infinity-scroll/sample-po-combo-infinity-scroll.component.ts b/projects/ui/src/lib/components/po-field/po-combo/samples/sample-po-combo-infinity-scroll/sample-po-combo-infinity-scroll.component.ts index 4b7d2ed334..1ff6447dbb 100644 --- a/projects/ui/src/lib/components/po-field/po-combo/samples/sample-po-combo-infinity-scroll/sample-po-combo-infinity-scroll.component.ts +++ b/projects/ui/src/lib/components/po-field/po-combo/samples/sample-po-combo-infinity-scroll/sample-po-combo-infinity-scroll.component.ts @@ -3,8 +3,9 @@ import { Component } from '@angular/core'; import { Observable } from 'rxjs'; @Component({ - selector: 'sample-po-combo-infinity-scroll', - templateUrl: './sample-po-combo-infinity-scroll.component.html' + selector: 'sample-po-combo-infinity-scroll', + templateUrl: './sample-po-combo-infinity-scroll.component.html', + standalone: false }) export class SamplePoComboInfinityScrollComponent { peopleName: string; diff --git a/projects/ui/src/lib/components/po-field/po-combo/samples/sample-po-combo-labs/sample-po-combo-labs.component.ts b/projects/ui/src/lib/components/po-field/po-combo/samples/sample-po-combo-labs/sample-po-combo-labs.component.ts index 7692ae3209..9919377b92 100644 --- a/projects/ui/src/lib/components/po-field/po-combo/samples/sample-po-combo-labs/sample-po-combo-labs.component.ts +++ b/projects/ui/src/lib/components/po-field/po-combo/samples/sample-po-combo-labs/sample-po-combo-labs.component.ts @@ -10,8 +10,9 @@ import { } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-combo-labs', - templateUrl: './sample-po-combo-labs.component.html' + selector: 'sample-po-combo-labs', + templateUrl: './sample-po-combo-labs.component.html', + standalone: false }) export class SamplePoComboLabsComponent implements OnInit { combo: string; diff --git a/projects/ui/src/lib/components/po-field/po-combo/samples/sample-po-combo-scheduling/sample-po-combo-scheduling.component.ts b/projects/ui/src/lib/components/po-field/po-combo/samples/sample-po-combo-scheduling/sample-po-combo-scheduling.component.ts index 31f51c5ee4..86afe1f2f4 100644 --- a/projects/ui/src/lib/components/po-field/po-combo/samples/sample-po-combo-scheduling/sample-po-combo-scheduling.component.ts +++ b/projects/ui/src/lib/components/po-field/po-combo/samples/sample-po-combo-scheduling/sample-po-combo-scheduling.component.ts @@ -5,9 +5,10 @@ import { PoComboOption, PoComboOptionGroup, PoNotificationService, PoSelectOptio import { SamplePoComboSchedulingService } from './sample-po-combo-scheduling.service'; @Component({ - selector: 'sample-po-combo-scheduling', - templateUrl: './sample-po-combo-scheduling.component.html', - providers: [SamplePoComboSchedulingService] + selector: 'sample-po-combo-scheduling', + templateUrl: './sample-po-combo-scheduling.component.html', + providers: [SamplePoComboSchedulingService], + standalone: false }) export class SamplePoComboSchedulingComponent implements OnInit { @ViewChild('schedulingForm', { static: true }) form: NgForm; diff --git a/projects/ui/src/lib/components/po-field/po-combo/samples/sample-po-combo-transfer/sample-po-combo-transfer.component.ts b/projects/ui/src/lib/components/po-field/po-combo/samples/sample-po-combo-transfer/sample-po-combo-transfer.component.ts index b452043a3e..6aabec8290 100644 --- a/projects/ui/src/lib/components/po-field/po-combo/samples/sample-po-combo-transfer/sample-po-combo-transfer.component.ts +++ b/projects/ui/src/lib/components/po-field/po-combo/samples/sample-po-combo-transfer/sample-po-combo-transfer.component.ts @@ -4,8 +4,9 @@ import { NgForm } from '@angular/forms'; import { PoModalAction, PoModalComponent, PoNotificationService, PoSelectOption } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-combo-transfer', - templateUrl: './sample-po-combo-transfer.component.html' + selector: 'sample-po-combo-transfer', + templateUrl: './sample-po-combo-transfer.component.html', + standalone: false }) export class SamplePoComboTransferComponent { @ViewChild('transferForm', { static: true }) form: NgForm; diff --git a/projects/ui/src/lib/components/po-field/po-datepicker-range/samples/sample-po-datepicker-range-basic/sample-po-datepicker-range-basic.component.ts b/projects/ui/src/lib/components/po-field/po-datepicker-range/samples/sample-po-datepicker-range-basic/sample-po-datepicker-range-basic.component.ts index 7564e65d18..7d048d3adf 100644 --- a/projects/ui/src/lib/components/po-field/po-datepicker-range/samples/sample-po-datepicker-range-basic/sample-po-datepicker-range-basic.component.ts +++ b/projects/ui/src/lib/components/po-field/po-datepicker-range/samples/sample-po-datepicker-range-basic/sample-po-datepicker-range-basic.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-datepicker-range-basic', - templateUrl: './sample-po-datepicker-range-basic.component.html' + selector: 'sample-po-datepicker-range-basic', + templateUrl: './sample-po-datepicker-range-basic.component.html', + standalone: false }) export class SamplePoDatepickerRangeBasicComponent {} diff --git a/projects/ui/src/lib/components/po-field/po-datepicker-range/samples/sample-po-datepicker-range-labs/sample-po-datepicker-range-labs.component.ts b/projects/ui/src/lib/components/po-field/po-datepicker-range/samples/sample-po-datepicker-range-labs/sample-po-datepicker-range-labs.component.ts index 1160a3e918..3fd3aca58d 100644 --- a/projects/ui/src/lib/components/po-field/po-datepicker-range/samples/sample-po-datepicker-range-labs/sample-po-datepicker-range-labs.component.ts +++ b/projects/ui/src/lib/components/po-field/po-datepicker-range/samples/sample-po-datepicker-range-labs/sample-po-datepicker-range-labs.component.ts @@ -8,8 +8,9 @@ import { } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-datepicker-range-labs', - templateUrl: './sample-po-datepicker-range-labs.component.html' + selector: 'sample-po-datepicker-range-labs', + templateUrl: './sample-po-datepicker-range-labs.component.html', + standalone: false }) export class SamplePoDatepickerRangeLabsComponent implements OnInit { clean: boolean; diff --git a/projects/ui/src/lib/components/po-field/po-datepicker-range/samples/sample-po-datepicker-range-vacations-reactive-form/sample-po-datepicker-range-vacations-reactive-form.component.ts b/projects/ui/src/lib/components/po-field/po-datepicker-range/samples/sample-po-datepicker-range-vacations-reactive-form/sample-po-datepicker-range-vacations-reactive-form.component.ts index 08b3807438..953a41e47f 100644 --- a/projects/ui/src/lib/components/po-field/po-datepicker-range/samples/sample-po-datepicker-range-vacations-reactive-form/sample-po-datepicker-range-vacations-reactive-form.component.ts +++ b/projects/ui/src/lib/components/po-field/po-datepicker-range/samples/sample-po-datepicker-range-vacations-reactive-form/sample-po-datepicker-range-vacations-reactive-form.component.ts @@ -4,8 +4,9 @@ import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms import { PoDatepickerRange, PoModalAction, PoModalComponent, PoNotificationService } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-datepicker-range-vacations-reactive-form', - templateUrl: './sample-po-datepicker-range-vacations-reactive-form.component.html' + selector: 'sample-po-datepicker-range-vacations-reactive-form', + templateUrl: './sample-po-datepicker-range-vacations-reactive-form.component.html', + standalone: false }) export class SamplePoDatepickerRangeVacationsReactiveFormComponent implements OnInit { @ViewChild(PoModalComponent, { static: true }) poModal: PoModalComponent; diff --git a/projects/ui/src/lib/components/po-field/po-datepicker-range/samples/sample-po-datepicker-range-vacations/sample-po-datepicker-range-vacations.component.ts b/projects/ui/src/lib/components/po-field/po-datepicker-range/samples/sample-po-datepicker-range-vacations/sample-po-datepicker-range-vacations.component.ts index 09f5ae24cf..cabea29ab5 100644 --- a/projects/ui/src/lib/components/po-field/po-datepicker-range/samples/sample-po-datepicker-range-vacations/sample-po-datepicker-range-vacations.component.ts +++ b/projects/ui/src/lib/components/po-field/po-datepicker-range/samples/sample-po-datepicker-range-vacations/sample-po-datepicker-range-vacations.component.ts @@ -4,8 +4,9 @@ import { UntypedFormControl } from '@angular/forms'; import { PoDatepickerRange, PoModalAction, PoModalComponent, PoNotificationService } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-datepicker-range-vacations', - templateUrl: './sample-po-datepicker-range-vacations.component.html' + selector: 'sample-po-datepicker-range-vacations', + templateUrl: './sample-po-datepicker-range-vacations.component.html', + standalone: false }) export class SamplePoDatepickerRangeVacationsComponent { @ViewChild('formVacationSuggestion', { static: true }) formVacationSuggestion: UntypedFormControl; diff --git a/projects/ui/src/lib/components/po-field/po-datepicker/po-datepicker.component.spec.ts b/projects/ui/src/lib/components/po-field/po-datepicker/po-datepicker.component.spec.ts index 1f17ca7c7f..eed425a09c 100644 --- a/projects/ui/src/lib/components/po-field/po-datepicker/po-datepicker.component.spec.ts +++ b/projects/ui/src/lib/components/po-field/po-datepicker/po-datepicker.component.spec.ts @@ -225,11 +225,12 @@ describe('PoDatepickerComponent:', () => { }); @Component({ - template: ` + template: `
- ` + `, + standalone: false }) class ContentProjectionComponent { value = new Date().toISOString(); diff --git a/projects/ui/src/lib/components/po-field/po-datepicker/po-datepicker.component.ts b/projects/ui/src/lib/components/po-field/po-datepicker/po-datepicker.component.ts index 0f7057c575..6ba07e6e56 100644 --- a/projects/ui/src/lib/components/po-field/po-datepicker/po-datepicker.component.ts +++ b/projects/ui/src/lib/components/po-field/po-datepicker/po-datepicker.component.ts @@ -62,22 +62,23 @@ const poCalendarPositionDefault = 'bottom-left'; * */ @Component({ - selector: 'po-datepicker', - templateUrl: './po-datepicker.component.html', - providers: [ - { - provide: NG_VALUE_ACCESSOR, - useExisting: forwardRef(() => PoDatepickerComponent), - multi: true - }, - { - provide: NG_VALIDATORS, - useExisting: forwardRef(() => PoDatepickerComponent), - multi: true - }, - PoControlPositionService - ], - changeDetection: ChangeDetectionStrategy.OnPush + selector: 'po-datepicker', + templateUrl: './po-datepicker.component.html', + providers: [ + { + provide: NG_VALUE_ACCESSOR, + useExisting: forwardRef(() => PoDatepickerComponent), + multi: true + }, + { + provide: NG_VALIDATORS, + useExisting: forwardRef(() => PoDatepickerComponent), + multi: true + }, + PoControlPositionService + ], + changeDetection: ChangeDetectionStrategy.OnPush, + standalone: false }) export class PoDatepickerComponent extends PoDatepickerBaseComponent implements AfterViewInit, OnDestroy { @ViewChild('calendar', { static: true }) calendar: PoCalendarComponent; diff --git a/projects/ui/src/lib/components/po-field/po-datepicker/samples/sample-po-datepicker-airfare-reactive-form/sample-po-datepicker-airfare-reactive-form.component.ts b/projects/ui/src/lib/components/po-field/po-datepicker/samples/sample-po-datepicker-airfare-reactive-form/sample-po-datepicker-airfare-reactive-form.component.ts index 71fde6e75a..eae3cfd0de 100644 --- a/projects/ui/src/lib/components/po-field/po-datepicker/samples/sample-po-datepicker-airfare-reactive-form/sample-po-datepicker-airfare-reactive-form.component.ts +++ b/projects/ui/src/lib/components/po-field/po-datepicker/samples/sample-po-datepicker-airfare-reactive-form/sample-po-datepicker-airfare-reactive-form.component.ts @@ -4,8 +4,9 @@ import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms import { PoDialogService, PoNotificationService, PoSelectOption } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-datepicker-airfare-reactive-form', - templateUrl: './sample-po-datepicker-airfare-reactive-form.component.html' + selector: 'sample-po-datepicker-airfare-reactive-form', + templateUrl: './sample-po-datepicker-airfare-reactive-form.component.html', + standalone: false }) export class SamplePoDatepickerAirfareReactiveFormComponent implements OnInit { formAirfare: UntypedFormGroup; diff --git a/projects/ui/src/lib/components/po-field/po-datepicker/samples/sample-po-datepicker-airfare/sample-po-datepicker-airfare.component.ts b/projects/ui/src/lib/components/po-field/po-datepicker/samples/sample-po-datepicker-airfare/sample-po-datepicker-airfare.component.ts index 8af0a65b9b..2d8cb53583 100644 --- a/projects/ui/src/lib/components/po-field/po-datepicker/samples/sample-po-datepicker-airfare/sample-po-datepicker-airfare.component.ts +++ b/projects/ui/src/lib/components/po-field/po-datepicker/samples/sample-po-datepicker-airfare/sample-po-datepicker-airfare.component.ts @@ -4,8 +4,9 @@ import { UntypedFormControl } from '@angular/forms'; import { PoDialogService, PoNotificationService, PoSelectOption } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-datepicker-airfare', - templateUrl: './sample-po-datepicker-airfare.component.html' + selector: 'sample-po-datepicker-airfare', + templateUrl: './sample-po-datepicker-airfare.component.html', + standalone: false }) export class SamplePoDatepickerAirfareComponent { @ViewChild('formAirfare', { static: true }) formAirfare: UntypedFormControl; diff --git a/projects/ui/src/lib/components/po-field/po-datepicker/samples/sample-po-datepicker-basic/sample-po-datepicker-basic.component.ts b/projects/ui/src/lib/components/po-field/po-datepicker/samples/sample-po-datepicker-basic/sample-po-datepicker-basic.component.ts index e7412a7b0b..2612ac9eb8 100644 --- a/projects/ui/src/lib/components/po-field/po-datepicker/samples/sample-po-datepicker-basic/sample-po-datepicker-basic.component.ts +++ b/projects/ui/src/lib/components/po-field/po-datepicker/samples/sample-po-datepicker-basic/sample-po-datepicker-basic.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-datepicker-basic', - templateUrl: './sample-po-datepicker-basic.component.html' + selector: 'sample-po-datepicker-basic', + templateUrl: './sample-po-datepicker-basic.component.html', + standalone: false }) export class SamplePoDatepickerBasicComponent {} diff --git a/projects/ui/src/lib/components/po-field/po-datepicker/samples/sample-po-datepicker-labs/sample-po-datepicker-labs.component.ts b/projects/ui/src/lib/components/po-field/po-datepicker/samples/sample-po-datepicker-labs/sample-po-datepicker-labs.component.ts index 449854eb28..c94ff5ba54 100644 --- a/projects/ui/src/lib/components/po-field/po-datepicker/samples/sample-po-datepicker-labs/sample-po-datepicker-labs.component.ts +++ b/projects/ui/src/lib/components/po-field/po-datepicker/samples/sample-po-datepicker-labs/sample-po-datepicker-labs.component.ts @@ -3,8 +3,9 @@ import { Component, OnInit } from '@angular/core'; import { PoCheckboxGroupOption, PoDatepickerIsoFormat, PoRadioGroupOption } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-datepicker-labs', - templateUrl: './sample-po-datepicker-labs.component.html' + selector: 'sample-po-datepicker-labs', + templateUrl: './sample-po-datepicker-labs.component.html', + standalone: false }) export class SamplePoDatepickerLabsComponent implements OnInit { datepicker: string | Date; diff --git a/projects/ui/src/lib/components/po-field/po-decimal/po-decimal.component.ts b/projects/ui/src/lib/components/po-field/po-decimal/po-decimal.component.ts index bb729d39d2..dda125dd56 100644 --- a/projects/ui/src/lib/components/po-field/po-decimal/po-decimal.component.ts +++ b/projects/ui/src/lib/components/po-field/po-decimal/po-decimal.component.ts @@ -64,21 +64,22 @@ const poDecimalTotalLengthLimit = 16; * */ @Component({ - selector: 'po-decimal', - templateUrl: './po-decimal.component.html', - changeDetection: ChangeDetectionStrategy.OnPush, - providers: [ - { - provide: NG_VALUE_ACCESSOR, - useExisting: forwardRef(() => PoDecimalComponent), - multi: true - }, - { - provide: NG_VALIDATORS, - useExisting: forwardRef(() => PoDecimalComponent), - multi: true - } - ] + selector: 'po-decimal', + templateUrl: './po-decimal.component.html', + changeDetection: ChangeDetectionStrategy.OnPush, + providers: [ + { + provide: NG_VALUE_ACCESSOR, + useExisting: forwardRef(() => PoDecimalComponent), + multi: true + }, + { + provide: NG_VALIDATORS, + useExisting: forwardRef(() => PoDecimalComponent), + multi: true + } + ], + standalone: false }) export class PoDecimalComponent extends PoInputBaseComponent implements AfterViewInit, OnInit, OnDestroy { @ViewChild('inp', { read: ElementRef, static: true }) inputEl: ElementRef; diff --git a/projects/ui/src/lib/components/po-field/po-decimal/samples/sample-po-decimal-basic/sample-po-decimal-basic.component.ts b/projects/ui/src/lib/components/po-field/po-decimal/samples/sample-po-decimal-basic/sample-po-decimal-basic.component.ts index 5f1e229a4d..e149dab2d0 100644 --- a/projects/ui/src/lib/components/po-field/po-decimal/samples/sample-po-decimal-basic/sample-po-decimal-basic.component.ts +++ b/projects/ui/src/lib/components/po-field/po-decimal/samples/sample-po-decimal-basic/sample-po-decimal-basic.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-decimal-basic', - templateUrl: './sample-po-decimal-basic.component.html' + selector: 'sample-po-decimal-basic', + templateUrl: './sample-po-decimal-basic.component.html', + standalone: false }) export class SamplePoDecimalBasicComponent {} diff --git a/projects/ui/src/lib/components/po-field/po-decimal/samples/sample-po-decimal-hourly-wage-reactive-form/sample-po-decimal-hourly-wage-reactive-form.component.ts b/projects/ui/src/lib/components/po-field/po-decimal/samples/sample-po-decimal-hourly-wage-reactive-form/sample-po-decimal-hourly-wage-reactive-form.component.ts index 146ad7cba1..ce9931ae3e 100644 --- a/projects/ui/src/lib/components/po-field/po-decimal/samples/sample-po-decimal-hourly-wage-reactive-form/sample-po-decimal-hourly-wage-reactive-form.component.ts +++ b/projects/ui/src/lib/components/po-field/po-decimal/samples/sample-po-decimal-hourly-wage-reactive-form/sample-po-decimal-hourly-wage-reactive-form.component.ts @@ -2,8 +2,9 @@ import { Component, OnInit } from '@angular/core'; import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms'; @Component({ - selector: 'sample-po-decimal-hourly-wage-reactive-form', - templateUrl: './sample-po-decimal-hourly-wage-reactive-form.component.html' + selector: 'sample-po-decimal-hourly-wage-reactive-form', + templateUrl: './sample-po-decimal-hourly-wage-reactive-form.component.html', + standalone: false }) export class SamplePoDecimalHourlyWageReactiveFormComponent implements OnInit { formCalculateHourlyWage: UntypedFormGroup; diff --git a/projects/ui/src/lib/components/po-field/po-decimal/samples/sample-po-decimal-hourly-wage/sample-po-decimal-hourly-wage.component.ts b/projects/ui/src/lib/components/po-field/po-decimal/samples/sample-po-decimal-hourly-wage/sample-po-decimal-hourly-wage.component.ts index 195dfbb222..aecb9ccedb 100644 --- a/projects/ui/src/lib/components/po-field/po-decimal/samples/sample-po-decimal-hourly-wage/sample-po-decimal-hourly-wage.component.ts +++ b/projects/ui/src/lib/components/po-field/po-decimal/samples/sample-po-decimal-hourly-wage/sample-po-decimal-hourly-wage.component.ts @@ -1,8 +1,9 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-decimal-hourly-wage', - templateUrl: './sample-po-decimal-hourly-wage.component.html' + selector: 'sample-po-decimal-hourly-wage', + templateUrl: './sample-po-decimal-hourly-wage.component.html', + standalone: false }) export class SamplePoDecimalHourlyWageComponent { hourlyWage: number; diff --git a/projects/ui/src/lib/components/po-field/po-decimal/samples/sample-po-decimal-labs/sample-po-decimal-labs.component.ts b/projects/ui/src/lib/components/po-field/po-decimal/samples/sample-po-decimal-labs/sample-po-decimal-labs.component.ts index d0f7146529..495db1dcb0 100644 --- a/projects/ui/src/lib/components/po-field/po-decimal/samples/sample-po-decimal-labs/sample-po-decimal-labs.component.ts +++ b/projects/ui/src/lib/components/po-field/po-decimal/samples/sample-po-decimal-labs/sample-po-decimal-labs.component.ts @@ -3,8 +3,9 @@ import { Component, OnInit } from '@angular/core'; import { PoCheckboxGroupOption, PoSelectOption } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-decimal-labs', - templateUrl: './sample-po-decimal-labs.component.html' + selector: 'sample-po-decimal-labs', + templateUrl: './sample-po-decimal-labs.component.html', + standalone: false }) export class SamplePoDecimalLabsComponent implements OnInit { decimal: number; diff --git a/projects/ui/src/lib/components/po-field/po-email/samples/sample-po-email-basic/sample-po-email-basic.component.ts b/projects/ui/src/lib/components/po-field/po-email/samples/sample-po-email-basic/sample-po-email-basic.component.ts index 436b0c6f9d..67aecb4781 100644 --- a/projects/ui/src/lib/components/po-field/po-email/samples/sample-po-email-basic/sample-po-email-basic.component.ts +++ b/projects/ui/src/lib/components/po-field/po-email/samples/sample-po-email-basic/sample-po-email-basic.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-email-basic', - templateUrl: './sample-po-email-basic.component.html' + selector: 'sample-po-email-basic', + templateUrl: './sample-po-email-basic.component.html', + standalone: false }) export class SamplePoEmailBasicComponent {} diff --git a/projects/ui/src/lib/components/po-field/po-email/samples/sample-po-email-labs/sample-po-email-labs.component.ts b/projects/ui/src/lib/components/po-field/po-email/samples/sample-po-email-labs/sample-po-email-labs.component.ts index b6856b8501..f9c49c7b15 100644 --- a/projects/ui/src/lib/components/po-field/po-email/samples/sample-po-email-labs/sample-po-email-labs.component.ts +++ b/projects/ui/src/lib/components/po-field/po-email/samples/sample-po-email-labs/sample-po-email-labs.component.ts @@ -3,8 +3,9 @@ import { Component, OnInit } from '@angular/core'; import { PoCheckboxGroupOption } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-email-labs', - templateUrl: './sample-po-email-labs.component.html' + selector: 'sample-po-email-labs', + templateUrl: './sample-po-email-labs.component.html', + standalone: false }) export class SamplePoEmailLabsComponent implements OnInit { email: string; diff --git a/projects/ui/src/lib/components/po-field/po-email/samples/sample-po-email-newsletter/sample-po-email-newsletter.component.ts b/projects/ui/src/lib/components/po-field/po-email/samples/sample-po-email-newsletter/sample-po-email-newsletter.component.ts index 86c81f17ce..e71d0b968a 100644 --- a/projects/ui/src/lib/components/po-field/po-email/samples/sample-po-email-newsletter/sample-po-email-newsletter.component.ts +++ b/projects/ui/src/lib/components/po-field/po-email/samples/sample-po-email-newsletter/sample-po-email-newsletter.component.ts @@ -3,8 +3,9 @@ import { Component } from '@angular/core'; import { PoDialogService } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-email-newsletter', - templateUrl: './sample-po-email-newsletter.component.html' + selector: 'sample-po-email-newsletter', + templateUrl: './sample-po-email-newsletter.component.html', + standalone: false }) export class SamplePoEmailNewsletterComponent { email: string = ''; diff --git a/projects/ui/src/lib/components/po-field/po-field-container/po-field-container-bottom/po-field-container-bottom.component.ts b/projects/ui/src/lib/components/po-field/po-field-container/po-field-container-bottom/po-field-container-bottom.component.ts index 6c0328bbb0..a0eb73018d 100644 --- a/projects/ui/src/lib/components/po-field/po-field-container/po-field-container-bottom/po-field-container-bottom.component.ts +++ b/projects/ui/src/lib/components/po-field/po-field-container/po-field-container-bottom/po-field-container-bottom.component.ts @@ -9,9 +9,10 @@ import { ChangeDetectionStrategy, Component, Input } from '@angular/core'; * Essa margem inferior pode conter uma mensagem de erro. */ @Component({ - selector: 'po-field-container-bottom', - templateUrl: './po-field-container-bottom.component.html', - changeDetection: ChangeDetectionStrategy.OnPush + selector: 'po-field-container-bottom', + templateUrl: './po-field-container-bottom.component.html', + changeDetection: ChangeDetectionStrategy.OnPush, + standalone: false }) export class PoFieldContainerBottomComponent { /** diff --git a/projects/ui/src/lib/components/po-field/po-field-container/po-field-container.component.ts b/projects/ui/src/lib/components/po-field/po-field-container/po-field-container.component.ts index d7a20ba366..0db893421e 100644 --- a/projects/ui/src/lib/components/po-field/po-field-container/po-field-container.component.ts +++ b/projects/ui/src/lib/components/po-field/po-field-container/po-field-container.component.ts @@ -10,9 +10,10 @@ import { poFieldContainerLiterals } from './po-field-container-literals'; * Componente de uso interno, responsável por atribuir uma label para o campo */ @Component({ - selector: 'po-field-container', - templateUrl: './po-field-container.component.html', - changeDetection: ChangeDetectionStrategy.OnPush + selector: 'po-field-container', + templateUrl: './po-field-container.component.html', + changeDetection: ChangeDetectionStrategy.OnPush, + standalone: false }) export class PoFieldContainerComponent implements OnInit, OnChanges { /** Indica se o campo será desabilitado. */ diff --git a/projects/ui/src/lib/components/po-field/po-input-generic/po-input-generic.spec.ts b/projects/ui/src/lib/components/po-field/po-input-generic/po-input-generic.spec.ts index aa2ba29681..11a84a54ef 100644 --- a/projects/ui/src/lib/components/po-field/po-input-generic/po-input-generic.spec.ts +++ b/projects/ui/src/lib/components/po-field/po-input-generic/po-input-generic.spec.ts @@ -9,10 +9,11 @@ import { PoInputGeneric } from './po-input-generic'; import { of, Subscription } from 'rxjs'; @Component({ - template: ` + template: ` - ` + `, + standalone: false }) class ContentProjectionComponent extends PoInputGeneric { constructor(el: ElementRef) { diff --git a/projects/ui/src/lib/components/po-field/po-input/po-input.component.ts b/projects/ui/src/lib/components/po-field/po-input/po-input.component.ts index eab4791b0a..af6354275c 100644 --- a/projects/ui/src/lib/components/po-field/po-input/po-input.component.ts +++ b/projects/ui/src/lib/components/po-field/po-input/po-input.component.ts @@ -33,21 +33,22 @@ import { PoInputGeneric } from '../po-input-generic/po-input-generic'; * */ @Component({ - selector: 'po-input', - templateUrl: './po-input.component.html', - providers: [ - { - provide: NG_VALUE_ACCESSOR, - useExisting: forwardRef(() => PoInputComponent), - multi: true - }, - { - provide: NG_VALIDATORS, - useExisting: forwardRef(() => PoInputComponent), - multi: true - } - ], - changeDetection: ChangeDetectionStrategy.OnPush + selector: 'po-input', + templateUrl: './po-input.component.html', + providers: [ + { + provide: NG_VALUE_ACCESSOR, + useExisting: forwardRef(() => PoInputComponent), + multi: true + }, + { + provide: NG_VALIDATORS, + useExisting: forwardRef(() => PoInputComponent), + multi: true + } + ], + changeDetection: ChangeDetectionStrategy.OnPush, + standalone: false }) export class PoInputComponent extends PoInputGeneric { @ViewChild('inp', { static: true }) inp: ElementRef; diff --git a/projects/ui/src/lib/components/po-field/po-input/samples/sample-po-input-basic/sample-po-input-basic.component.ts b/projects/ui/src/lib/components/po-field/po-input/samples/sample-po-input-basic/sample-po-input-basic.component.ts index bf1fa2d88b..3e7e4000da 100644 --- a/projects/ui/src/lib/components/po-field/po-input/samples/sample-po-input-basic/sample-po-input-basic.component.ts +++ b/projects/ui/src/lib/components/po-field/po-input/samples/sample-po-input-basic/sample-po-input-basic.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-input-basic', - templateUrl: './sample-po-input-basic.component.html' + selector: 'sample-po-input-basic', + templateUrl: './sample-po-input-basic.component.html', + standalone: false }) export class SamplePoInputBasicComponent {} diff --git a/projects/ui/src/lib/components/po-field/po-input/samples/sample-po-input-labs/sample-po-input-labs.component.ts b/projects/ui/src/lib/components/po-field/po-input/samples/sample-po-input-labs/sample-po-input-labs.component.ts index a2e4c501bf..f27d9a4577 100644 --- a/projects/ui/src/lib/components/po-field/po-input/samples/sample-po-input-labs/sample-po-input-labs.component.ts +++ b/projects/ui/src/lib/components/po-field/po-input/samples/sample-po-input-labs/sample-po-input-labs.component.ts @@ -3,8 +3,9 @@ import { Component, OnInit } from '@angular/core'; import { PoCheckboxGroupOption, PoSelectOption } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-input-labs', - templateUrl: './sample-po-input-labs.component.html' + selector: 'sample-po-input-labs', + templateUrl: './sample-po-input-labs.component.html', + standalone: false }) export class SamplePoInputLabsComponent implements OnInit { input: string; diff --git a/projects/ui/src/lib/components/po-field/po-input/samples/sample-po-input-reactive-form/sample-po-input-reactive-form.component.ts b/projects/ui/src/lib/components/po-field/po-input/samples/sample-po-input-reactive-form/sample-po-input-reactive-form.component.ts index 95f0e42898..1ae59bd5b0 100644 --- a/projects/ui/src/lib/components/po-field/po-input/samples/sample-po-input-reactive-form/sample-po-input-reactive-form.component.ts +++ b/projects/ui/src/lib/components/po-field/po-input/samples/sample-po-input-reactive-form/sample-po-input-reactive-form.component.ts @@ -4,8 +4,9 @@ import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms import { PoModalAction, PoModalComponent } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-input-reactive-form', - templateUrl: './sample-po-input-reactive-form.component.html' + selector: 'sample-po-input-reactive-form', + templateUrl: './sample-po-input-reactive-form.component.html', + standalone: false }) export class SamplePoInputReactiveFormComponent { @ViewChild('reactiveFormData', { static: true }) reactiveFormModal: PoModalComponent; diff --git a/projects/ui/src/lib/components/po-field/po-login/samples/sample-po-login-basic/sample-po-login-basic.component.ts b/projects/ui/src/lib/components/po-field/po-login/samples/sample-po-login-basic/sample-po-login-basic.component.ts index 11b11a6fd3..463fb675c7 100644 --- a/projects/ui/src/lib/components/po-field/po-login/samples/sample-po-login-basic/sample-po-login-basic.component.ts +++ b/projects/ui/src/lib/components/po-field/po-login/samples/sample-po-login-basic/sample-po-login-basic.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-login-basic', - templateUrl: './sample-po-login-basic.component.html' + selector: 'sample-po-login-basic', + templateUrl: './sample-po-login-basic.component.html', + standalone: false }) export class SamplePoLoginBasicComponent {} diff --git a/projects/ui/src/lib/components/po-field/po-login/samples/sample-po-login-confirm/sample-po-login-confirm.component.ts b/projects/ui/src/lib/components/po-field/po-login/samples/sample-po-login-confirm/sample-po-login-confirm.component.ts index 836407a9f4..bc70421395 100644 --- a/projects/ui/src/lib/components/po-field/po-login/samples/sample-po-login-confirm/sample-po-login-confirm.component.ts +++ b/projects/ui/src/lib/components/po-field/po-login/samples/sample-po-login-confirm/sample-po-login-confirm.component.ts @@ -4,8 +4,9 @@ import { PoModalAction, PoModalComponent } from '@po-ui/ng-components'; import { PoNotificationService } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-login-confirm', - templateUrl: './sample-po-login-confirm.component.html' + selector: 'sample-po-login-confirm', + templateUrl: './sample-po-login-confirm.component.html', + standalone: false }) export class SamplePoLoginConfirmComponent { @ViewChild(PoModalComponent, { static: true }) poModal: PoModalComponent; diff --git a/projects/ui/src/lib/components/po-field/po-login/samples/sample-po-login-labs/sample-po-login-labs.component.ts b/projects/ui/src/lib/components/po-field/po-login/samples/sample-po-login-labs/sample-po-login-labs.component.ts index 22733b6401..344d48a8c7 100644 --- a/projects/ui/src/lib/components/po-field/po-login/samples/sample-po-login-labs/sample-po-login-labs.component.ts +++ b/projects/ui/src/lib/components/po-field/po-login/samples/sample-po-login-labs/sample-po-login-labs.component.ts @@ -3,8 +3,9 @@ import { Component, OnInit } from '@angular/core'; import { PoCheckboxGroupOption } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-login-labs', - templateUrl: './sample-po-login-labs.component.html' + selector: 'sample-po-login-labs', + templateUrl: './sample-po-login-labs.component.html', + standalone: false }) export class SamplePoLoginLabsComponent implements OnInit { errorPattern: string; diff --git a/projects/ui/src/lib/components/po-field/po-lookup/po-lookup-modal/po-lookup-modal.component.ts b/projects/ui/src/lib/components/po-field/po-lookup/po-lookup-modal/po-lookup-modal.component.ts index c5859f7645..28266f4a06 100644 --- a/projects/ui/src/lib/components/po-field/po-lookup/po-lookup-modal/po-lookup-modal.component.ts +++ b/projects/ui/src/lib/components/po-field/po-lookup/po-lookup-modal/po-lookup-modal.component.ts @@ -24,9 +24,10 @@ import { sortArrayOfObjects } from '../../../../utils/util'; * @docsExtends PoLookupModalBaseComponent */ @Component({ - selector: 'po-lookup-modal', - templateUrl: './po-lookup-modal.component.html', - changeDetection: ChangeDetectionStrategy.OnPush + selector: 'po-lookup-modal', + templateUrl: './po-lookup-modal.component.html', + changeDetection: ChangeDetectionStrategy.OnPush, + standalone: false }) export class PoLookupModalComponent extends PoLookupModalBaseComponent implements OnInit { @ViewChild('inpsearch') inputSearchEl: ElementRef; diff --git a/projects/ui/src/lib/components/po-field/po-lookup/samples/sample-po-lookup-basic/sample-po-lookup-basic.component.ts b/projects/ui/src/lib/components/po-field/po-lookup/samples/sample-po-lookup-basic/sample-po-lookup-basic.component.ts index 0721a7de04..2ca11f4ed3 100644 --- a/projects/ui/src/lib/components/po-field/po-lookup/samples/sample-po-lookup-basic/sample-po-lookup-basic.component.ts +++ b/projects/ui/src/lib/components/po-field/po-lookup/samples/sample-po-lookup-basic/sample-po-lookup-basic.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-lookup-basic', - templateUrl: './sample-po-lookup-basic.component.html' + selector: 'sample-po-lookup-basic', + templateUrl: './sample-po-lookup-basic.component.html', + standalone: false }) export class SamplePoLookupBasicComponent {} diff --git a/projects/ui/src/lib/components/po-field/po-lookup/samples/sample-po-lookup-hero-reactive-form/sample-po-lookup-hero-reactive-form.component.ts b/projects/ui/src/lib/components/po-field/po-lookup/samples/sample-po-lookup-hero-reactive-form/sample-po-lookup-hero-reactive-form.component.ts index 57830fd420..8250f1e6c3 100644 --- a/projects/ui/src/lib/components/po-field/po-lookup/samples/sample-po-lookup-hero-reactive-form/sample-po-lookup-hero-reactive-form.component.ts +++ b/projects/ui/src/lib/components/po-field/po-lookup/samples/sample-po-lookup-hero-reactive-form/sample-po-lookup-hero-reactive-form.component.ts @@ -8,9 +8,10 @@ import { PoNotificationService } from '@po-ui/ng-components'; import { SamplePoLookupService } from '../sample-po-lookup.service'; @Component({ - selector: 'sample-po-lookup-hero-reactive-form', - templateUrl: './sample-po-lookup-hero-reactive-form.component.html', - providers: [SamplePoLookupService] + selector: 'sample-po-lookup-hero-reactive-form', + templateUrl: './sample-po-lookup-hero-reactive-form.component.html', + providers: [SamplePoLookupService], + standalone: false }) export class SamplePoLookupHeroReactiveFormComponent implements OnInit { formMission: UntypedFormGroup; diff --git a/projects/ui/src/lib/components/po-field/po-lookup/samples/sample-po-lookup-hero/sample-po-lookup-hero.component.ts b/projects/ui/src/lib/components/po-field/po-lookup/samples/sample-po-lookup-hero/sample-po-lookup-hero.component.ts index f117383581..3b6ff6f489 100644 --- a/projects/ui/src/lib/components/po-field/po-lookup/samples/sample-po-lookup-hero/sample-po-lookup-hero.component.ts +++ b/projects/ui/src/lib/components/po-field/po-lookup/samples/sample-po-lookup-hero/sample-po-lookup-hero.component.ts @@ -7,9 +7,10 @@ import { PoNotificationService, PoDynamicFormField } from '@po-ui/ng-components' import { SamplePoLookupService } from '../sample-po-lookup.service'; @Component({ - selector: 'sample-po-lookup-hero', - templateUrl: './sample-po-lookup-hero.component.html', - providers: [SamplePoLookupService] + selector: 'sample-po-lookup-hero', + templateUrl: './sample-po-lookup-hero.component.html', + providers: [SamplePoLookupService], + standalone: false }) export class SamplePoLookupHeroComponent { hero: string; diff --git a/projects/ui/src/lib/components/po-field/po-lookup/samples/sample-po-lookup-labs/sample-po-lookup-labs.component.ts b/projects/ui/src/lib/components/po-field/po-lookup/samples/sample-po-lookup-labs/sample-po-lookup-labs.component.ts index aefa1ae75a..12140fd6b1 100644 --- a/projects/ui/src/lib/components/po-field/po-lookup/samples/sample-po-lookup-labs/sample-po-lookup-labs.component.ts +++ b/projects/ui/src/lib/components/po-field/po-lookup/samples/sample-po-lookup-labs/sample-po-lookup-labs.component.ts @@ -14,9 +14,10 @@ import { import { SamplePoLookupService } from '../sample-po-lookup.service'; @Component({ - selector: 'sample-po-lookup-labs', - templateUrl: './sample-po-lookup-labs.component.html', - providers: [SamplePoLookupService] + selector: 'sample-po-lookup-labs', + templateUrl: './sample-po-lookup-labs.component.html', + providers: [SamplePoLookupService], + standalone: false }) export class SamplePoLookupLabsComponent implements OnInit { columns: Array; diff --git a/projects/ui/src/lib/components/po-field/po-lookup/samples/sample-po-lookup-multiple/sample-po-lookup-multiple.component.ts b/projects/ui/src/lib/components/po-field/po-lookup/samples/sample-po-lookup-multiple/sample-po-lookup-multiple.component.ts index 575450b1c2..6bdcae0fa9 100644 --- a/projects/ui/src/lib/components/po-field/po-lookup/samples/sample-po-lookup-multiple/sample-po-lookup-multiple.component.ts +++ b/projects/ui/src/lib/components/po-field/po-lookup/samples/sample-po-lookup-multiple/sample-po-lookup-multiple.component.ts @@ -4,9 +4,10 @@ import { PoTableColumn } from '@po-ui/ng-components'; import { SamplePoLookupMultipleService } from './sample-po-lookup-multiple.service'; @Component({ - selector: 'sample-po-lookup-multiple', - templateUrl: './sample-po-lookup-multiple.component.html', - styles: [] + selector: 'sample-po-lookup-multiple', + templateUrl: './sample-po-lookup-multiple.component.html', + styles: [], + standalone: false }) export class SamplePoLookupMultipleComponent { loading: boolean = false; diff --git a/projects/ui/src/lib/components/po-field/po-lookup/samples/sample-po-lookup-sw-films/sample-po-lookup-sw-films.component.ts b/projects/ui/src/lib/components/po-field/po-lookup/samples/sample-po-lookup-sw-films/sample-po-lookup-sw-films.component.ts index be02e2ada0..3927893ced 100644 --- a/projects/ui/src/lib/components/po-field/po-lookup/samples/sample-po-lookup-sw-films/sample-po-lookup-sw-films.component.ts +++ b/projects/ui/src/lib/components/po-field/po-lookup/samples/sample-po-lookup-sw-films/sample-po-lookup-sw-films.component.ts @@ -3,9 +3,10 @@ import { PoRadioGroupOption } from '@po-ui/ng-components'; import { SamplePoLookupSwFilmsService } from './sample-po-lookup-sw-films.service'; @Component({ - selector: 'sample-po-lookup-sw-films', - templateUrl: './sample-po-lookup-sw-films.component.html', - providers: [SamplePoLookupSwFilmsService] + selector: 'sample-po-lookup-sw-films', + templateUrl: './sample-po-lookup-sw-films.component.html', + providers: [SamplePoLookupSwFilmsService], + standalone: false }) export class SamplePoLookupSwFilmsComponent implements OnInit { entity; diff --git a/projects/ui/src/lib/components/po-field/po-multiselect/po-multiselect-dropdown/po-multiselect-dropdown.component.ts b/projects/ui/src/lib/components/po-field/po-multiselect/po-multiselect-dropdown/po-multiselect-dropdown.component.ts index aeb518530e..ca4f9a4f4c 100644 --- a/projects/ui/src/lib/components/po-field/po-multiselect/po-multiselect-dropdown/po-multiselect-dropdown.component.ts +++ b/projects/ui/src/lib/components/po-field/po-multiselect/po-multiselect-dropdown/po-multiselect-dropdown.component.ts @@ -22,9 +22,10 @@ import { PoListBoxComponent } from './../../../po-listbox/po-listbox.component'; * Componente que construíra o dropdown, contendo o campo de pesquisa e os itens para seleção. */ @Component({ - selector: 'po-multiselect-dropdown', - templateUrl: './po-multiselect-dropdown.component.html', - changeDetection: ChangeDetectionStrategy.OnPush + selector: 'po-multiselect-dropdown', + templateUrl: './po-multiselect-dropdown.component.html', + changeDetection: ChangeDetectionStrategy.OnPush, + standalone: false }) export class PoMultiselectDropdownComponent { /** Propriedade que indica se deve exibir o loading. */ diff --git a/projects/ui/src/lib/components/po-field/po-multiselect/po-multiselect-option-template/po-multiselect-option-template.directive.ts b/projects/ui/src/lib/components/po-field/po-multiselect/po-multiselect-option-template/po-multiselect-option-template.directive.ts index 572139e2fe..6cd467805e 100644 --- a/projects/ui/src/lib/components/po-field/po-multiselect/po-multiselect-option-template/po-multiselect-option-template.directive.ts +++ b/projects/ui/src/lib/components/po-field/po-multiselect/po-multiselect-option-template/po-multiselect-option-template.directive.ts @@ -32,7 +32,8 @@ import { Directive, TemplateRef } from '@angular/core'; * */ @Directive({ - selector: '[p-multiselect-option-template]' + selector: '[p-multiselect-option-template]', + standalone: false }) export class PoMultiselectOptionTemplateDirective { // Necessário manter templateRef para o funcionamento do row template. diff --git a/projects/ui/src/lib/components/po-field/po-multiselect/samples/sample-po-multiselect-any-array/sample-po-multiselect-any-array.component.ts b/projects/ui/src/lib/components/po-field/po-multiselect/samples/sample-po-multiselect-any-array/sample-po-multiselect-any-array.component.ts index 8338780c48..00d386d763 100644 --- a/projects/ui/src/lib/components/po-field/po-multiselect/samples/sample-po-multiselect-any-array/sample-po-multiselect-any-array.component.ts +++ b/projects/ui/src/lib/components/po-field/po-multiselect/samples/sample-po-multiselect-any-array/sample-po-multiselect-any-array.component.ts @@ -3,8 +3,9 @@ import { Component, OnInit } from '@angular/core'; import { PoSelectOption } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-multiselect-any-array', - templateUrl: './sample-po-multiselect-any-array.component.html' + selector: 'sample-po-multiselect-any-array', + templateUrl: './sample-po-multiselect-any-array.component.html', + standalone: false }) export class SamplePoMultiselectAnyArrayComponent { company; diff --git a/projects/ui/src/lib/components/po-field/po-multiselect/samples/sample-po-multiselect-basic/sample-po-multiselect-basic.component.ts b/projects/ui/src/lib/components/po-field/po-multiselect/samples/sample-po-multiselect-basic/sample-po-multiselect-basic.component.ts index 74e4715fa3..d8c0a7f5b3 100644 --- a/projects/ui/src/lib/components/po-field/po-multiselect/samples/sample-po-multiselect-basic/sample-po-multiselect-basic.component.ts +++ b/projects/ui/src/lib/components/po-field/po-multiselect/samples/sample-po-multiselect-basic/sample-po-multiselect-basic.component.ts @@ -3,8 +3,9 @@ import { Component } from '@angular/core'; import { PoMultiselectOption } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-multiselect-basic', - templateUrl: './sample-po-multiselect-basic.component.html' + selector: 'sample-po-multiselect-basic', + templateUrl: './sample-po-multiselect-basic.component.html', + standalone: false }) export class SamplePoMultiselectBasicComponent { options: Array = [ diff --git a/projects/ui/src/lib/components/po-field/po-multiselect/samples/sample-po-multiselect-heroes/sample-po-multiselect-heroes.component.ts b/projects/ui/src/lib/components/po-field/po-multiselect/samples/sample-po-multiselect-heroes/sample-po-multiselect-heroes.component.ts index a17574823e..9235721210 100644 --- a/projects/ui/src/lib/components/po-field/po-multiselect/samples/sample-po-multiselect-heroes/sample-po-multiselect-heroes.component.ts +++ b/projects/ui/src/lib/components/po-field/po-multiselect/samples/sample-po-multiselect-heroes/sample-po-multiselect-heroes.component.ts @@ -4,9 +4,10 @@ import { PoTableColumn, PoMultiselectFilter } from '@po-ui/ng-components'; import { SamplePoMultiselectHeroesService } from './sample-po-multiselect-heroes.service'; @Component({ - selector: 'sample-po-multiselect-heroes', - templateUrl: './sample-po-multiselect-heroes.component.html', - providers: [SamplePoMultiselectHeroesService] + selector: 'sample-po-multiselect-heroes', + templateUrl: './sample-po-multiselect-heroes.component.html', + providers: [SamplePoMultiselectHeroesService], + standalone: false }) export class SamplePoMultiselectHeroesComponent { debounce = 500; diff --git a/projects/ui/src/lib/components/po-field/po-multiselect/samples/sample-po-multiselect-labs/sample-po-multiselect-labs.component.ts b/projects/ui/src/lib/components/po-field/po-multiselect/samples/sample-po-multiselect-labs/sample-po-multiselect-labs.component.ts index 46b6e9db00..a2d776537b 100644 --- a/projects/ui/src/lib/components/po-field/po-multiselect/samples/sample-po-multiselect-labs/sample-po-multiselect-labs.component.ts +++ b/projects/ui/src/lib/components/po-field/po-multiselect/samples/sample-po-multiselect-labs/sample-po-multiselect-labs.component.ts @@ -8,8 +8,9 @@ import { } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-multiselect-labs', - templateUrl: './sample-po-multiselect-labs.component.html' + selector: 'sample-po-multiselect-labs', + templateUrl: './sample-po-multiselect-labs.component.html', + standalone: false }) export class SamplePoMultiselectLabsComponent implements OnInit { customLiterals: PoMultiselectLiterals; diff --git a/projects/ui/src/lib/components/po-field/po-multiselect/samples/sample-po-multiselect-template/sample-po-multiselect-template.component.ts b/projects/ui/src/lib/components/po-field/po-multiselect/samples/sample-po-multiselect-template/sample-po-multiselect-template.component.ts index bb45028caf..3d3cde80bd 100644 --- a/projects/ui/src/lib/components/po-field/po-multiselect/samples/sample-po-multiselect-template/sample-po-multiselect-template.component.ts +++ b/projects/ui/src/lib/components/po-field/po-multiselect/samples/sample-po-multiselect-template/sample-po-multiselect-template.component.ts @@ -2,10 +2,10 @@ import { Component } from '@angular/core'; import { PoSelectOption } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-multiselect-template', - templateUrl: './sample-po-multiselect-template.component.html', - styles: [ - ` + selector: 'sample-po-multiselect-template', + templateUrl: './sample-po-multiselect-template.component.html', + styles: [ + ` .containerFlex { display: flex; align-items: center; @@ -23,7 +23,8 @@ import { PoSelectOption } from '@po-ui/ng-components'; padding: 8px; } ` - ] + ], + standalone: false }) export class SamplePoMultiselectTemplateComponent { employee; diff --git a/projects/ui/src/lib/components/po-field/po-multiselect/samples/sample-po-multiselect-vacation-reactive-form/sample-po-multiselect-vacation-reactive-form.component.ts b/projects/ui/src/lib/components/po-field/po-multiselect/samples/sample-po-multiselect-vacation-reactive-form/sample-po-multiselect-vacation-reactive-form.component.ts index e519d29419..53792b4405 100644 --- a/projects/ui/src/lib/components/po-field/po-multiselect/samples/sample-po-multiselect-vacation-reactive-form/sample-po-multiselect-vacation-reactive-form.component.ts +++ b/projects/ui/src/lib/components/po-field/po-multiselect/samples/sample-po-multiselect-vacation-reactive-form/sample-po-multiselect-vacation-reactive-form.component.ts @@ -4,8 +4,9 @@ import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms import { PoMultiselectOption, PoRadioGroupOption } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-multiselect-vacation-reactive-form', - templateUrl: './sample-po-multiselect-vacation-reactive-form.component.html' + selector: 'sample-po-multiselect-vacation-reactive-form', + templateUrl: './sample-po-multiselect-vacation-reactive-form.component.html', + standalone: false }) export class SamplePoMultiselectVacationReactiveFormComponent implements OnInit { days: number; diff --git a/projects/ui/src/lib/components/po-field/po-multiselect/samples/sample-po-multiselect-vacation/sample-po-multiselect-vacation.component.ts b/projects/ui/src/lib/components/po-field/po-multiselect/samples/sample-po-multiselect-vacation/sample-po-multiselect-vacation.component.ts index b70a6c449f..080000ea1a 100644 --- a/projects/ui/src/lib/components/po-field/po-multiselect/samples/sample-po-multiselect-vacation/sample-po-multiselect-vacation.component.ts +++ b/projects/ui/src/lib/components/po-field/po-multiselect/samples/sample-po-multiselect-vacation/sample-po-multiselect-vacation.component.ts @@ -3,8 +3,9 @@ import { Component, OnInit } from '@angular/core'; import { PoMultiselectOption, PoRadioGroupOption } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-multiselect-vacation', - templateUrl: './sample-po-multiselect-vacation.component.html' + selector: 'sample-po-multiselect-vacation', + templateUrl: './sample-po-multiselect-vacation.component.html', + standalone: false }) export class SamplePoMultiselectVacationComponent implements OnInit { days: number; diff --git a/projects/ui/src/lib/components/po-field/po-number/po-number-base.component.spec.ts b/projects/ui/src/lib/components/po-field/po-number/po-number-base.component.spec.ts index 645b8b6739..97cf65008d 100644 --- a/projects/ui/src/lib/components/po-field/po-number/po-number-base.component.spec.ts +++ b/projects/ui/src/lib/components/po-field/po-number/po-number-base.component.spec.ts @@ -9,10 +9,11 @@ import { PoNumberBaseComponent } from './po-number-base.component'; import { of } from 'rxjs'; @Component({ - template: ` + template: ` - ` + `, + standalone: false }) class ContentProjectionComponent extends PoNumberBaseComponent { constructor(el: ElementRef, cd: ChangeDetectorRef) { diff --git a/projects/ui/src/lib/components/po-field/po-number/po-number.component.ts b/projects/ui/src/lib/components/po-field/po-number/po-number.component.ts index 5992a59b42..7962e5c16f 100644 --- a/projects/ui/src/lib/components/po-field/po-number/po-number.component.ts +++ b/projects/ui/src/lib/components/po-field/po-number/po-number.component.ts @@ -42,21 +42,22 @@ import { uuid } from '../../../utils/util'; * */ @Component({ - selector: 'po-number', - templateUrl: './po-number.component.html', - changeDetection: ChangeDetectionStrategy.OnPush, - providers: [ - { - provide: NG_VALUE_ACCESSOR, - useExisting: forwardRef(() => PoNumberComponent), - multi: true - }, - { - provide: NG_VALIDATORS, - useExisting: forwardRef(() => PoNumberComponent), - multi: true - } - ] + selector: 'po-number', + templateUrl: './po-number.component.html', + changeDetection: ChangeDetectionStrategy.OnPush, + providers: [ + { + provide: NG_VALUE_ACCESSOR, + useExisting: forwardRef(() => PoNumberComponent), + multi: true + }, + { + provide: NG_VALIDATORS, + useExisting: forwardRef(() => PoNumberComponent), + multi: true + } + ], + standalone: false }) export class PoNumberComponent extends PoNumberBaseComponent { /** diff --git a/projects/ui/src/lib/components/po-field/po-number/samples/sample-po-number-basic/sample-po-number-basic.component.ts b/projects/ui/src/lib/components/po-field/po-number/samples/sample-po-number-basic/sample-po-number-basic.component.ts index 0b8a9a55da..aa9bd0440c 100644 --- a/projects/ui/src/lib/components/po-field/po-number/samples/sample-po-number-basic/sample-po-number-basic.component.ts +++ b/projects/ui/src/lib/components/po-field/po-number/samples/sample-po-number-basic/sample-po-number-basic.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-number-basic', - templateUrl: './sample-po-number-basic.component.html' + selector: 'sample-po-number-basic', + templateUrl: './sample-po-number-basic.component.html', + standalone: false }) export class SamplePoNumberBasicComponent {} diff --git a/projects/ui/src/lib/components/po-field/po-number/samples/sample-po-number-calculate/sample-po-number-calculate.component.ts b/projects/ui/src/lib/components/po-field/po-number/samples/sample-po-number-calculate/sample-po-number-calculate.component.ts index 0dab7c4b6b..2b7faf1c74 100644 --- a/projects/ui/src/lib/components/po-field/po-number/samples/sample-po-number-calculate/sample-po-number-calculate.component.ts +++ b/projects/ui/src/lib/components/po-field/po-number/samples/sample-po-number-calculate/sample-po-number-calculate.component.ts @@ -3,8 +3,9 @@ import { Component } from '@angular/core'; import { PoSelectOption } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-number-calculate', - templateUrl: './sample-po-number-calculate.component.html' + selector: 'sample-po-number-calculate', + templateUrl: './sample-po-number-calculate.component.html', + standalone: false }) export class SamplePoNumberCalculateComponent { icms: number; diff --git a/projects/ui/src/lib/components/po-field/po-number/samples/sample-po-number-labs/sample-po-number-labs.component.ts b/projects/ui/src/lib/components/po-field/po-number/samples/sample-po-number-labs/sample-po-number-labs.component.ts index 9c8f4bfdc1..977df1d735 100644 --- a/projects/ui/src/lib/components/po-field/po-number/samples/sample-po-number-labs/sample-po-number-labs.component.ts +++ b/projects/ui/src/lib/components/po-field/po-number/samples/sample-po-number-labs/sample-po-number-labs.component.ts @@ -3,8 +3,9 @@ import { Component, OnInit } from '@angular/core'; import { PoCheckboxGroupOption, PoSelectOption } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-number-labs', - templateUrl: './sample-po-number-labs.component.html' + selector: 'sample-po-number-labs', + templateUrl: './sample-po-number-labs.component.html', + standalone: false }) export class SamplePoNumberLabsComponent implements OnInit { event: string; diff --git a/projects/ui/src/lib/components/po-field/po-password/po-password.component.ts b/projects/ui/src/lib/components/po-field/po-password/po-password.component.ts index 534da23c8e..d123cd6f51 100644 --- a/projects/ui/src/lib/components/po-field/po-password/po-password.component.ts +++ b/projects/ui/src/lib/components/po-field/po-password/po-password.component.ts @@ -28,21 +28,22 @@ import { PoInputGeneric } from '../po-input-generic/po-input-generic'; * */ @Component({ - selector: 'po-password', - templateUrl: './po-password.component.html', - changeDetection: ChangeDetectionStrategy.OnPush, - providers: [ - { - provide: NG_VALUE_ACCESSOR, - useExisting: forwardRef(() => PoPasswordComponent), - multi: true - }, - { - provide: NG_VALIDATORS, - useExisting: forwardRef(() => PoPasswordComponent), - multi: true - } - ] + selector: 'po-password', + templateUrl: './po-password.component.html', + changeDetection: ChangeDetectionStrategy.OnPush, + providers: [ + { + provide: NG_VALUE_ACCESSOR, + useExisting: forwardRef(() => PoPasswordComponent), + multi: true + }, + { + provide: NG_VALIDATORS, + useExisting: forwardRef(() => PoPasswordComponent), + multi: true + } + ], + standalone: false }) export class PoPasswordComponent extends PoInputGeneric { id = `po-password[${uuid()}]`; diff --git a/projects/ui/src/lib/components/po-field/po-password/samples/sample-po-password-basic/sample-po-password-basic.component.ts b/projects/ui/src/lib/components/po-field/po-password/samples/sample-po-password-basic/sample-po-password-basic.component.ts index e018650c6f..0b911dcba6 100644 --- a/projects/ui/src/lib/components/po-field/po-password/samples/sample-po-password-basic/sample-po-password-basic.component.ts +++ b/projects/ui/src/lib/components/po-field/po-password/samples/sample-po-password-basic/sample-po-password-basic.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-password-basic', - templateUrl: './sample-po-password-basic.component.html' + selector: 'sample-po-password-basic', + templateUrl: './sample-po-password-basic.component.html', + standalone: false }) export class SamplePoPasswordBasicComponent {} diff --git a/projects/ui/src/lib/components/po-field/po-password/samples/sample-po-password-labs/sample-po-password-labs.component.ts b/projects/ui/src/lib/components/po-field/po-password/samples/sample-po-password-labs/sample-po-password-labs.component.ts index 4b951fc631..2792c89f6d 100644 --- a/projects/ui/src/lib/components/po-field/po-password/samples/sample-po-password-labs/sample-po-password-labs.component.ts +++ b/projects/ui/src/lib/components/po-field/po-password/samples/sample-po-password-labs/sample-po-password-labs.component.ts @@ -3,8 +3,9 @@ import { Component, OnInit } from '@angular/core'; import { PoCheckboxGroupOption } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-password-labs', - templateUrl: './sample-po-password-labs.component.html' + selector: 'sample-po-password-labs', + templateUrl: './sample-po-password-labs.component.html', + standalone: false }) export class SamplePoPasswordLabsComponent implements OnInit { errorPattern: string; diff --git a/projects/ui/src/lib/components/po-field/po-password/samples/sample-po-password-reset/sample-po-password-reset.component.ts b/projects/ui/src/lib/components/po-field/po-password/samples/sample-po-password-reset/sample-po-password-reset.component.ts index bb8a7bbc9f..c450240bdb 100644 --- a/projects/ui/src/lib/components/po-field/po-password/samples/sample-po-password-reset/sample-po-password-reset.component.ts +++ b/projects/ui/src/lib/components/po-field/po-password/samples/sample-po-password-reset/sample-po-password-reset.component.ts @@ -3,9 +3,10 @@ import { Component } from '@angular/core'; import { PoDialogService } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-password-reset', - templateUrl: './sample-po-password-reset.component.html', - providers: [PoDialogService] + selector: 'sample-po-password-reset', + templateUrl: './sample-po-password-reset.component.html', + providers: [PoDialogService], + standalone: false }) export class SamplePoPasswordResetComponent { confirmNewPassword: string; diff --git a/projects/ui/src/lib/components/po-field/po-radio-group/po-radio-group.component.ts b/projects/ui/src/lib/components/po-field/po-radio-group/po-radio-group.component.ts index 914bc6f0e9..4ca41fcc2b 100644 --- a/projects/ui/src/lib/components/po-field/po-radio-group/po-radio-group.component.ts +++ b/projects/ui/src/lib/components/po-field/po-radio-group/po-radio-group.component.ts @@ -48,21 +48,22 @@ import { PoRadioGroupBaseComponent } from './po-radio-group-base.component'; * */ @Component({ - selector: 'po-radio-group', - templateUrl: './po-radio-group.component.html', - changeDetection: ChangeDetectionStrategy.OnPush, - providers: [ - { - provide: NG_VALUE_ACCESSOR, - useExisting: forwardRef(() => PoRadioGroupComponent), - multi: true - }, - { - provide: NG_VALIDATORS, - useExisting: forwardRef(() => PoRadioGroupComponent), - multi: true - } - ] + selector: 'po-radio-group', + templateUrl: './po-radio-group.component.html', + changeDetection: ChangeDetectionStrategy.OnPush, + providers: [ + { + provide: NG_VALUE_ACCESSOR, + useExisting: forwardRef(() => PoRadioGroupComponent), + multi: true + }, + { + provide: NG_VALIDATORS, + useExisting: forwardRef(() => PoRadioGroupComponent), + multi: true + } + ], + standalone: false }) export class PoRadioGroupComponent extends PoRadioGroupBaseComponent implements AfterViewInit, DoCheck { /** Label do campo. */ diff --git a/projects/ui/src/lib/components/po-field/po-radio-group/samples/sample-po-radio-group-basic/sample-po-radio-group-basic.component.ts b/projects/ui/src/lib/components/po-field/po-radio-group/samples/sample-po-radio-group-basic/sample-po-radio-group-basic.component.ts index d76261ce18..ae2281cc2d 100644 --- a/projects/ui/src/lib/components/po-field/po-radio-group/samples/sample-po-radio-group-basic/sample-po-radio-group-basic.component.ts +++ b/projects/ui/src/lib/components/po-field/po-radio-group/samples/sample-po-radio-group-basic/sample-po-radio-group-basic.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-radio-group-basic', - templateUrl: './sample-po-radio-group-basic.component.html' + selector: 'sample-po-radio-group-basic', + templateUrl: './sample-po-radio-group-basic.component.html', + standalone: false }) export class SamplePoRadioGroupBasicComponent {} diff --git a/projects/ui/src/lib/components/po-field/po-radio-group/samples/sample-po-radio-group-labs/sample-po-radio-group-labs.component.ts b/projects/ui/src/lib/components/po-field/po-radio-group/samples/sample-po-radio-group-labs/sample-po-radio-group-labs.component.ts index 113d48a52f..4c9c9a851f 100644 --- a/projects/ui/src/lib/components/po-field/po-radio-group/samples/sample-po-radio-group-labs/sample-po-radio-group-labs.component.ts +++ b/projects/ui/src/lib/components/po-field/po-radio-group/samples/sample-po-radio-group-labs/sample-po-radio-group-labs.component.ts @@ -3,8 +3,9 @@ import { Component, OnInit } from '@angular/core'; import { PoCheckboxGroupOption, PoRadioGroupOption } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-radio-group-labs', - templateUrl: './sample-po-radio-group-labs.component.html' + selector: 'sample-po-radio-group-labs', + templateUrl: './sample-po-radio-group-labs.component.html', + standalone: false }) export class SamplePoRadioGroupLabsComponent implements OnInit { columns: number; diff --git a/projects/ui/src/lib/components/po-field/po-radio-group/samples/sample-po-radio-group-translator-reactive-form/sample-po-radio-group-translator-reactive-form.component.ts b/projects/ui/src/lib/components/po-field/po-radio-group/samples/sample-po-radio-group-translator-reactive-form/sample-po-radio-group-translator-reactive-form.component.ts index 40a169243d..ec5764f86c 100644 --- a/projects/ui/src/lib/components/po-field/po-radio-group/samples/sample-po-radio-group-translator-reactive-form/sample-po-radio-group-translator-reactive-form.component.ts +++ b/projects/ui/src/lib/components/po-field/po-radio-group/samples/sample-po-radio-group-translator-reactive-form/sample-po-radio-group-translator-reactive-form.component.ts @@ -4,8 +4,9 @@ import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms import { PoRadioGroupOption, PoSelectOption } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-radio-group-translator-reactive-form', - templateUrl: './sample-po-radio-group-translator-reactive-form.component.html' + selector: 'sample-po-radio-group-translator-reactive-form', + templateUrl: './sample-po-radio-group-translator-reactive-form.component.html', + standalone: false }) export class SamplePoRadioGroupTranslatorReactiveFormComponent implements OnInit { translatorForm: UntypedFormGroup; diff --git a/projects/ui/src/lib/components/po-field/po-radio-group/samples/sample-po-radio-group-translator/sample-po-radio-group-translator.component.ts b/projects/ui/src/lib/components/po-field/po-radio-group/samples/sample-po-radio-group-translator/sample-po-radio-group-translator.component.ts index 8ee1d62a47..69ee4655ba 100644 --- a/projects/ui/src/lib/components/po-field/po-radio-group/samples/sample-po-radio-group-translator/sample-po-radio-group-translator.component.ts +++ b/projects/ui/src/lib/components/po-field/po-radio-group/samples/sample-po-radio-group-translator/sample-po-radio-group-translator.component.ts @@ -3,8 +3,9 @@ import { Component } from '@angular/core'; import { PoRadioGroupOption, PoSelectOption } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-radio-group-translator', - templateUrl: './sample-po-radio-group-translator.component.html' + selector: 'sample-po-radio-group-translator', + templateUrl: './sample-po-radio-group-translator.component.html', + standalone: false }) export class SamplePoRadioGroupTranslatorComponent { language: string = 'es'; diff --git a/projects/ui/src/lib/components/po-field/po-radio/po-radio.component.ts b/projects/ui/src/lib/components/po-field/po-radio/po-radio.component.ts index d94a03cd62..3762ec4032 100644 --- a/projects/ui/src/lib/components/po-field/po-radio/po-radio.component.ts +++ b/projects/ui/src/lib/components/po-field/po-radio/po-radio.component.ts @@ -20,16 +20,17 @@ import { convertToBoolean } from '../../../utils/util'; import { PoRadioSize } from './po-radio-size.enum'; @Component({ - selector: 'po-radio', - templateUrl: './po-radio.component.html', - changeDetection: ChangeDetectionStrategy.OnPush, - providers: [ - { - provide: NG_VALUE_ACCESSOR, - useExisting: forwardRef(() => PoRadioComponent), - multi: true - } - ] + selector: 'po-radio', + templateUrl: './po-radio.component.html', + changeDetection: ChangeDetectionStrategy.OnPush, + providers: [ + { + provide: NG_VALUE_ACCESSOR, + useExisting: forwardRef(() => PoRadioComponent), + multi: true + } + ], + standalone: false }) export class PoRadioComponent extends PoFieldModel { @ViewChild('radio', { static: true }) radio: ElementRef; diff --git a/projects/ui/src/lib/components/po-field/po-rich-text/po-rich-text-body/po-rich-text-body.component.ts b/projects/ui/src/lib/components/po-field/po-rich-text/po-rich-text-body/po-rich-text-body.component.ts index bc43db0b62..dc02902f91 100644 --- a/projects/ui/src/lib/components/po-field/po-rich-text/po-rich-text-body/po-rich-text-body.component.ts +++ b/projects/ui/src/lib/components/po-field/po-rich-text/po-rich-text-body/po-rich-text-body.component.ts @@ -19,8 +19,9 @@ const poRichTextBodyCommands = [ ]; @Component({ - selector: 'po-rich-text-body', - templateUrl: './po-rich-text-body.component.html' + selector: 'po-rich-text-body', + templateUrl: './po-rich-text-body.component.html', + standalone: false }) export class PoRichTextBodyComponent implements OnInit, OnDestroy { @ViewChild('bodyElement', { static: true }) bodyElement: ElementRef; diff --git a/projects/ui/src/lib/components/po-field/po-rich-text/po-rich-text-image-modal/po-rich-text-image-modal.component.ts b/projects/ui/src/lib/components/po-field/po-rich-text/po-rich-text-image-modal/po-rich-text-image-modal.component.ts index 6f47592317..59abab6d2c 100644 --- a/projects/ui/src/lib/components/po-field/po-rich-text/po-rich-text-image-modal/po-rich-text-image-modal.component.ts +++ b/projects/ui/src/lib/components/po-field/po-rich-text/po-rich-text-image-modal/po-rich-text-image-modal.component.ts @@ -12,8 +12,9 @@ import { PoUploadFileRestrictions } from '../../po-upload/interfaces/po-upload-f const uploadRestrictions = ['.apng', '.bmp', '.gif', '.ico', '.jpeg', '.jpg', '.png', '.svg']; @Component({ - selector: 'po-rich-text-image-modal', - templateUrl: './po-rich-text-image-modal.component.html' + selector: 'po-rich-text-image-modal', + templateUrl: './po-rich-text-image-modal.component.html', + standalone: false }) export class PoRichTextImageModalComponent { @ViewChild('modal', { static: true }) modal: PoModalComponent; diff --git a/projects/ui/src/lib/components/po-field/po-rich-text/po-rich-text-link-modal/po-rich-text-link-modal.component.ts b/projects/ui/src/lib/components/po-field/po-rich-text/po-rich-text-link-modal/po-rich-text-link-modal.component.ts index 6e2faa63b1..83956518f3 100644 --- a/projects/ui/src/lib/components/po-field/po-rich-text/po-rich-text-link-modal/po-rich-text-link-modal.component.ts +++ b/projects/ui/src/lib/components/po-field/po-rich-text/po-rich-text-link-modal/po-rich-text-link-modal.component.ts @@ -8,8 +8,9 @@ import { PoModalAction, PoModalComponent } from '../../../po-modal'; import { poRichTextLiteralsDefault } from '../po-rich-text-literals'; @Component({ - selector: 'po-rich-text-link-modal', - templateUrl: './po-rich-text-link-modal.component.html' + selector: 'po-rich-text-link-modal', + templateUrl: './po-rich-text-link-modal.component.html', + standalone: false }) export class PoRichTextLinkModalComponent implements OnInit { @ViewChild('modal', { static: true }) modal: PoModalComponent; diff --git a/projects/ui/src/lib/components/po-field/po-rich-text/po-rich-text-toolbar/po-rich-text-toolbar.component.ts b/projects/ui/src/lib/components/po-field/po-rich-text/po-rich-text-toolbar/po-rich-text-toolbar.component.ts index 15d9532fd5..dd3cdfc75c 100644 --- a/projects/ui/src/lib/components/po-field/po-rich-text/po-rich-text-toolbar/po-rich-text-toolbar.component.ts +++ b/projects/ui/src/lib/components/po-field/po-rich-text/po-rich-text-toolbar/po-rich-text-toolbar.component.ts @@ -13,8 +13,9 @@ import { poRichTextLiteralsDefault } from '../po-rich-text-literals'; const poRichTextDefaultColor = '#000000'; @Component({ - selector: 'po-rich-text-toolbar', - templateUrl: './po-rich-text-toolbar.component.html' + selector: 'po-rich-text-toolbar', + templateUrl: './po-rich-text-toolbar.component.html', + standalone: false }) export class PoRichTextToolbarComponent implements AfterViewInit { @ViewChild('colorPickerInput', { read: ElementRef }) colorPickerInput: ElementRef; diff --git a/projects/ui/src/lib/components/po-field/po-rich-text/samples/sample-po-rich-text-basic/sample-po-rich-text-basic.component.ts b/projects/ui/src/lib/components/po-field/po-rich-text/samples/sample-po-rich-text-basic/sample-po-rich-text-basic.component.ts index 70c9b5d0a3..dc0b22f482 100644 --- a/projects/ui/src/lib/components/po-field/po-rich-text/samples/sample-po-rich-text-basic/sample-po-rich-text-basic.component.ts +++ b/projects/ui/src/lib/components/po-field/po-rich-text/samples/sample-po-rich-text-basic/sample-po-rich-text-basic.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-rich-text-basic', - templateUrl: './sample-po-rich-text-basic.component.html' + selector: 'sample-po-rich-text-basic', + templateUrl: './sample-po-rich-text-basic.component.html', + standalone: false }) export class SamplePoRichTextBasicComponent {} diff --git a/projects/ui/src/lib/components/po-field/po-rich-text/samples/sample-po-rich-text-labs/sample-po-rich-text-labs.component.ts b/projects/ui/src/lib/components/po-field/po-rich-text/samples/sample-po-rich-text-labs/sample-po-rich-text-labs.component.ts index 4c70142c6a..75dc4eb04e 100644 --- a/projects/ui/src/lib/components/po-field/po-rich-text/samples/sample-po-rich-text-labs/sample-po-rich-text-labs.component.ts +++ b/projects/ui/src/lib/components/po-field/po-rich-text/samples/sample-po-rich-text-labs/sample-po-rich-text-labs.component.ts @@ -3,8 +3,9 @@ import { Component, OnInit } from '@angular/core'; import { PoCheckboxGroupOption, PoMultiselectOption, PoRichTextToolbarActions } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-rich-text-labs', - templateUrl: './sample-po-rich-text-labs.component.html' + selector: 'sample-po-rich-text-labs', + templateUrl: './sample-po-rich-text-labs.component.html', + standalone: false }) export class SamplePoRichTextLabsComponent implements OnInit { errorMessage: string; diff --git a/projects/ui/src/lib/components/po-field/po-rich-text/samples/sample-po-rich-text-recipe/sample-po-rich-text-recipe.component.ts b/projects/ui/src/lib/components/po-field/po-rich-text/samples/sample-po-rich-text-recipe/sample-po-rich-text-recipe.component.ts index 73b6fe91a2..ff91d90b67 100644 --- a/projects/ui/src/lib/components/po-field/po-rich-text/samples/sample-po-rich-text-recipe/sample-po-rich-text-recipe.component.ts +++ b/projects/ui/src/lib/components/po-field/po-rich-text/samples/sample-po-rich-text-recipe/sample-po-rich-text-recipe.component.ts @@ -2,8 +2,9 @@ import { Component } from '@angular/core'; import image from './sample-po-rich-text-recipe-image-base-64'; @Component({ - selector: 'sample-po-rich-text-recipe', - templateUrl: './sample-po-rich-text-recipe.component.html' + selector: 'sample-po-rich-text-recipe', + templateUrl: './sample-po-rich-text-recipe.component.html', + standalone: false }) export class SamplePoRichTextRecipeComponent { recipe = ` diff --git a/projects/ui/src/lib/components/po-field/po-select/po-select.component.ts b/projects/ui/src/lib/components/po-field/po-select/po-select.component.ts index 958553367a..a57670062c 100644 --- a/projects/ui/src/lib/components/po-field/po-select/po-select.component.ts +++ b/projects/ui/src/lib/components/po-field/po-select/po-select.component.ts @@ -104,21 +104,22 @@ const PO_SELECT_FIELD_VALUE_DEFAULT = 'value'; * */ @Component({ - selector: 'po-select', - templateUrl: './po-select.component.html', - changeDetection: ChangeDetectionStrategy.OnPush, - providers: [ - { - provide: NG_VALUE_ACCESSOR, - useExisting: forwardRef(() => PoSelectComponent), - multi: true - }, - { - provide: NG_VALIDATORS, - useExisting: forwardRef(() => PoSelectComponent), - multi: true - } - ] + selector: 'po-select', + templateUrl: './po-select.component.html', + changeDetection: ChangeDetectionStrategy.OnPush, + providers: [ + { + provide: NG_VALUE_ACCESSOR, + useExisting: forwardRef(() => PoSelectComponent), + multi: true + }, + { + provide: NG_VALIDATORS, + useExisting: forwardRef(() => PoSelectComponent), + multi: true + } + ], + standalone: false }) export class PoSelectComponent extends PoFieldValidateModel implements OnChanges { private _iconToken: { [key: string]: string }; diff --git a/projects/ui/src/lib/components/po-field/po-select/samples/sample-po-select-basic/sample-po-select-basic.component.ts b/projects/ui/src/lib/components/po-field/po-select/samples/sample-po-select-basic/sample-po-select-basic.component.ts index e23964eeed..bb914d1450 100644 --- a/projects/ui/src/lib/components/po-field/po-select/samples/sample-po-select-basic/sample-po-select-basic.component.ts +++ b/projects/ui/src/lib/components/po-field/po-select/samples/sample-po-select-basic/sample-po-select-basic.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-select-basic', - templateUrl: './sample-po-select-basic.component.html' + selector: 'sample-po-select-basic', + templateUrl: './sample-po-select-basic.component.html', + standalone: false }) export class SamplePoSelectBasicComponent {} diff --git a/projects/ui/src/lib/components/po-field/po-select/samples/sample-po-select-companies/sample-po-select-companies.component.ts b/projects/ui/src/lib/components/po-field/po-select/samples/sample-po-select-companies/sample-po-select-companies.component.ts index dbe74abb2d..67a72071ea 100644 --- a/projects/ui/src/lib/components/po-field/po-select/samples/sample-po-select-companies/sample-po-select-companies.component.ts +++ b/projects/ui/src/lib/components/po-field/po-select/samples/sample-po-select-companies/sample-po-select-companies.component.ts @@ -3,8 +3,9 @@ import { Component } from '@angular/core'; import { PoSelectOption, PoSelectOptionGroup } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-select-companies', - templateUrl: './sample-po-select-companies.component.html' + selector: 'sample-po-select-companies', + templateUrl: './sample-po-select-companies.component.html', + standalone: false }) export class SamplePoSelectCompaniesComponent { select: Array; diff --git a/projects/ui/src/lib/components/po-field/po-select/samples/sample-po-select-customer-registration/sample-po-select-customer-registration.component.ts b/projects/ui/src/lib/components/po-field/po-select/samples/sample-po-select-customer-registration/sample-po-select-customer-registration.component.ts index a4d8c10b0e..b85de293eb 100644 --- a/projects/ui/src/lib/components/po-field/po-select/samples/sample-po-select-customer-registration/sample-po-select-customer-registration.component.ts +++ b/projects/ui/src/lib/components/po-field/po-select/samples/sample-po-select-customer-registration/sample-po-select-customer-registration.component.ts @@ -7,11 +7,11 @@ import { PoRadioGroupOption, PoSelectOption } from '@po-ui/ng-components'; import { SamplePoSelectCustomerRegistrationService } from './sample-po-select-customer-registration.service'; @Component({ - selector: 'sample-po-select-customer-registration', - templateUrl: './sample-po-select-customer-registration.component.html', - providers: [SamplePoSelectCustomerRegistrationService], - styles: [ - ` + selector: 'sample-po-select-customer-registration', + templateUrl: './sample-po-select-customer-registration.component.html', + providers: [SamplePoSelectCustomerRegistrationService], + styles: [ + ` .sample-select-option-template-container { display: inline-flex; align-items: flex-start; @@ -31,7 +31,8 @@ import { SamplePoSelectCustomerRegistrationService } from './sample-po-select-cu text-transform: uppercase; } ` - ] + ], + standalone: false }) export class SamplePoSelectCustomerRegistrationComponent implements OnDestroy, OnInit { address: string; diff --git a/projects/ui/src/lib/components/po-field/po-select/samples/sample-po-select-labs/sample-po-select-labs.component.ts b/projects/ui/src/lib/components/po-field/po-select/samples/sample-po-select-labs/sample-po-select-labs.component.ts index 03d80f82a5..da4398b21d 100644 --- a/projects/ui/src/lib/components/po-field/po-select/samples/sample-po-select-labs/sample-po-select-labs.component.ts +++ b/projects/ui/src/lib/components/po-field/po-select/samples/sample-po-select-labs/sample-po-select-labs.component.ts @@ -3,8 +3,9 @@ import { ChangeDetectorRef, Component, OnInit } from '@angular/core'; import { PoCheckboxGroupOption, PoSelectOption, PoSelectOptionGroup } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-select-labs', - templateUrl: './sample-po-select-labs.component.html' + selector: 'sample-po-select-labs', + templateUrl: './sample-po-select-labs.component.html', + standalone: false }) export class SamplePoSelectLabsComponent implements OnInit { event: string; diff --git a/projects/ui/src/lib/components/po-field/po-switch/po-switch.component.ts b/projects/ui/src/lib/components/po-field/po-switch/po-switch.component.ts index d4ad814f77..4aab832f51 100644 --- a/projects/ui/src/lib/components/po-field/po-switch/po-switch.component.ts +++ b/projects/ui/src/lib/components/po-field/po-switch/po-switch.component.ts @@ -91,16 +91,17 @@ import { PoSwitchLabelPosition } from './po-switch-label-position.enum'; * */ @Component({ - selector: 'po-switch', - templateUrl: './po-switch.component.html', - changeDetection: ChangeDetectionStrategy.OnPush, - providers: [ - { - provide: NG_VALUE_ACCESSOR, - useExisting: forwardRef(() => PoSwitchComponent), - multi: true - } - ] + selector: 'po-switch', + templateUrl: './po-switch.component.html', + changeDetection: ChangeDetectionStrategy.OnPush, + providers: [ + { + provide: NG_VALUE_ACCESSOR, + useExisting: forwardRef(() => PoSwitchComponent), + multi: true + } + ], + standalone: false }) export class PoSwitchComponent extends PoFieldModel { @ViewChild('switchContainer', { static: true }) switchContainer: ElementRef; diff --git a/projects/ui/src/lib/components/po-field/po-switch/samples/sample-po-switch-basic/sample-po-switch-basic.component.ts b/projects/ui/src/lib/components/po-field/po-switch/samples/sample-po-switch-basic/sample-po-switch-basic.component.ts index 9580729aad..5d5a5a59c4 100644 --- a/projects/ui/src/lib/components/po-field/po-switch/samples/sample-po-switch-basic/sample-po-switch-basic.component.ts +++ b/projects/ui/src/lib/components/po-field/po-switch/samples/sample-po-switch-basic/sample-po-switch-basic.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-switch-basic', - templateUrl: './sample-po-switch-basic.component.html' + selector: 'sample-po-switch-basic', + templateUrl: './sample-po-switch-basic.component.html', + standalone: false }) export class SamplePoSwitchBasicComponent {} diff --git a/projects/ui/src/lib/components/po-field/po-switch/samples/sample-po-switch-labs/sample-po-switch-labs.component.ts b/projects/ui/src/lib/components/po-field/po-switch/samples/sample-po-switch-labs/sample-po-switch-labs.component.ts index 800eef9d4b..8c03e5ac13 100644 --- a/projects/ui/src/lib/components/po-field/po-switch/samples/sample-po-switch-labs/sample-po-switch-labs.component.ts +++ b/projects/ui/src/lib/components/po-field/po-switch/samples/sample-po-switch-labs/sample-po-switch-labs.component.ts @@ -3,8 +3,9 @@ import { Component, OnInit } from '@angular/core'; import { PoCheckboxGroupOption, PoRadioGroupOption, PoSwitchLabelPosition } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-switch-labs', - templateUrl: './sample-po-switch-labs.component.html' + selector: 'sample-po-switch-labs', + templateUrl: './sample-po-switch-labs.component.html', + standalone: false }) export class SamplePoSwitchLabsComponent implements OnInit { event: string; diff --git a/projects/ui/src/lib/components/po-field/po-switch/samples/sample-po-switch-order-reactive-form/sample-po-switch-order-reactive-form.component.ts b/projects/ui/src/lib/components/po-field/po-switch/samples/sample-po-switch-order-reactive-form/sample-po-switch-order-reactive-form.component.ts index 4fc06b13a6..2067977588 100644 --- a/projects/ui/src/lib/components/po-field/po-switch/samples/sample-po-switch-order-reactive-form/sample-po-switch-order-reactive-form.component.ts +++ b/projects/ui/src/lib/components/po-field/po-switch/samples/sample-po-switch-order-reactive-form/sample-po-switch-order-reactive-form.component.ts @@ -4,8 +4,9 @@ import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms'; import { PoNotificationService, PoSwitchLabelPosition, PoTableColumn } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-switch-order-reactive-form', - templateUrl: './sample-po-switch-order-reactive-form.component.html' + selector: 'sample-po-switch-order-reactive-form', + templateUrl: './sample-po-switch-order-reactive-form.component.html', + standalone: false }) export class SamplePoSwitchOrderReactiveFormComponent implements OnInit { formOrderSummary: UntypedFormGroup; diff --git a/projects/ui/src/lib/components/po-field/po-switch/samples/sample-po-switch-order/sample-po-switch-order.component.ts b/projects/ui/src/lib/components/po-field/po-switch/samples/sample-po-switch-order/sample-po-switch-order.component.ts index ad1fb743c2..aae518dff5 100644 --- a/projects/ui/src/lib/components/po-field/po-switch/samples/sample-po-switch-order/sample-po-switch-order.component.ts +++ b/projects/ui/src/lib/components/po-field/po-switch/samples/sample-po-switch-order/sample-po-switch-order.component.ts @@ -3,8 +3,9 @@ import { Component } from '@angular/core'; import { PoNotificationService, PoSwitchLabelPosition, PoTableColumn } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-switch-order', - templateUrl: './sample-po-switch-order.component.html' + selector: 'sample-po-switch-order', + templateUrl: './sample-po-switch-order.component.html', + standalone: false }) export class SamplePoSwitchOrderComponent { labelPosition: PoSwitchLabelPosition = PoSwitchLabelPosition.Left; diff --git a/projects/ui/src/lib/components/po-field/po-textarea/po-textarea.component.ts b/projects/ui/src/lib/components/po-field/po-textarea/po-textarea.component.ts index aaa898af27..c5e1d77229 100644 --- a/projects/ui/src/lib/components/po-field/po-textarea/po-textarea.component.ts +++ b/projects/ui/src/lib/components/po-field/po-textarea/po-textarea.component.ts @@ -40,21 +40,22 @@ import { PoTextareaBaseComponent } from './po-textarea-base.component'; * */ @Component({ - selector: 'po-textarea', - templateUrl: './po-textarea.component.html', - changeDetection: ChangeDetectionStrategy.OnPush, - providers: [ - { - provide: NG_VALUE_ACCESSOR, - useExisting: forwardRef(() => PoTextareaComponent), - multi: true - }, - { - provide: NG_VALIDATORS, - useExisting: forwardRef(() => PoTextareaComponent), - multi: true - } - ] + selector: 'po-textarea', + templateUrl: './po-textarea.component.html', + changeDetection: ChangeDetectionStrategy.OnPush, + providers: [ + { + provide: NG_VALUE_ACCESSOR, + useExisting: forwardRef(() => PoTextareaComponent), + multi: true + }, + { + provide: NG_VALIDATORS, + useExisting: forwardRef(() => PoTextareaComponent), + multi: true + } + ], + standalone: false }) export class PoTextareaComponent extends PoTextareaBaseComponent implements AfterViewInit { @ViewChild('inp', { read: ElementRef, static: true }) inputEl: ElementRef; diff --git a/projects/ui/src/lib/components/po-field/po-textarea/samples/sample-po-textarea-basic/sample-po-textarea-basic.component.ts b/projects/ui/src/lib/components/po-field/po-textarea/samples/sample-po-textarea-basic/sample-po-textarea-basic.component.ts index 35588debd7..697c821f9d 100644 --- a/projects/ui/src/lib/components/po-field/po-textarea/samples/sample-po-textarea-basic/sample-po-textarea-basic.component.ts +++ b/projects/ui/src/lib/components/po-field/po-textarea/samples/sample-po-textarea-basic/sample-po-textarea-basic.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-textarea-basic', - templateUrl: './sample-po-textarea-basic.component.html' + selector: 'sample-po-textarea-basic', + templateUrl: './sample-po-textarea-basic.component.html', + standalone: false }) export class SamplePoTextareaBasicComponent {} diff --git a/projects/ui/src/lib/components/po-field/po-textarea/samples/sample-po-textarea-email-reactive-form/sample-po-textarea-email-reactive-form.component.ts b/projects/ui/src/lib/components/po-field/po-textarea/samples/sample-po-textarea-email-reactive-form/sample-po-textarea-email-reactive-form.component.ts index ae158d3bcd..b18e79b844 100644 --- a/projects/ui/src/lib/components/po-field/po-textarea/samples/sample-po-textarea-email-reactive-form/sample-po-textarea-email-reactive-form.component.ts +++ b/projects/ui/src/lib/components/po-field/po-textarea/samples/sample-po-textarea-email-reactive-form/sample-po-textarea-email-reactive-form.component.ts @@ -5,8 +5,9 @@ import { PoModalAction, PoModalComponent } from '@po-ui/ng-components'; import { PoPageAction } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-textarea-email-reactive-form', - templateUrl: './sample-po-textarea-email-reactive-form.component.html' + selector: 'sample-po-textarea-email-reactive-form', + templateUrl: './sample-po-textarea-email-reactive-form.component.html', + standalone: false }) export class SamplePoTextareaEmailReactiveFormComponent implements OnInit { @ViewChild(PoModalComponent, { static: true }) poModal: PoModalComponent; diff --git a/projects/ui/src/lib/components/po-field/po-textarea/samples/sample-po-textarea-email/sample-po-textarea-email.component.ts b/projects/ui/src/lib/components/po-field/po-textarea/samples/sample-po-textarea-email/sample-po-textarea-email.component.ts index 3f20052066..44e70fac32 100644 --- a/projects/ui/src/lib/components/po-field/po-textarea/samples/sample-po-textarea-email/sample-po-textarea-email.component.ts +++ b/projects/ui/src/lib/components/po-field/po-textarea/samples/sample-po-textarea-email/sample-po-textarea-email.component.ts @@ -5,8 +5,9 @@ import { PoModalAction, PoModalComponent } from '@po-ui/ng-components'; import { PoPageAction } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-textarea-email', - templateUrl: './sample-po-textarea-email.component.html' + selector: 'sample-po-textarea-email', + templateUrl: './sample-po-textarea-email.component.html', + standalone: false }) export class SamplePoTextareaEmailComponent { @ViewChild('formEmail', { static: true }) formEmail: UntypedFormControl; diff --git a/projects/ui/src/lib/components/po-field/po-textarea/samples/sample-po-textarea-labs/sample-po-textarea-labs.component.ts b/projects/ui/src/lib/components/po-field/po-textarea/samples/sample-po-textarea-labs/sample-po-textarea-labs.component.ts index 8a32b83cc1..913b471e12 100644 --- a/projects/ui/src/lib/components/po-field/po-textarea/samples/sample-po-textarea-labs/sample-po-textarea-labs.component.ts +++ b/projects/ui/src/lib/components/po-field/po-textarea/samples/sample-po-textarea-labs/sample-po-textarea-labs.component.ts @@ -3,8 +3,9 @@ import { Component, OnInit } from '@angular/core'; import { PoCheckboxGroupOption } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-textarea-labs', - templateUrl: './sample-po-textarea-labs.component.html' + selector: 'sample-po-textarea-labs', + templateUrl: './sample-po-textarea-labs.component.html', + standalone: false }) export class SamplePoTextareaLabsComponent implements OnInit { event: string; diff --git a/projects/ui/src/lib/components/po-field/po-upload/po-upload-base.component.spec.ts b/projects/ui/src/lib/components/po-field/po-upload/po-upload-base.component.spec.ts index 1ad4ce5500..b2b56944ac 100644 --- a/projects/ui/src/lib/components/po-field/po-upload/po-upload-base.component.spec.ts +++ b/projects/ui/src/lib/components/po-field/po-upload/po-upload-base.component.spec.ts @@ -15,8 +15,9 @@ import { PoUploadFile } from './po-upload-file'; import { PoUploadService } from './po-upload.service'; @Component({ - selector: 'po-upload', - template: ` ` + selector: 'po-upload', + template: ` `, + standalone: false }) class PoUploadComponent extends PoUploadBaseComponent { constructor(uploadService: PoUploadService) { diff --git a/projects/ui/src/lib/components/po-field/po-upload/po-upload-drag-drop/po-upload-drag-drop-area-overlay/po-upload-drag-drop-area-overlay.component.ts b/projects/ui/src/lib/components/po-field/po-upload/po-upload-drag-drop/po-upload-drag-drop-area-overlay/po-upload-drag-drop-area-overlay.component.ts index 443a2a6897..2d54efdd3e 100644 --- a/projects/ui/src/lib/components/po-field/po-upload/po-upload-drag-drop/po-upload-drag-drop-area-overlay/po-upload-drag-drop-area-overlay.component.ts +++ b/projects/ui/src/lib/components/po-field/po-upload/po-upload-drag-drop/po-upload-drag-drop-area-overlay/po-upload-drag-drop-area-overlay.component.ts @@ -13,9 +13,10 @@ import { import { PoUploadLiterals } from '../../interfaces/po-upload-literals.interface'; @Component({ - selector: 'po-upload-drag-drop-area-overlay', - templateUrl: 'po-upload-drag-drop-area-overlay.component.html', - changeDetection: ChangeDetectionStrategy.OnPush + selector: 'po-upload-drag-drop-area-overlay', + templateUrl: 'po-upload-drag-drop-area-overlay.component.html', + changeDetection: ChangeDetectionStrategy.OnPush, + standalone: false }) export class PoUploadDragDropAreaOverlayComponent implements AfterViewInit { @ViewChild('DragDropAreaFixed', { read: ElementRef, static: true }) DragDropAreaFixed: ElementRef; diff --git a/projects/ui/src/lib/components/po-field/po-upload/po-upload-drag-drop/po-upload-drag-drop-area/po-upload-drag-drop-area.component.ts b/projects/ui/src/lib/components/po-field/po-upload/po-upload-drag-drop/po-upload-drag-drop-area/po-upload-drag-drop-area.component.ts index 9dbf2d09e7..cc39afdaf0 100644 --- a/projects/ui/src/lib/components/po-field/po-upload/po-upload-drag-drop/po-upload-drag-drop-area/po-upload-drag-drop-area.component.ts +++ b/projects/ui/src/lib/components/po-field/po-upload/po-upload-drag-drop/po-upload-drag-drop-area/po-upload-drag-drop-area.component.ts @@ -3,9 +3,10 @@ import { ChangeDetectionStrategy, Component, ElementRef, EventEmitter, Input, Ou import { PoUploadLiterals } from '../../interfaces/po-upload-literals.interface'; @Component({ - selector: 'po-upload-drag-drop-area', - templateUrl: './po-upload-drag-drop-area.component.html', - changeDetection: ChangeDetectionStrategy.OnPush + selector: 'po-upload-drag-drop-area', + templateUrl: './po-upload-drag-drop-area.component.html', + changeDetection: ChangeDetectionStrategy.OnPush, + standalone: false }) export class PoUploadDragDropAreaComponent { @Input('p-directory-compatible') directoryCompatible: boolean; diff --git a/projects/ui/src/lib/components/po-field/po-upload/po-upload-drag-drop/po-upload-drag-drop.component.ts b/projects/ui/src/lib/components/po-field/po-upload/po-upload-drag-drop/po-upload-drag-drop.component.ts index cc0412231e..cbd0854517 100644 --- a/projects/ui/src/lib/components/po-field/po-upload/po-upload-drag-drop/po-upload-drag-drop.component.ts +++ b/projects/ui/src/lib/components/po-field/po-upload/po-upload-drag-drop/po-upload-drag-drop.component.ts @@ -18,9 +18,10 @@ const PoUploadDragDropHeightDefault = 320; const PoUploadDragDropHeightMin = 160; @Component({ - selector: 'po-upload-drag-drop', - templateUrl: './po-upload-drag-drop.component.html', - changeDetection: ChangeDetectionStrategy.OnPush + selector: 'po-upload-drag-drop', + templateUrl: './po-upload-drag-drop.component.html', + changeDetection: ChangeDetectionStrategy.OnPush, + standalone: false }) export class PoUploadDragDropComponent { @ViewChild('dragDropOverlay', { read: ElementRef }) dragDropOverlayElement: ElementRef; diff --git a/projects/ui/src/lib/components/po-field/po-upload/po-upload-drag-drop/po-upload-drag-drop.directive.spec.ts b/projects/ui/src/lib/components/po-field/po-upload/po-upload-drag-drop/po-upload-drag-drop.directive.spec.ts index efd62a79d7..c51a6f5e4c 100644 --- a/projects/ui/src/lib/components/po-field/po-upload/po-upload-drag-drop/po-upload-drag-drop.directive.spec.ts +++ b/projects/ui/src/lib/components/po-field/po-upload/po-upload-drag-drop/po-upload-drag-drop.directive.spec.ts @@ -5,7 +5,8 @@ import { ComponentFixture, fakeAsync, TestBed, tick } from '@angular/core/testin import { PoUploadDragDropDirective } from './po-upload-drag-drop.directive'; @Component({ - template: `
` + template: `
`, + standalone: false }) export class TestComponent {} diff --git a/projects/ui/src/lib/components/po-field/po-upload/po-upload-drag-drop/po-upload-drag-drop.directive.ts b/projects/ui/src/lib/components/po-field/po-upload/po-upload-drag-drop/po-upload-drag-drop.directive.ts index 74346b47b6..a64a4412e3 100644 --- a/projects/ui/src/lib/components/po-field/po-upload/po-upload-drag-drop/po-upload-drag-drop.directive.ts +++ b/projects/ui/src/lib/components/po-field/po-upload/po-upload-drag-drop/po-upload-drag-drop.directive.ts @@ -5,8 +5,9 @@ import { PoNotificationService } from '../../../../services/po-notification/po-n import { PoUploadLiterals } from '../interfaces/po-upload-literals.interface'; @Directive({ - selector: '[p-upload-drag-drop]', - providers: [PoI18nPipe] + selector: '[p-upload-drag-drop]', + providers: [PoI18nPipe], + standalone: false }) export class PoUploadDragDropDirective { @Input('p-area-element') areaElement: HTMLElement; diff --git a/projects/ui/src/lib/components/po-field/po-upload/po-upload-file-restrictions/po-upload-file-restrictions.component.ts b/projects/ui/src/lib/components/po-field/po-upload/po-upload-file-restrictions/po-upload-file-restrictions.component.ts index 0334cf4b15..36690a6a64 100644 --- a/projects/ui/src/lib/components/po-field/po-upload/po-upload-file-restrictions/po-upload-file-restrictions.component.ts +++ b/projects/ui/src/lib/components/po-field/po-upload/po-upload-file-restrictions/po-upload-file-restrictions.component.ts @@ -7,9 +7,10 @@ import { poLocaleDefault } from '../../../../services/po-language/po-language.co import { poUploadLiteralsDefault } from '../po-upload-base.component'; @Component({ - selector: 'po-upload-file-restrictions', - templateUrl: './po-upload-file-restrictions.component.html', - changeDetection: ChangeDetectionStrategy.OnPush + selector: 'po-upload-file-restrictions', + templateUrl: './po-upload-file-restrictions.component.html', + changeDetection: ChangeDetectionStrategy.OnPush, + standalone: false }) export class PoUploadFileRestrictionsComponent implements OnInit { @Input('p-max-files') maxFiles: number; diff --git a/projects/ui/src/lib/components/po-field/po-upload/po-upload.component.ts b/projects/ui/src/lib/components/po-field/po-upload/po-upload.component.ts index 45c1bae39e..92cac4b64a 100644 --- a/projects/ui/src/lib/components/po-field/po-upload/po-upload.component.ts +++ b/projects/ui/src/lib/components/po-field/po-upload/po-upload.component.ts @@ -49,23 +49,24 @@ import { PoUploadService } from './po-upload.service'; * */ @Component({ - selector: 'po-upload', - templateUrl: './po-upload.component.html', - changeDetection: ChangeDetectionStrategy.OnPush, - providers: [ - PoI18nPipe, - PoUploadService, - { - provide: NG_VALUE_ACCESSOR, - useExisting: forwardRef(() => PoUploadComponent), - multi: true - }, - { - provide: NG_VALIDATORS, - useExisting: forwardRef(() => PoUploadComponent), - multi: true - } - ] + selector: 'po-upload', + templateUrl: './po-upload.component.html', + changeDetection: ChangeDetectionStrategy.OnPush, + providers: [ + PoI18nPipe, + PoUploadService, + { + provide: NG_VALUE_ACCESSOR, + useExisting: forwardRef(() => PoUploadComponent), + multi: true + }, + { + provide: NG_VALIDATORS, + useExisting: forwardRef(() => PoUploadComponent), + multi: true + } + ], + standalone: false }) export class PoUploadComponent extends PoUploadBaseComponent implements AfterViewInit { @ViewChild('inputFile', { read: ElementRef, static: true }) private inputFile: ElementRef; diff --git a/projects/ui/src/lib/components/po-field/po-upload/samples/sample-po-upload-basic/sample-po-upload-basic.component.ts b/projects/ui/src/lib/components/po-field/po-upload/samples/sample-po-upload-basic/sample-po-upload-basic.component.ts index abde6f2446..bf242dcab0 100644 --- a/projects/ui/src/lib/components/po-field/po-upload/samples/sample-po-upload-basic/sample-po-upload-basic.component.ts +++ b/projects/ui/src/lib/components/po-field/po-upload/samples/sample-po-upload-basic/sample-po-upload-basic.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-upload-basic', - templateUrl: 'sample-po-upload-basic.component.html' + selector: 'sample-po-upload-basic', + templateUrl: 'sample-po-upload-basic.component.html', + standalone: false }) export class SamplePoUploadBasicComponent {} diff --git a/projects/ui/src/lib/components/po-field/po-upload/samples/sample-po-upload-labs/sample-po-upload-labs.component.ts b/projects/ui/src/lib/components/po-field/po-upload/samples/sample-po-upload-labs/sample-po-upload-labs.component.ts index 79c9197cd9..e50c065438 100644 --- a/projects/ui/src/lib/components/po-field/po-upload/samples/sample-po-upload-labs/sample-po-upload-labs.component.ts +++ b/projects/ui/src/lib/components/po-field/po-upload/samples/sample-po-upload-labs/sample-po-upload-labs.component.ts @@ -3,8 +3,9 @@ import { Component, OnInit } from '@angular/core'; import { PoCheckboxGroupOption, PoUploadFileRestrictions, PoUploadLiterals } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-upload-labs', - templateUrl: './sample-po-upload-labs.component.html' + selector: 'sample-po-upload-labs', + templateUrl: './sample-po-upload-labs.component.html', + standalone: false }) export class SamplePoUploadLabsComponent implements OnInit { allowedExtensions: string; diff --git a/projects/ui/src/lib/components/po-field/po-upload/samples/sample-po-upload-resume-drag-drop/sample-po-upload-resume-drag-drop.component.ts b/projects/ui/src/lib/components/po-field/po-upload/samples/sample-po-upload-resume-drag-drop/sample-po-upload-resume-drag-drop.component.ts index 4b9e05cc56..cce837d7fe 100644 --- a/projects/ui/src/lib/components/po-field/po-upload/samples/sample-po-upload-resume-drag-drop/sample-po-upload-resume-drag-drop.component.ts +++ b/projects/ui/src/lib/components/po-field/po-upload/samples/sample-po-upload-resume-drag-drop/sample-po-upload-resume-drag-drop.component.ts @@ -4,8 +4,9 @@ import { UntypedFormControl } from '@angular/forms'; import { PoNotificationService } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-upload-resume-drag-drop', - templateUrl: 'sample-po-upload-resume-drag-drop.component.html' + selector: 'sample-po-upload-resume-drag-drop', + templateUrl: 'sample-po-upload-resume-drag-drop.component.html', + standalone: false }) export class SamplePoUploadResumeDragDropComponent implements OnInit { @ViewChild('formOpportunity', { static: true }) formOpportunity: UntypedFormControl; diff --git a/projects/ui/src/lib/components/po-field/po-upload/samples/sample-po-upload-resume/sample-po-upload-resume.component.ts b/projects/ui/src/lib/components/po-field/po-upload/samples/sample-po-upload-resume/sample-po-upload-resume.component.ts index fe661d9826..ee17f0e869 100644 --- a/projects/ui/src/lib/components/po-field/po-upload/samples/sample-po-upload-resume/sample-po-upload-resume.component.ts +++ b/projects/ui/src/lib/components/po-field/po-upload/samples/sample-po-upload-resume/sample-po-upload-resume.component.ts @@ -4,8 +4,9 @@ import { UntypedFormControl } from '@angular/forms'; import { PoNotificationService } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-upload-resume', - templateUrl: 'sample-po-upload-resume.component.html' + selector: 'sample-po-upload-resume', + templateUrl: 'sample-po-upload-resume.component.html', + standalone: false }) export class SamplePoUploadResumeComponent implements OnInit { @ViewChild('formOpportunity', { static: true }) formOpportunity: UntypedFormControl; diff --git a/projects/ui/src/lib/components/po-field/po-upload/samples/sample-po-upload-rs/sample-po-upload-rs.component.ts b/projects/ui/src/lib/components/po-field/po-upload/samples/sample-po-upload-rs/sample-po-upload-rs.component.ts index bd644c1eee..6978eba776 100644 --- a/projects/ui/src/lib/components/po-field/po-upload/samples/sample-po-upload-rs/sample-po-upload-rs.component.ts +++ b/projects/ui/src/lib/components/po-field/po-upload/samples/sample-po-upload-rs/sample-po-upload-rs.component.ts @@ -4,8 +4,9 @@ import { NgForm } from '@angular/forms'; import { PoModalAction, PoModalComponent, PoStepperComponent, PoUploadComponent } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-upload-rs', - templateUrl: 'sample-po-upload-rs.component.html' + selector: 'sample-po-upload-rs', + templateUrl: 'sample-po-upload-rs.component.html', + standalone: false }) export class SamplePoUploadRsComponent implements OnInit { @ViewChild('upload', { static: true }) upload: PoUploadComponent; diff --git a/projects/ui/src/lib/components/po-field/po-url/po-url.component.ts b/projects/ui/src/lib/components/po-field/po-url/po-url.component.ts index 1917c67fc5..d3a7ab9f11 100644 --- a/projects/ui/src/lib/components/po-field/po-url/po-url.component.ts +++ b/projects/ui/src/lib/components/po-field/po-url/po-url.component.ts @@ -38,21 +38,22 @@ import { PoInputGeneric } from '../po-input-generic/po-input-generic'; * */ @Component({ - selector: 'po-url', - templateUrl: '../po-input/po-input.component.html', - changeDetection: ChangeDetectionStrategy.OnPush, - providers: [ - { - provide: NG_VALUE_ACCESSOR, - useExisting: forwardRef(() => PoUrlComponent), - multi: true - }, - { - provide: NG_VALIDATORS, - useExisting: forwardRef(() => PoUrlComponent), - multi: true - } - ] + selector: 'po-url', + templateUrl: '../po-input/po-input.component.html', + changeDetection: ChangeDetectionStrategy.OnPush, + providers: [ + { + provide: NG_VALUE_ACCESSOR, + useExisting: forwardRef(() => PoUrlComponent), + multi: true + }, + { + provide: NG_VALIDATORS, + useExisting: forwardRef(() => PoUrlComponent), + multi: true + } + ], + standalone: false }) export class PoUrlComponent extends PoInputGeneric implements AfterViewInit, OnDestroy { id = `po-url[${uuid()}]`; diff --git a/projects/ui/src/lib/components/po-field/po-url/samples/sample-po-url-basic/sample-po-url-basic.component.ts b/projects/ui/src/lib/components/po-field/po-url/samples/sample-po-url-basic/sample-po-url-basic.component.ts index 1b7a9d9b8b..32687f950e 100644 --- a/projects/ui/src/lib/components/po-field/po-url/samples/sample-po-url-basic/sample-po-url-basic.component.ts +++ b/projects/ui/src/lib/components/po-field/po-url/samples/sample-po-url-basic/sample-po-url-basic.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-url-basic', - templateUrl: './sample-po-url-basic.component.html' + selector: 'sample-po-url-basic', + templateUrl: './sample-po-url-basic.component.html', + standalone: false }) export class SamplePoUrlBasicComponent {} diff --git a/projects/ui/src/lib/components/po-field/po-url/samples/sample-po-url-labs/sample-po-url-labs.component.ts b/projects/ui/src/lib/components/po-field/po-url/samples/sample-po-url-labs/sample-po-url-labs.component.ts index 3852fa9ccc..848f449a30 100644 --- a/projects/ui/src/lib/components/po-field/po-url/samples/sample-po-url-labs/sample-po-url-labs.component.ts +++ b/projects/ui/src/lib/components/po-field/po-url/samples/sample-po-url-labs/sample-po-url-labs.component.ts @@ -3,8 +3,9 @@ import { Component, OnInit } from '@angular/core'; import { PoCheckboxGroupOption } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-url-labs', - templateUrl: './sample-po-url-labs.component.html' + selector: 'sample-po-url-labs', + templateUrl: './sample-po-url-labs.component.html', + standalone: false }) export class SamplePoUrlLabsComponent implements OnInit { errorPattern: string; diff --git a/projects/ui/src/lib/components/po-field/po-url/samples/sample-po-url-shortener/sample-po-url-shortener.component.ts b/projects/ui/src/lib/components/po-field/po-url/samples/sample-po-url-shortener/sample-po-url-shortener.component.ts index fbe3eb6ffb..cb7248aa79 100644 --- a/projects/ui/src/lib/components/po-field/po-url/samples/sample-po-url-shortener/sample-po-url-shortener.component.ts +++ b/projects/ui/src/lib/components/po-field/po-url/samples/sample-po-url-shortener/sample-po-url-shortener.component.ts @@ -3,8 +3,9 @@ import { Component, ElementRef, ViewChild } from '@angular/core'; import { PoNotificationService, PoTableColumn } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-url-shortener', - templateUrl: './sample-po-url-shortener.component.html' + selector: 'sample-po-url-shortener', + templateUrl: './sample-po-url-shortener.component.html', + standalone: false }) export class SamplePoUrlShortenerComponent { @ViewChild('boxUrl', { read: ElementRef, static: true }) boxUrlElement; diff --git a/projects/ui/src/lib/components/po-gauge/po-gauge-description/po-gauge-description.component.ts b/projects/ui/src/lib/components/po-gauge/po-gauge-description/po-gauge-description.component.ts index d01b74de5a..41723f9e3e 100644 --- a/projects/ui/src/lib/components/po-gauge/po-gauge-description/po-gauge-description.component.ts +++ b/projects/ui/src/lib/components/po-gauge/po-gauge-description/po-gauge-description.component.ts @@ -1,8 +1,9 @@ import { Component, ElementRef, Input, ViewChild } from '@angular/core'; @Component({ - selector: 'po-gauge-description', - templateUrl: './po-gauge-description.component.html' + selector: 'po-gauge-description', + templateUrl: './po-gauge-description.component.html', + standalone: false }) export class PoGaugeDescriptionComponent { @Input('p-description') description: string; diff --git a/projects/ui/src/lib/components/po-gauge/po-gauge-legend/po-gauge-legend.component.ts b/projects/ui/src/lib/components/po-gauge/po-gauge-legend/po-gauge-legend.component.ts index 4418bd6e81..63a492ac42 100644 --- a/projects/ui/src/lib/components/po-gauge/po-gauge-legend/po-gauge-legend.component.ts +++ b/projects/ui/src/lib/components/po-gauge/po-gauge-legend/po-gauge-legend.component.ts @@ -3,8 +3,9 @@ import { Component, Input } from '@angular/core'; import { PoGaugeRanges } from '../interfaces/po-gauge-ranges.interface'; @Component({ - selector: 'po-gauge-legend', - templateUrl: './po-gauge-legend.component.html' + selector: 'po-gauge-legend', + templateUrl: './po-gauge-legend.component.html', + standalone: false }) export class PoGaugeLegendComponent { private _ranges: Array; diff --git a/projects/ui/src/lib/components/po-gauge/po-gauge-svg/po-gauge-path/po-gauge-path.component.ts b/projects/ui/src/lib/components/po-gauge/po-gauge-svg/po-gauge-path/po-gauge-path.component.ts index 47b91fe841..f6925955fc 100644 --- a/projects/ui/src/lib/components/po-gauge/po-gauge-svg/po-gauge-path/po-gauge-path.component.ts +++ b/projects/ui/src/lib/components/po-gauge/po-gauge-svg/po-gauge-path/po-gauge-path.component.ts @@ -3,8 +3,9 @@ import { Component, Input } from '@angular/core'; import { PoGaugeCoordinates } from '../../interfaces/po-gauge-coordinates.interface'; @Component({ - selector: '[po-gauge-path]', - templateUrl: './po-gauge-path.component.svg' + selector: '[po-gauge-path]', + templateUrl: './po-gauge-path.component.svg', + standalone: false }) export class PoGaugePathComponent { @Input('p-base-coordinates') baseCoordinates: PoGaugeCoordinates; diff --git a/projects/ui/src/lib/components/po-gauge/po-gauge-svg/po-gauge-pointer/po-gauge-pointer.component.ts b/projects/ui/src/lib/components/po-gauge/po-gauge-svg/po-gauge-pointer/po-gauge-pointer.component.ts index cda760c813..339fbc68c9 100644 --- a/projects/ui/src/lib/components/po-gauge/po-gauge-svg/po-gauge-pointer/po-gauge-pointer.component.ts +++ b/projects/ui/src/lib/components/po-gauge/po-gauge-svg/po-gauge-pointer/po-gauge-pointer.component.ts @@ -2,8 +2,9 @@ import { AfterViewInit, Component, ElementRef, Input, Renderer2, ViewChild } fro import { PoGaugeCoordinates } from '../../interfaces/po-gauge-coordinates.interface'; @Component({ - selector: '[po-gauge-pointer]', - templateUrl: './po-gauge-pointer.component.svg' + selector: '[po-gauge-pointer]', + templateUrl: './po-gauge-pointer.component.svg', + standalone: false }) export class PoGaugePointerComponent implements AfterViewInit { @ViewChild('pointer') pointer: ElementRef; diff --git a/projects/ui/src/lib/components/po-gauge/po-gauge-svg/po-gauge-svg.component.ts b/projects/ui/src/lib/components/po-gauge/po-gauge-svg/po-gauge-svg.component.ts index 81108eb95e..30ad0985ad 100644 --- a/projects/ui/src/lib/components/po-gauge/po-gauge-svg/po-gauge-svg.component.ts +++ b/projects/ui/src/lib/components/po-gauge/po-gauge-svg/po-gauge-svg.component.ts @@ -11,8 +11,9 @@ import { PoGaugeSvgContainer } from '../interfaces/po-gauge-svg-container.interf export const poGaugeStartAngle = -Math.PI; @Component({ - selector: 'po-gauge-svg', - templateUrl: './po-gauge-svg.component.html' + selector: 'po-gauge-svg', + templateUrl: './po-gauge-svg.component.html', + standalone: false }) export class PoGaugeSvgComponent implements OnChanges { @Input('p-container') container: PoGaugeSvgContainer; diff --git a/projects/ui/src/lib/components/po-gauge/po-gauge-title/po-gauge-title.component.ts b/projects/ui/src/lib/components/po-gauge/po-gauge-title/po-gauge-title.component.ts index d87b5a759b..5f42ea5816 100644 --- a/projects/ui/src/lib/components/po-gauge/po-gauge-title/po-gauge-title.component.ts +++ b/projects/ui/src/lib/components/po-gauge/po-gauge-title/po-gauge-title.component.ts @@ -1,8 +1,9 @@ import { Component, Input, OnInit } from '@angular/core'; @Component({ - selector: 'po-gauge-title', - templateUrl: './po-gauge-title.component.html' + selector: 'po-gauge-title', + templateUrl: './po-gauge-title.component.html', + standalone: false }) export class PoGaugeTitleComponent { @Input('p-title') title?: string; diff --git a/projects/ui/src/lib/components/po-gauge/po-gauge.component.ts b/projects/ui/src/lib/components/po-gauge/po-gauge.component.ts index 64fbe77ed6..3416b00533 100644 --- a/projects/ui/src/lib/components/po-gauge/po-gauge.component.ts +++ b/projects/ui/src/lib/components/po-gauge/po-gauge.component.ts @@ -26,8 +26,9 @@ import { PoGaugeSvgContainer } from './interfaces/po-gauge-svg-container.interfa * */ @Component({ - selector: 'po-gauge', - templateUrl: './po-gauge.component.html' + selector: 'po-gauge', + templateUrl: './po-gauge.component.html', + standalone: false }) export class PoGaugeComponent extends PoGaugeBaseComponent implements DoCheck { @ViewChild('descriptionEl', { read: ElementRef }) descriptionEl: ElementRef; diff --git a/projects/ui/src/lib/components/po-gauge/samples/sample-po-gauge-basic/sample-po-gauge-basic.component.ts b/projects/ui/src/lib/components/po-gauge/samples/sample-po-gauge-basic/sample-po-gauge-basic.component.ts index cbacc1cfa7..303820045c 100644 --- a/projects/ui/src/lib/components/po-gauge/samples/sample-po-gauge-basic/sample-po-gauge-basic.component.ts +++ b/projects/ui/src/lib/components/po-gauge/samples/sample-po-gauge-basic/sample-po-gauge-basic.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-gauge-basic', - templateUrl: './sample-po-gauge-basic.component.html' + selector: 'sample-po-gauge-basic', + templateUrl: './sample-po-gauge-basic.component.html', + standalone: false }) export class SamplePoGaugeBasicComponent {} diff --git a/projects/ui/src/lib/components/po-gauge/samples/sample-po-gauge-labs/sample-po-gauge-labs.component.ts b/projects/ui/src/lib/components/po-gauge/samples/sample-po-gauge-labs/sample-po-gauge-labs.component.ts index 9269412349..7dc5cb8933 100644 --- a/projects/ui/src/lib/components/po-gauge/samples/sample-po-gauge-labs/sample-po-gauge-labs.component.ts +++ b/projects/ui/src/lib/components/po-gauge/samples/sample-po-gauge-labs/sample-po-gauge-labs.component.ts @@ -3,8 +3,9 @@ import { Component, OnInit } from '@angular/core'; import { PoGaugeRanges } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-gauge-labs', - templateUrl: './sample-po-gauge-labs.component.html' + selector: 'sample-po-gauge-labs', + templateUrl: './sample-po-gauge-labs.component.html', + standalone: false }) export class SamplePoGaugeLabsComponent implements OnInit { description: string; diff --git a/projects/ui/src/lib/components/po-gauge/samples/sample-po-gauge-summary/sample-po-gauge-summary.component.ts b/projects/ui/src/lib/components/po-gauge/samples/sample-po-gauge-summary/sample-po-gauge-summary.component.ts index 14e7f81d13..878340c6b5 100644 --- a/projects/ui/src/lib/components/po-gauge/samples/sample-po-gauge-summary/sample-po-gauge-summary.component.ts +++ b/projects/ui/src/lib/components/po-gauge/samples/sample-po-gauge-summary/sample-po-gauge-summary.component.ts @@ -3,8 +3,9 @@ import { Component } from '@angular/core'; import { PoGaugeRanges } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-gauge-summary', - templateUrl: './sample-po-gauge-summary.component.html' + selector: 'sample-po-gauge-summary', + templateUrl: './sample-po-gauge-summary.component.html', + standalone: false }) export class SamplePoGaugeSummaryComponent { salesRanges: Array = [ diff --git a/projects/ui/src/lib/components/po-grid/po-grid-cell-action/po-grid-cell-action.component.ts b/projects/ui/src/lib/components/po-grid/po-grid-cell-action/po-grid-cell-action.component.ts index 5695bb0fd4..6d4f77bb54 100644 --- a/projects/ui/src/lib/components/po-grid/po-grid-cell-action/po-grid-cell-action.component.ts +++ b/projects/ui/src/lib/components/po-grid/po-grid-cell-action/po-grid-cell-action.component.ts @@ -1,8 +1,9 @@ import { Component, Input } from '@angular/core'; @Component({ - selector: 'po-grid-cell-action', - templateUrl: './po-grid-cell-action.component.html' + selector: 'po-grid-cell-action', + templateUrl: './po-grid-cell-action.component.html', + standalone: false }) export class PoGridCellActionComponent { @Input('p-position') position?: string = ''; diff --git a/projects/ui/src/lib/components/po-grid/po-grid-cell/po-grid-cell.component.ts b/projects/ui/src/lib/components/po-grid/po-grid-cell/po-grid-cell.component.ts index 8e1d16ab84..77b6353f53 100644 --- a/projects/ui/src/lib/components/po-grid/po-grid-cell/po-grid-cell.component.ts +++ b/projects/ui/src/lib/components/po-grid/po-grid-cell/po-grid-cell.component.ts @@ -1,8 +1,9 @@ import { Component, Input, ViewChild, ElementRef, ChangeDetectorRef, Output, EventEmitter } from '@angular/core'; @Component({ - selector: 'po-grid-cell', - templateUrl: './po-grid-cell.component.html' + selector: 'po-grid-cell', + templateUrl: './po-grid-cell.component.html', + standalone: false }) export class PoGridCellComponent { @Input('p-align') align?: string = 'left'; diff --git a/projects/ui/src/lib/components/po-grid/po-grid-head/po-grid-head.component.ts b/projects/ui/src/lib/components/po-grid/po-grid-head/po-grid-head.component.ts index cf3090d6e4..cbe97fce9a 100644 --- a/projects/ui/src/lib/components/po-grid/po-grid-head/po-grid-head.component.ts +++ b/projects/ui/src/lib/components/po-grid/po-grid-head/po-grid-head.component.ts @@ -1,8 +1,9 @@ import { Component, Input } from '@angular/core'; @Component({ - selector: 'po-grid-head', - templateUrl: './po-grid-head.component.html' + selector: 'po-grid-head', + templateUrl: './po-grid-head.component.html', + standalone: false }) export class PoGridHeadComponent { @Input('p-align') align?: string = 'left'; diff --git a/projects/ui/src/lib/components/po-grid/po-grid.component.ts b/projects/ui/src/lib/components/po-grid/po-grid.component.ts index deb730ce31..a5f9d49ca2 100644 --- a/projects/ui/src/lib/components/po-grid/po-grid.component.ts +++ b/projects/ui/src/lib/components/po-grid/po-grid.component.ts @@ -32,8 +32,9 @@ import { PoGridRowActions } from './po-grid-row-actions.interface'; * */ @Component({ - selector: 'po-grid', - templateUrl: './po-grid.component.html' + selector: 'po-grid', + templateUrl: './po-grid.component.html', + standalone: false }) export class PoGridComponent implements OnDestroy { @ViewChild('table', { static: true }) tableElement: ElementRef; diff --git a/projects/ui/src/lib/components/po-grid/samples/sample-po-grid-basic/sample-po-grid-basic.component.ts b/projects/ui/src/lib/components/po-grid/samples/sample-po-grid-basic/sample-po-grid-basic.component.ts index ace8f078db..75f5255ff8 100644 --- a/projects/ui/src/lib/components/po-grid/samples/sample-po-grid-basic/sample-po-grid-basic.component.ts +++ b/projects/ui/src/lib/components/po-grid/samples/sample-po-grid-basic/sample-po-grid-basic.component.ts @@ -1,8 +1,9 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-grid-basic', - templateUrl: './sample-po-grid-basic.component.html' + selector: 'sample-po-grid-basic', + templateUrl: './sample-po-grid-basic.component.html', + standalone: false }) export class SamplePoGridBasicComponent { rowActions = { diff --git a/projects/ui/src/lib/components/po-icon/po-icon.component.ts b/projects/ui/src/lib/components/po-icon/po-icon.component.ts index 2c2a86385e..88d1ee3b2f 100644 --- a/projects/ui/src/lib/components/po-icon/po-icon.component.ts +++ b/projects/ui/src/lib/components/po-icon/po-icon.component.ts @@ -10,9 +10,10 @@ import { ICONS_DICTIONARY, PhosphorIconDictionary } from './po-icon-dictionary'; * Permite a exibição de ícones. */ @Component({ - selector: 'po-icon', - templateUrl: './po-icon.component.html', - changeDetection: ChangeDetectionStrategy.OnPush + selector: 'po-icon', + templateUrl: './po-icon.component.html', + changeDetection: ChangeDetectionStrategy.OnPush, + standalone: false }) export class PoIconComponent { class: string; diff --git a/projects/ui/src/lib/components/po-image/po-image.component.ts b/projects/ui/src/lib/components/po-image/po-image.component.ts index 53a9973f0d..ec07035137 100644 --- a/projects/ui/src/lib/components/po-image/po-image.component.ts +++ b/projects/ui/src/lib/components/po-image/po-image.component.ts @@ -24,7 +24,8 @@ import { PoImageBaseComponent } from './po-image-base.component'; */ @Component({ - selector: 'po-image', - templateUrl: './po-image.component.html' + selector: 'po-image', + templateUrl: './po-image.component.html', + standalone: false }) export class PoImageComponent extends PoImageBaseComponent {} diff --git a/projects/ui/src/lib/components/po-image/samples/sample-po-image-basic/sample-po-image-basic.component.ts b/projects/ui/src/lib/components/po-image/samples/sample-po-image-basic/sample-po-image-basic.component.ts index 277e0ee789..b1decfcf18 100644 --- a/projects/ui/src/lib/components/po-image/samples/sample-po-image-basic/sample-po-image-basic.component.ts +++ b/projects/ui/src/lib/components/po-image/samples/sample-po-image-basic/sample-po-image-basic.component.ts @@ -1,8 +1,9 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-image-basic', - templateUrl: './sample-po-image-basic.component.html' + selector: 'sample-po-image-basic', + templateUrl: './sample-po-image-basic.component.html', + standalone: false }) export class SamplePoImageBasicComponent { srcImage = 'https://raw.githubusercontent.com/po-ui/po-angular/master/docs/assets/po-logos/po_color_bg.svg'; diff --git a/projects/ui/src/lib/components/po-image/samples/sample-po-image-labs/sample-po-image-labs.component.ts b/projects/ui/src/lib/components/po-image/samples/sample-po-image-labs/sample-po-image-labs.component.ts index c4e1d3973f..98fc5c4d47 100644 --- a/projects/ui/src/lib/components/po-image/samples/sample-po-image-labs/sample-po-image-labs.component.ts +++ b/projects/ui/src/lib/components/po-image/samples/sample-po-image-labs/sample-po-image-labs.component.ts @@ -1,8 +1,9 @@ import { Component, OnInit } from '@angular/core'; @Component({ - selector: 'sample-po-image-labs', - templateUrl: './sample-po-image-labs.component.html' + selector: 'sample-po-image-labs', + templateUrl: './sample-po-image-labs.component.html', + standalone: false }) export class SamplePoImageLabsComponent implements OnInit { alt: string; diff --git a/projects/ui/src/lib/components/po-image/samples/sample-po-image-travel/sample-po-image-travel.component.ts b/projects/ui/src/lib/components/po-image/samples/sample-po-image-travel/sample-po-image-travel.component.ts index 3071d90118..372cdcdef2 100644 --- a/projects/ui/src/lib/components/po-image/samples/sample-po-image-travel/sample-po-image-travel.component.ts +++ b/projects/ui/src/lib/components/po-image/samples/sample-po-image-travel/sample-po-image-travel.component.ts @@ -3,8 +3,9 @@ import { NgForm } from '@angular/forms'; import { PoDatepickerComponent, PoNotificationService, PoSelectOption } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-image-travel', - templateUrl: './sample-po-image-travel.component.html' + selector: 'sample-po-image-travel', + templateUrl: './sample-po-image-travel.component.html', + standalone: false }) export class SamplePoImageTravelComponent { @ViewChild('bookingForm', { static: true }) form: NgForm; diff --git a/projects/ui/src/lib/components/po-info/po-info.component.ts b/projects/ui/src/lib/components/po-info/po-info.component.ts index 9bd46f1a16..04f45ec7a3 100644 --- a/projects/ui/src/lib/components/po-info/po-info.component.ts +++ b/projects/ui/src/lib/components/po-info/po-info.component.ts @@ -25,9 +25,10 @@ import { PoInfoBaseComponent } from './po-info-base.component'; * */ @Component({ - selector: 'po-info', - templateUrl: './po-info.component.html', - changeDetection: ChangeDetectionStrategy.OnPush + selector: 'po-info', + templateUrl: './po-info.component.html', + changeDetection: ChangeDetectionStrategy.OnPush, + standalone: false }) export class PoInfoComponent extends PoInfoBaseComponent { get isExternalLink() { diff --git a/projects/ui/src/lib/components/po-info/samples/sample-po-info-basic/sample-po-info-basic.component.ts b/projects/ui/src/lib/components/po-info/samples/sample-po-info-basic/sample-po-info-basic.component.ts index 8276e580d7..6cf485ad25 100644 --- a/projects/ui/src/lib/components/po-info/samples/sample-po-info-basic/sample-po-info-basic.component.ts +++ b/projects/ui/src/lib/components/po-info/samples/sample-po-info-basic/sample-po-info-basic.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-info-basic', - templateUrl: './sample-po-info-basic.component.html' + selector: 'sample-po-info-basic', + templateUrl: './sample-po-info-basic.component.html', + standalone: false }) export class SamplePoInfoBasicComponent {} diff --git a/projects/ui/src/lib/components/po-info/samples/sample-po-info-labs/sample-po-info-labs.component.ts b/projects/ui/src/lib/components/po-info/samples/sample-po-info-labs/sample-po-info-labs.component.ts index 91b65aa015..a30001d720 100644 --- a/projects/ui/src/lib/components/po-info/samples/sample-po-info-labs/sample-po-info-labs.component.ts +++ b/projects/ui/src/lib/components/po-info/samples/sample-po-info-labs/sample-po-info-labs.component.ts @@ -3,8 +3,9 @@ import { Component, OnInit } from '@angular/core'; import { PoInfoOrientation, PoRadioGroupOption } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-info-labs', - templateUrl: './sample-po-info-labs.component.html' + selector: 'sample-po-info-labs', + templateUrl: './sample-po-info-labs.component.html', + standalone: false }) export class SamplePoInfoLabsComponent implements OnInit { label: string; diff --git a/projects/ui/src/lib/components/po-label/po-label.component.ts b/projects/ui/src/lib/components/po-label/po-label.component.ts index 30573003ea..afb708b113 100644 --- a/projects/ui/src/lib/components/po-label/po-label.component.ts +++ b/projects/ui/src/lib/components/po-label/po-label.component.ts @@ -8,8 +8,9 @@ import { convertToBoolean } from '../../utils/util'; */ @Component({ - selector: 'po-label', - templateUrl: './po-label.component.html' + selector: 'po-label', + templateUrl: './po-label.component.html', + standalone: false }) export class PoLabelComponent { private _disabled?: boolean = false; diff --git a/projects/ui/src/lib/components/po-link/po-link.component.ts b/projects/ui/src/lib/components/po-link/po-link.component.ts index af0899f08f..2b11b7553f 100644 --- a/projects/ui/src/lib/components/po-link/po-link.component.ts +++ b/projects/ui/src/lib/components/po-link/po-link.component.ts @@ -23,8 +23,9 @@ import { PoLinkBaseComponent } from './po-link-base.component'; * */ @Component({ - selector: 'po-link', - templateUrl: './po-link.component.html' + selector: 'po-link', + templateUrl: './po-link.component.html', + standalone: false }) export class PoLinkComponent extends PoLinkBaseComponent { onClick() { diff --git a/projects/ui/src/lib/components/po-link/samples/sample-po-link-basic/sample-po-link-basic.component.ts b/projects/ui/src/lib/components/po-link/samples/sample-po-link-basic/sample-po-link-basic.component.ts index fe28aeb99b..057733fe86 100644 --- a/projects/ui/src/lib/components/po-link/samples/sample-po-link-basic/sample-po-link-basic.component.ts +++ b/projects/ui/src/lib/components/po-link/samples/sample-po-link-basic/sample-po-link-basic.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-link-basic', - templateUrl: './sample-po-link-basic.component.html' + selector: 'sample-po-link-basic', + templateUrl: './sample-po-link-basic.component.html', + standalone: false }) export class SamplePoLinkBasicComponent {} diff --git a/projects/ui/src/lib/components/po-link/samples/sample-po-link-heroes/sample-po-link-heroes.component.ts b/projects/ui/src/lib/components/po-link/samples/sample-po-link-heroes/sample-po-link-heroes.component.ts index 84839304a5..9058af04b0 100644 --- a/projects/ui/src/lib/components/po-link/samples/sample-po-link-heroes/sample-po-link-heroes.component.ts +++ b/projects/ui/src/lib/components/po-link/samples/sample-po-link-heroes/sample-po-link-heroes.component.ts @@ -3,8 +3,9 @@ import { Component, ViewChild } from '@angular/core'; import { PoTableColumn, PoModalComponent } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-link-heroes', - templateUrl: './sample-po-link-heroes.component.html' + selector: 'sample-po-link-heroes', + templateUrl: './sample-po-link-heroes.component.html', + standalone: false }) export class SamplePoLinkHeroesComponent { @ViewChild(PoModalComponent, { static: true }) poModal: PoModalComponent; diff --git a/projects/ui/src/lib/components/po-link/samples/sample-po-link-labs/sample-po-link-labs.component.ts b/projects/ui/src/lib/components/po-link/samples/sample-po-link-labs/sample-po-link-labs.component.ts index fcd919604d..1a6accacf2 100644 --- a/projects/ui/src/lib/components/po-link/samples/sample-po-link-labs/sample-po-link-labs.component.ts +++ b/projects/ui/src/lib/components/po-link/samples/sample-po-link-labs/sample-po-link-labs.component.ts @@ -1,8 +1,9 @@ import { Component, OnInit } from '@angular/core'; @Component({ - selector: 'sample-po-link-labs', - templateUrl: './sample-po-link-labs.component.html' + selector: 'sample-po-link-labs', + templateUrl: './sample-po-link-labs.component.html', + standalone: false }) export class SamplePoLinkLabsComponent implements OnInit { url: string; diff --git a/projects/ui/src/lib/components/po-list-view/po-list-view-content-template/po-list-view-content-template.directive.ts b/projects/ui/src/lib/components/po-list-view/po-list-view-content-template/po-list-view-content-template.directive.ts index 254da9ad85..8e4883d9b9 100644 --- a/projects/ui/src/lib/components/po-list-view/po-list-view-content-template/po-list-view-content-template.directive.ts +++ b/projects/ui/src/lib/components/po-list-view/po-list-view-content-template/po-list-view-content-template.directive.ts @@ -83,7 +83,8 @@ import { Directive, Input, TemplateRef } from '@angular/core'; * ``` */ @Directive({ - selector: '[p-list-view-content-template]' + selector: '[p-list-view-content-template]', + standalone: false }) export class PoListViewContentTemplateDirective { /** diff --git a/projects/ui/src/lib/components/po-list-view/po-list-view-detail-template/po-list-view-detail-template.directive.ts b/projects/ui/src/lib/components/po-list-view/po-list-view-detail-template/po-list-view-detail-template.directive.ts index fb51569f4b..dba058979a 100644 --- a/projects/ui/src/lib/components/po-list-view/po-list-view-detail-template/po-list-view-detail-template.directive.ts +++ b/projects/ui/src/lib/components/po-list-view/po-list-view-detail-template/po-list-view-detail-template.directive.ts @@ -46,7 +46,8 @@ import { Directive, TemplateRef, Input } from '@angular/core'; * ``` */ @Directive({ - selector: '[p-list-view-detail-template]' + selector: '[p-list-view-detail-template]', + standalone: false }) export class PoListViewDetailTemplateDirective { /** diff --git a/projects/ui/src/lib/components/po-list-view/po-list-view.component.ts b/projects/ui/src/lib/components/po-list-view/po-list-view.component.ts index 50c0ee9354..f306790b5a 100644 --- a/projects/ui/src/lib/components/po-list-view/po-list-view.component.ts +++ b/projects/ui/src/lib/components/po-list-view/po-list-view.component.ts @@ -40,16 +40,17 @@ import { PoListViewDetailTemplateDirective } from './po-list-view-detail-templat * */ @Component({ - selector: 'po-list-view', - templateUrl: './po-list-view.component.html', - animations: [ - trigger('showHideDetail', [ - state('*', style({ 'overflow-y': 'visible' })), - state('void', style({ 'overflow-y': 'hidden' })), - transition('* => void', [style({ height: '*', 'overflow-y': 'hidden' }), animate(100, style({ height: 0 }))]), - transition('void => *', [style({ height: '0' }), animate(100, style({ height: '*' }))]) - ]) - ] + selector: 'po-list-view', + templateUrl: './po-list-view.component.html', + animations: [ + trigger('showHideDetail', [ + state('*', style({ 'overflow-y': 'visible' })), + state('void', style({ 'overflow-y': 'hidden' })), + transition('* => void', [style({ height: '*', 'overflow-y': 'hidden' }), animate(100, style({ height: 0 }))]), + transition('void => *', [style({ height: '0' }), animate(100, style({ height: '*' }))]) + ]) + ], + standalone: false }) export class PoListViewComponent extends PoListViewBaseComponent implements AfterContentInit, DoCheck { @ContentChild(PoListViewContentTemplateDirective, { static: true }) diff --git a/projects/ui/src/lib/components/po-list-view/samples/sample-po-list-view-basic/sample-po-list-view-basic.component.ts b/projects/ui/src/lib/components/po-list-view/samples/sample-po-list-view-basic/sample-po-list-view-basic.component.ts index acb2d6948a..90370752ec 100644 --- a/projects/ui/src/lib/components/po-list-view/samples/sample-po-list-view-basic/sample-po-list-view-basic.component.ts +++ b/projects/ui/src/lib/components/po-list-view/samples/sample-po-list-view-basic/sample-po-list-view-basic.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-list-view-basic', - templateUrl: './sample-po-list-view-basic.component.html' + selector: 'sample-po-list-view-basic', + templateUrl: './sample-po-list-view-basic.component.html', + standalone: false }) export class SamplePoListViewBasicComponent {} diff --git a/projects/ui/src/lib/components/po-list-view/samples/sample-po-list-view-hiring-processes/sample-po-list-view-hiring-processes.component.ts b/projects/ui/src/lib/components/po-list-view/samples/sample-po-list-view-hiring-processes/sample-po-list-view-hiring-processes.component.ts index 30bf2bda24..9e4d430c06 100644 --- a/projects/ui/src/lib/components/po-list-view/samples/sample-po-list-view-hiring-processes/sample-po-list-view-hiring-processes.component.ts +++ b/projects/ui/src/lib/components/po-list-view/samples/sample-po-list-view-hiring-processes/sample-po-list-view-hiring-processes.component.ts @@ -11,9 +11,10 @@ import { import { SamplePoListViewHiringProcessesService } from './sample-po-list-view-hiring-processes.service'; @Component({ - selector: 'sample-po-list-view-hiring-processes', - templateUrl: 'sample-po-list-view-hiring-processes.component.html', - providers: [SamplePoListViewHiringProcessesService] + selector: 'sample-po-list-view-hiring-processes', + templateUrl: 'sample-po-list-view-hiring-processes.component.html', + providers: [SamplePoListViewHiringProcessesService], + standalone: false }) export class SamplePoListViewHiringProcessesComponent implements OnInit { @ViewChild('detailsModal', { static: true }) detailsModalElement: PoModalComponent; diff --git a/projects/ui/src/lib/components/po-list-view/samples/sample-po-list-view-labs/sample-po-list-view-labs.component.ts b/projects/ui/src/lib/components/po-list-view/samples/sample-po-list-view-labs/sample-po-list-view-labs.component.ts index 1af0c22540..d7ae70bd13 100644 --- a/projects/ui/src/lib/components/po-list-view/samples/sample-po-list-view-labs/sample-po-list-view-labs.component.ts +++ b/projects/ui/src/lib/components/po-list-view/samples/sample-po-list-view-labs/sample-po-list-view-labs.component.ts @@ -9,8 +9,9 @@ import { } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-list-view-labs', - templateUrl: './sample-po-list-view-labs.component.html' + selector: 'sample-po-list-view-labs', + templateUrl: './sample-po-list-view-labs.component.html', + standalone: false }) export class SamplePoListViewLabsComponent implements OnInit { action: PoListViewAction; diff --git a/projects/ui/src/lib/components/po-listbox/po-item-list/po-item-list.component.ts b/projects/ui/src/lib/components/po-listbox/po-item-list/po-item-list.component.ts index a3933c2c74..8732acf366 100644 --- a/projects/ui/src/lib/components/po-listbox/po-item-list/po-item-list.component.ts +++ b/projects/ui/src/lib/components/po-listbox/po-item-list/po-item-list.component.ts @@ -7,8 +7,9 @@ import { PoItemListBaseComponent } from './po-item-list-base.component'; import { PoItemListFilterMode } from '../enums/po-item-list-filter-mode.enum'; @Component({ - selector: 'po-item-list', - templateUrl: './po-item-list.component.html' + selector: 'po-item-list', + templateUrl: './po-item-list.component.html', + standalone: false }) export class PoItemListComponent extends PoItemListBaseComponent implements OnChanges { @ViewChild('itemList', { static: true }) itemList: ElementRef; diff --git a/projects/ui/src/lib/components/po-listbox/po-listbox.component.ts b/projects/ui/src/lib/components/po-listbox/po-listbox.component.ts index 4288e9e93c..e2de3f3b5d 100644 --- a/projects/ui/src/lib/components/po-listbox/po-listbox.component.ts +++ b/projects/ui/src/lib/components/po-listbox/po-listbox.component.ts @@ -21,8 +21,9 @@ import { PoSearchListComponent } from './po-search-list/po-search-list.component import { Observable, Subscription, debounceTime, fromEvent } from 'rxjs'; @Component({ - selector: 'po-listbox', - templateUrl: './po-listbox.component.html' + selector: 'po-listbox', + templateUrl: './po-listbox.component.html', + standalone: false }) export class PoListBoxComponent extends PoListBoxBaseComponent implements AfterViewInit, OnChanges, OnDestroy { @ViewChild('listbox', { static: true }) listbox: ElementRef; diff --git a/projects/ui/src/lib/components/po-listbox/po-search-list/po-search-list.component.ts b/projects/ui/src/lib/components/po-listbox/po-search-list/po-search-list.component.ts index 8f7078cad1..d0de492400 100644 --- a/projects/ui/src/lib/components/po-listbox/po-search-list/po-search-list.component.ts +++ b/projects/ui/src/lib/components/po-listbox/po-search-list/po-search-list.component.ts @@ -18,9 +18,10 @@ import { PoListBoxLiterals } from '../interfaces/po-listbox-literals.interface'; * Componente de pesquisa que será criado dentro do search do `po-listbox`. */ @Component({ - selector: 'po-search-list', - templateUrl: './po-search-list.component.html', - changeDetection: ChangeDetectionStrategy.OnPush + selector: 'po-search-list', + templateUrl: './po-search-list.component.html', + changeDetection: ChangeDetectionStrategy.OnPush, + standalone: false }) export class PoSearchListComponent { @ViewChild('inputElement', { read: ElementRef, static: true }) inputElement: ElementRef; diff --git a/projects/ui/src/lib/components/po-loading/po-loading-icon/po-loading-icon.component.ts b/projects/ui/src/lib/components/po-loading/po-loading-icon/po-loading-icon.component.ts index 98accf8a8d..56ba936abc 100644 --- a/projects/ui/src/lib/components/po-loading/po-loading-icon/po-loading-icon.component.ts +++ b/projects/ui/src/lib/components/po-loading/po-loading-icon/po-loading-icon.component.ts @@ -12,8 +12,9 @@ import { PoLoadingIconSize } from './po-loading-icon-size-enum'; * É possível alterá-la para um tom cinza conforme a necessidade. */ @Component({ - selector: 'po-loading-icon', - templateUrl: 'po-loading-icon.component.html' + selector: 'po-loading-icon', + templateUrl: 'po-loading-icon.component.html', + standalone: false }) export class PoLoadingIconComponent { private _neutralColor: boolean; diff --git a/projects/ui/src/lib/components/po-loading/po-loading-overlay/po-loading-overlay.component.ts b/projects/ui/src/lib/components/po-loading/po-loading-overlay/po-loading-overlay.component.ts index 7ad9e5a368..f47fec02e8 100644 --- a/projects/ui/src/lib/components/po-loading/po-loading-overlay/po-loading-overlay.component.ts +++ b/projects/ui/src/lib/components/po-loading/po-loading-overlay/po-loading-overlay.component.ts @@ -26,8 +26,9 @@ import { PoLoadingOverlayBaseComponent } from './po-loading-overlay-base.compone * */ @Component({ - selector: 'po-loading-overlay', - templateUrl: 'po-loading-overlay.component.html' + selector: 'po-loading-overlay', + templateUrl: 'po-loading-overlay.component.html', + standalone: false }) export class PoLoadingOverlayComponent extends PoLoadingOverlayBaseComponent { constructor( diff --git a/projects/ui/src/lib/components/po-loading/po-loading-overlay/samples/sample-po-loading-overlay-basic/sample-po-loading-overlay-basic.component.ts b/projects/ui/src/lib/components/po-loading/po-loading-overlay/samples/sample-po-loading-overlay-basic/sample-po-loading-overlay-basic.component.ts index 2696cd1d7b..42b068c2c1 100644 --- a/projects/ui/src/lib/components/po-loading/po-loading-overlay/samples/sample-po-loading-overlay-basic/sample-po-loading-overlay-basic.component.ts +++ b/projects/ui/src/lib/components/po-loading/po-loading-overlay/samples/sample-po-loading-overlay-basic/sample-po-loading-overlay-basic.component.ts @@ -1,15 +1,16 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-loading-overlay-basic', - templateUrl: './sample-po-loading-overlay-basic.component.html', - styles: [ - ` + selector: 'sample-po-loading-overlay-basic', + templateUrl: './sample-po-loading-overlay-basic.component.html', + styles: [ + ` .sample-container { position: relative; height: 300px; } ` - ] + ], + standalone: false }) export class SamplePoLoadingOverlayBasicComponent {} diff --git a/projects/ui/src/lib/components/po-loading/po-loading-overlay/samples/sample-po-loading-overlay-connection-test/sample-po-loading-overlay-connection-test.component.ts b/projects/ui/src/lib/components/po-loading/po-loading-overlay/samples/sample-po-loading-overlay-connection-test/sample-po-loading-overlay-connection-test.component.ts index e34add5ee7..1873759cf1 100644 --- a/projects/ui/src/lib/components/po-loading/po-loading-overlay/samples/sample-po-loading-overlay-connection-test/sample-po-loading-overlay-connection-test.component.ts +++ b/projects/ui/src/lib/components/po-loading/po-loading-overlay/samples/sample-po-loading-overlay-connection-test/sample-po-loading-overlay-connection-test.component.ts @@ -3,8 +3,9 @@ import { Component } from '@angular/core'; import { PoNotificationService } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-loading-overlay-connection-test', - templateUrl: 'sample-po-loading-overlay-connection-test.component.html' + selector: 'sample-po-loading-overlay-connection-test', + templateUrl: 'sample-po-loading-overlay-connection-test.component.html', + standalone: false }) export class SamplePoLoadingOverlayConnectionTestComponent { environment = { diff --git a/projects/ui/src/lib/components/po-loading/po-loading-overlay/samples/sample-po-loading-overlay-labs/sample-po-loading-overlay-labs.component.ts b/projects/ui/src/lib/components/po-loading/po-loading-overlay/samples/sample-po-loading-overlay-labs/sample-po-loading-overlay-labs.component.ts index d5ae1c9c2d..d07bd518a0 100644 --- a/projects/ui/src/lib/components/po-loading/po-loading-overlay/samples/sample-po-loading-overlay-labs/sample-po-loading-overlay-labs.component.ts +++ b/projects/ui/src/lib/components/po-loading/po-loading-overlay/samples/sample-po-loading-overlay-labs/sample-po-loading-overlay-labs.component.ts @@ -3,16 +3,17 @@ import { Component, OnInit } from '@angular/core'; import { PoCheckboxGroupOption, PoRadioGroupOption } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-loading-overlay-labs', - templateUrl: './sample-po-loading-overlay-labs.component.html', - styles: [ - ` + selector: 'sample-po-loading-overlay-labs', + templateUrl: './sample-po-loading-overlay-labs.component.html', + styles: [ + ` .sample-container { position: relative; height: 300px; } ` - ] + ], + standalone: false }) export class SamplePoLoadingOverlayLabsComponent implements OnInit { properties: Array = []; diff --git a/projects/ui/src/lib/components/po-loading/po-loading.component.ts b/projects/ui/src/lib/components/po-loading/po-loading.component.ts index 6c73b1cc39..986b23e3bb 100644 --- a/projects/ui/src/lib/components/po-loading/po-loading.component.ts +++ b/projects/ui/src/lib/components/po-loading/po-loading.component.ts @@ -8,7 +8,8 @@ import { PoLoadingBaseComponent } from './po-loading-base.component'; * @docsExtends PoLoadingBaseComponent */ @Component({ - selector: 'po-loading', - templateUrl: 'po-loading.component.html' + selector: 'po-loading', + templateUrl: 'po-loading.component.html', + standalone: false }) export class PoLoadingComponent extends PoLoadingBaseComponent {} diff --git a/projects/ui/src/lib/components/po-logo/po-logo.component.ts b/projects/ui/src/lib/components/po-logo/po-logo.component.ts index cddca57e74..fef16350b8 100644 --- a/projects/ui/src/lib/components/po-logo/po-logo.component.ts +++ b/projects/ui/src/lib/components/po-logo/po-logo.component.ts @@ -21,8 +21,9 @@ const poLogoLiteralsDefault = { const MAX_LENGHT: number = 125; @Component({ - selector: 'po-logo', - templateUrl: './po-logo.component.html' + selector: 'po-logo', + templateUrl: './po-logo.component.html', + standalone: false }) export class PoLogoComponent { readonly literals: any; diff --git a/projects/ui/src/lib/components/po-menu-panel/po-menu-panel-item/po-menu-panel-item.component.ts b/projects/ui/src/lib/components/po-menu-panel/po-menu-panel-item/po-menu-panel-item.component.ts index 9192b7b886..710748b426 100644 --- a/projects/ui/src/lib/components/po-menu-panel/po-menu-panel-item/po-menu-panel-item.component.ts +++ b/projects/ui/src/lib/components/po-menu-panel/po-menu-panel-item/po-menu-panel-item.component.ts @@ -13,8 +13,9 @@ import { PoMenuPanelItemsService } from '../services/po-menu-panel-items.service * Componente que implementa cada item do po-menu-panel. */ @Component({ - selector: 'po-menu-panel-item', - templateUrl: './po-menu-panel-item.component.html' + selector: 'po-menu-panel-item', + templateUrl: './po-menu-panel-item.component.html', + standalone: false }) export class PoMenuPanelItemComponent implements OnDestroy, OnInit { @Input('p-menu-item-internal') menuItemInternal: PoMenuPanelItemInternal; diff --git a/projects/ui/src/lib/components/po-menu-panel/po-menu-panel.component.spec.ts b/projects/ui/src/lib/components/po-menu-panel/po-menu-panel.component.spec.ts index 647dbe0245..78c72f0981 100644 --- a/projects/ui/src/lib/components/po-menu-panel/po-menu-panel.component.spec.ts +++ b/projects/ui/src/lib/components/po-menu-panel/po-menu-panel.component.spec.ts @@ -10,10 +10,16 @@ import { PoMenuPanelItemComponent } from './po-menu-panel-item/po-menu-panel-ite import { PoMenuPanelComponent } from './po-menu-panel.component'; import { PoMenuPanelItemsService } from './services/po-menu-panel-items.service'; -@Component({ template: 'Search' }) +@Component({ + template: 'Search', + standalone: false +}) export class SearchComponent {} -@Component({ template: 'Home' }) +@Component({ + template: 'Home', + standalone: false +}) export class HomeComponent {} export const routes: Routes = [ diff --git a/projects/ui/src/lib/components/po-menu-panel/po-menu-panel.component.ts b/projects/ui/src/lib/components/po-menu-panel/po-menu-panel.component.ts index 3b1ad9dc57..472aa971e5 100644 --- a/projects/ui/src/lib/components/po-menu-panel/po-menu-panel.component.ts +++ b/projects/ui/src/lib/components/po-menu-panel/po-menu-panel.component.ts @@ -80,8 +80,9 @@ import { PoMenuPanelItemsService } from './services/po-menu-panel-items.service' */ @Component({ - selector: 'po-menu-panel', - templateUrl: './po-menu-panel.component.html' + selector: 'po-menu-panel', + templateUrl: './po-menu-panel.component.html', + standalone: false }) export class PoMenuPanelComponent extends PoMenuPanelBaseComponent implements OnDestroy, OnInit { activeMenuItem: PoMenuPanelItem; diff --git a/projects/ui/src/lib/components/po-menu-panel/samples/sample-po-menu-panel-basic/sample-po-menu-panel-basic.component.ts b/projects/ui/src/lib/components/po-menu-panel/samples/sample-po-menu-panel-basic/sample-po-menu-panel-basic.component.ts index ae844aefc1..e937d18807 100644 --- a/projects/ui/src/lib/components/po-menu-panel/samples/sample-po-menu-panel-basic/sample-po-menu-panel-basic.component.ts +++ b/projects/ui/src/lib/components/po-menu-panel/samples/sample-po-menu-panel-basic/sample-po-menu-panel-basic.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-menu-panel-basic', - templateUrl: './sample-po-menu-panel-basic.component.html' + selector: 'sample-po-menu-panel-basic', + templateUrl: './sample-po-menu-panel-basic.component.html', + standalone: false }) export class SamplePoMenuPanelBasicComponent {} diff --git a/projects/ui/src/lib/components/po-menu-panel/samples/sample-po-menu-panel-customer/sample-po-menu-panel-customer.component.ts b/projects/ui/src/lib/components/po-menu-panel/samples/sample-po-menu-panel-customer/sample-po-menu-panel-customer.component.ts index 604a60eb72..61081396a4 100644 --- a/projects/ui/src/lib/components/po-menu-panel/samples/sample-po-menu-panel-customer/sample-po-menu-panel-customer.component.ts +++ b/projects/ui/src/lib/components/po-menu-panel/samples/sample-po-menu-panel-customer/sample-po-menu-panel-customer.component.ts @@ -3,8 +3,9 @@ import { Component } from '@angular/core'; import { PoMenuPanelItem } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-menu-panel-customer', - templateUrl: './sample-po-menu-panel-customer.component.html' + selector: 'sample-po-menu-panel-customer', + templateUrl: './sample-po-menu-panel-customer.component.html', + standalone: false }) export class SamplePoMenuPanelCustomerComponent { title: string = 'Customers'; diff --git a/projects/ui/src/lib/components/po-menu-panel/samples/sample-po-menu-panel-labs/sample-po-menu-panel-labs.component.ts b/projects/ui/src/lib/components/po-menu-panel/samples/sample-po-menu-panel-labs/sample-po-menu-panel-labs.component.ts index daa8136ea6..e39ce27450 100644 --- a/projects/ui/src/lib/components/po-menu-panel/samples/sample-po-menu-panel-labs/sample-po-menu-panel-labs.component.ts +++ b/projects/ui/src/lib/components/po-menu-panel/samples/sample-po-menu-panel-labs/sample-po-menu-panel-labs.component.ts @@ -3,8 +3,9 @@ import { Component, OnInit } from '@angular/core'; import { PoMenuPanelItem, PoRadioGroupOption } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-menu-panel-labs', - templateUrl: './sample-po-menu-panel-labs.component.html' + selector: 'sample-po-menu-panel-labs', + templateUrl: './sample-po-menu-panel-labs.component.html', + standalone: false }) export class SamplePoMenuPanelLabsComponent implements OnInit { menuItem: PoMenuPanelItem = { icon: undefined, label: undefined }; diff --git a/projects/ui/src/lib/components/po-menu/po-menu-filter/po-menu-filter.component.ts b/projects/ui/src/lib/components/po-menu/po-menu-filter/po-menu-filter.component.ts index b232e930f7..6c2356144e 100644 --- a/projects/ui/src/lib/components/po-menu/po-menu-filter/po-menu-filter.component.ts +++ b/projects/ui/src/lib/components/po-menu/po-menu-filter/po-menu-filter.component.ts @@ -17,8 +17,9 @@ export const poMenuFilterLiteralsDefault = { * Componente que apresenta o campo de pesquisa no po-menu. */ @Component({ - selector: 'po-menu-filter', - templateUrl: './po-menu-filter.component.html' + selector: 'po-menu-filter', + templateUrl: './po-menu-filter.component.html', + standalone: false }) export class PoMenuFilterComponent { @Input('p-loading') loading: boolean; diff --git a/projects/ui/src/lib/components/po-menu/po-menu-header-template/po-menu-header-template.directive.ts b/projects/ui/src/lib/components/po-menu/po-menu-header-template/po-menu-header-template.directive.ts index ef6cb7a9e7..4d2b51bd16 100644 --- a/projects/ui/src/lib/components/po-menu/po-menu-header-template/po-menu-header-template.directive.ts +++ b/projects/ui/src/lib/components/po-menu/po-menu-header-template/po-menu-header-template.directive.ts @@ -36,7 +36,8 @@ import { Directive, TemplateRef } from '@angular/core'; * > Quando o menu estiver colapsado ou tela for _mobile_ o conteúdo personalizado não será exibido. */ @Directive({ - selector: '[p-menu-header-template]' + selector: '[p-menu-header-template]', + standalone: false }) export class PoMenuHeaderTemplateDirective { // Necessário manter templateRef para o funcionamento do row template. diff --git a/projects/ui/src/lib/components/po-menu/po-menu-item/po-menu-item.component.spec.ts b/projects/ui/src/lib/components/po-menu/po-menu-item/po-menu-item.component.spec.ts index ff8fdb55dc..6de37d92dc 100644 --- a/projects/ui/src/lib/components/po-menu/po-menu-item/po-menu-item.component.spec.ts +++ b/projects/ui/src/lib/components/po-menu/po-menu-item/po-menu-item.component.spec.ts @@ -12,10 +12,16 @@ import { PoIconModule } from '../../po-icon/po-icon.module'; import { PoMenuItemsService } from '../services/po-menu-items.service'; import { PoMenuItemComponent } from './po-menu-item.component'; -@Component({ template: 'Search' }) +@Component({ + template: 'Search', + standalone: false +}) export class SearchComponent {} -@Component({ template: 'Home' }) +@Component({ + template: 'Home', + standalone: false +}) export class HomeComponent {} export const routes: Routes = [ diff --git a/projects/ui/src/lib/components/po-menu/po-menu-item/po-menu-item.component.ts b/projects/ui/src/lib/components/po-menu/po-menu-item/po-menu-item.component.ts index 060443d7c5..7f7ad1d25c 100644 --- a/projects/ui/src/lib/components/po-menu/po-menu-item/po-menu-item.component.ts +++ b/projects/ui/src/lib/components/po-menu/po-menu-item/po-menu-item.component.ts @@ -18,8 +18,9 @@ const poMenuItemSubItemSize = 98; * Componente que implementa cada item do po-menu. */ @Component({ - selector: 'po-menu-item', - templateUrl: './po-menu-item.component.html' + selector: 'po-menu-item', + templateUrl: './po-menu-item.component.html', + standalone: false }) export class PoMenuItemComponent implements OnDestroy, OnInit { // Ação que será chamada ao clicar no item. diff --git a/projects/ui/src/lib/components/po-menu/po-menu.component.spec.ts b/projects/ui/src/lib/components/po-menu/po-menu.component.spec.ts index 995d918b08..5b75d0542a 100644 --- a/projects/ui/src/lib/components/po-menu/po-menu.component.spec.ts +++ b/projects/ui/src/lib/components/po-menu/po-menu.component.spec.ts @@ -21,10 +21,16 @@ import { PoMenuItemsService } from './services/po-menu-items.service'; import { PoMenuService } from './services/po-menu.service'; import { provideHttpClient, withInterceptorsFromDi } from '@angular/common/http'; -@Component({ template: 'Search' }) +@Component({ + template: 'Search', + standalone: false +}) export class SearchComponent {} -@Component({ template: 'Home' }) +@Component({ + template: 'Home', + standalone: false +}) export class HomeComponent {} export const routes: Routes = [ diff --git a/projects/ui/src/lib/components/po-menu/po-menu.component.ts b/projects/ui/src/lib/components/po-menu/po-menu.component.ts index 1cf2f32130..e0e776e81e 100644 --- a/projects/ui/src/lib/components/po-menu/po-menu.component.ts +++ b/projects/ui/src/lib/components/po-menu/po-menu.component.ts @@ -113,9 +113,10 @@ const poMenuRootLevel = 1; * */ @Component({ - selector: 'po-menu', - templateUrl: './po-menu.component.html', - providers: [PoMenuItemsService, PoMenuService] + selector: 'po-menu', + templateUrl: './po-menu.component.html', + providers: [PoMenuItemsService, PoMenuService], + standalone: false }) export class PoMenuComponent extends PoMenuBaseComponent implements AfterViewInit, OnDestroy, OnInit, DoCheck { @ContentChild(PoMenuHeaderTemplateDirective, { static: true }) menuHeaderTemplate: PoMenuHeaderTemplateDirective; diff --git a/projects/ui/src/lib/components/po-menu/samples/sample-po-menu-basic/sample-po-menu-basic.component.ts b/projects/ui/src/lib/components/po-menu/samples/sample-po-menu-basic/sample-po-menu-basic.component.ts index 476d0e222d..52702a4142 100644 --- a/projects/ui/src/lib/components/po-menu/samples/sample-po-menu-basic/sample-po-menu-basic.component.ts +++ b/projects/ui/src/lib/components/po-menu/samples/sample-po-menu-basic/sample-po-menu-basic.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-menu-basic', - templateUrl: './sample-po-menu-basic.component.html' + selector: 'sample-po-menu-basic', + templateUrl: './sample-po-menu-basic.component.html', + standalone: false }) export class SamplePoMenuBasicComponent {} diff --git a/projects/ui/src/lib/components/po-menu/samples/sample-po-menu-human-resources/sample-po-menu-human-resources.component.ts b/projects/ui/src/lib/components/po-menu/samples/sample-po-menu-human-resources/sample-po-menu-human-resources.component.ts index 3975ce2b0f..873c154d73 100644 --- a/projects/ui/src/lib/components/po-menu/samples/sample-po-menu-human-resources/sample-po-menu-human-resources.component.ts +++ b/projects/ui/src/lib/components/po-menu/samples/sample-po-menu-human-resources/sample-po-menu-human-resources.component.ts @@ -5,16 +5,17 @@ import { PoMenuItem } from '@po-ui/ng-components'; import { SamplePoMenuHumanResourcesService } from './sample-po-menu-human-resources.service'; @Component({ - selector: 'sample-po-menu-human-resources', - templateUrl: './sample-po-menu-human-resources.component.html', - providers: [SamplePoMenuHumanResourcesService], - styles: [ - ` + selector: 'sample-po-menu-human-resources', + templateUrl: './sample-po-menu-human-resources.component.html', + providers: [SamplePoMenuHumanResourcesService], + styles: [ + ` .sample-menu-header-text-color { color: #9da7a9; } ` - ] + ], + standalone: false }) export class SamplePoMenuHumanResourcesComponent { menuItemSelected: string; diff --git a/projects/ui/src/lib/components/po-menu/samples/sample-po-menu-labs/sample-po-menu-labs.component.ts b/projects/ui/src/lib/components/po-menu/samples/sample-po-menu-labs/sample-po-menu-labs.component.ts index 15f6211615..10ca131606 100644 --- a/projects/ui/src/lib/components/po-menu/samples/sample-po-menu-labs/sample-po-menu-labs.component.ts +++ b/projects/ui/src/lib/components/po-menu/samples/sample-po-menu-labs/sample-po-menu-labs.component.ts @@ -3,10 +3,10 @@ import { ChangeDetectorRef, Component, OnInit, ViewChild } from '@angular/core'; import { PoButtonGroupItem, PoMenuComponent, PoMenuItem, PoSelectOption } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-menu-labs', - templateUrl: './sample-po-menu-labs.component.html', - styles: [ - ` + selector: 'sample-po-menu-labs', + templateUrl: './sample-po-menu-labs.component.html', + styles: [ + ` .sample-menu-circle { border-radius: 14px; display: inline-block; @@ -18,7 +18,8 @@ import { PoButtonGroupItem, PoMenuComponent, PoMenuItem, PoSelectOption } from ' vertical-align: middle; } ` - ] + ], + standalone: false }) export class SamplePoMenuLabsComponent implements OnInit { @ViewChild(PoMenuComponent, { static: true }) menu: PoMenuComponent; diff --git a/projects/ui/src/lib/components/po-modal/po-modal-footer/po-modal-footer.component.ts b/projects/ui/src/lib/components/po-modal/po-modal-footer/po-modal-footer.component.ts index 7e5225c896..c2b2168ba3 100644 --- a/projects/ui/src/lib/components/po-modal/po-modal-footer/po-modal-footer.component.ts +++ b/projects/ui/src/lib/components/po-modal/po-modal-footer/po-modal-footer.component.ts @@ -17,8 +17,9 @@ import { Component, Input } from '@angular/core'; * ``` */ @Component({ - selector: 'po-modal-footer', - templateUrl: './po-modal-footer.component.html' + selector: 'po-modal-footer', + templateUrl: './po-modal-footer.component.html', + standalone: false }) export class PoModalFooterComponent { /** diff --git a/projects/ui/src/lib/components/po-modal/po-modal.component.spec.ts b/projects/ui/src/lib/components/po-modal/po-modal.component.spec.ts index ff7963156c..f10f44345e 100644 --- a/projects/ui/src/lib/components/po-modal/po-modal.component.spec.ts +++ b/projects/ui/src/lib/components/po-modal/po-modal.component.spec.ts @@ -17,14 +17,15 @@ import { PoModalComponent } from './po-modal.component'; import { PoModalFooterComponent } from '.'; @Component({ - template: ` + template: `
- ` + `, + standalone: false }) class ContentProjectionComponent { @ViewChild(PoModalComponent, { static: true }) poModal; diff --git a/projects/ui/src/lib/components/po-modal/po-modal.component.ts b/projects/ui/src/lib/components/po-modal/po-modal.component.ts index ceb6e35644..5a7f570390 100644 --- a/projects/ui/src/lib/components/po-modal/po-modal.component.ts +++ b/projects/ui/src/lib/components/po-modal/po-modal.component.ts @@ -29,8 +29,9 @@ import { PoLanguageService } from '../../services/po-language/po-language.servic */ @Component({ - selector: 'po-modal', - templateUrl: './po-modal.component.html' + selector: 'po-modal', + templateUrl: './po-modal.component.html', + standalone: false }) export class PoModalComponent extends PoModalBaseComponent { @ViewChild('modalContent', { read: ElementRef }) modalContent: ElementRef; diff --git a/projects/ui/src/lib/components/po-modal/samples/sample-po-modal-basic/sample-po-modal-basic.component.ts b/projects/ui/src/lib/components/po-modal/samples/sample-po-modal-basic/sample-po-modal-basic.component.ts index 1305d3ea66..858157c117 100644 --- a/projects/ui/src/lib/components/po-modal/samples/sample-po-modal-basic/sample-po-modal-basic.component.ts +++ b/projects/ui/src/lib/components/po-modal/samples/sample-po-modal-basic/sample-po-modal-basic.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-modal-basic', - templateUrl: './sample-po-modal-basic.component.html' + selector: 'sample-po-modal-basic', + templateUrl: './sample-po-modal-basic.component.html', + standalone: false }) export class SamplePoModalBasicComponent {} diff --git a/projects/ui/src/lib/components/po-modal/samples/sample-po-modal-fruits-salad/sample-po-modal-fruits-salad.component.ts b/projects/ui/src/lib/components/po-modal/samples/sample-po-modal-fruits-salad/sample-po-modal-fruits-salad.component.ts index e0b04329cc..e99a62c84d 100644 --- a/projects/ui/src/lib/components/po-modal/samples/sample-po-modal-fruits-salad/sample-po-modal-fruits-salad.component.ts +++ b/projects/ui/src/lib/components/po-modal/samples/sample-po-modal-fruits-salad/sample-po-modal-fruits-salad.component.ts @@ -8,8 +8,9 @@ import { PoNotificationService } from '@po-ui/ng-components'; import { PoModalComponent } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-modal-fruits-salad', - templateUrl: './sample-po-modal-fruits-salad.component.html' + selector: 'sample-po-modal-fruits-salad', + templateUrl: './sample-po-modal-fruits-salad.component.html', + standalone: false }) export class SamplePoModalFruitsSaladComponent { @ViewChild('optionsForm', { static: true }) form: NgForm; diff --git a/projects/ui/src/lib/components/po-modal/samples/sample-po-modal-labs/sample-po-modal-labs.component.ts b/projects/ui/src/lib/components/po-modal/samples/sample-po-modal-labs/sample-po-modal-labs.component.ts index 5a41e1dd84..fade0b7b2c 100644 --- a/projects/ui/src/lib/components/po-modal/samples/sample-po-modal-labs/sample-po-modal-labs.component.ts +++ b/projects/ui/src/lib/components/po-modal/samples/sample-po-modal-labs/sample-po-modal-labs.component.ts @@ -9,8 +9,9 @@ import { } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-modal-labs', - templateUrl: './sample-po-modal-labs.component.html' + selector: 'sample-po-modal-labs', + templateUrl: './sample-po-modal-labs.component.html', + standalone: false }) export class SamplePoModalLabsComponent implements OnInit { @ViewChild(PoModalComponent, { static: true }) poModal: PoModalComponent; diff --git a/projects/ui/src/lib/components/po-navbar/po-navbar-actions/po-navbar-action-popup/po-navbar-action-popup.component.ts b/projects/ui/src/lib/components/po-navbar/po-navbar-actions/po-navbar-action-popup/po-navbar-action-popup.component.ts index 1b507ef544..ca0bbffb31 100644 --- a/projects/ui/src/lib/components/po-navbar/po-navbar-actions/po-navbar-action-popup/po-navbar-action-popup.component.ts +++ b/projects/ui/src/lib/components/po-navbar/po-navbar-actions/po-navbar-action-popup/po-navbar-action-popup.component.ts @@ -3,8 +3,9 @@ import { Component, Input } from '@angular/core'; import { PoNavbarIconAction } from '../../interfaces/po-navbar-icon-action.interface'; @Component({ - selector: 'po-navbar-action-popup', - templateUrl: './po-navbar-action-popup.component.html' + selector: 'po-navbar-action-popup', + templateUrl: './po-navbar-action-popup.component.html', + standalone: false }) export class PoNavbarActionPopupComponent { @Input('p-icon-actions') iconActions: Array; diff --git a/projects/ui/src/lib/components/po-navbar/po-navbar-actions/po-navbar-action/po-navbar-action.component.ts b/projects/ui/src/lib/components/po-navbar/po-navbar-actions/po-navbar-action/po-navbar-action.component.ts index d97c9574cf..ecfea304d4 100644 --- a/projects/ui/src/lib/components/po-navbar/po-navbar-actions/po-navbar-action/po-navbar-action.component.ts +++ b/projects/ui/src/lib/components/po-navbar/po-navbar-actions/po-navbar-action/po-navbar-action.component.ts @@ -4,8 +4,9 @@ import { Router } from '@angular/router'; import { callFunction, isExternalLink, openExternalLink } from '../../../../utils/util'; @Component({ - selector: 'po-navbar-action', - templateUrl: './po-navbar-action.component.html' + selector: 'po-navbar-action', + templateUrl: './po-navbar-action.component.html', + standalone: false }) export class PoNavbarActionComponent { @Input('p-action') action?: Function; diff --git a/projects/ui/src/lib/components/po-navbar/po-navbar-actions/po-navbar-actions.component.ts b/projects/ui/src/lib/components/po-navbar/po-navbar-actions/po-navbar-actions.component.ts index 61f0c38ba3..37a098acdd 100644 --- a/projects/ui/src/lib/components/po-navbar/po-navbar-actions/po-navbar-actions.component.ts +++ b/projects/ui/src/lib/components/po-navbar/po-navbar-actions/po-navbar-actions.component.ts @@ -3,8 +3,9 @@ import { Component, Input } from '@angular/core'; import { PoNavbarIconAction } from '../interfaces/po-navbar-icon-action.interface'; @Component({ - selector: 'po-navbar-actions', - templateUrl: './po-navbar-actions.component.html' + selector: 'po-navbar-actions', + templateUrl: './po-navbar-actions.component.html', + standalone: false }) export class PoNavbarActionsComponent { private _iconActions: Array; diff --git a/projects/ui/src/lib/components/po-navbar/po-navbar-item-navigation/po-navbar-item-navigation-icon/po-navbar-item-navigation-icon.component.ts b/projects/ui/src/lib/components/po-navbar/po-navbar-item-navigation/po-navbar-item-navigation-icon/po-navbar-item-navigation-icon.component.ts index cefeffff65..2d67528554 100644 --- a/projects/ui/src/lib/components/po-navbar/po-navbar-item-navigation/po-navbar-item-navigation-icon/po-navbar-item-navigation-icon.component.ts +++ b/projects/ui/src/lib/components/po-navbar/po-navbar-item-navigation/po-navbar-item-navigation-icon/po-navbar-item-navigation-icon.component.ts @@ -1,8 +1,9 @@ import { Component, EventEmitter, Input, Output } from '@angular/core'; @Component({ - selector: 'po-navbar-item-navigation-icon', - templateUrl: './po-navbar-item-navigation-icon.component.html' + selector: 'po-navbar-item-navigation-icon', + templateUrl: './po-navbar-item-navigation-icon.component.html', + standalone: false }) export class PoNavbarItemNavigationIconComponent { @Input('p-disabled') disabled: boolean; diff --git a/projects/ui/src/lib/components/po-navbar/po-navbar-item-navigation/po-navbar-item-navigation.component.ts b/projects/ui/src/lib/components/po-navbar/po-navbar-item-navigation/po-navbar-item-navigation.component.ts index 75e0c81d71..e983634791 100644 --- a/projects/ui/src/lib/components/po-navbar/po-navbar-item-navigation/po-navbar-item-navigation.component.ts +++ b/projects/ui/src/lib/components/po-navbar/po-navbar-item-navigation/po-navbar-item-navigation.component.ts @@ -1,8 +1,9 @@ import { Component, EventEmitter, Input, Output } from '@angular/core'; @Component({ - selector: 'po-navbar-item-navigation', - templateUrl: './po-navbar-item-navigation.component.html' + selector: 'po-navbar-item-navigation', + templateUrl: './po-navbar-item-navigation.component.html', + standalone: false }) export class PoNavbarItemNavigationComponent { @Input('p-disable-left') disableLeft: boolean; diff --git a/projects/ui/src/lib/components/po-navbar/po-navbar-items/po-navbar-item/po-navbar-item.component.ts b/projects/ui/src/lib/components/po-navbar/po-navbar-items/po-navbar-item/po-navbar-item.component.ts index 2873944116..a5e1d57657 100644 --- a/projects/ui/src/lib/components/po-navbar/po-navbar-items/po-navbar-item/po-navbar-item.component.ts +++ b/projects/ui/src/lib/components/po-navbar/po-navbar-items/po-navbar-item/po-navbar-item.component.ts @@ -5,8 +5,9 @@ import { PoNavbarItem } from '../../interfaces/po-navbar-item.interface'; import { isExternalLink } from '../../../../utils/util'; @Component({ - selector: 'po-navbar-item', - templateUrl: './po-navbar-item.component.html' + selector: 'po-navbar-item', + templateUrl: './po-navbar-item.component.html', + standalone: false }) export class PoNavbarItemComponent { @Input('p-action') action: Function; diff --git a/projects/ui/src/lib/components/po-navbar/po-navbar-items/po-navbar-items.component.ts b/projects/ui/src/lib/components/po-navbar/po-navbar-items/po-navbar-items.component.ts index ea2ff4d510..1771edba5c 100644 --- a/projects/ui/src/lib/components/po-navbar/po-navbar-items/po-navbar-items.component.ts +++ b/projects/ui/src/lib/components/po-navbar/po-navbar-items/po-navbar-items.component.ts @@ -7,8 +7,9 @@ import { PoNavbarItem } from '../interfaces/po-navbar-item.interface'; import { PoNavbarItemComponent } from './po-navbar-item/po-navbar-item.component'; @Component({ - selector: 'po-navbar-items', - templateUrl: './po-navbar-items.component.html' + selector: 'po-navbar-items', + templateUrl: './po-navbar-items.component.html', + standalone: false }) export class PoNavbarItemsComponent implements OnInit, OnDestroy { @ViewChild('navbarItemsContainer', { read: ElementRef, static: true }) navbarItemsContainer: ElementRef; diff --git a/projects/ui/src/lib/components/po-navbar/po-navbar-logo/po-navbar-logo.component.ts b/projects/ui/src/lib/components/po-navbar/po-navbar-logo/po-navbar-logo.component.ts index 445602ad46..e503dbeb6f 100644 --- a/projects/ui/src/lib/components/po-navbar/po-navbar-logo/po-navbar-logo.component.ts +++ b/projects/ui/src/lib/components/po-navbar/po-navbar-logo/po-navbar-logo.component.ts @@ -1,8 +1,9 @@ import { Component, Input } from '@angular/core'; @Component({ - selector: 'po-navbar-logo', - templateUrl: './po-navbar-logo.component.html' + selector: 'po-navbar-logo', + templateUrl: './po-navbar-logo.component.html', + standalone: false }) export class PoNavbarLogoComponent { @Input('p-logo') logo?: string; diff --git a/projects/ui/src/lib/components/po-navbar/po-navbar.component.ts b/projects/ui/src/lib/components/po-navbar/po-navbar.component.ts index ea40255e35..3f553235d5 100644 --- a/projects/ui/src/lib/components/po-navbar/po-navbar.component.ts +++ b/projects/ui/src/lib/components/po-navbar/po-navbar.component.ts @@ -32,8 +32,9 @@ const poNavbarTiming = '250ms ease'; * @docsExtends PoNavbarBaseComponent */ @Component({ - selector: 'po-navbar', - templateUrl: './po-navbar.component.html' + selector: 'po-navbar', + templateUrl: './po-navbar.component.html', + standalone: false }) export class PoNavbarComponent extends PoNavbarBaseComponent implements AfterViewInit, OnDestroy, OnInit { @ViewChild(PoNavbarItemsComponent, { read: ElementRef, static: true }) navbarItemsElement: ElementRef; diff --git a/projects/ui/src/lib/components/po-overlay/po-overlay.component.ts b/projects/ui/src/lib/components/po-overlay/po-overlay.component.ts index 78680ed8c8..e3973a066f 100644 --- a/projects/ui/src/lib/components/po-overlay/po-overlay.component.ts +++ b/projects/ui/src/lib/components/po-overlay/po-overlay.component.ts @@ -2,7 +2,8 @@ import { Component } from '@angular/core'; import { PoOverlayBaseComponent } from './po-overlay-base.component'; @Component({ - selector: 'po-overlay', - templateUrl: './po-overlay.component.html' + selector: 'po-overlay', + templateUrl: './po-overlay.component.html', + standalone: false }) export class PoOverlayComponent extends PoOverlayBaseComponent {} diff --git a/projects/ui/src/lib/components/po-page/po-page-content/po-page-content.component.spec.ts b/projects/ui/src/lib/components/po-page/po-page-content/po-page-content.component.spec.ts index 6b5aee91c6..30c4cd9105 100644 --- a/projects/ui/src/lib/components/po-page/po-page-content/po-page-content.component.spec.ts +++ b/projects/ui/src/lib/components/po-page/po-page-content/po-page-content.component.spec.ts @@ -6,13 +6,13 @@ import { changeBrowserInnerWidth, configureTestSuite } from '../../../util-test/ import { PoPageContentComponent } from './po-page-content.component'; @Component({ - selector: 'po-page-content-div', - template: ` + selector: 'po-page-content-div', + template: `
`, - styles: [ - ` + styles: [ + ` .po-page-header { height: 100px; width: 100%; @@ -22,7 +22,8 @@ import { PoPageContentComponent } from './po-page-content.component'; width: 100%; } ` - ] + ], + standalone: false }) class ContentDivComponent {} diff --git a/projects/ui/src/lib/components/po-page/po-page-content/po-page-content.component.ts b/projects/ui/src/lib/components/po-page/po-page-content/po-page-content.component.ts index 7b6d2eaf4c..ab4ed15e29 100644 --- a/projects/ui/src/lib/components/po-page/po-page-content/po-page-content.component.ts +++ b/projects/ui/src/lib/components/po-page/po-page-content/po-page-content.component.ts @@ -8,8 +8,9 @@ import { PoPageContentBaseComponent } from './po-page-content-base.component'; * @docsExtends PoPageContentBaseComponent */ @Component({ - selector: 'po-page-content', - templateUrl: './po-page-content.component.html' + selector: 'po-page-content', + templateUrl: './po-page-content.component.html', + standalone: false }) export class PoPageContentComponent extends PoPageContentBaseComponent implements AfterViewInit, OnDestroy { contentOpacity: number = 0; diff --git a/projects/ui/src/lib/components/po-page/po-page-default/po-page-default.component.spec.ts b/projects/ui/src/lib/components/po-page/po-page-default/po-page-default.component.spec.ts index 75b6d0e5f1..9959cb7d4b 100644 --- a/projects/ui/src/lib/components/po-page/po-page-default/po-page-default.component.spec.ts +++ b/projects/ui/src/lib/components/po-page/po-page-default/po-page-default.component.spec.ts @@ -23,7 +23,8 @@ const eventResize = document.createEvent('Event'); eventResize.initEvent('resize', false, true); @Component({ - template: ` ` + template: ` `, + standalone: false }) class MobileComponent { public actions: Array<{}> = [ @@ -134,7 +135,8 @@ describe('PoPageDefaultComponent mobile', () => { }); @Component({ - template: ` ` + template: ` `, + standalone: false }) class DesktopComponent { public actions: Array<{}> = [ diff --git a/projects/ui/src/lib/components/po-page/po-page-default/po-page-default.component.ts b/projects/ui/src/lib/components/po-page/po-page-default/po-page-default.component.ts index 130446ee54..65b3a8fedf 100644 --- a/projects/ui/src/lib/components/po-page/po-page-default/po-page-default.component.ts +++ b/projects/ui/src/lib/components/po-page/po-page-default/po-page-default.component.ts @@ -30,8 +30,9 @@ import { PoPageDefaultBaseComponent } from './po-page-default-base.component'; * */ @Component({ - selector: 'po-page-default', - templateUrl: './po-page-default.component.html' + selector: 'po-page-default', + templateUrl: './po-page-default.component.html', + standalone: false }) export class PoPageDefaultComponent extends PoPageDefaultBaseComponent implements AfterContentInit, OnChanges { limitPrimaryActions: number = 3; diff --git a/projects/ui/src/lib/components/po-page/po-page-default/samples/sample-po-page-default-basic/sample-po-page-default-basic.component.ts b/projects/ui/src/lib/components/po-page/po-page-default/samples/sample-po-page-default-basic/sample-po-page-default-basic.component.ts index 8f5d8aa35c..04784905ba 100644 --- a/projects/ui/src/lib/components/po-page/po-page-default/samples/sample-po-page-default-basic/sample-po-page-default-basic.component.ts +++ b/projects/ui/src/lib/components/po-page/po-page-default/samples/sample-po-page-default-basic/sample-po-page-default-basic.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-page-default-basic', - templateUrl: './sample-po-page-default-basic.component.html' + selector: 'sample-po-page-default-basic', + templateUrl: './sample-po-page-default-basic.component.html', + standalone: false }) export class SamplePoPageDefaultBasicComponent {} diff --git a/projects/ui/src/lib/components/po-page/po-page-default/samples/sample-po-page-default-dashboard/sample-po-page-default-dashboard.component.ts b/projects/ui/src/lib/components/po-page/po-page-default/samples/sample-po-page-default-dashboard/sample-po-page-default-dashboard.component.ts index 385bf5bdc0..4b3d5ffa15 100644 --- a/projects/ui/src/lib/components/po-page/po-page-default/samples/sample-po-page-default-dashboard/sample-po-page-default-dashboard.component.ts +++ b/projects/ui/src/lib/components/po-page/po-page-default/samples/sample-po-page-default-dashboard/sample-po-page-default-dashboard.component.ts @@ -10,10 +10,10 @@ import { PoTableColumn } from '@po-ui/ng-components'; import { SampleDashboardService } from './sample-po-page-default-dashboard.service'; @Component({ - selector: 'sample-po-page-default-dashboard', - templateUrl: './sample-po-page-default-dashboard.component.html', - styles: [ - ` + selector: 'sample-po-page-default-dashboard', + templateUrl: './sample-po-page-default-dashboard.component.html', + styles: [ + ` .sample-widget-text-subtitle { font-family: NunitoSans; font-size: 14px; @@ -21,8 +21,9 @@ import { SampleDashboardService } from './sample-po-page-default-dashboard.servi color: #9da7a9; } ` - ], - providers: [SampleDashboardService] + ], + providers: [SampleDashboardService], + standalone: false }) export class SamplePoPageDefaultDashboardComponent implements OnInit { @ViewChild('formShare', { static: true }) formShare: NgForm; diff --git a/projects/ui/src/lib/components/po-page/po-page-default/samples/sample-po-page-default-labs/sample-po-page-default-labs.component.ts b/projects/ui/src/lib/components/po-page/po-page-default/samples/sample-po-page-default-labs/sample-po-page-default-labs.component.ts index fa4c668824..e137ff136f 100644 --- a/projects/ui/src/lib/components/po-page/po-page-default/samples/sample-po-page-default-labs/sample-po-page-default-labs.component.ts +++ b/projects/ui/src/lib/components/po-page/po-page-default/samples/sample-po-page-default-labs/sample-po-page-default-labs.component.ts @@ -7,8 +7,9 @@ import { PoNotificationService } from '@po-ui/ng-components'; import { PoPageAction, PoPageDefaultLiterals } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-page-default-labs', - templateUrl: './sample-po-page-default-labs.component.html' + selector: 'sample-po-page-default-labs', + templateUrl: './sample-po-page-default-labs.component.html', + standalone: false }) export class SamplePoPageDefaultLabsComponent implements OnInit { action: PoPageAction; diff --git a/projects/ui/src/lib/components/po-page/po-page-detail/po-page-detail.component.spec.ts b/projects/ui/src/lib/components/po-page/po-page-detail/po-page-detail.component.spec.ts index 758458ffab..568f61b604 100644 --- a/projects/ui/src/lib/components/po-page/po-page-detail/po-page-detail.component.spec.ts +++ b/projects/ui/src/lib/components/po-page/po-page-detail/po-page-detail.component.spec.ts @@ -14,9 +14,10 @@ import { poPageDetailLiteralsDefault } from './po-page-detail-base.component'; import { PoPageHeaderComponent } from '../po-page-header/po-page-header.component'; @Component({ - template: ` + template: ` - ` + `, + standalone: false }) class ContainerComponent { back(): boolean { diff --git a/projects/ui/src/lib/components/po-page/po-page-detail/po-page-detail.component.ts b/projects/ui/src/lib/components/po-page/po-page-detail/po-page-detail.component.ts index 1a7821e586..9be9ffadbf 100644 --- a/projects/ui/src/lib/components/po-page/po-page-detail/po-page-detail.component.ts +++ b/projects/ui/src/lib/components/po-page/po-page-detail/po-page-detail.component.ts @@ -23,8 +23,9 @@ import { PoPageDetailBaseComponent } from './po-page-detail-base.component'; * */ @Component({ - selector: 'po-page-detail', - templateUrl: './po-page-detail.component.html' + selector: 'po-page-detail', + templateUrl: './po-page-detail.component.html', + standalone: false }) export class PoPageDetailComponent extends PoPageDetailBaseComponent { hasAnyAction(): boolean { diff --git a/projects/ui/src/lib/components/po-page/po-page-detail/samples/sample-po-page-detail-basic/sample-po-page-detail-basic.component.ts b/projects/ui/src/lib/components/po-page/po-page-detail/samples/sample-po-page-detail-basic/sample-po-page-detail-basic.component.ts index cca37f98ea..2a0f9b99c5 100644 --- a/projects/ui/src/lib/components/po-page/po-page-detail/samples/sample-po-page-detail-basic/sample-po-page-detail-basic.component.ts +++ b/projects/ui/src/lib/components/po-page/po-page-detail/samples/sample-po-page-detail-basic/sample-po-page-detail-basic.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-page-detail-basic', - templateUrl: './sample-po-page-detail-basic.component.html' + selector: 'sample-po-page-detail-basic', + templateUrl: './sample-po-page-detail-basic.component.html', + standalone: false }) export class SamplePoPageDetailBasicComponent {} diff --git a/projects/ui/src/lib/components/po-page/po-page-detail/samples/sample-po-page-detail-labs/sample-po-page-detail-labs.component.ts b/projects/ui/src/lib/components/po-page/po-page-detail/samples/sample-po-page-detail-labs/sample-po-page-detail-labs.component.ts index 059f259e29..75c67fc17c 100644 --- a/projects/ui/src/lib/components/po-page/po-page-detail/samples/sample-po-page-detail-labs/sample-po-page-detail-labs.component.ts +++ b/projects/ui/src/lib/components/po-page/po-page-detail/samples/sample-po-page-detail-labs/sample-po-page-detail-labs.component.ts @@ -4,8 +4,9 @@ import { PoBreadcrumb, PoBreadcrumbItem } from '@po-ui/ng-components'; import { PoPageDetailLiterals } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-page-detail-labs', - templateUrl: './sample-po-page-detail-labs.component.html' + selector: 'sample-po-page-detail-labs', + templateUrl: './sample-po-page-detail-labs.component.html', + standalone: false }) export class SamplePoPageDetailLabsComponent implements OnInit { action: string; diff --git a/projects/ui/src/lib/components/po-page/po-page-detail/samples/sample-po-page-detail-user/sample-po-page-detail-user.component.ts b/projects/ui/src/lib/components/po-page/po-page-detail/samples/sample-po-page-detail-user/sample-po-page-detail-user.component.ts index 018c614619..7bf49640c6 100644 --- a/projects/ui/src/lib/components/po-page/po-page-detail/samples/sample-po-page-detail-user/sample-po-page-detail-user.component.ts +++ b/projects/ui/src/lib/components/po-page/po-page-detail/samples/sample-po-page-detail-user/sample-po-page-detail-user.component.ts @@ -4,8 +4,9 @@ import { Router } from '@angular/router'; import { PoBreadcrumb } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-page-detail-user', - templateUrl: './sample-po-page-detail-user.component.html' + selector: 'sample-po-page-detail-user', + templateUrl: './sample-po-page-detail-user.component.html', + standalone: false }) export class SamplePoPageDetailUserComponent { birthDate: string = '26/12/1978'; diff --git a/projects/ui/src/lib/components/po-page/po-page-edit/po-page-edit.component.spec.ts b/projects/ui/src/lib/components/po-page/po-page-edit/po-page-edit.component.spec.ts index 1ded57d77b..3247a805ac 100644 --- a/projects/ui/src/lib/components/po-page/po-page-edit/po-page-edit.component.spec.ts +++ b/projects/ui/src/lib/components/po-page/po-page-edit/po-page-edit.component.spec.ts @@ -14,9 +14,10 @@ import { poPageEditLiteralsDefault } from './po-page-edit-base.component'; import { PoPageHeaderComponent } from '../po-page-header/po-page-header.component'; @Component({ - template: ` + template: ` - ` + `, + standalone: false }) class ContainerComponent { cancel(): boolean { diff --git a/projects/ui/src/lib/components/po-page/po-page-edit/po-page-edit.component.ts b/projects/ui/src/lib/components/po-page/po-page-edit/po-page-edit.component.ts index b4ce5288bd..3197e71b0a 100644 --- a/projects/ui/src/lib/components/po-page/po-page-edit/po-page-edit.component.ts +++ b/projects/ui/src/lib/components/po-page/po-page-edit/po-page-edit.component.ts @@ -23,8 +23,9 @@ import { PoPageEditBaseComponent } from './po-page-edit-base.component'; * */ @Component({ - selector: 'po-page-edit', - templateUrl: './po-page-edit.component.html' + selector: 'po-page-edit', + templateUrl: './po-page-edit.component.html', + standalone: false }) export class PoPageEditComponent extends PoPageEditBaseComponent { getIcon(icon: string): string { diff --git a/projects/ui/src/lib/components/po-page/po-page-edit/samples/sample-po-page-edit-basic/sample-po-page-edit-basic.component.ts b/projects/ui/src/lib/components/po-page/po-page-edit/samples/sample-po-page-edit-basic/sample-po-page-edit-basic.component.ts index 9cd8573798..faede1c3fe 100644 --- a/projects/ui/src/lib/components/po-page/po-page-edit/samples/sample-po-page-edit-basic/sample-po-page-edit-basic.component.ts +++ b/projects/ui/src/lib/components/po-page/po-page-edit/samples/sample-po-page-edit-basic/sample-po-page-edit-basic.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-page-edit-basic', - templateUrl: './sample-po-page-edit-basic.component.html' + selector: 'sample-po-page-edit-basic', + templateUrl: './sample-po-page-edit-basic.component.html', + standalone: false }) export class SamplePoPageEditBasicComponent {} diff --git a/projects/ui/src/lib/components/po-page/po-page-edit/samples/sample-po-page-edit-labs/sample-po-page-edit-labs.component.ts b/projects/ui/src/lib/components/po-page/po-page-edit/samples/sample-po-page-edit-labs/sample-po-page-edit-labs.component.ts index 635bd366c4..f02deaf2c0 100644 --- a/projects/ui/src/lib/components/po-page/po-page-edit/samples/sample-po-page-edit-labs/sample-po-page-edit-labs.component.ts +++ b/projects/ui/src/lib/components/po-page/po-page-edit/samples/sample-po-page-edit-labs/sample-po-page-edit-labs.component.ts @@ -6,8 +6,9 @@ import { PoCheckboxGroupOption } from '@po-ui/ng-components'; import { PoPageEditLiterals } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-page-edit-labs', - templateUrl: './sample-po-page-edit-labs.component.html' + selector: 'sample-po-page-edit-labs', + templateUrl: './sample-po-page-edit-labs.component.html', + standalone: false }) export class SamplePoPageEditLabsComponent implements OnInit { action: string; diff --git a/projects/ui/src/lib/components/po-page/po-page-edit/samples/sample-po-page-edit-user/sample-po-page-edit-user.component.ts b/projects/ui/src/lib/components/po-page/po-page-edit/samples/sample-po-page-edit-user/sample-po-page-edit-user.component.ts index 7ca7abe5e5..2fa729bc5c 100644 --- a/projects/ui/src/lib/components/po-page/po-page-edit/samples/sample-po-page-edit-user/sample-po-page-edit-user.component.ts +++ b/projects/ui/src/lib/components/po-page/po-page-edit/samples/sample-po-page-edit-user/sample-po-page-edit-user.component.ts @@ -7,8 +7,9 @@ import { PoDialogService } from '@po-ui/ng-components'; import { PoNotificationService } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-page-edit-user', - templateUrl: './sample-po-page-edit-user.component.html' + selector: 'sample-po-page-edit-user', + templateUrl: './sample-po-page-edit-user.component.html', + standalone: false }) export class SamplePoPageEditUserComponent implements OnInit { @ViewChild('formEditUser', { static: true }) formEditUser: NgForm; diff --git a/projects/ui/src/lib/components/po-page/po-page-header/po-page-header.component.spec.ts b/projects/ui/src/lib/components/po-page/po-page-header/po-page-header.component.spec.ts index 1d6f515e75..03d37a45c8 100644 --- a/projects/ui/src/lib/components/po-page/po-page-header/po-page-header.component.spec.ts +++ b/projects/ui/src/lib/components/po-page/po-page-header/po-page-header.component.spec.ts @@ -7,7 +7,10 @@ import { RouterTestingModule } from '@angular/router/testing'; import { PoBreadcrumbModule } from '../../po-breadcrumb/po-breadcrumb.module'; import { PoPageHeaderComponent } from './po-page-header.component'; -@Component({ template: 'Guides' }) +@Component({ + template: 'Guides', + standalone: false +}) export class GuidesComponent {} export const routes: Routes = [{ path: 'guides', component: GuidesComponent }]; diff --git a/projects/ui/src/lib/components/po-page/po-page-header/po-page-header.component.ts b/projects/ui/src/lib/components/po-page/po-page-header/po-page-header.component.ts index c31f973273..3fb932759f 100644 --- a/projects/ui/src/lib/components/po-page/po-page-header/po-page-header.component.ts +++ b/projects/ui/src/lib/components/po-page/po-page-header/po-page-header.component.ts @@ -7,7 +7,8 @@ import { PoPageHeaderBaseComponent } from './po-page-header-base.component'; * @docsExtends PoPageHeaderBaseComponent */ @Component({ - selector: 'po-page-header', - templateUrl: './po-page-header.component.html' + selector: 'po-page-header', + templateUrl: './po-page-header.component.html', + standalone: false }) export class PoPageHeaderComponent extends PoPageHeaderBaseComponent {} diff --git a/projects/ui/src/lib/components/po-page/po-page-list/po-page-list.component.spec.ts b/projects/ui/src/lib/components/po-page/po-page-list/po-page-list.component.spec.ts index 551fca7707..5be3bc98ff 100644 --- a/projects/ui/src/lib/components/po-page/po-page-list/po-page-list.component.spec.ts +++ b/projects/ui/src/lib/components/po-page/po-page-list/po-page-list.component.spec.ts @@ -36,7 +36,8 @@ const eventSubmit = document.createEvent('Event'); eventSubmit.initEvent('submit', true, false); @Component({ - template: ` ` + template: ` `, + standalone: false }) class MobileComponent { public actions: Array<{}> = [ @@ -120,7 +121,8 @@ describe('PoPageListComponent - Mobile:', () => { }); @Component({ - template: ` ` + template: ` `, + standalone: false }) class DesktopComponent { public model = '123'; diff --git a/projects/ui/src/lib/components/po-page/po-page-list/po-page-list.component.ts b/projects/ui/src/lib/components/po-page/po-page-list/po-page-list.component.ts index ce0ac09b56..bae0d6d973 100644 --- a/projects/ui/src/lib/components/po-page/po-page-list/po-page-list.component.ts +++ b/projects/ui/src/lib/components/po-page/po-page-list/po-page-list.component.ts @@ -44,8 +44,9 @@ import { PoPageListBaseComponent } from './po-page-list-base.component'; * */ @Component({ - selector: 'po-page-list', - templateUrl: './po-page-list.component.html' + selector: 'po-page-list', + templateUrl: './po-page-list.component.html', + standalone: false }) export class PoPageListComponent extends PoPageListBaseComponent diff --git a/projects/ui/src/lib/components/po-page/po-page-list/samples/sample-po-page-list-basic/sample-po-page-list-basic.component.ts b/projects/ui/src/lib/components/po-page/po-page-list/samples/sample-po-page-list-basic/sample-po-page-list-basic.component.ts index 90e9cfc8b5..ba35c8496e 100644 --- a/projects/ui/src/lib/components/po-page/po-page-list/samples/sample-po-page-list-basic/sample-po-page-list-basic.component.ts +++ b/projects/ui/src/lib/components/po-page/po-page-list/samples/sample-po-page-list-basic/sample-po-page-list-basic.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-page-list-basic', - templateUrl: './sample-po-page-list-basic.component.html' + selector: 'sample-po-page-list-basic', + templateUrl: './sample-po-page-list-basic.component.html', + standalone: false }) export class SamplePoPageListBasicComponent {} diff --git a/projects/ui/src/lib/components/po-page/po-page-list/samples/sample-po-page-list-hiring-processes/sample-po-page-list-hiring-processes.component.ts b/projects/ui/src/lib/components/po-page/po-page-list/samples/sample-po-page-list-hiring-processes/sample-po-page-list-hiring-processes.component.ts index 8fc96f5ec0..9e9a2a5e6b 100644 --- a/projects/ui/src/lib/components/po-page/po-page-list/samples/sample-po-page-list-hiring-processes/sample-po-page-list-hiring-processes.component.ts +++ b/projects/ui/src/lib/components/po-page/po-page-list/samples/sample-po-page-list-hiring-processes/sample-po-page-list-hiring-processes.component.ts @@ -14,9 +14,10 @@ import { PoPageListComponent } from '@po-ui/ng-components'; import { SamplePoPageListHiringProcessesService } from './sample-po-page-list-hiring-processes.service'; @Component({ - selector: 'sample-po-page-list-hiring-processes', - templateUrl: './sample-po-page-list-hiring-processes.component.html', - providers: [SamplePoPageListHiringProcessesService] + selector: 'sample-po-page-list-hiring-processes', + templateUrl: './sample-po-page-list-hiring-processes.component.html', + providers: [SamplePoPageListHiringProcessesService], + standalone: false }) export class SamplePoPageListHiringProcessesComponent implements OnInit { @ViewChild('advancedFilterModal', { static: true }) advancedFilterModal: PoModalComponent; diff --git a/projects/ui/src/lib/components/po-page/po-page-list/samples/sample-po-page-list-labs/sample-po-page-list-labs.component.ts b/projects/ui/src/lib/components/po-page/po-page-list/samples/sample-po-page-list-labs/sample-po-page-list-labs.component.ts index 63bbbf98da..78b607e90b 100644 --- a/projects/ui/src/lib/components/po-page/po-page-list/samples/sample-po-page-list-labs/sample-po-page-list-labs.component.ts +++ b/projects/ui/src/lib/components/po-page/po-page-list/samples/sample-po-page-list-labs/sample-po-page-list-labs.component.ts @@ -7,8 +7,9 @@ import { PoNotificationService } from '@po-ui/ng-components'; import { PoPageAction, PoPageFilter, PoPageListLiterals } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-page-list-labs', - templateUrl: './sample-po-page-list-labs.component.html' + selector: 'sample-po-page-list-labs', + templateUrl: './sample-po-page-list-labs.component.html', + standalone: false }) export class SamplePoPageListLabsComponent implements OnInit { action: PoPageAction; diff --git a/projects/ui/src/lib/components/po-page/po-page-slide/po-page-slide-footer/po-page-slide-footer.component.ts b/projects/ui/src/lib/components/po-page/po-page-slide/po-page-slide-footer/po-page-slide-footer.component.ts index 0cc16e9428..bcf226b142 100644 --- a/projects/ui/src/lib/components/po-page/po-page-slide/po-page-slide-footer/po-page-slide-footer.component.ts +++ b/projects/ui/src/lib/components/po-page/po-page-slide/po-page-slide-footer/po-page-slide-footer.component.ts @@ -17,8 +17,9 @@ import { Component, Input } from '@angular/core'; * ``` */ @Component({ - selector: 'po-page-slide-footer', - templateUrl: './po-page-slide-footer.component.html' + selector: 'po-page-slide-footer', + templateUrl: './po-page-slide-footer.component.html', + standalone: false }) export class PoPageSlideFooterComponent { /** diff --git a/projects/ui/src/lib/components/po-page/po-page-slide/po-page-slide.component.spec.ts b/projects/ui/src/lib/components/po-page/po-page-slide/po-page-slide.component.spec.ts index be12c78334..fd860284b8 100644 --- a/projects/ui/src/lib/components/po-page/po-page-slide/po-page-slide.component.spec.ts +++ b/projects/ui/src/lib/components/po-page/po-page-slide/po-page-slide.component.spec.ts @@ -9,14 +9,15 @@ import { PoFieldModule } from '../../po-field'; import { PoPageSlideComponent } from './po-page-slide.component'; @Component({ - template: ` + template: `
- ` + `, + standalone: false }) class TestComponent { @ViewChild(PoPageSlideComponent, { static: true }) poPage: PoPageSlideComponent; diff --git a/projects/ui/src/lib/components/po-page/po-page-slide/po-page-slide.component.ts b/projects/ui/src/lib/components/po-page/po-page-slide/po-page-slide.component.ts index 8461e09dce..ef49ef047e 100644 --- a/projects/ui/src/lib/components/po-page/po-page-slide/po-page-slide.component.ts +++ b/projects/ui/src/lib/components/po-page/po-page-slide/po-page-slide.component.ts @@ -47,25 +47,26 @@ export const poPageSlideLiteralsDefault = { * */ @Component({ - selector: 'po-page-slide', - templateUrl: './po-page-slide.component.html', - providers: [], - animations: [ - trigger('fade', [ - transition(':enter', [ - style({ opacity: 0 }), - group([animate(`{{duration}}`, style({ opacity: 1 })), query('@slide', animateChild())]) - ]), - transition(':leave', group([query('@slide', animateChild()), animate('150ms', style({ opacity: 0 }))])) - ]), - trigger('slide', [ - transition(':enter', [ - style({ transform: 'translateX(50px)' }), - animate(`{{timing }}`, style({ transform: 'none' })) - ]), - transition(':leave', [animate('150ms', style({ transform: 'translateX(50px)' }))]) - ]) - ] + selector: 'po-page-slide', + templateUrl: './po-page-slide.component.html', + providers: [], + animations: [ + trigger('fade', [ + transition(':enter', [ + style({ opacity: 0 }), + group([animate(`{{duration}}`, style({ opacity: 1 })), query('@slide', animateChild())]) + ]), + transition(':leave', group([query('@slide', animateChild()), animate('150ms', style({ opacity: 0 }))])) + ]), + trigger('slide', [ + transition(':enter', [ + style({ transform: 'translateX(50px)' }), + animate(`{{timing }}`, style({ transform: 'none' })) + ]), + transition(':leave', [animate('150ms', style({ transform: 'translateX(50px)' }))]) + ]) + ], + standalone: false }) export class PoPageSlideComponent extends PoPageSlideBaseComponent { private _pageContent: ElementRef; diff --git a/projects/ui/src/lib/components/po-page/po-page-slide/samples/sample-po-page-slide-basic/sample-po-page-slide-basic.component.ts b/projects/ui/src/lib/components/po-page/po-page-slide/samples/sample-po-page-slide-basic/sample-po-page-slide-basic.component.ts index 70867383cf..c6a1f0c7f0 100644 --- a/projects/ui/src/lib/components/po-page/po-page-slide/samples/sample-po-page-slide-basic/sample-po-page-slide-basic.component.ts +++ b/projects/ui/src/lib/components/po-page/po-page-slide/samples/sample-po-page-slide-basic/sample-po-page-slide-basic.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-page-slide-basic', - templateUrl: './sample-po-page-slide-basic.component.html' + selector: 'sample-po-page-slide-basic', + templateUrl: './sample-po-page-slide-basic.component.html', + standalone: false }) export class SamplePoPageSlideBasicComponent {} diff --git a/projects/ui/src/lib/components/po-page/po-page-slide/samples/sample-po-page-slide-configuration/sample-po-page-slide-configuration.component.ts b/projects/ui/src/lib/components/po-page/po-page-slide/samples/sample-po-page-slide-configuration/sample-po-page-slide-configuration.component.ts index 54d79e4e18..47cbe5381e 100644 --- a/projects/ui/src/lib/components/po-page/po-page-slide/samples/sample-po-page-slide-configuration/sample-po-page-slide-configuration.component.ts +++ b/projects/ui/src/lib/components/po-page/po-page-slide/samples/sample-po-page-slide-configuration/sample-po-page-slide-configuration.component.ts @@ -2,8 +2,9 @@ import { Component } from '@angular/core'; import { Router } from '@angular/router'; @Component({ - selector: 'sample-po-page-slide-configuration', - templateUrl: './sample-po-page-slide-configuration.component.html' + selector: 'sample-po-page-slide-configuration', + templateUrl: './sample-po-page-slide-configuration.component.html', + standalone: false }) export class SamplePoPageSlideConfigurationComponent { public bluetooth = true; diff --git a/projects/ui/src/lib/components/po-page/po-page-slide/samples/sample-po-page-slide-labs/sample-po-page-slide-labs.component.ts b/projects/ui/src/lib/components/po-page/po-page-slide/samples/sample-po-page-slide-labs/sample-po-page-slide-labs.component.ts index e8902465f9..4e69d0e750 100644 --- a/projects/ui/src/lib/components/po-page/po-page-slide/samples/sample-po-page-slide-labs/sample-po-page-slide-labs.component.ts +++ b/projects/ui/src/lib/components/po-page/po-page-slide/samples/sample-po-page-slide-labs/sample-po-page-slide-labs.component.ts @@ -2,8 +2,9 @@ import { Component, OnInit, ViewChild } from '@angular/core'; import { PoCheckboxGroupOption, PoPageSlideComponent, PoRadioGroupOption } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-page-slide-labs', - templateUrl: './sample-po-page-slide-labs.component.html' + selector: 'sample-po-page-slide-labs', + templateUrl: './sample-po-page-slide-labs.component.html', + standalone: false }) export class SamplePoPageSlideLabsComponent implements OnInit { @ViewChild('poPageSlide') diff --git a/projects/ui/src/lib/components/po-page/po-page.component.ts b/projects/ui/src/lib/components/po-page/po-page.component.ts index 7041268566..a76add707c 100644 --- a/projects/ui/src/lib/components/po-page/po-page.component.ts +++ b/projects/ui/src/lib/components/po-page/po-page.component.ts @@ -8,7 +8,8 @@ import { PoPageBaseComponent } from './po-page-base.component'; * @docsExtends PoPageBaseComponent */ @Component({ - selector: 'po-page', - templateUrl: './po-page.component.html' + selector: 'po-page', + templateUrl: './po-page.component.html', + standalone: false }) export class PoPageComponent extends PoPageBaseComponent {} diff --git a/projects/ui/src/lib/components/po-popover/po-popover.component.ts b/projects/ui/src/lib/components/po-popover/po-popover.component.ts index 219731b1c2..8cfa043126 100644 --- a/projects/ui/src/lib/components/po-popover/po-popover.component.ts +++ b/projects/ui/src/lib/components/po-popover/po-popover.component.ts @@ -34,9 +34,10 @@ import { PoPopoverBaseComponent } from './po-popover-base.component'; * */ @Component({ - selector: 'po-popover', - templateUrl: './po-popover.component.html', - providers: [PoControlPositionService] + selector: 'po-popover', + templateUrl: './po-popover.component.html', + providers: [PoControlPositionService], + standalone: false }) export class PoPopoverComponent extends PoPopoverBaseComponent implements AfterViewInit, OnDestroy { @ViewChild('popoverElement', { read: ElementRef, static: true }) popoverElement: ElementRef; diff --git a/projects/ui/src/lib/components/po-popover/samples/sample-po-popover-basic/sample-po-popover-basic.component.ts b/projects/ui/src/lib/components/po-popover/samples/sample-po-popover-basic/sample-po-popover-basic.component.ts index efc655882c..b20686d94b 100644 --- a/projects/ui/src/lib/components/po-popover/samples/sample-po-popover-basic/sample-po-popover-basic.component.ts +++ b/projects/ui/src/lib/components/po-popover/samples/sample-po-popover-basic/sample-po-popover-basic.component.ts @@ -3,8 +3,9 @@ import { Component, ElementRef, ViewChild } from '@angular/core'; import { PoButtonComponent } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-popover-basic', - templateUrl: './sample-po-popover-basic.component.html' + selector: 'sample-po-popover-basic', + templateUrl: './sample-po-popover-basic.component.html', + standalone: false }) export class SamplePoPopoverBasicComponent { @ViewChild(PoButtonComponent, { read: ElementRef, static: true }) poButton: PoButtonComponent; diff --git a/projects/ui/src/lib/components/po-popover/samples/sample-po-popover-credit-card/sample-po-popover-credit-card.component.ts b/projects/ui/src/lib/components/po-popover/samples/sample-po-popover-credit-card/sample-po-popover-credit-card.component.ts index 2a669e3a31..3c0e1a503b 100644 --- a/projects/ui/src/lib/components/po-popover/samples/sample-po-popover-credit-card/sample-po-popover-credit-card.component.ts +++ b/projects/ui/src/lib/components/po-popover/samples/sample-po-popover-credit-card/sample-po-popover-credit-card.component.ts @@ -1,8 +1,9 @@ import { Component, ElementRef, ViewChild } from '@angular/core'; @Component({ - selector: 'sample-po-popover-credit-card', - templateUrl: './sample-po-popover-credit-card.component.html' + selector: 'sample-po-popover-credit-card', + templateUrl: './sample-po-popover-credit-card.component.html', + standalone: false }) export class SamplePoPopoverCreditCardComponent { @ViewChild('cardname', { read: ElementRef, static: true }) cardnameref: ElementRef; diff --git a/projects/ui/src/lib/components/po-popover/samples/sample-po-popover-labs/sample-po-popover-labs.component.ts b/projects/ui/src/lib/components/po-popover/samples/sample-po-popover-labs/sample-po-popover-labs.component.ts index 4cd246aced..429e68da4b 100644 --- a/projects/ui/src/lib/components/po-popover/samples/sample-po-popover-labs/sample-po-popover-labs.component.ts +++ b/projects/ui/src/lib/components/po-popover/samples/sample-po-popover-labs/sample-po-popover-labs.component.ts @@ -3,8 +3,9 @@ import { Component, ElementRef, ViewChild } from '@angular/core'; import { PoCheckboxGroupOption, PoRadioGroupOption } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-popover-labs', - templateUrl: './sample-po-popover-labs.component.html' + selector: 'sample-po-popover-labs', + templateUrl: './sample-po-popover-labs.component.html', + standalone: false }) export class SamplePoPopoverLabsComponent { @ViewChild('buttonClick', { read: ElementRef, static: true }) buttonClickRef: ElementRef; diff --git a/projects/ui/src/lib/components/po-popup/po-popup.component.ts b/projects/ui/src/lib/components/po-popup/po-popup.component.ts index c188defe20..d980b9e533 100644 --- a/projects/ui/src/lib/components/po-popup/po-popup.component.ts +++ b/projects/ui/src/lib/components/po-popup/po-popup.component.ts @@ -31,9 +31,10 @@ import { PoListBoxComponent } from '../po-listbox'; * */ @Component({ - selector: 'po-popup', - templateUrl: './po-popup.component.html', - providers: [PoControlPositionService] + selector: 'po-popup', + templateUrl: './po-popup.component.html', + providers: [PoControlPositionService], + standalone: false }) export class PoPopupComponent extends PoPopupBaseComponent { @ViewChild('popupRef', { read: ElementRef }) popupRef: ElementRef; diff --git a/projects/ui/src/lib/components/po-popup/samples/sample-po-popup-basic/sample-po-popup-basic.component.ts b/projects/ui/src/lib/components/po-popup/samples/sample-po-popup-basic/sample-po-popup-basic.component.ts index d8b5b7beba..9b30069a22 100644 --- a/projects/ui/src/lib/components/po-popup/samples/sample-po-popup-basic/sample-po-popup-basic.component.ts +++ b/projects/ui/src/lib/components/po-popup/samples/sample-po-popup-basic/sample-po-popup-basic.component.ts @@ -1,8 +1,9 @@ import { AfterViewInit, ChangeDetectorRef, Component, ElementRef, ViewChild } from '@angular/core'; @Component({ - selector: 'sample-po-popup-basic', - templateUrl: './sample-po-popup-basic.component.html' + selector: 'sample-po-popup-basic', + templateUrl: './sample-po-popup-basic.component.html', + standalone: false }) export class SamplePoPopupBasicComponent implements AfterViewInit { @ViewChild('target', { read: ElementRef }) targetRef: ElementRef; diff --git a/projects/ui/src/lib/components/po-popup/samples/sample-po-popup-email/sample-po-popup-email.component.ts b/projects/ui/src/lib/components/po-popup/samples/sample-po-popup-email/sample-po-popup-email.component.ts index 671d540024..0d2e2e80ae 100644 --- a/projects/ui/src/lib/components/po-popup/samples/sample-po-popup-email/sample-po-popup-email.component.ts +++ b/projects/ui/src/lib/components/po-popup/samples/sample-po-popup-email/sample-po-popup-email.component.ts @@ -4,10 +4,10 @@ import { UntypedFormControl } from '@angular/forms'; import { PoModalAction, PoModalComponent, PoPopupAction } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-popup-email', - templateUrl: './sample-po-popup-email.component.html', - styles: [ - ` + selector: 'sample-po-popup-email', + templateUrl: './sample-po-popup-email.component.html', + styles: [ + ` .sample-logo-po { height: 15%; padding-top: 2.5%; @@ -22,7 +22,8 @@ import { PoModalAction, PoModalComponent, PoPopupAction } from '@po-ui/ng-compon padding-top: 5%; } ` - ] + ], + standalone: false }) export class SamplePoPopupEmailComponent implements OnInit { @ViewChild('formEmail', { static: true }) formEmail: UntypedFormControl; diff --git a/projects/ui/src/lib/components/po-popup/samples/sample-po-popup-labs/sample-po-popup-labs.component.ts b/projects/ui/src/lib/components/po-popup/samples/sample-po-popup-labs/sample-po-popup-labs.component.ts index 62df0a7f30..30b7a6fc5e 100644 --- a/projects/ui/src/lib/components/po-popup/samples/sample-po-popup-labs/sample-po-popup-labs.component.ts +++ b/projects/ui/src/lib/components/po-popup/samples/sample-po-popup-labs/sample-po-popup-labs.component.ts @@ -3,16 +3,17 @@ import { Component, ElementRef, OnInit, ViewChild } from '@angular/core'; import { PoNotificationService, PoCheckboxGroupOption, PoSelectOption, PoPopupAction } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-popup-labs', - templateUrl: './sample-po-popup-labs.component.html', - styles: [ - ` + selector: 'sample-po-popup-labs', + templateUrl: './sample-po-popup-labs.component.html', + styles: [ + ` .sample-button-container { margin-top: 20px; margin-bottom: 20px; } ` - ] + ], + standalone: false }) export class SamplePoPopupLabsComponent implements OnInit { @ViewChild('target', { read: ElementRef, static: true }) targetRef: ElementRef; diff --git a/projects/ui/src/lib/components/po-progress/po-progress-bar/po-progress-bar.component.ts b/projects/ui/src/lib/components/po-progress/po-progress-bar/po-progress-bar.component.ts index 92858c4d3a..6f4d94d4ee 100644 --- a/projects/ui/src/lib/components/po-progress/po-progress-bar/po-progress-bar.component.ts +++ b/projects/ui/src/lib/components/po-progress/po-progress-bar/po-progress-bar.component.ts @@ -1,9 +1,10 @@ import { ChangeDetectionStrategy, Component, Input } from '@angular/core'; @Component({ - selector: 'po-progress-bar', - templateUrl: './po-progress-bar.component.html', - changeDetection: ChangeDetectionStrategy.OnPush + selector: 'po-progress-bar', + templateUrl: './po-progress-bar.component.html', + changeDetection: ChangeDetectionStrategy.OnPush, + standalone: false }) export class PoProgressBarComponent { @Input('p-indeterminate') indeterminate: boolean; diff --git a/projects/ui/src/lib/components/po-progress/po-progress.component.ts b/projects/ui/src/lib/components/po-progress/po-progress.component.ts index e7cc965e71..852351ccf2 100644 --- a/projects/ui/src/lib/components/po-progress/po-progress.component.ts +++ b/projects/ui/src/lib/components/po-progress/po-progress.component.ts @@ -25,9 +25,10 @@ import { poProgressLiterals } from './literals/po-progress.literals'; * */ @Component({ - selector: 'po-progress', - templateUrl: './po-progress.component.html', - changeDetection: ChangeDetectionStrategy.OnPush + selector: 'po-progress', + templateUrl: './po-progress.component.html', + changeDetection: ChangeDetectionStrategy.OnPush, + standalone: false }) export class PoProgressComponent extends PoProgressBaseComponent implements OnInit { language; diff --git a/projects/ui/src/lib/components/po-progress/samples/sample-po-progress-basic/sample-po-progress-basic.component.ts b/projects/ui/src/lib/components/po-progress/samples/sample-po-progress-basic/sample-po-progress-basic.component.ts index 7047f53f22..b4d98763f6 100644 --- a/projects/ui/src/lib/components/po-progress/samples/sample-po-progress-basic/sample-po-progress-basic.component.ts +++ b/projects/ui/src/lib/components/po-progress/samples/sample-po-progress-basic/sample-po-progress-basic.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-progress-basic', - templateUrl: './sample-po-progress-basic.component.html' + selector: 'sample-po-progress-basic', + templateUrl: './sample-po-progress-basic.component.html', + standalone: false }) export class SamplePoProgressBasicComponent {} diff --git a/projects/ui/src/lib/components/po-progress/samples/sample-po-progress-labs/sample-po-progress-labs.component.ts b/projects/ui/src/lib/components/po-progress/samples/sample-po-progress-labs/sample-po-progress-labs.component.ts index 162f4ee9ea..5343f9c7b0 100644 --- a/projects/ui/src/lib/components/po-progress/samples/sample-po-progress-labs/sample-po-progress-labs.component.ts +++ b/projects/ui/src/lib/components/po-progress/samples/sample-po-progress-labs/sample-po-progress-labs.component.ts @@ -3,8 +3,9 @@ import { Component, OnInit } from '@angular/core'; import { PoCheckboxGroupOption, PoProgressStatus, PoRadioGroupOption, PoProgressSize } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-progress-labs', - templateUrl: './sample-po-progress-labs.component.html' + selector: 'sample-po-progress-labs', + templateUrl: './sample-po-progress-labs.component.html', + standalone: false }) export class SamplePoProgressLabsComponent implements OnInit { event: any; diff --git a/projects/ui/src/lib/components/po-progress/samples/sample-po-progress-publication/sample-po-progress-publication.component.ts b/projects/ui/src/lib/components/po-progress/samples/sample-po-progress-publication/sample-po-progress-publication.component.ts index 193dfd5e10..90388b1f00 100644 --- a/projects/ui/src/lib/components/po-progress/samples/sample-po-progress-publication/sample-po-progress-publication.component.ts +++ b/projects/ui/src/lib/components/po-progress/samples/sample-po-progress-publication/sample-po-progress-publication.component.ts @@ -1,8 +1,9 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-progress-publication', - templateUrl: './sample-po-progress-publication.component.html' + selector: 'sample-po-progress-publication', + templateUrl: './sample-po-progress-publication.component.html', + standalone: false }) export class SamplePoProgressPublicationComponent { buttonDisabled: boolean; diff --git a/projects/ui/src/lib/components/po-search/po-search.component.ts b/projects/ui/src/lib/components/po-search/po-search.component.ts index ee628cdf38..4cf5d01882 100644 --- a/projects/ui/src/lib/components/po-search/po-search.component.ts +++ b/projects/ui/src/lib/components/po-search/po-search.component.ts @@ -56,10 +56,11 @@ const poSearchContainerPositionDefault = 'bottom'; * */ @Component({ - selector: 'po-search', - templateUrl: './po-search.component.html', - providers: [PoControlPositionService], - changeDetection: ChangeDetectionStrategy.OnPush + selector: 'po-search', + templateUrl: './po-search.component.html', + providers: [PoControlPositionService], + changeDetection: ChangeDetectionStrategy.OnPush, + standalone: false }) export class PoSearchComponent extends PoSearchBaseComponent implements OnInit, OnDestroy, OnChanges { private clickoutListener: () => void; diff --git a/projects/ui/src/lib/components/po-search/samples/sample-po-search-basic/sample-po-search-basic.component.ts b/projects/ui/src/lib/components/po-search/samples/sample-po-search-basic/sample-po-search-basic.component.ts index da5aa3d572..a358b9a4ce 100644 --- a/projects/ui/src/lib/components/po-search/samples/sample-po-search-basic/sample-po-search-basic.component.ts +++ b/projects/ui/src/lib/components/po-search/samples/sample-po-search-basic/sample-po-search-basic.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-search-basic', - templateUrl: './sample-po-search-basic.component.html' + selector: 'sample-po-search-basic', + templateUrl: './sample-po-search-basic.component.html', + standalone: false }) export class SamplePoSearchBasicComponent {} diff --git a/projects/ui/src/lib/components/po-search/samples/sample-po-search-filter-select/sample-po-search-filter-select.component.ts b/projects/ui/src/lib/components/po-search/samples/sample-po-search-filter-select/sample-po-search-filter-select.component.ts index e85eccd439..9af2c37047 100644 --- a/projects/ui/src/lib/components/po-search/samples/sample-po-search-filter-select/sample-po-search-filter-select.component.ts +++ b/projects/ui/src/lib/components/po-search/samples/sample-po-search-filter-select/sample-po-search-filter-select.component.ts @@ -1,8 +1,9 @@ import { Component, OnInit } from '@angular/core'; @Component({ - selector: 'sample-po-search-filter-select', - templateUrl: './sample-po-search-filter-select.component.html' + selector: 'sample-po-search-filter-select', + templateUrl: './sample-po-search-filter-select.component.html', + standalone: false }) export class SamplePoSearchFilterSelectComponent implements OnInit { items: any; diff --git a/projects/ui/src/lib/components/po-search/samples/sample-po-search-find-people/sample-po-search-find-people.component.ts b/projects/ui/src/lib/components/po-search/samples/sample-po-search-find-people/sample-po-search-find-people.component.ts index ac0b95d0fd..88797b3225 100644 --- a/projects/ui/src/lib/components/po-search/samples/sample-po-search-find-people/sample-po-search-find-people.component.ts +++ b/projects/ui/src/lib/components/po-search/samples/sample-po-search-find-people/sample-po-search-find-people.component.ts @@ -2,17 +2,17 @@ import { Component, OnInit } from '@angular/core'; import { SamplePoSearchFindPeopleService } from './sample-po-search-find-people.service'; @Component({ - selector: 'sample-po-search-find-people', - templateUrl: './sample-po-search-find-people.component.html', - styles: [ - ` + selector: 'sample-po-search-find-people', + templateUrl: './sample-po-search-find-people.component.html', + styles: [ + ` li { list-style: none; display: flex; align-items: center; } `, - ` + ` li div { width: 0.75em; height: 0.75em; @@ -21,8 +21,9 @@ import { SamplePoSearchFindPeopleService } from './sample-po-search-find-people. margin-left: 10px; } ` - ], - providers: [SamplePoSearchFindPeopleService] + ], + providers: [SamplePoSearchFindPeopleService], + standalone: false }) export class SamplePoSearchFindPeopleComponent implements OnInit { items: any; diff --git a/projects/ui/src/lib/components/po-search/samples/sample-po-search-labs/sample-po-search-labs.component.ts b/projects/ui/src/lib/components/po-search/samples/sample-po-search-labs/sample-po-search-labs.component.ts index 4c52d2f0d3..6dc9ac341d 100644 --- a/projects/ui/src/lib/components/po-search/samples/sample-po-search-labs/sample-po-search-labs.component.ts +++ b/projects/ui/src/lib/components/po-search/samples/sample-po-search-labs/sample-po-search-labs.component.ts @@ -9,10 +9,10 @@ import { Component, OnChanges, OnInit, SimpleChanges, ViewChild } from '@angular import { HttpClient } from '@angular/common/http'; @Component({ - selector: 'sample-po-search-labs', - templateUrl: './sample-po-search-labs.component.html', - styles: [ - ` + selector: 'sample-po-search-labs', + templateUrl: './sample-po-search-labs.component.html', + styles: [ + ` .sample-list-search { list-style: none; display: grid; @@ -24,7 +24,8 @@ import { HttpClient } from '@angular/common/http'; text-transform: capitalize; } ` - ] + ], + standalone: false }) export class SamplePoSearchLabsComponent implements OnInit, OnChanges { @ViewChild('poSearch', { static: true }) PoSearch: PoSearchComponent; diff --git a/projects/ui/src/lib/components/po-search/samples/sample-po-search-listbox/sample-po-search-listbox.component.ts b/projects/ui/src/lib/components/po-search/samples/sample-po-search-listbox/sample-po-search-listbox.component.ts index a9372e02d7..fc7b447b4d 100644 --- a/projects/ui/src/lib/components/po-search/samples/sample-po-search-listbox/sample-po-search-listbox.component.ts +++ b/projects/ui/src/lib/components/po-search/samples/sample-po-search-listbox/sample-po-search-listbox.component.ts @@ -2,9 +2,10 @@ import { Component, OnInit } from '@angular/core'; import { SamplePoSearchListboxService } from './sample-po-search-listbox.service'; @Component({ - selector: 'sample-po-search-listbox', - templateUrl: './sample-po-search-listbox.component.html', - providers: [SamplePoSearchListboxService] + selector: 'sample-po-search-listbox', + templateUrl: './sample-po-search-listbox.component.html', + providers: [SamplePoSearchListboxService], + standalone: false }) export class SamplePoSearchListboxComponent implements OnInit { items: any; diff --git a/projects/ui/src/lib/components/po-slide/directives/po-slide-content-template.directive.ts b/projects/ui/src/lib/components/po-slide/directives/po-slide-content-template.directive.ts index 9db53a60ea..18b26eb5d8 100644 --- a/projects/ui/src/lib/components/po-slide/directives/po-slide-content-template.directive.ts +++ b/projects/ui/src/lib/components/po-slide/directives/po-slide-content-template.directive.ts @@ -44,7 +44,8 @@ import { Directive, TemplateRef } from '@angular/core'; * ``` */ @Directive({ - selector: '[p-slide-content-template]' + selector: '[p-slide-content-template]', + standalone: false }) export class PoSlideContentTemplateDirective { // Necessário manter templateRef para o funcionamento do row template. diff --git a/projects/ui/src/lib/components/po-slide/po-slide-circles/po-slide-circles.component.ts b/projects/ui/src/lib/components/po-slide/po-slide-circles/po-slide-circles.component.ts index fb99f2871c..863baf868a 100644 --- a/projects/ui/src/lib/components/po-slide/po-slide-circles/po-slide-circles.component.ts +++ b/projects/ui/src/lib/components/po-slide/po-slide-circles/po-slide-circles.component.ts @@ -8,8 +8,9 @@ import { Component, EventEmitter, Input, Output } from '@angular/core'; * Componente para o conjunto de círculos que faz a passagem de itens do `po-slide`. */ @Component({ - selector: 'po-slide-circles', - templateUrl: './po-slide-circles.component.html' + selector: 'po-slide-circles', + templateUrl: './po-slide-circles.component.html', + standalone: false }) export class PoSlideCirclesComponent { /** Index do slide atual. */ diff --git a/projects/ui/src/lib/components/po-slide/po-slide-control/po-slide-control.component.ts b/projects/ui/src/lib/components/po-slide/po-slide-control/po-slide-control.component.ts index 6ca2c2d19c..34bee66de3 100644 --- a/projects/ui/src/lib/components/po-slide/po-slide-control/po-slide-control.component.ts +++ b/projects/ui/src/lib/components/po-slide/po-slide-control/po-slide-control.component.ts @@ -8,8 +8,9 @@ import { Component, EventEmitter, Input, Output } from '@angular/core'; * Componente para a seta que controla a passagem de itens do `po-slide`. */ @Component({ - selector: 'po-slide-control', - templateUrl: './po-slide-control.component.html' + selector: 'po-slide-control', + templateUrl: './po-slide-control.component.html', + standalone: false }) export class PoSlideControlComponent { /** Tipo de controle que aceita os valores: 'previous' e 'next'. */ diff --git a/projects/ui/src/lib/components/po-slide/po-slide-item/po-slide-item.component.ts b/projects/ui/src/lib/components/po-slide/po-slide-item/po-slide-item.component.ts index abf6278eea..240ac3c7b0 100644 --- a/projects/ui/src/lib/components/po-slide/po-slide-item/po-slide-item.component.ts +++ b/projects/ui/src/lib/components/po-slide/po-slide-item/po-slide-item.component.ts @@ -12,8 +12,9 @@ import { PoSlideContentTemplateDirective } from '../directives/po-slide-content- * Componente para cada item do po-slide. */ @Component({ - selector: 'po-slide-item', - templateUrl: './po-slide-item.component.html' + selector: 'po-slide-item', + templateUrl: './po-slide-item.component.html', + standalone: false }) export class PoSlideItemComponent { @ViewChild('slideItem', { static: true }) itemElement: ElementRef; diff --git a/projects/ui/src/lib/components/po-slide/po-slide.component.ts b/projects/ui/src/lib/components/po-slide/po-slide.component.ts index 3681f07965..d9227bc9f6 100644 --- a/projects/ui/src/lib/components/po-slide/po-slide.component.ts +++ b/projects/ui/src/lib/components/po-slide/po-slide.component.ts @@ -58,8 +58,9 @@ const poSlideTiming = '250ms ease'; * */ @Component({ - selector: 'po-slide', - templateUrl: './po-slide.component.html' + selector: 'po-slide', + templateUrl: './po-slide.component.html', + standalone: false }) export class PoSlideComponent extends PoSlideBaseComponent implements OnInit, DoCheck, OnChanges, OnDestroy { @ContentChild(PoSlideContentTemplateDirective, { static: true }) diff --git a/projects/ui/src/lib/components/po-slide/samples/sample-po-slide-basic/sample-po-slide-basic.component.ts b/projects/ui/src/lib/components/po-slide/samples/sample-po-slide-basic/sample-po-slide-basic.component.ts index 4b201bc068..db826c624d 100644 --- a/projects/ui/src/lib/components/po-slide/samples/sample-po-slide-basic/sample-po-slide-basic.component.ts +++ b/projects/ui/src/lib/components/po-slide/samples/sample-po-slide-basic/sample-po-slide-basic.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-slide-basic', - templateUrl: './sample-po-slide-basic.component.html' + selector: 'sample-po-slide-basic', + templateUrl: './sample-po-slide-basic.component.html', + standalone: false }) export class SamplePoSlideBasicComponent {} diff --git a/projects/ui/src/lib/components/po-slide/samples/sample-po-slide-external-controls/sample-po-slide-external-controls.component.ts b/projects/ui/src/lib/components/po-slide/samples/sample-po-slide-external-controls/sample-po-slide-external-controls.component.ts index fbbb15ce18..2cd7b4ec07 100644 --- a/projects/ui/src/lib/components/po-slide/samples/sample-po-slide-external-controls/sample-po-slide-external-controls.component.ts +++ b/projects/ui/src/lib/components/po-slide/samples/sample-po-slide-external-controls/sample-po-slide-external-controls.component.ts @@ -3,8 +3,9 @@ import { Component, OnChanges, ViewChild } from '@angular/core'; import { PoSlideComponent } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-slide-external-controls', - templateUrl: './sample-po-slide-external-controls.component.html' + selector: 'sample-po-slide-external-controls', + templateUrl: './sample-po-slide-external-controls.component.html', + standalone: false }) export class SamplePoSlideExternalControlsComponent { @ViewChild('slideComponent', { static: true }) slideComponent: PoSlideComponent; diff --git a/projects/ui/src/lib/components/po-slide/samples/sample-po-slide-labs/sample-po-slide-labs.component.ts b/projects/ui/src/lib/components/po-slide/samples/sample-po-slide-labs/sample-po-slide-labs.component.ts index fae2c4f9e5..06435abb73 100644 --- a/projects/ui/src/lib/components/po-slide/samples/sample-po-slide-labs/sample-po-slide-labs.component.ts +++ b/projects/ui/src/lib/components/po-slide/samples/sample-po-slide-labs/sample-po-slide-labs.component.ts @@ -3,8 +3,9 @@ import { Component, OnInit } from '@angular/core'; import { PoNotificationService, PoSlideItem } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-slide-labs', - templateUrl: './sample-po-slide-labs.component.html' + selector: 'sample-po-slide-labs', + templateUrl: './sample-po-slide-labs.component.html', + standalone: false }) export class SamplePoSlideLabsComponent implements OnInit { height: number; diff --git a/projects/ui/src/lib/components/po-slide/samples/sample-po-slide-landscapes/sample-po-slide-landscapes.component.ts b/projects/ui/src/lib/components/po-slide/samples/sample-po-slide-landscapes/sample-po-slide-landscapes.component.ts index d44b0be70f..ed2a40361b 100644 --- a/projects/ui/src/lib/components/po-slide/samples/sample-po-slide-landscapes/sample-po-slide-landscapes.component.ts +++ b/projects/ui/src/lib/components/po-slide/samples/sample-po-slide-landscapes/sample-po-slide-landscapes.component.ts @@ -3,8 +3,9 @@ import { Component, ViewChild } from '@angular/core'; import { PoModalComponent, PoSlideItem } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-slide-landscapes', - templateUrl: './sample-po-slide-landscapes.component.html' + selector: 'sample-po-slide-landscapes', + templateUrl: './sample-po-slide-landscapes.component.html', + standalone: false }) export class SamplePoSlideLandscapesComponent { @ViewChild(PoModalComponent, { static: true }) modal: PoModalComponent; diff --git a/projects/ui/src/lib/components/po-slide/samples/sample-po-slide-useful-articles/sample-po-slide-useful-articles.component.ts b/projects/ui/src/lib/components/po-slide/samples/sample-po-slide-useful-articles/sample-po-slide-useful-articles.component.ts index 5031c51f72..5d5e4cb5f0 100644 --- a/projects/ui/src/lib/components/po-slide/samples/sample-po-slide-useful-articles/sample-po-slide-useful-articles.component.ts +++ b/projects/ui/src/lib/components/po-slide/samples/sample-po-slide-useful-articles/sample-po-slide-useful-articles.component.ts @@ -1,8 +1,9 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-slide-useful-articles', - templateUrl: './sample-po-slide-useful-articles.component.html' + selector: 'sample-po-slide-useful-articles', + templateUrl: './sample-po-slide-useful-articles.component.html', + standalone: false }) export class SamplePoSlideUsefulArticlesComponent { sampleItems: Array = [ diff --git a/projects/ui/src/lib/components/po-stepper/po-step/po-step.component.ts b/projects/ui/src/lib/components/po-stepper/po-step/po-step.component.ts index 0c27e5ff9d..edff26902c 100644 --- a/projects/ui/src/lib/components/po-stepper/po-step/po-step.component.ts +++ b/projects/ui/src/lib/components/po-stepper/po-step/po-step.component.ts @@ -43,8 +43,9 @@ import { PoStepperStatus } from '../enums/po-stepper-status.enum'; * e exemplos de uso. */ @Component({ - selector: 'po-step', - templateUrl: 'po-step.component.html' + selector: 'po-step', + templateUrl: 'po-step.component.html', + standalone: false }) export class PoStepComponent implements AfterContentInit { /** diff --git a/projects/ui/src/lib/components/po-stepper/po-stepper-circle/po-stepper-circle.component.ts b/projects/ui/src/lib/components/po-stepper/po-stepper-circle/po-stepper-circle.component.ts index 7aa7c8ca56..f0a5a9b9db 100644 --- a/projects/ui/src/lib/components/po-stepper/po-stepper-circle/po-stepper-circle.component.ts +++ b/projects/ui/src/lib/components/po-stepper/po-stepper-circle/po-stepper-circle.component.ts @@ -13,8 +13,9 @@ const poLargeStepSize = 48; * Componente responsável por exibir os círculos dos *steps*. */ @Component({ - selector: 'po-stepper-circle', - templateUrl: './po-stepper-circle.component.html' + selector: 'po-stepper-circle', + templateUrl: './po-stepper-circle.component.html', + standalone: false }) export class PoStepperCircleComponent { // Alinhamento do *step*. diff --git a/projects/ui/src/lib/components/po-stepper/po-stepper-label/po-stepper-label.component.ts b/projects/ui/src/lib/components/po-stepper/po-stepper-label/po-stepper-label.component.ts index e70288ff72..4db1b2d322 100644 --- a/projects/ui/src/lib/components/po-stepper/po-stepper-label/po-stepper-label.component.ts +++ b/projects/ui/src/lib/components/po-stepper/po-stepper-label/po-stepper-label.component.ts @@ -19,8 +19,9 @@ import { * Componente responsável por exibir as legendas dos *steps*. */ @Component({ - selector: 'po-stepper-label', - templateUrl: './po-stepper-label.component.html' + selector: 'po-stepper-label', + templateUrl: './po-stepper-label.component.html', + standalone: false }) export class PoStepperLabelComponent implements AfterViewInit, OnChanges { // Alinhamento da label. diff --git a/projects/ui/src/lib/components/po-stepper/po-stepper-step/po-stepper-step.component.ts b/projects/ui/src/lib/components/po-stepper/po-stepper-step/po-stepper-step.component.ts index 316b1c2146..41fad122da 100644 --- a/projects/ui/src/lib/components/po-stepper/po-stepper-step/po-stepper-step.component.ts +++ b/projects/ui/src/lib/components/po-stepper/po-stepper-step/po-stepper-step.component.ts @@ -21,8 +21,9 @@ const poStepLiteralsDefault = { * Componente que representa um *step* contendo as ligações das laterais (`po-stepper-step-bar`) e a label. */ @Component({ - selector: 'po-stepper-step', - templateUrl: 'po-stepper-step.component.html' + selector: 'po-stepper-step', + templateUrl: 'po-stepper-step.component.html', + standalone: false }) export class PoStepperStepComponent implements OnChanges { // Alinhamento do *step* e da label. diff --git a/projects/ui/src/lib/components/po-stepper/po-stepper.component.ts b/projects/ui/src/lib/components/po-stepper/po-stepper.component.ts index 61809ae734..114e077680 100644 --- a/projects/ui/src/lib/components/po-stepper/po-stepper.component.ts +++ b/projects/ui/src/lib/components/po-stepper/po-stepper.component.ts @@ -40,8 +40,9 @@ import { PoStepperItem } from './po-stepper-item.interface'; * */ @Component({ - selector: 'po-stepper', - templateUrl: './po-stepper.component.html' + selector: 'po-stepper', + templateUrl: './po-stepper.component.html', + standalone: false }) export class PoStepperComponent extends PoStepperBaseComponent implements AfterContentInit { @ContentChildren(PoStepComponent) poSteps: QueryList; diff --git a/projects/ui/src/lib/components/po-stepper/samples/sample-po-stepper-active/sample-po-stepper-active.component.ts b/projects/ui/src/lib/components/po-stepper/samples/sample-po-stepper-active/sample-po-stepper-active.component.ts index 94fe7425ec..345378c45d 100644 --- a/projects/ui/src/lib/components/po-stepper/samples/sample-po-stepper-active/sample-po-stepper-active.component.ts +++ b/projects/ui/src/lib/components/po-stepper/samples/sample-po-stepper-active/sample-po-stepper-active.component.ts @@ -5,8 +5,9 @@ import { PoSelectOption, PoStepperComponent } from '@po-ui/ng-components'; import { SamplePoStepperActiveService } from './sample-po-stepper-active.service'; @Component({ - selector: 'sample-po-stepper-active', - templateUrl: './sample-po-stepper-active.component.html' + selector: 'sample-po-stepper-active', + templateUrl: './sample-po-stepper-active.component.html', + standalone: false }) export class SamplePoStepperActiveComponent implements OnInit, AfterViewInit, OnDestroy { @ViewChild('basicInformation', { static: true }) basicInformationForm: NgForm; diff --git a/projects/ui/src/lib/components/po-stepper/samples/sample-po-stepper-basic/sample-po-stepper-basic.component.ts b/projects/ui/src/lib/components/po-stepper/samples/sample-po-stepper-basic/sample-po-stepper-basic.component.ts index 6731587da5..b73240ccd8 100644 --- a/projects/ui/src/lib/components/po-stepper/samples/sample-po-stepper-basic/sample-po-stepper-basic.component.ts +++ b/projects/ui/src/lib/components/po-stepper/samples/sample-po-stepper-basic/sample-po-stepper-basic.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-stepper-basic', - templateUrl: './sample-po-stepper-basic.component.html' + selector: 'sample-po-stepper-basic', + templateUrl: './sample-po-stepper-basic.component.html', + standalone: false }) export class SamplePoStepperBasicComponent {} diff --git a/projects/ui/src/lib/components/po-stepper/samples/sample-po-stepper-labs/sample-po-stepper-labs.component.ts b/projects/ui/src/lib/components/po-stepper/samples/sample-po-stepper-labs/sample-po-stepper-labs.component.ts index 448baf6081..26a2bea19e 100644 --- a/projects/ui/src/lib/components/po-stepper/samples/sample-po-stepper-labs/sample-po-stepper-labs.component.ts +++ b/projects/ui/src/lib/components/po-stepper/samples/sample-po-stepper-labs/sample-po-stepper-labs.component.ts @@ -3,8 +3,9 @@ import { ChangeDetectorRef, Component, OnInit } from '@angular/core'; import { PoDynamicFormField, PoStepperItem } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-stepper-labs', - templateUrl: './sample-po-stepper-labs.component.html' + selector: 'sample-po-stepper-labs', + templateUrl: './sample-po-stepper-labs.component.html', + standalone: false }) export class SamplePoStepperLabsComponent implements OnInit { event: any; diff --git a/projects/ui/src/lib/components/po-stepper/samples/sample-po-stepper-sales/sample-po-stepper-sales.component.ts b/projects/ui/src/lib/components/po-stepper/samples/sample-po-stepper-sales/sample-po-stepper-sales.component.ts index 01fec6a2e5..1f4f884711 100644 --- a/projects/ui/src/lib/components/po-stepper/samples/sample-po-stepper-sales/sample-po-stepper-sales.component.ts +++ b/projects/ui/src/lib/components/po-stepper/samples/sample-po-stepper-sales/sample-po-stepper-sales.component.ts @@ -6,8 +6,9 @@ import { of } from 'rxjs'; import { delay, finalize, map, tap } from 'rxjs/operators'; @Component({ - selector: 'sample-po-stepper-sales', - templateUrl: './sample-po-stepper-sales.component.html' + selector: 'sample-po-stepper-sales', + templateUrl: './sample-po-stepper-sales.component.html', + standalone: false }) export class SamplePoStepperSalesComponent { @ViewChild('addressForm', { static: true }) addressForm: NgForm; diff --git a/projects/ui/src/lib/components/po-stepper/samples/sample-po-stepper-steps/sample-po-stepper-steps.component.ts b/projects/ui/src/lib/components/po-stepper/samples/sample-po-stepper-steps/sample-po-stepper-steps.component.ts index efd42c35ec..7e7f53218b 100644 --- a/projects/ui/src/lib/components/po-stepper/samples/sample-po-stepper-steps/sample-po-stepper-steps.component.ts +++ b/projects/ui/src/lib/components/po-stepper/samples/sample-po-stepper-steps/sample-po-stepper-steps.component.ts @@ -2,8 +2,9 @@ import { AfterViewInit, ChangeDetectorRef, Component } from '@angular/core'; import { PoStepperItem, PoStepperStatus } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-stepper-steps', - templateUrl: './sample-po-stepper-steps.component.html' + selector: 'sample-po-stepper-steps', + templateUrl: './sample-po-stepper-steps.component.html', + standalone: false }) export class SamplePoStepperStepsComponent implements AfterViewInit { currentStep: number; diff --git a/projects/ui/src/lib/components/po-table/po-table-cell-template/po-table-cell-template.directive.ts b/projects/ui/src/lib/components/po-table/po-table-cell-template/po-table-cell-template.directive.ts index 23436e59c1..b5af923066 100644 --- a/projects/ui/src/lib/components/po-table/po-table-cell-template/po-table-cell-template.directive.ts +++ b/projects/ui/src/lib/components/po-table/po-table-cell-template/po-table-cell-template.directive.ts @@ -66,7 +66,8 @@ import { Directive, TemplateRef } from '@angular/core'; * > Observação: Sempre adicionar o **type** da coluna que deseja manipular com a directiva como `cellTemplate` */ @Directive({ - selector: '[p-table-cell-template]' + selector: '[p-table-cell-template]', + standalone: false }) export class PoTableCellTemplateDirective { // Necessário manter templateRef para o funcionamento do cell template. diff --git a/projects/ui/src/lib/components/po-table/po-table-column-frozen/po-table-column-frozen.directive.spec.ts b/projects/ui/src/lib/components/po-table/po-table-column-frozen/po-table-column-frozen.directive.spec.ts index acbe38842f..3e4231b1ea 100644 --- a/projects/ui/src/lib/components/po-table/po-table-column-frozen/po-table-column-frozen.directive.spec.ts +++ b/projects/ui/src/lib/components/po-table/po-table-column-frozen/po-table-column-frozen.directive.spec.ts @@ -5,11 +5,12 @@ import { By } from '@angular/platform-browser'; import { PoTableColumnFrozenDirective } from './po-table-column-frozen.directive'; @Component({ - template: ` + template: `
- ` + `, + standalone: false }) class TestHostComponent { frozen: boolean; diff --git a/projects/ui/src/lib/components/po-table/po-table-column-frozen/po-table-column-frozen.directive.ts b/projects/ui/src/lib/components/po-table/po-table-column-frozen/po-table-column-frozen.directive.ts index 281fc453f4..10f3651b04 100644 --- a/projects/ui/src/lib/components/po-table/po-table-column-frozen/po-table-column-frozen.directive.ts +++ b/projects/ui/src/lib/components/po-table/po-table-column-frozen/po-table-column-frozen.directive.ts @@ -1,11 +1,12 @@ import { AfterViewInit, Directive, ElementRef, Input, Renderer2, OnChanges, SimpleChanges } from '@angular/core'; @Directive({ - selector: '[pFrozenColumn]', - host: { - class: 'p-element', - '[class.po-frozen-column]': 'frozen' - } + selector: '[pFrozenColumn]', + host: { + class: 'p-element', + '[class.po-frozen-column]': 'frozen' + }, + standalone: false }) export class PoTableColumnFrozenDirective implements AfterViewInit, OnChanges { _frozen: boolean = true; diff --git a/projects/ui/src/lib/components/po-table/po-table-column-icon/po-table-column-icon.component.ts b/projects/ui/src/lib/components/po-table/po-table-column-icon/po-table-column-icon.component.ts index 6e82676188..d6098cd13c 100644 --- a/projects/ui/src/lib/components/po-table/po-table-column-icon/po-table-column-icon.component.ts +++ b/projects/ui/src/lib/components/po-table/po-table-column-icon/po-table-column-icon.component.ts @@ -11,9 +11,10 @@ import { PoTableColumnIcon } from './po-table-column-icon.interface'; * Componente responsável por exibir ícones nas colunas. */ @Component({ - selector: 'po-table-column-icon', - templateUrl: './po-table-column-icon.component.html', - changeDetection: ChangeDetectionStrategy.OnPush + selector: 'po-table-column-icon', + templateUrl: './po-table-column-icon.component.html', + changeDetection: ChangeDetectionStrategy.OnPush, + standalone: false }) export class PoTableColumnIconComponent { /** Definição da coluna que utiliza os icones. */ diff --git a/projects/ui/src/lib/components/po-table/po-table-column-label/po-table-column-label.component.ts b/projects/ui/src/lib/components/po-table/po-table-column-label/po-table-column-label.component.ts index 26ef1fee5a..274b6fb2de 100644 --- a/projects/ui/src/lib/components/po-table/po-table-column-label/po-table-column-label.component.ts +++ b/projects/ui/src/lib/components/po-table/po-table-column-label/po-table-column-label.component.ts @@ -11,9 +11,10 @@ import { PoTableColumnLabel } from './po-table-column-label.interface'; */ @Component({ - selector: 'po-table-column-label', - templateUrl: './po-table-column-label.component.html', - changeDetection: ChangeDetectionStrategy.OnPush + selector: 'po-table-column-label', + templateUrl: './po-table-column-label.component.html', + changeDetection: ChangeDetectionStrategy.OnPush, + standalone: false }) export class PoTableColumnLabelComponent implements OnInit { @Input('p-value') value: PoTableColumnLabel; diff --git a/projects/ui/src/lib/components/po-table/po-table-column-link/po-table-column-link.component.ts b/projects/ui/src/lib/components/po-table/po-table-column-link/po-table-column-link.component.ts index 8fff11fb2e..d45c79e64b 100644 --- a/projects/ui/src/lib/components/po-table/po-table-column-link/po-table-column-link.component.ts +++ b/projects/ui/src/lib/components/po-table/po-table-column-link/po-table-column-link.component.ts @@ -10,9 +10,10 @@ import { isExternalLink } from '../../../utils/util'; * Componente responsável por exibir link nas colunas. */ @Component({ - selector: 'po-table-column-link', - templateUrl: './po-table-column-link.component.html', - changeDetection: ChangeDetectionStrategy.OnPush + selector: 'po-table-column-link', + templateUrl: './po-table-column-link.component.html', + changeDetection: ChangeDetectionStrategy.OnPush, + standalone: false }) export class PoTableColumnLinkComponent { @Input('p-action') action: Function; diff --git a/projects/ui/src/lib/components/po-table/po-table-column-manager/po-table-column-manager.component.ts b/projects/ui/src/lib/components/po-table/po-table-column-manager/po-table-column-manager.component.ts index 0027259397..fa018d8d97 100644 --- a/projects/ui/src/lib/components/po-table/po-table-column-manager/po-table-column-manager.component.ts +++ b/projects/ui/src/lib/components/po-table/po-table-column-manager/po-table-column-manager.component.ts @@ -44,8 +44,9 @@ export const poTableColumnManagerLiteralsDefault = { type Direction = 'up' | 'down'; @Component({ - selector: 'po-table-column-manager', - templateUrl: './po-table-column-manager.component.html' + selector: 'po-table-column-manager', + templateUrl: './po-table-column-manager.component.html', + standalone: false }) export class PoTableColumnManagerComponent implements OnChanges, OnDestroy { @ViewChild(PoPopoverComponent) popover: PoPopoverComponent; diff --git a/projects/ui/src/lib/components/po-table/po-table-column-template/po-table-column-template.directive.ts b/projects/ui/src/lib/components/po-table/po-table-column-template/po-table-column-template.directive.ts index b4be964e87..4f64235b6b 100644 --- a/projects/ui/src/lib/components/po-table/po-table-column-template/po-table-column-template.directive.ts +++ b/projects/ui/src/lib/components/po-table/po-table-column-template/po-table-column-template.directive.ts @@ -73,7 +73,8 @@ import { Directive, Input, TemplateRef } from '@angular/core'; */ @Directive({ - selector: '[p-table-column-template]' + selector: '[p-table-column-template]', + standalone: false }) export class PoTableColumnTemplateDirective { /** diff --git a/projects/ui/src/lib/components/po-table/po-table-detail/po-table-detail.component.ts b/projects/ui/src/lib/components/po-table/po-table-detail/po-table-detail.component.ts index 53e17dd8fb..ebb21bdbce 100644 --- a/projects/ui/src/lib/components/po-table/po-table-detail/po-table-detail.component.ts +++ b/projects/ui/src/lib/components/po-table/po-table-detail/po-table-detail.component.ts @@ -14,8 +14,9 @@ import { PoTableDetailColumn } from './po-table-detail-column.interface'; * Componente responsável por apresentar o detalhe de cada linha da tabela. */ @Component({ - selector: 'po-table-detail', - templateUrl: './po-table-detail.component.html' + selector: 'po-table-detail', + templateUrl: './po-table-detail.component.html', + standalone: false }) export class PoTableDetailComponent { /** diff --git a/projects/ui/src/lib/components/po-table/po-table-icon/po-table-icon.component.ts b/projects/ui/src/lib/components/po-table/po-table-icon/po-table-icon.component.ts index 8c6f8330dc..9d26880548 100644 --- a/projects/ui/src/lib/components/po-table/po-table-icon/po-table-icon.component.ts +++ b/projects/ui/src/lib/components/po-table/po-table-icon/po-table-icon.component.ts @@ -8,9 +8,10 @@ import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output, Templa * Componente responsável por exibir um ícone na tabela. */ @Component({ - selector: 'po-table-icon', - templateUrl: './po-table-icon.component.html', - changeDetection: ChangeDetectionStrategy.OnPush + selector: 'po-table-icon', + templateUrl: './po-table-icon.component.html', + changeDetection: ChangeDetectionStrategy.OnPush, + standalone: false }) export class PoTableIconComponent { /** Define se o ícone é clicável. */ diff --git a/projects/ui/src/lib/components/po-table/po-table-list-manager/po-table-list-manager.component.ts b/projects/ui/src/lib/components/po-table/po-table-list-manager/po-table-list-manager.component.ts index a786562bd0..3ef4c2db54 100644 --- a/projects/ui/src/lib/components/po-table/po-table-list-manager/po-table-list-manager.component.ts +++ b/projects/ui/src/lib/components/po-table/po-table-list-manager/po-table-list-manager.component.ts @@ -38,15 +38,16 @@ export const poTableListManagerLiterals = { type Direction = 'up' | 'down'; @Component({ - selector: 'po-table-list-manager', - templateUrl: './po-table-list-manager.component.html', - providers: [ - { - provide: NG_VALUE_ACCESSOR, - useExisting: forwardRef(() => PoTableListManagerComponent), - multi: true - } - ] + selector: 'po-table-list-manager', + templateUrl: './po-table-list-manager.component.html', + providers: [ + { + provide: NG_VALUE_ACCESSOR, + useExisting: forwardRef(() => PoTableListManagerComponent), + multi: true + } + ], + standalone: false }) export class PoTableListManagerComponent extends PoCheckboxGroupComponent { private _iconToken: { [key: string]: string }; diff --git a/projects/ui/src/lib/components/po-table/po-table-row-template/po-table-row-template.directive.ts b/projects/ui/src/lib/components/po-table/po-table-row-template/po-table-row-template.directive.ts index 0985204500..d11af7ee7a 100644 --- a/projects/ui/src/lib/components/po-table/po-table-row-template/po-table-row-template.directive.ts +++ b/projects/ui/src/lib/components/po-table/po-table-row-template/po-table-row-template.directive.ts @@ -90,7 +90,8 @@ import { PoTableRowTemplateArrowDirection } from '../enums/po-table-row-template * não correspondam à *delivered*. */ @Directive({ - selector: '[p-table-row-template]' + selector: '[p-table-row-template]', + standalone: false }) export class PoTableRowTemplateDirective { /** diff --git a/projects/ui/src/lib/components/po-table/po-table-show-subtitle/po-table-show-subtitle.component.ts b/projects/ui/src/lib/components/po-table/po-table-show-subtitle/po-table-show-subtitle.component.ts index 3fac27b6d5..77250d9418 100644 --- a/projects/ui/src/lib/components/po-table/po-table-show-subtitle/po-table-show-subtitle.component.ts +++ b/projects/ui/src/lib/components/po-table/po-table-show-subtitle/po-table-show-subtitle.component.ts @@ -10,8 +10,9 @@ import { PoTableSubtitleColumn } from '../po-table-subtitle-footer/po-table-subt * Componente para a criação de um botão e modal para visualização de todas as legendas. */ @Component({ - selector: 'po-table-show-subtitle', - templateUrl: './po-table-show-subtitle.component.html' + selector: 'po-table-show-subtitle', + templateUrl: './po-table-show-subtitle.component.html', + standalone: false }) export class PoTableShowSubtitleComponent { /** Objeto com os dados da legenda. */ diff --git a/projects/ui/src/lib/components/po-table/po-table-subtitle-circle/po-table-subtitle-circle.component.ts b/projects/ui/src/lib/components/po-table/po-table-subtitle-circle/po-table-subtitle-circle.component.ts index d6dde1f8a9..00bdcff097 100644 --- a/projects/ui/src/lib/components/po-table/po-table-subtitle-circle/po-table-subtitle-circle.component.ts +++ b/projects/ui/src/lib/components/po-table/po-table-subtitle-circle/po-table-subtitle-circle.component.ts @@ -11,9 +11,10 @@ import { PoTableSubtitleColumn } from './../po-table-subtitle-footer/po-table-su * Componente para a criação da representação da legenda, em formato de círculo. */ @Component({ - selector: 'po-table-subtitle-circle', - templateUrl: './po-table-subtitle-circle.component.html', - changeDetection: ChangeDetectionStrategy.OnPush + selector: 'po-table-subtitle-circle', + templateUrl: './po-table-subtitle-circle.component.html', + changeDetection: ChangeDetectionStrategy.OnPush, + standalone: false }) export class PoTableSubtitleCircleComponent { /** Esconde a tooltip. */ diff --git a/projects/ui/src/lib/components/po-table/po-table-subtitle-footer/po-table-subtitle-footer.component.ts b/projects/ui/src/lib/components/po-table/po-table-subtitle-footer/po-table-subtitle-footer.component.ts index 863727539e..6db5a4096c 100644 --- a/projects/ui/src/lib/components/po-table/po-table-subtitle-footer/po-table-subtitle-footer.component.ts +++ b/projects/ui/src/lib/components/po-table/po-table-subtitle-footer/po-table-subtitle-footer.component.ts @@ -10,8 +10,9 @@ import { PoTableSubtitleColumn } from './po-table-subtitle-column.interface'; * Componente para a criação de um conjunto de legendas. */ @Component({ - selector: 'po-table-subtitle-footer', - templateUrl: './po-table-subtitle-footer.component.html' + selector: 'po-table-subtitle-footer', + templateUrl: './po-table-subtitle-footer.component.html', + standalone: false }) export class PoTableSubtitleFooterComponent implements AfterViewInit, DoCheck, OnDestroy { /** Propriedade que recebe as literais definidas no `po-table`. */ diff --git a/projects/ui/src/lib/components/po-table/po-table.component.spec.ts b/projects/ui/src/lib/components/po-table/po-table.component.spec.ts index 0985622a51..9d5e47fe8e 100644 --- a/projects/ui/src/lib/components/po-table/po-table.component.spec.ts +++ b/projects/ui/src/lib/components/po-table/po-table.component.spec.ts @@ -25,10 +25,16 @@ import { PoTableModule } from './po-table.module'; import { PoTableService } from './services/po-table.service'; import { provideHttpClient, withInterceptorsFromDi } from '@angular/common/http'; -@Component({ template: 'Search' }) +@Component({ + template: 'Search', + standalone: false +}) export class SearchComponent {} -@Component({ template: 'Home' }) +@Component({ + template: 'Home', + standalone: false +}) export class TestMenuComponent {} export const routes: Routes = [ diff --git a/projects/ui/src/lib/components/po-table/po-table.component.ts b/projects/ui/src/lib/components/po-table/po-table.component.ts index 236ce23f3a..00a25d8d74 100644 --- a/projects/ui/src/lib/components/po-table/po-table.component.ts +++ b/projects/ui/src/lib/components/po-table/po-table.component.ts @@ -99,9 +99,10 @@ import { PoTableService } from './services/po-table.service'; * */ @Component({ - selector: 'po-table', - templateUrl: './po-table.component.html', - providers: [PoDateService] + selector: 'po-table', + templateUrl: './po-table.component.html', + providers: [PoDateService], + standalone: false }) export class PoTableComponent extends PoTableBaseComponent implements AfterViewInit, DoCheck, OnDestroy, OnInit { @ContentChild(PoTableRowTemplateDirective, { static: true }) tableRowTemplate: PoTableRowTemplateDirective; diff --git a/projects/ui/src/lib/components/po-table/samples/sample-po-table-airfare/sample-po-table-airfare.component.ts b/projects/ui/src/lib/components/po-table/samples/sample-po-table-airfare/sample-po-table-airfare.component.ts index 60c55852fc..aa6b06247c 100644 --- a/projects/ui/src/lib/components/po-table/samples/sample-po-table-airfare/sample-po-table-airfare.component.ts +++ b/projects/ui/src/lib/components/po-table/samples/sample-po-table-airfare/sample-po-table-airfare.component.ts @@ -12,9 +12,10 @@ import { import { SamplePoTableAirfareService } from './sample-po-table-airfare.service'; @Component({ - selector: 'sample-po-table-airfare', - templateUrl: './sample-po-table-airfare.component.html', - providers: [SamplePoTableAirfareService, PoDialogService] + selector: 'sample-po-table-airfare', + templateUrl: './sample-po-table-airfare.component.html', + providers: [SamplePoTableAirfareService, PoDialogService], + standalone: false }) export class SamplePoTableAirfareComponent implements AfterViewInit, OnInit { @ViewChild(PoModalComponent, { static: true }) poModal: PoModalComponent; diff --git a/projects/ui/src/lib/components/po-table/samples/sample-po-table-basic/sample-po-table-basic.component.ts b/projects/ui/src/lib/components/po-table/samples/sample-po-table-basic/sample-po-table-basic.component.ts index 32a475943a..4707dc5b5f 100644 --- a/projects/ui/src/lib/components/po-table/samples/sample-po-table-basic/sample-po-table-basic.component.ts +++ b/projects/ui/src/lib/components/po-table/samples/sample-po-table-basic/sample-po-table-basic.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-table-basic', - templateUrl: './sample-po-table-basic.component.html' + selector: 'sample-po-table-basic', + templateUrl: './sample-po-table-basic.component.html', + standalone: false }) export class SamplePoTableBasicComponent {} diff --git a/projects/ui/src/lib/components/po-table/samples/sample-po-table-components/sample-po-table-components.component.ts b/projects/ui/src/lib/components/po-table/samples/sample-po-table-components/sample-po-table-components.component.ts index b53bcbf329..3561fd9e92 100644 --- a/projects/ui/src/lib/components/po-table/samples/sample-po-table-components/sample-po-table-components.component.ts +++ b/projects/ui/src/lib/components/po-table/samples/sample-po-table-components/sample-po-table-components.component.ts @@ -7,10 +7,11 @@ import { SamplePoTableComponentStatus } from './sample-po-table-components.enum' import { SamplePoTableComponentsService } from './sample-po-table-components.service'; @Component({ - selector: 'sample-po-table-components', - templateUrl: './sample-po-table-components.component.html', - styleUrls: ['./sample-po-table-components.component.css'], - providers: [SamplePoTableComponentsService] + selector: 'sample-po-table-components', + templateUrl: './sample-po-table-components.component.html', + styleUrls: ['./sample-po-table-components.component.css'], + providers: [SamplePoTableComponentsService], + standalone: false }) export class SamplePoTableComponentsComponent implements OnInit { @ViewChild(PoModalComponent, { static: true }) poModal: PoModalComponent; diff --git a/projects/ui/src/lib/components/po-table/samples/sample-po-table-draggable/sample-po-table-draggable.component.ts b/projects/ui/src/lib/components/po-table/samples/sample-po-table-draggable/sample-po-table-draggable.component.ts index 4b99500966..3743ad7c92 100644 --- a/projects/ui/src/lib/components/po-table/samples/sample-po-table-draggable/sample-po-table-draggable.component.ts +++ b/projects/ui/src/lib/components/po-table/samples/sample-po-table-draggable/sample-po-table-draggable.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-table-draggable', - templateUrl: './sample-po-table-draggable.component.html' + selector: 'sample-po-table-draggable', + templateUrl: './sample-po-table-draggable.component.html', + standalone: false }) export class SamplePoTableDraggableComponent {} diff --git a/projects/ui/src/lib/components/po-table/samples/sample-po-table-heroes/sample-po-table-heroes.component.ts b/projects/ui/src/lib/components/po-table/samples/sample-po-table-heroes/sample-po-table-heroes.component.ts index 1ba2449faf..8c34aa9eb9 100644 --- a/projects/ui/src/lib/components/po-table/samples/sample-po-table-heroes/sample-po-table-heroes.component.ts +++ b/projects/ui/src/lib/components/po-table/samples/sample-po-table-heroes/sample-po-table-heroes.component.ts @@ -4,9 +4,10 @@ import { PoTableColumn, PoTableComponent } from '@po-ui/ng-components'; import { SamplePoTableHeroesService } from './sample-po-table-heroes.service'; @Component({ - selector: 'sample-po-table-heroes', - templateUrl: './sample-po-table-heroes.component.html', - providers: [SamplePoTableHeroesService] + selector: 'sample-po-table-heroes', + templateUrl: './sample-po-table-heroes.component.html', + providers: [SamplePoTableHeroesService], + standalone: false }) export class SamplePoTableHeroesComponent implements OnInit { @ViewChild('POItemsOri', { static: true }) poItemsOri: PoTableComponent; diff --git a/projects/ui/src/lib/components/po-table/samples/sample-po-table-labs/sample-po-table-labs.component.ts b/projects/ui/src/lib/components/po-table/samples/sample-po-table-labs/sample-po-table-labs.component.ts index 3d42e4d2ad..744c8b4848 100644 --- a/projects/ui/src/lib/components/po-table/samples/sample-po-table-labs/sample-po-table-labs.component.ts +++ b/projects/ui/src/lib/components/po-table/samples/sample-po-table-labs/sample-po-table-labs.component.ts @@ -14,9 +14,10 @@ import { import { SamplePoTableLabsService } from './sample-po-table-labs.service'; @Component({ - selector: 'sample-po-table-labs', - templateUrl: './sample-po-table-labs.component.html', - providers: [SamplePoTableLabsService] + selector: 'sample-po-table-labs', + templateUrl: './sample-po-table-labs.component.html', + providers: [SamplePoTableLabsService], + standalone: false }) export class SamplePoTableLabsComponent implements OnInit { @ViewChild(PoModalComponent, { static: true }) poModal: PoModalComponent; diff --git a/projects/ui/src/lib/components/po-table/samples/sample-po-table-transport/sample-po-table-transport.component.ts b/projects/ui/src/lib/components/po-table/samples/sample-po-table-transport/sample-po-table-transport.component.ts index 1da184498b..7b2df10a1c 100644 --- a/projects/ui/src/lib/components/po-table/samples/sample-po-table-transport/sample-po-table-transport.component.ts +++ b/projects/ui/src/lib/components/po-table/samples/sample-po-table-transport/sample-po-table-transport.component.ts @@ -7,9 +7,10 @@ import { PoTableColumn } from '@po-ui/ng-components'; import { SamplePoTableTransportService } from './sample-po-table-transport.service'; @Component({ - selector: 'sample-po-table-transport', - templateUrl: 'sample-po-table-transport.component.html', - providers: [SamplePoTableTransportService] + selector: 'sample-po-table-transport', + templateUrl: 'sample-po-table-transport.component.html', + providers: [SamplePoTableTransportService], + standalone: false }) export class SamplePoTableTransportComponent implements OnInit { columns: Array; diff --git a/projects/ui/src/lib/components/po-table/samples/sample-po-table-with-api/sample-po-table-with-api.component.ts b/projects/ui/src/lib/components/po-table/samples/sample-po-table-with-api/sample-po-table-with-api.component.ts index 481e2d38d9..f001d6d52a 100644 --- a/projects/ui/src/lib/components/po-table/samples/sample-po-table-with-api/sample-po-table-with-api.component.ts +++ b/projects/ui/src/lib/components/po-table/samples/sample-po-table-with-api/sample-po-table-with-api.component.ts @@ -2,8 +2,9 @@ import { Component, ViewChild } from '@angular/core'; import { PoDisclaimerGroupRemoveAction, PoDisclaimer, PoTableComponent, PoTableColumn } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-table-with-api', - templateUrl: './sample-po-table-with-api.component.html' + selector: 'sample-po-table-with-api', + templateUrl: './sample-po-table-with-api.component.html', + standalone: false }) export class SamplePoTableWithApiComponent { @ViewChild('table') tableComponent: PoTableComponent; diff --git a/projects/ui/src/lib/components/po-tabs/po-tab-button/po-tab-button.component.ts b/projects/ui/src/lib/components/po-tabs/po-tab-button/po-tab-button.component.ts index 95319c6400..2697a64df8 100644 --- a/projects/ui/src/lib/components/po-tabs/po-tab-button/po-tab-button.component.ts +++ b/projects/ui/src/lib/components/po-tabs/po-tab-button/po-tab-button.component.ts @@ -21,8 +21,9 @@ import { convertToBoolean } from '../../../utils/util'; * Componente responsável por manipular os botões de aba. */ @Component({ - selector: 'po-tab-button', - templateUrl: './po-tab-button.component.html' + selector: 'po-tab-button', + templateUrl: './po-tab-button.component.html', + standalone: false }) export class PoTabButtonComponent implements OnChanges, AfterViewInit { @ViewChild('tabButtom', { static: true }) tabButtom: ElementRef; diff --git a/projects/ui/src/lib/components/po-tabs/po-tab-dropdown/po-tab-dropdown.component.ts b/projects/ui/src/lib/components/po-tabs/po-tab-dropdown/po-tab-dropdown.component.ts index 8455ecea71..2766df8e35 100644 --- a/projects/ui/src/lib/components/po-tabs/po-tab-dropdown/po-tab-dropdown.component.ts +++ b/projects/ui/src/lib/components/po-tabs/po-tab-dropdown/po-tab-dropdown.component.ts @@ -22,8 +22,9 @@ import { PoButtonComponent } from '../../po-button/po-button.component'; * no formato de lista. */ @Component({ - selector: 'po-tab-dropdown', - templateUrl: './po-tab-dropdown.component.html' + selector: 'po-tab-dropdown', + templateUrl: './po-tab-dropdown.component.html', + standalone: false }) export class PoTabDropdownComponent implements AfterViewInit { @ViewChild('popover', { static: true }) popover: PoPopoverComponent; diff --git a/projects/ui/src/lib/components/po-tabs/po-tab/po-tab.component.ts b/projects/ui/src/lib/components/po-tabs/po-tab/po-tab.component.ts index c39cb20de9..17bea9c297 100644 --- a/projects/ui/src/lib/components/po-tabs/po-tab/po-tab.component.ts +++ b/projects/ui/src/lib/components/po-tabs/po-tab/po-tab.component.ts @@ -7,8 +7,9 @@ import { PoTabsService } from '../po-tabs.service'; * @docsExtends PoTabBaseComponent */ @Component({ - selector: 'po-tab', - templateUrl: './po-tab.component.html' + selector: 'po-tab', + templateUrl: './po-tab.component.html', + standalone: false }) export class PoTabComponent extends PoTabBaseComponent implements AfterContentInit, OnChanges { constructor( diff --git a/projects/ui/src/lib/components/po-tabs/po-tabs.component.ts b/projects/ui/src/lib/components/po-tabs/po-tabs.component.ts index 8ed03ff2ce..6d28b86318 100644 --- a/projects/ui/src/lib/components/po-tabs/po-tabs.component.ts +++ b/projects/ui/src/lib/components/po-tabs/po-tabs.component.ts @@ -63,8 +63,9 @@ const poTabsMaxNumberOfTabs = 5; * */ @Component({ - selector: 'po-tabs', - templateUrl: './po-tabs.component.html' + selector: 'po-tabs', + templateUrl: './po-tabs.component.html', + standalone: false }) export class PoTabsComponent extends PoTabsBaseComponent implements OnInit, AfterViewInit, OnDestroy, AfterContentInit { // Tabs utilizados no ng-content diff --git a/projects/ui/src/lib/components/po-tabs/samples/sample-po-tabs-basic/sample-po-tabs-basic.component.ts b/projects/ui/src/lib/components/po-tabs/samples/sample-po-tabs-basic/sample-po-tabs-basic.component.ts index 3bb515e036..493e95141f 100644 --- a/projects/ui/src/lib/components/po-tabs/samples/sample-po-tabs-basic/sample-po-tabs-basic.component.ts +++ b/projects/ui/src/lib/components/po-tabs/samples/sample-po-tabs-basic/sample-po-tabs-basic.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-tabs-basic', - templateUrl: './sample-po-tabs-basic.component.html' + selector: 'sample-po-tabs-basic', + templateUrl: './sample-po-tabs-basic.component.html', + standalone: false }) export class SamplePoTabsBasicComponent {} diff --git a/projects/ui/src/lib/components/po-tabs/samples/sample-po-tabs-business-conf/sample-po-tabs-business-conf.component.ts b/projects/ui/src/lib/components/po-tabs/samples/sample-po-tabs-business-conf/sample-po-tabs-business-conf.component.ts index 2fc1a1913c..42763d94b0 100644 --- a/projects/ui/src/lib/components/po-tabs/samples/sample-po-tabs-business-conf/sample-po-tabs-business-conf.component.ts +++ b/projects/ui/src/lib/components/po-tabs/samples/sample-po-tabs-business-conf/sample-po-tabs-business-conf.component.ts @@ -3,8 +3,9 @@ import { Component, OnInit, ViewChild } from '@angular/core'; import { PoNotificationService, PoTabsComponent } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-tabs-business-conf', - templateUrl: './sample-po-tabs-business-conf.component.html' + selector: 'sample-po-tabs-business-conf', + templateUrl: './sample-po-tabs-business-conf.component.html', + standalone: false }) export class SamplePoTabsBusinessConfComponent implements OnInit { @ViewChild('poTab', { static: true }) poTab: PoTabsComponent; diff --git a/projects/ui/src/lib/components/po-tabs/samples/sample-po-tabs-labs/sample-po-tabs-labs.component.ts b/projects/ui/src/lib/components/po-tabs/samples/sample-po-tabs-labs/sample-po-tabs-labs.component.ts index e36c35a7eb..8509f3af4a 100644 --- a/projects/ui/src/lib/components/po-tabs/samples/sample-po-tabs-labs/sample-po-tabs-labs.component.ts +++ b/projects/ui/src/lib/components/po-tabs/samples/sample-po-tabs-labs/sample-po-tabs-labs.component.ts @@ -3,8 +3,9 @@ import { Component, OnInit, ViewChild } from '@angular/core'; import { PoDynamicFormField, PoNotificationService, PoTab, PoTabsComponent } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-tabs-labs', - templateUrl: './sample-po-tabs-labs.component.html' + selector: 'sample-po-tabs-labs', + templateUrl: './sample-po-tabs-labs.component.html', + standalone: false }) export class SamplePoTabsLabsComponent implements OnInit { @ViewChild('poTab', { static: true }) poTab: PoTabsComponent; diff --git a/projects/ui/src/lib/components/po-tabs/samples/sample-po-tabs-travel/sample-po-tabs-travel.component.ts b/projects/ui/src/lib/components/po-tabs/samples/sample-po-tabs-travel/sample-po-tabs-travel.component.ts index 9876dba33e..9ea22a6434 100644 --- a/projects/ui/src/lib/components/po-tabs/samples/sample-po-tabs-travel/sample-po-tabs-travel.component.ts +++ b/projects/ui/src/lib/components/po-tabs/samples/sample-po-tabs-travel/sample-po-tabs-travel.component.ts @@ -3,8 +3,9 @@ import { Component } from '@angular/core'; import { PoNotificationService, PoRadioGroupOption, PoSelectOption } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-tabs-travel', - templateUrl: './sample-po-tabs-travel.component.html' + selector: 'sample-po-tabs-travel', + templateUrl: './sample-po-tabs-travel.component.html', + standalone: false }) export class SamplePoTabsTravelComponent { card: number; diff --git a/projects/ui/src/lib/components/po-tag/po-tag.component.spec.ts b/projects/ui/src/lib/components/po-tag/po-tag.component.spec.ts index b751d30029..31f279dc65 100644 --- a/projects/ui/src/lib/components/po-tag/po-tag.component.spec.ts +++ b/projects/ui/src/lib/components/po-tag/po-tag.component.spec.ts @@ -15,7 +15,8 @@ import { PoTagType } from './enums/po-tag-type.enum'; import { PoTagLiterals } from './po-tag.literals'; @Component({ - template: ` ` + template: ` `, + standalone: false }) class PoTagClickableComponent { onClick() {} diff --git a/projects/ui/src/lib/components/po-tag/po-tag.component.ts b/projects/ui/src/lib/components/po-tag/po-tag.component.ts index c40e9e6f17..8d519ff8c8 100644 --- a/projects/ui/src/lib/components/po-tag/po-tag.component.ts +++ b/projects/ui/src/lib/components/po-tag/po-tag.component.ts @@ -29,9 +29,10 @@ const poTagTypeDefault = 'po-tag-' + PoTagType.Info; * */ @Component({ - selector: 'po-tag', - templateUrl: './po-tag.component.html', - changeDetection: ChangeDetectionStrategy.OnPush + selector: 'po-tag', + templateUrl: './po-tag.component.html', + changeDetection: ChangeDetectionStrategy.OnPush, + standalone: false }) export class PoTagComponent extends PoTagBaseComponent implements OnInit { @ViewChild('tagContainer', { static: true }) tagContainer: ElementRef; diff --git a/projects/ui/src/lib/components/po-tag/samples/sample-po-tag-bank-account/sample-po-tag-bank-account.component.ts b/projects/ui/src/lib/components/po-tag/samples/sample-po-tag-bank-account/sample-po-tag-bank-account.component.ts index 535f8314c6..61cdbdad87 100644 --- a/projects/ui/src/lib/components/po-tag/samples/sample-po-tag-bank-account/sample-po-tag-bank-account.component.ts +++ b/projects/ui/src/lib/components/po-tag/samples/sample-po-tag-bank-account/sample-po-tag-bank-account.component.ts @@ -1,8 +1,9 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-tag-bank-account', - templateUrl: './sample-po-tag-bank-account.component.html' + selector: 'sample-po-tag-bank-account', + templateUrl: './sample-po-tag-bank-account.component.html', + standalone: false }) export class SamplePoTagBankAccountComponent { investiments = [ diff --git a/projects/ui/src/lib/components/po-tag/samples/sample-po-tag-basic/sample-po-tag-basic.component.ts b/projects/ui/src/lib/components/po-tag/samples/sample-po-tag-basic/sample-po-tag-basic.component.ts index 9240a43f1c..2f86dfb618 100644 --- a/projects/ui/src/lib/components/po-tag/samples/sample-po-tag-basic/sample-po-tag-basic.component.ts +++ b/projects/ui/src/lib/components/po-tag/samples/sample-po-tag-basic/sample-po-tag-basic.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-tag-basic', - templateUrl: './sample-po-tag-basic.component.html' + selector: 'sample-po-tag-basic', + templateUrl: './sample-po-tag-basic.component.html', + standalone: false }) export class SamplePoTagBasicComponent {} diff --git a/projects/ui/src/lib/components/po-tag/samples/sample-po-tag-labs/sample-po-tag-labs.component.ts b/projects/ui/src/lib/components/po-tag/samples/sample-po-tag-labs/sample-po-tag-labs.component.ts index 290bbaeb7a..e0a2dddf85 100644 --- a/projects/ui/src/lib/components/po-tag/samples/sample-po-tag-labs/sample-po-tag-labs.component.ts +++ b/projects/ui/src/lib/components/po-tag/samples/sample-po-tag-labs/sample-po-tag-labs.component.ts @@ -9,10 +9,10 @@ import { } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-tag-labs', - templateUrl: './sample-po-tag-labs.component.html', - styles: [ - ` + selector: 'sample-po-tag-labs', + templateUrl: './sample-po-tag-labs.component.html', + styles: [ + ` .sample-tag-color-circle { border-radius: 10px; display: inline-block; @@ -22,7 +22,8 @@ import { width: 16px; } ` - ] + ], + standalone: false }) export class SamplePoTagLabsComponent implements OnInit { color: string; diff --git a/projects/ui/src/lib/components/po-toaster/po-toaster.component.ts b/projects/ui/src/lib/components/po-toaster/po-toaster.component.ts index 6479ad3430..d34095cdd9 100644 --- a/projects/ui/src/lib/components/po-toaster/po-toaster.component.ts +++ b/projects/ui/src/lib/components/po-toaster/po-toaster.component.ts @@ -38,8 +38,9 @@ const SPACE_BETWEEN_TOASTERS = 8; * */ @Component({ - selector: 'po-toaster', - templateUrl: './po-toaster.component.html' + selector: 'po-toaster', + templateUrl: './po-toaster.component.html', + standalone: false }) export class PoToasterComponent extends PoToasterBaseComponent implements AfterViewInit, OnDestroy, OnChanges { /* Componente toaster */ diff --git a/projects/ui/src/lib/components/po-toaster/samples/sample-po-toaster-basic/sample-po-toaster-basic.component.ts b/projects/ui/src/lib/components/po-toaster/samples/sample-po-toaster-basic/sample-po-toaster-basic.component.ts index 314f7595a4..0186129617 100644 --- a/projects/ui/src/lib/components/po-toaster/samples/sample-po-toaster-basic/sample-po-toaster-basic.component.ts +++ b/projects/ui/src/lib/components/po-toaster/samples/sample-po-toaster-basic/sample-po-toaster-basic.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-toaster-basic', - templateUrl: './sample-po-toaster-basic.component.html' + selector: 'sample-po-toaster-basic', + templateUrl: './sample-po-toaster-basic.component.html', + standalone: false }) export class SamplePoToasterBasicComponent {} diff --git a/projects/ui/src/lib/components/po-toaster/samples/sample-po-toaster-labs/sample-po-toaster-labs.component.ts b/projects/ui/src/lib/components/po-toaster/samples/sample-po-toaster-labs/sample-po-toaster-labs.component.ts index c2e13ecd00..bdbf5b19b3 100644 --- a/projects/ui/src/lib/components/po-toaster/samples/sample-po-toaster-labs/sample-po-toaster-labs.component.ts +++ b/projects/ui/src/lib/components/po-toaster/samples/sample-po-toaster-labs/sample-po-toaster-labs.component.ts @@ -8,8 +8,9 @@ import { } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-toaster-labs', - templateUrl: './sample-po-toaster-labs.component.html' + selector: 'sample-po-toaster-labs', + templateUrl: './sample-po-toaster-labs.component.html', + standalone: false }) export class SamplePoToasterLabsComponent { @ViewChild(PoModalComponent, { static: true }) poModal: PoModalComponent; diff --git a/projects/ui/src/lib/components/po-toolbar/po-toolbar-actions/po-toolbar-actions.component.ts b/projects/ui/src/lib/components/po-toolbar/po-toolbar-actions/po-toolbar-actions.component.ts index b4eb8021dc..92d682f35c 100644 --- a/projects/ui/src/lib/components/po-toolbar/po-toolbar-actions/po-toolbar-actions.component.ts +++ b/projects/ui/src/lib/components/po-toolbar/po-toolbar-actions/po-toolbar-actions.component.ts @@ -16,8 +16,9 @@ const poToolbarActionsIconDefault = 'ICON_MORE'; * O componente `po-toolbar-actions` tem como objetivo receber uma lista de ações e um ícone que podem ser personalizados. */ @Component({ - selector: 'po-toolbar-actions', - templateUrl: './po-toolbar-actions.component.html' + selector: 'po-toolbar-actions', + templateUrl: './po-toolbar-actions.component.html', + standalone: false }) export class PoToolbarActionsComponent { /** Define uma lista de ações. */ diff --git a/projects/ui/src/lib/components/po-toolbar/po-toolbar-notification/po-toolbar-notification.component.ts b/projects/ui/src/lib/components/po-toolbar/po-toolbar-notification/po-toolbar-notification.component.ts index 1a50474ee7..905483fbae 100644 --- a/projects/ui/src/lib/components/po-toolbar/po-toolbar-notification/po-toolbar-notification.component.ts +++ b/projects/ui/src/lib/components/po-toolbar/po-toolbar-notification/po-toolbar-notification.component.ts @@ -18,9 +18,10 @@ import { PoToolbarAction } from '../po-toolbar-action.interface'; * ícone de notificações. */ @Component({ - selector: 'po-toolbar-notification', - templateUrl: './po-toolbar-notification.component.html', - providers: [PoControlPositionService] + selector: 'po-toolbar-notification', + templateUrl: './po-toolbar-notification.component.html', + providers: [PoControlPositionService], + standalone: false }) export class PoToolbarNotificationComponent implements AfterViewInit { @ViewChild('notification', { read: ElementRef }) notificationRef: ElementRef; diff --git a/projects/ui/src/lib/components/po-toolbar/po-toolbar-profile/po-toolbar-profile.component.ts b/projects/ui/src/lib/components/po-toolbar/po-toolbar-profile/po-toolbar-profile.component.ts index 4a5cff74d6..2c3c903637 100644 --- a/projects/ui/src/lib/components/po-toolbar/po-toolbar-profile/po-toolbar-profile.component.ts +++ b/projects/ui/src/lib/components/po-toolbar/po-toolbar-profile/po-toolbar-profile.component.ts @@ -15,9 +15,10 @@ import { PoToolbarAction } from '../po-toolbar-action.interface'; * Componente `po-toolbar-profile`. */ @Component({ - selector: 'po-toolbar-profile', - templateUrl: './po-toolbar-profile.component.html', - providers: [PoControlPositionService] + selector: 'po-toolbar-profile', + templateUrl: './po-toolbar-profile.component.html', + providers: [PoControlPositionService], + standalone: false }) export class PoToolbarProfileComponent { /** Objeto que implementa a interface `PoToolbarProfile`. */ diff --git a/projects/ui/src/lib/components/po-toolbar/po-toolbar.component.ts b/projects/ui/src/lib/components/po-toolbar/po-toolbar.component.ts index 286b0f2e8e..9028bc4631 100644 --- a/projects/ui/src/lib/components/po-toolbar/po-toolbar.component.ts +++ b/projects/ui/src/lib/components/po-toolbar/po-toolbar.component.ts @@ -24,8 +24,9 @@ import { PoToolbarBaseComponent } from './po-toolbar-base.component'; * */ @Component({ - selector: 'po-toolbar', - templateUrl: './po-toolbar.component.html' + selector: 'po-toolbar', + templateUrl: './po-toolbar.component.html', + standalone: false }) export class PoToolbarComponent extends PoToolbarBaseComponent implements OnInit { constructor( diff --git a/projects/ui/src/lib/components/po-toolbar/samples/sample-po-toolbar-basic/sample-po-toolbar-basic.component.ts b/projects/ui/src/lib/components/po-toolbar/samples/sample-po-toolbar-basic/sample-po-toolbar-basic.component.ts index b9617330d2..bb3936041b 100644 --- a/projects/ui/src/lib/components/po-toolbar/samples/sample-po-toolbar-basic/sample-po-toolbar-basic.component.ts +++ b/projects/ui/src/lib/components/po-toolbar/samples/sample-po-toolbar-basic/sample-po-toolbar-basic.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-toolbar-basic', - templateUrl: './sample-po-toolbar-basic.component.html' + selector: 'sample-po-toolbar-basic', + templateUrl: './sample-po-toolbar-basic.component.html', + standalone: false }) export class SamplePoToolbarBasicComponent {} diff --git a/projects/ui/src/lib/components/po-toolbar/samples/sample-po-toolbar-labs/sample-po-toolbar-labs.component.ts b/projects/ui/src/lib/components/po-toolbar/samples/sample-po-toolbar-labs/sample-po-toolbar-labs.component.ts index 9e43c13929..0327de1a63 100644 --- a/projects/ui/src/lib/components/po-toolbar/samples/sample-po-toolbar-labs/sample-po-toolbar-labs.component.ts +++ b/projects/ui/src/lib/components/po-toolbar/samples/sample-po-toolbar-labs/sample-po-toolbar-labs.component.ts @@ -10,8 +10,9 @@ import { } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-toolbar-labs', - templateUrl: './sample-po-toolbar-labs.component.html' + selector: 'sample-po-toolbar-labs', + templateUrl: './sample-po-toolbar-labs.component.html', + standalone: false }) export class SamplePoToolbarLabsComponent implements OnInit { action: PoToolbarAction; diff --git a/projects/ui/src/lib/components/po-toolbar/samples/sample-po-toolbar-logged/sample-po-toolbar-logged.component.ts b/projects/ui/src/lib/components/po-toolbar/samples/sample-po-toolbar-logged/sample-po-toolbar-logged.component.ts index 64c788919f..27f3b795a4 100644 --- a/projects/ui/src/lib/components/po-toolbar/samples/sample-po-toolbar-logged/sample-po-toolbar-logged.component.ts +++ b/projects/ui/src/lib/components/po-toolbar/samples/sample-po-toolbar-logged/sample-po-toolbar-logged.component.ts @@ -3,9 +3,10 @@ import { Component } from '@angular/core'; import { PoDialogService, PoNotificationService, PoToolbarAction, PoToolbarProfile } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-toolbar-logged', - templateUrl: './sample-po-toolbar-logged.component.html', - providers: [PoNotificationService] + selector: 'sample-po-toolbar-logged', + templateUrl: './sample-po-toolbar-logged.component.html', + providers: [PoNotificationService], + standalone: false }) export class SamplePoToolbarLoggedComponent { notificationActions: Array = [ diff --git a/projects/ui/src/lib/components/po-tree-view/po-tree-view-item-header/po-tree-view-item-header.component.ts b/projects/ui/src/lib/components/po-tree-view/po-tree-view-item-header/po-tree-view-item-header.component.ts index 6ad25a003b..33a6be12b7 100644 --- a/projects/ui/src/lib/components/po-tree-view/po-tree-view-item-header/po-tree-view-item-header.component.ts +++ b/projects/ui/src/lib/components/po-tree-view/po-tree-view-item-header/po-tree-view-item-header.component.ts @@ -4,9 +4,10 @@ import { uuid } from '../../../utils/util'; import { PoTreeViewItem } from '../po-tree-view-item/po-tree-view-item.interface'; @Component({ - selector: 'po-tree-view-item-header', - templateUrl: './po-tree-view-item-header.component.html', - changeDetection: ChangeDetectionStrategy.OnPush + selector: 'po-tree-view-item-header', + templateUrl: './po-tree-view-item-header.component.html', + changeDetection: ChangeDetectionStrategy.OnPush, + standalone: false }) export class PoTreeViewItemHeaderComponent { @ViewChild('inputCheckbox') inputCheckbox; diff --git a/projects/ui/src/lib/components/po-tree-view/po-tree-view-item/po-tree-view-item.component.ts b/projects/ui/src/lib/components/po-tree-view/po-tree-view-item/po-tree-view-item.component.ts index 095f09e1d3..4bcf2d7be0 100644 --- a/projects/ui/src/lib/components/po-tree-view/po-tree-view-item/po-tree-view-item.component.ts +++ b/projects/ui/src/lib/components/po-tree-view/po-tree-view-item/po-tree-view-item.component.ts @@ -5,33 +5,34 @@ import { PoTreeViewItem } from './po-tree-view-item.interface'; import { PoTreeViewService } from '../services/po-tree-view.service'; @Component({ - selector: 'po-tree-view-item', - templateUrl: './po-tree-view-item.component.html', - changeDetection: ChangeDetectionStrategy.OnPush, - animations: [ - trigger('toggleBody', [ - transition(':enter', [ - style({ - 'overflow-y': 'hidden', - visibility: 'hidden', - opacity: 0, - height: '0' - }), - animate(200, style({ height: '*' })), - animate(100, style({ opacity: 1 })) - ]), - transition(':leave', [ - style({ - 'overflow-y': 'hidden', - visibility: 'visible', - opacity: 1, - height: '*' - }), - animate(200, style({ height: 0 })), - animate(100, style({ opacity: 0 })) - ]) - ]) - ] + selector: 'po-tree-view-item', + templateUrl: './po-tree-view-item.component.html', + changeDetection: ChangeDetectionStrategy.OnPush, + animations: [ + trigger('toggleBody', [ + transition(':enter', [ + style({ + 'overflow-y': 'hidden', + visibility: 'hidden', + opacity: 0, + height: '0' + }), + animate(200, style({ height: '*' })), + animate(100, style({ opacity: 1 })) + ]), + transition(':leave', [ + style({ + 'overflow-y': 'hidden', + visibility: 'visible', + opacity: 1, + height: '*' + }), + animate(200, style({ height: 0 })), + animate(100, style({ opacity: 0 })) + ]) + ]) + ], + standalone: false }) export class PoTreeViewItemComponent { @Input('p-item') item: PoTreeViewItem; diff --git a/projects/ui/src/lib/components/po-tree-view/po-tree-view.component.ts b/projects/ui/src/lib/components/po-tree-view/po-tree-view.component.ts index 98b89d0abb..589af8e4c5 100644 --- a/projects/ui/src/lib/components/po-tree-view/po-tree-view.component.ts +++ b/projects/ui/src/lib/components/po-tree-view/po-tree-view.component.ts @@ -30,10 +30,11 @@ import { PoTreeViewService } from './services/po-tree-view.service'; * */ @Component({ - selector: 'po-tree-view', - templateUrl: './po-tree-view.component.html', - changeDetection: ChangeDetectionStrategy.OnPush, - providers: [PoTreeViewService] + selector: 'po-tree-view', + templateUrl: './po-tree-view.component.html', + changeDetection: ChangeDetectionStrategy.OnPush, + providers: [PoTreeViewService], + standalone: false }) export class PoTreeViewComponent extends PoTreeViewBaseComponent implements OnInit, OnChanges { get hasItems() { diff --git a/projects/ui/src/lib/components/po-tree-view/samples/sample-po-tree-view-basic/sample-po-tree-view-basic.component.ts b/projects/ui/src/lib/components/po-tree-view/samples/sample-po-tree-view-basic/sample-po-tree-view-basic.component.ts index 7281357bf1..cefa1480d9 100644 --- a/projects/ui/src/lib/components/po-tree-view/samples/sample-po-tree-view-basic/sample-po-tree-view-basic.component.ts +++ b/projects/ui/src/lib/components/po-tree-view/samples/sample-po-tree-view-basic/sample-po-tree-view-basic.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-tree-view-basic', - templateUrl: 'sample-po-tree-view-basic.component.html' + selector: 'sample-po-tree-view-basic', + templateUrl: 'sample-po-tree-view-basic.component.html', + standalone: false }) export class SamplePoTreeViewBasicComponent {} diff --git a/projects/ui/src/lib/components/po-tree-view/samples/sample-po-tree-view-folder-structure/sample-po-tree-view-folder-structure.component.ts b/projects/ui/src/lib/components/po-tree-view/samples/sample-po-tree-view-folder-structure/sample-po-tree-view-folder-structure.component.ts index 0904a2142d..5c06729106 100644 --- a/projects/ui/src/lib/components/po-tree-view/samples/sample-po-tree-view-folder-structure/sample-po-tree-view-folder-structure.component.ts +++ b/projects/ui/src/lib/components/po-tree-view/samples/sample-po-tree-view-folder-structure/sample-po-tree-view-folder-structure.component.ts @@ -3,8 +3,9 @@ import { Component } from '@angular/core'; import { PoTreeViewItem } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-tree-view-folder-structure', - templateUrl: 'sample-po-tree-view-folder-structure.component.html' + selector: 'sample-po-tree-view-folder-structure', + templateUrl: 'sample-po-tree-view-folder-structure.component.html', + standalone: false }) export class SamplePoTreeViewFolderStructureComponent { readonly items: Array = [ diff --git a/projects/ui/src/lib/components/po-tree-view/samples/sample-po-tree-view-labs/sample-po-tree-view-labs.component.ts b/projects/ui/src/lib/components/po-tree-view/samples/sample-po-tree-view-labs/sample-po-tree-view-labs.component.ts index 47756856fb..6fab17a9b8 100644 --- a/projects/ui/src/lib/components/po-tree-view/samples/sample-po-tree-view-labs/sample-po-tree-view-labs.component.ts +++ b/projects/ui/src/lib/components/po-tree-view/samples/sample-po-tree-view-labs/sample-po-tree-view-labs.component.ts @@ -3,8 +3,9 @@ import { Component, OnInit } from '@angular/core'; import { PoCheckboxGroupOption, PoSelectOption, PoTreeViewItem } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-tree-view-labs', - templateUrl: 'sample-po-tree-view-labs.component.html' + selector: 'sample-po-tree-view-labs', + templateUrl: 'sample-po-tree-view-labs.component.html', + standalone: false }) export class SamplePoTreeViewLabsComponent implements OnInit { event: string; diff --git a/projects/ui/src/lib/components/po-tree-view/samples/sample-po-tree-view-supermarket/sample-po-tree-view-supermarket.component.ts b/projects/ui/src/lib/components/po-tree-view/samples/sample-po-tree-view-supermarket/sample-po-tree-view-supermarket.component.ts index 02d19b5b16..490873af28 100644 --- a/projects/ui/src/lib/components/po-tree-view/samples/sample-po-tree-view-supermarket/sample-po-tree-view-supermarket.component.ts +++ b/projects/ui/src/lib/components/po-tree-view/samples/sample-po-tree-view-supermarket/sample-po-tree-view-supermarket.component.ts @@ -3,8 +3,9 @@ import { Component, ViewChild } from '@angular/core'; import { PoStepperComponent, PoTableColumn, PoTreeViewItem } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-tree-view-supermarket', - templateUrl: 'sample-po-tree-view-supermarket.component.html' + selector: 'sample-po-tree-view-supermarket', + templateUrl: 'sample-po-tree-view-supermarket.component.html', + standalone: false }) export class SamplePoTreeViewSupermarketComponent { @ViewChild('stepper', { static: true }) stepper: PoStepperComponent; diff --git a/projects/ui/src/lib/components/po-widget/po-widget.component.ts b/projects/ui/src/lib/components/po-widget/po-widget.component.ts index d6987bb406..a35235895e 100644 --- a/projects/ui/src/lib/components/po-widget/po-widget.component.ts +++ b/projects/ui/src/lib/components/po-widget/po-widget.component.ts @@ -30,8 +30,9 @@ import { PoKeyCodeEnum } from './../../enums/po-key-code.enum'; * */ @Component({ - selector: 'po-widget', - templateUrl: './po-widget.component.html' + selector: 'po-widget', + templateUrl: './po-widget.component.html', + standalone: false }) export class PoWidgetComponent extends PoWidgetBaseComponent implements OnInit { get showTitleAction(): boolean { diff --git a/projects/ui/src/lib/components/po-widget/samples/sample-po-widget-basic/sample-po-widget-basic.component.ts b/projects/ui/src/lib/components/po-widget/samples/sample-po-widget-basic/sample-po-widget-basic.component.ts index a62ef4a9d7..7f133dcbe4 100644 --- a/projects/ui/src/lib/components/po-widget/samples/sample-po-widget-basic/sample-po-widget-basic.component.ts +++ b/projects/ui/src/lib/components/po-widget/samples/sample-po-widget-basic/sample-po-widget-basic.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-widget-basic', - templateUrl: './sample-po-widget-basic.component.html' + selector: 'sample-po-widget-basic', + templateUrl: './sample-po-widget-basic.component.html', + standalone: false }) export class SamplePoWidgetBasicComponent {} diff --git a/projects/ui/src/lib/components/po-widget/samples/sample-po-widget-card/sample-po-widget-card.component.ts b/projects/ui/src/lib/components/po-widget/samples/sample-po-widget-card/sample-po-widget-card.component.ts index 3f7e83b7c0..11f0d54b94 100644 --- a/projects/ui/src/lib/components/po-widget/samples/sample-po-widget-card/sample-po-widget-card.component.ts +++ b/projects/ui/src/lib/components/po-widget/samples/sample-po-widget-card/sample-po-widget-card.component.ts @@ -3,8 +3,9 @@ import { Component, OnInit, ViewChild } from '@angular/core'; import { PoModalComponent } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-widget-card', - templateUrl: './sample-po-widget-card.component.html' + selector: 'sample-po-widget-card', + templateUrl: './sample-po-widget-card.component.html', + standalone: false }) export class SamplePoWidgetCardComponent implements OnInit { @ViewChild(PoModalComponent, { static: true }) poModal: PoModalComponent; diff --git a/projects/ui/src/lib/components/po-widget/samples/sample-po-widget-finance-dashboard/sample-po-widget-finance-dashboard.component.ts b/projects/ui/src/lib/components/po-widget/samples/sample-po-widget-finance-dashboard/sample-po-widget-finance-dashboard.component.ts index 00a3e66fbe..61a1403dca 100644 --- a/projects/ui/src/lib/components/po-widget/samples/sample-po-widget-finance-dashboard/sample-po-widget-finance-dashboard.component.ts +++ b/projects/ui/src/lib/components/po-widget/samples/sample-po-widget-finance-dashboard/sample-po-widget-finance-dashboard.component.ts @@ -3,8 +3,9 @@ import { Component, ViewChild } from '@angular/core'; import { PoModalComponent, PoTableColumn } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-widget-finance-dashboard', - templateUrl: './sample-po-widget-finance-dashboard.component.html' + selector: 'sample-po-widget-finance-dashboard', + templateUrl: './sample-po-widget-finance-dashboard.component.html', + standalone: false }) export class SamplePoWidgetFinanceDashboardComponent { @ViewChild('detailsModal', { static: true }) detailsModalElement: PoModalComponent; diff --git a/projects/ui/src/lib/components/po-widget/samples/sample-po-widget-labs/sample-po-widget-labs.component.ts b/projects/ui/src/lib/components/po-widget/samples/sample-po-widget-labs/sample-po-widget-labs.component.ts index f8cfa11800..d8cf1fb9aa 100644 --- a/projects/ui/src/lib/components/po-widget/samples/sample-po-widget-labs/sample-po-widget-labs.component.ts +++ b/projects/ui/src/lib/components/po-widget/samples/sample-po-widget-labs/sample-po-widget-labs.component.ts @@ -3,8 +3,9 @@ import { Component, OnInit } from '@angular/core'; import { PoCheckboxGroupOption } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-widget-labs', - templateUrl: './sample-po-widget-labs.component.html' + selector: 'sample-po-widget-labs', + templateUrl: './sample-po-widget-labs.component.html', + standalone: false }) export class SamplePoWidgetLabsComponent implements OnInit { action: string; diff --git a/projects/ui/src/lib/decorators/input-boolean/input-boolean.decorator.spec.ts b/projects/ui/src/lib/decorators/input-boolean/input-boolean.decorator.spec.ts index aede95e0bb..d06e65e1b8 100644 --- a/projects/ui/src/lib/decorators/input-boolean/input-boolean.decorator.spec.ts +++ b/projects/ui/src/lib/decorators/input-boolean/input-boolean.decorator.spec.ts @@ -5,8 +5,9 @@ import { configureTestSuite, expectPropertiesValues } from '../../util-test/util import { InputBoolean } from './input-boolean.decorator'; @Component({ - selector: 'mock-component', - template: '' + selector: 'mock-component', + template: '', + standalone: false }) class PoMockComponent { @InputBoolean() myProperty: boolean; diff --git a/projects/ui/src/lib/decorators/input-required/input-required.decorator.spec.ts b/projects/ui/src/lib/decorators/input-required/input-required.decorator.spec.ts index cb0e5d8074..39594df148 100644 --- a/projects/ui/src/lib/decorators/input-required/input-required.decorator.spec.ts +++ b/projects/ui/src/lib/decorators/input-required/input-required.decorator.spec.ts @@ -5,8 +5,9 @@ import { configureTestSuite } from '../../util-test/util-expect.spec'; import { InputRequired } from './input-required.decorator'; @Component({ - selector: 'mock-component', - template: '' + selector: 'mock-component', + template: '', + standalone: false }) class PoMockComponent implements OnInit { @InputRequired() myProperty: any; diff --git a/projects/ui/src/lib/directives/po-tooltip/po-tooltip.directive.spec.ts b/projects/ui/src/lib/directives/po-tooltip/po-tooltip.directive.spec.ts index d8143f8cd7..508984b80e 100644 --- a/projects/ui/src/lib/directives/po-tooltip/po-tooltip.directive.spec.ts +++ b/projects/ui/src/lib/directives/po-tooltip/po-tooltip.directive.spec.ts @@ -8,11 +8,12 @@ import { PoTooltipDirective } from './po-tooltip.directive'; import { PoControlPositionService } from '../../services/po-control-position/po-control-position.service'; @Component({ - template: ` + template: `
- ` + `, + standalone: false }) export class TestComponent {} diff --git a/projects/ui/src/lib/directives/po-tooltip/po-tooltip.directive.ts b/projects/ui/src/lib/directives/po-tooltip/po-tooltip.directive.ts index 0465c0a78f..8e17d60fa1 100644 --- a/projects/ui/src/lib/directives/po-tooltip/po-tooltip.directive.ts +++ b/projects/ui/src/lib/directives/po-tooltip/po-tooltip.directive.ts @@ -27,8 +27,9 @@ const nativeElements = ['input', 'button']; * */ @Directive({ - selector: '[p-tooltip]', - providers: [PoTooltipControlPositionService] + selector: '[p-tooltip]', + providers: [PoTooltipControlPositionService], + standalone: false }) export class PoTooltipDirective extends PoTooltipBaseDirective implements OnInit, OnDestroy { private arrowDirection: string; diff --git a/projects/ui/src/lib/directives/po-tooltip/samples/sample-po-tooltip-basic/sample-po-tooltip-basic.component.ts b/projects/ui/src/lib/directives/po-tooltip/samples/sample-po-tooltip-basic/sample-po-tooltip-basic.component.ts index ddd346c3dc..58737b92e9 100644 --- a/projects/ui/src/lib/directives/po-tooltip/samples/sample-po-tooltip-basic/sample-po-tooltip-basic.component.ts +++ b/projects/ui/src/lib/directives/po-tooltip/samples/sample-po-tooltip-basic/sample-po-tooltip-basic.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-tooltip-basic', - templateUrl: './sample-po-tooltip-basic.component.html' + selector: 'sample-po-tooltip-basic', + templateUrl: './sample-po-tooltip-basic.component.html', + standalone: false }) export class SamplePoTooltipBasicComponent {} diff --git a/projects/ui/src/lib/directives/po-tooltip/samples/sample-po-tooltip-labs/sample-po-tooltip-labs.component.ts b/projects/ui/src/lib/directives/po-tooltip/samples/sample-po-tooltip-labs/sample-po-tooltip-labs.component.ts index b9ba656414..9bc08e422e 100644 --- a/projects/ui/src/lib/directives/po-tooltip/samples/sample-po-tooltip-labs/sample-po-tooltip-labs.component.ts +++ b/projects/ui/src/lib/directives/po-tooltip/samples/sample-po-tooltip-labs/sample-po-tooltip-labs.component.ts @@ -3,8 +3,9 @@ import { Component, OnInit } from '@angular/core'; import { PoCheckboxGroupOption } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-tooltip-labs', - templateUrl: './sample-po-tooltip-labs.component.html' + selector: 'sample-po-tooltip-labs', + templateUrl: './sample-po-tooltip-labs.component.html', + standalone: false }) export class SamplePoTooltipLabsComponent implements OnInit { tooltip: string; diff --git a/projects/ui/src/lib/directives/po-tooltip/samples/sample-po-tooltip-new-user/sample-po-tooltip-new-user.component.ts b/projects/ui/src/lib/directives/po-tooltip/samples/sample-po-tooltip-new-user/sample-po-tooltip-new-user.component.ts index 234711e36b..1fe884165e 100644 --- a/projects/ui/src/lib/directives/po-tooltip/samples/sample-po-tooltip-new-user/sample-po-tooltip-new-user.component.ts +++ b/projects/ui/src/lib/directives/po-tooltip/samples/sample-po-tooltip-new-user/sample-po-tooltip-new-user.component.ts @@ -4,8 +4,9 @@ import { UntypedFormControl } from '@angular/forms'; import { PoNotificationService } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-tooltip-new-user', - templateUrl: './sample-po-tooltip-new-user.component.html' + selector: 'sample-po-tooltip-new-user', + templateUrl: './sample-po-tooltip-new-user.component.html', + standalone: false }) export class SamplePoTooltipNewUserComponent implements OnInit { @ViewChild('formNewUser', { static: true }) formNewUser: UntypedFormControl; diff --git a/projects/ui/src/lib/interceptors/po-http-interceptor/po-http-interceptor-detail/po-http-interceptor-detail.component.ts b/projects/ui/src/lib/interceptors/po-http-interceptor/po-http-interceptor-detail/po-http-interceptor-detail.component.ts index 5b1a5f58e1..53003dc496 100644 --- a/projects/ui/src/lib/interceptors/po-http-interceptor/po-http-interceptor-detail/po-http-interceptor-detail.component.ts +++ b/projects/ui/src/lib/interceptors/po-http-interceptor/po-http-interceptor-detail/po-http-interceptor-detail.component.ts @@ -17,8 +17,9 @@ export const colors = { success: 'color-11', error: 'color-07', warning: 'color- * Componente para a modal de detalhes exibida pelo interceptor */ @Component({ - selector: 'po-http-interceptor-detail', - templateUrl: './po-http-interceptor-detail.component.html' + selector: 'po-http-interceptor-detail', + templateUrl: './po-http-interceptor-detail.component.html', + standalone: false }) export class PoHttpInterceptorDetailComponent implements OnInit { @ViewChild(PoModalComponent, { static: true }) modal: PoModalComponent; diff --git a/projects/ui/src/lib/interceptors/po-http-interceptor/samples/sample-po-http-interceptor-labs.component.ts b/projects/ui/src/lib/interceptors/po-http-interceptor/samples/sample-po-http-interceptor-labs.component.ts index a0f45c284f..a444be111e 100644 --- a/projects/ui/src/lib/interceptors/po-http-interceptor/samples/sample-po-http-interceptor-labs.component.ts +++ b/projects/ui/src/lib/interceptors/po-http-interceptor/samples/sample-po-http-interceptor-labs.component.ts @@ -6,8 +6,9 @@ import { PoRadioGroupOption } from '@po-ui/ng-components'; import { Subscription } from 'rxjs'; @Component({ - selector: 'sample-po-http-interceptor-labs', - templateUrl: './sample-po-http-interceptor-labs.component.html' + selector: 'sample-po-http-interceptor-labs', + templateUrl: './sample-po-http-interceptor-labs.component.html', + standalone: false }) export class SamplePoHttpInterceptorLabsComponent implements OnDestroy, OnInit { headerParam: string; diff --git a/projects/ui/src/lib/interceptors/po-http-request/samples/sample-po-http-request-interceptor-labs.component.ts b/projects/ui/src/lib/interceptors/po-http-request/samples/sample-po-http-request-interceptor-labs.component.ts index 49f4a132e5..f2b902f1a5 100644 --- a/projects/ui/src/lib/interceptors/po-http-request/samples/sample-po-http-request-interceptor-labs.component.ts +++ b/projects/ui/src/lib/interceptors/po-http-request/samples/sample-po-http-request-interceptor-labs.component.ts @@ -6,8 +6,9 @@ import { Subscription } from 'rxjs'; import { PoHttpRequestInterceptorService } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-http-request-interceptor-labs', - templateUrl: './sample-po-http-request-interceptor-labs.component.html' + selector: 'sample-po-http-request-interceptor-labs', + templateUrl: './sample-po-http-request-interceptor-labs.component.html', + standalone: false }) export class SamplePoHttpRequestInterceptorLabsComponent implements OnInit, OnDestroy { countPendingRequestHeaderParam = false; diff --git a/projects/ui/src/lib/pipes/po-time/po-time.pipe.ts b/projects/ui/src/lib/pipes/po-time/po-time.pipe.ts index 8b0bdee901..f4a783f88b 100644 --- a/projects/ui/src/lib/pipes/po-time/po-time.pipe.ts +++ b/projects/ui/src/lib/pipes/po-time/po-time.pipe.ts @@ -10,7 +10,8 @@ import { isTypeof } from '../../utils/util'; * Pipe responsável por apresentar um horário baseado no formato de entrada definido na API do PO UI. */ @Pipe({ - name: 'po_time' + name: 'po_time', + standalone: false }) export class PoTimePipe implements PipeTransform { transform(time: string, format?: string): string { diff --git a/projects/ui/src/lib/services/po-component-injector/po-component-injector.service.spec.ts b/projects/ui/src/lib/services/po-component-injector/po-component-injector.service.spec.ts index 8fd6cbd21e..652725e9f9 100644 --- a/projects/ui/src/lib/services/po-component-injector/po-component-injector.service.spec.ts +++ b/projects/ui/src/lib/services/po-component-injector/po-component-injector.service.spec.ts @@ -7,7 +7,8 @@ import { configureTestSuite } from './../../util-test/util-expect.spec'; import { PoComponentInjectorService } from './po-component-injector.service'; @Component({ - template: `
test component
` + template: `
test component
`, + standalone: false }) class TestComponent { constructor(poComponentInjectorService: PoComponentInjectorService) {} diff --git a/projects/ui/src/lib/services/po-dialog/po-dialog.component.ts b/projects/ui/src/lib/services/po-dialog/po-dialog.component.ts index 8a4ae96872..c20118c8b1 100644 --- a/projects/ui/src/lib/services/po-dialog/po-dialog.component.ts +++ b/projects/ui/src/lib/services/po-dialog/po-dialog.component.ts @@ -36,7 +36,8 @@ export const poDialogConfirmLiteralsDefault = { */ @Component({ - templateUrl: './po-dialog.component.html' + templateUrl: './po-dialog.component.html', + standalone: false }) export class PoDialogComponent implements OnDestroy, OnInit { // ViewChild para o uso do po-modal.component diff --git a/projects/ui/src/lib/services/po-dialog/po-dialog.service.spec.ts b/projects/ui/src/lib/services/po-dialog/po-dialog.service.spec.ts index 322b7883ae..d18295d129 100644 --- a/projects/ui/src/lib/services/po-dialog/po-dialog.service.spec.ts +++ b/projects/ui/src/lib/services/po-dialog/po-dialog.service.spec.ts @@ -16,8 +16,9 @@ import { PoModalModule } from '../../components/po-modal'; class TestModule {} @Component({ - template: ` test component `, - providers: [PoComponentInjectorService, PoDialogService] + template: ` test component `, + providers: [PoComponentInjectorService, PoDialogService], + standalone: false }) class TestComponent { constructor(poDialog: PoDialogService) {} diff --git a/projects/ui/src/lib/services/po-dialog/samples/sample-po-dialog-basic/sample-po-dialog-basic.component.ts b/projects/ui/src/lib/services/po-dialog/samples/sample-po-dialog-basic/sample-po-dialog-basic.component.ts index 84938039cc..2ab4fdc276 100644 --- a/projects/ui/src/lib/services/po-dialog/samples/sample-po-dialog-basic/sample-po-dialog-basic.component.ts +++ b/projects/ui/src/lib/services/po-dialog/samples/sample-po-dialog-basic/sample-po-dialog-basic.component.ts @@ -3,8 +3,9 @@ import { Component } from '@angular/core'; import { PoDialogService } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-dialog-basic', - templateUrl: './sample-po-dialog-basic.component.html' + selector: 'sample-po-dialog-basic', + templateUrl: './sample-po-dialog-basic.component.html', + standalone: false }) export class SamplePoDialogBasicComponent { constructor(public poDialog: PoDialogService) {} diff --git a/projects/ui/src/lib/services/po-dialog/samples/sample-po-dialog-cancel-credit-card/sample-po-dialog-cancel-credit-card.component.ts b/projects/ui/src/lib/services/po-dialog/samples/sample-po-dialog-cancel-credit-card/sample-po-dialog-cancel-credit-card.component.ts index adaf165925..98048d63f9 100644 --- a/projects/ui/src/lib/services/po-dialog/samples/sample-po-dialog-cancel-credit-card/sample-po-dialog-cancel-credit-card.component.ts +++ b/projects/ui/src/lib/services/po-dialog/samples/sample-po-dialog-cancel-credit-card/sample-po-dialog-cancel-credit-card.component.ts @@ -6,8 +6,9 @@ import { Subscription } from 'rxjs'; import { PoDialogService, PoNotificationService, PoPageAction, PoRadioGroupOption } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-dialog-cancel-credit-card', - templateUrl: './sample-po-dialog-cancel-credit-card.component.html' + selector: 'sample-po-dialog-cancel-credit-card', + templateUrl: './sample-po-dialog-cancel-credit-card.component.html', + standalone: false }) export class SamplePoDialogCancelCreditCardComponent implements OnDestroy, OnInit { @ViewChild('form', { static: true }) form: UntypedFormControl; diff --git a/projects/ui/src/lib/services/po-dialog/samples/sample-po-dialog-labs/sample-po-dialog-labs.component.ts b/projects/ui/src/lib/services/po-dialog/samples/sample-po-dialog-labs/sample-po-dialog-labs.component.ts index 9d0e0b9354..bd2a36d220 100644 --- a/projects/ui/src/lib/services/po-dialog/samples/sample-po-dialog-labs/sample-po-dialog-labs.component.ts +++ b/projects/ui/src/lib/services/po-dialog/samples/sample-po-dialog-labs/sample-po-dialog-labs.component.ts @@ -5,8 +5,9 @@ import { PoCheckboxGroupOption, PoRadioGroupOption } from '@po-ui/ng-components' import { PoDialogAlertLiterals, PoDialogConfirmLiterals, PoDialogService } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-dialog-labs', - templateUrl: './sample-po-dialog-labs.component.html' + selector: 'sample-po-dialog-labs', + templateUrl: './sample-po-dialog-labs.component.html', + standalone: false }) export class SamplePoDialogLabsComponent implements OnInit { action: string; diff --git a/projects/ui/src/lib/services/po-i18n/po-i18n.module.ts b/projects/ui/src/lib/services/po-i18n/po-i18n.module.ts index c260d7f1fc..2cf5b9e107 100644 --- a/projects/ui/src/lib/services/po-i18n/po-i18n.module.ts +++ b/projects/ui/src/lib/services/po-i18n/po-i18n.module.ts @@ -1,4 +1,4 @@ -import { APP_INITIALIZER, ModuleWithProviders, NgModule } from '@angular/core'; +import { ModuleWithProviders, NgModule, inject, provideAppInitializer } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { PoLanguageService } from './../po-language/po-language.service'; @@ -164,12 +164,10 @@ export class PoI18nModule { provide: I18N_CONFIG, useValue: config }, - { - provide: APP_INITIALIZER, - useFactory: initializeLanguageDefault, - multi: true, - deps: [I18N_CONFIG, PoLanguageService] - }, + provideAppInitializer(() => { + const initializerFn = (initializeLanguageDefault)(inject(I18N_CONFIG), inject(PoLanguageService)); + return initializerFn(); + }), { provide: PoI18nService, useFactory: returnPoI18nService, diff --git a/projects/ui/src/lib/services/po-i18n/po-i18n.pipe.ts b/projects/ui/src/lib/services/po-i18n/po-i18n.pipe.ts index 337ef69178..e37df7c026 100644 --- a/projects/ui/src/lib/services/po-i18n/po-i18n.pipe.ts +++ b/projects/ui/src/lib/services/po-i18n/po-i18n.pipe.ts @@ -14,6 +14,7 @@ import { PoI18nBasePipe } from './po-i18n-base.pipe'; * */ @Pipe({ - name: 'poI18n' + name: 'poI18n', + standalone: false }) export class PoI18nPipe extends PoI18nBasePipe implements PipeTransform {} diff --git a/projects/ui/src/lib/services/po-i18n/samples/sample-po-i18n-pipe-labs.component.ts b/projects/ui/src/lib/services/po-i18n/samples/sample-po-i18n-pipe-labs.component.ts index 4c5ab00efa..94ba21c750 100644 --- a/projects/ui/src/lib/services/po-i18n/samples/sample-po-i18n-pipe-labs.component.ts +++ b/projects/ui/src/lib/services/po-i18n/samples/sample-po-i18n-pipe-labs.component.ts @@ -1,8 +1,9 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-i18n-pipe-labs', - templateUrl: './sample-po-i18n-pipe-labs.component.html' + selector: 'sample-po-i18n-pipe-labs', + templateUrl: './sample-po-i18n-pipe-labs.component.html', + standalone: false }) export class SamplePoI18nPipeLabsComponent { literal: string = 'Olá {name}, seja bem vindo e tenha um {greeting}!'; diff --git a/projects/ui/src/lib/services/po-i18n/samples/sample-po-i18n-pipe.component.ts b/projects/ui/src/lib/services/po-i18n/samples/sample-po-i18n-pipe.component.ts index f85120473d..2cd5c9b30f 100644 --- a/projects/ui/src/lib/services/po-i18n/samples/sample-po-i18n-pipe.component.ts +++ b/projects/ui/src/lib/services/po-i18n/samples/sample-po-i18n-pipe.component.ts @@ -1,7 +1,8 @@ import { Component } from '@angular/core'; @Component({ - selector: 'sample-po-i18n-pipe', - templateUrl: './sample-po-i18n-pipe.component.html' + selector: 'sample-po-i18n-pipe', + templateUrl: './sample-po-i18n-pipe.component.html', + standalone: false }) export class SamplePoI18nPipeComponent {} diff --git a/projects/ui/src/lib/services/po-notification/samples/sample-po-notification-basic/sample-po-notification-basic.component.ts b/projects/ui/src/lib/services/po-notification/samples/sample-po-notification-basic/sample-po-notification-basic.component.ts index 736efd45de..3b30290458 100644 --- a/projects/ui/src/lib/services/po-notification/samples/sample-po-notification-basic/sample-po-notification-basic.component.ts +++ b/projects/ui/src/lib/services/po-notification/samples/sample-po-notification-basic/sample-po-notification-basic.component.ts @@ -3,8 +3,9 @@ import { Component } from '@angular/core'; import { PoNotificationService } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-notification-basic', - templateUrl: './sample-po-notification-basic.component.html' + selector: 'sample-po-notification-basic', + templateUrl: './sample-po-notification-basic.component.html', + standalone: false }) export class SamplePoNotificationBasicComponent { constructor(public poNotification: PoNotificationService) {} diff --git a/projects/ui/src/lib/services/po-notification/samples/sample-po-notification-labs/sample-po-notification-labs.component.ts b/projects/ui/src/lib/services/po-notification/samples/sample-po-notification-labs/sample-po-notification-labs.component.ts index 7d306bd868..dc9e046fbf 100644 --- a/projects/ui/src/lib/services/po-notification/samples/sample-po-notification-labs/sample-po-notification-labs.component.ts +++ b/projects/ui/src/lib/services/po-notification/samples/sample-po-notification-labs/sample-po-notification-labs.component.ts @@ -10,9 +10,10 @@ import { } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-notification-labs', - templateUrl: './sample-po-notification-labs.component.html', - providers: [PoNotificationService] + selector: 'sample-po-notification-labs', + templateUrl: './sample-po-notification-labs.component.html', + providers: [PoNotificationService], + standalone: false }) export class SamplePoNotificationLabsComponent implements OnInit { @ViewChild(PoModalComponent, { static: true }) poModal: PoModalComponent; diff --git a/projects/ui/src/lib/services/po-notification/samples/sample-po-notification-sales/sample-po-notification-sales.component.ts b/projects/ui/src/lib/services/po-notification/samples/sample-po-notification-sales/sample-po-notification-sales.component.ts index afd2edb42f..3078bdd975 100644 --- a/projects/ui/src/lib/services/po-notification/samples/sample-po-notification-sales/sample-po-notification-sales.component.ts +++ b/projects/ui/src/lib/services/po-notification/samples/sample-po-notification-sales/sample-po-notification-sales.component.ts @@ -3,9 +3,10 @@ import { Component } from '@angular/core'; import { PoComboOption, PoNotificationService, PoTableColumn } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-notification-sales', - templateUrl: './sample-po-notification-sales.component.html', - providers: [PoNotificationService] + selector: 'sample-po-notification-sales', + templateUrl: './sample-po-notification-sales.component.html', + providers: [PoNotificationService], + standalone: false }) export class SamplePoNotificationSalesComponent { name: string; diff --git a/projects/ui/src/lib/services/po-theme/samples/sample-po-theme-labs/sample-po-theme-labs.component.ts b/projects/ui/src/lib/services/po-theme/samples/sample-po-theme-labs/sample-po-theme-labs.component.ts index bbf9bab3f1..1940e87c6c 100644 --- a/projects/ui/src/lib/services/po-theme/samples/sample-po-theme-labs/sample-po-theme-labs.component.ts +++ b/projects/ui/src/lib/services/po-theme/samples/sample-po-theme-labs/sample-po-theme-labs.component.ts @@ -19,9 +19,10 @@ import { PoModalAction, PoModalComponent } from '@po-ui/ng-components'; import { PoNotificationService } from '@po-ui/ng-components'; import { PoPageAction } from '@po-ui/ng-components'; @Component({ - selector: 'sample-po-theme-labs', - templateUrl: './sample-po-theme-labs.component.html', - providers: [PoThemeService] + selector: 'sample-po-theme-labs', + templateUrl: './sample-po-theme-labs.component.html', + providers: [PoThemeService], + standalone: false }) export class SamplePoThemeLabsComponent implements OnInit, OnDestroy { @ViewChild('formShare', { static: true }) diff --git a/tsconfig.json b/tsconfig.json index d460e21453..3ccbf64f52 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,6 +5,9 @@ To learn more about this file see: https://angular.io/config/solution-tsconfig. */ { + "compilerOptions": { + "esModuleInterop": true + }, "references": [ { "path": "./projects/ui/tsconfig.lib.json"