@po-ui/ng-components 16.5.0 → 16.6.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/esm2022/lib/components/po-field/po-combo/interfaces/po-combo-literals-default.interface.mjs +9 -5
- package/esm2022/lib/components/po-field/po-combo/interfaces/po-combo-literals.interface.mjs +1 -1
- package/esm2022/lib/components/po-field/po-combo/po-combo-base.component.mjs +4 -1
- package/esm2022/lib/components/po-field/po-combo/po-combo.component.mjs +94 -41
- package/esm2022/lib/components/po-field/po-multiselect/po-multiselect.component.mjs +8 -3
- package/esm2022/lib/components/po-listbox/po-item-list/po-item-list.component.mjs +4 -4
- package/esm2022/lib/components/po-listbox/po-listbox.component.mjs +5 -4
- package/fesm2022/po-ui-ng-components.mjs +114 -47
- package/fesm2022/po-ui-ng-components.mjs.map +1 -1
- package/lib/components/po-field/po-combo/interfaces/po-combo-literals.interface.d.ts +2 -0
- package/lib/components/po-field/po-combo/po-combo.component.d.ts +8 -5
- package/lib/components/po-field/po-multiselect/po-multiselect.component.d.ts +1 -0
- package/package.json +4 -4
- package/po-ui-ng-components-16.6.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/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.5.0.tgz +0 -0
|
@@ -81,6 +81,7 @@ export declare class PoComboComponent extends PoComboBaseComponent implements Af
|
|
|
81
81
|
shouldMarkLetters: boolean;
|
|
82
82
|
infiniteLoading: boolean;
|
|
83
83
|
private _isServerSearching;
|
|
84
|
+
private lastKey;
|
|
84
85
|
private clickoutListener;
|
|
85
86
|
private eventResizeListener;
|
|
86
87
|
private filterSubscription;
|
|
@@ -114,14 +115,14 @@ export declare class PoComboComponent extends PoComboBaseComponent implements Af
|
|
|
114
115
|
onKeyDown(event?: any): void;
|
|
115
116
|
onKeyUp(event?: any): void;
|
|
116
117
|
initInputObservable(): void;
|
|
117
|
-
controlApplyFilter(value: any): void;
|
|
118
|
-
applyFilter(value: string, reset?: boolean): void;
|
|
118
|
+
controlApplyFilter(value: any, isArrowDown?: boolean): void;
|
|
119
|
+
applyFilter(value: string, reset?: boolean, isArrowDown?: boolean): void;
|
|
119
120
|
setOptionsByApplyFilter(value: any, items: any, reset?: boolean): void;
|
|
120
121
|
getObjectByValue(value: any): void;
|
|
121
122
|
updateOptionByFilteredValue(item: any): void;
|
|
122
|
-
toggleComboVisibility(): void;
|
|
123
|
+
toggleComboVisibility(isButton?: boolean): void;
|
|
123
124
|
applyFilterInFirstClick(): void;
|
|
124
|
-
controlComboVisibility(toOpen: boolean, reset?: boolean): void;
|
|
125
|
+
controlComboVisibility(toOpen: boolean, reset?: boolean, isButton?: boolean): void;
|
|
125
126
|
onCloseCombo(): void;
|
|
126
127
|
onOptionClick(option: PoComboOption | PoComboGroup, event?: any): void;
|
|
127
128
|
calculateScrollTop(selectedItem: any, index: any): any;
|
|
@@ -129,8 +130,9 @@ export declare class PoComboComponent extends PoComboBaseComponent implements Af
|
|
|
129
130
|
setInputValue(value: string): void;
|
|
130
131
|
wasClickedOnToggle(event: MouseEvent): void;
|
|
131
132
|
isValidCharacterToSearch(keyCode: any): boolean;
|
|
132
|
-
|
|
133
|
+
searchOnEnterOrArrow(event: any, value: string): void;
|
|
133
134
|
showMoreInfiniteScroll(): void;
|
|
135
|
+
clearAndFocus(): void;
|
|
134
136
|
private adjustContainerPosition;
|
|
135
137
|
private close;
|
|
136
138
|
private initializeListeners;
|
|
@@ -144,6 +146,7 @@ export declare class PoComboComponent extends PoComboBaseComponent implements Af
|
|
|
144
146
|
private prepareOptions;
|
|
145
147
|
private setPage;
|
|
146
148
|
private setScrollingControl;
|
|
149
|
+
private focusItem;
|
|
147
150
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoComboComponent, never>;
|
|
148
151
|
static ɵcmp: i0.ɵɵComponentDeclaration<PoComboComponent, "po-combo", never, {}, {}, ["comboOptionTemplate"], never, false, never>;
|
|
149
152
|
}
|
|
@@ -72,6 +72,7 @@ export declare class PoMultiselectComponent extends PoMultiselectBaseComponent i
|
|
|
72
72
|
private initCalculateItems;
|
|
73
73
|
private isCalculateVisibleItems;
|
|
74
74
|
private cacheOptions;
|
|
75
|
+
private focusOnTag;
|
|
75
76
|
constructor(renderer: Renderer2, changeDetector: ChangeDetectorRef, el: ElementRef, controlPosition: PoControlPositionService, defaultService: PoMultiselectFilterService, languageService: PoLanguageService);
|
|
76
77
|
ngAfterViewInit(): void;
|
|
77
78
|
ngOnChanges(changes: SimpleChanges): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@po-ui/ng-components",
|
|
3
|
-
"version": "16.
|
|
3
|
+
"version": "16.6.1",
|
|
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.6.1",
|
|
26
|
+
"@po-ui/ng-schematics": "16.6.1",
|
|
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.6.1",
|
|
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.6.1');
|
|
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.6.1', 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.6.1', 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.6.1', 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.6.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)('16.
|
|
10
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('16.6.1', 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.6.1', 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.6.1', 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.6.1', changes_1.updateDepedenciesVersion), postUpdate()]);
|
|
9
9
|
}
|
|
10
10
|
exports.default = default_1;
|
|
11
11
|
function postUpdate() {
|
|
Binary file
|