@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 @@
|
|
|
1
|
+
{"version":3,"file":"loomui-ng-ui-sidebar.mjs","names":[],"sources":["../../../libs/ui/sidebar/sidebar.ts"],"sourcesContent":["import {\n booleanAttribute,\n ChangeDetectionStrategy,\n Component,\n computed,\n DestroyRef,\n Directive,\n inject,\n input,\n model,\n signal,\n TemplateRef,\n viewChild,\n} from '@angular/core';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { cva } from 'class-variance-authority';\nimport { buttonVariants } from '@loomui-ng/ui/button';\nimport { UI_SHEET } from '@loomui-ng/ui/sheet';\nimport { cn } from '@loomui-ng/ui/utils';\nimport { UiIconSvg } from '@loomui-ng/ui/icon';\nimport { UiElementHost } from '@loomui-ng/ui/utils';\n\n/**\n * Composable sidebar (shadcn structure): SidebarProvider > Sidebar (+ Inset) with Header/Content/Footer, Groups and Menus.\n *\n * <div uiSidebarProvider>\n * <aside uiSidebar collapsible=\"icon\">\n * <div uiSidebarHeader>…</div>\n * <div uiSidebarContent>\n * <div uiSidebarGroup>\n * <div uiSidebarGroupLabel>Platform</div>\n * <ul uiSidebarMenu><li uiSidebarMenuItem><a uiSidebarMenuButton [isActive]=\"true\">Home</a></li></ul>\n * </div>\n * </div>\n * <div uiSidebarRail></div>\n * </aside>\n * <main uiSidebarInset><button uiSidebarTrigger></button>…</main>\n * </div>\n *\n * Behavior: Ctrl/Cmd+B toggles; below 768px the sidebar renders inside the Sheet (left/right) and the trigger opens it;\n * `collapsible`: \"offcanvas\" slides away, \"icon\" shrinks to an icon rail, \"none\" is static. State is exposed through\n * data-state / data-collapsible / data-variant / data-side on the sidebar wrapper (styles key off these via group-data-*).\n * Deviations: `side` is physical (left/right) as in shadcn, not auto-mirrored in RTL; open state is not persisted in a cookie;\n * evidence for this component comes from the docs site's own (customised) sidebar, the rest follows shadcn's source (UNKNOWN: exact live DOM).\n */\n@Directive({\n selector: '[uiSidebarProvider], ui-sidebar-provider', hostDirectives: [UiElementHost],\n exportAs: 'uiSidebarProvider',\n host: {\n 'data-slot': 'sidebar-wrapper',\n '[style]': '{\"--sidebar-width\": width(), \"--sidebar-width-icon\": \"3rem\"}',\n '[attr.class]': 'classes()',\n '(document:keydown)': 'onKey($event)',\n },\n})\nexport class UiSidebarProvider {\n readonly open = model(true);\n readonly openMobile = model(false);\n readonly width = input('16rem');\n readonly shortcut = input('b');\n readonly userClass = input<string>('', { alias: 'class' });\n\n readonly isMobile = signal(false);\n readonly state = computed<'expanded' | 'collapsed'>(() => (this.open() ? 'expanded' : 'collapsed'));\n protected readonly classes = computed(() =>\n cn('group/sidebar-wrapper flex min-h-svh w-full has-data-[variant=inset]:bg-sidebar', this.userClass()),\n );\n\n constructor() {\n if (typeof matchMedia !== 'undefined') {\n const mq = matchMedia('(max-width: 767px)');\n const update = () => this.isMobile.set(mq.matches);\n update();\n mq.addEventListener('change', update);\n inject(DestroyRef).onDestroy(() => mq.removeEventListener('change', update));\n }\n }\n\n toggle(): void {\n if (this.isMobile()) this.openMobile.update((v) => !v);\n else this.open.update((v) => !v);\n }\n\n protected onKey(e: KeyboardEvent): void {\n if (e.key.toLowerCase() === this.shortcut() && (e.metaKey || e.ctrlKey)) {\n e.preventDefault();\n this.toggle();\n }\n }\n}\n\n@Component({\n selector: '[uiSidebar], ui-sidebar', hostDirectives: [UiElementHost],\n exportAs: 'uiSidebar',\n imports: [NgTemplateOutlet, UI_SHEET],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: { 'data-slot': 'sidebar', '[attr.class]': 'hostClasses()', '[attr.data-state]': 'hostState()', '[attr.data-collapsible]': 'hostCollapsible()', '[attr.data-variant]': 'variant()', '[attr.data-side]': 'side()' },\n template: `\n <ng-template #body><ng-content /></ng-template>\n @if (collapsible() === 'none') {\n <div data-sidebar=\"sidebar\" [class]=\"staticClasses()\">\n <ng-container [ngTemplateOutlet]=\"body\" />\n </div>\n } @else if (provider.isMobile()) {\n <div uiSheet class=\"contents\" [(open)]=\"provider.openMobile\">\n <div\n uiSheetContent\n data-sidebar=\"sidebar\"\n data-mobile=\"true\"\n [side]=\"side()\"\n [showCloseButton]=\"false\"\n class=\"w-(--sidebar-width) bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden\"\n style=\"--sidebar-width: 18rem\"\n >\n <h2 uiSheetTitle class=\"sr-only\">Sidebar</h2>\n <div class=\"flex h-full w-full flex-col\"><ng-container [ngTemplateOutlet]=\"body\" /></div>\n </div>\n </div>\n } @else {\n <div data-slot=\"sidebar-gap\" [class]=\"gapClasses()\"></div>\n <div data-slot=\"sidebar-container\" [class]=\"containerClasses()\">\n <div\n data-sidebar=\"sidebar\"\n data-slot=\"sidebar-inner\"\n class=\"flex h-full w-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-sidebar-border group-data-[variant=floating]:shadow-sm\"\n >\n <ng-container [ngTemplateOutlet]=\"body\" />\n </div>\n </div>\n }\n `,\n})\nexport class UiSidebar {\n protected readonly provider = inject(UiSidebarProvider);\n readonly side = input<'left' | 'right'>('left');\n readonly variant = input<'sidebar' | 'floating' | 'inset'>('sidebar');\n readonly collapsible = input<'offcanvas' | 'icon' | 'none'>('offcanvas');\n readonly userClass = input<string>('', { alias: 'class' });\n\n protected readonly hostState = computed(() => this.provider.state());\n protected readonly hostCollapsible = computed(() => (this.provider.state() === 'collapsed' ? this.collapsible() : ''));\n protected readonly hostClasses = computed(() =>\n this.collapsible() === 'none' || this.provider.isMobile()\n ? cn('contents', this.userClass())\n : cn('group peer hidden text-sidebar-foreground md:block', this.userClass()),\n );\n protected readonly staticClasses = computed(() =>\n cn('flex h-full w-(--sidebar-width) flex-col bg-sidebar text-sidebar-foreground', this.userClass()),\n );\n private readonly floating = computed(() => this.variant() === 'floating' || this.variant() === 'inset');\n protected readonly gapClasses = computed(() =>\n cn(\n 'relative w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear',\n 'group-data-[collapsible=offcanvas]:w-0 group-data-[side=right]:rotate-180',\n this.floating()\n ? 'group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]'\n : 'group-data-[collapsible=icon]:w-(--sidebar-width-icon)',\n ),\n );\n protected readonly containerClasses = computed(() =>\n cn(\n 'fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear md:flex',\n this.side() === 'left'\n ? 'left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]'\n : 'right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]',\n this.floating()\n ? 'p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]'\n : 'group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l',\n ),\n );\n}\n\n@Component({\n selector: 'button[uiSidebarTrigger], ui-sidebar-trigger', hostDirectives: [UiElementHost],\n imports: [UiIconSvg],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n type: 'button',\n 'data-sidebar': 'trigger',\n 'data-slot': 'sidebar-trigger',\n '[attr.class]': 'classes()',\n '(click)': 'provider.toggle()',\n },\n template: `<svg uiIcon=\"panel-left\" class=\"rtl:rotate-180\"></svg><span class=\"sr-only\">Toggle Sidebar</span>`,\n})\nexport class UiSidebarTrigger {\n protected readonly provider = inject(UiSidebarProvider);\n readonly userClass = input<string>('', { alias: 'class' });\n protected readonly classes = computed(() => cn(buttonVariants({ variant: 'ghost', size: 'icon-sm' }), 'size-7', this.userClass()));\n}\n\n@Directive({\n selector: 'button[uiSidebarRail], ui-sidebar-rail', hostDirectives: [UiElementHost],\n host: {\n type: 'button',\n 'aria-label': 'Toggle Sidebar',\n tabindex: '-1',\n title: 'Toggle Sidebar',\n 'data-sidebar': 'rail',\n 'data-slot': 'sidebar-rail',\n '[attr.class]': 'classes()',\n '(click)': 'provider.toggle()',\n },\n})\nexport class UiSidebarRail {\n protected readonly provider = inject(UiSidebarProvider);\n readonly userClass = input<string>('', { alias: 'class' });\n protected readonly classes = computed(() =>\n cn(\n 'absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear group-data-[side=left]:-right-4 group-data-[side=right]:left-0 after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] hover:after:bg-sidebar-border sm:flex',\n 'in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize',\n 'in-data-[side=left]:in-data-[state=collapsed]:cursor-e-resize in-data-[side=right]:in-data-[state=collapsed]:cursor-w-resize',\n 'group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full hover:group-data-[collapsible=offcanvas]:bg-sidebar',\n '[[data-side=left][data-collapsible=offcanvas]_&]:-right-2 [[data-side=right][data-collapsible=offcanvas]_&]:-left-2',\n this.userClass(),\n ),\n );\n}\n\n@Directive({\n selector: '[uiSidebarInset], ui-sidebar-inset', hostDirectives: [UiElementHost],\n host: { 'data-slot': 'sidebar-inset', '[attr.class]': 'classes()' },\n})\nexport class UiSidebarInset {\n readonly userClass = input<string>('', { alias: 'class' });\n protected readonly classes = computed(() =>\n cn(\n 'relative flex w-full flex-1 flex-col bg-background',\n 'md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ms-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ms-2',\n this.userClass(),\n ),\n );\n}\n\n@Directive({\n selector: '[uiSidebarHeader], ui-sidebar-header', hostDirectives: [UiElementHost],\n host: { 'data-slot': 'sidebar-header', 'data-sidebar': 'header', '[attr.class]': 'classes()' },\n})\nexport class UiSidebarHeader {\n readonly userClass = input<string>('', { alias: 'class' });\n protected readonly classes = computed(() => cn('flex flex-col gap-2 p-2', this.userClass()));\n}\n\n@Directive({\n selector: '[uiSidebarFooter], ui-sidebar-footer', hostDirectives: [UiElementHost],\n host: { 'data-slot': 'sidebar-footer', 'data-sidebar': 'footer', '[attr.class]': 'classes()' },\n})\nexport class UiSidebarFooter {\n readonly userClass = input<string>('', { alias: 'class' });\n protected readonly classes = computed(() => cn('flex flex-col gap-2 p-2', this.userClass()));\n}\n\n@Directive({\n selector: '[uiSidebarContent], ui-sidebar-content', hostDirectives: [UiElementHost],\n host: { 'data-slot': 'sidebar-content', 'data-sidebar': 'content', '[attr.class]': 'classes()' },\n})\nexport class UiSidebarContent {\n readonly userClass = input<string>('', { alias: 'class' });\n protected readonly classes = computed(() => cn('flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden', this.userClass()));\n}\n\n@Directive({\n selector: '[uiSidebarSeparator], ui-sidebar-separator', hostDirectives: [UiElementHost],\n host: { 'data-slot': 'sidebar-separator', 'data-sidebar': 'separator', role: 'separator', '[attr.class]': 'classes()' },\n})\nexport class UiSidebarSeparator {\n readonly userClass = input<string>('', { alias: 'class' });\n protected readonly classes = computed(() => cn('mx-2 block h-px w-auto shrink-0 bg-sidebar-border', this.userClass()));\n}\n\n@Directive({\n selector: '[uiSidebarGroup], ui-sidebar-group', hostDirectives: [UiElementHost],\n host: { 'data-slot': 'sidebar-group', 'data-sidebar': 'group', '[attr.class]': 'classes()' },\n})\nexport class UiSidebarGroup {\n readonly userClass = input<string>('', { alias: 'class' });\n protected readonly classes = computed(() => cn('relative flex w-full min-w-0 flex-col p-2', this.userClass()));\n}\n\n@Directive({\n selector: '[uiSidebarGroupLabel], ui-sidebar-group-label', hostDirectives: [UiElementHost],\n host: { 'data-slot': 'sidebar-group-label', 'data-sidebar': 'group-label', '[attr.class]': 'classes()' },\n})\nexport class UiSidebarGroupLabel {\n readonly userClass = input<string>('', { alias: 'class' });\n protected readonly classes = computed(() => cn('flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 ring-sidebar-ring outline-hidden transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>ui-icon]:size-4 [&>svg]:shrink-0 [&>ui-icon]:shrink-0 group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0', this.userClass()));\n}\n\n@Directive({\n selector: 'button[uiSidebarGroupAction], ui-sidebar-group-action', hostDirectives: [UiElementHost],\n host: { '[attr.disabled]': 'disabled() ? \"\" : null', 'data-slot': 'sidebar-group-action', 'data-sidebar': 'group-action', type: 'button', '[attr.class]': 'classes()' },\n})\nexport class UiSidebarGroupAction {\n /** Reflected as the `disabled` attribute so it also works on the custom element. */\n readonly disabled = input(false, { transform: booleanAttribute });\n readonly userClass = input<string>('', { alias: 'class' });\n protected readonly classes = computed(() => cn('absolute top-3.5 end-3 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground ring-sidebar-ring outline-hidden transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:size-4 [&>ui-icon]:size-4 [&>svg]:shrink-0 [&>ui-icon]:shrink-0 after:absolute after:-inset-2 md:after:hidden group-data-[collapsible=icon]:hidden', this.userClass()));\n}\n\n@Directive({\n selector: '[uiSidebarGroupContent], ui-sidebar-group-content', hostDirectives: [UiElementHost],\n host: { 'data-slot': 'sidebar-group-content', 'data-sidebar': 'group-content', '[attr.class]': 'classes()' },\n})\nexport class UiSidebarGroupContent {\n readonly userClass = input<string>('', { alias: 'class' });\n protected readonly classes = computed(() => cn('w-full text-sm', this.userClass()));\n}\n\n@Directive({\n selector: 'ul[uiSidebarMenu], ui-sidebar-menu', hostDirectives: [UiElementHost],\n host: { 'data-slot': 'sidebar-menu', 'data-sidebar': 'menu', '[attr.class]': 'classes()' },\n})\nexport class UiSidebarMenu {\n readonly userClass = input<string>('', { alias: 'class' });\n protected readonly classes = computed(() => cn('flex w-full min-w-0 flex-col gap-1 list-none m-0 p-0', this.userClass()));\n}\n\n@Directive({\n selector: 'li[uiSidebarMenuItem], ui-sidebar-menu-item', hostDirectives: [UiElementHost],\n host: { 'data-slot': 'sidebar-menu-item', 'data-sidebar': 'menu-item', '[attr.class]': 'classes()' },\n})\nexport class UiSidebarMenuItem {\n readonly userClass = input<string>('', { alias: 'class' });\n protected readonly classes = computed(() => cn('group/menu-item relative', this.userClass()));\n}\n\n@Directive({\n selector: 'button[uiSidebarMenuAction], ui-sidebar-menu-action', hostDirectives: [UiElementHost],\n host: { '[attr.disabled]': 'disabled() ? \"\" : null', 'data-slot': 'sidebar-menu-action', 'data-sidebar': 'menu-action', type: 'button', '[attr.class]': 'classes()' },\n})\nexport class UiSidebarMenuAction {\n /** Reflected as the `disabled` attribute so it also works on the custom element. */\n readonly disabled = input(false, { transform: booleanAttribute });\n readonly userClass = input<string>('', { alias: 'class' });\n protected readonly classes = computed(() => cn('absolute top-1.5 end-1 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground ring-sidebar-ring outline-hidden transition-transform peer-hover/menu-button:text-sidebar-accent-foreground hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:size-4 [&>ui-icon]:size-4 [&>svg]:shrink-0 [&>ui-icon]:shrink-0 after:absolute after:-inset-2 md:after:hidden peer-data-[size=sm]/menu-button:top-1 peer-data-[size=default]/menu-button:top-1.5 peer-data-[size=lg]/menu-button:top-2.5 group-data-[collapsible=icon]:hidden', this.userClass()));\n}\n\n@Directive({\n selector: '[uiSidebarMenuBadge], ui-sidebar-menu-badge', hostDirectives: [UiElementHost],\n host: { 'data-slot': 'sidebar-menu-badge', 'data-sidebar': 'menu-badge', '[attr.class]': 'classes()' },\n})\nexport class UiSidebarMenuBadge {\n readonly userClass = input<string>('', { alias: 'class' });\n protected readonly classes = computed(() => cn('pointer-events-none absolute end-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium text-sidebar-foreground tabular-nums select-none peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground peer-data-[size=sm]/menu-button:top-1 peer-data-[size=default]/menu-button:top-1.5 peer-data-[size=lg]/menu-button:top-2.5 group-data-[collapsible=icon]:hidden', this.userClass()));\n}\n\n@Directive({\n selector: 'ul[uiSidebarMenuSub], ui-sidebar-menu-sub', hostDirectives: [UiElementHost],\n host: { 'data-slot': 'sidebar-menu-sub', 'data-sidebar': 'menu-sub', '[attr.class]': 'classes()' },\n})\nexport class UiSidebarMenuSub {\n readonly userClass = input<string>('', { alias: 'class' });\n protected readonly classes = computed(() => cn('mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-s border-sidebar-border px-2.5 py-0.5 list-none group-data-[collapsible=icon]:hidden', this.userClass()));\n}\n\n@Directive({\n selector: 'li[uiSidebarMenuSubItem], ui-sidebar-menu-sub-item', hostDirectives: [UiElementHost],\n host: { 'data-slot': 'sidebar-menu-sub-item', 'data-sidebar': 'menu-sub-item', '[attr.class]': 'classes()' },\n})\nexport class UiSidebarMenuSubItem {\n readonly userClass = input<string>('', { alias: 'class' });\n protected readonly classes = computed(() => cn('group/menu-sub-item relative', this.userClass()));\n}\n\n\nexport const sidebarMenuButtonVariants = cva(\n 'peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-start text-sm ring-sidebar-ring outline-hidden transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-data-[sidebar=menu-action]/menu-item:pe-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! [&>span:last-child]:truncate [&>svg]:size-4 [&>ui-icon]:size-4 [&>svg]:shrink-0 [&>ui-icon]:shrink-0',\n {\n variants: {\n variant: {\n default: 'hover:bg-sidebar-accent hover:text-sidebar-accent-foreground',\n outline:\n 'bg-background shadow-[0_0_0_1px_var(--sidebar-border)] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_var(--sidebar-accent)]',\n },\n size: {\n default: 'h-8 text-sm',\n sm: 'h-7 text-xs',\n lg: 'h-12 text-sm group-data-[collapsible=icon]:p-0!',\n },\n },\n defaultVariants: { variant: 'default', size: 'default' },\n },\n);\n\n@Directive({\n selector: 'button[uiSidebarMenuButton], a[uiSidebarMenuButton], ui-sidebar-menu-button', hostDirectives: [UiElementHost],\n host: { '[attr.disabled]': 'disabled() ? \"\" : null',\n 'data-slot': 'sidebar-menu-button',\n 'data-sidebar': 'menu-button',\n '[attr.data-size]': 'size()',\n '[attr.data-active]': 'isActive()',\n '[attr.aria-current]': 'isActive() ? \"page\" : null',\n '[attr.title]': 'tooltipText()',\n '[attr.class]': 'classes()',\n },\n})\nexport class UiSidebarMenuButton {\n /** Reflected as the `disabled` attribute so it also works on the custom element. */\n readonly disabled = input(false, { transform: booleanAttribute });\n private readonly provider = inject(UiSidebarProvider);\n readonly isActive = input(false, { transform: booleanAttribute });\n readonly variant = input<'default' | 'outline'>('default');\n readonly size = input<'default' | 'sm' | 'lg'>('default');\n /** Shown as native title while the sidebar is collapsed to icons (shadcn shows a Tooltip; deviation, see README). */\n readonly tooltip = input<string>('');\n readonly userClass = input<string>('', { alias: 'class' });\n protected readonly tooltipText = computed(() =>\n this.tooltip() && this.provider.state() === 'collapsed' && !this.provider.isMobile() ? this.tooltip() : null,\n );\n protected readonly classes = computed(() =>\n cn(sidebarMenuButtonVariants({ variant: this.variant(), size: this.size() }), this.userClass()),\n );\n}\n\n@Directive({\n selector: 'a[uiSidebarMenuSubButton], button[uiSidebarMenuSubButton], ui-sidebar-menu-sub-button', hostDirectives: [UiElementHost],\n host: {\n 'data-slot': 'sidebar-menu-sub-button',\n 'data-sidebar': 'menu-sub-button',\n '[attr.data-size]': 'size()',\n '[attr.data-active]': 'isActive()',\n '[attr.class]': 'classes()',\n },\n})\nexport class UiSidebarMenuSubButton {\n readonly isActive = input(false, { transform: booleanAttribute });\n readonly size = input<'sm' | 'md'>('md');\n readonly userClass = input<string>('', { alias: 'class' });\n protected readonly classes = computed(() =>\n cn(\n 'flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 text-sidebar-foreground ring-sidebar-ring outline-hidden hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>ui-icon]:size-4 [&>svg]:shrink-0 [&>ui-icon]:shrink-0 [&>svg]:text-sidebar-accent-foreground [&>ui-icon]:text-sidebar-accent-foreground data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground group-data-[collapsible=icon]:hidden',\n this.size() === 'sm' ? 'text-xs' : 'text-sm',\n this.userClass(),\n ),\n );\n}\n\nexport const UI_SIDEBAR = [\n UiSidebarProvider,\n UiSidebar,\n UiSidebarTrigger,\n UiSidebarRail,\n UiSidebarInset,\n UiSidebarHeader,\n UiSidebarFooter,\n UiSidebarContent,\n UiSidebarSeparator,\n UiSidebarGroup,\n UiSidebarGroupLabel,\n UiSidebarGroupAction,\n UiSidebarGroupContent,\n UiSidebarMenu,\n UiSidebarMenuItem,\n UiSidebarMenuButton,\n UiSidebarMenuAction,\n UiSidebarMenuBadge,\n UiSidebarMenuSub,\n UiSidebarMenuSubItem,\n UiSidebarMenuSubButton,\n] as const;\n"],"mappings":";;;;;;;;;;AAuDA,IAAa,oBAAb,MAAa,kBAAiB;CACnB,OAAO,MAAM,MAAK,GAAA,YAAA,CAAA,EAAA,WAAA,OAAA,CAAA,+BAAA,CAAA,CAAA;CAClB,aAAa,MAAM,OAAM,GAAA,YAAA,CAAA,EAAA,WAAA,aAAA,CAAA,+BAAA,CAAA,CAAA;CACzB,QAAQ,MAAM,SAAQ,GAAA,YAAA,CAAA,EAAA,WAAA,QAAA,CAAA,+BAAA,CAAA,CAAA;CACtB,WAAW,MAAM,KAAI,GAAA,YAAA,CAAA,EAAA,WAAA,WAAA,CAAA,+BAAA,CAAA,CAAA;CACrB,YAAY,MAAc,IAAE;EAAA,GAAA,YAAA,EAAA,WAAA,YAAA,+BAAA,CAAA;EAAI,OAAO;CAAO,CAAA;CAE9C,WAAW,OAAO,OAAM,GAAA,YAAA,CAAA,EAAA,WAAA,WAAA,CAAA,+BAAA,CAAA,CAAA;CACxB,QAAQ,eAA0C,KAAK,KAAI,IAAK,aAAa,aAAa,GAAA,YAAA,CAAA,EAAA,WAAA,QAAA,CAAA,+BAAA,CAAA,CAAA;CAChF,UAAU,eAC3B,GAAG,mFAAmF,KAAK,UAAS,CAAE,GACvG,GAAA,YAAA,CAAA,EAAA,WAAA,UAAA,CAAA,+BAAA,CAAA,CAAA;CAED,cAAA;EACE,IAAI,OAAO,eAAe,aAAa;GACrC,MAAM,KAAK,WAAW,oBAAoB;GAC1C,MAAM,eAAe,KAAK,SAAS,IAAI,GAAG,OAAO;GACjD,OAAM;GACN,GAAG,iBAAiB,UAAU,MAAM;GACpC,OAAO,UAAU,CAAC,CAAC,gBAAgB,GAAG,oBAAoB,UAAU,MAAM,CAAC;EAC7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AA;EAAA;EAAA,MAAA;GAAA,YAAA;IAAA,aAAA;IAAA,gBAAA;GAAA;GAAA,YAAA;IAAA,kBAAA;IAAA,oBAAA;IAAA,cAAA;GAAA;EAAA;EAAA,gBAAA,CAAA,EAAA,WAAA,GAAA,cAAA,CAAA;EAAA,UAAA;CAAA,CAAA;;AAAtB,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAsB,YAAA,CAAA;EAVlC,MAAA;EAAU,MAAA,CAAA;GACT,UAAU;GAAyF,gBAAgB,CAAC,aAAa;GACjI,MAAM;IACJ,aAAa;IACb,gBAAgB;IAChB,oBAAoB;IACpB,sBAAsB;IACtB,gBAAgB;GACjB;EACF,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAcD,MAAa,aAAa;CACxB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACQ"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { Directive, computed, input } from "@angular/core";
|
|
3
|
+
import * as i1 from "@loomui-ng/ui/utils";
|
|
4
|
+
import { UiElementHost, cn } from "@loomui-ng/ui/utils";
|
|
5
|
+
var UiSkeleton = class UiSkeleton {
|
|
6
|
+
userClass = input("", {
|
|
7
|
+
...ngDevMode ? { debugName: "userClass" } : /* istanbul ignore next */ {},
|
|
8
|
+
alias: "class"
|
|
9
|
+
});
|
|
10
|
+
classes = computed(() => cn("animate-pulse bg-muted rounded-md h-4", this.userClass()), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
|
|
11
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
12
|
+
minVersion: "12.0.0",
|
|
13
|
+
version: "22.2.2",
|
|
14
|
+
ngImport: i0,
|
|
15
|
+
type: UiSkeleton,
|
|
16
|
+
deps: [],
|
|
17
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
18
|
+
});
|
|
19
|
+
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
20
|
+
minVersion: "17.1.0",
|
|
21
|
+
version: "22.2.2",
|
|
22
|
+
type: UiSkeleton,
|
|
23
|
+
isStandalone: true,
|
|
24
|
+
selector: "[uiSkeleton], ui-skeleton",
|
|
25
|
+
inputs: { userClass: {
|
|
26
|
+
classPropertyName: "userClass",
|
|
27
|
+
publicName: "class",
|
|
28
|
+
isSignal: true,
|
|
29
|
+
isRequired: false,
|
|
30
|
+
transformFunction: null
|
|
31
|
+
} },
|
|
32
|
+
host: {
|
|
33
|
+
attributes: { "data-slot": "skeleton" },
|
|
34
|
+
properties: { "attr.class": "classes()" }
|
|
35
|
+
},
|
|
36
|
+
hostDirectives: [{ directive: i1.UiElementHost }],
|
|
37
|
+
ngImport: i0
|
|
38
|
+
});
|
|
39
|
+
};
|
|
40
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
41
|
+
minVersion: "12.0.0",
|
|
42
|
+
version: "22.2.2",
|
|
43
|
+
ngImport: i0,
|
|
44
|
+
type: UiSkeleton,
|
|
45
|
+
decorators: [{
|
|
46
|
+
type: Directive,
|
|
47
|
+
args: [{
|
|
48
|
+
selector: "[uiSkeleton], ui-skeleton",
|
|
49
|
+
hostDirectives: [UiElementHost],
|
|
50
|
+
host: {
|
|
51
|
+
"data-slot": "skeleton",
|
|
52
|
+
"[attr.class]": "classes()"
|
|
53
|
+
}
|
|
54
|
+
}]
|
|
55
|
+
}],
|
|
56
|
+
propDecorators: { userClass: [{
|
|
57
|
+
type: i0.Input,
|
|
58
|
+
args: [{
|
|
59
|
+
isSignal: true,
|
|
60
|
+
alias: "class",
|
|
61
|
+
required: false
|
|
62
|
+
}]
|
|
63
|
+
}] }
|
|
64
|
+
});
|
|
65
|
+
const UI_SKELETON_GENERATED = [UiSkeleton];
|
|
66
|
+
const UI_SKELETON = UI_SKELETON_GENERATED;
|
|
67
|
+
export { UI_SKELETON, UI_SKELETON_GENERATED, UiSkeleton };
|
|
68
|
+
|
|
69
|
+
//# sourceMappingURL=loomui-ng-ui-skeleton.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"loomui-ng-ui-skeleton.mjs","names":[],"sources":["../../../libs/ui/skeleton/skeleton.ts"],"sourcesContent":["// GENERATED by tools/gen-ui.mjs from docs/evidence/slots/skeleton.json.\n// Change tools/ui-specs.mjs and regenerate; hand-written parts live in ./skeleton.manual.ts.\nimport { Directive, computed, input } from '@angular/core';\nimport { cn } from '@loomui-ng/ui/utils';\nimport { UiElementHost } from '@loomui-ng/ui/utils';\n\n@Directive({\n selector: '[uiSkeleton], ui-skeleton', hostDirectives: [UiElementHost],\n host: {\n 'data-slot': 'skeleton',\n '[attr.class]': 'classes()',\n },\n})\nexport class UiSkeleton {\n readonly userClass = input<string>('', { alias: 'class' });\n protected readonly classes = computed(() => cn('animate-pulse bg-muted rounded-md h-4', this.userClass()));\n}\n\nexport const UI_SKELETON_GENERATED = [UiSkeleton] as const;\nexport const UI_SKELETON = UI_SKELETON_GENERATED;\n"],"mappings":";;;;AAaA,IAAa,aAAb,MAAa,WAAU;CACZ,YAAY,MAAc,IAAE;EAAA,GAAA,YAAA,EAAA,WAAA,YAAA,+BAAA,CAAA;EAAI,OAAO;CAAO,CAAA;CACpC,UAAU,eAAe,GAAG,yCAAyC,KAAK,UAAS,CAAE,GAAE,GAAA,YAAA,CAAA,EAAA,WAAA,UAAA,CAAA,+BAAA,CAAA,CAAA;CAF/F,OAAA,OAAA,GAAA,mBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA;EAAA,MAAA;EAAU,MAAA,CAAA;EAAA,QAAA,GAAA,gBAAA;CAAA,CAAA;CAAV,OAAA,OAAA,GAAA,qBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,MAAA;EAAU,cAAA;EAAA,UAAA;EAAA,QAAA,EAAA,WAAA;GAAA,mBAAA;GAAA,YAAA;GAAA,UAAA;GAAA,YAAA;GAAA,mBAAA;EAAA,EAAA;EAAA,MAAA;GAAA,YAAA,EAAA,aAAA,WAAA;GAAA,YAAA,EAAA,cAAA,YAAA;EAAA;EAAA,gBAAA,CAAA,EAAA,WAAA,GAAA,cAAA,CAAA;EAAA,UAAA;CAAA,CAAA;;AAAV,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAU,YAAA,CAAA;EAPtB,MAAA;EAAU,MAAA,CAAA;GACT,UAAU;GAA6B,gBAAgB,CAAC,aAAa;GACrE,MAAM;IACJ,aAAa;IACb,gBAAgB;GACjB;EACF,CAAA;;;;;;;;;;;AAMD,MAAa,wBAAwB,CAAC,UAAU;AAChD,MAAa,cAAc"}
|
|
@@ -0,0 +1,390 @@
|
|
|
1
|
+
import { Directionality } from "@angular/cdk/bidi";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import { ChangeDetectionStrategy, Component, ElementRef, booleanAttribute, computed, forwardRef, inject, input, model, numberAttribute, signal } from "@angular/core";
|
|
4
|
+
import { NG_VALUE_ACCESSOR } from "@angular/forms";
|
|
5
|
+
import * as i1 from "@loomui-ng/ui/utils";
|
|
6
|
+
import { UiElementHost, cn } from "@loomui-ng/ui/utils";
|
|
7
|
+
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";
|
|
8
|
+
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";
|
|
9
|
+
const sliderRangeClass = "absolute bg-primary select-none data-horizontal:h-full data-vertical:w-full";
|
|
10
|
+
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";
|
|
11
|
+
const UI_SLIDER_GENERATED = [];
|
|
12
|
+
var UiSlider = class UiSlider {
|
|
13
|
+
value = model([0], ...ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []);
|
|
14
|
+
min = input(0, {
|
|
15
|
+
...ngDevMode ? { debugName: "min" } : /* istanbul ignore next */ {},
|
|
16
|
+
transform: numberAttribute
|
|
17
|
+
});
|
|
18
|
+
max = input(100, {
|
|
19
|
+
...ngDevMode ? { debugName: "max" } : /* istanbul ignore next */ {},
|
|
20
|
+
transform: numberAttribute
|
|
21
|
+
});
|
|
22
|
+
step = input(1, {
|
|
23
|
+
...ngDevMode ? { debugName: "step" } : /* istanbul ignore next */ {},
|
|
24
|
+
transform: numberAttribute
|
|
25
|
+
});
|
|
26
|
+
orientation = input("horizontal", ...ngDevMode ? [{ debugName: "orientation" }] : /* istanbul ignore next */ []);
|
|
27
|
+
disabled = input(false, {
|
|
28
|
+
...ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {},
|
|
29
|
+
transform: booleanAttribute
|
|
30
|
+
});
|
|
31
|
+
userClass = input("", {
|
|
32
|
+
...ngDevMode ? { debugName: "userClass" } : /* istanbul ignore next */ {},
|
|
33
|
+
alias: "class"
|
|
34
|
+
});
|
|
35
|
+
dir = inject(Directionality);
|
|
36
|
+
el = inject(ElementRef).nativeElement;
|
|
37
|
+
cvaDisabled = signal(false, ...ngDevMode ? [{ debugName: "cvaDisabled" }] : /* istanbul ignore next */ []);
|
|
38
|
+
isDisabled = computed(() => this.disabled() || this.cvaDisabled(), ...ngDevMode ? [{ debugName: "isDisabled" }] : /* istanbul ignore next */ []);
|
|
39
|
+
classes = computed(() => cn(sliderClass, this.userClass()), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
|
|
40
|
+
trackClass = sliderTrackClass;
|
|
41
|
+
rangeClass = sliderRangeClass;
|
|
42
|
+
thumbClass = sliderThumbClass;
|
|
43
|
+
onChange = () => {};
|
|
44
|
+
onTouched = () => {};
|
|
45
|
+
dragging = null;
|
|
46
|
+
pct(v) {
|
|
47
|
+
const span = this.max() - this.min();
|
|
48
|
+
return span === 0 ? 0 : (v - this.min()) / span * 100;
|
|
49
|
+
}
|
|
50
|
+
rangeStyle = computed(() => {
|
|
51
|
+
const vals = this.value();
|
|
52
|
+
const start = vals.length > 1 ? this.pct(Math.min(...vals)) : 0;
|
|
53
|
+
const end = this.pct(Math.max(...vals));
|
|
54
|
+
return this.orientation() === "horizontal" ? {
|
|
55
|
+
"inset-inline-start": `${start}%`,
|
|
56
|
+
"inset-inline-end": `${100 - end}%`
|
|
57
|
+
} : {
|
|
58
|
+
bottom: `${start}%`,
|
|
59
|
+
top: `${100 - end}%`
|
|
60
|
+
};
|
|
61
|
+
}, ...ngDevMode ? [{ debugName: "rangeStyle" }] : /* istanbul ignore next */ []);
|
|
62
|
+
thumbStyle(v) {
|
|
63
|
+
const p = this.pct(v);
|
|
64
|
+
const offset = `calc(${p}% + ${(50 - p) * .12}px)`;
|
|
65
|
+
return this.orientation() === "horizontal" ? {
|
|
66
|
+
position: "absolute",
|
|
67
|
+
"inset-inline-start": offset,
|
|
68
|
+
transform: this.dir.value === "rtl" ? "translateX(50%)" : "translateX(-50%)"
|
|
69
|
+
} : {
|
|
70
|
+
position: "absolute",
|
|
71
|
+
bottom: offset,
|
|
72
|
+
transform: "translateY(50%)"
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
snap(raw) {
|
|
76
|
+
const step = this.step();
|
|
77
|
+
const snapped = Math.round((raw - this.min()) / step) * step + this.min();
|
|
78
|
+
const decimals = (String(step).split(".")[1] ?? "").length;
|
|
79
|
+
return Math.min(this.max(), Math.max(this.min(), Number(snapped.toFixed(decimals))));
|
|
80
|
+
}
|
|
81
|
+
setAt(index, v) {
|
|
82
|
+
const next = [...this.value()];
|
|
83
|
+
next[index] = this.snap(v);
|
|
84
|
+
[...next].sort((a, b) => a - b);
|
|
85
|
+
next[index] = Math.min(Math.max(next[index], next[index - 1] ?? this.min()), next[index + 1] ?? this.max());
|
|
86
|
+
this.value.set(next);
|
|
87
|
+
this.onChange(next.length === 1 ? next[0] : next);
|
|
88
|
+
}
|
|
89
|
+
valueFromPointer(e) {
|
|
90
|
+
const r = this.el.getBoundingClientRect();
|
|
91
|
+
const horizontal = this.orientation() === "horizontal";
|
|
92
|
+
let ratio = horizontal ? (e.clientX - r.left) / r.width : 1 - (e.clientY - r.top) / r.height;
|
|
93
|
+
if (horizontal && this.dir.value === "rtl") ratio = 1 - ratio;
|
|
94
|
+
ratio = Math.min(1, Math.max(0, ratio));
|
|
95
|
+
return this.min() + ratio * (this.max() - this.min());
|
|
96
|
+
}
|
|
97
|
+
onPointerDown(e) {
|
|
98
|
+
if (this.isDisabled() || e.button !== 0) return;
|
|
99
|
+
const v = this.valueFromPointer(e);
|
|
100
|
+
const vals = this.value();
|
|
101
|
+
let nearest = 0;
|
|
102
|
+
vals.forEach((x, i) => {
|
|
103
|
+
if (Math.abs(x - v) < Math.abs(vals[nearest] - v)) nearest = i;
|
|
104
|
+
});
|
|
105
|
+
this.dragging = nearest;
|
|
106
|
+
this.el.setPointerCapture?.(e.pointerId);
|
|
107
|
+
this.setAt(nearest, v);
|
|
108
|
+
this.el.querySelectorAll("[data-slot=slider-thumb]")[nearest]?.focus();
|
|
109
|
+
const move = (ev) => this.dragging !== null && this.setAt(this.dragging, this.valueFromPointer(ev));
|
|
110
|
+
const up = () => {
|
|
111
|
+
this.dragging = null;
|
|
112
|
+
this.el.removeEventListener("pointermove", move);
|
|
113
|
+
this.el.removeEventListener("pointerup", up);
|
|
114
|
+
this.el.removeEventListener("pointercancel", up);
|
|
115
|
+
};
|
|
116
|
+
this.el.addEventListener("pointermove", move);
|
|
117
|
+
this.el.addEventListener("pointerup", up);
|
|
118
|
+
this.el.addEventListener("pointercancel", up);
|
|
119
|
+
}
|
|
120
|
+
onKeydown(e, index) {
|
|
121
|
+
if (this.isDisabled()) return;
|
|
122
|
+
const cur = this.value()[index];
|
|
123
|
+
const step = this.step();
|
|
124
|
+
const big = step * 10;
|
|
125
|
+
const rtl = this.dir.value === "rtl" && this.orientation() === "horizontal";
|
|
126
|
+
let next = null;
|
|
127
|
+
switch (e.key) {
|
|
128
|
+
case "ArrowRight":
|
|
129
|
+
case "ArrowUp":
|
|
130
|
+
next = cur + (e.key === "ArrowRight" && rtl ? -1 : 1) * (e.shiftKey ? big : step);
|
|
131
|
+
break;
|
|
132
|
+
case "ArrowLeft":
|
|
133
|
+
case "ArrowDown":
|
|
134
|
+
next = cur - (e.key === "ArrowLeft" && rtl ? -1 : 1) * (e.shiftKey ? big : step);
|
|
135
|
+
break;
|
|
136
|
+
case "PageUp":
|
|
137
|
+
next = cur + big;
|
|
138
|
+
break;
|
|
139
|
+
case "PageDown":
|
|
140
|
+
next = cur - big;
|
|
141
|
+
break;
|
|
142
|
+
case "Home":
|
|
143
|
+
next = this.min();
|
|
144
|
+
break;
|
|
145
|
+
case "End": next = this.max();
|
|
146
|
+
}
|
|
147
|
+
if (next !== null) {
|
|
148
|
+
e.preventDefault();
|
|
149
|
+
this.setAt(index, next);
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
writeValue(v) {
|
|
153
|
+
this.value.set(Array.isArray(v) ? v : v === null || v === void 0 ? [this.min()] : [v]);
|
|
154
|
+
}
|
|
155
|
+
registerOnChange(fn) {
|
|
156
|
+
this.onChange = fn;
|
|
157
|
+
}
|
|
158
|
+
registerOnTouched(fn) {
|
|
159
|
+
this.onTouched = fn;
|
|
160
|
+
}
|
|
161
|
+
setDisabledState(d) {
|
|
162
|
+
this.cvaDisabled.set(d);
|
|
163
|
+
}
|
|
164
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
165
|
+
minVersion: "12.0.0",
|
|
166
|
+
version: "22.2.2",
|
|
167
|
+
ngImport: i0,
|
|
168
|
+
type: UiSlider,
|
|
169
|
+
deps: [],
|
|
170
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
171
|
+
});
|
|
172
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
173
|
+
minVersion: "17.0.0",
|
|
174
|
+
version: "22.2.2",
|
|
175
|
+
type: UiSlider,
|
|
176
|
+
isStandalone: true,
|
|
177
|
+
selector: "span[uiSlider], ui-slider",
|
|
178
|
+
inputs: {
|
|
179
|
+
value: {
|
|
180
|
+
classPropertyName: "value",
|
|
181
|
+
publicName: "value",
|
|
182
|
+
isSignal: true,
|
|
183
|
+
isRequired: false,
|
|
184
|
+
transformFunction: null
|
|
185
|
+
},
|
|
186
|
+
min: {
|
|
187
|
+
classPropertyName: "min",
|
|
188
|
+
publicName: "min",
|
|
189
|
+
isSignal: true,
|
|
190
|
+
isRequired: false,
|
|
191
|
+
transformFunction: null
|
|
192
|
+
},
|
|
193
|
+
max: {
|
|
194
|
+
classPropertyName: "max",
|
|
195
|
+
publicName: "max",
|
|
196
|
+
isSignal: true,
|
|
197
|
+
isRequired: false,
|
|
198
|
+
transformFunction: null
|
|
199
|
+
},
|
|
200
|
+
step: {
|
|
201
|
+
classPropertyName: "step",
|
|
202
|
+
publicName: "step",
|
|
203
|
+
isSignal: true,
|
|
204
|
+
isRequired: false,
|
|
205
|
+
transformFunction: null
|
|
206
|
+
},
|
|
207
|
+
orientation: {
|
|
208
|
+
classPropertyName: "orientation",
|
|
209
|
+
publicName: "orientation",
|
|
210
|
+
isSignal: true,
|
|
211
|
+
isRequired: false,
|
|
212
|
+
transformFunction: null
|
|
213
|
+
},
|
|
214
|
+
disabled: {
|
|
215
|
+
classPropertyName: "disabled",
|
|
216
|
+
publicName: "disabled",
|
|
217
|
+
isSignal: true,
|
|
218
|
+
isRequired: false,
|
|
219
|
+
transformFunction: null
|
|
220
|
+
},
|
|
221
|
+
userClass: {
|
|
222
|
+
classPropertyName: "userClass",
|
|
223
|
+
publicName: "class",
|
|
224
|
+
isSignal: true,
|
|
225
|
+
isRequired: false,
|
|
226
|
+
transformFunction: null
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
outputs: { value: "valueChange" },
|
|
230
|
+
host: {
|
|
231
|
+
attributes: { "data-slot": "slider" },
|
|
232
|
+
listeners: { "pointerdown": "onPointerDown($event)" },
|
|
233
|
+
properties: {
|
|
234
|
+
"attr.dir": "dir.value",
|
|
235
|
+
"attr.data-orientation": "orientation()",
|
|
236
|
+
"attr.aria-disabled": "isDisabled()",
|
|
237
|
+
"attr.data-disabled": "isDisabled() ? \"\" : null",
|
|
238
|
+
"attr.class": "classes()"
|
|
239
|
+
}
|
|
240
|
+
},
|
|
241
|
+
providers: [{
|
|
242
|
+
provide: NG_VALUE_ACCESSOR,
|
|
243
|
+
useExisting: forwardRef(() => UiSlider),
|
|
244
|
+
multi: true
|
|
245
|
+
}],
|
|
246
|
+
hostDirectives: [{ directive: i1.UiElementHost }],
|
|
247
|
+
ngImport: i0,
|
|
248
|
+
template: `
|
|
249
|
+
<span data-slot="slider-track" [attr.data-orientation]="orientation()" [attr.data-disabled]="isDisabled() ? '' : null" [class]="trackClass">
|
|
250
|
+
<span data-slot="slider-range" [attr.data-orientation]="orientation()" [attr.data-disabled]="isDisabled() ? '' : null" [class]="rangeClass" [style]="rangeStyle()"></span>
|
|
251
|
+
</span>
|
|
252
|
+
@for (v of value(); track $index) {
|
|
253
|
+
<span
|
|
254
|
+
data-slot="slider-thumb"
|
|
255
|
+
role="slider"
|
|
256
|
+
[attr.aria-valuemin]="min()"
|
|
257
|
+
[attr.aria-valuemax]="max()"
|
|
258
|
+
[attr.aria-valuenow]="v"
|
|
259
|
+
[attr.aria-orientation]="orientation()"
|
|
260
|
+
[attr.aria-label]="value().length > 1 ? 'Value ' + ($index + 1) + ' of ' + value().length : null"
|
|
261
|
+
[attr.data-orientation]="orientation()"
|
|
262
|
+
[attr.data-disabled]="isDisabled() ? '' : null"
|
|
263
|
+
[attr.tabindex]="isDisabled() ? null : 0"
|
|
264
|
+
[class]="thumbClass"
|
|
265
|
+
[style]="thumbStyle(v)"
|
|
266
|
+
(keydown)="onKeydown($event, $index)"
|
|
267
|
+
(blur)="onTouched()"
|
|
268
|
+
></span>
|
|
269
|
+
}
|
|
270
|
+
`,
|
|
271
|
+
isInline: true,
|
|
272
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
273
|
+
});
|
|
274
|
+
};
|
|
275
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
276
|
+
minVersion: "12.0.0",
|
|
277
|
+
version: "22.2.2",
|
|
278
|
+
ngImport: i0,
|
|
279
|
+
type: UiSlider,
|
|
280
|
+
decorators: [{
|
|
281
|
+
type: Component,
|
|
282
|
+
args: [{
|
|
283
|
+
selector: "span[uiSlider], ui-slider",
|
|
284
|
+
hostDirectives: [UiElementHost],
|
|
285
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
286
|
+
providers: [{
|
|
287
|
+
provide: NG_VALUE_ACCESSOR,
|
|
288
|
+
useExisting: forwardRef(() => UiSlider),
|
|
289
|
+
multi: true
|
|
290
|
+
}],
|
|
291
|
+
host: {
|
|
292
|
+
"data-slot": "slider",
|
|
293
|
+
"[attr.dir]": "dir.value",
|
|
294
|
+
"[attr.data-orientation]": "orientation()",
|
|
295
|
+
"[attr.aria-disabled]": "isDisabled()",
|
|
296
|
+
"[attr.data-disabled]": "isDisabled() ? \"\" : null",
|
|
297
|
+
"[attr.class]": "classes()",
|
|
298
|
+
"(pointerdown)": "onPointerDown($event)"
|
|
299
|
+
},
|
|
300
|
+
template: `
|
|
301
|
+
<span data-slot="slider-track" [attr.data-orientation]="orientation()" [attr.data-disabled]="isDisabled() ? '' : null" [class]="trackClass">
|
|
302
|
+
<span data-slot="slider-range" [attr.data-orientation]="orientation()" [attr.data-disabled]="isDisabled() ? '' : null" [class]="rangeClass" [style]="rangeStyle()"></span>
|
|
303
|
+
</span>
|
|
304
|
+
@for (v of value(); track $index) {
|
|
305
|
+
<span
|
|
306
|
+
data-slot="slider-thumb"
|
|
307
|
+
role="slider"
|
|
308
|
+
[attr.aria-valuemin]="min()"
|
|
309
|
+
[attr.aria-valuemax]="max()"
|
|
310
|
+
[attr.aria-valuenow]="v"
|
|
311
|
+
[attr.aria-orientation]="orientation()"
|
|
312
|
+
[attr.aria-label]="value().length > 1 ? 'Value ' + ($index + 1) + ' of ' + value().length : null"
|
|
313
|
+
[attr.data-orientation]="orientation()"
|
|
314
|
+
[attr.data-disabled]="isDisabled() ? '' : null"
|
|
315
|
+
[attr.tabindex]="isDisabled() ? null : 0"
|
|
316
|
+
[class]="thumbClass"
|
|
317
|
+
[style]="thumbStyle(v)"
|
|
318
|
+
(keydown)="onKeydown($event, $index)"
|
|
319
|
+
(blur)="onTouched()"
|
|
320
|
+
></span>
|
|
321
|
+
}
|
|
322
|
+
`
|
|
323
|
+
}]
|
|
324
|
+
}],
|
|
325
|
+
propDecorators: {
|
|
326
|
+
value: [{
|
|
327
|
+
type: i0.Input,
|
|
328
|
+
args: [{
|
|
329
|
+
isSignal: true,
|
|
330
|
+
alias: "value",
|
|
331
|
+
required: false
|
|
332
|
+
}]
|
|
333
|
+
}, {
|
|
334
|
+
type: i0.Output,
|
|
335
|
+
args: ["valueChange"]
|
|
336
|
+
}],
|
|
337
|
+
min: [{
|
|
338
|
+
type: i0.Input,
|
|
339
|
+
args: [{
|
|
340
|
+
isSignal: true,
|
|
341
|
+
alias: "min",
|
|
342
|
+
required: false
|
|
343
|
+
}]
|
|
344
|
+
}],
|
|
345
|
+
max: [{
|
|
346
|
+
type: i0.Input,
|
|
347
|
+
args: [{
|
|
348
|
+
isSignal: true,
|
|
349
|
+
alias: "max",
|
|
350
|
+
required: false
|
|
351
|
+
}]
|
|
352
|
+
}],
|
|
353
|
+
step: [{
|
|
354
|
+
type: i0.Input,
|
|
355
|
+
args: [{
|
|
356
|
+
isSignal: true,
|
|
357
|
+
alias: "step",
|
|
358
|
+
required: false
|
|
359
|
+
}]
|
|
360
|
+
}],
|
|
361
|
+
orientation: [{
|
|
362
|
+
type: i0.Input,
|
|
363
|
+
args: [{
|
|
364
|
+
isSignal: true,
|
|
365
|
+
alias: "orientation",
|
|
366
|
+
required: false
|
|
367
|
+
}]
|
|
368
|
+
}],
|
|
369
|
+
disabled: [{
|
|
370
|
+
type: i0.Input,
|
|
371
|
+
args: [{
|
|
372
|
+
isSignal: true,
|
|
373
|
+
alias: "disabled",
|
|
374
|
+
required: false
|
|
375
|
+
}]
|
|
376
|
+
}],
|
|
377
|
+
userClass: [{
|
|
378
|
+
type: i0.Input,
|
|
379
|
+
args: [{
|
|
380
|
+
isSignal: true,
|
|
381
|
+
alias: "class",
|
|
382
|
+
required: false
|
|
383
|
+
}]
|
|
384
|
+
}]
|
|
385
|
+
}
|
|
386
|
+
});
|
|
387
|
+
const UI_SLIDER = [UiSlider];
|
|
388
|
+
export { UI_SLIDER, UI_SLIDER_GENERATED, UiSlider, sliderClass, sliderRangeClass, sliderThumbClass, sliderTrackClass };
|
|
389
|
+
|
|
390
|
+
//# sourceMappingURL=loomui-ng-ui-slider.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"loomui-ng-ui-slider.mjs","names":[],"sources":["../../../libs/ui/slider/slider.ts","../../../libs/ui/slider/slider.manual.ts"],"sourcesContent":["// GENERATED by tools/gen-ui.mjs from docs/evidence/slots/slider.json.\n// Change tools/ui-specs.mjs and regenerate; hand-written parts live in ./slider.manual.ts.\nimport { Directive, computed, input } from '@angular/core';\nimport { cn } from '@loomui-ng/ui/utils';\n\nexport const sliderClass =\n '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';\n\nexport const sliderTrackClass =\n 'relative grow overflow-hidden rounded-full bg-muted data-horizontal:h-1 data-horizontal:w-full data-vertical:h-full data-vertical:w-1';\n\nexport const sliderRangeClass =\n 'absolute bg-primary select-none data-horizontal:h-full data-vertical:w-full';\n\nexport const sliderThumbClass =\n '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';\n\nexport const UI_SLIDER_GENERATED = [] as const;\n","import { Directionality } from '@angular/cdk/bidi';\nimport {\n booleanAttribute,\n ChangeDetectionStrategy,\n Component,\n computed,\n ElementRef,\n forwardRef,\n inject,\n input,\n model,\n numberAttribute,\n signal,\n} from '@angular/core';\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { cn } from '@loomui-ng/ui/utils';\nimport { sliderClass, sliderRangeClass, sliderThumbClass, sliderTrackClass } from './slider';\nimport { UiElementHost } from '@loomui-ng/ui/utils';\n\n/**\n * <span uiSlider [(value)]=\"v\" [min]=\"0\" [max]=\"100\" [step]=\"1\"></span> v: number[] (one entry per thumb)\n * Observed (Radix): thumbs are span[role=slider] with aria-valuemin/max/now, aria-orientation, data-orientation, tabindex=0;\n * root carries dir, data-orientation, aria-disabled, data-disabled. Keys (Radix, not captured live): arrows ±step\n * (mirrored in RTL), Shift/PageUp/PageDown ±10 steps, Home/End min/max.\n * Also a ControlValueAccessor: single-thumb sliders read/write a number, multi-thumb ones an array.\n */\n@Component({\n selector: 'span[uiSlider], ui-slider', hostDirectives: [UiElementHost],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => UiSlider), multi: true }],\n host: {\n 'data-slot': 'slider',\n '[attr.dir]': 'dir.value',\n '[attr.data-orientation]': 'orientation()',\n '[attr.aria-disabled]': 'isDisabled()',\n '[attr.data-disabled]': 'isDisabled() ? \"\" : null',\n '[attr.class]': 'classes()',\n '(pointerdown)': 'onPointerDown($event)',\n },\n template: `\n <span data-slot=\"slider-track\" [attr.data-orientation]=\"orientation()\" [attr.data-disabled]=\"isDisabled() ? '' : null\" [class]=\"trackClass\">\n <span data-slot=\"slider-range\" [attr.data-orientation]=\"orientation()\" [attr.data-disabled]=\"isDisabled() ? '' : null\" [class]=\"rangeClass\" [style]=\"rangeStyle()\"></span>\n </span>\n @for (v of value(); track $index) {\n <span\n data-slot=\"slider-thumb\"\n role=\"slider\"\n [attr.aria-valuemin]=\"min()\"\n [attr.aria-valuemax]=\"max()\"\n [attr.aria-valuenow]=\"v\"\n [attr.aria-orientation]=\"orientation()\"\n [attr.aria-label]=\"value().length > 1 ? 'Value ' + ($index + 1) + ' of ' + value().length : null\"\n [attr.data-orientation]=\"orientation()\"\n [attr.data-disabled]=\"isDisabled() ? '' : null\"\n [attr.tabindex]=\"isDisabled() ? null : 0\"\n [class]=\"thumbClass\"\n [style]=\"thumbStyle(v)\"\n (keydown)=\"onKeydown($event, $index)\"\n (blur)=\"onTouched()\"\n ></span>\n }\n `,\n})\nexport class UiSlider implements ControlValueAccessor {\n readonly value = model<number[]>([0]);\n readonly min = input(0, { transform: numberAttribute });\n readonly max = input(100, { transform: numberAttribute });\n readonly step = input(1, { transform: numberAttribute });\n readonly orientation = input<'horizontal' | 'vertical'>('horizontal');\n readonly disabled = input(false, { transform: booleanAttribute });\n readonly userClass = input<string>('', { alias: 'class' });\n\n protected readonly dir = inject(Directionality);\n private readonly el = inject<ElementRef<HTMLElement>>(ElementRef).nativeElement;\n private readonly cvaDisabled = signal(false);\n protected readonly isDisabled = computed(() => this.disabled() || this.cvaDisabled());\n protected readonly classes = computed(() => cn(sliderClass, this.userClass()));\n protected readonly trackClass = sliderTrackClass;\n protected readonly rangeClass = sliderRangeClass;\n protected readonly thumbClass = sliderThumbClass;\n\n private onChange: (v: number | number[]) => void = () => {};\n protected onTouched: () => void = () => {};\n private dragging: number | null = null;\n\n private pct(v: number): number {\n const span = this.max() - this.min();\n return span === 0 ? 0 : ((v - this.min()) / span) * 100;\n }\n\n protected rangeStyle = computed(() => {\n const vals = this.value();\n const start = vals.length > 1 ? this.pct(Math.min(...vals)) : 0;\n const end = this.pct(Math.max(...vals));\n return this.orientation() === 'horizontal'\n ? { 'inset-inline-start': `${start}%`, 'inset-inline-end': `${100 - end}%` }\n : { bottom: `${start}%`, top: `${100 - end}%` };\n });\n\n protected thumbStyle(v: number): Record<string, string> {\n const p = this.pct(v);\n // Keep the thumb (12px) fully inside the track like Radix: offset by (50 - p) % of the thumb size.\n const offset = `calc(${p}% + ${(50 - p) * 0.12}px)`;\n return this.orientation() === 'horizontal'\n ? { position: 'absolute', 'inset-inline-start': offset, transform: this.dir.value === 'rtl' ? 'translateX(50%)' : 'translateX(-50%)' }\n : { position: 'absolute', bottom: offset, transform: 'translateY(50%)' };\n }\n\n private snap(raw: number): number {\n const step = this.step();\n const snapped = Math.round((raw - this.min()) / step) * step + this.min();\n const decimals = (String(step).split('.')[1] ?? '').length;\n return Math.min(this.max(), Math.max(this.min(), Number(snapped.toFixed(decimals))));\n }\n\n private setAt(index: number, v: number): void {\n const next = [...this.value()];\n next[index] = this.snap(v);\n const sorted = [...next].sort((a, b) => a - b);\n // keep thumbs ordered (Radix keeps thumb identity by index and clamps neighbours)\n next[index] = Math.min(Math.max(next[index], next[index - 1] ?? this.min()), next[index + 1] ?? this.max());\n void sorted;\n this.value.set(next);\n this.onChange(next.length === 1 ? next[0] : next);\n }\n\n private valueFromPointer(e: PointerEvent): number {\n const r = this.el.getBoundingClientRect();\n const horizontal = this.orientation() === 'horizontal';\n let ratio = horizontal ? (e.clientX - r.left) / r.width : 1 - (e.clientY - r.top) / r.height;\n if (horizontal && this.dir.value === 'rtl') ratio = 1 - ratio;\n ratio = Math.min(1, Math.max(0, ratio));\n return this.min() + ratio * (this.max() - this.min());\n }\n\n protected onPointerDown(e: PointerEvent): void {\n if (this.isDisabled() || e.button !== 0) return;\n const v = this.valueFromPointer(e);\n const vals = this.value();\n let nearest = 0;\n vals.forEach((x, i) => {\n if (Math.abs(x - v) < Math.abs(vals[nearest] - v)) nearest = i;\n });\n this.dragging = nearest;\n this.el.setPointerCapture?.(e.pointerId);\n this.setAt(nearest, v);\n const thumbs = this.el.querySelectorAll<HTMLElement>('[data-slot=slider-thumb]');\n thumbs[nearest]?.focus();\n const move = (ev: PointerEvent) => this.dragging !== null && this.setAt(this.dragging, this.valueFromPointer(ev));\n const up = () => {\n this.dragging = null;\n this.el.removeEventListener('pointermove', move);\n this.el.removeEventListener('pointerup', up);\n this.el.removeEventListener('pointercancel', up);\n };\n this.el.addEventListener('pointermove', move);\n this.el.addEventListener('pointerup', up);\n this.el.addEventListener('pointercancel', up);\n }\n\n protected onKeydown(e: KeyboardEvent, index: number): void {\n if (this.isDisabled()) return;\n const cur = this.value()[index];\n const step = this.step();\n const big = step * 10;\n const rtl = this.dir.value === 'rtl' && this.orientation() === 'horizontal';\n let next: number | null = null;\n switch (e.key) {\n case 'ArrowRight':\n case 'ArrowUp':\n next = cur + ((e.key === 'ArrowRight' && rtl ? -1 : 1) * (e.shiftKey ? big : step));\n break;\n case 'ArrowLeft':\n case 'ArrowDown':\n next = cur - ((e.key === 'ArrowLeft' && rtl ? -1 : 1) * (e.shiftKey ? big : step));\n break;\n case 'PageUp':\n next = cur + big;\n break;\n case 'PageDown':\n next = cur - big;\n break;\n case 'Home':\n next = this.min();\n break;\n case 'End':\n next = this.max();\n break;\n }\n if (next !== null) {\n e.preventDefault();\n this.setAt(index, next);\n }\n }\n\n writeValue(v: number | number[] | null): void {\n this.value.set(Array.isArray(v) ? v : v === null || v === undefined ? [this.min()] : [v]);\n }\n registerOnChange(fn: (v: number | number[]) => void): void {\n this.onChange = fn;\n }\n registerOnTouched(fn: () => void): void {\n this.onTouched = fn;\n }\n setDisabledState(d: boolean): void {\n this.cvaDisabled.set(d);\n }\n}\n\nexport const UI_SLIDER = [UiSlider] as const;\n"],"mappings":";;;;;;AAKA,MAAa,cACX;AAEF,MAAa,mBACX;AAEF,MAAa,mBACX;AAEF,MAAa,mBACX;AAEF,MAAa,sBAAsB,CAAA;AC8CnC,IAAa,WAAb,MAAa,SAAQ;CACV,QAAQ,MAAgB,CAAC,CAAC,GAAE,GAAA,YAAA,CAAA,EAAA,WAAA,QAAA,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