@po-ui/ng-components 21.37.0 → 21.38.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 +1 -0
- package/fesm2022/po-ui-ng-components.mjs.map +1 -1
- package/lib/components/po-chart/interfaces/po-chart-serie.interface.d.ts +29 -2
- package/package.json +4 -4
- package/po-ui-ng-components-21.38.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/v20/index.js +2 -2
- package/schematics/ng-update/v21/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/types/po-ui-ng-components.d.ts +29 -2
- package/po-ui-ng-components-21.37.0.tgz +0 -0
|
@@ -10,7 +10,35 @@ export interface PoChartSerie {
|
|
|
10
10
|
/**
|
|
11
11
|
* @description
|
|
12
12
|
*
|
|
13
|
-
* Determina a cor da série.
|
|
13
|
+
* Determina a cor da série.
|
|
14
|
+
*
|
|
15
|
+
* As cores atribuídas por padrão às séries dos gráficos são representadas pelos tokens abaixo,
|
|
16
|
+
* aplicados conforme a posição da série na lista:
|
|
17
|
+
*
|
|
18
|
+
* - `color-caption-categorical-01`
|
|
19
|
+
* - `color-caption-categorical-02`
|
|
20
|
+
* - `color-caption-categorical-03`
|
|
21
|
+
* - `color-caption-categorical-04`
|
|
22
|
+
* - `color-caption-categorical-05`
|
|
23
|
+
* - `color-caption-categorical-06`
|
|
24
|
+
* - `color-caption-categorical-07`
|
|
25
|
+
* - `color-caption-categorical-08`
|
|
26
|
+
*
|
|
27
|
+
* As cores atribuídas por padrão ao preenchimento das séries do gráfico do tipo `area` são representadas
|
|
28
|
+
* pelos tokens abaixo, na mesma ordem. A linha da série utiliza os tokens listados anteriormente.
|
|
29
|
+
* - `color-caption-categorical-overlay-01`
|
|
30
|
+
* - `color-caption-categorical-overlay-02`
|
|
31
|
+
* - `color-caption-categorical-overlay-03`
|
|
32
|
+
* - `color-caption-categorical-overlay-04`
|
|
33
|
+
* - `color-caption-categorical-overlay-05`
|
|
34
|
+
* - `color-caption-categorical-overlay-06`
|
|
35
|
+
* - `color-caption-categorical-overlay-07`
|
|
36
|
+
* - `color-caption-categorical-overlay-08`
|
|
37
|
+
*
|
|
38
|
+
* > A partir da 9ª série sem cor informada, a cor é gerada aleatoriamente a cada renderização do gráfico.
|
|
39
|
+
* Para manter as cores estáveis, informe a propriedade `color` nessas séries.
|
|
40
|
+
*
|
|
41
|
+
* As maneiras de customizar o *preset* padrão de cores são:
|
|
14
42
|
* * Hexadecimal, por exemplo `#c64840`;
|
|
15
43
|
* * RGB, por exemplo `rgb(0, 0, 165)`
|
|
16
44
|
* * O nome da cor, por exemplo `blue`;
|
|
@@ -29,7 +57,6 @@ export interface PoChartSerie {
|
|
|
29
57
|
* - <span class="dot po-color-10"></span> `color-10`
|
|
30
58
|
* - <span class="dot po-color-11"></span> `color-11`
|
|
31
59
|
* - <span class="dot po-color-12"></span> `color-12`
|
|
32
|
-
* - A partir da 13° série o valor da cor será preta caso não seja enviada uma cor customizada.
|
|
33
60
|
*/
|
|
34
61
|
color?: string;
|
|
35
62
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@po-ui/ng-components",
|
|
3
|
-
"version": "21.
|
|
3
|
+
"version": "21.38.0",
|
|
4
4
|
"description": "PO UI - Components",
|
|
5
5
|
"author": "PO UI",
|
|
6
6
|
"license": "MIT",
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@angular/cdk": "~21.2.14",
|
|
25
|
-
"@po-ui/style": "21.
|
|
26
|
-
"@po-ui/ng-schematics": "21.
|
|
25
|
+
"@po-ui/style": "21.38.0",
|
|
26
|
+
"@po-ui/ng-schematics": "21.38.0",
|
|
27
27
|
"driver.js": "~1.4.0",
|
|
28
28
|
"echarts": "^6.1.0",
|
|
29
29
|
"tslib": "^2.6.2"
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@angular/platform-browser-dynamic": "^21",
|
|
40
40
|
"@angular/router": "^21",
|
|
41
41
|
"@angular-devkit/schematics": "^21",
|
|
42
|
-
"@po-ui/style": "21.
|
|
42
|
+
"@po-ui/style": "21.38.0",
|
|
43
43
|
"rxjs": "~7.8.1",
|
|
44
44
|
"zone.js": "~0.15.0"
|
|
45
45
|
},
|
|
Binary file
|
|
@@ -18,7 +18,7 @@ function default_1(options) {
|
|
|
18
18
|
}
|
|
19
19
|
function addPoPackageAndInstall() {
|
|
20
20
|
return (tree, context) => {
|
|
21
|
-
(0, package_config_1.addPackageToPackageJson)(tree, '@po-ui/ng-components', '21.
|
|
21
|
+
(0, package_config_1.addPackageToPackageJson)(tree, '@po-ui/ng-components', '21.38.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.
|
|
9
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.38.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.
|
|
14
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.38.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.
|
|
9
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.38.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.
|
|
9
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.38.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.
|
|
43
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.38.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.
|
|
47
|
+
(0, package_config_1.updatePackageJson)('21.38.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.
|
|
43
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.38.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.
|
|
47
|
+
(0, package_config_1.updatePackageJson)('21.38.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.
|
|
13
|
+
updatePackageJson('21.38.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.
|
|
43
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.38.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.
|
|
47
|
+
(0, package_config_1.updatePackageJson)('21.38.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.
|
|
12
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.38.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.
|
|
10
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.38.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.
|
|
10
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.38.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.
|
|
10
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.38.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.
|
|
9
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('21.38.0', changes_1.updateDepedenciesVersion), postUpdate()]);
|
|
10
10
|
}
|
|
11
11
|
function postUpdate() {
|
|
12
12
|
return (_, context) => {
|
|
@@ -16036,7 +16036,35 @@ interface PoChartSerie {
|
|
|
16036
16036
|
/**
|
|
16037
16037
|
* @description
|
|
16038
16038
|
*
|
|
16039
|
-
* Determina a cor da série.
|
|
16039
|
+
* Determina a cor da série.
|
|
16040
|
+
*
|
|
16041
|
+
* As cores atribuídas por padrão às séries dos gráficos são representadas pelos tokens abaixo,
|
|
16042
|
+
* aplicados conforme a posição da série na lista:
|
|
16043
|
+
*
|
|
16044
|
+
* - `color-caption-categorical-01`
|
|
16045
|
+
* - `color-caption-categorical-02`
|
|
16046
|
+
* - `color-caption-categorical-03`
|
|
16047
|
+
* - `color-caption-categorical-04`
|
|
16048
|
+
* - `color-caption-categorical-05`
|
|
16049
|
+
* - `color-caption-categorical-06`
|
|
16050
|
+
* - `color-caption-categorical-07`
|
|
16051
|
+
* - `color-caption-categorical-08`
|
|
16052
|
+
*
|
|
16053
|
+
* As cores atribuídas por padrão ao preenchimento das séries do gráfico do tipo `area` são representadas
|
|
16054
|
+
* pelos tokens abaixo, na mesma ordem. A linha da série utiliza os tokens listados anteriormente.
|
|
16055
|
+
* - `color-caption-categorical-overlay-01`
|
|
16056
|
+
* - `color-caption-categorical-overlay-02`
|
|
16057
|
+
* - `color-caption-categorical-overlay-03`
|
|
16058
|
+
* - `color-caption-categorical-overlay-04`
|
|
16059
|
+
* - `color-caption-categorical-overlay-05`
|
|
16060
|
+
* - `color-caption-categorical-overlay-06`
|
|
16061
|
+
* - `color-caption-categorical-overlay-07`
|
|
16062
|
+
* - `color-caption-categorical-overlay-08`
|
|
16063
|
+
*
|
|
16064
|
+
* > A partir da 9ª série sem cor informada, a cor é gerada aleatoriamente a cada renderização do gráfico.
|
|
16065
|
+
* Para manter as cores estáveis, informe a propriedade `color` nessas séries.
|
|
16066
|
+
*
|
|
16067
|
+
* As maneiras de customizar o *preset* padrão de cores são:
|
|
16040
16068
|
* * Hexadecimal, por exemplo `#c64840`;
|
|
16041
16069
|
* * RGB, por exemplo `rgb(0, 0, 165)`
|
|
16042
16070
|
* * O nome da cor, por exemplo `blue`;
|
|
@@ -16055,7 +16083,6 @@ interface PoChartSerie {
|
|
|
16055
16083
|
* - <span class="dot po-color-10"></span> `color-10`
|
|
16056
16084
|
* - <span class="dot po-color-11"></span> `color-11`
|
|
16057
16085
|
* - <span class="dot po-color-12"></span> `color-12`
|
|
16058
|
-
* - A partir da 13° série o valor da cor será preta caso não seja enviada uma cor customizada.
|
|
16059
16086
|
*/
|
|
16060
16087
|
color?: string;
|
|
16061
16088
|
/**
|
|
Binary file
|