@po-ui/ng-components 21.3.0 → 21.4.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 (45) hide show
  1. package/fesm2022/po-ui-ng-components.mjs +18025 -16793
  2. package/fesm2022/po-ui-ng-components.mjs.map +1 -1
  3. package/lib/components/po-avatar/po-avatar-base.component.d.ts +1 -0
  4. package/lib/components/po-calendar/po-calendar-base.component.d.ts +126 -30
  5. package/lib/components/po-calendar/po-calendar-header/po-calendar-header.component.d.ts +24 -3
  6. package/lib/components/po-calendar/po-calendar-mode.enum.d.ts +2 -2
  7. package/lib/components/po-calendar/po-calendar-wrapper/po-calendar-wrapper.component.d.ts +92 -32
  8. package/lib/components/po-calendar/po-calendar.component.d.ts +3 -0
  9. package/lib/components/po-calendar/services/po-calendar.lang.service.d.ts +11 -0
  10. package/lib/components/po-calendar/services/po-calendar.service.d.ts +5 -0
  11. package/lib/components/po-field/index.d.ts +1 -0
  12. package/lib/components/po-field/po-clean/po-clean-base.component.d.ts +1 -0
  13. package/lib/components/po-field/po-combo/po-combo-base.component.d.ts +7 -4
  14. package/lib/components/po-field/po-combo/po-combo.module.d.ts +2 -0
  15. package/lib/components/po-field/po-datepicker/po-datepicker-base.component.d.ts +13 -0
  16. package/lib/components/po-field/po-datepicker/po-datepicker.component.d.ts +8 -2
  17. package/lib/components/po-field/po-datepicker/po-datepicker.literals.d.ts +4 -0
  18. package/lib/components/po-field/po-datepicker-range/interfaces/po-datepicker-range-literals.interface.d.ts +8 -0
  19. package/lib/components/po-field/po-datepicker-range/po-datepicker-range-base.component.d.ts +23 -0
  20. package/lib/components/po-field/po-datepicker-range/po-datepicker-range.component.d.ts +11 -2
  21. package/lib/components/po-table/po-table-base.component.d.ts +1 -0
  22. package/lib/components/po-table/po-table.component.d.ts +1 -0
  23. package/lib/components/po-widget/index.d.ts +1 -0
  24. package/lib/components/po-widget/interfaces/po-widget-avatar.interface.d.ts +56 -0
  25. package/lib/components/po-widget/po-widget-base.component.d.ts +30 -3
  26. package/lib/components/po-widget/po-widget.component.d.ts +6 -2
  27. package/lib/utils/design-tokens.d.ts +17 -0
  28. package/package.json +4 -4
  29. package/po-ui-ng-components-21.4.0.tgz +0 -0
  30. package/schematics/ng-add/index.js +1 -1
  31. package/schematics/ng-update/v14/index.js +1 -1
  32. package/schematics/ng-update/v15/index.js +1 -1
  33. package/schematics/ng-update/v16/index.js +1 -1
  34. package/schematics/ng-update/v17/index.js +1 -1
  35. package/schematics/ng-update/v18/index.js +2 -2
  36. package/schematics/ng-update/v19/index.js +2 -2
  37. package/schematics/ng-update/v2/index.js +1 -1
  38. package/schematics/ng-update/v20/index.js +2 -2
  39. package/schematics/ng-update/v21/index.js +1 -1
  40. package/schematics/ng-update/v3/index.js +1 -1
  41. package/schematics/ng-update/v4/index.js +1 -1
  42. package/schematics/ng-update/v5/index.js +1 -1
  43. package/schematics/ng-update/v6/index.js +1 -1
  44. package/types/po-ui-ng-components.d.ts +6535 -6172
  45. package/po-ui-ng-components-21.3.0.tgz +0 -0
@@ -123,6 +123,15 @@ export declare abstract class PoDatepickerRangeBaseComponent implements ControlV
123
123
  * @default `false`
124
124
  */
125
125
  optional: boolean;
