@shival99/z-ui 2.2.5 → 2.3.0
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/assets/css/base.css +4 -0
- package/assets/css/overlay.css +82 -0
- package/assets/css/tailwind.css +1 -0
- package/assets/css/themes/hospital.css +28 -2
- package/fesm2022/shival99-z-ui-components-z-button-group.mjs +15 -13
- package/fesm2022/shival99-z-ui-components-z-button-group.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-components-z-button.mjs +2 -2
- package/fesm2022/shival99-z-ui-components-z-button.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-components-z-calendar.mjs +23 -17
- package/fesm2022/shival99-z-ui-components-z-calendar.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-components-z-command.mjs +10 -24
- package/fesm2022/shival99-z-ui-components-z-command.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-components-z-drawer.mjs +61 -70
- package/fesm2022/shival99-z-ui-components-z-drawer.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-components-z-gallery.mjs +6 -8
- package/fesm2022/shival99-z-ui-components-z-gallery.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-components-z-icon.mjs +227 -11
- package/fesm2022/shival99-z-ui-components-z-icon.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-components-z-marquee.mjs +19 -4
- package/fesm2022/shival99-z-ui-components-z-marquee.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-components-z-menu.mjs +7 -7
- package/fesm2022/shival99-z-ui-components-z-menu.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-components-z-modal.mjs +45 -62
- package/fesm2022/shival99-z-ui-components-z-modal.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-components-z-overlay.mjs +363 -0
- package/fesm2022/shival99-z-ui-components-z-overlay.mjs.map +1 -0
- package/fesm2022/shival99-z-ui-components-z-popover.mjs +94 -378
- package/fesm2022/shival99-z-ui-components-z-popover.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-components-z-skeleton.mjs +14 -3
- package/fesm2022/shival99-z-ui-components-z-skeleton.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-components-z-table.mjs +42 -16
- package/fesm2022/shival99-z-ui-components-z-table.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-components-z-tabs.mjs +85 -7
- package/fesm2022/shival99-z-ui-components-z-tabs.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-components-z-toast.mjs +32 -25
- package/fesm2022/shival99-z-ui-components-z-toast.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-components-z-tooltip.mjs +52 -222
- package/fesm2022/shival99-z-ui-components-z-tooltip.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-providers.mjs +9 -2
- package/fesm2022/shival99-z-ui-providers.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-services.mjs +203 -98
- package/fesm2022/shival99-z-ui-services.mjs.map +1 -1
- package/package.json +9 -1
- package/types/shival99-z-ui-components-z-autocomplete.d.ts +1 -1
- package/types/shival99-z-ui-components-z-button-group.d.ts +12 -11
- package/types/shival99-z-ui-components-z-button.d.ts +2 -1
- package/types/shival99-z-ui-components-z-calendar.d.ts +4 -4
- package/types/shival99-z-ui-components-z-command.d.ts +2 -4
- package/types/shival99-z-ui-components-z-drawer.d.ts +22 -16
- package/types/shival99-z-ui-components-z-editor.d.ts +1 -1
- package/types/shival99-z-ui-components-z-gallery.d.ts +3 -3
- package/types/shival99-z-ui-components-z-icon.d.ts +38 -6
- package/types/shival99-z-ui-components-z-marquee.d.ts +7 -1
- package/types/shival99-z-ui-components-z-modal.d.ts +53 -53
- package/types/shival99-z-ui-components-z-overlay.d.ts +145 -0
- package/types/shival99-z-ui-components-z-popover.d.ts +7 -15
- package/types/shival99-z-ui-components-z-qrcode.d.ts +1 -1
- package/types/shival99-z-ui-components-z-select.d.ts +1 -1
- package/types/shival99-z-ui-components-z-skeleton.d.ts +2 -0
- package/types/shival99-z-ui-components-z-table.d.ts +7 -3
- package/types/shival99-z-ui-components-z-tabs.d.ts +13 -3
- package/types/shival99-z-ui-components-z-toast.d.ts +7 -1
- package/types/shival99-z-ui-components-z-tooltip.d.ts +9 -7
- package/types/shival99-z-ui-components-z-upload.d.ts +3 -3
- package/types/shival99-z-ui-providers.d.ts +3 -1
- package/types/shival99-z-ui-services.d.ts +73 -37
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shival99/z-ui",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.0",
|
|
4
4
|
"description": "Z-UI: Modern Angular UI Component Library - A comprehensive, high-performance design system built with Angular 22, featuring 40+ customizable components with dark mode, accessibility, and enterprise-ready features.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -43,11 +43,15 @@
|
|
|
43
43
|
"@angular/platform-browser": ">=22.0.0 <23.0.0",
|
|
44
44
|
"@angular/router": ">=22.0.0 <23.0.0",
|
|
45
45
|
"@dayflow/blossom-color-picker-angular": ">=1.0.0",
|
|
46
|
+
"@floating-ui/dom": ">=1.0.0",
|
|
46
47
|
"@hugeicons/core-free-icons": ">=4.0.0",
|
|
47
48
|
"@ng-icons/core": ">=33.0.0",
|
|
49
|
+
"@ng-icons/heroicons": ">=33.0.0",
|
|
50
|
+
"@ng-icons/iconoir": ">=33.0.0",
|
|
48
51
|
"@ng-icons/iconsax": ">=33.0.0",
|
|
49
52
|
"@ng-icons/lucide": ">=33.0.0",
|
|
50
53
|
"@ng-icons/phosphor-icons": ">=33.0.0",
|
|
54
|
+
"@ng-icons/tabler-icons": ">=33.0.0",
|
|
51
55
|
"@ngx-translate/core": ">=17.0.0",
|
|
52
56
|
"@tanstack/angular-virtual": ">=6.0.2",
|
|
53
57
|
"@shival99/ngx-sonner": ">=3.0.0",
|
|
@@ -283,6 +287,10 @@
|
|
|
283
287
|
"types": "./types/shival99-z-ui-components-z-modal.d.ts",
|
|
284
288
|
"default": "./fesm2022/shival99-z-ui-components-z-modal.mjs"
|
|
285
289
|
},
|
|
290
|
+
"./components/z-overlay": {
|
|
291
|
+
"types": "./types/shival99-z-ui-components-z-overlay.d.ts",
|
|
292
|
+
"default": "./fesm2022/shival99-z-ui-components-z-overlay.mjs"
|
|
293
|
+
},
|
|
286
294
|
"./components/z-pagination": {
|
|
287
295
|
"types": "./types/shival99-z-ui-components-z-pagination.d.ts",
|
|
288
296
|
"default": "./fesm2022/shival99-z-ui-components-z-pagination.mjs"
|
|
@@ -278,7 +278,7 @@ declare class ZAutocompleteComponent<T = unknown> implements OnInit, ControlValu
|
|
|
278
278
|
|
|
279
279
|
declare const zAutocompleteInputVariants: (props?: ({
|
|
280
280
|
zSize?: "sm" | "default" | "lg" | null | undefined;
|
|
281
|
-
zStatus?: "default" | "
|
|
281
|
+
zStatus?: "default" | "error" | "disabled" | "readonly" | "open" | null | undefined;
|
|
282
282
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
283
283
|
type ZAutocompleteInputVariants = VariantProps<typeof zAutocompleteInputVariants>;
|
|
284
284
|
declare const zAutocompleteOptionVariants: (props?: ({
|
|
@@ -1,15 +1,23 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { InjectionToken } from '@angular/core';
|
|
3
|
-
import { ClassValue } from 'clsx';
|
|
4
|
-
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
5
3
|
import { VariantProps } from 'class-variance-authority';
|
|
4
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
5
|
+
import { ClassValue } from 'clsx';
|
|
6
|
+
|
|
7
|
+
declare const zButtonGroupVariants: (props?: ({
|
|
8
|
+
zOrientation?: "horizontal" | "vertical" | null | undefined;
|
|
9
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
10
|
+
declare const zButtonGroupSeparatorVariants: (props?: ({
|
|
11
|
+
zOrientation?: "horizontal" | "vertical" | null | undefined;
|
|
12
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
6
13
|
|
|
7
14
|
type ZButtonGroupValue = string | number;
|
|
15
|
+
type ZButtonGroupVariants = VariantProps<typeof zButtonGroupVariants>;
|
|
16
|
+
type ZButtonGroupSeparatorVariants = VariantProps<typeof zButtonGroupSeparatorVariants>;
|
|
8
17
|
interface ZButtonGroupHost {
|
|
9
18
|
_selectItem(value: ZButtonGroupValue, index: number): void;
|
|
10
19
|
_isItemActive(value: ZButtonGroupValue): boolean;
|
|
11
20
|
}
|
|
12
|
-
declare const Z_BUTTON_GROUP: InjectionToken<ZButtonGroupHost>;
|
|
13
21
|
|
|
14
22
|
declare class ZButtonGroupItemDirective {
|
|
15
23
|
private readonly _group;
|
|
@@ -48,14 +56,7 @@ declare class ZButtonGroupComponent implements ZButtonGroupHost {
|
|
|
48
56
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ZButtonGroupComponent, "z-button-group", ["zButtonGroup"], { "zClass": { "alias": "zClass"; "required": false; "isSignal": true; }; "zOrientation": { "alias": "zOrientation"; "required": false; "isSignal": true; }; "zActive": { "alias": "zActive"; "required": false; "isSignal": true; }; }, { "zActive": "zActiveChange"; "zActiveIndexChange": "zActiveIndexChange"; "zActiveValueChange": "zActiveValueChange"; }, ["_items"], ["*"], true, never>;
|
|
49
57
|
}
|
|
50
58
|
|
|
51
|
-
declare const
|
|
52
|
-
zOrientation?: "horizontal" | "vertical" | null | undefined;
|
|
53
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
54
|
-
declare const zButtonGroupSeparatorVariants: (props?: ({
|
|
55
|
-
zOrientation?: "horizontal" | "vertical" | null | undefined;
|
|
56
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
57
|
-
type ZButtonGroupVariants = VariantProps<typeof zButtonGroupVariants>;
|
|
58
|
-
type ZButtonGroupSeparatorVariants = VariantProps<typeof zButtonGroupSeparatorVariants>;
|
|
59
|
+
declare const Z_BUTTON_GROUP: InjectionToken<ZButtonGroupHost>;
|
|
59
60
|
|
|
60
61
|
export { ZButtonGroupComponent, ZButtonGroupItemDirective, ZButtonGroupSeparatorComponent, Z_BUTTON_GROUP, zButtonGroupSeparatorVariants, zButtonGroupVariants };
|
|
61
62
|
export type { ZButtonGroupHost, ZButtonGroupSeparatorVariants, ZButtonGroupValue, ZButtonGroupVariants };
|
|
@@ -2,8 +2,8 @@ import * as _angular_core from '@angular/core';
|
|
|
2
2
|
import { OnDestroy } from '@angular/core';
|
|
3
3
|
import { ZIcon, ZIconAnimationTrigger } from '@shival99/z-ui/components/z-icon';
|
|
4
4
|
import { ClassValue } from 'clsx';
|
|
5
|
-
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
6
5
|
import { VariantProps } from 'class-variance-authority';
|
|
6
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
7
7
|
|
|
8
8
|
declare class ZButtonComponent implements OnDestroy {
|
|
9
9
|
private readonly _elementRef;
|
|
@@ -39,6 +39,7 @@ declare const zButtonVariants: (props?: ({
|
|
|
39
39
|
zLoading?: boolean | null | undefined;
|
|
40
40
|
zDisabled?: boolean | null | undefined;
|
|
41
41
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
42
|
+
|
|
42
43
|
type ZButtonVariants = VariantProps<typeof zButtonVariants>;
|
|
43
44
|
|
|
44
45
|
export { ZButtonComponent, zButtonVariants };
|
|
@@ -431,16 +431,16 @@ declare class ZCalendarComponent implements OnInit, ControlValueAccessor {
|
|
|
431
431
|
|
|
432
432
|
declare const zCalendarVariants: (props?: ({
|
|
433
433
|
zSize?: "sm" | "default" | "lg" | null | undefined;
|
|
434
|
-
zStatus?: "default" | "disabled" | "
|
|
434
|
+
zStatus?: "default" | "disabled" | "readonly" | "open" | "error" | null | undefined;
|
|
435
435
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
436
436
|
declare const zCalendarDayVariants: (props?: ({
|
|
437
|
-
state?: "default" | "today" | "selected" | "inRange" | "rangeStart" | "rangeEnd" | "rangeSingle" | "
|
|
437
|
+
state?: "default" | "disabled" | "today" | "selected" | "inRange" | "rangeStart" | "rangeEnd" | "rangeSingle" | "otherMonth" | "hovered" | null | undefined;
|
|
438
438
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
439
439
|
declare const zCalendarMonthVariants: (props?: ({
|
|
440
|
-
state?: "default" | "
|
|
440
|
+
state?: "default" | "current" | "disabled" | "selected" | null | undefined;
|
|
441
441
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
442
442
|
declare const zCalendarYearVariants: (props?: ({
|
|
443
|
-
state?: "default" | "
|
|
443
|
+
state?: "default" | "current" | "disabled" | "selected" | null | undefined;
|
|
444
444
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
445
445
|
|
|
446
446
|
export { ZCalendarComponent, zCalendarDayVariants, zCalendarMonthVariants, zCalendarVariants, zCalendarYearVariants };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _shival99_z_ui_components_z_icon from '@shival99/z-ui/components/z-icon';
|
|
2
2
|
import { ZIcon } from '@shival99/z-ui/components/z-icon';
|
|
3
3
|
import * as _angular_core from '@angular/core';
|
|
4
|
-
import { OnDestroy,
|
|
4
|
+
import { OnDestroy, ElementRef } from '@angular/core';
|
|
5
5
|
import { ClassValue } from 'clsx';
|
|
6
6
|
|
|
7
7
|
interface ZCommandItem<T = any> {
|
|
@@ -26,12 +26,10 @@ declare class ZCommandComponent implements OnDestroy {
|
|
|
26
26
|
readonly zPlaceholder: _angular_core.InputSignal<string>;
|
|
27
27
|
readonly zGroups: _angular_core.InputSignal<ZCommandGroup[]>;
|
|
28
28
|
readonly zOverlay: _angular_core.InputSignal<"dark" | "blur">;
|
|
29
|
-
protected readonly dummyTemplateRef: _angular_core.Signal<TemplateRef<unknown> | undefined>;
|
|
30
29
|
protected readonly searchInputRef: _angular_core.Signal<ElementRef<HTMLInputElement> | undefined>;
|
|
31
30
|
private readonly _platformId;
|
|
32
31
|
private readonly _host;
|
|
33
|
-
private readonly
|
|
34
|
-
private readonly _viewContainerRef;
|
|
32
|
+
private readonly _overlayService;
|
|
35
33
|
private readonly _cdr;
|
|
36
34
|
private readonly _destroyRef;
|
|
37
35
|
private readonly _zTranslate;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { TemplateRef, Type, WritableSignal, EventEmitter, ViewContainerRef,
|
|
3
|
-
import { BasePortalOutlet, CdkPortalOutlet, ComponentPortal, TemplatePortal } from '@angular/cdk/portal';
|
|
2
|
+
import { TemplateRef, Type, WritableSignal, EventEmitter, ViewContainerRef, OnDestroy, AfterViewChecked, Injector, ComponentRef, EmbeddedViewRef, InjectionToken } from '@angular/core';
|
|
4
3
|
import { ClassValue } from 'clsx';
|
|
5
4
|
import { NgScrollbar } from 'ngx-scrollbar';
|
|
6
|
-
import { ComponentType, OverlayRef } from '@angular/cdk/overlay';
|
|
7
5
|
import { ZIcon } from '@shival99/z-ui/components/z-icon';
|
|
8
6
|
import { Observable } from 'rxjs';
|
|
7
|
+
import { ZOverlayRef } from '@shival99/z-ui/components/z-overlay';
|
|
9
8
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
10
9
|
|
|
11
10
|
declare class ZDrawerContentDirective {
|
|
@@ -26,10 +25,11 @@ declare class ZDrawerHeaderDirective {
|
|
|
26
25
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ZDrawerHeaderDirective, "[z-drawer-header], [zDrawerHeader]", never, {}, {}, never, never, true, never>;
|
|
27
26
|
}
|
|
28
27
|
|
|
29
|
-
type ZDrawerContentType<T> =
|
|
28
|
+
type ZDrawerContentType<T> = Type<T> | TemplateRef<T> | string;
|
|
30
29
|
type ZDrawerPlacement = 'left' | 'right' | 'top' | 'bottom';
|
|
31
|
-
|
|
30
|
+
type ZDrawerScrollMode = 'drawer' | 'inner';
|
|
32
31
|
type ZDrawerOnClickCallBack<T> = (instance: T, drawerRef?: unknown) => false | void | object;
|
|
32
|
+
|
|
33
33
|
/**
|
|
34
34
|
* Configuration options for z-drawer component.
|
|
35
35
|
*
|
|
@@ -110,6 +110,8 @@ declare class ZDrawerOptions<T, U> {
|
|
|
110
110
|
zSkeletonRows?: number;
|
|
111
111
|
/** Whether the drawer can be resized from its outer edge */
|
|
112
112
|
zExpand?: boolean;
|
|
113
|
+
/** Scroll ownership: the drawer viewport by default, or an inner content viewport */
|
|
114
|
+
zScrollMode?: ZDrawerScrollMode;
|
|
113
115
|
}
|
|
114
116
|
|
|
115
117
|
declare class ZDrawerRef<T = any, R = any, U = any> {
|
|
@@ -123,7 +125,7 @@ declare class ZDrawerRef<T = any, R = any, U = any> {
|
|
|
123
125
|
componentInstance: T | null;
|
|
124
126
|
readonly loading: _angular_core.WritableSignal<boolean>;
|
|
125
127
|
readonly zAfterClose: EventEmitter<R | undefined>;
|
|
126
|
-
constructor(_overlayRef:
|
|
128
|
+
constructor(_overlayRef: ZOverlayRef, _config: ZDrawerOptions<T, U>, _containerInstance: ZDrawerComponent<T, U>, _platformId: object);
|
|
127
129
|
setLoading(value: boolean): void;
|
|
128
130
|
close(result?: R): void;
|
|
129
131
|
private _trigger;
|
|
@@ -137,7 +139,7 @@ declare const zDrawerVariants: (props?: ({
|
|
|
137
139
|
shape?: "rounded" | "square" | null | undefined;
|
|
138
140
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
139
141
|
|
|
140
|
-
declare class ZDrawerComponent<T, U>
|
|
142
|
+
declare class ZDrawerComponent<T, U> implements OnDestroy, AfterViewChecked {
|
|
141
143
|
readonly zOnOk: _angular_core.OutputEmitterRef<void>;
|
|
142
144
|
readonly zOnCancel: _angular_core.OutputEmitterRef<void>;
|
|
143
145
|
readonly zAfterClose: _angular_core.OutputEmitterRef<void>;
|
|
@@ -168,20 +170,19 @@ declare class ZDrawerComponent<T, U> extends BasePortalOutlet implements OnDestr
|
|
|
168
170
|
readonly zContentLoading: _angular_core.InputSignal<boolean>;
|
|
169
171
|
readonly zSkeletonRows: _angular_core.InputSignal<number | null>;
|
|
170
172
|
readonly zExpand: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
173
|
+
readonly zScrollMode: _angular_core.InputSignal<ZDrawerScrollMode>;
|
|
171
174
|
protected readonly customHeader: _angular_core.Signal<ZDrawerHeaderDirective | undefined>;
|
|
172
175
|
protected readonly customContent: _angular_core.Signal<ZDrawerContentDirective | undefined>;
|
|
173
176
|
protected readonly customFooter: _angular_core.Signal<ZDrawerFooterDirective | undefined>;
|
|
174
177
|
private readonly _drawerRef;
|
|
175
178
|
get drawerRef(): ZDrawerRef<T> | undefined;
|
|
176
179
|
set drawerRef(value: ZDrawerRef<T> | undefined);
|
|
177
|
-
readonly
|
|
178
|
-
protected readonly dummyTemplateRef: _angular_core.Signal<TemplateRef<unknown> | undefined>;
|
|
180
|
+
protected readonly contentOutlet: _angular_core.Signal<ViewContainerRef | undefined>;
|
|
179
181
|
protected readonly mainContentRef: _angular_core.Signal<NgScrollbar | undefined>;
|
|
180
182
|
protected readonly config: ZDrawerOptions<T, U>;
|
|
181
183
|
private readonly _platformId;
|
|
182
184
|
private readonly _host;
|
|
183
|
-
private readonly
|
|
184
|
-
private readonly _viewContainerRef;
|
|
185
|
+
private readonly _overlayService;
|
|
185
186
|
private readonly _cdr;
|
|
186
187
|
private readonly _destroyRef;
|
|
187
188
|
private readonly _zTranslate;
|
|
@@ -209,6 +210,7 @@ declare class ZDrawerComponent<T, U> extends BasePortalOutlet implements OnDestr
|
|
|
209
210
|
private readonly _resizedHeight;
|
|
210
211
|
ngAfterViewChecked(): void;
|
|
211
212
|
private _checkScrollState;
|
|
213
|
+
onContentWheel(event: WheelEvent): void;
|
|
212
214
|
onContentScroll(event: Event): void;
|
|
213
215
|
protected readonly effectiveTitle: _angular_core.Signal<string | TemplateRef<unknown> | undefined>;
|
|
214
216
|
protected readonly effectiveDescription: _angular_core.Signal<string | TemplateRef<unknown> | undefined>;
|
|
@@ -232,6 +234,8 @@ declare class ZDrawerComponent<T, U> extends BasePortalOutlet implements OnDestr
|
|
|
232
234
|
protected readonly effectiveSkeletonRows: _angular_core.Signal<number>;
|
|
233
235
|
protected readonly effectivePlacement: _angular_core.Signal<ZDrawerPlacement>;
|
|
234
236
|
protected readonly effectiveExpand: _angular_core.Signal<boolean>;
|
|
237
|
+
protected readonly effectiveScrollMode: _angular_core.Signal<ZDrawerScrollMode>;
|
|
238
|
+
protected readonly isInnerScrollMode: _angular_core.Signal<boolean>;
|
|
235
239
|
protected readonly resizeIcon: _angular_core.Signal<"lucideGripVertical" | "lucideGripHorizontal">;
|
|
236
240
|
protected readonly effectiveShadow: _angular_core.Signal<boolean>;
|
|
237
241
|
protected readonly effectiveShape: _angular_core.Signal<ZDrawerShape>;
|
|
@@ -246,8 +250,8 @@ declare class ZDrawerComponent<T, U> extends BasePortalOutlet implements OnDestr
|
|
|
246
250
|
onHostPointerDown(event: PointerEvent): void;
|
|
247
251
|
isDestroyed(): boolean;
|
|
248
252
|
getNativeElement(): HTMLElement;
|
|
249
|
-
attachComponentPortal<
|
|
250
|
-
attachTemplatePortal<C>(
|
|
253
|
+
attachComponentPortal<C>(component: Type<C>, injector?: Injector): ComponentRef<C>;
|
|
254
|
+
attachTemplatePortal<C>(templateRef: TemplateRef<C>, context: C): EmbeddedViewRef<C>;
|
|
251
255
|
onOkClick(): void;
|
|
252
256
|
onCloseClick(): void;
|
|
253
257
|
onBackdropClick(): void;
|
|
@@ -262,11 +266,11 @@ declare class ZDrawerComponent<T, U> extends BasePortalOutlet implements OnDestr
|
|
|
262
266
|
private _clearCloseTimeout;
|
|
263
267
|
private _disposeTemplateOverlay;
|
|
264
268
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ZDrawerComponent<any, any>, never>;
|
|
265
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ZDrawerComponent<any, any>, "z-drawer", ["zDrawer"], { "class": { "alias": "class"; "required": false; "isSignal": true; }; "zBodyClass": { "alias": "zBodyClass"; "required": false; "isSignal": true; }; "zVisible": { "alias": "zVisible"; "required": false; "isSignal": true; }; "zTitle": { "alias": "zTitle"; "required": false; "isSignal": true; }; "zDescription": { "alias": "zDescription"; "required": false; "isSignal": true; }; "zWidth": { "alias": "zWidth"; "required": false; "isSignal": true; }; "zHeight": { "alias": "zHeight"; "required": false; "isSignal": true; }; "zPlacement": { "alias": "zPlacement"; "required": false; "isSignal": true; }; "zClosable": { "alias": "zClosable"; "required": false; "isSignal": true; }; "zMaskClosable": { "alias": "zMaskClosable"; "required": false; "isSignal": true; }; "zDisableShadow": { "alias": "zDisableShadow"; "required": false; "isSignal": true; }; "zHeaderBorder": { "alias": "zHeaderBorder"; "required": false; "isSignal": true; }; "zFooterBorder": { "alias": "zFooterBorder"; "required": false; "isSignal": true; }; "zHideFooter": { "alias": "zHideFooter"; "required": false; "isSignal": true; }; "zHideHeader": { "alias": "zHideHeader"; "required": false; "isSignal": true; }; "zOkText": { "alias": "zOkText"; "required": false; "isSignal": true; }; "zCancelText": { "alias": "zCancelText"; "required": false; "isSignal": true; }; "zOkDestructive": { "alias": "zOkDestructive"; "required": false; "isSignal": true; }; "zOkDisabled": { "alias": "zOkDisabled"; "required": false; "isSignal": true; }; "zLoading": { "alias": "zLoading"; "required": false; "isSignal": true; }; "zOverlay": { "alias": "zOverlay"; "required": false; "isSignal": true; }; "zShadow": { "alias": "zShadow"; "required": false; "isSignal": true; }; "zShape": { "alias": "zShape"; "required": false; "isSignal": true; }; "zContentLoading": { "alias": "zContentLoading"; "required": false; "isSignal": true; }; "zSkeletonRows": { "alias": "zSkeletonRows"; "required": false; "isSignal": true; }; "zExpand": { "alias": "zExpand"; "required": false; "isSignal": true; }; }, { "zOnOk": "zOnOk"; "zOnCancel": "zOnCancel"; "zAfterClose": "zAfterClose"; "zScrollbar": "zScrollbar"; "zVisible": "zVisibleChange"; }, ["customHeader", "customContent", "customFooter"], ["*"], true, never>;
|
|
269
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ZDrawerComponent<any, any>, "z-drawer", ["zDrawer"], { "class": { "alias": "class"; "required": false; "isSignal": true; }; "zBodyClass": { "alias": "zBodyClass"; "required": false; "isSignal": true; }; "zVisible": { "alias": "zVisible"; "required": false; "isSignal": true; }; "zTitle": { "alias": "zTitle"; "required": false; "isSignal": true; }; "zDescription": { "alias": "zDescription"; "required": false; "isSignal": true; }; "zWidth": { "alias": "zWidth"; "required": false; "isSignal": true; }; "zHeight": { "alias": "zHeight"; "required": false; "isSignal": true; }; "zPlacement": { "alias": "zPlacement"; "required": false; "isSignal": true; }; "zClosable": { "alias": "zClosable"; "required": false; "isSignal": true; }; "zMaskClosable": { "alias": "zMaskClosable"; "required": false; "isSignal": true; }; "zDisableShadow": { "alias": "zDisableShadow"; "required": false; "isSignal": true; }; "zHeaderBorder": { "alias": "zHeaderBorder"; "required": false; "isSignal": true; }; "zFooterBorder": { "alias": "zFooterBorder"; "required": false; "isSignal": true; }; "zHideFooter": { "alias": "zHideFooter"; "required": false; "isSignal": true; }; "zHideHeader": { "alias": "zHideHeader"; "required": false; "isSignal": true; }; "zOkText": { "alias": "zOkText"; "required": false; "isSignal": true; }; "zCancelText": { "alias": "zCancelText"; "required": false; "isSignal": true; }; "zOkDestructive": { "alias": "zOkDestructive"; "required": false; "isSignal": true; }; "zOkDisabled": { "alias": "zOkDisabled"; "required": false; "isSignal": true; }; "zLoading": { "alias": "zLoading"; "required": false; "isSignal": true; }; "zOverlay": { "alias": "zOverlay"; "required": false; "isSignal": true; }; "zShadow": { "alias": "zShadow"; "required": false; "isSignal": true; }; "zShape": { "alias": "zShape"; "required": false; "isSignal": true; }; "zContentLoading": { "alias": "zContentLoading"; "required": false; "isSignal": true; }; "zSkeletonRows": { "alias": "zSkeletonRows"; "required": false; "isSignal": true; }; "zExpand": { "alias": "zExpand"; "required": false; "isSignal": true; }; "zScrollMode": { "alias": "zScrollMode"; "required": false; "isSignal": true; }; }, { "zOnOk": "zOnOk"; "zOnCancel": "zOnCancel"; "zAfterClose": "zAfterClose"; "zScrollbar": "zScrollbar"; "zVisible": "zVisibleChange"; }, ["customHeader", "customContent", "customFooter"], ["*"], true, never>;
|
|
266
270
|
}
|
|
267
271
|
|
|
268
272
|
declare class ZDrawerService {
|
|
269
|
-
private readonly
|
|
273
|
+
private readonly _overlayService;
|
|
270
274
|
private readonly _injector;
|
|
271
275
|
private readonly _platformId;
|
|
272
276
|
private readonly _zIndexService;
|
|
@@ -280,5 +284,7 @@ declare class ZDrawerService {
|
|
|
280
284
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<ZDrawerService>;
|
|
281
285
|
}
|
|
282
286
|
|
|
287
|
+
declare const Z_DRAWER_DATA: InjectionToken<any>;
|
|
288
|
+
|
|
283
289
|
export { ZDrawerComponent, ZDrawerContentDirective, ZDrawerFooterDirective, ZDrawerHeaderDirective, ZDrawerOptions, ZDrawerRef, ZDrawerService, Z_DRAWER_DATA, zDrawerVariants };
|
|
284
|
-
export type { ZDrawerContentType, ZDrawerPlacement };
|
|
290
|
+
export type { ZDrawerContentType, ZDrawerOnClickCallBack, ZDrawerPlacement, ZDrawerScrollMode };
|
|
@@ -328,7 +328,7 @@ declare const Z_EDITOR_DEFAULT_TOOLBAR: readonly ZEditorToolbarItem[];
|
|
|
328
328
|
|
|
329
329
|
declare const zEditorVariants: (props?: ({
|
|
330
330
|
zSize?: "sm" | "default" | "lg" | null | undefined;
|
|
331
|
-
zStatus?: "default" | "
|
|
331
|
+
zStatus?: "default" | "disabled" | "readonly" | "error" | null | undefined;
|
|
332
332
|
zPlaceholderMode?: "firstLine" | "everyLine" | null | undefined;
|
|
333
333
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
334
334
|
type ZEditorVariants = VariantProps<typeof zEditorVariants>;
|
|
@@ -5,7 +5,7 @@ import { ClassValue } from 'clsx';
|
|
|
5
5
|
import { LayoutConfig, ThemeConfig, ControlVisibilityConfig, GroupVisibilityConfig, AutoActionConfig, ViewerConfig, PdfJsViewerComponent } from 'ng2-pdfjs-viewer';
|
|
6
6
|
import * as _shival99_z_ui_components_z_gallery from '@shival99/z-ui/components/z-gallery';
|
|
7
7
|
import { SafeHtml } from '@angular/platform-browser';
|
|
8
|
-
import {
|
|
8
|
+
import { ZOverlayRef } from '@shival99/z-ui/components/z-overlay';
|
|
9
9
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
10
10
|
import { VariantProps } from 'class-variance-authority';
|
|
11
11
|
|
|
@@ -358,14 +358,14 @@ declare class ZGalleryPreviewRef {
|
|
|
358
358
|
private _closed;
|
|
359
359
|
componentInstance: ZGalleryPreviewComponent | null;
|
|
360
360
|
readonly zAfterClose: EventEmitter<void>;
|
|
361
|
-
constructor(_overlayRef:
|
|
361
|
+
constructor(_overlayRef: ZOverlayRef | null);
|
|
362
362
|
close(): void;
|
|
363
363
|
}
|
|
364
364
|
|
|
365
365
|
declare class ZGalleryPreviewService {
|
|
366
366
|
private readonly _document;
|
|
367
367
|
private readonly _injector;
|
|
368
|
-
private readonly
|
|
368
|
+
private readonly _overlayService;
|
|
369
369
|
private readonly _platformId;
|
|
370
370
|
private readonly _zIndexService;
|
|
371
371
|
open(file: ZGalleryFile, options?: Omit<ZGalleryPreviewOptions, 'file'>): ZGalleryPreviewRef;
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { Type, EnvironmentProviders } from '@angular/core';
|
|
2
|
+
import { OnDestroy, ViewContainerRef, Type, EnvironmentProviders } from '@angular/core';
|
|
3
3
|
import { ClassValue } from 'clsx';
|
|
4
4
|
import * as hugeIcons from '@hugeicons/core-free-icons';
|
|
5
|
+
import * as heroMicroIcons from '@ng-icons/heroicons/micro';
|
|
6
|
+
import * as heroMiniIcons from '@ng-icons/heroicons/mini';
|
|
7
|
+
import * as heroOutlineIcons from '@ng-icons/heroicons/outline';
|
|
8
|
+
import * as heroSolidIcons from '@ng-icons/heroicons/solid';
|
|
9
|
+
import * as iconoirRegularIcons from '@ng-icons/iconoir/regular';
|
|
10
|
+
import * as iconoirSolidIcons from '@ng-icons/iconoir/solid';
|
|
5
11
|
import * as saxBoldIcons from '@ng-icons/iconsax/bold';
|
|
6
12
|
import * as saxOutlineIcons from '@ng-icons/iconsax/outline';
|
|
7
13
|
import * as lucideIcons from '@ng-icons/lucide';
|
|
@@ -11,13 +17,20 @@ import * as phosphorFillIcons from '@ng-icons/phosphor-icons/fill';
|
|
|
11
17
|
import * as phosphorLightIcons from '@ng-icons/phosphor-icons/light';
|
|
12
18
|
import * as phosphorRegularIcons from '@ng-icons/phosphor-icons/regular';
|
|
13
19
|
import * as phosphorThinIcons from '@ng-icons/phosphor-icons/thin';
|
|
20
|
+
import * as tablerIcons from '@ng-icons/tabler-icons';
|
|
21
|
+
import * as tablerFillIcons from '@ng-icons/tabler-icons/fill';
|
|
14
22
|
import * as animatedIcons from 'ng-animated-icons';
|
|
15
23
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
16
24
|
import { VariantProps } from 'class-variance-authority';
|
|
17
25
|
|
|
26
|
+
type ZIconAnimationTrigger = 'manual' | 'hover' | 'focus' | 'interaction' | 'always';
|
|
27
|
+
|
|
18
28
|
type ZLucideIcon = Extract<keyof typeof lucideIcons, `lucide${string}`>;
|
|
19
29
|
type ZSaxIcon = Extract<keyof typeof saxBoldIcons | keyof typeof saxOutlineIcons, `sax${string}`>;
|
|
20
30
|
type ZPhosphorIcon = Extract<keyof typeof phosphorRegularIcons | keyof typeof phosphorBoldIcons | keyof typeof phosphorFillIcons | keyof typeof phosphorLightIcons | keyof typeof phosphorThinIcons | keyof typeof phosphorDuotoneIcons, `phosphor${string}`>;
|
|
31
|
+
type ZTablerIcon = Extract<keyof typeof tablerIcons | keyof typeof tablerFillIcons, `tabler${string}`>;
|
|
32
|
+
type ZHeroIcon = Extract<keyof typeof heroMicroIcons | keyof typeof heroMiniIcons | keyof typeof heroOutlineIcons | keyof typeof heroSolidIcons, `hero${string}`>;
|
|
33
|
+
type ZIconoirIcon = Extract<keyof typeof iconoirRegularIcons | keyof typeof iconoirSolidIcons, `iconoir${string}`>;
|
|
21
34
|
/**
|
|
22
35
|
* HugeIcons exports are PascalCase with an `Icon` suffix (e.g. `HeartIcon`,
|
|
23
36
|
* `Home01Icon`). We re-expose them with a `huge` prefix to stay consistent
|
|
@@ -35,14 +48,22 @@ type ZHugeIcon = {
|
|
|
35
48
|
* Examples: `brandGithub`, `brandSlackWordmark`, `brandFigmaColor`.
|
|
36
49
|
*/
|
|
37
50
|
type ZBrandIcon = `brand${string}`;
|
|
51
|
+
/**
|
|
52
|
+
* Optional bundled icon overrides used before the CDN loader fallback.
|
|
53
|
+
*
|
|
54
|
+
* The default registry is intentionally empty so icon families remain lazy.
|
|
55
|
+
*/
|
|
38
56
|
declare const Z_ICONS: {};
|
|
39
|
-
|
|
57
|
+
/**
|
|
58
|
+
* Names accepted by `z-icon`, covering every icon family configured by the
|
|
59
|
+
* default loader and preserving each family's style suffix conventions.
|
|
60
|
+
*/
|
|
61
|
+
type ZIcon = ZLucideIcon | ZSaxIcon | ZPhosphorIcon | ZTablerIcon | ZHeroIcon | ZIconoirIcon | ZHugeIcon | ZBrandIcon;
|
|
40
62
|
|
|
41
|
-
|
|
42
|
-
declare class ZIconComponent {
|
|
63
|
+
declare class ZIconComponent implements OnDestroy {
|
|
43
64
|
readonly class: _angular_core.InputSignal<ClassValue>;
|
|
44
65
|
readonly zType: _angular_core.InputSignal<ZIcon | undefined>;
|
|
45
|
-
readonly zAnimatedType: _angular_core.InputSignal<("accessibility" | "activity" | "play" | "airplay" | "
|
|
66
|
+
readonly zAnimatedType: _angular_core.InputSignal<("key" | "bold" | "accessibility" | "activity" | "play" | "airplay" | "clock" | "alarm-clock" | "check" | "alarm-clock-check" | "alarm-clock-off" | "align-horizontal-space-around" | "align-vertical-space-around" | "anvil" | "archive" | "arrow-big-down" | "arrow-big-down-dash" | "arrow-big-left" | "arrow-big-left-dash" | "arrow-big-right" | "arrow-big-right-dash" | "arrow-big-up" | "arrow-big-up-dash" | "arrow-down" | "arrow-down-01" | "arrow-down-10" | "arrow-down-a-z" | "arrow-down-left" | "arrow-down-right" | "arrow-down-z-a" | "arrow-left" | "arrow-left-right" | "arrow-right" | "arrow-right-left" | "arrow-up" | "arrow-up-01" | "arrow-up-10" | "arrow-up-a-z" | "arrow-up-left" | "arrow-up-right" | "arrow-up-z-a" | "award" | "x" | "axe" | "axis-3d" | "badge-alert" | "badge-check" | "badge-question-mark" | "battery" | "battery-charging" | "battery-full" | "battery-low" | "battery-medium" | "battery-warning" | "bean-off" | "beer-off" | "bell" | "bell-off" | "bell-ring" | "between-horizontal-end" | "between-horizontal-start" | "between-vertical-end" | "between-vertical-start" | "binary" | "blend" | "blocks" | "bluetooth-off" | "bolt" | "bone" | "book" | "book-a" | "book-audio" | "book-check" | "book-dashed" | "book-down" | "book-headphones" | "heart" | "book-heart" | "book-image" | "book-key" | "book-lock" | "bookmark" | "bookmark-check" | "book-marked" | "minus" | "bookmark-minus" | "plus" | "bookmark-plus" | "bookmark-x" | "book-minus" | "book-open-check" | "book-open-text" | "book-plus" | "book-text" | "book-type" | "book-up" | "book-up-2" | "user" | "book-user" | "book-x" | "bot" | "bot-off" | "boxes" | "cog" | "brain-cog" | "briefcase" | "briefcase-business" | "briefcase-conveyor-belt" | "briefcase-medical" | "brush" | "brush-cleaning" | "bug-off" | "calendar-check" | "calendar-check-2" | "calendar-cog" | "calendar-days" | "calendar-off" | "calendar-sync" | "camera-off" | "candy-off" | "captions-off" | "cast" | "cctv" | "chart-bar" | "chart-bar-decreasing" | "chart-bar-increasing" | "chart-column" | "chart-column-decreasing" | "chart-column-increasing" | "chart-gantt" | "chart-line" | "chart-no-axes-column" | "chart-no-axes-column-decreasing" | "chart-no-axes-column-increasing" | "chart-no-axes-combined" | "chart-no-axes-gantt" | "chart-pie" | "chart-scatter" | "chart-spline" | "check-check" | "cherry" | "chevron-down" | "chevron-left" | "chevron-right" | "chevrons-down" | "chevrons-down-up" | "chevrons-left" | "chevrons-left-right" | "chevrons-right" | "chevrons-right-left" | "chevrons-up" | "chevrons-up-down" | "chevron-up" | "cigarette-off" | "circle-alert" | "circle-arrow-down" | "circle-arrow-left" | "circle-arrow-out-down-left" | "circle-arrow-out-down-right" | "circle-arrow-out-up-left" | "circle-arrow-out-up-right" | "circle-arrow-right" | "circle-arrow-up" | "circle-check" | "circle-check-big" | "circle-chevron-down" | "circle-chevron-left" | "circle-chevron-right" | "circle-chevron-up" | "circle-off" | "circle-parking-off" | "circle-plus" | "circle-question-mark" | "clapperboard" | "clipboard" | "clipboard-check" | "clipboard-list" | "pen" | "clipboard-pen" | "pen-line" | "clipboard-pen-line" | "clipboard-x" | "clock-1" | "clock-10" | "clock-11" | "clock-12" | "clock-2" | "clock-3" | "clock-4" | "clock-5" | "clock-6" | "clock-7" | "clock-8" | "clock-9" | "cloud-cog" | "download" | "cloud-download" | "cloud-moon" | "cloud-off" | "upload" | "cloud-upload" | "compass" | "contrast" | "copy" | "copy-check" | "cpu" | "crop" | "diamond-plus" | "dice-1" | "dice-2" | "dice-3" | "dice-4" | "dice-5" | "dice-6" | "diff" | "dna-off" | "droplet-off" | "drum" | "ear-off" | "eclipse" | "egg-off" | "expand" | "eye-off" | "file-chart-column" | "file-chart-column-increasing" | "file-chart-line" | "file-check" | "file-check-corner" | "file-cog" | "file-down" | "file-exclamation-point" | "file-minus" | "file-pen" | "file-pen-line" | "file-plus" | "file-question-mark" | "file-sliders" | "file-stack" | "terminal" | "file-terminal" | "file-up" | "fish-off" | "flag-off" | "flashlight-off" | "flask-conical-off" | "folder-check" | "folder-cog" | "folder-down" | "kanban" | "folder-kanban" | "folder-pen" | "folder-plus" | "folder-sync" | "folder-up" | "folder-x" | "frame" | "funnel-x" | "gallery-horizontal" | "gallery-horizontal-end" | "gallery-thumbnails" | "gallery-vertical" | "gallery-vertical-end" | "gauge" | "gavel" | "grid-2x2-check" | "grip" | "grip-horizontal" | "grip-vertical" | "hammer" | "hand-coins" | "hand-heart" | "hard-drive-download" | "hard-drive-upload" | "phone-off" | "headphone-off" | "heart-off" | "history" | "hop-off" | "house" | "wifi" | "house-wifi" | "image-down" | "image-off" | "images" | "image-up" | "infinity" | "keyboard" | "keyboard-off" | "key-round" | "key-square" | "landmark" | "layers" | "layout-dashboard" | "layout-grid" | "layout-panel-left" | "layout-panel-top" | "layout-template" | "lightbulb" | "lightbulb-off" | "link2-off" | "list-check" | "list-checks" | "list-restart" | "list-todo" | "loader-pinwheel" | "locate-off" | "log-out" | "mail-check" | "map-pin-check" | "map-pin-check-inside" | "pin-off" | "map-pin-off" | "maximize" | "maximize-2" | "megaphone-off" | "message-circle" | "message-circle-more" | "message-circle-off" | "message-circle-question-mark" | "message-circle-warning" | "message-square" | "message-square-more" | "message-square-off" | "mic-off" | "milk-off" | "minimize" | "minimize-2" | "monitor-check" | "monitor-cog" | "monitor-down" | "monitor-off" | "monitor-up" | "mouse-off" | "mouse-pointer" | "mouse-pointer-2" | "move-diagonal" | "move-diagonal-2" | "move-down" | "move-down-left" | "move-down-right" | "move-horizontal" | "move-left" | "move-right" | "move-up" | "move-up-left" | "move-up-right" | "move-vertical" | "navigation2-off" | "navigation-off" | "nfc" | "notebook-pen" | "nut-off" | "octagon-alert" | "orbit" | "package-check" | "paintbrush" | "panel-bottom-close" | "panel-bottom-open" | "panel-left-close" | "panel-left-open" | "panel-right-close" | "panel-right-open" | "panel-top-close" | "panel-top-open" | "paperclip" | "pencil" | "pencil-line" | "pencil-off" | "pen-off" | "pickaxe" | "plane" | "pointer-off" | "power-off" | "printer-check" | "rabbit" | "radar" | "radio" | "radio-tower" | "rainbow" | "redo" | "redo-dot" | "refresh-ccw" | "refresh-ccw-dot" | "refresh-cw" | "refresh-cw-off" | "rocket" | "rocking-chair" | "rotate-ccw" | "rotate-ccw-key" | "rotate-cw" | "route" | "route-off" | "rss" | "save-off" | "scan-text" | "scissors" | "search" | "search-check" | "send" | "send-horizontal" | "server-cog" | "server-off" | "settings" | "shield-alert" | "shield-check" | "shield-off" | "shield-plus" | "shield-question-mark" | "ship" | "ship-wheel" | "shopping-cart" | "shovel" | "shower-head" | "shrink" | "signal" | "signal-high" | "signal-low" | "signal-medium" | "signal-zero" | "signature" | "sliders-horizontal" | "sliders-vertical" | "smartphone-nfc" | "snowflake" | "sparkle" | "sparkles" | "speech" | "spell-check" | "square-arrow-down" | "square-arrow-down-left" | "square-arrow-down-right" | "square-arrow-left" | "square-arrow-out-down-left" | "square-arrow-out-down-right" | "square-arrow-out-up-left" | "square-arrow-out-up-right" | "square-arrow-right" | "square-arrow-up" | "square-arrow-up-left" | "square-arrow-up-right" | "square-chart-gantt" | "square-check" | "square-check-big" | "square-chevron-down" | "square-chevron-left" | "square-chevron-right" | "square-chevron-up" | "square-dashed-kanban" | "square-kanban" | "square-parking-off" | "square-pen" | "square-plus" | "square-scissors" | "square-stack" | "square-terminal" | "star" | "star-off" | "sun" | "sword" | "tag" | "telescope" | "text-align-center" | "text-cursor" | "text-cursor-input" | "text-search" | "thermometer" | "thumbs-down" | "thumbs-up" | "ticket-check" | "timer" | "timer-off" | "toggle-left" | "toggle-right" | "tornado" | "touchpad-off" | "trash" | "trash-2" | "triangle-alert" | "umbrella-off" | "undo" | "undo-dot" | "unfold-horizontal" | "unfold-vertical" | "unplug" | "user-check" | "user-cog" | "user-pen" | "user-round" | "user-round-check" | "user-round-cog" | "user-round-pen" | "vibrate" | "vibrate-off" | "video-off" | "volume-off" | "vote" | "waves" | "webhook-off" | "wheat-off" | "wifi-high" | "wifi-low" | "wifi-off" | "wifi-pen" | "wifi-zero" | "wine-off" | "zap-off") | undefined>;
|
|
46
67
|
readonly zAnimate: _angular_core.InputSignal<boolean>;
|
|
47
68
|
readonly zAnimationTrigger: _angular_core.InputSignal<ZIconAnimationTrigger>;
|
|
48
69
|
readonly zSize: _angular_core.InputSignal<string | number | null | undefined>;
|
|
@@ -55,10 +76,21 @@ declare class ZIconComponent {
|
|
|
55
76
|
protected readonly normalizedSize: _angular_core.Signal<string>;
|
|
56
77
|
private readonly _svgFetchError;
|
|
57
78
|
protected readonly zClasses: _angular_core.Signal<string>;
|
|
79
|
+
protected readonly animatedIconHost: _angular_core.Signal<ViewContainerRef | undefined>;
|
|
58
80
|
protected readonly animatedIcon: _angular_core.Signal<Type<unknown> | null>;
|
|
59
|
-
|
|
81
|
+
private readonly _animatedIconInputs;
|
|
82
|
+
private _animatedIconRef;
|
|
83
|
+
private _animatedIconType;
|
|
84
|
+
private _animatedIconListenerCleanup;
|
|
85
|
+
private _animatedIconRestartTimeoutId;
|
|
86
|
+
private readonly _isPersistentAnimate;
|
|
60
87
|
protected readonly shouldAnimate: _angular_core.Signal<boolean>;
|
|
61
88
|
constructor();
|
|
89
|
+
private _destroyAnimatedIconRef;
|
|
90
|
+
private _attachAnimatedIconLoopListener;
|
|
91
|
+
private _restartAnimatedIconLoop;
|
|
92
|
+
private _cancelAnimatedIconRestart;
|
|
93
|
+
ngOnDestroy(): void;
|
|
62
94
|
private _isRawSvg;
|
|
63
95
|
protected setHoverActive(isActive: boolean): void;
|
|
64
96
|
protected setFocusActive(isActive: boolean): void;
|
|
@@ -13,6 +13,12 @@ declare class ZMarqueeComponent {
|
|
|
13
13
|
readonly zDuration: _angular_core.InputSignal<number>;
|
|
14
14
|
readonly zGap: _angular_core.InputSignal<string>;
|
|
15
15
|
readonly zFade: _angular_core.InputSignal<ZMarqueeFade>;
|
|
16
|
+
readonly zFadeColor: _angular_core.InputSignal<string>;
|
|
17
|
+
protected readonly fadeGradient: _angular_core.Signal<(direction: string) => string>;
|
|
18
|
+
protected readonly leftFadeStyle: _angular_core.Signal<string>;
|
|
19
|
+
protected readonly rightFadeStyle: _angular_core.Signal<string>;
|
|
20
|
+
protected readonly topFadeStyle: _angular_core.Signal<string>;
|
|
21
|
+
protected readonly bottomFadeStyle: _angular_core.Signal<string>;
|
|
16
22
|
protected readonly contentTemplate: _angular_core.Signal<TemplateRef<unknown> | undefined>;
|
|
17
23
|
protected readonly isVertical: _angular_core.Signal<boolean>;
|
|
18
24
|
protected readonly isReverse: _angular_core.Signal<boolean>;
|
|
@@ -28,7 +34,7 @@ declare class ZMarqueeComponent {
|
|
|
28
34
|
protected readonly trackClasses: _angular_core.Signal<string>;
|
|
29
35
|
protected readonly contentClasses: _angular_core.Signal<string>;
|
|
30
36
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ZMarqueeComponent, never>;
|
|
31
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ZMarqueeComponent, "z-marquee", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; "zDirection": { "alias": "zDirection"; "required": false; "isSignal": true; }; "zPauseOnHover": { "alias": "zPauseOnHover"; "required": false; "isSignal": true; }; "zRepeat": { "alias": "zRepeat"; "required": false; "isSignal": true; }; "zDuration": { "alias": "zDuration"; "required": false; "isSignal": true; }; "zGap": { "alias": "zGap"; "required": false; "isSignal": true; }; "zFade": { "alias": "zFade"; "required": false; "isSignal": true; }; }, {}, ["contentTemplate"], never, true, never>;
|
|
37
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ZMarqueeComponent, "z-marquee", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; "zDirection": { "alias": "zDirection"; "required": false; "isSignal": true; }; "zPauseOnHover": { "alias": "zPauseOnHover"; "required": false; "isSignal": true; }; "zRepeat": { "alias": "zRepeat"; "required": false; "isSignal": true; }; "zDuration": { "alias": "zDuration"; "required": false; "isSignal": true; }; "zGap": { "alias": "zGap"; "required": false; "isSignal": true; }; "zFade": { "alias": "zFade"; "required": false; "isSignal": true; }; "zFadeColor": { "alias": "zFadeColor"; "required": false; "isSignal": true; }; }, {}, ["contentTemplate"], never, true, never>;
|
|
32
38
|
}
|
|
33
39
|
|
|
34
40
|
export { ZMarqueeComponent };
|