@sinequa/galactik 2.9.0 → 2.11.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.
@@ -1,5 +1,5 @@
1
1
  import * as i0 from "@angular/core";
2
- import { ApplicationRef, ChangeDetectionStrategy, Component, DestroyRef, Directive, ElementRef, EnvironmentInjector, HostAttributeToken, InjectionToken, Injector, Service, TemplateRef, afterNextRender, afterRenderEffect, booleanAttribute, computed, contentChild, contentChildren, createComponent, effect, forwardRef, inject, input, linkedSignal, makeEnvironmentProviders, model, numberAttribute, output, provideAppInitializer, resource, signal, untracked, viewChild } from "@angular/core";
2
+ import { ApplicationRef, ChangeDetectionStrategy, Component, DestroyRef, Directive, ElementRef, EnvironmentInjector, HostAttributeToken, InjectionToken, Injector, Service, TemplateRef, afterNextRender, afterRenderEffect, booleanAttribute, computed, contentChild, contentChildren, createComponent, effect, forwardRef, inject, input, linkedSignal, makeEnvironmentProviders, model, numberAttribute, output, provideAppInitializer, provideEnvironmentInitializer, resource, signal, untracked, viewChild } from "@angular/core";
3
3
  import { cn } from "cn";
4
4
  import { arrow, autoUpdate, computePosition, flip, hide, offset, shift, size } from "@floating-ui/dom";
5
5
  import { DOCUMENT, NgTemplateOutlet } from "@angular/common";
@@ -2004,6 +2004,73 @@ i0.ɵɵngDeclareClassMetadata({
2004
2004
  }] }
2005
2005
  });
2006
2006
  const CogIconComponent = CogIcon;
2007
+ var CollapseIcon = class CollapseIcon {
2008
+ class = input(...ngDevMode ? [void 0, { debugName: "class" }] : /* istanbul ignore next */ []);
2009
+ classes = computed(() => cn(this.class()), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
2010
+ static ɵfac = i0.ɵɵngDeclareFactory({
2011
+ minVersion: "12.0.0",
2012
+ version: "22.2.1",
2013
+ ngImport: i0,
2014
+ type: CollapseIcon,
2015
+ deps: [],
2016
+ target: i0.ɵɵFactoryTarget.Component
2017
+ });
2018
+ static ɵcmp = i0.ɵɵngDeclareComponent({
2019
+ minVersion: "17.1.0",
2020
+ version: "22.2.1",
2021
+ type: CollapseIcon,
2022
+ isStandalone: true,
2023
+ selector: "collapse, collapse-icon, Collapse, CollapseIcon",
2024
+ inputs: { class: {
2025
+ classPropertyName: "class",
2026
+ publicName: "class",
2027
+ isSignal: true,
2028
+ isRequired: false,
2029
+ transformFunction: null
2030
+ } },
2031
+ ngImport: i0,
2032
+ template: `
2033
+ <svg [class]="classes()" aria-hidden="true" width="1rem" height="1rem" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
2034
+ <path d="M8 3v3a2 2 0 0 1-2 2H3" />
2035
+ <path d="M21 8h-3a2 2 0 0 1-2-2V3" />
2036
+ <path d="M3 16h3a2 2 0 0 1 2 2v3" />
2037
+ <path d="M16 21v-3a2 2 0 0 1 2-2h3" />
2038
+ </svg>
2039
+ `,
2040
+ isInline: true,
2041
+ styles: [":host{display:contents}\n"]
2042
+ });
2043
+ };
2044
+ i0.ɵɵngDeclareClassMetadata({
2045
+ minVersion: "12.0.0",
2046
+ version: "22.2.1",
2047
+ ngImport: i0,
2048
+ type: CollapseIcon,
2049
+ decorators: [{
2050
+ type: Component,
2051
+ args: [{
2052
+ selector: "collapse, collapse-icon, Collapse, CollapseIcon",
2053
+ template: `
2054
+ <svg [class]="classes()" aria-hidden="true" width="1rem" height="1rem" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
2055
+ <path d="M8 3v3a2 2 0 0 1-2 2H3" />
2056
+ <path d="M21 8h-3a2 2 0 0 1-2-2V3" />
2057
+ <path d="M3 16h3a2 2 0 0 1 2 2v3" />
2058
+ <path d="M16 21v-3a2 2 0 0 1 2-2h3" />
2059
+ </svg>
2060
+ `,
2061
+ styles: [":host{display:contents}\n"]
2062
+ }]
2063
+ }],
2064
+ propDecorators: { class: [{
2065
+ type: i0.Input,
2066
+ args: [{
2067
+ isSignal: true,
2068
+ alias: "class",
2069
+ required: false
2070
+ }]
2071
+ }] }
2072
+ });
2073
+ const CollapseIconComponent = CollapseIcon;
2007
2074
  var CommentIcon = class CommentIcon {
2008
2075
  class = input(...ngDevMode ? [void 0, { debugName: "class" }] : /* istanbul ignore next */ []);
2009
2076
  classes = computed(() => cn(this.class()), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
@@ -2620,6 +2687,73 @@ i0.ɵɵngDeclareClassMetadata({
2620
2687
  }] }
2621
2688
  });
2622
2689
  const EnvelopeIconComponent = EnvelopeIcon;
