@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,74 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@loomui-ng/ui/utils";
|
|
3
|
+
export declare const collapsibleClass = "flex gap-2";
|
|
4
|
+
export declare const collapsibleContentClass = "flex flex-col gap-2";
|
|
5
|
+
export declare const UI_COLLAPSIBLE_GENERATED: readonly [];
|
|
6
|
+
/**
|
|
7
|
+
* <div uiCollapsible [(open)]="o">
|
|
8
|
+
* <button uiCollapsibleTrigger>Toggle</button>
|
|
9
|
+
* <div uiCollapsibleContent>…</div>
|
|
10
|
+
* </div>
|
|
11
|
+
*/
|
|
12
|
+
export declare class UiCollapsible {
|
|
13
|
+
readonly open: import("@angular/core").ModelSignal<boolean>;
|
|
14
|
+
readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
15
|
+
readonly userClass: import("@angular/core").InputSignal<string>;
|
|
16
|
+
readonly contentId: string;
|
|
17
|
+
protected readonly classes: import("@angular/core").Signal<string>;
|
|
18
|
+
toggle(): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiCollapsible, never>;
|
|
20
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<UiCollapsible, "[uiCollapsible], ui-collapsible", ["uiCollapsible"], {
|
|
21
|
+
"open": {
|
|
22
|
+
"alias": "open";
|
|
23
|
+
"required": false;
|
|
24
|
+
"isSignal": true;
|
|
25
|
+
};
|
|
26
|
+
"disabled": {
|
|
27
|
+
"alias": "disabled";
|
|
28
|
+
"required": false;
|
|
29
|
+
"isSignal": true;
|
|
30
|
+
};
|
|
31
|
+
"userClass": {
|
|
32
|
+
"alias": "class";
|
|
33
|
+
"required": false;
|
|
34
|
+
"isSignal": true;
|
|
35
|
+
};
|
|
36
|
+
}, {
|
|
37
|
+
"open": "openChange";
|
|
38
|
+
}, never, never, true, [{
|
|
39
|
+
directive: typeof i1.UiElementHost;
|
|
40
|
+
inputs: {};
|
|
41
|
+
outputs: {};
|
|
42
|
+
}]>;
|
|
43
|
+
}
|
|
44
|
+
export declare class UiCollapsibleTrigger {
|
|
45
|
+
protected readonly root: UiCollapsible;
|
|
46
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiCollapsibleTrigger, never>;
|
|
47
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<UiCollapsibleTrigger, "[uiCollapsibleTrigger], ui-collapsible-trigger", never, {}, {}, never, never, true, [{
|
|
48
|
+
directive: typeof i1.UiElementHost;
|
|
49
|
+
inputs: {};
|
|
50
|
+
outputs: {};
|
|
51
|
+
}]>;
|
|
52
|
+
}
|
|
53
|
+
export declare class UiCollapsibleContent {
|
|
54
|
+
protected readonly root: UiCollapsible;
|
|
55
|
+
private readonly el;
|
|
56
|
+
readonly userClass: import("@angular/core").InputSignal<string>;
|
|
57
|
+
protected readonly present: import("@angular/core").WritableSignal<boolean>;
|
|
58
|
+
protected readonly classes: import("@angular/core").Signal<string>;
|
|
59
|
+
constructor();
|
|
60
|
+
private setHeight;
|
|
61
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiCollapsibleContent, never>;
|
|
62
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<UiCollapsibleContent, "[uiCollapsibleContent], ui-collapsible-content", never, {
|
|
63
|
+
"userClass": {
|
|
64
|
+
"alias": "class";
|
|
65
|
+
"required": false;
|
|
66
|
+
"isSignal": true;
|
|
67
|
+
};
|
|
68
|
+
}, {}, never, never, true, [{
|
|
69
|
+
directive: typeof i1.UiElementHost;
|
|
70
|
+
inputs: {};
|
|
71
|
+
outputs: {};
|
|
72
|
+
}]>;
|
|
73
|
+
}
|
|
74
|
+
export declare const UI_COLLAPSIBLE: readonly [typeof UiCollapsible, typeof UiCollapsibleTrigger, typeof UiCollapsibleContent];
|
|
@@ -0,0 +1,229 @@
|
|
|
1
|
+
import { ControlValueAccessor } from "@angular/forms";
|
|
2
|
+
import * as i1 from "@loomui-ng/ui/utils";
|
|
3
|
+
import { UiLayerRoot, UiPopperContentBase } from "@loomui-ng/ui/utils";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare const comboboxTriggerClass = "group/button inline-flex shrink-0 items-center rounded-lg border bg-clip-padding text-sm whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:not-aria-[haspopup]:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 border-border bg-background hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50 h-8 gap-1.5 px-2.5 has-data-[icon=inline-end]:pe-2 has-data-[icon=inline-start]:ps-2 w-64 justify-between font-normal [&_svg:not([class*='size-'])]:size-4";
|
|
6
|
+
export declare const comboboxContentClass = "group/combobox-content relative max-h-(--available-height) w-(--anchor-width) max-w-(--available-width) min-w-[calc(var(--anchor-width)+--spacing(7))] origin-(--transform-origin) overflow-hidden rounded-lg bg-popover text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 data-[chips=true]:min-w-(--anchor-width) data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 *:data-[slot=input-group]:m-1 *:data-[slot=input-group]:mb-0 *:data-[slot=input-group]:h-8 *:data-[slot=input-group]:border-input/30 *:data-[slot=input-group]:bg-input/30 *:data-[slot=input-group]:shadow-none data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95";
|
|
7
|
+
export declare const comboboxListClass = "no-scrollbar max-h-[min(calc(--spacing(72)---spacing(9)),calc(var(--available-height)---spacing(9)))] scroll-py-1 overflow-y-auto overscroll-contain p-1 data-empty:p-0";
|
|
8
|
+
export declare const comboboxItemClass = "relative flex w-full cursor-default items-center gap-2 rounded-md py-1 pe-8 ps-1.5 text-sm outline-hidden select-none data-highlighted:bg-accent data-highlighted:text-accent-foreground not-data-[variant=destructive]:data-highlighted:**:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4";
|
|
9
|
+
export declare const comboboxEmptyClass = "hidden w-full justify-center py-2 text-center text-sm text-muted-foreground group-data-empty/combobox-content:flex";
|
|
10
|
+
export declare const comboboxChipsClass = "flex min-h-8 flex-wrap items-center gap-1 rounded-lg border border-input bg-transparent bg-clip-padding px-2.5 py-1 text-sm transition-colors focus-within:border-ring focus-within:ring-3 focus-within:ring-ring/50 has-aria-invalid:border-destructive has-aria-invalid:ring-3 has-aria-invalid:ring-destructive/20 has-data-[slot=combobox-chip]:px-1 dark:bg-input/30 dark:has-aria-invalid:border-destructive/50 dark:has-aria-invalid:ring-destructive/40 w-full max-w-xs";
|
|
11
|
+
export declare const comboboxChipClass = "flex h-[calc(--spacing(5.25))] w-fit items-center justify-center gap-1 rounded-sm bg-muted px-1.5 text-xs font-medium whitespace-nowrap text-foreground has-disabled:pointer-events-none has-disabled:cursor-not-allowed has-disabled:opacity-50 has-data-[slot=combobox-chip-remove]:pe-0";
|
|
12
|
+
export declare const comboboxChipInputClass = "min-w-16 flex-1 outline-none";
|
|
13
|
+
export declare const comboboxClearClass = "group/button shrink-0 justify-center border border-transparent bg-clip-padding font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:not-aria-[haspopup]:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:hover:bg-muted/50 has-data-[icon=inline-end]:pe-2 has-data-[icon=inline-start]:ps-2 flex items-center gap-2 text-sm shadow-none size-6 rounded-[calc(var(--radius)-3px)] p-0 has-[>svg]:p-0 has-[>ui-icon]:p-0";
|
|
14
|
+
export declare const UI_COMBOBOX_GENERATED: readonly [];
|
|
15
|
+
/**
|
|
16
|
+
* Searchable single-select (shadcn "Combobox").
|
|
17
|
+
* <div uiCombobox [(value)]="v" class="contents">
|
|
18
|
+
* <button uiComboboxTrigger><span uiComboboxValue placeholder="Select framework…"></span></button>
|
|
19
|
+
* <div uiComboboxContent>
|
|
20
|
+
* <input uiComboboxInput placeholder="Search…" />
|
|
21
|
+
* <div uiComboboxList>
|
|
22
|
+
* <div uiComboboxEmpty>No results.</div>
|
|
23
|
+
* <div uiComboboxItem value="next">Next.js</div>
|
|
24
|
+
* </div>
|
|
25
|
+
* </div>
|
|
26
|
+
* </div>
|
|
27
|
+
* Observed on the live page (Base UI based): trigger role="combobox" aria-haspopup, list role="listbox", items role="option"
|
|
28
|
+
* aria-selected, empty state role="status" aria-live="polite", content data-side/data-align. Not implemented: multi-select
|
|
29
|
+
* chips (`combobox-chips`, `combobox-chip`, clear button) — classes are generated but no behavior is attached.
|
|
30
|
+
*/
|
|
31
|
+
export declare class UiCombobox extends UiLayerRoot implements ControlValueAccessor {
|
|
32
|
+
readonly value: import("@angular/core").ModelSignal<string>;
|
|
33
|
+
readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
34
|
+
readonly listId: string;
|
|
35
|
+
readonly search: import("@angular/core").WritableSignal<string>;
|
|
36
|
+
readonly highlighted: import("@angular/core").WritableSignal<string | null>;
|
|
37
|
+
readonly items: import("@angular/core").Signal<readonly any[]>;
|
|
38
|
+
private readonly cvaDisabled;
|
|
39
|
+
readonly isDisabled: import("@angular/core").Signal<boolean>;
|
|
40
|
+
readonly selectedLabel: import("@angular/core").Signal<any>;
|
|
41
|
+
readonly visible: import("@angular/core").Signal<any[]>;
|
|
42
|
+
readonly hasResults: import("@angular/core").Signal<boolean>;
|
|
43
|
+
private onChange;
|
|
44
|
+
onTouched: () => void;
|
|
45
|
+
constructor();
|
|
46
|
+
ensureHighlight(reset?: boolean): void;
|
|
47
|
+
move(delta: 1 | -1 | 'first' | 'last'): void;
|
|
48
|
+
choose(v: string): void;
|
|
49
|
+
chooseHighlighted(): void;
|
|
50
|
+
writeValue(v: string | null): void;
|
|
51
|
+
registerOnChange(fn: (v: string) => void): void;
|
|
52
|
+
registerOnTouched(fn: () => void): void;
|
|
53
|
+
setDisabledState(d: boolean): void;
|
|
54
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiCombobox, never>;
|
|
55
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<UiCombobox, "[uiCombobox], ui-combobox", ["uiCombobox"], {
|
|
56
|
+
"value": {
|
|
57
|
+
"alias": "value";
|
|
58
|
+
"required": false;
|
|
59
|
+
"isSignal": true;
|
|
60
|
+
};
|
|
61
|
+
"disabled": {
|
|
62
|
+
"alias": "disabled";
|
|
63
|
+
"required": false;
|
|
64
|
+
"isSignal": true;
|
|
65
|
+
};
|
|
66
|
+
}, {
|
|
67
|
+
"value": "valueChange";
|
|
68
|
+
}, ["items"], never, true, [{
|
|
69
|
+
directive: typeof i1.UiElementHost;
|
|
70
|
+
inputs: {};
|
|
71
|
+
outputs: {};
|
|
72
|
+
}]>;
|
|
73
|
+
}
|
|
74
|
+
export declare class UiComboboxTrigger {
|
|
75
|
+
protected readonly root: UiCombobox;
|
|
76
|
+
readonly userClass: import("@angular/core").InputSignal<string>;
|
|
77
|
+
protected readonly classes: import("@angular/core").Signal<string>;
|
|
78
|
+
constructor();
|
|
79
|
+
protected onKeydown(e: KeyboardEvent): void;
|
|
80
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiComboboxTrigger, never>;
|
|
81
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiComboboxTrigger, "button[uiComboboxTrigger], ui-combobox-trigger", never, {
|
|
82
|
+
"userClass": {
|
|
83
|
+
"alias": "class";
|
|
84
|
+
"required": false;
|
|
85
|
+
"isSignal": true;
|
|
86
|
+
};
|
|
87
|
+
}, {}, never, ["*"], true, [{
|
|
88
|
+
directive: typeof i1.UiElementHost;
|
|
89
|
+
inputs: {};
|
|
90
|
+
outputs: {};
|
|
91
|
+
}]>;
|
|
92
|
+
}
|
|
93
|
+
export declare class UiComboboxValue {
|
|
94
|
+
protected readonly root: UiCombobox;
|
|
95
|
+
readonly placeholder: import("@angular/core").InputSignal<string>;
|
|
96
|
+
protected readonly text: import("@angular/core").Signal<any>;
|
|
97
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiComboboxValue, never>;
|
|
98
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<UiComboboxValue, "[uiComboboxValue], ui-combobox-value", never, {
|
|
99
|
+
"placeholder": {
|
|
100
|
+
"alias": "placeholder";
|
|
101
|
+
"required": false;
|
|
102
|
+
"isSignal": true;
|
|
103
|
+
};
|
|
104
|
+
}, {}, never, never, true, [{
|
|
105
|
+
directive: typeof i1.UiElementHost;
|
|
106
|
+
inputs: {};
|
|
107
|
+
outputs: {};
|
|
108
|
+
}]>;
|
|
109
|
+
}
|
|
110
|
+
export declare class UiComboboxContent extends UiPopperContentBase {
|
|
111
|
+
protected readonly root: UiCombobox;
|
|
112
|
+
protected readonly varPrefix = "--radix-combobox";
|
|
113
|
+
readonly align: import("@angular/core").InputSignal<"start" | "center" | "end">;
|
|
114
|
+
protected readonly classes: import("@angular/core").Signal<string>;
|
|
115
|
+
constructor();
|
|
116
|
+
protected onAttached(): void;
|
|
117
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiComboboxContent, never>;
|
|
118
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<UiComboboxContent, "[uiComboboxContent], ui-combobox-content", never, {
|
|
119
|
+
"align": {
|
|
120
|
+
"alias": "align";
|
|
121
|
+
"required": false;
|
|
122
|
+
"isSignal": true;
|
|
123
|
+
};
|
|
124
|
+
}, {}, never, never, true, [{
|
|
125
|
+
directive: typeof i1.UiElementHost;
|
|
126
|
+
inputs: {};
|
|
127
|
+
outputs: {};
|
|
128
|
+
}]>;
|
|
129
|
+
}
|
|
130
|
+
export declare class UiComboboxInput {
|
|
131
|
+
protected readonly root: UiCombobox;
|
|
132
|
+
protected onInput(e: Event): void;
|
|
133
|
+
protected onKeydown(e: KeyboardEvent): void;
|
|
134
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiComboboxInput, never>;
|
|
135
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<UiComboboxInput, "input[uiComboboxInput]", never, {}, {}, never, never, true, never>;
|
|
136
|
+
}
|
|
137
|
+
export declare class UiComboboxList {
|
|
138
|
+
protected readonly root: UiCombobox;
|
|
139
|
+
readonly userClass: import("@angular/core").InputSignal<string>;
|
|
140
|
+
protected readonly classes: import("@angular/core").Signal<string>;
|
|
141
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiComboboxList, never>;
|
|
142
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<UiComboboxList, "[uiComboboxList], ui-combobox-list", never, {
|
|
143
|
+
"userClass": {
|
|
144
|
+
"alias": "class";
|
|
145
|
+
"required": false;
|
|
146
|
+
"isSignal": true;
|
|
147
|
+
};
|
|
148
|
+
}, {}, never, never, true, [{
|
|
149
|
+
directive: typeof i1.UiElementHost;
|
|
150
|
+
inputs: {};
|
|
151
|
+
outputs: {};
|
|
152
|
+
}]>;
|
|
153
|
+
}
|
|
154
|
+
export declare class UiComboboxEmpty {
|
|
155
|
+
protected readonly root: UiCombobox;
|
|
156
|
+
readonly userClass: import("@angular/core").InputSignal<string>;
|
|
157
|
+
protected readonly classes: import("@angular/core").Signal<string>;
|
|
158
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiComboboxEmpty, never>;
|
|
159
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<UiComboboxEmpty, "[uiComboboxEmpty], ui-combobox-empty", never, {
|
|
160
|
+
"userClass": {
|
|
161
|
+
"alias": "class";
|
|
162
|
+
"required": false;
|
|
163
|
+
"isSignal": true;
|
|
164
|
+
};
|
|
165
|
+
}, {}, never, never, true, [{
|
|
166
|
+
directive: typeof i1.UiElementHost;
|
|
167
|
+
inputs: {};
|
|
168
|
+
outputs: {};
|
|
169
|
+
}]>;
|
|
170
|
+
}
|
|
171
|
+
export declare class UiComboboxItem {
|
|
172
|
+
private readonly root;
|
|
173
|
+
private readonly el;
|
|
174
|
+
readonly id: string;
|
|
175
|
+
readonly value: import("@angular/core").InputSignal<string>;
|
|
176
|
+
readonly disabledInput: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
177
|
+
readonly userClass: import("@angular/core").InputSignal<string>;
|
|
178
|
+
readonly label: import("@angular/core").WritableSignal<string>;
|
|
179
|
+
get disabled(): boolean;
|
|
180
|
+
protected readonly selected: import("@angular/core").Signal<boolean>;
|
|
181
|
+
protected readonly highlighted: import("@angular/core").Signal<boolean>;
|
|
182
|
+
readonly visible: import("@angular/core").Signal<boolean>;
|
|
183
|
+
protected readonly classes: import("@angular/core").Signal<string>;
|
|
184
|
+
constructor();
|
|
185
|
+
activate(): void;
|
|
186
|
+
scrollIntoView(): void;
|
|
187
|
+
protected onMove(): void;
|
|
188
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiComboboxItem, never>;
|
|
189
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiComboboxItem, "[uiComboboxItem], ui-combobox-item", never, {
|
|
190
|
+
"value": {
|
|
191
|
+
"alias": "value";
|
|
192
|
+
"required": false;
|
|
193
|
+
"isSignal": true;
|
|
194
|
+
};
|
|
195
|
+
"disabledInput": {
|
|
196
|
+
"alias": "disabled";
|
|
197
|
+
"required": false;
|
|
198
|
+
"isSignal": true;
|
|
199
|
+
};
|
|
200
|
+
"userClass": {
|
|
201
|
+
"alias": "class";
|
|
202
|
+
"required": false;
|
|
203
|
+
"isSignal": true;
|
|
204
|
+
};
|
|
205
|
+
}, {}, never, ["*"], true, [{
|
|
206
|
+
directive: typeof i1.UiElementHost;
|
|
207
|
+
inputs: {};
|
|
208
|
+
outputs: {};
|
|
209
|
+
}]>;
|
|
210
|
+
}
|
|
211
|
+
/** <ui-combobox-input placeholder="Search…" /> — custom-element form of `<input uiComboboxInput>`. */
|
|
212
|
+
export declare class UiComboboxInputElement {
|
|
213
|
+
readonly placeholder: import("@angular/core").InputSignal<string>;
|
|
214
|
+
readonly ariaLabel: import("@angular/core").InputSignal<string>;
|
|
215
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiComboboxInputElement, never>;
|
|
216
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiComboboxInputElement, "ui-combobox-input", never, {
|
|
217
|
+
"placeholder": {
|
|
218
|
+
"alias": "placeholder";
|
|
219
|
+
"required": false;
|
|
220
|
+
"isSignal": true;
|
|
221
|
+
};
|
|
222
|
+
"ariaLabel": {
|
|
223
|
+
"alias": "aria-label";
|
|
224
|
+
"required": false;
|
|
225
|
+
"isSignal": true;
|
|
226
|
+
};
|
|
227
|
+
}, {}, never, never, true, never>;
|
|
228
|
+
}
|
|
229
|
+
export declare const UI_COMBOBOX: readonly [typeof UiCombobox, typeof UiComboboxTrigger, typeof UiComboboxValue, typeof UiComboboxContent, typeof UiComboboxInput, typeof UiComboboxList, typeof UiComboboxEmpty, typeof UiComboboxItem, typeof UiComboboxInputElement];
|
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@loomui-ng/ui/utils";
|
|
3
|
+
/**
|
|
4
|
+
* cmdk-style command palette.
|
|
5
|
+
* <div uiCommand>
|
|
6
|
+
* <input uiCommandInput placeholder="Type a command or search..." />
|
|
7
|
+
* <div uiCommandList>
|
|
8
|
+
* <div uiCommandEmpty>No results found.</div>
|
|
9
|
+
* <div uiCommandGroup heading="Suggestions">
|
|
10
|
+
* <div uiCommandItem value="Calendar" (select)="…">Calendar</div>
|
|
11
|
+
* </div>
|
|
12
|
+
* </div>
|
|
13
|
+
* </div>
|
|
14
|
+
* Focus stays in the input; the highlighted item is exposed with aria-activedescendant + data-selected.
|
|
15
|
+
* Not reproduced (UNKNOWN / not implemented): cmdk's score-based re-ordering of results.
|
|
16
|
+
*/
|
|
17
|
+
export declare class UiCommand {
|
|
18
|
+
readonly userClass: import("@angular/core").InputSignal<string>;
|
|
19
|
+
readonly search: import("@angular/core").WritableSignal<string>;
|
|
20
|
+
readonly listId: string;
|
|
21
|
+
readonly items: import("@angular/core").Signal<readonly any[]>;
|
|
22
|
+
readonly selectedId: import("@angular/core").WritableSignal<string | null>;
|
|
23
|
+
protected readonly classes: import("@angular/core").Signal<string>;
|
|
24
|
+
readonly visibleItems: import("@angular/core").Signal<any[]>;
|
|
25
|
+
readonly hasResults: import("@angular/core").Signal<boolean>;
|
|
26
|
+
constructor();
|
|
27
|
+
matches(value: string, keywords: string[]): boolean;
|
|
28
|
+
ensureSelection(reset?: boolean): void;
|
|
29
|
+
move(delta: 1 | -1 | 'first' | 'last'): void;
|
|
30
|
+
activateSelected(): void;
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiCommand, never>;
|
|
32
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<UiCommand, "[uiCommand], ui-command", ["uiCommand"], {
|
|
33
|
+
"userClass": {
|
|
34
|
+
"alias": "class";
|
|
35
|
+
"required": false;
|
|
36
|
+
"isSignal": true;
|
|
37
|
+
};
|
|
38
|
+
}, {}, ["items"], never, true, [{
|
|
39
|
+
directive: typeof i1.UiElementHost;
|
|
40
|
+
inputs: {};
|
|
41
|
+
outputs: {};
|
|
42
|
+
}]>;
|
|
43
|
+
}
|
|
44
|
+
export declare class UiCommandInput {
|
|
45
|
+
protected readonly cmd: UiCommand;
|
|
46
|
+
readonly userClass: import("@angular/core").InputSignal<string>;
|
|
47
|
+
protected readonly classes: import("@angular/core").Signal<string>;
|
|
48
|
+
protected onInput(e: Event): void;
|
|
49
|
+
protected onKeydown(e: KeyboardEvent): void;
|
|
50
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiCommandInput, never>;
|
|
51
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<UiCommandInput, "input[uiCommandInput]", never, {
|
|
52
|
+
"userClass": {
|
|
53
|
+
"alias": "class";
|
|
54
|
+
"required": false;
|
|
55
|
+
"isSignal": true;
|
|
56
|
+
};
|
|
57
|
+
}, {}, never, never, true, never>;
|
|
58
|
+
}
|
|
59
|
+
/** Wrapper around the input with a search icon (icon/wrapper classes are UNKNOWN; wrapper `p-1 pb-0` observed). */
|
|
60
|
+
export declare class UiCommandInputWrapper {
|
|
61
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiCommandInputWrapper, never>;
|
|
62
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiCommandInputWrapper, "[uiCommandInputWrapper], ui-command-input-wrapper", never, {}, {}, never, ["*"], true, [{
|
|
63
|
+
directive: typeof i1.UiElementHost;
|
|
64
|
+
inputs: {};
|
|
65
|
+
outputs: {};
|
|
66
|
+
}]>;
|
|
67
|
+
}
|
|
68
|
+
export declare class UiCommandList {
|
|
69
|
+
protected readonly cmd: UiCommand;
|
|
70
|
+
readonly userClass: import("@angular/core").InputSignal<string>;
|
|
71
|
+
protected readonly classes: import("@angular/core").Signal<string>;
|
|
72
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiCommandList, never>;
|
|
73
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<UiCommandList, "[uiCommandList], ui-command-list", never, {
|
|
74
|
+
"userClass": {
|
|
75
|
+
"alias": "class";
|
|
76
|
+
"required": false;
|
|
77
|
+
"isSignal": true;
|
|
78
|
+
};
|
|
79
|
+
}, {}, never, never, true, [{
|
|
80
|
+
directive: typeof i1.UiElementHost;
|
|
81
|
+
inputs: {};
|
|
82
|
+
outputs: {};
|
|
83
|
+
}]>;
|
|
84
|
+
}
|
|
85
|
+
export declare class UiCommandEmpty {
|
|
86
|
+
protected readonly cmd: UiCommand;
|
|
87
|
+
readonly userClass: import("@angular/core").InputSignal<string>;
|
|
88
|
+
protected readonly classes: import("@angular/core").Signal<string>;
|
|
89
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiCommandEmpty, never>;
|
|
90
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<UiCommandEmpty, "[uiCommandEmpty], ui-command-empty", never, {
|
|
91
|
+
"userClass": {
|
|
92
|
+
"alias": "class";
|
|
93
|
+
"required": false;
|
|
94
|
+
"isSignal": true;
|
|
95
|
+
};
|
|
96
|
+
}, {}, never, never, true, [{
|
|
97
|
+
directive: typeof i1.UiElementHost;
|
|
98
|
+
inputs: {};
|
|
99
|
+
outputs: {};
|
|
100
|
+
}]>;
|
|
101
|
+
}
|
|
102
|
+
export declare class UiCommandGroup {
|
|
103
|
+
private readonly cmd;
|
|
104
|
+
readonly heading: import("@angular/core").InputSignal<string>;
|
|
105
|
+
readonly userClass: import("@angular/core").InputSignal<string>;
|
|
106
|
+
private readonly items;
|
|
107
|
+
protected readonly hasVisible: import("@angular/core").Signal<boolean>;
|
|
108
|
+
protected readonly classes: import("@angular/core").Signal<string>;
|
|
109
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiCommandGroup, never>;
|
|
110
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiCommandGroup, "[uiCommandGroup], ui-command-group", never, {
|
|
111
|
+
"heading": {
|
|
112
|
+
"alias": "heading";
|
|
113
|
+
"required": false;
|
|
114
|
+
"isSignal": true;
|
|
115
|
+
};
|
|
116
|
+
"userClass": {
|
|
117
|
+
"alias": "class";
|
|
118
|
+
"required": false;
|
|
119
|
+
"isSignal": true;
|
|
120
|
+
};
|
|
121
|
+
}, {}, ["items"], ["*"], true, [{
|
|
122
|
+
directive: typeof i1.UiElementHost;
|
|
123
|
+
inputs: {};
|
|
124
|
+
outputs: {};
|
|
125
|
+
}]>;
|
|
126
|
+
}
|
|
127
|
+
export declare class UiCommandSeparator {
|
|
128
|
+
protected readonly cmd: UiCommand;
|
|
129
|
+
readonly userClass: import("@angular/core").InputSignal<string>;
|
|
130
|
+
protected readonly classes: import("@angular/core").Signal<string>;
|
|
131
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiCommandSeparator, never>;
|
|
132
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<UiCommandSeparator, "[uiCommandSeparator], ui-command-separator", never, {
|
|
133
|
+
"userClass": {
|
|
134
|
+
"alias": "class";
|
|
135
|
+
"required": false;
|
|
136
|
+
"isSignal": true;
|
|
137
|
+
};
|
|
138
|
+
}, {}, never, never, true, [{
|
|
139
|
+
directive: typeof i1.UiElementHost;
|
|
140
|
+
inputs: {};
|
|
141
|
+
outputs: {};
|
|
142
|
+
}]>;
|
|
143
|
+
}
|
|
144
|
+
export declare class UiCommandItem {
|
|
145
|
+
private readonly cmd;
|
|
146
|
+
private readonly el;
|
|
147
|
+
readonly id: string;
|
|
148
|
+
readonly value: import("@angular/core").InputSignal<string>;
|
|
149
|
+
readonly keywords: import("@angular/core").InputSignal<string[]>;
|
|
150
|
+
readonly disabledInput: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
151
|
+
readonly userClass: import("@angular/core").InputSignal<string>;
|
|
152
|
+
readonly select: import("@angular/core").OutputEmitterRef<void>;
|
|
153
|
+
get disabled(): boolean;
|
|
154
|
+
protected readonly resolvedValue: import("@angular/core").Signal<string>;
|
|
155
|
+
readonly visible: import("@angular/core").Signal<boolean>;
|
|
156
|
+
protected readonly selected: import("@angular/core").Signal<boolean>;
|
|
157
|
+
protected readonly classes: import("@angular/core").Signal<string>;
|
|
158
|
+
activate(): void;
|
|
159
|
+
scrollIntoView(): void;
|
|
160
|
+
protected onPointerMove(): void;
|
|
161
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiCommandItem, never>;
|
|
162
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<UiCommandItem, "[uiCommandItem], ui-command-item", never, {
|
|
163
|
+
"value": {
|
|
164
|
+
"alias": "value";
|
|
165
|
+
"required": false;
|
|
166
|
+
"isSignal": true;
|
|
167
|
+
};
|
|
168
|
+
"keywords": {
|
|
169
|
+
"alias": "keywords";
|
|
170
|
+
"required": false;
|
|
171
|
+
"isSignal": true;
|
|
172
|
+
};
|
|
173
|
+
"disabledInput": {
|
|
174
|
+
"alias": "disabled";
|
|
175
|
+
"required": false;
|
|
176
|
+
"isSignal": true;
|
|
177
|
+
};
|
|
178
|
+
"userClass": {
|
|
179
|
+
"alias": "class";
|
|
180
|
+
"required": false;
|
|
181
|
+
"isSignal": true;
|
|
182
|
+
};
|
|
183
|
+
}, {
|
|
184
|
+
"select": "select";
|
|
185
|
+
}, never, never, true, [{
|
|
186
|
+
directive: typeof i1.UiElementHost;
|
|
187
|
+
inputs: {};
|
|
188
|
+
outputs: {};
|
|
189
|
+
}]>;
|
|
190
|
+
}
|
|
191
|
+
export declare class UiCommandShortcut {
|
|
192
|
+
readonly userClass: import("@angular/core").InputSignal<string>;
|
|
193
|
+
protected readonly classes: import("@angular/core").Signal<string>;
|
|
194
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiCommandShortcut, never>;
|
|
195
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<UiCommandShortcut, "[uiCommandShortcut], ui-command-shortcut", never, {
|
|
196
|
+
"userClass": {
|
|
197
|
+
"alias": "class";
|
|
198
|
+
"required": false;
|
|
199
|
+
"isSignal": true;
|
|
200
|
+
};
|
|
201
|
+
}, {}, never, never, true, [{
|
|
202
|
+
directive: typeof i1.UiElementHost;
|
|
203
|
+
inputs: {};
|
|
204
|
+
outputs: {};
|
|
205
|
+
}]>;
|
|
206
|
+
}
|
|
207
|
+
/** <ui-command-input placeholder="Type a command…" /> — custom-element form of `<input uiCommandInput>`. */
|
|
208
|
+
export declare class UiCommandInputElement {
|
|
209
|
+
readonly placeholder: import("@angular/core").InputSignal<string>;
|
|
210
|
+
readonly ariaLabel: import("@angular/core").InputSignal<string>;
|
|
211
|
+
readonly userClass: import("@angular/core").InputSignal<string>;
|
|
212
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiCommandInputElement, never>;
|
|
213
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiCommandInputElement, "ui-command-input", never, {
|
|
214
|
+
"placeholder": {
|
|
215
|
+
"alias": "placeholder";
|
|
216
|
+
"required": false;
|
|
217
|
+
"isSignal": true;
|
|
218
|
+
};
|
|
219
|
+
"ariaLabel": {
|
|
220
|
+
"alias": "aria-label";
|
|
221
|
+
"required": false;
|
|
222
|
+
"isSignal": true;
|
|
223
|
+
};
|
|
224
|
+
"userClass": {
|
|
225
|
+
"alias": "class";
|
|
226
|
+
"required": false;
|
|
227
|
+
"isSignal": true;
|
|
228
|
+
};
|
|
229
|
+
}, {}, never, never, true, never>;
|
|
230
|
+
}
|
|
231
|
+
export declare const UI_COMMAND: readonly [typeof UiCommand, typeof UiCommandInput, typeof UiCommandInputWrapper, typeof UiCommandList, typeof UiCommandEmpty, typeof UiCommandGroup, typeof UiCommandSeparator, typeof UiCommandItem, typeof UiCommandShortcut, typeof UiCommandInputElement];
|