@shival99/z-ui 1.9.12 → 1.9.14
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 +0 -16
- package/fesm2022/shival99-z-ui-components-z-accordion.mjs +129 -12
- package/fesm2022/shival99-z-ui-components-z-accordion.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-components-z-autocomplete.mjs +142 -8
- package/fesm2022/shival99-z-ui-components-z-autocomplete.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-components-z-breadcrumb.mjs +65 -16
- package/fesm2022/shival99-z-ui-components-z-breadcrumb.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-components-z-calendar.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-components-z-chat.mjs +18 -7
- package/fesm2022/shival99-z-ui-components-z-chat.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-components-z-drawer.mjs +7 -2
- package/fesm2022/shival99-z-ui-components-z-drawer.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-components-z-filter.mjs +150 -3
- package/fesm2022/shival99-z-ui-components-z-filter.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-components-z-kanban.mjs +2 -2
- package/fesm2022/shival99-z-ui-components-z-kanban.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-components-z-modal.mjs +13 -6
- package/fesm2022/shival99-z-ui-components-z-modal.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-components-z-skeleton-auto.mjs +61 -0
- package/fesm2022/shival99-z-ui-components-z-skeleton-auto.mjs.map +1 -0
- package/fesm2022/shival99-z-ui-components-z-skeleton.mjs +13 -33
- package/fesm2022/shival99-z-ui-components-z-skeleton.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-components-z-switch.mjs +16 -6
- package/fesm2022/shival99-z-ui-components-z-switch.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-components-z-table.mjs +510 -24
- package/fesm2022/shival99-z-ui-components-z-table.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-components-z-tabs.mjs +27 -2
- package/fesm2022/shival99-z-ui-components-z-tabs.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-components-z-timeline.mjs +44 -260
- package/fesm2022/shival99-z-ui-components-z-timeline.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-components-z-upload.mjs +1 -4
- package/fesm2022/shival99-z-ui-components-z-upload.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-providers.mjs +7 -2
- package/fesm2022/shival99-z-ui-providers.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-services.mjs +441 -182
- package/fesm2022/shival99-z-ui-services.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-utils.mjs +6 -1
- package/fesm2022/shival99-z-ui-utils.mjs.map +1 -1
- package/package.json +5 -1
- package/types/shival99-z-ui-components-z-accordion.d.ts +22 -4
- package/types/shival99-z-ui-components-z-autocomplete.d.ts +33 -7
- package/types/shival99-z-ui-components-z-breadcrumb.d.ts +13 -3
- package/types/shival99-z-ui-components-z-chat.d.ts +1 -0
- package/types/shival99-z-ui-components-z-drawer.d.ts +2 -0
- package/types/shival99-z-ui-components-z-filter.d.ts +17 -0
- package/types/shival99-z-ui-components-z-modal.d.ts +4 -1
- package/types/shival99-z-ui-components-z-select.d.ts +1 -1
- package/types/shival99-z-ui-components-z-skeleton-auto.d.ts +35 -0
- package/types/shival99-z-ui-components-z-skeleton.d.ts +3 -7
- package/types/shival99-z-ui-components-z-switch.d.ts +7 -1
- package/types/shival99-z-ui-components-z-table.d.ts +268 -6
- package/types/shival99-z-ui-components-z-tabs.d.ts +3 -3
- package/types/shival99-z-ui-components-z-timeline.d.ts +24 -60
- package/types/shival99-z-ui-providers.d.ts +6 -2
- package/types/shival99-z-ui-services.d.ts +43 -1
- package/types/shival99-z-ui-utils.d.ts +2 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { TemplateRef } from '@angular/core';
|
|
3
3
|
import { ClassValue } from 'clsx';
|
|
4
4
|
import { ZIcon } from '@shival99/z-ui/components/z-icon';
|
|
5
5
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
@@ -10,89 +10,53 @@ interface ZTimelineItem {
|
|
|
10
10
|
title: string;
|
|
11
11
|
description?: string;
|
|
12
12
|
time?: string;
|
|
13
|
+
subtitle?: string;
|
|
14
|
+
company?: string;
|
|
15
|
+
period?: string;
|
|
16
|
+
technologies?: string[];
|
|
13
17
|
icon?: ZIcon;
|
|
14
|
-
|
|
18
|
+
active?: boolean;
|
|
19
|
+
contentTemplate?: TemplateRef<unknown>;
|
|
15
20
|
}
|
|
16
21
|
type ZTimelineSize = 'sm' | 'default' | 'lg';
|
|
17
|
-
type ZTimelineLayout = 'default' | '
|
|
18
|
-
type ZTimelineLineStyle = 'solid' | 'dashed';
|
|
19
|
-
type ZTimelineIconStyle = 'filled' | 'outline';
|
|
20
|
-
type ZTimelineContentStyle = 'simple' | 'card';
|
|
21
|
-
type ZTimelineClassType = 'item' | 'header' | 'icon' | 'iconCenter' | 'dot' | 'line' | 'dotCircle' | 'time' | 'side';
|
|
22
|
-
interface ZTimelineClassOptions {
|
|
23
|
-
item?: ZTimelineItem;
|
|
24
|
-
layout?: ZTimelineLayout;
|
|
25
|
-
lineStyle?: ZTimelineLineStyle;
|
|
26
|
-
iconStyle?: ZTimelineIconStyle;
|
|
27
|
-
timeVariant?: 'default' | 'secondary' | 'outline' | 'muted';
|
|
28
|
-
side?: 'left' | 'right';
|
|
29
|
-
}
|
|
22
|
+
type ZTimelineLayout = 'default' | 'alternate' | 'career';
|
|
30
23
|
|
|
31
24
|
declare class ZTimelineComponent {
|
|
32
25
|
readonly class: _angular_core.InputSignal<ClassValue>;
|
|
33
26
|
readonly zItems: _angular_core.InputSignal<ZTimelineItem[]>;
|
|
34
27
|
readonly zSize: _angular_core.InputSignal<ZTimelineSize>;
|
|
35
|
-
readonly zTimeVariant: _angular_core.InputSignal<"default" | "outline" | "secondary" | "muted">;
|
|
36
|
-
readonly zLineStyle: _angular_core.InputSignal<ZTimelineLineStyle>;
|
|
37
|
-
readonly zIconStyle: _angular_core.InputSignal<ZTimelineIconStyle>;
|
|
38
28
|
readonly zLayout: _angular_core.InputSignal<ZTimelineLayout>;
|
|
39
|
-
readonly zContentStyle: _angular_core.InputSignal<ZTimelineContentStyle>;
|
|
40
29
|
protected readonly hostClasses: _angular_core.Signal<string>;
|
|
41
|
-
protected readonly isAlternate: _angular_core.Signal<boolean>;
|
|
42
|
-
protected readonly itemClasses: _angular_core.Signal<string>;
|
|
43
30
|
protected readonly dotClasses: _angular_core.Signal<string>;
|
|
44
|
-
protected readonly
|
|
31
|
+
protected readonly innerDotClasses: _angular_core.Signal<string>;
|
|
32
|
+
protected readonly badgeClasses: _angular_core.Signal<string>;
|
|
45
33
|
protected readonly titleClasses: _angular_core.Signal<string>;
|
|
46
34
|
protected readonly descriptionClasses: _angular_core.Signal<string>;
|
|
47
|
-
protected readonly
|
|
48
|
-
protected readonly
|
|
35
|
+
protected readonly isCareer: _angular_core.Signal<boolean>;
|
|
36
|
+
protected readonly isAlternate: _angular_core.Signal<boolean>;
|
|
49
37
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ZTimelineComponent, never>;
|
|
50
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ZTimelineComponent, "z-timeline", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; "zItems": { "alias": "zItems"; "required": false; "isSignal": true; }; "zSize": { "alias": "zSize"; "required": false; "isSignal": true; }; "
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
declare class ZTimelineClassPipe implements PipeTransform {
|
|
54
|
-
transform(type: ZTimelineClassType, options?: ZTimelineClassOptions): string;
|
|
55
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ZTimelineClassPipe, never>;
|
|
56
|
-
static ɵpipe: _angular_core.ɵɵPipeDeclaration<ZTimelineClassPipe, "zTimelineClass", true>;
|
|
38
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ZTimelineComponent, "z-timeline", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; "zItems": { "alias": "zItems"; "required": false; "isSignal": true; }; "zSize": { "alias": "zSize"; "required": false; "isSignal": true; }; "zLayout": { "alias": "zLayout"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
57
39
|
}
|
|
58
40
|
|
|
59
41
|
declare const zTimelineVariants: (props?: ({
|
|
60
|
-
zSize?: "
|
|
61
|
-
zLayout?: "default" | "reversed" | "alternate" | null | undefined;
|
|
42
|
+
zSize?: "sm" | "default" | "lg" | null | undefined;
|
|
62
43
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
63
|
-
declare const
|
|
64
|
-
|
|
44
|
+
declare const zTimelineDotVariants: (props?: ({
|
|
45
|
+
zSize?: "sm" | "default" | "lg" | null | undefined;
|
|
65
46
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
66
|
-
declare const
|
|
67
|
-
|
|
68
|
-
zColor?: "default" | "primary" | "success" | "warning" | "error" | "info" | null | undefined;
|
|
69
|
-
zLineStyle?: "solid" | "dashed" | null | undefined;
|
|
70
|
-
zLayout?: "default" | "reversed" | "alternate" | null | undefined;
|
|
47
|
+
declare const zTimelineInnerDotVariants: (props?: ({
|
|
48
|
+
zSize?: "sm" | "default" | "lg" | null | undefined;
|
|
71
49
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
72
|
-
declare const
|
|
73
|
-
|
|
74
|
-
zIconStyle?: "filled" | "outline" | null | undefined;
|
|
75
|
-
zLayout?: "default" | "reversed" | "alternate" | null | undefined;
|
|
50
|
+
declare const zTimelineTimeBadgeVariants: (props?: ({
|
|
51
|
+
zSize?: "sm" | "default" | "lg" | null | undefined;
|
|
76
52
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
77
53
|
declare const zTimelineTitleVariants: (props?: ({
|
|
78
|
-
zSize?: "
|
|
79
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
80
|
-
declare const zTimelineTimeVariants: (props?: ({
|
|
81
|
-
zVariant?: "default" | "outline" | "secondary" | "muted" | null | undefined;
|
|
82
|
-
zLayout?: "default" | "reversed" | "alternate" | null | undefined;
|
|
54
|
+
zSize?: "sm" | "default" | "lg" | null | undefined;
|
|
83
55
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
84
56
|
declare const zTimelineDescriptionVariants: (props?: ({
|
|
85
|
-
zSize?: "
|
|
86
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
87
|
-
declare const zTimelineContentVariants: (props?: ({
|
|
88
|
-
zContentStyle?: "simple" | "card" | null | undefined;
|
|
57
|
+
zSize?: "sm" | "default" | "lg" | null | undefined;
|
|
89
58
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
90
59
|
type ZTimelineVariants = VariantProps<typeof zTimelineVariants>;
|
|
91
|
-
type ZTimelineItemVariants = VariantProps<typeof zTimelineItemVariants>;
|
|
92
|
-
type ZTimelineHeaderVariants = VariantProps<typeof zTimelineHeaderVariants>;
|
|
93
|
-
type ZTimelineIconVariants = VariantProps<typeof zTimelineIconVariants>;
|
|
94
|
-
type ZTimelineTimeVariants = VariantProps<typeof zTimelineTimeVariants>;
|
|
95
|
-
type ZTimelineContentVariants = VariantProps<typeof zTimelineContentVariants>;
|
|
96
60
|
|
|
97
|
-
export {
|
|
98
|
-
export type {
|
|
61
|
+
export { ZTimelineComponent, zTimelineDescriptionVariants, zTimelineDotVariants, zTimelineInnerDotVariants, zTimelineTimeBadgeVariants, zTimelineTitleVariants, zTimelineVariants };
|
|
62
|
+
export type { ZTimelineItem, ZTimelineLayout, ZTimelineSize, ZTimelineVariants };
|
|
@@ -90,13 +90,17 @@ declare function provideZScrollbar(): EnvironmentProviders;
|
|
|
90
90
|
|
|
91
91
|
/**
|
|
92
92
|
* Provide theme configuration for the application
|
|
93
|
-
* @param config - Theme configuration with defaultTheme and
|
|
93
|
+
* @param config - Theme configuration with defaultTheme, defaultDarkMode, and optional cacheKey
|
|
94
94
|
* @example
|
|
95
95
|
* ```typescript
|
|
96
96
|
* // In app.config.ts
|
|
97
97
|
* export const appConfig: ApplicationConfig = {
|
|
98
98
|
* providers: [
|
|
99
|
-
* provideZTheme({
|
|
99
|
+
* provideZTheme({
|
|
100
|
+
* defaultTheme: 'hospital',
|
|
101
|
+
* defaultDarkMode: false,
|
|
102
|
+
* cacheKey: 'Z_THEME_PREFERENCES_CRM',
|
|
103
|
+
* })
|
|
100
104
|
* ]
|
|
101
105
|
* };
|
|
102
106
|
* ```
|
|
@@ -6,6 +6,7 @@ import { Router } from '@angular/router';
|
|
|
6
6
|
import * as rxjs from 'rxjs';
|
|
7
7
|
import { Observable } from 'rxjs';
|
|
8
8
|
import { TranslationObject, TranslateService } from '@ngx-translate/core';
|
|
9
|
+
import { OverlayRef } from '@angular/cdk/overlay';
|
|
9
10
|
|
|
10
11
|
interface ZCacheEntry<T = unknown> {
|
|
11
12
|
data: T;
|
|
@@ -23,8 +24,12 @@ declare class ZCacheService {
|
|
|
23
24
|
static configure(config: ZCacheConfig): void;
|
|
24
25
|
private static _encode;
|
|
25
26
|
private static _decode;
|
|
27
|
+
private static _normalizeLegacyKey;
|
|
26
28
|
private static _normalizeKey;
|
|
29
|
+
private static _toStorageKey;
|
|
27
30
|
private static _getFullKey;
|
|
31
|
+
private static _getLegacyFullKey;
|
|
32
|
+
private static _getCandidateStorageKeys;
|
|
28
33
|
private static _decodeStorageKey;
|
|
29
34
|
private static _isManagedStorageKey;
|
|
30
35
|
private static _safeOperation;
|
|
@@ -304,6 +309,7 @@ interface ZIndexDbSetOptions {
|
|
|
304
309
|
declare class ZIndexDbService {
|
|
305
310
|
private _db;
|
|
306
311
|
private _dbName;
|
|
312
|
+
private _legacyDbName;
|
|
307
313
|
private _version;
|
|
308
314
|
private _mode;
|
|
309
315
|
private _dbReady;
|
|
@@ -320,13 +326,19 @@ declare class ZIndexDbService {
|
|
|
320
326
|
* @param perCallEncrypt - Per-call encrypt override (highest priority)
|
|
321
327
|
*/
|
|
322
328
|
private _shouldEncrypt;
|
|
329
|
+
private _normalizeLegacyKey;
|
|
323
330
|
private _normalizeKey;
|
|
331
|
+
private _resolveLegacyNormalizedKey;
|
|
332
|
+
private _buildStorageKeys;
|
|
324
333
|
private _encryptData;
|
|
325
334
|
private _decryptData;
|
|
326
335
|
private _closeConnection;
|
|
327
336
|
private _reconnect;
|
|
328
337
|
private _withRetry;
|
|
329
338
|
private _initDb;
|
|
339
|
+
private _adoptLegacyDbNameIfNeeded;
|
|
340
|
+
private _getExistingDbVersion;
|
|
341
|
+
private _probeDbMetadataByOpen;
|
|
330
342
|
private _getCurrentDbVersion;
|
|
331
343
|
private _triggerUpgrade;
|
|
332
344
|
private _resetDatabase;
|
|
@@ -464,6 +476,28 @@ declare class ZOverlayContainerService {
|
|
|
464
476
|
static ɵprov: i0.ɵɵInjectableDeclaration<ZOverlayContainerService>;
|
|
465
477
|
}
|
|
466
478
|
|
|
479
|
+
/**
|
|
480
|
+
* Global z-index counter for overlay components (z-modal, z-drawer, etc.).
|
|
481
|
+
*
|
|
482
|
+
* Each time an overlay opens, it calls `next()` to get a unique, incrementing
|
|
483
|
+
* z-index value. This guarantees that overlays opened later always stack on top
|
|
484
|
+
* of earlier ones — regardless of DOM order or HMR re-creation.
|
|
485
|
+
*/
|
|
486
|
+
declare class ZOverlayZIndexService {
|
|
487
|
+
private _currentZIndex;
|
|
488
|
+
private readonly _platformId;
|
|
489
|
+
/**
|
|
490
|
+
* Returns the next z-index value and increments the counter.
|
|
491
|
+
* Kept for backward compatibility with existing overlay flow.
|
|
492
|
+
*/
|
|
493
|
+
next(): number;
|
|
494
|
+
applyToOverlay(_overlayRef: OverlayRef): number;
|
|
495
|
+
deferMoveToTop(overlayRef: OverlayRef): void;
|
|
496
|
+
moveToTop(overlayRef: OverlayRef): void;
|
|
497
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ZOverlayZIndexService, never>;
|
|
498
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ZOverlayZIndexService>;
|
|
499
|
+
}
|
|
500
|
+
|
|
467
501
|
type ZSubjectType = 'subject' | 'behavior';
|
|
468
502
|
|
|
469
503
|
declare class ZSubjectService {
|
|
@@ -512,6 +546,7 @@ type ZThemeName = 'green' | 'orange' | 'violet' | 'neutral' | 'stone' | 'zinc' |
|
|
|
512
546
|
interface ZThemeConfig {
|
|
513
547
|
defaultTheme?: ZThemeName;
|
|
514
548
|
defaultDarkMode?: boolean;
|
|
549
|
+
cacheKey?: string;
|
|
515
550
|
}
|
|
516
551
|
declare const Z_THEME_CONFIG: InjectionToken<ZThemeConfig>;
|
|
517
552
|
declare const Z_DEFAULT_THEME: ZThemeName;
|
|
@@ -531,6 +566,7 @@ declare class ZThemeService {
|
|
|
531
566
|
private readonly _isBrowser;
|
|
532
567
|
private readonly _defaultTheme;
|
|
533
568
|
private readonly _defaultDarkMode;
|
|
569
|
+
private readonly _preferencesCacheKey;
|
|
534
570
|
private readonly _isDark;
|
|
535
571
|
private readonly _currentTheme;
|
|
536
572
|
private readonly _loadedThemes;
|
|
@@ -549,6 +585,10 @@ declare class ZThemeService {
|
|
|
549
585
|
static ɵprov: i0.ɵɵInjectableDeclaration<ZThemeService>;
|
|
550
586
|
}
|
|
551
587
|
|
|
588
|
+
declare function zBuildScopedCacheKey(baseKey: string): string;
|
|
589
|
+
declare function zBuildScopedDbName(baseDbName: string): string;
|
|
590
|
+
declare function zStripScopedCacheKey(key: string): string;
|
|
591
|
+
|
|
552
592
|
declare const Z_EXCEL_COLORS: {
|
|
553
593
|
readonly 'green-50': "FFF0FDF4";
|
|
554
594
|
readonly 'green-100': "FFDCFCE7";
|
|
@@ -609,6 +649,8 @@ declare const Z_INDEXDB_DEFAULT_CONFIG: Required<Pick<ZIndexDbConfig, 'dbName' |
|
|
|
609
649
|
declare const Z_INDEXDB_BATCH_SIZE = 100;
|
|
610
650
|
declare const Z_INDEXDB_MAX_VERSION = 1000;
|
|
611
651
|
|
|
652
|
+
declare const Z_LANG_TO_LOCALE: Record<string, string>;
|
|
653
|
+
|
|
612
654
|
interface ZTranslateConfig {
|
|
613
655
|
/** Default language */
|
|
614
656
|
defaultLang?: string;
|
|
@@ -625,5 +667,5 @@ interface ZTranslateI18nConfig {
|
|
|
625
667
|
}
|
|
626
668
|
declare const Z_LANG_CACHE_KEY = "Z_LANGUAGE";
|
|
627
669
|
|
|
628
|
-
export { ZCacheService, ZExcelService, ZHttpAbstractService, ZIndexDbService, ZOverlayContainerService, 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_THEME_CONFIG, Z_THEME_CSS_MAP, Z_THEME_PREFERENCES_CACHE_KEY };
|
|
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 };
|
|
629
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 };
|
|
@@ -49,6 +49,7 @@ declare global {
|
|
|
49
49
|
type ZCapitalizeType = 'all' | 'sentence' | 'first';
|
|
50
50
|
|
|
51
51
|
declare const zMergeClasses: (...inputs: ClassValue[]) => string;
|
|
52
|
+
declare const zNormalize: (value: string) => string;
|
|
52
53
|
declare const zTransform: (value: boolean | string) => boolean;
|
|
53
54
|
declare const zUuid: (prefix?: string) => string;
|
|
54
55
|
declare const zNoop: () => undefined;
|
|
@@ -151,5 +152,5 @@ interface ZFormDebugOptions {
|
|
|
151
152
|
logLevel?: 'error' | 'warn' | 'log';
|
|
152
153
|
}
|
|
153
154
|
|
|
154
|
-
export { VIETNAMESE_MAP, Z_DIVIDE_SCALE, Z_EXCEL_NUMBER_FORMAT_MAP, Z_LOCALE_MAP, zCapitalCase, zCleanObject, zConvertColorToArgb, zCreateEvent, zDebugFormInvalid, zDecodeUnicode, zDetectBrowser, zFormatNum, zFormatNumExcel, zMergeClasses, zMiniSearch, zMiniSearch$, zNoop, zRandomColor, zRegisterEchartsTheme, zRemoveVietnamese, zTransform, zTreeBuild, zTreeFlatten, zUuid, zValidForm };
|
|
155
|
+
export { VIETNAMESE_MAP, Z_DIVIDE_SCALE, Z_EXCEL_NUMBER_FORMAT_MAP, Z_LOCALE_MAP, zCapitalCase, zCleanObject, zConvertColorToArgb, zCreateEvent, zDebugFormInvalid, zDecodeUnicode, zDetectBrowser, zFormatNum, zFormatNumExcel, zMergeClasses, zMiniSearch, zMiniSearch$, zNoop, zNormalize, zRandomColor, zRegisterEchartsTheme, zRemoveVietnamese, zTransform, zTreeBuild, zTreeFlatten, zUuid, zValidForm };
|
|
155
156
|
export type { ZBlurEventData, ZBrowserInfo, ZBrowserName, ZCapitalizeType, ZChangeEventData, ZClickEventData, ZCopyEventData, ZCutEventData, ZDblclickEventData, ZDeviceType, ZDragenterEventData, ZDragleaveEventData, ZDragoverEventData, ZDropEventData, ZEchartsThemeOptions, ZEmptyCheck, ZEvent, ZEventType, ZFocusEventData, ZFormDebugOptions, ZFormSubmitResult, ZFormatNumExcelOptions, ZFormatNumOptions, ZInputEventData, ZKeydownEventData, ZKeypressEventData, ZKeyupEventData, ZMousedownEventData, ZMouseenterEventData, ZMouseleaveEventData, ZMouseoutEventData, ZMouseoverEventData, ZMouseupEventData, ZNavigatorUABrandVersion, ZNavigatorUAData, ZNumberDivide, ZPasteEventData, ZTouchendEventData, ZTouchmoveEventData, ZTouchstartEventData };
|