@po-ui/ng-components 22.0.0-rc.1 → 22.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/fesm2022/{po-ui-ng-components-po-chart-modal-table.component-DREfx0T_.mjs → po-ui-ng-components-po-chart-modal-table.component-Cozxgj7w.mjs} +4 -4
- package/fesm2022/{po-ui-ng-components-po-chart-modal-table.component-DREfx0T_.mjs.map → po-ui-ng-components-po-chart-modal-table.component-Cozxgj7w.mjs.map} +1 -1
- package/fesm2022/po-ui-ng-components.mjs +1480 -1276
- package/fesm2022/po-ui-ng-components.mjs.map +1 -1
- package/lib/components/po-accordion/po-accordion-item/po-accordion-item.component.d.ts +2 -0
- package/lib/components/po-accordion/po-accordion.component.d.ts +2 -0
- package/lib/components/po-avatar/po-avatar.component.d.ts +2 -0
- package/lib/components/po-badge/po-badge.component.d.ts +2 -0
- package/lib/components/po-breadcrumb/po-breadcrumb.component.d.ts +2 -0
- package/lib/components/po-button/po-button.component.d.ts +2 -0
- package/lib/components/po-button-group/po-button-group.component.d.ts +2 -0
- package/lib/components/po-calendar/po-calendar.component.d.ts +2 -0
- package/lib/components/po-chart/interfaces/po-chart-serie.interface.d.ts +29 -2
- package/lib/components/po-chart/po-chart.component.d.ts +2 -0
- package/lib/components/po-container/po-container.component.d.ts +2 -0
- package/lib/components/po-context-menu/po-context-menu.component.d.ts +2 -0
- package/lib/components/po-context-tabs/po-context-tabs.component.d.ts +2 -0
- package/lib/components/po-disclaimer-group/po-disclaimer-group.component.d.ts +1 -0
- package/lib/components/po-divider/po-divider.component.d.ts +2 -0
- package/lib/components/po-dropdown/po-dropdown.component.d.ts +2 -0
- package/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form.component.d.ts +1 -0
- package/lib/components/po-dynamic/po-dynamic-view/po-dynamic-view.component.d.ts +2 -0
- package/lib/components/po-field/po-checkbox/po-checkbox.component.d.ts +2 -0
- package/lib/components/po-field/po-checkbox-group/po-checkbox-group.component.d.ts +2 -0
- package/lib/components/po-field/po-combo/po-combo-option-template/po-combo-option-template.directive.d.ts +2 -0
- package/lib/components/po-field/po-combo/po-combo.component.d.ts +2 -0
- package/lib/components/po-field/po-datepicker/po-datepicker.component.d.ts +2 -0
- package/lib/components/po-field/po-datepicker-range/po-datepicker-range.component.d.ts +2 -0
- package/lib/components/po-field/po-datetimepicker/po-datetimepicker.component.d.ts +2 -0
- package/lib/components/po-field/po-decimal/po-decimal.component.d.ts +2 -0
- package/lib/components/po-field/po-email/po-email.component.d.ts +2 -0
- package/lib/components/po-field/po-field-validate.model.d.ts +2 -0
- package/lib/components/po-field/po-input/po-input.component.d.ts +2 -0
- package/lib/components/po-field/po-login/po-login.component.d.ts +1 -0
- package/lib/components/po-field/po-lookup/po-lookup.component.d.ts +2 -0
- package/lib/components/po-field/po-multiselect/po-multiselect-option-template/po-multiselect-option-template.directive.d.ts +1 -0
- package/lib/components/po-field/po-multiselect/po-multiselect.component.d.ts +1 -0
- package/lib/components/po-field/po-number/po-number.component.d.ts +2 -0
- package/lib/components/po-field/po-password/po-password.component.d.ts +2 -0
- package/lib/components/po-field/po-radio-group/po-radio-group.component.d.ts +1 -0
- package/lib/components/po-field/po-rich-text/po-rich-text.component.d.ts +2 -0
- package/lib/components/po-field/po-search-ai/po-search-ai.component.d.ts +2 -0
- package/lib/components/po-field/po-select/po-select.component.d.ts +1 -0
- package/lib/components/po-field/po-switch/po-switch.component.d.ts +2 -0
- package/lib/components/po-field/po-textarea/po-textarea.component.d.ts +1 -0
- package/lib/components/po-field/po-timepicker/po-timepicker.component.d.ts +2 -0
- package/lib/components/po-field/po-upload/po-upload.component.d.ts +2 -0
- package/lib/components/po-field/po-url/po-url.component.d.ts +1 -0
- package/lib/components/po-filter-chip/po-filter-chip.component.d.ts +2 -0
- package/lib/components/po-grid/po-grid.component.d.ts +2 -0
- package/lib/components/po-header/po-header.component.d.ts +1 -0
- package/lib/components/po-helper/po-helper.component.d.ts +1 -0
- package/lib/components/po-image/po-image.component.d.ts +1 -0
- package/lib/components/po-info/po-info.component.d.ts +2 -0
- package/lib/components/po-link/po-link.component.d.ts +2 -0
- package/lib/components/po-list-view/po-list-view-content-template/po-list-view-content-template.directive.d.ts +2 -0
- package/lib/components/po-list-view/po-list-view-detail-template/po-list-view-detail-template.directive.d.ts +2 -0
- package/lib/components/po-list-view/po-list-view.component.d.ts +2 -0
- package/lib/components/po-loading/po-loading-overlay/po-loading-overlay.component.d.ts +2 -0
- package/lib/components/po-menu/po-menu-header-template/po-menu-header-template.directive.d.ts +2 -0
- package/lib/components/po-menu/po-menu.component.d.ts +2 -0
- package/lib/components/po-menu-panel/po-menu-panel.component.d.ts +2 -0
- package/lib/components/po-modal/po-modal-footer/po-modal-footer.component.d.ts +2 -0
- package/lib/components/po-modal/po-modal.component.d.ts +2 -0
- package/lib/components/po-navbar/po-navbar.component.d.ts +2 -0
- package/lib/components/po-page/po-page-default/po-page-default.component.d.ts +2 -0
- package/lib/components/po-page/po-page-detail/po-page-detail.component.d.ts +2 -0
- package/lib/components/po-page/po-page-edit/po-page-edit.component.d.ts +2 -0
- package/lib/components/po-page/po-page-list/po-page-list.component.d.ts +2 -0
- package/lib/components/po-page/po-page-slide/po-page-slide-footer/po-page-slide-footer.component.d.ts +2 -0
- package/lib/components/po-page/po-page-slide/po-page-slide.component.d.ts +2 -0
- package/lib/components/po-popover/po-popover.component.d.ts +2 -0
- package/lib/components/po-popup/po-popup.component.d.ts +1 -0
- package/lib/components/po-progress/po-progress.component.d.ts +1 -0
- package/lib/components/po-search/po-search.component.d.ts +1 -0
- package/lib/components/po-skeleton/po-skeleton.component.d.ts +2 -0
- package/lib/components/po-slide/directives/po-slide-content-template.directive.d.ts +2 -0
- package/lib/components/po-slide/po-slide.component.d.ts +2 -0
- package/lib/components/po-stepper/po-step/po-step.component.d.ts +2 -0
- package/lib/components/po-stepper/po-stepper.component.d.ts +2 -0
- package/lib/components/po-table/po-table-cell-template/po-table-cell-template.directive.d.ts +2 -0
- package/lib/components/po-table/po-table-column-template/po-table-column-template.directive.d.ts +2 -0
- package/lib/components/po-table/po-table-row-template/po-table-row-template.directive.d.ts +2 -0
- package/lib/components/po-table/po-table.component.d.ts +2 -0
- package/lib/components/po-tabs/po-tab/po-tab.component.d.ts +2 -0
- package/lib/components/po-tabs/po-tabs.component.d.ts +3 -0
- package/lib/components/po-tag/po-tag.component.d.ts +2 -0
- package/lib/components/po-toaster/po-toaster.component.d.ts +2 -0
- package/lib/components/po-toolbar/po-toolbar.component.d.ts +2 -0
- package/lib/components/po-tree-view/po-tree-view.component.d.ts +2 -0
- package/lib/components/po-widget/po-widget.component.d.ts +1 -0
- package/lib/directives/po-drag-drop/po-drag.directive.d.ts +2 -0
- package/lib/directives/po-drag-drop/po-drop-list.directive.d.ts +3 -0
- package/lib/directives/po-tooltip/po-tooltip.directive.d.ts +2 -0
- package/lib/interceptors/po-http-interceptor/po-http-interceptor.service.d.ts +2 -0
- package/lib/interceptors/po-http-request/po-http-request-interceptor.service.d.ts +2 -0
- package/lib/services/po-dialog/po-dialog.service.d.ts +4 -0
- package/lib/services/po-i18n/po-i18n.service.d.ts +2 -0
- package/lib/services/po-media-query/po-media-query.service.d.ts +1 -0
- package/lib/services/po-notification/po-notification.service.d.ts +3 -0
- package/lib/services/po-theme/helpers/shared/base.constant.d.ts +9 -0
- package/lib/services/po-theme/po-theme.service.d.ts +8 -1
- package/lib/services/po-user-guide/po-user-guide.service.d.ts +2 -0
- package/package.json +4 -4
- package/po-ui-ng-components-22.0.0.tgz +0 -0
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-add/setup-project.d.ts +2 -2
- package/schematics/ng-update/v14/index.js +1 -1
- package/schematics/ng-update/v15/index.js +1 -1
- package/schematics/ng-update/v16/index.js +1 -1
- package/schematics/ng-update/v17/index.js +1 -1
- package/schematics/ng-update/v18/index.d.ts +2 -2
- package/schematics/ng-update/v18/index.js +2 -2
- package/schematics/ng-update/v19/index.d.ts +2 -2
- package/schematics/ng-update/v19/index.js +2 -2
- package/schematics/ng-update/v2/index.js +1 -1
- package/schematics/ng-update/v20/index.d.ts +2 -2
- package/schematics/ng-update/v20/index.js +2 -2
- package/schematics/ng-update/v21/index.js +1 -1
- package/schematics/ng-update/v22/index.js +1 -1
- package/schematics/ng-update/v3/index.js +1 -1
- package/schematics/ng-update/v4/index.js +1 -1
- package/schematics/ng-update/v5/index.js +1 -1
- package/schematics/ng-update/v6/index.js +1 -1
- package/types/po-ui-ng-components.d.ts +226 -3
- package/po-ui-ng-components-22.0.0-rc.1.tgz +0 -0
|
@@ -20,6 +20,8 @@ import { PoModalFooterComponent } from './po-modal-footer/po-modal-footer.compon
|
|
|
20
20
|
* <file name="sample-po-modal-fruits-salad/sample-po-modal-fruits-salad.component.html"> </file>
|
|
21
21
|
* <file name="sample-po-modal-fruits-salad/sample-po-modal-fruits-salad.component.ts"> </file>
|
|
22
22
|
* </example>
|
|
23
|
+
*
|
|
24
|
+
* @docsCategory overlay
|
|
23
25
|
*/
|
|
24
26
|
export declare class PoModalComponent extends PoModalBaseComponent {
|
|
25
27
|
private readonly poActiveOverlayService;
|
|
@@ -6,6 +6,8 @@ import { PoNavbarItemsComponent } from './po-navbar-items/po-navbar-items.compon
|
|
|
6
6
|
* @deprecated v23.x.x use `po-header`
|
|
7
7
|
*
|
|
8
8
|
* @docsExtends PoNavbarBaseComponent
|
|
9
|
+
*
|
|
10
|
+
* @docsCategory navigation
|
|
9
11
|
*/
|
|
10
12
|
export declare class PoNavbarComponent extends PoNavbarBaseComponent implements AfterViewInit, OnDestroy, OnInit {
|
|
11
13
|
private readonly renderer;
|
|
@@ -27,6 +27,8 @@ import { PoPageDefaultBaseComponent } from './po-page-default-base.component';
|
|
|
27
27
|
* <file name="sample-po-page-default-refresh/sample-po-page-default-refresh.component.html"> </file>
|
|
28
28
|
* <file name="sample-po-page-default-refresh/sample-po-page-default-refresh.component.ts"> </file>
|
|
29
29
|
* </example>
|
|
30
|
+
*
|
|
31
|
+
* @docsCategory pages
|
|
30
32
|
*/
|
|
31
33
|
export declare class PoPageDefaultComponent extends PoPageDefaultBaseComponent implements AfterContentInit, OnChanges, OnDestroy {
|
|
32
34
|
private readonly renderer;
|
|
@@ -18,6 +18,8 @@ import { PoPageDetailBaseComponent } from './po-page-detail-base.component';
|
|
|
18
18
|
* <file name="sample-po-page-detail-user/sample-po-page-detail-user.component.html"> </file>
|
|
19
19
|
* <file name="sample-po-page-detail-user/sample-po-page-detail-user.component.ts"> </file>
|
|
20
20
|
* </example>
|
|
21
|
+
*
|
|
22
|
+
* @docsCategory pages
|
|
21
23
|
*/
|
|
22
24
|
export declare class PoPageDetailComponent extends PoPageDetailBaseComponent {
|
|
23
25
|
hasAnyAction(): boolean;
|
|
@@ -18,6 +18,8 @@ import { PoPageEditBaseComponent } from './po-page-edit-base.component';
|
|
|
18
18
|
* <file name="sample-po-page-edit-user/sample-po-page-edit-user.component.html"> </file>
|
|
19
19
|
* <file name="sample-po-page-edit-user/sample-po-page-edit-user.component.ts"> </file>
|
|
20
20
|
* </example>
|
|
21
|
+
*
|
|
22
|
+
* @docsCategory pages
|
|
21
23
|
*/
|
|
22
24
|
export declare class PoPageEditComponent extends PoPageEditBaseComponent {
|
|
23
25
|
getIcon(icon: string): string;
|
|
@@ -24,6 +24,8 @@ import { PoPageListBaseComponent } from './po-page-list-base.component';
|
|
|
24
24
|
* <file name="sample-po-page-list-hiring-processes/sample-po-page-list-hiring-processes.component.ts"> </file>
|
|
25
25
|
* <file name="sample-po-page-list-hiring-processes/sample-po-page-list-hiring-processes.service.ts"> </file>
|
|
26
26
|
* </example>
|
|
27
|
+
*
|
|
28
|
+
* @docsCategory pages
|
|
27
29
|
*/
|
|
28
30
|
export declare class PoPageListComponent extends PoPageListBaseComponent implements AfterContentInit, OnChanges, OnDestroy, OnInit {
|
|
29
31
|
renderer: Renderer2;
|
|
@@ -27,6 +27,8 @@ export declare const poPageSlideLiteralsDefault: {
|
|
|
27
27
|
* <file name="sample-po-page-slide-configuration/sample-po-page-slide-configuration.component.html"> </file>
|
|
28
28
|
* <file name="sample-po-page-slide-configuration/sample-po-page-slide-configuration.component.ts"> </file>
|
|
29
29
|
* </example>
|
|
30
|
+
*
|
|
31
|
+
* @docsCategory overlay
|
|
30
32
|
*/
|
|
31
33
|
export declare class PoPageSlideComponent extends PoPageSlideBaseComponent {
|
|
32
34
|
private readonly poActiveOverlayService;
|
|
@@ -21,6 +21,8 @@ import { PoPopoverBaseComponent } from './po-popover-base.component';
|
|
|
21
21
|
* <file name="sample-po-popover-credit-card/sample-po-popover-credit-card.component.html"> </file>
|
|
22
22
|
* <file name="sample-po-popover-credit-card/sample-po-popover-credit-card.component.ts"> </file>
|
|
23
23
|
* </example>
|
|
24
|
+
*
|
|
25
|
+
* @docsCategory overlay
|
|
24
26
|
*/
|
|
25
27
|
export declare class PoPopoverComponent extends PoPopoverBaseComponent implements AfterViewInit, OnDestroy, OnChanges {
|
|
26
28
|
private readonly renderer;
|
|
@@ -25,6 +25,7 @@ import { PoPopupBaseComponent } from './po-popup-base.component';
|
|
|
25
25
|
* <file name="sample-po-popup-email/sample-po-popup-email.component.css"> </file>
|
|
26
26
|
* </example>
|
|
27
27
|
*
|
|
28
|
+
* @docsCategory overlay
|
|
28
29
|
*/
|
|
29
30
|
export declare class PoPopupComponent extends PoPopupBaseComponent implements AfterViewInit {
|
|
30
31
|
id: string;
|
|
@@ -26,6 +26,7 @@ import { PoProgressBaseComponent } from './po-progress-base.component';
|
|
|
26
26
|
* <file name="sample-po-progress-circle/sample-po-progress-circle.component.css"> </file>
|
|
27
27
|
* </example>
|
|
28
28
|
*
|
|
29
|
+
* @docsCategory feedback
|
|
29
30
|
*/
|
|
30
31
|
export declare class PoProgressComponent extends PoProgressBaseComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
31
32
|
language: any;
|
|
@@ -51,6 +51,7 @@ import { PoSearchBaseComponent } from './po-search-base.component';
|
|
|
51
51
|
* <file name="sample-po-search-fields-locate/sample-po-search-fields-locate.component.ts"> </file>
|
|
52
52
|
* </example>
|
|
53
53
|
*
|
|
54
|
+
* @docsCategory search-filters
|
|
54
55
|
*/
|
|
55
56
|
export declare class PoSearchComponent extends PoSearchBaseComponent implements OnInit, OnDestroy, OnChanges {
|
|
56
57
|
languageService: PoLanguageService;
|
|
@@ -43,6 +43,8 @@ import { PoSkeletonBaseComponent } from './po-skeleton-base.component';
|
|
|
43
43
|
* <file name="sample-po-skeleton-article/sample-po-skeleton-article.component.ts"> </file>
|
|
44
44
|
* <file name="sample-po-skeleton-article/sample-po-skeleton-article.component.css"> </file>
|
|
45
45
|
* </example>
|
|
46
|
+
*
|
|
47
|
+
* @docsCategory feedback
|
|
46
48
|
*/
|
|
47
49
|
export declare class PoSkeletonComponent extends PoSkeletonBaseComponent {
|
|
48
50
|
private readonly sizeMap;
|
|
@@ -30,6 +30,8 @@ import { PoSlideItem } from './interfaces/po-slide-item.interface';
|
|
|
30
30
|
* <file name="sample-po-slide-external-controls/sample-po-slide-external-controls.component.html"> </file>
|
|
31
31
|
* <file name="sample-po-slide-external-controls/sample-po-slide-external-controls.component.ts"> </file>
|
|
32
32
|
* </example>
|
|
33
|
+
*
|
|
34
|
+
* @docsCategory visual
|
|
33
35
|
*/
|
|
34
36
|
export declare class PoSlideComponent extends PoSlideBaseComponent implements OnInit, DoCheck, OnChanges, OnDestroy {
|
|
35
37
|
slideContentTemplate: PoSlideContentTemplateDirective;
|
|
@@ -37,6 +37,8 @@ import { PoStepperStatus } from '../enums/po-stepper-status.enum';
|
|
|
37
37
|
*
|
|
38
38
|
* Acesse a [documentação do `po-stepper`](/documentation/po-stepper) para ter mais informações sobre o seu funcionamento
|
|
39
39
|
* e exemplos de uso.
|
|
40
|
+
*
|
|
41
|
+
* @docsParent po-stepper
|
|
40
42
|
*/
|
|
41
43
|
export declare class PoStepComponent implements AfterContentInit {
|
|
42
44
|
private readonly elementRef;
|
|
@@ -33,6 +33,8 @@ import { PoStepperItem } from './po-stepper-item.interface';
|
|
|
33
33
|
* <file name="sample-po-stepper-steps/sample-po-stepper-steps.component.html"> </file>
|
|
34
34
|
* <file name="sample-po-stepper-steps/sample-po-stepper-steps.component.ts"> </file>
|
|
35
35
|
* </example>
|
|
36
|
+
*
|
|
37
|
+
* @docsCategory navigation
|
|
36
38
|
*/
|
|
37
39
|
export declare class PoStepperComponent extends PoStepperBaseComponent implements AfterContentInit {
|
|
38
40
|
private readonly changeDetector;
|
package/lib/components/po-table/po-table-cell-template/po-table-cell-template.directive.d.ts
CHANGED
|
@@ -64,6 +64,8 @@ import { TemplateRef } from '@angular/core';
|
|
|
64
64
|
* ...
|
|
65
65
|
* ```
|
|
66
66
|
* > Observação: Sempre adicionar o **type** da coluna que deseja manipular com a directiva como `cellTemplate`
|
|
67
|
+
*
|
|
68
|
+
* @docsParent po-table
|
|
67
69
|
*/
|
|
68
70
|
export declare class PoTableCellTemplateDirective {
|
|
69
71
|
templateRef: TemplateRef<any>;
|
package/lib/components/po-table/po-table-column-template/po-table-column-template.directive.d.ts
CHANGED
|
@@ -69,6 +69,8 @@ import { TemplateRef } from '@angular/core';
|
|
|
69
69
|
* ...
|
|
70
70
|
* ```
|
|
71
71
|
* > Observação: Sempre adicionar o **type** da coluna que deseja manipular com a directiva como `columnTemplate`
|
|
72
|
+
*
|
|
73
|
+
* @docsParent po-table
|
|
72
74
|
*/
|
|
73
75
|
export declare class PoTableColumnTemplateDirective {
|
|
74
76
|
templateRef: TemplateRef<any>;
|
|
@@ -87,6 +87,8 @@ import { PoTableRowTemplateArrowDirection } from '../enums/po-table-row-template
|
|
|
87
87
|
* ```
|
|
88
88
|
* > No exemplo acima, somente será disponibilizado os detalhes de informações nas linhas cujo o valor de `status`
|
|
89
89
|
* não correspondam à *delivered*.
|
|
90
|
+
*
|
|
91
|
+
* @docsParent po-table
|
|
90
92
|
*/
|
|
91
93
|
export declare class PoTableRowTemplateDirective {
|
|
92
94
|
templateRef: TemplateRef<any>;
|
|
@@ -76,6 +76,8 @@ import { PoTableColumnSpacing } from './enums/po-table-spacing.enum';
|
|
|
76
76
|
* <file name="sample-po-table-search-ai/sample-po-table-search-ai.component.html"> </file>
|
|
77
77
|
* <file name="sample-po-table-search-ai/sample-po-table-search-ai.component.ts"> </file>
|
|
78
78
|
* </example>
|
|
79
|
+
*
|
|
80
|
+
* @docsCategory tables-lists
|
|
79
81
|
*/
|
|
80
82
|
export declare class PoTableComponent extends PoTableBaseComponent implements AfterViewInit, DoCheck, OnDestroy, OnInit {
|
|
81
83
|
private readonly changeDetector;
|
|
@@ -2,6 +2,8 @@ import { AfterContentInit, ElementRef, OnChanges, SimpleChanges } from '@angular
|
|
|
2
2
|
import { PoTabBaseComponent } from './po-tab-base.component';
|
|
3
3
|
/**
|
|
4
4
|
* @docsExtends PoTabBaseComponent
|
|
5
|
+
*
|
|
6
|
+
* @docsParent po-tabs
|
|
5
7
|
*/
|
|
6
8
|
export declare class PoTabComponent extends PoTabBaseComponent implements AfterContentInit, OnChanges {
|
|
7
9
|
elementRef: ElementRef<any>;
|
|
@@ -46,6 +46,9 @@ export declare const poTabsLiterals: object;
|
|
|
46
46
|
* <file name="sample-po-tabs-business-conf/sample-po-tabs-business-conf.component.html"> </file>
|
|
47
47
|
* <file name="sample-po-tabs-business-conf/sample-po-tabs-business-conf.component.ts"> </file>
|
|
48
48
|
* </example>
|
|
49
|
+
*
|
|
50
|
+
* @docsCategory navigation
|
|
51
|
+
* @docsShortcut containers
|
|
49
52
|
*/
|
|
50
53
|
export declare class PoTabsComponent extends PoTabsBaseComponent implements OnInit, AfterViewInit, OnDestroy, AfterContentInit {
|
|
51
54
|
changeDetector: ChangeDetectorRef;
|
|
@@ -26,6 +26,8 @@ import { PoTagBaseComponent } from './po-tag-base.component';
|
|
|
26
26
|
* <file name="sample-po-tag-caption-tag-colors/sample-po-tag-caption-tag-colors.component.html"> </file>
|
|
27
27
|
* <file name="sample-po-tag-caption-tag-colors/sample-po-tag-caption-tag-colors.component.ts"> </file>
|
|
28
28
|
* </example>
|
|
29
|
+
*
|
|
30
|
+
* @docsCategory visual
|
|
29
31
|
*/
|
|
30
32
|
export declare class PoTagComponent extends PoTagBaseComponent implements OnInit {
|
|
31
33
|
private readonly el;
|
|
@@ -17,6 +17,8 @@ import { PoToasterBaseComponent } from './po-toaster-base.component';
|
|
|
17
17
|
* <file name="sample-po-toaster-labs/sample-po-toaster-labs.component.html"> </file>
|
|
18
18
|
* <file name="sample-po-toaster-labs/sample-po-toaster-labs.component.ts"> </file>
|
|
19
19
|
* </example>
|
|
20
|
+
*
|
|
21
|
+
* @docsCategory feedback
|
|
20
22
|
*/
|
|
21
23
|
export declare class PoToasterComponent extends PoToasterBaseComponent implements AfterViewInit, OnDestroy, OnChanges {
|
|
22
24
|
changeDetector: ChangeDetectorRef;
|
|
@@ -19,6 +19,8 @@ import { PoToolbarBaseComponent } from './po-toolbar-base.component';
|
|
|
19
19
|
* <file name="sample-po-toolbar-logged/sample-po-toolbar-logged.component.html"> </file>
|
|
20
20
|
* <file name="sample-po-toolbar-logged/sample-po-toolbar-logged.component.ts"> </file>
|
|
21
21
|
* </example>
|
|
22
|
+
*
|
|
23
|
+
* @docsCategory navigation
|
|
22
24
|
*/
|
|
23
25
|
export declare class PoToolbarComponent extends PoToolbarBaseComponent implements OnInit {
|
|
24
26
|
private readonly titleService;
|
|
@@ -24,6 +24,8 @@ import { PoTreeViewBaseComponent } from './po-tree-view-base.component';
|
|
|
24
24
|
* <file name="sample-po-tree-view-supermarket/sample-po-tree-view-supermarket.component.html"> </file>
|
|
25
25
|
* <file name="sample-po-tree-view-supermarket/sample-po-tree-view-supermarket.component.ts"> </file>
|
|
26
26
|
* </example>
|
|
27
|
+
*
|
|
28
|
+
* @docsCategory tables-lists
|
|
27
29
|
*/
|
|
28
30
|
export declare class PoTreeViewComponent extends PoTreeViewBaseComponent implements OnInit, AfterViewInit {
|
|
29
31
|
private readonly elementRef;
|
|
@@ -30,6 +30,7 @@ import { PoWidgetBaseComponent } from './po-widget-base.component';
|
|
|
30
30
|
* <file name="sample-po-widget-card/sample-po-widget-card.component.ts"> </file>
|
|
31
31
|
* </example>
|
|
32
32
|
*
|
|
33
|
+
* @docsCategory containers
|
|
33
34
|
*/
|
|
34
35
|
export declare class PoWidgetComponent extends PoWidgetBaseComponent implements OnInit, OnChanges, AfterViewInit {
|
|
35
36
|
protected cd: ChangeDetectorRef;
|
|
@@ -35,6 +35,8 @@ import { PoDragBaseDirective } from './po-drag-base.directive';
|
|
|
35
35
|
* <file name="sample-po-drop-list-mixed/sample-po-drop-list-mixed.component.ts"> </file>
|
|
36
36
|
* </example>
|
|
37
37
|
*
|
|
38
|
+
* @docsCategory directives
|
|
39
|
+
* @docsShortcut tables-lists
|
|
38
40
|
*/
|
|
39
41
|
export declare class PoDragDirective extends PoDragBaseDirective implements OnInit, OnDestroy {
|
|
40
42
|
private readonly cdkDrag;
|
|
@@ -18,6 +18,9 @@ import { PoDropListBaseDirective } from './po-drop-list-base.directive';
|
|
|
18
18
|
*
|
|
19
19
|
* > A diretiva não impõe nenhum estilo de layout (flex, grid etc.). O layout
|
|
20
20
|
* > é responsabilidade do consumidor.
|
|
21
|
+
*
|
|
22
|
+
* @docsCategory directives
|
|
23
|
+
* @docsShortcut tables-lists
|
|
21
24
|
*/
|
|
22
25
|
export declare class PoDropListDirective extends PoDropListBaseDirective implements OnInit, OnDestroy {
|
|
23
26
|
private readonly cdkDropList;
|
|
@@ -22,6 +22,8 @@ import { DomSanitizer } from '@angular/platform-browser';
|
|
|
22
22
|
* <file name="sample-po-tooltip-new-user/sample-po-tooltip-new-user.component.ts"> </file>
|
|
23
23
|
* </example>
|
|
24
24
|
*
|
|
25
|
+
* @docsCategory directives
|
|
26
|
+
* @docsShortcut overlay
|
|
25
27
|
*/
|
|
26
28
|
export declare class PoTooltipDirective extends PoTooltipBaseDirective implements OnInit, OnDestroy {
|
|
27
29
|
private readonly elementRef;
|
|
@@ -10,6 +10,8 @@ import { PoHttpInterceptorBaseService } from './po-http-interceptor-base.service
|
|
|
10
10
|
* <file name='sample-po-http-interceptor-labs.component.ts'> </file>
|
|
11
11
|
* <file name='sample-po-http-interceptor-labs.component.html'> </file>
|
|
12
12
|
* </example>
|
|
13
|
+
*
|
|
14
|
+
* @docsCategory interceptors
|
|
13
15
|
*/
|
|
14
16
|
export declare class PoHttpInterceptorService extends PoHttpInterceptorBaseService {
|
|
15
17
|
constructor(notification: PoNotificationService, componentInjector: PoComponentInjectorService, languageService: PoLanguageService);
|
|
@@ -139,6 +139,8 @@ import { PoHttpRequesControltService } from './po-http-request-control-service';
|
|
|
139
139
|
* <file name='sample-po-http-request-interceptor-labs.component.ts'> </file>
|
|
140
140
|
* <file name='sample-po-http-request-interceptor-labs.component.html'> </file>
|
|
141
141
|
* </example>
|
|
142
|
+
*
|
|
143
|
+
* @docsCategory interceptors
|
|
142
144
|
*/
|
|
143
145
|
export declare class PoHttpRequestInterceptorService implements HttpInterceptor {
|
|
144
146
|
private readonly controlHttpRequest;
|
|
@@ -21,6 +21,10 @@ import { PoDialogType } from './enums/po-dialog.enum';
|
|
|
21
21
|
* <file name="sample-po-dialog-cancel-credit-card/sample-po-dialog-cancel-credit-card.component.html"> </file>
|
|
22
22
|
* <file name="sample-po-dialog-cancel-credit-card/sample-po-dialog-cancel-credit-card.component.ts"> </file>
|
|
23
23
|
* </example>
|
|
24
|
+
*
|
|
25
|
+
* @docsCategory services
|
|
26
|
+
* @docsShortcut feedback
|
|
27
|
+
* @docsShortcut overlay
|
|
24
28
|
*/
|
|
25
29
|
export declare class PoDialogService extends PoDialogBaseService {
|
|
26
30
|
private readonly poComponentInjector;
|
|
@@ -4,6 +4,8 @@ import { PoI18nBaseService } from './po-i18n-base.service';
|
|
|
4
4
|
import { PoI18nConfig } from './interfaces/po-i18n-config.interface';
|
|
5
5
|
/**
|
|
6
6
|
* @docsExtends PoI18nBaseService
|
|
7
|
+
*
|
|
8
|
+
* @docsCategory services
|
|
7
9
|
*/
|
|
8
10
|
export declare class PoI18nService extends PoI18nBaseService {
|
|
9
11
|
constructor(configs: PoI18nConfig | Array<PoI18nConfig>, http: HttpClient, languageService: PoLanguageService);
|
|
@@ -20,6 +20,9 @@ import { PoNotificationBaseService } from './po-notification-base.service';
|
|
|
20
20
|
* <file name="sample-po-notification-sales/sample-po-notification-sales.component.html"> </file>
|
|
21
21
|
* <file name="sample-po-notification-sales/sample-po-notification-sales.component.ts"> </file>
|
|
22
22
|
* </example>
|
|
23
|
+
*
|
|
24
|
+
* @docsCategory services
|
|
25
|
+
* @docsShortcut feedback
|
|
23
26
|
*/
|
|
24
27
|
export declare class PoNotificationService extends PoNotificationBaseService {
|
|
25
28
|
private readonly poComponentInjector;
|
|
@@ -88,6 +88,12 @@ export declare const poThemeSharedBase: {
|
|
|
88
88
|
'.po-rich-text-toolbar': {
|
|
89
89
|
'border-radius': string;
|
|
90
90
|
};
|
|
91
|
+
'po-rich-text[p-size="small"] .po-rich-text-body': {
|
|
92
|
+
'border-radius': string;
|
|
93
|
+
};
|
|
94
|
+
'po-rich-text[p-size="small"] .po-rich-text-toolbar': {
|
|
95
|
+
'border-radius': string;
|
|
96
|
+
};
|
|
91
97
|
'.po-combo-clean:focus, .po-search:not([p-search-type=locate]) .po-search-button.po-search-button-clean:focus': {
|
|
92
98
|
'border-radius': string;
|
|
93
99
|
};
|
|
@@ -130,6 +136,9 @@ export declare const poThemeSharedBase: {
|
|
|
130
136
|
'po-container': {
|
|
131
137
|
'--background': string;
|
|
132
138
|
};
|
|
139
|
+
'.po-link': {
|
|
140
|
+
'text-decoration-thickness': string;
|
|
141
|
+
};
|
|
133
142
|
};
|
|
134
143
|
onRoot: {
|
|
135
144
|
'--color-page-background-color-page': string;
|
|
@@ -16,6 +16,13 @@ import { PoTheme, PoThemeActive } from './interfaces/po-theme.interface';
|
|
|
16
16
|
* O serviço também possibilita configurar a **densidade de espaçamentos**, permitindo ajustar o espaço entre e dentro dos
|
|
17
17
|
* componentes. Essa configuração pode ser utilizada com qualquer nível de acessibilidade.
|
|
18
18
|
*
|
|
19
|
+
* > **Importante:** o novo tema padrão do PO UI (EVO, `poThemeDefault`) tem duas partes: as **cores**, que vêm do CSS
|
|
20
|
+
* `po-theme-default.min.css` do `@po-ui/style`, e os **ajustes de cada componente** (raios de borda, botão `glow`,
|
|
21
|
+
* campos e outros), que são aplicados por este serviço. Para ter o tema EVO completo, basta importar o `PoModule` e
|
|
22
|
+
* carregar o CSS `po-theme-default.min.css`: o `PoModule` já inicia o `PoThemeService`, que aplica os ajustes sozinho.
|
|
23
|
+
* Use o `setTheme` para escolher o modo claro ou escuro, o nível de acessibilidade ou o tema depreciado. Se a aplicação
|
|
24
|
+
* importar só módulos de componentes, sem o `PoModule` e sem injetar este serviço, ela recebe apenas as cores do EVO.
|
|
25
|
+
*
|
|
19
26
|
* > Observação: a customização das cores de `feedback` não é recomendada por motivos de acessibilidade e usabilidade.
|
|
20
27
|
*
|
|
21
28
|
* > Para saber mais sobre como customizar o tema padrão, consulte o item
|
|
@@ -27,9 +34,9 @@ import { PoTheme, PoThemeActive } from './interfaces/po-theme.interface';
|
|
|
27
34
|
* <example name="po-theme-labs" title="PO Theme Labs">
|
|
28
35
|
* <file name="sample-po-theme-labs/sample-po-theme-labs.component.html"> </file>
|
|
29
36
|
* <file name="sample-po-theme-labs/sample-po-theme-labs.component.ts"> </file>
|
|
30
|
-
* <file name="sample-po-theme-labs/sample-po-theme-labs.constant.ts"> </file>
|
|
31
37
|
* </example>
|
|
32
38
|
*
|
|
39
|
+
* @docsCategory services
|
|
33
40
|
*/
|
|
34
41
|
export declare class PoThemeService {
|
|
35
42
|
private readonly document;
|
|
@@ -21,6 +21,8 @@ import { PoUserGuideOptions, PoUserGuideStep } from './interfaces';
|
|
|
21
21
|
* <file name="sample-po-user-guide-onboarding/sample-po-user-guide-onboarding.component.html"> </file>
|
|
22
22
|
* <file name="sample-po-user-guide-onboarding/sample-po-user-guide-onboarding.component.ts"> </file>
|
|
23
23
|
* </example>
|
|
24
|
+
*
|
|
25
|
+
* @docsCategory services
|
|
24
26
|
*/
|
|
25
27
|
export declare class PoUserGuideService extends PoUserGuideBaseService {
|
|
26
28
|
private readonly sanitizer;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@po-ui/ng-components",
|
|
3
|
-
"version": "22.0.0
|
|
3
|
+
"version": "22.0.0",
|
|
4
4
|
"description": "PO UI - Components",
|
|
5
5
|
"author": "PO UI",
|
|
6
6
|
"license": "MIT",
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@angular/cdk": "~22.2.1",
|
|
25
|
-
"@po-ui/style": "22.0.0
|
|
26
|
-
"@po-ui/ng-schematics": "22.0.0
|
|
25
|
+
"@po-ui/style": "22.0.0",
|
|
26
|
+
"@po-ui/ng-schematics": "22.0.0",
|
|
27
27
|
"driver.js": "~1.4.0",
|
|
28
28
|
"echarts": "^6.1.0",
|
|
29
29
|
"tslib": "^2.6.2"
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@angular/platform-browser": "^22",
|
|
38
38
|
"@angular/router": "^22",
|
|
39
39
|
"@angular-devkit/schematics": "^22",
|
|
40
|
-
"@po-ui/style": "22.0.0
|
|
40
|
+
"@po-ui/style": "22.0.0",
|
|
41
41
|
"rxjs": "~7.8.1",
|
|
42
42
|
"zone.js": "~0.15.0"
|
|
43
43
|
},
|
|
Binary file
|
|
@@ -18,7 +18,7 @@ function default_1(options) {
|
|
|
18
18
|
}
|
|
19
19
|
function addPoPackageAndInstall() {
|
|
20
20
|
return (tree, context) => {
|
|
21
|
-
(0, package_config_1.addPackageToPackageJson)(tree, '@po-ui/ng-components', '22.0.0
|
|
21
|
+
(0, package_config_1.addPackageToPackageJson)(tree, '@po-ui/ng-components', '22.0.0');
|
|
22
22
|
// install packages
|
|
23
23
|
context.addTask(new tasks_1.NodePackageInstallTask());
|
|
24
24
|
};
|
|
@@ -7,11 +7,11 @@ import { Rule, Tree } from '@angular-devkit/schematics';
|
|
|
7
7
|
* - Add provideZoneChangeDetection: standalone via app.config.ts, module-based via main.ts
|
|
8
8
|
*/
|
|
9
9
|
export default function (options: any): Rule;
|
|
10
|
-
export declare function addImportOnly(options: any, moduleNames: string | Array<string>, importPath: string):
|
|
10
|
+
export declare function addImportOnly(options: any, moduleNames: string | Array<string>, importPath: string): Rule;
|
|
11
11
|
export declare function addProviderToAppModule(options: any, provider: {
|
|
12
12
|
provide: string;
|
|
13
13
|
useValue: string;
|
|
14
|
-
} | string):
|
|
14
|
+
} | string): Rule;
|
|
15
15
|
export declare function addProviderToModuleProvider(tree: Tree, modulePath: string, provider: {
|
|
16
16
|
provide: string;
|
|
17
17
|
useValue: string;
|
|
@@ -6,7 +6,7 @@ const tasks_1 = require("@angular-devkit/schematics/tasks");
|
|
|
6
6
|
const package_config_1 = require("@po-ui/ng-schematics/package-config");
|
|
7
7
|
const changes_1 = require("./changes");
|
|
8
8
|
function default_1() {
|
|
9
|
-
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('22.0.0
|
|
9
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('22.0.0', changes_1.updateDepedenciesVersion), postUpdate()]);
|
|
10
10
|
}
|
|
11
11
|
function postUpdate() {
|
|
12
12
|
return (_, context) => {
|
|
@@ -11,7 +11,7 @@ const changes_1 = require("./changes");
|
|
|
11
11
|
const httpClientModuleName = 'HttpClientModule';
|
|
12
12
|
const httpClientModuleSourcePath = '@angular/common/http';
|
|
13
13
|
function default_1() {
|
|
14
|
-
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('22.0.0
|
|
14
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('22.0.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
|
|
15
15
|
}
|
|
16
16
|
function postUpdate() {
|
|
17
17
|
return (_, context) => {
|
|
@@ -6,7 +6,7 @@ const tasks_1 = require("@angular-devkit/schematics/tasks");
|
|
|
6
6
|
const package_config_1 = require("@po-ui/ng-schematics/package-config");
|
|
7
7
|
const changes_1 = require("./changes");
|
|
8
8
|
function default_1() {
|
|
9
|
-
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('22.0.0
|
|
9
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('22.0.0', changes_1.updateDepedenciesVersion), postUpdate()]);
|
|
10
10
|
}
|
|
11
11
|
function postUpdate() {
|
|
12
12
|
return (_, context) => {
|
|
@@ -6,7 +6,7 @@ const tasks_1 = require("@angular-devkit/schematics/tasks");
|
|
|
6
6
|
const package_config_1 = require("@po-ui/ng-schematics/package-config");
|
|
7
7
|
const changes_1 = require("./changes");
|
|
8
8
|
function default_1() {
|
|
9
|
-
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('22.0.0
|
|
9
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('22.0.0', changes_1.updateDepedenciesVersion), postUpdate()]);
|
|
10
10
|
}
|
|
11
11
|
function postUpdate() {
|
|
12
12
|
return (_, context) => {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Rule, Tree } from '@angular-devkit/schematics';
|
|
2
2
|
export default function (options: any): Rule;
|
|
3
|
-
export declare function addImportOnly(_: any, moduleNames: string | Array<string>, importPath: string):
|
|
3
|
+
export declare function addImportOnly(_: any, moduleNames: string | Array<string>, importPath: string): Rule;
|
|
4
4
|
export declare function addProviderToAppModule(_: any, provider: {
|
|
5
5
|
provide: string;
|
|
6
6
|
useValue: string;
|
|
7
|
-
} | string):
|
|
7
|
+
} | string): Rule;
|
|
8
8
|
export declare function addProviderToModuleProvider(tree: Tree, modulePath: string, provider: {
|
|
9
9
|
provide: string;
|
|
10
10
|
useValue: string;
|
|
@@ -40,11 +40,11 @@ function main(options) {
|
|
|
40
40
|
configureNewIcon.toLowerCase() === 'y' ||
|
|
41
41
|
configureNewIcon.toLowerCase() === 'sim' ||
|
|
42
42
|
configureNewIcon.toLowerCase() === '') {
|
|
43
|
-
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('22.0.0
|
|
43
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('22.0.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
|
|
44
44
|
}
|
|
45
45
|
else {
|
|
46
46
|
return (0, schematics_1.chain)([
|
|
47
|
-
(0, package_config_1.updatePackageJson)('22.0.0
|
|
47
|
+
(0, package_config_1.updatePackageJson)('22.0.0', changes_1.updateDepedenciesVersion),
|
|
48
48
|
addImportOnly(options, [IconsDictionaryName, poIconDictionary], poModuleSourcePath),
|
|
49
49
|
addProviderToAppModule(options, newProviderDictionary),
|
|
50
50
|
updateAppConfigFileRule(),
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Rule, Tree } from '@angular-devkit/schematics';
|
|
2
2
|
export default function (options: any): Rule;
|
|
3
|
-
export declare function addImportOnly(_: any, moduleNames: string | Array<string>, importPath: string):
|
|
3
|
+
export declare function addImportOnly(_: any, moduleNames: string | Array<string>, importPath: string): Rule;
|
|
4
4
|
export declare function addProviderToAppModule(_: any, provider: {
|
|
5
5
|
provide: string;
|
|
6
6
|
useValue: string;
|
|
7
|
-
} | string):
|
|
7
|
+
} | string): Rule;
|
|
8
8
|
export declare function addProviderToModuleProvider(tree: Tree, modulePath: string, provider: {
|
|
9
9
|
provide: string;
|
|
10
10
|
useValue: string;
|
|
@@ -40,11 +40,11 @@ function main(options) {
|
|
|
40
40
|
configureNewIcon.toLowerCase() === 'y' ||
|
|
41
41
|
configureNewIcon.toLowerCase() === 'sim' ||
|
|
42
42
|
configureNewIcon.toLowerCase() === '') {
|
|
43
|
-
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('22.0.0
|
|
43
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('22.0.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
|
|
44
44
|
}
|
|
45
45
|
else {
|
|
46
46
|
return (0, schematics_1.chain)([
|
|
47
|
-
(0, package_config_1.updatePackageJson)('22.0.0
|
|
47
|
+
(0, package_config_1.updatePackageJson)('22.0.0', changes_1.updateDepedenciesVersion),
|
|
48
48
|
addImportOnly(options, [IconsDictionaryName, poIconDictionary], poModuleSourcePath),
|
|
49
49
|
addProviderToAppModule(options, newProviderDictionary),
|
|
50
50
|
updateAppConfigFileRule(),
|
|
@@ -10,7 +10,7 @@ const package_config_1 = require("@po-ui/ng-schematics/package-config");
|
|
|
10
10
|
const changes_1 = require("./changes");
|
|
11
11
|
function updateToV2() {
|
|
12
12
|
return (0, schematics_1.chain)([
|
|
13
|
-
updatePackageJson('22.0.0
|
|
13
|
+
updatePackageJson('22.0.0', changes_1.dependeciesChanges),
|
|
14
14
|
(0, replace_1.replaceInFile)('tslint.json', changes_1.tsLintReplaces),
|
|
15
15
|
(0, replace_1.replaceInFile)('angular.json', changes_1.angularJsonReplaces),
|
|
16
16
|
createUpgradeRule(),
|