ng-zenduit 2.2.1 → 2.2.4
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 +299 -225
- package/fesm2022/ng-zenduit.mjs.map +1 -1
- package/package.json +1 -1
- package/types/ng-zenduit.d.ts +19 -2
package/package.json
CHANGED
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
|
*/
|
|
@@ -922,15 +933,20 @@ declare class ZenduPaginationBarComponent implements OnChanges {
|
|
|
922
933
|
page: number;
|
|
923
934
|
perPage: number;
|
|
924
935
|
count: number;
|
|
936
|
+
perPageOptions: number[];
|
|
925
937
|
pageChange: EventEmitter<number>;
|
|
938
|
+
perPageChange: EventEmitter<number>;
|
|
926
939
|
totalPages: number;
|
|
927
940
|
pages: PageItem[];
|
|
941
|
+
rangeStart: number;
|
|
942
|
+
rangeEnd: number;
|
|
928
943
|
ngOnChanges(changes: SimpleChanges): void;
|
|
929
944
|
goToPage(target: number): void;
|
|
945
|
+
onPerPageChange(value: number): void;
|
|
930
946
|
private recalculate;
|
|
931
947
|
private buildPages;
|
|
932
948
|
static ɵfac: i0.ɵɵFactoryDeclaration<ZenduPaginationBarComponent, never>;
|
|
933
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ZenduPaginationBarComponent, "zen-pagination-bar", never, { "page": { "alias": "page"; "required": false; }; "perPage": { "alias": "perPage"; "required": false; }; "count": { "alias": "count"; "required": false; }; }, { "pageChange": "pageChange"; }, never, never, false, never>;
|
|
949
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ZenduPaginationBarComponent, "zen-pagination-bar", never, { "page": { "alias": "page"; "required": false; }; "perPage": { "alias": "perPage"; "required": false; }; "count": { "alias": "count"; "required": false; }; "perPageOptions": { "alias": "perPageOptions"; "required": false; }; }, { "pageChange": "pageChange"; "perPageChange": "perPageChange"; }, never, never, false, never>;
|
|
934
950
|
}
|
|
935
951
|
|
|
936
952
|
interface ColumnState {
|
|
@@ -2234,6 +2250,7 @@ declare class ZenButtonComponent {
|
|
|
2234
2250
|
variant: 'primary' | 'secondary-gray' | 'secondary' | 'tertiary-gray' | 'tertiary' | 'link-gray' | 'link';
|
|
2235
2251
|
buttonType: 'button' | 'button-dot' | 'button-icon-leading' | 'button-icon-trailing' | 'button-icon-only';
|
|
2236
2252
|
icon?: string;
|
|
2253
|
+
iconRotated: boolean;
|
|
2237
2254
|
size: '2xl' | 'xl' | 'lg' | 'md' | 'sm';
|
|
2238
2255
|
destructive: boolean;
|
|
2239
2256
|
disabled: boolean;
|
|
@@ -2243,7 +2260,7 @@ declare class ZenButtonComponent {
|
|
|
2243
2260
|
get buttonClasses(): string;
|
|
2244
2261
|
getIconName(): string;
|
|
2245
2262
|
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>;
|
|
2263
|
+
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
2264
|
}
|
|
2248
2265
|
|
|
2249
2266
|
interface DropdownMenuItem {
|