@po-ui/ng-components 19.3.0-beta.1 → 19.3.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.
- package/fesm2022/po-ui-ng-components.mjs +44 -124
- package/fesm2022/po-ui-ng-components.mjs.map +1 -1
- package/lib/components/po-field/po-combo/po-combo-base.component.d.ts +1 -10
- package/lib/components/po-field/po-multiselect/po-multiselect-base.component.d.ts +1 -10
- package/lib/components/po-field/po-select/po-select.component.d.ts +1 -10
- package/lib/services/po-i18n/index.d.ts +0 -1
- package/lib/services/po-i18n/interfaces/po-i18n-config.interface.d.ts +1 -2
- package/lib/services/po-i18n/po-i18n-config-injection-token.d.ts +1 -1
- package/lib/services/po-i18n/po-i18n.module.d.ts +2 -1
- package/lib/services/po-i18n/po-i18n.service.d.ts +1 -2
- package/package.json +4 -4
- package/po-ui-ng-components-19.3.1.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/lib/services/po-i18n/interfaces/po-i18n-config-context.interface.d.ts +0 -18
- package/po-ui-ng-components-19.3.0-beta.1.tgz +0 -0
|
@@ -291,12 +291,6 @@ export declare abstract class PoComboBaseComponent implements ControlValueAccess
|
|
|
291
291
|
*
|
|
292
292
|
*/
|
|
293
293
|
inputChange: EventEmitter<string>;
|
|
294
|
-
/**
|
|
295
|
-
* @docsPrivate
|
|
296
|
-
*
|
|
297
|
-
* Determinar se o valor do compo deve retorna objeto do tipo {value: any, label: any}
|
|
298
|
-
*/
|
|
299
|
-
controlValueWithLabel?: boolean;
|
|
300
294
|
cacheOptions: Array<any>;
|
|
301
295
|
defaultService: PoComboFilterService;
|
|
302
296
|
firstInWriteValue: boolean;
|
|
@@ -574,8 +568,6 @@ export declare abstract class PoComboBaseComponent implements ControlValueAccess
|
|
|
574
568
|
private comboListDefinitions;
|
|
575
569
|
private checkIfService;
|
|
576
570
|
private compareOptions;
|
|
577
|
-
private getValueUpdate;
|
|
578
|
-
private getValueWrite;
|
|
579
571
|
private hasDuplicatedOption;
|
|
580
572
|
private listingComboOptions;
|
|
581
573
|
private sortOptions;
|
|
@@ -593,12 +585,11 @@ export declare abstract class PoComboBaseComponent implements ControlValueAccess
|
|
|
593
585
|
abstract getInputValue(): string;
|
|
594
586
|
abstract initInputObservable(): void;
|
|
595
587
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoComboBaseComponent, never>;
|
|
596
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<PoComboBaseComponent, never, never, { "additionalHelpEventTrigger": { "alias": "additionalHelpEventTrigger"; "required": false; }; "additionalHelpTooltip": { "alias": "p-additional-help-tooltip"; "required": false; }; "autoFocus": { "alias": "p-auto-focus"; "required": false; }; "label": { "alias": "p-label"; "required": false; }; "help": { "alias": "p-help"; "required": false; }; "name": { "alias": "name"; "required": false; }; "filterService": { "alias": "p-filter-service"; "required": false; }; "infiniteScroll": { "alias": "p-infinite-scroll"; "required": false; }; "infiniteScrollDistance": { "alias": "p-infinite-scroll-distance"; "required": false; }; "icon": { "alias": "p-icon"; "required": false; }; "optional": { "alias": "p-optional"; "required": false; }; "clean": { "alias": "p-clean"; "required": false; }; "emitObjectValue": { "alias": "p-emit-object-value"; "required": false; }; "disabledTabFilter": { "alias": "p-disabled-tab-filter"; "required": false; }; "removeInitialFilter": { "alias": "p-remove-initial-filter"; "required": false; }; "fieldErrorMessage": { "alias": "p-field-error-message"; "required": false; }; "errorLimit": { "alias": "p-error-limit"; "required": false; }; "
|
|
588
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PoComboBaseComponent, never, never, { "additionalHelpEventTrigger": { "alias": "additionalHelpEventTrigger"; "required": false; }; "additionalHelpTooltip": { "alias": "p-additional-help-tooltip"; "required": false; }; "autoFocus": { "alias": "p-auto-focus"; "required": false; }; "label": { "alias": "p-label"; "required": false; }; "help": { "alias": "p-help"; "required": false; }; "name": { "alias": "name"; "required": false; }; "filterService": { "alias": "p-filter-service"; "required": false; }; "infiniteScroll": { "alias": "p-infinite-scroll"; "required": false; }; "infiniteScrollDistance": { "alias": "p-infinite-scroll-distance"; "required": false; }; "icon": { "alias": "p-icon"; "required": false; }; "optional": { "alias": "p-optional"; "required": false; }; "clean": { "alias": "p-clean"; "required": false; }; "emitObjectValue": { "alias": "p-emit-object-value"; "required": false; }; "disabledTabFilter": { "alias": "p-disabled-tab-filter"; "required": false; }; "removeInitialFilter": { "alias": "p-remove-initial-filter"; "required": false; }; "fieldErrorMessage": { "alias": "p-field-error-message"; "required": false; }; "errorLimit": { "alias": "p-error-limit"; "required": false; }; "placeholder": { "alias": "p-placeholder"; "required": false; }; "debounceTime": { "alias": "p-debounce-time"; "required": false; }; "disabledInitFilter": { "alias": "p-disabled-init-filter"; "required": false; }; "fieldValue": { "alias": "p-field-value"; "required": false; }; "fieldLabel": { "alias": "p-field-label"; "required": false; }; "filterMinlength": { "alias": "p-filter-minlength"; "required": false; }; "required": { "alias": "p-required"; "required": false; }; "showRequired": { "alias": "p-show-required"; "required": false; }; "changeOnEnter": { "alias": "p-change-on-enter"; "required": false; }; "disabled": { "alias": "p-disabled"; "required": false; }; "sort": { "alias": "p-sort"; "required": false; }; "options": { "alias": "p-options"; "required": false; }; "filterMode": { "alias": "p-filter-mode"; "required": false; }; "filterParams": { "alias": "p-filter-params"; "required": false; }; "literals": { "alias": "p-literals"; "required": false; }; "cache": { "alias": "p-cache"; "required": false; }; "appendBox": { "alias": "p-append-in-body"; "required": false; }; }, { "additionalHelp": "p-additional-help"; "change": "p-change"; "keydown": "p-keydown"; "ngModelChange": "ngModelChange"; "inputChange": "p-input-change"; }, never, never, true, never>;
|
|
597
589
|
static ngAcceptInputType_autoFocus: any;
|
|
598
590
|
static ngAcceptInputType_clean: any;
|
|
599
591
|
static ngAcceptInputType_emitObjectValue: any;
|
|
600
592
|
static ngAcceptInputType_disabledTabFilter: any;
|
|
601
|
-
static ngAcceptInputType_controlValueWithLabel: any;
|
|
602
593
|
static ngAcceptInputType_cache: any;
|
|
603
594
|
static ngAcceptInputType_appendBox: any;
|
|
604
595
|
}
|
|
@@ -201,12 +201,6 @@ export declare abstract class PoMultiselectBaseComponent implements ControlValue
|
|
|
201
201
|
* @default `false`
|
|
202
202
|
*/
|
|
203
203
|
appendBox?: boolean;
|
|
204
|
-
/**
|
|
205
|
-
* @docsPrivate
|
|
206
|
-
*
|
|
207
|
-
* Determinar se o valor do compo deve retorna objeto do tipo {value: any, label: any}
|
|
208
|
-
*/
|
|
209
|
-
controlValueWithLabel?: boolean;
|
|
210
204
|
selectedOptions: Array<PoMultiselectOption | any>;
|
|
211
205
|
visibleOptionsDropdown: Array<PoMultiselectOption | any>;
|
|
212
206
|
visibleTags: any[];
|
|
@@ -479,17 +473,14 @@ export declare abstract class PoMultiselectBaseComponent implements ControlValue
|
|
|
479
473
|
registerOnChange(fn: any): void;
|
|
480
474
|
registerOnTouched(fn: any): void;
|
|
481
475
|
registerOnValidatorChange(fn: () => void): void;
|
|
482
|
-
private getValueUpdate;
|
|
483
|
-
private getValueWrite;
|
|
484
476
|
private setLabelsAndValuesOptions;
|
|
485
477
|
private validateModel;
|
|
486
478
|
abstract applyFilter(value?: string): Observable<Array<PoMultiselectOption | any>>;
|
|
487
479
|
abstract updateVisibleItems(): void;
|
|
488
480
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoMultiselectBaseComponent, never>;
|
|
489
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<PoMultiselectBaseComponent, never, never, { "additionalHelpEventTrigger": { "alias": "additionalHelpEventTrigger"; "required": false; }; "additionalHelpTooltip": { "alias": "p-additional-help-tooltip"; "required": false; }; "autoFocus": { "alias": "p-auto-focus"; "required": false; }; "label": { "alias": "p-label"; "required": false; }; "help": { "alias": "p-help"; "required": false; }; "optional": { "alias": "p-optional"; "required": false; }; "placeholder": { "alias": "p-placeholder"; "required": false; }; "placeholderSearch": { "alias": "p-placeholder-search"; "required": false; }; "name": { "alias": "name"; "required": false; }; "hideSelectAll": { "alias": "p-hide-select-all"; "required": false; }; "fieldErrorMessage": { "alias": "p-field-error-message"; "required": false; }; "errorLimit": { "alias": "p-error-limit"; "required": false; }; "appendBox": { "alias": "p-append-in-body"; "required": false; }; "
|
|
481
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PoMultiselectBaseComponent, never, never, { "additionalHelpEventTrigger": { "alias": "additionalHelpEventTrigger"; "required": false; }; "additionalHelpTooltip": { "alias": "p-additional-help-tooltip"; "required": false; }; "autoFocus": { "alias": "p-auto-focus"; "required": false; }; "label": { "alias": "p-label"; "required": false; }; "help": { "alias": "p-help"; "required": false; }; "optional": { "alias": "p-optional"; "required": false; }; "placeholder": { "alias": "p-placeholder"; "required": false; }; "placeholderSearch": { "alias": "p-placeholder-search"; "required": false; }; "name": { "alias": "name"; "required": false; }; "hideSelectAll": { "alias": "p-hide-select-all"; "required": false; }; "fieldErrorMessage": { "alias": "p-field-error-message"; "required": false; }; "errorLimit": { "alias": "p-error-limit"; "required": false; }; "appendBox": { "alias": "p-append-in-body"; "required": false; }; "filterService": { "alias": "p-filter-service"; "required": false; }; "autoHeight": { "alias": "p-auto-height"; "required": false; }; "debounceTime": { "alias": "p-debounce-time"; "required": false; }; "literals": { "alias": "p-literals"; "required": false; }; "required": { "alias": "p-required"; "required": false; }; "showRequired": { "alias": "p-show-required"; "required": false; }; "disabled": { "alias": "p-disabled"; "required": false; }; "hideSearch": { "alias": "p-hide-search"; "required": false; }; "options": { "alias": "p-options"; "required": false; }; "sort": { "alias": "p-sort"; "required": false; }; "filterMode": { "alias": "p-filter-mode"; "required": false; }; "fieldLabel": { "alias": "p-field-label"; "required": false; }; "fieldValue": { "alias": "p-field-value"; "required": false; }; }, { "additionalHelp": "p-additional-help"; "change": "p-change"; "keydown": "p-keydown"; }, never, never, true, never>;
|
|
490
482
|
static ngAcceptInputType_autoFocus: any;
|
|
491
483
|
static ngAcceptInputType_hideSelectAll: any;
|
|
492
484
|
static ngAcceptInputType_appendBox: any;
|
|
493
|
-
static ngAcceptInputType_controlValueWithLabel: any;
|
|
494
485
|
static ngAcceptInputType_autoHeight: any;
|
|
495
486
|
}
|
|
@@ -175,12 +175,6 @@ export declare class PoSelectComponent extends PoFieldValidateModel<any> impleme
|
|
|
175
175
|
* @default `value`
|
|
176
176
|
*/
|
|
177
177
|
set fieldValue(value: string);
|
|
178
|
-
/**
|
|
179
|
-
* @docsPrivate
|
|
180
|
-
*
|
|
181
|
-
* Determinar se o valor do compo deve retorna objeto do tipo {value: any, label: any}
|
|
182
|
-
*/
|
|
183
|
-
controlValueWithLabel?: boolean;
|
|
184
178
|
get fieldValue(): string;
|
|
185
179
|
get iconNameLib(): string;
|
|
186
180
|
constructor(value: {
|
|
@@ -241,13 +235,10 @@ export declare class PoSelectComponent extends PoFieldValidateModel<any> impleme
|
|
|
241
235
|
showAdditionalHelp(): boolean;
|
|
242
236
|
private isEqual;
|
|
243
237
|
private findOptionValue;
|
|
244
|
-
private getValueUpdate;
|
|
245
|
-
private getValueWrite;
|
|
246
238
|
private transformInArray;
|
|
247
239
|
private separateOptions;
|
|
248
240
|
private validateOptions;
|
|
249
241
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoSelectComponent, [{ optional: true; }, null, null, null]>;
|
|
250
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PoSelectComponent, "po-select", never, { "readonly": { "alias": "p-readonly"; "required": false; }; "placeholder": { "alias": "p-placeholder"; "required": false; }; "options": { "alias": "p-options"; "required": false; }; "fieldLabel": { "alias": "p-field-label"; "required": false; }; "fieldValue": { "alias": "p-field-value"; "required": false; };
|
|
242
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PoSelectComponent, "po-select", never, { "readonly": { "alias": "p-readonly"; "required": false; }; "placeholder": { "alias": "p-placeholder"; "required": false; }; "options": { "alias": "p-options"; "required": false; }; "fieldLabel": { "alias": "p-field-label"; "required": false; }; "fieldValue": { "alias": "p-field-value"; "required": false; }; }, { "ngModelChange": "ngModelChange"; }, never, never, false, never>;
|
|
251
243
|
static ngAcceptInputType_readonly: any;
|
|
252
|
-
static ngAcceptInputType_controlValueWithLabel: any;
|
|
253
244
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export * from './interfaces/po-i18n-config.interface';
|
|
2
|
-
export * from './interfaces/po-i18n-config-context.interface';
|
|
3
2
|
export * from './interfaces/po-i18n-config-default.interface';
|
|
4
3
|
export * from './interfaces/po-i18n-literals.interface';
|
|
5
4
|
export * from './po-i18n.pipe';
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { PoI18nConfigDefault } from './po-i18n-config-default.interface';
|
|
2
|
-
import { PoI18nConfigContext } from './po-i18n-config-context.interface';
|
|
3
2
|
/**
|
|
4
3
|
* @description
|
|
5
4
|
*
|
|
@@ -75,5 +74,5 @@ export interface PoI18nConfig {
|
|
|
75
74
|
* ```
|
|
76
75
|
* > Caso a constante contenha alguma literal que o serviço não possua será utilizado a literal da constante.
|
|
77
76
|
*/
|
|
78
|
-
contexts:
|
|
77
|
+
contexts: object;
|
|
79
78
|
}
|
|
@@ -139,6 +139,7 @@ import * as i1 from "../po-language/po-language.module";
|
|
|
139
139
|
* Para aplicações que utilizem a abordagem de módulos com carregamento *lazy loading*, caso seja
|
|
140
140
|
* definida outra configuração do `PoI18nModule`, deve-se atentar os seguintes detalhes:
|
|
141
141
|
*
|
|
142
|
+
* - Caso existam literais comuns na aplicação, estas devem ser reimportadas;
|
|
142
143
|
* - Não defina outra *default language* para este módulo. Caso for definida, será sobreposta para
|
|
143
144
|
* toda a aplicação;
|
|
144
145
|
* - Caso precise de módulos carregados via *lazy loading* com linguagens diferentes, utilize o
|
|
@@ -151,4 +152,4 @@ export declare class PoI18nModule {
|
|
|
151
152
|
static ɵmod: i0.ɵɵNgModuleDeclaration<PoI18nModule, never, [typeof i1.PoLanguageModule], never>;
|
|
152
153
|
static ɵinj: i0.ɵɵInjectorDeclaration<PoI18nModule>;
|
|
153
154
|
}
|
|
154
|
-
export declare function initializeLanguageDefault(
|
|
155
|
+
export declare function initializeLanguageDefault(config: PoI18nConfig, languageService: PoLanguageService): () => void;
|
|
@@ -10,5 +10,4 @@ export declare class PoI18nService extends PoI18nBaseService {
|
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoI18nService, never>;
|
|
11
11
|
static ɵprov: i0.ɵɵInjectableDeclaration<PoI18nService>;
|
|
12
12
|
}
|
|
13
|
-
export declare function returnPoI18nService(
|
|
14
|
-
export declare function mergePoI18nConfigs(objects: Array<any>): any;
|
|
13
|
+
export declare function returnPoI18nService(config: PoI18nConfig, http: HttpClient, languageService: PoLanguageService): PoI18nService;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@po-ui/ng-components",
|
|
3
|
-
"version": "19.3.
|
|
3
|
+
"version": "19.3.1",
|
|
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.3.
|
|
26
|
-
"@po-ui/ng-schematics": "19.3.
|
|
25
|
+
"@po-ui/style": "19.3.1",
|
|
26
|
+
"@po-ui/ng-schematics": "19.3.1",
|
|
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.3.
|
|
40
|
+
"@po-ui/style": "19.3.1",
|
|
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.3.
|
|
21
|
+
(0, package_config_1.addPackageToPackageJson)(tree, '@po-ui/ng-components', '19.3.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)('19.3.
|
|
9
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.3.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)('19.3.
|
|
14
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.3.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)('19.3.
|
|
9
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.3.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)('19.3.
|
|
9
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.3.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)('19.3.
|
|
43
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.3.1', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
|
|
44
44
|
}
|
|
45
45
|
else {
|
|
46
46
|
return (0, schematics_1.chain)([
|
|
47
|
-
(0, package_config_1.updatePackageJson)('19.3.
|
|
47
|
+
(0, package_config_1.updatePackageJson)('19.3.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)('19.3.
|
|
43
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.3.1', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
|
|
44
44
|
}
|
|
45
45
|
else {
|
|
46
46
|
return (0, schematics_1.chain)([
|
|
47
|
-
(0, package_config_1.updatePackageJson)('19.3.
|
|
47
|
+
(0, package_config_1.updatePackageJson)('19.3.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('19.3.
|
|
13
|
+
updatePackageJson('19.3.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(),
|
|
@@ -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.3.
|
|
10
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.3.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)('19.3.
|
|
10
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.3.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)('19.3.
|
|
10
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.3.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)('19.3.
|
|
9
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.3.1', changes_1.updateDepedenciesVersion), postUpdate()]);
|
|
10
10
|
}
|
|
11
11
|
function postUpdate() {
|
|
12
12
|
return (_, context) => {
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @description
|
|
3
|
-
*
|
|
4
|
-
* <a id="poI18nConfigContext"></a>
|
|
5
|
-
*
|
|
6
|
-
* Interface para a configuração dos contextos do módulo `PoI18nModule`.
|
|
7
|
-
*
|
|
8
|
-
* @usedBy PoI18nModule
|
|
9
|
-
*/
|
|
10
|
-
export interface PoI18nConfigContext {
|
|
11
|
-
[name: string]: {
|
|
12
|
-
[language: string]: {
|
|
13
|
-
[literal: string]: string;
|
|
14
|
-
};
|
|
15
|
-
} | {
|
|
16
|
-
url: string;
|
|
17
|
-
};
|
|
18
|
-
}
|
|
Binary file
|