@loomui-ng/ui 0.0.0-stage → 0.1.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/LICENSE +21 -0
- package/README.md +46 -2
- package/accordion/README.md +38 -0
- package/alert/README.md +32 -0
- package/alert-dialog/README.md +37 -0
- package/aspect-ratio/README.md +24 -0
- package/attachment/README.md +40 -0
- package/avatar/README.md +34 -0
- package/badge/README.md +29 -0
- package/breadcrumb/README.md +33 -0
- package/bubble/README.md +32 -0
- package/button/README.md +31 -0
- package/button-group/README.md +30 -0
- package/calendar/README.md +35 -0
- package/card/README.md +41 -0
- package/carousel/README.md +41 -0
- package/chart/README.md +25 -0
- package/checkbox/README.md +31 -0
- package/collapsible/README.md +31 -0
- package/combobox/README.md +47 -0
- package/command/README.md +44 -0
- package/context-menu/README.md +36 -0
- package/data-table/README.md +39 -0
- package/date-picker/README.md +23 -0
- package/dialog/README.md +52 -0
- package/direction/README.md +19 -0
- package/drawer/README.md +37 -0
- package/dropdown-menu/README.md +46 -0
- package/empty/README.md +38 -0
- package/fesm2022/loomui-ng-ui-accordion.mjs +555 -0
- package/fesm2022/loomui-ng-ui-accordion.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-alert-dialog.mjs +652 -0
- package/fesm2022/loomui-ng-ui-alert-dialog.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-alert.mjs +286 -0
- package/fesm2022/loomui-ng-ui-alert.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-aspect-ratio.mjs +97 -0
- package/fesm2022/loomui-ng-ui-aspect-ratio.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-attachment.mjs +713 -0
- package/fesm2022/loomui-ng-ui-attachment.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-avatar.mjs +561 -0
- package/fesm2022/loomui-ng-ui-avatar.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-badge.mjs +102 -0
- package/fesm2022/loomui-ng-ui-badge.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-breadcrumb.mjs +520 -0
- package/fesm2022/loomui-ng-ui-breadcrumb.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-bubble.mjs +386 -0
- package/fesm2022/loomui-ng-ui-bubble.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-button-group.mjs +193 -0
- package/fesm2022/loomui-ng-ui-button-group.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-button.mjs +162 -0
- package/fesm2022/loomui-ng-ui-button.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-calendar.mjs +681 -0
- package/fesm2022/loomui-ng-ui-calendar.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-card.mjs +461 -0
- package/fesm2022/loomui-ng-ui-card.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-carousel.mjs +532 -0
- package/fesm2022/loomui-ng-ui-carousel.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-chart.mjs +373 -0
- package/fesm2022/loomui-ng-ui-chart.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-checkbox.mjs +265 -0
- package/fesm2022/loomui-ng-ui-checkbox.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-collapsible.mjs +274 -0
- package/fesm2022/loomui-ng-ui-collapsible.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-combobox.mjs +971 -0
- package/fesm2022/loomui-ng-ui-combobox.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-command.mjs +982 -0
- package/fesm2022/loomui-ng-ui-command.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-context-menu.mjs +1359 -0
- package/fesm2022/loomui-ng-ui-context-menu.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-data-table.mjs +535 -0
- package/fesm2022/loomui-ng-ui-data-table.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-date-picker.mjs +312 -0
- package/fesm2022/loomui-ng-ui-date-picker.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-dialog.mjs +508 -0
- package/fesm2022/loomui-ng-ui-dialog.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-direction.mjs +112 -0
- package/fesm2022/loomui-ng-ui-direction.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-drawer.mjs +590 -0
- package/fesm2022/loomui-ng-ui-drawer.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-dropdown-menu.mjs +1322 -0
- package/fesm2022/loomui-ng-ui-dropdown-menu.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-empty.mjs +408 -0
- package/fesm2022/loomui-ng-ui-empty.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-field.mjs +630 -0
- package/fesm2022/loomui-ng-ui-field.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-hover-card.mjs +230 -0
- package/fesm2022/loomui-ng-ui-hover-card.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-icon.mjs +498 -0
- package/fesm2022/loomui-ng-ui-icon.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-input-group.mjs +463 -0
- package/fesm2022/loomui-ng-ui-input-group.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-input-otp.mjs +586 -0
- package/fesm2022/loomui-ng-ui-input-otp.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-input.mjs +289 -0
- package/fesm2022/loomui-ng-ui-input.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-item.mjs +598 -0
- package/fesm2022/loomui-ng-ui-item.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-kbd.mjs +129 -0
- package/fesm2022/loomui-ng-ui-kbd.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-label.mjs +68 -0
- package/fesm2022/loomui-ng-ui-label.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-marker.mjs +234 -0
- package/fesm2022/loomui-ng-ui-marker.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-menubar.mjs +1523 -0
- package/fesm2022/loomui-ng-ui-menubar.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-message-scroller.mjs +519 -0
- package/fesm2022/loomui-ng-ui-message-scroller.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-message.mjs +408 -0
- package/fesm2022/loomui-ng-ui-message.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-native-select.mjs +389 -0
- package/fesm2022/loomui-ng-ui-native-select.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-navigation-menu.mjs +609 -0
- package/fesm2022/loomui-ng-ui-navigation-menu.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-pagination.mjs +611 -0
- package/fesm2022/loomui-ng-ui-pagination.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-popover.mjs +358 -0
- package/fesm2022/loomui-ng-ui-popover.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-progress.mjs +159 -0
- package/fesm2022/loomui-ng-ui-progress.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-questionnaire.mjs +1012 -0
- package/fesm2022/loomui-ng-ui-questionnaire.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-radio-group.mjs +399 -0
- package/fesm2022/loomui-ng-ui-radio-group.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-resizable.mjs +518 -0
- package/fesm2022/loomui-ng-ui-resizable.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-scroll-area.mjs +135 -0
- package/fesm2022/loomui-ng-ui-scroll-area.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-select.mjs +863 -0
- package/fesm2022/loomui-ng-ui-select.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-separator.mjs +114 -0
- package/fesm2022/loomui-ng-ui-separator.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-sheet.mjs +530 -0
- package/fesm2022/loomui-ng-ui-sheet.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-sidebar.mjs +1918 -0
- package/fesm2022/loomui-ng-ui-sidebar.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-skeleton.mjs +69 -0
- package/fesm2022/loomui-ng-ui-skeleton.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-slider.mjs +390 -0
- package/fesm2022/loomui-ng-ui-slider.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-spinner.mjs +85 -0
- package/fesm2022/loomui-ng-ui-spinner.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-switch.mjs +212 -0
- package/fesm2022/loomui-ng-ui-switch.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-table.mjs +559 -0
- package/fesm2022/loomui-ng-ui-table.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-tabs.mjs +544 -0
- package/fesm2022/loomui-ng-ui-tabs.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-textarea.mjs +206 -0
- package/fesm2022/loomui-ng-ui-textarea.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-toast.mjs +432 -0
- package/fesm2022/loomui-ng-ui-toast.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-toggle-group.mjs +477 -0
- package/fesm2022/loomui-ng-ui-toggle-group.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-toggle.mjs +219 -0
- package/fesm2022/loomui-ng-ui-toggle.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-tooltip.mjs +240 -0
- package/fesm2022/loomui-ng-ui-tooltip.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-typography.mjs +129 -0
- package/fesm2022/loomui-ng-ui-typography.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-utils.mjs +1533 -0
- package/fesm2022/loomui-ng-ui-utils.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui.mjs +4 -0
- package/fesm2022/loomui-ng-ui.mjs.map +1 -0
- package/field/README.md +43 -0
- package/hover-card/README.md +31 -0
- package/icon/README.md +42 -0
- package/input/README.md +26 -0
- package/input-group/README.md +40 -0
- package/input-otp/README.md +35 -0
- package/item/README.md +33 -0
- package/kbd/README.md +21 -0
- package/label/README.md +24 -0
- package/marker/README.md +24 -0
- package/menubar/README.md +40 -0
- package/message/README.md +32 -0
- package/message-scroller/README.md +40 -0
- package/native-select/README.md +26 -0
- package/navigation-menu/README.md +39 -0
- package/package.json +325 -3
- package/pagination/README.md +37 -0
- package/popover/README.md +37 -0
- package/progress/README.md +25 -0
- package/questionnaire/README.md +52 -0
- package/radio-group/README.md +33 -0
- package/resizable/README.md +37 -0
- package/scroll-area/README.md +25 -0
- package/select/README.md +45 -0
- package/separator/README.md +28 -0
- package/sheet/README.md +38 -0
- package/sidebar/README.md +60 -0
- package/skeleton/README.md +21 -0
- package/slider/README.md +29 -0
- package/spinner/README.md +15 -0
- package/styles/loomui.css +330 -0
- package/switch/README.md +29 -0
- package/table/README.md +31 -0
- package/tabs/README.md +42 -0
- package/textarea/README.md +28 -0
- package/toast/README.md +27 -0
- package/toggle/README.md +27 -0
- package/toggle-group/README.md +37 -0
- package/tooltip/README.md +31 -0
- package/types/loomui-ng-ui-accordion.d.ts +141 -0
- package/types/loomui-ng-ui-alert-dialog.d.ts +175 -0
- package/types/loomui-ng-ui-alert.d.ts +77 -0
- package/types/loomui-ng-ui-aspect-ratio.d.ts +31 -0
- package/types/loomui-ng-ui-attachment.d.ts +192 -0
- package/types/loomui-ng-ui-avatar.d.ts +147 -0
- package/types/loomui-ng-ui-badge.d.ts +32 -0
- package/types/loomui-ng-ui-breadcrumb.d.ts +118 -0
- package/types/loomui-ng-ui-bubble.d.ts +100 -0
- package/types/loomui-ng-ui-button-group.d.ts +51 -0
- package/types/loomui-ng-ui-button.d.ts +57 -0
- package/types/loomui-ng-ui-calendar.d.ts +171 -0
- package/types/loomui-ng-ui-card.d.ts +123 -0
- package/types/loomui-ng-ui-carousel.d.ts +140 -0
- package/types/loomui-ng-ui-chart.d.ts +95 -0
- package/types/loomui-ng-ui-checkbox.d.ts +62 -0
- package/types/loomui-ng-ui-collapsible.d.ts +74 -0
- package/types/loomui-ng-ui-combobox.d.ts +229 -0
- package/types/loomui-ng-ui-command.d.ts +231 -0
- package/types/loomui-ng-ui-context-menu.d.ts +288 -0
- package/types/loomui-ng-ui-data-table.d.ts +111 -0
- package/types/loomui-ng-ui-date-picker.d.ts +63 -0
- package/types/loomui-ng-ui-dialog.d.ts +127 -0
- package/types/loomui-ng-ui-direction.d.ts +42 -0
- package/types/loomui-ng-ui-drawer.d.ts +149 -0
- package/types/loomui-ng-ui-dropdown-menu.d.ts +258 -0
- package/types/loomui-ng-ui-empty.d.ts +109 -0
- package/types/loomui-ng-ui-field.d.ts +169 -0
- package/types/loomui-ng-ui-hover-card.d.ts +62 -0
- package/types/loomui-ng-ui-icon.d.ts +156 -0
- package/types/loomui-ng-ui-input-group.d.ts +130 -0
- package/types/loomui-ng-ui-input-otp.d.ts +149 -0
- package/types/loomui-ng-ui-input.d.ts +89 -0
- package/types/loomui-ng-ui-item.d.ts +157 -0
- package/types/loomui-ng-ui-kbd.d.ts +36 -0
- package/types/loomui-ng-ui-label.d.ts +19 -0
- package/types/loomui-ng-ui-marker.d.ts +61 -0
- package/types/loomui-ng-ui-menubar.d.ts +321 -0
- package/types/loomui-ng-ui-message-scroller.d.ts +138 -0
- package/types/loomui-ng-ui-message.d.ts +109 -0
- package/types/loomui-ng-ui-native-select.d.ts +84 -0
- package/types/loomui-ng-ui-navigation-menu.d.ts +160 -0
- package/types/loomui-ng-ui-pagination.d.ts +130 -0
- package/types/loomui-ng-ui-popover.d.ts +90 -0
- package/types/loomui-ng-ui-progress.d.ts +39 -0
- package/types/loomui-ng-ui-questionnaire.d.ts +274 -0
- package/types/loomui-ng-ui-radio-group.d.ts +109 -0
- package/types/loomui-ng-ui-resizable.d.ts +121 -0
- package/types/loomui-ng-ui-scroll-area.d.ts +44 -0
- package/types/loomui-ng-ui-select.d.ts +204 -0
- package/types/loomui-ng-ui-separator.d.ts +35 -0
- package/types/loomui-ng-ui-sheet.d.ts +124 -0
- package/types/loomui-ng-ui-sidebar.d.ts +485 -0
- package/types/loomui-ng-ui-skeleton.d.ts +20 -0
- package/types/loomui-ng-ui-slider.d.ts +103 -0
- package/types/loomui-ng-ui-spinner.d.ts +19 -0
- package/types/loomui-ng-ui-switch.d.ts +56 -0
- package/types/loomui-ng-ui-table.d.ts +148 -0
- package/types/loomui-ng-ui-tabs.d.ts +148 -0
- package/types/loomui-ng-ui-textarea.d.ts +52 -0
- package/types/loomui-ng-ui-toast.d.ts +97 -0
- package/types/loomui-ng-ui-toggle-group.d.ts +138 -0
- package/types/loomui-ng-ui-toggle.d.ts +63 -0
- package/types/loomui-ng-ui-tooltip.d.ts +63 -0
- package/types/loomui-ng-ui-typography.d.ts +42 -0
- package/types/loomui-ng-ui-utils.d.ts +392 -0
- package/types/loomui-ng-ui.d.ts +5 -0
- package/typography/README.md +29 -0
|
@@ -0,0 +1,485 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@loomui-ng/ui/utils";
|
|
3
|
+
/**
|
|
4
|
+
* Composable sidebar (shadcn structure): SidebarProvider > Sidebar (+ Inset) with Header/Content/Footer, Groups and Menus.
|
|
5
|
+
*
|
|
6
|
+
* <div uiSidebarProvider>
|
|
7
|
+
* <aside uiSidebar collapsible="icon">
|
|
8
|
+
* <div uiSidebarHeader>…</div>
|
|
9
|
+
* <div uiSidebarContent>
|
|
10
|
+
* <div uiSidebarGroup>
|
|
11
|
+
* <div uiSidebarGroupLabel>Platform</div>
|
|
12
|
+
* <ul uiSidebarMenu><li uiSidebarMenuItem><a uiSidebarMenuButton [isActive]="true">Home</a></li></ul>
|
|
13
|
+
* </div>
|
|
14
|
+
* </div>
|
|
15
|
+
* <div uiSidebarRail></div>
|
|
16
|
+
* </aside>
|
|
17
|
+
* <main uiSidebarInset><button uiSidebarTrigger></button>…</main>
|
|
18
|
+
* </div>
|
|
19
|
+
*
|
|
20
|
+
* Behavior: Ctrl/Cmd+B toggles; below 768px the sidebar renders inside the Sheet (left/right) and the trigger opens it;
|
|
21
|
+
* `collapsible`: "offcanvas" slides away, "icon" shrinks to an icon rail, "none" is static. State is exposed through
|
|
22
|
+
* data-state / data-collapsible / data-variant / data-side on the sidebar wrapper (styles key off these via group-data-*).
|
|
23
|
+
* Deviations: `side` is physical (left/right) as in shadcn, not auto-mirrored in RTL; open state is not persisted in a cookie;
|
|
24
|
+
* evidence for this component comes from the docs site's own (customised) sidebar, the rest follows shadcn's source (UNKNOWN: exact live DOM).
|
|
25
|
+
*/
|
|
26
|
+
export declare class UiSidebarProvider {
|
|
27
|
+
readonly open: import("@angular/core").ModelSignal<boolean>;
|
|
28
|
+
readonly openMobile: import("@angular/core").ModelSignal<boolean>;
|
|
29
|
+
readonly width: import("@angular/core").InputSignal<string>;
|
|
30
|
+
readonly shortcut: import("@angular/core").InputSignal<string>;
|
|
31
|
+
readonly userClass: import("@angular/core").InputSignal<string>;
|
|
32
|
+
readonly isMobile: import("@angular/core").WritableSignal<boolean>;
|
|
33
|
+
readonly state: import("@angular/core").Signal<"expanded" | "collapsed">;
|
|
34
|
+
protected readonly classes: import("@angular/core").Signal<string>;
|
|
35
|
+
constructor();
|
|
36
|
+
toggle(): void;
|
|
37
|
+
protected onKey(e: KeyboardEvent): void;
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiSidebarProvider, never>;
|
|
39
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<UiSidebarProvider, "[uiSidebarProvider], ui-sidebar-provider", ["uiSidebarProvider"], {
|
|
40
|
+
"open": {
|
|
41
|
+
"alias": "open";
|
|
42
|
+
"required": false;
|
|
43
|
+
"isSignal": true;
|
|
44
|
+
};
|
|
45
|
+
"openMobile": {
|
|
46
|
+
"alias": "openMobile";
|
|
47
|
+
"required": false;
|
|
48
|
+
"isSignal": true;
|
|
49
|
+
};
|
|
50
|
+
"width": {
|
|
51
|
+
"alias": "width";
|
|
52
|
+
"required": false;
|
|
53
|
+
"isSignal": true;
|
|
54
|
+
};
|
|
55
|
+
"shortcut": {
|
|
56
|
+
"alias": "shortcut";
|
|
57
|
+
"required": false;
|
|
58
|
+
"isSignal": true;
|
|
59
|
+
};
|
|
60
|
+
"userClass": {
|
|
61
|
+
"alias": "class";
|
|
62
|
+
"required": false;
|
|
63
|
+
"isSignal": true;
|
|
64
|
+
};
|
|
65
|
+
}, {
|
|
66
|
+
"open": "openChange";
|
|
67
|
+
"openMobile": "openMobileChange";
|
|
68
|
+
}, never, never, true, [{
|
|
69
|
+
directive: typeof i1.UiElementHost;
|
|
70
|
+
inputs: {};
|
|
71
|
+
outputs: {};
|
|
72
|
+
}]>;
|
|
73
|
+
}
|
|
74
|
+
export declare class UiSidebar {
|
|
75
|
+
protected readonly provider: UiSidebarProvider;
|
|
76
|
+
readonly side: import("@angular/core").InputSignal<"left" | "right">;
|
|
77
|
+
readonly variant: import("@angular/core").InputSignal<"sidebar" | "floating" | "inset">;
|
|
78
|
+
readonly collapsible: import("@angular/core").InputSignal<"offcanvas" | "icon" | "none">;
|
|
79
|
+
readonly userClass: import("@angular/core").InputSignal<string>;
|
|
80
|
+
protected readonly hostState: import("@angular/core").Signal<"expanded" | "collapsed">;
|
|
81
|
+
protected readonly hostCollapsible: import("@angular/core").Signal<"" | "offcanvas" | "icon" | "none">;
|
|
82
|
+
protected readonly hostClasses: import("@angular/core").Signal<string>;
|
|
83
|
+
protected readonly staticClasses: import("@angular/core").Signal<string>;
|
|
84
|
+
private readonly floating;
|
|
85
|
+
protected readonly gapClasses: import("@angular/core").Signal<string>;
|
|
86
|
+
protected readonly containerClasses: import("@angular/core").Signal<string>;
|
|
87
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiSidebar, never>;
|
|
88
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiSidebar, "[uiSidebar], ui-sidebar", ["uiSidebar"], {
|
|
89
|
+
"side": {
|
|
90
|
+
"alias": "side";
|
|
91
|
+
"required": false;
|
|
92
|
+
"isSignal": true;
|
|
93
|
+
};
|
|
94
|
+
"variant": {
|
|
95
|
+
"alias": "variant";
|
|
96
|
+
"required": false;
|
|
97
|
+
"isSignal": true;
|
|
98
|
+
};
|
|
99
|
+
"collapsible": {
|
|
100
|
+
"alias": "collapsible";
|
|
101
|
+
"required": false;
|
|
102
|
+
"isSignal": true;
|
|
103
|
+
};
|
|
104
|
+
"userClass": {
|
|
105
|
+
"alias": "class";
|
|
106
|
+
"required": false;
|
|
107
|
+
"isSignal": true;
|
|
108
|
+
};
|
|
109
|
+
}, {}, never, ["*"], true, [{
|
|
110
|
+
directive: typeof i1.UiElementHost;
|
|
111
|
+
inputs: {};
|
|
112
|
+
outputs: {};
|
|
113
|
+
}]>;
|
|
114
|
+
}
|
|
115
|
+
export declare class UiSidebarTrigger {
|
|
116
|
+
protected readonly provider: UiSidebarProvider;
|
|
117
|
+
readonly userClass: import("@angular/core").InputSignal<string>;
|
|
118
|
+
protected readonly classes: import("@angular/core").Signal<string>;
|
|
119
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiSidebarTrigger, never>;
|
|
120
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiSidebarTrigger, "button[uiSidebarTrigger], ui-sidebar-trigger", never, {
|
|
121
|
+
"userClass": {
|
|
122
|
+
"alias": "class";
|
|
123
|
+
"required": false;
|
|
124
|
+
"isSignal": true;
|
|
125
|
+
};
|
|
126
|
+
}, {}, never, never, true, [{
|
|
127
|
+
directive: typeof i1.UiElementHost;
|
|
128
|
+
inputs: {};
|
|
129
|
+
outputs: {};
|
|
130
|
+
}]>;
|
|
131
|
+
}
|
|
132
|
+
export declare class UiSidebarRail {
|
|
133
|
+
protected readonly provider: UiSidebarProvider;
|
|
134
|
+
readonly userClass: import("@angular/core").InputSignal<string>;
|
|
135
|
+
protected readonly classes: import("@angular/core").Signal<string>;
|
|
136
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiSidebarRail, never>;
|
|
137
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<UiSidebarRail, "button[uiSidebarRail], ui-sidebar-rail", never, {
|
|
138
|
+
"userClass": {
|
|
139
|
+
"alias": "class";
|
|
140
|
+
"required": false;
|
|
141
|
+
"isSignal": true;
|
|
142
|
+
};
|
|
143
|
+
}, {}, never, never, true, [{
|
|
144
|
+
directive: typeof i1.UiElementHost;
|
|
145
|
+
inputs: {};
|
|
146
|
+
outputs: {};
|
|
147
|
+
}]>;
|
|
148
|
+
}
|
|
149
|
+
export declare class UiSidebarInset {
|
|
150
|
+
readonly userClass: import("@angular/core").InputSignal<string>;
|
|
151
|
+
protected readonly classes: import("@angular/core").Signal<string>;
|
|
152
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiSidebarInset, never>;
|
|
153
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<UiSidebarInset, "[uiSidebarInset], ui-sidebar-inset", never, {
|
|
154
|
+
"userClass": {
|
|
155
|
+
"alias": "class";
|
|
156
|
+
"required": false;
|
|
157
|
+
"isSignal": true;
|
|
158
|
+
};
|
|
159
|
+
}, {}, never, never, true, [{
|
|
160
|
+
directive: typeof i1.UiElementHost;
|
|
161
|
+
inputs: {};
|
|
162
|
+
outputs: {};
|
|
163
|
+
}]>;
|
|
164
|
+
}
|
|
165
|
+
export declare class UiSidebarHeader {
|
|
166
|
+
readonly userClass: import("@angular/core").InputSignal<string>;
|
|
167
|
+
protected readonly classes: import("@angular/core").Signal<string>;
|
|
168
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiSidebarHeader, never>;
|
|
169
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<UiSidebarHeader, "[uiSidebarHeader], ui-sidebar-header", never, {
|
|
170
|
+
"userClass": {
|
|
171
|
+
"alias": "class";
|
|
172
|
+
"required": false;
|
|
173
|
+
"isSignal": true;
|
|
174
|
+
};
|
|
175
|
+
}, {}, never, never, true, [{
|
|
176
|
+
directive: typeof i1.UiElementHost;
|
|
177
|
+
inputs: {};
|
|
178
|
+
outputs: {};
|
|
179
|
+
}]>;
|
|
180
|
+
}
|
|
181
|
+
export declare class UiSidebarFooter {
|
|
182
|
+
readonly userClass: import("@angular/core").InputSignal<string>;
|
|
183
|
+
protected readonly classes: import("@angular/core").Signal<string>;
|
|
184
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiSidebarFooter, never>;
|
|
185
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<UiSidebarFooter, "[uiSidebarFooter], ui-sidebar-footer", never, {
|
|
186
|
+
"userClass": {
|
|
187
|
+
"alias": "class";
|
|
188
|
+
"required": false;
|
|
189
|
+
"isSignal": true;
|
|
190
|
+
};
|
|
191
|
+
}, {}, never, never, true, [{
|
|
192
|
+
directive: typeof i1.UiElementHost;
|
|
193
|
+
inputs: {};
|
|
194
|
+
outputs: {};
|
|
195
|
+
}]>;
|
|
196
|
+
}
|
|
197
|
+
export declare class UiSidebarContent {
|
|
198
|
+
readonly userClass: import("@angular/core").InputSignal<string>;
|
|
199
|
+
protected readonly classes: import("@angular/core").Signal<string>;
|
|
200
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiSidebarContent, never>;
|
|
201
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<UiSidebarContent, "[uiSidebarContent], ui-sidebar-content", never, {
|
|
202
|
+
"userClass": {
|
|
203
|
+
"alias": "class";
|
|
204
|
+
"required": false;
|
|
205
|
+
"isSignal": true;
|
|
206
|
+
};
|
|
207
|
+
}, {}, never, never, true, [{
|
|
208
|
+
directive: typeof i1.UiElementHost;
|
|
209
|
+
inputs: {};
|
|
210
|
+
outputs: {};
|
|
211
|
+
}]>;
|
|
212
|
+
}
|
|
213
|
+
export declare class UiSidebarSeparator {
|
|
214
|
+
readonly userClass: import("@angular/core").InputSignal<string>;
|
|
215
|
+
protected readonly classes: import("@angular/core").Signal<string>;
|
|
216
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiSidebarSeparator, never>;
|
|
217
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<UiSidebarSeparator, "[uiSidebarSeparator], ui-sidebar-separator", never, {
|
|
218
|
+
"userClass": {
|
|
219
|
+
"alias": "class";
|
|
220
|
+
"required": false;
|
|
221
|
+
"isSignal": true;
|
|
222
|
+
};
|
|
223
|
+
}, {}, never, never, true, [{
|
|
224
|
+
directive: typeof i1.UiElementHost;
|
|
225
|
+
inputs: {};
|
|
226
|
+
outputs: {};
|
|
227
|
+
}]>;
|
|
228
|
+
}
|
|
229
|
+
export declare class UiSidebarGroup {
|
|
230
|
+
readonly userClass: import("@angular/core").InputSignal<string>;
|
|
231
|
+
protected readonly classes: import("@angular/core").Signal<string>;
|
|
232
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiSidebarGroup, never>;
|
|
233
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<UiSidebarGroup, "[uiSidebarGroup], ui-sidebar-group", never, {
|
|
234
|
+
"userClass": {
|
|
235
|
+
"alias": "class";
|
|
236
|
+
"required": false;
|
|
237
|
+
"isSignal": true;
|
|
238
|
+
};
|
|
239
|
+
}, {}, never, never, true, [{
|
|
240
|
+
directive: typeof i1.UiElementHost;
|
|
241
|
+
inputs: {};
|
|
242
|
+
outputs: {};
|
|
243
|
+
}]>;
|
|
244
|
+
}
|
|
245
|
+
export declare class UiSidebarGroupLabel {
|
|
246
|
+
readonly userClass: import("@angular/core").InputSignal<string>;
|
|
247
|
+
protected readonly classes: import("@angular/core").Signal<string>;
|
|
248
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiSidebarGroupLabel, never>;
|
|
249
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<UiSidebarGroupLabel, "[uiSidebarGroupLabel], ui-sidebar-group-label", never, {
|
|
250
|
+
"userClass": {
|
|
251
|
+
"alias": "class";
|
|
252
|
+
"required": false;
|
|
253
|
+
"isSignal": true;
|
|
254
|
+
};
|
|
255
|
+
}, {}, never, never, true, [{
|
|
256
|
+
directive: typeof i1.UiElementHost;
|
|
257
|
+
inputs: {};
|
|
258
|
+
outputs: {};
|
|
259
|
+
}]>;
|
|
260
|
+
}
|
|
261
|
+
export declare class UiSidebarGroupAction {
|
|
262
|
+
/** Reflected as the `disabled` attribute so it also works on the custom element. */
|
|
263
|
+
readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
264
|
+
readonly userClass: import("@angular/core").InputSignal<string>;
|
|
265
|
+
protected readonly classes: import("@angular/core").Signal<string>;
|
|
266
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiSidebarGroupAction, never>;
|
|
267
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<UiSidebarGroupAction, "button[uiSidebarGroupAction], ui-sidebar-group-action", never, {
|
|
268
|
+
"disabled": {
|
|
269
|
+
"alias": "disabled";
|
|
270
|
+
"required": false;
|
|
271
|
+
"isSignal": true;
|
|
272
|
+
};
|
|
273
|
+
"userClass": {
|
|
274
|
+
"alias": "class";
|
|
275
|
+
"required": false;
|
|
276
|
+
"isSignal": true;
|
|
277
|
+
};
|
|
278
|
+
}, {}, never, never, true, [{
|
|
279
|
+
directive: typeof i1.UiElementHost;
|
|
280
|
+
inputs: {};
|
|
281
|
+
outputs: {};
|
|
282
|
+
}]>;
|
|
283
|
+
}
|
|
284
|
+
export declare class UiSidebarGroupContent {
|
|
285
|
+
readonly userClass: import("@angular/core").InputSignal<string>;
|
|
286
|
+
protected readonly classes: import("@angular/core").Signal<string>;
|
|
287
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiSidebarGroupContent, never>;
|
|
288
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<UiSidebarGroupContent, "[uiSidebarGroupContent], ui-sidebar-group-content", never, {
|
|
289
|
+
"userClass": {
|
|
290
|
+
"alias": "class";
|
|
291
|
+
"required": false;
|
|
292
|
+
"isSignal": true;
|
|
293
|
+
};
|
|
294
|
+
}, {}, never, never, true, [{
|
|
295
|
+
directive: typeof i1.UiElementHost;
|
|
296
|
+
inputs: {};
|
|
297
|
+
outputs: {};
|
|
298
|
+
}]>;
|
|
299
|
+
}
|
|
300
|
+
export declare class UiSidebarMenu {
|
|
301
|
+
readonly userClass: import("@angular/core").InputSignal<string>;
|
|
302
|
+
protected readonly classes: import("@angular/core").Signal<string>;
|
|
303
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiSidebarMenu, never>;
|
|
304
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<UiSidebarMenu, "ul[uiSidebarMenu], ui-sidebar-menu", never, {
|
|
305
|
+
"userClass": {
|
|
306
|
+
"alias": "class";
|
|
307
|
+
"required": false;
|
|
308
|
+
"isSignal": true;
|
|
309
|
+
};
|
|
310
|
+
}, {}, never, never, true, [{
|
|
311
|
+
directive: typeof i1.UiElementHost;
|
|
312
|
+
inputs: {};
|
|
313
|
+
outputs: {};
|
|
314
|
+
}]>;
|
|
315
|
+
}
|
|
316
|
+
export declare class UiSidebarMenuItem {
|
|
317
|
+
readonly userClass: import("@angular/core").InputSignal<string>;
|
|
318
|
+
protected readonly classes: import("@angular/core").Signal<string>;
|
|
319
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiSidebarMenuItem, never>;
|
|
320
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<UiSidebarMenuItem, "li[uiSidebarMenuItem], ui-sidebar-menu-item", never, {
|
|
321
|
+
"userClass": {
|
|
322
|
+
"alias": "class";
|
|
323
|
+
"required": false;
|
|
324
|
+
"isSignal": true;
|
|
325
|
+
};
|
|
326
|
+
}, {}, never, never, true, [{
|
|
327
|
+
directive: typeof i1.UiElementHost;
|
|
328
|
+
inputs: {};
|
|
329
|
+
outputs: {};
|
|
330
|
+
}]>;
|
|
331
|
+
}
|
|
332
|
+
export declare class UiSidebarMenuAction {
|
|
333
|
+
/** Reflected as the `disabled` attribute so it also works on the custom element. */
|
|
334
|
+
readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
335
|
+
readonly userClass: import("@angular/core").InputSignal<string>;
|
|
336
|
+
protected readonly classes: import("@angular/core").Signal<string>;
|
|
337
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiSidebarMenuAction, never>;
|
|
338
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<UiSidebarMenuAction, "button[uiSidebarMenuAction], ui-sidebar-menu-action", never, {
|
|
339
|
+
"disabled": {
|
|
340
|
+
"alias": "disabled";
|
|
341
|
+
"required": false;
|
|
342
|
+
"isSignal": true;
|
|
343
|
+
};
|
|
344
|
+
"userClass": {
|
|
345
|
+
"alias": "class";
|
|
346
|
+
"required": false;
|
|
347
|
+
"isSignal": true;
|
|
348
|
+
};
|
|
349
|
+
}, {}, never, never, true, [{
|
|
350
|
+
directive: typeof i1.UiElementHost;
|
|
351
|
+
inputs: {};
|
|
352
|
+
outputs: {};
|
|
353
|
+
}]>;
|
|
354
|
+
}
|
|
355
|
+
export declare class UiSidebarMenuBadge {
|
|
356
|
+
readonly userClass: import("@angular/core").InputSignal<string>;
|
|
357
|
+
protected readonly classes: import("@angular/core").Signal<string>;
|
|
358
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiSidebarMenuBadge, never>;
|
|
359
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<UiSidebarMenuBadge, "[uiSidebarMenuBadge], ui-sidebar-menu-badge", never, {
|
|
360
|
+
"userClass": {
|
|
361
|
+
"alias": "class";
|
|
362
|
+
"required": false;
|
|
363
|
+
"isSignal": true;
|
|
364
|
+
};
|
|
365
|
+
}, {}, never, never, true, [{
|
|
366
|
+
directive: typeof i1.UiElementHost;
|
|
367
|
+
inputs: {};
|
|
368
|
+
outputs: {};
|
|
369
|
+
}]>;
|
|
370
|
+
}
|
|
371
|
+
export declare class UiSidebarMenuSub {
|
|
372
|
+
readonly userClass: import("@angular/core").InputSignal<string>;
|
|
373
|
+
protected readonly classes: import("@angular/core").Signal<string>;
|
|
374
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiSidebarMenuSub, never>;
|
|
375
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<UiSidebarMenuSub, "ul[uiSidebarMenuSub], ui-sidebar-menu-sub", never, {
|
|
376
|
+
"userClass": {
|
|
377
|
+
"alias": "class";
|
|
378
|
+
"required": false;
|
|
379
|
+
"isSignal": true;
|
|
380
|
+
};
|
|
381
|
+
}, {}, never, never, true, [{
|
|
382
|
+
directive: typeof i1.UiElementHost;
|
|
383
|
+
inputs: {};
|
|
384
|
+
outputs: {};
|
|
385
|
+
}]>;
|
|
386
|
+
}
|
|
387
|
+
export declare class UiSidebarMenuSubItem {
|
|
388
|
+
readonly userClass: import("@angular/core").InputSignal<string>;
|
|
389
|
+
protected readonly classes: import("@angular/core").Signal<string>;
|
|
390
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiSidebarMenuSubItem, never>;
|
|
391
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<UiSidebarMenuSubItem, "li[uiSidebarMenuSubItem], ui-sidebar-menu-sub-item", never, {
|
|
392
|
+
"userClass": {
|
|
393
|
+
"alias": "class";
|
|
394
|
+
"required": false;
|
|
395
|
+
"isSignal": true;
|
|
396
|
+
};
|
|
397
|
+
}, {}, never, never, true, [{
|
|
398
|
+
directive: typeof i1.UiElementHost;
|
|
399
|
+
inputs: {};
|
|
400
|
+
outputs: {};
|
|
401
|
+
}]>;
|
|
402
|
+
}
|
|
403
|
+
export declare const sidebarMenuButtonVariants: (props?: ({
|
|
404
|
+
variant?: "default" | "outline" | null | undefined;
|
|
405
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
406
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
407
|
+
export declare class UiSidebarMenuButton {
|
|
408
|
+
/** Reflected as the `disabled` attribute so it also works on the custom element. */
|
|
409
|
+
readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
410
|
+
private readonly provider;
|
|
411
|
+
readonly isActive: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
412
|
+
readonly variant: import("@angular/core").InputSignal<"default" | "outline">;
|
|
413
|
+
readonly size: import("@angular/core").InputSignal<"default" | "sm" | "lg">;
|
|
414
|
+
/** Shown as native title while the sidebar is collapsed to icons (shadcn shows a Tooltip; deviation, see README). */
|
|
415
|
+
readonly tooltip: import("@angular/core").InputSignal<string>;
|
|
416
|
+
readonly userClass: import("@angular/core").InputSignal<string>;
|
|
417
|
+
protected readonly tooltipText: import("@angular/core").Signal<string | null>;
|
|
418
|
+
protected readonly classes: import("@angular/core").Signal<string>;
|
|
419
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiSidebarMenuButton, never>;
|
|
420
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<UiSidebarMenuButton, "button[uiSidebarMenuButton], a[uiSidebarMenuButton], ui-sidebar-menu-button", never, {
|
|
421
|
+
"disabled": {
|
|
422
|
+
"alias": "disabled";
|
|
423
|
+
"required": false;
|
|
424
|
+
"isSignal": true;
|
|
425
|
+
};
|
|
426
|
+
"isActive": {
|
|
427
|
+
"alias": "isActive";
|
|
428
|
+
"required": false;
|
|
429
|
+
"isSignal": true;
|
|
430
|
+
};
|
|
431
|
+
"variant": {
|
|
432
|
+
"alias": "variant";
|
|
433
|
+
"required": false;
|
|
434
|
+
"isSignal": true;
|
|
435
|
+
};
|
|
436
|
+
"size": {
|
|
437
|
+
"alias": "size";
|
|
438
|
+
"required": false;
|
|
439
|
+
"isSignal": true;
|
|
440
|
+
};
|
|
441
|
+
"tooltip": {
|
|
442
|
+
"alias": "tooltip";
|
|
443
|
+
"required": false;
|
|
444
|
+
"isSignal": true;
|
|
445
|
+
};
|
|
446
|
+
"userClass": {
|
|
447
|
+
"alias": "class";
|
|
448
|
+
"required": false;
|
|
449
|
+
"isSignal": true;
|
|
450
|
+
};
|
|
451
|
+
}, {}, never, never, true, [{
|
|
452
|
+
directive: typeof i1.UiElementHost;
|
|
453
|
+
inputs: {};
|
|
454
|
+
outputs: {};
|
|
455
|
+
}]>;
|
|
456
|
+
}
|
|
457
|
+
export declare class UiSidebarMenuSubButton {
|
|
458
|
+
readonly isActive: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
459
|
+
readonly size: import("@angular/core").InputSignal<"sm" | "md">;
|
|
460
|
+
readonly userClass: import("@angular/core").InputSignal<string>;
|
|
461
|
+
protected readonly classes: import("@angular/core").Signal<string>;
|
|
462
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiSidebarMenuSubButton, never>;
|
|
463
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<UiSidebarMenuSubButton, "a[uiSidebarMenuSubButton], button[uiSidebarMenuSubButton], ui-sidebar-menu-sub-button", never, {
|
|
464
|
+
"isActive": {
|
|
465
|
+
"alias": "isActive";
|
|
466
|
+
"required": false;
|
|
467
|
+
"isSignal": true;
|
|
468
|
+
};
|
|
469
|
+
"size": {
|
|
470
|
+
"alias": "size";
|
|
471
|
+
"required": false;
|
|
472
|
+
"isSignal": true;
|
|
473
|
+
};
|
|
474
|
+
"userClass": {
|
|
475
|
+
"alias": "class";
|
|
476
|
+
"required": false;
|
|
477
|
+
"isSignal": true;
|
|
478
|
+
};
|
|
479
|
+
}, {}, never, never, true, [{
|
|
480
|
+
directive: typeof i1.UiElementHost;
|
|
481
|
+
inputs: {};
|
|
482
|
+
outputs: {};
|
|
483
|
+
}]>;
|
|
484
|
+
}
|
|
485
|
+
export declare const UI_SIDEBAR: readonly [typeof UiSidebarProvider, typeof UiSidebar, typeof UiSidebarTrigger, typeof UiSidebarRail, typeof UiSidebarInset, typeof UiSidebarHeader, typeof UiSidebarFooter, typeof UiSidebarContent, typeof UiSidebarSeparator, typeof UiSidebarGroup, typeof UiSidebarGroupLabel, typeof UiSidebarGroupAction, typeof UiSidebarGroupContent, typeof UiSidebarMenu, typeof UiSidebarMenuItem, typeof UiSidebarMenuButton, typeof UiSidebarMenuAction, typeof UiSidebarMenuBadge, typeof UiSidebarMenuSub, typeof UiSidebarMenuSubItem, typeof UiSidebarMenuSubButton];
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@loomui-ng/ui/utils";
|
|
3
|
+
export declare class UiSkeleton {
|
|
4
|
+
readonly userClass: import("@angular/core").InputSignal<string>;
|
|
5
|
+
protected readonly classes: import("@angular/core").Signal<string>;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiSkeleton, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<UiSkeleton, "[uiSkeleton], ui-skeleton", never, {
|
|
8
|
+
"userClass": {
|
|
9
|
+
"alias": "class";
|
|
10
|
+
"required": false;
|
|
11
|
+
"isSignal": true;
|
|
12
|
+
};
|
|
13
|
+
}, {}, never, never, true, [{
|
|
14
|
+
directive: typeof i1.UiElementHost;
|
|
15
|
+
inputs: {};
|
|
16
|
+
outputs: {};
|
|
17
|
+
}]>;
|
|
18
|
+
}
|
|
19
|
+
export declare const UI_SKELETON_GENERATED: readonly [typeof UiSkeleton];
|
|
20
|
+
export declare const UI_SKELETON: readonly [typeof UiSkeleton];
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { Directionality } from "@angular/cdk/bidi";
|
|
2
|
+
import { ControlValueAccessor } from "@angular/forms";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@loomui-ng/ui/utils";
|
|
5
|
+
export declare const sliderClass = "relative flex touch-none items-center select-none data-disabled:opacity-50 data-vertical:h-full data-vertical:min-h-40 data-vertical:w-auto data-vertical:flex-col w-full";
|
|
6
|
+
export declare const sliderTrackClass = "relative grow overflow-hidden rounded-full bg-muted data-horizontal:h-1 data-horizontal:w-full data-vertical:h-full data-vertical:w-1";
|
|
7
|
+
export declare const sliderRangeClass = "absolute bg-primary select-none data-horizontal:h-full data-vertical:w-full";
|
|
8
|
+
export declare const sliderThumbClass = "relative block size-3 shrink-0 rounded-full border border-ring bg-white ring-ring/50 transition-[color,box-shadow] select-none after:absolute after:-inset-2 hover:ring-3 focus-visible:ring-3 focus-visible:outline-hidden active:ring-3 disabled:pointer-events-none disabled:opacity-50";
|
|
9
|
+
export declare const UI_SLIDER_GENERATED: readonly [];
|
|
10
|
+
/**
|
|
11
|
+
* <span uiSlider [(value)]="v" [min]="0" [max]="100" [step]="1"></span> v: number[] (one entry per thumb)
|
|
12
|
+
* Observed (Radix): thumbs are span[role=slider] with aria-valuemin/max/now, aria-orientation, data-orientation, tabindex=0;
|
|
13
|
+
* root carries dir, data-orientation, aria-disabled, data-disabled. Keys (Radix, not captured live): arrows ±step
|
|
14
|
+
* (mirrored in RTL), Shift/PageUp/PageDown ±10 steps, Home/End min/max.
|
|
15
|
+
* Also a ControlValueAccessor: single-thumb sliders read/write a number, multi-thumb ones an array.
|
|
16
|
+
*/
|
|
17
|
+
export declare class UiSlider implements ControlValueAccessor {
|
|
18
|
+
readonly value: import("@angular/core").ModelSignal<number[]>;
|
|
19
|
+
readonly min: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
20
|
+
readonly max: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
21
|
+
readonly step: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
22
|
+
readonly orientation: import("@angular/core").InputSignal<"horizontal" | "vertical">;
|
|
23
|
+
readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
24
|
+
readonly userClass: import("@angular/core").InputSignal<string>;
|
|
25
|
+
protected readonly dir: Directionality;
|
|
26
|
+
private readonly el;
|
|
27
|
+
private readonly cvaDisabled;
|
|
28
|
+
protected readonly isDisabled: import("@angular/core").Signal<boolean>;
|
|
29
|
+
protected readonly classes: import("@angular/core").Signal<string>;
|
|
30
|
+
protected readonly trackClass = "relative grow overflow-hidden rounded-full bg-muted data-horizontal:h-1 data-horizontal:w-full data-vertical:h-full data-vertical:w-1";
|
|
31
|
+
protected readonly rangeClass = "absolute bg-primary select-none data-horizontal:h-full data-vertical:w-full";
|
|
32
|
+
protected readonly thumbClass = "relative block size-3 shrink-0 rounded-full border border-ring bg-white ring-ring/50 transition-[color,box-shadow] select-none after:absolute after:-inset-2 hover:ring-3 focus-visible:ring-3 focus-visible:outline-hidden active:ring-3 disabled:pointer-events-none disabled:opacity-50";
|
|
33
|
+
private onChange;
|
|
34
|
+
protected onTouched: () => void;
|
|
35
|
+
private dragging;
|
|
36
|
+
private pct;
|
|
37
|
+
protected rangeStyle: import("@angular/core").Signal<{
|
|
38
|
+
'inset-inline-start': string;
|
|
39
|
+
'inset-inline-end': string;
|
|
40
|
+
bottom?: undefined;
|
|
41
|
+
top?: undefined;
|
|
42
|
+
} | {
|
|
43
|
+
bottom: string;
|
|
44
|
+
top: string;
|
|
45
|
+
'inset-inline-start'?: undefined;
|
|
46
|
+
'inset-inline-end'?: undefined;
|
|
47
|
+
}>;
|
|
48
|
+
protected thumbStyle(v: number): Record<string, string>;
|
|
49
|
+
private snap;
|
|
50
|
+
private setAt;
|
|
51
|
+
private valueFromPointer;
|
|
52
|
+
protected onPointerDown(e: PointerEvent): void;
|
|
53
|
+
protected onKeydown(e: KeyboardEvent, index: number): void;
|
|
54
|
+
writeValue(v: number | number[] | null): void;
|
|
55
|
+
registerOnChange(fn: (v: number | number[]) => void): void;
|
|
56
|
+
registerOnTouched(fn: () => void): void;
|
|
57
|
+
setDisabledState(d: boolean): void;
|
|
58
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiSlider, never>;
|
|
59
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiSlider, "span[uiSlider], ui-slider", never, {
|
|
60
|
+
"value": {
|
|
61
|
+
"alias": "value";
|
|
62
|
+
"required": false;
|
|
63
|
+
"isSignal": true;
|
|
64
|
+
};
|
|
65
|
+
"min": {
|
|
66
|
+
"alias": "min";
|
|
67
|
+
"required": false;
|
|
68
|
+
"isSignal": true;
|
|
69
|
+
};
|
|
70
|
+
"max": {
|
|
71
|
+
"alias": "max";
|
|
72
|
+
"required": false;
|
|
73
|
+
"isSignal": true;
|
|
74
|
+
};
|
|
75
|
+
"step": {
|
|
76
|
+
"alias": "step";
|
|
77
|
+
"required": false;
|
|
78
|
+
"isSignal": true;
|
|
79
|
+
};
|
|
80
|
+
"orientation": {
|
|
81
|
+
"alias": "orientation";
|
|
82
|
+
"required": false;
|
|
83
|
+
"isSignal": true;
|
|
84
|
+
};
|
|
85
|
+
"disabled": {
|
|
86
|
+
"alias": "disabled";
|
|
87
|
+
"required": false;
|
|
88
|
+
"isSignal": true;
|
|
89
|
+
};
|
|
90
|
+
"userClass": {
|
|
91
|
+
"alias": "class";
|
|
92
|
+
"required": false;
|
|
93
|
+
"isSignal": true;
|
|
94
|
+
};
|
|
95
|
+
}, {
|
|
96
|
+
"value": "valueChange";
|
|
97
|
+
}, never, never, true, [{
|
|
98
|
+
directive: typeof i1.UiElementHost;
|
|
99
|
+
inputs: {};
|
|
100
|
+
outputs: {};
|
|
101
|
+
}]>;
|
|
102
|
+
}
|
|
103
|
+
export declare const UI_SLIDER: readonly [typeof UiSlider];
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
/**
|
|
3
|
+
* <ui-spinner /> — Observed: <svg role="status" aria-label="Loading" class="lucide lucide-loader-circle size-4 animate-spin">.
|
|
4
|
+
* Deviation: the svg is rendered inside a `ui-spinner` element (display: contents) because an Angular component cannot be
|
|
5
|
+
* the svg element itself.
|
|
6
|
+
*/
|
|
7
|
+
export declare class UiSpinner {
|
|
8
|
+
readonly userClass: import("@angular/core").InputSignal<string>;
|
|
9
|
+
protected readonly classes: import("@angular/core").Signal<string>;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiSpinner, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiSpinner, "ui-spinner", never, {
|
|
12
|
+
"userClass": {
|
|
13
|
+
"alias": "class";
|
|
14
|
+
"required": false;
|
|
15
|
+
"isSignal": true;
|
|
16
|
+
};
|
|
17
|
+
}, {}, never, never, true, never>;
|
|
18
|
+
}
|
|
19
|
+
export declare const UI_SPINNER: readonly [typeof UiSpinner];
|