126
+ /**
127
+ * @optional
128
+ *
129
+ * @description
130
+ *
131
+ * Mensagem que aparecerá enquanto o campo não estiver preenchido.
132
+ */
133
+ set placeholder(value: string | PoDatepickerRange);
134
+ get placeholder(): PoDatepickerRange;
126
135
  /**
127
136
  * @optional
128
137
  *
@@ -220,9 +229,11 @@ export declare abstract class PoDatepickerRangeBaseComponent implements ControlV
220
229
  private _noAutocomplete?;
221
230
  private _readonly;
222
231
  private _required?;
232
+ private _loading?;
223
233
  private _startDate?;
224
234
  private _locale?;
225
235
  private _size?;
236
+ private _placeholder;
226
237
  private language;
227
238
  private onChangeModel;
228
239
  private validatorChange;
@@ -296,6 +307,17 @@ export declare abstract class PoDatepickerRangeBaseComponent implements ControlV
296
307
  */
297
308
  set literals(value: PoDatepickerRangeLiterals);
298
309
  get literals(): PoDatepickerRangeLiterals;
310
+ /**
311
+ * @optional
312
+ *
313
+ * @description
314
+ * Exibe um ícone de carregamento no lado direito do campo para sinalizar que uma operação está em andamento.
315
+ *
316
+ * @default `false`
317
+ */
318
+ set loading(value: boolean);
319
+ get loading(): boolean;
320
+ get isDisabled(): boolean;
299
321
  /**
300
322
  * @optional
301
323
  *
@@ -393,6 +415,7 @@ export declare abstract class PoDatepickerRangeBaseComponent implements ControlV
393
415
  constructor(changeDetector: ChangeDetectorRef, poDateService: PoDateService, languageService: PoLanguageService);
394
416
  ngOnDestroy(): void;
395
417
  setDisabledState(isDisabled: boolean): void;
418
+ mapSizeToIcon(size: string): string;
396
419
  registerOnChange(func: any): void;
397
420
  registerOnTouched(func: any): void;
398
421
  registerOnValidatorChange?(fn: () => void): void;
@@ -2,6 +2,7 @@ import { AfterViewInit, ElementRef, OnChanges, OnDestroy, OnInit, SimpleChanges
2
2
  import { PoDatepickerRange } from './interfaces/po-datepicker-range.interface';
3
3
  import { PoDatepickerRangeBaseComponent } from './po-datepicker-range-base.component';
4
4
  import { PoHelperComponent } from '../../po-helper';
5
+ import { PoButtonComponent } from '../../po-button';
5
6
  /**
6
7
  * @docsExtends PoDatepickerRangeBaseComponent
7
8
  *
@@ -37,9 +38,11 @@ export declare class PoDatepickerRangeComponent extends PoDatepickerRangeBaseCom
37
38
  dateRangeField: ElementRef;
38
39
  endDateInput: ElementRef;
39
40
  startDateInput: ElementRef;
40
- iconCalendar: ElementRef;
41
+ iconCalendar: PoButtonComponent;
41
42
  calendarPicker: ElementRef;
42
43
  helperEl?: PoHelperComponent;
44
+ iconClean: ElementRef<HTMLElement>;
45
+ id: string;
43
46
  isCalendarVisible: boolean;
44
47
  private clickListener;
45
48
  private eventResizeListener;
@@ -62,6 +65,7 @@ export declare class PoDatepickerRangeComponent extends PoDatepickerRangeBaseCom
62
65
  ngOnChanges(changes: SimpleChanges): void;
63
66
  ngOnDestroy(): void;
64
67
  clear(): void;
68
+ clearAndFocus(): void;
65
69
  emitAdditionalHelp(): void;
66
70
  eventOnClick($event: any): void;
67
71
  /**
@@ -90,6 +94,8 @@ export declare class PoDatepickerRangeComponent extends PoDatepickerRangeBaseCom
90
94
  }): void;
91
95
  onFocus(event: any): void;
92
96
  onKeydown(event?: any): void;
97
+ onKeyPress(event: any): void;
98
+ onKeydownDatepickerRange($event?: any): void;
93
99
  onKeyup(event: any): void;
94
100
  resetDateRangeInputValidation(): void;
95
101
  /**
@@ -120,10 +126,12 @@ export declare class PoDatepickerRangeComponent extends PoDatepickerRangeBaseCom
120
126
  showAdditionalHelp(): boolean;
121
127
  toggleCalendar(): void;
122
128
  updateScreenByModel(model: PoDatepickerRange): void;
129
+ onCalendarKeyDown(event: KeyboardEvent): void;
123
130
  setHelper(label?: string, additionalHelpTooltip?: string): {
124
131
  hideAdditionalHelp: boolean;
125
132
  helperSettings?: any;
126
133
  };
134
+ setCalendarPosition(): void;
127
135
  private applyFocusOnDatePickerRangeField;
128
136
  private formatDate;
129
137
  private formatScreenToModel;
@@ -135,6 +143,7 @@ export declare class PoDatepickerRangeComponent extends PoDatepickerRangeBaseCom
135
143
  private initializeListeners;
136
144
  private isAdditionalHelpEventTriggered;
137
145
  private isEqualBeforeValue;
146
+ private isFocusOnFirstCombo;
138
147
  private isSetFocusOnBackspace;
139
148
  private onScroll;
140
149
  private removeFocusFromDatePickerRangeField;
@@ -143,7 +152,6 @@ export declare class PoDatepickerRangeComponent extends PoDatepickerRangeBaseCom
143
152
  private setFocusAndPosition;
144
153
  private focusOnElement;
145
154
  private removeListeners;
146
- private setCalendarPosition;
147
155
  private setFocusOnArrowLeft;
148
156
  private setFocusOnArrowRight;
149
157
  private setFocusOnBackspace;
@@ -152,4 +160,5 @@ export declare class PoDatepickerRangeComponent extends PoDatepickerRangeBaseCom
152
160
  private updateModelByScreen;
153
161
  private verifyFormattedDates;
154
162
  private wasClickedOnPicker;
163
+ closeCalendar(): void;
155
164
  }
@@ -760,4 +760,5 @@ export declare abstract class PoTableBaseComponent implements OnChanges, OnDestr
760
760
  protected abstract changeSizeLoading(): any;
761
761
  protected abstract changeHeaderWidth(): any;
762
762
  protected abstract getDefaultSpacing(): any;
763
+ protected abstract reapplySort(): any;
763
764
  }
@@ -281,6 +281,7 @@ export declare class PoTableComponent extends PoTableBaseComponent implements Af
281
281
  private changesAfterDelete;
282
282
  protected changeSizeLoading(): void;
283
283
  protected getDefaultSpacing(): PoTableColumnSpacing;
284
+ protected reapplySort(): void;
284
285
  private checkChangesItems;
285
286
  private checkingIfColumnHasTooltip;
286
287
  private countExtraColumns;
@@ -1,3 +1,4 @@
1
1
  export * from './po-widget.component';
2
+ export * from './interfaces/po-widget-avatar.interface';
2
3
  export * from './po-widget.module';
3
4
  export * from './literals/po-widget-literals';
@@ -0,0 +1,56 @@
1
+ import { TemplateRef } from '@angular/core';
2
+ /**
3
+ * @usedBy PoWidgetComponent
4
+ *
5
+ * @description
6
+ *
7
+ * Interface para definição do avatar no `po-widget`.
8
+ */
9
+ export interface PoWidgetAvatar {
10
+ /**
11
+ * Fonte da imagem que pode ser um caminho local (`./assets/images/logo-black-small.png`)
12
+ * ou um servidor externo (`https://po-ui.io/assets/images/logo-black-small.png`).
13
+ */
14
+ src?: string;
15
+ /**
16
+ * @optional
17
+ *
18
+ * @description
19
+ *
20
+ * Tamanho de exibição do componente `po-avatar`.
21
+ *
22
+ * Valores válidos:
23
+ * - `xs` (24x24)
24
+ * - `sm` (32x32)
25
+ * - `md` (64x64)
26
+ * - `lg` (96x96)
27
+ * - `xl` (144x144)
28
+ *
29
+ * @default `md`
30
+ */
31
+ size?: string;
32
+ /**
33
+ * Permite a criação de template customizado para o avatar
34
+ *
35
+ * ```
36
+ * <po-widget
37
+ * [p-avatar]="{ customTemplate: customAvatar }"
38
+ * />
39
+ *
40
+ * <ng-template #customAvatar>
41
+ * ...
42
+ * </ng-template>
43
+ * ```
44
+ */
45
+ customTemplate?: TemplateRef<any>;
46
+ /**
47
+ * @optional
48
+ *
49
+ * @description
50
+ *
51
+ * Define a largura em porcentagem do `customTemplate`.
52
+ *
53
+ * O valor máximo aceito é `50%`.
54
+ */
55
+ widthCustomTemplate?: string;
56
+ }
@@ -1,6 +1,7 @@
1
1
  import { EventEmitter, TemplateRef } from '@angular/core';
