* mask value attribute changes for elements in maskInputOptions * refactor initInputObserver to use maskInputValue * add todo * Fix typo * upgrade rrweb-snapshot to 1.1.6 * move maskInputValue to rrweb-snapshot
32 lines
1.1 KiB
TypeScript
32 lines
1.1 KiB
TypeScript
import { mutationCallBack, blockClass, maskTextClass, Mirror, scrollCallback, SamplingStrategy } from '../types';
|
|
import { MaskInputOptions, SlimDOMOptions, MaskTextFn, MaskInputFn } from 'rrweb-snapshot';
|
|
import { IframeManager } from './iframe-manager';
|
|
declare type BypassOptions = {
|
|
blockClass: blockClass;
|
|
blockSelector: string | null;
|
|
maskTextClass: maskTextClass;
|
|
maskTextSelector: string | null;
|
|
inlineStylesheet: boolean;
|
|
maskInputOptions: MaskInputOptions;
|
|
maskTextFn: MaskTextFn | undefined;
|
|
maskInputFn: MaskInputFn | undefined;
|
|
recordCanvas: boolean;
|
|
sampling: SamplingStrategy;
|
|
slimDOMOptions: SlimDOMOptions;
|
|
iframeManager: IframeManager;
|
|
};
|
|
export declare class ShadowDomManager {
|
|
private mutationCb;
|
|
private scrollCb;
|
|
private bypassOptions;
|
|
private mirror;
|
|
constructor(options: {
|
|
mutationCb: mutationCallBack;
|
|
scrollCb: scrollCallback;
|
|
bypassOptions: BypassOptions;
|
|
mirror: Mirror;
|
|
});
|
|
addShadowRoot(shadowRoot: ShadowRoot, doc: Document): void;
|
|
}
|
|
export {};
|