mirror of
https://github.com/bringout/oca-ocb-core.git
synced 2026-04-21 04:52:00 +02:00
19.0 vanilla
This commit is contained in:
parent
d1963a3c3a
commit
2d3ee4855a
7430 changed files with 2687981 additions and 2965473 deletions
|
|
@ -1,33 +1,84 @@
|
|||
/** @odoo-module alias=@odoo/hoot-mock default=false */
|
||||
|
||||
/**
|
||||
* @typedef {import("./mock/network").ServerWebSocket} ServerWebSocket
|
||||
*/
|
||||
import * as _hootDom from "@odoo/hoot-dom";
|
||||
import * as _animation from "./mock/animation";
|
||||
import * as _date from "./mock/date";
|
||||
import * as _math from "./mock/math";
|
||||
import * as _navigator from "./mock/navigator";
|
||||
import * as _network from "./mock/network";
|
||||
import * as _notification from "./mock/notification";
|
||||
import * as _window from "./mock/window";
|
||||
|
||||
export {
|
||||
advanceFrame,
|
||||
advanceTime,
|
||||
animationFrame,
|
||||
cancelAllTimers,
|
||||
Deferred,
|
||||
delay,
|
||||
freezeTime,
|
||||
microTick,
|
||||
runAllTimers,
|
||||
setFrameRate,
|
||||
tick,
|
||||
unfreezeTime,
|
||||
} from "@odoo/hoot-dom";
|
||||
export { disableAnimations, enableTransitions } from "./mock/animation";
|
||||
export { mockDate, mockLocale, mockTimeZone, onTimeZoneChange } from "./mock/date";
|
||||
export { makeSeededRandom } from "./mock/math";
|
||||
export { mockPermission, mockSendBeacon, mockUserAgent, mockVibrate } from "./mock/navigator";
|
||||
export { mockFetch, mockLocation, mockWebSocket, mockWorker } from "./mock/network";
|
||||
export { flushNotifications } from "./mock/notification";
|
||||
export {
|
||||
mockMatchMedia,
|
||||
mockTouch,
|
||||
watchAddedNodes,
|
||||
watchKeys,
|
||||
watchListeners,
|
||||
} from "./mock/window";
|
||||
/** @deprecated use `import { advanceFrame } from "@odoo/hoot";` */
|
||||
export const advanceFrame = _hootDom.advanceFrame;
|
||||
/** @deprecated use `import { advanceTime } from "@odoo/hoot";` */
|
||||
export const advanceTime = _hootDom.advanceTime;
|
||||
/** @deprecated use `import { animationFrame } from "@odoo/hoot";` */
|
||||
export const animationFrame = _hootDom.animationFrame;
|
||||
/** @deprecated use `import { cancelAllTimers } from "@odoo/hoot";` */
|
||||
export const cancelAllTimers = _hootDom.cancelAllTimers;
|
||||
/** @deprecated use `import { Deferred } from "@odoo/hoot";` */
|
||||
export const Deferred = _hootDom.Deferred;
|
||||
/** @deprecated use `import { delay } from "@odoo/hoot";` */
|
||||
export const delay = _hootDom.delay;
|
||||
/** @deprecated use `import { freezeTime } from "@odoo/hoot";` */
|
||||
export const freezeTime = _hootDom.freezeTime;
|
||||
/** @deprecated use `import { microTick } from "@odoo/hoot";` */
|
||||
export const microTick = _hootDom.microTick;
|
||||
/** @deprecated use `import { runAllTimers } from "@odoo/hoot";` */
|
||||
export const runAllTimers = _hootDom.runAllTimers;
|
||||
/** @deprecated use `import { setFrameRate } from "@odoo/hoot";` */
|
||||
export const setFrameRate = _hootDom.setFrameRate;
|
||||
/** @deprecated use `import { tick } from "@odoo/hoot";` */
|
||||
export const tick = _hootDom.tick;
|
||||
/** @deprecated use `import { unfreezeTime } from "@odoo/hoot";` */
|
||||
export const unfreezeTime = _hootDom.unfreezeTime;
|
||||
|
||||
/** @deprecated use `import { disableAnimations } from "@odoo/hoot";` */
|
||||
export const disableAnimations = _animation.disableAnimations;
|
||||
/** @deprecated use `import { enableTransitions } from "@odoo/hoot";` */
|
||||
export const enableTransitions = _animation.enableTransitions;
|
||||
|
||||
/** @deprecated use `import { mockDate } from "@odoo/hoot";` */
|
||||
export const mockDate = _date.mockDate;
|
||||
/** @deprecated use `import { mockLocale } from "@odoo/hoot";` */
|
||||
export const mockLocale = _date.mockLocale;
|
||||
/** @deprecated use `import { mockTimeZone } from "@odoo/hoot";` */
|
||||
export const mockTimeZone = _date.mockTimeZone;
|
||||
/** @deprecated use `import { onTimeZoneChange } from "@odoo/hoot";` */
|
||||
export const onTimeZoneChange = _date.onTimeZoneChange;
|
||||
|
||||
/** @deprecated use `import { makeSeededRandom } from "@odoo/hoot";` */
|
||||
export const makeSeededRandom = _math.makeSeededRandom;
|
||||
|
||||
/** @deprecated use `import { mockPermission } from "@odoo/hoot";` */
|
||||
export const mockPermission = _navigator.mockPermission;
|
||||
/** @deprecated use `import { mockSendBeacon } from "@odoo/hoot";` */
|
||||
export const mockSendBeacon = _navigator.mockSendBeacon;
|
||||
/** @deprecated use `import { mockUserAgent } from "@odoo/hoot";` */
|
||||
export const mockUserAgent = _navigator.mockUserAgent;
|
||||
/** @deprecated use `import { mockVibrate } from "@odoo/hoot";` */
|
||||
export const mockVibrate = _navigator.mockVibrate;
|
||||
|
||||
/** @deprecated use `import { mockFetch } from "@odoo/hoot";` */
|
||||
export const mockFetch = _network.mockFetch;
|
||||
/** @deprecated use `import { mockLocation } from "@odoo/hoot";` */
|
||||
export const mockLocation = _network.mockLocation;
|
||||
/** @deprecated use `import { mockWebSocket } from "@odoo/hoot";` */
|
||||
export const mockWebSocket = _network.mockWebSocket;
|
||||
/** @deprecated use `import { mockWorker } from "@odoo/hoot";` */
|
||||
export const mockWorker = _network.mockWorker;
|
||||
|
||||
/** @deprecated use `import { flushNotifications } from "@odoo/hoot";` */
|
||||
export const flushNotifications = _notification.flushNotifications;
|
||||
|
||||
/** @deprecated use `import { mockMatchMedia } from "@odoo/hoot";` */
|
||||
export const mockMatchMedia = _window.mockMatchMedia;
|
||||
/** @deprecated use `import { mockTouch } from "@odoo/hoot";` */
|
||||
export const mockTouch = _window.mockTouch;
|
||||
/** @deprecated use `import { watchAddedNodes } from "@odoo/hoot";` */
|
||||
export const watchAddedNodes = _window.watchAddedNodes;
|
||||
/** @deprecated use `import { watchKeys } from "@odoo/hoot";` */
|
||||
export const watchKeys = _window.watchKeys;
|
||||
/** @deprecated use `import { watchListeners } from "@odoo/hoot";` */
|
||||
export const watchListeners = _window.watchListeners;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue