@po-ui/ng-components 21.11.0 → 21.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-components-po-chart-modal-table.component-CKJDZQRS.mjs → po-ui-ng-components-po-chart-modal-table.component-BPYsbMKd.mjs} +4 -4
- package/fesm2022/{po-ui-ng-components-po-chart-modal-table.component-CKJDZQRS.mjs.map → po-ui-ng-components-po-chart-modal-table.component-BPYsbMKd.mjs.map} +1 -1
- package/fesm2022/po-ui-ng-components.mjs +2826 -1478
- package/fesm2022/po-ui-ng-components.mjs.map +1 -1
- package/lib/components/po-button/po-button.component.d.ts +2 -0
- package/lib/components/po-calendar/po-calendar-base.component.d.ts +3 -0
- package/lib/components/po-calendar/po-calendar-mode.enum.d.ts +3 -1
- package/lib/components/po-calendar/po-calendar.component.d.ts +22 -1
- package/lib/components/po-chart/interfaces/po-chart-options.interface.d.ts +15 -0
- package/lib/components/po-chart/po-chart-base.component.d.ts +2 -0
- package/lib/components/po-dropdown/po-dropdown-action.interface.d.ts +7 -6
- package/lib/components/po-dropdown/po-dropdown-base.component.d.ts +29 -0
- package/lib/components/po-dynamic/po-dynamic-form/interfaces/po-dynamic-form-field.interface.d.ts +89 -10
- package/lib/components/po-field/po-datepicker/po-datepicker-base.component.d.ts +30 -0
- package/lib/components/po-field/po-datepicker/po-datepicker.component.d.ts +21 -31
- package/lib/components/po-field/po-timepicker/enums/po-timepicker-iso-format.enum.d.ts +1 -1
- package/lib/components/po-field/po-timepicker/po-timepicker.component.d.ts +22 -2
- package/lib/components/po-page/index.d.ts +2 -0
- package/lib/components/po-page/interfaces/po-page-action.interface.d.ts +26 -4
- package/lib/components/po-page/po-page-content/po-page-content.component.d.ts +10 -4
- package/lib/components/po-page/po-page-default/enums/po-page-actions-layout.enum.d.ts +26 -0
- package/lib/components/po-page/po-page-default/enums/po-page-header-type.enum.d.ts +25 -0
- package/lib/components/po-page/po-page-default/po-page-default-base.component.d.ts +109 -36
- package/lib/components/po-page/po-page-default/po-page-default.component.d.ts +8 -2
- package/lib/components/po-page/po-page-header/po-page-header-base.component.d.ts +2 -0
- package/lib/components/po-page/po-page.module.d.ts +3 -2
- package/lib/components/po-popup/po-popup-action.interface.d.ts +32 -57
- package/lib/components/po-progress/enums/po-progress-shape.enum.d.ts +13 -0
- package/lib/components/po-progress/enums/po-progress-status.enum.d.ts +1 -1
- package/lib/components/po-progress/index.d.ts +1 -0
- package/lib/components/po-progress/po-progress-bar/po-progress-bar.component.d.ts +1 -0
- package/lib/components/po-progress/po-progress-base.component.d.ts +70 -0
- package/lib/components/po-progress/po-progress-circle/po-progress-circle.component.d.ts +31 -0
- package/lib/components/po-progress/po-progress.component.d.ts +19 -2
- package/lib/components/po-timer/po-timer-base.component.d.ts +5 -0
- package/lib/components/po-timer/po-timer.component.d.ts +25 -9
- package/lib/services/po-theme/helpers/types/po-theme-dark-defaults-AA.constant.d.ts +1 -1
- package/lib/services/po-theme/helpers/types/po-theme-dark-defaults.constant.d.ts +1 -1
- package/package.json +4 -4
- package/po-ui-ng-components-21.13.0.tgz +0 -0
- package/schematics/ng-add/index.js +1 -1
- 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.js +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.js +2 -2
- package/schematics/ng-update/v21/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 +656 -178
- package/po-ui-ng-components-21.11.0.tgz +0 -0
|
@@ -25,9 +25,22 @@ import { PoProgressAction } from './interfaces';
|
|
|
25
25
|
* | **po-progress-bar** | | |
|
|
26
26
|
* | `--background-color-tray` | Cor do background | `var(--color-brand-01-lightest)` |
|
|
27
27
|
* | `--background-color-indicator` | Cor do background do indicador | `var(--color-action-default)` |
|
|
28
|
+
* | **po-progress-circle** | | |
|
|
29
|
+
* | `--background-color-tray` | Cor do background | `var(--color-brand-01-lightest)` |
|
|
30
|
+
* | `--background-color-indicator` | Cor do background do indicador | `var(--color-action-default)` |
|
|
28
31
|
*
|
|
29
32
|
*/
|
|
30
33
|
export declare class PoProgressBaseComponent {
|
|
34
|
+
/**
|
|
35
|
+
* @optional
|
|
36
|
+
*
|
|
37
|
+
* @description
|
|
38
|
+
*
|
|
39
|
+
* Define um nome acessível para o elemento com `role="progressbar"`.
|
|
40
|
+
*
|
|
41
|
+
* Quando não informado, o componente utiliza o valor de `p-text` como alternativa, se disponível.
|
|
42
|
+
*/
|
|
43
|
+
ariaLabel?: string;
|
|
31
44
|
/**
|
|
32
45
|
* @optional
|
|
33
46
|
*
|
|
@@ -38,6 +51,8 @@ export declare class PoProgressBaseComponent {
|
|
|
38
51
|
* > Se nenhuma função for passada para o evento `(p-cancel)` ou a barra de progresso estiver com o status `PoProgressStatus.Success`,
|
|
39
52
|
* o ícone de cancelamento não será exibido.
|
|
40
53
|
*
|
|
54
|
+
* > Não compatível com `p-shape="circle"`.
|
|
55
|
+
*
|
|
41
56
|
* @default `false`
|
|
42
57
|
*/
|
|
43
58
|
disabledCancel: boolean;
|
|
@@ -47,6 +62,8 @@ export declare class PoProgressBaseComponent {
|
|
|
47
62
|
* @description
|
|
48
63
|
*
|
|
49
64
|
* Informação adicional que aparecerá abaixo da barra de progresso ao lado direito.
|
|
65
|
+
*
|
|
66
|
+
* > Não compatível com `p-shape="circle"`.
|
|
50
67
|
*/
|
|
51
68
|
info?: string;
|
|
52
69
|
/**
|
|
@@ -57,6 +74,8 @@ export declare class PoProgressBaseComponent {
|
|
|
57
74
|
* Ícone que aparecerá ao lado do texto da propriedade `p-info`.
|
|
58
75
|
*
|
|
59
76
|
* Exemplo: `an an-check`.
|
|
77
|
+
*
|
|
78
|
+
* > Não compatível com `p-shape="circle"`.
|
|
60
79
|
*/
|
|
61
80
|
infoIcon?: string | TemplateRef<void>;
|
|
62
81
|
/**
|
|
@@ -76,6 +95,8 @@ export declare class PoProgressBaseComponent {
|
|
|
76
95
|
* @description
|
|
77
96
|
*
|
|
78
97
|
* Texto principal que aparecerá abaixo da barra de progresso no lado esquerdo.
|
|
98
|
+
*
|
|
99
|
+
* > Não compatível com `p-shape="circle"`.
|
|
79
100
|
*/
|
|
80
101
|
text?: string;
|
|
81
102
|
/**
|
|
@@ -92,6 +113,8 @@ export declare class PoProgressBaseComponent {
|
|
|
92
113
|
* - **`disabled`**: Indica se o botão deve estar desabilitado (opcional).
|
|
93
114
|
* - **`visible`**: Determina se o botão será exibido. Pode ser um valor booleano ou uma função que retorna um booleano (opcional).
|
|
94
115
|
*
|
|
116
|
+
* > Não compatível com `p-shape="circle"`.
|
|
117
|
+
*
|
|
95
118
|
* @example
|
|
96
119
|
* **Exemplo de uso:**
|
|
97
120
|
* ```html
|
|
@@ -128,6 +151,8 @@ export declare class PoProgressBaseComponent {
|
|
|
128
151
|
* Evento emitido quando o botão definido em `p-custom-action` é clicado. Este evento retorna informações
|
|
129
152
|
* relacionadas à barra de progresso ou ao arquivo/processo associado, permitindo executar ações específicas.
|
|
130
153
|
*
|
|
154
|
+
* > Não compatível com `p-shape="circle"`.
|
|
155
|
+
*
|
|
131
156
|
* @example
|
|
132
157
|
* **Exemplo de uso:**
|
|
133
158
|
*
|
|
@@ -168,6 +193,8 @@ export declare class PoProgressBaseComponent {
|
|
|
168
193
|
*
|
|
169
194
|
* > Se nenhuma função for passada para o evento ou a barra de progresso estiver com o status `PoProgressStatus.Success`,
|
|
170
195
|
* o ícone de cancelamento não será exibido.
|
|
196
|
+
*
|
|
197
|
+
* > Não compatível com `p-shape="circle"`.
|
|
171
198
|
*/
|
|
172
199
|
cancel: EventEmitter<any>;
|
|
173
200
|
/**
|
|
@@ -179,6 +206,8 @@ export declare class PoProgressBaseComponent {
|
|
|
179
206
|
*
|
|
180
207
|
* > o ícone será exibido apenas se informar uma função neste evento e o status da barra de progresso for
|
|
181
208
|
* `PoProgressStatus.Error`.
|
|
209
|
+
*
|
|
210
|
+
* > Não compatível com `p-shape="circle"`.
|
|
182
211
|
*/
|
|
183
212
|
retry: EventEmitter<any>;
|
|
184
213
|
private _indeterminate?;
|
|
@@ -186,6 +215,43 @@ export declare class PoProgressBaseComponent {
|
|
|
186
215
|
private _size;
|
|
187
216
|
private _sizeActions;
|
|
188
217
|
private _initialSizeActions;
|
|
218
|
+
/**
|
|
219
|
+
* @optional
|
|
220
|
+
*
|
|
221
|
+
* @description
|
|
222
|
+
*
|
|
223
|
+
* Define o formato visual do componente de progresso.
|
|
224
|
+
*
|
|
225
|
+
* Valores válidos:
|
|
226
|
+
* - `bar`: exibe o progresso em formato de barra.
|
|
227
|
+
* - `circle`: exibe o progresso em formato circular.
|
|
228
|
+
*
|
|
229
|
+
* @example
|
|
230
|
+
* ```html
|
|
231
|
+
* <po-progress p-shape="circle" [p-value]="50"></po-progress>
|
|
232
|
+
* ```
|
|
233
|
+
*
|
|
234
|
+
* @default `bar`
|
|
235
|
+
*/
|
|
236
|
+
shape: import("@angular/core").InputSignalWithTransform<string, string>;
|
|
237
|
+
/**
|
|
238
|
+
* @optional
|
|
239
|
+
*
|
|
240
|
+
* @description
|
|
241
|
+
*
|
|
242
|
+
* Define o raio do círculo SVG em pixels. Permite ao usuário customizar o tamanho
|
|
243
|
+
* do indicador circular ao utilizar `p-shape="circle"`.
|
|
244
|
+
*
|
|
245
|
+
* > O valor mínimo aceito é **24**.
|
|
246
|
+
*
|
|
247
|
+
* > Quando não informado, o componente calcula o raio automaticamente a partir do container pai.
|
|
248
|
+
* Caso o container pai não possua dimensões definidas, o valor padrão de **45** será utilizado.
|
|
249
|
+
*
|
|
250
|
+
* > Não compatível com `p-shape="bar"`.
|
|
251
|
+
*
|
|
252
|
+
* @default `45` (automático)
|
|
253
|
+
*/
|
|
254
|
+
radius: import("@angular/core").InputSignalWithTransform<number, number>;
|
|
189
255
|
/**
|
|
190
256
|
* @optional
|
|
191
257
|
*
|
|
@@ -241,6 +307,8 @@ export declare class PoProgressBaseComponent {
|
|
|
241
307
|
* > Caso a acessibilidade AA não esteja configurada, o tamanho `medium` será mantido.
|
|
242
308
|
* Para mais detalhes, consulte a documentação do [po-theme](https://po-ui.io/documentation/po-theme).
|
|
243
309
|
*
|
|
310
|
+
* > Não compatível com `p-shape="circle"`.
|
|
311
|
+
*
|
|
244
312
|
* @default `medium`
|
|
245
313
|
*/
|
|
246
314
|
set sizeActions(value: string);
|
|
@@ -252,6 +320,8 @@ export declare class PoProgressBaseComponent {
|
|
|
252
320
|
*
|
|
253
321
|
* Ativa a exibição da porcentagem atual da barra de progresso.
|
|
254
322
|
*
|
|
323
|
+
* > Se utilizada no `p-shape="circle"` e o status estiver como `error`, a porcentagem não será exibida.
|
|
324
|
+
*
|
|
255
325
|
* @default `false`
|
|
256
326
|
*/
|
|
257
327
|
showPercentage: boolean;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export declare class PoProgressCircleComponent {
|
|
2
|
+
indeterminate: import("@angular/core").InputSignalWithTransform<boolean, boolean>;
|
|
3
|
+
showPercentage: import("@angular/core").InputSignalWithTransform<boolean, boolean>;
|
|
4
|
+
size: import("@angular/core").InputSignalWithTransform<string, string>;
|
|
5
|
+
status: import("@angular/core").InputSignalWithTransform<string, string>;
|
|
6
|
+
ariaLabelInput: import("@angular/core").InputSignal<string>;
|
|
7
|
+
ariaLabel: import("@angular/core").Signal<string>;
|
|
8
|
+
value: import("@angular/core").InputSignal<number>;
|
|
9
|
+
radius: import("@angular/core").InputSignal<number>;
|
|
10
|
+
parentSize: import("@angular/core").InputSignal<number>;
|
|
11
|
+
strokeWidth: import("@angular/core").Signal<4 | 8>;
|
|
12
|
+
/**
|
|
13
|
+
* Raio base calculado de acordo com as regras de prioridade:
|
|
14
|
+
*
|
|
15
|
+
* 1. Se `radius > 0` (usuário informou radius explicitamente):
|
|
16
|
+
* - Se o pai tem dimensão: limita ao máximo que cabe no pai (evita estouro)
|
|
17
|
+
* - Se o pai não tem dimensão: usa o radius informado diretamente
|
|
18
|
+
*
|
|
19
|
+
* 2. Se `radius === 0` (usuário NÃO informou radius):
|
|
20
|
+
* - Se o pai tem dimensão: ocupa o máximo disponível no pai
|
|
21
|
+
* - Se o pai não tem dimensão: usa o default de 45
|
|
22
|
+
*/
|
|
23
|
+
baseRadius: import("@angular/core").Signal<number>;
|
|
24
|
+
hasCenterContent: import("@angular/core").Signal<boolean>;
|
|
25
|
+
effectiveRadius: import("@angular/core").Signal<number>;
|
|
26
|
+
viewBoxSize: import("@angular/core").Signal<number>;
|
|
27
|
+
center: import("@angular/core").Signal<number>;
|
|
28
|
+
circumference: import("@angular/core").Signal<number>;
|
|
29
|
+
dashOffset: import("@angular/core").Signal<number>;
|
|
30
|
+
naturalSize: import("@angular/core").Signal<string>;
|
|
31
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { PoProgressBaseComponent } from './po-progress-base.component';
|
|
3
3
|
/**
|
|
4
4
|
* @docsExtends PoProgressBaseComponent
|
|
@@ -19,20 +19,37 @@ import { PoProgressBaseComponent } from './po-progress-base.component';
|
|
|
19
19
|
* <file name="sample-po-progress-publication/sample-po-progress-publication.component.html"> </file>
|
|
20
20
|
* <file name="sample-po-progress-publication/sample-po-progress-publication.component.ts"> </file>
|
|
21
21
|
* </example>
|
|
22
|
+
*
|
|
23
|
+
* <example name="po-progress-circle" title="PO Progress Circle">
|
|
24
|
+
* <file name="sample-po-progress-circle/sample-po-progress-circle.component.html"> </file>
|
|
25
|
+
* <file name="sample-po-progress-circle/sample-po-progress-circle.component.ts"> </file>
|
|
26
|
+
* <file name="sample-po-progress-circle/sample-po-progress-circle.component.css"> </file>
|
|
27
|
+
* </example>
|
|
28
|
+
*
|
|
22
29
|
*/
|
|
23
|
-
export declare class PoProgressComponent extends PoProgressBaseComponent implements OnInit {
|
|
30
|
+
export declare class PoProgressComponent extends PoProgressBaseComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
24
31
|
language: any;
|
|
25
32
|
literals: any;
|
|
33
|
+
private readonly elementRef;
|
|
34
|
+
private resizeObserver?;
|
|
35
|
+
private observeTarget;
|
|
26
36
|
get isAllowCancel(): boolean;
|
|
27
37
|
get isAllowInfoError(): boolean;
|
|
28
38
|
get isAllowRetry(): boolean;
|
|
29
39
|
get statusClass(): string;
|
|
30
40
|
private readonly poLanguageService;
|
|
31
41
|
private readonly router;
|
|
42
|
+
parentSize: import("@angular/core").WritableSignal<number>;
|
|
32
43
|
ngOnInit(): void;
|
|
44
|
+
ngAfterViewInit(): void;
|
|
45
|
+
ngOnDestroy(): void;
|
|
33
46
|
emitCancellation(): void;
|
|
34
47
|
emitRetry(): void;
|
|
35
48
|
actionIsDisabled(action: any): any;
|
|
36
49
|
callAction(): void;
|
|
37
50
|
isActionVisible(action: any): any;
|
|
51
|
+
private hasExplicitHeight;
|
|
52
|
+
private hasAllocatedHeight;
|
|
53
|
+
private measureAndSetParentSize;
|
|
54
|
+
private findConstrainedAncestor;
|
|
38
55
|
}
|
|
@@ -226,6 +226,11 @@ export declare class PoTimerBaseComponent implements ControlValueAccessor {
|
|
|
226
226
|
protected formatValue(value: number): string;
|
|
227
227
|
/** Verifica se uma hora está desabilitada com base nos limites min/max. */
|
|
228
228
|
protected isHourDisabled(hour: number): boolean;
|
|
229
|
+
/**
|
|
230
|
+
* Verifica se um período (AM/PM) está completamente desabilitado.
|
|
231
|
+
* Retorna `true` quando todas as horas do período estão fora do range min/max.
|
|
232
|
+
*/
|
|
233
|
+
protected isPeriodDisabled(targetPeriod: string): boolean;
|
|
229
234
|
/** Verifica se um minuto está desabilitado com base nos limites min/max e hora selecionada. */
|
|
230
235
|
protected isMinuteDisabled(minute: number): boolean;
|
|
231
236
|
/** Verifica se um segundo está desabilitado com base nos limites min/max, hora e minuto selecionados. */
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AfterViewInit, AfterViewChecked, ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, QueryList, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { PoButtonComponent } from '../po-button/po-button.component';
|
|
2
3
|
import { PoTimerBaseComponent } from './po-timer-base.component';
|
|
3
4
|
/** Tipo dos eixos das colunas. */
|
|
4
5
|
type PoTimerColumnType = 'hour' | 'minute' | 'second' | 'period';
|
|
@@ -30,10 +31,10 @@ type PoTimerColumnType = 'hour' | 'minute' | 'second' | 'period';
|
|
|
30
31
|
* </example>
|
|
31
32
|
*/
|
|
32
33
|
export declare class PoTimerComponent extends PoTimerBaseComponent implements OnInit, OnChanges, AfterViewInit, AfterViewChecked, OnDestroy {
|
|
33
|
-
hourCells: QueryList<
|
|
34
|
-
minuteCells: QueryList<
|
|
35
|
-
secondCells: QueryList<
|
|
36
|
-
periodCells: QueryList<
|
|
34
|
+
hourCells: QueryList<PoButtonComponent>;
|
|
35
|
+
minuteCells: QueryList<PoButtonComponent>;
|
|
36
|
+
secondCells: QueryList<PoButtonComponent>;
|
|
37
|
+
periodCells: QueryList<PoButtonComponent>;
|
|
37
38
|
hourItemsRefs: QueryList<ElementRef<HTMLElement>>;
|
|
38
39
|
minuteItemsRefs: QueryList<ElementRef<HTMLElement>>;
|
|
39
40
|
secondItemsRefs: QueryList<ElementRef<HTMLElement>>;
|
|
@@ -68,6 +69,8 @@ export declare class PoTimerComponent extends PoTimerBaseComponent implements On
|
|
|
68
69
|
activeDescendantIds: Record<PoTimerColumnType, string>;
|
|
69
70
|
disabledMinuteCache: Set<number>;
|
|
70
71
|
disabledSecondCache: Set<number>;
|
|
72
|
+
private ariaSyncNeeded;
|
|
73
|
+
private cachedCellPairs;
|
|
71
74
|
constructor();
|
|
72
75
|
ngOnInit(): void;
|
|
73
76
|
ngOnChanges(changes: SimpleChanges): void;
|
|
@@ -139,7 +142,10 @@ export declare class PoTimerComponent extends PoTimerBaseComponent implements On
|
|
|
139
142
|
* o foco diretamente pois nao usam o padrao de roving focus.
|
|
140
143
|
*/
|
|
141
144
|
private getVisibleColumnTypes;
|
|
142
|
-
private
|
|
145
|
+
private updateAllCachedCellPairs;
|
|
146
|
+
private subscribeToCellChanges;
|
|
147
|
+
private updateCachedCellPairs;
|
|
148
|
+
private markAriaSyncNeeded;
|
|
143
149
|
/** Atualiza aria-activedescendant para o indice focado no displayArray. */
|
|
144
150
|
private updateActiveDescendant;
|
|
145
151
|
/**
|
|
@@ -186,16 +192,26 @@ export declare class PoTimerComponent extends PoTimerBaseComponent implements On
|
|
|
186
192
|
* ele substitui o item equivalente na secao fixa para manter exatamente
|
|
187
193
|
* sourceLength itens com role="option".
|
|
188
194
|
*
|
|
189
|
-
*
|
|
190
|
-
* (
|
|
191
|
-
*
|
|
195
|
+
* Todos os botoes nativos recebem os atributos ARIA corretos
|
|
196
|
+
* (role, aria-selected, aria-setsize, aria-posinset) propagados
|
|
197
|
+
* dos data-attributes do host <po-button>.
|
|
198
|
+
*
|
|
199
|
+
* Nao usa `inert` — o infinity scroll repete o array 3x e marcar
|
|
200
|
+
* secoes como inert causava botoes desabilitados durante transicoes
|
|
201
|
+
* de scroll. Em vez disso, duplicatas recebem role="none" e
|
|
202
|
+
* aria-hidden="true" no <button> nativo para que NVDA nao as conte,
|
|
203
|
+
* mas permanecem clicaveis visualmente.
|
|
204
|
+
*
|
|
205
|
+
* A secao canonica e determinada pela secao do item focado,
|
|
206
|
+
* garantindo que exatamente sourceLength itens tenham role="option".
|
|
192
207
|
*/
|
|
193
208
|
private syncAriaToNativeButtons;
|
|
194
209
|
/**
|
|
195
210
|
* Determina se um item do displayArray e canonico para fins de ARIA.
|
|
196
211
|
*
|
|
197
212
|
* - Sem infinity scroll: todos sao canonicos.
|
|
198
|
-
* - Com infinity scroll:
|
|
213
|
+
* - Com infinity scroll: apenas itens na secao canonica (determinada
|
|
214
|
+
* pelo offset visivel) recebem role="option".
|
|
199
215
|
*/
|
|
200
216
|
private isCanonicalDisplayItem;
|
|
201
217
|
/**
|
|
@@ -38,7 +38,7 @@ declare const poThemeDefaultDarkValuesAA: {
|
|
|
38
38
|
'po-container': {
|
|
39
39
|
'--background': string;
|
|
40
40
|
};
|
|
41
|
-
'div.po-lookup-filter-content input.po-input, input.po-input, po-datepicker, po-datepicker-range, po-decimal, po-email, po-input, po-login, po-lookup, po-number, po-password, po-url, po-combo, po-search, po-select, po-multiselect': {
|
|
41
|
+
'div.po-lookup-filter-content input.po-input, input.po-input, po-datepicker, po-datepicker-range, po-decimal, po-email, po-input, po-login, po-lookup, po-number, po-password, po-url, po-combo, po-search, po-select, po-multiselect, po-timepicker': {
|
|
42
42
|
'--background-disabled': string;
|
|
43
43
|
};
|
|
44
44
|
'po-input input:-webkit-autofill, po-datepicker input:-webkit-autofill, po-datepicker-range input:-webkit-autofill, po-decimal input:-webkit-autofill, po-email input:-webkit-autofill, po-input input:-webkit-autofill, po-login input:-webkit-autofill, po-lookup input:-webkit-autofill, po-number input:-webkit-autofill, po-password input:-webkit-autofill, po-url input:-webkit-autofill, po-combo input:-webkit-autofill': {
|
|
@@ -56,7 +56,7 @@ declare const poThemeDefaultDarkValues: {
|
|
|
56
56
|
'po-container': {
|
|
57
57
|
'--background': string;
|
|
58
58
|
};
|
|
59
|
-
'div.po-lookup-filter-content input.po-input, input.po-input, po-datepicker, po-datepicker-range, po-decimal, po-email, po-input, po-login, po-lookup, po-number, po-password, po-url, po-combo, po-search, po-select, po-multiselect': {
|
|
59
|
+
'div.po-lookup-filter-content input.po-input, input.po-input, po-datepicker, po-datepicker-range, po-decimal, po-email, po-input, po-login, po-lookup, po-number, po-password, po-url, po-combo, po-search, po-select, po-multiselect, po-timepicker': {
|
|
60
60
|
'--background-disabled': string;
|
|
61
61
|
};
|
|
62
62
|
'po-input input:-webkit-autofill, po-datepicker input:-webkit-autofill, po-datepicker-range input:-webkit-autofill, po-decimal input:-webkit-autofill, po-email input:-webkit-autofill, po-input input:-webkit-autofill, po-login input:-webkit-autofill, po-lookup input:-webkit-autofill, po-number input:-webkit-autofill, po-password input:-webkit-autofill, po-url input:-webkit-autofill, po-combo input:-webkit-autofill': {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@po-ui/ng-components",
|
|
3
|
-
"version": "21.
|
|
3
|
+
"version": "21.13.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": "~21.2.4",
|
|
25
|
-
"@po-ui/style": "21.
|
|
26
|
-
"@po-ui/ng-schematics": "21.
|
|
25
|
+
"@po-ui/style": "21.13.0",
|
|
26
|
+
"@po-ui/ng-schematics": "21.13.0",
|
|
27
27
|
"echarts": "^5.6.0",
|
|
28
28
|
"tslib": "^2.6.2"
|
|
29
29
|
},
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@angular/platform-browser-dynamic": "^21",
|
|
39
39
|
"@angular/router": "^21",
|
|
40
40
|
"@angular-devkit/schematics": "^21",
|
|
41
|
-
"@po-ui/style": "21.
|
|
41
|
+
"@po-ui/style": "21.13.0",
|
|
42
42
|
"rxjs": "~7.8.1",
|
|
43
43
|
"zone.js": "~0.15.0"
|
|
44
44
|
},
|
|
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', '21.
|
|
21
|
+
(0, package_config_1.addPackageToPackageJson)(tree, '@po-ui/ng-components', '21.13.0');
|
|
22
22
|
// install packages
|
|
23
23
|
context.addTask(new tasks_1.NodePackageInstallTask());
|
|
24
24
|
};
|
|
@@ -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)('21.
|
|
9
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.13.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)('21.
|
|
14
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.13.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)('21.
|
|
9
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.13.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)('21.
|
|
9
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.13.0', changes_1.updateDepedenciesVersion), postUpdate()]);
|
|
10
10
|
}
|
|
11
11
|
function postUpdate() {
|
|
12
12
|
return (_, context) => {
|
|
@@ -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)('21.
|
|
43
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.13.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
|
|
44
44
|
}
|
|
45
45
|
else {
|
|
46
46
|
return (0, schematics_1.chain)([
|
|
47
|
-
(0, package_config_1.updatePackageJson)('21.
|
|
47
|
+
(0, package_config_1.updatePackageJson)('21.13.0', changes_1.updateDepedenciesVersion),
|
|
48
48
|
addImportOnly(options, [IconsDictionaryName, poIconDictionary], poModuleSourcePath),
|
|
49
49
|
addProviderToAppModule(options, newProviderDictionary),
|
|
50
50
|
updateAppConfigFileRule(),
|
|
@@ -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)('21.
|
|
43
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.13.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
|
|
44
44
|
}
|
|
45
45
|
else {
|
|
46
46
|
return (0, schematics_1.chain)([
|
|
47
|
-
(0, package_config_1.updatePackageJson)('21.
|
|
47
|
+
(0, package_config_1.updatePackageJson)('21.13.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('21.
|
|
13
|
+
updatePackageJson('21.13.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(),
|
|
@@ -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)('21.
|
|
43
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.13.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
|
|
44
44
|
}
|
|
45
45
|
else {
|
|
46
46
|
return (0, schematics_1.chain)([
|
|
47
|
-
(0, package_config_1.updatePackageJson)('21.
|
|
47
|
+
(0, package_config_1.updatePackageJson)('21.13.0', changes_1.updateDepedenciesVersion),
|
|
48
48
|
addImportOnly(options, [IconsDictionaryName, poIconDictionary], poModuleSourcePath),
|
|
49
49
|
addProviderToAppModule(options, newProviderDictionary),
|
|
50
50
|
updateAppConfigFileRule(),
|
|
@@ -9,7 +9,7 @@ const project_1 = require("@po-ui/ng-schematics/project");
|
|
|
9
9
|
const changes_1 = require("./changes");
|
|
10
10
|
function main() {
|
|
11
11
|
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
12
|
-
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.
|
|
12
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.13.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
|
|
13
13
|
});
|
|
14
14
|
}
|
|
15
15
|
function default_1() {
|
|
@@ -7,7 +7,7 @@ const project_1 = require("@po-ui/ng-schematics/project");
|
|
|
7
7
|
const package_config_1 = require("@po-ui/ng-schematics/package-config");
|
|
8
8
|
const changes_1 = require("./changes");
|
|
9
9
|
function updateToV3() {
|
|
10
|
-
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.
|
|
10
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.13.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
|
|
11
11
|
}
|
|
12
12
|
function postUpdate() {
|
|
13
13
|
return (_, context) => {
|
|
@@ -7,7 +7,7 @@ const project_1 = require("@po-ui/ng-schematics/project");
|
|
|
7
7
|
const package_config_1 = require("@po-ui/ng-schematics/package-config");
|
|
8
8
|
const changes_1 = require("./changes");
|
|
9
9
|
function default_1() {
|
|
10
|
-
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.
|
|
10
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.13.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
|
|
11
11
|
}
|
|
12
12
|
function postUpdate() {
|
|
13
13
|
return (_, context) => {
|
|
@@ -7,7 +7,7 @@ const project_1 = require("@po-ui/ng-schematics/project");
|
|
|
7
7
|
const package_config_1 = require("@po-ui/ng-schematics/package-config");
|
|
8
8
|
const changes_1 = require("./changes");
|
|
9
9
|
function default_1() {
|
|
10
|
-
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.
|
|
10
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.13.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
|
|
11
11
|
}
|
|
12
12
|
function postUpdate() {
|
|
13
13
|
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)('21.
|
|
9
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.13.0', changes_1.updateDepedenciesVersion), postUpdate()]);
|
|
10
10
|
}
|
|
11
11
|
function postUpdate() {
|
|
12
12
|
return (_, context) => {
|