@po-ui/ng-components 19.0.0 → 19.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/po-ui-ng-components.mjs +1596 -607
- package/fesm2022/po-ui-ng-components.mjs.map +1 -1
- package/lib/components/po-chart/enums/po-chart-label-format.enum.d.ts +32 -0
- package/lib/components/po-chart/index.d.ts +1 -0
- package/lib/components/po-chart/interfaces/po-chart-axis-options.interface.d.ts +9 -0
- package/lib/components/po-chart/po-chart-container/po-chart-axis/po-chart-axis-label/po-chart-axis-label.component.d.ts +8 -2
- package/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-field.interface.d.ts +42 -1
- package/lib/components/po-field/po-checkbox/po-checkbox-base.component.d.ts +41 -1
- package/lib/components/po-field/po-checkbox/po-checkbox.component.d.ts +4 -0
- package/lib/components/po-field/po-checkbox/po-checkbox.module.d.ts +2 -1
- package/lib/components/po-field/po-checkbox-group/po-checkbox-group-base.component.d.ts +35 -1
- package/lib/components/po-field/po-checkbox-group/po-checkbox-group.component.d.ts +4 -0
- package/lib/components/po-field/po-combo/po-combo-base.component.d.ts +25 -6
- package/lib/components/po-field/po-combo/po-combo.component.d.ts +5 -0
- package/lib/components/po-field/po-datepicker/po-datepicker-base.component.d.ts +24 -7
- package/lib/components/po-field/po-datepicker/po-datepicker.component.d.ts +4 -0
- package/lib/components/po-field/po-datepicker-range/po-datepicker-range-base.component.d.ts +35 -1
- package/lib/components/po-field/po-datepicker-range/po-datepicker-range.component.d.ts +4 -0
- package/lib/components/po-field/po-field-container/po-field-container-bottom/po-field-container-bottom.component.d.ts +11 -3
- package/lib/components/po-field/po-field-validate.model.d.ts +1 -3
- package/lib/components/po-field/po-field.model.d.ts +39 -1
- package/lib/components/po-field/po-input/po-input-base.component.d.ts +39 -3
- package/lib/components/po-field/po-lookup/po-lookup-base.component.d.ts +35 -3
- package/lib/components/po-field/po-lookup/po-lookup.component.d.ts +4 -0
- package/lib/components/po-field/po-multiselect/po-multiselect-base.component.d.ts +25 -6
- package/lib/components/po-field/po-multiselect/po-multiselect.component.d.ts +4 -0
- package/lib/components/po-field/po-radio-group/po-radio-group-base.component.d.ts +35 -1
- package/lib/components/po-field/po-radio-group/po-radio-group.component.d.ts +4 -0
- package/lib/components/po-field/po-rich-text/po-rich-text-base.component.d.ts +34 -1
- package/lib/components/po-field/po-textarea/po-textarea-base.component.d.ts +35 -1
- package/lib/components/po-field/po-textarea/po-textarea.component.d.ts +4 -0
- package/lib/components/po-field/po-upload/po-upload-base.component.d.ts +35 -1
- package/lib/components/po-field/po-upload/po-upload.component.d.ts +4 -0
- package/lib/components/po-listbox/po-item-list/po-item-list.component.d.ts +1 -0
- package/lib/components/po-modal/po-modal-base.component.d.ts +0 -1
- package/lib/components/po-popover/po-popover-base.component.d.ts +14 -1
- package/lib/components/po-popover/po-popover.module.d.ts +2 -1
- package/package.json +4 -4
- package/po-ui-ng-components-19.2.0.tgz +0 -0
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-update/v14/index.js +1 -1
- package/schematics/ng-update/v15/index.js +1 -1
- package/schematics/ng-update/v16/index.js +1 -1
- package/schematics/ng-update/v17/index.js +1 -1
- package/schematics/ng-update/v18/index.js +2 -2
- package/schematics/ng-update/v19/index.js +2 -2
- package/schematics/ng-update/v2/index.js +1 -1
- package/schematics/ng-update/v3/index.js +1 -1
- package/schematics/ng-update/v4/index.js +1 -1
- package/schematics/ng-update/v5/index.js +1 -1
- package/schematics/ng-update/v6/index.js +1 -1
- package/po-ui-ng-components-19.0.0.tgz +0 -0
|
@@ -34,6 +34,7 @@ export declare class PoTextareaComponent extends PoTextareaBaseComponent impleme
|
|
|
34
34
|
valueBeforeChange: any;
|
|
35
35
|
fireChange: boolean;
|
|
36
36
|
constructor(cd: ChangeDetectorRef, el: ElementRef);
|
|
37
|
+
emitAdditionalHelp(): void;
|
|
37
38
|
/**
|
|
38
39
|
* Função que atribui foco ao componente.
|
|
39
40
|
*
|
|
@@ -53,6 +54,7 @@ export declare class PoTextareaComponent extends PoTextareaBaseComponent impleme
|
|
|
53
54
|
*/
|
|
54
55
|
focus(): void;
|
|
55
56
|
ngAfterViewInit(): void;
|
|
57
|
+
getAdditionalHelpTooltip(): string;
|
|
56
58
|
getErrorPattern(): string;
|
|
57
59
|
hasInvalidClass(): boolean;
|
|
58
60
|
writeValueModel(value: any): void;
|
|
@@ -61,6 +63,8 @@ export declare class PoTextareaComponent extends PoTextareaBaseComponent impleme
|
|
|
61
63
|
eventOnFocus(): void;
|
|
62
64
|
eventOnBlur(): void;
|
|
63
65
|
controlChangeEmitter(): void;
|
|
66
|
+
showAdditionalHelpIcon(): boolean;
|
|
67
|
+
private isAdditionalHelpEventTriggered;
|
|
64
68
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoTextareaComponent, never>;
|
|
65
69
|
static ɵcmp: i0.ɵɵComponentDeclaration<PoTextareaComponent, "po-textarea", never, {}, {}, never, never, false, never>;
|
|
66
70
|
}
|
|
@@ -29,6 +29,31 @@ export declare const poUploadLiteralsDefault: {
|
|
|
29
29
|
*/
|
|
30
30
|
export declare abstract class PoUploadBaseComponent implements ControlValueAccessor, Validator {
|
|
31
31
|
protected uploadService: PoUploadService;
|
|
32
|
+
additionalHelpEventTrigger: string | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* @optional
|
|
35
|
+
*
|
|
36
|
+
* @description
|
|
37
|
+
* Exibe um ícone de ajuda adicional ao `p-help`, com o texto desta propriedade no tooltip.
|
|
38
|
+
* Se o evento `p-additional-help` estiver definido, o tooltip não será exibido.
|
|
39
|
+
* **Como boa prática, indica-se utilizar um texto com até 140 caracteres.**
|
|
40
|
+
* > Requer um recuo mínimo de 8px se o componente estiver próximo à lateral da tela.
|
|
41
|
+
*/
|
|
42
|
+
additionalHelpTooltip?: string;
|
|
43
|
+
/**
|
|
44
|
+
* @optional
|
|
45
|
+
*
|
|
46
|
+
* @description
|
|
47
|
+
*
|
|
48
|
+
* Define que o tooltip (`p-additional-help-tooltip`) será incluído no body da página e não dentro do componente. Essa
|
|
49
|
+
* opção pode ser necessária em cenários com containers que possuem scroll ou overflow escondido, garantindo o
|
|
50
|
+
* posicionamento correto do tooltip próximo ao elemento.
|
|
51
|
+
*
|
|
52
|
+
* > Quando utilizado com `p-additional-help-tooltip`, leitores de tela como o NVDA podem não ler o conteúdo do tooltip.
|
|
53
|
+
*
|
|
54
|
+
* @default `false`
|
|
55
|
+
*/
|
|
56
|
+
appendBox?: boolean;
|
|
32
57
|
/**
|
|
33
58
|
* @optional
|
|
34
59
|
*
|
|
@@ -117,6 +142,14 @@ export declare abstract class PoUploadBaseComponent implements ControlValueAcces
|
|
|
117
142
|
* @default `true`
|
|
118
143
|
*/
|
|
119
144
|
requiredUrl: boolean;
|
|
145
|
+
/**
|
|
146
|
+
* @optional
|
|
147
|
+
*
|
|
148
|
+
* @description
|
|
149
|
+
* Evento disparado ao clicar no ícone de ajuda adicional.
|
|
150
|
+
* Este evento ativa automaticamente a exibição do ícone de ajuda adicional ao `p-help`.
|
|
151
|
+
*/
|
|
152
|
+
additionalHelp: EventEmitter<any>;
|
|
120
153
|
/**
|
|
121
154
|
* @optional
|
|
122
155
|
*
|
|
@@ -453,7 +486,8 @@ export declare abstract class PoUploadBaseComponent implements ControlValueAcces
|
|
|
453
486
|
abstract sendFeedback(): void;
|
|
454
487
|
abstract setDirectoryAttribute(value: boolean): any;
|
|
455
488
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoUploadBaseComponent, never>;
|
|
456
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<PoUploadBaseComponent, never, never, { "autoFocus": { "alias": "p-auto-focus"; "required": false; }; "dragDropHeight": { "alias": "p-drag-drop-height"; "required": false; }; "label": { "alias": "p-label"; "required": false; }; "help": { "alias": "p-help"; "required": false; }; "url": { "alias": "p-url"; "required": false; }; "name": { "alias": "name"; "required": false; }; "autoUpload": { "alias": "p-auto-upload"; "required": false; }; "disabledRemoveFile": { "alias": "p-disabled-remove-file"; "required": false; }; "optional": { "alias": "p-optional"; "required": false; }; "headers": { "alias": "p-headers"; "required": false; }; "requiredUrl": { "alias": "p-required-url"; "required": false; }; "customAction": { "alias": "p-custom-action"; "required": false; }; "directory": { "alias": "p-directory"; "required": false; }; "dragDrop": { "alias": "p-drag-drop"; "required": false; }; "hideRestrictionsInfo": { "alias": "p-hide-restrictions-info"; "required": false; }; "hideSelectButton": { "alias": "p-hide-select-button"; "required": false; }; "hideSendButton": { "alias": "p-hide-send-button"; "required": false; }; "literals": { "alias": "p-literals"; "required": false; }; "fileRestrictions": { "alias": "p-restrictions"; "required": false; }; "formField": { "alias": "p-form-field"; "required": false; }; "disabled": { "alias": "p-disabled"; "required": false; }; "isMultiple": { "alias": "p-multiple"; "required": false; }; "required": { "alias": "p-required"; "required": false; }; "showRequired": { "alias": "p-show-required"; "required": false; }; }, { "customActionClick": "p-custom-action-click"; "onUpload": "p-upload"; "onError": "p-error"; "onSuccess": "p-success"; "ngModelChange": "ngModelChange"; }, never, never, true, never>;
|
|
489
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PoUploadBaseComponent, never, never, { "additionalHelpEventTrigger": { "alias": "additionalHelpEventTrigger"; "required": false; }; "additionalHelpTooltip": { "alias": "p-additional-help-tooltip"; "required": false; }; "appendBox": { "alias": "p-append-in-body"; "required": false; }; "autoFocus": { "alias": "p-auto-focus"; "required": false; }; "dragDropHeight": { "alias": "p-drag-drop-height"; "required": false; }; "label": { "alias": "p-label"; "required": false; }; "help": { "alias": "p-help"; "required": false; }; "url": { "alias": "p-url"; "required": false; }; "name": { "alias": "name"; "required": false; }; "autoUpload": { "alias": "p-auto-upload"; "required": false; }; "disabledRemoveFile": { "alias": "p-disabled-remove-file"; "required": false; }; "optional": { "alias": "p-optional"; "required": false; }; "headers": { "alias": "p-headers"; "required": false; }; "requiredUrl": { "alias": "p-required-url"; "required": false; }; "customAction": { "alias": "p-custom-action"; "required": false; }; "directory": { "alias": "p-directory"; "required": false; }; "dragDrop": { "alias": "p-drag-drop"; "required": false; }; "hideRestrictionsInfo": { "alias": "p-hide-restrictions-info"; "required": false; }; "hideSelectButton": { "alias": "p-hide-select-button"; "required": false; }; "hideSendButton": { "alias": "p-hide-send-button"; "required": false; }; "literals": { "alias": "p-literals"; "required": false; }; "fileRestrictions": { "alias": "p-restrictions"; "required": false; }; "formField": { "alias": "p-form-field"; "required": false; }; "disabled": { "alias": "p-disabled"; "required": false; }; "isMultiple": { "alias": "p-multiple"; "required": false; }; "required": { "alias": "p-required"; "required": false; }; "showRequired": { "alias": "p-show-required"; "required": false; }; }, { "additionalHelp": "p-additional-help"; "customActionClick": "p-custom-action-click"; "onUpload": "p-upload"; "onError": "p-error"; "onSuccess": "p-success"; "ngModelChange": "ngModelChange"; }, never, never, true, never>;
|
|
490
|
+
static ngAcceptInputType_appendBox: any;
|
|
457
491
|
static ngAcceptInputType_autoFocus: any;
|
|
458
492
|
static ngAcceptInputType_disabledRemoveFile: any;
|
|
459
493
|
static ngAcceptInputType_requiredUrl: any;
|
|
@@ -71,6 +71,7 @@ export declare class PoUploadComponent extends PoUploadBaseComponent implements
|
|
|
71
71
|
ngAfterViewInit(): void;
|
|
72
72
|
/** Método responsável por **limpar** o(s) arquivo(s) selecionado(s). */
|
|
73
73
|
clear(): void;
|
|
74
|
+
emitAdditionalHelp(): void;
|
|
74
75
|
/**
|
|
75
76
|
* Função que atribui foco ao componente.
|
|
76
77
|
*
|
|
@@ -89,6 +90,7 @@ export declare class PoUploadComponent extends PoUploadBaseComponent implements
|
|
|
89
90
|
* ```
|
|
90
91
|
*/
|
|
91
92
|
focus(): void;
|
|
93
|
+
getAdditionalHelpTooltip(): string;
|
|
92
94
|
hasAnyFileUploading(files: Array<PoUploadFile>): boolean;
|
|
93
95
|
isAllowCancelEvent(status: PoUploadStatus): status is PoUploadStatus.Uploading | PoUploadStatus.Error | PoUploadStatus.None;
|
|
94
96
|
onFileChange(event: any): void;
|
|
@@ -100,11 +102,13 @@ export declare class PoUploadComponent extends PoUploadBaseComponent implements
|
|
|
100
102
|
/** Método responsável por **enviar** o(s) arquivo(s) selecionado(s). */
|
|
101
103
|
sendFiles(): void;
|
|
102
104
|
setDirectoryAttribute(canHandleDirectory: boolean): void;
|
|
105
|
+
showAdditionalHelpIcon(): boolean;
|
|
103
106
|
stopUpload(file: PoUploadFile): void;
|
|
104
107
|
trackByFn(index: any, file: PoUploadFile): string;
|
|
105
108
|
uploadFiles(files: Array<PoUploadFile>): void;
|
|
106
109
|
customClick(file: PoUploadFile): void;
|
|
107
110
|
private cleanInputValue;
|
|
111
|
+
private isAdditionalHelpEventTriggered;
|
|
108
112
|
private responseHandler;
|
|
109
113
|
private setPipeArguments;
|
|
110
114
|
private stopUploadHandler;
|
|
@@ -10,6 +10,7 @@ export declare class PoItemListComponent extends PoItemListBaseComponent impleme
|
|
|
10
10
|
protected param: any;
|
|
11
11
|
protected clickListener: () => void;
|
|
12
12
|
constructor(sanitized: DomSanitizer);
|
|
13
|
+
private shouldUpdateSelected;
|
|
13
14
|
ngOnChanges(changes: SimpleChanges): void;
|
|
14
15
|
onCheckboxItem(): void;
|
|
15
16
|
onComboItem(options: any, event: any): void;
|
|
@@ -71,7 +71,6 @@ export declare class PoModalBaseComponent {
|
|
|
71
71
|
* > Quando informado `auto` a modal calculará automaticamente seu tamanho baseado em seu conteúdo.
|
|
72
72
|
* Caso não seja informado um valor, a modal terá o tamanho definido como `md`.
|
|
73
73
|
*
|
|
74
|
-
* > Todas as opções de tamanho possuem uma largura máxima de **768px**.
|
|
75
74
|
*/
|
|
76
75
|
set size(value: string);
|
|
77
76
|
get size(): string;
|
|
@@ -20,6 +20,18 @@ import * as i0 from "@angular/core";
|
|
|
20
20
|
*
|
|
21
21
|
*/
|
|
22
22
|
export declare class PoPopoverBaseComponent {
|
|
23
|
+
/**
|
|
24
|
+
* @optional
|
|
25
|
+
*
|
|
26
|
+
* @description
|
|
27
|
+
*
|
|
28
|
+
* Define que o popover será inserido no body da página em vez do elemento definido em `p-target`. Essa opção pode
|
|
29
|
+
* ser necessária em cenários com containers que possuem scroll ou overflow escondido, garantindo o posicionamento
|
|
30
|
+
* correto do conteúdo próximo ao elemento.
|
|
31
|
+
*
|
|
32
|
+
* @default `false`
|
|
33
|
+
*/
|
|
34
|
+
appendBox: boolean;
|
|
23
35
|
/**
|
|
24
36
|
* @description
|
|
25
37
|
*
|
|
@@ -130,5 +142,6 @@ export declare class PoPopoverBaseComponent {
|
|
|
130
142
|
set trigger(value: string);
|
|
131
143
|
get trigger(): string;
|
|
132
144
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoPopoverBaseComponent, never>;
|
|
133
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<PoPopoverBaseComponent, never, never, { "target": { "alias": "p-target"; "required": false; }; "title": { "alias": "p-title"; "required": false; }; "hideArrow": { "alias": "p-hide-arrow"; "required": false; }; "position": { "alias": "p-position"; "required": false; }; "trigger": { "alias": "p-trigger"; "required": false; }; }, { "closePopover": "p-close"; }, never, never, true, never>;
|
|
145
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PoPopoverBaseComponent, never, never, { "appendBox": { "alias": "p-append-in-body"; "required": false; }; "target": { "alias": "p-target"; "required": false; }; "title": { "alias": "p-title"; "required": false; }; "hideArrow": { "alias": "p-hide-arrow"; "required": false; }; "position": { "alias": "p-position"; "required": false; }; "trigger": { "alias": "p-trigger"; "required": false; }; }, { "closePopover": "p-close"; }, never, never, true, never>;
|
|
146
|
+
static ngAcceptInputType_appendBox: any;
|
|
134
147
|
}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./po-popover.component";
|
|
3
3
|
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/cdk/overlay";
|
|
4
5
|
/**
|
|
5
6
|
* @description
|
|
6
7
|
* Módulo do componente po-popover.
|
|
7
8
|
*/
|
|
8
9
|
export declare class PoPopoverModule {
|
|
9
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoPopoverModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PoPopoverModule, [typeof i1.PoPopoverComponent], [typeof i2.CommonModule], [typeof i1.PoPopoverComponent]>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PoPopoverModule, [typeof i1.PoPopoverComponent], [typeof i2.CommonModule, typeof i3.OverlayModule], [typeof i1.PoPopoverComponent]>;
|
|
11
12
|
static ɵinj: i0.ɵɵInjectorDeclaration<PoPopoverModule>;
|
|
12
13
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@po-ui/ng-components",
|
|
3
|
-
"version": "19.
|
|
3
|
+
"version": "19.2.0",
|
|
4
4
|
"description": "PO UI - Components",
|
|
5
5
|
"author": "PO UI",
|
|
6
6
|
"license": "MIT",
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@angular/cdk": "~19.0.3",
|
|
25
|
-
"@po-ui/style": "19.
|
|
26
|
-
"@po-ui/ng-schematics": "19.
|
|
25
|
+
"@po-ui/style": "19.2.0",
|
|
26
|
+
"@po-ui/ng-schematics": "19.2.0",
|
|
27
27
|
"tslib": "^2.6.2"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@angular/platform-browser-dynamic": "^19",
|
|
38
38
|
"@angular/router": "^19",
|
|
39
39
|
"@angular-devkit/schematics": "^19",
|
|
40
|
-
"@po-ui/style": "19.
|
|
40
|
+
"@po-ui/style": "19.2.0",
|
|
41
41
|
"rxjs": "~7.8.1",
|
|
42
42
|
"zone.js": "~0.15.0"
|
|
43
43
|
},
|
|
Binary file
|
|
@@ -18,7 +18,7 @@ function default_1(options) {
|
|
|
18
18
|
}
|
|
19
19
|
function addPoPackageAndInstall() {
|
|
20
20
|
return (tree, context) => {
|
|
21
|
-
(0, package_config_1.addPackageToPackageJson)(tree, '@po-ui/ng-components', '19.
|
|
21
|
+
(0, package_config_1.addPackageToPackageJson)(tree, '@po-ui/ng-components', '19.2.0');
|
|
22
22
|
// install packages
|
|
23
23
|
context.addTask(new tasks_1.NodePackageInstallTask());
|
|
24
24
|
};
|
|
@@ -6,7 +6,7 @@ const tasks_1 = require("@angular-devkit/schematics/tasks");
|
|
|
6
6
|
const package_config_1 = require("@po-ui/ng-schematics/package-config");
|
|
7
7
|
const changes_1 = require("./changes");
|
|
8
8
|
function default_1() {
|
|
9
|
-
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.
|
|
9
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.2.0', changes_1.updateDepedenciesVersion), postUpdate()]);
|
|
10
10
|
}
|
|
11
11
|
function postUpdate() {
|
|
12
12
|
return (_, context) => {
|
|
@@ -11,7 +11,7 @@ const changes_1 = require("./changes");
|
|
|
11
11
|
const httpClientModuleName = 'HttpClientModule';
|
|
12
12
|
const httpClientModuleSourcePath = '@angular/common/http';
|
|
13
13
|
function default_1() {
|
|
14
|
-
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.
|
|
14
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.2.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
|
|
15
15
|
}
|
|
16
16
|
function postUpdate() {
|
|
17
17
|
return (_, context) => {
|
|
@@ -6,7 +6,7 @@ const tasks_1 = require("@angular-devkit/schematics/tasks");
|
|
|
6
6
|
const package_config_1 = require("@po-ui/ng-schematics/package-config");
|
|
7
7
|
const changes_1 = require("./changes");
|
|
8
8
|
function default_1() {
|
|
9
|
-
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.
|
|
9
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.2.0', changes_1.updateDepedenciesVersion), postUpdate()]);
|
|
10
10
|
}
|
|
11
11
|
function postUpdate() {
|
|
12
12
|
return (_, context) => {
|
|
@@ -6,7 +6,7 @@ const tasks_1 = require("@angular-devkit/schematics/tasks");
|
|
|
6
6
|
const package_config_1 = require("@po-ui/ng-schematics/package-config");
|
|
7
7
|
const changes_1 = require("./changes");
|
|
8
8
|
function default_1() {
|
|
9
|
-
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.
|
|
9
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.2.0', changes_1.updateDepedenciesVersion), postUpdate()]);
|
|
10
10
|
}
|
|
11
11
|
function postUpdate() {
|
|
12
12
|
return (_, context) => {
|
|
@@ -40,11 +40,11 @@ function main(options) {
|
|
|
40
40
|
configureNewIcon.toLowerCase() === 'y' ||
|
|
41
41
|
configureNewIcon.toLowerCase() === 'sim' ||
|
|
42
42
|
configureNewIcon.toLowerCase() === '') {
|
|
43
|
-
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.
|
|
43
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.2.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
|
|
44
44
|
}
|
|
45
45
|
else {
|
|
46
46
|
return (0, schematics_1.chain)([
|
|
47
|
-
(0, package_config_1.updatePackageJson)('19.
|
|
47
|
+
(0, package_config_1.updatePackageJson)('19.2.0', changes_1.updateDepedenciesVersion),
|
|
48
48
|
addImportOnly(options, [IconsDictionaryName, poIconDictionary], poModuleSourcePath),
|
|
49
49
|
addProviderToAppModule(options, newProviderDictionary),
|
|
50
50
|
updateAppConfigFileRule(),
|
|
@@ -40,11 +40,11 @@ function main(options) {
|
|
|
40
40
|
configureNewIcon.toLowerCase() === 'y' ||
|
|
41
41
|
configureNewIcon.toLowerCase() === 'sim' ||
|
|
42
42
|
configureNewIcon.toLowerCase() === '') {
|
|
43
|
-
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.
|
|
43
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.2.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
|
|
44
44
|
}
|
|
45
45
|
else {
|
|
46
46
|
return (0, schematics_1.chain)([
|
|
47
|
-
(0, package_config_1.updatePackageJson)('19.
|
|
47
|
+
(0, package_config_1.updatePackageJson)('19.2.0', changes_1.updateDepedenciesVersion),
|
|
48
48
|
addImportOnly(options, [IconsDictionaryName, poIconDictionary], poModuleSourcePath),
|
|
49
49
|
addProviderToAppModule(options, newProviderDictionary),
|
|
50
50
|
updateAppConfigFileRule(),
|
|
@@ -10,7 +10,7 @@ const package_config_1 = require("@po-ui/ng-schematics/package-config");
|
|
|
10
10
|
const changes_1 = require("./changes");
|
|
11
11
|
function updateToV2() {
|
|
12
12
|
return (0, schematics_1.chain)([
|
|
13
|
-
updatePackageJson('19.
|
|
13
|
+
updatePackageJson('19.2.0', changes_1.dependeciesChanges),
|
|
14
14
|
(0, replace_1.replaceInFile)('tslint.json', changes_1.tsLintReplaces),
|
|
15
15
|
(0, replace_1.replaceInFile)('angular.json', changes_1.angularJsonReplaces),
|
|
16
16
|
createUpgradeRule(),
|
|
@@ -7,7 +7,7 @@ const project_1 = require("@po-ui/ng-schematics/project");
|
|
|
7
7
|
const package_config_1 = require("@po-ui/ng-schematics/package-config");
|
|
8
8
|
const changes_1 = require("./changes");
|
|
9
9
|
function updateToV3() {
|
|
10
|
-
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.
|
|
10
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.2.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
|
|
11
11
|
}
|
|
12
12
|
function postUpdate() {
|
|
13
13
|
return (_, context) => {
|
|
@@ -7,7 +7,7 @@ const project_1 = require("@po-ui/ng-schematics/project");
|
|
|
7
7
|
const package_config_1 = require("@po-ui/ng-schematics/package-config");
|
|
8
8
|
const changes_1 = require("./changes");
|
|
9
9
|
function default_1() {
|
|
10
|
-
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.
|
|
10
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.2.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
|
|
11
11
|
}
|
|
12
12
|
function postUpdate() {
|
|
13
13
|
return (_, context) => {
|
|
@@ -7,7 +7,7 @@ const project_1 = require("@po-ui/ng-schematics/project");
|
|
|
7
7
|
const package_config_1 = require("@po-ui/ng-schematics/package-config");
|
|
8
8
|
const changes_1 = require("./changes");
|
|
9
9
|
function default_1() {
|
|
10
|
-
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.
|
|
10
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.2.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
|
|
11
11
|
}
|
|
12
12
|
function postUpdate() {
|
|
13
13
|
return (_, context) => {
|
|
@@ -6,7 +6,7 @@ const tasks_1 = require("@angular-devkit/schematics/tasks");
|
|
|
6
6
|
const package_config_1 = require("@po-ui/ng-schematics/package-config");
|
|
7
7
|
const changes_1 = require("./changes");
|
|
8
8
|
function default_1() {
|
|
9
|
-
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.
|
|
9
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.2.0', changes_1.updateDepedenciesVersion), postUpdate()]);
|
|
10
10
|
}
|
|
11
11
|
function postUpdate() {
|
|
12
12
|
return (_, context) => {
|
|
Binary file
|