@raintonic/formaui 0.4.0 → 0.9.2
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/CHANGELOG.md +80 -35
- package/README.md +22 -26
- package/fesm2022/raintonic-formaui-cdk-drag-drop.mjs +39 -41
- package/fesm2022/raintonic-formaui-cdk-drag-drop.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-cdk-form-field.mjs +207 -3
- package/fesm2022/raintonic-formaui-cdk-form-field.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-cdk-overlay.mjs +19 -1
- package/fesm2022/raintonic-formaui-cdk-overlay.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-cdk-virtual-scroll.mjs +5 -12
- package/fesm2022/raintonic-formaui-cdk-virtual-scroll.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-accordion.mjs +8 -5
- package/fesm2022/raintonic-formaui-components-accordion.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-alert.mjs +16 -2
- package/fesm2022/raintonic-formaui-components-alert.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-autocomplete.mjs +255 -462
- package/fesm2022/raintonic-formaui-components-autocomplete.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-avatar.mjs +34 -59
- package/fesm2022/raintonic-formaui-components-avatar.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-badge.mjs +2 -2
- package/fesm2022/raintonic-formaui-components-badge.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-breadcrumb.mjs +4 -4
- package/fesm2022/raintonic-formaui-components-breadcrumb.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-button-group.mjs +2 -2
- package/fesm2022/raintonic-formaui-components-button-group.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-button.mjs +15 -20
- package/fesm2022/raintonic-formaui-components-button.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-card.mjs +2 -2
- package/fesm2022/raintonic-formaui-components-card.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-checkbox.mjs +2 -2
- package/fesm2022/raintonic-formaui-components-checkbox.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-chip.mjs +97 -0
- package/fesm2022/raintonic-formaui-components-chip.mjs.map +1 -0
- package/fesm2022/raintonic-formaui-components-data-table.mjs +69 -29
- package/fesm2022/raintonic-formaui-components-data-table.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-date-picker.mjs +223 -144
- package/fesm2022/raintonic-formaui-components-date-picker.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-divider.mjs +2 -2
- package/fesm2022/raintonic-formaui-components-divider.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-drawer.mjs +2 -2
- package/fesm2022/raintonic-formaui-components-drawer.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-dropdown-menu.mjs +888 -0
- package/fesm2022/raintonic-formaui-components-dropdown-menu.mjs.map +1 -0
- package/fesm2022/raintonic-formaui-components-dual-tier-navigation.mjs +774 -0
- package/fesm2022/raintonic-formaui-components-dual-tier-navigation.mjs.map +1 -0
- package/fesm2022/raintonic-formaui-components-empty-state.mjs +2 -2
- package/fesm2022/raintonic-formaui-components-empty-state.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-file-upload.mjs +2 -2
- package/fesm2022/raintonic-formaui-components-file-upload.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-form-field.mjs +81 -50
- package/fesm2022/raintonic-formaui-components-form-field.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-icon.mjs +2 -2
- package/fesm2022/raintonic-formaui-components-icon.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-input.mjs +47 -12
- package/fesm2022/raintonic-formaui-components-input.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-list.mjs +4 -4
- package/fesm2022/raintonic-formaui-components-list.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-number-input.mjs +20 -12
- package/fesm2022/raintonic-formaui-components-number-input.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-paginator.mjs +2 -2
- package/fesm2022/raintonic-formaui-components-paginator.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-password-input.mjs +35 -110
- package/fesm2022/raintonic-formaui-components-password-input.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-popover.mjs +3 -2
- package/fesm2022/raintonic-formaui-components-popover.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-progressbar.mjs +3 -2
- package/fesm2022/raintonic-formaui-components-progressbar.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-radio.mjs +5 -6
- package/fesm2022/raintonic-formaui-components-radio.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-select.mjs +257 -412
- package/fesm2022/raintonic-formaui-components-select.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-side-panel.mjs +2 -2
- package/fesm2022/raintonic-formaui-components-side-panel.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-sidebar-nav-menu.mjs +525 -0
- package/fesm2022/raintonic-formaui-components-sidebar-nav-menu.mjs.map +1 -0
- package/fesm2022/raintonic-formaui-components-skeleton.mjs +2 -2
- package/fesm2022/raintonic-formaui-components-skeleton.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-slider.mjs +2 -2
- package/fesm2022/raintonic-formaui-components-slider.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-spinner.mjs +2 -2
- package/fesm2022/raintonic-formaui-components-spinner.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-stepper.mjs +50 -45
- package/fesm2022/raintonic-formaui-components-stepper.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-strength-meter.mjs +149 -0
- package/fesm2022/raintonic-formaui-components-strength-meter.mjs.map +1 -0
- package/fesm2022/raintonic-formaui-components-tab.mjs +2 -2
- package/fesm2022/raintonic-formaui-components-tab.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-time-picker.mjs +194 -154
- package/fesm2022/raintonic-formaui-components-time-picker.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-toggle-group.mjs +302 -0
- package/fesm2022/raintonic-formaui-components-toggle-group.mjs.map +1 -0
- package/fesm2022/raintonic-formaui-components-toggle.mjs +2 -2
- package/fesm2022/raintonic-formaui-components-toggle.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-toolbar.mjs +2 -2
- package/fesm2022/raintonic-formaui-components-toolbar.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-tooltip.mjs +10 -4
- package/fesm2022/raintonic-formaui-components-tooltip.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-topbar.mjs +60 -0
- package/fesm2022/raintonic-formaui-components-topbar.mjs.map +1 -0
- package/fesm2022/raintonic-formaui-components-tree-select.mjs +59 -69
- package/fesm2022/raintonic-formaui-components-tree-select.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-tree-table.mjs +2 -2
- package/fesm2022/raintonic-formaui-components-tree-table.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-components-tree.mjs +31 -5
- package/fesm2022/raintonic-formaui-components-tree.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-core.mjs +279 -1
- package/fesm2022/raintonic-formaui-core.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-services-breakpoint.mjs +93 -0
- package/fesm2022/raintonic-formaui-services-breakpoint.mjs.map +1 -0
- package/fesm2022/raintonic-formaui-services-dialog.mjs +314 -16
- package/fesm2022/raintonic-formaui-services-dialog.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-services-notification.mjs +93 -29
- package/fesm2022/raintonic-formaui-services-notification.mjs.map +1 -1
- package/fesm2022/raintonic-formaui-services-theme.mjs +46 -196
- package/fesm2022/raintonic-formaui-services-theme.mjs.map +1 -1
- package/fesm2022/raintonic-formaui.mjs +1 -1
- package/fesm2022/raintonic-formaui.mjs.map +1 -1
- package/llms-full.txt +2329 -450
- package/llms.txt +36 -33
- package/package.json +42 -19
- package/styles/fonts/Geist-Bold.woff2 +0 -0
- package/styles/fonts/Geist-Italic.woff2 +0 -0
- package/styles/fonts/Geist-Light.woff2 +0 -0
- package/styles/fonts/Geist-Medium.woff2 +0 -0
- package/styles/fonts/Geist-Regular.woff2 +0 -0
- package/styles/fonts/Geist-SemiBold.woff2 +0 -0
- package/styles/fonts/GeistMono-Regular.woff2 +0 -0
- package/styles/generated/_tokens.scss +906 -0
- package/styles/index.scss +11 -10
- package/styles/partials/_brand.scss +46 -0
- package/styles/partials/_constants.scss +22 -20
- package/styles/partials/_fonts.scss +54 -10
- package/styles/partials/_grid.scss +29 -18
- package/styles/partials/_mixins.scss +69 -27
- package/styles/partials/_motion.scss +28 -33
- package/styles/partials/_theme.scss +28 -255
- package/styles/partials/_type.scss +117 -0
- package/styles/partials/_typography.scss +45 -45
- package/styles/partials/_utilities.scss +198 -98
- package/styles/partials/components/_button.scss +144 -75
- package/styles/partials/components/_dialog.scss +181 -180
- package/styles/partials/components/_overlay.scss +87 -87
- package/styles/partials/themes/_dark.scss +3 -268
- package/styles/partials/themes/_light.scss +4 -268
- package/styles/styles.css +7744 -0
- package/styles/styles.entry.scss +3 -0
- package/styles/utilities.css +4802 -0
- package/styles/utilities.entry.scss +3 -0
- package/types/raintonic-formaui-cdk-drag-drop.d.ts +0 -1
- package/types/raintonic-formaui-cdk-drag-drop.d.ts.map +1 -1
- package/types/raintonic-formaui-cdk-form-field.d.ts +118 -2
- package/types/raintonic-formaui-cdk-form-field.d.ts.map +1 -1
- package/types/raintonic-formaui-cdk-overlay.d.ts +2 -0
- package/types/raintonic-formaui-cdk-overlay.d.ts.map +1 -1
- package/types/raintonic-formaui-cdk-virtual-scroll.d.ts +0 -1
- package/types/raintonic-formaui-cdk-virtual-scroll.d.ts.map +1 -1
- package/types/raintonic-formaui-components-accordion.d.ts +1 -1
- package/types/raintonic-formaui-components-accordion.d.ts.map +1 -1
- package/types/raintonic-formaui-components-alert.d.ts +6 -1
- package/types/raintonic-formaui-components-alert.d.ts.map +1 -1
- package/types/raintonic-formaui-components-autocomplete.d.ts +73 -116
- package/types/raintonic-formaui-components-autocomplete.d.ts.map +1 -1
- package/types/raintonic-formaui-components-avatar.d.ts +13 -31
- package/types/raintonic-formaui-components-avatar.d.ts.map +1 -1
- package/types/raintonic-formaui-components-button.d.ts +4 -10
- package/types/raintonic-formaui-components-button.d.ts.map +1 -1
- package/types/raintonic-formaui-components-chip.d.ts +43 -0
- package/types/raintonic-formaui-components-chip.d.ts.map +1 -0
- package/types/raintonic-formaui-components-data-table.d.ts +48 -11
- package/types/raintonic-formaui-components-data-table.d.ts.map +1 -1
- package/types/raintonic-formaui-components-date-picker.d.ts +59 -23
- package/types/raintonic-formaui-components-date-picker.d.ts.map +1 -1
- package/types/raintonic-formaui-components-dropdown-menu.d.ts +394 -0
- package/types/raintonic-formaui-components-dropdown-menu.d.ts.map +1 -0
- package/types/raintonic-formaui-components-dual-tier-navigation.d.ts +87 -0
- package/types/raintonic-formaui-components-dual-tier-navigation.d.ts.map +1 -0
- package/types/raintonic-formaui-components-form-field.d.ts +51 -21
- package/types/raintonic-formaui-components-form-field.d.ts.map +1 -1
- package/types/raintonic-formaui-components-input.d.ts +20 -11
- package/types/raintonic-formaui-components-input.d.ts.map +1 -1
- package/types/raintonic-formaui-components-number-input.d.ts +5 -3
- package/types/raintonic-formaui-components-number-input.d.ts.map +1 -1
- package/types/raintonic-formaui-components-password-input.d.ts +18 -32
- package/types/raintonic-formaui-components-password-input.d.ts.map +1 -1
- package/types/raintonic-formaui-components-popover.d.ts.map +1 -1
- package/types/raintonic-formaui-components-progressbar.d.ts +1 -1
- package/types/raintonic-formaui-components-progressbar.d.ts.map +1 -1
- package/types/raintonic-formaui-components-radio.d.ts +1 -2
- package/types/raintonic-formaui-components-radio.d.ts.map +1 -1
- package/types/raintonic-formaui-components-select.d.ts +107 -76
- package/types/raintonic-formaui-components-select.d.ts.map +1 -1
- package/types/raintonic-formaui-components-sidebar-nav-menu.d.ts +223 -0
- package/types/raintonic-formaui-components-sidebar-nav-menu.d.ts.map +1 -0
- package/types/raintonic-formaui-components-stepper.d.ts +4 -2
- package/types/raintonic-formaui-components-stepper.d.ts.map +1 -1
- package/types/raintonic-formaui-components-strength-meter.d.ts +78 -0
- package/types/raintonic-formaui-components-strength-meter.d.ts.map +1 -0
- package/types/raintonic-formaui-components-time-picker.d.ts +44 -24
- package/types/raintonic-formaui-components-time-picker.d.ts.map +1 -1
- package/types/raintonic-formaui-components-toggle-group.d.ts +100 -0
- package/types/raintonic-formaui-components-toggle-group.d.ts.map +1 -0
- package/types/raintonic-formaui-components-tooltip.d.ts +2 -1
- package/types/raintonic-formaui-components-tooltip.d.ts.map +1 -1
- package/types/raintonic-formaui-components-topbar.d.ts +48 -0
- package/types/raintonic-formaui-components-topbar.d.ts.map +1 -0
- package/types/raintonic-formaui-components-tree-select.d.ts +25 -9
- package/types/raintonic-formaui-components-tree-select.d.ts.map +1 -1
- package/types/raintonic-formaui-components-tree.d.ts +12 -1
- package/types/raintonic-formaui-components-tree.d.ts.map +1 -1
- package/types/raintonic-formaui-core.d.ts +243 -5
- package/types/raintonic-formaui-core.d.ts.map +1 -1
- package/types/raintonic-formaui-services-breakpoint.d.ts +44 -0
- package/types/raintonic-formaui-services-breakpoint.d.ts.map +1 -0
- package/types/raintonic-formaui-services-dialog.d.ts +141 -2
- package/types/raintonic-formaui-services-dialog.d.ts.map +1 -1
- package/types/raintonic-formaui-services-notification.d.ts +24 -2
- package/types/raintonic-formaui-services-notification.d.ts.map +1 -1
- package/types/raintonic-formaui-services-theme.d.ts +13 -103
- package/types/raintonic-formaui-services-theme.d.ts.map +1 -1
- package/types/raintonic-formaui.d.ts +1 -1
- package/fesm2022/raintonic-formaui-components-big-menu.mjs +0 -86
- package/fesm2022/raintonic-formaui-components-big-menu.mjs.map +0 -1
- package/fesm2022/raintonic-formaui-components-menu.mjs +0 -896
- package/fesm2022/raintonic-formaui-components-menu.mjs.map +0 -1
- package/fesm2022/raintonic-formaui-components-sidebar.mjs +0 -275
- package/fesm2022/raintonic-formaui-components-sidebar.mjs.map +0 -1
- package/fesm2022/raintonic-formaui-components-tag.mjs +0 -95
- package/fesm2022/raintonic-formaui-components-tag.mjs.map +0 -1
- package/styles/_fonts-entry.scss +0 -3
- package/styles/fonts/inter-tight-latin-italic.woff2 +0 -0
- package/styles/fonts/inter-tight-latin.woff2 +0 -0
- package/types/raintonic-formaui-components-big-menu.d.ts +0 -73
- package/types/raintonic-formaui-components-big-menu.d.ts.map +0 -1
- package/types/raintonic-formaui-components-menu.d.ts +0 -403
- package/types/raintonic-formaui-components-menu.d.ts.map +0 -1
- package/types/raintonic-formaui-components-sidebar.d.ts +0 -185
- package/types/raintonic-formaui-components-sidebar.d.ts.map +0 -1
- package/types/raintonic-formaui-components-tag.d.ts +0 -43
- package/types/raintonic-formaui-components-tag.d.ts.map +0 -1
|
@@ -1,185 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { InputSignal, OutputEmitterRef, WritableSignal, Signal } from '@angular/core';
|
|
3
|
-
import { FuiIntlBase } from '@raintonic/formaui/core';
|
|
4
|
-
|
|
5
|
-
declare class FuiSidebarIntl extends FuiIntlBase {
|
|
6
|
-
rootAriaLabel: string;
|
|
7
|
-
navAriaLabel: string;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FuiSidebarIntl, never>;
|
|
9
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<FuiSidebarIntl>;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* Sidebar mode type
|
|
14
|
-
*/
|
|
15
|
-
type FuiSidebarMode = 'side' | 'over' | 'push';
|
|
16
|
-
/**
|
|
17
|
-
* Sidebar position type
|
|
18
|
-
*/
|
|
19
|
-
type FuiSidebarPosition = 'start' | 'end';
|
|
20
|
-
/**
|
|
21
|
-
* Sidebar navigation item interface
|
|
22
|
-
*/
|
|
23
|
-
interface FuiSidebarNavItem {
|
|
24
|
-
id: string;
|
|
25
|
-
label: string;
|
|
26
|
-
icon?: string;
|
|
27
|
-
route?: string;
|
|
28
|
-
active?: boolean;
|
|
29
|
-
disabled?: boolean;
|
|
30
|
-
children?: FuiSidebarNavItem[];
|
|
31
|
-
expanded?: boolean;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* # FuiSidebar Component
|
|
35
|
-
*
|
|
36
|
-
* A flexible sidebar component following Carbon Design System principles.
|
|
37
|
-
* Provides navigation with Angular Material-like APIs and responsive behavior.
|
|
38
|
-
*
|
|
39
|
-
* ## Features
|
|
40
|
-
* - Multiple modes: side, over, push
|
|
41
|
-
* - Collapsible with toggle functionality
|
|
42
|
-
* - Hierarchical navigation support
|
|
43
|
-
* - Responsive behavior
|
|
44
|
-
* - Theme integration
|
|
45
|
-
* - Accessibility support
|
|
46
|
-
* - Custom content projection
|
|
47
|
-
*
|
|
48
|
-
* ## Usage
|
|
49
|
-
*
|
|
50
|
-
* ### Basic Sidebar
|
|
51
|
-
* ```html
|
|
52
|
-
* <fui-sidebar
|
|
53
|
-
* [opened]="sidebarOpen"
|
|
54
|
-
* [mode]="'side'"
|
|
55
|
-
* [navItems]="navigationItems"
|
|
56
|
-
* (openedChange)="onSidebarToggle($event)"
|
|
57
|
-
* (navItemClick)="onNavItemClick($event)">
|
|
58
|
-
*
|
|
59
|
-
* <div header>
|
|
60
|
-
* <h3>Navigation</h3>
|
|
61
|
-
* </div>
|
|
62
|
-
*
|
|
63
|
-
* <div footer>
|
|
64
|
-
* <p>Version 1.0.0</p>
|
|
65
|
-
* </div>
|
|
66
|
-
* </fui-sidebar>
|
|
67
|
-
* ```
|
|
68
|
-
*
|
|
69
|
-
* ### Responsive Sidebar
|
|
70
|
-
* ```html
|
|
71
|
-
* <fui-sidebar
|
|
72
|
-
* [opened]="sidebarOpen"
|
|
73
|
-
* [mode]="isDesktop ? 'side' : 'over'"
|
|
74
|
-
* [backdrop]="!isDesktop"
|
|
75
|
-
* [navItems]="navigationItems">
|
|
76
|
-
* </fui-sidebar>
|
|
77
|
-
* ```
|
|
78
|
-
*
|
|
79
|
-
* @example
|
|
80
|
-
* ```typescript
|
|
81
|
-
* import { FuiSidebarComponent, FuiSidebarNavItem } from '@raintonic/formaui/components/sidebar';
|
|
82
|
-
*
|
|
83
|
-
* @Component({
|
|
84
|
-
* standalone: true,
|
|
85
|
-
* imports: [FuiSidebarComponent],
|
|
86
|
-
* template: `
|
|
87
|
-
* <fui-sidebar
|
|
88
|
-
* [opened]="sidebarOpen"
|
|
89
|
-
* [mode]="sidebarMode"
|
|
90
|
-
* [navItems]="navItems"
|
|
91
|
-
* (openedChange)="onSidebarToggle($event)"
|
|
92
|
-
* (navItemClick)="onNavItemClick($event)">
|
|
93
|
-
*
|
|
94
|
-
* <div header class="sidebar-header">
|
|
95
|
-
* <h3>Holiday ERP</h3>
|
|
96
|
-
* </div>
|
|
97
|
-
* </fui-sidebar>
|
|
98
|
-
* `
|
|
99
|
-
* })
|
|
100
|
-
* export class AppLayoutComponent {
|
|
101
|
-
* sidebarOpen = true;
|
|
102
|
-
* sidebarMode: FuiSidebarMode = 'side';
|
|
103
|
-
*
|
|
104
|
-
* navItems: FuiSidebarNavItem[] = [
|
|
105
|
-
* { id: 'dashboard', label: 'Dashboard', icon: 'house', route: '/dashboard' },
|
|
106
|
-
* {
|
|
107
|
-
* id: 'sales',
|
|
108
|
-
* label: 'Sales',
|
|
109
|
-
* icon: 'shopping-cart',
|
|
110
|
-
* children: [
|
|
111
|
-
* { id: 'orders', label: 'Orders', route: '/sales/orders' },
|
|
112
|
-
* { id: 'invoices', label: 'Invoices', route: '/sales/invoices' },
|
|
113
|
-
* ]
|
|
114
|
-
* },
|
|
115
|
-
* { id: 'products', label: 'Products', icon: 'package', route: '/products' },
|
|
116
|
-
* ];
|
|
117
|
-
*
|
|
118
|
-
* onSidebarToggle(opened: boolean): void {
|
|
119
|
-
* this.sidebarOpen = opened;
|
|
120
|
-
* }
|
|
121
|
-
*
|
|
122
|
-
* onNavItemClick(item: FuiSidebarNavItem): void {
|
|
123
|
-
* console.log('Navigation item clicked:', item.id);
|
|
124
|
-
* }
|
|
125
|
-
* }
|
|
126
|
-
* ```
|
|
127
|
-
*/
|
|
128
|
-
declare class FuiSidebarComponent {
|
|
129
|
-
readonly intl: FuiSidebarIntl;
|
|
130
|
-
private readonly _cdr;
|
|
131
|
-
constructor();
|
|
132
|
-
readonly opened: InputSignal<boolean>;
|
|
133
|
-
readonly mode: InputSignal<FuiSidebarMode>;
|
|
134
|
-
readonly position: InputSignal<FuiSidebarPosition>;
|
|
135
|
-
readonly backdrop: InputSignal<boolean>;
|
|
136
|
-
readonly width: InputSignal<string>;
|
|
137
|
-
readonly navItems: InputSignal<FuiSidebarNavItem[]>;
|
|
138
|
-
readonly collapsible: InputSignal<boolean>;
|
|
139
|
-
readonly openedChange: OutputEmitterRef<boolean>;
|
|
140
|
-
readonly navItemClick: OutputEmitterRef<FuiSidebarNavItem>;
|
|
141
|
-
readonly backdropClick: OutputEmitterRef<void>;
|
|
142
|
-
readonly expandedItems: WritableSignal<Set<string>>;
|
|
143
|
-
readonly sidebarClasses: Signal<string>;
|
|
144
|
-
readonly backdropClasses: Signal<string>;
|
|
145
|
-
readonly sidebarStyles: Signal<Record<string, string>>;
|
|
146
|
-
/**
|
|
147
|
-
* Toggle sidebar open/closed state
|
|
148
|
-
*/
|
|
149
|
-
toggle(): void;
|
|
150
|
-
/**
|
|
151
|
-
* Open the sidebar
|
|
152
|
-
*/
|
|
153
|
-
open(): void;
|
|
154
|
-
/**
|
|
155
|
-
* Close the sidebar
|
|
156
|
-
*/
|
|
157
|
-
close(): void;
|
|
158
|
-
/**
|
|
159
|
-
* Handle navigation item click
|
|
160
|
-
*/
|
|
161
|
-
onNavItemClick(item: FuiSidebarNavItem): void;
|
|
162
|
-
/**
|
|
163
|
-
* Toggle expansion state of a navigation item
|
|
164
|
-
*/
|
|
165
|
-
toggleItemExpansion(itemId: string): void;
|
|
166
|
-
/**
|
|
167
|
-
* Check if item is expanded
|
|
168
|
-
*/
|
|
169
|
-
isItemExpanded(itemId: string): boolean;
|
|
170
|
-
/**
|
|
171
|
-
* Handle backdrop click
|
|
172
|
-
*/
|
|
173
|
-
onBackdropClick(): void;
|
|
174
|
-
/**
|
|
175
|
-
* Get navigation item classes
|
|
176
|
-
*/
|
|
177
|
-
getNavItemClasses(item: FuiSidebarNavItem, level?: number): string;
|
|
178
|
-
onEsc(): void;
|
|
179
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FuiSidebarComponent, never>;
|
|
180
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FuiSidebarComponent, "fui-sidebar", never, { "opened": { "alias": "opened"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "backdrop": { "alias": "backdrop"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "navItems": { "alias": "navItems"; "required": false; "isSignal": true; }; "collapsible": { "alias": "collapsible"; "required": false; "isSignal": true; }; }, { "openedChange": "openedChange"; "navItemClick": "navItemClick"; "backdropClick": "backdropClick"; }, never, ["[header]", "*", "[footer]"], true, never>;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
export { FuiSidebarComponent, FuiSidebarIntl };
|
|
184
|
-
export type { FuiSidebarMode, FuiSidebarNavItem, FuiSidebarPosition };
|
|
185
|
-
//# sourceMappingURL=raintonic-formaui-components-sidebar.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"raintonic-formaui-components-sidebar.d.ts","sources":["../../../lib/components/sidebar/sidebar.intl.ts","../../../lib/components/sidebar/sidebar.component.ts"],"mappings":";;;;AAGA,cACa,cAAe,SAAQ,WAAW;AAC7C;AACA;yCAFW,cAAc;6CAAd,cAAc;AAG1B;;ACcD;;AAEG;AACG,KAAM,cAAc;AAE1B;;AAEG;KACS,kBAAkB;AAE9B;;AAEG;UACc,iBAAiB;;;;;;;AAOhC,eAAW,iBAAiB;;AAE7B;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8FG;AACH,cAkBa,mBAAmB;mBACjB,cAAA;AACb;;AAOA,qBAAiB,WAAW;AAC5B,mBAAe,WAAW,CAAC,cAAc;AACzC,uBAAmB,WAAW,CAAC,kBAAkB;AACjD,uBAAmB,WAAW;AAC9B,oBAAgB,WAAW;uBACR,WAAW,CAAC,iBAAiB;AAChD,0BAAsB,WAAW;AAGjC,2BAAuB,gBAAgB;AACvC,2BAAuB,gBAAgB,CAAC,iBAAiB;AACzD,4BAAwB,gBAAgB;4BAGhB,cAAc,CAAC,GAAG;AAG1C,6BAAyB,MAAM;AAa/B,8BAA0B,MAAM;AAUhC,4BAAwB,MAAM,CAAC,MAAM;AAMrC;;AAEG;AACH;AAKA;;AAEG;AACH;AAMA;;AAEG;AACH;AAMA;;AAEG;AACH,yBAAqB,iBAAiB;AAkBtC;;AAEG;AACH;AAaA;;AAEG;AACH;AAIA;;AAEG;AACH;AAKA;;AAEG;4BACqB,iBAAiB;AA2BzC;yCAnKW,mBAAmB;2CAAnB,mBAAmB;AAwK/B;;;;","names":[]}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { FuiIntlBase } from '@raintonic/formaui/core';
|
|
3
|
-
|
|
4
|
-
type FuiTagVariant = 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'info';
|
|
5
|
-
type FuiTagSize = 'sm' | 'md';
|
|
6
|
-
declare const FUI_TAG_VARIANTS: readonly FuiTagVariant[];
|
|
7
|
-
declare const FUI_TAG_SIZES: readonly FuiTagSize[];
|
|
8
|
-
interface FuiTagRemoveEvent {
|
|
9
|
-
tag: unknown;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
declare class FuiTagIntl extends FuiIntlBase {
|
|
13
|
-
removeAriaLabel(label: string): string;
|
|
14
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FuiTagIntl, never>;
|
|
15
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<FuiTagIntl>;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
declare class FuiTagComponent {
|
|
19
|
-
readonly intl: FuiTagIntl;
|
|
20
|
-
private readonly _cdr;
|
|
21
|
-
readonly label: _angular_core.InputSignal<string>;
|
|
22
|
-
readonly variant: _angular_core.InputSignalWithTransform<FuiTagVariant, string>;
|
|
23
|
-
readonly size: _angular_core.InputSignal<FuiTagSize>;
|
|
24
|
-
readonly icon: _angular_core.InputSignal<string | null>;
|
|
25
|
-
readonly removable: _angular_core.InputSignal<boolean>;
|
|
26
|
-
readonly selectable: _angular_core.InputSignal<boolean>;
|
|
27
|
-
readonly selected: _angular_core.InputSignal<boolean>;
|
|
28
|
-
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
29
|
-
readonly removed: _angular_core.OutputEmitterRef<FuiTagRemoveEvent>;
|
|
30
|
-
readonly selectedChange: _angular_core.OutputEmitterRef<boolean>;
|
|
31
|
-
readonly _selected: _angular_core.WritableSignal<boolean>;
|
|
32
|
-
readonly computedClasses: _angular_core.Signal<string>;
|
|
33
|
-
constructor();
|
|
34
|
-
onClick(): void;
|
|
35
|
-
onSpace(event: Event): void;
|
|
36
|
-
onRemove(event: Event): void;
|
|
37
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FuiTagComponent, never>;
|
|
38
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FuiTagComponent, "fui-tag", never, { "label": { "alias": "label"; "required": true; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "removable": { "alias": "removable"; "required": false; "isSignal": true; }; "selectable": { "alias": "selectable"; "required": false; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "removed": "removed"; "selectedChange": "selectedChange"; }, never, never, true, never>;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
export { FUI_TAG_SIZES, FUI_TAG_VARIANTS, FuiTagComponent, FuiTagIntl };
|
|
42
|
-
export type { FuiTagRemoveEvent, FuiTagSize, FuiTagVariant };
|
|
43
|
-
//# sourceMappingURL=raintonic-formaui-components-tag.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"raintonic-formaui-components-tag.d.ts","sources":["../../../lib/components/tag/tag.types.ts","../../../lib/components/tag/tag.intl.ts","../../../lib/components/tag/tag.component.ts"],"mappings":";;;AAAM,KAAM,aAAa;KACb,UAAU;AAEtB,cAAa,gBAAgB,WAAW,aAAa;AAQrD,cAAa,aAAa,WAAW,UAAU;UAE9B,iBAAiB;;AAEjC;;ACZD,cACa,UAAW,SAAQ,WAAW;AACzC;oDADW,UAAU;wDAAV,UAAU;AAItB;;ACUD,cAsBa,eAAe;mBACb,UAAA;AACb;oBAEc,aAAA,CAAA,WAAA;sBACE,aAAA,CAAA,wBAAA,CAAA,aAAA;mBAGH,aAAA,CAAA,WAAA,CAAA,UAAA;mBACA,aAAA,CAAA,WAAA;wBACK,aAAA,CAAA,WAAA;yBACC,aAAA,CAAA,WAAA;uBACF,aAAA,CAAA,WAAA;uBACA,aAAA,CAAA,wBAAA;sBAED,aAAA,CAAA,gBAAA,CAAA,iBAAA;6BACO,aAAA,CAAA,gBAAA;wBAEL,aAAA,CAAA,cAAA;8BAEM,aAAA,CAAA,MAAA;;AAWxB;AAQA,mBAAe,KAAK;AAKpB,oBAAgB,KAAK;oDA5CV,eAAe;sDAAf,eAAe;AAkD3B;;;;","names":[]}
|