@po-ui/ng-components 21.35.0 → 21.36.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.
Files changed (36) hide show
  1. package/fesm2022/{po-ui-ng-components-po-chart-modal-table.component-B4RdhBpp.mjs → po-ui-ng-components-po-chart-modal-table.component-DlqbxLq6.mjs} +4 -4
  2. package/fesm2022/{po-ui-ng-components-po-chart-modal-table.component-B4RdhBpp.mjs.map → po-ui-ng-components-po-chart-modal-table.component-DlqbxLq6.mjs.map} +1 -1
  3. package/fesm2022/po-ui-ng-components.mjs +1773 -1412
  4. package/fesm2022/po-ui-ng-components.mjs.map +1 -1
  5. package/lib/components/po-calendar/po-calendar-base.component.d.ts +5 -0
  6. package/lib/components/po-calendar/po-calendar-header/po-calendar-header.component.d.ts +2 -0
  7. package/lib/components/po-calendar/po-calendar-wrapper/po-calendar-wrapper.component.d.ts +12 -0
  8. package/lib/components/po-calendar/po-calendar.component.d.ts +11 -0
  9. package/lib/components/po-field/po-datepicker/po-datepicker-base.component.d.ts +15 -4
  10. package/lib/components/po-field/po-datepicker/po-datepicker.component.d.ts +5 -0
  11. package/lib/components/po-field/po-datepicker-range/po-datepicker-range-base.component.d.ts +3 -0
  12. package/lib/components/po-field/po-datepicker-range/po-datepicker-range.component.d.ts +2 -0
  13. package/lib/components/po-field/po-datetimepicker/po-datetimepicker-base.component.d.ts +5 -0
  14. package/lib/components/po-field/po-datetimepicker/po-datetimepicker.component.d.ts +5 -0
  15. package/lib/components/po-listbox/po-item-list/po-item-list.component.d.ts +1 -0
  16. package/lib/components/po-listbox/po-listbox.component.d.ts +1 -0
  17. package/lib/utils/po-picker-mouse-down-guard.d.ts +27 -0
  18. package/lib/utils/util.d.ts +16 -0
  19. package/package.json +4 -4
  20. package/po-ui-ng-components-21.36.0.tgz +0 -0
  21. package/schematics/ng-add/index.js +1 -1
  22. package/schematics/ng-update/v14/index.js +1 -1
  23. package/schematics/ng-update/v15/index.js +1 -1
  24. package/schematics/ng-update/v16/index.js +1 -1
  25. package/schematics/ng-update/v17/index.js +1 -1
  26. package/schematics/ng-update/v18/index.js +2 -2
  27. package/schematics/ng-update/v19/index.js +2 -2
  28. package/schematics/ng-update/v2/index.js +1 -1
  29. package/schematics/ng-update/v20/index.js +2 -2
  30. package/schematics/ng-update/v21/index.js +1 -1
  31. package/schematics/ng-update/v3/index.js +1 -1
  32. package/schematics/ng-update/v4/index.js +1 -1
  33. package/schematics/ng-update/v5/index.js +1 -1
  34. package/schematics/ng-update/v6/index.js +1 -1
  35. package/types/po-ui-ng-components.d.ts +68 -5
  36. package/po-ui-ng-components-21.35.0.tgz +0 -0
@@ -24,6 +24,11 @@ import { PoCalendarRangePreset } from './interfaces/po-calendar-range-preset.int
24
24
  *
25
25
  * **Importante:**
26
26
  * - Datas fora do intervalo (`p-min-date` / `p-max-date`) aparecem desabilitadas sem alterar o *model*.
