@shival99/z-ui 2.6.1 → 2.6.3
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/.npmignore +8 -8
- 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-editor.mjs +2 -2
- package/fesm2022/shival99-z-ui-components-z-menu.mjs +2 -2
- package/fesm2022/shival99-z-ui-components-z-menu.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-components-z-table.mjs +9 -3
- package/fesm2022/shival99-z-ui-components-z-table.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-components-z-tabs.mjs +2 -2
- package/fesm2022/shival99-z-ui-components-z-tabs.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-utils.mjs +76 -3
- package/fesm2022/shival99-z-ui-utils.mjs.map +1 -1
- package/package.json +1 -1
- package/types/shival99-z-ui-components-z-modal.d.ts +1 -1
- package/types/shival99-z-ui-components-z-table.d.ts +1 -1
- package/types/shival99-z-ui-utils.d.ts +42 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shival99/z-ui",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.3",
|
|
4
4
|
"description": "Z-UI: Modern Angular UI Component Library - A comprehensive, high-performance design system built with Angular 22, featuring 45+ customizable components with dark mode, accessibility, and enterprise-ready features.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -252,7 +252,7 @@ declare class ZModalComponent<T, U> implements OnDestroy, AfterViewChecked {
|
|
|
252
252
|
protected readonly effectiveOkText: _angular_core.Signal<string | null | undefined>;
|
|
253
253
|
protected readonly effectiveCancelText: _angular_core.Signal<string | null | undefined>;
|
|
254
254
|
protected readonly effectiveOkDestructive: _angular_core.Signal<boolean | undefined>;
|
|
255
|
-
protected readonly effectiveTypeOk: _angular_core.Signal<"info" | "warning" | "error" | "
|
|
255
|
+
protected readonly effectiveTypeOk: _angular_core.Signal<"info" | "warning" | "error" | "default" | "primary" | "secondary" | "destructive" | "destructive-heartbeat" | "success" | "outline" | "outline-primary" | "outline-secondary" | "outline-success" | "outline-info" | "outline-warning" | "outline-error" | "outline-destructive" | "outline-shimmer" | "outline-success-secondary" | "outline-info-secondary" | "outline-warning-secondary" | "outline-error-secondary" | "outline-destructive-secondary" | "outline-primary-secondary" | "outline-primary-soft" | "outline-success-soft" | "outline-info-soft" | "outline-warning-soft" | "outline-error-soft" | "outline-destructive-soft" | "outline-primary-soft-border" | "outline-success-soft-border" | "outline-info-soft-border" | "outline-warning-soft-border" | "outline-error-soft-border" | "outline-destructive-soft-border" | "ghost" | "ghost-primary" | "ghost-success" | "ghost-info" | "ghost-warning" | "ghost-error" | "ghost-destructive" | "subtle" | "subtle-primary" | "subtle-success" | "subtle-info" | "subtle-warning" | "subtle-destructive" | "subtle-outline" | "subtle-primary-outline" | "subtle-success-outline" | "subtle-info-outline" | "subtle-warning-outline" | "subtle-destructive-outline" | "link" | null | undefined>;
|
|
256
256
|
protected readonly effectiveOkDisabled: _angular_core.Signal<boolean | undefined>;
|
|
257
257
|
protected readonly effectiveLoading: _angular_core.Signal<boolean>;
|
|
258
258
|
protected readonly effectiveContentLoading: _angular_core.Signal<boolean>;
|
|
@@ -2179,7 +2179,7 @@ declare class ZTableFilterComponent<T> {
|
|
|
2179
2179
|
protected readonly filterBadgeCount: _angular_core.Signal<number>;
|
|
2180
2180
|
protected readonly hasFilterValue: _angular_core.Signal<boolean>;
|
|
2181
2181
|
protected readonly isActive: _angular_core.Signal<boolean>;
|
|
2182
|
-
protected readonly draftSortValue: _angular_core.Signal<"
|
|
2182
|
+
protected readonly draftSortValue: _angular_core.Signal<"none" | "asc" | "desc">;
|
|
2183
2183
|
protected readonly rangeMinValue: _angular_core.Signal<any>;
|
|
2184
2184
|
protected readonly rangeMaxValue: _angular_core.Signal<any>;
|
|
2185
2185
|
protected readonly dateValue: _angular_core.Signal<Date | null>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { WritableSignal } from '@angular/core';
|
|
1
|
+
import { WritableSignal, Signal } from '@angular/core';
|
|
2
2
|
import { ClassValue } from 'clsx';
|
|
3
3
|
import * as ExcelJS from 'exceljs';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
@@ -175,6 +175,45 @@ declare const Z_EMOJI_SHEET: readonly ZEmojiCategory[];
|
|
|
175
175
|
|
|
176
176
|
declare const Z_EMOJI_KEYWORDS: ReadonlyMap<string, readonly string[]>;
|
|
177
177
|
|
|
178
|
+
declare const Z_VIEWPORT_BREAKPOINTS: {
|
|
179
|
+
readonly xs: 0;
|
|
180
|
+
readonly sm: 640;
|
|
181
|
+
readonly md: 768;
|
|
182
|
+
readonly lg: 1024;
|
|
183
|
+
readonly xl: 1280;
|
|
184
|
+
readonly '2xl': 1536;
|
|
185
|
+
};
|
|
186
|
+
declare const Z_VIEWPORT_CATEGORIES: {
|
|
187
|
+
readonly mobile: {
|
|
188
|
+
readonly min: "xs";
|
|
189
|
+
readonly max: "md";
|
|
190
|
+
};
|
|
191
|
+
readonly tablet: {
|
|
192
|
+
readonly min: "md";
|
|
193
|
+
readonly max: "lg";
|
|
194
|
+
};
|
|
195
|
+
readonly desktop: {
|
|
196
|
+
readonly min: "lg";
|
|
197
|
+
};
|
|
198
|
+
};
|
|
199
|
+
|
|
200
|
+
type ZViewportSize = keyof typeof Z_VIEWPORT_BREAKPOINTS;
|
|
201
|
+
type ZViewportCategory = 'mobile' | 'tablet' | 'desktop';
|
|
202
|
+
type ZViewportTarget = ZViewportSize | ZViewportCategory;
|
|
203
|
+
interface ZViewportOptions {
|
|
204
|
+
breakpoints?: Partial<Record<ZViewportSize, number>>;
|
|
205
|
+
initialSize?: ZViewportSize;
|
|
206
|
+
}
|
|
207
|
+
interface ZViewport {
|
|
208
|
+
readonly size: Signal<ZViewportSize>;
|
|
209
|
+
is(target: ZViewportTarget): Signal<boolean>;
|
|
210
|
+
up(size: ZViewportSize): Signal<boolean>;
|
|
211
|
+
down(size: ZViewportSize): Signal<boolean>;
|
|
212
|
+
matches(query: string): Signal<boolean>;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
declare const zViewport: (options?: ZViewportOptions) => ZViewport;
|
|
216
|
+
|
|
178
217
|
/**
|
|
179
218
|
* Unified event types for Z-UI form components
|
|
180
219
|
* Allows components to emit native DOM events with type discrimination
|
|
@@ -218,5 +257,5 @@ interface ZFormDebugOptions {
|
|
|
218
257
|
logLevel?: 'error' | 'warn' | 'log';
|
|
219
258
|
}
|
|
220
259
|
|
|
221
|
-
export { VIETNAMESE_MAP, Z_ASYNC_OPTIONS_DEFAULT_PAGE_SIZE, Z_DIVIDE_SCALE, Z_EMOJI_KEYWORDS, Z_EMOJI_SHEET, Z_EXCEL_NUMBER_FORMAT_MAP, Z_LOCALE_MAP, zCapitalCase, zCleanObject, zConvertColorToArgb, zCreateEvent, zDebugFormInvalid, zDecodeUnicode, zDetectBrowser, zFormatNum, zFormatNumExcel, zGetAsyncOptionKey, zIsMobileViewport, zMergeAsyncOptions, zMergeClasses, zMiniSearch, zMiniSearch$, zNoop, zNormalize, zRandomColor, zRegisterEchartsTheme, zRemoveVietnamese, zResolveAsyncOptionsHasMore, zResolveAsyncSelectedOptions, zToAsyncOptionsObservable, zTransform, zTreeBuild, zTreeFlatten, zUuid, zValidForm };
|
|
222
|
-
export type { ZAsyncOptionsConfig, ZAsyncOptionsLoadFn, ZAsyncOptionsLoadResult, ZAsyncOptionsQuery, ZAsyncOptionsResult, ZBlurEventData, ZBrowserInfo, ZBrowserName, ZCapitalizeType, ZChangeEventData, ZClickEventData, ZCopyEventData, ZCutEventData, ZDblclickEventData, ZDeviceType, ZDragenterEventData, ZDragleaveEventData, ZDragoverEventData, ZDropEventData, ZEchartsThemeOptions, ZEmojiCategory, ZEmojiEntry, 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 };
|
|
260
|
+
export { VIETNAMESE_MAP, Z_ASYNC_OPTIONS_DEFAULT_PAGE_SIZE, Z_DIVIDE_SCALE, Z_EMOJI_KEYWORDS, Z_EMOJI_SHEET, Z_EXCEL_NUMBER_FORMAT_MAP, Z_LOCALE_MAP, Z_VIEWPORT_BREAKPOINTS, Z_VIEWPORT_CATEGORIES, zCapitalCase, zCleanObject, zConvertColorToArgb, zCreateEvent, zDebugFormInvalid, zDecodeUnicode, zDetectBrowser, zFormatNum, zFormatNumExcel, zGetAsyncOptionKey, zIsMobileViewport, zMergeAsyncOptions, zMergeClasses, zMiniSearch, zMiniSearch$, zNoop, zNormalize, zRandomColor, zRegisterEchartsTheme, zRemoveVietnamese, zResolveAsyncOptionsHasMore, zResolveAsyncSelectedOptions, zToAsyncOptionsObservable, zTransform, zTreeBuild, zTreeFlatten, zUuid, zValidForm, zViewport };
|
|
261
|
+
export type { ZAsyncOptionsConfig, ZAsyncOptionsLoadFn, ZAsyncOptionsLoadResult, ZAsyncOptionsQuery, ZAsyncOptionsResult, ZBlurEventData, ZBrowserInfo, ZBrowserName, ZCapitalizeType, ZChangeEventData, ZClickEventData, ZCopyEventData, ZCutEventData, ZDblclickEventData, ZDeviceType, ZDragenterEventData, ZDragleaveEventData, ZDragoverEventData, ZDropEventData, ZEchartsThemeOptions, ZEmojiCategory, ZEmojiEntry, 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, ZViewport, ZViewportCategory, ZViewportOptions, ZViewportSize, ZViewportTarget };
|