@po-ui/ng-components 21.16.0 → 21.17.0-beta.1

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 (64) hide show
  1. package/fesm2022/{po-ui-ng-components-po-chart-modal-table.component-C4GP9pZp.mjs → po-ui-ng-components-po-chart-modal-table.component-ZnSFYVDt.mjs} +4 -4
  2. package/fesm2022/{po-ui-ng-components-po-chart-modal-table.component-C4GP9pZp.mjs.map → po-ui-ng-components-po-chart-modal-table.component-ZnSFYVDt.mjs.map} +1 -1
  3. package/fesm2022/po-ui-ng-components.mjs +18186 -14839
  4. package/fesm2022/po-ui-ng-components.mjs.map +1 -1
  5. package/lib/components/po-calendar/po-calendar-base.component.d.ts +54 -44
  6. package/lib/components/po-calendar/po-calendar-mode.enum.d.ts +2 -1
  7. package/lib/components/po-calendar/po-calendar.component.d.ts +7 -2
  8. package/lib/components/po-calendar/services/po-calendar.service.d.ts +1 -0
  9. package/lib/components/po-dynamic/po-dynamic-form/interfaces/po-dynamic-form-field.interface.d.ts +28 -8
  10. package/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-fields/po-dynamic-form-fields-base.component.d.ts +7 -0
  11. package/lib/components/po-field/index.d.ts +2 -0
  12. package/lib/components/po-field/po-datetimepicker/po-datetimepicker-base.component.d.ts +509 -0
  13. package/lib/components/po-field/po-datetimepicker/po-datetimepicker.component.d.ts +130 -0
  14. package/lib/components/po-field/po-datetimepicker/po-datetimepicker.literals.d.ts +42 -0
  15. package/lib/components/po-field/po-datetimepicker/po-datetimepicker.module.d.ts +7 -0
  16. package/lib/components/po-field/po-field.module.d.ts +1 -1
  17. package/lib/components/po-helper/interfaces/po-helper.interface.d.ts +10 -5
  18. package/lib/components/po-helper/po-helper.component.d.ts +2 -0
  19. package/lib/components/po-page/po-page-default/po-page-default-base.component.d.ts +35 -1
  20. package/lib/components/po-page/po-page-detail/po-page-detail-base.component.d.ts +11 -1
  21. package/lib/components/po-page/po-page-edit/po-page-edit-base.component.d.ts +11 -1
  22. package/lib/components/po-page/po-page-header/po-page-header-base.component.d.ts +10 -2
  23. package/lib/components/po-page/po-page-list/po-page-list-base.component.d.ts +11 -1
  24. package/lib/components/po-popover/po-popover.component.d.ts +1 -0
  25. package/lib/components/po-table/po-table.component.d.ts +35 -4
  26. package/lib/components/po-timer/po-timer.component.d.ts +2 -2
  27. package/lib/services/index.d.ts +1 -0
  28. package/lib/services/po-theme/helpers/types/po-theme-dark-defaults-AA.constant.d.ts +1 -0
  29. package/lib/services/po-theme/helpers/types/po-theme-dark-defaults.constant.d.ts +1 -0
  30. package/lib/services/po-user-guide/enums/index.d.ts +2 -0
  31. package/lib/services/po-user-guide/enums/po-user-guide-alignment.enum.d.ts +18 -0
  32. package/lib/services/po-user-guide/enums/po-user-guide-position.enum.d.ts +24 -0
  33. package/lib/services/po-user-guide/index.d.ts +6 -0
  34. package/lib/services/po-user-guide/interfaces/index.d.ts +6 -0
  35. package/lib/services/po-user-guide/interfaces/po-user-guide-end-event.interface.d.ts +46 -0
  36. package/lib/services/po-user-guide/interfaces/po-user-guide-literals.interface.d.ts +19 -0
  37. package/lib/services/po-user-guide/interfaces/po-user-guide-options.interface.d.ts +195 -0
  38. package/lib/services/po-user-guide/interfaces/po-user-guide-start-event.interface.d.ts +39 -0
  39. package/lib/services/po-user-guide/interfaces/po-user-guide-step-change-event.interface.d.ts +54 -0
  40. package/lib/services/po-user-guide/interfaces/po-user-guide-step.interface.d.ts +169 -0
  41. package/lib/services/po-user-guide/po-user-guide-base.service.d.ts +365 -0
  42. package/lib/services/po-user-guide/po-user-guide-scroll-lock.d.ts +55 -0
  43. package/lib/services/po-user-guide/po-user-guide.literals.d.ts +7 -0
  44. package/lib/services/po-user-guide/po-user-guide.module.d.ts +2 -0
  45. package/lib/services/po-user-guide/po-user-guide.service.d.ts +174 -0
  46. package/lib/utils/safe-text-parser.d.ts +23 -0
  47. package/package.json +5 -4
  48. package/po-ui-ng-components-21.17.0-beta.1.tgz +0 -0
  49. package/schematics/ng-add/index.js +1 -1
  50. package/schematics/ng-update/v14/index.js +1 -1
  51. package/schematics/ng-update/v15/index.js +1 -1
  52. package/schematics/ng-update/v16/index.js +1 -1
  53. package/schematics/ng-update/v17/index.js +1 -1
  54. package/schematics/ng-update/v18/index.js +2 -2
  55. package/schematics/ng-update/v19/index.js +2 -2
  56. package/schematics/ng-update/v2/index.js +1 -1
  57. package/schematics/ng-update/v20/index.js +2 -2
  58. package/schematics/ng-update/v21/index.js +1 -1
  59. package/schematics/ng-update/v3/index.js +1 -1
  60. package/schematics/ng-update/v4/index.js +1 -1
  61. package/schematics/ng-update/v5/index.js +1 -1
  62. package/schematics/ng-update/v6/index.js +1 -1
  63. package/types/po-ui-ng-components.d.ts +17325 -15403
  64. package/po-ui-ng-components-21.16.0.tgz +0 -0
