Files
klz-cables.com/.pnpm-store/v10/files/7d/ab35ffc6e1f39cadf19089233b306bd10114aa0eae120a06685222541f699f7cd658191f3de64a1e10ebc2bbd9600c1d43a09c3725afbb5505669ec119c30c
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

54 lines
1.9 KiB
Plaintext

/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/
import type { EditorState, ElementNode, LexicalEditor, NodeKey, NodeMap, RangeSelection } from 'lexical';
type OffsetElementNode = {
child: null | OffsetNode;
end: number;
key: NodeKey;
next: null | OffsetNode;
parent: null | OffsetElementNode;
prev: null | OffsetNode;
start: number;
type: 'element';
};
type OffsetTextNode = {
child: null;
end: number;
key: NodeKey;
next: null | OffsetNode;
parent: null | OffsetElementNode;
prev: null | OffsetNode;
start: number;
type: 'text';
};
type OffsetInlineNode = {
child: null;
end: number;
key: NodeKey;
next: null | OffsetNode;
parent: null | OffsetElementNode;
prev: null | OffsetNode;
start: number;
type: 'inline';
};
type OffsetNode = OffsetElementNode | OffsetTextNode | OffsetInlineNode;
type OffsetMap = Map<NodeKey, OffsetNode>;
export declare class OffsetView {
_offsetMap: OffsetMap;
_firstNode: null | OffsetNode;
_blockOffsetSize: number;
constructor(offsetMap: OffsetMap, firstNode: null | OffsetNode, blockOffsetSize?: number);
createSelectionFromOffsets(originalStart: number, originalEnd: number, diffOffsetView?: OffsetView): null | RangeSelection;
getOffsetsFromSelection(selection: RangeSelection): [number, number];
}
export declare function $createChildrenArray(element: ElementNode, nodeMap: null | NodeMap): Array<NodeKey>;
/** @deprecated renamed to {@link $createChildrenArray} by @lexical/eslint-plugin rules-of-lexical */
export declare const createChildrenArray: typeof $createChildrenArray;
export declare function $createOffsetView(editor: LexicalEditor, blockOffsetSize?: number, editorState?: EditorState | null): OffsetView;
export {};