@manyducks.co/dolla 2.0.0-alpha.57 → 2.0.0-alpha.59

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.
Files changed (39) hide show
  1. package/dist/core/app.d.ts +17 -0
  2. package/dist/core/context.d.ts +71 -19
  3. package/dist/core/index.d.ts +3 -3
  4. package/dist/core/logger.d.ts +2 -2
  5. package/dist/core/markup.d.ts +14 -13
  6. package/dist/core/mount.d.ts +2 -2
  7. package/dist/core/nodes/dom.d.ts +3 -2
  8. package/dist/core/nodes/dynamic.d.ts +2 -1
  9. package/dist/core/nodes/html.d.ts +7 -5
  10. package/dist/core/nodes/portal.d.ts +4 -3
  11. package/dist/core/nodes/repeat.d.ts +5 -3
  12. package/dist/core/nodes/view.d.ts +6 -8
  13. package/dist/core/signals.d.ts +3 -23
  14. package/dist/core/views/default-crash-view.d.ts +12 -1
  15. package/dist/i18n.js +1 -1
  16. package/dist/index.js +87 -88
  17. package/dist/index.js.map +1 -1
  18. package/dist/jsx-dev-runtime.d.ts +2 -1
  19. package/dist/jsx-dev-runtime.js +4 -11
  20. package/dist/jsx-dev-runtime.js.map +1 -1
  21. package/dist/jsx-runtime.d.ts +3 -2
  22. package/dist/jsx-runtime.js +7 -13
  23. package/dist/jsx-runtime.js.map +1 -1
  24. package/dist/logger-Ck_9LCem.js +516 -0
  25. package/dist/logger-Ck_9LCem.js.map +1 -0
  26. package/dist/markup-BBa4WBj1.js +1019 -0
  27. package/dist/markup-BBa4WBj1.js.map +1 -0
  28. package/dist/{router-ClSFnmRK.js → router-CaR7Xd4T.js} +77 -76
  29. package/dist/router-CaR7Xd4T.js.map +1 -0
  30. package/dist/router.js +1 -1
  31. package/dist/types.d.ts +7 -0
  32. package/docs/markup.md +4 -4
  33. package/notes/observable.md +180 -0
  34. package/package.json +2 -2
  35. package/dist/logger-sSxIw5od.js +0 -626
  36. package/dist/logger-sSxIw5od.js.map +0 -1
  37. package/dist/markup-CAJd0zdA.js +0 -937
  38. package/dist/markup-CAJd0zdA.js.map +0 -1
  39. package/dist/router-ClSFnmRK.js.map +0 -1
@@ -0,0 +1,17 @@
1
+ import { Router } from "../router/router";
2
+ import { Env, View } from "../types";
3
+ import { Context } from "./context";
4
+ import { MaybeSignal } from "./signals";
5
+ import { CrashViewProps } from "./views/default-crash-view";
6
+ export declare class App extends Context {
7
+ #private;
8
+ constructor(name: MaybeSignal<string>, view: View<{}> | Router);
9
+ setCrashView(view: View<CrashViewProps>): this;
10
+ setLogLevels(): this;
11
+ setLogFilter(): this;
12
+ setEnv(value: Env): this;
13
+ getEnv(): Env;
14
+ mount(parent: Element): Promise<void>;
15
+ mount(selector: string): Promise<void>;
16
+ unmount(): Promise<void>;
17
+ }
@@ -1,36 +1,56 @@
1
1
  import type { Store } from "../types";
2
2
  import { type Logger, type LoggerOptions } from "./logger";
3
3
  import { type EffectFn, type MaybeSignal, type UnsubscribeFn } from "./signals";
4
- type StoreMap = Map<Store<any, any>, any>;
5
4
  export declare enum LifecycleEvent {
6
5
  WILL_MOUNT = 0,
7
6
  DID_MOUNT = 1,
8
7
  WILL_UNMOUNT = 2,
9
- DID_UNMOUNT = 3
8
+ DID_UNMOUNT = 3,
9
+ DISPOSE = 4
10
10
  }
11
11
  type LifecycleListener = () => void;
