@devjuliovilla/jv-ui 1.5.5 → 1.6.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/README.md +313 -268
- package/fesm2022/devjuliovilla-jv-ui.mjs +198 -3
- package/fesm2022/devjuliovilla-jv-ui.mjs.map +1 -1
- package/package.json +2 -2
- package/types/devjuliovilla-jv-ui.d.ts +56 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@devjuliovilla/jv-ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.0",
|
|
4
4
|
"description": "Accessibility-first Angular component library — components, forms, data grids, dialogs, layout, services, and i18n infrastructure built with signals and standalone APIs.",
|
|
5
5
|
"author": "@devjuliovilla",
|
|
6
6
|
"license": "MIT",
|
|
@@ -51,4 +51,4 @@
|
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
53
|
"type": "module"
|
|
54
|
-
}
|
|
54
|
+
}
|
|
@@ -359,6 +359,30 @@ declare class JvSwitchComponent implements ControlValueAccessor {
|
|
|
359
359
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<JvSwitchComponent, "jv-switch", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "describedBy": { "alias": "describedBy"; "required": false; "isSignal": true; }; "inputId": { "alias": "inputId"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
360
360
|
}
|
|
361
361
|
|
|
362
|
+
declare class JvTextareaComponent implements ControlValueAccessor {
|
|
363
|
+
readonly placeholder: _angular_core.InputSignal<string>;
|
|
364
|
+
readonly required: _angular_core.InputSignal<boolean>;
|
|
365
|
+
readonly invalid: _angular_core.InputSignal<boolean>;
|
|
366
|
+
readonly describedBy: _angular_core.InputSignal<string>;
|
|
367
|
+
readonly readonly: _angular_core.InputSignal<boolean>;
|
|
368
|
+
readonly rows: _angular_core.InputSignal<number>;
|
|
369
|
+
readonly cols: _angular_core.InputSignal<number | undefined>;
|
|
370
|
+
readonly maxlength: _angular_core.InputSignal<number | undefined>;
|
|
371
|
+
readonly inputId: _angular_core.InputSignal<string>;
|
|
372
|
+
value: string;
|
|
373
|
+
disabled: boolean;
|
|
374
|
+
private onChange;
|
|
375
|
+
private onTouched;
|
|
376
|
+
writeValue(value: string | null): void;
|
|
377
|
+
registerOnChange(fn: (value: string) => void): void;
|
|
378
|
+
registerOnTouched(fn: () => void): void;
|
|
379
|
+
setDisabledState(isDisabled: boolean): void;
|
|
380
|
+
handleInput(event: Event): void;
|
|
381
|
+
handleBlur(): void;
|
|
382
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<JvTextareaComponent, never>;
|
|
383
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<JvTextareaComponent, "jv-textarea", never, { "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "describedBy": { "alias": "describedBy"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; "cols": { "alias": "cols"; "required": false; "isSignal": true; }; "maxlength": { "alias": "maxlength"; "required": false; "isSignal": true; }; "inputId": { "alias": "inputId"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
384
|
+
}
|
|
385
|
+
|
|
362
386
|
declare class JvIconComponent {
|
|
363
387
|
private readonly warnedNames;
|
|
364
388
|
readonly name: _angular_core.InputSignal<string>;
|
|
@@ -583,6 +607,36 @@ declare class JvTranslationService {
|
|
|
583
607
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<JvTranslationService>;
|
|
584
608
|
}
|
|
585
609
|
|
|
610
|
+
declare class JvListComponent {
|
|
611
|
+
readonly role: _angular_core.InputSignal<"list" | "navigation">;
|
|
612
|
+
readonly variant: _angular_core.InputSignal<"bordered" | null>;
|
|
613
|
+
readonly ariaLabel: _angular_core.InputSignal<string>;
|
|
614
|
+
protected readonly variantClass: _angular_core.Signal<string>;
|
|
615
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<JvListComponent, never>;
|
|
616
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<JvListComponent, "jv-list", never, { "role": { "alias": "role"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
declare class JvListItemComponent {
|
|
620
|
+
readonly title: _angular_core.InputSignal<string>;
|
|
621
|
+
readonly description: _angular_core.InputSignal<string>;
|
|
622
|
+
readonly leadingIcon: _angular_core.InputSignal<string | null>;
|
|
623
|
+
readonly disabled: _angular_core.InputSignal<boolean>;
|
|
624
|
+
readonly active: _angular_core.InputSignal<boolean>;
|
|
625
|
+
readonly activated: _angular_core.OutputEmitterRef<void>;
|
|
626
|
+
protected onActivate(): void;
|
|
627
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<JvListItemComponent, never>;
|
|
628
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<JvListItemComponent, "jv-list-item", never, { "title": { "alias": "title"; "required": true; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "leadingIcon": { "alias": "leadingIcon"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "active": { "alias": "active"; "required": false; "isSignal": true; }; }, { "activated": "activated"; }, never, ["[meta]"], true, never>;
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
interface JvListItemModel<T = any> {
|
|
632
|
+
title: string;
|
|
633
|
+
description?: string;
|
|
634
|
+
value?: T;
|
|
635
|
+
disabled?: boolean;
|
|
636
|
+
active?: boolean;
|
|
637
|
+
leadingIcon?: string;
|
|
638
|
+
}
|
|
639
|
+
|
|
586
640
|
type JvGridRowId = string | number;
|
|
587
641
|
type JvGridTrackBy<T> = keyof T | ((row: T, index: number) => JvGridRowId);
|
|
588
642
|
type JvGridSortDirection = 'asc' | 'desc' | null;
|
|
@@ -844,5 +898,5 @@ declare class JvPaginationComponent {
|
|
|
844
898
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<JvPaginationComponent, "jv-pagination", never, { "totalItems": { "alias": "totalItems"; "required": true; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": false; "isSignal": true; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; "isSignal": true; }; "pageIndex": { "alias": "pageIndex"; "required": false; "isSignal": true; }; "maxVisiblePages": { "alias": "maxVisiblePages"; "required": false; "isSignal": true; }; }, { "pageChange": "pageChange"; }, never, never, true, never>;
|
|
845
899
|
}
|
|
846
900
|
|
|
847
|
-
export { EN, ES, JV_DEFAULT_LOCALE, JV_FALLBACK_ICON_NAME, JV_GRID_DEFAULT_OPTIONS, JV_LOCALE_DICTIONARIES, JV_LUCIDE_ICON_REGISTRY, JV_UI_CONFIG, JV_UI_CONFIG_DEFAULTS, JV_UI_DEFAULT_CONFIG, JvAlertComponent, JvAnnouncementService, JvBadgeComponent, JvBreadcrumbComponent, JvButtonComponent, JvButtonGroupComponent, JvCardComponent, JvChangePasswordPageComponent, JvCheckboxComponent, JvConfirmDialogComponent, JvDashboardShellComponent, JvDialogComponent, JvDialogService, JvDividerComponent, JvForgotPasswordPageComponent, JvFormContainerComponent, JvGridComponent, JvIconButtonComponent, JvIconComponent, JvInputComponent, JvLoaderComponent, JvLoaderService, JvLoginPageComponent, JvPageComponent, JvPaginationComponent, JvRadioComponent, JvSectionComponent, JvSelectComponent, JvSidebarComponent, JvSwitchComponent, JvThemeService, JvToastComponent, JvToastService, JvTopbarComponent, JvTranslationService, provideJvUi };
|
|
848
|
-
export type { JvActiveConfirmDialog, JvBreadcrumbItem, JvChangePasswordSubmitEvent, JvConfirmOptions, JvDensity, JvForgotPasswordSubmitEvent, JvGridAction, JvGridColumn, JvGridColumnFilter, JvGridColumnReorderEvent, JvGridColumnResizeEvent, JvGridColumnWidth, JvGridFilterOperator, JvGridOptions, JvGridPageEvent, JvGridRowEditEvent, JvGridRowId, JvGridSortDirection, JvGridSortState, JvGridTrackBy, JvIconDefinition, JvIconElement, JvIntent, JvLoaderState, JvLocale, JvLoginSubmitEvent, JvNavItem, JvPaginationEvent, JvSelectOption, JvTheme, JvThemeOption, JvToastItem, JvToastPosition, JvToastViewport, JvTone, JvTopbarAction, JvUiConfig };
|
|
901
|
+
export { EN, ES, JV_DEFAULT_LOCALE, JV_FALLBACK_ICON_NAME, JV_GRID_DEFAULT_OPTIONS, JV_LOCALE_DICTIONARIES, JV_LUCIDE_ICON_REGISTRY, JV_UI_CONFIG, JV_UI_CONFIG_DEFAULTS, JV_UI_DEFAULT_CONFIG, JvAlertComponent, JvAnnouncementService, JvBadgeComponent, JvBreadcrumbComponent, JvButtonComponent, JvButtonGroupComponent, JvCardComponent, JvChangePasswordPageComponent, JvCheckboxComponent, JvConfirmDialogComponent, JvDashboardShellComponent, JvDialogComponent, JvDialogService, JvDividerComponent, JvForgotPasswordPageComponent, JvFormContainerComponent, JvGridComponent, JvIconButtonComponent, JvIconComponent, JvInputComponent, JvListComponent, JvListItemComponent, JvLoaderComponent, JvLoaderService, JvLoginPageComponent, JvPageComponent, JvPaginationComponent, JvRadioComponent, JvSectionComponent, JvSelectComponent, JvSidebarComponent, JvSwitchComponent, JvTextareaComponent, JvThemeService, JvToastComponent, JvToastService, JvTopbarComponent, JvTranslationService, provideJvUi };
|
|
902
|
+
export type { JvActiveConfirmDialog, JvBreadcrumbItem, JvChangePasswordSubmitEvent, JvConfirmOptions, JvDensity, JvForgotPasswordSubmitEvent, JvGridAction, JvGridColumn, JvGridColumnFilter, JvGridColumnReorderEvent, JvGridColumnResizeEvent, JvGridColumnWidth, JvGridFilterOperator, JvGridOptions, JvGridPageEvent, JvGridRowEditEvent, JvGridRowId, JvGridSortDirection, JvGridSortState, JvGridTrackBy, JvIconDefinition, JvIconElement, JvIntent, JvListItemModel, JvLoaderState, JvLocale, JvLoginSubmitEvent, JvNavItem, JvPaginationEvent, JvSelectOption, JvTheme, JvThemeOption, JvToastItem, JvToastPosition, JvToastViewport, JvTone, JvTopbarAction, JvUiConfig };
|