From 2b4fd39d982554053cd283b2f18b1ab6ac698ddb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anderson=20Greg=C3=B3rio?= Date: Mon, 9 Dec 2024 12:03:15 -0300 Subject: [PATCH] =?UTF-8?q?feat:=20atualizar=20para=20a=20vers=C3=A3o=20an?= =?UTF-8?q?gular=2019?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- angular.json | 32 +++++------ package.json | 34 ++++++------ projects/app/src/app/app.component.ts | 5 +- .../po-code-editor.component.ts | 2 +- .../sample-po-code-editor-basic.component.ts | 5 +- .../sample-po-code-editor-diff.component.ts | 5 +- .../sample-po-code-editor-labs.component.ts | 5 +- ...ple-po-code-editor-suggestion.component.ts | 5 +- ...mple-po-code-editor-terraform.component.ts | 5 +- projects/portal/src/app/app.component.ts | 5 +- .../documentation-code.directive.ts | 3 +- .../documentation-list.component.ts | 3 +- .../documentation/documentation.component.ts | 5 +- .../portal/src/app/guide/guides.components.ts | 5 +- .../home-colorful/home-colorful.component.ts | 7 ++- .../portal/src/app/home/home.component.ts | 7 ++- .../portal/src/app/icons/icons.component.ts | 7 ++- .../theme-builder/theme-builder.component.ts | 9 +-- .../tools-dynamic-form.component.ts | 7 ++- .../tools-dynamic-view.component.ts | 7 ++- ...ssword-recovery-error-message.component.ts | 5 +- .../po-modal-password-recovery.component.ts | 5 +- ...modal-password-recovery-basic.component.ts | 5 +- ...-modal-password-recovery-labs.component.ts | 5 +- ...dal-password-recovery-request.component.ts | 5 +- .../po-page-background.component.ts | 5 +- ...po-page-blocked-user-contacts.component.ts | 7 ++- .../po-page-blocked-user-reason.component.ts | 5 +- .../po-page-blocked-user.component.ts | 5 +- ...le-po-page-blocked-user-basic.component.ts | 5 +- ...locked-user-exceeded-attempts.component.ts | 5 +- ...blocked-user-expired-password.component.ts | 5 +- ...ple-po-page-blocked-user-labs.component.ts | 5 +- .../po-page-change-password.component.ts | 5 +- ...po-page-change-password-basic.component.ts | 5 +- ...o-page-change-password-create.component.ts | 5 +- ...-po-page-change-password-labs.component.ts | 5 +- ...o-page-change-password-modify.component.ts | 5 +- ...-page-change-password-request.component.ts | 5 +- .../po-page-dynamic-detail.component.ts | 7 ++- ...e-po-page-dynamic-detail-user.component.ts | 5 +- .../po-page-dynamic-edit.component.ts | 7 ++- ...le-po-page-dynamic-edit-basic.component.ts | 5 +- ...ple-po-page-dynamic-edit-user.component.ts | 5 +- .../test/po-dynamic-form-stub-component.ts | 17 +++--- .../po-advanced-filter.component.ts | 5 +- ...page-dynamic-search-base.component.spec.ts | 5 +- .../po-page-dynamic-search.component.ts | 5 +- ...-po-page-dynamic-search-basic.component.ts | 5 +- ...namic-search-hiring-processes.component.ts | 7 ++- .../po-page-dynamic-table.component.ts | 7 ++- ...e-po-page-dynamic-table-basic.component.ts | 5 +- ...e-dynamic-table-drag-and-drop.component.ts | 5 +- ...-po-page-dynamic-table-hotels.component.ts | 5 +- ...-po-page-dynamic-table-people.component.ts | 5 +- ...e-po-page-dynamic-table-users.component.ts | 7 ++- ...-page-job-scheduler-execution.component.ts | 5 +- ...scheduler-parameters-template.directive.ts | 3 +- ...page-job-scheduler-parameters.component.ts | 5 +- ...ob-scheduler-summary-template.directive.ts | 3 +- ...po-page-job-scheduler-summary.component.ts | 5 +- .../po-page-job-scheduler.component.ts | 13 +++-- ...-scheduler-background-process.component.ts | 5 +- ...page-job-scheduler-directives.component.ts | 5 +- .../po-page-login-popover.component.ts | 5 +- .../po-page-login/po-page-login.component.ts | 5 +- ...-page-login-automatic-service.component.ts | 5 +- .../sample-po-page-login-basic.component.ts | 5 +- ...po-page-login-human-resources.component.ts | 5 +- .../sample-po-page-login-labs.component.ts | 5 +- .../po-accordion-item-body.component.ts | 17 +++--- .../po-accordion-item-header.component.ts | 7 ++- .../po-accordion-item.component.ts | 5 +- .../po-accordion-manager.component.ts | 5 +- .../po-accordion.component.spec.ts | 5 +- .../po-accordion/po-accordion.component.ts | 7 ++- .../sample-po-accordion-basic.component.ts | 5 +- .../sample-po-accordion-faq.component.ts | 5 +- .../sample-po-accordion-labs.component.ts | 5 +- .../po-avatar/po-avatar.component.ts | 7 ++- .../sample-po-avatar-basic.component.ts | 5 +- ...ample-po-avatar-business-card.component.ts | 11 ++-- .../sample-po-avatar-labs.component.ts | 5 +- .../components/po-badge/po-badge.component.ts | 7 ++- .../sample-po-badge-basic.component.ts | 5 +- .../sample-po-badge-labs.component.ts | 5 +- .../sample-po-badge-message.component.ts | 7 ++- .../po-breadcrumb-favorite.component.ts | 7 ++- .../po-breadcrumb.component.spec.ts | 10 +++- .../po-breadcrumb/po-breadcrumb.component.ts | 5 +- .../sample-po-breadcrumb-basic.component.ts | 5 +- .../sample-po-breadcrumb-labs.component.ts | 5 +- .../po-button-group.component.ts | 5 +- ...le-po-button-group-attendance.component.ts | 5 +- .../sample-po-button-group-basic.component.ts | 5 +- .../sample-po-button-group-labs.component.ts | 5 +- .../sample-po-button-group-post.component.ts | 5 +- .../po-button/po-button.component.ts | 7 ++- .../sample-po-button-basic.component.ts | 5 +- .../sample-po-button-labs.component.ts | 5 +- ...mple-po-button-social-network.component.ts | 5 +- .../po-calendar-header.component.ts | 7 ++- .../po-calendar-wrapper.component.ts | 9 +-- .../po-calendar/po-calendar.component.ts | 2 +- .../sample-po-calendar-basic.component.ts | 5 +- .../sample-po-calendar-labs.component.ts | 5 +- ...mple-po-calendar-ticket-sales.component.ts | 5 +- .../po-resize-observer.directive.spec.ts | 5 +- .../po-resize-observer.directive.ts | 3 +- .../po-chart-axis-label.component.ts | 5 +- .../po-chart-axis-path.component.ts | 5 +- .../po-chart-axis/po-chart-axis.component.ts | 5 +- .../po-chart-bar-path.component.ts | 5 +- .../po-chart-bar/po-chart-bar.component.ts | 5 +- .../po-chart-column.component.ts | 5 +- .../po-chart-circular-label.component.ts | 5 +- .../po-chart-circular-path.component.ts | 5 +- .../po-chart-tooltip.directive.spec.ts | 5 +- .../po-chart-tooltip.directive.ts | 3 +- .../po-chart-circular.component.spec.ts | 5 +- .../po-chart-donut.component.ts | 5 +- .../po-chart-pie/po-chart-pie.component.ts | 5 +- .../po-chart-container.component.ts | 5 +- .../po-chart-area/po-chart-area.component.ts | 5 +- .../po-chart-line-base.component.spec.ts | 5 +- .../po-chart-line/po-chart-line.component.ts | 5 +- .../po-chart-path/po-chart-path.component.ts | 5 +- .../po-chart-series-point.component.ts | 5 +- .../po-chart-legend.component.ts | 7 ++- .../po-chart-circular.spec.ts | 5 +- .../components/po-chart/po-chart.component.ts | 5 +- .../sample-po-chart-basic.component.ts | 5 +- ...ample-po-chart-coffee-ranking.component.ts | 7 ++- .../sample-po-chart-labs.component.ts | 5 +- ...sample-po-chart-world-exports.component.ts | 5 +- .../po-container/po-container.component.ts | 5 +- .../sample-po-container-basic.component.ts | 5 +- ...sample-po-container-dashboard.component.ts | 13 +++-- .../sample-po-container-labs.component.ts | 5 +- .../po-disclaimer-group.component.ts | 7 ++- .../po-disclaimer-remove.component.ts | 5 +- ...ple-po-disclaimer-group-basic.component.ts | 5 +- ...mple-po-disclaimer-group-labs.component.ts | 5 +- ...o-disclaimer-group-sw-planets.component.ts | 7 ++- .../po-disclaimer/po-disclaimer.component.ts | 5 +- .../samples/sample-po-disclaimer.component.ts | 5 +- .../po-divider/po-divider.component.ts | 7 ++- .../sample-po-divider-basic.component.ts | 5 +- .../sample-po-divider-labs.component.ts | 5 +- ...sample-po-divider-user-detail.component.ts | 5 +- .../po-dropdown/po-dropdown.component.ts | 7 ++- .../sample-po-dropdown-basic.component.ts | 5 +- .../sample-po-dropdown-labs.component.ts | 5 +- ...le-po-dropdown-social-network.component.ts | 5 +- .../po-dynamic-container.component.ts | 5 +- .../po-dynamic-form-fields.component.ts | 9 +-- .../po-dynamic-form.component.ts | 5 +- .../sample-po-dynamic-form-basic.component.ts | 5 +- ...ple-po-dynamic-form-container.component.ts | 7 ++- ...mple-po-dynamic-form-register.component.ts | 7 ++- .../po-dynamic-view.component.ts | 5 +- .../sample-po-dynamic-view-basic.component.ts | 5 +- ...ple-po-dynamic-view-container.component.ts | 5 +- ...dynamic-view-employee-on-load.component.ts | 7 ++- ...mple-po-dynamic-view-employee.component.ts | 5 +- .../po-checkbox-group.component.ts | 31 ++++++----- ...ample-po-checkbox-group-basic.component.ts | 5 +- ...sample-po-checkbox-group-labs.component.ts | 5 +- ...heckbox-group-password-policy.component.ts | 5 +- .../po-checkbox/po-checkbox.component.ts | 21 +++---- ...e-po-checkbox-acceptance-term.component.ts | 5 +- .../sample-po-checkbox-basic.component.ts | 5 +- .../sample-po-checkbox-labs.component.ts | 5 +- .../po-field/po-clean/po-clean.component.ts | 5 +- .../samples/sample-po-clean-labs.component.ts | 5 +- .../po-combo-option-template.directive.ts | 3 +- .../po-field/po-combo/po-combo.component.ts | 35 ++++++------ .../sample-po-combo-basic.component.ts | 5 +- ...po-combo-heroes-reactive-form.component.ts | 5 +- .../sample-po-combo-heroes.component.ts | 5 +- .../sample-po-combo-hotels.component.ts | 5 +- ...mple-po-combo-infinity-scroll.component.ts | 5 +- .../sample-po-combo-labs.component.ts | 5 +- .../sample-po-combo-scheduling.component.ts | 7 ++- .../sample-po-combo-transfer.component.ts | 5 +- .../po-datepicker-range.component.ts | 4 +- ...ple-po-datepicker-range-basic.component.ts | 5 +- ...mple-po-datepicker-range-labs.component.ts | 5 +- ...range-vacations-reactive-form.component.ts | 5 +- ...po-datepicker-range-vacations.component.ts | 5 +- .../po-datepicker.component.spec.ts | 5 +- .../po-datepicker/po-datepicker.component.ts | 33 +++++------ ...epicker-airfare-reactive-form.component.ts | 5 +- .../sample-po-datepicker-airfare.component.ts | 5 +- .../sample-po-datepicker-basic.component.ts | 5 +- .../sample-po-datepicker-labs.component.ts | 5 +- .../po-decimal/po-decimal.component.ts | 31 ++++++----- .../sample-po-decimal-basic.component.ts | 5 +- ...mal-hourly-wage-reactive-form.component.ts | 5 +- ...sample-po-decimal-hourly-wage.component.ts | 5 +- .../sample-po-decimal-labs.component.ts | 5 +- .../po-field/po-email/po-email.component.ts | 2 +- .../sample-po-email-basic.component.ts | 5 +- .../sample-po-email-labs.component.ts | 5 +- .../sample-po-email-newsletter.component.ts | 5 +- .../po-field-container-bottom.component.ts | 7 ++- .../po-field-container.component.ts | 7 ++- .../po-input-generic/po-input-generic.spec.ts | 5 +- .../po-field/po-input/po-input.component.ts | 31 ++++++----- .../sample-po-input-basic.component.ts | 5 +- .../sample-po-input-labs.component.ts | 5 +- ...sample-po-input-reactive-form.component.ts | 5 +- .../po-field/po-login/po-login.component.ts | 2 +- .../sample-po-login-basic.component.ts | 5 +- .../sample-po-login-confirm.component.ts | 5 +- .../sample-po-login-labs.component.ts | 5 +- .../po-lookup-modal.component.ts | 7 ++- .../po-field/po-lookup/po-lookup.component.ts | 2 +- .../sample-po-lookup-basic.component.ts | 5 +- ...-po-lookup-hero-reactive-form.component.ts | 7 ++- .../sample-po-lookup-hero.component.ts | 7 ++- .../sample-po-lookup-labs.component.ts | 7 ++- .../sample-po-lookup-multiple.component.ts | 7 ++- .../sample-po-lookup-sw-films.component.ts | 7 ++- .../po-multiselect-dropdown.component.ts | 7 ++- ...o-multiselect-option-template.directive.ts | 3 +- .../po-multiselect.component.ts | 2 +- ...mple-po-multiselect-any-array.component.ts | 5 +- .../sample-po-multiselect-basic.component.ts | 5 +- .../sample-po-multiselect-heroes.component.ts | 7 ++- .../sample-po-multiselect-labs.component.ts | 5 +- ...ample-po-multiselect-template.component.ts | 11 ++-- ...select-vacation-reactive-form.component.ts | 5 +- ...ample-po-multiselect-vacation.component.ts | 5 +- .../po-number-base.component.spec.ts | 5 +- .../po-field/po-number/po-number.component.ts | 31 ++++++----- .../sample-po-number-basic.component.ts | 5 +- .../sample-po-number-calculate.component.ts | 5 +- .../sample-po-number-labs.component.ts | 5 +- .../po-password/po-password.component.ts | 31 ++++++----- .../sample-po-password-basic.component.ts | 5 +- .../sample-po-password-labs.component.ts | 5 +- .../sample-po-password-reset.component.ts | 7 ++- .../po-radio-group.component.ts | 31 ++++++----- .../sample-po-radio-group-basic.component.ts | 5 +- .../sample-po-radio-group-labs.component.ts | 5 +- ...roup-translator-reactive-form.component.ts | 5 +- ...ple-po-radio-group-translator.component.ts | 5 +- .../po-field/po-radio/po-radio.component.ts | 21 +++---- .../po-rich-text-body.component.ts | 5 +- .../po-rich-text-image-modal.component.ts | 5 +- .../po-rich-text-link-modal.component.ts | 5 +- .../po-rich-text-toolbar.component.ts | 5 +- .../po-rich-text/po-rich-text.component.ts | 4 +- .../sample-po-rich-text-basic.component.ts | 5 +- .../sample-po-rich-text-labs.component.ts | 5 +- .../sample-po-rich-text-recipe.component.ts | 5 +- .../po-field/po-select/po-select.component.ts | 31 ++++++----- .../sample-po-select-basic.component.ts | 5 +- .../sample-po-select-companies.component.ts | 5 +- ...-select-customer-registration.component.ts | 13 +++-- .../sample-po-select-labs.component.ts | 5 +- .../po-field/po-switch/po-switch.component.ts | 21 +++---- .../sample-po-switch-basic.component.ts | 5 +- .../sample-po-switch-labs.component.ts | 5 +- ...po-switch-order-reactive-form.component.ts | 5 +- .../sample-po-switch-order.component.ts | 5 +- .../po-textarea/po-textarea.component.ts | 31 ++++++----- .../sample-po-textarea-basic.component.ts | 5 +- ...-textarea-email-reactive-form.component.ts | 5 +- .../sample-po-textarea-email.component.ts | 5 +- .../sample-po-textarea-labs.component.ts | 5 +- .../po-upload-base.component.spec.ts | 5 +- ...upload-drag-drop-area-overlay.component.ts | 7 ++- .../po-upload-drag-drop-area.component.ts | 7 ++- .../po-upload-drag-drop.component.ts | 7 ++- .../po-upload-drag-drop.directive.spec.ts | 3 +- .../po-upload-drag-drop.directive.ts | 5 +- .../po-upload-file-restrictions.component.ts | 7 ++- .../po-field/po-upload/po-upload.component.ts | 35 ++++++------ .../sample-po-upload-basic.component.ts | 5 +- .../sample-po-upload-labs.component.ts | 5 +- ...le-po-upload-resume-drag-drop.component.ts | 5 +- .../sample-po-upload-resume.component.ts | 5 +- .../sample-po-upload-rs.component.ts | 5 +- .../po-field/po-url/po-url.component.ts | 31 ++++++----- .../sample-po-url-basic.component.ts | 5 +- .../sample-po-url-labs.component.ts | 5 +- .../sample-po-url-shortener.component.ts | 5 +- .../po-gauge-description.component.ts | 5 +- .../po-gauge-legend.component.ts | 5 +- .../po-gauge-path/po-gauge-path.component.ts | 5 +- .../po-gauge-pointer.component.ts | 5 +- .../po-gauge-svg/po-gauge-svg.component.ts | 5 +- .../po-gauge-title.component.ts | 5 +- .../components/po-gauge/po-gauge.component.ts | 5 +- .../sample-po-gauge-basic.component.ts | 5 +- .../sample-po-gauge-labs.component.ts | 5 +- .../sample-po-gauge-summary.component.ts | 5 +- .../po-grid-cell-action.component.ts | 5 +- .../po-grid-cell/po-grid-cell.component.ts | 5 +- .../po-grid-head/po-grid-head.component.ts | 5 +- .../components/po-grid/po-grid.component.ts | 5 +- .../sample-po-grid-basic.component.ts | 5 +- .../components/po-icon/po-icon.component.ts | 7 ++- .../components/po-image/po-image.component.ts | 5 +- .../sample-po-image-basic.component.ts | 5 +- .../sample-po-image-labs.component.ts | 5 +- .../sample-po-image-travel.component.ts | 5 +- .../components/po-info/po-info.component.ts | 7 ++- .../sample-po-info-basic.component.ts | 5 +- .../sample-po-info-labs.component.ts | 5 +- .../components/po-label/po-label.component.ts | 5 +- .../components/po-link/po-link.component.ts | 5 +- .../sample-po-link-basic.component.ts | 5 +- .../sample-po-link-heroes.component.ts | 5 +- .../sample-po-link-labs.component.ts | 5 +- ...po-list-view-content-template.directive.ts | 3 +- .../po-list-view-detail-template.directive.ts | 3 +- .../po-list-view/po-list-view.component.ts | 21 +++---- .../sample-po-list-view-basic.component.ts | 5 +- ...po-list-view-hiring-processes.component.ts | 7 ++- .../sample-po-list-view-labs.component.ts | 5 +- .../po-item-list/po-item-list.component.ts | 5 +- .../po-listbox/po-listbox.component.ts | 5 +- .../po-search-list.component.ts | 7 ++- .../po-loading-icon.component.ts | 5 +- .../po-loading-overlay.component.ts | 5 +- ...mple-po-loading-overlay-basic.component.ts | 11 ++-- ...ading-overlay-connection-test.component.ts | 5 +- ...ample-po-loading-overlay-labs.component.ts | 11 ++-- .../po-loading/po-loading.component.ts | 5 +- .../components/po-logo/po-logo.component.ts | 5 +- .../po-menu-panel-item.component.ts | 5 +- .../po-menu-panel.component.spec.ts | 10 +++- .../po-menu-panel/po-menu-panel.component.ts | 5 +- .../sample-po-menu-panel-basic.component.ts | 5 +- ...sample-po-menu-panel-customer.component.ts | 5 +- .../sample-po-menu-panel-labs.component.ts | 5 +- .../po-menu-filter.component.ts | 5 +- .../po-menu-header-template.directive.ts | 3 +- .../po-menu-item.component.spec.ts | 10 +++- .../po-menu-item/po-menu-item.component.ts | 5 +- .../po-menu/po-menu.component.spec.ts | 10 +++- .../components/po-menu/po-menu.component.ts | 7 ++- .../sample-po-menu-basic.component.ts | 5 +- ...ample-po-menu-human-resources.component.ts | 13 +++-- .../sample-po-menu-labs.component.ts | 11 ++-- .../po-modal-footer.component.ts | 5 +- .../po-modal/po-modal.component.spec.ts | 5 +- .../components/po-modal/po-modal.component.ts | 5 +- .../sample-po-modal-basic.component.ts | 5 +- .../sample-po-modal-fruits-salad.component.ts | 5 +- .../sample-po-modal-labs.component.ts | 5 +- .../po-navbar-action-popup.component.ts | 5 +- .../po-navbar-action.component.ts | 5 +- .../po-navbar-actions.component.ts | 5 +- ...o-navbar-item-navigation-icon.component.ts | 5 +- .../po-navbar-item-navigation.component.ts | 5 +- .../po-navbar-item.component.ts | 5 +- .../po-navbar-items.component.ts | 5 +- .../po-navbar-logo.component.ts | 5 +- .../po-navbar/po-navbar.component.ts | 5 +- .../po-overlay/po-overlay.component.ts | 5 +- .../po-page-content.component.spec.ts | 11 ++-- .../po-page-content.component.ts | 5 +- .../po-page-default.component.spec.ts | 6 +- .../po-page-default.component.ts | 5 +- .../sample-po-page-default-basic.component.ts | 5 +- ...ple-po-page-default-dashboard.component.ts | 13 +++-- .../sample-po-page-default-labs.component.ts | 5 +- .../po-page-detail.component.spec.ts | 5 +- .../po-page-detail.component.ts | 5 +- .../sample-po-page-detail-basic.component.ts | 5 +- .../sample-po-page-detail-labs.component.ts | 5 +- .../sample-po-page-detail-user.component.ts | 5 +- .../po-page-edit.component.spec.ts | 5 +- .../po-page-edit/po-page-edit.component.ts | 5 +- .../sample-po-page-edit-basic.component.ts | 5 +- .../sample-po-page-edit-labs.component.ts | 5 +- .../sample-po-page-edit-user.component.ts | 5 +- .../po-page-header.component.spec.ts | 5 +- .../po-page-header.component.ts | 5 +- .../po-page-list.component.spec.ts | 6 +- .../po-page-list/po-page-list.component.ts | 5 +- .../sample-po-page-list-basic.component.ts | 5 +- ...po-page-list-hiring-processes.component.ts | 7 ++- .../sample-po-page-list-labs.component.ts | 5 +- .../po-page-slide-footer.component.ts | 5 +- .../po-page-slide.component.spec.ts | 5 +- .../po-page-slide/po-page-slide.component.ts | 39 ++++++------- .../sample-po-page-slide-basic.component.ts | 5 +- ...e-po-page-slide-configuration.component.ts | 5 +- .../sample-po-page-slide-labs.component.ts | 5 +- .../components/po-page/po-page.component.ts | 5 +- .../po-popover/po-popover.component.ts | 7 ++- .../sample-po-popover-basic.component.ts | 5 +- ...sample-po-popover-credit-card.component.ts | 5 +- .../sample-po-popover-labs.component.ts | 5 +- .../components/po-popup/po-popup.component.ts | 7 ++- .../sample-po-popup-basic.component.ts | 5 +- .../sample-po-popup-email.component.ts | 11 ++-- .../sample-po-popup-labs.component.ts | 11 ++-- .../po-progress-bar.component.ts | 7 ++- .../po-progress/po-progress.component.ts | 7 ++- .../sample-po-progress-basic.component.ts | 5 +- .../sample-po-progress-labs.component.ts | 5 +- ...ample-po-progress-publication.component.ts | 5 +- .../po-search/po-search.component.ts | 9 +-- .../sample-po-search-basic.component.ts | 5 +- ...ample-po-search-filter-select.component.ts | 5 +- .../sample-po-search-find-people.component.ts | 15 ++--- .../sample-po-search-labs.component.ts | 11 ++-- .../sample-po-search-listbox.component.ts | 7 ++- .../po-slide-content-template.directive.ts | 3 +- .../po-slide-circles.component.ts | 5 +- .../po-slide-control.component.ts | 5 +- .../po-slide-item/po-slide-item.component.ts | 5 +- .../components/po-slide/po-slide.component.ts | 5 +- .../sample-po-slide-basic.component.ts | 5 +- ...le-po-slide-external-controls.component.ts | 5 +- .../sample-po-slide-labs.component.ts | 5 +- .../sample-po-slide-landscapes.component.ts | 5 +- ...mple-po-slide-useful-articles.component.ts | 5 +- .../po-stepper/po-step/po-step.component.ts | 5 +- .../po-stepper-circle.component.ts | 5 +- .../po-stepper-label.component.ts | 5 +- .../po-stepper-step.component.ts | 5 +- .../po-stepper/po-stepper.component.ts | 5 +- .../sample-po-stepper-active.component.ts | 5 +- .../sample-po-stepper-basic.component.ts | 5 +- .../sample-po-stepper-labs.component.ts | 5 +- .../sample-po-stepper-sales.component.ts | 5 +- .../sample-po-stepper-steps.component.ts | 5 +- .../po-table-cell-template.directive.ts | 3 +- .../po-table-column-frozen.directive.spec.ts | 5 +- .../po-table-column-frozen.directive.ts | 11 ++-- .../po-table-column-icon.component.ts | 7 ++- .../po-table-column-label.component.ts | 7 ++- .../po-table-column-link.component.ts | 7 ++- .../po-table-column-manager.component.ts | 5 +- .../po-table-column-template.directive.ts | 3 +- .../po-table-detail.component.ts | 5 +- .../po-table-icon/po-table-icon.component.ts | 7 ++- .../po-table-list-manager.component.ts | 19 ++++--- .../po-table-row-template.directive.ts | 3 +- .../po-table-show-subtitle.component.ts | 5 +- .../po-table-subtitle-circle.component.ts | 7 ++- .../po-table-subtitle-footer.component.ts | 5 +- .../po-table/po-table.component.spec.ts | 10 +++- .../components/po-table/po-table.component.ts | 7 ++- .../sample-po-table-airfare.component.ts | 7 ++- .../sample-po-table-basic.component.ts | 5 +- .../sample-po-table-components.component.ts | 9 +-- .../sample-po-table-draggable.component.ts | 5 +- .../sample-po-table-heroes.component.ts | 7 ++- .../sample-po-table-labs.component.ts | 7 ++- .../sample-po-table-transport.component.ts | 7 ++- .../sample-po-table-with-api.component.ts | 5 +- .../po-tab-button/po-tab-button.component.ts | 5 +- .../po-tab-dropdown.component.ts | 5 +- .../po-tabs/po-tab/po-tab.component.ts | 5 +- .../components/po-tabs/po-tabs.component.ts | 5 +- .../sample-po-tabs-basic.component.ts | 5 +- .../sample-po-tabs-business-conf.component.ts | 5 +- .../sample-po-tabs-labs.component.ts | 5 +- .../sample-po-tabs-travel.component.ts | 5 +- .../po-tag/po-tag.component.spec.ts | 3 +- .../lib/components/po-tag/po-tag.component.ts | 7 ++- .../sample-po-tag-bank-account.component.ts | 5 +- .../sample-po-tag-basic.component.ts | 5 +- .../sample-po-tag-labs.component.ts | 11 ++-- .../po-toaster/po-toaster.component.ts | 5 +- .../sample-po-toaster-basic.component.ts | 5 +- .../sample-po-toaster-labs.component.ts | 5 +- .../po-toolbar-actions.component.ts | 5 +- .../po-toolbar-notification.component.ts | 7 ++- .../po-toolbar-profile.component.ts | 7 ++- .../po-toolbar/po-toolbar.component.ts | 5 +- .../sample-po-toolbar-basic.component.ts | 5 +- .../sample-po-toolbar-labs.component.ts | 5 +- .../sample-po-toolbar-logged.component.ts | 7 ++- .../po-tree-view-item-header.component.ts | 7 ++- .../po-tree-view-item.component.ts | 55 ++++++++++--------- .../po-tree-view/po-tree-view.component.ts | 9 +-- .../sample-po-tree-view-basic.component.ts | 5 +- ...po-tree-view-folder-structure.component.ts | 5 +- .../sample-po-tree-view-labs.component.ts | 5 +- ...mple-po-tree-view-supermarket.component.ts | 5 +- .../po-widget/po-widget.component.ts | 5 +- .../sample-po-widget-basic.component.ts | 5 +- .../sample-po-widget-card.component.ts | 5 +- ...e-po-widget-finance-dashboard.component.ts | 5 +- .../sample-po-widget-labs.component.ts | 5 +- .../input-boolean.decorator.spec.ts | 5 +- .../input-required.decorator.spec.ts | 5 +- .../po-tooltip/po-tooltip.directive.spec.ts | 5 +- .../po-tooltip/po-tooltip.directive.ts | 5 +- .../sample-po-tooltip-basic.component.ts | 5 +- .../sample-po-tooltip-labs.component.ts | 5 +- .../sample-po-tooltip-new-user.component.ts | 5 +- .../po-http-interceptor-detail.component.ts | 5 +- ...mple-po-http-interceptor-labs.component.ts | 5 +- ...http-request-interceptor-labs.component.ts | 5 +- .../ui/src/lib/pipes/po-time/po-time.pipe.ts | 3 +- .../po-component-injector.service.spec.ts | 3 +- .../services/po-dialog/po-dialog.component.ts | 3 +- .../po-dialog/po-dialog.service.spec.ts | 5 +- .../sample-po-dialog-basic.component.ts | 5 +- ...-po-dialog-cancel-credit-card.component.ts | 5 +- .../sample-po-dialog-labs.component.ts | 5 +- .../lib/services/po-i18n/po-i18n.module.ts | 12 ++-- .../src/lib/services/po-i18n/po-i18n.pipe.ts | 3 +- .../sample-po-i18n-pipe-labs.component.ts | 5 +- .../samples/sample-po-i18n-pipe.component.ts | 5 +- .../sample-po-notification-basic.component.ts | 5 +- .../sample-po-notification-labs.component.ts | 7 ++- .../sample-po-notification-sales.component.ts | 7 ++- .../sample-po-theme-labs.component.ts | 7 ++- tsconfig.json | 3 + 520 files changed, 1977 insertions(+), 1443 deletions(-) diff --git a/angular.json b/angular.json index 9e16775b2..d61a186fe 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 18867cc6d..58e7d1a17 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "build:storage:lite": "ng build storage --configuration production", "build:sync": "ng build sync --configuration production && gulp build:schematics --lib sync && gulp replaceVersion && cd dist/ng-sync && npm pack", "build": "npm run build:schematics && npm run build:ui && npm run build:templates && npm run build:storage && npm run build:sync && npm run build:code-editor", - "build:portal:prod": "ng build portal --configuration production --build-optimizer=false", + "build:portal:prod": "ng build portal --configuration production", "build:portal": "npm run build:ui && npm run build:templates && npm run build:code-editor && npm run build:portal:docs", "build:portal:docs": "cd projects/portal && gulp build && npm run script:copy-icons", "release": "standard-version -- --preset angular", @@ -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 f45969e5c..bda8a32cd 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/po-code-editor.component.ts b/projects/code-editor/src/lib/components/po-code-editor/po-code-editor.component.ts index 1966dbde0..86654c516 100644 --- a/projects/code-editor/src/lib/components/po-code-editor/po-code-editor.component.ts +++ b/projects/code-editor/src/lib/components/po-code-editor/po-code-editor.component.ts @@ -59,7 +59,7 @@ const providers: Array = [ @Component({ selector: 'po-code-editor', templateUrl: './po-code-editor.component.html', - providers + standalone: false }) export class PoCodeEditorComponent extends PoCodeEditorBaseComponent implements AfterViewInit, DoCheck { @ViewChild('editorContainer', { static: true }) editorContainer: ElementRef; 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 01f22f6e4..1420be11d 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 68df657a1..2b1f525df 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 0e720e098..fa4c9df51 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 c7e7ad106..ef374404a 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 1d01567ab..e56c6e90f 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 ea41214cd..0ad531274 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 e68b91e7d..a5043cc96 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 cc5aef7e6..c69b1a696 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 eff7528df..825573de0 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 1cd903bf5..b1d2fd57a 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 3fa902980..866a17864 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 341123d48..b4b4f3851 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 5eec97239..5bd976237 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 310368d05..808642bbd 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 0ecb8ef5d..11548aa83 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 393570fed..fad5858d5 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 53192e455..179b0dac1 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 a682399ad..12fe970f3 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 fcebe63dc..47c75d2fc 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 d1cd8c87f..c896a96e9 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 edb0c1b51..483bb82d3 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 e19e8e037..a0b84f03b 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 4aa55a49b..c3dd9ecbb 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 4c1a85588..9c2669548 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 f2220e199..01a00db8b 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 a84f09046..7ba53fadd 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 e78729461..d27b2b1a3 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 3e63f4180..a5d0a0a9d 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 5472407b6..e4109ec0f 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 863a97ab2..ec4f5fb0c 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 ef53c9102..91667e826 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 a7d57a53f..13569cf3c 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 adc756869..99d91374b 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 ef8d78441..698488545 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 b3070fbaf..c101dddc7 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 c7ed3f49b..86954322e 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 dd41324ee..37991a2db 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 d6fed130b..8c978d8e0 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 450c4e1ba..a69a8f0d4 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 04c579c6f..8cda24694 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 52e7e3eb5..f20687e3b 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 6f143c97d..e4b26da0f 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 e40457f07..27cd6ea3a 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 58a267189..6e054c2c6 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 fa8ad3e65..612219575 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 e9aa93433..28cc47c96 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 a890c1531..0a97de843 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 71f64e4cc..b667ef853 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 055a44b44..517efb1e8 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 5de821eb1..41a01f63e 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 c25181d25..53b309d25 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 4a96cc638..696bf66b7 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 3ba106d48..748de8e81 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 5b3fa3809..917bcd723 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 7cb63649f..99294871a 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 01ba10e91..c79e9bb26 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 cfa159cec..e74b9ad40 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 b57ee3af6..602bcd558 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 7c53ff401..36c4b1587 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 48504d77a..2089f19ce 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 95704cb40..80fe5b8fa 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 0aaacc6fc..4b290babf 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 e1688bfdd..bf8505371 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 97a11c659..04eb21869 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 b6563751a..3f09488d9 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 a8cb44086..c1fc04181 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 1a2a4f4db..f8e86d2d6 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 395f3cf7b..b8c87fb7a 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 306f69afe..0224446f3 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 e5e6227a7..b5bf9c393 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 5708ffd0c..359b91521 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 4ca23b7c4..ada920269 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 0592041e9..20e32c3ab 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 6c7d1f1db..d2a237de6 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 8de8da067..6a6cbd26a 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 15e728032..fc18a80c8 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 4df3df8f9..40aada73f 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 67fecad8f..06c44cff2 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 e8613b2d4..b2d896b76 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 cf877eaef..fb9ba4e13 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 c8ff9622d..99d6245dc 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 47f203de7..a04292f82 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 74e28d0c2..ce8ec1171 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 92b45ee9b..9a8c04c62 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 442fcb740..1e75db1b0 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 20bd60b7f..5a3f469a6 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 7b8045f54..a2b0c5808 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 ffcc447ec..a23b98e69 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 aa545ea6e..2a0c167ed 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 d2c3a6a35..798871357 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 7553929a8..de18c75b6 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 6fde52f00..e7297dbaa 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 eb28b6384..7001d35c6 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 70963687c..fda907abb 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 e117b9388..1564e2f02 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 e1bc19a99..c1a680e51 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 272ac6b25..fa234663d 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 3293cfb8c..05a25e67e 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 56159d971..d05a656ba 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/po-calendar.component.ts b/projects/ui/src/lib/components/po-calendar/po-calendar.component.ts index 54555ae5e..3fb90aa4f 100644 --- a/projects/ui/src/lib/components/po-calendar/po-calendar.component.ts +++ b/projects/ui/src/lib/components/po-calendar/po-calendar.component.ts @@ -56,7 +56,7 @@ const poCalendarRangeWidth = 600; selector: 'po-calendar', templateUrl: './po-calendar.component.html', changeDetection: ChangeDetectionStrategy.OnPush, - providers + standalone: false }) export class PoCalendarComponent extends PoCalendarBaseComponent implements OnInit, OnChanges { hoverValue: Date; 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 346ff1348..d07f2bc8b 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 d86f8ba24..b5e104bb5 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 7ae760075..4e672366c 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 9bd0ef9c8..caa628184 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 5387fccab..e6b7cab27 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 a6e6e5fc0..772b58814 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 7b13a06a0..fd6fb3f8d 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 430797266..aac72042c 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 e1036baa7..55fbd0924 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 b18a09b0c..b1736243f 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 c0f980c8a..39477e8e4 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 f79642c17..97c48aa7d 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 59e36762d..ea5cd9dd9 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 c71a78fb1..e007dc1f8 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 f055a6a8b..b71e792e8 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 ff5b09b5f..b78d8d77d 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 08882214b..94532e226 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 a89b703ed..03b49a96b 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 065926779..59231f89b 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 0a3ba5f9b..2fdc35a65 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 3efe7134f..0fcf3dc81 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 79e21d0c4..6634212cf 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 7486ee2ee..2c86c8010 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 03baadded..e6770635d 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 c1eebd89f..7765ddb1e 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 7f31f454d..e7bc43d9e 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 3b0495fa0..b6ba224b5 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 2a57fb96d..694d43744 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 34b42ef00..ed203554f 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 8f20eb44d..3510dcf0e 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 6bb504993..33551e89a 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 62c3fc83a..5a120f762 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 3683e2e48..f718246b4 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 bfee1be77..149612895 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 8f7569c37..a52deb813 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 c4037f327..ac4e36a84 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 600621b50..43c87fc72 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 62a765aec..ee2e6fad4 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 ec6d85899..ac910b4c9 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 52d4c2d19..9339e3504 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 9b6685583..51008d6e8 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 fe9cb471b..6bfb7ea27 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 b296be38d..fa314fcab 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 538f80ce0..d3487f4f8 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 aea16f590..9862c7a2f 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 ed7faaa34..355ed9dea 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 047d1ea46..25fdbab94 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 751a71c68..d84a5c87a 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 e0352c5c1..c75b5d5db 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 5897f511c..f3f2d430b 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 4392bad14..98b2ddf5d 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 1a638ee29..e3e88135d 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 a553e3887..3b9f31a72 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 dd11365cf..0f52eb0e3 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 d48427a14..bc7b2401b 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 8135fd4e2..a01deaa87 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 731d884a7..6d5636ba9 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 d4226b652..2058ad53f 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 7ea3928cf..4daa25b36 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 a142832c2..0109098bd 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 6b0e4cf39..d04604d54 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 1f4b560a5..203e497d2 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 ee14525f2..fe6540af2 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 d04ffd3eb..46c896983 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 820d96f0f..723d527e4 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 dad77ad81..cf3f74741 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 e69e3a5db..22ba16ea1 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 d3db09866..f6ea5f43d 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 8bfd1c9f2..3a01f11c3 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 a5ee3dbd0..fecd5a6d1 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 0f32dbcb4..a09bb7741 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 e826d0eaf..76f49529a 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 49ff698f5..4ba4be103 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 b30b79f4c..48e1f8a02 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 16b7e4a36..0b4bb3f9f 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 92c07f8f5..3cb8975d2 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 94d097a23..5f7693299 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 4b7d2ed33..1ff6447db 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 7692ae320..9919377b9 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 31f51c5ee..86afe1f2f 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 b452043a3..6aabec829 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/po-datepicker-range.component.ts b/projects/ui/src/lib/components/po-field/po-datepicker-range/po-datepicker-range.component.ts index d5f050375..b5410fd87 100644 --- a/projects/ui/src/lib/components/po-field/po-datepicker-range/po-datepicker-range.component.ts +++ b/projects/ui/src/lib/components/po-field/po-datepicker-range/po-datepicker-range.component.ts @@ -76,8 +76,8 @@ const providers = [ @Component({ selector: 'po-datepicker-range', templateUrl: './po-datepicker-range.component.html', - providers, - changeDetection: ChangeDetectionStrategy.OnPush + changeDetection: ChangeDetectionStrategy.OnPush, + standalone: false }) export class PoDatepickerRangeComponent extends PoDatepickerRangeBaseComponent 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 7564e65d1..7d048d3ad 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 1160a3e91..3fd3aca58 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 08b380743..953a41e47 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 09f5ae24c..cabea29ab 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 1f17ca7c7..eed425a09 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 0f7057c57..6ba07e6e5 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 71fde6e75..eae3cfd0d 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 8af0a65b9..2d8cb5358 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 e7412a7b0..2612ac9eb 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 449854eb2..c94ff5ba5 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 bb729d39d..dda125dd5 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 5f1e229a4..e149dab2d 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 146ad7cba..ce9931ae3 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 195dfbb22..aecb9cced 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 d0f714652..495db1dcb 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/po-email.component.ts b/projects/ui/src/lib/components/po-field/po-email/po-email.component.ts index d49921ab7..404e71546 100644 --- a/projects/ui/src/lib/components/po-field/po-email/po-email.component.ts +++ b/projects/ui/src/lib/components/po-field/po-email/po-email.component.ts @@ -58,7 +58,7 @@ const providers = [ selector: 'po-email', templateUrl: '../po-input/po-input.component.html', changeDetection: ChangeDetectionStrategy.OnPush, - providers + standalone: false }) export class PoEmailComponent extends PoInputGeneric implements AfterViewInit, OnDestroy { id = `po-email[${uuid()}]`; 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 436b0c6f9..67aecb478 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 b6856b850..f9c49c7b1 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 86c81f17c..e71d0b968 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 6c0328bbb..a0eb73018 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 d7a20ba36..0db893421 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 aa2ba2968..11a84a54e 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 eab4791b0..af6354275 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 bf1fa2d88..3e7e4000d 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 a2e4c501b..f27d9a457 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 95f0e4289..1ae59bd5b 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/po-login.component.ts b/projects/ui/src/lib/components/po-field/po-login/po-login.component.ts index 66778e71d..66538df9a 100644 --- a/projects/ui/src/lib/components/po-field/po-login/po-login.component.ts +++ b/projects/ui/src/lib/components/po-field/po-login/po-login.component.ts @@ -49,7 +49,7 @@ const providers = [ selector: 'po-login', templateUrl: './po-login.component.html', changeDetection: ChangeDetectionStrategy.OnPush, - providers + standalone: false }) export class PoLoginComponent extends PoInputGeneric { id = `po-login[${uuid()}]`; 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 11b11a6fd..463fb675c 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 836407a9f..bc7042139 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 22733b640..344d48a8c 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 c5859f764..28266f4a0 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/po-lookup.component.ts b/projects/ui/src/lib/components/po-field/po-lookup/po-lookup.component.ts index 62bd55181..8f0e44906 100644 --- a/projects/ui/src/lib/components/po-field/po-lookup/po-lookup.component.ts +++ b/projects/ui/src/lib/components/po-field/po-lookup/po-lookup.component.ts @@ -138,7 +138,7 @@ const providers = [ selector: 'po-lookup', templateUrl: './po-lookup.component.html', changeDetection: ChangeDetectionStrategy.OnPush, - providers + standalone: false }) export class PoLookupComponent extends PoLookupBaseComponent implements AfterViewInit, OnDestroy, OnInit, DoCheck { @ViewChild('inp', { read: ElementRef, static: false }) inputEl: 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 0721a7de0..2ca11f4ed 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 57830fd42..8250f1e6c 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 f11738358..3b6ff6f48 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 aefa1ae75..12140fd6b 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 575450b1c..6bdcae0fa 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 be02e2ada..3927893ce 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 aeb518530..ca4f9a4f4 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 572139e2f..6cd467805 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/po-multiselect.component.ts b/projects/ui/src/lib/components/po-field/po-multiselect/po-multiselect.component.ts index 298cf3c96..1828616f3 100644 --- a/projects/ui/src/lib/components/po-field/po-multiselect/po-multiselect.component.ts +++ b/projects/ui/src/lib/components/po-field/po-multiselect/po-multiselect.component.ts @@ -113,7 +113,7 @@ const providers = [ selector: 'po-multiselect', templateUrl: './po-multiselect.component.html', changeDetection: ChangeDetectionStrategy.OnPush, - providers + standalone: false }) export class PoMultiselectComponent extends PoMultiselectBaseComponent 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 8338780c4..00d386d76 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 74e4715fa..d8c0a7f5b 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 a17574823..923572121 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 46b6e9db0..a2d776537 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 bb45028ca..3d3cde80b 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 e519d2941..53792b440 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 b70a6c449..080000ea1 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 645b8b673..97cf65008 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 5992a59b4..7962e5c16 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 0b8a9a55d..aa9bd0440 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 0dab7c4b6..2b7faf1c7 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 9c8f4bfdc..977df1d73 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 534da23c8..d123cd6f5 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 e018650c6..0b911dcba 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 4b951fc63..2792c89f6 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 bb8a7bbc9..c450240bd 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 914bc6f0e..4ca41fcc2 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 d76261ce1..ae2281cc2 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 113d48a52..4c9c9a851 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 40a169243..ec5764f86 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 8ee1d62a4..69ee4655b 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 d94a03cd6..3762ec403 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 bc43db0b6..dc02902f9 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 6f4759231..59abab6d2 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 6e2faa63b..83956518f 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 15d9532fd..dd3cdfc75 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/po-rich-text.component.ts b/projects/ui/src/lib/components/po-field/po-rich-text/po-rich-text.component.ts index a13b29a6e..08456cace 100644 --- a/projects/ui/src/lib/components/po-field/po-rich-text/po-rich-text.component.ts +++ b/projects/ui/src/lib/components/po-field/po-rich-text/po-rich-text.component.ts @@ -62,8 +62,8 @@ const providers = [ @Component({ selector: 'po-rich-text', templateUrl: './po-rich-text.component.html', - providers, - changeDetection: ChangeDetectionStrategy.OnPush + changeDetection: ChangeDetectionStrategy.OnPush, + standalone: false }) export class PoRichTextComponent extends PoRichTextBaseComponent 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 70c9b5d0a..dc0b22f48 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 4c70142c6..75dc4eb04 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 73b6fe91a..ff91d90b6 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 958553367..a57670062 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 e23964eee..bb914d145 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 dbe74abb2..67a72071e 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 a4d8c10b0..b85de293e 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 03d80f82a..da4398b21 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 d4ad814f7..4aab832f5 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 9580729aa..5d5a5a59c 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 800eef9d4..8c03e5ac1 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 4fc06b13a..206797758 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 ad1fb743c..aae518dff 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 aaa898af2..c5e1d7722 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 35588debd..697c821f9 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 ae158d3bc..b18e79b84 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 3f2005206..44e70fac3 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 8a32b83cc..913b471e1 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 1ad4ce550..b2b56944a 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 443a2a689..2d54efdd3 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 9dbf2d09e..cc39afdaf 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 cc0412231..cbd085451 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 efd62a79d..c51a6f5e4 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 74346b47b..a64a4412e 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 0334cf4b1..36690a6a6 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 45c1bae39..92cac4b64 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 abde6f244..bf242dcab 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 79c9197cd..e50c06543 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 4b9e05cc5..cce837d7f 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 fe661d982..ee17f0e86 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 bd644c1ee..6978eba77 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 1917c67fc..d3a7ab9f1 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 1b7a9d9b8..32687f950 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 3852fa9cc..848f449a3 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 fbe3eb6ff..cb7248aa7 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 d01b74de5..41723f9e3 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 4418bd6e8..63a492ac4 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 47b91fe84..f6925955f 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 cda760c81..339fbc68c 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 81108eb95..30ad0985a 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 d87b5a759..5f42ea581 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 64fbe77ed..3416b0053 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 cbacc1cfa..303820045 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 926941234..7dc5cb893 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 14e7f81d1..878340c6b 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 5695bb0fd..6d4f77bb5 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 8e1d16ab8..77b6353f5 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 cf3090d6e..cbe97fce9 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 deb730ce3..a5f9d49ca 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 ace8f078d..75f5255ff 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 2c2a86385..88d1ee3b2 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 53a9973f0..ec0703513 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 277e0ee78..b1decfcf1 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 c4e1d3973..98fc5c4d4 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 3071d9011..372cdcdef 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 9bd46f1a1..04f45ec7a 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 8276e580d..6cf485ad2 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 91b65aa01..a30001d72 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 30573003e..afb708b11 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 af0899f08..2b11b7553 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 fe28aeb99..057733fe8 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 84839304a..9058af04b 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 fcd919604..1a6accacf 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 254da9ad8..8e4883d9b 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 fb51569f4..dba058979 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 50c0ee935..f306790b5 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 acb2d6948..90370752e 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 30bf2bda2..9e4d430c0 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 1af0c2254..d7ae70bd1 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 a3933c2c7..8732acf36 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 4288e9e93..e2de3f3b5 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 8f7078cad..d0de49240 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 98accf8a8..56ba936ab 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 7ad9e5a36..f47fec02e 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 2696cd1d7..42b068c2c 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 e34add5ee..1873759cf 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 d5ae1c9c2..d07bd518a 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 6c73b1cc3..986b23e3b 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 cddca57e7..fef16350b 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 9192b7b88..710748b42 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 647dbe024..78c72f098 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 3b1ad9dc5..472aa971e 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 ae844aefc..e937d1880 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 604a60eb7..61081396a 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 daa8136ea..e39ce2745 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 b232e930f..6c2356144 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 ef6cb7a9e..4d2b51bd1 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 ff8fdb55d..6de37d92d 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 060443d7c..7f7ad1d25 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 995d918b0..5b75d0542 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 1cf2f3213..e0e776e81 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 476d0e222..52702a414 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 3975ce2b0..873c154d7 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 15f621161..10ca13160 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 7e5225c89..c2b2168ba 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 ff7963156..f10f44345 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 ceb6e3564..5a7f57039 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 1305d3ea6..858157c11 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 e0b04329c..e99a62c84 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 5a41e1dd8..fade0b7b2 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 1b507ef54..ca0bbffb3 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 d97c9574c..ecfea304d 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 61f0c38ba..37a098acd 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 cefeffff6..2d6752855 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 75e0c81d7..e98363479 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 287394411..a5e1d5765 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 ea2ff4d51..1771edba5 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 445602ad4..e503dbeb6 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 ea40255e3..3f553235d 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 78680ed8c..e3973a066 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 6b5aee91c..30c4cd910 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 7b6d2eaf4..ab4ed15e2 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 75b6d0e5f..9959cb7d4 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 130446ee5..65b3a8fed 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 8f5d8aa35..04784905b 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 385bf5bdc..4b3d5ffa1 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 fa4c66882..e137ff136 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 758458ffa..568f61b60 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 1a7821e58..9be9ffadb 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 cca37f98e..2a0f9b99c 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 059f259e2..75c67fc17 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 018c61461..7bf49640c 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 1ded57d77..3247a805a 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 b4ce5288b..3197e71b0 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 9cd857379..faede1c3f 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 635bd366c..f02deaf2c 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 7ca7abe5e..2fa729bc5 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 1d6f515e7..03d37a45c 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 c31f97327..3fb932759 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 551fca770..5be3bc98f 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 ce0ac09b5..bae0d6d97 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 90e9cfc8b..ba35c8496 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 8fc96f5ec..9e9a2a5e6 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 63bbbf98d..78b607e90 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 0cc16e942..bcf226b14 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 be12c7833..fd860284b 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 8461e09dc..ef49ef047 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 70867383c..c6a1f0c7f 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 54d79e4e1..47cbe5381 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 e8902465f..4e69d0e75 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 704126856..a76add707 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 219731b1c..8cfa04312 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 efc655882..b20686d94 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 2a669e3a3..3c0e1a503 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 4cd246ace..429e68da4 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 c188defe2..d980b9e53 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 d8b5b7beb..9b30069a2 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 671d54002..0d2e2e80a 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 62df0a7f3..30b7a6fc5 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 92858c4d3..6f4d94d4e 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 e7cc965e7..852351ccf 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 7047f53f2..b4d98763f 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 162f4ee9e..5343f9c7b 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 193dfd5e1..90388b1f0 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 ee628cdf3..4cf5d0188 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 da5aa3d57..a358b9a4c 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 e85eccd43..9af2c3704 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 ac0b95d0f..88797b322 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 4c52d2f0d..6dc9ac341 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 a9372e02d..fc7b447b4 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 9db53a60e..18b26eb5d 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 fb99f2871..863baf868 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 6ca2c2d19..34bee66de 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 abf6278ee..240ac3c7b 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 3681f0796..d9227bc9f 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 4b201bc06..db826c624 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 fbbb15ce1..2cd7b4ec0 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 fae2c4f9e..06435abb7 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 d44b0be70..ed2a40361 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 5031c51f7..5d5e4cb5f 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 0c27e5ff9..edff26902 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 7aa7c8ca5..f0a5a9b9d 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 e70288ff7..4db1b2d32 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 316b1c214..41fad122d 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 61809ae73..114e07768 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 94fe7425e..345378c45 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 6731587da..b73240ccd 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 448baf608..26a2bea19 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 01fec6a2e..1f4f88471 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 efd42c35e..7e7f53218 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 23436e59c..b5af92306 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 acbe38842..3e4231b1e 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 281fc453f..10f3651b0 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 6e8267618..d6098cd13 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 26ef1fee5..274b6fb2d 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 8fff11fb2..d45c79e64 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 002725939..fa018d8d9 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 b4be964e8..4f64235b6 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 53e17dd8f..ebb21bdbc 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 8c6f8330d..9d2688054 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 a786562bd..3ef4c2db5 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 098520450..d11af7ee7 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 3fac27b6d..77250d941 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 d6dde1f8a..00bdcff09 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 863727539..6db5a4096 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 0985622a5..9d5e47fe8 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 236ce23f3..00a25d8d7 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 60c55852f..aa6b06247 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 32a475943..4707dc5b5 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 b53bcbf32..3561fd9e9 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 4b9950096..3743ad7c9 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 1ba2449fa..8c34aa9eb 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 3d42e4d2a..744c8b484 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 1da184498..7b2df10a1 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 481e2d38d..f001d6d52 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 95319c640..2697a64df 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 8455ecea7..2766df8e3 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 c39cb20de..17bea9c29 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 8ed03ff2c..6d28b8631 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 3bb515e03..493e95141 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 2fc1a1913..42763d94b 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 e36c35a7e..8509f3af4 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 9876dba33..9ea22a643 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 b751d3002..31f279dc6 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 c40e9e6f1..8d519ff8c 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 535f8314c..61cdbdad8 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 9240a43f1..2f86dfb61 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 290bbaeb7..e0a2dddf8 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 6479ad343..d34095cdd 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 314f7595a..018612961 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 c2e13ecd0..bdbf5b19b 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 b4eb8021d..92d682f35 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 1a50474ee..905483fba 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 4a5cff74d..2c3c90363 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 286b0f2e8..9028bc463 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 b9617330d..bb3936041 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 9e43c1392..0327de1a6 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 64c788919..27f3b795a 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 6ad25a003..33a6be12b 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 095f09e1d..4bcf2d7be 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 98b89d0ab..589af8e4c 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 7281357bf..cefa1480d 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 0904a2142..5c0672910 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 47756856f..6fab17a9b 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 02d19b5b1..490873af2 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 d6987bb40..a35235895 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 a62ef4a9d..7f133dcbe 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 3f7e83b7c..11f0d54b9 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 00a3e66fb..61a1403dc 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 f8cfa1180..d8cf1fb9a 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 aede95e0b..d06e65e1b 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 cb0e5d807..39594df14 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 d8143f8cd..508984b80 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 0465c0a78..8e17d60fa 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 ddd346c3d..58737b92e 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 b9ba65641..9bc08e422 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 234711e36..1fe884165 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 5b1a5f58e..53003dc49 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 a0f45c284..a444be111 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 49f4a132e..f2b902f1a 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 8b0bdee90..f4a783f88 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 8fd6cbd21..652725e9f 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 8a4ae9687..c20118c8b 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 322b7883a..d18295d12 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 84938039c..2ab4fdc27 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 adaf16592..98048d63f 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 9d0e0b935..bd2a36d22 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 c260d7f1f..2cf5b9e10 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 337ef6917..e37df7c02 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 4c5ab00ef..94ba21c75 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 f85120473..2cd5c9b30 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 736efd45d..3b3029045 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 7d306bd86..dc9e046fb 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 afd2edb42..3078bdd97 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 bbf9bab3f..1940e87c6 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 d460e2145..3ccbf64f5 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"