[MOV] web: move position_hook up one folder

Part-of: odoo/odoo#83646
This commit is contained in:
Bruno Boi
2022-03-17 10:31:30 +01:00
parent 54b7209a3d
commit 755cd98853
5 changed files with 6 additions and 6 deletions
@@ -3,7 +3,7 @@
import { useComponentToModel } from '@mail/component_hooks/use_component_to_model/use_component_to_model';
import { registerMessagingComponent } from '@mail/utils/messaging_component';
import { usePosition } from '@web/core/position/position_hook';
import { usePosition } from '@web/core/position_hook';
const { Component } = owl;
@@ -1,7 +1,7 @@
/** @odoo-module **/
import { useBus, useService } from "@web/core/utils/hooks";
import { usePosition } from "../position/position_hook";
import { usePosition } from "../position_hook";
import { useDropdownNavigation } from "./dropdown_navigation_hook";
import { localization } from "../l10n/localization";
@@ -1,6 +1,6 @@
/** @odoo-module **/
import { usePosition } from "../position/position_hook";
import { usePosition } from "../position_hook";
const { Component } = owl;
@@ -1,6 +1,6 @@
/** @odoo-module */
import { throttleForAnimation } from "../utils/timing";
import { throttleForAnimation } from "./utils/timing";
const { onWillUnmount, useEffect, useExternalListener, useRef } = owl;
@@ -1,7 +1,7 @@
/** @odoo-module */
import { browser } from "@web/core/browser/browser";
import { usePosition } from "@web/core/position/position_hook";
import { usePosition } from "@web/core/position_hook";
import { registerCleanup } from "../helpers/cleanup";
import {
destroy,
@@ -17,7 +17,7 @@ const { Component, xml } = owl;
let container;
/**
* @param {import("@web/core/position/position_hook").Options} popperOptions
* @param {import("@web/core/position_hook").Options} popperOptions
* @returns {Component}
*/
function getTestComponent(popperOptions = {}) {