ng-zenduit 2.2.0 → 2.2.3
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/ng-zenduit.mjs +62 -7
- package/fesm2022/ng-zenduit.mjs.map +1 -1
- package/package.json +7 -7
- package/types/ng-zenduit.d.ts +13 -1
package/package.json
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ng-zenduit",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.3",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@angular/common": ">=
|
|
6
|
-
"@angular/core": ">=
|
|
5
|
+
"@angular/common": ">=22.0.0 <23.0.0",
|
|
6
|
+
"@angular/core": ">=22.0.0 <23.0.0",
|
|
7
7
|
"google-libphonenumber": ">=3.2.27",
|
|
8
8
|
"lodash.uniqby": ">=4.7.0",
|
|
9
9
|
"moment": ">=2.29.1",
|
|
10
|
-
"@ngx-translate/core": ">=
|
|
11
|
-
"@ngx-translate/http-loader": ">=
|
|
10
|
+
"@ngx-translate/core": ">=17.0.0",
|
|
11
|
+
"@ngx-translate/http-loader": ">=17.0.0",
|
|
12
12
|
"chart.js": "^4.0.0",
|
|
13
|
-
"ng2-charts": "^
|
|
13
|
+
"ng2-charts": "^10.0.0"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"tslib": "^2.3.0",
|
|
17
17
|
"node-snackbar": "^0.1.16",
|
|
18
18
|
"fabric": "^5.3.0",
|
|
19
|
-
"hls.js": "^1.
|
|
19
|
+
"hls.js": "^1.6.16"
|
|
20
20
|
},
|
|
21
21
|
"module": "fesm2022/ng-zenduit.mjs",
|
|
22
22
|
"typings": "types/ng-zenduit.d.ts",
|
package/types/ng-zenduit.d.ts
CHANGED
|
@@ -470,6 +470,7 @@ declare class ZenduSelectComponent implements OnChanges {
|
|
|
470
470
|
option: SelectOption | null;
|
|
471
471
|
canLoadMore: boolean;
|
|
472
472
|
isLoadingNow: boolean;
|
|
473
|
+
private _searchDebounce;
|
|
473
474
|
treeFilteredDataSource: DataSource[];
|
|
474
475
|
isSelectedAll: boolean;
|
|
475
476
|
/**
|
|
@@ -509,6 +510,16 @@ declare class ZenduSelectComponent implements OnChanges {
|
|
|
509
510
|
* Toggle dropdown
|
|
510
511
|
*/
|
|
511
512
|
toggleDropdown(): void;
|
|
513
|
+
/**
|
|
514
|
+
* Handle scroll on the options list — fetch the next page once the user
|
|
515
|
+
* scrolls near the bottom (lazy loading only).
|
|
516
|
+
*/
|
|
517
|
+
onOptionsScroll(event: Event): void;
|
|
518
|
+
/**
|
|
519
|
+
* Reset and re-fetch the first page when the search text changes in lazy
|
|
520
|
+
* mode (debounced so we don't fire a request on every keystroke).
|
|
521
|
+
*/
|
|
522
|
+
private reloadLazySearch;
|
|
512
523
|
/**
|
|
513
524
|
* Handle option selection
|
|
514
525
|
*/
|
|
@@ -2234,6 +2245,7 @@ declare class ZenButtonComponent {
|
|
|
2234
2245
|
variant: 'primary' | 'secondary-gray' | 'secondary' | 'tertiary-gray' | 'tertiary' | 'link-gray' | 'link';
|
|
2235
2246
|
buttonType: 'button' | 'button-dot' | 'button-icon-leading' | 'button-icon-trailing' | 'button-icon-only';
|
|
2236
2247
|
icon?: string;
|
|
2248
|
+
iconRotated: boolean;
|
|
2237
2249
|
size: '2xl' | 'xl' | 'lg' | 'md' | 'sm';
|
|
2238
2250
|
destructive: boolean;
|
|
2239
2251
|
disabled: boolean;
|
|
@@ -2243,7 +2255,7 @@ declare class ZenButtonComponent {
|
|
|
2243
2255
|
get buttonClasses(): string;
|
|
2244
2256
|
getIconName(): string;
|
|
2245
2257
|
static ɵfac: i0.ɵɵFactoryDeclaration<ZenButtonComponent, never>;
|
|
2246
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ZenButtonComponent, "zen-button", never, { "variant": { "alias": "variant"; "required": false; }; "buttonType": { "alias": "buttonType"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "size": { "alias": "size"; "required": false; }; "destructive": { "alias": "destructive"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
2258
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ZenButtonComponent, "zen-button", never, { "variant": { "alias": "variant"; "required": false; }; "buttonType": { "alias": "buttonType"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconRotated": { "alias": "iconRotated"; "required": false; }; "size": { "alias": "size"; "required": false; }; "destructive": { "alias": "destructive"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
2247
2259
|
}
|
|
2248
2260
|
|
|
2249
2261
|
interface DropdownMenuItem {
|