foldkit-mixins 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +244 -10
- package/dist/core-B86QnDhB.d.mts +40 -0
- package/dist/core-B86QnDhB.d.mts.map +1 -0
- package/dist/core-izIY2GSX.mjs +53 -0
- package/dist/core-izIY2GSX.mjs.map +1 -0
- package/dist/defaults.d.mts +27 -0
- package/dist/defaults.d.mts.map +1 -0
- package/dist/defaults.mjs +71 -0
- package/dist/defaults.mjs.map +1 -0
- package/dist/diagnostics-YJ7991-A.mjs +15 -0
- package/dist/diagnostics-YJ7991-A.mjs.map +1 -0
- package/dist/index.d.mts +232 -76
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +486 -229
- package/dist/index.mjs.map +1 -1
- package/dist/layers-CJS5d1i7.mjs +197 -0
- package/dist/layers-CJS5d1i7.mjs.map +1 -0
- package/dist/layers.d.mts +47 -0
- package/dist/layers.d.mts.map +1 -0
- package/dist/layers.mjs +2 -0
- package/dist/layout.d.mts +114 -0
- package/dist/layout.d.mts.map +1 -0
- package/dist/layout.mjs +154 -0
- package/dist/layout.mjs.map +1 -0
- package/dist/prose.d.mts +24 -0
- package/dist/prose.d.mts.map +1 -0
- package/dist/prose.mjs +57 -0
- package/dist/prose.mjs.map +1 -0
- package/dist/styleValue--iQMTcPn.mjs +242 -0
- package/dist/styleValue--iQMTcPn.mjs.map +1 -0
- package/dist/styleValue-C9vAKt7A.d.mts +77 -0
- package/dist/styleValue-C9vAKt7A.d.mts.map +1 -0
- package/dist/theme.d.mts +412 -0
- package/dist/theme.d.mts.map +1 -0
- package/dist/theme.mjs +278 -0
- package/dist/theme.mjs.map +1 -0
- package/package.json +32 -7
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as StyleValue, i as StyleCondition, n as Grid, o as StyleRule, r as GridConfig, s as SlotItem, t as Declarations } from "./styleValue-C9vAKt7A.mjs";
|
|
2
|
+
import { Layers, Placement } from "./layers.mjs";
|
|
3
|
+
import { n as Theme, r as ThemeTokens, t as Refs } from "./core-B86QnDhB.mjs";
|
|
4
|
+
import { Attribute, ChildAttribute, Html, HtmlBuilder, KeyboardModifiers } from "foldkit/html";
|
|
2
5
|
import { MountAction } from "foldkit/mount";
|
|
3
6
|
declare namespace diagnostics_d_exports {
|
|
4
7
|
export { Diagnostic, DiagnosticCode, DiagnosticError };
|
|
@@ -9,9 +12,9 @@ declare namespace diagnostics_d_exports {
|
|
|
9
12
|
* programming errors (a definition attaches something a slot does not allow),
|
|
10
13
|
* so `resolve` throws a `DiagnosticError` carrying one.
|
|
11
14
|
*/
|
|
12
|
-
type DiagnosticCode = 'mixins:unknown-slot' | 'mixins:hidden-slot' | 'mixins:capability-mismatch' | 'mixins:unsupported-event' | 'mixins:unsupported-attribute' | 'mixins:protected-event' | 'mixins:protected-attribute' | 'mixins:protected-style-property' | 'mixins:event-conflict' | 'mixins:attribute-conflict' | 'mixins:structural-override' | 'mixins:duplicate-mount-name' | 'style:
|
|
15
|
+
type DiagnosticCode = 'mixins:unknown-slot' | 'mixins:hidden-slot' | 'mixins:capability-mismatch' | 'mixins:unsupported-event' | 'mixins:unsupported-attribute' | 'mixins:protected-event' | 'mixins:protected-attribute' | 'mixins:protected-style-property' | 'mixins:style-property-conflict' | 'mixins:event-conflict' | 'mixins:attribute-conflict' | 'mixins:structural-override' | 'mixins:duplicate-mount-name' | 'mixins:duplicate-item-id' | 'mixins:ragged-grid-areas' | 'style:duplicate-layer' | 'style:conflicting-layer-order' | 'style:unlayered-rule' | 'style:relayered' | 'theme:unparseable-breakpoint' | 'a11y:missing-slot' | 'a11y:hidden-slot' | 'a11y:capability-mismatch' | 'a11y:missing-event' | 'a11y:missing-attribute';
|
|
13
16
|
interface Diagnostic {
|
|
14
|
-
readonly source: 'mixins' | 'a11y';
|
|
17
|
+
readonly source: 'mixins' | 'a11y' | 'style' | 'theme';
|
|
15
18
|
readonly code: DiagnosticCode;
|
|
16
19
|
readonly severity: 'error';
|
|
17
20
|
readonly message: string;
|
|
@@ -23,7 +26,7 @@ declare class DiagnosticError extends Error {
|
|
|
23
26
|
constructor(diagnostic: Diagnostic);
|
|
24
27
|
}
|
|
25
28
|
declare namespace metadataToken_d_exports {
|
|
26
|
-
export { Any$2 as Any, KindOf, MetadataToken, MetadataTokenTypeId, NameOf$2 as NameOf, NamesOf$2 as NamesOf, is$
|
|
29
|
+
export { Any$2 as Any, KindOf, MetadataToken, MetadataTokenTypeId, NameOf$2 as NameOf, NamesOf$2 as NamesOf, is$6 as is, make$6 as make, nameOf };
|
|
27
30
|
}
|
|
28
31
|
/**
|
|
29
32
|
* Ported from `effect-atom-jsx/src/MetadataToken.ts`. Kinded name tokens so
|
|
@@ -44,13 +47,13 @@ type NameOf$2<T> = T extends MetadataToken<any, infer Name> ? Name : T extends s
|
|
|
44
47
|
type KindOf<T> = T extends MetadataToken<infer Kind, any> ? Kind : never;
|
|
45
48
|
type NamesOf$2<T extends readonly unknown[]> = NameOf$2<T[number]>;
|
|
46
49
|
declare const make$6: <const Kind extends string, const Name extends string>(kind: Kind, name: Name) => MetadataToken<Kind, Name>;
|
|
47
|
-
declare const is$
|
|
50
|
+
declare const is$6: (value: unknown) => value is Any$2;
|
|
48
51
|
declare const nameOf: (value: string | Any$2) => string;
|
|
49
52
|
declare namespace attr_d_exports {
|
|
50
|
-
export { AriaDescribedby, AriaDisabled, AriaExpanded, AriaInvalid, AriaLabel, AriaSelected, AttrToken, Disabled, Role, Value, describe$5 as describe, equals$1 as equals, is$
|
|
53
|
+
export { AriaDescribedby, AriaDisabled, AriaExpanded, AriaInvalid, AriaLabel, AriaSelected, AttrToken, Disabled, Role, Value, describe$5 as describe, equals$1 as equals, is$5 as is, make$5 as make };
|
|
51
54
|
}
|
|
52
55
|
type AttrToken<Name extends string = string> = MetadataToken<'view.attribute', Name>;
|
|
53
|
-
declare const is$
|
|
56
|
+
declare const is$5: (value: unknown) => value is AttrToken;
|
|
54
57
|
declare const make$5: <const Name extends string>(name: Name) => AttrToken<Name>;
|
|
55
58
|
declare const equals$1: (left: AttrToken, right: AttrToken) => boolean;
|
|
56
59
|
declare const describe$5: (attr: AttrToken) => {
|
|
@@ -66,7 +69,7 @@ declare const AriaDisabled: AttrToken<"aria-disabled">;
|
|
|
66
69
|
declare const Disabled: AttrToken<"disabled">;
|
|
67
70
|
declare const Value: AttrToken<"value">;
|
|
68
71
|
declare namespace capability_d_exports {
|
|
69
|
-
export { Any, AssignableNamesOf, Base, Capability, CapabilityParent, Collection, Container, Draggable, ExtendsOf, Focusable, Interactive, NameOf$1 as NameOf, NamesOf$1 as NamesOf, Satisfies, TextInput, describe$4 as describe, extendsCapability, is$
|
|
72
|
+
export { Any, AssignableNamesOf, Base, Capability, CapabilityParent, Collection, Container, Draggable, ExtendsOf, Focusable, Interactive, NameOf$1 as NameOf, NamesOf$1 as NamesOf, Satisfies, TextInput, describe$4 as describe, extendsCapability, is$4 as is, make$4 as make, names, satisfies };
|
|
70
73
|
}
|
|
71
74
|
type CapabilityParent = string | MetadataToken<'element.capability', string>;
|
|
72
75
|
interface Capability<Name extends string = string, Extends extends readonly CapabilityParent[] = readonly []> extends MetadataToken<'element.capability', Name> {
|
|
@@ -80,7 +83,7 @@ type AssignableNamesOf<T> = T extends string ? T : T extends Capability<any, inf
|
|
|
80
83
|
type Satisfies<Actual, Required extends {
|
|
81
84
|
readonly name: string;
|
|
82
85
|
}> = Required['name'] extends AssignableNamesOf<Actual> ? true : false;
|
|
83
|
-
declare const is$
|
|
86
|
+
declare const is$4: (value: unknown) => value is Any;
|
|
84
87
|
declare const make$4: <const Name extends string, const Extends extends readonly CapabilityParent[] = readonly []>(name: Name, options?: {
|
|
85
88
|
readonly extends?: Extends;
|
|
86
89
|
}) => Capability<Name, Extends>;
|
|
@@ -100,10 +103,10 @@ declare const TextInput: Capability<"TextInput", readonly [Capability<"Focusable
|
|
|
100
103
|
declare const Draggable: Capability<"Draggable", readonly [Capability<"Interactive", readonly [Capability<"Base", readonly []>]>]>;
|
|
101
104
|
declare const Collection: Capability<"Collection", readonly [Capability<"Base", readonly []>]>;
|
|
102
105
|
declare namespace event_d_exports {
|
|
103
|
-
export { Blur, Cancel, Change, Click, EventToken, Focus, Hover, Input, KeyDown, PointerDown, PointerUp, Press, Submit, describe$3 as describe, equals, is$
|
|
106
|
+
export { Blur, Cancel, Change, Click, EventToken, Focus, Hover, Input, KeyDown, PointerDown, PointerUp, Press, Submit, describe$3 as describe, equals, is$3 as is, make$3 as make };
|
|
104
107
|
}
|
|
105
108
|
type EventToken<Name extends string = string> = MetadataToken<'view.event', Name>;
|
|
106
|
-
declare const is$
|
|
109
|
+
declare const is$3: (value: unknown) => value is EventToken;
|
|
107
110
|
declare const make$3: <const Name extends string>(name: Name) => EventToken<Name>;
|
|
108
111
|
declare const equals: (left: EventToken, right: EventToken) => boolean;
|
|
109
112
|
declare const describe$3: (event: EventToken) => {
|
|
@@ -131,10 +134,10 @@ type Pipeable<Self> = {
|
|
|
131
134
|
pipe<A, B, C>(ab: (self: Self) => A, bc: (a: A) => B, cd: (b: B) => C): C;
|
|
132
135
|
};
|
|
133
136
|
declare namespace requirement_d_exports {
|
|
134
|
-
export { Clipboard, Keyboard, Pointer, RequirementToken, describe$2 as describe, is$
|
|
137
|
+
export { Clipboard, Keyboard, Pointer, RequirementToken, describe$2 as describe, is$2 as is, make$2 as make };
|
|
135
138
|
}
|
|
136
139
|
type RequirementToken<Name extends string = string> = MetadataToken<'view.requirement', Name>;
|
|
137
|
-
declare const is$
|
|
140
|
+
declare const is$2: (value: unknown) => value is RequirementToken;
|
|
138
141
|
declare const make$2: <const Name extends string>(name: Name) => RequirementToken<Name>;
|
|
139
142
|
declare const describe$2: (requirement: RequirementToken) => {
|
|
140
143
|
readonly name: string;
|
|
@@ -143,7 +146,7 @@ declare const Keyboard: RequirementToken<"keyboard">;
|
|
|
143
146
|
declare const Pointer: RequirementToken<"pointer">;
|
|
144
147
|
declare const Clipboard: RequirementToken<"clipboard">;
|
|
145
148
|
declare namespace slot_d_exports {
|
|
146
|
-
export { Any$1 as Any, AssignableCapabilityNamesOf, AttributeName, AttributesOf, CapabilityOf, CapabilityValueOf, EventName, EventsOf, Hidden$1 as Hidden, HiddenOf, MakeOptions, NameOf, Public, RequirementName, Slot, SlotCapability, SlotMetadata, SlotProtection, SlotTypeId, UnnamedSlot, attributes, capability, describe$1 as describe, events, hide, is, make$1 as make, requires };
|
|
149
|
+
export { Any$1 as Any, AssignableCapabilityNamesOf, AttributeName, AttributesOf, CapabilityOf, CapabilityValueOf, EventName, EventsOf, Hidden$1 as Hidden, HiddenOf, MakeOptions, NameOf, Public, RequirementName, Slot, SlotCapability, SlotMetadata, SlotProtection, SlotTypeId, UnnamedSlot, attributes, capability, describe$1 as describe, events, hide, is$1 as is, make$1 as make, requires };
|
|
147
150
|
}
|
|
148
151
|
declare const SlotTypeId: unique symbol;
|
|
149
152
|
type SlotTypeId = typeof SlotTypeId;
|
|
@@ -202,7 +205,7 @@ type HiddenOf<T> = T extends Slot<any, any, any, any, any, infer Hidden> ? Hidde
|
|
|
202
205
|
type AssignableCapabilityNamesOf<T> = AssignableNamesOf<CapabilityValueOf<T>>;
|
|
203
206
|
type Public<T> = HiddenOf<T> extends true ? never : T;
|
|
204
207
|
type Hidden$1<T> = HiddenOf<T> extends true ? T : never;
|
|
205
|
-
declare const is: (value: unknown) => value is Any$1 | UnnamedSlot;
|
|
208
|
+
declare const is$1: (value: unknown) => value is Any$1 | UnnamedSlot;
|
|
206
209
|
interface MakeOptions<C extends SlotCapability = SlotCapability, Events extends readonly EventName[] = readonly EventName[], Attributes extends readonly AttributeName[] = readonly AttributeName[], Requirements extends readonly RequirementName[] = readonly RequirementName[], Hidden extends boolean = boolean> {
|
|
207
210
|
readonly capability?: C;
|
|
208
211
|
readonly events?: Events;
|
|
@@ -287,6 +290,8 @@ interface StaticContribution<Message> {
|
|
|
287
290
|
interface ContributionContext<Message> {
|
|
288
291
|
readonly input: unknown;
|
|
289
292
|
readonly h: HtmlBuilder<Message>;
|
|
293
|
+
/** Present only when the view resolved the slot for one item. */
|
|
294
|
+
readonly item?: SlotItem;
|
|
290
295
|
}
|
|
291
296
|
type DynamicContribution<Message> = (context: ContributionContext<Message>) => StaticContribution<Message>;
|
|
292
297
|
/**
|
|
@@ -296,6 +301,7 @@ type DynamicContribution<Message> = (context: ContributionContext<Message>) => S
|
|
|
296
301
|
*/
|
|
297
302
|
type InputContribution<Message = never> = (context: {
|
|
298
303
|
readonly input: unknown;
|
|
304
|
+
readonly item?: SlotItem;
|
|
299
305
|
}) => StaticContribution<Message>;
|
|
300
306
|
type SlotContribution<Message> = StaticContribution<Message> | DynamicContribution<Message>;
|
|
301
307
|
type Contribution<Message> = {
|
|
@@ -357,7 +363,12 @@ declare namespace slotView_d_exports {
|
|
|
357
363
|
export { MessageSlotView, SlotBuilder, SlotBuilders, SlotView, SlotViewRender, SlotViewTransform, SlotViewTransformFor, attach$1 as attach, buildersFor, define$1 as define, forMessages, inertBuilder };
|
|
358
364
|
}
|
|
359
365
|
type SlotBuilder<Message> = {
|
|
360
|
-
|
|
366
|
+
/**
|
|
367
|
+
* The view's base attributes plus every resolved contribution. Pass `item`
|
|
368
|
+
* when the slot is rendered once per item, so a Behavior can decorate each
|
|
369
|
+
* repetition differently.
|
|
370
|
+
*/
|
|
371
|
+
readonly attrs: (base?: SlotAttributes<Message>, item?: SlotItem) => SlotAttributes<Message>;
|
|
361
372
|
};
|
|
362
373
|
type SlotBuilders<Slots, Message> = { readonly [K in keyof Slots]: SlotBuilder<Message>; };
|
|
363
374
|
type SlotViewRender<Slots, Input, Message> = (input: Input, slots: SlotBuilders<Slots, Message>, h: HtmlBuilder<Message>) => Html;
|
|
@@ -431,11 +442,17 @@ interface SlotRequirements {
|
|
|
431
442
|
}
|
|
432
443
|
interface BehaviorSlotOptions<Input, Message> {
|
|
433
444
|
readonly requires?: SlotRequirements;
|
|
445
|
+
/**
|
|
446
|
+
* Attributes for one resolution of the slot. `item` is present when the view
|
|
447
|
+
* passed one to `slots.x.attrs(base, item)`, that is, when the slot is
|
|
448
|
+
* rendered once per item.
|
|
449
|
+
*/
|
|
434
450
|
readonly attributes?: (context: {
|
|
435
451
|
readonly input: Input;
|
|
436
452
|
readonly h: HtmlBuilder<Message>;
|
|
453
|
+
readonly item?: SlotItem;
|
|
437
454
|
}) => ReadonlyArray<Attribute<Message> | ChildAttribute>;
|
|
438
|
-
readonly mount?: (input: Input) => MountAction<Message, any>;
|
|
455
|
+
readonly mount?: (input: Input, item?: SlotItem) => MountAction<Message, any>;
|
|
439
456
|
}
|
|
440
457
|
type BehaviorSpec<Slots, Input, Message> = { readonly [K in keyof Slots as HiddenOf<Slots[K]> extends true ? never : K]?: BehaviorSlotOptions<Input, Message>; };
|
|
441
458
|
interface NamedBehavior<Slots, Input, Message> {
|
|
@@ -463,6 +480,136 @@ declare const Behavior: {
|
|
|
463
480
|
}) => NamedBehavior<Slots, Input, Message>;
|
|
464
481
|
readonly attach: <BehaviorSlots, Message, Input>(behavior: NamedBehavior<BehaviorSlots, Input, Message>) => <ViewSlots>(view: SlotView<ViewSlots, Input, Message>) => SlotView<ViewSlots, Input, Message>;
|
|
465
482
|
};
|
|
483
|
+
declare namespace collection_d_exports {
|
|
484
|
+
export { BehaviorOptions, Describe, Items, behavior$4 as behavior, of };
|
|
485
|
+
}
|
|
486
|
+
interface Items<T> {
|
|
487
|
+
readonly size: number;
|
|
488
|
+
/** In render order; unique. */
|
|
489
|
+
readonly ids: ReadonlyArray<string>;
|
|
490
|
+
readonly at: (index: number) => T | undefined;
|
|
491
|
+
/** `-1` when no item has the id. */
|
|
492
|
+
readonly indexOf: (id: string) => number;
|
|
493
|
+
readonly isDisabled: (index: number) => boolean;
|
|
494
|
+
/** Indices of the enabled items, in order. */
|
|
495
|
+
readonly enabled: ReadonlyArray<number>;
|
|
496
|
+
/** The item context for `slots.x.attrs(base, item)`. */
|
|
497
|
+
readonly slotItem: (index: number) => SlotItem;
|
|
498
|
+
}
|
|
499
|
+
interface Describe<T> {
|
|
500
|
+
readonly id: (item: T, index: number) => string;
|
|
501
|
+
readonly disabled?: (item: T, index: number) => boolean;
|
|
502
|
+
}
|
|
503
|
+
/** Describes `items` once. Two items with one id are refused, since an id is what
|
|
504
|
+
* `aria-activedescendant`, `aria-controls`, and a keyed row rely on. */
|
|
505
|
+
declare const of: <T>(items: ReadonlyArray<T>, describe: Describe<T>) => Items<T>;
|
|
506
|
+
interface BehaviorOptions<Input, Slots> {
|
|
507
|
+
/** The slot rendered once per item. */
|
|
508
|
+
readonly item: keyof Slots & string;
|
|
509
|
+
/** Reads the described items from the view's input. */
|
|
510
|
+
readonly items: (input: Input) => Items<unknown>;
|
|
511
|
+
/** Write `aria-posinset` and `aria-setsize` on each item. Default `false`. */
|
|
512
|
+
readonly posInSet?: boolean;
|
|
513
|
+
/** Write `id` on each item, from its described id. Default `true`. */
|
|
514
|
+
readonly ids?: boolean;
|
|
515
|
+
}
|
|
516
|
+
/**
|
|
517
|
+
* Writes each item's identity and position: `id` from the described id,
|
|
518
|
+
* `aria-disabled` for a disabled item, and `aria-posinset` and `aria-setsize`
|
|
519
|
+
* on request. Reads the item context the view passes to `attrs`; with none it
|
|
520
|
+
* contributes nothing, so a slot rendered once is left alone.
|
|
521
|
+
*/
|
|
522
|
+
declare const behavior$4: <Slots>(slots: Slots) => <Input, Message>(options: BehaviorOptions<Input, Slots>) => NamedBehavior<Slots, Input, Message>;
|
|
523
|
+
declare namespace disclosure_d_exports {
|
|
524
|
+
export { Options$3 as Options, behavior$3 as behavior };
|
|
525
|
+
}
|
|
526
|
+
interface Options$3<Input, Slots> {
|
|
527
|
+
readonly trigger: keyof Slots & string;
|
|
528
|
+
readonly content: keyof Slots & string;
|
|
529
|
+
readonly open: (input: Input) => boolean;
|
|
530
|
+
/** The content's id, which `aria-controls` names. */
|
|
531
|
+
readonly id: (input: Input) => string;
|
|
532
|
+
}
|
|
533
|
+
declare const behavior$3: <Slots>(slots: Slots) => <Input, Message>(options: Options$3<Input, Slots>) => NamedBehavior<Slots, Input, Message>;
|
|
534
|
+
declare namespace field_association_d_exports {
|
|
535
|
+
export { Options$2 as Options, behavior$2 as behavior, ids };
|
|
536
|
+
}
|
|
537
|
+
interface Options$2<Input, Slots> {
|
|
538
|
+
readonly control: keyof Slots & string;
|
|
539
|
+
readonly label: keyof Slots & string;
|
|
540
|
+
readonly description?: keyof Slots & string;
|
|
541
|
+
readonly error?: keyof Slots & string;
|
|
542
|
+
readonly id: (input: Input) => string;
|
|
543
|
+
/** The error slot is rendered and describes the control. */
|
|
544
|
+
readonly invalid?: (input: Input) => boolean;
|
|
545
|
+
readonly required?: (input: Input) => boolean;
|
|
546
|
+
}
|
|
547
|
+
/** The ids one base id yields, for a view that renders these elements itself. */
|
|
548
|
+
declare const ids: (id: string) => {
|
|
549
|
+
control: string;
|
|
550
|
+
label: string;
|
|
551
|
+
description: string;
|
|
552
|
+
error: string;
|
|
553
|
+
};
|
|
554
|
+
declare const behavior$2: <Slots>(slots: Slots) => <Input, Message>(options: Options$2<Input, Slots>) => NamedBehavior<Slots, Input, Message>;
|
|
555
|
+
declare namespace spin_value_d_exports {
|
|
556
|
+
export { Bounds, Options$1 as Options, behavior$1 as behavior, spin };
|
|
557
|
+
}
|
|
558
|
+
interface Bounds {
|
|
559
|
+
readonly min?: number;
|
|
560
|
+
readonly max?: number;
|
|
561
|
+
/** Default `1`. */
|
|
562
|
+
readonly step?: number;
|
|
563
|
+
/** PageUp and PageDown move by this; default ten steps. */
|
|
564
|
+
readonly page?: number;
|
|
565
|
+
}
|
|
566
|
+
/** The value the key moves to, or `undefined` when the key is not a spin key or a chord. */
|
|
567
|
+
declare const spin: (value: number, key: string, modifiers: KeyboardModifiers, bounds: Bounds) => number | undefined;
|
|
568
|
+
interface Options$1<Input, Message, Slots> extends Bounds {
|
|
569
|
+
readonly control: keyof Slots & string;
|
|
570
|
+
readonly value: (input: Input) => number;
|
|
571
|
+
readonly onChange: (next: number) => Message;
|
|
572
|
+
/** For `aria-valuetext`, when the number alone would not read well. */
|
|
573
|
+
readonly text?: (input: Input) => string;
|
|
574
|
+
}
|
|
575
|
+
declare const behavior$1: <Slots>(slots: Slots) => <Input, Message>(options: Options$1<Input, Message, Slots>) => NamedBehavior<Slots, Input, Message>;
|
|
576
|
+
declare namespace toggle_state_d_exports {
|
|
577
|
+
export { Options, State, behavior };
|
|
578
|
+
}
|
|
579
|
+
type State = boolean | 'mixed';
|
|
580
|
+
interface Options<Input, Slots> {
|
|
581
|
+
readonly control: keyof Slots & string;
|
|
582
|
+
readonly state: (input: Input) => State;
|
|
583
|
+
/** `'checked'` writes `aria-checked` (checkbox, switch, radio, option);
|
|
584
|
+
* `'pressed'` writes `aria-pressed` (a toggle button). */
|
|
585
|
+
readonly as: 'checked' | 'pressed';
|
|
586
|
+
}
|
|
587
|
+
declare const behavior: <Slots>(slots: Slots) => <Input, Message>(options: Options<Input, Slots>) => NamedBehavior<Slots, Input, Message>;
|
|
588
|
+
declare namespace index_d_exports {
|
|
589
|
+
export { collection_d_exports as Collection, disclosure_d_exports as Disclosure, field_association_d_exports as FieldAssociation, spin_value_d_exports as SpinValue, toggle_state_d_exports as ToggleState };
|
|
590
|
+
}
|
|
591
|
+
declare namespace selector_d_exports {
|
|
592
|
+
export { attr, child, descendant, is, not, sibling, siblings };
|
|
593
|
+
}
|
|
594
|
+
/**
|
|
595
|
+
* Typed builders for the selector strings `Style.pseudo` and `Style.nest`
|
|
596
|
+
* take, relative to the generated class (`&`). They exist so a recipe does
|
|
597
|
+
* not hand-type `&:not([aria-disabled="true"])` in every entry.
|
|
598
|
+
*/
|
|
599
|
+
/** `&[name]` or `&[name="value"]`. */
|
|
600
|
+
declare const attr: (name: string, value?: string) => string;
|
|
601
|
+
/** `&:not(selector)`, for `Style.pseudo`. */
|
|
602
|
+
declare const not: (selector: string) => string;
|
|
603
|
+
/** `&:is(a, b)`, for `Style.pseudo`. */
|
|
604
|
+
declare const is: (...selectors: ReadonlyArray<string>) => string;
|
|
605
|
+
/** A direct child, for `Style.nest`. */
|
|
606
|
+
declare const child: (selector: string) => string;
|
|
607
|
+
/** Any descendant, for `Style.nest`. */
|
|
608
|
+
declare const descendant: (selector: string) => string;
|
|
609
|
+
/** The next sibling, for `Style.nest`. */
|
|
610
|
+
declare const sibling: (selector: string) => string;
|
|
611
|
+
/** Any later sibling, for `Style.nest`. */
|
|
612
|
+
declare const siblings: (selector: string) => string;
|
|
466
613
|
declare namespace slots_d_exports {
|
|
467
614
|
export { Contract, HiddenNamesOf, NamesOf, PublicNamesOf, SlotsTypeId, WithCapability, define, describe, withCapability };
|
|
468
615
|
}
|
|
@@ -494,35 +641,7 @@ declare const withCapability: <T extends {
|
|
|
494
641
|
readonly [key: string]: Any$1;
|
|
495
642
|
}, C extends SlotCapability>(contract: T, capability: C) => WithCapability<T, C>;
|
|
496
643
|
//#endregion
|
|
497
|
-
//#region src/styleRules.d.ts
|
|
498
|
-
/**
|
|
499
|
-
* Deterministic compilation of rule-based Style. A rule selector is written
|
|
500
|
-
* relative to the generated class with `&` (`&:hover`). The class name is an
|
|
501
|
-
* FNV-1a hash of the canonical rule text, so equal rules share a class and the
|
|
502
|
-
* server and the browser derive the same name. Pure data in, CSS text out: no
|
|
503
|
-
* registry, no DOM, no `Date.now`.
|
|
504
|
-
*/
|
|
505
|
-
interface StyleRule {
|
|
506
|
-
readonly selector: string;
|
|
507
|
-
readonly at?: string;
|
|
508
|
-
readonly declarations: Readonly<Record<string, string>>;
|
|
509
|
-
}
|
|
510
|
-
//#endregion
|
|
511
644
|
//#region src/style.d.ts
|
|
512
|
-
interface StyleValue {
|
|
513
|
-
readonly classes: ReadonlyArray<string>;
|
|
514
|
-
readonly style: Readonly<Record<string, string>>;
|
|
515
|
-
/** Input-driven pieces resolved at render time; empty for a static style. */
|
|
516
|
-
readonly conditions?: ReadonlyArray<StyleCondition>;
|
|
517
|
-
/** Rule-based appearance compiled to a deterministic class plus CSS. */
|
|
518
|
-
readonly rules?: ReadonlyArray<StyleRule>;
|
|
519
|
-
/** Class-independent CSS (keyframes, layers, global rules). */
|
|
520
|
-
readonly globalCss?: ReadonlyArray<string>;
|
|
521
|
-
}
|
|
522
|
-
interface StyleCondition {
|
|
523
|
-
readonly predicate: (input: unknown) => boolean;
|
|
524
|
-
readonly piece: StyleValue;
|
|
525
|
-
}
|
|
526
645
|
/** A hidden slot is internal: it is neither styleable nor behavior-targetable. */
|
|
527
646
|
type StylePieces<Slots> = { readonly [K in keyof Slots as HiddenOf<Slots[K]> extends true ? never : K]?: StyleValue; };
|
|
528
647
|
interface NamedStyle<Slots> {
|
|
@@ -541,6 +660,21 @@ interface NamedStyle<Slots> {
|
|
|
541
660
|
/** Class-independent rule chunks, for a deduplicating stylesheet. */
|
|
542
661
|
readonly globalRules: ReadonlyArray<string>;
|
|
543
662
|
}
|
|
663
|
+
interface StyleOptions {
|
|
664
|
+
readonly name?: string;
|
|
665
|
+
/**
|
|
666
|
+
* The layer every piece is placed in before compiling, e.g.
|
|
667
|
+
* `Layers.standard.layer('app')`. A rule already in a layer keeps it.
|
|
668
|
+
*/
|
|
669
|
+
readonly layer?: Placement;
|
|
670
|
+
}
|
|
671
|
+
interface StylesheetSource {
|
|
672
|
+
readonly rules: ReadonlyArray<{
|
|
673
|
+
readonly className: string;
|
|
674
|
+
readonly css: string;
|
|
675
|
+
}>;
|
|
676
|
+
readonly globalRules: ReadonlyArray<string>;
|
|
677
|
+
}
|
|
544
678
|
type RecipeVariantDef = Readonly<Record<string, StyleValue>>;
|
|
545
679
|
/** A combination style applied when every `when` entry matches the selection. */
|
|
546
680
|
interface RecipeCompound<Variants extends Readonly<Record<string, RecipeVariantDef>>> {
|
|
@@ -555,49 +689,71 @@ interface RecipeDef<Variants extends Readonly<Record<string, RecipeVariantDef>>>
|
|
|
555
689
|
}
|
|
556
690
|
type AnyRecipeDef = RecipeDef<Record<string, RecipeVariantDef>>;
|
|
557
691
|
type RecipeSelection<D extends AnyRecipeDef> = { readonly [K in keyof D['variants']]?: keyof D['variants'][K] & string; };
|
|
692
|
+
type SlotRecipeVariants<Slots> = Readonly<Record<string, Readonly<Record<string, StylePieces<Slots>>>>>;
|
|
693
|
+
interface SlotRecipeDef<Slots, Variants extends SlotRecipeVariants<Slots>> {
|
|
694
|
+
readonly base?: StylePieces<Slots>;
|
|
695
|
+
readonly variants: Variants;
|
|
696
|
+
readonly defaults?: { readonly [K in keyof Variants]?: keyof Variants[K] & string; };
|
|
697
|
+
readonly compound?: ReadonlyArray<{
|
|
698
|
+
readonly when: Partial<{ readonly [K in keyof Variants]: keyof Variants[K] & string; }>;
|
|
699
|
+
readonly style: StylePieces<Slots>;
|
|
700
|
+
}>;
|
|
701
|
+
}
|
|
702
|
+
/** A selection; `null` unsets an axis that has a default. */
|
|
703
|
+
type SlotRecipeSelection<Variants> = { readonly [K in keyof Variants]?: (keyof Variants[K] & string) | null; };
|
|
704
|
+
interface SlotRecipePatch<Slots, Variants extends SlotRecipeVariants<Slots>> {
|
|
705
|
+
readonly base?: StylePieces<Slots>;
|
|
706
|
+
readonly variants?: { readonly [K in keyof Variants]?: { readonly [V in keyof Variants[K]]?: StylePieces<Slots>; }; };
|
|
707
|
+
readonly defaults?: SlotRecipeDef<Slots, Variants>['defaults'];
|
|
708
|
+
readonly compound?: SlotRecipeDef<Slots, Variants>['compound'];
|
|
709
|
+
}
|
|
710
|
+
interface SlotRecipe<Slots, Variants extends SlotRecipeVariants<Slots>> {
|
|
711
|
+
(selection?: SlotRecipeSelection<Variants>): StylePieces<Slots>;
|
|
712
|
+
readonly def: SlotRecipeDef<Slots, Variants>;
|
|
713
|
+
/**
|
|
714
|
+
* The same recipe with `patch` merged in: base pieces compose per slot, a
|
|
715
|
+
* variant's pieces compose over the base recipe's, compounds append,
|
|
716
|
+
* defaults override. A slot the contract lacks is refused at once.
|
|
717
|
+
*/
|
|
718
|
+
readonly extend: (patch: SlotRecipePatch<Slots, Variants>) => SlotRecipe<Slots, Variants>;
|
|
719
|
+
}
|
|
558
720
|
export declare const Style: {
|
|
559
721
|
readonly class: (value: string) => StyleValue;
|
|
560
|
-
readonly inline: (value:
|
|
722
|
+
readonly inline: (value: Declarations) => StyleValue;
|
|
561
723
|
readonly compose: (...pieces: ReadonlyArray<StyleValue>) => StyleValue;
|
|
562
724
|
readonly when: (condition: boolean, piece: StyleValue) => StyleValue;
|
|
563
725
|
readonly whenInput: <Input>(predicate: (input: Input) => boolean, piece: StyleValue) => StyleValue;
|
|
564
|
-
readonly pseudo: (suffix: string, declarations:
|
|
565
|
-
readonly
|
|
566
|
-
readonly
|
|
567
|
-
readonly
|
|
568
|
-
readonly
|
|
569
|
-
readonly
|
|
726
|
+
readonly pseudo: (suffix: string, declarations: Declarations) => StyleValue;
|
|
727
|
+
readonly self: (declarations: Declarations) => StyleValue;
|
|
728
|
+
readonly media: (query: string, declarations: Declarations) => StyleValue;
|
|
729
|
+
readonly supports: (condition: string, declarations: Declarations) => StyleValue;
|
|
730
|
+
readonly container: (condition: string, declarations: Declarations) => StyleValue;
|
|
731
|
+
readonly nest: (selector: string, declarations: Declarations) => StyleValue;
|
|
732
|
+
readonly states: (map: Readonly<Record<string, Declarations>>, attribute?: string) => StyleValue;
|
|
733
|
+
readonly responsive: <Breakpoints extends Readonly<Record<string, string>>>(breakpoints: Breakpoints, map: Partial<Readonly<Record<keyof Breakpoints & string, Declarations>>>) => StyleValue;
|
|
734
|
+
readonly vars: (values: Readonly<Record<`--${string}`, string>>) => StyleValue;
|
|
735
|
+
readonly enter: (declarations: Declarations) => StyleValue;
|
|
736
|
+
readonly allowDiscrete: StyleValue;
|
|
737
|
+
readonly viewTransitionName: (name: string) => StyleValue;
|
|
738
|
+
readonly grid: <const Area extends string>(config: GridConfig<Area>) => Grid<Exclude<Area, ".">>;
|
|
739
|
+
readonly keyframes: (frames: Readonly<Record<string, Declarations>>) => {
|
|
570
740
|
readonly name: string;
|
|
571
741
|
readonly style: StyleValue;
|
|
572
742
|
};
|
|
573
743
|
readonly global: (css: string) => StyleValue;
|
|
574
744
|
readonly empty: StyleValue;
|
|
575
|
-
readonly
|
|
576
|
-
|
|
577
|
-
|
|
745
|
+
readonly perItem: (piece: (item: SlotItem) => StyleValue) => StyleValue;
|
|
746
|
+
readonly stagger: (options: {
|
|
747
|
+
readonly stepMs: number;
|
|
748
|
+
readonly property?: "transitionDelay" | "animationDelay";
|
|
749
|
+
}) => StyleValue;
|
|
750
|
+
readonly forSlots: <Slots>(slots: Slots) => (pieces: StylePieces<Slots>, options?: StyleOptions) => NamedStyle<Slots>;
|
|
751
|
+
readonly forCapability: <Slots>(slots: Slots) => (capability: string | Any, piece: StyleValue, options?: StyleOptions) => NamedStyle<Slots>;
|
|
578
752
|
readonly attach: <Slots>(style: NamedStyle<Slots>) => <ViewSlots, Input, Message>(view: SlotView<ViewSlots, Input, Message>) => SlotView<ViewSlots, Input, Message>;
|
|
579
753
|
readonly recipe: <Variants extends Readonly<Record<string, RecipeVariantDef>>>(def: RecipeDef<Variants>) => (selection: RecipeSelection<RecipeDef<Variants>>) => StyleValue;
|
|
580
|
-
readonly
|
|
581
|
-
|
|
582
|
-
readonly className: string;
|
|
583
|
-
readonly css: string;
|
|
584
|
-
}>;
|
|
585
|
-
readonly globalRules: ReadonlyArray<string>;
|
|
586
|
-
}>) => string;
|
|
587
|
-
};
|
|
588
|
-
//#endregion
|
|
589
|
-
//#region src/theme.d.ts
|
|
590
|
-
type ThemeTokens = {
|
|
591
|
-
readonly [group: string]: {
|
|
592
|
-
readonly [name: string]: string;
|
|
593
|
-
};
|
|
594
|
-
};
|
|
595
|
-
export type Theme<T extends ThemeTokens = ThemeTokens> = T;
|
|
596
|
-
export declare const Theme: {
|
|
597
|
-
readonly define: <T extends ThemeTokens>(tokens: T) => Readonly<T>;
|
|
598
|
-
readonly variable: <T extends ThemeTokens, G extends keyof T & string>(_theme: T, group: G, name: keyof T[G] & string) => string;
|
|
599
|
-
readonly variables: <T extends ThemeTokens>(theme: T) => StyleValue;
|
|
754
|
+
readonly recipeFor: <Slots>(slots: Slots) => <Variants extends SlotRecipeVariants<Slots>>(def: SlotRecipeDef<Slots, Variants>) => SlotRecipe<Slots, Variants>;
|
|
755
|
+
readonly stylesheet: (...styles: ReadonlyArray<StyleValue | StylesheetSource>) => string;
|
|
600
756
|
};
|
|
601
757
|
//#endregion
|
|
602
|
-
export { a11y_d_exports as A11y, type A11yDiagnostic, type A11yDiagnosticCode, type Pattern as A11yPattern, type SlotRequirement as A11yRequirement, type Any as AnyCapability, type AnyMixin, attr_d_exports as Attr, type AttrToken, attributes_d_exports as Attributes, behavior_d_exports as Behavior, type BehaviorSlotOptions, type BehaviorSpec, capability_d_exports as Capability, type Contribution, type ContributionContext, type Diagnostic, type DiagnosticCode, diagnostics_d_exports as Diagnostics, type DynamicContribution, event_d_exports as Event, type EventToken, type InputContribution, type MessageSlotView, metadataToken_d_exports as MetadataToken, mixin_d_exports as Mixin, type MixinFor, type Mixin as MixinValue, type NamedBehavior, type NamedStyle, requirement_d_exports as Requirement, type RequirementToken, type ResolveOptions, resolver_d_exports as Resolver, type Satisfies, slot_d_exports as Slot, type SlotAttributes, type SlotBuilder, type SlotBuilders, type SlotContribution, type SlotProtection, type SlotRequirements, slotView_d_exports as SlotView, type SlotViewRender, type SlotViewTransform, type SlotViewTransformFor, slots_d_exports as Slots, type Contract as SlotsContract, type StaticContribution, type StaticContributionMap, type StaticMixin, type StyleCondition, type StylePieces, type StyleRule, type StyleValue, type Theme as ThemeValue, type ThemeTokens, type UnnamedSlot };
|
|
758
|
+
export { a11y_d_exports as A11y, type A11yDiagnostic, type A11yDiagnosticCode, type Pattern as A11yPattern, type SlotRequirement as A11yRequirement, type Any as AnyCapability, type AnyMixin, attr_d_exports as Attr, type AttrToken, attributes_d_exports as Attributes, behavior_d_exports as Behavior, type BehaviorSlotOptions, type BehaviorSpec, index_d_exports as Behaviors, capability_d_exports as Capability, type Contribution, type ContributionContext, type Declarations, type Diagnostic, type DiagnosticCode, diagnostics_d_exports as Diagnostics, type DynamicContribution, event_d_exports as Event, type EventToken, type InputContribution, Layers, type Layers as LayersValue, type MessageSlotView, metadataToken_d_exports as MetadataToken, mixin_d_exports as Mixin, type MixinFor, type Mixin as MixinValue, type NamedBehavior, type NamedStyle, type Placement, type Refs, requirement_d_exports as Requirement, type RequirementToken, type ResolveOptions, resolver_d_exports as Resolver, type Satisfies, selector_d_exports as Selector, slot_d_exports as Slot, type SlotAttributes, type SlotBuilder, type SlotBuilders, type SlotContribution, type SlotItem, type SlotProtection, type SlotRequirements, slotView_d_exports as SlotView, type SlotViewRender, type SlotViewTransform, type SlotViewTransformFor, slots_d_exports as Slots, type Contract as SlotsContract, type StaticContribution, type StaticContributionMap, type StaticMixin, type StyleCondition, type StyleOptions, type StylePieces, type StyleRule, type StyleValue, type StylesheetSource, Theme, type Theme as ThemeValue, type ThemeTokens, type UnnamedSlot };
|
|
603
759
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/diagnostics.ts","../src/metadataToken.ts","../src/attr.ts","../src/capability.ts","../src/event.ts","../src/pipe.ts","../src/requirement.ts","../src/slot.ts","../src/a11y.ts","../src/contribution.ts","../src/resolver.ts","../src/attributes.ts","../src/mixin.ts","../src/slotView.ts","../src/behavior.ts","../src/slots.ts","../src/styleRules.ts","../src/style.ts","../src/theme.ts"],"mappings":";;;;;;;;;;;KAMY;UAoBK;WACN;WACA,MAAM;WACN;WACA;WACA;WACA,UAAU,SAAS;;cAGjB,wBAAwB;WAC1B,YAAY;EAET,YAAA,YAAY;;;;;;;;;;cCjCb;UAEI,cAAc,qBAAqB;YACxC;aACC,MAAM;aACN,MAAM;;WAER,MAAM;WACN,MAAM;;KAGL,QAAM;KAEN,SAAO,KACjB,UAAU,yBAAyB,QAAQ,OAAO,mBAAmB;KAE3D,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AGb,SAAA,OAAA,SAAS,4BAA0B;WAI9B,aAAA,QAAA,cAAc,gBAAc;WA4F/B,OAAA,oBAAO,OAAS,eAAa;WAKnC,YAAA,OAAK,YACjB,OAAO,mBAAiB,OAC7B,eACN;WArFO,SAAA,gBAAM,cACA,SAAS,4BACtB;WAQ0B,QAAA,eAAM,cAAgB,SAAS,4BAA0B;WASzE,WAAA,mBAAM,cACH,SAAS,4BACtB;WASU,YAAA,mBAAM,cACH,SAAS,4BACtB;WASS,OAAA,kBAAM,cACF,SAAS,4BACtB;WAYO,YAAA,QAAA,SAAS,eAAe,SAAS;aAC7B;aAAuB,OAAO;;WAahB,SAAA,gBAAS;;WA2GlC,WAAA,OAAK,OAAS,WACd,QAAQ,YAAY,QAAQ;aAAqB;QAAkB,WAAW;WAwE9E,SAAA,OAAK,OAAS,WAAW,YACzB,WAAW,OAAO,SACjB,MAAM,SAAkB,WAAW,OAAO,aACzC,SAAkB,WAAW,OAAO;WA4BtC,SAAA,iBAAiB,SAAS,eAAe,oBAAkB,KAAO,UAAU,eAC5E,WAAW,gBAAgB,UAAU,eAAa;WAjDxC,gBAAA,QAAA;aACA,OAAO;eAAyB;eAA4B;;aAC5D,aAAa;;;;;KClTd;YACA;cAA4B;;;YAG5B,MAAM,UAAU,cAAc,eAAe;qBA2B5C;WAvBU,SAAA,UAAU,aAAW,QAAU,MAAI,SAAS;WAO1C,WAAA,UAAU,aAAa,gBAAgB,YAAU,QAChE,GAAC,OACF,GAAC,YACI,EAAE;WAGU,YAAA,UAAU,aAAW,OAAS,MAAI"}
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/diagnostics.ts","../src/metadataToken.ts","../src/attr.ts","../src/capability.ts","../src/event.ts","../src/pipe.ts","../src/requirement.ts","../src/slot.ts","../src/a11y.ts","../src/contribution.ts","../src/resolver.ts","../src/attributes.ts","../src/mixin.ts","../src/slotView.ts","../src/behavior.ts","../src/behaviors/collection.ts","../src/behaviors/disclosure.ts","../src/behaviors/field-association.ts","../src/behaviors/spin-value.ts","../src/behaviors/toggle-state.ts","../src/behaviors/index.ts","../src/selector.ts","../src/slots.ts","../src/style.ts"],"mappings":";;;;;;;;;;;;;;KAMY;UA2BK;WACN;WACA,MAAM;WACN;WACA;WACA;WACA,UAAU,SAAS;;cAGjB,wBAAwB;WAC1B,YAAY;EAET,YAAA,YAAY;;;;;;;;;;cCxCb;UAEI,cAAc,qBAAqB;YACxC;aACC,MAAM;aACN,MAAM;;WAER,MAAM;WACN,MAAM;;KAGL,QAAM;KAEN,SAAO,KACjB,UAAU,yBAAyB,QAAQ,OAAO,mBAAmB;KAE3D,OAAO,KAAK,UAAU,oBAAoB,aAAa;KAEvD,UAAQ,gCAAgC,SAAO;cAE9C,eAAc,2BAA2B,qBACpD,MAAM,MACN,MAAM,SACL,cAAc,MAAM;cAcV,OAAM,mBAAiB,SAAS;cAGhC,SAAU,gBAAgB;;;;KCvC3B,UAAU,gCAAgC,gCAEpD;cAGW,OAAM,mBAAiB,SAAS;cAGhC,eAAc,qBAAqB,MAAM,SAAO,UAAU;cAG1D,WAAU,MAAM,WAAW,OAAO;cAElC,aAAY,MAAM;WAAuB;;cAIzC,MAAI;cACJ,WAAS;cACT,iBAAe;cACf,cAAY;cACZ,cAAY;cACZ,aAAW;cACX,cAAY;cACZ,UAAQ;cACR,OAAK;;;;KCxBN,4BAA4B;UAEvB,WACf,8BACA,yBAAyB,0CACjB,oCAAkD;WACjD,SAAS;;KAGR,MAAM,4BAA4B;KAClC,SAAO,KAAK,SAAqB;KACjC,UAAQ,gCAAgC,UAAsB;KAC9D,UAAU,KACpB,UAAU,sBAAsB,WAAW,SAAqB;KACtD,kBAAkB,KAAK,mBAC/B,IACA,UAAU,sBAAsB,WAC9B,SAAqB,KAAK,kBAAkB,mBAC5C,SAAqB;KAEf,UAAU,QAAQ;WAA4B;KACxD,yBAAyB,kBAAkB;cAKhC,OAAM,mBAAiB,SAAS;cAGhC,eACL,2BACA,yBAAyB,kCAE/B,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