@@ -0,0 +1,55 @@
1
+ export interface ScrollLockSnapshot {
2
+ scrollX: number;
3
+ scrollY: number;
4
+ scrollbarWidth: number;
5
+ documentElement: {
6
+ overflow: string;
7
+ overflowX: string;
8
+ overflowY: string;
9
+ position: string;
10
+ top: string;
11
+ left: string;
12
+ width: string;
13
+ paddingRight: string;
14
+ };
15
+ body: {
16
+ overflow: string;
17
+ overflowX: string;
18
+ overflowY: string;
19
+ position: string;
20
+ top: string;
21
+ left: string;
22
+ width: string;
23
+ paddingRight: string;
24
+ };
25
+ }
26
+ export type ScrollLockMode = 'blocked' | 'free';
27
+ export declare const SCROLL_KEYS: ReadonlySet<string>;
28
+ export declare function resolveScrollLockMode(options?: {
29
+ allowScroll?: unknown;
30
+ } | null): ScrollLockMode;
31
+ /**
32
+ * @internal
33
+ *
34
+ * Classe interna do PoUserGuideService responsável por congelar o scroll do navegador
35
+ * (`document.documentElement` e `document.body`) durante o
36
+ * ciclo de vida de um tour conduzido pelo `driver.js` e por restaurar o estado original
37
+ * de forma síncrona em qualquer caminho de saída.
38
+ *
39
+ */
40
+ export declare class PoUserGuideScrollLock {
41
+ private active;
42
+ private snapshot;
43
+ private wheelListener;
44
+ private touchListener;
45
+ private keydownListener;
46
+ isActive(): boolean;
47
+ lock(): void;
48
+ unlock(): void;
49
+ private isBrowser;
50
+ private captureSnapshot;
51
+ private applyLockStyles;
52
+ private restoreSnapshot;
53
+ private isScrollKey;
54
+ private isWithinEditableInPopover;
55
+ }
@@ -0,0 +1,7 @@
1
+ import { PoUserGuideLiterals } from './interfaces/po-user-guide-literals.interface';
2
+ export declare const poUserGuideLiteralsDefault: {
3
+ en: PoUserGuideLiterals;
4
+ es: PoUserGuideLiterals;
5
+ pt: PoUserGuideLiterals;
6
+ ru: PoUserGuideLiterals;
7
+ };
@@ -0,0 +1,2 @@
1
+ export declare class PoUserGuideModule {
2
+ }
@@ -0,0 +1,174 @@
1
+ import { DomSanitizer } from '@angular/platform-browser';
2
+ import { PoLanguageService } from '../../services/po-language/po-language.service';
3
+ import { PoUserGuideBaseService } from './po-user-guide-base.service';
4
+ import { PoUserGuideOptions, PoUserGuideStep } from './interfaces';
5
+ /**
6
+ * @docsExtends PoUserGuideBaseService
7
+ *
8
+ * @example
9
+ *
10
+ * <example name="po-user-guide-basic" title="PO User Guide Basic">
11
+ * <file name="sample-po-user-guide-basic/sample-po-user-guide-basic.component.html"> </file>
12
+ * <file name="sample-po-user-guide-basic/sample-po-user-guide-basic.component.ts"> </file>
13
+ * </example>
14
+ *
15
+ * <example name="po-user-guide-labs" title="PO User Guide Labs">
16
+ * <file name="sample-po-user-guide-labs/sample-po-user-guide-labs.component.html"> </file>
17
+ * <file name="sample-po-user-guide-labs/sample-po-user-guide-labs.component.ts"> </file>
18
+ * </example>
19
+ *
20
+ * <example name="po-user-guide-onboarding" title="PO User Guide - Onboarding">
21
+ * <file name="sample-po-user-guide-onboarding/sample-po-user-guide-onboarding.component.html"> </file>
22
+ * <file name="sample-po-user-guide-onboarding/sample-po-user-guide-onboarding.component.ts"> </file>
23
+ * </example>
24
+ */
25
+ export declare class PoUserGuideService extends PoUserGuideBaseService {
26
+ private readonly sanitizer;
27
+ private driverFactoryCache;
28
+ private driverInstance;
29
+ private pendingEndReason;
30
+ private readonly scrollLock;
31
+ private activeScrollLockEnabled;
32
+ private static stylesInjected;
33
+ constructor(languageService: PoLanguageService, sanitizer: DomSanitizer);
34
+ private isBrowser;
35
+ protected importDriver(): Promise<any>;
36
+ private loadDriverFactory;
37
+ private injectStyles;
38
+ private sanitizeText;
39
+ private mapStepsToDriveSteps;
40
+ private handlePopoverRender;
41
+ private focusPopoverDescription;
42
+ private applyDoneButtonLabel;
43
+ private applyPoButtonStyles;
44
+ /**
45
+ * Substitui o `&times;` nativo do Driver.js pelo ícone de fechar do PO UI (`ICON_CLOSE`).
46
+ *
47
+ * O ícone é referenciado pela classe da fonte (`an an-x`) via `AnimaliaIconDictionary`,
48
+ * evitando duplicar o codepoint da fonte Animalia diretamente no CSS.
49
+ */
50
+ private applyCloseButtonIcon;
51
+ private buildDriverConfig;
52
+ private handleHighlightStarted;
53
+ private resolveActiveIndex;
54
+ private resolveShowButtons;
55
+ private handleDestroyed;
56
+ private handleCloseClick;
57
+ /**
58
+ * @description
59
+ *
60
+ * Configura a lista de passos que serão exibidos durante a execução do tour guiado.
61
+ *
62
+ * @param {Array<PoUserGuideStep>} steps Lista de passos do tour a ser configurada. Deve conter ao menos um
63
+ * passo válido com a propriedade `content` definida.
64
+ *
65
+ * @returns {this} A própria instância do serviço, possibilitando o encadeamento fluente de chamadas.
66
+ *
67
+ * @throws {Error} Quando `steps` é `null`, `undefined`, não é um `Array`, está vazio, contém um passo
68
+ * inválido, contém um passo sem a propriedade `content` definida ou contém um passo cujo `element` é
69
+ * uma string com sintaxe de seletor CSS inválida.
70
+ */
71
+ setSteps(steps: Array<PoUserGuideStep>): this;
72
+ /**
73
+ * @description
74
+ *
75
+ * Configura as opções globais que serão aplicadas durante a execução do tour guiado.
76
+ *
77
+ * @param {PoUserGuideOptions} [options] Objeto com as opções globais do tour a ser configurado. Quando
78
+ * omitido ou `undefined`, apenas os valores padrão do PO UI são aplicados.
79
+ *
80
+ * @returns {this} A própria instância do serviço, possibilitando o encadeamento fluente de chamadas.
81
+ */
82
+ setOptions(options?: PoUserGuideOptions): this;
83
+ /**
84
+ * @description
85
+ *
86
+ * Inicia a execução do tour previamente configurado por meio de `setSteps` e, opcionalmente, `setOptions`.
87
+ *
88
+ * @override
89
+ *
90
+ * @param {number} [startIndex=0] Índice, com base zero, do passo a partir do qual o tour deve iniciar.
91
+ * Deve ser um inteiro contido no intervalo `[0, steps.length - 1]`.
92
+ *
93
+ * @throws {Error} Quando a lista de passos ainda não foi configurada via `setSteps` ou está vazia.
94
+ * @throws {Error} Quando `startIndex` não é um número inteiro contido em `[0, steps.length - 1]`.
95
+ *
96
+ * @returns {Promise<void>} `Promise` que é resolvida quando o tour é iniciado com sucesso e
97
+ * rejeitada com um `Error` de mensagem padronizada quando ocorre falha na carga da dependência
98
+ * `driver.js` ou na inicialização do tour.
99
+ */
100
+ start(startIndex?: number): Promise<void>;
101
+ /**
102
+ * @description
103
+ *
104
+ * Encerra o tour em execução, disparando, em sequência, o ciclo de limpeza de estado e a emissão de
105
+ * `tourEnd$`.
106
+ *
107
+ * @override
108
+ */
109
+ close(): void;
110
+ /**
111
+ * @description
112
+ *
113
+ * Encerra o tour em execução.
114
+ *
115
+ * @override
116
+ */
117
+ exit(): void;
118
+ /**
119
+ * @description
120
+ *
121
+ * Avança o tour em execução para o próximo passo.
122
+ *
123
+ * @override
124
+ */
125
+ next(): void;
126
+ /**
127
+ * @description
128
+ *
129
+ * Retrocede o tour em execução para o passo anterior.
130
+ *
131
+ * @override
132
+ */
133
+ previous(): void;
134
+ /**
135
+ * @description
136
+ *
137
+ * Move o tour diretamente para o passo identificado pelo `index` informado, que deve ser um número inteiro contido em `[0, steps.length - 1]`. Se o tour ainda não estiver em execução, o método inicia o tour a partir do passo indicado por `index`.
138
+ *
139
+ * @override
140
+ *
141
+ * @param {number} index Índice, com base zero, do passo de destino. Deve ser um inteiro contido
142
+ * em `[0, steps.length - 1]`.
143
+ *
144
+ * @throws {Error} Quando `index` não é um número inteiro contido em `[0, steps.length - 1]`.
145
+ */
146
+ goTo(index: number): void;
147
+ /**
148
+ * @description
149
+ *
150
+ * Indica se há um tour em execução no momento da consulta.
151
+ *
152
+ * @returns {boolean} `true` quando existe um tour em execução; `false` em qualquer outro caso (antes do primeiro `start()`,
153
+ * após `close()`/`exit()` ou após o encerramento natural do tour).
154
+ */
155
+ isActive(): boolean;
156
+ /**
157
+ * @description
158
+ *
159
+ * Retorna o `PoUserGuideStep` correspondente ao passo ativo no momento da consulta.
160
+ *
161
+ * @returns {PoUserGuideStep | null} O passo ativo, quando há um tour em execução; `null` em qualquer
162
+ * outro caso.
163
+ */
164
+ getCurrentStep(): PoUserGuideStep | null;
165
+ /**
166
+ * @description
167
+ *
168
+ * Retorna o índice, com base zero, do passo ativo no momento da consulta.
169
+ *
170
+ * @returns {number} O índice, com base zero, do passo ativo, contido em `[0, steps.length - 1]`,
171
+ * quando há um tour em execução; `-1` em qualquer outro caso.
172
+ */
173
+ getCurrentIndex(): number;
174
+ }
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Parser seguro de tags de formatação (`<b>`, `<strong>`, `<i>`, `<em>`, `<u>`).
3
+ * Não utiliza `innerHTML`. Tags fora da whitelist são removidas (proteção XSS).
4
+ */
5
+ /** Fragmento de texto com flags de formatação. */
6
+ export interface PoTextFragment {
7
+ text: string;
8
+ bold: boolean;
9
+ italic: boolean;
10
+ underline: boolean;
11
+ }
12
+ /** Tags de formatação suportadas. */
13
+ export type PoFormattingTag = 'b' | 'i' | 'u' | 'strong' | 'em';
14
+ /**
15
+ * Faz o parsing seguro de uma string com tags de formatação.
16
+ *
17
+ * O consumidor declara quais tags aceita via `allowedTags` (obrigatório).
18
+ * Tags não listadas são removidas. Tags aninhadas são suportadas.
19
+ *
20
+ * @param content String com possíveis tags de formatação.
21
+ * @param allowedTags Tags permitidas pelo consumidor.
22
+ */
23
+ export declare function parseSafeText(content: string, allowedTags: Array<PoFormattingTag>): Array<PoTextFragment>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@po-ui/ng-components",
3
- "version": "21.16.0",
3
+ "version": "21.17.0-beta.1",
4
4
  "description": "PO UI - Components",
