@po-ui/ng-components 19.18.0 → 19.20.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.mjs +299 -107
- package/fesm2022/po-ui-ng-components.mjs.map +1 -1
- package/lib/components/po-chart/interfaces/po-chart-options.interface.d.ts +14 -0
- package/lib/components/po-chart/interfaces/po-chart-serie-data-label.interface.d.ts +1 -1
- package/lib/components/po-chart/interfaces/po-chart-serie.interface.d.ts +18 -0
- package/lib/components/po-chart/po-chart-grid-utils.d.ts +3 -1
- package/lib/components/po-chart/po-chart.component.d.ts +5 -0
- package/lib/components/po-dynamic/po-dynamic-form/interfaces/po-dynamic-form-field.interface.d.ts +1 -2
- package/lib/components/po-field/po-combo/po-combo-base.component.d.ts +1 -2
- package/lib/components/po-field/po-datepicker/po-datepicker.component.d.ts +6 -2
- package/lib/components/po-field/po-lookup/po-lookup-modal/po-lookup-modal-base.component.d.ts +1 -0
- package/lib/components/po-field/po-multiselect/po-multiselect-base.component.d.ts +1 -2
- package/lib/components/po-field/po-multiselect/po-multiselect.component.d.ts +1 -0
- package/lib/components/po-listbox/po-search-list/po-search-list.component.d.ts +4 -0
- package/lib/interceptors/po-http-interceptor/po-http-interceptor-base.service.d.ts +7 -2
- package/lib/services/po-i18n/index.d.ts +1 -0
- package/lib/services/po-i18n/interfaces/po-i18n-config-context.interface.d.ts +18 -0
- package/lib/services/po-i18n/interfaces/po-i18n-config.interface.d.ts +2 -1
- package/lib/services/po-i18n/po-i18n-base.service.d.ts +19 -0
- package/lib/services/po-i18n/po-i18n-config-injection-token.d.ts +1 -1
- package/lib/services/po-i18n/po-i18n.module.d.ts +1 -2
- package/lib/services/po-i18n/po-i18n.service.d.ts +3 -1
- package/lib/services/services.module.d.ts +10 -11
- package/package.json +4 -4
- package/po-ui-ng-components-19.20.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/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/po-ui-ng-components-19.18.0.tgz +0 -0
|
@@ -196,6 +196,20 @@ export interface PoChartOptions {
|
|
|
196
196
|
*
|
|
197
197
|
*/
|
|
198
198
|
descriptionChart?: string;
|
|
199
|
+
/**
|
|
200
|
+
* @optional
|
|
201
|
+
*
|
|
202
|
+
* @description
|
|
203
|
+
*
|
|
204
|
+
* Agrupa todas as séries numa única coluna ou barra por categoria. Essa propriedade sobrescreve a propriedade `stackGroupName` da interface `PoChartSerie`
|
|
205
|
+
*
|
|
206
|
+
* > Válido para gráfico do tipo `Column` e `Bar`.
|
|
207
|
+
*
|
|
208
|
+
* > Essa propriedade habilita a propriedade `p-data-label` por padrão, podendo ser desabilitada passando `[p-data-label]={ fixed: false }`.
|
|
209
|
+
*
|
|
210
|
+
* @default `false`
|
|
211
|
+
*/
|
|
212
|
+
stacked?: boolean;
|
|
199
213
|
/**
|
|
200
214
|
* @optional
|
|
201
215
|
*
|
|
@@ -19,7 +19,7 @@ export interface PoChartDataLabel {
|
|
|
19
19
|
* - O *tooltip* não será exibido.
|
|
20
20
|
* - As outras séries ficarão com opacidade reduzida ao passar o mouse sobre a série ativa.
|
|
21
21
|
*
|
|
22
|
-
* > Disponível
|
|
22
|
+
* > Disponível para os tipo de gráfico `PoChartType.Line`, `PoChartType.Area`, `PoChartType.Column` e `PoChartType.Bar`.
|
|
23
23
|
*/
|
|
24
24
|
fixed?: boolean;
|
|
25
25
|
}
|
|
@@ -87,4 +87,22 @@ export interface PoChartSerie {
|
|
|
87
87
|
* > Propriedade válida para gráfico do tipo `Gauge`.
|
|
88
88
|
*/
|
|
89
89
|
to?: number;
|
|
90
|
+
/**
|
|
91
|
+
* @optional
|
|
92
|
+
*
|
|
93
|
+
* @description
|
|
94
|
+
*
|
|
95
|
+
* Agrupa as séries em barras ou colunas que receberem o mesmo `stackGroupName`. Exemplo:
|
|
96
|
+
* - Serie A: `{ data: 500, stackGroupName: 'group1' ... }`;
|
|
97
|
+
* - Série B: `{ data: 200, stackGroupName: 'group1' ... }`.
|
|
98
|
+
* - Série C: `{ data: 100, stackGroupName: 'group2' ... }`.
|
|
99
|
+
* - Série D: `{ data: 400, stackGroupName: 'group2' ... }`.
|
|
100
|
+
*
|
|
101
|
+
* Nesse caso será criado duas barras ou colunas com duas series agrupadas em cada uma por categoria.
|
|
102
|
+
* > Válido para gráfico do tipo `Column` e `Bar`. Essa propriedade é ignorada caso a propriedade `stacked` da interface `PoChartOptions` esteja como `true`.
|
|
103
|
+
*
|
|
104
|
+
* > Essa propriedade habilita a propriedade `p-data-label` por padrão, podendo ser desabilitada passando `[p-data-label]={ fixed: false }`.
|
|
105
|
+
*
|
|
106
|
+
*/
|
|
107
|
+
stackGroupName?: string;
|
|
90
108
|
}
|
|
@@ -2,7 +2,8 @@ import { PoChartComponent } from './po-chart.component';
|
|
|
2
2
|
import { PoChartType } from '../po-chart/enums/po-chart-type.enum';
|
|
3
3
|
export declare class PoChartGridUtils {
|
|
4
4
|
private readonly component;
|
|
5
|
-
|
|
5
|
+
isTypeDonut: boolean;
|
|
6
|
+
textCenterDonut: {};
|
|
6
7
|
constructor(component: PoChartComponent);
|
|
7
8
|
setGridOption(options: any): void;
|
|
8
9
|
setOptionsAxis(options: any): void;
|
|
@@ -13,6 +14,7 @@ export declare class PoChartGridUtils {
|
|
|
13
14
|
setSerieTypeBarColumn(serie: any, color: string): void;
|
|
14
15
|
setSerieTypeDonutPie(serie: any, color: string): void;
|
|
15
16
|
setListTypeDonutPie(type: PoChartType): void;
|
|
17
|
+
private setTextCenterDonut;
|
|
16
18
|
private getAdjustedRadius;
|
|
17
19
|
private normalizeToPercentage;
|
|
18
20
|
resolvePx(size: string, selector?: string): number;
|
|
@@ -30,6 +30,11 @@ import * as i0 from "@angular/core";
|
|
|
30
30
|
* <file name="sample-po-chart-coffee-ranking/sample-po-chart-coffee-ranking.component.ts"> </file>
|
|
31
31
|
* </example>
|
|
32
32
|
*
|
|
33
|
+
* <example name="po-chart-stacked" title="PO Chart - Stacked">
|
|
34
|
+
* <file name="sample-po-chart-stacked/sample-po-chart-stacked.component.html"> </file>
|
|
35
|
+
* <file name="sample-po-chart-stacked/sample-po-chart-stacked.component.ts"> </file>
|
|
36
|
+
* </example>
|
|
37
|
+
*
|
|
33
38
|
* <example name="po-chart-summary" title="PO Chart - Summary">
|
|
34
39
|
* <file name="sample-po-chart-summary/sample-po-chart-summary.component.html"> </file>
|
|
35
40
|
* <file name="sample-po-chart-summary/sample-po-chart-summary.component.ts"> </file>
|
package/lib/components/po-dynamic/po-dynamic-form/interfaces/po-dynamic-form-field.interface.d.ts
CHANGED
|
@@ -34,8 +34,7 @@ export interface PoDynamicFormField extends PoDynamicField {
|
|
|
34
34
|
* página e não dentro do componente. Essa opção é necessária para cenários com containers que possuem scroll ou
|
|
35
35
|
* overflow escondido, garantindo o posicionamento correto de ambos próximo ao elemento.
|
|
36
36
|
*
|
|
37
|
-
* >
|
|
38
|
-
* Quando utilizado com `p-additional-help-tooltip`, leitores de tela como o NVDA podem não ler o conteúdo do tooltip.
|
|
37
|
+
* > Quando utilizado com `p-additional-help-tooltip`, leitores de tela como o NVDA podem não ler o conteúdo do tooltip.
|
|
39
38
|
*/
|
|
40
39
|
appendBox?: boolean;
|
|
41
40
|
/**
|
|
@@ -573,8 +573,7 @@ export declare abstract class PoComboBaseComponent implements ControlValueAccess
|
|
|
573
573
|
* página e não dentro do componente. Essa opção pode ser necessária em cenários com containers que possuem scroll ou
|
|
574
574
|
* overflow escondido,garantindo o posicionamento correto de ambos próximo ao elemento.
|
|
575
575
|
*
|
|
576
|
-
* >
|
|
577
|
-
* `p-additional-help-tooltip`, leitores de tela como o NVDA podem não ler o conteúdo do tooltip.
|
|
576
|
+
* > Quando utilizado com `p-additional-help-tooltip`, leitores de tela como o NVDA podem não ler o conteúdo do tooltip.
|
|
578
577
|
*
|
|
579
578
|
* @default `false`
|
|
580
579
|
*/
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { AfterViewInit, ChangeDetectorRef, ElementRef, OnDestroy, Renderer2 } from '@angular/core';
|
|
2
2
|
import { PoControlPositionService } from './../../../services/po-control-position/po-control-position.service';
|
|
3
|
+
import { PoThemeService } from '../../../services';
|
|
3
4
|
import { PoLanguageService } from '../../../services/po-language/po-language.service';
|
|
4
5
|
import { PoButtonComponent } from '../../po-button/po-button.component';
|
|
5
6
|
import { PoCalendarComponent } from '../../po-calendar/po-calendar.component';
|
|
6
7
|
import { PoDatepickerBaseComponent } from './po-datepicker-base.component';
|
|
7
|
-
import { PoThemeService } from '../../../services';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
/**
|
|
10
10
|
* @docsExtends PoDatepickerBaseComponent
|
|
@@ -85,7 +85,7 @@ export declare class PoDatepickerComponent extends PoDatepickerBaseComponent imp
|
|
|
85
85
|
*/
|
|
86
86
|
focus(): void;
|
|
87
87
|
getAdditionalHelpTooltip(): string;
|
|
88
|
-
togglePicker(): void;
|
|
88
|
+
togglePicker(focusInput?: boolean): void;
|
|
89
89
|
dateSelected(): void;
|
|
90
90
|
wasClickedOnPicker(event: any): void;
|
|
91
91
|
hasInvalidClass(): boolean;
|
|
@@ -135,6 +135,10 @@ export declare class PoDatepickerComponent extends PoDatepickerBaseComponent imp
|
|
|
135
135
|
private removeListeners;
|
|
136
136
|
private setDialogPickerStyleDisplay;
|
|
137
137
|
private setCalendarPosition;
|
|
138
|
+
handleCleanKeyboardTab(event: KeyboardEvent): void;
|
|
139
|
+
private shouldHandleTab;
|
|
140
|
+
private focusCalendar;
|
|
141
|
+
onCalendarKeyDown(event: KeyboardEvent): void;
|
|
138
142
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoDatepickerComponent, never>;
|
|
139
143
|
static ɵcmp: i0.ɵɵComponentDeclaration<PoDatepickerComponent, "po-datepicker", never, { "label": { "alias": "p-label"; "required": false; }; "help": { "alias": "p-help"; "required": false; }; }, {}, never, never, false, never>;
|
|
140
144
|
}
|
package/lib/components/po-field/po-lookup/po-lookup-modal/po-lookup-modal-base.component.d.ts
CHANGED
|
@@ -124,6 +124,7 @@ export declare abstract class PoLookupModalBaseComponent implements OnDestroy, O
|
|
|
124
124
|
page: number;
|
|
125
125
|
pageSize: number;
|
|
126
126
|
searchValue: string;
|
|
127
|
+
appliedSearchValue: string;
|
|
127
128
|
tableLiterals: any;
|
|
128
129
|
advancedFilterModalTitle: string;
|
|
129
130
|
dynamicFormValue: {};
|
|
@@ -204,8 +204,7 @@ export declare abstract class PoMultiselectBaseComponent implements ControlValue
|
|
|
204
204
|
* página e não dentro do componente. Essa opção pode ser necessária em cenários com containers que possuem scroll ou
|
|
205
205
|
* overflow escondido, garantindo o posicionamento correto de ambos próximo ao elemento.
|
|
206
206
|
*
|
|
207
|
-
* >
|
|
208
|
-
* `p-additional-help-tooltip`, leitores de tela como o NVDA podem não ler o conteúdo do tooltip.
|
|
207
|
+
* > Quando utilizado com `p-additional-help-tooltip`, leitores de tela como o NVDA podem não ler o conteúdo do tooltip.
|
|
209
208
|
*
|
|
210
209
|
* @default `false`
|
|
211
210
|
*/
|
|
@@ -119,6 +119,7 @@ export declare class PoMultiselectComponent extends PoMultiselectBaseComponent i
|
|
|
119
119
|
scrollToSelectedOptions(): void;
|
|
120
120
|
setVisibleOptionsDropdown(options: any): void;
|
|
121
121
|
changeSearch(event: any): void;
|
|
122
|
+
focusOnFirstItem(): void;
|
|
122
123
|
closeTag(value: any, event: any): void;
|
|
123
124
|
/**
|
|
124
125
|
* Método que exibe `p-additionalHelpTooltip` ou executa a ação definida em `p-additionalHelp`.
|
|
@@ -19,6 +19,8 @@ export declare class PoSearchListComponent {
|
|
|
19
19
|
/** Evento que será disparado a cada tecla digitada no campo de busca. */
|
|
20
20
|
change: EventEmitter<any>;
|
|
21
21
|
private _placeholder?;
|
|
22
|
+
initUp: boolean;
|
|
23
|
+
initDown: boolean;
|
|
22
24
|
constructor(cd: ChangeDetectorRef);
|
|
23
25
|
/**
|
|
24
26
|
* @optional
|
|
@@ -37,7 +39,9 @@ export declare class PoSearchListComponent {
|
|
|
37
39
|
onChange(event: any): void;
|
|
38
40
|
setFocus(): void;
|
|
39
41
|
clean(): void;
|
|
42
|
+
resetKeys(): void;
|
|
40
43
|
isTypeof(object: any, type: any): boolean;
|
|
44
|
+
changeInitSearch(event: any): void;
|
|
41
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoSearchListComponent, never>;
|
|
42
46
|
static ɵcmp: i0.ɵɵComponentDeclaration<PoSearchListComponent, "po-search-list", never, { "literals": { "alias": "p-literals"; "required": false; }; "fieldValue": { "alias": "p-field-value"; "required": false; }; "size": { "alias": "p-size"; "required": false; }; "placeholder": { "alias": "p-placeholder"; "required": false; }; }, { "change": "p-change"; }, never, never, false, never>;
|
|
43
47
|
}
|
|
@@ -13,11 +13,13 @@ import { PoLanguageService } from '../../services/po-language/po-language.servic
|
|
|
13
13
|
* ## Configuração
|
|
14
14
|
*
|
|
15
15
|
* Para o correto funcionamento do interceptor `po-http-interceptor`, deve ser importado o `BrowserAnimationsModule` no
|
|
16
|
-
* módulo principal da sua aplicação.
|
|
16
|
+
* módulo principal da sua aplicação. Além disso, é necessário configurar o `HttpClient` para utilizar os interceptors
|
|
17
|
+
* registrados no Dependency Injection (DI) por meio da função `provideHttpClient(withInterceptorsFromDi())`.
|
|
17
18
|
*
|
|
18
19
|
* Módulo da aplicação:
|
|
19
20
|
* ```
|
|
20
21
|
* import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
|
22
|
+
* import { provideHttpClient, withInterceptorsFromDi } from '@angular/common/http';
|
|
21
23
|
* import { PoModule } from '@po-ui/ng-components';
|
|
22
24
|
* ...
|
|
23
25
|
*
|
|
@@ -32,7 +34,10 @@ import { PoLanguageService } from '../../services/po-language/po-language.servic
|
|
|
32
34
|
* AppComponent,
|
|
33
35
|
* ...
|
|
34
36
|
* ],
|
|
35
|
-
* providers: [
|
|
37
|
+
* providers: [
|
|
38
|
+
* provideHttpClient(withInterceptorsFromDi()),
|
|
39
|
+
* ...
|
|
40
|
+
* ],
|
|
36
41
|
* bootstrap: [AppComponent]
|
|
37
42
|
* })
|
|
38
43
|
* export class AppModule { }
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from './interfaces/po-i18n-config.interface';
|
|
2
|
+
export * from './interfaces/po-i18n-config-context.interface';
|
|
2
3
|
export * from './interfaces/po-i18n-config-default.interface';
|
|
3
4
|
export * from './interfaces/po-i18n-literals.interface';
|
|
4
5
|
export * from './po-i18n.pipe';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @description
|
|
3
|
+
*
|
|
4
|
+
* <a id="poI18nConfigContext"></a>
|
|
5
|
+
*
|
|
6
|
+
* Interface para a configuração dos contextos do módulo `PoI18nModule`.
|
|
7
|
+
*
|
|
8
|
+
* @usedBy PoI18nModule
|
|
9
|
+
*/
|
|
10
|
+
export interface PoI18nConfigContext {
|
|
11
|
+
[name: string]: {
|
|
12
|
+
[language: string]: {
|
|
13
|
+
[literal: string]: string;
|
|
14
|
+
};
|
|
15
|
+
} | {
|
|
16
|
+
url: string;
|
|
17
|
+
};
|
|
18
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { PoI18nConfigDefault } from './po-i18n-config-default.interface';
|
|
2
|
+
import { PoI18nConfigContext } from './po-i18n-config-context.interface';
|
|
2
3
|
/**
|
|
3
4
|
* @description
|
|
4
5
|
*
|
|
@@ -74,5 +75,5 @@ export interface PoI18nConfig {
|
|
|
74
75
|
* ```
|
|
75
76
|
* > Caso a constante contenha alguma literal que o serviço não possua será utilizado a literal da constante.
|
|
76
77
|
*/
|
|
77
|
-
contexts:
|
|
78
|
+
contexts: PoI18nConfigContext;
|
|
78
79
|
}
|
|
@@ -30,6 +30,24 @@ import * as i0 from "@angular/core";
|
|
|
30
30
|
* porém, nenhuma das propriedades são obrigatórias. Caso nenhum parâmetro seja passado, serão buscadas
|
|
31
31
|
* todas as literais do contexto definido com padrão, no idioma definido como padrão.
|
|
32
32
|
*
|
|
33
|
+
* * ## Alterações a partir da versão 19
|
|
34
|
+
* A partir da versão 19, para evitar conflitos com bibliotecas de terceiros que também utilizam i18n,
|
|
35
|
+
* é necessário passar explicitamente o contexto ao chamar `getLiterals`, garantindo a correta exibição das literais.
|
|
36
|
+
* Caso `getLiterals` seja chamado sem parâmetros, o retorno pode vir das configurações da biblioteca de terceiros.
|
|
37
|
+
*
|
|
38
|
+
* **Exemplo de chamada com contexto explícito:**
|
|
39
|
+
* ```typescript
|
|
40
|
+
* poI18nService.getLiterals({ context: 'general' }).subscribe(literals => console.log(literals));
|
|
41
|
+
* ```
|
|
42
|
+
*
|
|
43
|
+
* **Cenário de Contextos Iguais:**
|
|
44
|
+
* Caso tanto a aplicação quanto uma biblioteca de terceiros utilizem o mesmo nome de contexto,
|
|
45
|
+
* o PO UI fará um merge das literais, priorizando os valores definidos na aplicação cliente.
|
|
46
|
+
*
|
|
47
|
+
* **Recomendações:**
|
|
48
|
+
* - Sempre informar o contexto ao chamar `getLiterals` para evitar conflitos de literais.
|
|
49
|
+
* - Caso a aplicação utilize `lazy loading`, utilizar `setLanguage()` para garantir a correta configuração de idioma.
|
|
50
|
+
*
|
|
33
51
|
* Exemplos de requisição:
|
|
34
52
|
* ```
|
|
35
53
|
* literals = {};
|
|
@@ -138,6 +156,7 @@ import * as i0 from "@angular/core";
|
|
|
138
156
|
* }));
|
|
139
157
|
*
|
|
140
158
|
* });
|
|
159
|
+
*
|
|
141
160
|
* ```
|
|
142
161
|
*/
|
|
143
162
|
export declare class PoI18nBaseService {
|
|
@@ -139,7 +139,6 @@ import * as i1 from "../po-language/po-language.module";
|
|
|
139
139
|
* Para aplicações que utilizem a abordagem de módulos com carregamento *lazy loading*, caso seja
|
|
140
140
|
* definida outra configuração do `PoI18nModule`, deve-se atentar os seguintes detalhes:
|
|
141
141
|
*
|
|
142
|
-
* - Caso existam literais comuns na aplicação, estas devem ser reimportadas;
|
|
143
142
|
* - Não defina outra *default language* para este módulo. Caso for definida, será sobreposta para
|
|
144
143
|
* toda a aplicação;
|
|
145
144
|
* - Caso precise de módulos carregados via *lazy loading* com linguagens diferentes, utilize o
|
|
@@ -152,4 +151,4 @@ export declare class PoI18nModule {
|
|
|
152
151
|
static ɵmod: i0.ɵɵNgModuleDeclaration<PoI18nModule, never, [typeof i1.PoLanguageModule], never>;
|
|
153
152
|
static ɵinj: i0.ɵɵInjectorDeclaration<PoI18nModule>;
|
|
154
153
|
}
|
|
155
|
-
export declare function initializeLanguageDefault(
|
|
154
|
+
export declare function initializeLanguageDefault(configs: Array<PoI18nConfig>, languageService: PoLanguageService): () => void;
|
|
@@ -7,7 +7,9 @@ import * as i0 from "@angular/core";
|
|
|
7
7
|
* @docsExtends PoI18nBaseService
|
|
8
8
|
*/
|
|
9
9
|
export declare class PoI18nService extends PoI18nBaseService {
|
|
10
|
+
constructor(configs: PoI18nConfig | Array<PoI18nConfig>, http: HttpClient, languageService: PoLanguageService);
|
|
10
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoI18nService, never>;
|
|
11
12
|
static ɵprov: i0.ɵɵInjectableDeclaration<PoI18nService>;
|
|
12
13
|
}
|
|
13
|
-
export declare function returnPoI18nService(
|
|
14
|
+
export declare function returnPoI18nService(configs: Array<PoI18nConfig>, http: HttpClient, languageService: PoLanguageService): PoI18nService;
|
|
15
|
+
export declare function mergePoI18nConfigs(configList: Array<PoI18nConfig>): PoI18nConfig;
|
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./po-i18n/po-i18n.pipe";
|
|
3
|
-
import * as i2 from "./po-
|
|
4
|
-
import * as i3 from "./po-
|
|
5
|
-
import * as i4 from "./po-
|
|
6
|
-
import * as i5 from "./po-
|
|
7
|
-
import * as i6 from "./po-
|
|
8
|
-
import * as i7 from "./po-
|
|
9
|
-
import * as i8 from "./po-
|
|
10
|
-
import * as i9 from "./po-
|
|
11
|
-
import * as i10 from "./po-
|
|
12
|
-
import * as i11 from "./po-theme/po-theme.module";
|
|
3
|
+
import * as i2 from "./po-color-palette/po-color-palette.module";
|
|
4
|
+
import * as i3 from "./po-component-injector/po-component-injector.module";
|
|
5
|
+
import * as i4 from "./po-control-position/po-control-position.module";
|
|
6
|
+
import * as i5 from "./po-date/po-date.module";
|
|
7
|
+
import * as i6 from "./po-dialog/po-dialog.module";
|
|
8
|
+
import * as i7 from "./po-language/po-language.module";
|
|
9
|
+
import * as i8 from "./po-media-query/po-media-query.module";
|
|
10
|
+
import * as i9 from "./po-notification/po-notification.module";
|
|
11
|
+
import * as i10 from "./po-theme/po-theme.module";
|
|
13
12
|
export declare class PoServicesModule {
|
|
14
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoServicesModule, never>;
|
|
15
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PoServicesModule, [typeof i1.PoI18nPipe], [typeof i2.
|
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PoServicesModule, [typeof i1.PoI18nPipe], [typeof i2.PoColorPaletteModule, typeof i3.PoComponentInjectorModule, typeof i4.PoControlPositionModule, typeof i5.PoDateTimeModule, typeof i6.PoDialogModule, typeof i7.PoLanguageModule, typeof i8.PoMediaQueryModule, typeof i9.PoNotificationModule, typeof i10.PoThemeModule], [typeof i2.PoColorPaletteModule, typeof i3.PoComponentInjectorModule, typeof i4.PoControlPositionModule, typeof i5.PoDateTimeModule, typeof i6.PoDialogModule, typeof i1.PoI18nPipe, typeof i8.PoMediaQueryModule, typeof i9.PoNotificationModule, typeof i10.PoThemeModule]>;
|
|
16
15
|
static ɵinj: i0.ɵɵInjectorDeclaration<PoServicesModule>;
|
|
17
16
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@po-ui/ng-components",
|
|
3
|
-
"version": "19.
|
|
3
|
+
"version": "19.20.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": "~19.0.3",
|
|
25
|
-
"@po-ui/style": "19.
|
|
26
|
-
"@po-ui/ng-schematics": "19.
|
|
25
|
+
"@po-ui/style": "19.20.0",
|
|
26
|
+
"@po-ui/ng-schematics": "19.20.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": "^19",
|
|
39
39
|
"@angular/router": "^19",
|
|
40
40
|
"@angular-devkit/schematics": "^19",
|
|
41
|
-
"@po-ui/style": "19.
|
|
41
|
+
"@po-ui/style": "19.20.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', '19.
|
|
21
|
+
(0, package_config_1.addPackageToPackageJson)(tree, '@po-ui/ng-components', '19.20.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)('19.
|
|
9
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.20.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)('19.
|
|
14
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.20.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)('19.
|
|
9
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.20.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)('19.
|
|
9
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.20.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)('19.
|
|
43
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.20.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
|
|
44
44
|
}
|
|
45
45
|
else {
|
|
46
46
|
return (0, schematics_1.chain)([
|
|
47
|
-
(0, package_config_1.updatePackageJson)('19.
|
|
47
|
+
(0, package_config_1.updatePackageJson)('19.20.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)('19.
|
|
43
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.20.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
|
|
44
44
|
}
|
|
45
45
|
else {
|
|
46
46
|
return (0, schematics_1.chain)([
|
|
47
|
-
(0, package_config_1.updatePackageJson)('19.
|
|
47
|
+
(0, package_config_1.updatePackageJson)('19.20.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('19.
|
|
13
|
+
updatePackageJson('19.20.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(),
|
|
@@ -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)('19.
|
|
10
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.20.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)('19.
|
|
10
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.20.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)('19.
|
|
10
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.20.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)('19.
|
|
9
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.20.0', changes_1.updateDepedenciesVersion), postUpdate()]);
|
|
10
10
|
}
|
|
11
11
|
function postUpdate() {
|
|
12
12
|
return (_, context) => {
|
|
Binary file
|