2
2
  import { PoPopupAction } from '../po-popup';
3
3
  import { PoTagType } from '../po-tag';
4
+ import { PoWidgetAvatar } from './interfaces/po-widget-avatar.interface';
4
5
  /**
5
6
  *
6
7
  * @description
@@ -42,6 +43,7 @@ import { PoTagType } from '../po-tag';
42
43
  * | `--padding` - `@deprecated 21.x.x` | Preenchimento do componente | `1rem` |
43
44
  * | `--padding-header` | Preenchimento do header | `var(--spacing-sm) var(--spacing-sm) var(--spacing-xs) var(--spacing-sm)` |
44
45
  * | `--padding-body` | Preenchimento do body | `var(--spacing-xs) var(--spacing-sm) var(--spacing-xs) var(--spacing-sm)` |
46
+ * | `--padding-avatar` | Preenchimento do avatar | `var(--spacing-sm) 0 var(--spacing-xs) var(--spacing-sm)` |
45
47
  * | `--padding-footer` | Preenchimento do footer | `var(--spacing-xs) var(--spacing-sm) var(--spacing-sm) var(--spacing-sm)` |
46
48
  * | `--border-radius` | Contém o valor do raio dos cantos do elemento&nbsp; | `var(--border-radius-md)` |
47
49
  * | `--border-width` | Contém o valor da largura dos cantos do elemento&nbsp; | `var(--border-width-sm)` |
@@ -49,13 +51,13 @@ import { PoTagType } from '../po-tag';
49
51
  * | `--background` | Cor de background | `var(--color-neutral-light-00)` |
50
52
  * | `--shadow` | Contém o valor da sombra do elemento | `var(--shadow-md)` |
51
53
  * | **Hover** | | |
52
- * | `--border-color-hover` | Cor da borda no estado hover | `var(--color-action-hover)` |
54
+ * | `--border-color-hover` | Cor da borda no estado hover | `var(--color-action-hover)` |
53
55
  * | **Focused** | | |
54
56
  * | `--color-focused` | Cor principal no estado de focus | `var(--color-action-default)` |
55
57
  * | `--outline-color-focused` &nbsp; | Cor do outline do estado de focus | `var(--color-action-focus)` |
56
58
  *
57
59
  */