5
5
  "author": "PO UI",
6
6
  "license": "MIT",
@@ -22,8 +22,9 @@
22
22
  },
23
23
  "dependencies": {
24
24
  "@angular/cdk": "~21.2.4",
25
- "@po-ui/style": "21.16.0",
26
- "@po-ui/ng-schematics": "21.16.0",
25
+ "@po-ui/style": "21.17.0-beta.1",
26
+ "@po-ui/ng-schematics": "21.17.0-beta.1",
27
+ "driver.js": "~1.4.0",
27
28
  "echarts": "^5.6.0",
28
29
  "tslib": "^2.6.2"
29
30
  },
@@ -38,7 +39,7 @@
38
39
  "@angular/platform-browser-dynamic": "^21",
39
40
  "@angular/router": "^21",
40
41
  "@angular-devkit/schematics": "^21",
41
- "@po-ui/style": "21.16.0",
42
+ "@po-ui/style": "21.17.0-beta.1",
42
43
  "rxjs": "~7.8.1",
43
44
  "zone.js": "~0.15.0"
44
45
  },
@@ -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.16.0');
21
+ (0, package_config_1.addPackageToPackageJson)(tree, '@po-ui/ng-components', '21.17.0-beta.1');
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.16.0', changes_1.updateDepedenciesVersion), postUpdate()]);
9
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.17.0-beta.1', 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.16.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
14
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.17.0-beta.1', 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.16.0', changes_1.updateDepedenciesVersion), postUpdate()]);
9
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.17.0-beta.1', 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.16.0', changes_1.updateDepedenciesVersion), postUpdate()]);
9
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.17.0-beta.1', 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.16.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
43
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.17.0-beta.1', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
44
44
  }
