@sinequa/galactik 2.10.0 → 2.12.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";
|
|
@@ -2195,6 +2195,69 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2195
2195
|
}] }
|
|
2196
2196
|
});
|
|
2197
2197
|
const CommentsIconComponent = CommentsIcon;
|
|
2198
|
+
var CrownIcon = class CrownIcon {
|
|
2199
|
+
class = input(...ngDevMode ? [void 0, { debugName: "class" }] : /* istanbul ignore next */ []);
|
|
2200
|
+
classes = computed(() => cn(this.class()), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
|
|
2201
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
2202
|
+
minVersion: "12.0.0",
|
|
2203
|
+
version: "22.2.1",
|
|
2204
|
+
ngImport: i0,
|
|
2205
|
+
type: CrownIcon,
|
|
2206
|
+
deps: [],
|
|
2207
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
2208
|
+
});
|
|
2209
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
2210
|
+
minVersion: "17.1.0",
|
|
2211
|
+
version: "22.2.1",
|
|
2212
|
+
type: CrownIcon,
|
|
2213
|
+
isStandalone: true,
|
|
2214
|
+
selector: "crown, crown-icon, Crown, CrownIcon",
|
|
2215
|
+
inputs: { class: {
|
|
2216
|
+
classPropertyName: "class",
|
|
2217
|
+
publicName: "class",
|
|
2218
|
+
isSignal: true,
|
|
2219
|
+
isRequired: false,
|
|
2220
|
+
transformFunction: null
|
|
2221
|
+
} },
|
|
2222
|
+
ngImport: i0,
|
|
2223
|
+
template: `
|
|
2224
|
+
<svg [class]="classes()" aria-hidden="true" width="1rem" height="1rem" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
2225
|
+
<path d="M11.562 3.266a.5.5 0 0 1 .876 0L15.39 8.87a1 1 0 0 0 1.516.294L21.183 5.5a.5.5 0 0 1 .798.519l-2.834 10.246a1 1 0 0 1-.956.734H5.81a1 1 0 0 1-.957-.734L2.02 6.02a.5.5 0 0 1 .798-.519l4.276 3.664a1 1 0 0 0 1.516-.294z" />
|
|
2226
|
+
<path d="M5 21h14" />
|
|
2227
|
+
</svg>
|
|
2228
|
+
`,
|
|
2229
|
+
isInline: true,
|
|
2230
|
+
styles: [":host{display:contents}\n"]
|
|
2231
|
+
});
|
|
2232
|
+
};
|
|
2233
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
2234
|
+
minVersion: "12.0.0",
|
|
2235
|
+
version: "22.2.1",
|
|
2236
|
+
ngImport: i0,
|
|
2237
|
+
type: CrownIcon,
|
|
2238
|
+
decorators: [{
|
|
2239
|
+
type: Component,
|
|
2240
|
+
args: [{
|
|
2241
|
+
selector: "crown, crown-icon, Crown, CrownIcon",
|
|
2242
|
+
template: `
|
|
2243
|
+
<svg [class]="classes()" aria-hidden="true" width="1rem" height="1rem" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
2244
|
+
<path d="M11.562 3.266a.5.5 0 0 1 .876 0L15.39 8.87a1 1 0 0 0 1.516.294L21.183 5.5a.5.5 0 0 1 .798.519l-2.834 10.246a1 1 0 0 1-.956.734H5.81a1 1 0 0 1-.957-.734L2.02 6.02a.5.5 0 0 1 .798-.519l4.276 3.664a1 1 0 0 0 1.516-.294z" />
|
|
2245
|
+
<path d="M5 21h14" />
|
|
2246
|
+
</svg>
|
|
2247
|
+
`,
|
|
2248
|
+
styles: [":host{display:contents}\n"]
|
|
2249
|
+
}]
|
|
2250
|
+
}],
|
|
2251
|
+
propDecorators: { class: [{
|
|
2252
|
+
type: i0.Input,
|
|
2253
|
+
args: [{
|
|
2254
|
+
isSignal: true,
|
|
2255
|
+
alias: "class",
|
|
2256
|
+
required: false
|
|
2257
|
+
}]
|
|
2258
|
+
}] }
|
|
2259
|
+
});
|
|
2260
|
+
const CrownIconComponent = CrownIcon;
|
|
2198
2261
|
var DebugIcon = class DebugIcon {
|
|
2199
2262
|
class = input(...ngDevMode ? [void 0, { debugName: "class" }] : /* istanbul ignore next */ []);
|
|
2200
2263
|
classes = computed(() => cn(this.class()), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
|
|
@@ -9854,7 +9917,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
9854
9917
|
}
|
|
9855
9918
|
});
|
|
9856
9919
|
const TOOLTIP_CLASS = "tooltip-panel";
|
|
9857
|
-
const tooltipVariants = cva([
|
|
9920
|
+
const tooltipVariants = /*@__PURE__*/ cva([
|
|
9858
9921
|
TOOLTIP_CLASS,
|
|
9859
9922
|
"fixed inset-auto m-0 w-max max-w-(--tooltip-max-w,20rem) overflow-visible border-0 break-words",
|
|
9860
9923
|
"rounded-(--radius-xs) bg-(--bg-neutral-base-alt) px-(--spacing-xs) py-(--spacing-3xs)",
|
|
@@ -10173,6 +10236,7 @@ var TooltipDirective = class TooltipDirective {
|
|
|
10173
10236
|
this.close();
|
|
10174
10237
|
}
|
|
10175
10238
|
onEnter() {
|
|
10239
|
+
if (this.pointerType === "touch") return;
|
|
10176
10240
|
if (this.settings().event !== "focus") this.scheduleShow();
|
|
10177
10241
|
}
|
|
10178
10242
|
onLeave() {
|
|
@@ -10191,7 +10255,12 @@ var TooltipDirective = class TooltipDirective {
|
|
|
10191
10255
|
onFocusOut() {
|
|
10192
10256
|
if (this.settings().event !== "hover") this.scheduleHide(false);
|
|
10193
10257
|
}
|
|
10194
|
-
|
|
10258
|
+
pointerType;
|
|
10259
|
+
onPointerType(event) {
|
|
10260
|
+
this.pointerType = event.pointerType;
|
|
10261
|
+
}
|
|
10262
|
+
onPointerDown(event) {
|
|
10263
|
+
this.pointerType = event.pointerType;
|
|
10195
10264
|
this.pointerFocus = true;
|
|
10196
10265
|
this.hide();
|
|
10197
10266
|
}
|
|
@@ -10250,6 +10319,14 @@ var TooltipDirective = class TooltipDirective {
|
|
|
10250
10319
|
capture: true,
|
|
10251
10320
|
passive: true
|
|
10252
10321
|
});
|
|
10322
|
+
const arm = setTimeout(() => {
|
|
10323
|
+
this.listen(this.document, "click", (event) => {
|
|
10324
|
+
const target = event.target;
|
|
10325
|
+
if (element.contains(target) || this.host.contains(target)) return;
|
|
10326
|
+
this.hide();
|
|
10327
|
+
});
|
|
10328
|
+
}, 0);
|
|
10329
|
+
this.teardown.push(() => clearTimeout(arm));
|
|
10253
10330
|
if (life > 0) this.lifeTimer = setTimeout(() => this.hide(), life);
|
|
10254
10331
|
}
|
|
10255
10332
|
close() {
|
|
@@ -10428,7 +10505,8 @@ var TooltipDirective = class TooltipDirective {
|
|
|
10428
10505
|
"mouseleave": "onLeave()",
|
|
10429
10506
|
"focusin": "onFocusIn()",
|
|
10430
10507
|
"focusout": "onFocusOut()",
|
|
10431
|
-
"
|
|
10508
|
+
"pointerenter": "onPointerType($event)",
|
|
10509
|
+
"pointerdown": "onPointerDown($event)",
|
|
10432
10510
|
"pointerup": "pointerFocus = false",
|
|
10433
10511
|
"pointercancel": "pointerFocus = false",
|
|
10434
10512
|
"click": "onClick()"
|
|
@@ -10460,7 +10538,8 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
10460
10538
|
"(mouseleave)": "onLeave()",
|
|
10461
10539
|
"(focusin)": "onFocusIn()",
|
|
10462
10540
|
"(focusout)": "onFocusOut()",
|
|
10463
|
-
"(
|
|
10541
|
+
"(pointerenter)": "onPointerType($event)",
|
|
10542
|
+
"(pointerdown)": "onPointerDown($event)",
|
|
10464
10543
|
"(pointerup)": "pointerFocus = false",
|
|
10465
10544
|
"(pointercancel)": "pointerFocus = false",
|
|
10466
10545
|
"(click)": "onClick()"
|
|
@@ -10796,14 +10875,14 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
10796
10875
|
}],
|
|
10797
10876
|
ctorParameters: () => []
|
|
10798
10877
|
});
|
|
10799
|
-
const menuPanelVariants = cva([
|
|
10878
|
+
const menuPanelVariants = /*@__PURE__*/ cva([
|
|
10800
10879
|
"p-(--spacing-2xs)",
|
|
10801
10880
|
"rounded-(--radius-sm) bg-(--layer-page-layer) shadow-(--shadow-1)",
|
|
10802
10881
|
"[&_.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
10882
|
"[&_.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
10883
|
]);
|
|
10805
|
-
const menuContentVariants = cva("flex w-full flex-col items-start");
|
|
10806
|
-
const menuItemVariants = cva([
|
|
10884
|
+
const menuContentVariants = /*@__PURE__*/ cva("flex w-full flex-col items-start");
|
|
10885
|
+
const menuItemVariants = /*@__PURE__*/ cva([
|
|
10807
10886
|
"flex w-full items-center gap-(--spacing-xs)",
|
|
10808
10887
|
"rounded-(--radius-xs) px-(--spacing-md) py-(--spacing-xs)",
|
|
10809
10888
|
"font-[family-name:var(--family-base,'Hanken_Grotesk'),sans-serif] text-(length:--size-sm) font-normal",
|
|
@@ -10818,7 +10897,7 @@ const menuItemVariants = cva([
|
|
|
10818
10897
|
"[&_.label]:flex-1 [&_.label]:text-left",
|
|
10819
10898
|
"[&_.arrow]:shrink-0 [&_.arrow]:text-(--font-primary-muted)"
|
|
10820
10899
|
]);
|
|
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)");
|
|
10900
|
+
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
10901
|
const menuBaseClass = "min-w-fit w-60 max-w-fit data-[visible=false]:hidden";
|
|
10823
10902
|
const isToggleRole = (role) => role === "menuitemcheckbox" || role === "menuitemradio";
|
|
10824
10903
|
var MenuComponent = class MenuComponent {
|
|
@@ -11326,7 +11405,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
11326
11405
|
}]
|
|
11327
11406
|
}] }
|
|
11328
11407
|
});
|
|
11329
|
-
const tabGroupVariants = cva(["flex items-center gap-(--spacing-3xs)"], {
|
|
11408
|
+
const tabGroupVariants = /*@__PURE__*/ cva(["flex items-center gap-(--spacing-3xs)"], {
|
|
11330
11409
|
variants: { variant: {
|
|
11331
11410
|
primary: "inline-flex rounded-(--radius-md) border border-(--stroke-primary-light) bg-(--bg-primary-lightest) p-(--spacing-3xs) aria-[orientation='vertical']:flex-col",
|
|
11332
11411
|
secondary: "flex items-end border-b border-(--stroke-primary-lighter) bg-(--bg-neutral-white) **:[[role='tab']]:-mb-px",
|
|
@@ -11334,7 +11413,7 @@ const tabGroupVariants = cva(["flex items-center gap-(--spacing-3xs)"], {
|
|
|
11334
11413
|
} },
|
|
11335
11414
|
defaultVariants: { variant: "primary" }
|
|
11336
11415
|
});
|
|
11337
|
-
const tabItemVariants = cva([
|
|
11416
|
+
const tabItemVariants = /*@__PURE__*/ cva([
|
|
11338
11417
|
"inline-flex items-center gap-(--spacing-xs) px-(--spacing-md) py-0",
|
|
11339
11418
|
"cursor-pointer border-0 bg-transparent whitespace-nowrap outline-none select-none",
|
|
11340
11419
|
"max-w-(--tab-max-width,100%)",
|
|
@@ -11763,6 +11842,17 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
11763
11842
|
});
|
|
11764
11843
|
var ListboxActivateOnHover = class ListboxActivateOnHover {
|
|
11765
11844
|
listbox = inject(Listbox);
|
|
11845
|
+
host = inject(ElementRef);
|
|
11846
|
+
hoveredId;
|
|
11847
|
+
constructor() {
|
|
11848
|
+
effect(() => {
|
|
11849
|
+
const id = this.listbox.activeDescendant();
|
|
11850
|
+
if (!id) return;
|
|
11851
|
+
if (id === this.hoveredId) return;
|
|
11852
|
+
this.hoveredId = void 0;
|
|
11853
|
+
this.host.nativeElement.querySelector(`[id="${id}"]`)?.scrollIntoView?.({ block: "nearest" });
|
|
11854
|
+
});
|
|
11855
|
+
}
|
|
11766
11856
|
onPointerMove(event) {
|
|
11767
11857
|
if (event.pointerType === "touch") return;
|
|
11768
11858
|
const pattern = this.listbox._pattern;
|
|
@@ -11770,6 +11860,7 @@ var ListboxActivateOnHover = class ListboxActivateOnHover {
|
|
|
11770
11860
|
const item = items().find((i) => i.element()?.contains(event.target));
|
|
11771
11861
|
if (!item || item === activeItem()) return;
|
|
11772
11862
|
if (item.disabled()) return;
|
|
11863
|
+
this.hoveredId = item.element()?.id;
|
|
11773
11864
|
pattern.listBehavior.goto(item);
|
|
11774
11865
|
}
|
|
11775
11866
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
@@ -11801,7 +11892,8 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
11801
11892
|
selector: "[ngListbox][activateOnHover]",
|
|
11802
11893
|
host: { "(pointermove)": "onPointerMove($event)" }
|
|
11803
11894
|
}]
|
|
11804
|
-
}]
|
|
11895
|
+
}],
|
|
11896
|
+
ctorParameters: () => []
|
|
11805
11897
|
});
|
|
11806
11898
|
let _labelCounter = 0;
|
|
11807
11899
|
var SelectLabelDirective = class SelectLabelDirective {
|
|
@@ -11868,7 +11960,7 @@ const SELECT_OPTION_SUBLABEL_CLASS = "select-option-sublabel";
|
|
|
11868
11960
|
const SELECT_OPTION_CHECK_CLASS = "select-option-check";
|
|
11869
11961
|
const SELECT_HINT_CLASS = "select-hint";
|
|
11870
11962
|
const SELECT_CHEVRON_CLASS = "select-chevron";
|
|
11871
|
-
const selectWrapVariants = cva([
|
|
11963
|
+
const selectWrapVariants = /*@__PURE__*/ cva([
|
|
11872
11964
|
"relative inline-flex w-full flex-col",
|
|
11873
11965
|
"[&_.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
11966
|
"[&_.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 +11999,7 @@ const selectWrapVariants = cva([
|
|
|
11907
11999
|
} },
|
|
11908
12000
|
defaultVariants: { size: "md" }
|
|
11909
12001
|
});
|
|
11910
|
-
const selectTriggerVariants = cva([
|
|
12002
|
+
const selectTriggerVariants = /*@__PURE__*/ cva([
|
|
11911
12003
|
"select-trigger box-border inline-flex w-full cursor-pointer items-center gap-(--spacing-xs) text-left",
|
|
11912
12004
|
"rounded-(--radius-sm) border border-solid border-(--stroke-primary-muted)",
|
|
11913
12005
|
"bg-(--bg-neutral-white) text-(--font-primary-base)",
|
|
@@ -11934,7 +12026,7 @@ const selectTriggerVariants = cva([
|
|
|
11934
12026
|
empty: false
|
|
11935
12027
|
}
|
|
11936
12028
|
});
|
|
11937
|
-
const selectChevronVariants = cva([
|
|
12029
|
+
const selectChevronVariants = /*@__PURE__*/ cva([
|
|
11938
12030
|
"inline-flex shrink-0 items-center justify-center text-(--font-primary-muted)",
|
|
11939
12031
|
"text-[10px]",
|
|
11940
12032
|
"transition-transform duration-150 ease-[ease] motion-reduce:transition-none"
|
|
@@ -11945,7 +12037,7 @@ const selectChevronVariants = cva([
|
|
|
11945
12037
|
} },
|
|
11946
12038
|
defaultVariants: { open: false }
|
|
11947
12039
|
});
|
|
11948
|
-
const selectOptionVariants = cva([
|
|
12040
|
+
const selectOptionVariants = /*@__PURE__*/ cva([
|
|
11949
12041
|
"box-border flex w-full items-center gap-(--spacing-xs) px-(--spacing-md) py-(--spacing-xs)",
|
|
11950
12042
|
"cursor-pointer border-0 bg-transparent text-left",
|
|
11951
12043
|
"font-[family-name:var(--family-base,'Hanken_Grotesk'),sans-serif] text-(length:--size-sm) text-(--font-primary-muted)",
|
|
@@ -11955,7 +12047,7 @@ const selectOptionVariants = cva([
|
|
|
11955
12047
|
"aria-selected:text-(--font-primary-dark)",
|
|
11956
12048
|
"aria-disabled:cursor-not-allowed aria-disabled:text-(--font-neutral-muted)"
|
|
11957
12049
|
]);
|
|
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)"]);
|
|
12050
|
+
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
12051
|
const SELECT_REF = new InjectionToken("SELECT_REF");
|
|
11960
12052
|
let _idCounter$1 = 0;
|
|
11961
12053
|
var SelectTriggerDirective = class SelectTriggerDirective {
|
|
@@ -12780,7 +12872,7 @@ const INPUT_SEARCH_NATIVE_RESET = [
|
|
|
12780
12872
|
"[&[type='search']::-webkit-search-results-button]:appearance-none",
|
|
12781
12873
|
"[&[type='search']::-webkit-search-results-decoration]:appearance-none"
|
|
12782
12874
|
].join(" ");
|
|
12783
|
-
const inputWrapVariants = cva([
|
|
12875
|
+
const inputWrapVariants = /*@__PURE__*/ cva([
|
|
12784
12876
|
"box-border flex items-center gap-(--spacing-xs)",
|
|
12785
12877
|
"border border-solid bg-(--bg-neutral-white)",
|
|
12786
12878
|
"transition-[border-color,background-color,outline-color] duration-150 ease-[ease] motion-reduce:transition-none",
|
|
@@ -12883,7 +12975,7 @@ const inputWrapVariants = cva([
|
|
|
12883
12975
|
autoHeight: false
|
|
12884
12976
|
}
|
|
12885
12977
|
});
|
|
12886
|
-
const inputCounterVariants = cva("shrink-0 font-[family-name:var(--family-base,'Hanken_Grotesk'),sans-serif] whitespace-nowrap text-(--font-neutral-muted) tabular-nums", {
|
|
12978
|
+
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
12979
|
variants: {
|
|
12888
12980
|
scheme: {
|
|
12889
12981
|
default: "",
|
|
@@ -12901,7 +12993,115 @@ const inputCounterVariants = cva("shrink-0 font-[family-name:var(--family-base,'
|
|
|
12901
12993
|
size: "md"
|
|
12902
12994
|
}
|
|
12903
12995
|
});
|
|
12904
|
-
const
|
|
12996
|
+
const MOBILE_QUERY = `(width < 768px)`;
|
|
12997
|
+
const TOUCH_QUERY = "(pointer: coarse)";
|
|
12998
|
+
const LANDSCAPE_QUERY = "(orientation: landscape)";
|
|
12999
|
+
var BreakpointObserverService = class BreakpointObserverService {
|
|
13000
|
+
isMobile;
|
|
13001
|
+
isTouch;
|
|
13002
|
+
isLandscape;
|
|
13003
|
+
constructor() {
|
|
13004
|
+
const destroyRef = inject(DestroyRef);
|
|
13005
|
+
this.isMobile = observe(MOBILE_QUERY, destroyRef);
|
|
13006
|
+
this.isTouch = observe(TOUCH_QUERY, destroyRef);
|
|
13007
|
+
this.isLandscape = observe(LANDSCAPE_QUERY, destroyRef);
|
|
13008
|
+
}
|
|
13009
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
13010
|
+
minVersion: "12.0.0",
|
|
13011
|
+
version: "22.2.1",
|
|
13012
|
+
ngImport: i0,
|
|
13013
|
+
type: BreakpointObserverService,
|
|
13014
|
+
deps: [],
|
|
13015
|
+
target: i0.ɵɵFactoryTarget.Service
|
|
13016
|
+
});
|
|
13017
|
+
static ɵprov = i0.ɵɵngDeclareService({
|
|
13018
|
+
minVersion: "22.0.0",
|
|
13019
|
+
version: "22.2.1",
|
|
13020
|
+
ngImport: i0,
|
|
13021
|
+
type: BreakpointObserverService
|
|
13022
|
+
});
|
|
13023
|
+
};
|
|
13024
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
13025
|
+
minVersion: "12.0.0",
|
|
13026
|
+
version: "22.2.1",
|
|
13027
|
+
ngImport: i0,
|
|
13028
|
+
type: BreakpointObserverService,
|
|
13029
|
+
decorators: [{ type: Service }],
|
|
13030
|
+
ctorParameters: () => []
|
|
13031
|
+
});
|
|
13032
|
+
function observe(media, destroyRef) {
|
|
13033
|
+
const state = signal(false, ...ngDevMode ? [{ debugName: "state" }] : /* istanbul ignore next */ []);
|
|
13034
|
+
const query = typeof window === "undefined" ? void 0 : window.matchMedia?.(media);
|
|
13035
|
+
if (!query) return state.asReadonly();
|
|
13036
|
+
state.set(query.matches);
|
|
13037
|
+
const handleChange = (event) => state.set(event.matches);
|
|
13038
|
+
query.addEventListener("change", handleChange);
|
|
13039
|
+
destroyRef.onDestroy(() => query.removeEventListener("change", handleChange));
|
|
13040
|
+
return state.asReadonly();
|
|
13041
|
+
}
|
|
13042
|
+
var VirtualKeyboardDirective = class VirtualKeyboardDirective {
|
|
13043
|
+
input = inject(ElementRef).nativeElement;
|
|
13044
|
+
breakpoints = inject(BreakpointObserverService);
|
|
13045
|
+
away = signal(false, ...ngDevMode ? [{ debugName: "away" }] : /* istanbul ignore next */ []);
|
|
13046
|
+
applicable = computed(() => this.breakpoints.isTouch() && this.breakpoints.isLandscape(), ...ngDevMode ? [{ debugName: "applicable" }] : /* istanbul ignore next */ []);
|
|
13047
|
+
hidden = computed(() => this.applicable() && this.away(), ...ngDevMode ? [{ debugName: "hidden" }] : /* istanbul ignore next */ []);
|
|
13048
|
+
hide() {
|
|
13049
|
+
this.refocus("none");
|
|
13050
|
+
this.away.set(true);
|
|
13051
|
+
}
|
|
13052
|
+
show() {
|
|
13053
|
+
this.refocus("text");
|
|
13054
|
+
this.away.set(false);
|
|
13055
|
+
}
|
|
13056
|
+
toggle() {
|
|
13057
|
+
if (this.hidden()) this.show();
|
|
13058
|
+
else this.hide();
|
|
13059
|
+
}
|
|
13060
|
+
refocus(mode) {
|
|
13061
|
+
this.input.inputMode = mode;
|
|
13062
|
+
this.input.blur();
|
|
13063
|
+
this.input.focus();
|
|
13064
|
+
}
|
|
13065
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
13066
|
+
minVersion: "12.0.0",
|
|
13067
|
+
version: "22.2.1",
|
|
13068
|
+
ngImport: i0,
|
|
13069
|
+
type: VirtualKeyboardDirective,
|
|
13070
|
+
deps: [],
|
|
13071
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
13072
|
+
});
|
|
13073
|
+
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
13074
|
+
minVersion: "14.0.0",
|
|
13075
|
+
version: "22.2.1",
|
|
13076
|
+
type: VirtualKeyboardDirective,
|
|
13077
|
+
isStandalone: true,
|
|
13078
|
+
selector: "input[virtualKeyboard]",
|
|
13079
|
+
host: {
|
|
13080
|
+
listeners: { "blur": "away.set(false)" },
|
|
13081
|
+
properties: { "attr.inputmode": "hidden() ? 'none' : null" }
|
|
13082
|
+
},
|
|
13083
|
+
exportAs: ["virtualKeyboard"],
|
|
13084
|
+
ngImport: i0
|
|
13085
|
+
});
|
|
13086
|
+
};
|
|
13087
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
13088
|
+
minVersion: "12.0.0",
|
|
13089
|
+
version: "22.2.1",
|
|
13090
|
+
ngImport: i0,
|
|
13091
|
+
type: VirtualKeyboardDirective,
|
|
13092
|
+
decorators: [{
|
|
13093
|
+
type: Directive,
|
|
13094
|
+
args: [{
|
|
13095
|
+
selector: "input[virtualKeyboard]",
|
|
13096
|
+
exportAs: "virtualKeyboard",
|
|
13097
|
+
host: {
|
|
13098
|
+
"[attr.inputmode]": "hidden() ? 'none' : null",
|
|
13099
|
+
"(blur)": "away.set(false)"
|
|
13100
|
+
}
|
|
13101
|
+
}]
|
|
13102
|
+
}]
|
|
13103
|
+
});
|
|
13104
|
+
const tagVariants = /*@__PURE__*/ cva([
|
|
12905
13105
|
"inline-flex w-fit max-w-full min-w-0 items-center overflow-hidden whitespace-nowrap",
|
|
12906
13106
|
"font-[family-name:var(--family-base,'Hanken_Grotesk'),sans-serif] font-normal",
|
|
12907
13107
|
"border border-solid"
|
|
@@ -13331,6 +13531,8 @@ var AutocompleteComponent = class AutocompleteComponent {
|
|
|
13331
13531
|
fieldLabelLang = input(...ngDevMode ? [void 0, { debugName: "fieldLabelLang" }] : /* istanbul ignore next */ []);
|
|
13332
13532
|
placeholder = input("", ...ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []);
|
|
13333
13533
|
ariaLabel = input(...ngDevMode ? [void 0, { debugName: "ariaLabel" }] : /* istanbul ignore next */ []);
|
|
13534
|
+
hideKeyboardLabel = input("Hide keyboard", ...ngDevMode ? [{ debugName: "hideKeyboardLabel" }] : /* istanbul ignore next */ []);
|
|
13535
|
+
keyboardLabel = input("Show keyboard", ...ngDevMode ? [{ debugName: "keyboardLabel" }] : /* istanbul ignore next */ []);
|
|
13334
13536
|
noResultsText = input("No results", ...ngDevMode ? [{ debugName: "noResultsText" }] : /* istanbul ignore next */ []);
|
|
13335
13537
|
searchingText = input("Searching…", ...ngDevMode ? [{ debugName: "searchingText" }] : /* istanbul ignore next */ []);
|
|
13336
13538
|
errorText = input("Search failed", ...ngDevMode ? [{ debugName: "errorText" }] : /* istanbul ignore next */ []);
|
|
@@ -13367,7 +13569,8 @@ var AutocompleteComponent = class AutocompleteComponent {
|
|
|
13367
13569
|
fieldClass = computed(() => this.inline() ? cn(inputWrapVariants({
|
|
13368
13570
|
size: this.size(),
|
|
13369
13571
|
autoHeight: true
|
|
13370
|
-
}), "relative cursor-text") : "relative flex", ...ngDevMode ? [{ debugName: "fieldClass" }] : /* istanbul ignore next */ []);
|
|
13572
|
+
}), "relative cursor-text") : "relative flex [&:has([data-vk])>input]:pe-16!", ...ngDevMode ? [{ debugName: "fieldClass" }] : /* istanbul ignore next */ []);
|
|
13573
|
+
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
13574
|
inputClass = computed(() => this.inline() ? "input-control min-w-24 flex-1" : this.triggerClass, ...ngDevMode ? [{ debugName: "inputClass" }] : /* istanbul ignore next */ []);
|
|
13372
13575
|
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
13576
|
hostClasses = computed(() => cn(selectWrapVariants({ size: this.size() }), this.class()), ...ngDevMode ? [{ debugName: "hostClasses" }] : /* istanbul ignore next */ []);
|
|
@@ -13631,6 +13834,20 @@ var AutocompleteComponent = class AutocompleteComponent {
|
|
|
13631
13834
|
isRequired: false,
|
|
13632
13835
|
transformFunction: null
|
|
13633
13836
|
},
|
|
13837
|
+
hideKeyboardLabel: {
|
|
13838
|
+
classPropertyName: "hideKeyboardLabel",
|
|
13839
|
+
publicName: "hideKeyboardLabel",
|
|
13840
|
+
isSignal: true,
|
|
13841
|
+
isRequired: false,
|
|
13842
|
+
transformFunction: null
|
|
13843
|
+
},
|
|
13844
|
+
keyboardLabel: {
|
|
13845
|
+
classPropertyName: "keyboardLabel",
|
|
13846
|
+
publicName: "keyboardLabel",
|
|
13847
|
+
isSignal: true,
|
|
13848
|
+
isRequired: false,
|
|
13849
|
+
transformFunction: null
|
|
13850
|
+
},
|
|
13634
13851
|
noResultsText: {
|
|
13635
13852
|
classPropertyName: "noResultsText",
|
|
13636
13853
|
publicName: "noResultsText",
|
|
@@ -13796,6 +14013,8 @@ var AutocompleteComponent = class AutocompleteComponent {
|
|
|
13796
14013
|
<input
|
|
13797
14014
|
ngCombobox
|
|
13798
14015
|
#input
|
|
14016
|
+
virtualKeyboard
|
|
14017
|
+
#vk="virtualKeyboard"
|
|
13799
14018
|
[class]="inputClass()"
|
|
13800
14019
|
[id]="id"
|
|
13801
14020
|
type="text"
|
|
@@ -13807,6 +14026,17 @@ var AutocompleteComponent = class AutocompleteComponent {
|
|
|
13807
14026
|
(input)="onInput($event)"
|
|
13808
14027
|
(keydown)="onKeydown($event)"
|
|
13809
14028
|
(keydown.enter)="onEnter($event)" />
|
|
14029
|
+
@if (vk.applicable()) {
|
|
14030
|
+
<button
|
|
14031
|
+
type="button"
|
|
14032
|
+
data-vk
|
|
14033
|
+
[class]="keyboardClass()"
|
|
14034
|
+
[attr.aria-label]="vk.hidden() ? keyboardLabel() : hideKeyboardLabel()"
|
|
14035
|
+
(mousedown)="$event.preventDefault()"
|
|
14036
|
+
(click)="$event.stopPropagation(); vk.toggle()">
|
|
14037
|
+
<keyboard-icon aria-hidden="true" />
|
|
14038
|
+
</button>
|
|
14039
|
+
}
|
|
13810
14040
|
@if (loading() || indicator()) {
|
|
13811
14041
|
<span [class]="indicatorClass()">
|
|
13812
14042
|
@if (loading()) {
|
|
@@ -13988,11 +14218,23 @@ var AutocompleteComponent = class AutocompleteComponent {
|
|
|
13988
14218
|
selector: "chevron-down, chevron-down-icon, ChevronDown, ChevronDownIcon",
|
|
13989
14219
|
inputs: ["class"]
|
|
13990
14220
|
},
|
|
14221
|
+
{
|
|
14222
|
+
kind: "component",
|
|
14223
|
+
type: KeyboardIcon,
|
|
14224
|
+
selector: "keyboard, keyboard-icon, Keyboard, KeyboardIcon",
|
|
14225
|
+
inputs: ["class"]
|
|
14226
|
+
},
|
|
13991
14227
|
{
|
|
13992
14228
|
kind: "component",
|
|
13993
14229
|
type: SpinnerIcon,
|
|
13994
14230
|
selector: "spinner, spinner-icon, Spinner, SpinnerIcon",
|
|
13995
14231
|
inputs: ["class"]
|
|
14232
|
+
},
|
|
14233
|
+
{
|
|
14234
|
+
kind: "directive",
|
|
14235
|
+
type: VirtualKeyboardDirective,
|
|
14236
|
+
selector: "input[virtualKeyboard]",
|
|
14237
|
+
exportAs: ["virtualKeyboard"]
|
|
13996
14238
|
}
|
|
13997
14239
|
]
|
|
13998
14240
|
});
|
|
@@ -14019,7 +14261,9 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
14019
14261
|
TagComponent,
|
|
14020
14262
|
TagRemoveComponent,
|
|
14021
14263
|
ChevronDownIcon,
|
|
14022
|
-
|
|
14264
|
+
KeyboardIcon,
|
|
14265
|
+
SpinnerIcon,
|
|
14266
|
+
VirtualKeyboardDirective
|
|
14023
14267
|
],
|
|
14024
14268
|
template: `
|
|
14025
14269
|
@if (fieldLabel(); as l) {
|
|
@@ -14040,6 +14284,8 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
14040
14284
|
<input
|
|
14041
14285
|
ngCombobox
|
|
14042
14286
|
#input
|
|
14287
|
+
virtualKeyboard
|
|
14288
|
+
#vk="virtualKeyboard"
|
|
14043
14289
|
[class]="inputClass()"
|
|
14044
14290
|
[id]="id"
|
|
14045
14291
|
type="text"
|
|
@@ -14051,6 +14297,17 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
14051
14297
|
(input)="onInput($event)"
|
|
14052
14298
|
(keydown)="onKeydown($event)"
|
|
14053
14299
|
(keydown.enter)="onEnter($event)" />
|
|
14300
|
+
@if (vk.applicable()) {
|
|
14301
|
+
<button
|
|
14302
|
+
type="button"
|
|
14303
|
+
data-vk
|
|
14304
|
+
[class]="keyboardClass()"
|
|
14305
|
+
[attr.aria-label]="vk.hidden() ? keyboardLabel() : hideKeyboardLabel()"
|
|
14306
|
+
(mousedown)="$event.preventDefault()"
|
|
14307
|
+
(click)="$event.stopPropagation(); vk.toggle()">
|
|
14308
|
+
<keyboard-icon aria-hidden="true" />
|
|
14309
|
+
</button>
|
|
14310
|
+
}
|
|
14054
14311
|
@if (loading() || indicator()) {
|
|
14055
14312
|
<span [class]="indicatorClass()">
|
|
14056
14313
|
@if (loading()) {
|
|
@@ -14266,6 +14523,22 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
14266
14523
|
required: false
|
|
14267
14524
|
}]
|
|
14268
14525
|
}],
|
|
14526
|
+
hideKeyboardLabel: [{
|
|
14527
|
+
type: i0.Input,
|
|
14528
|
+
args: [{
|
|
14529
|
+
isSignal: true,
|
|
14530
|
+
alias: "hideKeyboardLabel",
|
|
14531
|
+
required: false
|
|
14532
|
+
}]
|
|
14533
|
+
}],
|
|
14534
|
+
keyboardLabel: [{
|
|
14535
|
+
type: i0.Input,
|
|
14536
|
+
args: [{
|
|
14537
|
+
isSignal: true,
|
|
14538
|
+
alias: "keyboardLabel",
|
|
14539
|
+
required: false
|
|
14540
|
+
}]
|
|
14541
|
+
}],
|
|
14269
14542
|
noResultsText: [{
|
|
14270
14543
|
type: i0.Input,
|
|
14271
14544
|
args: [{
|
|
@@ -14404,7 +14677,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
14404
14677
|
}]
|
|
14405
14678
|
}
|
|
14406
14679
|
});
|
|
14407
|
-
const buttonVariants = cva([
|
|
14680
|
+
const buttonVariants = /*@__PURE__*/ cva([
|
|
14408
14681
|
"box-border inline-flex items-center justify-center",
|
|
14409
14682
|
"rounded-(--radius-2xl) border-[1.5px] border-solid",
|
|
14410
14683
|
"font-[family-name:var(--family-base,'Hanken_Grotesk'),sans-serif] font-normal tracking-normal",
|
|
@@ -14672,7 +14945,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
14672
14945
|
});
|
|
14673
14946
|
const TOGGLE_ICON_CLASS = "toggle-icon";
|
|
14674
14947
|
const TOGGLE_LABEL_CLASS = "toggle-label";
|
|
14675
|
-
const toggleVariants = cva([
|
|
14948
|
+
const toggleVariants = /*@__PURE__*/ cva([
|
|
14676
14949
|
"relative inline-flex w-fit max-w-full items-center justify-center",
|
|
14677
14950
|
"cursor-pointer rounded-full border-0 bg-transparent whitespace-nowrap select-none",
|
|
14678
14951
|
"font-[family-name:var(--family-base,'Hanken_Grotesk'),sans-serif] font-normal",
|
|
@@ -14812,7 +15085,7 @@ const toggleVariants = cva([
|
|
|
14812
15085
|
showIcon: true
|
|
14813
15086
|
}
|
|
14814
15087
|
});
|
|
14815
|
-
const toggleGroupVariants = cva(["inline-flex items-center gap-(--spacing-3xs)"], {
|
|
15088
|
+
const toggleGroupVariants = /*@__PURE__*/ cva(["inline-flex items-center gap-(--spacing-3xs)"], {
|
|
14816
15089
|
variants: { variant: {
|
|
14817
15090
|
single: "rounded-(--radius-rounded) bg-(--bg-primary-lightest) p-(--spacing-3xs) [.dark_&]:bg-(--bg-primary-lighter)",
|
|
14818
15091
|
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 +15782,90 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
15509
15782
|
}]
|
|
15510
15783
|
}
|
|
15511
15784
|
});
|
|
15512
|
-
const
|
|
15785
|
+
const NAVIGATION_KEYS = /* @__PURE__ */ new Set([
|
|
15786
|
+
"Tab",
|
|
15787
|
+
"ArrowUp",
|
|
15788
|
+
"ArrowDown",
|
|
15789
|
+
"ArrowLeft",
|
|
15790
|
+
"ArrowRight",
|
|
15791
|
+
"Home",
|
|
15792
|
+
"End",
|
|
15793
|
+
"PageUp",
|
|
15794
|
+
"PageDown",
|
|
15795
|
+
"Escape"
|
|
15796
|
+
]);
|
|
15797
|
+
const FOCUS_COLOR_VARIABLE = "--stroke-focus";
|
|
15798
|
+
var InputModalityService = class InputModalityService {
|
|
15799
|
+
current = signal("pointer", ...ngDevMode ? [{ debugName: "current" }] : /* istanbul ignore next */ []);
|
|
15800
|
+
modality = this.current.asReadonly();
|
|
15801
|
+
constructor() {
|
|
15802
|
+
if (typeof document === "undefined") return;
|
|
15803
|
+
this.set(window.matchMedia?.("(pointer: coarse)")?.matches ? "touch" : "pointer");
|
|
15804
|
+
const onPointerDown = (event) => {
|
|
15805
|
+
const type = event.pointerType;
|
|
15806
|
+
this.set(type === "mouse" ? "pointer" : "touch");
|
|
15807
|
+
};
|
|
15808
|
+
const onKeyDown = (event) => {
|
|
15809
|
+
const { key, ctrlKey, metaKey, altKey } = event;
|
|
15810
|
+
if (NAVIGATION_KEYS.has(key) || ctrlKey || metaKey || altKey) this.set("keyboard");
|
|
15811
|
+
};
|
|
15812
|
+
document.addEventListener("pointerdown", onPointerDown, {
|
|
15813
|
+
capture: true,
|
|
15814
|
+
passive: true
|
|
15815
|
+
});
|
|
15816
|
+
document.addEventListener("keydown", onKeyDown, {
|
|
15817
|
+
capture: true,
|
|
15818
|
+
passive: true
|
|
15819
|
+
});
|
|
15820
|
+
inject(DestroyRef).onDestroy(() => {
|
|
15821
|
+
document.removeEventListener("pointerdown", onPointerDown, { capture: true });
|
|
15822
|
+
document.removeEventListener("keydown", onKeyDown, { capture: true });
|
|
15823
|
+
document.documentElement.style.removeProperty(FOCUS_COLOR_VARIABLE);
|
|
15824
|
+
document.documentElement.removeAttribute("data-input-modality");
|
|
15825
|
+
});
|
|
15826
|
+
}
|
|
15827
|
+
set(modality) {
|
|
15828
|
+
this.current.set(modality);
|
|
15829
|
+
const root = document.documentElement;
|
|
15830
|
+
root.setAttribute("data-input-modality", modality);
|
|
15831
|
+
if (modality === "touch") root.style.setProperty(FOCUS_COLOR_VARIABLE, "transparent");
|
|
15832
|
+
else root.style.removeProperty(FOCUS_COLOR_VARIABLE);
|
|
15833
|
+
}
|
|
15834
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
15835
|
+
minVersion: "12.0.0",
|
|
15836
|
+
version: "22.2.1",
|
|
15837
|
+
ngImport: i0,
|
|
15838
|
+
type: InputModalityService,
|
|
15839
|
+
deps: [],
|
|
15840
|
+
target: i0.ɵɵFactoryTarget.Service
|
|
15841
|
+
});
|
|
15842
|
+
static ɵprov = i0.ɵɵngDeclareService({
|
|
15843
|
+
minVersion: "22.0.0",
|
|
15844
|
+
version: "22.2.1",
|
|
15845
|
+
ngImport: i0,
|
|
15846
|
+
type: InputModalityService
|
|
15847
|
+
});
|
|
15848
|
+
};
|
|
15849
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
15850
|
+
minVersion: "12.0.0",
|
|
15851
|
+
version: "22.2.1",
|
|
15852
|
+
ngImport: i0,
|
|
15853
|
+
type: InputModalityService,
|
|
15854
|
+
decorators: [{ type: Service }],
|
|
15855
|
+
ctorParameters: () => []
|
|
15856
|
+
});
|
|
15857
|
+
const INPUT_MODALITY = new InjectionToken("INPUT_MODALITY");
|
|
15858
|
+
function injectKeyboardAvailable() {
|
|
15859
|
+
const modality = inject(INPUT_MODALITY, { optional: true });
|
|
15860
|
+
return computed(() => (modality?.() ?? "pointer") !== "touch");
|
|
15861
|
+
}
|
|
15862
|
+
function provideInputModality() {
|
|
15863
|
+
return makeEnvironmentProviders([{
|
|
15864
|
+
provide: INPUT_MODALITY,
|
|
15865
|
+
useFactory: () => inject(InputModalityService).modality
|
|
15866
|
+
}, provideEnvironmentInitializer(() => void inject(InputModalityService))]);
|
|
15867
|
+
}
|
|
15868
|
+
const kbdVariants = /*@__PURE__*/ cva([
|
|
15513
15869
|
"pointer-events-none inline-flex w-fit items-center justify-center gap-(--spacing-4xs) select-none",
|
|
15514
15870
|
"border border-solid text-(--font-neutral-base)",
|
|
15515
15871
|
"border-[color-mix(in_srgb,var(--bg-neutral-base),black_15%)] bg-(--bg-neutral-base)",
|
|
@@ -15651,7 +16007,7 @@ const LIST_ITEM_CHEVRON_RIGHT_CLASS = "list-item-chevron-right";
|
|
|
15651
16007
|
function getListDepthStyle(depth = 0) {
|
|
15652
16008
|
return depth > 0 ? { paddingLeft: `calc(var(--spacing-2xs) + ${depth} * 20px)` } : void 0;
|
|
15653
16009
|
}
|
|
15654
|
-
const listItemVariants = cva([
|
|
16010
|
+
const listItemVariants = /*@__PURE__*/ cva([
|
|
15655
16011
|
"relative box-border flex w-full items-center gap-(--spacing-2xs)",
|
|
15656
16012
|
"rounded-(--radius-sm) px-(--spacing-2xs) py-(--spacing-3xs)",
|
|
15657
16013
|
"bg-transparent",
|
|
@@ -15683,6 +16039,7 @@ const listItemVariants = cva([
|
|
|
15683
16039
|
"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
16040
|
"focus-visible:[&_.list-item-icon-right]:text-(--font-error-base)",
|
|
15685
16041
|
"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",
|
|
16042
|
+
"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
16043
|
"[&_.list-item-icon-right:hover]:bg-(--bg-error-lightest) [&_.list-item-icon-right:hover]:text-(--font-error-base)",
|
|
15687
16044
|
"[&_.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
16045
|
"hover:[&_.list-item-chevron-right]:translate-x-0.5"
|
|
@@ -16139,6 +16496,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
16139
16496
|
}] }
|
|
16140
16497
|
});
|
|
16141
16498
|
var ListItemActionComponent = class ListItemActionComponent {
|
|
16499
|
+
keyboardAvailable = injectKeyboardAvailable();
|
|
16142
16500
|
ariaLabel = input(...ngDevMode ? [void 0, { debugName: "ariaLabel" }] : /* istanbul ignore next */ []);
|
|
16143
16501
|
disabled = input(false, {
|
|
16144
16502
|
...ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {},
|
|
@@ -16256,8 +16614,10 @@ var ListItemActionComponent = class ListItemActionComponent {
|
|
|
16256
16614
|
<ng-content />
|
|
16257
16615
|
</span>
|
|
16258
16616
|
<!-- 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
|
-
|
|
16617
|
+
ligne, l'hôte de ce composant étant en display: contents. Absente quand la page se pilote au doigt
|
|
16618
|
+
(provideInputModality) : « Appuyez sur Suppr » n'a pas de sens sans clavier, et la phrase masquée
|
|
16619
|
+
reliée par aria-describedby, elle, reste pour les lecteurs d'écran. -->
|
|
16620
|
+
@if (description() && !disabled() && keyboardAvailable()) {
|
|
16261
16621
|
<span [class]="hintClass" aria-hidden="true">
|
|
16262
16622
|
<span>
|
|
16263
16623
|
{{ hint().before }}
|
|
@@ -16339,8 +16699,10 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
16339
16699
|
<ng-content />
|
|
16340
16700
|
</span>
|
|
16341
16701
|
<!-- 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
|
-
|
|
16702
|
+
ligne, l'hôte de ce composant étant en display: contents. Absente quand la page se pilote au doigt
|
|
16703
|
+
(provideInputModality) : « Appuyez sur Suppr » n'a pas de sens sans clavier, et la phrase masquée
|
|
16704
|
+
reliée par aria-describedby, elle, reste pour les lecteurs d'écran. -->
|
|
16705
|
+
@if (description() && !disabled() && keyboardAvailable()) {
|
|
16344
16706
|
<span [class]="hintClass" aria-hidden="true">
|
|
16345
16707
|
<span>
|
|
16346
16708
|
{{ hint().before }}
|
|
@@ -16646,7 +17008,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
16646
17008
|
}] }
|
|
16647
17009
|
});
|
|
16648
17010
|
const TREE_ITEM_EXPANDER_CLASS = "tree-item-expander";
|
|
16649
|
-
const treeItemVariants = cva([
|
|
17011
|
+
const treeItemVariants = /*@__PURE__*/ cva([
|
|
16650
17012
|
"box-border flex w-full cursor-pointer items-center gap-(--spacing-2xs) select-none",
|
|
16651
17013
|
"rounded-(--radius-sm) px-(--spacing-2xs) py-(--spacing-3xs)",
|
|
16652
17014
|
"bg-transparent",
|
|
@@ -17319,7 +17681,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
17319
17681
|
}]
|
|
17320
17682
|
}] }
|
|
17321
17683
|
});
|
|
17322
|
-
const switchRootVariants = cva([
|
|
17684
|
+
const switchRootVariants = /*@__PURE__*/ cva([
|
|
17323
17685
|
"relative inline-flex min-h-(--switch-hitbox) cursor-pointer items-center gap-2 select-none [--switch-hitbox:2.75rem]",
|
|
17324
17686
|
"has-disabled:cursor-not-allowed",
|
|
17325
17687
|
"[&_.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 +17716,6 @@ const switchRootVariants = cva([
|
|
|
17354
17716
|
} },
|
|
17355
17717
|
defaultVariants: { size: "small" }
|
|
17356
17718
|
});
|
|
17357
|
-
cva("switch-track");
|
|
17358
|
-
cva("switch-thumb");
|
|
17359
17719
|
var SwitchComponent = class SwitchComponent {
|
|
17360
17720
|
checked = model(false, ...ngDevMode ? [{ debugName: "checked" }] : /* istanbul ignore next */ []);
|
|
17361
17721
|
disabled = input(false, {
|
|
@@ -17628,7 +17988,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
17628
17988
|
}]
|
|
17629
17989
|
}
|
|
17630
17990
|
});
|
|
17631
|
-
const checkboxRootVariants = cva([
|
|
17991
|
+
const checkboxRootVariants = /*@__PURE__*/ cva([
|
|
17632
17992
|
"relative inline-flex cursor-pointer items-start gap-(--spacing-xs) select-none",
|
|
17633
17993
|
"has-disabled:cursor-not-allowed",
|
|
17634
17994
|
"[&_.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 +18263,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
17903
18263
|
}]
|
|
17904
18264
|
}
|
|
17905
18265
|
});
|
|
17906
|
-
const radioRootVariants = cva([
|
|
18266
|
+
const radioRootVariants = /*@__PURE__*/ cva([
|
|
17907
18267
|
"relative inline-flex cursor-pointer gap-(--spacing-xs) select-none",
|
|
17908
18268
|
"has-[:disabled]:cursor-not-allowed",
|
|
17909
18269
|
"[&_.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 +19371,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
19011
19371
|
function escapeForClass(chars) {
|
|
19012
19372
|
return chars.replace(/[\\\]^-]/g, "\\$&");
|
|
19013
19373
|
}
|
|
19014
|
-
const badgeVariants = cva(["inline-flex shrink-0 items-center justify-center overflow-hidden rounded-full"], {
|
|
19374
|
+
const badgeVariants = /*@__PURE__*/ cva(["inline-flex shrink-0 items-center justify-center overflow-hidden rounded-full"], {
|
|
19015
19375
|
variants: {
|
|
19016
19376
|
variant: {
|
|
19017
19377
|
icon: "aspect-square",
|
|
@@ -19336,7 +19696,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
19336
19696
|
}]
|
|
19337
19697
|
}
|
|
19338
19698
|
});
|
|
19339
|
-
const bulletVariants = cva("inline-block shrink-0 rounded-(--radius-rounded)", {
|
|
19699
|
+
const bulletVariants = /*@__PURE__*/ cva("inline-block shrink-0 rounded-(--radius-rounded)", {
|
|
19340
19700
|
variants: {
|
|
19341
19701
|
scheme: {
|
|
19342
19702
|
sage: "",
|
|
@@ -19652,7 +20012,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
19652
20012
|
}]
|
|
19653
20013
|
}
|
|
19654
20014
|
});
|
|
19655
|
-
const avatarVariants = cva([
|
|
20015
|
+
const avatarVariants = /*@__PURE__*/ cva([
|
|
19656
20016
|
"inline-flex shrink-0 items-center justify-center overflow-hidden",
|
|
19657
20017
|
"rounded-(--radius-rounded)",
|
|
19658
20018
|
"font-[family-name:var(--family-base,'Hanken_Grotesk'),sans-serif] select-none",
|
|
@@ -20272,7 +20632,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
20272
20632
|
}
|
|
20273
20633
|
});
|
|
20274
20634
|
const LINK_LABEL_CLASS = "link-label";
|
|
20275
|
-
const linkVariants = cva([
|
|
20635
|
+
const linkVariants = /*@__PURE__*/ cva([
|
|
20276
20636
|
"box-border inline-flex items-center gap-(--spacing-3xs) p-0",
|
|
20277
20637
|
"rounded-(--radius-xs) border-0 bg-transparent",
|
|
20278
20638
|
"text-(--font-secondary-base-alt)",
|
|
@@ -20316,7 +20676,7 @@ const linkVariants = cva([
|
|
|
20316
20676
|
openWindow: false
|
|
20317
20677
|
}
|
|
20318
20678
|
});
|
|
20319
|
-
const linkIconVariants = cva("inline-flex shrink-0 items-center justify-center", {
|
|
20679
|
+
const linkIconVariants = /*@__PURE__*/ cva("inline-flex shrink-0 items-center justify-center", {
|
|
20320
20680
|
variants: {
|
|
20321
20681
|
size: {
|
|
20322
20682
|
sm: "",
|
|
@@ -20641,7 +21001,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
20641
21001
|
const TEXTAREA_CONTROL_CLASS = "textarea-control";
|
|
20642
21002
|
const TEXTAREA_COUNTER_CLASS = "textarea-counter";
|
|
20643
21003
|
const TEXTAREA_LINE_HEIGHT = 1.4;
|
|
20644
|
-
const textareaWrapVariants = cva([
|
|
21004
|
+
const textareaWrapVariants = /*@__PURE__*/ cva([
|
|
20645
21005
|
"box-border flex w-full flex-col gap-(--spacing-3xs)",
|
|
20646
21006
|
"border border-solid bg-(--bg-neutral-white)",
|
|
20647
21007
|
"transition-[border-color,background-color,outline-color] duration-150 ease-[ease] motion-reduce:transition-none",
|
|
@@ -21064,6 +21424,22 @@ const CONTROL_ATTRIBUTES$1 = `
|
|
|
21064
21424
|
(blur)="touch.emit()"
|
|
21065
21425
|
[attr.aria-label]="ariaLabel()"
|
|
21066
21426
|
[attr.aria-keyshortcuts]="hotkey()"`;
|
|
21427
|
+
const KEYBOARD_BUTTON$1 = `
|
|
21428
|
+
@if (vk.applicable()) {
|
|
21429
|
+
<button
|
|
21430
|
+
input-icon-right
|
|
21431
|
+
variant="tertiary"
|
|
21432
|
+
scheme="neutral"
|
|
21433
|
+
[iconOnly]="true"
|
|
21434
|
+
[size]="buttonSize()"
|
|
21435
|
+
type="button"
|
|
21436
|
+
[attr.aria-label]="vk.hidden() ? keyboardLabel() : hideKeyboardLabel()"
|
|
21437
|
+
(mousedown)="$event.preventDefault()"
|
|
21438
|
+
(click)="vk.toggle()">
|
|
21439
|
+
<KeyboardIcon [class]="iconClass()" aria-hidden="true" />
|
|
21440
|
+
</button>
|
|
21441
|
+
}
|
|
21442
|
+
`;
|
|
21067
21443
|
const AFTER_CONTROL$1 = `
|
|
21068
21444
|
<button
|
|
21069
21445
|
input-icon-right
|
|
@@ -21115,6 +21491,8 @@ var SearchInputBase = class SearchInputBase {
|
|
|
21115
21491
|
alias: "aria-label"
|
|
21116
21492
|
});
|
|
21117
21493
|
hotkey = input(...ngDevMode ? [void 0, { debugName: "hotkey" }] : /* istanbul ignore next */ []);
|
|
21494
|
+
hideKeyboardLabel = input("Hide keyboard", ...ngDevMode ? [{ debugName: "hideKeyboardLabel" }] : /* istanbul ignore next */ []);
|
|
21495
|
+
keyboardLabel = input("Show keyboard", ...ngDevMode ? [{ debugName: "keyboardLabel" }] : /* istanbul ignore next */ []);
|
|
21118
21496
|
clearLabel = input("Clear search", ...ngDevMode ? [{ debugName: "clearLabel" }] : /* istanbul ignore next */ []);
|
|
21119
21497
|
class = input(...ngDevMode ? [void 0, { debugName: "class" }] : /* istanbul ignore next */ []);
|
|
21120
21498
|
size = input("md", ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
|
|
@@ -21197,6 +21575,20 @@ var SearchInputBase = class SearchInputBase {
|
|
|
21197
21575
|
isRequired: false,
|
|
21198
21576
|
transformFunction: null
|
|
21199
21577
|
},
|
|
21578
|
+
hideKeyboardLabel: {
|
|
21579
|
+
classPropertyName: "hideKeyboardLabel",
|
|
21580
|
+
publicName: "hideKeyboardLabel",
|
|
21581
|
+
isSignal: true,
|
|
21582
|
+
isRequired: false,
|
|
21583
|
+
transformFunction: null
|
|
21584
|
+
},
|
|
21585
|
+
keyboardLabel: {
|
|
21586
|
+
classPropertyName: "keyboardLabel",
|
|
21587
|
+
publicName: "keyboardLabel",
|
|
21588
|
+
isSignal: true,
|
|
21589
|
+
isRequired: false,
|
|
21590
|
+
transformFunction: null
|
|
21591
|
+
},
|
|
21200
21592
|
clearLabel: {
|
|
21201
21593
|
classPropertyName: "clearLabel",
|
|
21202
21594
|
publicName: "clearLabel",
|
|
@@ -21326,6 +21718,22 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
21326
21718
|
required: false
|
|
21327
21719
|
}]
|
|
21328
21720
|
}],
|
|
21721
|
+
hideKeyboardLabel: [{
|
|
21722
|
+
type: i0.Input,
|
|
21723
|
+
args: [{
|
|
21724
|
+
isSignal: true,
|
|
21725
|
+
alias: "hideKeyboardLabel",
|
|
21726
|
+
required: false
|
|
21727
|
+
}]
|
|
21728
|
+
}],
|
|
21729
|
+
keyboardLabel: [{
|
|
21730
|
+
type: i0.Input,
|
|
21731
|
+
args: [{
|
|
21732
|
+
isSignal: true,
|
|
21733
|
+
alias: "keyboardLabel",
|
|
21734
|
+
required: false
|
|
21735
|
+
}]
|
|
21736
|
+
}],
|
|
21329
21737
|
clearLabel: [{
|
|
21330
21738
|
type: i0.Input,
|
|
21331
21739
|
args: [{
|
|
@@ -21505,7 +21913,7 @@ var SearchInputSuggestionsComponent = class SearchInputSuggestionsComponent exte
|
|
|
21505
21913
|
target: i0.ɵɵFactoryTarget.Component
|
|
21506
21914
|
});
|
|
21507
21915
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
21508
|
-
minVersion: "17.
|
|
21916
|
+
minVersion: "17.0.0",
|
|
21509
21917
|
version: "22.2.1",
|
|
21510
21918
|
type: SearchInputSuggestionsComponent,
|
|
21511
21919
|
isStandalone: true,
|
|
@@ -21519,7 +21927,7 @@ var SearchInputSuggestionsComponent = class SearchInputSuggestionsComponent exte
|
|
|
21519
21927
|
}],
|
|
21520
21928
|
usesInheritance: true,
|
|
21521
21929
|
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 ",
|
|
21930
|
+
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
21931
|
isInline: true,
|
|
21524
21932
|
dependencies: [
|
|
21525
21933
|
{
|
|
@@ -21620,6 +22028,18 @@ var SearchInputSuggestionsComponent = class SearchInputSuggestionsComponent exte
|
|
|
21620
22028
|
],
|
|
21621
22029
|
outputs: ["expandedChange", "valueChange"],
|
|
21622
22030
|
exportAs: ["ngCombobox"]
|
|
22031
|
+
},
|
|
22032
|
+
{
|
|
22033
|
+
kind: "component",
|
|
22034
|
+
type: KeyboardIcon,
|
|
22035
|
+
selector: "keyboard, keyboard-icon, Keyboard, KeyboardIcon",
|
|
22036
|
+
inputs: ["class"]
|
|
22037
|
+
},
|
|
22038
|
+
{
|
|
22039
|
+
kind: "directive",
|
|
22040
|
+
type: VirtualKeyboardDirective,
|
|
22041
|
+
selector: "input[virtualKeyboard]",
|
|
22042
|
+
exportAs: ["virtualKeyboard"]
|
|
21623
22043
|
}
|
|
21624
22044
|
]
|
|
21625
22045
|
});
|
|
@@ -21634,11 +22054,16 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
21634
22054
|
args: [{
|
|
21635
22055
|
selector: "SearchInput[suggestions], search-input[suggestions], searchinput[suggestions]",
|
|
21636
22056
|
standalone: true,
|
|
21637
|
-
imports: [
|
|
22057
|
+
imports: [
|
|
22058
|
+
...SEARCH_INPUT_IMPORTS,
|
|
22059
|
+
Combobox,
|
|
22060
|
+
KeyboardIcon,
|
|
22061
|
+
VirtualKeyboardDirective
|
|
22062
|
+
],
|
|
21638
22063
|
template: `${BEFORE_CONTROL$1}
|
|
21639
22064
|
<input
|
|
21640
|
-
ngCombobox ${CONTROL_ATTRIBUTES$1} ${STATE_ATTRIBUTES$1}
|
|
21641
|
-
[(value)]="value" />${AFTER_CONTROL$1}
|
|
22065
|
+
ngCombobox virtualKeyboard #vk="virtualKeyboard" ${CONTROL_ATTRIBUTES$1} ${STATE_ATTRIBUTES$1}
|
|
22066
|
+
[(value)]="value" />${KEYBOARD_BUTTON$1}${AFTER_CONTROL$1}
|
|
21642
22067
|
`
|
|
21643
22068
|
}]
|
|
21644
22069
|
}],
|
|
@@ -21649,7 +22074,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
21649
22074
|
});
|
|
21650
22075
|
const SB_ICON_CLASS = "sb-icon";
|
|
21651
22076
|
const SB_INPUT_CLASS = "sb-input";
|
|
21652
|
-
const searchBarVariants = cva([
|
|
22077
|
+
const searchBarVariants = /*@__PURE__*/ cva([
|
|
21653
22078
|
"box-border inline-flex cursor-text items-center bg-(--bg-neutral-white)",
|
|
21654
22079
|
"rounded-(--radius-rounded) border border-solid border-(--stroke-primary-muted)",
|
|
21655
22080
|
"transition-[border-color,background] duration-120 ease-[ease] motion-reduce:transition-none",
|
|
@@ -21703,6 +22128,22 @@ const CONTROL_ATTRIBUTES = `
|
|
|
21703
22128
|
[attr.aria-label]="ariaLabel()"
|
|
21704
22129
|
[attr.aria-keyshortcuts]="hotkey()"
|
|
21705
22130
|
(search)="$event.stopPropagation()"`;
|
|
22131
|
+
const KEYBOARD_BUTTON = `
|
|
22132
|
+
@if (vk.applicable()) {
|
|
22133
|
+
<button
|
|
22134
|
+
variant="tertiary"
|
|
22135
|
+
scheme="neutral"
|
|
22136
|
+
[iconOnly]="true"
|
|
22137
|
+
[size]="buttonSize()"
|
|
22138
|
+
type="button"
|
|
22139
|
+
[disabled]="disabled()"
|
|
22140
|
+
[attr.aria-label]="vk.hidden() ? keyboardLabel() : hideKeyboardLabel()"
|
|
22141
|
+
(mousedown)="$event.preventDefault()"
|
|
22142
|
+
(click)="vk.toggle()">
|
|
22143
|
+
<KeyboardIcon [class]="iconClass()" aria-hidden="true" />
|
|
22144
|
+
</button>
|
|
22145
|
+
}
|
|
22146
|
+
`;
|
|
21706
22147
|
const AFTER_CONTROL = `
|
|
21707
22148
|
<button
|
|
21708
22149
|
variant="tertiary"
|
|
@@ -21764,6 +22205,8 @@ var SearchBarBase = class SearchBarBase {
|
|
|
21764
22205
|
...ngDevMode ? { debugName: "ariaLabel" } : /* istanbul ignore next */ {},
|
|
21765
22206
|
alias: "aria-label"
|
|
21766
22207
|
});
|
|
22208
|
+
hideKeyboardLabel = input("Hide keyboard", ...ngDevMode ? [{ debugName: "hideKeyboardLabel" }] : /* istanbul ignore next */ []);
|
|
22209
|
+
keyboardLabel = input("Show keyboard", ...ngDevMode ? [{ debugName: "keyboardLabel" }] : /* istanbul ignore next */ []);
|
|
21767
22210
|
clearLabel = input("Clear search", ...ngDevMode ? [{ debugName: "clearLabel" }] : /* istanbul ignore next */ []);
|
|
21768
22211
|
sendLabel = input("Send", ...ngDevMode ? [{ debugName: "sendLabel" }] : /* istanbul ignore next */ []);
|
|
21769
22212
|
disabled = input(false, {
|
|
@@ -21845,6 +22288,20 @@ var SearchBarBase = class SearchBarBase {
|
|
|
21845
22288
|
isRequired: false,
|
|
21846
22289
|
transformFunction: null
|
|
21847
22290
|
},
|
|
22291
|
+
hideKeyboardLabel: {
|
|
22292
|
+
classPropertyName: "hideKeyboardLabel",
|
|
22293
|
+
publicName: "hideKeyboardLabel",
|
|
22294
|
+
isSignal: true,
|
|
22295
|
+
isRequired: false,
|
|
22296
|
+
transformFunction: null
|
|
22297
|
+
},
|
|
22298
|
+
keyboardLabel: {
|
|
22299
|
+
classPropertyName: "keyboardLabel",
|
|
22300
|
+
publicName: "keyboardLabel",
|
|
22301
|
+
isSignal: true,
|
|
22302
|
+
isRequired: false,
|
|
22303
|
+
transformFunction: null
|
|
22304
|
+
},
|
|
21848
22305
|
clearLabel: {
|
|
21849
22306
|
classPropertyName: "clearLabel",
|
|
21850
22307
|
publicName: "clearLabel",
|
|
@@ -21970,6 +22427,22 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
21970
22427
|
required: false
|
|
21971
22428
|
}]
|
|
21972
22429
|
}],
|
|
22430
|
+
hideKeyboardLabel: [{
|
|
22431
|
+
type: i0.Input,
|
|
22432
|
+
args: [{
|
|
22433
|
+
isSignal: true,
|
|
22434
|
+
alias: "hideKeyboardLabel",
|
|
22435
|
+
required: false
|
|
22436
|
+
}]
|
|
22437
|
+
}],
|
|
22438
|
+
keyboardLabel: [{
|
|
22439
|
+
type: i0.Input,
|
|
22440
|
+
args: [{
|
|
22441
|
+
isSignal: true,
|
|
22442
|
+
alias: "keyboardLabel",
|
|
22443
|
+
required: false
|
|
22444
|
+
}]
|
|
22445
|
+
}],
|
|
21973
22446
|
clearLabel: [{
|
|
21974
22447
|
type: i0.Input,
|
|
21975
22448
|
args: [{
|
|
@@ -22181,7 +22654,7 @@ var SearchBarSuggestionsComponent = class SearchBarSuggestionsComponent extends
|
|
|
22181
22654
|
}],
|
|
22182
22655
|
usesInheritance: true,
|
|
22183
22656
|
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",
|
|
22657
|
+
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
22658
|
isInline: true,
|
|
22186
22659
|
dependencies: [
|
|
22187
22660
|
{
|
|
@@ -22256,6 +22729,18 @@ var SearchBarSuggestionsComponent = class SearchBarSuggestionsComponent extends
|
|
|
22256
22729
|
],
|
|
22257
22730
|
outputs: ["expandedChange", "valueChange"],
|
|
22258
22731
|
exportAs: ["ngCombobox"]
|
|
22732
|
+
},
|
|
22733
|
+
{
|
|
22734
|
+
kind: "component",
|
|
22735
|
+
type: KeyboardIcon,
|
|
22736
|
+
selector: "keyboard, keyboard-icon, Keyboard, KeyboardIcon",
|
|
22737
|
+
inputs: ["class"]
|
|
22738
|
+
},
|
|
22739
|
+
{
|
|
22740
|
+
kind: "directive",
|
|
22741
|
+
type: VirtualKeyboardDirective,
|
|
22742
|
+
selector: "input[virtualKeyboard]",
|
|
22743
|
+
exportAs: ["virtualKeyboard"]
|
|
22259
22744
|
}
|
|
22260
22745
|
]
|
|
22261
22746
|
});
|
|
@@ -22270,11 +22755,16 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
22270
22755
|
args: [{
|
|
22271
22756
|
selector: "SearchBar[suggestions], search-bar[suggestions], searchbar[suggestions]",
|
|
22272
22757
|
standalone: true,
|
|
22273
|
-
imports: [
|
|
22758
|
+
imports: [
|
|
22759
|
+
...SEARCH_BAR_IMPORTS,
|
|
22760
|
+
Combobox,
|
|
22761
|
+
KeyboardIcon,
|
|
22762
|
+
VirtualKeyboardDirective
|
|
22763
|
+
],
|
|
22274
22764
|
template: `${BEFORE_CONTROL}
|
|
22275
22765
|
<input
|
|
22276
|
-
ngCombobox ${CONTROL_ATTRIBUTES} ${STATE_ATTRIBUTES}
|
|
22277
|
-
[(value)]="value" />${AFTER_CONTROL}`
|
|
22766
|
+
ngCombobox virtualKeyboard #vk="virtualKeyboard" ${CONTROL_ATTRIBUTES} ${STATE_ATTRIBUTES}
|
|
22767
|
+
[(value)]="value" />${KEYBOARD_BUTTON}${AFTER_CONTROL}`
|
|
22278
22768
|
}]
|
|
22279
22769
|
}],
|
|
22280
22770
|
propDecorators: { combobox: [{
|
|
@@ -22293,7 +22783,7 @@ const MODAL_CLOSE_CLASS = "modal-close";
|
|
|
22293
22783
|
const MODAL_BODY_CLASS = "modal-body";
|
|
22294
22784
|
const MODAL_BODY_TEXT_CLASS = "modal-body-text";
|
|
22295
22785
|
const MODAL_FOOTER_CLASS = "modal-footer";
|
|
22296
|
-
const modalVariants = cva([
|
|
22786
|
+
const modalVariants = /*@__PURE__*/ cva([
|
|
22297
22787
|
"bg-(--layer-page-layer)",
|
|
22298
22788
|
"relative flex flex-col items-start overflow-clip",
|
|
22299
22789
|
"rounded-(--radius-lg)",
|
|
@@ -23173,7 +23663,7 @@ const SHEET_TITLE_WRAP_CLASS = "sheet-title-wrap";
|
|
|
23173
23663
|
const SHEET_CLOSE_CLASS = "sheet-close";
|
|
23174
23664
|
const SHEET_BODY_CLASS = "sheet-body";
|
|
23175
23665
|
const SHEET_FOOTER_CLASS = "sheet-footer";
|
|
23176
|
-
const sheetVariants = cva([
|
|
23666
|
+
const sheetVariants = /*@__PURE__*/ cva([
|
|
23177
23667
|
"fixed m-0 max-h-none max-w-none border-0 p-0",
|
|
23178
23668
|
"bg-(--layer-page-layer) text-(--layer-page-font)",
|
|
23179
23669
|
"flex-col items-stretch overflow-hidden",
|
|
@@ -23896,43 +24386,6 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
23896
24386
|
}]
|
|
23897
24387
|
}] }
|
|
23898
24388
|
});
|
|
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
24389
|
const SIDEBAR_CLASS = "sidebar";
|
|
23937
24390
|
const SIDEBAR_HEADER_CLASS = "sidebar-header";
|
|
23938
24391
|
const SIDEBAR_CONTENT_CLASS = "sidebar-content";
|
|
@@ -23966,7 +24419,7 @@ const SIDEBAR_ITEM_STYLE = [
|
|
|
23966
24419
|
const SIDEBAR_ITEM_LABEL_STYLE = "min-w-0 flex-1 overflow-hidden text-ellipsis whitespace-nowrap group-data-[collapsed=true]:sr-only";
|
|
23967
24420
|
const SIDEBAR_SLOT_STYLE = "relative h-full shrink-0 overflow-visible transition-[width] duration-200 ease-in-out motion-reduce:transition-none";
|
|
23968
24421
|
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))"], {
|
|
24422
|
+
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
24423
|
variants: {
|
|
23971
24424
|
side: {
|
|
23972
24425
|
left: "left-0 border-r border-(--sidebar-border,var(--layer-page-edge))",
|
|
@@ -23983,7 +24436,7 @@ const sidebarVariants = cva(["group absolute inset-y-0 flex min-w-0 flex-col ove
|
|
|
23983
24436
|
variant: "sidebar"
|
|
23984
24437
|
}
|
|
23985
24438
|
});
|
|
23986
|
-
const sidebarInsetVariants = cva([
|
|
24439
|
+
const sidebarInsetVariants = /*@__PURE__*/ cva([
|
|
23987
24440
|
"flex min-w-0 flex-1 flex-col overflow-hidden",
|
|
23988
24441
|
"bg-(--layer-page-layer) text-(--layer-page-font)",
|
|
23989
24442
|
"rounded-(--sidebar-radius,var(--radius-lg)) shadow-(--shadow-1)"
|
|
@@ -24851,7 +25304,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
24851
25304
|
}]
|
|
24852
25305
|
}] }
|
|
24853
25306
|
});
|
|
24854
|
-
const resizableGroupVariants = cva("flex size-full overflow-hidden", {
|
|
25307
|
+
const resizableGroupVariants = /*@__PURE__*/ cva("flex size-full overflow-hidden", {
|
|
24855
25308
|
variants: { direction: {
|
|
24856
25309
|
horizontal: "flex-row",
|
|
24857
25310
|
vertical: "flex-col"
|
|
@@ -24859,7 +25312,7 @@ const resizableGroupVariants = cva("flex size-full overflow-hidden", {
|
|
|
24859
25312
|
defaultVariants: { direction: "horizontal" }
|
|
24860
25313
|
});
|
|
24861
25314
|
const RESIZABLE_PANEL_CLASS = "block size-full grow-0 shrink overflow-hidden";
|
|
24862
|
-
const resizableHandleVariants = cva([
|
|
25315
|
+
const resizableHandleVariants = /*@__PURE__*/ cva([
|
|
24863
25316
|
"relative flex shrink-0 touch-none items-center justify-center select-none",
|
|
24864
25317
|
"bg-(--bg-neutral-hovered) hover:bg-(--bg-neutral-muted) active:bg-(--bg-neutral-muted)",
|
|
24865
25318
|
"focus-visible:outline-2 focus-visible:outline-offset-0 focus-visible:outline-(--stroke-focus) focus-visible:outline-solid",
|
|
@@ -25894,6 +26347,379 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
25894
26347
|
}]
|
|
25895
26348
|
}
|
|
25896
26349
|
});
|
|
25897
|
-
|
|
26350
|
+
const TONE_CLASS = {
|
|
26351
|
+
error: "bg-(--bg-error-lightest) text-(--font-error-base) data-armed:bg-(--bg-error-base) data-armed:text-(--font-neutral-white)",
|
|
26352
|
+
success: "bg-(--bg-success-lightest) text-(--font-success-base) data-armed:bg-(--bg-success-base) data-armed:text-(--font-neutral-white)",
|
|
26353
|
+
warning: "bg-(--bg-warning-lightest) text-(--font-warning-base) data-armed:bg-(--bg-warning-base) data-armed:text-(--font-neutral-white)",
|
|
26354
|
+
accent: "bg-(--bg-accent-base-alt) text-(--font-accent-base) data-armed:bg-(--bg-accent-base) data-armed:text-(--font-neutral-white)"
|
|
26355
|
+
};
|
|
26356
|
+
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";
|
|
26357
|
+
const SLOP = 8;
|
|
26358
|
+
var SwipeActionComponent = class SwipeActionComponent {
|
|
26359
|
+
class = input(...ngDevMode ? [void 0, { debugName: "class" }] : /* istanbul ignore next */ []);
|
|
26360
|
+
contentClass = input(...ngDevMode ? [void 0, { debugName: "contentClass" }] : /* istanbul ignore next */ []);
|
|
26361
|
+
startEnabled = input(false, {
|
|
26362
|
+
...ngDevMode ? { debugName: "startEnabled" } : /* istanbul ignore next */ {},
|
|
26363
|
+
transform: booleanAttribute
|
|
26364
|
+
});
|
|
26365
|
+
endEnabled = input(false, {
|
|
26366
|
+
...ngDevMode ? { debugName: "endEnabled" } : /* istanbul ignore next */ {},
|
|
26367
|
+
transform: booleanAttribute
|
|
26368
|
+
});
|
|
26369
|
+
startTone = input("success", ...ngDevMode ? [{ debugName: "startTone" }] : /* istanbul ignore next */ []);
|
|
26370
|
+
endTone = input("error", ...ngDevMode ? [{ debugName: "endTone" }] : /* istanbul ignore next */ []);
|
|
26371
|
+
disabled = input(false, {
|
|
26372
|
+
...ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {},
|
|
26373
|
+
transform: booleanAttribute
|
|
26374
|
+
});
|
|
26375
|
+
threshold = input(96, {
|
|
26376
|
+
...ngDevMode ? { debugName: "threshold" } : /* istanbul ignore next */ {},
|
|
26377
|
+
transform: numberAttribute
|
|
26378
|
+
});
|
|
26379
|
+
swipedStart = output();
|
|
26380
|
+
swipedEnd = output();
|
|
26381
|
+
enabled = computed(() => !this.disabled() && (this.startEnabled() || this.endEnabled()), ...ngDevMode ? [{ debugName: "enabled" }] : /* istanbul ignore next */ []);
|
|
26382
|
+
contentClasses = computed(() => cn("relative motion-reduce:transition-none", this.contentClass()), ...ngDevMode ? [{ debugName: "contentClasses" }] : /* istanbul ignore next */ []);
|
|
26383
|
+
hostClass = computed(() => cn("relative block overflow-hidden", this.class()), ...ngDevMode ? [{ debugName: "hostClass" }] : /* istanbul ignore next */ []);
|
|
26384
|
+
startClass = computed(() => cn(LAYER_CLASS, "start-0 justify-start ps-4", TONE_CLASS[this.startTone()]), ...ngDevMode ? [{ debugName: "startClass" }] : /* istanbul ignore next */ []);
|
|
26385
|
+
endClass = computed(() => cn(LAYER_CLASS, "end-0 justify-end pe-4", TONE_CLASS[this.endTone()]), ...ngDevMode ? [{ debugName: "endClass" }] : /* istanbul ignore next */ []);
|
|
26386
|
+
offset = signal(0, ...ngDevMode ? [{ debugName: "offset" }] : /* istanbul ignore next */ []);
|
|
26387
|
+
dragging = signal(false, ...ngDevMode ? [{ debugName: "dragging" }] : /* istanbul ignore next */ []);
|
|
26388
|
+
startWidth = computed(() => Math.max(0, this.offset()), ...ngDevMode ? [{ debugName: "startWidth" }] : /* istanbul ignore next */ []);
|
|
26389
|
+
endWidth = computed(() => Math.max(0, -this.offset()), ...ngDevMode ? [{ debugName: "endWidth" }] : /* istanbul ignore next */ []);
|
|
26390
|
+
startArmed = computed(() => this.startEnabled() && this.offset() >= this.threshold(), ...ngDevMode ? [{ debugName: "startArmed" }] : /* istanbul ignore next */ []);
|
|
26391
|
+
endArmed = computed(() => this.endEnabled() && -this.offset() >= this.threshold(), ...ngDevMode ? [{ debugName: "endArmed" }] : /* istanbul ignore next */ []);
|
|
26392
|
+
host = inject(ElementRef).nativeElement;
|
|
26393
|
+
destroyRef = inject(DestroyRef);
|
|
26394
|
+
gesture = null;
|
|
26395
|
+
swallowClick = null;
|
|
26396
|
+
constructor() {
|
|
26397
|
+
this.destroyRef.onDestroy(() => this.stopSwallowingClick());
|
|
26398
|
+
}
|
|
26399
|
+
onPointerDown(event) {
|
|
26400
|
+
if (!this.enabled() || event.pointerType === "mouse" || this.gesture) return;
|
|
26401
|
+
this.gesture = {
|
|
26402
|
+
id: event.pointerId,
|
|
26403
|
+
x: event.clientX,
|
|
26404
|
+
y: event.clientY,
|
|
26405
|
+
locked: false
|
|
26406
|
+
};
|
|
26407
|
+
}
|
|
26408
|
+
onPointerMove(event) {
|
|
26409
|
+
const gesture = this.gesture;
|
|
26410
|
+
if (!gesture || event.pointerId !== gesture.id) return;
|
|
26411
|
+
const dx = event.clientX - gesture.x;
|
|
26412
|
+
const dy = event.clientY - gesture.y;
|
|
26413
|
+
if (!gesture.locked) {
|
|
26414
|
+
if (Math.abs(dx) < SLOP && Math.abs(dy) < SLOP) return;
|
|
26415
|
+
if (Math.abs(dy) > Math.abs(dx)) {
|
|
26416
|
+
this.gesture = null;
|
|
26417
|
+
return;
|
|
26418
|
+
}
|
|
26419
|
+
gesture.locked = true;
|
|
26420
|
+
this.dragging.set(true);
|
|
26421
|
+
this.host.setPointerCapture?.(event.pointerId);
|
|
26422
|
+
}
|
|
26423
|
+
this.offset.set(this.clamp(dx));
|
|
26424
|
+
}
|
|
26425
|
+
onPointerUp(event) {
|
|
26426
|
+
const gesture = this.gesture;
|
|
26427
|
+
if (!gesture || event.pointerId !== gesture.id) return;
|
|
26428
|
+
this.gesture = null;
|
|
26429
|
+
if (!gesture.locked) return;
|
|
26430
|
+
const offset = this.offset();
|
|
26431
|
+
const threshold = this.threshold();
|
|
26432
|
+
this.dragging.set(false);
|
|
26433
|
+
this.offset.set(0);
|
|
26434
|
+
this.swallowNextClick();
|
|
26435
|
+
if (offset <= -threshold && this.endEnabled()) this.swipedEnd.emit();
|
|
26436
|
+
else if (offset >= threshold && this.startEnabled()) this.swipedStart.emit();
|
|
26437
|
+
}
|
|
26438
|
+
onPointerCancel() {
|
|
26439
|
+
this.gesture = null;
|
|
26440
|
+
this.dragging.set(false);
|
|
26441
|
+
this.offset.set(0);
|
|
26442
|
+
}
|
|
26443
|
+
clamp(dx) {
|
|
26444
|
+
const width = this.host.clientWidth || Number.POSITIVE_INFINITY;
|
|
26445
|
+
const min = this.endEnabled() ? -width : 0;
|
|
26446
|
+
const max = this.startEnabled() ? width : 0;
|
|
26447
|
+
return Math.min(max, Math.max(min, dx));
|
|
26448
|
+
}
|
|
26449
|
+
swallowNextClick() {
|
|
26450
|
+
this.stopSwallowingClick();
|
|
26451
|
+
const swallow = (event) => {
|
|
26452
|
+
event.stopPropagation();
|
|
26453
|
+
event.preventDefault();
|
|
26454
|
+
this.stopSwallowingClick();
|
|
26455
|
+
};
|
|
26456
|
+
this.swallowClick = swallow;
|
|
26457
|
+
this.host.addEventListener("click", swallow, { capture: true });
|
|
26458
|
+
setTimeout(() => {
|
|
26459
|
+
if (this.swallowClick === swallow) this.stopSwallowingClick();
|
|
26460
|
+
}, 400);
|
|
26461
|
+
}
|
|
26462
|
+
stopSwallowingClick() {
|
|
26463
|
+
if (!this.swallowClick) return;
|
|
26464
|
+
this.host.removeEventListener("click", this.swallowClick, { capture: true });
|
|
26465
|
+
this.swallowClick = null;
|
|
26466
|
+
}
|
|
26467
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
26468
|
+
minVersion: "12.0.0",
|
|
26469
|
+
version: "22.2.1",
|
|
26470
|
+
ngImport: i0,
|
|
26471
|
+
type: SwipeActionComponent,
|
|
26472
|
+
deps: [],
|
|
26473
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
26474
|
+
});
|
|
26475
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
26476
|
+
minVersion: "17.0.0",
|
|
26477
|
+
version: "22.2.1",
|
|
26478
|
+
type: SwipeActionComponent,
|
|
26479
|
+
isStandalone: true,
|
|
26480
|
+
selector: "swipe-action, SwipeAction",
|
|
26481
|
+
inputs: {
|
|
26482
|
+
class: {
|
|
26483
|
+
classPropertyName: "class",
|
|
26484
|
+
publicName: "class",
|
|
26485
|
+
isSignal: true,
|
|
26486
|
+
isRequired: false,
|
|
26487
|
+
transformFunction: null
|
|
26488
|
+
},
|
|
26489
|
+
contentClass: {
|
|
26490
|
+
classPropertyName: "contentClass",
|
|
26491
|
+
publicName: "contentClass",
|
|
26492
|
+
isSignal: true,
|
|
26493
|
+
isRequired: false,
|
|
26494
|
+
transformFunction: null
|
|
26495
|
+
},
|
|
26496
|
+
startEnabled: {
|
|
26497
|
+
classPropertyName: "startEnabled",
|
|
26498
|
+
publicName: "startEnabled",
|
|
26499
|
+
isSignal: true,
|
|
26500
|
+
isRequired: false,
|
|
26501
|
+
transformFunction: null
|
|
26502
|
+
},
|
|
26503
|
+
endEnabled: {
|
|
26504
|
+
classPropertyName: "endEnabled",
|
|
26505
|
+
publicName: "endEnabled",
|
|
26506
|
+
isSignal: true,
|
|
26507
|
+
isRequired: false,
|
|
26508
|
+
transformFunction: null
|
|
26509
|
+
},
|
|
26510
|
+
startTone: {
|
|
26511
|
+
classPropertyName: "startTone",
|
|
26512
|
+
publicName: "startTone",
|
|
26513
|
+
isSignal: true,
|
|
26514
|
+
isRequired: false,
|
|
26515
|
+
transformFunction: null
|
|
26516
|
+
},
|
|
26517
|
+
endTone: {
|
|
26518
|
+
classPropertyName: "endTone",
|
|
26519
|
+
publicName: "endTone",
|
|
26520
|
+
isSignal: true,
|
|
26521
|
+
isRequired: false,
|
|
26522
|
+
transformFunction: null
|
|
26523
|
+
},
|
|
26524
|
+
disabled: {
|
|
26525
|
+
classPropertyName: "disabled",
|
|
26526
|
+
publicName: "disabled",
|
|
26527
|
+
isSignal: true,
|
|
26528
|
+
isRequired: false,
|
|
26529
|
+
transformFunction: null
|
|
26530
|
+
},
|
|
26531
|
+
threshold: {
|
|
26532
|
+
classPropertyName: "threshold",
|
|
26533
|
+
publicName: "threshold",
|
|
26534
|
+
isSignal: true,
|
|
26535
|
+
isRequired: false,
|
|
26536
|
+
transformFunction: null
|
|
26537
|
+
}
|
|
26538
|
+
},
|
|
26539
|
+
outputs: {
|
|
26540
|
+
swipedStart: "swipedStart",
|
|
26541
|
+
swipedEnd: "swipedEnd"
|
|
26542
|
+
},
|
|
26543
|
+
host: {
|
|
26544
|
+
listeners: {
|
|
26545
|
+
"pointerdown": "onPointerDown($event)",
|
|
26546
|
+
"pointermove": "onPointerMove($event)",
|
|
26547
|
+
"pointerup": "onPointerUp($event)",
|
|
26548
|
+
"pointercancel": "onPointerCancel()"
|
|
26549
|
+
},
|
|
26550
|
+
properties: {
|
|
26551
|
+
"class": "hostClass()",
|
|
26552
|
+
"style.touch-action": "enabled() ? 'pan-y' : null"
|
|
26553
|
+
}
|
|
26554
|
+
},
|
|
26555
|
+
ngImport: i0,
|
|
26556
|
+
template: `
|
|
26557
|
+
@if (startEnabled()) {
|
|
26558
|
+
<div
|
|
26559
|
+
aria-hidden="true"
|
|
26560
|
+
data-slot="start"
|
|
26561
|
+
[class]="startClass()"
|
|
26562
|
+
[class.hidden]="startWidth() === 0"
|
|
26563
|
+
[attr.data-armed]="startArmed() ? '' : null"
|
|
26564
|
+
[style.width.px]="startWidth()">
|
|
26565
|
+
<ng-content select="[swipeActionStart]" />
|
|
26566
|
+
</div>
|
|
26567
|
+
}
|
|
26568
|
+
@if (endEnabled()) {
|
|
26569
|
+
<div
|
|
26570
|
+
aria-hidden="true"
|
|
26571
|
+
data-slot="end"
|
|
26572
|
+
[class]="endClass()"
|
|
26573
|
+
[class.hidden]="endWidth() === 0"
|
|
26574
|
+
[attr.data-armed]="endArmed() ? '' : null"
|
|
26575
|
+
[style.width.px]="endWidth()">
|
|
26576
|
+
<ng-content select="[swipeActionEnd]" />
|
|
26577
|
+
</div>
|
|
26578
|
+
}
|
|
26579
|
+
<div
|
|
26580
|
+
data-slot="content"
|
|
26581
|
+
[class]="contentClasses()"
|
|
26582
|
+
[class.transition-transform]="!dragging()"
|
|
26583
|
+
[class.duration-200]="!dragging()"
|
|
26584
|
+
[style.transform]="offset() === 0 ? null : 'translateX(' + offset() + 'px)'"
|
|
26585
|
+
>
|
|
26586
|
+
<ng-content />
|
|
26587
|
+
</div>
|
|
26588
|
+
`,
|
|
26589
|
+
isInline: true,
|
|
26590
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
26591
|
+
});
|
|
26592
|
+
};
|
|
26593
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
26594
|
+
minVersion: "12.0.0",
|
|
26595
|
+
version: "22.2.1",
|
|
26596
|
+
ngImport: i0,
|
|
26597
|
+
type: SwipeActionComponent,
|
|
26598
|
+
decorators: [{
|
|
26599
|
+
type: Component,
|
|
26600
|
+
args: [{
|
|
26601
|
+
selector: "swipe-action, SwipeAction",
|
|
26602
|
+
standalone: true,
|
|
26603
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
26604
|
+
host: {
|
|
26605
|
+
"[class]": "hostClass()",
|
|
26606
|
+
"[style.touch-action]": "enabled() ? 'pan-y' : null",
|
|
26607
|
+
"(pointerdown)": "onPointerDown($event)",
|
|
26608
|
+
"(pointermove)": "onPointerMove($event)",
|
|
26609
|
+
"(pointerup)": "onPointerUp($event)",
|
|
26610
|
+
"(pointercancel)": "onPointerCancel()"
|
|
26611
|
+
},
|
|
26612
|
+
template: `
|
|
26613
|
+
@if (startEnabled()) {
|
|
26614
|
+
<div
|
|
26615
|
+
aria-hidden="true"
|
|
26616
|
+
data-slot="start"
|
|
26617
|
+
[class]="startClass()"
|
|
26618
|
+
[class.hidden]="startWidth() === 0"
|
|
26619
|
+
[attr.data-armed]="startArmed() ? '' : null"
|
|
26620
|
+
[style.width.px]="startWidth()">
|
|
26621
|
+
<ng-content select="[swipeActionStart]" />
|
|
26622
|
+
</div>
|
|
26623
|
+
}
|
|
26624
|
+
@if (endEnabled()) {
|
|
26625
|
+
<div
|
|
26626
|
+
aria-hidden="true"
|
|
26627
|
+
data-slot="end"
|
|
26628
|
+
[class]="endClass()"
|
|
26629
|
+
[class.hidden]="endWidth() === 0"
|
|
26630
|
+
[attr.data-armed]="endArmed() ? '' : null"
|
|
26631
|
+
[style.width.px]="endWidth()">
|
|
26632
|
+
<ng-content select="[swipeActionEnd]" />
|
|
26633
|
+
</div>
|
|
26634
|
+
}
|
|
26635
|
+
<div
|
|
26636
|
+
data-slot="content"
|
|
26637
|
+
[class]="contentClasses()"
|
|
26638
|
+
[class.transition-transform]="!dragging()"
|
|
26639
|
+
[class.duration-200]="!dragging()"
|
|
26640
|
+
[style.transform]="offset() === 0 ? null : 'translateX(' + offset() + 'px)'"
|
|
26641
|
+
>
|
|
26642
|
+
<ng-content />
|
|
26643
|
+
</div>
|
|
26644
|
+
`
|
|
26645
|
+
}]
|
|
26646
|
+
}],
|
|
26647
|
+
ctorParameters: () => [],
|
|
26648
|
+
propDecorators: {
|
|
26649
|
+
class: [{
|
|
26650
|
+
type: i0.Input,
|
|
26651
|
+
args: [{
|
|
26652
|
+
isSignal: true,
|
|
26653
|
+
alias: "class",
|
|
26654
|
+
required: false
|
|
26655
|
+
}]
|
|
26656
|
+
}],
|
|
26657
|
+
contentClass: [{
|
|
26658
|
+
type: i0.Input,
|
|
26659
|
+
args: [{
|
|
26660
|
+
isSignal: true,
|
|
26661
|
+
alias: "contentClass",
|
|
26662
|
+
required: false
|
|
26663
|
+
}]
|
|
26664
|
+
}],
|
|
26665
|
+
startEnabled: [{
|
|
26666
|
+
type: i0.Input,
|
|
26667
|
+
args: [{
|
|
26668
|
+
isSignal: true,
|
|
26669
|
+
alias: "startEnabled",
|
|
26670
|
+
required: false
|
|
26671
|
+
}]
|
|
26672
|
+
}],
|
|
26673
|
+
endEnabled: [{
|
|
26674
|
+
type: i0.Input,
|
|
26675
|
+
args: [{
|
|
26676
|
+
isSignal: true,
|
|
26677
|
+
alias: "endEnabled",
|
|
26678
|
+
required: false
|
|
26679
|
+
}]
|
|
26680
|
+
}],
|
|
26681
|
+
startTone: [{
|
|
26682
|
+
type: i0.Input,
|
|
26683
|
+
args: [{
|
|
26684
|
+
isSignal: true,
|
|
26685
|
+
alias: "startTone",
|
|
26686
|
+
required: false
|
|
26687
|
+
}]
|
|
26688
|
+
}],
|
|
26689
|
+
endTone: [{
|
|
26690
|
+
type: i0.Input,
|
|
26691
|
+
args: [{
|
|
26692
|
+
isSignal: true,
|
|
26693
|
+
alias: "endTone",
|
|
26694
|
+
required: false
|
|
26695
|
+
}]
|
|
26696
|
+
}],
|
|
26697
|
+
disabled: [{
|
|
26698
|
+
type: i0.Input,
|
|
26699
|
+
args: [{
|
|
26700
|
+
isSignal: true,
|
|
26701
|
+
alias: "disabled",
|
|
26702
|
+
required: false
|
|
26703
|
+
}]
|
|
26704
|
+
}],
|
|
26705
|
+
threshold: [{
|
|
26706
|
+
type: i0.Input,
|
|
26707
|
+
args: [{
|
|
26708
|
+
isSignal: true,
|
|
26709
|
+
alias: "threshold",
|
|
26710
|
+
required: false
|
|
26711
|
+
}]
|
|
26712
|
+
}],
|
|
26713
|
+
swipedStart: [{
|
|
26714
|
+
type: i0.Output,
|
|
26715
|
+
args: ["swipedStart"]
|
|
26716
|
+
}],
|
|
26717
|
+
swipedEnd: [{
|
|
26718
|
+
type: i0.Output,
|
|
26719
|
+
args: ["swipedEnd"]
|
|
26720
|
+
}]
|
|
26721
|
+
}
|
|
26722
|
+
});
|
|
26723
|
+
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, CrownIcon, CrownIconComponent, 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
26724
|
|
|
25899
26725
|
//# sourceMappingURL=sinequa-galactik.mjs.map
|