58
- export declare abstract class PoWidgetBaseComponent {
60
+ export declare class PoWidgetBaseComponent {
59
61
  private _size?;
60
62
  /** Descrição da segunda ação. */
61
63
  /**
@@ -167,6 +169,20 @@ export declare abstract class PoWidgetBaseComponent {
167
169
  * > Para o ícone enquadrar corretamente, deve-se utilizar `font-size: inherit` caso o ícone utilizado não aplique-o.
168
170
  */
169
171
  tagIcon: string | TemplateRef<void>;
172
+ /**
173
+ * @Input p-tag-position
174
+ *
175
+ * @optional
176
+ *
177
+ * @description
178
+ * Define o posicionamento da `po-tag` no cabeçalho do Widget:
179
+ * - `right`: posicionada no canto superior direito do cabeçalho.
180
+ * - `top`: posicionada à esquerda, acima do título (quando houver).
181
+ * - `bottom`: posicionada à esquerda, abaixo do título (quando houver).
182
+ *
183
+ * @default `right`
184
+ */
185
+ tagPosition: import("@angular/core").InputSignalWithTransform<string, string>;
170
186
  /**
171
187
  * @optional
172
188
  *
@@ -192,6 +208,16 @@ export declare abstract class PoWidgetBaseComponent {
192
208
  */
193
209
  set size(value: string);
194
210
  get size(): string;
211
+ /**
212
+ * @Input p-avatar
213
+ *
214
+ * @optional
215
+ *
216
+ * @description
217
+ *
218
+ * Define o avatar a ser exibido à esquerda no Widget.
219
+ */
220
+ avatar: import("@angular/core").InputSignalWithTransform<PoWidgetAvatar, PoWidgetAvatar>;
195
221
  /**
196
222
  * @optional
197
223
  *
@@ -337,5 +363,6 @@ export declare abstract class PoWidgetBaseComponent {
337
363
  */
338
364
  set title(value: string);
339
365
  get title(): string;
340
- abstract setHeight(height: number): any;
366
+ private transformAvatar;
367
+ private transformTagPosition;
341
368
  }
@@ -1,5 +1,5 @@
1
1
  import { AfterViewInit, ChangeDetectorRef, ElementRef, OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
- import { PoThemeService } from '../../services';
2
+ import { PoThemeA11yEnum, PoThemeService } from '../../services';
3
3
  import { PoButtonComponent } from '../po-button';
4
4
  import { PoPopupComponent } from '../po-popup';
5
5
  import { PoWidgetBaseComponent } from './po-widget-base.component';
@@ -42,9 +42,13 @@ export declare class PoWidgetComponent extends PoWidgetBaseComponent implements
42
42
  tagElement: ElementRef;
43
43
  contentContainer: ElementRef<HTMLElement>;
44
44
  get showTitleAction(): boolean;
45
+ avatarSrc: import("@angular/core").Signal<string>;
46
+ avatarSize: import("@angular/core").Signal<string>;
47
+ avatarCustomTemplate: import("@angular/core").Signal<import("@angular/core").TemplateRef<any>>;
48
+ avatarWidthCustomTemplate: import("@angular/core").Signal<string>;
45
49
  constructor();
46
50
  ngAfterViewInit(): void;
47
- get a11Level(): import("../..").PoThemeA11yEnum;
51
+ get a11Level(): PoThemeA11yEnum;
48
52
  ngOnChanges(changes: SimpleChanges): void;
49
53
  ngOnInit(): void;
50
54
  hasTitleHelpOrSetting(): boolean;
@@ -0,0 +1,17 @@
1
+ export declare const BORDER_WIDTH_NONE = 0;
2
+ export declare const BORDER_WIDTH_SM = 1;
3
+ export declare const BORDER_WIDTH_MD = 2;
4
+ export declare const BORDER_WIDTH_LG = 4;
5
+ export declare const BORDER_WIDTH_XL = 8;
6
+ export declare const SPACING_NONE = 0;
7
+ export declare const SPACING_XXS = 4;
8
+ export declare const SPACING_XS = 8;
9
+ export declare const SPACING_SM = 16;
10
+ export declare const SPACING_MD = 24;
11
+ export declare const SPACING_LG = 32;
12
+ export declare const SPACING_XL = 40;
13
+ export declare const SPACING_2XL = 48;
14
+ export declare const SPACING_3XL = 56;
15
+ export declare const SPACING_4XL = 64;
16
+ export declare const TARGET_SIZE_AAA = 44;
17
+ export declare const TARGET_SIZE_AA = 32;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@po-ui/ng-components",
3
- "version": "21.3.0",
3
+ "version": "21.4.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.0.3",
25
- "@po-ui/style": "21.3.0",
26
- "@po-ui/ng-schematics": "21.3.0",
25
+ "@po-ui/style": "21.4.0",
26
+ "@po-ui/ng-schematics": "21.4.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.3.0",
41
+ "@po-ui/style": "21.4.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.3.0');
21
+ (0, package_config_1.addPackageToPackageJson)(tree, '@po-ui/ng-components', '21.4.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.3.0', changes_1.updateDepedenciesVersion), postUpdate()]);
9
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.4.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.3.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
14
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.4.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.3.0', changes_1.updateDepedenciesVersion), postUpdate()]);
9
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.4.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.3.0', changes_1.updateDepedenciesVersion), postUpdate()]);
9
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.4.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.3.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
43
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.4.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.3.0', changes_1.updateDepedenciesVersion),
47
+ (0, package_config_1.updatePackageJson)('21.4.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.3.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
43
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.4.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.3.0', changes_1.updateDepedenciesVersion),
47
+ (0, package_config_1.updatePackageJson)('21.4.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.3.0', changes_1.dependeciesChanges),
13
+ updatePackageJson('21.4.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.3.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
43
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.4.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.3.0', changes_1.updateDepedenciesVersion),
47
+ (0, package_config_1.updatePackageJson)('21.4.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.3.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
12
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.4.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.3.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
10
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.4.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.3.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
10
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.4.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.3.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
10
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.4.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.3.0', changes_1.updateDepedenciesVersion), postUpdate()]);
9
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.4.0', changes_1.updateDepedenciesVersion), postUpdate()]);
10
10
  }
11
11
  function postUpdate() {
12
12
  return (_, context) => {