@po-ui/ng-templates 19.12.0 → 19.13.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/fesm2022/po-ui-ng-templates.mjs +24 -30
- package/fesm2022/po-ui-ng-templates.mjs.map +1 -1
- package/lib/components/po-page-change-password/po-page-change-password-base.component.d.ts +5 -5
- package/lib/components/po-page-dynamic-edit/interfaces/po-page-dynamic-edit-before-save-new.interface.d.ts +9 -9
- package/lib/components/po-page-dynamic-edit/interfaces/po-page-dynamic-edit-before-save.interface.d.ts +9 -9
- package/lib/components/po-page-dynamic-table/interfaces/po-page-dynamic-table-actions.interface.d.ts +3 -3
- package/lib/components/po-page-dynamic-table/interfaces/po-page-dynamic-table-before-remove-all.interface.d.ts +3 -3
- package/lib/components/po-page-dynamic-table/po-page-dynamic-table.component.d.ts +9 -6
- package/lib/components/po-page-login/po-page-login-base.component.d.ts +10 -10
- package/package.json +4 -4
- package/po-ui-ng-templates-19.13.0.tgz +0 -0
- package/schematics/ng-add/index.js +1 -1
- package/po-ui-ng-templates-19.12.0.tgz +0 -0
|
@@ -5,7 +5,7 @@ import { CommonModule } from '@angular/common';
|
|
|
5
5
|
import * as i5 from '@angular/forms';
|
|
6
6
|
import { FormsModule, NgForm } from '@angular/forms';
|
|
7
7
|
import * as i1 from '@po-ui/ng-components';
|
|
8
|
-
import { poLocaleDefault, poLocales, PoI18nPipe, PoFieldModule, PoModalModule, PoIconModule, poLanguageDefault, PoDividerModule, PoLogoModule, PoModule, PoModalComponent, PoDynamicModule, PoPageModule, PoWidgetModule, PoButtonModule, PoGridModule, PoDynamicFormComponent, PoDynamicFieldType, PoPageListComponent, PoLanguageModule,
|
|
8
|
+
import { poLocaleDefault, poLocales, PoI18nPipe, PoFieldModule, PoModalModule, PoIconModule, poLanguageDefault, PoDividerModule, PoLogoModule, PoModule, PoModalComponent, PoDynamicModule, PoPageModule, PoWidgetModule, PoButtonModule, PoGridModule, PoDynamicFormComponent, PoDynamicFieldType, PoPageListComponent, PoLanguageModule, PoTableColumnSortType, PoTableModule, PoStepperOrientation, PoInfoOrientation, PoStepperStatus, PoContainerModule, PoDialogModule, PoInfoModule, PoStepperModule } from '@po-ui/ng-components';
|
|
9
9
|
import * as i1$2 from '@angular/router';
|
|
10
10
|
import { RouterModule } from '@angular/router';
|
|
11
11
|
import * as i1$1 from '@angular/common/http';
|
|
@@ -2613,11 +2613,11 @@ class PoPageChangePasswordBaseComponent {
|
|
|
2613
2613
|
*
|
|
2614
2614
|
* - **String**: informe uma url externa ou uma rota válida;
|
|
2615
2615
|
* - **Function**: pode-se customizar a ação. Para esta possilidade basta atribuir:
|
|
2616
|
-
*
|
|
2617
|
-
*
|
|
2618
|
-
*
|
|
2619
|
-
*
|
|
2620
|
-
*
|
|
2616
|
+
* ```
|
|
2617
|
+
* <po-page-change-password>
|
|
2618
|
+
* [recovery]="this.myFunc.bind(this)";
|
|
2619
|
+
* </po-page-change-password>
|
|
2620
|
+
* ```
|
|
2621
2621
|
*
|
|
2622
2622
|
* - **PoPageChangePasswordRecovery**: cria-se vínculo automático com o template **po-modal-password-recovery**.
|
|
2623
2623
|
* O objeto deve conter a **url** para requisição dos recursos e pode-se definir o **tipo** de modal para recuperação de senha,
|
|
@@ -6663,7 +6663,6 @@ class PoPageDynamicTableComponent extends PoPageDynamicListBaseComponent {
|
|
|
6663
6663
|
_defaultTableActions = [];
|
|
6664
6664
|
_hideCloseDisclaimers = [];
|
|
6665
6665
|
_draggable = false;
|
|
6666
|
-
_spacing = PoTableColumnSpacing.Medium;
|
|
6667
6666
|
_virtualScroll = true;
|
|
6668
6667
|
set defaultPageActions(value) {
|
|
6669
6668
|
this._defaultPageActions = value;
|
|
@@ -6888,23 +6887,18 @@ class PoPageDynamicTableComponent extends PoPageDynamicListBaseComponent {
|
|
|
6888
6887
|
*
|
|
6889
6888
|
* @description
|
|
6890
6889
|
*
|
|
6891
|
-
*
|
|
6890
|
+
* Define o espaçamento interno das células, impactando diretamente na altura das linhas do table. Os valores
|
|
6891
|
+
* permitidos são definidos pelo enum **PoTableColumnSpacing**.
|
|
6892
6892
|
*
|
|
6893
|
-
*
|
|
6893
|
+
* > Em nível de acessibilidade **AA**, caso o valor de `p-spacing` não seja definido, o valor padrão será
|
|
6894
|
+
* > `extraSmall` nos seguintes cenários:
|
|
6895
|
+
* > - Quando o valor de `p-components-size` for `small`;
|
|
6896
|
+
* > - Quando o valor padrão dos componentes for configurado como `small` no
|
|
6897
|
+
* > [serviço de tema](https://po-ui.io/documentation/po-theme).
|
|
6894
6898
|
*
|
|
6895
6899
|
* @default `medium`
|
|
6896
6900
|
*/
|
|
6897
|
-
|
|
6898
|
-
if (value === 'small' || value === 'medium' || value === 'large') {
|
|
6899
|
-
this._spacing = value;
|
|
6900
|
-
}
|
|
6901
|
-
else {
|
|
6902
|
-
this._spacing = PoTableColumnSpacing.Medium;
|
|
6903
|
-
}
|
|
6904
|
-
}
|
|
6905
|
-
get spacing() {
|
|
6906
|
-
return this._spacing;
|
|
6907
|
-
}
|
|
6901
|
+
spacing;
|
|
6908
6902
|
/**
|
|
6909
6903
|
* @optional
|
|
6910
6904
|
*
|
|
@@ -10490,11 +10484,11 @@ class PoPageLoginBaseComponent {
|
|
|
10490
10484
|
*
|
|
10491
10485
|
* - **String**: informe uma url externa ou uma rota válida;
|
|
10492
10486
|
* - **Function**: pode-se customizar a ação. Para esta possilidade basta atribuir:
|
|
10493
|
-
*
|
|
10494
|
-
*
|
|
10495
|
-
*
|
|
10496
|
-
*
|
|
10497
|
-
*
|
|
10487
|
+
* ```
|
|
10488
|
+
* <po-page-login>
|
|
10489
|
+
* [recovery]="this.myRecovery.bind(this)">
|
|
10490
|
+
* </po-page-login>
|
|
10491
|
+
* ```
|
|
10498
10492
|
*
|
|
10499
10493
|
* - **PoPageLoginRecovery**: cria-se vínculo automático com o template **po-modal-password-recovery**.
|
|
10500
10494
|
* O objeto deve conter a **url** para requisição dos recursos e pode-se definir o **tipo** de modal para recuperação de senha,
|
|
@@ -10709,11 +10703,11 @@ class PoPageLoginBaseComponent {
|
|
|
10709
10703
|
*
|
|
10710
10704
|
* - **String**: URL externa ou uma rota válida;
|
|
10711
10705
|
* - **Function**: Função a ser disparada ao clicar no botão de suporte;
|
|
10712
|
-
*
|
|
10713
|
-
*
|
|
10714
|
-
*
|
|
10715
|
-
*
|
|
10716
|
-
*
|
|
10706
|
+
* ```
|
|
10707
|
+
* <po-page-login>
|
|
10708
|
+
* [p-support]="this.mySupport.bind(this)">
|
|
10709
|
+
* </po-page-login>
|
|
10710
|
+
* ```
|
|
10717
10711
|
*
|
|
10718
10712
|
*/
|
|
10719
10713
|
set support(value) {
|