@shival99/z-ui 1.2.6 → 1.2.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shival99/z-ui",
3
- "version": "1.2.6",
3
+ "version": "1.2.9",
4
4
  "description": "Z-UI: Modern Angular UI Component Library - A comprehensive, high-performance design system built with Angular 20+, featuring 40+ customizable components with dark mode, accessibility, and enterprise-ready features.",
5
5
  "keywords": [
6
6
  "angular",
@@ -218,7 +218,7 @@ declare class ZModalComponent<T, U> extends BasePortalOutlet implements OnDestro
218
218
  protected readonly effectiveOkText: _angular_core.Signal<string | null | undefined>;
219
219
  protected readonly effectiveCancelText: _angular_core.Signal<string | null | undefined>;
220
220
  protected readonly effectiveOkDestructive: _angular_core.Signal<boolean | undefined>;
221
- protected readonly effectiveTypeOk: _angular_core.Signal<"info" | "warning" | "error" | "default" | "primary" | "secondary" | "destructive" | "success" | "outline" | "outline-primary" | "outline-secondary" | "outline-success" | "outline-info" | "outline-warning" | "outline-error" | "outline-destructive" | "outline-success-secondary" | "outline-info-secondary" | "outline-warning-secondary" | "outline-error-secondary" | "outline-destructive-secondary" | "outline-primary-secondary" | "ghost" | "ghost-primary" | "ghost-success" | "ghost-info" | "ghost-warning" | "ghost-error" | "ghost-destructive" | "subtle" | "link" | null | undefined>;
221
+ protected readonly effectiveTypeOk: _angular_core.Signal<"info" | "warning" | "error" | "link" | "default" | "primary" | "secondary" | "destructive" | "success" | "outline" | "outline-primary" | "outline-secondary" | "outline-success" | "outline-info" | "outline-warning" | "outline-error" | "outline-destructive" | "outline-success-secondary" | "outline-info-secondary" | "outline-warning-secondary" | "outline-error-secondary" | "outline-destructive-secondary" | "outline-primary-secondary" | "ghost" | "ghost-primary" | "ghost-success" | "ghost-info" | "ghost-warning" | "ghost-error" | "ghost-destructive" | "subtle" | null | undefined>;
222
222
  protected readonly effectiveOkDisabled: _angular_core.Signal<boolean | undefined>;
223
223
  protected readonly effectiveLoading: _angular_core.Signal<boolean>;
224
224
  protected readonly effectiveContentLoading: _angular_core.Signal<boolean>;
@@ -1,6 +1,8 @@
1
1
  import * as _shival99_angular_virtual from '@shival99/angular-virtual';
2
2
  import * as _tanstack_angular_table from '@tanstack/angular-table';
3
3
  import { RowData, HeaderContext, CellContext, Row, ColumnPinningState, RowPinningState, SortingState, ColumnFiltersState, ExpandedState, RowSelectionState, VisibilityState, PaginationState, ColumnOrderState, createAngularTable, Column, Table, ColumnDef } from '@tanstack/angular-table';
4
+ import * as _shival99_z_ui_components_z_input from '@shival99/z-ui/components/z-input';
5
+ import { ZInputSize } from '@shival99/z-ui/components/z-input';
4
6
  import * as _angular_core from '@angular/core';
5
7
  import { TemplateRef, Type, AfterViewInit, ElementRef, OnDestroy } from '@angular/core';
6
8
  import { CdkDragDrop } from '@angular/cdk/drag-drop';
@@ -274,6 +276,13 @@ interface ZTableVirtualConfig {
274
276
  overscan?: number;
275
277
  groupSize?: number;
276
278
  }
279
+ interface ZTableSearchConfig {
280
+ enabled?: boolean;
281
+ placeholder?: string;
282
+ debounceTime?: number;
283
+ width?: string;
284
+ size?: ZInputSize;
285
+ }
277
286
  interface ZTableConfig<T> {
278
287
  mode?: ZTableMode;
279
288
  data: T[];
@@ -290,7 +299,7 @@ interface ZTableConfig<T> {
290
299
  enableSettings?: boolean;
291
300
  enableColumnResizing?: boolean;
292
301
  enableMultiSort?: boolean;
293
- enableSearch?: boolean;
302
+ search?: ZTableSearchConfig | boolean;
294
303
  enablePagination?: boolean;
295
304
  enableRowPinning?: boolean;
296
305
  enableColumnPinning?: boolean;
@@ -373,6 +382,14 @@ declare class ZTableComponent<T> implements AfterViewInit {
373
382
  protected readonly hasActionColumn: _angular_core.Signal<boolean>;
374
383
  protected readonly hasFiltering: _angular_core.Signal<boolean>;
375
384
  protected readonly hasSorting: _angular_core.Signal<boolean>;
385
+ protected readonly searchConfig: _angular_core.Signal<{
386
+ enabled: boolean;
387
+ placeholder: string;
388
+ debounceTime: number;
389
+ width: string;
390
+ size: _shival99_z_ui_components_z_input.ZInputSize;
391
+ } | null>;
392
+ protected readonly isSearchEnabled: _angular_core.Signal<boolean>;
376
393
  private readonly _data;
377
394
  private readonly _columns;
378
395
  protected readonly isVirtual: _angular_core.Signal<boolean>;
@@ -582,4 +599,4 @@ declare const findColumnConfig: <T>(columnId: string, columns: ZTableColumnConfi
582
599
  declare function columnConfigToColumnDef<T>(config: ZTableColumnConfig<T>): ColumnDef<T>;
583
600
 
584
601
  export { ZTableActionsComponent, ZTableComponent, ZTableFilterComponent, ZTableIconTextComponent, columnConfigToColumnDef, findColumnConfig, getBodyConfig, getFooterConfig, getHeaderConfig, isBodyConfig, isFooterConfig, isHeaderConfig };
585
- export type { ZTableActionClickEvent, ZTableActionColumnConfig, ZTableActionItem, ZTableChangeEvent, ZTableColumn, ZTableColumnConfig, ZTableConfig, ZTableControl, ZTableFilterChangeEvent, ZTableFilterConfig, ZTableFilterType, ZTablePageChangeEvent, ZTablePaginationConfig, ZTableRowExpandEvent, ZTableRowSelectEvent, ZTableSavedConfig, ZTableSearchChangeEvent, ZTableSortChangeEvent, ZTableSortConfig };
602
+ export type { ZTableActionClickEvent, ZTableActionColumnConfig, ZTableActionItem, ZTableChangeEvent, ZTableColumn, ZTableColumnConfig, ZTableConfig, ZTableControl, ZTableFilterChangeEvent, ZTableFilterConfig, ZTableFilterType, ZTablePageChangeEvent, ZTablePaginationConfig, ZTableRowExpandEvent, ZTableRowSelectEvent, ZTableSavedConfig, ZTableSearchChangeEvent, ZTableSearchConfig, ZTableSortChangeEvent, ZTableSortConfig };