45
45
  else {
46
46
  return (0, schematics_1.chain)([
47
- (0, package_config_1.updatePackageJson)('21.16.0', changes_1.updateDepedenciesVersion),
47
+ (0, package_config_1.updatePackageJson)('21.17.0-beta.1', 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.16.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
43
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.17.0-beta.1', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
44
44
  }
45
45
  else {
46
46
  return (0, schematics_1.chain)([
47
- (0, package_config_1.updatePackageJson)('21.16.0', changes_1.updateDepedenciesVersion),
47
+ (0, package_config_1.updatePackageJson)('21.17.0-beta.1', 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.16.0', changes_1.dependeciesChanges),
13
+ updatePackageJson('21.17.0-beta.1', 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.16.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
43
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.17.0-beta.1', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
44
44
  }
45
45
  else {
46
46
  return (0, schematics_1.chain)([
47
- (0, package_config_1.updatePackageJson)('21.16.0', changes_1.updateDepedenciesVersion),
47
+ (0, package_config_1.updatePackageJson)('21.17.0-beta.1', 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.16.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
12
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.17.0-beta.1', 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.16.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
10
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.17.0-beta.1', 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.16.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
10
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.17.0-beta.1', 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.16.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
10
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.17.0-beta.1', 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.16.0', changes_1.updateDepedenciesVersion), postUpdate()]);
9
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.17.0-beta.1', changes_1.updateDepedenciesVersion), postUpdate()]);
10
10
  }
11
11
  function postUpdate() {
12
12
  return (_, context) => {