marko 6.0.0-next.3.39 → 6.0.0-next.3.41

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.
@@ -2328,7 +2328,7 @@ function controllable_input_checkedValue(scopeId, nodeAccessor, checkedValue, ch
2328
2328
  1 /* InputCheckedValue */,
2329
2329
  scopeId,
2330
2330
  nodeAccessor,
2331
- multiple ? checkedValue : void 0,
2331
+ checkedValue,
2332
2332
  checkedValueChange
2333
2333
  );
2334
2334
  }
@@ -2246,7 +2246,7 @@ function controllable_input_checkedValue(scopeId, nodeAccessor, checkedValue, ch
2246
2246
  1 /* InputCheckedValue */,
2247
2247
  scopeId,
2248
2248
  nodeAccessor,
2249
- multiple ? checkedValue : void 0,
2249
+ checkedValue,
2250
2250
  checkedValueChange
2251
2251
  );
2252
2252
  }
@@ -4,8 +4,7 @@ import { type Signal, type SignalOp } from "./signals";
4
4
  export declare function conditional(nodeAccessor: Accessor, ...branches: Renderer[]): Signal<number>;
5
5
  export declare function patchDynamicTag(fn: <T extends typeof dynamicTag>(cond: T) => T): void;
6
6
  export declare let dynamicTag: (nodeAccessor: Accessor, fn?: ((scope: Scope) => void) | 0, getIntersection?: () => Signal<never>) => Signal<Renderer | string | undefined>;
7
- export declare function setConditionalRendererOnlyChild<T>(scope: Scope, nodeAccessor: Accessor, newRenderer: T, createBranch: (renderer: NonNullable<T>, $global: Scope["$global"], parentScope: Scope, parentNode: ParentNode) => BranchScope): void;
8
- export declare const emptyMarkerArray: BranchScope[];
7
+ export declare function setConditionalRenderer<T>(scope: Scope, nodeAccessor: Accessor, newRenderer: T, createBranch: (renderer: NonNullable<T>, $global: Scope["$global"], parentScope: Scope, parentNode: ParentNode) => BranchScope): void;
9
8
  export declare function loopOf(nodeAccessor: Accessor, renderer: Renderer): (scope: Scope, valueOrOp: SignalOp | [all: unknown[], by?: ((item: unknown, index: number) => unknown) | undefined]) => void;
10
9
  export declare function loopIn(nodeAccessor: Accessor, renderer: Renderer): (scope: Scope, valueOrOp: SignalOp | [obj: {}, by?: ((key: string, v: unknown) => unknown) | undefined]) => void;
11
10
  export declare function loopTo(nodeAccessor: Accessor, renderer: Renderer): (scope: Scope, valueOrOp: SignalOp | [to: number, from: number, step: number, by?: ((v: number) => unknown) | undefined]) => void;
@@ -1,7 +1,6 @@
1
1
  import type { BranchScope, Scope } from "../common/types";
2
2
  export declare function createScope($global: Scope["$global"], closestBranch?: BranchScope): Scope;
3
3
  export declare function finishPendingScopes(): void;
4
- export declare function getEmptyBranch(marker: Comment): BranchScope;
5
4
  export declare function destroyBranch(branch: BranchScope): void;
6
5
  export declare function removeAndDestroyBranch(branch: BranchScope): void;
7
6
  export declare function insertBranchBefore(branch: BranchScope, parentNode: ParentNode, nextSibling: Node | null): void;