@sinequa/galactik 2.10.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";
|
|
@@ -9854,7 +9854,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
9854
9854
|
}
|
|
9855
9855
|
});
|
|
9856
9856
|
const TOOLTIP_CLASS = "tooltip-panel";
|
|
9857
|
-
const tooltipVariants = cva([
|
|
9857
|
+
const tooltipVariants = /*@__PURE__*/ cva([
|
|
9858
9858
|
TOOLTIP_CLASS,
|
|
9859
9859
|
"fixed inset-auto m-0 w-max max-w-(--tooltip-max-w,20rem) overflow-visible border-0 break-words",
|
|
9860
9860
|
"rounded-(--radius-xs) bg-(--bg-neutral-base-alt) px-(--spacing-xs) py-(--spacing-3xs)",
|
|
@@ -10173,6 +10173,7 @@ var TooltipDirective = class TooltipDirective {
|
|
|
10173
10173
|
this.close();
|
|
10174
10174
|
}
|
|
10175
10175
|
onEnter() {
|
|
10176
|
+
if (this.pointerType === "touch") return;
|
|
10176
10177
|
if (this.settings().event !== "focus") this.scheduleShow();
|
|
10177
10178
|
}
|
|
10178
10179
|
onLeave() {
|
|
@@ -10191,7 +10192,12 @@ var TooltipDirective = class TooltipDirective {
|
|
|
10191
10192
|
onFocusOut() {
|
|
10192
10193
|
if (this.settings().event !== "hover") this.scheduleHide(false);
|
|
10193
10194
|
}
|
|
10194
|
-
|
|
10195
|
+
pointerType;
|
|
10196
|
+
onPointerType(event) {
|
|
10197
|
+
this.pointerType = event.pointerType;
|
|
10198
|
+
}
|
|
10199
|
+
onPointerDown(event) {
|
|
10200
|
+
this.pointerType = event.pointerType;
|
|
10195
10201
|
this.pointerFocus = true;
|
|
10196
10202
|
this.hide();
|
|
10197
10203
|
}
|
|
@@ -10250,6 +10256,14 @@ var TooltipDirective = class TooltipDirective {
|
|
|
10250
10256
|
capture: true,
|
|
10251
10257
|
passive: true
|
|
10252
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));
|
|
10253
10267
|
if (life > 0) this.lifeTimer = setTimeout(() => this.hide(), life);
|
|
10254
10268
|
}
|
|
10255
10269
|
close() {
|
|
@@ -10428,7 +10442,8 @@ var TooltipDirective = class TooltipDirective {
|
|
|
10428
10442
|
"mouseleave": "onLeave()",
|
|
10429
10443
|
"focusin": "onFocusIn()",
|
|
10430
10444
|
"focusout": "onFocusOut()",
|
|
10431
|
-
"
|
|
10445
|
+
"pointerenter": "onPointerType($event)",
|
|
10446
|
+
"pointerdown": "onPointerDown($event)",
|
|
10432
10447
|
"pointerup": "pointerFocus = false",
|
|
10433
10448
|
"pointercancel": "pointerFocus = false",
|
|
10434
10449
|
"click": "onClick()"
|
|
@@ -10460,7 +10475,8 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
10460
10475
|
"(mouseleave)": "onLeave()",
|
|
10461
10476
|
"(focusin)": "onFocusIn()",
|
|
10462
10477
|
"(focusout)": "onFocusOut()",
|
|
10463
|
-
"(
|
|
10478
|
+
"(pointerenter)": "onPointerType($event)",
|
|
10479
|
+
"(pointerdown)": "onPointerDown($event)",
|
|
10464
10480
|
"(pointerup)": "pointerFocus = false",
|
|
10465
10481
|
"(pointercancel)": "pointerFocus = false",
|
|
10466
10482
|
"(click)": "onClick()"
|
|
@@ -10796,14 +10812,14 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
10796
10812
|
}],
|
|
10797
10813
|
ctorParameters: () => []
|
|
10798
10814
|
});
|
|
10799
|
-
const menuPanelVariants = cva([
|
|
10815
|
+
const menuPanelVariants = /*@__PURE__*/ cva([
|
|
10800
10816
|
"p-(--spacing-2xs)",
|
|
10801
10817
|
"rounded-(--radius-sm) bg-(--layer-page-layer) shadow-(--shadow-1)",
|
|
10802
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)",
|
|
10803
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)"
|
|
10804
10820
|
]);
|
|
10805
|
-
const menuContentVariants = cva("flex w-full flex-col items-start");
|
|
10806
|
-
const menuItemVariants = cva([
|
|
10821
|
+
const menuContentVariants = /*@__PURE__*/ cva("flex w-full flex-col items-start");
|
|
10822
|
+
const menuItemVariants = /*@__PURE__*/ cva([
|
|
10807
10823
|
"flex w-full items-center gap-(--spacing-xs)",
|
|
10808
10824
|
"rounded-(--radius-xs) px-(--spacing-md) py-(--spacing-xs)",
|
|
10809
10825
|
"font-[family-name:var(--family-base,'Hanken_Grotesk'),sans-serif] text-(length:--size-sm) font-normal",
|
|
@@ -10818,7 +10834,7 @@ const menuItemVariants = cva([
|
|
|
10818
10834
|
"[&_.label]:flex-1 [&_.label]:text-left",
|
|
10819
10835
|
"[&_.arrow]:shrink-0 [&_.arrow]:text-(--font-primary-muted)"
|
|
10820
10836
|
]);
|
|
10821
|
-
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)");
|
|
10822
10838
|
const menuBaseClass = "min-w-fit w-60 max-w-fit data-[visible=false]:hidden";
|
|
10823
10839
|
const isToggleRole = (role) => role === "menuitemcheckbox" || role === "menuitemradio";
|
|
10824
10840
|
var MenuComponent = class MenuComponent {
|
|
@@ -11326,7 +11342,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
11326
11342
|
}]
|
|
11327
11343
|
}] }
|
|
11328
11344
|
});
|
|
11329
|
-
const tabGroupVariants = cva(["flex items-center gap-(--spacing-3xs)"], {
|
|
11345
|
+
const tabGroupVariants = /*@__PURE__*/ cva(["flex items-center gap-(--spacing-3xs)"], {
|
|
11330
11346
|
variants: { variant: {
|
|
11331
11347
|
primary: "inline-flex rounded-(--radius-md) border border-(--stroke-primary-light) bg-(--bg-primary-lightest) p-(--spacing-3xs) aria-[orientation='vertical']:flex-col",
|
|
11332
11348
|
secondary: "flex items-end border-b border-(--stroke-primary-lighter) bg-(--bg-neutral-white) **:[[role='tab']]:-mb-px",
|
|
@@ -11334,7 +11350,7 @@ const tabGroupVariants = cva(["flex items-center gap-(--spacing-3xs)"], {
|
|
|
11334
11350
|
} },
|
|
11335
11351
|
defaultVariants: { variant: "primary" }
|
|
11336
11352
|
});
|
|
11337
|
-
const tabItemVariants = cva([
|
|
11353
|
+
const tabItemVariants = /*@__PURE__*/ cva([
|
|
11338
11354
|
"inline-flex items-center gap-(--spacing-xs) px-(--spacing-md) py-0",
|
|
11339
11355
|
"cursor-pointer border-0 bg-transparent whitespace-nowrap outline-none select-none",
|
|
11340
11356
|
"max-w-(--tab-max-width,100%)",
|
|
@@ -11868,7 +11884,7 @@ const SELECT_OPTION_SUBLABEL_CLASS = "select-option-sublabel";
|
|
|
11868
11884
|
const SELECT_OPTION_CHECK_CLASS = "select-option-check";
|
|
11869
11885
|
const SELECT_HINT_CLASS = "select-hint";
|
|
11870
11886
|
const SELECT_CHEVRON_CLASS = "select-chevron";
|
|
11871
|
-
const selectWrapVariants = cva([
|
|
11887
|
+
const selectWrapVariants = /*@__PURE__*/ cva([
|
|
11872
11888
|
"relative inline-flex w-full flex-col",
|
|
11873
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)",
|
|
11874
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",
|
|
@@ -11907,7 +11923,7 @@ const selectWrapVariants = cva([
|
|
|
11907
11923
|
} },
|
|
11908
11924
|
defaultVariants: { size: "md" }
|
|
11909
11925
|
});
|
|
11910
|
-
const selectTriggerVariants = cva([
|
|
11926
|
+
const selectTriggerVariants = /*@__PURE__*/ cva([
|
|
11911
11927
|
"select-trigger box-border inline-flex w-full cursor-pointer items-center gap-(--spacing-xs) text-left",
|
|
11912
11928
|
"rounded-(--radius-sm) border border-solid border-(--stroke-primary-muted)",
|
|
11913
11929
|
"bg-(--bg-neutral-white) text-(--font-primary-base)",
|
|
@@ -11934,7 +11950,7 @@ const selectTriggerVariants = cva([
|
|
|
11934
11950
|
empty: false
|
|
11935
11951
|
}
|
|
11936
11952
|
});
|
|
11937
|
-
const selectChevronVariants = cva([
|
|
11953
|
+
const selectChevronVariants = /*@__PURE__*/ cva([
|
|
11938
11954
|
"inline-flex shrink-0 items-center justify-center text-(--font-primary-muted)",
|
|
11939
11955
|
"text-[10px]",
|
|
11940
11956
|
"transition-transform duration-150 ease-[ease] motion-reduce:transition-none"
|
|
@@ -11945,7 +11961,7 @@ const selectChevronVariants = cva([
|
|
|
11945
11961
|
} },
|
|
11946
11962
|
defaultVariants: { open: false }
|
|
11947
11963
|
});
|
|
11948
|
-
const selectOptionVariants = cva([
|
|
11964
|
+
const selectOptionVariants = /*@__PURE__*/ cva([
|
|
11949
11965
|
"box-border flex w-full items-center gap-(--spacing-xs) px-(--spacing-md) py-(--spacing-xs)",
|
|
11950
11966
|
"cursor-pointer border-0 bg-transparent text-left",
|
|
11951
11967
|
"font-[family-name:var(--family-base,'Hanken_Grotesk'),sans-serif] text-(length:--size-sm) text-(--font-primary-muted)",
|
|
@@ -11955,7 +11971,7 @@ const selectOptionVariants = cva([
|
|
|
11955
11971
|
"aria-selected:text-(--font-primary-dark)",
|
|
11956
11972
|
"aria-disabled:cursor-not-allowed aria-disabled:text-(--font-neutral-muted)"
|
|
11957
11973
|
]);
|
|
11958
|
-
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)"]);
|
|
11959
11975
|
const SELECT_REF = new InjectionToken("SELECT_REF");
|
|
11960
11976
|
let _idCounter$1 = 0;
|
|
11961
11977
|
var SelectTriggerDirective = class SelectTriggerDirective {
|
|
@@ -12780,7 +12796,7 @@ const INPUT_SEARCH_NATIVE_RESET = [
|
|
|
12780
12796
|
"[&[type='search']::-webkit-search-results-button]:appearance-none",
|
|
12781
12797
|
"[&[type='search']::-webkit-search-results-decoration]:appearance-none"
|
|
12782
12798
|
].join(" ");
|
|
12783
|
-
const inputWrapVariants = cva([
|
|
12799
|
+
const inputWrapVariants = /*@__PURE__*/ cva([
|
|
12784
12800
|
"box-border flex items-center gap-(--spacing-xs)",
|
|
12785
12801
|
"border border-solid bg-(--bg-neutral-white)",
|
|
12786
12802
|
"transition-[border-color,background-color,outline-color] duration-150 ease-[ease] motion-reduce:transition-none",
|
|
@@ -12883,7 +12899,7 @@ const inputWrapVariants = cva([
|
|
|
12883
12899
|
autoHeight: false
|
|
12884
12900
|
}
|
|
12885
12901
|
});
|
|
12886
|
-
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", {
|
|
12887
12903
|
variants: {
|
|
12888
12904
|
scheme: {
|
|
12889
12905
|
default: "",
|
|
@@ -12901,7 +12917,115 @@ const inputCounterVariants = cva("shrink-0 font-[family-name:var(--family-base,'
|
|
|
12901
12917
|
size: "md"
|
|
12902
12918
|
}
|
|
12903
12919
|
});
|
|
12904
|
-
const
|
|
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([
|
|
12905
13029
|
"inline-flex w-fit max-w-full min-w-0 items-center overflow-hidden whitespace-nowrap",
|
|
12906
13030
|
"font-[family-name:var(--family-base,'Hanken_Grotesk'),sans-serif] font-normal",
|
|
12907
13031
|
"border border-solid"
|
|
@@ -13331,6 +13455,8 @@ var AutocompleteComponent = class AutocompleteComponent {
|
|
|
13331
13455
|
fieldLabelLang = input(...ngDevMode ? [void 0, { debugName: "fieldLabelLang" }] : /* istanbul ignore next */ []);
|
|
13332
13456
|
placeholder = input("", ...ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []);
|
|
13333
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 */ []);
|
|
13334
13460
|
noResultsText = input("No results", ...ngDevMode ? [{ debugName: "noResultsText" }] : /* istanbul ignore next */ []);
|
|
13335
13461
|
searchingText = input("Searching…", ...ngDevMode ? [{ debugName: "searchingText" }] : /* istanbul ignore next */ []);
|
|
13336
13462
|
errorText = input("Search failed", ...ngDevMode ? [{ debugName: "errorText" }] : /* istanbul ignore next */ []);
|
|
@@ -13367,7 +13493,8 @@ var AutocompleteComponent = class AutocompleteComponent {
|
|
|
13367
13493
|
fieldClass = computed(() => this.inline() ? cn(inputWrapVariants({
|
|
13368
13494
|
size: this.size(),
|
|
13369
13495
|
autoHeight: true
|
|
13370
|
-
}), "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 */ []);
|
|
13371
13498
|
inputClass = computed(() => this.inline() ? "input-control min-w-24 flex-1" : this.triggerClass, ...ngDevMode ? [{ debugName: "inputClass" }] : /* istanbul ignore next */ []);
|
|
13372
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 */ []);
|
|
13373
13500
|
hostClasses = computed(() => cn(selectWrapVariants({ size: this.size() }), this.class()), ...ngDevMode ? [{ debugName: "hostClasses" }] : /* istanbul ignore next */ []);
|
|
@@ -13631,6 +13758,20 @@ var AutocompleteComponent = class AutocompleteComponent {
|
|
|
13631
13758
|
isRequired: false,
|
|
13632
13759
|
transformFunction: null
|
|
13633
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
|
+
},
|
|
13634
13775
|
noResultsText: {
|
|
13635
13776
|
classPropertyName: "noResultsText",
|
|
13636
13777
|
publicName: "noResultsText",
|
|
@@ -13796,6 +13937,8 @@ var AutocompleteComponent = class AutocompleteComponent {
|
|
|
13796
13937
|
<input
|
|
13797
13938
|
ngCombobox
|
|
13798
13939
|
#input
|
|
13940
|
+
virtualKeyboard
|
|
13941
|
+
#vk="virtualKeyboard"
|
|
13799
13942
|
[class]="inputClass()"
|
|
13800
13943
|
[id]="id"
|
|
13801
13944
|
type="text"
|
|
@@ -13807,6 +13950,17 @@ var AutocompleteComponent = class AutocompleteComponent {
|
|
|
13807
13950
|
(input)="onInput($event)"
|
|
13808
13951
|
(keydown)="onKeydown($event)"
|
|
13809
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
|
+
}
|
|
13810
13964
|
@if (loading() || indicator()) {
|
|
13811
13965
|
<span [class]="indicatorClass()">
|
|
13812
13966
|
@if (loading()) {
|
|
@@ -13988,11 +14142,23 @@ var AutocompleteComponent = class AutocompleteComponent {
|
|
|
13988
14142
|
selector: "chevron-down, chevron-down-icon, ChevronDown, ChevronDownIcon",
|
|
13989
14143
|
inputs: ["class"]
|
|
13990
14144
|
},
|
|
14145
|
+
{
|
|
14146
|
+
kind: "component",
|
|
14147
|
+
type: KeyboardIcon,
|
|
14148
|
+
selector: "keyboard, keyboard-icon, Keyboard, KeyboardIcon",
|
|
14149
|
+
inputs: ["class"]
|
|
14150
|
+
},
|
|
13991
14151
|
{
|
|
13992
14152
|
kind: "component",
|
|
13993
14153
|
type: SpinnerIcon,
|
|
13994
14154
|
selector: "spinner, spinner-icon, Spinner, SpinnerIcon",
|
|
13995
14155
|
inputs: ["class"]
|
|
14156
|
+
},
|
|
14157
|
+
{
|
|
14158
|
+
kind: "directive",
|
|
14159
|
+
type: VirtualKeyboardDirective,
|
|
14160
|
+
selector: "input[virtualKeyboard]",
|
|
14161
|
+
exportAs: ["virtualKeyboard"]
|
|
13996
14162
|
}
|
|
13997
14163
|
]
|
|
13998
14164
|
});
|
|
@@ -14019,7 +14185,9 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
14019
14185
|
TagComponent,
|
|
14020
14186
|
TagRemoveComponent,
|
|
14021
14187
|
ChevronDownIcon,
|
|
14022
|
-
|
|
14188
|
+
KeyboardIcon,
|
|
14189
|
+
SpinnerIcon,
|
|
14190
|
+
VirtualKeyboardDirective
|
|
14023
14191
|
],
|
|
14024
14192
|
template: `
|
|
14025
14193
|
@if (fieldLabel(); as l) {
|
|
@@ -14040,6 +14208,8 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
14040
14208
|
<input
|
|
14041
14209
|
ngCombobox
|
|
14042
14210
|
#input
|
|
14211
|
+
virtualKeyboard
|
|
14212
|
+
#vk="virtualKeyboard"
|
|
14043
14213
|
[class]="inputClass()"
|
|
14044
14214
|
[id]="id"
|
|
14045
14215
|
type="text"
|
|
@@ -14051,6 +14221,17 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
14051
14221
|
(input)="onInput($event)"
|
|
14052
14222
|
(keydown)="onKeydown($event)"
|
|
14053
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
|
+
}
|
|
14054
14235
|
@if (loading() || indicator()) {
|
|
14055
14236
|
<span [class]="indicatorClass()">
|
|
14056
14237
|
@if (loading()) {
|
|
@@ -14266,6 +14447,22 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
14266
14447
|
required: false
|
|
14267
14448
|
}]
|
|
14268
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
|
+
}],
|
|
14269
14466
|
noResultsText: [{
|
|
14270
14467
|
type: i0.Input,
|
|
14271
14468
|
args: [{
|
|
@@ -14404,7 +14601,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
14404
14601
|
}]
|
|
14405
14602
|
}
|
|
14406
14603
|
});
|
|
14407
|
-
const buttonVariants = cva([
|
|
14604
|
+
const buttonVariants = /*@__PURE__*/ cva([
|
|
14408
14605
|
"box-border inline-flex items-center justify-center",
|
|
14409
14606
|
"rounded-(--radius-2xl) border-[1.5px] border-solid",
|
|
14410
14607
|
"font-[family-name:var(--family-base,'Hanken_Grotesk'),sans-serif] font-normal tracking-normal",
|
|
@@ -14672,7 +14869,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
14672
14869
|
});
|
|
14673
14870
|
const TOGGLE_ICON_CLASS = "toggle-icon";
|
|
14674
14871
|
const TOGGLE_LABEL_CLASS = "toggle-label";
|
|
14675
|
-
const toggleVariants = cva([
|
|
14872
|
+
const toggleVariants = /*@__PURE__*/ cva([
|
|
14676
14873
|
"relative inline-flex w-fit max-w-full items-center justify-center",
|
|
14677
14874
|
"cursor-pointer rounded-full border-0 bg-transparent whitespace-nowrap select-none",
|
|
14678
14875
|
"font-[family-name:var(--family-base,'Hanken_Grotesk'),sans-serif] font-normal",
|
|
@@ -14812,7 +15009,7 @@ const toggleVariants = cva([
|
|
|
14812
15009
|
showIcon: true
|
|
14813
15010
|
}
|
|
14814
15011
|
});
|
|
14815
|
-
const toggleGroupVariants = cva(["inline-flex items-center gap-(--spacing-3xs)"], {
|
|
15012
|
+
const toggleGroupVariants = /*@__PURE__*/ cva(["inline-flex items-center gap-(--spacing-3xs)"], {
|
|
14816
15013
|
variants: { variant: {
|
|
14817
15014
|
single: "rounded-(--radius-rounded) bg-(--bg-primary-lightest) p-(--spacing-3xs) [.dark_&]:bg-(--bg-primary-lighter)",
|
|
14818
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)"
|
|
@@ -15509,7 +15706,90 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
15509
15706
|
}]
|
|
15510
15707
|
}
|
|
15511
15708
|
});
|
|
15512
|
-
const
|
|
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([
|
|
15513
15793
|
"pointer-events-none inline-flex w-fit items-center justify-center gap-(--spacing-4xs) select-none",
|
|
15514
15794
|
"border border-solid text-(--font-neutral-base)",
|
|
15515
15795
|
"border-[color-mix(in_srgb,var(--bg-neutral-base),black_15%)] bg-(--bg-neutral-base)",
|
|
@@ -15651,7 +15931,7 @@ const LIST_ITEM_CHEVRON_RIGHT_CLASS = "list-item-chevron-right";
|
|
|
15651
15931
|
function getListDepthStyle(depth = 0) {
|
|
15652
15932
|
return depth > 0 ? { paddingLeft: `calc(var(--spacing-2xs) + ${depth} * 20px)` } : void 0;
|
|
15653
15933
|
}
|
|
15654
|
-
const listItemVariants = cva([
|
|
15934
|
+
const listItemVariants = /*@__PURE__*/ cva([
|
|
15655
15935
|
"relative box-border flex w-full items-center gap-(--spacing-2xs)",
|
|
15656
15936
|
"rounded-(--radius-sm) px-(--spacing-2xs) py-(--spacing-3xs)",
|
|
15657
15937
|
"bg-transparent",
|
|
@@ -15683,6 +15963,7 @@ const listItemVariants = cva([
|
|
|
15683
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",
|
|
15684
15964
|
"focus-visible:[&_.list-item-icon-right]:text-(--font-error-base)",
|
|
15685
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",
|
|
15686
15967
|
"[&_.list-item-icon-right:hover]:bg-(--bg-error-lightest) [&_.list-item-icon-right:hover]:text-(--font-error-base)",
|
|
15687
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",
|
|
15688
15969
|
"hover:[&_.list-item-chevron-right]:translate-x-0.5"
|
|
@@ -16139,6 +16420,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
16139
16420
|
}] }
|
|
16140
16421
|
});
|
|
16141
16422
|
var ListItemActionComponent = class ListItemActionComponent {
|
|
16423
|
+
keyboardAvailable = injectKeyboardAvailable();
|
|
16142
16424
|
ariaLabel = input(...ngDevMode ? [void 0, { debugName: "ariaLabel" }] : /* istanbul ignore next */ []);
|
|
16143
16425
|
disabled = input(false, {
|
|
16144
16426
|
...ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {},
|
|
@@ -16256,8 +16538,10 @@ var ListItemActionComponent = class ListItemActionComponent {
|
|
|
16256
16538
|
<ng-content />
|
|
16257
16539
|
</span>
|
|
16258
16540
|
<!-- Seconde ligne de la ligne, visible au focus clavier seulement (voir le CVA). Enfant direct de la
|
|
16259
|
-
ligne, l'hôte de ce composant étant en display: contents.
|
|
16260
|
-
|
|
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()) {
|
|
16261
16545
|
<span [class]="hintClass" aria-hidden="true">
|
|
16262
16546
|
<span>
|
|
16263
16547
|
{{ hint().before }}
|
|
@@ -16339,8 +16623,10 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
16339
16623
|
<ng-content />
|
|
16340
16624
|
</span>
|
|
16341
16625
|
<!-- Seconde ligne de la ligne, visible au focus clavier seulement (voir le CVA). Enfant direct de la
|
|
16342
|
-
ligne, l'hôte de ce composant étant en display: contents.
|
|
16343
|
-
|
|
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()) {
|
|
16344
16630
|
<span [class]="hintClass" aria-hidden="true">
|
|
16345
16631
|
<span>
|
|
16346
16632
|
{{ hint().before }}
|
|
@@ -16646,7 +16932,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
16646
16932
|
}] }
|
|
16647
16933
|
});
|
|
16648
16934
|
const TREE_ITEM_EXPANDER_CLASS = "tree-item-expander";
|
|
16649
|
-
const treeItemVariants = cva([
|
|
16935
|
+
const treeItemVariants = /*@__PURE__*/ cva([
|
|
16650
16936
|
"box-border flex w-full cursor-pointer items-center gap-(--spacing-2xs) select-none",
|
|
16651
16937
|
"rounded-(--radius-sm) px-(--spacing-2xs) py-(--spacing-3xs)",
|
|
16652
16938
|
"bg-transparent",
|
|
@@ -17319,7 +17605,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
17319
17605
|
}]
|
|
17320
17606
|
}] }
|
|
17321
17607
|
});
|
|
17322
|
-
const switchRootVariants = cva([
|
|
17608
|
+
const switchRootVariants = /*@__PURE__*/ cva([
|
|
17323
17609
|
"relative inline-flex min-h-(--switch-hitbox) cursor-pointer items-center gap-2 select-none [--switch-hitbox:2.75rem]",
|
|
17324
17610
|
"has-disabled:cursor-not-allowed",
|
|
17325
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)]",
|
|
@@ -17354,8 +17640,6 @@ const switchRootVariants = cva([
|
|
|
17354
17640
|
} },
|
|
17355
17641
|
defaultVariants: { size: "small" }
|
|
17356
17642
|
});
|
|
17357
|
-
cva("switch-track");
|
|
17358
|
-
cva("switch-thumb");
|
|
17359
17643
|
var SwitchComponent = class SwitchComponent {
|
|
17360
17644
|
checked = model(false, ...ngDevMode ? [{ debugName: "checked" }] : /* istanbul ignore next */ []);
|
|
17361
17645
|
disabled = input(false, {
|
|
@@ -17628,7 +17912,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
17628
17912
|
}]
|
|
17629
17913
|
}
|
|
17630
17914
|
});
|
|
17631
|
-
const checkboxRootVariants = cva([
|
|
17915
|
+
const checkboxRootVariants = /*@__PURE__*/ cva([
|
|
17632
17916
|
"relative inline-flex cursor-pointer items-start gap-(--spacing-xs) select-none",
|
|
17633
17917
|
"has-disabled:cursor-not-allowed",
|
|
17634
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)",
|
|
@@ -17903,7 +18187,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
17903
18187
|
}]
|
|
17904
18188
|
}
|
|
17905
18189
|
});
|
|
17906
|
-
const radioRootVariants = cva([
|
|
18190
|
+
const radioRootVariants = /*@__PURE__*/ cva([
|
|
17907
18191
|
"relative inline-flex cursor-pointer gap-(--spacing-xs) select-none",
|
|
17908
18192
|
"has-[:disabled]:cursor-not-allowed",
|
|
17909
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)]",
|
|
@@ -19011,7 +19295,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
19011
19295
|
function escapeForClass(chars) {
|
|
19012
19296
|
return chars.replace(/[\\\]^-]/g, "\\$&");
|
|
19013
19297
|
}
|
|
19014
|
-
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"], {
|
|
19015
19299
|
variants: {
|
|
19016
19300
|
variant: {
|
|
19017
19301
|
icon: "aspect-square",
|
|
@@ -19336,7 +19620,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
19336
19620
|
}]
|
|
19337
19621
|
}
|
|
19338
19622
|
});
|
|
19339
|
-
const bulletVariants = cva("inline-block shrink-0 rounded-(--radius-rounded)", {
|
|
19623
|
+
const bulletVariants = /*@__PURE__*/ cva("inline-block shrink-0 rounded-(--radius-rounded)", {
|
|
19340
19624
|
variants: {
|
|
19341
19625
|
scheme: {
|
|
19342
19626
|
sage: "",
|
|
@@ -19652,7 +19936,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
19652
19936
|
}]
|
|
19653
19937
|
}
|
|
19654
19938
|
});
|
|
19655
|
-
const avatarVariants = cva([
|
|
19939
|
+
const avatarVariants = /*@__PURE__*/ cva([
|
|
19656
19940
|
"inline-flex shrink-0 items-center justify-center overflow-hidden",
|
|
19657
19941
|
"rounded-(--radius-rounded)",
|
|
19658
19942
|
"font-[family-name:var(--family-base,'Hanken_Grotesk'),sans-serif] select-none",
|
|
@@ -20272,7 +20556,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
20272
20556
|
}
|
|
20273
20557
|
});
|
|
20274
20558
|
const LINK_LABEL_CLASS = "link-label";
|
|
20275
|
-
const linkVariants = cva([
|
|
20559
|
+
const linkVariants = /*@__PURE__*/ cva([
|
|
20276
20560
|
"box-border inline-flex items-center gap-(--spacing-3xs) p-0",
|
|
20277
20561
|
"rounded-(--radius-xs) border-0 bg-transparent",
|
|
20278
20562
|
"text-(--font-secondary-base-alt)",
|
|
@@ -20316,7 +20600,7 @@ const linkVariants = cva([
|
|
|
20316
20600
|
openWindow: false
|
|
20317
20601
|
}
|
|
20318
20602
|
});
|
|
20319
|
-
const linkIconVariants = cva("inline-flex shrink-0 items-center justify-center", {
|
|
20603
|
+
const linkIconVariants = /*@__PURE__*/ cva("inline-flex shrink-0 items-center justify-center", {
|
|
20320
20604
|
variants: {
|
|
20321
20605
|
size: {
|
|
20322
20606
|
sm: "",
|
|
@@ -20641,7 +20925,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
20641
20925
|
const TEXTAREA_CONTROL_CLASS = "textarea-control";
|
|
20642
20926
|
const TEXTAREA_COUNTER_CLASS = "textarea-counter";
|
|
20643
20927
|
const TEXTAREA_LINE_HEIGHT = 1.4;
|
|
20644
|
-
const textareaWrapVariants = cva([
|
|
20928
|
+
const textareaWrapVariants = /*@__PURE__*/ cva([
|
|
20645
20929
|
"box-border flex w-full flex-col gap-(--spacing-3xs)",
|
|
20646
20930
|
"border border-solid bg-(--bg-neutral-white)",
|
|
20647
20931
|
"transition-[border-color,background-color,outline-color] duration-150 ease-[ease] motion-reduce:transition-none",
|
|
@@ -21064,6 +21348,22 @@ const CONTROL_ATTRIBUTES$1 = `
|
|
|
21064
21348
|
(blur)="touch.emit()"
|
|
21065
21349
|
[attr.aria-label]="ariaLabel()"
|
|
21066
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
|
+
`;
|
|
21067
21367
|
const AFTER_CONTROL$1 = `
|
|
21068
21368
|
<button
|
|
21069
21369
|
input-icon-right
|
|
@@ -21115,6 +21415,8 @@ var SearchInputBase = class SearchInputBase {
|
|
|
21115
21415
|
alias: "aria-label"
|
|
21116
21416
|
});
|
|
21117
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 */ []);
|
|
21118
21420
|
clearLabel = input("Clear search", ...ngDevMode ? [{ debugName: "clearLabel" }] : /* istanbul ignore next */ []);
|
|
21119
21421
|
class = input(...ngDevMode ? [void 0, { debugName: "class" }] : /* istanbul ignore next */ []);
|
|
21120
21422
|
size = input("md", ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
|
|
@@ -21197,6 +21499,20 @@ var SearchInputBase = class SearchInputBase {
|
|
|
21197
21499
|
isRequired: false,
|
|
21198
21500
|
transformFunction: null
|
|
21199
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
|
+
},
|
|
21200
21516
|
clearLabel: {
|
|
21201
21517
|
classPropertyName: "clearLabel",
|
|
21202
21518
|
publicName: "clearLabel",
|
|
@@ -21326,6 +21642,22 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
21326
21642
|
required: false
|
|
21327
21643
|
}]
|
|
21328
21644
|
}],
|
|
21645
|
+
hideKeyboardLabel: [{
|
|
21646
|
+
type: i0.Input,
|
|
21647
|
+
args: [{
|
|
21648
|
+
isSignal: true,
|
|
21649
|
+
alias: "hideKeyboardLabel",
|
|
21650
|
+
required: false
|
|
21651
|
+
}]
|
|
21652
|
+
}],
|
|
21653
|
+
keyboardLabel: [{
|
|
21654
|
+
type: i0.Input,
|
|
21655
|
+
args: [{
|
|
21656
|
+
isSignal: true,
|
|
21657
|
+
alias: "keyboardLabel",
|
|
21658
|
+
required: false
|
|
21659
|
+
}]
|
|
21660
|
+
}],
|
|
21329
21661
|
clearLabel: [{
|
|
21330
21662
|
type: i0.Input,
|
|
21331
21663
|
args: [{
|
|
@@ -21505,7 +21837,7 @@ var SearchInputSuggestionsComponent = class SearchInputSuggestionsComponent exte
|
|
|
21505
21837
|
target: i0.ɵɵFactoryTarget.Component
|
|
21506
21838
|
});
|
|
21507
21839
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
21508
|
-
minVersion: "17.
|
|
21840
|
+
minVersion: "17.0.0",
|
|
21509
21841
|
version: "22.2.1",
|
|
21510
21842
|
type: SearchInputSuggestionsComponent,
|
|
21511
21843
|
isStandalone: true,
|
|
@@ -21519,7 +21851,7 @@ var SearchInputSuggestionsComponent = class SearchInputSuggestionsComponent exte
|
|
|
21519
21851
|
}],
|
|
21520
21852
|
usesInheritance: true,
|
|
21521
21853
|
ngImport: i0,
|
|
21522
|
-
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 ",
|
|
21523
21855
|
isInline: true,
|
|
21524
21856
|
dependencies: [
|
|
21525
21857
|
{
|
|
@@ -21620,6 +21952,18 @@ var SearchInputSuggestionsComponent = class SearchInputSuggestionsComponent exte
|
|
|
21620
21952
|
],
|
|
21621
21953
|
outputs: ["expandedChange", "valueChange"],
|
|
21622
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"]
|
|
21623
21967
|
}
|
|
21624
21968
|
]
|
|
21625
21969
|
});
|
|
@@ -21634,11 +21978,16 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
21634
21978
|
args: [{
|
|
21635
21979
|
selector: "SearchInput[suggestions], search-input[suggestions], searchinput[suggestions]",
|
|
21636
21980
|
standalone: true,
|
|
21637
|
-
imports: [
|
|
21981
|
+
imports: [
|
|
21982
|
+
...SEARCH_INPUT_IMPORTS,
|
|
21983
|
+
Combobox,
|
|
21984
|
+
KeyboardIcon,
|
|
21985
|
+
VirtualKeyboardDirective
|
|
21986
|
+
],
|
|
21638
21987
|
template: `${BEFORE_CONTROL$1}
|
|
21639
21988
|
<input
|
|
21640
|
-
ngCombobox ${CONTROL_ATTRIBUTES$1} ${STATE_ATTRIBUTES$1}
|
|
21641
|
-
[(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}
|
|
21642
21991
|
`
|
|
21643
21992
|
}]
|
|
21644
21993
|
}],
|
|
@@ -21649,7 +21998,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
21649
21998
|
});
|
|
21650
21999
|
const SB_ICON_CLASS = "sb-icon";
|
|
21651
22000
|
const SB_INPUT_CLASS = "sb-input";
|
|
21652
|
-
const searchBarVariants = cva([
|
|
22001
|
+
const searchBarVariants = /*@__PURE__*/ cva([
|
|
21653
22002
|
"box-border inline-flex cursor-text items-center bg-(--bg-neutral-white)",
|
|
21654
22003
|
"rounded-(--radius-rounded) border border-solid border-(--stroke-primary-muted)",
|
|
21655
22004
|
"transition-[border-color,background] duration-120 ease-[ease] motion-reduce:transition-none",
|
|
@@ -21703,6 +22052,22 @@ const CONTROL_ATTRIBUTES = `
|
|
|
21703
22052
|
[attr.aria-label]="ariaLabel()"
|
|
21704
22053
|
[attr.aria-keyshortcuts]="hotkey()"
|
|
21705
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
|
+
`;
|
|
21706
22071
|
const AFTER_CONTROL = `
|
|
21707
22072
|
<button
|
|
21708
22073
|
variant="tertiary"
|
|
@@ -21764,6 +22129,8 @@ var SearchBarBase = class SearchBarBase {
|
|
|
21764
22129
|
...ngDevMode ? { debugName: "ariaLabel" } : /* istanbul ignore next */ {},
|
|
21765
22130
|
alias: "aria-label"
|
|
21766
22131
|
});
|
|
22132
|
+
hideKeyboardLabel = input("Hide keyboard", ...ngDevMode ? [{ debugName: "hideKeyboardLabel" }] : /* istanbul ignore next */ []);
|
|
22133
|
+
keyboardLabel = input("Show keyboard", ...ngDevMode ? [{ debugName: "keyboardLabel" }] : /* istanbul ignore next */ []);
|
|
21767
22134
|
clearLabel = input("Clear search", ...ngDevMode ? [{ debugName: "clearLabel" }] : /* istanbul ignore next */ []);
|
|
21768
22135
|
sendLabel = input("Send", ...ngDevMode ? [{ debugName: "sendLabel" }] : /* istanbul ignore next */ []);
|
|
21769
22136
|
disabled = input(false, {
|
|
@@ -21845,6 +22212,20 @@ var SearchBarBase = class SearchBarBase {
|
|
|
21845
22212
|
isRequired: false,
|
|
21846
22213
|
transformFunction: null
|
|
21847
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
|
+
},
|
|
21848
22229
|
clearLabel: {
|
|
21849
22230
|
classPropertyName: "clearLabel",
|
|
21850
22231
|
publicName: "clearLabel",
|
|
@@ -21970,6 +22351,22 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
21970
22351
|
required: false
|
|
21971
22352
|
}]
|
|
21972
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
|
+
}],
|
|
21973
22370
|
clearLabel: [{
|
|
21974
22371
|
type: i0.Input,
|
|
21975
22372
|
args: [{
|
|
@@ -22181,7 +22578,7 @@ var SearchBarSuggestionsComponent = class SearchBarSuggestionsComponent extends
|
|
|
22181
22578
|
}],
|
|
22182
22579
|
usesInheritance: true,
|
|
22183
22580
|
ngImport: i0,
|
|
22184
|
-
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",
|
|
22185
22582
|
isInline: true,
|
|
22186
22583
|
dependencies: [
|
|
22187
22584
|
{
|
|
@@ -22256,6 +22653,18 @@ var SearchBarSuggestionsComponent = class SearchBarSuggestionsComponent extends
|
|
|
22256
22653
|
],
|
|
22257
22654
|
outputs: ["expandedChange", "valueChange"],
|
|
22258
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"]
|
|
22259
22668
|
}
|
|
22260
22669
|
]
|
|
22261
22670
|
});
|
|
@@ -22270,11 +22679,16 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
22270
22679
|
args: [{
|
|
22271
22680
|
selector: "SearchBar[suggestions], search-bar[suggestions], searchbar[suggestions]",
|
|
22272
22681
|
standalone: true,
|
|
22273
|
-
imports: [
|
|
22682
|
+
imports: [
|
|
22683
|
+
...SEARCH_BAR_IMPORTS,
|
|
22684
|
+
Combobox,
|
|
22685
|
+
KeyboardIcon,
|
|
22686
|
+
VirtualKeyboardDirective
|
|
22687
|
+
],
|
|
22274
22688
|
template: `${BEFORE_CONTROL}
|
|
22275
22689
|
<input
|
|
22276
|
-
ngCombobox ${CONTROL_ATTRIBUTES} ${STATE_ATTRIBUTES}
|
|
22277
|
-
[(value)]="value" />${AFTER_CONTROL}`
|
|
22690
|
+
ngCombobox virtualKeyboard #vk="virtualKeyboard" ${CONTROL_ATTRIBUTES} ${STATE_ATTRIBUTES}
|
|
22691
|
+
[(value)]="value" />${KEYBOARD_BUTTON}${AFTER_CONTROL}`
|
|
22278
22692
|
}]
|
|
22279
22693
|
}],
|
|
22280
22694
|
propDecorators: { combobox: [{
|
|
@@ -22293,7 +22707,7 @@ const MODAL_CLOSE_CLASS = "modal-close";
|
|
|
22293
22707
|
const MODAL_BODY_CLASS = "modal-body";
|
|
22294
22708
|
const MODAL_BODY_TEXT_CLASS = "modal-body-text";
|
|
22295
22709
|
const MODAL_FOOTER_CLASS = "modal-footer";
|
|
22296
|
-
const modalVariants = cva([
|
|
22710
|
+
const modalVariants = /*@__PURE__*/ cva([
|
|
22297
22711
|
"bg-(--layer-page-layer)",
|
|
22298
22712
|
"relative flex flex-col items-start overflow-clip",
|
|
22299
22713
|
"rounded-(--radius-lg)",
|
|
@@ -23173,7 +23587,7 @@ const SHEET_TITLE_WRAP_CLASS = "sheet-title-wrap";
|
|
|
23173
23587
|
const SHEET_CLOSE_CLASS = "sheet-close";
|
|
23174
23588
|
const SHEET_BODY_CLASS = "sheet-body";
|
|
23175
23589
|
const SHEET_FOOTER_CLASS = "sheet-footer";
|
|
23176
|
-
const sheetVariants = cva([
|
|
23590
|
+
const sheetVariants = /*@__PURE__*/ cva([
|
|
23177
23591
|
"fixed m-0 max-h-none max-w-none border-0 p-0",
|
|
23178
23592
|
"bg-(--layer-page-layer) text-(--layer-page-font)",
|
|
23179
23593
|
"flex-col items-stretch overflow-hidden",
|
|
@@ -23896,43 +24310,6 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
23896
24310
|
}]
|
|
23897
24311
|
}] }
|
|
23898
24312
|
});
|
|
23899
|
-
const MOBILE_QUERY = `(width < 768px)`;
|
|
23900
|
-
var BreakpointObserverService = class BreakpointObserverService {
|
|
23901
|
-
_isMobile = signal(false, ...ngDevMode ? [{ debugName: "_isMobile" }] : /* istanbul ignore next */ []);
|
|
23902
|
-
isMobile = this._isMobile.asReadonly();
|
|
23903
|
-
constructor() {
|
|
23904
|
-
const query = typeof window === "undefined" ? void 0 : window.matchMedia?.(MOBILE_QUERY);
|
|
23905
|
-
if (!query) return;
|
|
23906
|
-
this._isMobile.set(query.matches);
|
|
23907
|
-
query.addEventListener("change", this.handleChange);
|
|
23908
|
-
inject(DestroyRef).onDestroy(() => query.removeEventListener("change", this.handleChange));
|
|
23909
|
-
}
|
|
23910
|
-
handleChange = (event) => {
|
|
23911
|
-
this._isMobile.set(event.matches);
|
|
23912
|
-
};
|
|
23913
|
-
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
23914
|
-
minVersion: "12.0.0",
|
|
23915
|
-
version: "22.2.1",
|
|
23916
|
-
ngImport: i0,
|
|
23917
|
-
type: BreakpointObserverService,
|
|
23918
|
-
deps: [],
|
|
23919
|
-
target: i0.ɵɵFactoryTarget.Service
|
|
23920
|
-
});
|
|
23921
|
-
static ɵprov = i0.ɵɵngDeclareService({
|
|
23922
|
-
minVersion: "22.0.0",
|
|
23923
|
-
version: "22.2.1",
|
|
23924
|
-
ngImport: i0,
|
|
23925
|
-
type: BreakpointObserverService
|
|
23926
|
-
});
|
|
23927
|
-
};
|
|
23928
|
-
i0.ɵɵngDeclareClassMetadata({
|
|
23929
|
-
minVersion: "12.0.0",
|
|
23930
|
-
version: "22.2.1",
|
|
23931
|
-
ngImport: i0,
|
|
23932
|
-
type: BreakpointObserverService,
|
|
23933
|
-
decorators: [{ type: Service }],
|
|
23934
|
-
ctorParameters: () => []
|
|
23935
|
-
});
|
|
23936
24313
|
const SIDEBAR_CLASS = "sidebar";
|
|
23937
24314
|
const SIDEBAR_HEADER_CLASS = "sidebar-header";
|
|
23938
24315
|
const SIDEBAR_CONTENT_CLASS = "sidebar-content";
|
|
@@ -23966,7 +24343,7 @@ const SIDEBAR_ITEM_STYLE = [
|
|
|
23966
24343
|
const SIDEBAR_ITEM_LABEL_STYLE = "min-w-0 flex-1 overflow-hidden text-ellipsis whitespace-nowrap group-data-[collapsed=true]:sr-only";
|
|
23967
24344
|
const SIDEBAR_SLOT_STYLE = "relative h-full shrink-0 overflow-visible transition-[width] duration-200 ease-in-out motion-reduce:transition-none";
|
|
23968
24345
|
const SIDEBAR_HOST_CLASS = "contents [--sidebar-width-icon:3.5rem] [--sidebar-width:16rem]";
|
|
23969
|
-
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))"], {
|
|
23970
24347
|
variants: {
|
|
23971
24348
|
side: {
|
|
23972
24349
|
left: "left-0 border-r border-(--sidebar-border,var(--layer-page-edge))",
|
|
@@ -23983,7 +24360,7 @@ const sidebarVariants = cva(["group absolute inset-y-0 flex min-w-0 flex-col ove
|
|
|
23983
24360
|
variant: "sidebar"
|
|
23984
24361
|
}
|
|
23985
24362
|
});
|
|
23986
|
-
const sidebarInsetVariants = cva([
|
|
24363
|
+
const sidebarInsetVariants = /*@__PURE__*/ cva([
|
|
23987
24364
|
"flex min-w-0 flex-1 flex-col overflow-hidden",
|
|
23988
24365
|
"bg-(--layer-page-layer) text-(--layer-page-font)",
|
|
23989
24366
|
"rounded-(--sidebar-radius,var(--radius-lg)) shadow-(--shadow-1)"
|
|
@@ -24851,7 +25228,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
24851
25228
|
}]
|
|
24852
25229
|
}] }
|
|
24853
25230
|
});
|
|
24854
|
-
const resizableGroupVariants = cva("flex size-full overflow-hidden", {
|
|
25231
|
+
const resizableGroupVariants = /*@__PURE__*/ cva("flex size-full overflow-hidden", {
|
|
24855
25232
|
variants: { direction: {
|
|
24856
25233
|
horizontal: "flex-row",
|
|
24857
25234
|
vertical: "flex-col"
|
|
@@ -24859,7 +25236,7 @@ const resizableGroupVariants = cva("flex size-full overflow-hidden", {
|
|
|
24859
25236
|
defaultVariants: { direction: "horizontal" }
|
|
24860
25237
|
});
|
|
24861
25238
|
const RESIZABLE_PANEL_CLASS = "block size-full grow-0 shrink overflow-hidden";
|
|
24862
|
-
const resizableHandleVariants = cva([
|
|
25239
|
+
const resizableHandleVariants = /*@__PURE__*/ cva([
|
|
24863
25240
|
"relative flex shrink-0 touch-none items-center justify-center select-none",
|
|
24864
25241
|
"bg-(--bg-neutral-hovered) hover:bg-(--bg-neutral-muted) active:bg-(--bg-neutral-muted)",
|
|
24865
25242
|
"focus-visible:outline-2 focus-visible:outline-offset-0 focus-visible:outline-(--stroke-focus) focus-visible:outline-solid",
|
|
@@ -25894,6 +26271,379 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
25894
26271
|
}]
|
|
25895
26272
|
}
|
|
25896
26273
|
});
|
|
25897
|
-
|
|
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 };
|
|
25898
26648
|
|
|
25899
26649
|
//# sourceMappingURL=sinequa-galactik.mjs.map
|