@po-ui/ng-components 22.0.0-rc.0 → 22.0.0-rc.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-po-chart-modal-table.component-B6drxxln.mjs → po-ui-ng-components-po-chart-modal-table.component-DREfx0T_.mjs} +4 -4
- package/fesm2022/{po-ui-ng-components-po-chart-modal-table.component-B6drxxln.mjs.map → po-ui-ng-components-po-chart-modal-table.component-DREfx0T_.mjs.map} +1 -1
- package/fesm2022/po-ui-ng-components.mjs +2895 -1477
- package/fesm2022/po-ui-ng-components.mjs.map +1 -1
- package/lib/components/po-button/enums/po-button-kind.enum.d.ts +7 -1
- package/lib/components/po-button/po-button-base.component.d.ts +27 -3
- package/lib/components/po-button/po-button.component.d.ts +2 -0
- package/lib/components/po-calendar/po-calendar-base.component.d.ts +5 -0
- package/lib/components/po-calendar/po-calendar-header/po-calendar-header.component.d.ts +2 -0
- package/lib/components/po-calendar/po-calendar-wrapper/po-calendar-wrapper.component.d.ts +12 -0
- package/lib/components/po-calendar/po-calendar.component.d.ts +11 -0
- package/lib/components/po-field/po-datepicker/po-datepicker-base.component.d.ts +15 -4
- package/lib/components/po-field/po-datepicker/po-datepicker.component.d.ts +5 -0
- package/lib/components/po-field/po-datepicker-range/po-datepicker-range-base.component.d.ts +3 -0
- package/lib/components/po-field/po-datepicker-range/po-datepicker-range.component.d.ts +2 -0
- package/lib/components/po-field/po-datetimepicker/po-datetimepicker-base.component.d.ts +5 -0
- package/lib/components/po-field/po-datetimepicker/po-datetimepicker.component.d.ts +5 -0
- package/lib/components/po-listbox/po-item-list/po-item-list.component.d.ts +1 -0
- package/lib/components/po-listbox/po-listbox.component.d.ts +1 -0
- package/lib/po.module.d.ts +2 -0
- package/lib/services/po-theme/helpers/accessibilities/po-theme-default-aaa.constant.d.ts +1 -8
- package/lib/services/po-theme/helpers/deprecated/accessibilities/po-theme-default-aa.constant.d.ts +20 -0
- package/lib/services/po-theme/helpers/deprecated/accessibilities/po-theme-default-aaa.constant.d.ts +18 -0
- package/lib/services/po-theme/helpers/deprecated/accessibilities/po-theme-density.constant.d.ts +12 -0
- package/lib/services/po-theme/helpers/deprecated/po-theme-poui.constant.d.ts +27 -0
- package/lib/services/po-theme/helpers/deprecated/types/po-theme-dark-defaults-AA.constant.d.ts +129 -0
- package/lib/services/po-theme/helpers/deprecated/types/po-theme-dark-defaults.constant.d.ts +167 -0
- package/lib/services/po-theme/helpers/deprecated/types/po-theme-light-defaults-AA.constant.d.ts +49 -0
- package/lib/services/po-theme/helpers/deprecated/types/po-theme-light-defaults.constant.d.ts +81 -0
- package/lib/services/po-theme/helpers/shared/base.constant.d.ts +137 -0
- package/lib/services/po-theme/helpers/types/po-theme-dark-defaults-AA.constant.d.ts +3 -4
- package/lib/services/po-theme/helpers/types/po-theme-dark-defaults.constant.d.ts +4 -4
- package/lib/services/po-theme/index.d.ts +8 -0
- package/lib/services/po-theme/interfaces/po-theme.interface.d.ts +15 -0
- package/lib/services/po-theme/po-theme.service.d.ts +57 -0
- package/lib/utils/po-picker-mouse-down-guard.d.ts +27 -0
- package/lib/utils/util.d.ts +16 -0
- package/package.json +4 -4
- package/po-ui-ng-components-22.0.0-rc.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/v20/index.js +2 -2
- package/schematics/ng-update/v21/index.js +1 -1
- package/schematics/ng-update/v22/index.d.ts +20 -4
- package/schematics/ng-update/v22/index.js +37 -11
- package/schematics/ng-update/v22/index.js.map +1 -1
- package/schematics/ng-update/v22/migration-report.d.ts +36 -10
- package/schematics/ng-update/v22/migration-report.js +25 -11
- package/schematics/ng-update/v22/migration-report.js.map +1 -1
- package/schematics/ng-update/v22/theme-deprecated/changes.d.ts +24 -0
- package/schematics/ng-update/v22/theme-deprecated/changes.js +58 -0
- package/schematics/ng-update/v22/theme-deprecated/changes.js.map +1 -0
- package/schematics/ng-update/v22/theme-deprecated/index.d.ts +14 -0
- package/schematics/ng-update/v22/theme-deprecated/index.js +291 -0
- package/schematics/ng-update/v22/theme-deprecated/index.js.map +1 -0
- package/schematics/ng-update/v22/theme-deprecated/prompt.d.ts +49 -0
- package/schematics/ng-update/v22/theme-deprecated/prompt.js +59 -0
- package/schematics/ng-update/v22/theme-deprecated/prompt.js.map +1 -0
- package/schematics/ng-update/v22/theme-deprecated/theme-bootstrap-migration.d.ts +25 -0
- package/schematics/ng-update/v22/theme-deprecated/theme-bootstrap-migration.js +198 -0
- package/schematics/ng-update/v22/theme-deprecated/theme-bootstrap-migration.js.map +1 -0
- package/schematics/ng-update/v22/theme-deprecated/theme-style-migration.d.ts +23 -0
- package/schematics/ng-update/v22/theme-deprecated/theme-style-migration.js +64 -0
- package/schematics/ng-update/v22/theme-deprecated/theme-style-migration.js.map +1 -0
- package/schematics/ng-update/v22/theme-deprecated/theme-ts-migration.d.ts +29 -0
- package/schematics/ng-update/v22/theme-deprecated/theme-ts-migration.js +325 -0
- package/schematics/ng-update/v22/theme-deprecated/theme-ts-migration.js.map +1 -0
- package/schematics/ng-update/v22/theme-deprecated/ts-utils.d.ts +58 -0
- package/schematics/ng-update/v22/theme-deprecated/ts-utils.js +112 -0
- package/schematics/ng-update/v22/theme-deprecated/ts-utils.js.map +1 -0
- 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 +17922 -17137
- package/po-ui-ng-components-22.0.0-rc.0.tgz +0 -0
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.parseSource = parseSource;
|
|
4
|
+
exports.collectImports = collectImports;
|
|
5
|
+
exports.getNamedImports = getNamedImports;
|
|
6
|
+
exports.getNamespaceImport = getNamespaceImport;
|
|
7
|
+
exports.importedNameOf = importedNameOf;
|
|
8
|
+
exports.findLocalImportName = findLocalImportName;
|
|
9
|
+
exports.removeSpecifierEdit = removeSpecifierEdit;
|
|
10
|
+
exports.removeDeclarationEdit = removeDeclarationEdit;
|
|
11
|
+
exports.appendSpecifiersEdit = appendSpecifiersEdit;
|
|
12
|
+
exports.addImportLinesEdit = addImportLinesEdit;
|
|
13
|
+
exports.lineOf = lineOf;
|
|
14
|
+
exports.applyEdits = applyEdits;
|
|
15
|
+
const tslib_1 = require("tslib");
|
|
16
|
+
const ts = tslib_1.__importStar(require("typescript"));
|
|
17
|
+
/** Cria a AST de um arquivo com os nós pais preenchidos. */
|
|
18
|
+
function parseSource(source, fileName = '/file.ts') {
|
|
19
|
+
return ts.createSourceFile(fileName, source, ts.ScriptTarget.Latest, true, ts.ScriptKind.TS);
|
|
20
|
+
}
|
|
21
|
+
/** Retorna as `ImportDeclaration` do módulo informado. */
|
|
22
|
+
function collectImports(sourceFile, moduleName) {
|
|
23
|
+
return sourceFile.statements.filter((statement) => ts.isImportDeclaration(statement) &&
|
|
24
|
+
ts.isStringLiteral(statement.moduleSpecifier) &&
|
|
25
|
+
statement.moduleSpecifier.text === moduleName);
|
|
26
|
+
}
|
|
27
|
+
/** Retorna os `NamedImports` de uma declaração, quando existirem. */
|
|
28
|
+
function getNamedImports(decl) {
|
|
29
|
+
var _a;
|
|
30
|
+
const bindings = (_a = decl.importClause) === null || _a === void 0 ? void 0 : _a.namedBindings;
|
|
31
|
+
return bindings && ts.isNamedImports(bindings) ? bindings : undefined;
|
|
32
|
+
}
|
|
33
|
+
/** Retorna o nome local do namespace (`import * as po`), quando existir. */
|
|
34
|
+
function getNamespaceImport(decl) {
|
|
35
|
+
var _a;
|
|
36
|
+
const bindings = (_a = decl.importClause) === null || _a === void 0 ? void 0 : _a.namedBindings;
|
|
37
|
+
return bindings && ts.isNamespaceImport(bindings) ? bindings.name : undefined;
|
|
38
|
+
}
|
|
39
|
+
/** Nome importado de um especificador (lado esquerdo do `as`). */
|
|
40
|
+
function importedNameOf(specifier) {
|
|
41
|
+
var _a;
|
|
42
|
+
return ((_a = specifier.propertyName) !== null && _a !== void 0 ? _a : specifier.name).text;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Localiza o nome local de um símbolo importado do módulo informado.
|
|
46
|
+
* Retorna `undefined` se o símbolo não é importado.
|
|
47
|
+
*/
|
|
48
|
+
function findLocalImportName(sourceFile, moduleName, importedName) {
|
|
49
|
+
var _a;
|
|
50
|
+
for (const decl of collectImports(sourceFile, moduleName)) {
|
|
51
|
+
const element = (_a = getNamedImports(decl)) === null || _a === void 0 ? void 0 : _a.elements.find(item => importedNameOf(item) === importedName);
|
|
52
|
+
if (element) {
|
|
53
|
+
return element.name.text;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
return undefined;
|
|
57
|
+
}
|
|
58
|
+
/** Edição que remove um `ImportSpecifier`, cuidando das vírgulas. */
|
|
59
|
+
function removeSpecifierEdit(sourceFile, named, element) {
|
|
60
|
+
const elements = named.elements;
|
|
61
|
+
const index = elements.indexOf(element);
|
|
62
|
+
if (index < elements.length - 1) {
|
|
63
|
+
return { start: element.getStart(sourceFile), end: elements[index + 1].getStart(sourceFile), text: '' };
|
|
64
|
+
}
|
|
65
|
+
return { start: elements[index - 1].getEnd(), end: element.getEnd(), text: '' };
|
|
66
|
+
}
|
|
67
|
+
/** Edição que remove uma `ImportDeclaration` inteira, incluindo a quebra de linha seguinte. */
|
|
68
|
+
function removeDeclarationEdit(sourceFile, decl) {
|
|
69
|
+
const text = sourceFile.getFullText();
|
|
70
|
+
const start = decl.getStart(sourceFile);
|
|
71
|
+
let end = decl.getEnd();
|
|
72
|
+
if (text[end] === '\r' && text[end + 1] === '\n') {
|
|
73
|
+
end += 2;
|
|
74
|
+
}
|
|
75
|
+
else if (text[end] === '\n') {
|
|
76
|
+
end += 1;
|
|
77
|
+
}
|
|
78
|
+
return { start, end, text: '' };
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Edição que acrescenta símbolos a um import nomeado existente, depois do
|
|
82
|
+
* último elemento (preserva vírgula final e quebras de linha).
|
|
83
|
+
*/
|
|
84
|
+
function appendSpecifiersEdit(named, names) {
|
|
85
|
+
const last = named.elements[named.elements.length - 1];
|
|
86
|
+
const text = names.map(name => `, ${name}`).join('');
|
|
87
|
+
return { start: last.getEnd(), end: last.getEnd(), text };
|
|
88
|
+
}
|
|
89
|
+
/** Edição que insere novas linhas de import depois do último import do arquivo. */
|
|
90
|
+
function addImportLinesEdit(sourceFile, imports) {
|
|
91
|
+
const lines = imports.map(({ names, moduleName }) => `import { ${names.join(', ')} } from '${moduleName}';`);
|
|
92
|
+
const declarations = sourceFile.statements.filter(ts.isImportDeclaration);
|
|
93
|
+
if (declarations.length === 0) {
|
|
94
|
+
return { start: 0, end: 0, text: `${lines.join('\n')}\n\n` };
|
|
95
|
+
}
|
|
96
|
+
const end = declarations[declarations.length - 1].getEnd();
|
|
97
|
+
return { start: end, end, text: lines.map(line => `\n${line}`).join('') };
|
|
98
|
+
}
|
|
99
|
+
/** Linha (1-indexada) em que o nó inicia. */
|
|
100
|
+
function lineOf(sourceFile, node) {
|
|
101
|
+
return sourceFile.getLineAndCharacterOfPosition(node.getStart(sourceFile)).line + 1;
|
|
102
|
+
}
|
|
103
|
+
/** Aplica as edições do fim para o início, preservando os offsets. */
|
|
104
|
+
function applyEdits(source, edits) {
|
|
105
|
+
const ordered = [...edits].sort((a, b) => b.start - a.start || b.end - a.end);
|
|
106
|
+
let result = source;
|
|
107
|
+
for (const edit of ordered) {
|
|
108
|
+
result = result.slice(0, edit.start) + edit.text + result.slice(edit.end);
|
|
109
|
+
}
|
|
110
|
+
return result;
|
|
111
|
+
}
|
|
112
|
+
//# sourceMappingURL=ts-utils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ts-utils.js","sourceRoot":"","sources":["../../../../../../projects/ui/schematics/ng-update/v22/theme-deprecated/ts-utils.ts"],"names":[],"mappings":";;AA8BA,kCAEC;AAGD,wCAOC;AAGD,0CAGC;AAGD,gDAGC;AAGD,wCAEC;AAMD,kDAYC;AAGD,kDAaC;AAGD,sDAYC;AAMD,oDAKC;AAGD,gDAaC;AAGD,wBAEC;AAGD,gCASC;;AAxJD,uDAAiC;AA6BjC,4DAA4D;AAC5D,SAAgB,WAAW,CAAC,MAAc,EAAE,QAAQ,GAAG,UAAU;IAC/D,OAAO,EAAE,CAAC,gBAAgB,CAAC,QAAQ,EAAE,MAAM,EAAE,EAAE,CAAC,YAAY,CAAC,MAAM,EAAE,IAAI,EAAE,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC;AAC/F,CAAC;AAED,0DAA0D;AAC1D,SAAgB,cAAc,CAAC,UAAyB,EAAE,UAAkB;IAC1E,OAAO,UAAU,CAAC,UAAU,CAAC,MAAM,CACjC,CAAC,SAAS,EAAqC,EAAE,CAC/C,EAAE,CAAC,mBAAmB,CAAC,SAAS,CAAC;QACjC,EAAE,CAAC,eAAe,CAAC,SAAS,CAAC,eAAe,CAAC;QAC7C,SAAS,CAAC,eAAe,CAAC,IAAI,KAAK,UAAU,CAChD,CAAC;AACJ,CAAC;AAED,qEAAqE;AACrE,SAAgB,eAAe,CAAC,IAA0B;;IACxD,MAAM,QAAQ,GAAG,MAAA,IAAI,CAAC,YAAY,0CAAE,aAAa,CAAC;IAClD,OAAO,QAAQ,IAAI,EAAE,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;AACxE,CAAC;AAED,4EAA4E;AAC5E,SAAgB,kBAAkB,CAAC,IAA0B;;IA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C,CAAC,GAAG,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC;IAE9E,IAAI,MAAM,GAAG,MAAM,CAAC;IACpB,KAAK,MAAM,IAAI,IAAI,OAAO,EAAE,CAAC;QAC3B,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC,EAAE,IAAI,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAC5E,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC"}
|
|
@@ -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)('22.0.0-rc.
|
|
10
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('22.0.0-rc.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)('22.0.0-rc.
|
|
10
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('22.0.0-rc.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)('22.0.0-rc.
|
|
10
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('22.0.0-rc.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)('22.0.0-rc.
|
|
9
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('22.0.0-rc.1', changes_1.updateDepedenciesVersion), postUpdate()]);
|
|
10
10
|
}
|
|
11
11
|
function postUpdate() {
|
|
12
12
|
return (_, context) => {
|