@po-ui/ng-components 21.17.0 → 21.19.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-BkH0bb8j.mjs → po-ui-ng-components-po-chart-modal-table.component-CzvA7U-U.mjs} +4 -4
- package/fesm2022/{po-ui-ng-components-po-chart-modal-table.component-BkH0bb8j.mjs.map → po-ui-ng-components-po-chart-modal-table.component-CzvA7U-U.mjs.map} +1 -1
- package/fesm2022/po-ui-ng-components.mjs +14353 -11386
- package/fesm2022/po-ui-ng-components.mjs.map +1 -1
- package/lib/components/po-calendar/po-calendar-base.component.d.ts +54 -44
- package/lib/components/po-calendar/po-calendar-mode.enum.d.ts +2 -1
- package/lib/components/po-calendar/po-calendar.component.d.ts +7 -2
- package/lib/components/po-calendar/services/po-calendar.service.d.ts +1 -0
- package/lib/components/po-dynamic/po-dynamic-form/interfaces/po-dynamic-form-field.interface.d.ts +28 -8
- package/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-fields/po-dynamic-form-fields-base.component.d.ts +7 -0
- package/lib/components/po-field/index.d.ts +2 -0
- package/lib/components/po-field/po-datetimepicker/po-datetimepicker-base.component.d.ts +509 -0
- package/lib/components/po-field/po-datetimepicker/po-datetimepicker.component.d.ts +130 -0
- package/lib/components/po-field/po-datetimepicker/po-datetimepicker.literals.d.ts +42 -0
- package/lib/components/po-field/po-datetimepicker/po-datetimepicker.module.d.ts +7 -0
- package/lib/components/po-field/po-field.module.d.ts +1 -1
- package/lib/components/po-timer/po-timer.component.d.ts +2 -2
- package/lib/services/index.d.ts +1 -0
- package/lib/services/po-theme/helpers/types/po-theme-dark-defaults-AA.constant.d.ts +1 -0
- package/lib/services/po-theme/helpers/types/po-theme-dark-defaults.constant.d.ts +1 -0
- package/lib/services/po-user-guide/enums/index.d.ts +2 -0
- package/lib/services/po-user-guide/enums/po-user-guide-alignment.enum.d.ts +18 -0
- package/lib/services/po-user-guide/enums/po-user-guide-position.enum.d.ts +24 -0
- package/lib/services/po-user-guide/index.d.ts +6 -0
- package/lib/services/po-user-guide/interfaces/index.d.ts +6 -0
- package/lib/services/po-user-guide/interfaces/po-user-guide-end-event.interface.d.ts +46 -0
- package/lib/services/po-user-guide/interfaces/po-user-guide-literals.interface.d.ts +19 -0
- package/lib/services/po-user-guide/interfaces/po-user-guide-options.interface.d.ts +195 -0
- package/lib/services/po-user-guide/interfaces/po-user-guide-start-event.interface.d.ts +39 -0
- package/lib/services/po-user-guide/interfaces/po-user-guide-step-change-event.interface.d.ts +54 -0
- package/lib/services/po-user-guide/interfaces/po-user-guide-step.interface.d.ts +173 -0
- package/lib/services/po-user-guide/po-user-guide-base.service.d.ts +365 -0
- package/lib/services/po-user-guide/po-user-guide-scroll-lock.d.ts +55 -0
- package/lib/services/po-user-guide/po-user-guide.literals.d.ts +7 -0
- package/lib/services/po-user-guide/po-user-guide.module.d.ts +2 -0
- package/lib/services/po-user-guide/po-user-guide.service.d.ts +174 -0
- package/package.json +5 -4
- package/po-ui-ng-components-21.19.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 +17321 -15514
- package/po-ui-ng-components-21.17.0.tgz +0 -0
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { EventEmitter, TemplateRef } from '@angular/core';
|
|
2
2
|
import { PoDateService } from '../../services/po-date';
|
|
3
|
-
import { PoLanguageService } from '../../services/po-language/po-language.service';
|
|
4
3
|
import { PoCalendarMode } from './po-calendar-mode.enum';
|
|
4
|
+
import { PoTimerFormat } from '../po-timer/enums/po-timer-format.enum';
|
|
5
|
+
import { PoLanguageService } from '../../services/po-language/po-language.service';
|
|
5
6
|
import { PoCalendarRangePreset } from './interfaces/po-calendar-range-preset.interface';
|
|
6
7
|
/**
|
|
7
8
|
* @description
|
|
@@ -95,29 +96,6 @@ import { PoCalendarRangePreset } from './interfaces/po-calendar-range-preset.int
|
|
|
95
96
|
export declare class PoCalendarBaseComponent {
|
|
96
97
|
poDate: PoDateService;
|
|
97
98
|
private readonly languageService;
|
|
98
|
-
/**
|
|
99
|
-
* @optional
|
|
100
|
-
*
|
|
101
|
-
* @description
|
|
102
|
-
*
|
|
103
|
-
* Evento disparado ao alterar o valor do model.
|
|
104
|
-
* Em modo padrão, retorna uma `string` no formato ISO 8601 (`yyyy-mm-dd`).
|
|
105
|
-
* Em modo *range*, retorna um objeto contendo as datas de início (`start`) e fim (`end`).
|
|
106
|
-
*/
|
|
107
|
-
change: EventEmitter<string | {
|
|
108
|
-
start: any;
|
|
109
|
-
end: any;
|
|
110
|
-
}>;
|
|
111
|
-
/**
|
|
112
|
-
* @description
|
|
113
|
-
*
|
|
114
|
-
* Evento disparado ao alterar o mês ou o ano no cabeçalho do calendário.
|
|
115
|
-
* Retorna um objeto contendo os valores numéricos:
|
|
116
|
-
* - `month`: Mês selecionado (variando de 1 a 12).
|
|
117
|
-
* - `year`: Ano selecionado.
|
|
118
|
-
*/
|
|
119
|
-
changeMonthYear: EventEmitter<any>;
|
|
120
|
-
close: EventEmitter<void>;
|
|
121
99
|
activateDate: any;
|
|
122
100
|
selectedPresetLabel: string | null;
|
|
123
101
|
value: any;
|
|
@@ -129,8 +107,11 @@ export declare class PoCalendarBaseComponent {
|
|
|
129
107
|
private _maxDate;
|
|
130
108
|
private _minDate;
|
|
131
109
|
private _mode;
|
|
110
|
+
private _rangePresets;
|
|
132
111
|
private _size?;
|
|
133
112
|
private _initialSize?;
|
|
113
|
+
format: PoTimerFormat;
|
|
114
|
+
headerTemplate?: TemplateRef<any>;
|
|
134
115
|
/**
|
|
135
116
|
* @optional
|
|
136
117
|
*
|
|
@@ -169,6 +150,7 @@ export declare class PoCalendarBaseComponent {
|
|
|
169
150
|
*/
|
|
170
151
|
set maxDate(maxDate: any);
|
|
171
152
|
get maxDate(): any;
|
|
153
|
+
maxTime: string;
|
|
172
154
|
/**
|
|
173
155
|
* @optional
|
|
174
156
|
*
|
|
@@ -195,6 +177,8 @@ export declare class PoCalendarBaseComponent {
|
|
|
195
177
|
*/
|
|
196
178
|
set minDate(minDate: any);
|
|
197
179
|
get minDate(): any;
|
|
180
|
+
minTime: string;
|
|
181
|
+
minuteInterval: number;
|
|
198
182
|
/**
|
|
199
183
|
* @optional
|
|
200
184
|
*
|
|
@@ -206,11 +190,20 @@ export declare class PoCalendarBaseComponent {
|
|
|
206
190
|
*/
|
|
207
191
|
set mode(value: PoCalendarMode);
|
|
208
192
|
get mode(): PoCalendarMode;
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
193
|
+
/**
|
|
194
|
+
* @optional
|
|
195
|
+
*
|
|
196
|
+
* @description
|
|
197
|
+
*
|
|
198
|
+
* Lista de presets customizados de intervalos de data exibidos no painel lateral do calendário em modo *range*.
|
|
199
|
+
*
|
|
200
|
+
* Quando informado sem `p-range-presets`, exibe apenas os presets customizados.
|
|
201
|
+
* Quando informado junto com `p-range-presets` habilitado, os presets customizados serão exibidos junto aos presets padrão,
|
|
202
|
+
* ordenados automaticamente por temporalidade com base na data início (Futuro → Presente → Passado).
|
|
203
|
+
*
|
|
204
|
+
* Para utilizar presets customizados, informe um array de objetos que implementam a interface `PoCalendarRangePreset`.
|
|
205
|
+
*/
|
|
206
|
+
rangePresetOptions?: Array<PoCalendarRangePreset>;
|
|
214
207
|
/**
|
|
215
208
|
* @optional
|
|
216
209
|
*
|
|
@@ -231,21 +224,6 @@ export declare class PoCalendarBaseComponent {
|
|
|
231
224
|
*/
|
|
232
225
|
set rangePresets(value: boolean | Array<string> | string);
|
|
233
226
|
get rangePresets(): boolean | Array<string>;
|
|
234
|
-
private _rangePresets;
|
|
235
|
-
/**
|
|
236
|
-
* @optional
|
|
237
|
-
*
|
|
238
|
-
* @description
|
|
239
|
-
*
|
|
240
|
-
* Lista de presets customizados de intervalos de data exibidos no painel lateral do calendário em modo *range*.
|
|
241
|
-
*
|
|
242
|
-
* Quando informado sem `p-range-presets`, exibe apenas os presets customizados.
|
|
243
|
-
* Quando informado junto com `p-range-presets` habilitado, os presets customizados serão exibidos junto aos presets padrão,
|
|
244
|
-
* ordenados automaticamente por temporalidade com base na data início (Futuro → Presente → Passado).
|
|
245
|
-
*
|
|
246
|
-
* Para utilizar presets customizados, informe um array de objetos que implementam a interface `PoCalendarRangePreset`.
|
|
247
|
-
*/
|
|
248
|
-
rangePresetOptions?: Array<PoCalendarRangePreset>;
|
|
249
227
|
/**
|
|
250
228
|
* @optional
|
|
251
229
|
*
|
|
@@ -262,6 +240,8 @@ export declare class PoCalendarBaseComponent {
|
|
|
262
240
|
* @default `asc`
|
|
263
241
|
*/
|
|
264
242
|
rangePresetsOrder: 'asc' | 'desc';
|
|
243
|
+
secondInterval: number;
|
|
244
|
+
showSeconds: boolean;
|
|
265
245
|
/**
|
|
266
246
|
* @optional
|
|
267
247
|
*
|
|
@@ -277,6 +257,36 @@ export declare class PoCalendarBaseComponent {
|
|
|
277
257
|
set size(value: string);
|
|
278
258
|
get size(): string;
|
|
279
259
|
widthWithPresets?: boolean;
|
|
260
|
+
yearRangeLimit?: number;
|
|
261
|
+
/**
|
|
262
|
+
* @optional
|
|
263
|
+
*
|
|
264
|
+
* @description
|
|
265
|
+
*
|
|
266
|
+
* Evento disparado ao alterar o valor do model.
|
|
267
|
+
* Em modo padrão, retorna uma `string` no formato ISO 8601 (`yyyy-mm-dd`).
|
|
268
|
+
* Em modo *range*, retorna um objeto contendo as datas de início (`start`) e fim (`end`).
|
|
269
|
+
*/
|
|
270
|
+
change: EventEmitter<string | {
|
|
271
|
+
start: any;
|
|
272
|
+
end: any;
|
|
273
|
+
}>;
|
|
274
|
+
/**
|
|
275
|
+
* @description
|
|
276
|
+
*
|
|
277
|
+
* Evento disparado ao alterar o mês ou o ano no cabeçalho do calendário.
|
|
278
|
+
* Retorna um objeto contendo os valores numéricos:
|
|
279
|
+
* - `month`: Mês selecionado (variando de 1 a 12).
|
|
280
|
+
* - `year`: Ano selecionado.
|
|
281
|
+
*/
|
|
282
|
+
changeMonthYear: EventEmitter<any>;
|
|
283
|
+
changeTime: EventEmitter<string>;
|
|
284
|
+
close: EventEmitter<void>;
|
|
285
|
+
timerBoundaryTab: EventEmitter<any>;
|
|
286
|
+
get isDateTime(): boolean;
|
|
287
|
+
get isRange(): boolean;
|
|
288
|
+
get isMonthYear(): boolean;
|
|
289
|
+
get isYear(): boolean;
|
|
280
290
|
constructor(poDate: PoDateService, languageService: PoLanguageService);
|
|
281
291
|
protected onThemeChange(): void;
|
|
282
292
|
protected setActivateDate(date?: Date | string): void;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { DoCheck, OnChanges,
|
|
1
|
+
import { OnInit, DoCheck, OnChanges, QueryList, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { AbstractControl } from '@angular/forms';
|
|
3
3
|
import { PoButtonComponent } from '../po-button';
|
|
4
|
+
import { PoTimerComponent } from '../po-timer/po-timer.component';
|
|
4
5
|
import { PoCalendarBaseComponent } from './po-calendar-base.component';
|
|
5
6
|
import { PoCalendarRangePreset } from './interfaces/po-calendar-range-preset.interface';
|
|
6
7
|
/**
|
|
@@ -29,9 +30,11 @@ import { PoCalendarRangePreset } from './interfaces/po-calendar-range-preset.int
|
|
|
29
30
|
* </example>
|
|
30
31
|
*/
|
|
31
32
|
export declare class PoCalendarComponent extends PoCalendarBaseComponent implements OnInit, OnChanges, DoCheck {
|
|
32
|
-
|
|
33
|
+
timerComponent: PoTimerComponent;
|
|
33
34
|
yearOptions: QueryList<PoButtonComponent>;
|
|
35
|
+
monthOptions: QueryList<PoButtonComponent>;
|
|
34
36
|
private readonly changeDetector;
|
|
37
|
+
private readonly poCalendarService;
|
|
35
38
|
private readonly poCalendarLangService;
|
|
36
39
|
hoverValue: Date;
|
|
37
40
|
displayToClean: string;
|
|
@@ -72,6 +75,8 @@ export declare class PoCalendarComponent extends PoCalendarBaseComponent impleme
|
|
|
72
75
|
year: any;
|
|
73
76
|
}, partType: any): void;
|
|
74
77
|
onCloseCalendar(): void;
|
|
78
|
+
onTimeChange(time: string): void;
|
|
79
|
+
onTimerBoundaryTab(event: any): void;
|
|
75
80
|
registerOnChange(fn: any): void;
|
|
76
81
|
registerOnTouched(func: any): void;
|
|
77
82
|
validate(c: AbstractControl): {
|
package/lib/components/po-dynamic/po-dynamic-form/interfaces/po-dynamic-form-field.interface.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
1
2
|
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { PoLookupColumn } from '../../../po-field/po-lookup/interfaces/po-lookup-column.interface';
|
|
5
|
-
import { PoMultiselectOption } from '../../../po-field/po-multiselect/interfaces/po-multiselect-option.interface';
|
|
6
|
-
import { PoSelectOption } from '../../../po-field/po-select/po-select-option.interface';
|
|
3
|
+
import { PoUploadFile, PoComboFilter, PoLookupFilter, PoComboLiterals, PoLookupLiterals, PoUploadLiterals, PoMultiselectFilter, ErrorAsyncProperties, PoCheckboxGroupOption, PoSwitchLabelPosition, PoDatepickerIsoFormat, PoMultiselectLiterals, PoTimepickerModelFormat, PoMultiselectFilterMode, PoUploadFileRestrictions, PoDatepickerRangeLiterals } from '../../../po-field';
|
|
4
|
+
import { PoHelperOptions } from '../../../po-helper';
|
|
7
5
|
import { PoProgressAction } from '../../../po-progress';
|
|
8
|
-
import { ForceBooleanComponentEnum, ForceOptionComponentEnum } from '../../enums/po-dynamic-field-force-component.enum';
|
|
9
|
-
import { Observable } from 'rxjs';
|
|
10
6
|
import { PoDynamicField } from '../../po-dynamic-field.interface';
|
|
11
|
-
import {
|
|
7
|
+
import { PoSelectOption } from '../../../po-field/po-select/po-select-option.interface';
|
|
8
|
+
import { PoLookupColumn } from '../../../po-field/po-lookup/interfaces/po-lookup-column.interface';
|
|
12
9
|
import { PoCalendarRangePreset } from '../../../po-calendar/interfaces/po-calendar-range-preset.interface';
|
|
10
|
+
import { PoMultiselectOption } from '../../../po-field/po-multiselect/interfaces/po-multiselect-option.interface';
|
|
11
|
+
import { PoLookupAdvancedFilter } from '../../../po-field/po-lookup/interfaces/po-lookup-advanced-filter.interface';
|
|
12
|
+
import { ForceBooleanComponentEnum, ForceOptionComponentEnum } from '../../enums/po-dynamic-field-force-component.enum';
|
|
13
13
|
/**
|
|
14
14
|
* @usedBy PoDynamicFormComponent, PoAdvancedFilterComponent, PoPageDynamicSearchComponent
|
|
15
15
|
*
|
|
@@ -947,4 +947,24 @@ export interface PoDynamicFormField extends PoDynamicField {
|
|
|
947
947
|
* @default `'asc'`
|
|
948
948
|
*/
|
|
949
949
|
rangePresetsOrder?: 'asc' | 'desc';
|
|
950
|
+
/**
|
|
951
|
+
* Define o horário máximo permitido para seleção no timer.
|
|
952
|
+
* Formato: `HH:mm` ou `HH:mm:ss`.
|
|
953
|
+
*
|
|
954
|
+
* **Componente compatível:** `po-datetimepicker`, `po-timepicker`
|
|
955
|
+
*/
|
|
956
|
+
maxTime?: string;
|
|
957
|
+
/**
|
|
958
|
+
* Define o horário mínimo permitido para seleção no timer.
|
|
959
|
+
* Formato: `HH:mm` ou `HH:mm:ss`.
|
|
960
|
+
*
|
|
961
|
+
* **Componente compatível:** `po-datetimepicker`, `po-timepicker`
|
|
962
|
+
*/
|
|
963
|
+
minTime?: string;
|
|
964
|
+
/**
|
|
965
|
+
* Define o formato de exibição do timer (`'12'` ou `'24'`).
|
|
966
|
+
*
|
|
967
|
+
* **Componente compatível:** `po-datetimepicker`, `po-timepicker`
|
|
968
|
+
*/
|
|
969
|
+
formatTime?: string;
|
|
950
970
|
}
|
|
@@ -32,6 +32,13 @@ export declare class PoDynamicFormFieldsBaseComponent extends PoDynamicSharedBas
|
|
|
32
32
|
private createField;
|
|
33
33
|
private existsProperty;
|
|
34
34
|
private getComponentControl;
|
|
35
|
+
private getFieldType;
|
|
36
|
+
private getForcedComponent;
|
|
37
|
+
private getComponentByType;
|
|
38
|
+
private getNumericComponent;
|
|
39
|
+
private getSelectionComponent;
|
|
40
|
+
private getDateComponent;
|
|
41
|
+
private getTextComponent;
|
|
35
42
|
private hasFocus;
|
|
36
43
|
private isCheckboxGroup;
|
|
37
44
|
private isCombo;
|
|
@@ -18,6 +18,8 @@ export * from './po-timepicker/po-timepicker.module';
|
|
|
18
18
|
export * from './po-datepicker-range/interfaces/po-datepicker-range.interface';
|
|
19
19
|
export * from './po-datepicker-range/interfaces/po-datepicker-range-literals.interface';
|
|
20
20
|
export * from './po-datepicker-range/po-datepicker-range.component';
|
|
21
|
+
export * from './po-datetimepicker/po-datetimepicker.component';
|
|
22
|
+
export * from './po-datetimepicker/po-datetimepicker.module';
|
|
21
23
|
export * from './po-decimal/po-decimal.component';
|
|
22
24
|
export * from './po-email/po-email.component';
|
|
23
25
|
export * from './po-input/po-input.component';
|