27
+ * - São aceitos anos entre 0000 e 9999. No seletor de ano do cabeçalho é possível digitar qualquer ano com
28
+ * 4 dígitos, mesmo que não esteja listado, e a navegação é bloqueada nos limites desse intervalo.
29
+ * - Datas no formato ISO (ex.: `'0050-05-10'`) com ano inferior a 100 são mantidas. Ao informar um objeto `Date`
30
+ * com ano inferior a 100, utilize o método [`setFullYear`](https://www.w3schools.com/jsref/jsref_setfullyear.asp),
31
+ * pois o [`new Date`](https://www.w3schools.com/js/js_dates.asp) converte esses anos para 19XX.
27
32
  *
28
33
  * #### Boas práticas
29
34
  *
@@ -6,6 +6,8 @@ export declare class PoCalendarHeaderComponent implements OnInit, OnChanges {
6
6
  readonly poCalendarLangService: PoCalendarLangService;
7
7
  hidePrevious: boolean;
8
8
  hideNext: boolean;
9
+ disablePrevious: import("@angular/core").InputSignal<boolean>;
10
+ disableNext: import("@angular/core").InputSignal<boolean>;
9
11
  displayMonth: number;
10
12
  displayYear: number;
11
13
  displayMonthLabel: string;
@@ -55,6 +55,9 @@ export declare class PoCalendarWrapperComponent implements OnInit, OnChanges {
55
55
  templateContext: any;
56
56
  protected currentMonthNumber: number;
57
57
  protected lastDisplay: string;
58
+ private displayYearOption;
59
+ private typedYearOption;
60
+ private readonly combosAwaitingFocusOut;
58
61
  get monthLabel(): any;
59
62
  get yearLabel(): any;
60
63
  get isDayVisible(): boolean;
@@ -73,9 +76,14 @@ export declare class PoCalendarWrapperComponent implements OnInit, OnChanges {
73
76
  month: number;
74
77
  }): void;
75
78
  private updateTemplateContext;
79
+ onYearInputChange(search: string, comboComponent?: any): void;
80
+ private getTypedYear;
81
+ private formatYearLabel;
76
82
  updateDate(year: number, month: number, comboComponent?: any): void;
77
83
  onComboBlur(comboComponent?: any): void;
84
+ private resetComboWithoutOptions;
78
85
  private handleComboBlur;
86
+ private validateOnComboFocusOut;
79
87
  private syncInputValue;
80
88
  private applySelectedValue;
81
89
  private ensureValidDisplay;
@@ -85,6 +93,10 @@ export declare class PoCalendarWrapperComponent implements OnInit, OnChanges {
85
93
  private setInitialFocusedDay;
86
94
  private ensureValidFocusedDay;
87
95
  getDayTabIndex(day: Date, index: number): number;
96
+ get isPreviousMonthDisabled(): boolean;
97
+ get isNextMonthDisabled(): boolean;
98
+ isPreviousYearDisabled(step: number): boolean;
99
+ isNextYearDisabled(step: number): boolean;
88
100
  onNextMonth(): void;
89
101
  onPreviousMonth(): void;
90
102
  updateYear(value: number): void;
@@ -34,6 +34,7 @@ export declare class PoCalendarComponent extends PoCalendarBaseComponent impleme
34
34
  yearOptions: QueryList<PoButtonComponent>;
35
35
  monthOptions: QueryList<PoButtonComponent>;
36
36
  private readonly changeDetector;
37
+ private readonly elementRef;
37
38
  private readonly poCalendarService;
38
39
  private readonly poCalendarLangService;
39
40
  hoverValue: Date;
@@ -67,6 +68,13 @@ export declare class PoCalendarComponent extends PoCalendarBaseComponent impleme
67
68
  private getMonthOptions;
68
69
  private getYearOptions;
69
70
  private initializeYearAndMonthMode;
71
+ /**
72
+ * Centraliza na lista o ano selecionado, ou o ano atual quando não houver seleção, caso ele não esteja visível.
73
+ */
74
+ scrollToSelectedYear(): void;
75
+ formatYearLabel(year: number): string;
76
+ private hasSelectedYear;
77
+ private updateDisplayYears;
70
78
  getActivateDate(partType: any): any;
71
79
  getValue(partType: any): any;
72
80
  onSelectDate(selectedDate: any, partType?: any): void;
@@ -104,4 +112,7 @@ export declare class PoCalendarComponent extends PoCalendarBaseComponent impleme
104
112
  private setMonth;
105
113
  private setYear;
106
114
  private writeDate;
115
+ private writeMonthYearDate;
116
+ private writeYearDate;
117
+ private parseYearValue;
107
118
  }
@@ -30,8 +30,11 @@ import { PoHelperOptions } from '../../po-helper';
30
30
  *
31
31
  * **Importante:**
32
32
  *
33
- * - Para utilizar datas com ano inferior a 100, verificar o comportamento do [`new Date`](https://www.w3schools.com/js/js_dates.asp)
34
- * e utilizar o método [`setFullYear`](https://www.w3schools.com/jsref/jsref_setfullyear.asp).
33
+ * - São aceitas datas com ano entre 0000 e 9999. No calendário, além dos anos listados no seletor, é possível
34
+ * digitar qualquer ano com 4 dígitos.
35
+ * - Datas no formato ISO (ex.: `'0050-05-10'`) com ano inferior a 100 são mantidas. Ao informar um objeto `Date`
36
+ * com ano inferior a 100, utilize o método [`setFullYear`](https://www.w3schools.com/jsref/jsref_setfullyear.asp),
37
+ * pois o [`new Date`](https://www.w3schools.com/js/js_dates.asp) converte esses anos para 19XX.
35
38
  * - Caso a data esteja inválida, o `model` receberá **'Data inválida'**.
36
39
  * - Caso o `input` esteja passando um `[(ngModel)]`, mas não tenha um `name`, então irá ocorrer um erro
37
40
  * do próprio Angular (`[ngModelOptions]="{standalone: true}"`).
@@ -90,8 +93,10 @@ export declare abstract class PoDatepickerBaseComponent implements ControlValueA
90
93
  * Define o modo de operação do datepicker.
91
94
  *
92
95
  * Permite configurar o componente para seleção de:
93
- * - Mês e ano (`month-year`);
94
- * - Apenas ano (`year`).
96
+ * - Mês e ano (`month-year`), com o *model* no formato `mm/yyyy` (ex.: `'03/2025'`);
97
+ * - Apenas ano (`year`), com o *model* no formato `yyyy` (ex.: `'2025'`).
98
+ *
99
+ * > O ano é sempre representado com 4 dígitos, inclusive para anos inferiores a 1000 (ex.: `'03/0050'`).
95
100
  */
96
101
  mode?: 'month-year' | 'year';
97
102
  /**
@@ -101,6 +106,9 @@ export declare abstract class PoDatepickerBaseComponent implements ControlValueA
101
106
  * O valor informado determina o intervalo de anos anterior e posterior
102
107
  * à data corrente que será disponibilizado para seleção.
103
108
  *
109
+ * > Caso o ano selecionado esteja fora desse intervalo, ele também é exibido na lista. Esta propriedade
110
+ * não se aplica ao seletor de ano do calendário padrão (sem `p-mode`).
111
+ *
104
112
  * @default 150
105
113
  */
106
114
  set yearRangeLimit(value: number);
@@ -495,6 +503,9 @@ export declare abstract class PoDatepickerBaseComponent implements ControlValueA
495
503
  [key: string]: any;
496
504
  };
497
505
  private isMonthYearOrYearInvalid;
506
+ protected parseYearToken(value: string): number | null;
507
+ private convertStringToDate;
508
+ private convertMonthYearToDate;
498
509
  private isDateRangeValidForMode;
499
510
  private validateMonthYearRange;
500
511
  private validateYearRange;
@@ -56,6 +56,7 @@ export declare class PoDatepickerComponent extends PoDatepickerBaseComponent imp
56
56
  eventListenerFunction: () => void;
57
57
  eventResizeListener: () => void;
58
58
  private clickListener;
59
+ private readonly mouseDownGuard;
59
60
  private readonly dateRegex;
60
61
  private readonly isoRegex;
61
62
  private timeoutChange;
@@ -149,6 +150,7 @@ export declare class PoDatepickerComponent extends PoDatepickerBaseComponent imp
149
150
  private applyMonthYearValue;
150
151
  private applyYearValue;
151
152
  private parseMonthYearInput;
153
+ private isIncompleteZeroYear;
152
154
  private syncCalendarMonthYear;
153
155
  private syncCalendarYear;
154
156
  private writeMonthYearValue;
@@ -157,6 +159,7 @@ export declare class PoDatepickerComponent extends PoDatepickerBaseComponent imp
157
159
  private isValidInputForMode;
158
160
  private hasAttrCalendar;
159
161
  private initializeListeners;
162
+ private isInsidePicker;
160
163
  private isAdditionalHelpEventTriggered;
161
164
  private isFocusOnFirstCombo;
162
165
  private isFocusOnLastCombo;
@@ -168,6 +171,8 @@ export declare class PoDatepickerComponent extends PoDatepickerBaseComponent imp
168
171
  handleCleanKeyboardTab(event: KeyboardEvent): void;
169
172
  private shouldHandleTab;
170
173
  private focusCalendar;
174
+ private getCurrentMonthOption;
175
+ private getCurrentYearOption;
171
176
  onCalendarKeyDown(event: KeyboardEvent): void;
172
177
  setHelper(label?: string, additionalHelpTooltip?: string): {
173
178
  hideAdditionalHelp: boolean;
@@ -44,6 +44,9 @@ import { PoCalendarRangePreset } from '../../po-calendar/interfaces/po-calendar-
44
44
  *
45
45
  * - Quando preenchidas a data inicial e final, a data inicial deve ser sempre menor ou igual a data final;
46
46
  * - Ao passar uma data inválida via codificação, o valor será mantido no *model* e o `input` da tela aparecerá vazio;
47
+ * - Datas no formato ISO (ex.: `'0050-05-10'`) com ano inferior a 100 são mantidas. Ao informar um objeto `Date`
48
+ * com ano inferior a 100, utilize o método [`setFullYear`](https://www.w3schools.com/jsref/jsref_setfullyear.asp),
49
+ * pois o [`new Date`](https://www.w3schools.com/js/js_dates.asp) converte esses anos para 19XX;
47
50
  * - Permite trabalhar com as duas datas separadamente através das propriedades `p-start-date` e `p-end-date` no lugar do
48
51
  * `[(ngModel)]`, no entanto sem a validação do formulário;
49
52
  * - Para a validação do formulário, utilize o `[(ngModel)]`.
@@ -52,6 +52,7 @@ export declare class PoDatepickerRangeComponent extends PoDatepickerRangeBaseCom
52
52
  widthWithPresets: boolean;
53
53
  private clickListener;
54
54
  private eventResizeListener;
55
+ private readonly mouseDownGuard;
55
56
  private readonly poDatepickerRangeElement;
56
57
  private readonly MIN_CALENDAR_WIDTH_WITH_PRESETS;
57
58
  get autocomplete(): "off" | "on";
@@ -178,5 +179,6 @@ export declare class PoDatepickerRangeComponent extends PoDatepickerRangeBaseCom
178
179
  private updateModelByScreen;
179
180
  private verifyFormattedDates;
180
181
  private wasClickedOnPicker;
182
+ private isInsidePicker;
181
183
  closeCalendar(): void;
182
184
  }
@@ -32,6 +32,9 @@ import { PoTimerFormat } from '../../po-timer/enums/po-timer-format.enum';
32
32
  * - O valor emitido no model inclui o offset do timezone local do navegador.
33
33
  * - Ao receber um valor com timezone, o componente converte automaticamente para horário local.
34
34
  * - Caso a data/hora esteja inválida, o `model` receberá a mensagem de erro localizada.
35
+ * - Datas no formato ISO (ex.: `'0050-05-10'`) com ano inferior a 100 são mantidas. Ao informar um objeto `Date`
36
+ * com ano inferior a 100, utilize o método [`setFullYear`](https://www.w3schools.com/jsref/jsref_setfullyear.asp),
37
+ * pois o [`new Date`](https://www.w3schools.com/js/js_dates.asp) converte esses anos para 19XX.
35
38
  * - Caso o `input` esteja passando um `[(ngModel)]`, mas não tenha um `name`, então irá ocorrer um erro
36
39
  * do próprio Angular (`[ngModelOptions]="{standalone: true}"`).
37
40
  *
@@ -514,6 +517,8 @@ export declare abstract class PoDatetimepickerBaseComponent implements ControlVa
514
517
  private timeToSeconds;
515
518
  private resolveFormat;
516
519
  private processStringValue;
520
+ private hasLocalOffsetWithSeconds;
521
+ private copyDateWithTime;
517
522
  private normalizeTimePart;
518
523
  private extractTimeFromDate;
519
524
  private requiredFailed;
@@ -47,9 +47,12 @@ export declare class PoDatetimepickerComponent extends PoDatetimepickerBaseCompo
47
47
  isInputFocused: boolean;
48
48
  private clickListener;
49
49
  private eventResizeListener;
50
+ private readonly mouseDownGuard;
50
51
  private valueBeforeChange;
51
52
  private hadValueOnOpen;
52
53
  private isTodayPresetInProgress;
54
+ private lastSyncedCalendar;
55
+ private lastSyncedValue;
53
56
  constructor();
54
57
  ngAfterViewInit(): void;
55
58
  ngOnDestroy(): void;
@@ -132,10 +135,12 @@ export declare class PoDatetimepickerComponent extends PoDatetimepickerBaseCompo
132
135
  private normalizeTimeWithSeconds;
133
136
  private syncDateFromInput;
134
137
  private syncCalendarAndTimer;
138
+ private getSyncedValue;
135
139
  private getExpectedInputLength;
136
140
  private setCalendarPosition;
137
141
  protected adjustCalendarPosition(): void;
138
142
  private initializeListeners;
143
+ private isInsidePicker;
139
144
  private removeListeners;
140
145
  private readonly onScroll;
141
146
  private setDialogPickerStyleDisplay;
@@ -8,6 +8,7 @@ export declare class PoItemListComponent extends PoItemListBaseComponent impleme
8
8
  selectedView: PoItemListOption;
9
9
  protected param: any;
10
10
  protected clickListener: () => void;
11
+ private lastSafeHtml;
11
12
  private shouldUpdateSelected;
12
13
  ngOnChanges(changes: SimpleChanges): void;
13
14
  onCheckboxItem(): void;
@@ -81,6 +81,7 @@ export declare class PoListBoxComponent extends PoListBoxBaseComponent implement
81
81
  private getSelectedItem;
82
82
  scrollToAndSelectCurrentItem(): void;
83
83
  protected onListboxFocusIn(event: FocusEvent): void;
84
+ private focusFirstOptionWhenNoneActive;
84
85
  protected checkInfiniteScroll(): void;
85
86
  protected getSizeLoading(): "xs" | "sm" | "md";
86
87
  protected getTextLoading(): "" | " ";
@@ -0,0 +1,27 @@
1
+ import { Renderer2 } from '@angular/core';
2
+ /**
3
+ * @docsPrivate
4
+ *
5
+ * @description
6
+ *
7
+ * Registra se o último `mousedown` do documento ocorreu dentro do picker (calendário).
8
+ *
9
+ * Ao pressionar o mouse dentro do calendário e soltar fora dele, o navegador dispara o `click` fora do calendário.
10
+ * Esse `click` não deve fechar o calendário, por isso o componente deve consultar `consume` antes de fechá-lo.
11
+ */
12
+ export declare class PoPickerMouseDownGuard {
13
+ private readonly isInsidePicker;
14
+ private isMouseDownOnPicker;
15
+ private removeListener;
16
+ /**
17
+ * @param isInsidePicker Função que indica se o alvo do `mousedown` pertence ao picker.
18
+ */
19
+ constructor(isInsidePicker: (target: EventTarget) => boolean);
20
+ listen(renderer: Renderer2): void;
21
+ register(target: EventTarget): void;
22
+ /**
23
+ * Retorna se o último `mousedown` ocorreu no picker e reinicia o estado, valendo apenas para o `click` seguinte.
24
+ */
25
+ consume(): boolean;
26
+ destroy(): void;
27
+ }
@@ -61,6 +61,21 @@ export declare function isTypeof(object: any, type: any): boolean;
61
61
  */
62
62
  export declare function callFunction(fn: any, context: any, param?: any): void;
63
63
  export declare function convertIsoToDate(value: string, start: boolean, end: boolean): Date;
64
+ /**
65
+ * Cria uma data local considerando os anos entre 0 e 99, pois o `new Date` do javascript
66
+ * transforma esses anos para 19XX.
67
+ *
68
+ * @param year Ano
69
+ * @param month Mês (0 a 11)
70
+ * @param day Dia
71
+ */
72
+ export declare function createDate(year: number, month: number, day: number): Date;
73
+ /**
74
+ * Verifica se o ano é um número inteiro entre 0 e 9999, intervalo suportado pelo formato `yyyy`.
75
+ *
76
+ * @param year Ano
77
+ */
78
+ export declare function isValidYear(year: number): boolean;
64
79
  export declare function convertDateToISODate(date: Date): string;
65
80
  export declare function convertDateToISOExtended(date: Date, time?: string): string;
66
81
  /**
@@ -331,6 +346,7 @@ export declare const PoUtils: {
331
346
  convertImageToBase64: typeof convertImageToBase64;
332
347
  convertToBoolean: typeof convertToBoolean;
333
348
  convertToInt: typeof convertToInt;
349
+ createDate: typeof createDate;
334
350
  formatYear: typeof formatYear;
335
351
  getA11yLevel: typeof getA11yLevel;
336
352
  getBrowserLanguage: typeof getBrowserLanguage;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@po-ui/ng-components",
3
- "version": "21.35.0",
3
+ "version": "21.36.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.14",
25
- "@po-ui/style": "21.35.0",
26
- "@po-ui/ng-schematics": "21.35.0",
25
+ "@po-ui/style": "21.36.0",
26
+ "@po-ui/ng-schematics": "21.36.0",
27
27
  "driver.js": "~1.4.0",
28
28
  "echarts": "^6.1.0",
29
29
  "tslib": "^2.6.2"
@@ -39,7 +39,7 @@
39
39
  "@angular/platform-browser-dynamic": "^21",
40
40
  "@angular/router": "^21",
41
41
  "@angular-devkit/schematics": "^21",
42
- "@po-ui/style": "21.35.0",
42
+ "@po-ui/style": "21.36.0",
43
43
  "rxjs": "~7.8.1",
44
44
  "zone.js": "~0.15.0"
45
45
  },
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.35.0');
21
+ (0, package_config_1.addPackageToPackageJson)(tree, '@po-ui/ng-components', '21.36.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.35.0', changes_1.updateDepedenciesVersion), postUpdate()]);
9
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.36.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.35.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
14
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.36.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.35.0', changes_1.updateDepedenciesVersion), postUpdate()]);
9
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.36.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.35.0', changes_1.updateDepedenciesVersion), postUpdate()]);
9
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.36.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.35.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
43
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.36.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.35.0', changes_1.updateDepedenciesVersion),
47
+ (0, package_config_1.updatePackageJson)('21.36.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.35.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
43
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.36.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.35.0', changes_1.updateDepedenciesVersion),
47
+ (0, package_config_1.updatePackageJson)('21.36.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.35.0', changes_1.dependeciesChanges),
13
+ updatePackageJson('21.36.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.35.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
43
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.36.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.35.0', changes_1.updateDepedenciesVersion),
47
+ (0, package_config_1.updatePackageJson)('21.36.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.35.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
12
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.36.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.35.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
10
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.36.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.35.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
10
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.36.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.35.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
10
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.36.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.35.0', changes_1.updateDepedenciesVersion), postUpdate()]);
9
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.36.0', changes_1.updateDepedenciesVersion), postUpdate()]);
10
10
  }
11
11
  function postUpdate() {
12
12
  return (_, context) => {