@po-ui/ng-components 16.8.0 → 16.9.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/esm2022/lib/components/po-listbox/po-listbox.component.mjs +58 -73
- package/esm2022/lib/components/po-loading/po-loading-base.component.mjs +24 -2
- package/esm2022/lib/components/po-loading/po-loading-overlay/po-loading-overlay-base.component.mjs +21 -2
- package/esm2022/lib/components/po-loading/po-loading-overlay/po-loading-overlay.component.mjs +4 -4
- package/esm2022/lib/components/po-loading/po-loading.component.mjs +15 -12
- package/esm2022/lib/components/po-table/po-table-base.component.mjs +6 -1
- package/esm2022/lib/components/po-table/po-table.component.mjs +200 -182
- package/esm2022/lib/components/po-table/po-table.module.mjs +3 -3
- package/fesm2022/po-ui-ng-components.mjs +472 -420
- package/fesm2022/po-ui-ng-components.mjs.map +1 -1
- package/lib/components/po-loading/po-loading-base.component.d.ts +15 -1
- package/lib/components/po-loading/po-loading-overlay/po-loading-overlay-base.component.d.ts +13 -1
- package/lib/components/po-table/po-table-base.component.d.ts +3 -0
- package/lib/components/po-table/po-table.component.d.ts +4 -1
- package/package.json +4 -4
- package/po-ui-ng-components-16.9.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/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-16.8.0.tgz +0 -0
|
@@ -18,13 +18,27 @@ export declare const poLoadingLiteralsDefault: {
|
|
|
18
18
|
export declare class PoLoadingBaseComponent {
|
|
19
19
|
private languageService;
|
|
20
20
|
private _text?;
|
|
21
|
+
private _size?;
|
|
21
22
|
/**
|
|
22
23
|
* Texto a ser exibido no componente.
|
|
23
24
|
*/
|
|
24
25
|
set text(value: string);
|
|
25
26
|
get text(): string;
|
|
27
|
+
/**
|
|
28
|
+
* Define o tamanho do ícone.
|
|
29
|
+
*
|
|
30
|
+
* @default `lg`
|
|
31
|
+
*
|
|
32
|
+
* Valores válidos:
|
|
33
|
+
* - `xs`: tamanho `extra small`
|
|
34
|
+
* - `sm`: tamanho `small`
|
|
35
|
+
* - `md`: tamanho `medium`
|
|
36
|
+
* - `lg`: tamanho `large`
|
|
37
|
+
*/
|
|
38
|
+
set size(value: string);
|
|
39
|
+
get size(): string;
|
|
26
40
|
constructor(languageService: PoLanguageService);
|
|
27
41
|
private getTextDefault;
|
|
28
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoLoadingBaseComponent, never>;
|
|
29
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<PoLoadingBaseComponent, never, never, { "text": { "alias": "p-text"; "required": false; }; }, {}, never, never, false, never>;
|
|
43
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PoLoadingBaseComponent, never, never, { "text": { "alias": "p-text"; "required": false; }; "size": { "alias": "p-size"; "required": false; }; }, {}, never, never, false, never>;
|
|
30
44
|
}
|
|
@@ -18,6 +18,7 @@ export declare class PoLoadingOverlayBaseComponent {
|
|
|
18
18
|
private languageService;
|
|
19
19
|
private _screenLock?;
|
|
20
20
|
private _text?;
|
|
21
|
+
private _size?;
|
|
21
22
|
/**
|
|
22
23
|
* @optional
|
|
23
24
|
*
|
|
@@ -55,8 +56,19 @@ export declare class PoLoadingOverlayBaseComponent {
|
|
|
55
56
|
*/
|
|
56
57
|
set text(value: string);
|
|
57
58
|
get text(): string;
|
|
59
|
+
/**
|
|
60
|
+
* @optional
|
|
61
|
+
*
|
|
62
|
+
* @description
|
|
63
|
+
*
|
|
64
|
+
* Define o tamnho do componente.
|
|
65
|
+
*
|
|
66
|
+
* @default `lg`
|
|
67
|
+
*/
|
|
68
|
+
set size(value: string | null);
|
|
69
|
+
get size(): string;
|
|
58
70
|
constructor(languageService: PoLanguageService);
|
|
59
71
|
private getTextDefault;
|
|
60
72
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoLoadingOverlayBaseComponent, never>;
|
|
61
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<PoLoadingOverlayBaseComponent, never, never, { "screenLock": { "alias": "p-screen-lock"; "required": false; }; "text": { "alias": "p-text"; "required": false; }; }, {}, never, never, false, never>;
|
|
73
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PoLoadingOverlayBaseComponent, never, never, { "screenLock": { "alias": "p-screen-lock"; "required": false; }; "text": { "alias": "p-text"; "required": false; }; "size": { "alias": "p-size"; "required": false; }; }, {}, never, never, false, never>;
|
|
62
74
|
}
|
|
@@ -345,6 +345,7 @@ export declare abstract class PoTableBaseComponent implements OnChanges, OnDestr
|
|
|
345
345
|
itemsSelected: Array<any>;
|
|
346
346
|
paramsFilter: {};
|
|
347
347
|
filteredItems: Array<any>;
|
|
348
|
+
initialized: boolean;
|
|
348
349
|
private initialVisibleColumns;
|
|
349
350
|
private _spacing;
|
|
350
351
|
private _filteredColumns;
|
|
@@ -694,6 +695,8 @@ export declare abstract class PoTableBaseComponent implements OnChanges, OnDestr
|
|
|
694
695
|
private removePropertyFixed;
|
|
695
696
|
protected abstract calculateHeightTableContainer(height: any): any;
|
|
696
697
|
protected abstract checkInfiniteScroll(): any;
|
|
698
|
+
protected abstract changeSizeLoading(): any;
|
|
699
|
+
protected abstract changeHeaderWidth(): any;
|
|
697
700
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoTableBaseComponent, never>;
|
|
698
701
|
static ɵdir: i0.ɵɵDirectiveDeclaration<PoTableBaseComponent, never, never, { "hideTextOverflow": { "alias": "p-hide-text-overflow"; "required": false; }; "hideColumnsManager": { "alias": "p-hide-columns-manager"; "required": false; }; "hideBatchActions": { "alias": "p-hide-batch-actions"; "required": false; }; "hideActionFixedColumns": { "alias": "p-hide-action-fixed-columns"; "required": false; }; "hideTableSearch": { "alias": "p-hide-table-search"; "required": false; }; "autoCollapse": { "alias": "p-auto-collapse"; "required": false; }; "loadingShowMore": { "alias": "p-loading-show-more"; "required": false; }; "sort": { "alias": "p-sort"; "required": false; }; "showMoreDisabled": { "alias": "p-show-more-disabled"; "required": false; }; "striped": { "alias": "p-striped"; "required": false; }; "hideSelectAll": { "alias": "p-hide-select-all"; "required": false; }; "singleSelect": { "alias": "p-single-select"; "required": false; }; "selectableEntireLine": { "alias": "p-selectable-entire-line"; "required": false; }; "actionRight": { "alias": "p-actions-right"; "required": false; }; "maxColumns": { "alias": "p-max-columns"; "required": false; }; "filterType": { "alias": "p-filter-type"; "required": false; }; "items": { "alias": "p-items"; "required": false; }; "columns": { "alias": "p-columns"; "required": false; }; "container": { "alias": "p-container"; "required": false; }; "paramDeleteApi": { "alias": "p-param-delete-api"; "required": false; }; "height": { "alias": "p-height"; "required": false; }; "hideDetail": { "alias": "p-hide-detail"; "required": false; }; "literals": { "alias": "p-literals"; "required": false; }; "loading": { "alias": "p-loading"; "required": false; }; "actions": { "alias": "p-actions"; "required": false; }; "selectable": { "alias": "p-selectable"; "required": false; }; "infiniteScroll": { "alias": "p-infinite-scroll"; "required": false; }; "infiniteScrollDistance": { "alias": "p-infinite-scroll-distance"; "required": false; }; "serviceApi": { "alias": "p-service-api"; "required": false; }; "serviceDeleteApi": { "alias": "p-service-delete"; "required": false; }; "spacing": { "alias": "p-spacing"; "required": false; }; "filteredColumns": { "alias": "p-filtered-columns"; "required": false; }; "draggable": { "alias": "p-draggable"; "required": false; }; }, { "allSelected": "p-all-selected"; "allUnselected": "p-all-unselected"; "collapsed": "p-collapsed"; "expanded": "p-expanded"; "eventDelete": "p-delete-items"; "selected": "p-selected"; "showMore": "p-show-more"; "sortBy": "p-sort-by"; "unselected": "p-unselected"; "changeVisibleColumns": "p-change-visible-columns"; "columnRestoreManager": "p-restore-column-manager"; }, never, never, false, never>;
|
|
699
702
|
static ngAcceptInputType_hideTextOverflow: any;
|
|
@@ -108,6 +108,8 @@ export declare class PoTableComponent extends PoTableBaseComponent implements Af
|
|
|
108
108
|
inputFieldValue: string;
|
|
109
109
|
JSON: JSON;
|
|
110
110
|
newOrderColumns: Array<PoTableColumn>;
|
|
111
|
+
sizeLoading: string;
|
|
112
|
+
headerWidth: number;
|
|
111
113
|
close: PoModalAction;
|
|
112
114
|
confirm: PoModalAction;
|
|
113
115
|
private _columnManagerTarget;
|
|
@@ -115,7 +117,6 @@ export declare class PoTableComponent extends PoTableBaseComponent implements Af
|
|
|
115
117
|
private differ;
|
|
116
118
|
private footerHeight;
|
|
117
119
|
private headerHeight;
|
|
118
|
-
private initialized;
|
|
119
120
|
private timeoutResize;
|
|
120
121
|
private visibleElement;
|
|
121
122
|
private scrollEvent$;
|
|
@@ -144,6 +145,7 @@ export declare class PoTableComponent extends PoTableBaseComponent implements Af
|
|
|
144
145
|
get isDraggable(): boolean;
|
|
145
146
|
get inverseOfTranslation(): string;
|
|
146
147
|
ngOnInit(): void;
|
|
148
|
+
changeHeaderWidth(): void;
|
|
147
149
|
ngAfterViewInit(): void;
|
|
148
150
|
showMoreInfiniteScroll({ target }: {
|
|
149
151
|
target: any;
|
|
@@ -277,6 +279,7 @@ export declare class PoTableComponent extends PoTableBaseComponent implements Af
|
|
|
277
279
|
protected verifyCalculateHeightTableContainer(): void;
|
|
278
280
|
protected checkInfiniteScroll(): void;
|
|
279
281
|
private changesAfterDelete;
|
|
282
|
+
protected changeSizeLoading(): void;
|
|
280
283
|
private checkChangesItems;
|
|
281
284
|
private checkingIfColumnHasTooltip;
|
|
282
285
|
private debounceResize;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@po-ui/ng-components",
|
|
3
|
-
"version": "16.
|
|
3
|
+
"version": "16.9.0",
|
|
4
4
|
"tag": "next",
|
|
5
5
|
"description": "PO UI - Components",
|
|
6
6
|
"author": "PO UI",
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@angular/cdk": "~16.2.0",
|
|
25
|
-
"@po-ui/style": "16.
|
|
26
|
-
"@po-ui/ng-schematics": "16.
|
|
25
|
+
"@po-ui/style": "16.9.0",
|
|
26
|
+
"@po-ui/ng-schematics": "16.9.0",
|
|
27
27
|
"tslib": "^2.3.0"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"@angular/platform-browser": "~16.2.0",
|
|
37
37
|
"@angular/platform-browser-dynamic": "~16.2.0",
|
|
38
38
|
"@angular/router": "~16.2.0",
|
|
39
|
-
"@po-ui/style": "16.
|
|
39
|
+
"@po-ui/style": "16.9.0",
|
|
40
40
|
"rxjs": "~7.5.5",
|
|
41
41
|
"zone.js": "~0.13.1"
|
|
42
42
|
},
|
|
Binary file
|
|
@@ -18,7 +18,7 @@ function default_1(options) {
|
|
|
18
18
|
exports.default = default_1;
|
|
19
19
|
function addPoPackageAndInstall() {
|
|
20
20
|
return (tree, context) => {
|
|
21
|
-
(0, package_config_1.addPackageToPackageJson)(tree, '@po-ui/ng-components', '16.
|
|
21
|
+
(0, package_config_1.addPackageToPackageJson)(tree, '@po-ui/ng-components', '16.9.0');
|
|
22
22
|
// install packages
|
|
23
23
|
context.addTask(new tasks_1.NodePackageInstallTask());
|
|
24
24
|
};
|
|
@@ -5,7 +5,7 @@ const tasks_1 = require("@angular-devkit/schematics/tasks");
|
|
|
5
5
|
const package_config_1 = require("@po-ui/ng-schematics/package-config");
|
|
6
6
|
const changes_1 = require("./changes");
|
|
7
7
|
function default_1() {
|
|
8
|
-
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('16.
|
|
8
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('16.9.0', changes_1.updateDepedenciesVersion), postUpdate()]);
|
|
9
9
|
}
|
|
10
10
|
exports.default = default_1;
|
|
11
11
|
function postUpdate() {
|
|
@@ -10,7 +10,7 @@ const changes_1 = require("./changes");
|
|
|
10
10
|
const httpClientModuleName = 'HttpClientModule';
|
|
11
11
|
const httpClientModuleSourcePath = '@angular/common/http';
|
|
12
12
|
function default_1() {
|
|
13
|
-
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('16.
|
|
13
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('16.9.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
|
|
14
14
|
}
|
|
15
15
|
exports.default = default_1;
|
|
16
16
|
function postUpdate() {
|
|
@@ -5,7 +5,7 @@ const tasks_1 = require("@angular-devkit/schematics/tasks");
|
|
|
5
5
|
const package_config_1 = require("@po-ui/ng-schematics/package-config");
|
|
6
6
|
const changes_1 = require("./changes");
|
|
7
7
|
function default_1() {
|
|
8
|
-
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('16.
|
|
8
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('16.9.0', changes_1.updateDepedenciesVersion), postUpdate()]);
|
|
9
9
|
}
|
|
10
10
|
exports.default = default_1;
|
|
11
11
|
function postUpdate() {
|
|
@@ -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('16.
|
|
13
|
+
updatePackageJson('16.9.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)('16.
|
|
10
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('16.9.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
|
|
11
11
|
}
|
|
12
12
|
exports.updateToV3 = updateToV3;
|
|
13
13
|
function postUpdate() {
|
|
@@ -6,7 +6,7 @@ const project_1 = require("@po-ui/ng-schematics/project");
|
|
|
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)('16.
|
|
9
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('16.9.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
|
|
10
10
|
}
|
|
11
11
|
exports.default = default_1;
|
|
12
12
|
function postUpdate() {
|
|
@@ -6,7 +6,7 @@ const project_1 = require("@po-ui/ng-schematics/project");
|
|
|
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)('16.
|
|
9
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('16.9.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
|
|
10
10
|
}
|
|
11
11
|
exports.default = default_1;
|
|
12
12
|
function postUpdate() {
|
|
@@ -5,7 +5,7 @@ const tasks_1 = require("@angular-devkit/schematics/tasks");
|
|
|
5
5
|
const package_config_1 = require("@po-ui/ng-schematics/package-config");
|
|
6
6
|
const changes_1 = require("./changes");
|
|
7
7
|
function default_1() {
|
|
8
|
-
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('16.
|
|
8
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('16.9.0', changes_1.updateDepedenciesVersion), postUpdate()]);
|
|
9
9
|
}
|
|
10
10
|
exports.default = default_1;
|
|
11
11
|
function postUpdate() {
|
|
Binary file
|