@shival99/z-ui 2.1.31 → 2.1.33
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/shival99-z-ui-components-z-drawer.mjs +130 -6
- package/fesm2022/shival99-z-ui-components-z-drawer.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-components-z-table.mjs +7 -2
- package/fesm2022/shival99-z-ui-components-z-table.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-i18n.mjs +2 -0
- package/fesm2022/shival99-z-ui-i18n.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-services.mjs +244 -75
- package/fesm2022/shival99-z-ui-services.mjs.map +1 -1
- package/package.json +1 -1
- package/types/shival99-z-ui-components-z-autocomplete.d.ts +1 -1
- package/types/shival99-z-ui-components-z-drawer.d.ts +17 -1
- package/types/shival99-z-ui-components-z-table.d.ts +4 -2
- package/types/shival99-z-ui-services.d.ts +108 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shival99/z-ui",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.33",
|
|
4
4
|
"description": "Z-UI: Modern Angular UI Component Library - A comprehensive, high-performance design system built with Angular 21, featuring 40+ customizable components with dark mode, accessibility, and enterprise-ready features.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -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" | "open" | "error" | "disabled" | "readonly" | null | undefined;
|
|
282
282
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
283
283
|
type ZAutocompleteInputVariants = VariantProps<typeof zAutocompleteInputVariants>;
|
|
284
284
|
declare const zAutocompleteOptionVariants: (props?: ({
|
|
@@ -108,6 +108,8 @@ declare class ZDrawerOptions<T, U> {
|
|
|
108
108
|
readonly zContentLoading?: WritableSignal<boolean>;
|
|
109
109
|
/** Number of skeleton rows to show when content is loading (default: 5 for left/right, 3 for top/bottom) */
|
|
110
110
|
zSkeletonRows?: number;
|
|
111
|
+
/** Whether the drawer can be resized from its outer edge */
|
|
112
|
+
zExpand?: boolean;
|
|
111
113
|
}
|
|
112
114
|
|
|
113
115
|
declare class ZDrawerRef<T = any, R = any, U = any> {
|
|
@@ -165,6 +167,7 @@ declare class ZDrawerComponent<T, U> extends BasePortalOutlet implements OnDestr
|
|
|
165
167
|
readonly zShape: _angular_core.InputSignal<ZDrawerShape>;
|
|
166
168
|
readonly zContentLoading: _angular_core.InputSignal<boolean>;
|
|
167
169
|
readonly zSkeletonRows: _angular_core.InputSignal<number | null>;
|
|
170
|
+
readonly zExpand: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
168
171
|
protected readonly customHeader: _angular_core.Signal<ZDrawerHeaderDirective | undefined>;
|
|
169
172
|
protected readonly customContent: _angular_core.Signal<ZDrawerContentDirective | undefined>;
|
|
170
173
|
protected readonly customFooter: _angular_core.Signal<ZDrawerFooterDirective | undefined>;
|
|
@@ -182,11 +185,15 @@ declare class ZDrawerComponent<T, U> extends BasePortalOutlet implements OnDestr
|
|
|
182
185
|
private readonly _zTranslate;
|
|
183
186
|
private readonly _overlayContainerService;
|
|
184
187
|
private readonly _zIndexService;
|
|
188
|
+
private readonly _indexDb;
|
|
185
189
|
private _templateOverlayRef;
|
|
186
190
|
private _originalParent;
|
|
187
191
|
private _originalNextSibling;
|
|
188
192
|
private _backdropSubscription;
|
|
189
193
|
private _closeTimeout;
|
|
194
|
+
private _resizeCleanup;
|
|
195
|
+
private _resizeStorageKey;
|
|
196
|
+
protected readonly isResizing: _angular_core.WritableSignal<boolean>;
|
|
190
197
|
protected readonly isLeaving: _angular_core.WritableSignal<boolean>;
|
|
191
198
|
protected readonly hasScrollableContent: _angular_core.WritableSignal<boolean>;
|
|
192
199
|
protected readonly isScrolledFromTop: _angular_core.WritableSignal<boolean>;
|
|
@@ -196,6 +203,8 @@ declare class ZDrawerComponent<T, U> extends BasePortalOutlet implements OnDestr
|
|
|
196
203
|
protected readonly shouldRenderContent: _angular_core.Signal<boolean>;
|
|
197
204
|
protected readonly isStringContent: _angular_core.Signal<boolean>;
|
|
198
205
|
private _lastScrollHeight;
|
|
206
|
+
private readonly _resizedWidth;
|
|
207
|
+
private readonly _resizedHeight;
|
|
199
208
|
ngAfterViewChecked(): void;
|
|
200
209
|
private _checkScrollState;
|
|
201
210
|
onContentScroll(event: Event): void;
|
|
@@ -220,6 +229,8 @@ declare class ZDrawerComponent<T, U> extends BasePortalOutlet implements OnDestr
|
|
|
220
229
|
protected readonly effectiveContentLoading: _angular_core.Signal<boolean>;
|
|
221
230
|
protected readonly effectiveSkeletonRows: _angular_core.Signal<number>;
|
|
222
231
|
protected readonly effectivePlacement: _angular_core.Signal<ZDrawerPlacement>;
|
|
232
|
+
protected readonly effectiveExpand: _angular_core.Signal<boolean>;
|
|
233
|
+
protected readonly resizeIcon: _angular_core.Signal<"lucideGripVertical" | "lucideGripHorizontal">;
|
|
223
234
|
protected readonly effectiveShadow: _angular_core.Signal<boolean>;
|
|
224
235
|
protected readonly effectiveShape: _angular_core.Signal<ZDrawerShape>;
|
|
225
236
|
protected readonly effectiveWidth: _angular_core.Signal<string | null>;
|
|
@@ -229,6 +240,8 @@ declare class ZDrawerComponent<T, U> extends BasePortalOutlet implements OnDestr
|
|
|
229
240
|
protected readonly hostClasses: _angular_core.Signal<string>;
|
|
230
241
|
constructor();
|
|
231
242
|
ngOnDestroy(): void;
|
|
243
|
+
startResize(event: PointerEvent): void;
|
|
244
|
+
onHostPointerDown(event: PointerEvent): void;
|
|
232
245
|
isDestroyed(): boolean;
|
|
233
246
|
getNativeElement(): HTMLElement;
|
|
234
247
|
attachComponentPortal<T>(portal: ComponentPortal<T>): ComponentRef<T>;
|
|
@@ -240,11 +253,14 @@ declare class ZDrawerComponent<T, U> extends BasePortalOutlet implements OnDestr
|
|
|
240
253
|
close(): void;
|
|
241
254
|
private _createOverlay;
|
|
242
255
|
private _openTemplateOverlay;
|
|
256
|
+
private _getResizeKey;
|
|
257
|
+
private _restoreResize;
|
|
258
|
+
private _persistResize;
|
|
243
259
|
private _closeWithAnimation;
|
|
244
260
|
private _clearCloseTimeout;
|
|
245
261
|
private _disposeTemplateOverlay;
|
|
246
262
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ZDrawerComponent<any, any>, never>;
|
|
247
|
-
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; }; }, { "zOnOk": "zOnOk"; "zOnCancel": "zOnCancel"; "zAfterClose": "zAfterClose"; "zScrollbar": "zScrollbar"; "zVisible": "zVisibleChange"; }, ["customHeader", "customContent", "customFooter"], ["*"], true, never>;
|
|
263
|
+
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>;
|
|
248
264
|
}
|
|
249
265
|
|
|
250
266
|
declare class ZDrawerService {
|
|
@@ -1488,6 +1488,8 @@ declare class ZTableComponent<T> implements AfterViewInit {
|
|
|
1488
1488
|
private _updateVerticalScrollShadowState;
|
|
1489
1489
|
hasRightPinnedColumns(): boolean;
|
|
1490
1490
|
onTbodyScroll(event: Event): void;
|
|
1491
|
+
/** Chặn wheel trực tiếp trên header; header chỉ nhận scrollLeft từ body. */
|
|
1492
|
+
onTheadWheel(event: WheelEvent): void;
|
|
1491
1493
|
private _syncScrollLeft;
|
|
1492
1494
|
/**
|
|
1493
1495
|
* @deprecated Header sort now lives in the column filter popover.
|
|
@@ -1692,7 +1694,7 @@ declare class ZTableFilterComponent<T> {
|
|
|
1692
1694
|
protected readonly filterBadgeCount: _angular_core.Signal<number>;
|
|
1693
1695
|
protected readonly hasFilterValue: _angular_core.Signal<boolean>;
|
|
1694
1696
|
protected readonly isActive: _angular_core.Signal<boolean>;
|
|
1695
|
-
protected readonly draftSortValue: _angular_core.Signal<"
|
|
1697
|
+
protected readonly draftSortValue: _angular_core.Signal<"asc" | "desc" | "none">;
|
|
1696
1698
|
protected readonly rangeMinValue: _angular_core.Signal<any>;
|
|
1697
1699
|
protected readonly rangeMaxValue: _angular_core.Signal<any>;
|
|
1698
1700
|
protected readonly dateValue: _angular_core.Signal<Date | null>;
|
|
@@ -1764,7 +1766,7 @@ declare class ZTableActionsComponent<T = unknown> {
|
|
|
1764
1766
|
readonly zConfig: _angular_core.InputSignal<ZTableActionColumnConfig<T>>;
|
|
1765
1767
|
readonly zRow: _angular_core.InputSignal<T>;
|
|
1766
1768
|
readonly zRowId: _angular_core.InputSignal<string>;
|
|
1767
|
-
readonly zDropdownButtonSize: _angular_core.InputSignal<"
|
|
1769
|
+
readonly zDropdownButtonSize: _angular_core.InputSignal<"default" | "sm" | "lg" | "xs" | "xl" | null | undefined>;
|
|
1768
1770
|
readonly zActionClick: _angular_core.OutputEmitterRef<ZTableActionClickEvent<T>>;
|
|
1769
1771
|
protected readonly allActions: _angular_core.Signal<ZTableActionItem<T>[]>;
|
|
1770
1772
|
protected readonly shouldShowAsButtons: _angular_core.Signal<boolean>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Signal, InjectionToken } from '@angular/core';
|
|
2
|
+
import { Type, TemplateRef, ViewContainerRef, EventEmitter, ComponentRef, Signal, InjectionToken } from '@angular/core';
|
|
3
|
+
import { PositionStrategy, ScrollStrategy, OverlayConfig, OverlayRef } from '@angular/cdk/overlay';
|
|
3
4
|
import { ZFormatNumExcelOptions } from '@shival99/z-ui/utils';
|
|
4
5
|
import { HttpHeaders, HttpContext, HttpParams, HttpClient } from '@angular/common/http';
|
|
5
6
|
import { Router } from '@angular/router';
|
|
6
7
|
import * as rxjs from 'rxjs';
|
|
7
8
|
import { Observable } from 'rxjs';
|
|
8
9
|
import { TranslationObject, TranslateService } from '@ngx-translate/core';
|
|
9
|
-
import { OverlayRef } from '@angular/cdk/overlay';
|
|
10
10
|
|
|
11
11
|
interface ZCacheEntry<T = unknown> {
|
|
12
12
|
data: T;
|
|
@@ -43,6 +43,107 @@ declare class ZCacheService {
|
|
|
43
43
|
static ɵprov: i0.ɵɵInjectableDeclaration<ZCacheService>;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
+
/** Content accepted by the dynamic overlay service. */
|
|
47
|
+
type ZDynamicContent<T> = Type<T> | TemplateRef<T>;
|
|
48
|
+
/** Template context supplied to a dynamic template. */
|
|
49
|
+
interface ZDynamicTemplateContext<TData, TResult> {
|
|
50
|
+
/** Dynamic ref exposed as the implicit template value. */
|
|
51
|
+
$implicit: ZDynamicRef<unknown, TResult>;
|
|
52
|
+
/** Dynamic ref used to close or update the overlay from the template. */
|
|
53
|
+
dynamicRef: ZDynamicRef<unknown, TResult>;
|
|
54
|
+
/** Data passed to `open`. */
|
|
55
|
+
data: TData | undefined;
|
|
56
|
+
}
|
|
57
|
+
/** Options for opening a free-form CDK dynamic overlay. */
|
|
58
|
+
interface ZDynamicOptions<TData = unknown> {
|
|
59
|
+
/** Data injected into a component or exposed in a template context. */
|
|
60
|
+
data?: TData;
|
|
61
|
+
/** View container used as the logical parent of the attached portal. */
|
|
62
|
+
viewContainerRef?: ViewContainerRef;
|
|
63
|
+
/** Whether the overlay renders a backdrop. Defaults to `true`. */
|
|
64
|
+
hasBackdrop?: boolean;
|
|
65
|
+
/** CSS class or classes applied to the backdrop. */
|
|
66
|
+
backdropClass?: string | string[];
|
|
67
|
+
/** CSS class or classes applied to the overlay pane. */
|
|
68
|
+
panelClass?: string | string[];
|
|
69
|
+
/** Custom position strategy. Defaults to a global overlay strategy. */
|
|
70
|
+
positionStrategy?: PositionStrategy;
|
|
71
|
+
/** Custom scroll strategy. Defaults to the CDK block strategy. */
|
|
72
|
+
scrollStrategy?: ScrollStrategy;
|
|
73
|
+
/** Close when the backdrop is clicked. Defaults to `true`. */
|
|
74
|
+
closeOnBackdropClick?: boolean;
|
|
75
|
+
/** Close when Escape is pressed. Defaults to `true`. */
|
|
76
|
+
closeOnEscape?: boolean;
|
|
77
|
+
/** Initial pane width passed to CDK. */
|
|
78
|
+
width?: OverlayConfig['width'];
|
|
79
|
+
/** Initial pane height passed to CDK. */
|
|
80
|
+
height?: OverlayConfig['height'];
|
|
81
|
+
/** Minimum pane width passed to CDK. */
|
|
82
|
+
minWidth?: OverlayConfig['minWidth'];
|
|
83
|
+
/** Maximum pane width passed to CDK. */
|
|
84
|
+
maxWidth?: OverlayConfig['maxWidth'];
|
|
85
|
+
/** Minimum pane height passed to CDK. */
|
|
86
|
+
minHeight?: OverlayConfig['minHeight'];
|
|
87
|
+
/** Maximum pane height passed to CDK. */
|
|
88
|
+
maxHeight?: OverlayConfig['maxHeight'];
|
|
89
|
+
}
|
|
90
|
+
/** Result type emitted when a dynamic overlay closes. */
|
|
91
|
+
type ZDynamicResult<TResult> = TResult | undefined;
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* Controls one free-form dynamic overlay instance.
|
|
95
|
+
*
|
|
96
|
+
* @template T Component instance type, when the overlay contains a component.
|
|
97
|
+
* @template TResult Value emitted after the overlay closes.
|
|
98
|
+
*/
|
|
99
|
+
declare class ZDynamicRef<T = unknown, TResult = unknown> {
|
|
100
|
+
private readonly _overlayRef;
|
|
101
|
+
private readonly _platformId;
|
|
102
|
+
private readonly _destroy$;
|
|
103
|
+
private _isClosing;
|
|
104
|
+
private _componentRef;
|
|
105
|
+
/** Component instance attached to the overlay, or `null` for template content. */
|
|
106
|
+
componentInstance: T | null;
|
|
107
|
+
/** Emits the close result once, then completes. */
|
|
108
|
+
readonly afterClose: EventEmitter<ZDynamicResult<TResult>>;
|
|
109
|
+
constructor(_overlayRef: OverlayRef | undefined, _platformId: object);
|
|
110
|
+
private _closeOnBackdropClick;
|
|
111
|
+
private _closeOnEscape;
|
|
112
|
+
/** Configures close triggers for the instance. */
|
|
113
|
+
setCloseBehavior(closeOnBackdropClick: boolean, closeOnEscape: boolean): void;
|
|
114
|
+
/** Returns whether this ref has already been closed. */
|
|
115
|
+
isClosed(): boolean;
|
|
116
|
+
/** Closes the overlay and emits the optional result exactly once. */
|
|
117
|
+
close(result?: TResult): void;
|
|
118
|
+
/** Updates the overlay position using its configured strategy. */
|
|
119
|
+
updatePosition(): void;
|
|
120
|
+
/** Updates the overlay pane dimensions. */
|
|
121
|
+
updateSize(width?: string, height?: string): void;
|
|
122
|
+
/** @internal Used by the service after attaching a component portal. */
|
|
123
|
+
attachComponentRef(componentRef: ComponentRef<T>): void;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* Opens components and templates in a bare CDK overlay.
|
|
128
|
+
*
|
|
129
|
+
* @description The service supplies overlay lifecycle and positioning only. The
|
|
130
|
+
* mounted content owns its complete layout, including close controls and styling.
|
|
131
|
+
*/
|
|
132
|
+
declare class ZDynamicService {
|
|
133
|
+
private readonly _overlay;
|
|
134
|
+
private readonly _injector;
|
|
135
|
+
private readonly _platformId;
|
|
136
|
+
private readonly _zIndexService;
|
|
137
|
+
/** Alias for `open`, matching the create-style API used by modal and drawer services. */
|
|
138
|
+
create<T, TData = unknown, TResult = unknown>(content: ZDynamicContent<T>, options?: ZDynamicOptions<TData>): ZDynamicRef<T, TResult>;
|
|
139
|
+
/** Opens a component or template in a free-form CDK overlay. */
|
|
140
|
+
open<T, TData = unknown, TResult = unknown>(content: ZDynamicContent<T>, options?: ZDynamicOptions<TData>): ZDynamicRef<T, TResult>;
|
|
141
|
+
private _createOverlay;
|
|
142
|
+
private _isTemplate;
|
|
143
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ZDynamicService, never>;
|
|
144
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ZDynamicService>;
|
|
145
|
+
}
|
|
146
|
+
|
|
46
147
|
type ZExcelAlign = 'left' | 'center' | 'right';
|
|
47
148
|
interface ZExcelTableColumnConfig<T = unknown> {
|
|
48
149
|
id: string;
|
|
@@ -589,6 +690,9 @@ declare function zBuildScopedCacheKey(baseKey: string): string;
|
|
|
589
690
|
declare function zBuildScopedDbName(baseDbName: string): string;
|
|
590
691
|
declare function zStripScopedCacheKey(key: string): string;
|
|
591
692
|
|
|
693
|
+
/** Injection token for data passed to a dynamic component or template. */
|
|
694
|
+
declare const Z_DYNAMIC_DATA: InjectionToken<unknown>;
|
|
695
|
+
|
|
592
696
|
declare const Z_EXCEL_COLORS: {
|
|
593
697
|
readonly 'green-50': "FFF0FDF4";
|
|
594
698
|
readonly 'green-100': "FFDCFCE7";
|
|
@@ -667,5 +771,5 @@ interface ZTranslateI18nConfig {
|
|
|
667
771
|
}
|
|
668
772
|
declare const Z_LANG_CACHE_KEY = "Z_LANGUAGE";
|
|
669
773
|
|
|
670
|
-
export { ZCacheService, ZExcelService, ZHttpAbstractService, ZIndexDbService, ZOverlayContainerService, ZOverlayZIndexService, ZSubjectService, ZThemeService, ZTranslateService, Z_DEFAULT_THEME, Z_EXCEL_BORDER_THIN, Z_EXCEL_CHAR_WIDTH_MAP, Z_EXCEL_COLORS, Z_EXCEL_DEFAULT_CONFIG, Z_EXCEL_FONT_MULTIPLIERS, Z_EXCEL_WIDTH_LIMITS, Z_HTTP_DEFAULT_CONFIG, Z_INDEXDB_BATCH_SIZE, Z_INDEXDB_DEFAULT_CONFIG, Z_INDEXDB_MAX_VERSION, Z_LANG_CACHE_KEY, Z_LANG_TO_LOCALE, Z_THEME_CONFIG, Z_THEME_CSS_MAP, Z_THEME_PREFERENCES_CACHE_KEY, zBuildScopedCacheKey, zBuildScopedDbName, zStripScopedCacheKey };
|
|
671
|
-
export type { ZCacheConfig, ZCacheEntry, ZExcelAlign, ZExcelCell, ZExcelCellContext, ZExcelColumnConfig, ZExcelConfig, ZExcelDefaultConfig, ZExcelExportOptions, ZExcelExportResult, ZExcelFontConfig, ZExcelFromTableConfig, ZExcelHeaderColors, ZExcelHeaderContext, ZExcelSheetSource, ZExcelTableColumnConfig, ZExcelTableHeaderConfig, ZExcelToastHandler, ZHttpBaseOptions, ZHttpCacheEntry, ZHttpConfig, ZHttpContentType, ZHttpError, ZHttpNetworkCheck, ZHttpOptions, ZHttpParamsType, ZIndexDbConfig, ZIndexDbGetOptions, ZIndexDbSetOptions, ZIndexDbStoreConfig, ZTableToExcelColumn, ZThemeConfig, ZThemeName, ZThemePreferences, ZTranslateConfig, ZTranslateI18nConfig };
|
|
774
|
+
export { ZCacheService, ZDynamicRef, ZDynamicService, ZExcelService, ZHttpAbstractService, ZIndexDbService, ZOverlayContainerService, ZOverlayZIndexService, ZSubjectService, ZThemeService, ZTranslateService, Z_DEFAULT_THEME, Z_DYNAMIC_DATA, Z_EXCEL_BORDER_THIN, Z_EXCEL_CHAR_WIDTH_MAP, Z_EXCEL_COLORS, Z_EXCEL_DEFAULT_CONFIG, Z_EXCEL_FONT_MULTIPLIERS, Z_EXCEL_WIDTH_LIMITS, Z_HTTP_DEFAULT_CONFIG, Z_INDEXDB_BATCH_SIZE, Z_INDEXDB_DEFAULT_CONFIG, Z_INDEXDB_MAX_VERSION, Z_LANG_CACHE_KEY, Z_LANG_TO_LOCALE, Z_THEME_CONFIG, Z_THEME_CSS_MAP, Z_THEME_PREFERENCES_CACHE_KEY, zBuildScopedCacheKey, zBuildScopedDbName, zStripScopedCacheKey };
|
|
775
|
+
export type { ZCacheConfig, ZCacheEntry, ZDynamicContent, ZDynamicOptions, ZDynamicResult, ZDynamicTemplateContext, ZExcelAlign, ZExcelCell, ZExcelCellContext, ZExcelColumnConfig, ZExcelConfig, ZExcelDefaultConfig, ZExcelExportOptions, ZExcelExportResult, ZExcelFontConfig, ZExcelFromTableConfig, ZExcelHeaderColors, ZExcelHeaderContext, ZExcelSheetSource, ZExcelTableColumnConfig, ZExcelTableHeaderConfig, ZExcelToastHandler, ZHttpBaseOptions, ZHttpCacheEntry, ZHttpConfig, ZHttpContentType, ZHttpError, ZHttpNetworkCheck, ZHttpOptions, ZHttpParamsType, ZIndexDbConfig, ZIndexDbGetOptions, ZIndexDbSetOptions, ZIndexDbStoreConfig, ZTableToExcelColumn, ZThemeConfig, ZThemeName, ZThemePreferences, ZTranslateConfig, ZTranslateI18nConfig };
|