2690
+ var ExpandIcon = class ExpandIcon {
2691
+ class = input(...ngDevMode ? [void 0, { debugName: "class" }] : /* istanbul ignore next */ []);
2692
+ classes = computed(() => cn(this.class()), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
2693
+ static ɵfac = i0.ɵɵngDeclareFactory({
2694
+ minVersion: "12.0.0",
2695
+ version: "22.2.1",
2696
+ ngImport: i0,
2697
+ type: ExpandIcon,
2698
+ deps: [],
2699
+ target: i0.ɵɵFactoryTarget.Component
2700
+ });
2701
+ static ɵcmp = i0.ɵɵngDeclareComponent({
2702
+ minVersion: "17.1.0",
2703
+ version: "22.2.1",
2704
+ type: ExpandIcon,
2705
+ isStandalone: true,
2706
+ selector: "expand, expand-icon, Expand, ExpandIcon",
2707
+ inputs: { class: {
2708
+ classPropertyName: "class",
2709
+ publicName: "class",
2710
+ isSignal: true,
2711
+ isRequired: false,
2712
+ transformFunction: null
2713
+ } },
2714
+ ngImport: i0,
2715
+ template: `
2716
+ <svg [class]="classes()" aria-hidden="true" width="1rem" height="1rem" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
2717
+ <path d="M8 3H5a2 2 0 0 0-2 2v3" />
2718
+ <path d="M21 8V5a2 2 0 0 0-2-2h-3" />
2719
+ <path d="M3 16v3a2 2 0 0 0 2 2h3" />
2720
+ <path d="M16 21h3a2 2 0 0 0 2-2v-3" />
2721
+ </svg>
2722
+ `,
2723
+ isInline: true,
2724
+ styles: [":host{display:contents}\n"]
2725
+ });
2726
+ };
2727
+ i0.ɵɵngDeclareClassMetadata({
2728
+ minVersion: "12.0.0",
2729
+ version: "22.2.1",
2730
+ ngImport: i0,
2731
+ type: ExpandIcon,
2732
+ decorators: [{
2733
+ type: Component,
2734
+ args: [{
2735
+ selector: "expand, expand-icon, Expand, ExpandIcon",
2736
+ template: `
2737
+ <svg [class]="classes()" aria-hidden="true" width="1rem" height="1rem" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
2738
+ <path d="M8 3H5a2 2 0 0 0-2 2v3" />
2739
+ <path d="M21 8V5a2 2 0 0 0-2-2h-3" />
2740
+ <path d="M3 16v3a2 2 0 0 0 2 2h3" />
2741
+ <path d="M16 21h3a2 2 0 0 0 2-2v-3" />
2742
+ </svg>
2743
+ `,
2744
+ styles: [":host{display:contents}\n"]
2745
+ }]
2746
+ }],
2747
+ propDecorators: { class: [{
2748
+ type: i0.Input,
2749
+ args: [{
2750
+ isSignal: true,
2751
+ alias: "class",
2752
+ required: false
2753
+ }]
2754
+ }] }
2755
+ });
2756
+ const ExpandIconComponent = ExpandIcon;
2623
2757
  var ExternalLinkIcon = class ExternalLinkIcon {
2624
2758
  class = input(...ngDevMode ? [void 0, { debugName: "class" }] : /* istanbul ignore next */ []);
2625
2759
  classes = computed(() => cn(this.class()), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
@@ -9720,7 +9854,7 @@ i0.ɵɵngDeclareClassMetadata({
9720
9854
  }
9721
9855
  });
9722
9856
  const TOOLTIP_CLASS = "tooltip-panel";
9723
- const tooltipVariants = cva([
9857
+ const tooltipVariants = /*@__PURE__*/ cva([
9724
9858
  TOOLTIP_CLASS,
9725
9859
  "fixed inset-auto m-0 w-max max-w-(--tooltip-max-w,20rem) overflow-visible border-0 break-words",
9726
9860
  "rounded-(--radius-xs) bg-(--bg-neutral-base-alt) px-(--spacing-xs) py-(--spacing-3xs)",
@@ -10039,6 +10173,7 @@ var TooltipDirective = class TooltipDirective {
10039
10173
  this.close();
10040
10174
  }
10041
10175
  onEnter() {
10176
+ if (this.pointerType === "touch") return;
10042
10177
  if (this.settings().event !== "focus") this.scheduleShow();
10043
10178
  }
10044
10179
  onLeave() {
@@ -10057,7 +10192,12 @@ var TooltipDirective = class TooltipDirective {
10057
10192
  onFocusOut() {
10058
10193
  if (this.settings().event !== "hover") this.scheduleHide(false);
10059
10194
  }
10060
- onPointerDown() {
10195
+ pointerType;
10196
+ onPointerType(event) {
10197
+ this.pointerType = event.pointerType;
10198
+ }
10199
+ onPointerDown(event) {
10200
+ this.pointerType = event.pointerType;
10061
10201
  this.pointerFocus = true;
10062
10202
  this.hide();
10063
10203
  }
@@ -10116,6 +10256,14 @@ var TooltipDirective = class TooltipDirective {
10116
10256
  capture: true,
10117
10257
  passive: true
10118
10258
  });
10259
+ const arm = setTimeout(() => {
10260
+ this.listen(this.document, "click", (event) => {
10261
+ const target = event.target;
10262
+ if (element.contains(target) || this.host.contains(target)) return;
10263
+ this.hide();
10264
+ });
10265
+ }, 0);
10266
+ this.teardown.push(() => clearTimeout(arm));
10119
10267
  if (life > 0) this.lifeTimer = setTimeout(() => this.hide(), life);
10120
10268
  }
10121
10269
  close() {
@@ -10294,7 +10442,8 @@ var TooltipDirective = class TooltipDirective {
10294
10442
  "mouseleave": "onLeave()",
10295
10443
  "focusin": "onFocusIn()",
10296
10444
  "focusout": "onFocusOut()",
10297
- "pointerdown": "onPointerDown()",
10445
+ "pointerenter": "onPointerType($event)",
10446
+ "pointerdown": "onPointerDown($event)",
10298
10447
  "pointerup": "pointerFocus = false",
10299
10448
  "pointercancel": "pointerFocus = false",
10300
10449
  "click": "onClick()"
@@ -10326,7 +10475,8 @@ i0.ɵɵngDeclareClassMetadata({
10326
10475
  "(mouseleave)": "onLeave()",
10327
10476
  "(focusin)": "onFocusIn()",
10328
10477
  "(focusout)": "onFocusOut()",
10329
- "(pointerdown)": "onPointerDown()",
10478
+ "(pointerenter)": "onPointerType($event)",
10479
+ "(pointerdown)": "onPointerDown($event)",
10330
10480
  "(pointerup)": "pointerFocus = false",
10331
10481
  "(pointercancel)": "pointerFocus = false",
10332
10482
  "(click)": "onClick()"
@@ -10662,14 +10812,14 @@ i0.ɵɵngDeclareClassMetadata({
10662
10812
  }],
10663
10813
  ctorParameters: () => []
10664
10814
  });
10665
- const menuPanelVariants = cva([
10815
+ const menuPanelVariants = /*@__PURE__*/ cva([
10666
10816
  "p-(--spacing-2xs)",
10667
10817
  "rounded-(--radius-sm) bg-(--layer-page-layer) shadow-(--shadow-1)",
10668
10818
  "[&_.heading]:block [&_.heading]:py-(--spacing-4xs) [&_.heading]:pr-(--spacing-md) [&_.heading]:pl-(--spacing-2xs) [&_.heading]:text-[0.625rem] [&_.heading]:font-medium [&_.heading]:text-(--font-primary-muted)",
10669
10819
  "[&_.dialog-sep]:mx-(--spacing-2xs) [&_.dialog-sep]:my-(--spacing-3xs) [&_.dialog-sep]:h-px [&_.dialog-sep]:w-[calc(100%-2*var(--spacing-2xs))] [&_.dialog-sep]:shrink-0 [&_.dialog-sep]:bg-(--layer-page-separator)"
10670
10820
  ]);
10671
- const menuContentVariants = cva("flex w-full flex-col items-start");
10672
- const menuItemVariants = cva([
10821
+ const menuContentVariants = /*@__PURE__*/ cva("flex w-full flex-col items-start");
10822
+ const menuItemVariants = /*@__PURE__*/ cva([
10673
10823
  "flex w-full items-center gap-(--spacing-xs)",
10674
10824
  "rounded-(--radius-xs) px-(--spacing-md) py-(--spacing-xs)",
10675
10825
  "font-[family-name:var(--family-base,'Hanken_Grotesk'),sans-serif] text-(length:--size-sm) font-normal",
@@ -10684,7 +10834,7 @@ const menuItemVariants = cva([
10684
10834
  "[&_.label]:flex-1 [&_.label]:text-left",
10685
10835
  "[&_.arrow]:shrink-0 [&_.arrow]:text-(--font-primary-muted)"
10686
10836
  ]);
10687
- const menuSeparatorVariants = cva("mx-(--spacing-2xs) my-(--spacing-3xs) h-px w-[calc(100%-2*var(--spacing-2xs))] shrink-0 bg-(--layer-page-separator)");
10837
+ const menuSeparatorVariants = /*@__PURE__*/ cva("mx-(--spacing-2xs) my-(--spacing-3xs) h-px w-[calc(100%-2*var(--spacing-2xs))] shrink-0 bg-(--layer-page-separator)");
10688
10838
  const menuBaseClass = "min-w-fit w-60 max-w-fit data-[visible=false]:hidden";
10689
10839
  const isToggleRole = (role) => role === "menuitemcheckbox" || role === "menuitemradio";
10690
10840
  var MenuComponent = class MenuComponent {
@@ -11192,7 +11342,7 @@ i0.ɵɵngDeclareClassMetadata({
11192
11342
  }]
11193
11343
  }] }
11194
11344
  });
11195
- const tabGroupVariants = cva(["flex items-center gap-(--spacing-3xs)"], {
11345
+ const tabGroupVariants = /*@__PURE__*/ cva(["flex items-center gap-(--spacing-3xs)"], {
11196
11346
  variants: { variant: {
11197
11347
  primary: "inline-flex rounded-(--radius-md) border border-(--stroke-primary-light) bg-(--bg-primary-lightest) p-(--spacing-3xs) aria-[orientation='vertical']:flex-col",
11198
11348
  secondary: "flex items-end border-b border-(--stroke-primary-lighter) bg-(--bg-neutral-white) **:[[role='tab']]:-mb-px",
@@ -11200,7 +11350,7 @@ const tabGroupVariants = cva(["flex items-center gap-(--spacing-3xs)"], {
11200
11350
  } },
11201
11351
  defaultVariants: { variant: "primary" }
11202
11352
  });
11203
- const tabItemVariants = cva([
11353
+ const tabItemVariants = /*@__PURE__*/ cva([
11204
11354
  "inline-flex items-center gap-(--spacing-xs) px-(--spacing-md) py-0",
11205
11355
  "cursor-pointer border-0 bg-transparent whitespace-nowrap outline-none select-none",
11206
11356
  "max-w-(--tab-max-width,100%)",
@@ -11734,7 +11884,7 @@ const SELECT_OPTION_SUBLABEL_CLASS = "select-option-sublabel";
11734
11884
  const SELECT_OPTION_CHECK_CLASS = "select-option-check";
11735
11885
  const SELECT_HINT_CLASS = "select-hint";
11736
11886
  const SELECT_CHEVRON_CLASS = "select-chevron";
11737
- const selectWrapVariants = cva([
11887
+ const selectWrapVariants = /*@__PURE__*/ cva([
11738
11888
  "relative inline-flex w-full flex-col",
11739
11889
  "[&_.select-label]:font-[family-name:var(--family-base,'Hanken_Grotesk'),sans-serif] [&_.select-label]:leading-[1.3] [&_.select-label]:font-semibold [&_.select-label]:text-(--font-primary-base)",
11740
11890
  "[&_.select-trigger]:box-border [&_.select-trigger]:inline-flex [&_.select-trigger]:w-full [&_.select-trigger]:cursor-pointer [&_.select-trigger]:items-center [&_.select-trigger]:gap-(--spacing-xs) [&_.select-trigger]:text-left",
@@ -11773,7 +11923,7 @@ const selectWrapVariants = cva([
11773
11923
  } },
11774
11924
  defaultVariants: { size: "md" }
11775
11925
  });
11776
- const selectTriggerVariants = cva([
11926
+ const selectTriggerVariants = /*@__PURE__*/ cva([
11777
11927
  "select-trigger box-border inline-flex w-full cursor-pointer items-center gap-(--spacing-xs) text-left",
11778
11928
  "rounded-(--radius-sm) border border-solid border-(--stroke-primary-muted)",
11779
11929
  "bg-(--bg-neutral-white) text-(--font-primary-base)",
@@ -11800,7 +11950,7 @@ const selectTriggerVariants = cva([
11800
11950
  empty: false
11801
11951
  }
11802
11952
  });
11803
- const selectChevronVariants = cva([
11953
+ const selectChevronVariants = /*@__PURE__*/ cva([
11804
11954
  "inline-flex shrink-0 items-center justify-center text-(--font-primary-muted)",
11805
11955
  "text-[10px]",
11806
11956
  "transition-transform duration-150 ease-[ease] motion-reduce:transition-none"
@@ -11811,7 +11961,7 @@ const selectChevronVariants = cva([
11811
11961
  } },
11812
11962
  defaultVariants: { open: false }
11813
11963
  });
11814
- const selectOptionVariants = cva([
11964
+ const selectOptionVariants = /*@__PURE__*/ cva([
11815
11965
  "box-border flex w-full items-center gap-(--spacing-xs) px-(--spacing-md) py-(--spacing-xs)",
11816
11966
  "cursor-pointer border-0 bg-transparent text-left",
11817
11967
  "font-[family-name:var(--family-base,'Hanken_Grotesk'),sans-serif] text-(length:--size-sm) text-(--font-primary-muted)",
@@ -11821,7 +11971,7 @@ const selectOptionVariants = cva([
11821
11971
  "aria-selected:text-(--font-primary-dark)",
11822
11972
  "aria-disabled:cursor-not-allowed aria-disabled:text-(--font-neutral-muted)"
11823
11973
  ]);
11824
- const selectMenuVariants = cva(["block max-h-[280px] overflow-hidden overflow-y-auto p-0", "rounded-(--radius-sm) border border-solid border-(--stroke-primary-light) bg-(--bg-neutral-white) shadow-(--shadow-1)"]);
11974
+ const selectMenuVariants = /*@__PURE__*/ cva(["block max-h-[280px] overflow-hidden overflow-y-auto p-0", "rounded-(--radius-sm) border border-solid border-(--stroke-primary-light) bg-(--bg-neutral-white) shadow-(--shadow-1)"]);
11825
11975
  const SELECT_REF = new InjectionToken("SELECT_REF");
11826
11976
  let _idCounter$1 = 0;
11827
11977
  var SelectTriggerDirective = class SelectTriggerDirective {
@@ -12646,7 +12796,7 @@ const INPUT_SEARCH_NATIVE_RESET = [
12646
12796
  "[&[type='search']::-webkit-search-results-button]:appearance-none",
12647
12797
  "[&[type='search']::-webkit-search-results-decoration]:appearance-none"
12648
12798
  ].join(" ");
12649
- const inputWrapVariants = cva([
12799
+ const inputWrapVariants = /*@__PURE__*/ cva([
12650
12800
  "box-border flex items-center gap-(--spacing-xs)",
12651
12801
  "border border-solid bg-(--bg-neutral-white)",
12652
12802
  "transition-[border-color,background-color,outline-color] duration-150 ease-[ease] motion-reduce:transition-none",
@@ -12749,7 +12899,7 @@ const inputWrapVariants = cva([
12749
12899
  autoHeight: false
12750
12900
  }
12751
12901
  });
12752
- const inputCounterVariants = cva("shrink-0 font-[family-name:var(--family-base,'Hanken_Grotesk'),sans-serif] whitespace-nowrap text-(--font-neutral-muted) tabular-nums", {
12902
+ const inputCounterVariants = /*@__PURE__*/ cva("shrink-0 font-[family-name:var(--family-base,'Hanken_Grotesk'),sans-serif] whitespace-nowrap text-(--font-neutral-muted) tabular-nums", {
12753
12903
  variants: {
12754
12904
  scheme: {
12755
12905
  default: "",
@@ -12767,7 +12917,115 @@ const inputCounterVariants = cva("shrink-0 font-[family-name:var(--family-base,'
12767
12917
  size: "md"
12768
12918
  }
12769
12919
  });
12770
- const tagVariants = cva([
12920
+ const MOBILE_QUERY = `(width < 768px)`;
12921
+ const TOUCH_QUERY = "(pointer: coarse)";
12922
+ const LANDSCAPE_QUERY = "(orientation: landscape)";
12923
+ var BreakpointObserverService = class BreakpointObserverService {
12924
+ isMobile;
12925
+ isTouch;
12926
+ isLandscape;
12927
+ constructor() {
12928
+ const destroyRef = inject(DestroyRef);
12929
+ this.isMobile = observe(MOBILE_QUERY, destroyRef);
12930
+ this.isTouch = observe(TOUCH_QUERY, destroyRef);
12931
+ this.isLandscape = observe(LANDSCAPE_QUERY, destroyRef);
12932
+ }
12933
+ static ɵfac = i0.ɵɵngDeclareFactory({
12934
+ minVersion: "12.0.0",
12935
+ version: "22.2.1",
12936
+ ngImport: i0,
12937
+ type: BreakpointObserverService,
12938
+ deps: [],
12939
+ target: i0.ɵɵFactoryTarget.Service
12940
+ });
12941
+ static ɵprov = i0.ɵɵngDeclareService({
12942
+ minVersion: "22.0.0",
12943
+ version: "22.2.1",
12944
+ ngImport: i0,
12945
+ type: BreakpointObserverService
12946
+ });
12947
+ };
12948
+ i0.ɵɵngDeclareClassMetadata({
12949
+ minVersion: "12.0.0",
12950
+ version: "22.2.1",
12951
+ ngImport: i0,
12952
+ type: BreakpointObserverService,
12953
+ decorators: [{ type: Service }],
12954
+ ctorParameters: () => []
12955
+ });
12956
+ function observe(media, destroyRef) {
12957
+ const state = signal(false, ...ngDevMode ? [{ debugName: "state" }] : /* istanbul ignore next */ []);
12958
+ const query = typeof window === "undefined" ? void 0 : window.matchMedia?.(media);
12959
+ if (!query) return state.asReadonly();
12960
+ state.set(query.matches);
12961
+ const handleChange = (event) => state.set(event.matches);
12962
+ query.addEventListener("change", handleChange);
12963
+ destroyRef.onDestroy(() => query.removeEventListener("change", handleChange));
12964
+ return state.asReadonly();
12965
+ }
12966
+ var VirtualKeyboardDirective = class VirtualKeyboardDirective {
12967
+ input = inject(ElementRef).nativeElement;
12968
+ breakpoints = inject(BreakpointObserverService);
12969
+ away = signal(false, ...ngDevMode ? [{ debugName: "away" }] : /* istanbul ignore next */ []);
12970
+ applicable = computed(() => this.breakpoints.isTouch() && this.breakpoints.isLandscape(), ...ngDevMode ? [{ debugName: "applicable" }] : /* istanbul ignore next */ []);
12971
+ hidden = computed(() => this.applicable() && this.away(), ...ngDevMode ? [{ debugName: "hidden" }] : /* istanbul ignore next */ []);
12972
+ hide() {
12973
+ this.refocus("none");
12974
+ this.away.set(true);
12975
+ }
12976
+ show() {
12977
+ this.refocus("text");
12978
+ this.away.set(false);
12979
+ }
12980
+ toggle() {
12981
+ if (this.hidden()) this.show();
12982
+ else this.hide();
12983
+ }
12984
+ refocus(mode) {
12985
+ this.input.inputMode = mode;
12986
+ this.input.blur();
12987
+ this.input.focus();
12988
+ }
12989
+ static ɵfac = i0.ɵɵngDeclareFactory({
12990
+ minVersion: "12.0.0",
12991
+ version: "22.2.1",
12992
+ ngImport: i0,
12993
+ type: VirtualKeyboardDirective,
12994
+ deps: [],
12995
+ target: i0.ɵɵFactoryTarget.Directive
12996
+ });
12997
+ static ɵdir = i0.ɵɵngDeclareDirective({
12998
+ minVersion: "14.0.0",
12999
+ version: "22.2.1",
13000
+ type: VirtualKeyboardDirective,
13001
+ isStandalone: true,
13002
+ selector: "input[virtualKeyboard]",
13003
+ host: {
13004
+ listeners: { "blur": "away.set(false)" },
13005
+ properties: { "attr.inputmode": "hidden() ? 'none' : null" }
13006
+ },
13007
+ exportAs: ["virtualKeyboard"],
13008
+ ngImport: i0
13009
+ });
13010
+ };
13011
+ i0.ɵɵngDeclareClassMetadata({
13012
+ minVersion: "12.0.0",
13013
+ version: "22.2.1",
13014
+ ngImport: i0,
13015
+ type: VirtualKeyboardDirective,
13016
+ decorators: [{
13017
+ type: Directive,
13018
+ args: [{
13019
+ selector: "input[virtualKeyboard]",
13020
+ exportAs: "virtualKeyboard",
13021
+ host: {
13022
+ "[attr.inputmode]": "hidden() ? 'none' : null",
13023
+ "(blur)": "away.set(false)"
13024
+ }
13025
+ }]
13026
+ }]
13027
+ });
13028
+ const tagVariants = /*@__PURE__*/ cva([
12771
13029
  "inline-flex w-fit max-w-full min-w-0 items-center overflow-hidden whitespace-nowrap",
12772
13030
  "font-[family-name:var(--family-base,'Hanken_Grotesk'),sans-serif] font-normal",
12773
13031
  "border border-solid"
@@ -13197,6 +13455,8 @@ var AutocompleteComponent = class AutocompleteComponent {
13197
13455
  fieldLabelLang = input(...ngDevMode ? [void 0, { debugName: "fieldLabelLang" }] : /* istanbul ignore next */ []);
13198
13456
  placeholder = input("", ...ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []);
13199
13457
  ariaLabel = input(...ngDevMode ? [void 0, { debugName: "ariaLabel" }] : /* istanbul ignore next */ []);
13458
+ hideKeyboardLabel = input("Hide keyboard", ...ngDevMode ? [{ debugName: "hideKeyboardLabel" }] : /* istanbul ignore next */ []);
13459
+ keyboardLabel = input("Show keyboard", ...ngDevMode ? [{ debugName: "keyboardLabel" }] : /* istanbul ignore next */ []);
13200
13460
  noResultsText = input("No results", ...ngDevMode ? [{ debugName: "noResultsText" }] : /* istanbul ignore next */ []);
13201
13461
  searchingText = input("Searching…", ...ngDevMode ? [{ debugName: "searchingText" }] : /* istanbul ignore next */ []);
13202
13462
  errorText = input("Search failed", ...ngDevMode ? [{ debugName: "errorText" }] : /* istanbul ignore next */ []);
@@ -13233,7 +13493,8 @@ var AutocompleteComponent = class AutocompleteComponent {
13233
13493
  fieldClass = computed(() => this.inline() ? cn(inputWrapVariants({
13234
13494
  size: this.size(),
13235
13495
  autoHeight: true
13236
- }), "relative cursor-text") : "relative flex", ...ngDevMode ? [{ debugName: "fieldClass" }] : /* istanbul ignore next */ []);
13496
+ }), "relative cursor-text") : "relative flex [&:has([data-vk])>input]:pe-16!", ...ngDevMode ? [{ debugName: "fieldClass" }] : /* istanbul ignore next */ []);
13497
+ keyboardClass = computed(() => cn("inline-flex size-6 shrink-0 items-center justify-center rounded-(--radius-xs) text-(--font-primary-muted) hover:bg-(--bg-primary-lighter) hover:text-(--font-primary-base) focus-visible:outline-2 focus-visible:outline-solid focus-visible:outline-offset-0 focus-visible:outline-(--stroke-focus)", !this.inline() && "absolute inset-y-0 end-8 my-auto"), ...ngDevMode ? [{ debugName: "keyboardClass" }] : /* istanbul ignore next */ []);
13237
13498
  inputClass = computed(() => this.inline() ? "input-control min-w-24 flex-1" : this.triggerClass, ...ngDevMode ? [{ debugName: "inputClass" }] : /* istanbul ignore next */ []);
13238
13499
  indicatorClass = computed(() => this.inline() ? "pointer-events-none ms-auto flex shrink-0 items-center" : "pointer-events-none absolute inset-y-0 end-(--spacing-xs) flex items-center", ...ngDevMode ? [{ debugName: "indicatorClass" }] : /* istanbul ignore next */ []);
13239
13500
  hostClasses = computed(() => cn(selectWrapVariants({ size: this.size() }), this.class()), ...ngDevMode ? [{ debugName: "hostClasses" }] : /* istanbul ignore next */ []);
@@ -13497,6 +13758,20 @@ var AutocompleteComponent = class AutocompleteComponent {
13497
13758
  isRequired: false,
13498
13759
  transformFunction: null
13499
13760
  },
13761
+ hideKeyboardLabel: {
13762
+ classPropertyName: "hideKeyboardLabel",
13763
+ publicName: "hideKeyboardLabel",
13764
+ isSignal: true,
13765
+ isRequired: false,
13766
+ transformFunction: null
13767
+ },
13768
+ keyboardLabel: {
13769
+ classPropertyName: "keyboardLabel",
13770
+ publicName: "keyboardLabel",
13771
+ isSignal: true,
13772
+ isRequired: false,
13773
+ transformFunction: null
13774
+ },
13500
13775
  noResultsText: {
13501
13776
  classPropertyName: "noResultsText",
13502
13777
  publicName: "noResultsText",
@@ -13662,6 +13937,8 @@ var AutocompleteComponent = class AutocompleteComponent {
13662
13937
  <input
13663
13938
  ngCombobox
13664
13939
  #input
13940
+ virtualKeyboard
13941
+ #vk="virtualKeyboard"
13665
13942
  [class]="inputClass()"
13666
13943
  [id]="id"
13667
13944
  type="text"
@@ -13673,6 +13950,17 @@ var AutocompleteComponent = class AutocompleteComponent {
13673
13950
  (input)="onInput($event)"
13674
13951
  (keydown)="onKeydown($event)"
13675
13952
  (keydown.enter)="onEnter($event)" />
13953
+ @if (vk.applicable()) {
13954
+ <button
13955
+ type="button"
13956
+ data-vk
13957
+ [class]="keyboardClass()"
13958
+ [attr.aria-label]="vk.hidden() ? keyboardLabel() : hideKeyboardLabel()"
13959
+ (mousedown)="$event.preventDefault()"
13960
+ (click)="$event.stopPropagation(); vk.toggle()">
13961
+ <keyboard-icon aria-hidden="true" />
13962
+ </button>
13963
+ }
13676
13964
  @if (loading() || indicator()) {
13677
13965
  <span [class]="indicatorClass()">
13678
13966
  @if (loading()) {
@@ -13854,11 +14142,23 @@ var AutocompleteComponent = class AutocompleteComponent {
13854
14142
  selector: "chevron-down, chevron-down-icon, ChevronDown, ChevronDownIcon",
13855
14143
  inputs: ["class"]
13856
14144
  },
14145
+ {
14146
+ kind: "component",
14147
+ type: KeyboardIcon,
14148
+ selector: "keyboard, keyboard-icon, Keyboard, KeyboardIcon",
14149
+ inputs: ["class"]
14150
+ },
13857
14151
  {
13858
14152
  kind: "component",
13859
14153
  type: SpinnerIcon,
13860
14154
  selector: "spinner, spinner-icon, Spinner, SpinnerIcon",
13861
14155
  inputs: ["class"]
14156
+ },
14157
+ {
14158
+ kind: "directive",
14159
+ type: VirtualKeyboardDirective,
14160
+ selector: "input[virtualKeyboard]",
14161
+ exportAs: ["virtualKeyboard"]
13862
14162
  }
13863
14163
  ]
13864
14164
  });
@@ -13885,7 +14185,9 @@ i0.ɵɵngDeclareClassMetadata({
13885
14185
  TagComponent,
13886
14186
  TagRemoveComponent,
13887
14187
  ChevronDownIcon,
13888
- SpinnerIcon
14188
+ KeyboardIcon,
14189
+ SpinnerIcon,
14190
+ VirtualKeyboardDirective
13889
14191
  ],
13890
14192
  template: `
13891
14193
  @if (fieldLabel(); as l) {
@@ -13906,6 +14208,8 @@ i0.ɵɵngDeclareClassMetadata({
13906
14208
  <input
13907
14209
  ngCombobox
13908
14210
  #input
14211
+ virtualKeyboard
14212
+ #vk="virtualKeyboard"
13909
14213
  [class]="inputClass()"
13910
14214
  [id]="id"
13911
14215
  type="text"
@@ -13917,6 +14221,17 @@ i0.ɵɵngDeclareClassMetadata({
13917
14221
  (input)="onInput($event)"
13918
14222
  (keydown)="onKeydown($event)"
13919
14223
  (keydown.enter)="onEnter($event)" />
14224
+ @if (vk.applicable()) {
14225
+ <button
14226
+ type="button"
14227
+ data-vk
14228
+ [class]="keyboardClass()"
14229
+ [attr.aria-label]="vk.hidden() ? keyboardLabel() : hideKeyboardLabel()"
14230
+ (mousedown)="$event.preventDefault()"
14231
+ (click)="$event.stopPropagation(); vk.toggle()">
14232
+ <keyboard-icon aria-hidden="true" />
14233
+ </button>
14234
+ }
13920
14235
  @if (loading() || indicator()) {
13921
14236
  <span [class]="indicatorClass()">
13922
14237
  @if (loading()) {
@@ -14132,6 +14447,22 @@ i0.ɵɵngDeclareClassMetadata({
14132
14447
  required: false
14133
14448
  }]
14134
14449
  }],
14450
+ hideKeyboardLabel: [{
14451
+ type: i0.Input,
14452
+ args: [{
14453
+ isSignal: true,
14454
+ alias: "hideKeyboardLabel",
14455
+ required: false
14456
+ }]
14457
+ }],
14458
+ keyboardLabel: [{
14459
+ type: i0.Input,
14460
+ args: [{
14461
+ isSignal: true,
14462
+ alias: "keyboardLabel",
14463
+ required: false
14464
+ }]
14465
+ }],
14135
14466
  noResultsText: [{
14136
14467
  type: i0.Input,
14137
14468
  args: [{
@@ -14270,7 +14601,7 @@ i0.ɵɵngDeclareClassMetadata({
14270
14601
  }]
14271
14602
  }
14272
14603
  });
14273
- const buttonVariants = cva([
14604
+ const buttonVariants = /*@__PURE__*/ cva([
14274
14605
  "box-border inline-flex items-center justify-center",
14275
14606
  "rounded-(--radius-2xl) border-[1.5px] border-solid",
14276
14607
  "font-[family-name:var(--family-base,'Hanken_Grotesk'),sans-serif] font-normal tracking-normal",
@@ -14538,7 +14869,7 @@ i0.ɵɵngDeclareClassMetadata({
14538
14869
  });
14539
14870
  const TOGGLE_ICON_CLASS = "toggle-icon";
14540
14871
  const TOGGLE_LABEL_CLASS = "toggle-label";
14541
- const toggleVariants = cva([
14872
+ const toggleVariants = /*@__PURE__*/ cva([
14542
14873
  "relative inline-flex w-fit max-w-full items-center justify-center",
14543
14874
  "cursor-pointer rounded-full border-0 bg-transparent whitespace-nowrap select-none",
14544
14875
  "font-[family-name:var(--family-base,'Hanken_Grotesk'),sans-serif] font-normal",
@@ -14678,7 +15009,7 @@ const toggleVariants = cva([
14678
15009
  showIcon: true
14679
15010
  }
14680
15011
  });
14681
- const toggleGroupVariants = cva(["inline-flex items-center gap-(--spacing-3xs)"], {
15012
+ const toggleGroupVariants = /*@__PURE__*/ cva(["inline-flex items-center gap-(--spacing-3xs)"], {
14682
15013
  variants: { variant: {
14683
15014
  single: "rounded-(--radius-rounded) bg-(--bg-primary-lightest) p-(--spacing-3xs) [.dark_&]:bg-(--bg-primary-lighter)",
14684
15015
  multi: "rounded-(--radius-rounded) border border-(--stroke-primary-lighter) bg-(--bg-neutral-white) px-(--spacing-xl) py-(--spacing-2xs) shadow-(--shadow-1) [.dark_&]:border-(--stroke-primary-light)"
@@ -15375,7 +15706,90 @@ i0.ɵɵngDeclareClassMetadata({
15375
15706
  }]
15376
15707
  }
15377
15708
  });
15378
- const kbdVariants = cva([
15709
+ const NAVIGATION_KEYS = /* @__PURE__ */ new Set([
15710
+ "Tab",
15711
+ "ArrowUp",
15712
+ "ArrowDown",
15713
+ "ArrowLeft",
15714
+ "ArrowRight",
15715
+ "Home",
15716
+ "End",
15717
+ "PageUp",
15718
+ "PageDown",
15719
+ "Escape"
15720
+ ]);
15721
+ const FOCUS_COLOR_VARIABLE = "--stroke-focus";
15722
+ var InputModalityService = class InputModalityService {
15723
+ current = signal("pointer", ...ngDevMode ? [{ debugName: "current" }] : /* istanbul ignore next */ []);
15724
+ modality = this.current.asReadonly();
15725
+ constructor() {
15726
+ if (typeof document === "undefined") return;
15727
+ this.set(window.matchMedia?.("(pointer: coarse)")?.matches ? "touch" : "pointer");
15728
+ const onPointerDown = (event) => {
15729
+ const type = event.pointerType;
15730
+ this.set(type === "mouse" ? "pointer" : "touch");
15731
+ };
15732
+ const onKeyDown = (event) => {
15733
+ const { key, ctrlKey, metaKey, altKey } = event;
15734
+ if (NAVIGATION_KEYS.has(key) || ctrlKey || metaKey || altKey) this.set("keyboard");
15735
+ };
15736
+ document.addEventListener("pointerdown", onPointerDown, {
15737
+ capture: true,
15738
+ passive: true
15739
+ });
15740
+ document.addEventListener("keydown", onKeyDown, {
15741
+ capture: true,
15742
+ passive: true
15743
+ });
15744
+ inject(DestroyRef).onDestroy(() => {
15745
+ document.removeEventListener("pointerdown", onPointerDown, { capture: true });
15746
+ document.removeEventListener("keydown", onKeyDown, { capture: true });
15747
+ document.documentElement.style.removeProperty(FOCUS_COLOR_VARIABLE);
15748
+ document.documentElement.removeAttribute("data-input-modality");
15749
+ });
15750
+ }
15751
+ set(modality) {
15752
+ this.current.set(modality);
15753
+ const root = document.documentElement;
15754
+ root.setAttribute("data-input-modality", modality);
15755
+ if (modality === "touch") root.style.setProperty(FOCUS_COLOR_VARIABLE, "transparent");
15756
+ else root.style.removeProperty(FOCUS_COLOR_VARIABLE);
15757
+ }
15758
+ static ɵfac = i0.ɵɵngDeclareFactory({
15759
+ minVersion: "12.0.0",
15760
+ version: "22.2.1",
15761
+ ngImport: i0,
15762
+ type: InputModalityService,
15763
+ deps: [],
15764
+ target: i0.ɵɵFactoryTarget.Service
15765
+ });
15766
+ static ɵprov = i0.ɵɵngDeclareService({
15767
+ minVersion: "22.0.0",
15768
+ version: "22.2.1",
15769
+ ngImport: i0,
15770
+ type: InputModalityService
15771
+ });
15772
+ };
15773
+ i0.ɵɵngDeclareClassMetadata({
15774
+ minVersion: "12.0.0",
15775
+ version: "22.2.1",
15776
+ ngImport: i0,
15777
+ type: InputModalityService,
15778
+ decorators: [{ type: Service }],
15779
+ ctorParameters: () => []
15780
+ });
15781
+ const INPUT_MODALITY = new InjectionToken("INPUT_MODALITY");
15782
+ function injectKeyboardAvailable() {
15783
+ const modality = inject(INPUT_MODALITY, { optional: true });
15784
+ return computed(() => (modality?.() ?? "pointer") !== "touch");
15785
+ }
15786
+ function provideInputModality() {
15787
+ return makeEnvironmentProviders([{
15788
+ provide: INPUT_MODALITY,
15789
+ useFactory: () => inject(InputModalityService).modality
15790
+ }, provideEnvironmentInitializer(() => void inject(InputModalityService))]);
15791
+ }
15792
+ const kbdVariants = /*@__PURE__*/ cva([
15379
15793
  "pointer-events-none inline-flex w-fit items-center justify-center gap-(--spacing-4xs) select-none",
15380
15794
  "border border-solid text-(--font-neutral-base)",
15381
15795
  "border-[color-mix(in_srgb,var(--bg-neutral-base),black_15%)] bg-(--bg-neutral-base)",
@@ -15517,7 +15931,7 @@ const LIST_ITEM_CHEVRON_RIGHT_CLASS = "list-item-chevron-right";
15517
15931
  function getListDepthStyle(depth = 0) {
15518
15932
  return depth > 0 ? { paddingLeft: `calc(var(--spacing-2xs) + ${depth} * 20px)` } : void 0;
15519
15933
  }
15520
- const listItemVariants = cva([
15934
+ const listItemVariants = /*@__PURE__*/ cva([
15521
15935
  "relative box-border flex w-full items-center gap-(--spacing-2xs)",
15522
15936
  "rounded-(--radius-sm) px-(--spacing-2xs) py-(--spacing-3xs)",
15523
15937
  "bg-transparent",
@@ -15549,6 +15963,7 @@ const listItemVariants = cva([
15549
15963
  "has-[.list-item-action-hint]:focus-visible:[&_.list-item-action-hint]:col-start-1 has-[.list-item-action-hint]:focus-visible:[&_.list-item-action-hint]:row-span-1 has-[.list-item-action-hint]:focus-visible:[&_.list-item-action-hint]:row-start-2 has-[.list-item-action-hint]:focus-visible:[&_.list-item-action-hint]:self-start",
15550
15964
  "focus-visible:[&_.list-item-icon-right]:text-(--font-error-base)",
15551
15965
  "hover:[&_.list-item-icon-right]:opacity-100 focus-visible:[&_.list-item-icon-right]:opacity-100 active:[&_.list-item-icon-right]:opacity-100 aria-selected:[&_.list-item-icon-right]:opacity-100",
15966
+ "pointer-coarse:[&_.list-item-icon-right]:min-h-8 pointer-coarse:[&_.list-item-icon-right]:min-w-8 pointer-coarse:[&_.list-item-icon-right]:opacity-100",
15552
15967
  "[&_.list-item-icon-right:hover]:bg-(--bg-error-lightest) [&_.list-item-icon-right:hover]:text-(--font-error-base)",
15553
15968
  "[&_.list-item-chevron-right]:inline-flex [&_.list-item-chevron-right]:shrink-0 [&_.list-item-chevron-right]:items-center [&_.list-item-chevron-right]:justify-center [&_.list-item-chevron-right]:text-(length:--icon-sm) [&_.list-item-chevron-right]:text-(--font-secondary-base-alt) [&_.list-item-chevron-right]:transition-transform [&_.list-item-chevron-right]:duration-150 [&_.list-item-chevron-right]:ease-out",
15554
15969
  "hover:[&_.list-item-chevron-right]:translate-x-0.5"
@@ -16005,6 +16420,7 @@ i0.ɵɵngDeclareClassMetadata({
16005
16420
  }] }
16006
16421
  });
16007
16422
  var ListItemActionComponent = class ListItemActionComponent {
16423
+ keyboardAvailable = injectKeyboardAvailable();
16008
16424
  ariaLabel = input(...ngDevMode ? [void 0, { debugName: "ariaLabel" }] : /* istanbul ignore next */ []);
16009
16425
  disabled = input(false, {
16010
16426
  ...ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {},
@@ -16122,8 +16538,10 @@ var ListItemActionComponent = class ListItemActionComponent {
16122
16538
  <ng-content />
16123
16539
  </span>
16124
16540
  <!-- Seconde ligne de la ligne, visible au focus clavier seulement (voir le CVA). Enfant direct de la
16125
- ligne, l'hôte de ce composant étant en display: contents. -->
16126
- @if (description() && !disabled()) {
16541
+ ligne, l'hôte de ce composant étant en display: contents. Absente quand la page se pilote au doigt
16542
+ (provideInputModality) : « Appuyez sur Suppr » n'a pas de sens sans clavier, et la phrase masquée
16543
+ reliée par aria-describedby, elle, reste pour les lecteurs d'écran. -->
16544
+ @if (description() && !disabled() && keyboardAvailable()) {
16127
16545
  <span [class]="hintClass" aria-hidden="true">
16128
16546
  <span>
16129
16547
  {{ hint().before }}
@@ -16205,8 +16623,10 @@ i0.ɵɵngDeclareClassMetadata({
16205
16623
  <ng-content />
16206
16624
  </span>
16207
16625
  <!-- Seconde ligne de la ligne, visible au focus clavier seulement (voir le CVA). Enfant direct de la
16208
- ligne, l'hôte de ce composant étant en display: contents. -->
16209
- @if (description() && !disabled()) {
16626
+ ligne, l'hôte de ce composant étant en display: contents. Absente quand la page se pilote au doigt
16627
+ (provideInputModality) : « Appuyez sur Suppr » n'a pas de sens sans clavier, et la phrase masquée
16628
+ reliée par aria-describedby, elle, reste pour les lecteurs d'écran. -->
16629
+ @if (description() && !disabled() && keyboardAvailable()) {
16210
16630
  <span [class]="hintClass" aria-hidden="true">
16211
16631
  <span>
16212
16632
  {{ hint().before }}
@@ -16512,7 +16932,7 @@ i0.ɵɵngDeclareClassMetadata({
16512
16932
  }] }
16513
16933
  });
16514
16934
  const TREE_ITEM_EXPANDER_CLASS = "tree-item-expander";
16515
- const treeItemVariants = cva([
16935
+ const treeItemVariants = /*@__PURE__*/ cva([
16516
16936
  "box-border flex w-full cursor-pointer items-center gap-(--spacing-2xs) select-none",
16517
16937
  "rounded-(--radius-sm) px-(--spacing-2xs) py-(--spacing-3xs)",
16518
16938
  "bg-transparent",
@@ -17185,7 +17605,7 @@ i0.ɵɵngDeclareClassMetadata({
17185
17605
  }]
17186
17606
  }] }
17187
17607
  });
17188
- const switchRootVariants = cva([
17608
+ const switchRootVariants = /*@__PURE__*/ cva([
17189
17609
  "relative inline-flex min-h-(--switch-hitbox) cursor-pointer items-center gap-2 select-none [--switch-hitbox:2.75rem]",
17190
17610
  "has-disabled:cursor-not-allowed",
17191
17611
  "[&_.switch-input]:absolute [&_.switch-input]:-m-px [&_.switch-input]:h-px [&_.switch-input]:w-px [&_.switch-input]:overflow-hidden [&_.switch-input]:border-0 [&_.switch-input]:p-0 [&_.switch-input]:whitespace-nowrap [&_.switch-input]:[clip:rect(0,0,0,0)]",
@@ -17220,8 +17640,6 @@ const switchRootVariants = cva([
17220
17640
  } },
17221
17641
  defaultVariants: { size: "small" }
17222
17642
  });
17223
- cva("switch-track");
17224
- cva("switch-thumb");
17225
17643
  var SwitchComponent = class SwitchComponent {
17226
17644
  checked = model(false, ...ngDevMode ? [{ debugName: "checked" }] : /* istanbul ignore next */ []);
17227
17645
  disabled = input(false, {
@@ -17494,7 +17912,7 @@ i0.ɵɵngDeclareClassMetadata({
17494
17912
  }]
17495
17913
  }
17496
17914
  });
17497
- const checkboxRootVariants = cva([
17915
+ const checkboxRootVariants = /*@__PURE__*/ cva([
17498
17916
  "relative inline-flex cursor-pointer items-start gap-(--spacing-xs) select-none",
17499
17917
  "has-disabled:cursor-not-allowed",
17500
17918
  "[&_.checkbox-hitbox]:inline-flex [&_.checkbox-hitbox]:h-4.5 [&_.checkbox-hitbox]:w-4.5 [&_.checkbox-hitbox]:shrink-0 [&_.checkbox-hitbox]:items-center [&_.checkbox-hitbox]:justify-center [&_.checkbox-hitbox]:rounded-(--radius-xs)",
@@ -17769,7 +18187,7 @@ i0.ɵɵngDeclareClassMetadata({
17769
18187
  }]
17770
18188
  }
17771
18189
  });
17772
- const radioRootVariants = cva([
18190
+ const radioRootVariants = /*@__PURE__*/ cva([
17773
18191
  "relative inline-flex cursor-pointer gap-(--spacing-xs) select-none",
17774
18192
  "has-[:disabled]:cursor-not-allowed",
17775
18193
  "[&_.radio-input]:absolute [&_.radio-input]:-m-px [&_.radio-input]:h-px [&_.radio-input]:w-px [&_.radio-input]:overflow-hidden [&_.radio-input]:border-0 [&_.radio-input]:p-0 [&_.radio-input]:whitespace-nowrap [&_.radio-input]:[clip:rect(0,0,0,0)]",
@@ -18877,7 +19295,7 @@ i0.ɵɵngDeclareClassMetadata({
18877
19295
  function escapeForClass(chars) {
18878
19296
  return chars.replace(/[\\\]^-]/g, "\\$&");
18879
19297
  }
18880
- const badgeVariants = cva(["inline-flex shrink-0 items-center justify-center overflow-hidden rounded-full"], {
19298
+ const badgeVariants = /*@__PURE__*/ cva(["inline-flex shrink-0 items-center justify-center overflow-hidden rounded-full"], {
18881
19299
  variants: {
18882
19300
  variant: {
18883
19301
  icon: "aspect-square",
@@ -19202,7 +19620,7 @@ i0.ɵɵngDeclareClassMetadata({
19202
19620
  }]
19203
19621
  }
19204
19622
  });
19205
- const bulletVariants = cva("inline-block shrink-0 rounded-(--radius-rounded)", {
19623
+ const bulletVariants = /*@__PURE__*/ cva("inline-block shrink-0 rounded-(--radius-rounded)", {
19206
19624
  variants: {
19207
19625
  scheme: {
19208
19626
  sage: "",
@@ -19518,7 +19936,7 @@ i0.ɵɵngDeclareClassMetadata({
19518
19936
  }]
19519
19937
  }
19520
19938
  });
19521
- const avatarVariants = cva([
19939
+ const avatarVariants = /*@__PURE__*/ cva([
19522
19940
  "inline-flex shrink-0 items-center justify-center overflow-hidden",
19523
19941
  "rounded-(--radius-rounded)",
19524
19942
  "font-[family-name:var(--family-base,'Hanken_Grotesk'),sans-serif] select-none",
@@ -20138,7 +20556,7 @@ i0.ɵɵngDeclareClassMetadata({
20138
20556
  }
20139
20557
  });
20140
20558
  const LINK_LABEL_CLASS = "link-label";
20141
- const linkVariants = cva([
20559
+ const linkVariants = /*@__PURE__*/ cva([
20142
20560
  "box-border inline-flex items-center gap-(--spacing-3xs) p-0",
20143
20561
  "rounded-(--radius-xs) border-0 bg-transparent",
20144
20562
  "text-(--font-secondary-base-alt)",
@@ -20182,7 +20600,7 @@ const linkVariants = cva([
20182
20600
  openWindow: false
20183
20601
  }
20184
20602
  });
20185
- const linkIconVariants = cva("inline-flex shrink-0 items-center justify-center", {
20603
+ const linkIconVariants = /*@__PURE__*/ cva("inline-flex shrink-0 items-center justify-center", {
20186
20604
  variants: {
20187
20605
  size: {
20188
20606
  sm: "",
@@ -20507,7 +20925,7 @@ i0.ɵɵngDeclareClassMetadata({
20507
20925
  const TEXTAREA_CONTROL_CLASS = "textarea-control";
20508
20926
  const TEXTAREA_COUNTER_CLASS = "textarea-counter";
20509
20927
  const TEXTAREA_LINE_HEIGHT = 1.4;
20510
- const textareaWrapVariants = cva([
20928
+ const textareaWrapVariants = /*@__PURE__*/ cva([
20511
20929
  "box-border flex w-full flex-col gap-(--spacing-3xs)",
20512
20930
  "border border-solid bg-(--bg-neutral-white)",
20513
20931
  "transition-[border-color,background-color,outline-color] duration-150 ease-[ease] motion-reduce:transition-none",
@@ -20930,6 +21348,22 @@ const CONTROL_ATTRIBUTES$1 = `
20930
21348
  (blur)="touch.emit()"
20931
21349
  [attr.aria-label]="ariaLabel()"
20932
21350
  [attr.aria-keyshortcuts]="hotkey()"`;
21351
+ const KEYBOARD_BUTTON$1 = `
21352
+ @if (vk.applicable()) {
21353
+ <button
21354
+ input-icon-right
21355
+ variant="tertiary"
21356
+ scheme="neutral"
21357
+ [iconOnly]="true"
21358
+ [size]="buttonSize()"
21359
+ type="button"
21360
+ [attr.aria-label]="vk.hidden() ? keyboardLabel() : hideKeyboardLabel()"
21361
+ (mousedown)="$event.preventDefault()"
21362
+ (click)="vk.toggle()">
21363
+ <KeyboardIcon [class]="iconClass()" aria-hidden="true" />
21364
+ </button>
21365
+ }
21366
+ `;
20933
21367
  const AFTER_CONTROL$1 = `
20934
21368
  <button
20935
21369
  input-icon-right
@@ -20981,6 +21415,8 @@ var SearchInputBase = class SearchInputBase {
20981
21415
  alias: "aria-label"
20982
21416
  });
20983
21417
  hotkey = input(...ngDevMode ? [void 0, { debugName: "hotkey" }] : /* istanbul ignore next */ []);
21418
+ hideKeyboardLabel = input("Hide keyboard", ...ngDevMode ? [{ debugName: "hideKeyboardLabel" }] : /* istanbul ignore next */ []);
21419
+ keyboardLabel = input("Show keyboard", ...ngDevMode ? [{ debugName: "keyboardLabel" }] : /* istanbul ignore next */ []);
20984
21420
  clearLabel = input("Clear search", ...ngDevMode ? [{ debugName: "clearLabel" }] : /* istanbul ignore next */ []);
20985
21421
  class = input(...ngDevMode ? [void 0, { debugName: "class" }] : /* istanbul ignore next */ []);
20986
21422
  size = input("md", ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
@@ -21063,6 +21499,20 @@ var SearchInputBase = class SearchInputBase {
21063
21499
  isRequired: false,
21064
21500
  transformFunction: null
21065
21501
  },
21502
+ hideKeyboardLabel: {
21503
+ classPropertyName: "hideKeyboardLabel",
21504
+ publicName: "hideKeyboardLabel",
21505
+ isSignal: true,
21506
+ isRequired: false,
21507
+ transformFunction: null
21508
+ },
21509
+ keyboardLabel: {
21510
+ classPropertyName: "keyboardLabel",
21511
+ publicName: "keyboardLabel",
21512
+ isSignal: true,
21513
+ isRequired: false,
21514
+ transformFunction: null
21515
+ },
21066
21516
  clearLabel: {
21067
21517
  classPropertyName: "clearLabel",
21068
21518
  publicName: "clearLabel",
@@ -21192,23 +21642,39 @@ i0.ɵɵngDeclareClassMetadata({
21192
21642
  required: false
21193
21643
  }]
21194
21644
  }],
21195
- clearLabel: [{
21645
+ hideKeyboardLabel: [{
21196
21646
  type: i0.Input,
21197
21647
  args: [{
21198
21648
  isSignal: true,
21199
- alias: "clearLabel",
21649
+ alias: "hideKeyboardLabel",
21200
21650
  required: false
21201
21651
  }]
21202
21652
  }],
21203
- class: [{
21653
+ keyboardLabel: [{
21204
21654
  type: i0.Input,
21205
21655
  args: [{
21206
21656
  isSignal: true,
21207
- alias: "class",
21657
+ alias: "keyboardLabel",
21208
21658
  required: false
21209
21659
  }]
21210
21660
  }],
21211
- size: [{
21661
+ clearLabel: [{
21662
+ type: i0.Input,
21663
+ args: [{
21664
+ isSignal: true,
21665
+ alias: "clearLabel",
21666
+ required: false
21667
+ }]
21668
+ }],
21669
+ class: [{
21670
+ type: i0.Input,
21671
+ args: [{
21672
+ isSignal: true,
21673
+ alias: "class",
21674
+ required: false
21675
+ }]
21676
+ }],
21677
+ size: [{
21212
21678
  type: i0.Input,
21213
21679
  args: [{
21214
21680
  isSignal: true,
@@ -21371,7 +21837,7 @@ var SearchInputSuggestionsComponent = class SearchInputSuggestionsComponent exte
21371
21837
  target: i0.ɵɵFactoryTarget.Component
21372
21838
  });
21373
21839
  static ɵcmp = i0.ɵɵngDeclareComponent({
21374
- minVersion: "17.2.0",
21840
+ minVersion: "17.0.0",
21375
21841
  version: "22.2.1",
21376
21842
  type: SearchInputSuggestionsComponent,
21377
21843
  isStandalone: true,
@@ -21385,7 +21851,7 @@ var SearchInputSuggestionsComponent = class SearchInputSuggestionsComponent exte
21385
21851
  }],
21386
21852
  usesInheritance: true,
21387
21853
  ngImport: i0,
21388
- template: "\n <input-group [size]=\"size()\" [textSize]=\"textSize()\" [class]=\"cn('group/search', class())\">\n <span input-icon-left>\n <SearchIcon [class]=\"searchIconClass()\" />\n </span>\n <input\n ngCombobox \n input-control\n #search\n type=\"search\"\n spellcheck=\"false\"\n autocapitalize=\"off\"\n autocomplete=\"off\"\n autocorrect=\"off\"\n [placeholder]=\"placeholder()\"\n [attr.aria-required]=\"required() || null\"\n [attr.aria-invalid]=\"invalid() || null\"\n (blur)=\"touch.emit()\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-keyshortcuts]=\"hotkey()\" \n [disabled]=\"disabled()\"\n [readOnly]=\"readonly()\"\n [(value)]=\"value\" />\n <button\n input-icon-right\n variant=\"tertiary\"\n scheme=\"neutral\"\n [iconOnly]=\"true\"\n [size]=\"buttonSize()\"\n type=\"button\"\n [class]=\"value()\n ? 'rotate-90 opacity-100 transition-[rotate,opacity] duration-500'\n : 'rotate-0 opacity-0 pointer-events-none transition-[rotate,opacity] duration-500'\"\n [tabindex]=\"value() ? 0 : -1\"\n [attr.aria-label]=\"clearLabel()\"\n [tooltip]=\"clearLabel()\"\n (keydown.enter)=\"clearSearch($event)\"\n (click)=\"clearSearch($event)\">\n <XMarkIcon [class]=\"iconClass()\" />\n <span class=\"sr-only\">{{ clearLabel() }}</span>\n </button>\n <ng-content />\n </input-group>\n ",
21854
+ template: "\n <input-group [size]=\"size()\" [textSize]=\"textSize()\" [class]=\"cn('group/search', class())\">\n <span input-icon-left>\n <SearchIcon [class]=\"searchIconClass()\" />\n </span>\n <input\n ngCombobox virtualKeyboard #vk=\"virtualKeyboard\" \n input-control\n #search\n type=\"search\"\n spellcheck=\"false\"\n autocapitalize=\"off\"\n autocomplete=\"off\"\n autocorrect=\"off\"\n [placeholder]=\"placeholder()\"\n [attr.aria-required]=\"required() || null\"\n [attr.aria-invalid]=\"invalid() || null\"\n (blur)=\"touch.emit()\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-keyshortcuts]=\"hotkey()\" \n [disabled]=\"disabled()\"\n [readOnly]=\"readonly()\"\n [(value)]=\"value\" />\n @if (vk.applicable()) {\n <button\n input-icon-right\n variant=\"tertiary\"\n scheme=\"neutral\"\n [iconOnly]=\"true\"\n [size]=\"buttonSize()\"\n type=\"button\"\n [attr.aria-label]=\"vk.hidden() ? keyboardLabel() : hideKeyboardLabel()\"\n (mousedown)=\"$event.preventDefault()\"\n (click)=\"vk.toggle()\">\n <KeyboardIcon [class]=\"iconClass()\" aria-hidden=\"true\" />\n </button>\n }\n\n <button\n input-icon-right\n variant=\"tertiary\"\n scheme=\"neutral\"\n [iconOnly]=\"true\"\n [size]=\"buttonSize()\"\n type=\"button\"\n [class]=\"value()\n ? 'rotate-90 opacity-100 transition-[rotate,opacity] duration-500'\n : 'rotate-0 opacity-0 pointer-events-none transition-[rotate,opacity] duration-500'\"\n [tabindex]=\"value() ? 0 : -1\"\n [attr.aria-label]=\"clearLabel()\"\n [tooltip]=\"clearLabel()\"\n (keydown.enter)=\"clearSearch($event)\"\n (click)=\"clearSearch($event)\">\n <XMarkIcon [class]=\"iconClass()\" />\n <span class=\"sr-only\">{{ clearLabel() }}</span>\n </button>\n <ng-content />\n </input-group>\n ",
21389
21855
  isInline: true,
21390
21856
  dependencies: [
21391
21857
  {
@@ -21486,6 +21952,18 @@ var SearchInputSuggestionsComponent = class SearchInputSuggestionsComponent exte
21486
21952
  ],
21487
21953
  outputs: ["expandedChange", "valueChange"],
21488
21954
  exportAs: ["ngCombobox"]
21955
+ },
21956
+ {
21957
+ kind: "component",
21958
+ type: KeyboardIcon,
21959
+ selector: "keyboard, keyboard-icon, Keyboard, KeyboardIcon",
21960
+ inputs: ["class"]
21961
+ },
21962
+ {
21963
+ kind: "directive",
21964
+ type: VirtualKeyboardDirective,
21965
+ selector: "input[virtualKeyboard]",
21966
+ exportAs: ["virtualKeyboard"]
21489
21967
  }
21490
21968
  ]
21491
21969
  });
@@ -21500,11 +21978,16 @@ i0.ɵɵngDeclareClassMetadata({
21500
21978
  args: [{
21501
21979
  selector: "SearchInput[suggestions], search-input[suggestions], searchinput[suggestions]",
21502
21980
  standalone: true,
21503
- imports: [...SEARCH_INPUT_IMPORTS, Combobox],
21981
+ imports: [
21982
+ ...SEARCH_INPUT_IMPORTS,
21983
+ Combobox,
21984
+ KeyboardIcon,
21985
+ VirtualKeyboardDirective
21986
+ ],
21504
21987
  template: `${BEFORE_CONTROL$1}
21505
21988
  <input
21506
- ngCombobox ${CONTROL_ATTRIBUTES$1} ${STATE_ATTRIBUTES$1}
21507
- [(value)]="value" />${AFTER_CONTROL$1}
21989
+ ngCombobox virtualKeyboard #vk="virtualKeyboard" ${CONTROL_ATTRIBUTES$1} ${STATE_ATTRIBUTES$1}
21990
+ [(value)]="value" />${KEYBOARD_BUTTON$1}${AFTER_CONTROL$1}
21508
21991
  `
21509
21992
  }]
21510
21993
  }],
@@ -21515,7 +21998,7 @@ i0.ɵɵngDeclareClassMetadata({
21515
21998
  });
21516
21999
  const SB_ICON_CLASS = "sb-icon";
21517
22000
  const SB_INPUT_CLASS = "sb-input";
21518
- const searchBarVariants = cva([
22001
+ const searchBarVariants = /*@__PURE__*/ cva([
21519
22002
  "box-border inline-flex cursor-text items-center bg-(--bg-neutral-white)",
21520
22003
  "rounded-(--radius-rounded) border border-solid border-(--stroke-primary-muted)",
21521
22004
  "transition-[border-color,background] duration-120 ease-[ease] motion-reduce:transition-none",
@@ -21569,6 +22052,22 @@ const CONTROL_ATTRIBUTES = `
21569
22052
  [attr.aria-label]="ariaLabel()"
21570
22053
  [attr.aria-keyshortcuts]="hotkey()"
21571
22054
  (search)="$event.stopPropagation()"`;
22055
+ const KEYBOARD_BUTTON = `
22056
+ @if (vk.applicable()) {
22057
+ <button
22058
+ variant="tertiary"
22059
+ scheme="neutral"
22060
+ [iconOnly]="true"
22061
+ [size]="buttonSize()"
22062
+ type="button"
22063
+ [disabled]="disabled()"
22064
+ [attr.aria-label]="vk.hidden() ? keyboardLabel() : hideKeyboardLabel()"
22065
+ (mousedown)="$event.preventDefault()"
22066
+ (click)="vk.toggle()">
22067
+ <KeyboardIcon [class]="iconClass()" aria-hidden="true" />
22068
+ </button>
22069
+ }
22070
+ `;
21572
22071
  const AFTER_CONTROL = `
21573
22072
  <button
21574
22073
  variant="tertiary"
@@ -21630,6 +22129,8 @@ var SearchBarBase = class SearchBarBase {
21630
22129
  ...ngDevMode ? { debugName: "ariaLabel" } : /* istanbul ignore next */ {},
21631
22130
  alias: "aria-label"
21632
22131
  });
22132
+ hideKeyboardLabel = input("Hide keyboard", ...ngDevMode ? [{ debugName: "hideKeyboardLabel" }] : /* istanbul ignore next */ []);
22133
+ keyboardLabel = input("Show keyboard", ...ngDevMode ? [{ debugName: "keyboardLabel" }] : /* istanbul ignore next */ []);
21633
22134
  clearLabel = input("Clear search", ...ngDevMode ? [{ debugName: "clearLabel" }] : /* istanbul ignore next */ []);
21634
22135
  sendLabel = input("Send", ...ngDevMode ? [{ debugName: "sendLabel" }] : /* istanbul ignore next */ []);
21635
22136
  disabled = input(false, {
@@ -21711,6 +22212,20 @@ var SearchBarBase = class SearchBarBase {
21711
22212
  isRequired: false,
21712
22213
  transformFunction: null
21713
22214
  },
22215
+ hideKeyboardLabel: {
22216
+ classPropertyName: "hideKeyboardLabel",
22217
+ publicName: "hideKeyboardLabel",
22218
+ isSignal: true,
22219
+ isRequired: false,
22220
+ transformFunction: null
22221
+ },
22222
+ keyboardLabel: {
22223
+ classPropertyName: "keyboardLabel",
22224
+ publicName: "keyboardLabel",
22225
+ isSignal: true,
22226
+ isRequired: false,
22227
+ transformFunction: null
22228
+ },
21714
22229
  clearLabel: {
21715
22230
  classPropertyName: "clearLabel",
21716
22231
  publicName: "clearLabel",
@@ -21836,6 +22351,22 @@ i0.ɵɵngDeclareClassMetadata({
21836
22351
  required: false
21837
22352
  }]
21838
22353
  }],
22354
+ hideKeyboardLabel: [{
22355
+ type: i0.Input,
22356
+ args: [{
22357
+ isSignal: true,
22358
+ alias: "hideKeyboardLabel",
22359
+ required: false
22360
+ }]
22361
+ }],
22362
+ keyboardLabel: [{
22363
+ type: i0.Input,
22364
+ args: [{
22365
+ isSignal: true,
22366
+ alias: "keyboardLabel",
22367
+ required: false
22368
+ }]
22369
+ }],
21839
22370
  clearLabel: [{
21840
22371
  type: i0.Input,
21841
22372
  args: [{
@@ -22047,7 +22578,7 @@ var SearchBarSuggestionsComponent = class SearchBarSuggestionsComponent extends
22047
22578
  }],
22048
22579
  usesInheritance: true,
22049
22580
  ngImport: i0,
22050
- template: "\n <span class=\"sb-icon\">\n <SearchIcon [class]=\"searchIconClass()\" />\n </span>\n <input\n ngCombobox \n class=\"sb-input\"\n [class]=\"searchNativeReset\"\n #search\n type=\"search\"\n spellcheck=\"false\"\n autocapitalize=\"off\"\n autocomplete=\"off\"\n autocorrect=\"off\"\n [placeholder]=\"placeholder()\"\n [attr.aria-required]=\"required() || null\"\n [attr.aria-invalid]=\"invalid() || null\"\n (blur)=\"touch.emit()\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-keyshortcuts]=\"hotkey()\"\n (search)=\"$event.stopPropagation()\" \n [disabled]=\"disabled()\"\n [readOnly]=\"readonly()\"\n [(value)]=\"value\" />\n <button\n variant=\"tertiary\"\n scheme=\"neutral\"\n [iconOnly]=\"true\"\n [size]=\"buttonSize()\"\n type=\"button\"\n [disabled]=\"disabled()\"\n [class]=\"value()\n ? 'rotate-90 opacity-100 transition-[rotate,opacity] duration-500'\n : 'rotate-0 opacity-0 pointer-events-none transition-[rotate,opacity] duration-500'\"\n [tabindex]=\"value() && !disabled() ? 0 : -1\"\n [attr.aria-label]=\"clearLabel()\"\n [tooltip]=\"clearLabel()\"\n (keydown.enter)=\"clearSearch($event)\"\n (click)=\"clearSearch($event)\">\n <XMarkIcon [class]=\"iconClass()\" aria-hidden=\"true\" />\n <span class=\"sr-only\">{{ clearLabel() }}</span>\n </button>\n <!-- Actions applicatives (favori, filtre rapide…) : le slot par défaut est ici, entre « clear »\n et « send », parce que c'est la place naturelle d'une action liée à la requête. Ce qui doit\n rester APRÈS le bouton d'envoi porte slot=\"trailing\" (voir plus bas). -->\n <ng-content />\n <button\n [variant]=\"isHero() ? 'primary' : 'tertiary'\"\n [scheme]=\"isHero() ? 'default' : 'neutral'\"\n [iconOnly]=\"true\"\n [size]=\"buttonSize()\"\n type=\"button\"\n [disabled]=\"disabled()\"\n [class]=\"sendClass()\"\n [tabindex]=\"(value() || isHero()) && !disabled() ? 0 : -1\"\n [attr.aria-label]=\"sendLabel()\"\n [tooltip]=\"sendLabel()\"\n (keydown.enter)=\"emitSearch($event)\"\n (click)=\"emitSearch($event)\">\n @if (isHero()) {\n <SearchIcon [class]=\"iconClass()\" aria-hidden=\"true\" />\n } @else {\n <SendHorizontalIcon [class]=\"iconClass()\" aria-hidden=\"true\" />\n }\n <span class=\"sr-only\">{{ sendLabel() }}</span>\n </button>\n <!-- Zone de fin de pilule, après le bouton d'envoi (CTA du type « Ask AI »…).\n ⚠️ Le contenu d'un bloc @if ne peut pas atteindre ce slot : la projection ne teste que les\n enfants directs de l'hôte, et le nœud d'un @if ne porte aucun attribut — il retombe donc\n dans le slot par défaut. Envelopper alors le bloc dans un <ng-container slot=\"trailing\">. -->\n <ng-content select=\"[slot='trailing']\" />\n",
22581
+ template: "\n <span class=\"sb-icon\">\n <SearchIcon [class]=\"searchIconClass()\" />\n </span>\n <input\n ngCombobox virtualKeyboard #vk=\"virtualKeyboard\" \n class=\"sb-input\"\n [class]=\"searchNativeReset\"\n #search\n type=\"search\"\n spellcheck=\"false\"\n autocapitalize=\"off\"\n autocomplete=\"off\"\n autocorrect=\"off\"\n [placeholder]=\"placeholder()\"\n [attr.aria-required]=\"required() || null\"\n [attr.aria-invalid]=\"invalid() || null\"\n (blur)=\"touch.emit()\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-keyshortcuts]=\"hotkey()\"\n (search)=\"$event.stopPropagation()\" \n [disabled]=\"disabled()\"\n [readOnly]=\"readonly()\"\n [(value)]=\"value\" />\n @if (vk.applicable()) {\n <button\n variant=\"tertiary\"\n scheme=\"neutral\"\n [iconOnly]=\"true\"\n [size]=\"buttonSize()\"\n type=\"button\"\n [disabled]=\"disabled()\"\n [attr.aria-label]=\"vk.hidden() ? keyboardLabel() : hideKeyboardLabel()\"\n (mousedown)=\"$event.preventDefault()\"\n (click)=\"vk.toggle()\">\n <KeyboardIcon [class]=\"iconClass()\" aria-hidden=\"true\" />\n </button>\n }\n\n <button\n variant=\"tertiary\"\n scheme=\"neutral\"\n [iconOnly]=\"true\"\n [size]=\"buttonSize()\"\n type=\"button\"\n [disabled]=\"disabled()\"\n [class]=\"value()\n ? 'rotate-90 opacity-100 transition-[rotate,opacity] duration-500'\n : 'rotate-0 opacity-0 pointer-events-none transition-[rotate,opacity] duration-500'\"\n [tabindex]=\"value() && !disabled() ? 0 : -1\"\n [attr.aria-label]=\"clearLabel()\"\n [tooltip]=\"clearLabel()\"\n (keydown.enter)=\"clearSearch($event)\"\n (click)=\"clearSearch($event)\">\n <XMarkIcon [class]=\"iconClass()\" aria-hidden=\"true\" />\n <span class=\"sr-only\">{{ clearLabel() }}</span>\n </button>\n <!-- Actions applicatives (favori, filtre rapide…) : le slot par défaut est ici, entre « clear »\n et « send », parce que c'est la place naturelle d'une action liée à la requête. Ce qui doit\n rester APRÈS le bouton d'envoi porte slot=\"trailing\" (voir plus bas). -->\n <ng-content />\n <button\n [variant]=\"isHero() ? 'primary' : 'tertiary'\"\n [scheme]=\"isHero() ? 'default' : 'neutral'\"\n [iconOnly]=\"true\"\n [size]=\"buttonSize()\"\n type=\"button\"\n [disabled]=\"disabled()\"\n [class]=\"sendClass()\"\n [tabindex]=\"(value() || isHero()) && !disabled() ? 0 : -1\"\n [attr.aria-label]=\"sendLabel()\"\n [tooltip]=\"sendLabel()\"\n (keydown.enter)=\"emitSearch($event)\"\n (click)=\"emitSearch($event)\">\n @if (isHero()) {\n <SearchIcon [class]=\"iconClass()\" aria-hidden=\"true\" />\n } @else {\n <SendHorizontalIcon [class]=\"iconClass()\" aria-hidden=\"true\" />\n }\n <span class=\"sr-only\">{{ sendLabel() }}</span>\n </button>\n <!-- Zone de fin de pilule, après le bouton d'envoi (CTA du type « Ask AI »…).\n ⚠️ Le contenu d'un bloc @if ne peut pas atteindre ce slot : la projection ne teste que les\n enfants directs de l'hôte, et le nœud d'un @if ne porte aucun attribut — il retombe donc\n dans le slot par défaut. Envelopper alors le bloc dans un <ng-container slot=\"trailing\">. -->\n <ng-content select=\"[slot='trailing']\" />\n",
22051
22582
  isInline: true,
22052
22583
  dependencies: [
22053
22584
  {
@@ -22122,6 +22653,18 @@ var SearchBarSuggestionsComponent = class SearchBarSuggestionsComponent extends
22122
22653
  ],
22123
22654
  outputs: ["expandedChange", "valueChange"],
22124
22655
  exportAs: ["ngCombobox"]
22656
+ },
22657
+ {
22658
+ kind: "component",
22659
+ type: KeyboardIcon,
22660
+ selector: "keyboard, keyboard-icon, Keyboard, KeyboardIcon",
22661
+ inputs: ["class"]
22662
+ },
22663
+ {
22664
+ kind: "directive",
22665
+ type: VirtualKeyboardDirective,
22666
+ selector: "input[virtualKeyboard]",
22667
+ exportAs: ["virtualKeyboard"]
22125
22668
  }
22126
22669
  ]
22127
22670
  });
@@ -22136,11 +22679,16 @@ i0.ɵɵngDeclareClassMetadata({
22136
22679
  args: [{
22137
22680
  selector: "SearchBar[suggestions], search-bar[suggestions], searchbar[suggestions]",
22138
22681
  standalone: true,
22139
- imports: [...SEARCH_BAR_IMPORTS, Combobox],
22682
+ imports: [
22683
+ ...SEARCH_BAR_IMPORTS,
22684
+ Combobox,
22685
+ KeyboardIcon,
22686
+ VirtualKeyboardDirective
22687
+ ],
22140
22688
  template: `${BEFORE_CONTROL}
22141
22689
  <input
22142
- ngCombobox ${CONTROL_ATTRIBUTES} ${STATE_ATTRIBUTES}
22143
- [(value)]="value" />${AFTER_CONTROL}`
22690
+ ngCombobox virtualKeyboard #vk="virtualKeyboard" ${CONTROL_ATTRIBUTES} ${STATE_ATTRIBUTES}
22691
+ [(value)]="value" />${KEYBOARD_BUTTON}${AFTER_CONTROL}`
22144
22692
  }]
22145
22693
  }],
22146
22694
  propDecorators: { combobox: [{
@@ -22159,7 +22707,7 @@ const MODAL_CLOSE_CLASS = "modal-close";
22159
22707
  const MODAL_BODY_CLASS = "modal-body";
22160
22708
  const MODAL_BODY_TEXT_CLASS = "modal-body-text";
22161
22709
  const MODAL_FOOTER_CLASS = "modal-footer";
22162
- const modalVariants = cva([
22710
+ const modalVariants = /*@__PURE__*/ cva([
22163
22711
  "bg-(--layer-page-layer)",
22164
22712
  "relative flex flex-col items-start overflow-clip",
22165
22713
  "rounded-(--radius-lg)",
@@ -23039,7 +23587,7 @@ const SHEET_TITLE_WRAP_CLASS = "sheet-title-wrap";
23039
23587
  const SHEET_CLOSE_CLASS = "sheet-close";
23040
23588
  const SHEET_BODY_CLASS = "sheet-body";
23041
23589
  const SHEET_FOOTER_CLASS = "sheet-footer";
23042
- const sheetVariants = cva([
23590
+ const sheetVariants = /*@__PURE__*/ cva([
23043
23591
  "fixed m-0 max-h-none max-w-none border-0 p-0",
23044
23592
  "bg-(--layer-page-layer) text-(--layer-page-font)",
23045
23593
  "flex-col items-stretch overflow-hidden",
@@ -23762,43 +24310,6 @@ i0.ɵɵngDeclareClassMetadata({
23762
24310
  }]
23763
24311
  }] }
23764
24312
  });
23765
- const MOBILE_QUERY = `(width < 768px)`;
23766
- var BreakpointObserverService = class BreakpointObserverService {
23767
- _isMobile = signal(false, ...ngDevMode ? [{ debugName: "_isMobile" }] : /* istanbul ignore next */ []);
23768
- isMobile = this._isMobile.asReadonly();
23769
- constructor() {
23770
- const query = typeof window === "undefined" ? void 0 : window.matchMedia?.(MOBILE_QUERY);
23771
- if (!query) return;
23772
- this._isMobile.set(query.matches);
23773
- query.addEventListener("change", this.handleChange);
23774
- inject(DestroyRef).onDestroy(() => query.removeEventListener("change", this.handleChange));
23775
- }
23776
- handleChange = (event) => {
23777
- this._isMobile.set(event.matches);
23778
- };
23779
- static ɵfac = i0.ɵɵngDeclareFactory({
23780
- minVersion: "12.0.0",
23781
- version: "22.2.1",
23782
- ngImport: i0,
23783
- type: BreakpointObserverService,
23784
- deps: [],
23785
- target: i0.ɵɵFactoryTarget.Service
23786
- });
23787
- static ɵprov = i0.ɵɵngDeclareService({
23788
- minVersion: "22.0.0",
23789
- version: "22.2.1",
23790
- ngImport: i0,
23791
- type: BreakpointObserverService
23792
- });
23793
- };
23794
- i0.ɵɵngDeclareClassMetadata({
23795
- minVersion: "12.0.0",
23796
- version: "22.2.1",
23797
- ngImport: i0,
23798
- type: BreakpointObserverService,
23799
- decorators: [{ type: Service }],
23800
- ctorParameters: () => []
23801
- });
23802
24313
  const SIDEBAR_CLASS = "sidebar";
23803
24314
  const SIDEBAR_HEADER_CLASS = "sidebar-header";
23804
24315
  const SIDEBAR_CONTENT_CLASS = "sidebar-content";
@@ -23832,7 +24343,7 @@ const SIDEBAR_ITEM_STYLE = [
23832
24343
  const SIDEBAR_ITEM_LABEL_STYLE = "min-w-0 flex-1 overflow-hidden text-ellipsis whitespace-nowrap group-data-[collapsed=true]:sr-only";
23833
24344
  const SIDEBAR_SLOT_STYLE = "relative h-full shrink-0 overflow-visible transition-[width] duration-200 ease-in-out motion-reduce:transition-none";
23834
24345
  const SIDEBAR_HOST_CLASS = "contents [--sidebar-width-icon:3.5rem] [--sidebar-width:16rem]";
23835
- const sidebarVariants = cva(["group absolute inset-y-0 flex min-w-0 flex-col overflow-hidden", "bg-(--sidebar,var(--layer-page-layer)) text-(--sidebar-foreground,var(--layer-page-font))"], {
24346
+ const sidebarVariants = /*@__PURE__*/ cva(["group absolute inset-y-0 flex min-w-0 flex-col overflow-hidden", "bg-(--sidebar,var(--layer-page-layer)) text-(--sidebar-foreground,var(--layer-page-font))"], {
23836
24347
  variants: {
23837
24348
  side: {
23838
24349
  left: "left-0 border-r border-(--sidebar-border,var(--layer-page-edge))",
@@ -23849,7 +24360,7 @@ const sidebarVariants = cva(["group absolute inset-y-0 flex min-w-0 flex-col ove
23849
24360
  variant: "sidebar"
23850
24361
  }
23851
24362
  });
23852
- const sidebarInsetVariants = cva([
24363
+ const sidebarInsetVariants = /*@__PURE__*/ cva([
23853
24364
  "flex min-w-0 flex-1 flex-col overflow-hidden",
23854
24365
  "bg-(--layer-page-layer) text-(--layer-page-font)",
23855
24366
  "rounded-(--sidebar-radius,var(--radius-lg)) shadow-(--shadow-1)"
@@ -24717,7 +25228,7 @@ i0.ɵɵngDeclareClassMetadata({
24717
25228
  }]
24718
25229
  }] }
24719
25230
  });
24720
- const resizableGroupVariants = cva("flex size-full overflow-hidden", {
25231
+ const resizableGroupVariants = /*@__PURE__*/ cva("flex size-full overflow-hidden", {
24721
25232
  variants: { direction: {
24722
25233
  horizontal: "flex-row",
24723
25234
  vertical: "flex-col"
@@ -24725,7 +25236,7 @@ const resizableGroupVariants = cva("flex size-full overflow-hidden", {
24725
25236
  defaultVariants: { direction: "horizontal" }
24726
25237
  });
24727
25238
  const RESIZABLE_PANEL_CLASS = "block size-full grow-0 shrink overflow-hidden";
24728
- const resizableHandleVariants = cva([
25239
+ const resizableHandleVariants = /*@__PURE__*/ cva([
24729
25240
  "relative flex shrink-0 touch-none items-center justify-center select-none",
24730
25241
  "bg-(--bg-neutral-hovered) hover:bg-(--bg-neutral-muted) active:bg-(--bg-neutral-muted)",
24731
25242
  "focus-visible:outline-2 focus-visible:outline-offset-0 focus-visible:outline-(--stroke-focus) focus-visible:outline-solid",
@@ -25760,6 +26271,379 @@ i0.ɵɵngDeclareClassMetadata({
25760
26271
  }]
25761
26272
  }
25762
26273
  });
25763
- export { AUTOCOMPLETE_TAGS_CLASS, AUTOCOMPLETE_TRIGGER_CLASS, ArrowDownIcon, ArrowDownIconComponent, ArrowDownZaIcon, ArrowDownZaIconComponent, ArrowLeftIcon, ArrowLeftIconComponent, ArrowRightFromBracketIcon, ArrowRightFromBracketIconComponent, ArrowRightIcon, ArrowRightIconComponent, ArrowUpAzIcon, ArrowUpAzIconComponent, ArrowUpIcon, ArrowUpIconComponent, ArrowUpRightFromSquareIcon, ArrowUpRightFromSquareIconComponent, ArrowsMaximizeIcon, ArrowsMaximizeIconComponent, AutocompleteComponent, AvatarComponent, AvatarFallbackComponent, AvatarImageComponent, AwardIcon, AwardIconComponent, BadgeComponent, BarsIcon, BarsIconComponent, BellIcon, BellIconComponent, BellSlashIcon, BellSlashIconComponent, BookmarkIcon, BookmarkIconComponent, BreakpointObserverService, BuildingIcon, BuildingIconComponent, BulletComponent, ButtonComponent, CALL_REF, CalendarClockIcon, CalendarClockIconComponent, CalendarDayIcon, CalendarDayIconComponent, CallRef, ChatPlusIcon, ChatPlusIconComponent, CheckIcon, CheckIconComponent, CheckboxComponent, ChevronDownIcon, ChevronDownIconComponent, ChevronLeftIcon, ChevronLeftIconComponent, ChevronRightIcon, ChevronRightIconComponent, ChevronUpIcon, ChevronUpIconComponent, ChevronsLeftIcon, ChevronsLeftIconComponent, ChevronsRightIcon, ChevronsRightIconComponent, CircleCheckIcon, CircleCheckIconComponent, CircleXIcon, CircleXIconComponent, ClipboardIcon, ClipboardIconComponent, ClockIcon, ClockIconComponent, CogIcon, CogIconComponent, CommentIcon, CommentIconComponent, CommentsIcon, CommentsIconComponent, DIALOG_REF, DebugIcon, DebugIconComponent, DesktopIcon, DesktopIconComponent, DialogBodyComponent, DialogComponent, DialogContentComponent, DialogDescriptionComponent, DialogFooterComponent, DialogHeaderComponent, DialogService, DialogTitleComponent, DownloadIcon, DownloadIconComponent, PopoverDirective as DropdownDirective, PopoverDirective, EditIcon, EditIconComponent, EllipsisIcon, EllipsisIconComponent, EllipsisVerticalIcon, EllipsisVerticalIconComponent, EnvelopeIcon, EnvelopeIconComponent, ExternalLinkIcon, ExternalLinkIconComponent, EyeIcon, EyeIconComponent, EyeSlashIcon, EyeSlashIconComponent, FileHTMLIcon, FileHTMLIconComponent, FileIcon, FileIconComponent, FileMagnifyingGlassIcon, FileMagnifyingGlassIconComponent, FileOutputIcon, FileOutputIconComponent, FileSearchIcon, FileSearchIconComponent, FileSpreadsheetIcon, FileSpreadsheetIconComponent, FileTextIcon, FileTextIconComponent, FilesIcon, FilesIconComponent, FilterIcon, FilterIconComponent, FilterXIcon, FilterXIconComponent, FlagEnglishIcon, FlagEnglishIconComponent, FlagFrenchIcon, FlagFrenchIconComponent, FlagGermanIcon, FlagGermanIconComponent, FlashlightIcon, FlashlightIconComponent, FolderIcon, FolderIconComponent, FolderOpenIcon, FolderOpenIconComponent, FrownIcon, FrownIconComponent, GearIcon, GearIconComponent, GitForkIcon, GitForkIconComponent, GlobeIcon, GlobeIconComponent, GridIcon, GridIconComponent, GripVerticalIcon, GripVerticalIconComponent, HighlighterIcon, HighlighterIconComponent, HistoryIcon, HistoryIconComponent, HomeIcon, HomeIconComponent, HouseIcon, HouseIconComponent, ImageIcon, ImageIconComponent, InboxIcon, InboxIconComponent, InfoCircleIcon, InfoCircleIconComponent, InputComponent, InputControlDirective, InputCounterComponent, InputIconLeftDirective, InputIconRightDirective, KbdComponent, KbdGroupComponent, KeyIcon, KeyIconComponent, KeyboardIcon, KeyboardIconComponent, LINK_LABEL_CLASS, LIST_ITEM_AVATAR_CLASS, LIST_ITEM_CHEVRON_RIGHT_CLASS, LIST_ITEM_EXPANDER_BUTTON_CLASS, LIST_ITEM_EXPANDER_CLASS, LIST_ITEM_ICON_CLASS, LIST_ITEM_ICON_RIGHT_CLASS, LIST_ITEM_LEFT_CLASS, LIST_ITEM_SUBTEXT_CLASS, LIST_ITEM_TEXT_BLOCK_CLASS, LIST_ITEM_TEXT_CLASS, LIST_REF, LanguageIcon, LanguageIconComponent, LightbulbIcon, LightbulbIconComponent, LightbulbSlashIcon, LightbulbSlashIconComponent, LinkComponent, LinkIcon, LinkIconComponent, LinkIconLeftDirective, LinkIconRightDirective, ListComponent, ListFilterIcon, ListFilterIconComponent, ListIcon, ListIconComponent, ListItemActionComponent, ListItemAvatarDirective, ListItemChevronComponent, ListItemComponent, ListItemExpanderComponent, ListItemIconDirective, ListItemLeftDirective, ListItemTextComponent, ListboxActivateOnHover, LoadingCircleIcon, LoadingCircleIconComponent, LockIcon, LockIconComponent, MODAL_BODY_CLASS, MODAL_BODY_TEXT_CLASS, MODAL_CLASS, MODAL_CLOSE_CLASS, MODAL_FOOTER_CLASS, MODAL_HEADER_CLASS, MODAL_HEADER_LEFT_CLASS, MODAL_LABEL, MODAL_TITLE_CLASS, MODAL_TITLE_WRAP_CLASS, MagnifyingGlassIcon, MagnifyingGlassIconComponent, MagnifyingGlassMinusIcon, MagnifyingGlassMinusIconComponent, MagnifyingGlassPlusIcon, MagnifyingGlassPlusIconComponent, MapPinIcon, MapPinIconComponent, MenuComponent, MenuContentComponent, MenuItemComponent, MenuTriggerDirective, MinusIcon, MinusIconComponent, MoonIcon, MoonIconComponent, NewChatIcon, NewChatIconComponent, PaletteIcon, PaletteIconComponent, PanelLeftIcon, PanelLeftIconComponent, PanelRightIcon, PanelRightIconComponent, PaperclipIcon, PaperclipIconComponent, PenToSquareIcon, PenToSquareIconComponent, PlaceholderClippedDirective, PlusIcon, PlusIconComponent, PopoverResizeHandleComponent, PresentationIcon, PresentationIconComponent, QuestionCircleIcon, QuestionCircleIconComponent, QuestionIcon, QuestionIconComponent, QuickFilterIcon, QuickFilterIconComponent, RESIZABLE_PANEL_CLASS, RESIZABLE_PANEL_GROUP, RadioComponent, RefreshIcon, RefreshIconComponent, ResizableHandleComponent, ResizablePanelComponent, ResizablePanelGroupComponent, RobotIcon, RobotIconComponent, RotateIcon, RotateIconComponent, RowFeedComponent, RowGridComponent, SB_ICON_CLASS, SB_INPUT_CLASS, SELECT_CHEVRON_CLASS, SELECT_EMPTY_CLASS, SELECT_HINT_CLASS, SELECT_LABEL_CLASS, SELECT_MENU_CLASS, SELECT_OPTION_BODY_CLASS, SELECT_OPTION_CHECK_CLASS, SELECT_OPTION_CLASS, SELECT_OPTION_LABEL_CLASS, SELECT_OPTION_LEADING_ICON_CLASS, SELECT_OPTION_SUBLABEL_CLASS, SELECT_PLACEHOLDER_CLASS, SELECT_REF, SELECT_TRIGGER_CLASS, SELECT_TRIGGER_ICON_CLASS, SELECT_TRIGGER_LABEL_CLASS, SHEET_BODY_CLASS, SHEET_CLASS, SHEET_CLOSE_CLASS, SHEET_FOOTER_CLASS, SHEET_HEADER_CLASS, SHEET_HEADER_LEFT_CLASS, SHEET_TITLE_WRAP_CLASS, SIDEBAR_CLASS, SIDEBAR_CONTENT_CLASS, SIDEBAR_FOOTER_CLASS, SIDEBAR_GROUP_CLASS, SIDEBAR_GROUP_LABEL_CLASS, SIDEBAR_HEADER_CLASS, SIDEBAR_INSET_CLASS, SIDEBAR_ITEM_CLASS, SIDEBAR_ITEM_LABEL_CLASS, SIDEBAR_REF, SaveIcon, SaveIconComponent, SearchBarComponent, SearchBarSuggestionsComponent, SearchIcon, SearchIconComponent, SearchInputComponent, SearchInputSuggestionsComponent, SelectComponent, SelectLabelDirective, SelectTriggerDirective, SendHorizontalIcon, SendHorizontalIconComponent, SendIcon, SendIconComponent, SheetBodyComponent, SheetComponent, SheetFooterComponent, SheetHeaderComponent, SidebarComponent, SidebarContentDirective, SidebarFooterDirective, SidebarGroupDirective, SidebarGroupLabelDirective, SidebarHeaderDirective, SidebarInsetDirective, SidebarItemDirective, SidebarItemLabelDirective, SidebarTriggerDirective, SlashIcon, SlashIconComponent, SlidersIcon, SlidersIconComponent, SortableDirective, SortableItemDirective, SparklesIcon, SparklesIconComponent, SpinnerIcon, SpinnerIconComponent, SquareCheckBigIcon, SquareCheckBigIconComponent, SquareCheckIcon, SquareCheckIconComponent, SquareIcon, SquareIconComponent, SquareMinusIcon, SquareMinusIconComponent, SquarePenIcon, SquarePenIconComponent, StarIcon, StarIconComponent, SubMenuComponent, SunBrightIcon, SunBrightIconComponent, SwitchComponent, SyncIcon, SyncIconComponent, TEXTAREA_CONTROL_CLASS, TEXTAREA_COUNTER_CLASS, TEXTAREA_LINE_HEIGHT, TOGGLE_GROUP, TOGGLE_ICON_CLASS, TOGGLE_LABEL_CLASS, TOOLTIP_CLASS, TREE_ITEM_EXPANDER_CLASS, TabComponent, TabListComponent, TabPanelComponent, TabsComponent, TagComponent, TagIcon, TagIconComponent, TagInputComponent, TagRemoveComponent, TagsIcon, TagsIconComponent, TextareaComponent, TextareaControlDirective, TextareaCounterComponent, ThumbsDownIcon, ThumbsDownIconComponent, ThumbsUpIcon, ThumbsUpIconComponent, ToggleComponent, ToggleGroupComponent, ToggleItemComponent, ToggleLeftIcon, ToggleLeftIconComponent, ToggleRightIcon, ToggleRightIconComponent, TooltipComponent, TooltipContentDirective, TooltipDirective, TrashCanIcon, TrashCanIconComponent, TrashIcon, TrashIconComponent, TreeComponent, TreeItemComponent, TreeItemExpanderComponent, TreeItemGroupComponent, TriangleAlertIcon, TriangleAlertIconComponent, TruncatedDirective, TypeIcon, TypeIconComponent, UndoIcon, UndoIconComponent, UploadIcon, UploadIconComponent, UserIcon, UserIconComponent, UserRoundIcon, UserRoundIconComponent, UserSecretIcon, UserSecretIconComponent, VideoIcon, VideoIconComponent, XMarkIcon, XMarkIconComponent, createCallable, getListDepthStyle, injectCallRef, injectFloatingPanel, isApplePlatform, linkIconVariants, listItemVariants, menuContentVariants, menuItemVariants, menuPanelVariants, menuSeparatorVariants, modalVariants, provideCallable, resizableGroupVariants, resizableHandleVariants, searchBarVariants, selectChevronVariants, selectMenuVariants, selectOptionVariants, selectTriggerVariants, selectWrapVariants, sheetVariants, sidebarInsetVariants, sidebarVariants, textareaWrapVariants, toggleGroupVariants, toggleVariants, tooltipVariants, treeItemVariants };
26274
+ const TONE_CLASS = {
26275
+ error: "bg-(--bg-error-lightest) text-(--font-error-base) data-armed:bg-(--bg-error-base) data-armed:text-(--font-neutral-white)",
26276
+ success: "bg-(--bg-success-lightest) text-(--font-success-base) data-armed:bg-(--bg-success-base) data-armed:text-(--font-neutral-white)",
26277
+ warning: "bg-(--bg-warning-lightest) text-(--font-warning-base) data-armed:bg-(--bg-warning-base) data-armed:text-(--font-neutral-white)",
26278
+ accent: "bg-(--bg-accent-base-alt) text-(--font-accent-base) data-armed:bg-(--bg-accent-base) data-armed:text-(--font-neutral-white)"
26279
+ };
26280
+ const LAYER_CLASS = "absolute inset-y-0 flex items-center gap-2 overflow-hidden whitespace-nowrap text-(length:--size-sm) font-medium transition-colors duration-150 motion-reduce:transition-none [&>*]:inline-flex [&>*]:items-center [&>*]:gap-2 [&>*]:transition-transform [&>*]:duration-150 data-armed:[&>*]:scale-110 motion-reduce:[&>*]:transition-none";
26281
+ const SLOP = 8;
26282
+ var SwipeActionComponent = class SwipeActionComponent {
26283
+ class = input(...ngDevMode ? [void 0, { debugName: "class" }] : /* istanbul ignore next */ []);
26284
+ contentClass = input(...ngDevMode ? [void 0, { debugName: "contentClass" }] : /* istanbul ignore next */ []);
26285
+ startEnabled = input(false, {
26286
+ ...ngDevMode ? { debugName: "startEnabled" } : /* istanbul ignore next */ {},
26287
+ transform: booleanAttribute
26288
+ });
26289
+ endEnabled = input(false, {
26290
+ ...ngDevMode ? { debugName: "endEnabled" } : /* istanbul ignore next */ {},
26291
+ transform: booleanAttribute
26292
+ });
26293
+ startTone = input("success", ...ngDevMode ? [{ debugName: "startTone" }] : /* istanbul ignore next */ []);
26294
+ endTone = input("error", ...ngDevMode ? [{ debugName: "endTone" }] : /* istanbul ignore next */ []);
26295
+ disabled = input(false, {
26296
+ ...ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {},
26297
+ transform: booleanAttribute
26298
+ });
26299
+ threshold = input(96, {
26300
+ ...ngDevMode ? { debugName: "threshold" } : /* istanbul ignore next */ {},
26301
+ transform: numberAttribute
26302
+ });
26303
+ swipedStart = output();
26304
+ swipedEnd = output();
26305
+ enabled = computed(() => !this.disabled() && (this.startEnabled() || this.endEnabled()), ...ngDevMode ? [{ debugName: "enabled" }] : /* istanbul ignore next */ []);
26306
+ contentClasses = computed(() => cn("relative motion-reduce:transition-none", this.contentClass()), ...ngDevMode ? [{ debugName: "contentClasses" }] : /* istanbul ignore next */ []);
26307
+ hostClass = computed(() => cn("relative block overflow-hidden", this.class()), ...ngDevMode ? [{ debugName: "hostClass" }] : /* istanbul ignore next */ []);
26308
+ startClass = computed(() => cn(LAYER_CLASS, "start-0 justify-start ps-4", TONE_CLASS[this.startTone()]), ...ngDevMode ? [{ debugName: "startClass" }] : /* istanbul ignore next */ []);
26309
+ endClass = computed(() => cn(LAYER_CLASS, "end-0 justify-end pe-4", TONE_CLASS[this.endTone()]), ...ngDevMode ? [{ debugName: "endClass" }] : /* istanbul ignore next */ []);
26310
+ offset = signal(0, ...ngDevMode ? [{ debugName: "offset" }] : /* istanbul ignore next */ []);
26311
+ dragging = signal(false, ...ngDevMode ? [{ debugName: "dragging" }] : /* istanbul ignore next */ []);
26312
+ startWidth = computed(() => Math.max(0, this.offset()), ...ngDevMode ? [{ debugName: "startWidth" }] : /* istanbul ignore next */ []);
26313
+ endWidth = computed(() => Math.max(0, -this.offset()), ...ngDevMode ? [{ debugName: "endWidth" }] : /* istanbul ignore next */ []);
26314
+ startArmed = computed(() => this.startEnabled() && this.offset() >= this.threshold(), ...ngDevMode ? [{ debugName: "startArmed" }] : /* istanbul ignore next */ []);
26315
+ endArmed = computed(() => this.endEnabled() && -this.offset() >= this.threshold(), ...ngDevMode ? [{ debugName: "endArmed" }] : /* istanbul ignore next */ []);
26316
+ host = inject(ElementRef).nativeElement;
26317
+ destroyRef = inject(DestroyRef);
26318
+ gesture = null;
26319
+ swallowClick = null;
26320
+ constructor() {
26321
+ this.destroyRef.onDestroy(() => this.stopSwallowingClick());
26322
+ }
26323
+ onPointerDown(event) {
26324
+ if (!this.enabled() || event.pointerType === "mouse" || this.gesture) return;
26325
+ this.gesture = {
26326
+ id: event.pointerId,
26327
+ x: event.clientX,
26328
+ y: event.clientY,
26329
+ locked: false
26330
+ };
26331
+ }
26332
+ onPointerMove(event) {
26333
+ const gesture = this.gesture;
26334
+ if (!gesture || event.pointerId !== gesture.id) return;
26335
+ const dx = event.clientX - gesture.x;
26336
+ const dy = event.clientY - gesture.y;
26337
+ if (!gesture.locked) {
26338
+ if (Math.abs(dx) < SLOP && Math.abs(dy) < SLOP) return;
26339
+ if (Math.abs(dy) > Math.abs(dx)) {
26340
+ this.gesture = null;
26341
+ return;
26342
+ }
26343
+ gesture.locked = true;
26344
+ this.dragging.set(true);
26345
+ this.host.setPointerCapture?.(event.pointerId);
26346
+ }
26347
+ this.offset.set(this.clamp(dx));
26348
+ }
26349
+ onPointerUp(event) {
26350
+ const gesture = this.gesture;
26351
+ if (!gesture || event.pointerId !== gesture.id) return;
26352
+ this.gesture = null;
26353
+ if (!gesture.locked) return;
26354
+ const offset = this.offset();
26355
+ const threshold = this.threshold();
26356
+ this.dragging.set(false);
26357
+ this.offset.set(0);
26358
+ this.swallowNextClick();
26359
+ if (offset <= -threshold && this.endEnabled()) this.swipedEnd.emit();
26360
+ else if (offset >= threshold && this.startEnabled()) this.swipedStart.emit();
26361
+ }
26362
+ onPointerCancel() {
26363
+ this.gesture = null;
26364
+ this.dragging.set(false);
26365
+ this.offset.set(0);
26366
+ }
26367
+ clamp(dx) {
26368
+ const width = this.host.clientWidth || Number.POSITIVE_INFINITY;
26369
+ const min = this.endEnabled() ? -width : 0;
26370
+ const max = this.startEnabled() ? width : 0;
26371
+ return Math.min(max, Math.max(min, dx));
26372
+ }
26373
+ swallowNextClick() {
26374
+ this.stopSwallowingClick();
26375
+ const swallow = (event) => {
26376
+ event.stopPropagation();
26377
+ event.preventDefault();
26378
+ this.stopSwallowingClick();
26379
+ };
26380
+ this.swallowClick = swallow;
26381
+ this.host.addEventListener("click", swallow, { capture: true });
26382
+ setTimeout(() => {
26383
+ if (this.swallowClick === swallow) this.stopSwallowingClick();
26384
+ }, 400);
26385
+ }
26386
+ stopSwallowingClick() {
26387
+ if (!this.swallowClick) return;
26388
+ this.host.removeEventListener("click", this.swallowClick, { capture: true });
26389
+ this.swallowClick = null;
26390
+ }
26391
+ static ɵfac = i0.ɵɵngDeclareFactory({
26392
+ minVersion: "12.0.0",
26393
+ version: "22.2.1",
26394
+ ngImport: i0,
26395
+ type: SwipeActionComponent,
26396
+ deps: [],
26397
+ target: i0.ɵɵFactoryTarget.Component
26398
+ });
26399
+ static ɵcmp = i0.ɵɵngDeclareComponent({
26400
+ minVersion: "17.0.0",
26401
+ version: "22.2.1",
26402
+ type: SwipeActionComponent,
26403
+ isStandalone: true,
26404
+ selector: "swipe-action, SwipeAction",
26405
+ inputs: {
26406
+ class: {
26407
+ classPropertyName: "class",
26408
+ publicName: "class",
26409
+ isSignal: true,
26410
+ isRequired: false,
26411
+ transformFunction: null
26412
+ },
26413
+ contentClass: {
26414
+ classPropertyName: "contentClass",
26415
+ publicName: "contentClass",
26416
+ isSignal: true,
26417
+ isRequired: false,
26418
+ transformFunction: null
26419
+ },
26420
+ startEnabled: {
26421
+ classPropertyName: "startEnabled",
26422
+ publicName: "startEnabled",
26423
+ isSignal: true,
26424
+ isRequired: false,
26425
+ transformFunction: null
26426
+ },
26427
+ endEnabled: {
26428
+ classPropertyName: "endEnabled",
26429
+ publicName: "endEnabled",
26430
+ isSignal: true,
26431
+ isRequired: false,
26432
+ transformFunction: null
26433
+ },
26434
+ startTone: {
26435
+ classPropertyName: "startTone",
26436
+ publicName: "startTone",
26437
+ isSignal: true,
26438
+ isRequired: false,
26439
+ transformFunction: null
26440
+ },
26441
+ endTone: {
26442
+ classPropertyName: "endTone",
26443
+ publicName: "endTone",
26444
+ isSignal: true,
26445
+ isRequired: false,
26446
+ transformFunction: null
26447
+ },
26448
+ disabled: {
26449
+ classPropertyName: "disabled",
26450
+ publicName: "disabled",
26451
+ isSignal: true,
26452
+ isRequired: false,
26453
+ transformFunction: null
26454
+ },
26455
+ threshold: {
26456
+ classPropertyName: "threshold",
26457
+ publicName: "threshold",
26458
+ isSignal: true,
26459
+ isRequired: false,
26460
+ transformFunction: null
26461
+ }
26462
+ },
26463
+ outputs: {
26464
+ swipedStart: "swipedStart",
26465
+ swipedEnd: "swipedEnd"
26466
+ },
26467
+ host: {
26468
+ listeners: {
26469
+ "pointerdown": "onPointerDown($event)",
26470
+ "pointermove": "onPointerMove($event)",
26471
+ "pointerup": "onPointerUp($event)",
26472
+ "pointercancel": "onPointerCancel()"
26473
+ },
26474
+ properties: {
26475
+ "class": "hostClass()",
26476
+ "style.touch-action": "enabled() ? 'pan-y' : null"
26477
+ }
26478
+ },
26479
+ ngImport: i0,
26480
+ template: `
26481
+ @if (startEnabled()) {
26482
+ <div
26483
+ aria-hidden="true"
26484
+ data-slot="start"
26485
+ [class]="startClass()"
26486
+ [class.hidden]="startWidth() === 0"
26487
+ [attr.data-armed]="startArmed() ? '' : null"
26488
+ [style.width.px]="startWidth()">
26489
+ <ng-content select="[swipeActionStart]" />
26490
+ </div>
26491
+ }
26492
+ @if (endEnabled()) {
26493
+ <div
26494
+ aria-hidden="true"
26495
+ data-slot="end"
26496
+ [class]="endClass()"
26497
+ [class.hidden]="endWidth() === 0"
26498
+ [attr.data-armed]="endArmed() ? '' : null"
26499
+ [style.width.px]="endWidth()">
26500
+ <ng-content select="[swipeActionEnd]" />
26501
+ </div>
26502
+ }
26503
+ <div
26504
+ data-slot="content"
26505
+ [class]="contentClasses()"
26506
+ [class.transition-transform]="!dragging()"
26507
+ [class.duration-200]="!dragging()"
26508
+ [style.transform]="offset() === 0 ? null : 'translateX(' + offset() + 'px)'"
26509
+ >
26510
+ <ng-content />
26511
+ </div>
26512
+ `,
26513
+ isInline: true,
26514
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
26515
+ });
26516
+ };
26517
+ i0.ɵɵngDeclareClassMetadata({
26518
+ minVersion: "12.0.0",
26519
+ version: "22.2.1",
26520
+ ngImport: i0,
26521
+ type: SwipeActionComponent,
26522
+ decorators: [{
26523
+ type: Component,
26524
+ args: [{
26525
+ selector: "swipe-action, SwipeAction",
26526
+ standalone: true,
26527
+ changeDetection: ChangeDetectionStrategy.OnPush,
26528
+ host: {
26529
+ "[class]": "hostClass()",
26530
+ "[style.touch-action]": "enabled() ? 'pan-y' : null",
26531
+ "(pointerdown)": "onPointerDown($event)",
26532
+ "(pointermove)": "onPointerMove($event)",
26533
+ "(pointerup)": "onPointerUp($event)",
26534
+ "(pointercancel)": "onPointerCancel()"
26535
+ },
26536
+ template: `
26537
+ @if (startEnabled()) {
26538
+ <div
26539
+ aria-hidden="true"
26540
+ data-slot="start"
26541
+ [class]="startClass()"
26542
+ [class.hidden]="startWidth() === 0"
26543
+ [attr.data-armed]="startArmed() ? '' : null"
26544
+ [style.width.px]="startWidth()">
26545
+ <ng-content select="[swipeActionStart]" />
26546
+ </div>
26547
+ }
26548
+ @if (endEnabled()) {
26549
+ <div
26550
+ aria-hidden="true"
26551
+ data-slot="end"
26552
+ [class]="endClass()"
26553
+ [class.hidden]="endWidth() === 0"
26554
+ [attr.data-armed]="endArmed() ? '' : null"
26555
+ [style.width.px]="endWidth()">
26556
+ <ng-content select="[swipeActionEnd]" />
26557
+ </div>
26558
+ }
26559
+ <div
26560
+ data-slot="content"
26561
+ [class]="contentClasses()"
26562
+ [class.transition-transform]="!dragging()"
26563
+ [class.duration-200]="!dragging()"
26564
+ [style.transform]="offset() === 0 ? null : 'translateX(' + offset() + 'px)'"
26565
+ >
26566
+ <ng-content />
26567
+ </div>
26568
+ `
26569
+ }]
26570
+ }],
26571
+ ctorParameters: () => [],
26572
+ propDecorators: {
26573
+ class: [{
26574
+ type: i0.Input,
26575
+ args: [{
26576
+ isSignal: true,
26577
+ alias: "class",
26578
+ required: false
26579
+ }]
26580
+ }],
26581
+ contentClass: [{
26582
+ type: i0.Input,
26583
+ args: [{
26584
+ isSignal: true,
26585
+ alias: "contentClass",
26586
+ required: false
26587
+ }]
26588
+ }],
26589
+ startEnabled: [{
26590
+ type: i0.Input,
26591
+ args: [{
26592
+ isSignal: true,
26593
+ alias: "startEnabled",
26594
+ required: false
26595
+ }]
26596
+ }],
26597
+ endEnabled: [{
26598
+ type: i0.Input,
26599
+ args: [{
26600
+ isSignal: true,
26601
+ alias: "endEnabled",
26602
+ required: false
26603
+ }]
26604
+ }],
26605
+ startTone: [{
26606
+ type: i0.Input,
26607
+ args: [{
26608
+ isSignal: true,
26609
+ alias: "startTone",
26610
+ required: false
26611
+ }]
26612
+ }],
26613
+ endTone: [{
26614
+ type: i0.Input,
26615
+ args: [{
26616
+ isSignal: true,
26617
+ alias: "endTone",
26618
+ required: false
26619
+ }]
26620
+ }],
26621
+ disabled: [{
26622
+ type: i0.Input,
26623
+ args: [{
26624
+ isSignal: true,
26625
+ alias: "disabled",
26626
+ required: false
26627
+ }]
26628
+ }],
26629
+ threshold: [{
26630
+ type: i0.Input,
26631
+ args: [{
26632
+ isSignal: true,
26633
+ alias: "threshold",
26634
+ required: false
26635
+ }]
26636
+ }],
26637
+ swipedStart: [{
26638
+ type: i0.Output,
26639
+ args: ["swipedStart"]
26640
+ }],
26641
+ swipedEnd: [{
26642
+ type: i0.Output,
26643
+ args: ["swipedEnd"]
26644
+ }]
26645
+ }
26646
+ });
26647
+ export { AUTOCOMPLETE_TAGS_CLASS, AUTOCOMPLETE_TRIGGER_CLASS, ArrowDownIcon, ArrowDownIconComponent, ArrowDownZaIcon, ArrowDownZaIconComponent, ArrowLeftIcon, ArrowLeftIconComponent, ArrowRightFromBracketIcon, ArrowRightFromBracketIconComponent, ArrowRightIcon, ArrowRightIconComponent, ArrowUpAzIcon, ArrowUpAzIconComponent, ArrowUpIcon, ArrowUpIconComponent, ArrowUpRightFromSquareIcon, ArrowUpRightFromSquareIconComponent, ArrowsMaximizeIcon, ArrowsMaximizeIconComponent, AutocompleteComponent, AvatarComponent, AvatarFallbackComponent, AvatarImageComponent, AwardIcon, AwardIconComponent, BadgeComponent, BarsIcon, BarsIconComponent, BellIcon, BellIconComponent, BellSlashIcon, BellSlashIconComponent, BookmarkIcon, BookmarkIconComponent, BreakpointObserverService, BuildingIcon, BuildingIconComponent, BulletComponent, ButtonComponent, CALL_REF, CalendarClockIcon, CalendarClockIconComponent, CalendarDayIcon, CalendarDayIconComponent, CallRef, ChatPlusIcon, ChatPlusIconComponent, CheckIcon, CheckIconComponent, CheckboxComponent, ChevronDownIcon, ChevronDownIconComponent, ChevronLeftIcon, ChevronLeftIconComponent, ChevronRightIcon, ChevronRightIconComponent, ChevronUpIcon, ChevronUpIconComponent, ChevronsLeftIcon, ChevronsLeftIconComponent, ChevronsRightIcon, ChevronsRightIconComponent, CircleCheckIcon, CircleCheckIconComponent, CircleXIcon, CircleXIconComponent, ClipboardIcon, ClipboardIconComponent, ClockIcon, ClockIconComponent, CogIcon, CogIconComponent, CollapseIcon, CollapseIconComponent, CommentIcon, CommentIconComponent, CommentsIcon, CommentsIconComponent, DIALOG_REF, DebugIcon, DebugIconComponent, DesktopIcon, DesktopIconComponent, DialogBodyComponent, DialogComponent, DialogContentComponent, DialogDescriptionComponent, DialogFooterComponent, DialogHeaderComponent, DialogService, DialogTitleComponent, DownloadIcon, DownloadIconComponent, PopoverDirective as DropdownDirective, PopoverDirective, EditIcon, EditIconComponent, EllipsisIcon, EllipsisIconComponent, EllipsisVerticalIcon, EllipsisVerticalIconComponent, EnvelopeIcon, EnvelopeIconComponent, ExpandIcon, ExpandIconComponent, ExternalLinkIcon, ExternalLinkIconComponent, EyeIcon, EyeIconComponent, EyeSlashIcon, EyeSlashIconComponent, FileHTMLIcon, FileHTMLIconComponent, FileIcon, FileIconComponent, FileMagnifyingGlassIcon, FileMagnifyingGlassIconComponent, FileOutputIcon, FileOutputIconComponent, FileSearchIcon, FileSearchIconComponent, FileSpreadsheetIcon, FileSpreadsheetIconComponent, FileTextIcon, FileTextIconComponent, FilesIcon, FilesIconComponent, FilterIcon, FilterIconComponent, FilterXIcon, FilterXIconComponent, FlagEnglishIcon, FlagEnglishIconComponent, FlagFrenchIcon, FlagFrenchIconComponent, FlagGermanIcon, FlagGermanIconComponent, FlashlightIcon, FlashlightIconComponent, FolderIcon, FolderIconComponent, FolderOpenIcon, FolderOpenIconComponent, FrownIcon, FrownIconComponent, GearIcon, GearIconComponent, GitForkIcon, GitForkIconComponent, GlobeIcon, GlobeIconComponent, GridIcon, GridIconComponent, GripVerticalIcon, GripVerticalIconComponent, HighlighterIcon, HighlighterIconComponent, HistoryIcon, HistoryIconComponent, HomeIcon, HomeIconComponent, HouseIcon, HouseIconComponent, INPUT_MODALITY, ImageIcon, ImageIconComponent, InboxIcon, InboxIconComponent, InfoCircleIcon, InfoCircleIconComponent, InputComponent, InputControlDirective, InputCounterComponent, InputIconLeftDirective, InputIconRightDirective, InputModalityService, KbdComponent, KbdGroupComponent, KeyIcon, KeyIconComponent, KeyboardIcon, KeyboardIconComponent, LINK_LABEL_CLASS, LIST_ITEM_AVATAR_CLASS, LIST_ITEM_CHEVRON_RIGHT_CLASS, LIST_ITEM_EXPANDER_BUTTON_CLASS, LIST_ITEM_EXPANDER_CLASS, LIST_ITEM_ICON_CLASS, LIST_ITEM_ICON_RIGHT_CLASS, LIST_ITEM_LEFT_CLASS, LIST_ITEM_SUBTEXT_CLASS, LIST_ITEM_TEXT_BLOCK_CLASS, LIST_ITEM_TEXT_CLASS, LIST_REF, LanguageIcon, LanguageIconComponent, LightbulbIcon, LightbulbIconComponent, LightbulbSlashIcon, LightbulbSlashIconComponent, LinkComponent, LinkIcon, LinkIconComponent, LinkIconLeftDirective, LinkIconRightDirective, ListComponent, ListFilterIcon, ListFilterIconComponent, ListIcon, ListIconComponent, ListItemActionComponent, ListItemAvatarDirective, ListItemChevronComponent, ListItemComponent, ListItemExpanderComponent, ListItemIconDirective, ListItemLeftDirective, ListItemTextComponent, ListboxActivateOnHover, LoadingCircleIcon, LoadingCircleIconComponent, LockIcon, LockIconComponent, MODAL_BODY_CLASS, MODAL_BODY_TEXT_CLASS, MODAL_CLASS, MODAL_CLOSE_CLASS, MODAL_FOOTER_CLASS, MODAL_HEADER_CLASS, MODAL_HEADER_LEFT_CLASS, MODAL_LABEL, MODAL_TITLE_CLASS, MODAL_TITLE_WRAP_CLASS, MagnifyingGlassIcon, MagnifyingGlassIconComponent, MagnifyingGlassMinusIcon, MagnifyingGlassMinusIconComponent, MagnifyingGlassPlusIcon, MagnifyingGlassPlusIconComponent, MapPinIcon, MapPinIconComponent, MenuComponent, MenuContentComponent, MenuItemComponent, MenuTriggerDirective, MinusIcon, MinusIconComponent, MoonIcon, MoonIconComponent, NewChatIcon, NewChatIconComponent, PaletteIcon, PaletteIconComponent, PanelLeftIcon, PanelLeftIconComponent, PanelRightIcon, PanelRightIconComponent, PaperclipIcon, PaperclipIconComponent, PenToSquareIcon, PenToSquareIconComponent, PlaceholderClippedDirective, PlusIcon, PlusIconComponent, PopoverResizeHandleComponent, PresentationIcon, PresentationIconComponent, QuestionCircleIcon, QuestionCircleIconComponent, QuestionIcon, QuestionIconComponent, QuickFilterIcon, QuickFilterIconComponent, RESIZABLE_PANEL_CLASS, RESIZABLE_PANEL_GROUP, RadioComponent, RefreshIcon, RefreshIconComponent, ResizableHandleComponent, ResizablePanelComponent, ResizablePanelGroupComponent, RobotIcon, RobotIconComponent, RotateIcon, RotateIconComponent, RowFeedComponent, RowGridComponent, SB_ICON_CLASS, SB_INPUT_CLASS, SELECT_CHEVRON_CLASS, SELECT_EMPTY_CLASS, SELECT_HINT_CLASS, SELECT_LABEL_CLASS, SELECT_MENU_CLASS, SELECT_OPTION_BODY_CLASS, SELECT_OPTION_CHECK_CLASS, SELECT_OPTION_CLASS, SELECT_OPTION_LABEL_CLASS, SELECT_OPTION_LEADING_ICON_CLASS, SELECT_OPTION_SUBLABEL_CLASS, SELECT_PLACEHOLDER_CLASS, SELECT_REF, SELECT_TRIGGER_CLASS, SELECT_TRIGGER_ICON_CLASS, SELECT_TRIGGER_LABEL_CLASS, SHEET_BODY_CLASS, SHEET_CLASS, SHEET_CLOSE_CLASS, SHEET_FOOTER_CLASS, SHEET_HEADER_CLASS, SHEET_HEADER_LEFT_CLASS, SHEET_TITLE_WRAP_CLASS, SIDEBAR_CLASS, SIDEBAR_CONTENT_CLASS, SIDEBAR_FOOTER_CLASS, SIDEBAR_GROUP_CLASS, SIDEBAR_GROUP_LABEL_CLASS, SIDEBAR_HEADER_CLASS, SIDEBAR_INSET_CLASS, SIDEBAR_ITEM_CLASS, SIDEBAR_ITEM_LABEL_CLASS, SIDEBAR_REF, SaveIcon, SaveIconComponent, SearchBarComponent, SearchBarSuggestionsComponent, SearchIcon, SearchIconComponent, SearchInputComponent, SearchInputSuggestionsComponent, SelectComponent, SelectLabelDirective, SelectTriggerDirective, SendHorizontalIcon, SendHorizontalIconComponent, SendIcon, SendIconComponent, SheetBodyComponent, SheetComponent, SheetFooterComponent, SheetHeaderComponent, SidebarComponent, SidebarContentDirective, SidebarFooterDirective, SidebarGroupDirective, SidebarGroupLabelDirective, SidebarHeaderDirective, SidebarInsetDirective, SidebarItemDirective, SidebarItemLabelDirective, SidebarTriggerDirective, SlashIcon, SlashIconComponent, SlidersIcon, SlidersIconComponent, SortableDirective, SortableItemDirective, SparklesIcon, SparklesIconComponent, SpinnerIcon, SpinnerIconComponent, SquareCheckBigIcon, SquareCheckBigIconComponent, SquareCheckIcon, SquareCheckIconComponent, SquareIcon, SquareIconComponent, SquareMinusIcon, SquareMinusIconComponent, SquarePenIcon, SquarePenIconComponent, StarIcon, StarIconComponent, SubMenuComponent, SunBrightIcon, SunBrightIconComponent, SwipeActionComponent, SwitchComponent, SyncIcon, SyncIconComponent, TEXTAREA_CONTROL_CLASS, TEXTAREA_COUNTER_CLASS, TEXTAREA_LINE_HEIGHT, TOGGLE_GROUP, TOGGLE_ICON_CLASS, TOGGLE_LABEL_CLASS, TOOLTIP_CLASS, TREE_ITEM_EXPANDER_CLASS, TabComponent, TabListComponent, TabPanelComponent, TabsComponent, TagComponent, TagIcon, TagIconComponent, TagInputComponent, TagRemoveComponent, TagsIcon, TagsIconComponent, TextareaComponent, TextareaControlDirective, TextareaCounterComponent, ThumbsDownIcon, ThumbsDownIconComponent, ThumbsUpIcon, ThumbsUpIconComponent, ToggleComponent, ToggleGroupComponent, ToggleItemComponent, ToggleLeftIcon, ToggleLeftIconComponent, ToggleRightIcon, ToggleRightIconComponent, TooltipComponent, TooltipContentDirective, TooltipDirective, TrashCanIcon, TrashCanIconComponent, TrashIcon, TrashIconComponent, TreeComponent, TreeItemComponent, TreeItemExpanderComponent, TreeItemGroupComponent, TriangleAlertIcon, TriangleAlertIconComponent, TruncatedDirective, TypeIcon, TypeIconComponent, UndoIcon, UndoIconComponent, UploadIcon, UploadIconComponent, UserIcon, UserIconComponent, UserRoundIcon, UserRoundIconComponent, UserSecretIcon, UserSecretIconComponent, VideoIcon, VideoIconComponent, VirtualKeyboardDirective, XMarkIcon, XMarkIconComponent, createCallable, getListDepthStyle, injectCallRef, injectFloatingPanel, injectKeyboardAvailable, isApplePlatform, linkIconVariants, listItemVariants, menuContentVariants, menuItemVariants, menuPanelVariants, menuSeparatorVariants, modalVariants, provideCallable, provideInputModality, resizableGroupVariants, resizableHandleVariants, searchBarVariants, selectChevronVariants, selectMenuVariants, selectOptionVariants, selectTriggerVariants, selectWrapVariants, sheetVariants, sidebarInsetVariants, sidebarVariants, textareaWrapVariants, toggleGroupVariants, toggleVariants, tooltipVariants, treeItemVariants };
25764
26648
 
25765
26649
  //# sourceMappingURL=sinequa-galactik.mjs.map