@shival99/z-ui 1.3.26 → 1.3.28

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.3.26",
3
+ "version": "1.3.28",
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",
@@ -57,7 +57,10 @@
57
57
  "rxjs": ">=7.8.0",
58
58
  "tailwind-merge": ">=3.0.0",
59
59
  "@angular/platform-browser": "~21.0.6",
60
- "quill-resize-image": "^1.0.0"
60
+ "quill-resize-image": "^1.0.0",
61
+ "exceljs": "^4.4.0",
62
+ "file-saver": "^2.0.5",
63
+ "xlsx": "^0.18.5"
61
64
  },
62
65
  "peerDependenciesMeta": {
63
66
  "@ngx-translate/core": {
@@ -12,7 +12,7 @@ import { ZIcon, ZIconVariants } from '@shival99/z-ui/components/z-icon';
12
12
  import * as _shival99_z_ui_components_z_select from '@shival99/z-ui/components/z-select';
13
13
  import { ZSelectOption } from '@shival99/z-ui/components/z-select';
14
14
  import * as _shival99_z_ui_components_z_tooltip from '@shival99/z-ui/components/z-tooltip';
15
- import { ZTooltipConfig } from '@shival99/z-ui/components/z-tooltip';
15
+ import { ZTooltipConfig, ZTooltipContent } from '@shival99/z-ui/components/z-tooltip';
16
16
  import * as _shival99_z_ui_components_z_table from '@shival99/z-ui/components/z-table';
17
17
  import { ZDateRange } from '@shival99/z-ui/components/z-calendar';
18
18
  import { ZDropdownMenuItem } from '@shival99/z-ui/components/z-dropdown-menu';
@@ -190,12 +190,20 @@ interface ZTableSearchChangeEvent {
190
190
  sorting: SortingState;
191
191
  pagination: PaginationState;
192
192
  }
193
+ interface ZActionTooltipState {
194
+ content: ZTooltipContent;
195
+ alwaysShow: boolean;
196
+ position?: string;
197
+ arrow?: boolean;
198
+ offset?: number;
199
+ maxWidth?: string;
200
+ }
193
201
  interface ZTableActionItem<T = unknown> {
194
202
  key: string;
195
203
  label?: string;
196
204
  icon?: ZIcon;
197
205
  iconSize?: ZIconVariants['zSize'];
198
- tooltip?: string;
206
+ tooltip?: string | ZTooltipConfig;
199
207
  type?: ZButtonVariants['zType'];
200
208
  size?: ZButtonVariants['zSize'];
201
209
  class?: string;
@@ -558,16 +566,17 @@ declare class ZTableActionsComponent<T = unknown> {
558
566
  readonly zConfig: _angular_core.InputSignal<ZTableActionColumnConfig<T>>;
559
567
  readonly zRow: _angular_core.InputSignal<T>;
560
568
  readonly zRowId: _angular_core.InputSignal<string>;
561
- readonly zDropdownButtonSize: _angular_core.InputSignal<"default" | "xs" | "sm" | "lg" | "xl" | null | undefined>;
569
+ readonly zDropdownButtonSize: _angular_core.InputSignal<"sm" | "default" | "xs" | "lg" | "xl" | null | undefined>;
562
570
  readonly zActionClick: _angular_core.OutputEmitterRef<ZTableActionClickEvent<T>>;
563
571
  protected readonly allActions: _angular_core.Signal<ZTableActionItem<T>[]>;
564
572
  protected readonly shouldShowAsButtons: _angular_core.Signal<boolean>;
565
573
  protected readonly actionStates: _angular_core.Signal<Record<string, {
566
574
  visible: boolean;
567
575
  disabled: boolean;
568
- tooltip: string;
576
+ tooltipState: ZActionTooltipState;
569
577
  }>>;
570
578
  protected readonly dropdownItems: _angular_core.Signal<ZDropdownMenuItem[]>;
579
+ private _getTooltipState;
571
580
  protected _onActionClick(action: ZTableActionItem<T>, event: Event): void;
572
581
  protected _onDropdownItemClick(item: ZDropdownMenuItem): void;
573
582
  private _emitActionClick;