@atomng/ui 1.0.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 +401 -0
- package/atomng-ui.d.ts.map +1 -0
- package/atoms/atomng-ui-atoms.d.ts.map +1 -0
- package/atoms/avatar/avatar.component.d.ts +24 -0
- package/atoms/avatar/avatar.component.d.ts.map +1 -0
- package/atoms/avatar/index.d.ts +3 -0
- package/atoms/avatar/index.d.ts.map +1 -0
- package/atoms/badge/badge.component.d.ts +23 -0
- package/atoms/badge/badge.component.d.ts.map +1 -0
- package/atoms/badge/index.d.ts +3 -0
- package/atoms/badge/index.d.ts.map +1 -0
- package/atoms/button/button.component.d.ts +47 -0
- package/atoms/button/button.component.d.ts.map +1 -0
- package/atoms/button/index.d.ts +3 -0
- package/atoms/button/index.d.ts.map +1 -0
- package/atoms/checkbox/checkbox.component.d.ts +28 -0
- package/atoms/checkbox/checkbox.component.d.ts.map +1 -0
- package/atoms/checkbox/index.d.ts +2 -0
- package/atoms/checkbox/index.d.ts.map +1 -0
- package/atoms/chip/chip.component.d.ts +17 -0
- package/atoms/chip/chip.component.d.ts.map +1 -0
- package/atoms/chip/index.d.ts +2 -0
- package/atoms/chip/index.d.ts.map +1 -0
- package/atoms/index.d.ts +14 -0
- package/atoms/index.d.ts.map +1 -0
- package/atoms/kbd/index.d.ts +2 -0
- package/atoms/kbd/index.d.ts.map +1 -0
- package/atoms/kbd/kbd.component.d.ts +14 -0
- package/atoms/kbd/kbd.component.d.ts.map +1 -0
- package/atoms/link/index.d.ts +2 -0
- package/atoms/link/index.d.ts.map +1 -0
- package/atoms/link/link.component.d.ts +15 -0
- package/atoms/link/link.component.d.ts.map +1 -0
- package/atoms/progress/index.d.ts +3 -0
- package/atoms/progress/index.d.ts.map +1 -0
- package/atoms/progress/progress.component.d.ts +20 -0
- package/atoms/progress/progress.component.d.ts.map +1 -0
- package/atoms/separator/index.d.ts +2 -0
- package/atoms/separator/index.d.ts.map +1 -0
- package/atoms/separator/separator.component.d.ts +13 -0
- package/atoms/separator/separator.component.d.ts.map +1 -0
- package/atoms/skeleton/index.d.ts +2 -0
- package/atoms/skeleton/index.d.ts.map +1 -0
- package/atoms/skeleton/skeleton.component.d.ts +13 -0
- package/atoms/skeleton/skeleton.component.d.ts.map +1 -0
- package/atoms/slider/index.d.ts +2 -0
- package/atoms/slider/index.d.ts.map +1 -0
- package/atoms/slider/slider.component.d.ts +27 -0
- package/atoms/slider/slider.component.d.ts.map +1 -0
- package/atoms/switch/index.d.ts +2 -0
- package/atoms/switch/index.d.ts.map +1 -0
- package/atoms/switch/switch.component.d.ts +25 -0
- package/atoms/switch/switch.component.d.ts.map +1 -0
- package/atoms/tooltip/index.d.ts +2 -0
- package/atoms/tooltip/index.d.ts.map +1 -0
- package/atoms/tooltip/tooltip.component.d.ts +15 -0
- package/atoms/tooltip/tooltip.component.d.ts.map +1 -0
- package/fesm2022/atomng-ui-atoms.mjs +778 -0
- package/fesm2022/atomng-ui-atoms.mjs.map +1 -0
- package/fesm2022/atomng-ui-molecules.mjs +1590 -0
- package/fesm2022/atomng-ui-molecules.mjs.map +1 -0
- package/fesm2022/atomng-ui-organisms.mjs +1346 -0
- package/fesm2022/atomng-ui-organisms.mjs.map +1 -0
- package/fesm2022/atomng-ui-tokens.mjs +499 -0
- package/fesm2022/atomng-ui-tokens.mjs.map +1 -0
- package/fesm2022/atomng-ui.mjs +4184 -0
- package/fesm2022/atomng-ui.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/index.d.ts.map +1 -0
- package/lib/atoms/avatar/avatar.component.d.ts +24 -0
- package/lib/atoms/avatar/avatar.component.d.ts.map +1 -0
- package/lib/atoms/avatar/index.d.ts +3 -0
- package/lib/atoms/avatar/index.d.ts.map +1 -0
- package/lib/atoms/badge/badge.component.d.ts +23 -0
- package/lib/atoms/badge/badge.component.d.ts.map +1 -0
- package/lib/atoms/badge/index.d.ts +3 -0
- package/lib/atoms/badge/index.d.ts.map +1 -0
- package/lib/atoms/button/button.component.d.ts +47 -0
- package/lib/atoms/button/button.component.d.ts.map +1 -0
- package/lib/atoms/button/index.d.ts +3 -0
- package/lib/atoms/button/index.d.ts.map +1 -0
- package/lib/atoms/checkbox/checkbox.component.d.ts +28 -0
- package/lib/atoms/checkbox/checkbox.component.d.ts.map +1 -0
- package/lib/atoms/checkbox/index.d.ts +2 -0
- package/lib/atoms/checkbox/index.d.ts.map +1 -0
- package/lib/atoms/chip/chip.component.d.ts +17 -0
- package/lib/atoms/chip/chip.component.d.ts.map +1 -0
- package/lib/atoms/chip/index.d.ts +2 -0
- package/lib/atoms/chip/index.d.ts.map +1 -0
- package/lib/atoms/index.d.ts +14 -0
- package/lib/atoms/index.d.ts.map +1 -0
- package/lib/atoms/kbd/index.d.ts +2 -0
- package/lib/atoms/kbd/index.d.ts.map +1 -0
- package/lib/atoms/kbd/kbd.component.d.ts +14 -0
- package/lib/atoms/kbd/kbd.component.d.ts.map +1 -0
- package/lib/atoms/link/index.d.ts +2 -0
- package/lib/atoms/link/index.d.ts.map +1 -0
- package/lib/atoms/link/link.component.d.ts +15 -0
- package/lib/atoms/link/link.component.d.ts.map +1 -0
- package/lib/atoms/progress/index.d.ts +3 -0
- package/lib/atoms/progress/index.d.ts.map +1 -0
- package/lib/atoms/progress/progress.component.d.ts +20 -0
- package/lib/atoms/progress/progress.component.d.ts.map +1 -0
- package/lib/atoms/separator/index.d.ts +2 -0
- package/lib/atoms/separator/index.d.ts.map +1 -0
- package/lib/atoms/separator/separator.component.d.ts +13 -0
- package/lib/atoms/separator/separator.component.d.ts.map +1 -0
- package/lib/atoms/skeleton/index.d.ts +2 -0
- package/lib/atoms/skeleton/index.d.ts.map +1 -0
- package/lib/atoms/skeleton/skeleton.component.d.ts +13 -0
- package/lib/atoms/skeleton/skeleton.component.d.ts.map +1 -0
- package/lib/atoms/slider/index.d.ts +2 -0
- package/lib/atoms/slider/index.d.ts.map +1 -0
- package/lib/atoms/slider/slider.component.d.ts +27 -0
- package/lib/atoms/slider/slider.component.d.ts.map +1 -0
- package/lib/atoms/switch/index.d.ts +2 -0
- package/lib/atoms/switch/index.d.ts.map +1 -0
- package/lib/atoms/switch/switch.component.d.ts +25 -0
- package/lib/atoms/switch/switch.component.d.ts.map +1 -0
- package/lib/atoms/tooltip/index.d.ts +2 -0
- package/lib/atoms/tooltip/index.d.ts.map +1 -0
- package/lib/atoms/tooltip/tooltip.component.d.ts +15 -0
- package/lib/atoms/tooltip/tooltip.component.d.ts.map +1 -0
- package/lib/molecules/alert/alert.component.d.ts +22 -0
- package/lib/molecules/alert/alert.component.d.ts.map +1 -0
- package/lib/molecules/alert/index.d.ts +2 -0
- package/lib/molecules/alert/index.d.ts.map +1 -0
- package/lib/molecules/avatar-group/avatar-group.component.d.ts +22 -0
- package/lib/molecules/avatar-group/avatar-group.component.d.ts.map +1 -0
- package/lib/molecules/avatar-group/index.d.ts +2 -0
- package/lib/molecules/avatar-group/index.d.ts.map +1 -0
- package/lib/molecules/breadcrumb/breadcrumb.component.d.ts +17 -0
- package/lib/molecules/breadcrumb/breadcrumb.component.d.ts.map +1 -0
- package/lib/molecules/breadcrumb/index.d.ts +2 -0
- package/lib/molecules/breadcrumb/index.d.ts.map +1 -0
- package/lib/molecules/button-group/button-group.component.d.ts +11 -0
- package/lib/molecules/button-group/button-group.component.d.ts.map +1 -0
- package/lib/molecules/button-group/index.d.ts +2 -0
- package/lib/molecules/button-group/index.d.ts.map +1 -0
- package/lib/molecules/form-field/form-field.component.d.ts +18 -0
- package/lib/molecules/form-field/form-field.component.d.ts.map +1 -0
- package/lib/molecules/form-field/index.d.ts +2 -0
- package/lib/molecules/form-field/index.d.ts.map +1 -0
- package/lib/molecules/index.d.ts +13 -0
- package/lib/molecules/index.d.ts.map +1 -0
- package/lib/molecules/input/index.d.ts +2 -0
- package/lib/molecules/input/index.d.ts.map +1 -0
- package/lib/molecules/input/input.component.d.ts +50 -0
- package/lib/molecules/input/input.component.d.ts.map +1 -0
- package/lib/molecules/pagination/index.d.ts +2 -0
- package/lib/molecules/pagination/index.d.ts.map +1 -0
- package/lib/molecules/pagination/pagination.component.d.ts +18 -0
- package/lib/molecules/pagination/pagination.component.d.ts.map +1 -0
- package/lib/molecules/select/index.d.ts +3 -0
- package/lib/molecules/select/index.d.ts.map +1 -0
- package/lib/molecules/select/select.component.d.ts +56 -0
- package/lib/molecules/select/select.component.d.ts.map +1 -0
- package/lib/molecules/select-search/index.d.ts +2 -0
- package/lib/molecules/select-search/index.d.ts.map +1 -0
- package/lib/molecules/select-search/select-search.component.d.ts +63 -0
- package/lib/molecules/select-search/select-search.component.d.ts.map +1 -0
- package/lib/molecules/tabs/index.d.ts +2 -0
- package/lib/molecules/tabs/index.d.ts.map +1 -0
- package/lib/molecules/tabs/tabs.component.d.ts +23 -0
- package/lib/molecules/tabs/tabs.component.d.ts.map +1 -0
- package/lib/molecules/textarea/index.d.ts +2 -0
- package/lib/molecules/textarea/index.d.ts.map +1 -0
- package/lib/molecules/textarea/textarea.component.d.ts +27 -0
- package/lib/molecules/textarea/textarea.component.d.ts.map +1 -0
- package/lib/molecules/toast/index.d.ts +2 -0
- package/lib/molecules/toast/index.d.ts.map +1 -0
- package/lib/molecules/toast/toast.component.d.ts +19 -0
- package/lib/molecules/toast/toast.component.d.ts.map +1 -0
- package/lib/organisms/accordion/accordion.component.d.ts +25 -0
- package/lib/organisms/accordion/accordion.component.d.ts.map +1 -0
- package/lib/organisms/card/card.component.d.ts +14 -0
- package/lib/organisms/card/card.component.d.ts.map +1 -0
- package/lib/organisms/dropdown-menu/dropdown-menu.component.d.ts +29 -0
- package/lib/organisms/dropdown-menu/dropdown-menu.component.d.ts.map +1 -0
- package/lib/organisms/index.d.ts +8 -0
- package/lib/organisms/index.d.ts.map +1 -0
- package/lib/organisms/modal/modal.component.d.ts +19 -0
- package/lib/organisms/modal/modal.component.d.ts.map +1 -0
- package/lib/organisms/navigation-menu/navigation-menu.component.d.ts +24 -0
- package/lib/organisms/navigation-menu/navigation-menu.component.d.ts.map +1 -0
- package/lib/organisms/sidebar/sidebar.component.d.ts +68 -0
- package/lib/organisms/sidebar/sidebar.component.d.ts.map +1 -0
- package/lib/organisms/table/index.d.ts +3 -0
- package/lib/organisms/table/index.d.ts.map +1 -0
- package/lib/organisms/table/table-cell.directive.d.ts +17 -0
- package/lib/organisms/table/table-cell.directive.d.ts.map +1 -0
- package/lib/organisms/table/table.component.d.ts +50 -0
- package/lib/organisms/table/table.component.d.ts.map +1 -0
- package/lib/tokens/index.d.ts +2 -0
- package/lib/tokens/index.d.ts.map +1 -0
- package/lib/tokens/theme/color-presets.d.ts +24 -0
- package/lib/tokens/theme/color-presets.d.ts.map +1 -0
- package/lib/tokens/theme/index.d.ts +6 -0
- package/lib/tokens/theme/index.d.ts.map +1 -0
- package/lib/tokens/theme/theme-picker.component.d.ts +11 -0
- package/lib/tokens/theme/theme-picker.component.d.ts.map +1 -0
- package/lib/tokens/theme/theme-toggle.component.d.ts +15 -0
- package/lib/tokens/theme/theme-toggle.component.d.ts.map +1 -0
- package/lib/tokens/theme/theme.provider.d.ts +4 -0
- package/lib/tokens/theme/theme.provider.d.ts.map +1 -0
- package/lib/tokens/theme/theme.service.d.ts +48 -0
- package/lib/tokens/theme/theme.service.d.ts.map +1 -0
- package/molecules/alert/alert.component.d.ts +22 -0
- package/molecules/alert/alert.component.d.ts.map +1 -0
- package/molecules/alert/index.d.ts +2 -0
- package/molecules/alert/index.d.ts.map +1 -0
- package/molecules/atomng-ui-molecules.d.ts.map +1 -0
- package/molecules/avatar-group/avatar-group.component.d.ts +22 -0
- package/molecules/avatar-group/avatar-group.component.d.ts.map +1 -0
- package/molecules/avatar-group/index.d.ts +2 -0
- package/molecules/avatar-group/index.d.ts.map +1 -0
- package/molecules/breadcrumb/breadcrumb.component.d.ts +17 -0
- package/molecules/breadcrumb/breadcrumb.component.d.ts.map +1 -0
- package/molecules/breadcrumb/index.d.ts +2 -0
- package/molecules/breadcrumb/index.d.ts.map +1 -0
- package/molecules/button-group/button-group.component.d.ts +11 -0
- package/molecules/button-group/button-group.component.d.ts.map +1 -0
- package/molecules/button-group/index.d.ts +2 -0
- package/molecules/button-group/index.d.ts.map +1 -0
- package/molecules/form-field/form-field.component.d.ts +18 -0
- package/molecules/form-field/form-field.component.d.ts.map +1 -0
- package/molecules/form-field/index.d.ts +2 -0
- package/molecules/form-field/index.d.ts.map +1 -0
- package/molecules/index.d.ts +13 -0
- package/molecules/index.d.ts.map +1 -0
- package/molecules/input/index.d.ts +2 -0
- package/molecules/input/index.d.ts.map +1 -0
- package/molecules/input/input.component.d.ts +50 -0
- package/molecules/input/input.component.d.ts.map +1 -0
- package/molecules/pagination/index.d.ts +2 -0
- package/molecules/pagination/index.d.ts.map +1 -0
- package/molecules/pagination/pagination.component.d.ts +18 -0
- package/molecules/pagination/pagination.component.d.ts.map +1 -0
- package/molecules/select/index.d.ts +3 -0
- package/molecules/select/index.d.ts.map +1 -0
- package/molecules/select/select.component.d.ts +56 -0
- package/molecules/select/select.component.d.ts.map +1 -0
- package/molecules/select-search/index.d.ts +2 -0
- package/molecules/select-search/index.d.ts.map +1 -0
- package/molecules/select-search/select-search.component.d.ts +63 -0
- package/molecules/select-search/select-search.component.d.ts.map +1 -0
- package/molecules/tabs/index.d.ts +2 -0
- package/molecules/tabs/index.d.ts.map +1 -0
- package/molecules/tabs/tabs.component.d.ts +23 -0
- package/molecules/tabs/tabs.component.d.ts.map +1 -0
- package/molecules/textarea/index.d.ts +2 -0
- package/molecules/textarea/index.d.ts.map +1 -0
- package/molecules/textarea/textarea.component.d.ts +27 -0
- package/molecules/textarea/textarea.component.d.ts.map +1 -0
- package/molecules/toast/index.d.ts +2 -0
- package/molecules/toast/index.d.ts.map +1 -0
- package/molecules/toast/toast.component.d.ts +19 -0
- package/molecules/toast/toast.component.d.ts.map +1 -0
- package/organisms/accordion/accordion.component.d.ts +25 -0
- package/organisms/accordion/accordion.component.d.ts.map +1 -0
- package/organisms/atomng-ui-organisms.d.ts.map +1 -0
- package/organisms/card/card.component.d.ts +14 -0
- package/organisms/card/card.component.d.ts.map +1 -0
- package/organisms/dropdown-menu/dropdown-menu.component.d.ts +29 -0
- package/organisms/dropdown-menu/dropdown-menu.component.d.ts.map +1 -0
- package/organisms/index.d.ts +8 -0
- package/organisms/index.d.ts.map +1 -0
- package/organisms/modal/modal.component.d.ts +19 -0
- package/organisms/modal/modal.component.d.ts.map +1 -0
- package/organisms/navigation-menu/navigation-menu.component.d.ts +24 -0
- package/organisms/navigation-menu/navigation-menu.component.d.ts.map +1 -0
- package/organisms/sidebar/sidebar.component.d.ts +68 -0
- package/organisms/sidebar/sidebar.component.d.ts.map +1 -0
- package/organisms/table/index.d.ts +3 -0
- package/organisms/table/index.d.ts.map +1 -0
- package/organisms/table/table-cell.directive.d.ts +17 -0
- package/organisms/table/table-cell.directive.d.ts.map +1 -0
- package/organisms/table/table.component.d.ts +50 -0
- package/organisms/table/table.component.d.ts.map +1 -0
- package/package.json +81 -0
- package/tokens/_colors.scss +150 -0
- package/tokens/_spacing.scss +98 -0
- package/tokens/_typography.scss +59 -0
- package/tokens/atomng-ui-tokens.d.ts.map +1 -0
- package/tokens/index.d.ts +2 -0
- package/tokens/index.d.ts.map +1 -0
- package/tokens/index.scss +8 -0
- package/tokens/theme/color-presets.d.ts +24 -0
- package/tokens/theme/color-presets.d.ts.map +1 -0
- package/tokens/theme/index.d.ts +6 -0
- package/tokens/theme/index.d.ts.map +1 -0
- package/tokens/theme/theme-picker.component.d.ts +11 -0
- package/tokens/theme/theme-picker.component.d.ts.map +1 -0
- package/tokens/theme/theme-toggle.component.d.ts +15 -0
- package/tokens/theme/theme-toggle.component.d.ts.map +1 -0
- package/tokens/theme/theme.provider.d.ts +4 -0
- package/tokens/theme/theme.provider.d.ts.map +1 -0
- package/tokens/theme/theme.service.d.ts +48 -0
- package/tokens/theme/theme.service.d.ts.map +1 -0
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export type InputSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
4
|
+
export type InputVariant = 'outline' | 'soft' | 'subtle' | 'none';
|
|
5
|
+
export type InputColor = 'primary' | 'neutral' | 'error' | 'success' | 'warning';
|
|
6
|
+
/**
|
|
7
|
+
* Input Molecule — Source: Nuxt UI v3 ❖ Input
|
|
8
|
+
*
|
|
9
|
+
* Slots :
|
|
10
|
+
* [slot=leading] — icône / contenu à gauche
|
|
11
|
+
* [slot=trailing] — icône / contenu à droite
|
|
12
|
+
*
|
|
13
|
+
* Pour rendre un slot cliquable (ex: toggle password) :
|
|
14
|
+
* [trailingClickable]="true" → rend le slot trailing en <button> et émet (trailingClick)
|
|
15
|
+
* [leadingClickable]="true" → rend le slot leading en <button> et émet (leadingClick)
|
|
16
|
+
*/
|
|
17
|
+
export declare class InputComponent implements ControlValueAccessor {
|
|
18
|
+
readonly type: import("@angular/core").InputSignal<string>;
|
|
19
|
+
readonly placeholder: import("@angular/core").InputSignal<string>;
|
|
20
|
+
readonly size: import("@angular/core").InputSignal<InputSize>;
|
|
21
|
+
readonly variant: import("@angular/core").InputSignal<InputVariant>;
|
|
22
|
+
readonly color: import("@angular/core").InputSignal<InputColor>;
|
|
23
|
+
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
24
|
+
readonly readonly: import("@angular/core").InputSignal<boolean>;
|
|
25
|
+
readonly required: import("@angular/core").InputSignal<boolean>;
|
|
26
|
+
readonly ariaLabel: import("@angular/core").InputSignal<string>;
|
|
27
|
+
readonly leading: import("@angular/core").InputSignal<boolean>;
|
|
28
|
+
readonly leadingClickable: import("@angular/core").InputSignal<boolean>;
|
|
29
|
+
/** aria-label du bouton leading quand leadingClickable=true */
|
|
30
|
+
readonly leadingLabel: import("@angular/core").InputSignal<string>;
|
|
31
|
+
readonly trailing: import("@angular/core").InputSignal<boolean>;
|
|
32
|
+
readonly trailingClickable: import("@angular/core").InputSignal<boolean>;
|
|
33
|
+
/** aria-label du bouton trailing quand trailingClickable=true */
|
|
34
|
+
readonly trailingLabel: import("@angular/core").InputSignal<string>;
|
|
35
|
+
readonly value: import("@angular/core").ModelSignal<string>;
|
|
36
|
+
readonly leadingClick: import("@angular/core").OutputEmitterRef<void>;
|
|
37
|
+
readonly trailingClick: import("@angular/core").OutputEmitterRef<void>;
|
|
38
|
+
protected wrapClass(): string;
|
|
39
|
+
protected inputClass(): string;
|
|
40
|
+
private _onChange;
|
|
41
|
+
protected onTouched: () => void;
|
|
42
|
+
protected onInput(e: Event): void;
|
|
43
|
+
writeValue(v: string): void;
|
|
44
|
+
registerOnChange(fn: (v: string) => void): void;
|
|
45
|
+
registerOnTouched(fn: () => void): void;
|
|
46
|
+
setDisabledState(_: boolean): void;
|
|
47
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputComponent, never>;
|
|
48
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "ui-input", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "leading": { "alias": "leading"; "required": false; "isSignal": true; }; "leadingClickable": { "alias": "leadingClickable"; "required": false; "isSignal": true; }; "leadingLabel": { "alias": "leadingLabel"; "required": false; "isSignal": true; }; "trailing": { "alias": "trailing"; "required": false; "isSignal": true; }; "trailingClickable": { "alias": "trailingClickable"; "required": false; "isSignal": true; }; "trailingLabel": { "alias": "trailingLabel"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "leadingClick": "leadingClick"; "trailingClick": "trailingClick"; }, never, ["[slot=leading]", "[slot=trailing]"], true, never>;
|
|
49
|
+
}
|
|
50
|
+
//# sourceMappingURL=input.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input.component.d.ts","sourceRoot":"","sources":["../../../../../libs/shared-ui/src/lib/molecules/input/input.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAqB,MAAM,gBAAgB,CAAC;;AAEzE,MAAM,MAAM,SAAS,GAAM,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAC5D,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAC;AAClE,MAAM,MAAM,UAAU,GAAK,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,CAAC;AAEnF;;;;;;;;;;GAUG;AACH,qBA+Da,cAAe,YAAW,oBAAoB;IAEzD,QAAQ,CAAC,IAAI,8CAA6B;IAC1C,QAAQ,CAAC,WAAW,8CAAqB;IACzC,QAAQ,CAAC,IAAI,iDAA8B;IAC3C,QAAQ,CAAC,OAAO,oDAAmC;IACnD,QAAQ,CAAC,KAAK,kDAAmC;IACjD,QAAQ,CAAC,QAAQ,+CAAyB;IAC1C,QAAQ,CAAC,QAAQ,+CAAyB;IAC1C,QAAQ,CAAC,QAAQ,+CAAyB;IAC1C,QAAQ,CAAC,SAAS,8CAA8B;IAEhD,QAAQ,CAAC,OAAO,+CAAkC;IAClD,QAAQ,CAAC,gBAAgB,+CAAyB;IAClD,+DAA+D;IAC/D,QAAQ,CAAC,YAAY,8CAAyB;IAE9C,QAAQ,CAAC,QAAQ,+CAAkC;IACnD,QAAQ,CAAC,iBAAiB,+CAAyB;IACnD,iEAAiE;IACjE,QAAQ,CAAC,aAAa,8CAAyB;IAG/C,QAAQ,CAAC,KAAK,8CAAqB;IAGnC,QAAQ,CAAC,YAAY,iDAAmB;IACxC,QAAQ,CAAC,aAAa,iDAAkB;IAGxC,SAAS,CAAC,SAAS;IASnB,SAAS,CAAC,UAAU;IAKpB,OAAO,CAAC,SAAS,CAAiC;IAClD,SAAS,CAAC,SAAS,EAAE,MAAM,IAAI,CAAY;IAE3C,SAAS,CAAC,OAAO,CAAC,CAAC,EAAE,KAAK,GAAG,IAAI;IAMjC,UAAU,CAAC,CAAC,EAAE,MAAM;IACpB,gBAAgB,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI;IACxC,iBAAiB,CAAC,EAAE,EAAE,MAAM,IAAI;IAChC,gBAAgB,CAAC,CAAC,EAAE,OAAO;yCAxDhB,cAAc;2CAAd,cAAc;CAyD1B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../libs/shared-ui/src/lib/molecules/pagination/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export type PaginationSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
3
|
+
/**
|
|
4
|
+
* Pagination Molecule — Source: Nuxt UI v3 ❖ Pagination
|
|
5
|
+
* Page navigation with page numbers, prev/next controls
|
|
6
|
+
*/
|
|
7
|
+
export declare class PaginationComponent {
|
|
8
|
+
readonly total: import("@angular/core").InputSignal<number>;
|
|
9
|
+
readonly size: import("@angular/core").InputSignal<PaginationSize>;
|
|
10
|
+
readonly page: import("@angular/core").ModelSignal<number>;
|
|
11
|
+
protected readonly pages: import("@angular/core").Signal<(string | number)[]>;
|
|
12
|
+
prev(): void;
|
|
13
|
+
next(): void;
|
|
14
|
+
goTo(p: number): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PaginationComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PaginationComponent, "ui-pagination", never, { "total": { "alias": "total"; "required": true; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "page": { "alias": "page"; "required": false; "isSignal": true; }; }, { "page": "pageChange"; }, never, never, true, never>;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=pagination.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pagination.component.d.ts","sourceRoot":"","sources":["../../../../../libs/shared-ui/src/lib/molecules/pagination/pagination.component.ts"],"names":[],"mappings":";AAGA,MAAM,MAAM,cAAc,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE9D;;;GAGG;AACH,qBAqCa,mBAAmB;IAC9B,QAAQ,CAAC,KAAK,8CAA4B;IAC1C,QAAQ,CAAC,IAAI,sDAAgC;IAC7C,QAAQ,CAAC,IAAI,8CAAqB;IAElC,SAAS,CAAC,QAAQ,CAAC,KAAK,sDAYrB;IAEH,IAAI;IACJ,IAAI;IACJ,IAAI,CAAC,CAAC,EAAE,MAAM;yCArBH,mBAAmB;2CAAnB,mBAAmB;CAsB/B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../libs/shared-ui/src/lib/molecules/select/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,YAAY,EAAC,YAAY,EAAE,UAAU,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export interface SelectOption<T = string> {
|
|
5
|
+
label: string;
|
|
6
|
+
value: T;
|
|
7
|
+
icon?: string;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export type SelectSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
11
|
+
export type SelectVariant = 'outline' | 'soft' | 'subtle' | 'ghost' | 'none';
|
|
12
|
+
export type SelectColor = 'primary' | 'secondary' | 'neutral' | 'success' | 'warning' | 'error' | 'info';
|
|
13
|
+
/**
|
|
14
|
+
* Select Molecule — Source: Nuxt UI v3 ❖ Select
|
|
15
|
+
*
|
|
16
|
+
* Dropdown custom (non natif) :
|
|
17
|
+
* - Trigger stylisé comme un Input (variants, couleurs, tailles Figma)
|
|
18
|
+
* - Panel dropdown animé (scale + fade, 100ms ease-out)
|
|
19
|
+
* - Navigation clavier : ArrowUp/Down, Enter, Space, Escape, Tab
|
|
20
|
+
* - ClickOutside pour fermer
|
|
21
|
+
* - Slot leading icon dans le trigger
|
|
22
|
+
* - Icône + checkmark par option
|
|
23
|
+
* - Compatible ControlValueAccessor
|
|
24
|
+
*/
|
|
25
|
+
export declare class SelectComponent implements ControlValueAccessor {
|
|
26
|
+
triggerEl: ElementRef<HTMLButtonElement>;
|
|
27
|
+
readonly options: import("@angular/core").InputSignal<SelectOption<string>[]>;
|
|
28
|
+
readonly placeholder: import("@angular/core").InputSignal<string>;
|
|
29
|
+
readonly size: import("@angular/core").InputSignal<SelectSize>;
|
|
30
|
+
readonly variant: import("@angular/core").InputSignal<SelectVariant>;
|
|
31
|
+
readonly color: import("@angular/core").InputSignal<SelectColor>;
|
|
32
|
+
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
33
|
+
readonly loading: import("@angular/core").InputSignal<boolean>;
|
|
34
|
+
readonly leadingIcon: import("@angular/core").InputSignal<boolean>;
|
|
35
|
+
readonly ariaLabel: import("@angular/core").InputSignal<string>;
|
|
36
|
+
readonly value: import("@angular/core").ModelSignal<string>;
|
|
37
|
+
readonly change: import("@angular/core").OutputEmitterRef<SelectOption<string>>;
|
|
38
|
+
protected readonly isOpen: import("@angular/core").WritableSignal<boolean>;
|
|
39
|
+
protected readonly activeIndex: import("@angular/core").WritableSignal<number>;
|
|
40
|
+
protected readonly selectedOption: import("@angular/core").Signal<SelectOption<string>>;
|
|
41
|
+
protected readonly triggerClasses: import("@angular/core").Signal<string>;
|
|
42
|
+
protected isSelected(opt: SelectOption): boolean;
|
|
43
|
+
private _onChange;
|
|
44
|
+
private _onTouched;
|
|
45
|
+
writeValue(v: string): void;
|
|
46
|
+
registerOnChange(fn: (v: string) => void): void;
|
|
47
|
+
registerOnTouched(fn: () => void): void;
|
|
48
|
+
setDisabledState(_: boolean): void;
|
|
49
|
+
toggleOpen(): void;
|
|
50
|
+
selectOption(opt: SelectOption): void;
|
|
51
|
+
onTriggerKeydown(event: KeyboardEvent): void;
|
|
52
|
+
onDocumentClick(event: MouseEvent): void;
|
|
53
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelectComponent, never>;
|
|
54
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "ui-select", never, { "options": { "alias": "options"; "required": true; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "leadingIcon": { "alias": "leadingIcon"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "change": "change"; }, never, ["[slot=leading]"], true, never>;
|
|
55
|
+
}
|
|
56
|
+
//# sourceMappingURL=select.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"select.component.d.ts","sourceRoot":"","sources":["../../../../../libs/shared-ui/src/lib/molecules/select/select.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,UAAU,EAQX,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,oBAAoB,EAAqB,MAAM,gBAAgB,CAAC;;AAIzE,MAAM,WAAW,YAAY,CAAC,CAAC,GAAG,MAAM;IACtC,KAAK,EAAM,MAAM,CAAC;IAClB,KAAK,EAAM,CAAC,CAAC;IACb,IAAI,CAAC,EAAM,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,MAAM,UAAU,GAAM,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAC7D,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,MAAM,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC;AAC7E,MAAM,MAAM,WAAW,GAAK,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;AAE3G;;;;;;;;;;;GAWG;AACH,qBA+Ga,eAAgB,YAAW,oBAAoB;IAClC,SAAS,EAAG,UAAU,CAAC,iBAAiB,CAAC,CAAC;IAElE,QAAQ,CAAC,OAAO,8DAAwC;IACxD,QAAQ,CAAC,WAAW,8CAA8B;IAClD,QAAQ,CAAC,IAAI,kDAAkC;IAC/C,QAAQ,CAAC,OAAO,qDAAuC;IACvD,QAAQ,CAAC,KAAK,mDAAuC;IACrD,QAAQ,CAAC,QAAQ,+CAA4B;IAC7C,QAAQ,CAAC,OAAO,+CAA6B;IAC7C,QAAQ,CAAC,WAAW,+CAAyB;IAC7C,QAAQ,CAAC,SAAS,8CAAgC;IAElD,QAAQ,CAAC,KAAK,8CAAsB;IACpC,QAAQ,CAAC,MAAM,iEAA0B;IAEzC,SAAS,CAAC,QAAQ,CAAC,MAAM,kDAAsB;IAC/C,SAAS,CAAC,QAAQ,CAAC,WAAW,iDAAc;IAE5C,SAAS,CAAC,QAAQ,CAAC,cAAc,uDAE/B;IAEF,SAAS,CAAC,QAAQ,CAAC,cAAc,yCAM/B;IAEF,SAAS,CAAC,UAAU,CAAC,GAAG,EAAE,YAAY,GAAG,OAAO;IAKhD,OAAO,CAAC,SAAS,CAAiC;IAClD,OAAO,CAAC,UAAU,CAAwB;IAC1C,UAAU,CAAC,CAAC,EAAE,MAAM;IACpB,gBAAgB,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI;IACxC,iBAAiB,CAAC,EAAE,EAAE,MAAM,IAAI;IAChC,gBAAgB,CAAC,CAAC,EAAE,OAAO;IAE3B,UAAU;IASV,YAAY,CAAC,GAAG,EAAE,YAAY;IAW9B,gBAAgB,CAAC,KAAK,EAAE,aAAa;IAoCrC,eAAe,CAAC,KAAK,EAAE,UAAU;yCAnGtB,eAAe;2CAAf,eAAe;CAwG3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../libs/shared-ui/src/lib/molecules/select-search/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import { SelectOption, SelectSize, SelectVariant, SelectColor } from '../select/select.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export { SelectOption, SelectSize, SelectVariant, SelectColor };
|
|
6
|
+
/**
|
|
7
|
+
* SelectSearch Molecule — Source: Nuxt UI v3 ❖ SelectMenu / Combobox
|
|
8
|
+
*
|
|
9
|
+
* Extension du Select avec un input de recherche intégré dans le panel :
|
|
10
|
+
* - Filtre les options en temps réel (case-insensitive)
|
|
11
|
+
* - Highlight du terme recherché dans les labels
|
|
12
|
+
* - "Aucun résultat" si aucune option trouvée
|
|
13
|
+
* - Clavier : ↑↓ navigue, Enter sélectionne, Escape ferme, Tab ferme
|
|
14
|
+
* - Focus automatique sur l'input à l'ouverture
|
|
15
|
+
* - Même API / variants / couleurs / tailles que SelectComponent
|
|
16
|
+
* - Compatible ControlValueAccessor
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* <ui-select-search [options]="pays" placeholder="Rechercher un pays..." />
|
|
20
|
+
* <ui-select-search [(value)]="val" variant="soft" color="primary" />
|
|
21
|
+
*/
|
|
22
|
+
export declare class SelectSearchComponent implements ControlValueAccessor, AfterViewInit {
|
|
23
|
+
triggerEl: ElementRef<HTMLButtonElement>;
|
|
24
|
+
searchInput: ElementRef<HTMLInputElement>;
|
|
25
|
+
readonly options: import("@angular/core").InputSignal<SelectOption<string>[]>;
|
|
26
|
+
readonly placeholder: import("@angular/core").InputSignal<string>;
|
|
27
|
+
readonly searchPlaceholder: import("@angular/core").InputSignal<string>;
|
|
28
|
+
readonly emptyLabel: import("@angular/core").InputSignal<string>;
|
|
29
|
+
readonly size: import("@angular/core").InputSignal<SelectSize>;
|
|
30
|
+
readonly variant: import("@angular/core").InputSignal<SelectVariant>;
|
|
31
|
+
readonly color: import("@angular/core").InputSignal<SelectColor>;
|
|
32
|
+
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
33
|
+
readonly loading: import("@angular/core").InputSignal<boolean>;
|
|
34
|
+
readonly leadingIcon: import("@angular/core").InputSignal<boolean>;
|
|
35
|
+
readonly ariaLabel: import("@angular/core").InputSignal<string>;
|
|
36
|
+
readonly value: import("@angular/core").ModelSignal<string>;
|
|
37
|
+
readonly change: import("@angular/core").OutputEmitterRef<SelectOption<string>>;
|
|
38
|
+
protected readonly isOpen: import("@angular/core").WritableSignal<boolean>;
|
|
39
|
+
protected readonly activeIndex: import("@angular/core").WritableSignal<number>;
|
|
40
|
+
protected readonly query: import("@angular/core").WritableSignal<string>;
|
|
41
|
+
protected readonly selectedOption: import("@angular/core").Signal<SelectOption<string>>;
|
|
42
|
+
protected readonly filteredOptions: import("@angular/core").Signal<SelectOption<string>[]>;
|
|
43
|
+
protected readonly triggerClasses: import("@angular/core").Signal<string>;
|
|
44
|
+
protected isSelected(opt: SelectOption): boolean;
|
|
45
|
+
/** Entoure le terme recherché dans le label avec <mark> */
|
|
46
|
+
protected highlight(label: string): string;
|
|
47
|
+
private _onChange;
|
|
48
|
+
private _onTouched;
|
|
49
|
+
writeValue(v: string): void;
|
|
50
|
+
registerOnChange(fn: (v: string) => void): void;
|
|
51
|
+
registerOnTouched(fn: () => void): void;
|
|
52
|
+
setDisabledState(_: boolean): void;
|
|
53
|
+
ngAfterViewInit(): void;
|
|
54
|
+
toggleOpen(): void;
|
|
55
|
+
selectOption(opt: SelectOption): void;
|
|
56
|
+
clearQuery(): void;
|
|
57
|
+
onTriggerKeydown(event: KeyboardEvent): void;
|
|
58
|
+
onSearchKeydown(event: KeyboardEvent): void;
|
|
59
|
+
onDocumentClick(event: MouseEvent): void;
|
|
60
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelectSearchComponent, never>;
|
|
61
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectSearchComponent, "ui-select-search", never, { "options": { "alias": "options"; "required": true; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; "isSignal": true; }; "emptyLabel": { "alias": "emptyLabel"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "leadingIcon": { "alias": "leadingIcon"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "change": "change"; }, never, ["[slot=leading]"], true, never>;
|
|
62
|
+
}
|
|
63
|
+
//# sourceMappingURL=select-search.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"select-search.component.d.ts","sourceRoot":"","sources":["../../../../../libs/shared-ui/src/lib/molecules/select-search/select-search.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EAIb,UAAU,EAQX,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,oBAAoB,EAAkC,MAAM,gBAAgB,CAAC;AAGtF,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;;AAElG,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,aAAa,EAAE,WAAW,EAAE,CAAC;AAEhE;;;;;;;;;;;;;;;GAeG;AACH,qBAyKa,qBAAsB,YAAW,oBAAoB,EAAE,aAAa;IACtD,SAAS,EAAI,UAAU,CAAC,iBAAiB,CAAC,CAAC;IAC1C,WAAW,EAAG,UAAU,CAAC,gBAAgB,CAAC,CAAC;IAGrE,QAAQ,CAAC,OAAO,8DAA6C;IAC7D,QAAQ,CAAC,WAAW,8CAAmC;IACvD,QAAQ,CAAC,iBAAiB,8CAAkC;IAC5D,QAAQ,CAAC,UAAU,8CAAyC;IAC5D,QAAQ,CAAC,IAAI,kDAAuC;IACpD,QAAQ,CAAC,OAAO,qDAA4C;IAC5D,QAAQ,CAAC,KAAK,mDAA4C;IAC1D,QAAQ,CAAC,QAAQ,+CAAiC;IAClD,QAAQ,CAAC,OAAO,+CAAkC;IAClD,QAAQ,CAAC,WAAW,+CAA8B;IAClD,QAAQ,CAAC,SAAS,8CAAqC;IAGvD,QAAQ,CAAC,KAAK,8CAAsB;IACpC,QAAQ,CAAC,MAAM,iEAA0B;IAGzC,SAAS,CAAC,QAAQ,CAAC,MAAM,kDAAsB;IAC/C,SAAS,CAAC,QAAQ,CAAC,WAAW,iDAAc;IAC5C,SAAS,CAAC,QAAQ,CAAC,KAAK,iDAAoB;IAE5C,SAAS,CAAC,QAAQ,CAAC,cAAc,uDAE/B;IAEF,SAAS,CAAC,QAAQ,CAAC,eAAe,yDAM/B;IAEH,SAAS,CAAC,QAAQ,CAAC,cAAc,yCAM/B;IAEF,SAAS,CAAC,UAAU,CAAC,GAAG,EAAE,YAAY,GAAG,OAAO;IAIhD,2DAA2D;IAC3D,SAAS,CAAC,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;IAW1C,OAAO,CAAC,SAAS,CAAiC;IAClD,OAAO,CAAC,UAAU,CAAwB;IAE1C,UAAU,CAAC,CAAC,EAAE,MAAM;IACpB,gBAAgB,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI;IACxC,iBAAiB,CAAC,EAAE,EAAE,MAAM,IAAI;IAChC,gBAAgB,CAAC,CAAC,EAAE,OAAO;IAE3B,eAAe;IAGf,UAAU;IAYV,YAAY,CAAC,GAAG,EAAE,YAAY;IAY9B,UAAU;IAOV,gBAAgB,CAAC,KAAK,EAAE,aAAa;IAkBrC,eAAe,CAAC,KAAK,EAAE,aAAa;IAkCpC,eAAe,CAAC,KAAK,EAAE,UAAU;yCA5JtB,qBAAqB;2CAArB,qBAAqB;CAiKjC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../libs/shared-ui/src/lib/molecules/tabs/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export interface TabItem {
|
|
3
|
+
id: string;
|
|
4
|
+
label: string;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
count?: number;
|
|
7
|
+
}
|
|
8
|
+
export type TabsVariant = 'pill' | 'link' | 'underline';
|
|
9
|
+
export type TabsSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
10
|
+
/**
|
|
11
|
+
* Tabs Molecule — Source: Nuxt UI v3 ❖ Tabs
|
|
12
|
+
* Tabbed navigation with pill, link and underline variants
|
|
13
|
+
*/
|
|
14
|
+
export declare class TabsComponent {
|
|
15
|
+
readonly items: import("@angular/core").InputSignal<TabItem[]>;
|
|
16
|
+
readonly variant: import("@angular/core").InputSignal<TabsVariant>;
|
|
17
|
+
readonly size: import("@angular/core").InputSignal<TabsSize>;
|
|
18
|
+
readonly activeId: import("@angular/core").ModelSignal<string>;
|
|
19
|
+
select(id: string): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TabsComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TabsComponent, "ui-tabs", never, { "items": { "alias": "items"; "required": true; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "activeId": { "alias": "activeId"; "required": false; "isSignal": true; }; }, { "activeId": "activeIdChange"; }, never, ["*"], true, never>;
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=tabs.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tabs.component.d.ts","sourceRoot":"","sources":["../../../../../libs/shared-ui/src/lib/molecules/tabs/tabs.component.ts"],"names":[],"mappings":";AAGA,MAAM,WAAW,OAAO;IACtB,EAAE,EAAQ,MAAM,CAAC;IACjB,KAAK,EAAK,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAI,MAAM,CAAC;CAClB;AAED,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,MAAM,GAAG,WAAW,CAAC;AACxD,MAAM,MAAM,QAAQ,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAExD;;;GAGG;AACH,qBA8Ba,aAAa;IACxB,QAAQ,CAAC,KAAK,iDAAiC;IAC/C,QAAQ,CAAC,OAAO,mDAA8B;IAC9C,QAAQ,CAAC,IAAI,gDAA4B;IACzC,QAAQ,CAAC,QAAQ,8CAAqB;IAEtC,MAAM,CAAC,EAAE,EAAE,MAAM;yCANN,aAAa;2CAAb,aAAa;CAOzB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../libs/shared-ui/src/lib/molecules/textarea/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export type TextareaSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
4
|
+
/**
|
|
5
|
+
* Textarea Molecule — Source: Nuxt UI v3 ❖ Textarea
|
|
6
|
+
* Multi-line text input with auto-resize support
|
|
7
|
+
*/
|
|
8
|
+
export declare class TextareaComponent implements ControlValueAccessor {
|
|
9
|
+
readonly placeholder: import("@angular/core").InputSignal<string>;
|
|
10
|
+
readonly size: import("@angular/core").InputSignal<TextareaSize>;
|
|
11
|
+
readonly rows: import("@angular/core").InputSignal<number>;
|
|
12
|
+
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
13
|
+
readonly readonly: import("@angular/core").InputSignal<boolean>;
|
|
14
|
+
readonly autoResize: import("@angular/core").InputSignal<boolean>;
|
|
15
|
+
readonly ariaLabel: import("@angular/core").InputSignal<string>;
|
|
16
|
+
readonly value: import("@angular/core").ModelSignal<string>;
|
|
17
|
+
private _onChange;
|
|
18
|
+
protected onTouched: () => void;
|
|
19
|
+
onInput(e: Event): void;
|
|
20
|
+
writeValue(v: string): void;
|
|
21
|
+
registerOnChange(fn: (v: string) => void): void;
|
|
22
|
+
registerOnTouched(fn: () => void): void;
|
|
23
|
+
setDisabledState(_: boolean): void;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TextareaComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TextareaComponent, "ui-textarea", never, { "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "autoResize": { "alias": "autoResize"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=textarea.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"textarea.component.d.ts","sourceRoot":"","sources":["../../../../../libs/shared-ui/src/lib/molecules/textarea/textarea.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAqB,MAAM,gBAAgB,CAAC;;AAGzE,MAAM,MAAM,YAAY,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE5D;;;GAGG;AACH,qBAoBa,iBAAkB,YAAW,oBAAoB;IAC5D,QAAQ,CAAC,WAAW,8CAAqB;IACzC,QAAQ,CAAC,IAAI,oDAAoC;IACjD,QAAQ,CAAC,IAAI,8CAA2B;IACxC,QAAQ,CAAC,QAAQ,+CAA4B;IAC7C,QAAQ,CAAC,QAAQ,+CAA4B;IAC7C,QAAQ,CAAC,UAAU,+CAA0B;IAC7C,QAAQ,CAAC,SAAS,8CAAgC;IAClD,QAAQ,CAAC,KAAK,8CAA2B;IAEzC,OAAO,CAAC,SAAS,CAAiC;IAClD,SAAS,CAAC,SAAS,EAAE,MAAM,IAAI,CAAY;IAE3C,OAAO,CAAC,CAAC,EAAE,KAAK;IAMhB,UAAU,CAAC,CAAC,EAAE,MAAM;IACpB,gBAAgB,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI;IACxC,iBAAiB,CAAC,EAAE,EAAE,MAAM,IAAI;IAChC,gBAAgB,CAAC,CAAC,EAAE,OAAO;yCAtBhB,iBAAiB;2CAAjB,iBAAiB;CAuB7B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../libs/shared-ui/src/lib/molecules/toast/index.ts"],"names":[],"mappings":"AAAA,cAAe,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export type ToastVariant = 'solid' | 'outline' | 'soft' | 'subtle';
|
|
3
|
+
export type ToastColor = 'primary' | 'neutral' | 'success' | 'info' | 'warning' | 'error';
|
|
4
|
+
/**
|
|
5
|
+
* Toast Molecule — Source: Nuxt UI v3 ❖ Toast
|
|
6
|
+
* Transient notification with auto-close
|
|
7
|
+
*/
|
|
8
|
+
export declare class ToastComponent {
|
|
9
|
+
readonly variant: import("@angular/core").InputSignal<ToastVariant>;
|
|
10
|
+
readonly color: import("@angular/core").InputSignal<ToastColor>;
|
|
11
|
+
readonly title: import("@angular/core").InputSignal<string>;
|
|
12
|
+
readonly description: import("@angular/core").InputSignal<string>;
|
|
13
|
+
readonly icon: import("@angular/core").InputSignal<boolean>;
|
|
14
|
+
readonly closable: import("@angular/core").InputSignal<boolean>;
|
|
15
|
+
readonly close: import("@angular/core").OutputEmitterRef<void>;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToastComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToastComponent, "ui-toast", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "closable": { "alias": "closable"; "required": false; "isSignal": true; }; }, { "close": "close"; }, never, ["[slot=icon]", "*"], true, never>;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=toast.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toast.component.d.ts","sourceRoot":"","sources":["../../../../../libs/shared-ui/src/lib/molecules/toast/toast.component.ts"],"names":[],"mappings":";AAGA,MAAM,MAAM,YAAY,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,GAAG,QAAQ,CAAC;AACnE,MAAM,MAAM,UAAU,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,OAAO,CAAC;AAE1F;;;GAGG;AACH,qBAiCa,cAAc;IACzB,QAAQ,CAAC,OAAO,oDAAmC;IACnD,QAAQ,CAAC,KAAK,kDAAsC;IACpD,QAAQ,CAAC,KAAK,8CAAoC;IAClD,QAAQ,CAAC,WAAW,8CAA8B;IAClD,QAAQ,CAAC,IAAI,+CAAgC;IAC7C,QAAQ,CAAC,QAAQ,+CAA2B;IAE5C,QAAQ,CAAC,KAAK,iDAAkB;yCARrB,cAAc;2CAAd,cAAc;CAS1B"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export interface AccordionItem {
|
|
3
|
+
id: string;
|
|
4
|
+
label: string;
|
|
5
|
+
content: string;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
defaultOpen?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export type AccordionVariant = 'default' | 'ghost';
|
|
10
|
+
/**
|
|
11
|
+
* Accordion Organism — Source: Nuxt UI v3 ❖ Accordion
|
|
12
|
+
* Collapsible content sections with animation
|
|
13
|
+
* Single or multiple open panels supported
|
|
14
|
+
*/
|
|
15
|
+
export declare class AccordionComponent {
|
|
16
|
+
readonly items: import("@angular/core").InputSignal<AccordionItem[]>;
|
|
17
|
+
readonly variant: import("@angular/core").InputSignal<AccordionVariant>;
|
|
18
|
+
readonly multiple: import("@angular/core").InputSignal<boolean>;
|
|
19
|
+
readonly openIds: import("@angular/core").ModelSignal<string[]>;
|
|
20
|
+
isOpen(id: string): boolean;
|
|
21
|
+
toggle(id: string): void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AccordionComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AccordionComponent, "ui-accordion", never, { "items": { "alias": "items"; "required": true; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "openIds": { "alias": "openIds"; "required": false; "isSignal": true; }; }, { "openIds": "openIdsChange"; }, never, never, true, never>;
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=accordion.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accordion.component.d.ts","sourceRoot":"","sources":["../../../../../libs/shared-ui/src/lib/organisms/accordion/accordion.component.ts"],"names":[],"mappings":";AAIA,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAY,MAAM,CAAC;IACrB,KAAK,EAAS,MAAM,CAAC;IACrB,OAAO,EAAO,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAK,OAAO,CAAC;IACtB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG,OAAO,CAAC;AAEnD;;;;GAIG;AACH,qBAoDa,kBAAkB;IAC7B,QAAQ,CAAC,KAAK,uDAAwC;IACtD,QAAQ,CAAC,OAAO,wDAAuC;IACvD,QAAQ,CAAC,QAAQ,+CAAwB;IACzC,QAAQ,CAAC,OAAO,gDAAwB;IAExC,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO;IAE3B,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI;yCARb,kBAAkB;2CAAlB,kBAAkB;CAgB9B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"atomng-ui-organisms.d.ts","sourceRoot":"","sources":["../../../../libs/shared-ui/src/lib/organisms/atomng-ui-organisms.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export type CardVariant = 'outline' | 'soft' | 'subtle' | 'ghost' | 'none';
|
|
3
|
+
/**
|
|
4
|
+
* Card Organism — Source: Nuxt UI v3 ❖ Card
|
|
5
|
+
* Content container with header, body, footer slots
|
|
6
|
+
*/
|
|
7
|
+
export declare class CardComponent {
|
|
8
|
+
readonly title: import("@angular/core").InputSignal<string>;
|
|
9
|
+
readonly description: import("@angular/core").InputSignal<string>;
|
|
10
|
+
readonly variant: import("@angular/core").InputSignal<CardVariant>;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CardComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CardComponent, "ui-card", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; }, {}, never, ["[slot=header]", "*", "[slot=footer]"], true, never>;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=card.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"card.component.d.ts","sourceRoot":"","sources":["../../../../../libs/shared-ui/src/lib/organisms/card/card.component.ts"],"names":[],"mappings":";AAGA,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,MAAM,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC;AAE3E;;;GAGG;AACH,qBA0Ba,aAAa;IACxB,QAAQ,CAAC,KAAK,8CAAoC;IAClD,QAAQ,CAAC,WAAW,8CAA8B;IAClD,QAAQ,CAAC,OAAO,mDAAqC;yCAH1C,aAAa;2CAAb,aAAa;CAIzB"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export interface DropdownMenuItem {
|
|
4
|
+
id: string;
|
|
5
|
+
label: string;
|
|
6
|
+
icon?: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
separator?: boolean;
|
|
9
|
+
color?: 'default' | 'error';
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* DropdownMenu Organism — Source: Nuxt UI v3 ❖ DropdownMenu
|
|
13
|
+
* Contextual action menu triggered by a slot
|
|
14
|
+
*/
|
|
15
|
+
export declare class DropdownMenuComponent {
|
|
16
|
+
private el;
|
|
17
|
+
readonly items: import("@angular/core").InputSignal<DropdownMenuItem[]>;
|
|
18
|
+
readonly align: import("@angular/core").InputSignal<"left" | "right">;
|
|
19
|
+
readonly open: import("@angular/core").ModelSignal<boolean>;
|
|
20
|
+
readonly itemClick: import("@angular/core").OutputEmitterRef<DropdownMenuItem>;
|
|
21
|
+
constructor(el: ElementRef);
|
|
22
|
+
toggle(): void;
|
|
23
|
+
select(item: DropdownMenuItem): void;
|
|
24
|
+
onDocumentClick(e: Event): void;
|
|
25
|
+
onEscape(): void;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownMenuComponent, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownMenuComponent, "ui-dropdown-menu", never, { "items": { "alias": "items"; "required": true; "isSignal": true; }; "align": { "alias": "align"; "required": false; "isSignal": true; }; "open": { "alias": "open"; "required": false; "isSignal": true; }; }, { "open": "openChange"; "itemClick": "itemClick"; }, never, ["*"], true, never>;
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=dropdown-menu.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dropdown-menu.component.d.ts","sourceRoot":"","sources":["../../../../../libs/shared-ui/src/lib/organisms/dropdown-menu/dropdown-menu.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsC,UAAU,EAAsC,MAAM,eAAe,CAAC;;AAInH,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAQ,MAAM,CAAC;IACjB,KAAK,EAAK,MAAM,CAAC;IACjB,IAAI,CAAC,EAAK,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAI,SAAS,GAAG,OAAO,CAAC;CAC/B;AAED;;;GAGG;AACH,qBAgDa,qBAAqB;IAOpB,OAAO,CAAC,EAAE;IANtB,QAAQ,CAAC,KAAK,0DAAyC;IACvD,QAAQ,CAAC,KAAK,wDAAoC;IAClD,QAAQ,CAAC,IAAI,+CAA2B;IAExC,QAAQ,CAAC,SAAS,6DAA8B;gBAE5B,EAAE,EAAE,UAAU;IAElC,MAAM;IAEN,MAAM,CAAC,IAAI,EAAE,gBAAgB;IAO7B,eAAe,CAAC,CAAC,EAAE,KAAK;IAOxB,QAAQ;yCAzBG,qBAAqB;2CAArB,qBAAqB;CA0BjC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from './accordion/accordion.component';
|
|
2
|
+
export * from './card/card.component';
|
|
3
|
+
export * from './dropdown-menu/dropdown-menu.component';
|
|
4
|
+
export * from './modal/modal.component';
|
|
5
|
+
export * from './navigation-menu/navigation-menu.component';
|
|
6
|
+
export * from './table/index';
|
|
7
|
+
export * from './sidebar/sidebar.component';
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../libs/shared-ui/src/lib/organisms/index.ts"],"names":[],"mappings":"AAKA,cAAc,iCAAiC,CAAC;AAChD,cAAc,uBAAuB,CAAC;AACtC,cAAc,yCAAyC,CAAC;AACxD,cAAc,yBAAyB,CAAC;AACxC,cAAc,6CAA6C,CAAC;AAC5D,cAAc,eAAe,CAAC;AAC9B,cAAc,6BAA6B,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export type ModalSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | 'full';
|
|
3
|
+
/**
|
|
4
|
+
* Modal Organism — Source: Nuxt UI v3 ❖ Modal
|
|
5
|
+
* Dialog overlay with backdrop, header, body, footer
|
|
6
|
+
*/
|
|
7
|
+
export declare class ModalComponent {
|
|
8
|
+
readonly open: import("@angular/core").ModelSignal<boolean>;
|
|
9
|
+
readonly title: import("@angular/core").InputSignal<string>;
|
|
10
|
+
readonly size: import("@angular/core").InputSignal<ModalSize>;
|
|
11
|
+
readonly hideHeader: import("@angular/core").InputSignal<boolean>;
|
|
12
|
+
readonly hideClose: import("@angular/core").InputSignal<boolean>;
|
|
13
|
+
readonly dismissible: import("@angular/core").InputSignal<boolean>;
|
|
14
|
+
readonly close: import("@angular/core").OutputEmitterRef<void>;
|
|
15
|
+
onOverlayClick(): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModalComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ModalComponent, "ui-modal", never, { "open": { "alias": "open"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "hideHeader": { "alias": "hideHeader"; "required": false; "isSignal": true; }; "hideClose": { "alias": "hideClose"; "required": false; "isSignal": true; }; "dismissible": { "alias": "dismissible"; "required": false; "isSignal": true; }; }, { "open": "openChange"; "close": "close"; }, never, ["*", "[slot=footer]"], true, never>;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=modal.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"modal.component.d.ts","sourceRoot":"","sources":["../../../../../libs/shared-ui/src/lib/organisms/modal/modal.component.ts"],"names":[],"mappings":";AAIA,MAAM,MAAM,SAAS,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,MAAM,CAAC;AAE1F;;;GAGG;AACH,qBA4Ca,cAAc;IACzB,QAAQ,CAAC,IAAI,+CAA+B;IAC5C,QAAQ,CAAC,KAAK,8CAAmC;IACjD,QAAQ,CAAC,IAAI,iDAAgC;IAC7C,QAAQ,CAAC,UAAU,+CAAyB;IAC5C,QAAQ,CAAC,SAAS,+CAA0B;IAC5C,QAAQ,CAAC,WAAW,+CAAwB;IAE5C,QAAQ,CAAC,KAAK,iDAAkB;IAEhC,cAAc;yCAVH,cAAc;2CAAd,cAAc;CAgB1B"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export interface NavItem {
|
|
3
|
+
id: string;
|
|
4
|
+
label: string;
|
|
5
|
+
to?: string;
|
|
6
|
+
href?: string;
|
|
7
|
+
icon?: string;
|
|
8
|
+
badge?: string | number;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
children?: NavItem[];
|
|
11
|
+
}
|
|
12
|
+
export type NavOrientation = 'horizontal' | 'vertical';
|
|
13
|
+
/**
|
|
14
|
+
* NavigationMenu Organism — Source: Nuxt UI v3 ❖ NavigationMenu
|
|
15
|
+
* Primary site navigation with active link detection
|
|
16
|
+
*/
|
|
17
|
+
export declare class NavigationMenuComponent {
|
|
18
|
+
readonly items: import("@angular/core").InputSignal<NavItem[]>;
|
|
19
|
+
readonly orientation: import("@angular/core").InputSignal<NavOrientation>;
|
|
20
|
+
readonly ariaLabel: import("@angular/core").InputSignal<string>;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NavigationMenuComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NavigationMenuComponent, "ui-navigation-menu", never, { "items": { "alias": "items"; "required": true; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=navigation-menu.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"navigation-menu.component.d.ts","sourceRoot":"","sources":["../../../../../libs/shared-ui/src/lib/organisms/navigation-menu/navigation-menu.component.ts"],"names":[],"mappings":";AAIA,MAAM,WAAW,OAAO;IACtB,EAAE,EAAQ,MAAM,CAAC;IACjB,KAAK,EAAK,MAAM,CAAC;IACjB,EAAE,CAAC,EAAO,MAAM,CAAC;IACjB,IAAI,CAAC,EAAK,MAAM,CAAC;IACjB,IAAI,CAAC,EAAK,MAAM,CAAC;IACjB,KAAK,CAAC,EAAI,MAAM,GAAG,MAAM,CAAC;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAC;CACtB;AAED,MAAM,MAAM,cAAc,GAAG,YAAY,GAAG,UAAU,CAAC;AAEvD;;;GAGG;AACH,qBA2Ca,uBAAuB;IAClC,QAAQ,CAAC,KAAK,iDAAqC;IACnD,QAAQ,CAAC,WAAW,sDAAuC;IAC3D,QAAQ,CAAC,SAAS,8CAAsC;yCAH7C,uBAAuB;2CAAvB,uBAAuB;CAInC"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export interface SidebarNavItem {
|
|
3
|
+
id: string;
|
|
4
|
+
label: string;
|
|
5
|
+
/** Built-in icon name (e.g. 'home', 'settings') or emoji / any string */
|
|
6
|
+
icon?: string;
|
|
7
|
+
href?: string;
|
|
8
|
+
external?: boolean;
|
|
9
|
+
active?: boolean;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
badge?: string | number;
|
|
12
|
+
children?: SidebarNavItem[];
|
|
13
|
+
}
|
|
14
|
+
export interface SidebarNavGroup {
|
|
15
|
+
/** Optional section heading (hidden in collapsed mode) */
|
|
16
|
+
label?: string;
|
|
17
|
+
items: SidebarNavItem[];
|
|
18
|
+
}
|
|
19
|
+
export interface SidebarUser {
|
|
20
|
+
name: string;
|
|
21
|
+
avatar?: string;
|
|
22
|
+
href?: string;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Sidebar Organism — Source: Nuxt UI v4 ❖ DashboardSidebar
|
|
26
|
+
*
|
|
27
|
+
* Sidebar de dashboard avec :
|
|
28
|
+
* - Mode expanded (254px) ↔ collapsed (64px) avec animation CSS
|
|
29
|
+
* - Header : logo ou slot personnalisé
|
|
30
|
+
* - Navigation : groupes d'items avec icônes, badges, sous-menus, liens externes
|
|
31
|
+
* - Search button avec shortcut clavier (⌘ K)
|
|
32
|
+
* - Footer : utilisateur courant (avatar + nom)
|
|
33
|
+
* - Compatible dark mode via `[data-theme="dark"]`
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* <ui-sidebar [navGroups]="groups" [user]="currentUser" />
|
|
37
|
+
* <ui-sidebar [(collapsed)]="sidebarCollapsed" [navGroups]="groups" />
|
|
38
|
+
*/
|
|
39
|
+
export declare class SidebarComponent {
|
|
40
|
+
private router;
|
|
41
|
+
readonly navGroups: import("@angular/core").InputSignal<SidebarNavGroup[]>;
|
|
42
|
+
readonly footerGroups: import("@angular/core").InputSignal<SidebarNavGroup[]>;
|
|
43
|
+
readonly user: import("@angular/core").InputSignal<SidebarUser>;
|
|
44
|
+
readonly logoSrc: import("@angular/core").InputSignal<string>;
|
|
45
|
+
readonly logoAlt: import("@angular/core").InputSignal<string>;
|
|
46
|
+
readonly collapsible: import("@angular/core").InputSignal<boolean>;
|
|
47
|
+
readonly showSearch: import("@angular/core").InputSignal<boolean>;
|
|
48
|
+
readonly searchPlaceholder: import("@angular/core").InputSignal<string>;
|
|
49
|
+
readonly collapsed: import("@angular/core").ModelSignal<boolean>;
|
|
50
|
+
readonly searchClick: import("@angular/core").OutputEmitterRef<void>;
|
|
51
|
+
readonly itemClick: import("@angular/core").OutputEmitterRef<SidebarNavItem>;
|
|
52
|
+
readonly userClick: import("@angular/core").OutputEmitterRef<SidebarUser>;
|
|
53
|
+
private readonly currentUrl;
|
|
54
|
+
private openItems;
|
|
55
|
+
constructor();
|
|
56
|
+
protected isItemOpen(id: string): boolean;
|
|
57
|
+
/**
|
|
58
|
+
* Un item parent (button) est actif si au moins un de ses enfants
|
|
59
|
+
* correspond à l'URL courante.
|
|
60
|
+
*/
|
|
61
|
+
protected isParentActive(item: SidebarNavItem): boolean;
|
|
62
|
+
protected toggleItem(id: string): void;
|
|
63
|
+
protected toggleCollapse(): void;
|
|
64
|
+
protected navigate(item: SidebarNavItem): void;
|
|
65
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SidebarComponent, never>;
|
|
66
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SidebarComponent, "ui-sidebar", never, { "navGroups": { "alias": "navGroups"; "required": false; "isSignal": true; }; "footerGroups": { "alias": "footerGroups"; "required": false; "isSignal": true; }; "user": { "alias": "user"; "required": false; "isSignal": true; }; "logoSrc": { "alias": "logoSrc"; "required": false; "isSignal": true; }; "logoAlt": { "alias": "logoAlt"; "required": false; "isSignal": true; }; "collapsible": { "alias": "collapsible"; "required": false; "isSignal": true; }; "showSearch": { "alias": "showSearch"; "required": false; "isSignal": true; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; "isSignal": true; }; "collapsed": { "alias": "collapsed"; "required": false; "isSignal": true; }; }, { "collapsed": "collapsedChange"; "searchClick": "searchClick"; "itemClick": "itemClick"; "userClick": "userClick"; }, never, never, true, never>;
|
|
67
|
+
}
|
|
68
|
+
//# sourceMappingURL=sidebar.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sidebar.component.d.ts","sourceRoot":"","sources":["../../../../../libs/shared-ui/src/lib/organisms/sidebar/sidebar.component.ts"],"names":[],"mappings":";AA8BA,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAS,MAAM,CAAC;IAClB,KAAK,EAAM,MAAM,CAAC;IAClB,yEAAyE;IACzE,IAAI,CAAC,EAAM,MAAM,CAAC;IAClB,IAAI,CAAC,EAAM,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAI,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAK,MAAM,GAAG,MAAM,CAAC;IAC3B,QAAQ,CAAC,EAAE,cAAc,EAAE,CAAC;CAC7B;AAED,MAAM,WAAW,eAAe;IAC9B,0DAA0D;IAC1D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,EAAG,cAAc,EAAE,CAAC;CAC1B;AAED,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAK,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAI,MAAM,CAAC;CACjB;AAmBD;;;;;;;;;;;;;;GAcG;AACH,qBAmPa,gBAAgB;IAC3B,OAAO,CAAC,MAAM,CAAkB;IAGhC,QAAQ,CAAC,SAAS,yDAAmC;IACrD,QAAQ,CAAC,YAAY,yDAAgC;IACrD,QAAQ,CAAC,IAAI,mDAA2C;IACxD,QAAQ,CAAC,OAAO,8CAAmC;IACnD,QAAQ,CAAC,OAAO,8CAA8B;IAC9C,QAAQ,CAAC,WAAW,+CAAyB;IAC7C,QAAQ,CAAC,UAAU,+CAA0B;IAC7C,QAAQ,CAAC,iBAAiB,8CAA8B;IAGxD,QAAQ,CAAC,SAAS,+CAAyB;IAG3C,QAAQ,CAAC,WAAW,iDAAkB;IACtC,QAAQ,CAAC,SAAS,2DAA8B;IAChD,QAAQ,CAAC,SAAS,wDAA2B;IAG7C,OAAO,CAAC,QAAQ,CAAC,UAAU,CAOzB;IAGF,OAAO,CAAC,SAAS,CAA6B;;IAoB9C,SAAS,CAAC,UAAU,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO;IAIzC;;;OAGG;IACH,SAAS,CAAC,cAAc,CAAC,IAAI,EAAE,cAAc,GAAG,OAAO;IAOvD,SAAS,CAAC,UAAU,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI;IAQtC,SAAS,CAAC,cAAc,IAAI,IAAI;IAIhC,SAAS,CAAC,QAAQ,CAAC,IAAI,EAAE,cAAc,GAAG,IAAI;yCA/EnC,gBAAgB;2CAAhB,gBAAgB;CAwF5B"}
|