12
12
  declare enum LifecycleState {
13
13
  Unmounted = 0,
14
14
  WillMount = 1,
15
- WillMountByDependent = 2,
16
- DidMount = 3,
17
- DidMountByDependent = 4,
18
- WillUnmount = 5,
19
- WillUnmountByDependent = 6,
20
- DidUnmount = 7
15
+ DidMount = 2,
16
+ WillUnmount = 3,
17
+ DidUnmount = 4,
18
+ Disposed = 5
21
19
  }
20
+ declare const NAME: unique symbol;
21
+ declare const LIFECYCLE: unique symbol;
22
+ declare const PARENT: unique symbol;
23
+ declare const STORES: unique symbol;
24
+ declare const STATE: unique symbol;
22
25
  /**
23
26
  * Manages lifecycle events for a Context.
24
27
  */
25
28
  declare class ContextLifecycle {
26
- #private;
29
+ private context;
27
30
  state: LifecycleState;
28
- dependents: number;
31
+ listeners: Map<LifecycleEvent, Set<LifecycleListener>>;
32
+ bound?: Set<Context>;
33
+ constructor(context: Context);
34
+ /**
35
+ * Listen for a certain event to be emitted. Listeners are called when the event results in a state change.
36
+ */
29
37
  on<E extends LifecycleEvent>(event: E, listener: LifecycleListener): void;
38
+ /**
39
+ * Stop a particular listener from being called when an event is emitted.
40
+ */
30
41
  off<E extends LifecycleEvent>(event: E, listener: LifecycleListener): void;
31
- notify<E extends LifecycleEvent>(event: E): void;
32
- emit<E extends LifecycleEvent>(event: E, dependent?: boolean): void;
33
- dispose(): void;
42
+ /**
43
+ * Advance the lifecycle state machine.
44
+ */
45
+ emit<E extends LifecycleEvent>(event: E): void;
46
+ /**
47
+ * Bind `context` to this lifecycle; when any event is emitted here it will be emitted for `context` as well.
48
+ */
49
+ bind(context: Context): void;
50
+ /**
51
+ * Call all the event's listeners and re-emit to bound contexts.
52
+ */
53
+ private notify;
34
54
  }
35
55
  export interface ContextOptions {
36
56
  logger?: LoggerOptions;
@@ -42,17 +62,41 @@ export interface Context extends Logger {
42
62
  }
43
63
  export declare class Context implements Logger {
44
64
  #private;
45
- _name: string;
46
- _lifecycle: ContextLifecycle;
47
- _parent?: Context;
48
- _stores?: StoreMap;
49
- _state?: Map<any, any>;
65
+ [NAME]: string;
66
+ [LIFECYCLE]: ContextLifecycle;
67
+ [PARENT]?: Context;
68
+ [STORES]?: Map<Store<any, any>, any>;
69
+ [STATE]?: Map<any, any>;
50
70
  get isMounted(): boolean;
51
71
  /**
52
72
  * Returns a new Context with this one as its parent.
53
73
  */
54
74
  static linked(parent: Context, name: MaybeSignal<string>, options?: LinkedContextOptions): Context;
55
- static emit(event: LifecycleEvent, context: Context): void;
75
+ /**
76
+ * Emit "will mount" lifecycle event to `context`.
77
+ */
78
+ static willMount(context: Context): void;
79
+ /**
80
+ * Emit "did mount" lifecycle event to `context`.
81
+ */
82
+ static didMount(context: Context): void;
83
+ /**
84
+ * Emit "will unmount" lifecycle event to `context`.
85
+ */
86
+ static willUnmount(context: Context): void;
87
+ /**
88
+ * Emit "did unmount" lifecycle event to `context`.
89
+ */
90
+ static didUnmount(context: Context): void;
91
+ /**
92
+ * Emit "dispose" lifecycle event to `context`.
93
+ */
94
+ static dispose(context: Context): void;
95
+ /**
96
+ * Traverses _parent contexts until arriving at one that doesn't have a parent itself.
97
+ * Returns null if this context is the parent.
98
+ */
99
+ static getRoot(context: Context): Context | null;
56
100
  constructor(name: MaybeSignal<string>, options?: ContextOptions);
57
101
  /**
58
102
  * Returns the current name of this context.
@@ -62,7 +106,15 @@ export declare class Context implements Logger {
62
106
  * Sets a new name for this context.
63
107
  */
64
108
  setName(name: MaybeSignal<string>): void;
109
+ /**
110
+ * Creates an instance of a store and attaches it to this context.
111
+ */
65
112
  addStore<T>(store: Store<any, T>, options?: any): this;
113
+ /**
114
+ * Retrieves the nearest instance of `store`. If this context doesn't have it, the parent context is checked. This process continues until either:
115
+ * 1. An instance of the store is found and returned.
116
+ * 2. No instance is found and an error is thrown.
117
+ */
66
118
  getStore<T>(store: Store<any, T>): T;
67
119
  /**
68
120
  * Schedule a callback function to run just before this context is mounted.
@@ -1,4 +1,4 @@
1
- export { $, effect, get, peek } from "./signals.js";
1
+ export { $, effect, get, untracked, batch } from "./signals.js";
2
2
  export type { MaybeSignal, Signal, Source } from "./signals.js";
3
3
  export { createContext } from "./context.js";
4
4
  export type { Context } from "./context.js";
@@ -10,8 +10,8 @@ export { mount, type UnmountFn } from "./mount.js";
10
10
  export { deepEqual, shallowEqual, strictEqual } from "../utils.js";
11
11
  export { getEnv, setEnv } from "./env.js";
12
12
  export { createLogger, setLogFilter, setLogLevels } from "./logger.js";
13
- export type { Logger, LoggerErrorContext, LoggerOptions, LogLevels } from "./logger.js";
14
- export type { View, Store, InputType, Renderable, Env } from "../types.js";
13
+ export type { Logger, LoggerErrorProps as LoggerErrorContext, LoggerOptions, LogLevels } from "./logger.js";
14
+ export type { View, Store, InputType, Renderable, Env, CSSProperties } from "../types.js";
15
15
  export type { CrashViewProps } from "./views/default-crash-view.js";
16
16
  import type { IntrinsicElements as Elements } from "../types.js";
17
17
  declare global {
@@ -27,13 +27,13 @@ export interface LoggerOptions {
27
27
  */
28
28
  console?: any;
29
29
  }
30
- export interface LoggerErrorContext {
30
+ export interface LoggerErrorProps {
31
31
  error: Error;
32
32
  loggerName: string;
33
33
  tag?: string;
34
34
  tagName?: string;
35
35
  }
36
- export declare function onLoggerCrash(listener: (context: LoggerErrorContext) => void): () => void;
36
+ export declare function onLoggerCrash(listener: (context: LoggerErrorProps) => void): () => void;
37
37
  export declare function createLogger(name: MaybeSignal<string>, options?: LoggerOptions): Logger;
38
38
  export declare function setLogFilter(filter: string | RegExp): void;
39
39
  export declare function setLogLevels(options: Partial<LogLevels>): void;
@@ -5,7 +5,7 @@ import { type MaybeSignal, type Signal } from "./signals.js";
5
5
  /**
6
6
  * Markup is a set of element metadata that hasn't been constructed into a MarkupElement yet.
7
7
  */
8
- export declare class Markup<P extends Record<any, any> = Record<any, any>> {
8
+ export declare class Markup<P = any> {
9
9
  /**
10
10
  * In the case of a view, type will be the View function itself. It can also hold an identifier for special nodes like "$cond", "$repeat", etc.
11
11
  * DOM nodes can be created by name, such as HTML elements like "div", "ul" or "span", SVG elements like ""
@@ -13,13 +13,10 @@ export declare class Markup<P extends Record<any, any> = Record<any, any>> {
13
13
  type: string | View<P>;
14
14
  /**
15
15
  * Data that will be passed to a new MarkupNode instance when it is constructed.
16
+ * Includes a `children` prop if children were passed.
16
17
  */
17
18
  props: P | undefined;
18
- /**
19
- *
20
- */
21
- children: Renderable[];
22
- constructor(type: string | View<P>, props?: P, ...children: Renderable[]);
19
+ constructor(type: string | View<P>, props?: P);
23
20
  }
24
21
  /**
25
22
  * A mountable node that has been constructed from Markup metadata.
@@ -32,15 +29,19 @@ export interface MarkupNode {
32
29
  /**
33
30
  *
34
31
  */
35
- readonly isMounted: boolean;
32
+ isMounted(): boolean;
36
33
  /**
37
34
  *
38
35
  */
39
- mount(parent: Node, after?: Node): void;
36
+ mount(parent: Element, after?: Node): void;
40
37
  /**
41
38
  *
42
39
  */
43
40
  unmount(parentIsUnmounting?: boolean): void;
41
+ /**
42
+ * Moves a node without unmounting and remounting (if the browser supports Element.moveBefore).
43
+ */
44
+ move(parent: Element, after?: Node): void;
44
45
  }
45
46
  export declare function isMarkupNode(value: any): value is MarkupNode;
46
47
  export declare enum MarkupType {
@@ -67,13 +68,13 @@ export interface MarkupProps {
67
68
  };
68
69
  [MarkupType.Portal]: {
69
70
  content: Renderable;
70
- parent: Node;
71
+ parent: Element;
71
72
  };
72
73
  [tag: string]: Record<string, any>;
73
74
  }
74
- export declare function m<T extends keyof MarkupProps>(type: T, props: MarkupProps[T], ...children: Renderable[]): Markup;
75
- export declare function m<P extends {}>(type: View<P>, props?: P, ...children: Renderable[]): Markup;
76
- export declare function m<P>(type: View<P>, props: P, ...children: any[]): Markup;
75
+ export declare function m<T extends keyof MarkupProps>(type: T, props: MarkupProps[T]): Markup;
76
+ export declare function m<P extends {}>(type: View<P>, props?: P): Markup;
77
+ export declare function m<P>(type: View<P>, props: P): Markup;
77
78
  /**
78
79
  * If `condition` is truthy, displays `thenContent`, otherwise `elseContent`.
79
80
  */
@@ -90,7 +91,7 @@ export declare function repeat<T>(items: MaybeSignal<T[]>, key: KeyFn<T>, render
90
91
  /**
91
92
  * Renders `content` into a `parent` node anywhere in the page, rather than its usual position in the view.
92
93
  */
93
- export declare function portal(parent: Node, content: Renderable): Markup;
94
+ export declare function portal(parent: Element, content: Renderable): Markup;
94
95
  export declare function render(content: Renderable, context?: Context): MarkupNode;
95
96
  /**
96
97
  * Convert basically anything into a set of MarkupElements.
@@ -1,10 +1,10 @@
1
1
  import { Router } from "../router/router";
2
2
  import type { View } from "../types";
3
3
  import { Context } from "./context";
4
- import { type LoggerErrorContext } from "./logger";
4
+ import { type LoggerErrorProps } from "./logger";
5
5
  export type UnmountFn = () => Promise<void>;
6
6
  export interface MountOptions {
7
- crashView?: View<LoggerErrorContext>;
7
+ crashView?: View<LoggerErrorProps>;
8
8
  /**
9
9
  * An existing Context to use as the root, otherwise a new one will be created.
10
10
  * Use this to provide top-level stores and state to the whole app.
@@ -6,8 +6,9 @@ import { IS_MARKUP_NODE } from "../symbols";
6
6
  export declare class DOMNode implements MarkupNode {
7
7
  [IS_MARKUP_NODE]: boolean;
8
8
  root: Node;
9
- get isMounted(): boolean;
10
9
  constructor(node: Node);
11
- mount(parent: Node, after?: Node): void;
10
+ isMounted(): boolean;
11
+ mount(parent: Element, after?: Node): void;
12
12
  unmount(parentIsUnmounting?: boolean): void;
13
+ move(parent: Element, after?: Node): void;
13
14
  }
@@ -15,10 +15,11 @@ export declare class Dynamic implements MarkupNode {
15
15
  private context;
16
16
  private $slot;
17
17
  private unsubscribe?;
18
- get isMounted(): boolean;
19
18
  constructor(context: Context, $slot: Signal<any>);
19
+ isMounted(): boolean;
20
20
  mount(parent: Node, after?: Node): void;
21
21
  unmount(parentIsUnmounting?: boolean): void;
22
+ move(parent: Element, after?: Node): void;
22
23
  private cleanup;
23
24
  private update;
24
25
  /**
@@ -4,18 +4,20 @@ import { IS_MARKUP_NODE } from "../symbols.js";
4
4
  export type Mixin<E extends Element = Element> = (element: E, context: Context) => void;
5
5
  export declare class HTML implements MarkupNode {
6
6
  [IS_MARKUP_NODE]: boolean;
7
- root: HTMLElement | SVGElement;
7
+ root?: HTMLElement | SVGElement;
8
+ private parentContext;
8
9
  private context;
9
- private props;
10
- private children?;
10
+ tag: string;
11
+ props: Record<string, any>;
11
12
  private childNodes;
12
13
  private unsubscribers;
13
14
  private ref?;
14
15
  private canClickAway;
15
- get isMounted(): boolean;
16
- constructor(context: Context, tag: string, props: Record<string, any>, children?: any[]);
16
+ constructor(context: Context, tag: string, props: Record<string, any>);
17
+ isMounted(): boolean;
17
18
  mount(parent: Node, after?: Node): void;
18
19
  unmount(parentIsUnmounting?: boolean): void;
20
+ move(parent: Element, after?: Node): void;
19
21
  private attachProp;
20
22
  private applyProps;
21
23
  private applyStyles;
@@ -11,8 +11,9 @@ export declare class Portal implements MarkupNode {
11
11
  private content;
12
12
  private parent;
13
13
  private element?;
14
- get isMounted(): boolean;
15
- constructor(context: Context, content: Renderable, parent: Node);
16
- mount(_parent: Node, _after?: Node): void;
14
+ constructor(context: Context, content: Renderable, parent: Element);
15
+ isMounted(): boolean;
16
+ mount(_parent: Element, _after?: Node): void;
17
17
  unmount(parentIsUnmounting?: boolean): void;
18
+ move(_parent: Element, _after?: Node): void;
18
19
  }
@@ -3,7 +3,8 @@ import type { Context } from "../context.js";
3
3
  import type { MarkupNode } from "../markup.js";
4
4
  import { type Signal } from "../signals.js";
5
5
  import { IS_MARKUP_NODE } from "../symbols.js";
6
- export type KeyFn<T> = (item: T, index: number) => string | number | symbol;
6
+ export type Key = string | number | symbol;
7
+ export type KeyFn<T> = (item: T, index: number) => Key;
7
8
  export type RenderFn<T> = (item: Signal<T>, index: Signal<number>, ctx: Context) => Renderable;
8
9
  export declare class Repeat<T> implements MarkupNode {
9
10
  [IS_MARKUP_NODE]: boolean;
@@ -14,10 +15,11 @@ export declare class Repeat<T> implements MarkupNode {
14
15
  private render;
15
16
  private unsubscribe;
16
17
  private connectedItems;
17
- get isMounted(): boolean;
18
18
  constructor(context: Context, items: Signal<T[]>, key: KeyFn<T>, render: RenderFn<T>);
19
- mount(parent: Node, after?: Node): void;
19
+ isMounted(): boolean;
20
+ mount(parent: Element, after?: Node): void;
20
21
  unmount(parentIsUnmounting?: boolean): void;
22
+ move(parent: Element, after?: Node): void;
21
23
  private _cleanup;
22
24
  private _update;
23
25
  }
@@ -7,15 +7,13 @@ export declare class ViewInstance<P> implements MarkupNode {
7
7
  [IS_MARKUP_NODE]: boolean;
8
8
  uniqueId: string;
9
9
  context: Context;
10
- props: P & {
11
- children: any[] | undefined;
12
- };
13
- fn: View<P>;
10
+ props: P;
11
+ view: View<P>;
14
12
  node?: MarkupNode;
15
- constructor(context: Context, fn: View<P>, props: P, children?: any[]);
16
13
  get root(): Node;
17
- get isMounted(): boolean;
18
- mount(parent: Node, after?: Node): void;
14
+ constructor(context: Context, view: View<P>, props: P);
15
+ isMounted(): boolean;
16
+ mount(parent: Element, after?: Node): void;
19
17
  unmount(parentIsUnmounting?: boolean): void;
20
- private _initialize;
18
+ move(parent: Element, after?: Node): void;
21
19
  }
@@ -1,24 +1,3 @@
1
- import { type Dependency, type Subscriber, SubscriberFlags } from "alien-signals";
2
- export interface Effect extends Subscriber, Dependency {
3
- /**
4
- * Effect function. Can return an optional cleanup callback to be invoked before the next fn() call.
5
- */
6
- fn(): (() => void) | void;
7
- cleanup?: () => void;
8
- }
9
- export interface Computed<T = any> extends Value<T | undefined>, Subscriber {
10
- getter: (cachedValue?: T) => T;
11
- equals: EqualityFn<T>;
12
- }
13
- export interface Value<T = any> extends Dependency {
14
- current: T;
15
- }
16
- export declare const link: (dep: Dependency, sub: Subscriber) => import("alien-signals").Link | undefined, propagate: (link: import("alien-signals").Link) => void, updateDirtyFlag: (sub: Subscriber, flags: SubscriberFlags) => boolean, startTracking: (sub: Subscriber) => void, endTracking: (sub: Subscriber) => void, processEffectNotifications: () => void, processComputedUpdate: (computed: Dependency & Subscriber, flags: SubscriberFlags) => void, processPendingInnerEffects: (sub: Subscriber, flags: SubscriberFlags) => void;
17
- export declare let activeSub: Subscriber | undefined;
18
- export declare function queueEffect(e: Effect): void;
19
- export declare function stopEffect(this: Effect): void;
20
- export declare function pauseTracking(): void;
21
- export declare function resumeTracking(): void;
22
1
  /**
23
2
  * A getter that returns the current value held within the signal.
24
3
  * If called inside a trackable scope this signal will be tracked as a dependency.
@@ -42,7 +21,8 @@ export interface SignalOptions<T> {
42
21
  equals?: EqualityFn<T>;
43
22
  }
44
23
  export declare function isSource<T>(value: MaybeSignal<T>): value is Source<T>;
45
- export declare function peek<T>(value: MaybeSignal<T>): T;
24
+ export declare function batch(fn: () => void): void;
25
+ export declare function untracked<T>(value: MaybeSignal<T>): T;
46
26
  export declare function get<T>(value: MaybeSignal<T>): T;
47
27
  /**
48
28
  * Function to be invoked for the effect. Can return an optional cleanup function to be called between invocations.
@@ -57,7 +37,7 @@ export type UnsubscribeFn = () => void;
57
37
  * If you are using an effect inside a View or Store, use `ctx.effect` instead, which cleans up automatically when the component unmounts.
58
38
  */
59
39
  export declare function effect(fn: EffectFn): UnsubscribeFn;
60
- export declare function $<T>(compute: () => MaybeSignal<T>, options?: SignalOptions<T>): Signal<T>;
40
+ export declare function $<T>(compute: (previousValue: T) => MaybeSignal<T>, options?: SignalOptions<T>): Signal<T>;
61
41
  export declare function $<T>(value: T, options?: SignalOptions<T>): Source<T>;
62
42
  export declare function $<T>(value: undefined, options?: SignalOptions<T>): Source<T | undefined>;
63
43
  export declare function $<T>(): Source<T | undefined>;
@@ -1,3 +1,4 @@
1
+ import { Markup } from "../markup.js";
1
2
  /**
2
3
  * Props passed to the crash view when a crash occurs.
3
4
  */
@@ -19,4 +20,14 @@ export type CrashViewProps = {
19
20
  */
20
21
  tagName?: string;
21
22
  };
22
- export declare function DefaultCrashView(props: CrashViewProps): import("../markup.js").Markup<Record<any, any>>;
23
+ export declare function DefaultCrashView(props: CrashViewProps): Markup<{
24
+ style: {
25
+ backgroundColor: string;
26
+ color: string;
27
+ padding: string;
28
+ position: string;
29
+ inset: number;
30
+ fontSize: string;
31
+ };
32
+ children: Markup<any>[];
33
+ }>;
package/dist/i18n.js CHANGED
@@ -5,7 +5,7 @@ var D = (o) => {
5
5
  var J = (o, t, e) => t in o ? B(o, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[t] = e;
6
6
  var O = (o, t, e) => J(o, typeof t != "symbol" ? t + "" : t, e), _ = (o, t, e) => t.has(o) || D("Cannot " + e);
7
7
  var i = (o, t, e) => (_(o, t, "read from private field"), e ? e.call(o) : t.get(o)), m = (o, t, e) => t.has(o) ? D("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(o) : t.set(o, e), N = (o, t, e, n) => (_(o, t, "write to private field"), n ? n.call(o, e) : t.set(o, e), e), g = (o, t, e) => (_(o, t, "access private method"), e);
8
- import { $, f as K, d as Q, g as x } from "./logger-sSxIw5od.js";
8
+ import { $, h as K, d as Q, g as x } from "./logger-Ck_9LCem.js";
9
9
  import { b as C, i as j, c as U, t as P } from "./typeChecking-BJ-ymQ2F.js";
10
10
  var I, F, p, S, G;
11
11
  class W {